diff --git a/404.html b/404.html index db71da3c..671ecec7 100644 --- a/404.html +++ b/404.html @@ -13,13 +13,13 @@ - - + +
-
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.

- - +
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/0334d48b.223d3363.js b/assets/js/0334d48b.0dec4ca3.js similarity index 99% rename from assets/js/0334d48b.223d3363.js rename to assets/js/0334d48b.0dec4ca3.js index 609bc933..aff66cb3 100644 --- a/assets/js/0334d48b.223d3363.js +++ b/assets/js/0334d48b.0dec4ca3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[929],{9613:(e,t,r)=>{r.d(t,{Zo:()=>h,kt:()=>p});var a=r(9496);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),c=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},h=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},f=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,h=s(e,["components","mdxType","originalType","parentName"]),u=c(r),f=n,p=u["".concat(l,".").concat(f)]||u[f]||d[f]||o;return r?a.createElement(p,i(i({ref:t},h),{},{components:r})):a.createElement(p,i({ref:t},h))}));function p(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,i=new Array(o);i[0]=f;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:n,i[1]=s;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var a=r(1163),n=(r(9496),r(9613));const o={sidebar_label:"FAQs",title:"Frequently Asked Questions"},i=void 0,s={unversionedId:"launch-chain/forwarder/troubleshooting",id:"launch-chain/forwarder/troubleshooting",title:"Frequently Asked Questions",description:"Why do I need the Forwarder?",source:"@site/docs/launch-chain/forwarder/troubleshooting.md",sourceDirName:"launch-chain/forwarder",slug:"/launch-chain/forwarder/troubleshooting",permalink:"/launch-chain/forwarder/troubleshooting",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/launch-chain/forwarder/troubleshooting.md",tags:[],version:"current",frontMatter:{sidebar_label:"FAQs",title:"Frequently Asked Questions"},sidebar:"tutorialSidebar",previous:{title:"Technical Details",permalink:"/launch-chain/forwarder/tech-details"},next:{title:"Whitelists API",permalink:"/launch-chain/reference/whitelists-api"}},l={},c=[{value:"Why do I need the Forwarder?",id:"why-do-i-need-the-forwarder",level:3},{value:"Which Exchanges are supported?",id:"which-exchanges-are-supported",level:3},{value:"What assets can I transfer?",id:"what-assets-can-i-transfer",level:3},{value:"I have transferred an asset that is not on the list \u2013 can I return it?",id:"i-have-transferred-an-asset-that-is-not-on-the-list--can-i-return-it",level:3},{value:"How does the forwarder fulfill Aurora\u2019s vision?",id:"how-does-the-forwarder-fulfill-auroras-vision",level:3},{value:"How fast will I receive my tokens?",id:"how-fast-will-i-receive-my-tokens",level:3},{value:"Is this safe?",id:"is-this-safe",level:3}],h={toc:c},u="wrapper";function d(e){let{components:t,...r}=e;return(0,n.kt)(u,(0,a.Z)({},h,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h3",{id:"why-do-i-need-the-forwarder"},"Why do I need the Forwarder?"),(0,n.kt)("p",null,"The Forwarder broadens the available options to onramp assets onto Aurora Mainnet and to any of the Aurora Chains in the future, even when a centralized exchange doesn\u2019t support Aurora\nas a withdrawal chain directly. This means you can withdraw assets from your Binance account to the Aurora Mainnet in one step, saving time and transaction costs."),(0,n.kt)("h3",{id:"which-exchanges-are-supported"},"Which Exchanges are supported?"),(0,n.kt)("p",null,"The Forwarder works with any exchange that enables withdrawals to Near blockchain. The most popular ones are Binance, ByBit, OKX, KuCoin, Gate.io, and Kraken."),(0,n.kt)("h3",{id:"what-assets-can-i-transfer"},"What assets can I transfer?"),(0,n.kt)("p",null,"The Forwarder has a curated list of tokens for which the transfer will be done automatically. These are USDC, USDT, and NEAR. We\u2019re going to support more tokens in the future."),(0,n.kt)("h3",{id:"i-have-transferred-an-asset-that-is-not-on-the-list--can-i-return-it"},"I have transferred an asset that is not on the list \u2013 can I return it?"),(0,n.kt)("p",null,"Yes, we can help you with that, just contact our ",(0,n.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),", and we will help you to get these tokens back."),(0,n.kt)("h3",{id:"how-does-the-forwarder-fulfill-auroras-vision"},"How does the forwarder fulfill Aurora\u2019s vision?"),(0,n.kt)("p",null,"The Forwarder is compatible with Aurora Mainnet and any Aurora Chain, which means that if a project is ",(0,n.kt)("a",{parentName:"p",href:"/launch-chain/introduction"},"deploying a dedicated Aurora Chain")," with Aurora Cloud,\nthe Forwarder will automatically support it, offering a way for users to withdraw funds from Binance and other major exchanges directly into their Aurora Chain from day one."),(0,n.kt)("h3",{id:"how-fast-will-i-receive-my-tokens"},"How fast will I receive my tokens?"),(0,n.kt)("p",null,"The Forwarder only requires one Near transaction to forward you the tokens once the Deposit Address receives them. This only takes a few seconds. But withdrawing from a centralised exchange\ncan incur other delays that are controlled by the exchanges themselves, even if on most exchanges, it usually only takes up to a few minutes."),(0,n.kt)("h3",{id:"is-this-safe"},"Is this safe?"),(0,n.kt)("p",null,"We take security seriously and implement all reasonable measures to ensure the service's safety, including code audits and best practices.\nHowever, one of the big risks of using this service is user error. Please make sure that you are using the deposit address from trusted sources."))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[929],{9613:(e,t,r)=>{r.d(t,{Zo:()=>h,kt:()=>p});var a=r(9496);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),c=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},h=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},f=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,h=s(e,["components","mdxType","originalType","parentName"]),u=c(r),f=n,p=u["".concat(l,".").concat(f)]||u[f]||d[f]||o;return r?a.createElement(p,i(i({ref:t},h),{},{components:r})):a.createElement(p,i({ref:t},h))}));function p(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,i=new Array(o);i[0]=f;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:n,i[1]=s;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var a=r(1163),n=(r(9496),r(9613));const o={sidebar_label:"FAQs",title:"Frequently Asked Questions"},i=void 0,s={unversionedId:"launch-chain/forwarder/troubleshooting",id:"launch-chain/forwarder/troubleshooting",title:"Frequently Asked Questions",description:"Why do I need the Forwarder?",source:"@site/docs/launch-chain/forwarder/troubleshooting.md",sourceDirName:"launch-chain/forwarder",slug:"/launch-chain/forwarder/troubleshooting",permalink:"/launch-chain/forwarder/troubleshooting",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/launch-chain/forwarder/troubleshooting.md",tags:[],version:"current",frontMatter:{sidebar_label:"FAQs",title:"Frequently Asked Questions"},sidebar:"tutorialSidebar",previous:{title:"Technical Details",permalink:"/launch-chain/forwarder/tech-details"},next:{title:"Whitelists API",permalink:"/launch-chain/reference/whitelists-api"}},l={},c=[{value:"Why do I need the Forwarder?",id:"why-do-i-need-the-forwarder",level:3},{value:"Which Exchanges are supported?",id:"which-exchanges-are-supported",level:3},{value:"What assets can I transfer?",id:"what-assets-can-i-transfer",level:3},{value:"I have transferred an asset that is not on the list \u2013 can I return it?",id:"i-have-transferred-an-asset-that-is-not-on-the-list--can-i-return-it",level:3},{value:"How does the forwarder fulfill Aurora\u2019s vision?",id:"how-does-the-forwarder-fulfill-auroras-vision",level:3},{value:"How fast will I receive my tokens?",id:"how-fast-will-i-receive-my-tokens",level:3},{value:"Is this safe?",id:"is-this-safe",level:3}],h={toc:c},u="wrapper";function d(e){let{components:t,...r}=e;return(0,n.kt)(u,(0,a.Z)({},h,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h3",{id:"why-do-i-need-the-forwarder"},"Why do I need the Forwarder?"),(0,n.kt)("p",null,"The Forwarder broadens the available options to onramp assets onto Aurora Mainnet and to any of the Aurora Chains in the future, even when a centralized exchange doesn\u2019t support Aurora\nas a withdrawal chain directly. This means you can withdraw assets from your Binance account to the Aurora Mainnet in one step, saving time and transaction costs."),(0,n.kt)("h3",{id:"which-exchanges-are-supported"},"Which Exchanges are supported?"),(0,n.kt)("p",null,"The Forwarder works with any exchange that enables withdrawals to Near blockchain. The most popular ones are Binance, ByBit, OKX, KuCoin, Gate.io, and Kraken."),(0,n.kt)("h3",{id:"what-assets-can-i-transfer"},"What assets can I transfer?"),(0,n.kt)("p",null,"The Forwarder has a curated list of tokens for which the transfer will be done automatically. These are USDC, USDT, and NEAR. We\u2019re going to support more tokens in the future."),(0,n.kt)("h3",{id:"i-have-transferred-an-asset-that-is-not-on-the-list--can-i-return-it"},"I have transferred an asset that is not on the list \u2013 can I return it?"),(0,n.kt)("p",null,"Yes, we can help you with that, just contact our ",(0,n.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),", and we will help you to get these tokens back."),(0,n.kt)("h3",{id:"how-does-the-forwarder-fulfill-auroras-vision"},"How does the forwarder fulfill Aurora\u2019s vision?"),(0,n.kt)("p",null,"The Forwarder is compatible with Aurora Mainnet and any Aurora Chain, which means that if a project is ",(0,n.kt)("a",{parentName:"p",href:"/launch-chain/introduction"},"deploying a dedicated Aurora Chain")," with Aurora Cloud,\nthe Forwarder will automatically support it, offering a way for users to withdraw funds from Binance and other major exchanges directly into their Aurora Chain from day one."),(0,n.kt)("h3",{id:"how-fast-will-i-receive-my-tokens"},"How fast will I receive my tokens?"),(0,n.kt)("p",null,"The Forwarder only requires one Near transaction to forward you the tokens once the Deposit Address receives them. This only takes a few seconds. But withdrawing from a centralised exchange\ncan incur other delays that are controlled by the exchanges themselves, even if on most exchanges, it usually only takes up to a few minutes."),(0,n.kt)("h3",{id:"is-this-safe"},"Is this safe?"),(0,n.kt)("p",null,"We take security seriously and implement all reasonable measures to ensure the service's safety, including code audits and best practices.\nHowever, one of the big risks of using this service is user error. Please make sure that you are using the deposit address from trusted sources."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/23ea4b07.0bbdbf97.js b/assets/js/23ea4b07.8f9e07b1.js similarity index 99% rename from assets/js/23ea4b07.0bbdbf97.js rename to assets/js/23ea4b07.8f9e07b1.js index 3a56c72c..de782e87 100644 --- a/assets/js/23ea4b07.0bbdbf97.js +++ b/assets/js/23ea4b07.8f9e07b1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[6584],{9613:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>w});var n=a(9496);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var s=n.createContext({}),c=function(e){var t=n.useContext(s),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=c(a),m=o,w=u["".concat(s,".").concat(m)]||u[m]||d[m]||r;return a?n.createElement(w,i(i({ref:t},p),{},{components:a})):n.createElement(w,i({ref:t},p))}));function w(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=a.length,i=new Array(r);i[0]=m;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var c=2;c{a.r(t),a.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>r,metadata:()=>l,toc:()=>c});var n=a(1163),o=(a(9496),a(9613));const r={sidebar_label:"RainbowKit",title:"RainbowKit"},i=void 0,l={unversionedId:"onboard/wallets/rainbowkit",id:"onboard/wallets/rainbowkit",title:"RainbowKit",description:"The RainbowKit is a React library that easily adds wallet connections to your Dapp. It's intuitive, responsive and customizable.",source:"@site/docs/onboard/wallets/rainbowkit.md",sourceDirName:"onboard/wallets",slug:"/onboard/wallets/rainbowkit",permalink:"/onboard/wallets/rainbowkit",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/wallets/rainbowkit.md",tags:[],version:"current",frontMatter:{sidebar_label:"RainbowKit",title:"RainbowKit"},sidebar:"tutorialSidebar",previous:{title:"Web3Modal",permalink:"/onboard/wallets/web3modal"},next:{title:"Promo Widget",permalink:"/onboard/promo-widget"}},s={},c=[{value:"Integrate RainbowKit",id:"integrate-rainbowkit",level:2},{value:"Quick start",id:"quick-start",level:3},{value:"Manual setup",id:"manual-setup",level:3},{value:"UI Configuration",id:"ui-configuration",level:3},{value:"Adding Aurora Pass",id:"adding-aurora-pass",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}],p={toc:c},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(u,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"The ",(0,o.kt)("a",{parentName:"p",href:"https://www.rainbowkit.com/docs/introduction"},"RainbowKit")," is a React library that easily adds wallet connections to your Dapp. It's intuitive, responsive and customizable.\nIt allows you to integrate even more wallets than the ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal"},"Web3Modal")," solution."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"rainbowkit",src:a(7402).Z,width:"2218",height:"1296"})),(0,o.kt)("h2",{id:"integrate-rainbowkit"},"Integrate RainbowKit"),(0,o.kt)("p",null,"This tutorial video explains quickly the process of setting up your RainbowKit modal:"),(0,o.kt)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/Q5dv7qv08Fw?si=yNCb14jjHo33sKMW",style:{display:"block",margin:"auto"},title:"YouTube video player",frameborder:"auto",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:!0}),(0,o.kt)("h3",{id:"quick-start"},"Quick start"),(0,o.kt)("p",null,"You can scaffold a new RainbowKit + ",(0,o.kt)("a",{parentName:"p",href:"https://wagmi.sh"},"wagmi")," + ",(0,o.kt)("a",{parentName:"p",href:"https://nextjs.org"},"Next.js")," app with one of the following commands, using your package manager of choice:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npm init @rainbow-me/rainbowkit@latest\n# or\npnpm create @rainbow-me/rainbowkit@latest\n# or\nyarn create @rainbow-me/rainbowkit\n")),(0,o.kt)("p",null,"These commands will prompt you for a project name, generate a new directory containing a boilerplate project, and install all required dependencies."),(0,o.kt)("p",null,"Alternatively, you can manually integrate RainbowKit into your existing project."),(0,o.kt)("h3",{id:"manual-setup"},"Manual setup"),(0,o.kt)("p",null,"Install RainbowKit and its peer dependencies, ",(0,o.kt)("a",{parentName:"p",href:"https://wagmi.sh/"},"wagmi"),", ",(0,o.kt)("a",{parentName:"p",href:"https://viem.sh"},"viem"),", and ",(0,o.kt)("a",{parentName:"p",href:"https://tanstack.com/query/v5"},"@tanstack/react-query"),"."),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npm install @rainbow-me/rainbowkit wagmi viem@2.x @tanstack/react-query\n")),(0,o.kt)("p",null,"After that, you must import your libraries and configure your installation. You can read more about this ",(0,o.kt)("a",{parentName:"p",href:"https://www.rainbowkit.com/docs/installation#import"},"here"),"."),(0,o.kt)("h3",{id:"ui-configuration"},"UI Configuration"),(0,o.kt)("p",null,"You can configure a lot of parameters for UI in RainbowKit, for example:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/modal-sizes"},"Modal Sizes")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/connect-button"},"Connect Button")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/theming"},"Themes")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/localization"},"Localization"))),(0,o.kt)("p",null,"You can read more about advanced customizing these components ",(0,o.kt)("a",{parentName:"p",href:"https://www.rainbowkit.com/docs/custom-connect-button"},"here"),"."),(0,o.kt)("h2",{id:"adding-aurora-pass"},"Adding Aurora Pass"),(0,o.kt)("p",null,"You will need to get a Wallet ID from WalletConnect for the Aurora Pass wallet first from ",(0,o.kt)("a",{parentName:"p",href:"https://explorer.walletconnect.com/aurora-pass"},"here")," or copy it directly below:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694\n")),(0,o.kt)("p",null,"You can now add Aurora Pass as a recommended wallet to your RainbowKit WalletList by:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"Use ",(0,o.kt)("inlineCode",{parentName:"li"},"walletConnectWallet")," from ",(0,o.kt)("inlineCode",{parentName:"li"},"@rainbow-me/rainbowkit/wallets")," in your ",(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/custom-wallet-list"},"wallet connectors"),":")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-tsx"},"import { connectorsForWallets } from '@rainbow-me/rainbowkit';\nimport { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets';\nimport {\n rainbowWallet,\n walletConnectWallet,\n} from '@rainbow-me/rainbowkit/wallets';\n\nconst connectors = connectorsForWallets(\n [\n {\n groupName: 'Recommended',\n wallets: [rainbowWallet, walletConnectWallet],\n },\n ],\n {\n appName: 'My RainbowKit App',\n projectId: 'YOUR_PROJECT_ID',\n }\n);\n")),(0,o.kt)("ol",{start:2},(0,o.kt)("li",{parentName:"ol"},"Now you can configure your ",(0,o.kt)("inlineCode",{parentName:"li"},"walletConnectWallet")," via the ",(0,o.kt)("inlineCode",{parentName:"li"},"qrModalOptions")," variable, which is secretly just WalletConnect options,\nfind the ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/advanced/walletconnectmodal/options"},"complete list of them here"),":")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-tsx"},"walletConnectWallet(options: {\n projectId: string;\n options?: {\n qrModalOptions?: {\n desktopWallets?: DesktopWallet[];\n mobileWallets?: MobileWallet[];\n };\n }\n});\n")),(0,o.kt)("ol",{start:3},(0,o.kt)("li",{parentName:"ol"},"So now, use the ",(0,o.kt)("inlineCode",{parentName:"li"},"explorerRecommendedWalletIds")," option\n(documented ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/v2/react/wagmi/options#explorerrecommendedwalletids-optional"},"here"),") and paste Aurora Pass ID to it:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-tsx"},"let options = {\n defaultChain: aurora, // we can set it to make sure we are using Aurora mainnet by default for our DApp\n includeWalletIds: [\n '76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694', //AuroraPass\n ]};\n\n// pass the 'options' here as the last argument\nconst connectors = connectorsForWallets([ ...\n walletConnectWallet({projectId, options})\n ...\n]);\n")),(0,o.kt)("p",null,"That is it. Now, you can use Aurora Pass from your RainbowKit popup."),(0,o.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,o.kt)("p",null,"Please, take a look at our ",(0,o.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page"),". In case you still have questions, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),"\non Discord and open a support ticket there."))}d.isMDXComponent=!0},7402:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/rainbowkit-422dcbfa80b9022426d9d22ae9b1c0a1.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[6584],{9613:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>w});var n=a(9496);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var s=n.createContext({}),c=function(e){var t=n.useContext(s),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=c(a),m=o,w=u["".concat(s,".").concat(m)]||u[m]||d[m]||r;return a?n.createElement(w,i(i({ref:t},p),{},{components:a})):n.createElement(w,i({ref:t},p))}));function w(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=a.length,i=new Array(r);i[0]=m;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var c=2;c{a.r(t),a.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>r,metadata:()=>l,toc:()=>c});var n=a(1163),o=(a(9496),a(9613));const r={sidebar_label:"RainbowKit",title:"RainbowKit"},i=void 0,l={unversionedId:"onboard/wallets/rainbowkit",id:"onboard/wallets/rainbowkit",title:"RainbowKit",description:"The RainbowKit is a React library that easily adds wallet connections to your Dapp. It's intuitive, responsive and customizable.",source:"@site/docs/onboard/wallets/rainbowkit.md",sourceDirName:"onboard/wallets",slug:"/onboard/wallets/rainbowkit",permalink:"/onboard/wallets/rainbowkit",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/wallets/rainbowkit.md",tags:[],version:"current",frontMatter:{sidebar_label:"RainbowKit",title:"RainbowKit"},sidebar:"tutorialSidebar",previous:{title:"Web3Modal",permalink:"/onboard/wallets/web3modal"},next:{title:"Promo Widget",permalink:"/onboard/promo-widget"}},s={},c=[{value:"Integrate RainbowKit",id:"integrate-rainbowkit",level:2},{value:"Quick start",id:"quick-start",level:3},{value:"Manual setup",id:"manual-setup",level:3},{value:"UI Configuration",id:"ui-configuration",level:3},{value:"Adding Aurora Pass",id:"adding-aurora-pass",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}],p={toc:c},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(u,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"The ",(0,o.kt)("a",{parentName:"p",href:"https://www.rainbowkit.com/docs/introduction"},"RainbowKit")," is a React library that easily adds wallet connections to your Dapp. It's intuitive, responsive and customizable.\nIt allows you to integrate even more wallets than the ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal"},"Web3Modal")," solution."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"rainbowkit",src:a(7402).Z,width:"2218",height:"1296"})),(0,o.kt)("h2",{id:"integrate-rainbowkit"},"Integrate RainbowKit"),(0,o.kt)("p",null,"This tutorial video explains quickly the process of setting up your RainbowKit modal:"),(0,o.kt)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/Q5dv7qv08Fw?si=yNCb14jjHo33sKMW",style:{display:"block",margin:"auto"},title:"YouTube video player",frameborder:"auto",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:!0}),(0,o.kt)("h3",{id:"quick-start"},"Quick start"),(0,o.kt)("p",null,"You can scaffold a new RainbowKit + ",(0,o.kt)("a",{parentName:"p",href:"https://wagmi.sh"},"wagmi")," + ",(0,o.kt)("a",{parentName:"p",href:"https://nextjs.org"},"Next.js")," app with one of the following commands, using your package manager of choice:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npm init @rainbow-me/rainbowkit@latest\n# or\npnpm create @rainbow-me/rainbowkit@latest\n# or\nyarn create @rainbow-me/rainbowkit\n")),(0,o.kt)("p",null,"These commands will prompt you for a project name, generate a new directory containing a boilerplate project, and install all required dependencies."),(0,o.kt)("p",null,"Alternatively, you can manually integrate RainbowKit into your existing project."),(0,o.kt)("h3",{id:"manual-setup"},"Manual setup"),(0,o.kt)("p",null,"Install RainbowKit and its peer dependencies, ",(0,o.kt)("a",{parentName:"p",href:"https://wagmi.sh/"},"wagmi"),", ",(0,o.kt)("a",{parentName:"p",href:"https://viem.sh"},"viem"),", and ",(0,o.kt)("a",{parentName:"p",href:"https://tanstack.com/query/v5"},"@tanstack/react-query"),"."),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npm install @rainbow-me/rainbowkit wagmi viem@2.x @tanstack/react-query\n")),(0,o.kt)("p",null,"After that, you must import your libraries and configure your installation. You can read more about this ",(0,o.kt)("a",{parentName:"p",href:"https://www.rainbowkit.com/docs/installation#import"},"here"),"."),(0,o.kt)("h3",{id:"ui-configuration"},"UI Configuration"),(0,o.kt)("p",null,"You can configure a lot of parameters for UI in RainbowKit, for example:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/modal-sizes"},"Modal Sizes")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/connect-button"},"Connect Button")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/theming"},"Themes")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/localization"},"Localization"))),(0,o.kt)("p",null,"You can read more about advanced customizing these components ",(0,o.kt)("a",{parentName:"p",href:"https://www.rainbowkit.com/docs/custom-connect-button"},"here"),"."),(0,o.kt)("h2",{id:"adding-aurora-pass"},"Adding Aurora Pass"),(0,o.kt)("p",null,"You will need to get a Wallet ID from WalletConnect for the Aurora Pass wallet first from ",(0,o.kt)("a",{parentName:"p",href:"https://explorer.walletconnect.com/aurora-pass"},"here")," or copy it directly below:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694\n")),(0,o.kt)("p",null,"You can now add Aurora Pass as a recommended wallet to your RainbowKit WalletList by:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"Use ",(0,o.kt)("inlineCode",{parentName:"li"},"walletConnectWallet")," from ",(0,o.kt)("inlineCode",{parentName:"li"},"@rainbow-me/rainbowkit/wallets")," in your ",(0,o.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/docs/custom-wallet-list"},"wallet connectors"),":")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-tsx"},"import { connectorsForWallets } from '@rainbow-me/rainbowkit';\nimport { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets';\nimport {\n rainbowWallet,\n walletConnectWallet,\n} from '@rainbow-me/rainbowkit/wallets';\n\nconst connectors = connectorsForWallets(\n [\n {\n groupName: 'Recommended',\n wallets: [rainbowWallet, walletConnectWallet],\n },\n ],\n {\n appName: 'My RainbowKit App',\n projectId: 'YOUR_PROJECT_ID',\n }\n);\n")),(0,o.kt)("ol",{start:2},(0,o.kt)("li",{parentName:"ol"},"Now you can configure your ",(0,o.kt)("inlineCode",{parentName:"li"},"walletConnectWallet")," via the ",(0,o.kt)("inlineCode",{parentName:"li"},"qrModalOptions")," variable, which is secretly just WalletConnect options,\nfind the ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/advanced/walletconnectmodal/options"},"complete list of them here"),":")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-tsx"},"walletConnectWallet(options: {\n projectId: string;\n options?: {\n qrModalOptions?: {\n desktopWallets?: DesktopWallet[];\n mobileWallets?: MobileWallet[];\n };\n }\n});\n")),(0,o.kt)("ol",{start:3},(0,o.kt)("li",{parentName:"ol"},"So now, use the ",(0,o.kt)("inlineCode",{parentName:"li"},"explorerRecommendedWalletIds")," option\n(documented ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/v2/react/wagmi/options#explorerrecommendedwalletids-optional"},"here"),") and paste Aurora Pass ID to it:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-tsx"},"let options = {\n defaultChain: aurora, // we can set it to make sure we are using Aurora mainnet by default for our DApp\n includeWalletIds: [\n '76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694', //AuroraPass\n ]};\n\n// pass the 'options' here as the last argument\nconst connectors = connectorsForWallets([ ...\n walletConnectWallet({projectId, options})\n ...\n]);\n")),(0,o.kt)("p",null,"That is it. Now, you can use Aurora Pass from your RainbowKit popup."),(0,o.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,o.kt)("p",null,"Please, take a look at our ",(0,o.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page"),". In case you still have questions, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),"\non Discord and open a support ticket there."))}d.isMDXComponent=!0},7402:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/rainbowkit-422dcbfa80b9022426d9d22ae9b1c0a1.png"}}]); \ No newline at end of file diff --git a/assets/js/4d113f1e.40a1a176.js b/assets/js/4d113f1e.42a202b6.js similarity index 50% rename from assets/js/4d113f1e.40a1a176.js rename to assets/js/4d113f1e.42a202b6.js index f627a732..0a5fad47 100644 --- a/assets/js/4d113f1e.40a1a176.js +++ b/assets/js/4d113f1e.42a202b6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[4349],{9613:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var a=r(9496);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 n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=a.createContext({}),u=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return a.createElement(l.Provider,{value:t},e.children)},p="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,o=e.mdxType,n=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=u(r),d=o,m=p["".concat(l,".").concat(d)]||p[d]||h[d]||n;return r?a.createElement(m,i(i({ref:t},c),{},{components:r})):a.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=r.length,i=new Array(n);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:o,i[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>n,metadata:()=>s,toc:()=>u});var a=r(1163),o=(r(9496),r(9613));const n={title:"Troubleshooting"},i=void 0,s={unversionedId:"onboard/troubleshooting",id:"onboard/troubleshooting",title:"Troubleshooting",description:"I have sent my tokens to the wrong wallet - can I recover them?",source:"@site/docs/onboard/troubleshooting.md",sourceDirName:"onboard",slug:"/onboard/troubleshooting",permalink:"/onboard/troubleshooting",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/troubleshooting.md",tags:[],version:"current",frontMatter:{title:"Troubleshooting"},sidebar:"tutorialSidebar",previous:{title:"Promo Widget",permalink:"/onboard/promo-widget"},next:{title:"Aurora Engine",permalink:"/dev-reference/aurora-engine"}},l={},u=[{value:"I have sent my tokens to the wrong wallet - can I recover them?",id:"i-have-sent-my-tokens-to-the-wrong-wallet---can-i-recover-them",level:3},{value:"I can't find the token XYZ in my wallet \u2013 can I add it somehow?",id:"i-cant-find-the-token-xyz-in-my-wallet--can-i-add-it-somehow",level:3},{value:"I have paid for my transaction pack but got no transactions added",id:"i-have-paid-for-my-transaction-pack-but-got-no-transactions-added",level:3},{value:"I can't see my balances in Aurora Pass",id:"i-cant-see-my-balances-in-aurora-pass",level:3},{value:"I get the 'Pairing failed: Pairing already exists' error while connecting to a DApp",id:"i-get-the-pairing-failed-pairing-already-exists-error-while-connecting-to-a-dapp",level:3},{value:"I see symbols like 0xab4... while signing a DApp transaction in Aurora Pass - what do they mean?",id:"i-see-symbols-like-0xab4-while-signing-a-dapp-transaction-in-aurora-pass---what-do-they-mean",level:3},{value:"I have a problem which is not on the list",id:"i-have-a-problem-which-is-not-on-the-list",level:3}],c={toc:u},p="wrapper";function h(e){let{components:t,...n}=e;return(0,o.kt)(p,(0,a.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h3",{id:"i-have-sent-my-tokens-to-the-wrong-wallet---can-i-recover-them"},"I have sent my tokens to the wrong wallet - can I recover them?"),(0,o.kt)("p",null,"Aurora Pass does not currently support other EVM chains and L2s, except Aurora and Aurora Chains.\nSometimes, by mistake, users can send assets to their address on those non-supported networks instead."),(0,o.kt)("p",null,"E.g., suppose you have sent your assets to some of your Ethereum addresses."),(0,o.kt)("p",null," These tokens can be quickly recovered by importing your address into a compatible wallet, e.g., MetaMask, using your private key or a seed phrase.\nAfter that, you can bridge them back from Aurora to your Ethereum address. Or transfer the tokens to any other address on Aurora, like your AuroraPass address."),(0,o.kt)("p",null,"If you have transferred them to a CEX address, you can only recover these tokens if that CEX supports Aurora later. Currently, we support Coinbase, KuCoin, and Gate.io CEXes."),(0,o.kt)("h3",{id:"i-cant-find-the-token-xyz-in-my-wallet--can-i-add-it-somehow"},"I can't find the token ","[XYZ]"," in my wallet \u2013 can I add it somehow?"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"If you are a developer, please add a PR to ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/aurora-is-near/bridge-assets"},"this repository")," following ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/aurora-is-near/bridge-assets/pull/273/files"},"this example"),"."),(0,o.kt)("li",{parentName:"ul"},"If you are a user, don't hesitate to get in touch with our ",(0,o.kt)("a",{parentName:"li",href:"https://discord.gg/WXfbGsSUbT"},"Support Team")," via Discord, and we will help you resolve this issue.")),(0,o.kt)("h3",{id:"i-have-paid-for-my-transaction-pack-but-got-no-transactions-added"},"I have paid for my transaction pack but got no transactions added"),(0,o.kt)("p",null,"Please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),", and we will help you get your transaction pack."),(0,o.kt)("h3",{id:"i-cant-see-my-balances-in-aurora-pass"},"I can't see my balances in Aurora Pass"),(0,o.kt)("p",null,"Sometimes, such a situation could happen because of local restrictions in your country of residence. Try using another internet connection or VPN to solve the issue."),(0,o.kt)("h3",{id:"i-get-the-pairing-failed-pairing-already-exists-error-while-connecting-to-a-dapp"},"I get the 'Pairing failed: Pairing already exists' error while connecting to a DApp"),(0,o.kt)("p",null,"This error looks like this:\n",(0,o.kt)("img",{alt:"ap_pairing_error.png",src:r(1799).Z,width:"1584",height:"724"})),(0,o.kt)("p",null,"This error means that DApp is already using some existing pairing, but the wallet doesn't know it was disconnected, so there is some non-sync state between them."),(0,o.kt)("p",null,"To fix it, please try to follow the next steps:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"Try to disconnect all previously connected wallets from that DApp."),(0,o.kt)("li",{parentName:"ol"},"Re-connect with your AuroraPass wallet to a DApp.")),(0,o.kt)("p",null,"If the problem persists, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),"."),(0,o.kt)("h3",{id:"i-see-symbols-like-0xab4-while-signing-a-dapp-transaction-in-aurora-pass---what-do-they-mean"},"I see symbols like 0xab4... while signing a DApp transaction in Aurora Pass - what do they mean?"),(0,o.kt)("p",null,"If you are a user, don't hesitate to get in touch with either the DApp support team or the ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Aurora Support Team")," and ask them to verify the contracts used in that DApp."),(0,o.kt)("p",null,"If you are a developer, verify your DApp contracts in ",(0,o.kt)("a",{parentName:"p",href:"https://explorer.aurora.dev/"},"Aurora Explorer"),". We're using Blockscout\nso that you can read more about it ",(0,o.kt)("a",{parentName:"p",href:"https://docs.blockscout.com/for-users/verifying-a-smart-contract"},"here"),".\nVerifying your contracts will ensure that a user sees nicely formatted information - function name and its arguments' names while using the Aurora Pass wallet."),(0,o.kt)("p",null,"In a non-verified contract, a user will see a non-decoded function name and arguments, which will look incomprehensible and unclear."),(0,o.kt)("p",null,"We advise you to verify all (or most) of your contracts, which gives your users a better understanding of their interactions with your product via Aurora Pass."),(0,o.kt)("h3",{id:"i-have-a-problem-which-is-not-on-the-list"},"I have a problem which is not on the list"),(0,o.kt)("p",null,"Please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team")," on Discord and open a ticket describing your problem."))}h.isMDXComponent=!0},1799:(e,t,r)=>{r.d(t,{Z:()=>a});const a=r.p+"assets/images/ap_pairing_error-ea16605bb460c76b3c959409c061f815.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[4349],{9613:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var a=r(9496);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 n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=a.createContext({}),u=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return a.createElement(l.Provider,{value:t},e.children)},p="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,o=e.mdxType,n=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=u(r),d=o,m=p["".concat(l,".").concat(d)]||p[d]||h[d]||n;return r?a.createElement(m,i(i({ref:t},c),{},{components:r})):a.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=r.length,i=new Array(n);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:o,i[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>n,metadata:()=>s,toc:()=>u});var a=r(1163),o=(r(9496),r(9613));const n={title:"Troubleshooting"},i=void 0,s={unversionedId:"onboard/troubleshooting",id:"onboard/troubleshooting",title:"Troubleshooting",description:"I have sent my tokens to the wrong wallet - can I recover them?",source:"@site/docs/onboard/troubleshooting.md",sourceDirName:"onboard",slug:"/onboard/troubleshooting",permalink:"/onboard/troubleshooting",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/troubleshooting.md",tags:[],version:"current",frontMatter:{title:"Troubleshooting"},sidebar:"tutorialSidebar",previous:{title:"Promo Widget",permalink:"/onboard/promo-widget"},next:{title:"Aurora Engine",permalink:"/dev-reference/aurora-engine"}},l={},u=[{value:"I have sent my tokens to the wrong wallet - can I recover them?",id:"i-have-sent-my-tokens-to-the-wrong-wallet---can-i-recover-them",level:3},{value:"I can't find the token XYZ in my wallet \u2013 can I add it somehow?",id:"i-cant-find-the-token-xyz-in-my-wallet--can-i-add-it-somehow",level:3},{value:"I have paid for my transaction pack but got no transactions added",id:"i-have-paid-for-my-transaction-pack-but-got-no-transactions-added",level:3},{value:"I can't see my balances in Aurora Pass",id:"i-cant-see-my-balances-in-aurora-pass",level:3},{value:"I get the 'Pairing failed: Pairing already exists' error while connecting to a DApp",id:"i-get-the-pairing-failed-pairing-already-exists-error-while-connecting-to-a-dapp",level:3},{value:"I see symbols like 0xab4... while signing a DApp transaction in Aurora Pass - what do they mean?",id:"i-see-symbols-like-0xab4-while-signing-a-dapp-transaction-in-aurora-pass---what-do-they-mean",level:3},{value:"I have a problem which is not on the list",id:"i-have-a-problem-which-is-not-on-the-list",level:3}],c={toc:u},p="wrapper";function h(e){let{components:t,...n}=e;return(0,o.kt)(p,(0,a.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h3",{id:"i-have-sent-my-tokens-to-the-wrong-wallet---can-i-recover-them"},"I have sent my tokens to the wrong wallet - can I recover them?"),(0,o.kt)("p",null,"Aurora Pass does not currently support other EVM chains and L2s, except Aurora and Aurora Chains.\nSometimes, by mistake, users can send assets to their address on those non-supported networks instead."),(0,o.kt)("p",null,"E.g., suppose you have sent your assets to some of your Ethereum addresses."),(0,o.kt)("p",null,"These tokens can be quickly recovered by importing your address into a compatible wallet, e.g., MetaMask, using your private key or a seed phrase.\nAfter that, you can bridge them back from Aurora to your Ethereum address. Or transfer the tokens to any other address on Aurora, like your AuroraPass address."),(0,o.kt)("p",null,"If you have transferred them to a CEX address, you can only recover these tokens if that CEX supports Aurora later. Currently, we support Coinbase, KuCoin, and Gate.io CEXes."),(0,o.kt)("h3",{id:"i-cant-find-the-token-xyz-in-my-wallet--can-i-add-it-somehow"},"I can't find the token ","[XYZ]"," in my wallet \u2013 can I add it somehow?"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"If you are a developer, please add a PR to ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/aurora-is-near/bridge-assets"},"this repository")," following ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/aurora-is-near/bridge-assets/pull/273/files"},"this example"),"."),(0,o.kt)("li",{parentName:"ul"},"If you are a user, don't hesitate to get in touch with our ",(0,o.kt)("a",{parentName:"li",href:"https://discord.gg/auroralabs"},"Support Team")," via Discord, and we will help you resolve this issue.")),(0,o.kt)("h3",{id:"i-have-paid-for-my-transaction-pack-but-got-no-transactions-added"},"I have paid for my transaction pack but got no transactions added"),(0,o.kt)("p",null,"Please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),", and we will help you get your transaction pack."),(0,o.kt)("h3",{id:"i-cant-see-my-balances-in-aurora-pass"},"I can't see my balances in Aurora Pass"),(0,o.kt)("p",null,"Sometimes, such a situation could happen because of local restrictions in your country of residence. Try using another internet connection or VPN to solve the issue."),(0,o.kt)("h3",{id:"i-get-the-pairing-failed-pairing-already-exists-error-while-connecting-to-a-dapp"},"I get the 'Pairing failed: Pairing already exists' error while connecting to a DApp"),(0,o.kt)("p",null,"This error looks like this:\n",(0,o.kt)("img",{alt:"ap_pairing_error.png",src:r(1799).Z,width:"1584",height:"724"})),(0,o.kt)("p",null,"This error means that DApp is already using some existing pairing, but the wallet doesn't know it was disconnected, so there is some non-sync state between them."),(0,o.kt)("p",null,"To fix it, please try to follow the next steps:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"Try to disconnect all previously connected wallets from that DApp."),(0,o.kt)("li",{parentName:"ol"},"Re-connect with your AuroraPass wallet to a DApp.")),(0,o.kt)("p",null,"If the problem persists, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),"."),(0,o.kt)("h3",{id:"i-see-symbols-like-0xab4-while-signing-a-dapp-transaction-in-aurora-pass---what-do-they-mean"},"I see symbols like 0xab4... while signing a DApp transaction in Aurora Pass - what do they mean?"),(0,o.kt)("p",null,"If you are a user, don't hesitate to get in touch with either the DApp support team or the ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Aurora Support Team")," and ask them to verify the contracts used in that DApp."),(0,o.kt)("p",null,"If you are a developer, verify your DApp contracts in ",(0,o.kt)("a",{parentName:"p",href:"https://explorer.aurora.dev/"},"Aurora Explorer"),". We're using Blockscout\nso that you can read more about it ",(0,o.kt)("a",{parentName:"p",href:"https://docs.blockscout.com/for-users/verifying-a-smart-contract"},"here"),".\nVerifying your contracts will ensure that a user sees nicely formatted information - function name and its arguments' names while using the Aurora Pass wallet."),(0,o.kt)("p",null,"In a non-verified contract, a user will see a non-decoded function name and arguments, which will look incomprehensible and unclear."),(0,o.kt)("p",null,"We advise you to verify all (or most) of your contracts, which gives your users a better understanding of their interactions with your product via Aurora Pass."),(0,o.kt)("h3",{id:"i-have-a-problem-which-is-not-on-the-list"},"I have a problem which is not on the list"),(0,o.kt)("p",null,"Please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team")," on Discord and open a ticket describing your problem."))}h.isMDXComponent=!0},1799:(e,t,r)=>{r.d(t,{Z:()=>a});const a=r.p+"assets/images/ap_pairing_error-ea16605bb460c76b3c959409c061f815.png"}}]); \ No newline at end of file diff --git a/assets/js/6dd03e4b.37363f7e.js b/assets/js/6dd03e4b.37363f7e.js new file mode 100644 index 00000000..677606e5 --- /dev/null +++ b/assets/js/6dd03e4b.37363f7e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[9075],{9613:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>m});var r=a(9496);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function s(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var u=r.createContext({}),l=function(e){var t=r.useContext(u),a=t;return e&&(a="function"==typeof e?e(t):s(s({},t),e)),a},d=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},p="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var a=e.components,o=e.mdxType,n=e.originalType,u=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=l(a),c=o,m=p["".concat(u,".").concat(c)]||p[c]||h[c]||n;return a?r.createElement(m,s(s({ref:t},d),{},{components:a})):r.createElement(m,s({ref:t},d))}));function m(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=a.length,s=new Array(n);s[0]=c;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:o,s[1]=i;for(var l=2;l{a.r(t),a.d(t,{assets:()=>u,contentTitle:()=>s,default:()=>h,frontMatter:()=>n,metadata:()=>i,toc:()=>l});var r=a(1163),o=(a(9496),a(9613));const n={sidebar_label:"FAQs",title:"Frequently Asked Questions"},s=void 0,i={unversionedId:"getting-started/faq",id:"getting-started/faq",title:"Frequently Asked Questions",description:"How do I get started with Aurora as a user?",source:"@site/docs/getting-started/faq.md",sourceDirName:"getting-started",slug:"/getting-started/faq",permalink:"/getting-started/faq",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/getting-started/faq.md",tags:[],version:"current",frontMatter:{sidebar_label:"FAQs",title:"Frequently Asked Questions"},sidebar:"tutorialSidebar",previous:{title:"Explore ecosystem (Aurora+)",permalink:"/getting-started/explore"},next:{title:"Introduction",permalink:"/build-a-dapp/introduction"}},u={},l=[{value:"How do I get started with Aurora as a user?",id:"how-do-i-get-started-with-aurora-as-a-user",level:3},{value:"How do I get started with Aurora as a developer?",id:"how-do-i-get-started-with-aurora-as-a-developer",level:3},{value:"Do you have a faucet to get some ETH for Testnet development?",id:"do-you-have-a-faucet-to-get-some-eth-for-testnet-development",level:3},{value:"How do transaction fees work on Aurora?",id:"how-do-transaction-fees-work-on-aurora",level:3},{value:"How to run your own Aurora Node?",id:"how-to-run-your-own-aurora-node",level:3},{value:"I'm an app developer. Why should I choose Aurora over other EVMs?",id:"im-an-app-developer-why-should-i-choose-aurora-over-other-evms",level:3},{value:"What is Aurora's TPS metric?",id:"what-is-auroras-tps-metric",level:3},{value:"Do you have a limit of gas per transaction?",id:"do-you-have-a-limit-of-gas-per-transaction",level:3},{value:"I have a few more questions. Where can I get help?",id:"i-have-a-few-more-questions-where-can-i-get-help",level:3}],d={toc:l},p="wrapper";function h(e){let{components:t,...a}=e;return(0,o.kt)(p,(0,r.Z)({},d,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h3",{id:"how-do-i-get-started-with-aurora-as-a-user"},"How do I get started with Aurora as a user?"),(0,o.kt)("p",null,"Add Aurora Mainnet network to your MetaMask or any other EVM-compatible wallet ",(0,o.kt)("a",{parentName:"p",href:"https://aurora.dev/start"},"here"),".\nWe also recommend you ",(0,o.kt)("a",{parentName:"p",href:"https://auroracloud.dev/pass"},"download the Aurora Pass wallet")," to get 50 free transactions every month and to have the best mobile wallet experience.\nYou can read more about Aurora Pass ",(0,o.kt)("a",{parentName:"p",href:"/onboard/introduction"},"here"),"."),(0,o.kt)("p",null,"After that, you can start exploring the ecosystem:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Take a look at the ",(0,o.kt)("a",{parentName:"li",href:"/getting-started/explore"},"Aurora+")," and its possibilities: swapping, staking, on-ramping, lending, etc."),(0,o.kt)("li",{parentName:"ul"},"Try using ",(0,o.kt)("a",{parentName:"li",href:"https://rainbowbridge.app/"},"RainbowBridge")," to transfer your assets between Ethereum, Near and Aurora."),(0,o.kt)("li",{parentName:"ul"},"On-ramp using CEXes using ",(0,o.kt)("a",{parentName:"li",href:"/launch-chain/forwarder/how-to-use/general"},"Forwarder"),"."),(0,o.kt)("li",{parentName:"ul"},"Learn more about different projects on our ",(0,o.kt)("a",{parentName:"li",href:"https://aurora.dev/ecosystem"},"Ecosystem Page"),".")),(0,o.kt)("h3",{id:"how-do-i-get-started-with-aurora-as-a-developer"},"How do I get started with Aurora as a developer?"),(0,o.kt)("p",null,"Explore the documentation on this site, and also visit our ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/"},"DevPortal"),", take a look at:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/ecosystem"},"DevTools Ecosystem")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/blog"},"The Dev Portal Blog")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/posts/getting-started-with-aurora"},"Getting Started Article")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/posts/how-to-get-usdc-tokens-on-aurora-testnet"},"Tutorial about getting ERC-20 testnet tokens"))),(0,o.kt)("h3",{id:"do-you-have-a-faucet-to-get-some-eth-for-testnet-development"},"Do you have a faucet to get some ETH for Testnet development?"),(0,o.kt)("p",null,"To request some ETH on Aurora Testnet, go to ",(0,o.kt)("a",{parentName:"p",href:"https://aurora.dev/faucet"},"Aurora Testnet Faucet"),"\nFor a regular development 0.001ETH is more than enough to start with, notice that the gas price is 0.07Gwei only.\nBut if you will need a lot more - just let our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team")," know."),(0,o.kt)("h3",{id:"how-do-transaction-fees-work-on-aurora"},"How do transaction fees work on Aurora?"),(0,o.kt)("p",null,"The base fee token of Aurora is ETH, which will make your users feel right at home.\nBy leveraging the underlying low-cost capabilities of the Near Protocol, Aurora transactions will typically cost pennies (~$0.02). The gas cost is always constant on Aurora, there is no gas auction.\nCurrently, it equals 0.07GWei.\nYou read more about how it is calculated ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/posts/evm-gas-near-gas-on-aurora"},"here"),"."),(0,o.kt)("h3",{id:"how-to-run-your-own-aurora-node"},"How to run your own Aurora Node?"),(0,o.kt)("p",null,"If you feel like you need to run an Aurora Node yourself, please use ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/aurora-is-near/standalone-rpc/"},"this setup"),".\nThe hardware requirements for the node are the same as for ",(0,o.kt)("a",{parentName:"p",href:"https://docs.near.org/docs/develop/node/rpc/hardware-rpc#recommended-hardware-specifications"},"NEAR RPC Node"),"\nthough we recommend having 20-30% more storage. You can also read ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/posts/spinning-up-your-own-aurora-node"},"a detailed article about the node setup"),"."),(0,o.kt)("h3",{id:"im-an-app-developer-why-should-i-choose-aurora-over-other-evms"},"I'm an app developer. Why should I choose Aurora over other EVMs?"),(0,o.kt)("p",null,"Aurora was built by the same team that created the Near Protocol, considered to be among the most highly regarded blockchain technologies in the crypto space.\nAlthough created at Near, Aurora exists as a separate entity, governed by the decentralized AuroraDAO, and is leveraging the unique underlying Near technologies to\nalign incentives of the network, product owners, and end users.\nWhen you choose to deploy your app on Aurora, you\u2019re partnering with a highly capable and dedicated organization, and\nbuilding upon a technical foundation that will scale to meet all your future needs."),(0,o.kt)("h3",{id:"what-is-auroras-tps-metric"},"What is Aurora's TPS metric?"),(0,o.kt)("p",null,"To answer that question we need to understand how gas on Near works. It can be thought as a computation time: 1 Tgas ~ 1 ms. So you can consider the TPS as a gas-related quantity.\nFor example, if your transactions are on average 10Tgas, then 1 will take 10ms, so you can do 100 such per second. So on Aurora, we have a computation-dependent TPS metric.\nIt could be scaled by using more shards of Near and deploying more ",(0,o.kt)("a",{parentName:"p",href:"/launch-chain/introduction"},"Aurora Chains")," to handle the load.\nOn average, we can provide you dozens of millions of transactions daily for your ecosystem \u2013 300-500TPS per 1 instance of the Aurora chain running."),(0,o.kt)("h3",{id:"do-you-have-a-limit-of-gas-per-transaction"},"Do you have a limit of gas per transaction?"),(0,o.kt)("p",null,"The specifics of Near Protocol is that it has a time-based limitation for the gas per block. So, 1PGas is equal to 1s of the computation time on Near.\nOr equivalently - 1 block. Every transaction on Near has a 300TGas limit and can not exceed it."),(0,o.kt)("p",null,"Therefore, we do have the same limit on Aurora too. And we're constantly working on improving it. You can read more about how we tackle it\nand calculate the gas prices ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/posts/evm-gas-near-gas-on-aurora"},"here"),"."),(0,o.kt)("p",null,"If you see ",(0,o.kt)("inlineCode",{parentName:"p"},'"error": "wasm execution failed with error: FunctionCallError(HostError(GasLimitExceeded))"'),", it means you've hit that limit."),(0,o.kt)("p",null,"It's often possible to optimize the contract to overcome the issue (reducing transaction batch sizes, optimizing big transactions).\nNowadays we have optimized our contracts so well that the issue is almost non-existent, but it's important to know it could be achieved theoretically."),(0,o.kt)("h3",{id:"i-have-a-few-more-questions-where-can-i-get-help"},"I have a few more questions. Where can I get help?"),(0,o.kt)("p",null,"For support and help with any questions, don't hesitate to reach out on Telegram channels: ",(0,o.kt)("a",{parentName:"p",href:"https://t.me/auroraisnear"},"official channel"),", ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"support in Discord"),", ",(0,o.kt)("a",{parentName:"p",href:"https://t.me/auroraisneardev"},"development channel"),"."))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6dd03e4b.ac3cd2af.js b/assets/js/6dd03e4b.ac3cd2af.js deleted file mode 100644 index 25dc0e14..00000000 --- a/assets/js/6dd03e4b.ac3cd2af.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[9075],{9613:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>m});var r=a(9496);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function s(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var u=r.createContext({}),l=function(e){var t=r.useContext(u),a=t;return e&&(a="function"==typeof e?e(t):s(s({},t),e)),a},d=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},p="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var a=e.components,o=e.mdxType,n=e.originalType,u=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=l(a),c=o,m=p["".concat(u,".").concat(c)]||p[c]||h[c]||n;return a?r.createElement(m,s(s({ref:t},d),{},{components:a})):r.createElement(m,s({ref:t},d))}));function m(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=a.length,s=new Array(n);s[0]=c;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:o,s[1]=i;for(var l=2;l{a.r(t),a.d(t,{assets:()=>u,contentTitle:()=>s,default:()=>h,frontMatter:()=>n,metadata:()=>i,toc:()=>l});var r=a(1163),o=(a(9496),a(9613));const n={sidebar_label:"FAQs",title:"Frequently Asked Questions"},s=void 0,i={unversionedId:"getting-started/faq",id:"getting-started/faq",title:"Frequently Asked Questions",description:"How do I get started with Aurora as a user?",source:"@site/docs/getting-started/faq.md",sourceDirName:"getting-started",slug:"/getting-started/faq",permalink:"/getting-started/faq",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/getting-started/faq.md",tags:[],version:"current",frontMatter:{sidebar_label:"FAQs",title:"Frequently Asked Questions"},sidebar:"tutorialSidebar",previous:{title:"Explore ecosystem (Aurora+)",permalink:"/getting-started/explore"},next:{title:"Introduction",permalink:"/build-a-dapp/introduction"}},u={},l=[{value:"How do I get started with Aurora as a user?",id:"how-do-i-get-started-with-aurora-as-a-user",level:3},{value:"How do I get started with Aurora as a developer?",id:"how-do-i-get-started-with-aurora-as-a-developer",level:3},{value:"Do you have a faucet to get some ETH for Testnet development?",id:"do-you-have-a-faucet-to-get-some-eth-for-testnet-development",level:3},{value:"How do transaction fees work on Aurora?",id:"how-do-transaction-fees-work-on-aurora",level:3},{value:"How to run your own Aurora Node?",id:"how-to-run-your-own-aurora-node",level:3},{value:"I'm an app developer. Why should I choose Aurora over other EVMs?",id:"im-an-app-developer-why-should-i-choose-aurora-over-other-evms",level:3},{value:"What is Aurora's TPS metric?",id:"what-is-auroras-tps-metric",level:3},{value:"Do you have a limit of gas per transaction?",id:"do-you-have-a-limit-of-gas-per-transaction",level:3},{value:"I have a few more questions. Where can I get help?",id:"i-have-a-few-more-questions-where-can-i-get-help",level:3}],d={toc:l},p="wrapper";function h(e){let{components:t,...a}=e;return(0,o.kt)(p,(0,r.Z)({},d,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h3",{id:"how-do-i-get-started-with-aurora-as-a-user"},"How do I get started with Aurora as a user?"),(0,o.kt)("p",null,"Add Aurora Mainnet network to your MetaMask or any other EVM-compatible wallet ",(0,o.kt)("a",{parentName:"p",href:"https://aurora.dev/start"},"here"),".\nWe also recommend you ",(0,o.kt)("a",{parentName:"p",href:"https://auroracloud.dev/pass"},"download the Aurora Pass wallet")," to get 50 free transactions every month and to have the best mobile wallet experience.\nYou can read more about Aurora Pass ",(0,o.kt)("a",{parentName:"p",href:"/onboard/introduction"},"here"),"."),(0,o.kt)("p",null,"After that, you can start exploring the ecosystem:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Take a look at the ",(0,o.kt)("a",{parentName:"li",href:"/getting-started/explore"},"Aurora+")," and its possibilities: swapping, staking, on-ramping, lending, etc."),(0,o.kt)("li",{parentName:"ul"},"Try using ",(0,o.kt)("a",{parentName:"li",href:"https://rainbowbridge.app/"},"RainbowBridge")," to transfer your assets between Ethereum, Near and Aurora."),(0,o.kt)("li",{parentName:"ul"},"On-ramp using CEXes using ","[Forwarder]","(/ launch-chain/forwarder/how-to-use/general)."),(0,o.kt)("li",{parentName:"ul"},"Learn more about different projects on our ",(0,o.kt)("a",{parentName:"li",href:"https://aurora.dev/ecosystem"},"Ecosystem Page"),".")),(0,o.kt)("h3",{id:"how-do-i-get-started-with-aurora-as-a-developer"},"How do I get started with Aurora as a developer?"),(0,o.kt)("p",null,"Explore the documentation on this site, and also visit our ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/"},"DevPortal"),", take a look at:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/ecosystem"},"DevTools Ecosystem")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/blog"},"The Dev Portal Blog")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/posts/getting-started-with-aurora"},"Getting Started Article")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://dev.aurora.dev/posts/how-to-get-usdc-tokens-on-aurora-testnet"},"Tutorial about getting ERC-20 testnet tokens"))),(0,o.kt)("h3",{id:"do-you-have-a-faucet-to-get-some-eth-for-testnet-development"},"Do you have a faucet to get some ETH for Testnet development?"),(0,o.kt)("p",null,"To request some ETH on Aurora Testnet, go to ",(0,o.kt)("a",{parentName:"p",href:"https://aurora.dev/faucet"},"Aurora Testnet Faucet"),"\nFor a regular development 0.001ETH is more than enough to start with, notice that the gas price is 0.07Gwei only.\nBut if you will need a lot more - just let our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team")," know."),(0,o.kt)("h3",{id:"how-do-transaction-fees-work-on-aurora"},"How do transaction fees work on Aurora?"),(0,o.kt)("p",null,"The base fee token of Aurora is ETH, which will make your users feel right at home.\nBy leveraging the underlying low-cost capabilities of the Near Protocol, Aurora transactions will typically cost pennies (~$0.02). The gas cost is always constant on Aurora, there is no gas auction.\nCurrently, it equals 0.07GWei.\nYou read more about how it is calculated ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/posts/evm-gas-near-gas-on-aurora"},"here"),"."),(0,o.kt)("h3",{id:"how-to-run-your-own-aurora-node"},"How to run your own Aurora Node?"),(0,o.kt)("p",null,"If you feel like you need to run an Aurora Node yourself, please use ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/aurora-is-near/standalone-rpc/"},"this setup"),".\nThe hardware requirements for the node are the same as for ",(0,o.kt)("a",{parentName:"p",href:"https://docs.near.org/docs/develop/node/rpc/hardware-rpc#recommended-hardware-specifications"},"NEAR RPC Node"),"\nthough we recommend having 20-30% more storage. You can also read ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/posts/spinning-up-your-own-aurora-node"},"a detailed article about the node setup"),"."),(0,o.kt)("h3",{id:"im-an-app-developer-why-should-i-choose-aurora-over-other-evms"},"I'm an app developer. Why should I choose Aurora over other EVMs?"),(0,o.kt)("p",null,"Aurora was built by the same team that created the Near Protocol, considered to be among the most highly regarded blockchain technologies in the crypto space.\nAlthough created at Near, Aurora exists as a separate entity, governed by the decentralized AuroraDAO, and is leveraging the unique underlying Near technologies to\nalign incentives of the network, product owners, and end users.\nWhen you choose to deploy your app on Aurora, you\u2019re partnering with a highly capable and dedicated organization, and\nbuilding upon a technical foundation that will scale to meet all your future needs."),(0,o.kt)("h3",{id:"what-is-auroras-tps-metric"},"What is Aurora's TPS metric?"),(0,o.kt)("p",null,"To answer that question we need to understand how gas on Near works. It can be thought as a computation time: 1 Tgas ~ 1 ms. So you can consider the TPS as a gas-related quantity.\nFor example, if your transactions are on average 10Tgas, then 1 will take 10ms, so you can do 100 such per second. So on Aurora, we have a computation-dependent TPS metric.\nIt could be scaled by using more shards of Near and deploying more ",(0,o.kt)("a",{parentName:"p",href:"/launch-chain/introduction"},"Aurora Chains")," to handle the load.\nOn average, we can provide you dozens of millions of transactions daily for your ecosystem \u2013 300-500TPS per 1 instance of the Aurora chain running."),(0,o.kt)("h3",{id:"do-you-have-a-limit-of-gas-per-transaction"},"Do you have a limit of gas per transaction?"),(0,o.kt)("p",null,"The specifics of Near Protocol is that it has a time-based limitation for the gas per block. So, 1PGas is equal to 1s of the computation time on Near.\nOr equivalently - 1 block. Every transaction on Near has a 300TGas limit and can not exceed it."),(0,o.kt)("p",null,"Therefore, we do have the same limit on Aurora too. And we're constantly working on improving it. You can read more about how we tackle it\nand calculate the gas prices ",(0,o.kt)("a",{parentName:"p",href:"https://dev.aurora.dev/posts/evm-gas-near-gas-on-aurora"},"here"),"."),(0,o.kt)("p",null,"If you see ",(0,o.kt)("inlineCode",{parentName:"p"},'"error": "wasm execution failed with error: FunctionCallError(HostError(GasLimitExceeded))"'),", it means you've hit that limit."),(0,o.kt)("p",null,"It's often possible to optimize the contract to overcome the issue (reducing transaction batch sizes, optimizing big transactions).\nNowadays we have optimized our contracts so well that the issue is almost non-existent, but it's important to know it could be achieved theoretically."),(0,o.kt)("h3",{id:"i-have-a-few-more-questions-where-can-i-get-help"},"I have a few more questions. Where can I get help?"),(0,o.kt)("p",null,"For support and help with any questions, don't hesitate to reach out on Telegram channels: ",(0,o.kt)("a",{parentName:"p",href:"https://t.me/auroraisnear"},"official channel"),", ",(0,o.kt)("a",{parentName:"p",href:"https://discord.aurora.dev/"},"support in Discord"),", ",(0,o.kt)("a",{parentName:"p",href:"https://t.me/auroraisneardev"},"development channel"),"."))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7249c7be.ff3b4dd3.js b/assets/js/7249c7be.3f1df5f6.js similarity index 97% rename from assets/js/7249c7be.ff3b4dd3.js rename to assets/js/7249c7be.3f1df5f6.js index 890afebe..b6234064 100644 --- a/assets/js/7249c7be.ff3b4dd3.js +++ b/assets/js/7249c7be.3f1df5f6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[4617],{9613:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>b});var a=r(9496);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),u=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=u(e.components);return a.createElement(l.Provider,{value:t},e.children)},p="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=u(r),c=n,b=p["".concat(l,".").concat(c)]||p[c]||h[c]||o;return r?a.createElement(b,i(i({ref:t},d),{},{components:r})):a.createElement(b,i({ref:t},d))}));function b(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,i=new Array(o);i[0]=c;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:n,i[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>u});var a=r(1163),n=(r(9496),r(9613));const o={sidebar_label:"Troubleshooting",title:"Troubleshooting"},i=void 0,s={unversionedId:"bridge/troubleshooting",id:"bridge/troubleshooting",title:"Troubleshooting",description:"How bridging tokens between Ethereum and Aurora work?",source:"@site/docs/bridge/troubleshooting.md",sourceDirName:"bridge",slug:"/bridge/troubleshooting",permalink:"/bridge/troubleshooting",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/bridge/troubleshooting.md",tags:[],version:"current",frontMatter:{sidebar_label:"Troubleshooting",title:"Troubleshooting"},sidebar:"tutorialSidebar",previous:{title:"Advanced features",permalink:"/bridge/advanced"},next:{title:"Introduction",permalink:"/launch-chain/introduction"}},l={},u=[{value:"How bridging tokens between Ethereum and Aurora work?",id:"how-bridging-tokens-between-ethereum-and-aurora-work",level:3},{value:"Which tokens are supported with Rainbow Bridge?",id:"which-tokens-are-supported-with-rainbow-bridge",level:3},{value:"How to add my assets to the bridge?",id:"how-to-add-my-assets-to-the-bridge",level:3},{value:"How long will transfers take?",id:"how-long-will-transfers-take",level:3},{value:"Am I able to initiate multiple transfers via Rainbow Bridge in parallel?",id:"am-i-able-to-initiate-multiple-transfers-via-rainbow-bridge-in-parallel",level:3},{value:"I have a few more questions. Where can I get help?",id:"i-have-a-few-more-questions-where-can-i-get-help",level:3}],d={toc:u},p="wrapper";function h(e){let{components:t,...r}=e;return(0,n.kt)(p,(0,a.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h3",{id:"how-bridging-tokens-between-ethereum-and-aurora-work"},"How bridging tokens between Ethereum and Aurora work?"),(0,n.kt)("p",null,"You need to select the direction of transfer, the token you want to transfer, and the amount.\nYour address on Aurora will be the same as your Ethereum address. The Rainbow Bridge could be used with MetaMask, Aurora Pass or any other WalletConnect compatible wallet.\nYou can add Aurora as an network to MetaMask ",(0,n.kt)("a",{parentName:"p",href:"https://aurora.dev/start"},"here"),"."),(0,n.kt)("h3",{id:"which-tokens-are-supported-with-rainbow-bridge"},"Which tokens are supported with Rainbow Bridge?"),(0,n.kt)("p",null,"You can find the list of supported tokens ",(0,n.kt)("a",{parentName:"p",href:"https://aurora.dev/tokens"},"here"),"."),(0,n.kt)("h3",{id:"how-to-add-my-assets-to-the-bridge"},"How to add my assets to the bridge?"),(0,n.kt)("p",null,"We have this ",(0,n.kt)("a",{parentName:"p",href:"https://rainbowbridge.app/deploy"},"UI interface")," to deploy and view bridge tokens.\nJust follow the steps there to deploy your own token from Near or Ethereum chains.\nAfter that, please provide the metadata by creating a PR in ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/aurora-is-near/bridge-assets"},"bridge-assets"),". Then, when our team will merge it - your token will be ready to be bridged."),(0,n.kt)("h3",{id:"how-long-will-transfers-take"},"How long will transfers take?"),(0,n.kt)("p",null,"To ensure security, transfers to Aurora take about 20 minutes, and transfers back to Ethereum take about a 4-8 hours.\nIn the case of using the Fast Bridge option, transfers to Ethereum take only a few minutes."),(0,n.kt)("h3",{id:"am-i-able-to-initiate-multiple-transfers-via-rainbow-bridge-in-parallel"},"Am I able to initiate multiple transfers via Rainbow Bridge in parallel?"),(0,n.kt)("p",null,"Yes! Since confirmation of transfer can take a while, you\u2019ll be able to initiate any number of concurrent transfers."),(0,n.kt)("h3",{id:"i-have-a-few-more-questions-where-can-i-get-help"},"I have a few more questions. Where can I get help?"),(0,n.kt)("p",null,"For support and help with any questions, don't hesitate to reach out on Telegram channels: ",(0,n.kt)("a",{parentName:"p",href:"https://t.me/auroraisnear"},"official channel"),", ",(0,n.kt)("a",{parentName:"p",href:"https://discord.aurora.dev/"},"support in Discord"),", ",(0,n.kt)("a",{parentName:"p",href:"https://t.me/auroraisneardev"},"development channel"),"."))}h.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[4617],{9613:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>b});var a=r(9496);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),u=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=u(e.components);return a.createElement(l.Provider,{value:t},e.children)},p="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=u(r),c=n,b=p["".concat(l,".").concat(c)]||p[c]||h[c]||o;return r?a.createElement(b,i(i({ref:t},d),{},{components:r})):a.createElement(b,i({ref:t},d))}));function b(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,i=new Array(o);i[0]=c;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:n,i[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>u});var a=r(1163),n=(r(9496),r(9613));const o={sidebar_label:"Troubleshooting",title:"Troubleshooting"},i=void 0,s={unversionedId:"bridge/troubleshooting",id:"bridge/troubleshooting",title:"Troubleshooting",description:"How bridging tokens between Ethereum and Aurora work?",source:"@site/docs/bridge/troubleshooting.md",sourceDirName:"bridge",slug:"/bridge/troubleshooting",permalink:"/bridge/troubleshooting",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/bridge/troubleshooting.md",tags:[],version:"current",frontMatter:{sidebar_label:"Troubleshooting",title:"Troubleshooting"},sidebar:"tutorialSidebar",previous:{title:"Advanced features",permalink:"/bridge/advanced"},next:{title:"Introduction",permalink:"/launch-chain/introduction"}},l={},u=[{value:"How bridging tokens between Ethereum and Aurora work?",id:"how-bridging-tokens-between-ethereum-and-aurora-work",level:3},{value:"Which tokens are supported with Rainbow Bridge?",id:"which-tokens-are-supported-with-rainbow-bridge",level:3},{value:"How to add my assets to the bridge?",id:"how-to-add-my-assets-to-the-bridge",level:3},{value:"How long will transfers take?",id:"how-long-will-transfers-take",level:3},{value:"Am I able to initiate multiple transfers via Rainbow Bridge in parallel?",id:"am-i-able-to-initiate-multiple-transfers-via-rainbow-bridge-in-parallel",level:3},{value:"I have a few more questions. Where can I get help?",id:"i-have-a-few-more-questions-where-can-i-get-help",level:3}],d={toc:u},p="wrapper";function h(e){let{components:t,...r}=e;return(0,n.kt)(p,(0,a.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h3",{id:"how-bridging-tokens-between-ethereum-and-aurora-work"},"How bridging tokens between Ethereum and Aurora work?"),(0,n.kt)("p",null,"You need to select the direction of transfer, the token you want to transfer, and the amount.\nYour address on Aurora will be the same as your Ethereum address. The Rainbow Bridge could be used with MetaMask, Aurora Pass or any other WalletConnect compatible wallet.\nYou can add Aurora as an network to MetaMask ",(0,n.kt)("a",{parentName:"p",href:"https://aurora.dev/start"},"here"),"."),(0,n.kt)("h3",{id:"which-tokens-are-supported-with-rainbow-bridge"},"Which tokens are supported with Rainbow Bridge?"),(0,n.kt)("p",null,"You can find the list of supported tokens ",(0,n.kt)("a",{parentName:"p",href:"https://aurora.dev/tokens"},"here"),"."),(0,n.kt)("h3",{id:"how-to-add-my-assets-to-the-bridge"},"How to add my assets to the bridge?"),(0,n.kt)("p",null,"We have this ",(0,n.kt)("a",{parentName:"p",href:"https://rainbowbridge.app/deploy"},"UI interface")," to deploy and view bridge tokens.\nJust follow the steps there to deploy your own token from Near or Ethereum chains.\nAfter that, please provide the metadata by creating a PR in ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/aurora-is-near/bridge-assets"},"bridge-assets"),". Then, when our team will merge it - your token will be ready to be bridged."),(0,n.kt)("h3",{id:"how-long-will-transfers-take"},"How long will transfers take?"),(0,n.kt)("p",null,"To ensure security, transfers to Aurora take about 20 minutes, and transfers back to Ethereum take about a 4-8 hours.\nIn the case of using the Fast Bridge option, transfers to Ethereum take only a few minutes."),(0,n.kt)("h3",{id:"am-i-able-to-initiate-multiple-transfers-via-rainbow-bridge-in-parallel"},"Am I able to initiate multiple transfers via Rainbow Bridge in parallel?"),(0,n.kt)("p",null,"Yes! Since confirmation of transfer can take a while, you\u2019ll be able to initiate any number of concurrent transfers."),(0,n.kt)("h3",{id:"i-have-a-few-more-questions-where-can-i-get-help"},"I have a few more questions. Where can I get help?"),(0,n.kt)("p",null,"For support and help with any questions, don't hesitate to reach out on Telegram channels: ",(0,n.kt)("a",{parentName:"p",href:"https://t.me/auroraisnear"},"official channel"),", ",(0,n.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"support in Discord"),", ",(0,n.kt)("a",{parentName:"p",href:"https://t.me/auroraisneardev"},"development channel"),"."))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8abd67b1.9d712cb2.js b/assets/js/8abd67b1.8e149bc7.js similarity index 99% rename from assets/js/8abd67b1.9d712cb2.js rename to assets/js/8abd67b1.8e149bc7.js index 8e3a9724..9e4ff421 100644 --- a/assets/js/8abd67b1.9d712cb2.js +++ b/assets/js/8abd67b1.8e149bc7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[337],{9613:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>h});var o=n(9496);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=o.createContext({}),s=function(e){var t=o.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return o.createElement(p.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},m=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,p=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),c=s(n),m=a,h=c["".concat(p,".").concat(m)]||c[m]||u[m]||r;return n?o.createElement(h,i(i({ref:t},d),{},{components:n})):o.createElement(h,i({ref:t},d))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=m;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[c]="string"==typeof e?e:a,i[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>l,toc:()=>s});var o=n(1163),a=(n(9496),n(9613));const r={title:"Promo Widget"},i="Promo Widget",l={unversionedId:"onboard/promo-widget",id:"onboard/promo-widget",title:"Promo Widget",description:"If you develop a DApp, you will need a way to get your users to install the Aurora Pass application on their phones. We have created a widget to simplify this step.",source:"@site/docs/onboard/promo-widget.md",sourceDirName:"onboard",slug:"/onboard/promo-widget",permalink:"/onboard/promo-widget",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/promo-widget.md",tags:[],version:"current",frontMatter:{title:"Promo Widget"},sidebar:"tutorialSidebar",previous:{title:"RainbowKit",permalink:"/onboard/wallets/rainbowkit"},next:{title:"Troubleshooting",permalink:"/onboard/troubleshooting"}},p={},s=[{value:"Quick integration guide",id:"quick-integration-guide",level:2},{value:"Detailed integration guide",id:"detailed-integration-guide",level:2},{value:"What should be called in the onComplete function?",id:"what-should-be-called-in-the-oncomplete-function",level:3},{value:"Examples of integration",id:"examples-of-integration",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}],d={toc:s},c="wrapper";function u(e){let{components:t,...r}=e;return(0,a.kt)(c,(0,o.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"promo-widget"},"Promo Widget"),(0,a.kt)("p",null,"If you develop a DApp, you will need a way to get your users to install the Aurora Pass application on their phones. We have created a widget to simplify this step.\nThis modal leads a user to download the wallet application for iOS or Android by scanning a QR code:"),(0,a.kt)("p",null,(0,a.kt)("img",{alt:"ap_widget_qr_and_main",src:n(5436).Z,width:"3212",height:"1576"})),(0,a.kt)("p",null,"Users can always say they already have the wallet installed, and this popup won't be shown for them next time."),(0,a.kt)("h2",{id:"quick-integration-guide"},"Quick integration guide"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},"Load a script from this ",(0,a.kt)("a",{parentName:"li",href:"https://pass.auroracloud.dev/promo.js"},"link"),", and import it to your project."),(0,a.kt)("li",{parentName:"ol"},"This adds a function to the ",(0,a.kt)("inlineCode",{parentName:"li"},"window")," object called ",(0,a.kt)("inlineCode",{parentName:"li"},"openPromo"),"."),(0,a.kt)("li",{parentName:"ol"},"To open the widget, call ",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo")," and pass the ",(0,a.kt)("inlineCode",{parentName:"li"},"onComplete")," function as a parameter ",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo({ onComplete: function })")),(0,a.kt)("li",{parentName:"ol"},"You can also check if the function is available before calling it ",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo ? window.openPromo({ onComplete: function }) : function()")),(0,a.kt)("li",{parentName:"ol"},"Optionally, you can hide the ",(0,a.kt)("em",{parentName:"li"},"Update your app")," header by passing the ",(0,a.kt)("inlineCode",{parentName:"li"},"hideUpdateAppBlock")," variable via the ",(0,a.kt)("inlineCode",{parentName:"li"},"config")," argument:\n",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo({ onComplete: () => {...}, config: {hideUpdateAppBlock: true}})"))),(0,a.kt)("p",null,"You can also find the same instructions ",(0,a.kt)("a",{parentName:"p",href:"https://pass.auroracloud.dev/"},"here"),".\nA more detailed example of integration is below."),(0,a.kt)("h2",{id:"detailed-integration-guide"},"Detailed integration guide"),(0,a.kt)("p",null,"In the case of building a React app, you can add the ",(0,a.kt)("inlineCode",{parentName:"p"},"promo.js")," script to it by using the ",(0,a.kt)("inlineCode",{parentName:"p"},"useEffect")," hook like this:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'...\nimport { useEffect } from "react";\n\nlet scriptAdded = false;\n\nfunction App() {\n useEffect(() => {\n if(!scriptAdded) {\n const script = document.createElement("script");\n script.src = "https://pass.auroracloud.dev/promo.js";\n script.async = true;\n document.body.appendChild(script);\n }\n }, []);\n\n ...\n}\n')),(0,a.kt)("admonition",{type:"note"},(0,a.kt)("p",{parentName:"admonition"},"We assume the project we're working on here is a default ",(0,a.kt)("inlineCode",{parentName:"p"},"create-react-app")," application to simplify things. You can read more about it ",(0,a.kt)("a",{parentName:"p",href:"https://create-react-app.dev/docs/getting-started/"},"here"),".")),(0,a.kt)("p",null,"Then, let's add a function ",(0,a.kt)("inlineCode",{parentName:"p"},"openModal")," to display our Promo Widget just after the imports somewhere:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'...\nconst openWeb3Modal = () => {\n alert("Just a placeholder for now. We will add Web3Modal here later.")\n};\n\nconst openWidget = () => {\n window.openPromo\n ? window.openPromo({ onComplete: openWeb3Modal, config: {hideUpdateAppBlock: true} })\n : openWeb3Modal()\n}\n...\n')),(0,a.kt)("p",null,"Now, we can set the ",(0,a.kt)("inlineCode",{parentName:"p"},"onClick")," attribute of one of our UI components to display the modal. We can re-use the already existing ",(0,a.kt)("inlineCode",{parentName:"p"},"App-link")," element to use the ",(0,a.kt)("inlineCode",{parentName:"p"},"openWidget")," function:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'\nfunction App() {\n ...\n\n return (\n
\n
\n ...\n \n Open Promo\n \n
\n
\n );\n}\n')),(0,a.kt)("p",null,"If you click on the ",(0,a.kt)("inlineCode",{parentName:"p"},"Open Promo")," link, you will be able to see the Promo Widget now:\n",(0,a.kt)("img",{alt:"ap_widget_example_1",src:n(9789).Z,width:"3008",height:"1602"})),(0,a.kt)("p",null,"And then, if you click further on the 'Skip, I have a wallet' button, you will see the placeholder message about Web3Modal:\n",(0,a.kt)("img",{alt:"ap_widget_example_1",src:n(1112).Z,width:"2984",height:"1610"})),(0,a.kt)("p",null,"You can also look at the more extensive ",(0,a.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#integrate-web3modal"},"integration example here")," to learn how to add Web3Modal to your project,\nparticular section describing it is ",(0,a.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#add-web3modal"},"here"),"."),(0,a.kt)("h3",{id:"what-should-be-called-in-the-oncomplete-function"},"What should be called in the ",(0,a.kt)("inlineCode",{parentName:"h3"},"onComplete")," function?"),(0,a.kt)("p",null,"The widget calls any function you pass to it. So you could pass anything to it, whether that\u2019s opening Web3Modal or RainbowKit popups or any other function.\nBut it works best and is meant to be used with WebModal v3 since the modal is styled similarly."),(0,a.kt)("h2",{id:"examples-of-integration"},"Examples of integration"),(0,a.kt)("p",null,"To see the widget in use, visit one of the projects on the list:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://aurora.plus/"},"Aurora+")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://pipeflare.io/flare2-token/spin"},"Pipeflare"))),(0,a.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,a.kt)("p",null,"Please, take a look at our ",(0,a.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page"),". In case you still have questions, please get in touch with our ",(0,a.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),"\non Discord and open a support ticket there."))}u.isMDXComponent=!0},9789:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/ap_widget_example_1-b9b1482dc892cef8a6ebfdb69b249218.png"},1112:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/ap_widget_example_2-3d83c3a762b84aaf65d4818e43ecef3e.png"},5436:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/ap_widget_qr_and_main-3e93d61e63ea59b2893aa10f5acd6888.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[337],{9613:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>h});var o=n(9496);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=o.createContext({}),s=function(e){var t=o.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return o.createElement(p.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},m=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,p=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),c=s(n),m=a,h=c["".concat(p,".").concat(m)]||c[m]||u[m]||r;return n?o.createElement(h,i(i({ref:t},d),{},{components:n})):o.createElement(h,i({ref:t},d))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=m;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[c]="string"==typeof e?e:a,i[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>l,toc:()=>s});var o=n(1163),a=(n(9496),n(9613));const r={title:"Promo Widget"},i="Promo Widget",l={unversionedId:"onboard/promo-widget",id:"onboard/promo-widget",title:"Promo Widget",description:"If you develop a DApp, you will need a way to get your users to install the Aurora Pass application on their phones. We have created a widget to simplify this step.",source:"@site/docs/onboard/promo-widget.md",sourceDirName:"onboard",slug:"/onboard/promo-widget",permalink:"/onboard/promo-widget",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/promo-widget.md",tags:[],version:"current",frontMatter:{title:"Promo Widget"},sidebar:"tutorialSidebar",previous:{title:"RainbowKit",permalink:"/onboard/wallets/rainbowkit"},next:{title:"Troubleshooting",permalink:"/onboard/troubleshooting"}},p={},s=[{value:"Quick integration guide",id:"quick-integration-guide",level:2},{value:"Detailed integration guide",id:"detailed-integration-guide",level:2},{value:"What should be called in the onComplete function?",id:"what-should-be-called-in-the-oncomplete-function",level:3},{value:"Examples of integration",id:"examples-of-integration",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}],d={toc:s},c="wrapper";function u(e){let{components:t,...r}=e;return(0,a.kt)(c,(0,o.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"promo-widget"},"Promo Widget"),(0,a.kt)("p",null,"If you develop a DApp, you will need a way to get your users to install the Aurora Pass application on their phones. We have created a widget to simplify this step.\nThis modal leads a user to download the wallet application for iOS or Android by scanning a QR code:"),(0,a.kt)("p",null,(0,a.kt)("img",{alt:"ap_widget_qr_and_main",src:n(5436).Z,width:"3212",height:"1576"})),(0,a.kt)("p",null,"Users can always say they already have the wallet installed, and this popup won't be shown for them next time."),(0,a.kt)("h2",{id:"quick-integration-guide"},"Quick integration guide"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},"Load a script from this ",(0,a.kt)("a",{parentName:"li",href:"https://pass.auroracloud.dev/promo.js"},"link"),", and import it to your project."),(0,a.kt)("li",{parentName:"ol"},"This adds a function to the ",(0,a.kt)("inlineCode",{parentName:"li"},"window")," object called ",(0,a.kt)("inlineCode",{parentName:"li"},"openPromo"),"."),(0,a.kt)("li",{parentName:"ol"},"To open the widget, call ",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo")," and pass the ",(0,a.kt)("inlineCode",{parentName:"li"},"onComplete")," function as a parameter ",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo({ onComplete: function })")),(0,a.kt)("li",{parentName:"ol"},"You can also check if the function is available before calling it ",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo ? window.openPromo({ onComplete: function }) : function()")),(0,a.kt)("li",{parentName:"ol"},"Optionally, you can hide the ",(0,a.kt)("em",{parentName:"li"},"Update your app")," header by passing the ",(0,a.kt)("inlineCode",{parentName:"li"},"hideUpdateAppBlock")," variable via the ",(0,a.kt)("inlineCode",{parentName:"li"},"config")," argument:\n",(0,a.kt)("inlineCode",{parentName:"li"},"window.openPromo({ onComplete: () => {...}, config: {hideUpdateAppBlock: true}})"))),(0,a.kt)("p",null,"You can also find the same instructions ",(0,a.kt)("a",{parentName:"p",href:"https://pass.auroracloud.dev/"},"here"),".\nA more detailed example of integration is below."),(0,a.kt)("h2",{id:"detailed-integration-guide"},"Detailed integration guide"),(0,a.kt)("p",null,"In the case of building a React app, you can add the ",(0,a.kt)("inlineCode",{parentName:"p"},"promo.js")," script to it by using the ",(0,a.kt)("inlineCode",{parentName:"p"},"useEffect")," hook like this:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'...\nimport { useEffect } from "react";\n\nlet scriptAdded = false;\n\nfunction App() {\n useEffect(() => {\n if(!scriptAdded) {\n const script = document.createElement("script");\n script.src = "https://pass.auroracloud.dev/promo.js";\n script.async = true;\n document.body.appendChild(script);\n }\n }, []);\n\n ...\n}\n')),(0,a.kt)("admonition",{type:"note"},(0,a.kt)("p",{parentName:"admonition"},"We assume the project we're working on here is a default ",(0,a.kt)("inlineCode",{parentName:"p"},"create-react-app")," application to simplify things. You can read more about it ",(0,a.kt)("a",{parentName:"p",href:"https://create-react-app.dev/docs/getting-started/"},"here"),".")),(0,a.kt)("p",null,"Then, let's add a function ",(0,a.kt)("inlineCode",{parentName:"p"},"openModal")," to display our Promo Widget just after the imports somewhere:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'...\nconst openWeb3Modal = () => {\n alert("Just a placeholder for now. We will add Web3Modal here later.")\n};\n\nconst openWidget = () => {\n window.openPromo\n ? window.openPromo({ onComplete: openWeb3Modal, config: {hideUpdateAppBlock: true} })\n : openWeb3Modal()\n}\n...\n')),(0,a.kt)("p",null,"Now, we can set the ",(0,a.kt)("inlineCode",{parentName:"p"},"onClick")," attribute of one of our UI components to display the modal. We can re-use the already existing ",(0,a.kt)("inlineCode",{parentName:"p"},"App-link")," element to use the ",(0,a.kt)("inlineCode",{parentName:"p"},"openWidget")," function:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'\nfunction App() {\n ...\n\n return (\n
\n
\n ...\n \n Open Promo\n \n
\n
\n );\n}\n')),(0,a.kt)("p",null,"If you click on the ",(0,a.kt)("inlineCode",{parentName:"p"},"Open Promo")," link, you will be able to see the Promo Widget now:\n",(0,a.kt)("img",{alt:"ap_widget_example_1",src:n(9789).Z,width:"3008",height:"1602"})),(0,a.kt)("p",null,"And then, if you click further on the 'Skip, I have a wallet' button, you will see the placeholder message about Web3Modal:\n",(0,a.kt)("img",{alt:"ap_widget_example_1",src:n(1112).Z,width:"2984",height:"1610"})),(0,a.kt)("p",null,"You can also look at the more extensive ",(0,a.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#integrate-web3modal"},"integration example here")," to learn how to add Web3Modal to your project,\nparticular section describing it is ",(0,a.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#add-web3modal"},"here"),"."),(0,a.kt)("h3",{id:"what-should-be-called-in-the-oncomplete-function"},"What should be called in the ",(0,a.kt)("inlineCode",{parentName:"h3"},"onComplete")," function?"),(0,a.kt)("p",null,"The widget calls any function you pass to it. So you could pass anything to it, whether that\u2019s opening Web3Modal or RainbowKit popups or any other function.\nBut it works best and is meant to be used with WebModal v3 since the modal is styled similarly."),(0,a.kt)("h2",{id:"examples-of-integration"},"Examples of integration"),(0,a.kt)("p",null,"To see the widget in use, visit one of the projects on the list:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://aurora.plus/"},"Aurora+")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://pipeflare.io/flare2-token/spin"},"Pipeflare"))),(0,a.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,a.kt)("p",null,"Please, take a look at our ",(0,a.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page"),". In case you still have questions, please get in touch with our ",(0,a.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),"\non Discord and open a support ticket there."))}u.isMDXComponent=!0},9789:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/ap_widget_example_1-b9b1482dc892cef8a6ebfdb69b249218.png"},1112:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/ap_widget_example_2-3d83c3a762b84aaf65d4818e43ecef3e.png"},5436:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/ap_widget_qr_and_main-3e93d61e63ea59b2893aa10f5acd6888.png"}}]); \ No newline at end of file diff --git a/assets/js/926614cc.a5d88ac9.js b/assets/js/926614cc.0385e2c0.js similarity index 57% rename from assets/js/926614cc.a5d88ac9.js rename to assets/js/926614cc.0385e2c0.js index c637f999..3ce60d3d 100644 --- a/assets/js/926614cc.a5d88ac9.js +++ b/assets/js/926614cc.0385e2c0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[7309],{9613:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var n=r(9496);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 a(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 i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=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):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=u(r),h=o,m=p["".concat(l,".").concat(h)]||p[h]||d[h]||a;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:o,i[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>u});var n=r(1163),o=(r(9496),r(9613));const a={title:"Introduction"},i="Aurora Pass",s={unversionedId:"onboard/introduction",id:"onboard/introduction",title:"Introduction",description:"Aurora Pass is a mobile cryptocurrency wallet that makes your interactions with Aurora or any of the Aurora Chains easier than ever, whether transferring your assets or using a DApp.",source:"@site/docs/onboard/introduction.md",sourceDirName:"onboard",slug:"/onboard/introduction",permalink:"/onboard/introduction",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/introduction.md",tags:[],version:"current",frontMatter:{title:"Introduction"},sidebar:"tutorialSidebar",previous:{title:"Usage examples",permalink:"/xcc/near-to-aurora/usage-examples"},next:{title:"Integrate Wallet Connect",permalink:"/onboard/wallet-connect"}},l={},u=[{value:"Key Features",id:"key-features",level:2},{value:"Integration",id:"integration",level:2},{value:"Promo Widget",id:"promo-widget",level:2},{value:"Free transactions",id:"free-transactions",level:2},{value:"Security",id:"security",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}],c={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.kt)(p,(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"aurora-pass"},"Aurora Pass"),(0,o.kt)("p",null,"Aurora Pass is a mobile cryptocurrency wallet that makes your interactions with Aurora or any of the Aurora Chains easier than ever, whether transferring your assets or using a DApp.\nIt also helps onboard your users, even ones unfamiliar with the Web3 ecosystem."),(0,o.kt)("h2",{id:"key-features"},"Key Features"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Simple and user-friendly interface."),(0,o.kt)("li",{parentName:"ul"},"50 free transactions for each user per month."),(0,o.kt)("li",{parentName:"ul"},"Secure and non-custodial wallet."),(0,o.kt)("li",{parentName:"ul"},"Send and receive assets on Aurora Mainnet and Aurora Chains."),(0,o.kt)("li",{parentName:"ul"},"View your portfolio balances and recent transactions."),(0,o.kt)("li",{parentName:"ul"},"Connect to DApps via WalletConnect v2.")),(0,o.kt)("h2",{id:"integration"},"Integration"),(0,o.kt)("p",null,"Connecting Aurora Pass to a DApp is done like every other EVM wallet implementing a ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/"},"WalletConnect v2"),".\nSee more info on configuring or adding WalletConnect ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallet-connect"},"here"),"."),(0,o.kt)("p",null,"We propose two options for displaying the wallets for your users: Web3Modal or Rainbow Kit. You can follow the step-by-step integration examples here:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"/onboard/wallets/web3modal#integrate-web3modal"},"Web3Modal Example")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"/onboard/wallets/rainbowkit#integrate-rainbowkit"},"RainbowKit Example"))),(0,o.kt)("p",null,"That will help you to understand better how the different components work together. E.g., wallet modals, promo widgets and UI frameworks."),(0,o.kt)("h2",{id:"promo-widget"},"Promo Widget"),(0,o.kt)("p",null,"Add a ",(0,o.kt)("a",{parentName:"p",href:"/onboard/promo-widget"},"Promo Widget")," to your DApp to allow new users to install Aurora Pass quickly.\nIt will direct a user to download the Aurora Pass application on a mobile phone in the most convenient way."),(0,o.kt)("p",null,"It is optional to add it to your DApp. Otherwise, you will need to implement some other way to lead users to the installation of the wallet.\nWe advise everyone to use it as an onboarding entry point in their DApps."),(0,o.kt)("h2",{id:"free-transactions"},"Free transactions"),(0,o.kt)("p",null,"Aurora Pass requires a login with an email or Apple/Google auth, which will provide them with free transactions on Aurora Mainnet.\nThe basic plan for Aurora Pass users is 50 free transactions per month. This feature is achieved by using the Gasless Management feature of Aurora Chains.\nAt the same time, DApps can also pay for their users\u2019 EOA transaction fees by getting their own gasless deal using our Gasless Management product."),(0,o.kt)("p",null,"If the monthly free transaction limit is reached or the transaction is not sponsored by a DApp, a pack of transactions can be purchased from within the Aurora Pass app.\nCurrently, only one transaction pack is available: 500 free transactions for around $4.99 (the price can depend on the country)."),(0,o.kt)("h2",{id:"security"},"Security"),(0,o.kt)("p",null,"Aurora Pass is a non-custodial crypto wallet, meaning the user will be given a 12-word recovery seed phrase that grants them access to their assets."),(0,o.kt)("p",null,"Users won\u2019t have to save that seed phrase on signup as it is securely saved on the device but can choose to export it anytime.\nExcluding such details provides better onboarding while also giving users the ownership of their assets in a non-custodial way."),(0,o.kt)("p",null,"The seed phrase is the only way to recover access to the wallet in case of loss or when installing the wallet on a new device."),(0,o.kt)("p",null,"Using the wallet requires biometric authentication (e.g., faceID or touchID). In case it is absent, the PIN code for a device will be used.\nThe seed phrase is stored using ",(0,o.kt)("a",{parentName:"p",href:"https://docs.expo.dev/versions/latest/sdk/securestore/"},"expo-secure-store"),":"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"on Android, values are stored in SharedPreferences, encrypted with Android\u2019s Keystore system;"),(0,o.kt)("li",{parentName:"ul"},"on iOS, values are stored using the keychain services.")),(0,o.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,o.kt)("p",null,"If you encounter any issues, please visit our ",(0,o.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page")," to find a solution.\nIn case you still have questions, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),"\non Discord and open a support ticket there."))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[7309],{9613:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var n=r(9496);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(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 i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=u(r),h=a,m=p["".concat(l,".").concat(h)]||p[h]||d[h]||o;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:a,i[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>u});var n=r(1163),a=(r(9496),r(9613));const o={title:"Introduction"},i="Aurora Pass",s={unversionedId:"onboard/introduction",id:"onboard/introduction",title:"Introduction",description:"Aurora Pass is a mobile cryptocurrency wallet that makes your interactions with Aurora or any of the Aurora Chains easier than ever, whether transferring your assets or using a DApp.",source:"@site/docs/onboard/introduction.md",sourceDirName:"onboard",slug:"/onboard/introduction",permalink:"/onboard/introduction",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/introduction.md",tags:[],version:"current",frontMatter:{title:"Introduction"},sidebar:"tutorialSidebar",previous:{title:"Usage examples",permalink:"/xcc/near-to-aurora/usage-examples"},next:{title:"Integrate Wallet Connect",permalink:"/onboard/wallet-connect"}},l={},u=[{value:"Key Features",id:"key-features",level:2},{value:"Integration",id:"integration",level:2},{value:"Promo Widget",id:"promo-widget",level:2},{value:"Free transactions",id:"free-transactions",level:2},{value:"Security",id:"security",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}],c={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,a.kt)(p,(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"aurora-pass"},"Aurora Pass"),(0,a.kt)("p",null,"Aurora Pass is a mobile cryptocurrency wallet that makes your interactions with Aurora or any of the Aurora Chains easier than ever, whether transferring your assets or using a DApp.\nIt also helps onboard your users, even ones unfamiliar with the Web3 ecosystem."),(0,a.kt)("h2",{id:"key-features"},"Key Features"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"Simple and user-friendly interface."),(0,a.kt)("li",{parentName:"ul"},"50 free transactions for each user per month."),(0,a.kt)("li",{parentName:"ul"},"Secure and non-custodial wallet."),(0,a.kt)("li",{parentName:"ul"},"Send and receive assets on Aurora Mainnet and Aurora Chains."),(0,a.kt)("li",{parentName:"ul"},"View your portfolio balances and recent transactions."),(0,a.kt)("li",{parentName:"ul"},"Connect to DApps via WalletConnect v2.")),(0,a.kt)("h2",{id:"integration"},"Integration"),(0,a.kt)("p",null,"Connecting Aurora Pass to a DApp is done like every other EVM wallet implementing a ",(0,a.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/"},"WalletConnect v2"),".\nSee more info on configuring or adding WalletConnect ",(0,a.kt)("a",{parentName:"p",href:"/onboard/wallet-connect"},"here"),"."),(0,a.kt)("p",null,"We propose two options for displaying the wallets for your users: Web3Modal or Rainbow Kit. You can follow the step-by-step integration examples here:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/web3modal#integrate-web3modal"},"Web3Modal Example")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/rainbowkit#integrate-rainbowkit"},"RainbowKit Example"))),(0,a.kt)("p",null,"That will help you to understand better how the different components work together. E.g., wallet modals, promo widgets and UI frameworks."),(0,a.kt)("h2",{id:"promo-widget"},"Promo Widget"),(0,a.kt)("p",null,"Add a ",(0,a.kt)("a",{parentName:"p",href:"/onboard/promo-widget"},"Promo Widget")," to your DApp to allow new users to install Aurora Pass quickly.\nIt will direct a user to download the Aurora Pass application on a mobile phone in the most convenient way."),(0,a.kt)("p",null,"It is optional to add it to your DApp. Otherwise, you will need to implement some other way to lead users to the installation of the wallet.\nWe advise everyone to use it as an onboarding entry point in their DApps."),(0,a.kt)("h2",{id:"free-transactions"},"Free transactions"),(0,a.kt)("p",null,"Aurora Pass requires a login with an email or Apple/Google auth, which will provide them with free transactions on Aurora Mainnet.\nThe basic plan for Aurora Pass users is 50 free transactions per month. This feature is achieved by using the Gasless Management feature of Aurora Chains.\nAt the same time, DApps can also pay for their users\u2019 EOA transaction fees by getting their own gasless deal using our Gasless Management product."),(0,a.kt)("p",null,"If the monthly free transaction limit is reached or the transaction is not sponsored by a DApp, a pack of transactions can be purchased from within the Aurora Pass app.\nCurrently, only one transaction pack is available: 500 free transactions for around $4.99 (the price can depend on the country)."),(0,a.kt)("h2",{id:"security"},"Security"),(0,a.kt)("p",null,"Aurora Pass is a non-custodial crypto wallet, meaning the user will be given a 12-word recovery seed phrase that grants them access to their assets."),(0,a.kt)("p",null,"Users won\u2019t have to save that seed phrase on signup as it is securely saved on the device but can choose to export it anytime.\nExcluding such details provides better onboarding while also giving users the ownership of their assets in a non-custodial way."),(0,a.kt)("p",null,"The seed phrase is the only way to recover access to the wallet in case of loss or when installing the wallet on a new device."),(0,a.kt)("p",null,"Using the wallet requires biometric authentication (e.g., faceID or touchID). In case it is absent, the PIN code for a device will be used.\nThe seed phrase is stored using ",(0,a.kt)("a",{parentName:"p",href:"https://docs.expo.dev/versions/latest/sdk/securestore/"},"expo-secure-store"),":"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"on Android, values are stored in SharedPreferences, encrypted with Android\u2019s Keystore system;"),(0,a.kt)("li",{parentName:"ul"},"on iOS, values are stored using the keychain services.")),(0,a.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,a.kt)("p",null,"If you encounter any issues, please visit our ",(0,a.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page")," to find a solution.\nIn case you still have questions, please get in touch with our ",(0,a.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),"\non Discord and open a support ticket there."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c539f54d.994b57fb.js b/assets/js/c539f54d.241307ba.js similarity index 99% rename from assets/js/c539f54d.994b57fb.js rename to assets/js/c539f54d.241307ba.js index 0836b24b..f77e8902 100644 --- a/assets/js/c539f54d.994b57fb.js +++ b/assets/js/c539f54d.241307ba.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[4934],{9613:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>h});var n=a(9496);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var p=n.createContext({}),s=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},d=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,r=e.originalType,p=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),c=s(a),m=o,h=c["".concat(p,".").concat(m)]||c[m]||u[m]||r;return a?n.createElement(h,l(l({ref:t},d),{},{components:a})):n.createElement(h,l({ref:t},d))}));function h(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=a.length,l=new Array(r);l[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[c]="string"==typeof e?e:o,l[1]=i;for(var s=2;s{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var n=a(1163),o=(a(9496),a(9613));const r={sidebar_label:"Web3Modal",title:"Web3Modal"},l=void 0,i={unversionedId:"onboard/wallets/web3modal",id:"onboard/wallets/web3modal",title:"Web3Modal",description:"The Web3Modal lets you easily add the wallets to your DApp.",source:"@site/docs/onboard/wallets/web3modal.md",sourceDirName:"onboard/wallets",slug:"/onboard/wallets/web3modal",permalink:"/onboard/wallets/web3modal",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/wallets/web3modal.md",tags:[],version:"current",frontMatter:{sidebar_label:"Web3Modal",title:"Web3Modal"},sidebar:"tutorialSidebar",previous:{title:"Integrate Wallet Connect",permalink:"/onboard/wallet-connect"},next:{title:"RainbowKit",permalink:"/onboard/wallets/rainbowkit"}},p={},s=[{value:"Add Aurora Pass",id:"add-aurora-pass",level:2},{value:"Integrate Web3Modal",id:"integrate-web3modal",level:2},{value:"Create a simple React app",id:"create-a-simple-react-app",level:3},{value:"Add Aurora Promo Widget",id:"add-aurora-promo-widget",level:3},{value:"Add Web3Modal",id:"add-web3modal",level:3},{value:"Import libraries and get projectId",id:"import-libraries-and-get-projectid",level:4},{value:"Add Web3Modal component",id:"add-web3modal-component",level:4},{value:"Display Web3Modal",id:"display-web3modal",level:4},{value:"Add AuroraPass to your wallet list",id:"add-aurorapass-to-your-wallet-list",level:3},{value:"Display the connection status in DApp",id:"display-the-connection-status-in-dapp",level:3},{value:"Troubleshooting",id:"troubleshooting",level:2}],d={toc:s},c="wrapper";function u(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"The ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal")," lets you easily add the wallets to your DApp.\nIt provides a simple and intuitive interface for DApps to request actions on the blockchain, such as signing transactions and interacting with smart contracts."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"web3modal",src:a(5008).Z,width:"3000",height:"1500"})),(0,o.kt)("h2",{id:"add-aurora-pass"},"Add Aurora Pass"),(0,o.kt)("p",null,"You can add Aurora Pass as a recommended wallet to your Web3Modal by using the corresponding configuration option:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"For Web3Modal v3, use the ",(0,o.kt)("inlineCode",{parentName:"li"},"includeWalletIds")," option. More info can be found ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/react/options#includewalletids--excludewalletids"},"here"),"."),(0,o.kt)("li",{parentName:"ol"},"For Web3Modal v2, use the ",(0,o.kt)("inlineCode",{parentName:"li"},"explorerRecommendedWalletIds")," option. About it, please read ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/v2/react/wagmi/options#explorerrecommendedwalletids-optional"},"here"),"."),(0,o.kt)("li",{parentName:"ol"},"Copy and paste the Wallet ID of the Aurora Pass wallet to your Web3Modal option. You can find it ",(0,o.kt)("a",{parentName:"li",href:"https://explorer.walletconnect.com/aurora-pass"},"here")," or copy it directly:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694\n")),(0,o.kt)("p",null,"You can find an example of adding the Aurora Pass Wallet ID in the integration example ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#add-aurorapass-to-your-wallet-list"},"below"),"."),(0,o.kt)("h2",{id:"integrate-web3modal"},"Integrate Web3Modal"),(0,o.kt)("p",null,"In this section, we will go through the development of a simple ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal")," example to use Aurora Pass in a DApp."),(0,o.kt)("p",null,"We will use Wagmi and React as a base for our DApp. You can take a look at the ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal Docs")," to learn more about other variants."),(0,o.kt)("h3",{id:"create-a-simple-react-app"},"Create a simple React app"),(0,o.kt)("p",null,"To start, let's create a React application by using ",(0,o.kt)("inlineCode",{parentName:"p"},"create-react-app"),". Of course, you can use your existing codebase instead. We're doing this just for demonstration purposes.\nYou will need to run in your terminal:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npx create-react-app aurora-pass-example\ncd aurora-pass-example\nnpm start\n")),(0,o.kt)("p",null,"Your React app will be running now at ",(0,o.kt)("inlineCode",{parentName:"p"},"http://localhost:3000"),". Just open that link in your browser to see the UI.\nYou can read more about the ",(0,o.kt)("inlineCode",{parentName:"p"},"create-react-app")," ",(0,o.kt)("a",{parentName:"p",href:"https://create-react-app.dev/docs/getting-started/"},"here")," for more details."),(0,o.kt)("h3",{id:"add-aurora-promo-widget"},"Add Aurora Promo Widget"),(0,o.kt)("p",null,"We are discussing the Promo Widget in detail in ",(0,o.kt)("a",{parentName:"p",href:"/onboard/promo-widget"},"this article"),", please look at the code section ",(0,o.kt)("a",{parentName:"p",href:"/onboard/promo-widget#detailed-integration-guide"},"here"),"\nand add the Promo Widget popup to your DApp. The main goal of having is to allow users to install the Aurora Pass app in the easiest possible way.\nAfter this, we can continue with adding Web3Modal to the project."),(0,o.kt)("h3",{id:"add-web3modal"},"Add Web3Modal"),(0,o.kt)("p",null,"We will closely follow the ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/react/about?platform=wagmi"},"Web3Model Wagmi v2 documentation")," here."),(0,o.kt)("h4",{id:"import-libraries-and-get-projectid"},"Import libraries and get projectId"),(0,o.kt)("p",null,"First, let's add some new packages to the project:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npm install @web3modal/wagmi@4.0.0-alpha.0 wagmi viem @tanstack/react-query\n")),(0,o.kt)("p",null,"Now, sign up at ",(0,o.kt)("a",{parentName:"p",href:"https://cloud.walletconnect.com/sign-in"},"WalletConnect Cloud")," to get a WalletConnect ",(0,o.kt)("inlineCode",{parentName:"p"},"projectId"),". You will get some random string like ",(0,o.kt)("inlineCode",{parentName:"p"},"4aee871f7a80f1ff5c7892226bd3ascd"),"."),(0,o.kt)("h4",{id:"add-web3modal-component"},"Add Web3Modal component"),(0,o.kt)("p",null,"Now, let's create a file with a Web3Modal component:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/Web3Modal.js"',title:'"aurora-pass-example/src/Web3Modal.js"'},"import { createWeb3Modal, defaultWagmiConfig } from '@web3modal/wagmi/react'\nimport { WagmiProvider } from 'wagmi'\nimport { aurora, mainnet } from 'wagmi/chains'\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query'\n\n// Setup queryClient\nconst queryClient = new QueryClient()\n\n// Get projectId at https://cloud.walletconnect.com\nconst projectId = 'YOUR_PROJECT_ID_GOES_HERE';\n\n// Create wagmiConfig\nconst metadata = {\n name: 'Web3Modal',\n description: 'Web3Modal Example',\n url: 'https://web3modal.com',\n icons: ['https://avatars.githubusercontent.com/u/37784886']\n}\n\nconst chains = [mainnet, aurora]\n\nconst wagmiConfig = defaultWagmiConfig({\n chains,\n projectId,\n metadata\n})\n\n// Create modal\ncreateWeb3Modal({ wagmiConfig, projectId, chains})\n\n// Export component\nexport default function Web3Modal({ children }) {\n return (\n \n {children}\n \n )\n}\n")),(0,o.kt)("p",null,"Now, we can use the Web3Modal component in our app. First, notice that we need to wrap the part of the app into it using the ",(0,o.kt)("inlineCode",{parentName:"p"},"wagmi")," hooks. In this case, we are wrapping it fully into it:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'\nfunction App() {\n ...\n\n return (\n
\n \n
\n ...\n
\n
\n
\n );\n}\n')),(0,o.kt)("p",null,"But we still need to display the popup. How can we do it?"),(0,o.kt)("h4",{id:"display-web3modal"},"Display Web3Modal"),(0,o.kt)("p",null,"To open the wallets popup, let's use the ",(0,o.kt)("inlineCode",{parentName:"p"},"useWeb3Modal")," hook inside the App component, to be more specific \u2013 the ",(0,o.kt)("inlineCode",{parentName:"p"},"open")," function it provides.\nWe also need to edit a bit our old ",(0,o.kt)("inlineCode",{parentName:"p"},"openWidget")," function to accept the ",(0,o.kt)("inlineCode",{parentName:"p"},"onComplete")," argument and pass there the ",(0,o.kt)("inlineCode",{parentName:"p"},"open")," function:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'import { useWeb3Modal } from \'@web3modal/wagmi/react\';\n\nconst openWidget = (onComplete) => {\n window.openPromo\n ? window.openPromo({ onComplete: onComplete, config: {hideUpdateAppBlock: true} })\n : onComplete()\n}\n\nfunction App() {\n ...\n \n const { open } = useWeb3Modal()\n return (\n
\n \n
\n ...\n openWidget(open)}\n >\n Open Promo\n \n ...\n
\n
\n
\n );\n}\n')),(0,o.kt)("p",null,"You can also safely remove the ",(0,o.kt)("inlineCode",{parentName:"p"},"openWeb3Modal")," function we previously had with just a placeholder alert."),(0,o.kt)("p",null,"If you go into your App now, you will be able to see the WalletConnect popup appearing after you click the 'Skip' button in the AuroraPass widget:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_default_modal",src:a(4727).Z,width:"3024",height:"916"})),(0,o.kt)("p",null,"But it will still need to contain the AuroraPass. Let's add it there."),(0,o.kt)("h3",{id:"add-aurorapass-to-your-wallet-list"},"Add AuroraPass to your wallet list"),(0,o.kt)("p",null,"You can read more about the different options on how to add the Aurora Pass to your Web3Modal ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#add-aurora-pass"},"here"),"."),(0,o.kt)("p",null,"We have Web3Modal v3 in our case, so let's use ",(0,o.kt)("inlineCode",{parentName:"p"},"includeWalletIds")," and modify the ",(0,o.kt)("inlineCode",{parentName:"p"},"Web3Modal.js")," file:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/Web3Modal.js',title:'"aurora-pass-example/src/Web3Modal.js'},"let options = {\n defaultChain: aurora, // we can set it to make sure we are using Aurora mainnet by default\n includeWalletIds: [\n 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96', //Metamask\n '76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694', //AuroraPass\n ]};\n\n// pass the 'options' here as the last argument\ncreateWeb3Modal({ wagmiConfig, projectId, chains, ...options})\n\n")),(0,o.kt)("p",null,"If we re-open the Web3Modal now, we will see the AuroraPass wallet there:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_visible",src:a(1908).Z,width:"3024",height:"1074"})),(0,o.kt)("p",null,"Now, we can try connecting our wallet via the QR code:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_qr",src:a(6137).Z,width:"2998",height:"1280"})),(0,o.kt)("p",null,"But we won't see if the connection was successful yet because we need something to display that. The popup will close, and we will see the App's initial screen:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_connected_no_ui",src:a(8994).Z,width:"3024",height:"1200"})),(0,o.kt)("h3",{id:"display-the-connection-status-in-dapp"},"Display the connection status in DApp"),(0,o.kt)("p",null,"Let's fix it by replacing the 'Edit src/App.js and save to reload' label with a simple ",(0,o.kt)("inlineCode",{parentName:"p"},"Account")," component showing us if we have connected to the DApp already.\nWe can do that inside the App component file right away by using ",(0,o.kt)("inlineCode",{parentName:"p"},"useAccount")," wagmi hook:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js',title:'"aurora-pass-example/src/App.js'},"...\nimport { useAccount } from 'wagmi'\n...\n\nfunction Account () {\n const { address, isConnecting, isDisconnected } = useAccount();\n if (isConnecting) return
Connecting...
\n if (isDisconnected) return
Disconnected
\n return
{address}
\n}\n\nfunction App() {\n ...\n return (\n
\n \n
\n ...\n \x3c!-- We have removed a paragraph here and placed the Account component below>\n \n \x3c!-- And also renamed the 'Open Widget' button to 'Connect' one>\n Connect \n ...\n
\n
\n
\n );\n}\n")),(0,o.kt)("p",null,"Now we're able to see the status of our connection on the main screen:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_account",src:a(8770).Z,width:"3024",height:"1226"})),(0,o.kt)("p",null,"And the corresponding account after we've connected via the Web3Modal to the DApp:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_connected_ui.png",src:a(3653).Z,width:"3024",height:"1140"})),(0,o.kt)("p",null,"Congratulations on completing your AuroraPass integration using Web3Modal!"),(0,o.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,o.kt)("p",null,"Please, take a look at our ",(0,o.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page"),". In case you still have questions, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team"),"\non Discord and open a support ticket there."))}u.isMDXComponent=!0},8770:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_account-23a2e5a061c1d66433959a80c4215b30.png"},8994:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_connected_no_ui-4e2a0f8a6e66d61a79ebbcb5a741bda5.png"},3653:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_connected_ui-9fd08e4d0fc10a959cb30be6b9b5f772.png"},6137:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_qr-5334d3019b94c2035761379532db9cae.png"},1908:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_visible-ed6a90a7ef2543af3877431fec247434.png"},4727:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_default_modal-b930e19e46904d70ab36969a51c7e875.png"},5008:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/web3modal-4d3066e029c8c6af925d83f6e337f6ad.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[4934],{9613:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>h});var n=a(9496);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var p=n.createContext({}),s=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},d=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,r=e.originalType,p=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),c=s(a),m=o,h=c["".concat(p,".").concat(m)]||c[m]||u[m]||r;return a?n.createElement(h,l(l({ref:t},d),{},{components:a})):n.createElement(h,l({ref:t},d))}));function h(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=a.length,l=new Array(r);l[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[c]="string"==typeof e?e:o,l[1]=i;for(var s=2;s{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var n=a(1163),o=(a(9496),a(9613));const r={sidebar_label:"Web3Modal",title:"Web3Modal"},l=void 0,i={unversionedId:"onboard/wallets/web3modal",id:"onboard/wallets/web3modal",title:"Web3Modal",description:"The Web3Modal lets you easily add the wallets to your DApp.",source:"@site/docs/onboard/wallets/web3modal.md",sourceDirName:"onboard/wallets",slug:"/onboard/wallets/web3modal",permalink:"/onboard/wallets/web3modal",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/wallets/web3modal.md",tags:[],version:"current",frontMatter:{sidebar_label:"Web3Modal",title:"Web3Modal"},sidebar:"tutorialSidebar",previous:{title:"Integrate Wallet Connect",permalink:"/onboard/wallet-connect"},next:{title:"RainbowKit",permalink:"/onboard/wallets/rainbowkit"}},p={},s=[{value:"Add Aurora Pass",id:"add-aurora-pass",level:2},{value:"Integrate Web3Modal",id:"integrate-web3modal",level:2},{value:"Create a simple React app",id:"create-a-simple-react-app",level:3},{value:"Add Aurora Promo Widget",id:"add-aurora-promo-widget",level:3},{value:"Add Web3Modal",id:"add-web3modal",level:3},{value:"Import libraries and get projectId",id:"import-libraries-and-get-projectid",level:4},{value:"Add Web3Modal component",id:"add-web3modal-component",level:4},{value:"Display Web3Modal",id:"display-web3modal",level:4},{value:"Add AuroraPass to your wallet list",id:"add-aurorapass-to-your-wallet-list",level:3},{value:"Display the connection status in DApp",id:"display-the-connection-status-in-dapp",level:3},{value:"Troubleshooting",id:"troubleshooting",level:2}],d={toc:s},c="wrapper";function u(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"The ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal")," lets you easily add the wallets to your DApp.\nIt provides a simple and intuitive interface for DApps to request actions on the blockchain, such as signing transactions and interacting with smart contracts."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"web3modal",src:a(5008).Z,width:"3000",height:"1500"})),(0,o.kt)("h2",{id:"add-aurora-pass"},"Add Aurora Pass"),(0,o.kt)("p",null,"You can add Aurora Pass as a recommended wallet to your Web3Modal by using the corresponding configuration option:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"For Web3Modal v3, use the ",(0,o.kt)("inlineCode",{parentName:"li"},"includeWalletIds")," option. More info can be found ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/react/options#includewalletids--excludewalletids"},"here"),"."),(0,o.kt)("li",{parentName:"ol"},"For Web3Modal v2, use the ",(0,o.kt)("inlineCode",{parentName:"li"},"explorerRecommendedWalletIds")," option. About it, please read ",(0,o.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/v2/react/wagmi/options#explorerrecommendedwalletids-optional"},"here"),"."),(0,o.kt)("li",{parentName:"ol"},"Copy and paste the Wallet ID of the Aurora Pass wallet to your Web3Modal option. You can find it ",(0,o.kt)("a",{parentName:"li",href:"https://explorer.walletconnect.com/aurora-pass"},"here")," or copy it directly:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694\n")),(0,o.kt)("p",null,"You can find an example of adding the Aurora Pass Wallet ID in the integration example ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#add-aurorapass-to-your-wallet-list"},"below"),"."),(0,o.kt)("h2",{id:"integrate-web3modal"},"Integrate Web3Modal"),(0,o.kt)("p",null,"In this section, we will go through the development of a simple ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal")," example to use Aurora Pass in a DApp."),(0,o.kt)("p",null,"We will use Wagmi and React as a base for our DApp. You can take a look at the ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal Docs")," to learn more about other variants."),(0,o.kt)("h3",{id:"create-a-simple-react-app"},"Create a simple React app"),(0,o.kt)("p",null,"To start, let's create a React application by using ",(0,o.kt)("inlineCode",{parentName:"p"},"create-react-app"),". Of course, you can use your existing codebase instead. We're doing this just for demonstration purposes.\nYou will need to run in your terminal:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npx create-react-app aurora-pass-example\ncd aurora-pass-example\nnpm start\n")),(0,o.kt)("p",null,"Your React app will be running now at ",(0,o.kt)("inlineCode",{parentName:"p"},"http://localhost:3000"),". Just open that link in your browser to see the UI.\nYou can read more about the ",(0,o.kt)("inlineCode",{parentName:"p"},"create-react-app")," ",(0,o.kt)("a",{parentName:"p",href:"https://create-react-app.dev/docs/getting-started/"},"here")," for more details."),(0,o.kt)("h3",{id:"add-aurora-promo-widget"},"Add Aurora Promo Widget"),(0,o.kt)("p",null,"We are discussing the Promo Widget in detail in ",(0,o.kt)("a",{parentName:"p",href:"/onboard/promo-widget"},"this article"),", please look at the code section ",(0,o.kt)("a",{parentName:"p",href:"/onboard/promo-widget#detailed-integration-guide"},"here"),"\nand add the Promo Widget popup to your DApp. The main goal of having is to allow users to install the Aurora Pass app in the easiest possible way.\nAfter this, we can continue with adding Web3Modal to the project."),(0,o.kt)("h3",{id:"add-web3modal"},"Add Web3Modal"),(0,o.kt)("p",null,"We will closely follow the ",(0,o.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3modal/react/about?platform=wagmi"},"Web3Model Wagmi v2 documentation")," here."),(0,o.kt)("h4",{id:"import-libraries-and-get-projectid"},"Import libraries and get projectId"),(0,o.kt)("p",null,"First, let's add some new packages to the project:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-bash"},"npm install @web3modal/wagmi@4.0.0-alpha.0 wagmi viem @tanstack/react-query\n")),(0,o.kt)("p",null,"Now, sign up at ",(0,o.kt)("a",{parentName:"p",href:"https://cloud.walletconnect.com/sign-in"},"WalletConnect Cloud")," to get a WalletConnect ",(0,o.kt)("inlineCode",{parentName:"p"},"projectId"),". You will get some random string like ",(0,o.kt)("inlineCode",{parentName:"p"},"4aee871f7a80f1ff5c7892226bd3ascd"),"."),(0,o.kt)("h4",{id:"add-web3modal-component"},"Add Web3Modal component"),(0,o.kt)("p",null,"Now, let's create a file with a Web3Modal component:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/Web3Modal.js"',title:'"aurora-pass-example/src/Web3Modal.js"'},"import { createWeb3Modal, defaultWagmiConfig } from '@web3modal/wagmi/react'\nimport { WagmiProvider } from 'wagmi'\nimport { aurora, mainnet } from 'wagmi/chains'\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query'\n\n// Setup queryClient\nconst queryClient = new QueryClient()\n\n// Get projectId at https://cloud.walletconnect.com\nconst projectId = 'YOUR_PROJECT_ID_GOES_HERE';\n\n// Create wagmiConfig\nconst metadata = {\n name: 'Web3Modal',\n description: 'Web3Modal Example',\n url: 'https://web3modal.com',\n icons: ['https://avatars.githubusercontent.com/u/37784886']\n}\n\nconst chains = [mainnet, aurora]\n\nconst wagmiConfig = defaultWagmiConfig({\n chains,\n projectId,\n metadata\n})\n\n// Create modal\ncreateWeb3Modal({ wagmiConfig, projectId, chains})\n\n// Export component\nexport default function Web3Modal({ children }) {\n return (\n \n {children}\n \n )\n}\n")),(0,o.kt)("p",null,"Now, we can use the Web3Modal component in our app. First, notice that we need to wrap the part of the app into it using the ",(0,o.kt)("inlineCode",{parentName:"p"},"wagmi")," hooks. In this case, we are wrapping it fully into it:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'\nfunction App() {\n ...\n\n return (\n
\n \n
\n ...\n
\n
\n
\n );\n}\n')),(0,o.kt)("p",null,"But we still need to display the popup. How can we do it?"),(0,o.kt)("h4",{id:"display-web3modal"},"Display Web3Modal"),(0,o.kt)("p",null,"To open the wallets popup, let's use the ",(0,o.kt)("inlineCode",{parentName:"p"},"useWeb3Modal")," hook inside the App component, to be more specific \u2013 the ",(0,o.kt)("inlineCode",{parentName:"p"},"open")," function it provides.\nWe also need to edit a bit our old ",(0,o.kt)("inlineCode",{parentName:"p"},"openWidget")," function to accept the ",(0,o.kt)("inlineCode",{parentName:"p"},"onComplete")," argument and pass there the ",(0,o.kt)("inlineCode",{parentName:"p"},"open")," function:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js"',title:'"aurora-pass-example/src/App.js"'},'import { useWeb3Modal } from \'@web3modal/wagmi/react\';\n\nconst openWidget = (onComplete) => {\n window.openPromo\n ? window.openPromo({ onComplete: onComplete, config: {hideUpdateAppBlock: true} })\n : onComplete()\n}\n\nfunction App() {\n ...\n \n const { open } = useWeb3Modal()\n return (\n
\n \n
\n ...\n openWidget(open)}\n >\n Open Promo\n \n ...\n
\n
\n
\n );\n}\n')),(0,o.kt)("p",null,"You can also safely remove the ",(0,o.kt)("inlineCode",{parentName:"p"},"openWeb3Modal")," function we previously had with just a placeholder alert."),(0,o.kt)("p",null,"If you go into your App now, you will be able to see the WalletConnect popup appearing after you click the 'Skip' button in the AuroraPass widget:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_default_modal",src:a(4727).Z,width:"3024",height:"916"})),(0,o.kt)("p",null,"But it will still need to contain the AuroraPass. Let's add it there."),(0,o.kt)("h3",{id:"add-aurorapass-to-your-wallet-list"},"Add AuroraPass to your wallet list"),(0,o.kt)("p",null,"You can read more about the different options on how to add the Aurora Pass to your Web3Modal ",(0,o.kt)("a",{parentName:"p",href:"/onboard/wallets/web3modal#add-aurora-pass"},"here"),"."),(0,o.kt)("p",null,"We have Web3Modal v3 in our case, so let's use ",(0,o.kt)("inlineCode",{parentName:"p"},"includeWalletIds")," and modify the ",(0,o.kt)("inlineCode",{parentName:"p"},"Web3Modal.js")," file:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/Web3Modal.js',title:'"aurora-pass-example/src/Web3Modal.js'},"let options = {\n defaultChain: aurora, // we can set it to make sure we are using Aurora mainnet by default\n includeWalletIds: [\n 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96', //Metamask\n '76260019aec5a3c44dd2421bf78e80f71a6c090d932c413a287193ed79450694', //AuroraPass\n ]};\n\n// pass the 'options' here as the last argument\ncreateWeb3Modal({ wagmiConfig, projectId, chains, ...options})\n\n")),(0,o.kt)("p",null,"If we re-open the Web3Modal now, we will see the AuroraPass wallet there:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_visible",src:a(1908).Z,width:"3024",height:"1074"})),(0,o.kt)("p",null,"Now, we can try connecting our wallet via the QR code:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_qr",src:a(6137).Z,width:"2998",height:"1280"})),(0,o.kt)("p",null,"But we won't see if the connection was successful yet because we need something to display that. The popup will close, and we will see the App's initial screen:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_connected_no_ui",src:a(8994).Z,width:"3024",height:"1200"})),(0,o.kt)("h3",{id:"display-the-connection-status-in-dapp"},"Display the connection status in DApp"),(0,o.kt)("p",null,"Let's fix it by replacing the 'Edit src/App.js and save to reload' label with a simple ",(0,o.kt)("inlineCode",{parentName:"p"},"Account")," component showing us if we have connected to the DApp already.\nWe can do that inside the App component file right away by using ",(0,o.kt)("inlineCode",{parentName:"p"},"useAccount")," wagmi hook:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="aurora-pass-example/src/App.js',title:'"aurora-pass-example/src/App.js'},"...\nimport { useAccount } from 'wagmi'\n...\n\nfunction Account () {\n const { address, isConnecting, isDisconnected } = useAccount();\n if (isConnecting) return
Connecting...
\n if (isDisconnected) return
Disconnected
\n return
{address}
\n}\n\nfunction App() {\n ...\n return (\n
\n \n
\n ...\n \x3c!-- We have removed a paragraph here and placed the Account component below>\n \n \x3c!-- And also renamed the 'Open Widget' button to 'Connect' one>\n Connect \n ...\n
\n
\n
\n );\n}\n")),(0,o.kt)("p",null,"Now we're able to see the status of our connection on the main screen:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_account",src:a(8770).Z,width:"3024",height:"1226"})),(0,o.kt)("p",null,"And the corresponding account after we've connected via the Web3Modal to the DApp:"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"wc_ap_connected_ui.png",src:a(3653).Z,width:"3024",height:"1140"})),(0,o.kt)("p",null,"Congratulations on completing your AuroraPass integration using Web3Modal!"),(0,o.kt)("h2",{id:"troubleshooting"},"Troubleshooting"),(0,o.kt)("p",null,"Please, take a look at our ",(0,o.kt)("a",{parentName:"p",href:"/onboard/troubleshooting"},"Troubleshooting Page"),". In case you still have questions, please get in touch with our ",(0,o.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team"),"\non Discord and open a support ticket there."))}u.isMDXComponent=!0},8770:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_account-23a2e5a061c1d66433959a80c4215b30.png"},8994:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_connected_no_ui-4e2a0f8a6e66d61a79ebbcb5a741bda5.png"},3653:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_connected_ui-9fd08e4d0fc10a959cb30be6b9b5f772.png"},6137:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_qr-5334d3019b94c2035761379532db9cae.png"},1908:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_ap_visible-ed6a90a7ef2543af3877431fec247434.png"},4727:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/wc_default_modal-b930e19e46904d70ab36969a51c7e875.png"},5008:(e,t,a)=>{a.d(t,{Z:()=>n});const n=a.p+"assets/images/web3modal-4d3066e029c8c6af925d83f6e337f6ad.png"}}]); \ No newline at end of file diff --git a/assets/js/e86a8f97.c8b05f27.js b/assets/js/e86a8f97.84750e03.js similarity index 97% rename from assets/js/e86a8f97.c8b05f27.js rename to assets/js/e86a8f97.84750e03.js index 0eacfafa..d2c16328 100644 --- a/assets/js/e86a8f97.c8b05f27.js +++ b/assets/js/e86a8f97.84750e03.js @@ -1 +1 @@ -"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[2456],{9613:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>f});var o=n(9496);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=o.createContext({}),d=function(e){var t=o.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=d(e.components);return o.createElement(c.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},m=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,c=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=d(n),m=a,f=p["".concat(c,".").concat(m)]||p[m]||u[m]||r;return n?o.createElement(f,l(l({ref:t},s),{},{components:n})):o.createElement(f,l({ref:t},s))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,l=new Array(r);l[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[p]="string"==typeof e?e:a,l[1]=i;for(var d=2;d{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var o=n(1163),a=(n(9496),n(9613));const r={title:"Integrate Wallet Connect"},l="Wallet Connect Integration",i={unversionedId:"onboard/wallet-connect",id:"onboard/wallet-connect",title:"Integrate Wallet Connect",description:"Aurora Pass is meant to be used with WalletConnect v2. It is an industry standard to create an encrypted connection between a DApp and EVM wallet,",source:"@site/docs/onboard/wallet-connect.md",sourceDirName:"onboard",slug:"/onboard/wallet-connect",permalink:"/onboard/wallet-connect",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/wallet-connect.md",tags:[],version:"current",frontMatter:{title:"Integrate Wallet Connect"},sidebar:"tutorialSidebar",previous:{title:"Introduction",permalink:"/onboard/introduction"},next:{title:"Web3Modal",permalink:"/onboard/wallets/web3modal"}},c={},d=[{value:"Integration Guide",id:"integration-guide",level:2},{value:"Add your wallet modal",id:"add-your-wallet-modal",level:2}],s={toc:d},p="wrapper";function u(e){let{components:t,...n}=e;return(0,a.kt)(p,(0,o.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"wallet-connect-integration"},"Wallet Connect Integration"),(0,a.kt)("p",null,"Aurora Pass is meant to be used with ",(0,a.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/"},"WalletConnect v2"),". It is an industry standard to create an encrypted connection between a DApp and EVM wallet,\ninitialized by scanning a QR code or via a ",(0,a.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3wallet/mobileLinking"},"deep link")," for mobile apps and browsers."),(0,a.kt)("h2",{id:"integration-guide"},"Integration Guide"),(0,a.kt)("p",null,"To integrate WalletConnect into your DApp, follow these steps:"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},"If you don't have Wallet Connect yet, please follow the instructions in the ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallet-connect#add-your-wallets-modal"},"next section"),"."),(0,a.kt)("li",{parentName:"ol"},"If you use WalletConnect v1, ",(0,a.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/2.0/advanced/migration-from-v1.x/overview"},"migrate to WalletConnect v2")," first."),(0,a.kt)("li",{parentName:"ol"},"If you already have WalletConnect v2, add the Aurora Pass wallet to your wallet modal:\ne.g., ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/web3modal#adding-aurora-pass"},"Web3Modal")," or ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallet-connect#add-your-wallets-modal"},"RainbowKit"))),(0,a.kt)("p",null,"Please get in touch with our ",(0,a.kt)("a",{parentName:"p",href:"https://discord.gg/WXfbGsSUbT"},"Support Team")," if you need some help"),(0,a.kt)("h2",{id:"add-your-wallet-modal"},"Add your wallet modal"),(0,a.kt)("p",null,"You must integrate one of the Wallet Modals to display the list of wallets for a user to connect to your DApp.\nCurrently on the market, these are the two most popular options to choose from:"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal")," \u2013 popup developed by the WalletConnect team. You can read more about it ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/web3modal/"},"here"),"."),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/"},"RainbowKit")," is another popular wallet modal in the Ethereum ecosystem. More information on integrating it is ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/rainbowkit/"},"here"),".")),(0,a.kt)("p",null,"Both of these are based on WalletConnect v2 out of the box, so if you are not using it yet \u2013 that is the place to start. After adding one of these modals,\nyou can add Aurora Pass to your wallet list and make it one of the primary options for a user, which is done in the next section ",(0,a.kt)("em",{parentName:"p"},"'Add your wallets'"),"."))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[2456],{9613:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>f});var o=n(9496);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=o.createContext({}),d=function(e){var t=o.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=d(e.components);return o.createElement(c.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},m=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,c=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=d(n),m=a,f=p["".concat(c,".").concat(m)]||p[m]||u[m]||r;return n?o.createElement(f,l(l({ref:t},s),{},{components:n})):o.createElement(f,l({ref:t},s))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,l=new Array(r);l[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[p]="string"==typeof e?e:a,l[1]=i;for(var d=2;d{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var o=n(1163),a=(n(9496),n(9613));const r={title:"Integrate Wallet Connect"},l="Wallet Connect Integration",i={unversionedId:"onboard/wallet-connect",id:"onboard/wallet-connect",title:"Integrate Wallet Connect",description:"Aurora Pass is meant to be used with WalletConnect v2. It is an industry standard to create an encrypted connection between a DApp and EVM wallet,",source:"@site/docs/onboard/wallet-connect.md",sourceDirName:"onboard",slug:"/onboard/wallet-connect",permalink:"/onboard/wallet-connect",draft:!1,editUrl:"https://github.com/aurora-is-near/doc.aurora.dev/edit/master/docs/onboard/wallet-connect.md",tags:[],version:"current",frontMatter:{title:"Integrate Wallet Connect"},sidebar:"tutorialSidebar",previous:{title:"Introduction",permalink:"/onboard/introduction"},next:{title:"Web3Modal",permalink:"/onboard/wallets/web3modal"}},c={},d=[{value:"Integration Guide",id:"integration-guide",level:2},{value:"Add your wallet modal",id:"add-your-wallet-modal",level:2}],s={toc:d},p="wrapper";function u(e){let{components:t,...n}=e;return(0,a.kt)(p,(0,o.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"wallet-connect-integration"},"Wallet Connect Integration"),(0,a.kt)("p",null,"Aurora Pass is meant to be used with ",(0,a.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/"},"WalletConnect v2"),". It is an industry standard to create an encrypted connection between a DApp and EVM wallet,\ninitialized by scanning a QR code or via a ",(0,a.kt)("a",{parentName:"p",href:"https://docs.walletconnect.com/web3wallet/mobileLinking"},"deep link")," for mobile apps and browsers."),(0,a.kt)("h2",{id:"integration-guide"},"Integration Guide"),(0,a.kt)("p",null,"To integrate WalletConnect into your DApp, follow these steps:"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},"If you don't have Wallet Connect yet, please follow the instructions in the ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallet-connect#add-your-wallets-modal"},"next section"),"."),(0,a.kt)("li",{parentName:"ol"},"If you use WalletConnect v1, ",(0,a.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/2.0/advanced/migration-from-v1.x/overview"},"migrate to WalletConnect v2")," first."),(0,a.kt)("li",{parentName:"ol"},"If you already have WalletConnect v2, add the Aurora Pass wallet to your wallet modal:\ne.g., ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/web3modal#adding-aurora-pass"},"Web3Modal")," or ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallet-connect#add-your-wallets-modal"},"RainbowKit"))),(0,a.kt)("p",null,"Please get in touch with our ",(0,a.kt)("a",{parentName:"p",href:"https://discord.gg/auroralabs"},"Support Team")," if you need some help"),(0,a.kt)("h2",{id:"add-your-wallet-modal"},"Add your wallet modal"),(0,a.kt)("p",null,"You must integrate one of the Wallet Modals to display the list of wallets for a user to connect to your DApp.\nCurrently on the market, these are the two most popular options to choose from:"),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("a",{parentName:"li",href:"https://docs.walletconnect.com/web3modal/about"},"Web3Modal")," \u2013 popup developed by the WalletConnect team. You can read more about it ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/web3modal/"},"here"),"."),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("a",{parentName:"li",href:"https://www.rainbowkit.com/"},"RainbowKit")," is another popular wallet modal in the Ethereum ecosystem. More information on integrating it is ",(0,a.kt)("a",{parentName:"li",href:"/onboard/wallets/rainbowkit/"},"here"),".")),(0,a.kt)("p",null,"Both of these are based on WalletConnect v2 out of the box, so if you are not using it yet \u2013 that is the place to start. After adding one of these modals,\nyou can add Aurora Pass to your wallet list and make it one of the primary options for a user, which is done in the next section ",(0,a.kt)("em",{parentName:"p"},"'Add your wallets'"),"."))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/main.553f6080.js b/assets/js/main.553f6080.js new file mode 100644 index 00000000..67c8fde5 --- /dev/null +++ b/assets/js/main.553f6080.js @@ -0,0 +1,2 @@ +/*! For license information please see main.553f6080.js.LICENSE.txt */ +(self.webpackChunkaurora_docs=self.webpackChunkaurora_docs||[]).push([[179],{3454:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(9496);function a(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8265:(e,t,n)=>{var r={"./prism-solidity":474};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8265},6808:(e,t)=>{"use strict";var n="discord",r=[],a="f392",o="M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z";t.DF={prefix:"fab",iconName:n,icon:[640,512,r,a,o]},t.om=t.DF},9902:(e,t)=>{"use strict";var n="discourse",r=[],a="f393",o="M225.9 32C103.3 32 0 130.5 0 252.1 0 256 .1 480 .1 480l225.8-.2c122.7 0 222.1-102.3 222.1-223.9C448 134.3 348.6 32 225.9 32zM224 384c-19.4 0-37.9-4.3-54.4-12.1L88.5 392l22.9-75c-9.8-18.1-15.4-38.9-15.4-61 0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128z";t.DF={prefix:"fab",iconName:n,icon:[448,512,r,a,o]},t.DR=t.DF},7071:(e,t)=>{"use strict";var n="github",r=[],a="f09b",o="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z";t.DF={prefix:"fab",iconName:n,icon:[496,512,r,a,o]},t.zh=t.DF},1330:(e,t)=>{"use strict";var n="telegram",r=[62462,"telegram-plane"],a="f2c6",o="M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z";t.DF={prefix:"fab",iconName:n,icon:[496,512,r,a,o]},t.Uv=t.DF},6220:(e,t)=>{"use strict";var n="twitter",r=[],a="f099",o="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z";t.DF={prefix:"fab",iconName:n,icon:[512,512,r,a,o]},t.md=t.DF},3025:(e,t)=>{"use strict";var n="youtube",r=[61802],a="f167",o="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z";t.DF={prefix:"fab",iconName:n,icon:[576,512,r,a,o]},t.op=t.DF},7840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(9496),a=n(1163),o=n(7947),i=n.n(o),l=n(6887);const s={"017f4f72":[()=>n.e(2476).then(n.bind(n,5527)),"@site/docs/bridge/from-ethereum.md",5527],"0334d48b":[()=>n.e(929).then(n.bind(n,6771)),"@site/docs/launch-chain/forwarder/troubleshooting.md",6771],"08887744":[()=>n.e(9954).then(n.bind(n,2600)),"@site/docs/build-a-dapp/frontend/transactions.md",2600],"0a50bb61":[()=>n.e(6993).then(n.bind(n,1559)),"@site/docs/xcc/aurora-to-near/usage-examples.md",1559],"0bd1b316":[()=>n.e(7563).then(n.bind(n,6223)),"@site/docs/public-apis.md",6223],17896441:[()=>Promise.all([n.e(532),n.e(174),n.e(7918)]).then(n.bind(n,6925)),"@theme/DocItem",6925],"1863e779":[()=>n.e(7231).then(n.bind(n,4716)),"@site/docs/build-a-dapp/frontend/read-contract.md",4716],"1900a2f2":[()=>n.e(8744).then(n.bind(n,5169)),"@site/docs/getting-started/overview.mdx",5169],"1a4e3797":[()=>Promise.all([n.e(532),n.e(7920)]).then(n.bind(n,7407)),"@theme/SearchPage",7407],"1be78505":[()=>Promise.all([n.e(532),n.e(9514)]).then(n.bind(n,7822)),"@theme/DocPage",7822],"1f391b9e":[()=>Promise.all([n.e(532),n.e(174),n.e(3085)]).then(n.bind(n,221)),"@theme/MDXPage",221],"202571ac":[()=>n.e(2618).then(n.bind(n,4554)),"@site/docs/launch-chain/configuration/kyc.md",4554],"23ea4b07":[()=>n.e(6584).then(n.bind(n,9286)),"@site/docs/onboard/wallets/rainbowkit.md",9286],"2895d7b1":[()=>n.e(141).then(n.bind(n,6954)),"@site/docs/nodes/start.md",6954],"291d1a7b":[()=>n.e(1939).then(n.bind(n,4551)),"@site/docs/launch-chain/forwarder/introduction.md",4551],"2bc90abe":[()=>n.e(3377).then(n.bind(n,2478)),"@site/docs/contact-us.md",2478],"30ee2b44":[()=>n.e(6065).then(n.bind(n,3001)),"@site/docs/launch-chain/forwarder/how-to-use/kucoin.md",3001],"313a9c68":[()=>n.e(4273).then(n.bind(n,6156)),"@site/docs/integrate/oracles/flux-protocol.mdx",6156],"31fc55f0":[()=>n.e(6570).then(n.bind(n,3432)),"@site/docs/build-a-dapp/quickstart.md",3432],"393be207":[()=>n.e(7414).then(n.bind(n,3321)),"@site/src/pages/markdown-page.md",3321],"3ad7bdc4":[()=>n.e(9529).then(n.bind(n,3133)),"@site/docs/integrate/oracles/dia.mdx",3133],"3cefd013":[()=>n.e(9041).then(n.bind(n,6972)),"@site/docs/nodes/learn/refiner.md",6972],"3f624a4b":[()=>n.e(4692).then(n.bind(n,4897)),"@site/docs/nodes/quickstart.md",4897],"4575b5af":[()=>n.e(2212).then(n.bind(n,6454)),"@site/docs/launch-chain/forwarder/how-to-use/general.md",6454],"45bf48a6":[()=>n.e(472).then(n.bind(n,7056)),"@site/docs/xcc/layerzero/usage-examples.md",7056],"47a398f7":[()=>n.e(8585).then(n.bind(n,2061)),"@site/docs/dev-reference/network-endpoints.md",2061],"4b70b5d4":[()=>n.e(4371).then(n.bind(n,3409)),"@site/docs/nodes/learn/relayer-account.md",3409],"4ba7e5a3":[()=>n.e(9735).then(n.bind(n,5259)),"@site/docs/contribute.md",5259],"4d113f1e":[()=>n.e(4349).then(n.bind(n,6767)),"@site/docs/onboard/troubleshooting.md",6767],"4d3a868d":[()=>n.e(1123).then(n.bind(n,8849)),"@site/docs/launch-chain/introduction.md",8849],"50285dd4":[()=>n.e(2192).then(n.bind(n,5020)),"@site/docs/launch-chain/forwarder/tech-details.md",5020],"51718cbb":[()=>n.e(1308).then(n.bind(n,6242)),"@site/docs/xcc/layerzero/introduction.md",6242],"549ab8c3":[()=>n.e(1861).then(n.bind(n,6469)),"@site/docs/xcc/near-to-aurora/usage-examples.md",6469],"5e0c541e":[()=>n.e(2455).then(n.bind(n,346)),"@site/docs/launch-chain/configuration/deploy-tokens.md",346],"5e2189f2":[()=>n.e(1929).then(n.bind(n,3449)),"@site/docs/interact/hardhat.mdx",3449],"6491b164":[()=>n.e(6797).then(n.bind(n,2417)),"@site/docs/gas/create-plan/manage-contracts.md",2417],"66a1f617":[()=>n.e(7818).then(n.bind(n,9808)),"@site/docs/dev-reference/precompiles.md",9808],"681c37c0":[()=>n.e(3541).then(n.bind(n,8196)),"@site/docs/interact/truffle.mdx",8196],68955908:[()=>n.e(9574).then(n.bind(n,9215)),"@site/docs/integrate/oracles/pyth.mdx",9215],"6a9c8d10":[()=>n.e(9071).then(n.bind(n,3099)),"@site/docs/dev-reference/aurora-engine.md",3099],"6d52751e":[()=>n.e(7425).then(n.bind(n,3145)),"@site/docs/bridge/advanced.md",3145],"6dd03e4b":[()=>n.e(9075).then(n.bind(n,8012)),"@site/docs/getting-started/faq.md",8012],"7249c7be":[()=>n.e(4617).then(n.bind(n,194)),"@site/docs/bridge/troubleshooting.md",194],"759e4d19":[()=>n.e(360).then(n.bind(n,179)),"@site/docs/xcc/near-to-aurora/introduction.md",179],"79dabbf6":[()=>n.e(4460).then(n.bind(n,4604)),"@site/docs/gas/monitor-plans.md",4604],"7c1ad77e":[()=>n.e(8244).then(n.bind(n,9911)),"@site/docs/xcc/aurora-to-near/introduction.md",9911],"7d53c9a7":[()=>n.e(4836).then(n.bind(n,8857)),"@site/docs/getting-started/tokenomics.md",8857],"7f0ec7f3":[()=>n.e(5519).then(n.bind(n,2132)),"@site/docs/build-a-dapp/troubleshooting.md",2132],"7f246de7":[()=>n.e(9132).then(n.bind(n,3125)),"@site/docs/dev-reference/json-rpc.md",3125],"81aeb8e3":[()=>n.e(1987).then(n.bind(n,9067)),"@site/docs/nodes/learn/snapshots.md",9067],"8abd67b1":[()=>n.e(337).then(n.bind(n,5194)),"@site/docs/onboard/promo-widget.md",5194],"8ca6e6af":[()=>n.e(5732).then(n.bind(n,8102)),"@site/docs/integrate/indexers/covalent.mdx",8102],"8feb96c6":[()=>n.e(1953).then(n.bind(n,2233)),"@site/docs/nodes/migrate.md",2233],"926614cc":[()=>n.e(7309).then(n.bind(n,6861)),"@site/docs/onboard/introduction.md",6861],"9325c6c8":[()=>n.e(7315).then(n.bind(n,4728)),"@site/docs/build-a-dapp/contracts/nft.md",4728],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"94564f02":[()=>n.e(427).then(n.t.bind(n,5745,19)),"/home/runner/work/doc.aurora.dev/doc.aurora.dev/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"9796147e":[()=>n.e(2082).then(n.bind(n,4380)),"@site/docs/integrate/indexers/the-graph.mdx",4380],"991cda90":[()=>n.e(6551).then(n.bind(n,4575)),"@site/docs/gas/create-plan/restrictions.md",4575],"9b333565":[()=>n.e(6644).then(n.bind(n,5551)),"@site/docs/bridge/fast-bridge.md",5551],"9c2fa725":[()=>n.e(2330).then(n.bind(n,5264)),"@site/docs/gas/create-plan/manage-users.md",5264],"9d757415":[()=>n.e(2224).then(n.bind(n,1672)),"@site/docs/nodes/troubleshooting.md",1672],"9d80a3bf":[()=>n.e(6548).then(n.bind(n,1851)),"@site/docs/gas/create-plan/rate-limit.md",1851],a0a7a62f:[()=>n.e(6872).then(n.bind(n,2865)),"@site/docs/dev-reference/eth-wallets.md",2865],a22be3dd:[()=>n.e(4905).then(n.bind(n,9559)),"@site/docs/nodes/logs.md",9559],a37ddc4b:[()=>n.e(3647).then(n.bind(n,8168)),"@site/docs/audits.md",8168],a63ba367:[()=>n.e(9031).then(n.bind(n,2820)),"@site/docs/dev-reference/contracts.md",2820],aae45c38:[()=>n.e(8820).then(n.t.bind(n,7085,19)),"/home/runner/work/doc.aurora.dev/doc.aurora.dev/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json",7085],aaecb68c:[()=>n.e(2545).then(n.bind(n,9740)),"@site/docs/build-a-dapp/frontend/connect-wallet.md",9740],ac9b162f:[()=>n.e(1020).then(n.bind(n,5845)),"@site/docs/launch-chain/stats.md",5845],ac9f378c:[()=>n.e(9428).then(n.bind(n,1859)),"@site/docs/launch-chain/forwarder/how-to-use/binance.md",1859],ace0efb8:[()=>n.e(4989).then(n.bind(n,1849)),"@site/docs/dev-reference/opcodes.md",1849],aeed0f65:[()=>n.e(1632).then(n.bind(n,1419)),"@site/docs/build-a-dapp/frontend/write-contract.md",1419],b477e8fb:[()=>n.e(5396).then(n.bind(n,9521)),"@site/docs/gas/introduction.md",9521],b58dfd8b:[()=>n.e(2145).then(n.bind(n,6786)),"@site/docs/launch-chain/troubleshooting.md",6786],b5d12d8a:[()=>n.e(8539).then(n.bind(n,3361)),"@site/docs/bridge/aurora-near.md",3361],b5d8afb5:[()=>n.e(7647).then(n.bind(n,1424)),"@site/docs/interact/block-explorer.mdx",1424],b71c08fc:[()=>n.e(7884).then(n.bind(n,1277)),"@site/docs/interact/metamask.mdx",1277],b7bd0319:[()=>n.e(7427).then(n.bind(n,7633)),"@site/docs/bridge/aurora-chains.md",7633],bc435632:[()=>n.e(1328).then(n.bind(n,2851)),"@site/docs/nodes/learn/configuration-files.md",2851],bf18b5a1:[()=>n.e(8142).then(n.bind(n,2698)),"@site/docs/tools/verify-contract.mdx",2698],bf868146:[()=>n.e(7678).then(n.bind(n,7449)),"@site/docs/bridge/on-ramp.md",7449],c0ed76f1:[()=>n.e(3342).then(n.bind(n,1448)),"@site/docs/launch-chain/forwarder/how-to-use/bitfinex.md",1448],c519bf14:[()=>n.e(6767).then(n.bind(n,9072)),"@site/docs/onboard/own-wallet.md",9072],c539f54d:[()=>n.e(4934).then(n.bind(n,515)),"@site/docs/onboard/wallets/web3modal.md",515],c5694751:[()=>n.e(9318).then(n.bind(n,2169)),"@site/docs/nodes/install.md",2169],c5d07f71:[()=>n.e(759).then(n.bind(n,4055)),"@site/docs/getting-started/explore.md",4055],c606102f:[()=>n.e(8802).then(n.bind(n,596)),"@site/docs/bridge/to-ethereum.md",596],c62c11f7:[()=>n.e(5227).then(n.bind(n,3314)),"@site/docs/build-a-dapp/contracts/erc-20.md",3314],cf512387:[()=>n.e(8632).then(n.bind(n,5469)),"@site/docs/launch-chain/configuration/whitelists.md",5469],d100c1a4:[()=>n.e(9429).then(n.bind(n,6737)),"@site/docs/build-a-dapp/introduction.md",6737],db735001:[()=>n.e(2416).then(n.bind(n,6082)),"@site/docs/build-a-dapp/contracts/counter.md",6082],dd128c08:[()=>n.e(1741).then(n.bind(n,155)),"@site/docs/gas/reference/lists-api.md",155],df7720d5:[()=>n.e(9479).then(n.bind(n,7628)),"@site/docs/launch-chain/forwarder/how-to-use/coinbase.md",7628],e0c4269b:[()=>n.e(7551).then(n.bind(n,6898)),"@site/docs/launch-chain/configuration/ecosystem-tools.md",6898],e2a9c491:[()=>n.e(9613).then(n.bind(n,6329)),"@site/docs/nodes/manage-containers.md",6329],e30618c0:[()=>n.e(5219).then(n.bind(n,6203)),"@site/docs/launch-chain/configuration/initialize.md",6203],e3dab8c2:[()=>n.e(428).then(n.bind(n,6410)),"@site/docs/build-a-dapp/frontend/account.md",6410],e81a5f48:[()=>n.e(2698).then(n.bind(n,8656)),"@site/docs/nodes/requirements.md",8656],e86a8f97:[()=>n.e(2456).then(n.bind(n,388)),"@site/docs/onboard/wallet-connect.md",388],ec928b86:[()=>n.e(2834).then(n.bind(n,2269)),"@site/docs/gas/troubleshooting.md",2269],eec0b173:[()=>n.e(3128).then(n.t.bind(n,3769,19)),"/home/runner/work/doc.aurora.dev/doc.aurora.dev/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],ef19d8ec:[()=>n.e(2127).then(n.bind(n,2899)),"@site/docs/build-a-dapp/getting-eth.md",2899],ef53fce6:[()=>n.e(6716).then(n.bind(n,7642)),"@site/docs/nodes/learn/docker.md",7642],f42504ea:[()=>n.e(165).then(n.bind(n,1028)),"@site/docs/integrate/rpc-node-providers/omnia.mdx",1028],f53489f7:[()=>n.e(2006).then(n.bind(n,1068)),"@site/docs/xcc/quickstart.md",1068],fc02af89:[()=>n.e(4530).then(n.bind(n,6443)),"@site/docs/launch-chain/reference/whitelists-api.md",6443],fcd4a7df:[()=>n.e(6621).then(n.bind(n,1518)),"@site/docs/bridge/introduction.md",1518]};function c(e){let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var u=n(6660),d=n(2471);function f(e,t){if("*"===e)return i()({loading:c,loader:()=>n.e(5198).then(n.bind(n,5198)),modules:["@theme/NotFound"],webpack:()=>[5198],render(e,t){const n=e.default;return r.createElement(d.z,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const o=l[`${e}-${t}`],f={},p=[],m=[],h=(0,u.Z)(o);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=s[n];r&&(f[t]=r[0],p.push(r[1]),m.push(r[2]))})),i().Map({loading:c,loader:f,modules:p,webpack:()=>m,render(t,n){const i=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let o=i;const l=n.split(".");l.slice(0,-1).forEach((e=>{o=o[e]})),o[l[l.length-1]]=a}));const l=i.__comp;delete i.__comp;const s=i.__context;return delete i.__context,r.createElement(d.z,{value:s},r.createElement(l,(0,a.Z)({},i,n)))}})}const p=[{path:"/markdown-page",component:f("/markdown-page","a10"),exact:!0},{path:"/search",component:f("/search","0fb"),exact:!0},{path:"/",component:f("/","b59"),routes:[{path:"/",component:f("/","288"),exact:!0,sidebar:"tutorialSidebar"},{path:"/audits",component:f("/audits","935"),exact:!0},{path:"/bridge/advanced",component:f("/bridge/advanced","0ba"),exact:!0,sidebar:"tutorialSidebar"},{path:"/bridge/aurora-chains",component:f("/bridge/aurora-chains","42c"),exact:!0},{path:"/bridge/aurora-near",component:f("/bridge/aurora-near","d5e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/bridge/fast-bridge",component:f("/bridge/fast-bridge","d68"),exact:!0,sidebar:"tutorialSidebar"},{path:"/bridge/from-ethereum",component:f("/bridge/from-ethereum","7a3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/bridge/introduction",component:f("/bridge/introduction","5d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/bridge/on-ramp",component:f("/bridge/on-ramp","611"),exact:!0},{path:"/bridge/to-ethereum",component:f("/bridge/to-ethereum","1a3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/bridge/troubleshooting",component:f("/bridge/troubleshooting","d6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/contracts/counter",component:f("/build-a-dapp/contracts/counter","62a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/contracts/erc-20",component:f("/build-a-dapp/contracts/erc-20","496"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/contracts/nft",component:f("/build-a-dapp/contracts/nft","011"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/frontend/account",component:f("/build-a-dapp/frontend/account","2b9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/frontend/connect-wallet",component:f("/build-a-dapp/frontend/connect-wallet","7d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/frontend/read-contract",component:f("/build-a-dapp/frontend/read-contract","fbc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/frontend/transactions",component:f("/build-a-dapp/frontend/transactions","741"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/frontend/write-contract",component:f("/build-a-dapp/frontend/write-contract","86b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/getting-eth",component:f("/build-a-dapp/getting-eth","03c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/introduction",component:f("/build-a-dapp/introduction","13b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/build-a-dapp/quickstart",component:f("/build-a-dapp/quickstart","6a9"),exact:!0},{path:"/build-a-dapp/troubleshooting",component:f("/build-a-dapp/troubleshooting","86c"),exact:!0},{path:"/contact-us",component:f("/contact-us","aeb"),exact:!0},{path:"/contribute",component:f("/contribute","b13"),exact:!0},{path:"/dev-reference/aurora-engine",component:f("/dev-reference/aurora-engine","420"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dev-reference/contracts",component:f("/dev-reference/contracts","fa8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dev-reference/eth-wallets",component:f("/dev-reference/eth-wallets","2c6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dev-reference/json-rpc",component:f("/dev-reference/json-rpc","fbc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dev-reference/network-endpoints",component:f("/dev-reference/network-endpoints","84d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dev-reference/opcodes",component:f("/dev-reference/opcodes","169"),exact:!0,sidebar:"tutorialSidebar"},{path:"/dev-reference/precompiles",component:f("/dev-reference/precompiles","647"),exact:!0,sidebar:"tutorialSidebar"},{path:"/gas/create-plan/manage-contracts",component:f("/gas/create-plan/manage-contracts","4a9"),exact:!0},{path:"/gas/create-plan/manage-users",component:f("/gas/create-plan/manage-users","9fd"),exact:!0},{path:"/gas/create-plan/rate-limit",component:f("/gas/create-plan/rate-limit","8ef"),exact:!0},{path:"/gas/create-plan/restrictions",component:f("/gas/create-plan/restrictions","218"),exact:!0},{path:"/gas/introduction",component:f("/gas/introduction","772"),exact:!0},{path:"/gas/monitor-plans",component:f("/gas/monitor-plans","e2b"),exact:!0},{path:"/gas/reference/lists-api",component:f("/gas/reference/lists-api","16e"),exact:!0},{path:"/gas/troubleshooting",component:f("/gas/troubleshooting","a92"),exact:!0},{path:"/getting-started/explore",component:f("/getting-started/explore","073"),exact:!0,sidebar:"tutorialSidebar"},{path:"/getting-started/faq",component:f("/getting-started/faq","ba2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/getting-started/tokenomics",component:f("/getting-started/tokenomics","e69"),exact:!0,sidebar:"tutorialSidebar"},{path:"/integrate/indexers/covalent",component:f("/integrate/indexers/covalent","61e"),exact:!0},{path:"/integrate/indexers/the-graph",component:f("/integrate/indexers/the-graph","aa7"),exact:!0},{path:"/integrate/oracles/dia",component:f("/integrate/oracles/dia","39f"),exact:!0},{path:"/integrate/oracles/flux-protocol",component:f("/integrate/oracles/flux-protocol","24e"),exact:!0},{path:"/integrate/oracles/pyth",component:f("/integrate/oracles/pyth","e69"),exact:!0},{path:"/integrate/rpc-node-providers/omnia",component:f("/integrate/rpc-node-providers/omnia","a2f"),exact:!0},{path:"/interact/block-explorer",component:f("/interact/block-explorer","894"),exact:!0},{path:"/interact/hardhat",component:f("/interact/hardhat","62f"),exact:!0},{path:"/interact/metamask",component:f("/interact/metamask","6de"),exact:!0},{path:"/interact/truffle",component:f("/interact/truffle","05d"),exact:!0},{path:"/launch-chain/configuration/deploy-tokens",component:f("/launch-chain/configuration/deploy-tokens","a66"),exact:!0},{path:"/launch-chain/configuration/ecosystem-tools",component:f("/launch-chain/configuration/ecosystem-tools","00d"),exact:!0},{path:"/launch-chain/configuration/initialize",component:f("/launch-chain/configuration/initialize","30f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/configuration/kyc",component:f("/launch-chain/configuration/kyc","c8c"),exact:!0},{path:"/launch-chain/configuration/whitelists",component:f("/launch-chain/configuration/whitelists","047"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/how-to-use/binance",component:f("/launch-chain/forwarder/how-to-use/binance","990"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/how-to-use/bitfinex",component:f("/launch-chain/forwarder/how-to-use/bitfinex","06d"),exact:!0},{path:"/launch-chain/forwarder/how-to-use/coinbase",component:f("/launch-chain/forwarder/how-to-use/coinbase","0cb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/how-to-use/general",component:f("/launch-chain/forwarder/how-to-use/general","e2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/how-to-use/kucoin",component:f("/launch-chain/forwarder/how-to-use/kucoin","9a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/introduction",component:f("/launch-chain/forwarder/introduction","fe4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/tech-details",component:f("/launch-chain/forwarder/tech-details","47c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/forwarder/troubleshooting",component:f("/launch-chain/forwarder/troubleshooting","330"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/introduction",component:f("/launch-chain/introduction","8ea"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/reference/whitelists-api",component:f("/launch-chain/reference/whitelists-api","366"),exact:!0,sidebar:"tutorialSidebar"},{path:"/launch-chain/stats",component:f("/launch-chain/stats","5bc"),exact:!0},{path:"/launch-chain/troubleshooting",component:f("/launch-chain/troubleshooting","d4c"),exact:!0},{path:"/nodes/install",component:f("/nodes/install","cbf"),exact:!0},{path:"/nodes/learn/configuration-files",component:f("/nodes/learn/configuration-files","ce1"),exact:!0},{path:"/nodes/learn/docker",component:f("/nodes/learn/docker","c87"),exact:!0},{path:"/nodes/learn/refiner",component:f("/nodes/learn/refiner","822"),exact:!0},{path:"/nodes/learn/relayer-account",component:f("/nodes/learn/relayer-account","c2b"),exact:!0},{path:"/nodes/learn/snapshots",component:f("/nodes/learn/snapshots","bb7"),exact:!0},{path:"/nodes/logs",component:f("/nodes/logs","caa"),exact:!0},{path:"/nodes/manage-containers",component:f("/nodes/manage-containers","322"),exact:!0},{path:"/nodes/migrate",component:f("/nodes/migrate","807"),exact:!0},{path:"/nodes/quickstart",component:f("/nodes/quickstart","448"),exact:!0},{path:"/nodes/requirements",component:f("/nodes/requirements","100"),exact:!0},{path:"/nodes/start",component:f("/nodes/start","d65"),exact:!0},{path:"/nodes/troubleshooting",component:f("/nodes/troubleshooting","ee9"),exact:!0},{path:"/onboard/introduction",component:f("/onboard/introduction","18e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/onboard/own-wallet",component:f("/onboard/own-wallet","f8e"),exact:!0},{path:"/onboard/promo-widget",component:f("/onboard/promo-widget","f84"),exact:!0,sidebar:"tutorialSidebar"},{path:"/onboard/troubleshooting",component:f("/onboard/troubleshooting","988"),exact:!0,sidebar:"tutorialSidebar"},{path:"/onboard/wallet-connect",component:f("/onboard/wallet-connect","919"),exact:!0,sidebar:"tutorialSidebar"},{path:"/onboard/wallets/rainbowkit",component:f("/onboard/wallets/rainbowkit","447"),exact:!0,sidebar:"tutorialSidebar"},{path:"/onboard/wallets/web3modal",component:f("/onboard/wallets/web3modal","e50"),exact:!0,sidebar:"tutorialSidebar"},{path:"/public-apis",component:f("/public-apis","6cd"),exact:!0},{path:"/tools/verify-contract",component:f("/tools/verify-contract","b15"),exact:!0},{path:"/xcc/aurora-to-near/introduction",component:f("/xcc/aurora-to-near/introduction","9bd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/xcc/aurora-to-near/usage-examples",component:f("/xcc/aurora-to-near/usage-examples","375"),exact:!0,sidebar:"tutorialSidebar"},{path:"/xcc/layerzero/introduction",component:f("/xcc/layerzero/introduction","339"),exact:!0},{path:"/xcc/layerzero/usage-examples",component:f("/xcc/layerzero/usage-examples","bad"),exact:!0},{path:"/xcc/near-to-aurora/introduction",component:f("/xcc/near-to-aurora/introduction","f85"),exact:!0,sidebar:"tutorialSidebar"},{path:"/xcc/near-to-aurora/usage-examples",component:f("/xcc/near-to-aurora/usage-examples","e7e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/xcc/quickstart",component:f("/xcc/quickstart","6d5"),exact:!0}]},{path:"*",component:f("*")}]},9451:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>o});var r=n(9496);const a=r.createContext(!1);function o(e){let{children:t}=e;const[n,o]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{o(!0)}),[]),r.createElement(a.Provider,{value:n},t)}},6554:(e,t,n)=>{"use strict";var r=n(9496),a=n(7995),o=n(8736),i=n(9197),l=n(1714);const s=[n(4161),n(5657),n(1614),n(6037),n(4313)];var c=n(7840),u=n(3442),d=n(9620),f=n(1706);function p(e,t={}){const n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(!t.doNotParse)try{return JSON.parse(n)}catch(r){}return e}n(2535);const m=r.createContext(new class{constructor(e,t={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const e=this.cookies;this.cookies=f.Q(document.cookie),this._checkChanges(e)};const n="undefined"==typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?f.Q(e):"object"==typeof e&&null!==e?e:{}}(e||n),this.defaultSetOptions=t,this.HAS_DOCUMENT_COOKIE=function(){const e="undefined"==typeof global?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof e?e:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:p(this.cookies[t])})}))}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),p(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();const t={};for(let n in this.cookies)t[n]=p(this.cookies[n],e);return t}set(e,t,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;const r="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:r}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=f.q(e,r,n)),this._emitChange({name:e,value:t,options:n})}remove(e,t){const n=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=f.q(e,"",n)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){const t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}),{Provider:h,Consumer:g}=m;class b extends r.Component{constructor(e){super(e),e.cookies?this.cookies=e.cookies:this.cookies=new Cookies(void 0,e.defaultSetOptions)}render(){return React.createElement(h,{value:this.cookies},this.props.children)}}function v(e){const t=(0,r.useContext)(m);if(!t)throw new Error("Missing ");const[n,a]=(0,r.useState)((()=>t.getAll()));"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,r.useLayoutEffect)((()=>{function r(){const r=t.getAll({doNotUpdate:!0});(function(e,t,n){if(!e)return!0;for(let r of e)if(t[r]!==n[r])return!0;return!1})(e||null,r,n)&&a(r)}return t.addChangeListener(r),()=>{t.removeChangeListener(r)}}),[t,n]);const o=(0,r.useMemo)((()=>t.set.bind(t)),[t]),i=(0,r.useMemo)((()=>t.remove.bind(t)),[t]),l=(0,r.useMemo)((()=>t.update.bind(t)),[t]);return[n,o,i,l]}"function"==typeof SuppressedError&&SuppressedError;const y=e=>{let{onClick:t}=e;return r.createElement("div",{"aria-live":"assertive",className:"cookie-consent"},r.createElement("div",{className:"cookie-consent__wrapper"},r.createElement("div",null,"This site uses cookies. ",r.createElement("br",null)),r.createElement("button",{className:"cookie-consent__confirm",onClick:t},"OK")))};var w=n(7232),k=n(954);const E="cookie-consent-given",x=1;function S(){if(!(0,k.Z)())return null;const[e,t]=v(),[n,a]=r.useState((null==e?void 0:e[E])===x);return n?r.createElement(w.Z,null,r.createElement("script",{async:!0,defer:!0,src:"https://scripts.simpleanalyticscdn.com/latest.js"}),r.createElement("noscript",null,'')):r.createElement(y,{onClick:()=>{const e=new Date((new Date).setFullYear((new Date).getFullYear()+1));t(E,x,{expires:e}),a(!0)}})}function _(e){let{children:t}=e;return r.createElement(r.Fragment,null,t,r.createElement(S,null))}var C=n(1163),T=n(1964),A=n(8451),O=n(4506),N=n(2255),P=n(1061),L=n(202),I=n(6826),R=n(779);function M(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,T.Z)(),n=(0,P.l)();return r.createElement(w.Z,null,Object.entries(t).map((e=>{let[t,{htmlLang:a}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:a})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function D(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,T.Z)(),a=function(){const{siteConfig:{url:e}}=(0,T.Z)(),{pathname:t}=(0,u.TH)();return e+(0,A.Z)(t)}(),o=t?`${n}${t}`:a;return r.createElement(w.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function F(){const{i18n:{currentLocale:e}}=(0,T.Z)(),{metadata:t,image:n}=(0,O.L)();return r.createElement(r.Fragment,null,r.createElement(w.Z,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:L.h})),n&&r.createElement(N.d,{image:n}),r.createElement(D,null),r.createElement(M,null),r.createElement(R.Z,{tag:I.HX,locale:e}),r.createElement(w.Z,null,t.map(((e,t)=>r.createElement("meta",(0,C.Z)({key:t},e))))))}const z=new Map;function B(e){if(z.has(e.pathname))return{...e,pathname:z.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return z.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return z.set(e.pathname,t),{...e,pathname:t}}var j=n(9451),U=n(347);function $(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{var r;const a=(null==(r=t.default)?void 0:r[e])??t[e];return null==a?void 0:a(...n)}));return()=>a.forEach((e=>null==e?void 0:e()))}const Z=function(e){let{children:t,location:n,previousLocation:a}=e;return(0,r.useLayoutEffect)((()=>{a!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);null==t||t.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:a}),$("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function H(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class V extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?$("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=$("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),H(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(Z,{previousLocation:this.previousLocation,location:t},r.createElement(u.AW,{location:t,render:()=>e}))}}const q=V,W="docusaurus-base-url-issue-banner-container",G="docusaurus-base-url-issue-banner",Y="docusaurus-base-url-issue-banner-suggestion-container",K="__DOCUSAURUS_INSERT_BASEURL_BANNER";function X(e){return`\nwindow['${K}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${K}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${W}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\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(/{window[K]=!1}),[]),r.createElement(r.Fragment,null,!l.Z.canUseDOM&&r.createElement(w.Z,null,r.createElement("script",null,X(e))),r.createElement("div",{id:W}))}function J(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,T.Z)(),{pathname:n}=(0,u.TH)();return t&&n===e?r.createElement(Q,null):null}function ee(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,T.Z)(),i=(0,A.Z)(e),{htmlLang:l,direction:s}=o[a];return r.createElement(w.Z,null,r.createElement("html",{lang:l,dir:s}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:i}))}var te=n(3791);function ne(){const e=(0,d.H)(c.Z),t=(0,u.TH)();return r.createElement(te.Z,null,r.createElement(U.M,null,r.createElement(j.t,null,r.createElement(_,null,r.createElement(ee,null),r.createElement(F,null),r.createElement(J,null),r.createElement(q,{location:B(t)},e)))))}var re=n(6887);const ae=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r;if("undefined"==typeof document)return void n();const a=document.createElement("link");a.setAttribute("rel","prefetch"),a.setAttribute("href",e),a.onload=()=>t(),a.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??(null==(r=document.getElementsByName("script")[0])?void 0:r.parentNode);null==o||o.appendChild(a)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var oe=n(6660);const ie=new Set,le=new Set,se=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},ce={prefetch(e){if(!(e=>!se()&&!le.has(e)&&!ie.has(e))(e))return!1;ie.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(re).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,oe.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?ae(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!se()&&!le.has(e))(e)&&(le.add(e),H(e))},ue=Object.freeze(ce);if(l.Z.canUseDOM){window.docusaurus=ue;const e=a.hydrate;H(window.location.pathname).then((()=>{e(r.createElement(i.B6,null,r.createElement(o.VK,null,r.createElement(ne,null))),document.getElementById("__docusaurus"))}))}},347:(e,t,n)=>{"use strict";n.d(t,{_:()=>u,M:()=>d});var r=n(9496),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":["GTM-MX4G4L5"],"anonymizeIP":true,"id":"default"}},"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"getting-started/overview","docs":[{"id":"audits","path":"/audits"},{"id":"bridge/advanced","path":"/bridge/advanced","sidebar":"tutorialSidebar"},{"id":"bridge/aurora-chains","path":"/bridge/aurora-chains"},{"id":"bridge/aurora-near","path":"/bridge/aurora-near","sidebar":"tutorialSidebar"},{"id":"bridge/fast-bridge","path":"/bridge/fast-bridge","sidebar":"tutorialSidebar"},{"id":"bridge/from-ethereum","path":"/bridge/from-ethereum","sidebar":"tutorialSidebar"},{"id":"bridge/introduction","path":"/bridge/introduction","sidebar":"tutorialSidebar"},{"id":"bridge/on-ramp","path":"/bridge/on-ramp"},{"id":"bridge/to-ethereum","path":"/bridge/to-ethereum","sidebar":"tutorialSidebar"},{"id":"bridge/troubleshooting","path":"/bridge/troubleshooting","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/contracts/counter","path":"/build-a-dapp/contracts/counter","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/contracts/erc-20","path":"/build-a-dapp/contracts/erc-20","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/contracts/nft","path":"/build-a-dapp/contracts/nft","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/frontend/account","path":"/build-a-dapp/frontend/account","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/frontend/connect-wallet","path":"/build-a-dapp/frontend/connect-wallet","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/frontend/read-contract","path":"/build-a-dapp/frontend/read-contract","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/frontend/transactions","path":"/build-a-dapp/frontend/transactions","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/frontend/write-contract","path":"/build-a-dapp/frontend/write-contract","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/getting-eth","path":"/build-a-dapp/getting-eth","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/introduction","path":"/build-a-dapp/introduction","sidebar":"tutorialSidebar"},{"id":"build-a-dapp/quickstart","path":"/build-a-dapp/quickstart"},{"id":"build-a-dapp/troubleshooting","path":"/build-a-dapp/troubleshooting"},{"id":"contact-us","path":"/contact-us"},{"id":"contribute","path":"/contribute"},{"id":"dev-reference/aurora-engine","path":"/dev-reference/aurora-engine","sidebar":"tutorialSidebar"},{"id":"dev-reference/contracts","path":"/dev-reference/contracts","sidebar":"tutorialSidebar"},{"id":"dev-reference/eth-wallets","path":"/dev-reference/eth-wallets","sidebar":"tutorialSidebar"},{"id":"dev-reference/json-rpc","path":"/dev-reference/json-rpc","sidebar":"tutorialSidebar"},{"id":"dev-reference/network-endpoints","path":"/dev-reference/network-endpoints","sidebar":"tutorialSidebar"},{"id":"dev-reference/opcodes","path":"/dev-reference/opcodes","sidebar":"tutorialSidebar"},{"id":"dev-reference/precompiles","path":"/dev-reference/precompiles","sidebar":"tutorialSidebar"},{"id":"gas/create-plan/manage-contracts","path":"/gas/create-plan/manage-contracts"},{"id":"gas/create-plan/manage-users","path":"/gas/create-plan/manage-users"},{"id":"gas/create-plan/rate-limit","path":"/gas/create-plan/rate-limit"},{"id":"gas/create-plan/restrictions","path":"/gas/create-plan/restrictions"},{"id":"gas/introduction","path":"/gas/introduction"},{"id":"gas/monitor-plans","path":"/gas/monitor-plans"},{"id":"gas/reference/lists-api","path":"/gas/reference/lists-api"},{"id":"gas/troubleshooting","path":"/gas/troubleshooting"},{"id":"getting-started/explore","path":"/getting-started/explore","sidebar":"tutorialSidebar"},{"id":"getting-started/faq","path":"/getting-started/faq","sidebar":"tutorialSidebar"},{"id":"getting-started/overview","path":"/","sidebar":"tutorialSidebar"},{"id":"getting-started/tokenomics","path":"/getting-started/tokenomics","sidebar":"tutorialSidebar"},{"id":"integrate/indexers/covalent","path":"/integrate/indexers/covalent"},{"id":"integrate/indexers/the-graph","path":"/integrate/indexers/the-graph"},{"id":"integrate/oracles/dia","path":"/integrate/oracles/dia"},{"id":"integrate/oracles/flux-protocol","path":"/integrate/oracles/flux-protocol"},{"id":"integrate/oracles/pyth","path":"/integrate/oracles/pyth"},{"id":"integrate/rpc-node-providers/omnia","path":"/integrate/rpc-node-providers/omnia"},{"id":"interact/block-explorer","path":"/interact/block-explorer"},{"id":"interact/hardhat","path":"/interact/hardhat"},{"id":"interact/metamask","path":"/interact/metamask"},{"id":"interact/truffle","path":"/interact/truffle"},{"id":"launch-chain/configuration/deploy-tokens","path":"/launch-chain/configuration/deploy-tokens"},{"id":"launch-chain/configuration/ecosystem-tools","path":"/launch-chain/configuration/ecosystem-tools"},{"id":"launch-chain/configuration/initialize","path":"/launch-chain/configuration/initialize","sidebar":"tutorialSidebar"},{"id":"launch-chain/configuration/kyc","path":"/launch-chain/configuration/kyc"},{"id":"launch-chain/configuration/whitelists","path":"/launch-chain/configuration/whitelists","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/how-to-use/binance","path":"/launch-chain/forwarder/how-to-use/binance","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/how-to-use/bitfinex","path":"/launch-chain/forwarder/how-to-use/bitfinex"},{"id":"launch-chain/forwarder/how-to-use/coinbase","path":"/launch-chain/forwarder/how-to-use/coinbase","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/how-to-use/general","path":"/launch-chain/forwarder/how-to-use/general","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/how-to-use/kucoin","path":"/launch-chain/forwarder/how-to-use/kucoin","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/introduction","path":"/launch-chain/forwarder/introduction","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/tech-details","path":"/launch-chain/forwarder/tech-details","sidebar":"tutorialSidebar"},{"id":"launch-chain/forwarder/troubleshooting","path":"/launch-chain/forwarder/troubleshooting","sidebar":"tutorialSidebar"},{"id":"launch-chain/introduction","path":"/launch-chain/introduction","sidebar":"tutorialSidebar"},{"id":"launch-chain/reference/whitelists-api","path":"/launch-chain/reference/whitelists-api","sidebar":"tutorialSidebar"},{"id":"launch-chain/stats","path":"/launch-chain/stats"},{"id":"launch-chain/troubleshooting","path":"/launch-chain/troubleshooting"},{"id":"nodes/install","path":"/nodes/install"},{"id":"nodes/learn/configuration-files","path":"/nodes/learn/configuration-files"},{"id":"nodes/learn/docker","path":"/nodes/learn/docker"},{"id":"nodes/learn/refiner","path":"/nodes/learn/refiner"},{"id":"nodes/learn/relayer-account","path":"/nodes/learn/relayer-account"},{"id":"nodes/learn/snapshots","path":"/nodes/learn/snapshots"},{"id":"nodes/logs","path":"/nodes/logs"},{"id":"nodes/manage-containers","path":"/nodes/manage-containers"},{"id":"nodes/migrate","path":"/nodes/migrate"},{"id":"nodes/quickstart","path":"/nodes/quickstart"},{"id":"nodes/requirements","path":"/nodes/requirements"},{"id":"nodes/start","path":"/nodes/start"},{"id":"nodes/troubleshooting","path":"/nodes/troubleshooting"},{"id":"onboard/introduction","path":"/onboard/introduction","sidebar":"tutorialSidebar"},{"id":"onboard/own-wallet","path":"/onboard/own-wallet"},{"id":"onboard/promo-widget","path":"/onboard/promo-widget","sidebar":"tutorialSidebar"},{"id":"onboard/troubleshooting","path":"/onboard/troubleshooting","sidebar":"tutorialSidebar"},{"id":"onboard/wallet-connect","path":"/onboard/wallet-connect","sidebar":"tutorialSidebar"},{"id":"onboard/wallets/rainbowkit","path":"/onboard/wallets/rainbowkit","sidebar":"tutorialSidebar"},{"id":"onboard/wallets/web3modal","path":"/onboard/wallets/web3modal","sidebar":"tutorialSidebar"},{"id":"public-apis","path":"/public-apis"},{"id":"tools/verify-contract","path":"/tools/verify-contract"},{"id":"xcc/aurora-to-near/introduction","path":"/xcc/aurora-to-near/introduction","sidebar":"tutorialSidebar"},{"id":"xcc/aurora-to-near/usage-examples","path":"/xcc/aurora-to-near/usage-examples","sidebar":"tutorialSidebar"},{"id":"xcc/layerzero/introduction","path":"/xcc/layerzero/introduction"},{"id":"xcc/layerzero/usage-examples","path":"/xcc/layerzero/usage-examples"},{"id":"xcc/near-to-aurora/introduction","path":"/xcc/near-to-aurora/introduction","sidebar":"tutorialSidebar"},{"id":"xcc/near-to-aurora/usage-examples","path":"/xcc/near-to-aurora/usage-examples","sidebar":"tutorialSidebar"},{"id":"xcc/quickstart","path":"/xcc/quickstart"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/","label":"getting-started/overview"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"2.4.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.4.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.4.0"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"2.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.4.0"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"2.4.0"},"docusaurus-plugin-client-redirects":{"type":"package","name":"@docusaurus/plugin-client-redirects","version":"2.4.0"},"docusaurus-plugin-sass":{"type":"package","name":"docusaurus-plugin-sass","version":"0.2.3"}}}'),c={siteConfig:a.Z,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},u=r.createContext(c);function d(e){let{children:t}=e;return r.createElement(u.Provider,{value:c},t)}},3791:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(9496),a=n(1714),o=n(7232),i=n(3585),l=n(2990);function s(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"}},r.createElement("h1",{style:{fontSize:"3rem"}},"This page crashed"),r.createElement("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"}},"Try again"),r.createElement(c,{error:t}))}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{style:{whiteSpace:"pre-wrap"}},n)}function u(e){let{error:t,tryAgain:n}=e;return r.createElement(f,{fallback:()=>r.createElement(s,{error:t,tryAgain:n})},r.createElement(o.Z,null,r.createElement("title",null,"Page Error")),r.createElement(l.Z,null,r.createElement(s,{error:t,tryAgain:n})))}const d=e=>r.createElement(u,e);class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??d)(e)}return e??null}}},1714:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},7232:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9496),a=n(9197);function o(e){return r.createElement(a.ql,e)}},1019:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(1163),a=n(9496),o=n(8736),i=n(3585),l=n(1964),s=n(7735),c=n(1714);const u=a.createContext({collectLink:()=>{}}),d=()=>(0,a.useContext)(u);var f=n(8451);const p=e=>e.startsWith("/");function m(e,t){var n;let{isNavLink:u,to:m,href:h,activeClassName:g,isActive:b,"data-noBrokenLinkCheck":v,autoAddBaseUrl:y=!0,...w}=e;const{siteConfig:{trailingSlash:k,baseUrl:E}}=(0,l.Z)(),{withBaseUrl:x}=(0,f.C)(),S=d(),_=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>_.current));const C=m||h;const T=(0,s.Z)(C),A=null==C?void 0:C.replace("pathname://","");let O=void 0!==A?(N=A,y&&p(N)?x(N):N):void 0;var N;O&&T&&(O=(0,i.applyTrailingSlash)(O,{trailingSlash:k,baseUrl:E}));const P=(0,a.useRef)(!1),L=u?o.OL:o.rU,I=c.Z.canUseIntersectionObserver,R=(0,a.useRef)(),M=()=>{P.current||null==O||(window.docusaurus.preload(O),P.current=!0)};(0,a.useEffect)((()=>(!I&&T&&null!=O&&window.docusaurus.prefetch(O),()=>{I&&R.current&&R.current.disconnect()})),[R,O,I,T]);const D=(null==(n=O)?void 0:n.startsWith("#"))??!1,F=!O||!T||D;return F||v||S.collectLink(O),F?a.createElement("a",(0,r.Z)({ref:_,href:O},C&&!T&&{target:"_blank",rel:"noopener noreferrer"},w)):a.createElement(L,(0,r.Z)({},w,{onMouseEnter:M,onTouchStart:M,innerRef:e=>{_.current=e,I&&e&&T&&(R.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=O&&window.docusaurus.prefetch(O))}))})),R.current.observe(e))},to:O},u&&{isActive:b,activeClassName:g}))}const h=a.forwardRef(m)},917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,I:()=>l});var r=n(9496);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var o=n(7529);function i(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return o[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(i({message:n,id:r}),t)}function s(e){let{children:t,id:n,values:o}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const l=i({message:t,id:n});return r.createElement(r.Fragment,null,a(l,o))}},758:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},7735:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},8451:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(9496),a=n(1964),o=n(7735);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},1964:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9496),a=n(347);function o(){return(0,r.useContext)(a._)}},954:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9496),a=n(9451);function o(){return(0,r.useContext)(a._)}},6660:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t=".",n={};return function e(a,o){Object.entries(a).forEach((a=>{let[i,l]=a;const s=o?`${o}${t}${i}`:i;r(l)?e(l,s):n[s]=l}))}(e),n}},2471:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>o});var r=n(9496);const a=r.createContext(null);function o(e){let{children:t,value:n}=e;const o=r.useContext(a),i=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:o,value:n})),[o,n]);return r.createElement(a.Provider,{value:i},t)}},9225:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>b,gA:()=>p,WS:()=>m,_r:()=>d,Jo:()=>v,zh:()=>f,yW:()=>g,gB:()=>h});var r=n(3442),a=n(1964),o=n(758);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}function c(e,t){const n=s(e,t),a=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},d=()=>i("docusaurus-plugin-content-docs")??u,f=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=null==r?void 0:r[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&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((e=>e.path)).join(", ")}`);return o}(t,n,e)}function m(e){void 0===e&&(e={});const t=p(e),{pathname:n}=(0,r.TH)();if(!t)return;return{activePlugin:t,activeVersion:s(t.pluginData,n)}}function h(e){return f(e).versions}function g(e){const t=f(e);return l(t)}function b(e){const t=f(e),{pathname:n}=(0,r.TH)();return c(t,n)}function v(e){const t=f(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:c(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},4161:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("event","page_view",{page_title:document.title,page_location:window.location.href,page_path:t.pathname+t.search+t.hash})}))}}},7947:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}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(){return i=Object.assign||function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9981),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},1614:(e,t,n)=>{"use strict";n.r(t);var r=n(999),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.Z,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(8265)(`./prism-${e}`)})),delete globalThis.Prism}(r.Z)},434:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9496);const a={iconExternalLink:"iconExternalLink_N7Yr"};function o(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a.iconExternalLink},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"}))}},2990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>so});var r=n(9496),a=n(5924),o=n(3791),i=n(2255),l=n(1163),s=n(3442),c=n(917),u=n(4911);const d="docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const m=(0,c.I)({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",message:"Skip to main content"});function h(e){const t=e.children??m,{containerRef:n,onClick:a}=p();return r.createElement("div",{ref:n,role:"region","aria-label":m},r.createElement("a",(0,l.Z)({},e,{href:`#${d}`,onClick:a}),t))}var g=n(2771),b=n(202);const v={skipToContent:"skipToContent_baQh"};function y(){return r.createElement(h,{className:v.skipToContent})}var w=n(4506),k=n(2645);function E(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...s}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 15 15",width:t,height:n},s),r.createElement("g",{stroke:a,strokeWidth:o},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const x={closeButton:"closeButton_EeU2"};function S(e){return r.createElement("button",(0,l.Z)({type:"button","aria-label":(0,c.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.Z)("clean-btn close",x.closeButton,e.className)}),r.createElement(E,{width:14,height:14,strokeWidth:3.1}))}const _={content:"content_jv2L"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return r.createElement("div",(0,l.Z)({},e,{className:(0,a.Z)(_.content,e.className),dangerouslySetInnerHTML:{__html:n}}))}const T={announcementBar:"announcementBar_HvoW",announcementBarPlaceholder:"announcementBarPlaceholder_YKKp",announcementBarClose:"announcementBarClose_qAU1",announcementBarContent:"announcementBarContent_iOlS"};function A(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:a,textColor:o,isCloseable:i}=e;return r.createElement("div",{className:T.announcementBar,style:{backgroundColor:a,color:o},role:"banner"},i&&r.createElement("div",{className:T.announcementBarPlaceholder}),r.createElement(C,{className:T.announcementBarContent}),i&&r.createElement(S,{onClick:n,className:T.announcementBarClose}))}var O=n(9770),N=n(9381);var P=n(8145),L=n(7695);const I=r.createContext(null);function R(e){let{children:t}=e;const n=function(){const e=(0,O.e)(),t=(0,L.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,P.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return r.createElement(I.Provider,{value:n},t)}function M(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function D(){const e=(0,r.useContext)(I);if(!e)throw new P.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,L.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:M(o)})),[a,o,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:o}=e;const{shown:i}=D();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},o)))}var z=n(8794),B=n(954);function j(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function U(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const $={toggle:"toggle_OTle",toggleButton:"toggleButton_Bd8U",darkToggleIcon:"darkToggleIcon_G_lN",lightToggleIcon:"lightToggleIcon_VEJ6",toggleButtonDisabled:"toggleButtonDisabled_PApC"};function Z(e){let{className:t,buttonClassName:n,value:o,onChange:i}=e;const l=(0,B.Z)(),s=(0,c.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:"dark"===o?(0,c.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,c.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.Z)($.toggle,t)},r.createElement("button",{className:(0,a.Z)("clean-btn",$.toggleButton,!l&&$.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===o?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite"},r.createElement(j,{className:(0,a.Z)($.toggleIcon,$.lightToggleIcon)}),r.createElement(U,{className:(0,a.Z)($.toggleIcon,$.darkToggleIcon)})))}const H=r.memo(Z),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_bS2t"};function q(e){let{className:t}=e;const n=(0,w.L)().navbar.style,a=(0,w.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:i}=(0,z.I)();return a?null:r.createElement(H,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var W=n(1177);function G(){return r.createElement(W.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,O.e)();return r.createElement("button",{type:"button","aria-label":(0,c.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(E,{color:"var(--ifm-color-emphasis-600)"}))}function K(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(G,null),r.createElement(q,{className:"margin-right--md"}),r.createElement(Y,null))}var X=n(1019),Q=n(8451),J=n(7735),ee=n(6177),te=n(434);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:s,isDropdownLink:c,prependBaseUrlToHref:u,...d}=e;const f=(0,Q.Z)(a),p=(0,Q.Z)(t),m=(0,Q.Z)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,J.Z)(o),g=s?{dangerouslySetInnerHTML:{__html:s}}:{children:r.createElement(r.Fragment,null,i,h&&r.createElement(te.Z,c&&{width:12,height:12}))};return o?r.createElement(X.Z,(0,l.Z)({href:u?m:o},d,g)):r.createElement(X.Z,(0,l.Z)({to:f,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?(0,ee.F)(n,t.pathname):t.pathname.startsWith(p)},d,g))}function re(e){let{className:t,isDropdownItem:n=!1,...o}=e;const i=r.createElement(ne,(0,l.Z)({className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},o));return n?r.createElement("li",null,i):i}function ae(e){let{className:t,isDropdownItem:n,...o}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(ne,(0,l.Z)({className:(0,a.Z)("menu__link",t)},o)))}function oe(e){let{mobile:t=!1,position:n,...a}=e;const o=t?ae:re;return r.createElement(o,(0,l.Z)({},a,{activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")}))}var ie=n(4546),le=n(4637),se=n(1964);function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!(0,ee.F)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ue(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const c=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[c]),r.createElement("div",{ref:c,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(ne,(0,l.Z)({"aria-haspopup":"true","aria-expanded":u,role:"button",href:s.to?void 0:"#",className:(0,a.Z)("navbar__link",o)},s,{onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))}}),s.children??s.label),r.createElement("ul",{className:"dropdown__menu"},t.map(((e,t)=>r.createElement(Ve,(0,l.Z)({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))))))}function de(e){let{items:t,className:n,position:o,onClick:i,...c}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:f,toggleCollapsed:p,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[u,d,m]),r.createElement("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":f})},r.createElement(ne,(0,l.Z)({role:"button",className:(0,a.Z)("menu__link menu__link--sublist menu__link--sublist-caret",n)},c,{onClick:e=>{e.preventDefault(),p()}}),c.children??c.label),r.createElement(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:f},t.map(((e,t)=>r.createElement(Ve,(0,l.Z)({mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active"},e,{key:t}))))))}function fe(e){let{mobile:t=!1,...n}=e;const a=t?de:ue;return r.createElement(a,n)}var pe=n(1061);function me(e){let{width:t=20,height:n=20,...a}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},a),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const he={iconLanguage:"iconLanguage_EtWc"};function ge(){return r.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},r.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var be=n(3454),ve=["translations"];function ye(){return ye=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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 xe="Ctrl";var Se=r.forwardRef((function(e,t){var n=e.translations,a=void 0===n?{}:n,o=Ee(e,ve),i=a.buttonText,l=void 0===i?"Search":i,s=a.buttonAriaLabel,c=void 0===s?"Search":s,u=we((0,r.useState)(null),2),d=u[0],f=u[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?f("\u2318"):f(xe))}),[]),r.createElement("button",ye({type:"button",className:"DocSearch DocSearch-Button","aria-label":c},o,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(be.W,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},l)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==d&&r.createElement(r.Fragment,null,r.createElement("kbd",{className:"DocSearch-Button-Key"},d===xe?r.createElement(ge,null):d),r.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))})),_e=n(7232),Ce=n(8305),Te=n(1933),Ae=n(6826);var Oe=n(7995);const Ne={button:{buttonText:(0,c.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,c.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,c.I)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,c.I)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,c.I)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,c.I)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,c.I)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,c.I)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,c.I)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,c.I)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,c.I)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,c.I)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,c.I)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,c.I)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,c.I)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,c.I)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,c.I)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,c.I)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,c.I)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,c.I)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,c.I)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,c.I)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,c.I)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,c.I)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,c.I)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,c.I)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,c.I)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Pe=null;function Le(e){let{hit:t,children:n}=e;return r.createElement(X.Z,{to:t.url},n)}function Ie(e){let{state:t,onClose:n}=e;const a=(0,Ce.M)();return r.createElement(X.Z,{to:a(t.query),onClick:n},r.createElement(c.Z,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits}},"See all {count} results"))}function Re(e){var t;let{contextualSearch:a,externalUrlRegex:o,...i}=e;const{siteMetadata:c}=(0,se.Z)(),u=(0,Te.l)(),d=function(){const{locale:e,tags:t}=(0,Ae._q)();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}(),f=(null==(t=i.searchParameters)?void 0:t.facetFilters)??[],p=a?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(d,f):f,m={...i.searchParameters,facetFilters:p},h=(0,s.k6)(),g=(0,r.useRef)(null),b=(0,r.useRef)(null),[v,y]=(0,r.useState)(!1),[w,k]=(0,r.useState)(void 0),E=(0,r.useCallback)((()=>Pe?Promise.resolve():Promise.all([n.e(1089).then(n.bind(n,1089)),Promise.all([n.e(532),n.e(3161)]).then(n.bind(n,3161)),Promise.all([n.e(532),n.e(9800)]).then(n.bind(n,9800))]).then((e=>{let[{DocSearchModal:t}]=e;Pe=t}))),[]),x=(0,r.useCallback)((()=>{E().then((()=>{g.current=document.createElement("div"),document.body.insertBefore(g.current,document.body.firstChild),y(!0)}))}),[E,y]),S=(0,r.useCallback)((()=>{var e;y(!1),null==(e=g.current)||e.remove()}),[y]),_=(0,r.useCallback)((e=>{E().then((()=>{y(!0),k(e.key)}))}),[E,y,k]),C=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,ee.F)(o,t)?window.location.href=t:h.push(t)}}).current,T=(0,r.useRef)((e=>i.transformItems?i.transformItems(e):e.map((e=>({...e,url:u(e.url)}))))).current,A=(0,r.useMemo)((()=>e=>r.createElement(Ie,(0,l.Z)({},e,{onClose:S}))),[S]),O=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",c.docusaurusVersion),e)),[c.docusaurusVersion]);return function(e){var t=e.isOpen,n=e.onOpen,a=e.onClose,o=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){(27===e.keyCode&&t||"k"===e.key.toLowerCase()&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?a():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&o&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&o(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,a,o,i])}({isOpen:v,onOpen:x,onClose:S,onInput:_,searchButtonRef:b}),r.createElement(r.Fragment,null,r.createElement(_e.Z,null,r.createElement("link",{rel:"preconnect",href:`https://${i.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),r.createElement(Se,{onTouchStart:E,onFocus:E,onMouseOver:E,onClick:x,ref:b,translations:Ne.button}),v&&Pe&&g.current&&(0,Oe.createPortal)(r.createElement(Pe,(0,l.Z)({onClose:S,initialScrollY:window.scrollY,initialQuery:w,navigator:C,transformItems:T,hitComponent:Le,transformSearchClient:O},i.searchPagePath&&{resultsFooterComponent:A},i,{searchParameters:m,placeholder:Ne.placeholder,translations:Ne.modal})),g.current))}function Me(){const{siteConfig:e}=(0,se.Z)();return r.createElement(Re,e.themeConfig.algolia)}const De={searchBox:"searchBox_DWGO"};function Fe(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,a.Z)(n,De.searchBox)},t)}var ze=n(9225),Be=n(7436);const je=e=>e.docs.find((t=>t.id===e.mainDocId));var Ue=n(6351);const $e=e=>e.docs.find((t=>t.id===e.mainDocId));const Ze={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.Z)(),f=(0,pe.l)(),{search:p,hash:m}=(0,s.TH)(),h=[...n,...u.map((e=>{const n=`${`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`}${p}${m}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...a],g=t?(0,c.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return r.createElement(fe,(0,l.Z)({},o,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(me,{className:he.iconLanguage}),g),items:h}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(Fe,{className:n},r.createElement(Me,null))},dropdown:fe,html:function(e){let{value:t,className:n,mobile:o=!1,isDropdownItem:i=!1}=e;const l=i?"li":"div";return r.createElement(l,{className:(0,a.Z)({navbar__item:!o&&!i,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,ze.Iw)(a),s=(0,Be.vY)(t,a);return null===s?null:r.createElement(oe,(0,l.Z)({exact:!0},o,{isActive:()=>(null==i?void 0:i.path)===s.path||!(null==i||!i.sidebar)&&i.sidebar===s.sidebar,label:n??s.id,to:s.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,ze.Iw)(a),s=(0,Be.oz)(t,a).link;if(!s)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return r.createElement(oe,(0,l.Z)({exact:!0},o,{isActive:()=>(null==i?void 0:i.sidebar)===t,label:n??s.label,to:s.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e;const i=(0,Be.lO)(a)[0],s=t??i.label,c=n??je(i).path;return r.createElement(oe,(0,l.Z)({},o,{label:s,to:c}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...u}=e;const{search:d,hash:f}=(0,s.TH)(),p=(0,ze.Iw)(n),m=(0,ze.gB)(n),{savePreferredVersionName:h}=(0,Ue.J)(n),g=[...o,...m.map((e=>{const t=p.alternateDocVersions[e.name]??$e(e);return{label:e.label,to:`${t.path}${d}${f}`,isActive:()=>e===p.activeVersion,onClick:()=>h(e.name)}})),...i],b=(0,Be.lO)(n)[0],v=t&&g.length>1?(0,c.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):b.label,y=t&&g.length>1?void 0:$e(b).path;return g.length<=1?r.createElement(oe,(0,l.Z)({},u,{mobile:t,label:v,to:y,isActive:a?()=>!1:void 0})):r.createElement(fe,(0,l.Z)({},u,{mobile:t,label:v,to:y,items:g,isActive:a?()=>!1:void 0}))}},He=Ze;function Ve(e){let{type:t,...n}=e;const a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=He[a];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return r.createElement(o,n)}function qe(){const e=(0,O.e)(),t=(0,w.L)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(Ve,(0,l.Z)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function We(e){return r.createElement("button",(0,l.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(c.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"))}function Ge(){const e=0===(0,w.L)().navbar.items.length,t=D();return r.createElement(r.Fragment,null,!e&&r.createElement(We,{onClick:()=>t.hide()}),t.content)}function Ye(){const e=(0,O.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement(F,{header:r.createElement(K,null),primaryMenu:r.createElement(qe,null),secondaryMenu:r.createElement(Ge,null)}):null}const Ke={navbarHideable:"navbarHideable_T03H",navbarHidden:"navbarHidden_q2m5"};function Xe(e){return r.createElement("div",(0,l.Z)({role:"presentation"},e,{className:(0,a.Z)("navbar-sidebar__backdrop",e.className)}))}function Qe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,O.e)(),{navbarRef:l,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,N.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=l?n(!1):i+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:l,"aria-label":(0,c.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Ke.navbarHideable,!s&&Ke.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown})},t,r.createElement(Xe,{onClick:i.toggle}),r.createElement(Ye,null))}var Je=n(3585);const et={errorBoundaryError:"errorBoundaryError_Ghdq"};function tt(e){return r.createElement("button",(0,l.Z)({type:"button"},e),r.createElement(c.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error"},"Try again"))}function nt(e){let{error:t}=e;const n=(0,Je.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{className:et.errorBoundaryError},n)}class rt extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const at="right";function ot(e){let{width:t=30,height:n=30,className:a,...o}=e;return r.createElement("svg",(0,l.Z)({className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},o),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function it(){const{toggle:e,shown:t}=(0,O.e)();return r.createElement("button",{onClick:e,"aria-label":(0,c.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(ot,null))}const lt={colorModeToggle:"colorModeToggle_XXG0"};function st(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(rt,{key:t,onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t})},r.createElement(Ve,e)))))}function ct(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function ut(){const e=(0,O.e)(),t=(0,w.L)().navbar.items,[n,a]=function(e){function t(e){return"left"===(e.position??at)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return r.createElement(ct,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(it,null),r.createElement(G,null),r.createElement(st,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(st,{items:a}),r.createElement(q,{className:lt.colorModeToggle}),!o&&r.createElement(Fe,null,r.createElement(Me,null)))})}function dt(){return r.createElement(Qe,null,r.createElement(ut,null))}const ft={footerLogoLink:"footerLogoLink_fGS1"};var pt=n(8236);function mt(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 ht(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;)t+=Cn[62*Math.random()|0];return t}function An(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function On(e){return e.classList?An(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Nn(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Pn(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ln(e){return e.size!==_n.size||e.x!==_n.x||e.y!==_n.y||e.rotate!==_n.rotate||e.flipX||e.flipY}var In=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Rn(){var e=Zt,t=Ht,n=En.cssPrefix,r=En.replacementClass,a=In;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return a}var Mn=!1;function Dn(){En.autoAddCss&&!Mn&&(!function(e){if(e&&Bt){var t=Dt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Dt.head.childNodes,r=null,a=n.length-1;a>-1;a--){var o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}Dt.head.insertBefore(t,r)}}(Rn()),Mn=!0)}var Fn={mixout:function(){return{dom:{css:Rn,insertCss:Dn}}},hooks:function(){return{beforeDOMElementCreation:function(){Dn()},beforeI2svg:function(){Dn()}}}},zn=Mt||{};zn[Ut]||(zn[Ut]={}),zn[Ut].styles||(zn[Ut].styles={}),zn[Ut].hooks||(zn[Ut].hooks={}),zn[Ut].shims||(zn[Ut].shims=[]);var Bn=zn[Ut],jn=[],Un=!1;function $n(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,o=void 0===a?[]:a;return"string"==typeof e?Nn(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Nn(e[n]),'" ')}),"").trim()}(r),">").concat(o.map($n).join(""),"")}function Zn(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Bt&&((Un=(Dt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Dt.readyState))||Dt.addEventListener("DOMContentLoaded",(function e(){Dt.removeEventListener("DOMContentLoaded",e),Un=1,jn.map((function(e){return e()}))})));var Hn=function(e,t,n,r){var a,o,i,l=Object.keys(e),s=l.length,c=void 0!==r?function(e,t){return function(n,r,a,o){return e.call(t,n,r,a,o)}}(t,r):t;for(void 0===n?(a=1,i=e[l[0]]):(a=0,i=n);a=55296&&a<=56319&&n2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,a=qn(t);"function"!=typeof Bn.hooks.addPack||r?Bn.styles[e]=ht(ht({},Bn.styles[e]||{}),a):Bn.hooks.addPack(e,qn(t)),"fas"===e&&Wn("fa",t)}var Gn,Yn,Kn,Xn=Bn.styles,Qn=Bn.shims,Jn=(vt(Gn={},en,Object.values(ln[en])),vt(Gn,tn,Object.values(ln[tn])),Gn),er=null,tr={},nr={},rr={},ar={},or={},ir=(vt(Yn={},en,Object.keys(an[en])),vt(Yn,tn,Object.keys(an[tn])),Yn);function lr(e,t){var n,r=t.split("-"),a=r[0],o=r.slice(1).join("-");return a!==e||""===o||(n=o,~vn.indexOf(n))?null:o}var sr,cr=function(){var e=function(e){return Hn(Xn,(function(t,n,r){return t[r]=Hn(n,e,{}),t}),{})};tr=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),nr=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),or=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Xn||En.autoFetchSvg,n=Hn(Qn,(function(e,n){var r=n[0],a=n[1],o=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:o}),e}),{names:{},unicodes:{}});rr=n.names,ar=n.unicodes,er=hr(En.styleDefault,{family:En.familyDefault})};function ur(e,t){return(tr[e]||{})[t]}function dr(e,t){return(or[e]||{})[t]}function fr(e){return rr[e]||{prefix:null,iconName:null}}function pr(){return er}sr=function(e){er=hr(e.styleDefault,{family:En.familyDefault})},xn.push(sr),cr();var mr=function(){return{prefix:null,iconName:null,rest:[]}};function hr(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?en:t,r=an[n][e],a=on[n][e]||on[n][r],o=e in Bn.styles?e:null;return a||o||null}var gr=(vt(Kn={},en,Object.keys(ln[en])),vt(Kn,tn,Object.keys(ln[tn])),Kn);function br(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,a=(vt(t={},en,"".concat(En.cssPrefix,"-").concat(en)),vt(t,tn,"".concat(En.cssPrefix,"-").concat(tn)),t),o=null,i=en;(e.includes(a[en])||e.some((function(e){return gr[en].includes(e)})))&&(i=en),(e.includes(a[tn])||e.some((function(e){return gr[tn].includes(e)})))&&(i=tn);var l=e.reduce((function(e,t){var n=lr(En.cssPrefix,t);if(Xn[t]?(t=Jn[i].includes(t)?sn[i][t]:t,o=t,e.prefix=t):ir[i].indexOf(t)>-1?(o=t,e.prefix=hr(t,{family:i})):n?e.iconName=n:t!==En.replacementClass&&t!==a[en]&&t!==a[tn]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var l="fa"===o?fr(e.iconName):{},s=dr(e.prefix,e.iconName);l.prefix&&(o=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||Xn.far||!Xn.fas||En.autoFetchSvg||(e.prefix="fas")}return e}),mr());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==tn||!Xn.fass&&!En.autoFetchSvg||(l.prefix="fass",l.iconName=dr(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==o||(l.prefix=pr()||"fas"),l}var vr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&l.forEach((function(t){"string"==typeof t&&(e[a][t]=i)})),e[a][o]=i})),e}}],n&&bt(t.prototype,n),r&&bt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),yr=[],wr={},kr={},Er=Object.keys(kr);function xr(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return Bt?(Sr("beforeI2svg",e),_r("pseudoElements2svg",e),_r("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===En.autoReplaceSvg&&(En.autoReplaceSvg=!0),En.observeMutations=!0,e=function(){Nr({autoReplaceSvgRoot:n}),Sr("watch",t)},Bt&&(Un?setTimeout(e,0):jn.push(e))}},Or={noAuto:function(){En.autoReplaceSvg=!1,En.observeMutations=!1,Sr("noAuto")},config:En,dom:Ar,parse:{icon:function(e){if(null===e)return null;if("object"===gt(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:dr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=hr(e[0]);return{prefix:n,iconName:dr(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(En.cssPrefix,"-"))>-1||e.match(cn))){var r=br(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||pr(),iconName:dr(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var a=pr();return{prefix:a,iconName:dr(a,e)||e}}}},library:Tr,findIconDefinition:Cr,toHtml:$n},Nr=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Dt:e;(Object.keys(Bn.styles).length>0||En.autoFetchSvg)&&Bt&&En.autoReplaceSvg&&Or.dom.i2svg({node:t})};function Pr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return $n(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Bt){var t=Dt.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Lr(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,o=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,d=e.extra,f=e.watchable,p=void 0!==f&&f,m=r.found?r:n,h=m.width,g=m.height,b="fak"===a,v=[En.replacementClass,o?"".concat(En.cssPrefix,"-").concat(o):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),y={children:[],attributes:ht(ht({},d.attributes),{},{"data-prefix":a,"data-icon":o,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(g)})},w=b&&!~d.classes.indexOf("fa-fw")?{width:"".concat(h/g*16*.0625,"em")}:{};p&&(y.attributes[Vt]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Tn())},children:[s]}),delete y.attributes.title);var k=ht(ht({},y),{},{prefix:a,iconName:o,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:ht(ht({},w),d.styles)}),E=r.found&&n.found?_r("generateAbstractMask",k)||{children:[],attributes:{}}:_r("generateAbstractIcon",k)||{children:[],attributes:{}},x=E.children,S=E.attributes;return k.children=x,k.attributes=S,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,o=e.symbol,i=!0===o?"".concat(t,"-").concat(En.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ht(ht({},a),{},{id:i}),children:r}]}]}(k):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,o=e.styles,i=e.transform;if(Ln(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};a.style=Pn(ht(ht({},o),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(k)}function Ir(e){var t=e.content,n=e.width,r=e.height,a=e.transform,o=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=ht(ht(ht({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")});s&&(c[Vt]="");var u=ht({},i.styles);Ln(a)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?$t:n,a=e.height,o=void 0===a?$t:a,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&jt?"translate(".concat(t.x/Sn-r/2,"em, ").concat(t.y/Sn-o/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/Sn,"em), calc(-50% + ").concat(t.y/Sn,"em)) "):"translate(".concat(t.x/Sn,"em, ").concat(t.y/Sn,"em) "),s+="scale(".concat(t.size/Sn*(t.flipX?-1:1),", ").concat(t.size/Sn*(t.flipY?-1:1),") "),s+"rotate(".concat(t.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=Pn(u);d.length>0&&(c.style=d);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}var Rr=Bn.styles;function Mr(e){var t=e[0],n=e[1],r=yt(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(En.cssPrefix,"-").concat(gn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(En.cssPrefix,"-").concat(gn.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(En.cssPrefix,"-").concat(gn.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Dr={found:!1,width:512,height:512};function Fr(e,t){var n=t;return"fa"===t&&null!==En.styleDefault&&(t=pr()),new Promise((function(r,a){_r("missingIconAbstract");if("fa"===n){var o=fr(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Rr[t]&&Rr[t][e])return r(Mr(Rr[t][e]));!function(e,t){Jt||En.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(ht(ht({},Dr),{},{icon:En.showMissingIcons&&e&&_r("missingIconAbstract")||{}}))}))}var zr=function(){},Br=En.measurePerformance&&zt&&zt.mark&&zt.measure?zt:{mark:zr,measure:zr},jr='FA "6.3.0"',Ur=function(e){Br.mark("".concat(jr," ").concat(e," ends")),Br.measure("".concat(jr," ").concat(e),"".concat(jr," ").concat(e," begins"),"".concat(jr," ").concat(e," ends"))},$r={begin:function(e){return Br.mark("".concat(jr," ").concat(e," begins")),function(){return Ur(e)}},end:Ur},Zr=function(){};function Hr(e){return"string"==typeof(e.getAttribute?e.getAttribute(Vt):null)}function Vr(e){return Dt.createElementNS("http://www.w3.org/2000/svg",e)}function qr(e){return Dt.createElement(e)}function Wr(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Vr:qr:t;if("string"==typeof e)return Dt.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Wr(e,{ceFn:n}))})),r}var Gr={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Wr(e),t)})),null===t.getAttribute(Vt)&&En.keepOriginalSource){var n=Dt.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~On(t).indexOf(En.replacementClass))return Gr.replace(e);var r=new RegExp("".concat(En.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce((function(e,t){return t===En.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var o=n.map((function(e){return $n(e)})).join("\n");t.setAttribute(Vt,""),t.innerHTML=o}};function Yr(e){e()}function Kr(e,t){var n="function"==typeof t?t:Zr;if(0===e.length)n();else{var r=Yr;En.mutateApproach===Xt&&(r=Mt.requestAnimationFrame||Yr),r((function(){var t=!0===En.autoReplaceSvg?Gr.replace:Gr[En.autoReplaceSvg]||Gr.replace,r=$r.begin("mutate");e.map(t),r(),n()}))}}var Xr=!1;function Qr(){Xr=!0}function Jr(){Xr=!1}var ea=null;function ta(e){if(Ft&&En.observeMutations){var t=e.treeCallback,n=void 0===t?Zr:t,r=e.nodeCallback,a=void 0===r?Zr:r,o=e.pseudoElementsCallback,i=void 0===o?Zr:o,l=e.observeMutationsRoot,s=void 0===l?Dt:l;ea=new Ft((function(e){if(!Xr){var t=pr();An(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Hr(e.addedNodes[0])&&(En.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&En.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&Hr(e.target)&&~hn.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Gt):null,n=e.getAttribute?e.getAttribute(Yt):null;return t&&n}(e.target)){var r=br(On(e.target)),o=r.prefix,l=r.iconName;e.target.setAttribute(Gt,o||t),l&&e.target.setAttribute(Yt,l)}else(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(En.replacementClass)&&a(e.target);var s}))}})),Bt&&ea.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function na(e){var t,n,r=e.getAttribute("data-prefix"),a=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",i=br(On(e));return i.prefix||(i.prefix=pr()),r&&a&&(i.prefix=r,i.iconName=a),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=(t=i.prefix,n=e.innerText,(nr[t]||{})[n]||ur(i.prefix,Vn(e.innerText)))),!i.iconName&&En.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function ra(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=na(e),r=n.iconName,a=n.prefix,o=n.rest,i=function(e){var t=An(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return En.autoA11y&&(n?t["aria-labelledby"]="".concat(En.replacementClass,"-title-").concat(r||Tn()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=xr("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e}),{})),n}(e):[];return ht({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:_n,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:i}},l)}var aa=Bn.styles;function oa(e){var t="nest"===En.autoReplaceSvg?ra(e,{styleParser:!1}):ra(e);return~t.extra.classes.indexOf(un)?_r("generateLayersText",e,t):_r("generateSvgReplacementMutation",e,t)}var ia=new Set;function la(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Bt)return Promise.resolve();var n=Dt.documentElement.classList,r=function(e){return n.add("".concat(Kt,"-").concat(e))},a=function(e){return n.remove("".concat(Kt,"-").concat(e))},o=En.autoFetchSvg?ia:nn.map((function(e){return"fa-".concat(e)})).concat(Object.keys(aa));o.includes("fa")||o.push("fa");var i=[".".concat(un,":not([").concat(Vt,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(Vt,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=An(e.querySelectorAll(i))}catch(co){}if(!(l.length>0))return Promise.resolve();r("pending"),a("complete");var s=$r.begin("onTree"),c=l.reduce((function(e,t){try{var n=oa(t);n&&e.push(n)}catch(co){Jt||"MissingIcon"===co.name&&console.error(co)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Kr(n,(function(){r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function sa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;oa(e).then((function(e){e&&Kr([e],t)}))}nn.map((function(e){ia.add("fa-".concat(e))})),Object.keys(an[en]).map(ia.add.bind(ia)),Object.keys(an[tn]).map(ia.add.bind(ia)),ia=wt(ia);var ca=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?_n:n,a=t.symbol,o=void 0!==a&&a,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,d=void 0===u?null:u,f=t.titleId,p=void 0===f?null:f,m=t.classes,h=void 0===m?[]:m,g=t.attributes,b=void 0===g?{}:g,v=t.styles,y=void 0===v?{}:v;if(e){var w=e.prefix,k=e.iconName,E=e.icon;return Pr(ht({type:"icon"},e),(function(){return Sr("beforeDOMElementCreation",{iconDefinition:e,params:t}),En.autoA11y&&(d?b["aria-labelledby"]="".concat(En.replacementClass,"-title-").concat(p||Tn()):(b["aria-hidden"]="true",b.focusable="false")),Lr({icons:{main:Mr(E),mask:l?Mr(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:k,transform:ht(ht({},_n),r),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:b,styles:y,classes:h}})}))}},ua={mixout:function(){return{icon:(e=ca,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Cr(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:Cr(a||{})),e(r,ht(ht({},n),{},{mask:a}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=la,e.nodeCallback=sa,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Dt:t,r=e.callback;return la(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,a=t.titleId,o=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([Fr(n,o),s.iconName?Fr(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=yt(s,2),f=d[0],p=d[1];t([e,Lr({icons:{main:f,mask:p},prefix:o,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:a,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.transform,i=Pn(e.styles);return i.length>0&&(r.style=i),Ln(o)&&(t=_r("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(t||a.icon),{children:n,attributes:r}}}},da={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Pr({type:"layer"},(function(){Sr("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(En.cssPrefix,"-layers")].concat(wt(r)).join(" ")},children:n}]}))}}}},fa={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,a=t.classes,o=void 0===a?[]:a,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return Pr({type:"counter",content:e},(function(){return Sr("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,a=ht(ht(ht({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Pn(r.styles);o.length>0&&(a.style=o);var i=[];return i.push({tag:"span",attributes:a,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(En.cssPrefix,"-layers-counter")].concat(wt(o))}})}))}}}},pa={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?_n:n,a=t.title,o=void 0===a?null:a,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,d=void 0===u?{}:u;return Pr({type:"text",content:e},(function(){return Sr("beforeDOMElementCreation",{content:e,params:t}),Ir({content:e,transform:ht(ht({},_n),r),title:o,extra:{attributes:c,styles:d,classes:["".concat(En.cssPrefix,"-layers-text")].concat(wt(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,a=t.extra,o=null,i=null;if(jt){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();o=s.width/l,i=s.height/l}return En.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),Promise.resolve([e,Ir({content:e.innerHTML,width:o,height:i,transform:r,title:n,extra:a,watchable:!0})])}}},ma=new RegExp('"',"ug"),ha=[1105920,1112319];function ga(e,t){var n="".concat(Wt).concat(t.replace(":","-"));return new Promise((function(r,a){if(null!==e.getAttribute(n))return r();var o,i,l,s=An(e.children).filter((function(e){return e.getAttribute(qt)===t}))[0],c=Mt.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(dn),d=c.getPropertyValue("font-weight"),f=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==f&&""!==f){var p=c.getPropertyValue("content"),m=~["Sharp"].indexOf(u[2])?tn:en,h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?on[m][u[2].toLowerCase()]:fn[m][d],g=function(e){var t,n,r,a,o,i=e.replace(ma,""),l=(n=0,a=(t=i).length,(o=t.charCodeAt(n))>=55296&&o<=56319&&a>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(o-55296)+r-56320+65536:o),s=l>=ha[0]&&l<=ha[1],c=2===i.length&&i[0]===i[1];return{value:Vn(c?i[0]:i),isSecondary:s||c}}(p),b=g.value,v=g.isSecondary,y=u[0].startsWith("FontAwesome"),w=ur(h,b),k=w;if(y){var E=(i=ar[o=b],l=ur("fas",o),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});E.iconName&&E.prefix&&(w=E.iconName,h=E.prefix)}if(!w||v||s&&s.getAttribute(Gt)===h&&s.getAttribute(Yt)===k)r();else{e.setAttribute(n,k),s&&e.removeChild(s);var x={iconName:null,title:null,titleId:null,prefix:null,transform:_n,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},S=x.extra;S.attributes[qt]=t,Fr(w,h).then((function(a){var o=Lr(ht(ht({},x),{},{icons:{main:a,mask:mr()},prefix:h,iconName:k,extra:S,watchable:!0})),i=Dt.createElement("svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=o.map((function(e){return $n(e)})).join("\n"),e.removeAttribute(n),r()})).catch(a)}}else r()}))}function ba(e){return Promise.all([ga(e,"::before"),ga(e,"::after")])}function va(e){return!(e.parentNode===document.head||~Qt.indexOf(e.tagName.toUpperCase())||e.getAttribute(qt)||e.parentNode&&"svg"===e.parentNode.tagName)}function ya(e){if(Bt)return new Promise((function(t,n){var r=An(e.querySelectorAll("*")).filter(va).map(ba),a=$r.begin("searchPseudoElements");Qr(),Promise.all(r).then((function(){a(),Jr(),t()})).catch((function(){a(),Jr(),n()}))}))}var wa=!1,ka=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Ea={mixout:function(){return{parse:{transform:function(e){return ka(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=ka(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,a=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(a/2*-1," -256)")}};return{tag:"g",attributes:ht({},c.outer),children:[{tag:"g",attributes:ht({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:ht(ht({},t.icon.attributes),c.path)}]}]}}}},xa={x:0,y:0,width:"100%",height:"100%"};function Sa(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var _a={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?br(n.split(" ").map((function(e){return e.trim()}))):mr();return r.prefix||(r.prefix=pr()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.mask,i=e.maskId,l=e.transform,s=a.width,c=a.icon,u=o.width,d=o.icon,f=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(o," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),p={tag:"rect",attributes:ht(ht({},xa),{},{fill:"white"})},m=c.children?{children:c.children.map(Sa)}:{},h={tag:"g",attributes:ht({},f.inner),children:[Sa(ht({tag:c.tag,attributes:ht(ht({},c.attributes),f.path)},m))]},g={tag:"g",attributes:ht({},f.outer),children:[h]},b="mask-".concat(i||Tn()),v="clip-".concat(i||Tn()),y={tag:"mask",attributes:ht(ht({},xa),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(w,{tag:"rect",attributes:ht({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(b,")")},xa)}),{children:n,attributes:r}}}},Ca={provides:function(e){var t=!1;Mt.matchMedia&&(t=Mt.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:ht(ht({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=ht(ht({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:ht(ht({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:ht(ht({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ht(ht({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:ht(ht({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ht(ht({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:ht(ht({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ht(ht({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;yr=e,wr={},Object.keys(kr).forEach((function(e){-1===Er.indexOf(e)&&delete kr[e]})),yr.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===gt(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){wr[e]||(wr[e]=[]),wr[e].push(r[e])}))}e.provides&&e.provides(kr)}))}([Fn,ua,da,fa,pa,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=ya,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Dt:t;En.searchPseudoElements&&ya(n)}}},{mixout:function(){return{dom:{unwatch:function(){Qr(),wa=!0}}}},hooks:function(){return{bootstrap:function(){ta(xr("mutationObserverCallbacks",{}))},noAuto:function(){ea&&ea.disconnect()},watch:function(e){var t=e.observeMutationsRoot;wa?Jr():ta(xr("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Ea,_a,Ca,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:Or});var Ta=Or.parse,Aa=Or.icon,Oa=n(507),Na=n.n(Oa);function Pa(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 La(e){for(var t=1;t=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}function Da(e){return function(e){if(Array.isArray(e))return Fa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Fa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fa(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?Ra({},e,t):{}}var Za=r.forwardRef((function(e,t){var n=e.icon,r=e.mask,a=e.symbol,o=e.className,i=e.title,l=e.titleId,s=e.maskId,c=Ua(n),u=$a("classes",[].concat(Da(function(e){var t,n=e.beat,r=e.fade,a=e.beatFade,o=e.bounce,i=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,m=e.border,h=e.listItem,g=e.flip,b=e.size,v=e.rotation,y=e.pull,w=(Ra(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":o,"fa-shake":i,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":m,"fa-li":h,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(b),null!=b),Ra(t,"fa-rotate-".concat(v),null!=v&&0!==v),Ra(t,"fa-pull-".concat(y),null!=y),Ra(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(e)),Da(o.split(" ")))),d=$a("transform","string"==typeof e.transform?Ta.transform(e.transform):e.transform),f=$a("mask",Ua(r)),p=Aa(c,La(La(La(La({},u),d),f),{},{symbol:a,title:i,titleId:l,maskId:s}));if(!p)return function(){var e;!ja&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=p.abstract,h={ref:t};return Object.keys(e).forEach((function(t){Za.defaultProps.hasOwnProperty(t)||(h[t]=e[t])})),Ha(m[0],h)}));Za.displayName="FontAwesomeIcon",Za.propTypes={beat:Na().bool,border:Na().bool,beatFade:Na().bool,bounce:Na().bool,className:Na().string,fade:Na().bool,flash:Na().bool,mask:Na().oneOfType([Na().object,Na().array,Na().string]),maskId:Na().string,fixedWidth:Na().bool,inverse:Na().bool,flip:Na().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Na().oneOfType([Na().object,Na().array,Na().string]),listItem:Na().bool,pull:Na().oneOf(["right","left"]),pulse:Na().bool,rotation:Na().oneOf([0,90,180,270]),shake:Na().bool,size:Na().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Na().bool,spinPulse:Na().bool,spinReverse:Na().bool,symbol:Na().oneOfType([Na().bool,Na().string]),title:Na().string,titleId:Na().string,transform:Na().oneOfType([Na().string,Na().object]),swapOpacity:Na().bool},Za.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Ha=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=za(t.slice(0,r)),o=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[a]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[za(t)]=r}return e}),{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=Ma(r,Ba);return o.attrs.style=La(La({},o.attrs.style),l),t.apply(void 0,[n.tag,La(La({},o.attrs),s)].concat(Da(a)))}.bind(null,r.createElement),Va=n(7071),qa=n(9902),Wa=n(6808),Ga=n(1330),Ya=n(6220),Ka=n(3025);function Xa(e){let{to:t,href:n,label:a,prependBaseUrlToHref:o,...i}=e;const s=(0,Q.Z)(t),c=(0,Q.Z)(n,{forcePrependBaseUrl:!0});return r.createElement(X.Z,(0,l.Z)({className:"footer__link-item"},n?{href:o?c:n}:{to:s},i),n&&!(0,J.Z)(n)?r.createElement("span",null,a,r.createElement(te.Z,null)):a)}function Qa(e){let{sources:t,alt:n,width:a,height:o}=e;return r.createElement(pt.Z,{className:"footer__logo",alt:n,sources:t,width:a,height:o})}function Ja(){return r.createElement("div",{className:"col footer__col"},r.createElement("ul",{className:"footer__items is-custom-links"},r.createElement("li",{className:"footer__item"},r.createElement(X.Z,{className:"footer__link-item",href:"https://github.com/aurora-is-near",target:"_blank",rel:"nofollow noopener noreferrer",title:"Aurora on GitHub"},r.createElement(Za,{icon:Va.zh,size:"lg"}))),r.createElement("li",{className:"footer__item"},r.createElement(X.Z,{className:"footer__link-item",href:"https://forum.aurora.dev/",target:"_blank",rel:"nofollow noopener noreferrer",title:"Aurora on Discourse"},r.createElement(Za,{icon:qa.DR,size:"lg"}))),r.createElement("li",{className:"footer__item"},r.createElement(X.Z,{className:"footer__link-item",href:"https://discord.gg/auroralabs",target:"_blank",rel:"nofollow noopener noreferrer",title:"Aurora on Discord"},r.createElement(Za,{icon:Wa.om,size:"lg"}))),r.createElement("li",{className:"footer__item"},r.createElement(X.Z,{className:"footer__link-item",href:"https://t.me/auroraisnear",target:"_blank",rel:"nofollow noopener noreferrer",title:"Aurora on Telegram"},r.createElement(Za,{icon:Ga.Uv,size:"lg"}))),r.createElement("li",{className:"footer__item"},r.createElement(X.Z,{className:"footer__link-item",href:"https://twitter.com/auroraisnear",target:"_blank",rel:"nofollow noopener noreferrer",title:"Aurora on Twitter"},r.createElement(Za,{icon:Ya.md,size:"lg"}))),r.createElement("li",{className:"footer__item"},r.createElement(X.Z,{className:"footer__link-item",href:"https://www.youtube.com/channel/UC5inYyvUO10iL65hBPFtpvg",target:"_blank",rel:"nofollow noopener noreferrer",title:"Aurora on YouTube"},r.createElement(Za,{icon:Ka.op,size:"lg"})))))}function eo(e){let{links:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>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(((e,t)=>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(Xa,e)))))))))}function to(e){let{links:t}=e;return r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,null,e.html?r.createElement("span",{key:n,className:"footer__link-item",dangerouslySetInnerHTML:{__html:e.html}}):r.createElement(Xa,e),t.length!==n+1&&r.createElement("span",{className:"footer__link-separator"},"\xb7")))))}function no(){const{footer:e}=(0,w.L)(),{copyright:t,links:n=[],logo:o={}}=e||{},i={light:(0,Q.Z)(o.src),dark:(0,Q.Z)(o.srcDark||o.src)};return e?r.createElement("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===e.style})},r.createElement("div",{className:"container container-fluid"},r.createElement(Ja,null),n&&n.length>0&&(function(e){return"title"in e[0]}(n)?r.createElement("div",{className:"row footer__links"},r.createElement(eo,{links:n})):r.createElement("div",{className:"footer__links text--center"},r.createElement(to,{links:n}))),(o||t)&&r.createElement("div",{className:"footer__bottom text--center"},o&&(o.src||o.srcDark)&&r.createElement("div",{className:"margin-bottom--sm"},o.href?r.createElement(X.Z,{href:o.href,className:ft.footerLogoLink},r.createElement(Qa,{alt:o.alt,sources:i,width:o.width,height:o.height})):r.createElement(Qa,{alt:o.alt,sources:i})),t?r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}}):null))):null}const ro=r.memo(no),ao=(0,P.Qc)([z.S,k.pl,N.OC,Ue.L5,i.VC,function(e){let{children:t}=e;return r.createElement(L.n2,null,r.createElement(O.M,null,r.createElement(R,null,t)))}]);function oo(e){let{children:t}=e;return r.createElement(ao,null,t)}function io(e){let{error:t,tryAgain:n}=e;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(c.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("div",{className:"margin-vert--lg"},r.createElement(tt,{onClick:n,className:"button button--primary shadow--lw"})),r.createElement("hr",null),r.createElement("div",{className:"margin-vert--md"},r.createElement(nt,{error:t})))))}const lo={mainWrapper:"mainWrapper_Rsq7"};function so(e){const{children:t,noFooter:n,wrapperClassName:l,title:s,description:c}=e;return(0,b.t)(),r.createElement(oo,null,r.createElement(i.d,{title:s,description:c}),r.createElement(y,null),r.createElement(A,null),r.createElement(dt,null),r.createElement("div",{id:d,className:(0,a.Z)(g.k.wrapper.main,lo.mainWrapper,l)},r.createElement(o.Z,{fallback:e=>r.createElement(io,e)},t)),!n&&r.createElement(ro,null))}},1177:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(1163),a=n(9496),o=n(1019),i=n(8451),l=n(1964),s=n(4506),c=n(8236);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,i.Z)(t.src),dark:(0,i.Z)(t.srcDark||t.src)},l=a.createElement(c.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?a.createElement("div",{className:r},l):l}function d(e){const{siteConfig:{title:t}}=(0,l.Z)(),{navbar:{title:n,logo:c}}=(0,s.L)(),{imageClassName:d,titleClassName:f,...p}=e,m=(0,i.Z)((null==c?void 0:c.href)||"/"),h=n?"":t,g=(null==c?void 0:c.alt)??h;return a.createElement(o.Z,(0,r.Z)({to:m},p,(null==c?void 0:c.target)&&{target:c.target}),c&&a.createElement(u,{logo:c,alt:g,imageClassName:d}),null!=n&&a.createElement("b",{className:f},n))}},779:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9496),a=n(7232);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return r.createElement(a.Z,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),o&&r.createElement("meta",{name:"docusaurus_tag",content:o}),i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}},8236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(1163),a=n(9496),o=n(5924),i=n(954),l=n(8794);const s={themedImage:"themedImage_MC2L","themedImage--light":"themedImage--light_TlA4","themedImage--dark":"themedImage--dark_RdY5"};function c(e){const t=(0,i.Z)(),{colorMode:n}=(0,l.I)(),{sources:c,className:u,alt:d,...f}=e,p=t?"dark"===n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,p.map((e=>a.createElement("img",(0,r.Z)({key:e,src:c[e],alt:d,className:(0,o.Z)(s.themedImage,s[`themedImage--${e}`],u)},f)))))}},4546:(e,t,n)=>{"use strict";n.d(t,{u:()=>l,z:()=>g});var r=n(1163),a=n(9496),o=n(1714);const i="ease-in-out";function l(e){let{initialState:t}=e;const[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}const s={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function u(e,t){const n=t?s:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function d(e){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function f(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const o=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t.current;function a(){const t=function(){const t=e.scrollHeight;return{transition:`height ${(null==r?void 0:r.duration)??d(t)}ms ${(null==r?void 0:r.easing)??i}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return u(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(a(),requestAnimationFrame((()=>{e.style.height=s.height,e.style.overflow=s.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{a()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function p(e){if(!o.Z.canUseDOM)return e?s:c}function m(e){let{as:t="div",collapsed:n,children:r,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:s}=e;const c=(0,a.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:o}),a.createElement(t,{ref:c,style:s?void 0:p(n),onTransitionEnd:e=>{"height"===e.propertyName&&(u(c.current,n),null==i||i(n))},className:l},r)}function h(e){let{collapsed:t,...n}=e;const[o,i]=(0,a.useState)(!t),[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)((()=>{t||i(!0)}),[t]),(0,a.useLayoutEffect)((()=>{o&&s(t)}),[o,t]),o?a.createElement(m,(0,r.Z)({},n,{collapsed:l})):null}function g(e){let{lazy:t,...n}=e;const r=t?h:m;return a.createElement(r,n)}},2645:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>p});var r=n(9496),a=n(954),o=n(822),i=n(8145),l=n(4506);const s=(0,o.WA)("docusaurus.announcement.dismiss"),c=(0,o.WA)("docusaurus.announcement.id"),u=()=>"true"===s.get(),d=e=>s.set(String(e)),f=r.createContext(null);function p(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&u()));(0,r.useEffect)((()=>{o(u())}),[]);const i=(0,r.useCallback)((()=>{d(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&d(!1),!r&&u()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return r.createElement(f.Provider,{value:n},t)}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},8794:(e,t,n)=>{"use strict";n.d(t,{I:()=>g,S:()=>h});var r=n(9496),a=n(1714),o=n(8145),i=n(822),l=n(4506);const s=r.createContext(void 0),c="theme",u=(0,i.WA)(c),d={light:"light",dark:"dark"},f=e=>e===d.dark?d.dark:d.light,p=e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{u.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[a,o]=(0,r.useState)(p(e));(0,r.useEffect)((()=>{t&&u.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&m(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?d.dark:d.light:e),u.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=u.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===d.dark},setLightTheme(){i(d.light)},setDarkTheme(){i(d.dark)}})),[a,i])}();return r.createElement(s.Provider,{value:n},t)}function g(){const e=(0,r.useContext)(s);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},6351:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>g,Oh:()=>y});var r=n(9496),a=n(9225),o=n(758),i=n(4506),l=n(7436),s=n(8145),c=n(822);const u=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,c.WA)(u(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(u(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(u(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const p=r.createContext(null);function m(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return r.createElement(p.Provider,{value:n},t)}function g(e){let{children:t}=e;return l.cE?r.createElement(h,null,t):r.createElement(r.Fragment,null,t)}function b(){const e=(0,r.useContext)(p);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function y(){const e=(0,a._r)(),[t]=b();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6446:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,b:()=>l});var r=n(9496),a=n(8145);const o=Symbol("EmptyContext"),i=r.createContext(o);function l(e){let{children:t,name:n,items:a}=e;const o=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return r.createElement(i.Provider,{value:o},t)}function s(){const e=(0,r.useContext)(i);if(e===o)throw new a.i6("DocsSidebarProvider");return e}},9770:(e,t,n)=>{"use strict";n.d(t,{M:()=>d,e:()=>f});var r=n(9496),a=n(7695),o=n(9294),i=n(5219),l=n(4506),s=n(8145);const c=r.createContext(void 0);function u(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[s,c]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(s)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:s})),[e,n,u,s])}function d(e){let{children:t}=e;const n=u();return r.createElement(c.Provider,{value:n},t)}function f(){const e=r.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},7695:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>s,n2:()=>i});var r=n(9496),a=n(8145);const o=r.createContext(null);function i(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function s(e){let{component:t,props:n}=e;const i=(0,r.useContext)(o);if(!i)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=i,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},202:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(9496);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},8305:(e,t,n)=>{"use strict";n.d(t,{K:()=>l,M:()=>s});var r=n(9496),a=n(1964),o=n(5219);const i="q";function l(){return(0,o.Nc)(i)}function s(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,a.Z)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},9294:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(9496),a=n(1714);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(){return a.Z.canUseDOM?window.innerWidth>i?o.desktop:o.mobile:o.ssr}const s=!1;function c(){const[e,t]=(0,r.useState)((()=>s?"ssr":l()));return(0,r.useEffect)((()=>{function e(){t(l())}const n=s?window.setTimeout(e,1e3):void 0;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(n)}}),[]),e}},2771:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={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",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},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:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},7436:(e,t,n)=>{"use strict";n.d(t,{Wl:()=>f,_F:()=>h,cE:()=>d,hI:()=>k,lO:()=>v,vY:()=>w,oz:()=>y,s1:()=>b});var r=n(9496),a=n(3442),o=n(9620),i=n(9225),l=n(6351),s=n(6446);function c(e){return Array.from(new Set(e))}var u=n(4637);const d=!!i._r;function f(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=f(t);if(e)return e}}}const p=(e,t)=>void 0!==e&&(0,u.Mg)(e,t),m=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?p(e.href,t):"category"===e.type&&(p(e.href,t)||m(e.items,t))}function g(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,u.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,u.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function b(){var e;const t=(0,s.V)(),{pathname:n}=(0,a.TH)();return!1!==(null==(e=(0,i.gA)())?void 0:e.pluginData.breadcrumbs)&&t?g({sidebarItems:t.items,pathname:n}):null}function v(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>c([t,n,a].filter(Boolean))),[t,n,a])}function y(e,t){const n=v(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${Object.keys(t).join("\n- ")}`);return r[1]}),[e,n])}function w(e,t){const n=v(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function k(e){let{route:t,versionMetadata:n}=e;const r=(0,a.TH)(),i=t.routes,l=i.find((e=>(0,a.LX)(r.pathname,e)));if(!l)return null;const s=l.sidebar,c=s?n.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:c}}},6235:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(1964);function a(e){const{siteConfig:t}=(0,r.Z)(),{title:n,titleDelimiter:a}=t;return null!=e&&e.trim().length?`${e.trim()} ${a} ${n}`:n}},5219:(e,t,n)=>{"use strict";n.d(t,{Nc:()=>c,Rb:()=>l});var r=n(9496),a=n(3442),o=n(4241),i=n(8145);function l(e){!function(e){const t=(0,a.k6)(),n=(0,i.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){return function(e){const t=(0,a.k6)();return(0,o.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}function c(e){const t=s(e)??"",n=function(){const e=(0,a.k6)();return(0,r.useCallback)(((t,n,r)=>{const a=new URLSearchParams(e.location.search);n?a.set(t,n):a.delete(t),(null!=r&&r.push?e.push:e.replace)({search:a.toString()})}),[e])}();return[t,(0,r.useCallback)(((t,r)=>{n(e,t,r)}),[n,e])]}},2255:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>u,VC:()=>p});var r=n(9496),a=n(5924),o=n(7232),i=n(2471);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(8451),c=n(6235);function u(e){let{title:t,description:n,keywords:a,image:i,children:l}=e;const u=(0,c.p)(t),{withBaseUrl:d}=(0,s.C)(),f=i?d(i,{absolute:!0}):void 0;return r.createElement(o.Z,null,t&&r.createElement("title",null,u),t&&r.createElement("meta",{property:"og:title",content:u}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),l)}const d=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(d),l=(0,a.Z)(i,t);return r.createElement(d.Provider,{value:l},r.createElement(o.Z,null,r.createElement("html",{className:l})),n)}function p(e){let{children:t}=e;const n=l(),o=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const i=`plugin-id-${n.plugin.id}`;return r.createElement(f,{className:(0,a.Z)(o,i)},t)}},8145:(e,t,n)=>{"use strict";n.d(t,{D9:()=>i,Qc:()=>c,Ql:()=>s,i6:()=>l,zX:()=>o});var r=n(9496);const a=n(1714).Z.canUseDOM?r.useLayoutEffect:r.useEffect;function o(e){const t=(0,r.useRef)(e);return a((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function i(e){const t=(0,r.useRef)();return a((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r,a;super(),this.name="ReactContextError",this.message=`Hook ${(null==(n=this.stack)||null==(r=n.split("\n")[1])||null==(a=r.match(/at (?:\w+\.)?(?\w+)/))?void 0:a.groups.name)??""} is called outside the <${e}>. ${t??""}`}}function s(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},6177:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{F:()=>r})},4637:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(9496),a=n(7840),o=n(1964);function i(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:`${e}/`)?void 0:t.toLowerCase()};return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},9381:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>s,RF:()=>d});var r=n(9496),a=n(1714),o=n(954),i=n(8145);const l=r.createContext(void 0);function s(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(l.Provider,{value:n},t)}function c(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const u=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),a=(0,r.useRef)(u()),o=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=u();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&at&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},6826:(e,t,n)=>{"use strict";n.d(t,{HX:()=>i,_q:()=>s,os:()=>l});var r=n(9225),a=n(1964),o=n(6351);const i="default";function l(e,t){return`docs-${e}-${t}`}function s(){const{i18n:e}=(0,a.Z)(),t=(0,r._r)(),n=(0,r.WS)(),s=(0,o.Oh)();const c=[i,...Object.keys(t).map((function(e){const r=(null==n?void 0:n.activePlugin.pluginId)===e?n.activeVersion:void 0,a=s[e],o=t[e].versions.find((e=>e.isLast));return l(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:c}}},822:(e,t,n)=>{"use strict";n.d(t,{WA:()=>s});n(9496),n(4241);const r="localStorage";function a(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function o(e){if(void 0===e&&(e=r),"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,i||(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),i=!0),null}var t}let i=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(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,listen:t}}(e);const n=o(null==t?void 0:t.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},1061:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(1964),a=n(3442);function o(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:n,currentLocale:o}}=(0,r.Z)(),{pathname:i}=(0,a.TH)(),l=o===n?e:e.replace(`/${o}/`,"/"),s=i.replace(e,"");return{createUrl:function(e){let{locale:r,fullyQualified:a}=e;return`${a?t:""}${function(e){return e===n?`${l}`:`${l}${e}/`}(r)}${s}`}}}},4911:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(9496),a=n(3442),o=n(8145);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},4506:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(1964);function a(){return(0,r.Z)().siteConfig.themeConfig}},6225:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(1964);function a(){const{siteConfig:{themeConfig:e}}=(0,r.Z)();return e}},1933:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(9496),a=n(6177),o=n(8451),i=n(6225);function l(){const{withBaseUrl:e}=(0,o.C)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.L)();return(0,r.useCallback)((r=>{const o=new URL(r);if((0,a.F)(t,o.href))return r;const i=`${o.pathname+o.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},6885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},3585: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.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(719);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(6885);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},5924:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta});const a=function(){for(var e,t,n=0,a="";n{"use strict";t.Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},r=(t||{}).decode||a,o=0;for(;o{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>p,PP:()=>A,Ep:()=>f});var r=n(1163);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(8624);function s(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(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 d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!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,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(6237),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},901:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},4313:(e,t,n)=>{"use strict";n.r(t)},5657:(e,t,n)=>{"use strict";n.r(t)},9981:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}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=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,i(e,u,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),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)*a(Math.random()*t,.1,.95)),t=a(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");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.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,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(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===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},2767:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;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(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s{var r=n(901);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],h=n[2],g=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,x="?"===y||"*"===y,S=n[2]||u,_=b||v;r.push({name:g||o++,prefix:h||"",delimiter:S,optional:x,repeat:E,partial:k,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+s(S)+"]+?"})}}return i{"use strict";n.d(t,{Z:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);x+=E.value.length,E=E.next){var S=E.value;if(t.length>e.length)return;if(!(S instanceof a)){var _,C=1;if(v){if(!(_=o(k,x,e,b))||_.index>=e.length)break;var T=_.index,A=_.index+_[0].length,O=x;for(O+=E.value.length;T>=O;)O+=(E=E.next).value.length;if(x=O-=E.value.length,E.value instanceof a)continue;for(var N=E;N!==t.tail&&(Od.reach&&(d.reach=R);var M=E.prev;if(L&&(M=s(t,M,L),x+=L.length),c(t,M,C),E=s(t,M,new a(f,g?r.tokenize(P,g):P,y,P)),I&&s(t,E,I),C>1){var D={cause:f+","+m,reach:R};i(e,t,n,E.prev,x,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,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),a=r;r.default=r,a.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]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.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:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.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 a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.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|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.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},a.languages.c.string],char:a.languages.c.char,comment:a.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:a.languages.c}}}}),a.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 a.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"])}(a),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"))}(a),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},a={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:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.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}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.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:a.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:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.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:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.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:a.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"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.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")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\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})),o=/"(?:[^"\\\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"(?:"+a+"|"+o+")"}))),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(o),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}(a),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,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \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("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),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}(a),a.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:a.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+/},a.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(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function u(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,u={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return u[n]=a,n})).join(""),n,r),f=Object.keys(u);return i=0,function e(t){for(var n=0;n=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=c(u[a]),p=o.substring(l+a.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 g=r.content;Array.isArray(g)?e(g):e([g])}}}(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,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,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}(a),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*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\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:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.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(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);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)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,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})}(a),a.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},a.languages.go=a.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/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(m+p.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof c?l.splice.apply(l,[s,1].concat(v)):c.content=v}}else c.content&&i(c.content)}return l}(n.tokens)}}}})}(a),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}(a),a.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"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.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:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.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:/[:;(){}]/},a.languages.objectivec=a.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 a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.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/},a.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:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.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/}),a.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 a.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}})}(a),a.languages.scss=a.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]+\}/}}}),a.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}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.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}}),a.languages.scss.atrule.inside.rest=a.languages.scss,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:/[{}()\[\];:.]/}}(a),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}(a),a.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:/[()]/};const o=a},474:()=>{Prism.languages.solidity=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),Prism.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),Prism.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),Prism.languages.sol=Prism.languages.solidity},4049:(e,t,n)=>{"use strict";var r=n(6257);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,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:o,resetWarningCache:a};return n.PropTypes=n,n}},507:(e,t,n)=>{e.exports=n(4049)()},6257:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7439:(e,t,n)=>{"use strict";var r=n(9496),a=n(2767),o=n(8051);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n