-
Notifications
You must be signed in to change notification settings - Fork 2
/
5475.b680da3f2052a027a728.js
1 lines (1 loc) · 95.9 KB
/
5475.b680da3f2052a027a728.js
1
(self.webpackChunktimeless_frontend=self.webpackChunktimeless_frontend||[]).push([[5475],{25475:(J,g,y)=>{function s(n){return n&&"object"==typeof n&&"default"in n?n.default:n}var d=y(39704),c=s(y(79272)),f=s(y(96967)),l=y(56318);"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var G="walletconnect-wrapper",z="walletconnect-style-sheet",U="walletconnect-qrcode-modal",m="walletconnect-qrcode-text";function E(n){return l.createElement("div",{className:"walletconnect-modal__header"},l.createElement("img",{src:"data:image/svg+xml,%3Csvg height='185' viewBox='0 0 300 185' width='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m61.4385429 36.2562612c48.9112241-47.8881663 128.2119871-47.8881663 177.1232091 0l5.886545 5.7634174c2.445561 2.3944081 2.445561 6.2765112 0 8.6709204l-20.136695 19.715503c-1.222781 1.1972051-3.2053 1.1972051-4.428081 0l-8.100584-7.9311479c-34.121692-33.4079817-89.443886-33.4079817-123.5655788 0l-8.6750562 8.4936051c-1.2227816 1.1972041-3.205301 1.1972041-4.4280806 0l-20.1366949-19.7155031c-2.4455612-2.3944092-2.4455612-6.2765122 0-8.6709204zm218.7677961 40.7737449 17.921697 17.546897c2.445549 2.3943969 2.445563 6.2764769.000031 8.6708899l-80.810171 79.121134c-2.445544 2.394426-6.410582 2.394453-8.85616.000062-.00001-.00001-.000022-.000022-.000032-.000032l-57.354143-56.154572c-.61139-.598602-1.60265-.598602-2.21404 0-.000004.000004-.000007.000008-.000011.000011l-57.3529212 56.154531c-2.4455368 2.394432-6.4105755 2.394472-8.8561612.000087-.0000143-.000014-.0000296-.000028-.0000449-.000044l-80.81241943-79.122185c-2.44556021-2.394408-2.44556021-6.2765115 0-8.6709197l17.92172963-17.5468673c2.4455602-2.3944082 6.4105989-2.3944082 8.8561602 0l57.3549775 56.155357c.6113908.598602 1.602649.598602 2.2140398 0 .0000092-.000009.0000174-.000017.0000265-.000024l57.3521031-56.155333c2.445505-2.3944633 6.410544-2.3945531 8.856161-.0002.000034.0000336.000068.0000673.000101.000101l57.354902 56.155432c.61139.598601 1.60265.598601 2.21404 0l57.353975-56.1543249c2.445561-2.3944092 6.410599-2.3944092 8.85616 0z' fill='%233b99fc'/%3E%3C/svg%3E",className:"walletconnect-modal__headerLogo"}),l.createElement("p",null,"WalletConnect"),l.createElement("div",{className:"walletconnect-modal__close__wrapper",onClick:n.onClose},l.createElement("div",{id:"walletconnect-qrcode-close",className:"walletconnect-modal__close__icon"},l.createElement("div",{className:"walletconnect-modal__close__line1"}),l.createElement("div",{className:"walletconnect-modal__close__line2"}))))}function T(n){return l.createElement("a",{className:"walletconnect-connect__button",href:n.href,id:"walletconnect-connect-button-"+n.name,onClick:n.onClick,rel:"noopener noreferrer",style:{backgroundColor:n.color},target:"_blank"},n.name)}function Y(n){var e=n.color,_=n.logo;return l.createElement("a",{className:"walletconnect-modal__base__row",href:n.href,onClick:n.onClick,rel:"noopener noreferrer",target:"_blank"},l.createElement("h3",{className:"walletconnect-modal__base__row__h3"},n.name),l.createElement("div",{className:"walletconnect-modal__base__row__right"},l.createElement("div",{className:"walletconnect-modal__base__row__right__app-icon",style:{background:"url('"+_+"') "+e,backgroundSize:"100%"}}),l.createElement("img",{src:"data:image/svg+xml,%3Csvg fill='none' height='18' viewBox='0 0 8 18' width='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath clip-rule='evenodd' d='m.586301.213898c-.435947.33907-.5144813.967342-.175411 1.403292l4.87831 6.27212c.28087.36111.28087.86677 0 1.22788l-4.878311 6.27211c-.33907.436-.260536 1.0642.175412 1.4033.435949.3391 1.064219.2605 1.403289-.1754l4.87832-6.2721c.84259-1.08336.84259-2.60034 0-3.68367l-4.87832-6.27212c-.33907-.4359474-.96734-.514482-1.403289-.175412z' fill='%233c4252' fill-rule='evenodd'/%3E%3C/svg%3E",className:"walletconnect-modal__base__row__right__caret"})))}function P(n){var a=n.name,A=window.innerWidth<768?(a.length>8?2.5:2.7)+"vw":"inherit";return l.createElement("a",{className:"walletconnect-connect__button__icon_anchor",href:n.href,onClick:n.onClick,rel:"noopener noreferrer",target:"_blank"},l.createElement("div",{className:"walletconnect-connect__button__icon",style:{background:"url('"+n.logo+"') "+n.color,backgroundSize:"100%"}}),l.createElement("div",{style:{fontSize:A},className:"walletconnect-connect__button__text"},a))}function F(n){var e=d.isAndroid(),t=l.useState(""),a=t[0],_=t[1],x=l.useState(""),A=x[0],Z=x[1],j=l.useState(1),re=j[0],ae=j[1],te=A?n.links.filter(function(me){return me.name.toLowerCase().includes(A.toLowerCase())}):n.links,be=n.errorMessage,Te=A||te.length>5,Ie=Math.ceil(te.length/12),He=[12*(re-1)+1,12*re],We=te.length?te.filter(function(me,ve){return ve+1>=He[0]&&ve+1<=He[1]}):[],$e=!e&&Ie>1,Ye=void 0;return l.createElement("div",null,l.createElement("p",{id:m,className:"walletconnect-qrcode__text"},e?n.text.connect_mobile_wallet:n.text.choose_preferred_wallet),!e&&l.createElement("input",{className:"walletconnect-search__input",placeholder:"Search",value:a,onChange:function(me){_(me.target.value),clearTimeout(Ye),me.target.value?Ye=setTimeout(function(){Z(me.target.value),ae(1)},1e3):(_(""),Z(""),ae(1))}}),l.createElement("div",{className:"walletconnect-connect__buttons__wrapper"+(e?"__android":Te&&te.length?"__wrap":"")},e?l.createElement(T,{name:n.text.connect,color:"rgb(64, 153, 255)",href:n.uri,onClick:l.useCallback(function(){d.saveMobileLinkInfo({name:"Unknown",href:n.uri})},[])}):We.length?We.map(function(me){var ve=me.color,Ae=me.name,Me=me.shortName,Je=me.logo,Be=d.formatIOSMobile(n.uri,me),Pe=l.useCallback(function(){d.saveMobileLinkInfo({name:Ae,href:Be})},[We]);return Te?l.createElement(P,{color:ve,href:Be,name:Me||Ae,logo:Je,onClick:Pe}):l.createElement(Y,{color:ve,href:Be,name:Ae,logo:Je,onClick:Pe})}):l.createElement(l.Fragment,null,l.createElement("p",null,be.length?n.errorMessage:n.links.length&&!te.length?n.text.no_wallets_found:n.text.loading))),$e&&l.createElement("div",{className:"walletconnect-modal__footer"},Array(Ie).fill(0).map(function(me,ve){var Ae=ve+1;return l.createElement("a",{style:{margin:"auto 10px",fontWeight:re===Ae?"bold":"normal"},onClick:function(){return ae(Ae)}},Ae)})))}function V(n){var e=!!n.message.trim();return l.createElement("div",{className:"walletconnect-qrcode__notification"+(e?" notification__show":"")},n.message)}function K(n){var e=l.useState(""),t=e[0],a=e[1],_=l.useState(""),x=_[0],A=_[1];return l.useEffect(function(){try{return Promise.resolve(function(n){try{var e="";return Promise.resolve(c.toString(n,{margin:0,type:"svg"})).then(function(t){return"string"==typeof t&&(e=t.replace("<svg",'<svg class="walletconnect-qrcode__image"')),e})}catch(t){return Promise.reject(t)}}(n.uri)).then(function(j){A(j)})}catch(j){Promise.reject(j)}},[]),l.createElement("div",null,l.createElement("p",{id:m,className:"walletconnect-qrcode__text"},n.text.scan_qrcode_with_wallet),l.createElement("div",{dangerouslySetInnerHTML:{__html:x}}),l.createElement("div",{className:"walletconnect-modal__footer"},l.createElement("a",{onClick:function(){f(n.uri)?(a(n.text.copied_to_clipboard),setInterval(function(){return a("")},1200)):(a("Error"),setInterval(function(){return a("")},1200))}},n.text.copy_to_clipboard)),l.createElement(V,{message:t}))}function Q(n){var e=d.isAndroid(),t=d.isMobile(),a=t?n.qrcodeModalOptions&&n.qrcodeModalOptions.mobileLinks?n.qrcodeModalOptions.mobileLinks:void 0:n.qrcodeModalOptions&&n.qrcodeModalOptions.desktopLinks?n.qrcodeModalOptions.desktopLinks:void 0,_=l.useState(!1),x=_[0],A=_[1],Z=l.useState(!1),j=Z[0],re=Z[1],ae=l.useState(!t),te=ae[0],be=ae[1],Te={mobile:t,text:n.text,uri:n.uri,qrcodeModalOptions:n.qrcodeModalOptions},Ie=l.useState(""),He=Ie[0],We=Ie[1],$e=l.useState(!1),Ye=$e[0],Ge=$e[1],me=l.useState([]),ve=me[0],Ae=me[1],Me=l.useState(""),Je=Me[0],Be=Me[1],Pe=function(){j||x||a&&!a.length||ve.length>0||l.useEffect(function(){!function(){try{if(e)return Promise.resolve();A(!0);var qe=function(n,e){try{var t=n()}catch(a){return e(a)}return t&&t.then?t.then(void 0,e):t}(function(){var Ve=n.qrcodeModalOptions&&n.qrcodeModalOptions.registryUrl?n.qrcodeModalOptions.registryUrl:d.getWalletRegistryUrl();return Promise.resolve(fetch(Ve)).then(function(je){return Promise.resolve(je.json()).then(function(Xe){var Ke=d.getMobileLinkRegistry(d.formatMobileRegistry(Xe.listings,t?"mobile":"desktop"),a);A(!1),re(!0),Be(Ke.length?"":n.text.no_supported_wallets),Ae(Ke);var Ze=1===Ke.length;Ze&&(We(d.formatIOSMobile(n.uri,Ke[0])),be(!0)),Ge(Ze)})})},function(Ve){A(!1),re(!0),Be(n.text.something_went_wrong),console.error(Ve)});Promise.resolve(qe&&qe.then?qe.then(function(){}):void 0)}catch(Ve){return Promise.reject(Ve)}}()})};Pe();var tt=t?te:!te;return l.createElement("div",{id:U,className:"walletconnect-qrcode__base animated fadeIn"},l.createElement("div",{className:"walletconnect-modal__base"},l.createElement(E,{onClose:n.onClose}),Ye&&te?l.createElement("div",{className:"walletconnect-modal__single_wallet"},l.createElement("a",{onClick:function(){return d.saveMobileLinkInfo({name:ve[0].name,href:He})},href:He,rel:"noopener noreferrer",target:"_blank"},n.text.connect_with+" "+(Ye?ve[0].name:"")+" \u203a")):e||x||!x&&ve.length?l.createElement("div",{className:"walletconnect-modal__mobile__toggle"+(tt?" right__selected":"")},l.createElement("div",{className:"walletconnect-modal__mobile__toggle_selector"}),t?l.createElement(l.Fragment,null,l.createElement("a",{onClick:function(){return be(!1),Pe()}},n.text.mobile),l.createElement("a",{onClick:function(){return be(!0)}},n.text.qrcode)):l.createElement(l.Fragment,null,l.createElement("a",{onClick:function(){return be(!0)}},n.text.qrcode),l.createElement("a",{onClick:function(){return be(!1),Pe()}},n.text.desktop))):null,l.createElement("div",null,te||!e&&!x&&!ve.length?l.createElement(K,Object.assign({},Te)):l.createElement(F,Object.assign({},Te,{links:ve,errorMessage:Je})))))}var Re={de:{choose_preferred_wallet:"W\xe4hle bevorzugte Wallet",connect_mobile_wallet:"Verbinde mit Mobile Wallet",scan_qrcode_with_wallet:"Scanne den QR-code mit einer WalletConnect kompatiblen Wallet",connect:"Verbinden",qrcode:"QR-Code",mobile:"Mobile",desktop:"Desktop",copy_to_clipboard:"In die Zwischenablage kopieren",copied_to_clipboard:"In die Zwischenablage kopiert!",connect_with:"Verbinden mit Hilfe von",loading:"Laden...",something_went_wrong:"Etwas ist schief gelaufen",no_supported_wallets:"Es gibt noch keine unterst\xfctzten Wallet",no_wallets_found:"keine Wallet gefunden"},en:{choose_preferred_wallet:"Choose your preferred wallet",connect_mobile_wallet:"Connect to Mobile Wallet",scan_qrcode_with_wallet:"Scan QR code with a WalletConnect-compatible wallet",connect:"Connect",qrcode:"QR Code",mobile:"Mobile",desktop:"Desktop",copy_to_clipboard:"Copy to clipboard",copied_to_clipboard:"Copied to clipboard!",connect_with:"Connect with",loading:"Loading...",something_went_wrong:"Something went wrong",no_supported_wallets:"There are no supported wallets yet",no_wallets_found:"No wallets found"},es:{choose_preferred_wallet:"Elige tu billetera preferida",connect_mobile_wallet:"Conectar a billetera m\xf3vil",scan_qrcode_with_wallet:"Escanea el c\xf3digo QR con una billetera compatible con WalletConnect",connect:"Conectar",qrcode:"C\xf3digo QR",mobile:"M\xf3vil",desktop:"Desktop",copy_to_clipboard:"Copiar",copied_to_clipboard:"Copiado!",connect_with:"Conectar mediante",loading:"Cargando...",something_went_wrong:"Algo sali\xf3 mal",no_supported_wallets:"Todav\xeda no hay billeteras compatibles",no_wallets_found:"No se encontraron billeteras"},fr:{choose_preferred_wallet:"Choisissez votre portefeuille pr\xe9f\xe9r\xe9",connect_mobile_wallet:"Se connecter au portefeuille mobile",scan_qrcode_with_wallet:"Scannez le QR code avec un portefeuille compatible WalletConnect",connect:"Se connecter",qrcode:"QR Code",mobile:"Mobile",desktop:"Desktop",copy_to_clipboard:"Copier",copied_to_clipboard:"Copi\xe9!",connect_with:"Connectez-vous \xe0 l'aide de",loading:"Chargement...",something_went_wrong:"Quelque chose a mal tourn\xe9",no_supported_wallets:"Il n'y a pas encore de portefeuilles pris en charge",no_wallets_found:"Aucun portefeuille trouv\xe9"},ko:{choose_preferred_wallet:"\uc6d0\ud558\ub294 \uc9c0\uac11\uc744 \uc120\ud0dd\ud558\uc138\uc694",connect_mobile_wallet:"\ubaa8\ubc14\uc77c \uc9c0\uac11\uacfc \uc5f0\uacb0",scan_qrcode_with_wallet:"WalletConnect \uc9c0\uc6d0 \uc9c0\uac11\uc5d0\uc11c QR\ucf54\ub4dc\ub97c \uc2a4\uce94\ud558\uc138\uc694",connect:"\uc5f0\uacb0",qrcode:"QR \ucf54\ub4dc",mobile:"\ubaa8\ubc14\uc77c",desktop:"\ub370\uc2a4\ud06c\ud0d1",copy_to_clipboard:"\ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac",copied_to_clipboard:"\ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\ub418\uc5c8\uc2b5\ub2c8\ub2e4!",connect_with:"\uc640 \uc5f0\uacb0\ud558\ub2e4",loading:"\ub85c\ub4dc \uc911...",something_went_wrong:"\ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.",no_supported_wallets:"\uc544\uc9c1 \uc9c0\uc6d0\ub418\ub294 \uc9c0\uac11\uc774 \uc5c6\uc2b5\ub2c8\ub2e4",no_wallets_found:"\uc9c0\uac11\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},pt:{choose_preferred_wallet:"Escolha sua carteira preferida",connect_mobile_wallet:"Conectar-se \xe0 carteira m\xf3vel",scan_qrcode_with_wallet:"Ler o c\xf3digo QR com uma carteira compat\xedvel com WalletConnect",connect:"Conectar",qrcode:"C\xf3digo QR",mobile:"M\xf3vel",desktop:"Desktop",copy_to_clipboard:"Copiar",copied_to_clipboard:"Copiado!",connect_with:"Ligar por meio de",loading:"Carregamento...",something_went_wrong:"Algo correu mal",no_supported_wallets:"Ainda n\xe3o h\xe1 carteiras suportadas",no_wallets_found:"Nenhuma carteira encontrada"},zh:{choose_preferred_wallet:"\u9009\u62e9\u4f60\u7684\u94b1\u5305",connect_mobile_wallet:"\u8fde\u63a5\u81f3\u79fb\u52a8\u7aef\u94b1\u5305",scan_qrcode_with_wallet:"\u4f7f\u7528\u517c\u5bb9 WalletConnect \u7684\u94b1\u5305\u626b\u63cf\u4e8c\u7ef4\u7801",connect:"\u8fde\u63a5",qrcode:"\u4e8c\u7ef4\u7801",mobile:"\u79fb\u52a8",desktop:"\u684c\u9762",copy_to_clipboard:"\u590d\u5236\u5230\u526a\u8d34\u677f",copied_to_clipboard:"\u590d\u5236\u5230\u526a\u8d34\u677f\u6210\u529f\uff01",connect_with:"\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u8fde\u63a5",loading:"\u6b63\u5728\u52a0\u8f7d...",something_went_wrong:"\u51fa\u4e86\u95ee\u9898",no_supported_wallets:"\u76ee\u524d\u8fd8\u6ca1\u6709\u652f\u6301\u7684\u94b1\u5305",no_wallets_found:"\u6ca1\u6709\u627e\u5230\u94b1\u5305"},fa:{choose_preferred_wallet:"\u06a9\u06cc\u0641 \u067e\u0648\u0644 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f",connect_mobile_wallet:"\u0628\u0647 \u06a9\u06cc\u0641 \u067e\u0648\u0644 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0648\u0635\u0644 \u0634\u0648\u06cc\u062f",scan_qrcode_with_wallet:"\u06a9\u062f QR \u0631\u0627 \u0628\u0627 \u06cc\u06a9 \u06a9\u06cc\u0641 \u067e\u0648\u0644 \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 WalletConnect \u0627\u0633\u06a9\u0646 \u06a9\u0646\u06cc\u062f",connect:"\u0627\u062a\u0635\u0627\u0644",qrcode:"\u06a9\u062f QR",mobile:"\u0633\u06cc\u0627\u0631",desktop:"\u062f\u0633\u06a9\u062a\u0627\u067e",copy_to_clipboard:"\u06a9\u067e\u06cc \u0628\u0647 \u06a9\u0644\u06cc\u067e \u0628\u0648\u0631\u062f",copied_to_clipboard:"\u062f\u0631 \u06a9\u0644\u06cc\u067e \u0628\u0648\u0631\u062f \u06a9\u067e\u06cc \u0634\u062f!",connect_with:"\u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627",loading:"...\u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc",something_went_wrong:"\u0645\u0634\u06a9\u0644\u06cc \u067e\u06cc\u0634 \u0622\u0645\u062f",no_supported_wallets:"\u0647\u0646\u0648\u0632 \u0647\u06cc\u0686 \u06a9\u06cc\u0641 \u067e\u0648\u0644 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0634\u062f\u0647 \u0627\u06cc \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f",no_wallets_found:"\u0647\u06cc\u0686 \u06a9\u06cc\u0641 \u067e\u0648\u0644\u06cc \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f"}};function Ce(){var n=d.getDocumentOrThrow(),e=n.getElementById(U);e&&(e.className=e.className.replace("fadeIn","fadeOut"),setTimeout(function(){var t=n.getElementById(G);t&&n.body.removeChild(t)},300))}function ke(n){return function(){Ce(),n&&n()}}function Ne(){var n=d.getNavigatorOrThrow().language.split("-")[0]||"en";return Re[n]||Re.en}var he=function(){return"undefined"!=typeof process&&void 0!==process.versions&&void 0!==process.versions.node};J.exports={open:function(n,e,t){console.log(n),he()?function(n){c.toString(n,{type:"terminal"}).then(console.log)}(n):function(n,e,t){!function(){var n=d.getDocumentOrThrow(),e=n.getElementById(z);e&&n.head.removeChild(e);var t=n.createElement("style");t.setAttribute("id",z),t.innerText=':root {\n --animation-duration: 300ms;\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n.animated {\n animation-duration: var(--animation-duration);\n animation-fill-mode: both;\n}\n\n.fadeIn {\n animation-name: fadeIn;\n}\n\n.fadeOut {\n animation-name: fadeOut;\n}\n\n#walletconnect-wrapper {\n -webkit-user-select: none;\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n left: 0;\n pointer-events: none;\n position: fixed;\n top: 0;\n user-select: none;\n width: 100%;\n z-index: 99999999999999;\n}\n\n.walletconnect-modal__headerLogo {\n height: 21px;\n}\n\n.walletconnect-modal__header p {\n color: #ffffff;\n font-size: 20px;\n font-weight: 600;\n margin: 0;\n align-items: flex-start;\n display: flex;\n flex: 1;\n margin-left: 5px;\n}\n\n.walletconnect-modal__close__wrapper {\n position: absolute;\n top: 0px;\n right: 0px;\n z-index: 10000;\n background: white;\n border-radius: 26px;\n padding: 6px;\n box-sizing: border-box;\n width: 26px;\n height: 26px;\n cursor: pointer;\n}\n\n.walletconnect-modal__close__icon {\n position: relative;\n top: 7px;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n transform: rotate(45deg);\n}\n\n.walletconnect-modal__close__line1 {\n position: absolute;\n width: 100%;\n border: 1px solid rgb(48, 52, 59);\n}\n\n.walletconnect-modal__close__line2 {\n position: absolute;\n width: 100%;\n border: 1px solid rgb(48, 52, 59);\n transform: rotate(90deg);\n}\n\n.walletconnect-qrcode__base {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n background: rgba(37, 41, 46, 0.95);\n height: 100%;\n left: 0;\n pointer-events: auto;\n position: fixed;\n top: 0;\n transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n width: 100%;\n will-change: opacity;\n padding: 40px;\n box-sizing: border-box;\n}\n\n.walletconnect-qrcode__text {\n color: rgba(60, 66, 82, 0.6);\n font-size: 16px;\n font-weight: 600;\n letter-spacing: 0;\n line-height: 1.1875em;\n margin: 10px 0 20px 0;\n text-align: center;\n width: 100%;\n}\n\n@media only screen and (max-width: 768px) {\n .walletconnect-qrcode__text {\n font-size: 4vw;\n }\n}\n\n@media only screen and (max-width: 320px) {\n .walletconnect-qrcode__text {\n font-size: 14px;\n }\n}\n\n.walletconnect-qrcode__image {\n width: calc(100% - 30px);\n box-sizing: border-box;\n cursor: none;\n margin: 0 auto;\n}\n\n.walletconnect-qrcode__notification {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n font-size: 16px;\n padding: 16px 20px;\n border-radius: 16px;\n text-align: center;\n transition: all 0.1s ease-in-out;\n background: white;\n color: black;\n margin-bottom: -60px;\n opacity: 0;\n}\n\n.walletconnect-qrcode__notification.notification__show {\n opacity: 1;\n}\n\n@media only screen and (max-width: 768px) {\n .walletconnect-modal__header {\n height: 130px;\n }\n .walletconnect-modal__base {\n overflow: auto;\n }\n}\n\n@media only screen and (min-device-width: 415px) and (max-width: 768px) {\n #content {\n max-width: 768px;\n box-sizing: border-box;\n }\n}\n\n@media only screen and (min-width: 375px) and (max-width: 415px) {\n #content {\n max-width: 414px;\n box-sizing: border-box;\n }\n}\n\n@media only screen and (min-width: 320px) and (max-width: 375px) {\n #content {\n max-width: 375px;\n box-sizing: border-box;\n }\n}\n\n@media only screen and (max-width: 320px) {\n #content {\n max-width: 320px;\n box-sizing: border-box;\n }\n}\n\n.walletconnect-modal__base {\n -webkit-font-smoothing: antialiased;\n background: #ffffff;\n border-radius: 24px;\n box-shadow: 0 10px 50px 5px rgba(0, 0, 0, 0.4);\n font-family: ui-rounded, "SF Pro Rounded", "SF Pro Text", medium-content-sans-serif-font,\n -apple-system, BlinkMacSystemFont, ui-sans-serif, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,\n "Open Sans", "Helvetica Neue", sans-serif;\n margin-top: 41px;\n padding: 24px 24px 22px;\n pointer-events: auto;\n position: relative;\n text-align: center;\n transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);\n will-change: transform;\n overflow: visible;\n transform: translateY(-50%);\n top: 50%;\n max-width: 500px;\n margin: auto;\n}\n\n@media only screen and (max-width: 320px) {\n .walletconnect-modal__base {\n padding: 24px 12px;\n }\n}\n\n.walletconnect-modal__base .hidden {\n transform: translateY(150%);\n transition: 0.125s cubic-bezier(0.4, 0, 1, 1);\n}\n\n.walletconnect-modal__header {\n align-items: center;\n display: flex;\n height: 26px;\n left: 0;\n justify-content: space-between;\n position: absolute;\n top: -42px;\n width: 100%;\n}\n\n.walletconnect-modal__base .wc-logo {\n align-items: center;\n display: flex;\n height: 26px;\n margin-top: 15px;\n padding-bottom: 15px;\n pointer-events: auto;\n}\n\n.walletconnect-modal__base .wc-logo div {\n background-color: #3399ff;\n height: 21px;\n margin-right: 5px;\n mask-image: url("images/wc-logo.svg") center no-repeat;\n width: 32px;\n}\n\n.walletconnect-modal__base .wc-logo p {\n color: #ffffff;\n font-size: 20px;\n font-weight: 600;\n margin: 0;\n}\n\n.walletconnect-modal__base h2 {\n color: rgba(60, 66, 82, 0.6);\n font-size: 16px;\n font-weight: 600;\n letter-spacing: 0;\n line-height: 1.1875em;\n margin: 0 0 19px 0;\n text-align: center;\n width: 100%;\n}\n\n.walletconnect-modal__base__row {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n align-items: center;\n border-radius: 20px;\n cursor: pointer;\n display: flex;\n height: 56px;\n justify-content: space-between;\n padding: 0 15px;\n position: relative;\n margin: 0px 0px 8px;\n text-align: left;\n transition: 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);\n will-change: transform;\n text-decoration: none;\n}\n\n.walletconnect-modal__base__row:hover {\n background: rgba(60, 66, 82, 0.06);\n}\n\n.walletconnect-modal__base__row:active {\n background: rgba(60, 66, 82, 0.06);\n transform: scale(0.975);\n transition: 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);\n}\n\n.walletconnect-modal__base__row__h3 {\n color: #25292e;\n font-size: 20px;\n font-weight: 700;\n margin: 0;\n padding-bottom: 3px;\n}\n\n.walletconnect-modal__base__row__right {\n align-items: center;\n display: flex;\n justify-content: center;\n}\n\n.walletconnect-modal__base__row__right__app-icon {\n border-radius: 8px;\n height: 34px;\n margin: 0 11px 2px 0;\n width: 34px;\n background-size: 100%;\n box-shadow: 0 4px 12px 0 rgba(37, 41, 46, 0.25);\n}\n\n.walletconnect-modal__base__row__right__caret {\n height: 18px;\n opacity: 0.3;\n transition: 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);\n width: 8px;\n will-change: opacity;\n}\n\n.walletconnect-modal__base__row:hover .caret,\n.walletconnect-modal__base__row:active .caret {\n opacity: 0.6;\n}\n\n.walletconnect-modal__mobile__toggle {\n width: 80%;\n display: flex;\n margin: 0 auto;\n position: relative;\n overflow: hidden;\n border-radius: 8px;\n margin-bottom: 18px;\n background: #d4d5d9;\n}\n\n.walletconnect-modal__single_wallet {\n display: flex;\n justify-content: center;\n margin-top: 7px;\n margin-bottom: 18px;\n}\n\n.walletconnect-modal__single_wallet a {\n cursor: pointer;\n color: rgb(64, 153, 255);\n font-size: 21px;\n font-weight: 800;\n text-decoration: none !important;\n margin: 0 auto;\n}\n\n.walletconnect-modal__mobile__toggle_selector {\n width: calc(50% - 8px);\n background: white;\n position: absolute;\n border-radius: 5px;\n height: calc(100% - 8px);\n top: 4px;\n transition: all 0.2s ease-in-out;\n transform: translate3d(4px, 0, 0);\n}\n\n.walletconnect-modal__mobile__toggle.right__selected .walletconnect-modal__mobile__toggle_selector {\n transform: translate3d(calc(100% + 12px), 0, 0);\n}\n\n.walletconnect-modal__mobile__toggle a {\n font-size: 12px;\n width: 50%;\n text-align: center;\n padding: 8px;\n margin: 0;\n font-weight: 600;\n z-index: 1;\n}\n\n.walletconnect-modal__footer {\n display: flex;\n justify-content: center;\n margin-top: 20px;\n}\n\n@media only screen and (max-width: 768px) {\n .walletconnect-modal__footer {\n margin-top: 5vw;\n }\n}\n\n.walletconnect-modal__footer a {\n cursor: pointer;\n color: #898d97;\n font-size: 15px;\n margin: 0 auto;\n}\n\n@media only screen and (max-width: 320px) {\n .walletconnect-modal__footer a {\n font-size: 14px;\n }\n}\n\n.walletconnect-connect__buttons__wrapper {\n max-height: 44vh;\n}\n\n.walletconnect-connect__buttons__wrapper__android {\n margin: 50% 0;\n}\n\n.walletconnect-connect__buttons__wrapper__wrap {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n margin: 10px 0;\n}\n\n@media only screen and (min-width: 768px) {\n .walletconnect-connect__buttons__wrapper__wrap {\n margin-top: 40px;\n }\n}\n\n.walletconnect-connect__button {\n background-color: rgb(64, 153, 255);\n padding: 12px;\n border-radius: 8px;\n text-decoration: none;\n color: rgb(255, 255, 255);\n font-weight: 500;\n}\n\n.walletconnect-connect__button__icon_anchor {\n cursor: pointer;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin: 8px;\n width: 42px;\n justify-self: center;\n flex-direction: column;\n text-decoration: none !important;\n}\n\n@media only screen and (max-width: 320px) {\n .walletconnect-connect__button__icon_anchor {\n margin: 4px;\n }\n}\n\n.walletconnect-connect__button__icon {\n border-radius: 10px;\n height: 42px;\n margin: 0;\n width: 42px;\n background-size: cover !important;\n box-shadow: 0 4px 12px 0 rgba(37, 41, 46, 0.25);\n}\n\n.walletconnect-connect__button__text {\n color: #424952;\n font-size: 2.7vw;\n text-decoration: none !important;\n padding: 0;\n margin-top: 1.8vw;\n font-weight: 600;\n}\n\n@media only screen and (min-width: 768px) {\n .walletconnect-connect__button__text {\n font-size: 16px;\n margin-top: 12px;\n }\n}\n\n.walletconnect-search__input {\n border: none;\n background: #d4d5d9;\n border-style: none;\n padding: 8px 16px;\n outline: none;\n font-style: normal;\n font-stretch: normal;\n font-size: 16px;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n text-align: left;\n border-radius: 8px;\n width: calc(100% - 16px);\n margin: 0;\n margin-bottom: 8px;\n}\n',n.head.appendChild(t)}();var a=function(){var n=d.getDocumentOrThrow(),e=n.createElement("div");return e.setAttribute("id",G),n.body.appendChild(e),e}();l.render(l.createElement(Q,{text:Ne(),uri:n,onClose:ke(e),qrcodeModalOptions:t}),a)}(n,e,t)},close:function(){he()||Ce()}}},31254:(J,g,y)=>{"use strict";var d=y(96434),c=y(12658),f="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;g.lW=u,g.h2=50;var l=2147483647;function w(n){if(n>l)throw new RangeError('The value "'+n+'" is invalid for option "size"');var e=new Uint8Array(n);return Object.setPrototypeOf(e,u.prototype),e}function u(n,e,t){if("number"==typeof n){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return R(n)}return k(n,e,t)}function k(n,e,t){if("string"==typeof n)return function(n,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=0|p(n,e),a=w(t),_=a.write(n,e);return _!==t&&(a=a.slice(0,_)),a}(n,e);if(ArrayBuffer.isView(n))return function(n){if(ye(n,Uint8Array)){var e=new Uint8Array(n);return z(e.buffer,e.byteOffset,e.byteLength)}return I(n)}(n);if(null==n)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(ye(n,ArrayBuffer)||n&&ye(n.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(ye(n,SharedArrayBuffer)||n&&ye(n.buffer,SharedArrayBuffer)))return z(n,e,t);if("number"==typeof n)throw new TypeError('The "value" argument must not be of type number. Received type number');var a=n.valueOf&&n.valueOf();if(null!=a&&a!==n)return u.from(a,e,t);var _=function(n){if(u.isBuffer(n)){var e=0|b(n.length),t=w(e);return 0===t.length||n.copy(t,0,0,e),t}return void 0!==n.length?"number"!=typeof n.length||Oe(n.length)?w(0):I(n):"Buffer"===n.type&&Array.isArray(n.data)?I(n.data):void 0}(n);if(_)return _;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof n[Symbol.toPrimitive])return u.from(n[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}function L(n){if("number"!=typeof n)throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function R(n){return L(n),w(n<0?0:0|b(n))}function I(n){for(var e=n.length<0?0:0|b(n.length),t=w(e),a=0;a<e;a+=1)t[a]=255&n[a];return t}function z(n,e,t){if(e<0||n.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var a;return a=void 0===e&&void 0===t?new Uint8Array(n):void 0===t?new Uint8Array(n,e):new Uint8Array(n,e,t),Object.setPrototypeOf(a,u.prototype),a}function b(n){if(n>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return 0|n}function p(n,e){if(u.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||ye(n,ArrayBuffer))return n.byteLength;if("string"!=typeof n)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var t=n.length,a=arguments.length>2&&!0===arguments[2];if(!a&&0===t)return 0;for(var _=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ke(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return se(n).length;default:if(_)return a?-1:ke(n).length;e=(""+e).toLowerCase(),_=!0}}function E(n,e,t){var a=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===t||t>this.length)&&(t=this.length),t<=0)||(t>>>=0)<=(e>>>=0))return"";for(n||(n="utf8");;)switch(n){case"hex":return De(this,e,t);case"utf8":case"utf-8":return K(this,e,t);case"ascii":return ge(this,e,t);case"latin1":case"binary":return le(this,e,t);case"base64":return $(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ze(this,e,t);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),a=!0}}function T(n,e,t){var a=n[e];n[e]=n[t],n[t]=a}function O(n,e,t,a,_){if(0===n.length)return-1;if("string"==typeof t?(a=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),Oe(t=+t)&&(t=_?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(_)return-1;t=n.length-1}else if(t<0){if(!_)return-1;t=0}if("string"==typeof e&&(e=u.from(e,a)),u.isBuffer(e))return 0===e.length?-1:Y(n,e,t,a,_);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?_?Uint8Array.prototype.indexOf.call(n,e,t):Uint8Array.prototype.lastIndexOf.call(n,e,t):Y(n,[e],t,a,_);throw new TypeError("val must be string, number or Buffer")}function Y(n,e,t,a,_){var re,x=1,A=n.length,Z=e.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(n.length<2||e.length<2)return-1;x=2,A/=2,Z/=2,t/=2}function j(Te,Ie){return 1===x?Te[Ie]:Te.readUInt16BE(Ie*x)}if(_){var ae=-1;for(re=t;re<A;re++)if(j(n,re)===j(e,-1===ae?0:re-ae)){if(-1===ae&&(ae=re),re-ae+1===Z)return ae*x}else-1!==ae&&(re-=re-ae),ae=-1}else for(t+Z>A&&(t=A-Z),re=t;re>=0;re--){for(var te=!0,be=0;be<Z;be++)if(j(n,re+be)!==j(e,be)){te=!1;break}if(te)return re}return-1}function P(n,e,t,a){t=Number(t)||0;var _=n.length-t;a?(a=Number(a))>_&&(a=_):a=_;var x=e.length;a>x/2&&(a=x/2);for(var A=0;A<a;++A){var Z=parseInt(e.substr(2*A,2),16);if(Oe(Z))return A;n[t+A]=Z}return A}function H(n,e,t,a){return he(ke(e,n.length-t),n,t,a)}function D(n,e,t,a){return he(function(n){for(var e=[],t=0;t<n.length;++t)e.push(255&n.charCodeAt(t));return e}(e),n,t,a)}function F(n,e,t,a){return he(se(e),n,t,a)}function V(n,e,t,a){return he(function(n,e){for(var t,a,x=[],A=0;A<n.length&&!((e-=2)<0);++A)a=(t=n.charCodeAt(A))>>8,x.push(t%256),x.push(a);return x}(e,n.length-t),n,t,a)}function $(n,e,t){return d.fromByteArray(0===e&&t===n.length?n:n.slice(e,t))}function K(n,e,t){t=Math.min(n.length,t);for(var a=[],_=e;_<t;){var j,re,ae,te,x=n[_],A=null,Z=x>239?4:x>223?3:x>191?2:1;if(_+Z<=t)switch(Z){case 1:x<128&&(A=x);break;case 2:128==(192&(j=n[_+1]))&&(te=(31&x)<<6|63&j)>127&&(A=te);break;case 3:re=n[_+2],128==(192&(j=n[_+1]))&&128==(192&re)&&(te=(15&x)<<12|(63&j)<<6|63&re)>2047&&(te<55296||te>57343)&&(A=te);break;case 4:re=n[_+2],ae=n[_+3],128==(192&(j=n[_+1]))&&128==(192&re)&&128==(192&ae)&&(te=(15&x)<<18|(63&j)<<12|(63&re)<<6|63&ae)>65535&&te<1114112&&(A=te)}null===A?(A=65533,Z=1):A>65535&&(a.push((A-=65536)>>>10&1023|55296),A=56320|1023&A),a.push(A),_+=Z}return function(n){var e=n.length;if(e<=Q)return String.fromCharCode.apply(String,n);for(var t="",a=0;a<e;)t+=String.fromCharCode.apply(String,n.slice(a,a+=Q));return t}(a)}!(u.TYPED_ARRAY_SUPPORT=function(){try{var n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),42===n.foo()}catch{return!1}}())&&"undefined"!=typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(n,e,t){return k(n,e,t)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(n,e,t){return function(n,e,t){return L(n),n<=0?w(n):void 0!==e?"string"==typeof t?w(n).fill(e,t):w(n).fill(e):w(n)}(n,e,t)},u.allocUnsafe=function(n){return R(n)},u.allocUnsafeSlow=function(n){return R(n)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(ye(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),ye(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var a=e.length,_=t.length,x=0,A=Math.min(a,_);x<A;++x)if(e[x]!==t[x]){a=e[x],_=t[x];break}return a<_?-1:_<a?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var a;if(void 0===t)for(t=0,a=0;a<e.length;++a)t+=e[a].length;var _=u.allocUnsafe(t),x=0;for(a=0;a<e.length;++a){var A=e[a];if(ye(A,Uint8Array))x+A.length>_.length?u.from(A).copy(_,x):Uint8Array.prototype.set.call(_,A,x);else{if(!u.isBuffer(A))throw new TypeError('"list" argument must be an Array of Buffers');A.copy(_,x)}x+=A.length}return _},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)T(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)T(this,t,t+3),T(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)T(this,t,t+7),T(this,t+1,t+6),T(this,t+2,t+5),T(this,t+3,t+4);return this},u.prototype.toLocaleString=u.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?K(this,0,e):E.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",t=g.h2;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},f&&(u.prototype[f]=u.prototype.inspect),u.prototype.compare=function(e,t,a,_,x){if(ye(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===a&&(a=e?e.length:0),void 0===_&&(_=0),void 0===x&&(x=this.length),t<0||a>e.length||_<0||x>this.length)throw new RangeError("out of range index");if(_>=x&&t>=a)return 0;if(_>=x)return-1;if(t>=a)return 1;if(this===e)return 0;for(var A=(x>>>=0)-(_>>>=0),Z=(a>>>=0)-(t>>>=0),j=Math.min(A,Z),re=this.slice(_,x),ae=e.slice(t,a),te=0;te<j;++te)if(re[te]!==ae[te]){A=re[te],Z=ae[te];break}return A<Z?-1:Z<A?1:0},u.prototype.includes=function(e,t,a){return-1!==this.indexOf(e,t,a)},u.prototype.indexOf=function(e,t,a){return O(this,e,t,a,!0)},u.prototype.lastIndexOf=function(e,t,a){return O(this,e,t,a,!1)},u.prototype.write=function(e,t,a,_){if(void 0===t)_="utf8",a=this.length,t=0;else if(void 0===a&&"string"==typeof t)_=t,a=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(a)?(a>>>=0,void 0===_&&(_="utf8")):(_=a,a=void 0)}var x=this.length-t;if((void 0===a||a>x)&&(a=x),e.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");_||(_="utf8");for(var A=!1;;)switch(_){case"hex":return P(this,e,t,a);case"utf8":case"utf-8":return H(this,e,t,a);case"ascii":case"latin1":case"binary":return D(this,e,t,a);case"base64":return F(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,e,t,a);default:if(A)throw new TypeError("Unknown encoding: "+_);_=(""+_).toLowerCase(),A=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;function ge(n,e,t){var a="";t=Math.min(n.length,t);for(var _=e;_<t;++_)a+=String.fromCharCode(127&n[_]);return a}function le(n,e,t){var a="";t=Math.min(n.length,t);for(var _=e;_<t;++_)a+=String.fromCharCode(n[_]);return a}function De(n,e,t){var a=n.length;(!e||e<0)&&(e=0),(!t||t<0||t>a)&&(t=a);for(var _="",x=e;x<t;++x)_+=Qe[n[x]];return _}function ze(n,e,t){for(var a=n.slice(e,t),_="",x=0;x<a.length-1;x+=2)_+=String.fromCharCode(a[x]+256*a[x+1]);return _}function ue(n,e,t){if(n%1!=0||n<0)throw new RangeError("offset is not uint");if(n+e>t)throw new RangeError("Trying to access beyond buffer length")}function ie(n,e,t,a,_,x){if(!u.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>_||e<x)throw new RangeError('"value" argument is out of bounds');if(t+a>n.length)throw new RangeError("Index out of range")}function fe(n,e,t,a,_,x){if(t+a>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Re(n,e,t,a,_){return e=+e,t>>>=0,_||fe(n,0,t,4),c.write(n,e,t,a,23,4),t+4}function xe(n,e,t,a,_){return e=+e,t>>>=0,_||fe(n,0,t,8),c.write(n,e,t,a,52,8),t+8}u.prototype.slice=function(e,t){var a=this.length;(e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t<e&&(t=e);var _=this.subarray(e,t);return Object.setPrototypeOf(_,u.prototype),_},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,a){e>>>=0,t>>>=0,a||ue(e,t,this.length);for(var _=this[e],x=1,A=0;++A<t&&(x*=256);)_+=this[e+A]*x;return _},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,a){e>>>=0,t>>>=0,a||ue(e,t,this.length);for(var _=this[e+--t],x=1;t>0&&(x*=256);)_+=this[e+--t]*x;return _},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||ue(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||ue(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||ue(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||ue(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||ue(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,a){e>>>=0,t>>>=0,a||ue(e,t,this.length);for(var _=this[e],x=1,A=0;++A<t&&(x*=256);)_+=this[e+A]*x;return _>=(x*=128)&&(_-=Math.pow(2,8*t)),_},u.prototype.readIntBE=function(e,t,a){e>>>=0,t>>>=0,a||ue(e,t,this.length);for(var _=t,x=1,A=this[e+--_];_>0&&(x*=256);)A+=this[e+--_]*x;return A>=(x*=128)&&(A-=Math.pow(2,8*t)),A},u.prototype.readInt8=function(e,t){return e>>>=0,t||ue(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||ue(e,2,this.length);var a=this[e]|this[e+1]<<8;return 32768&a?4294901760|a:a},u.prototype.readInt16BE=function(e,t){e>>>=0,t||ue(e,2,this.length);var a=this[e+1]|this[e]<<8;return 32768&a?4294901760|a:a},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||ue(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||ue(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||ue(e,4,this.length),c.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||ue(e,4,this.length),c.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||ue(e,8,this.length),c.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||ue(e,8,this.length),c.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,a,_){e=+e,t>>>=0,a>>>=0,_||ie(this,e,t,a,Math.pow(2,8*a)-1,0);var A=1,Z=0;for(this[t]=255&e;++Z<a&&(A*=256);)this[t+Z]=e/A&255;return t+a},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,a,_){e=+e,t>>>=0,a>>>=0,_||ie(this,e,t,a,Math.pow(2,8*a)-1,0);var A=a-1,Z=1;for(this[t+A]=255&e;--A>=0&&(Z*=256);)this[t+A]=e/Z&255;return t+a},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,a,_){if(e=+e,t>>>=0,!_){var x=Math.pow(2,8*a-1);ie(this,e,t,a,x-1,-x)}var A=0,Z=1,j=0;for(this[t]=255&e;++A<a&&(Z*=256);)e<0&&0===j&&0!==this[t+A-1]&&(j=1),this[t+A]=(e/Z>>0)-j&255;return t+a},u.prototype.writeIntBE=function(e,t,a,_){if(e=+e,t>>>=0,!_){var x=Math.pow(2,8*a-1);ie(this,e,t,a,x-1,-x)}var A=a-1,Z=1,j=0;for(this[t+A]=255&e;--A>=0&&(Z*=256);)e<0&&0===j&&0!==this[t+A+1]&&(j=1),this[t+A]=(e/Z>>0)-j&255;return t+a},u.prototype.writeInt8=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,a){return e=+e,t>>>=0,a||ie(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,a){return Re(this,e,t,!0,a)},u.prototype.writeFloatBE=function(e,t,a){return Re(this,e,t,!1,a)},u.prototype.writeDoubleLE=function(e,t,a){return xe(this,e,t,!0,a)},u.prototype.writeDoubleBE=function(e,t,a){return xe(this,e,t,!1,a)},u.prototype.copy=function(e,t,a,_){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(a||(a=0),!_&&0!==_&&(_=this.length),t>=e.length&&(t=e.length),t||(t=0),_>0&&_<a&&(_=a),_===a||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("Index out of range");if(_<0)throw new RangeError("sourceEnd out of bounds");_>this.length&&(_=this.length),e.length-t<_-a&&(_=e.length-t+a);var x=_-a;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,a,_):Uint8Array.prototype.set.call(e,this.subarray(a,_),t),x},u.prototype.fill=function(e,t,a,_){if("string"==typeof e){if("string"==typeof t?(_=t,t=0,a=this.length):"string"==typeof a&&(_=a,a=this.length),void 0!==_&&"string"!=typeof _)throw new TypeError("encoding must be a string");if("string"==typeof _&&!u.isEncoding(_))throw new TypeError("Unknown encoding: "+_);if(1===e.length){var x=e.charCodeAt(0);("utf8"===_&&x<128||"latin1"===_)&&(e=x)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;var A;if(t>>>=0,a=void 0===a?this.length:a>>>0,e||(e=0),"number"==typeof e)for(A=t;A<a;++A)this[A]=e;else{var Z=u.isBuffer(e)?e:u.from(e,_),j=Z.length;if(0===j)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(A=0;A<a-t;++A)this[A+t]=Z[A%j]}return this};var Fe=/[^+/0-9A-Za-z-_]/g;function ke(n,e){e=e||1/0;for(var t,a=n.length,_=null,x=[],A=0;A<a;++A){if((t=n.charCodeAt(A))>55295&&t<57344){if(!_){if(t>56319){(e-=3)>-1&&x.push(239,191,189);continue}if(A+1===a){(e-=3)>-1&&x.push(239,191,189);continue}_=t;continue}if(t<56320){(e-=3)>-1&&x.push(239,191,189),_=t;continue}t=65536+(_-55296<<10|t-56320)}else _&&(e-=3)>-1&&x.push(239,191,189);if(_=null,t<128){if((e-=1)<0)break;x.push(t)}else if(t<2048){if((e-=2)<0)break;x.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;x.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;x.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return x}function se(n){return d.toByteArray(function(n){if((n=(n=n.split("=")[0]).trim().replace(Fe,"")).length<2)return"";for(;n.length%4!=0;)n+="=";return n}(n))}function he(n,e,t,a){for(var _=0;_<a&&!(_+t>=e.length||_>=n.length);++_)e[_+t]=n[_];return _}function ye(n,e){return n instanceof e||null!=n&&null!=n.constructor&&null!=n.constructor.name&&n.constructor.name===e.name}function Oe(n){return n!=n}var Qe=function(){for(var n="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var a=16*t,_=0;_<16;++_)e[a+_]=n[t]+n[_];return e}()},23762:J=>{var g={}.toString;J.exports=Array.isArray||function(y){return"[object Array]"==g.call(y)}},56318:(J,g,y)=>{"use strict";y.r(g),y.d(g,{Children:()=>Ge,Component:()=>b,Fragment:()=>U,PureComponent:()=>Ie,Suspense:()=>Ae,SuspenseList:()=>Be,cloneElement:()=>lt,createContext:()=>ue,createElement:()=>I,createFactory:()=>at,createPortal:()=>qe,createRef:()=>z,default:()=>ht,findDOMNode:()=>ct,forwardRef:()=>$e,hydrate:()=>rt,isValidElement:()=>ot,lazy:()=>Je,memo:()=>He,render:()=>Xe,unmountComponentAtNode:()=>ut,unstable_batchedUpdates:()=>ft,useCallback:()=>a,useContext:()=>_,useDebugValue:()=>x,useEffect:()=>Oe,useErrorBoundary:()=>A,useImperativeHandle:()=>e,useLayoutEffect:()=>Qe,useMemo:()=>t,useReducer:()=>ye,useRef:()=>n,useState:()=>he,version:()=>st});var s,c,f,l,h,w,u,k={},L=[],W=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function R(r,o){for(var i in o)r[i]=o[i];return r}function M(r){var o=r.parentNode;o&&o.removeChild(r)}function I(r,o,i){var v,S=arguments,C={};for(v in o)"key"!==v&&"ref"!==v&&(C[v]=o[v]);if(arguments.length>3)for(i=[i],v=3;v<arguments.length;v++)i.push(S[v]);if(null!=i&&(C.children=i),"function"==typeof r&&null!=r.defaultProps)for(v in r.defaultProps)void 0===C[v]&&(C[v]=r.defaultProps[v]);return G(r,C,o&&o.key,o&&o.ref,null)}function G(r,o,i,v,S){var C={type:r,props:o,key:i,ref:v,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:S};return null==S&&(C.__v=C),s.vnode&&s.vnode(C),C}function z(){return{}}function U(r){return r.children}function b(r,o){this.props=r,this.context=o}function m(r,o){if(null==o)return r.__?m(r.__,r.__.__k.indexOf(r)+1):null;for(var i;o<r.__k.length;o++)if(null!=(i=r.__k[o])&&null!=i.__e)return i.__e;return"function"==typeof r.type?m(r):null}function p(r){var o,i;if(null!=(r=r.__)&&null!=r.__c){for(r.__e=r.__c.base=null,o=0;o<r.__k.length;o++)if(null!=(i=r.__k[o])&&null!=i.__e){r.__e=r.__c.base=i.__e;break}return p(r)}}function E(r){(!r.__d&&(r.__d=!0)&&c.push(r)&&!f++||h!==s.debounceRendering)&&((h=s.debounceRendering)||l)(T)}function T(){for(var r;f=c.length;)r=c.sort(function(o,i){return o.__v.__b-i.__v.__b}),c=[],r.some(function(o){var i,v,S,C,q,X,ee;o.__d&&(X=(q=(i=o).__v).__e,(ee=i.__P)&&(v=[],(S=R({},q)).__v=S,C=V(ee,q,S,i.__n,void 0!==ee.ownerSVGElement,null,v,X??m(q)),$(v,q),C!=X&&p(q)))})}function O(r,o,i,v,S,C,q,X,ee){var N,B,oe,de,we,_e,Se,pe=i&&i.__k||L,Ue=pe.length;if(X==k&&(X=null!=C?C[0]:Ue?m(i,0):null),N=0,o.__k=Y(o.__k,function(ce){if(null!=ce){if(ce.__=o,ce.__b=o.__b+1,null===(oe=pe[N])||oe&&ce.key==oe.key&&ce.type===oe.type)pe[N]=void 0;else for(B=0;B<Ue;B++){if((oe=pe[B])&&ce.key==oe.key&&ce.type===oe.type){pe[B]=void 0;break}oe=null}if(de=V(r,ce,oe=oe||k,v,S,C,q,X,ee),(B=ce.ref)&&oe.ref!=B&&(Se||(Se=[]),oe.ref&&Se.push(oe.ref,null,ce),Se.push(B,ce.__c||de,ce)),null!=de){var Ee;if(null==_e&&(_e=de),void 0!==ce.__d)Ee=ce.__d,ce.__d=void 0;else if(C==oe||de!=X||null==de.parentNode){e:if(null==X||X.parentNode!==r)r.appendChild(de),Ee=null;else{for(we=X,B=0;(we=we.nextSibling)&&B<Ue;B+=2)if(we==de)break e;r.insertBefore(de,X),Ee=X}"option"==o.type&&(r.value="")}X=void 0!==Ee?Ee:de.nextSibling,"function"==typeof o.type&&(o.__d=X)}else X&&oe.__e==X&&X.parentNode!=r&&(X=m(oe))}return N++,ce}),o.__e=_e,null!=C&&"function"!=typeof o.type)for(N=C.length;N--;)null!=C[N]&&M(C[N]);for(N=Ue;N--;)null!=pe[N]&&ne(pe[N],pe[N]);if(Se)for(N=0;N<Se.length;N++)Q(Se[N],Se[++N],Se[++N])}function Y(r,o,i){if(null==i&&(i=[]),null==r||"boolean"==typeof r)o&&i.push(o(null));else if(Array.isArray(r))for(var v=0;v<r.length;v++)Y(r[v],o,i);else i.push(o?o("string"==typeof r||"number"==typeof r?G(null,r,null,null,r):null!=r.__e||null!=r.__c?G(r.type,r.props,r.key,null,r.__v):r):r);return i}function H(r,o,i){"-"===o[0]?r.setProperty(o,i):r[o]="number"==typeof i&&!1===W.test(o)?i+"px":i??""}function D(r,o,i,v,S){var C,q,X,ee,N;if(S?"className"===o&&(o="class"):"class"===o&&(o="className"),"style"===o)if(C=r.style,"string"==typeof i)C.cssText=i;else{if("string"==typeof v&&(C.cssText="",v=null),v)for(ee in v)i&&ee in i||H(C,ee,"");if(i)for(N in i)v&&i[N]===v[N]||H(C,N,i[N])}else"o"===o[0]&&"n"===o[1]?(q=o!==(o=o.replace(/Capture$/,"")),X=o.toLowerCase(),o=(X in r?X:o).slice(2),i?(v||r.addEventListener(o,F,q),(r.l||(r.l={}))[o]=i):r.removeEventListener(o,F,q)):"list"!==o&&"tagName"!==o&&"form"!==o&&"type"!==o&&"size"!==o&&!S&&o in r?r[o]=i??"":"function"!=typeof i&&"dangerouslySetInnerHTML"!==o&&(o!==(o=o.replace(/^xlink:?/,""))?null==i||!1===i?r.removeAttributeNS("http://www.w3.org/1999/xlink",o.toLowerCase()):r.setAttributeNS("http://www.w3.org/1999/xlink",o.toLowerCase(),i):null==i||!1===i&&!/^ar/.test(o)?r.removeAttribute(o):r.setAttribute(o,i))}function F(r){this.l[r.type](s.event?s.event(r):r)}function V(r,o,i,v,S,C,q,X,ee){var N,B,oe,de,we,_e,Se,pe,Ue,ce,Ee=o.type;if(void 0!==o.constructor)return null;(N=s.__b)&&N(o);try{e:if("function"==typeof Ee){if(pe=o.props,Ue=(N=Ee.contextType)&&v[N.__c],ce=N?Ue?Ue.props.value:N.__:v,i.__c?Se=(B=o.__c=i.__c).__=B.__E:("prototype"in Ee&&Ee.prototype.render?o.__c=B=new Ee(pe,ce):(o.__c=B=new b(pe,ce),B.constructor=Ee,B.render=ge),Ue&&Ue.sub(B),B.props=pe,B.state||(B.state={}),B.context=ce,B.__n=v,oe=B.__d=!0,B.__h=[]),null==B.__s&&(B.__s=B.state),null!=Ee.getDerivedStateFromProps&&(B.__s==B.state&&(B.__s=R({},B.__s)),R(B.__s,Ee.getDerivedStateFromProps(pe,B.__s))),de=B.props,we=B.state,oe)null==Ee.getDerivedStateFromProps&&null!=B.componentWillMount&&B.componentWillMount(),null!=B.componentDidMount&&B.__h.push(B.componentDidMount);else{if(null==Ee.getDerivedStateFromProps&&pe!==de&&null!=B.componentWillReceiveProps&&B.componentWillReceiveProps(pe,ce),!B.__e&&null!=B.shouldComponentUpdate&&!1===B.shouldComponentUpdate(pe,B.__s,ce)||o.__v===i.__v&&!B.__){for(B.props=pe,B.state=B.__s,o.__v!==i.__v&&(B.__d=!1),B.__v=o,o.__e=i.__e,o.__k=i.__k,B.__h.length&&q.push(B),N=0;N<o.__k.length;N++)o.__k[N]&&(o.__k[N].__=o);break e}null!=B.componentWillUpdate&&B.componentWillUpdate(pe,B.__s,ce),null!=B.componentDidUpdate&&B.__h.push(function(){B.componentDidUpdate(de,we,_e)})}B.context=ce,B.props=pe,B.state=B.__s,(N=s.__r)&&N(o),B.__d=!1,B.__v=o,B.__P=r,N=B.render(B.props,B.state,B.context),o.__k=null!=N&&N.type==U&&null==N.key?N.props.children:Array.isArray(N)?N:[N],null!=B.getChildContext&&(v=R(R({},v),B.getChildContext())),oe||null==B.getSnapshotBeforeUpdate||(_e=B.getSnapshotBeforeUpdate(de,we)),O(r,o,i,v,S,C,q,X,ee),B.base=o.__e,B.__h.length&&q.push(B),Se&&(B.__E=B.__=null),B.__e=!1}else null==C&&o.__v===i.__v?(o.__k=i.__k,o.__e=i.__e):o.__e=function(r,o,i,v,S,C,q,X){var ee,N,B,oe,de,we=i.props,_e=o.props;if(S="svg"===o.type||S,null!=C)for(ee=0;ee<C.length;ee++)if(null!=(N=C[ee])&&((null===o.type?3===N.nodeType:N.localName===o.type)||r==N)){r=N,C[ee]=null;break}if(null==r){if(null===o.type)return document.createTextNode(_e);r=S?document.createElementNS("http://www.w3.org/2000/svg",o.type):document.createElement(o.type,_e.is&&{is:_e.is}),C=null,X=!1}if(null===o.type)we!==_e&&r.data!=_e&&(r.data=_e);else{if(null!=C&&(C=L.slice.call(r.childNodes)),B=(we=i.props||k).dangerouslySetInnerHTML,oe=_e.dangerouslySetInnerHTML,!X){if(we===k)for(we={},de=0;de<r.attributes.length;de++)we[r.attributes[de].name]=r.attributes[de].value;(oe||B)&&(oe&&B&&oe.__html==B.__html||(r.innerHTML=oe&&oe.__html||""))}(function(r,o,i,v,S){var C;for(C in i)"children"===C||"key"===C||C in o||D(r,C,null,i[C],v);for(C in o)S&&"function"!=typeof o[C]||"children"===C||"key"===C||"value"===C||"checked"===C||i[C]===o[C]||D(r,C,o[C],i[C],v)})(r,_e,we,S,X),oe?o.__k=[]:(o.__k=o.props.children,O(r,o,i,v,"foreignObject"!==o.type&&S,C,q,k,X)),X||("value"in _e&&void 0!==(ee=_e.value)&&ee!==r.value&&D(r,"value",ee,we.value,!1),"checked"in _e&&void 0!==(ee=_e.checked)&&ee!==r.checked&&D(r,"checked",ee,we.checked,!1))}return r}(i.__e,o,i,v,S,C,q,ee);(N=s.diffed)&&N(o)}catch(dt){o.__v=null,s.__e(dt,o,i)}return o.__e}function $(r,o){s.__c&&s.__c(o,r),r.some(function(i){try{r=i.__h,i.__h=[],r.some(function(v){v.call(i)})}catch(v){s.__e(v,i.__v)}})}function Q(r,o,i){try{"function"==typeof r?r(o):r.current=o}catch(v){s.__e(v,i)}}function ne(r,o,i){var v,S,C;if(s.unmount&&s.unmount(r),(v=r.ref)&&(v.current&&v.current!==r.__e||Q(v,null,o)),i||"function"==typeof r.type||(i=null!=(S=r.__e)),r.__e=r.__d=void 0,null!=(v=r.__c)){if(v.componentWillUnmount)try{v.componentWillUnmount()}catch(q){s.__e(q,o)}v.base=v.__P=null}if(v=r.__k)for(C=0;C<v.length;C++)v[C]&&ne(v[C],o,i);null!=S&&M(S)}function ge(r,o,i){return this.constructor(r,i)}function le(r,o,i){var v,S,C;s.__&&s.__(r,o),S=(v=i===w)?null:i&&i.__k||o.__k,r=I(U,null,[r]),C=[],V(o,(v?o:i||o).__k=r,S||k,k,void 0!==o.ownerSVGElement,i&&!v?[i]:S?null:L.slice.call(o.childNodes),C,i||k,v),$(C,r)}function De(r,o){le(r,o,w)}function ze(r,o){var i,v;for(v in o=R(R({},r.props),o),arguments.length>2&&(o.children=L.slice.call(arguments,2)),i={},o)"key"!==v&&"ref"!==v&&(i[v]=o[v]);return G(r.type,i,o.key||r.key,o.ref||r.ref,null)}function ue(r){var o={},i={__c:"__cC"+u++,__:r,Consumer:function(v,S){return v.children(S)},Provider:function(v){var S,C=this;return this.getChildContext||(S=[],this.getChildContext=function(){return o[i.__c]=C,o},this.shouldComponentUpdate=function(q){C.props.value!==q.value&&S.some(function(X){X.context=q.value,E(X)})},this.sub=function(q){S.push(q);var X=q.componentWillUnmount;q.componentWillUnmount=function(){S.splice(S.indexOf(q),1),X&&X.call(q)}}),v.children}};return i.Consumer.contextType=i,i.Provider.__=i,i}s={__e:function(r,o){for(var i,v;o=o.__;)if((i=o.__c)&&!i.__)try{if(i.constructor&&null!=i.constructor.getDerivedStateFromError&&(v=!0,i.setState(i.constructor.getDerivedStateFromError(r))),null!=i.componentDidCatch&&(v=!0,i.componentDidCatch(r)),v)return E(i.__E=i)}catch(S){r=S}throw r}},b.prototype.setState=function(r,o){var i;i=this.__s!==this.state?this.__s:this.__s=R({},this.state),"function"==typeof r&&(r=r(i,this.props)),r&&R(i,r),null!=r&&this.__v&&(o&&this.__h.push(o),E(this))},b.prototype.forceUpdate=function(r){this.__v&&(this.__e=!0,r&&this.__h.push(r),E(this))},b.prototype.render=U,c=[],f=0,l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,w=k,u=0;var ie,fe,Re,xe=0,Fe=[],Ce=s.__r,ke=s.diffed,Ne=s.__c,Le=s.unmount;function se(r,o){s.__h&&s.__h(fe,r,xe||o),xe=0;var i=fe.__H||(fe.__H={__:[],__h:[]});return r>=i.__.length&&i.__.push({}),i.__[r]}function he(r){return xe=1,ye(te,r)}function ye(r,o,i){var v=se(ie++,2);return v.__c||(v.__c=fe,v.__=[i?i(o):te(void 0,o),function(S){var C=r(v.__[0],S);v.__[0]!==C&&(v.__[0]=C,v.__c.setState({}))}]),v.__}function Oe(r,o){var i=se(ie++,3);!s.__s&&ae(i.__H,o)&&(i.__=r,i.__H=o,fe.__H.__h.push(i))}function Qe(r,o){var i=se(ie++,4);!s.__s&&ae(i.__H,o)&&(i.__=r,i.__H=o,fe.__h.push(i))}function n(r){return xe=5,t(function(){return{current:r}},[])}function e(r,o,i){xe=6,Qe(function(){"function"==typeof r?r(o()):r&&(r.current=o())},null==i?i:i.concat(r))}function t(r,o){var i=se(ie++,7);return ae(i.__H,o)?(i.__H=o,i.__h=r,i.__=r()):i.__}function a(r,o){return xe=8,t(function(){return r},o)}function _(r){var o=fe.context[r.__c],i=se(ie++,9);return i.__c=r,o?(null==i.__&&(i.__=!0,o.sub(fe)),o.props.value):r.__}function x(r,o){s.useDebugValue&&s.useDebugValue(o?o(r):r)}function A(r){var o=se(ie++,10),i=he();return o.__=r,fe.componentDidCatch||(fe.componentDidCatch=function(v){o.__&&o.__(v),i[1](v)}),[i[0],function(){i[1](void 0)}]}function Z(){Fe.some(function(r){if(r.__P)try{r.__H.__h.forEach(j),r.__H.__h.forEach(re),r.__H.__h=[]}catch(o){return r.__H.__h=[],s.__e(o,r.__v),!0}}),Fe=[]}function j(r){r.t&&r.t()}function re(r){var o=r.__();"function"==typeof o&&(r.t=o)}function ae(r,o){return!r||o.some(function(i,v){return i!==r[v]})}function te(r,o){return"function"==typeof o?o(r):o}function be(r,o){for(var i in o)r[i]=o[i];return r}function Te(r,o){for(var i in r)if("__source"!==i&&!(i in o))return!0;for(var v in o)if("__source"!==v&&r[v]!==o[v])return!0;return!1}s.__r=function(r){Ce&&Ce(r),ie=0,(fe=r.__c).__H&&(fe.__H.__h.forEach(j),fe.__H.__h.forEach(re),fe.__H.__h=[])},s.diffed=function(r){ke&&ke(r);var o=r.__c;if(o){var i=o.__H;i&&i.__h.length&&(1!==Fe.push(o)&&Re===s.requestAnimationFrame||((Re=s.requestAnimationFrame)||function(v){var S,C=function(){clearTimeout(q),cancelAnimationFrame(S),setTimeout(v)},q=setTimeout(C,100);"undefined"!=typeof window&&(S=requestAnimationFrame(C))})(Z))}},s.__c=function(r,o){o.some(function(i){try{i.__h.forEach(j),i.__h=i.__h.filter(function(v){return!v.__||re(v)})}catch(v){o.some(function(S){S.__h&&(S.__h=[])}),o=[],s.__e(v,i.__v)}}),Ne&&Ne(r,o)},s.unmount=function(r){Le&&Le(r);var o=r.__c;if(o){var i=o.__H;if(i)try{i.__.forEach(function(v){return v.t&&v.t()})}catch(v){s.__e(v,o.__v)}}};var Ie=function(r){var o,i;function v(S){var C;return(C=r.call(this,S)||this).isPureReactComponent=!0,C}return i=r,(o=v).prototype=Object.create(i.prototype),o.prototype.constructor=o,o.__proto__=i,v.prototype.shouldComponentUpdate=function(S,C){return Te(this.props,S)||Te(this.state,C)},v}(b);function He(r,o){function i(S){var C=this.props.ref,q=C==S.ref;return!q&&C&&(C.call?C(null):C.current=null),o?!o(this.props,S)||!q:Te(this.props,S)}function v(S){return this.shouldComponentUpdate=i,I(r,be({},S))}return v.prototype.isReactComponent=!0,v.displayName="Memo("+(r.displayName||r.name)+")",v.t=!0,v}var We=s.__b;function $e(r){function o(i){var v=be({},i);return delete v.ref,r(v,i.ref)}return o.prototype.isReactComponent=o.t=!0,o.displayName="ForwardRef("+(r.displayName||r.name)+")",o}s.__b=function(r){r.type&&r.type.t&&r.ref&&(r.props.ref=r.ref,r.ref=null),We&&We(r)};var Ye=function(r,o){return r?Y(r).reduce(function(i,v,S){return i.concat(o(v,S))},[]):null},Ge={map:Ye,forEach:Ye,count:function(r){return r?Y(r).length:0},only:function(r){if(1!==(r=Y(r)).length)throw new Error("Children.only() expects only one child.");return r[0]},toArray:Y},me=s.__e;function ve(r){return r&&((r=be({},r)).__c=null,r.__k=r.__k&&r.__k.map(ve)),r}function Ae(){this.__u=0,this.o=null,this.__b=null}function Me(r){var o=r.__.__c;return o&&o.u&&o.u(r)}function Je(r){var o,i,v;function S(C){if(o||(o=r()).then(function(q){i=q.default||q},function(q){v=q}),v)throw v;if(!i)throw o;return I(i,C)}return S.displayName="Lazy",S.t=!0,S}function Be(){this.i=null,this.l=null}s.__e=function(r,o,i){if(r.then)for(var v,S=o;S=S.__;)if((v=S.__c)&&v.__c)return v.__c(r,o.__c);me(r,o,i)},(Ae.prototype=new b).__c=function(r,o){var i=this;null==i.o&&(i.o=[]),i.o.push(o);var v=Me(i.__v),S=!1,C=function(){S||(S=!0,v?v(q):q())};o.__c=o.componentWillUnmount,o.componentWillUnmount=function(){C(),o.__c&&o.__c()};var q=function(){var X;if(!--i.__u)for(i.__v.__k[0]=i.state.u,i.setState({u:i.__b=null});X=i.o.pop();)X.forceUpdate()};i.__u++||i.setState({u:i.__b=i.__v.__k[0]}),r.then(C,C)},Ae.prototype.render=function(r,o){return this.__b&&(this.__v.__k[0]=ve(this.__b),this.__b=null),[I(b,null,o.u?null:r.children),o.u&&r.fallback]};var Pe=function(r,o,i){if(++i[1]===i[0]&&r.l.delete(o),r.props.revealOrder&&("t"!==r.props.revealOrder[0]||!r.l.size))for(i=r.i;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;r.i=i=i[2]}};(Be.prototype=new b).u=function(r){var o=this,i=Me(o.__v),v=o.l.get(r);return v[0]++,function(S){var C=function(){o.props.revealOrder?(v.push(S),Pe(o,r,v)):S()};i?i(C):C()}},Be.prototype.render=function(r){this.i=null,this.l=new Map;var o=Y(r.children);r.revealOrder&&"b"===r.revealOrder[0]&&o.reverse();for(var i=o.length;i--;)this.l.set(o[i],this.i=[1,0,this.i]);return r.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var r=this;r.l.forEach(function(o,i){Pe(r,i,o)})};var tt=function(){function r(){}var o=r.prototype;return o.getChildContext=function(){return this.props.context},o.render=function(i){return i.children},r}();function nt(r){var o=this,i=r.container,v=I(tt,{context:o.context},r.vnode);return o.s&&o.s!==i&&(o.v.parentNode&&o.s.removeChild(o.v),ne(o.h),o.p=!1),r.vnode?o.p?(i.__k=o.__k,le(v,i),o.__k=i.__k):(o.v=document.createTextNode(""),De("",i),i.appendChild(o.v),o.p=!0,o.s=i,le(v,i,o.v),o.__k=o.v.__k):o.p&&(o.v.parentNode&&o.s.removeChild(o.v),ne(o.h)),o.h=v,o.componentWillUnmount=function(){o.v.parentNode&&o.s.removeChild(o.v),ne(o.h)},null}function qe(r,o){return I(nt,{vnode:r,container:o})}var Ve=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;b.prototype.isReactComponent={};var je="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;function Xe(r,o,i){if(null==o.__k)for(;o.firstChild;)o.removeChild(o.firstChild);return le(r,o),"function"==typeof i&&i(),r?r.__c:null}function rt(r,o,i){return De(r,o),"function"==typeof i&&i(),r?r.__c:null}var et=s.event;function Ke(r,o){r["UNSAFE_"+o]&&!r[o]&&Object.defineProperty(r,o,{configurable:!1,get:function(){return this["UNSAFE_"+o]},set:function(i){this["UNSAFE_"+o]=i}})}s.event=function(r){et&&(r=et(r)),r.persist=function(){};var o=!1,i=!1,v=r.stopPropagation;r.stopPropagation=function(){v.call(r),o=!0};var S=r.preventDefault;return r.preventDefault=function(){S.call(r),i=!0},r.isPropagationStopped=function(){return o},r.isDefaultPrevented=function(){return i},r.nativeEvent=r};var Ze={configurable:!0,get:function(){return this.class}},it=s.vnode;s.vnode=function(r){r.$$typeof=je;var o=r.type,i=r.props;if(o){if(i.class!=i.className&&(Ze.enumerable="className"in i,null!=i.className&&(i.class=i.className),Object.defineProperty(i,"className",Ze)),"function"!=typeof o){var v,S,C;for(C in i.defaultValue&&void 0!==i.value&&(i.value||0===i.value||(i.value=i.defaultValue),delete i.defaultValue),Array.isArray(i.value)&&i.multiple&&"select"===o&&(Y(i.children).forEach(function(q){-1!=i.value.indexOf(q.props.value)&&(q.props.selected=!0)}),delete i.value),i)if(v=Ve.test(C))break;if(v)for(C in S=r.props={},i)S[Ve.test(C)?C.replace(/[A-Z0-9]/,"-$&").toLowerCase():C]=i[C]}(function(q){var X=r.type,ee=r.props;if(ee&&"string"==typeof X){var N={};for(var B in ee)/^on(Ani|Tra|Tou)/.test(B)&&(ee[B.toLowerCase()]=ee[B],delete ee[B]),N[B.toLowerCase()]=B;if(N.ondoubleclick&&(ee.ondblclick=ee[N.ondoubleclick],delete ee[N.ondoubleclick]),N.onbeforeinput&&(ee.onbeforeinput=ee[N.onbeforeinput],delete ee[N.onbeforeinput]),N.onchange&&("textarea"===X||"input"===X.toLowerCase()&&!/^fil|che|ra/i.test(ee.type))){var oe=N.oninput||"oninput";ee[oe]||(ee[oe]=ee[N.onchange],delete ee[N.onchange])}}})(),"function"==typeof o&&!o.m&&o.prototype&&(Ke(o.prototype,"componentWillMount"),Ke(o.prototype,"componentWillReceiveProps"),Ke(o.prototype,"componentWillUpdate"),o.m=!0)}it&&it(r)};var st="16.8.0";function at(r){return I.bind(null,r)}function ot(r){return!!r&&r.$$typeof===je}function lt(r){return ot(r)?ze.apply(null,arguments):r}function ut(r){return!!r.__k&&(le(null,r),!0)}function ct(r){return r&&(r.base||1===r.nodeType&&r)||null}var ft=function(r,o){return r(o)};const ht={useState:he,useReducer:ye,useEffect:Oe,useLayoutEffect:Qe,useRef:n,useImperativeHandle:e,useMemo:t,useCallback:a,useContext:_,useDebugValue:x,version:"16.8.0",Children:Ge,render:Xe,hydrate:Xe,unmountComponentAtNode:ut,createPortal:qe,createElement:I,createContext:ue,createFactory:at,cloneElement:lt,createRef:z,Fragment:U,isValidElement:ot,findDOMNode:ct,Component:b,PureComponent:Ie,memo:He,forwardRef:$e,unstable_batchedUpdates:ft,Suspense:Ae,SuspenseList:Be,lazy:Je}},79272:(J,g,y)=>{var s=y(82309),d=y(66138),c=y(69103),f=y(24822);function l(h,w,u,k,L){var W=[].slice.call(arguments,1),R=W.length,M="function"==typeof W[R-1];if(!M&&!s())throw new Error("Callback required as last argument");if(!M){if(R<1)throw new Error("Too few arguments provided");return 1===R?(u=w,w=k=void 0):2===R&&!w.getContext&&(k=u,u=w,w=void 0),new Promise(function(G,z){try{var U=d.create(u,k);G(h(U,w,k))}catch(b){z(b)}})}if(R<2)throw new Error("Too few arguments provided");2===R?(L=u,u=w,w=k=void 0):3===R&&(w.getContext&&void 0===L?(L=k,k=void 0):(L=k,k=u,u=w,w=void 0));try{var I=d.create(u,k);L(null,h(I,w,k))}catch(G){L(G)}}g.create=d.create,g.toCanvas=l.bind(null,c.render),g.toDataURL=l.bind(null,c.renderToDataURL),g.toString=l.bind(null,function(h,w,u){return f.render(h,u)})},82309:J=>{J.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},83774:(J,g,y)=>{var s=y(37332).getSymbolSize;g.getRowColCoords=function(c){if(1===c)return[];for(var f=Math.floor(c/7)+2,l=s(c),h=145===l?26:2*Math.ceil((l-13)/(2*f-2)),w=[l-7],u=1;u<f-1;u++)w[u]=w[u-1]-h;return w.push(6),w.reverse()},g.getPositions=function(c){for(var f=[],l=g.getRowColCoords(c),h=l.length,w=0;w<h;w++)for(var u=0;u<h;u++)0===w&&0===u||0===w&&u===h-1||w===h-1&&0===u||f.push([l[w],l[u]]);return f}},28134:(J,g,y)=>{var s=y(72943),d=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function c(f){this.mode=s.ALPHANUMERIC,this.data=f}c.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},c.prototype.getLength=function(){return this.data.length},c.prototype.getBitsLength=function(){return c.getBitsLength(this.data.length)},c.prototype.write=function(l){var h;for(h=0;h+2<=this.data.length;h+=2){var w=45*d.indexOf(this.data[h]);w+=d.indexOf(this.data[h+1]),l.put(w,11)}this.data.length%2&&l.put(d.indexOf(this.data[h]),6)},J.exports=c},38518:J=>{function g(){this.buffer=[],this.length=0}g.prototype={get:function(y){var s=Math.floor(y/8);return 1==(this.buffer[s]>>>7-y%8&1)},put:function(y,s){for(var d=0;d<s;d++)this.putBit(1==(y>>>s-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(y){var s=Math.floor(this.length/8);this.buffer.length<=s&&this.buffer.push(0),y&&(this.buffer[s]|=128>>>this.length%8),this.length++}},J.exports=g},60387:(J,g,y)=>{var s=y(42520);function d(c){if(!c||c<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=c,this.data=s.alloc(c*c),this.reservedBit=s.alloc(c*c)}d.prototype.set=function(c,f,l,h){var w=c*this.size+f;this.data[w]=l,h&&(this.reservedBit[w]=!0)},d.prototype.get=function(c,f){return this.data[c*this.size+f]},d.prototype.xor=function(c,f,l){this.data[c*this.size+f]^=l},d.prototype.isReserved=function(c,f){return this.reservedBit[c*this.size+f]},J.exports=d},5418:(J,g,y)=>{var s=y(42520),d=y(72943);function c(f){this.mode=d.BYTE,this.data=s.from(f)}c.getBitsLength=function(l){return 8*l},c.prototype.getLength=function(){return this.data.length},c.prototype.getBitsLength=function(){return c.getBitsLength(this.data.length)},c.prototype.write=function(f){for(var l=0,h=this.data.length;l<h;l++)f.put(this.data[l],8)},J.exports=c},64060:(J,g,y)=>{var s=y(93233),d=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],c=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];g.getBlocksCount=function(l,h){switch(h){case s.L:return d[4*(l-1)+0];case s.M:return d[4*(l-1)+1];case s.Q:return d[4*(l-1)+2];case s.H:return d[4*(l-1)+3];default:return}},g.getTotalCodewordsCount=function(l,h){switch(h){case s.L:return c[4*(l-1)+0];case s.M:return c[4*(l-1)+1];case s.Q:return c[4*(l-1)+2];case s.H:return c[4*(l-1)+3];default:return}}},93233:(J,g)=>{g.L={bit:1},g.M={bit:0},g.Q={bit:3},g.H={bit:2},g.isValid=function(d){return d&&void 0!==d.bit&&d.bit>=0&&d.bit<4},g.from=function(d,c){if(g.isValid(d))return d;try{return function(s){if("string"!=typeof s)throw new Error("Param is not a string");switch(s.toLowerCase()){case"l":case"low":return g.L;case"m":case"medium":return g.M;case"q":case"quartile":return g.Q;case"h":case"high":return g.H;default:throw new Error("Unknown EC Level: "+s)}}(d)}catch{return c}}},56645:(J,g,y)=>{var s=y(37332).getSymbolSize;g.getPositions=function(f){var l=s(f);return[[0,0],[l-7,0],[0,l-7]]}},91481:(J,g,y)=>{var s=y(37332),f=s.getBCHDigit(1335);g.getEncodedBits=function(h,w){for(var u=h.bit<<3|w,k=u<<10;s.getBCHDigit(k)-f>=0;)k^=1335<<s.getBCHDigit(k)-f;return 21522^(u<<10|k)}},15045:(J,g,y)=>{var s=y(42520),d=s.alloc(512),c=s.alloc(256);(function(){for(var l=1,h=0;h<255;h++)d[h]=l,c[l]=h,256&(l<<=1)&&(l^=285);for(h=255;h<512;h++)d[h]=d[h-255]})(),g.log=function(l){if(l<1)throw new Error("log("+l+")");return c[l]},g.exp=function(l){return d[l]},g.mul=function(l,h){return 0===l||0===h?0:d[c[l]+c[h]]}},15278:(J,g,y)=>{var s=y(72943),d=y(37332);function c(f){this.mode=s.KANJI,this.data=f}c.getBitsLength=function(l){return 13*l},c.prototype.getLength=function(){return this.data.length},c.prototype.getBitsLength=function(){return c.getBitsLength(this.data.length)},c.prototype.write=function(f){var l;for(l=0;l<this.data.length;l++){var h=d.toSJIS(this.data[l]);if(h>=33088&&h<=40956)h-=33088;else{if(!(h>=57408&&h<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");h-=49472}f.put(h=192*(h>>>8&255)+(255&h),13)}},J.exports=c},90231:(J,g)=>{g.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function s(d,c,f){switch(d){case g.Patterns.PATTERN000:return(c+f)%2==0;case g.Patterns.PATTERN001:return c%2==0;case g.Patterns.PATTERN010:return f%3==0;case g.Patterns.PATTERN011:return(c+f)%3==0;case g.Patterns.PATTERN100:return(Math.floor(c/2)+Math.floor(f/3))%2==0;case g.Patterns.PATTERN101:return c*f%2+c*f%3==0;case g.Patterns.PATTERN110:return(c*f%2+c*f%3)%2==0;case g.Patterns.PATTERN111:return(c*f%3+(c+f)%2)%2==0;default:throw new Error("bad maskPattern:"+d)}}g.isValid=function(c){return null!=c&&""!==c&&!isNaN(c)&&c>=0&&c<=7},g.from=function(c){return g.isValid(c)?parseInt(c,10):void 0},g.getPenaltyN1=function(c){for(var f=c.size,l=0,h=0,w=0,u=null,k=null,L=0;L<f;L++){h=w=0,u=k=null;for(var W=0;W<f;W++){var R=c.get(L,W);R===u?h++:(h>=5&&(l+=h-5+3),u=R,h=1),(R=c.get(W,L))===k?w++:(w>=5&&(l+=w-5+3),k=R,w=1)}h>=5&&(l+=h-5+3),w>=5&&(l+=w-5+3)}return l},g.getPenaltyN2=function(c){for(var f=c.size,l=0,h=0;h<f-1;h++)for(var w=0;w<f-1;w++){var u=c.get(h,w)+c.get(h,w+1)+c.get(h+1,w)+c.get(h+1,w+1);(4===u||0===u)&&l++}return 3*l},g.getPenaltyN3=function(c){for(var f=c.size,l=0,h=0,w=0,u=0;u<f;u++){h=w=0;for(var k=0;k<f;k++)h=h<<1&2047|c.get(u,k),k>=10&&(1488===h||93===h)&&l++,w=w<<1&2047|c.get(k,u),k>=10&&(1488===w||93===w)&&l++}return 40*l},g.getPenaltyN4=function(c){for(var f=0,l=c.data.length,h=0;h<l;h++)f+=c.data[h];return 10*Math.abs(Math.ceil(100*f/l/5)-10)},g.applyMask=function(c,f){for(var l=f.size,h=0;h<l;h++)for(var w=0;w<l;w++)f.isReserved(w,h)||f.xor(w,h,s(c,w,h))},g.getBestMask=function(c,f){for(var l=Object.keys(g.Patterns).length,h=0,w=1/0,u=0;u<l;u++){f(u),g.applyMask(u,c);var k=g.getPenaltyN1(c)+g.getPenaltyN2(c)+g.getPenaltyN3(c)+g.getPenaltyN4(c);g.applyMask(u,c),k<w&&(w=k,h=u)}return h}},72943:(J,g,y)=>{var s=y(67339),d=y(62590);g.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},g.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},g.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},g.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},g.MIXED={bit:-1},g.getCharCountIndicator=function(l,h){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!s.isValid(h))throw new Error("Invalid version: "+h);return h>=1&&h<10?l.ccBits[0]:h<27?l.ccBits[1]:l.ccBits[2]},g.getBestModeForData=function(l){return d.testNumeric(l)?g.NUMERIC:d.testAlphanumeric(l)?g.ALPHANUMERIC:d.testKanji(l)?g.KANJI:g.BYTE},g.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},g.isValid=function(l){return l&&l.bit&&l.ccBits},g.from=function(l,h){if(g.isValid(l))return l;try{return function(f){if("string"!=typeof f)throw new Error("Param is not a string");switch(f.toLowerCase()){case"numeric":return g.NUMERIC;case"alphanumeric":return g.ALPHANUMERIC;case"kanji":return g.KANJI;case"byte":return g.BYTE;default:throw new Error("Unknown mode: "+f)}}(l)}catch{return h}}},98298:(J,g,y)=>{var s=y(72943);function d(c){this.mode=s.NUMERIC,this.data=c.toString()}d.getBitsLength=function(f){return 10*Math.floor(f/3)+(f%3?f%3*3+1:0)},d.prototype.getLength=function(){return this.data.length},d.prototype.getBitsLength=function(){return d.getBitsLength(this.data.length)},d.prototype.write=function(f){var l,h,w;for(l=0;l+3<=this.data.length;l+=3)h=this.data.substr(l,3),w=parseInt(h,10),f.put(w,10);var u=this.data.length-l;u>0&&(h=this.data.substr(l),w=parseInt(h,10),f.put(w,3*u+1))},J.exports=d},61818:(J,g,y)=>{var s=y(42520),d=y(15045);g.mul=function(f,l){for(var h=s.alloc(f.length+l.length-1),w=0;w<f.length;w++)for(var u=0;u<l.length;u++)h[w+u]^=d.mul(f[w],l[u]);return h},g.mod=function(f,l){for(var h=s.from(f);h.length-l.length>=0;){for(var w=h[0],u=0;u<l.length;u++)h[u]^=d.mul(l[u],w);for(var k=0;k<h.length&&0===h[k];)k++;h=h.slice(k)}return h},g.generateECPolynomial=function(f){for(var l=s.from([1]),h=0;h<f;h++)l=g.mul(l,[1,d.exp(h)]);return l}},66138:(J,g,y)=>{var s=y(42520),d=y(37332),c=y(93233),f=y(38518),l=y(60387),h=y(83774),w=y(56645),u=y(90231),k=y(64060),L=y(9764),W=y(77288),R=y(91481),M=y(72943),I=y(87505),G=y(23762);function p(P,H,D){var $,K,F=P.size,V=R.getEncodedBits(H,D);for($=0;$<15;$++)P.set($<6?$:$<8?$+1:F-15+$,8,K=1==(V>>$&1),!0),P.set(8,$<8?F-$-1:$<9?15-$-1+1:15-$-1,K,!0);P.set(F-8,8,1,!0)}function Y(P,H,D,F){var V;if(G(P))V=I.fromArray(P);else{if("string"!=typeof P)throw new Error("Invalid data");var $=H;if(!$){var K=I.rawSplit(P);$=W.getBestVersionForData(K,D)}V=I.fromString(P,$||40)}var Q=W.getBestVersionForData(V,D);if(!Q)throw new Error("The amount of data is too big to be stored in a QR Code");if(H){if(H<Q)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+Q+".\n")}else H=Q;var ne=function(P,H,D){var F=new f;D.forEach(function(ge){F.put(ge.mode.bit,4),F.put(ge.getLength(),M.getCharCountIndicator(ge.mode,P)),ge.write(F)});var K=8*(d.getSymbolTotalCodewords(P)-k.getTotalCodewordsCount(P,H));for(F.getLengthInBits()+4<=K&&F.put(0,4);F.getLengthInBits()%8!=0;)F.putBit(0);for(var Q=(K-F.getLengthInBits())/8,ne=0;ne<Q;ne++)F.put(ne%2?17:236,8);return function(P,H,D){for(var F=d.getSymbolTotalCodewords(H),$=F-k.getTotalCodewordsCount(H,D),K=k.getBlocksCount(H,D),ne=K-F%K,ge=Math.floor(F/K),le=Math.floor($/K),De=le+1,ze=ge-le,ue=new L(ze),ie=0,fe=new Array(K),Re=new Array(K),xe=0,Fe=s.from(P.buffer),Ce=0;Ce<K;Ce++){var ke=Ce<ne?le:De;fe[Ce]=Fe.slice(ie,ie+ke),Re[Ce]=ue.encode(fe[Ce]),ie+=ke,xe=Math.max(xe,ke)}var se,he,Ne=s.alloc(F),Le=0;for(se=0;se<xe;se++)for(he=0;he<K;he++)se<fe[he].length&&(Ne[Le++]=fe[he][se]);for(se=0;se<ze;se++)for(he=0;he<K;he++)Ne[Le++]=Re[he][se];return Ne}(F,P,H)}(H,D,V),ge=d.getSymbolSize(H),le=new l(ge);return function(P,H){for(var D=P.size,F=w.getPositions(H),V=0;V<F.length;V++)for(var $=F[V][0],K=F[V][1],Q=-1;Q<=7;Q++)if(!($+Q<=-1||D<=$+Q))for(var ne=-1;ne<=7;ne++)K+ne<=-1||D<=K+ne||P.set($+Q,K+ne,Q>=0&&Q<=6&&(0===ne||6===ne)||ne>=0&&ne<=6&&(0===Q||6===Q)||Q>=2&&Q<=4&&ne>=2&&ne<=4,!0)}(le,H),function(P){for(var H=P.size,D=8;D<H-8;D++){var F=D%2==0;P.set(D,6,F,!0),P.set(6,D,F,!0)}}(le),function(P,H){for(var D=h.getPositions(H),F=0;F<D.length;F++)for(var V=D[F][0],$=D[F][1],K=-2;K<=2;K++)for(var Q=-2;Q<=2;Q++)P.set(V+K,$+Q,-2===K||2===K||-2===Q||2===Q||0===K&&0===Q,!0)}(le,H),p(le,D,0),H>=7&&function(P,H){for(var V,$,K,D=P.size,F=W.getEncodedBits(H),Q=0;Q<18;Q++)V=Math.floor(Q/3),P.set(V,$=Q%3+D-8-3,K=1==(F>>Q&1),!0),P.set($,V,K,!0)}(le,H),function(P,H){for(var D=P.size,F=-1,V=D-1,$=7,K=0,Q=D-1;Q>0;Q-=2)for(6===Q&&Q--;;){for(var ne=0;ne<2;ne++)if(!P.isReserved(V,Q-ne)){var ge=!1;K<H.length&&(ge=1==(H[K]>>>$&1)),P.set(V,Q-ne,ge),-1==--$&&(K++,$=7)}if((V+=F)<0||D<=V){V-=F,F=-F;break}}}(le,ne),isNaN(F)&&(F=u.getBestMask(le,p.bind(null,le,D))),u.applyMask(F,le),p(le,D,F),{modules:le,version:H,errorCorrectionLevel:D,maskPattern:F,segments:V}}g.create=function(H,D){if(void 0===H||""===H)throw new Error("No input text");var V,$,F=c.M;return void 0!==D&&(F=c.from(D.errorCorrectionLevel,c.M),V=W.from(D.version),$=u.from(D.maskPattern),D.toSJISFunc&&d.setToSJISFunction(D.toSJISFunc)),Y(H,V,F,$)}},9764:(J,g,y)=>{var s=y(42520),d=y(61818),c=y(31254).lW;function f(l){this.genPoly=void 0,this.degree=l,this.degree&&this.initialize(this.degree)}f.prototype.initialize=function(h){this.degree=h,this.genPoly=d.generateECPolynomial(this.degree)},f.prototype.encode=function(h){if(!this.genPoly)throw new Error("Encoder not initialized");var w=s.alloc(this.degree),u=c.concat([h,w],h.length+this.degree),k=d.mod(u,this.genPoly),L=this.degree-k.length;if(L>0){var W=s.alloc(this.degree);return k.copy(W,L),W}return k},J.exports=f},62590:(J,g)=>{var y="[0-9]+",d="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",c="(?:(?![A-Z0-9 $%*+\\-./:]|"+(d=d.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";g.KANJI=new RegExp(d,"g"),g.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),g.BYTE=new RegExp(c,"g"),g.NUMERIC=new RegExp(y,"g"),g.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var f=new RegExp("^"+d+"$"),l=new RegExp("^"+y+"$"),h=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");g.testKanji=function(u){return f.test(u)},g.testNumeric=function(u){return l.test(u)},g.testAlphanumeric=function(u){return h.test(u)}},87505:(J,g,y)=>{var s=y(72943),d=y(98298),c=y(28134),f=y(5418),l=y(15278),h=y(62590),w=y(37332),u=y(78333);function k(U){return unescape(encodeURIComponent(U)).length}function L(U,b,m){for(var E,p=[];null!==(E=U.exec(m));)p.push({data:E[0],index:E.index,mode:b,length:E[0].length});return p}function W(U){var p,E,b=L(h.NUMERIC,s.NUMERIC,U),m=L(h.ALPHANUMERIC,s.ALPHANUMERIC,U);return w.isKanjiModeEnabled()?(p=L(h.BYTE,s.BYTE,U),E=L(h.KANJI,s.KANJI,U)):(p=L(h.BYTE_KANJI,s.BYTE,U),E=[]),b.concat(m,p,E).sort(function(O,Y){return O.index-Y.index}).map(function(O){return{data:O.data,mode:O.mode,length:O.length}})}function R(U,b){switch(b){case s.NUMERIC:return d.getBitsLength(U);case s.ALPHANUMERIC:return c.getBitsLength(U);case s.KANJI:return l.getBitsLength(U);case s.BYTE:return f.getBitsLength(U)}}function z(U,b){var m,p=s.getBestModeForData(U);if((m=s.from(b,p))!==s.BYTE&&m.bit<p.bit)throw new Error('"'+U+'" cannot be encoded with mode '+s.toString(m)+".\n Suggested mode is: "+s.toString(p));switch(m===s.KANJI&&!w.isKanjiModeEnabled()&&(m=s.BYTE),m){case s.NUMERIC:return new d(U);case s.ALPHANUMERIC:return new c(U);case s.KANJI:return new l(U);case s.BYTE:return new f(U)}}g.fromArray=function(b){return b.reduce(function(m,p){return"string"==typeof p?m.push(z(p,null)):p.data&&m.push(z(p.data,p.mode)),m},[])},g.fromString=function(b,m){for(var E=function(U){for(var b=[],m=0;m<U.length;m++){var p=U[m];switch(p.mode){case s.NUMERIC:b.push([p,{data:p.data,mode:s.ALPHANUMERIC,length:p.length},{data:p.data,mode:s.BYTE,length:p.length}]);break;case s.ALPHANUMERIC:b.push([p,{data:p.data,mode:s.BYTE,length:p.length}]);break;case s.KANJI:b.push([p,{data:p.data,mode:s.BYTE,length:k(p.data)}]);break;case s.BYTE:b.push([{data:p.data,mode:s.BYTE,length:k(p.data)}])}}return b}(W(b,w.isKanjiModeEnabled())),T=function(U,b){for(var m={},p={start:{}},E=["start"],T=0;T<U.length;T++){for(var O=U[T],Y=[],P=0;P<O.length;P++){var H=O[P],D=""+T+P;Y.push(D),m[D]={node:H,lastCount:0},p[D]={};for(var F=0;F<E.length;F++){var V=E[F];m[V]&&m[V].node.mode===H.mode?(p[V][D]=R(m[V].lastCount+H.length,H.mode)-R(m[V].lastCount,H.mode),m[V].lastCount+=H.length):(m[V]&&(m[V].lastCount=H.length),p[V][D]=R(H.length,H.mode)+4+s.getCharCountIndicator(H.mode,b))}}E=Y}for(F=0;F<E.length;F++)p[E[F]].end=0;return{map:p,table:m}}(E,m),O=u.find_path(T.map,"start","end"),Y=[],P=1;P<O.length-1;P++)Y.push(T.table[O[P]].node);return g.fromArray(Y.reduce(function(b,m){var p=b.length-1>=0?b[b.length-1]:null;return p&&p.mode===m.mode?(b[b.length-1].data+=m.data,b):(b.push(m),b)},[]))},g.rawSplit=function(b){return g.fromArray(W(b,w.isKanjiModeEnabled()))}},37332:(J,g)=>{var y,s=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];g.getSymbolSize=function(c){if(!c)throw new Error('"version" cannot be null or undefined');if(c<1||c>40)throw new Error('"version" should be in range from 1 to 40');return 4*c+17},g.getSymbolTotalCodewords=function(c){return s[c]},g.getBCHDigit=function(d){for(var c=0;0!==d;)c++,d>>>=1;return c},g.setToSJISFunction=function(c){if("function"!=typeof c)throw new Error('"toSJISFunc" is not a valid function.');y=c},g.isKanjiModeEnabled=function(){return void 0!==y},g.toSJIS=function(c){return y(c)}},67339:(J,g)=>{g.isValid=function(s){return!isNaN(s)&&s>=1&&s<=40}},77288:(J,g,y)=>{var s=y(37332),d=y(64060),c=y(93233),f=y(72943),l=y(67339),h=y(23762),u=s.getBCHDigit(7973);function L(M,I){return f.getCharCountIndicator(M,I)+4}function W(M,I){var G=0;return M.forEach(function(z){var U=L(z.mode,I);G+=U+z.getBitsLength()}),G}g.from=function(I,G){return l.isValid(I)?parseInt(I,10):G},g.getCapacity=function(I,G,z){if(!l.isValid(I))throw new Error("Invalid QR Code version");void 0===z&&(z=f.BYTE);var m=8*(s.getSymbolTotalCodewords(I)-d.getTotalCodewordsCount(I,G));if(z===f.MIXED)return m;var p=m-L(z,I);switch(z){case f.NUMERIC:return Math.floor(p/10*3);case f.ALPHANUMERIC:return Math.floor(p/11*2);case f.KANJI:return Math.floor(p/13);default:return Math.floor(p/8)}},g.getBestVersionForData=function(I,G){var z,U=c.from(G,c.M);if(h(I)){if(I.length>1)return function(M,I){for(var G=1;G<=40;G++)if(W(M,G)<=g.getCapacity(G,I,f.MIXED))return G}(I,U);if(0===I.length)return 1;z=I[0]}else z=I;return function(M,I,G){for(var z=1;z<=40;z++)if(I<=g.getCapacity(z,G,M))return z}(z.mode,z.getLength(),U)},g.getEncodedBits=function(I){if(!l.isValid(I)||I<7)throw new Error("Invalid QR Code version");for(var G=I<<12;s.getBCHDigit(G)-u>=0;)G^=7973<<s.getBCHDigit(G)-u;return I<<12|G}},69103:(J,g,y)=>{var s=y(65552);g.render=function(l,h,w){var u=w,k=h;void 0===u&&(!h||!h.getContext)&&(u=h,h=void 0),h||(k=function(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),u=s.getOptions(u);var L=s.getImageWidth(l.modules.size,u),W=k.getContext("2d"),R=W.createImageData(L,L);return s.qrToImageData(R.data,l,u),function(f,l,h){f.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=h,l.width=h,l.style.height=h+"px",l.style.width=h+"px"}(W,k,L),W.putImageData(R,0,0),k},g.renderToDataURL=function(l,h,w){var u=w;return void 0===u&&(!h||!h.getContext)&&(u=h,h=void 0),u||(u={}),g.render(l,h,u).toDataURL(u.type||"image/png",(u.rendererOpts||{}).quality)}},24822:(J,g,y)=>{var s=y(65552);function d(l,h){var w=l.a/255,u=h+'="'+l.hex+'"';return w<1?u+" "+h+'-opacity="'+w.toFixed(2).slice(1)+'"':u}function c(l,h,w){var u=l+h;return void 0!==w&&(u+=" "+w),u}g.render=function(h,w,u){var k=s.getOptions(w),L=h.modules.size,W=h.modules.data,R=L+2*k.margin,M=k.color.light.a?"<path "+d(k.color.light,"fill")+' d="M0 0h'+R+"v"+R+'H0z"/>':"",I="<path "+d(k.color.dark,"stroke")+' d="'+function(l,h,w){for(var u="",k=0,L=!1,W=0,R=0;R<l.length;R++){var M=Math.floor(R%h),I=Math.floor(R/h);!M&&!L&&(L=!0),l[R]?(W++,R>0&&M>0&&l[R-1]||(u+=L?c("M",M+w,.5+I+w):c("m",k,0),k=0,L=!1),M+1<h&&l[R+1]||(u+=c("h",W),W=0)):k++}return u}(W,L,k.margin)+'"/>',U='<svg xmlns="http://www.w3.org/2000/svg" '+(k.width?'width="'+k.width+'" height="'+k.width+'" ':"")+'viewBox="0 0 '+R+" "+R+'" shape-rendering="crispEdges">'+M+I+"</svg>\n";return"function"==typeof u&&u(null,U),U}},65552:(J,g)=>{function y(s){if("number"==typeof s&&(s=s.toString()),"string"!=typeof s)throw new Error("Color should be defined as hex string");var d=s.slice().replace("#","").split("");if(d.length<3||5===d.length||d.length>8)throw new Error("Invalid hex color: "+s);(3===d.length||4===d.length)&&(d=Array.prototype.concat.apply([],d.map(function(f){return[f,f]}))),6===d.length&&d.push("F","F");var c=parseInt(d.join(""),16);return{r:c>>24&255,g:c>>16&255,b:c>>8&255,a:255&c,hex:"#"+d.slice(0,6).join("")}}g.getOptions=function(d){d||(d={}),d.color||(d.color={});var f=d.width&&d.width>=21?d.width:void 0;return{width:f,scale:f?4:d.scale||4,margin:null==d.margin||d.margin<0?4:d.margin,color:{dark:y(d.color.dark||"#000000ff"),light:y(d.color.light||"#ffffffff")},type:d.type,rendererOpts:d.rendererOpts||{}}},g.getScale=function(d,c){return c.width&&c.width>=d+2*c.margin?c.width/(d+2*c.margin):c.scale},g.getImageWidth=function(d,c){var f=g.getScale(d,c);return Math.floor((d+2*c.margin)*f)},g.qrToImageData=function(d,c,f){for(var l=c.modules.size,h=c.modules.data,w=g.getScale(l,f),u=Math.floor((l+2*f.margin)*w),k=f.margin*w,L=[f.color.light,f.color.dark],W=0;W<u;W++)for(var R=0;R<u;R++){var M=4*(W*u+R),I=f.color.light;W>=k&&R>=k&&W<u-k&&R<u-k&&(I=L[h[Math.floor((W-k)/w)*l+Math.floor((R-k)/w)]?1:0]),d[M++]=I.r,d[M++]=I.g,d[M++]=I.b,d[M]=I.a}}},42520:(J,g,y)=>{"use strict";var s=y(23762),c=(f.TYPED_ARRAY_SUPPORT=function(){try{var b=new Uint8Array(1);return b.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===b.foo()}catch{return!1}}())?2147483647:1073741823;function f(b,m,p){return f.TYPED_ARRAY_SUPPORT||this instanceof f?"number"==typeof b?u(this,b):function(b,m,p,E){if("number"==typeof m)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&m instanceof ArrayBuffer?function(b,m,p,E){if(p<0||m.byteLength<p)throw new RangeError("'offset' is out of bounds");if(m.byteLength<p+(E||0))throw new RangeError("'length' is out of bounds");var T;return T=void 0===p&&void 0===E?new Uint8Array(m):void 0===E?new Uint8Array(m,p):new Uint8Array(m,p,E),f.TYPED_ARRAY_SUPPORT?T.__proto__=f.prototype:T=L(b,T),T}(b,m,p,E):"string"==typeof m?function(b,m){var p=0|I(m),E=w(b,p),T=E.write(m);return T!==p&&(E=E.slice(0,T)),E}(b,m):function(b,m){if(f.isBuffer(m)){var p=0|l(m.length),E=w(b,p);return 0===E.length||m.copy(E,0,0,p),E}if(m){if("undefined"!=typeof ArrayBuffer&&m.buffer instanceof ArrayBuffer||"length"in m)return"number"!=typeof m.length||function(b){return b!=b}(m.length)?w(b,0):L(b,m);if("Buffer"===m.type&&Array.isArray(m.data))return L(b,m.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(b,m)}(this,b,m,p):new f(b,m,p)}function l(b){if(b>=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return 0|b}function w(b,m){var p;return f.TYPED_ARRAY_SUPPORT?(p=new Uint8Array(m)).__proto__=f.prototype:(null===(p=b)&&(p=new f(m)),p.length=m),p}function u(b,m){var p=w(b,m<0?0:0|l(m));if(!f.TYPED_ARRAY_SUPPORT)for(var E=0;E<m;++E)p[E]=0;return p}function L(b,m){for(var p=m.length<0?0:0|l(m.length),E=w(b,p),T=0;T<p;T+=1)E[T]=255&m[T];return E}function M(b,m){m=m||1/0;for(var p,E=b.length,T=null,O=[],Y=0;Y<E;++Y){if((p=b.charCodeAt(Y))>55295&&p<57344){if(!T){if(p>56319){(m-=3)>-1&&O.push(239,191,189);continue}if(Y+1===E){(m-=3)>-1&&O.push(239,191,189);continue}T=p;continue}if(p<56320){(m-=3)>-1&&O.push(239,191,189),T=p;continue}p=65536+(T-55296<<10|p-56320)}else T&&(m-=3)>-1&&O.push(239,191,189);if(T=null,p<128){if((m-=1)<0)break;O.push(p)}else if(p<2048){if((m-=2)<0)break;O.push(p>>6|192,63&p|128)}else if(p<65536){if((m-=3)<0)break;O.push(p>>12|224,p>>6&63|128,63&p|128)}else{if(!(p<1114112))throw new Error("Invalid code point");if((m-=4)<0)break;O.push(p>>18|240,p>>12&63|128,p>>6&63|128,63&p|128)}}return O}function I(b){return f.isBuffer(b)?b.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(b)||b instanceof ArrayBuffer)?b.byteLength:("string"!=typeof b&&(b=""+b),0===b.length?0:M(b).length)}f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),f.prototype.write=function(m,p,E){void 0===p||void 0===E&&"string"==typeof p?(E=this.length,p=0):isFinite(p)&&(p|=0,isFinite(E)?E|=0:E=void 0);var T=this.length-p;if((void 0===E||E>T)&&(E=T),m.length>0&&(E<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(b,m,p,E){return function(b,m,p,E){for(var T=0;T<E&&!(T+p>=m.length||T>=b.length);++T)m[T+p]=b[T];return T}(M(m,b.length-p),b,p,E)}(this,m,p,E)},f.prototype.slice=function(m,p){var T,E=this.length;if((m=~~m)<0?(m+=E)<0&&(m=0):m>E&&(m=E),(p=void 0===p?E:~~p)<0?(p+=E)<0&&(p=0):p>E&&(p=E),p<m&&(p=m),f.TYPED_ARRAY_SUPPORT)(T=this.subarray(m,p)).__proto__=f.prototype;else{var O=p-m;T=new f(O,void 0);for(var Y=0;Y<O;++Y)T[Y]=this[Y+m]}return T},f.prototype.copy=function(m,p,E,T){if(E||(E=0),!T&&0!==T&&(T=this.length),p>=m.length&&(p=m.length),p||(p=0),T>0&&T<E&&(T=E),T===E||0===m.length||0===this.length)return 0;if(p<0)throw new RangeError("targetStart out of bounds");if(E<0||E>=this.length)throw new RangeError("sourceStart out of bounds");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),m.length-p<T-E&&(T=m.length-p+E);var Y,O=T-E;if(this===m&&E<p&&p<T)for(Y=O-1;Y>=0;--Y)m[Y+p]=this[Y+E];else if(O<1e3||!f.TYPED_ARRAY_SUPPORT)for(Y=0;Y<O;++Y)m[Y+p]=this[Y+E];else Uint8Array.prototype.set.call(m,this.subarray(E,E+O),p);return O},f.prototype.fill=function(m,p,E){if("string"==typeof m){if("string"==typeof p?(p=0,E=this.length):"string"==typeof E&&(E=this.length),1===m.length){var T=m.charCodeAt(0);T<256&&(m=T)}}else"number"==typeof m&&(m&=255);if(p<0||this.length<p||this.length<E)throw new RangeError("Out of range index");if(E<=p)return this;var O;if(p>>>=0,E=void 0===E?this.length:E>>>0,m||(m=0),"number"==typeof m)for(O=p;O<E;++O)this[O]=m;else{var Y=f.isBuffer(m)?m:new f(m),P=Y.length;for(O=0;O<E-p;++O)this[O+p]=Y[O%P]}return this},f.concat=function(m,p){if(!s(m))throw new TypeError('"list" argument must be an Array of Buffers');if(0===m.length)return w(null,0);var E;if(void 0===p)for(p=0,E=0;E<m.length;++E)p+=m[E].length;var T=u(null,p),O=0;for(E=0;E<m.length;++E){var Y=m[E];if(!f.isBuffer(Y))throw new TypeError('"list" argument must be an Array of Buffers');Y.copy(T,O),O+=Y.length}return T},f.byteLength=I,f.prototype._isBuffer=!0,f.isBuffer=function(m){return!(null==m||!m._isBuffer)},J.exports.alloc=function(b){var m=new f(b);return m.fill(0),m},J.exports.from=function(b){return new f(b)}},96967:(J,g,y)=>{"use strict";var s=y(35311),d={"text/plain":"Text","text/html":"Url",default:"Text"};J.exports=function(h,w){var u,k,L,W,R,M,I=!1;w||(w={}),u=w.debug||!1;try{if(L=s(),W=document.createRange(),R=document.getSelection(),(M=document.createElement("span")).textContent=h,M.ariaHidden="true",M.style.all="unset",M.style.position="fixed",M.style.top=0,M.style.clip="rect(0, 0, 0, 0)",M.style.whiteSpace="pre",M.style.webkitUserSelect="text",M.style.MozUserSelect="text",M.style.msUserSelect="text",M.style.userSelect="text",M.addEventListener("copy",function(z){z.stopPropagation(),w.format&&(z.preventDefault(),void 0===z.clipboardData?(u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(d[w.format]||d.default,h)):(z.clipboardData.clearData(),z.clipboardData.setData(w.format,h))),w.onCopy&&(z.preventDefault(),w.onCopy(z.clipboardData))}),document.body.appendChild(M),W.selectNodeContents(M),R.addRange(W),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");I=!0}catch(z){u&&console.error("unable to copy using execCommand: ",z),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(w.format||"text",h),w.onCopy&&w.onCopy(window.clipboardData),I=!0}catch(U){u&&console.error("unable to copy using clipboardData: ",U),u&&console.error("falling back to prompt"),k=function(h){var w=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,w)}("message"in w?w.message:"Copy to clipboard: #{key}, Enter"),window.prompt(k,h)}}finally{R&&("function"==typeof R.removeRange?R.removeRange(W):R.removeAllRanges()),M&&document.body.removeChild(M),L()}return I}},35311:J=>{J.exports=function(){var g=document.getSelection();if(!g.rangeCount)return function(){};for(var y=document.activeElement,s=[],d=0;d<g.rangeCount;d++)s.push(g.getRangeAt(d));switch(y.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":y.blur();break;default:y=null}return g.removeAllRanges(),function(){"Caret"===g.type&&g.removeAllRanges(),g.rangeCount||s.forEach(function(c){g.addRange(c)}),y&&y.focus()}}}}]);