diff --git a/404.html b/404.html index a200995c..b56984a0 100644 --- a/404.html +++ b/404.html @@ -5,13 +5,13 @@ Page Not Found | Overextended - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - + + \ No newline at end of file diff --git a/assets/js/078b18b7.8bd6b355.js b/assets/js/078b18b7.4bf7cd9b.js similarity index 54% rename from assets/js/078b18b7.8bd6b355.js rename to assets/js/078b18b7.4bf7cd9b.js index b88b7cbd..c55aa209 100644 --- a/assets/js/078b18b7.8bd6b355.js +++ b/assets/js/078b18b7.4bf7cd9b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2717],{3905:function(e,t,n){n.d(t,{Zo:function(){return s},kt:function(){return m}});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=r.createContext({}),u=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},s=function(e){var t=u(e.components);return r.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),f=u(n),m=o,y=f["".concat(l,".").concat(m)]||f[m]||p[m]||i;return n?r.createElement(y,c(c({ref:t},s),{},{components:n})):r.createElement(y,c({ref:t},s))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,c=new Array(i);c[0]=f;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a.mdxType="string"==typeof e?e:o,c[1]=a;for(var u=2;u=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),l=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},s=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),f=l(n),m=o,y=f["".concat(u,".").concat(m)]||f[m]||p[m]||i;return n?r.createElement(y,a(a({ref:t},s),{},{components:n})):r.createElement(y,a({ref:t},s))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=f;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:o,a[1]=c;for(var l=2;l=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),u=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=u(e.components);return r.createElement(s.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),c=u(n),m=a,h=c["".concat(s,".").concat(m)]||c[m]||d[m]||o;return n?r.createElement(h,l(l({ref:t},p),{},{components:n})):r.createElement(h,l({ref:t},p))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=c;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i.mdxType="string"==typeof e?e:a,l[1]=i;for(var u=2;u=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=a.createContext({}),d=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},m=function(e){var t=d(e.components);return a.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,l=e.parentName,m=s(e,["components","mdxType","originalType","parentName"]),u=d(n),p=i,v=u["".concat(l,".").concat(p)]||u[p]||c[p]||r;return n?a.createElement(v,o(o({ref:t},m),{},{components:n})):a.createElement(v,o({ref:t},m))}));function p(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,o=new Array(r);o[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:i,o[1]=s;for(var d=2;d=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),s=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=s(e.components);return r.createElement(u.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),d=s(n),m=o,v=d["".concat(u,".").concat(m)]||d[m]||l[m]||i;return n?r.createElement(v,a(a({ref:t},p),{},{components:n})):r.createElement(v,a({ref:t},p))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:o,a[1]=c;for(var s=2;s 2 and xPlayer.getInventoryItem('antifreeze').count > 4 and xPlayer.getInventoryItem('sudo').count > 9 then \n xPlayer.removeInventoryItem(\"acetone\", 3)\n xPlayer.removeInventoryItem(\"antifreeze\", 5)\n xPlayer.removeInventoryItem(\"sudo\", 10)\nend\n"))),(0,r.kt)(u.Z,{value:"inventory",label:"Inventory",mdxType:"TabItem"},(0,r.kt)("p",null,"Add the following code somewhere in your resource to cache the exports metatable."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-lua"},"local ox_inventory = exports.ox_inventory\n")),(0,r.kt)("p",null,"You will be able to reference any functions exposed through the export."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-lua"},"local items = ox_inventory:Search(source, 'count', {'acetone', 'antifreeze', 'sudo'})\nif items and items.acetone > 2 and items.antifreeze > 4 and items.sudo > 9 then\n ox_inventory:RemoveItem(source, 'acetone', 3)\n ox_inventory:RemoveItem(source, 'antifreeze', 5)\n ox_inventory:RemoveItem(source, 'sudo', 10)\nend\n")))))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8c300d32.74eafd4b.js b/assets/js/8c300d32.74eafd4b.js new file mode 100644 index 00000000..639631b0 --- /dev/null +++ b/assets/js/8c300d32.74eafd4b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4569],{6475:function(e,t,n){n.r(t),n.d(t,{assets:function(){return v},contentTitle:function(){return c},default:function(){return g},frontMatter:function(){return p},metadata:function(){return h},toc:function(){return k}});var o=n(7462),a=n(3366),i=n(7294),r=n(3905),s=function(e){var t={fontSize:"1.7rem",paddingRight:"left"===e.side&&"0.6rem",paddingLeft:"right"===e.side&&"0.6rem",verticalAlign:"center",display:"flex"};return i.createElement("div",{style:Object.assign({width:"fit-content",height:"3rem",padding:"0.8rem",borderRadius:"0.2rem",verticalAlign:"baseline",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:"white"},e.style),className:"icon-button"},"left"===e.side&&i.createElement("div",{style:t},e.icon),i.createElement("div",null,e.children),"right"===e.side&&i.createElement("div",{style:t},e.icon))},l=n(7882),d=n(9877),u=n(8215),m=["components"],p={title:"Getting Started"},c=void 0,h={unversionedId:"ox_inventory/installation",id:"ox_inventory/installation",title:"Getting Started",description:"This resource is being designed with the intention of providing advanced functionality while remaining easy to use,",source:"@site/docs/ox_inventory/installation.mdx",sourceDirName:"ox_inventory",slug:"/ox_inventory/installation",permalink:"/docs/ox_inventory/installation",editUrl:"https://github.com/overextended/overextended.github.io/tree/main/docs/ox_inventory/installation.mdx",tags:[],version:"current",frontMatter:{title:"Getting Started"},sidebar:"docs",previous:{title:"Configuration",permalink:"/docs/ox_inventory/config"},next:{title:"Overview",permalink:"/docs/ox_inventory/Guides/"}},v={},k=[{value:"Dependecies",id:"dependecies",level:2},{value:"OxMySQL",id:"oxmysql",level:3},{value:"Ox Lib",id:"ox-lib",level:3},{value:"Production Build",id:"production-build",level:3},{value:"Optional resources",id:"optional-resources",level:2},{value:"qtarget",id:"qtarget",level:3},{value:"NPWD",id:"npwd",level:3},{value:"Installation",id:"installation",level:3},{value:"Upgrading ESX",id:"upgrading-esx",level:2},{value:"Optional optimisation",id:"optional-optimisation",level:3}],y={toc:k};function g(e){var t=e.components,n=(0,a.Z)(e,m);return(0,r.kt)("wrapper",(0,o.Z)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("div",{className:"admonition admonition-caution alert alert--warning"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))),"caution")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"This resource is being designed with the intention of providing advanced functionality while remaining easy to use,\nhowever it is not recommended for beginners. You must possess a basic understanding of coding and the ability to read;\notherwise you ",(0,r.kt)("strong",{parentName:"p"},"should not")," install this resource."))),(0,r.kt)("h2",{id:"dependecies"},"Dependecies"),(0,r.kt)("h3",{id:"oxmysql"},"OxMySQL"),(0,r.kt)("p",null,"We utilise our own resource to communicate with MySQL databases via the node-mysql2 package.\nThe backend is actively maintained and updated unlike the package used by mysql-async, providing improved performance, security, and features.\nWe provide full backwards compatibility with mysql-async and build for the current Cfx architecture."),(0,r.kt)("div",{style:{display:"flex"}},(0,r.kt)("a",{href:"https://www.github.com/overextended/oxmysql",style:{marginRight:"0.6rem"}},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.rFR,{mdxType:"BsGithub"}),mdxType:"IconButton"},"GitHub")),(0,r.kt)("a",{href:"https://overextended.github.io/docs/oxmysql/Installation/"},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.DRM,{mdxType:"BsBookHalf"}),mdxType:"IconButton"},"Documentation"))),(0,r.kt)("h3",{id:"ox-lib"},"Ox Lib"),(0,r.kt)("p",null,"A resource designed to provide reusable functions that can be loaded into any resource with simple variable declarations rather than through fxmanifest."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Currently used for:")),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"SetInterval"),(0,r.kt)("li",{parentName:"ul"},"Server Callbacks"),(0,r.kt)("li",{parentName:"ul"},"Table utilities (contains, matches)"),(0,r.kt)("li",{parentName:"ul"},"Requesting models, animations, etc."),(0,r.kt)("li",{parentName:"ul"},"Disabling control actions")),(0,r.kt)("a",{href:"https://www.github.com/overextended/ox_lib"},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.rFR,{mdxType:"BsGithub"}),mdxType:"IconButton"},"GitHub")),(0,r.kt)("h3",{id:"production-build"},"Production Build"),(0,r.kt)("p",null,"The interface is written in TypeScript using the React library, so the code included in the repository will not work.\nYou either need to build the package yourself (more information in ",(0,r.kt)("a",{parentName:"p",href:"./Guides"},"guides")," section), or download a release (ox_inventory.zip)."),(0,r.kt)("a",{href:"https://www.github.com/overextended/ox_inventory/releases/latest",style:{marginRight:"0.6rem"}},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.rFR,{mdxType:"BsGithub"}),mdxType:"IconButton"},"GitHub")),(0,r.kt)("h2",{id:"optional-resources"},"Optional resources"),(0,r.kt)("p",null,"The resources listed under here ",(0,r.kt)("strong",{parentName:"p"},"aren't")," necessary for the inventory to work but still have full support."),(0,r.kt)("h3",{id:"qtarget"},"qtarget"),(0,r.kt)("p",null,"A high performance targeting solution based on bt-target, and the basis for qb-target.\nIt is being updated alongside Ox Inventory to improve support as well as add compatibility when using QBCore or migrating from bt-target.\nAll stashes and shops will utilise PolyZone's instead of markers to interact with them."),(0,r.kt)("div",{className:"admonition admonition-caution alert alert--warning"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))),"caution")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"If you wish to use it first you must ensure that qtarget is enabled in the resource convars.\nYou will need to enable compatibility manually by adjusting your config - more information provided below."),(0,r.kt)("p",{parentName:"div"},"You must start qtarget before the inventory and after your framework."))),(0,r.kt)("div",{style:{display:"flex"}},(0,r.kt)("a",{href:"https://www.github.com/overextended/qtarget",style:{marginRight:"0.6rem"}},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.rFR,{mdxType:"BsGithub"}),mdxType:"IconButton"},"GitHub")),(0,r.kt)("a",{href:"https://overextended.github.io/qtarget/"},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.DRM,{mdxType:"BsBookHalf"}),mdxType:"IconButton"},"Documentation"))),(0,r.kt)("h3",{id:"npwd"},"NPWD"),(0,r.kt)("p",null,"A standalone and feature-rich phone created by Project Error."),(0,r.kt)("p",null,"The inventory will handle disabling the phone when the player has no item, and supports toggling the phone through item use."),(0,r.kt)("div",{style:{display:"flex"}},(0,r.kt)("a",{href:"https://www.github.com/project-error/npwd",style:{marginRight:"0.6rem"}},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.rFR,{mdxType:"BsGithub"}),mdxType:"IconButton"},"GitHub")),(0,r.kt)("a",{href:"https://projecterror.dev/docs"},(0,r.kt)(s,{side:"left",icon:(0,r.kt)(l.DRM,{mdxType:"BsBookHalf"}),mdxType:"IconButton"},"Documentation"))),(0,r.kt)("h3",{id:"installation"},"Installation"),(0,r.kt)(d.Z,{mdxType:"Tabs"},(0,r.kt)(u.Z,{value:"fresh_esx",label:"Fresh ESX",default:!0,mdxType:"TabItem"},(0,r.kt)("p",null,"Use a compatible version of ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/esx-framework/esx-legacy"},"ESX Legacy")," (1.6.0+)",(0,r.kt)("br",{parentName:"p"}),"\n","Execute the query inside ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/overextended/ox_inventory/blob/main/setup/install.sql"},"install.sql")," and ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql"},"vehicle.sql"))),(0,r.kt)(u.Z,{value:"convert_esx",label:"Convert ESX",mdxType:"TabItem"},(0,r.kt)("p",null,"Use a compatible version of ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/esx-framework/esx-legacy"},"ESX Legacy")," (1.6.0+)",(0,r.kt)("br",{parentName:"p"}),"\n","Execute the query inside ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/overextended/ox_inventory/blob/main/setup/install.sql"},"install.sql"),"\nand ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql"},"vehicle.sql"),(0,r.kt)("br",{parentName:"p"}),"\n","Open ",(0,r.kt)("inlineCode",{parentName:"p"},"fxmanifest.lua")," and uncomment ",(0,r.kt)("inlineCode",{parentName:"p"},"server_script 'setup/convert.lua'"),(0,r.kt)("br",{parentName:"p"}),"\n","Start the server and execute the ",(0,r.kt)("inlineCode",{parentName:"p"},"convertinventory")," command from the console",(0,r.kt)("br",{parentName:"p"}),"\n","Remove the conversion file")),(0,r.kt)(u.Z,{value:"convert_linden",label:"Upgrade from Linden Inventory",mdxType:"TabItem"},(0,r.kt)("p",null,"Execute the query inside ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/overextended/ox_inventory/blob/main/setup/upgrade.sql"},"upgrade.sql"),"\nand ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/overextended/ox_inventory/blob/main/setup/vehicle.sql"},"vehicle.sql"),(0,r.kt)("br",{parentName:"p"}),"\n","Open ",(0,r.kt)("inlineCode",{parentName:"p"},"fxmanifest.lua")," and uncomment ",(0,r.kt)("inlineCode",{parentName:"p"},"server_script 'setup/convert.lua'"),(0,r.kt)("br",{parentName:"p"}),"\n","Start the server and execute the ",(0,r.kt)("inlineCode",{parentName:"p"},"convertinventory")," linden command from the console",(0,r.kt)("br",{parentName:"p"}),"\n","Remove the conversion file")),(0,r.kt)(u.Z,{value:"standalone",label:"Standalone",mdxType:"TabItem"},(0,r.kt)("p",null,"Work in progress."),(0,r.kt)("p",null,'Refer to the "bridge" module to get an idea of how you setup support for any framework.',(0,r.kt)("br",{parentName:"p"}),"\n","Modifications will need to be made for licenses, owned vehicles, and jobs."))),(0,r.kt)("div",{className:"admonition admonition-caution alert alert--warning"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))),"caution")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"You should restart your server after the first startup to ensure everything has been correctly setup"))),(0,r.kt)("h2",{id:"upgrading-esx"},"Upgrading ESX"),(0,r.kt)("p",null,"Ox Inventory provides a complete suite of tools to replace the built-in items and inventory system from ESX, and is not intended to be used with resources designed around it."),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"ESX loadouts do not exist - resources that use them need to remove references or be modified to look for the weapon as an item"),(0,r.kt)("li",{parentName:"ul"},"Stashes from resources such as esx_policejob, esx_ambulancejob, etc. should be removed"),(0,r.kt)("li",{parentName:"ul"},"Shops from esx_shops or the armoury from esx_policejob should be removed"),(0,r.kt)("li",{parentName:"ul"},"Resources like esx_inventoryhud, esx_trunkinventory, esx_addoninventory, etc. should be removed")),(0,r.kt)("h3",{id:"optional-optimisation"},"Optional optimisation"),(0,r.kt)("p",null,"All item related functions from xPlayer, such as ",(0,r.kt)("inlineCode",{parentName:"p"},"xPlayer.getInventoryItem"),", have been modified for compatibility purposes; however they are considered deprecated."),(0,r.kt)("p",null,"The reasoning is fairly simple - there's now additional function references and overhead to consider. Fortunately, the new Inventory functions can be used directly and offer a great deal of improvements over the old ones."),(0,r.kt)("p",null,"You should read through the functions section for further information, but the following should give you a decent idea."),(0,r.kt)(d.Z,{mdxType:"Tabs"},(0,r.kt)(u.Z,{value:"esx",label:"ESX",mdxType:"TabItem"},(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-lua"},"if xPlayer.getInventoryItem('acetone').count > 2 and xPlayer.getInventoryItem('antifreeze').count > 4 and xPlayer.getInventoryItem('sudo').count > 9 then \n xPlayer.removeInventoryItem(\"acetone\", 3)\n xPlayer.removeInventoryItem(\"antifreeze\", 5)\n xPlayer.removeInventoryItem(\"sudo\", 10)\nend\n"))),(0,r.kt)(u.Z,{value:"inventory",label:"Inventory",mdxType:"TabItem"},(0,r.kt)("p",null,"Add the following code somewhere in your resource to cache the exports metatable."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-lua"},"local ox_inventory = exports.ox_inventory\n")),(0,r.kt)("p",null,"You will be able to reference any functions exposed through the export."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-lua"},"local items = ox_inventory:Search(source, 'count', {'acetone', 'antifreeze', 'sudo'})\nif items and items.acetone > 2 and items.antifreeze > 4 and items.sudo > 9 then\n ox_inventory:RemoveItem(source, 'acetone', 3)\n ox_inventory:RemoveItem(source, 'antifreeze', 5)\n ox_inventory:RemoveItem(source, 'sudo', 10)\nend\n")))))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.0307aba5.js b/assets/js/935f2afb.0307aba5.js deleted file mode 100644 index ea7d329b..00000000 --- a/assets/js/935f2afb.0307aba5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"Documentation","href":"/docs/","docId":"index"},{"type":"category","label":"MySQL","items":[{"type":"category","label":"Getting Started","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Benchmark","href":"/docs/oxmysql/Getting Started/benchmark","docId":"oxmysql/Getting Started/benchmark"},{"type":"link","label":"Common Issues","href":"/docs/oxmysql/Getting Started/issues","docId":"oxmysql/Getting Started/issues"}],"href":"/docs/oxmysql/Getting Started/"},{"type":"category","label":"Usage","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Insert","href":"/docs/oxmysql/Usage/insert","docId":"oxmysql/Usage/insert"},{"type":"link","label":"Prepare","href":"/docs/oxmysql/Usage/prepare","docId":"oxmysql/Usage/prepare"},{"type":"link","label":"Query","href":"/docs/oxmysql/Usage/query","docId":"oxmysql/Usage/query"},{"type":"link","label":"Scalar","href":"/docs/oxmysql/Usage/scalar","docId":"oxmysql/Usage/scalar"},{"type":"link","label":"Single","href":"/docs/oxmysql/Usage/single","docId":"oxmysql/Usage/single"},{"type":"link","label":"Transaction","href":"/docs/oxmysql/Usage/transaction","docId":"oxmysql/Usage/transaction"},{"type":"link","label":"Update","href":"/docs/oxmysql/Usage/update","docId":"oxmysql/Usage/update"}],"href":"/docs/oxmysql/Usage/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Library","items":[{"type":"category","label":"Client","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Cache","href":"/docs/ox_lib/Client/cache","docId":"ox_lib/Client/cache"},{"type":"link","label":"Callbacks","href":"/docs/ox_lib/Client/callback","docId":"ox_lib/Client/callback"},{"type":"link","label":"Disable Controls","href":"/docs/ox_lib/Client/disableControls","docId":"ox_lib/Client/disableControls"},{"type":"link","label":"Streaming","href":"/docs/ox_lib/Client/streaming","docId":"ox_lib/Client/streaming"},{"type":"link","label":"Vehicle Properties","href":"/docs/ox_lib/Client/vehicleProperties","docId":"ox_lib/Client/vehicleProperties"}],"href":"/docs/ox_lib/Client/"},{"type":"category","label":"Server","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Permissions","href":"/docs/ox_lib/Server/acl","docId":"ox_lib/Server/acl"},{"type":"link","label":"Command","href":"/docs/ox_lib/Server/addCommand","docId":"ox_lib/Server/addCommand"},{"type":"link","label":"Callbacks","href":"/docs/ox_lib/Server/callback","docId":"ox_lib/Server/callback"},{"type":"link","label":"Version check","href":"/docs/ox_lib/Server/version","docId":"ox_lib/Server/version"}],"href":"/docs/ox_lib/Server/"},{"type":"category","label":"Shared","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Dependency version","href":"/docs/ox_lib/Shared/version","docId":"ox_lib/Shared/version"}]}],"collapsed":true,"collapsible":true},{"type":"category","label":"Inventory","items":[{"type":"link","label":"Configuration","href":"/docs/ox_inventory/config","docId":"ox_inventory/config"},{"type":"link","label":"Getting Started","href":"/docs/ox_inventory/installation","docId":"ox_inventory/installation"},{"type":"category","label":"Guides","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Placeholder","href":"/docs/ox_inventory/Guides/placeholder","docId":"ox_inventory/Guides/placeholder"}]},{"type":"category","label":"Functions","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"External","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Client","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Items","href":"/docs/ox_inventory/Functions/External/Client/Items","docId":"ox_inventory/Functions/External/Client/Items"},{"type":"link","label":"openInventory","href":"/docs/ox_inventory/Functions/External/Client/openInventory","docId":"ox_inventory/Functions/External/Client/openInventory"},{"type":"link","label":"openNearbyInventory","href":"/docs/ox_inventory/Functions/External/Client/openNearbyInventory","docId":"ox_inventory/Functions/External/Client/openNearbyInventory"},{"type":"link","label":"setStashTarget","href":"/docs/ox_inventory/Functions/External/Client/setStashTarget","docId":"ox_inventory/Functions/External/Client/setStashTarget"},{"type":"link","label":"useItem","href":"/docs/ox_inventory/Functions/External/Client/useItem","docId":"ox_inventory/Functions/External/Client/useItem"},{"type":"link","label":"useSlot","href":"/docs/ox_inventory/Functions/External/Client/useSlot","docId":"ox_inventory/Functions/External/Client/useSlot"},{"type":"category","label":"Interface","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Keyboard","href":"/docs/ox_inventory/Functions/External/Client/Interface/Keyboard","docId":"ox_inventory/Functions/External/Client/Interface/Keyboard"},{"type":"link","label":"Progress","href":"/docs/ox_inventory/Functions/External/Client/Interface/Progress","docId":"ox_inventory/Functions/External/Client/Interface/Progress"}]},{"type":"category","label":"Inventory","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Search","href":"/docs/ox_inventory/Functions/External/Client/Inventory/Search","docId":"ox_inventory/Functions/External/Client/Inventory/Search"}]},{"type":"category","label":"Utils","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"notify","href":"/docs/ox_inventory/Functions/External/Client/Utils/notify","docId":"ox_inventory/Functions/External/Client/Utils/notify"},{"type":"link","label":"weaponWheel","href":"/docs/ox_inventory/Functions/External/Client/Utils/weaponWheel","docId":"ox_inventory/Functions/External/Client/Utils/weaponWheel"}]}]},{"type":"category","label":"Server","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Items","href":"/docs/ox_inventory/Functions/External/Server/Items","docId":"ox_inventory/Functions/External/Server/Items"},{"type":"link","label":"setPlayerInventory","href":"/docs/ox_inventory/Functions/External/Server/setPlayerInventory","docId":"ox_inventory/Functions/External/Server/setPlayerInventory"},{"type":"category","label":"Inventory","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"AddItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/AddItem","docId":"ox_inventory/Functions/External/Server/Inventory/AddItem"},{"type":"link","label":"CanCarryItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/CanCarryItem","docId":"ox_inventory/Functions/External/Server/Inventory/CanCarryItem"},{"type":"link","label":"CanSwapItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/CanSwapItem","docId":"ox_inventory/Functions/External/Server/Inventory/CanSwapItem"},{"type":"link","label":"ClearInventory","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ClearInventory","docId":"ox_inventory/Functions/External/Server/Inventory/ClearInventory"},{"type":"link","label":"ConfiscateInventory","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory","docId":"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory"},{"type":"link","label":"ConvertItems","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ConvertItems","docId":"ox_inventory/Functions/External/Server/Inventory/ConvertItems"},{"type":"link","label":"CustomDrop","href":"/docs/ox_inventory/Functions/External/Server/Inventory/CustomDrop","docId":"ox_inventory/Functions/External/Server/Inventory/CustomDrop"},{"type":"link","label":"GetCurrentWeapon","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon","docId":"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon"},{"type":"link","label":"GetItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetItem","docId":"ox_inventory/Functions/External/Server/Inventory/GetItem"},{"type":"link","label":"GetItemSlots","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetItemSlots","docId":"ox_inventory/Functions/External/Server/Inventory/GetItemSlots"},{"type":"link","label":"GetSlot","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetSlot","docId":"ox_inventory/Functions/External/Server/Inventory/GetSlot"},{"type":"link","label":"RegisterStash","href":"/docs/ox_inventory/Functions/External/Server/Inventory/RegisterStash","docId":"ox_inventory/Functions/External/Server/Inventory/RegisterStash"},{"type":"link","label":"RemoveItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/RemoveItem","docId":"ox_inventory/Functions/External/Server/Inventory/RemoveItem"},{"type":"link","label":"ReturnInventory","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ReturnInventory","docId":"ox_inventory/Functions/External/Server/Inventory/ReturnInventory"},{"type":"link","label":"Search","href":"/docs/ox_inventory/Functions/External/Server/Inventory/Search","docId":"ox_inventory/Functions/External/Server/Inventory/Search"},{"type":"link","label":"SetDurability","href":"/docs/ox_inventory/Functions/External/Server/Inventory/SetDurability","docId":"ox_inventory/Functions/External/Server/Inventory/SetDurability"},{"type":"link","label":"SetMetadata","href":"/docs/ox_inventory/Functions/External/Server/Inventory/SetMetadata","docId":"ox_inventory/Functions/External/Server/Inventory/SetMetadata"},{"type":"link","label":"SwapSlots","href":"/docs/ox_inventory/Functions/External/Server/Inventory/SwapSlots","docId":"ox_inventory/Functions/External/Server/Inventory/SwapSlots"}]}]}]},{"type":"category","label":"Internal","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Client","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Placeholder","href":"/docs/ox_inventory/Functions/Internal/Client/placeholder","docId":"ox_inventory/Functions/Internal/Client/placeholder"}]},{"type":"category","label":"Server","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Placeholder","href":"/docs/ox_inventory/Functions/Internal/Server/placeholder","docId":"ox_inventory/Functions/Internal/Server/placeholder"}]}]}]}],"collapsed":true,"collapsible":true}]},"docs":{"index":{"id":"index","title":"Documentation","description":"Here you can find all of the official documentation for resoruces developed by the Overextended team","sidebar":"docs"},"ox_inventory/config":{"id":"ox_inventory/config","title":"Configuration","description":"You can add these settings directly to your \'server.cfg\', or add them to a separate file and call it with exec.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Interface/Keyboard":{"id":"ox_inventory/Functions/External/Client/Interface/Keyboard","title":"Keyboard","description":"Opens a keyboard input dialog.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Interface/Progress":{"id":"ox_inventory/Functions/External/Client/Interface/Progress","title":"Progress","description":"Starts a progress bar that can callback a function upon completion or cancellation.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Inventory/Search":{"id":"ox_inventory/Functions/External/Client/Inventory/Search","title":"Search","description":"Searches the inventory for a specified item.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Items":{"id":"ox_inventory/Functions/External/Client/Items","title":"Items","description":"Returns a table of all registered items.","sidebar":"docs"},"ox_inventory/Functions/External/Client/openInventory":{"id":"ox_inventory/Functions/External/Client/openInventory","title":"openInventory","description":"Opens an inventory using on the passed data.","sidebar":"docs"},"ox_inventory/Functions/External/Client/openNearbyInventory":{"id":"ox_inventory/Functions/External/Client/openNearbyInventory","title":"openNearbyInventory","description":"If possible opens the nearby player\'s inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Client/setStashTarget":{"id":"ox_inventory/Functions/External/Client/setStashTarget","title":"setStashTarget","description":"Forces the secondary-inventory key to open the passed inventory. Can be useful to enable inventory access while standing inside a marker.","sidebar":"docs"},"ox_inventory/Functions/External/Client/useItem":{"id":"ox_inventory/Functions/External/Client/useItem","title":"useItem","description":"Uses the passed item, then triggers the callback function.","sidebar":"docs"},"ox_inventory/Functions/External/Client/useSlot":{"id":"ox_inventory/Functions/External/Client/useSlot","title":"useSlot","description":"Uses the item in the given inventory slot.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Utils/notify":{"id":"ox_inventory/Functions/External/Client/Utils/notify","title":"notify","description":"Displays the notification used accross the inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Utils/weaponWheel":{"id":"ox_inventory/Functions/External/Client/Utils/weaponWheel","title":"weaponWheel","description":"Enables the weapon wheel, but disables the use of inventory items.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/AddItem":{"id":"ox_inventory/Functions/External/Server/Inventory/AddItem","title":"AddItem","description":"Adds an item into the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/CanCarryItem":{"id":"ox_inventory/Functions/External/Server/Inventory/CanCarryItem","title":"CanCarryItem","description":"Returns true or false depending if the inventory can carry the specified item.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/CanSwapItem":{"id":"ox_inventory/Functions/External/Server/Inventory/CanSwapItem","title":"CanSwapItem","description":"Returns true if the item swap is possible based on inventory weight.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ClearInventory":{"id":"ox_inventory/Functions/External/Server/Inventory/ClearInventory","title":"ClearInventory","description":"Clears the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory":{"id":"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory","title":"ConfiscateInventory","description":"Clears a player\'s inventory and saves it to a stash.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ConvertItems":{"id":"ox_inventory/Functions/External/Server/Inventory/ConvertItems","title":"ConvertItems","description":"Takes traditional item data and updates it to support ox_inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/CustomDrop":{"id":"ox_inventory/Functions/External/Server/Inventory/CustomDrop","title":"CustomDrop","description":"Creates an inventory drop at the specified coords.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon":{"id":"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon","title":"GetCurrentWeapon","description":"Returns the player\'s currently equipped weapon as a table.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetItem":{"id":"ox_inventory/Functions/External/Server/Inventory/GetItem","title":"GetItem","description":"Returns the item from the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetItemSlots":{"id":"ox_inventory/Functions/External/Server/Inventory/GetItemSlots","title":"GetItemSlots","description":"Returns the number of slots the specified item is in, the item\'s total count and the remaining empty slots.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetSlot":{"id":"ox_inventory/Functions/External/Server/Inventory/GetSlot","title":"GetSlot","description":"Returns the specified slot data as a table.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/RegisterStash":{"id":"ox_inventory/Functions/External/Server/Inventory/RegisterStash","title":"RegisterStash","description":"Creates a new custom stash.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/RemoveItem":{"id":"ox_inventory/Functions/External/Server/Inventory/RemoveItem","title":"RemoveItem","description":"Removes the specified item from the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ReturnInventory":{"id":"ox_inventory/Functions/External/Server/Inventory/ReturnInventory","title":"ReturnInventory","description":"Returns the confiscated inventory back to the player.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/Search":{"id":"ox_inventory/Functions/External/Server/Inventory/Search","title":"Search","description":"Searches an inventory for a specified item.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/SetDurability":{"id":"ox_inventory/Functions/External/Server/Inventory/SetDurability","title":"SetDurability","description":"Sets durability onto the specified slot.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/SetMetadata":{"id":"ox_inventory/Functions/External/Server/Inventory/SetMetadata","title":"SetMetadata","description":"Sets metadata on the specified slot.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/SwapSlots":{"id":"ox_inventory/Functions/External/Server/Inventory/SwapSlots","title":"SwapSlots","description":"Swaps slots in specified inventories.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Items":{"id":"ox_inventory/Functions/External/Server/Items","title":"Items","description":"Returns a table of all registered items.","sidebar":"docs"},"ox_inventory/Functions/External/Server/setPlayerInventory":{"id":"ox_inventory/Functions/External/Server/setPlayerInventory","title":"setPlayerInventory","description":"Creates and sets the player\'s inventory.","sidebar":"docs"},"ox_inventory/Functions/Internal/Client/placeholder":{"id":"ox_inventory/Functions/Internal/Client/placeholder","title":"Placeholder","description":"","sidebar":"docs"},"ox_inventory/Functions/Internal/Server/placeholder":{"id":"ox_inventory/Functions/Internal/Server/placeholder","title":"Placeholder","description":"","sidebar":"docs"},"ox_inventory/Guides/placeholder":{"id":"ox_inventory/Guides/placeholder","title":"Placeholder","description":"","sidebar":"docs"},"ox_inventory/installation":{"id":"ox_inventory/installation","title":"Getting Started","description":"This resource is being designed with the intention of providing advanced functionality while remaining easy to use,","sidebar":"docs"},"ox_lib/Client/cache":{"id":"ox_lib/Client/cache","title":"Cache","description":"Caches data related to the player and handling some events or statebags.","sidebar":"docs"},"ox_lib/Client/callback":{"id":"ox_lib/Client/callback","title":"Callbacks","description":"Triggers a registered server callback and registers an event handler for the response.","sidebar":"docs"},"ox_lib/Client/disableControls":{"id":"ox_lib/Client/disableControls","title":"Disable Controls","description":"lib.disableControls","sidebar":"docs"},"ox_lib/Client/index":{"id":"ox_lib/Client/index","title":"index","description":"","sidebar":"docs"},"ox_lib/Client/streaming":{"id":"ox_lib/Client/streaming","title":"Streaming","description":"Check if assets exist, such as models, and loads them into memory.","sidebar":"docs"},"ox_lib/Client/vehicleProperties":{"id":"ox_lib/Client/vehicleProperties","title":"Vehicle Properties","description":"Mostly follows the format used by ESX and QBCore, with extra data such as damaged/missing props.","sidebar":"docs"},"ox_lib/Server/acl":{"id":"ox_lib/Server/acl","title":"Permissions","description":"Wrapper around the built-in ACL system. Handles lib.addCommand and ox_groups permissions.","sidebar":"docs"},"ox_lib/Server/addCommand":{"id":"ox_lib/Server/addCommand","title":"Command","description":"","sidebar":"docs"},"ox_lib/Server/callback":{"id":"ox_lib/Server/callback","title":"Callbacks","description":"lib.callback.register","sidebar":"docs"},"ox_lib/Server/index":{"id":"ox_lib/Server/index","title":"index","description":"","sidebar":"docs"},"ox_lib/Server/version":{"id":"ox_lib/Server/version","title":"Version check","description":"lib.versionCheck","sidebar":"docs"},"ox_lib/Shared/version":{"id":"ox_lib/Shared/version","title":"Dependency version","description":"lib.checkDependency","sidebar":"docs"},"oxmysql/Getting Started/benchmark":{"id":"oxmysql/Getting Started/benchmark","title":"Benchmark","description":"Internal benchmark","sidebar":"docs"},"oxmysql/Getting Started/index":{"id":"oxmysql/Getting Started/index","title":"Getting Started","description":"Installation","sidebar":"docs"},"oxmysql/Getting Started/issues":{"id":"oxmysql/Getting Started/issues","title":"Common Issues","description":"Unable to establish a connection","sidebar":"docs"},"oxmysql/Usage/index":{"id":"oxmysql/Usage/index","title":"Usage","description":"todo - include some information about proper formatting, placeholders, bad practices, etc.","sidebar":"docs"},"oxmysql/Usage/insert":{"id":"oxmysql/Usage/insert","title":"Insert","description":"Inserts a new entry into the database and returns the insert id for the row, if valid.","sidebar":"docs"},"oxmysql/Usage/prepare":{"id":"oxmysql/Usage/prepare","title":"Prepare","description":"The only function that provides true prepared statements, granting native protection and query planning by MySQL.","sidebar":"docs"},"oxmysql/Usage/query":{"id":"oxmysql/Usage/query","title":"Query","description":"Generic function that can be utilised for any query.","sidebar":"docs"},"oxmysql/Usage/scalar":{"id":"oxmysql/Usage/scalar","title":"Scalar","description":"Returns the first column for a single row.","sidebar":"docs"},"oxmysql/Usage/single":{"id":"oxmysql/Usage/single","title":"Single","description":"Returns the columns for a single row.","sidebar":"docs"},"oxmysql/Usage/transaction":{"id":"oxmysql/Usage/transaction","title":"Transaction","description":"todo - update formatting and information","sidebar":"docs"},"oxmysql/Usage/update":{"id":"oxmysql/Usage/update","title":"Update","description":"Returns the number of affected rows by the query.","sidebar":"docs"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.72d37062.js b/assets/js/935f2afb.72d37062.js new file mode 100644 index 00000000..30d92c95 --- /dev/null +++ b/assets/js/935f2afb.72d37062.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53],{1109:function(e){e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"Documentation","href":"/docs/","docId":"index"},{"type":"category","label":"MySQL","items":[{"type":"category","label":"Getting Started","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Benchmark","href":"/docs/oxmysql/Getting Started/benchmark","docId":"oxmysql/Getting Started/benchmark"},{"type":"link","label":"Common Issues","href":"/docs/oxmysql/Getting Started/issues","docId":"oxmysql/Getting Started/issues"}],"href":"/docs/oxmysql/Getting Started/"},{"type":"category","label":"Usage","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Insert","href":"/docs/oxmysql/Usage/insert","docId":"oxmysql/Usage/insert"},{"type":"link","label":"Prepare","href":"/docs/oxmysql/Usage/prepare","docId":"oxmysql/Usage/prepare"},{"type":"link","label":"Query","href":"/docs/oxmysql/Usage/query","docId":"oxmysql/Usage/query"},{"type":"link","label":"Scalar","href":"/docs/oxmysql/Usage/scalar","docId":"oxmysql/Usage/scalar"},{"type":"link","label":"Single","href":"/docs/oxmysql/Usage/single","docId":"oxmysql/Usage/single"},{"type":"link","label":"Transaction","href":"/docs/oxmysql/Usage/transaction","docId":"oxmysql/Usage/transaction"},{"type":"link","label":"Update","href":"/docs/oxmysql/Usage/update","docId":"oxmysql/Usage/update"}],"href":"/docs/oxmysql/Usage/"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Library","items":[{"type":"category","label":"Client","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Cache","href":"/docs/ox_lib/Client/cache","docId":"ox_lib/Client/cache"},{"type":"link","label":"Callbacks","href":"/docs/ox_lib/Client/callback","docId":"ox_lib/Client/callback"},{"type":"link","label":"Disable Controls","href":"/docs/ox_lib/Client/disableControls","docId":"ox_lib/Client/disableControls"},{"type":"link","label":"Streaming","href":"/docs/ox_lib/Client/streaming","docId":"ox_lib/Client/streaming"},{"type":"link","label":"Vehicle Properties","href":"/docs/ox_lib/Client/vehicleProperties","docId":"ox_lib/Client/vehicleProperties"}],"href":"/docs/ox_lib/Client/"},{"type":"category","label":"Server","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Permissions","href":"/docs/ox_lib/Server/acl","docId":"ox_lib/Server/acl"},{"type":"link","label":"Command","href":"/docs/ox_lib/Server/addCommand","docId":"ox_lib/Server/addCommand"},{"type":"link","label":"Callbacks","href":"/docs/ox_lib/Server/callback","docId":"ox_lib/Server/callback"},{"type":"link","label":"Version check","href":"/docs/ox_lib/Server/version","docId":"ox_lib/Server/version"}],"href":"/docs/ox_lib/Server/"},{"type":"category","label":"Shared","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Dependency version","href":"/docs/ox_lib/Shared/version","docId":"ox_lib/Shared/version"}]}],"collapsed":true,"collapsible":true},{"type":"category","label":"Inventory","items":[{"type":"link","label":"Configuration","href":"/docs/ox_inventory/config","docId":"ox_inventory/config"},{"type":"link","label":"Getting Started","href":"/docs/ox_inventory/installation","docId":"ox_inventory/installation"},{"type":"category","label":"Guides","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Building inventory UI","href":"/docs/ox_inventory/Guides/inventory_ui","docId":"ox_inventory/Guides/inventory_ui"},{"type":"link","label":"Creating custom stashes","href":"/docs/ox_inventory/Guides/stashes","docId":"ox_inventory/Guides/stashes"}],"href":"/docs/ox_inventory/Guides/"},{"type":"category","label":"Functions","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"External","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Client","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Items","href":"/docs/ox_inventory/Functions/External/Client/Items","docId":"ox_inventory/Functions/External/Client/Items"},{"type":"link","label":"openInventory","href":"/docs/ox_inventory/Functions/External/Client/openInventory","docId":"ox_inventory/Functions/External/Client/openInventory"},{"type":"link","label":"openNearbyInventory","href":"/docs/ox_inventory/Functions/External/Client/openNearbyInventory","docId":"ox_inventory/Functions/External/Client/openNearbyInventory"},{"type":"link","label":"setStashTarget","href":"/docs/ox_inventory/Functions/External/Client/setStashTarget","docId":"ox_inventory/Functions/External/Client/setStashTarget"},{"type":"link","label":"useItem","href":"/docs/ox_inventory/Functions/External/Client/useItem","docId":"ox_inventory/Functions/External/Client/useItem"},{"type":"link","label":"useSlot","href":"/docs/ox_inventory/Functions/External/Client/useSlot","docId":"ox_inventory/Functions/External/Client/useSlot"},{"type":"category","label":"Interface","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Keyboard","href":"/docs/ox_inventory/Functions/External/Client/Interface/Keyboard","docId":"ox_inventory/Functions/External/Client/Interface/Keyboard"},{"type":"link","label":"Progress","href":"/docs/ox_inventory/Functions/External/Client/Interface/Progress","docId":"ox_inventory/Functions/External/Client/Interface/Progress"}]},{"type":"category","label":"Inventory","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Search","href":"/docs/ox_inventory/Functions/External/Client/Inventory/Search","docId":"ox_inventory/Functions/External/Client/Inventory/Search"}]},{"type":"category","label":"Utils","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"notify","href":"/docs/ox_inventory/Functions/External/Client/Utils/notify","docId":"ox_inventory/Functions/External/Client/Utils/notify"},{"type":"link","label":"weaponWheel","href":"/docs/ox_inventory/Functions/External/Client/Utils/weaponWheel","docId":"ox_inventory/Functions/External/Client/Utils/weaponWheel"}]}]},{"type":"category","label":"Server","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Items","href":"/docs/ox_inventory/Functions/External/Server/Items","docId":"ox_inventory/Functions/External/Server/Items"},{"type":"link","label":"setPlayerInventory","href":"/docs/ox_inventory/Functions/External/Server/setPlayerInventory","docId":"ox_inventory/Functions/External/Server/setPlayerInventory"},{"type":"category","label":"Inventory","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"AddItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/AddItem","docId":"ox_inventory/Functions/External/Server/Inventory/AddItem"},{"type":"link","label":"CanCarryItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/CanCarryItem","docId":"ox_inventory/Functions/External/Server/Inventory/CanCarryItem"},{"type":"link","label":"CanSwapItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/CanSwapItem","docId":"ox_inventory/Functions/External/Server/Inventory/CanSwapItem"},{"type":"link","label":"ClearInventory","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ClearInventory","docId":"ox_inventory/Functions/External/Server/Inventory/ClearInventory"},{"type":"link","label":"ConfiscateInventory","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory","docId":"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory"},{"type":"link","label":"ConvertItems","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ConvertItems","docId":"ox_inventory/Functions/External/Server/Inventory/ConvertItems"},{"type":"link","label":"CustomDrop","href":"/docs/ox_inventory/Functions/External/Server/Inventory/CustomDrop","docId":"ox_inventory/Functions/External/Server/Inventory/CustomDrop"},{"type":"link","label":"GetCurrentWeapon","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon","docId":"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon"},{"type":"link","label":"GetItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetItem","docId":"ox_inventory/Functions/External/Server/Inventory/GetItem"},{"type":"link","label":"GetItemSlots","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetItemSlots","docId":"ox_inventory/Functions/External/Server/Inventory/GetItemSlots"},{"type":"link","label":"GetSlot","href":"/docs/ox_inventory/Functions/External/Server/Inventory/GetSlot","docId":"ox_inventory/Functions/External/Server/Inventory/GetSlot"},{"type":"link","label":"RegisterStash","href":"/docs/ox_inventory/Functions/External/Server/Inventory/RegisterStash","docId":"ox_inventory/Functions/External/Server/Inventory/RegisterStash"},{"type":"link","label":"RemoveItem","href":"/docs/ox_inventory/Functions/External/Server/Inventory/RemoveItem","docId":"ox_inventory/Functions/External/Server/Inventory/RemoveItem"},{"type":"link","label":"ReturnInventory","href":"/docs/ox_inventory/Functions/External/Server/Inventory/ReturnInventory","docId":"ox_inventory/Functions/External/Server/Inventory/ReturnInventory"},{"type":"link","label":"Search","href":"/docs/ox_inventory/Functions/External/Server/Inventory/Search","docId":"ox_inventory/Functions/External/Server/Inventory/Search"},{"type":"link","label":"SetDurability","href":"/docs/ox_inventory/Functions/External/Server/Inventory/SetDurability","docId":"ox_inventory/Functions/External/Server/Inventory/SetDurability"},{"type":"link","label":"SetMetadata","href":"/docs/ox_inventory/Functions/External/Server/Inventory/SetMetadata","docId":"ox_inventory/Functions/External/Server/Inventory/SetMetadata"},{"type":"link","label":"SwapSlots","href":"/docs/ox_inventory/Functions/External/Server/Inventory/SwapSlots","docId":"ox_inventory/Functions/External/Server/Inventory/SwapSlots"}]}]}]},{"type":"category","label":"Internal","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Client","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Placeholder","href":"/docs/ox_inventory/Functions/Internal/Client/placeholder","docId":"ox_inventory/Functions/Internal/Client/placeholder"}]},{"type":"category","label":"Server","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Placeholder","href":"/docs/ox_inventory/Functions/Internal/Server/placeholder","docId":"ox_inventory/Functions/Internal/Server/placeholder"}]}]}]}],"collapsed":true,"collapsible":true}]},"docs":{"index":{"id":"index","title":"Documentation","description":"Here you can find all of the official documentation for resoruces developed by the Overextended team","sidebar":"docs"},"ox_inventory/config":{"id":"ox_inventory/config","title":"Configuration","description":"You can add these settings directly to your \'server.cfg\', or add them to a separate file and call it with exec.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Interface/Keyboard":{"id":"ox_inventory/Functions/External/Client/Interface/Keyboard","title":"Keyboard","description":"Opens a keyboard input dialog.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Interface/Progress":{"id":"ox_inventory/Functions/External/Client/Interface/Progress","title":"Progress","description":"Starts a progress bar that can callback a function upon completion or cancellation.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Inventory/Search":{"id":"ox_inventory/Functions/External/Client/Inventory/Search","title":"Search","description":"Searches the inventory for a specified item.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Items":{"id":"ox_inventory/Functions/External/Client/Items","title":"Items","description":"Returns a table of all registered items.","sidebar":"docs"},"ox_inventory/Functions/External/Client/openInventory":{"id":"ox_inventory/Functions/External/Client/openInventory","title":"openInventory","description":"Opens an inventory using on the passed data.","sidebar":"docs"},"ox_inventory/Functions/External/Client/openNearbyInventory":{"id":"ox_inventory/Functions/External/Client/openNearbyInventory","title":"openNearbyInventory","description":"If possible opens the nearby player\'s inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Client/setStashTarget":{"id":"ox_inventory/Functions/External/Client/setStashTarget","title":"setStashTarget","description":"Forces the secondary-inventory key to open the passed inventory. Can be useful to enable inventory access while standing inside a marker.","sidebar":"docs"},"ox_inventory/Functions/External/Client/useItem":{"id":"ox_inventory/Functions/External/Client/useItem","title":"useItem","description":"Uses the passed item, then triggers the callback function.","sidebar":"docs"},"ox_inventory/Functions/External/Client/useSlot":{"id":"ox_inventory/Functions/External/Client/useSlot","title":"useSlot","description":"Uses the item in the given inventory slot.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Utils/notify":{"id":"ox_inventory/Functions/External/Client/Utils/notify","title":"notify","description":"Displays the notification used accross the inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Client/Utils/weaponWheel":{"id":"ox_inventory/Functions/External/Client/Utils/weaponWheel","title":"weaponWheel","description":"Enables the weapon wheel, but disables the use of inventory items.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/AddItem":{"id":"ox_inventory/Functions/External/Server/Inventory/AddItem","title":"AddItem","description":"Adds an item into the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/CanCarryItem":{"id":"ox_inventory/Functions/External/Server/Inventory/CanCarryItem","title":"CanCarryItem","description":"Returns true or false depending if the inventory can carry the specified item.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/CanSwapItem":{"id":"ox_inventory/Functions/External/Server/Inventory/CanSwapItem","title":"CanSwapItem","description":"Returns true if the item swap is possible based on inventory weight.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ClearInventory":{"id":"ox_inventory/Functions/External/Server/Inventory/ClearInventory","title":"ClearInventory","description":"Clears the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory":{"id":"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory","title":"ConfiscateInventory","description":"Clears a player\'s inventory and saves it to a stash.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ConvertItems":{"id":"ox_inventory/Functions/External/Server/Inventory/ConvertItems","title":"ConvertItems","description":"Takes traditional item data and updates it to support ox_inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/CustomDrop":{"id":"ox_inventory/Functions/External/Server/Inventory/CustomDrop","title":"CustomDrop","description":"Creates an inventory drop at the specified coords.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon":{"id":"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon","title":"GetCurrentWeapon","description":"Returns the player\'s currently equipped weapon as a table.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetItem":{"id":"ox_inventory/Functions/External/Server/Inventory/GetItem","title":"GetItem","description":"Returns the item from the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetItemSlots":{"id":"ox_inventory/Functions/External/Server/Inventory/GetItemSlots","title":"GetItemSlots","description":"Returns the number of slots the specified item is in, the item\'s total count and the remaining empty slots.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/GetSlot":{"id":"ox_inventory/Functions/External/Server/Inventory/GetSlot","title":"GetSlot","description":"Returns the specified slot data as a table.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/RegisterStash":{"id":"ox_inventory/Functions/External/Server/Inventory/RegisterStash","title":"RegisterStash","description":"Creates a new custom stash.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/RemoveItem":{"id":"ox_inventory/Functions/External/Server/Inventory/RemoveItem","title":"RemoveItem","description":"Removes the specified item from the specified inventory.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/ReturnInventory":{"id":"ox_inventory/Functions/External/Server/Inventory/ReturnInventory","title":"ReturnInventory","description":"Returns the confiscated inventory back to the player.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/Search":{"id":"ox_inventory/Functions/External/Server/Inventory/Search","title":"Search","description":"Searches an inventory for a specified item.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/SetDurability":{"id":"ox_inventory/Functions/External/Server/Inventory/SetDurability","title":"SetDurability","description":"Sets durability onto the specified slot.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/SetMetadata":{"id":"ox_inventory/Functions/External/Server/Inventory/SetMetadata","title":"SetMetadata","description":"Sets metadata on the specified slot.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Inventory/SwapSlots":{"id":"ox_inventory/Functions/External/Server/Inventory/SwapSlots","title":"SwapSlots","description":"Swaps slots in specified inventories.","sidebar":"docs"},"ox_inventory/Functions/External/Server/Items":{"id":"ox_inventory/Functions/External/Server/Items","title":"Items","description":"Returns a table of all registered items.","sidebar":"docs"},"ox_inventory/Functions/External/Server/setPlayerInventory":{"id":"ox_inventory/Functions/External/Server/setPlayerInventory","title":"setPlayerInventory","description":"Creates and sets the player\'s inventory.","sidebar":"docs"},"ox_inventory/Functions/Internal/Client/placeholder":{"id":"ox_inventory/Functions/Internal/Client/placeholder","title":"Placeholder","description":"","sidebar":"docs"},"ox_inventory/Functions/Internal/Server/placeholder":{"id":"ox_inventory/Functions/Internal/Server/placeholder","title":"Placeholder","description":"","sidebar":"docs"},"ox_inventory/Guides/index":{"id":"ox_inventory/Guides/index","title":"Overview","description":"Providing examples and explaining certain inventory API into more detail.","sidebar":"docs"},"ox_inventory/Guides/inventory_ui":{"id":"ox_inventory/Guides/inventory_ui","title":"Building inventory UI","description":"* Node.js","sidebar":"docs"},"ox_inventory/Guides/stashes":{"id":"ox_inventory/Guides/stashes","title":"Creating custom stashes","description":"We can set up custom stashes from outside the resource utilising the exported RegisterStash function. Firstly, we need to define the stashes properties.","sidebar":"docs"},"ox_inventory/installation":{"id":"ox_inventory/installation","title":"Getting Started","description":"This resource is being designed with the intention of providing advanced functionality while remaining easy to use,","sidebar":"docs"},"ox_lib/Client/cache":{"id":"ox_lib/Client/cache","title":"Cache","description":"Caches data related to the player and handling some events or statebags.","sidebar":"docs"},"ox_lib/Client/callback":{"id":"ox_lib/Client/callback","title":"Callbacks","description":"Triggers a registered server callback and registers an event handler for the response.","sidebar":"docs"},"ox_lib/Client/disableControls":{"id":"ox_lib/Client/disableControls","title":"Disable Controls","description":"lib.disableControls","sidebar":"docs"},"ox_lib/Client/index":{"id":"ox_lib/Client/index","title":"index","description":"","sidebar":"docs"},"ox_lib/Client/streaming":{"id":"ox_lib/Client/streaming","title":"Streaming","description":"Check if assets exist, such as models, and loads them into memory.","sidebar":"docs"},"ox_lib/Client/vehicleProperties":{"id":"ox_lib/Client/vehicleProperties","title":"Vehicle Properties","description":"Mostly follows the format used by ESX and QBCore, with extra data such as damaged/missing props.","sidebar":"docs"},"ox_lib/Server/acl":{"id":"ox_lib/Server/acl","title":"Permissions","description":"Wrapper around the built-in ACL system. Handles lib.addCommand and ox_groups permissions.","sidebar":"docs"},"ox_lib/Server/addCommand":{"id":"ox_lib/Server/addCommand","title":"Command","description":"","sidebar":"docs"},"ox_lib/Server/callback":{"id":"ox_lib/Server/callback","title":"Callbacks","description":"lib.callback.register","sidebar":"docs"},"ox_lib/Server/index":{"id":"ox_lib/Server/index","title":"index","description":"","sidebar":"docs"},"ox_lib/Server/version":{"id":"ox_lib/Server/version","title":"Version check","description":"lib.versionCheck","sidebar":"docs"},"ox_lib/Shared/version":{"id":"ox_lib/Shared/version","title":"Dependency version","description":"lib.checkDependency","sidebar":"docs"},"oxmysql/Getting Started/benchmark":{"id":"oxmysql/Getting Started/benchmark","title":"Benchmark","description":"Internal benchmark","sidebar":"docs"},"oxmysql/Getting Started/index":{"id":"oxmysql/Getting Started/index","title":"Getting Started","description":"Installation","sidebar":"docs"},"oxmysql/Getting Started/issues":{"id":"oxmysql/Getting Started/issues","title":"Common Issues","description":"Unable to establish a connection","sidebar":"docs"},"oxmysql/Usage/index":{"id":"oxmysql/Usage/index","title":"Usage","description":"todo - include some information about proper formatting, placeholders, bad practices, etc.","sidebar":"docs"},"oxmysql/Usage/insert":{"id":"oxmysql/Usage/insert","title":"Insert","description":"Inserts a new entry into the database and returns the insert id for the row, if valid.","sidebar":"docs"},"oxmysql/Usage/prepare":{"id":"oxmysql/Usage/prepare","title":"Prepare","description":"The only function that provides true prepared statements, granting native protection and query planning by MySQL.","sidebar":"docs"},"oxmysql/Usage/query":{"id":"oxmysql/Usage/query","title":"Query","description":"Generic function that can be utilised for any query.","sidebar":"docs"},"oxmysql/Usage/scalar":{"id":"oxmysql/Usage/scalar","title":"Scalar","description":"Returns the first column for a single row.","sidebar":"docs"},"oxmysql/Usage/single":{"id":"oxmysql/Usage/single","title":"Single","description":"Returns the columns for a single row.","sidebar":"docs"},"oxmysql/Usage/transaction":{"id":"oxmysql/Usage/transaction","title":"Transaction","description":"todo - update formatting and information","sidebar":"docs"},"oxmysql/Usage/update":{"id":"oxmysql/Usage/update","title":"Update","description":"Returns the number of affected rows by the query.","sidebar":"docs"}}}')}}]); \ No newline at end of file diff --git a/assets/js/cadd292b.08121389.js b/assets/js/cadd292b.08121389.js deleted file mode 100644 index 5b8b194a..00000000 --- a/assets/js/cadd292b.08121389.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4093],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return f}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,p=a(e,["components","mdxType","originalType","parentName"]),d=u(r),f=o,y=d["".concat(l,".").concat(f)]||d[f]||s[f]||i;return r?n.createElement(y,c(c({ref:t},p),{},{components:r})):n.createElement(y,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=d;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a.mdxType="string"==typeof e?e:o,c[1]=a;for(var u=2;u\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = '+e+" "+("/"===e?" (default value)":"")+'

\n

We suggest trying baseUrl =

\n\n'}(e)).replace(/0)&&(M.current.unobserve(t),M.current.disconnect(),n())}))})),M.current.observe(t))},to:L||""},m&&{isActive:y,activeClassName:g}))}var h=a.forwardRef(m)},1875:function(e,t){"use strict";t.Z=function(){return null}},5999:function(e,t,n){"use strict";n.d(t,{Z:function(){return c},I:function(){return u}});var r=n(7294),o=/{\w+}/g,a="{}";function i(e,t){var n=[],i=e.replace(o,(function(e){var o=e.substring(1,e.length-1),i=null==t?void 0:t[o];if(void 0!==i){var l=r.isValidElement(i)?i:String(i);return n.push(l),a}return e}));return 0===n.length?e:n.every((function(e){return"string"==typeof e}))?i.split(a).reduce((function(e,t,r){var o;return e.concat(t).concat(null!==(o=n[r])&&void 0!==o?o:"")}),""):i.split(a).reduce((function(e,t,o){return[].concat(e,[r.createElement(r.Fragment,{key:o},t,n[o])])}),[])}var l=n(7529);function s(e){var t,n,r=e.id,o=e.message;if(void 0===r&&void 0===o)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!==(n=null!==(t=l[null!=r?r:o])&&void 0!==t?t:o)&&void 0!==n?n:r}function u(e,t){return i(s({message:e.message,id:e.id}),t)}function c(e){var t=e.children,n=e.id,r=e.values;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");return i(s({message:t,id:n}),r)}},9913:function(e,t,n){"use strict";n.d(t,{_:function(){return o},t:function(){return a}});var r=n(7294),o=r.createContext(!1);function a(e){var t=e.children,n=(0,r.useState)(!1),a=n[0],i=n[1];return(0,r.useEffect)((function(){i(!0)}),[]),r.createElement(o.Provider,{value:a},t)}},9935:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r="default"},7041:function(e,t,n){"use strict";n.d(t,{_:function(){return c},M:function(){return d}});var r=n(7294),o=n(9782),a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"index","docs":[{"id":"index","path":"/docs/","sidebar":"docs"},{"id":"ox_inventory/config","path":"/docs/ox_inventory/config","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/Interface/Keyboard","path":"/docs/ox_inventory/Functions/External/Client/Interface/Keyboard","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/Interface/Progress","path":"/docs/ox_inventory/Functions/External/Client/Interface/Progress","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/Inventory/Search","path":"/docs/ox_inventory/Functions/External/Client/Inventory/Search","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/Items","path":"/docs/ox_inventory/Functions/External/Client/Items","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/openInventory","path":"/docs/ox_inventory/Functions/External/Client/openInventory","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/openNearbyInventory","path":"/docs/ox_inventory/Functions/External/Client/openNearbyInventory","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/setStashTarget","path":"/docs/ox_inventory/Functions/External/Client/setStashTarget","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/useItem","path":"/docs/ox_inventory/Functions/External/Client/useItem","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/useSlot","path":"/docs/ox_inventory/Functions/External/Client/useSlot","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/Utils/notify","path":"/docs/ox_inventory/Functions/External/Client/Utils/notify","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Client/Utils/weaponWheel","path":"/docs/ox_inventory/Functions/External/Client/Utils/weaponWheel","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/AddItem","path":"/docs/ox_inventory/Functions/External/Server/Inventory/AddItem","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/CanCarryItem","path":"/docs/ox_inventory/Functions/External/Server/Inventory/CanCarryItem","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/CanSwapItem","path":"/docs/ox_inventory/Functions/External/Server/Inventory/CanSwapItem","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/ClearInventory","path":"/docs/ox_inventory/Functions/External/Server/Inventory/ClearInventory","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory","path":"/docs/ox_inventory/Functions/External/Server/Inventory/ConfiscateInventory","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/ConvertItems","path":"/docs/ox_inventory/Functions/External/Server/Inventory/ConvertItems","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/CustomDrop","path":"/docs/ox_inventory/Functions/External/Server/Inventory/CustomDrop","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon","path":"/docs/ox_inventory/Functions/External/Server/Inventory/GetCurrentWeapon","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/GetItem","path":"/docs/ox_inventory/Functions/External/Server/Inventory/GetItem","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/GetItemSlots","path":"/docs/ox_inventory/Functions/External/Server/Inventory/GetItemSlots","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/GetSlot","path":"/docs/ox_inventory/Functions/External/Server/Inventory/GetSlot","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/RegisterStash","path":"/docs/ox_inventory/Functions/External/Server/Inventory/RegisterStash","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/RemoveItem","path":"/docs/ox_inventory/Functions/External/Server/Inventory/RemoveItem","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/ReturnInventory","path":"/docs/ox_inventory/Functions/External/Server/Inventory/ReturnInventory","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/Search","path":"/docs/ox_inventory/Functions/External/Server/Inventory/Search","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/SetDurability","path":"/docs/ox_inventory/Functions/External/Server/Inventory/SetDurability","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/SetMetadata","path":"/docs/ox_inventory/Functions/External/Server/Inventory/SetMetadata","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Inventory/SwapSlots","path":"/docs/ox_inventory/Functions/External/Server/Inventory/SwapSlots","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/Items","path":"/docs/ox_inventory/Functions/External/Server/Items","sidebar":"docs"},{"id":"ox_inventory/Functions/External/Server/setPlayerInventory","path":"/docs/ox_inventory/Functions/External/Server/setPlayerInventory","sidebar":"docs"},{"id":"ox_inventory/Functions/Internal/Client/placeholder","path":"/docs/ox_inventory/Functions/Internal/Client/placeholder","sidebar":"docs"},{"id":"ox_inventory/Functions/Internal/Server/placeholder","path":"/docs/ox_inventory/Functions/Internal/Server/placeholder","sidebar":"docs"},{"id":"ox_inventory/Guides/index","path":"/docs/ox_inventory/Guides/","sidebar":"docs"},{"id":"ox_inventory/Guides/inventory_ui","path":"/docs/ox_inventory/Guides/inventory_ui","sidebar":"docs"},{"id":"ox_inventory/Guides/stashes","path":"/docs/ox_inventory/Guides/stashes","sidebar":"docs"},{"id":"ox_inventory/installation","path":"/docs/ox_inventory/installation","sidebar":"docs"},{"id":"ox_lib/Client/cache","path":"/docs/ox_lib/Client/cache","sidebar":"docs"},{"id":"ox_lib/Client/callback","path":"/docs/ox_lib/Client/callback","sidebar":"docs"},{"id":"ox_lib/Client/disableControls","path":"/docs/ox_lib/Client/disableControls","sidebar":"docs"},{"id":"ox_lib/Client/index","path":"/docs/ox_lib/Client/","sidebar":"docs"},{"id":"ox_lib/Client/streaming","path":"/docs/ox_lib/Client/streaming","sidebar":"docs"},{"id":"ox_lib/Client/vehicleProperties","path":"/docs/ox_lib/Client/vehicleProperties","sidebar":"docs"},{"id":"ox_lib/Server/acl","path":"/docs/ox_lib/Server/acl","sidebar":"docs"},{"id":"ox_lib/Server/addCommand","path":"/docs/ox_lib/Server/addCommand","sidebar":"docs"},{"id":"ox_lib/Server/callback","path":"/docs/ox_lib/Server/callback","sidebar":"docs"},{"id":"ox_lib/Server/index","path":"/docs/ox_lib/Server/","sidebar":"docs"},{"id":"ox_lib/Server/version","path":"/docs/ox_lib/Server/version","sidebar":"docs"},{"id":"ox_lib/Shared/version","path":"/docs/ox_lib/Shared/version","sidebar":"docs"},{"id":"oxmysql/Getting Started/benchmark","path":"/docs/oxmysql/Getting Started/benchmark","sidebar":"docs"},{"id":"oxmysql/Getting Started/index","path":"/docs/oxmysql/Getting Started/","sidebar":"docs"},{"id":"oxmysql/Getting Started/issues","path":"/docs/oxmysql/Getting Started/issues","sidebar":"docs"},{"id":"oxmysql/Usage/index","path":"/docs/oxmysql/Usage/","sidebar":"docs"},{"id":"oxmysql/Usage/insert","path":"/docs/oxmysql/Usage/insert","sidebar":"docs"},{"id":"oxmysql/Usage/prepare","path":"/docs/oxmysql/Usage/prepare","sidebar":"docs"},{"id":"oxmysql/Usage/query","path":"/docs/oxmysql/Usage/query","sidebar":"docs"},{"id":"oxmysql/Usage/scalar","path":"/docs/oxmysql/Usage/scalar","sidebar":"docs"},{"id":"oxmysql/Usage/single","path":"/docs/oxmysql/Usage/single","sidebar":"docs"},{"id":"oxmysql/Usage/transaction","path":"/docs/oxmysql/Usage/transaction","sidebar":"docs"},{"id":"oxmysql/Usage/update","path":"/docs/oxmysql/Usage/update","sidebar":"docs"}],"sidebars":{"docs":{"link":{"path":"/docs/","label":"Documentation"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en"}}}'),l=n(7529),s=JSON.parse('{"docusaurusVersion":"2.0.0-beta.16","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.0.0-beta.16"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.0.0-beta.16"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.0.0-beta.16"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.0.0-beta.16"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.0.0-beta.16"}}}'),u={siteConfig:o.default,siteMetadata:s,globalData:a,i18n:i,codeTranslations:l},c=r.createContext(u);function d(e){var t=e.children;return r.createElement(c.Provider,{value:u},t)}},3919:function(e,t,n){"use strict";function r(e){return!0===/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{b:function(){return r},Z:function(){return o}})},8143:function(e,t,n){"use strict";n.r(t),n.d(t,{useHistory:function(){return r.k6},useLocation:function(){return r.TH},Redirect:function(){return r.l_},matchPath:function(){return r.LX}});var r=n(6775)},4996:function(e,t,n){"use strict";n.d(t,{C:function(){return a},Z:function(){return i}});var r=n(2263),o=n(3919);function a(){var e=(0,r.Z)().siteConfig,t=e.baseUrl,n=e.url;return{withBaseUrl:function(e,r){return function(e,t,n,r){var a=void 0===r?{}:r,i=a.forcePrependBaseUrl,l=void 0!==i&&i,s=a.absolute,u=void 0!==s&&s;if(!n)return n;if(n.startsWith("#"))return n;if((0,o.b)(n))return n;if(l)return t+n.replace(/^\//,"");var c=n.startsWith(t)?n:t+n.replace(/^\//,"");return u?e+c:c}(n,t,e,r)}}}function i(e,t){return void 0===t&&(t={}),(0,a().withBaseUrl)(e,t)}},2263:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294),o=n(7041);function a(){return(0,r.useContext)(o._)}},8084:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a},useAllPluginInstancesData:function(){return i},usePluginData:function(){return l}});var r=n(2263),o=n(9935);function a(){var e=(0,r.Z)().globalData;if(!e)throw new Error("Docusaurus global data not found.");return e}function i(e){var t=a()[e];if(!t)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return t}function l(e,t){void 0===t&&(t=o.m);var n=i(e)[t];if(!n)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return n}},2389:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294),o=n(9913);function a(){return(0,r.useContext)(o._)}},9670:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(e){var t={};return function e(n,r){Object.keys(n).forEach((function(o){var a,i=n[o],l=r?r+"."+o:o;"object"==typeof(a=i)&&a&&Object.keys(a).length>0?e(i,l):t[l]=i}))}(e),t}},4953:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7294),o=n(2434),a=n(780);function i(e){var t=e.error,n=e.tryAgain;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},r.createElement("h1",null,"This page crashed."),r.createElement("p",null,t.message),r.createElement("button",{type:"button",onClick:n},"Try again"))}function l(e){var t=e.error,n=e.tryAgain;return r.createElement(a.Z,{fallback:function(){return r.createElement(i,{error:t,tryAgain:n})}},r.createElement(o.Z,{title:"Page Error"},r.createElement(i,{error:t,tryAgain:n})))}},8408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;var r=n(8143);t.getActivePlugin=function(e,t,n){void 0===n&&(n={});var o=Object.entries(e).sort((function(e,t){return t[1].path.localeCompare(e[1].path)})).find((function(e){var n=e[1];return!!(0,r.matchPath)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((function(e){return e.path})).join(", "));return a};t.getLatestVersion=function(e){return e.versions.find((function(e){return e.isLast}))};t.getActiveVersion=function(e,n){var o=(0,t.getLatestVersion)(e);return[].concat(e.versions.filter((function(e){return e!==o})),[o]).find((function(e){return!!(0,r.matchPath)(n,{path:e.path,exact:!1,strict:!1})}))};t.getActiveDocContext=function(e,n){var o,a,i=(0,t.getActiveVersion)(e,n),l=null==i?void 0:i.docs.find((function(e){return!!(0,r.matchPath)(n,{path:e.path,exact:!0,strict:!1})}));return{activeVersion:i,activeDoc:l,alternateDocVersions:l?(o=l.id,a={},e.versions.forEach((function(e){e.docs.forEach((function(t){t.id===o&&(a[e.name]=t)}))})),a):{}}};t.getDocVersionSuggestions=function(e,n){var r=(0,t.getLatestVersion)(e),o=(0,t.getActiveDocContext)(e,n);return{latestDocSuggestion:null==o?void 0:o.alternateDocVersions[r.name],latestVersionSuggestion:r}}},5551:function(e,t,n){"use strict";t.Jo=t.Iw=t.zu=t.yW=t.gB=t.gA=t.zh=t._r=void 0;var r=n(655),o=n(8143),a=(0,r.__importStar)(n(8084)),i=n(8408),l={};t._r=function(){var e;return null!==(e=(0,a.default)()["docusaurus-plugin-content-docs"])&&void 0!==e?e:l};t.zh=function(e){return(0,a.usePluginData)("docusaurus-plugin-content-docs",e)};t.gA=function(e){void 0===e&&(e={});var n=(0,t._r)(),r=(0,o.useLocation)().pathname;return(0,i.getActivePlugin)(n,r,e)};t.gB=function(e){return(0,t.zh)(e).versions};t.yW=function(e){var n=(0,t.zh)(e);return(0,i.getLatestVersion)(n)};t.zu=function(e){var n=(0,t.zh)(e),r=(0,o.useLocation)().pathname;return(0,i.getActiveVersion)(n,r)};t.Iw=function(e){var n=(0,t.zh)(e),r=(0,o.useLocation)().pathname;return(0,i.getActiveDocContext)(n,r)};t.Jo=function(e){var n=(0,t.zh)(e),r=(0,o.useLocation)().pathname;return(0,i.getDocVersionSuggestions)(n,r)}},541:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294),o="iconExternalLink_I5OW";function a(e){var t=e.width,n=void 0===t?13.5:t,a=e.height,i=void 0===a?13.5:a;return r.createElement("svg",{width:n,height:i,"aria-hidden":"true",viewBox:"0 0 24 24",className:o},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},2434:function(e,t,n){"use strict";n.d(t,{Z:function(){return me}});var r=n(7294),o=n(6010),a=n(780),i=n(6775),l=n(5999),s=n(5450),u="skipToContent_ZgBM";function c(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function d(){var e=(0,r.useRef)(null),t=(0,i.k6)().action;return(0,s.SL)((function(n){var r=n.location;e.current&&!r.hash&&"PUSH"===t&&c(e.current)})),r.createElement("div",{ref:e,role:"region"},r.createElement("a",{href:"#",className:u,onClick:function(e){e.preventDefault();var t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&c(t)}},r.createElement(l.Z,{id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"},"Skip to main content")))}var f=n(7462),p=n(3366),m=["width","height","color","strokeWidth","className"];function h(e){var t=e.width,n=void 0===t?21:t,o=e.height,a=void 0===o?21:o,i=e.color,l=void 0===i?"currentColor":i,s=e.strokeWidth,u=void 0===s?1.2:s,c=(e.className,(0,p.Z)(e,m));return r.createElement("svg",(0,f.Z)({viewBox:"0 0 15 15",width:n,height:a},c),r.createElement("g",{stroke:l,strokeWidth:u},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}var v="announcementBar_IbjG",g="announcementBarPlaceholder_NC_W",y="announcementBarClose_FG1z",b="announcementBarContent_KsVm";function E(){var e=(0,s.nT)(),t=e.isActive,n=e.close,a=(0,s.LU)().announcementBar;if(!t)return null;var i=a.content,u=a.backgroundColor,c=a.textColor,d=a.isCloseable;return r.createElement("div",{className:v,style:{backgroundColor:u,color:c},role:"banner"},d&&r.createElement("div",{className:g}),r.createElement("div",{className:b,dangerouslySetInnerHTML:{__html:i}}),d?r.createElement("button",{type:"button",className:(0,o.Z)("clean-btn close",y),onClick:n,"aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},r.createElement(h,{width:14,height:14,strokeWidth:3.1})):null)}var x=n(1875),w=n(2389),S="toggle_Pssr",k="toggleScreenReader_JnkT",_="toggleDisabled_jDku",C="toggleTrack_SSoT",I="toggleTrackCheck_XobZ",T="toggleChecked_cnQY",O="toggleTrackX_YkSC",A="toggleTrackThumb_uRm4",P="toggleFocused_A7DC",N="toggleIcon_eZtF",L=(0,r.memo)((function(e){var t,n=e.className,a=e.switchConfig,i=e.checked,s=e.disabled,u=e.onChange,c=a.darkIcon,d=a.darkIconStyle,f=a.lightIcon,p=a.lightIconStyle,m=(0,r.useState)(i),h=m[0],v=m[1],g=(0,r.useState)(!1),y=g[0],b=g[1],E=(0,r.useRef)(null);return(0,r.useEffect)((function(){v(i)}),[i]),r.createElement("div",{className:(0,o.Z)(S,n,(t={},t[T]=h,t[P]=y,t[_]=s,t))},r.createElement("div",{className:C,role:"button",tabIndex:-1,onClick:function(){var e;return null==(e=E.current)?void 0:e.click()}},r.createElement("div",{className:I},r.createElement("span",{className:N,style:d},c)),r.createElement("div",{className:O},r.createElement("span",{className:N,style:p},f)),r.createElement("div",{className:A})),r.createElement("input",{ref:E,checked:h,type:"checkbox",className:k,"aria-label":(0,l.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:h?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})}),onChange:u,onClick:function(){return v(!h)},onFocus:function(){return b(!0)},onBlur:function(){return b(!1)},onKeyDown:function(e){var t;"Enter"===e.key&&(null==(t=E.current)||t.click())}}))}));function F(e){var t=(0,s.LU)().colorMode.switchConfig,n=(0,w.Z)();return r.createElement(L,(0,f.Z)({switchConfig:t,disabled:!n},e))}var R=n(5551),D=n(2207),M=n(5537),U=["width","height","className"];function B(e){var t=e.width,n=void 0===t?30:t,o=e.height,a=void 0===o?30:o,i=e.className,l=(0,p.Z)(e,U);return r.createElement("svg",(0,f.Z)({className:i,width:n,height:a,viewBox:"0 0 30 30","aria-hidden":"true"},l),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}var j={toggle:"toggle_TdHA",navbarHideable:"navbarHideable_aKYr",navbarHidden:"navbarHidden_KUhG",navbarSidebarToggle:"navbarSidebarToggle_nL8I"},z="right";function Z(){return(0,s.LU)().navbar.items}function $(){var e=(0,s.LU)().colorMode.disableSwitch,t=(0,s.If)(),n=t.isDarkTheme,o=t.setLightTheme,a=t.setDarkTheme;return{isDarkTheme:n,toggle:(0,r.useCallback)((function(e){return e.target.checked?a():o()}),[o,a]),disabled:e}}function H(e){var t=e.sidebarShown,n=e.toggleSidebar;(0,s.Ni)(t);var a=Z(),i=$(),u=function(e){var t,n=e.sidebarShown,o=e.toggleSidebar,a=null==(t=(0,s.g8)())?void 0:t({toggleSidebar:o}),i=(0,s.D9)(a),l=(0,r.useState)((function(){return!1})),u=l[0],c=l[1];(0,r.useEffect)((function(){a&&!i&&c(!0)}),[a,i]);var d=!!a;return(0,r.useEffect)((function(){d?n||c(!0):c(!1)}),[n,d]),{shown:u,hide:(0,r.useCallback)((function(){c(!1)}),[]),content:a}}({sidebarShown:t,toggleSidebar:n});return r.createElement("div",{className:"navbar-sidebar"},r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(M.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title"}),!i.disabled&&r.createElement(F,{className:j.navbarSidebarToggle,checked:i.isDarkTheme,onChange:i.toggle}),r.createElement("button",{type:"button",className:"clean-btn navbar-sidebar__close",onClick:n},r.createElement(h,{color:"var(--ifm-color-emphasis-600)",className:j.navbarSidebarCloseSvg}))),r.createElement("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":u.shown})},r.createElement("div",{className:"navbar-sidebar__item menu"},r.createElement("ul",{className:"menu__list"},a.map((function(e,t){return r.createElement(D.Z,(0,f.Z)({mobile:!0},e,{onClick:n,key:t}))})))),r.createElement("div",{className:"navbar-sidebar__item menu"},a.length>0&&r.createElement("button",{type:"button",className:"clean-btn navbar-sidebar__back",onClick:u.hide},r.createElement(l.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu")),u.content)))}function G(){var e,t=(0,s.LU)().navbar,n=t.hideOnScroll,a=t.style,i=function(){var e=(0,s.iP)(),t="mobile"===e,n=(0,r.useState)(!1),o=n[0],a=n[1];(0,s.Rb)((function(){if(o)return a(!1),!1}));var i=(0,r.useCallback)((function(){a((function(e){return!e}))}),[]);return(0,r.useEffect)((function(){"desktop"===e&&a(!1)}),[e]),{shouldRender:t,toggle:i,shown:o}}(),l=$(),u=(0,R.gA)(),c=(0,s.cK)(n),d=c.navbarRef,p=c.isNavbarVisible,m=Z(),h=m.some((function(e){return"search"===e.type})),v=function(e){return{leftItems:e.filter((function(e){var t;return"left"===(null!=(t=e.position)?t:z)})),rightItems:e.filter((function(e){var t;return"right"===(null!=(t=e.position)?t:z)}))}}(m),g=v.leftItems,y=v.rightItems;return r.createElement("nav",{ref:d,className:(0,o.Z)("navbar","navbar--fixed-top",(e={"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown},e[j.navbarHideable]=n,e[j.navbarHidden]=n&&!p,e))},r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},((null==m?void 0:m.length)>0||u)&&r.createElement("button",{"aria-label":"Navigation bar toggle",className:"navbar__toggle clean-btn",type:"button",tabIndex:0,onClick:i.toggle,onKeyDown:i.toggle},r.createElement(B,null)),r.createElement(M.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title"}),g.map((function(e,t){return r.createElement(D.Z,(0,f.Z)({},e,{key:t}))}))),r.createElement("div",{className:"navbar__items navbar__items--right"},y.map((function(e,t){return r.createElement(D.Z,(0,f.Z)({},e,{key:t}))})),!l.disabled&&r.createElement(F,{className:j.toggle,checked:l.isDarkTheme,onChange:l.toggle}),!h&&r.createElement(x.Z,null))),r.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:i.toggle}),i.shouldRender&&r.createElement(H,{sidebarShown:i.shown,toggleSidebar:i.toggle}))}var q=n(9960),V=n(4996),W=n(3919),K="footerLogoLink_RC3H",Y=n(9750),Q=n(541),X=["to","href","label","prependBaseUrlToHref"];function J(e){var t=e.to,n=e.href,o=e.label,a=e.prependBaseUrlToHref,i=(0,p.Z)(e,X),l=(0,V.Z)(t),s=(0,V.Z)(n,{forcePrependBaseUrl:!0});return r.createElement(q.Z,(0,f.Z)({className:"footer__link-item"},n?{href:a?s:n}:{to:l},i),n&&!(0,W.Z)(n)?r.createElement("span",null,o,r.createElement(Q.Z,null)):o)}function ee(e){var t=e.sources,n=e.alt,o=e.width,a=e.height;return r.createElement(Y.Z,{className:"footer__logo",alt:n,sources:t,width:o,height:a})}function te(e){var t=e.links;return r.createElement(r.Fragment,null,t.map((function(e,t){return r.createElement("div",{key:t,className:"col footer__col"},r.createElement("div",{className:"footer__title"},e.title),r.createElement("ul",{className:"footer__items"},e.items.map((function(e,t){return e.html?r.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):r.createElement("li",{key:e.href||e.to,className:"footer__item"},r.createElement(J,e))}))))})))}function ne(e){var t=e.links;return r.createElement("div",{className:"footer__links"},t.map((function(e,n){return r.createElement(r.Fragment,{key:n},e.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:e.html}}):r.createElement(J,e),t.length!==n+1&&r.createElement("span",{className:"footer__link-separator"},"\xb7"))})))}function re(){var e=(0,s.LU)().footer,t=e||{},n=t.copyright,a=t.links,i=void 0===a?[]:a,l=t.logo,u=void 0===l?{}:l,c={light:(0,V.Z)(u.src),dark:(0,V.Z)(u.srcDark||u.src)};return e?r.createElement("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===e.style})},r.createElement("div",{className:"container container-fluid"},i&&i.length>0&&(function(e){return"title"in e[0]}(i)?r.createElement("div",{className:"row footer__links"},r.createElement(te,{links:i})):r.createElement("div",{className:"footer__links text--center"},r.createElement(ne,{links:i}))),(u||n)&&r.createElement("div",{className:"footer__bottom text--center"},u&&(u.src||u.srcDark)&&r.createElement("div",{className:"margin-bottom--sm"},u.href?r.createElement(q.Z,{href:u.href,className:K},r.createElement(ee,{alt:u.alt,sources:c,width:u.width,height:u.height})):r.createElement(ee,{alt:u.alt,sources:c,width:u.width,height:u.height})),n?r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:n}}):null))):null}var oe=r.memo(re);function ae(e){var t=e.children;return r.createElement(s.SG,null,r.createElement(s.pl,null,r.createElement(s.z5,null,r.createElement(s.OC,null,r.createElement(s.L5,null,r.createElement(s.Cn,null,t))))))}var ie=n(5742),le=n(2263);function se(e){var t=e.locale,n=e.version,o=e.tag,a=t;return r.createElement(ie.Z,null,a&&r.createElement("meta",{name:"docsearch:language",content:a}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}var ue=n(1217);function ce(){var e=(0,le.Z)().i18n,t=e.defaultLocale,n=e.localeConfigs,o=(0,s.l5)();return r.createElement(ie.Z,null,Object.entries(n).map((function(e){var t=e[0],n=e[1].htmlLang;return r.createElement("link",{key:t,rel:"alternate",href:o.createUrl({locale:t,fullyQualified:!0}),hrefLang:n})})),r.createElement("link",{rel:"alternate",href:o.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}))}function de(e){var t=e.permalink,n=(0,le.Z)().siteConfig.url,o=function(){var e=(0,le.Z)().siteConfig.url,t=(0,i.TH)().pathname;return e+(0,V.Z)(t)}(),a=t?""+n+t:o;return r.createElement(ie.Z,null,r.createElement("meta",{property:"og:url",content:a}),r.createElement("link",{rel:"canonical",href:a}))}function fe(e){var t=(0,le.Z)(),n=t.siteConfig.favicon,o=t.i18n,a=o.currentLocale,i=o.localeConfigs,l=(0,s.LU)(),u=l.metadata,c=l.image,d=e.title,p=e.description,m=e.image,h=e.keywords,v=e.searchMetadata,g=(0,V.Z)(n),y=(0,s.pe)(d),b=i[a],E=b.htmlLang,x=b.direction;return r.createElement(r.Fragment,null,r.createElement(ie.Z,null,r.createElement("html",{lang:E,dir:x}),n&&r.createElement("link",{rel:"icon",href:g}),r.createElement("title",null,y),r.createElement("meta",{property:"og:title",content:y}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:s.hC})),c&&r.createElement(ue.Z,{image:c}),m&&r.createElement(ue.Z,{image:m}),r.createElement(ue.Z,{description:p,keywords:h}),r.createElement(de,null),r.createElement(ce,null),r.createElement(se,(0,f.Z)({tag:s.HX,locale:a},v)),r.createElement(ie.Z,null,u.map((function(e,t){return r.createElement("meta",(0,f.Z)({key:"metadata_"+t},e))}))))}function pe(e){var t=e.error,n=e.tryAgain;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},r.createElement(l.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}function me(e){var t=e.children,n=e.noFooter,i=e.wrapperClassName,l=e.pageClassName;return(0,s.t$)(),r.createElement(ae,null,r.createElement(fe,e),r.createElement(d,null),r.createElement(E,null),r.createElement(G,null),r.createElement("div",{className:(0,o.Z)(s.kM.wrapper.main,i,l)},r.createElement(a.Z,{fallback:pe},t)),!n&&r.createElement(oe,null))}},5537:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7462),o=n(3366),a=n(7294),i=n(9960),l=n(9750),s=n(4996),u=n(2263),c=n(5450),d=["imageClassName","titleClassName"];function f(e){var t=(0,u.Z)().siteConfig.title,n=(0,c.LU)().navbar,f=n.title,p=n.logo,m=void 0===p?{src:""}:p,h=e.imageClassName,v=e.titleClassName,g=(0,o.Z)(e,d),y=(0,s.Z)(m.href||"/"),b={light:(0,s.Z)(m.src),dark:(0,s.Z)(m.srcDark||m.src)},E=a.createElement(l.Z,{sources:b,height:m.height,width:m.width,alt:m.alt||f||t});return a.createElement(i.Z,(0,r.Z)({to:y},g,m.target&&{target:m.target}),m.src&&(h?a.createElement("div",{className:h},E):E),null!=f&&a.createElement("b",{className:v},f))}},5525:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7462),o=n(3366),a=n(7294),i=n(6010),l=n(3072),s=n(1068),u=["className","isDropdownItem"],c=["className","isDropdownItem"],d=["mobile","position"];function f(e){var t=e.className,n=e.isDropdownItem,s=void 0!==n&&n,c=(0,o.Z)(e,u),d=a.createElement(l.Z,(0,r.Z)({className:(0,i.Z)(s?"dropdown__link":"navbar__item navbar__link",t)},c));return s?a.createElement("li",null,d):d}function p(e){var t=e.className,n=(e.isDropdownItem,(0,o.Z)(e,c));return a.createElement("li",{className:"menu__list-item"},a.createElement(l.Z,(0,r.Z)({className:(0,i.Z)("menu__link",t)},n)))}function m(e){var t,n=e.mobile,i=void 0!==n&&n,l=(e.position,(0,o.Z)(e,d)),u=i?p:f;return a.createElement(u,(0,r.Z)({},l,{activeClassName:null!=(t=l.activeClassName)?t:(0,s.E)(i)}))}},6400:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7462),o=n(3366),a=n(7294),i=n(5525),l=n(5551),s=n(6010),u=n(1068),c=n(5450),d=["docId","label","docsPluginId"];function f(e){var t,n=e.docId,f=e.label,p=e.docsPluginId,m=(0,o.Z)(e,d),h=(0,l.Iw)(p),v=h.activeVersion,g=h.activeDoc,y=(0,c.J)(p).preferredVersion,b=(0,l.yW)(p),E=function(e,t){var n=e.flatMap((function(e){return e.docs})),r=n.find((function(e){return e.id===t}));if(!r){var o=n.map((function(e){return e.id})).join("\n- ");throw new Error("DocNavbarItem: couldn't find any doc with id \""+t+'" in version'+(e.length?"s":"")+" "+e.map((function(e){return e.name})).join(", ")+'".\nAvailable doc ids are:\n- '+o)}return r}((0,c.jj)([v,y,b].filter(Boolean)),n),x=(0,u.E)(m.mobile);return a.createElement(i.Z,(0,r.Z)({exact:!0},m,{className:(0,s.Z)(m.className,(t={},t[x]=(null==g?void 0:g.sidebar)&&g.sidebar===E.sidebar,t)),activeClassName:x,label:null!=f?f:E.id,to:E.path}))}},4792:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7462),o=n(3366),a=n(7294),i=n(5525),l=n(5551),s=n(6010),u=n(1068),c=n(5450),d=["sidebarId","label","docsPluginId"];function f(e){var t,n=e.sidebarId,f=e.label,p=e.docsPluginId,m=(0,o.Z)(e,d),h=(0,l.Iw)(p),v=h.activeVersion,g=h.activeDoc,y=(0,c.J)(p).preferredVersion,b=(0,l.yW)(p),E=function(e,t){var n=e.flatMap((function(e){if(e.sidebars)return Object.entries(e.sidebars)})).filter((function(e){return!!e})),r=n.find((function(e){return e[0]===t}));if(!r)throw new Error("DocSidebarNavbarItem: couldn't find any sidebar with id \""+t+'" in version'+(e.length?"s":"")+" "+e.map((function(e){return e.name})).join(", ")+'".\nAvailable sidebar ids are:\n- '+Object.keys(n).join("\n- "));if(!r[1].link)throw new Error("DocSidebarNavbarItem: couldn't find any document for sidebar with id \""+t+'"');return r[1].link}((0,c.jj)([v,y,b].filter(Boolean)),n),x=(0,u.E)(m.mobile);return a.createElement(i.Z,(0,r.Z)({exact:!0},m,{className:(0,s.Z)(m.className,(t={},t[x]=(null==g?void 0:g.sidebar)===n,t)),activeClassName:x,label:null!=f?f:E.label,to:E.path}))}},9308:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7462),o=n(3366),a=n(7294),i=n(5525),l=n(3154),s=n(5551),u=n(5450),c=n(5999),d=["mobile","docsPluginId","dropdownActiveClassDisabled","dropdownItemsBefore","dropdownItemsAfter"],f=function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))};function p(e){var t,n,p=e.mobile,m=e.docsPluginId,h=e.dropdownActiveClassDisabled,v=e.dropdownItemsBefore,g=e.dropdownItemsAfter,y=(0,o.Z)(e,d),b=(0,s.Iw)(m),E=(0,s.gB)(m),x=(0,s.yW)(m),w=(0,u.J)(m),S=w.preferredVersion,k=w.savePreferredVersionName;var _,C=(_=E.map((function(e){var t=(null==b?void 0:b.alternateDocVersions[e.name])||f(e);return{isNavLink:!0,label:e.label,to:t.path,isActive:function(){return e===(null==b?void 0:b.activeVersion)},onClick:function(){k(e.name)}}})),[].concat(v,_,g)),I=null!=(t=null!=(n=b.activeVersion)?n:S)?t:x,T=p&&C.length>1?(0,c.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):I.label,O=p&&C.length>1?void 0:f(I).path;return C.length<=1?a.createElement(i.Z,(0,r.Z)({},y,{mobile:p,label:T,to:O,isActive:h?function(){return!1}:void 0})):a.createElement(l.Z,(0,r.Z)({},y,{mobile:p,label:T,to:O,items:C,isActive:h?function(){return!1}:void 0}))}},7250:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7462),o=n(3366),a=n(7294),i=n(5525),l=n(5551),s=n(5450),u=["label","to","docsPluginId"];function c(e){var t,n=e.label,c=e.to,d=e.docsPluginId,f=(0,o.Z)(e,u),p=(0,l.zu)(d),m=(0,s.J)(d).preferredVersion,h=(0,l.yW)(d),v=null!=(t=null!=p?p:m)?t:h,g=null!=n?n:v.label,y=null!=c?c:function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))}(v).path;return a.createElement(i.Z,(0,r.Z)({},f,{label:g,to:y}))}},3154:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(7462),o=n(3366),a=n(7294),i=n(6010),l=n(5450),s=n(3072),u=n(2207),c=["items","position","className"],d=["items","className","position"],f=["mobile"];function p(e,t){return e.some((function(e){return function(e,t){return!!(0,l.Mg)(e.to,t)||!!(0,l.Fx)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)}))}function m(e){var t,n=e.items,l=e.position,d=e.className,f=(0,o.Z)(e,c),p=(0,a.useRef)(null),m=(0,a.useState)(!1),h=m[0],v=m[1];return(0,a.useEffect)((function(){var e=function(e){p.current&&!p.current.contains(e.target)&&v(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[p]),a.createElement("div",{ref:p,className:(0,i.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===l,"dropdown--show":h})},a.createElement(s.Z,(0,r.Z)({href:f.to?void 0:"#",className:(0,i.Z)("navbar__link",d)},f,{onClick:f.to?void 0:function(e){return e.preventDefault()},onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),v(!h))}}),null!=(t=f.children)?t:f.label),a.createElement("ul",{className:"dropdown__menu"},n.map((function(e,t){return a.createElement(u.Z,(0,r.Z)({isDropdownItem:!0,onKeyDown:function(e){if(t===n.length-1&&"Tab"===e.key){e.preventDefault(),v(!1);var r=p.current.nextElementSibling;r&&r.focus()}},activeClassName:"dropdown__link--active"},e,{key:t}))}))))}function h(e){var t,n=e.items,c=e.className,f=(e.position,(0,o.Z)(e,d)),m=(0,l.be)(),h=p(n,m),v=(0,l.uR)({initialState:function(){return!h}}),g=v.collapsed,y=v.toggleCollapsed,b=v.setCollapsed;return(0,a.useEffect)((function(){h&&b(!h)}),[m,h,b]),a.createElement("li",{className:(0,i.Z)("menu__list-item",{"menu__list-item--collapsed":g})},a.createElement(s.Z,(0,r.Z)({role:"button",className:(0,i.Z)("menu__link menu__link--sublist",c)},f,{onClick:function(e){e.preventDefault(),y()}}),null!=(t=f.children)?t:f.label),a.createElement(l.zF,{lazy:!0,as:"ul",className:"menu__list",collapsed:g},n.map((function(e,t){return a.createElement(u.Z,(0,r.Z)({mobile:!0,isDropdownItem:!0,onClick:f.onClick,activeClassName:"menu__link--active"},e,{key:t}))}))))}function v(e){var t=e.mobile,n=void 0!==t&&t,r=(0,o.Z)(e,f),i=n?h:m;return a.createElement(i,r)}},3072:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7462),o=n(3366),a=n(7294),i=n(9960),l=n(4996),s=n(541),u=n(3919),c=n(5450),d=["activeBasePath","activeBaseRegex","to","href","label","activeClassName","prependBaseUrlToHref"];function f(e){var t,n=e.activeBasePath,f=e.activeBaseRegex,p=e.to,m=e.href,h=e.label,v=e.activeClassName,g=void 0===v?"":v,y=e.prependBaseUrlToHref,b=(0,o.Z)(e,d),E=(0,l.Z)(p),x=(0,l.Z)(n),w=(0,l.Z)(m,{forcePrependBaseUrl:!0}),S=h&&m&&!(0,u.Z)(m),k="dropdown__link--active"===g;return a.createElement(i.Z,(0,r.Z)({},m?{href:y?w:m}:Object.assign({isNavLink:!0,activeClassName:null!=(t=b.className)&&t.includes(g)?"":g,to:E},n||f?{isActive:function(e,t){return f?(0,c.Fx)(f,t.pathname):t.pathname.startsWith(x)}}:null),b),S?a.createElement("span",null,h,a.createElement(s.Z,k&&{width:12,height:12})):h)}},2207:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(3366),o=n(7294),a=n(5525),i=n(3154),l=n(7462),s=["width","height"];function u(e){var t=e.width,n=void 0===t?20:t,a=e.height,i=void 0===a?20:a,u=(0,r.Z)(e,s);return o.createElement("svg",(0,l.Z)({viewBox:"0 0 20 20",width:n,height:i,"aria-hidden":"true"},u),o.createElement("path",{fill:"currentColor",d:"M19.753 10.909c-.624-1.707-2.366-2.726-4.661-2.726-.09 0-.176.002-.262.006l-.016-2.063 3.525-.607c.115-.019.133-.119.109-.231-.023-.111-.167-.883-.188-.976-.027-.131-.102-.127-.207-.109-.104.018-3.25.461-3.25.461l-.013-2.078c-.001-.125-.069-.158-.194-.156l-1.025.016c-.105.002-.164.049-.162.148l.033 2.307s-3.061.527-3.144.543c-.084.014-.17.053-.151.143.019.09.19 1.094.208 1.172.018.08.072.129.188.107l2.924-.504.035 2.018c-1.077.281-1.801.824-2.256 1.303-.768.807-1.207 1.887-1.207 2.963 0 1.586.971 2.529 2.328 2.695 3.162.387 5.119-3.06 5.769-4.715 1.097 1.506.256 4.354-2.094 5.98-.043.029-.098.129-.033.207l.619.756c.08.096.206.059.256.023 2.51-1.73 3.661-4.515 2.869-6.683zm-7.386 3.188c-.966-.121-.944-.914-.944-1.453 0-.773.327-1.58.876-2.156a3.21 3.21 0 011.229-.799l.082 4.277a2.773 2.773 0 01-1.243.131zm2.427-.553l.046-4.109c.084-.004.166-.01.252-.01.773 0 1.494.145 1.885.361.391.217-1.023 2.713-2.183 3.758zm-8.95-7.668a.196.196 0 00-.196-.145h-1.95a.194.194 0 00-.194.144L.008 16.916c-.017.051-.011.076.062.076h1.733c.075 0 .099-.023.114-.072l1.008-3.318h3.496l1.008 3.318c.016.049.039.072.113.072h1.734c.072 0 .078-.025.062-.076-.014-.05-3.083-9.741-3.494-11.04zm-2.618 6.318l1.447-5.25 1.447 5.25H3.226z"}))}var c=n(2263),d=n(5450),f=n(5999),p="iconLanguage_dNtB",m=["mobile","dropdownItemsBefore","dropdownItemsAfter"];function h(e){var t=e.mobile,n=e.dropdownItemsBefore,a=e.dropdownItemsAfter,s=(0,r.Z)(e,m),h=(0,c.Z)().i18n,v=h.currentLocale,g=h.locales,y=h.localeConfigs,b=(0,d.l5)();function E(e){return y[e].label}var x=g.map((function(e){var t="pathname://"+b.createUrl({locale:e,fullyQualified:!1});return{isNavLink:!0,label:E(e),to:t,target:"_self",autoAddBaseUrl:!1,className:e===v?"dropdown__link--active":""}})),w=[].concat(n,x,a),S=t?(0,f.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):E(v);return o.createElement(i.Z,(0,l.Z)({},s,{mobile:t,label:o.createElement("span",null,o.createElement(u,{className:p}),o.createElement("span",null,S)),items:w}))}var v=n(1875);function g(e){return e.mobile?null:o.createElement(v.Z,null)}var y=["type"],b={default:function(){return a.Z},localeDropdown:function(){return h},search:function(){return g},dropdown:function(){return i.Z},docsVersion:function(){return n(7250).Z},docsVersionDropdown:function(){return n(9308).Z},doc:function(){return n(6400).Z},docSidebar:function(){return n(4792).Z}};function E(e){var t=e.type,n=(0,r.Z)(e,y),a=function(e,t){return e&&"default"!==e?e:t?"dropdown":"default"}(t,void 0!==n.items),i=function(e){var t=b[e];if(!t)throw new Error('No NavbarItem component found for type "'+e+'".');return t()}(a);return o.createElement(i,n)}},1068:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var r=function(e){return e?"menu__link--active":"navbar__link--active"}},1217:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7294),o=n(5742),a=n(5450),i=n(4996);function l(e){var t=e.title,n=e.description,l=e.keywords,s=e.image,u=e.children,c=(0,a.pe)(t),d=(0,i.C)().withBaseUrl,f=s?d(s,{absolute:!0}):void 0;return r.createElement(o.Z,null,t&&r.createElement("title",null,c),t&&r.createElement("meta",{property:"og:title",content:c}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),l&&r.createElement("meta",{name:"keywords",content:Array.isArray(l)?l.join(","):l}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),u)}},9750:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7462),o=n(3366),a=n(7294),i=n(6010),l=n(2389),s=n(5450),u={themedImage:"themedImage_W2Cr","themedImage--light":"themedImage--light_TfLj","themedImage--dark":"themedImage--dark_oUvU"},c=["sources","className","alt"];function d(e){var t=(0,l.Z)(),n=(0,s.If)().isDarkTheme,d=e.sources,f=e.className,p=e.alt,m=void 0===p?"":p,h=(0,o.Z)(e,c),v=t?n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,v.map((function(e){return a.createElement("img",(0,r.Z)({key:e,src:d[e],alt:m,className:(0,i.Z)(u.themedImage,u["themedImage--"+e],f)},h))})))}},2448:function(e,t,n){"use strict";var r=o(n(7410));function o(e){return e&&e.__esModule?e:{default:e}}(0,o(n(8865)).default)(r.default)},5450:function(e,t,n){"use strict";n.d(t,{pl:function(){return qe},zF:function(){return Se},SG:function(){return kt},HX:function(){return ne},PO:function(){return Ne},D_:function(){return s},L5:function(){return M},bT:function(){return I},qu:function(){return k},Cv:function(){return Me},Cn:function(){return Fe},OC:function(){return at},z5:function(){return Ot},kM:function(){return je},os:function(){return re},lx:function(){return Ue},Wl:function(){return O},_F:function(){return A},Fx:function(){return ct},Mg:function(){return E},hC:function(){return Nt},bc:function(){return J},Vo:function(){return ee},nZ:function(){return te},jj:function(){return Be},l5:function(){return v},nT:function(){return Ve},uR:function(){return he},If:function(){return _t},fP:function(){return u},J:function(){return j},Vq:function(){return T},E6:function(){return _},b9:function(){return rt},cK:function(){return Pt},Rb:function(){return Ke},Ns:function(){return ht},t$:function(){return Lt},be:function(){return We},SL:function(){return ce},Ni:function(){return Dt},g8:function(){return De},D9:function(){return ue},pJ:function(){return Rt},RF:function(){return st},o5:function(){return ut},s1:function(){return P},Si:function(){return Je},UB:function(){return At},LU:function(){return o},pe:function(){return oe},iP:function(){return zt}});var r=n(2263);function o(){return(0,r.Z)().siteConfig.themeConfig}var a=n(7294),i=Symbol("EmptyContext"),l=a.createContext(i);function s(e){var t=e.children,n=(0,a.useState)(null),r=n[0],o=n[1],i=(0,a.useMemo)((function(){return{expandedItem:r,setExpandedItem:o}}),[r]);return a.createElement(l.Provider,{value:i},t)}function u(){var e=(0,a.useContext)(l);if(e===i)throw new Error("This hook requires usage of ");return e}var c="localStorage";function d(e){if(void 0===e&&(e=c),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,f||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),f=!0),null}var t}var f=!1;var p={get:function(){return null},set:function(){},del:function(){}};var m=function(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t}}(e);var n=d(null==t?void 0:t.persistence);return null===n?p:{get:function(){try{return n.getItem(e)}catch(t){return console.error("Docusaurus storage error, can't get key="+e,t),null}},set:function(t){try{n.setItem(e,t)}catch(r){console.error("Docusaurus storage error, can't set "+e+"="+t,r)}},del:function(){try{n.removeItem(e)}catch(t){console.error("Docusaurus storage error, can't delete key="+e,t)}}}};var h=n(6775);function v(){var e=(0,r.Z)(),t=e.siteConfig,n=t.baseUrl,o=t.url,a=e.i18n,i=a.defaultLocale,l=a.currentLocale,s=(0,h.TH)().pathname,u=l===i?n:n.replace("/"+l+"/","/"),c=s.replace(n,"");return{createUrl:function(e){var t=e.locale;return""+(e.fullyQualified?o:"")+function(e){return e===i?""+u:""+u+e+"/"}(t)+c}}}var g=n(5551);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var E=function(e,t){var n=function(e){var t;return null===(t=!e||(null==e?void 0:e.endsWith("/"))?e:e+"/")||void 0===t?void 0:t.toLowerCase()};return n(e)===n(t)},x=!!g._r,w=Symbol("EmptyContext"),S=(0,a.createContext)(w);function k(e){var t=e.children,n=e.version;return a.createElement(S.Provider,{value:n},t)}function _(){var e=(0,a.useContext)(S);if(e===w)throw new Error("This hook requires usage of ");return e}var C=(0,a.createContext)(w);function I(e){var t=e.children,n=e.sidebar;return a.createElement(C.Provider,{value:n},t)}function T(){var e=(0,a.useContext)(C);if(e===w)throw new Error("This hook requires usage of ");return e}function O(e){if(e.href)return e.href;for(var t,n=b(e.items);!(t=n()).done;){var r=t.value;if("link"===r.type)return r.href;if("category"===r.type){var o=O(r);if(o)return o}else if("html"!==r.type)throw new Error("Unexpected category item type for "+JSON.stringify(r))}}function A(e,t){var n=function(e){return void 0!==e&&E(e,t)};return"link"===e.type?n(e.href):"category"===e.type&&(n(e.href)||function(e,t){return e.some((function(e){return A(e,t)}))}(e.items,t))}function P(){var e,t=T(),n=(0,h.TH)().pathname;return!1!==(null===(e=(0,g.gA)())||void 0===e?void 0:e.pluginData.breadcrumbs)&&t?function(e){var t=e.sidebar,n=e.pathname,r=[];return function e(t){for(var o,a=b(t);!(o=a()).done;){var i=o.value;if("category"===i.type&&(E(i.href,n)||e(i.items)))return r.push(i),!0;if("link"===i.type&&E(i.href,n))return r.push(i),!0}return!1}(t),r.reverse()}({sidebar:t,pathname:n}):null}var N=function(e){return"docs-preferred-version-"+e},L={save:function(e,t,n){m(N(e),{persistence:t}).set(n)},read:function(e,t){return m(N(e),{persistence:t}).get()},clear:function(e,t){m(N(e),{persistence:t}).del()}};function F(e){var t=e.pluginIds,n=e.versionPersistence,r=e.allDocsData;var o={};return t.forEach((function(e){o[e]=function(e){var t=L.read(e,n);return r[e].versions.some((function(e){return e.name===t}))?{preferredVersionName:t}:(L.clear(e,n),{preferredVersionName:null})}(e)})),o}function R(){var e=(0,g._r)(),t=o().docs.versionPersistence,n=(0,a.useMemo)((function(){return Object.keys(e)}),[e]),r=(0,a.useState)((function(){return function(e){var t={};return e.forEach((function(e){t[e]={preferredVersionName:null}})),t}(n)})),i=r[0],l=r[1];return(0,a.useEffect)((function(){l(F({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]),[i,(0,a.useMemo)((function(){return{savePreferredVersion:function(e,n){L.save(e,t,n),l((function(t){var r;return Object.assign({},t,((r={})[e]={preferredVersionName:n},r))}))}}}),[t])]}var D=(0,a.createContext)(null);function M(e){var t=e.children;return x?a.createElement(U,null,t):t}function U(e){var t=e.children,n=R();return a.createElement(D.Provider,{value:n},t)}var B=n(9935);function j(e){void 0===e&&(e=B.m);var t=(0,g.zh)(e),n=function(){var e=(0,a.useContext)(D);if(!e)throw new Error('Can\'t find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?');return e}(),r=n[0],o=n[1],i=r[e].preferredVersionName;return{preferredVersion:i?t.versions.find((function(e){return e.name===i})):null,savePreferredVersionName:(0,a.useCallback)((function(t){o.savePreferredVersion(e,t)}),[o,e])}}function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}var Z=n(9611);function $(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,Z.Z)(e,t)}function H(){H=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,o){var a=new RegExp(e,r);return t.set(a,o||t.get(e)),(0,Z.Z)(a,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){return t[n]=e[r[n]],t}),Object.create(null))}return $(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);return n&&(n.groups=r(n,this)),n},n.prototype[Symbol.replace]=function(n,o){if("string"==typeof o){var a=t.get(this);return e[Symbol.replace].call(this,n,o.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+a[t]})))}if("function"==typeof o){var i=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=z(e[e.length-1])&&(e=[].slice.call(e)).push(r(e,i)),o.apply(this,e)}))}return e[Symbol.replace].call(this,n,o)},H.apply(this,arguments)}var G=n(7594),q=n.n(G),V=H(/title=(["'])(.*?)\1/,{quote:1,title:2}),W=H(/\{([\d,-]+)\}/,{range:1}),K=["js","jsBlock","jsx","python","html"],Y={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},Q=["highlight-next-line","highlight-start","highlight-end"],X=function(e){void 0===e&&(e=K);var t=e.map((function(e){var t=Y[e],n=t.start,r=t.end;return"(?:"+n+"\\s*("+Q.join("|")+")\\s*"+r+")"})).join("|");return new RegExp("^\\s*(?:"+t+")\\s*$")};function J(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.match(V))||void 0===t?void 0:t.groups.title)&&void 0!==n?n:""}function ee(e){var t=e.split(" ").find((function(e){return e.startsWith("language-")}));return null==t?void 0:t.replace(/language-/,"")}function te(e,t,n){var r=e.replace(/\n$/,"");if(t&&W.test(t)){var o=t.match(W).groups.range;return{highlightLines:q()(o).filter((function(e){return e>0})).map((function(e){return e-1})),code:r}}if(void 0===n)return{highlightLines:[],code:r};for(var a,i=function(e){switch(e){case"js":case"javascript":case"ts":case"typescript":return X(["js","jsBlock"]);case"jsx":case"tsx":return X(["js","jsBlock","jsx"]);case"html":return X(["js","jsBlock","html"]);case"python":case"py":return X(["python"]);default:return X()}}(n),l=r.split("\n"),s="",u=0;u1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;Ae(t)&&Pe(t,l.current)&&(e.preventDefault(),u?(c(!1),p(!0)):c(!0))}}),n,a.createElement(Se,{lazy:!1,collapsed:u,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){c(e),p(!e)}},a.createElement("div",{className:Te},r)))}var Le=(0,a.createContext)(null);function Fe(e){var t=e.children;return a.createElement(Le.Provider,{value:(0,a.useState)(null)},t)}function Re(){var e=(0,a.useContext)(Le);if(null===e)throw new Error("MobileSecondaryMenuProvider was not used correctly, context value is null");return e}function De(){var e=Re()[0];if(e){var t=e.component;return function(n){return a.createElement(t,Object.assign({},e.props,n))}}return function(){}}function Me(e){var t,n=e.component,r=e.props,o=Re()[1],i=(t=r,(0,a.useMemo)((function(){return t}),[].concat(Object.keys(t),Object.values(t))));return(0,a.useEffect)((function(){o({component:n,props:i})}),[o,n,i]),(0,a.useEffect)((function(){return function(){return o(null)}}),[o]),null}function Ue(e,t){return void 0===t&&(t=function(e,t){return e===t}),e.filter((function(n,r){return e.findIndex((function(e){return t(e,n)}))!==r}))}function Be(e){return Array.from(new Set(e))}var je={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block"},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:function(e){return"theme-doc-sidebar-item-category-level-"+e},docSidebarItemLinkLevel:function(e){return"theme-doc-sidebar-item-link-level-"+e}},blog:{}},ze=m("docusaurus.announcement.dismiss"),Ze=m("docusaurus.announcement.id"),$e=function(){return"true"===ze.get()},He=function(e){return ze.set(String(e))},Ge=(0,a.createContext)(null);function qe(e){var t=e.children,n=function(){var e=o().announcementBar,t=(0,ke.Z)(),n=(0,a.useState)((function(){return!!t&&$e()})),r=n[0],i=n[1];(0,a.useEffect)((function(){i($e())}),[]);var l=(0,a.useCallback)((function(){He(!0),i(!0)}),[]);return(0,a.useEffect)((function(){if(e){var t=e.id,n=Ze.get();"annoucement-bar"===n&&(n="announcement-bar");var r=t!==n;Ze.set(t),r&&He(!1),!r&&$e()||i(!1)}}),[e]),(0,a.useMemo)((function(){return{isActive:!!e&&!r,close:l}}),[e,r,l])}();return a.createElement(Ge.Provider,{value:n},t)}var Ve=function(){var e=(0,a.useContext)(Ge);if(!e)throw new Error("useAnnouncementBar(): AnnouncementBar not found in React context: make sure to use the AnnouncementBarProvider on top of the tree");return e};function We(){var e=(0,r.Z)().siteConfig.baseUrl;return(0,h.TH)().pathname.replace(e,"/")}n(5999);function Ke(e){!function(e){var t=(0,h.k6)().block,n=(0,a.useRef)(e);(0,a.useEffect)((function(){n.current=e}),[e]),(0,a.useEffect)((function(){return t((function(e,t){return n.current(e,t)}))}),[t,n])}((function(t,n){if("POP"===n)return e(t,n)}))}function Ye(e){var t=e.getBoundingClientRect();return t.top===t.bottom?Ye(e.parentNode):t}function Qe(e,t){var n,r=t.anchorTopOffset,o=e.find((function(e){return Ye(e).top>=r}));return o?function(e){return e.top>0&&e.bottom=0?t[n].children.push(o):r.push(o)})),r}function nt(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return t.flatMap((function(e){var t=nt({toc:e.children,minHeadingLevel:n,maxHeadingLevel:r});return function(e){return e.level>=n&&e.level<=r}(e)?[Object.assign({},e,{children:t})]:t}))}function rt(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return(0,a.useMemo)((function(){return nt({toc:tt(t),minHeadingLevel:n,maxHeadingLevel:r})}),[t,n,r])}var ot=(0,a.createContext)(void 0);function at(e){var t,n=e.children;return a.createElement(ot.Provider,{value:(t=(0,a.useRef)(!0),(0,a.useMemo)((function(){return{scrollEventsEnabledRef:t,enableScrollEvents:function(){t.current=!0},disableScrollEvents:function(){t.current=!1}}}),[]))},n)}function it(){var e=(0,a.useContext)(ot);if(null==e)throw new Error('"useScrollController" is used but no context provider was found in the React tree.');return e}var lt=function(){return fe.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null};function st(e,t){void 0===t&&(t=[]);var n=it().scrollEventsEnabledRef,r=(0,a.useRef)(lt()),o=se(e);(0,a.useEffect)((function(){var e=function(){if(n.current){var e=lt();o&&o(e,r.current),r.current=e}},t={passive:!0};return e(),window.addEventListener("scroll",e,t),function(){return window.removeEventListener("scroll",e,t)}}),[o,n].concat(t))}function ut(){var e,t,n,r=it(),o=(e=(0,a.useRef)({elem:null,top:0}),t=(0,a.useCallback)((function(t){e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,a.useCallback)((function(){var t=e.current,n=t.elem,r=t.top;if(!n)return{restored:!1};var o=n.getBoundingClientRect().top-r;return o&&window.scrollBy({left:0,top:o}),e.current={elem:null,top:0},{restored:0!==o}}),[]),(0,a.useMemo)((function(){return{save:t,restore:n}}),[n,t])),i=(0,a.useRef)(void 0),l=(0,a.useCallback)((function(e){o.save(e),r.disableScrollEvents(),i.current=function(){var e=o.restore().restored;if(i.current=void 0,e){window.addEventListener("scroll",(function e(){r.enableScrollEvents(),window.removeEventListener("scroll",e)}))}else r.enableScrollEvents()}}),[r,o]);return(0,a.useLayoutEffect)((function(){var e;null===(e=i.current)||void 0===e||e.call(i)})),{blockElementScrollPositionUntilNextRender:l}}function ct(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var dt=n(723);function ft(e){return"/"===e.path&&!0===e.exact}function pt(e){return"/"===e.path&&!1===e.exact}function mt(e){if(void 0===e&&(e=dt.Z),0!==e.length){var t=e.find(ft);return t||mt(e.filter(pt).flatMap((function(e){var t;return null!==(t=e.routes)&&void 0!==t?t:[]})))}}function ht(){return(0,a.useMemo)((function(){return mt()}),[])}var vt="theme",gt=m(vt),yt="light",bt="dark",Et=function(e){return e===bt?bt:yt},xt=function(e){gt.set(Et(e))};function wt(){var e=o().colorMode,t=e.defaultMode,n=e.disableSwitch,r=e.respectPrefersColorScheme,i=(0,a.useState)(function(e){return fe.Z.canUseDOM?Et(document.documentElement.getAttribute("data-theme")):Et(e)}(t)),l=i[0],s=i[1],u=(0,a.useCallback)((function(){s(yt),xt(yt)}),[]),c=(0,a.useCallback)((function(){s(bt),xt(bt)}),[]);(0,a.useEffect)((function(){document.documentElement.setAttribute("data-theme",Et(l))}),[l]),(0,a.useEffect)((function(){if(!n){var e=function(e){if(e.key===vt)try{var t=gt.get();null!==t&&s(Et(t))}catch(n){console.error(n)}};return window.addEventListener("storage",e),function(){window.removeEventListener("storage",e)}}}),[n,s]);var d=a.useRef(!1);return(0,a.useEffect)((function(){if(!n||r){var e=window.matchMedia("(prefers-color-scheme: dark)"),t=function(e){var t=e.matches;window.matchMedia("print").matches||d.current?d.current=window.matchMedia("print").matches:s(t?bt:yt)};return e.addListener(t),function(){e.removeListener(t)}}}),[n,r]),{isDarkTheme:l===bt,setLightTheme:u,setDarkTheme:c}}var St=a.createContext(void 0);function kt(e){var t=e.children,n=wt(),r=n.isDarkTheme,o=n.setLightTheme,i=n.setDarkTheme,l=(0,a.useMemo)((function(){return{isDarkTheme:r,setLightTheme:o,setDarkTheme:i}}),[r,o,i]);return a.createElement(St.Provider,{value:l},t)}function _t(){var e=(0,a.useContext)(St);if(null==e)throw new Error('"useColorMode()" is used outside of "Layout" component. Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.');return e}var Ct="docusaurus.tab.",It=(0,a.createContext)(void 0);function Tt(){var e=(0,a.useState)({}),t=e[0],n=e[1],r=(0,a.useCallback)((function(e,t){m("docusaurus.tab."+e).set(t)}),[]);return(0,a.useEffect)((function(){try{var e={};(function(e){void 0===e&&(e=c);var t=d(e);if(!t)return[];for(var n=[],r=0;r=l?r(!1):a+u996?Mt:Ut:Bt}function zt(){var e=(0,a.useState)((function(){return jt()})),t=e[0],n=e[1];return(0,a.useEffect)((function(){function e(){n(jt())}return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),t}},8802:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.trailingSlash,r=t.baseUrl;if(e.startsWith("#"))return e;if(void 0===n)return e;var o,a=e.split(/[#?]/)[0],i="/"===a||a===r?a:(o=a,n?function(e){return e.endsWith("/")?e:e+"/"}(o):function(e){return e.endsWith("/")?e.slice(0,-1):e}(o));return e.replace(a,i)}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var o=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}})},8865:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(9782);function o(e){var t=r.default.themeConfig.prism.additionalLanguages;globalThis.Prism=e,t.forEach((function(e){n(7159)("./prism-"+e)})),delete globalThis.Prism}},6010:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t=0;f--){var p=i[f];"."===p?a(i,f):".."===p?(a(i,f),d++):d&&(a(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),o=l(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(2177);function c(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function h(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=h(e,t,f(),E.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(E.entries[E.index]=o,d({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=E.index+e;return t>=0&&t
'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),u=a.querySelector(r.barSelector),c=r.speed,d=r.easing;return a.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){s(a,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),l=e?"-100":a(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},7418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,a){for(var i,l,s=o(e),u=1;ue.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,a]=t;if(r&&a){r=parseInt(r),a=parseInt(a);const e=r=d.reach);S+=w.value.length,w=w.next){var k=w.value;if(t.length>e.length)return;if(!(k instanceof o)){var _,C=1;if(y){if(!(_=a(x,S,e,g))||_.index>=e.length)break;var I=_.index,T=_.index+_[0].length,O=S;for(O+=w.value.length;I>=O;)O+=(w=w.next).value.length;if(S=O-=w.value.length,w.value instanceof o)continue;for(var A=w;A!==t.tail&&(Od.reach&&(d.reach=F);var R=w.prev;if(N&&(R=s(t,R,N),S+=N.length),u(t,R,C),w=s(t,R,new o(f,v?r.tokenize(P,v):P,b,P)),L&&s(t,w,L),C>1){var D={cause:f+","+m,reach:F};i(e,t,n,w.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o"+a.content+""},r}(),o=r;r.default=r,o.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:o.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:o.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},o.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(e,t){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:o.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},o.languages.c=o.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),o.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),o.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},o.languages.c.string],char:o.languages.c.char,comment:o.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:o.languages.c}}}}),o.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete o.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(o),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(o),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(o),o.languages.javascript=o.languages.extend("clike",{"class-name":[o.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:o.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),o.languages.js=o.languages.javascript,function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:i(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(o);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&l(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(o),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=f[i],a="string"==typeof r?r:r.content,l=a.indexOf(o);if(-1!==l){++i;var s=a.substring(0,l),d=u(c[o]),p=a.substring(l+o.length),m=[];if(s&&m.push(s),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var v=r.content;Array.isArray(v)?e(v):e([v])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,o=n.length;r",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(o),o.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},o.languages.go=o.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),o.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete o.languages.go["class-name"],o.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:o.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},o.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n=a.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++o;var h=f.substring(0,m),v=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),g=f.substring(m+p.length),y=[];h&&y.push.apply(y,i([h])),y.push(v),g&&y.push.apply(y,i([g])),"string"==typeof u?l.splice.apply(l,[s,1].concat(y)):u.content=y}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(o),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(o),o.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},o.languages.webmanifest=o.languages.json,o.languages.less=o.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),o.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),o.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(o),o.languages.objectivec=o.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete o.languages.objectivec["class-name"],o.languages.objc=o.languages.objectivec,o.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},o.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},o.languages.python["string-interpolation"].inside.interpolation.inside.rest=o.languages.python,o.languages.py=o.languages.python,o.languages.reason=o.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),o.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete o.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(o),o.languages.scss=o.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),o.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),o.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),o.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),o.languages.scss.atrule.inside.rest=o.languages.scss,o.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(o),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(o),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(o),o.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(o),t.default=o},6841:function(){Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}},7159:function(e,t,n){var r={"./prism-lua":6841};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=7159},2703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:function(e,t,n){"use strict";var r=n(7294),o=n(7418),a=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n