plutosdk 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pluto-sdk.js +28 -28
- package/lib/interface.d.ts +14 -0
- package/lib/sdk.d.ts +9 -1
- package/lib/sdk.js +52 -11
- package/lib/utils/Api.d.ts +15 -0
- package/lib/utils/Api.js +32 -2
- package/lib/utils/Platform.d.ts +20 -1
- package/lib/utils/Platform.js +71 -2
- package/lib/utils/User.d.ts +9 -0
- package/lib/utils/User.js +12 -0
- package/lib/utils/Utils.js +21 -8
- package/lib/utils/WalletManager.d.ts +6 -1
- package/lib/utils/WalletManager.js +65 -5
- package/lib/utils/constant.d.ts +5 -1
- package/lib/utils/constant.js +4 -0
- package/package.json +1 -1
package/dist/pluto-sdk.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see pluto-sdk.js.LICENSE.txt */
|
|
2
|
-
var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var g=1,m=1,y=0,v=0,b=0,w="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:g,column:m,length:a,return:""}}function C(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=v>0?u(w,--v):0,m--,10===b&&(m=1,g--),b}function S(){return b=v<y?u(w,v++):0,m++,10===b&&(m=1,g++),b}function E(){return u(w,v)}function A(){return v}function _(e,t){return d(w,e,t)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return g=m=1,y=f(w=e),v=0,[]}function O(e){return w="",e}function P(e){return s(_(v-1,N(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=E())&&b<33;)S();return T(e)>2||T(b)>3?"":" "}function L(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return _(e,A()+(t<6&&32==E()&&32==S()))}function N(e){for(;S();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:S()}return v}function I(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+_(t,v-1)+"*"+i(47===e?e:S())}function j(e){for(;!T(E());)S();return _(e,v)}var $="-ms-",W="-moz-",D="-webkit-",U="comm",F="rule",z="decl",B="@keyframes";function q(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function H(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case z:return e.return=e.return||e.value;case U:return"";case B:return e.return=e.value+"{"+q(e.children,r)+"}";case F:e.value=e.props.join(",")}return f(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function K(e){return O(V("",null,null,null,[""],e=R(e),0,[0],e))}function V(e,t,n,r,o,a,s,d,p){for(var g=0,m=0,y=s,v=0,b=0,w=0,x=1,C=1,_=1,T=0,R="",O=o,N=a,$=r,W=R;C;)switch(w=T,T=S()){case 40:if(108!=w&&58==u(W,y-1)){-1!=c(W+=l(P(T),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:W+=P(T);break;case 9:case 10:case 13:case 32:W+=M(w);break;case 92:W+=L(A()-1,7);continue;case 47:switch(E()){case 42:case 47:h(Q(I(S(),A()),t,n),p);break;default:W+="/"}break;case 123*x:d[g++]=f(W)*_;case 125*x:case 59:case 0:switch(T){case 0:case 125:C=0;case 59+m:-1==_&&(W=l(W,/\f/g,"")),b>0&&f(W)-y&&h(b>32?Z(W+";",r,n,y-1):Z(l(W," ","")+";",r,n,y-2),p);break;case 59:W+=";";default:if(h($=G(W,t,n,g,m,o,d,R,O=[],N=[],y),a),123===T)if(0===m)V(W,t,$,$,O,a,y,d,N);else switch(99===v&&110===u(W,3)?100:v){case 100:case 108:case 109:case 115:V(e,$,$,r&&h(G(e,$,$,0,0,o,d,R,o,O=[],y),N),o,N,y,d,r?O:N);break;default:V(W,$,$,$,[""],N,0,d,N)}}g=m=b=0,x=_=1,R=W="",y=s;break;case 58:y=1+f(W),b=w;default:if(x<1)if(123==T)--x;else if(125==T&&0==x++&&125==k())continue;switch(W+=i(T),T*x){case 38:_=m>0?1:(W+="\f",-1);break;case 44:d[g++]=(f(W)-1)*_,_=1;break;case 64:45===E()&&(W+=P(S())),v=E(),m=y=f(R=W+=j(A())),T++;break;case 45:45===w&&2==f(W)&&(x=0)}}return a}function G(e,t,n,r,i,a,c,u,f,h,g){for(var m=i-1,y=0===i?a:[""],v=p(y),b=0,w=0,C=0;b<r;++b)for(var k=0,S=d(e,m+1,m=o(w=c[b])),E=e;k<v;++k)(E=s(w>0?y[k]+" "+S:l(S,/&\f/g,y[k])))&&(f[C++]=E);return x(e,t,n,0===i?F:u,f,h,g)}function Q(e,t,n){return x(e,t,n,U,i(b),d(e,2,-2),0)}function Z(e,t,n,r){return x(e,t,n,z,d(e,0,r),d(e,r+1,-1),r)}var Y=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!T(o);)S();return _(e,v)},X=function(e,t){return O(function(e,t){var n=-1,r=44;do{switch(T(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Y(v-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=S());return e}(R(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=X(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return D+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+W+e+$+e+e;case 6828:case 4268:return D+e+$+e+e;case 6165:return D+e+$+"flex-"+e+e;case 5187:return D+e+l(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+$+"flex-$1$2")+e;case 5443:return D+e+$+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return D+e+$+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+$+l(e,"shrink","negative")+e;case 5292:return D+e+$+l(e,"basis","preferred-size")+e;case 6060:return D+"box-"+l(e,"-grow","")+D+e+$+l(e,"grow","positive")+e;case 4554:return D+l(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,D+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+W+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+$+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+$+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case z:e.return=ne(e.value,e.length);break;case B:return q([C(e,{value:l(e.value,"@","@"+D)})],r);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([C(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([C(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||re,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d=[H,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var t=p(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([ee,te].concat(a,d));i=function(e,t,n,r){c=n,q(K(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return h.sheet.hydrate(l),h}},7923:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},7576:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,T:()=>l,w:()=>s});var r=n(9950),o=n(8603),i=(n(9015),n(6477),r.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null)),a=i.Provider,s=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(i);return e(t,o,n)}))},l=r.createContext({})},8283:(e,t,n)=>{"use strict";n.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var r=n(7576),o=n(9950),i=n(1783),a=n(6477),s=n(9015),l=(n(8603),n(3876),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T)),c=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),c.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}var u=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},9015:(e,t,n)=>{"use strict";n.d(t,{J:()=>m});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(7923),i=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.A)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,n){return h={name:t,styles:n,next:h},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function p(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return h={name:o.name,styles:o.styles,next:h},o.name;var a=n;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)h={name:s.name,styles:s.styles,next:h},s=s.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=p(e,t,n[o])+";";else for(var a in n){var s=n[a];if("object"!==typeof s){var l=s;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":c(l)&&(r+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(f);if(!Array.isArray(s)||"string"!==typeof s[0]||null!=t&&void 0!==t[s[0]]){var h=p(e,t,s);switch(a){case"animation":case"animationName":r+=u(a)+":"+h+";";break;default:r+=a+"{"+h+"}"}}else for(var g=0;g<s.length;g++)c(s[g])&&(r+=u(a)+":"+d(a,s[g])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=h,g=n(e);return h=l,p(e,t,g)}}var m=n;if(null==t)return m;var y=t[m];return void 0!==y?y:m}var h,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function m(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";h=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=p(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=p(n,t,e[a]),r)o+=i[a]}g.lastIndex=0;for(var s,l="";null!==(s=g.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},6477:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>s,s:()=>a});var o=n(9950),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},1783:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},4300:(e,t,n)=>{"use strict";var r=n(4994);t.A=void 0;!function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r)}(n(9950));var o=r(n(9526)),i=n(4414);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}t.A=(0,o.default)((0,i.jsx)("path",{d:"M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z"}),"Telegram")},9526:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(6987)},7353:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var r=n(9950),o=n(5537);n(4414);const i=r.createContext(void 0);function a(e){let{props:t,name:n}=e;return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?(0,o.A)(i.defaultProps,r):i.styleOverrides||i.variants?r:(0,o.A)(i,r)}({props:t,name:n,theme:{components:r.useContext(i)}})}function s(e){return a(e)}},7775:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(8168),o=n(8587),i=n(8099),a=n(7483),s=n(8076),l=n(505),c=n(2860);var u=n(9269);const d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},m={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function C(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.a)(e.main,o):"dark"===t&&(e.dark=(0,u.e$)(e.main,i)))}function k(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,b),c=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(t),k=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),S=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),E=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),A=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),_=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(t);function T(e){return(0,u.eM)(e,x.text.primary)>=n?x.text.primary:w.text.primary}const R=e=>{let{color:t,name:n,mainShade:o=500,lightShade:a=300,darkShade:l=700}=e;if(t=(0,r.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,i.A)(11,n?` (${n})`:"",o));if("string"!==typeof t.main)throw new Error((0,i.A)(12,n?` (${n})`:"",JSON.stringify(t.main)));return C(t,"light",a,s),C(t,"dark",l,s),t.contrastText||(t.contrastText=T(t.main)),t},O={dark:x,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},d),mode:t,primary:R({color:c,name:"primary"}),secondary:R({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:S,name:"error"}),warning:R({color:_,name:"warning"}),info:R({color:E,name:"info"}),success:R({color:A,name:"success"}),grey:f,contrastThreshold:n,getContrastText:T,augmentColor:R,tonalOffset:s},O[t]),l)}const S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},A='"Roboto", "Helvetica", "Arial", sans-serif';function _(e,t){const n="function"===typeof t?t(e):t,{fontFamily:i=A,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:p,pxToRem:h}=n,g=(0,o.A)(n,S);const m=s/14,y=h||(e=>e/f*m+"rem"),v=(e,t,n,o,a)=>{return(0,r.A)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:n},i===A?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5)+"em"}:{},a,p);var s},b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(c,48,1.167,0),h4:v(c,34,1.235,.25),h5:v(c,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(c,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(c,16,1.5,.15),body2:v(c,14,1.43,.15),button:v(u,14,1.75,.4,E),caption:v(c,12,1.66,.4),overline:v(c,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.A)((0,r.A)({htmlFontSize:f,pxToRem:y,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},b),g,{clone:!1})}function T(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}const R=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],O=["duration","easing","delay"],P={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},M={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function L(e){return`${Math.round(e)}ms`}function N(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function I(e){const t=(0,r.A)({},P,e.easing),n=(0,r.A)({},M,e.duration);return(0,r.A)({getAutoHeightDuration:N,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:i=n.standard,easing:a=t.easeInOut,delay:s=0}=r;(0,o.A)(r,O);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"===typeof i?i:L(i)} ${a} ${"string"===typeof s?s:L(s)}`)).join(",")}},e,{easing:t,duration:n})}const j={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},$=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function W(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:n={},transitions:u={},typography:d={}}=e,f=(0,o.A)(e,$);if(e.vars)throw new Error((0,i.A)(18));const p=k(n),h=(0,c.A)(e);let g=(0,a.A)(h,{mixins:(m=h.breakpoints,y=t,(0,r.A)({toolbar:{minHeight:56,[m.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[m.up("sm")]:{minHeight:64}}},y)),palette:p,shadows:R.slice(),typography:_(p,d),transitions:I(u),zIndex:(0,r.A)({},j)});var m,y;g=(0,a.A)(g,f);for(var v=arguments.length,b=new Array(v>1?v-1:0),w=1;w<v;w++)b[w-1]=arguments[w];return g=b.reduce(((e,t)=>(0,a.A)(e,t)),g),g.unstable_sxConfig=(0,r.A)({},s.A,null==f?void 0:f.unstable_sxConfig),g.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},g}const D=W},195:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(7775).A)()},7550:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},741:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},o=e=>r(e)&&"classes"!==e},9254:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(7295),o=n(195),i=n(7550),a=n(741);const s=(0,r.Ay)({themeId:i.A,defaultTheme:o.A,rootShouldForwardProp:a.A})},1676:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5501).A},1380:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r}},6987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>C,debounce:()=>k.A,deprecatedPropType:()=>S,isMuiElement:()=>E,ownerDocument:()=>A,ownerWindow:()=>_.A,requirePropFactory:()=>T,setRef:()=>R,unstable_ClassNameGenerator:()=>D,unstable_useEnhancedEffect:()=>O,unstable_useId:()=>L,unsupportedProp:()=>N,useControlled:()=>I,useEventCallback:()=>j.A,useForkRef:()=>$.A,useIsFocusVisible:()=>W.A});var r=n(4501),o=n(1676);const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}),(()=>{}))};var a=n(8168),s=n(9950),l=n.t(s,2),c=n(8587),u=n(2004),d=n(8465),f=n(7353),p=n(9254),h=n(1763),g=n(423);function m(e){return(0,g.Ay)("MuiSvgIcon",e)}(0,h.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=n(4414);const v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],b=(0,p.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,o.A)(n.color)}`],t[`fontSize${(0,o.A)(n.fontSize)}`]]}})((e=>{let{theme:t,ownerState:n}=e;var r,o,i,a,s,l,c,u,d,f,p,h,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=t.transitions)||null==(o=r.create)?void 0:o.call(r,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=t.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(u=t.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875rem"}[n.fontSize],color:null!=(f=null==(p=(t.vars||t).palette)||null==(p=p[n.color])?void 0:p.main)?f:{action:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(g=(t.vars||t).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0}[n.color]}})),w=s.forwardRef((function(e,t){const n=(0,f.b)({props:e,name:"MuiSvgIcon"}),{children:r,className:i,color:l="inherit",component:p="svg",fontSize:h="medium",htmlColor:g,inheritViewBox:w=!1,titleAccess:x,viewBox:C="0 0 24 24"}=n,k=(0,c.A)(n,v),S=s.isValidElement(r)&&"svg"===r.type,E=(0,a.A)({},n,{color:l,component:p,fontSize:h,instanceFontSize:e.fontSize,inheritViewBox:w,viewBox:C,hasSvgAsChild:S}),A={};w||(A.viewBox=C);const _=(e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root","inherit"!==t&&`color${(0,o.A)(t)}`,`fontSize${(0,o.A)(n)}`]};return(0,d.A)(i,m,r)})(E);return(0,y.jsxs)(b,(0,a.A)({as:p,className:(0,u.A)(_.root,i),focusable:"false",color:g,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:t},A,k,S&&r.props,{ownerState:E,children:[S?r.props.children:r,x?(0,y.jsx)("title",{children:x}):null]}))}));w.muiName="SvgIcon";const x=w;function C(e,t){function n(n,r){return(0,y.jsx)(x,(0,a.A)({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=x.muiName,s.memo(s.forwardRef(n))}var k=n(1380);const S=function(e,t){return()=>null};const E=n(5447).A;const A=n(6907).A;var _=n(1733);const T=function(e,t){return()=>null};const R=n(5587).A;const O=n(1399).A;let P=0;const M=l["useId".toString()];const L=function(e){if(void 0!==M){const t=M();return null!=e?e:t}return function(e){const[t,n]=s.useState(e),r=e||t;return s.useEffect((()=>{null==t&&(P+=1,n(`mui-${P}`))}),[t]),r}(e)};const N=function(e,t,n,r,o){return null};const I=function(e){let{controlled:t,default:n,name:r,state:o="value"}=e;const{current:i}=s.useRef(void 0!==t),[a,l]=s.useState(n);return[i?t:a,s.useCallback((e=>{i||l(e)}),[])]};var j=n(5018),$=n(4326),W=n(2937);const D={configure:e=>{r.A.configure(e)}}},1733:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6907);const o=function(e){return(0,r.A)(e).defaultView||window}},5018:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(9950),o=n(1399);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef((function(){return(0,t.current)(...arguments)})).current}},4326:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(9950),o=n(5587);const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},2937:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(9950),o=n(1824);let i=!0,a=!1;const s=new o.E,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}const p=function(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},3158:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(9950);var r=n(8283),o=n(4414);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"===typeof t?e=>{return t(void 0===(r=e)||null===r||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},116:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>k.A,StyledEngineProvider:()=>C,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>S,internal_processStyles:()=>E,keyframes:()=>v.i7});var r=n(8168),o=n(9950),i=n(7923),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.A)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(7576),c=n(1783),u=n(9015),d=n(6477),f=s,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},g=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.SF)(t,n,r),(0,d.s)((function(){return(0,c.sk)(t,n,r)})),null},y=function e(t,n){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=g(t,n,s),p=f||h(d),y=!p("as");return function(){var v=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var w=v.length,x=1;x<w;x++)b.push(v[x],v[0][x])}var C=(0,l.w)((function(e,t,n){var r=y&&e.as||d,i="",s=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=o.useContext(l.T)}"string"===typeof e.className?i=(0,c.Rk)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var w=(0,u.J)(b.concat(s),t.registered,g);i+=t.key+"-"+w.name,void 0!==a&&(i+=" "+a);var x=y&&void 0===f?h(r):p,C={};for(var k in e)y&&"as"===k||x(k)&&(C[k]=e[k]);return C.className=i,n&&(C.ref=n),o.createElement(o.Fragment,null,o.createElement(m,{cache:t,serialized:w,isStringTag:"string"===typeof r}),o.createElement(r,C))}));return C.displayName=void 0!==i?i:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=d,C.__emotion_styles=b,C.__emotion_forwardProp=f,Object.defineProperty(C,"toString",{value:function(){return"."+a}}),C.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:g(C,o,!0)})).apply(void 0,b)},C}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){y[e]=y(e)}));var v=n(8283),b=n(8603),w=n(4414);let x;function C(e){const{injectFirst:t,children:n}=e;return t&&x?(0,w.jsx)(l.C,{value:x,children:n}):n}"object"===typeof document&&(x=(0,b.A)({key:"css",prepend:!0}));var k=n(3158);function S(e,t){return y(e,t)}const E=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},9269:(e,t,n)=>{"use strict";var r=n(4994);t.X4=p,t.e$=h,t.eM=function(e,t){const n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.a=g;var o=r(n(9234)),i=r(n(3383));function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,i.default)(e,t,n)}function s(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function d(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=l(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function h(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function g(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(e)>.5?h(e,t):g(e,t)}},7295:(e,t,n)=>{"use strict";var r=n(4994);t.Ay=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:p,skipVariantsResolver:g,skipSx:w,overridesResolver:x=v(m(p))}=c,C=(0,i.default)(c,f),k=void 0!==g?g:p&&"Root"!==p&&"root"!==p||!1,S=w||!1;let E=h;"Root"===p||"root"===p?E=r:p?E=l:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(E=void 0);const A=(0,a.default)(e,(0,o.default)({shouldForwardProp:E,label:undefined},C)),_=e=>"function"===typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>b(e,(0,o.default)({},r,{theme:y({theme:r.theme,defaultTheme:n,themeId:t})})):e,T=function(r){let i=_(r);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];const c=s?s.map(_):[];d&&x&&c.push((e=>{const r=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[d]||!r.components[d].styleOverrides)return null;const i=r.components[d].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=b(i,(0,o.default)({},e,{theme:r}))})),x(e,a)})),d&&!k&&c.push((e=>{var r;const i=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));return b({variants:null==i||null==(r=i.components)||null==(r=r[d])?void 0:r.variants},(0,o.default)({},e,{theme:i}))})),S||c.push(u);const f=c.length-s.length;if(Array.isArray(r)&&f>0){const e=new Array(f).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const p=A(i,...c);return e.muiName&&(p.muiName=e.muiName),p};return A.withConfig&&(T.withConfig=A.withConfig),T}};var o=r(n(4634)),i=r(n(4893)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(116)),s=n(7785),l=(r(n(304)),r(n(8399)),r(n(9904))),c=r(n(8807));const u=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function v(e){return e?(t,n)=>n[e]:null}function b(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u);const a="function"===typeof e?e((0,o.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>b(e,(0,o.default)({ownerState:n},r))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,d);return e.forEach((e=>{let i=!0;"function"===typeof e.props?i=e.props((0,o.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,o.default)({ownerState:n},r,n)):e.style))})),t}return a}},8286:(e,t,n)=>{"use strict";n.d(t,{EU:()=>s,NI:()=>a,iZ:()=>c,kW:()=>u,vf:()=>l,zu:()=>o});var r=n(7483);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||i;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"===typeof t){const e=r.breakpoints||i;return Object.keys(t).reduce(((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){r[e.up(i)]=n(t[i],i)}else{const e=i;r[e]=t[e]}return r}),{})}return n(t)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e){const t=s(e);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=[t,...o].reduce(((e,t)=>(0,r.A)(e,t)),{});return l(Object.keys(t),a)}function u(e){let{values:t,breakpoints:n,base:r}=e;const o=r||function(e,t){if("object"!==typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(t,n),i=Object.keys(o);if(0===i.length)return t;let a;return i.reduce(((e,n,r)=>(Array.isArray(t)?(e[n]=null!=t[r]?t[r]:t[a],a=r):"object"===typeof t?(e[n]=null!=t[n]?t[n]:t[a],a=n):e[n]=t,e)),{})}},86:(e,t,n)=>{"use strict";function r(e,t){const n=this;if(n.vars&&"function"===typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}n.d(t,{A:()=>r})},3628:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(8587),o=n(8168);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=e,l=(0,r.A)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n})`}function f(e){return`@media (max-width:${("number"===typeof t[e]?t[e]:e)-s/100}${n})`}function p(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"===typeof t[u[o]]?t[u[o]]:r)-s/100}${n})`}return(0,o.A)({keys:u,values:c,up:d,down:f,between:p,only:function(e){return u.indexOf(e)+1<u.length?p(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?f(u[t]):p(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},l)}},2860:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(8168),o=n(8587),i=n(7483),a=n(3628);const s={borderRadius:4};var l=n(7937);var c=n(505),u=n(8076),d=n(86);const f=["breakpoints","palette","spacing","shape"];const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:n={},spacing:p,shape:h={}}=e,g=(0,o.A)(e,f),m=(0,a.A)(t),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,l.LX)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((e=>{const n=t(e);return"number"===typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}(p);let v=(0,i.A)({breakpoints:m,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},n),spacing:y,shape:(0,r.A)({},s,h)},g);v.applyStyles=d.A;for(var b=arguments.length,w=new Array(b>1?b-1:0),x=1;x<b;x++)w[x-1]=arguments[x];return v=w.reduce(((e,t)=>(0,i.A)(e,t)),v),v.unstable_sxConfig=(0,r.A)({},u.A,null==g?void 0:g.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},v}},9904:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var r=n(2860),o=n(3628),i=n(86)},6206:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7483);const o=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},7937:(e,t,n)=>{"use strict";n.d(t,{LX:()=>h,MA:()=>p,_W:()=>g,Lc:()=>v,Ms:()=>b});var r=n(8286),o=n(2703),i=n(6206);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...u,...d];function p(e,t,n,r){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:n;return"number"===typeof a?e=>"string"===typeof e?e:a*e:Array.isArray(a)?e=>"string"===typeof e?e:a[e]:"function"===typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function g(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:`-${n}`}function m(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=g(t,n),e)),{})}(c(n),o),a=e[n];return(0,r.NI)(e,a,i)}function y(e,t){const n=h(e.theme);return Object.keys(e).map((r=>m(e,t,r,n))).reduce(i.A,{})}function v(e){return y(e,u)}function b(e){return y(e,d)}function w(e){return y(e,f)}v.propTypes={},v.filterProps=u,b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=f},2703:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var r=n(5501),o=n(8286);function i(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:i(e,n)||o,t&&(r=t(r,o,e)),r}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"===typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},8076:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(7937),o=n(2703),i=n(6206);const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,n)=>r[n]?(0,i.A)(t,r[n](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o};var s=n(8286);function l(e){return"number"!==typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),f=c("borderRight",l),p=c("borderBottom",l),h=c("borderLeft",l),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),C=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};C.propTypes={},C.filterProps=["borderRadius"];a(u,d,f,p,h,g,m,y,v,b,C,w,x);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};S.propTypes={},S.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(k,S,E,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function A(e,t){return"grey"===t?t:e}a((0,o.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));function _(e){return e<=1&&0!==e?100*e+"%":e}const T=(0,o.Ay)({prop:"width",transform:_}),R=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:_(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const O=(0,o.Ay)({prop:"minWidth",transform:_}),P=(0,o.Ay)({prop:"height",transform:_}),M=(0,o.Ay)({prop:"maxHeight",transform:_}),L=(0,o.Ay)({prop:"minHeight",transform:_}),N=((0,o.Ay)({prop:"size",cssProperty:"width",transform:_}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:_}),a(T,R,O,P,M,L,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:C},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:E},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:R},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},237:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(8168),o=n(8587),i=n(7483),a=n(8076);const s=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.A;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,o.A)(e,s),{systemProps:a,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[a,...t]:"function"===typeof t?function(){const e=t(...arguments);return(0,i.Q)(e)?(0,r.A)({},a,e):a}:(0,r.A)({},a,t),(0,r.A)({},c,{sx:u})}},8807:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>r.k,unstable_defaultSxConfig:()=>i.A});var r=n(505),o=n(237),i=n(8076)},505:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,k:()=>l});var r=n(5501),o=n(6206),i=n(2703),a=n(8286),s=n(8076);function l(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:f}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,i.Yn)(n,u)||{};if(f)return f(s);return(0,a.NI)(s,t,(t=>{let n=(0,i.BO)(p,d,t);return t===n&&"string"===typeof t&&(n=(0,i.BO)(p,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.A;function u(n){let r=n;if("function"===typeof n)r=n(l);else if("object"!==typeof n)return n;if(!r)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],d=l,"function"===typeof s?s(d):s);var s,d;if(null!==i&&void 0!==i)if("object"===typeof i)if(c[n])u=(0,o.A)(u,e(n,i,l,c));else{const e=(0,a.NI)({theme:l},i,(e=>({[n]:e})));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(r);return t.every((e=>o.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.A)(u,e(n,i,l,c))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},4501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},5501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8099);function o(e){if("string"!==typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(5501)},3383:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))}},8465:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},7483:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>o});var r=n(8168);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const s=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{o(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r]})),s}},7785:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,isPlainObject:()=>r.Q});var r=n(7483)},8099:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:()=>r})},9234:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(8099)},423:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var r=n(4501);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},1763:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(423);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},8399:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getFunctionName:()=>i});var r=n(6429);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||i(e)||t}function s(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return a(e,"Component");if("object"===typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo");default:return}}}},5447:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9950);function o(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},6907:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},5537:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.A)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.A)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},5587:(e,t,n)=>{"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},1399:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9950);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},1824:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>s});var r=n(9950);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},3422:(e,t)=>{"use strict";t.o=void 0;var n=function(){function e(){this.b64c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",this.b64u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",this.b64pad="="}return e.prototype.encode=function(e){var t=unescape(encodeURIComponent(e));return this.encodeData(t,t.length,this.b64c)},e.prototype.urlEncode=function(e){var t=unescape(encodeURIComponent(e));return this.encodeData(t,t.length,this.b64u)},e.prototype.decode=function(e){var t,n,r,o,i,a="";for(t=0;t<e.length-3;t+=4)n=this.charIndex(e.charAt(t+0)),r=this.charIndex(e.charAt(t+1)),o=this.charIndex(e.charAt(t+2)),i=this.charIndex(e.charAt(t+3)),a+=String.fromCharCode(n<<2|r>>>4),e.charAt(t+2)!==this.b64pad&&(a+=String.fromCharCode(r<<4&240|o>>>2&15)),e.charAt(t+3)!==this.b64pad&&(a+=String.fromCharCode(o<<6&192|i));return a=decodeURIComponent(escape(a))},e.prototype.urlSniff=function(e){return e.indexOf("-")>=0||e.indexOf("_")>=0},e.prototype.encodeData=function(e,t,n){var r="",o=0;for(o=0;o<=t-3;o+=3)r+=n.charAt(e.charCodeAt(o)>>>2),r+=n.charAt((3&e.charCodeAt(o))<<4|e.charCodeAt(o+1)>>>4),r+=n.charAt((15&e.charCodeAt(o+1))<<2|e.charCodeAt(o+2)>>>6),r+=n.charAt(63&e.charCodeAt(o+2));return t%3===2?(r+=n.charAt(e.charCodeAt(o)>>>2),r+=n.charAt((3&e.charCodeAt(o))<<4|e.charCodeAt(o+1)>>>4),r+=n.charAt((15&e.charCodeAt(o+1))<<2),r+=this.b64pad):t%3===1&&(r+=n.charAt(e.charCodeAt(o)>>>2),r+=n.charAt((3&e.charCodeAt(o))<<4),r+=this.b64pad,r+=this.b64pad),r},e.prototype.charIndex=function(e){return"+"===e?62:"/"===e?63:this.b64u.indexOf(e)},e}();t.o=n},2414:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"===typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},3876:(e,t,n)=>{"use strict";var r=n(630),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var y=a[m];if(!i[y]&&(!r||!r[y])&&(!g||!g[y])&&(!s||!s[y])){var v=f(n,y);try{c(t,y,v)}catch(b){}}}}return t}},2138:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case o:return t}}}function C(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||x(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},630:(e,t,n)=>{"use strict";e.exports=n(2138)},3450:function(e,t,n){e=n.nmd(e),function(n){"use strict";var r={};n.PubSub?(r=n.PubSub,console.warn("PubSub already loaded, using existing version")):(n.PubSub=r,function(e){var t={},n=-1,r="*";function o(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e){return function(){throw e}}function a(e,t,n){try{e(t,n)}catch(r){setTimeout(i(r),0)}}function s(e,t,n){e(t,n)}function l(e,n,r,o){var i,l=t[n],c=o?s:a;if(Object.prototype.hasOwnProperty.call(t,n))for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&c(l[i],e,r)}function c(e,t,n){return function(){var o=String(e),i=o.lastIndexOf(".");for(l(e,e,t,n);-1!==i;)i=(o=o.substr(0,i)).lastIndexOf("."),l(e,o,t,n);l(e,r,t,n)}}function u(e){var n=String(e);return Boolean(Object.prototype.hasOwnProperty.call(t,n)&&o(t[n]))}function d(e){for(var t=String(e),n=u(t)||u(r),o=t.lastIndexOf(".");!n&&-1!==o;)o=(t=t.substr(0,o)).lastIndexOf("."),n=u(t);return n}function f(e,t,n,r){var o=c(e="symbol"===typeof e?e.toString():e,t,r);return!!d(e)&&(!0===n?o():setTimeout(o,0),!0)}e.publish=function(t,n){return f(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return f(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,r){if("function"!==typeof r)return!1;e="symbol"===typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(t,e)||(t[e]={});var o="uid_"+String(++n);return t[e][o]=r,o},e.subscribeAll=function(t){return e.subscribe(r,t)},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&delete t[n]},e.countSubscriptions=function(e){var n,r,o=0;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)){for(r in t[n])o++;break}return o},e.getSubscriptions=function(e){var n,r=[];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&r.push(n);return r},e.unsubscribe=function(n){var r,o,i,a=function(e){var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e))return!0;return!1},s="string"===typeof n&&(Object.prototype.hasOwnProperty.call(t,n)||a(n)),l=!s&&"string"===typeof n,c="function"===typeof n,u=!1;if(!s){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(o=t[r],l&&o[n]){delete o[n],u=n;break}if(c)for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&o[i]===n&&(delete o[i],u=!0)}return u}e.clearSubscriptions(n)}}(r)),void 0!==e&&e.exports&&(t=e.exports=r),t.PubSub=r,e.exports=t=r}("object"===typeof window&&window||this||n.g)},8345:(e,t,n)=>{"use strict";var r=n(9950),o=n(5340);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),C=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var j,$=Object.assign;function W(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var D=!1;function U(e,t){if(!e||D)return"";D=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function F(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function z(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case C:return"Portal";case E:return"Profiler";case S:return"StrictMode";case R:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return z(e(t))}catch(n){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return $({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,ke=null,Se=null;function Ee(e){if(e=wo(e)){if("function"!==typeof Ce)throw Error(i(280));var t=e.stateNode;t&&(t=Co(t),Ce(e.stateNode,e.type,t))}}function Ae(e){ke?Se?Se.push(e):Se=[e]:ke=e}function _e(){if(ke){var e=ke,t=Se;if(Se=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Te(e,t){return e(t)}function Re(){}var Oe=!1;function Pe(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Te(e,t,n)}finally{Oe=!1,(null!==ke||null!==Se)&&(Re(),_e())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=Co(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(u)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ue){Le=!1}function Ie(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var je=!1,$e=null,We=!1,De=null,Ue={onError:function(e){je=!0,$e=e}};function Fe(e,t,n,r,o,i,a,s,l){je=!1,$e=null,Ie.apply(Ue,arguments)}function ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(ze(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ke(e):null}function Ke(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ke(e);if(null!==t)return t;e=e.sibling}return null}var Ve=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Ze=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,Ct,kt,St,Et,At=!1,_t=[],Tt=null,Rt=null,Ot=null,Pt=new Map,Mt=new Map,Lt=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function jt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&Ct(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function $t(e){var t=bo(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Wt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Dt(e,t,n){Wt(e)&&n.delete(t)}function Ut(){At=!1,null!==Tt&&Wt(Tt)&&(Tt=null),null!==Rt&&Wt(Rt)&&(Rt=null),null!==Ot&&Wt(Ot)&&(Ot=null),Pt.forEach(Dt),Mt.forEach(Dt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function zt(e){function t(t){return Ft(t,e)}if(0<_t.length){Ft(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ft(Tt,e),null!==Rt&&Ft(Rt,e),null!==Ot&&Ft(Ot,e),Pt.forEach(t),Mt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)$t(n),null===n.blockedOn&&Lt.shift()}var Bt=w.ReactCurrentBatchConfig,qt=!0;function Ht(e,t,n,r){var o=bt,i=Bt.transition;Bt.transition=null;try{bt=1,Vt(e,t,n,r)}finally{bt=o,Bt.transition=i}}function Kt(e,t,n,r){var o=bt,i=Bt.transition;Bt.transition=null;try{bt=4,Vt(e,t,n,r)}finally{bt=o,Bt.transition=i}}function Vt(e,t,n,r){if(qt){var o=Qt(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=jt(Tt,e,t,n,r,o),!0;case"dragenter":return Rt=jt(Rt,e,t,n,r,o),!0;case"mouseover":return Ot=jt(Ot,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,jt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,jt(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&xt(i),null===(i=Qt(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function Qt(e,t,n,r){if(Gt=null,null!==(e=bo(e=xe(r))))if(null===(t=ze(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return $(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=$({},cn,{view:0,detail:0}),fn=on(dn),pn=$({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),gn=on($({},pn,{dataTransfer:0})),mn=on($({},dn,{relatedTarget:0})),yn=on($({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=$({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on($({},cn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return Sn}var An=$({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=on(An),Tn=on($({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=on($({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),On=on($({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=$({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Pn),Ln=[9,13,27,32],Nn=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var jn=u&&"TextEvent"in window&&!In,$n=u&&(!Nn||In&&8<In&&11>=In),Wn=String.fromCharCode(32),Dn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Bn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Hn(e,t,n,r){Ae(r),0<(t=Kr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Vn=null;function Gn(e){Wr(e,0)}function Qn(e){if(V(xo(e)))return e}function Zn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Kn&&(Kn.detachEvent("onpropertychange",nr),Vn=Kn=null)}function nr(e){if("value"===e.propertyName&&Qn(Vn)){var t=[];Hn(t,Vn,e,xe(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Kn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Vn)}function ir(e,t){if("click"===e)return Qn(t)}function ar(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==G(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Kr(yr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Sr={};function Er(e){if(kr[e])return kr[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return kr[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var Ar=Er("animationend"),_r=Er("animationiteration"),Tr=Er("animationstart"),Rr=Er("transitionend"),Or=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Or.set(e,t),l(t,[e])}for(var Lr=0;Lr<Pr.length;Lr++){var Nr=Pr[Lr];Mr(Nr.toLowerCase(),"on"+(Nr[0].toUpperCase()+Nr.slice(1)))}Mr(Ar,"onAnimationEnd"),Mr(_r,"onAnimationIteration"),Mr(Tr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Rr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function $r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(Fe.apply(this,arguments),je){if(!je)throw Error(i(198));var u=$e;je=!1,$e=null,We||(We=!0,De=u)}}(r,t,void 0,e),e.currentTarget=null}function Wr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;$r(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;$r(o,s,c),i=l}}}if(We)throw e=De,We=!1,De=null,e}function Dr(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Br(n,e,r,t)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Fr]){e[Fr]=!0,a.forEach((function(t){"selectionchange"!==t&&(jr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Fr]||(t[Fr]=!0,Ur("selectionchange",!1,t))}}function Br(e,t,n,r){switch(Zt(t)){case 1:var o=Ht;break;case 4:o=Kt;break;default:o=Vt}n=o.bind(null,t,n,e),o=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,o=xe(n),a=[];e:{var s=Or.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=_n;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Rn;break;case Ar:case _r:case Tr:l=yn;break;case Rr:l=On;break;case"scroll":l=fn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&(null!=(g=Me(h,f))&&u.push(Hr(h,g,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[go])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xo(l),p=null==c?s:xo(c),(s=new u(g,h+"leave",l,n,o)).target=d,s.relatedTarget=p,g=null,bo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Vr(p))h++;for(p=0,g=f;g;g=Vr(g))p++;for(;0<h-p;)u=Vr(u),h--;for(;0<p-h;)f=Vr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Vr(u),f=Vr(f)}u=null}else u=null;null!==l&&Gr(a,s,l,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(l=(s=r?xo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Zn;else if(qn(s))if(Yn)m=ar;else{m=or;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ir);switch(m&&(m=m(e,r))?Hn(a,m,n,o):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?xo(r):window,e){case"focusin":(qn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,vr=null);break;case"focusout":vr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(a,n,o)}var v;if(Nn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&($n&&"ko"!==n.locale&&(zn||"onCompositionStart"!==b?"onCompositionEnd"===b&&zn&&(v=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,zn=!0)),0<(y=Kr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:y}),v?b.data=v:null!==(v=Fn(n))&&(b.data=v))),(v=jn?function(e,t){switch(e){case"compositionend":return Fn(t);case"keypress":return 32!==t.which?null:(Dn=!0,Wn);case"textInput":return(e=t.data)===Wn&&Dn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Nn&&Un(e,t)?(e=en(),Jt=Xt=Yt=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Kr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}Wr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Me(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Me(n,i))&&a.unshift(Hr(n,l,s)):o||null!=(l=Me(n,i))&&a.push(Hr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Qr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Qr,"\n").replace(Zr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);zt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,go="__reactContainer$"+fo,mo="__reactEvents$"+fo,yo="__reactListeners$"+fo,vo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[go])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Co(e){return e[ho]||null}var ko=[],So=-1;function Eo(e){return{current:e}}function Ao(e){0>So||(e.current=ko[So],ko[So]=null,So--)}function _o(e,t){So++,ko[So]=e.current,e.current=t}var To={},Ro=Eo(To),Oo=Eo(!1),Po=To;function Mo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function No(){Ao(Oo),Ao(Ro)}function Io(e,t,n){if(Ro.current!==To)throw Error(i(168));_o(Ro,t),_o(Oo,n)}function jo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,B(e)||"Unknown",o));return $({},n,r)}function $o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Po=Ro.current,_o(Ro,e),_o(Oo,Oo.current),!0}function Wo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=jo(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Ao(Oo),Ao(Ro),_o(Ro,e)):Ao(Oo),_o(Oo,n)}var Do=null,Uo=!1,Fo=!1;function zo(e){null===Do?Do=[e]:Do.push(e)}function Bo(){if(!Fo&&null!==Do){Fo=!0;var e=0,t=bt;try{var n=Do;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Do=null,Uo=!1}catch(o){throw null!==Do&&(Do=Do.slice(e+1)),Ve(Je,Bo),o}finally{bt=t,Fo=!1}}return null}var qo=[],Ho=0,Ko=null,Vo=0,Go=[],Qo=0,Zo=null,Yo=1,Xo="";function Jo(e,t){qo[Ho++]=Vo,qo[Ho++]=Ko,Ko=e,Vo=t}function ei(e,t,n){Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Zo,Zo=e;var r=Yo;e=Xo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Yo=1<<32-at(t)+o|n<<o|r,Xo=i+e}else Yo=1<<i|n<<o|r,Xo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Ko;)Ko=qo[--Ho],qo[Ho]=null,Vo=qo[--Ho],qo[Ho]=null;for(;e===Zo;)Zo=Go[--Qo],Go[Qo]=null,Xo=Go[--Qo],Go[Qo]=null,Yo=Go[--Qo],Go[Qo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Pc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Zo?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function gi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function yi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function vi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Lc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$c(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===M&&bi(i)===t.type)?((r=o(t,n.props)).ref=yi(e,t,n),r.return=e,r):((r=Nc(n.type,n.key,n.props,null,e.mode,r)).ref=yi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=$c(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Nc(t.type,t.key,t.props,null,e.mode,n)).ref=yi(e,null,t),n.return=e,n;case C:return(t=Wc(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Ic(t,e.mode,n,null)).return=e,t;vi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?c(e,t,n,r):null;case C:return n.key===o?u(e,t,n,r):null;case M:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);vi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);vi(t,r)}return null}function g(o,i,s,l){for(var c=null,u=null,d=i,g=i=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=p(o,d,s[g],l);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,g),null===u?c=y:u.sibling=y,u=y,d=m}if(g===s.length)return n(o,d),ii&&Jo(o,g),c;if(null===d){for(;g<s.length;g++)null!==(d=f(o,s[g],l))&&(i=a(d,i,g),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,g),c}for(d=r(o,d);g<s.length;g++)null!==(m=h(d,o,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=a(m,i,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),c}function m(o,s,l,c){var u=I(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,g=s,m=s=0,y=null,v=l.next();null!==g&&!v.done;m++,v=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=p(o,g,v.value,c);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(o,g),s=a(b,s,m),null===d?u=b:d.sibling=b,d=b,g=y}if(v.done)return n(o,g),ii&&Jo(o,m),u;if(null===g){for(;!v.done;m++,v=l.next())null!==(v=f(o,v.value,c))&&(s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return ii&&Jo(o,m),u}for(g=r(o,g);!v.done;m++,v=l.next())null!==(v=h(g,o,m,v.value,c))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return e&&g.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===k){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===M&&bi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=yi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===k?((i=Ic(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Nc(a.type,a.key,a.props,null,r.mode,l)).ref=yi(r,i,a),l.return=r,r=l)}return s(r);case C:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Wc(a,r.mode,l)).return=r,r=i}return s(r);case M:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return g(r,i,a,l);if(I(a))return m(r,i,a,l);vi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=$c(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var xi=wi(!0),Ci=wi(!1),ki=Eo(null),Si=null,Ei=null,Ai=null;function _i(){Ai=Ei=Si=null}function Ti(e){var t=ki.current;Ao(ki),e._currentValue=t}function Ri(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oi(e,t){Si=e,Ai=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Pi(e){var t=e._currentValue;if(Ai!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===Si)throw Error(i(308));Ei=e,Si.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Mi=null;function Li(e){null===Mi?Mi=[e]:Mi.push(e)}function Ni(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Li(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ii(e,r)}function Ii(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var ji=!1;function $i(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Di(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ui(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Tl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ii(e,n)}return null===(o=r.interleaved)?(t.next=t,Li(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ii(e,n)}function Fi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function zi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bi(e,t,n,r){var o=e.updateQueue;ji=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(f=t,p=n,g.tag){case 1:if("function"===typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=g.payload)?h.call(p,d,f):h)||void 0===f)break e;d=$({},d,f);break e;case 2:ji=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);jl|=a,e.lanes=a,e.memoizedState=d}}function qi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Hi={},Ki=Eo(Hi),Vi=Eo(Hi),Gi=Eo(Hi);function Qi(e){if(e===Hi)throw Error(i(174));return e}function Zi(e,t){switch(_o(Gi,t),_o(Vi,e),_o(Ki,Hi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ao(Ki),_o(Ki,t)}function Yi(){Ao(Ki),Ao(Vi),Ao(Gi)}function Xi(e){Qi(Gi.current);var t=Qi(Ki.current),n=le(t,e.type);t!==n&&(_o(Vi,e),_o(Ki,n))}function Ji(e){Vi.current===e&&(Ao(Ki),Ao(Vi))}var ea=Eo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=w.ReactCurrentDispatcher,ia=w.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,fa=0,pa=0;function ha(){throw Error(i(321))}function ga(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ma(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Ja:es,e=n(r,o),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(i(301));a+=1,ca=la=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(da)}if(oa.current=Xa,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(i(300));return e}function ya(){var e=0!==fa;return fa=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"===typeof t?t(e):t}function xa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=la,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,sa.lanes|=d,jl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,jl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ca(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ka(){}function Sa(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,ja(_a.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Pa(9,Aa.bind(null,n,r,o,t),void 0,null),null===Rl)throw Error(i(349));0!==(30&aa)||Ea(n,t,o)}return o}function Ea(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Aa(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Ra(e)}function _a(e,t,n){return n((function(){Ta(t)&&Ra(e)}))}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ra(e){var t=Ii(e,1);null!==t&&nc(t,e,1,-1)}function Oa(e){var t=va();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[t.memoizedState,e]}function Pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return ba().memoizedState}function La(e,t,n,r){var o=va();sa.flags|=e,o.memoizedState=Pa(1|t,n,void 0,void 0===r?null:r)}function Na(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==r&&ga(r,a.deps))return void(o.memoizedState=Pa(t,n,i,r))}sa.flags|=e,o.memoizedState=Pa(1|t,n,i,r)}function Ia(e,t){return La(8390656,8,e,t)}function ja(e,t){return Na(2048,8,e,t)}function $a(e,t){return Na(4,2,e,t)}function Wa(e,t){return Na(4,4,e,t)}function Da(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ua(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Na(4,4,Da.bind(null,t,e),n)}function Fa(){}function za(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ga(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ba(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ga(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qa(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),sa.lanes|=n,jl|=n,e.baseState=!0),t)}function Ha(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function Ka(){return ba().memoizedState}function Va(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qa(e))Za(t,n);else if(null!==(n=Ni(e,t,n,r))){nc(n,e,r,ec()),Ya(n,t,r)}}function Ga(e,t,n){var r=tc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Za(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Li(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Ni(e,t,o,r))&&(nc(n,e,r,o=ec()),Ya(n,t,r))}}function Qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Za(e,t){da=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ya(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Xa={readContext:Pi,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Ja={readContext:Pi,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Pi,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,La(4194308,4,Da.bind(null,t,e),n)},useLayoutEffect:function(e,t){return La(4194308,4,e,t)},useInsertionEffect:function(e,t){return La(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Va.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Oa,useDebugValue:Fa,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Oa(!1),t=e[0];return e=Ha.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=va();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Rl)throw Error(i(349));0!==(30&aa)||Ea(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ia(_a.bind(null,r,a,e),[e]),r.flags|=2048,Pa(9,Aa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Rl.identifierPrefix;if(ii){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-at(Yo)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Pi,useCallback:za,useContext:Pi,useEffect:ja,useImperativeHandle:Ua,useInsertionEffect:$a,useLayoutEffect:Wa,useMemo:Ba,useReducer:xa,useRef:Ma,useState:function(){return xa(wa)},useDebugValue:Fa,useDeferredValue:function(e){return qa(ba(),la.memoizedState,e)},useTransition:function(){return[xa(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Sa,useId:Ka,unstable_isNewReconciler:!1},ts={readContext:Pi,useCallback:za,useContext:Pi,useEffect:ja,useImperativeHandle:Ua,useInsertionEffect:$a,useLayoutEffect:Wa,useMemo:Ba,useReducer:Ca,useRef:Ma,useState:function(){return Ca(wa)},useDebugValue:Fa,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:qa(t,la.memoizedState,e)},useTransition:function(){return[Ca(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Sa,useId:Ka,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=$({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:$({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Di(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nc(t,e,o,r),Fi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Di(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nc(t,e,o,r),Fi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),o=Di(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ui(e,o,r))&&(nc(t,e,r,n),Fi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function as(e,t,n){var r=!1,o=To,i=t.contextType;return"object"===typeof i&&null!==i?i=Pi(i):(o=Lo(t)?Po:Ro.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Mo(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},$i(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Pi(i):(i=Lo(t)?Po:Ro.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Bi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Di(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Hl=r),ds(0,t)},n}function hs(e,t,n){(n=Di(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Ec.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Di(-1,1)).tag=2,Ui(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=w.ReactCurrentOwner,bs=!1;function ws(e,t,n,r){t.child=null===e?Ci(t,null,n,r):xi(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var i=t.ref;return Oi(t,o),r=ma(e,t,n,r,i,o),n=ya(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Cs(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Mc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,ks(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Lc(i,r)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);0!==(131072&e.flags)&&(bs=!0)}}return As(e,t,n,r,o)}function Ss(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Ll,Ml),Ml|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Ll,Ml),Ml|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,_o(Ll,Ml),Ml|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,_o(Ll,Ml),Ml|=r;return ws(e,t,o,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,n,r,o){var i=Lo(n)?Po:Ro.current;return i=Mo(t,i),Oi(t,o),n=ma(e,t,n,r,i,o),r=ya(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function _s(e,t,n,r,o){if(Lo(n)){var i=!0;$o(t)}else i=!1;if(Oi(t,o),null===t.stateNode)Bs(e,t),as(t,n,r),ls(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Pi(c):c=Mo(t,c=Lo(n)?Po:Ro.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),ji=!1;var f=t.memoizedState;a.state=f,Bi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Oo.current||ji?("function"===typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=ji||is(t,n,s,r,f,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Wi(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Pi(l):l=Mo(t,l=Lo(n)?Po:Ro.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&ss(t,a,r,l),ji=!1,f=t.memoizedState,a.state=f,Bi(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||Oo.current||ji?("function"===typeof p&&(rs(t,n,p,r),h=t.memoizedState),(c=ji||is(t,n,c,r,f,h,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,i,o)}function Ts(e,t,n,r,o,i){Es(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Wo(t,n,!1),qs(e,t,i);r=t.stateNode,vs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xi(t,e.child,null,i),t.child=xi(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Wo(t,n,!0),t.child}function Rs(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),Zi(e,t.containerInfo)}function Os(e,t,n,r,o){return hi(),gi(o),t.flags|=256,ws(e,t,n,r),t.child}var Ps,Ms,Ls,Ns,Is={dehydrated:null,treeContext:null,retryLane:0};function js(e){return{baseLanes:e,cachePool:null,transitions:null}}function $s(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_o(ea,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=jc(l,o,0,null),e=Ic(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=js(n),t.memoizedState=Is,e):Ws(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ds(e,t,s,r=us(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=jc({mode:"visible",children:r.children},o,0,null),(a=Ic(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&xi(t,e.child,null,s),t.child.memoizedState=js(s),t.memoizedState=Is,a);if(0===(1&t.mode))return Ds(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Ds(e,t,s,r=us(a=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=Rl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ii(e,o),nc(r,e,o,-1))}return gc(),Ds(e,t,s,r=us(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=_c.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Zo,Yo=e.id,Xo=e.overflow,Zo=t),t=Ws(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Lc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Lc(r,s):(s=Ic(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?js(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,o}return e=(s=e.child).sibling,o=Lc(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ws(e,t){return(t=jc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ds(e,t,n,r){return null!==r&&gi(r),xi(t,e.child,null,n),(e=Ws(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ri(e.return,t,n)}function Fs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function zs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_o(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fs(t,!0,n,null,i);break;case"together":Fs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Lc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ks(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ks(t),null;case 1:case 17:return Lo(t.type)&&No(),Ks(t),null;case 3:return r=t.stateNode,Yi(),Ao(Oo),Ao(Ro),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ms(e,t),Ks(t),null;case 5:Ji(t);var o=Qi(Gi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ls(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ks(t),null}if(e=Qi(Ki.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Dr(Ir[o],r);break;case"source":Dr("error",r);break;case"img":case"image":case"link":Dr("error",r),Dr("load",r);break;case"details":Dr("toggle",r);break;case"input":Z(r,a),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Dr("invalid",r);break;case"textarea":oe(r,a),Dr("invalid",r)}for(var l in ve(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Dr("scroll",r)}switch(n){case"input":K(r),J(r,a,!0);break;case"textarea":K(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Ps(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),o=r;break;case"iframe":case"object":case"embed":Dr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Dr(Ir[o],e);o=r;break;case"source":Dr("error",e),o=r;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),o=r;break;case"details":Dr("toggle",e),o=r;break;case"input":Z(e,r),o=Q(e,r),Dr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=$({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Dr("invalid",e)}for(a in ve(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?me(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Dr("scroll",e):null!=u&&b(e,a,u,l))}switch(n){case"input":K(e),J(e,r,!1);break;case"textarea":K(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ks(t),null;case 6:if(e&&null!=t.stateNode)Ns(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=Qi(Gi.current),Qi(Ki.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ks(t),null;case 13:if(Ao(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ks(t),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Nl&&(Nl=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ks(t),null);case 4:return Yi(),Ms(e,t),null===e&&zr(t.stateNode.containerInfo),Ks(t),null;case 10:return Ti(t.type._context),Ks(t),null;case 19:if(Ao(ea),null===(a=t.memoizedState))return Ks(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Hs(a,!1);else{if(0!==Nl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Hs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ye()>zl&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ks(t),null}else 2*Ye()-a.renderingStartTime>zl&&1073741824!==n&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,n=ea.current,_o(ea,r?1&n|2:1&n),t):(Ks(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ml)&&(Ks(t),6&t.subtreeFlags&&(t.flags|=8192)):Ks(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Gs(e,t){switch(ni(t),t.tag){case 1:return Lo(t.type)&&No(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yi(),Ao(Oo),Ao(Ro),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(Ao(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ao(ea),null;case 4:return Yi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ms=function(){},Ls=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Qi(Ki.current);var i,a=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),a=[];break;case"select":o=$({},o,{value:void 0}),r=$({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ve(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Dr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ns=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qs=!1,Zs=!1,Ys="function"===typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Sc(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){Sc(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[mo],delete t[yo],delete t[vo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Zs||Js(n,t);case 6:var r=ul,o=dl;ul=null,fl(e,t,n),dl=o,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),zt(e)):lo(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Zs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&el(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Zs&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Sc(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,fl(e,t,n),Zs=r):fl(e,t,n);break;default:fl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ys),t.forEach((function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));pl(a,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Sc(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(m){Sc(e,e.return,m)}try{nl(5,e,e.return)}catch(m){Sc(e,e.return,m)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(m){Sc(e,e.return,m)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Y(o,a),be(l,s);var u=be(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?me(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(l){case"input":X(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(m){Sc(e,e.return,m)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(m){Sc(e,e.return,m)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(m){Sc(e,e.return,m)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Fl=Ye())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(u=Zs)||d,gl(t,e),Zs=u):gl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Xs=e,d=e.child;null!==d;){for(f=Xs=d;null!==Xs;){switch(h=(p=Xs).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Js(p,p.return);var g=p.stateNode;if("function"===typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Sc(r,n,m)}}break;case 5:Js(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Xs=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",s))}catch(m){Sc(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Sc(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),yl(e),4&r&&hl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(s){Sc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Xs=e,bl(e,t,n)}function bl(e,t,n){for(var r=0!==(1&e.mode);null!==Xs;){var o=Xs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Qs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Qs;var c=Zs;if(Qs=a,(Zs=l)&&!c)for(Xs=o;null!==Xs;)l=(a=Xs).child,22===a.tag&&null!==a.memoizedState?Cl(o):null!==l?(l.return=a,Xs=l):Cl(o);for(;null!==i;)Xs=i,bl(i,t,n),i=i.sibling;Xs=o,Qs=s,Zs=c}wl(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Xs=i):wl(e)}}function wl(e){for(;null!==Xs;){var t=Xs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&qi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}qi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&zt(f)}}}break;default:throw Error(i(163))}Zs||512&t.flags&&ol(t)}catch(p){Sc(t,t.return,p)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function xl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function Cl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){Sc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Sc(t,o,l)}}var i=t.return;try{ol(t)}catch(l){Sc(t,i,l)}break;case 5:var a=t.return;try{ol(t)}catch(l){Sc(t,a,l)}}}catch(l){Sc(t,t.return,l)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var kl,Sl=Math.ceil,El=w.ReactCurrentDispatcher,Al=w.ReactCurrentOwner,_l=w.ReactCurrentBatchConfig,Tl=0,Rl=null,Ol=null,Pl=0,Ml=0,Ll=Eo(0),Nl=0,Il=null,jl=0,$l=0,Wl=0,Dl=null,Ul=null,Fl=0,zl=1/0,Bl=null,ql=!1,Hl=null,Kl=null,Vl=!1,Gl=null,Ql=0,Zl=0,Yl=null,Xl=-1,Jl=0;function ec(){return 0!==(6&Tl)?Ye():-1!==Xl?Xl:Xl=Ye()}function tc(e){return 0===(1&e.mode)?1:0!==(2&Tl)&&0!==Pl?Pl&-Pl:null!==mi.transition?(0===Jl&&(Jl=gt()),Jl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function nc(e,t,n,r){if(50<Zl)throw Zl=0,Yl=null,Error(i(185));yt(e,n,r),0!==(2&Tl)&&e===Rl||(e===Rl&&(0===(2&Tl)&&($l|=n),4===Nl&&sc(e,Pl)),rc(e,r),1===n&&0===Tl&&0===(1&t.mode)&&(zl=Ye()+500,Uo&&Bo()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Rl?Pl:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Uo=!0,zo(e)}(lc.bind(null,e)):zo(lc.bind(null,e)),ao((function(){0===(6&Tl)&&Bo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Rc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Xl=-1,Jl=0,0!==(6&Tl))throw Error(i(327));var n=e.callbackNode;if(Cc()&&e.callbackNode!==n)return null;var r=ft(e,e===Rl?Pl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var o=Tl;Tl|=2;var a=hc();for(Rl===e&&Pl===t||(Bl=null,zl=Ye()+500,fc(e,t));;)try{vc();break}catch(l){pc(e,l)}_i(),El.current=a,Tl=o,null!==Ol?t=0:(Rl=null,Pl=0,t=Nl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ic(e,o))),1===t)throw n=Il,fc(e,0),sc(e,r),rc(e,Ye()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=mc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ic(e,a))),1===t))throw n=Il,fc(e,0),sc(e,r),rc(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xc(e,Ul,Bl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Fl+500-Ye())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xc.bind(null,e,Ul,Bl),t);break}xc(e,Ul,Bl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ro(xc.bind(null,e,Ul,Bl),r);break}xc(e,Ul,Bl);break;default:throw Error(i(329))}}}return rc(e,Ye()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=Dl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Ul,Ul=n,null!==t&&ac(t)),e}function ac(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function sc(e,t){for(t&=~Wl,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(0!==(6&Tl))throw Error(i(327));Cc();var t=ft(e,0);if(0===(1&t))return rc(e,Ye()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Il,fc(e,0),sc(e,t),rc(e,Ye()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Ul,Bl),rc(e,Ye()),null}function cc(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(zl=Ye()+500,Uo&&Bo())}}function uc(e){null!==Gl&&0===Gl.tag&&0===(6&Tl)&&Cc();var t=Tl;Tl|=1;var n=_l.transition,r=bt;try{if(_l.transition=null,bt=1,e)return e()}finally{bt=r,_l.transition=n,0===(6&(Tl=t))&&Bo()}}function dc(){Ml=Ll.current,Ao(Ll)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&No();break;case 3:Yi(),Ao(Oo),Ao(Ro),ra();break;case 5:Ji(r);break;case 4:Yi();break;case 13:case 19:Ao(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Rl=e,Ol=e=Lc(e.current,null),Pl=Ml=t,Nl=0,Il=null,Wl=$l=jl=0,Ul=Dl=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Mi=null}return e}function pc(e,t){for(;;){var n=Ol;try{if(_i(),oa.current=Xa,ua){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,fa=0,Al.current=null,null===n||null===n.return){Nl=1,Il=t,Ol=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Pl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ms(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&gs(a,u,t),c=u;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(0===(1&t)){gs(a,u,t),gc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var y=ms(s);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),ys(y,s,l,0,t),gi(cs(c,l));break e}}a=c=cs(c,l),4!==Nl&&(Nl=2),null===Dl?Dl=[a]:Dl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,zi(a,ps(0,c,t));break e;case 1:l=c;var v=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof v.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Kl||!Kl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,zi(a,hs(a,l,t));break e}}a=a.return}while(null!==a)}wc(n)}catch(w){t=w,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function hc(){var e=El.current;return El.current=Xa,null===e?Xa:e}function gc(){0!==Nl&&3!==Nl&&2!==Nl||(Nl=4),null===Rl||0===(268435455&jl)&&0===(268435455&$l)||sc(Rl,Pl)}function mc(e,t){var n=Tl;Tl|=2;var r=hc();for(Rl===e&&Pl===t||(Bl=null,fc(e,t));;)try{yc();break}catch(o){pc(e,o)}if(_i(),Tl=n,El.current=r,null!==Ol)throw Error(i(261));return Rl=null,Pl=0,Nl}function yc(){for(;null!==Ol;)bc(Ol)}function vc(){for(;null!==Ol&&!Qe();)bc(Ol)}function bc(e){var t=kl(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?wc(e):Ol=t,Al.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Vs(n,t,Ml)))return void(Ol=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Ol=n);if(null===e)return Nl=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Nl&&(Nl=5)}function xc(e,t,n){var r=bt,o=_l.transition;try{_l.transition=null,bt=1,function(e,t,n,r){do{Cc()}while(null!==Gl);if(0!==(6&Tl))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Rl&&(Ol=Rl=null,Pl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Vl||(Vl=!0,Rc(tt,(function(){return Cc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=_l.transition,_l.transition=null;var s=bt;bt=1;var l=Tl;Tl|=4,Al.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(x){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=s),p===a&&++d===r&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var g=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:ns(t.type,m),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(x){Sc(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}g=tl,tl=!1}(e,n),ml(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,vl(n,e,o),Ze(),Tl=l,bt=s,_l.transition=a}else e.current=n;if(Vl&&(Vl=!1,Gl=e,Ql=o),a=e.pendingLanes,0===a&&(Kl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rc(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ql)throw ql=!1,e=Hl,Hl=null,e;0!==(1&Ql)&&0!==e.tag&&Cc(),a=e.pendingLanes,0!==(1&a)?e===Yl?Zl++:(Zl=0,Yl=e):Zl=0,Bo()}(e,t,n,r)}finally{_l.transition=o,bt=r}return null}function Cc(){if(null!==Gl){var e=wt(Ql),t=_l.transition,n=bt;try{if(_l.transition=null,bt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Ql=0,0!==(6&Tl))throw Error(i(331));var o=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;if(0!==(16&Xs.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Xs=f;else for(;null!==Xs;){var p=(d=Xs).sibling,h=d.return;if(il(d),d===u){Xs=null;break}if(null!==p){p.return=h,Xs=p;break}Xs=h}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Xs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(0!==(2048&(a=Xs).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Xs=v;break e}Xs=a.return}}var b=e.current;for(Xs=b;null!==Xs;){var w=(s=Xs).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Xs=w;else e:for(s=b;null!==Xs;){if(0!==(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(C){Sc(l,l.return,C)}if(l===s){Xs=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Xs=x;break e}Xs=l.return}}if(Tl=o,Bo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(C){}r=!0}return r}finally{bt=n,_l.transition=t}}return!1}function kc(e,t,n){e=Ui(e,t=ps(0,t=cs(n,t),1),1),t=ec(),null!==e&&(yt(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)kc(e,e,n);else for(;null!==t;){if(3===t.tag){kc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Ui(t,e=hs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(yt(t,1,e),rc(t,e));break}}t=t.return}}function Ec(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Rl===e&&(Pl&n)===n&&(4===Nl||3===Nl&&(130023424&Pl)===Pl&&500>Ye()-Fl?fc(e,0):Wl|=n),rc(e,t)}function Ac(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=ec();null!==(e=Ii(e,t))&&(yt(e,t,n),rc(e,n))}function _c(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ac(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ac(e,n)}function Rc(e,t){return Ve(e,t)}function Oc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pc(e,t,n,r){return new Oc(e,t,n,r)}function Mc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lc(e,t){var n=e.alternate;return null===n?((n=Pc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nc(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Mc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return Ic(n.children,o,a,t);case S:s=8,o|=8;break;case E:return(e=Pc(12,n,t,2|o)).elementType=E,e.lanes=a,e;case R:return(e=Pc(13,n,t,o)).elementType=R,e.lanes=a,e;case O:return(e=Pc(19,n,t,o)).elementType=O,e.lanes=a,e;case L:return jc(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case A:s=10;break e;case _:s=9;break e;case T:s=11;break e;case P:s=14;break e;case M:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Pc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ic(e,t,n,r){return(e=Pc(7,e,r,t)).lanes=n,e}function jc(e,t,n,r){return(e=Pc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function $c(e,t,n){return(e=Pc(6,e,null,t)).lanes=n,e}function Wc(e,t,n){return(t=Pc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,o,i,a,s,l){return e=new Dc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Pc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$i(i),e}function Fc(e){if(!e)return To;e:{if(ze(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Lo(n))return jo(e,n,t)}return t}function zc(e,t,n,r,o,i,a,s,l){return(e=Uc(n,r,!0,e,0,i,0,s,l)).context=Fc(null),n=e.current,(i=Di(r=ec(),o=tc(n))).callback=void 0!==t&&null!==t?t:null,Ui(n,i,o),e.current.lanes=o,yt(e,o,r),rc(e,r),e}function Bc(e,t,n,r){var o=t.current,i=ec(),a=tc(o);return n=Fc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Di(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ui(o,t,a))&&(nc(e,o,a,i),Fi(e,o,a)),a}function qc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kc(e,t){Hc(e,t),(e=e.alternate)&&Hc(e,t)}kl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)bs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Rs(t),hi();break;case 5:Xi(t);break;case 1:Lo(t.type)&&$o(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(ki,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?$s(e,t,n):(_o(ea,1&ea.current),null!==(e=qs(e,t,n))?e.sibling:null);_o(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return zs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return qs(e,t,n)}(e,t,n);bs=0!==(131072&e.flags)}else bs=!1,ii&&0!==(1048576&t.flags)&&ei(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bs(e,t),e=t.pendingProps;var o=Mo(t,Ro.current);Oi(t,n),o=ma(null,t,r,e,o,n);var a=ya();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(a=!0,$o(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,$i(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Mc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===P)return 14}return 2}(r),e=ns(r,e),o){case 0:t=As(null,t,r,e,n);break e;case 1:t=_s(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,As(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,_s(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(Rs(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Wi(e,t),Bi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Os(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ci(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return Xi(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return $s(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xi(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,_o(ki,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Oo.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Di(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Ri(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ri(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Oi(t,n),r=r(o=Pi(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),Cs(e,t,r,o=ns(r.type,o),n);case 15:return ks(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Bs(e,t),t.tag=1,Lo(r)?(e=!0,$o(t)):e=!1,Oi(t,n),as(t,r,o),ls(t,r,o,n),Ts(null,t,r,!0,e,n);case 19:return zs(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var Vc="function"===typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function Qc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Jc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=qc(a);s.call(e)}}Bc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=qc(a);i.call(e)}}var a=zc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=a,e[go]=a.current,zr(8===e.nodeType?e.parentNode:e),uc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=qc(l);s.call(e)}}var l=Uc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[go]=l.current,zr(8===e.nodeType?e.parentNode:e),uc((function(){Bc(t,l,n,r)})),l}(n,t,e,o,r);return qc(a)}Qc.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Bc(e,t,null,null)},Qc.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Bc(null,e,null,null)})),t[go]=null}},Qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&$t(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,Ye()),0===(6&Tl)&&(zl=Ye()+500,Bo()))}break;case 13:uc((function(){var t=Ii(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),Kc(e,1)}},Ct=function(e){if(13===e.tag){var t=Ii(e,134217728);if(null!==t)nc(t,e,134217728,ec());Kc(e,134217728)}},kt=function(e){if(13===e.tag){var t=tc(e),n=Ii(e,t);if(null!==n)nc(n,e,t,ec());Kc(e,t)}},St=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ce=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Co(r);if(!o)throw Error(i(90));V(r),X(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cc,Re=uc;var eu={usingClientEntryPoint:!1,Events:[wo,xo,Co,Ae,_e,cc]},tu={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{ot=ru.inject(nu),it=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(i(299));var n=!1,r="",o=Vc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,o),e[go]=t.current,zr(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Yc(t))throw Error(i(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Vc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zc(t,null,e,1,null!=n?n:null,o,0,a,s),e[go]=t.current,zr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qc(t)},t.render=function(e,t,n){if(!Yc(t))throw Error(i(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Yc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[go]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Yc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},1352:(e,t,n)=>{"use strict";var r=n(7119);t.H=r.createRoot,r.hydrateRoot},7119:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(8345)},8577:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case g:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.Memo=h},6429:(e,t,n)=>{"use strict";e.exports=n(8577)},2654:(e,t,n)=>{"use strict";var r=n(9950),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},2049:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,g(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,C=Object.prototype.hasOwnProperty,k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:k.current}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+T(l,0):i,x(a)?(o="",null!=e&&(o=e.replace(_,"$&/")+"/"),R(a,t,o,"",(function(e){return e}))):null!=a&&(A(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",x(e))for(var c=0;c<e.length;c++){var u=i+T(s=e[c],c);l+=R(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=R(s=s.value,t,o,u=i+T(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},L={transition:null},N={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:L,ReactCurrentOwner:k};function I(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.act=I,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=I,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},9950:(e,t,n)=>{"use strict";e.exports=n(2049)},4414:(e,t,n)=>{"use strict";e.exports=n(2654)},1761:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,g=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function x(e){if(m=!1,w(e),!g)if(null!==r(c))g=!0,L(C);else{var t=r(u);null!==t&&N(x,t.startTime-e)}}function C(e,n){g=!1,m&&(m=!1,v(A),A=-1),h=!0;var i=p;try{for(w(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!R());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(c)&&o(c),w(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&N(x,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,E=null,A=-1,_=5,T=-1;function R(){return!(t.unstable_now()-T<_)}function O(){if(null!==E){var e=t.unstable_now();T=e;var n=!0;try{n=E(!0,e)}finally{n?k():(S=!1,E=null)}}else S=!1}if("function"===typeof b)k=function(){b(O)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,M=P.port2;P.port1.onmessage=O,k=function(){M.postMessage(null)}}else k=function(){y(O,0)};function L(e){E=e,S||(S=!0,k())}function N(e,n){A=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,L(C))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(m?(v(A),A=-1):m=!0,N(x,i-a))):(e.sortIndex=s,n(c,e),g||h||(g=!0,L(C))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5340:(e,t,n)=>{"use strict";e.exports=n(1761)},4008:function(e){!function(t,n){"use strict";e.exports?e.exports=n():(t.nacl||(t.nacl={}),t.nacl.util=n())}(this,(function(){"use strict";var e={};function t(e){if(!/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e))throw new TypeError("invalid encoding")}return e.decodeUTF8=function(e){if("string"!==typeof e)throw new TypeError("expected string");var t,n=unescape(encodeURIComponent(e)),r=new Uint8Array(n.length);for(t=0;t<n.length;t++)r[t]=n.charCodeAt(t);return r},e.encodeUTF8=function(e){var t,n=[];for(t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return decodeURIComponent(escape(n.join("")))},"undefined"===typeof atob?"undefined"!==typeof Buffer.from?(e.encodeBase64=function(e){return Buffer.from(e).toString("base64")},e.decodeBase64=function(e){return t(e),new Uint8Array(Array.prototype.slice.call(Buffer.from(e,"base64"),0))}):(e.encodeBase64=function(e){return new Buffer(e).toString("base64")},e.decodeBase64=function(e){return t(e),new Uint8Array(Array.prototype.slice.call(new Buffer(e,"base64"),0))}):(e.encodeBase64=function(e){var t,n=[],r=e.length;for(t=0;t<r;t++)n.push(String.fromCharCode(e[t]));return btoa(n.join(""))},e.decodeBase64=function(e){t(e);var n,r=atob(e),o=new Uint8Array(r.length);for(n=0;n<r.length;n++)o[n]=r.charCodeAt(n);return o}),e}))},3477:(e,t,n)=>{!function(e){"use strict";var t=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},r=function(){throw new Error("no PRNG")},o=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var a=t(),s=t([1]),l=t([56129,1]),c=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),u=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),f=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),p=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function h(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function g(e,t,n,r,o){var i,a=0;for(i=0;i<o;i++)a|=e[t+i]^n[r+i];return(1&a-1>>>8)-1}function m(e,t,n,r){return g(e,t,n,r,16)}function y(e,t,n,r){return g(e,t,n,r,32)}function v(e,t,n,r){!function(e,t,n,r){for(var o,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,c=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,u=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,p=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,m=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,y=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,v=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,w=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=i,C=a,k=s,S=l,E=c,A=u,_=d,T=f,R=p,O=h,P=g,M=m,L=y,N=v,I=b,j=w,$=0;$<20;$+=2)x^=(o=(L^=(o=(R^=(o=(E^=(o=x+L|0)<<7|o>>>25)+x|0)<<9|o>>>23)+E|0)<<13|o>>>19)+R|0)<<18|o>>>14,A^=(o=(C^=(o=(N^=(o=(O^=(o=A+C|0)<<7|o>>>25)+A|0)<<9|o>>>23)+O|0)<<13|o>>>19)+N|0)<<18|o>>>14,P^=(o=(_^=(o=(k^=(o=(I^=(o=P+_|0)<<7|o>>>25)+P|0)<<9|o>>>23)+I|0)<<13|o>>>19)+k|0)<<18|o>>>14,j^=(o=(M^=(o=(T^=(o=(S^=(o=j+M|0)<<7|o>>>25)+j|0)<<9|o>>>23)+S|0)<<13|o>>>19)+T|0)<<18|o>>>14,x^=(o=(S^=(o=(k^=(o=(C^=(o=x+S|0)<<7|o>>>25)+x|0)<<9|o>>>23)+C|0)<<13|o>>>19)+k|0)<<18|o>>>14,A^=(o=(E^=(o=(T^=(o=(_^=(o=A+E|0)<<7|o>>>25)+A|0)<<9|o>>>23)+_|0)<<13|o>>>19)+T|0)<<18|o>>>14,P^=(o=(O^=(o=(R^=(o=(M^=(o=P+O|0)<<7|o>>>25)+P|0)<<9|o>>>23)+M|0)<<13|o>>>19)+R|0)<<18|o>>>14,j^=(o=(I^=(o=(N^=(o=(L^=(o=j+I|0)<<7|o>>>25)+j|0)<<9|o>>>23)+L|0)<<13|o>>>19)+N|0)<<18|o>>>14;x=x+i|0,C=C+a|0,k=k+s|0,S=S+l|0,E=E+c|0,A=A+u|0,_=_+d|0,T=T+f|0,R=R+p|0,O=O+h|0,P=P+g|0,M=M+m|0,L=L+y|0,N=N+v|0,I=I+b|0,j=j+w|0,e[0]=x>>>0&255,e[1]=x>>>8&255,e[2]=x>>>16&255,e[3]=x>>>24&255,e[4]=C>>>0&255,e[5]=C>>>8&255,e[6]=C>>>16&255,e[7]=C>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=S>>>0&255,e[13]=S>>>8&255,e[14]=S>>>16&255,e[15]=S>>>24&255,e[16]=E>>>0&255,e[17]=E>>>8&255,e[18]=E>>>16&255,e[19]=E>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=_>>>0&255,e[25]=_>>>8&255,e[26]=_>>>16&255,e[27]=_>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255,e[32]=R>>>0&255,e[33]=R>>>8&255,e[34]=R>>>16&255,e[35]=R>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=M>>>0&255,e[45]=M>>>8&255,e[46]=M>>>16&255,e[47]=M>>>24&255,e[48]=L>>>0&255,e[49]=L>>>8&255,e[50]=L>>>16&255,e[51]=L>>>24&255,e[52]=N>>>0&255,e[53]=N>>>8&255,e[54]=N>>>16&255,e[55]=N>>>24&255,e[56]=I>>>0&255,e[57]=I>>>8&255,e[58]=I>>>16&255,e[59]=I>>>24&255,e[60]=j>>>0&255,e[61]=j>>>8&255,e[62]=j>>>16&255,e[63]=j>>>24&255}(e,t,n,r)}function b(e,t,n,r){!function(e,t,n,r){for(var o,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,c=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,u=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,p=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,m=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,y=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,v=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,w=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=0;x<20;x+=2)i^=(o=(y^=(o=(p^=(o=(c^=(o=i+y|0)<<7|o>>>25)+i|0)<<9|o>>>23)+c|0)<<13|o>>>19)+p|0)<<18|o>>>14,u^=(o=(a^=(o=(v^=(o=(h^=(o=u+a|0)<<7|o>>>25)+u|0)<<9|o>>>23)+h|0)<<13|o>>>19)+v|0)<<18|o>>>14,g^=(o=(d^=(o=(s^=(o=(b^=(o=g+d|0)<<7|o>>>25)+g|0)<<9|o>>>23)+b|0)<<13|o>>>19)+s|0)<<18|o>>>14,w^=(o=(m^=(o=(f^=(o=(l^=(o=w+m|0)<<7|o>>>25)+w|0)<<9|o>>>23)+l|0)<<13|o>>>19)+f|0)<<18|o>>>14,i^=(o=(l^=(o=(s^=(o=(a^=(o=i+l|0)<<7|o>>>25)+i|0)<<9|o>>>23)+a|0)<<13|o>>>19)+s|0)<<18|o>>>14,u^=(o=(c^=(o=(f^=(o=(d^=(o=u+c|0)<<7|o>>>25)+u|0)<<9|o>>>23)+d|0)<<13|o>>>19)+f|0)<<18|o>>>14,g^=(o=(h^=(o=(p^=(o=(m^=(o=g+h|0)<<7|o>>>25)+g|0)<<9|o>>>23)+m|0)<<13|o>>>19)+p|0)<<18|o>>>14,w^=(o=(b^=(o=(v^=(o=(y^=(o=w+b|0)<<7|o>>>25)+w|0)<<9|o>>>23)+y|0)<<13|o>>>19)+v|0)<<18|o>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=u>>>0&255,e[5]=u>>>8&255,e[6]=u>>>16&255,e[7]=u>>>24&255,e[8]=g>>>0&255,e[9]=g>>>8&255,e[10]=g>>>16&255,e[11]=g>>>24&255,e[12]=w>>>0&255,e[13]=w>>>8&255,e[14]=w>>>16&255,e[15]=w>>>24&255,e[16]=d>>>0&255,e[17]=d>>>8&255,e[18]=d>>>16&255,e[19]=d>>>24&255,e[20]=f>>>0&255,e[21]=f>>>8&255,e[22]=f>>>16&255,e[23]=f>>>24&255,e[24]=p>>>0&255,e[25]=p>>>8&255,e[26]=p>>>16&255,e[27]=p>>>24&255,e[28]=h>>>0&255,e[29]=h>>>8&255,e[30]=h>>>16&255,e[31]=h>>>24&255}(e,t,n,r)}var w=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function x(e,t,n,r,o,i,a){var s,l,c=new Uint8Array(16),u=new Uint8Array(64);for(l=0;l<16;l++)c[l]=0;for(l=0;l<8;l++)c[l]=i[l];for(;o>=64;){for(v(u,c,a,w),l=0;l<64;l++)e[t+l]=n[r+l]^u[l];for(s=1,l=8;l<16;l++)s=s+(255&c[l])|0,c[l]=255&s,s>>>=8;o-=64,t+=64,r+=64}if(o>0)for(v(u,c,a,w),l=0;l<o;l++)e[t+l]=n[r+l]^u[l];return 0}function C(e,t,n,r,o){var i,a,s=new Uint8Array(16),l=new Uint8Array(64);for(a=0;a<16;a++)s[a]=0;for(a=0;a<8;a++)s[a]=r[a];for(;n>=64;){for(v(l,s,o,w),a=0;a<64;a++)e[t+a]=l[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;n-=64,t+=64}if(n>0)for(v(l,s,o,w),a=0;a<n;a++)e[t+a]=l[a];return 0}function k(e,t,n,r,o){var i=new Uint8Array(32);b(i,r,o,w);for(var a=new Uint8Array(8),s=0;s<8;s++)a[s]=r[s+16];return C(e,t,n,a,i)}function S(e,t,n,r,o,i,a){var s=new Uint8Array(32);b(s,i,a,w);for(var l=new Uint8Array(8),c=0;c<8;c++)l[c]=i[c+16];return x(e,t,n,r,o,l,s)}var E=function(e){var t,n,r,o,i,a,s,l;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|o<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),l=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|l<<8),this.r[9]=l>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function A(e,t,n,r,o,i){var a=new E(i);return a.update(n,r,o),a.finish(e,t),0}function _(e,t,n,r,o,i){var a=new Uint8Array(16);return A(a,0,n,r,o,i),m(e,t,a,0)}function T(e,t,n,r,o){var i;if(n<32)return-1;for(S(e,0,t,0,n,r,o),A(e,16,e,32,n-32,e),i=0;i<16;i++)e[i]=0;return 0}function R(e,t,n,r,o){var i,a=new Uint8Array(32);if(n<32)return-1;if(k(a,0,32,r,o),0!==_(t,16,t,32,n-32,a))return-1;for(S(e,0,t,0,n,r,o),i=0;i<32;i++)e[i]=0;return 0}function O(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function P(e){var t,n,r=1;for(t=0;t<16;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function M(e,t,n){for(var r,o=~(n-1),i=0;i<16;i++)r=o&(e[i]^t[i]),e[i]^=r,t[i]^=r}function L(e,n){var r,o,i,a=t(),s=t();for(r=0;r<16;r++)s[r]=n[r];for(P(s),P(s),P(s),o=0;o<2;o++){for(a[0]=s[0]-65517,r=1;r<15;r++)a[r]=s[r]-65535-(a[r-1]>>16&1),a[r-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,M(s,a,1-i)}for(r=0;r<16;r++)e[2*r]=255&s[r],e[2*r+1]=s[r]>>8}function N(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return L(n,e),L(r,t),y(n,0,r,0)}function I(e){var t=new Uint8Array(32);return L(t,e),1&t[0]}function j(e,t){var n;for(n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function $(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]+n[r]}function W(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]-n[r]}function D(e,t,n){var r,o,i=0,a=0,s=0,l=0,c=0,u=0,d=0,f=0,p=0,h=0,g=0,m=0,y=0,v=0,b=0,w=0,x=0,C=0,k=0,S=0,E=0,A=0,_=0,T=0,R=0,O=0,P=0,M=0,L=0,N=0,I=0,j=n[0],$=n[1],W=n[2],D=n[3],U=n[4],F=n[5],z=n[6],B=n[7],q=n[8],H=n[9],K=n[10],V=n[11],G=n[12],Q=n[13],Z=n[14],Y=n[15];i+=(r=t[0])*j,a+=r*$,s+=r*W,l+=r*D,c+=r*U,u+=r*F,d+=r*z,f+=r*B,p+=r*q,h+=r*H,g+=r*K,m+=r*V,y+=r*G,v+=r*Q,b+=r*Z,w+=r*Y,a+=(r=t[1])*j,s+=r*$,l+=r*W,c+=r*D,u+=r*U,d+=r*F,f+=r*z,p+=r*B,h+=r*q,g+=r*H,m+=r*K,y+=r*V,v+=r*G,b+=r*Q,w+=r*Z,x+=r*Y,s+=(r=t[2])*j,l+=r*$,c+=r*W,u+=r*D,d+=r*U,f+=r*F,p+=r*z,h+=r*B,g+=r*q,m+=r*H,y+=r*K,v+=r*V,b+=r*G,w+=r*Q,x+=r*Z,C+=r*Y,l+=(r=t[3])*j,c+=r*$,u+=r*W,d+=r*D,f+=r*U,p+=r*F,h+=r*z,g+=r*B,m+=r*q,y+=r*H,v+=r*K,b+=r*V,w+=r*G,x+=r*Q,C+=r*Z,k+=r*Y,c+=(r=t[4])*j,u+=r*$,d+=r*W,f+=r*D,p+=r*U,h+=r*F,g+=r*z,m+=r*B,y+=r*q,v+=r*H,b+=r*K,w+=r*V,x+=r*G,C+=r*Q,k+=r*Z,S+=r*Y,u+=(r=t[5])*j,d+=r*$,f+=r*W,p+=r*D,h+=r*U,g+=r*F,m+=r*z,y+=r*B,v+=r*q,b+=r*H,w+=r*K,x+=r*V,C+=r*G,k+=r*Q,S+=r*Z,E+=r*Y,d+=(r=t[6])*j,f+=r*$,p+=r*W,h+=r*D,g+=r*U,m+=r*F,y+=r*z,v+=r*B,b+=r*q,w+=r*H,x+=r*K,C+=r*V,k+=r*G,S+=r*Q,E+=r*Z,A+=r*Y,f+=(r=t[7])*j,p+=r*$,h+=r*W,g+=r*D,m+=r*U,y+=r*F,v+=r*z,b+=r*B,w+=r*q,x+=r*H,C+=r*K,k+=r*V,S+=r*G,E+=r*Q,A+=r*Z,_+=r*Y,p+=(r=t[8])*j,h+=r*$,g+=r*W,m+=r*D,y+=r*U,v+=r*F,b+=r*z,w+=r*B,x+=r*q,C+=r*H,k+=r*K,S+=r*V,E+=r*G,A+=r*Q,_+=r*Z,T+=r*Y,h+=(r=t[9])*j,g+=r*$,m+=r*W,y+=r*D,v+=r*U,b+=r*F,w+=r*z,x+=r*B,C+=r*q,k+=r*H,S+=r*K,E+=r*V,A+=r*G,_+=r*Q,T+=r*Z,R+=r*Y,g+=(r=t[10])*j,m+=r*$,y+=r*W,v+=r*D,b+=r*U,w+=r*F,x+=r*z,C+=r*B,k+=r*q,S+=r*H,E+=r*K,A+=r*V,_+=r*G,T+=r*Q,R+=r*Z,O+=r*Y,m+=(r=t[11])*j,y+=r*$,v+=r*W,b+=r*D,w+=r*U,x+=r*F,C+=r*z,k+=r*B,S+=r*q,E+=r*H,A+=r*K,_+=r*V,T+=r*G,R+=r*Q,O+=r*Z,P+=r*Y,y+=(r=t[12])*j,v+=r*$,b+=r*W,w+=r*D,x+=r*U,C+=r*F,k+=r*z,S+=r*B,E+=r*q,A+=r*H,_+=r*K,T+=r*V,R+=r*G,O+=r*Q,P+=r*Z,M+=r*Y,v+=(r=t[13])*j,b+=r*$,w+=r*W,x+=r*D,C+=r*U,k+=r*F,S+=r*z,E+=r*B,A+=r*q,_+=r*H,T+=r*K,R+=r*V,O+=r*G,P+=r*Q,M+=r*Z,L+=r*Y,b+=(r=t[14])*j,w+=r*$,x+=r*W,C+=r*D,k+=r*U,S+=r*F,E+=r*z,A+=r*B,_+=r*q,T+=r*H,R+=r*K,O+=r*V,P+=r*G,M+=r*Q,L+=r*Z,N+=r*Y,w+=(r=t[15])*j,a+=38*(C+=r*W),s+=38*(k+=r*D),l+=38*(S+=r*U),c+=38*(E+=r*F),u+=38*(A+=r*z),d+=38*(_+=r*B),f+=38*(T+=r*q),p+=38*(R+=r*H),h+=38*(O+=r*K),g+=38*(P+=r*V),m+=38*(M+=r*G),y+=38*(L+=r*Q),v+=38*(N+=r*Z),b+=38*(I+=r*Y),i=(r=(i+=38*(x+=r*$))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=s+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),v=(r=v+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),w=(r=w+o+65535)-65536*(o=Math.floor(r/65536)),i=(r=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=s+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),v=(r=v+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),w=(r=w+o+65535)-65536*(o=Math.floor(r/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=a,e[2]=s,e[3]=l,e[4]=c,e[5]=u,e[6]=d,e[7]=f,e[8]=p,e[9]=h,e[10]=g,e[11]=m,e[12]=y,e[13]=v,e[14]=b,e[15]=w}function U(e,t){D(e,t,t)}function F(e,n){var r,o=t();for(r=0;r<16;r++)o[r]=n[r];for(r=253;r>=0;r--)U(o,o),2!==r&&4!==r&&D(o,o,n);for(r=0;r<16;r++)e[r]=o[r]}function z(e,n){var r,o=t();for(r=0;r<16;r++)o[r]=n[r];for(r=250;r>=0;r--)U(o,o),1!==r&&D(o,o,n);for(r=0;r<16;r++)e[r]=o[r]}function B(e,n,r){var o,i,a=new Uint8Array(32),s=new Float64Array(80),c=t(),u=t(),d=t(),f=t(),p=t(),h=t();for(i=0;i<31;i++)a[i]=n[i];for(a[31]=127&n[31]|64,a[0]&=248,j(s,r),i=0;i<16;i++)u[i]=s[i],f[i]=c[i]=d[i]=0;for(c[0]=f[0]=1,i=254;i>=0;--i)M(c,u,o=a[i>>>3]>>>(7&i)&1),M(d,f,o),$(p,c,d),W(c,c,d),$(d,u,f),W(u,u,f),U(f,p),U(h,c),D(c,d,c),D(d,u,p),$(p,c,d),W(c,c,d),U(u,c),W(d,f,h),D(c,d,l),$(c,c,f),D(d,d,c),D(c,f,h),D(f,u,s),U(u,p),M(c,u,o),M(d,f,o);for(i=0;i<16;i++)s[i+16]=c[i],s[i+32]=d[i],s[i+48]=u[i],s[i+64]=f[i];var g=s.subarray(32),m=s.subarray(16);return F(g,g),D(m,m,g),L(e,m),0}function q(e,t){return B(e,t,i)}function H(e,t){return r(t,32),q(e,t)}function K(e,t,n){var r=new Uint8Array(32);return B(r,n,t),b(e,o,r,w)}E.prototype.blocks=function(e,t,n){for(var r,o,i,a,s,l,c,u,d,f,p,h,g,m,y,v,b,w,x,C=this.fin?0:2048,k=this.h[0],S=this.h[1],E=this.h[2],A=this.h[3],_=this.h[4],T=this.h[5],R=this.h[6],O=this.h[7],P=this.h[8],M=this.h[9],L=this.r[0],N=this.r[1],I=this.r[2],j=this.r[3],$=this.r[4],W=this.r[5],D=this.r[6],U=this.r[7],F=this.r[8],z=this.r[9];n>=16;)f=d=0,f+=(k+=8191&(r=255&e[t+0]|(255&e[t+1])<<8))*L,f+=(S+=8191&(r>>>13|(o=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*z),f+=(E+=8191&(o>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*F),f+=(A+=8191&(i>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*U),d=(f+=(_+=8191&(a>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*D))>>>13,f&=8191,f+=(T+=s>>>1&8191)*(5*W),f+=(R+=8191&(s>>>14|(l=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*$),f+=(O+=8191&(l>>>11|(c=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*j),f+=(P+=8191&(c>>>8|(u=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*I),p=d+=(f+=(M+=u>>>5|C)*(5*N))>>>13,p+=k*N,p+=S*L,p+=E*(5*z),p+=A*(5*F),d=(p+=_*(5*U))>>>13,p&=8191,p+=T*(5*D),p+=R*(5*W),p+=O*(5*$),p+=P*(5*j),d+=(p+=M*(5*I))>>>13,p&=8191,h=d,h+=k*I,h+=S*N,h+=E*L,h+=A*(5*z),d=(h+=_*(5*F))>>>13,h&=8191,h+=T*(5*U),h+=R*(5*D),h+=O*(5*W),h+=P*(5*$),g=d+=(h+=M*(5*j))>>>13,g+=k*j,g+=S*I,g+=E*N,g+=A*L,d=(g+=_*(5*z))>>>13,g&=8191,g+=T*(5*F),g+=R*(5*U),g+=O*(5*D),g+=P*(5*W),m=d+=(g+=M*(5*$))>>>13,m+=k*$,m+=S*j,m+=E*I,m+=A*N,d=(m+=_*L)>>>13,m&=8191,m+=T*(5*z),m+=R*(5*F),m+=O*(5*U),m+=P*(5*D),y=d+=(m+=M*(5*W))>>>13,y+=k*W,y+=S*$,y+=E*j,y+=A*I,d=(y+=_*N)>>>13,y&=8191,y+=T*L,y+=R*(5*z),y+=O*(5*F),y+=P*(5*U),v=d+=(y+=M*(5*D))>>>13,v+=k*D,v+=S*W,v+=E*$,v+=A*j,d=(v+=_*I)>>>13,v&=8191,v+=T*N,v+=R*L,v+=O*(5*z),v+=P*(5*F),b=d+=(v+=M*(5*U))>>>13,b+=k*U,b+=S*D,b+=E*W,b+=A*$,d=(b+=_*j)>>>13,b&=8191,b+=T*I,b+=R*N,b+=O*L,b+=P*(5*z),w=d+=(b+=M*(5*F))>>>13,w+=k*F,w+=S*U,w+=E*D,w+=A*W,d=(w+=_*$)>>>13,w&=8191,w+=T*j,w+=R*I,w+=O*N,w+=P*L,x=d+=(w+=M*(5*z))>>>13,x+=k*z,x+=S*F,x+=E*U,x+=A*D,d=(x+=_*W)>>>13,x&=8191,x+=T*$,x+=R*j,x+=O*I,x+=P*N,k=f=8191&(d=(d=((d+=(x+=M*L)>>>13)<<2)+d|0)+(f&=8191)|0),S=p+=d>>>=13,E=h&=8191,A=g&=8191,_=m&=8191,T=y&=8191,R=v&=8191,O=b&=8191,P=w&=8191,M=x&=8191,t+=16,n-=16;this.h[0]=k,this.h[1]=S,this.h[2]=E,this.h[3]=A,this.h[4]=_,this.h[5]=T,this.h[6]=R,this.h[7]=O,this.h[8]=P,this.h[9]=M},E.prototype.finish=function(e,t){var n,r,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=n,n=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+n,n=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,r=(1^n)-1,i=0;i<10;i++)a[i]&=r;for(r=~r,i=0;i<10;i++)this.h[i]=this.h[i]&r|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},E.prototype.update=function(e,t,n){var r,o;if(this.leftover){for((o=16-this.leftover)>n&&(o=n),r=0;r<o;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=o,t+=o,this.leftover+=o,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(o=n-n%16,this.blocks(e,t,o),t+=o,n-=o),n){for(r=0;r<n;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var V=T,G=R;var Q=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Z(e,t,n,r){for(var o,i,a,s,l,c,u,d,f,p,h,g,m,y,v,b,w,x,C,k,S,E,A,_,T,R,O=new Int32Array(16),P=new Int32Array(16),M=e[0],L=e[1],N=e[2],I=e[3],j=e[4],$=e[5],W=e[6],D=e[7],U=t[0],F=t[1],z=t[2],B=t[3],q=t[4],H=t[5],K=t[6],V=t[7],G=0;r>=128;){for(C=0;C<16;C++)k=8*C+G,O[C]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],P[C]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(C=0;C<80;C++)if(o=M,i=L,a=N,s=I,l=j,c=$,u=W,D,f=U,p=F,h=z,g=B,m=q,y=H,v=K,V,A=65535&(E=V),_=E>>>16,T=65535&(S=D),R=S>>>16,A+=65535&(E=(q>>>14|j<<18)^(q>>>18|j<<14)^(j>>>9|q<<23)),_+=E>>>16,T+=65535&(S=(j>>>14|q<<18)^(j>>>18|q<<14)^(q>>>9|j<<23)),R+=S>>>16,A+=65535&(E=q&H^~q&K),_+=E>>>16,T+=65535&(S=j&$^~j&W),R+=S>>>16,S=Q[2*C],A+=65535&(E=Q[2*C+1]),_+=E>>>16,T+=65535&S,R+=S>>>16,S=O[C%16],_+=(E=P[C%16])>>>16,T+=65535&S,R+=S>>>16,T+=(_+=(A+=65535&E)>>>16)>>>16,A=65535&(E=x=65535&A|_<<16),_=E>>>16,T=65535&(S=w=65535&T|(R+=T>>>16)<<16),R=S>>>16,A+=65535&(E=(U>>>28|M<<4)^(M>>>2|U<<30)^(M>>>7|U<<25)),_+=E>>>16,T+=65535&(S=(M>>>28|U<<4)^(U>>>2|M<<30)^(U>>>7|M<<25)),R+=S>>>16,_+=(E=U&F^U&z^F&z)>>>16,T+=65535&(S=M&L^M&N^L&N),R+=S>>>16,d=65535&(T+=(_+=(A+=65535&E)>>>16)>>>16)|(R+=T>>>16)<<16,b=65535&A|_<<16,A=65535&(E=g),_=E>>>16,T=65535&(S=s),R=S>>>16,_+=(E=x)>>>16,T+=65535&(S=w),R+=S>>>16,L=o,N=i,I=a,j=s=65535&(T+=(_+=(A+=65535&E)>>>16)>>>16)|(R+=T>>>16)<<16,$=l,W=c,D=u,M=d,F=f,z=p,B=h,q=g=65535&A|_<<16,H=m,K=y,V=v,U=b,C%16===15)for(k=0;k<16;k++)S=O[k],A=65535&(E=P[k]),_=E>>>16,T=65535&S,R=S>>>16,S=O[(k+9)%16],A+=65535&(E=P[(k+9)%16]),_+=E>>>16,T+=65535&S,R+=S>>>16,w=O[(k+1)%16],A+=65535&(E=((x=P[(k+1)%16])>>>1|w<<31)^(x>>>8|w<<24)^(x>>>7|w<<25)),_+=E>>>16,T+=65535&(S=(w>>>1|x<<31)^(w>>>8|x<<24)^w>>>7),R+=S>>>16,w=O[(k+14)%16],_+=(E=((x=P[(k+14)%16])>>>19|w<<13)^(w>>>29|x<<3)^(x>>>6|w<<26))>>>16,T+=65535&(S=(w>>>19|x<<13)^(x>>>29|w<<3)^w>>>6),R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,O[k]=65535&T|R<<16,P[k]=65535&A|_<<16;A=65535&(E=U),_=E>>>16,T=65535&(S=M),R=S>>>16,S=e[0],_+=(E=t[0])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[0]=M=65535&T|R<<16,t[0]=U=65535&A|_<<16,A=65535&(E=F),_=E>>>16,T=65535&(S=L),R=S>>>16,S=e[1],_+=(E=t[1])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[1]=L=65535&T|R<<16,t[1]=F=65535&A|_<<16,A=65535&(E=z),_=E>>>16,T=65535&(S=N),R=S>>>16,S=e[2],_+=(E=t[2])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[2]=N=65535&T|R<<16,t[2]=z=65535&A|_<<16,A=65535&(E=B),_=E>>>16,T=65535&(S=I),R=S>>>16,S=e[3],_+=(E=t[3])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[3]=I=65535&T|R<<16,t[3]=B=65535&A|_<<16,A=65535&(E=q),_=E>>>16,T=65535&(S=j),R=S>>>16,S=e[4],_+=(E=t[4])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[4]=j=65535&T|R<<16,t[4]=q=65535&A|_<<16,A=65535&(E=H),_=E>>>16,T=65535&(S=$),R=S>>>16,S=e[5],_+=(E=t[5])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[5]=$=65535&T|R<<16,t[5]=H=65535&A|_<<16,A=65535&(E=K),_=E>>>16,T=65535&(S=W),R=S>>>16,S=e[6],_+=(E=t[6])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[6]=W=65535&T|R<<16,t[6]=K=65535&A|_<<16,A=65535&(E=V),_=E>>>16,T=65535&(S=D),R=S>>>16,S=e[7],_+=(E=t[7])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[7]=D=65535&T|R<<16,t[7]=V=65535&A|_<<16,G+=128,r-=128}return r}function Y(e,t,n){var r,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=n;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,Z(o,i,t,n),n%=128,r=0;r<n;r++)a[r]=t[s-n+r];for(a[n]=128,a[(n=256-128*(n<112?1:0))-9]=0,h(a,n-8,s/536870912|0,s<<3),Z(o,i,a,n),r=0;r<8;r++)h(e,8*r,o[r],i[r]);return 0}function X(e,n){var r=t(),o=t(),i=t(),a=t(),s=t(),l=t(),c=t(),d=t(),f=t();W(r,e[1],e[0]),W(f,n[1],n[0]),D(r,r,f),$(o,e[0],e[1]),$(f,n[0],n[1]),D(o,o,f),D(i,e[3],n[3]),D(i,i,u),D(a,e[2],n[2]),$(a,a,a),W(s,o,r),W(l,a,i),$(c,a,i),$(d,o,r),D(e[0],s,l),D(e[1],d,c),D(e[2],c,l),D(e[3],s,d)}function J(e,t,n){var r;for(r=0;r<4;r++)M(e[r],t[r],n)}function ee(e,n){var r=t(),o=t(),i=t();F(i,n[2]),D(r,n[0],i),D(o,n[1],i),L(e,o),e[31]^=I(r)<<7}function te(e,t,n){var r,o;for(O(e[0],a),O(e[1],s),O(e[2],s),O(e[3],a),o=255;o>=0;--o)J(e,t,r=n[o/8|0]>>(7&o)&1),X(t,e),X(e,e),J(e,t,r)}function ne(e,n){var r=[t(),t(),t(),t()];O(r[0],d),O(r[1],f),O(r[2],s),D(r[3],d,f),te(e,r,n)}function re(e,n,o){var i,a=new Uint8Array(64),s=[t(),t(),t(),t()];for(o||r(n,32),Y(a,n,32),a[0]&=248,a[31]&=127,a[31]|=64,ne(s,a),ee(e,s),i=0;i<32;i++)n[i+32]=e[i];return 0}var oe=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var n,r,o,i;for(r=63;r>=32;--r){for(n=0,o=r-32,i=r-12;o<i;++o)t[o]+=n-16*t[r]*oe[o-(r-32)],n=Math.floor((t[o]+128)/256),t[o]-=256*n;t[o]+=n,t[r]=0}for(n=0,o=0;o<32;o++)t[o]+=n-(t[31]>>4)*oe[o],n=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=n*oe[o];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function ae(e){var t,n=new Float64Array(64);for(t=0;t<64;t++)n[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,n)}function se(e,n,r,o){var i,a,s=new Uint8Array(64),l=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),d=[t(),t(),t(),t()];Y(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var f=r+64;for(i=0;i<r;i++)e[64+i]=n[i];for(i=0;i<32;i++)e[32+i]=s[32+i];for(Y(c,e.subarray(32),r+32),ae(c),ne(d,c),ee(e,d),i=32;i<64;i++)e[i]=o[i];for(Y(l,e,r+64),ae(l),i=0;i<64;i++)u[i]=0;for(i=0;i<32;i++)u[i]=c[i];for(i=0;i<32;i++)for(a=0;a<32;a++)u[i+a]+=l[i]*s[a];return ie(e.subarray(32),u),f}function le(e,n,r,o){var i,l=new Uint8Array(32),u=new Uint8Array(64),d=[t(),t(),t(),t()],f=[t(),t(),t(),t()];if(r<64)return-1;if(function(e,n){var r=t(),o=t(),i=t(),l=t(),u=t(),d=t(),f=t();return O(e[2],s),j(e[1],n),U(i,e[1]),D(l,i,c),W(i,i,e[2]),$(l,e[2],l),U(u,l),U(d,u),D(f,d,u),D(r,f,i),D(r,r,l),z(r,r),D(r,r,i),D(r,r,l),D(r,r,l),D(e[0],r,l),U(o,e[0]),D(o,o,l),N(o,i)&&D(e[0],e[0],p),U(o,e[0]),D(o,o,l),N(o,i)?-1:(I(e[0])===n[31]>>7&&W(e[0],a,e[0]),D(e[3],e[0],e[1]),0)}(f,o))return-1;for(i=0;i<r;i++)e[i]=n[i];for(i=0;i<32;i++)e[i+32]=o[i];if(Y(u,e,r),ae(u),te(d,f,u),ne(f,n.subarray(32)),X(d,f),ee(l,d),r-=64,y(n,0,l,0)){for(i=0;i<r;i++)e[i]=0;return-1}for(i=0;i<r;i++)e[i]=n[i+64];return r}var ce=16,ue=64,de=32,fe=64;function pe(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function he(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function ge(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:b,crypto_stream_xor:S,crypto_stream:k,crypto_stream_salsa20_xor:x,crypto_stream_salsa20:C,crypto_onetimeauth:A,crypto_onetimeauth_verify:_,crypto_verify_16:m,crypto_verify_32:y,crypto_secretbox:T,crypto_secretbox_open:R,crypto_scalarmult:B,crypto_scalarmult_base:q,crypto_box_beforenm:K,crypto_box_afternm:V,crypto_box:function(e,t,n,r,o,i){var a=new Uint8Array(32);return K(a,o,i),V(e,t,n,r,a)},crypto_box_open:function(e,t,n,r,o,i){var a=new Uint8Array(32);return K(a,o,i),G(e,t,n,r,a)},crypto_box_keypair:H,crypto_hash:Y,crypto_sign:se,crypto_sign_keypair:re,crypto_sign_open:le,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:ce,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:ue,crypto_sign_PUBLICKEYBYTES:de,crypto_sign_SECRETKEYBYTES:fe,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:t,D:c,L:oe,pack25519:L,unpack25519:j,M:D,A:$,S:U,Z:W,pow2523:z,add:X,set25519:O,modL:ie,scalarmult:te,scalarbase:ne},e.randomBytes=function(e){var t=new Uint8Array(e);return r(t,e),t},e.secretbox=function(e,t,n){he(e,t,n),pe(n,t);for(var r=new Uint8Array(32+e.length),o=new Uint8Array(r.length),i=0;i<e.length;i++)r[i+32]=e[i];return T(o,r,r.length,t,n),o.subarray(ce)},e.secretbox.open=function(e,t,n){he(e,t,n),pe(n,t);for(var r=new Uint8Array(ce+e.length),o=new Uint8Array(r.length),i=0;i<e.length;i++)r[i+ce]=e[i];return r.length<32||0!==R(o,r,r.length,t,n)?null:o.subarray(32)},e.secretbox.keyLength=32,e.secretbox.nonceLength=24,e.secretbox.overheadLength=ce,e.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var n=new Uint8Array(32);return B(n,e,t),n},e.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return q(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,n,r,o){var i=e.box.before(r,o);return e.secretbox(t,n,i)},e.box.before=function(e,t){he(e,t),function(e,t){if(32!==e.length)throw new Error("bad public key size");if(32!==t.length)throw new Error("bad secret key size")}(e,t);var n=new Uint8Array(32);return K(n,e,t),n},e.box.after=e.secretbox,e.box.open=function(t,n,r,o){var i=e.box.before(r,o);return e.secretbox.open(t,n,i)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return H(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(he(e),32!==e.length)throw new Error("bad secret key size");var t=new Uint8Array(32);return q(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=32,e.box.secretKeyLength=32,e.box.sharedKeyLength=32,e.box.nonceLength=24,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(he(e,t),t.length!==fe)throw new Error("bad secret key size");var n=new Uint8Array(ue+e.length);return se(n,e,e.length,t),n},e.sign.open=function(e,t){if(he(e,t),t.length!==de)throw new Error("bad public key size");var n=new Uint8Array(e.length),r=le(n,e,e.length,t);if(r<0)return null;for(var o=new Uint8Array(r),i=0;i<o.length;i++)o[i]=n[i];return o},e.sign.detached=function(t,n){for(var r=e.sign(t,n),o=new Uint8Array(ue),i=0;i<o.length;i++)o[i]=r[i];return o},e.sign.detached.verify=function(e,t,n){if(he(e,t,n),t.length!==ue)throw new Error("bad signature size");if(n.length!==de)throw new Error("bad public key size");var r,o=new Uint8Array(ue+e.length),i=new Uint8Array(ue+e.length);for(r=0;r<ue;r++)o[r]=t[r];for(r=0;r<e.length;r++)o[r+ue]=e[r];return le(i,o,o.length,n)>=0},e.sign.keyPair=function(){var e=new Uint8Array(de),t=new Uint8Array(fe);return re(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(he(e),e.length!==fe)throw new Error("bad secret key size");for(var t=new Uint8Array(de),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(de),n=new Uint8Array(fe),r=0;r<32;r++)n[r]=e[r];return re(t,n,!0),{publicKey:t,secretKey:n}},e.sign.publicKeyLength=de,e.sign.secretKeyLength=fe,e.sign.seedLength=32,e.sign.signatureLength=ue,e.hash=function(e){he(e);var t=new Uint8Array(64);return Y(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===g(e,0,t,0,e.length))},e.setPRNG=function(e){r=e},function(){var t="undefined"!==typeof self?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG((function(e,n){var r,o=new Uint8Array(n);for(r=0;r<n;r+=65536)t.getRandomValues(o.subarray(r,r+Math.min(n-r,65536)));for(r=0;r<n;r++)e[r]=o[r];ge(o)}))}else(t=n(1281))&&t.randomBytes&&e.setPRNG((function(e,n){var r,o=t.randomBytes(n);for(r=0;r<n;r++)e[r]=o[r];ge(o)}))}()}(e.exports?e.exports:self.nacl=self.nacl||{})},7946:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",c="string",u="major",d="model",f="name",p="type",h="vendor",g="version",m="architecture",y="console",v="mobile",b="tablet",w="smarttv",x="wearable",C="embedded",k="Amazon",S="Apple",E="ASUS",A="BlackBerry",_="Browser",T="Chrome",R="Firefox",O="Google",P="Huawei",M="LG",L="Microsoft",N="Motorola",I="Opera",j="Samsung",$="Sharp",W="Sony",D="Xiaomi",U="Zebra",F="Facebook",z="Chromium OS",B="Mac OS",q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===c&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},V=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},G=function(e,t){for(var n,r,o,s,c,u,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=r=0;n<f.length&&!c&&f[n];)if(c=f[n++].exec(e))for(o=0;o<p.length;o++)u=c[++r],typeof(s=p[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;d+=2}},Q=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?i:n}else if(H(t[n],e))return"?"===n?i:n;return e},Z={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,I+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[f,I+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[f,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/\bddg\/([\w\.]+)/i],[g,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+_]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[f,"Smart Lenovo "+_]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+_],g],[/\bfocus\/([\w\.]+)/i],[g,[f,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+_]],[/fxios\/([-\w\.]+)/i],[g,[f,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+_]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+_],g],[/samsungbrowser\/([\w\.]+)/i],[g,[f,j+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,F],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,T+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+_]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,g],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,K]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,j],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,j],[p,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,S],[p,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,S],[p,b]],[/(macintosh);/i],[d,[h,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,$],[p,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,P],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,P],[p,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,D],[p,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,D],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[p,v]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[p,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[p,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,N],[p,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,N],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,M],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,M],[p,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[p,v]],[/(pixel c)\b/i],[d,[h,O],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,O],[p,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,W],[p,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,W],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[p,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[p,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,A],[p,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,E],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,E],[p,v]],[/(nexus 9)/i],[d,[h,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[p,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[p,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[p,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[p,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[p,b]],[/(surface duo)/i],[d,[h,L],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[p,v]],[/(u304aa)/i],[d,[h,"AT&T"],[p,v]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[p,v]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[p,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[p,v]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[p,v]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[p,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[p,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[p,v]],[/\b(ph-1) /i],[d,[h,"Essential"],[p,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[h,d,[p,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,L],[p,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,U],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,U],[p,v]],[/smart-tv.+(samsung)/i],[h,[p,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,j],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,M],[p,w]],[/(apple) ?tv/i],[h,[d,S+" TV"],[p,w]],[/crkey/i],[[d,T+"cast"],[h,O],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,k],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,$],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,W],[p,w]],[/(mitv-\w{5}) bui/i],[d,[h,D],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,V],[d,V],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[p,y]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[p,y]],[/(playstation [345portablevi]+)/i],[d,[h,W],[p,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,L],[p,y]],[/((pebble))app/i],[h,d,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,S],[p,x]],[/droid.+; (glass) \d/i],[d,[h,O],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,U],[p,x]],[/(quest( \d| pro)?)/i],[d,[h,F],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,C]],[/(aeobc)\b/i],[d,[h,k],[p,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[g,Q,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Q,Z],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,B],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},X=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof X))return new X(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),y=n&&n.userAgentData?n.userAgentData:i,w=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Y,t):Y,x=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=i,t[g]=i,G.call(t,r,w.browser),t[u]=typeof(e=t[g])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:i,x&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[m]=i,G.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[p]=i,G.call(e,r,w.device),x&&!e[p]&&y&&y.mobile&&(e[p]=v),x&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[p]=b),e},this.getEngine=function(){var e={};return e[f]=i,e[g]=i,G.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=i,e[g]=i,G.call(e,r,w.os),x&&!e[f]&&y&&y.platform&&"Unknown"!=y.platform&&(e[f]=y.platform.replace(/chrome os/i,z).replace(/macos/i,B)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>500?V(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.38",X.BROWSER=q([f,g,u]),X.CPU=q([m]),X.DEVICE=q([d,h,p,y,v,w,b,x,C]),X.ENGINE=X.OS=q([f,g]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?(r=function(){return X}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=X);var J=typeof o!==s&&(o.jQuery||o.Zepto);if(J&&!J.ua){var ee=new X;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"===typeof window?window:this)},1281:()=>{},4634:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},4893:e=>{e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},8738:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},2004:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};(()=>{"use strict";n.r(r),n.d(r,{checkIn:()=>Tv,connectWallet:()=>Kv,consumePurchase:()=>Nv,copyShareLink:()=>Pv,depositToken:()=>Xv,disconnectWallet:()=>Vv,getContentSafeAreaInset:()=>Dv,getCpCustomLink:()=>qv,getItem:()=>Mv,getSafeAreaInset:()=>Wv,getShareLink:()=>Ov,getStartParam:()=>Hv,getWalletFriendlyAddress:()=>Zv,getWalletName:()=>Yv,getWalletRawAddress:()=>Qv,init:()=>Sv,isConnectedWallet:()=>Gv,isDesktopEnabled:()=>Fv,isTelegramClient:()=>zv,login:()=>Ev,onEvent:()=>$v,openGameForWeb:()=>Bv,playAd:()=>Uv,purchase:()=>_v,queryPurchses:()=>Iv,ready:()=>Av,setItem:()=>Lv,share:()=>Rv,vibrate:()=>jv});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>gp,hasStandardBrowserEnv:()=>yp,hasStandardBrowserWebWorkerEnv:()=>vp,navigator:()=>mp,origin:()=>bp});var t=n(1352),o=n(8168),i=n(9950),a=n(7353),s=n(3158),l=n(2860),c=n(7576);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=i.useContext(c.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},d=(0,l.A)();const f=function(){return u(arguments.length>0&&void 0!==arguments[0]?arguments[0]:d)};var p=n(4414);const h=function(e){let{styles:t,themeId:n,defaultTheme:r={}}=e;const o=f(r),i="function"===typeof t?t(n&&o[n]||o):t;return(0,p.jsx)(s.A,{styles:i})};var g=n(195),m=n(7550);const y=function(e){return(0,p.jsx)(h,(0,o.A)({},e,{defaultTheme:g.A,themeId:m.A}))},v=(e,t)=>(0,o.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),b=e=>(0,o.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const w=function(e){const t=(0,a.b)({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(y,{styles:e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((t=>{let[n,o]=t;var i;r[e.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(i=o.palette)?void 0:i.mode}}));let i=(0,o.A)({html:v(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,o.A)({margin:0},b(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const a=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(i=[i,a]),i}(e,r)}),n]})};var x=n(3422);const C={CATI:"kQAHDaT2GnuX5GNrrtenrzmGeMbE7VCldSHovfEXA19FtyRl",USDT:"kQB0rxb4k-xFwXVzBpvJwt4_ChPvqMScDAKMBfQZw2Od8MFB",BOMB:"kQDPCEx9T_a3Oq0CPVDXcwgJO_AITrRyQB8znU7altWcS2T-"};class k{static init(){{let e="",t=Telegram.WebApp.initData,n=Telegram.WebApp.initDataUnsafe||{},r=window.location.search;if(!r){let e=window.location.hash,t=e.indexOf("?");-1!=t&&(r=e.substring(t))}let o=new URLSearchParams(r);if(o.get("botname")||(r=window.sessionStorage.getItem("PLUTO_GAMES_INIT_PARAMS"),o=new URLSearchParams(r)),k.TEST_MODE="1"==o.get("debug"),k.BOT_NAME=o.get("botname"),k.GAME_ID=o.get("gameid"),k.CP_CUSTOM_LINK=o.get("pcplink"),k.FULL_SCREEN="1"==o.get("fullscreen"),k.START_PARAM=n.start_param,!t){const n=new x.o;t=o.get("initdata"),t||(t=window.sessionStorage.getItem("PLUTO_GAMES_INIT_DATA")||""),t&&!t.startsWith("10")&&(o.delete("initdata"),o.delete("pcplink"),window.location.href.includes("/#")||(e=window.location.origin+window.location.pathname+"?"+o.toString()),window.sessionStorage.setItem("PLUTO_GAMES_INIT_DATA",t),t=n.decode(t))}k.INIT_DATA=t,window.sessionStorage.setItem("PLUTO_GAMES_INIT_PARAMS",o.toString()),e&&window.history.replaceState(null,null,e)}k.TEST_MODE?(k.API_URL="https://test-sdk1.pluto.vision/",k.PAYLOAD_URL="https://test-bc1.pluto.vision/api/ton/getTokenPayload",k.TON_CENTER_URL="https://testnet.toncenter.com/api/v3/jetton/wallets",k.TOKENS_JETTON_ADDRESS=C,k.MANIFEST_URL=`https://games.pluto.vision/sdk/manifest/test/manifest-${k.GAME_ID}.json`):k.MANIFEST_URL=`https://games.pluto.vision/sdk/manifest/release/manifest-${k.GAME_ID}.json`}}k.APP_VERSION="1.0.7",k.RES_URL="https://games.pluto.vision/sdk/resource/",k.API_URL="https://sdk1.pluto.vision/",k.PAYLOAD_URL="https://bc1.pluto.vision/api/ton/getTokenPayload",k.TON_CENTER_URL="https://toncenter.com/api/v3/jetton/wallets",k.TOKENS_JETTON_ADDRESS={CATI:"EQD-cvR0Nz6XAyRBvbhz-abTrRC6sI5tvHvvpeQraV9UAAD7",USDT:"EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",BOMB:"EQAQZEf6A-BfN8wYVnjdyPWpCXwkTSjhfF5ZWP7AjReM4eEI"},k.MANIFEST_URL="",k.TEST_MODE=!1,k.BOT_NAME="",k.GAME_ID="",k.INIT_DATA="",k.TOKEN="",k.GAME_URL="",k.CP_CUSTOM_LINK="",k.FULL_SCREEN=!1,k.START_PARAM="";var S,E,A,_,T,R,O=n(4008),P=n(3477);!function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.MANIFEST_NOT_FOUND_ERROR=2]="MANIFEST_NOT_FOUND_ERROR",e[e.MANIFEST_CONTENT_ERROR=3]="MANIFEST_CONTENT_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(S||(S={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(E||(E={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(A||(A={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(_||(_={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(T||(T={})),function(e){e.MAINNET="-239",e.TESTNET="-3"}(R||(R={}));const M={encode:function(e){let t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof Uint8Array?t=e:("string"!==typeof e&&(e=JSON.stringify(e)),t=O.decodeUTF8(e)),function(e,t){const n=O.encodeBase64(e);return t?encodeURIComponent(n):n}(t,n)},decode:function(e){const t=function(e,t){return t&&(e=decodeURIComponent(e)),O.decodeBase64(e)}(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return{toString:()=>O.encodeUTF8(t),toObject(){try{return JSON.parse(O.encodeUTF8(t))}catch(ar){return null}},toUint8Array:()=>t}}};function L(e){let t="";return e.forEach((e=>{t+=("0"+(255&e).toString(16)).slice(-2)})),t}function N(e){if(e.length%2!==0)throw new Error(`Cannot convert ${e} to bytesArray`);const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2)t[n/2]=parseInt(e.slice(n,n+2),16);return t}class I{constructor(e){this.nonceLength=24,this.keyPair=e?this.createKeypairFromString(e):this.createKeypair(),this.sessionId=L(this.keyPair.publicKey)}createKeypair(){return P.box.keyPair()}createKeypairFromString(e){return{publicKey:N(e.publicKey),secretKey:N(e.secretKey)}}createNonce(){return P.randomBytes(this.nonceLength)}encrypt(e,t){const n=(new TextEncoder).encode(e),r=this.createNonce();return function(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(r,P.box(n,r,t,this.keyPair.secretKey))}decrypt(e,t){const[n,r]=function(e,t){if(t>=e.length)throw new Error("Index is out of buffer");return[e.slice(0,t),e.slice(t)]}(e,this.nonceLength),o=P.box.open(r,n,t,this.keyPair.secretKey);if(!o)throw new Error(`Decryption error: \n message: ${e.toString()} \n sender pubkey: ${t.toString()} \n keypair pubkey: ${this.keyPair.publicKey.toString()} \n keypair secretkey: ${this.keyPair.secretKey.toString()}`);return(new TextDecoder).decode(o)}stringifyKeypair(){return{publicKey:L(this.keyPair.publicKey),secretKey:L(this.keyPair.secretKey)}}}function j(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function $(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(ar){i(ar)}}function s(e){try{l(r.throw(e))}catch(ar){i(ar)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}class W extends Error{constructor(e,t){super(e,t),this.message=`${W.prefix} ${this.constructor.name}${this.info?": "+this.info:""}${e?"\n"+e:""}`,Object.setPrototypeOf(this,W.prototype)}get info(){return""}}W.prefix="[TON_CONNECT_SDK_ERROR]";class D extends W{get info(){return"Passed DappMetadata is in incorrect format."}constructor(){super(...arguments),Object.setPrototypeOf(this,D.prototype)}}class U extends W{get info(){return"Passed `tonconnect-manifest.json` contains errors. Check format of your manifest. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest"}constructor(){super(...arguments),Object.setPrototypeOf(this,U.prototype)}}class F extends W{get info(){return"Manifest not found. Make sure you added `tonconnect-manifest.json` to the root of your app or passed correct manifestUrl. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest"}constructor(){super(...arguments),Object.setPrototypeOf(this,F.prototype)}}class z extends W{get info(){return"Wallet connection called but wallet already connected. To avoid the error, disconnect the wallet before doing a new connection."}constructor(){super(...arguments),Object.setPrototypeOf(this,z.prototype)}}class B extends W{get info(){return"Send transaction or other protocol methods called while wallet is not connected."}constructor(){super(...arguments),Object.setPrototypeOf(this,B.prototype)}}class q extends W{get info(){return"There is an attempt to connect to the injected wallet while it is not exists in the webpage."}constructor(){super(...arguments),Object.setPrototypeOf(this,q.prototype)}}class H extends W{get info(){return"Wallet doesn't support requested feature method."}constructor(e,t){super(e,t),Object.setPrototypeOf(this,H.prototype)}}class K extends W{get info(){return"Missing required features. You need to update your wallet."}constructor(e,t){super(e,t),Object.setPrototypeOf(this,K.prototype)}}class V extends W{get info(){return"User rejects the action in the wallet."}constructor(){super(...arguments),Object.setPrototypeOf(this,V.prototype)}}class G extends W{get info(){return"Request to the wallet contains errors."}constructor(){super(...arguments),Object.setPrototypeOf(this,G.prototype)}}class Q extends W{get info(){return"App tries to send rpc request to the injected wallet while not connected."}constructor(){super(...arguments),Object.setPrototypeOf(this,Q.prototype)}}class Z extends W{get info(){return"An error occurred while fetching the wallets list."}constructor(){super(...arguments),Object.setPrototypeOf(this,Z.prototype)}}class Y extends W{get info(){return"Passed address is in incorrect format."}constructor(){super(...arguments),Object.setPrototypeOf(this,Y.prototype)}}class X extends W{get info(){return"Passed hex is in incorrect format."}constructor(){super(...arguments),Object.setPrototypeOf(this,X.prototype)}}class J extends W{constructor(){super(...arguments),Object.setPrototypeOf(this,J.prototype)}}const ee={[S.UNKNOWN_ERROR]:J,[S.USER_REJECTS_ERROR]:V,[S.BAD_REQUEST_ERROR]:G,[S.UNKNOWN_APP_ERROR]:Q,[S.MANIFEST_NOT_FOUND_ERROR]:F,[S.MANIFEST_CONTENT_ERROR]:U};const te=new class{parseError(e){let t=J;return e.code in ee&&(t=ee[e.code]||J),new t(e.message)}};class ne{isError(e){return"error"in e}}const re={[A.UNKNOWN_ERROR]:J,[A.USER_REJECTS_ERROR]:V,[A.BAD_REQUEST_ERROR]:G,[A.UNKNOWN_APP_ERROR]:Q};const oe=new class extends ne{convertToRpcRequest(e){return{method:"sendTransaction",params:[JSON.stringify(e)]}}parseAndThrowError(e){let t=J;throw e.error.code in re&&(t=re[e.error.code]||J),new t(e.error.message)}convertFromRpcResponse(e){return{boc:e.result}}},ie={[_.UNKNOWN_ERROR]:J,[_.USER_REJECTS_ERROR]:V,[_.BAD_REQUEST_ERROR]:G,[_.UNKNOWN_APP_ERROR]:Q};const ae=new class extends ne{convertToRpcRequest(e){return{method:"signData",params:[JSON.stringify(e)]}}parseAndThrowError(e){let t=J;throw e.error.code in ie&&(t=ie[e.error.code]||J),new t(e.error.message)}convertFromRpcResponse(e){return e.result}};class se{constructor(e,t){this.storage=e,this.storeKey="ton-connect-storage_http-bridge-gateway::"+t}storeLastEventId(e){return $(this,void 0,void 0,(function*(){return this.storage.setItem(this.storeKey,e)}))}removeLastEventId(){return $(this,void 0,void 0,(function*(){return this.storage.removeItem(this.storeKey)}))}getLastEventId(){return $(this,void 0,void 0,(function*(){const e=yield this.storage.getItem(this.storeKey);return e||null}))}}function le(e,t){return function(e){return"/"===e.slice(-1)?e.slice(0,-1):e}(e)+"/"+t}function ce(e){if(!e)return!1;const t=new URL(e);return"tg:"===t.protocol||"t.me"===t.hostname}function ue(e){return e.replaceAll(".","%2E").replaceAll("-","%2D").replaceAll("_","%5F").replaceAll("&","-").replaceAll("=","__").replaceAll("%","--")}function de(e,t){return $(this,void 0,void 0,(function*(){return new Promise(((n,r)=>{var o,i;if(null===(o=null===t||void 0===t?void 0:t.signal)||void 0===o?void 0:o.aborted)return void r(new W("Delay aborted"));const a=setTimeout((()=>n()),e);null===(i=null===t||void 0===t?void 0:t.signal)||void 0===i||i.addEventListener("abort",(()=>{clearTimeout(a),r(new W("Delay aborted"))}))}))}))}function fe(e){const t=new AbortController;return(null===e||void 0===e?void 0:e.aborted)?t.abort():null===e||void 0===e||e.addEventListener("abort",(()=>t.abort()),{once:!0}),t}function pe(e,t){var n,r;return $(this,void 0,void 0,(function*(){const o=null!==(n=null===t||void 0===t?void 0:t.attempts)&&void 0!==n?n:10,i=null!==(r=null===t||void 0===t?void 0:t.delayMs)&&void 0!==r?r:200,a=fe(null===t||void 0===t?void 0:t.signal);if("function"!==typeof e)throw new W("Expected a function, got "+typeof e);let s,l=0;for(;l<o;){if(a.signal.aborted)throw new W(`Aborted after attempts ${l}`);try{return yield e({signal:a.signal})}catch(c){s=c,l++,l<o&&(yield de(i))}}throw s}))}function he(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.debug("[TON_CONNECT_SDK]",...t)}catch(at){}}function ge(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.error("[TON_CONNECT_SDK]",...t)}catch(at){}}class me{constructor(e,t,n,r,o){this.bridgeUrl=t,this.sessionId=n,this.listener=r,this.errorsListener=o,this.ssePath="events",this.postPath="message",this.heartbeatMessage="heartbeat",this.defaultTtl=300,this.defaultReconnectDelay=2e3,this.defaultResendDelay=5e3,this.eventSource=function(e,t){var n=this;let r=null,o=null,i=null,a=null,s=null;const l=function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];return $(n,void 0,void 0,(function*(){if(a=null!==l&&void 0!==l?l:null,null===s||void 0===s||s.abort(),s=fe(l),s.signal.aborted)throw new W("Resource creation was aborted");o=null!==u&&void 0!==u?u:null;const n=e(s.signal,...u);i=n;const c=yield n;if(i!==n&&c!==r)throw yield t(c),new W("Resource creation was aborted by a new resource creation");return r=c,r}))};return{create:l,current:()=>null!==r&&void 0!==r?r:null,dispose:()=>$(this,void 0,void 0,(function*(){try{const e=r;r=null;const n=i;i=null;try{null===s||void 0===s||s.abort()}catch(ar){}yield Promise.allSettled([e?t(e):Promise.resolve(),n?t(yield n):Promise.resolve()])}catch(ar){}})),recreate:e=>$(this,void 0,void 0,(function*(){const t=r,n=i,s=o,c=a;if(yield de(e),t===r&&n===i&&s===o&&c===a)return yield l(a,...null!==s&&void 0!==s?s:[]);throw new W("Resource recreation was aborted by a new resource creation")}))}}(((e,t)=>$(this,void 0,void 0,(function*(){const n={bridgeUrl:this.bridgeUrl,ssePath:this.ssePath,sessionId:this.sessionId,bridgeGatewayStorage:this.bridgeGatewayStorage,errorHandler:this.errorsHandler.bind(this),messageHandler:this.messagesHandler.bind(this),signal:e,openingDeadlineMS:t};return yield function(e){return $(this,void 0,void 0,(function*(){return yield function(e,t){const n=null===t||void 0===t?void 0:t.timeout,r=fe(null===t||void 0===t?void 0:t.signal);return new Promise(((t,o)=>$(this,void 0,void 0,(function*(){if(r.signal.aborted)return void o(new W("Operation aborted"));let i;"undefined"!==typeof n&&(i=setTimeout((()=>{r.abort(),o(new W(`Timeout after ${n}ms`))}),n)),r.signal.addEventListener("abort",(()=>{clearTimeout(i),o(new W("Operation aborted"))}),{once:!0});const a={timeout:n,abort:r.signal};yield e((function(){clearTimeout(i),t(...arguments)}),(()=>{clearTimeout(i),o()}),a)}))))}(((t,n,r)=>$(this,void 0,void 0,(function*(){var o;const i=fe(r.signal).signal;if(i.aborted)return void n(new W("Bridge connection aborted"));const a=new URL(le(e.bridgeUrl,e.ssePath));a.searchParams.append("client_id",e.sessionId);const s=yield e.bridgeGatewayStorage.getLastEventId();if(s&&a.searchParams.append("last_event_id",s),i.aborted)return void n(new W("Bridge connection aborted"));const l=new EventSource(a.toString());l.onerror=r=>$(this,void 0,void 0,(function*(){if(i.aborted)return l.close(),void n(new W("Bridge connection aborted"));try{const n=yield e.errorHandler(l,r);n!==l&&l.close(),n&&n!==l&&t(n)}catch(ar){l.close(),n(ar)}})),l.onopen=()=>{if(i.aborted)return l.close(),void n(new W("Bridge connection aborted"));t(l)},l.onmessage=t=>{if(i.aborted)return l.close(),void n(new W("Bridge connection aborted"));e.messageHandler(t)},null===(o=e.signal)||void 0===o||o.addEventListener("abort",(()=>{l.close(),n(new W("Bridge connection aborted"))}))}))),{timeout:e.openingDeadlineMS,signal:e.signal})}))}(n)}))),(e=>$(this,void 0,void 0,(function*(){e.close()})))),this.bridgeGatewayStorage=new se(e,t)}get isReady(){const e=this.eventSource.current();return(null===e||void 0===e?void 0:e.readyState)===EventSource.OPEN}get isClosed(){const e=this.eventSource.current();return(null===e||void 0===e?void 0:e.readyState)!==EventSource.OPEN}get isConnecting(){const e=this.eventSource.current();return(null===e||void 0===e?void 0:e.readyState)===EventSource.CONNECTING}registerSession(e){return $(this,void 0,void 0,(function*(){yield this.eventSource.create(null===e||void 0===e?void 0:e.signal,null===e||void 0===e?void 0:e.openingDeadlineMS)}))}send(e,t,n,r){var o;return $(this,void 0,void 0,(function*(){const i={};"number"===typeof r?i.ttl=r:(i.ttl=null===r||void 0===r?void 0:r.ttl,i.signal=null===r||void 0===r?void 0:r.signal,i.attempts=null===r||void 0===r?void 0:r.attempts);const a=new URL(le(this.bridgeUrl,this.postPath));a.searchParams.append("client_id",this.sessionId),a.searchParams.append("to",t),a.searchParams.append("ttl",((null===i||void 0===i?void 0:i.ttl)||this.defaultTtl).toString()),a.searchParams.append("topic",n);const s=M.encode(e);yield pe((e=>$(this,void 0,void 0,(function*(){const t=yield this.post(a,s,e.signal);if(!t.ok)throw new W(`Bridge send failed, status ${t.status}`)}))),{attempts:null!==(o=null===i||void 0===i?void 0:i.attempts)&&void 0!==o?o:Number.MAX_SAFE_INTEGER,delayMs:this.defaultResendDelay,signal:null===i||void 0===i?void 0:i.signal})}))}pause(){this.eventSource.dispose().catch((e=>ge(`Bridge pause failed, ${e}`)))}unPause(){return $(this,void 0,void 0,(function*(){yield this.eventSource.recreate(0)}))}close(){return $(this,void 0,void 0,(function*(){yield this.eventSource.dispose().catch((e=>ge(`Bridge close failed, ${e}`)))}))}setListener(e){this.listener=e}setErrorsListener(e){this.errorsListener=e}post(e,t,n){return $(this,void 0,void 0,(function*(){const r=yield fetch(e,{method:"post",body:t,signal:n});if(!r.ok)throw new W(`Bridge send failed, status ${r.status}`);return r}))}errorsHandler(e,t){return $(this,void 0,void 0,(function*(){if(this.isConnecting)throw e.close(),new W("Bridge error, failed to connect");if(!this.isReady){if(this.isClosed)return e.close(),he(`Bridge reconnecting, ${this.defaultReconnectDelay}ms delay`),yield this.eventSource.recreate(this.defaultReconnectDelay);throw new W("Bridge error, unknown state")}try{this.errorsListener(t)}catch(t){}}))}messagesHandler(e){return $(this,void 0,void 0,(function*(){if(e.data===this.heartbeatMessage)return;if(yield this.bridgeGatewayStorage.storeLastEventId(e.lastEventId),this.isClosed)return;let t;try{t=JSON.parse(e.data)}catch(Bm){throw new W(`Bridge message parse failed, message ${e.data}`)}this.listener(t)}))}}function ye(e){return!("connectEvent"in e)}class ve{constructor(e){this.storage=e,this.storeKey="ton-connect-storage_bridge-connection"}storeConnection(e){return $(this,void 0,void 0,(function*(){if("injected"===e.type)return this.storage.setItem(this.storeKey,JSON.stringify(e));if(!ye(e)){const t={sessionKeyPair:e.session.sessionCrypto.stringifyKeypair(),walletPublicKey:e.session.walletPublicKey,bridgeUrl:e.session.bridgeUrl},n={type:"http",connectEvent:e.connectEvent,session:t,lastWalletEventId:e.lastWalletEventId,nextRpcRequestId:e.nextRpcRequestId};return this.storage.setItem(this.storeKey,JSON.stringify(n))}const t={type:"http",connectionSource:e.connectionSource,sessionCrypto:e.sessionCrypto.stringifyKeypair(),createdAt:Date.now()};return this.storage.setItem(this.storeKey,JSON.stringify(t))}))}removeConnection(){return $(this,void 0,void 0,(function*(){return this.storage.removeItem(this.storeKey)}))}getConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.storage.getItem(this.storeKey);if(!e)return null;const t=JSON.parse(e);if("injected"===t.type)return t;if(!function(e){return!("connectEvent"in e)}(t)){const e=new I(t.session.sessionKeyPair);return{type:"http",connectEvent:t.connectEvent,lastWalletEventId:t.lastWalletEventId,nextRpcRequestId:t.nextRpcRequestId,session:{sessionCrypto:e,bridgeUrl:t.session.bridgeUrl,walletPublicKey:t.session.walletPublicKey}}}return function(e){var t;return Date.now()-(null!==(t=e.createdAt)&&void 0!==t?t:0)>3e5}(t)?(yield this.removeConnection(),null):{type:"http",sessionCrypto:new I(t.sessionCrypto),connectionSource:t.connectionSource}}))}getHttpConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(!e)throw new W("Trying to read HTTP connection source while nothing is stored");if("injected"===e.type)throw new W("Trying to read HTTP connection source while injected connection is stored");return e}))}getHttpPendingConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(!e)throw new W("Trying to read HTTP connection source while nothing is stored");if("injected"===e.type)throw new W("Trying to read HTTP connection source while injected connection is stored");if(!ye(e))throw new W("Trying to read HTTP-pending connection while http connection is stored");return e}))}getInjectedConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(!e)throw new W("Trying to read Injected bridge connection source while nothing is stored");if("http"===(null===e||void 0===e?void 0:e.type))throw new W("Trying to read Injected bridge connection source while HTTP connection is stored");return e}))}storedConnectionType(){return $(this,void 0,void 0,(function*(){const e=yield this.storage.getItem(this.storeKey);if(!e)return null;return JSON.parse(e).type}))}storeLastWalletEventId(e){return $(this,void 0,void 0,(function*(){const t=yield this.getConnection();if(t&&"http"===t.type&&!ye(t))return t.lastWalletEventId=e,this.storeConnection(t)}))}getLastWalletEventId(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(e&&"lastWalletEventId"in e)return e.lastWalletEventId}))}increaseNextRpcRequestId(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(e&&"nextRpcRequestId"in e){const t=e.nextRpcRequestId||0;return e.nextRpcRequestId=t+1,this.storeConnection(e)}}))}getNextRpcRequestId(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();return e&&"nextRpcRequestId"in e&&e.nextRpcRequestId||0}))}}class be{constructor(e,t){this.storage=e,this.walletConnectionSource=t,this.type="http",this.standardUniversalLink="tc://",this.pendingRequests=new Map,this.session=null,this.gateway=null,this.pendingGateways=[],this.listeners=[],this.defaultOpeningDeadlineMS=12e3,this.defaultRetryTimeoutMS=2e3,this.connectionStorage=new ve(e)}static fromStorage(e){return $(this,void 0,void 0,(function*(){const t=new ve(e),n=yield t.getHttpConnection();return ye(n)?new be(e,n.connectionSource):new be(e,{bridgeUrl:n.session.bridgeUrl})}))}connect(e,t){var n;const r=fe(null===t||void 0===t?void 0:t.signal);null===(n=this.abortController)||void 0===n||n.abort(),this.abortController=r,this.closeGateways();const o=new I;this.session={sessionCrypto:o,bridgeUrl:"bridgeUrl"in this.walletConnectionSource?this.walletConnectionSource.bridgeUrl:""},this.connectionStorage.storeConnection({type:"http",connectionSource:this.walletConnectionSource,sessionCrypto:o}).then((()=>$(this,void 0,void 0,(function*(){r.signal.aborted||(yield pe((e=>{var n;return this.openGateways(o,{openingDeadlineMS:null!==(n=null===t||void 0===t?void 0:t.openingDeadlineMS)&&void 0!==n?n:this.defaultOpeningDeadlineMS,signal:null===e||void 0===e?void 0:e.signal})}),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:r.signal}))}))));const i="universalLink"in this.walletConnectionSource&&this.walletConnectionSource.universalLink?this.walletConnectionSource.universalLink:this.standardUniversalLink;return this.generateUniversalLink(i,e)}restoreConnection(e){var t,n;return $(this,void 0,void 0,(function*(){const r=fe(null===e||void 0===e?void 0:e.signal);if(null===(t=this.abortController)||void 0===t||t.abort(),this.abortController=r,r.signal.aborted)return;this.closeGateways();const o=yield this.connectionStorage.getHttpConnection();if(!o)return;if(r.signal.aborted)return;const i=null!==(n=null===e||void 0===e?void 0:e.openingDeadlineMS)&&void 0!==n?n:this.defaultOpeningDeadlineMS;if(ye(o))return this.session={sessionCrypto:o.sessionCrypto,bridgeUrl:"bridgeUrl"in this.walletConnectionSource?this.walletConnectionSource.bridgeUrl:""},yield this.openGateways(o.sessionCrypto,{openingDeadlineMS:i,signal:null===r||void 0===r?void 0:r.signal});if(Array.isArray(this.walletConnectionSource))throw new W("Internal error. Connection source is array while WalletConnectionSourceHTTP was expected.");if(this.session=o.session,this.gateway&&(he("Gateway is already opened, closing previous gateway"),yield this.gateway.close()),this.gateway=new me(this.storage,this.walletConnectionSource.bridgeUrl,o.session.sessionCrypto.sessionId,this.gatewayListener.bind(this),this.gatewayErrorsListener.bind(this)),!r.signal.aborted){this.listeners.forEach((e=>e(o.connectEvent)));try{yield pe((e=>this.gateway.registerSession({openingDeadlineMS:i,signal:e.signal})),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:r.signal})}catch(ar){return void(yield this.disconnect({signal:r.signal}))}}}))}sendRequest(e,t){const n={};return"function"===typeof t?n.onRequestSent=t:(n.onRequestSent=null===t||void 0===t?void 0:t.onRequestSent,n.signal=null===t||void 0===t?void 0:t.signal,n.attempts=null===t||void 0===t?void 0:t.attempts),new Promise(((t,r)=>$(this,void 0,void 0,(function*(){var o;if(!this.gateway||!this.session||!("walletPublicKey"in this.session))throw new W("Trying to send bridge request without session");const i=(yield this.connectionStorage.getNextRpcRequestId()).toString();yield this.connectionStorage.increaseNextRpcRequestId(),he("Send http-bridge request:",Object.assign(Object.assign({},e),{id:i}));const a=this.session.sessionCrypto.encrypt(JSON.stringify(Object.assign(Object.assign({},e),{id:i})),N(this.session.walletPublicKey));try{yield this.gateway.send(a,this.session.walletPublicKey,e.method,{attempts:null===n||void 0===n?void 0:n.attempts,signal:null===n||void 0===n?void 0:n.signal}),null===(o=null===n||void 0===n?void 0:n.onRequestSent)||void 0===o||o.call(n),this.pendingRequests.set(i.toString(),t)}catch(ar){r(ar)}}))))}closeConnection(){this.closeGateways(),this.listeners=[],this.session=null,this.gateway=null}disconnect(e){return $(this,void 0,void 0,(function*(){return new Promise((t=>$(this,void 0,void 0,(function*(){let n=!1,r=null;const o=()=>{n||(n=!0,this.removeBridgeAndSession().then(t))};try{this.closeGateways();const t=fe(null===e||void 0===e?void 0:e.signal);r=setTimeout((()=>{t.abort()}),this.defaultOpeningDeadlineMS),yield this.sendRequest({method:"disconnect",params:[]},{onRequestSent:o,signal:t.signal,attempts:1})}catch(ar){he("Disconnect error:",ar),n||this.removeBridgeAndSession().then(t)}finally{r&&clearTimeout(r),o()}}))))}))}listen(e){return this.listeners.push(e),()=>this.listeners=this.listeners.filter((t=>t!==e))}pause(){var e;null===(e=this.gateway)||void 0===e||e.pause(),this.pendingGateways.forEach((e=>e.pause()))}unPause(){return $(this,void 0,void 0,(function*(){const e=this.pendingGateways.map((e=>e.unPause()));this.gateway&&e.push(this.gateway.unPause()),yield Promise.all(e)}))}pendingGatewaysListener(e,t,n){return $(this,void 0,void 0,(function*(){if(this.pendingGateways.includes(e))return this.closeGateways({except:e}),this.gateway&&(he("Gateway is already opened, closing previous gateway"),yield this.gateway.close()),this.session.bridgeUrl=t,this.gateway=e,this.gateway.setErrorsListener(this.gatewayErrorsListener.bind(this)),this.gateway.setListener(this.gatewayListener.bind(this)),this.gatewayListener(n);yield e.close()}))}gatewayListener(e){return $(this,void 0,void 0,(function*(){const t=JSON.parse(this.session.sessionCrypto.decrypt(M.decode(e.message).toUint8Array(),N(e.from)));if(he("Wallet message received:",t),!("event"in t)){const e=t.id.toString(),n=this.pendingRequests.get(e);return n?(n(t),void this.pendingRequests.delete(e)):void he(`Response id ${e} doesn't match any request's id`)}if(void 0!==t.id){const e=yield this.connectionStorage.getLastWalletEventId();if(void 0!==e&&t.id<=e)return void ge(`Received event id (=${t.id}) must be greater than stored last wallet event id (=${e}) `);"connect"!==t.event&&(yield this.connectionStorage.storeLastWalletEventId(t.id))}const n=this.listeners;"connect"===t.event&&(yield this.updateSession(t,e.from)),"disconnect"===t.event&&(he("Removing bridge and session: received disconnect event"),yield this.removeBridgeAndSession()),n.forEach((e=>e(t)))}))}gatewayErrorsListener(e){return $(this,void 0,void 0,(function*(){throw new W(`Bridge error ${JSON.stringify(e)}`)}))}updateSession(e,t){return $(this,void 0,void 0,(function*(){this.session=Object.assign(Object.assign({},this.session),{walletPublicKey:t});const n=e.payload.items.find((e=>"ton_addr"===e.name)),r=Object.assign(Object.assign({},e),{payload:Object.assign(Object.assign({},e.payload),{items:[n]})});yield this.connectionStorage.storeConnection({type:"http",session:this.session,lastWalletEventId:e.id,connectEvent:r,nextRpcRequestId:0})}))}removeBridgeAndSession(){return $(this,void 0,void 0,(function*(){this.closeConnection(),yield this.connectionStorage.removeConnection()}))}generateUniversalLink(e,t){return ce(e)?this.generateTGUniversalLink(e,t):this.generateRegularUniversalLink(e,t)}generateRegularUniversalLink(e,t){const n=new URL(e);return n.searchParams.append("v",2..toString()),n.searchParams.append("id",this.session.sessionCrypto.sessionId),n.searchParams.append("r",JSON.stringify(t)),n.toString()}generateTGUniversalLink(e,t){const n="tonconnect-"+ue(this.generateRegularUniversalLink("about:blank",t).split("?")[1]),r=this.convertToDirectLink(e),o=new URL(r);return o.searchParams.append("startapp",n),o.toString()}convertToDirectLink(e){const t=new URL(e);return t.searchParams.has("attach")&&(t.searchParams.delete("attach"),t.pathname+="/start"),t.toString()}openGateways(e,t){return $(this,void 0,void 0,(function*(){return Array.isArray(this.walletConnectionSource)?(this.pendingGateways.map((e=>e.close().catch())),this.pendingGateways=this.walletConnectionSource.map((t=>{const n=new me(this.storage,t.bridgeUrl,e.sessionId,(()=>{}),(()=>{}));return n.setListener((e=>this.pendingGatewaysListener(n,t.bridgeUrl,e))),n})),void(yield Promise.allSettled(this.pendingGateways.map((e=>pe((n=>{var r;return this.pendingGateways.some((t=>t===e))?e.registerSession({openingDeadlineMS:null!==(r=null===t||void 0===t?void 0:t.openingDeadlineMS)&&void 0!==r?r:this.defaultOpeningDeadlineMS,signal:n.signal}):e.close()}),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:null===t||void 0===t?void 0:t.signal})))))):(this.gateway&&(he("Gateway is already opened, closing previous gateway"),yield this.gateway.close()),this.gateway=new me(this.storage,this.walletConnectionSource.bridgeUrl,e.sessionId,this.gatewayListener.bind(this),this.gatewayErrorsListener.bind(this)),yield this.gateway.registerSession({openingDeadlineMS:null===t||void 0===t?void 0:t.openingDeadlineMS,signal:null===t||void 0===t?void 0:t.signal}))}))}closeGateways(e){var t;null===(t=this.gateway)||void 0===t||t.close(),this.pendingGateways.filter((t=>t!==(null===e||void 0===e?void 0:e.except))).forEach((e=>e.close())),this.pendingGateways=[]}}function we(e,t){return xe(e,[t])}function xe(e,t){return!(!e||"object"!==typeof e)&&t.every((t=>t in e))}class Ce{constructor(){this.storage={}}static getInstance(){return Ce.instance||(Ce.instance=new Ce),Ce.instance}get length(){return Object.keys(this.storage).length}clear(){this.storage={}}getItem(e){var t;return null!==(t=this.storage[e])&&void 0!==t?t:null}key(e){var t;const n=Object.keys(this.storage);return e<0||e>=n.length?null:null!==(t=n[e])&&void 0!==t?t:null}removeItem(e){delete this.storage[e]}setItem(e,t){this.storage[e]=t}}function ke(){if("undefined"!==typeof window)return window}function Se(){if("undefined"!==typeof document)return document}function Ee(){var e;const t=null===(e=ke())||void 0===e?void 0:e.location.origin;return t?t+"/tonconnect-manifest.json":""}function Ae(){if(function(){try{return"undefined"!==typeof localStorage}catch(at){return!1}}())return localStorage;if("undefined"!==typeof process&&null!=process.versions&&null!=process.versions.node)throw new W("`localStorage` is unavailable, but it is required for TonConnect. For more details, see https://github.com/ton-connect/sdk/tree/main/packages/sdk#init-connector");return Ce.getInstance()}class _e{constructor(e,t){this.injectedWalletKey=t,this.type="injected",this.unsubscribeCallback=null,this.listenSubscriptions=!1,this.listeners=[];const n=_e.window;if(!_e.isWindowContainsWallet(n,t))throw new q;this.connectionStorage=new ve(e),this.injectedWallet=n[t].tonconnect}static fromStorage(e){return $(this,void 0,void 0,(function*(){const t=new ve(e),n=yield t.getInjectedConnection();return new _e(e,n.jsBridgeKey)}))}static isWalletInjected(e){return _e.isWindowContainsWallet(this.window,e)}static isInsideWalletBrowser(e){return!!_e.isWindowContainsWallet(this.window,e)&&this.window[e].tonconnect.isWalletBrowser}static getCurrentlyInjectedWallets(){if(!this.window)return[];return function(){const e=ke();if(!e)return[];try{return Object.keys(e)}catch(at){return[]}}().filter((e=>{let[t,n]=e;return function(e){try{return!(!we(e,"tonconnect")||!we(e.tonconnect,"walletInfo"))&&xe(e.tonconnect.walletInfo,["name","app_name","image","about_url","platforms"])}catch(at){return!1}}(n)})).map((e=>{let[t,n]=e;return{name:n.tonconnect.walletInfo.name,appName:n.tonconnect.walletInfo.app_name,aboutUrl:n.tonconnect.walletInfo.about_url,imageUrl:n.tonconnect.walletInfo.image,tondns:n.tonconnect.walletInfo.tondns,jsBridgeKey:t,injected:!0,embedded:n.tonconnect.isWalletBrowser,platforms:n.tonconnect.walletInfo.platforms,features:n.tonconnect.walletInfo.features}}))}static isWindowContainsWallet(e,t){return!!e&&t in e&&"object"===typeof e[t]&&"tonconnect"in e[t]}connect(e){this._connect(2,e)}restoreConnection(){return $(this,void 0,void 0,(function*(){try{he("Injected Provider restoring connection...");const e=yield this.injectedWallet.restoreConnection();he("Injected Provider restoring connection response",e),"connect"===e.event?(this.makeSubscriptions(),this.listeners.forEach((t=>t(e)))):yield this.connectionStorage.removeConnection()}catch(ar){yield this.connectionStorage.removeConnection(),console.error(ar)}}))}closeConnection(){this.listenSubscriptions&&this.injectedWallet.disconnect(),this.closeAllListeners()}disconnect(){return $(this,void 0,void 0,(function*(){return new Promise((e=>{const t=()=>{this.closeAllListeners(),this.connectionStorage.removeConnection().then(e)};try{this.injectedWallet.disconnect(),t()}catch(ar){he(ar),this.sendRequest({method:"disconnect",params:[]},t)}}))}))}closeAllListeners(){var e;this.listenSubscriptions=!1,this.listeners=[],null===(e=this.unsubscribeCallback)||void 0===e||e.call(this)}listen(e){return this.listeners.push(e),()=>this.listeners=this.listeners.filter((t=>t!==e))}sendRequest(e,t){var n;return $(this,void 0,void 0,(function*(){const r={};"function"===typeof t?r.onRequestSent=t:(r.onRequestSent=null===t||void 0===t?void 0:t.onRequestSent,r.signal=null===t||void 0===t?void 0:t.signal);const o=(yield this.connectionStorage.getNextRpcRequestId()).toString();yield this.connectionStorage.increaseNextRpcRequestId(),he("Send injected-bridge request:",Object.assign(Object.assign({},e),{id:o}));const i=this.injectedWallet.send(Object.assign(Object.assign({},e),{id:o}));return i.then((e=>he("Wallet message received:",e))),null===(n=null===r||void 0===r?void 0:r.onRequestSent)||void 0===n||n.call(r),i}))}_connect(e,t){return $(this,void 0,void 0,(function*(){try{he(`Injected Provider connect request: protocolVersion: ${e}, message:`,t);const n=yield this.injectedWallet.connect(e,t);he("Injected Provider connect response:",n),"connect"===n.event&&(yield this.updateSession(),this.makeSubscriptions()),this.listeners.forEach((e=>e(n)))}catch(ar){he("Injected Provider connect error:",ar);const t={event:"connect_error",payload:{code:0,message:null===ar||void 0===ar?void 0:ar.toString()}};this.listeners.forEach((e=>e(t)))}}))}makeSubscriptions(){this.listenSubscriptions=!0,this.unsubscribeCallback=this.injectedWallet.listen((e=>{he("Wallet message received:",e),this.listenSubscriptions&&this.listeners.forEach((t=>t(e))),"disconnect"===e.event&&this.disconnect()}))}updateSession(){return this.connectionStorage.storeConnection({type:"injected",jsBridgeKey:this.injectedWalletKey,nextRpcRequestId:0})}}_e.window=ke();class Te{constructor(){this.localStorage=Ae()}getItem(e){return $(this,void 0,void 0,(function*(){return this.localStorage.getItem(e)}))}removeItem(e){return $(this,void 0,void 0,(function*(){this.localStorage.removeItem(e)}))}setItem(e,t){return $(this,void 0,void 0,(function*(){this.localStorage.setItem(e,t)}))}}function Re(e){return function(e){return"jsBridgeKey"in e}(e)&&e.injected}function Oe(e){return Re(e)&&e.embedded}function Pe(e){return"bridgeUrl"in e}const Me=[{app_name:"telegram-wallet",name:"Wallet",image:"https://wallet.tg/images/logo-288.png",about_url:"https://wallet.tg/",universal_url:"https://t.me/wallet?attach=wallet",bridge:[{type:"sse",url:"https://walletbot.me/tonconnect-bridge/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"tonkeeper",name:"Tonkeeper",image:"https://tonkeeper.com/assets/tonconnect-icon.png",tondns:"tonkeeper.ton",about_url:"https://tonkeeper.com",universal_url:"https://app.tonkeeper.com/ton-connect",deepLink:"tonkeeper-tc://",bridge:[{type:"sse",url:"https://bridge.tonapi.io/bridge"},{type:"js",key:"tonkeeper"}],platforms:["ios","android","chrome","firefox","macos"]},{app_name:"mytonwallet",name:"MyTonWallet",image:"https://static.mytonwallet.io/icon-256.png",about_url:"https://mytonwallet.io",universal_url:"https://connect.mytonwallet.org",bridge:[{type:"js",key:"mytonwallet"},{type:"sse",url:"https://tonconnectbridge.mytonwallet.org/bridge/"}],platforms:["chrome","windows","macos","linux","ios","android","firefox"]},{app_name:"tonhub",name:"Tonhub",image:"https://tonhub.com/tonconnect_logo.png",about_url:"https://tonhub.com",universal_url:"https://tonhub.com/ton-connect",bridge:[{type:"js",key:"tonhub"},{type:"sse",url:"https://connect.tonhubapi.com/tonconnect"}],platforms:["ios","android"]},{app_name:"bitgetTonWallet",name:"Bitget Wallet",image:"https://raw.githubusercontent.com/bitgetwallet/download/refs/heads/main/logo/png/bitget_wallet_logo_288_mini.png",about_url:"https://web3.bitget.com",deepLink:"bitkeep://",bridge:[{type:"js",key:"bitgetTonWallet"},{type:"sse",url:"https://ton-connect-bridge.bgwapi.io/bridge"}],platforms:["ios","android","chrome"],universal_url:"https://bkcode.vip/ton-connect"},{app_name:"okxMiniWallet",name:"OKX Mini Wallet",image:"https://static.okx.com/cdn/assets/imgs/2411/8BE1A4A434D8F58A.png",about_url:"https://www.okx.com/web3",universal_url:"https://t.me/OKX_WALLET_BOT?attach=wallet",bridge:[{type:"sse",url:"https://www.okx.com/tonbridge/discover/rpc/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"binanceWeb3TonWallet",name:"Binance Web3 Wallet",image:"https://public.bnbstatic.com/static/binance-w3w/ton-provider/binancew3w.png",about_url:"https://www.binance.com/en/web3wallet",deepLink:"bnc://app.binance.com/cedefi/ton-connect",bridge:[{type:"js",key:"binancew3w"},{type:"sse",url:"https://wallet.binance.com/tonbridge/bridge"}],platforms:["ios","android","macos","windows","linux"],universal_url:"https://app.binance.com/cedefi/ton-connect"},{app_name:"fintopio-tg",name:"Fintopio",image:"https://fintopio.com/tonconnect-icon.png",about_url:"https://fintopio.com",universal_url:"https://t.me/fintopio?attach=wallet",bridge:[{type:"sse",url:"https://wallet-bridge.fintopio.com/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"okxTonWallet",name:"OKX Wallet",image:"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png",about_url:"https://www.okx.com/web3",universal_url:"https://www.okx.com/download?appendQuery=true&deeplink=okx://web3/wallet/tonconnect",bridge:[{type:"js",key:"okxTonWallet"},{type:"sse",url:"https://www.okx.com/tonbridge/discover/rpc/bridge"}],platforms:["chrome","safari","firefox","ios","android"]},{app_name:"hot",name:"HOT",image:"https://raw.githubusercontent.com/hot-dao/media/main/logo.png",about_url:"https://hot-labs.org/",universal_url:"https://t.me/herewalletbot?attach=wallet",bridge:[{type:"sse",url:"https://sse-bridge.hot-labs.org"},{type:"js",key:"hotWallet"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"bybitTonWallet",name:"Bybit Wallet",image:"https://raw.githubusercontent.com/bybit-web3/bybit-web3.github.io/main/docs/images/bybit-logo.png",about_url:"https://www.bybit.com/web3",universal_url:"https://app.bybit.com/ton-connect",deepLink:"bybitapp://",bridge:[{type:"js",key:"bybitTonWallet"},{type:"sse",url:"https://api-node.bybit.com/spot/api/web3/bridge/ton/bridge"}],platforms:["ios","android","chrome"]},{app_name:"dewallet",name:"DeWallet",image:"https://raw.githubusercontent.com/delab-team/manifests-images/main/WalletAvatar.png",about_url:"https://delabwallet.com",universal_url:"https://t.me/dewallet?attach=wallet",bridge:[{type:"sse",url:"https://bridge.dewallet.pro/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"safepalwallet",name:"SafePal",image:"https://s.pvcliping.com/web/public_image/SafePal_x288.png",tondns:"",about_url:"https://www.safepal.com",universal_url:"https://link.safepal.io/ton-connect",deepLink:"safepal-tc://",bridge:[{type:"sse",url:"https://ton-bridge.safepal.com/tonbridge/v1/bridge"},{type:"js",key:"safepalwallet"}],platforms:["ios","android","chrome","firefox"]},{app_name:"GateWallet",name:"GateWallet",image:"https://img.gatedataimg.com/prd-ordinal-imgs/036f07bb8730716e/gateio-0925.png",about_url:"https://www.gate.io/",bridge:[{type:"js",key:"gatetonwallet"},{type:"sse",url:"https://dapp.gateio.services/tonbridge_api/bridge/v1"}],platforms:["ios","android"],universal_url:"https://gateio.go.link/gateio/web3?adj_t=1ff8khdw_1fu4ccc7"},{app_name:"openmask",name:"OpenMask",image:"https://raw.githubusercontent.com/OpenProduct/openmask-extension/main/public/openmask-logo-288.png",about_url:"https://www.openmask.app/",bridge:[{type:"js",key:"openmask"}],platforms:["chrome"]},{app_name:"BitgetWeb3",name:"BitgetWeb3",image:"https://img.bitgetimg.com/image/third/1731638059795.png",about_url:"\u200bhttps://www.bitget.com",universal_url:"https://t.me/BitgetOfficialBot?attach=wallet",bridge:[{type:"sse",url:"https://ton-connect-bridge.bgwapi.io/bridge"}],platforms:["ios","android","windows","macos","linux"]},{app_name:"tobi",name:"Tobi",image:"https://app.tobiwallet.app/icons/logo-288.png",about_url:"https://tobi.fun",universal_url:"https://t.me/TobiCopilotBot?attach=wallet",bridge:[{type:"sse",url:"https://ton-bridge.tobiwallet.app/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"xtonwallet",name:"XTONWallet",image:"https://xtonwallet.com/assets/img/icon-256-back.png",about_url:"https://xtonwallet.com",bridge:[{type:"js",key:"xtonwallet"}],platforms:["chrome","firefox"]},{app_name:"tonwallet",name:"TON Wallet",image:"https://wallet.ton.org/assets/ui/qr-logo.png",about_url:"https://chrome.google.com/webstore/detail/ton-wallet/nphplpgoakhhjchkkhmiggakijnkhfnd",bridge:[{type:"js",key:"tonwallet"}],platforms:["chrome"]}];class Le{constructor(e){var t;this.walletsListCache=null,this.walletsListCacheCreationTimestamp=null,this.walletsListSource=null!==(t=null===e||void 0===e?void 0:e.walletsListSource)&&void 0!==t?t:"https://raw.githubusercontent.com/ton-blockchain/wallets-list/main/wallets-v2.json",this.cacheTTLMs=null===e||void 0===e?void 0:e.cacheTTLMs}getWallets(){return $(this,void 0,void 0,(function*(){return this.cacheTTLMs&&this.walletsListCacheCreationTimestamp&&Date.now()>this.walletsListCacheCreationTimestamp+this.cacheTTLMs&&(this.walletsListCache=null),this.walletsListCache||(this.walletsListCache=this.fetchWalletsList(),this.walletsListCache.then((()=>{this.walletsListCacheCreationTimestamp=Date.now()})).catch((()=>{this.walletsListCache=null,this.walletsListCacheCreationTimestamp=null}))),this.walletsListCache}))}getEmbeddedWallet(){return $(this,void 0,void 0,(function*(){const e=(yield this.getWallets()).filter(Oe);return 1===e.length?e[0]:null}))}fetchWalletsList(){return $(this,void 0,void 0,(function*(){let e=[];try{const t=yield fetch(this.walletsListSource);if(e=yield t.json(),!Array.isArray(e))throw new Z("Wrong wallets list format, wallets list must be an array.");const n=e.filter((e=>!this.isCorrectWalletConfigDTO(e)));n.length&&(ge(`Wallet(s) ${n.map((e=>(null===e||void 0===e?void 0:e.name)||"unknown")).join(", ")} config format is wrong. They were removed from the wallets list.`),e=e.filter((e=>this.isCorrectWalletConfigDTO(e))))}catch(ar){ge(ar),e=Me}let t=[];try{t=_e.getCurrentlyInjectedWallets()}catch(ar){ge(ar)}return this.mergeWalletsLists(this.walletConfigDTOListToWalletConfigList(e),t)}))}walletConfigDTOListToWalletConfigList(e){return e.map((e=>{const t={name:e.name,appName:e.app_name,imageUrl:e.image,aboutUrl:e.about_url,tondns:e.tondns,platforms:e.platforms,features:e.features};return e.bridge.forEach((n=>{if("sse"===n.type&&(t.bridgeUrl=n.url,t.universalLink=e.universal_url,t.deepLink=e.deepLink),"js"===n.type){const e=n.key;t.jsBridgeKey=e,t.injected=_e.isWalletInjected(e),t.embedded=_e.isInsideWalletBrowser(e)}})),t}))}mergeWalletsLists(e,t){return[...new Set(e.concat(t).map((e=>e.name))).values()].map((n=>{const r=e.find((e=>e.name===n)),o=t.find((e=>e.name===n));return Object.assign(Object.assign({},r&&Object.assign({},r)),o&&Object.assign({},o))}))}isCorrectWalletConfigDTO(e){if(!e||"object"!==typeof e)return!1;if(!("name"in e)||!("image"in e)||!("about_url"in e)||!("platforms"in e)||!("app_name"in e))return!1;if(!e.platforms||!Array.isArray(e.platforms)||!e.platforms.length)return!1;if(!("bridge"in e)||!Array.isArray(e.bridge)||!e.bridge.length)return!1;const t=e.bridge;if(t.some((e=>!e||"object"!==typeof e||!("type"in e))))return!1;const n=t.find((e=>"sse"===e.type));if(n&&("object"!==typeof n||!("url"in n)||!n.url||!e.universal_url))return!1;const r=t.find((e=>"js"===e.type));return!!(!r||"object"===typeof r&&"key"in r&&r.key)}}function Ne(e,t){const n=e.includes("SendTransaction"),r=je(e,"SendTransaction"),o={minMessages:t.requiredMessagesNumber,extraCurrencyRequired:t.requireExtraCurrencies};if(!n&&!r)throw new H("Wallet doesn't support SendTransaction feature.",{cause:{requiredFeature:{featureName:"SendTransaction",value:o}}});if(t.requireExtraCurrencies&&(!r||!r.extraCurrencySupported))throw new H("Wallet is not able to handle such SendTransaction request. Extra currencies support is required.",{cause:{requiredFeature:{featureName:"SendTransaction",value:o}}});if(r&&void 0!==r.maxMessages){if(r.maxMessages<t.requiredMessagesNumber)throw new H(`Wallet is not able to handle such SendTransaction request. Max support messages number is ${r.maxMessages}, but ${t.requiredMessagesNumber} is required.`,{cause:{requiredFeature:{featureName:"SendTransaction",value:o}}})}else!function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.warn("[TON_CONNECT_SDK]",...t)}catch(at){}}("Connected wallet didn't provide information about max allowed messages in the SendTransaction request. Request may be rejected by the wallet.")}function Ie(e,t){if("object"!==typeof t)return!0;const{sendTransaction:n,signData:r}=t;if(n){const t=je(e,"SendTransaction");if(!t)return!1;if(!function(e,t){const n=void 0===t.minMessages||t.minMessages<=e.maxMessages,r=!t.extraCurrencyRequired||e.extraCurrencySupported;return!(!n||!r)}(t,n))return!1}if(r){const t=je(e,"SignData");if(!t)return!1;if(!function(e,t){return t.types.every((t=>e.types.includes(t)))}(t,r))return!1}return!0}function je(e,t){return e.find((e=>e&&"object"===typeof e&&e.name===t))}function $e(e){return{type:"response-version",version:e}}function We(e){return{ton_connect_sdk_lib:e.ton_connect_sdk_lib,ton_connect_ui_lib:e.ton_connect_ui_lib}}function De(e,t){var n,r,o,i,a,s,l,c;const u=(null===(n=null===t||void 0===t?void 0:t.connectItems)||void 0===n?void 0:n.tonProof)&&"proof"in t.connectItems.tonProof?"ton_proof":"ton_addr";return{wallet_address:null!==(o=null===(r=null===t||void 0===t?void 0:t.account)||void 0===r?void 0:r.address)&&void 0!==o?o:null,wallet_type:null!==(i=null===t||void 0===t?void 0:t.device.appName)&&void 0!==i?i:null,wallet_version:null!==(a=null===t||void 0===t?void 0:t.device.appVersion)&&void 0!==a?a:null,auth_type:u,custom_data:Object.assign({chain_id:null!==(l=null===(s=null===t||void 0===t?void 0:t.account)||void 0===s?void 0:s.chain)&&void 0!==l?l:null,provider:null!==(c=null===t||void 0===t?void 0:t.provider)&&void 0!==c?c:null},We(e))}}function Ue(e){return{type:"connection-started",custom_data:We(e)}}function Fe(e,t){return Object.assign({type:"connection-completed",is_success:!0},De(e,t))}function ze(e,t,n){return{type:"connection-error",is_success:!1,error_message:t,error_code:null!==n&&void 0!==n?n:null,custom_data:We(e)}}function Be(e){return{type:"connection-restoring-started",custom_data:We(e)}}function qe(e,t){return Object.assign({type:"connection-restoring-completed",is_success:!0},De(e,t))}function He(e,t){return{type:"connection-restoring-error",is_success:!1,error_message:t,custom_data:We(e)}}function Ke(e,t){var n,r,o,i;return{valid_until:null!==(n=String(t.validUntil))&&void 0!==n?n:null,from:null!==(i=null!==(r=t.from)&&void 0!==r?r:null===(o=null===e||void 0===e?void 0:e.account)||void 0===o?void 0:o.address)&&void 0!==i?i:null,messages:t.messages.map((e=>{var t,n;return{address:null!==(t=e.address)&&void 0!==t?t:null,amount:null!==(n=e.amount)&&void 0!==n?n:null}}))}}function Ve(e,t,n){return Object.assign(Object.assign({type:"transaction-sent-for-signature"},De(e,t)),Ke(t,n))}function Ge(e,t,n,r){return Object.assign(Object.assign({type:"transaction-signed",is_success:!0,signed_transaction:r.boc},De(e,t)),Ke(t,n))}function Qe(e,t,n,r,o){return Object.assign(Object.assign({type:"transaction-signing-failed",is_success:!1,error_message:r,error_code:null!==o&&void 0!==o?o:null},De(e,t)),Ke(t,n))}function Ze(e,t,n){return Object.assign({type:"sign-data-request-initiated",data:n},De(e,t))}function Ye(e,t,n,r){return Object.assign({type:"sign-data-request-completed",is_success:!0,data:n,signed_data:r},De(e,t))}function Xe(e,t,n,r,o){return Object.assign({type:"sign-data-request-failed",is_success:!1,data:n,error_message:r,error_code:null!==o&&void 0!==o?o:null},De(e,t))}function Je(e,t,n){return Object.assign({type:"disconnection",scope:n},De(e,t))}class et{constructor(){this.window=ke()}dispatchEvent(e,t){var n;return $(this,void 0,void 0,(function*(){const r=new CustomEvent(e,{detail:t});null===(n=this.window)||void 0===n||n.dispatchEvent(r)}))}addEventListener(e,t,n){var r;return $(this,void 0,void 0,(function*(){return null===(r=this.window)||void 0===r||r.addEventListener(e,t,n),()=>{var n;return null===(n=this.window)||void 0===n?void 0:n.removeEventListener(e,t)}}))}}class tt{constructor(e){var t;this.eventPrefix="ton-connect-",this.tonConnectUiVersion=null,this.eventDispatcher=null!==(t=null===e||void 0===e?void 0:e.eventDispatcher)&&void 0!==t?t:new et,this.tonConnectSdkVersion=e.tonConnectSdkVersion,this.init().catch()}get version(){return We({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return $(this,void 0,void 0,(function*(){try{yield this.setRequestVersionHandler(),this.tonConnectUiVersion=yield this.requestTonConnectUiVersion()}catch(ar){}}))}setRequestVersionHandler(){return $(this,void 0,void 0,(function*(){yield this.eventDispatcher.addEventListener("ton-connect-request-version",(()=>$(this,void 0,void 0,(function*(){yield this.eventDispatcher.dispatchEvent("ton-connect-response-version",$e(this.tonConnectSdkVersion))}))))}))}requestTonConnectUiVersion(){return $(this,void 0,void 0,(function*(){return new Promise(((e,t)=>$(this,void 0,void 0,(function*(){try{yield this.eventDispatcher.addEventListener("ton-connect-ui-response-version",(t=>{e(t.detail.version)}),{once:!0}),yield this.eventDispatcher.dispatchEvent("ton-connect-ui-request-version",{type:"request-version"})}catch(ar){t(ar)}}))))}))}dispatchUserActionEvent(e){try{this.eventDispatcher.dispatchEvent(`${this.eventPrefix}${e.type}`,e).catch()}catch(ar){}}trackConnectionStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ue(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Fe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionRestoringStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Be(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionRestoringCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionRestoringError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=He(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDisconnection(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Je(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackTransactionSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ve(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackTransactionSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ge(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackTransactionSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDataSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDataSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ye(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDataSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Xe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}}class nt{constructor(e){if(this.walletsList=new Le,this._wallet=null,this.provider=null,this.statusChangeSubscriptions=[],this.statusChangeErrorSubscriptions=[],this.dappSettings={manifestUrl:(null===e||void 0===e?void 0:e.manifestUrl)||Ee(),storage:(null===e||void 0===e?void 0:e.storage)||new Te},this.walletsRequiredFeatures=null===e||void 0===e?void 0:e.walletsRequiredFeatures,this.walletsList=new Le({walletsListSource:null===e||void 0===e?void 0:e.walletsListSource,cacheTTLMs:null===e||void 0===e?void 0:e.walletsListCacheTTLMs}),this.tracker=new tt({eventDispatcher:null===e||void 0===e?void 0:e.eventDispatcher,tonConnectSdkVersion:"3.2.0"}),!this.dappSettings.manifestUrl)throw new D("Dapp tonconnect-manifest.json must be specified if window.location.origin is undefined. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest");this.bridgeConnectionStorage=new ve(this.dappSettings.storage),(null===e||void 0===e?void 0:e.disableAutoPauseConnection)||this.addWindowFocusAndBlurSubscriptions()}static getWallets(){return this.walletsList.getWallets()}get connected(){return null!==this._wallet}get account(){var e;return(null===(e=this._wallet)||void 0===e?void 0:e.account)||null}get wallet(){return this._wallet}set wallet(e){this._wallet=e,this.statusChangeSubscriptions.forEach((e=>e(this._wallet)))}getWallets(){return this.walletsList.getWallets()}onStatusChange(e,t){return this.statusChangeSubscriptions.push(e),t&&this.statusChangeErrorSubscriptions.push(t),()=>{this.statusChangeSubscriptions=this.statusChangeSubscriptions.filter((t=>t!==e)),t&&(this.statusChangeErrorSubscriptions=this.statusChangeErrorSubscriptions.filter((e=>e!==t)))}}connect(e,t){var n,r;const o={};if("object"===typeof t&&"tonProof"in t&&(o.request=t),"object"===typeof t&&("openingDeadlineMS"in t||"signal"in t||"request"in t)&&(o.request=null===t||void 0===t?void 0:t.request,o.openingDeadlineMS=null===t||void 0===t?void 0:t.openingDeadlineMS,o.signal=null===t||void 0===t?void 0:t.signal),this.connected)throw new z;const i=fe(null===o||void 0===o?void 0:o.signal);if(null===(n=this.abortController)||void 0===n||n.abort(),this.abortController=i,i.signal.aborted)throw new W("Connection was aborted");return null===(r=this.provider)||void 0===r||r.closeConnection(),this.provider=this.createProvider(e),i.signal.addEventListener("abort",(()=>{var e;null===(e=this.provider)||void 0===e||e.closeConnection(),this.provider=null})),this.tracker.trackConnectionStarted(),this.provider.connect(this.createConnectRequest(null===o||void 0===o?void 0:o.request),{openingDeadlineMS:null===o||void 0===o?void 0:o.openingDeadlineMS,signal:i.signal})}restoreConnection(e){var t,n;return $(this,void 0,void 0,(function*(){this.tracker.trackConnectionRestoringStarted();const r=fe(null===e||void 0===e?void 0:e.signal);if(null===(t=this.abortController)||void 0===t||t.abort(),this.abortController=r,r.signal.aborted)return void this.tracker.trackConnectionRestoringError("Connection restoring was aborted");const[o,i]=yield Promise.all([this.bridgeConnectionStorage.storedConnectionType(),this.walletsList.getEmbeddedWallet()]);if(r.signal.aborted)return void this.tracker.trackConnectionRestoringError("Connection restoring was aborted");let a=null;try{switch(o){case"http":a=yield be.fromStorage(this.dappSettings.storage);break;case"injected":a=yield _e.fromStorage(this.dappSettings.storage);break;default:if(!i)return;a=this.createProvider(i)}}catch(lt){return this.tracker.trackConnectionRestoringError("Provider is not restored"),yield this.bridgeConnectionStorage.removeConnection(),null===a||void 0===a||a.closeConnection(),void(a=null)}if(r.signal.aborted)return null===a||void 0===a||a.closeConnection(),void this.tracker.trackConnectionRestoringError("Connection restoring was aborted");if(!a)return ge("Provider is not restored"),void this.tracker.trackConnectionRestoringError("Provider is not restored");null===(n=this.provider)||void 0===n||n.closeConnection(),this.provider=a,a.listen(this.walletEventsListener.bind(this));const s=()=>{this.tracker.trackConnectionRestoringError("Connection restoring was aborted"),null===a||void 0===a||a.closeConnection(),a=null};r.signal.addEventListener("abort",s);const l=pe((t=>$(this,void 0,void 0,(function*(){yield null===a||void 0===a?void 0:a.restoreConnection({openingDeadlineMS:null===e||void 0===e?void 0:e.openingDeadlineMS,signal:t.signal}),r.signal.removeEventListener("abort",s),this.connected?this.tracker.trackConnectionRestoringCompleted(this.wallet):this.tracker.trackConnectionRestoringError("Connection restoring failed")}))),{attempts:Number.MAX_SAFE_INTEGER,delayMs:2e3,signal:null===e||void 0===e?void 0:e.signal}),c=new Promise((e=>setTimeout((()=>e()),12e3)));return Promise.race([l,c])}))}sendTransaction(e,t){return $(this,void 0,void 0,(function*(){const n={};"function"===typeof t?n.onRequestSent=t:(n.onRequestSent=null===t||void 0===t?void 0:t.onRequestSent,n.signal=null===t||void 0===t?void 0:t.signal);const r=fe(null===n||void 0===n?void 0:n.signal);if(r.signal.aborted)throw new W("Transaction sending was aborted");this.checkConnection();const o=e.messages.length,i=e.messages.some((e=>e.extraCurrency&&Object.keys(e.extraCurrency).length>0));Ne(this.wallet.device.features,{requiredMessagesNumber:o,requireExtraCurrencies:i}),this.tracker.trackTransactionSentForSignature(this.wallet,e);const{validUntil:a,messages:s}=e,l=j(e,["validUntil","messages"]),c=e.from||this.account.address,u=e.network||this.account.chain,d=yield this.provider.sendRequest(oe.convertToRpcRequest(Object.assign(Object.assign({},l),{from:c,network:u,valid_until:a,messages:s.map((e=>{var{extraCurrency:t}=e,n=j(e,["extraCurrency"]);return Object.assign(Object.assign({},n),{extra_currency:t})}))})),{onRequestSent:n.onRequestSent,signal:r.signal});if(oe.isError(d))return this.tracker.trackTransactionSigningFailed(this.wallet,e,d.error.message,d.error.code),oe.parseAndThrowError(d);const f=oe.convertFromRpcResponse(d);return this.tracker.trackTransactionSigned(this.wallet,e,f),f}))}signData(e,t){return $(this,void 0,void 0,(function*(){const n=fe(null===t||void 0===t?void 0:t.signal);if(n.signal.aborted)throw new W("data sending was aborted");this.checkConnection(),function(e,t){const n=e.find((e=>e&&"object"===typeof e&&"SignData"===e.name));if(!n)throw new H("Wallet doesn't support SignData feature.",{cause:{requiredFeature:{featureName:"SignData",value:{types:t.requiredTypes}}}});const r=t.requiredTypes.filter((e=>!n.types.includes(e)));if(r.length)throw new H(`Wallet doesn't support required SignData types: ${r.join(", ")}.`,{cause:{requiredFeature:{featureName:"SignData",value:{types:r}}}})}(this.wallet.device.features,{requiredTypes:[e.type]}),this.tracker.trackDataSentForSignature(this.wallet,e);const r=e.from||this.account.address,o=e.network||this.account.chain,i=yield this.provider.sendRequest(ae.convertToRpcRequest(Object.assign(Object.assign({},e),{from:r,network:o})),{onRequestSent:null===t||void 0===t?void 0:t.onRequestSent,signal:n.signal});if(ae.isError(i))return this.tracker.trackDataSigningFailed(this.wallet,e,i.error.message,i.error.code),ae.parseAndThrowError(i);const a=ae.convertFromRpcResponse(i);return this.tracker.trackDataSigned(this.wallet,e,a),a}))}disconnect(e){var t;return $(this,void 0,void 0,(function*(){if(!this.connected)throw new B;const n=fe(null===e||void 0===e?void 0:e.signal),r=this.abortController;if(this.abortController=n,n.signal.aborted)throw new W("Disconnect was aborted");this.onWalletDisconnected("dapp"),yield null===(t=this.provider)||void 0===t?void 0:t.disconnect({signal:n.signal}),null===r||void 0===r||r.abort()}))}pauseConnection(){var e;"http"===(null===(e=this.provider)||void 0===e?void 0:e.type)&&this.provider.pause()}unPauseConnection(){var e;return"http"!==(null===(e=this.provider)||void 0===e?void 0:e.type)?Promise.resolve():this.provider.unPause()}addWindowFocusAndBlurSubscriptions(){const e=Se();if(e)try{e.addEventListener("visibilitychange",(()=>{e.hidden?this.pauseConnection():this.unPauseConnection().catch()}))}catch(ar){ge("Cannot subscribe to the document.visibilitychange: ",ar)}}createProvider(e){let t;return t=!Array.isArray(e)&&"jsBridgeKey"in e?new _e(this.dappSettings.storage,e.jsBridgeKey):new be(this.dappSettings.storage,e),t.listen(this.walletEventsListener.bind(this)),t}walletEventsListener(e){switch(e.event){case"connect":this.onWalletConnected(e.payload);break;case"connect_error":this.tracker.trackConnectionError(e.payload.message,e.payload.code);const t=te.parseError(e.payload);this.onWalletConnectError(t);break;case"disconnect":this.onWalletDisconnected("wallet")}}onWalletConnected(e){var t;const n=e.items.find((e=>"ton_addr"===e.name)),r=e.items.find((e=>"ton_proof"===e.name));if(!n)throw new W("ton_addr connection item was not found");if(!Ie(e.device.features,this.walletsRequiredFeatures))return null===(t=this.provider)||void 0===t||t.disconnect(),void this.onWalletConnectError(new K("Wallet does not support required features",{cause:{connectEvent:e}}));const o={device:e.device,provider:this.provider.type,account:{address:n.address,chain:n.network,walletStateInit:n.walletStateInit,publicKey:n.publicKey}};if(r){let e;try{if("proof"in r)e={name:"ton_proof",proof:{timestamp:r.proof.timestamp,domain:{lengthBytes:r.proof.domain.lengthBytes,value:r.proof.domain.value},payload:r.proof.payload,signature:r.proof.signature}};else{if(!("error"in r))throw new W("Invalid data format");e={name:"ton_proof",error:{code:r.error.code,message:r.error.message}}}}catch(ar){e={name:"ton_proof",error:{code:E.UNKNOWN_ERROR,message:"Invalid data format"}}}o.connectItems={tonProof:e}}this.wallet=o,this.tracker.trackConnectionCompleted(o)}onWalletConnectError(e){if(this.statusChangeErrorSubscriptions.forEach((t=>t(e))),he(e),e instanceof F||e instanceof U)throw ge(e),e}onWalletDisconnected(e){this.tracker.trackDisconnection(this.wallet,e),this.wallet=null}checkConnection(){if(!this.connected)throw new B}createConnectRequest(e){const t=[{name:"ton_addr"}];return(null===e||void 0===e?void 0:e.tonProof)&&t.push({name:"ton_proof",payload:e.tonProof}),{manifestUrl:this.dappSettings.manifestUrl,items:t}}}nt.walletsList=new Le,nt.isWalletInjected=e=>_e.isWalletInjected(e),nt.isInsideWalletBrowser=e=>_e.isInsideWalletBrowser(e);function rt(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{wc:n,hex:r}=function(e){if(!e.includes(":"))throw new Y(`Wrong address ${e}. Address must include ":".`);const t=e.split(":");if(2!==t.length)throw new Y(`Wrong address ${e}. Address must include ":" only once.`);const n=parseInt(t[0]);if(0!==n&&-1!==n)throw new Y(`Wrong address ${e}. WC must be eq 0 or -1, but ${n} received.`);const r=t[1];if(64!==(null===r||void 0===r?void 0:r.length))throw new Y(`Wrong address ${e}. Hex part must be 64bytes length, but ${null===r||void 0===r?void 0:r.length} received.`);return{wc:n,hex:it(r)}}(e);let o=81;t&&(o|=128);const i=new Int8Array(34);i[0]=o,i[1]=n,i.set(r,2);const a=new Uint8Array(36);return a.set(i),a.set(function(e){const t=4129;let n=0;const r=new Uint8Array(e.length+2);r.set(e);for(let o of r){let e=128;for(;e>0;)n<<=1,o&e&&(n+=1),e>>=1,n>65535&&(n&=65535,n^=t)}return new Uint8Array([Math.floor(n/256),n%256])}(i),34),M.encode(a).replace(/\+/g,"-").replace(/\//g,"_")}const ot={};for(let n=0;n<=255;n++){let e=n.toString(16);e.length<2&&(e="0"+e),ot[e]=n}function it(e){const t=(e=e.toLowerCase()).length;if(t%2!==0)throw new X("Hex string must have length a multiple of 2: "+e);const n=t/2,r=new Uint8Array(n);for(let o=0;o<n;o++){const t=2*o,n=e.substring(t,t+2);if(!ot.hasOwnProperty(n))throw new X("Invalid hex character: "+n);r[o]=ot[n]}return r}var at,st,lt,ct,ut,dt,ft,pt,ht=n(7946),gt=n(2414),mt=n(8738),yt=Object.defineProperty,vt=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,kt=(e,t,n)=>t in e?yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,St=(e,t)=>{for(var n in t||(t={}))xt.call(t,n)&&kt(e,n,t[n]);if(wt)for(var n of wt(t))Ct.call(t,n)&&kt(e,n,t[n]);return e},Et=(e,t)=>vt(e,bt(t)),At=(e,t,n)=>(kt(e,"symbol"!==typeof t?t+"":t,n),n),_t=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{s(n.next(e))}catch(t){o(t)}},a=e=>{try{s(n.throw(e))}catch(t){o(t)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}));const Tt={};const Rt=Symbol("solid-proxy"),Ot=Symbol("solid-track"),Pt={equals:(e,t)=>e===t};let Mt=dn;const Lt=1,Nt=2,It={owned:null,cleanups:null,context:null,owner:null},jt={};var $t=null;let Wt=null,Dt=null,Ut=null,Ft=null,zt=0;function Bt(e,t){const n=Dt,r=$t,o=0===e.length,i=o?It:{owned:null,cleanups:null,context:null,owner:void 0===t?r:t},a=o?e:()=>e((()=>Yt((()=>gn(i)))));$t=i,Dt=null;try{return un(a,!0)}finally{Dt=n,$t=r}}function qt(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},Pt,t):Pt).equals||void 0};return[on.bind(n),e=>("function"===typeof e&&(e=e(n.value)),an(n,e))]}function Ht(e,t,n){sn(ln(e,t,!0,Lt))}function Kt(e,t,n){sn(ln(e,t,!1,Lt))}function Vt(e,t,n){Mt=fn;const r=ln(e,t,!1,Lt);r.user=!0,Ft?Ft.push(r):sn(r)}function Gt(e,t,n){n=n?Object.assign({},Pt,n):Pt;const r=ln(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,sn(r),on.bind(r)}function Qt(e,t,n){let r,o,i;2===arguments.length&&"object"===typeof t||1===arguments.length?(r=!0,o=e,i=t||{}):(r=e,o=t,i=n||{});let a=null,s=jt,l=null,c=!1,u="initialValue"in i,d="function"===typeof r&&Gt(r);const f=new Set,[p,h]=(i.storage||qt)(i.initialValue),[g,m]=qt(void 0),[y,v]=qt(void 0,{equals:!1}),[b,w]=qt(u?"ready":"unresolved");if(Tt.context){let e;l=`${Tt.context.id}${Tt.context.count++}`,"initial"===i.ssrLoadFrom?s=i.initialValue:Tt.load&&(e=Tt.load(l))&&(s=e[0])}function x(e,t,n,r){return a===e&&(a=null,u=!0,e!==s&&t!==s||!i.onHydrated||queueMicrotask((()=>i.onHydrated(r,{value:t}))),s=jt,function(e,t){un((()=>{void 0===t&&h((()=>e)),w(void 0!==t?"errored":"ready"),m(t);for(const e of f.keys())e.decrement();f.clear()}),!1)}(t,n)),t}function C(){const e=undefined,t=p(),n=g();if(void 0!==n&&!a)throw n;return Dt&&!Dt.user&&e&&Ht((()=>{y(),a&&(e.resolved||f.has(e)||(e.increment(),f.add(e)))})),t}function k(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!1!==e&&c)return;c=!1;const t=d?d():r;if(null==t||!1===t)return void x(a,Yt(p));const n=s!==jt?s:Yt((()=>o(t,{value:p(),refetching:e})));return"object"===typeof n&&n&&"then"in n?(a=n,c=!0,queueMicrotask((()=>c=!1)),un((()=>{w(u?"refreshing":"pending"),v()}),!1),n.then((e=>x(n,e,void 0,t)),(e=>x(n,void 0,mn(e),t)))):(x(a,n,void 0,t),n)}return Object.defineProperties(C,{state:{get:()=>b()},error:{get:()=>g()},loading:{get(){const e=b();return"pending"===e||"refreshing"===e}},latest:{get(){if(!u)return C();const e=g();if(e&&!a)throw e;return p()}}}),d?Ht((()=>k(!1))):k(!1),[C,{refetch:k,mutate:h}]}function Zt(e){return un(e,!1)}function Yt(e){if(null===Dt)return e();const t=Dt;Dt=null;try{return e()}finally{Dt=t}}function Xt(e){Vt((()=>Yt(e)))}function Jt(e){return null===$t||(null===$t.cleanups?$t.cleanups=[e]:$t.cleanups.push(e)),e}function en(){return Dt}function tn(e,t){const n=Symbol("context");return{id:n,Provider:wn(n),defaultValue:e}}function nn(e){let t;return void 0!==(t=vn($t,e.id))?t:e.defaultValue}function rn(e){const t=Gt(e),n=Gt((()=>bn(t())));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}function on(){const e=Wt;if(this.sources&&(this.state||e))if(this.state===Lt||e)sn(this);else{const e=Ut;Ut=null,un((()=>pn(this)),!1),Ut=e}if(Dt){const e=this.observers?this.observers.length:0;Dt.sources?(Dt.sources.push(this),Dt.sourceSlots.push(e)):(Dt.sources=[this],Dt.sourceSlots=[e]),this.observers?(this.observers.push(Dt),this.observerSlots.push(Dt.sources.length-1)):(this.observers=[Dt],this.observerSlots=[Dt.sources.length-1])}return this.value}function an(e,t,n){let r=e.value;return e.comparator&&e.comparator(r,t)||(e.value=t,e.observers&&e.observers.length&&un((()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=Wt&&Wt.running;r&&Wt.disposed.has(n),(r&&!n.tState||!r&&!n.state)&&(n.pure?Ut.push(n):Ft.push(n),n.observers&&hn(n)),r||(n.state=Lt)}if(Ut.length>1e6)throw Ut=[],new Error}),!1)),t}function sn(e){if(!e.fn)return;gn(e);const t=$t,n=Dt,r=zt;Dt=$t=e,function(e,t,n){let r;try{r=e.fn(t)}catch(o){e.pure&&(e.state=Lt,e.owned&&e.owned.forEach(gn),e.owned=null),yn(o)}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?an(e,r):e.value=r,e.updatedAt=n)}(e,e.value,r),Dt=n,$t=t}function ln(e,t,n){const r={fn:e,state:arguments.length>3&&void 0!==arguments[3]?arguments[3]:Lt,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:$t,context:null,pure:n};return null===$t||$t!==It&&($t.owned?$t.owned.push(r):$t.owned=[r]),r}function cn(e){const t=Wt;if(0===e.state||t)return;if(e.state===Nt||t)return pn(e);if(e.suspense&&Yt(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<zt);)(e.state||t)&&n.push(e);for(let r=n.length-1;r>=0;r--)if((e=n[r]).state===Lt||t)sn(e);else if(e.state===Nt||t){const t=Ut;Ut=null,un((()=>pn(e,n[0])),!1),Ut=t}}function un(e,t){if(Ut)return e();let n=!1;t||(Ut=[]),Ft?n=!0:Ft=[],zt++;try{const t=e();return function(e){Ut&&(dn(Ut),Ut=null);if(e)return;const t=Ft;Ft=null,t.length&&un((()=>Mt(t)),!1)}(n),t}catch(r){n||(Ft=null),Ut=null,yn(r)}}function dn(e){for(let t=0;t<e.length;t++)cn(e[t])}function fn(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:cn(r)}var r;for(Tt.context&&(Tt.context=r),t=0;t<n;t++)cn(e[t])}function pn(e,t){const n=Wt;e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];o.sources&&(o.state===Lt||n?o!==t&&cn(o):(o.state===Nt||n)&&pn(o,t))}}function hn(e){const t=Wt;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];r.state&&!t||(r.state=Nt,r.pure?Ut.push(r):Ft.push(r),r.observers&&hn(r))}}function gn(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.owned){for(t=0;t<e.owned.length;t++)gn(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}e.state=0,e.context=null}function mn(e){return e instanceof Error||"string"===typeof e?e:new Error("Unknown error")}function yn(e){throw e=mn(e)}function vn(e,t){return e?e.context&&void 0!==e.context[t]?e.context[t]:vn(e.owner,t):void 0}function bn(e){if("function"===typeof e&&!e.length)return bn(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=bn(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function wn(e,t){return function(t){let n;return Kt((()=>n=Yt((()=>($t.context={[e]:t.value},rn((()=>t.children)))))),void 0),n}}const xn=Symbol("fallback");function Cn(e){for(let t=0;t<e.length;t++)e[t]()}function kn(e,t){return Yt((()=>e(t||{})))}function Sn(){return!0}const En={get:(e,t,n)=>t===Rt?n:e.get(t),has:(e,t)=>t===Rt||e.has(t),set:Sn,deleteProperty:Sn,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:Sn,deleteProperty:Sn}),ownKeys:e=>e.keys()};function An(e){return(e="function"===typeof e?e():e)?e:{}}function _n(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=!1;for(let i=0;i<t.length;i++){const e=t[i];r=r||!!e&&Rt in e,t[i]="function"===typeof e?(r=!0,Gt(e)):e}if(r)return new Proxy({get(e){for(let n=t.length-1;n>=0;n--){const r=An(t[n])[e];if(void 0!==r)return r}},has(e){for(let n=t.length-1;n>=0;n--)if(e in An(t[n]))return!0;return!1},keys(){const e=[];for(let n=0;n<t.length;n++)e.push(...Object.keys(An(t[n])));return[...new Set(e)]}},En);const o={};for(let i=t.length-1;i>=0;i--)if(t[i]){const e=Object.getOwnPropertyDescriptors(t[i]);for(const n in e)n in o||Object.defineProperty(o,n,{enumerable:!0,get(){for(let e=t.length-1;e>=0;e--){const r=(t[e]||{})[n];if(void 0!==r)return r}}})}return o}function Tn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=new Set(n.flat());if(Rt in e){const t=n.map((t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter((t=>t in e))},En)));return t.push(new Proxy({get:t=>o.has(t)?void 0:e[t],has:t=>!o.has(t)&&t in e,keys:()=>Object.keys(e).filter((e=>!o.has(e)))},En)),t}const i=Object.getOwnPropertyDescriptors(e);return n.push(Object.keys(i).filter((e=>!o.has(e)))),n.map((t=>{const n={};for(let r=0;r<t.length;r++){const o=t[r];o in e&&Object.defineProperty(n,o,i[o]?i[o]:{get:()=>e[o],set:()=>!0,enumerable:!0})}return n}))}function Rn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return Gt(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[],o=[],i=[],a=0,s=t.length>1?[]:null;return Jt((()=>Cn(i))),()=>{let l,c,u=e()||[];return u[Ot],Yt((()=>{let e,t,f,p,h,g,m,y,v,b=u.length;if(0===b)0!==a&&(Cn(i),i=[],r=[],o=[],a=0,s&&(s=[])),n.fallback&&(r=[xn],o[0]=Bt((e=>(i[0]=e,n.fallback()))),a=1);else if(0===a){for(o=new Array(b),c=0;c<b;c++)r[c]=u[c],o[c]=Bt(d);a=b}else{for(f=new Array(b),p=new Array(b),s&&(h=new Array(b)),g=0,m=Math.min(a,b);g<m&&r[g]===u[g];g++);for(m=a-1,y=b-1;m>=g&&y>=g&&r[m]===u[y];m--,y--)f[y]=o[m],p[y]=i[m],s&&(h[y]=s[m]);for(e=new Map,t=new Array(y+1),c=y;c>=g;c--)v=u[c],l=e.get(v),t[c]=void 0===l?-1:l,e.set(v,c);for(l=g;l<=m;l++)v=r[l],c=e.get(v),void 0!==c&&-1!==c?(f[c]=o[l],p[c]=i[l],s&&(h[c]=s[l]),c=t[c],e.set(v,c)):i[l]();for(c=g;c<b;c++)c in f?(o[c]=f[c],i[c]=p[c],s&&(s[c]=h[c],s[c](c))):o[c]=Bt(d);o=o.slice(0,a=b),r=u.slice(0)}return o}));function d(e){if(i[c]=e,s){const[e,n]=qt(c);return s[c]=n,t(u[c],e)}return t(u[c])}}}((()=>e.each),e.children,t||void 0))}function On(e){let t=!1;const n=e.keyed,r=Gt((()=>e.when),void 0,{equals:(e,n)=>t?e===n:!e===!n});return Gt((()=>{const o=r();if(o){const r=e.children,i="function"===typeof r&&r.length>0;return t=n||i,i?Yt((()=>r(o))):r}return e.fallback}),void 0,void 0)}function Pn(e){let t=!1,n=!1;const r=rn((()=>e.children)),o=Gt((()=>{let e=r();Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const r=e[t].when;if(r)return n=!!e[t].keyed,[t,r,e[t]]}return[-1]}),void 0,{equals:(e,n)=>e[0]===n[0]&&(t?e[1]===n[1]:!e[1]===!n[1])&&e[2]===n[2]});return Gt((()=>{const[r,i,a]=o();if(r<0)return e.fallback;const s=a.children,l="function"===typeof s&&s.length>0;return t=n||l,l?Yt((()=>s(i))):s}),void 0,void 0)}function Mn(e){return e}const Ln=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Nn=new Set(["innerHTML","textContent","innerText","children"]),In=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),jn=Object.assign(Object.create(null),{class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"}),$n=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Wn=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Dn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};const Un="_$DX_DELEGATE";function Fn(e,t,n){if("undefined"===typeof window)return null;const r=document.createElement("template");r.innerHTML=e;let o=r.content.firstChild;return n&&(o=o.firstChild),o}function zn(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function Bn(e,t){null==t?e.removeAttribute("class"):e.className=t}function qn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};return(arguments.length>3?arguments[3]:void 0)||Kt((()=>r.children=Yn(e,t.children,r.children))),Kt((()=>t.ref&&t.ref(e))),Kt((()=>function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];t||(t={});for(const a in o)if(!(a in t)){if("children"===a)continue;o[a]=Qn(e,a,null,o[a],n,i)}for(const a in t){if("children"===a){r||Yn(e,t.children);continue}const s=t[a];o[a]=Qn(e,a,s,o[a],n,i)}}(e,t,n,!0,r,!0))),r}function Hn(e,t,n){return Yt((()=>e(t,n)))}function Kn(e,t,n,r){if(void 0===n||r||(r=[]),"function"!==typeof t)return Yn(e,t,r,n);Kt((r=>Yn(e,t(),r,n)),r)}function Vn(e){let t,n;return Tt.context&&(t=Tt.registry.get(n=function(){const e=Tt.context;return`${e.id}${e.count++}`}()))?(Tt.completed&&Tt.completed.add(t),Tt.registry.delete(n),t):e.cloneNode(!0)}function Gn(e,t,n){const r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n)}function Qn(e,t,n,r,o,i){let a,s,l;if("style"===t)return function(e,t,n){if(!t)return n?zn(e,"style"):t;const r=e.style;if("string"===typeof t)return r.cssText=t;let o,i;for(i in"string"===typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[i]&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}(e,n,r);if("classList"===t)return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Object.keys(t||{}),o=Object.keys(n);let i,a;for(i=0,a=o.length;i<a;i++){const r=o[i];r&&"undefined"!==r&&!t[r]&&(Gn(e,r,!1),delete n[r])}for(i=0,a=r.length;i<a;i++){const o=r[i],a=!!t[o];o&&"undefined"!==o&&n[o]!==a&&a&&(Gn(e,o,!0),n[o]=a)}return n}(e,n,r);if(n===r)return r;if("ref"===t)i||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r),n&&e.addEventListener(o,n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=$n.has(o);if(!i&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(i||n)&&(function(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n)}(e,o,n,i),i&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.document;const n=t[Un]||(t[Un]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Zn))}}([o]))}else if((l=Nn.has(t))||!o&&(jn[t]||(s=Ln.has(t)))||(a=e.nodeName.includes("-")))"class"===t||"className"===t?Bn(e,n):!a||s||l?e[jn[t]||t]=n:e[(c=t,c.toLowerCase().replace(/-([a-z])/g,((e,t)=>t.toUpperCase())))]=n;else{const r=o&&t.indexOf(":")>-1&&Dn[t.split(":")[0]];r?function(e,t,n,r){null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r)}(e,r,t,n):zn(e,In[t]||t,n)}var c;return n}function Zn(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>n||document}),Tt.registry&&!Tt.done&&(Tt.done=!0,document.querySelectorAll("[id^=pl-]").forEach((t=>{for(;t&&8!==t.nodeType&&t.nodeValue!=="pl-"+e;){let e=t.nextSibling;t.remove(),t=e}t&&t.remove()})));n;){const r=n[t];if(r&&!n.disabled){const o=n[`${t}Data`];if(void 0!==o?r.call(n,o,e):r.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function Yn(e,t,n,r,o){for(Tt.context&&!n&&(n=[...e.childNodes]);"function"===typeof n;)n=n();if(t===n)return n;const i=typeof t,a=void 0!==r;if(e=a&&n[0]&&n[0].parentNode||e,"string"===i||"number"===i){if(Tt.context)return n;if("number"===i&&(t=t.toString()),a){let o=n[0];o&&3===o.nodeType?o.data=t:o=document.createTextNode(t),n=er(e,n,r,o)}else n=""!==n&&"string"===typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===i){if(Tt.context)return n;n=er(e,n,r)}else{if("function"===i)return Kt((()=>{let o=t();for(;"function"===typeof o;)o=o();n=Yn(e,o,n,r)})),()=>n;if(Array.isArray(t)){const i=[],s=n&&Array.isArray(n);if(Xn(i,t,n,o))return Kt((()=>n=Yn(e,i,n,r,!0))),()=>n;if(Tt.context){if(!i.length)return n;for(let e=0;e<i.length;e++)if(i[e].parentNode)return n=i}if(0===i.length){if(n=er(e,n,r),a)return n}else s?0===n.length?Jn(e,i,r):function(e,t,n){let r=n.length,o=t.length,i=r,a=0,s=0,l=t[o-1].nextSibling,c=null;for(;a<o||s<i;)if(t[a]!==n[s]){for(;t[o-1]===n[i-1];)o--,i--;if(o===a){const t=i<r?s?n[s-1].nextSibling:n[i-s]:l;for(;s<i;)e.insertBefore(n[s++],t)}else if(i===s)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===n[i-1]&&n[s]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[s++],t[a++].nextSibling),e.insertBefore(n[--i],r),t[o]=n[i]}else{if(!c){c=new Map;let e=s;for(;e<i;)c.set(n[e],e++)}const r=c.get(t[a]);if(null!=r)if(s<r&&r<i){let l,u=a,d=1;for(;++u<o&&u<i&&null!=(l=c.get(t[u]))&&l===r+d;)d++;if(d>r-s){const o=t[a];for(;s<r;)e.insertBefore(n[s++],o)}else e.replaceChild(n[s++],t[a++])}else a++;else t[a++].remove()}}else a++,s++}(e,n,i):(n&&er(e),Jn(e,i));n=i}else if(t instanceof Node){if(Tt.context&&t.parentNode)return n=a?[t]:t;if(Array.isArray(n)){if(a)return n=er(e,n,r,t);er(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function Xn(e,t,n,r){let o=!1;for(let i=0,a=t.length;i<a;i++){let a=t[i],s=n&&n[i];if(a instanceof Node)e.push(a);else if(null==a||!0===a||!1===a);else if(Array.isArray(a))o=Xn(e,a,s)||o;else if("function"===typeof a)if(r){for(;"function"===typeof a;)a=a();o=Xn(e,Array.isArray(a)?a:[a],Array.isArray(s)?s:[s])||o}else e.push(a),o=!0;else{const t=String(a);s&&3===s.nodeType&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return o}function Jn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function er(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let i=t.length-1;i>=0;i--){const a=t[i];if(o!==a){const t=a.parentNode===e;r||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}const tr="http://www.w3.org/2000/svg";function nr(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?document.createElementNS(tr,e):document.createElement(e)}function rr(e){const{useShadow:t}=e,n=document.createTextNode(""),r=e.mount||document.body;function o(){if(Tt.context){const[t,n]=qt(!1);return queueMicrotask((()=>n(!0))),()=>t()&&e.children}return()=>e.children}if(r instanceof HTMLHeadElement){const[e,t]=qt(!1),n=()=>t(!0);Bt((t=>Kn(r,(()=>e()?t():o()()),null))),Jt((()=>{Tt.context?queueMicrotask(n):n()}))}else{const i=nr(e.isSVG?"g":"div",e.isSVG),a=t&&i.attachShadow?i.attachShadow({mode:"open"}):i;Object.defineProperty(i,"_$host",{get:()=>n.parentNode,configurable:!0}),Kn(a,o()),r.appendChild(i),e.ref&&e.ref(i),Jt((()=>r.removeChild(i)))}return n}function or(e){const[t,n]=Tn(e,["component"]),r=Gt((()=>t.component));return Gt((()=>{const e=r();switch(typeof e){case"function":return Yt((()=>e(n)));case"string":const t=Wn.has(e),r=Tt.context?Vn():nr(e,t);return qn(r,n,t),r}}))}var ir=(e=>(e.DARK="DARK",e.LIGHT="LIGHT",e))(ir||{});let ar={data:""},sr=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||ar,lr=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,cr=/\/\*[^]*?\*\/| +/g,ur=/\n+/g,dr=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?dr(a,i):i+"{"+dr(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=dr(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=dr.p?dr.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},fr={},pr=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+pr(e[n]);return t}return e},hr=(e,t,n,r,o)=>{let i=pr(e),a=fr[i]||(fr[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!fr[a]){let t=i!==e?e:(e=>{let t,n,r=[{}];for(;t=lr.exec(e.replace(cr,""));)t[4]?r.shift():t[3]?(n=t[3].replace(ur," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(ur," ").trim();return r[0]})(e);fr[a]=dr(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}let s=n&&fr.g?fr.g:null;return n&&(fr.g=fr[a]),l=fr[a],c=t,u=r,(d=s)?c.data=c.data.replace(d,l):-1===c.data.indexOf(l)&&(c.data=u?l+c.data:c.data+l),a;var l,c,u,d},gr=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":dr(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function mr(e){let t=this||{},n=e.call?e(t.p):e;return hr(n.unshift?n.raw?gr(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,sr(t.target),t.g,t.o,t.k)}mr.bind({g:1});let yr=mr.bind({k:1});const vr=tn();function br(e){return kn(vr.Provider,{value:e.theme,get children(){return e.children}})}function wr(){return nn(vr)}function xr(e){let t=this||{};return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const i=n=>{const o=_n(n,{theme:nn(vr)}),i=_n(o,{get class(){const e=o.class,n="class"in o&&/^go[0-9]+/.test(e);return[e,mr.apply({target:t.target,o:n,p:o,g:t.g},r)].filter(Boolean).join(" ")}}),[a,s]=Tn(i,["as","theme"]),l=s,c=a.as||e;let u;return"function"===typeof c?u=c(l):1==t.g?(u=document.createElement(c),qn(u,l)):u=or(_n({component:c},l)),u};return i.class=e=>Yt((()=>mr.apply({target:t.target,p:e,g:t.g},r))),i}}const Cr=new Proxy(xr,{get:(e,t)=>e(t)});function kr(){const e=xr.call({g:1},"div").apply(null,arguments);return function(t){return e(t),null}}const Sr="tc-root",Er="tc-disable-scroll",Ar="tc-using-mouse",_r=()=>{document.body.addEventListener("mousedown",(()=>document.body.classList.add(Ar))),document.body.addEventListener("keydown",(e=>{"Tab"===e.key&&document.body.classList.remove(Ar)}));return kn(kr`
|
|
2
|
+
var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var g=1,m=1,y=0,v=0,b=0,w="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:g,column:m,length:a,return:""}}function C(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=v>0?u(w,--v):0,m--,10===b&&(m=1,g--),b}function S(){return b=v<y?u(w,v++):0,m++,10===b&&(m=1,g++),b}function E(){return u(w,v)}function A(){return v}function _(e,t){return d(w,e,t)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return g=m=1,y=f(w=e),v=0,[]}function O(e){return w="",e}function P(e){return s(_(v-1,N(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=E())&&b<33;)S();return T(e)>2||T(b)>3?"":" "}function L(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return _(e,A()+(t<6&&32==E()&&32==S()))}function N(e){for(;S();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:S()}return v}function I(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+_(t,v-1)+"*"+i(47===e?e:S())}function j(e){for(;!T(E());)S();return _(e,v)}var $="-ms-",D="-moz-",W="-webkit-",U="comm",F="rule",z="decl",B="@keyframes";function q(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function H(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case z:return e.return=e.return||e.value;case U:return"";case B:return e.return=e.value+"{"+q(e.children,r)+"}";case F:e.value=e.props.join(",")}return f(n=q(e.children,r))?e.return=e.value+"{"+n+"}":""}function K(e){return O(V("",null,null,null,[""],e=R(e),0,[0],e))}function V(e,t,n,r,o,a,s,d,p){for(var g=0,m=0,y=s,v=0,b=0,w=0,x=1,C=1,_=1,T=0,R="",O=o,N=a,$=r,D=R;C;)switch(w=T,T=S()){case 40:if(108!=w&&58==u(D,y-1)){-1!=c(D+=l(P(T),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:D+=P(T);break;case 9:case 10:case 13:case 32:D+=M(w);break;case 92:D+=L(A()-1,7);continue;case 47:switch(E()){case 42:case 47:h(Q(I(S(),A()),t,n),p);break;default:D+="/"}break;case 123*x:d[g++]=f(D)*_;case 125*x:case 59:case 0:switch(T){case 0:case 125:C=0;case 59+m:-1==_&&(D=l(D,/\f/g,"")),b>0&&f(D)-y&&h(b>32?Z(D+";",r,n,y-1):Z(l(D," ","")+";",r,n,y-2),p);break;case 59:D+=";";default:if(h($=G(D,t,n,g,m,o,d,R,O=[],N=[],y),a),123===T)if(0===m)V(D,t,$,$,O,a,y,d,N);else switch(99===v&&110===u(D,3)?100:v){case 100:case 108:case 109:case 115:V(e,$,$,r&&h(G(e,$,$,0,0,o,d,R,o,O=[],y),N),o,N,y,d,r?O:N);break;default:V(D,$,$,$,[""],N,0,d,N)}}g=m=b=0,x=_=1,R=D="",y=s;break;case 58:y=1+f(D),b=w;default:if(x<1)if(123==T)--x;else if(125==T&&0==x++&&125==k())continue;switch(D+=i(T),T*x){case 38:_=m>0?1:(D+="\f",-1);break;case 44:d[g++]=(f(D)-1)*_,_=1;break;case 64:45===E()&&(D+=P(S())),v=E(),m=y=f(R=D+=j(A())),T++;break;case 45:45===w&&2==f(D)&&(x=0)}}return a}function G(e,t,n,r,i,a,c,u,f,h,g){for(var m=i-1,y=0===i?a:[""],v=p(y),b=0,w=0,C=0;b<r;++b)for(var k=0,S=d(e,m+1,m=o(w=c[b])),E=e;k<v;++k)(E=s(w>0?y[k]+" "+S:l(S,/&\f/g,y[k])))&&(f[C++]=E);return x(e,t,n,0===i?F:u,f,h,g)}function Q(e,t,n){return x(e,t,n,U,i(b),d(e,2,-2),0)}function Z(e,t,n,r){return x(e,t,n,z,d(e,0,r),d(e,r+1,-1),r)}var Y=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!T(o);)S();return _(e,v)},X=function(e,t){return O(function(e,t){var n=-1,r=44;do{switch(T(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Y(v-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=S());return e}(R(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=X(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return W+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+D+e+$+e+e;case 6828:case 4268:return W+e+$+e+e;case 6165:return W+e+$+"flex-"+e+e;case 5187:return W+e+l(e,/(\w+).+(:[^]+)/,W+"box-$1$2"+$+"flex-$1$2")+e;case 5443:return W+e+$+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return W+e+$+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+$+l(e,"shrink","negative")+e;case 5292:return W+e+$+l(e,"basis","preferred-size")+e;case 6060:return W+"box-"+l(e,"-grow","")+W+e+$+l(e,"grow","positive")+e;case 4554:return W+l(e,/([^-])(transform)/g,"$1"+W+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,W+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+D+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+W)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===u(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return W+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+$+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+$+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+$+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case z:e.return=ne(e.value,e.length);break;case B:return q([C(e,{value:l(e.value,"@","@"+W)})],r);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([C(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([C(e,{props:[l(t,/:(plac\w+)/,":"+W+"input-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||re,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d=[H,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],f=function(e){var t=p(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([ee,te].concat(a,d));i=function(e,t,n,r){c=n,q(K(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return h.sheet.hydrate(l),h}},7923:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},7576:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,T:()=>l,w:()=>s});var r=n(9950),o=n(8603),i=(n(9015),n(6477),r.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null)),a=i.Provider,s=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(i);return e(t,o,n)}))},l=r.createContext({})},8283:(e,t,n)=>{"use strict";n.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var r=n(7576),o=n(9950),i=n(1783),a=n(6477),s=n(9015),l=(n(8603),n(3876),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T)),c=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),c.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}var u=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},9015:(e,t,n)=>{"use strict";n.d(t,{J:()=>m});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(7923),i=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=(0,o.A)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,n){return h={name:t,styles:n,next:h},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function p(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return h={name:o.name,styles:o.styles,next:h},o.name;var a=n;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)h={name:s.name,styles:s.styles,next:h},s=s.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=p(e,t,n[o])+";";else for(var a in n){var s=n[a];if("object"!==typeof s){var l=s;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":c(l)&&(r+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(f);if(!Array.isArray(s)||"string"!==typeof s[0]||null!=t&&void 0!==t[s[0]]){var h=p(e,t,s);switch(a){case"animation":case"animationName":r+=u(a)+":"+h+";";break;default:r+=a+"{"+h+"}"}}else for(var g=0;g<s.length;g++)c(s[g])&&(r+=u(a)+":"+d(a,s[g])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=h,g=n(e);return h=l,p(e,t,g)}}var m=n;if(null==t)return m;var y=t[m];return void 0!==y?y:m}var h,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function m(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";h=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=p(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=p(n,t,e[a]),r)o+=i[a]}g.lastIndex=0;for(var s,l="";null!==(s=g.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},6477:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>s,s:()=>a});var o=n(9950),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},1783:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},4300:(e,t,n)=>{"use strict";var r=n(4994);t.A=void 0;!function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r)}(n(9950));var o=r(n(9526)),i=n(4414);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}t.A=(0,o.default)((0,i.jsx)("path",{d:"M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z"}),"Telegram")},9526:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(6987)},7353:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var r=n(9950),o=n(5537);n(4414);const i=r.createContext(void 0);function a(e){let{props:t,name:n}=e;return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?(0,o.A)(i.defaultProps,r):i.styleOverrides||i.variants?r:(0,o.A)(i,r)}({props:t,name:n,theme:{components:r.useContext(i)}})}function s(e){return a(e)}},7775:(e,t,n)=>{"use strict";n.d(t,{A:()=>W});var r=n(8168),o=n(8587),i=n(8099),a=n(7483),s=n(8076),l=n(505),c=n(2860);var u=n(9269);const d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},m={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function C(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.a)(e.main,o):"dark"===t&&(e.dark=(0,u.e$)(e.main,i)))}function k(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,b),c=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(t),k=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),S=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),E=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),A=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),_=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(t);function T(e){return(0,u.eM)(e,x.text.primary)>=n?x.text.primary:w.text.primary}const R=e=>{let{color:t,name:n,mainShade:o=500,lightShade:a=300,darkShade:l=700}=e;if(t=(0,r.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,i.A)(11,n?` (${n})`:"",o));if("string"!==typeof t.main)throw new Error((0,i.A)(12,n?` (${n})`:"",JSON.stringify(t.main)));return C(t,"light",a,s),C(t,"dark",l,s),t.contrastText||(t.contrastText=T(t.main)),t},O={dark:x,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},d),mode:t,primary:R({color:c,name:"primary"}),secondary:R({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:S,name:"error"}),warning:R({color:_,name:"warning"}),info:R({color:E,name:"info"}),success:R({color:A,name:"success"}),grey:f,contrastThreshold:n,getContrastText:T,augmentColor:R,tonalOffset:s},O[t]),l)}const S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},A='"Roboto", "Helvetica", "Arial", sans-serif';function _(e,t){const n="function"===typeof t?t(e):t,{fontFamily:i=A,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:p,pxToRem:h}=n,g=(0,o.A)(n,S);const m=s/14,y=h||(e=>e/f*m+"rem"),v=(e,t,n,o,a)=>{return(0,r.A)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:n},i===A?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5)+"em"}:{},a,p);var s},b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(c,48,1.167,0),h4:v(c,34,1.235,.25),h5:v(c,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(c,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(c,16,1.5,.15),body2:v(c,14,1.43,.15),button:v(u,14,1.75,.4,E),caption:v(c,12,1.66,.4),overline:v(c,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.A)((0,r.A)({htmlFontSize:f,pxToRem:y,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},b),g,{clone:!1})}function T(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}const R=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],O=["duration","easing","delay"],P={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},M={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function L(e){return`${Math.round(e)}ms`}function N(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function I(e){const t=(0,r.A)({},P,e.easing),n=(0,r.A)({},M,e.duration);return(0,r.A)({getAutoHeightDuration:N,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:i=n.standard,easing:a=t.easeInOut,delay:s=0}=r;(0,o.A)(r,O);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"===typeof i?i:L(i)} ${a} ${"string"===typeof s?s:L(s)}`)).join(",")}},e,{easing:t,duration:n})}const j={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},$=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:n={},transitions:u={},typography:d={}}=e,f=(0,o.A)(e,$);if(e.vars)throw new Error((0,i.A)(18));const p=k(n),h=(0,c.A)(e);let g=(0,a.A)(h,{mixins:(m=h.breakpoints,y=t,(0,r.A)({toolbar:{minHeight:56,[m.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[m.up("sm")]:{minHeight:64}}},y)),palette:p,shadows:R.slice(),typography:_(p,d),transitions:I(u),zIndex:(0,r.A)({},j)});var m,y;g=(0,a.A)(g,f);for(var v=arguments.length,b=new Array(v>1?v-1:0),w=1;w<v;w++)b[w-1]=arguments[w];return g=b.reduce(((e,t)=>(0,a.A)(e,t)),g),g.unstable_sxConfig=(0,r.A)({},s.A,null==f?void 0:f.unstable_sxConfig),g.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},g}const W=D},195:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(7775).A)()},7550:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},741:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},o=e=>r(e)&&"classes"!==e},9254:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(7295),o=n(195),i=n(7550),a=n(741);const s=(0,r.Ay)({themeId:i.A,defaultTheme:o.A,rootShouldForwardProp:a.A})},1676:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5501).A},1380:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r}},6987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>C,debounce:()=>k.A,deprecatedPropType:()=>S,isMuiElement:()=>E,ownerDocument:()=>A,ownerWindow:()=>_.A,requirePropFactory:()=>T,setRef:()=>R,unstable_ClassNameGenerator:()=>W,unstable_useEnhancedEffect:()=>O,unstable_useId:()=>L,unsupportedProp:()=>N,useControlled:()=>I,useEventCallback:()=>j.A,useForkRef:()=>$.A,useIsFocusVisible:()=>D.A});var r=n(4501),o=n(1676);const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}),(()=>{}))};var a=n(8168),s=n(9950),l=n.t(s,2),c=n(8587),u=n(2004),d=n(8465),f=n(7353),p=n(9254),h=n(1763),g=n(423);function m(e){return(0,g.Ay)("MuiSvgIcon",e)}(0,h.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=n(4414);const v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],b=(0,p.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,o.A)(n.color)}`],t[`fontSize${(0,o.A)(n.fontSize)}`]]}})((e=>{let{theme:t,ownerState:n}=e;var r,o,i,a,s,l,c,u,d,f,p,h,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=t.transitions)||null==(o=r.create)?void 0:o.call(r,"fill",{duration:null==(i=t.transitions)||null==(i=i.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=t.typography)||null==(s=a.pxToRem)?void 0:s.call(a,20))||"1.25rem",medium:(null==(l=t.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(u=t.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875rem"}[n.fontSize],color:null!=(f=null==(p=(t.vars||t).palette)||null==(p=p[n.color])?void 0:p.main)?f:{action:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(g=(t.vars||t).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0}[n.color]}})),w=s.forwardRef((function(e,t){const n=(0,f.b)({props:e,name:"MuiSvgIcon"}),{children:r,className:i,color:l="inherit",component:p="svg",fontSize:h="medium",htmlColor:g,inheritViewBox:w=!1,titleAccess:x,viewBox:C="0 0 24 24"}=n,k=(0,c.A)(n,v),S=s.isValidElement(r)&&"svg"===r.type,E=(0,a.A)({},n,{color:l,component:p,fontSize:h,instanceFontSize:e.fontSize,inheritViewBox:w,viewBox:C,hasSvgAsChild:S}),A={};w||(A.viewBox=C);const _=(e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root","inherit"!==t&&`color${(0,o.A)(t)}`,`fontSize${(0,o.A)(n)}`]};return(0,d.A)(i,m,r)})(E);return(0,y.jsxs)(b,(0,a.A)({as:p,className:(0,u.A)(_.root,i),focusable:"false",color:g,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:t},A,k,S&&r.props,{ownerState:E,children:[S?r.props.children:r,x?(0,y.jsx)("title",{children:x}):null]}))}));w.muiName="SvgIcon";const x=w;function C(e,t){function n(n,r){return(0,y.jsx)(x,(0,a.A)({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=x.muiName,s.memo(s.forwardRef(n))}var k=n(1380);const S=function(e,t){return()=>null};const E=n(5447).A;const A=n(6907).A;var _=n(1733);const T=function(e,t){return()=>null};const R=n(5587).A;const O=n(1399).A;let P=0;const M=l["useId".toString()];const L=function(e){if(void 0!==M){const t=M();return null!=e?e:t}return function(e){const[t,n]=s.useState(e),r=e||t;return s.useEffect((()=>{null==t&&(P+=1,n(`mui-${P}`))}),[t]),r}(e)};const N=function(e,t,n,r,o){return null};const I=function(e){let{controlled:t,default:n,name:r,state:o="value"}=e;const{current:i}=s.useRef(void 0!==t),[a,l]=s.useState(n);return[i?t:a,s.useCallback((e=>{i||l(e)}),[])]};var j=n(5018),$=n(4326),D=n(2937);const W={configure:e=>{r.A.configure(e)}}},1733:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6907);const o=function(e){return(0,r.A)(e).defaultView||window}},5018:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(9950),o=n(1399);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef((function(){return(0,t.current)(...arguments)})).current}},4326:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(9950),o=n(5587);const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},2937:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(9950),o=n(1824);let i=!0,a=!1;const s=new o.E,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}const p=function(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!f(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},3158:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(9950);var r=n(8283),o=n(4414);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"===typeof t?e=>{return t(void 0===(r=e)||null===r||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},116:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>k.A,StyledEngineProvider:()=>C,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>S,internal_processStyles:()=>E,keyframes:()=>v.i7});var r=n(8168),o=n(9950),i=n(7923),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.A)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(7576),c=n(1783),u=n(9015),d=n(6477),f=s,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},g=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.SF)(t,n,r),(0,d.s)((function(){return(0,c.sk)(t,n,r)})),null},y=function e(t,n){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=g(t,n,s),p=f||h(d),y=!p("as");return function(){var v=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var w=v.length,x=1;x<w;x++)b.push(v[x],v[0][x])}var C=(0,l.w)((function(e,t,n){var r=y&&e.as||d,i="",s=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=o.useContext(l.T)}"string"===typeof e.className?i=(0,c.Rk)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var w=(0,u.J)(b.concat(s),t.registered,g);i+=t.key+"-"+w.name,void 0!==a&&(i+=" "+a);var x=y&&void 0===f?h(r):p,C={};for(var k in e)y&&"as"===k||x(k)&&(C[k]=e[k]);return C.className=i,n&&(C.ref=n),o.createElement(o.Fragment,null,o.createElement(m,{cache:t,serialized:w,isStringTag:"string"===typeof r}),o.createElement(r,C))}));return C.displayName=void 0!==i?i:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=d,C.__emotion_styles=b,C.__emotion_forwardProp=f,Object.defineProperty(C,"toString",{value:function(){return"."+a}}),C.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:g(C,o,!0)})).apply(void 0,b)},C}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){y[e]=y(e)}));var v=n(8283),b=n(8603),w=n(4414);let x;function C(e){const{injectFirst:t,children:n}=e;return t&&x?(0,w.jsx)(l.C,{value:x,children:n}):n}"object"===typeof document&&(x=(0,b.A)({key:"css",prepend:!0}));var k=n(3158);function S(e,t){return y(e,t)}const E=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},9269:(e,t,n)=>{"use strict";var r=n(4994);t.X4=p,t.e$=h,t.eM=function(e,t){const n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.a=g;var o=r(n(9234)),i=r(n(3383));function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,i.default)(e,t,n)}function s(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function d(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=l(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function h(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function g(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(e)>.5?h(e,t):g(e,t)}},7295:(e,t,n)=>{"use strict";var r=n(4994);t.Ay=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:p,skipVariantsResolver:g,skipSx:w,overridesResolver:x=v(m(p))}=c,C=(0,i.default)(c,f),k=void 0!==g?g:p&&"Root"!==p&&"root"!==p||!1,S=w||!1;let E=h;"Root"===p||"root"===p?E=r:p?E=l:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(E=void 0);const A=(0,a.default)(e,(0,o.default)({shouldForwardProp:E,label:undefined},C)),_=e=>"function"===typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>b(e,(0,o.default)({},r,{theme:y({theme:r.theme,defaultTheme:n,themeId:t})})):e,T=function(r){let i=_(r);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];const c=s?s.map(_):[];d&&x&&c.push((e=>{const r=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[d]||!r.components[d].styleOverrides)return null;const i=r.components[d].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=b(i,(0,o.default)({},e,{theme:r}))})),x(e,a)})),d&&!k&&c.push((e=>{var r;const i=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));return b({variants:null==i||null==(r=i.components)||null==(r=r[d])?void 0:r.variants},(0,o.default)({},e,{theme:i}))})),S||c.push(u);const f=c.length-s.length;if(Array.isArray(r)&&f>0){const e=new Array(f).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const p=A(i,...c);return e.muiName&&(p.muiName=e.muiName),p};return A.withConfig&&(T.withConfig=A.withConfig),T}};var o=r(n(4634)),i=r(n(4893)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(116)),s=n(7785),l=(r(n(304)),r(n(8399)),r(n(9904))),c=r(n(8807));const u=["ownerState"],d=["variants"],f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function v(e){return e?(t,n)=>n[e]:null}function b(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u);const a="function"===typeof e?e((0,o.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>b(e,(0,o.default)({ownerState:n},r))));if(a&&"object"===typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,d);return e.forEach((e=>{let i=!0;"function"===typeof e.props?i=e.props((0,o.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,o.default)({ownerState:n},r,n)):e.style))})),t}return a}},8286:(e,t,n)=>{"use strict";n.d(t,{EU:()=>s,NI:()=>a,iZ:()=>c,kW:()=>u,vf:()=>l,zu:()=>o});var r=n(7483);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||i;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"===typeof t){const e=r.breakpoints||i;return Object.keys(t).reduce(((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){r[e.up(i)]=n(t[i],i)}else{const e=i;r[e]=t[e]}return r}),{})}return n(t)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e){const t=s(e);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=[t,...o].reduce(((e,t)=>(0,r.A)(e,t)),{});return l(Object.keys(t),a)}function u(e){let{values:t,breakpoints:n,base:r}=e;const o=r||function(e,t){if("object"!==typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(t,n),i=Object.keys(o);if(0===i.length)return t;let a;return i.reduce(((e,n,r)=>(Array.isArray(t)?(e[n]=null!=t[r]?t[r]:t[a],a=r):"object"===typeof t?(e[n]=null!=t[n]?t[n]:t[a],a=n):e[n]=t,e)),{})}},86:(e,t,n)=>{"use strict";function r(e,t){const n=this;if(n.vars&&"function"===typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}n.d(t,{A:()=>r})},3628:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(8587),o=n(8168);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=e,l=(0,r.A)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n})`}function f(e){return`@media (max-width:${("number"===typeof t[e]?t[e]:e)-s/100}${n})`}function p(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"===typeof t[u[o]]?t[u[o]]:r)-s/100}${n})`}return(0,o.A)({keys:u,values:c,up:d,down:f,between:p,only:function(e){return u.indexOf(e)+1<u.length?p(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?f(u[t]):p(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},l)}},2860:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(8168),o=n(8587),i=n(7483),a=n(3628);const s={borderRadius:4};var l=n(7937);var c=n(505),u=n(8076),d=n(86);const f=["breakpoints","palette","spacing","shape"];const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:n={},spacing:p,shape:h={}}=e,g=(0,o.A)(e,f),m=(0,a.A)(t),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,l.LX)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((e=>{const n=t(e);return"number"===typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}(p);let v=(0,i.A)({breakpoints:m,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},n),spacing:y,shape:(0,r.A)({},s,h)},g);v.applyStyles=d.A;for(var b=arguments.length,w=new Array(b>1?b-1:0),x=1;x<b;x++)w[x-1]=arguments[x];return v=w.reduce(((e,t)=>(0,i.A)(e,t)),v),v.unstable_sxConfig=(0,r.A)({},u.A,null==g?void 0:g.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},v}},9904:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var r=n(2860),o=n(3628),i=n(86)},6206:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7483);const o=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},7937:(e,t,n)=>{"use strict";n.d(t,{LX:()=>h,MA:()=>p,_W:()=>g,Lc:()=>v,Ms:()=>b});var r=n(8286),o=n(2703),i=n(6206);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...u,...d];function p(e,t,n,r){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:n;return"number"===typeof a?e=>"string"===typeof e?e:a*e:Array.isArray(a)?e=>"string"===typeof e?e:a[e]:"function"===typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function g(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:`-${n}`}function m(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=g(t,n),e)),{})}(c(n),o),a=e[n];return(0,r.NI)(e,a,i)}function y(e,t){const n=h(e.theme);return Object.keys(e).map((r=>m(e,t,r,n))).reduce(i.A,{})}function v(e){return y(e,u)}function b(e){return y(e,d)}function w(e){return y(e,f)}v.propTypes={},v.filterProps=u,b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=f},2703:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var r=n(5501),o=n(8286);function i(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:i(e,n)||o,t&&(r=t(r,o,e)),r}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"===typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},8076:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(7937),o=n(2703),i=n(6206);const a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,n)=>r[n]?(0,i.A)(t,r[n](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o};var s=n(8286);function l(e){return"number"!==typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),f=c("borderRight",l),p=c("borderBottom",l),h=c("borderLeft",l),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),C=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};C.propTypes={},C.filterProps=["borderRadius"];a(u,d,f,p,h,g,m,y,v,b,C,w,x);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};S.propTypes={},S.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(k,S,E,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function A(e,t){return"grey"===t?t:e}a((0,o.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));function _(e){return e<=1&&0!==e?100*e+"%":e}const T=(0,o.Ay)({prop:"width",transform:_}),R=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:_(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};R.filterProps=["maxWidth"];const O=(0,o.Ay)({prop:"minWidth",transform:_}),P=(0,o.Ay)({prop:"height",transform:_}),M=(0,o.Ay)({prop:"maxHeight",transform:_}),L=(0,o.Ay)({prop:"minHeight",transform:_}),N=((0,o.Ay)({prop:"size",cssProperty:"width",transform:_}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:_}),a(T,R,O,P,M,L,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:C},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:E},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:R},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},237:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(8168),o=n(8587),i=n(7483),a=n(8076);const s=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.A;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,o.A)(e,s),{systemProps:a,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[a,...t]:"function"===typeof t?function(){const e=t(...arguments);return(0,i.Q)(e)?(0,r.A)({},a,e):a}:(0,r.A)({},a,t),(0,r.A)({},c,{sx:u})}},8807:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>r.k,unstable_defaultSxConfig:()=>i.A});var r=n(505),o=n(237),i=n(8076)},505:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,k:()=>l});var r=n(5501),o=n(6206),i=n(2703),a=n(8286),s=n(8076);function l(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:f}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,i.Yn)(n,u)||{};if(f)return f(s);return(0,a.NI)(s,t,(t=>{let n=(0,i.BO)(p,d,t);return t===n&&"string"===typeof t&&(n=(0,i.BO)(p,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.A;function u(n){let r=n;if("function"===typeof n)r=n(l);else if("object"!==typeof n)return n;if(!r)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],d=l,"function"===typeof s?s(d):s);var s,d;if(null!==i&&void 0!==i)if("object"===typeof i)if(c[n])u=(0,o.A)(u,e(n,i,l,c));else{const e=(0,a.NI)({theme:l},i,(e=>({[n]:e})));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(r);return t.every((e=>o.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.A)(u,e(n,i,l,c))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},4501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},5501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8099);function o(e){if("string"!==typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(5501)},3383:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))}},8465:(e,t,n)=>{"use strict";function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},7483:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>o});var r=n(8168);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const s=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{o(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r]})),s}},7785:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,isPlainObject:()=>r.Q});var r=n(7483)},8099:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:()=>r})},9234:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(8099)},423:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var r=n(4501);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},1763:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(423);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},8399:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getFunctionName:()=>i});var r=n(6429);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||i(e)||t}function s(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return a(e,"Component");if("object"===typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo");default:return}}}},5447:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9950);function o(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},6907:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},5537:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.A)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.A)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},5587:(e,t,n)=>{"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},1399:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9950);const o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},1824:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>s});var r=n(9950);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},3422:(e,t)=>{"use strict";t.o=void 0;var n=function(){function e(){this.b64c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",this.b64u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",this.b64pad="="}return e.prototype.encode=function(e){var t=unescape(encodeURIComponent(e));return this.encodeData(t,t.length,this.b64c)},e.prototype.urlEncode=function(e){var t=unescape(encodeURIComponent(e));return this.encodeData(t,t.length,this.b64u)},e.prototype.decode=function(e){var t,n,r,o,i,a="";for(t=0;t<e.length-3;t+=4)n=this.charIndex(e.charAt(t+0)),r=this.charIndex(e.charAt(t+1)),o=this.charIndex(e.charAt(t+2)),i=this.charIndex(e.charAt(t+3)),a+=String.fromCharCode(n<<2|r>>>4),e.charAt(t+2)!==this.b64pad&&(a+=String.fromCharCode(r<<4&240|o>>>2&15)),e.charAt(t+3)!==this.b64pad&&(a+=String.fromCharCode(o<<6&192|i));return a=decodeURIComponent(escape(a))},e.prototype.urlSniff=function(e){return e.indexOf("-")>=0||e.indexOf("_")>=0},e.prototype.encodeData=function(e,t,n){var r="",o=0;for(o=0;o<=t-3;o+=3)r+=n.charAt(e.charCodeAt(o)>>>2),r+=n.charAt((3&e.charCodeAt(o))<<4|e.charCodeAt(o+1)>>>4),r+=n.charAt((15&e.charCodeAt(o+1))<<2|e.charCodeAt(o+2)>>>6),r+=n.charAt(63&e.charCodeAt(o+2));return t%3===2?(r+=n.charAt(e.charCodeAt(o)>>>2),r+=n.charAt((3&e.charCodeAt(o))<<4|e.charCodeAt(o+1)>>>4),r+=n.charAt((15&e.charCodeAt(o+1))<<2),r+=this.b64pad):t%3===1&&(r+=n.charAt(e.charCodeAt(o)>>>2),r+=n.charAt((3&e.charCodeAt(o))<<4),r+=this.b64pad,r+=this.b64pad),r},e.prototype.charIndex=function(e){return"+"===e?62:"/"===e?63:this.b64u.indexOf(e)},e}();t.o=n},2414:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"===typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},3876:(e,t,n)=>{"use strict";var r=n(630),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var y=a[m];if(!i[y]&&(!r||!r[y])&&(!g||!g[y])&&(!s||!s[y])){var v=f(n,y);try{c(t,y,v)}catch(b){}}}}return t}},2138:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case o:return t}}}function C(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||x(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},630:(e,t,n)=>{"use strict";e.exports=n(2138)},3450:function(e,t,n){e=n.nmd(e),function(n){"use strict";var r={};n.PubSub?(r=n.PubSub,console.warn("PubSub already loaded, using existing version")):(n.PubSub=r,function(e){var t={},n=-1,r="*";function o(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e){return function(){throw e}}function a(e,t,n){try{e(t,n)}catch(r){setTimeout(i(r),0)}}function s(e,t,n){e(t,n)}function l(e,n,r,o){var i,l=t[n],c=o?s:a;if(Object.prototype.hasOwnProperty.call(t,n))for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&c(l[i],e,r)}function c(e,t,n){return function(){var o=String(e),i=o.lastIndexOf(".");for(l(e,e,t,n);-1!==i;)i=(o=o.substr(0,i)).lastIndexOf("."),l(e,o,t,n);l(e,r,t,n)}}function u(e){var n=String(e);return Boolean(Object.prototype.hasOwnProperty.call(t,n)&&o(t[n]))}function d(e){for(var t=String(e),n=u(t)||u(r),o=t.lastIndexOf(".");!n&&-1!==o;)o=(t=t.substr(0,o)).lastIndexOf("."),n=u(t);return n}function f(e,t,n,r){var o=c(e="symbol"===typeof e?e.toString():e,t,r);return!!d(e)&&(!0===n?o():setTimeout(o,0),!0)}e.publish=function(t,n){return f(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return f(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,r){if("function"!==typeof r)return!1;e="symbol"===typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(t,e)||(t[e]={});var o="uid_"+String(++n);return t[e][o]=r,o},e.subscribeAll=function(t){return e.subscribe(r,t)},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&delete t[n]},e.countSubscriptions=function(e){var n,r,o=0;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)){for(r in t[n])o++;break}return o},e.getSubscriptions=function(e){var n,r=[];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&r.push(n);return r},e.unsubscribe=function(n){var r,o,i,a=function(e){var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e))return!0;return!1},s="string"===typeof n&&(Object.prototype.hasOwnProperty.call(t,n)||a(n)),l=!s&&"string"===typeof n,c="function"===typeof n,u=!1;if(!s){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(o=t[r],l&&o[n]){delete o[n],u=n;break}if(c)for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&o[i]===n&&(delete o[i],u=!0)}return u}e.clearSubscriptions(n)}}(r)),void 0!==e&&e.exports&&(t=e.exports=r),t.PubSub=r,e.exports=t=r}("object"===typeof window&&window||this||n.g)},8345:(e,t,n)=>{"use strict";var r=n(9950),o=n(5340);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),C=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var j,$=Object.assign;function D(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var W=!1;function U(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function F(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function z(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case C:return"Portal";case E:return"Profiler";case S:return"StrictMode";case R:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return z(e(t))}catch(n){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return $({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,ke=null,Se=null;function Ee(e){if(e=wo(e)){if("function"!==typeof Ce)throw Error(i(280));var t=e.stateNode;t&&(t=Co(t),Ce(e.stateNode,e.type,t))}}function Ae(e){ke?Se?Se.push(e):Se=[e]:ke=e}function _e(){if(ke){var e=ke,t=Se;if(Se=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Te(e,t){return e(t)}function Re(){}var Oe=!1;function Pe(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Te(e,t,n)}finally{Oe=!1,(null!==ke||null!==Se)&&(Re(),_e())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=Co(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(u)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ue){Le=!1}function Ie(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var je=!1,$e=null,De=!1,We=null,Ue={onError:function(e){je=!0,$e=e}};function Fe(e,t,n,r,o,i,a,s,l){je=!1,$e=null,Ie.apply(Ue,arguments)}function ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(ze(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ke(e):null}function Ke(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ke(e);if(null!==t)return t;e=e.sibling}return null}var Ve=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Ze=o.unstable_requestPaint,Ye=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,Ct,kt,St,Et,At=!1,_t=[],Tt=null,Rt=null,Ot=null,Pt=new Map,Mt=new Map,Lt=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function jt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&Ct(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function $t(e){var t=bo(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Wt(e,t,n){Dt(e)&&n.delete(t)}function Ut(){At=!1,null!==Tt&&Dt(Tt)&&(Tt=null),null!==Rt&&Dt(Rt)&&(Rt=null),null!==Ot&&Dt(Ot)&&(Ot=null),Pt.forEach(Wt),Mt.forEach(Wt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function zt(e){function t(t){return Ft(t,e)}if(0<_t.length){Ft(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ft(Tt,e),null!==Rt&&Ft(Rt,e),null!==Ot&&Ft(Ot,e),Pt.forEach(t),Mt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)$t(n),null===n.blockedOn&&Lt.shift()}var Bt=w.ReactCurrentBatchConfig,qt=!0;function Ht(e,t,n,r){var o=bt,i=Bt.transition;Bt.transition=null;try{bt=1,Vt(e,t,n,r)}finally{bt=o,Bt.transition=i}}function Kt(e,t,n,r){var o=bt,i=Bt.transition;Bt.transition=null;try{bt=4,Vt(e,t,n,r)}finally{bt=o,Bt.transition=i}}function Vt(e,t,n,r){if(qt){var o=Qt(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=jt(Tt,e,t,n,r,o),!0;case"dragenter":return Rt=jt(Rt,e,t,n,r,o),!0;case"mouseover":return Ot=jt(Ot,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,jt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,jt(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&xt(i),null===(i=Qt(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function Qt(e,t,n,r){if(Gt=null,null!==(e=bo(e=xe(r))))if(null===(t=ze(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return $(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=$({},cn,{view:0,detail:0}),fn=on(dn),pn=$({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),gn=on($({},pn,{dataTransfer:0})),mn=on($({},dn,{relatedTarget:0})),yn=on($({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=$({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on($({},cn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return Sn}var An=$({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=on(An),Tn=on($({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=on($({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),On=on($({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=$({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Pn),Ln=[9,13,27,32],Nn=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var jn=u&&"TextEvent"in window&&!In,$n=u&&(!Nn||In&&8<In&&11>=In),Dn=String.fromCharCode(32),Wn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Bn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Hn(e,t,n,r){Ae(r),0<(t=Kr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Vn=null;function Gn(e){Dr(e,0)}function Qn(e){if(V(xo(e)))return e}function Zn(e,t){if("change"===e)return t}var Yn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Kn&&(Kn.detachEvent("onpropertychange",nr),Vn=Kn=null)}function nr(e){if("value"===e.propertyName&&Qn(Vn)){var t=[];Hn(t,Vn,e,xe(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Kn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Vn)}function ir(e,t){if("click"===e)return Qn(t)}function ar(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==G(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Kr(yr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Sr={};function Er(e){if(kr[e])return kr[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return kr[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var Ar=Er("animationend"),_r=Er("animationiteration"),Tr=Er("animationstart"),Rr=Er("transitionend"),Or=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Or.set(e,t),l(t,[e])}for(var Lr=0;Lr<Pr.length;Lr++){var Nr=Pr[Lr];Mr(Nr.toLowerCase(),"on"+(Nr[0].toUpperCase()+Nr.slice(1)))}Mr(Ar,"onAnimationEnd"),Mr(_r,"onAnimationIteration"),Mr(Tr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Rr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function $r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(Fe.apply(this,arguments),je){if(!je)throw Error(i(198));var u=$e;je=!1,$e=null,De||(De=!0,We=u)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;$r(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;$r(o,s,c),i=l}}}if(De)throw e=We,De=!1,We=null,e}function Wr(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Br(n,e,r,t)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Fr]){e[Fr]=!0,a.forEach((function(t){"selectionchange"!==t&&(jr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Fr]||(t[Fr]=!0,Ur("selectionchange",!1,t))}}function Br(e,t,n,r){switch(Zt(t)){case 1:var o=Ht;break;case 4:o=Kt;break;default:o=Vt}n=o.bind(null,t,n,e),o=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,o=xe(n),a=[];e:{var s=Or.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=_n;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Rn;break;case Ar:case _r:case Tr:l=yn;break;case Rr:l=On;break;case"scroll":l=fn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&(null!=(g=Me(h,f))&&u.push(Hr(h,g,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[go])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=ze(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xo(l),p=null==c?s:xo(c),(s=new u(g,h+"leave",l,n,o)).target=d,s.relatedTarget=p,g=null,bo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Vr(p))h++;for(p=0,g=f;g;g=Vr(g))p++;for(;0<h-p;)u=Vr(u),h--;for(;0<p-h;)f=Vr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Vr(u),f=Vr(f)}u=null}else u=null;null!==l&&Gr(a,s,l,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(l=(s=r?xo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Zn;else if(qn(s))if(Yn)m=ar;else{m=or;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ir);switch(m&&(m=m(e,r))?Hn(a,m,n,o):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?xo(r):window,e){case"focusin":(qn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,vr=null);break;case"focusout":vr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(a,n,o)}var v;if(Nn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&($n&&"ko"!==n.locale&&(zn||"onCompositionStart"!==b?"onCompositionEnd"===b&&zn&&(v=en()):(Xt="value"in(Yt=o)?Yt.value:Yt.textContent,zn=!0)),0<(y=Kr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:y}),v?b.data=v:null!==(v=Fn(n))&&(b.data=v))),(v=jn?function(e,t){switch(e){case"compositionend":return Fn(t);case"keypress":return 32!==t.which?null:(Wn=!0,Dn);case"textInput":return(e=t.data)===Dn&&Wn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Nn&&Un(e,t)?(e=en(),Jt=Xt=Yt=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Kr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}Dr(a,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Me(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Me(n,i))&&a.unshift(Hr(n,l,s)):o||null!=(l=Me(n,i))&&a.push(Hr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Qr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Qr,"\n").replace(Zr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);zt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,go="__reactContainer$"+fo,mo="__reactEvents$"+fo,yo="__reactListeners$"+fo,vo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[go]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[go])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Co(e){return e[ho]||null}var ko=[],So=-1;function Eo(e){return{current:e}}function Ao(e){0>So||(e.current=ko[So],ko[So]=null,So--)}function _o(e,t){So++,ko[So]=e.current,e.current=t}var To={},Ro=Eo(To),Oo=Eo(!1),Po=To;function Mo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function No(){Ao(Oo),Ao(Ro)}function Io(e,t,n){if(Ro.current!==To)throw Error(i(168));_o(Ro,t),_o(Oo,n)}function jo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,B(e)||"Unknown",o));return $({},n,r)}function $o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Po=Ro.current,_o(Ro,e),_o(Oo,Oo.current),!0}function Do(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=jo(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Ao(Oo),Ao(Ro),_o(Ro,e)):Ao(Oo),_o(Oo,n)}var Wo=null,Uo=!1,Fo=!1;function zo(e){null===Wo?Wo=[e]:Wo.push(e)}function Bo(){if(!Fo&&null!==Wo){Fo=!0;var e=0,t=bt;try{var n=Wo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Wo=null,Uo=!1}catch(o){throw null!==Wo&&(Wo=Wo.slice(e+1)),Ve(Je,Bo),o}finally{bt=t,Fo=!1}}return null}var qo=[],Ho=0,Ko=null,Vo=0,Go=[],Qo=0,Zo=null,Yo=1,Xo="";function Jo(e,t){qo[Ho++]=Vo,qo[Ho++]=Ko,Ko=e,Vo=t}function ei(e,t,n){Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Zo,Zo=e;var r=Yo;e=Xo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Yo=1<<32-at(t)+o|n<<o|r,Xo=i+e}else Yo=1<<i|n<<o|r,Xo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Ko;)Ko=qo[--Ho],qo[Ho]=null,Vo=qo[--Ho],qo[Ho]=null;for(;e===Zo;)Zo=Go[--Qo],Go[Qo]=null,Xo=Go[--Qo],Go[Qo]=null,Yo=Go[--Qo],Go[Qo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Pc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Zo?{id:Yo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function gi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function yi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function vi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Lc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$c(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===M&&bi(i)===t.type)?((r=o(t,n.props)).ref=yi(e,t,n),r.return=e,r):((r=Nc(n.type,n.key,n.props,null,e.mode,r)).ref=yi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=$c(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Nc(t.type,t.key,t.props,null,e.mode,n)).ref=yi(e,null,t),n.return=e,n;case C:return(t=Dc(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Ic(t,e.mode,n,null)).return=e,t;vi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?c(e,t,n,r):null;case C:return n.key===o?u(e,t,n,r):null;case M:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);vi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case M:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);vi(t,r)}return null}function g(o,i,s,l){for(var c=null,u=null,d=i,g=i=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=p(o,d,s[g],l);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,g),null===u?c=y:u.sibling=y,u=y,d=m}if(g===s.length)return n(o,d),ii&&Jo(o,g),c;if(null===d){for(;g<s.length;g++)null!==(d=f(o,s[g],l))&&(i=a(d,i,g),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,g),c}for(d=r(o,d);g<s.length;g++)null!==(m=h(d,o,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=a(m,i,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),c}function m(o,s,l,c){var u=I(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,g=s,m=s=0,y=null,v=l.next();null!==g&&!v.done;m++,v=l.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=p(o,g,v.value,c);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(o,g),s=a(b,s,m),null===d?u=b:d.sibling=b,d=b,g=y}if(v.done)return n(o,g),ii&&Jo(o,m),u;if(null===g){for(;!v.done;m++,v=l.next())null!==(v=f(o,v.value,c))&&(s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return ii&&Jo(o,m),u}for(g=r(o,g);!v.done;m++,v=l.next())null!==(v=h(g,o,m,v.value,c))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===d?u=v:d.sibling=v,d=v);return e&&g.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===k){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===M&&bi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=yi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===k?((i=Ic(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Nc(a.type,a.key,a.props,null,r.mode,l)).ref=yi(r,i,a),l.return=r,r=l)}return s(r);case C:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Dc(a,r.mode,l)).return=r,r=i}return s(r);case M:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return g(r,i,a,l);if(I(a))return m(r,i,a,l);vi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=$c(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var xi=wi(!0),Ci=wi(!1),ki=Eo(null),Si=null,Ei=null,Ai=null;function _i(){Ai=Ei=Si=null}function Ti(e){var t=ki.current;Ao(ki),e._currentValue=t}function Ri(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oi(e,t){Si=e,Ai=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Pi(e){var t=e._currentValue;if(Ai!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===Si)throw Error(i(308));Ei=e,Si.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Mi=null;function Li(e){null===Mi?Mi=[e]:Mi.push(e)}function Ni(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Li(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ii(e,r)}function Ii(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var ji=!1;function $i(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Di(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Wi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ui(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Tl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ii(e,n)}return null===(o=r.interleaved)?(t.next=t,Li(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ii(e,n)}function Fi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function zi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bi(e,t,n,r){var o=e.updateQueue;ji=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(f=t,p=n,g.tag){case 1:if("function"===typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=g.payload)?h.call(p,d,f):h)||void 0===f)break e;d=$({},d,f);break e;case 2:ji=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);jl|=a,e.lanes=a,e.memoizedState=d}}function qi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Hi={},Ki=Eo(Hi),Vi=Eo(Hi),Gi=Eo(Hi);function Qi(e){if(e===Hi)throw Error(i(174));return e}function Zi(e,t){switch(_o(Gi,t),_o(Vi,e),_o(Ki,Hi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ao(Ki),_o(Ki,t)}function Yi(){Ao(Ki),Ao(Vi),Ao(Gi)}function Xi(e){Qi(Gi.current);var t=Qi(Ki.current),n=le(t,e.type);t!==n&&(_o(Vi,e),_o(Ki,n))}function Ji(e){Vi.current===e&&(Ao(Ki),Ao(Vi))}var ea=Eo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=w.ReactCurrentDispatcher,ia=w.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,fa=0,pa=0;function ha(){throw Error(i(321))}function ga(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ma(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Ja:es,e=n(r,o),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(i(301));a+=1,ca=la=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(da)}if(oa.current=Xa,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(i(300));return e}function ya(){var e=0!==fa;return fa=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"===typeof t?t(e):t}function xa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=la,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,sa.lanes|=d,jl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,jl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ca(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ka(){}function Sa(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,ja(_a.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Pa(9,Aa.bind(null,n,r,o,t),void 0,null),null===Rl)throw Error(i(349));0!==(30&aa)||Ea(n,t,o)}return o}function Ea(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Aa(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Ra(e)}function _a(e,t,n){return n((function(){Ta(t)&&Ra(e)}))}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ra(e){var t=Ii(e,1);null!==t&&nc(t,e,1,-1)}function Oa(e){var t=va();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[t.memoizedState,e]}function Pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return ba().memoizedState}function La(e,t,n,r){var o=va();sa.flags|=e,o.memoizedState=Pa(1|t,n,void 0,void 0===r?null:r)}function Na(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==r&&ga(r,a.deps))return void(o.memoizedState=Pa(t,n,i,r))}sa.flags|=e,o.memoizedState=Pa(1|t,n,i,r)}function Ia(e,t){return La(8390656,8,e,t)}function ja(e,t){return Na(2048,8,e,t)}function $a(e,t){return Na(4,2,e,t)}function Da(e,t){return Na(4,4,e,t)}function Wa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ua(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Na(4,4,Wa.bind(null,t,e),n)}function Fa(){}function za(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ga(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ba(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ga(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qa(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),sa.lanes|=n,jl|=n,e.baseState=!0),t)}function Ha(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function Ka(){return ba().memoizedState}function Va(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qa(e))Za(t,n);else if(null!==(n=Ni(e,t,n,r))){nc(n,e,r,ec()),Ya(n,t,r)}}function Ga(e,t,n){var r=tc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Za(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Li(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(c){}null!==(n=Ni(e,t,o,r))&&(nc(n,e,r,o=ec()),Ya(n,t,r))}}function Qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Za(e,t){da=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ya(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Xa={readContext:Pi,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Ja={readContext:Pi,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Pi,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,La(4194308,4,Wa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return La(4194308,4,e,t)},useInsertionEffect:function(e,t){return La(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Va.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Oa,useDebugValue:Fa,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Oa(!1),t=e[0];return e=Ha.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=va();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Rl)throw Error(i(349));0!==(30&aa)||Ea(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ia(_a.bind(null,r,a,e),[e]),r.flags|=2048,Pa(9,Aa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Rl.identifierPrefix;if(ii){var n=Xo;t=":"+t+"R"+(n=(Yo&~(1<<32-at(Yo)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Pi,useCallback:za,useContext:Pi,useEffect:ja,useImperativeHandle:Ua,useInsertionEffect:$a,useLayoutEffect:Da,useMemo:Ba,useReducer:xa,useRef:Ma,useState:function(){return xa(wa)},useDebugValue:Fa,useDeferredValue:function(e){return qa(ba(),la.memoizedState,e)},useTransition:function(){return[xa(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Sa,useId:Ka,unstable_isNewReconciler:!1},ts={readContext:Pi,useCallback:za,useContext:Pi,useEffect:ja,useImperativeHandle:Ua,useInsertionEffect:$a,useLayoutEffect:Da,useMemo:Ba,useReducer:Ca,useRef:Ma,useState:function(){return Ca(wa)},useDebugValue:Fa,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:qa(t,la.memoizedState,e)},useTransition:function(){return[Ca(wa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Sa,useId:Ka,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=$({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:$({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Wi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nc(t,e,o,r),Fi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Wi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ui(e,i,o))&&(nc(t,e,o,r),Fi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),o=Wi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ui(e,o,r))&&(nc(t,e,r,n),Fi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function as(e,t,n){var r=!1,o=To,i=t.contextType;return"object"===typeof i&&null!==i?i=Pi(i):(o=Lo(t)?Po:Ro.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Mo(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},$i(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Pi(i):(i=Lo(t)?Po:Ro.current,o.context=Mo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Bi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Wi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Hl=r),ds(0,t)},n}function hs(e,t,n){(n=Wi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Ec.bind(null,e,t,n),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Wi(-1,1)).tag=2,Ui(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=w.ReactCurrentOwner,bs=!1;function ws(e,t,n,r){t.child=null===e?Ci(t,null,n,r):xi(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var i=t.ref;return Oi(t,o),r=ma(e,t,n,r,i,o),n=ya(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,ws(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function Cs(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Mc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,ks(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return qs(e,t,o)}return t.flags|=1,(e=Lc(i,r)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,qs(e,t,o);0!==(131072&e.flags)&&(bs=!0)}}return As(e,t,n,r,o)}function Ss(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Ll,Ml),Ml|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Ll,Ml),Ml|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,_o(Ll,Ml),Ml|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,_o(Ll,Ml),Ml|=r;return ws(e,t,o,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,n,r,o){var i=Lo(n)?Po:Ro.current;return i=Mo(t,i),Oi(t,o),n=ma(e,t,n,r,i,o),r=ya(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,ws(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,qs(e,t,o))}function _s(e,t,n,r,o){if(Lo(n)){var i=!0;$o(t)}else i=!1;if(Oi(t,o),null===t.stateNode)Bs(e,t),as(t,n,r),ls(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Pi(c):c=Mo(t,c=Lo(n)?Po:Ro.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),ji=!1;var f=t.memoizedState;a.state=f,Bi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Oo.current||ji?("function"===typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=ji||is(t,n,s,r,f,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Di(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Pi(l):l=Mo(t,l=Lo(n)?Po:Ro.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&ss(t,a,r,l),ji=!1,f=t.memoizedState,a.state=f,Bi(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||Oo.current||ji?("function"===typeof p&&(rs(t,n,p,r),h=t.memoizedState),(c=ji||is(t,n,c,r,f,h,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,i,o)}function Ts(e,t,n,r,o,i){Es(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Do(t,n,!1),qs(e,t,i);r=t.stateNode,vs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xi(t,e.child,null,i),t.child=xi(t,null,s,i)):ws(e,t,s,i),t.memoizedState=r.state,o&&Do(t,n,!0),t.child}function Rs(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),Zi(e,t.containerInfo)}function Os(e,t,n,r,o){return hi(),gi(o),t.flags|=256,ws(e,t,n,r),t.child}var Ps,Ms,Ls,Ns,Is={dehydrated:null,treeContext:null,retryLane:0};function js(e){return{baseLanes:e,cachePool:null,transitions:null}}function $s(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_o(ea,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=jc(l,o,0,null),e=Ic(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=js(n),t.memoizedState=Is,e):Ds(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ws(e,t,s,r=us(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=jc({mode:"visible",children:r.children},o,0,null),(a=Ic(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&xi(t,e.child,null,s),t.child.memoizedState=js(s),t.memoizedState=Is,a);if(0===(1&t.mode))return Ws(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Ws(e,t,s,r=us(a=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=Rl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ii(e,o),nc(r,e,o,-1))}return gc(),Ws(e,t,s,r=us(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=_c.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[Qo++]=Yo,Go[Qo++]=Xo,Go[Qo++]=Zo,Yo=e.id,Xo=e.overflow,Zo=t),t=Ds(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Lc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Lc(r,s):(s=Ic(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?js(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,o}return e=(s=e.child).sibling,o=Lc(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ds(e,t){return(t=jc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ws(e,t,n,r){return null!==r&&gi(r),xi(t,e.child,null,n),(e=Ds(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ri(e.return,t,n)}function Fs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function zs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ws(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_o(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fs(t,!0,n,null,i);break;case"together":Fs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Lc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ks(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ks(t),null;case 1:case 17:return Lo(t.type)&&No(),Ks(t),null;case 3:return r=t.stateNode,Yi(),Ao(Oo),Ao(Ro),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ms(e,t),Ks(t),null;case 5:Ji(t);var o=Qi(Gi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ls(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ks(t),null}if(e=Qi(Ki.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Wr("cancel",r),Wr("close",r);break;case"iframe":case"object":case"embed":Wr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Wr(Ir[o],r);break;case"source":Wr("error",r);break;case"img":case"image":case"link":Wr("error",r),Wr("load",r);break;case"details":Wr("toggle",r);break;case"input":Z(r,a),Wr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Wr("invalid",r);break;case"textarea":oe(r,a),Wr("invalid",r)}for(var l in ve(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Wr("scroll",r)}switch(n){case"input":K(r),J(r,a,!0);break;case"textarea":K(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Ps(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Wr("cancel",e),Wr("close",e),o=r;break;case"iframe":case"object":case"embed":Wr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Wr(Ir[o],e);o=r;break;case"source":Wr("error",e),o=r;break;case"img":case"image":case"link":Wr("error",e),Wr("load",e),o=r;break;case"details":Wr("toggle",e),o=r;break;case"input":Z(e,r),o=Q(e,r),Wr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=$({},r,{value:void 0}),Wr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Wr("invalid",e)}for(a in ve(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?me(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Wr("scroll",e):null!=u&&b(e,a,u,l))}switch(n){case"input":K(e),J(e,r,!1);break;case"textarea":K(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ks(t),null;case 6:if(e&&null!=t.stateNode)Ns(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=Qi(Gi.current),Qi(Ki.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ks(t),null;case 13:if(Ao(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ks(t),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Nl&&(Nl=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ks(t),null);case 4:return Yi(),Ms(e,t),null===e&&zr(t.stateNode.containerInfo),Ks(t),null;case 10:return Ti(t.type._context),Ks(t),null;case 19:if(Ao(ea),null===(a=t.memoizedState))return Ks(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Hs(a,!1);else{if(0!==Nl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Hs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ye()>zl&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ks(t),null}else 2*Ye()-a.renderingStartTime>zl&&1073741824!==n&&(t.flags|=128,r=!0,Hs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,n=ea.current,_o(ea,r?1&n|2:1&n),t):(Ks(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ml)&&(Ks(t),6&t.subtreeFlags&&(t.flags|=8192)):Ks(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Gs(e,t){switch(ni(t),t.tag){case 1:return Lo(t.type)&&No(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yi(),Ao(Oo),Ao(Ro),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(Ao(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ao(ea),null;case 4:return Yi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ms=function(){},Ls=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Qi(Ki.current);var i,a=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),a=[];break;case"select":o=$({},o,{value:void 0}),r=$({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ve(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Wr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ns=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qs=!1,Zs=!1,Ys="function"===typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Sc(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){Sc(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[mo],delete t[yo],delete t[vo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Zs||Js(n,t);case 6:var r=ul,o=dl;ul=null,fl(e,t,n),dl=o,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),zt(e)):lo(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Zs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&el(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Zs&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Sc(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,fl(e,t,n),Zs=r):fl(e,t,n);break;default:fl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ys),t.forEach((function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));pl(a,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){Sc(o,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(m){Sc(e,e.return,m)}try{nl(5,e,e.return)}catch(m){Sc(e,e.return,m)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(m){Sc(e,e.return,m)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Y(o,a),be(l,s);var u=be(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?me(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(l){case"input":X(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(m){Sc(e,e.return,m)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(m){Sc(e,e.return,m)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(m){Sc(e,e.return,m)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Fl=Ye())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(u=Zs)||d,gl(t,e),Zs=u):gl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Xs=e,d=e.child;null!==d;){for(f=Xs=d;null!==Xs;){switch(h=(p=Xs).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Js(p,p.return);var g=p.stateNode;if("function"===typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Sc(r,n,m)}}break;case 5:Js(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Xs=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",s))}catch(m){Sc(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Sc(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),yl(e),4&r&&hl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(s){Sc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Xs=e,bl(e,t,n)}function bl(e,t,n){for(var r=0!==(1&e.mode);null!==Xs;){var o=Xs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Qs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Qs;var c=Zs;if(Qs=a,(Zs=l)&&!c)for(Xs=o;null!==Xs;)l=(a=Xs).child,22===a.tag&&null!==a.memoizedState?Cl(o):null!==l?(l.return=a,Xs=l):Cl(o);for(;null!==i;)Xs=i,bl(i,t,n),i=i.sibling;Xs=o,Qs=s,Zs=c}wl(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Xs=i):wl(e)}}function wl(e){for(;null!==Xs;){var t=Xs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&qi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}qi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&zt(f)}}}break;default:throw Error(i(163))}Zs||512&t.flags&&ol(t)}catch(p){Sc(t,t.return,p)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function xl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function Cl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){Sc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Sc(t,o,l)}}var i=t.return;try{ol(t)}catch(l){Sc(t,i,l)}break;case 5:var a=t.return;try{ol(t)}catch(l){Sc(t,a,l)}}}catch(l){Sc(t,t.return,l)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var kl,Sl=Math.ceil,El=w.ReactCurrentDispatcher,Al=w.ReactCurrentOwner,_l=w.ReactCurrentBatchConfig,Tl=0,Rl=null,Ol=null,Pl=0,Ml=0,Ll=Eo(0),Nl=0,Il=null,jl=0,$l=0,Dl=0,Wl=null,Ul=null,Fl=0,zl=1/0,Bl=null,ql=!1,Hl=null,Kl=null,Vl=!1,Gl=null,Ql=0,Zl=0,Yl=null,Xl=-1,Jl=0;function ec(){return 0!==(6&Tl)?Ye():-1!==Xl?Xl:Xl=Ye()}function tc(e){return 0===(1&e.mode)?1:0!==(2&Tl)&&0!==Pl?Pl&-Pl:null!==mi.transition?(0===Jl&&(Jl=gt()),Jl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function nc(e,t,n,r){if(50<Zl)throw Zl=0,Yl=null,Error(i(185));yt(e,n,r),0!==(2&Tl)&&e===Rl||(e===Rl&&(0===(2&Tl)&&($l|=n),4===Nl&&sc(e,Pl)),rc(e,r),1===n&&0===Tl&&0===(1&t.mode)&&(zl=Ye()+500,Uo&&Bo()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Rl?Pl:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Uo=!0,zo(e)}(lc.bind(null,e)):zo(lc.bind(null,e)),ao((function(){0===(6&Tl)&&Bo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Rc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Xl=-1,Jl=0,0!==(6&Tl))throw Error(i(327));var n=e.callbackNode;if(Cc()&&e.callbackNode!==n)return null;var r=ft(e,e===Rl?Pl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=mc(e,r);else{t=r;var o=Tl;Tl|=2;var a=hc();for(Rl===e&&Pl===t||(Bl=null,zl=Ye()+500,fc(e,t));;)try{vc();break}catch(l){pc(e,l)}_i(),El.current=a,Tl=o,null!==Ol?t=0:(Rl=null,Pl=0,t=Nl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ic(e,o))),1===t)throw n=Il,fc(e,0),sc(e,r),rc(e,Ye()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=mc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ic(e,a))),1===t))throw n=Il,fc(e,0),sc(e,r),rc(e,Ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xc(e,Ul,Bl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Fl+500-Ye())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xc.bind(null,e,Ul,Bl),t);break}xc(e,Ul,Bl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ro(xc.bind(null,e,Ul,Bl),r);break}xc(e,Ul,Bl);break;default:throw Error(i(329))}}}return rc(e,Ye()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=Wl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Ul,Ul=n,null!==t&&ac(t)),e}function ac(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function sc(e,t){for(t&=~Dl,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(0!==(6&Tl))throw Error(i(327));Cc();var t=ft(e,0);if(0===(1&t))return rc(e,Ye()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Il,fc(e,0),sc(e,t),rc(e,Ye()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Ul,Bl),rc(e,Ye()),null}function cc(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(zl=Ye()+500,Uo&&Bo())}}function uc(e){null!==Gl&&0===Gl.tag&&0===(6&Tl)&&Cc();var t=Tl;Tl|=1;var n=_l.transition,r=bt;try{if(_l.transition=null,bt=1,e)return e()}finally{bt=r,_l.transition=n,0===(6&(Tl=t))&&Bo()}}function dc(){Ml=Ll.current,Ao(Ll)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&No();break;case 3:Yi(),Ao(Oo),Ao(Ro),ra();break;case 5:Ji(r);break;case 4:Yi();break;case 13:case 19:Ao(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Rl=e,Ol=e=Lc(e.current,null),Pl=Ml=t,Nl=0,Il=null,Dl=$l=jl=0,Ul=Wl=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Mi=null}return e}function pc(e,t){for(;;){var n=Ol;try{if(_i(),oa.current=Xa,ua){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,fa=0,Al.current=null,null===n||null===n.return){Nl=1,Il=t,Ol=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Pl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ms(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&gs(a,u,t),c=u;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(0===(1&t)){gs(a,u,t),gc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var y=ms(s);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),ys(y,s,l,0,t),gi(cs(c,l));break e}}a=c=cs(c,l),4!==Nl&&(Nl=2),null===Wl?Wl=[a]:Wl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,zi(a,ps(0,c,t));break e;case 1:l=c;var v=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof v.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Kl||!Kl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,zi(a,hs(a,l,t));break e}}a=a.return}while(null!==a)}wc(n)}catch(w){t=w,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function hc(){var e=El.current;return El.current=Xa,null===e?Xa:e}function gc(){0!==Nl&&3!==Nl&&2!==Nl||(Nl=4),null===Rl||0===(268435455&jl)&&0===(268435455&$l)||sc(Rl,Pl)}function mc(e,t){var n=Tl;Tl|=2;var r=hc();for(Rl===e&&Pl===t||(Bl=null,fc(e,t));;)try{yc();break}catch(o){pc(e,o)}if(_i(),Tl=n,El.current=r,null!==Ol)throw Error(i(261));return Rl=null,Pl=0,Nl}function yc(){for(;null!==Ol;)bc(Ol)}function vc(){for(;null!==Ol&&!Qe();)bc(Ol)}function bc(e){var t=kl(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?wc(e):Ol=t,Al.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Vs(n,t,Ml)))return void(Ol=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Ol=n);if(null===e)return Nl=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Nl&&(Nl=5)}function xc(e,t,n){var r=bt,o=_l.transition;try{_l.transition=null,bt=1,function(e,t,n,r){do{Cc()}while(null!==Gl);if(0!==(6&Tl))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Rl&&(Ol=Rl=null,Pl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Vl||(Vl=!0,Rc(tt,(function(){return Cc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=_l.transition,_l.transition=null;var s=bt;bt=1;var l=Tl;Tl|=4,Al.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(x){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=s),p===a&&++d===r&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var g=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:ns(t.type,m),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(x){Sc(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}g=tl,tl=!1}(e,n),ml(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,vl(n,e,o),Ze(),Tl=l,bt=s,_l.transition=a}else e.current=n;if(Vl&&(Vl=!1,Gl=e,Ql=o),a=e.pendingLanes,0===a&&(Kl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rc(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ql)throw ql=!1,e=Hl,Hl=null,e;0!==(1&Ql)&&0!==e.tag&&Cc(),a=e.pendingLanes,0!==(1&a)?e===Yl?Zl++:(Zl=0,Yl=e):Zl=0,Bo()}(e,t,n,r)}finally{_l.transition=o,bt=r}return null}function Cc(){if(null!==Gl){var e=wt(Ql),t=_l.transition,n=bt;try{if(_l.transition=null,bt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Ql=0,0!==(6&Tl))throw Error(i(331));var o=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;if(0!==(16&Xs.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Xs=f;else for(;null!==Xs;){var p=(d=Xs).sibling,h=d.return;if(il(d),d===u){Xs=null;break}if(null!==p){p.return=h,Xs=p;break}Xs=h}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Xs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(0!==(2048&(a=Xs).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Xs=v;break e}Xs=a.return}}var b=e.current;for(Xs=b;null!==Xs;){var w=(s=Xs).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Xs=w;else e:for(s=b;null!==Xs;){if(0!==(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(C){Sc(l,l.return,C)}if(l===s){Xs=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Xs=x;break e}Xs=l.return}}if(Tl=o,Bo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(C){}r=!0}return r}finally{bt=n,_l.transition=t}}return!1}function kc(e,t,n){e=Ui(e,t=ps(0,t=cs(n,t),1),1),t=ec(),null!==e&&(yt(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)kc(e,e,n);else for(;null!==t;){if(3===t.tag){kc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Ui(t,e=hs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(yt(t,1,e),rc(t,e));break}}t=t.return}}function Ec(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Rl===e&&(Pl&n)===n&&(4===Nl||3===Nl&&(130023424&Pl)===Pl&&500>Ye()-Fl?fc(e,0):Dl|=n),rc(e,t)}function Ac(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=ec();null!==(e=Ii(e,t))&&(yt(e,t,n),rc(e,n))}function _c(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ac(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ac(e,n)}function Rc(e,t){return Ve(e,t)}function Oc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pc(e,t,n,r){return new Oc(e,t,n,r)}function Mc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lc(e,t){var n=e.alternate;return null===n?((n=Pc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nc(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Mc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return Ic(n.children,o,a,t);case S:s=8,o|=8;break;case E:return(e=Pc(12,n,t,2|o)).elementType=E,e.lanes=a,e;case R:return(e=Pc(13,n,t,o)).elementType=R,e.lanes=a,e;case O:return(e=Pc(19,n,t,o)).elementType=O,e.lanes=a,e;case L:return jc(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case A:s=10;break e;case _:s=9;break e;case T:s=11;break e;case P:s=14;break e;case M:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Pc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ic(e,t,n,r){return(e=Pc(7,e,r,t)).lanes=n,e}function jc(e,t,n,r){return(e=Pc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function $c(e,t,n){return(e=Pc(6,e,null,t)).lanes=n,e}function Dc(e,t,n){return(t=Pc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,o,i,a,s,l){return e=new Wc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Pc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$i(i),e}function Fc(e){if(!e)return To;e:{if(ze(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Lo(n))return jo(e,n,t)}return t}function zc(e,t,n,r,o,i,a,s,l){return(e=Uc(n,r,!0,e,0,i,0,s,l)).context=Fc(null),n=e.current,(i=Wi(r=ec(),o=tc(n))).callback=void 0!==t&&null!==t?t:null,Ui(n,i,o),e.current.lanes=o,yt(e,o,r),rc(e,r),e}function Bc(e,t,n,r){var o=t.current,i=ec(),a=tc(o);return n=Fc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Wi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ui(o,t,a))&&(nc(e,o,a,i),Fi(e,o,a)),a}function qc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kc(e,t){Hc(e,t),(e=e.alternate)&&Hc(e,t)}kl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)bs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Rs(t),hi();break;case 5:Xi(t);break;case 1:Lo(t.type)&&$o(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(ki,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?$s(e,t,n):(_o(ea,1&ea.current),null!==(e=qs(e,t,n))?e.sibling:null);_o(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return zs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return qs(e,t,n)}(e,t,n);bs=0!==(131072&e.flags)}else bs=!1,ii&&0!==(1048576&t.flags)&&ei(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bs(e,t),e=t.pendingProps;var o=Mo(t,Ro.current);Oi(t,n),o=ma(null,t,r,e,o,n);var a=ya();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(a=!0,$o(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,$i(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),ws(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Mc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===P)return 14}return 2}(r),e=ns(r,e),o){case 0:t=As(null,t,r,e,n);break e;case 1:t=_s(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,As(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,_s(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(Rs(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Di(e,t),Bi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Os(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ci(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=qs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return Xi(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return $s(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xi(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,_o(ki,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Oo.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Wi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Ri(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ri(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Oi(t,n),r=r(o=Pi(o)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),Cs(e,t,r,o=ns(r.type,o),n);case 15:return ks(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Bs(e,t),t.tag=1,Lo(r)?(e=!0,$o(t)):e=!1,Oi(t,n),as(t,r,o),ls(t,r,o,n),Ts(null,t,r,!0,e,n);case 19:return zs(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var Vc="function"===typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function Qc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Jc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=qc(a);s.call(e)}}Bc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=qc(a);i.call(e)}}var a=zc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=a,e[go]=a.current,zr(8===e.nodeType?e.parentNode:e),uc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=qc(l);s.call(e)}}var l=Uc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[go]=l.current,zr(8===e.nodeType?e.parentNode:e),uc((function(){Bc(t,l,n,r)})),l}(n,t,e,o,r);return qc(a)}Qc.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Bc(e,t,null,null)},Qc.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Bc(null,e,null,null)})),t[go]=null}},Qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&$t(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,Ye()),0===(6&Tl)&&(zl=Ye()+500,Bo()))}break;case 13:uc((function(){var t=Ii(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),Kc(e,1)}},Ct=function(e){if(13===e.tag){var t=Ii(e,134217728);if(null!==t)nc(t,e,134217728,ec());Kc(e,134217728)}},kt=function(e){if(13===e.tag){var t=tc(e),n=Ii(e,t);if(null!==n)nc(n,e,t,ec());Kc(e,t)}},St=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ce=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Co(r);if(!o)throw Error(i(90));V(r),X(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cc,Re=uc;var eu={usingClientEntryPoint:!1,Events:[wo,xo,Co,Ae,_e,cc]},tu={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{ot=ru.inject(nu),it=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(i(299));var n=!1,r="",o=Vc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uc(e,1,!1,null,0,n,0,r,o),e[go]=t.current,zr(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Yc(t))throw Error(i(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Vc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zc(t,null,e,1,null!=n?n:null,o,0,a,s),e[go]=t.current,zr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qc(t)},t.render=function(e,t,n){if(!Yc(t))throw Error(i(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Yc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[go]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Yc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},1352:(e,t,n)=>{"use strict";var r=n(7119);t.H=r.createRoot,r.hydrateRoot},7119:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(8345)},8577:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case g:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.Memo=h},6429:(e,t,n)=>{"use strict";e.exports=n(8577)},2654:(e,t,n)=>{"use strict";var r=n(9950),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},2049:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,g(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,C=Object.prototype.hasOwnProperty,k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:k.current}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var _=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+T(l,0):i,x(a)?(o="",null!=e&&(o=e.replace(_,"$&/")+"/"),R(a,t,o,"",(function(e){return e}))):null!=a&&(A(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",x(e))for(var c=0;c<e.length;c++){var u=i+T(s=e[c],c);l+=R(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=R(s=s.value,t,o,u=i+T(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},L={transition:null},N={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:L,ReactCurrentOwner:k};function I(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.act=I,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=I,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},9950:(e,t,n)=>{"use strict";e.exports=n(2049)},4414:(e,t,n)=>{"use strict";e.exports=n(2654)},1761:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,g=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function x(e){if(m=!1,w(e),!g)if(null!==r(c))g=!0,L(C);else{var t=r(u);null!==t&&N(x,t.startTime-e)}}function C(e,n){g=!1,m&&(m=!1,v(A),A=-1),h=!0;var i=p;try{for(w(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!R());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(c)&&o(c),w(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&N(x,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,E=null,A=-1,_=5,T=-1;function R(){return!(t.unstable_now()-T<_)}function O(){if(null!==E){var e=t.unstable_now();T=e;var n=!0;try{n=E(!0,e)}finally{n?k():(S=!1,E=null)}}else S=!1}if("function"===typeof b)k=function(){b(O)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,M=P.port2;P.port1.onmessage=O,k=function(){M.postMessage(null)}}else k=function(){y(O,0)};function L(e){E=e,S||(S=!0,k())}function N(e,n){A=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,L(C))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(m?(v(A),A=-1):m=!0,N(x,i-a))):(e.sortIndex=s,n(c,e),g||h||(g=!0,L(C))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5340:(e,t,n)=>{"use strict";e.exports=n(1761)},4008:function(e){!function(t,n){"use strict";e.exports?e.exports=n():(t.nacl||(t.nacl={}),t.nacl.util=n())}(this,(function(){"use strict";var e={};function t(e){if(!/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e))throw new TypeError("invalid encoding")}return e.decodeUTF8=function(e){if("string"!==typeof e)throw new TypeError("expected string");var t,n=unescape(encodeURIComponent(e)),r=new Uint8Array(n.length);for(t=0;t<n.length;t++)r[t]=n.charCodeAt(t);return r},e.encodeUTF8=function(e){var t,n=[];for(t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return decodeURIComponent(escape(n.join("")))},"undefined"===typeof atob?"undefined"!==typeof Buffer.from?(e.encodeBase64=function(e){return Buffer.from(e).toString("base64")},e.decodeBase64=function(e){return t(e),new Uint8Array(Array.prototype.slice.call(Buffer.from(e,"base64"),0))}):(e.encodeBase64=function(e){return new Buffer(e).toString("base64")},e.decodeBase64=function(e){return t(e),new Uint8Array(Array.prototype.slice.call(new Buffer(e,"base64"),0))}):(e.encodeBase64=function(e){var t,n=[],r=e.length;for(t=0;t<r;t++)n.push(String.fromCharCode(e[t]));return btoa(n.join(""))},e.decodeBase64=function(e){t(e);var n,r=atob(e),o=new Uint8Array(r.length);for(n=0;n<r.length;n++)o[n]=r.charCodeAt(n);return o}),e}))},3477:(e,t,n)=>{!function(e){"use strict";var t=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},r=function(){throw new Error("no PRNG")},o=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var a=t(),s=t([1]),l=t([56129,1]),c=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),u=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),d=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),f=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),p=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function h(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function g(e,t,n,r,o){var i,a=0;for(i=0;i<o;i++)a|=e[t+i]^n[r+i];return(1&a-1>>>8)-1}function m(e,t,n,r){return g(e,t,n,r,16)}function y(e,t,n,r){return g(e,t,n,r,32)}function v(e,t,n,r){!function(e,t,n,r){for(var o,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,c=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,u=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,p=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,m=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,y=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,v=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,w=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=i,C=a,k=s,S=l,E=c,A=u,_=d,T=f,R=p,O=h,P=g,M=m,L=y,N=v,I=b,j=w,$=0;$<20;$+=2)x^=(o=(L^=(o=(R^=(o=(E^=(o=x+L|0)<<7|o>>>25)+x|0)<<9|o>>>23)+E|0)<<13|o>>>19)+R|0)<<18|o>>>14,A^=(o=(C^=(o=(N^=(o=(O^=(o=A+C|0)<<7|o>>>25)+A|0)<<9|o>>>23)+O|0)<<13|o>>>19)+N|0)<<18|o>>>14,P^=(o=(_^=(o=(k^=(o=(I^=(o=P+_|0)<<7|o>>>25)+P|0)<<9|o>>>23)+I|0)<<13|o>>>19)+k|0)<<18|o>>>14,j^=(o=(M^=(o=(T^=(o=(S^=(o=j+M|0)<<7|o>>>25)+j|0)<<9|o>>>23)+S|0)<<13|o>>>19)+T|0)<<18|o>>>14,x^=(o=(S^=(o=(k^=(o=(C^=(o=x+S|0)<<7|o>>>25)+x|0)<<9|o>>>23)+C|0)<<13|o>>>19)+k|0)<<18|o>>>14,A^=(o=(E^=(o=(T^=(o=(_^=(o=A+E|0)<<7|o>>>25)+A|0)<<9|o>>>23)+_|0)<<13|o>>>19)+T|0)<<18|o>>>14,P^=(o=(O^=(o=(R^=(o=(M^=(o=P+O|0)<<7|o>>>25)+P|0)<<9|o>>>23)+M|0)<<13|o>>>19)+R|0)<<18|o>>>14,j^=(o=(I^=(o=(N^=(o=(L^=(o=j+I|0)<<7|o>>>25)+j|0)<<9|o>>>23)+L|0)<<13|o>>>19)+N|0)<<18|o>>>14;x=x+i|0,C=C+a|0,k=k+s|0,S=S+l|0,E=E+c|0,A=A+u|0,_=_+d|0,T=T+f|0,R=R+p|0,O=O+h|0,P=P+g|0,M=M+m|0,L=L+y|0,N=N+v|0,I=I+b|0,j=j+w|0,e[0]=x>>>0&255,e[1]=x>>>8&255,e[2]=x>>>16&255,e[3]=x>>>24&255,e[4]=C>>>0&255,e[5]=C>>>8&255,e[6]=C>>>16&255,e[7]=C>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=S>>>0&255,e[13]=S>>>8&255,e[14]=S>>>16&255,e[15]=S>>>24&255,e[16]=E>>>0&255,e[17]=E>>>8&255,e[18]=E>>>16&255,e[19]=E>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=_>>>0&255,e[25]=_>>>8&255,e[26]=_>>>16&255,e[27]=_>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255,e[32]=R>>>0&255,e[33]=R>>>8&255,e[34]=R>>>16&255,e[35]=R>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=M>>>0&255,e[45]=M>>>8&255,e[46]=M>>>16&255,e[47]=M>>>24&255,e[48]=L>>>0&255,e[49]=L>>>8&255,e[50]=L>>>16&255,e[51]=L>>>24&255,e[52]=N>>>0&255,e[53]=N>>>8&255,e[54]=N>>>16&255,e[55]=N>>>24&255,e[56]=I>>>0&255,e[57]=I>>>8&255,e[58]=I>>>16&255,e[59]=I>>>24&255,e[60]=j>>>0&255,e[61]=j>>>8&255,e[62]=j>>>16&255,e[63]=j>>>24&255}(e,t,n,r)}function b(e,t,n,r){!function(e,t,n,r){for(var o,i=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,c=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,u=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,p=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,m=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,y=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,v=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,w=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=0;x<20;x+=2)i^=(o=(y^=(o=(p^=(o=(c^=(o=i+y|0)<<7|o>>>25)+i|0)<<9|o>>>23)+c|0)<<13|o>>>19)+p|0)<<18|o>>>14,u^=(o=(a^=(o=(v^=(o=(h^=(o=u+a|0)<<7|o>>>25)+u|0)<<9|o>>>23)+h|0)<<13|o>>>19)+v|0)<<18|o>>>14,g^=(o=(d^=(o=(s^=(o=(b^=(o=g+d|0)<<7|o>>>25)+g|0)<<9|o>>>23)+b|0)<<13|o>>>19)+s|0)<<18|o>>>14,w^=(o=(m^=(o=(f^=(o=(l^=(o=w+m|0)<<7|o>>>25)+w|0)<<9|o>>>23)+l|0)<<13|o>>>19)+f|0)<<18|o>>>14,i^=(o=(l^=(o=(s^=(o=(a^=(o=i+l|0)<<7|o>>>25)+i|0)<<9|o>>>23)+a|0)<<13|o>>>19)+s|0)<<18|o>>>14,u^=(o=(c^=(o=(f^=(o=(d^=(o=u+c|0)<<7|o>>>25)+u|0)<<9|o>>>23)+d|0)<<13|o>>>19)+f|0)<<18|o>>>14,g^=(o=(h^=(o=(p^=(o=(m^=(o=g+h|0)<<7|o>>>25)+g|0)<<9|o>>>23)+m|0)<<13|o>>>19)+p|0)<<18|o>>>14,w^=(o=(b^=(o=(v^=(o=(y^=(o=w+b|0)<<7|o>>>25)+w|0)<<9|o>>>23)+y|0)<<13|o>>>19)+v|0)<<18|o>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=u>>>0&255,e[5]=u>>>8&255,e[6]=u>>>16&255,e[7]=u>>>24&255,e[8]=g>>>0&255,e[9]=g>>>8&255,e[10]=g>>>16&255,e[11]=g>>>24&255,e[12]=w>>>0&255,e[13]=w>>>8&255,e[14]=w>>>16&255,e[15]=w>>>24&255,e[16]=d>>>0&255,e[17]=d>>>8&255,e[18]=d>>>16&255,e[19]=d>>>24&255,e[20]=f>>>0&255,e[21]=f>>>8&255,e[22]=f>>>16&255,e[23]=f>>>24&255,e[24]=p>>>0&255,e[25]=p>>>8&255,e[26]=p>>>16&255,e[27]=p>>>24&255,e[28]=h>>>0&255,e[29]=h>>>8&255,e[30]=h>>>16&255,e[31]=h>>>24&255}(e,t,n,r)}var w=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function x(e,t,n,r,o,i,a){var s,l,c=new Uint8Array(16),u=new Uint8Array(64);for(l=0;l<16;l++)c[l]=0;for(l=0;l<8;l++)c[l]=i[l];for(;o>=64;){for(v(u,c,a,w),l=0;l<64;l++)e[t+l]=n[r+l]^u[l];for(s=1,l=8;l<16;l++)s=s+(255&c[l])|0,c[l]=255&s,s>>>=8;o-=64,t+=64,r+=64}if(o>0)for(v(u,c,a,w),l=0;l<o;l++)e[t+l]=n[r+l]^u[l];return 0}function C(e,t,n,r,o){var i,a,s=new Uint8Array(16),l=new Uint8Array(64);for(a=0;a<16;a++)s[a]=0;for(a=0;a<8;a++)s[a]=r[a];for(;n>=64;){for(v(l,s,o,w),a=0;a<64;a++)e[t+a]=l[a];for(i=1,a=8;a<16;a++)i=i+(255&s[a])|0,s[a]=255&i,i>>>=8;n-=64,t+=64}if(n>0)for(v(l,s,o,w),a=0;a<n;a++)e[t+a]=l[a];return 0}function k(e,t,n,r,o){var i=new Uint8Array(32);b(i,r,o,w);for(var a=new Uint8Array(8),s=0;s<8;s++)a[s]=r[s+16];return C(e,t,n,a,i)}function S(e,t,n,r,o,i,a){var s=new Uint8Array(32);b(s,i,a,w);for(var l=new Uint8Array(8),c=0;c<8;c++)l[c]=i[c+16];return x(e,t,n,r,o,l,s)}var E=function(e){var t,n,r,o,i,a,s,l;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),o=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|o<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(o>>>4|i<<12),this.r[5]=i>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),l=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|l<<8),this.r[9]=l>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function A(e,t,n,r,o,i){var a=new E(i);return a.update(n,r,o),a.finish(e,t),0}function _(e,t,n,r,o,i){var a=new Uint8Array(16);return A(a,0,n,r,o,i),m(e,t,a,0)}function T(e,t,n,r,o){var i;if(n<32)return-1;for(S(e,0,t,0,n,r,o),A(e,16,e,32,n-32,e),i=0;i<16;i++)e[i]=0;return 0}function R(e,t,n,r,o){var i,a=new Uint8Array(32);if(n<32)return-1;if(k(a,0,32,r,o),0!==_(t,16,t,32,n-32,a))return-1;for(S(e,0,t,0,n,r,o),i=0;i<32;i++)e[i]=0;return 0}function O(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function P(e){var t,n,r=1;for(t=0;t<16;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function M(e,t,n){for(var r,o=~(n-1),i=0;i<16;i++)r=o&(e[i]^t[i]),e[i]^=r,t[i]^=r}function L(e,n){var r,o,i,a=t(),s=t();for(r=0;r<16;r++)s[r]=n[r];for(P(s),P(s),P(s),o=0;o<2;o++){for(a[0]=s[0]-65517,r=1;r<15;r++)a[r]=s[r]-65535-(a[r-1]>>16&1),a[r-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,M(s,a,1-i)}for(r=0;r<16;r++)e[2*r]=255&s[r],e[2*r+1]=s[r]>>8}function N(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return L(n,e),L(r,t),y(n,0,r,0)}function I(e){var t=new Uint8Array(32);return L(t,e),1&t[0]}function j(e,t){var n;for(n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function $(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]+n[r]}function D(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]-n[r]}function W(e,t,n){var r,o,i=0,a=0,s=0,l=0,c=0,u=0,d=0,f=0,p=0,h=0,g=0,m=0,y=0,v=0,b=0,w=0,x=0,C=0,k=0,S=0,E=0,A=0,_=0,T=0,R=0,O=0,P=0,M=0,L=0,N=0,I=0,j=n[0],$=n[1],D=n[2],W=n[3],U=n[4],F=n[5],z=n[6],B=n[7],q=n[8],H=n[9],K=n[10],V=n[11],G=n[12],Q=n[13],Z=n[14],Y=n[15];i+=(r=t[0])*j,a+=r*$,s+=r*D,l+=r*W,c+=r*U,u+=r*F,d+=r*z,f+=r*B,p+=r*q,h+=r*H,g+=r*K,m+=r*V,y+=r*G,v+=r*Q,b+=r*Z,w+=r*Y,a+=(r=t[1])*j,s+=r*$,l+=r*D,c+=r*W,u+=r*U,d+=r*F,f+=r*z,p+=r*B,h+=r*q,g+=r*H,m+=r*K,y+=r*V,v+=r*G,b+=r*Q,w+=r*Z,x+=r*Y,s+=(r=t[2])*j,l+=r*$,c+=r*D,u+=r*W,d+=r*U,f+=r*F,p+=r*z,h+=r*B,g+=r*q,m+=r*H,y+=r*K,v+=r*V,b+=r*G,w+=r*Q,x+=r*Z,C+=r*Y,l+=(r=t[3])*j,c+=r*$,u+=r*D,d+=r*W,f+=r*U,p+=r*F,h+=r*z,g+=r*B,m+=r*q,y+=r*H,v+=r*K,b+=r*V,w+=r*G,x+=r*Q,C+=r*Z,k+=r*Y,c+=(r=t[4])*j,u+=r*$,d+=r*D,f+=r*W,p+=r*U,h+=r*F,g+=r*z,m+=r*B,y+=r*q,v+=r*H,b+=r*K,w+=r*V,x+=r*G,C+=r*Q,k+=r*Z,S+=r*Y,u+=(r=t[5])*j,d+=r*$,f+=r*D,p+=r*W,h+=r*U,g+=r*F,m+=r*z,y+=r*B,v+=r*q,b+=r*H,w+=r*K,x+=r*V,C+=r*G,k+=r*Q,S+=r*Z,E+=r*Y,d+=(r=t[6])*j,f+=r*$,p+=r*D,h+=r*W,g+=r*U,m+=r*F,y+=r*z,v+=r*B,b+=r*q,w+=r*H,x+=r*K,C+=r*V,k+=r*G,S+=r*Q,E+=r*Z,A+=r*Y,f+=(r=t[7])*j,p+=r*$,h+=r*D,g+=r*W,m+=r*U,y+=r*F,v+=r*z,b+=r*B,w+=r*q,x+=r*H,C+=r*K,k+=r*V,S+=r*G,E+=r*Q,A+=r*Z,_+=r*Y,p+=(r=t[8])*j,h+=r*$,g+=r*D,m+=r*W,y+=r*U,v+=r*F,b+=r*z,w+=r*B,x+=r*q,C+=r*H,k+=r*K,S+=r*V,E+=r*G,A+=r*Q,_+=r*Z,T+=r*Y,h+=(r=t[9])*j,g+=r*$,m+=r*D,y+=r*W,v+=r*U,b+=r*F,w+=r*z,x+=r*B,C+=r*q,k+=r*H,S+=r*K,E+=r*V,A+=r*G,_+=r*Q,T+=r*Z,R+=r*Y,g+=(r=t[10])*j,m+=r*$,y+=r*D,v+=r*W,b+=r*U,w+=r*F,x+=r*z,C+=r*B,k+=r*q,S+=r*H,E+=r*K,A+=r*V,_+=r*G,T+=r*Q,R+=r*Z,O+=r*Y,m+=(r=t[11])*j,y+=r*$,v+=r*D,b+=r*W,w+=r*U,x+=r*F,C+=r*z,k+=r*B,S+=r*q,E+=r*H,A+=r*K,_+=r*V,T+=r*G,R+=r*Q,O+=r*Z,P+=r*Y,y+=(r=t[12])*j,v+=r*$,b+=r*D,w+=r*W,x+=r*U,C+=r*F,k+=r*z,S+=r*B,E+=r*q,A+=r*H,_+=r*K,T+=r*V,R+=r*G,O+=r*Q,P+=r*Z,M+=r*Y,v+=(r=t[13])*j,b+=r*$,w+=r*D,x+=r*W,C+=r*U,k+=r*F,S+=r*z,E+=r*B,A+=r*q,_+=r*H,T+=r*K,R+=r*V,O+=r*G,P+=r*Q,M+=r*Z,L+=r*Y,b+=(r=t[14])*j,w+=r*$,x+=r*D,C+=r*W,k+=r*U,S+=r*F,E+=r*z,A+=r*B,_+=r*q,T+=r*H,R+=r*K,O+=r*V,P+=r*G,M+=r*Q,L+=r*Z,N+=r*Y,w+=(r=t[15])*j,a+=38*(C+=r*D),s+=38*(k+=r*W),l+=38*(S+=r*U),c+=38*(E+=r*F),u+=38*(A+=r*z),d+=38*(_+=r*B),f+=38*(T+=r*q),p+=38*(R+=r*H),h+=38*(O+=r*K),g+=38*(P+=r*V),m+=38*(M+=r*G),y+=38*(L+=r*Q),v+=38*(N+=r*Z),b+=38*(I+=r*Y),i=(r=(i+=38*(x+=r*$))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=s+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),v=(r=v+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),w=(r=w+o+65535)-65536*(o=Math.floor(r/65536)),i=(r=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(r/65536)),a=(r=a+o+65535)-65536*(o=Math.floor(r/65536)),s=(r=s+o+65535)-65536*(o=Math.floor(r/65536)),l=(r=l+o+65535)-65536*(o=Math.floor(r/65536)),c=(r=c+o+65535)-65536*(o=Math.floor(r/65536)),u=(r=u+o+65535)-65536*(o=Math.floor(r/65536)),d=(r=d+o+65535)-65536*(o=Math.floor(r/65536)),f=(r=f+o+65535)-65536*(o=Math.floor(r/65536)),p=(r=p+o+65535)-65536*(o=Math.floor(r/65536)),h=(r=h+o+65535)-65536*(o=Math.floor(r/65536)),g=(r=g+o+65535)-65536*(o=Math.floor(r/65536)),m=(r=m+o+65535)-65536*(o=Math.floor(r/65536)),y=(r=y+o+65535)-65536*(o=Math.floor(r/65536)),v=(r=v+o+65535)-65536*(o=Math.floor(r/65536)),b=(r=b+o+65535)-65536*(o=Math.floor(r/65536)),w=(r=w+o+65535)-65536*(o=Math.floor(r/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=a,e[2]=s,e[3]=l,e[4]=c,e[5]=u,e[6]=d,e[7]=f,e[8]=p,e[9]=h,e[10]=g,e[11]=m,e[12]=y,e[13]=v,e[14]=b,e[15]=w}function U(e,t){W(e,t,t)}function F(e,n){var r,o=t();for(r=0;r<16;r++)o[r]=n[r];for(r=253;r>=0;r--)U(o,o),2!==r&&4!==r&&W(o,o,n);for(r=0;r<16;r++)e[r]=o[r]}function z(e,n){var r,o=t();for(r=0;r<16;r++)o[r]=n[r];for(r=250;r>=0;r--)U(o,o),1!==r&&W(o,o,n);for(r=0;r<16;r++)e[r]=o[r]}function B(e,n,r){var o,i,a=new Uint8Array(32),s=new Float64Array(80),c=t(),u=t(),d=t(),f=t(),p=t(),h=t();for(i=0;i<31;i++)a[i]=n[i];for(a[31]=127&n[31]|64,a[0]&=248,j(s,r),i=0;i<16;i++)u[i]=s[i],f[i]=c[i]=d[i]=0;for(c[0]=f[0]=1,i=254;i>=0;--i)M(c,u,o=a[i>>>3]>>>(7&i)&1),M(d,f,o),$(p,c,d),D(c,c,d),$(d,u,f),D(u,u,f),U(f,p),U(h,c),W(c,d,c),W(d,u,p),$(p,c,d),D(c,c,d),U(u,c),D(d,f,h),W(c,d,l),$(c,c,f),W(d,d,c),W(c,f,h),W(f,u,s),U(u,p),M(c,u,o),M(d,f,o);for(i=0;i<16;i++)s[i+16]=c[i],s[i+32]=d[i],s[i+48]=u[i],s[i+64]=f[i];var g=s.subarray(32),m=s.subarray(16);return F(g,g),W(m,m,g),L(e,m),0}function q(e,t){return B(e,t,i)}function H(e,t){return r(t,32),q(e,t)}function K(e,t,n){var r=new Uint8Array(32);return B(r,n,t),b(e,o,r,w)}E.prototype.blocks=function(e,t,n){for(var r,o,i,a,s,l,c,u,d,f,p,h,g,m,y,v,b,w,x,C=this.fin?0:2048,k=this.h[0],S=this.h[1],E=this.h[2],A=this.h[3],_=this.h[4],T=this.h[5],R=this.h[6],O=this.h[7],P=this.h[8],M=this.h[9],L=this.r[0],N=this.r[1],I=this.r[2],j=this.r[3],$=this.r[4],D=this.r[5],W=this.r[6],U=this.r[7],F=this.r[8],z=this.r[9];n>=16;)f=d=0,f+=(k+=8191&(r=255&e[t+0]|(255&e[t+1])<<8))*L,f+=(S+=8191&(r>>>13|(o=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*z),f+=(E+=8191&(o>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*F),f+=(A+=8191&(i>>>7|(a=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*U),d=(f+=(_+=8191&(a>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*W))>>>13,f&=8191,f+=(T+=s>>>1&8191)*(5*D),f+=(R+=8191&(s>>>14|(l=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*$),f+=(O+=8191&(l>>>11|(c=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*j),f+=(P+=8191&(c>>>8|(u=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*I),p=d+=(f+=(M+=u>>>5|C)*(5*N))>>>13,p+=k*N,p+=S*L,p+=E*(5*z),p+=A*(5*F),d=(p+=_*(5*U))>>>13,p&=8191,p+=T*(5*W),p+=R*(5*D),p+=O*(5*$),p+=P*(5*j),d+=(p+=M*(5*I))>>>13,p&=8191,h=d,h+=k*I,h+=S*N,h+=E*L,h+=A*(5*z),d=(h+=_*(5*F))>>>13,h&=8191,h+=T*(5*U),h+=R*(5*W),h+=O*(5*D),h+=P*(5*$),g=d+=(h+=M*(5*j))>>>13,g+=k*j,g+=S*I,g+=E*N,g+=A*L,d=(g+=_*(5*z))>>>13,g&=8191,g+=T*(5*F),g+=R*(5*U),g+=O*(5*W),g+=P*(5*D),m=d+=(g+=M*(5*$))>>>13,m+=k*$,m+=S*j,m+=E*I,m+=A*N,d=(m+=_*L)>>>13,m&=8191,m+=T*(5*z),m+=R*(5*F),m+=O*(5*U),m+=P*(5*W),y=d+=(m+=M*(5*D))>>>13,y+=k*D,y+=S*$,y+=E*j,y+=A*I,d=(y+=_*N)>>>13,y&=8191,y+=T*L,y+=R*(5*z),y+=O*(5*F),y+=P*(5*U),v=d+=(y+=M*(5*W))>>>13,v+=k*W,v+=S*D,v+=E*$,v+=A*j,d=(v+=_*I)>>>13,v&=8191,v+=T*N,v+=R*L,v+=O*(5*z),v+=P*(5*F),b=d+=(v+=M*(5*U))>>>13,b+=k*U,b+=S*W,b+=E*D,b+=A*$,d=(b+=_*j)>>>13,b&=8191,b+=T*I,b+=R*N,b+=O*L,b+=P*(5*z),w=d+=(b+=M*(5*F))>>>13,w+=k*F,w+=S*U,w+=E*W,w+=A*D,d=(w+=_*$)>>>13,w&=8191,w+=T*j,w+=R*I,w+=O*N,w+=P*L,x=d+=(w+=M*(5*z))>>>13,x+=k*z,x+=S*F,x+=E*U,x+=A*W,d=(x+=_*D)>>>13,x&=8191,x+=T*$,x+=R*j,x+=O*I,x+=P*N,k=f=8191&(d=(d=((d+=(x+=M*L)>>>13)<<2)+d|0)+(f&=8191)|0),S=p+=d>>>=13,E=h&=8191,A=g&=8191,_=m&=8191,T=y&=8191,R=v&=8191,O=b&=8191,P=w&=8191,M=x&=8191,t+=16,n-=16;this.h[0]=k,this.h[1]=S,this.h[2]=E,this.h[3]=A,this.h[4]=_,this.h[5]=T,this.h[6]=R,this.h[7]=O,this.h[8]=P,this.h[9]=M},E.prototype.finish=function(e,t){var n,r,o,i,a=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=n,n=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,i=1;i<10;i++)a[i]=this.h[i]+n,n=a[i]>>>13,a[i]&=8191;for(a[9]-=8192,r=(1^n)-1,i=0;i<10;i++)a[i]&=r;for(r=~r,i=0;i<10;i++)this.h[i]=this.h[i]&r|a[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),o=this.h[0]+this.pad[0],this.h[0]=65535&o,i=1;i<8;i++)o=(this.h[i]+this.pad[i]|0)+(o>>>16)|0,this.h[i]=65535&o;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},E.prototype.update=function(e,t,n){var r,o;if(this.leftover){for((o=16-this.leftover)>n&&(o=n),r=0;r<o;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=o,t+=o,this.leftover+=o,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(o=n-n%16,this.blocks(e,t,o),t+=o,n-=o),n){for(r=0;r<n;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var V=T,G=R;var Q=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Z(e,t,n,r){for(var o,i,a,s,l,c,u,d,f,p,h,g,m,y,v,b,w,x,C,k,S,E,A,_,T,R,O=new Int32Array(16),P=new Int32Array(16),M=e[0],L=e[1],N=e[2],I=e[3],j=e[4],$=e[5],D=e[6],W=e[7],U=t[0],F=t[1],z=t[2],B=t[3],q=t[4],H=t[5],K=t[6],V=t[7],G=0;r>=128;){for(C=0;C<16;C++)k=8*C+G,O[C]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],P[C]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(C=0;C<80;C++)if(o=M,i=L,a=N,s=I,l=j,c=$,u=D,W,f=U,p=F,h=z,g=B,m=q,y=H,v=K,V,A=65535&(E=V),_=E>>>16,T=65535&(S=W),R=S>>>16,A+=65535&(E=(q>>>14|j<<18)^(q>>>18|j<<14)^(j>>>9|q<<23)),_+=E>>>16,T+=65535&(S=(j>>>14|q<<18)^(j>>>18|q<<14)^(q>>>9|j<<23)),R+=S>>>16,A+=65535&(E=q&H^~q&K),_+=E>>>16,T+=65535&(S=j&$^~j&D),R+=S>>>16,S=Q[2*C],A+=65535&(E=Q[2*C+1]),_+=E>>>16,T+=65535&S,R+=S>>>16,S=O[C%16],_+=(E=P[C%16])>>>16,T+=65535&S,R+=S>>>16,T+=(_+=(A+=65535&E)>>>16)>>>16,A=65535&(E=x=65535&A|_<<16),_=E>>>16,T=65535&(S=w=65535&T|(R+=T>>>16)<<16),R=S>>>16,A+=65535&(E=(U>>>28|M<<4)^(M>>>2|U<<30)^(M>>>7|U<<25)),_+=E>>>16,T+=65535&(S=(M>>>28|U<<4)^(U>>>2|M<<30)^(U>>>7|M<<25)),R+=S>>>16,_+=(E=U&F^U&z^F&z)>>>16,T+=65535&(S=M&L^M&N^L&N),R+=S>>>16,d=65535&(T+=(_+=(A+=65535&E)>>>16)>>>16)|(R+=T>>>16)<<16,b=65535&A|_<<16,A=65535&(E=g),_=E>>>16,T=65535&(S=s),R=S>>>16,_+=(E=x)>>>16,T+=65535&(S=w),R+=S>>>16,L=o,N=i,I=a,j=s=65535&(T+=(_+=(A+=65535&E)>>>16)>>>16)|(R+=T>>>16)<<16,$=l,D=c,W=u,M=d,F=f,z=p,B=h,q=g=65535&A|_<<16,H=m,K=y,V=v,U=b,C%16===15)for(k=0;k<16;k++)S=O[k],A=65535&(E=P[k]),_=E>>>16,T=65535&S,R=S>>>16,S=O[(k+9)%16],A+=65535&(E=P[(k+9)%16]),_+=E>>>16,T+=65535&S,R+=S>>>16,w=O[(k+1)%16],A+=65535&(E=((x=P[(k+1)%16])>>>1|w<<31)^(x>>>8|w<<24)^(x>>>7|w<<25)),_+=E>>>16,T+=65535&(S=(w>>>1|x<<31)^(w>>>8|x<<24)^w>>>7),R+=S>>>16,w=O[(k+14)%16],_+=(E=((x=P[(k+14)%16])>>>19|w<<13)^(w>>>29|x<<3)^(x>>>6|w<<26))>>>16,T+=65535&(S=(w>>>19|x<<13)^(x>>>29|w<<3)^w>>>6),R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,O[k]=65535&T|R<<16,P[k]=65535&A|_<<16;A=65535&(E=U),_=E>>>16,T=65535&(S=M),R=S>>>16,S=e[0],_+=(E=t[0])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[0]=M=65535&T|R<<16,t[0]=U=65535&A|_<<16,A=65535&(E=F),_=E>>>16,T=65535&(S=L),R=S>>>16,S=e[1],_+=(E=t[1])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[1]=L=65535&T|R<<16,t[1]=F=65535&A|_<<16,A=65535&(E=z),_=E>>>16,T=65535&(S=N),R=S>>>16,S=e[2],_+=(E=t[2])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[2]=N=65535&T|R<<16,t[2]=z=65535&A|_<<16,A=65535&(E=B),_=E>>>16,T=65535&(S=I),R=S>>>16,S=e[3],_+=(E=t[3])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[3]=I=65535&T|R<<16,t[3]=B=65535&A|_<<16,A=65535&(E=q),_=E>>>16,T=65535&(S=j),R=S>>>16,S=e[4],_+=(E=t[4])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[4]=j=65535&T|R<<16,t[4]=q=65535&A|_<<16,A=65535&(E=H),_=E>>>16,T=65535&(S=$),R=S>>>16,S=e[5],_+=(E=t[5])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[5]=$=65535&T|R<<16,t[5]=H=65535&A|_<<16,A=65535&(E=K),_=E>>>16,T=65535&(S=D),R=S>>>16,S=e[6],_+=(E=t[6])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[6]=D=65535&T|R<<16,t[6]=K=65535&A|_<<16,A=65535&(E=V),_=E>>>16,T=65535&(S=W),R=S>>>16,S=e[7],_+=(E=t[7])>>>16,T+=65535&S,R+=S>>>16,R+=(T+=(_+=(A+=65535&E)>>>16)>>>16)>>>16,e[7]=W=65535&T|R<<16,t[7]=V=65535&A|_<<16,G+=128,r-=128}return r}function Y(e,t,n){var r,o=new Int32Array(8),i=new Int32Array(8),a=new Uint8Array(256),s=n;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,Z(o,i,t,n),n%=128,r=0;r<n;r++)a[r]=t[s-n+r];for(a[n]=128,a[(n=256-128*(n<112?1:0))-9]=0,h(a,n-8,s/536870912|0,s<<3),Z(o,i,a,n),r=0;r<8;r++)h(e,8*r,o[r],i[r]);return 0}function X(e,n){var r=t(),o=t(),i=t(),a=t(),s=t(),l=t(),c=t(),d=t(),f=t();D(r,e[1],e[0]),D(f,n[1],n[0]),W(r,r,f),$(o,e[0],e[1]),$(f,n[0],n[1]),W(o,o,f),W(i,e[3],n[3]),W(i,i,u),W(a,e[2],n[2]),$(a,a,a),D(s,o,r),D(l,a,i),$(c,a,i),$(d,o,r),W(e[0],s,l),W(e[1],d,c),W(e[2],c,l),W(e[3],s,d)}function J(e,t,n){var r;for(r=0;r<4;r++)M(e[r],t[r],n)}function ee(e,n){var r=t(),o=t(),i=t();F(i,n[2]),W(r,n[0],i),W(o,n[1],i),L(e,o),e[31]^=I(r)<<7}function te(e,t,n){var r,o;for(O(e[0],a),O(e[1],s),O(e[2],s),O(e[3],a),o=255;o>=0;--o)J(e,t,r=n[o/8|0]>>(7&o)&1),X(t,e),X(e,e),J(e,t,r)}function ne(e,n){var r=[t(),t(),t(),t()];O(r[0],d),O(r[1],f),O(r[2],s),W(r[3],d,f),te(e,r,n)}function re(e,n,o){var i,a=new Uint8Array(64),s=[t(),t(),t(),t()];for(o||r(n,32),Y(a,n,32),a[0]&=248,a[31]&=127,a[31]|=64,ne(s,a),ee(e,s),i=0;i<32;i++)n[i+32]=e[i];return 0}var oe=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var n,r,o,i;for(r=63;r>=32;--r){for(n=0,o=r-32,i=r-12;o<i;++o)t[o]+=n-16*t[r]*oe[o-(r-32)],n=Math.floor((t[o]+128)/256),t[o]-=256*n;t[o]+=n,t[r]=0}for(n=0,o=0;o<32;o++)t[o]+=n-(t[31]>>4)*oe[o],n=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=n*oe[o];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function ae(e){var t,n=new Float64Array(64);for(t=0;t<64;t++)n[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,n)}function se(e,n,r,o){var i,a,s=new Uint8Array(64),l=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),d=[t(),t(),t(),t()];Y(s,o,32),s[0]&=248,s[31]&=127,s[31]|=64;var f=r+64;for(i=0;i<r;i++)e[64+i]=n[i];for(i=0;i<32;i++)e[32+i]=s[32+i];for(Y(c,e.subarray(32),r+32),ae(c),ne(d,c),ee(e,d),i=32;i<64;i++)e[i]=o[i];for(Y(l,e,r+64),ae(l),i=0;i<64;i++)u[i]=0;for(i=0;i<32;i++)u[i]=c[i];for(i=0;i<32;i++)for(a=0;a<32;a++)u[i+a]+=l[i]*s[a];return ie(e.subarray(32),u),f}function le(e,n,r,o){var i,l=new Uint8Array(32),u=new Uint8Array(64),d=[t(),t(),t(),t()],f=[t(),t(),t(),t()];if(r<64)return-1;if(function(e,n){var r=t(),o=t(),i=t(),l=t(),u=t(),d=t(),f=t();return O(e[2],s),j(e[1],n),U(i,e[1]),W(l,i,c),D(i,i,e[2]),$(l,e[2],l),U(u,l),U(d,u),W(f,d,u),W(r,f,i),W(r,r,l),z(r,r),W(r,r,i),W(r,r,l),W(r,r,l),W(e[0],r,l),U(o,e[0]),W(o,o,l),N(o,i)&&W(e[0],e[0],p),U(o,e[0]),W(o,o,l),N(o,i)?-1:(I(e[0])===n[31]>>7&&D(e[0],a,e[0]),W(e[3],e[0],e[1]),0)}(f,o))return-1;for(i=0;i<r;i++)e[i]=n[i];for(i=0;i<32;i++)e[i+32]=o[i];if(Y(u,e,r),ae(u),te(d,f,u),ne(f,n.subarray(32)),X(d,f),ee(l,d),r-=64,y(n,0,l,0)){for(i=0;i<r;i++)e[i]=0;return-1}for(i=0;i<r;i++)e[i]=n[i+64];return r}var ce=16,ue=64,de=32,fe=64;function pe(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function he(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function ge(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:b,crypto_stream_xor:S,crypto_stream:k,crypto_stream_salsa20_xor:x,crypto_stream_salsa20:C,crypto_onetimeauth:A,crypto_onetimeauth_verify:_,crypto_verify_16:m,crypto_verify_32:y,crypto_secretbox:T,crypto_secretbox_open:R,crypto_scalarmult:B,crypto_scalarmult_base:q,crypto_box_beforenm:K,crypto_box_afternm:V,crypto_box:function(e,t,n,r,o,i){var a=new Uint8Array(32);return K(a,o,i),V(e,t,n,r,a)},crypto_box_open:function(e,t,n,r,o,i){var a=new Uint8Array(32);return K(a,o,i),G(e,t,n,r,a)},crypto_box_keypair:H,crypto_hash:Y,crypto_sign:se,crypto_sign_keypair:re,crypto_sign_open:le,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:ce,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:ue,crypto_sign_PUBLICKEYBYTES:de,crypto_sign_SECRETKEYBYTES:fe,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:t,D:c,L:oe,pack25519:L,unpack25519:j,M:W,A:$,S:U,Z:D,pow2523:z,add:X,set25519:O,modL:ie,scalarmult:te,scalarbase:ne},e.randomBytes=function(e){var t=new Uint8Array(e);return r(t,e),t},e.secretbox=function(e,t,n){he(e,t,n),pe(n,t);for(var r=new Uint8Array(32+e.length),o=new Uint8Array(r.length),i=0;i<e.length;i++)r[i+32]=e[i];return T(o,r,r.length,t,n),o.subarray(ce)},e.secretbox.open=function(e,t,n){he(e,t,n),pe(n,t);for(var r=new Uint8Array(ce+e.length),o=new Uint8Array(r.length),i=0;i<e.length;i++)r[i+ce]=e[i];return r.length<32||0!==R(o,r,r.length,t,n)?null:o.subarray(32)},e.secretbox.keyLength=32,e.secretbox.nonceLength=24,e.secretbox.overheadLength=ce,e.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var n=new Uint8Array(32);return B(n,e,t),n},e.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return q(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,n,r,o){var i=e.box.before(r,o);return e.secretbox(t,n,i)},e.box.before=function(e,t){he(e,t),function(e,t){if(32!==e.length)throw new Error("bad public key size");if(32!==t.length)throw new Error("bad secret key size")}(e,t);var n=new Uint8Array(32);return K(n,e,t),n},e.box.after=e.secretbox,e.box.open=function(t,n,r,o){var i=e.box.before(r,o);return e.secretbox.open(t,n,i)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return H(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(he(e),32!==e.length)throw new Error("bad secret key size");var t=new Uint8Array(32);return q(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=32,e.box.secretKeyLength=32,e.box.sharedKeyLength=32,e.box.nonceLength=24,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(he(e,t),t.length!==fe)throw new Error("bad secret key size");var n=new Uint8Array(ue+e.length);return se(n,e,e.length,t),n},e.sign.open=function(e,t){if(he(e,t),t.length!==de)throw new Error("bad public key size");var n=new Uint8Array(e.length),r=le(n,e,e.length,t);if(r<0)return null;for(var o=new Uint8Array(r),i=0;i<o.length;i++)o[i]=n[i];return o},e.sign.detached=function(t,n){for(var r=e.sign(t,n),o=new Uint8Array(ue),i=0;i<o.length;i++)o[i]=r[i];return o},e.sign.detached.verify=function(e,t,n){if(he(e,t,n),t.length!==ue)throw new Error("bad signature size");if(n.length!==de)throw new Error("bad public key size");var r,o=new Uint8Array(ue+e.length),i=new Uint8Array(ue+e.length);for(r=0;r<ue;r++)o[r]=t[r];for(r=0;r<e.length;r++)o[r+ue]=e[r];return le(i,o,o.length,n)>=0},e.sign.keyPair=function(){var e=new Uint8Array(de),t=new Uint8Array(fe);return re(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(he(e),e.length!==fe)throw new Error("bad secret key size");for(var t=new Uint8Array(de),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(de),n=new Uint8Array(fe),r=0;r<32;r++)n[r]=e[r];return re(t,n,!0),{publicKey:t,secretKey:n}},e.sign.publicKeyLength=de,e.sign.secretKeyLength=fe,e.sign.seedLength=32,e.sign.signatureLength=ue,e.hash=function(e){he(e);var t=new Uint8Array(64);return Y(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===g(e,0,t,0,e.length))},e.setPRNG=function(e){r=e},function(){var t="undefined"!==typeof self?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG((function(e,n){var r,o=new Uint8Array(n);for(r=0;r<n;r+=65536)t.getRandomValues(o.subarray(r,r+Math.min(n-r,65536)));for(r=0;r<n;r++)e[r]=o[r];ge(o)}))}else(t=n(1281))&&t.randomBytes&&e.setPRNG((function(e,n){var r,o=t.randomBytes(n);for(r=0;r<n;r++)e[r]=o[r];ge(o)}))}()}(e.exports?e.exports:self.nacl=self.nacl||{})},7946:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",c="string",u="major",d="model",f="name",p="type",h="vendor",g="version",m="architecture",y="console",v="mobile",b="tablet",w="smarttv",x="wearable",C="embedded",k="Amazon",S="Apple",E="ASUS",A="BlackBerry",_="Browser",T="Chrome",R="Firefox",O="Google",P="Huawei",M="LG",L="Microsoft",N="Motorola",I="Opera",j="Samsung",$="Sharp",D="Sony",W="Xiaomi",U="Zebra",F="Facebook",z="Chromium OS",B="Mac OS",q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===c&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},V=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},G=function(e,t){for(var n,r,o,s,c,u,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=r=0;n<f.length&&!c&&f[n];)if(c=f[n++].exec(e))for(o=0;o<p.length;o++)u=c[++r],typeof(s=p[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;d+=2}},Q=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?i:n}else if(H(t[n],e))return"?"===n?i:n;return e},Z={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,I+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[f,I+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[f,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/\bddg\/([\w\.]+)/i],[g,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+_]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[f,"Smart Lenovo "+_]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+_],g],[/\bfocus\/([\w\.]+)/i],[g,[f,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+_]],[/fxios\/([-\w\.]+)/i],[g,[f,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+_]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+_],g],[/samsungbrowser\/([\w\.]+)/i],[g,[f,j+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,F],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,T+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+_]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,g],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,K]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,j],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,j],[p,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,S],[p,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,S],[p,b]],[/(macintosh);/i],[d,[h,S]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,$],[p,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,P],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,P],[p,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,W],[p,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,W],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[p,v]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[p,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[p,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,N],[p,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,N],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,M],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,M],[p,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[p,v]],[/(pixel c)\b/i],[d,[h,O],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,O],[p,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,D],[p,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,D],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[p,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[p,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,A],[p,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,E],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,E],[p,v]],[/(nexus 9)/i],[d,[h,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[p,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[p,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[p,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[p,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[p,b]],[/(surface duo)/i],[d,[h,L],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[p,v]],[/(u304aa)/i],[d,[h,"AT&T"],[p,v]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[p,v]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[p,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[p,v]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[p,v]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[p,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[p,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[p,v]],[/\b(ph-1) /i],[d,[h,"Essential"],[p,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[h,d,[p,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,L],[p,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,U],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,U],[p,v]],[/smart-tv.+(samsung)/i],[h,[p,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,j],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,M],[p,w]],[/(apple) ?tv/i],[h,[d,S+" TV"],[p,w]],[/crkey/i],[[d,T+"cast"],[h,O],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,k],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,$],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,D],[p,w]],[/(mitv-\w{5}) bui/i],[d,[h,W],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,V],[d,V],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[p,y]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[p,y]],[/(playstation [345portablevi]+)/i],[d,[h,D],[p,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,L],[p,y]],[/((pebble))app/i],[h,d,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,S],[p,x]],[/droid.+; (glass) \d/i],[d,[h,O],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,U],[p,x]],[/(quest( \d| pro)?)/i],[d,[h,F],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,C]],[/(aeobc)\b/i],[d,[h,k],[p,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[g,Q,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Q,Z],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,B],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},X=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof X))return new X(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),y=n&&n.userAgentData?n.userAgentData:i,w=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Y,t):Y,x=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=i,t[g]=i,G.call(t,r,w.browser),t[u]=typeof(e=t[g])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:i,x&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[m]=i,G.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[p]=i,G.call(e,r,w.device),x&&!e[p]&&y&&y.mobile&&(e[p]=v),x&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[p]=b),e},this.getEngine=function(){var e={};return e[f]=i,e[g]=i,G.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=i,e[g]=i,G.call(e,r,w.os),x&&!e[f]&&y&&y.platform&&"Unknown"!=y.platform&&(e[f]=y.platform.replace(/chrome os/i,z).replace(/macos/i,B)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>500?V(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.38",X.BROWSER=q([f,g,u]),X.CPU=q([m]),X.DEVICE=q([d,h,p,y,v,w,b,x,C]),X.ENGINE=X.OS=q([f,g]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?(r=function(){return X}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=X);var J=typeof o!==s&&(o.jQuery||o.Zepto);if(J&&!J.ua){var ee=new X;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"===typeof window?window:this)},1281:()=>{},4634:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},4893:e=>{e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},8738:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},2004:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};(()=>{"use strict";n.r(r),n.d(r,{checkIn:()=>Tv,connectWallet:()=>Kv,consumePurchase:()=>Nv,copyShareLink:()=>Pv,depositToken:()=>Xv,disconnectWallet:()=>Vv,getContentSafeAreaInset:()=>Wv,getCpCustomLink:()=>qv,getItem:()=>Mv,getNfts:()=>eb,getSafeAreaInset:()=>Dv,getShareLink:()=>Ov,getStartParam:()=>Hv,getWalletFriendlyAddress:()=>Zv,getWalletName:()=>Yv,getWalletRawAddress:()=>Qv,init:()=>Sv,isConnectedWallet:()=>Gv,isDesktopEnabled:()=>Fv,isTelegramClient:()=>zv,login:()=>Ev,onEvent:()=>$v,openGameForWeb:()=>Bv,playAd:()=>Uv,purchase:()=>_v,queryPurchses:()=>Iv,ready:()=>Av,setItem:()=>Lv,share:()=>Rv,signData:()=>Jv,vibrate:()=>jv});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>gp,hasStandardBrowserEnv:()=>yp,hasStandardBrowserWebWorkerEnv:()=>vp,navigator:()=>mp,origin:()=>bp});var t=n(1352),o=n(8168),i=n(9950),a=n(7353),s=n(3158),l=n(2860),c=n(7576);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=i.useContext(c.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},d=(0,l.A)();const f=function(){return u(arguments.length>0&&void 0!==arguments[0]?arguments[0]:d)};var p=n(4414);const h=function(e){let{styles:t,themeId:n,defaultTheme:r={}}=e;const o=f(r),i="function"===typeof t?t(n&&o[n]||o):t;return(0,p.jsx)(s.A,{styles:i})};var g=n(195),m=n(7550);const y=function(e){return(0,p.jsx)(h,(0,o.A)({},e,{defaultTheme:g.A,themeId:m.A}))},v=(e,t)=>(0,o.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),b=e=>(0,o.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const w=function(e){const t=(0,a.b)({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(y,{styles:e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((t=>{let[n,o]=t;var i;r[e.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(i=o.palette)?void 0:i.mode}}));let i=(0,o.A)({html:v(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,o.A)({margin:0},b(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const a=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(i=[i,a]),i}(e,r)}),n]})};var x=n(3422);const C={CATI:"kQAHDaT2GnuX5GNrrtenrzmGeMbE7VCldSHovfEXA19FtyRl",USDT:"kQB0rxb4k-xFwXVzBpvJwt4_ChPvqMScDAKMBfQZw2Od8MFB",BOMB:"kQDPCEx9T_a3Oq0CPVDXcwgJO_AITrRyQB8znU7altWcS2T-"};class k{static init(){{let e="",t=Telegram.WebApp.initData,n=Telegram.WebApp.initDataUnsafe||{},r=window.location.search;if(!r){let e=window.location.hash,t=e.indexOf("?");-1!=t&&(r=e.substring(t))}let o=new URLSearchParams(r);if(o.get("botname")||(r=window.sessionStorage.getItem("PLUTO_GAMES_INIT_PARAMS"),o=new URLSearchParams(r)),k.TEST_MODE="1"==o.get("debug"),k.BOT_NAME=o.get("botname"),k.GAME_ID=o.get("gameid"),k.CP_CUSTOM_LINK=o.get("pcplink"),k.FULL_SCREEN="1"==o.get("fullscreen"),k.START_PARAM=n.start_param,!t){const n=new x.o;t=o.get("initdata"),t||(t=window.sessionStorage.getItem("PLUTO_GAMES_INIT_DATA")||""),t&&!t.startsWith("10")&&(o.delete("initdata"),o.delete("pcplink"),window.location.href.includes("/#")||(e=window.location.origin+window.location.pathname+"?"+o.toString()),window.sessionStorage.setItem("PLUTO_GAMES_INIT_DATA",t),t=n.decode(t))}k.INIT_DATA=t,window.sessionStorage.setItem("PLUTO_GAMES_INIT_PARAMS",o.toString()),e&&window.history.replaceState(null,null,e)}k.TEST_MODE?(k.API_URL="https://test-sdk1.pluto.vision/",k.PAYLOAD_URL="https://test-bc1.pluto.vision/api/ton/getTokenPayload",k.TON_CENTER_URL="https://testnet.toncenter.com/api/v3/jetton/wallets",k.TOKENS_JETTON_ADDRESS=C,k.MANIFEST_URL=`https://games.pluto.vision/sdk/manifest/test/manifest-${k.GAME_ID}.json`):k.MANIFEST_URL=`https://games.pluto.vision/sdk/manifest/release/manifest-${k.GAME_ID}.json`}}k.APP_VERSION="1.0.8",k.RES_URL="https://games.pluto.vision/sdk/resource/",k.API_URL="https://sdk1.pluto.vision/",k.PAYLOAD_URL="https://bc1.pluto.vision/api/ton/getTokenPayload",k.TON_CENTER_URL="https://toncenter.com/api/v3/jetton/wallets",k.TOKENS_JETTON_ADDRESS={CATI:"EQD-cvR0Nz6XAyRBvbhz-abTrRC6sI5tvHvvpeQraV9UAAD7",USDT:"EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",BOMB:"EQAQZEf6A-BfN8wYVnjdyPWpCXwkTSjhfF5ZWP7AjReM4eEI"},k.MANIFEST_URL="",k.TEST_MODE=!1,k.BOT_NAME="",k.GAME_ID="",k.INIT_DATA="",k.TOKEN="",k.GAME_URL="",k.CP_CUSTOM_LINK="",k.FULL_SCREEN=!1,k.START_PARAM="";var S,E,A,_,T,R,O=n(4008),P=n(3477);!function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.MANIFEST_NOT_FOUND_ERROR=2]="MANIFEST_NOT_FOUND_ERROR",e[e.MANIFEST_CONTENT_ERROR=3]="MANIFEST_CONTENT_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(S||(S={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(E||(E={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(A||(A={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(_||(_={})),function(e){e[e.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",e[e.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",e[e.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",e[e.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"}(T||(T={})),function(e){e.MAINNET="-239",e.TESTNET="-3"}(R||(R={}));const M={encode:function(e){let t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof Uint8Array?t=e:("string"!==typeof e&&(e=JSON.stringify(e)),t=O.decodeUTF8(e)),function(e,t){const n=O.encodeBase64(e);return t?encodeURIComponent(n):n}(t,n)},decode:function(e){const t=function(e,t){return t&&(e=decodeURIComponent(e)),O.decodeBase64(e)}(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return{toString:()=>O.encodeUTF8(t),toObject(){try{return JSON.parse(O.encodeUTF8(t))}catch(ar){return null}},toUint8Array:()=>t}}};function L(e){let t="";return e.forEach((e=>{t+=("0"+(255&e).toString(16)).slice(-2)})),t}function N(e){if(e.length%2!==0)throw new Error(`Cannot convert ${e} to bytesArray`);const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2)t[n/2]=parseInt(e.slice(n,n+2),16);return t}class I{constructor(e){this.nonceLength=24,this.keyPair=e?this.createKeypairFromString(e):this.createKeypair(),this.sessionId=L(this.keyPair.publicKey)}createKeypair(){return P.box.keyPair()}createKeypairFromString(e){return{publicKey:N(e.publicKey),secretKey:N(e.secretKey)}}createNonce(){return P.randomBytes(this.nonceLength)}encrypt(e,t){const n=(new TextEncoder).encode(e),r=this.createNonce();return function(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(r,P.box(n,r,t,this.keyPair.secretKey))}decrypt(e,t){const[n,r]=function(e,t){if(t>=e.length)throw new Error("Index is out of buffer");return[e.slice(0,t),e.slice(t)]}(e,this.nonceLength),o=P.box.open(r,n,t,this.keyPair.secretKey);if(!o)throw new Error(`Decryption error: \n message: ${e.toString()} \n sender pubkey: ${t.toString()} \n keypair pubkey: ${this.keyPair.publicKey.toString()} \n keypair secretkey: ${this.keyPair.secretKey.toString()}`);return(new TextDecoder).decode(o)}stringifyKeypair(){return{publicKey:L(this.keyPair.publicKey),secretKey:L(this.keyPair.secretKey)}}}function j(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function $(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(ar){i(ar)}}function s(e){try{l(r.throw(e))}catch(ar){i(ar)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}class D extends Error{constructor(e,t){super(e,t),this.message=`${D.prefix} ${this.constructor.name}${this.info?": "+this.info:""}${e?"\n"+e:""}`,Object.setPrototypeOf(this,D.prototype)}get info(){return""}}D.prefix="[TON_CONNECT_SDK_ERROR]";class W extends D{get info(){return"Passed DappMetadata is in incorrect format."}constructor(){super(...arguments),Object.setPrototypeOf(this,W.prototype)}}class U extends D{get info(){return"Passed `tonconnect-manifest.json` contains errors. Check format of your manifest. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest"}constructor(){super(...arguments),Object.setPrototypeOf(this,U.prototype)}}class F extends D{get info(){return"Manifest not found. Make sure you added `tonconnect-manifest.json` to the root of your app or passed correct manifestUrl. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest"}constructor(){super(...arguments),Object.setPrototypeOf(this,F.prototype)}}class z extends D{get info(){return"Wallet connection called but wallet already connected. To avoid the error, disconnect the wallet before doing a new connection."}constructor(){super(...arguments),Object.setPrototypeOf(this,z.prototype)}}class B extends D{get info(){return"Send transaction or other protocol methods called while wallet is not connected."}constructor(){super(...arguments),Object.setPrototypeOf(this,B.prototype)}}class q extends D{get info(){return"There is an attempt to connect to the injected wallet while it is not exists in the webpage."}constructor(){super(...arguments),Object.setPrototypeOf(this,q.prototype)}}class H extends D{get info(){return"Wallet doesn't support requested feature method."}constructor(e,t){super(e,t),Object.setPrototypeOf(this,H.prototype)}}class K extends D{get info(){return"Missing required features. You need to update your wallet."}constructor(e,t){super(e,t),Object.setPrototypeOf(this,K.prototype)}}class V extends D{get info(){return"User rejects the action in the wallet."}constructor(){super(...arguments),Object.setPrototypeOf(this,V.prototype)}}class G extends D{get info(){return"Request to the wallet contains errors."}constructor(){super(...arguments),Object.setPrototypeOf(this,G.prototype)}}class Q extends D{get info(){return"App tries to send rpc request to the injected wallet while not connected."}constructor(){super(...arguments),Object.setPrototypeOf(this,Q.prototype)}}class Z extends D{get info(){return"An error occurred while fetching the wallets list."}constructor(){super(...arguments),Object.setPrototypeOf(this,Z.prototype)}}class Y extends D{get info(){return"Passed address is in incorrect format."}constructor(){super(...arguments),Object.setPrototypeOf(this,Y.prototype)}}class X extends D{get info(){return"Passed hex is in incorrect format."}constructor(){super(...arguments),Object.setPrototypeOf(this,X.prototype)}}class J extends D{constructor(){super(...arguments),Object.setPrototypeOf(this,J.prototype)}}const ee={[S.UNKNOWN_ERROR]:J,[S.USER_REJECTS_ERROR]:V,[S.BAD_REQUEST_ERROR]:G,[S.UNKNOWN_APP_ERROR]:Q,[S.MANIFEST_NOT_FOUND_ERROR]:F,[S.MANIFEST_CONTENT_ERROR]:U};const te=new class{parseError(e){let t=J;return e.code in ee&&(t=ee[e.code]||J),new t(e.message)}};class ne{isError(e){return"error"in e}}const re={[A.UNKNOWN_ERROR]:J,[A.USER_REJECTS_ERROR]:V,[A.BAD_REQUEST_ERROR]:G,[A.UNKNOWN_APP_ERROR]:Q};const oe=new class extends ne{convertToRpcRequest(e){return{method:"sendTransaction",params:[JSON.stringify(e)]}}parseAndThrowError(e){let t=J;throw e.error.code in re&&(t=re[e.error.code]||J),new t(e.error.message)}convertFromRpcResponse(e){return{boc:e.result}}},ie={[_.UNKNOWN_ERROR]:J,[_.USER_REJECTS_ERROR]:V,[_.BAD_REQUEST_ERROR]:G,[_.UNKNOWN_APP_ERROR]:Q};const ae=new class extends ne{convertToRpcRequest(e){return{method:"signData",params:[JSON.stringify(e)]}}parseAndThrowError(e){let t=J;throw e.error.code in ie&&(t=ie[e.error.code]||J),new t(e.error.message)}convertFromRpcResponse(e){return e.result}};class se{constructor(e,t){this.storage=e,this.storeKey="ton-connect-storage_http-bridge-gateway::"+t}storeLastEventId(e){return $(this,void 0,void 0,(function*(){return this.storage.setItem(this.storeKey,e)}))}removeLastEventId(){return $(this,void 0,void 0,(function*(){return this.storage.removeItem(this.storeKey)}))}getLastEventId(){return $(this,void 0,void 0,(function*(){const e=yield this.storage.getItem(this.storeKey);return e||null}))}}function le(e,t){return function(e){return"/"===e.slice(-1)?e.slice(0,-1):e}(e)+"/"+t}function ce(e){if(!e)return!1;const t=new URL(e);return"tg:"===t.protocol||"t.me"===t.hostname}function ue(e){return e.replaceAll(".","%2E").replaceAll("-","%2D").replaceAll("_","%5F").replaceAll("&","-").replaceAll("=","__").replaceAll("%","--")}function de(e,t){return $(this,void 0,void 0,(function*(){return new Promise(((n,r)=>{var o,i;if(null===(o=null===t||void 0===t?void 0:t.signal)||void 0===o?void 0:o.aborted)return void r(new D("Delay aborted"));const a=setTimeout((()=>n()),e);null===(i=null===t||void 0===t?void 0:t.signal)||void 0===i||i.addEventListener("abort",(()=>{clearTimeout(a),r(new D("Delay aborted"))}))}))}))}function fe(e){const t=new AbortController;return(null===e||void 0===e?void 0:e.aborted)?t.abort():null===e||void 0===e||e.addEventListener("abort",(()=>t.abort()),{once:!0}),t}function pe(e,t){var n,r;return $(this,void 0,void 0,(function*(){const o=null!==(n=null===t||void 0===t?void 0:t.attempts)&&void 0!==n?n:10,i=null!==(r=null===t||void 0===t?void 0:t.delayMs)&&void 0!==r?r:200,a=fe(null===t||void 0===t?void 0:t.signal);if("function"!==typeof e)throw new D("Expected a function, got "+typeof e);let s,l=0;for(;l<o;){if(a.signal.aborted)throw new D(`Aborted after attempts ${l}`);try{return yield e({signal:a.signal})}catch(c){s=c,l++,l<o&&(yield de(i))}}throw s}))}function he(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.debug("[TON_CONNECT_SDK]",...t)}catch(at){}}function ge(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.error("[TON_CONNECT_SDK]",...t)}catch(at){}}class me{constructor(e,t,n,r,o){this.bridgeUrl=t,this.sessionId=n,this.listener=r,this.errorsListener=o,this.ssePath="events",this.postPath="message",this.heartbeatMessage="heartbeat",this.defaultTtl=300,this.defaultReconnectDelay=2e3,this.defaultResendDelay=5e3,this.eventSource=function(e,t){var n=this;let r=null,o=null,i=null,a=null,s=null;const l=function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];return $(n,void 0,void 0,(function*(){if(a=null!==l&&void 0!==l?l:null,null===s||void 0===s||s.abort(),s=fe(l),s.signal.aborted)throw new D("Resource creation was aborted");o=null!==u&&void 0!==u?u:null;const n=e(s.signal,...u);i=n;const c=yield n;if(i!==n&&c!==r)throw yield t(c),new D("Resource creation was aborted by a new resource creation");return r=c,r}))};return{create:l,current:()=>null!==r&&void 0!==r?r:null,dispose:()=>$(this,void 0,void 0,(function*(){try{const e=r;r=null;const n=i;i=null;try{null===s||void 0===s||s.abort()}catch(ar){}yield Promise.allSettled([e?t(e):Promise.resolve(),n?t(yield n):Promise.resolve()])}catch(ar){}})),recreate:e=>$(this,void 0,void 0,(function*(){const t=r,n=i,s=o,c=a;if(yield de(e),t===r&&n===i&&s===o&&c===a)return yield l(a,...null!==s&&void 0!==s?s:[]);throw new D("Resource recreation was aborted by a new resource creation")}))}}(((e,t)=>$(this,void 0,void 0,(function*(){const n={bridgeUrl:this.bridgeUrl,ssePath:this.ssePath,sessionId:this.sessionId,bridgeGatewayStorage:this.bridgeGatewayStorage,errorHandler:this.errorsHandler.bind(this),messageHandler:this.messagesHandler.bind(this),signal:e,openingDeadlineMS:t};return yield function(e){return $(this,void 0,void 0,(function*(){return yield function(e,t){const n=null===t||void 0===t?void 0:t.timeout,r=fe(null===t||void 0===t?void 0:t.signal);return new Promise(((t,o)=>$(this,void 0,void 0,(function*(){if(r.signal.aborted)return void o(new D("Operation aborted"));let i;"undefined"!==typeof n&&(i=setTimeout((()=>{r.abort(),o(new D(`Timeout after ${n}ms`))}),n)),r.signal.addEventListener("abort",(()=>{clearTimeout(i),o(new D("Operation aborted"))}),{once:!0});const a={timeout:n,abort:r.signal};yield e((function(){clearTimeout(i),t(...arguments)}),(()=>{clearTimeout(i),o()}),a)}))))}(((t,n,r)=>$(this,void 0,void 0,(function*(){var o;const i=fe(r.signal).signal;if(i.aborted)return void n(new D("Bridge connection aborted"));const a=new URL(le(e.bridgeUrl,e.ssePath));a.searchParams.append("client_id",e.sessionId);const s=yield e.bridgeGatewayStorage.getLastEventId();if(s&&a.searchParams.append("last_event_id",s),i.aborted)return void n(new D("Bridge connection aborted"));const l=new EventSource(a.toString());l.onerror=r=>$(this,void 0,void 0,(function*(){if(i.aborted)return l.close(),void n(new D("Bridge connection aborted"));try{const n=yield e.errorHandler(l,r);n!==l&&l.close(),n&&n!==l&&t(n)}catch(ar){l.close(),n(ar)}})),l.onopen=()=>{if(i.aborted)return l.close(),void n(new D("Bridge connection aborted"));t(l)},l.onmessage=t=>{if(i.aborted)return l.close(),void n(new D("Bridge connection aborted"));e.messageHandler(t)},null===(o=e.signal)||void 0===o||o.addEventListener("abort",(()=>{l.close(),n(new D("Bridge connection aborted"))}))}))),{timeout:e.openingDeadlineMS,signal:e.signal})}))}(n)}))),(e=>$(this,void 0,void 0,(function*(){e.close()})))),this.bridgeGatewayStorage=new se(e,t)}get isReady(){const e=this.eventSource.current();return(null===e||void 0===e?void 0:e.readyState)===EventSource.OPEN}get isClosed(){const e=this.eventSource.current();return(null===e||void 0===e?void 0:e.readyState)!==EventSource.OPEN}get isConnecting(){const e=this.eventSource.current();return(null===e||void 0===e?void 0:e.readyState)===EventSource.CONNECTING}registerSession(e){return $(this,void 0,void 0,(function*(){yield this.eventSource.create(null===e||void 0===e?void 0:e.signal,null===e||void 0===e?void 0:e.openingDeadlineMS)}))}send(e,t,n,r){var o;return $(this,void 0,void 0,(function*(){const i={};"number"===typeof r?i.ttl=r:(i.ttl=null===r||void 0===r?void 0:r.ttl,i.signal=null===r||void 0===r?void 0:r.signal,i.attempts=null===r||void 0===r?void 0:r.attempts);const a=new URL(le(this.bridgeUrl,this.postPath));a.searchParams.append("client_id",this.sessionId),a.searchParams.append("to",t),a.searchParams.append("ttl",((null===i||void 0===i?void 0:i.ttl)||this.defaultTtl).toString()),a.searchParams.append("topic",n);const s=M.encode(e);yield pe((e=>$(this,void 0,void 0,(function*(){const t=yield this.post(a,s,e.signal);if(!t.ok)throw new D(`Bridge send failed, status ${t.status}`)}))),{attempts:null!==(o=null===i||void 0===i?void 0:i.attempts)&&void 0!==o?o:Number.MAX_SAFE_INTEGER,delayMs:this.defaultResendDelay,signal:null===i||void 0===i?void 0:i.signal})}))}pause(){this.eventSource.dispose().catch((e=>ge(`Bridge pause failed, ${e}`)))}unPause(){return $(this,void 0,void 0,(function*(){yield this.eventSource.recreate(0)}))}close(){return $(this,void 0,void 0,(function*(){yield this.eventSource.dispose().catch((e=>ge(`Bridge close failed, ${e}`)))}))}setListener(e){this.listener=e}setErrorsListener(e){this.errorsListener=e}post(e,t,n){return $(this,void 0,void 0,(function*(){const r=yield fetch(e,{method:"post",body:t,signal:n});if(!r.ok)throw new D(`Bridge send failed, status ${r.status}`);return r}))}errorsHandler(e,t){return $(this,void 0,void 0,(function*(){if(this.isConnecting)throw e.close(),new D("Bridge error, failed to connect");if(!this.isReady){if(this.isClosed)return e.close(),he(`Bridge reconnecting, ${this.defaultReconnectDelay}ms delay`),yield this.eventSource.recreate(this.defaultReconnectDelay);throw new D("Bridge error, unknown state")}try{this.errorsListener(t)}catch(t){}}))}messagesHandler(e){return $(this,void 0,void 0,(function*(){if(e.data===this.heartbeatMessage)return;if(yield this.bridgeGatewayStorage.storeLastEventId(e.lastEventId),this.isClosed)return;let t;try{t=JSON.parse(e.data)}catch(Bm){throw new D(`Bridge message parse failed, message ${e.data}`)}this.listener(t)}))}}function ye(e){return!("connectEvent"in e)}class ve{constructor(e){this.storage=e,this.storeKey="ton-connect-storage_bridge-connection"}storeConnection(e){return $(this,void 0,void 0,(function*(){if("injected"===e.type)return this.storage.setItem(this.storeKey,JSON.stringify(e));if(!ye(e)){const t={sessionKeyPair:e.session.sessionCrypto.stringifyKeypair(),walletPublicKey:e.session.walletPublicKey,bridgeUrl:e.session.bridgeUrl},n={type:"http",connectEvent:e.connectEvent,session:t,lastWalletEventId:e.lastWalletEventId,nextRpcRequestId:e.nextRpcRequestId};return this.storage.setItem(this.storeKey,JSON.stringify(n))}const t={type:"http",connectionSource:e.connectionSource,sessionCrypto:e.sessionCrypto.stringifyKeypair(),createdAt:Date.now()};return this.storage.setItem(this.storeKey,JSON.stringify(t))}))}removeConnection(){return $(this,void 0,void 0,(function*(){return this.storage.removeItem(this.storeKey)}))}getConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.storage.getItem(this.storeKey);if(!e)return null;const t=JSON.parse(e);if("injected"===t.type)return t;if(!function(e){return!("connectEvent"in e)}(t)){const e=new I(t.session.sessionKeyPair);return{type:"http",connectEvent:t.connectEvent,lastWalletEventId:t.lastWalletEventId,nextRpcRequestId:t.nextRpcRequestId,session:{sessionCrypto:e,bridgeUrl:t.session.bridgeUrl,walletPublicKey:t.session.walletPublicKey}}}return function(e){var t;return Date.now()-(null!==(t=e.createdAt)&&void 0!==t?t:0)>3e5}(t)?(yield this.removeConnection(),null):{type:"http",sessionCrypto:new I(t.sessionCrypto),connectionSource:t.connectionSource}}))}getHttpConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(!e)throw new D("Trying to read HTTP connection source while nothing is stored");if("injected"===e.type)throw new D("Trying to read HTTP connection source while injected connection is stored");return e}))}getHttpPendingConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(!e)throw new D("Trying to read HTTP connection source while nothing is stored");if("injected"===e.type)throw new D("Trying to read HTTP connection source while injected connection is stored");if(!ye(e))throw new D("Trying to read HTTP-pending connection while http connection is stored");return e}))}getInjectedConnection(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(!e)throw new D("Trying to read Injected bridge connection source while nothing is stored");if("http"===(null===e||void 0===e?void 0:e.type))throw new D("Trying to read Injected bridge connection source while HTTP connection is stored");return e}))}storedConnectionType(){return $(this,void 0,void 0,(function*(){const e=yield this.storage.getItem(this.storeKey);if(!e)return null;return JSON.parse(e).type}))}storeLastWalletEventId(e){return $(this,void 0,void 0,(function*(){const t=yield this.getConnection();if(t&&"http"===t.type&&!ye(t))return t.lastWalletEventId=e,this.storeConnection(t)}))}getLastWalletEventId(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(e&&"lastWalletEventId"in e)return e.lastWalletEventId}))}increaseNextRpcRequestId(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();if(e&&"nextRpcRequestId"in e){const t=e.nextRpcRequestId||0;return e.nextRpcRequestId=t+1,this.storeConnection(e)}}))}getNextRpcRequestId(){return $(this,void 0,void 0,(function*(){const e=yield this.getConnection();return e&&"nextRpcRequestId"in e&&e.nextRpcRequestId||0}))}}class be{constructor(e,t){this.storage=e,this.walletConnectionSource=t,this.type="http",this.standardUniversalLink="tc://",this.pendingRequests=new Map,this.session=null,this.gateway=null,this.pendingGateways=[],this.listeners=[],this.defaultOpeningDeadlineMS=12e3,this.defaultRetryTimeoutMS=2e3,this.connectionStorage=new ve(e)}static fromStorage(e){return $(this,void 0,void 0,(function*(){const t=new ve(e),n=yield t.getHttpConnection();return ye(n)?new be(e,n.connectionSource):new be(e,{bridgeUrl:n.session.bridgeUrl})}))}connect(e,t){var n;const r=fe(null===t||void 0===t?void 0:t.signal);null===(n=this.abortController)||void 0===n||n.abort(),this.abortController=r,this.closeGateways();const o=new I;this.session={sessionCrypto:o,bridgeUrl:"bridgeUrl"in this.walletConnectionSource?this.walletConnectionSource.bridgeUrl:""},this.connectionStorage.storeConnection({type:"http",connectionSource:this.walletConnectionSource,sessionCrypto:o}).then((()=>$(this,void 0,void 0,(function*(){r.signal.aborted||(yield pe((e=>{var n;return this.openGateways(o,{openingDeadlineMS:null!==(n=null===t||void 0===t?void 0:t.openingDeadlineMS)&&void 0!==n?n:this.defaultOpeningDeadlineMS,signal:null===e||void 0===e?void 0:e.signal})}),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:r.signal}))}))));const i="universalLink"in this.walletConnectionSource&&this.walletConnectionSource.universalLink?this.walletConnectionSource.universalLink:this.standardUniversalLink;return this.generateUniversalLink(i,e)}restoreConnection(e){var t,n;return $(this,void 0,void 0,(function*(){const r=fe(null===e||void 0===e?void 0:e.signal);if(null===(t=this.abortController)||void 0===t||t.abort(),this.abortController=r,r.signal.aborted)return;this.closeGateways();const o=yield this.connectionStorage.getHttpConnection();if(!o)return;if(r.signal.aborted)return;const i=null!==(n=null===e||void 0===e?void 0:e.openingDeadlineMS)&&void 0!==n?n:this.defaultOpeningDeadlineMS;if(ye(o))return this.session={sessionCrypto:o.sessionCrypto,bridgeUrl:"bridgeUrl"in this.walletConnectionSource?this.walletConnectionSource.bridgeUrl:""},yield this.openGateways(o.sessionCrypto,{openingDeadlineMS:i,signal:null===r||void 0===r?void 0:r.signal});if(Array.isArray(this.walletConnectionSource))throw new D("Internal error. Connection source is array while WalletConnectionSourceHTTP was expected.");if(this.session=o.session,this.gateway&&(he("Gateway is already opened, closing previous gateway"),yield this.gateway.close()),this.gateway=new me(this.storage,this.walletConnectionSource.bridgeUrl,o.session.sessionCrypto.sessionId,this.gatewayListener.bind(this),this.gatewayErrorsListener.bind(this)),!r.signal.aborted){this.listeners.forEach((e=>e(o.connectEvent)));try{yield pe((e=>this.gateway.registerSession({openingDeadlineMS:i,signal:e.signal})),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:r.signal})}catch(ar){return void(yield this.disconnect({signal:r.signal}))}}}))}sendRequest(e,t){const n={};return"function"===typeof t?n.onRequestSent=t:(n.onRequestSent=null===t||void 0===t?void 0:t.onRequestSent,n.signal=null===t||void 0===t?void 0:t.signal,n.attempts=null===t||void 0===t?void 0:t.attempts),new Promise(((t,r)=>$(this,void 0,void 0,(function*(){var o;if(!this.gateway||!this.session||!("walletPublicKey"in this.session))throw new D("Trying to send bridge request without session");const i=(yield this.connectionStorage.getNextRpcRequestId()).toString();yield this.connectionStorage.increaseNextRpcRequestId(),he("Send http-bridge request:",Object.assign(Object.assign({},e),{id:i}));const a=this.session.sessionCrypto.encrypt(JSON.stringify(Object.assign(Object.assign({},e),{id:i})),N(this.session.walletPublicKey));try{yield this.gateway.send(a,this.session.walletPublicKey,e.method,{attempts:null===n||void 0===n?void 0:n.attempts,signal:null===n||void 0===n?void 0:n.signal}),null===(o=null===n||void 0===n?void 0:n.onRequestSent)||void 0===o||o.call(n),this.pendingRequests.set(i.toString(),t)}catch(ar){r(ar)}}))))}closeConnection(){this.closeGateways(),this.listeners=[],this.session=null,this.gateway=null}disconnect(e){return $(this,void 0,void 0,(function*(){return new Promise((t=>$(this,void 0,void 0,(function*(){let n=!1,r=null;const o=()=>{n||(n=!0,this.removeBridgeAndSession().then(t))};try{this.closeGateways();const t=fe(null===e||void 0===e?void 0:e.signal);r=setTimeout((()=>{t.abort()}),this.defaultOpeningDeadlineMS),yield this.sendRequest({method:"disconnect",params:[]},{onRequestSent:o,signal:t.signal,attempts:1})}catch(ar){he("Disconnect error:",ar),n||this.removeBridgeAndSession().then(t)}finally{r&&clearTimeout(r),o()}}))))}))}listen(e){return this.listeners.push(e),()=>this.listeners=this.listeners.filter((t=>t!==e))}pause(){var e;null===(e=this.gateway)||void 0===e||e.pause(),this.pendingGateways.forEach((e=>e.pause()))}unPause(){return $(this,void 0,void 0,(function*(){const e=this.pendingGateways.map((e=>e.unPause()));this.gateway&&e.push(this.gateway.unPause()),yield Promise.all(e)}))}pendingGatewaysListener(e,t,n){return $(this,void 0,void 0,(function*(){if(this.pendingGateways.includes(e))return this.closeGateways({except:e}),this.gateway&&(he("Gateway is already opened, closing previous gateway"),yield this.gateway.close()),this.session.bridgeUrl=t,this.gateway=e,this.gateway.setErrorsListener(this.gatewayErrorsListener.bind(this)),this.gateway.setListener(this.gatewayListener.bind(this)),this.gatewayListener(n);yield e.close()}))}gatewayListener(e){return $(this,void 0,void 0,(function*(){const t=JSON.parse(this.session.sessionCrypto.decrypt(M.decode(e.message).toUint8Array(),N(e.from)));if(he("Wallet message received:",t),!("event"in t)){const e=t.id.toString(),n=this.pendingRequests.get(e);return n?(n(t),void this.pendingRequests.delete(e)):void he(`Response id ${e} doesn't match any request's id`)}if(void 0!==t.id){const e=yield this.connectionStorage.getLastWalletEventId();if(void 0!==e&&t.id<=e)return void ge(`Received event id (=${t.id}) must be greater than stored last wallet event id (=${e}) `);"connect"!==t.event&&(yield this.connectionStorage.storeLastWalletEventId(t.id))}const n=this.listeners;"connect"===t.event&&(yield this.updateSession(t,e.from)),"disconnect"===t.event&&(he("Removing bridge and session: received disconnect event"),yield this.removeBridgeAndSession()),n.forEach((e=>e(t)))}))}gatewayErrorsListener(e){return $(this,void 0,void 0,(function*(){throw new D(`Bridge error ${JSON.stringify(e)}`)}))}updateSession(e,t){return $(this,void 0,void 0,(function*(){this.session=Object.assign(Object.assign({},this.session),{walletPublicKey:t});const n=e.payload.items.find((e=>"ton_addr"===e.name)),r=Object.assign(Object.assign({},e),{payload:Object.assign(Object.assign({},e.payload),{items:[n]})});yield this.connectionStorage.storeConnection({type:"http",session:this.session,lastWalletEventId:e.id,connectEvent:r,nextRpcRequestId:0})}))}removeBridgeAndSession(){return $(this,void 0,void 0,(function*(){this.closeConnection(),yield this.connectionStorage.removeConnection()}))}generateUniversalLink(e,t){return ce(e)?this.generateTGUniversalLink(e,t):this.generateRegularUniversalLink(e,t)}generateRegularUniversalLink(e,t){const n=new URL(e);return n.searchParams.append("v",2..toString()),n.searchParams.append("id",this.session.sessionCrypto.sessionId),n.searchParams.append("r",JSON.stringify(t)),n.toString()}generateTGUniversalLink(e,t){const n="tonconnect-"+ue(this.generateRegularUniversalLink("about:blank",t).split("?")[1]),r=this.convertToDirectLink(e),o=new URL(r);return o.searchParams.append("startapp",n),o.toString()}convertToDirectLink(e){const t=new URL(e);return t.searchParams.has("attach")&&(t.searchParams.delete("attach"),t.pathname+="/start"),t.toString()}openGateways(e,t){return $(this,void 0,void 0,(function*(){return Array.isArray(this.walletConnectionSource)?(this.pendingGateways.map((e=>e.close().catch())),this.pendingGateways=this.walletConnectionSource.map((t=>{const n=new me(this.storage,t.bridgeUrl,e.sessionId,(()=>{}),(()=>{}));return n.setListener((e=>this.pendingGatewaysListener(n,t.bridgeUrl,e))),n})),void(yield Promise.allSettled(this.pendingGateways.map((e=>pe((n=>{var r;return this.pendingGateways.some((t=>t===e))?e.registerSession({openingDeadlineMS:null!==(r=null===t||void 0===t?void 0:t.openingDeadlineMS)&&void 0!==r?r:this.defaultOpeningDeadlineMS,signal:n.signal}):e.close()}),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:null===t||void 0===t?void 0:t.signal})))))):(this.gateway&&(he("Gateway is already opened, closing previous gateway"),yield this.gateway.close()),this.gateway=new me(this.storage,this.walletConnectionSource.bridgeUrl,e.sessionId,this.gatewayListener.bind(this),this.gatewayErrorsListener.bind(this)),yield this.gateway.registerSession({openingDeadlineMS:null===t||void 0===t?void 0:t.openingDeadlineMS,signal:null===t||void 0===t?void 0:t.signal}))}))}closeGateways(e){var t;null===(t=this.gateway)||void 0===t||t.close(),this.pendingGateways.filter((t=>t!==(null===e||void 0===e?void 0:e.except))).forEach((e=>e.close())),this.pendingGateways=[]}}function we(e,t){return xe(e,[t])}function xe(e,t){return!(!e||"object"!==typeof e)&&t.every((t=>t in e))}class Ce{constructor(){this.storage={}}static getInstance(){return Ce.instance||(Ce.instance=new Ce),Ce.instance}get length(){return Object.keys(this.storage).length}clear(){this.storage={}}getItem(e){var t;return null!==(t=this.storage[e])&&void 0!==t?t:null}key(e){var t;const n=Object.keys(this.storage);return e<0||e>=n.length?null:null!==(t=n[e])&&void 0!==t?t:null}removeItem(e){delete this.storage[e]}setItem(e,t){this.storage[e]=t}}function ke(){if("undefined"!==typeof window)return window}function Se(){if("undefined"!==typeof document)return document}function Ee(){var e;const t=null===(e=ke())||void 0===e?void 0:e.location.origin;return t?t+"/tonconnect-manifest.json":""}function Ae(){if(function(){try{return"undefined"!==typeof localStorage}catch(at){return!1}}())return localStorage;if("undefined"!==typeof process&&null!=process.versions&&null!=process.versions.node)throw new D("`localStorage` is unavailable, but it is required for TonConnect. For more details, see https://github.com/ton-connect/sdk/tree/main/packages/sdk#init-connector");return Ce.getInstance()}class _e{constructor(e,t){this.injectedWalletKey=t,this.type="injected",this.unsubscribeCallback=null,this.listenSubscriptions=!1,this.listeners=[];const n=_e.window;if(!_e.isWindowContainsWallet(n,t))throw new q;this.connectionStorage=new ve(e),this.injectedWallet=n[t].tonconnect}static fromStorage(e){return $(this,void 0,void 0,(function*(){const t=new ve(e),n=yield t.getInjectedConnection();return new _e(e,n.jsBridgeKey)}))}static isWalletInjected(e){return _e.isWindowContainsWallet(this.window,e)}static isInsideWalletBrowser(e){return!!_e.isWindowContainsWallet(this.window,e)&&this.window[e].tonconnect.isWalletBrowser}static getCurrentlyInjectedWallets(){if(!this.window)return[];return function(){const e=ke();if(!e)return[];try{return Object.keys(e)}catch(at){return[]}}().filter((e=>{let[t,n]=e;return function(e){try{return!(!we(e,"tonconnect")||!we(e.tonconnect,"walletInfo"))&&xe(e.tonconnect.walletInfo,["name","app_name","image","about_url","platforms"])}catch(at){return!1}}(n)})).map((e=>{let[t,n]=e;return{name:n.tonconnect.walletInfo.name,appName:n.tonconnect.walletInfo.app_name,aboutUrl:n.tonconnect.walletInfo.about_url,imageUrl:n.tonconnect.walletInfo.image,tondns:n.tonconnect.walletInfo.tondns,jsBridgeKey:t,injected:!0,embedded:n.tonconnect.isWalletBrowser,platforms:n.tonconnect.walletInfo.platforms,features:n.tonconnect.walletInfo.features}}))}static isWindowContainsWallet(e,t){return!!e&&t in e&&"object"===typeof e[t]&&"tonconnect"in e[t]}connect(e){this._connect(2,e)}restoreConnection(){return $(this,void 0,void 0,(function*(){try{he("Injected Provider restoring connection...");const e=yield this.injectedWallet.restoreConnection();he("Injected Provider restoring connection response",e),"connect"===e.event?(this.makeSubscriptions(),this.listeners.forEach((t=>t(e)))):yield this.connectionStorage.removeConnection()}catch(ar){yield this.connectionStorage.removeConnection(),console.error(ar)}}))}closeConnection(){this.listenSubscriptions&&this.injectedWallet.disconnect(),this.closeAllListeners()}disconnect(){return $(this,void 0,void 0,(function*(){return new Promise((e=>{const t=()=>{this.closeAllListeners(),this.connectionStorage.removeConnection().then(e)};try{this.injectedWallet.disconnect(),t()}catch(ar){he(ar),this.sendRequest({method:"disconnect",params:[]},t)}}))}))}closeAllListeners(){var e;this.listenSubscriptions=!1,this.listeners=[],null===(e=this.unsubscribeCallback)||void 0===e||e.call(this)}listen(e){return this.listeners.push(e),()=>this.listeners=this.listeners.filter((t=>t!==e))}sendRequest(e,t){var n;return $(this,void 0,void 0,(function*(){const r={};"function"===typeof t?r.onRequestSent=t:(r.onRequestSent=null===t||void 0===t?void 0:t.onRequestSent,r.signal=null===t||void 0===t?void 0:t.signal);const o=(yield this.connectionStorage.getNextRpcRequestId()).toString();yield this.connectionStorage.increaseNextRpcRequestId(),he("Send injected-bridge request:",Object.assign(Object.assign({},e),{id:o}));const i=this.injectedWallet.send(Object.assign(Object.assign({},e),{id:o}));return i.then((e=>he("Wallet message received:",e))),null===(n=null===r||void 0===r?void 0:r.onRequestSent)||void 0===n||n.call(r),i}))}_connect(e,t){return $(this,void 0,void 0,(function*(){try{he(`Injected Provider connect request: protocolVersion: ${e}, message:`,t);const n=yield this.injectedWallet.connect(e,t);he("Injected Provider connect response:",n),"connect"===n.event&&(yield this.updateSession(),this.makeSubscriptions()),this.listeners.forEach((e=>e(n)))}catch(ar){he("Injected Provider connect error:",ar);const t={event:"connect_error",payload:{code:0,message:null===ar||void 0===ar?void 0:ar.toString()}};this.listeners.forEach((e=>e(t)))}}))}makeSubscriptions(){this.listenSubscriptions=!0,this.unsubscribeCallback=this.injectedWallet.listen((e=>{he("Wallet message received:",e),this.listenSubscriptions&&this.listeners.forEach((t=>t(e))),"disconnect"===e.event&&this.disconnect()}))}updateSession(){return this.connectionStorage.storeConnection({type:"injected",jsBridgeKey:this.injectedWalletKey,nextRpcRequestId:0})}}_e.window=ke();class Te{constructor(){this.localStorage=Ae()}getItem(e){return $(this,void 0,void 0,(function*(){return this.localStorage.getItem(e)}))}removeItem(e){return $(this,void 0,void 0,(function*(){this.localStorage.removeItem(e)}))}setItem(e,t){return $(this,void 0,void 0,(function*(){this.localStorage.setItem(e,t)}))}}function Re(e){return function(e){return"jsBridgeKey"in e}(e)&&e.injected}function Oe(e){return Re(e)&&e.embedded}function Pe(e){return"bridgeUrl"in e}const Me=[{app_name:"telegram-wallet",name:"Wallet",image:"https://wallet.tg/images/logo-288.png",about_url:"https://wallet.tg/",universal_url:"https://t.me/wallet?attach=wallet",bridge:[{type:"sse",url:"https://walletbot.me/tonconnect-bridge/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"tonkeeper",name:"Tonkeeper",image:"https://tonkeeper.com/assets/tonconnect-icon.png",tondns:"tonkeeper.ton",about_url:"https://tonkeeper.com",universal_url:"https://app.tonkeeper.com/ton-connect",deepLink:"tonkeeper-tc://",bridge:[{type:"sse",url:"https://bridge.tonapi.io/bridge"},{type:"js",key:"tonkeeper"}],platforms:["ios","android","chrome","firefox","macos"]},{app_name:"mytonwallet",name:"MyTonWallet",image:"https://static.mytonwallet.io/icon-256.png",about_url:"https://mytonwallet.io",universal_url:"https://connect.mytonwallet.org",bridge:[{type:"js",key:"mytonwallet"},{type:"sse",url:"https://tonconnectbridge.mytonwallet.org/bridge/"}],platforms:["chrome","windows","macos","linux","ios","android","firefox"]},{app_name:"tonhub",name:"Tonhub",image:"https://tonhub.com/tonconnect_logo.png",about_url:"https://tonhub.com",universal_url:"https://tonhub.com/ton-connect",bridge:[{type:"js",key:"tonhub"},{type:"sse",url:"https://connect.tonhubapi.com/tonconnect"}],platforms:["ios","android"]},{app_name:"bitgetTonWallet",name:"Bitget Wallet",image:"https://raw.githubusercontent.com/bitgetwallet/download/refs/heads/main/logo/png/bitget_wallet_logo_288_mini.png",about_url:"https://web3.bitget.com",deepLink:"bitkeep://",bridge:[{type:"js",key:"bitgetTonWallet"},{type:"sse",url:"https://ton-connect-bridge.bgwapi.io/bridge"}],platforms:["ios","android","chrome"],universal_url:"https://bkcode.vip/ton-connect"},{app_name:"okxMiniWallet",name:"OKX Mini Wallet",image:"https://static.okx.com/cdn/assets/imgs/2411/8BE1A4A434D8F58A.png",about_url:"https://www.okx.com/web3",universal_url:"https://t.me/OKX_WALLET_BOT?attach=wallet",bridge:[{type:"sse",url:"https://www.okx.com/tonbridge/discover/rpc/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"binanceWeb3TonWallet",name:"Binance Web3 Wallet",image:"https://public.bnbstatic.com/static/binance-w3w/ton-provider/binancew3w.png",about_url:"https://www.binance.com/en/web3wallet",deepLink:"bnc://app.binance.com/cedefi/ton-connect",bridge:[{type:"js",key:"binancew3w"},{type:"sse",url:"https://wallet.binance.com/tonbridge/bridge"}],platforms:["ios","android","macos","windows","linux"],universal_url:"https://app.binance.com/cedefi/ton-connect"},{app_name:"fintopio-tg",name:"Fintopio",image:"https://fintopio.com/tonconnect-icon.png",about_url:"https://fintopio.com",universal_url:"https://t.me/fintopio?attach=wallet",bridge:[{type:"sse",url:"https://wallet-bridge.fintopio.com/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"okxTonWallet",name:"OKX Wallet",image:"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png",about_url:"https://www.okx.com/web3",universal_url:"https://www.okx.com/download?appendQuery=true&deeplink=okx://web3/wallet/tonconnect",bridge:[{type:"js",key:"okxTonWallet"},{type:"sse",url:"https://www.okx.com/tonbridge/discover/rpc/bridge"}],platforms:["chrome","safari","firefox","ios","android"]},{app_name:"hot",name:"HOT",image:"https://raw.githubusercontent.com/hot-dao/media/main/logo.png",about_url:"https://hot-labs.org/",universal_url:"https://t.me/herewalletbot?attach=wallet",bridge:[{type:"sse",url:"https://sse-bridge.hot-labs.org"},{type:"js",key:"hotWallet"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"bybitTonWallet",name:"Bybit Wallet",image:"https://raw.githubusercontent.com/bybit-web3/bybit-web3.github.io/main/docs/images/bybit-logo.png",about_url:"https://www.bybit.com/web3",universal_url:"https://app.bybit.com/ton-connect",deepLink:"bybitapp://",bridge:[{type:"js",key:"bybitTonWallet"},{type:"sse",url:"https://api-node.bybit.com/spot/api/web3/bridge/ton/bridge"}],platforms:["ios","android","chrome"]},{app_name:"dewallet",name:"DeWallet",image:"https://raw.githubusercontent.com/delab-team/manifests-images/main/WalletAvatar.png",about_url:"https://delabwallet.com",universal_url:"https://t.me/dewallet?attach=wallet",bridge:[{type:"sse",url:"https://bridge.dewallet.pro/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"safepalwallet",name:"SafePal",image:"https://s.pvcliping.com/web/public_image/SafePal_x288.png",tondns:"",about_url:"https://www.safepal.com",universal_url:"https://link.safepal.io/ton-connect",deepLink:"safepal-tc://",bridge:[{type:"sse",url:"https://ton-bridge.safepal.com/tonbridge/v1/bridge"},{type:"js",key:"safepalwallet"}],platforms:["ios","android","chrome","firefox"]},{app_name:"GateWallet",name:"GateWallet",image:"https://img.gatedataimg.com/prd-ordinal-imgs/036f07bb8730716e/gateio-0925.png",about_url:"https://www.gate.io/",bridge:[{type:"js",key:"gatetonwallet"},{type:"sse",url:"https://dapp.gateio.services/tonbridge_api/bridge/v1"}],platforms:["ios","android"],universal_url:"https://gateio.go.link/gateio/web3?adj_t=1ff8khdw_1fu4ccc7"},{app_name:"openmask",name:"OpenMask",image:"https://raw.githubusercontent.com/OpenProduct/openmask-extension/main/public/openmask-logo-288.png",about_url:"https://www.openmask.app/",bridge:[{type:"js",key:"openmask"}],platforms:["chrome"]},{app_name:"BitgetWeb3",name:"BitgetWeb3",image:"https://img.bitgetimg.com/image/third/1731638059795.png",about_url:"\u200bhttps://www.bitget.com",universal_url:"https://t.me/BitgetOfficialBot?attach=wallet",bridge:[{type:"sse",url:"https://ton-connect-bridge.bgwapi.io/bridge"}],platforms:["ios","android","windows","macos","linux"]},{app_name:"tobi",name:"Tobi",image:"https://app.tobiwallet.app/icons/logo-288.png",about_url:"https://tobi.fun",universal_url:"https://t.me/TobiCopilotBot?attach=wallet",bridge:[{type:"sse",url:"https://ton-bridge.tobiwallet.app/bridge"}],platforms:["ios","android","macos","windows","linux"]},{app_name:"xtonwallet",name:"XTONWallet",image:"https://xtonwallet.com/assets/img/icon-256-back.png",about_url:"https://xtonwallet.com",bridge:[{type:"js",key:"xtonwallet"}],platforms:["chrome","firefox"]},{app_name:"tonwallet",name:"TON Wallet",image:"https://wallet.ton.org/assets/ui/qr-logo.png",about_url:"https://chrome.google.com/webstore/detail/ton-wallet/nphplpgoakhhjchkkhmiggakijnkhfnd",bridge:[{type:"js",key:"tonwallet"}],platforms:["chrome"]}];class Le{constructor(e){var t;this.walletsListCache=null,this.walletsListCacheCreationTimestamp=null,this.walletsListSource=null!==(t=null===e||void 0===e?void 0:e.walletsListSource)&&void 0!==t?t:"https://raw.githubusercontent.com/ton-blockchain/wallets-list/main/wallets-v2.json",this.cacheTTLMs=null===e||void 0===e?void 0:e.cacheTTLMs}getWallets(){return $(this,void 0,void 0,(function*(){return this.cacheTTLMs&&this.walletsListCacheCreationTimestamp&&Date.now()>this.walletsListCacheCreationTimestamp+this.cacheTTLMs&&(this.walletsListCache=null),this.walletsListCache||(this.walletsListCache=this.fetchWalletsList(),this.walletsListCache.then((()=>{this.walletsListCacheCreationTimestamp=Date.now()})).catch((()=>{this.walletsListCache=null,this.walletsListCacheCreationTimestamp=null}))),this.walletsListCache}))}getEmbeddedWallet(){return $(this,void 0,void 0,(function*(){const e=(yield this.getWallets()).filter(Oe);return 1===e.length?e[0]:null}))}fetchWalletsList(){return $(this,void 0,void 0,(function*(){let e=[];try{const t=yield fetch(this.walletsListSource);if(e=yield t.json(),!Array.isArray(e))throw new Z("Wrong wallets list format, wallets list must be an array.");const n=e.filter((e=>!this.isCorrectWalletConfigDTO(e)));n.length&&(ge(`Wallet(s) ${n.map((e=>(null===e||void 0===e?void 0:e.name)||"unknown")).join(", ")} config format is wrong. They were removed from the wallets list.`),e=e.filter((e=>this.isCorrectWalletConfigDTO(e))))}catch(ar){ge(ar),e=Me}let t=[];try{t=_e.getCurrentlyInjectedWallets()}catch(ar){ge(ar)}return this.mergeWalletsLists(this.walletConfigDTOListToWalletConfigList(e),t)}))}walletConfigDTOListToWalletConfigList(e){return e.map((e=>{const t={name:e.name,appName:e.app_name,imageUrl:e.image,aboutUrl:e.about_url,tondns:e.tondns,platforms:e.platforms,features:e.features};return e.bridge.forEach((n=>{if("sse"===n.type&&(t.bridgeUrl=n.url,t.universalLink=e.universal_url,t.deepLink=e.deepLink),"js"===n.type){const e=n.key;t.jsBridgeKey=e,t.injected=_e.isWalletInjected(e),t.embedded=_e.isInsideWalletBrowser(e)}})),t}))}mergeWalletsLists(e,t){return[...new Set(e.concat(t).map((e=>e.name))).values()].map((n=>{const r=e.find((e=>e.name===n)),o=t.find((e=>e.name===n));return Object.assign(Object.assign({},r&&Object.assign({},r)),o&&Object.assign({},o))}))}isCorrectWalletConfigDTO(e){if(!e||"object"!==typeof e)return!1;if(!("name"in e)||!("image"in e)||!("about_url"in e)||!("platforms"in e)||!("app_name"in e))return!1;if(!e.platforms||!Array.isArray(e.platforms)||!e.platforms.length)return!1;if(!("bridge"in e)||!Array.isArray(e.bridge)||!e.bridge.length)return!1;const t=e.bridge;if(t.some((e=>!e||"object"!==typeof e||!("type"in e))))return!1;const n=t.find((e=>"sse"===e.type));if(n&&("object"!==typeof n||!("url"in n)||!n.url||!e.universal_url))return!1;const r=t.find((e=>"js"===e.type));return!!(!r||"object"===typeof r&&"key"in r&&r.key)}}function Ne(e,t){const n=e.includes("SendTransaction"),r=je(e,"SendTransaction"),o={minMessages:t.requiredMessagesNumber,extraCurrencyRequired:t.requireExtraCurrencies};if(!n&&!r)throw new H("Wallet doesn't support SendTransaction feature.",{cause:{requiredFeature:{featureName:"SendTransaction",value:o}}});if(t.requireExtraCurrencies&&(!r||!r.extraCurrencySupported))throw new H("Wallet is not able to handle such SendTransaction request. Extra currencies support is required.",{cause:{requiredFeature:{featureName:"SendTransaction",value:o}}});if(r&&void 0!==r.maxMessages){if(r.maxMessages<t.requiredMessagesNumber)throw new H(`Wallet is not able to handle such SendTransaction request. Max support messages number is ${r.maxMessages}, but ${t.requiredMessagesNumber} is required.`,{cause:{requiredFeature:{featureName:"SendTransaction",value:o}}})}else!function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.warn("[TON_CONNECT_SDK]",...t)}catch(at){}}("Connected wallet didn't provide information about max allowed messages in the SendTransaction request. Request may be rejected by the wallet.")}function Ie(e,t){if("object"!==typeof t)return!0;const{sendTransaction:n,signData:r}=t;if(n){const t=je(e,"SendTransaction");if(!t)return!1;if(!function(e,t){const n=void 0===t.minMessages||t.minMessages<=e.maxMessages,r=!t.extraCurrencyRequired||e.extraCurrencySupported;return!(!n||!r)}(t,n))return!1}if(r){const t=je(e,"SignData");if(!t)return!1;if(!function(e,t){return t.types.every((t=>e.types.includes(t)))}(t,r))return!1}return!0}function je(e,t){return e.find((e=>e&&"object"===typeof e&&e.name===t))}function $e(e){return{type:"response-version",version:e}}function De(e){return{ton_connect_sdk_lib:e.ton_connect_sdk_lib,ton_connect_ui_lib:e.ton_connect_ui_lib}}function We(e,t){var n,r,o,i,a,s,l,c;const u=(null===(n=null===t||void 0===t?void 0:t.connectItems)||void 0===n?void 0:n.tonProof)&&"proof"in t.connectItems.tonProof?"ton_proof":"ton_addr";return{wallet_address:null!==(o=null===(r=null===t||void 0===t?void 0:t.account)||void 0===r?void 0:r.address)&&void 0!==o?o:null,wallet_type:null!==(i=null===t||void 0===t?void 0:t.device.appName)&&void 0!==i?i:null,wallet_version:null!==(a=null===t||void 0===t?void 0:t.device.appVersion)&&void 0!==a?a:null,auth_type:u,custom_data:Object.assign({chain_id:null!==(l=null===(s=null===t||void 0===t?void 0:t.account)||void 0===s?void 0:s.chain)&&void 0!==l?l:null,provider:null!==(c=null===t||void 0===t?void 0:t.provider)&&void 0!==c?c:null},De(e))}}function Ue(e){return{type:"connection-started",custom_data:De(e)}}function Fe(e,t){return Object.assign({type:"connection-completed",is_success:!0},We(e,t))}function ze(e,t,n){return{type:"connection-error",is_success:!1,error_message:t,error_code:null!==n&&void 0!==n?n:null,custom_data:De(e)}}function Be(e){return{type:"connection-restoring-started",custom_data:De(e)}}function qe(e,t){return Object.assign({type:"connection-restoring-completed",is_success:!0},We(e,t))}function He(e,t){return{type:"connection-restoring-error",is_success:!1,error_message:t,custom_data:De(e)}}function Ke(e,t){var n,r,o,i;return{valid_until:null!==(n=String(t.validUntil))&&void 0!==n?n:null,from:null!==(i=null!==(r=t.from)&&void 0!==r?r:null===(o=null===e||void 0===e?void 0:e.account)||void 0===o?void 0:o.address)&&void 0!==i?i:null,messages:t.messages.map((e=>{var t,n;return{address:null!==(t=e.address)&&void 0!==t?t:null,amount:null!==(n=e.amount)&&void 0!==n?n:null}}))}}function Ve(e,t,n){return Object.assign(Object.assign({type:"transaction-sent-for-signature"},We(e,t)),Ke(t,n))}function Ge(e,t,n,r){return Object.assign(Object.assign({type:"transaction-signed",is_success:!0,signed_transaction:r.boc},We(e,t)),Ke(t,n))}function Qe(e,t,n,r,o){return Object.assign(Object.assign({type:"transaction-signing-failed",is_success:!1,error_message:r,error_code:null!==o&&void 0!==o?o:null},We(e,t)),Ke(t,n))}function Ze(e,t,n){return Object.assign({type:"sign-data-request-initiated",data:n},We(e,t))}function Ye(e,t,n,r){return Object.assign({type:"sign-data-request-completed",is_success:!0,data:n,signed_data:r},We(e,t))}function Xe(e,t,n,r,o){return Object.assign({type:"sign-data-request-failed",is_success:!1,data:n,error_message:r,error_code:null!==o&&void 0!==o?o:null},We(e,t))}function Je(e,t,n){return Object.assign({type:"disconnection",scope:n},We(e,t))}class et{constructor(){this.window=ke()}dispatchEvent(e,t){var n;return $(this,void 0,void 0,(function*(){const r=new CustomEvent(e,{detail:t});null===(n=this.window)||void 0===n||n.dispatchEvent(r)}))}addEventListener(e,t,n){var r;return $(this,void 0,void 0,(function*(){return null===(r=this.window)||void 0===r||r.addEventListener(e,t,n),()=>{var n;return null===(n=this.window)||void 0===n?void 0:n.removeEventListener(e,t)}}))}}class tt{constructor(e){var t;this.eventPrefix="ton-connect-",this.tonConnectUiVersion=null,this.eventDispatcher=null!==(t=null===e||void 0===e?void 0:e.eventDispatcher)&&void 0!==t?t:new et,this.tonConnectSdkVersion=e.tonConnectSdkVersion,this.init().catch()}get version(){return De({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return $(this,void 0,void 0,(function*(){try{yield this.setRequestVersionHandler(),this.tonConnectUiVersion=yield this.requestTonConnectUiVersion()}catch(ar){}}))}setRequestVersionHandler(){return $(this,void 0,void 0,(function*(){yield this.eventDispatcher.addEventListener("ton-connect-request-version",(()=>$(this,void 0,void 0,(function*(){yield this.eventDispatcher.dispatchEvent("ton-connect-response-version",$e(this.tonConnectSdkVersion))}))))}))}requestTonConnectUiVersion(){return $(this,void 0,void 0,(function*(){return new Promise(((e,t)=>$(this,void 0,void 0,(function*(){try{yield this.eventDispatcher.addEventListener("ton-connect-ui-response-version",(t=>{e(t.detail.version)}),{once:!0}),yield this.eventDispatcher.dispatchEvent("ton-connect-ui-request-version",{type:"request-version"})}catch(ar){t(ar)}}))))}))}dispatchUserActionEvent(e){try{this.eventDispatcher.dispatchEvent(`${this.eventPrefix}${e.type}`,e).catch()}catch(ar){}}trackConnectionStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ue(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Fe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionRestoringStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Be(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionRestoringCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackConnectionRestoringError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=He(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDisconnection(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Je(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackTransactionSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ve(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackTransactionSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ge(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackTransactionSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDataSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDataSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ye(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}trackDataSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Xe(this.version,...t);this.dispatchUserActionEvent(r)}catch(ar){}}}class nt{constructor(e){if(this.walletsList=new Le,this._wallet=null,this.provider=null,this.statusChangeSubscriptions=[],this.statusChangeErrorSubscriptions=[],this.dappSettings={manifestUrl:(null===e||void 0===e?void 0:e.manifestUrl)||Ee(),storage:(null===e||void 0===e?void 0:e.storage)||new Te},this.walletsRequiredFeatures=null===e||void 0===e?void 0:e.walletsRequiredFeatures,this.walletsList=new Le({walletsListSource:null===e||void 0===e?void 0:e.walletsListSource,cacheTTLMs:null===e||void 0===e?void 0:e.walletsListCacheTTLMs}),this.tracker=new tt({eventDispatcher:null===e||void 0===e?void 0:e.eventDispatcher,tonConnectSdkVersion:"3.2.0"}),!this.dappSettings.manifestUrl)throw new W("Dapp tonconnect-manifest.json must be specified if window.location.origin is undefined. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest");this.bridgeConnectionStorage=new ve(this.dappSettings.storage),(null===e||void 0===e?void 0:e.disableAutoPauseConnection)||this.addWindowFocusAndBlurSubscriptions()}static getWallets(){return this.walletsList.getWallets()}get connected(){return null!==this._wallet}get account(){var e;return(null===(e=this._wallet)||void 0===e?void 0:e.account)||null}get wallet(){return this._wallet}set wallet(e){this._wallet=e,this.statusChangeSubscriptions.forEach((e=>e(this._wallet)))}getWallets(){return this.walletsList.getWallets()}onStatusChange(e,t){return this.statusChangeSubscriptions.push(e),t&&this.statusChangeErrorSubscriptions.push(t),()=>{this.statusChangeSubscriptions=this.statusChangeSubscriptions.filter((t=>t!==e)),t&&(this.statusChangeErrorSubscriptions=this.statusChangeErrorSubscriptions.filter((e=>e!==t)))}}connect(e,t){var n,r;const o={};if("object"===typeof t&&"tonProof"in t&&(o.request=t),"object"===typeof t&&("openingDeadlineMS"in t||"signal"in t||"request"in t)&&(o.request=null===t||void 0===t?void 0:t.request,o.openingDeadlineMS=null===t||void 0===t?void 0:t.openingDeadlineMS,o.signal=null===t||void 0===t?void 0:t.signal),this.connected)throw new z;const i=fe(null===o||void 0===o?void 0:o.signal);if(null===(n=this.abortController)||void 0===n||n.abort(),this.abortController=i,i.signal.aborted)throw new D("Connection was aborted");return null===(r=this.provider)||void 0===r||r.closeConnection(),this.provider=this.createProvider(e),i.signal.addEventListener("abort",(()=>{var e;null===(e=this.provider)||void 0===e||e.closeConnection(),this.provider=null})),this.tracker.trackConnectionStarted(),this.provider.connect(this.createConnectRequest(null===o||void 0===o?void 0:o.request),{openingDeadlineMS:null===o||void 0===o?void 0:o.openingDeadlineMS,signal:i.signal})}restoreConnection(e){var t,n;return $(this,void 0,void 0,(function*(){this.tracker.trackConnectionRestoringStarted();const r=fe(null===e||void 0===e?void 0:e.signal);if(null===(t=this.abortController)||void 0===t||t.abort(),this.abortController=r,r.signal.aborted)return void this.tracker.trackConnectionRestoringError("Connection restoring was aborted");const[o,i]=yield Promise.all([this.bridgeConnectionStorage.storedConnectionType(),this.walletsList.getEmbeddedWallet()]);if(r.signal.aborted)return void this.tracker.trackConnectionRestoringError("Connection restoring was aborted");let a=null;try{switch(o){case"http":a=yield be.fromStorage(this.dappSettings.storage);break;case"injected":a=yield _e.fromStorage(this.dappSettings.storage);break;default:if(!i)return;a=this.createProvider(i)}}catch(lt){return this.tracker.trackConnectionRestoringError("Provider is not restored"),yield this.bridgeConnectionStorage.removeConnection(),null===a||void 0===a||a.closeConnection(),void(a=null)}if(r.signal.aborted)return null===a||void 0===a||a.closeConnection(),void this.tracker.trackConnectionRestoringError("Connection restoring was aborted");if(!a)return ge("Provider is not restored"),void this.tracker.trackConnectionRestoringError("Provider is not restored");null===(n=this.provider)||void 0===n||n.closeConnection(),this.provider=a,a.listen(this.walletEventsListener.bind(this));const s=()=>{this.tracker.trackConnectionRestoringError("Connection restoring was aborted"),null===a||void 0===a||a.closeConnection(),a=null};r.signal.addEventListener("abort",s);const l=pe((t=>$(this,void 0,void 0,(function*(){yield null===a||void 0===a?void 0:a.restoreConnection({openingDeadlineMS:null===e||void 0===e?void 0:e.openingDeadlineMS,signal:t.signal}),r.signal.removeEventListener("abort",s),this.connected?this.tracker.trackConnectionRestoringCompleted(this.wallet):this.tracker.trackConnectionRestoringError("Connection restoring failed")}))),{attempts:Number.MAX_SAFE_INTEGER,delayMs:2e3,signal:null===e||void 0===e?void 0:e.signal}),c=new Promise((e=>setTimeout((()=>e()),12e3)));return Promise.race([l,c])}))}sendTransaction(e,t){return $(this,void 0,void 0,(function*(){const n={};"function"===typeof t?n.onRequestSent=t:(n.onRequestSent=null===t||void 0===t?void 0:t.onRequestSent,n.signal=null===t||void 0===t?void 0:t.signal);const r=fe(null===n||void 0===n?void 0:n.signal);if(r.signal.aborted)throw new D("Transaction sending was aborted");this.checkConnection();const o=e.messages.length,i=e.messages.some((e=>e.extraCurrency&&Object.keys(e.extraCurrency).length>0));Ne(this.wallet.device.features,{requiredMessagesNumber:o,requireExtraCurrencies:i}),this.tracker.trackTransactionSentForSignature(this.wallet,e);const{validUntil:a,messages:s}=e,l=j(e,["validUntil","messages"]),c=e.from||this.account.address,u=e.network||this.account.chain,d=yield this.provider.sendRequest(oe.convertToRpcRequest(Object.assign(Object.assign({},l),{from:c,network:u,valid_until:a,messages:s.map((e=>{var{extraCurrency:t}=e,n=j(e,["extraCurrency"]);return Object.assign(Object.assign({},n),{extra_currency:t})}))})),{onRequestSent:n.onRequestSent,signal:r.signal});if(oe.isError(d))return this.tracker.trackTransactionSigningFailed(this.wallet,e,d.error.message,d.error.code),oe.parseAndThrowError(d);const f=oe.convertFromRpcResponse(d);return this.tracker.trackTransactionSigned(this.wallet,e,f),f}))}signData(e,t){return $(this,void 0,void 0,(function*(){const n=fe(null===t||void 0===t?void 0:t.signal);if(n.signal.aborted)throw new D("data sending was aborted");this.checkConnection(),function(e,t){const n=e.find((e=>e&&"object"===typeof e&&"SignData"===e.name));if(!n)throw new H("Wallet doesn't support SignData feature.",{cause:{requiredFeature:{featureName:"SignData",value:{types:t.requiredTypes}}}});const r=t.requiredTypes.filter((e=>!n.types.includes(e)));if(r.length)throw new H(`Wallet doesn't support required SignData types: ${r.join(", ")}.`,{cause:{requiredFeature:{featureName:"SignData",value:{types:r}}}})}(this.wallet.device.features,{requiredTypes:[e.type]}),this.tracker.trackDataSentForSignature(this.wallet,e);const r=e.from||this.account.address,o=e.network||this.account.chain,i=yield this.provider.sendRequest(ae.convertToRpcRequest(Object.assign(Object.assign({},e),{from:r,network:o})),{onRequestSent:null===t||void 0===t?void 0:t.onRequestSent,signal:n.signal});if(ae.isError(i))return this.tracker.trackDataSigningFailed(this.wallet,e,i.error.message,i.error.code),ae.parseAndThrowError(i);const a=ae.convertFromRpcResponse(i);return this.tracker.trackDataSigned(this.wallet,e,a),a}))}disconnect(e){var t;return $(this,void 0,void 0,(function*(){if(!this.connected)throw new B;const n=fe(null===e||void 0===e?void 0:e.signal),r=this.abortController;if(this.abortController=n,n.signal.aborted)throw new D("Disconnect was aborted");this.onWalletDisconnected("dapp"),yield null===(t=this.provider)||void 0===t?void 0:t.disconnect({signal:n.signal}),null===r||void 0===r||r.abort()}))}pauseConnection(){var e;"http"===(null===(e=this.provider)||void 0===e?void 0:e.type)&&this.provider.pause()}unPauseConnection(){var e;return"http"!==(null===(e=this.provider)||void 0===e?void 0:e.type)?Promise.resolve():this.provider.unPause()}addWindowFocusAndBlurSubscriptions(){const e=Se();if(e)try{e.addEventListener("visibilitychange",(()=>{e.hidden?this.pauseConnection():this.unPauseConnection().catch()}))}catch(ar){ge("Cannot subscribe to the document.visibilitychange: ",ar)}}createProvider(e){let t;return t=!Array.isArray(e)&&"jsBridgeKey"in e?new _e(this.dappSettings.storage,e.jsBridgeKey):new be(this.dappSettings.storage,e),t.listen(this.walletEventsListener.bind(this)),t}walletEventsListener(e){switch(e.event){case"connect":this.onWalletConnected(e.payload);break;case"connect_error":this.tracker.trackConnectionError(e.payload.message,e.payload.code);const t=te.parseError(e.payload);this.onWalletConnectError(t);break;case"disconnect":this.onWalletDisconnected("wallet")}}onWalletConnected(e){var t;const n=e.items.find((e=>"ton_addr"===e.name)),r=e.items.find((e=>"ton_proof"===e.name));if(!n)throw new D("ton_addr connection item was not found");if(!Ie(e.device.features,this.walletsRequiredFeatures))return null===(t=this.provider)||void 0===t||t.disconnect(),void this.onWalletConnectError(new K("Wallet does not support required features",{cause:{connectEvent:e}}));const o={device:e.device,provider:this.provider.type,account:{address:n.address,chain:n.network,walletStateInit:n.walletStateInit,publicKey:n.publicKey}};if(r){let e;try{if("proof"in r)e={name:"ton_proof",proof:{timestamp:r.proof.timestamp,domain:{lengthBytes:r.proof.domain.lengthBytes,value:r.proof.domain.value},payload:r.proof.payload,signature:r.proof.signature}};else{if(!("error"in r))throw new D("Invalid data format");e={name:"ton_proof",error:{code:r.error.code,message:r.error.message}}}}catch(ar){e={name:"ton_proof",error:{code:E.UNKNOWN_ERROR,message:"Invalid data format"}}}o.connectItems={tonProof:e}}this.wallet=o,this.tracker.trackConnectionCompleted(o)}onWalletConnectError(e){if(this.statusChangeErrorSubscriptions.forEach((t=>t(e))),he(e),e instanceof F||e instanceof U)throw ge(e),e}onWalletDisconnected(e){this.tracker.trackDisconnection(this.wallet,e),this.wallet=null}checkConnection(){if(!this.connected)throw new B}createConnectRequest(e){const t=[{name:"ton_addr"}];return(null===e||void 0===e?void 0:e.tonProof)&&t.push({name:"ton_proof",payload:e.tonProof}),{manifestUrl:this.dappSettings.manifestUrl,items:t}}}nt.walletsList=new Le,nt.isWalletInjected=e=>_e.isWalletInjected(e),nt.isInsideWalletBrowser=e=>_e.isInsideWalletBrowser(e);function rt(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{wc:n,hex:r}=function(e){if(!e.includes(":"))throw new Y(`Wrong address ${e}. Address must include ":".`);const t=e.split(":");if(2!==t.length)throw new Y(`Wrong address ${e}. Address must include ":" only once.`);const n=parseInt(t[0]);if(0!==n&&-1!==n)throw new Y(`Wrong address ${e}. WC must be eq 0 or -1, but ${n} received.`);const r=t[1];if(64!==(null===r||void 0===r?void 0:r.length))throw new Y(`Wrong address ${e}. Hex part must be 64bytes length, but ${null===r||void 0===r?void 0:r.length} received.`);return{wc:n,hex:it(r)}}(e);let o=81;t&&(o|=128);const i=new Int8Array(34);i[0]=o,i[1]=n,i.set(r,2);const a=new Uint8Array(36);return a.set(i),a.set(function(e){const t=4129;let n=0;const r=new Uint8Array(e.length+2);r.set(e);for(let o of r){let e=128;for(;e>0;)n<<=1,o&e&&(n+=1),e>>=1,n>65535&&(n&=65535,n^=t)}return new Uint8Array([Math.floor(n/256),n%256])}(i),34),M.encode(a).replace(/\+/g,"-").replace(/\//g,"_")}const ot={};for(let n=0;n<=255;n++){let e=n.toString(16);e.length<2&&(e="0"+e),ot[e]=n}function it(e){const t=(e=e.toLowerCase()).length;if(t%2!==0)throw new X("Hex string must have length a multiple of 2: "+e);const n=t/2,r=new Uint8Array(n);for(let o=0;o<n;o++){const t=2*o,n=e.substring(t,t+2);if(!ot.hasOwnProperty(n))throw new X("Invalid hex character: "+n);r[o]=ot[n]}return r}var at,st,lt,ct,ut,dt,ft,pt,ht=n(7946),gt=n(2414),mt=n(8738),yt=Object.defineProperty,vt=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,kt=(e,t,n)=>t in e?yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,St=(e,t)=>{for(var n in t||(t={}))xt.call(t,n)&&kt(e,n,t[n]);if(wt)for(var n of wt(t))Ct.call(t,n)&&kt(e,n,t[n]);return e},Et=(e,t)=>vt(e,bt(t)),At=(e,t,n)=>(kt(e,"symbol"!==typeof t?t+"":t,n),n),_t=(e,t,n)=>new Promise(((r,o)=>{var i=e=>{try{s(n.next(e))}catch(t){o(t)}},a=e=>{try{s(n.throw(e))}catch(t){o(t)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}));const Tt={};const Rt=Symbol("solid-proxy"),Ot=Symbol("solid-track"),Pt={equals:(e,t)=>e===t};let Mt=dn;const Lt=1,Nt=2,It={owned:null,cleanups:null,context:null,owner:null},jt={};var $t=null;let Dt=null,Wt=null,Ut=null,Ft=null,zt=0;function Bt(e,t){const n=Wt,r=$t,o=0===e.length,i=o?It:{owned:null,cleanups:null,context:null,owner:void 0===t?r:t},a=o?e:()=>e((()=>Yt((()=>gn(i)))));$t=i,Wt=null;try{return un(a,!0)}finally{Wt=n,$t=r}}function qt(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},Pt,t):Pt).equals||void 0};return[on.bind(n),e=>("function"===typeof e&&(e=e(n.value)),an(n,e))]}function Ht(e,t,n){sn(ln(e,t,!0,Lt))}function Kt(e,t,n){sn(ln(e,t,!1,Lt))}function Vt(e,t,n){Mt=fn;const r=ln(e,t,!1,Lt);r.user=!0,Ft?Ft.push(r):sn(r)}function Gt(e,t,n){n=n?Object.assign({},Pt,n):Pt;const r=ln(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,sn(r),on.bind(r)}function Qt(e,t,n){let r,o,i;2===arguments.length&&"object"===typeof t||1===arguments.length?(r=!0,o=e,i=t||{}):(r=e,o=t,i=n||{});let a=null,s=jt,l=null,c=!1,u="initialValue"in i,d="function"===typeof r&&Gt(r);const f=new Set,[p,h]=(i.storage||qt)(i.initialValue),[g,m]=qt(void 0),[y,v]=qt(void 0,{equals:!1}),[b,w]=qt(u?"ready":"unresolved");if(Tt.context){let e;l=`${Tt.context.id}${Tt.context.count++}`,"initial"===i.ssrLoadFrom?s=i.initialValue:Tt.load&&(e=Tt.load(l))&&(s=e[0])}function x(e,t,n,r){return a===e&&(a=null,u=!0,e!==s&&t!==s||!i.onHydrated||queueMicrotask((()=>i.onHydrated(r,{value:t}))),s=jt,function(e,t){un((()=>{void 0===t&&h((()=>e)),w(void 0!==t?"errored":"ready"),m(t);for(const e of f.keys())e.decrement();f.clear()}),!1)}(t,n)),t}function C(){const e=undefined,t=p(),n=g();if(void 0!==n&&!a)throw n;return Wt&&!Wt.user&&e&&Ht((()=>{y(),a&&(e.resolved||f.has(e)||(e.increment(),f.add(e)))})),t}function k(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!1!==e&&c)return;c=!1;const t=d?d():r;if(null==t||!1===t)return void x(a,Yt(p));const n=s!==jt?s:Yt((()=>o(t,{value:p(),refetching:e})));return"object"===typeof n&&n&&"then"in n?(a=n,c=!0,queueMicrotask((()=>c=!1)),un((()=>{w(u?"refreshing":"pending"),v()}),!1),n.then((e=>x(n,e,void 0,t)),(e=>x(n,void 0,mn(e),t)))):(x(a,n,void 0,t),n)}return Object.defineProperties(C,{state:{get:()=>b()},error:{get:()=>g()},loading:{get(){const e=b();return"pending"===e||"refreshing"===e}},latest:{get(){if(!u)return C();const e=g();if(e&&!a)throw e;return p()}}}),d?Ht((()=>k(!1))):k(!1),[C,{refetch:k,mutate:h}]}function Zt(e){return un(e,!1)}function Yt(e){if(null===Wt)return e();const t=Wt;Wt=null;try{return e()}finally{Wt=t}}function Xt(e){Vt((()=>Yt(e)))}function Jt(e){return null===$t||(null===$t.cleanups?$t.cleanups=[e]:$t.cleanups.push(e)),e}function en(){return Wt}function tn(e,t){const n=Symbol("context");return{id:n,Provider:wn(n),defaultValue:e}}function nn(e){let t;return void 0!==(t=vn($t,e.id))?t:e.defaultValue}function rn(e){const t=Gt(e),n=Gt((()=>bn(t())));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}function on(){const e=Dt;if(this.sources&&(this.state||e))if(this.state===Lt||e)sn(this);else{const e=Ut;Ut=null,un((()=>pn(this)),!1),Ut=e}if(Wt){const e=this.observers?this.observers.length:0;Wt.sources?(Wt.sources.push(this),Wt.sourceSlots.push(e)):(Wt.sources=[this],Wt.sourceSlots=[e]),this.observers?(this.observers.push(Wt),this.observerSlots.push(Wt.sources.length-1)):(this.observers=[Wt],this.observerSlots=[Wt.sources.length-1])}return this.value}function an(e,t,n){let r=e.value;return e.comparator&&e.comparator(r,t)||(e.value=t,e.observers&&e.observers.length&&un((()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=Dt&&Dt.running;r&&Dt.disposed.has(n),(r&&!n.tState||!r&&!n.state)&&(n.pure?Ut.push(n):Ft.push(n),n.observers&&hn(n)),r||(n.state=Lt)}if(Ut.length>1e6)throw Ut=[],new Error}),!1)),t}function sn(e){if(!e.fn)return;gn(e);const t=$t,n=Wt,r=zt;Wt=$t=e,function(e,t,n){let r;try{r=e.fn(t)}catch(o){e.pure&&(e.state=Lt,e.owned&&e.owned.forEach(gn),e.owned=null),yn(o)}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?an(e,r):e.value=r,e.updatedAt=n)}(e,e.value,r),Wt=n,$t=t}function ln(e,t,n){const r={fn:e,state:arguments.length>3&&void 0!==arguments[3]?arguments[3]:Lt,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:$t,context:null,pure:n};return null===$t||$t!==It&&($t.owned?$t.owned.push(r):$t.owned=[r]),r}function cn(e){const t=Dt;if(0===e.state||t)return;if(e.state===Nt||t)return pn(e);if(e.suspense&&Yt(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<zt);)(e.state||t)&&n.push(e);for(let r=n.length-1;r>=0;r--)if((e=n[r]).state===Lt||t)sn(e);else if(e.state===Nt||t){const t=Ut;Ut=null,un((()=>pn(e,n[0])),!1),Ut=t}}function un(e,t){if(Ut)return e();let n=!1;t||(Ut=[]),Ft?n=!0:Ft=[],zt++;try{const t=e();return function(e){Ut&&(dn(Ut),Ut=null);if(e)return;const t=Ft;Ft=null,t.length&&un((()=>Mt(t)),!1)}(n),t}catch(r){n||(Ft=null),Ut=null,yn(r)}}function dn(e){for(let t=0;t<e.length;t++)cn(e[t])}function fn(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:cn(r)}var r;for(Tt.context&&(Tt.context=r),t=0;t<n;t++)cn(e[t])}function pn(e,t){const n=Dt;e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];o.sources&&(o.state===Lt||n?o!==t&&cn(o):(o.state===Nt||n)&&pn(o,t))}}function hn(e){const t=Dt;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];r.state&&!t||(r.state=Nt,r.pure?Ut.push(r):Ft.push(r),r.observers&&hn(r))}}function gn(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.owned){for(t=0;t<e.owned.length;t++)gn(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}e.state=0,e.context=null}function mn(e){return e instanceof Error||"string"===typeof e?e:new Error("Unknown error")}function yn(e){throw e=mn(e)}function vn(e,t){return e?e.context&&void 0!==e.context[t]?e.context[t]:vn(e.owner,t):void 0}function bn(e){if("function"===typeof e&&!e.length)return bn(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=bn(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function wn(e,t){return function(t){let n;return Kt((()=>n=Yt((()=>($t.context={[e]:t.value},rn((()=>t.children)))))),void 0),n}}const xn=Symbol("fallback");function Cn(e){for(let t=0;t<e.length;t++)e[t]()}function kn(e,t){return Yt((()=>e(t||{})))}function Sn(){return!0}const En={get:(e,t,n)=>t===Rt?n:e.get(t),has:(e,t)=>t===Rt||e.has(t),set:Sn,deleteProperty:Sn,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:Sn,deleteProperty:Sn}),ownKeys:e=>e.keys()};function An(e){return(e="function"===typeof e?e():e)?e:{}}function _n(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=!1;for(let i=0;i<t.length;i++){const e=t[i];r=r||!!e&&Rt in e,t[i]="function"===typeof e?(r=!0,Gt(e)):e}if(r)return new Proxy({get(e){for(let n=t.length-1;n>=0;n--){const r=An(t[n])[e];if(void 0!==r)return r}},has(e){for(let n=t.length-1;n>=0;n--)if(e in An(t[n]))return!0;return!1},keys(){const e=[];for(let n=0;n<t.length;n++)e.push(...Object.keys(An(t[n])));return[...new Set(e)]}},En);const o={};for(let i=t.length-1;i>=0;i--)if(t[i]){const e=Object.getOwnPropertyDescriptors(t[i]);for(const n in e)n in o||Object.defineProperty(o,n,{enumerable:!0,get(){for(let e=t.length-1;e>=0;e--){const r=(t[e]||{})[n];if(void 0!==r)return r}}})}return o}function Tn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const o=new Set(n.flat());if(Rt in e){const t=n.map((t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter((t=>t in e))},En)));return t.push(new Proxy({get:t=>o.has(t)?void 0:e[t],has:t=>!o.has(t)&&t in e,keys:()=>Object.keys(e).filter((e=>!o.has(e)))},En)),t}const i=Object.getOwnPropertyDescriptors(e);return n.push(Object.keys(i).filter((e=>!o.has(e)))),n.map((t=>{const n={};for(let r=0;r<t.length;r++){const o=t[r];o in e&&Object.defineProperty(n,o,i[o]?i[o]:{get:()=>e[o],set:()=>!0,enumerable:!0})}return n}))}function Rn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return Gt(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[],o=[],i=[],a=0,s=t.length>1?[]:null;return Jt((()=>Cn(i))),()=>{let l,c,u=e()||[];return u[Ot],Yt((()=>{let e,t,f,p,h,g,m,y,v,b=u.length;if(0===b)0!==a&&(Cn(i),i=[],r=[],o=[],a=0,s&&(s=[])),n.fallback&&(r=[xn],o[0]=Bt((e=>(i[0]=e,n.fallback()))),a=1);else if(0===a){for(o=new Array(b),c=0;c<b;c++)r[c]=u[c],o[c]=Bt(d);a=b}else{for(f=new Array(b),p=new Array(b),s&&(h=new Array(b)),g=0,m=Math.min(a,b);g<m&&r[g]===u[g];g++);for(m=a-1,y=b-1;m>=g&&y>=g&&r[m]===u[y];m--,y--)f[y]=o[m],p[y]=i[m],s&&(h[y]=s[m]);for(e=new Map,t=new Array(y+1),c=y;c>=g;c--)v=u[c],l=e.get(v),t[c]=void 0===l?-1:l,e.set(v,c);for(l=g;l<=m;l++)v=r[l],c=e.get(v),void 0!==c&&-1!==c?(f[c]=o[l],p[c]=i[l],s&&(h[c]=s[l]),c=t[c],e.set(v,c)):i[l]();for(c=g;c<b;c++)c in f?(o[c]=f[c],i[c]=p[c],s&&(s[c]=h[c],s[c](c))):o[c]=Bt(d);o=o.slice(0,a=b),r=u.slice(0)}return o}));function d(e){if(i[c]=e,s){const[e,n]=qt(c);return s[c]=n,t(u[c],e)}return t(u[c])}}}((()=>e.each),e.children,t||void 0))}function On(e){let t=!1;const n=e.keyed,r=Gt((()=>e.when),void 0,{equals:(e,n)=>t?e===n:!e===!n});return Gt((()=>{const o=r();if(o){const r=e.children,i="function"===typeof r&&r.length>0;return t=n||i,i?Yt((()=>r(o))):r}return e.fallback}),void 0,void 0)}function Pn(e){let t=!1,n=!1;const r=rn((()=>e.children)),o=Gt((()=>{let e=r();Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const r=e[t].when;if(r)return n=!!e[t].keyed,[t,r,e[t]]}return[-1]}),void 0,{equals:(e,n)=>e[0]===n[0]&&(t?e[1]===n[1]:!e[1]===!n[1])&&e[2]===n[2]});return Gt((()=>{const[r,i,a]=o();if(r<0)return e.fallback;const s=a.children,l="function"===typeof s&&s.length>0;return t=n||l,l?Yt((()=>s(i))):s}),void 0,void 0)}function Mn(e){return e}const Ln=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Nn=new Set(["innerHTML","textContent","innerText","children"]),In=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),jn=Object.assign(Object.create(null),{class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"}),$n=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Dn=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Wn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};const Un="_$DX_DELEGATE";function Fn(e,t,n){if("undefined"===typeof window)return null;const r=document.createElement("template");r.innerHTML=e;let o=r.content.firstChild;return n&&(o=o.firstChild),o}function zn(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function Bn(e,t){null==t?e.removeAttribute("class"):e.className=t}function qn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};return(arguments.length>3?arguments[3]:void 0)||Kt((()=>r.children=Yn(e,t.children,r.children))),Kt((()=>t.ref&&t.ref(e))),Kt((()=>function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];t||(t={});for(const a in o)if(!(a in t)){if("children"===a)continue;o[a]=Qn(e,a,null,o[a],n,i)}for(const a in t){if("children"===a){r||Yn(e,t.children);continue}const s=t[a];o[a]=Qn(e,a,s,o[a],n,i)}}(e,t,n,!0,r,!0))),r}function Hn(e,t,n){return Yt((()=>e(t,n)))}function Kn(e,t,n,r){if(void 0===n||r||(r=[]),"function"!==typeof t)return Yn(e,t,r,n);Kt((r=>Yn(e,t(),r,n)),r)}function Vn(e){let t,n;return Tt.context&&(t=Tt.registry.get(n=function(){const e=Tt.context;return`${e.id}${e.count++}`}()))?(Tt.completed&&Tt.completed.add(t),Tt.registry.delete(n),t):e.cloneNode(!0)}function Gn(e,t,n){const r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n)}function Qn(e,t,n,r,o,i){let a,s,l;if("style"===t)return function(e,t,n){if(!t)return n?zn(e,"style"):t;const r=e.style;if("string"===typeof t)return r.cssText=t;let o,i;for(i in"string"===typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[i]&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}(e,n,r);if("classList"===t)return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Object.keys(t||{}),o=Object.keys(n);let i,a;for(i=0,a=o.length;i<a;i++){const r=o[i];r&&"undefined"!==r&&!t[r]&&(Gn(e,r,!1),delete n[r])}for(i=0,a=r.length;i<a;i++){const o=r[i],a=!!t[o];o&&"undefined"!==o&&n[o]!==a&&a&&(Gn(e,o,!0),n[o]=a)}return n}(e,n,r);if(n===r)return r;if("ref"===t)i||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r),n&&e.addEventListener(o,n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=$n.has(o);if(!i&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(i||n)&&(function(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n)}(e,o,n,i),i&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.document;const n=t[Un]||(t[Un]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Zn))}}([o]))}else if((l=Nn.has(t))||!o&&(jn[t]||(s=Ln.has(t)))||(a=e.nodeName.includes("-")))"class"===t||"className"===t?Bn(e,n):!a||s||l?e[jn[t]||t]=n:e[(c=t,c.toLowerCase().replace(/-([a-z])/g,((e,t)=>t.toUpperCase())))]=n;else{const r=o&&t.indexOf(":")>-1&&Wn[t.split(":")[0]];r?function(e,t,n,r){null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r)}(e,r,t,n):zn(e,In[t]||t,n)}var c;return n}function Zn(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>n||document}),Tt.registry&&!Tt.done&&(Tt.done=!0,document.querySelectorAll("[id^=pl-]").forEach((t=>{for(;t&&8!==t.nodeType&&t.nodeValue!=="pl-"+e;){let e=t.nextSibling;t.remove(),t=e}t&&t.remove()})));n;){const r=n[t];if(r&&!n.disabled){const o=n[`${t}Data`];if(void 0!==o?r.call(n,o,e):r.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function Yn(e,t,n,r,o){for(Tt.context&&!n&&(n=[...e.childNodes]);"function"===typeof n;)n=n();if(t===n)return n;const i=typeof t,a=void 0!==r;if(e=a&&n[0]&&n[0].parentNode||e,"string"===i||"number"===i){if(Tt.context)return n;if("number"===i&&(t=t.toString()),a){let o=n[0];o&&3===o.nodeType?o.data=t:o=document.createTextNode(t),n=er(e,n,r,o)}else n=""!==n&&"string"===typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===i){if(Tt.context)return n;n=er(e,n,r)}else{if("function"===i)return Kt((()=>{let o=t();for(;"function"===typeof o;)o=o();n=Yn(e,o,n,r)})),()=>n;if(Array.isArray(t)){const i=[],s=n&&Array.isArray(n);if(Xn(i,t,n,o))return Kt((()=>n=Yn(e,i,n,r,!0))),()=>n;if(Tt.context){if(!i.length)return n;for(let e=0;e<i.length;e++)if(i[e].parentNode)return n=i}if(0===i.length){if(n=er(e,n,r),a)return n}else s?0===n.length?Jn(e,i,r):function(e,t,n){let r=n.length,o=t.length,i=r,a=0,s=0,l=t[o-1].nextSibling,c=null;for(;a<o||s<i;)if(t[a]!==n[s]){for(;t[o-1]===n[i-1];)o--,i--;if(o===a){const t=i<r?s?n[s-1].nextSibling:n[i-s]:l;for(;s<i;)e.insertBefore(n[s++],t)}else if(i===s)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===n[i-1]&&n[s]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[s++],t[a++].nextSibling),e.insertBefore(n[--i],r),t[o]=n[i]}else{if(!c){c=new Map;let e=s;for(;e<i;)c.set(n[e],e++)}const r=c.get(t[a]);if(null!=r)if(s<r&&r<i){let l,u=a,d=1;for(;++u<o&&u<i&&null!=(l=c.get(t[u]))&&l===r+d;)d++;if(d>r-s){const o=t[a];for(;s<r;)e.insertBefore(n[s++],o)}else e.replaceChild(n[s++],t[a++])}else a++;else t[a++].remove()}}else a++,s++}(e,n,i):(n&&er(e),Jn(e,i));n=i}else if(t instanceof Node){if(Tt.context&&t.parentNode)return n=a?[t]:t;if(Array.isArray(n)){if(a)return n=er(e,n,r,t);er(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function Xn(e,t,n,r){let o=!1;for(let i=0,a=t.length;i<a;i++){let a=t[i],s=n&&n[i];if(a instanceof Node)e.push(a);else if(null==a||!0===a||!1===a);else if(Array.isArray(a))o=Xn(e,a,s)||o;else if("function"===typeof a)if(r){for(;"function"===typeof a;)a=a();o=Xn(e,Array.isArray(a)?a:[a],Array.isArray(s)?s:[s])||o}else e.push(a),o=!0;else{const t=String(a);s&&3===s.nodeType&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}return o}function Jn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function er(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let i=t.length-1;i>=0;i--){const a=t[i];if(o!==a){const t=a.parentNode===e;r||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}const tr="http://www.w3.org/2000/svg";function nr(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?document.createElementNS(tr,e):document.createElement(e)}function rr(e){const{useShadow:t}=e,n=document.createTextNode(""),r=e.mount||document.body;function o(){if(Tt.context){const[t,n]=qt(!1);return queueMicrotask((()=>n(!0))),()=>t()&&e.children}return()=>e.children}if(r instanceof HTMLHeadElement){const[e,t]=qt(!1),n=()=>t(!0);Bt((t=>Kn(r,(()=>e()?t():o()()),null))),Jt((()=>{Tt.context?queueMicrotask(n):n()}))}else{const i=nr(e.isSVG?"g":"div",e.isSVG),a=t&&i.attachShadow?i.attachShadow({mode:"open"}):i;Object.defineProperty(i,"_$host",{get:()=>n.parentNode,configurable:!0}),Kn(a,o()),r.appendChild(i),e.ref&&e.ref(i),Jt((()=>r.removeChild(i)))}return n}function or(e){const[t,n]=Tn(e,["component"]),r=Gt((()=>t.component));return Gt((()=>{const e=r();switch(typeof e){case"function":return Yt((()=>e(n)));case"string":const t=Dn.has(e),r=Tt.context?Vn():nr(e,t);return qn(r,n,t),r}}))}var ir=(e=>(e.DARK="DARK",e.LIGHT="LIGHT",e))(ir||{});let ar={data:""},sr=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||ar,lr=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,cr=/\/\*[^]*?\*\/| +/g,ur=/\n+/g,dr=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?dr(a,i):i+"{"+dr(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=dr(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=dr.p?dr.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},fr={},pr=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+pr(e[n]);return t}return e},hr=(e,t,n,r,o)=>{let i=pr(e),a=fr[i]||(fr[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!fr[a]){let t=i!==e?e:(e=>{let t,n,r=[{}];for(;t=lr.exec(e.replace(cr,""));)t[4]?r.shift():t[3]?(n=t[3].replace(ur," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(ur," ").trim();return r[0]})(e);fr[a]=dr(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}let s=n&&fr.g?fr.g:null;return n&&(fr.g=fr[a]),l=fr[a],c=t,u=r,(d=s)?c.data=c.data.replace(d,l):-1===c.data.indexOf(l)&&(c.data=u?l+c.data:c.data+l),a;var l,c,u,d},gr=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":dr(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function mr(e){let t=this||{},n=e.call?e(t.p):e;return hr(n.unshift?n.raw?gr(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,sr(t.target),t.g,t.o,t.k)}mr.bind({g:1});let yr=mr.bind({k:1});const vr=tn();function br(e){return kn(vr.Provider,{value:e.theme,get children(){return e.children}})}function wr(){return nn(vr)}function xr(e){let t=this||{};return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];const i=n=>{const o=_n(n,{theme:nn(vr)}),i=_n(o,{get class(){const e=o.class,n="class"in o&&/^go[0-9]+/.test(e);return[e,mr.apply({target:t.target,o:n,p:o,g:t.g},r)].filter(Boolean).join(" ")}}),[a,s]=Tn(i,["as","theme"]),l=s,c=a.as||e;let u;return"function"===typeof c?u=c(l):1==t.g?(u=document.createElement(c),qn(u,l)):u=or(_n({component:c},l)),u};return i.class=e=>Yt((()=>mr.apply({target:t.target,p:e,g:t.g},r))),i}}const Cr=new Proxy(xr,{get:(e,t)=>e(t)});function kr(){const e=xr.call({g:1},"div").apply(null,arguments);return function(t){return e(t),null}}const Sr="tc-root",Er="tc-disable-scroll",Ar="tc-using-mouse",_r=()=>{document.body.addEventListener("mousedown",(()=>document.body.classList.add(Ar))),document.body.addEventListener("keydown",(e=>{"Tab"===e.key&&document.body.classList.remove(Ar)}));return kn(kr`
|
|
3
3
|
${Sr} * {
|
|
4
4
|
margin: 0;
|
|
5
5
|
padding: 0;
|
|
@@ -38,9 +38,9 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
38
38
|
body.${Ar} ${Sr} *:focus {
|
|
39
39
|
outline: none;
|
|
40
40
|
}
|
|
41
|
-
`,{})};function Tr(e,t){return"#"===e[0]&&(e=function(e){"#"===e[0]&&(e=e.slice(1));const t=parseInt(e,16);return[t>>16&255,t>>8&255,255&t].join(",")}(e)),`rgba(${e}, ${t})`}function Rr(e){return e.toString()+"px"}const Or=class{constructor(){At(this,"storage",{})}static getInstance(){return Or.instance||(Or.instance=new Or),Or.instance}get length(){return Object.keys(this.storage).length}clear(){this.storage={}}getItem(e){var t;return null!=(t=this.storage[e])?t:null}key(e){var t;const n=Object.keys(this.storage);return e<0||e>=n.length?null:null!=(t=n[e])?t:null}removeItem(e){delete this.storage[e]}setItem(e,t){this.storage[e]=t}};let Pr=Or;At(Pr,"instance");class Mr extends W{constructor(){super(...arguments),Object.setPrototypeOf(this,Mr.prototype)}}function Lr(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.debug("[TON_CONNECT_UI]",...t)}catch(r){}}function Nr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_self";Lr("openLink",e,t),window.open(e,t,"noopener noreferrer")}function Ir(e){Nr(e,"_blank")}function jr(e,t){const n=setTimeout((()=>{Br("safari")||zr("android")&&Br("firefox")||t()}),200);window.addEventListener("blur",(()=>clearTimeout(n)),{once:!0}),Nr(e,"_self")}function $r(e){return _t(this,null,(function*(){yield new Promise((e=>requestAnimationFrame(e))),e()}))}function Wr(e){"complete"!==document.readyState?window.addEventListener("load",(()=>$r((()=>Wr(e)))),{once:!0}):e.forEach((e=>{(new window.Image).src=e}))}function Dr(){if("undefined"!==typeof window)return window}function Ur(){if(function(){try{return"undefined"!==typeof localStorage}catch(e){return!1}}())return localStorage;if("undefined"!==typeof process&&null!=process.versions&&null!=process.versions.node)throw new Mr("`localStorage` is unavailable, but it is required for TonConnect. For more details, see https://github.com/ton-connect/sdk/tree/main/packages/sdk#init-connector");return Pr.getInstance()}function Fr(){var e,t,n;const r=(new ht).getResult(),o=null==(e=r.os.name)?void 0:e.toLowerCase();let i;switch(!0){case"ipad"===(null==(t=r.device.model)?void 0:t.toLowerCase()):i="ipad";break;case"ios"===o:i="ios";break;case"android"===o:i="android";break;case"mac os"===o:i="macos";break;case"linux"===o:i="linux";break;case null==o?void 0:o.includes("windows"):i="windows"}const a=null==(n=r.browser.name)?void 0:n.toLowerCase();let s;switch(!0){case"chrome"===a:s="chrome";break;case"firefox"===a:s="firefox";break;case null==a?void 0:a.includes("safari"):s="safari";break;case null==a?void 0:a.includes("opera"):s="opera"}return{os:i,browser:s}}function zr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.includes(Fr().os)}function Br(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.includes(Fr().browser)}function qr(e,t){return t+new URL(e).search}class Hr{constructor(){At(this,"localStorage"),At(this,"storageKey","ton-connect-ui_wallet-info"),this.localStorage=Ur()}setWalletInfo(e){this.localStorage.setItem(this.storageKey,JSON.stringify(e))}getWalletInfo(){const e=this.localStorage.getItem(this.storageKey);return e?JSON.parse(e):null}removeWalletInfo(){this.localStorage.removeItem(this.storageKey)}}class Kr{constructor(){At(this,"localStorage"),At(this,"storageKey","ton-connect-ui_preferred-wallet"),this.localStorage=Ur()}setPreferredWalletAppName(e){this.localStorage.setItem(this.storageKey,e)}getPreferredWalletAppName(){return this.localStorage.getItem(this.storageKey)||void 0}}class Vr{constructor(){At(this,"localStorage"),At(this,"storageKey","ton-connect-ui_last-selected-wallet-info"),this.localStorage=Ur()}setLastSelectedWalletInfo(e){this.localStorage.setItem(this.storageKey,JSON.stringify(e))}getLastSelectedWalletInfo(){const e=this.localStorage.getItem(this.storageKey);return e?JSON.parse(e):null}removeLastSelectedWalletInfo(){this.localStorage.removeItem(this.storageKey)}}const[Gr,Qr]=qt({status:"closed",closeReason:null}),Zr=Gt((()=>"opened"===Gr().status)),[Yr,Xr]=qt({status:"closed",closeReason:null}),Jr=Gt((()=>"opened"===Yr().status)),eo=Gt((()=>{const e=Yr();return"opened"===e.status?e.walletInfo:null}));let to="undefined"!==typeof window?new Vr:void 0;const[no,ro]=qt((null==to?void 0:to.getLastSelectedWalletInfo())||null),oo=e=>{to||(to=new Vr),e?to.setLastSelectedWalletInfo(e):to.removeLastSelectedWalletInfo(),ro(e)},[io,ao]=qt(null),so={common:{close:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",openWallet:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a",copyLink:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",linkCopied:"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430",copied:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e",yourWallet:"\u0412\u0430\u0448 \u043a\u043e\u0448\u0435\u043b\u0451\u043a",retry:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",get:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c",mobile:"\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439",browserExtension:"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435",desktop:"\u0414\u0435\u0441\u043a\u0442\u043e\u043f"},button:{connectWallet:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a",dropdown:{copy:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441",copied:"\u0410\u0434\u0440\u0435\u0441 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d!",disconnect:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a"}},notifications:{confirm:{header:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 {{ name }}, \u0447\u0442\u043e\u0431\u044b\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044e."},transactionSent:{header:"\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430",text:"\u0412\u0430\u0448\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\xa0\u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u0447\u0435\u0440\u0435\u0437\xa0\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434."},transactionCanceled:{header:"\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430",text:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0447\u0451\u0442\u0430 \u043d\u0435\xa0\u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f."},dataSigned:{header:"\u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b"},signDataCanceled:{header:"\u041f\u043e\u0434\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430"}},walletItem:{walletOn:"Wallet \u0432",recent:"\u041d\u0435\u0434\u0430\u0432\u043d\u0438\u0439",installed:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d",popular:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d"},walletModal:{loading:"\u041a\u043e\u0448\u0435\u043b\u044c\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f",wallets:"\u041a\u043e\u0448\u0435\u043b\u044c\u043a\u0438",mobileUniversalModal:{connectYourWallet:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 TON\xa0\u043a\u043e\u0448\u0435\u043b\u0451\u043a",openWalletOnTelegramOrSelect:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 Wallet \u0432\xa0Telegram \u0438\u043b\u0438\xa0\u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435",openWalletOnTelegram:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c Wallet \u0432 Telegram",chooseOtherApplication:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435",openLink:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c",scan:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\u0430\u0448\u0435\u0433\u043e\xa0\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"},desktopUniversalModal:{connectYourWallet:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 TON \u043a\u043e\u0448\u0435\u043b\u0451\u043a",scan:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\u0430\u0448\u0435\u0433\u043e\xa0\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",availableWallets:"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0438"},mobileConnectionModal:{showQR:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c QR-\u043a\u043e\u0434",scanQR:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u043d\u0438\u0436\u0435 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\xa0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 {{ name }}, \u0438\u043b\u0438\xa0\u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",missingFeatures:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 {{ name }}, \u0432\u0430\u0448\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e dApp",notSupportedWallet:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u043e",continueIn:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435 \u0432 {{ name }}\u2026",updateWallet:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c {{ name }}",chooseAnotherWallet:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a",connectionDeclined:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e"},desktopConnectionModal:{scanQR:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u043d\u0438\u0436\u0435 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\xa0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 {{ name }}, \u0438\u043b\u0438\xa0\u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",continueInExtension:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 {{ name }}",dontHaveExtension:"\u041f\u043e\u0445\u043e\u0436\u0435, \u0443 \u0432\u0430\u0441 \u043d\u0435\xa0\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0435\xa0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\xa0{{ name }}",missingFeatures:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 {{ name }}, \u0432\u0430\u0448\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e dApp",notSupportedWallet:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u043e",getWallet:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c {{ name }}",updateWallet:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c {{ name }}",chooseAnotherWallet:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a",continueOnDesktop:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 {{ name }} \u043d\u0430\xa0\u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435\u2026",openWalletOnTelegram:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c Wallet \u0432\xa0Telegram",connectionDeclined:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e"},infoModal:{whatIsAWallet:"\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043a\u043e\u0448\u0435\u043b\u0451\u043a?",secureDigitalAssets:"\u041d\u0430\u0434\u0435\u0436\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432",walletProtects:"\u041a\u043e\u0448\u0435\u043b\u0451\u043a \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u0442 \u0432\u0430\u0448\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0430\u043a\u0442\u0438\u0432\u044b, \u0432\u043a\u043b\u044e\u0447\u0430\u044f TON, \u0442\u043e\u043a\u0435\u043d\u044b \u0438\xa0\u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438\xa0\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u0438.",controlIdentity:"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0441\u0432\u043e\u0435\u0439 \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438 Web3",manageIdentity:"\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0441\u0432\u043e\u0435\u0439 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u0438\xa0\u0441\xa0\u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a\xa0\u0434\u0435\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c. \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0439\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434\xa0\u0441\u0432\u043e\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\xa0\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0432\xa0\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0435\xa0\u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430.",effortlessCryptoTransactions:"\u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438",easilySend:"\u041b\u0435\u0433\u043a\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435, \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u0438\xa0\u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u044b. \u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\xa0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0435\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.",getAWallet:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a"},restoreModal:{title:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435",step1:{title:"\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0443 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",text:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0430 \u0438 \u043d\u0430\u0439\u0434\u0438\u0442\u0435 \u0444\u0440\u0430\u0437\u0443\xa0\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f"},step2:{title:"\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0443 \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",text:"\u0417\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0435\u0451 \u0438\u043b\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435"},step3:{title:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u043e\u043c \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0435",text:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430\xa0\u043a\xa0\u0432\u0430\u0448\u0435\u043c\u0443\xa0\u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0443"}},allWallets:{walletsBelowNotSupported:"\u041a\u043e\u0448\u0435\u043b\u044c\u043a\u0438 \u043d\u0438\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0432\u044b\u0448\u0435 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u043e\u0432.",walletNotSupportService:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441"},featureNotSupported:{wallet:{title:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0435\xa0\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435",description:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u043d\u0438\u0436\u0435, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0440\u0430\u0437\u044b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u0441\u044c \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0441\u043d\u043e\u0432\u0430.",info:"\u0423\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a"},version:{description:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f {{ name }} \u0438\u043b\u0438 \u0442\u0438\u043f \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0430 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c.",updateButton:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c {{ name }}",aboutW5:"\u041f\u0440\u043e W5"},disconnect:{title:"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435",description:"\u0412\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043e\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 {{ name }}.",button:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f"}}},actionModal:{confirmTransaction:{header:"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\xa0{{ name }}",text:"\u042d\u0442\u043e \u0437\u0430\u0439\u043c\u0435\u0442 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434."},signData:{header:"\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\xa0{{ name }}",text:"\u042d\u0442\u043e \u0437\u0430\u0439\u043c\u0435\u0442 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled",dataSigned:"$notifications.dataSigned",signDataCanceled:"$notifications.signDataCanceled"}},lo={en:co({common:{close:"Close",openWallet:"Open wallet",copyLink:"Copy Link",linkCopied:"Link Copied",copied:"Copied",yourWallet:"Your Wallet",retry:"Retry",get:"GET",mobile:"Mobile",browserExtension:"Browser Extension",desktop:"Desktop"},button:{connectWallet:"Connect Wallet",dropdown:{copy:"Copy address",copied:"Address copied!",disconnect:"Disconnect"}},notifications:{confirm:{header:"Open {{ name }} to\xa0confirm the\xa0transaction."},transactionSent:{header:"Transaction sent",text:"Your transaction\xa0will be\xa0processed in\xa0a\xa0few seconds."},transactionCanceled:{header:"Transaction canceled",text:"There will be no changes to\xa0your account."},dataSigned:{header:"Data signed"},signDataCanceled:{header:"Sign data canceled"}},walletItem:{walletOn:"Wallet in",recent:"Recent",installed:"Installed",popular:"Popular"},walletModal:{loading:"Loading wallets",wallets:"Wallets",mobileUniversalModal:{connectYourWallet:"Connect your TON\xa0wallet",openWalletOnTelegramOrSelect:"Use Wallet in Telegram or choose other application",openWalletOnTelegram:"Connect Wallet in Telegram",chooseOtherApplication:"Choose other application",openLink:"Open Link",scan:"Scan with your mobile\xa0wallet"},desktopUniversalModal:{connectYourWallet:"Connect your TON wallet",scan:"Scan with your mobile wallet",availableWallets:"Available wallets"},mobileConnectionModal:{showQR:"Show QR Code",scanQR:"Scan the\xa0QR code below with your phone\u2019s\xa0or\xa0{{ name }}\u2019s camera",missingFeatures:"Please update {{ name }}, your version does not support required features for this dApp",notSupportedWallet:"{{ name }} doesn\u2019t support the requested action. Please connect another wallet that supports it",continueIn:"Continue in {{ name }}\u2026",updateWallet:"Update {{ name }}",chooseAnotherWallet:"Choose Another Wallet",connectionDeclined:"Connection declined"},desktopConnectionModal:{scanQR:"Scan the\xa0QR code below with your phone\u2019s\xa0or\xa0{{ name }}\u2019s camera",continueInExtension:"Continue in\xa0{{ name }} browser extension\u2026",dontHaveExtension:"Seems you don't have installed {{ name }}\xa0browser\xa0extension",missingFeatures:"Please update {{ name }}, your version does not support required features for this dApp",notSupportedWallet:"{{ name }} doesn\u2019t support the requested action. Please connect another wallet that supports it",getWallet:"Get {{ name }}",updateWallet:"Update {{ name }}",chooseAnotherWallet:"Choose Another Wallet",continueOnDesktop:"Continue in\xa0{{ name }} on desktop\u2026",openWalletOnTelegram:"Connect Wallet in Telegram on desktop",connectionDeclined:"Connection declined"},infoModal:{whatIsAWallet:"What is a wallet",secureDigitalAssets:"Secure digital assets storage",walletProtects:"A wallet protects and manages your digital assets\xa0including TON, tokens and collectables.",controlIdentity:"Control your Web3 identity",manageIdentity:"Manage your digital identity and access decentralized applications with ease. Maintain control over your data and engage securely in\xa0the\xa0blockchain ecosystem.",effortlessCryptoTransactions:"Effortless crypto transactions",easilySend:"Easily send, receive, monitor your cryptocurrencies.\xa0Streamline your operations with\xa0decentralized applications.",getAWallet:"Get a Wallet"},restoreModal:{title:"Restore",step1:{title:"Find your current recovery phrase",text:"Open your wallet settings and locate the\xa0recovery\xa0phrase"},step2:{title:"Copy your recovery phrase",text:"Write it down or copy it to a safe place"},step3:{title:"Restore in a supported wallet",text:"Enter the recovery phrase to access your wallet"}},allWallets:{walletsBelowNotSupported:"The wallets below don\u2019t support all features of\xa0the connected service. You can use your recovery phrase in one of the supported wallets above.",walletNotSupportService:"{{ name }} doesn\u2019t support connected service"},featureNotSupported:{wallet:{title:"{{ name }} doesn\u2019t support the requested\xa0action",description:"Install a supported wallet from the list below, restore it with your recovery phrase, then connect it and try again.",info:"Learn how to restore your wallet"},version:{description:"Your current version of {{ name }} or wallet contract type doesn't support the required features. Please update it to continue.",updateButton:"Update {{ name }}",aboutW5:"About W5"},disconnect:{title:"Confirm Disconnect",description:"You will be disconnected from your current wallet and redirected to connect {{ name }}.",button:"Disconnect"}}},actionModal:{confirmTransaction:{header:"Confirm the\xa0transaction in\xa0{{ name }}",text:"It will only take a\xa0moment."},signData:{header:"Sign the\xa0data in\xa0{{ name }}",text:"It will only take a\xa0moment."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled",dataSigned:"$notifications.dataSigned",signDataCanceled:"$notifications.signDataCanceled"}}),ru:co(so)};function co(e){const t=n=>{Object.entries(n).forEach((r=>{let[o,i]=r;if("object"===typeof i&&i)return t(i);if("string"===typeof i){if("$"===i[0]){const t=i.slice(1).split(".");let r=e;t.forEach((e=>{if(!(e in r))throw new Error(`Cannot parse translations: there is no property ${e} in translation`);r=r[e]})),n[o]=r}"\\$"===i.slice(0,2)&&(n[o]=i.slice(1))}}))};return t(e),e}const uo=tn(),fo=Symbol("store-raw"),po=Symbol("store-node"),ho=Symbol("store-name");function go(e,t){let n=e[Rt];if(!n&&(Object.defineProperty(e,Rt,{value:n=new Proxy(e,Co)}),!Array.isArray(e))){const t=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let o=0,i=t.length;o<i;o++){const i=t[o];r[i].get&&Object.defineProperty(e,i,{enumerable:r[i].enumerable,get:r[i].get.bind(n)})}}return n}function mo(e){let t;return null!=e&&"object"===typeof e&&(e[Rt]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function yo(e){let t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(t=null!=e&&e[fo])return t;if(!mo(e)||i.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):i.add(e);for(let t=0,o=e.length;t<o;t++)r=e[t],(n=yo(r,i))!==r&&(e[t]=n)}else{Object.isFrozen(e)?e=Object.assign({},e):i.add(e);const t=Object.keys(e),a=Object.getOwnPropertyDescriptors(e);for(let s=0,l=t.length;s<l;s++)o=t[s],a[o].get||(r=e[o],(n=yo(r,i))!==r&&(e[o]=n))}return e}function vo(e){let t=e[po];return t||Object.defineProperty(e,po,{value:t={}}),t}function bo(e,t,n){return e[t]||(e[t]=xo(n))}function wo(e){if(en()){const t=vo(e);(t._||(t._=xo()))()}}function xo(e){const[t,n]=qt(e,{equals:!1,internal:!0});return t.$=n,t}const Co={get(e,t,n){if(t===fo)return e;if(t===Rt)return n;if(t===Ot)return wo(e),n;const r=vo(e),o=r.hasOwnProperty(t);let i=o?r[t]():e[t];if(t===po||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!en()||"function"===typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=bo(r,t,i)())}return mo(i)?go(i):i},has(e,t){return t===fo||t===Rt||t===Ot||t===po||"__proto__"===t||(this.get(e,t,e),t in e)},set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return wo(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==Rt&&t!==po&&t!==ho?(delete n.value,delete n.writable,n.get=()=>e[Rt][t],n):n}};function ko(e,t,n){if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])&&e[t]===n)return;const r=e[t],o=e.length;void 0===n?delete e[t]:e[t]=n;let i,a=vo(e);(i=bo(a,t,r))&&i.$((()=>n)),Array.isArray(e)&&e.length!==o&&(i=bo(a,"length",o))&&i.$(e.length),(i=a._)&&i.$()}function So(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];ko(e,o,t[o])}}function Eo(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e;if(t.length>1){n=t.shift();const i=typeof n,a=Array.isArray(e);if(Array.isArray(n)){for(let o=0;o<n.length;o++)Eo(e,[n[o]].concat(t),r);return}if(a&&"function"===i){for(let o=0;o<e.length;o++)n(e[o],o)&&Eo(e,[o].concat(t),r);return}if(a&&"object"===i){const{from:o=0,to:i=e.length-1,by:a=1}=n;for(let n=o;n<=i;n+=a)Eo(e,[n].concat(t),r);return}if(t.length>1)return void Eo(e[n],t,[n].concat(r));o=e[n],r=[n].concat(r)}let i=t[0];"function"===typeof i&&(i=i(o,r),i===o)||void 0===n&&void 0==i||(i=yo(i),void 0===n||mo(o)&&mo(i)&&!Array.isArray(i)?So(o,i):ko(e,n,i))}function Ao(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t;const i=yo(r||{}),a=Array.isArray(i);return[go(i),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Zt((()=>{a&&1===t.length?function(e,t){if("function"===typeof t&&(t=t(e)),t=yo(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const r=t[n];e[n]!==r&&ko(e,n,r)}ko(e,"length",r)}else So(e,t)}(i,t[0]):Eo(i,t)}))}]}const _o={constant:{black:"#000000",white:"#FFFFFF"},connectButton:{background:"#0098EA",foreground:"#FFFFFF"},accent:"#0098EA",telegramButton:"#0098EA",icon:{primary:"#0F0F0F",secondary:"#7A8999",tertiary:"#C1CAD2",success:"#29CC6A",error:"#F5A73B"},background:{primary:"#FFFFFF",secondary:"#F1F3F5",segment:"#FFFFFF",tint:"#F1F3F5",qr:"#F1F3F5"},text:{primary:"#0F0F0F",secondary:"#6A7785"}};function To(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ro(e){var t,n;return!1!==To(e)&&(void 0===(t=e.constructor)||!1!==To(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function Oo(e,t){if(!e)return t;return gt(t,e,{arrayMerge:(e,t,n)=>t,isMergeableObject:Ro})}const[Po,Mo]=Ao({theme:ir.LIGHT,colors:_o,borderRadius:"m"}),Lo={[ir.LIGHT]:_o,[ir.DARK]:{constant:{black:"#000000",white:"#FFFFFF"},connectButton:{background:"#0098EA",foreground:"#FFFFFF"},accent:"#E5E5EA",telegramButton:"#31A6F5",icon:{primary:"#E5E5EA",secondary:"#909099",tertiary:"#434347",success:"#29CC6A",error:"#F5A73B"},background:{primary:"#121214",secondary:"#18181A",segment:"#262629",tint:"#222224",qr:"#FFFFFF"},text:{primary:"#E5E5EA",secondary:"#7D7D85"}}},No={[ir.LIGHT]:void 0,[ir.DARK]:void 0};function Io(e,t){t&&(No[ir.DARK]=Oo(t[ir.DARK],No[ir.DARK]),No[ir.LIGHT]=Oo(t[ir.LIGHT],No[ir.LIGHT])),Mo({theme:e,colors:Oo(No[e],Lo[e])})}const jo=Cr.div`
|
|
41
|
+
`,{})};function Tr(e,t){return"#"===e[0]&&(e=function(e){"#"===e[0]&&(e=e.slice(1));const t=parseInt(e,16);return[t>>16&255,t>>8&255,255&t].join(",")}(e)),`rgba(${e}, ${t})`}function Rr(e){return e.toString()+"px"}const Or=class{constructor(){At(this,"storage",{})}static getInstance(){return Or.instance||(Or.instance=new Or),Or.instance}get length(){return Object.keys(this.storage).length}clear(){this.storage={}}getItem(e){var t;return null!=(t=this.storage[e])?t:null}key(e){var t;const n=Object.keys(this.storage);return e<0||e>=n.length?null:null!=(t=n[e])?t:null}removeItem(e){delete this.storage[e]}setItem(e,t){this.storage[e]=t}};let Pr=Or;At(Pr,"instance");class Mr extends D{constructor(){super(...arguments),Object.setPrototypeOf(this,Mr.prototype)}}function Lr(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.debug("[TON_CONNECT_UI]",...t)}catch(r){}}function Nr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_self";Lr("openLink",e,t),window.open(e,t,"noopener noreferrer")}function Ir(e){Nr(e,"_blank")}function jr(e,t){const n=setTimeout((()=>{Br("safari")||zr("android")&&Br("firefox")||t()}),200);window.addEventListener("blur",(()=>clearTimeout(n)),{once:!0}),Nr(e,"_self")}function $r(e){return _t(this,null,(function*(){yield new Promise((e=>requestAnimationFrame(e))),e()}))}function Dr(e){"complete"!==document.readyState?window.addEventListener("load",(()=>$r((()=>Dr(e)))),{once:!0}):e.forEach((e=>{(new window.Image).src=e}))}function Wr(){if("undefined"!==typeof window)return window}function Ur(){if(function(){try{return"undefined"!==typeof localStorage}catch(e){return!1}}())return localStorage;if("undefined"!==typeof process&&null!=process.versions&&null!=process.versions.node)throw new Mr("`localStorage` is unavailable, but it is required for TonConnect. For more details, see https://github.com/ton-connect/sdk/tree/main/packages/sdk#init-connector");return Pr.getInstance()}function Fr(){var e,t,n;const r=(new ht).getResult(),o=null==(e=r.os.name)?void 0:e.toLowerCase();let i;switch(!0){case"ipad"===(null==(t=r.device.model)?void 0:t.toLowerCase()):i="ipad";break;case"ios"===o:i="ios";break;case"android"===o:i="android";break;case"mac os"===o:i="macos";break;case"linux"===o:i="linux";break;case null==o?void 0:o.includes("windows"):i="windows"}const a=null==(n=r.browser.name)?void 0:n.toLowerCase();let s;switch(!0){case"chrome"===a:s="chrome";break;case"firefox"===a:s="firefox";break;case null==a?void 0:a.includes("safari"):s="safari";break;case null==a?void 0:a.includes("opera"):s="opera"}return{os:i,browser:s}}function zr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.includes(Fr().os)}function Br(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.includes(Fr().browser)}function qr(e,t){return t+new URL(e).search}class Hr{constructor(){At(this,"localStorage"),At(this,"storageKey","ton-connect-ui_wallet-info"),this.localStorage=Ur()}setWalletInfo(e){this.localStorage.setItem(this.storageKey,JSON.stringify(e))}getWalletInfo(){const e=this.localStorage.getItem(this.storageKey);return e?JSON.parse(e):null}removeWalletInfo(){this.localStorage.removeItem(this.storageKey)}}class Kr{constructor(){At(this,"localStorage"),At(this,"storageKey","ton-connect-ui_preferred-wallet"),this.localStorage=Ur()}setPreferredWalletAppName(e){this.localStorage.setItem(this.storageKey,e)}getPreferredWalletAppName(){return this.localStorage.getItem(this.storageKey)||void 0}}class Vr{constructor(){At(this,"localStorage"),At(this,"storageKey","ton-connect-ui_last-selected-wallet-info"),this.localStorage=Ur()}setLastSelectedWalletInfo(e){this.localStorage.setItem(this.storageKey,JSON.stringify(e))}getLastSelectedWalletInfo(){const e=this.localStorage.getItem(this.storageKey);return e?JSON.parse(e):null}removeLastSelectedWalletInfo(){this.localStorage.removeItem(this.storageKey)}}const[Gr,Qr]=qt({status:"closed",closeReason:null}),Zr=Gt((()=>"opened"===Gr().status)),[Yr,Xr]=qt({status:"closed",closeReason:null}),Jr=Gt((()=>"opened"===Yr().status)),eo=Gt((()=>{const e=Yr();return"opened"===e.status?e.walletInfo:null}));let to="undefined"!==typeof window?new Vr:void 0;const[no,ro]=qt((null==to?void 0:to.getLastSelectedWalletInfo())||null),oo=e=>{to||(to=new Vr),e?to.setLastSelectedWalletInfo(e):to.removeLastSelectedWalletInfo(),ro(e)},[io,ao]=qt(null),so={common:{close:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",openWallet:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a",copyLink:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",linkCopied:"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430",copied:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e",yourWallet:"\u0412\u0430\u0448 \u043a\u043e\u0448\u0435\u043b\u0451\u043a",retry:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",get:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c",mobile:"\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439",browserExtension:"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435",desktop:"\u0414\u0435\u0441\u043a\u0442\u043e\u043f"},button:{connectWallet:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a",dropdown:{copy:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441",copied:"\u0410\u0434\u0440\u0435\u0441 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d!",disconnect:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a"}},notifications:{confirm:{header:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 {{ name }}, \u0447\u0442\u043e\u0431\u044b\xa0\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044e."},transactionSent:{header:"\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430",text:"\u0412\u0430\u0448\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\xa0\u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u0447\u0435\u0440\u0435\u0437\xa0\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434."},transactionCanceled:{header:"\u0422\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430",text:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0447\u0451\u0442\u0430 \u043d\u0435\xa0\u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f."},dataSigned:{header:"\u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b"},signDataCanceled:{header:"\u041f\u043e\u0434\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430"}},walletItem:{walletOn:"Wallet \u0432",recent:"\u041d\u0435\u0434\u0430\u0432\u043d\u0438\u0439",installed:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d",popular:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d"},walletModal:{loading:"\u041a\u043e\u0448\u0435\u043b\u044c\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e\u0442\u0441\u044f",wallets:"\u041a\u043e\u0448\u0435\u043b\u044c\u043a\u0438",mobileUniversalModal:{connectYourWallet:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 TON\xa0\u043a\u043e\u0448\u0435\u043b\u0451\u043a",openWalletOnTelegramOrSelect:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 Wallet \u0432\xa0Telegram \u0438\u043b\u0438\xa0\u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435",openWalletOnTelegram:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c Wallet \u0432 Telegram",chooseOtherApplication:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435",openLink:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c",scan:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\u0430\u0448\u0435\u0433\u043e\xa0\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"},desktopUniversalModal:{connectYourWallet:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 TON \u043a\u043e\u0448\u0435\u043b\u0451\u043a",scan:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\u0430\u0448\u0435\u0433\u043e\xa0\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",availableWallets:"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0438"},mobileConnectionModal:{showQR:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c QR-\u043a\u043e\u0434",scanQR:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u043d\u0438\u0436\u0435 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\xa0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 {{ name }}, \u0438\u043b\u0438\xa0\u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",missingFeatures:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 {{ name }}, \u0432\u0430\u0448\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e dApp",notSupportedWallet:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u043e",continueIn:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435 \u0432 {{ name }}\u2026",updateWallet:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c {{ name }}",chooseAnotherWallet:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a",connectionDeclined:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e"},desktopConnectionModal:{scanQR:"\u041e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 QR-\u043a\u043e\u0434 \u043d\u0438\u0436\u0435 \u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0432\xa0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 {{ name }}, \u0438\u043b\u0438\xa0\u043a\u0430\u043c\u0435\u0440\u043e\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430",continueInExtension:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 {{ name }}",dontHaveExtension:"\u041f\u043e\u0445\u043e\u0436\u0435, \u0443 \u0432\u0430\u0441 \u043d\u0435\xa0\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0435\xa0\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\xa0{{ name }}",missingFeatures:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 {{ name }}, \u0432\u0430\u0448\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e dApp",notSupportedWallet:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u043e",getWallet:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c {{ name }}",updateWallet:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c {{ name }}",chooseAnotherWallet:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a",continueOnDesktop:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 {{ name }} \u043d\u0430\xa0\u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435\u2026",openWalletOnTelegram:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c Wallet \u0432\xa0Telegram",connectionDeclined:"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043e"},infoModal:{whatIsAWallet:"\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043a\u043e\u0448\u0435\u043b\u0451\u043a?",secureDigitalAssets:"\u041d\u0430\u0434\u0435\u0436\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0445 \u0430\u043a\u0442\u0438\u0432\u043e\u0432",walletProtects:"\u041a\u043e\u0448\u0435\u043b\u0451\u043a \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u0442 \u0432\u0430\u0448\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0430\u043a\u0442\u0438\u0432\u044b, \u0432\u043a\u043b\u044e\u0447\u0430\u044f TON, \u0442\u043e\u043a\u0435\u043d\u044b \u0438\xa0\u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438\xa0\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u0438.",controlIdentity:"\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0441\u0432\u043e\u0435\u0439 \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u0438 Web3",manageIdentity:"\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0441\u0432\u043e\u0435\u0439 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u0438\xa0\u0441\xa0\u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a\xa0\u0434\u0435\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c. \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0439\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434\xa0\u0441\u0432\u043e\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\xa0\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0432\xa0\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0435\xa0\u0431\u043b\u043e\u043a\u0447\u0435\u0439\u043d\u0430.",effortlessCryptoTransactions:"\u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u043a\u0440\u0438\u043f\u0442\u043e\u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438",easilySend:"\u041b\u0435\u0433\u043a\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435, \u043f\u043e\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u0438\xa0\u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0430\u043b\u044e\u0442\u044b. \u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\xa0\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0435\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.",getAWallet:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a"},restoreModal:{title:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435",step1:{title:"\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0443 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",text:"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0430 \u0438 \u043d\u0430\u0439\u0434\u0438\u0442\u0435 \u0444\u0440\u0430\u0437\u0443\xa0\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f"},step2:{title:"\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0443 \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f",text:"\u0417\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0435\u0451 \u0438\u043b\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435"},step3:{title:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u043e\u043c \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0435",text:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430\xa0\u043a\xa0\u0432\u0430\u0448\u0435\u043c\u0443\xa0\u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0443"}},allWallets:{walletsBelowNotSupported:"\u041a\u043e\u0448\u0435\u043b\u044c\u043a\u0438 \u043d\u0438\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0444\u0440\u0430\u0437\u0443 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0432\u044b\u0448\u0435 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u043e\u0432.",walletNotSupportService:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441"},featureNotSupported:{wallet:{title:"{{ name }} \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0435\xa0\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435",description:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u043d\u0438\u0436\u0435, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0440\u0430\u0437\u044b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u0441\u044c \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0441\u043d\u043e\u0432\u0430.",info:"\u0423\u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u0448\u0435\u043b\u0451\u043a"},version:{description:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f {{ name }} \u0438\u043b\u0438 \u0442\u0438\u043f \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u0430 \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0430 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c.",updateButton:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c {{ name }}",aboutW5:"\u041f\u0440\u043e W5"},disconnect:{title:"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435",description:"\u0412\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043e\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 {{ name }}.",button:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f"}}},actionModal:{confirmTransaction:{header:"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432\xa0{{ name }}",text:"\u042d\u0442\u043e \u0437\u0430\u0439\u043c\u0435\u0442 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434."},signData:{header:"\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\xa0{{ name }}",text:"\u042d\u0442\u043e \u0437\u0430\u0439\u043c\u0435\u0442 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled",dataSigned:"$notifications.dataSigned",signDataCanceled:"$notifications.signDataCanceled"}},lo={en:co({common:{close:"Close",openWallet:"Open wallet",copyLink:"Copy Link",linkCopied:"Link Copied",copied:"Copied",yourWallet:"Your Wallet",retry:"Retry",get:"GET",mobile:"Mobile",browserExtension:"Browser Extension",desktop:"Desktop"},button:{connectWallet:"Connect Wallet",dropdown:{copy:"Copy address",copied:"Address copied!",disconnect:"Disconnect"}},notifications:{confirm:{header:"Open {{ name }} to\xa0confirm the\xa0transaction."},transactionSent:{header:"Transaction sent",text:"Your transaction\xa0will be\xa0processed in\xa0a\xa0few seconds."},transactionCanceled:{header:"Transaction canceled",text:"There will be no changes to\xa0your account."},dataSigned:{header:"Data signed"},signDataCanceled:{header:"Sign data canceled"}},walletItem:{walletOn:"Wallet in",recent:"Recent",installed:"Installed",popular:"Popular"},walletModal:{loading:"Loading wallets",wallets:"Wallets",mobileUniversalModal:{connectYourWallet:"Connect your TON\xa0wallet",openWalletOnTelegramOrSelect:"Use Wallet in Telegram or choose other application",openWalletOnTelegram:"Connect Wallet in Telegram",chooseOtherApplication:"Choose other application",openLink:"Open Link",scan:"Scan with your mobile\xa0wallet"},desktopUniversalModal:{connectYourWallet:"Connect your TON wallet",scan:"Scan with your mobile wallet",availableWallets:"Available wallets"},mobileConnectionModal:{showQR:"Show QR Code",scanQR:"Scan the\xa0QR code below with your phone\u2019s\xa0or\xa0{{ name }}\u2019s camera",missingFeatures:"Please update {{ name }}, your version does not support required features for this dApp",notSupportedWallet:"{{ name }} doesn\u2019t support the requested action. Please connect another wallet that supports it",continueIn:"Continue in {{ name }}\u2026",updateWallet:"Update {{ name }}",chooseAnotherWallet:"Choose Another Wallet",connectionDeclined:"Connection declined"},desktopConnectionModal:{scanQR:"Scan the\xa0QR code below with your phone\u2019s\xa0or\xa0{{ name }}\u2019s camera",continueInExtension:"Continue in\xa0{{ name }} browser extension\u2026",dontHaveExtension:"Seems you don't have installed {{ name }}\xa0browser\xa0extension",missingFeatures:"Please update {{ name }}, your version does not support required features for this dApp",notSupportedWallet:"{{ name }} doesn\u2019t support the requested action. Please connect another wallet that supports it",getWallet:"Get {{ name }}",updateWallet:"Update {{ name }}",chooseAnotherWallet:"Choose Another Wallet",continueOnDesktop:"Continue in\xa0{{ name }} on desktop\u2026",openWalletOnTelegram:"Connect Wallet in Telegram on desktop",connectionDeclined:"Connection declined"},infoModal:{whatIsAWallet:"What is a wallet",secureDigitalAssets:"Secure digital assets storage",walletProtects:"A wallet protects and manages your digital assets\xa0including TON, tokens and collectables.",controlIdentity:"Control your Web3 identity",manageIdentity:"Manage your digital identity and access decentralized applications with ease. Maintain control over your data and engage securely in\xa0the\xa0blockchain ecosystem.",effortlessCryptoTransactions:"Effortless crypto transactions",easilySend:"Easily send, receive, monitor your cryptocurrencies.\xa0Streamline your operations with\xa0decentralized applications.",getAWallet:"Get a Wallet"},restoreModal:{title:"Restore",step1:{title:"Find your current recovery phrase",text:"Open your wallet settings and locate the\xa0recovery\xa0phrase"},step2:{title:"Copy your recovery phrase",text:"Write it down or copy it to a safe place"},step3:{title:"Restore in a supported wallet",text:"Enter the recovery phrase to access your wallet"}},allWallets:{walletsBelowNotSupported:"The wallets below don\u2019t support all features of\xa0the connected service. You can use your recovery phrase in one of the supported wallets above.",walletNotSupportService:"{{ name }} doesn\u2019t support connected service"},featureNotSupported:{wallet:{title:"{{ name }} doesn\u2019t support the requested\xa0action",description:"Install a supported wallet from the list below, restore it with your recovery phrase, then connect it and try again.",info:"Learn how to restore your wallet"},version:{description:"Your current version of {{ name }} or wallet contract type doesn't support the required features. Please update it to continue.",updateButton:"Update {{ name }}",aboutW5:"About W5"},disconnect:{title:"Confirm Disconnect",description:"You will be disconnected from your current wallet and redirected to connect {{ name }}.",button:"Disconnect"}}},actionModal:{confirmTransaction:{header:"Confirm the\xa0transaction in\xa0{{ name }}",text:"It will only take a\xa0moment."},signData:{header:"Sign the\xa0data in\xa0{{ name }}",text:"It will only take a\xa0moment."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled",dataSigned:"$notifications.dataSigned",signDataCanceled:"$notifications.signDataCanceled"}}),ru:co(so)};function co(e){const t=n=>{Object.entries(n).forEach((r=>{let[o,i]=r;if("object"===typeof i&&i)return t(i);if("string"===typeof i){if("$"===i[0]){const t=i.slice(1).split(".");let r=e;t.forEach((e=>{if(!(e in r))throw new Error(`Cannot parse translations: there is no property ${e} in translation`);r=r[e]})),n[o]=r}"\\$"===i.slice(0,2)&&(n[o]=i.slice(1))}}))};return t(e),e}const uo=tn(),fo=Symbol("store-raw"),po=Symbol("store-node"),ho=Symbol("store-name");function go(e,t){let n=e[Rt];if(!n&&(Object.defineProperty(e,Rt,{value:n=new Proxy(e,Co)}),!Array.isArray(e))){const t=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let o=0,i=t.length;o<i;o++){const i=t[o];r[i].get&&Object.defineProperty(e,i,{enumerable:r[i].enumerable,get:r[i].get.bind(n)})}}return n}function mo(e){let t;return null!=e&&"object"===typeof e&&(e[Rt]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function yo(e){let t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(t=null!=e&&e[fo])return t;if(!mo(e)||i.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):i.add(e);for(let t=0,o=e.length;t<o;t++)r=e[t],(n=yo(r,i))!==r&&(e[t]=n)}else{Object.isFrozen(e)?e=Object.assign({},e):i.add(e);const t=Object.keys(e),a=Object.getOwnPropertyDescriptors(e);for(let s=0,l=t.length;s<l;s++)o=t[s],a[o].get||(r=e[o],(n=yo(r,i))!==r&&(e[o]=n))}return e}function vo(e){let t=e[po];return t||Object.defineProperty(e,po,{value:t={}}),t}function bo(e,t,n){return e[t]||(e[t]=xo(n))}function wo(e){if(en()){const t=vo(e);(t._||(t._=xo()))()}}function xo(e){const[t,n]=qt(e,{equals:!1,internal:!0});return t.$=n,t}const Co={get(e,t,n){if(t===fo)return e;if(t===Rt)return n;if(t===Ot)return wo(e),n;const r=vo(e),o=r.hasOwnProperty(t);let i=o?r[t]():e[t];if(t===po||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!en()||"function"===typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=bo(r,t,i)())}return mo(i)?go(i):i},has(e,t){return t===fo||t===Rt||t===Ot||t===po||"__proto__"===t||(this.get(e,t,e),t in e)},set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return wo(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==Rt&&t!==po&&t!==ho?(delete n.value,delete n.writable,n.get=()=>e[Rt][t],n):n}};function ko(e,t,n){if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])&&e[t]===n)return;const r=e[t],o=e.length;void 0===n?delete e[t]:e[t]=n;let i,a=vo(e);(i=bo(a,t,r))&&i.$((()=>n)),Array.isArray(e)&&e.length!==o&&(i=bo(a,"length",o))&&i.$(e.length),(i=a._)&&i.$()}function So(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];ko(e,o,t[o])}}function Eo(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e;if(t.length>1){n=t.shift();const i=typeof n,a=Array.isArray(e);if(Array.isArray(n)){for(let o=0;o<n.length;o++)Eo(e,[n[o]].concat(t),r);return}if(a&&"function"===i){for(let o=0;o<e.length;o++)n(e[o],o)&&Eo(e,[o].concat(t),r);return}if(a&&"object"===i){const{from:o=0,to:i=e.length-1,by:a=1}=n;for(let n=o;n<=i;n+=a)Eo(e,[n].concat(t),r);return}if(t.length>1)return void Eo(e[n],t,[n].concat(r));o=e[n],r=[n].concat(r)}let i=t[0];"function"===typeof i&&(i=i(o,r),i===o)||void 0===n&&void 0==i||(i=yo(i),void 0===n||mo(o)&&mo(i)&&!Array.isArray(i)?So(o,i):ko(e,n,i))}function Ao(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t;const i=yo(r||{}),a=Array.isArray(i);return[go(i),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Zt((()=>{a&&1===t.length?function(e,t){if("function"===typeof t&&(t=t(e)),t=yo(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const r=t[n];e[n]!==r&&ko(e,n,r)}ko(e,"length",r)}else So(e,t)}(i,t[0]):Eo(i,t)}))}]}const _o={constant:{black:"#000000",white:"#FFFFFF"},connectButton:{background:"#0098EA",foreground:"#FFFFFF"},accent:"#0098EA",telegramButton:"#0098EA",icon:{primary:"#0F0F0F",secondary:"#7A8999",tertiary:"#C1CAD2",success:"#29CC6A",error:"#F5A73B"},background:{primary:"#FFFFFF",secondary:"#F1F3F5",segment:"#FFFFFF",tint:"#F1F3F5",qr:"#F1F3F5"},text:{primary:"#0F0F0F",secondary:"#6A7785"}};function To(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ro(e){var t,n;return!1!==To(e)&&(void 0===(t=e.constructor)||!1!==To(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function Oo(e,t){if(!e)return t;return gt(t,e,{arrayMerge:(e,t,n)=>t,isMergeableObject:Ro})}const[Po,Mo]=Ao({theme:ir.LIGHT,colors:_o,borderRadius:"m"}),Lo={[ir.LIGHT]:_o,[ir.DARK]:{constant:{black:"#000000",white:"#FFFFFF"},connectButton:{background:"#0098EA",foreground:"#FFFFFF"},accent:"#E5E5EA",telegramButton:"#31A6F5",icon:{primary:"#E5E5EA",secondary:"#909099",tertiary:"#434347",success:"#29CC6A",error:"#F5A73B"},background:{primary:"#121214",secondary:"#18181A",segment:"#262629",tint:"#222224",qr:"#FFFFFF"},text:{primary:"#E5E5EA",secondary:"#7D7D85"}}},No={[ir.LIGHT]:void 0,[ir.DARK]:void 0};function Io(e,t){t&&(No[ir.DARK]=Oo(t[ir.DARK],No[ir.DARK]),No[ir.LIGHT]=Oo(t[ir.LIGHT],No[ir.LIGHT])),Mo({theme:e,colors:Oo(No[e],Lo[e])})}const jo=Cr.div`
|
|
42
42
|
background-color: ${e=>e.theme.colors.background.secondary};
|
|
43
|
-
`,$o=e=>{let t;const[n,r]=qt(null);return Vt((()=>{const t=new window.Image;return t.src=e.src,t.alt=e.alt||"",t.setAttribute("draggable","false"),e.class&&t.classList.add(e.class),t.complete?r(t):(t.addEventListener("load",(()=>r(t))),()=>t.removeEventListener("load",(()=>r(t))))})),[kn(On,{get when(){return n()},get children(){return n()}}),kn(On,{get when(){return!n()},get children(){return kn(jo,{get class(){return e.class},ref(e){"function"===typeof t?t(e):t=e}})}})]};let
|
|
43
|
+
`,$o=e=>{let t;const[n,r]=qt(null);return Vt((()=>{const t=new window.Image;return t.src=e.src,t.alt=e.alt||"",t.setAttribute("draggable","false"),e.class&&t.classList.add(e.class),t.complete?r(t):(t.addEventListener("load",(()=>r(t))),()=>t.removeEventListener("load",(()=>r(t))))})),[kn(On,{get when(){return n()},get children(){return n()}}),kn(On,{get when(){return!n()},get children(){return kn(jo,{get class(){return e.class},ref(e){"function"===typeof t?t(e):t=e}})}})]};let Do={};try{Do=function(e){e=e.replace(/^#/,"");let t={};if(!e.length)return t;if(e.indexOf("=")<0&&e.indexOf("?")<0)return t._path=Go(e),t;let n=e.indexOf("?");if(n>=0){let r=e.substr(0,n);t._path=Go(r),e=e.substr(n+1)}let r=function(e){let t={};if(!e.length)return t;let n,r,o,i,a=e.split("&");for(n=0;n<a.length;n++)r=a[n].split("="),o=Go(r[0]),i=null==r[1]?null:Go(r[1]),t[o]=i;return t}(e);for(let o in r)t[o]=r[o];return t}(location.hash.toString())}catch(nb){}let Wo="unknown";if((null==Do?void 0:Do.tgWebAppPlatform)&&(Wo=null!=(at=Do.tgWebAppPlatform)?at:"unknown"),"unknown"===Wo){const e=Wr();Wo=null!=(ct=null==(lt=null==(st=null==e?void 0:e.Telegram)?void 0:st.WebApp)?void 0:lt.platform)?ct:"unknown"}let Uo="6.0";if((null==Do?void 0:Do.tgWebAppVersion)&&(Uo=Do.tgWebAppVersion),!Uo){const e=Wr();Uo=null!=(ft=null==(dt=null==(ut=null==e?void 0:e.Telegram)?void 0:ut.WebApp)?void 0:dt.version)?ft:"6.0"}function Fo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.includes(Wo)}function zo(){var e;return"unknown"!==Wo||!!(null==(e=Wr())?void 0:e.TelegramWebviewProxy)}function Bo(){var e;const t=!!(null==(e=Wr())?void 0:e.TelegramWebview);return(zo()||t)&&"unknown"===Wo}function qo(){Vo("web_app_expand",{})}function Ho(e,t){const n=new URL(e);if("http:"!==n.protocol&&"https:"!==n.protocol){if(t)return t();throw new Mr(`Url protocol is not supported: ${n}`)}if("t.me"!==n.hostname){if(t)return t();throw new Mr(`Url host is not supported: ${n}`)}const r=n.pathname+n.search;Ko()||function(e,t){"string"!==typeof e&&(e=""),"string"!==typeof t&&(t="");let n,r,o,i,a=e.replace(/^\s+|\s+$/g,"").split("."),s=t.replace(/^\s+|\s+$/g,"").split(".");for(n=Math.max(a.length,s.length),r=0;r<n;r++)if(o=parseInt(a[r])||0,i=parseInt(s[r])||0,o!==i)return o>i?1:-1;return 0}(Uo,"6.1")>=0?Vo("web_app_open_tg_link",{path_full:r}):Ir("https://t.me"+r)}function Ko(){try{const e=Wr();return!!e&&(null!=e.parent&&e!==e.parent)}catch(nb){return!1}}function Vo(e,t){try{const n=Wr();if(!n)throw new Mr("Can't post event to parent window: window is not defined");if(void 0!==n.TelegramWebviewProxy)Lr("postEvent",e,t),n.TelegramWebviewProxy.postEvent(e,JSON.stringify(t));else if(n.external&&"notify"in n.external)Lr("postEvent",e,t),n.external.notify(JSON.stringify({eventType:e,eventData:t}));else{if(!Ko())throw new Mr("Can't post event to TMA");{const r="*",o=JSON.stringify({eventType:e,eventData:t});Lr("postEvent",e,t),n.parent.postMessage(o,r)}}}catch(nb){!function(){try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];console.error("[TON_CONNECT_UI]",...n)}catch(e){}}(`Can't post event to parent window: ${nb}`)}}function Go(e){try{return e=e.replace(/\+/g,"%20"),decodeURIComponent(e)}catch(nb){return e}}const Qo=440,Zo=1020;function Yo(e){const t=Wr();if(!t)return"desktop"===e;if(Fo("weba"))return!0;const n=t.innerWidth;switch(e){case"desktop":return n>Zo;case"tablet":return n>Qo;default:return n<=Qo||zr("ios","android","ipad")}}function Xo(e){switch(e){case"mobile":return`@media (max-width: ${Qo}px)`;case"tablet":return`@media (max-width: ${Zo}px) (min-width: ${Qo}px)`;default:return`@media (min-width: ${Zo}px)`}}const Jo="@media (hover: none)",ei="@media not all and (hover: none)",ti={m:"100vh",s:"8px",none:"0"},ni={s:.02,m:.04},ri=Cr.button`
|
|
44
44
|
display: ${e=>e.leftIcon||e.rightIcon?"flex":"inline-block"};
|
|
45
45
|
gap: ${e=>e.leftIcon||e.rightIcon?"6px":"unset"};
|
|
46
46
|
align-items: ${e=>e.leftIcon||e.rightIcon?"center":"unset"};
|
|
@@ -160,7 +160,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
160
160
|
${e=>bi[e.theme.borderRadius]};
|
|
161
161
|
`,Ei=Cr(vi)`
|
|
162
162
|
background-color: ${e=>Tr(e.theme.colors.icon.secondary,.12)};
|
|
163
|
-
`;class Ai{constructor(){At(this,"currentTime",0)}}const _i=class{constructor(){At(this,"currentTime",0),At(this,"playbackRate",1),At(this,"startTime",null),At(this,"timeline",new Ai),At(this,"finished",Promise.resolve(this)),At(this,"effect",null),At(this,"id",""),At(this,"pending",!1),At(this,"playState","finished"),At(this,"replaceState","active"),At(this,"ready",Promise.resolve(this)),At(this,"oncancel",null),At(this,"onfinish",null),At(this,"onremove",null)}static create(){return _i._instance||(!function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.warn("[TON_CONNECT_UI]",...t)}catch(
|
|
163
|
+
`;class Ai{constructor(){At(this,"currentTime",0)}}const _i=class{constructor(){At(this,"currentTime",0),At(this,"playbackRate",1),At(this,"startTime",null),At(this,"timeline",new Ai),At(this,"finished",Promise.resolve(this)),At(this,"effect",null),At(this,"id",""),At(this,"pending",!1),At(this,"playState","finished"),At(this,"replaceState","active"),At(this,"ready",Promise.resolve(this)),At(this,"oncancel",null),At(this,"onfinish",null),At(this,"onremove",null)}static create(){return _i._instance||(!function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.warn("[TON_CONNECT_UI]",...t)}catch(nb){}}("Animation is not supported in this environment: please consider using the `web-animations-js` polyfill to provide a fallback implementation of the Web Animations API."),_i._instance=new _i),_i._instance}cancel(){}finish(){}pause(){}play(){}reverse(){}addEventListener(e,t,n){}dispatchEvent(e){return!1}removeEventListener(e,t,n){}updatePlaybackRate(e){}commitStyles(){}persist(){}};let Ti=_i;function Ri(e,t,n){return"animate"in e?e.animate(t,n):Ti.create()}At(Ti,"_instance",null);const Oi=Fn("<div></div>"),Pi=function(e,t){const n=n=>{var r;return!e.contains(n.target)&&(null==(r=t())?void 0:r())};document.body.addEventListener("click",n),Jt((()=>document.body.removeEventListener("click",n)))},Mi=function(e,t){const n=e=>{var n,r;"Escape"===e.key&&(null==(n=document.activeElement)||n.blur(),null==(r=t())||r())};document.body.addEventListener("keydown",n),Jt((()=>document.body.removeEventListener("keydown",n)))},Li=function(e,t){const{isEnabled:n,onClose:r}=t();if(!n)return;if(!("android"===Fr().os))return;window.history.pushState(di,"");const o=e=>{e.preventDefault(),r()};window.addEventListener("popstate",o,{once:!0}),Jt((()=>{window.removeEventListener("popstate",o),$r((()=>{var e;!0===(null==(e=window.history.state)?void 0:e[ui])&&window.history.back()}))}))},Ni=e=>{const t=wr(),n=oi(e);return Vt((()=>{e.opened?document.documentElement.scrollHeight!==document.documentElement.clientHeight&&(document.body.style.top=Rr(-document.documentElement.scrollTop),document.body.classList.add(Er)):(document.body.classList.remove(Er),document.documentElement.scrollTo({top:-parseFloat(getComputedStyle(document.body).top)}),document.body.style.top="auto")})),kn(si,{onBeforeEnter:e=>{const t=Yo("mobile")?200:100;Ri(e,[{opacity:0},{opacity:1}],{duration:t}),Yo("mobile")&&Ri(e.firstElementChild,[{transform:"translateY(390px)"},{transform:"translateY(0)"}],{duration:t})},onExit:(e,t)=>{const n=Yo("mobile")?200:100,r=Ri(e,[{opacity:1},{opacity:0}],{duration:n});if(Yo("mobile")){const o=Ri(e.firstElementChild,[{transform:"translateY(0)"},{transform:"translateY(390px)"}],{duration:n});Promise.all([r.finished,o.finished]).then(t)}else r.finished.then(t)},get children(){return kn(On,{get when(){return e.opened},get children(){return kn(wi,_n({"data-tc-modal":"true"},n,{get children(){const n=Oi.cloneNode(!0);return Hn(Li,n,(()=>({isEnabled:e.enableAndroidBackHandler,onClose:()=>e.onClose()}))),Hn(Mi,n,(()=>()=>e.onClose())),Hn(Pi,n,(()=>()=>e.onClose())),Kn(n,kn(Ci,{get class(){return e.class},get children(){return[kn(ki,{icon:"close",onClick:()=>e.onClose()}),Gt((()=>e.children))]}}),null),Kn(n,kn(On,{get when(){return e.onClickQuestion&&e.showFooter},get children(){return kn(Si,{get children(){return[kn(Ua,{}),kn(Ei,{get onClick(){return e.onClickQuestion},icon:"question"})]}})}}),null),Kt((()=>Bn(n,mt(xi,mr`
|
|
164
164
|
border-radius: ${bi[t.borderRadius]};
|
|
165
165
|
background-color: ${t.colors.background.tint};
|
|
166
166
|
|
|
@@ -180,7 +180,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
180
180
|
border-radius: ${e=>Ii[e.theme.borderRadius]};
|
|
181
181
|
|
|
182
182
|
background-color: ${e=>e.theme.colors.background.secondary};
|
|
183
|
-
`,
|
|
183
|
+
`,Di=Cr.div`
|
|
184
184
|
position: absolute;
|
|
185
185
|
top: 4px;
|
|
186
186
|
left: 4px;
|
|
@@ -194,7 +194,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
194
194
|
transform: ${e=>e.right?"translateX(100%)":"translateX(0)"};
|
|
195
195
|
|
|
196
196
|
transition: transform 0.13s ease-in-out;
|
|
197
|
-
`,
|
|
197
|
+
`,Wi=Cr.input`
|
|
198
198
|
display: none;
|
|
199
199
|
`,Ui=Cr.label`
|
|
200
200
|
padding: 9px 12px;
|
|
@@ -308,7 +308,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
308
308
|
|
|
309
309
|
filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));
|
|
310
310
|
background-color: ${e=>e.theme.colors.background.segment};
|
|
311
|
-
`;var Qi={exports:{}};!function(e){var t=function(){var e=function(e,t){var n=e,r=i[t],o=null,a=0,s=null,l=[],c={},u=function(e,t){o=function(e){for(var t=new Array(e),n=0;n<e;n+=1){t[n]=new Array(e);for(var r=0;r<e;r+=1)t[n][r]=null}return t}(a=4*n+17),d(0,0),d(a-7,0),d(0,a-7),p(),f(),k(e,t),n>=7&&g(e),null==s&&(s=A(n,r,l)),S(s,t)},d=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||a<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||a<=t+r||(o[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},f=function(){for(var e=8;e<a-8;e+=1)null==o[e][6]&&(o[e][6]=e%2==0);for(var t=8;t<a-8;t+=1)null==o[6][t]&&(o[6][t]=t%2==0)},p=function(){for(var e=h.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var i=e[t],a=e[r];if(null==o[i][a])for(var s=-2;s<=2;s+=1)for(var l=-2;l<=2;l+=1)o[i+s][a+l]=-2==s||2==s||-2==l||2==l||0==s&&0==l}},g=function(e){for(var t=h.getBCHTypeNumber(n),r=0;r<18;r+=1){var i=!e&&1==(t>>r&1);o[Math.floor(r/3)][r%3+a-8-3]=i}for(r=0;r<18;r+=1){i=!e&&1==(t>>r&1);o[r%3+a-8-3][Math.floor(r/3)]=i}},k=function(e,t){for(var n=r<<3|t,i=h.getBCHTypeInfo(n),s=0;s<15;s+=1){var l=!e&&1==(i>>s&1);s<6?o[s][8]=l:s<8?o[s+1][8]=l:o[a-15+s][8]=l}for(s=0;s<15;s+=1){l=!e&&1==(i>>s&1);s<8?o[8][a-s-1]=l:s<9?o[8][15-s-1+1]=l:o[8][15-s-1]=l}o[a-8][8]=!e},S=function(e,t){for(var n=-1,r=a-1,i=7,s=0,l=h.getMaskFunction(t),c=a-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var u=0;u<2;u+=1)if(null==o[r][c-u]){var d=!1;s<e.length&&(d=1==(e[s]>>>i&1)),l(r,c-u)&&(d=!d),o[r][c-u]=d,-1==(i-=1)&&(s+=1,i=7)}if((r+=n)<0||a<=r){r-=n,n=-n;break}}},A=function(e,t,n){for(var r=y.getRSBlocks(e,t),o=v(),i=0;i<n.length;i+=1){var a=n[i];o.put(a.getMode(),4),o.put(a.getLength(),h.getLengthInBits(a.getMode(),e)),a.write(o)}var s=0;for(i=0;i<r.length;i+=1)s+=r[i].dataCount;if(o.getLengthInBits()>8*s)throw"code length overflow. ("+o.getLengthInBits()+">"+8*s+")";for(o.getLengthInBits()+4<=8*s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*s)&&(o.put(236,8),!(o.getLengthInBits()>=8*s));)o.put(17,8);return function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),a=new Array(t.length),s=0;s<t.length;s+=1){var l=t[s].dataCount,c=t[s].totalCount-l;r=Math.max(r,l),o=Math.max(o,c),i[s]=new Array(l);for(var u=0;u<i[s].length;u+=1)i[s][u]=255&e.getBuffer()[u+n];n+=l;var d=h.getErrorCorrectPolynomial(c),f=m(i[s],d.getLength()-1).mod(d);for(a[s]=new Array(d.getLength()-1),u=0;u<a[s].length;u+=1){var p=u+f.getLength()-a[s].length;a[s][u]=p>=0?f.getAt(p):0}}var g=0;for(u=0;u<t.length;u+=1)g+=t[u].totalCount;var y=new Array(g),v=0;for(u=0;u<r;u+=1)for(s=0;s<t.length;s+=1)u<i[s].length&&(y[v]=i[s][u],v+=1);for(u=0;u<o;u+=1)for(s=0;s<t.length;s+=1)u<a[s].length&&(y[v]=a[s][u],v+=1);return y}(o,r)};c.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=b(e);break;case"Alphanumeric":n=w(e);break;case"Byte":n=x(e);break;case"Kanji":n=C(e);break;default:throw"mode:"+t}l.push(n),s=null},c.isDark=function(e,t){if(e<0||a<=e||t<0||a<=t)throw e+","+t;return o[e][t]},c.getModuleCount=function(){return a},c.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=y.getRSBlocks(e,r),o=v(),i=0;i<l.length;i++){var a=l[i];o.put(a.getMode(),4),o.put(a.getLength(),h.getLengthInBits(a.getMode(),e)),a.write(o)}var s=0;for(i=0;i<t.length;i++)s+=t[i].dataCount;if(o.getLengthInBits()<=8*s)break}n=e}u(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){u(!0,n);var r=h.getLostPoint(c);(0==n||e>r)&&(e=r,t=n)}return t}())},c.createTableTag=function(e,t){e=e||2;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+(t="undefined"==typeof t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<c.getModuleCount();r+=1){n+="<tr>";for(var o=0;o<c.getModuleCount();o+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+e+"px;",n+=" height: "+e+"px;",n+=" background-color: ",n+=c.isDark(r,o)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return n+="</tbody>",n+="</table>"},c.createSvgTag=function(e,t,n,r){var o={};"object"==typeof arguments[0]&&(e=(o=arguments[0]).cellSize,t=o.margin,n=o.alt,r=o.title),e=e||2,t="undefined"==typeof t?4*e:t,(n="string"===typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"===typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var i,a,s,l,u=c.getModuleCount()*e+2*t,d="";for(l="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",d+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',d+=o.scalable?"":' width="'+u+'px" height="'+u+'px"',d+=' viewBox="0 0 '+u+" "+u+'" ',d+=' preserveAspectRatio="xMinYMin meet"',d+=r.text||n.text?' role="img" aria-labelledby="'+_([r.id,n.id].join(" ").trim())+'"':"",d+=">",d+=r.text?'<title id="'+_(r.id)+'">'+_(r.text)+"</title>":"",d+=n.text?'<description id="'+_(n.id)+'">'+_(n.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',a=0;a<c.getModuleCount();a+=1)for(s=a*e+t,i=0;i<c.getModuleCount();i+=1)c.isDark(a,i)&&(d+="M"+(i*e+t)+","+s+l);return d+='" stroke="transparent" fill="black"/>',d+="</svg>"},c.createDataURL=function(e,t){e=e||2,t="undefined"==typeof t?4*e:t;var n=c.getModuleCount()*e+2*t,r=t,o=n-t;return E(n,n,(function(t,n){if(r<=t&&t<o&&r<=n&&n<o){var i=Math.floor((t-r)/e),a=Math.floor((n-r)/e);return c.isDark(a,i)?0:1}return 1}))},c.createImgTag=function(e,t,n){e=e||2,t="undefined"==typeof t?4*e:t;var r=c.getModuleCount()*e+2*t,o="";return o+="<img",o+=' src="',o+=c.createDataURL(e,t),o+='"',o+=' width="',o+=r,o+='"',o+=' height="',o+=r,o+='"',n&&(o+=' alt="',o+=_(n),o+='"'),o+="/>"};var _=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="<";break;case">":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=r}}return t};return c.createASCII=function(e,t){if((e=e||1)<2)return function(e){e="undefined"==typeof e?2:e;var t,n,r,o,i,a=1*c.getModuleCount()+2*e,s=e,l=a-e,u={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},d={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},f="";for(t=0;t<a;t+=2){for(r=Math.floor((t-s)/1),o=Math.floor((t+1-s)/1),n=0;n<a;n+=1)i="\u2588",s<=n&&n<l&&s<=t&&t<l&&c.isDark(r,Math.floor((n-s)/1))&&(i=" "),s<=n&&n<l&&s<=t+1&&t+1<l&&c.isDark(o,Math.floor((n-s)/1))?i+=" ":i+="\u2588",f+=e<1&&t+1>=l?d[i]:u[i];f+="\n"}return a%2&&e>0?f.substring(0,f.length-a-1)+Array(a+1).join("\u2580"):f.substring(0,f.length-1)}(t);e-=1,t="undefined"==typeof t?2*e:t;var n,r,o,i,a=c.getModuleCount()*e+2*t,s=t,l=a-t,u=Array(e+1).join("\u2588\u2588"),d=Array(e+1).join(" "),f="",p="";for(n=0;n<a;n+=1){for(o=Math.floor((n-s)/e),p="",r=0;r<a;r+=1)i=1,s<=r&&r<l&&s<=n&&n<l&&c.isDark(o,Math.floor((r-s)/e))&&(i=0),p+=i?u:d;for(o=0;o<e;o+=1)f+=p+"\n"}return f.substring(0,f.length-1)},c.renderTo2dContext=function(e,t){t=t||2;for(var n=c.getModuleCount(),r=0;r<n;r++)for(var o=0;o<n;o++)e.fillStyle=c.isDark(r,o)?"black":"white",e.fillRect(r*t,o*t,t,t)},c};e.stringToBytes=(e.stringToBytesFuncs={default:function(e){for(var t=[],n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t.push(255&r)}return t}}).default,e.createStringToBytes=function(e,t){var n=function(){for(var n=S(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},o=0,i={};;){var a=n.read();if(-1==a)break;var s=r(),l=r()<<8|r();i[String.fromCharCode(a<<8|s)]=l,o+=1}if(o!=t)throw o+" != "+t;return i}(),r="?".charCodeAt(0);return function(e){for(var t=[],o=0;o<e.length;o+=1){var i=e.charCodeAt(o);if(i<128)t.push(i);else{var a=n[e.charAt(o)];"number"==typeof a?(255&a)==a?t.push(a):(t.push(a>>>8),t.push(255&a)):t.push(r)}}return t}};var t=1,n=2,r=4,o=8,i={L:1,M:0,Q:3,H:2},a=0,s=1,l=2,c=3,u=4,d=5,f=6,p=7,h=function(){var e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],i=1335,h=7973,y={},v=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t};return y.getBCHTypeInfo=function(e){for(var t=e<<10;v(t)-v(i)>=0;)t^=i<<v(t)-v(i);return 21522^(e<<10|t)},y.getBCHTypeNumber=function(e){for(var t=e<<12;v(t)-v(h)>=0;)t^=h<<v(t)-v(h);return e<<12|t},y.getPatternPosition=function(t){return e[t-1]},y.getMaskFunction=function(e){switch(e){case a:return function(e,t){return(e+t)%2==0};case s:return function(e,t){return e%2==0};case l:return function(e,t){return t%3==0};case c:return function(e,t){return(e+t)%3==0};case u:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case d:return function(e,t){return e*t%2+e*t%3==0};case f:return function(e,t){return(e*t%2+e*t%3)%2==0};case p:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},y.getErrorCorrectPolynomial=function(e){for(var t=m([1],0),n=0;n<e;n+=1)t=t.multiply(m([1,g.gexp(n)],0));return t},y.getLengthInBits=function(e,i){if(1<=i&&i<10)switch(e){case t:return 10;case n:return 9;case r:case o:return 8;default:throw"mode:"+e}else if(i<27)switch(e){case t:return 12;case n:return 11;case r:return 16;case o:return 10;default:throw"mode:"+e}else{if(!(i<41))throw"type:"+i;switch(e){case t:return 14;case n:return 13;case r:return 16;case o:return 12;default:throw"mode:"+e}}},y.getLostPoint=function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r+=1)for(var o=0;o<t;o+=1){for(var i=0,a=e.isDark(r,o),s=-1;s<=1;s+=1)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l+=1)o+l<0||t<=o+l||0==s&&0==l||a==e.isDark(r+s,o+l)&&(i+=1);i>5&&(n+=3+i-5)}for(r=0;r<t-1;r+=1)for(o=0;o<t-1;o+=1){var c=0;e.isDark(r,o)&&(c+=1),e.isDark(r+1,o)&&(c+=1),e.isDark(r,o+1)&&(c+=1),e.isDark(r+1,o+1)&&(c+=1),0!=c&&4!=c||(n+=3)}for(r=0;r<t;r+=1)for(o=0;o<t-6;o+=1)e.isDark(r,o)&&!e.isDark(r,o+1)&&e.isDark(r,o+2)&&e.isDark(r,o+3)&&e.isDark(r,o+4)&&!e.isDark(r,o+5)&&e.isDark(r,o+6)&&(n+=40);for(o=0;o<t;o+=1)for(r=0;r<t-6;r+=1)e.isDark(r,o)&&!e.isDark(r+1,o)&&e.isDark(r+2,o)&&e.isDark(r+3,o)&&e.isDark(r+4,o)&&!e.isDark(r+5,o)&&e.isDark(r+6,o)&&(n+=40);var u=0;for(o=0;o<t;o+=1)for(r=0;r<t;r+=1)e.isDark(r,o)&&(u+=1);return n+=10*(Math.abs(100*u/t/t-50)/5)},y}(),g=function(){for(var e=new Array(256),t=new Array(256),n=0;n<8;n+=1)e[n]=1<<n;for(n=8;n<256;n+=1)e[n]=e[n-4]^e[n-5]^e[n-6]^e[n-8];for(n=0;n<255;n+=1)t[e[n]]=n;var r={glog:function(e){if(e<1)throw"glog("+e+")";return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}};return r}();function m(e,t){if("undefined"==typeof e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n<e.length&&0==e[n];)n+=1;for(var r=new Array(e.length-n+t),o=0;o<e.length-n;o+=1)r[o]=e[o+n];return r}(),r={getAt:function(e){return n[e]},getLength:function(){return n.length},multiply:function(e){for(var t=new Array(r.getLength()+e.getLength()-1),n=0;n<r.getLength();n+=1)for(var o=0;o<e.getLength();o+=1)t[n+o]^=g.gexp(g.glog(r.getAt(n))+g.glog(e.getAt(o)));return m(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=g.glog(r.getAt(0))-g.glog(e.getAt(0)),n=new Array(r.getLength()),o=0;o<r.getLength();o+=1)n[o]=r.getAt(o);for(o=0;o<e.getLength();o+=1)n[o]^=g.gexp(g.glog(e.getAt(o))+t);return m(n,0).mod(e)}};return r}var y=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var n={};return n.totalCount=e,n.dataCount=t,n},n={};return n.getRSBlocks=function(n,r){var o=function(t,n){switch(n){case i.L:return e[4*(t-1)+0];case i.M:return e[4*(t-1)+1];case i.Q:return e[4*(t-1)+2];case i.H:return e[4*(t-1)+3];default:return}}(n,r);if("undefined"==typeof o)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var a=o.length/3,s=[],l=0;l<a;l+=1)for(var c=o[3*l+0],u=o[3*l+1],d=o[3*l+2],f=0;f<c;f+=1)s.push(t(u,d));return s},n}(),v=function(){var e=[],t=0,n={getBuffer:function(){return e},getAt:function(t){var n=Math.floor(t/8);return 1==(e[n]>>>7-t%8&1)},put:function(e,t){for(var r=0;r<t;r+=1)n.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},b=function(e){var n=t,r=e,o={getMode:function(){return n},getLength:function(e){return r.length},write:function(e){for(var t=r,n=0;n+2<t.length;)e.put(i(t.substring(n,n+3)),10),n+=3;n<t.length&&(t.length-n==1?e.put(i(t.substring(n,n+1)),4):t.length-n==2&&e.put(i(t.substring(n,n+2)),7))}},i=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+a(e.charAt(n));return t},a=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return o},w=function(e){var t=n,r=e,o={getMode:function(){return t},getLength:function(e){return r.length},write:function(e){for(var t=r,n=0;n+1<t.length;)e.put(45*i(t.charAt(n))+i(t.charAt(n+1)),11),n+=2;n<t.length&&e.put(i(t.charAt(n)),6)}},i=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return o},x=function(t){var n=r,o=e.stringToBytes(t),i={getMode:function(){return n},getLength:function(e){return o.length},write:function(e){for(var t=0;t<o.length;t+=1)e.put(o[t],8)}};return i},C=function(t){var n=o,r=e.stringToBytesFuncs.SJIS;if(!r)throw"sjis not supported.";!function(){var e=r("\u53cb");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var i=r(t),a={getMode:function(){return n},getLength:function(e){return~~(i.length/2)},write:function(e){for(var t=i,n=0;n+1<t.length;){var r=(255&t[n])<<8|255&t[n+1];if(33088<=r&&r<=40956)r-=33088;else{if(!(57408<=r&&r<=60351))throw"illegal char at "+(n+1)+"/"+r;r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13),n+=2}if(n<t.length)throw"illegal char at "+(n+1)}};return a},k=function(){var e=[],t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var o=0;o<r;o+=1)t.writeByte(e[o+n])},writeString:function(e){for(var n=0;n<e.length;n+=1)t.writeByte(e.charCodeAt(n))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var n=0;n<e.length;n+=1)n>0&&(t+=","),t+=e[n];return t+="]"}};return t},S=function(e){var t=e,n=0,r=0,o=0,i={read:function(){for(;o<8;){if(n>=t.length){if(0==o)return-1;throw"unexpected end of file./"+o}var e=t.charAt(n);if(n+=1,"="==e)return o=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),o+=6)}var i=r>>>o-8&255;return o-=8,i}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return i},E=function(e,t,n){for(var r=function(e,t){var n=e,r=t,o=new Array(e*t),i={setPixel:function(e,t,r){o[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=a(2);e.writeByte(2);for(var o=0;t.length-o>255;)e.writeByte(255),e.writeBytes(t,o,255),o+=255;e.writeByte(t.length-o),e.writeBytes(t,o,t.length-o),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,i=s(),a=0;a<t;a+=1)i.add(String.fromCharCode(a));i.add(String.fromCharCode(t)),i.add(String.fromCharCode(n));var l=k(),c=function(e){var t=e,n=0,r=0;return{write:function(e,o){if(e>>>o!=0)throw"length over";for(;n+o>=8;)t.writeByte(255&(e<<n|r)),o-=8-n,e>>>=8-n,r=0,n=0;r|=e<<n,n+=o},flush:function(){n>0&&t.writeByte(r)}}}(l);c.write(t,r);var u=0,d=String.fromCharCode(o[u]);for(u+=1;u<o.length;){var f=String.fromCharCode(o[u]);u+=1,i.contains(d+f)?d+=f:(c.write(i.indexOf(d),r),i.size()<4095&&(i.size()==1<<r&&(r+=1),i.add(d+f)),d=f)}return c.write(i.indexOf(d),r),c.write(n,r),c.flush(),l.toByteArray()},s=function(){var e={},t=0,n={add:function(r){if(n.contains(r))throw"dup key:"+r;e[r]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return"undefined"!=typeof e[t]}};return n};return i}(e,t),o=0;o<t;o+=1)for(var i=0;i<e;i+=1)r.setPixel(i,o,n(i,o));var a=k();r.write(a);for(var s=function(){var e=0,t=0,n=0,r="",o={},i=function(e){r+=String.fromCharCode(a(63&e))},a=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return o.writeByte=function(r){for(e=e<<8|255&r,t+=8,n+=1;t>=6;)i(e>>>t-6),t-=6},o.flush=function(){if(t>0&&(i(e<<6-t),e=0,t=0),n%3!=0)for(var o=3-n%3,a=0;a<o;a+=1)r+="="},o.toString=function(){return r},o}(),l=a.toByteArray(),c=0;c<l.length;c+=1)s.writeByte(l[c]);return s.flush(),"data:image/gif;base64,"+s};return e}();t.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},e.exports=t}(Qi);const Zi=Qi.exports;function Yi(e){return _t(this,null,(function*(){try{if(!(null==navigator?void 0:navigator.clipboard))throw new Mr("Clipboard API not available");return yield navigator.clipboard.writeText(e)}catch(eb){}!function(e){const t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}finally{document.body.removeChild(t)}}(e)}))}const Xi=Fn("<div></div>"),Ji=e=>{let t,n,r;const[o,i]=qt(!1),[a,s]=qt(48);Vt((()=>{const o=Zi(0,"L");o.addData(e.sourceUrl),o.make(),t.innerHTML=o.createSvgTag(4,0);const i=t.firstElementChild.clientWidth,a=Math.round(256/i*1e5)/1e5;if(r){const e=4*Math.ceil(60/(4*a)),t=Rr(4*Math.ceil((i-e)/8));r.style.top=t,r.style.left=t,r.style.height=Rr(e),r.style.width=Rr(e),s(Math.round(48/a))}n.style.transform=`scale(${a})`}));let l=null;return kn(qi,{get class(){return e.class},onClick:()=>{i(!0),Yi(e.sourceUrl),null!=l&&clearTimeout(l),l=setTimeout((()=>i(!1)),1500)},get children(){return[kn(Hi,{ref(e){"function"===typeof n?n(e):n=e},get children(){return[(()=>{const e=Xi.cloneNode(!0);return"function"===typeof t?Hn(t,e):t=e,e})(),kn(On,{get when(){return e.imageUrl},get children(){return kn(Ki,{ref(e){"function"===typeof r?r(e):r=e},get children(){return kn(Vi,{get src(){return e.imageUrl},alt:"",get size(){return a()}})}})}})]}}),kn(si,{onBeforeEnter:e=>{Ri(e,[{opacity:0,transform:"translate(-50%, 44px)"},{opacity:1,transform:"translate(-50%, 0)"}],{duration:150,easing:"ease-out"})},onExit:(e,t)=>{Ri(e,[{opacity:1,transform:"translate(-50%, 0)"},{opacity:0,transform:"translate(-50%, 44px)"}],{duration:150,easing:"ease-out"}).finished.then((()=>{t()}))},get children(){return kn(On,{get when(){return o()&&!e.disableCopy},get children(){return kn(Gi,{get children(){return[kn(Oa,{size:"xs"}),kn(ia,{translationKey:"common.linkCopied",children:"Link Copied"})]}})}})}}),kn(On,{get when(){return!e.disableCopy},get children(){return kn(Bi,{get children(){return kn(us,{})}})}})]}})};var ea=(e,t,n)=>{const r=t.trim().split(".").reduce(((e,t)=>e?e[t]:void 0),e);return void 0!==r?r:n},ta=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.language in e?navigator.language:Object.keys(e)[0];const[n,r]=qt(t),[o,i]=Ao(e);return[(e,t,r)=>{const i=ea(o[n()],e,r||"");return"function"===typeof i?i(t):"string"===typeof i?function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/{{(.*?)}}/g;return e.replace(n,((e,n)=>ea(t,n,"")))}(i,t||{}):i},{add(e,t){i(e,(e=>Object.assign(e||{},t)))},locale:e=>e?r(e):n(),dict:e=>ea(o,e)}]},na=tn({}),ra=()=>nn(na);const oa=Cr.div`
|
|
311
|
+
`;var Qi={exports:{}};!function(e){var t=function(){var e=function(e,t){var n=e,r=i[t],o=null,a=0,s=null,l=[],c={},u=function(e,t){o=function(e){for(var t=new Array(e),n=0;n<e;n+=1){t[n]=new Array(e);for(var r=0;r<e;r+=1)t[n][r]=null}return t}(a=4*n+17),d(0,0),d(a-7,0),d(0,a-7),p(),f(),k(e,t),n>=7&&g(e),null==s&&(s=A(n,r,l)),S(s,t)},d=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||a<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||a<=t+r||(o[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},f=function(){for(var e=8;e<a-8;e+=1)null==o[e][6]&&(o[e][6]=e%2==0);for(var t=8;t<a-8;t+=1)null==o[6][t]&&(o[6][t]=t%2==0)},p=function(){for(var e=h.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var i=e[t],a=e[r];if(null==o[i][a])for(var s=-2;s<=2;s+=1)for(var l=-2;l<=2;l+=1)o[i+s][a+l]=-2==s||2==s||-2==l||2==l||0==s&&0==l}},g=function(e){for(var t=h.getBCHTypeNumber(n),r=0;r<18;r+=1){var i=!e&&1==(t>>r&1);o[Math.floor(r/3)][r%3+a-8-3]=i}for(r=0;r<18;r+=1){i=!e&&1==(t>>r&1);o[r%3+a-8-3][Math.floor(r/3)]=i}},k=function(e,t){for(var n=r<<3|t,i=h.getBCHTypeInfo(n),s=0;s<15;s+=1){var l=!e&&1==(i>>s&1);s<6?o[s][8]=l:s<8?o[s+1][8]=l:o[a-15+s][8]=l}for(s=0;s<15;s+=1){l=!e&&1==(i>>s&1);s<8?o[8][a-s-1]=l:s<9?o[8][15-s-1+1]=l:o[8][15-s-1]=l}o[a-8][8]=!e},S=function(e,t){for(var n=-1,r=a-1,i=7,s=0,l=h.getMaskFunction(t),c=a-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var u=0;u<2;u+=1)if(null==o[r][c-u]){var d=!1;s<e.length&&(d=1==(e[s]>>>i&1)),l(r,c-u)&&(d=!d),o[r][c-u]=d,-1==(i-=1)&&(s+=1,i=7)}if((r+=n)<0||a<=r){r-=n,n=-n;break}}},A=function(e,t,n){for(var r=y.getRSBlocks(e,t),o=v(),i=0;i<n.length;i+=1){var a=n[i];o.put(a.getMode(),4),o.put(a.getLength(),h.getLengthInBits(a.getMode(),e)),a.write(o)}var s=0;for(i=0;i<r.length;i+=1)s+=r[i].dataCount;if(o.getLengthInBits()>8*s)throw"code length overflow. ("+o.getLengthInBits()+">"+8*s+")";for(o.getLengthInBits()+4<=8*s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*s)&&(o.put(236,8),!(o.getLengthInBits()>=8*s));)o.put(17,8);return function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),a=new Array(t.length),s=0;s<t.length;s+=1){var l=t[s].dataCount,c=t[s].totalCount-l;r=Math.max(r,l),o=Math.max(o,c),i[s]=new Array(l);for(var u=0;u<i[s].length;u+=1)i[s][u]=255&e.getBuffer()[u+n];n+=l;var d=h.getErrorCorrectPolynomial(c),f=m(i[s],d.getLength()-1).mod(d);for(a[s]=new Array(d.getLength()-1),u=0;u<a[s].length;u+=1){var p=u+f.getLength()-a[s].length;a[s][u]=p>=0?f.getAt(p):0}}var g=0;for(u=0;u<t.length;u+=1)g+=t[u].totalCount;var y=new Array(g),v=0;for(u=0;u<r;u+=1)for(s=0;s<t.length;s+=1)u<i[s].length&&(y[v]=i[s][u],v+=1);for(u=0;u<o;u+=1)for(s=0;s<t.length;s+=1)u<a[s].length&&(y[v]=a[s][u],v+=1);return y}(o,r)};c.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=b(e);break;case"Alphanumeric":n=w(e);break;case"Byte":n=x(e);break;case"Kanji":n=C(e);break;default:throw"mode:"+t}l.push(n),s=null},c.isDark=function(e,t){if(e<0||a<=e||t<0||a<=t)throw e+","+t;return o[e][t]},c.getModuleCount=function(){return a},c.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=y.getRSBlocks(e,r),o=v(),i=0;i<l.length;i++){var a=l[i];o.put(a.getMode(),4),o.put(a.getLength(),h.getLengthInBits(a.getMode(),e)),a.write(o)}var s=0;for(i=0;i<t.length;i++)s+=t[i].dataCount;if(o.getLengthInBits()<=8*s)break}n=e}u(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){u(!0,n);var r=h.getLostPoint(c);(0==n||e>r)&&(e=r,t=n)}return t}())},c.createTableTag=function(e,t){e=e||2;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+(t="undefined"==typeof t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<c.getModuleCount();r+=1){n+="<tr>";for(var o=0;o<c.getModuleCount();o+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+e+"px;",n+=" height: "+e+"px;",n+=" background-color: ",n+=c.isDark(r,o)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return n+="</tbody>",n+="</table>"},c.createSvgTag=function(e,t,n,r){var o={};"object"==typeof arguments[0]&&(e=(o=arguments[0]).cellSize,t=o.margin,n=o.alt,r=o.title),e=e||2,t="undefined"==typeof t?4*e:t,(n="string"===typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"===typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var i,a,s,l,u=c.getModuleCount()*e+2*t,d="";for(l="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",d+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',d+=o.scalable?"":' width="'+u+'px" height="'+u+'px"',d+=' viewBox="0 0 '+u+" "+u+'" ',d+=' preserveAspectRatio="xMinYMin meet"',d+=r.text||n.text?' role="img" aria-labelledby="'+_([r.id,n.id].join(" ").trim())+'"':"",d+=">",d+=r.text?'<title id="'+_(r.id)+'">'+_(r.text)+"</title>":"",d+=n.text?'<description id="'+_(n.id)+'">'+_(n.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',a=0;a<c.getModuleCount();a+=1)for(s=a*e+t,i=0;i<c.getModuleCount();i+=1)c.isDark(a,i)&&(d+="M"+(i*e+t)+","+s+l);return d+='" stroke="transparent" fill="black"/>',d+="</svg>"},c.createDataURL=function(e,t){e=e||2,t="undefined"==typeof t?4*e:t;var n=c.getModuleCount()*e+2*t,r=t,o=n-t;return E(n,n,(function(t,n){if(r<=t&&t<o&&r<=n&&n<o){var i=Math.floor((t-r)/e),a=Math.floor((n-r)/e);return c.isDark(a,i)?0:1}return 1}))},c.createImgTag=function(e,t,n){e=e||2,t="undefined"==typeof t?4*e:t;var r=c.getModuleCount()*e+2*t,o="";return o+="<img",o+=' src="',o+=c.createDataURL(e,t),o+='"',o+=' width="',o+=r,o+='"',o+=' height="',o+=r,o+='"',n&&(o+=' alt="',o+=_(n),o+='"'),o+="/>"};var _=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="<";break;case">":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=r}}return t};return c.createASCII=function(e,t){if((e=e||1)<2)return function(e){e="undefined"==typeof e?2:e;var t,n,r,o,i,a=1*c.getModuleCount()+2*e,s=e,l=a-e,u={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},d={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},f="";for(t=0;t<a;t+=2){for(r=Math.floor((t-s)/1),o=Math.floor((t+1-s)/1),n=0;n<a;n+=1)i="\u2588",s<=n&&n<l&&s<=t&&t<l&&c.isDark(r,Math.floor((n-s)/1))&&(i=" "),s<=n&&n<l&&s<=t+1&&t+1<l&&c.isDark(o,Math.floor((n-s)/1))?i+=" ":i+="\u2588",f+=e<1&&t+1>=l?d[i]:u[i];f+="\n"}return a%2&&e>0?f.substring(0,f.length-a-1)+Array(a+1).join("\u2580"):f.substring(0,f.length-1)}(t);e-=1,t="undefined"==typeof t?2*e:t;var n,r,o,i,a=c.getModuleCount()*e+2*t,s=t,l=a-t,u=Array(e+1).join("\u2588\u2588"),d=Array(e+1).join(" "),f="",p="";for(n=0;n<a;n+=1){for(o=Math.floor((n-s)/e),p="",r=0;r<a;r+=1)i=1,s<=r&&r<l&&s<=n&&n<l&&c.isDark(o,Math.floor((r-s)/e))&&(i=0),p+=i?u:d;for(o=0;o<e;o+=1)f+=p+"\n"}return f.substring(0,f.length-1)},c.renderTo2dContext=function(e,t){t=t||2;for(var n=c.getModuleCount(),r=0;r<n;r++)for(var o=0;o<n;o++)e.fillStyle=c.isDark(r,o)?"black":"white",e.fillRect(r*t,o*t,t,t)},c};e.stringToBytes=(e.stringToBytesFuncs={default:function(e){for(var t=[],n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t.push(255&r)}return t}}).default,e.createStringToBytes=function(e,t){var n=function(){for(var n=S(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},o=0,i={};;){var a=n.read();if(-1==a)break;var s=r(),l=r()<<8|r();i[String.fromCharCode(a<<8|s)]=l,o+=1}if(o!=t)throw o+" != "+t;return i}(),r="?".charCodeAt(0);return function(e){for(var t=[],o=0;o<e.length;o+=1){var i=e.charCodeAt(o);if(i<128)t.push(i);else{var a=n[e.charAt(o)];"number"==typeof a?(255&a)==a?t.push(a):(t.push(a>>>8),t.push(255&a)):t.push(r)}}return t}};var t=1,n=2,r=4,o=8,i={L:1,M:0,Q:3,H:2},a=0,s=1,l=2,c=3,u=4,d=5,f=6,p=7,h=function(){var e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],i=1335,h=7973,y={},v=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t};return y.getBCHTypeInfo=function(e){for(var t=e<<10;v(t)-v(i)>=0;)t^=i<<v(t)-v(i);return 21522^(e<<10|t)},y.getBCHTypeNumber=function(e){for(var t=e<<12;v(t)-v(h)>=0;)t^=h<<v(t)-v(h);return e<<12|t},y.getPatternPosition=function(t){return e[t-1]},y.getMaskFunction=function(e){switch(e){case a:return function(e,t){return(e+t)%2==0};case s:return function(e,t){return e%2==0};case l:return function(e,t){return t%3==0};case c:return function(e,t){return(e+t)%3==0};case u:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case d:return function(e,t){return e*t%2+e*t%3==0};case f:return function(e,t){return(e*t%2+e*t%3)%2==0};case p:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},y.getErrorCorrectPolynomial=function(e){for(var t=m([1],0),n=0;n<e;n+=1)t=t.multiply(m([1,g.gexp(n)],0));return t},y.getLengthInBits=function(e,i){if(1<=i&&i<10)switch(e){case t:return 10;case n:return 9;case r:case o:return 8;default:throw"mode:"+e}else if(i<27)switch(e){case t:return 12;case n:return 11;case r:return 16;case o:return 10;default:throw"mode:"+e}else{if(!(i<41))throw"type:"+i;switch(e){case t:return 14;case n:return 13;case r:return 16;case o:return 12;default:throw"mode:"+e}}},y.getLostPoint=function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r+=1)for(var o=0;o<t;o+=1){for(var i=0,a=e.isDark(r,o),s=-1;s<=1;s+=1)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l+=1)o+l<0||t<=o+l||0==s&&0==l||a==e.isDark(r+s,o+l)&&(i+=1);i>5&&(n+=3+i-5)}for(r=0;r<t-1;r+=1)for(o=0;o<t-1;o+=1){var c=0;e.isDark(r,o)&&(c+=1),e.isDark(r+1,o)&&(c+=1),e.isDark(r,o+1)&&(c+=1),e.isDark(r+1,o+1)&&(c+=1),0!=c&&4!=c||(n+=3)}for(r=0;r<t;r+=1)for(o=0;o<t-6;o+=1)e.isDark(r,o)&&!e.isDark(r,o+1)&&e.isDark(r,o+2)&&e.isDark(r,o+3)&&e.isDark(r,o+4)&&!e.isDark(r,o+5)&&e.isDark(r,o+6)&&(n+=40);for(o=0;o<t;o+=1)for(r=0;r<t-6;r+=1)e.isDark(r,o)&&!e.isDark(r+1,o)&&e.isDark(r+2,o)&&e.isDark(r+3,o)&&e.isDark(r+4,o)&&!e.isDark(r+5,o)&&e.isDark(r+6,o)&&(n+=40);var u=0;for(o=0;o<t;o+=1)for(r=0;r<t;r+=1)e.isDark(r,o)&&(u+=1);return n+=10*(Math.abs(100*u/t/t-50)/5)},y}(),g=function(){for(var e=new Array(256),t=new Array(256),n=0;n<8;n+=1)e[n]=1<<n;for(n=8;n<256;n+=1)e[n]=e[n-4]^e[n-5]^e[n-6]^e[n-8];for(n=0;n<255;n+=1)t[e[n]]=n;var r={glog:function(e){if(e<1)throw"glog("+e+")";return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}};return r}();function m(e,t){if("undefined"==typeof e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n<e.length&&0==e[n];)n+=1;for(var r=new Array(e.length-n+t),o=0;o<e.length-n;o+=1)r[o]=e[o+n];return r}(),r={getAt:function(e){return n[e]},getLength:function(){return n.length},multiply:function(e){for(var t=new Array(r.getLength()+e.getLength()-1),n=0;n<r.getLength();n+=1)for(var o=0;o<e.getLength();o+=1)t[n+o]^=g.gexp(g.glog(r.getAt(n))+g.glog(e.getAt(o)));return m(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=g.glog(r.getAt(0))-g.glog(e.getAt(0)),n=new Array(r.getLength()),o=0;o<r.getLength();o+=1)n[o]=r.getAt(o);for(o=0;o<e.getLength();o+=1)n[o]^=g.gexp(g.glog(e.getAt(o))+t);return m(n,0).mod(e)}};return r}var y=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var n={};return n.totalCount=e,n.dataCount=t,n},n={};return n.getRSBlocks=function(n,r){var o=function(t,n){switch(n){case i.L:return e[4*(t-1)+0];case i.M:return e[4*(t-1)+1];case i.Q:return e[4*(t-1)+2];case i.H:return e[4*(t-1)+3];default:return}}(n,r);if("undefined"==typeof o)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var a=o.length/3,s=[],l=0;l<a;l+=1)for(var c=o[3*l+0],u=o[3*l+1],d=o[3*l+2],f=0;f<c;f+=1)s.push(t(u,d));return s},n}(),v=function(){var e=[],t=0,n={getBuffer:function(){return e},getAt:function(t){var n=Math.floor(t/8);return 1==(e[n]>>>7-t%8&1)},put:function(e,t){for(var r=0;r<t;r+=1)n.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},b=function(e){var n=t,r=e,o={getMode:function(){return n},getLength:function(e){return r.length},write:function(e){for(var t=r,n=0;n+2<t.length;)e.put(i(t.substring(n,n+3)),10),n+=3;n<t.length&&(t.length-n==1?e.put(i(t.substring(n,n+1)),4):t.length-n==2&&e.put(i(t.substring(n,n+2)),7))}},i=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+a(e.charAt(n));return t},a=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return o},w=function(e){var t=n,r=e,o={getMode:function(){return t},getLength:function(e){return r.length},write:function(e){for(var t=r,n=0;n+1<t.length;)e.put(45*i(t.charAt(n))+i(t.charAt(n+1)),11),n+=2;n<t.length&&e.put(i(t.charAt(n)),6)}},i=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return o},x=function(t){var n=r,o=e.stringToBytes(t),i={getMode:function(){return n},getLength:function(e){return o.length},write:function(e){for(var t=0;t<o.length;t+=1)e.put(o[t],8)}};return i},C=function(t){var n=o,r=e.stringToBytesFuncs.SJIS;if(!r)throw"sjis not supported.";!function(){var e=r("\u53cb");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var i=r(t),a={getMode:function(){return n},getLength:function(e){return~~(i.length/2)},write:function(e){for(var t=i,n=0;n+1<t.length;){var r=(255&t[n])<<8|255&t[n+1];if(33088<=r&&r<=40956)r-=33088;else{if(!(57408<=r&&r<=60351))throw"illegal char at "+(n+1)+"/"+r;r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13),n+=2}if(n<t.length)throw"illegal char at "+(n+1)}};return a},k=function(){var e=[],t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var o=0;o<r;o+=1)t.writeByte(e[o+n])},writeString:function(e){for(var n=0;n<e.length;n+=1)t.writeByte(e.charCodeAt(n))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var n=0;n<e.length;n+=1)n>0&&(t+=","),t+=e[n];return t+="]"}};return t},S=function(e){var t=e,n=0,r=0,o=0,i={read:function(){for(;o<8;){if(n>=t.length){if(0==o)return-1;throw"unexpected end of file./"+o}var e=t.charAt(n);if(n+=1,"="==e)return o=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),o+=6)}var i=r>>>o-8&255;return o-=8,i}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return i},E=function(e,t,n){for(var r=function(e,t){var n=e,r=t,o=new Array(e*t),i={setPixel:function(e,t,r){o[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=a(2);e.writeByte(2);for(var o=0;t.length-o>255;)e.writeByte(255),e.writeBytes(t,o,255),o+=255;e.writeByte(t.length-o),e.writeBytes(t,o,t.length-o),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,i=s(),a=0;a<t;a+=1)i.add(String.fromCharCode(a));i.add(String.fromCharCode(t)),i.add(String.fromCharCode(n));var l=k(),c=function(e){var t=e,n=0,r=0;return{write:function(e,o){if(e>>>o!=0)throw"length over";for(;n+o>=8;)t.writeByte(255&(e<<n|r)),o-=8-n,e>>>=8-n,r=0,n=0;r|=e<<n,n+=o},flush:function(){n>0&&t.writeByte(r)}}}(l);c.write(t,r);var u=0,d=String.fromCharCode(o[u]);for(u+=1;u<o.length;){var f=String.fromCharCode(o[u]);u+=1,i.contains(d+f)?d+=f:(c.write(i.indexOf(d),r),i.size()<4095&&(i.size()==1<<r&&(r+=1),i.add(d+f)),d=f)}return c.write(i.indexOf(d),r),c.write(n,r),c.flush(),l.toByteArray()},s=function(){var e={},t=0,n={add:function(r){if(n.contains(r))throw"dup key:"+r;e[r]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return"undefined"!=typeof e[t]}};return n};return i}(e,t),o=0;o<t;o+=1)for(var i=0;i<e;i+=1)r.setPixel(i,o,n(i,o));var a=k();r.write(a);for(var s=function(){var e=0,t=0,n=0,r="",o={},i=function(e){r+=String.fromCharCode(a(63&e))},a=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return o.writeByte=function(r){for(e=e<<8|255&r,t+=8,n+=1;t>=6;)i(e>>>t-6),t-=6},o.flush=function(){if(t>0&&(i(e<<6-t),e=0,t=0),n%3!=0)for(var o=3-n%3,a=0;a<o;a+=1)r+="="},o.toString=function(){return r},o}(),l=a.toByteArray(),c=0;c<l.length;c+=1)s.writeByte(l[c]);return s.flush(),"data:image/gif;base64,"+s};return e}();t.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},e.exports=t}(Qi);const Zi=Qi.exports;function Yi(e){return _t(this,null,(function*(){try{if(!(null==navigator?void 0:navigator.clipboard))throw new Mr("Clipboard API not available");return yield navigator.clipboard.writeText(e)}catch(nb){}!function(e){const t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}finally{document.body.removeChild(t)}}(e)}))}const Xi=Fn("<div></div>"),Ji=e=>{let t,n,r;const[o,i]=qt(!1),[a,s]=qt(48);Vt((()=>{const o=Zi(0,"L");o.addData(e.sourceUrl),o.make(),t.innerHTML=o.createSvgTag(4,0);const i=t.firstElementChild.clientWidth,a=Math.round(256/i*1e5)/1e5;if(r){const e=4*Math.ceil(60/(4*a)),t=Rr(4*Math.ceil((i-e)/8));r.style.top=t,r.style.left=t,r.style.height=Rr(e),r.style.width=Rr(e),s(Math.round(48/a))}n.style.transform=`scale(${a})`}));let l=null;return kn(qi,{get class(){return e.class},onClick:()=>{i(!0),Yi(e.sourceUrl),null!=l&&clearTimeout(l),l=setTimeout((()=>i(!1)),1500)},get children(){return[kn(Hi,{ref(e){"function"===typeof n?n(e):n=e},get children(){return[(()=>{const e=Xi.cloneNode(!0);return"function"===typeof t?Hn(t,e):t=e,e})(),kn(On,{get when(){return e.imageUrl},get children(){return kn(Ki,{ref(e){"function"===typeof r?r(e):r=e},get children(){return kn(Vi,{get src(){return e.imageUrl},alt:"",get size(){return a()}})}})}})]}}),kn(si,{onBeforeEnter:e=>{Ri(e,[{opacity:0,transform:"translate(-50%, 44px)"},{opacity:1,transform:"translate(-50%, 0)"}],{duration:150,easing:"ease-out"})},onExit:(e,t)=>{Ri(e,[{opacity:1,transform:"translate(-50%, 0)"},{opacity:0,transform:"translate(-50%, 44px)"}],{duration:150,easing:"ease-out"}).finished.then((()=>{t()}))},get children(){return kn(On,{get when(){return o()&&!e.disableCopy},get children(){return kn(Gi,{get children(){return[kn(Oa,{size:"xs"}),kn(ia,{translationKey:"common.linkCopied",children:"Link Copied"})]}})}})}}),kn(On,{get when(){return!e.disableCopy},get children(){return kn(Bi,{get children(){return kn(us,{})}})}})]}})};var ea=(e,t,n)=>{const r=t.trim().split(".").reduce(((e,t)=>e?e[t]:void 0),e);return void 0!==r?r:n},ta=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.language in e?navigator.language:Object.keys(e)[0];const[n,r]=qt(t),[o,i]=Ao(e);return[(e,t,r)=>{const i=ea(o[n()],e,r||"");return"function"===typeof i?i(t):"string"===typeof i?function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/{{(.*?)}}/g;return e.replace(n,((e,n)=>ea(t,n,"")))}(i,t||{}):i},{add(e,t){i(e,(e=>Object.assign(e||{},t)))},locale:e=>e?r(e):n(),dict:e=>ea(o,e)}]},na=tn({}),ra=()=>nn(na);const oa=Cr.div`
|
|
312
312
|
font-style: normal;
|
|
313
313
|
font-weight: ${e=>e.fontWeight};
|
|
314
314
|
font-size: ${e=>e.fontSize};
|
|
@@ -463,7 +463,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
463
463
|
margin-bottom: 0;
|
|
464
464
|
|
|
465
465
|
cursor: default;
|
|
466
|
-
`,Sa=e=>{const[t]=ra();return kn(ka,{"data-tc-h3":"true",get class(){return e.class},get children(){var n;return Gt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},Ea=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.1839 17.7069C13.6405 18.6507 13.3688 19.1226 13.0591 19.348C12.4278 19.8074 11.5723 19.8074 10.941 19.348C10.6312 19.1226 10.3595 18.6507 9.81613 17.7069L5.52066 10.2464C4.76864 8.94024 4.39263 8.28717 4.33762 7.75894C4.2255 6.68236 4.81894 5.65591 5.80788 5.21589C6.29309 5 7.04667 5 8.55383 5H15.4462C16.9534 5 17.7069 5 18.1922 5.21589C19.1811 5.65591 19.7745 6.68236 19.6624 7.75894C19.6074 8.28717 19.2314 8.94024 18.4794 10.2464L14.1839 17.7069ZM11.1 16.3412L6.56139 8.48002C6.31995 8.06185 6.19924 7.85276 6.18146 7.68365C6.14523 7.33896 6.33507 7.01015 6.65169 6.86919C6.80703 6.80002 7.04847 6.80002 7.53133 6.80002H7.53134L11.1 6.80002V16.3412ZM12.9 16.3412L17.4387 8.48002C17.6801 8.06185 17.8008 7.85276 17.8186 7.68365C17.8548 7.33896 17.665 7.01015 17.3484 6.86919C17.193 6.80002 16.9516 6.80002 16.4687 6.80002L12.9 6.80002V16.3412Z"></path></svg>'),Aa=e=>{const t=wr();return(()=>{const n=Ea.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},_a=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><g clip-path="url(#clip0_3783_2045)"><circle cx="8" cy="8.00098" r="8"></circle><path d="M4.75 8.50098L7 10.751L11.75 6.00098" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_3783_2045"><rect width="16" height="16" fill="white" transform="translate(0 0.000976562)"></rect></clipPath></defs></svg>'),Ta=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="11"></circle><path d="M17.1364 9.6364C17.4879 9.28493 17.4879 8.71508 17.1364 8.36361C16.7849 8.01214 16.2151 8.01214 15.8636 8.36361L10 14.2272L8.1364 12.3636C7.78493 12.0121 7.21508 12.0121 6.86361 12.3636C6.51214 12.7151 6.51214 13.2849 6.86361 13.6364L9.36361 16.1364C9.71508 16.4879 10.2849 16.4879 10.6364 16.1364L17.1364 9.6364Z"></path></svg>'),Ra=Fn('<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="36" cy="36" r="33"></circle><path d="M50.9142 28.4142C51.6953 27.6332 51.6953 26.3668 50.9142 25.5858C50.1332 24.8047 48.8668 24.8047 48.0858 25.5858L30 43.6716L23.9142 37.5858C23.1332 36.8047 21.8668 36.8047 21.0858 37.5858C20.3047 38.3668 20.3047 39.6332 21.0858 40.4142L28.5858 47.9142C29.3668 48.6953 30.6332 48.6953 31.4142 47.9142L50.9142 28.4142Z"></path></svg>'),Oa=e=>{const t=wr(),n=()=>e.size||"s",r=()=>e.fill||t.colors.icon.success;return Gt((()=>{const o=Gt((()=>"xs"===n()));return()=>o()?(()=>{const n=_a.cloneNode(!0),o=n.firstChild.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$&&zn(n,"class",a._v$=s),l!==a._v$2&&zn(o,"fill",a._v$2=l),c!==a._v$3&&zn(i,"stroke",a._v$3=c),a}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=Gt((()=>"s"===n()));return()=>o()?(()=>{const n=Ta.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$4&&zn(n,"class",a._v$4=s),l!==a._v$5&&zn(o,"fill",a._v$5=l),c!==a._v$6&&zn(i,"fill",a._v$6=c),a}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=Ra.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$7&&zn(n,"class",a._v$7=s),l!==a._v$8&&zn(o,"fill",a._v$8=l),c!==a._v$9&&zn(i,"fill",a._v$9=c),a}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},Pa=Fn('<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="36" cy="36" r="33"></circle><path d="M24.0858 26.9142C23.3047 26.1332 23.3047 24.8668 24.0858 24.0858C24.8668 23.3047 26.1332 23.3047 26.9142 24.0858L36 33.1716L45.0858 24.0858C45.8668 23.3047 47.1332 23.3047 47.9142 24.0858C48.6953 24.8668 48.6953 26.1332 47.9142 26.9142L38.8284 36L47.9142 45.0858C48.6953 45.8668 48.6953 47.1332 47.9142 47.9142C47.1332 48.6953 45.8668 48.6953 45.0858 47.9142L36 38.8284L26.9142 47.9142C26.1332 48.6953 24.8668 48.6953 24.0858 47.9142C23.3047 47.1332 23.3047 45.8668 24.0858 45.0858L33.1716 36L24.0858 26.9142Z"></path></svg>'),Ma=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><circle cx="24" cy="24.001" r="22"></circle><path d="M24 24.001L31.5 16.501M24 24.001L16.5 16.501M24 24.001L16.5 31.501M24 24.001L31.5 31.501" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path></svg>'),La=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="11"></circle><path d="M7.86361 9.1364C7.51214 8.78493 7.51214 8.21508 7.86361 7.86361C8.21508 7.51214 8.78493 7.51214 9.1364 7.86361L12 10.7272L14.8636 7.86361C15.2151 7.51214 15.7849 7.51214 16.1364 7.86361C16.4879 8.21508 16.4879 8.78493 16.1364 9.1364L13.2728 12L16.1364 14.8636C16.4879 15.2151 16.4879 15.7849 16.1364 16.1364C15.7849 16.4879 15.2151 16.4879 14.8636 16.1364L12 13.2728L9.1364 16.1364C8.78493 16.4879 8.21508 16.4879 7.86361 16.1364C7.51214 15.7849 7.51214 15.2151 7.86361 14.8636L10.7272 12L7.86361 9.1364Z"></path></svg>'),Na=e=>{const t=wr(),n=()=>e.size||"m",r=()=>e.fill||t.colors.icon.error;return Gt((()=>{const o=Gt((()=>"m"===n()));return()=>o()?(()=>{const n=Pa.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$&&zn(n,"class",a._v$=s),l!==a._v$2&&zn(o,"fill",a._v$2=l),c!==a._v$3&&zn(i,"fill",a._v$3=c),a}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=Gt((()=>"s"===n()));return()=>o()?(()=>{const n=Ma.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$4&&zn(n,"class",a._v$4=s),l!==a._v$5&&zn(o,"fill",a._v$5=l),c!==a._v$6&&zn(i,"stroke",a._v$6=c),a}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=La.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$7&&zn(n,"class",a._v$7=s),l!==a._v$8&&zn(o,"fill",a._v$8=l),c!==a._v$9&&zn(i,"fill",a._v$9=c),a}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},Ia=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.55 5.85123C18.9459 7.81184 20.1094 12.1541 18.1488 15.55C16.1882 18.9459 11.8459 20.1094 8.44998 18.1488C8.01952 17.9003 7.46909 18.0478 7.22056 18.4782C6.97203 18.9087 7.11952 19.4591 7.54998 19.7076C11.8068 22.1653 17.2499 20.7068 19.7076 16.45C22.1653 12.1932 20.7068 6.75005 16.45 4.29239C12.1932 1.83472 6.75003 3.29321 4.29236 7.55001C4.04383 7.98047 4.19132 8.53091 4.62178 8.77943C5.05224 9.02796 5.60268 8.88048 5.8512 8.45001C7.81181 5.05413 12.1541 3.89062 15.55 5.85123Z"></path></svg>'),ja=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 44 44" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 2.99951C11.5066 2.99951 3 11.5061 3 21.9995C3 32.4929 11.5066 40.9995 22 40.9995C22.8284 40.9995 23.5 41.6711 23.5 42.4995C23.5 43.3279 22.8284 43.9995 22 43.9995C9.84974 43.9995 0 34.1498 0 21.9995C0 9.84925 9.84974 -0.000488281 22 -0.000488281C34.1503 -0.000488281 44 9.84925 44 21.9995C44 22.8279 43.3284 23.4995 42.5 23.4995C41.6716 23.4995 41 22.8279 41 21.9995C41 11.5061 32.4934 2.99951 22 2.99951Z"></path></svg>'),$a=Fn('<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 56.7846C35.479 63.412 50.1572 59.479 56.7846 47.9999C63.412 36.5209 59.479 21.8427 48 15.2153C36.521 8.58791 21.8428 12.5209 15.2154 23.9999" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></svg>'),
|
|
466
|
+
`,Sa=e=>{const[t]=ra();return kn(ka,{"data-tc-h3":"true",get class(){return e.class},get children(){var n;return Gt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},Ea=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.1839 17.7069C13.6405 18.6507 13.3688 19.1226 13.0591 19.348C12.4278 19.8074 11.5723 19.8074 10.941 19.348C10.6312 19.1226 10.3595 18.6507 9.81613 17.7069L5.52066 10.2464C4.76864 8.94024 4.39263 8.28717 4.33762 7.75894C4.2255 6.68236 4.81894 5.65591 5.80788 5.21589C6.29309 5 7.04667 5 8.55383 5H15.4462C16.9534 5 17.7069 5 18.1922 5.21589C19.1811 5.65591 19.7745 6.68236 19.6624 7.75894C19.6074 8.28717 19.2314 8.94024 18.4794 10.2464L14.1839 17.7069ZM11.1 16.3412L6.56139 8.48002C6.31995 8.06185 6.19924 7.85276 6.18146 7.68365C6.14523 7.33896 6.33507 7.01015 6.65169 6.86919C6.80703 6.80002 7.04847 6.80002 7.53133 6.80002H7.53134L11.1 6.80002V16.3412ZM12.9 16.3412L17.4387 8.48002C17.6801 8.06185 17.8008 7.85276 17.8186 7.68365C17.8548 7.33896 17.665 7.01015 17.3484 6.86919C17.193 6.80002 16.9516 6.80002 16.4687 6.80002L12.9 6.80002V16.3412Z"></path></svg>'),Aa=e=>{const t=wr();return(()=>{const n=Ea.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},_a=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><g clip-path="url(#clip0_3783_2045)"><circle cx="8" cy="8.00098" r="8"></circle><path d="M4.75 8.50098L7 10.751L11.75 6.00098" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_3783_2045"><rect width="16" height="16" fill="white" transform="translate(0 0.000976562)"></rect></clipPath></defs></svg>'),Ta=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="11"></circle><path d="M17.1364 9.6364C17.4879 9.28493 17.4879 8.71508 17.1364 8.36361C16.7849 8.01214 16.2151 8.01214 15.8636 8.36361L10 14.2272L8.1364 12.3636C7.78493 12.0121 7.21508 12.0121 6.86361 12.3636C6.51214 12.7151 6.51214 13.2849 6.86361 13.6364L9.36361 16.1364C9.71508 16.4879 10.2849 16.4879 10.6364 16.1364L17.1364 9.6364Z"></path></svg>'),Ra=Fn('<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="36" cy="36" r="33"></circle><path d="M50.9142 28.4142C51.6953 27.6332 51.6953 26.3668 50.9142 25.5858C50.1332 24.8047 48.8668 24.8047 48.0858 25.5858L30 43.6716L23.9142 37.5858C23.1332 36.8047 21.8668 36.8047 21.0858 37.5858C20.3047 38.3668 20.3047 39.6332 21.0858 40.4142L28.5858 47.9142C29.3668 48.6953 30.6332 48.6953 31.4142 47.9142L50.9142 28.4142Z"></path></svg>'),Oa=e=>{const t=wr(),n=()=>e.size||"s",r=()=>e.fill||t.colors.icon.success;return Gt((()=>{const o=Gt((()=>"xs"===n()));return()=>o()?(()=>{const n=_a.cloneNode(!0),o=n.firstChild.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$&&zn(n,"class",a._v$=s),l!==a._v$2&&zn(o,"fill",a._v$2=l),c!==a._v$3&&zn(i,"stroke",a._v$3=c),a}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=Gt((()=>"s"===n()));return()=>o()?(()=>{const n=Ta.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$4&&zn(n,"class",a._v$4=s),l!==a._v$5&&zn(o,"fill",a._v$5=l),c!==a._v$6&&zn(i,"fill",a._v$6=c),a}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=Ra.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$7&&zn(n,"class",a._v$7=s),l!==a._v$8&&zn(o,"fill",a._v$8=l),c!==a._v$9&&zn(i,"fill",a._v$9=c),a}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},Pa=Fn('<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="36" cy="36" r="33"></circle><path d="M24.0858 26.9142C23.3047 26.1332 23.3047 24.8668 24.0858 24.0858C24.8668 23.3047 26.1332 23.3047 26.9142 24.0858L36 33.1716L45.0858 24.0858C45.8668 23.3047 47.1332 23.3047 47.9142 24.0858C48.6953 24.8668 48.6953 26.1332 47.9142 26.9142L38.8284 36L47.9142 45.0858C48.6953 45.8668 48.6953 47.1332 47.9142 47.9142C47.1332 48.6953 45.8668 48.6953 45.0858 47.9142L36 38.8284L26.9142 47.9142C26.1332 48.6953 24.8668 48.6953 24.0858 47.9142C23.3047 47.1332 23.3047 45.8668 24.0858 45.0858L33.1716 36L24.0858 26.9142Z"></path></svg>'),Ma=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><circle cx="24" cy="24.001" r="22"></circle><path d="M24 24.001L31.5 16.501M24 24.001L16.5 16.501M24 24.001L16.5 31.501M24 24.001L31.5 31.501" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path></svg>'),La=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="11"></circle><path d="M7.86361 9.1364C7.51214 8.78493 7.51214 8.21508 7.86361 7.86361C8.21508 7.51214 8.78493 7.51214 9.1364 7.86361L12 10.7272L14.8636 7.86361C15.2151 7.51214 15.7849 7.51214 16.1364 7.86361C16.4879 8.21508 16.4879 8.78493 16.1364 9.1364L13.2728 12L16.1364 14.8636C16.4879 15.2151 16.4879 15.7849 16.1364 16.1364C15.7849 16.4879 15.2151 16.4879 14.8636 16.1364L12 13.2728L9.1364 16.1364C8.78493 16.4879 8.21508 16.4879 7.86361 16.1364C7.51214 15.7849 7.51214 15.2151 7.86361 14.8636L10.7272 12L7.86361 9.1364Z"></path></svg>'),Na=e=>{const t=wr(),n=()=>e.size||"m",r=()=>e.fill||t.colors.icon.error;return Gt((()=>{const o=Gt((()=>"m"===n()));return()=>o()?(()=>{const n=Pa.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$&&zn(n,"class",a._v$=s),l!==a._v$2&&zn(o,"fill",a._v$2=l),c!==a._v$3&&zn(i,"fill",a._v$3=c),a}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=Gt((()=>"s"===n()));return()=>o()?(()=>{const n=Ma.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$4&&zn(n,"class",a._v$4=s),l!==a._v$5&&zn(o,"fill",a._v$5=l),c!==a._v$6&&zn(i,"stroke",a._v$6=c),a}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=La.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return Kt((a=>{const s=e.class,l=r(),c=t.colors.constant.white;return s!==a._v$7&&zn(n,"class",a._v$7=s),l!==a._v$8&&zn(o,"fill",a._v$8=l),c!==a._v$9&&zn(i,"fill",a._v$9=c),a}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},Ia=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.55 5.85123C18.9459 7.81184 20.1094 12.1541 18.1488 15.55C16.1882 18.9459 11.8459 20.1094 8.44998 18.1488C8.01952 17.9003 7.46909 18.0478 7.22056 18.4782C6.97203 18.9087 7.11952 19.4591 7.54998 19.7076C11.8068 22.1653 17.2499 20.7068 19.7076 16.45C22.1653 12.1932 20.7068 6.75005 16.45 4.29239C12.1932 1.83472 6.75003 3.29321 4.29236 7.55001C4.04383 7.98047 4.19132 8.53091 4.62178 8.77943C5.05224 9.02796 5.60268 8.88048 5.8512 8.45001C7.81181 5.05413 12.1541 3.89062 15.55 5.85123Z"></path></svg>'),ja=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 44 44" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 2.99951C11.5066 2.99951 3 11.5061 3 21.9995C3 32.4929 11.5066 40.9995 22 40.9995C22.8284 40.9995 23.5 41.6711 23.5 42.4995C23.5 43.3279 22.8284 43.9995 22 43.9995C9.84974 43.9995 0 34.1498 0 21.9995C0 9.84925 9.84974 -0.000488281 22 -0.000488281C34.1503 -0.000488281 44 9.84925 44 21.9995C44 22.8279 43.3284 23.4995 42.5 23.4995C41.6716 23.4995 41 22.8279 41 21.9995C41 11.5061 32.4934 2.99951 22 2.99951Z"></path></svg>'),$a=Fn('<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 56.7846C35.479 63.412 50.1572 59.479 56.7846 47.9999C63.412 36.5209 59.479 21.8427 48 15.2153C36.521 8.58791 21.8428 12.5209 15.2154 23.9999" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></svg>'),Da=e=>{const t=wr(),n=()=>e.size||"xs",r=()=>e.fill||t.colors.icon.tertiary,o=mr`
|
|
467
467
|
animation: ${yr`
|
|
468
468
|
0% {
|
|
469
469
|
transform: rotate(0deg);
|
|
@@ -472,7 +472,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
472
472
|
transform: rotate(360deg);
|
|
473
473
|
}
|
|
474
474
|
`} 1s linear infinite;
|
|
475
|
-
`;return Gt((()=>{const t=Gt((()=>"xs"===n()));return()=>t()?(()=>{const t=Ia.cloneNode(!0),n=t.firstChild;return Kt((i=>{const a=mt(o,e.class),s=r();return a!==i._v$&&zn(t,"class",i._v$=a),s!==i._v$2&&zn(n,"fill",i._v$2=s),i}),{_v$:void 0,_v$2:void 0}),t})():(()=>{const t=Gt((()=>"s"===n()));return()=>t()?(()=>{const t=ja.cloneNode(!0),n=t.firstChild;return Kt((i=>{const a=mt(o,e.class),s=r();return a!==i._v$3&&zn(t,"class",i._v$3=a),s!==i._v$4&&zn(n,"fill",i._v$4=s),i}),{_v$3:void 0,_v$4:void 0}),t})():(()=>{const t=$a.cloneNode(!0),n=t.firstChild;return Kt((i=>{const a=mt(o,e.class),s=r();return a!==i._v$5&&zn(t,"class",i._v$5=a),s!==i._v$6&&zn(n,"stroke",i._v$6=s),i}),{_v$5:void 0,_v$6:void 0}),t})()})()})())},Da=Fn('<svg width="158" height="28" viewBox="0 0 158 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M28 14.001C28 21.733 21.732 28.001 14 28.001C6.26801 28.001 0 21.733 0 14.001C0 6.26899 6.26801 0.000976562 14 0.000976562C21.732 0.000976562 28 6.26899 28 14.001ZM9.21931 8.00098H18.7801H18.7813C20.538 8.00098 21.6522 9.89966 20.7691 11.4302L14.8672 21.6576C14.4822 22.3254 13.5172 22.3254 13.1322 21.6576L7.23158 11.4302C6.34721 9.89726 7.4614 8.00098 9.21931 8.00098ZM13.1262 18.5882V9.74806H9.21811C8.78976 9.74806 8.53708 10.2029 8.74163 10.5578L11.8423 16.1035L13.1262 18.5882ZM16.1559 16.1047L19.2554 10.5566C19.4599 10.2017 19.2073 9.74685 18.7789 9.74685H14.8709V18.5906L16.1559 16.1047Z" fill="#0098EA"></path><path d="M18.7802 8.00098H9.21936C7.46145 8.00098 6.34727 9.89726 7.23164 11.4302L13.1322 21.6576C13.5173 22.3254 14.4823 22.3254 14.8673 21.6576L20.7691 11.4302C21.6523 9.89966 20.5381 8.00098 18.7814 8.00098H18.7802ZM13.1274 18.5906L11.8424 16.1035L8.74168 10.5578C8.53714 10.2029 8.78981 9.74806 9.21816 9.74806H13.1262V18.5918L13.1274 18.5906ZM19.2555 10.5566L16.156 16.1047L14.8709 18.5906V9.74685H18.779C19.2073 9.74685 19.46 10.2017 19.2555 10.5566Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M51.7483 22.1967C55.7182 22.1967 58.9609 18.954 58.9609 14.9841C58.9609 11.0142 55.7182 7.77148 51.7483 7.77148C47.7588 7.77148 44.5357 11.0142 44.5357 14.9841C44.5357 18.954 47.7588 22.1967 51.7483 22.1967ZM51.7483 19.1702C49.4686 19.1702 47.6802 17.2442 47.6802 14.9841C47.6802 12.724 49.4686 10.798 51.7483 10.798C54.0084 10.798 55.7968 12.724 55.7968 14.9841C55.7968 17.2442 54.0084 19.1702 51.7483 19.1702ZM37.0698 21.9609H40.2142V10.9946H44.2843V8.00732H33V10.9946H37.0698V21.9609ZM69.9379 8.00732H73.0823V21.9609H70.3899L63.59 13.3333V21.9609H60.4652V8.00732H63.1576L69.9379 16.6153V8.00732ZM79.2259 14.9887C79.2259 10.9202 82.351 7.77539 86.4982 7.77539C89.8592 7.77539 92.5519 9.95709 93.2202 12.6891H90.7437C90.154 11.0971 88.4637 9.9964 86.4982 9.9964C83.5893 9.9964 81.5452 12.1781 81.5452 14.9887C81.5452 17.7994 83.5893 19.9811 86.4982 19.9811C88.4637 19.9811 90.154 18.8804 90.7437 17.2884H93.2202C92.5519 20.0204 89.8592 22.2021 86.4982 22.2021C82.351 22.2021 79.2259 19.0573 79.2259 14.9887ZM104.584 17.0525C104.584 19.9025 102.343 22.1628 99.4342 22.1628C96.5253 22.1628 94.2846 19.9025 94.2846 17.0525C94.2846 14.2025 96.5253 11.9422 99.4342 11.9422C102.343 11.9422 104.584 14.2025 104.584 17.0525ZM96.4663 17.0525C96.4663 18.8018 97.6849 20.158 99.4342 20.158C101.164 20.158 102.382 18.8018 102.382 17.0525C102.382 15.3032 101.164 13.947 99.4342 13.947C97.6849 13.947 96.4663 15.3032 96.4663 17.0525ZM108.626 12.1388H106.463V21.9662H108.626V17.1311C108.626 15.0281 109.726 13.9077 111.161 13.9077C112.419 13.9077 113.205 14.8512 113.205 16.4039V21.9662H115.367V16.0501C115.367 13.5539 113.893 11.9422 111.613 11.9422C110.335 11.9422 109.215 12.4926 108.626 13.4753V12.1388ZM117.839 12.1388H120.001V13.4753C120.59 12.4926 121.711 11.9422 122.988 11.9422C125.268 11.9422 126.742 13.5539 126.742 16.0501V21.9662H124.58V16.4039C124.58 14.8512 123.794 13.9077 122.536 13.9077C121.101 13.9077 120.001 15.0281 120.001 17.1311V21.9662H117.839V12.1388ZM133.558 22.1628C136.054 22.1628 137.823 20.728 138.373 18.8804H136.113C135.661 19.8238 134.717 20.2563 133.636 20.2563C131.887 20.2563 130.747 19.077 130.668 17.5832H138.491C138.688 14.2419 136.585 11.9422 133.577 11.9422C130.551 11.9422 128.526 14.1436 128.526 17.0525C128.526 20.0007 130.629 22.1628 133.558 22.1628ZM130.747 16.0501C131.042 14.5367 132.162 13.7505 133.518 13.7505C134.717 13.7505 135.838 14.4581 136.172 16.0501H130.747ZM149.851 18.3694C149.32 20.5511 147.453 22.1628 144.859 22.1628C141.871 22.1628 139.709 19.8828 139.709 17.0525C139.709 14.2222 141.871 11.9422 144.859 11.9422C147.453 11.9422 149.32 13.5539 149.851 15.7356H147.571C147.178 14.6743 146.215 13.9077 144.859 13.9077C143.109 13.9077 141.91 15.2246 141.91 17.0525C141.91 18.8804 143.109 20.1973 144.859 20.1973C146.215 20.1973 147.178 19.4307 147.571 18.3694H149.851ZM155.75 22.0645C156.418 22.0645 156.929 21.9859 157.362 21.8483V19.9221C157.047 20.0401 156.615 20.1187 156.202 20.1187C155.082 20.1187 154.551 19.6666 154.551 18.448V14.065H157.362V12.1388H154.551V9.40675H152.389V12.1388H150.345V14.065H152.389V18.8018C152.389 21.0228 153.863 22.0645 155.75 22.0645Z"></path></svg>'),Ua=()=>{const e=wr();return(()=>{const t=Da.cloneNode(!0),n=t.firstChild.nextSibling.nextSibling;return Kt((()=>zn(n,"fill",e.theme===ir.DARK?e.colors.constant.white:e.colors.constant.black))),t})()},Fa=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.56608 4.42584C5.82527 3.32158 6.8176 2.5 8.00001 2.5C9.38072 2.5 10.5 3.61929 10.5 5C10.5 5.63026 10.3391 6.0386 10.1264 6.34455C9.90018 6.66993 9.58561 6.92478 9.18864 7.20877C9.12579 7.25372 9.05873 7.30025 8.9887 7.34883C8.27392 7.84472 7.25001 8.55507 7.25001 10V10.25C7.25001 10.6642 7.5858 11 8.00001 11C8.41422 11 8.75001 10.6642 8.75001 10.25V10C8.75001 9.36502 9.10777 9.1096 9.94554 8.51149L10.0614 8.42873C10.4769 8.13147 10.9748 7.75194 11.358 7.20076C11.7547 6.63015 12 5.91973 12 5C12 2.79086 10.2091 1 8.00001 1C6.10564 1 4.5205 2.31615 4.10577 4.08308C4.01112 4.48634 4.26129 4.88997 4.66454 4.98462C5.0678 5.07927 5.47143 4.8291 5.56608 4.42584ZM8.00001 15C8.60752 15 9.10001 14.5075 9.10001 13.9C9.10001 13.2925 8.60752 12.8 8.00001 12.8C7.39249 12.8 6.90001 13.2925 6.90001 13.9C6.90001 14.5075 7.39249 15 8.00001 15Z"></path></svg>'),za=e=>{const t=wr();return(()=>{const n=Fa.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},Ba=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.98156 8.75C9.84854 11.4328 9.01206 13.5 8 13.5C6.98794 13.5 6.15146 11.4328 6.01844 8.75H9.98156ZM11.4832 8.75C11.4217 10.1155 11.1929 11.3869 10.8239 12.4017C10.7734 12.5405 10.7188 12.6789 10.6595 12.8154C12.1454 11.993 13.2103 10.5029 13.4493 8.75H11.4832ZM13.4493 7.25H11.4832C11.4217 5.88453 11.1929 4.61314 10.8239 3.5983C10.7734 3.4595 10.7188 3.32111 10.6595 3.18459C12.1454 4.00697 13.2103 5.49709 13.4493 7.25ZM9.98156 7.25H6.01844C6.15144 4.56764 6.98769 2.50062 7.99955 2.5H8C9.01206 2.5 9.84854 4.56724 9.98156 7.25ZM4.51678 7.25C4.57826 5.88453 4.80706 4.61314 5.1761 3.5983C5.22657 3.4595 5.28124 3.32111 5.3405 3.18459C3.85463 4.00697 2.78972 5.49709 2.55071 7.25H4.51678ZM2.55071 8.75C2.78972 10.5029 3.85463 11.993 5.3405 12.8154C5.28124 12.6789 5.22657 12.5405 5.1761 12.4017C4.80706 11.3869 4.57826 10.1155 4.51678 8.75H2.55071ZM15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8Z"></path></svg>'),qa=e=>{const t=wr();return(()=>{const n=Ba.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Ha=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.5 4.8C2.5 3.11984 2.5 2.27976 2.82698 1.63803C3.1146 1.07354 3.57354 0.614601 4.13803 0.32698C4.77976 0 5.61984 0 7.3 0H8.7C10.3802 0 11.2202 0 11.862 0.32698C12.4265 0.614601 12.8854 1.07354 13.173 1.63803C13.5 2.27976 13.5 3.11984 13.5 4.8V11.2C13.5 12.8802 13.5 13.7202 13.173 14.362C12.8854 14.9265 12.4265 15.3854 11.862 15.673C11.2202 16 10.3802 16 8.7 16H7.3C5.61984 16 4.77976 16 4.13803 15.673C3.57354 15.3854 3.1146 14.9265 2.82698 14.362C2.5 13.7202 2.5 12.8802 2.5 11.2V4.8ZM4 3.9C4 3.05992 4 2.63988 4.16349 2.31901C4.3073 2.03677 4.53677 1.8073 4.81901 1.66349C5.13988 1.5 5.55992 1.5 6.4 1.5H9.6C10.4401 1.5 10.8601 1.5 11.181 1.66349C11.4632 1.8073 11.6927 2.03677 11.8365 2.31901C12 2.63988 12 3.05992 12 3.9V12.1C12 12.9401 12 13.3601 11.8365 13.681C11.6927 13.9632 11.4632 14.1927 11.181 14.3365C10.8601 14.5 10.4401 14.5 9.6 14.5H6.4C5.55992 14.5 5.13988 14.5 4.81901 14.3365C4.53677 14.1927 4.3073 13.9632 4.16349 13.681C4 13.3601 4 12.9401 4 12.1V3.9ZM7 2.5C6.58579 2.5 6.25 2.83579 6.25 3.25C6.25 3.66421 6.58579 4 7 4H9C9.41421 4 9.75 3.66421 9.75 3.25C9.75 2.83579 9.41421 2.5 9 2.5H7Z"></path></svg>'),Ka=e=>{const t=wr();return(()=>{const n=Ha.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Va=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 6.8C1.5 5.11984 1.5 4.27976 1.82698 3.63803C2.1146 3.07354 2.57354 2.6146 3.13803 2.32698C3.77976 2 4.61984 2 6.3 2H9.7C11.3802 2 12.2202 2 12.862 2.32698C13.4265 2.6146 13.8854 3.07354 14.173 3.63803C14.5 4.27976 14.5 5.11984 14.5 6.8V11.5H15.25C15.6642 11.5 16 11.8358 16 12.25C16 12.6642 15.6642 13 15.25 13H0.75C0.335786 13 0 12.6642 0 12.25C0 11.8358 0.335786 11.5 0.75 11.5H1.5V6.8ZM3 11.5H13V5.9C13 5.05992 13 4.63988 12.8365 4.31901C12.6927 4.03677 12.4632 3.8073 12.181 3.66349C11.8601 3.5 11.4401 3.5 10.6 3.5H5.4C4.55992 3.5 4.13988 3.5 3.81901 3.66349C3.53677 3.8073 3.3073 4.03677 3.16349 4.31901C3 4.63988 3 5.05992 3 5.9V11.5Z"></path></svg>'),Ga=e=>{const t=wr();return(()=>{const n=Va.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Qa=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"><g clip-path="url(#clip0_3676_1603)"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.5 1.25049C15.5 0.836275 15.1642 0.500488 14.75 0.500488C14.3358 0.500488 14 0.836275 14 1.25049V3.67012C12.7187 2.04487 10.7318 1.00049 8.5 1.00049C4.63401 1.00049 1.5 4.1345 1.5 8.00049C1.5 11.8665 4.63401 15.0005 8.5 15.0005C11.6844 15.0005 14.3703 12.8748 15.2199 9.96661C15.3361 9.56902 15.1079 9.15254 14.7103 9.03638C14.3127 8.92023 13.8962 9.14838 13.7801 9.54597C13.1123 11.8319 11 13.5005 8.5 13.5005C5.46243 13.5005 3 11.0381 3 8.00049C3 4.96292 5.46243 2.50049 8.5 2.50049C10.321 2.50049 11.9363 3.3855 12.9377 4.75049H10.5C10.0858 4.75049 9.75 5.08627 9.75 5.50049C9.75 5.9147 10.0858 6.25049 10.5 6.25049H14.75C15.1642 6.25049 15.5 5.9147 15.5 5.50049V1.25049Z"></path></g><defs><clipPath id="clip0_3676_1603"><rect width="16" height="16" fill="white" transform="translate(0.5 0.000488281)"></rect></clipPath></defs></svg>'),Za=e=>{const t=wr();return(()=>{const n=Qa.cloneNode(!0),r=n.firstChild.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.accent))),n})()},Ya=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 4.06119V6.75053C13 7.16474 13.3358 7.50053 13.75 7.50053C14.1642 7.50053 14.5 7.16474 14.5 6.75053V2.75053L14.5 2.72807C14.5001 2.63191 14.5003 2.49627 14.4842 2.37627C14.4638 2.22503 14.4063 1.99261 14.2071 1.79342C14.0079 1.59423 13.7755 1.5367 13.6243 1.51637C13.5043 1.50023 13.3686 1.50039 13.2725 1.50051L13.25 1.50053H9.25C8.83579 1.50053 8.5 1.83631 8.5 2.25053C8.5 2.66474 8.83579 3.00053 9.25 3.00053H11.9393L7.21967 7.7202C6.92678 8.01309 6.92678 8.48796 7.21967 8.78086C7.51256 9.07375 7.98744 9.07375 8.28033 8.78086L13 4.06119ZM5.85 1.50053H5.81903H5.81899C5.21528 1.50052 4.71702 1.50051 4.31113 1.53367C3.88956 1.56812 3.50203 1.64204 3.13803 1.82751C2.57354 2.11513 2.1146 2.57407 1.82698 3.13856C1.64151 3.50256 1.56759 3.89009 1.53315 4.31166C1.49998 4.71755 1.49999 5.21581 1.5 5.81953V5.81955V5.85053V10.1505V10.1815V10.1815C1.49999 10.7852 1.49998 11.2835 1.53315 11.6894C1.56759 12.111 1.64151 12.4985 1.82698 12.8625C2.1146 13.427 2.57354 13.8859 3.13803 14.1735C3.50203 14.359 3.88956 14.4329 4.31113 14.4674C4.71702 14.5005 5.21527 14.5005 5.81897 14.5005H5.81901H5.85H10.15H10.181H10.181C10.7847 14.5005 11.283 14.5005 11.6889 14.4674C12.1104 14.4329 12.498 14.359 12.862 14.1735C13.4265 13.8859 13.8854 13.427 14.173 12.8625C14.3585 12.4985 14.4324 12.111 14.4669 11.6894C14.5 11.2835 14.5 10.7853 14.5 10.1816V10.1815V10.1505V9.75053C14.5 9.33631 14.1642 9.00053 13.75 9.00053C13.3358 9.00053 13 9.33631 13 9.75053V10.1505C13 10.793 12.9994 11.2297 12.9718 11.5672C12.945 11.8961 12.8963 12.0642 12.8365 12.1815C12.6927 12.4638 12.4632 12.6932 12.181 12.837C12.0637 12.8968 11.8955 12.9455 11.5667 12.9724C11.2292 12.9999 10.7924 13.0005 10.15 13.0005H5.85C5.20757 13.0005 4.77085 12.9999 4.43328 12.9724C4.10447 12.9455 3.93632 12.8968 3.81902 12.837C3.53677 12.6932 3.3073 12.4638 3.16349 12.1815C3.10372 12.0642 3.05503 11.8961 3.02816 11.5672C3.00058 11.2297 3 10.793 3 10.1505V5.85053C3 5.20809 3.00058 4.77137 3.02816 4.43381C3.05503 4.10499 3.10372 3.93684 3.16349 3.81954C3.3073 3.5373 3.53677 3.30783 3.81902 3.16402C3.93632 3.10425 4.10447 3.05556 4.43328 3.02869C4.77085 3.00111 5.20757 3.00053 5.85 3.00053H6.25C6.66422 3.00053 7 2.66474 7 2.25053C7 1.83631 6.66422 1.50053 6.25 1.50053H5.85Z"></path></svg>'),Xa=e=>{const t=wr();return(()=>{const n=Ya.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.accent))),n})()},Ja=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"><g clip-path="url(#clip0_3676_1274)"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.82698 2.63901C1.5 3.28074 1.5 4.12082 1.5 5.80098V8.80098V9.00098V10.201C1.5 11.8811 1.5 12.7212 1.82698 13.3629C2.1146 13.9274 2.57354 14.3864 3.13803 14.674C3.77976 15.001 4.61984 15.001 6.3 15.001H11.7C13.3802 15.001 14.2202 15.001 14.862 14.674C15.4265 14.3864 15.8854 13.9274 16.173 13.3629C16.5 12.7212 16.5 11.8811 16.5 10.201V8.80098C16.5 7.12082 16.5 6.28074 16.173 5.63901C15.8854 5.07452 15.4265 4.61558 14.862 4.32796C14.743 4.26733 14.6172 4.21795 14.4805 4.17772C14.4501 3.49449 14.3722 3.02994 14.173 2.63901C13.8854 2.07452 13.4265 1.61558 12.862 1.32796C12.2202 1.00098 11.3802 1.00098 9.7 1.00098H6.3C4.61984 1.00098 3.77976 1.00098 3.13803 1.32796C2.57354 1.61558 2.1146 2.07452 1.82698 2.63901ZM12.9861 4.00942C12.9684 3.7108 12.9281 3.49982 12.8365 3.31999C12.6927 3.03775 12.4632 2.80828 12.181 2.66447C11.8601 2.50098 11.4401 2.50098 10.6 2.50098H5.4C4.55992 2.50098 4.13988 2.50098 3.81901 2.66447C3.53677 2.80828 3.3073 3.03775 3.16349 3.31999C3.03615 3.56991 3.00799 3.88 3.00177 4.40188C3.04646 4.37612 3.09189 4.35146 3.13803 4.32796C3.77976 4.00098 4.61984 4.00098 6.3 4.00098H11.7C12.1966 4.00098 12.6197 4.00098 12.9861 4.00942ZM3 7.90098V8.10098C3 8.47468 3 8.76527 3.01439 9.00098H3V11.101C3 11.9411 3 12.3611 3.16349 12.682C3.3073 12.9642 3.53677 13.1937 3.81901 13.3375C4.13988 13.501 4.55992 13.501 5.4 13.501H12.6C13.4401 13.501 13.8601 13.501 14.181 13.3375C14.4632 13.1937 14.6927 12.9642 14.8365 12.682C15 12.3611 15 11.9411 15 11.101V7.90098C15 7.0609 15 6.64086 14.8365 6.31999C14.6927 6.03775 14.4632 5.80828 14.181 5.66447C13.8601 5.50098 13.4401 5.50098 12.6 5.50098H5.4C4.55992 5.50098 4.13988 5.50098 3.81901 5.66447C3.53677 5.80828 3.3073 6.03775 3.16349 6.31999C3 6.64086 3 7.0609 3 7.90098ZM10.5 9.75098C10.5 9.33676 10.8358 9.00098 11.25 9.00098H12.75C13.1642 9.00098 13.5 9.33676 13.5 9.75098C13.5 10.1652 13.1642 10.501 12.75 10.501H11.25C10.8358 10.501 10.5 10.1652 10.5 9.75098Z"></path></g><defs><clipPath id="clip0_3676_1274"><rect width="16" height="16" fill="white" transform="translate(0.5 0.000976562)"></rect></clipPath></defs></svg>'),es=e=>{const t=wr();return(()=>{const n=Ja.cloneNode(!0),r=n.firstChild.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.accent))),n})()},ts=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M39.6319 16.8719C38.3212 16.2041 36.7002 16.0478 34 16.0112V11C34 5.47715 29.5228 1 24 1C18.4772 1 14 5.47715 14 11V16.0112C11.2998 16.0478 9.6788 16.2041 8.36808 16.8719C6.86278 17.6389 5.63893 18.8628 4.87195 20.3681C4 22.0794 4 24.3196 4 28.8V32.2C4 36.6804 4 38.9206 4.87195 40.6319C5.63893 42.1372 6.86278 43.3611 8.36808 44.1281C10.0794 45 12.3196 45 16.8 45H31.2C35.6804 45 37.9206 45 39.6319 44.1281C41.1372 43.3611 42.3611 42.1372 43.1281 40.6319C44 38.9206 44 36.6804 44 32.2V28.8C44 24.3196 44 22.0794 43.1281 20.3681C42.3611 18.8628 41.1372 17.6389 39.6319 16.8719ZM31 11V16H17V11C17 7.13401 20.134 4 24 4C27.866 4 31 7.13401 31 11ZM7.54497 21.73C7 22.7996 7 24.1997 7 27V34C7 36.8003 7 38.2004 7.54497 39.27C8.02433 40.2108 8.78924 40.9757 9.73005 41.455C10.7996 42 12.1997 42 15 42H33C35.8003 42 37.2004 42 38.27 41.455C39.2108 40.9757 39.9757 40.2108 40.455 39.27C41 38.2004 41 36.8003 41 34V27C41 24.1997 41 22.7996 40.455 21.73C39.9757 20.7892 39.2108 20.0243 38.27 19.545C37.2004 19 35.8003 19 33 19H15C12.1997 19 10.7996 19 9.73005 19.545C8.78924 20.0243 8.02433 20.7892 7.54497 21.73ZM24 24C23.1716 24 22.5 24.6716 22.5 25.5V29.5C22.5 30.3284 23.1716 31 24 31C24.8284 31 25.5 30.3284 25.5 29.5V25.5C25.5 24.6716 24.8284 24 24 24Z"></path></svg>'),ns=e=>{const t=wr();return(()=>{const n=ts.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.secondary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},rs=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M37.485 37.3849C40.894 33.9506 43 29.2212 43 24C43 13.5066 34.4934 5 24 5C13.5066 5 5 13.5066 5 24C5 29.2213 7.1061 33.9507 10.5151 37.385C13.3583 32.9438 18.3354 30 24.0001 30C29.6647 30 34.6418 32.9437 37.485 37.3849ZM35.1809 39.3635C32.9143 35.5532 28.7554 33 24.0001 33C19.2448 33 15.0858 35.5533 12.8193 39.3636C15.9564 41.6506 19.8206 43 24 43C28.1795 43 32.0437 41.6505 35.1809 39.3635ZM24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46ZM24 24C26.7614 24 29 21.7614 29 19C29 16.2386 26.7614 14 24 14C21.2386 14 19 16.2386 19 19C19 21.7614 21.2386 24 24 24ZM24 27C28.4183 27 32 23.4183 32 19C32 14.5817 28.4183 11 24 11C19.5817 11 16 14.5817 16 19C16 23.4183 19.5817 27 24 27Z"></path></svg>'),os=e=>{const t=wr();return(()=>{const n=rs.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.secondary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},is=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M34.5607 4.43934C33.9749 3.85355 33.0251 3.85355 32.4393 4.43934C31.8536 5.02513 31.8536 5.97487 32.4393 6.56066L37.8787 12H10.5C9.67157 12 9 12.6716 9 13.5C9 14.3284 9.67157 15 10.5 15H37.8787L32.4393 20.4393C31.8536 21.0251 31.8536 21.9749 32.4393 22.5607C33.0251 23.1464 33.9749 23.1464 34.5607 22.5607L42.5607 14.5607C43.1464 13.9749 43.1464 13.0251 42.5607 12.4393L34.5607 4.43934ZM13.4393 25.4393C14.0251 24.8536 14.9749 24.8536 15.5607 25.4393C16.1464 26.0251 16.1464 26.9749 15.5607 27.5607L10.1213 33H37.5C38.3284 33 39 33.6716 39 34.5C39 35.3284 38.3284 36 37.5 36H10.1213L15.5607 41.4393C16.1464 42.0251 16.1464 42.9749 15.5607 43.5607C14.9749 44.1464 14.0251 44.1464 13.4393 43.5607L5.43934 35.5607C4.85355 34.9749 4.85355 34.0251 5.43934 33.4393L13.4393 25.4393Z"></path></svg>'),as=e=>{const t=wr();return(()=>{const n=is.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.secondary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},ss=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.75 12.002C1.75 9.20169 1.75 7.80156 2.29497 6.732C2.77433 5.79119 3.53924 5.02629 4.48005 4.54692C5.54961 4.00195 6.94974 4.00195 9.75 4.00195H17.25C20.0503 4.00195 21.4504 4.00195 22.52 4.54692C23.4608 5.02629 24.2257 5.79119 24.705 6.732C24.8256 6.96861 24.9195 7.2214 24.9926 7.50195H21.5C19.6377 7.50195 18.7065 7.50195 17.9609 7.77334C16.711 8.22828 15.7263 9.21291 15.2714 10.4629C15 11.2085 15 12.1396 15 14.002C15 15.8643 15 16.7954 15.2714 17.541C15.7263 18.791 16.711 19.7756 17.9609 20.2306C18.7065 20.502 19.6377 20.502 21.5 20.502H24.9926C24.9195 20.7825 24.8256 21.0353 24.705 21.2719C24.2257 22.2127 23.4608 22.9776 22.52 23.457C21.4504 24.002 20.0503 24.002 17.25 24.002H9.75C6.94974 24.002 5.54961 24.002 4.48005 23.457C3.53924 22.9776 2.77433 22.2127 2.29497 21.2719C1.75 20.2023 1.75 18.8022 1.75 16.002V12.002ZM16.4999 13.802C16.4999 12.1218 16.4999 11.2817 16.8269 10.64C17.1145 10.0755 17.5735 9.61656 18.138 9.32894C18.7797 9.00196 19.6198 9.00196 21.2999 9.00196H23.1999C24.8801 9.00196 25.7202 9.00196 26.3619 9.32894C26.9264 9.61656 27.3853 10.0755 27.673 10.64C27.9999 11.2817 27.9999 12.1218 27.9999 13.802V14.202C27.9999 15.8821 27.9999 16.7222 27.673 17.3639C27.3853 17.9284 26.9264 18.3874 26.3619 18.675C25.7202 19.002 24.8801 19.002 23.1999 19.002H21.2999C19.6198 19.002 18.7797 19.002 18.138 18.675C17.5735 18.3874 17.1145 17.9284 16.8269 17.3639C16.4999 16.7222 16.4999 15.8821 16.4999 14.202V13.802ZM22.4999 14.002C22.4999 14.9685 21.7164 15.752 20.7499 15.752C19.7834 15.752 18.9999 14.9685 18.9999 14.002C18.9999 13.0355 19.7834 12.252 20.7499 12.252C21.7164 12.252 22.4999 13.0355 22.4999 14.002Z"></path></svg>'),ls=e=>{const t=wr();return(()=>{const n=ss.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.constant.white;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},cs=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.0001 10.0001C10.0016 8.02333 10.0267 6.98719 10.436 6.18404C10.8195 5.43139 11.4314 4.81947 12.184 4.43597C13.0397 4 14.1598 4 16.4 4H17.6C19.8402 4 20.9603 4 21.816 4.43597C22.5686 4.81947 23.1805 5.43139 23.564 6.18404C24 7.03969 24 8.15979 24 10.4V11.6C24 13.8402 24 14.9603 23.564 15.816C23.1805 16.5686 22.5686 17.1805 21.816 17.564C21.0128 17.9733 19.9767 17.9984 17.9999 17.9999C17.9984 19.9767 17.9733 21.0128 17.564 21.816C17.1805 22.5686 16.5686 23.1805 15.816 23.564C14.9603 24 13.8402 24 11.6 24H10.4C8.15979 24 7.03969 24 6.18404 23.564C5.43139 23.1805 4.81947 22.5686 4.43597 21.816C4 20.9603 4 19.8402 4 17.6V16.4C4 14.1598 4 13.0397 4.43597 12.184C4.81947 11.4314 5.43139 10.8195 6.18404 10.436C6.98719 10.0267 8.02333 10.0016 10.0001 10.0001ZM10 11.5H9.5C8.09987 11.5 7.3998 11.5 6.86502 11.7725C6.39462 12.0122 6.01217 12.3946 5.77248 12.865C5.5 13.3998 5.5 14.0999 5.5 15.5V18.5C5.5 19.9001 5.5 20.6002 5.77248 21.135C6.01217 21.6054 6.39462 21.9878 6.86502 22.2275C7.3998 22.5 8.09987 22.5 9.5 22.5H12.5C13.9001 22.5 14.6002 22.5 15.135 22.2275C15.6054 21.9878 15.9878 21.6054 16.2275 21.135C16.5 20.6002 16.5 19.9001 16.5 18.5V18H16.4C14.1598 18 13.0397 18 12.184 17.564C11.4314 17.1805 10.8195 16.5686 10.436 15.816C10 14.9603 10 13.8402 10 11.6V11.5ZM11.5 9.5C11.5 8.09987 11.5 7.3998 11.7725 6.86502C12.0122 6.39462 12.3946 6.01217 12.865 5.77248C13.3998 5.5 14.0999 5.5 15.5 5.5H18.5C19.9001 5.5 20.6002 5.5 21.135 5.77248C21.6054 6.01217 21.9878 6.39462 22.2275 6.86502C22.5 7.3998 22.5 8.09987 22.5 9.5V12.5C22.5 13.9001 22.5 14.6002 22.2275 15.135C21.9878 15.6054 21.6054 15.9878 21.135 16.2275C20.6002 16.5 19.9001 16.5 18.5 16.5H15.5C14.0999 16.5 13.3998 16.5 12.865 16.2275C12.3946 15.9878 12.0122 15.6054 11.7725 15.135C11.5 14.6002 11.5 13.9001 11.5 12.5V9.5Z"></path></svg>'),us=e=>{const t=wr(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{const e=cs.cloneNode(!0),t=e.firstChild;return Kt((r=>{const o=n(),i=n();return o!==r._v$&&zn(e,"fill",r._v$=o),i!==r._v$2&&zn(t,"fill",r._v$2=i),r}),{_v$:void 0,_v$2:void 0}),e})()},ds=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 4.12695C1 3.07754 1 2.55284 1.19202 2.14684C1.38986 1.72856 1.7266 1.39181 2.14489 1.19397C2.55088 1.00195 3.07559 1.00195 4.125 1.00195C5.17441 1.00195 5.69912 1.00195 6.10511 1.19397C6.5234 1.39181 6.86014 1.72856 7.05798 2.14684C7.25 2.55284 7.25 3.07754 7.25 4.12695C7.25 5.17636 7.25 5.70107 7.05798 6.10706C6.86014 6.52535 6.5234 6.8621 6.10511 7.05993C5.69912 7.25195 5.17441 7.25195 4.125 7.25195C3.07559 7.25195 2.55088 7.25195 2.14489 7.05993C1.7266 6.8621 1.38986 6.52535 1.19202 6.10706C1 5.70107 1 5.17636 1 4.12695ZM2.5 3.30195C2.5 3.02193 2.5 2.88191 2.5545 2.77496C2.60243 2.68088 2.67892 2.60439 2.773 2.55645C2.87996 2.50195 3.01997 2.50195 3.3 2.50195H4.95C5.23003 2.50195 5.37004 2.50195 5.477 2.55645C5.57108 2.60439 5.64757 2.68088 5.6955 2.77496C5.75 2.88191 5.75 3.02193 5.75 3.30195V4.95195C5.75 5.23198 5.75 5.37199 5.6955 5.47895C5.64757 5.57303 5.57108 5.64952 5.477 5.69746C5.37004 5.75195 5.23003 5.75195 4.95 5.75195H3.3C3.01997 5.75195 2.87996 5.75195 2.773 5.69746C2.67892 5.64952 2.60243 5.57303 2.5545 5.47895C2.5 5.37199 2.5 5.23198 2.5 4.95195V3.30195ZM1 11.877C1 10.8275 1 10.3028 1.19202 9.89684C1.38986 9.47856 1.7266 9.14181 2.14489 8.94397C2.55088 8.75195 3.07559 8.75195 4.125 8.75195C5.17441 8.75195 5.69912 8.75195 6.10511 8.94397C6.5234 9.14181 6.86014 9.47856 7.05798 9.89684C7.25 10.3028 7.25 10.8275 7.25 11.877C7.25 12.9264 7.25 13.4511 7.05798 13.8571C6.86014 14.2753 6.5234 14.6121 6.10511 14.8099C5.69912 15.002 5.17441 15.002 4.125 15.002C3.07559 15.002 2.55088 15.002 2.14489 14.8099C1.7266 14.6121 1.38986 14.2753 1.19202 13.8571C1 13.4511 1 12.9264 1 11.877ZM2.5 11.052C2.5 10.7719 2.5 10.6319 2.5545 10.525C2.60243 10.4309 2.67892 10.3544 2.773 10.3064C2.87996 10.252 3.01997 10.252 3.3 10.252H4.95C5.23003 10.252 5.37004 10.252 5.477 10.3064C5.57108 10.3544 5.64757 10.4309 5.6955 10.525C5.75 10.6319 5.75 10.7719 5.75 11.052V12.702C5.75 12.982 5.75 13.122 5.6955 13.2289C5.64757 13.323 5.57108 13.3995 5.477 13.4475C5.37004 13.502 5.23003 13.502 4.95 13.502H3.3C3.01997 13.502 2.87996 13.502 2.773 13.4475C2.67892 13.3995 2.60243 13.323 2.5545 13.2289C2.5 13.122 2.5 12.982 2.5 12.702V11.052ZM8.94202 2.14684C8.75 2.55284 8.75 3.07754 8.75 4.12695C8.75 5.17636 8.75 5.70107 8.94202 6.10706C9.13986 6.52535 9.4766 6.8621 9.89489 7.05993C10.3009 7.25195 10.8256 7.25195 11.875 7.25195C12.9244 7.25195 13.4491 7.25195 13.8551 7.05993C14.2734 6.8621 14.6101 6.52535 14.808 6.10706C15 5.70107 15 5.17636 15 4.12695C15 3.07754 15 2.55284 14.808 2.14684C14.6101 1.72856 14.2734 1.39181 13.8551 1.19397C13.4491 1.00195 12.9244 1.00195 11.875 1.00195C10.8256 1.00195 10.3009 1.00195 9.89489 1.19397C9.4766 1.39181 9.13986 1.72856 8.94202 2.14684ZM10.3045 2.77496C10.25 2.88191 10.25 3.02193 10.25 3.30195V4.95195C10.25 5.23198 10.25 5.37199 10.3045 5.47895C10.3524 5.57303 10.4289 5.64952 10.523 5.69746C10.63 5.75195 10.77 5.75195 11.05 5.75195H12.7C12.98 5.75195 13.12 5.75195 13.227 5.69746C13.3211 5.64952 13.3976 5.57303 13.4455 5.47895C13.5 5.37199 13.5 5.23198 13.5 4.95195V3.30195C13.5 3.02193 13.5 2.88191 13.4455 2.77496C13.3976 2.68088 13.3211 2.60439 13.227 2.55645C13.12 2.50195 12.98 2.50195 12.7 2.50195H11.05C10.77 2.50195 10.63 2.50195 10.523 2.55645C10.4289 2.60439 10.3524 2.68088 10.3045 2.77496ZM8.80727 9.13518C8.75 9.26242 8.75 9.4256 8.75 9.75195C8.75 10.0783 8.75 10.2415 8.80727 10.3687C8.87245 10.5136 8.9884 10.6295 9.13323 10.6947C9.26047 10.752 9.42365 10.752 9.75 10.752C10.0764 10.752 10.2395 10.752 10.3668 10.6947C10.5116 10.6295 10.6276 10.5136 10.6927 10.3687C10.75 10.2415 10.75 10.0783 10.75 9.75195C10.75 9.4256 10.75 9.26242 10.6927 9.13518C10.6276 8.99035 10.5116 8.8744 10.3668 8.80922C10.2395 8.75195 10.0764 8.75195 9.75 8.75195C9.42365 8.75195 9.26047 8.75195 9.13323 8.80922C8.9884 8.8744 8.87245 8.99035 8.80727 9.13518ZM10.87 11.8771C10.87 11.546 10.87 11.3805 10.9289 11.2517C10.9938 11.1098 11.1077 10.9959 11.2497 10.931C11.3784 10.8721 11.5439 10.8721 11.875 10.8721C12.2061 10.8721 12.3716 10.8721 12.5003 10.931C12.6423 10.9959 12.7562 11.1098 12.8211 11.2517C12.88 11.3805 12.88 11.546 12.88 11.8771C12.88 12.2081 12.88 12.3737 12.8211 12.5024C12.7562 12.6444 12.6423 12.7583 12.5003 12.8232C12.3716 12.8821 12.2061 12.8821 11.875 12.8821C11.5439 12.8821 11.3784 12.8821 11.2497 12.8232C11.1077 12.7583 10.9938 12.6444 10.9289 12.5024C10.87 12.3737 10.87 12.2081 10.87 11.8771ZM8.80727 13.3852C8.75 13.5124 8.75 13.6756 8.75 14.002C8.75 14.3283 8.75 14.4915 8.80727 14.6187C8.87245 14.7636 8.9884 14.8795 9.13323 14.9447C9.26047 15.002 9.42365 15.002 9.75 15.002C10.0764 15.002 10.2395 15.002 10.3668 14.9447C10.5116 14.8795 10.6276 14.7636 10.6927 14.6187C10.75 14.4915 10.75 14.3283 10.75 14.002C10.75 13.6756 10.75 13.5124 10.6927 13.3852C10.6276 13.2404 10.5116 13.1244 10.3668 13.0592C10.2395 13.002 10.0764 13.002 9.75 13.002C9.42365 13.002 9.26047 13.002 9.13323 13.0592C8.9884 13.1244 8.87245 13.2404 8.80727 13.3852ZM13 9.75195C13 9.4256 13 9.26242 13.0573 9.13518C13.1224 8.99035 13.2384 8.8744 13.3832 8.80922C13.5105 8.75195 13.6736 8.75195 14 8.75195C14.3264 8.75195 14.4895 8.75195 14.6168 8.80922C14.7616 8.8744 14.8776 8.99035 14.9427 9.13518C15 9.26242 15 9.4256 15 9.75195C15 10.0783 15 10.2415 14.9427 10.3687C14.8776 10.5136 14.7616 10.6295 14.6168 10.6947C14.4895 10.752 14.3264 10.752 14 10.752C13.6736 10.752 13.5105 10.752 13.3832 10.6947C13.2384 10.6295 13.1224 10.5136 13.0573 10.3687C13 10.2415 13 10.0783 13 9.75195ZM13.0573 13.3852C13 13.5124 13 13.6756 13 14.002C13 14.3283 13 14.4915 13.0573 14.6187C13.1224 14.7636 13.2384 14.8795 13.3832 14.9447C13.5105 15.002 13.6736 15.002 14 15.002C14.3264 15.002 14.4895 15.002 14.6168 14.9447C14.7616 14.8795 14.8776 14.7636 14.9427 14.6187C15 14.4915 15 14.3283 15 14.002C15 13.6756 15 13.5124 14.9427 13.3852C14.8776 13.2404 14.7616 13.1244 14.6168 13.0592C14.4895 13.002 14.3264 13.002 14 13.002C13.6736 13.002 13.5105 13.002 13.3832 13.0592C13.2384 13.1244 13.1224 13.2404 13.0573 13.3852Z"></path></svg>'),fs=e=>{const t=wr();return(()=>{const n=ds.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},ps={m:"16px",s:"12px",none:"0"},hs={m:"6px",s:"6px",none:"0"},gs=Cr.div`
|
|
475
|
+
`;return Gt((()=>{const t=Gt((()=>"xs"===n()));return()=>t()?(()=>{const t=Ia.cloneNode(!0),n=t.firstChild;return Kt((i=>{const a=mt(o,e.class),s=r();return a!==i._v$&&zn(t,"class",i._v$=a),s!==i._v$2&&zn(n,"fill",i._v$2=s),i}),{_v$:void 0,_v$2:void 0}),t})():(()=>{const t=Gt((()=>"s"===n()));return()=>t()?(()=>{const t=ja.cloneNode(!0),n=t.firstChild;return Kt((i=>{const a=mt(o,e.class),s=r();return a!==i._v$3&&zn(t,"class",i._v$3=a),s!==i._v$4&&zn(n,"fill",i._v$4=s),i}),{_v$3:void 0,_v$4:void 0}),t})():(()=>{const t=$a.cloneNode(!0),n=t.firstChild;return Kt((i=>{const a=mt(o,e.class),s=r();return a!==i._v$5&&zn(t,"class",i._v$5=a),s!==i._v$6&&zn(n,"stroke",i._v$6=s),i}),{_v$5:void 0,_v$6:void 0}),t})()})()})())},Wa=Fn('<svg width="158" height="28" viewBox="0 0 158 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M28 14.001C28 21.733 21.732 28.001 14 28.001C6.26801 28.001 0 21.733 0 14.001C0 6.26899 6.26801 0.000976562 14 0.000976562C21.732 0.000976562 28 6.26899 28 14.001ZM9.21931 8.00098H18.7801H18.7813C20.538 8.00098 21.6522 9.89966 20.7691 11.4302L14.8672 21.6576C14.4822 22.3254 13.5172 22.3254 13.1322 21.6576L7.23158 11.4302C6.34721 9.89726 7.4614 8.00098 9.21931 8.00098ZM13.1262 18.5882V9.74806H9.21811C8.78976 9.74806 8.53708 10.2029 8.74163 10.5578L11.8423 16.1035L13.1262 18.5882ZM16.1559 16.1047L19.2554 10.5566C19.4599 10.2017 19.2073 9.74685 18.7789 9.74685H14.8709V18.5906L16.1559 16.1047Z" fill="#0098EA"></path><path d="M18.7802 8.00098H9.21936C7.46145 8.00098 6.34727 9.89726 7.23164 11.4302L13.1322 21.6576C13.5173 22.3254 14.4823 22.3254 14.8673 21.6576L20.7691 11.4302C21.6523 9.89966 20.5381 8.00098 18.7814 8.00098H18.7802ZM13.1274 18.5906L11.8424 16.1035L8.74168 10.5578C8.53714 10.2029 8.78981 9.74806 9.21816 9.74806H13.1262V18.5918L13.1274 18.5906ZM19.2555 10.5566L16.156 16.1047L14.8709 18.5906V9.74685H18.779C19.2073 9.74685 19.46 10.2017 19.2555 10.5566Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M51.7483 22.1967C55.7182 22.1967 58.9609 18.954 58.9609 14.9841C58.9609 11.0142 55.7182 7.77148 51.7483 7.77148C47.7588 7.77148 44.5357 11.0142 44.5357 14.9841C44.5357 18.954 47.7588 22.1967 51.7483 22.1967ZM51.7483 19.1702C49.4686 19.1702 47.6802 17.2442 47.6802 14.9841C47.6802 12.724 49.4686 10.798 51.7483 10.798C54.0084 10.798 55.7968 12.724 55.7968 14.9841C55.7968 17.2442 54.0084 19.1702 51.7483 19.1702ZM37.0698 21.9609H40.2142V10.9946H44.2843V8.00732H33V10.9946H37.0698V21.9609ZM69.9379 8.00732H73.0823V21.9609H70.3899L63.59 13.3333V21.9609H60.4652V8.00732H63.1576L69.9379 16.6153V8.00732ZM79.2259 14.9887C79.2259 10.9202 82.351 7.77539 86.4982 7.77539C89.8592 7.77539 92.5519 9.95709 93.2202 12.6891H90.7437C90.154 11.0971 88.4637 9.9964 86.4982 9.9964C83.5893 9.9964 81.5452 12.1781 81.5452 14.9887C81.5452 17.7994 83.5893 19.9811 86.4982 19.9811C88.4637 19.9811 90.154 18.8804 90.7437 17.2884H93.2202C92.5519 20.0204 89.8592 22.2021 86.4982 22.2021C82.351 22.2021 79.2259 19.0573 79.2259 14.9887ZM104.584 17.0525C104.584 19.9025 102.343 22.1628 99.4342 22.1628C96.5253 22.1628 94.2846 19.9025 94.2846 17.0525C94.2846 14.2025 96.5253 11.9422 99.4342 11.9422C102.343 11.9422 104.584 14.2025 104.584 17.0525ZM96.4663 17.0525C96.4663 18.8018 97.6849 20.158 99.4342 20.158C101.164 20.158 102.382 18.8018 102.382 17.0525C102.382 15.3032 101.164 13.947 99.4342 13.947C97.6849 13.947 96.4663 15.3032 96.4663 17.0525ZM108.626 12.1388H106.463V21.9662H108.626V17.1311C108.626 15.0281 109.726 13.9077 111.161 13.9077C112.419 13.9077 113.205 14.8512 113.205 16.4039V21.9662H115.367V16.0501C115.367 13.5539 113.893 11.9422 111.613 11.9422C110.335 11.9422 109.215 12.4926 108.626 13.4753V12.1388ZM117.839 12.1388H120.001V13.4753C120.59 12.4926 121.711 11.9422 122.988 11.9422C125.268 11.9422 126.742 13.5539 126.742 16.0501V21.9662H124.58V16.4039C124.58 14.8512 123.794 13.9077 122.536 13.9077C121.101 13.9077 120.001 15.0281 120.001 17.1311V21.9662H117.839V12.1388ZM133.558 22.1628C136.054 22.1628 137.823 20.728 138.373 18.8804H136.113C135.661 19.8238 134.717 20.2563 133.636 20.2563C131.887 20.2563 130.747 19.077 130.668 17.5832H138.491C138.688 14.2419 136.585 11.9422 133.577 11.9422C130.551 11.9422 128.526 14.1436 128.526 17.0525C128.526 20.0007 130.629 22.1628 133.558 22.1628ZM130.747 16.0501C131.042 14.5367 132.162 13.7505 133.518 13.7505C134.717 13.7505 135.838 14.4581 136.172 16.0501H130.747ZM149.851 18.3694C149.32 20.5511 147.453 22.1628 144.859 22.1628C141.871 22.1628 139.709 19.8828 139.709 17.0525C139.709 14.2222 141.871 11.9422 144.859 11.9422C147.453 11.9422 149.32 13.5539 149.851 15.7356H147.571C147.178 14.6743 146.215 13.9077 144.859 13.9077C143.109 13.9077 141.91 15.2246 141.91 17.0525C141.91 18.8804 143.109 20.1973 144.859 20.1973C146.215 20.1973 147.178 19.4307 147.571 18.3694H149.851ZM155.75 22.0645C156.418 22.0645 156.929 21.9859 157.362 21.8483V19.9221C157.047 20.0401 156.615 20.1187 156.202 20.1187C155.082 20.1187 154.551 19.6666 154.551 18.448V14.065H157.362V12.1388H154.551V9.40675H152.389V12.1388H150.345V14.065H152.389V18.8018C152.389 21.0228 153.863 22.0645 155.75 22.0645Z"></path></svg>'),Ua=()=>{const e=wr();return(()=>{const t=Wa.cloneNode(!0),n=t.firstChild.nextSibling.nextSibling;return Kt((()=>zn(n,"fill",e.theme===ir.DARK?e.colors.constant.white:e.colors.constant.black))),t})()},Fa=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.56608 4.42584C5.82527 3.32158 6.8176 2.5 8.00001 2.5C9.38072 2.5 10.5 3.61929 10.5 5C10.5 5.63026 10.3391 6.0386 10.1264 6.34455C9.90018 6.66993 9.58561 6.92478 9.18864 7.20877C9.12579 7.25372 9.05873 7.30025 8.9887 7.34883C8.27392 7.84472 7.25001 8.55507 7.25001 10V10.25C7.25001 10.6642 7.5858 11 8.00001 11C8.41422 11 8.75001 10.6642 8.75001 10.25V10C8.75001 9.36502 9.10777 9.1096 9.94554 8.51149L10.0614 8.42873C10.4769 8.13147 10.9748 7.75194 11.358 7.20076C11.7547 6.63015 12 5.91973 12 5C12 2.79086 10.2091 1 8.00001 1C6.10564 1 4.5205 2.31615 4.10577 4.08308C4.01112 4.48634 4.26129 4.88997 4.66454 4.98462C5.0678 5.07927 5.47143 4.8291 5.56608 4.42584ZM8.00001 15C8.60752 15 9.10001 14.5075 9.10001 13.9C9.10001 13.2925 8.60752 12.8 8.00001 12.8C7.39249 12.8 6.90001 13.2925 6.90001 13.9C6.90001 14.5075 7.39249 15 8.00001 15Z"></path></svg>'),za=e=>{const t=wr();return(()=>{const n=Fa.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},Ba=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.98156 8.75C9.84854 11.4328 9.01206 13.5 8 13.5C6.98794 13.5 6.15146 11.4328 6.01844 8.75H9.98156ZM11.4832 8.75C11.4217 10.1155 11.1929 11.3869 10.8239 12.4017C10.7734 12.5405 10.7188 12.6789 10.6595 12.8154C12.1454 11.993 13.2103 10.5029 13.4493 8.75H11.4832ZM13.4493 7.25H11.4832C11.4217 5.88453 11.1929 4.61314 10.8239 3.5983C10.7734 3.4595 10.7188 3.32111 10.6595 3.18459C12.1454 4.00697 13.2103 5.49709 13.4493 7.25ZM9.98156 7.25H6.01844C6.15144 4.56764 6.98769 2.50062 7.99955 2.5H8C9.01206 2.5 9.84854 4.56724 9.98156 7.25ZM4.51678 7.25C4.57826 5.88453 4.80706 4.61314 5.1761 3.5983C5.22657 3.4595 5.28124 3.32111 5.3405 3.18459C3.85463 4.00697 2.78972 5.49709 2.55071 7.25H4.51678ZM2.55071 8.75C2.78972 10.5029 3.85463 11.993 5.3405 12.8154C5.28124 12.6789 5.22657 12.5405 5.1761 12.4017C4.80706 11.3869 4.57826 10.1155 4.51678 8.75H2.55071ZM15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8Z"></path></svg>'),qa=e=>{const t=wr();return(()=>{const n=Ba.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Ha=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.5 4.8C2.5 3.11984 2.5 2.27976 2.82698 1.63803C3.1146 1.07354 3.57354 0.614601 4.13803 0.32698C4.77976 0 5.61984 0 7.3 0H8.7C10.3802 0 11.2202 0 11.862 0.32698C12.4265 0.614601 12.8854 1.07354 13.173 1.63803C13.5 2.27976 13.5 3.11984 13.5 4.8V11.2C13.5 12.8802 13.5 13.7202 13.173 14.362C12.8854 14.9265 12.4265 15.3854 11.862 15.673C11.2202 16 10.3802 16 8.7 16H7.3C5.61984 16 4.77976 16 4.13803 15.673C3.57354 15.3854 3.1146 14.9265 2.82698 14.362C2.5 13.7202 2.5 12.8802 2.5 11.2V4.8ZM4 3.9C4 3.05992 4 2.63988 4.16349 2.31901C4.3073 2.03677 4.53677 1.8073 4.81901 1.66349C5.13988 1.5 5.55992 1.5 6.4 1.5H9.6C10.4401 1.5 10.8601 1.5 11.181 1.66349C11.4632 1.8073 11.6927 2.03677 11.8365 2.31901C12 2.63988 12 3.05992 12 3.9V12.1C12 12.9401 12 13.3601 11.8365 13.681C11.6927 13.9632 11.4632 14.1927 11.181 14.3365C10.8601 14.5 10.4401 14.5 9.6 14.5H6.4C5.55992 14.5 5.13988 14.5 4.81901 14.3365C4.53677 14.1927 4.3073 13.9632 4.16349 13.681C4 13.3601 4 12.9401 4 12.1V3.9ZM7 2.5C6.58579 2.5 6.25 2.83579 6.25 3.25C6.25 3.66421 6.58579 4 7 4H9C9.41421 4 9.75 3.66421 9.75 3.25C9.75 2.83579 9.41421 2.5 9 2.5H7Z"></path></svg>'),Ka=e=>{const t=wr();return(()=>{const n=Ha.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Va=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 6.8C1.5 5.11984 1.5 4.27976 1.82698 3.63803C2.1146 3.07354 2.57354 2.6146 3.13803 2.32698C3.77976 2 4.61984 2 6.3 2H9.7C11.3802 2 12.2202 2 12.862 2.32698C13.4265 2.6146 13.8854 3.07354 14.173 3.63803C14.5 4.27976 14.5 5.11984 14.5 6.8V11.5H15.25C15.6642 11.5 16 11.8358 16 12.25C16 12.6642 15.6642 13 15.25 13H0.75C0.335786 13 0 12.6642 0 12.25C0 11.8358 0.335786 11.5 0.75 11.5H1.5V6.8ZM3 11.5H13V5.9C13 5.05992 13 4.63988 12.8365 4.31901C12.6927 4.03677 12.4632 3.8073 12.181 3.66349C11.8601 3.5 11.4401 3.5 10.6 3.5H5.4C4.55992 3.5 4.13988 3.5 3.81901 3.66349C3.53677 3.8073 3.3073 4.03677 3.16349 4.31901C3 4.63988 3 5.05992 3 5.9V11.5Z"></path></svg>'),Ga=e=>{const t=wr();return(()=>{const n=Va.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Qa=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"><g clip-path="url(#clip0_3676_1603)"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.5 1.25049C15.5 0.836275 15.1642 0.500488 14.75 0.500488C14.3358 0.500488 14 0.836275 14 1.25049V3.67012C12.7187 2.04487 10.7318 1.00049 8.5 1.00049C4.63401 1.00049 1.5 4.1345 1.5 8.00049C1.5 11.8665 4.63401 15.0005 8.5 15.0005C11.6844 15.0005 14.3703 12.8748 15.2199 9.96661C15.3361 9.56902 15.1079 9.15254 14.7103 9.03638C14.3127 8.92023 13.8962 9.14838 13.7801 9.54597C13.1123 11.8319 11 13.5005 8.5 13.5005C5.46243 13.5005 3 11.0381 3 8.00049C3 4.96292 5.46243 2.50049 8.5 2.50049C10.321 2.50049 11.9363 3.3855 12.9377 4.75049H10.5C10.0858 4.75049 9.75 5.08627 9.75 5.50049C9.75 5.9147 10.0858 6.25049 10.5 6.25049H14.75C15.1642 6.25049 15.5 5.9147 15.5 5.50049V1.25049Z"></path></g><defs><clipPath id="clip0_3676_1603"><rect width="16" height="16" fill="white" transform="translate(0.5 0.000488281)"></rect></clipPath></defs></svg>'),Za=e=>{const t=wr();return(()=>{const n=Qa.cloneNode(!0),r=n.firstChild.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.accent))),n})()},Ya=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 4.06119V6.75053C13 7.16474 13.3358 7.50053 13.75 7.50053C14.1642 7.50053 14.5 7.16474 14.5 6.75053V2.75053L14.5 2.72807C14.5001 2.63191 14.5003 2.49627 14.4842 2.37627C14.4638 2.22503 14.4063 1.99261 14.2071 1.79342C14.0079 1.59423 13.7755 1.5367 13.6243 1.51637C13.5043 1.50023 13.3686 1.50039 13.2725 1.50051L13.25 1.50053H9.25C8.83579 1.50053 8.5 1.83631 8.5 2.25053C8.5 2.66474 8.83579 3.00053 9.25 3.00053H11.9393L7.21967 7.7202C6.92678 8.01309 6.92678 8.48796 7.21967 8.78086C7.51256 9.07375 7.98744 9.07375 8.28033 8.78086L13 4.06119ZM5.85 1.50053H5.81903H5.81899C5.21528 1.50052 4.71702 1.50051 4.31113 1.53367C3.88956 1.56812 3.50203 1.64204 3.13803 1.82751C2.57354 2.11513 2.1146 2.57407 1.82698 3.13856C1.64151 3.50256 1.56759 3.89009 1.53315 4.31166C1.49998 4.71755 1.49999 5.21581 1.5 5.81953V5.81955V5.85053V10.1505V10.1815V10.1815C1.49999 10.7852 1.49998 11.2835 1.53315 11.6894C1.56759 12.111 1.64151 12.4985 1.82698 12.8625C2.1146 13.427 2.57354 13.8859 3.13803 14.1735C3.50203 14.359 3.88956 14.4329 4.31113 14.4674C4.71702 14.5005 5.21527 14.5005 5.81897 14.5005H5.81901H5.85H10.15H10.181H10.181C10.7847 14.5005 11.283 14.5005 11.6889 14.4674C12.1104 14.4329 12.498 14.359 12.862 14.1735C13.4265 13.8859 13.8854 13.427 14.173 12.8625C14.3585 12.4985 14.4324 12.111 14.4669 11.6894C14.5 11.2835 14.5 10.7853 14.5 10.1816V10.1815V10.1505V9.75053C14.5 9.33631 14.1642 9.00053 13.75 9.00053C13.3358 9.00053 13 9.33631 13 9.75053V10.1505C13 10.793 12.9994 11.2297 12.9718 11.5672C12.945 11.8961 12.8963 12.0642 12.8365 12.1815C12.6927 12.4638 12.4632 12.6932 12.181 12.837C12.0637 12.8968 11.8955 12.9455 11.5667 12.9724C11.2292 12.9999 10.7924 13.0005 10.15 13.0005H5.85C5.20757 13.0005 4.77085 12.9999 4.43328 12.9724C4.10447 12.9455 3.93632 12.8968 3.81902 12.837C3.53677 12.6932 3.3073 12.4638 3.16349 12.1815C3.10372 12.0642 3.05503 11.8961 3.02816 11.5672C3.00058 11.2297 3 10.793 3 10.1505V5.85053C3 5.20809 3.00058 4.77137 3.02816 4.43381C3.05503 4.10499 3.10372 3.93684 3.16349 3.81954C3.3073 3.5373 3.53677 3.30783 3.81902 3.16402C3.93632 3.10425 4.10447 3.05556 4.43328 3.02869C4.77085 3.00111 5.20757 3.00053 5.85 3.00053H6.25C6.66422 3.00053 7 2.66474 7 2.25053C7 1.83631 6.66422 1.50053 6.25 1.50053H5.85Z"></path></svg>'),Xa=e=>{const t=wr();return(()=>{const n=Ya.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.accent))),n})()},Ja=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"><g clip-path="url(#clip0_3676_1274)"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.82698 2.63901C1.5 3.28074 1.5 4.12082 1.5 5.80098V8.80098V9.00098V10.201C1.5 11.8811 1.5 12.7212 1.82698 13.3629C2.1146 13.9274 2.57354 14.3864 3.13803 14.674C3.77976 15.001 4.61984 15.001 6.3 15.001H11.7C13.3802 15.001 14.2202 15.001 14.862 14.674C15.4265 14.3864 15.8854 13.9274 16.173 13.3629C16.5 12.7212 16.5 11.8811 16.5 10.201V8.80098C16.5 7.12082 16.5 6.28074 16.173 5.63901C15.8854 5.07452 15.4265 4.61558 14.862 4.32796C14.743 4.26733 14.6172 4.21795 14.4805 4.17772C14.4501 3.49449 14.3722 3.02994 14.173 2.63901C13.8854 2.07452 13.4265 1.61558 12.862 1.32796C12.2202 1.00098 11.3802 1.00098 9.7 1.00098H6.3C4.61984 1.00098 3.77976 1.00098 3.13803 1.32796C2.57354 1.61558 2.1146 2.07452 1.82698 2.63901ZM12.9861 4.00942C12.9684 3.7108 12.9281 3.49982 12.8365 3.31999C12.6927 3.03775 12.4632 2.80828 12.181 2.66447C11.8601 2.50098 11.4401 2.50098 10.6 2.50098H5.4C4.55992 2.50098 4.13988 2.50098 3.81901 2.66447C3.53677 2.80828 3.3073 3.03775 3.16349 3.31999C3.03615 3.56991 3.00799 3.88 3.00177 4.40188C3.04646 4.37612 3.09189 4.35146 3.13803 4.32796C3.77976 4.00098 4.61984 4.00098 6.3 4.00098H11.7C12.1966 4.00098 12.6197 4.00098 12.9861 4.00942ZM3 7.90098V8.10098C3 8.47468 3 8.76527 3.01439 9.00098H3V11.101C3 11.9411 3 12.3611 3.16349 12.682C3.3073 12.9642 3.53677 13.1937 3.81901 13.3375C4.13988 13.501 4.55992 13.501 5.4 13.501H12.6C13.4401 13.501 13.8601 13.501 14.181 13.3375C14.4632 13.1937 14.6927 12.9642 14.8365 12.682C15 12.3611 15 11.9411 15 11.101V7.90098C15 7.0609 15 6.64086 14.8365 6.31999C14.6927 6.03775 14.4632 5.80828 14.181 5.66447C13.8601 5.50098 13.4401 5.50098 12.6 5.50098H5.4C4.55992 5.50098 4.13988 5.50098 3.81901 5.66447C3.53677 5.80828 3.3073 6.03775 3.16349 6.31999C3 6.64086 3 7.0609 3 7.90098ZM10.5 9.75098C10.5 9.33676 10.8358 9.00098 11.25 9.00098H12.75C13.1642 9.00098 13.5 9.33676 13.5 9.75098C13.5 10.1652 13.1642 10.501 12.75 10.501H11.25C10.8358 10.501 10.5 10.1652 10.5 9.75098Z"></path></g><defs><clipPath id="clip0_3676_1274"><rect width="16" height="16" fill="white" transform="translate(0.5 0.000976562)"></rect></clipPath></defs></svg>'),es=e=>{const t=wr();return(()=>{const n=Ja.cloneNode(!0),r=n.firstChild.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.accent))),n})()},ts=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M39.6319 16.8719C38.3212 16.2041 36.7002 16.0478 34 16.0112V11C34 5.47715 29.5228 1 24 1C18.4772 1 14 5.47715 14 11V16.0112C11.2998 16.0478 9.6788 16.2041 8.36808 16.8719C6.86278 17.6389 5.63893 18.8628 4.87195 20.3681C4 22.0794 4 24.3196 4 28.8V32.2C4 36.6804 4 38.9206 4.87195 40.6319C5.63893 42.1372 6.86278 43.3611 8.36808 44.1281C10.0794 45 12.3196 45 16.8 45H31.2C35.6804 45 37.9206 45 39.6319 44.1281C41.1372 43.3611 42.3611 42.1372 43.1281 40.6319C44 38.9206 44 36.6804 44 32.2V28.8C44 24.3196 44 22.0794 43.1281 20.3681C42.3611 18.8628 41.1372 17.6389 39.6319 16.8719ZM31 11V16H17V11C17 7.13401 20.134 4 24 4C27.866 4 31 7.13401 31 11ZM7.54497 21.73C7 22.7996 7 24.1997 7 27V34C7 36.8003 7 38.2004 7.54497 39.27C8.02433 40.2108 8.78924 40.9757 9.73005 41.455C10.7996 42 12.1997 42 15 42H33C35.8003 42 37.2004 42 38.27 41.455C39.2108 40.9757 39.9757 40.2108 40.455 39.27C41 38.2004 41 36.8003 41 34V27C41 24.1997 41 22.7996 40.455 21.73C39.9757 20.7892 39.2108 20.0243 38.27 19.545C37.2004 19 35.8003 19 33 19H15C12.1997 19 10.7996 19 9.73005 19.545C8.78924 20.0243 8.02433 20.7892 7.54497 21.73ZM24 24C23.1716 24 22.5 24.6716 22.5 25.5V29.5C22.5 30.3284 23.1716 31 24 31C24.8284 31 25.5 30.3284 25.5 29.5V25.5C25.5 24.6716 24.8284 24 24 24Z"></path></svg>'),ns=e=>{const t=wr();return(()=>{const n=ts.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.secondary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},rs=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M37.485 37.3849C40.894 33.9506 43 29.2212 43 24C43 13.5066 34.4934 5 24 5C13.5066 5 5 13.5066 5 24C5 29.2213 7.1061 33.9507 10.5151 37.385C13.3583 32.9438 18.3354 30 24.0001 30C29.6647 30 34.6418 32.9437 37.485 37.3849ZM35.1809 39.3635C32.9143 35.5532 28.7554 33 24.0001 33C19.2448 33 15.0858 35.5533 12.8193 39.3636C15.9564 41.6506 19.8206 43 24 43C28.1795 43 32.0437 41.6505 35.1809 39.3635ZM24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46ZM24 24C26.7614 24 29 21.7614 29 19C29 16.2386 26.7614 14 24 14C21.2386 14 19 16.2386 19 19C19 21.7614 21.2386 24 24 24ZM24 27C28.4183 27 32 23.4183 32 19C32 14.5817 28.4183 11 24 11C19.5817 11 16 14.5817 16 19C16 23.4183 19.5817 27 24 27Z"></path></svg>'),os=e=>{const t=wr();return(()=>{const n=rs.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.secondary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},is=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M34.5607 4.43934C33.9749 3.85355 33.0251 3.85355 32.4393 4.43934C31.8536 5.02513 31.8536 5.97487 32.4393 6.56066L37.8787 12H10.5C9.67157 12 9 12.6716 9 13.5C9 14.3284 9.67157 15 10.5 15H37.8787L32.4393 20.4393C31.8536 21.0251 31.8536 21.9749 32.4393 22.5607C33.0251 23.1464 33.9749 23.1464 34.5607 22.5607L42.5607 14.5607C43.1464 13.9749 43.1464 13.0251 42.5607 12.4393L34.5607 4.43934ZM13.4393 25.4393C14.0251 24.8536 14.9749 24.8536 15.5607 25.4393C16.1464 26.0251 16.1464 26.9749 15.5607 27.5607L10.1213 33H37.5C38.3284 33 39 33.6716 39 34.5C39 35.3284 38.3284 36 37.5 36H10.1213L15.5607 41.4393C16.1464 42.0251 16.1464 42.9749 15.5607 43.5607C14.9749 44.1464 14.0251 44.1464 13.4393 43.5607L5.43934 35.5607C4.85355 34.9749 4.85355 34.0251 5.43934 33.4393L13.4393 25.4393Z"></path></svg>'),as=e=>{const t=wr();return(()=>{const n=is.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.secondary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},ss=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.75 12.002C1.75 9.20169 1.75 7.80156 2.29497 6.732C2.77433 5.79119 3.53924 5.02629 4.48005 4.54692C5.54961 4.00195 6.94974 4.00195 9.75 4.00195H17.25C20.0503 4.00195 21.4504 4.00195 22.52 4.54692C23.4608 5.02629 24.2257 5.79119 24.705 6.732C24.8256 6.96861 24.9195 7.2214 24.9926 7.50195H21.5C19.6377 7.50195 18.7065 7.50195 17.9609 7.77334C16.711 8.22828 15.7263 9.21291 15.2714 10.4629C15 11.2085 15 12.1396 15 14.002C15 15.8643 15 16.7954 15.2714 17.541C15.7263 18.791 16.711 19.7756 17.9609 20.2306C18.7065 20.502 19.6377 20.502 21.5 20.502H24.9926C24.9195 20.7825 24.8256 21.0353 24.705 21.2719C24.2257 22.2127 23.4608 22.9776 22.52 23.457C21.4504 24.002 20.0503 24.002 17.25 24.002H9.75C6.94974 24.002 5.54961 24.002 4.48005 23.457C3.53924 22.9776 2.77433 22.2127 2.29497 21.2719C1.75 20.2023 1.75 18.8022 1.75 16.002V12.002ZM16.4999 13.802C16.4999 12.1218 16.4999 11.2817 16.8269 10.64C17.1145 10.0755 17.5735 9.61656 18.138 9.32894C18.7797 9.00196 19.6198 9.00196 21.2999 9.00196H23.1999C24.8801 9.00196 25.7202 9.00196 26.3619 9.32894C26.9264 9.61656 27.3853 10.0755 27.673 10.64C27.9999 11.2817 27.9999 12.1218 27.9999 13.802V14.202C27.9999 15.8821 27.9999 16.7222 27.673 17.3639C27.3853 17.9284 26.9264 18.3874 26.3619 18.675C25.7202 19.002 24.8801 19.002 23.1999 19.002H21.2999C19.6198 19.002 18.7797 19.002 18.138 18.675C17.5735 18.3874 17.1145 17.9284 16.8269 17.3639C16.4999 16.7222 16.4999 15.8821 16.4999 14.202V13.802ZM22.4999 14.002C22.4999 14.9685 21.7164 15.752 20.7499 15.752C19.7834 15.752 18.9999 14.9685 18.9999 14.002C18.9999 13.0355 19.7834 12.252 20.7499 12.252C21.7164 12.252 22.4999 13.0355 22.4999 14.002Z"></path></svg>'),ls=e=>{const t=wr();return(()=>{const n=ss.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.constant.white;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},cs=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.0001 10.0001C10.0016 8.02333 10.0267 6.98719 10.436 6.18404C10.8195 5.43139 11.4314 4.81947 12.184 4.43597C13.0397 4 14.1598 4 16.4 4H17.6C19.8402 4 20.9603 4 21.816 4.43597C22.5686 4.81947 23.1805 5.43139 23.564 6.18404C24 7.03969 24 8.15979 24 10.4V11.6C24 13.8402 24 14.9603 23.564 15.816C23.1805 16.5686 22.5686 17.1805 21.816 17.564C21.0128 17.9733 19.9767 17.9984 17.9999 17.9999C17.9984 19.9767 17.9733 21.0128 17.564 21.816C17.1805 22.5686 16.5686 23.1805 15.816 23.564C14.9603 24 13.8402 24 11.6 24H10.4C8.15979 24 7.03969 24 6.18404 23.564C5.43139 23.1805 4.81947 22.5686 4.43597 21.816C4 20.9603 4 19.8402 4 17.6V16.4C4 14.1598 4 13.0397 4.43597 12.184C4.81947 11.4314 5.43139 10.8195 6.18404 10.436C6.98719 10.0267 8.02333 10.0016 10.0001 10.0001ZM10 11.5H9.5C8.09987 11.5 7.3998 11.5 6.86502 11.7725C6.39462 12.0122 6.01217 12.3946 5.77248 12.865C5.5 13.3998 5.5 14.0999 5.5 15.5V18.5C5.5 19.9001 5.5 20.6002 5.77248 21.135C6.01217 21.6054 6.39462 21.9878 6.86502 22.2275C7.3998 22.5 8.09987 22.5 9.5 22.5H12.5C13.9001 22.5 14.6002 22.5 15.135 22.2275C15.6054 21.9878 15.9878 21.6054 16.2275 21.135C16.5 20.6002 16.5 19.9001 16.5 18.5V18H16.4C14.1598 18 13.0397 18 12.184 17.564C11.4314 17.1805 10.8195 16.5686 10.436 15.816C10 14.9603 10 13.8402 10 11.6V11.5ZM11.5 9.5C11.5 8.09987 11.5 7.3998 11.7725 6.86502C12.0122 6.39462 12.3946 6.01217 12.865 5.77248C13.3998 5.5 14.0999 5.5 15.5 5.5H18.5C19.9001 5.5 20.6002 5.5 21.135 5.77248C21.6054 6.01217 21.9878 6.39462 22.2275 6.86502C22.5 7.3998 22.5 8.09987 22.5 9.5V12.5C22.5 13.9001 22.5 14.6002 22.2275 15.135C21.9878 15.6054 21.6054 15.9878 21.135 16.2275C20.6002 16.5 19.9001 16.5 18.5 16.5H15.5C14.0999 16.5 13.3998 16.5 12.865 16.2275C12.3946 15.9878 12.0122 15.6054 11.7725 15.135C11.5 14.6002 11.5 13.9001 11.5 12.5V9.5Z"></path></svg>'),us=e=>{const t=wr(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{const e=cs.cloneNode(!0),t=e.firstChild;return Kt((r=>{const o=n(),i=n();return o!==r._v$&&zn(e,"fill",r._v$=o),i!==r._v$2&&zn(t,"fill",r._v$2=i),r}),{_v$:void 0,_v$2:void 0}),e})()},ds=Fn('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 4.12695C1 3.07754 1 2.55284 1.19202 2.14684C1.38986 1.72856 1.7266 1.39181 2.14489 1.19397C2.55088 1.00195 3.07559 1.00195 4.125 1.00195C5.17441 1.00195 5.69912 1.00195 6.10511 1.19397C6.5234 1.39181 6.86014 1.72856 7.05798 2.14684C7.25 2.55284 7.25 3.07754 7.25 4.12695C7.25 5.17636 7.25 5.70107 7.05798 6.10706C6.86014 6.52535 6.5234 6.8621 6.10511 7.05993C5.69912 7.25195 5.17441 7.25195 4.125 7.25195C3.07559 7.25195 2.55088 7.25195 2.14489 7.05993C1.7266 6.8621 1.38986 6.52535 1.19202 6.10706C1 5.70107 1 5.17636 1 4.12695ZM2.5 3.30195C2.5 3.02193 2.5 2.88191 2.5545 2.77496C2.60243 2.68088 2.67892 2.60439 2.773 2.55645C2.87996 2.50195 3.01997 2.50195 3.3 2.50195H4.95C5.23003 2.50195 5.37004 2.50195 5.477 2.55645C5.57108 2.60439 5.64757 2.68088 5.6955 2.77496C5.75 2.88191 5.75 3.02193 5.75 3.30195V4.95195C5.75 5.23198 5.75 5.37199 5.6955 5.47895C5.64757 5.57303 5.57108 5.64952 5.477 5.69746C5.37004 5.75195 5.23003 5.75195 4.95 5.75195H3.3C3.01997 5.75195 2.87996 5.75195 2.773 5.69746C2.67892 5.64952 2.60243 5.57303 2.5545 5.47895C2.5 5.37199 2.5 5.23198 2.5 4.95195V3.30195ZM1 11.877C1 10.8275 1 10.3028 1.19202 9.89684C1.38986 9.47856 1.7266 9.14181 2.14489 8.94397C2.55088 8.75195 3.07559 8.75195 4.125 8.75195C5.17441 8.75195 5.69912 8.75195 6.10511 8.94397C6.5234 9.14181 6.86014 9.47856 7.05798 9.89684C7.25 10.3028 7.25 10.8275 7.25 11.877C7.25 12.9264 7.25 13.4511 7.05798 13.8571C6.86014 14.2753 6.5234 14.6121 6.10511 14.8099C5.69912 15.002 5.17441 15.002 4.125 15.002C3.07559 15.002 2.55088 15.002 2.14489 14.8099C1.7266 14.6121 1.38986 14.2753 1.19202 13.8571C1 13.4511 1 12.9264 1 11.877ZM2.5 11.052C2.5 10.7719 2.5 10.6319 2.5545 10.525C2.60243 10.4309 2.67892 10.3544 2.773 10.3064C2.87996 10.252 3.01997 10.252 3.3 10.252H4.95C5.23003 10.252 5.37004 10.252 5.477 10.3064C5.57108 10.3544 5.64757 10.4309 5.6955 10.525C5.75 10.6319 5.75 10.7719 5.75 11.052V12.702C5.75 12.982 5.75 13.122 5.6955 13.2289C5.64757 13.323 5.57108 13.3995 5.477 13.4475C5.37004 13.502 5.23003 13.502 4.95 13.502H3.3C3.01997 13.502 2.87996 13.502 2.773 13.4475C2.67892 13.3995 2.60243 13.323 2.5545 13.2289C2.5 13.122 2.5 12.982 2.5 12.702V11.052ZM8.94202 2.14684C8.75 2.55284 8.75 3.07754 8.75 4.12695C8.75 5.17636 8.75 5.70107 8.94202 6.10706C9.13986 6.52535 9.4766 6.8621 9.89489 7.05993C10.3009 7.25195 10.8256 7.25195 11.875 7.25195C12.9244 7.25195 13.4491 7.25195 13.8551 7.05993C14.2734 6.8621 14.6101 6.52535 14.808 6.10706C15 5.70107 15 5.17636 15 4.12695C15 3.07754 15 2.55284 14.808 2.14684C14.6101 1.72856 14.2734 1.39181 13.8551 1.19397C13.4491 1.00195 12.9244 1.00195 11.875 1.00195C10.8256 1.00195 10.3009 1.00195 9.89489 1.19397C9.4766 1.39181 9.13986 1.72856 8.94202 2.14684ZM10.3045 2.77496C10.25 2.88191 10.25 3.02193 10.25 3.30195V4.95195C10.25 5.23198 10.25 5.37199 10.3045 5.47895C10.3524 5.57303 10.4289 5.64952 10.523 5.69746C10.63 5.75195 10.77 5.75195 11.05 5.75195H12.7C12.98 5.75195 13.12 5.75195 13.227 5.69746C13.3211 5.64952 13.3976 5.57303 13.4455 5.47895C13.5 5.37199 13.5 5.23198 13.5 4.95195V3.30195C13.5 3.02193 13.5 2.88191 13.4455 2.77496C13.3976 2.68088 13.3211 2.60439 13.227 2.55645C13.12 2.50195 12.98 2.50195 12.7 2.50195H11.05C10.77 2.50195 10.63 2.50195 10.523 2.55645C10.4289 2.60439 10.3524 2.68088 10.3045 2.77496ZM8.80727 9.13518C8.75 9.26242 8.75 9.4256 8.75 9.75195C8.75 10.0783 8.75 10.2415 8.80727 10.3687C8.87245 10.5136 8.9884 10.6295 9.13323 10.6947C9.26047 10.752 9.42365 10.752 9.75 10.752C10.0764 10.752 10.2395 10.752 10.3668 10.6947C10.5116 10.6295 10.6276 10.5136 10.6927 10.3687C10.75 10.2415 10.75 10.0783 10.75 9.75195C10.75 9.4256 10.75 9.26242 10.6927 9.13518C10.6276 8.99035 10.5116 8.8744 10.3668 8.80922C10.2395 8.75195 10.0764 8.75195 9.75 8.75195C9.42365 8.75195 9.26047 8.75195 9.13323 8.80922C8.9884 8.8744 8.87245 8.99035 8.80727 9.13518ZM10.87 11.8771C10.87 11.546 10.87 11.3805 10.9289 11.2517C10.9938 11.1098 11.1077 10.9959 11.2497 10.931C11.3784 10.8721 11.5439 10.8721 11.875 10.8721C12.2061 10.8721 12.3716 10.8721 12.5003 10.931C12.6423 10.9959 12.7562 11.1098 12.8211 11.2517C12.88 11.3805 12.88 11.546 12.88 11.8771C12.88 12.2081 12.88 12.3737 12.8211 12.5024C12.7562 12.6444 12.6423 12.7583 12.5003 12.8232C12.3716 12.8821 12.2061 12.8821 11.875 12.8821C11.5439 12.8821 11.3784 12.8821 11.2497 12.8232C11.1077 12.7583 10.9938 12.6444 10.9289 12.5024C10.87 12.3737 10.87 12.2081 10.87 11.8771ZM8.80727 13.3852C8.75 13.5124 8.75 13.6756 8.75 14.002C8.75 14.3283 8.75 14.4915 8.80727 14.6187C8.87245 14.7636 8.9884 14.8795 9.13323 14.9447C9.26047 15.002 9.42365 15.002 9.75 15.002C10.0764 15.002 10.2395 15.002 10.3668 14.9447C10.5116 14.8795 10.6276 14.7636 10.6927 14.6187C10.75 14.4915 10.75 14.3283 10.75 14.002C10.75 13.6756 10.75 13.5124 10.6927 13.3852C10.6276 13.2404 10.5116 13.1244 10.3668 13.0592C10.2395 13.002 10.0764 13.002 9.75 13.002C9.42365 13.002 9.26047 13.002 9.13323 13.0592C8.9884 13.1244 8.87245 13.2404 8.80727 13.3852ZM13 9.75195C13 9.4256 13 9.26242 13.0573 9.13518C13.1224 8.99035 13.2384 8.8744 13.3832 8.80922C13.5105 8.75195 13.6736 8.75195 14 8.75195C14.3264 8.75195 14.4895 8.75195 14.6168 8.80922C14.7616 8.8744 14.8776 8.99035 14.9427 9.13518C15 9.26242 15 9.4256 15 9.75195C15 10.0783 15 10.2415 14.9427 10.3687C14.8776 10.5136 14.7616 10.6295 14.6168 10.6947C14.4895 10.752 14.3264 10.752 14 10.752C13.6736 10.752 13.5105 10.752 13.3832 10.6947C13.2384 10.6295 13.1224 10.5136 13.0573 10.3687C13 10.2415 13 10.0783 13 9.75195ZM13.0573 13.3852C13 13.5124 13 13.6756 13 14.002C13 14.3283 13 14.4915 13.0573 14.6187C13.1224 14.7636 13.2384 14.8795 13.3832 14.9447C13.5105 15.002 13.6736 15.002 14 15.002C14.3264 15.002 14.4895 15.002 14.6168 14.9447C14.7616 14.8795 14.8776 14.7636 14.9427 14.6187C15 14.4915 15 14.3283 15 14.002C15 13.6756 15 13.5124 14.9427 13.3852C14.8776 13.2404 14.7616 13.1244 14.6168 13.0592C14.4895 13.002 14.3264 13.002 14 13.002C13.6736 13.002 13.5105 13.002 13.3832 13.0592C13.2384 13.1244 13.1224 13.2404 13.0573 13.3852Z"></path></svg>'),fs=e=>{const t=wr();return(()=>{const n=ds.cloneNode(!0),r=n.firstChild;return Kt((()=>zn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},ps={m:"16px",s:"12px",none:"0"},hs={m:"6px",s:"6px",none:"0"},gs=Cr.div`
|
|
476
476
|
width: 60px;
|
|
477
477
|
height: 60px;
|
|
478
478
|
padding: 8px;
|
|
@@ -515,13 +515,13 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
515
515
|
width: 100%;
|
|
516
516
|
margin: 0;
|
|
517
517
|
}
|
|
518
|
-
`,[Ss,Es]=qt((null==(pt=
|
|
518
|
+
`,[Ss,Es]=qt((null==(pt=Wr())?void 0:pt.innerHeight)||0);Wr()&&window.addEventListener("resize",(()=>Es(window.innerHeight)));const[As,_s]=qt(Yo("mobile")),Ts=()=>_s(Yo("mobile"));Wr()&&(window.addEventListener("resize",(()=>Ts())),window.addEventListener("load",(()=>Ts()),{once:!0}));const Rs=e=>{const[t,n]=qt(!1),r=()=>void 0!==e.maxHeight?`${e.maxHeight}px`:Ss()-(As()?150:200)+"px";return[kn(ks,{get isShown(){return t()}}),kn(Cs,{get maxHeight(){return r()},onScroll:e=>{n(e.target.scrollTop>0)},get class(){return e.class},get children(){return e.children}})]},Os=Cr.a`
|
|
519
519
|
display: block;
|
|
520
520
|
text-decoration: unset;
|
|
521
|
-
`,Ps=e=>kn(Os,_n({get href(){return e.href},get target(){return e.blank?"_blank":"_self"},get class(){return e.class}},(()=>e.blank?{rel:"noreferrer noopener"}:{}),{get children(){return e.children}})),Ms=tn(),Ls=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.76228 2.09998H10.2378C11.0458 2.09997 11.7067 2.09996 12.2438 2.14384C12.7997 2.18926 13.3017 2.28614 13.7706 2.52505C14.5045 2.89896 15.1011 3.49558 15.475 4.22941C15.7139 4.6983 15.8108 5.20038 15.8562 5.75629C15.9001 6.29337 15.9001 6.95422 15.9001 7.76227V8.1H16.2377C17.0457 8.09999 17.7066 8.09998 18.2437 8.14386C18.7996 8.18928 19.3017 8.28616 19.7705 8.52507C20.5044 8.89898 21.101 9.4956 21.4749 10.2294C21.7138 10.6983 21.8107 11.2004 21.8561 11.7563C21.9 12.2934 21.9 12.9542 21.9 13.7623V16.2377C21.9 17.0458 21.9 17.7066 21.8561 18.2437C21.8107 18.7996 21.7138 19.3017 21.4749 19.7706C21.101 20.5044 20.5044 21.101 19.7705 21.4749C19.3017 21.7138 18.7996 21.8107 18.2437 21.8561C17.7066 21.9 17.0458 21.9 16.2378 21.9H13.7623C12.9543 21.9 12.2934 21.9 11.7563 21.8561C11.2004 21.8107 10.6983 21.7138 10.2294 21.4749C9.49561 21.101 8.89898 20.5044 8.52508 19.7706C8.28616 19.3017 8.18928 18.7996 8.14386 18.2437C8.09998 17.7066 8.09999 17.0458 8.1 16.2377V15.9H7.76227C6.95426 15.9 6.29335 15.9 5.75629 15.8561C5.20038 15.8107 4.6983 15.7138 4.22941 15.4749C3.49558 15.101 2.89896 14.5044 2.52505 13.7705C2.28614 13.3017 2.18926 12.7996 2.14384 12.2437C2.09996 11.7066 2.09997 11.0458 2.09998 10.2377V7.76228C2.09997 6.95424 2.09996 6.29336 2.14384 5.75629C2.18926 5.20038 2.28614 4.6983 2.52505 4.22941C2.89896 3.49558 3.49558 2.89896 4.22941 2.52505C4.6983 2.28614 5.20038 2.18926 5.75629 2.14384C6.29336 2.09996 6.95425 2.09997 7.76228 2.09998ZM8.1 14.1V13.7623C8.09999 12.9542 8.09998 12.2934 8.14386 11.7563C8.18928 11.2004 8.28616 10.6983 8.52508 10.2294C8.89898 9.4956 9.49561 8.89898 10.2294 8.52507C10.6983 8.28616 11.2004 8.18928 11.7563 8.14386C12.2934 8.09998 12.9542 8.09999 13.7623 8.1H14.1001V7.79998C14.1001 6.94505 14.0994 6.35798 14.0622 5.90287C14.0259 5.45827 13.9593 5.21944 13.8712 5.0466C13.6699 4.65146 13.3486 4.3302 12.9535 4.12886C12.7806 4.04079 12.5418 3.97419 12.0972 3.93786C11.6421 3.90068 11.055 3.89998 10.2001 3.89998H7.79998C6.94505 3.89998 6.35798 3.90068 5.90287 3.93786C5.45827 3.97419 5.21944 4.04079 5.0466 4.12886C4.65146 4.3302 4.3302 4.65146 4.12886 5.0466C4.04079 5.21944 3.97419 5.45827 3.93786 5.90287C3.90068 6.35798 3.89998 6.94505 3.89998 7.79998V10.2C3.89998 11.0549 3.90068 11.642 3.93786 12.0971C3.97419 12.5417 4.04079 12.7805 4.12886 12.9534C4.3302 13.3485 4.65146 13.6698 5.0466 13.8711C5.21944 13.9592 5.45827 14.0258 5.90287 14.0621C6.35798 14.0993 6.94505 14.1 7.79998 14.1H8.1ZM11.0466 10.1289C11.2195 10.0408 11.4583 9.97421 11.9029 9.93788C12.358 9.9007 12.9451 9.9 13.8 9.9H16.2C17.0549 9.9 17.642 9.9007 18.0971 9.93788C18.5417 9.97421 18.7805 10.0408 18.9534 10.1289C19.3485 10.3302 19.6698 10.6515 19.8711 11.0466C19.9592 11.2195 20.0258 11.4583 20.0621 11.9029C20.0993 12.358 20.1 12.9451 20.1 13.8V16.2C20.1 17.0549 20.0993 17.642 20.0621 18.0971C20.0258 18.5417 19.9592 18.7805 19.8711 18.9534C19.6698 19.3485 19.3485 19.6698 18.9534 19.8711C18.7805 19.9592 18.5417 20.0258 18.0971 20.0621C17.642 20.0993 17.0549 20.1 16.2 20.1H13.8C12.9451 20.1 12.358 20.0993 11.9029 20.0621C11.4583 20.0258 11.2195 19.9592 11.0466 19.8711C10.6515 19.6698 10.3302 19.3485 10.1289 18.9534C10.0408 18.7805 9.97421 18.5417 9.93788 18.0971C9.9007 17.642 9.9 17.0549 9.9 16.2V13.8C9.9 12.9451 9.9007 12.358 9.93788 11.9029C9.97421 11.4583 10.0408 11.2195 10.1289 11.0466C10.3302 10.6515 10.6515 10.3302 11.0466 10.1289Z"></path></svg>'),Ns=e=>{const t=wr();return(()=>{const n=Ls.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.primary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},Is=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.7624 3.10001C7.95435 3.1 7.29349 3.09999 6.75642 3.14387C6.2005 3.18929 5.69842 3.28617 5.22954 3.52508C4.4957 3.89899 3.89908 4.49561 3.52517 5.22944C3.28626 5.69833 3.18938 6.20041 3.14396 6.75632C3.10008 7.2934 3.10009 7.95424 3.1001 8.76229V15.2377C3.10009 16.0458 3.10008 16.7066 3.14396 17.2437C3.18938 17.7996 3.28626 18.3017 3.52517 18.7706C3.89908 19.5044 4.4957 20.101 5.22954 20.4749C5.69842 20.7138 6.2005 20.8107 6.75642 20.8561C7.29349 20.9 7.95434 20.9 8.76239 20.9H12.0001C12.4972 20.9 12.9001 20.4971 12.9001 20C12.9001 19.503 12.4972 19.1 12.0001 19.1H8.8001C7.94517 19.1 7.3581 19.0993 6.90299 19.0621C6.45839 19.0258 6.21956 18.9592 6.04672 18.8711C5.65158 18.6698 5.33032 18.3485 5.12898 17.9534C5.04092 17.7805 4.97431 17.5417 4.93798 17.0971C4.9008 16.642 4.9001 16.0549 4.9001 15.2V8.80001C4.9001 7.94508 4.9008 7.35801 4.93798 6.9029C4.97431 6.4583 5.04092 6.21947 5.12898 6.04663C5.33032 5.65149 5.65158 5.33023 6.04672 5.12889C6.21956 5.04082 6.45839 4.97422 6.90299 4.93789C7.3581 4.90071 7.94517 4.90001 8.8001 4.90001H12.0001C12.4972 4.90001 12.9001 4.49706 12.9001 4.00001C12.9001 3.50295 12.4972 3.10001 12.0001 3.10001H8.7624Z"></path><path d="M17.6364 7.3636C17.2849 7.01212 16.7151 7.01212 16.3636 7.3636C16.0121 7.71507 16.0121 8.28492 16.3636 8.63639L18.8272 11.1H9.00001C8.50295 11.1 8.10001 11.5029 8.10001 12C8.10001 12.497 8.50295 12.9 9.00001 12.9H18.8272L16.3636 15.3636C16.0121 15.7151 16.0121 16.2849 16.3636 16.6364C16.7151 16.9879 17.2849 16.9879 17.6364 16.6364L21.6364 12.6364C21.9879 12.2849 21.9879 11.7151 21.6364 11.3636L17.6364 7.3636Z"></path></svg>'),js=e=>{const t=wr(),n=()=>e.fill||t.colors.icon.primary;return(()=>{const e=Is.cloneNode(!0),t=e.firstChild,r=t.nextSibling;return Kt((e=>{const o=n(),i=n();return o!==e._v$&&zn(t,"fill",e._v$=o),i!==e._v$2&&zn(r,"fill",e._v$2=i),e}),{_v$:void 0,_v$2:void 0}),e})()},$s={m:"8px",s:"4px",none:"0"},
|
|
521
|
+
`,Ps=e=>kn(Os,_n({get href(){return e.href},get target(){return e.blank?"_blank":"_self"},get class(){return e.class}},(()=>e.blank?{rel:"noreferrer noopener"}:{}),{get children(){return e.children}})),Ms=tn(),Ls=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.76228 2.09998H10.2378C11.0458 2.09997 11.7067 2.09996 12.2438 2.14384C12.7997 2.18926 13.3017 2.28614 13.7706 2.52505C14.5045 2.89896 15.1011 3.49558 15.475 4.22941C15.7139 4.6983 15.8108 5.20038 15.8562 5.75629C15.9001 6.29337 15.9001 6.95422 15.9001 7.76227V8.1H16.2377C17.0457 8.09999 17.7066 8.09998 18.2437 8.14386C18.7996 8.18928 19.3017 8.28616 19.7705 8.52507C20.5044 8.89898 21.101 9.4956 21.4749 10.2294C21.7138 10.6983 21.8107 11.2004 21.8561 11.7563C21.9 12.2934 21.9 12.9542 21.9 13.7623V16.2377C21.9 17.0458 21.9 17.7066 21.8561 18.2437C21.8107 18.7996 21.7138 19.3017 21.4749 19.7706C21.101 20.5044 20.5044 21.101 19.7705 21.4749C19.3017 21.7138 18.7996 21.8107 18.2437 21.8561C17.7066 21.9 17.0458 21.9 16.2378 21.9H13.7623C12.9543 21.9 12.2934 21.9 11.7563 21.8561C11.2004 21.8107 10.6983 21.7138 10.2294 21.4749C9.49561 21.101 8.89898 20.5044 8.52508 19.7706C8.28616 19.3017 8.18928 18.7996 8.14386 18.2437C8.09998 17.7066 8.09999 17.0458 8.1 16.2377V15.9H7.76227C6.95426 15.9 6.29335 15.9 5.75629 15.8561C5.20038 15.8107 4.6983 15.7138 4.22941 15.4749C3.49558 15.101 2.89896 14.5044 2.52505 13.7705C2.28614 13.3017 2.18926 12.7996 2.14384 12.2437C2.09996 11.7066 2.09997 11.0458 2.09998 10.2377V7.76228C2.09997 6.95424 2.09996 6.29336 2.14384 5.75629C2.18926 5.20038 2.28614 4.6983 2.52505 4.22941C2.89896 3.49558 3.49558 2.89896 4.22941 2.52505C4.6983 2.28614 5.20038 2.18926 5.75629 2.14384C6.29336 2.09996 6.95425 2.09997 7.76228 2.09998ZM8.1 14.1V13.7623C8.09999 12.9542 8.09998 12.2934 8.14386 11.7563C8.18928 11.2004 8.28616 10.6983 8.52508 10.2294C8.89898 9.4956 9.49561 8.89898 10.2294 8.52507C10.6983 8.28616 11.2004 8.18928 11.7563 8.14386C12.2934 8.09998 12.9542 8.09999 13.7623 8.1H14.1001V7.79998C14.1001 6.94505 14.0994 6.35798 14.0622 5.90287C14.0259 5.45827 13.9593 5.21944 13.8712 5.0466C13.6699 4.65146 13.3486 4.3302 12.9535 4.12886C12.7806 4.04079 12.5418 3.97419 12.0972 3.93786C11.6421 3.90068 11.055 3.89998 10.2001 3.89998H7.79998C6.94505 3.89998 6.35798 3.90068 5.90287 3.93786C5.45827 3.97419 5.21944 4.04079 5.0466 4.12886C4.65146 4.3302 4.3302 4.65146 4.12886 5.0466C4.04079 5.21944 3.97419 5.45827 3.93786 5.90287C3.90068 6.35798 3.89998 6.94505 3.89998 7.79998V10.2C3.89998 11.0549 3.90068 11.642 3.93786 12.0971C3.97419 12.5417 4.04079 12.7805 4.12886 12.9534C4.3302 13.3485 4.65146 13.6698 5.0466 13.8711C5.21944 13.9592 5.45827 14.0258 5.90287 14.0621C6.35798 14.0993 6.94505 14.1 7.79998 14.1H8.1ZM11.0466 10.1289C11.2195 10.0408 11.4583 9.97421 11.9029 9.93788C12.358 9.9007 12.9451 9.9 13.8 9.9H16.2C17.0549 9.9 17.642 9.9007 18.0971 9.93788C18.5417 9.97421 18.7805 10.0408 18.9534 10.1289C19.3485 10.3302 19.6698 10.6515 19.8711 11.0466C19.9592 11.2195 20.0258 11.4583 20.0621 11.9029C20.0993 12.358 20.1 12.9451 20.1 13.8V16.2C20.1 17.0549 20.0993 17.642 20.0621 18.0971C20.0258 18.5417 19.9592 18.7805 19.8711 18.9534C19.6698 19.3485 19.3485 19.6698 18.9534 19.8711C18.7805 19.9592 18.5417 20.0258 18.0971 20.0621C17.642 20.0993 17.0549 20.1 16.2 20.1H13.8C12.9451 20.1 12.358 20.0993 11.9029 20.0621C11.4583 20.0258 11.2195 19.9592 11.0466 19.8711C10.6515 19.6698 10.3302 19.3485 10.1289 18.9534C10.0408 18.7805 9.97421 18.5417 9.93788 18.0971C9.9007 17.642 9.9 17.0549 9.9 16.2V13.8C9.9 12.9451 9.9007 12.358 9.93788 11.9029C9.97421 11.4583 10.0408 11.2195 10.1289 11.0466C10.3302 10.6515 10.6515 10.3302 11.0466 10.1289Z"></path></svg>'),Ns=e=>{const t=wr();return(()=>{const n=Ls.cloneNode(!0),r=n.firstChild;return Kt((o=>{const i=e.class,a=e.fill||t.colors.icon.primary;return i!==o._v$&&zn(n,"class",o._v$=i),a!==o._v$2&&zn(r,"fill",o._v$2=a),o}),{_v$:void 0,_v$2:void 0}),n})()},Is=Fn('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.7624 3.10001C7.95435 3.1 7.29349 3.09999 6.75642 3.14387C6.2005 3.18929 5.69842 3.28617 5.22954 3.52508C4.4957 3.89899 3.89908 4.49561 3.52517 5.22944C3.28626 5.69833 3.18938 6.20041 3.14396 6.75632C3.10008 7.2934 3.10009 7.95424 3.1001 8.76229V15.2377C3.10009 16.0458 3.10008 16.7066 3.14396 17.2437C3.18938 17.7996 3.28626 18.3017 3.52517 18.7706C3.89908 19.5044 4.4957 20.101 5.22954 20.4749C5.69842 20.7138 6.2005 20.8107 6.75642 20.8561C7.29349 20.9 7.95434 20.9 8.76239 20.9H12.0001C12.4972 20.9 12.9001 20.4971 12.9001 20C12.9001 19.503 12.4972 19.1 12.0001 19.1H8.8001C7.94517 19.1 7.3581 19.0993 6.90299 19.0621C6.45839 19.0258 6.21956 18.9592 6.04672 18.8711C5.65158 18.6698 5.33032 18.3485 5.12898 17.9534C5.04092 17.7805 4.97431 17.5417 4.93798 17.0971C4.9008 16.642 4.9001 16.0549 4.9001 15.2V8.80001C4.9001 7.94508 4.9008 7.35801 4.93798 6.9029C4.97431 6.4583 5.04092 6.21947 5.12898 6.04663C5.33032 5.65149 5.65158 5.33023 6.04672 5.12889C6.21956 5.04082 6.45839 4.97422 6.90299 4.93789C7.3581 4.90071 7.94517 4.90001 8.8001 4.90001H12.0001C12.4972 4.90001 12.9001 4.49706 12.9001 4.00001C12.9001 3.50295 12.4972 3.10001 12.0001 3.10001H8.7624Z"></path><path d="M17.6364 7.3636C17.2849 7.01212 16.7151 7.01212 16.3636 7.3636C16.0121 7.71507 16.0121 8.28492 16.3636 8.63639L18.8272 11.1H9.00001C8.50295 11.1 8.10001 11.5029 8.10001 12C8.10001 12.497 8.50295 12.9 9.00001 12.9H18.8272L16.3636 15.3636C16.0121 15.7151 16.0121 16.2849 16.3636 16.6364C16.7151 16.9879 17.2849 16.9879 17.6364 16.6364L21.6364 12.6364C21.9879 12.2849 21.9879 11.7151 21.6364 11.3636L17.6364 7.3636Z"></path></svg>'),js=e=>{const t=wr(),n=()=>e.fill||t.colors.icon.primary;return(()=>{const e=Is.cloneNode(!0),t=e.firstChild,r=t.nextSibling;return Kt((e=>{const o=n(),i=n();return o!==e._v$&&zn(t,"fill",e._v$=o),i!==e._v$2&&zn(r,"fill",e._v$2=i),e}),{_v$:void 0,_v$2:void 0}),e})()},$s={m:"8px",s:"4px",none:"0"},Ds={m:"16px",s:"8px",none:"0"},Ws=Cr.div`
|
|
522
522
|
width: 256px;
|
|
523
523
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
|
|
524
|
-
border-radius: ${e=>
|
|
524
|
+
border-radius: ${e=>Ds[e.theme.borderRadius]};
|
|
525
525
|
|
|
526
526
|
background-color: ${e=>e.theme.colors.background.primary}
|
|
527
527
|
|
|
@@ -569,7 +569,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
569
569
|
`,Vs=Cr(ia)`
|
|
570
570
|
margin-top: 4px;
|
|
571
571
|
color: ${e=>e.theme.colors.text.secondary};
|
|
572
|
-
`,Gs=e=>{const t=oi(e);return kn(Hs,_n({get class(){return e.class},"data-tc-notification":"true"},t,{get children(){return[kn(Ks,{get children(){return[kn(Sa,{get translationKey(){return e.header.translationKey},get translationValues(){return e.header.translationValues},get children(){return e.children}}),kn(On,{get when(){return e.text},get children(){return kn(Vs,{get translationKey(){return e.text.translationKey},get translationValues(){return e.text.translationValues}})}})]}}),Gt((()=>e.icon))]}}))},Qs=Cr(
|
|
572
|
+
`,Gs=e=>{const t=oi(e);return kn(Hs,_n({get class(){return e.class},"data-tc-notification":"true"},t,{get children(){return[kn(Ks,{get children(){return[kn(Sa,{get translationKey(){return e.header.translationKey},get translationValues(){return e.header.translationValues},get children(){return e.children}}),kn(On,{get when(){return e.text},get children(){return kn(Vs,{get translationKey(){return e.text.translationKey},get translationValues(){return e.text.translationValues}})}})]}}),Gt((()=>e.icon))]}}))},Qs=Cr(Da)`
|
|
573
573
|
align-self: center;
|
|
574
574
|
`,Zs=e=>{const t=nn(Ms),[n]=ra();return kn(Gs,{get header(){return{translationKey:"notifications.confirm.header",translationValues:{name:t.wallet&&"name"in t.wallet?t.wallet.name:n("common.yourWallet",{},"Your wallet")}}},get class(){return e.class},get icon(){return kn(Qs,{})},"data-tc-notification-confirm":"true",children:"Confirm operation in your wallet"})},Ys=Cr(Na)`
|
|
575
575
|
margin-top: 2px;
|
|
@@ -606,7 +606,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
606
606
|
display: flex;
|
|
607
607
|
align-items: center;
|
|
608
608
|
justify-content: center;
|
|
609
|
-
`,pl=Cr(
|
|
609
|
+
`,pl=Cr(Da)`
|
|
610
610
|
height: 18px;
|
|
611
611
|
width: 18px;
|
|
612
612
|
`,hl=Cr.div`
|
|
@@ -614,7 +614,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
614
614
|
display: flex;
|
|
615
615
|
flex-direction: column;
|
|
616
616
|
align-items: flex-end;
|
|
617
|
-
`,gl=Cr((e=>{const t=nn(Ms),[n,r]=qt(!1);return kn(
|
|
617
|
+
`,gl=Cr((e=>{const t=nn(Ms),[n,r]=qt(!1);return kn(Ws,{ref(t){const n=e.ref;"function"===typeof n?n(t):e.ref=t},get class(){return e.class},"data-tc-dropdown":"true",get children(){return kn(Us,{get children(){return[(()=>{const e=zs.cloneNode(!0);return Kn(e,kn(Fs,{onClick:()=>_t(void 0,null,(function*(){const e=rt(t.account.address,t.account.chain===R.TESTNET);yield Yi(e),r(!0),setTimeout((()=>r(!1)),1e3)})),get children(){return[kn(Ns,{}),kn(On,{get when(){return!n()},get children(){return kn(Bs,{translationKey:"button.dropdown.copy",children:"Copy address"})}}),kn(On,{get when(){return n()},get children(){return kn(Bs,{translationKey:"button.dropdown.copied",children:"Address copied!"})}})]}})),e})(),(()=>{const n=zs.cloneNode(!0);return Kn(n,kn(Fs,{onClick:()=>(t.disconnect(),void e.onClose()),get children(){return[kn(js,{}),kn(Bs,{translationKey:"button.dropdown.disconnect",children:"Disconnect"})]}})),n})()]}})}})}))`
|
|
618
618
|
box-sizing: border-box;
|
|
619
619
|
overflow: hidden;
|
|
620
620
|
margin-top: 12px;
|
|
@@ -622,7 +622,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
622
622
|
> div:first-child {
|
|
623
623
|
margin-top: 20px;
|
|
624
624
|
}
|
|
625
|
-
`;function yl(e){return e.split("-")[0]}function vl(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=function(e){return["top","bottom"].includes(yl(e))?"x":"y"}(t),l="y"===s?"height":"width";const c=r[l]/2-o[l]/2,u="x"===s;let d;switch(yl(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(function(e){return e.split("-")[1]}(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}function bl(e){return Et(St({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function wl(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function xl(e){return wl(e).getComputedStyle(e)}function Cl(e){return _l(e)?(e.nodeName||"").toLowerCase():""}let kl;function Sl(){if(kl)return kl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(kl=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),kl):navigator.userAgent}function El(e){return e instanceof wl(e).HTMLElement}function Al(e){return e instanceof wl(e).Element}function _l(e){return e instanceof wl(e).Node}function Tl(e){if("undefined"===typeof ShadowRoot)return!1;return e instanceof wl(e).ShadowRoot||e instanceof ShadowRoot}function Rl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=xl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ol(e){return["table","td","th"].includes(Cl(e))}function Pl(e){const t=/firefox/i.test(Sl()),n=xl(e),r=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!r&&"none"!==r||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some((e=>n.willChange.includes(e)))||["paint","layout","strict","content"].some((e=>{const t=n.contain;return null!=t&&t.includes(e)}))}function Ml(){return!/^((?!chrome|android).)*safari/i.test(Sl())}function Ll(e){return["html","body","#document"].includes(Cl(e))}const Nl=Math.min,Il=Math.max,jl=Math.round,$l={x:1,y:1};function Wl(e){const t=!Al(e)&&e.contextElement?e.contextElement:Al(e)?e:null;if(!t)return $l;const n=t.getBoundingClientRect(),r=xl(t);if("border-box"!==r.boxSizing)return El(t)?{x:t.offsetWidth>0&&jl(n.width)/t.offsetWidth||1,y:t.offsetHeight>0&&jl(n.height)/t.offsetHeight||1}:$l;let o=n.width/parseFloat(r.width),i=n.height/parseFloat(r.height);return o&&Number.isFinite(o)||(o=1),i&&Number.isFinite(i)||(i=1),{x:o,y:i}}function Dl(e,t,n,r){var o,i,a,s;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let c=$l;t&&(r?Al(r)&&(c=Wl(r)):c=Wl(e));const u=Al(e)?wl(e):window,d=!Ml()&&n,f=(l.left+(d&&null!=(o=null==(i=u.visualViewport)?void 0:i.offsetLeft)?o:0))/c.x,p=(l.top+(d&&null!=(a=null==(s=u.visualViewport)?void 0:s.offsetTop)?a:0))/c.y,h=l.width/c.x,g=l.height/c.y;return{width:h,height:g,top:p,right:f+h,bottom:p+g,left:f,x:f,y:p}}function Ul(e){return((_l(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fl(e){return Al(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zl(e){return Dl(Ul(e)).left+Fl(e).scrollLeft}function Bl(e,t,n){const r=El(t),o=Ul(t),i=Dl(e,!0,"fixed"===n,t);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Cl(t)||Rl(o))&&(a=Fl(t)),El(t)){const e=Dl(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=zl(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function ql(e){if("html"===Cl(e))return e;const t=e.assignedSlot||e.parentNode||(Tl(e)?e.host:null)||Ul(e);return Tl(t)?t.host:t}function Hl(e){return El(e)&&"fixed"!==xl(e).position?e.offsetParent:null}function Kl(e){const t=wl(e);let n=Hl(e);for(;n&&Ol(n)&&"static"===xl(n).position;)n=Hl(n);return n&&("html"===Cl(n)||"body"===Cl(n)&&"static"===xl(n).position&&!Pl(n))?t:n||function(e){let t=ql(e);for(;El(t)&&!Ll(t);){if(Pl(t))return t;t=ql(t)}return null}(e)||t}function Vl(e){const t=ql(e);return Ll(t)?e.ownerDocument.body:El(t)&&Rl(t)?t:Vl(t)}function Gl(e,t){var n;void 0===t&&(t=[]);const r=Vl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=wl(r);return o?t.concat(i,i.visualViewport||[],Rl(r)?r:[]):t.concat(r,Gl(r))}function Ql(e,t,n){return"viewport"===t?bl(function(e,t){const n=wl(e),r=Ul(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Ml();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):Al(t)?function(e,t){const n=Dl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=El(e)?Wl(e):{x:1,y:1},a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{top:c,left:l,right:l+a,bottom:c+s,x:l,y:c,width:a,height:s}}(t,n):bl(function(e){var t;const n=Ul(e),r=Fl(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Il(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Il(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+zl(e);const l=-r.scrollTop;return"rtl"===xl(o||n).direction&&(s+=Il(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Ul(e)))}const Zl={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Gl(e).filter((e=>Al(e)&&"body"!==Cl(e))),o=null;const i="fixed"===xl(e).position;let a=i?ql(e):e;for(;Al(a)&&!Ll(a);){const e=xl(a),t=Pl(a);(i?t||o:t||"static"!==e.position||!o||!["absolute","fixed"].includes(o.position))?o=e:r=r.filter((e=>e!==a)),a=ql(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=Ql(t,n,o);return e.top=Il(r.top,e.top),e.right=Nl(r.right,e.right),e.bottom=Nl(r.bottom,e.bottom),e.left=Il(r.left,e.left),e}),Ql(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=El(n),i=Ul(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Cl(n)||Rl(i))&&(a=Fl(n)),El(n))){const e=Dl(n);s=Wl(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},isElement:Al,getDimensions:function(e){if(El(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Dl(e);return{width:t.width,height:t.height}},getOffsetParent:Kl,getDocumentElement:Ul,getScale:Wl,getElementRects(e){return _t(this,null,(function*(){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Kl,i=this.getDimensions;return{reference:Bl(t,yield o(n),r),floating:St({x:0,y:0},yield i(n))}}))},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===xl(e).direction};function Yl(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,c=l||i?[...Al(e)?Gl(e):e.contextElement?Gl(e.contextElement):[],...Gl(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let u,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),Al(e)&&!s&&d.observe(e),Al(e)||!e.contextElement||s||d.observe(e.contextElement),d.observe(t)}let f=s?Dl(e):null;return s&&function t(){const r=Dl(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n();f=r,u=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{l&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(u)}}const Xl=(e,t,n)=>{const r=new Map,o=St({platform:Zl},n),i=Et(St({},o.platform),{_c:r});return((e,t,n)=>_t(void 0,null,(function*(){const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=yield null==a.isRTL?void 0:a.isRTL(t);if("production"!=={}.NODE_ENV){if(null==a&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),s.filter((e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t})).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));e&&t||console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let c=yield a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=vl(c,r,l),f=r,p={},h=0;for(let n=0;n<s.length;n++){const{name:i,fn:g}=s[n],{x:m,y:y,data:v,reset:b}=yield g({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=y?y:d,p=Et(St({},p),{[i]:St(St({},p[i]),v)}),"production"!=={}.NODE_ENV&&h>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),b&&h<=50&&(h++,"object"===typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?yield a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=vl(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})))(e,t,Et(St({},o),{platform:i}))};const Jl=Fn('<tc-root data-tc-dropdown-container="true"></tc-root>'),ec=()=>{const e=wr(),t=nn(uo),n=nn(Ms),[r,o]=qt(!1),[i,a]=qt(t.account),[s,l]=qt(!t.account);let c;const[u,d]=qt(),[f,p]=qt(),h=function(e,t,n){let r=()=>{var e;return null!=(e=null==n?void 0:n.placement)?e:"bottom"},o=()=>{var e;return null!=(e=null==n?void 0:n.strategy)?e:"absolute"},[i,a]=qt({x:null,y:null,placement:r(),strategy:o(),middlewareData:{}}),[s,l]=qt();Vt((()=>{let e=s();if(e)throw e.value}));let c=Gt((()=>(e(),t(),{})));function u(){let i=e(),s=t();if(i&&s){let e=c();Xl(i,s,{middleware:null==n?void 0:n.middleware,placement:r(),strategy:o()}).then((t=>{e===c()&&a(t)}),(e=>{l(e)}))}}return Vt((()=>{let i=e(),a=t();if(null==n||n.middleware,r(),o(),i&&a)if(null!=n&&n.whileElementsMounted){let e=n.whileElementsMounted(i,a,u);e&&Jt(e)}else u()})),{get x(){return i().x},get y(){return i().y},get placement(){return i().placement},get strategy(){return i().strategy},get middlewareData(){return i().middlewareData},update:u}}(f,u,{whileElementsMounted:Yl,placement:"bottom-end"});n.connectionRestored.then((()=>l(!1)));const g=t.onStatusChange((e=>{if(!e)return o(!1),a(null),void l(!1);a(e.account),l(!1)})),m=e=>{if(!i()||!r())return;const t=f().contains(e.target),n=c.contains(e.target);t||n||o(!1)};return Xt((()=>{document.body.addEventListener("click",m)})),Jt((()=>{document.body.removeEventListener("click",m),g()})),kn(or,{component:Sr,get children(){return[kn(On,{get when(){return s()},get children(){return kn(fl,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return kn(pl,{})}})}}),kn(On,{get when(){return!s()},get children(){return[kn(On,{get when(){return!i()},get children(){return kn(ul,{onClick:()=>n.openModal(),"data-tc-connect-button":"true",scale:"s",get children(){return[kn(Aa,{get fill(){return e.colors.connectButton.foreground}}),kn(ia,{translationKey:"button.connectWallet",fontSize:"15px",lineHeight:"18px",fontWeight:"590",get color(){return e.colors.connectButton.foreground},children:"Connect wallet"})]}})}}),kn(On,{get when(){return i()},get children(){return kn(hl,{get children(){return[kn(dl,{onClick:()=>o((e=>!e)),ref:p,"data-tc-dropdown-button":"true",scale:"s",get children(){return[kn(ia,{fontSize:"15px",fontWeight:"590",lineHeight:"18px",get children(){return(()=>{const e=i();if(e){const t=rt(e.address,e.chain===R.TESTNET);return t.slice(0,4)+"\u2026"+t.slice(-4)}return""})()}}),kn(hi,{direction:"bottom"})]}}),kn(rr,{get children(){const e=Yt((()=>document.importNode(Jl,!0)));return Hn(d,e),e.style.setProperty("z-index","999"),e._$owner=$t,Kn(e,kn(si,{onBeforeEnter:e=>{Ri(e,[{opacity:0,transform:"translateY(-8px)"},{opacity:1,transform:"translateY(0)"}],{duration:150})},onExit:(e,t)=>{Ri(e,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:"translateY(-8px)"}],{duration:150}).finished.then(t)},get children(){return kn(On,{get when(){return r()},get children(){return kn(gl,{get hidden(){return!r()},onClose:()=>o(!1),ref(e){"function"===typeof c?c(e):c=e}})}})}}),null),Kn(e,kn(ml,{}),null),Kt((t=>{var n,r;const o=h.strategy,i=`${null!=(n=h.y)?n:0}px`,a=`${null!=(r=h.x)?r:0}px`;return o!==t._v$&&e.style.setProperty("position",t._v$=o),i!==t._v$2&&e.style.setProperty("top",t._v$2=i),a!==t._v$3&&e.style.setProperty("left",t._v$3=a),t}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})]}})}})]}})]}})},tc=Cr(Ni)`
|
|
625
|
+
`;function yl(e){return e.split("-")[0]}function vl(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=function(e){return["top","bottom"].includes(yl(e))?"x":"y"}(t),l="y"===s?"height":"width";const c=r[l]/2-o[l]/2,u="x"===s;let d;switch(yl(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(function(e){return e.split("-")[1]}(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}function bl(e){return Et(St({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function wl(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function xl(e){return wl(e).getComputedStyle(e)}function Cl(e){return _l(e)?(e.nodeName||"").toLowerCase():""}let kl;function Sl(){if(kl)return kl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(kl=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),kl):navigator.userAgent}function El(e){return e instanceof wl(e).HTMLElement}function Al(e){return e instanceof wl(e).Element}function _l(e){return e instanceof wl(e).Node}function Tl(e){if("undefined"===typeof ShadowRoot)return!1;return e instanceof wl(e).ShadowRoot||e instanceof ShadowRoot}function Rl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=xl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ol(e){return["table","td","th"].includes(Cl(e))}function Pl(e){const t=/firefox/i.test(Sl()),n=xl(e),r=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!r&&"none"!==r||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some((e=>n.willChange.includes(e)))||["paint","layout","strict","content"].some((e=>{const t=n.contain;return null!=t&&t.includes(e)}))}function Ml(){return!/^((?!chrome|android).)*safari/i.test(Sl())}function Ll(e){return["html","body","#document"].includes(Cl(e))}const Nl=Math.min,Il=Math.max,jl=Math.round,$l={x:1,y:1};function Dl(e){const t=!Al(e)&&e.contextElement?e.contextElement:Al(e)?e:null;if(!t)return $l;const n=t.getBoundingClientRect(),r=xl(t);if("border-box"!==r.boxSizing)return El(t)?{x:t.offsetWidth>0&&jl(n.width)/t.offsetWidth||1,y:t.offsetHeight>0&&jl(n.height)/t.offsetHeight||1}:$l;let o=n.width/parseFloat(r.width),i=n.height/parseFloat(r.height);return o&&Number.isFinite(o)||(o=1),i&&Number.isFinite(i)||(i=1),{x:o,y:i}}function Wl(e,t,n,r){var o,i,a,s;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let c=$l;t&&(r?Al(r)&&(c=Dl(r)):c=Dl(e));const u=Al(e)?wl(e):window,d=!Ml()&&n,f=(l.left+(d&&null!=(o=null==(i=u.visualViewport)?void 0:i.offsetLeft)?o:0))/c.x,p=(l.top+(d&&null!=(a=null==(s=u.visualViewport)?void 0:s.offsetTop)?a:0))/c.y,h=l.width/c.x,g=l.height/c.y;return{width:h,height:g,top:p,right:f+h,bottom:p+g,left:f,x:f,y:p}}function Ul(e){return((_l(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fl(e){return Al(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zl(e){return Wl(Ul(e)).left+Fl(e).scrollLeft}function Bl(e,t,n){const r=El(t),o=Ul(t),i=Wl(e,!0,"fixed"===n,t);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Cl(t)||Rl(o))&&(a=Fl(t)),El(t)){const e=Wl(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=zl(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function ql(e){if("html"===Cl(e))return e;const t=e.assignedSlot||e.parentNode||(Tl(e)?e.host:null)||Ul(e);return Tl(t)?t.host:t}function Hl(e){return El(e)&&"fixed"!==xl(e).position?e.offsetParent:null}function Kl(e){const t=wl(e);let n=Hl(e);for(;n&&Ol(n)&&"static"===xl(n).position;)n=Hl(n);return n&&("html"===Cl(n)||"body"===Cl(n)&&"static"===xl(n).position&&!Pl(n))?t:n||function(e){let t=ql(e);for(;El(t)&&!Ll(t);){if(Pl(t))return t;t=ql(t)}return null}(e)||t}function Vl(e){const t=ql(e);return Ll(t)?e.ownerDocument.body:El(t)&&Rl(t)?t:Vl(t)}function Gl(e,t){var n;void 0===t&&(t=[]);const r=Vl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=wl(r);return o?t.concat(i,i.visualViewport||[],Rl(r)?r:[]):t.concat(r,Gl(r))}function Ql(e,t,n){return"viewport"===t?bl(function(e,t){const n=wl(e),r=Ul(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Ml();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):Al(t)?function(e,t){const n=Wl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=El(e)?Dl(e):{x:1,y:1},a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{top:c,left:l,right:l+a,bottom:c+s,x:l,y:c,width:a,height:s}}(t,n):bl(function(e){var t;const n=Ul(e),r=Fl(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Il(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Il(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+zl(e);const l=-r.scrollTop;return"rtl"===xl(o||n).direction&&(s+=Il(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Ul(e)))}const Zl={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Gl(e).filter((e=>Al(e)&&"body"!==Cl(e))),o=null;const i="fixed"===xl(e).position;let a=i?ql(e):e;for(;Al(a)&&!Ll(a);){const e=xl(a),t=Pl(a);(i?t||o:t||"static"!==e.position||!o||!["absolute","fixed"].includes(o.position))?o=e:r=r.filter((e=>e!==a)),a=ql(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=Ql(t,n,o);return e.top=Il(r.top,e.top),e.right=Nl(r.right,e.right),e.bottom=Nl(r.bottom,e.bottom),e.left=Il(r.left,e.left),e}),Ql(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=El(n),i=Ul(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Cl(n)||Rl(i))&&(a=Fl(n)),El(n))){const e=Wl(n);s=Dl(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},isElement:Al,getDimensions:function(e){if(El(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Wl(e);return{width:t.width,height:t.height}},getOffsetParent:Kl,getDocumentElement:Ul,getScale:Dl,getElementRects(e){return _t(this,null,(function*(){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Kl,i=this.getDimensions;return{reference:Bl(t,yield o(n),r),floating:St({x:0,y:0},yield i(n))}}))},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===xl(e).direction};function Yl(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,c=l||i?[...Al(e)?Gl(e):e.contextElement?Gl(e.contextElement):[],...Gl(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let u,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),Al(e)&&!s&&d.observe(e),Al(e)||!e.contextElement||s||d.observe(e.contextElement),d.observe(t)}let f=s?Wl(e):null;return s&&function t(){const r=Wl(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n();f=r,u=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{l&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(u)}}const Xl=(e,t,n)=>{const r=new Map,o=St({platform:Zl},n),i=Et(St({},o.platform),{_c:r});return((e,t,n)=>_t(void 0,null,(function*(){const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=yield null==a.isRTL?void 0:a.isRTL(t);if("production"!=={}.NODE_ENV){if(null==a&&console.error(["Floating UI: `platform` property was not passed to config. If you","want to use Floating UI on the web, install @floating-ui/dom","instead of the /core package. Otherwise, you can create your own","`platform`: https://floating-ui.com/docs/platform"].join(" ")),s.filter((e=>{let{name:t}=e;return"autoPlacement"===t||"flip"===t})).length>1)throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware","detected. This will lead to an infinite loop. Ensure only one of","either has been passed to the `middleware` array."].join(" "));e&&t||console.error(["Floating UI: The reference and/or floating element was not defined","when `computePosition()` was called. Ensure that both elements have","been created and can be measured."].join(" "))}let c=yield a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=vl(c,r,l),f=r,p={},h=0;for(let n=0;n<s.length;n++){const{name:i,fn:g}=s[n],{x:m,y:y,data:v,reset:b}=yield g({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=y?y:d,p=Et(St({},p),{[i]:St(St({},p[i]),v)}),"production"!=={}.NODE_ENV&&h>50&&console.warn(["Floating UI: The middleware lifecycle appears to be running in an","infinite loop. This is usually caused by a `reset` continually","being returned without a break condition."].join(" ")),b&&h<=50&&(h++,"object"===typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?yield a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=vl(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})))(e,t,Et(St({},o),{platform:i}))};const Jl=Fn('<tc-root data-tc-dropdown-container="true"></tc-root>'),ec=()=>{const e=wr(),t=nn(uo),n=nn(Ms),[r,o]=qt(!1),[i,a]=qt(t.account),[s,l]=qt(!t.account);let c;const[u,d]=qt(),[f,p]=qt(),h=function(e,t,n){let r=()=>{var e;return null!=(e=null==n?void 0:n.placement)?e:"bottom"},o=()=>{var e;return null!=(e=null==n?void 0:n.strategy)?e:"absolute"},[i,a]=qt({x:null,y:null,placement:r(),strategy:o(),middlewareData:{}}),[s,l]=qt();Vt((()=>{let e=s();if(e)throw e.value}));let c=Gt((()=>(e(),t(),{})));function u(){let i=e(),s=t();if(i&&s){let e=c();Xl(i,s,{middleware:null==n?void 0:n.middleware,placement:r(),strategy:o()}).then((t=>{e===c()&&a(t)}),(e=>{l(e)}))}}return Vt((()=>{let i=e(),a=t();if(null==n||n.middleware,r(),o(),i&&a)if(null!=n&&n.whileElementsMounted){let e=n.whileElementsMounted(i,a,u);e&&Jt(e)}else u()})),{get x(){return i().x},get y(){return i().y},get placement(){return i().placement},get strategy(){return i().strategy},get middlewareData(){return i().middlewareData},update:u}}(f,u,{whileElementsMounted:Yl,placement:"bottom-end"});n.connectionRestored.then((()=>l(!1)));const g=t.onStatusChange((e=>{if(!e)return o(!1),a(null),void l(!1);a(e.account),l(!1)})),m=e=>{if(!i()||!r())return;const t=f().contains(e.target),n=c.contains(e.target);t||n||o(!1)};return Xt((()=>{document.body.addEventListener("click",m)})),Jt((()=>{document.body.removeEventListener("click",m),g()})),kn(or,{component:Sr,get children(){return[kn(On,{get when(){return s()},get children(){return kn(fl,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return kn(pl,{})}})}}),kn(On,{get when(){return!s()},get children(){return[kn(On,{get when(){return!i()},get children(){return kn(ul,{onClick:()=>n.openModal(),"data-tc-connect-button":"true",scale:"s",get children(){return[kn(Aa,{get fill(){return e.colors.connectButton.foreground}}),kn(ia,{translationKey:"button.connectWallet",fontSize:"15px",lineHeight:"18px",fontWeight:"590",get color(){return e.colors.connectButton.foreground},children:"Connect wallet"})]}})}}),kn(On,{get when(){return i()},get children(){return kn(hl,{get children(){return[kn(dl,{onClick:()=>o((e=>!e)),ref:p,"data-tc-dropdown-button":"true",scale:"s",get children(){return[kn(ia,{fontSize:"15px",fontWeight:"590",lineHeight:"18px",get children(){return(()=>{const e=i();if(e){const t=rt(e.address,e.chain===R.TESTNET);return t.slice(0,4)+"\u2026"+t.slice(-4)}return""})()}}),kn(hi,{direction:"bottom"})]}}),kn(rr,{get children(){const e=Yt((()=>document.importNode(Jl,!0)));return Hn(d,e),e.style.setProperty("z-index","999"),e._$owner=$t,Kn(e,kn(si,{onBeforeEnter:e=>{Ri(e,[{opacity:0,transform:"translateY(-8px)"},{opacity:1,transform:"translateY(0)"}],{duration:150})},onExit:(e,t)=>{Ri(e,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:"translateY(-8px)"}],{duration:150}).finished.then(t)},get children(){return kn(On,{get when(){return r()},get children(){return kn(gl,{get hidden(){return!r()},onClose:()=>o(!1),ref(e){"function"===typeof c?c(e):c=e}})}})}}),null),Kn(e,kn(ml,{}),null),Kt((t=>{var n,r;const o=h.strategy,i=`${null!=(n=h.y)?n:0}px`,a=`${null!=(r=h.x)?r:0}px`;return o!==t._v$&&e.style.setProperty("position",t._v$=o),i!==t._v$2&&e.style.setProperty("top",t._v$2=i),a!==t._v$3&&e.style.setProperty("left",t._v$3=a),t}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})]}})}})]}})]}})},tc=Cr(Ni)`
|
|
626
626
|
padding-left: 24px;
|
|
627
627
|
padding-right: 24px;
|
|
628
628
|
padding-top: 18px;
|
|
@@ -652,7 +652,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
652
652
|
min-width: 84px;
|
|
653
653
|
text-align: center;
|
|
654
654
|
font-weight: 590;
|
|
655
|
-
`,Cr((e=>{const t="tabBar"+Math.floor(1e4*Math.random());return kn($i,{get class(){return e.class},"data-tc-tab-bar":"true",get children(){return[kn(
|
|
655
|
+
`,Cr((e=>{const t="tabBar"+Math.floor(1e4*Math.random());return kn($i,{get class(){return e.class},"data-tc-tab-bar":"true",get children(){return[kn(Di,{get right(){return 1===e.selectedTabIndex}}),kn(Ui,{get isActive(){return 0===e.selectedTabIndex},get children(){return[kn(Wi,{type:"radio",name:t,get checked(){return 0===e.selectedTabIndex},onInput:()=>{var t;return null==(t=e.onSelectedTabIndexChange)?void 0:t.call(e,0)}}),Gt((()=>e.tab1))]}}),kn(Ui,{get isActive(){return 1===e.selectedTabIndex},get children(){return[kn(Wi,{type:"radio",get checked(){return 1===e.selectedTabIndex},name:t,onInput:()=>{var t;return null==(t=e.onSelectedTabIndexChange)?void 0:t.call(e,1)}}),Gt((()=>e.tab2))]}})]}})}))`
|
|
656
656
|
margin: 0 auto 22px;
|
|
657
657
|
`;const[oc,ic]=Ao({buttonRootId:null,language:"en",returnStrategy:"back",twaReturnUrl:void 0,walletsListConfiguration:{},enableAndroidBackHandler:!0});function ac(e){return"jsBridgeKey"in e?Et(St({},e),{injected:nt.isWalletInjected(e.jsBridgeKey),embedded:nt.isInsideWalletBrowser(e.jsBridgeKey)}):e}function sc(e,t){var n,r,o,i;return t?((null==(n=t.includeWallets)?void 0:n.length)&&(r="name",o=e,i=t.includeWallets.map(ac),e=o.map((e=>{const t=i.find((t=>t[r]===e[r]));return i=i.filter((t=>t[r]!==e[r])),void 0===t?e:t})).concat(i)),e):e}function lc(e){return e.platforms.some((e=>["macos","linux","windows"].includes(e)))}function cc(e){return e.platforms.some((e=>["ios","android"].includes(e)))}function uc(e){return e.platforms.some((e=>["chrome","firefox","safari"].includes(e)))}function dc(e,t){return!!t&&(e.name.toLowerCase()===t.toLowerCase()||e.appName.toLowerCase()===t.toLowerCase())}const fc=Cr.div`
|
|
658
658
|
display: flex;
|
|
@@ -782,16 +782,16 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
782
782
|
padding-bottom: 0;
|
|
783
783
|
`,Ic=Cr(ii)`
|
|
784
784
|
margin-bottom: 24px;
|
|
785
|
-
`,jc=Cr(
|
|
785
|
+
`,jc=Cr(Da)`
|
|
786
786
|
margin-bottom: 18px;
|
|
787
787
|
margin-top: 2px;
|
|
788
788
|
`,$c=Cr(Na)`
|
|
789
789
|
margin-bottom: 16px;
|
|
790
|
-
`,
|
|
790
|
+
`,Dc=Cr(Ca)`
|
|
791
791
|
color: ${e=>e.theme.colors.text.secondary};
|
|
792
792
|
text-align: center;
|
|
793
793
|
margin-bottom: 20px;
|
|
794
|
-
`,
|
|
794
|
+
`,Wc=Cr(ii)`
|
|
795
795
|
margin-top: -8px;
|
|
796
796
|
margin-bottom: 24px;
|
|
797
797
|
width: 100%;
|
|
@@ -803,7 +803,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
803
803
|
width: 32px;
|
|
804
804
|
height: 32px;
|
|
805
805
|
border-radius: ${e=>Ac[e.theme.borderRadius]};
|
|
806
|
-
`,Fc=e=>{const[t]=ra();return Gt((()=>{var n;return t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString())}))};function zc(e,t){let n;n="string"===typeof t?t:zo()?t.twaReturnUrl||t.returnStrategy:"none";const r=function(e,t,n){const r=new URL(e);return r.searchParams.append(t,n),r.toString()}(e,"ret",n);if(!ce(e))return r;const o=r.slice(r.lastIndexOf("&")+1);return r.slice(0,r.lastIndexOf("&"))+"-"+ue(o)}function Bc(e,t){t=St({},t);const n=function(e){const t=new URL(e);t.searchParams.has("attach")&&(t.searchParams.delete("attach"),t.pathname+="/start");return t.toString()}(e),r=new URL(n);if(r.searchParams.has("startapp")||r.searchParams.append("startapp","tonconnect"),Bo()){t.returnStrategy="back";Ir(zc(r.toString(),t.returnStrategy))}else if(zo())if(Fo("ios","android","macos","tdesktop","web")){t.returnStrategy="back";Ho(zc(r.toString(),t.returnStrategy))}else Fo("weba")?Ho(zc(r.toString(),t)):Ir(zc(r.toString(),t));else if(zr("ios")){"back"===t.returnStrategy&&(Br("safari")?t.returnStrategy="back":Br("chrome")?t.returnStrategy="googlechrome://":Br("firefox")?t.returnStrategy="firefox://":Br("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=Br("chrome"),n=Br("firefox");if((e||n)&&!t.forceRedirect){const e=zc(r.toString(),t.returnStrategy);jr(Hc(e),(()=>Ir(e)))}else{Ir(zc(r.toString(),t.returnStrategy))}}else if(zr("android")){t.returnStrategy="back";const e=Br("chrome"),n=Br("firefox");if((e||n)&&!t.forceRedirect){const e=zc(r.toString(),t.returnStrategy);jr(Hc(e),(()=>Ir(e)))}else{Ir(zc(r.toString(),t.returnStrategy))}}else if(zr("ipad")){"back"===t.returnStrategy&&(Br("safari")?t.returnStrategy="back":Br("chrome")?t.returnStrategy="googlechrome://":Br("firefox")?t.returnStrategy="firefox://":Br("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=Br("chrome"),n=Br("firefox"),o=(e||n)&&!t.forceRedirect,i=zc(r.toString(),t.returnStrategy);if(o){jr(Hc(i),(()=>Ir(i)))}else Ir(i)}else if(zr("macos","windows","linux")){t.returnStrategy="back",t.twaReturnUrl=void 0;const e=zc(r.toString(),t.returnStrategy);if(t.forceRedirect)Ir(e);else{jr(Hc(e),(()=>Ir(e)))}}else Ir(zc(r.toString(),t))}function qc(e,t,n,r){if(n=St({},n),Bo())if(zr("ios","android"))"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link"),Nr(zc(e,n.returnStrategy),"_self");else{r("universal-link");Ir(zc(e,n.returnStrategy))}else if(zo())if(Fo("ios","android")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link");const t=zc(e,n.returnStrategy);Ho(t,(()=>{r("universal-link"),Ir(t)}))}else if(Fo("macos","tdesktop")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve");const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else if(Fo("weba")){"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy=location.href:Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else if(Fo("web")){"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy=location.href:Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else{r("universal-link");Ir(zc(e,n.returnStrategy))}else if(zr("ios"))"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy="none":Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),Br("chrome")?(r("universal-link"),Nr(zc(e,n.returnStrategy),"_self")):(r("universal-link"),Ir(zc(e,n.returnStrategy)));else if(zr("android"))"back"===n.returnStrategy&&(Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),r("universal-link"),Ir(zc(e,n.returnStrategy));else if(zr("ipad"))"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy="none":Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),Br("chrome")?(r("universal-link"),Nr(zc(e,n.returnStrategy),"_self")):(r("universal-link"),Ir(zc(e,n.returnStrategy)));else if(zr("macos","windows","linux")){"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy="none":Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy="none");const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else r("universal-link"),Ir(zc(e,n.returnStrategy))}function Hc(e){const t=new URL(e),[,n,r]=t.pathname.split("/");return`tg://resolve?domain=${n}&appname=${r}&startapp=${t.searchParams.get("startapp")}`}const Kc=e=>{const[t,n]=qt("mobile"),[r,o]=qt(null);Vt((()=>{var t;o(null!=(t=e.defaultError)?t:null)}));const[i,a]=qt(),[s,l]=qt(!0),c=nn(uo);Jt(c.onStatusChange((()=>{}),(t=>{t instanceof K?o("missing-features"):e.wallet.appName!==vs&&o("connection-declined")})));const u=()=>{try{const t=c.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest);a(t)}catch(eb){}};Vt((()=>{"extension"!==Yt(t)&&(cc(e.wallet)||lc(e.wallet))&&u()}));const d=()=>{o(null),"extension"===t()&&u(),n("mobile"),oo(Et(St({},e.wallet),{openMethod:"qrcode"}))},f=()=>{if(o(null),"extension"===t()&&u(),n("desktop"),ce(i()))p();else{const t=!s();l(!1),qc(i(),e.wallet.deepLink,{returnStrategy:oc.returnStrategy,forceRedirect:t},(t=>{oo(Et(St({},e.wallet),{openMethod:t}))}))}},p=()=>{const t=!s();l(!1),oo(Et(St({},e.wallet),{openMethod:"universal-link"})),Bc(i(),{returnStrategy:oc.returnStrategy,twaReturnUrl:oc.twaReturnUrl,forceRedirect:t})},h=()=>{o(null),n("extension"),Re(e.wallet)&&(oo(e.wallet),c.connect({jsBridgeKey:e.wallet.jsBridgeKey},e.additionalRequest))};return cc(e.wallet)?d():uc(e.wallet)?h():f(),kn(_c,{"data-tc-wallets-modal-connection-desktop":"true",get children(){return[kn(On,{get when(){return!e.backDisabled},get children(){return kn(Mc,{icon:"arrow",onClick:()=>e.onBackClick()})}}),kn(Oc,{get children(){return e.wallet.name}}),kn(On,{get when(){return Gt((()=>"mobile"===t()))()&&!r()},get children(){return kn(Pc,{translationKey:"walletModal.desktopConnectionModal.scanQR",get translationValues(){return{name:e.wallet.name}},get children(){return["Scan the QR code below with your phone\u2019s or ",Gt((()=>e.wallet.name)),"\u2019s camera"]}})}}),kn(Tc,{get qr(){return"mobile"===t()},get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return r()},get children(){return[kn($c,{size:"s"}),kn(Pn,{get children(){return[kn(Mn,{get when(){return"missing-features"===r()},get children(){return kn(Wc,{translationKey:"walletModal.desktopConnectionModal.missingFeatures",get translationValues(){return{name:e.wallet.name}},children:"Please update Wallet, your version does not support required features for this dApp"})}}),kn(Mn,{get when(){return"connection-declined"===r()},get children(){return kn(Wc,{translationKey:"walletModal.desktopConnectionModal.connectionDeclined",children:"Connection declined"})}}),kn(Mn,{get when(){return"not-supported"===r()},get children(){return kn(Wc,{translationKey:"walletModal.desktopConnectionModal.notSupportedWallet",get translationValues(){return{name:e.wallet.name}},get children(){return[Gt((()=>e.wallet.name))," doesn\u2019t support the requested action. Please connect another wallet that supports it."]}})}})]}}),kn(Lc,{get children(){return[kn(On,{get when(){return"not-supported"!==r()},get children(){return kn(ii,{get leftIcon(){return kn(Za,{})},get onClick(){return"extension"===t()?h:f},get children(){return kn(Fc,{translationKey:"common.retry",children:"Retry"})}})}}),kn(On,{get when(){return"missing-features"===r()},get children(){return kn(Ps,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return kn(ii,{get leftIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.updateWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Update ",Gt((()=>e.wallet.name))]}})}})}})}}),kn(On,{get when(){return"not-supported"===r()},get children(){return kn(ii,{onClick:()=>e.onBackClick(),get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.chooseAnotherWallet",children:"Choose Another Wallet"})}})}})]}})]}}),kn(Mn,{get when(){return"mobile"===t()},get children(){return kn(Rc,{disableCopy:!1,get sourceUrl(){return zc(i(),"none")},get imageUrl(){return e.wallet.imageUrl}})}}),kn(Mn,{get when(){return"extension"===t()},get children(){return[kn(On,{get when(){return Re(e.wallet)},get children(){return[kn(jc,{size:"s"}),kn(Wc,{translationKey:"walletModal.desktopConnectionModal.continueInExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",Gt((()=>e.wallet.name))," browser extension\u2026"]}}),kn(Lc,{get children(){return kn(ii,{get leftIcon(){return kn(Za,{})},onClick:h,get children(){return kn(Fc,{translationKey:"common.retry",children:"Retry"})}})}})]}}),kn(On,{get when(){return!Re(e.wallet)},get children(){return[kn(Wc,{translationKey:"walletModal.desktopConnectionModal.dontHaveExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Seems you don't have installed ",Gt((()=>e.wallet.name))," browser extension"]}}),kn(Lc,{get children(){return kn(Ps,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return kn(ii,{get rightIcon(){return kn(Xa,{})},onClick:h,get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",Gt((()=>e.wallet.name))]}})}})}})}})]}})]}}),kn(Mn,{get when(){return"desktop"===t()},get children(){return[kn(Wa,{size:"m"}),kn(Wc,{translationKey:"walletModal.desktopConnectionModal.continueOnDesktop",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",Gt((()=>e.wallet.name))," on desktop\u2026"]}}),kn(Lc,{get children(){return[kn(ii,{get leftIcon(){return kn(Za,{})},onClick:f,get children(){return kn(Fc,{translationKey:"common.retry",children:"Retry"})}}),kn(Ps,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return kn(ii,{get rightIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",Gt((()=>e.wallet.name))]}})}})}})]}})]}})]}})}}),kn(On,{get when(){return e.wallet.appName===vs},get children(){return kn(Dc,{get rightIcon(){return kn(Uc,{get src(){return ws}})},scale:"s",onClick:p,get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.openWalletOnTelegram",children:"Open Wallet in Telegram on desktop"})}})}}),kn(On,{get when(){return e.wallet.appName!==vs},get children(){return kn(Nc,{get children(){return[kn(On,{get when(){return Gt((()=>"mobile"!==t()))()&&cc(e.wallet)},get children(){return kn(Ic,{appearance:"secondary",get leftIcon(){return kn(Ka,{})},onClick:d,get children(){return kn(Fc,{translationKey:"common.mobile",children:"Mobile"})}})}}),kn(On,{get when(){return Gt((()=>"extension"!==t()))()&&uc(e.wallet)},get children(){return kn(Ic,{appearance:"secondary",get leftIcon(){return kn(qa,{})},onClick:h,get children(){return kn(Fc,{translationKey:"common.browserExtension",children:"Browser Extension"})}})}}),kn(On,{get when(){return Gt((()=>"desktop"!==t()))()&&lc(e.wallet)},get children(){return kn(Ic,{appearance:"secondary",get leftIcon(){return kn(Ga,{})},onClick:f,get children(){return kn(Fc,{translationKey:"common.desktop",children:"Desktop"})}})}})]}})}})]}})},Vc=Cr.div``,Gc=Cr(vi)`
|
|
806
|
+
`,Fc=e=>{const[t]=ra();return Gt((()=>{var n;return t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString())}))};function zc(e,t){let n;n="string"===typeof t?t:zo()?t.twaReturnUrl||t.returnStrategy:"none";const r=function(e,t,n){const r=new URL(e);return r.searchParams.append(t,n),r.toString()}(e,"ret",n);if(!ce(e))return r;const o=r.slice(r.lastIndexOf("&")+1);return r.slice(0,r.lastIndexOf("&"))+"-"+ue(o)}function Bc(e,t){t=St({},t);const n=function(e){const t=new URL(e);t.searchParams.has("attach")&&(t.searchParams.delete("attach"),t.pathname+="/start");return t.toString()}(e),r=new URL(n);if(r.searchParams.has("startapp")||r.searchParams.append("startapp","tonconnect"),Bo()){t.returnStrategy="back";Ir(zc(r.toString(),t.returnStrategy))}else if(zo())if(Fo("ios","android","macos","tdesktop","web")){t.returnStrategy="back";Ho(zc(r.toString(),t.returnStrategy))}else Fo("weba")?Ho(zc(r.toString(),t)):Ir(zc(r.toString(),t));else if(zr("ios")){"back"===t.returnStrategy&&(Br("safari")?t.returnStrategy="back":Br("chrome")?t.returnStrategy="googlechrome://":Br("firefox")?t.returnStrategy="firefox://":Br("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=Br("chrome"),n=Br("firefox");if((e||n)&&!t.forceRedirect){const e=zc(r.toString(),t.returnStrategy);jr(Hc(e),(()=>Ir(e)))}else{Ir(zc(r.toString(),t.returnStrategy))}}else if(zr("android")){t.returnStrategy="back";const e=Br("chrome"),n=Br("firefox");if((e||n)&&!t.forceRedirect){const e=zc(r.toString(),t.returnStrategy);jr(Hc(e),(()=>Ir(e)))}else{Ir(zc(r.toString(),t.returnStrategy))}}else if(zr("ipad")){"back"===t.returnStrategy&&(Br("safari")?t.returnStrategy="back":Br("chrome")?t.returnStrategy="googlechrome://":Br("firefox")?t.returnStrategy="firefox://":Br("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=Br("chrome"),n=Br("firefox"),o=(e||n)&&!t.forceRedirect,i=zc(r.toString(),t.returnStrategy);if(o){jr(Hc(i),(()=>Ir(i)))}else Ir(i)}else if(zr("macos","windows","linux")){t.returnStrategy="back",t.twaReturnUrl=void 0;const e=zc(r.toString(),t.returnStrategy);if(t.forceRedirect)Ir(e);else{jr(Hc(e),(()=>Ir(e)))}}else Ir(zc(r.toString(),t))}function qc(e,t,n,r){if(n=St({},n),Bo())if(zr("ios","android"))"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link"),Nr(zc(e,n.returnStrategy),"_self");else{r("universal-link");Ir(zc(e,n.returnStrategy))}else if(zo())if(Fo("ios","android")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link");const t=zc(e,n.returnStrategy);Ho(t,(()=>{r("universal-link"),Ir(t)}))}else if(Fo("macos","tdesktop")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve");const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else if(Fo("weba")){"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy=location.href:Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else if(Fo("web")){"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy=location.href:Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else{r("universal-link");Ir(zc(e,n.returnStrategy))}else if(zr("ios"))"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy="none":Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),Br("chrome")?(r("universal-link"),Nr(zc(e,n.returnStrategy),"_self")):(r("universal-link"),Ir(zc(e,n.returnStrategy)));else if(zr("android"))"back"===n.returnStrategy&&(Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),r("universal-link"),Ir(zc(e,n.returnStrategy));else if(zr("ipad"))"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy="none":Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),Br("chrome")?(r("universal-link"),Nr(zc(e,n.returnStrategy),"_self")):(r("universal-link"),Ir(zc(e,n.returnStrategy)));else if(zr("macos","windows","linux")){"back"===n.returnStrategy&&(Br("safari")?n.returnStrategy="none":Br("chrome")?n.returnStrategy="googlechrome://":Br("firefox")?n.returnStrategy="firefox://":Br("opera")?n.returnStrategy="opera-http://":n.returnStrategy="none");const o=zc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),jr(qr(o,t),(()=>{r("universal-link"),Ir(o)}))):(r("universal-link"),Ir(o))}else r("universal-link"),Ir(zc(e,n.returnStrategy))}function Hc(e){const t=new URL(e),[,n,r]=t.pathname.split("/");return`tg://resolve?domain=${n}&appname=${r}&startapp=${t.searchParams.get("startapp")}`}const Kc=e=>{const[t,n]=qt("mobile"),[r,o]=qt(null);Vt((()=>{var t;o(null!=(t=e.defaultError)?t:null)}));const[i,a]=qt(),[s,l]=qt(!0),c=nn(uo);Jt(c.onStatusChange((()=>{}),(t=>{t instanceof K?o("missing-features"):e.wallet.appName!==vs&&o("connection-declined")})));const u=()=>{try{const t=c.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest);a(t)}catch(nb){}};Vt((()=>{"extension"!==Yt(t)&&(cc(e.wallet)||lc(e.wallet))&&u()}));const d=()=>{o(null),"extension"===t()&&u(),n("mobile"),oo(Et(St({},e.wallet),{openMethod:"qrcode"}))},f=()=>{if(o(null),"extension"===t()&&u(),n("desktop"),ce(i()))p();else{const t=!s();l(!1),qc(i(),e.wallet.deepLink,{returnStrategy:oc.returnStrategy,forceRedirect:t},(t=>{oo(Et(St({},e.wallet),{openMethod:t}))}))}},p=()=>{const t=!s();l(!1),oo(Et(St({},e.wallet),{openMethod:"universal-link"})),Bc(i(),{returnStrategy:oc.returnStrategy,twaReturnUrl:oc.twaReturnUrl,forceRedirect:t})},h=()=>{o(null),n("extension"),Re(e.wallet)&&(oo(e.wallet),c.connect({jsBridgeKey:e.wallet.jsBridgeKey},e.additionalRequest))};return cc(e.wallet)?d():uc(e.wallet)?h():f(),kn(_c,{"data-tc-wallets-modal-connection-desktop":"true",get children(){return[kn(On,{get when(){return!e.backDisabled},get children(){return kn(Mc,{icon:"arrow",onClick:()=>e.onBackClick()})}}),kn(Oc,{get children(){return e.wallet.name}}),kn(On,{get when(){return Gt((()=>"mobile"===t()))()&&!r()},get children(){return kn(Pc,{translationKey:"walletModal.desktopConnectionModal.scanQR",get translationValues(){return{name:e.wallet.name}},get children(){return["Scan the QR code below with your phone\u2019s or ",Gt((()=>e.wallet.name)),"\u2019s camera"]}})}}),kn(Tc,{get qr(){return"mobile"===t()},get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return r()},get children(){return[kn($c,{size:"s"}),kn(Pn,{get children(){return[kn(Mn,{get when(){return"missing-features"===r()},get children(){return kn(Dc,{translationKey:"walletModal.desktopConnectionModal.missingFeatures",get translationValues(){return{name:e.wallet.name}},children:"Please update Wallet, your version does not support required features for this dApp"})}}),kn(Mn,{get when(){return"connection-declined"===r()},get children(){return kn(Dc,{translationKey:"walletModal.desktopConnectionModal.connectionDeclined",children:"Connection declined"})}}),kn(Mn,{get when(){return"not-supported"===r()},get children(){return kn(Dc,{translationKey:"walletModal.desktopConnectionModal.notSupportedWallet",get translationValues(){return{name:e.wallet.name}},get children(){return[Gt((()=>e.wallet.name))," doesn\u2019t support the requested action. Please connect another wallet that supports it."]}})}})]}}),kn(Lc,{get children(){return[kn(On,{get when(){return"not-supported"!==r()},get children(){return kn(ii,{get leftIcon(){return kn(Za,{})},get onClick(){return"extension"===t()?h:f},get children(){return kn(Fc,{translationKey:"common.retry",children:"Retry"})}})}}),kn(On,{get when(){return"missing-features"===r()},get children(){return kn(Ps,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return kn(ii,{get leftIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.updateWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Update ",Gt((()=>e.wallet.name))]}})}})}})}}),kn(On,{get when(){return"not-supported"===r()},get children(){return kn(ii,{onClick:()=>e.onBackClick(),get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.chooseAnotherWallet",children:"Choose Another Wallet"})}})}})]}})]}}),kn(Mn,{get when(){return"mobile"===t()},get children(){return kn(Rc,{disableCopy:!1,get sourceUrl(){return zc(i(),"none")},get imageUrl(){return e.wallet.imageUrl}})}}),kn(Mn,{get when(){return"extension"===t()},get children(){return[kn(On,{get when(){return Re(e.wallet)},get children(){return[kn(jc,{size:"s"}),kn(Dc,{translationKey:"walletModal.desktopConnectionModal.continueInExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",Gt((()=>e.wallet.name))," browser extension\u2026"]}}),kn(Lc,{get children(){return kn(ii,{get leftIcon(){return kn(Za,{})},onClick:h,get children(){return kn(Fc,{translationKey:"common.retry",children:"Retry"})}})}})]}}),kn(On,{get when(){return!Re(e.wallet)},get children(){return[kn(Dc,{translationKey:"walletModal.desktopConnectionModal.dontHaveExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Seems you don't have installed ",Gt((()=>e.wallet.name))," browser extension"]}}),kn(Lc,{get children(){return kn(Ps,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return kn(ii,{get rightIcon(){return kn(Xa,{})},onClick:h,get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",Gt((()=>e.wallet.name))]}})}})}})}})]}})]}}),kn(Mn,{get when(){return"desktop"===t()},get children(){return[kn(Da,{size:"m"}),kn(Dc,{translationKey:"walletModal.desktopConnectionModal.continueOnDesktop",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",Gt((()=>e.wallet.name))," on desktop\u2026"]}}),kn(Lc,{get children(){return[kn(ii,{get leftIcon(){return kn(Za,{})},onClick:f,get children(){return kn(Fc,{translationKey:"common.retry",children:"Retry"})}}),kn(Ps,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return kn(ii,{get rightIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",Gt((()=>e.wallet.name))]}})}})}})]}})]}})]}})}}),kn(On,{get when(){return e.wallet.appName===vs},get children(){return kn(Wc,{get rightIcon(){return kn(Uc,{get src(){return ws}})},scale:"s",onClick:p,get children(){return kn(Fc,{translationKey:"walletModal.desktopConnectionModal.openWalletOnTelegram",children:"Open Wallet in Telegram on desktop"})}})}}),kn(On,{get when(){return e.wallet.appName!==vs},get children(){return kn(Nc,{get children(){return[kn(On,{get when(){return Gt((()=>"mobile"!==t()))()&&cc(e.wallet)},get children(){return kn(Ic,{appearance:"secondary",get leftIcon(){return kn(Ka,{})},onClick:d,get children(){return kn(Fc,{translationKey:"common.mobile",children:"Mobile"})}})}}),kn(On,{get when(){return Gt((()=>"extension"!==t()))()&&uc(e.wallet)},get children(){return kn(Ic,{appearance:"secondary",get leftIcon(){return kn(qa,{})},onClick:h,get children(){return kn(Fc,{translationKey:"common.browserExtension",children:"Browser Extension"})}})}}),kn(On,{get when(){return Gt((()=>"desktop"!==t()))()&&lc(e.wallet)},get children(){return kn(Ic,{appearance:"secondary",get leftIcon(){return kn(Ga,{})},onClick:f,get children(){return kn(Fc,{translationKey:"common.desktop",children:"Desktop"})}})}})]}})}})]}})},Vc=Cr.div``,Gc=Cr(vi)`
|
|
807
807
|
position: absolute;
|
|
808
808
|
top: 16px;
|
|
809
809
|
left: 16px;
|
|
@@ -856,7 +856,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
856
856
|
border-radius: 10px;
|
|
857
857
|
`,cu=Cr(Ps)`
|
|
858
858
|
margin-left: auto;
|
|
859
|
-
`,uu=Cr(
|
|
859
|
+
`,uu=Cr(Da)`
|
|
860
860
|
margin-bottom: 18px;
|
|
861
861
|
margin-top: 2px;
|
|
862
862
|
`,du=Cr(Na)`
|
|
@@ -986,7 +986,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
986
986
|
line-height: 20px;
|
|
987
987
|
font-weight: 500;
|
|
988
988
|
padding: 17px 20px 19px 20px;
|
|
989
|
-
`,Iu=e=>[kn(Ou,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),kn(Pu,{translationKey:"walletModal.mobileUniversalModal.scan",children:"Scan with your mobile wallet"}),kn(Mu,{get children(){return kn(Ji,{get imageUrl(){return bs},get sourceUrl(){return zc(e.universalLink,"none")},disableCopy:!0})}}),kn(Lu,{get children(){return[kn(Nu,{appearance:"secondary",onClick:()=>e.onOpenLink(),get children(){return kn(Fc,{translationKey:"walletModal.mobileUniversalModal.openLink",children:"Open Link"})}}),kn(Nu,{appearance:"secondary",onClick:()=>e.onCopy(),get children(){return kn(Fc,{get translationKey(){return void 0!==e.isCopiedShown?"common.copied":"common.copyLink"},get children(){return void 0!==e.isCopiedShown?"Copied":"Copy Link"}})}})]}})];function ju(e){const t=new Set(e.filter(Pe).map((e=>e.bridgeUrl)));return Array.from(t).map((e=>({bridgeUrl:e})))}function $u(e,t){const n=new Set(null==e?void 0:e.map((e=>e.bridgeUrl))),r=new Set(null==t?void 0:t.map((e=>e.bridgeUrl)));return n.size===r.size&&[...n].every((e=>r.has(e)))}const
|
|
989
|
+
`,Iu=e=>[kn(Ou,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),kn(Pu,{translationKey:"walletModal.mobileUniversalModal.scan",children:"Scan with your mobile wallet"}),kn(Mu,{get children(){return kn(Ji,{get imageUrl(){return bs},get sourceUrl(){return zc(e.universalLink,"none")},disableCopy:!0})}}),kn(Lu,{get children(){return[kn(Nu,{appearance:"secondary",onClick:()=>e.onOpenLink(),get children(){return kn(Fc,{translationKey:"walletModal.mobileUniversalModal.openLink",children:"Open Link"})}}),kn(Nu,{appearance:"secondary",onClick:()=>e.onCopy(),get children(){return kn(Fc,{get translationKey(){return void 0!==e.isCopiedShown?"common.copied":"common.copyLink"},get children(){return void 0!==e.isCopiedShown?"Copied":"Copy Link"}})}})]}})];function ju(e){const t=new Set(e.filter(Pe).map((e=>e.bridgeUrl)));return Array.from(t).map((e=>({bridgeUrl:e})))}function $u(e,t){const n=new Set(null==e?void 0:e.map((e=>e.bridgeUrl))),r=new Set(null==t?void 0:t.map((e=>e.bridgeUrl)));return n.size===r.size&&[...n].every((e=>r.has(e)))}const Du=Fn("<li></li>"),Wu=Fn('<div data-tc-wallets-modal-universal-mobile="true"></div>'),Uu=e=>{const[t,n]=qt(!1),[r,o]=qt(!0),[i,a]=qt(null),s=oc.connector,l=()=>e.walletsList.filter((e=>cc(e)&&e.appName!==vs)),c=()=>l().length>7,u=Gt((()=>ju(e.walletsList)),null,{equals:$u}),d=Gt((()=>{var t,n;return null!=(n=null==(t=e.walletsList.find((e=>e.appName===vs)))?void 0:t.isSupportRequiredFeatures)&&n}),null),f=()=>(i()||a(s.connect(u(),e.additionalRequest)),i());oo({openMethod:"universal-link"});const[p,h]=qt(void 0),g=()=>_t(void 0,null,(function*(){void 0!==p()&&clearTimeout(p()),yield Yi(f());const e=setTimeout((()=>h(void 0)),1500);h(e)})),m=()=>{const e=!r();o(!1),qc(f(),void 0,{returnStrategy:oc.returnStrategy,forceRedirect:e},(e=>{oo({openMethod:e})}))},y=()=>{a(null);const t=e.walletsList.find((e=>e.appName===vs));if(!t||!Pe(t))throw new Mr("@wallet bot not found in the wallets list");const n=s.connect({bridgeUrl:t.bridgeUrl,universalLink:t.universalLink},e.additionalRequest),i=!r();o(!1),Bc(n,{returnStrategy:oc.returnStrategy,twaReturnUrl:oc.twaReturnUrl,forceRedirect:i})},v=()=>{n(!0),oo({openMethod:"qrcode"})},b=()=>{n(!1),oo({openMethod:"universal-link"})},w=Gt((()=>l().filter((e=>e.isSupportRequiredFeatures))),null),x=Gt((()=>w().slice(0,3)),null),C=Gt((()=>l().filter((e=>!x().find((t=>t.appName===e.appName)))).slice(0,4)),null);return(()=>{const n=Wu.cloneNode(!0);return Kn(n,kn(On,{get when(){return t()},get children(){return[kn(Tu,{icon:"arrow",onClick:b}),kn(Iu,{get universalLink(){return f()},get isCopiedShown(){return p()},onOpenLink:m,onCopy:g})]}}),null),Kn(n,kn(On,{get when(){return!t()},get children(){return[kn(Tu,{get icon(){return kn(fs,{})},onClick:v}),kn(Su,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),kn(On,{get when(){return d()},get children(){return[kn(Eu,{translationKey:"walletModal.mobileUniversalModal.openWalletOnTelegramOrSelect",maxWidth:320,children:"Use Wallet in Telegram or choose other application"}),kn(Au,{get leftIcon(){return kn(ls,{})},get rightIcon(){return kn(_u,{get src(){return ws}})},onClick:y,scale:"s",get children(){return kn(Fc,{translationKey:"walletModal.mobileUniversalModal.openWalletOnTelegram",children:"Connect Wallet in Telegram"})}})]}}),kn(Eu,{translationKey:"walletModal.mobileUniversalModal.chooseOtherApplication",maxWidth:342,padding:"0 24px 8px 24px",margin:"0",children:"Choose other application"}),kn(da,{get children(){return[kn(Rn,{get each(){return Gt((()=>!!c()))()?x():w()},children:t=>(()=>{const n=Du.cloneNode(!0);return Kn(n,kn(va,{get icon(){return t.imageUrl},get name(){return t.name},onClick:()=>e.onSelect(t)})),n})()}),kn(On,{get when(){return c()},get children(){const t=Du.cloneNode(!0);return Kn(t,kn(ys,{labelLine1:"View all",labelLine2:"wallets",get images(){return C().map((e=>e.imageUrl))},onClick:()=>e.onSelectAllWallets()})),t}})]}})]}}),null),n})()},Fu={m:"16px",s:"8px",none:"0"},zu={m:"8px",s:"4px",none:"0"},Bu=Cr.div`
|
|
990
990
|
display: flex;
|
|
991
991
|
flex-direction: column;
|
|
992
992
|
align-items: center;
|
|
@@ -1160,7 +1160,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
1160
1160
|
font-weight: 700;
|
|
1161
1161
|
font-size: 22px;
|
|
1162
1162
|
color: ${e=>{var t;return null==(t=e.theme)?void 0:t.colors.text.primary}};
|
|
1163
|
-
`,hd=e=>kn(sd,{"data-tc-wallets-modal-restore":"true",get children(){return[kn(ld,{icon:"arrow",get onClick(){return e.onBackClick}}),kn(cd,{translationKey:"walletModal.restoreInfoModal.title",children:"Restore"}),kn(Rs,{get children(){return[kn(ud,{get children(){return[kn(pd,{children:"1"}),kn(dd,{translationKey:"walletModal.restoreModal.step1.title",children:"Find your current recovery phrase"}),kn(fd,{translationKey:"walletModal.restoreModal.step1.text",children:"Open your wallet settings and locate the\xa0recovery\xa0phrase"})]}}),kn(ud,{get children(){return[kn(pd,{children:"2"}),kn(dd,{translationKey:"walletModal.restoreModal.step2.title",children:"Copy your recovery phrase"}),kn(fd,{translationKey:"walletModal.restoreModal.step2.text",children:"Write it down or copy it to a safe place"})]}}),kn(ud,{get children(){return[kn(pd,{children:"3"}),kn(dd,{translationKey:"walletModal.restoreModal.step3.title",children:"Restore in a supported wallet from\xa0the\xa0list\xa0below"}),kn(fd,{translationKey:"walletModal.restoreModal.step3.text",children:"Enter the recovery phrase to access your wallet"})]}})]}})]}}),gd=e=>{const[t,n]=qt(null),[r,o]=qt(!1),i=Gt((()=>e.walletsList.find((t=>t.appName===e.currentWallet.device.appName||t.name===e.currentWallet.device.appName)))),a=Gt((()=>{var t,n,r,o;return(null!=(n=null==(t=i())?void 0:t.appName)?n:e.currentWallet.device.appName)===vs?"Wallet in Telegram":null!=(o=null==(r=i())?void 0:r.name)?o:e.currentWallet.device.appName})),s=Gt((()=>{const t=i();if(!(null==t?void 0:t.features))return!1;const n=e.walletsModalState.requiredFeature,r=n?{[n.featureName]:n.value}:{},o=Ie(t.features,r),a=Ie(e.currentWallet.device.features,r);return o&&!a}));return kn(Xu,{get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return r()},get children(){return kn(hd,{onBackClick:()=>o(!1)})}}),kn(Mn,{get when(){return t()},get children(){return[kn(nd,{}),kn(Xu,{get children(){return[kn(Ju,{icon:"arrow",onClick:()=>n(null)}),kn(ed,{translationKey:"walletModal.featureNotSupported.disconnect.title",children:"Confirm Disconnect"}),kn(td,{translationKey:"walletModal.featureNotSupported.disconnect.description",get translationValues(){return{name:t().name}},get children(){return["You will be disconnected from your current wallet and redirected to connect ",Gt((()=>{var e;return null==(e=t())?void 0:e.name})),"."]}}),kn(od,{onClick:()=>_t(void 0,null,(function*(){yield e.onDisconnect(),e.onSelect(t())})),get children(){return kn(Fc,{translationKey:"walletModal.featureNotSupported.disconnect.button",children:"Disconnect"})}})]}})]}}),kn(Mn,{get when(){return s()},get children(){return[kn(Yu,{get children(){return a()}}),kn(rd,{size:"s"}),kn(id,{translationKey:"walletModal.featureNotSupported.version.description",get translationValues(){return{name:a()}},get children(){return["Your current version of ",Gt((()=>a()))," or wallet contract type doesn't support the required features. Please update it to continue."]}}),kn(ad,{get children(){return[kn(Ps,{get href(){return i().aboutUrl},blank:!0,get children(){return kn(ii,{get leftIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.featureNotSupported.version.updateButton",get translationValues(){return{name:a()}},get children(){return["Update ",Gt((()=>a()))]}})}})}}),kn(Ps,{href:"https://tonkeeper.helpscoutdocs.com/article/102-w5",blank:!0,get children(){return kn(ii,{get leftIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.featureNotSupported.version.aboutW5",children:"About W5"})}})}})]}})]}}),kn(Mn,{when:!0,get children(){return[kn(nd,{}),kn(rd,{size:"s"}),kn(ed,{translationKey:"walletModal.featureNotSupported.wallet.title",get translationValues(){return{name:a()}},get children(){return[Gt((()=>a()))," doesn\u2019t support the requested\xa0action"]}}),kn(nd,{})]}})]}})}})},md=()=>{const{locale:e}=ra()[1];Vt((()=>e(oc.language))),Vt((()=>{Zr()?Ts():(i(null),c("universal"),d(!1))}));const t=nn(uo),n=nn(Ms),[r]=Qt((()=>n.getWallets())),[o,i]=qt(null),[a,s]=qt(null),[l,c]=qt("universal"),[u,d]=qt(!1),f=Gt((()=>{const e=Gr();return"type"in e&&"wallet-not-support-feature"===e.type})),p=Gt((()=>{var e;if("ready"!==r.state)return null;let t=sc(r(),oc.walletsListConfiguration);const o=t.filter(Re),i=t.filter((e=>!Re(e)));t=(o||[]).concat(i);const a=oc.preferredWalletAppName,s=t.find((e=>dc(e,a))),l=t.filter((e=>dc(e,a))).length>=2;a&&s&&!l&&(t=[Et(St({},s),{isPreferred:!0})].concat(t.filter((e=>!dc(e,a)))));const c=t.find((e=>dc(e,vs)));c&&(t=[c].concat(t.filter((e=>!dc(e,vs)))));const u=null!=(e=null==n?void 0:n.walletsRequiredFeatures)?e:null==n?void 0:n.walletsPreferredFeatures;return t.map((e=>{var t;return Et(St({},e),{isSupportRequiredFeatures:!u||Ie(null!=(t=e.features)?t:[],u)})}))})),h=()=>{var e;return"loading"===(null==(e=oc.connectRequestParameters)?void 0:e.state)},g=Gt((()=>{var e;if(!h())return null==(e=oc.connectRequestParameters)?void 0:e.value})),m=e=>{n.closeModal(e)},y=t.onStatusChange((e=>{e&&m("wallet-selected")}),(e=>{var t;if(e instanceof K){const n=e.cause.connectEvent.device.appName.toLowerCase(),r=null==(t=p())?void 0:t.find((e=>e.appName.toLowerCase()===n));if(!r)throw new
|
|
1163
|
+
`,hd=e=>kn(sd,{"data-tc-wallets-modal-restore":"true",get children(){return[kn(ld,{icon:"arrow",get onClick(){return e.onBackClick}}),kn(cd,{translationKey:"walletModal.restoreInfoModal.title",children:"Restore"}),kn(Rs,{get children(){return[kn(ud,{get children(){return[kn(pd,{children:"1"}),kn(dd,{translationKey:"walletModal.restoreModal.step1.title",children:"Find your current recovery phrase"}),kn(fd,{translationKey:"walletModal.restoreModal.step1.text",children:"Open your wallet settings and locate the\xa0recovery\xa0phrase"})]}}),kn(ud,{get children(){return[kn(pd,{children:"2"}),kn(dd,{translationKey:"walletModal.restoreModal.step2.title",children:"Copy your recovery phrase"}),kn(fd,{translationKey:"walletModal.restoreModal.step2.text",children:"Write it down or copy it to a safe place"})]}}),kn(ud,{get children(){return[kn(pd,{children:"3"}),kn(dd,{translationKey:"walletModal.restoreModal.step3.title",children:"Restore in a supported wallet from\xa0the\xa0list\xa0below"}),kn(fd,{translationKey:"walletModal.restoreModal.step3.text",children:"Enter the recovery phrase to access your wallet"})]}})]}})]}}),gd=e=>{const[t,n]=qt(null),[r,o]=qt(!1),i=Gt((()=>e.walletsList.find((t=>t.appName===e.currentWallet.device.appName||t.name===e.currentWallet.device.appName)))),a=Gt((()=>{var t,n,r,o;return(null!=(n=null==(t=i())?void 0:t.appName)?n:e.currentWallet.device.appName)===vs?"Wallet in Telegram":null!=(o=null==(r=i())?void 0:r.name)?o:e.currentWallet.device.appName})),s=Gt((()=>{const t=i();if(!(null==t?void 0:t.features))return!1;const n=e.walletsModalState.requiredFeature,r=n?{[n.featureName]:n.value}:{},o=Ie(t.features,r),a=Ie(e.currentWallet.device.features,r);return o&&!a}));return kn(Xu,{get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return r()},get children(){return kn(hd,{onBackClick:()=>o(!1)})}}),kn(Mn,{get when(){return t()},get children(){return[kn(nd,{}),kn(Xu,{get children(){return[kn(Ju,{icon:"arrow",onClick:()=>n(null)}),kn(ed,{translationKey:"walletModal.featureNotSupported.disconnect.title",children:"Confirm Disconnect"}),kn(td,{translationKey:"walletModal.featureNotSupported.disconnect.description",get translationValues(){return{name:t().name}},get children(){return["You will be disconnected from your current wallet and redirected to connect ",Gt((()=>{var e;return null==(e=t())?void 0:e.name})),"."]}}),kn(od,{onClick:()=>_t(void 0,null,(function*(){yield e.onDisconnect(),e.onSelect(t())})),get children(){return kn(Fc,{translationKey:"walletModal.featureNotSupported.disconnect.button",children:"Disconnect"})}})]}})]}}),kn(Mn,{get when(){return s()},get children(){return[kn(Yu,{get children(){return a()}}),kn(rd,{size:"s"}),kn(id,{translationKey:"walletModal.featureNotSupported.version.description",get translationValues(){return{name:a()}},get children(){return["Your current version of ",Gt((()=>a()))," or wallet contract type doesn't support the required features. Please update it to continue."]}}),kn(ad,{get children(){return[kn(Ps,{get href(){return i().aboutUrl},blank:!0,get children(){return kn(ii,{get leftIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.featureNotSupported.version.updateButton",get translationValues(){return{name:a()}},get children(){return["Update ",Gt((()=>a()))]}})}})}}),kn(Ps,{href:"https://tonkeeper.helpscoutdocs.com/article/102-w5",blank:!0,get children(){return kn(ii,{get leftIcon(){return kn(Xa,{})},get children(){return kn(Fc,{translationKey:"walletModal.featureNotSupported.version.aboutW5",children:"About W5"})}})}})]}})]}}),kn(Mn,{when:!0,get children(){return[kn(nd,{}),kn(rd,{size:"s"}),kn(ed,{translationKey:"walletModal.featureNotSupported.wallet.title",get translationValues(){return{name:a()}},get children(){return[Gt((()=>a()))," doesn\u2019t support the requested\xa0action"]}}),kn(nd,{})]}})]}})}})},md=()=>{const{locale:e}=ra()[1];Vt((()=>e(oc.language))),Vt((()=>{Zr()?Ts():(i(null),c("universal"),d(!1))}));const t=nn(uo),n=nn(Ms),[r]=Qt((()=>n.getWallets())),[o,i]=qt(null),[a,s]=qt(null),[l,c]=qt("universal"),[u,d]=qt(!1),f=Gt((()=>{const e=Gr();return"type"in e&&"wallet-not-support-feature"===e.type})),p=Gt((()=>{var e;if("ready"!==r.state)return null;let t=sc(r(),oc.walletsListConfiguration);const o=t.filter(Re),i=t.filter((e=>!Re(e)));t=(o||[]).concat(i);const a=oc.preferredWalletAppName,s=t.find((e=>dc(e,a))),l=t.filter((e=>dc(e,a))).length>=2;a&&s&&!l&&(t=[Et(St({},s),{isPreferred:!0})].concat(t.filter((e=>!dc(e,a)))));const c=t.find((e=>dc(e,vs)));c&&(t=[c].concat(t.filter((e=>!dc(e,vs)))));const u=null!=(e=null==n?void 0:n.walletsRequiredFeatures)?e:null==n?void 0:n.walletsPreferredFeatures;return t.map((e=>{var t;return Et(St({},e),{isSupportRequiredFeatures:!u||Ie(null!=(t=e.features)?t:[],u)})}))})),h=()=>{var e;return"loading"===(null==(e=oc.connectRequestParameters)?void 0:e.state)},g=Gt((()=>{var e;if(!h())return null==(e=oc.connectRequestParameters)?void 0:e.value})),m=e=>{n.closeModal(e)},y=t.onStatusChange((e=>{e&&m("wallet-selected")}),(e=>{var t;if(e instanceof K){const n=e.cause.connectEvent.device.appName.toLowerCase(),r=null==(t=p())?void 0:t.find((e=>e.appName.toLowerCase()===n));if(!r)throw new D("Wallet not found");const o=r.isSupportRequiredFeatures?"missing-features":"not-supported";s(o),i(r)}})),v=()=>{c("all-wallets")},b=()=>{c("universal")},w=e=>{i(e),Ld.openWalletsModal()},x=()=>{i(null),s(null)};return Jt((()=>{i(null),s(null),d(!1)})),Jt(y),kn(tc,{get opened(){return Zr()},get enableAndroidBackHandler(){return oc.enableAndroidBackHandler},onClose:()=>m("action-cancelled"),onClickQuestion:()=>d((e=>!e)),get showFooter(){return!f()},"data-tc-wallets-modal-container":"true",get children(){return[kn(On,{get when(){return u()},get children(){return kn(nu,{onBackClick:()=>d(!1)})}}),kn(On,{get when(){return!u()},get children(){return[kn(On,{get when(){return h()||!p()},get children(){return[kn(nc,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),kn(rc,{get children(){return kn(Da,{size:"m"})}})]}}),kn(On,{get when(){return Gt((()=>!h()))()&&p()},get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return f()},get children(){return kn(gd,{get walletsList(){return p()},get currentWallet(){return null==n?void 0:n.wallet},onSelect:w,onSelectAllWallets:v,onDisconnect:()=>t.disconnect(),get walletsModalState(){return Gr()},onClose:()=>m("action-cancelled")})}}),kn(Mn,{get when(){return o()},get children(){return kn(or,{get component(){return As()?xu:Kc},get wallet(){return o()},get additionalRequest(){return g()},onBackClick:x,get defaultError(){return a()}})}}),kn(Mn,{get when(){return"universal"===l()},get children(){return kn(or,{get component(){return As()?Uu:Qu},onSelect:i,get walletsList(){return p()},get additionalRequest(){return g()},onSelectAllWallets:v})}}),kn(Mn,{get when(){return"all-wallets"===l()},get children(){return kn(Sc,{get walletsList(){return p()},get featureCheckMode(){return(null==n?void 0:n.walletsRequiredFeatures)?"strict":"soft"},onBack:b,onSelect:i})}})]}})}})]}})]}})},yd=Cr.div`
|
|
1164
1164
|
display: flex;
|
|
1165
1165
|
flex-direction: column;
|
|
1166
1166
|
align-items: center;
|
|
@@ -1178,12 +1178,12 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
1178
1178
|
`,wd=Cr(ii)`
|
|
1179
1179
|
min-width: 112px;
|
|
1180
1180
|
margin-top: 32px;
|
|
1181
|
-
`,xd=Cr(
|
|
1181
|
+
`,xd=Cr(Da)`
|
|
1182
1182
|
height: 16px;
|
|
1183
1183
|
width: 16px;
|
|
1184
1184
|
`,Cd=Cr(ii)`
|
|
1185
1185
|
margin-top: 32px;
|
|
1186
|
-
`,kd=e=>{const t=oi(e),n=nn(Ms),[r,o]=qt(!0),[i,a]=qt(!1),[s,l]=qt(!1),[c,u]=qt(!1);let d,f;Vt((()=>{const e=io();a(!!e&&("sent"in e&&e.sent||"transaction-sent"===e.name)),l(!!e&&("signed"in e&&e.signed||"data-signed"===e.name)),u(!!e&&("transaction-canceled"===e.name||"sign-data-canceled"===e.name))})),(null==n?void 0:n.wallet)&&"universalLink"in n.wallet&&("universal-link"===n.wallet.openMethod||ce(n.wallet.universalLink)&&zo())&&(d=n.wallet.universalLink),(null==n?void 0:n.wallet)&&"deepLink"in n.wallet&&("custom-deeplink"===n.wallet.openMethod||ce(n.wallet.deepLink)&&zo())&&(f=n.wallet.deepLink);const p=()=>{const e=io(),t="returnStrategy"in e?e.returnStrategy:oc.returnStrategy,n=!r();o(!1),ce(d)?Bc(d,{returnStrategy:t,twaReturnUrl:"twaReturnUrl"in e?e.twaReturnUrl:oc.twaReturnUrl,forceRedirect:n}):qc(d,f,{returnStrategy:t,forceRedirect:n},(()=>{}))};return kn(yd,_n(t,{get children(){return[Gt((()=>e.icon)),kn(vd,{get translationKey(){return e.headerTranslationKey},get translationValues(){return e.headerTranslationValues}}),kn(bd,{get translationKey(){return e.textTranslationKey},get translationValues(){return e.textTranslationValues}}),kn(On,{get when(){return!i()&&!s()&&!c()&&("open-wallet"===e.showButton&&d||"open-wallet"!==e.showButton)},get children(){return kn(wd,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return kn(xd,{})}})}}),kn(On,{get when(){return i()||s()},get children(){return[kn(On,{get when(){return"open-wallet"!==e.showButton},get children(){return kn(Cd,{onClick:()=>e.onClose(),get children(){return kn(Fc,{translationKey:"common.close",children:"Close"})}})}}),kn(On,{get when(){return"open-wallet"===e.showButton&&d},get children(){return kn(Cd,{onClick:p,get children(){return kn(Fc,{translationKey:"common.openWallet",children:"Open wallet"})}})}})]}})]}}))},Sd=e=>{const t=nn(Ms),[n]=ra();return kn(kd,{headerTranslationKey:"actionModal.confirmTransaction.header",get headerTranslationValues(){return{name:t.wallet&&"name"in t.wallet?t.wallet.name:n("common.yourWallet",{},"Your wallet")}},textTranslationKey:"actionModal.confirmTransaction.text",get icon(){return kn(Wa,{size:"m"})},onClose:()=>e.onClose(),showButton:"open-wallet","data-tc-confirm-modal":"true"})},Ed=e=>kn(kd,{headerTranslationKey:"actionModal.transactionCanceled.header",textTranslationKey:"actionModal.transactionCanceled.text",get icon(){return kn(Na,{size:"m"})},onClose:()=>e.onClose(),"data-tc-transaction-canceled-modal":"true"}),Ad=e=>kn(kd,{headerTranslationKey:"actionModal.transactionSent.header",textTranslationKey:"actionModal.transactionSent.text",get icon(){return kn(Oa,{size:"m"})},showButton:"open-wallet",onClose:()=>e.onClose(),"data-tc-transaction-sent-modal":"true"}),_d=e=>{const t=nn(Ms),[n]=ra();return kn(kd,{headerTranslationKey:"actionModal.signData.header",get headerTranslationValues(){return{name:t.wallet&&"name"in t.wallet?t.wallet.name:n("common.yourWallet",{},"Your wallet")}},textTranslationKey:"actionModal.signData.text",get icon(){return kn(Wa,{size:"m"})},onClose:()=>e.onClose(),showButton:"open-wallet","data-tc-sign-data-confirm-modal":"true"})},Td=e=>kn(kd,{headerTranslationKey:"actionModal.signDataCanceled.header",get icon(){return kn(Na,{size:"m"})},onClose:()=>e.onClose(),"data-tc-sign-data-canceled-modal":"true"}),Rd=e=>kn(kd,{headerTranslationKey:"actionModal.dataSigned.header",get icon(){return kn(Oa,{size:"m"})},onClose:()=>e.onClose(),"data-tc-data-signed-modal":"true"}),Od=()=>kn(Ni,{get opened(){var e;return Gt((()=>null!==io()))()&&!0===(null==(e=io())?void 0:e.openModal)},get enableAndroidBackHandler(){return oc.enableAndroidBackHandler},onClose:()=>ao(null),showFooter:!1,"data-tc-actions-modal-container":"true",get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return"transaction-sent"===io().name},get children(){return kn(Ad,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"transaction-canceled"===io().name},get children(){return kn(Ed,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"confirm-transaction"===io().name},get children(){return kn(Sd,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"data-signed"===io().name},get children(){return kn(Rd,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"sign-data-canceled"===io().name},get children(){return kn(Td,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"confirm-sign-data"===io().name},get children(){return kn(_d,{onClose:()=>ao(null)})}})]}})}}),Pd=()=>{const{locale:e}=ra()[1];Vt((()=>e(oc.language))),Vt((()=>{Jr()&&Ts()}));const t=nn(uo),n=nn(Ms),[r,o]=qt(!1),i=()=>{var e;return"loading"===(null==(e=oc.connectRequestParameters)?void 0:e.state)},a=Gt((()=>{var e;if(!i())return null==(e=oc.connectRequestParameters)?void 0:e.value})),s=e=>{n.closeSingleWalletModal(e)};return Jt(t.onStatusChange((e=>{e&&s("wallet-selected")}))),Jt((()=>{o(!1)})),kn(tc,{get opened(){return Jr()},get enableAndroidBackHandler(){return oc.enableAndroidBackHandler},onClose:()=>s("action-cancelled"),onClickQuestion:()=>o((e=>!e)),showFooter:!0,"data-tc-wallets-modal-container":"true",get children(){return[kn(On,{get when(){return r()},get children(){return kn(nu,{onBackClick:()=>o(!1)})}}),kn(On,{get when(){return!r()},get children(){return[kn(On,{get when(){return i()},get children(){return[kn(nc,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),kn(rc,{get children(){return kn(Wa,{size:"m"})}})]}}),kn(On,{get when(){return!i()},get children(){return kn(or,{get component(){return As()?xu:Kc},get wallet(){return eo()},get additionalRequest(){return a()},onBackClick:()=>{},backDisabled:!0})}})]}})]}})},Md=e=>{const t=ta(lo,oc.language);return customElements.define(Sr,class extends HTMLElement{}),document.body.hasAttribute("ontouchstart")||document.body.setAttribute("ontouchstart",""),kn(na.Provider,{value:t,get children(){return kn(Ms.Provider,{get value(){return e.tonConnectUI},get children(){return kn(uo.Provider,{get value(){return oc.connector},get children(){return[kn(_r,{}),kn(br,{theme:Po,get children(){return[kn(On,{get when(){return oc.buttonRootId},get children(){return kn(rr,{get mount(){return document.getElementById(oc.buttonRootId)},get children(){return kn(ec,{})}})}}),kn(or,{component:Sr,get children(){return[kn(md,{}),kn(Pd,{}),kn(Od,{})]}})]}})]}})}})}})},Ld={openWalletsModal:()=>{setTimeout((()=>Qr({status:"opened",closeReason:null})))},closeWalletsModal:e=>{setTimeout((()=>Qr({status:"closed",closeReason:e})))},openSingleWalletModal:e=>{setTimeout((()=>Xr({status:"opened",closeReason:null,walletInfo:e})))},closeSingleWalletModal:e=>{setTimeout((()=>Xr({status:"closed",closeReason:e})))},openWalletNotSupportFeatureModal:e=>{setTimeout((()=>Qr({status:"opened",closeReason:null,type:"wallet-not-support-feature",requiredFeature:e.requiredFeature})))},setAction:e=>{setTimeout((()=>ao(e)))},clearAction:()=>{setTimeout((()=>ao(null)))},getSelectedWalletInfo:()=>no(),removeSelectedWalletInfo:()=>oo(null),renderApp:(e,t)=>function(e,t,n){let r;return Bt((o=>{r=o,t===document?e():Kn(t,e(),t.firstChild?null:void 0,n)}),(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).owner),()=>{r(),t.textContent=""}}((()=>kn(Md,{tonConnectUI:t})),document.getElementById(e))};class Nd{constructor(e){At(this,"connector"),At(this,"setConnectRequestParametersCallback"),At(this,"consumers",[]),At(this,"tracker"),At(this,"state",Gr()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,Vt((()=>{const e=Gr();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(){return _t(this,null,(function*(){this.tracker.trackConnectionStarted();const e=(yield this.connector.getWallets()).find(Oe);return e?this.connectEmbeddedWallet(e):this.openWalletsModal()}))}close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action-cancelled";"action-cancelled"===e&&this.tracker.trackConnectionError("Connection was cancelled"),Ld.closeWalletsModal(e)}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{oo(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=oc.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openWalletsModal(){return _t(this,null,(function*(){return zo()&&qo(),Ld.openWalletsModal(),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class Id{constructor(e){At(this,"connector"),At(this,"consumers",[]),this.connector=e.connector,Vt((()=>{const e=io();this.consumers.forEach((t=>t(e)))}))}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}}class jd{constructor(e){At(this,"connector"),At(this,"setConnectRequestParametersCallback"),At(this,"consumers",[]),At(this,"tracker"),At(this,"state",Yr()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,Vt((()=>{const e=Yr();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(e){return _t(this,null,(function*(){this.tracker.trackConnectionStarted();const t=sc(yield this.connector.getWallets(),oc.walletsListConfiguration),n=t.find(Oe);if(!!n)return this.connectEmbeddedWallet(n);const r=t.filter(Pe).find((t=>dc(t,e)));if(!!r)return this.openSingleWalletModal(r);const o=`Trying to open modal window with unknown wallet "${e}".`;throw this.tracker.trackConnectionError(o),new Mr(o)}))}close(){"action-cancelled"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action-cancelled")&&this.tracker.trackConnectionError("Connection was cancelled"),Ld.closeSingleWalletModal("action-cancelled")}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{oo(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=oc.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openSingleWalletModal(e){return _t(this,null,(function*(){return zo()&&qo(),Ld.openSingleWalletModal(e),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class $d{constructor(e){var t;At(this,"eventPrefix","ton-connect-ui-"),At(this,"tonConnectUiVersion"),At(this,"tonConnectSdkVersion",null),At(this,"eventDispatcher"),this.eventDispatcher=null!=(t=null==e?void 0:e.eventDispatcher)?t:new et,this.tonConnectUiVersion=e.tonConnectUiVersion,this.init().catch()}get version(){return We({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return _t(this,null,(function*(){try{yield this.setRequestVersionHandler(),this.tonConnectSdkVersion=yield this.requestTonConnectSdkVersion()}catch(eb){}}))}setRequestVersionHandler(){return _t(this,null,(function*(){yield this.eventDispatcher.addEventListener("ton-connect-ui-request-version",(()=>_t(this,null,(function*(){yield this.eventDispatcher.dispatchEvent("ton-connect-ui-response-version",$e(this.tonConnectUiVersion))}))))}))}requestTonConnectSdkVersion(){return _t(this,null,(function*(){return new Promise(((e,t)=>_t(this,null,(function*(){try{yield this.eventDispatcher.addEventListener("ton-connect-response-version",(t=>{e(t.detail.version)}),{once:!0}),yield this.eventDispatcher.dispatchEvent("ton-connect-request-version",{type:"request-version"})}catch(eb){t(eb)}}))))}))}dispatchUserActionEvent(e){var t;try{null==(t=this.eventDispatcher)||t.dispatchEvent(`${this.eventPrefix}${e.type}`,e).catch()}catch(eb){}}trackConnectionStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ue(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackConnectionCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Fe(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackConnectionError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackConnectionRestoringStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Be(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackConnectionRestoringCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackConnectionRestoringError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=He(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackDisconnection(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Je(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackTransactionSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ve(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackTransactionSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ge(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackTransactionSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackDataSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackDataSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ye(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}trackDataSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Xe(this.version,...t);this.dispatchUserActionEvent(r)}catch(eb){}}}class Wd{constructor(e){if(At(this,"walletInfoStorage",new Hr),At(this,"preferredWalletStorage",new Kr),At(this,"tracker"),At(this,"walletInfo",null),At(this,"systemThemeChangeUnsubscribe",null),At(this,"actionsConfiguration"),At(this,"walletsList"),At(this,"_walletsRequiredFeatures"),At(this,"_walletsPreferredFeatures"),At(this,"connectRequestParametersCallback"),At(this,"connector"),At(this,"modal"),At(this,"singleWalletModal"),At(this,"transactionModal"),At(this,"connectionRestored",Promise.resolve(!1)),e&&"connector"in e&&e.connector)this.connector=e.connector;else{if(!(e&&"manifestUrl"in e&&e.manifestUrl))throw new Mr("You have to specify a `manifestUrl` or a `connector` in the options.");this.connector=new nt({manifestUrl:e.manifestUrl,eventDispatcher:e.eventDispatcher,walletsRequiredFeatures:e.walletsRequiredFeatures})}this.tracker=new $d({eventDispatcher:null==e?void 0:e.eventDispatcher,tonConnectUiVersion:"2.2.0"}),this.modal=new Nd({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.singleWalletModal=new jd({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.transactionModal=new Id({connector:this.connector}),this._walletsRequiredFeatures=e.walletsRequiredFeatures,this._walletsPreferredFeatures=e.walletsPreferredFeatures,this.walletsList=this.getWallets(),this.walletsList.then((e=>{return Wr((t=e.map((e=>e.imageUrl)),[...new Set(t)]));var t}));const t=this.normalizeWidgetRoot(null==e?void 0:e.widgetRootId);this.subscribeToWalletChange(),!1!==(null==e?void 0:e.restoreConnection)&&(this.connectionRestored=function(e){return _t(this,null,(function*(){return yield new Promise((e=>requestAnimationFrame(e))),e()}))}((()=>_t(this,null,(function*(){return this.tracker.trackConnectionRestoringStarted(),yield this.connector.restoreConnection(),this.connector.connected?this.tracker.trackConnectionRestoringCompleted(this.wallet):(this.tracker.trackConnectionRestoringError("Connection was not restored"),this.walletInfoStorage.removeWalletInfo()),this.connector.connected}))))),this.uiOptions=Oo(e,{uiPreferences:{theme:"SYSTEM"}});const n=this.preferredWalletStorage.getPreferredWalletAppName();ic({connector:this.connector,preferredWalletAppName:n}),Ld.renderApp(t,this)}static getWallets(){return nt.getWallets()}get walletsRequiredFeatures(){return this._walletsRequiredFeatures}get walletsPreferredFeatures(){return this._walletsPreferredFeatures}get connected(){return this.connector.connected}get account(){return this.connector.account}get wallet(){return this.connector.wallet?St(St({},this.connector.wallet),this.walletInfo):null}set uiOptions(e){var t,n,r,o,i,a,s;this.checkButtonRootExist(e.buttonRootId),this.actionsConfiguration=e.actionsConfiguration,"walletsRequiredFeatures"in e&&(this._walletsRequiredFeatures=e.walletsRequiredFeatures),"walletsPreferredFeatures"in e&&(this._walletsPreferredFeatures=e.walletsPreferredFeatures),(null==(t=e.uiPreferences)?void 0:t.theme)?"SYSTEM"!==(null==(n=e.uiPreferences)?void 0:n.theme)?(null==(r=this.systemThemeChangeUnsubscribe)||r.call(this),Io(e.uiPreferences.theme,e.uiPreferences.colorsSet)):(Io(window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?ir.LIGHT:ir.DARK,e.uiPreferences.colorsSet),this.systemThemeChangeUnsubscribe||(this.systemThemeChangeUnsubscribe=function(e){const t=t=>e(t.matches?ir.DARK:ir.LIGHT);return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t),()=>window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",t)}(Io))):(null==(o=e.uiPreferences)?void 0:o.colorsSet)&&(a=e.uiPreferences.colorsSet,No[ir.DARK]=Oo(a[ir.DARK],No[ir.DARK]),No[ir.LIGHT]=Oo(a[ir.LIGHT],No[ir.LIGHT]),Mo((e=>({colors:Oo(No[e.theme],Lo[e.theme])})))),(null==(i=e.uiPreferences)?void 0:i.borderRadius)&&(s=e.uiPreferences.borderRadius,Mo({borderRadius:s})),ic((t=>{var n,r;const o=Oo(St(St(St(St({},e.language&&{language:e.language}),!!(null==(n=e.actionsConfiguration)?void 0:n.returnStrategy)&&{returnStrategy:e.actionsConfiguration.returnStrategy}),!!(null==(r=e.actionsConfiguration)?void 0:r.twaReturnUrl)&&{twaReturnUrl:e.actionsConfiguration.twaReturnUrl}),!!e.walletsListConfiguration&&{walletsListConfiguration:e.walletsListConfiguration}),yo(t));return void 0!==e.buttonRootId&&(o.buttonRootId=e.buttonRootId),void 0!==e.enableAndroidBackHandler&&(o.enableAndroidBackHandler=e.enableAndroidBackHandler),o}))}setConnectRequestParameters(e){var t;ic({connectRequestParameters:e}),"ready"!==(null==e?void 0:e.state)&&e||null==(t=this.connectRequestParametersCallback)||t.call(this,null==e?void 0:e.value)}getWallets(){return _t(this,null,(function*(){return this.connector.getWallets()}))}onStatusChange(e,t){return this.connector.onStatusChange((t=>_t(this,null,(function*(){if(t){const n=yield this.getSelectedWalletInfo(t);e(St(St({},t),n||this.walletInfoStorage.getWalletInfo()))}else e(t)}))),t)}openModal(){return _t(this,null,(function*(){return this.modal.open()}))}closeModal(e){this.modal.close(e)}onModalStateChange(e){return this.modal.onStateChange(e)}get modalState(){return this.modal.state}openSingleWalletModal(e){return _t(this,null,(function*(){return this.singleWalletModal.open(e)}))}closeSingleWalletModal(e){this.singleWalletModal.close(e)}onSingleWalletModalStateChange(e){return this.singleWalletModal.onStateChange(e)}get singleWalletModalState(){return this.singleWalletModal.state}connectWallet(){return _t(this,null,(function*(){const e=(yield this.getWallets()).find(Oe);return e?yield this.connectEmbeddedWallet(e):yield this.connectExternalWallet()}))}disconnect(){return this.tracker.trackDisconnection(this.wallet,"dapp"),Ld.clearAction(),Ld.removeSelectedWalletInfo(),this.walletInfoStorage.removeWalletInfo(),this.connector.disconnect()}sendTransaction(e,t){return _t(this,null,(function*(){if(this.tracker.trackTransactionSentForSignature(this.wallet,e),!this.connected)throw this.tracker.trackTransactionSigningFailed(this.wallet,e,"Wallet was not connected"),new Mr("Connect wallet to send a transaction.");zo()&&qo();const{notifications:n,modals:r,returnStrategy:o,twaReturnUrl:i}=this.getModalsAndNotificationsConfiguration(t);Ld.setAction({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!1});const a=new AbortController,s=()=>{a.signal.aborted||(Ld.setAction({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!0}),this.redirectAfterRequestSent({returnStrategy:o,twaReturnUrl:i}))},l=this.onTransactionModalStateChange((e=>{(null==e?void 0:e.openModal)||(l(),e||a.abort())}));try{const t=yield this.waitForSendTransaction({transaction:e,signal:a.signal},s);return this.tracker.trackTransactionSigned(this.wallet,e,t),Ld.setAction({name:"transaction-sent",showNotification:n.includes("success"),openModal:r.includes("success")}),t}catch(eb){if(eb instanceof H)throw Ld.clearAction(),Ld.openWalletNotSupportFeatureModal(eb.cause),eb;throw Ld.setAction({name:"transaction-canceled",showNotification:n.includes("error"),openModal:r.includes("error")}),eb instanceof W?eb:(console.error(eb),new Mr("Unhandled error:"+eb))}finally{l()}}))}signData(e){return _t(this,null,(function*(){if(this.tracker.trackDataSentForSignature(this.wallet,e),!this.connected)throw this.tracker.trackDataSigningFailed(this.wallet,e,"Wallet was not connected"),new Mr("Connect wallet to send a transaction.");zo()&&qo();const{notifications:t,modals:n,returnStrategy:r,twaReturnUrl:o}=this.getModalsAndNotificationsConfiguration();Ld.setAction({name:"confirm-sign-data",showNotification:t.includes("before"),openModal:n.includes("before"),signed:!1});const i=new AbortController,a=()=>{i.signal.aborted||(Ld.setAction({name:"confirm-sign-data",showNotification:t.includes("before"),openModal:n.includes("before"),signed:!0}),this.redirectAfterRequestSent({returnStrategy:r,twaReturnUrl:o}))},s=this.onTransactionModalStateChange((e=>{(null==e?void 0:e.openModal)||(s(),e||i.abort())}));try{const r=yield this.waitForSignData({data:e,signal:(new AbortController).signal},a);return this.tracker.trackDataSigned(this.wallet,e,r),Ld.setAction({name:"data-signed",showNotification:t.includes("success"),openModal:n.includes("success")}),r}catch(eb){if(eb instanceof H)throw Ld.clearAction(),Ld.openWalletNotSupportFeatureModal(eb.cause),eb;throw Ld.setAction({name:"sign-data-canceled",showNotification:t.includes("error"),openModal:n.includes("error")}),eb instanceof W?eb:(console.error(eb),new Mr("Unhandled error:"+eb))}finally{s()}}))}redirectAfterRequestSent(e){let{returnStrategy:t,twaReturnUrl:n}=e;this.walletInfo&&"universalLink"in this.walletInfo&&("universal-link"===this.walletInfo.openMethod||"custom-deeplink"===this.walletInfo.openMethod)&&(ce(this.walletInfo.universalLink)?Bc(this.walletInfo.universalLink,{returnStrategy:t,twaReturnUrl:n||oc.twaReturnUrl,forceRedirect:!1}):qc(this.walletInfo.universalLink,this.walletInfo.deepLink,{returnStrategy:t,forceRedirect:!1},(()=>{})))}connectEmbeddedWallet(e){return _t(this,null,(function*(){const t=t=>{oo(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=oc.connectRequestParameters;return"loading"===(null==n?void 0:n.state)?this.connectRequestParametersCallback=t:t(null==n?void 0:n.value),yield this.waitForWalletConnection({ignoreErrors:!1})}))}connectExternalWallet(){return _t(this,null,(function*(){const e=new AbortController;Ld.openWalletsModal();const t=this.onModalStateChange((n=>{const{status:r,closeReason:o}=n;"opened"!==r&&(t(),"action-cancelled"===o&&e.abort())}));return yield this.waitForWalletConnection({ignoreErrors:!0,signal:e.signal})}))}waitForWalletConnection(e){return _t(this,null,(function*(){return new Promise(((t,n)=>{this.tracker.trackConnectionStarted();const{ignoreErrors:r=!1,signal:o=null}=e;if(o&&o.aborted)return this.tracker.trackConnectionError("Connection was cancelled"),n(new Mr("Wallet was not connected"));const i=e=>_t(this,null,(function*(){if(e)this.tracker.trackConnectionCompleted(e),s(),t(e);else{if(this.tracker.trackConnectionError("Connection was cancelled"),r)return;s(),n(new Mr("Wallet was not connected"))}})),a=e=>{this.tracker.trackConnectionError(e.message),r||(s(),n(e))},s=this.onStatusChange((e=>i(e)),(e=>a(e)));o&&o.addEventListener("abort",(()=>{s(),n(new Mr("Wallet was not connected"))}),{once:!0})}))}))}waitForSendTransaction(e,t){return _t(this,null,(function*(){return new Promise(((n,r)=>{const{transaction:o,signal:i}=e;if(i.aborted)return this.tracker.trackTransactionSigningFailed(this.wallet,o,"Transaction was cancelled"),r(new Mr("Transaction was not sent"));const a=e=>_t(this,null,(function*(){n(e)})),s=()=>{this.tracker.trackTransactionSigningFailed(this.wallet,o,"Transaction was cancelled"),r(new Mr("Transaction was not sent"))};i.addEventListener("abort",s,{once:!0}),this.connector.sendTransaction(o,{onRequestSent:t,signal:i}).then((e=>(i.removeEventListener("abort",s),a(e)))).catch((e=>(i.removeEventListener("abort",s),(e=>{r(e)})(e))))}))}))}waitForSignData(e,t){return _t(this,null,(function*(){return new Promise(((n,r)=>{const{data:o,signal:i}=e;if(i.aborted)return this.tracker.trackDataSigningFailed(this.wallet,o,"SignData was cancelled"),r(new Mr("SignData was not sent"));const a=e=>_t(this,null,(function*(){n(e)}));i.addEventListener("abort",(()=>{this.tracker.trackDataSigningFailed(this.wallet,o,"SignData was cancelled"),r(new Mr("SignData was not sent"))}),{once:!0}),this.connector.signData(o,{onRequestSent:t,signal:i}).then((e=>a(e))).catch((e=>(e=>{r(e)})(e)))}))}))}onTransactionModalStateChange(e){return this.transactionModal.onStateChange(e)}subscribeToWalletChange(){this.connector.onStatusChange((e=>_t(this,null,(function*(){var t;e?(yield this.updateWalletInfo(e),this.setPreferredWalletAppName((null==(t=this.walletInfo)?void 0:t.appName)||e.device.appName)):this.walletInfoStorage.removeWalletInfo()}))))}setPreferredWalletAppName(e){this.preferredWalletStorage.setPreferredWalletAppName(e),ic({preferredWalletAppName:e})}getSelectedWalletInfo(e){return _t(this,null,(function*(){let t,n=Ld.getSelectedWalletInfo();if(!n)return null;if("name"in n)t=n;else{const r=sc(yield this.walletsList,oc.walletsListConfiguration).find((t=>dc(t,e.device.appName)));if(!r)throw new Mr(`Cannot find WalletInfo for the '${e.device.appName}' wallet`);t=St(St({},r),n)}return t}))}updateWalletInfo(e){return _t(this,null,(function*(){const t=yield this.getSelectedWalletInfo(e);if(t)return this.walletInfo=t,void this.walletInfoStorage.setWalletInfo(t);const n=this.walletInfoStorage.getWalletInfo();this.walletInfo=n||((yield this.walletsList).find((t=>dc(t,e.device.appName)))||null)}))}normalizeWidgetRoot(e){if(!e||!document.getElementById(e)){e="tc-widget-root";const t=document.createElement("div");t.id=e,document.body.appendChild(t)}return e}checkButtonRootExist(e){if(null!=e&&!document.getElementById(e))throw new Mr(`${e} element not found in the document.`)}getModalsAndNotificationsConfiguration(e){var t,n,r,o,i,a;const s=["before","success","error"];let l=s;(null==(t=this.actionsConfiguration)?void 0:t.notifications)&&"all"!==(null==(n=this.actionsConfiguration)?void 0:n.notifications)&&(l=this.actionsConfiguration.notifications),(null==e?void 0:e.notifications)&&(l="all"===e.notifications?s:e.notifications);let c=["before"];(null==(r=this.actionsConfiguration)?void 0:r.modals)&&(c="all"===this.actionsConfiguration.modals?s:this.actionsConfiguration.modals),(null==e?void 0:e.modals)&&(c="all"===e.modals?s:e.modals);const u=(null==e?void 0:e.returnStrategy)||(null==(o=this.actionsConfiguration)?void 0:o.returnStrategy)||"back",d=(null==e?void 0:e.twaReturnUrl)||(null==(i=this.actionsConfiguration)?void 0:i.twaReturnUrl);let f=(null==e?void 0:e.skipRedirectToWallet)||(null==(a=this.actionsConfiguration)?void 0:a.skipRedirectToWallet)||"ios";return zo()&&(f="never"),{notifications:l,modals:c,returnStrategy:u,twaReturnUrl:d,skipRedirectToWallet:f}}}var Dd=n(3450),Ud=n.n(Dd);const Fd="ps_app_did_mount",zd="ps_game_info_loaded",Bd="ps_game_ready",qd="ps_switch_page",Hd="ps_wallet_connect",Kd="ps_play_button_clicked",Vd="ps_purchase_completed",Gd="ps_check_in_completed",Qd="event_purchaseCompleted",Zd="event_checkInCompleted";let Yd=function(e){return e[e.airdrop=1]="airdrop",e[e.earn=2]="earn",e}({});const Xd={1:{bgColor:"#F5A413",borderColor:"#FEF8E2",textColor:"#fff",text:"Airdrop",icon:"tag_icon1.png",iconWidth:20,iconHeight:18},2:{bgColor:"#25A3AC",borderColor:"#FEF8E2",textColor:"#fff",text:"Earn",icon:"tag_icon2.png",iconWidth:16,iconHeight:18}},Jd={1e3:"Join the World\u2019s Largest Cat-lover Community: Catizen - Play, Earn, Airdrop!",1002:"Wondering how much $BOMBIE you can earn?"};let ef=function(e){return e[e.success=1e4]="success",e[e.netConfigError=10001]="netConfigError",e[e.netError=10002]="netError",e[e.paramError=10003]="paramError",e[e.notInit=10004]="notInit",e[e.initError=10005]="initError",e[e.notLogin=10006]="notLogin",e[e.logined=10007]="logined",e[e.purchaseing=10008]="purchaseing",e[e.clipboardError=10009]="clipboardError",e[e.walletError=10010]="walletError",e[e.walletNotConnected=10011]="walletNotConnected",e[e.openInvoiceError=10012]="openInvoiceError",e[e.tokenUseError=10013]="tokenUseError",e[e.insufficientFunds=10014]="insufficientFunds",e[e.orderConfirming=10015]="orderConfirming",e[e.checkingIn=10016]="checkingIn",e}({}),tf=function(e){return e[e.none=0]="none",e[e.index=1]="index",e[e.login=2]="login",e[e.purchase=3]="purchase",e[e.checkIn=4]="checkIn",e}({}),nf=function(e){return e[e.star=1]="star",e[e.tonConnect=2]="tonConnect",e}({}),rf=function(e){return e.usdt="USDT",e.ton="TON",e.cati="CATI",e.star="STAR",e.bombie="BOMB",e}({}),of=function(e){return e.usdt="USDT",e.cati="CATI",e.bombie="BOMB",e}({}),af=function(e){return e[e.portrait=0]="portrait",e[e.landscape=1]="landscape",e}({}),sf=function(e){return e.users="users",e.groups="groups",e.channels="channels",e}({});const lf={[rf.usdt]:"USDT",[rf.ton]:"TON",[rf.cati]:"CATI",[rf.star]:"Star"},cf={[rf.usdt]:"coin_usdt.png",[rf.ton]:"coin_ton.png",[rf.cati]:"coin_cati.png",[rf.star]:"coin_star.png"};function uf(e,t){return function(){return e.apply(t,arguments)}}const{toString:df}=Object.prototype,{getPrototypeOf:ff}=Object,pf=(hf=Object.create(null),e=>{const t=df.call(e);return hf[t]||(hf[t]=t.slice(8,-1).toLowerCase())});var hf;const gf=e=>(e=e.toLowerCase(),t=>pf(t)===e),mf=e=>t=>typeof t===e,{isArray:yf}=Array,vf=mf("undefined");const bf=gf("ArrayBuffer");const wf=mf("string"),xf=mf("function"),Cf=mf("number"),kf=e=>null!==e&&"object"===typeof e,Sf=e=>{if("object"!==pf(e))return!1;const t=ff(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ef=gf("Date"),Af=gf("File"),_f=gf("Blob"),Tf=gf("FileList"),Rf=gf("URLSearchParams"),[Of,Pf,Mf,Lf]=["ReadableStream","Request","Response","Headers"].map(gf);function Nf(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),yf(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(n=0;n<i;n++)a=r[n],t.call(null,e[a],a,e)}}function If(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const jf="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,$f=e=>!vf(e)&&e!==jf;const Wf=(Df="undefined"!==typeof Uint8Array&&ff(Uint8Array),e=>Df&&e instanceof Df);var Df;const Uf=gf("HTMLFormElement"),Ff=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),zf=gf("RegExp"),Bf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Nf(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},qf="abcdefghijklmnopqrstuvwxyz",Hf="0123456789",Kf={DIGIT:Hf,ALPHA:qf,ALPHA_DIGIT:qf+qf.toUpperCase()+Hf};const Vf=gf("AsyncFunction"),Gf=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],jf.addEventListener("message",(e=>{let{source:t,data:o}=e;t===jf&&o===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),jf.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,xf(jf.postMessage)),Qf="undefined"!==typeof queueMicrotask?queueMicrotask.bind(jf):"undefined"!==typeof process&&process.nextTick||Gf,Zf={isArray:yf,isArrayBuffer:bf,isBuffer:function(e){return null!==e&&!vf(e)&&null!==e.constructor&&!vf(e.constructor)&&xf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||xf(e.append)&&("formdata"===(t=pf(e))||"object"===t&&xf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bf(e.buffer),t},isString:wf,isNumber:Cf,isBoolean:e=>!0===e||!1===e,isObject:kf,isPlainObject:Sf,isReadableStream:Of,isRequest:Pf,isResponse:Mf,isHeaders:Lf,isUndefined:vf,isDate:Ef,isFile:Af,isBlob:_f,isRegExp:zf,isFunction:xf,isStream:e=>kf(e)&&xf(e.pipe),isURLSearchParams:Rf,isTypedArray:Wf,isFileList:Tf,forEach:Nf,merge:function e(){const{caseless:t}=$f(this)&&this||{},n={},r=(r,o)=>{const i=t&&If(n,o)||o;Sf(n[i])&&Sf(r)?n[i]=e(n[i],r):Sf(r)?n[i]=e({},r):yf(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Nf(arguments[o],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Nf(t,((t,r)=>{n&&xf(t)?e[r]=uf(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&ff(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:pf,kindOfTest:gf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(yf(e))return e;let t=e.length;if(!Cf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Uf,hasOwnProperty:Ff,hasOwnProp:Ff,reduceDescriptors:Bf,freezeMethods:e=>{Bf(e,((t,n)=>{if(xf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];xf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return yf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:If,global:jf,isContextDefined:$f,ALPHABET:Kf,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kf.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&xf(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(kf(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=yf(e)?[]:{};return Nf(e,((e,t)=>{const i=n(e,r+1);!vf(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Vf,isThenable:e=>e&&(kf(e)||xf(e))&&xf(e.then)&&xf(e.catch),setImmediate:Gf,asap:Qf};function Yf(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Zf.inherits(Yf,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Zf.toJSONObject(this.config),code:this.code,status:this.status}}});const Xf=Yf.prototype,Jf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Jf[e]={value:e}})),Object.defineProperties(Yf,Jf),Object.defineProperty(Xf,"isAxiosError",{value:!0}),Yf.from=(e,t,n,r,o,i)=>{const a=Object.create(Xf);return Zf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Yf.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const ep=Yf;function tp(e){return Zf.isPlainObject(e)||Zf.isArray(e)}function np(e){return Zf.endsWith(e,"[]")?e.slice(0,-2):e}function rp(e,t,n){return e?e.concat(t).map((function(e,t){return e=np(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const op=Zf.toFlatObject(Zf,{},null,(function(e){return/^is[A-Z]/.test(e)}));const ip=function(e,t,n){if(!Zf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Zf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Zf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Zf.isSpecCompliantForm(t);if(!Zf.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Zf.isDate(e))return e.toISOString();if(!s&&Zf.isBlob(e))throw new ep("Blob is not supported. Use a Buffer instead.");return Zf.isArrayBuffer(e)||Zf.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(Zf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Zf.isArray(e)&&function(e){return Zf.isArray(e)&&!e.some(tp)}(e)||(Zf.isFileList(e)||Zf.endsWith(n,"[]"))&&(s=Zf.toArray(e)))return n=np(n),s.forEach((function(e,r){!Zf.isUndefined(e)&&null!==e&&t.append(!0===a?rp([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!tp(e)||(t.append(rp(o,n,i),l(e)),!1)}const u=[],d=Object.assign(op,{defaultVisitor:c,convertValue:l,isVisitable:tp});if(!Zf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Zf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Zf.forEach(n,(function(n,i){!0===(!(Zf.isUndefined(n)||null===n)&&o.call(t,n,Zf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function ap(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function sp(e,t){this._pairs=[],e&&ip(e,this,t)}const lp=sp.prototype;lp.append=function(e,t){this._pairs.push([e,t])},lp.toString=function(e){const t=e?function(t){return e.call(this,t,ap)}:ap;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const cp=sp;function up(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dp(e,t,n){if(!t)return e;const r=n&&n.encode||up;Zf.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Zf.isURLSearchParams(t)?t.toString():new cp(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const fp=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Zf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},pp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hp={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:cp,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},gp="undefined"!==typeof window&&"undefined"!==typeof document,mp="object"===typeof navigator&&navigator||void 0,yp=gp&&(!mp||["ReactNative","NativeScript","NS"].indexOf(mp.product)<0),vp="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,bp=gp&&window.location.href||"http://localhost",wp={...e,...hp};const xp=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Zf.isArray(r)?r.length:i,s)return Zf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Zf.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Zf.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(Zf.isFormData(e)&&Zf.isFunction(e.entries)){const n={};return Zf.forEachEntry(e,((e,r)=>{t(function(e){return Zf.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Cp={transitional:pp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Zf.isObject(e);o&&Zf.isHTMLForm(e)&&(e=new FormData(e));if(Zf.isFormData(e))return r?JSON.stringify(xp(e)):e;if(Zf.isArrayBuffer(e)||Zf.isBuffer(e)||Zf.isStream(e)||Zf.isFile(e)||Zf.isBlob(e)||Zf.isReadableStream(e))return e;if(Zf.isArrayBufferView(e))return e.buffer;if(Zf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ip(e,new wp.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return wp.isNode&&Zf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Zf.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ip(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Zf.isString(e))try{return(t||JSON.parse)(e),Zf.trim(e)}catch(ar){if("SyntaxError"!==ar.name)throw ar}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Cp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Zf.isResponse(e)||Zf.isReadableStream(e))return e;if(e&&Zf.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(ar){if(n){if("SyntaxError"===ar.name)throw ep.from(ar,ep.ERR_BAD_RESPONSE,this,null,this.response);throw ar}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wp.classes.FormData,Blob:wp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Zf.forEach(["delete","get","head","post","put","patch"],(e=>{Cp.headers[e]={}}));const kp=Cp,Sp=Zf.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ep=Symbol("internals");function Ap(e){return e&&String(e).trim().toLowerCase()}function _p(e){return!1===e||null==e?e:Zf.isArray(e)?e.map(_p):String(e)}function Tp(e,t,n,r,o){return Zf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Zf.isString(t)?Zf.isString(r)?-1!==t.indexOf(r):Zf.isRegExp(r)?r.test(t):void 0:void 0)}class Rp{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Ap(t);if(!o)throw new Error("header name must be a non-empty string");const i=Zf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=_p(e))}const i=(e,t)=>Zf.forEach(e,((e,n)=>o(e,n,t)));if(Zf.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Zf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Sp[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Zf.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Ap(e)){const n=Zf.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Zf.isFunction(t))return t.call(this,e,n);if(Zf.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ap(e)){const n=Zf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Tp(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Ap(e)){const o=Zf.findKey(n,e);!o||t&&!Tp(0,n[o],o,t)||(delete n[o],r=!0)}}return Zf.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Tp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Zf.forEach(this,((r,o)=>{const i=Zf.findKey(n,o);if(i)return t[i]=_p(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=_p(r),n[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return Zf.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Zf.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[Ep]=this[Ep]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ap(e);t[r]||(!function(e,t){const n=Zf.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Zf.isArray(e)?e.forEach(r):r(e),this}}Rp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Zf.reduceDescriptors(Rp.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),Zf.freezeMethods(Rp);const Op=Rp;function Pp(e,t){const n=this||kp,r=t||n,o=Op.from(r.headers);let i=r.data;return Zf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Mp(e){return!(!e||!e.__CANCEL__)}function Lp(e,t,n){ep.call(this,null==e?"canceled":e,ep.ERR_CANCELED,t,n),this.name="CanceledError"}Zf.inherits(Lp,ep,{__CANCEL__:!0});const Np=Lp;function Ip(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ep("Request failed with status code "+n.status,[ep.ERR_BAD_REQUEST,ep.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const jp=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}};const $p=function(e,t){let n,r,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];t>=i?a(l,e):(n=l,r||(r=setTimeout((()=>{r=null,a(n)}),i-t)))},()=>n&&a(n)]},Wp=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=jp(50,250);return $p((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Dp=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Up=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zf.asap((()=>e(...n)))},Fp=wp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wp.origin),wp.navigator&&/(msie|trident)/i.test(wp.navigator.userAgent)):()=>!0,zp=wp.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Zf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Zf.isString(r)&&a.push("path="+r),Zf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Bp(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const qp=e=>e instanceof Op?{...e}:e;function Hp(e,t){t=t||{};const n={};function r(e,t,n,r){return Zf.isPlainObject(e)&&Zf.isPlainObject(t)?Zf.merge.call({caseless:r},e,t):Zf.isPlainObject(t)?Zf.merge({},t):Zf.isArray(t)?t.slice():t}function o(e,t,n,o){return Zf.isUndefined(t)?Zf.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Zf.isUndefined(t))return r(void 0,t)}function a(e,t){return Zf.isUndefined(t)?Zf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(qp(e),qp(t),0,!0)};return Zf.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Zf.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Kp=e=>{const t=Hp({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=Op.from(s),t.url=dp(Bp(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Zf.isFormData(r))if(wp.hasStandardBrowserEnv||wp.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(wp.hasStandardBrowserEnv&&(o&&Zf.isFunction(o)&&(o=o(t)),o||!1!==o&&Fp(t.url))){const e=i&&a&&zp.read(a);e&&s.set(i,e)}return t},Vp="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Kp(e);let o=r.data;const i=Op.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=Op.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ip((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new ep("Request aborted",ep.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new ep("Network Error",ep.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||pp;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ep(t,o.clarifyTimeoutError?ep.ETIMEDOUT:ep.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Zf.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Zf.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),p&&([l,u]=Wp(p,!0),g.addEventListener("progress",l)),f&&g.upload&&([s,c]=Wp(f),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new Np(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===wp.protocols.indexOf(y)?n(new ep("Unsupported protocol "+y+":",ep.ERR_BAD_REQUEST,e)):g.send(o||null)}))},Gp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ep?t:new Np(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new ep(`timeout ${t} of ms exceeded`,ep.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>Zf.asap(a),s}},Qp=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Zp=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Yp=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Zp(e))yield*Qp(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},Xp="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,Jp=Xp&&"function"===typeof ReadableStream,eh=Xp&&("function"===typeof TextEncoder?(th=new TextEncoder,e=>th.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var th;const nh=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(ar){return!1}},rh=Jp&&nh((()=>{let e=!1;const t=new Request(wp.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),oh=Jp&&nh((()=>Zf.isReadableStream(new Response("").body))),ih={stream:oh&&(e=>e.body)};var ah;Xp&&(ah=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!ih[e]&&(ih[e]=Zf.isFunction(ah[e])?t=>t[e]():(t,n)=>{throw new ep(`Response type '${e}' is not supported`,ep.ERR_NOT_SUPPORT,n)})})));const sh=async(e,t)=>{const n=Zf.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Zf.isBlob(e))return e.size;if(Zf.isSpecCompliantForm(e)){const t=new Request(wp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Zf.isArrayBufferView(e)||Zf.isArrayBuffer(e)?e.byteLength:(Zf.isURLSearchParams(e)&&(e+=""),Zf.isString(e)?(await eh(e)).byteLength:void 0)})(t):n},lh=Xp&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Kp(e);c=c?(c+"").toLowerCase():"text";let p,h=Gp([o,i&&i.toAbortSignal()],a);const g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let m;try{if(l&&rh&&"get"!==n&&"head"!==n&&0!==(m=await sh(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Zf.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Dp(m,Wp(Up(l)));r=Yp(n.body,65536,e,t)}}Zf.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(p);const a=oh&&("stream"===c||"response"===c);if(oh&&(s||a&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Zf.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Dp(t,Wp(Up(s),!0))||[];i=new Response(Yp(i.body,65536,n,(()=>{r&&r(),g&&g()})),e)}c=c||"text";let y=await ih[Zf.findKey(ih,c)||"text"](i,e);return!a&&g&&g(),await new Promise(((t,n)=>{Ip(t,n,{data:y,headers:Op.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(y){if(g&&g(),y&&"TypeError"===y.name&&/fetch/i.test(y.message))throw Object.assign(new ep("Network Error",ep.ERR_NETWORK,e,p),{cause:y.cause||y});throw ep.from(y,y&&y.code,e,p)}}),ch={http:null,xhr:Vp,fetch:lh};Zf.forEach(ch,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(ar){}Object.defineProperty(e,"adapterName",{value:t})}}));const uh=e=>`- ${e}`,dh=e=>Zf.isFunction(e)||null===e||!1===e,fh=e=>{e=Zf.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!dh(n)&&(r=ch[(t=String(n)).toLowerCase()],void 0===r))throw new ep(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(uh).join("\n"):" "+uh(e[0]):"as no adapter specified";throw new ep("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ph(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Np(null,e)}function hh(e){ph(e),e.headers=Op.from(e.headers),e.data=Pp.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return fh(e.adapter||kp.adapter)(e).then((function(t){return ph(e),t.data=Pp.call(e,e.transformResponse,t),t.headers=Op.from(t.headers),t}),(function(t){return Mp(t)||(ph(e),t&&t.response&&(t.response.data=Pp.call(e,e.transformResponse,t.response),t.response.headers=Op.from(t.response.headers))),Promise.reject(t)}))}const gh="1.7.8",mh={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{mh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const yh={};mh.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.8] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new ep(r(o," has been removed"+(t?" in "+t:"")),ep.ERR_DEPRECATED);return t&&!yh[o]&&(yh[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},mh.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const vh={assertOptions:function(e,t,n){if("object"!==typeof e)throw new ep("options must be an object",ep.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new ep("option "+i+" must be "+n,ep.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ep("Unknown option "+i,ep.ERR_BAD_OPTION)}},validators:mh},bh=vh.validators;class wh{constructor(e){this.defaults=e,this.interceptors={request:new fp,response:new fp}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(ar){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Hp(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&vh.assertOptions(n,{silentJSONParsing:bh.transitional(bh.boolean),forcedJSONParsing:bh.transitional(bh.boolean),clarifyTimeoutError:bh.transitional(bh.boolean)},!1),null!=r&&(Zf.isFunction(r)?t.paramsSerializer={serialize:r}:vh.assertOptions(r,{encode:bh.function,serialize:bh.function},!0)),vh.assertOptions(t,{baseUrl:bh.spelling("baseURL"),withXsrfToken:bh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Zf.merge(o.common,o[t.method]);o&&Zf.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Op.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[hh.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(p){t.call(this,p);break}}try{c=hh.call(this,f)}catch(p){return Promise.reject(p)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return dp(Bp((e=Hp(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Zf.forEach(["delete","get","head","options"],(function(e){wh.prototype[e]=function(t,n){return this.request(Hp(n||{},{method:e,url:t,data:(n||{}).data}))}})),Zf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Hp(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}wh.prototype[e]=t(),wh.prototype[e+"Form"]=t(!0)}));const xh=wh;class Ch{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Np(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Ch((function(t){e=t}));return{token:t,cancel:e}}}const kh=Ch;const Sh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sh).forEach((e=>{let[t,n]=e;Sh[n]=t}));const Eh=Sh;const Ah=function e(t){const n=new xh(t),r=uf(xh.prototype.request,n);return Zf.extend(r,xh.prototype,n,{allOwnKeys:!0}),Zf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Hp(t,n))},r}(kp);Ah.Axios=xh,Ah.CanceledError=Np,Ah.CancelToken=kh,Ah.isCancel=Mp,Ah.VERSION=gh,Ah.toFormData=ip,Ah.AxiosError=ep,Ah.Cancel=Ah.CanceledError,Ah.all=function(e){return Promise.all(e)},Ah.spread=function(e){return function(t){return e.apply(null,t)}},Ah.isAxiosError=function(e){return Zf.isObject(e)&&!0===e.isAxiosError},Ah.mergeConfig=Hp,Ah.AxiosHeaders=Op,Ah.formToJSON=e=>xp(Zf.isHTMLForm(e)?new FormData(e):e),Ah.getAdapter=fh,Ah.HttpStatusCode=Eh,Ah.default=Ah;const _h=Ah;const Th=new class{constructor(){this._axios=void 0}init(){this._axios=_h.create({timeout:1e4}),this._axios.interceptors.request.use((e=>(e.url.includes("api/pluto")&&(e.baseURL=k.API_URL,k.TOKEN&&(e.headers.Authorization=`Bearer ${k.TOKEN}`)),e)),(e=>(console.log(e),Promise.reject({code:ef.netConfigError,message:"Net config error"})))),this._axios.interceptors.response.use((e=>e),(e=>(console.log(e.toJSON()),Promise.reject({code:ef.netError,message:e.message}))))}get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={};return t&&(n.params=t),this._axios.get(e,n).then((e=>e.data))}post(e,t){return this._axios.post(e,t).then((e=>e.data))}},Rh=Th;const Oh=new class{constructor(){this._tonConnect=null}get connected(){return this._tonConnect.connected}get chain(){return this._tonConnect.connected?this._tonConnect.account.chain:null}get walletName(){return this._tonConnect.connected?this._tonConnect.wallet.name:null}get rawAddress(){return this._tonConnect.connected?this._tonConnect.account.address:null}get friendlyAddress(){return this._tonConnect.connected?rt(this._tonConnect.account.address,!1):null}init(){let e=this._tonConnect=new Wd({manifestUrl:k.MANIFEST_URL});e.setConnectRequestParameters({state:"ready",value:{tonProof:"success"}}),e.connectionRestored.then((e=>{e?(Ud().publish(Hd,!0),console.log("tonConnect restored.")):console.log("tonConnect not restored.")}))}connect(){return new Promise(((e,t)=>{if(this.connected)return e(this._tonConnect.account.address);const n=this._tonConnect.onStatusChange((r=>{if(n(),!r)return t({code:ef.walletError,message:"The wallet info is null"});let o=r.account.address;Ud().publish(Hd,!0),e(o)})),r=this._tonConnect.onModalStateChange((e=>{"closed"==e.status&&(r(),"wallet-selected"!=e.closeReason&&(n(),t({code:ef.walletError,message:"Wallet connect failed"})))}));this._tonConnect.openModal().then((()=>{console.log("openModal success")})).catch((e=>{n(),r(),t({code:ef.walletError,message:"Open modal error"})}))}))}disconnect(){return new Promise(((e,t)=>{if(!this.connected)return t({code:ef.walletError,message:"Wallet not connected"});this._tonConnect.disconnect().then((()=>{Ud().publish(Hd,!1),e()})).catch((e=>{console.log(e),t({code:ef.walletError,message:"Wallet disconnect error"})}))}))}sendTransaction(e){return new Promise(((t,n)=>{if(!this.connected)return n({code:ef.walletError,message:"Wallet not connected"});const r={validUntil:Math.floor(Date.now()/1e3)+600,messages:[{...e}]};this._tonConnect.sendTransaction(r).then((e=>{console.log("transaction success"),t(e.boc)})).catch((e=>{console.log("transaction error==>"+JSON.stringify(e)),n({code:ef.walletError,message:"Wallet transaction error"})}))}))}getTokenPayload(e,t,n,r){return new Promise(((o,i)=>{this.getTokenJettonWalletAddress(e,+t).then((a=>{let s=`${k.PAYLOAD_URL}/${e}/${this.rawAddress}/${r}/${t}/${n}`;Rh.get(s).then((e=>{o({address:a,payload:e.data.payload})})).catch((e=>{console.log(e),i({code:ef.tokenUseError,message:"Load token payload error"})}))})).catch((e=>{i(e)}))}))}getTokenJettonWalletAddress(e,t){return new Promise(((n,r)=>{let o=k.TOKENS_JETTON_ADDRESS[e];if(!o)return console.log(`token invalid: ${e}`),r({code:ef.tokenUseError,message:`${e} invalid`});let i={owner_address:this.rawAddress,jetton_address:o,limit:"1",offset:"0"};Rh.get(k.TON_CENTER_URL,i).then((o=>{let i=o.jetton_wallets[0],a="",s=0;if(i){var l,c,u;a=i.address;let e=null===(l=o.jetton_wallets[0])||void 0===l?void 0:l.jetton,t=null===(c=o.metadata[e])||void 0===c?void 0:c.token_info[0],n=1e9;null!==t&&void 0!==t&&null!==(u=t.extra)&&void 0!==u&&u.decimals&&(n=Math.pow(10,parseInt(t.extra.decimals))),s=(i.balance||0)/n}if(!a||s<t)return r({code:ef.insufficientFunds,message:`Insufficient ${e} assets`});n(a)})).catch((e=>{console.log(e),r({code:ef.tokenUseError,message:"Load jetton wallet error"})}))}))}};const Ph=new class{constructor(){this._callbackMap={},this._handlerMap={},this.onPlayButtonClicked=(e,t)=>{const n=this._handlerMap.event_playButtonClicked;n&&n.apply(null,[])},this.onPuchaseCompleted=(e,t)=>{const n=this._handlerMap[Qd];n&&n.apply(null,[t]);const r=this._callbackMap[Qd];r&&(r.apply(null,[t]),this._callbackMap[Qd]=null)},this.onCheckInCompleted=(e,t)=>{const n=this._handlerMap[Zd];n&&n.apply(null,[t]);const r=this._callbackMap[Zd];r&&(r.apply(null,[t]),this._callbackMap[Zd]=null)}}init(){Ud().subscribe(Kd,this.onPlayButtonClicked),Ud().subscribe(Vd,this.onPuchaseCompleted),Ud().subscribe(Gd,this.onCheckInCompleted)}registerCallback(e,t){e&&t&&(this._callbackMap[e]=t)}registerHandler(e,t){e&&t&&(this._handlerMap[e]=t)}},Mh=e=>`${k.RES_URL}${e}`,Lh=()=>{const e=Telegram.WebApp.platform,t=Telegram.WebApp.version;return!(!e||"unknown"==e)&&!(!t||"6.0"==t)},Nh=()=>{const e=Telegram.WebApp.platform;return!(!e||"unknown"==e||e.includes("web"))},Ih=()=>(Telegram.WebApp.platform||"").includes("web"),jh=()=>{const e=Telegram.WebApp.platform||"";return e.includes("macos")||e.includes("ios")||e.includes("pados")},$h=()=>(Telegram.WebApp.platform||"").includes("android"),Wh=()=>{const e=(new ht.UAParser).getDevice().type;return"mobile"==e||"tablet"==e},Dh=e=>new Promise(((t,n)=>{if(!navigator||!navigator.clipboard)return n();navigator.clipboard.writeText(e).then((()=>{t()})).catch((()=>{n()}))})),Uh=e=>new Promise(((t,n)=>{let r=document.createElement("textarea");r.value=e,r.style.position="absolute",r.style.opacity="0",r.style.left="-999999px",r.style.top="-999999px",document.body.appendChild(r),r.focus(),r.select();let o=document.execCommand("copy");r.remove(),o?t():n()}));class Fh{static showLog(e){k.TEST_MODE&&console.log(e)}static get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=`api/pluto/${e}/${k.GAME_ID}`;return new Promise(((r,o)=>{Rh.get(n,t).then((t=>{if(Fh.showLog(`${e}: ${JSON.stringify(t)}`),0!=t.code)return o({code:t.code,message:t.message});r(t.data)})).catch((e=>{o(e)}))}))}static post(e,t){const n=`api/pluto/${e}/${k.GAME_ID}`;return new Promise(((r,o)=>{Rh.post(n,t).then((t=>{if(Fh.showLog(`${e}: ${JSON.stringify(t)}`),0!=t.code)return o({code:t.code,message:t.message});r(t.data)})).catch((e=>{o(e)}))}))}static gameInfo(){const e={botname:k.BOT_NAME,initdata:k.INIT_DATA};return Fh.post("gameinfo",e)}static login(){const e={botname:k.BOT_NAME,initdata:k.INIT_DATA};return Fh.post("login",e)}static priceExchange(e){const t={amount:e};return Fh.post("priceexchange",t)}static order(e,t,n,r,o,i,a){const s={productid:e,productname:t,orderid:n,amount:r,paytype:o,currencycode:i,customdata:a};return Fh.post("order",s)}static getItem(e){const t={k:e};return Fh.post("getuserdata",t)}static setItem(e,t){const n={k:e,v:t};return Fh.post("setuserdata",n)}static finishOrder(e){const t={orderno:e};return Fh.post("finishorder",t)}static unfinishRecord(){return Fh.get("unfinishrecord")}static checkIn(e,t,n){const r={title:e,checkinid:t,customdata:n};return Fh.post("checkin",r)}static checkInVerify(e,t,n,r){const o={checknet:e,wallet:r,checkdata:t,checkinno:n};return Fh.post("checkinverify",o)}static getShareMessage(e,t,n,r){const o={link:e,allowUserChats:t,allowGroupChats:n,allowChannelChats:r};return Fh.post("share",o)}static deposit(e,t,n,r){const o={orderid:t,amount:n,currencycode:e,customdata:r};return Fh.post("deposit",o)}static reportStarPayStatus(e,t,n,r){const o={orderNo:e,payLink:t,amount:n,status:r};return Fh.post("reportstarpaystatus",o)}}const zh=new class{constructor(){this._gameInfo=void 0,this._plutoId=void 0,this._firstName=void 0,this._lastName=void 0,this._icon=void 0,this._purchaseData=void 0,this._checkInData=void 0}get gameInfo(){return this._gameInfo}set gameInfo(e){this._gameInfo=e}get plutoId(){return this._plutoId}set plutoId(e){this._plutoId=e}get firstName(){return this._firstName}set firstName(e){this._firstName=e}get lastName(){return this._lastName}set lastName(e){this._lastName=e}get icon(){return this._icon}set icon(e){this._icon=e}get purchaseData(){return this._purchaseData||{}}set purchaseData(e){this._purchaseData=e}get checkInData(){return this._checkInData||{}}set checkInData(e){this._checkInData=e}};const Bh=new class{constructor(){this._shareTimer=null,this._adConfigs={},this._adControllers={}}get hideShare(){return"1002"==k.GAME_ID}init(){if(Telegram.WebApp.expand(),Telegram.WebApp.ready(),Telegram.WebApp.disableVerticalSwipes(),Telegram.WebApp.enableClosingConfirmation(),k.FULL_SCREEN&&Wh())try{Telegram.WebApp.requestFullscreen()}catch(e){}}async reqGameInfo(){for(let t=1;t<=10;t++)try{const e=await Fh.gameInfo();let t=(e.catalog||[]).filter((e=>e==Yd.airdrop||e==Yd.earn)),n={name:e.gamename,describe:e.gamesummary,icon:e.gameicon,appUrl:e.appurl,tags:t,orientation:e.orientation||af.portrait};return zh.gameInfo=n,zh.plutoId=e.plutoid,Promise.resolve(n)}catch(e){if(10==t)return Promise.reject({code:ef.initError,message:"Init error"});await new Promise((e=>window.setTimeout(e,500)))}}reqLogin(){return Fh.login().then((e=>{let t=zh.plutoId=e.plutoid,n=zh.firstName=e.tgfirstname,r=zh.lastName=e.tglastname,o=zh.icon=e.icon,i=e.ticket;return k.TOKEN=e.token,k.GAME_URL=e.gameurl,this._adConfigs=e.adinfo||{},{plutoId:t,firstName:n,lastName:r,icon:o,ticket:i}}))}reqPurchase(e,t,n,r,o){return Fh.priceExchange(r).then((r=>{const i=parseFloat(r.usdt)||0,a=parseFloat(r.ton)||0,s=parseFloat(r.cati)||0,l=parseInt(r.star)||0,c=parseFloat(r.usdtoff)||0,u=parseFloat(r.tonoff)||0,d=parseFloat(r.catioff)||0,f=parseFloat(r.staroff)||0,p=parseFloat(r.usdtdiscount)||0,h=parseFloat(r.tondiscount)||0,g=parseFloat(r.catidiscount)||0,m=parseFloat(r.stardiscount)||0;zh.purchaseData={name:t,productId:e,orderId:n,customData:o,usdt:p?c:i,usdtOld:i,usdtDiscount:p,ton:h?u:a,tonOld:a,tonDiscount:h,cati:g?d:s,catiOld:s,catiDiscount:g,star:m?f:l,starOld:l,starDiscount:m}}))}reqOrder(e,t){const{productId:n,name:r,orderId:o,usdt:i,customData:a}=zh.purchaseData;return Fh.order(n,r,o,i,e,t,a).then((e=>(zh.purchaseData.orderNo=e.orderNo,{amount:e.amount,orderNo:e.orderNo,payload:e.payload,payLink:e.payLink,address:e.walletAddress})))}async reqFinishOrder(e){for(let n=1;n<=12;n++)try{return await Fh.finishOrder(e),Promise.resolve()}catch(t){if(22==t.code)return Promise.reject(t);if(12==n)return Promise.reject({code:ef.orderConfirming,message:"The order is being confirmed"});await new Promise((e=>window.setTimeout(e,5e3)))}}reqUnfinishRecord(){return Fh.unfinishRecord().then((e=>{let t=[];return(e.records||[]).forEach((e=>{const n={orderNo:e.orderno,orderId:e.orderid,productId:e.productid,name:e.productname,customData:e.customdata};t.push(n)})),t}))}reqCheckIn(e,t,n){return Fh.checkIn(e,t,n).then((r=>{zh.checkInData={name:e,orderId:t,customData:n,amount:"8000000",orderNo:r.checkinno,payload:r.payload,address:r.address}}))}async reqCheckInVerify(e,t,n,r){for(let i=1;i<=12;i++)try{return await Fh.checkInVerify(e,t,n,r),Promise.resolve()}catch(o){if(12==i)return Promise.reject(o);await new Promise((e=>window.setTimeout(e,5e3)))}}reqGetItem(e){return Fh.getItem(e).then((e=>e.v))}reqSetItem(e,t){return Fh.setItem(e,t).then((e=>{}))}reqGetShareMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!0,r=!0,o=!0;return t&&t.length>0&&(n=-1!=t.indexOf(sf.users),r=-1!=t.indexOf(sf.groups),o=-1!=t.indexOf(sf.channels)),Fh.getShareMessage(e,n,r,o).then((e=>e.id))}reqDeposit(e,t,n,r){return Fh.deposit(e,t,n,r).then((e=>({amount:e.amount,payload:e.payload,address:e.walletAddress})))}reportStarPayStatus(e,t,n,r){Fh.reportStarPayStatus(e,t,n,r)}depositToken(e,t,n,r){return new Promise(((o,i)=>{if(!Oh.connected)return i({code:ef.walletNotConnected,message:"Wallet not connected"});let a=of[e],s=rf[e];this.reqDeposit(s,t,n,r).then((e=>Oh.getTokenPayload(a,e.amount,e.payload,e.address))).then((e=>{let t={amount:"100000000",address:e.address,payload:e.payload};return Oh.sendTransaction(t)})).then((e=>{o()})).catch((e=>{i(e)}))}))}formatShareLink(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=`${zh.gameInfo.appUrl}?startapp=g_${k.GAME_ID}_${zh.plutoId}`;return e&&/^[A-Za-z0-9]*$/.test(e)&&(t+=`_${e}`),t}openInvoice(e){return new Promise(((t,n)=>{Telegram.WebApp.openInvoice(e,(e=>{if("paid"==e)return t();n({code:ef.openInvoiceError,message:"Open invoice error"})}))}))}shareMessageEnable(){return Telegram.WebApp.isVersionAtLeast("8.0")}shareMessage(e){return new Promise(((t,n)=>{Telegram.WebApp.shareMessage(e,(e=>{if(!e)return n();t()}))}))}shareForWeb(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._shareTimer&&(window.clearTimeout(this._shareTimer),this._shareTimer=null),new Promise(((t,n)=>{let r=`https://t.me/share/url?url=${this.formatShareLink(e)}\n&text=${encodeURIComponent(Jd[k.GAME_ID]||Jd[1e3])}`;Telegram.WebApp.openTelegramLink(r),this._shareTimer=window.setTimeout((()=>{t()}),6e3)}))}vibrate(e){const t={1:"light",2:"medium",3:"heavy"},n={4:"error",5:"success",6:"warning"};t[e]?Telegram.WebApp.HapticFeedback.impactOccurred(t[e]):n[e]&&Telegram.WebApp.HapticFeedback.notificationOccurred(n[e])}playAd(e){let t=this._adConfigs[e];if(!t)return Promise.reject("ad event invalid: "+e);let n=this._adControllers[t];return n||(n=window.Adsgram.init({blockId:t}),this._adControllers[t]=n),new Promise(((e,r)=>{n.show().then((t=>{console.log("play ad success"),e()})).catch((e=>{console.log("play ad error: "+t),console.log(JSON.stringify(e)),r(e)}))}))}},qh=Bh;var Hh=n(9254),Kh=n(8587),Vh=n(2004),Gh=n(116),Qh=n(505),Zh=n(237);const Yh=["className","component"];var Xh=n(4501),Jh=n(7775),eg=n(1763);const tg=(0,eg.A)("MuiBox",["root"]),ng=(0,Jh.A)(),rg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,s=(0,Gh.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Qh.A),l=i.forwardRef((function(e,i){const l=f(n),c=(0,Zh.A)(e),{className:u,component:d="div"}=c,h=(0,Kh.A)(c,Yh);return(0,p.jsx)(s,(0,o.A)({as:d,ref:i,className:(0,Vh.A)(u,a?a(r):r),theme:t&&l[t]||l},h))}));return l}({themeId:m.A,defaultTheme:ng,defaultClassName:tg.root,generateClassName:Xh.A.generate}),og=rg;class ig extends i.PureComponent{render(){return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative",backgroundColor:"#FEF8E2"},children:[(0,p.jsx)(og,{component:"img",src:Mh("bg_2.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("button_1.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("button_2.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("button_3.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("cat_ball.png"),sx:{display:"none"}})]})}}function ag(e,t){return ag=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ag(e,t)}function sg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ag(e,t)}var lg=n(7119);const cg=!1,ug=i.createContext(null);var dg="unmounted",fg="exited",pg="entering",hg="entered",gg="exiting",mg=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=fg,r.appearStatus=pg):o=hg:o=t.unmountOnExit||t.mountOnEnter?dg:fg,r.state={status:o},r.nextCallback=null,r}sg(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===dg?{status:fg}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==pg&&n!==hg&&(t=pg):n!==pg&&n!==hg||(t=gg)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===pg){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:lg.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fg&&this.setState({status:dg})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[lg.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||cg?this.safeSetState({status:hg},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:pg},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:hg},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:lg.findDOMNode(this);t&&!cg?(this.props.onExit(r),this.safeSetState({status:gg},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:fg},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:fg},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:lg.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===dg)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,Kh.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(ug.Provider,{value:null},"function"===typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function yg(){}mg.contextType=ug,mg.propTypes={},mg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yg,onEntering:yg,onEntered:yg,onExit:yg,onExiting:yg,onExited:yg},mg.UNMOUNTED=dg,mg.EXITED=fg,mg.ENTERING=pg,mg.ENTERED=hg,mg.EXITING=gg;const vg=mg;var bg=n(1380),wg=n(4326);function xg(){const e=f(g.A);return e[m.A]||e}const Cg=e=>e.scrollTop;function kg(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:a.transitionDelay}}var Sg=n(1733);const Eg=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ag(e,t,n){var r;const o=function(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=(0,Sg.A)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"===typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-r.left}px)`:`translateX(${i.innerWidth+s-r.left}px)`:"right"===e?o?`translateX(-${r.right-o.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"===typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const _g=i.forwardRef((function(e,t){const n=xg(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,container:u,direction:d="down",easing:f=r,in:h,onEnter:g,onEntered:m,onEntering:y,onExit:v,onExited:b,onExiting:w,style:x,timeout:C=a,TransitionComponent:k=vg}=e,S=(0,Kh.A)(e,Eg),E=i.useRef(null),A=(0,wg.A)(c.ref,E,t),_=e=>t=>{e&&(void 0===t?e(E.current):e(E.current,t))},T=_(((e,t)=>{Ag(d,e,u),Cg(e),g&&g(e,t)})),R=_(((e,t)=>{const r=kg({timeout:C,style:x,easing:f},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,o.A)({},r)),e.style.transition=n.transitions.create("transform",(0,o.A)({},r)),e.style.webkitTransform="none",e.style.transform="none",y&&y(e,t)})),O=_(m),P=_(w),M=_((e=>{const t=kg({timeout:C,style:x,easing:f},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),Ag(d,e,u),v&&v(e)})),L=_((e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)})),N=i.useCallback((()=>{E.current&&Ag(d,E.current,u)}),[d,u]);return i.useEffect((()=>{if(h||"down"===d||"right"===d)return;const e=(0,bg.A)((()=>{E.current&&Ag(d,E.current,u)})),t=(0,Sg.A)(E.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[d,h,u]),i.useEffect((()=>{h||N()}),[h,N]),(0,p.jsx)(k,(0,o.A)({nodeRef:E,onEnter:T,onEntered:O,onEntering:R,onExit:M,onExited:L,onExiting:P,addEndListener:e=>{s&&s(E.current,e)},appear:l,in:h,timeout:C},S,{children:(e,t)=>i.cloneElement(c,(0,o.A)({ref:A,style:(0,o.A)({visibility:"exited"!==e||h?void 0:"hidden"},x,c.props.style)},t))}))})),Tg=_g;class Rg extends i.PureComponent{render(){return(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",borderWidth:40,borderStyle:"solid",borderImage:`url(${Mh("bg_2.png")})`,borderImageRepeat:"repeat",borderImageSlice:"40 fill"}})}}const Og=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Pg={entering:{opacity:1},entered:{opacity:1}},Mg=i.forwardRef((function(e,t){const n=xg(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:h,onExit:g,onExited:m,onExiting:y,style:v,timeout:b=r,TransitionComponent:w=vg}=e,x=(0,Kh.A)(e,Og),C=i.useRef(null),k=(0,wg.A)(C,l.ref,t),S=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},E=S(h),A=S(((e,t)=>{Cg(e);const r=kg({style:v,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),d&&d(e,t)})),_=S(f),T=S(y),R=S((e=>{const t=kg({style:v,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),g&&g(e)})),O=S(m);return(0,p.jsx)(w,(0,o.A)({appear:s,in:u,nodeRef:C,onEnter:A,onEntered:_,onEntering:E,onExit:R,onExited:O,onExiting:T,addEndListener:e=>{a&&a(C.current,e)},timeout:b},x,{children:(e,t)=>i.cloneElement(l,(0,o.A)({style:(0,o.A)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Pg[e],v,l.props.style),ref:k},t))}))})),Lg=Mg,Ng={0:{x:0,y:0},1:{x:-222,y:0},2:{x:-444,y:0},3:{x:-666,y:0},4:{x:-888,y:0},5:{x:0,y:-119},6:{x:-222,y:-119},7:{x:-444,y:-119},8:{x:-666,y:-119},9:{x:-888,y:-119},10:{x:0,y:-238},11:{x:-222,y:-238},12:{x:-444,y:-238},13:{x:-666,y:-238},14:{x:-888,y:-238},15:{x:0,y:-357},16:{x:-222,y:-357},17:{x:-444,y:-357},18:{x:-666,y:-357},19:{x:-888,y:-357},20:{x:0,y:-476},21:{x:0,y:-595},22:{x:0,y:-714},23:{x:0,y:-833},24:{x:-222,y:-476},25:{x:-444,y:-476},26:{x:-666,y:-476},27:{x:-888,y:-476},28:{x:-222,y:-595},29:{x:-222,y:-714},30:{x:-222,y:-833},31:{x:-444,y:-595},32:{x:-666,y:-595},33:{x:-888,y:-595},34:{x:-444,y:-714},35:{x:-444,y:-833},36:{x:-666,y:-714},37:{x:-888,y:-714},38:{x:-666,y:-833},39:{x:-888,y:-833}};class Ig extends i.PureComponent{constructor(){super(...arguments),this._aniUrl=`${Mh("cat_ball.png")}`,this.state={resLoaded:!1},this.formatFrames=()=>{let e=Object.keys(Ng).length,t={},n=1/e*100;for(let r=0;r<e;r++){let e=Ng[r]||{x:0,y:0};t[r*n+"%"]={backgroundPosition:`${e.x}px ${e.y}px`}}return t}}componentDidMount(){let e=new Image;e.src=this._aniUrl,e.onload=()=>{this.setState({resLoaded:!0})},e.onerror=()=>{console.log("image onerror")}}render(){const{resLoaded:e}=this.state;return e?(0,p.jsx)(og,{sx:{marginLeft:8,height:118},children:(0,p.jsx)(og,{sx:{width:221,height:118,backgroundImage:`url(${this._aniUrl})`,display:"inline-block",animation:"cat_ball 3.2s step-end infinite","@keyframes cat_ball":this.formatFrames()}})}):(0,p.jsx)(og,{sx:{marginLeft:8,height:118}})}}class jg extends i.PureComponent{render(){const e=Telegram.WebApp.isFullscreen;return(0,p.jsx)(Lg,{in:!0,timeout:{enter:1e3},children:(0,p.jsxs)(og,{sx:{width:1,top:e?"10%":"6%","@media (max-height: 570px)":{top:"2%"},"@media (max-height: 480px)":{display:"none"},textAlign:"center",position:"absolute"},children:[(0,p.jsx)(Ig,{}),(0,p.jsx)(og,{sx:{fontSize:24,fontWeight:"bold",color:"#764428"},children:"Catizen"}),(0,p.jsx)(og,{sx:{m:"0 auto",width:360,textAlign:"center",wordWrap:"break-word",fontSize:18,fontWeight:"bold",color:"#bc805e"},children:"Catizen's Games:Play, Earn, Airdrop!"})]})})}}var $g=n(5447),Wg=n(423),Dg=n(8465),Ug=n(7483);const Fg=["ownerState"],zg=["variants"],Bg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function qg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Hg=(0,l.A)(),Kg=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Vg(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function Gg(e){return e?(t,n)=>n[e]:null}function Qg(e,t){let{ownerState:n}=t,r=(0,Kh.A)(t,Fg);const i="function"===typeof e?e((0,o.A)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap((e=>Qg(e,(0,o.A)({ownerState:n},r))));if(i&&"object"===typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,Kh.A)(i,zg);return e.forEach((e=>{let i=!0;"function"===typeof e.props?i=e.props((0,o.A)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,o.A)({ownerState:n},r,n)):e.style))})),t}return i}const Zg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=Hg,rootShouldForwardProp:r=qg,slotShouldForwardProp:i=qg}=e,a=e=>(0,Qh.A)((0,o.A)({},e,{theme:Vg((0,o.A)({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,Gh.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:f=Gg(Kg(c))}=s,p=(0,Kh.A)(s,Bg),h=void 0!==u?u:c&&"Root"!==c&&"root"!==c||!1,g=d||!1;let m=qg;"Root"===c||"root"===c?m=r:c?m=i:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const y=(0,Gh.default)(e,(0,o.A)({shouldForwardProp:m,label:undefined},p)),v=e=>"function"===typeof e&&e.__emotion_real!==e||(0,Ug.Q)(e)?r=>Qg(e,(0,o.A)({},r,{theme:Vg({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=function(r){let i=v(r);for(var s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];const d=c?c.map(v):[];l&&f&&d.push((e=>{const r=Vg((0,o.A)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const i=r.components[l].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=Qg(i,(0,o.A)({},e,{theme:r}))})),f(e,a)})),l&&!h&&d.push((e=>{var r;const i=Vg((0,o.A)({},e,{defaultTheme:n,themeId:t}));return Qg({variants:null==i||null==(r=i.components)||null==(r=r[l])?void 0:r.variants},(0,o.A)({},e,{theme:i}))})),g||d.push(a);const p=d.length-c.length;if(Array.isArray(r)&&p>0){const e=new Array(p).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const m=y(i,...d);return e.muiName&&(m.muiName=e.muiName),m};return y.withConfig&&(b.withConfig=y.withConfig),b}}(),Yg=Zg;var Xg=n(5537);function Jg(e){let{props:t,name:n,defaultTheme:r,themeId:o}=e,i=f(r);o&&(i=i[o]||i);const a=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,Xg.A)(t.components[n].defaultProps,r):r}({theme:i,name:n,props:t});return a}const em=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"===typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,i=Object.keys(t),o.filter((e=>i.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const i=t[o];void 0!==i&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),i)}}))}else"number"!==typeof t&&"string"!==typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,i};function tm(e){return e?`Level${e}`:""}function nm(e){return e.unstable_level>0&&e.container}function rm(e){return function(t){return`var(--Grid-${t}Spacing${tm(e.unstable_level)})`}}function om(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${tm(e.unstable_level-1)})`}}function im(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${tm(e.unstable_level-1)})`}const am=e=>{let{theme:t,ownerState:n}=e;const r=rm(n),o={};return em(t.breakpoints,n.gridSize,((e,t)=>{let i={};!0===t&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"===typeof t&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${t} / ${im(n)}${nm(n)?` + ${r("column")}`:""})`}),e(o,i)})),o},sm=e=>{let{theme:t,ownerState:n}=e;const r={};return em(t.breakpoints,n.gridOffset,((e,t)=>{let o={};"auto"===t&&(o={marginLeft:"auto"}),"number"===typeof t&&(o={marginLeft:0===t?"0px":`calc(100% * ${t} / ${im(n)})`}),e(r,o)})),r},lm=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r=nm(n)?{[`--Grid-columns${tm(n.unstable_level)}`]:im(n)}:{"--Grid-columns":12};return em(t.breakpoints,n.columns,((e,t)=>{e(r,{[`--Grid-columns${tm(n.unstable_level)}`]:t})})),r},cm=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r=om(n),o=nm(n)?{[`--Grid-rowSpacing${tm(n.unstable_level)}`]:r("row")}:{};return em(t.breakpoints,n.rowSpacing,((e,r)=>{var i;e(o,{[`--Grid-rowSpacing${tm(n.unstable_level)}`]:"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)})})),o},um=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r=om(n),o=nm(n)?{[`--Grid-columnSpacing${tm(n.unstable_level)}`]:r("column")}:{};return em(t.breakpoints,n.columnSpacing,((e,r)=>{var i;e(o,{[`--Grid-columnSpacing${tm(n.unstable_level)}`]:"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)})})),o},dm=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r={};return em(t.breakpoints,n.direction,((e,t)=>{e(r,{flexDirection:t})})),r},fm=e=>{let{ownerState:t}=e;const n=rm(t),r=om(t);return(0,o.A)({minWidth:0,boxSizing:"border-box"},t.container&&(0,o.A)({display:"flex",flexWrap:"wrap"},t.wrap&&"wrap"!==t.wrap&&{flexWrap:t.wrap},{margin:`calc(${n("row")} / -2) calc(${n("column")} / -2)`},t.disableEqualOverflow&&{margin:`calc(${n("row")} * -1) 0px 0px calc(${n("column")} * -1)`}),(!t.container||nm(t))&&(0,o.A)({padding:`calc(${r("row")} / 2) calc(${r("column")} / 2)`},(t.disableEqualOverflow||t.parentDisableEqualOverflow)&&{padding:`${r("row")} 0px 0px ${r("column")}`}))},pm=e=>{const t=[];return Object.entries(e).forEach((e=>{let[n,r]=e;!1!==r&&void 0!==r&&t.push(`grid-${n}-${String(r)}`)})),t},hm=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xs";function n(e){return void 0!==e&&("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"===typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((e=>{let[r,o]=e;n(o)&&t.push(`spacing-${r}-${String(o)}`)})),t}return[]},gm=e=>void 0===e?[]:"object"===typeof e?Object.entries(e).map((e=>{let[t,n]=e;return`direction-${t}-${n}`})):[`direction-xs-${String(e)}`],mm=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],ym=(0,l.A)(),vm=Yg("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function bm(e){return Jg({props:e,name:"MuiGrid",defaultTheme:ym})}const wm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=vm,useThemeProps:n=bm,componentName:r="MuiGrid"}=e,a=i.createContext(void 0),s=t(lm,um,cm,am,dm,fm,sm),l=i.forwardRef((function(e,t){var l,c,u,d,h,g,m,y;const v=f(),b=n(e),w=(0,Zh.A)(b),x=i.useContext(a),{className:C,children:k,columns:S=12,container:E=!1,component:A="div",direction:_="row",wrap:T="wrap",spacing:R=0,rowSpacing:O=R,columnSpacing:P=R,disableEqualOverflow:M,unstable_level:L=0}=w,N=(0,Kh.A)(w,mm);let I=M;L&&void 0!==M&&(I=e.disableEqualOverflow);const j={},$={},W={};Object.entries(N).forEach((e=>{let[t,n]=e;void 0!==v.breakpoints.values[t]?j[t]=n:void 0!==v.breakpoints.values[t.replace("Offset","")]?$[t.replace("Offset","")]=n:W[t]=n}));const D=null!=(l=e.columns)?l:L?void 0:S,U=null!=(c=e.spacing)?c:L?void 0:R,F=null!=(u=null!=(d=e.rowSpacing)?d:e.spacing)?u:L?void 0:O,z=null!=(h=null!=(g=e.columnSpacing)?g:e.spacing)?h:L?void 0:P,B=(0,o.A)({},w,{level:L,columns:D,container:E,direction:_,wrap:T,spacing:U,rowSpacing:F,columnSpacing:z,gridSize:j,gridOffset:$,disableEqualOverflow:null!=(m=null!=(y=I)?y:x)&&m,parentDisableEqualOverflow:x}),q=((e,t)=>{const{container:n,direction:o,spacing:i,wrap:a,gridSize:s}=e,l={root:["root",n&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...gm(o),...pm(s),...n?hm(i,t.breakpoints.keys[0]):[]]};return(0,Dg.A)(l,(e=>(0,Wg.Ay)(r,e)),{})})(B,v);let H=(0,p.jsx)(s,(0,o.A)({ref:t,as:A,ownerState:B,className:(0,Vh.A)(q.root,C)},W,{children:i.Children.map(k,(e=>{var t;return i.isValidElement(e)&&(0,$g.A)(e,["Grid"])?i.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:L+1}):e}))}));return void 0!==I&&I!==(null!=x&&x)&&(H=(0,p.jsx)(a.Provider,{value:I,children:H})),H}));return l.muiName="Grid",l}({createStyledComponent:(0,Hh.Ay)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>(0,a.b)({props:e,name:"MuiGrid2"})}),xm=wm;class Cm extends i.PureComponent{render(){const{tagId:e}=this.props,{bgColor:t,borderColor:n,textColor:r,text:o,icon:i,iconWidth:a,iconHeight:s}=Xd[e];return(0,p.jsxs)(og,{sx:{display:"flex",alignItems:"center",width:"fit-content",height:24,position:"relative",bgcolor:t,borderRadius:1,border:1,borderColor:n},children:[(0,p.jsx)(og,{component:"img",src:`${Mh(i)}`,sx:{width:a,height:s,position:"relative",ml:.5}}),(0,p.jsx)(og,{sx:{position:"relative",display:"inline-block",fontSize:16,fontWeight:"bold",color:r,mx:.5},children:o})]})}}class km extends i.PureComponent{render(){const{icon:e,name:t,describe:n,tags:r}=zh.gameInfo;return(0,p.jsxs)(og,{sx:{pb:2},children:[(0,p.jsxs)(og,{sx:{display:"flex",alignItems:"center",pt:2},children:[(0,p.jsx)(og,{component:"img",src:e,sx:{width:66,height:66,border:"2px solid #774428",borderRadius:3.5}}),(0,p.jsxs)(og,{children:[(0,p.jsx)(og,{sx:{ml:1.25,fontSize:20,fontWeight:"bold",color:"#7c4b30",textAlign:"left"},children:t}),(0,p.jsx)(xm,{container:!0,columnSpacing:.5,sx:{ml:1.25},children:r.map(((e,t)=>(0,p.jsx)(xm,{children:(0,p.jsx)(Cm,{tagId:e})},t)))})]})]}),(0,p.jsx)(og,{sx:{mt:1,fontSize:14,fontWeight:"bold",color:"#ca996e",textAlign:"left",wordWrap:"break-word"},children:n})]})}}var Sm=n(9269),Em=n(741),Am=n(5018),_m=n(2937);function Tm(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function Rm(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Om(e,t,n){var r=Tm(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(a){var s=o[a];if((0,i.isValidElement)(s)){var l=a in t,c=a in r,u=t[a],d=(0,i.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,i.isValidElement)(u)&&(o[a]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:Rm(s,"exit",e),enter:Rm(s,"enter",e)})):o[a]=(0,i.cloneElement)(s,{in:!1}):o[a]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Rm(s,"exit",e),enter:Rm(s,"enter",e)})}})),o}var Pm=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Mm=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}sg(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,Tm(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Rm(e,"appear",n),enter:Rm(e,"enter",n),exit:Rm(e,"exit",n)})}))):Om(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=Tm(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,Kh.A)(e,["component","childFactory"]),o=this.state.contextValue,a=Pm(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i.createElement(ug.Provider,{value:o},a):i.createElement(ug.Provider,{value:o},i.createElement(t,r,a))},t}(i.Component);Mm.propTypes={},Mm.defaultProps={component:"div",childFactory:function(e){return e}};const Lm=Mm;var Nm=n(8283),Im=n(1824);const jm=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:u}=e,[d,f]=i.useState(!1),h=(0,Vh.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-s/2+a,left:-s/2+o},m=(0,Vh.A)(n.child,d&&n.childLeaving,r&&n.childPulsate);return l||d||f(!0),i.useEffect((()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}}),[c,l,u]),(0,p.jsx)("span",{className:h,style:g,children:(0,p.jsx)("span",{className:m})})};const $m=(0,eg.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wm=["center","classes","className"];let Dm,Um,Fm,zm,Bm=e=>e;const qm=(0,Nm.i7)(Dm||(Dm=Bm`
|
|
1186
|
+
`,kd=e=>{const t=oi(e),n=nn(Ms),[r,o]=qt(!0),[i,a]=qt(!1),[s,l]=qt(!1),[c,u]=qt(!1);let d,f;Vt((()=>{const e=io();a(!!e&&("sent"in e&&e.sent||"transaction-sent"===e.name)),l(!!e&&("signed"in e&&e.signed||"data-signed"===e.name)),u(!!e&&("transaction-canceled"===e.name||"sign-data-canceled"===e.name))})),(null==n?void 0:n.wallet)&&"universalLink"in n.wallet&&("universal-link"===n.wallet.openMethod||ce(n.wallet.universalLink)&&zo())&&(d=n.wallet.universalLink),(null==n?void 0:n.wallet)&&"deepLink"in n.wallet&&("custom-deeplink"===n.wallet.openMethod||ce(n.wallet.deepLink)&&zo())&&(f=n.wallet.deepLink);const p=()=>{const e=io(),t="returnStrategy"in e?e.returnStrategy:oc.returnStrategy,n=!r();o(!1),ce(d)?Bc(d,{returnStrategy:t,twaReturnUrl:"twaReturnUrl"in e?e.twaReturnUrl:oc.twaReturnUrl,forceRedirect:n}):qc(d,f,{returnStrategy:t,forceRedirect:n},(()=>{}))};return kn(yd,_n(t,{get children(){return[Gt((()=>e.icon)),kn(vd,{get translationKey(){return e.headerTranslationKey},get translationValues(){return e.headerTranslationValues}}),kn(bd,{get translationKey(){return e.textTranslationKey},get translationValues(){return e.textTranslationValues}}),kn(On,{get when(){return!i()&&!s()&&!c()&&("open-wallet"===e.showButton&&d||"open-wallet"!==e.showButton)},get children(){return kn(wd,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return kn(xd,{})}})}}),kn(On,{get when(){return i()||s()},get children(){return[kn(On,{get when(){return"open-wallet"!==e.showButton},get children(){return kn(Cd,{onClick:()=>e.onClose(),get children(){return kn(Fc,{translationKey:"common.close",children:"Close"})}})}}),kn(On,{get when(){return"open-wallet"===e.showButton&&d},get children(){return kn(Cd,{onClick:p,get children(){return kn(Fc,{translationKey:"common.openWallet",children:"Open wallet"})}})}})]}})]}}))},Sd=e=>{const t=nn(Ms),[n]=ra();return kn(kd,{headerTranslationKey:"actionModal.confirmTransaction.header",get headerTranslationValues(){return{name:t.wallet&&"name"in t.wallet?t.wallet.name:n("common.yourWallet",{},"Your wallet")}},textTranslationKey:"actionModal.confirmTransaction.text",get icon(){return kn(Da,{size:"m"})},onClose:()=>e.onClose(),showButton:"open-wallet","data-tc-confirm-modal":"true"})},Ed=e=>kn(kd,{headerTranslationKey:"actionModal.transactionCanceled.header",textTranslationKey:"actionModal.transactionCanceled.text",get icon(){return kn(Na,{size:"m"})},onClose:()=>e.onClose(),"data-tc-transaction-canceled-modal":"true"}),Ad=e=>kn(kd,{headerTranslationKey:"actionModal.transactionSent.header",textTranslationKey:"actionModal.transactionSent.text",get icon(){return kn(Oa,{size:"m"})},showButton:"open-wallet",onClose:()=>e.onClose(),"data-tc-transaction-sent-modal":"true"}),_d=e=>{const t=nn(Ms),[n]=ra();return kn(kd,{headerTranslationKey:"actionModal.signData.header",get headerTranslationValues(){return{name:t.wallet&&"name"in t.wallet?t.wallet.name:n("common.yourWallet",{},"Your wallet")}},textTranslationKey:"actionModal.signData.text",get icon(){return kn(Da,{size:"m"})},onClose:()=>e.onClose(),showButton:"open-wallet","data-tc-sign-data-confirm-modal":"true"})},Td=e=>kn(kd,{headerTranslationKey:"actionModal.signDataCanceled.header",get icon(){return kn(Na,{size:"m"})},onClose:()=>e.onClose(),"data-tc-sign-data-canceled-modal":"true"}),Rd=e=>kn(kd,{headerTranslationKey:"actionModal.dataSigned.header",get icon(){return kn(Oa,{size:"m"})},onClose:()=>e.onClose(),"data-tc-data-signed-modal":"true"}),Od=()=>kn(Ni,{get opened(){var e;return Gt((()=>null!==io()))()&&!0===(null==(e=io())?void 0:e.openModal)},get enableAndroidBackHandler(){return oc.enableAndroidBackHandler},onClose:()=>ao(null),showFooter:!1,"data-tc-actions-modal-container":"true",get children(){return kn(Pn,{get children(){return[kn(Mn,{get when(){return"transaction-sent"===io().name},get children(){return kn(Ad,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"transaction-canceled"===io().name},get children(){return kn(Ed,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"confirm-transaction"===io().name},get children(){return kn(Sd,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"data-signed"===io().name},get children(){return kn(Rd,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"sign-data-canceled"===io().name},get children(){return kn(Td,{onClose:()=>ao(null)})}}),kn(Mn,{get when(){return"confirm-sign-data"===io().name},get children(){return kn(_d,{onClose:()=>ao(null)})}})]}})}}),Pd=()=>{const{locale:e}=ra()[1];Vt((()=>e(oc.language))),Vt((()=>{Jr()&&Ts()}));const t=nn(uo),n=nn(Ms),[r,o]=qt(!1),i=()=>{var e;return"loading"===(null==(e=oc.connectRequestParameters)?void 0:e.state)},a=Gt((()=>{var e;if(!i())return null==(e=oc.connectRequestParameters)?void 0:e.value})),s=e=>{n.closeSingleWalletModal(e)};return Jt(t.onStatusChange((e=>{e&&s("wallet-selected")}))),Jt((()=>{o(!1)})),kn(tc,{get opened(){return Jr()},get enableAndroidBackHandler(){return oc.enableAndroidBackHandler},onClose:()=>s("action-cancelled"),onClickQuestion:()=>o((e=>!e)),showFooter:!0,"data-tc-wallets-modal-container":"true",get children(){return[kn(On,{get when(){return r()},get children(){return kn(nu,{onBackClick:()=>o(!1)})}}),kn(On,{get when(){return!r()},get children(){return[kn(On,{get when(){return i()},get children(){return[kn(nc,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),kn(rc,{get children(){return kn(Da,{size:"m"})}})]}}),kn(On,{get when(){return!i()},get children(){return kn(or,{get component(){return As()?xu:Kc},get wallet(){return eo()},get additionalRequest(){return a()},onBackClick:()=>{},backDisabled:!0})}})]}})]}})},Md=e=>{const t=ta(lo,oc.language);return customElements.define(Sr,class extends HTMLElement{}),document.body.hasAttribute("ontouchstart")||document.body.setAttribute("ontouchstart",""),kn(na.Provider,{value:t,get children(){return kn(Ms.Provider,{get value(){return e.tonConnectUI},get children(){return kn(uo.Provider,{get value(){return oc.connector},get children(){return[kn(_r,{}),kn(br,{theme:Po,get children(){return[kn(On,{get when(){return oc.buttonRootId},get children(){return kn(rr,{get mount(){return document.getElementById(oc.buttonRootId)},get children(){return kn(ec,{})}})}}),kn(or,{component:Sr,get children(){return[kn(md,{}),kn(Pd,{}),kn(Od,{})]}})]}})]}})}})}})},Ld={openWalletsModal:()=>{setTimeout((()=>Qr({status:"opened",closeReason:null})))},closeWalletsModal:e=>{setTimeout((()=>Qr({status:"closed",closeReason:e})))},openSingleWalletModal:e=>{setTimeout((()=>Xr({status:"opened",closeReason:null,walletInfo:e})))},closeSingleWalletModal:e=>{setTimeout((()=>Xr({status:"closed",closeReason:e})))},openWalletNotSupportFeatureModal:e=>{setTimeout((()=>Qr({status:"opened",closeReason:null,type:"wallet-not-support-feature",requiredFeature:e.requiredFeature})))},setAction:e=>{setTimeout((()=>ao(e)))},clearAction:()=>{setTimeout((()=>ao(null)))},getSelectedWalletInfo:()=>no(),removeSelectedWalletInfo:()=>oo(null),renderApp:(e,t)=>function(e,t,n){let r;return Bt((o=>{r=o,t===document?e():Kn(t,e(),t.firstChild?null:void 0,n)}),(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).owner),()=>{r(),t.textContent=""}}((()=>kn(Md,{tonConnectUI:t})),document.getElementById(e))};class Nd{constructor(e){At(this,"connector"),At(this,"setConnectRequestParametersCallback"),At(this,"consumers",[]),At(this,"tracker"),At(this,"state",Gr()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,Vt((()=>{const e=Gr();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(){return _t(this,null,(function*(){this.tracker.trackConnectionStarted();const e=(yield this.connector.getWallets()).find(Oe);return e?this.connectEmbeddedWallet(e):this.openWalletsModal()}))}close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action-cancelled";"action-cancelled"===e&&this.tracker.trackConnectionError("Connection was cancelled"),Ld.closeWalletsModal(e)}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{oo(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=oc.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openWalletsModal(){return _t(this,null,(function*(){return zo()&&qo(),Ld.openWalletsModal(),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class Id{constructor(e){At(this,"connector"),At(this,"consumers",[]),this.connector=e.connector,Vt((()=>{const e=io();this.consumers.forEach((t=>t(e)))}))}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}}class jd{constructor(e){At(this,"connector"),At(this,"setConnectRequestParametersCallback"),At(this,"consumers",[]),At(this,"tracker"),At(this,"state",Yr()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,Vt((()=>{const e=Yr();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(e){return _t(this,null,(function*(){this.tracker.trackConnectionStarted();const t=sc(yield this.connector.getWallets(),oc.walletsListConfiguration),n=t.find(Oe);if(!!n)return this.connectEmbeddedWallet(n);const r=t.filter(Pe).find((t=>dc(t,e)));if(!!r)return this.openSingleWalletModal(r);const o=`Trying to open modal window with unknown wallet "${e}".`;throw this.tracker.trackConnectionError(o),new Mr(o)}))}close(){"action-cancelled"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action-cancelled")&&this.tracker.trackConnectionError("Connection was cancelled"),Ld.closeSingleWalletModal("action-cancelled")}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{oo(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=oc.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openSingleWalletModal(e){return _t(this,null,(function*(){return zo()&&qo(),Ld.openSingleWalletModal(e),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class $d{constructor(e){var t;At(this,"eventPrefix","ton-connect-ui-"),At(this,"tonConnectUiVersion"),At(this,"tonConnectSdkVersion",null),At(this,"eventDispatcher"),this.eventDispatcher=null!=(t=null==e?void 0:e.eventDispatcher)?t:new et,this.tonConnectUiVersion=e.tonConnectUiVersion,this.init().catch()}get version(){return De({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return _t(this,null,(function*(){try{yield this.setRequestVersionHandler(),this.tonConnectSdkVersion=yield this.requestTonConnectSdkVersion()}catch(nb){}}))}setRequestVersionHandler(){return _t(this,null,(function*(){yield this.eventDispatcher.addEventListener("ton-connect-ui-request-version",(()=>_t(this,null,(function*(){yield this.eventDispatcher.dispatchEvent("ton-connect-ui-response-version",$e(this.tonConnectUiVersion))}))))}))}requestTonConnectSdkVersion(){return _t(this,null,(function*(){return new Promise(((e,t)=>_t(this,null,(function*(){try{yield this.eventDispatcher.addEventListener("ton-connect-response-version",(t=>{e(t.detail.version)}),{once:!0}),yield this.eventDispatcher.dispatchEvent("ton-connect-request-version",{type:"request-version"})}catch(nb){t(nb)}}))))}))}dispatchUserActionEvent(e){var t;try{null==(t=this.eventDispatcher)||t.dispatchEvent(`${this.eventPrefix}${e.type}`,e).catch()}catch(nb){}}trackConnectionStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ue(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackConnectionCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Fe(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackConnectionError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackConnectionRestoringStarted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Be(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackConnectionRestoringCompleted(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackConnectionRestoringError(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=He(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackDisconnection(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Je(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackTransactionSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ve(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackTransactionSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ge(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackTransactionSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Qe(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackDataSentForSignature(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ze(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackDataSigned(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Ye(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}trackDataSigningFailed(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Xe(this.version,...t);this.dispatchUserActionEvent(r)}catch(nb){}}}class Dd{constructor(e){if(At(this,"walletInfoStorage",new Hr),At(this,"preferredWalletStorage",new Kr),At(this,"tracker"),At(this,"walletInfo",null),At(this,"systemThemeChangeUnsubscribe",null),At(this,"actionsConfiguration"),At(this,"walletsList"),At(this,"_walletsRequiredFeatures"),At(this,"_walletsPreferredFeatures"),At(this,"connectRequestParametersCallback"),At(this,"connector"),At(this,"modal"),At(this,"singleWalletModal"),At(this,"transactionModal"),At(this,"connectionRestored",Promise.resolve(!1)),e&&"connector"in e&&e.connector)this.connector=e.connector;else{if(!(e&&"manifestUrl"in e&&e.manifestUrl))throw new Mr("You have to specify a `manifestUrl` or a `connector` in the options.");this.connector=new nt({manifestUrl:e.manifestUrl,eventDispatcher:e.eventDispatcher,walletsRequiredFeatures:e.walletsRequiredFeatures})}this.tracker=new $d({eventDispatcher:null==e?void 0:e.eventDispatcher,tonConnectUiVersion:"2.2.0"}),this.modal=new Nd({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.singleWalletModal=new jd({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.transactionModal=new Id({connector:this.connector}),this._walletsRequiredFeatures=e.walletsRequiredFeatures,this._walletsPreferredFeatures=e.walletsPreferredFeatures,this.walletsList=this.getWallets(),this.walletsList.then((e=>{return Dr((t=e.map((e=>e.imageUrl)),[...new Set(t)]));var t}));const t=this.normalizeWidgetRoot(null==e?void 0:e.widgetRootId);this.subscribeToWalletChange(),!1!==(null==e?void 0:e.restoreConnection)&&(this.connectionRestored=function(e){return _t(this,null,(function*(){return yield new Promise((e=>requestAnimationFrame(e))),e()}))}((()=>_t(this,null,(function*(){return this.tracker.trackConnectionRestoringStarted(),yield this.connector.restoreConnection(),this.connector.connected?this.tracker.trackConnectionRestoringCompleted(this.wallet):(this.tracker.trackConnectionRestoringError("Connection was not restored"),this.walletInfoStorage.removeWalletInfo()),this.connector.connected}))))),this.uiOptions=Oo(e,{uiPreferences:{theme:"SYSTEM"}});const n=this.preferredWalletStorage.getPreferredWalletAppName();ic({connector:this.connector,preferredWalletAppName:n}),Ld.renderApp(t,this)}static getWallets(){return nt.getWallets()}get walletsRequiredFeatures(){return this._walletsRequiredFeatures}get walletsPreferredFeatures(){return this._walletsPreferredFeatures}get connected(){return this.connector.connected}get account(){return this.connector.account}get wallet(){return this.connector.wallet?St(St({},this.connector.wallet),this.walletInfo):null}set uiOptions(e){var t,n,r,o,i,a,s;this.checkButtonRootExist(e.buttonRootId),this.actionsConfiguration=e.actionsConfiguration,"walletsRequiredFeatures"in e&&(this._walletsRequiredFeatures=e.walletsRequiredFeatures),"walletsPreferredFeatures"in e&&(this._walletsPreferredFeatures=e.walletsPreferredFeatures),(null==(t=e.uiPreferences)?void 0:t.theme)?"SYSTEM"!==(null==(n=e.uiPreferences)?void 0:n.theme)?(null==(r=this.systemThemeChangeUnsubscribe)||r.call(this),Io(e.uiPreferences.theme,e.uiPreferences.colorsSet)):(Io(window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?ir.LIGHT:ir.DARK,e.uiPreferences.colorsSet),this.systemThemeChangeUnsubscribe||(this.systemThemeChangeUnsubscribe=function(e){const t=t=>e(t.matches?ir.DARK:ir.LIGHT);return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t),()=>window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",t)}(Io))):(null==(o=e.uiPreferences)?void 0:o.colorsSet)&&(a=e.uiPreferences.colorsSet,No[ir.DARK]=Oo(a[ir.DARK],No[ir.DARK]),No[ir.LIGHT]=Oo(a[ir.LIGHT],No[ir.LIGHT]),Mo((e=>({colors:Oo(No[e.theme],Lo[e.theme])})))),(null==(i=e.uiPreferences)?void 0:i.borderRadius)&&(s=e.uiPreferences.borderRadius,Mo({borderRadius:s})),ic((t=>{var n,r;const o=Oo(St(St(St(St({},e.language&&{language:e.language}),!!(null==(n=e.actionsConfiguration)?void 0:n.returnStrategy)&&{returnStrategy:e.actionsConfiguration.returnStrategy}),!!(null==(r=e.actionsConfiguration)?void 0:r.twaReturnUrl)&&{twaReturnUrl:e.actionsConfiguration.twaReturnUrl}),!!e.walletsListConfiguration&&{walletsListConfiguration:e.walletsListConfiguration}),yo(t));return void 0!==e.buttonRootId&&(o.buttonRootId=e.buttonRootId),void 0!==e.enableAndroidBackHandler&&(o.enableAndroidBackHandler=e.enableAndroidBackHandler),o}))}setConnectRequestParameters(e){var t;ic({connectRequestParameters:e}),"ready"!==(null==e?void 0:e.state)&&e||null==(t=this.connectRequestParametersCallback)||t.call(this,null==e?void 0:e.value)}getWallets(){return _t(this,null,(function*(){return this.connector.getWallets()}))}onStatusChange(e,t){return this.connector.onStatusChange((t=>_t(this,null,(function*(){if(t){const n=yield this.getSelectedWalletInfo(t);e(St(St({},t),n||this.walletInfoStorage.getWalletInfo()))}else e(t)}))),t)}openModal(){return _t(this,null,(function*(){return this.modal.open()}))}closeModal(e){this.modal.close(e)}onModalStateChange(e){return this.modal.onStateChange(e)}get modalState(){return this.modal.state}openSingleWalletModal(e){return _t(this,null,(function*(){return this.singleWalletModal.open(e)}))}closeSingleWalletModal(e){this.singleWalletModal.close(e)}onSingleWalletModalStateChange(e){return this.singleWalletModal.onStateChange(e)}get singleWalletModalState(){return this.singleWalletModal.state}connectWallet(){return _t(this,null,(function*(){const e=(yield this.getWallets()).find(Oe);return e?yield this.connectEmbeddedWallet(e):yield this.connectExternalWallet()}))}disconnect(){return this.tracker.trackDisconnection(this.wallet,"dapp"),Ld.clearAction(),Ld.removeSelectedWalletInfo(),this.walletInfoStorage.removeWalletInfo(),this.connector.disconnect()}sendTransaction(e,t){return _t(this,null,(function*(){if(this.tracker.trackTransactionSentForSignature(this.wallet,e),!this.connected)throw this.tracker.trackTransactionSigningFailed(this.wallet,e,"Wallet was not connected"),new Mr("Connect wallet to send a transaction.");zo()&&qo();const{notifications:n,modals:r,returnStrategy:o,twaReturnUrl:i}=this.getModalsAndNotificationsConfiguration(t);Ld.setAction({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!1});const a=new AbortController,s=()=>{a.signal.aborted||(Ld.setAction({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!0}),this.redirectAfterRequestSent({returnStrategy:o,twaReturnUrl:i}))},l=this.onTransactionModalStateChange((e=>{(null==e?void 0:e.openModal)||(l(),e||a.abort())}));try{const t=yield this.waitForSendTransaction({transaction:e,signal:a.signal},s);return this.tracker.trackTransactionSigned(this.wallet,e,t),Ld.setAction({name:"transaction-sent",showNotification:n.includes("success"),openModal:r.includes("success")}),t}catch(nb){if(nb instanceof H)throw Ld.clearAction(),Ld.openWalletNotSupportFeatureModal(nb.cause),nb;throw Ld.setAction({name:"transaction-canceled",showNotification:n.includes("error"),openModal:r.includes("error")}),nb instanceof D?nb:(console.error(nb),new Mr("Unhandled error:"+nb))}finally{l()}}))}signData(e){return _t(this,null,(function*(){if(this.tracker.trackDataSentForSignature(this.wallet,e),!this.connected)throw this.tracker.trackDataSigningFailed(this.wallet,e,"Wallet was not connected"),new Mr("Connect wallet to send a transaction.");zo()&&qo();const{notifications:t,modals:n,returnStrategy:r,twaReturnUrl:o}=this.getModalsAndNotificationsConfiguration();Ld.setAction({name:"confirm-sign-data",showNotification:t.includes("before"),openModal:n.includes("before"),signed:!1});const i=new AbortController,a=()=>{i.signal.aborted||(Ld.setAction({name:"confirm-sign-data",showNotification:t.includes("before"),openModal:n.includes("before"),signed:!0}),this.redirectAfterRequestSent({returnStrategy:r,twaReturnUrl:o}))},s=this.onTransactionModalStateChange((e=>{(null==e?void 0:e.openModal)||(s(),e||i.abort())}));try{const r=yield this.waitForSignData({data:e,signal:(new AbortController).signal},a);return this.tracker.trackDataSigned(this.wallet,e,r),Ld.setAction({name:"data-signed",showNotification:t.includes("success"),openModal:n.includes("success")}),r}catch(nb){if(nb instanceof H)throw Ld.clearAction(),Ld.openWalletNotSupportFeatureModal(nb.cause),nb;throw Ld.setAction({name:"sign-data-canceled",showNotification:t.includes("error"),openModal:n.includes("error")}),nb instanceof D?nb:(console.error(nb),new Mr("Unhandled error:"+nb))}finally{s()}}))}redirectAfterRequestSent(e){let{returnStrategy:t,twaReturnUrl:n}=e;this.walletInfo&&"universalLink"in this.walletInfo&&("universal-link"===this.walletInfo.openMethod||"custom-deeplink"===this.walletInfo.openMethod)&&(ce(this.walletInfo.universalLink)?Bc(this.walletInfo.universalLink,{returnStrategy:t,twaReturnUrl:n||oc.twaReturnUrl,forceRedirect:!1}):qc(this.walletInfo.universalLink,this.walletInfo.deepLink,{returnStrategy:t,forceRedirect:!1},(()=>{})))}connectEmbeddedWallet(e){return _t(this,null,(function*(){const t=t=>{oo(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=oc.connectRequestParameters;return"loading"===(null==n?void 0:n.state)?this.connectRequestParametersCallback=t:t(null==n?void 0:n.value),yield this.waitForWalletConnection({ignoreErrors:!1})}))}connectExternalWallet(){return _t(this,null,(function*(){const e=new AbortController;Ld.openWalletsModal();const t=this.onModalStateChange((n=>{const{status:r,closeReason:o}=n;"opened"!==r&&(t(),"action-cancelled"===o&&e.abort())}));return yield this.waitForWalletConnection({ignoreErrors:!0,signal:e.signal})}))}waitForWalletConnection(e){return _t(this,null,(function*(){return new Promise(((t,n)=>{this.tracker.trackConnectionStarted();const{ignoreErrors:r=!1,signal:o=null}=e;if(o&&o.aborted)return this.tracker.trackConnectionError("Connection was cancelled"),n(new Mr("Wallet was not connected"));const i=e=>_t(this,null,(function*(){if(e)this.tracker.trackConnectionCompleted(e),s(),t(e);else{if(this.tracker.trackConnectionError("Connection was cancelled"),r)return;s(),n(new Mr("Wallet was not connected"))}})),a=e=>{this.tracker.trackConnectionError(e.message),r||(s(),n(e))},s=this.onStatusChange((e=>i(e)),(e=>a(e)));o&&o.addEventListener("abort",(()=>{s(),n(new Mr("Wallet was not connected"))}),{once:!0})}))}))}waitForSendTransaction(e,t){return _t(this,null,(function*(){return new Promise(((n,r)=>{const{transaction:o,signal:i}=e;if(i.aborted)return this.tracker.trackTransactionSigningFailed(this.wallet,o,"Transaction was cancelled"),r(new Mr("Transaction was not sent"));const a=e=>_t(this,null,(function*(){n(e)})),s=()=>{this.tracker.trackTransactionSigningFailed(this.wallet,o,"Transaction was cancelled"),r(new Mr("Transaction was not sent"))};i.addEventListener("abort",s,{once:!0}),this.connector.sendTransaction(o,{onRequestSent:t,signal:i}).then((e=>(i.removeEventListener("abort",s),a(e)))).catch((e=>(i.removeEventListener("abort",s),(e=>{r(e)})(e))))}))}))}waitForSignData(e,t){return _t(this,null,(function*(){return new Promise(((n,r)=>{const{data:o,signal:i}=e;if(i.aborted)return this.tracker.trackDataSigningFailed(this.wallet,o,"SignData was cancelled"),r(new Mr("SignData was not sent"));const a=e=>_t(this,null,(function*(){n(e)}));i.addEventListener("abort",(()=>{this.tracker.trackDataSigningFailed(this.wallet,o,"SignData was cancelled"),r(new Mr("SignData was not sent"))}),{once:!0}),this.connector.signData(o,{onRequestSent:t,signal:i}).then((e=>a(e))).catch((e=>(e=>{r(e)})(e)))}))}))}onTransactionModalStateChange(e){return this.transactionModal.onStateChange(e)}subscribeToWalletChange(){this.connector.onStatusChange((e=>_t(this,null,(function*(){var t;e?(yield this.updateWalletInfo(e),this.setPreferredWalletAppName((null==(t=this.walletInfo)?void 0:t.appName)||e.device.appName)):this.walletInfoStorage.removeWalletInfo()}))))}setPreferredWalletAppName(e){this.preferredWalletStorage.setPreferredWalletAppName(e),ic({preferredWalletAppName:e})}getSelectedWalletInfo(e){return _t(this,null,(function*(){let t,n=Ld.getSelectedWalletInfo();if(!n)return null;if("name"in n)t=n;else{const r=sc(yield this.walletsList,oc.walletsListConfiguration).find((t=>dc(t,e.device.appName)));if(!r)throw new Mr(`Cannot find WalletInfo for the '${e.device.appName}' wallet`);t=St(St({},r),n)}return t}))}updateWalletInfo(e){return _t(this,null,(function*(){const t=yield this.getSelectedWalletInfo(e);if(t)return this.walletInfo=t,void this.walletInfoStorage.setWalletInfo(t);const n=this.walletInfoStorage.getWalletInfo();this.walletInfo=n||((yield this.walletsList).find((t=>dc(t,e.device.appName)))||null)}))}normalizeWidgetRoot(e){if(!e||!document.getElementById(e)){e="tc-widget-root";const t=document.createElement("div");t.id=e,document.body.appendChild(t)}return e}checkButtonRootExist(e){if(null!=e&&!document.getElementById(e))throw new Mr(`${e} element not found in the document.`)}getModalsAndNotificationsConfiguration(e){var t,n,r,o,i,a;const s=["before","success","error"];let l=s;(null==(t=this.actionsConfiguration)?void 0:t.notifications)&&"all"!==(null==(n=this.actionsConfiguration)?void 0:n.notifications)&&(l=this.actionsConfiguration.notifications),(null==e?void 0:e.notifications)&&(l="all"===e.notifications?s:e.notifications);let c=["before"];(null==(r=this.actionsConfiguration)?void 0:r.modals)&&(c="all"===this.actionsConfiguration.modals?s:this.actionsConfiguration.modals),(null==e?void 0:e.modals)&&(c="all"===e.modals?s:e.modals);const u=(null==e?void 0:e.returnStrategy)||(null==(o=this.actionsConfiguration)?void 0:o.returnStrategy)||"back",d=(null==e?void 0:e.twaReturnUrl)||(null==(i=this.actionsConfiguration)?void 0:i.twaReturnUrl);let f=(null==e?void 0:e.skipRedirectToWallet)||(null==(a=this.actionsConfiguration)?void 0:a.skipRedirectToWallet)||"ios";return zo()&&(f="never"),{notifications:l,modals:c,returnStrategy:u,twaReturnUrl:d,skipRedirectToWallet:f}}}var Wd=n(3450),Ud=n.n(Wd);const Fd="ps_app_did_mount",zd="ps_game_info_loaded",Bd="ps_game_ready",qd="ps_switch_page",Hd="ps_wallet_connect",Kd="ps_play_button_clicked",Vd="ps_purchase_completed",Gd="ps_check_in_completed",Qd="event_purchaseCompleted",Zd="event_checkInCompleted";let Yd=function(e){return e[e.airdrop=1]="airdrop",e[e.earn=2]="earn",e}({});const Xd={1:{bgColor:"#F5A413",borderColor:"#FEF8E2",textColor:"#fff",text:"Airdrop",icon:"tag_icon1.png",iconWidth:20,iconHeight:18},2:{bgColor:"#25A3AC",borderColor:"#FEF8E2",textColor:"#fff",text:"Earn",icon:"tag_icon2.png",iconWidth:16,iconHeight:18}},Jd={1e3:"Join the World\u2019s Largest Cat-lover Community: Catizen - Play, Earn, Airdrop!",1002:"Wondering how much $BOMBIE you can earn?"};let ef=function(e){return e[e.success=1e4]="success",e[e.netConfigError=10001]="netConfigError",e[e.netError=10002]="netError",e[e.paramError=10003]="paramError",e[e.notInit=10004]="notInit",e[e.initError=10005]="initError",e[e.notLogin=10006]="notLogin",e[e.logined=10007]="logined",e[e.purchaseing=10008]="purchaseing",e[e.clipboardError=10009]="clipboardError",e[e.walletError=10010]="walletError",e[e.walletNotConnected=10011]="walletNotConnected",e[e.openInvoiceError=10012]="openInvoiceError",e[e.tokenUseError=10013]="tokenUseError",e[e.insufficientFunds=10014]="insufficientFunds",e[e.orderConfirming=10015]="orderConfirming",e[e.checkingIn=10016]="checkingIn",e[e.signDataError=10017]="signDataError",e[e.walletBindInCd=10018]="walletBindInCd",e[e.shareError=10019]="shareError",e[e.playAdError=10020]="playAdError",e}({}),tf=function(e){return e[e.none=0]="none",e[e.index=1]="index",e[e.login=2]="login",e[e.purchase=3]="purchase",e[e.checkIn=4]="checkIn",e}({}),nf=function(e){return e[e.star=1]="star",e[e.tonConnect=2]="tonConnect",e}({}),rf=function(e){return e.usdt="USDT",e.ton="TON",e.cati="CATI",e.star="STAR",e.bombie="BOMB",e}({}),of=function(e){return e.usdt="USDT",e.cati="CATI",e.bombie="BOMB",e}({}),af=function(e){return e[e.portrait=0]="portrait",e[e.landscape=1]="landscape",e}({}),sf=function(e){return e.users="users",e.groups="groups",e.channels="channels",e}({});const lf={[rf.usdt]:"USDT",[rf.ton]:"TON",[rf.cati]:"CATI",[rf.star]:"Star"},cf={[rf.usdt]:"coin_usdt.png",[rf.ton]:"coin_ton.png",[rf.cati]:"coin_cati.png",[rf.star]:"coin_star.png"};function uf(e,t){return function(){return e.apply(t,arguments)}}const{toString:df}=Object.prototype,{getPrototypeOf:ff}=Object,pf=(hf=Object.create(null),e=>{const t=df.call(e);return hf[t]||(hf[t]=t.slice(8,-1).toLowerCase())});var hf;const gf=e=>(e=e.toLowerCase(),t=>pf(t)===e),mf=e=>t=>typeof t===e,{isArray:yf}=Array,vf=mf("undefined");const bf=gf("ArrayBuffer");const wf=mf("string"),xf=mf("function"),Cf=mf("number"),kf=e=>null!==e&&"object"===typeof e,Sf=e=>{if("object"!==pf(e))return!1;const t=ff(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ef=gf("Date"),Af=gf("File"),_f=gf("Blob"),Tf=gf("FileList"),Rf=gf("URLSearchParams"),[Of,Pf,Mf,Lf]=["ReadableStream","Request","Response","Headers"].map(gf);function Nf(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),yf(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(n=0;n<i;n++)a=r[n],t.call(null,e[a],a,e)}}function If(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const jf="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,$f=e=>!vf(e)&&e!==jf;const Df=(Wf="undefined"!==typeof Uint8Array&&ff(Uint8Array),e=>Wf&&e instanceof Wf);var Wf;const Uf=gf("HTMLFormElement"),Ff=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),zf=gf("RegExp"),Bf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Nf(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},qf="abcdefghijklmnopqrstuvwxyz",Hf="0123456789",Kf={DIGIT:Hf,ALPHA:qf,ALPHA_DIGIT:qf+qf.toUpperCase()+Hf};const Vf=gf("AsyncFunction"),Gf=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],jf.addEventListener("message",(e=>{let{source:t,data:o}=e;t===jf&&o===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),jf.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,xf(jf.postMessage)),Qf="undefined"!==typeof queueMicrotask?queueMicrotask.bind(jf):"undefined"!==typeof process&&process.nextTick||Gf,Zf={isArray:yf,isArrayBuffer:bf,isBuffer:function(e){return null!==e&&!vf(e)&&null!==e.constructor&&!vf(e.constructor)&&xf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||xf(e.append)&&("formdata"===(t=pf(e))||"object"===t&&xf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bf(e.buffer),t},isString:wf,isNumber:Cf,isBoolean:e=>!0===e||!1===e,isObject:kf,isPlainObject:Sf,isReadableStream:Of,isRequest:Pf,isResponse:Mf,isHeaders:Lf,isUndefined:vf,isDate:Ef,isFile:Af,isBlob:_f,isRegExp:zf,isFunction:xf,isStream:e=>kf(e)&&xf(e.pipe),isURLSearchParams:Rf,isTypedArray:Df,isFileList:Tf,forEach:Nf,merge:function e(){const{caseless:t}=$f(this)&&this||{},n={},r=(r,o)=>{const i=t&&If(n,o)||o;Sf(n[i])&&Sf(r)?n[i]=e(n[i],r):Sf(r)?n[i]=e({},r):yf(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Nf(arguments[o],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Nf(t,((t,r)=>{n&&xf(t)?e[r]=uf(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&ff(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:pf,kindOfTest:gf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(yf(e))return e;let t=e.length;if(!Cf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Uf,hasOwnProperty:Ff,hasOwnProp:Ff,reduceDescriptors:Bf,freezeMethods:e=>{Bf(e,((t,n)=>{if(xf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];xf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return yf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:If,global:jf,isContextDefined:$f,ALPHABET:Kf,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kf.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&xf(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(kf(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=yf(e)?[]:{};return Nf(e,((e,t)=>{const i=n(e,r+1);!vf(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Vf,isThenable:e=>e&&(kf(e)||xf(e))&&xf(e.then)&&xf(e.catch),setImmediate:Gf,asap:Qf};function Yf(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Zf.inherits(Yf,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Zf.toJSONObject(this.config),code:this.code,status:this.status}}});const Xf=Yf.prototype,Jf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Jf[e]={value:e}})),Object.defineProperties(Yf,Jf),Object.defineProperty(Xf,"isAxiosError",{value:!0}),Yf.from=(e,t,n,r,o,i)=>{const a=Object.create(Xf);return Zf.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Yf.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const ep=Yf;function tp(e){return Zf.isPlainObject(e)||Zf.isArray(e)}function np(e){return Zf.endsWith(e,"[]")?e.slice(0,-2):e}function rp(e,t,n){return e?e.concat(t).map((function(e,t){return e=np(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const op=Zf.toFlatObject(Zf,{},null,(function(e){return/^is[A-Z]/.test(e)}));const ip=function(e,t,n){if(!Zf.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Zf.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Zf.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&Zf.isSpecCompliantForm(t);if(!Zf.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Zf.isDate(e))return e.toISOString();if(!s&&Zf.isBlob(e))throw new ep("Blob is not supported. Use a Buffer instead.");return Zf.isArrayBuffer(e)||Zf.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(Zf.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Zf.isArray(e)&&function(e){return Zf.isArray(e)&&!e.some(tp)}(e)||(Zf.isFileList(e)||Zf.endsWith(n,"[]"))&&(s=Zf.toArray(e)))return n=np(n),s.forEach((function(e,r){!Zf.isUndefined(e)&&null!==e&&t.append(!0===a?rp([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!tp(e)||(t.append(rp(o,n,i),l(e)),!1)}const u=[],d=Object.assign(op,{defaultVisitor:c,convertValue:l,isVisitable:tp});if(!Zf.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Zf.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Zf.forEach(n,(function(n,i){!0===(!(Zf.isUndefined(n)||null===n)&&o.call(t,n,Zf.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function ap(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function sp(e,t){this._pairs=[],e&&ip(e,this,t)}const lp=sp.prototype;lp.append=function(e,t){this._pairs.push([e,t])},lp.toString=function(e){const t=e?function(t){return e.call(this,t,ap)}:ap;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const cp=sp;function up(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dp(e,t,n){if(!t)return e;const r=n&&n.encode||up;Zf.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Zf.isURLSearchParams(t)?t.toString():new cp(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const fp=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Zf.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},pp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hp={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:cp,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},gp="undefined"!==typeof window&&"undefined"!==typeof document,mp="object"===typeof navigator&&navigator||void 0,yp=gp&&(!mp||["ReactNative","NativeScript","NS"].indexOf(mp.product)<0),vp="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,bp=gp&&window.location.href||"http://localhost",wp={...e,...hp};const xp=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Zf.isArray(r)?r.length:i,s)return Zf.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Zf.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Zf.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(Zf.isFormData(e)&&Zf.isFunction(e.entries)){const n={};return Zf.forEachEntry(e,((e,r)=>{t(function(e){return Zf.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Cp={transitional:pp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Zf.isObject(e);o&&Zf.isHTMLForm(e)&&(e=new FormData(e));if(Zf.isFormData(e))return r?JSON.stringify(xp(e)):e;if(Zf.isArrayBuffer(e)||Zf.isBuffer(e)||Zf.isStream(e)||Zf.isFile(e)||Zf.isBlob(e)||Zf.isReadableStream(e))return e;if(Zf.isArrayBufferView(e))return e.buffer;if(Zf.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ip(e,new wp.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return wp.isNode&&Zf.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Zf.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ip(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Zf.isString(e))try{return(t||JSON.parse)(e),Zf.trim(e)}catch(ar){if("SyntaxError"!==ar.name)throw ar}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Cp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Zf.isResponse(e)||Zf.isReadableStream(e))return e;if(e&&Zf.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(ar){if(n){if("SyntaxError"===ar.name)throw ep.from(ar,ep.ERR_BAD_RESPONSE,this,null,this.response);throw ar}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wp.classes.FormData,Blob:wp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Zf.forEach(["delete","get","head","post","put","patch"],(e=>{Cp.headers[e]={}}));const kp=Cp,Sp=Zf.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ep=Symbol("internals");function Ap(e){return e&&String(e).trim().toLowerCase()}function _p(e){return!1===e||null==e?e:Zf.isArray(e)?e.map(_p):String(e)}function Tp(e,t,n,r,o){return Zf.isFunction(r)?r.call(this,t,n):(o&&(t=n),Zf.isString(t)?Zf.isString(r)?-1!==t.indexOf(r):Zf.isRegExp(r)?r.test(t):void 0:void 0)}class Rp{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Ap(t);if(!o)throw new Error("header name must be a non-empty string");const i=Zf.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=_p(e))}const i=(e,t)=>Zf.forEach(e,((e,n)=>o(e,n,t)));if(Zf.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Zf.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Sp[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Zf.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Ap(e)){const n=Zf.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Zf.isFunction(t))return t.call(this,e,n);if(Zf.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ap(e)){const n=Zf.findKey(this,e);return!(!n||void 0===this[n]||t&&!Tp(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Ap(e)){const o=Zf.findKey(n,e);!o||t&&!Tp(0,n[o],o,t)||(delete n[o],r=!0)}}return Zf.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Tp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Zf.forEach(this,((r,o)=>{const i=Zf.findKey(n,o);if(i)return t[i]=_p(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=_p(r),n[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return Zf.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Zf.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[Ep]=this[Ep]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ap(e);t[r]||(!function(e,t){const n=Zf.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Zf.isArray(e)?e.forEach(r):r(e),this}}Rp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Zf.reduceDescriptors(Rp.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),Zf.freezeMethods(Rp);const Op=Rp;function Pp(e,t){const n=this||kp,r=t||n,o=Op.from(r.headers);let i=r.data;return Zf.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Mp(e){return!(!e||!e.__CANCEL__)}function Lp(e,t,n){ep.call(this,null==e?"canceled":e,ep.ERR_CANCELED,t,n),this.name="CanceledError"}Zf.inherits(Lp,ep,{__CANCEL__:!0});const Np=Lp;function Ip(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ep("Request failed with status code "+n.status,[ep.ERR_BAD_REQUEST,ep.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const jp=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}};const $p=function(e,t){let n,r,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];t>=i?a(l,e):(n=l,r||(r=setTimeout((()=>{r=null,a(n)}),i-t)))},()=>n&&a(n)]},Dp=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=jp(50,250);return $p((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Wp=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Up=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zf.asap((()=>e(...n)))},Fp=wp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wp.origin),wp.navigator&&/(msie|trident)/i.test(wp.navigator.userAgent)):()=>!0,zp=wp.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Zf.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Zf.isString(r)&&a.push("path="+r),Zf.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Bp(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const qp=e=>e instanceof Op?{...e}:e;function Hp(e,t){t=t||{};const n={};function r(e,t,n,r){return Zf.isPlainObject(e)&&Zf.isPlainObject(t)?Zf.merge.call({caseless:r},e,t):Zf.isPlainObject(t)?Zf.merge({},t):Zf.isArray(t)?t.slice():t}function o(e,t,n,o){return Zf.isUndefined(t)?Zf.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Zf.isUndefined(t))return r(void 0,t)}function a(e,t){return Zf.isUndefined(t)?Zf.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(qp(e),qp(t),0,!0)};return Zf.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Zf.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Kp=e=>{const t=Hp({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=Op.from(s),t.url=dp(Bp(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Zf.isFormData(r))if(wp.hasStandardBrowserEnv||wp.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(wp.hasStandardBrowserEnv&&(o&&Zf.isFunction(o)&&(o=o(t)),o||!1!==o&&Fp(t.url))){const e=i&&a&&zp.read(a);e&&s.set(i,e)}return t},Vp="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Kp(e);let o=r.data;const i=Op.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=Op.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ip((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new ep("Request aborted",ep.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new ep("Network Error",ep.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||pp;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ep(t,o.clarifyTimeoutError?ep.ETIMEDOUT:ep.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Zf.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Zf.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),p&&([l,u]=Dp(p,!0),g.addEventListener("progress",l)),f&&g.upload&&([s,c]=Dp(f),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new Np(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===wp.protocols.indexOf(y)?n(new ep("Unsupported protocol "+y+":",ep.ERR_BAD_REQUEST,e)):g.send(o||null)}))},Gp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ep?t:new Np(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new ep(`timeout ${t} of ms exceeded`,ep.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>Zf.asap(a),s}},Qp=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Zp=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Yp=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Zp(e))yield*Qp(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},Xp="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,Jp=Xp&&"function"===typeof ReadableStream,eh=Xp&&("function"===typeof TextEncoder?(th=new TextEncoder,e=>th.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var th;const nh=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(ar){return!1}},rh=Jp&&nh((()=>{let e=!1;const t=new Request(wp.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),oh=Jp&&nh((()=>Zf.isReadableStream(new Response("").body))),ih={stream:oh&&(e=>e.body)};var ah;Xp&&(ah=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!ih[e]&&(ih[e]=Zf.isFunction(ah[e])?t=>t[e]():(t,n)=>{throw new ep(`Response type '${e}' is not supported`,ep.ERR_NOT_SUPPORT,n)})})));const sh=async(e,t)=>{const n=Zf.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Zf.isBlob(e))return e.size;if(Zf.isSpecCompliantForm(e)){const t=new Request(wp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Zf.isArrayBufferView(e)||Zf.isArrayBuffer(e)?e.byteLength:(Zf.isURLSearchParams(e)&&(e+=""),Zf.isString(e)?(await eh(e)).byteLength:void 0)})(t):n},lh=Xp&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Kp(e);c=c?(c+"").toLowerCase():"text";let p,h=Gp([o,i&&i.toAbortSignal()],a);const g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let m;try{if(l&&rh&&"get"!==n&&"head"!==n&&0!==(m=await sh(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Zf.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Wp(m,Dp(Up(l)));r=Yp(n.body,65536,e,t)}}Zf.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(p);const a=oh&&("stream"===c||"response"===c);if(oh&&(s||a&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Zf.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Wp(t,Dp(Up(s),!0))||[];i=new Response(Yp(i.body,65536,n,(()=>{r&&r(),g&&g()})),e)}c=c||"text";let y=await ih[Zf.findKey(ih,c)||"text"](i,e);return!a&&g&&g(),await new Promise(((t,n)=>{Ip(t,n,{data:y,headers:Op.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(y){if(g&&g(),y&&"TypeError"===y.name&&/fetch/i.test(y.message))throw Object.assign(new ep("Network Error",ep.ERR_NETWORK,e,p),{cause:y.cause||y});throw ep.from(y,y&&y.code,e,p)}}),ch={http:null,xhr:Vp,fetch:lh};Zf.forEach(ch,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(ar){}Object.defineProperty(e,"adapterName",{value:t})}}));const uh=e=>`- ${e}`,dh=e=>Zf.isFunction(e)||null===e||!1===e,fh=e=>{e=Zf.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!dh(n)&&(r=ch[(t=String(n)).toLowerCase()],void 0===r))throw new ep(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(uh).join("\n"):" "+uh(e[0]):"as no adapter specified";throw new ep("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ph(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Np(null,e)}function hh(e){ph(e),e.headers=Op.from(e.headers),e.data=Pp.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return fh(e.adapter||kp.adapter)(e).then((function(t){return ph(e),t.data=Pp.call(e,e.transformResponse,t),t.headers=Op.from(t.headers),t}),(function(t){return Mp(t)||(ph(e),t&&t.response&&(t.response.data=Pp.call(e,e.transformResponse,t.response),t.response.headers=Op.from(t.response.headers))),Promise.reject(t)}))}const gh="1.7.8",mh={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{mh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const yh={};mh.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.8] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new ep(r(o," has been removed"+(t?" in "+t:"")),ep.ERR_DEPRECATED);return t&&!yh[o]&&(yh[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},mh.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const vh={assertOptions:function(e,t,n){if("object"!==typeof e)throw new ep("options must be an object",ep.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new ep("option "+i+" must be "+n,ep.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ep("Unknown option "+i,ep.ERR_BAD_OPTION)}},validators:mh},bh=vh.validators;class wh{constructor(e){this.defaults=e,this.interceptors={request:new fp,response:new fp}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(ar){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Hp(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&vh.assertOptions(n,{silentJSONParsing:bh.transitional(bh.boolean),forcedJSONParsing:bh.transitional(bh.boolean),clarifyTimeoutError:bh.transitional(bh.boolean)},!1),null!=r&&(Zf.isFunction(r)?t.paramsSerializer={serialize:r}:vh.assertOptions(r,{encode:bh.function,serialize:bh.function},!0)),vh.assertOptions(t,{baseUrl:bh.spelling("baseURL"),withXsrfToken:bh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Zf.merge(o.common,o[t.method]);o&&Zf.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Op.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[hh.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(p){t.call(this,p);break}}try{c=hh.call(this,f)}catch(p){return Promise.reject(p)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return dp(Bp((e=Hp(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Zf.forEach(["delete","get","head","options"],(function(e){wh.prototype[e]=function(t,n){return this.request(Hp(n||{},{method:e,url:t,data:(n||{}).data}))}})),Zf.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Hp(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}wh.prototype[e]=t(),wh.prototype[e+"Form"]=t(!0)}));const xh=wh;class Ch{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Np(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Ch((function(t){e=t}));return{token:t,cancel:e}}}const kh=Ch;const Sh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sh).forEach((e=>{let[t,n]=e;Sh[n]=t}));const Eh=Sh;const Ah=function e(t){const n=new xh(t),r=uf(xh.prototype.request,n);return Zf.extend(r,xh.prototype,n,{allOwnKeys:!0}),Zf.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Hp(t,n))},r}(kp);Ah.Axios=xh,Ah.CanceledError=Np,Ah.CancelToken=kh,Ah.isCancel=Mp,Ah.VERSION=gh,Ah.toFormData=ip,Ah.AxiosError=ep,Ah.Cancel=Ah.CanceledError,Ah.all=function(e){return Promise.all(e)},Ah.spread=function(e){return function(t){return e.apply(null,t)}},Ah.isAxiosError=function(e){return Zf.isObject(e)&&!0===e.isAxiosError},Ah.mergeConfig=Hp,Ah.AxiosHeaders=Op,Ah.formToJSON=e=>xp(Zf.isHTMLForm(e)?new FormData(e):e),Ah.getAdapter=fh,Ah.HttpStatusCode=Eh,Ah.default=Ah;const _h=Ah;const Th=new class{constructor(){this._axios=void 0}init(){this._axios=_h.create({timeout:1e4}),this._axios.interceptors.request.use((e=>(e.url.includes("api/pluto")&&(e.baseURL=k.API_URL,k.TOKEN&&(e.headers.Authorization=`Bearer ${k.TOKEN}`)),e)),(e=>(console.log(e),Promise.reject({code:ef.netConfigError,message:"Net config error"})))),this._axios.interceptors.response.use((e=>e),(e=>(console.log(e.toJSON()),Promise.reject({code:ef.netError,message:e.message}))))}get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={};return t&&(n.params=t),this._axios.get(e,n).then((e=>e.data))}post(e,t){return this._axios.post(e,t).then((e=>e.data))}},Rh=Th;const Oh=new class{constructor(){this._tonConnect=null,this._tonProof=void 0}get connected(){return this._tonConnect.connected}get chain(){return this._tonConnect.connected?this._tonConnect.account.chain:null}get walletName(){return this._tonConnect.connected?this._tonConnect.wallet.name:null}get rawAddress(){return this._tonConnect.connected?this._tonConnect.account.address:null}get friendlyAddress(){return this._tonConnect.connected?rt(this._tonConnect.account.address,!1):null}init(){let e=this._tonConnect=new Dd({manifestUrl:k.MANIFEST_URL});e.setConnectRequestParameters({state:"ready",value:{tonProof:"success"}}),e.connectionRestored.then((e=>{e?(Ud().publish(Hd,!0),console.log("tonConnect restored.")):console.log("tonConnect not restored.")}))}connect(){return new Promise(((e,t)=>{if(this.connected)return e(this._tonConnect.account.address);const n=this._tonConnect.onStatusChange((r=>{var o;if(n(),!r)return t({code:ef.walletError,message:"The wallet info is null"});this._tonProof=null===(o=r.connectItems)||void 0===o?void 0:o.tonProof;let i=r.account.address;Ud().publish(Hd,!0),e(i)})),r=this._tonConnect.onModalStateChange((e=>{"closed"==e.status&&(r(),"wallet-selected"!=e.closeReason&&(n(),t({code:ef.walletError,message:"Wallet connect failed"})))}));this._tonConnect.openModal().then((()=>{console.log("openModal success")})).catch((e=>{n(),r(),t({code:ef.walletError,message:"Open modal error"})}))}))}disconnect(){return new Promise(((e,t)=>{if(!this.connected)return e();this._tonConnect.disconnect().then((()=>{Ud().publish(Hd,!1),e()})).catch((e=>{console.log(e),t({code:ef.walletError,message:"Wallet disconnect error"})}))}))}sendTransaction(e){return new Promise(((t,n)=>{if(!this.connected)return n({code:ef.walletError,message:"Wallet not connected"});const r={validUntil:Math.floor(Date.now()/1e3)+600,messages:[{...e}]};this._tonConnect.sendTransaction(r).then((e=>{console.log("transaction success"),t(e.boc)})).catch((e=>{console.log("transaction error==>"+JSON.stringify(e)),n({code:ef.walletError,message:"Wallet transaction error"})}))}))}signData(){return new Promise(((e,t)=>{this.disconnect().then((()=>this.connect())).then((()=>{var n;if(!this._tonProof)return t({code:ef.signDataError,message:"Ton proof is null"});const r=this._tonConnect.account.chain,o=this._tonConnect.account.address,i=this._tonConnect.account.walletStateInit,a=this._tonProof.proof||{},s=a.timestamp,l=null===(n=a.domain)||void 0===n?void 0:n.value,c=a.payload,u=a.signature;e({network:r,address:o,stateInit:i,timeStamp:s,domain:l,payload:c,signature:u})})).catch((e=>{t(e)}))}))}getTokenPayload(e,t,n,r){return new Promise(((o,i)=>{this.getTokenJettonWalletAddress(e,+t).then((a=>{let s=`${k.PAYLOAD_URL}/${e}/${this.rawAddress}/${r}/${t}/${n}`;Rh.get(s).then((e=>{o({address:a,payload:e.data.payload})})).catch((e=>{console.log(e),i({code:ef.tokenUseError,message:"Load token payload error"})}))})).catch((e=>{i(e)}))}))}getTokenJettonWalletAddress(e,t){return new Promise(((n,r)=>{let o=k.TOKENS_JETTON_ADDRESS[e];if(!o)return console.log(`token invalid: ${e}`),r({code:ef.tokenUseError,message:`${e} invalid`});let i={owner_address:this.rawAddress,jetton_address:o,limit:"1",offset:"0"};Rh.get(k.TON_CENTER_URL,i).then((o=>{let i=o.jetton_wallets[0],a="",s=0;if(i){var l,c,u;a=i.address;let e=null===(l=o.jetton_wallets[0])||void 0===l?void 0:l.jetton,t=null===(c=o.metadata[e])||void 0===c?void 0:c.token_info[0],n=1e9;null!==t&&void 0!==t&&null!==(u=t.extra)&&void 0!==u&&u.decimals&&(n=Math.pow(10,parseInt(t.extra.decimals))),s=(i.balance||0)/n}if(!a||s<t)return r({code:ef.insufficientFunds,message:`Insufficient ${e} assets`});n(a)})).catch((e=>{console.log(e),r({code:ef.tokenUseError,message:"Load jetton wallet error"})}))}))}};const Ph=new class{constructor(){this._callbackMap={},this._handlerMap={},this.onPlayButtonClicked=(e,t)=>{const n=this._handlerMap.event_playButtonClicked;n&&n.apply(null,[])},this.onPuchaseCompleted=(e,t)=>{const n=this._handlerMap[Qd];n&&n.apply(null,[t]);const r=this._callbackMap[Qd];r&&(r.apply(null,[t]),this._callbackMap[Qd]=null)},this.onCheckInCompleted=(e,t)=>{const n=this._handlerMap[Zd];n&&n.apply(null,[t]);const r=this._callbackMap[Zd];r&&(r.apply(null,[t]),this._callbackMap[Zd]=null)}}init(){Ud().subscribe(Kd,this.onPlayButtonClicked),Ud().subscribe(Vd,this.onPuchaseCompleted),Ud().subscribe(Gd,this.onCheckInCompleted)}registerCallback(e,t){e&&t&&(this._callbackMap[e]=t)}registerHandler(e,t){e&&t&&(this._handlerMap[e]=t)}},Mh=e=>`${k.RES_URL}${e}`,Lh=()=>{const e=Telegram.WebApp.platform,t=Telegram.WebApp.version;return!(!e||"unknown"==e)&&!(!t||"6.0"==t)},Nh=()=>{const e=Telegram.WebApp.platform;return!(!e||"unknown"==e||e.includes("web"))},Ih=()=>(Telegram.WebApp.platform||"").includes("web"),jh=()=>{const e=Telegram.WebApp.platform||"";return e.includes("macos")||e.includes("ios")||e.includes("pados")},$h=()=>(Telegram.WebApp.platform||"").includes("android"),Dh=()=>{const e=(new ht.UAParser).getDevice().type;return"mobile"==e||"tablet"==e},Wh=e=>new Promise(((t,n)=>{if(!navigator||!navigator.clipboard)return n({code:ef.clipboardError,message:"Method not support"});navigator.clipboard.writeText(e).then((()=>{t()})).catch((()=>{n({code:ef.clipboardError,message:"Write text error"})}))})),Uh=e=>new Promise(((t,n)=>{let r=document.createElement("textarea");r.value=e,r.style.position="absolute",r.style.opacity="0",r.style.left="-999999px",r.style.top="-999999px",document.body.appendChild(r),r.focus(),r.select();let o=document.execCommand("copy");r.remove(),o?t():n({code:ef.clipboardError,message:"Copy command error"})}));class Fh{static showLog(e){k.TEST_MODE&&console.log(e)}static get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=`api/pluto/${e}/${k.GAME_ID}`;return new Promise(((r,o)=>{Rh.get(n,t).then((t=>{if(Fh.showLog(`api ${e}: ${JSON.stringify(t)}`),0!=t.code)return o({code:t.code,message:t.message});r(t.data)})).catch((e=>{o(e)}))}))}static post(e,t){const n=`api/pluto/${e}/${k.GAME_ID}`;return new Promise(((r,o)=>{Rh.post(n,t).then((t=>{if(Fh.showLog(`api ${e}: ${JSON.stringify(t)}`),0!=t.code)return o({code:t.code,message:t.message});r(t.data)})).catch((e=>{o(e)}))}))}static gameInfo(){const e={botname:k.BOT_NAME,initdata:k.INIT_DATA};return Fh.post("gameinfo",e)}static login(){const e={botname:k.BOT_NAME,initdata:k.INIT_DATA};return Fh.post("login",e)}static priceExchange(e){const t={amount:e};return Fh.post("priceexchange",t)}static order(e,t,n,r,o,i,a){const s={productid:e,productname:t,orderid:n,amount:r,paytype:o,currencycode:i,customdata:a};return Fh.post("order",s)}static getItem(e){const t={k:e};return Fh.post("getuserdata",t)}static setItem(e,t){const n={k:e,v:t};return Fh.post("setuserdata",n)}static finishOrder(e){const t={orderno:e};return Fh.post("finishorder",t)}static unfinishRecord(){return Fh.get("unfinishrecord")}static checkIn(e,t,n){const r={title:e,checkinid:t,customdata:n};return Fh.post("checkin",r)}static checkInVerify(e,t,n,r){const o={checknet:e,wallet:r,checkdata:t,checkinno:n};return Fh.post("checkinverify",o)}static getShareMessage(e,t,n,r){const o={link:e,allowUserChats:t,allowGroupChats:n,allowChannelChats:r};return Fh.post("share",o)}static deposit(e,t,n,r){const o={orderid:t,amount:n,currencycode:e,customdata:r};return Fh.post("deposit",o)}static reportStarPayStatus(e,t,n,r){const o={orderNo:e,payLink:t,amount:n,status:r};return Fh.post("reportstarpaystatus",o)}static reportSignData(e,t,n,r,o,i,a){const s={signtype:0,network:e,address:t,timestamp:r,domain:o,payload:i,signature:a,stateinit:n};return Fh.post("signdata",s)}static getNfts(){return Fh.post("getnfts",{})}}const zh=new class{constructor(){this._gameInfo=void 0,this._plutoId=void 0,this._firstName=void 0,this._lastName=void 0,this._icon=void 0,this._boundWallet=void 0,this._purchaseData=void 0,this._checkInData=void 0}get gameInfo(){return this._gameInfo}set gameInfo(e){this._gameInfo=e}get plutoId(){return this._plutoId}set plutoId(e){this._plutoId=e}get firstName(){return this._firstName}set firstName(e){this._firstName=e}get lastName(){return this._lastName}set lastName(e){this._lastName=e}get icon(){return this._icon}set icon(e){this._icon=e}get boundWallet(){return this._boundWallet}set boundWallet(e){this._boundWallet=e}get purchaseData(){return this._purchaseData||{}}set purchaseData(e){this._purchaseData=e}get checkInData(){return this._checkInData||{}}set checkInData(e){this._checkInData=e}};const Bh=new class{constructor(){this._shareTimer=null,this._adConfigs={},this._adControllers={}}get hideShare(){return"1002"==k.GAME_ID}init(){if(Telegram.WebApp.expand(),Telegram.WebApp.ready(),Telegram.WebApp.disableVerticalSwipes(),Telegram.WebApp.enableClosingConfirmation(),k.FULL_SCREEN&&Dh())try{Telegram.WebApp.requestFullscreen()}catch(e){}}async reqGameInfo(){for(let t=1;t<=10;t++)try{const e=await Fh.gameInfo();let t=(e.catalog||[]).filter((e=>e==Yd.airdrop||e==Yd.earn)),n={name:e.gamename,describe:e.gamesummary,icon:e.gameicon,appUrl:e.appurl,tags:t,orientation:e.orientation||af.portrait};return zh.gameInfo=n,zh.plutoId=e.plutoid,Promise.resolve(n)}catch(e){if(10==t)return Promise.reject({code:ef.initError,message:"Init error"});await new Promise((e=>window.setTimeout(e,500)))}}reqLogin(){return Fh.login().then((e=>{let t=zh.plutoId=e.plutoid,n=zh.firstName=e.tgfirstname,r=zh.lastName=e.tglastname,o=zh.icon=e.icon,i=e.ticket;return zh.boundWallet=e.boundwallet,k.TOKEN=e.token,k.GAME_URL=e.gameurl,this._adConfigs=e.adinfo||{},{plutoId:t,firstName:n,lastName:r,icon:o,ticket:i}}))}reqPurchase(e,t,n,r,o){return Fh.priceExchange(r).then((r=>{const i=parseFloat(r.usdt)||0,a=parseFloat(r.ton)||0,s=parseFloat(r.cati)||0,l=parseInt(r.star)||0,c=parseFloat(r.usdtoff)||0,u=parseFloat(r.tonoff)||0,d=parseFloat(r.catioff)||0,f=parseFloat(r.staroff)||0,p=parseFloat(r.usdtdiscount)||0,h=parseFloat(r.tondiscount)||0,g=parseFloat(r.catidiscount)||0,m=parseFloat(r.stardiscount)||0;zh.purchaseData={name:t,productId:e,orderId:n,customData:o,usdt:p?c:i,usdtOld:i,usdtDiscount:p,ton:h?u:a,tonOld:a,tonDiscount:h,cati:g?d:s,catiOld:s,catiDiscount:g,star:m?f:l,starOld:l,starDiscount:m}}))}reqOrder(e,t){const{productId:n,name:r,orderId:o,usdt:i,customData:a}=zh.purchaseData;return Fh.order(n,r,o,i,e,t,a).then((e=>(zh.purchaseData.orderNo=e.orderNo,{amount:e.amount,orderNo:e.orderNo,payload:e.payload,payLink:e.payLink,address:e.walletAddress})))}async reqFinishOrder(e){for(let n=1;n<=12;n++)try{return await Fh.finishOrder(e),Promise.resolve()}catch(t){if(22==t.code)return Promise.reject(t);if(12==n)return Promise.reject({code:ef.orderConfirming,message:"The order is being confirmed"});await new Promise((e=>window.setTimeout(e,5e3)))}}reqUnfinishRecord(){return Fh.unfinishRecord().then((e=>{let t=[];return(e.records||[]).forEach((e=>{const n={orderNo:e.orderno,orderId:e.orderid,productId:e.productid,name:e.productname,customData:e.customdata};t.push(n)})),t}))}reqCheckIn(e,t,n){return Fh.checkIn(e,t,n).then((r=>{zh.checkInData={name:e,orderId:t,customData:n,amount:"8000000",orderNo:r.checkinno,payload:r.payload,address:r.address}}))}async reqCheckInVerify(e,t,n,r){for(let i=1;i<=12;i++)try{return await Fh.checkInVerify(e,t,n,r),Promise.resolve()}catch(o){if(12==i)return Promise.reject(o);await new Promise((e=>window.setTimeout(e,5e3)))}}reqGetItem(e){return Fh.getItem(e).then((e=>e.v))}reqSetItem(e,t){return Fh.setItem(e,t).then((e=>{}))}reqGetShareMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!0,r=!0,o=!0;return t&&t.length>0&&(n=-1!=t.indexOf(sf.users),r=-1!=t.indexOf(sf.groups),o=-1!=t.indexOf(sf.channels)),Fh.getShareMessage(e,n,r,o).then((e=>e.id))}reqDeposit(e,t,n,r){return Fh.deposit(e,t,n,r).then((e=>({amount:e.amount,payload:e.payload,address:e.walletAddress})))}reportStarPayStatus(e,t,n,r){Fh.reportStarPayStatus(e,t,n,r)}reqReportSignData(e,t,n,r,o,i,a){return new Promise(((s,l)=>{Fh.reportSignData(e,t,n,r,o,i,a).then((e=>{if(23==e.ret)return l({code:ef.walletBindInCd,message:"Wallet binding is in CD"});zh.boundWallet=e.boundwallet,s()})).catch((e=>{l(e)}))}))}reqGetNfts(){return new Promise(((e,t)=>{Fh.getNfts().then((t=>{const n=t.nfts||[];e(n)})).catch((e=>{t(e)}))}))}depositToken(e,t,n,r){return new Promise(((o,i)=>{if(!Oh.connected)return i({code:ef.walletNotConnected,message:"Wallet not connected"});let a=of[e],s=rf[e];this.reqDeposit(s,t,n,r).then((e=>Oh.getTokenPayload(a,e.amount,e.payload,e.address))).then((e=>{let t={amount:"100000000",address:e.address,payload:e.payload};return Oh.sendTransaction(t)})).then((e=>{o()})).catch((e=>{i(e)}))}))}formatShareLink(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=`${zh.gameInfo.appUrl}?startapp=g_${k.GAME_ID}_${zh.plutoId}`;return e&&/^[A-Za-z0-9]*$/.test(e)&&(t+=`_${e}`),t}openInvoice(e){return new Promise(((t,n)=>{Telegram.WebApp.openInvoice(e,(e=>{if("paid"==e)return t();n({code:ef.openInvoiceError,message:"Open invoice error"})}))}))}shareMessageEnable(){return Telegram.WebApp.isVersionAtLeast("8.0")}shareMessage(e){return new Promise(((t,n)=>{Telegram.WebApp.shareMessage(e,(e=>{if(!e)return n({code:ef.shareError,message:"Share failed"});t()}))}))}shareForWeb(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._shareTimer&&(window.clearTimeout(this._shareTimer),this._shareTimer=null),new Promise(((t,n)=>{let r=`https://t.me/share/url?url=${this.formatShareLink(e)}\n&text=${encodeURIComponent(Jd[k.GAME_ID]||Jd[1e3])}`;Telegram.WebApp.openTelegramLink(r),this._shareTimer=window.setTimeout((()=>{t()}),6e3)}))}vibrate(e){const t={1:"light",2:"medium",3:"heavy"},n={4:"error",5:"success",6:"warning"};t[e]?Telegram.WebApp.HapticFeedback.impactOccurred(t[e]):n[e]&&Telegram.WebApp.HapticFeedback.notificationOccurred(n[e])}playAd(e){let t=this._adConfigs[e];if(!t)return Promise.reject({code:ef.playAdError,message:"Ad event invalid: "+e});let n=this._adControllers[t];return n||(n=window.Adsgram.init({blockId:t}),this._adControllers[t]=n),new Promise(((e,r)=>{n.show().then((t=>{console.log("play ad success"),e()})).catch((e=>{console.log("play ad error: "+t),console.log(JSON.stringify(e)),r({code:ef.playAdError,message:"Play ad error"})}))}))}signData(){return new Promise(((e,t)=>{if(Oh.connected&&Oh.friendlyAddress==zh.boundWallet)return e();Oh.signData().then((e=>this.reqReportSignData(e.network,e.address,e.stateInit,e.timeStamp,e.domain,e.payload,e.signature))).then((()=>{e()})).catch((e=>{t(e)}))}))}},qh=Bh;var Hh=n(9254),Kh=n(8587),Vh=n(2004),Gh=n(116),Qh=n(505),Zh=n(237);const Yh=["className","component"];var Xh=n(4501),Jh=n(7775),eg=n(1763);const tg=(0,eg.A)("MuiBox",["root"]),ng=(0,Jh.A)(),rg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,s=(0,Gh.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Qh.A),l=i.forwardRef((function(e,i){const l=f(n),c=(0,Zh.A)(e),{className:u,component:d="div"}=c,h=(0,Kh.A)(c,Yh);return(0,p.jsx)(s,(0,o.A)({as:d,ref:i,className:(0,Vh.A)(u,a?a(r):r),theme:t&&l[t]||l},h))}));return l}({themeId:m.A,defaultTheme:ng,defaultClassName:tg.root,generateClassName:Xh.A.generate}),og=rg;class ig extends i.PureComponent{render(){return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative",backgroundColor:"#FEF8E2"},children:[(0,p.jsx)(og,{component:"img",src:Mh("bg_2.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("button_1.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("button_2.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("button_3.png"),sx:{display:"none"}}),(0,p.jsx)(og,{component:"img",src:Mh("cat_ball.png"),sx:{display:"none"}})]})}}function ag(e,t){return ag=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ag(e,t)}function sg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ag(e,t)}var lg=n(7119);const cg=!1,ug=i.createContext(null);var dg="unmounted",fg="exited",pg="entering",hg="entered",gg="exiting",mg=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=fg,r.appearStatus=pg):o=hg:o=t.unmountOnExit||t.mountOnEnter?dg:fg,r.state={status:o},r.nextCallback=null,r}sg(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===dg?{status:fg}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==pg&&n!==hg&&(t=pg):n!==pg&&n!==hg||(t=gg)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===pg){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:lg.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fg&&this.setState({status:dg})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[lg.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||cg?this.safeSetState({status:hg},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:pg},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:hg},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:lg.findDOMNode(this);t&&!cg?(this.props.onExit(r),this.safeSetState({status:gg},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:fg},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:fg},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:lg.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===dg)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,Kh.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(ug.Provider,{value:null},"function"===typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function yg(){}mg.contextType=ug,mg.propTypes={},mg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yg,onEntering:yg,onEntered:yg,onExit:yg,onExiting:yg,onExited:yg},mg.UNMOUNTED=dg,mg.EXITED=fg,mg.ENTERING=pg,mg.ENTERED=hg,mg.EXITING=gg;const vg=mg;var bg=n(1380),wg=n(4326);function xg(){const e=f(g.A);return e[m.A]||e}const Cg=e=>e.scrollTop;function kg(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:a.transitionDelay}}var Sg=n(1733);const Eg=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ag(e,t,n){var r;const o=function(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=(0,Sg.A)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"===typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-r.left}px)`:`translateX(${i.innerWidth+s-r.left}px)`:"right"===e?o?`translateX(-${r.right-o.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"===typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const _g=i.forwardRef((function(e,t){const n=xg(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,container:u,direction:d="down",easing:f=r,in:h,onEnter:g,onEntered:m,onEntering:y,onExit:v,onExited:b,onExiting:w,style:x,timeout:C=a,TransitionComponent:k=vg}=e,S=(0,Kh.A)(e,Eg),E=i.useRef(null),A=(0,wg.A)(c.ref,E,t),_=e=>t=>{e&&(void 0===t?e(E.current):e(E.current,t))},T=_(((e,t)=>{Ag(d,e,u),Cg(e),g&&g(e,t)})),R=_(((e,t)=>{const r=kg({timeout:C,style:x,easing:f},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,o.A)({},r)),e.style.transition=n.transitions.create("transform",(0,o.A)({},r)),e.style.webkitTransform="none",e.style.transform="none",y&&y(e,t)})),O=_(m),P=_(w),M=_((e=>{const t=kg({timeout:C,style:x,easing:f},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),Ag(d,e,u),v&&v(e)})),L=_((e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)})),N=i.useCallback((()=>{E.current&&Ag(d,E.current,u)}),[d,u]);return i.useEffect((()=>{if(h||"down"===d||"right"===d)return;const e=(0,bg.A)((()=>{E.current&&Ag(d,E.current,u)})),t=(0,Sg.A)(E.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[d,h,u]),i.useEffect((()=>{h||N()}),[h,N]),(0,p.jsx)(k,(0,o.A)({nodeRef:E,onEnter:T,onEntered:O,onEntering:R,onExit:M,onExited:L,onExiting:P,addEndListener:e=>{s&&s(E.current,e)},appear:l,in:h,timeout:C},S,{children:(e,t)=>i.cloneElement(c,(0,o.A)({ref:A,style:(0,o.A)({visibility:"exited"!==e||h?void 0:"hidden"},x,c.props.style)},t))}))})),Tg=_g;class Rg extends i.PureComponent{render(){return(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",borderWidth:40,borderStyle:"solid",borderImage:`url(${Mh("bg_2.png")})`,borderImageRepeat:"repeat",borderImageSlice:"40 fill"}})}}const Og=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Pg={entering:{opacity:1},entered:{opacity:1}},Mg=i.forwardRef((function(e,t){const n=xg(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:h,onExit:g,onExited:m,onExiting:y,style:v,timeout:b=r,TransitionComponent:w=vg}=e,x=(0,Kh.A)(e,Og),C=i.useRef(null),k=(0,wg.A)(C,l.ref,t),S=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},E=S(h),A=S(((e,t)=>{Cg(e);const r=kg({style:v,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),d&&d(e,t)})),_=S(f),T=S(y),R=S((e=>{const t=kg({style:v,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),g&&g(e)})),O=S(m);return(0,p.jsx)(w,(0,o.A)({appear:s,in:u,nodeRef:C,onEnter:A,onEntered:_,onEntering:E,onExit:R,onExited:O,onExiting:T,addEndListener:e=>{a&&a(C.current,e)},timeout:b},x,{children:(e,t)=>i.cloneElement(l,(0,o.A)({style:(0,o.A)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Pg[e],v,l.props.style),ref:k},t))}))})),Lg=Mg,Ng={0:{x:0,y:0},1:{x:-222,y:0},2:{x:-444,y:0},3:{x:-666,y:0},4:{x:-888,y:0},5:{x:0,y:-119},6:{x:-222,y:-119},7:{x:-444,y:-119},8:{x:-666,y:-119},9:{x:-888,y:-119},10:{x:0,y:-238},11:{x:-222,y:-238},12:{x:-444,y:-238},13:{x:-666,y:-238},14:{x:-888,y:-238},15:{x:0,y:-357},16:{x:-222,y:-357},17:{x:-444,y:-357},18:{x:-666,y:-357},19:{x:-888,y:-357},20:{x:0,y:-476},21:{x:0,y:-595},22:{x:0,y:-714},23:{x:0,y:-833},24:{x:-222,y:-476},25:{x:-444,y:-476},26:{x:-666,y:-476},27:{x:-888,y:-476},28:{x:-222,y:-595},29:{x:-222,y:-714},30:{x:-222,y:-833},31:{x:-444,y:-595},32:{x:-666,y:-595},33:{x:-888,y:-595},34:{x:-444,y:-714},35:{x:-444,y:-833},36:{x:-666,y:-714},37:{x:-888,y:-714},38:{x:-666,y:-833},39:{x:-888,y:-833}};class Ig extends i.PureComponent{constructor(){super(...arguments),this._aniUrl=`${Mh("cat_ball.png")}`,this.state={resLoaded:!1},this.formatFrames=()=>{let e=Object.keys(Ng).length,t={},n=1/e*100;for(let r=0;r<e;r++){let e=Ng[r]||{x:0,y:0};t[r*n+"%"]={backgroundPosition:`${e.x}px ${e.y}px`}}return t}}componentDidMount(){let e=new Image;e.src=this._aniUrl,e.onload=()=>{this.setState({resLoaded:!0})},e.onerror=()=>{console.log("image onerror")}}render(){const{resLoaded:e}=this.state;return e?(0,p.jsx)(og,{sx:{marginLeft:8,height:118},children:(0,p.jsx)(og,{sx:{width:221,height:118,backgroundImage:`url(${this._aniUrl})`,display:"inline-block",animation:"cat_ball 3.2s step-end infinite","@keyframes cat_ball":this.formatFrames()}})}):(0,p.jsx)(og,{sx:{marginLeft:8,height:118}})}}class jg extends i.PureComponent{render(){const e=Telegram.WebApp.isFullscreen;return(0,p.jsx)(Lg,{in:!0,timeout:{enter:1e3},children:(0,p.jsxs)(og,{sx:{width:1,top:e?"10%":"6%","@media (max-height: 570px)":{top:"2%"},"@media (max-height: 480px)":{display:"none"},textAlign:"center",position:"absolute"},children:[(0,p.jsx)(Ig,{}),(0,p.jsx)(og,{sx:{fontSize:24,fontWeight:"bold",color:"#764428"},children:"Catizen"}),(0,p.jsx)(og,{sx:{m:"0 auto",width:360,textAlign:"center",wordWrap:"break-word",fontSize:18,fontWeight:"bold",color:"#bc805e"},children:"Catizen's Games:Play, Earn, Airdrop!"})]})})}}var $g=n(5447),Dg=n(423),Wg=n(8465),Ug=n(7483);const Fg=["ownerState"],zg=["variants"],Bg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function qg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Hg=(0,l.A)(),Kg=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Vg(e){let{defaultTheme:t,theme:n,themeId:r}=e;return o=n,0===Object.keys(o).length?t:n[r]||n;var o}function Gg(e){return e?(t,n)=>n[e]:null}function Qg(e,t){let{ownerState:n}=t,r=(0,Kh.A)(t,Fg);const i="function"===typeof e?e((0,o.A)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap((e=>Qg(e,(0,o.A)({ownerState:n},r))));if(i&&"object"===typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,Kh.A)(i,zg);return e.forEach((e=>{let i=!0;"function"===typeof e.props?i=e.props((0,o.A)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,o.A)({ownerState:n},r,n)):e.style))})),t}return i}const Zg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:n=Hg,rootShouldForwardProp:r=qg,slotShouldForwardProp:i=qg}=e,a=e=>(0,Qh.A)((0,o.A)({},e,{theme:Vg((0,o.A)({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,Gh.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:f=Gg(Kg(c))}=s,p=(0,Kh.A)(s,Bg),h=void 0!==u?u:c&&"Root"!==c&&"root"!==c||!1,g=d||!1;let m=qg;"Root"===c||"root"===c?m=r:c?m=i:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const y=(0,Gh.default)(e,(0,o.A)({shouldForwardProp:m,label:undefined},p)),v=e=>"function"===typeof e&&e.__emotion_real!==e||(0,Ug.Q)(e)?r=>Qg(e,(0,o.A)({},r,{theme:Vg({theme:r.theme,defaultTheme:n,themeId:t})})):e,b=function(r){let i=v(r);for(var s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];const d=c?c.map(v):[];l&&f&&d.push((e=>{const r=Vg((0,o.A)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const i=r.components[l].styleOverrides,a={};return Object.entries(i).forEach((t=>{let[n,i]=t;a[n]=Qg(i,(0,o.A)({},e,{theme:r}))})),f(e,a)})),l&&!h&&d.push((e=>{var r;const i=Vg((0,o.A)({},e,{defaultTheme:n,themeId:t}));return Qg({variants:null==i||null==(r=i.components)||null==(r=r[l])?void 0:r.variants},(0,o.A)({},e,{theme:i}))})),g||d.push(a);const p=d.length-c.length;if(Array.isArray(r)&&p>0){const e=new Array(p).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const m=y(i,...d);return e.muiName&&(m.muiName=e.muiName),m};return y.withConfig&&(b.withConfig=y.withConfig),b}}(),Yg=Zg;var Xg=n(5537);function Jg(e){let{props:t,name:n,defaultTheme:r,themeId:o}=e,i=f(r);o&&(i=i[o]||i);const a=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,Xg.A)(t.components[n].defaultProps,r):r}({theme:i,name:n,props:t});return a}const em=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"===typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,i=Object.keys(t),o.filter((e=>i.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const i=t[o];void 0!==i&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),i)}}))}else"number"!==typeof t&&"string"!==typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,i};function tm(e){return e?`Level${e}`:""}function nm(e){return e.unstable_level>0&&e.container}function rm(e){return function(t){return`var(--Grid-${t}Spacing${tm(e.unstable_level)})`}}function om(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${tm(e.unstable_level-1)})`}}function im(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${tm(e.unstable_level-1)})`}const am=e=>{let{theme:t,ownerState:n}=e;const r=rm(n),o={};return em(t.breakpoints,n.gridSize,((e,t)=>{let i={};!0===t&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===t&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"===typeof t&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${t} / ${im(n)}${nm(n)?` + ${r("column")}`:""})`}),e(o,i)})),o},sm=e=>{let{theme:t,ownerState:n}=e;const r={};return em(t.breakpoints,n.gridOffset,((e,t)=>{let o={};"auto"===t&&(o={marginLeft:"auto"}),"number"===typeof t&&(o={marginLeft:0===t?"0px":`calc(100% * ${t} / ${im(n)})`}),e(r,o)})),r},lm=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r=nm(n)?{[`--Grid-columns${tm(n.unstable_level)}`]:im(n)}:{"--Grid-columns":12};return em(t.breakpoints,n.columns,((e,t)=>{e(r,{[`--Grid-columns${tm(n.unstable_level)}`]:t})})),r},cm=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r=om(n),o=nm(n)?{[`--Grid-rowSpacing${tm(n.unstable_level)}`]:r("row")}:{};return em(t.breakpoints,n.rowSpacing,((e,r)=>{var i;e(o,{[`--Grid-rowSpacing${tm(n.unstable_level)}`]:"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)})})),o},um=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r=om(n),o=nm(n)?{[`--Grid-columnSpacing${tm(n.unstable_level)}`]:r("column")}:{};return em(t.breakpoints,n.columnSpacing,((e,r)=>{var i;e(o,{[`--Grid-columnSpacing${tm(n.unstable_level)}`]:"string"===typeof r?r:null==(i=t.spacing)?void 0:i.call(t,r)})})),o},dm=e=>{let{theme:t,ownerState:n}=e;if(!n.container)return{};const r={};return em(t.breakpoints,n.direction,((e,t)=>{e(r,{flexDirection:t})})),r},fm=e=>{let{ownerState:t}=e;const n=rm(t),r=om(t);return(0,o.A)({minWidth:0,boxSizing:"border-box"},t.container&&(0,o.A)({display:"flex",flexWrap:"wrap"},t.wrap&&"wrap"!==t.wrap&&{flexWrap:t.wrap},{margin:`calc(${n("row")} / -2) calc(${n("column")} / -2)`},t.disableEqualOverflow&&{margin:`calc(${n("row")} * -1) 0px 0px calc(${n("column")} * -1)`}),(!t.container||nm(t))&&(0,o.A)({padding:`calc(${r("row")} / 2) calc(${r("column")} / 2)`},(t.disableEqualOverflow||t.parentDisableEqualOverflow)&&{padding:`${r("row")} 0px 0px ${r("column")}`}))},pm=e=>{const t=[];return Object.entries(e).forEach((e=>{let[n,r]=e;!1!==r&&void 0!==r&&t.push(`grid-${n}-${String(r)}`)})),t},hm=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xs";function n(e){return void 0!==e&&("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"===typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((e=>{let[r,o]=e;n(o)&&t.push(`spacing-${r}-${String(o)}`)})),t}return[]},gm=e=>void 0===e?[]:"object"===typeof e?Object.entries(e).map((e=>{let[t,n]=e;return`direction-${t}-${n}`})):[`direction-xs-${String(e)}`],mm=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],ym=(0,l.A)(),vm=Yg("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function bm(e){return Jg({props:e,name:"MuiGrid",defaultTheme:ym})}const wm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=vm,useThemeProps:n=bm,componentName:r="MuiGrid"}=e,a=i.createContext(void 0),s=t(lm,um,cm,am,dm,fm,sm),l=i.forwardRef((function(e,t){var l,c,u,d,h,g,m,y;const v=f(),b=n(e),w=(0,Zh.A)(b),x=i.useContext(a),{className:C,children:k,columns:S=12,container:E=!1,component:A="div",direction:_="row",wrap:T="wrap",spacing:R=0,rowSpacing:O=R,columnSpacing:P=R,disableEqualOverflow:M,unstable_level:L=0}=w,N=(0,Kh.A)(w,mm);let I=M;L&&void 0!==M&&(I=e.disableEqualOverflow);const j={},$={},D={};Object.entries(N).forEach((e=>{let[t,n]=e;void 0!==v.breakpoints.values[t]?j[t]=n:void 0!==v.breakpoints.values[t.replace("Offset","")]?$[t.replace("Offset","")]=n:D[t]=n}));const W=null!=(l=e.columns)?l:L?void 0:S,U=null!=(c=e.spacing)?c:L?void 0:R,F=null!=(u=null!=(d=e.rowSpacing)?d:e.spacing)?u:L?void 0:O,z=null!=(h=null!=(g=e.columnSpacing)?g:e.spacing)?h:L?void 0:P,B=(0,o.A)({},w,{level:L,columns:W,container:E,direction:_,wrap:T,spacing:U,rowSpacing:F,columnSpacing:z,gridSize:j,gridOffset:$,disableEqualOverflow:null!=(m=null!=(y=I)?y:x)&&m,parentDisableEqualOverflow:x}),q=((e,t)=>{const{container:n,direction:o,spacing:i,wrap:a,gridSize:s}=e,l={root:["root",n&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...gm(o),...pm(s),...n?hm(i,t.breakpoints.keys[0]):[]]};return(0,Wg.A)(l,(e=>(0,Dg.Ay)(r,e)),{})})(B,v);let H=(0,p.jsx)(s,(0,o.A)({ref:t,as:A,ownerState:B,className:(0,Vh.A)(q.root,C)},D,{children:i.Children.map(k,(e=>{var t;return i.isValidElement(e)&&(0,$g.A)(e,["Grid"])?i.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:L+1}):e}))}));return void 0!==I&&I!==(null!=x&&x)&&(H=(0,p.jsx)(a.Provider,{value:I,children:H})),H}));return l.muiName="Grid",l}({createStyledComponent:(0,Hh.Ay)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>(0,a.b)({props:e,name:"MuiGrid2"})}),xm=wm;class Cm extends i.PureComponent{render(){const{tagId:e}=this.props,{bgColor:t,borderColor:n,textColor:r,text:o,icon:i,iconWidth:a,iconHeight:s}=Xd[e];return(0,p.jsxs)(og,{sx:{display:"flex",alignItems:"center",width:"fit-content",height:24,position:"relative",bgcolor:t,borderRadius:1,border:1,borderColor:n},children:[(0,p.jsx)(og,{component:"img",src:`${Mh(i)}`,sx:{width:a,height:s,position:"relative",ml:.5}}),(0,p.jsx)(og,{sx:{position:"relative",display:"inline-block",fontSize:16,fontWeight:"bold",color:r,mx:.5},children:o})]})}}class km extends i.PureComponent{render(){const{icon:e,name:t,describe:n,tags:r}=zh.gameInfo;return(0,p.jsxs)(og,{sx:{pb:2},children:[(0,p.jsxs)(og,{sx:{display:"flex",alignItems:"center",pt:2},children:[(0,p.jsx)(og,{component:"img",src:e,sx:{width:66,height:66,border:"2px solid #774428",borderRadius:3.5}}),(0,p.jsxs)(og,{children:[(0,p.jsx)(og,{sx:{ml:1.25,fontSize:20,fontWeight:"bold",color:"#7c4b30",textAlign:"left"},children:t}),(0,p.jsx)(xm,{container:!0,columnSpacing:.5,sx:{ml:1.25},children:r.map(((e,t)=>(0,p.jsx)(xm,{children:(0,p.jsx)(Cm,{tagId:e})},t)))})]})]}),(0,p.jsx)(og,{sx:{mt:1,fontSize:14,fontWeight:"bold",color:"#ca996e",textAlign:"left",wordWrap:"break-word"},children:n})]})}}var Sm=n(9269),Em=n(741),Am=n(5018),_m=n(2937);function Tm(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function Rm(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Om(e,t,n){var r=Tm(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(a){var s=o[a];if((0,i.isValidElement)(s)){var l=a in t,c=a in r,u=t[a],d=(0,i.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,i.isValidElement)(u)&&(o[a]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:Rm(s,"exit",e),enter:Rm(s,"enter",e)})):o[a]=(0,i.cloneElement)(s,{in:!1}):o[a]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Rm(s,"exit",e),enter:Rm(s,"enter",e)})}})),o}var Pm=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Mm=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}sg(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,Tm(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Rm(e,"appear",n),enter:Rm(e,"enter",n),exit:Rm(e,"exit",n)})}))):Om(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=Tm(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,Kh.A)(e,["component","childFactory"]),o=this.state.contextValue,a=Pm(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i.createElement(ug.Provider,{value:o},a):i.createElement(ug.Provider,{value:o},i.createElement(t,r,a))},t}(i.Component);Mm.propTypes={},Mm.defaultProps={component:"div",childFactory:function(e){return e}};const Lm=Mm;var Nm=n(8283),Im=n(1824);const jm=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:u}=e,[d,f]=i.useState(!1),h=(0,Vh.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-s/2+a,left:-s/2+o},m=(0,Vh.A)(n.child,d&&n.childLeaving,r&&n.childPulsate);return l||d||f(!0),i.useEffect((()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}}),[c,l,u]),(0,p.jsx)("span",{className:h,style:g,children:(0,p.jsx)("span",{className:m})})};const $m=(0,eg.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Dm=["center","classes","className"];let Wm,Um,Fm,zm,Bm=e=>e;const qm=(0,Nm.i7)(Wm||(Wm=Bm`
|
|
1187
1187
|
0% {
|
|
1188
1188
|
transform: scale(0);
|
|
1189
1189
|
opacity: 0.1;
|
|
@@ -1256,7 +1256,7 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
1256
1256
|
animation-iteration-count: infinite;
|
|
1257
1257
|
animation-delay: 200ms;
|
|
1258
1258
|
}
|
|
1259
|
-
`),$m.rippleVisible,qm,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),$m.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),$m.child,$m.childLeaving,Hm,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),$m.childPulsate,Km,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),Qm=i.forwardRef((function(e,t){const n=(0,a.b)({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:s={},className:l}=n,c=(0,Kh.A)(n,Wm),[u,d]=i.useState([]),f=i.useRef(0),h=i.useRef(null);i.useEffect((()=>{h.current&&(h.current(),h.current=null)}),[u]);const g=i.useRef(!1),m=(0,Im.A)(),y=i.useRef(null),v=i.useRef(null),b=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;d((e=>[...e,(0,p.jsx)(Gm,{classes:{ripple:(0,Vh.A)(s.ripple,$m.ripple),rippleVisible:(0,Vh.A)(s.rippleVisible,$m.rippleVisible),ripplePulsate:(0,Vh.A)(s.ripplePulsate,$m.ripplePulsate),child:(0,Vh.A)(s.child,$m.child),childLeaving:(0,Vh.A)(s.childLeaving,$m.childLeaving),childPulsate:(0,Vh.A)(s.childPulsate,$m.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},f.current)])),f.current+=1,h.current=i}),[s]),w=i.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&g.current)return void(g.current=!1);"touchstart"===(null==e?void 0:e.type)&&(g.current=!0);const s=a?null:v.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2===0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===y.current&&(y.current=()=>{b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},m.start(80,(()=>{y.current&&(y.current(),y.current=null)}))):b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[r,b,m]),x=i.useCallback((()=>{w({},{pulsate:!0})}),[w]),C=i.useCallback(((e,t)=>{if(m.clear(),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void m.start(0,(()=>{C(e,t)}));y.current=null,d((e=>e.length>0?e.slice(1):e)),h.current=t}),[m]);return i.useImperativeHandle(t,(()=>({pulsate:x,start:w,stop:C})),[x,w,C]),(0,p.jsx)(Vm,(0,o.A)({className:(0,Vh.A)($m.root,s.root,l),ref:v},c,{children:(0,p.jsx)(Lm,{component:null,exit:!0,children:u})}))})),Zm=Qm;function Ym(e){return(0,Wg.Ay)("MuiButtonBase",e)}const Xm=(0,eg.A)("MuiButtonBase",["root","disabled","focusVisible"]),Jm=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ey=(0,Hh.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Xm.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ty=i.forwardRef((function(e,t){const n=(0,a.b)({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:s=!1,children:l,className:c,component:u="button",disabled:d=!1,disableRipple:f=!1,disableTouchRipple:h=!1,focusRipple:g=!1,LinkComponent:m="a",onBlur:y,onClick:v,onContextMenu:b,onDragLeave:w,onFocus:x,onFocusVisible:C,onKeyDown:k,onKeyUp:S,onMouseDown:E,onMouseLeave:A,onMouseUp:_,onTouchEnd:T,onTouchMove:R,onTouchStart:O,tabIndex:P=0,TouchRippleProps:M,touchRippleRef:L,type:N}=n,I=(0,Kh.A)(n,Jm),j=i.useRef(null),$=i.useRef(null),W=(0,wg.A)($,L),{isFocusVisibleRef:D,onFocus:U,onBlur:F,ref:z}=(0,_m.A)(),[B,q]=i.useState(!1);d&&B&&q(!1),i.useImperativeHandle(r,(()=>({focusVisible:()=>{q(!0),j.current.focus()}})),[]);const[H,K]=i.useState(!1);i.useEffect((()=>{K(!0)}),[]);const V=H&&!f&&!d;function G(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;return(0,Am.A)((r=>{t&&t(r);return!n&&$.current&&$.current[e](r),!0}))}i.useEffect((()=>{B&&g&&!f&&H&&$.current.pulsate()}),[f,g,B,H]);const Q=G("start",E),Z=G("stop",b),Y=G("stop",w),X=G("stop",_),J=G("stop",(e=>{B&&e.preventDefault(),A&&A(e)})),ee=G("start",O),te=G("stop",T),ne=G("stop",R),re=G("stop",(e=>{F(e),!1===D.current&&q(!1),y&&y(e)}),!1),oe=(0,Am.A)((e=>{j.current||(j.current=e.currentTarget),U(e),!0===D.current&&(q(!0),C&&C(e)),x&&x(e)})),ie=()=>{const e=j.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ae=i.useRef(!1),se=(0,Am.A)((e=>{g&&!ae.current&&B&&$.current&&" "===e.key&&(ae.current=!0,$.current.stop(e,(()=>{$.current.start(e)}))),e.target===e.currentTarget&&ie()&&" "===e.key&&e.preventDefault(),k&&k(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&!d&&(e.preventDefault(),v&&v(e))})),le=(0,Am.A)((e=>{g&&" "===e.key&&$.current&&B&&!e.defaultPrevented&&(ae.current=!1,$.current.stop(e,(()=>{$.current.pulsate(e)}))),S&&S(e),v&&e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&v(e)}));let ce=u;"button"===ce&&(I.href||I.to)&&(ce=m);const ue={};"button"===ce?(ue.type=void 0===N?"button":N,ue.disabled=d):(I.href||I.to||(ue.role="button"),d&&(ue["aria-disabled"]=d));const de=(0,wg.A)(t,z,j);const fe=(0,o.A)({},n,{centerRipple:s,component:u,disabled:d,disableRipple:f,disableTouchRipple:h,focusRipple:g,tabIndex:P,focusVisible:B}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Dg.A)(i,Ym,o);return n&&r&&(a.root+=` ${r}`),a})(fe);return(0,p.jsxs)(ey,(0,o.A)({as:ce,className:(0,Vh.A)(pe.root,c),ownerState:fe,onBlur:re,onClick:v,onContextMenu:Z,onFocus:oe,onKeyDown:se,onKeyUp:le,onMouseDown:Q,onMouseLeave:J,onMouseUp:X,onDragLeave:Y,onTouchEnd:te,onTouchMove:ne,onTouchStart:ee,ref:de,tabIndex:d?-1:P,type:N},ue,I,{children:[l,V?(0,p.jsx)(Zm,(0,o.A)({ref:W,center:s},M)):null]}))})),ny=ty;var ry=n(1676);function oy(e){return(0,Wg.Ay)("MuiButton",e)}const iy=(0,eg.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const ay=i.createContext({});const sy=i.createContext(void 0),ly=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],cy=e=>(0,o.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),uy=(0,Hh.Ay)(ny,{shouldForwardProp:e=>(0,Em.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,ry.A)(n.color)}`],t[`size${(0,ry.A)(n.size)}`],t[`${n.variant}Size${(0,ry.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:n}=e;var r,i;const a="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,o.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,o.A)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,Sm.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,Sm.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:`1px solid ${(t.vars||t).palette[n.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,Sm.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===n.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===n.variant&&"inherit"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}),"&:active":(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${iy.focusVisible}`]:(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${iy.disabled}`]:(0,o.A)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===n.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===n.variant&&{padding:"6px 8px"},"text"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main},"outlined"===n.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${(0,Sm.X4)(t.palette[n.color].main,.5)}`},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(r=(i=t.palette).getContrastText)?void 0:r.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:a,boxShadow:(t.vars||t).shadows[2]},"contained"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main},"inherit"===n.color&&{color:"inherit",borderColor:"currentColor"},"small"===n.size&&"text"===n.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"text"===n.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"outlined"===n.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"outlined"===n.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"contained"===n.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"contained"===n.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${iy.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${iy.disabled}`]:{boxShadow:"none"}}})),dy=(0,Hh.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,ry.A)(n.size)}`]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},cy(t))})),fy=(0,Hh.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,ry.A)(n.size)}`]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},cy(t))})),py=i.forwardRef((function(e,t){const n=i.useContext(ay),r=i.useContext(sy),s=(0,Xg.A)(n,e),l=(0,a.b)({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:d="button",className:f,disabled:h=!1,disableElevation:g=!1,disableFocusRipple:m=!1,endIcon:y,focusVisibleClassName:v,fullWidth:b=!1,size:w="medium",startIcon:x,type:C,variant:k="text"}=l,S=(0,Kh.A)(l,ly),E=(0,o.A)({},l,{color:u,component:d,disabled:h,disableElevation:g,disableFocusRipple:m,fullWidth:b,size:w,type:C,variant:k}),A=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:s}=e,l={root:["root",a,`${a}${(0,ry.A)(t)}`,`size${(0,ry.A)(i)}`,`${a}Size${(0,ry.A)(i)}`,`color${(0,ry.A)(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,ry.A)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,ry.A)(i)}`]},c=(0,Dg.A)(l,oy,s);return(0,o.A)({},s,c)})(E),_=x&&(0,p.jsx)(dy,{className:A.startIcon,ownerState:E,children:x}),T=y&&(0,p.jsx)(fy,{className:A.endIcon,ownerState:E,children:y}),R=r||"";return(0,p.jsxs)(uy,(0,o.A)({ownerState:E,className:(0,Vh.A)(n.className,A.root,f,R),component:d,disabled:h,focusRipple:!m,focusVisibleClassName:(0,Vh.A)(A.focusVisible,v),ref:t,type:C},S,{classes:A,children:[_,c,T]}))})),hy=py;var gy=n(4300);class my extends i.PureComponent{render(){const{content:e,fontSize:t,color:n,strokeColor:r,strokeWidth:o,decorationLine:i}=this.props,a={color:n,fontSize:t,fontWeight:"bold",position:"relative",zIndex:0,textTransform:"none",textDecorationLine:i?"line-through":"none",textDecorationColor:"#f30808",textDecorationThickness:"0.1em","&:after":{content:"attr(content)",WebkitTextStrokeColor:r,WebkitTextStrokeWidth:o,zIndex:-1,position:"absolute",left:0,top:0}};return(0,p.jsx)(og,{content:e,sx:a,children:e})}}function yy(e){return(0,Wg.Ay)("MuiCircularProgress",e)}(0,eg.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const vy=["className","color","disableShrink","size","style","thickness","value","variant"];let by,wy,xy,Cy,ky=e=>e;const Sy=44,Ey=(0,Nm.i7)(by||(by=ky`
|
|
1259
|
+
`),$m.rippleVisible,qm,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),$m.ripplePulsate,(e=>{let{theme:t}=e;return t.transitions.duration.shorter}),$m.child,$m.childLeaving,Hm,550,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),$m.childPulsate,Km,(e=>{let{theme:t}=e;return t.transitions.easing.easeInOut})),Qm=i.forwardRef((function(e,t){const n=(0,a.b)({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:s={},className:l}=n,c=(0,Kh.A)(n,Dm),[u,d]=i.useState([]),f=i.useRef(0),h=i.useRef(null);i.useEffect((()=>{h.current&&(h.current(),h.current=null)}),[u]);const g=i.useRef(!1),m=(0,Im.A)(),y=i.useRef(null),v=i.useRef(null),b=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;d((e=>[...e,(0,p.jsx)(Gm,{classes:{ripple:(0,Vh.A)(s.ripple,$m.ripple),rippleVisible:(0,Vh.A)(s.rippleVisible,$m.rippleVisible),ripplePulsate:(0,Vh.A)(s.ripplePulsate,$m.ripplePulsate),child:(0,Vh.A)(s.child,$m.child),childLeaving:(0,Vh.A)(s.childLeaving,$m.childLeaving),childPulsate:(0,Vh.A)(s.childPulsate,$m.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},f.current)])),f.current+=1,h.current=i}),[s]),w=i.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&g.current)return void(g.current=!1);"touchstart"===(null==e?void 0:e.type)&&(g.current=!0);const s=a?null:v.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2===0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===y.current&&(y.current=()=>{b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},m.start(80,(()=>{y.current&&(y.current(),y.current=null)}))):b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[r,b,m]),x=i.useCallback((()=>{w({},{pulsate:!0})}),[w]),C=i.useCallback(((e,t)=>{if(m.clear(),"touchend"===(null==e?void 0:e.type)&&y.current)return y.current(),y.current=null,void m.start(0,(()=>{C(e,t)}));y.current=null,d((e=>e.length>0?e.slice(1):e)),h.current=t}),[m]);return i.useImperativeHandle(t,(()=>({pulsate:x,start:w,stop:C})),[x,w,C]),(0,p.jsx)(Vm,(0,o.A)({className:(0,Vh.A)($m.root,s.root,l),ref:v},c,{children:(0,p.jsx)(Lm,{component:null,exit:!0,children:u})}))})),Zm=Qm;function Ym(e){return(0,Dg.Ay)("MuiButtonBase",e)}const Xm=(0,eg.A)("MuiButtonBase",["root","disabled","focusVisible"]),Jm=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ey=(0,Hh.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Xm.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ty=i.forwardRef((function(e,t){const n=(0,a.b)({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:s=!1,children:l,className:c,component:u="button",disabled:d=!1,disableRipple:f=!1,disableTouchRipple:h=!1,focusRipple:g=!1,LinkComponent:m="a",onBlur:y,onClick:v,onContextMenu:b,onDragLeave:w,onFocus:x,onFocusVisible:C,onKeyDown:k,onKeyUp:S,onMouseDown:E,onMouseLeave:A,onMouseUp:_,onTouchEnd:T,onTouchMove:R,onTouchStart:O,tabIndex:P=0,TouchRippleProps:M,touchRippleRef:L,type:N}=n,I=(0,Kh.A)(n,Jm),j=i.useRef(null),$=i.useRef(null),D=(0,wg.A)($,L),{isFocusVisibleRef:W,onFocus:U,onBlur:F,ref:z}=(0,_m.A)(),[B,q]=i.useState(!1);d&&B&&q(!1),i.useImperativeHandle(r,(()=>({focusVisible:()=>{q(!0),j.current.focus()}})),[]);const[H,K]=i.useState(!1);i.useEffect((()=>{K(!0)}),[]);const V=H&&!f&&!d;function G(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;return(0,Am.A)((r=>{t&&t(r);return!n&&$.current&&$.current[e](r),!0}))}i.useEffect((()=>{B&&g&&!f&&H&&$.current.pulsate()}),[f,g,B,H]);const Q=G("start",E),Z=G("stop",b),Y=G("stop",w),X=G("stop",_),J=G("stop",(e=>{B&&e.preventDefault(),A&&A(e)})),ee=G("start",O),te=G("stop",T),ne=G("stop",R),re=G("stop",(e=>{F(e),!1===W.current&&q(!1),y&&y(e)}),!1),oe=(0,Am.A)((e=>{j.current||(j.current=e.currentTarget),U(e),!0===W.current&&(q(!0),C&&C(e)),x&&x(e)})),ie=()=>{const e=j.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ae=i.useRef(!1),se=(0,Am.A)((e=>{g&&!ae.current&&B&&$.current&&" "===e.key&&(ae.current=!0,$.current.stop(e,(()=>{$.current.start(e)}))),e.target===e.currentTarget&&ie()&&" "===e.key&&e.preventDefault(),k&&k(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&!d&&(e.preventDefault(),v&&v(e))})),le=(0,Am.A)((e=>{g&&" "===e.key&&$.current&&B&&!e.defaultPrevented&&(ae.current=!1,$.current.stop(e,(()=>{$.current.pulsate(e)}))),S&&S(e),v&&e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&v(e)}));let ce=u;"button"===ce&&(I.href||I.to)&&(ce=m);const ue={};"button"===ce?(ue.type=void 0===N?"button":N,ue.disabled=d):(I.href||I.to||(ue.role="button"),d&&(ue["aria-disabled"]=d));const de=(0,wg.A)(t,z,j);const fe=(0,o.A)({},n,{centerRipple:s,component:u,disabled:d,disableRipple:f,disableTouchRipple:h,focusRipple:g,tabIndex:P,focusVisible:B}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,Wg.A)(i,Ym,o);return n&&r&&(a.root+=` ${r}`),a})(fe);return(0,p.jsxs)(ey,(0,o.A)({as:ce,className:(0,Vh.A)(pe.root,c),ownerState:fe,onBlur:re,onClick:v,onContextMenu:Z,onFocus:oe,onKeyDown:se,onKeyUp:le,onMouseDown:Q,onMouseLeave:J,onMouseUp:X,onDragLeave:Y,onTouchEnd:te,onTouchMove:ne,onTouchStart:ee,ref:de,tabIndex:d?-1:P,type:N},ue,I,{children:[l,V?(0,p.jsx)(Zm,(0,o.A)({ref:D,center:s},M)):null]}))})),ny=ty;var ry=n(1676);function oy(e){return(0,Dg.Ay)("MuiButton",e)}const iy=(0,eg.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const ay=i.createContext({});const sy=i.createContext(void 0),ly=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],cy=e=>(0,o.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),uy=(0,Hh.Ay)(ny,{shouldForwardProp:e=>(0,Em.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,ry.A)(n.color)}`],t[`size${(0,ry.A)(n.size)}`],t[`${n.variant}Size${(0,ry.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((e=>{let{theme:t,ownerState:n}=e;var r,i;const a="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,o.A)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,o.A)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,Sm.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,Sm.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:`1px solid ${(t.vars||t).palette[n.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,Sm.X4)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===n.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===n.variant&&"inherit"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[n.color].main}}),"&:active":(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${iy.focusVisible}`]:(0,o.A)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${iy.disabled}`]:(0,o.A)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===n.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===n.variant&&{padding:"6px 8px"},"text"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main},"outlined"===n.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${(0,Sm.X4)(t.palette[n.color].main,.5)}`},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(r=(i=t.palette).getContrastText)?void 0:r.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:a,boxShadow:(t.vars||t).shadows[2]},"contained"===n.variant&&"inherit"!==n.color&&{color:(t.vars||t).palette[n.color].contrastText,backgroundColor:(t.vars||t).palette[n.color].main},"inherit"===n.color&&{color:"inherit",borderColor:"currentColor"},"small"===n.size&&"text"===n.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"text"===n.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"outlined"===n.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"outlined"===n.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===n.size&&"contained"===n.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===n.size&&"contained"===n.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${iy.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${iy.disabled}`]:{boxShadow:"none"}}})),dy=(0,Hh.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,ry.A)(n.size)}`]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},cy(t))})),fy=(0,Hh.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,ry.A)(n.size)}`]]}})((e=>{let{ownerState:t}=e;return(0,o.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},cy(t))})),py=i.forwardRef((function(e,t){const n=i.useContext(ay),r=i.useContext(sy),s=(0,Xg.A)(n,e),l=(0,a.b)({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:d="button",className:f,disabled:h=!1,disableElevation:g=!1,disableFocusRipple:m=!1,endIcon:y,focusVisibleClassName:v,fullWidth:b=!1,size:w="medium",startIcon:x,type:C,variant:k="text"}=l,S=(0,Kh.A)(l,ly),E=(0,o.A)({},l,{color:u,component:d,disabled:h,disableElevation:g,disableFocusRipple:m,fullWidth:b,size:w,type:C,variant:k}),A=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:s}=e,l={root:["root",a,`${a}${(0,ry.A)(t)}`,`size${(0,ry.A)(i)}`,`${a}Size${(0,ry.A)(i)}`,`color${(0,ry.A)(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,ry.A)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,ry.A)(i)}`]},c=(0,Wg.A)(l,oy,s);return(0,o.A)({},s,c)})(E),_=x&&(0,p.jsx)(dy,{className:A.startIcon,ownerState:E,children:x}),T=y&&(0,p.jsx)(fy,{className:A.endIcon,ownerState:E,children:y}),R=r||"";return(0,p.jsxs)(uy,(0,o.A)({ownerState:E,className:(0,Vh.A)(n.className,A.root,f,R),component:d,disabled:h,focusRipple:!m,focusVisibleClassName:(0,Vh.A)(A.focusVisible,v),ref:t,type:C},S,{classes:A,children:[_,c,T]}))})),hy=py;var gy=n(4300);class my extends i.PureComponent{render(){const{content:e,fontSize:t,color:n,strokeColor:r,strokeWidth:o,decorationLine:i}=this.props,a={color:n,fontSize:t,fontWeight:"bold",position:"relative",zIndex:0,textTransform:"none",textDecorationLine:i?"line-through":"none",textDecorationColor:"#f30808",textDecorationThickness:"0.1em","&:after":{content:"attr(content)",WebkitTextStrokeColor:r,WebkitTextStrokeWidth:o,zIndex:-1,position:"absolute",left:0,top:0}};return(0,p.jsx)(og,{content:e,sx:a,children:e})}}function yy(e){return(0,Dg.Ay)("MuiCircularProgress",e)}(0,eg.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const vy=["className","color","disableShrink","size","style","thickness","value","variant"];let by,wy,xy,Cy,ky=e=>e;const Sy=44,Ey=(0,Nm.i7)(by||(by=ky`
|
|
1260
1260
|
0% {
|
|
1261
1261
|
transform: rotate(0deg);
|
|
1262
1262
|
}
|
|
@@ -1283,4 +1283,4 @@ var PlutoSDK;(()=>{var e={8603:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=fu
|
|
|
1283
1283
|
animation: ${0} 1.4s linear infinite;
|
|
1284
1284
|
`),Ey)})),Ty=(0,Hh.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Ry=(0,Hh.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,ry.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((e=>{let{ownerState:t,theme:n}=e;return(0,o.A)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink&&(0,Nm.AH)(Cy||(Cy=ky`
|
|
1285
1285
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
1286
|
-
`),Ay)})),Oy=i.forwardRef((function(e,t){const n=(0,a.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:i="primary",disableShrink:s=!1,size:l=40,style:c,thickness:u=3.6,value:d=0,variant:f="indeterminate"}=n,h=(0,Kh.A)(n,vy),g=(0,o.A)({},n,{color:i,disableShrink:s,size:l,thickness:u,value:d,variant:f}),m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,ry.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,ry.A)(n)}`,o&&"circleDisableShrink"]};return(0,Dg.A)(i,yy,t)})(g),y={},v={},b={};if("determinate"===f){const e=2*Math.PI*((Sy-u)/2);y.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),y.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,v.transform="rotate(-90deg)"}return(0,p.jsx)(_y,(0,o.A)({className:(0,Vh.A)(m.root,r),style:(0,o.A)({width:l,height:l},v,c),ownerState:g,ref:t,role:"progressbar"},b,h,{children:(0,p.jsx)(Ty,{className:m.svg,ownerState:g,viewBox:"22 22 44 44",children:(0,p.jsx)(Ry,{className:m.circle,style:y,ownerState:g,cx:Sy,cy:Sy,r:(Sy-u)/2,fill:"none",strokeWidth:u})})}))})),Py=Oy;class My extends i.PureComponent{constructor(){super(...arguments),this._timer=null,this.state={showCircle:!1}}componentDidMount(){this._timer=window.setTimeout((()=>{this.setState({showCircle:!0})}),600)}componentWillUnmount(){this._timer&&window.clearTimeout(this._timer)}render(){return(0,p.jsx)(og,{sx:{height:1,width:1,display:"flex",position:"fixed",zIndex:999,left:0,top:0},children:(0,p.jsxs)(og,{sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto"},children:[(0,p.jsx)(og,{sx:{width:120,height:80,backgroundColor:"#424242",borderRadius:2,opacity:.7}}),(0,p.jsx)(og,{sx:{top:0,right:0,bottom:0,left:0,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",color:"#fff"},children:(0,p.jsx)(Py,{color:"inherit"})})]})})}}let Ly=null;const Ny=()=>{if(Ly)return;const e=document.createElement("div");document.body.appendChild(e);const n=(0,t.H)(e);n.render((0,p.jsx)(My,{})),Ly={div:e,root:n}},Iy=()=>{var e;if(!Ly)return;const t=Ly.div;Ly.root.unmount(),null===(e=t.parentNode)||void 0===e||e.removeChild(t),Ly=null},jy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],$y={entering:{transform:"none"},entered:{transform:"none"}},Wy=i.forwardRef((function(e,t){const n=xg(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:h,onExit:g,onExited:m,onExiting:y,style:v,timeout:b=r,TransitionComponent:w=vg}=e,x=(0,Kh.A)(e,jy),C=i.useRef(null),k=(0,wg.A)(C,l.ref,t),S=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},E=S(h),A=S(((e,t)=>{Cg(e);const r=kg({style:v,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",r),e.style.transition=n.transitions.create("transform",r),d&&d(e,t)})),_=S(f),T=S(y),R=S((e=>{const t=kg({style:v,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),g&&g(e)})),O=S(m);return(0,p.jsx)(w,(0,o.A)({appear:s,in:u,nodeRef:C,onEnter:A,onEntered:_,onEntering:E,onExit:R,onExited:O,onExiting:T,addEndListener:e=>{a&&a(C.current,e)},timeout:b},x,{children:(e,t)=>i.cloneElement(l,(0,o.A)({style:(0,o.A)({transform:"scale(0)",visibility:"exited"!==e||u?void 0:"hidden"},$y[e],v,l.props.style),ref:k},t))}))})),Dy=Wy;class Uy extends i.PureComponent{constructor(){super(...arguments),this._aniTimer=null,this._closeTimer=null,this.state={checked:!0},this.onExited=()=>{const{id:e}=this.props;this._closeTimer=window.setTimeout((()=>{zy(e)}),500)}}componentDidMount(){this._aniTimer=window.setTimeout((()=>{this.setState({checked:!1})}),2e3)}componentWillUnmount(){this._aniTimer&&window.clearTimeout(this._aniTimer),this._closeTimer&&window.clearTimeout(this._closeTimer)}render(){const{checked:e}=this.state,{text:t}=this.props;return(0,p.jsx)(og,{sx:{position:"fixed",zIndex:999,top:"40%",width:"100%"},children:(0,p.jsx)(Tg,{direction:"down",in:e,timeout:{exit:1200},onExited:this.onExited,children:(0,p.jsx)(og,{children:(0,p.jsx)(Dy,{in:!0,timeout:{enter:1e3},children:(0,p.jsx)(og,{sx:{display:"flex"},children:(0,p.jsx)(Lg,{in:e,timeout:{enter:1e3,exit:1e3},children:(0,p.jsx)(og,{sx:{minWidth:160,maxWidth:320,m:"0 auto",backgroundColor:"#757575",textAlign:"center",p:1,borderRadius:2,color:"#fff",wordWrap:"break-word"},children:t})})})})})})})}}const Fy={},zy=e=>{var t;const n=Fy[e];if(!n)return;const r=n.div;n.root.unmount(),null===(t=r.parentNode)||void 0===t||t.removeChild(r),delete Fy[e]},By=e=>{const n=((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(1,1e3)+"-"+Date.now(),r=document.createElement("div");document.body.appendChild(r);const o=(0,t.H)(r);o.render((0,p.jsx)(Uy,{id:n,text:e})),Fy[n]={div:r,root:o}};class qy extends i.PureComponent{constructor(){super(...arguments),this.onClickShare=()=>{if(!zh.plutoId)return void console.log("pluto id is null");if(!Lh())return void console.log("not on telegram environment");if(Ih())return void qh.shareForWeb().then((()=>{console.log("share success")})).then((()=>{console.log("share fail")}));if(!qh.shareMessageEnable())return void By("If you are unable to share, please update Telegram to the latest version and try again.");Ny();const e=qh.formatShareLink();qh.reqGetShareMessage(e).then((e=>(console.log("pluto sdk share"),Iy(),qh.shareMessage(e)))).then((()=>{console.log("share success")})).catch((()=>{console.log("share fail"),Iy()}))}}render(){return(0,p.jsx)(og,{sx:{height:50,position:"relative"},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:this.onClickShare,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(gy.A,{sx:{width:26,height:26,position:"relative",mr:1}}),(0,p.jsx)(my,{content:"Share",fontSize:22,color:"#fff",strokeColor:"#4a7408",strokeWidth:3})]})})}}class Hy extends i.PureComponent{constructor(){super(...arguments),this.state={showPlay:!1},this.onReady=(e,t)=>{this.setState({showPlay:t})}}componentDidMount(){Ud().subscribe(Bd,this.onReady)}componentWillUnmount(){Ud().unsubscribe(this.onReady)}render(){const{showPlay:e}=this.state,{onClick:t}=this.props;return e?(0,p.jsx)(og,{sx:{height:50,position:"relative",mx:1.25},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:t,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_1.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(my,{content:"Play",fontSize:22,color:"#fff",strokeColor:"#0e3772",strokeWidth:3})]})}):(0,p.jsxs)(og,{sx:{height:50,position:"relative",mx:1.25},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_3.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsxs)(og,{sx:{width:1,height:1,color:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,p.jsx)(my,{content:"Loading",fontSize:22,color:"#fff",strokeColor:"#505151",strokeWidth:3}),(0,p.jsx)(Py,{sx:{position:"absolute",right:20},color:"inherit",size:28})]})]})}}class Ky extends i.PureComponent{constructor(){super(...arguments),this.onClickAdd=()=>{try{Telegram.WebApp.addToHomeScreen()}catch(e){}}}render(){return(0,p.jsx)(og,{sx:{height:50,position:"relative"},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3,minWidth:50},variant:"contained",onClick:this.onClickAdd,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(og,{component:"img",src:Mh("add_screen.png"),sx:{position:"relative"}})]})})}}const Vy=(0,Hh.Ay)(og)((()=>({width:"100%",maxWidth:430,margin:"0 auto",position:"relative"})));class Gy extends i.PureComponent{constructor(){super(...arguments),this.state={showSlide:!0},this.onExited=()=>{PubSub.publish(qd,tf.none)},this.onClickPlay=()=>{this.setState({showSlide:!1}),PubSub.publish(Kd,{})}}render(){const{showSlide:e}=this.state,t=qh.hideShare;return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative",backgroundColor:"#FEF8E2"},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"relative",backgroundImage:`url(${Mh("bg_1.png")})`}}),(0,p.jsx)(jg,{}),(0,p.jsx)(og,{sx:{width:1,bottom:Wh()?40:20,position:"absolute"},children:(0,p.jsx)(Tg,{direction:"up",in:e,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:600,exit:600},onExited:this.onExited,children:(0,p.jsxs)(og,{children:[(0,p.jsxs)(Vy,{children:[(0,p.jsx)(Rg,{}),(0,p.jsxs)(og,{sx:{position:"relative",px:3,pt:1,pb:4},children:[(0,p.jsx)(km,{}),t?null:Wh()?(0,p.jsxs)(og,{sx:{height:50},children:[(0,p.jsx)(og,{sx:{width:.8,height:50,float:"left"},children:(0,p.jsx)(qy,{})}),(0,p.jsx)(og,{sx:{width:.18,height:50,float:"right"},children:(0,p.jsx)(Ky,{})})]}):(0,p.jsx)(qy,{})]})]}),(0,p.jsx)(Vy,{sx:{paddingTop:2},children:(0,p.jsx)(Hy,{onClick:this.onClickPlay})})]})})})]})}}var Qy=n(8286),Zy=n(7937);const Yy=["component","direction","spacing","divider","children","className","useFlexGap"],Xy=(0,l.A)(),Jy=Yg("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ev(e){return Jg({props:e,name:"MuiStack",defaultTheme:Xy})}function tv(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(i.cloneElement(t,{key:`separator-${o}`})),e)),[])}const nv=e=>{let{ownerState:t,theme:n}=e,r=(0,o.A)({display:"flex",flexDirection:"column"},(0,Qy.NI)({theme:n},(0,Qy.kW)({values:t.direction,breakpoints:n.breakpoints.values}),(e=>({flexDirection:e}))));if(t.spacing){const e=(0,Zy.LX)(n),o=Object.keys(n.breakpoints.values).reduce(((e,n)=>(("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e)),{}),i=(0,Qy.kW)({values:t.direction,base:o}),a=(0,Qy.kW)({values:t.spacing,base:o});"object"===typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const s=(n,r)=>{return t.useFlexGap?{gap:(0,Zy._W)(e,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=r?i[r]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,Zy._W)(e,n)}};var o};r=(0,Ug.A)(r,(0,Qy.NI)({theme:n},a,s))}return r=(0,Qy.iZ)(n.breakpoints,r),r};const rv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=Jy,useThemeProps:n=ev,componentName:r="MuiStack"}=e,a=t(nv),s=i.forwardRef((function(e,t){const i=n(e),s=(0,Zh.A)(i),{component:l="div",direction:c="column",spacing:u=0,divider:d,children:f,className:h,useFlexGap:g=!1}=s,m=(0,Kh.A)(s,Yy),y={direction:c,spacing:u,useFlexGap:g},v=(0,Dg.A)({root:["root"]},(e=>(0,Wg.Ay)(r,e)),{});return(0,p.jsx)(a,(0,o.A)({as:l,ownerState:y,ref:t,className:(0,Vh.A)(v.root,h)},m,{children:d?tv(f,d):f}))}));return s}({createStyledComponent:(0,Hh.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,a.b)({props:e,name:"MuiStack"})}),ov=rv;class iv extends i.PureComponent{render(){return(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",left:0,top:0,background:"rgba(0,0,0,0.4)",backgroundSize:"cover",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)"}})}}class av extends i.PureComponent{render(){const{title:e}=this.props;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(og,{sx:{width:1,height:70,position:"relative"},children:(0,p.jsxs)(og,{sx:{width:1,height:70,pt:1,position:"absolute",display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,p.jsx)(og,{component:"img",src:Mh("dot.png"),sx:{width:28,height:24,position:"relative",mt:1.5}}),(0,p.jsx)(og,{sx:{fontSize:32,fontWeight:"bold",color:"#ca996e",mx:1},children:e}),(0,p.jsx)(og,{component:"img",src:Mh("dot.png"),sx:{width:28,height:24,position:"relative",mb:1.5}})]})}),(0,p.jsx)(og,{sx:{mx:5,borderBottom:"3px solid #a8774d",position:"relative"}})]})}}const sv=(0,Hh.Ay)(hy)((()=>({color:"#fff",width:114,height:30,borderRadius:13,backgroundColor:"#e0c6a0",borderColor:"#e0c6a0",textTransform:"none","&:hover":{backgroundColor:"#e0c6a0",borderColor:"#e0c6a0"}}))),lv=(0,Hh.Ay)(hy)((()=>({color:"#666666",width:114,height:30,borderRadius:13,backgroundColor:"#fff",borderColor:"#787772",textTransform:"none","&:hover":{backgroundColor:"#fff",borderColor:"#787772"}})));class cv extends i.PureComponent{constructor(){super(...arguments),this.state={address:Oh.friendlyAddress,showDisconnect:!1},this.onWalletConnect=(e,t)=>{t?this.setState({address:Oh.friendlyAddress}):this.setState({address:null,showDisconnect:!1})},this.onClickWallet=()=>{const{showDisconnect:e}=this.state;this.setState({showDisconnect:!e})},this.onClickDisconnect=()=>{Oh.disconnect()}}componentDidMount(){Ud().subscribe(Hd,this.onWalletConnect)}componentWillUnmount(){Ud().unsubscribe(this.onWalletConnect)}render(){const{address:e,showDisconnect:t}=this.state;if(!e)return null;let n=e.length,r=e.substring(0,4)+"..."+e.substring(n-4,n);return(0,p.jsxs)(ov,{spacing:1,sx:{float:"right",width:114,pt:.5},children:[(0,p.jsx)(sv,{variant:"outlined",onClick:this.onClickWallet,children:r}),t?(0,p.jsx)(lv,{variant:"outlined",onClick:this.onClickDisconnect,children:"Disconnect"}):null]})}}class uv extends i.PureComponent{render(){const{name:e,usdt:t}=zh.purchaseData;return(0,p.jsxs)(og,{sx:{width:1,height:120,position:"relative"},children:[(0,p.jsxs)(og,{sx:{top:0,left:0,width:1,textAlign:"center",position:"absolute"},children:[(0,p.jsx)(og,{sx:{fontSize:24,fontWeight:"bold",pt:4,color:"#7c4b30"},children:e}),(0,p.jsx)(og,{sx:{width:1,display:"flex",justifyContent:"center"},children:(0,p.jsx)(my,{content:`= $${t.toFixed(2)}`,fontSize:18,color:"#fff",strokeColor:"#ba4f25",strokeWidth:3})})]}),(0,p.jsx)(og,{sx:{mx:5,position:"relative"},children:(0,p.jsx)(cv,{})})]})}}class dv extends i.PureComponent{render(){const{currency:e,price:t,oldPrice:n,discount:r,onClickPay:o}=this.props,i=Mh(cf[e]),a=lf[e],s=`${e==rf.star?t:t.toFixed(2)} ${a}`,l=`\xa0${e==rf.star?n:n.toFixed(2)} ${a}\xa0`;return(0,p.jsxs)(og,{sx:{height:50,position:"relative"},children:[(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:o,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(og,{component:"img",src:i,sx:{width:30,height:30,mr:1,position:"relative"}}),(0,p.jsx)(my,{content:s,fontSize:22,color:"#fff",strokeColor:"#4a7408",strokeWidth:3}),(0,p.jsx)(og,{sx:{width:"10px"}}),r>0?(0,p.jsx)(my,{content:l,fontSize:14,color:"#fff",strokeColor:"#4a7408",strokeWidth:2,decorationLine:!0}):null]}),r>0?(0,p.jsx)(og,{sx:{top:-12,right:-20,bottom:0,left:-20,position:"absolute",pointerEvents:"none"},children:(0,p.jsxs)(og,{sx:{width:62,height:50,rotate:"-20deg",position:"relative",float:"right",display:"inline-block"},children:[(0,p.jsx)(og,{component:"img",src:Mh("sale_off.png"),sx:{width:62,height:50,position:"absolute",display:"block"}}),(0,p.jsx)(og,{sx:{top:6,width:62,height:25,textAlign:"center",color:"#fff",fontSize:16,fontWeight:"bold",position:"absolute"},children:100*r+"%"}),(0,p.jsx)(og,{sx:{bottom:6,width:62,height:25,textAlign:"center",color:"#fff",fontSize:16,fontWeight:"bold",position:"absolute"},children:"OFF"})]})}):null]})}}class fv extends i.PureComponent{constructor(){super(...arguments),this._status=!1,this.state={showSlide:!0},this.onExited=()=>{Ud().publish(qd,tf.none)},this.onClickTon=()=>{this.connectWallet().then((()=>(Ny(),qh.reqOrder(nf.tonConnect,rf.ton)))).then((e=>{Iy(),this.sendTransaction({amount:e.amount,address:e.address,payload:e.payload})})).catch((e=>{Iy(),e.code!=ef.walletError&&By(e.message)}))},this.onClickCati=()=>{this.connectWallet().then((()=>(Ny(),qh.reqOrder(nf.tonConnect,rf.cati)))).then((e=>Oh.getTokenPayload(of.cati,e.amount,e.payload,e.address))).then((e=>{Iy(),this.sendTransaction({amount:"100000000",address:e.address,payload:e.payload})})).catch((e=>{Iy(),e.code!=ef.walletError&&By(e.message)}))},this.onClickUsdt=()=>{this.connectWallet().then((()=>(Ny(),qh.reqOrder(nf.tonConnect,rf.usdt)))).then((e=>Oh.getTokenPayload(of.usdt,e.amount,e.payload,e.address))).then((e=>{Iy(),this.sendTransaction({amount:"100000000",address:e.address,payload:e.payload})})).catch((e=>{Iy(),e.code!=ef.walletError&&By(e.message)}))},this.onClickStar=()=>{Ny(),qh.reqOrder(nf.star,rf.star).then((e=>{Iy(),qh.reportStarPayStatus(e.orderNo,e.payLink,e.amount,0),qh.openInvoice(e.payLink).then((()=>{qh.reportStarPayStatus(e.orderNo,e.payLink,e.amount,1),this._status=!0,this.onClickClose()})).catch((()=>{qh.reportStarPayStatus(e.orderNo,e.payLink,e.amount,2)}))})).catch((e=>{Iy(),By(e.message)}))},this.onClickClose=()=>{this.setState({showSlide:!1})}}componentWillUnmount(){const e=this._status,{productId:t,orderId:n,customData:r}=zh.purchaseData,o=e?zh.purchaseData.orderNo:"";Ud().publish(Vd,{success:e,productId:t,orderId:n,customData:r,orderNo:o})}render(){const{ton:e,tonOld:t,tonDiscount:n,usdt:r,usdtOld:o,usdtDiscount:i,cati:a,catiOld:s,catiDiscount:l,star:c,starOld:u,starDiscount:d}=zh.purchaseData,{showSlide:f}=this.state;return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative"},children:[(0,p.jsx)(iv,{}),(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative",overflowY:"auto",scrollbarWidth:"none !important","::-webkit-scrollbar":{display:"none !important"}},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"fixed"},onClick:this.onClickClose}),(0,p.jsx)(og,{sx:{width:"100%",position:"absolute",pointerEvents:"none",bottom:20,"@media (max-height: 480px)":{top:10}},children:(0,p.jsx)(Tg,{direction:"up",in:f,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:600,exit:600},onExited:this.onExited,children:(0,p.jsxs)(og,{sx:{width:1,maxWidth:430,m:"0 auto",position:"relative",pointerEvents:"auto"},children:[(0,p.jsx)(Rg,{}),(0,p.jsx)(av,{title:"Purchase"}),(0,p.jsx)(uv,{}),(0,p.jsxs)(ov,{spacing:2,sx:{mx:5,pb:4},children:[this.showTokenPay()?(0,p.jsxs)(p.Fragment,{children:[this.showCatiPay()?(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(dv,{currency:rf.cati,price:a,oldPrice:s,discount:l,onClickPay:this.onClickCati})}):null,this.showTonPay()?(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(dv,{currency:rf.ton,price:e,oldPrice:t,discount:n,onClickPay:this.onClickTon})}):null,(0,p.jsx)(dv,{currency:rf.usdt,price:r,oldPrice:o,discount:i,onClickPay:this.onClickUsdt})]}):null,this.showStarPay()?(0,p.jsx)(dv,{currency:rf.star,price:c,oldPrice:u,discount:d,onClickPay:this.onClickStar}):null]})]})})})]})]})}connectWallet(){return new Promise(((e,t)=>{if(Oh.connected)return e();Oh.connect().then((t=>{e()})).catch((e=>{t(e)}))}))}sendTransaction(e){const t=Oh.chain;k.TEST_MODE&&t==R.MAINNET?By("Please switch chain TESTNET"):k.TEST_MODE||t!=R.TESTNET?Oh.sendTransaction(e).then((e=>{this._status=!0,this.onClickClose()})).catch((e=>{console.log(e.message)})):By("Please switch chain MAINNET")}showTokenPay(){return!!k.TEST_MODE||!jh()&&!$h()}showTonPay(){return"1000"==k.GAME_ID||"1002"==k.GAME_ID||"1041"==k.GAME_ID}showCatiPay(){return"1000"==k.GAME_ID||"1002"==k.GAME_ID||"1041"==k.GAME_ID}showStarPay(){if(!Lh())return!1;const{usdt:e}=zh.purchaseData;return!(e>2e3)}}class pv extends i.PureComponent{render(){const{name:e}=zh.checkInData;return(0,p.jsxs)(og,{sx:{width:1,height:100,position:"relative"},children:[(0,p.jsx)(og,{sx:{top:0,left:0,width:1,textAlign:"center",position:"absolute"},children:(0,p.jsx)(og,{sx:{fontSize:24,fontWeight:"bold",pt:4,color:"#7c4b30"},children:e})}),(0,p.jsx)(og,{sx:{mx:5,position:"relative"},children:(0,p.jsx)(cv,{})})]})}}class hv extends i.PureComponent{constructor(){super(...arguments),this.state={buttonText:Oh.connected?"Claim":"Connect wallet"},this.onWalletConnect=(e,t)=>{this.setState({buttonText:t?"Claim":"Connect wallet"})}}componentDidMount(){Ud().subscribe(Hd,this.onWalletConnect)}componentWillUnmount(){Ud().unsubscribe(this.onWalletConnect)}render(){const{onClickSignIn:e}=this.props,{buttonText:t}=this.state;return(0,p.jsx)(og,{sx:{height:50,position:"relative"},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:e,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(my,{content:t,fontSize:22,color:"#fff",strokeColor:"#4a7408",strokeWidth:3})]})})}}class gv extends i.PureComponent{constructor(){super(...arguments),this._status=!1,this.state={showSlide:!0},this.onEntered=()=>{this.onClickSignIn()},this.onExited=()=>{Ud().publish(qd,tf.none)},this.onClickSignIn=()=>{this.connectWallet().then((()=>{const{amount:e,payload:t,address:n}=zh.checkInData;this.sendTransaction({amount:e,address:n,payload:t})})).catch((e=>{console.log(e)}))},this.onClickClose=()=>{this.setState({showSlide:!1})}}componentWillUnmount(){const e=this._status,{orderId:t,customData:n}=zh.checkInData;Ud().publish(Gd,{success:e,orderId:t,customData:n})}render(){const{showSlide:e}=this.state;return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative"},children:[(0,p.jsx)(iv,{}),(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative"},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"fixed"},onClick:this.onClickClose}),(0,p.jsx)(og,{sx:{width:1,position:"absolute",bottom:40,pointerEvents:"none"},children:(0,p.jsx)(Tg,{direction:"up",in:e,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:600,exit:600},onEntered:this.onEntered,onExited:this.onExited,children:(0,p.jsxs)(og,{sx:{width:"96%",maxWidth:430,m:"0 auto",position:"relative",pointerEvents:"auto"},children:[(0,p.jsx)(Rg,{}),(0,p.jsx)(av,{title:"Claim"}),(0,p.jsx)(pv,{}),(0,p.jsx)(ov,{spacing:2,sx:{mx:5,pb:4},children:(0,p.jsx)(hv,{onClickSignIn:this.onClickSignIn})})]})})})]})]})}connectWallet(){return new Promise(((e,t)=>{if(Oh.connected)return e();Oh.connect().then((t=>{e()})).catch((e=>{t(e)}))}))}sendTransaction(e){const t=Oh.chain;k.TEST_MODE&&t==R.MAINNET?By("Please switch chain TESTNET"):k.TEST_MODE||t!=R.TESTNET?Oh.sendTransaction(e).then((e=>{this.verify(e)})).catch((e=>{console.log(e.message)})):By("Please switch chain MAINNET")}verify(e){const t=Oh.chain,n=Oh.friendlyAddress,r=zh.checkInData.orderNo;Ny(),qh.reqCheckInVerify(t,e,r,n).then((()=>{Iy(),this._status=!0,this.onClickClose()})).catch((e=>{Iy(),By(e.message),this.onClickClose()}))}}const mv=(0,Hh.Ay)(og)((()=>({height:"100%",width:"100%",display:"flex",position:"fixed",zIndex:999,left:0,top:0})));class yv extends i.PureComponent{constructor(){super(...arguments),this.state={pageId:tf.index},this.onSwitchPage=(e,t)=>{this.setState({pageId:t})}}componentDidMount(){Ud().subscribe(qd,this.onSwitchPage),Ud().publish(Fd,null)}render(){const{pageId:e}=this.state;let t=null;switch(e){case tf.index:t=ig;break;case tf.login:t=Gy;break;case tf.purchase:t=fv;break;case tf.checkIn:t=gv}return t?(0,p.jsx)(mv,{children:(0,p.jsx)(t,{})}):null}}const vv=()=>{console.info(`Pluto SDK version: ${k.APP_VERSION}`),k.init(),Rh.init(),qh.init(),Oh.init(),Ph.init();document.body.style.overflow="hidden";const e=document.createElement("div");e.id="pluto-root",document.body.appendChild(e);(0,t.H)(e).render((0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(w,{}),(0,p.jsx)(yv,{})]}))},bv=()=>{document.body?vv():document.addEventListener("DOMContentLoaded",(e=>{vv()}))};class wv extends i.PureComponent{render(){const e=zh.gameInfo.orientation==af.portrait,t=`This game is in ${e?"vertical":"horizontal"} mode`,n=e?"rotate_mobile_v.png":"rotate_mobile_h.png";return(0,p.jsx)(og,{sx:{height:1,width:1,display:"flex",alignItems:"center",position:"fixed",zIndex:999,left:0,top:0,backgroundColor:"#424242"},children:(0,p.jsxs)(og,{sx:{position:"relative",margin:"0 auto",textAlign:"center"},children:[(0,p.jsx)(og,{component:"img",src:Mh(n),sx:{position:"relative"}}),(0,p.jsx)(og,{sx:{fontSize:28,fontWeight:"bold",color:"#fff"},children:"Rotate you device"}),(0,p.jsx)(og,{sx:{fontSize:16,color:"#fff"},children:t})]})})}}let xv=null;const Cv=()=>{if(xv)return;const e=document.createElement("div");document.body.appendChild(e);const n=(0,t.H)(e);n.render((0,p.jsx)(wv,{})),xv={div:e,root:n}},kv=()=>{var e;if(!xv)return;const t=xv.div;xv.root.unmount(),null===(e=t.parentNode)||void 0===e||e.removeChild(t),xv=null},Sv=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Jv.init(e)},Ev=()=>Jv.login(),Av=()=>{Jv.ready()},_v=function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;return Jv.purchase(e,t,n,r,o,i)},Tv=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Jv.checkIn(e,t,n,r)},Rv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Jv.share(e,t)},Ov=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Jv.getShareLink(e)},Pv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Jv.copyShareLink(e)},Mv=e=>Jv.getItem(e),Lv=(e,t)=>Jv.setItem(e,t),Nv=e=>Jv.consumePurchase(e),Iv=()=>Jv.queryPurchses(),jv=e=>{Jv.vibrate(e)},$v=(e,t)=>{Jv.onEvent(e,t)},Wv=()=>Jv.getSafeAreaInset(),Dv=()=>Jv.getContentSafeAreaInset(),Uv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ad_event1";return Jv.playAd(e)},Fv=()=>Jv.isDesktopEnabled(),zv=()=>Jv.isTelegramClient(),Bv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Jv.openGameForWeb(e)},qv=()=>Jv.getCpCustomLink(),Hv=()=>Jv.getStartParam(),Kv=()=>Jv.connectWallet(),Vv=()=>Jv.disconnectWallet(),Gv=()=>Jv.isConnectedWallet(),Qv=()=>Jv.getWalletRawAddress(),Zv=()=>Jv.getWalletFriendlyAddress(),Yv=()=>Jv.getWalletName(),Xv=(e,t,n,r)=>Jv.depositToken(e,t,n,r);const Jv=new class{constructor(){this._appDidMount=!1,this._loadingGame=!1,this._initialized=!1,this._logined=!1,this._purchaseing=!1,this._checkingIn=!1,this.onAppDidMount=(e,t)=>{this._appDidMount=!0,this.getGameInfo()},Ud().subscribe(Fd,this.onAppDidMount)}init(e){if(!Telegram.WebApp.isFullscreen&&e&&Wh())try{Telegram.WebApp.requestFullscreen()}catch(t){}return new Promise(((e,t)=>{if(zh.gameInfo)return this._initialized=!0,this.addOrientationChangeListener(),e();Ud().subscribeOnce(zd,((n,r)=>{if(r)return this._initialized=!0,this.addOrientationChangeListener(),e();By("Init game error, please try again later"),t({code:ef.initError,message:"Init error"})})),this._appDidMount&&this.getGameInfo()}))}login(){return this._initialized?this._logined?Promise.reject({code:ef.logined,message:"Pluto sdk already login"}):qh.reqLogin().then((e=>(this._logined=!0,e))):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"})}ready(){this._logined?Ud().publish(Bd,!0):console.warn("pluto sdk not login!")}purchase(e,t,n,r,o,i){return new Promise(((a,s)=>e&&t&&n&&r?this._logined?this._purchaseing?s({code:ef.purchaseing,message:"Payment is being processed"}):(Ph.registerCallback(Qd,i),this._purchaseing=!0,void qh.reqPurchase(e,t,n,r,o).then((()=>{this._purchaseing=!1,Ud().publish(qd,tf.purchase),a()})).catch((e=>{this._purchaseing=!1,console.log(e.message),s(e)}))):s({code:ef.notLogin,message:"Pluto sdk not login"}):s({code:ef.paramError,message:"Params error"})))}checkIn(e,t,n,r){return new Promise(((o,i)=>e&&t?this._logined?this._checkingIn?i({code:ef.checkingIn,message:"Check in is being processed"}):(Ph.registerCallback(Zd,r),this._checkingIn=!0,void qh.reqCheckIn(e,t,n).then((()=>{this._checkingIn=!1,Ud().publish(qd,tf.checkIn),o()})).catch((e=>{this._checkingIn=!1,console.log(e.message),i(e)}))):i({code:ef.notLogin,message:"Pluto sdk not login"}):i({code:ef.paramError,message:"Params error"})))}share(e,t){return new Promise(((n,r)=>{if(!this._logined)return r("pluto sdk not login");if(!Lh())return console.log("pluto sdk share"),r("not on telegram environment");if(Ih())return void qh.shareForWeb(e).then((()=>{n()})).catch((()=>{r("share fail")}));if(!qh.shareMessageEnable())return By("If you are unable to share, please update Telegram to the latest version and try again."),r("method not support");Ny();const o=qh.formatShareLink(e);qh.reqGetShareMessage(o,t).then((e=>(Iy(),qh.shareMessage(e)))).then((()=>{n()})).catch((()=>{Iy(),r("share fail")}))}))}getShareLink(e){return this._logined?qh.formatShareLink(e):(console.log("pluto sdk not login"),"")}copyShareLink(e){return new Promise(((t,n)=>{if(!this._logined)return n({code:ef.notLogin,message:"Pluto sdk not login"});let r=qh.formatShareLink(e);var o;(o=r,new Promise(((e,t)=>{if(!o)return t("copy content is null.");Dh(o).then((()=>{e()})).catch((()=>{Uh(o).then((()=>{e()})).catch((()=>{t("copy content faile.")}))}))}))).then((()=>{t()})).catch((e=>{n({code:ef.clipboardError,message:e})}))}))}getItem(e){return e?this._initialized?qh.reqGetItem(e):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"}):Promise.reject({code:ef.paramError,message:"Params error"})}setItem(e,t){return e&&t&&"string"==typeof t?this._initialized?qh.reqSetItem(e,t):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"}):Promise.reject({code:ef.paramError,message:"Params error"})}consumePurchase(e){return e?this._initialized?qh.reqFinishOrder(e):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"}):Promise.reject({code:ef.paramError,message:"Params error"})}queryPurchses(){return this._initialized?qh.reqUnfinishRecord():Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"})}onEvent(e,t){e&&t&&"function"==typeof t&&Ph.registerHandler(`event_${e}`,t)}getSafeAreaInset(){return Wh()?Telegram.WebApp.safeAreaInset:{top:0,bottom:0,left:0,right:0}}getContentSafeAreaInset(){return Telegram.WebApp.contentSafeAreaInset}playAd(e){return qh.playAd(e)}vibrate(e){qh.vibrate(e)}isDesktopEnabled(){return Nh()&&(jh()||$h())}isTelegramClient(){return Nh()}openGameForWeb(e){if(!this.isDesktopEnabled())return void console.log("openGameForWeb not support for web.");if(!k.GAME_URL)return void console.log("game url is null");const t=(new x.o).encode(k.INIT_DATA),n=new URL(k.GAME_URL);n.searchParams.append("initdata",t),e&&n.searchParams.append("pcplink",e),Telegram.WebApp.openLink(n.href)}getCpCustomLink(){return k.CP_CUSTOM_LINK}getStartParam(){return k.START_PARAM}connectWallet(){return Oh.connect()}disconnectWallet(){return Oh.disconnect()}isConnectedWallet(){return Oh.connected}getWalletRawAddress(){return Oh.rawAddress}getWalletFriendlyAddress(){return Oh.friendlyAddress}getWalletName(){return Oh.walletName}depositToken(e,t,n,r){return qh.depositToken(e,t,n,r)}getGameInfo(){this._loadingGame||(this._loadingGame=!0,qh.reqGameInfo().then((e=>{this._loadingGame=!1,Ud().publish(qd,tf.login),Ud().publish(zd,!0)})).catch((e=>{this._loadingGame=!1,Ud().publish(zd,!1),console.log(e)})))}addOrientationChangeListener(){Wh()&&window.screen.orientation&&(window.screen.orientation.addEventListener("change",(e=>{this.checkOrientaiton()})),this.checkOrientaiton())}checkOrientaiton(){try{const e=window.screen.orientation.type;if((e.startsWith("portrait")?af.portrait:af.landscape)==zh.gameInfo.orientation)return void kv();Cv()}catch(e){console.log(e)}}};bv()})(),PlutoSDK=r})();
|
|
1286
|
+
`),Ay)})),Oy=i.forwardRef((function(e,t){const n=(0,a.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:i="primary",disableShrink:s=!1,size:l=40,style:c,thickness:u=3.6,value:d=0,variant:f="indeterminate"}=n,h=(0,Kh.A)(n,vy),g=(0,o.A)({},n,{color:i,disableShrink:s,size:l,thickness:u,value:d,variant:f}),m=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,ry.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,ry.A)(n)}`,o&&"circleDisableShrink"]};return(0,Wg.A)(i,yy,t)})(g),y={},v={},b={};if("determinate"===f){const e=2*Math.PI*((Sy-u)/2);y.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),y.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,v.transform="rotate(-90deg)"}return(0,p.jsx)(_y,(0,o.A)({className:(0,Vh.A)(m.root,r),style:(0,o.A)({width:l,height:l},v,c),ownerState:g,ref:t,role:"progressbar"},b,h,{children:(0,p.jsx)(Ty,{className:m.svg,ownerState:g,viewBox:"22 22 44 44",children:(0,p.jsx)(Ry,{className:m.circle,style:y,ownerState:g,cx:Sy,cy:Sy,r:(Sy-u)/2,fill:"none",strokeWidth:u})})}))})),Py=Oy;class My extends i.PureComponent{constructor(){super(...arguments),this._timer=null,this.state={showCircle:!1}}componentDidMount(){this._timer=window.setTimeout((()=>{this.setState({showCircle:!0})}),600)}componentWillUnmount(){this._timer&&window.clearTimeout(this._timer)}render(){return(0,p.jsx)(og,{sx:{height:1,width:1,display:"flex",position:"fixed",zIndex:999,left:0,top:0},children:(0,p.jsxs)(og,{sx:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto"},children:[(0,p.jsx)(og,{sx:{width:120,height:80,backgroundColor:"#424242",borderRadius:2,opacity:.7}}),(0,p.jsx)(og,{sx:{top:0,right:0,bottom:0,left:0,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",color:"#fff"},children:(0,p.jsx)(Py,{color:"inherit"})})]})})}}let Ly=null;const Ny=()=>{if(Ly)return;const e=document.createElement("div");document.body.appendChild(e);const n=(0,t.H)(e);n.render((0,p.jsx)(My,{})),Ly={div:e,root:n}},Iy=()=>{var e;if(!Ly)return;const t=Ly.div;Ly.root.unmount(),null===(e=t.parentNode)||void 0===e||e.removeChild(t),Ly=null},jy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],$y={entering:{transform:"none"},entered:{transform:"none"}},Dy=i.forwardRef((function(e,t){const n=xg(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:h,onExit:g,onExited:m,onExiting:y,style:v,timeout:b=r,TransitionComponent:w=vg}=e,x=(0,Kh.A)(e,jy),C=i.useRef(null),k=(0,wg.A)(C,l.ref,t),S=e=>t=>{if(e){const n=C.current;void 0===t?e(n):e(n,t)}},E=S(h),A=S(((e,t)=>{Cg(e);const r=kg({style:v,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",r),e.style.transition=n.transitions.create("transform",r),d&&d(e,t)})),_=S(f),T=S(y),R=S((e=>{const t=kg({style:v,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),g&&g(e)})),O=S(m);return(0,p.jsx)(w,(0,o.A)({appear:s,in:u,nodeRef:C,onEnter:A,onEntered:_,onEntering:E,onExit:R,onExited:O,onExiting:T,addEndListener:e=>{a&&a(C.current,e)},timeout:b},x,{children:(e,t)=>i.cloneElement(l,(0,o.A)({style:(0,o.A)({transform:"scale(0)",visibility:"exited"!==e||u?void 0:"hidden"},$y[e],v,l.props.style),ref:k},t))}))})),Wy=Dy;class Uy extends i.PureComponent{constructor(){super(...arguments),this._aniTimer=null,this._closeTimer=null,this.state={checked:!0},this.onExited=()=>{const{id:e}=this.props;this._closeTimer=window.setTimeout((()=>{zy(e)}),500)}}componentDidMount(){this._aniTimer=window.setTimeout((()=>{this.setState({checked:!1})}),2e3)}componentWillUnmount(){this._aniTimer&&window.clearTimeout(this._aniTimer),this._closeTimer&&window.clearTimeout(this._closeTimer)}render(){const{checked:e}=this.state,{text:t}=this.props;return(0,p.jsx)(og,{sx:{position:"fixed",zIndex:999,top:"40%",width:"100%"},children:(0,p.jsx)(Tg,{direction:"down",in:e,timeout:{exit:1200},onExited:this.onExited,children:(0,p.jsx)(og,{children:(0,p.jsx)(Wy,{in:!0,timeout:{enter:1e3},children:(0,p.jsx)(og,{sx:{display:"flex"},children:(0,p.jsx)(Lg,{in:e,timeout:{enter:1e3,exit:1e3},children:(0,p.jsx)(og,{sx:{minWidth:160,maxWidth:320,m:"0 auto",backgroundColor:"#757575",textAlign:"center",p:1,borderRadius:2,color:"#fff",wordWrap:"break-word"},children:t})})})})})})})}}const Fy={},zy=e=>{var t;const n=Fy[e];if(!n)return;const r=n.div;n.root.unmount(),null===(t=r.parentNode)||void 0===t||t.removeChild(r),delete Fy[e]},By=e=>{const n=((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(1,1e3)+"-"+Date.now(),r=document.createElement("div");document.body.appendChild(r);const o=(0,t.H)(r);o.render((0,p.jsx)(Uy,{id:n,text:e})),Fy[n]={div:r,root:o}};class qy extends i.PureComponent{constructor(){super(...arguments),this.onClickShare=()=>{if(!zh.plutoId)return void console.log("pluto id is null");if(!Lh())return void console.log("not on telegram environment");if(Ih())return void qh.shareForWeb().then((()=>{console.log("share success")})).then((()=>{console.log("share fail")}));if(!qh.shareMessageEnable())return void By("If you are unable to share, please update Telegram to the latest version and try again.");Ny();const e=qh.formatShareLink();qh.reqGetShareMessage(e).then((e=>(console.log("pluto sdk share"),Iy(),qh.shareMessage(e)))).then((()=>{console.log("share success")})).catch((()=>{console.log("share fail"),Iy()}))}}render(){return(0,p.jsx)(og,{sx:{height:50,position:"relative"},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:this.onClickShare,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(gy.A,{sx:{width:26,height:26,position:"relative",mr:1}}),(0,p.jsx)(my,{content:"Share",fontSize:22,color:"#fff",strokeColor:"#4a7408",strokeWidth:3})]})})}}class Hy extends i.PureComponent{constructor(){super(...arguments),this.state={showPlay:!1},this.onReady=(e,t)=>{this.setState({showPlay:t})}}componentDidMount(){Ud().subscribe(Bd,this.onReady)}componentWillUnmount(){Ud().unsubscribe(this.onReady)}render(){const{showPlay:e}=this.state,{onClick:t}=this.props;return e?(0,p.jsx)(og,{sx:{height:50,position:"relative",mx:1.25},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:t,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_1.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(my,{content:"Play",fontSize:22,color:"#fff",strokeColor:"#0e3772",strokeWidth:3})]})}):(0,p.jsxs)(og,{sx:{height:50,position:"relative",mx:1.25},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_3.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsxs)(og,{sx:{width:1,height:1,color:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,p.jsx)(my,{content:"Loading",fontSize:22,color:"#fff",strokeColor:"#505151",strokeWidth:3}),(0,p.jsx)(Py,{sx:{position:"absolute",right:20},color:"inherit",size:28})]})]})}}class Ky extends i.PureComponent{constructor(){super(...arguments),this.onClickAdd=()=>{try{Telegram.WebApp.addToHomeScreen()}catch(e){}}}render(){return(0,p.jsx)(og,{sx:{height:50,position:"relative"},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3,minWidth:50},variant:"contained",onClick:this.onClickAdd,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(og,{component:"img",src:Mh("add_screen.png"),sx:{position:"relative"}})]})})}}const Vy=(0,Hh.Ay)(og)((()=>({width:"100%",maxWidth:430,margin:"0 auto",position:"relative"})));class Gy extends i.PureComponent{constructor(){super(...arguments),this.state={showSlide:!0},this.onExited=()=>{PubSub.publish(qd,tf.none)},this.onClickPlay=()=>{this.setState({showSlide:!1}),PubSub.publish(Kd,{})}}render(){const{showSlide:e}=this.state,t=qh.hideShare;return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative",backgroundColor:"#FEF8E2"},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"relative",backgroundImage:`url(${Mh("bg_1.png")})`}}),(0,p.jsx)(jg,{}),(0,p.jsx)(og,{sx:{width:1,bottom:Dh()?40:20,position:"absolute"},children:(0,p.jsx)(Tg,{direction:"up",in:e,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:600,exit:600},onExited:this.onExited,children:(0,p.jsxs)(og,{children:[(0,p.jsxs)(Vy,{children:[(0,p.jsx)(Rg,{}),(0,p.jsxs)(og,{sx:{position:"relative",px:3,pt:1,pb:4},children:[(0,p.jsx)(km,{}),t?null:Dh()?(0,p.jsxs)(og,{sx:{height:50},children:[(0,p.jsx)(og,{sx:{width:.8,height:50,float:"left"},children:(0,p.jsx)(qy,{})}),(0,p.jsx)(og,{sx:{width:.18,height:50,float:"right"},children:(0,p.jsx)(Ky,{})})]}):(0,p.jsx)(qy,{})]})]}),(0,p.jsx)(Vy,{sx:{paddingTop:2},children:(0,p.jsx)(Hy,{onClick:this.onClickPlay})})]})})})]})}}var Qy=n(8286),Zy=n(7937);const Yy=["component","direction","spacing","divider","children","className","useFlexGap"],Xy=(0,l.A)(),Jy=Yg("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ev(e){return Jg({props:e,name:"MuiStack",defaultTheme:Xy})}function tv(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(i.cloneElement(t,{key:`separator-${o}`})),e)),[])}const nv=e=>{let{ownerState:t,theme:n}=e,r=(0,o.A)({display:"flex",flexDirection:"column"},(0,Qy.NI)({theme:n},(0,Qy.kW)({values:t.direction,breakpoints:n.breakpoints.values}),(e=>({flexDirection:e}))));if(t.spacing){const e=(0,Zy.LX)(n),o=Object.keys(n.breakpoints.values).reduce(((e,n)=>(("object"===typeof t.spacing&&null!=t.spacing[n]||"object"===typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e)),{}),i=(0,Qy.kW)({values:t.direction,base:o}),a=(0,Qy.kW)({values:t.spacing,base:o});"object"===typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const s=(n,r)=>{return t.useFlexGap?{gap:(0,Zy._W)(e,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=r?i[r]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,Zy._W)(e,n)}};var o};r=(0,Ug.A)(r,(0,Qy.NI)({theme:n},a,s))}return r=(0,Qy.iZ)(n.breakpoints,r),r};const rv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{createStyledComponent:t=Jy,useThemeProps:n=ev,componentName:r="MuiStack"}=e,a=t(nv),s=i.forwardRef((function(e,t){const i=n(e),s=(0,Zh.A)(i),{component:l="div",direction:c="column",spacing:u=0,divider:d,children:f,className:h,useFlexGap:g=!1}=s,m=(0,Kh.A)(s,Yy),y={direction:c,spacing:u,useFlexGap:g},v=(0,Wg.A)({root:["root"]},(e=>(0,Dg.Ay)(r,e)),{});return(0,p.jsx)(a,(0,o.A)({as:l,ownerState:y,ref:t,className:(0,Vh.A)(v.root,h)},m,{children:d?tv(f,d):f}))}));return s}({createStyledComponent:(0,Hh.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,a.b)({props:e,name:"MuiStack"})}),ov=rv;class iv extends i.PureComponent{render(){return(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",left:0,top:0,background:"rgba(0,0,0,0.4)",backgroundSize:"cover",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)"}})}}class av extends i.PureComponent{render(){const{title:e}=this.props;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(og,{sx:{width:1,height:70,position:"relative"},children:(0,p.jsxs)(og,{sx:{width:1,height:70,pt:1,position:"absolute",display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,p.jsx)(og,{component:"img",src:Mh("dot.png"),sx:{width:28,height:24,position:"relative",mt:1.5}}),(0,p.jsx)(og,{sx:{fontSize:32,fontWeight:"bold",color:"#ca996e",mx:1},children:e}),(0,p.jsx)(og,{component:"img",src:Mh("dot.png"),sx:{width:28,height:24,position:"relative",mb:1.5}})]})}),(0,p.jsx)(og,{sx:{mx:5,borderBottom:"3px solid #a8774d",position:"relative"}})]})}}const sv=(0,Hh.Ay)(hy)((()=>({color:"#fff",width:114,height:30,borderRadius:13,backgroundColor:"#e0c6a0",borderColor:"#e0c6a0",textTransform:"none","&:hover":{backgroundColor:"#e0c6a0",borderColor:"#e0c6a0"}}))),lv=(0,Hh.Ay)(hy)((()=>({color:"#666666",width:114,height:30,borderRadius:13,backgroundColor:"#fff",borderColor:"#787772",textTransform:"none","&:hover":{backgroundColor:"#fff",borderColor:"#787772"}})));class cv extends i.PureComponent{constructor(){super(...arguments),this.state={address:Oh.friendlyAddress,showDisconnect:!1},this.onWalletConnect=(e,t)=>{t?this.setState({address:Oh.friendlyAddress}):this.setState({address:null,showDisconnect:!1})},this.onClickWallet=()=>{const{showDisconnect:e}=this.state;this.setState({showDisconnect:!e})},this.onClickDisconnect=()=>{Oh.disconnect()}}componentDidMount(){Ud().subscribe(Hd,this.onWalletConnect)}componentWillUnmount(){Ud().unsubscribe(this.onWalletConnect)}render(){const{address:e,showDisconnect:t}=this.state;if(!e)return null;let n=e.length,r=e.substring(0,4)+"..."+e.substring(n-4,n);return(0,p.jsxs)(ov,{spacing:1,sx:{float:"right",width:114,pt:.5},children:[(0,p.jsx)(sv,{variant:"outlined",onClick:this.onClickWallet,children:r}),t?(0,p.jsx)(lv,{variant:"outlined",onClick:this.onClickDisconnect,children:"Disconnect"}):null]})}}class uv extends i.PureComponent{render(){const{name:e,usdt:t}=zh.purchaseData;return(0,p.jsxs)(og,{sx:{width:1,height:120,position:"relative"},children:[(0,p.jsxs)(og,{sx:{top:0,left:0,width:1,textAlign:"center",position:"absolute"},children:[(0,p.jsx)(og,{sx:{fontSize:24,fontWeight:"bold",pt:4,color:"#7c4b30"},children:e}),(0,p.jsx)(og,{sx:{width:1,display:"flex",justifyContent:"center"},children:(0,p.jsx)(my,{content:`= $${t.toFixed(2)}`,fontSize:18,color:"#fff",strokeColor:"#ba4f25",strokeWidth:3})})]}),(0,p.jsx)(og,{sx:{mx:5,position:"relative"},children:(0,p.jsx)(cv,{})})]})}}class dv extends i.PureComponent{render(){const{currency:e,price:t,oldPrice:n,discount:r,onClickPay:o}=this.props,i=Mh(cf[e]),a=lf[e],s=`${e==rf.star?t:t.toFixed(2)} ${a}`,l=`\xa0${e==rf.star?n:n.toFixed(2)} ${a}\xa0`;return(0,p.jsxs)(og,{sx:{height:50,position:"relative"},children:[(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:o,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(og,{component:"img",src:i,sx:{width:30,height:30,mr:1,position:"relative"}}),(0,p.jsx)(my,{content:s,fontSize:22,color:"#fff",strokeColor:"#4a7408",strokeWidth:3}),(0,p.jsx)(og,{sx:{width:"10px"}}),r>0?(0,p.jsx)(my,{content:l,fontSize:14,color:"#fff",strokeColor:"#4a7408",strokeWidth:2,decorationLine:!0}):null]}),r>0?(0,p.jsx)(og,{sx:{top:-12,right:-20,bottom:0,left:-20,position:"absolute",pointerEvents:"none"},children:(0,p.jsxs)(og,{sx:{width:62,height:50,rotate:"-20deg",position:"relative",float:"right",display:"inline-block"},children:[(0,p.jsx)(og,{component:"img",src:Mh("sale_off.png"),sx:{width:62,height:50,position:"absolute",display:"block"}}),(0,p.jsx)(og,{sx:{top:6,width:62,height:25,textAlign:"center",color:"#fff",fontSize:16,fontWeight:"bold",position:"absolute"},children:100*r+"%"}),(0,p.jsx)(og,{sx:{bottom:6,width:62,height:25,textAlign:"center",color:"#fff",fontSize:16,fontWeight:"bold",position:"absolute"},children:"OFF"})]})}):null]})}}class fv extends i.PureComponent{constructor(){super(...arguments),this._status=!1,this.state={showSlide:!0},this.onExited=()=>{Ud().publish(qd,tf.none)},this.onClickTon=()=>{this.connectWallet().then((()=>(Ny(),qh.reqOrder(nf.tonConnect,rf.ton)))).then((e=>{Iy(),this.sendTransaction({amount:e.amount,address:e.address,payload:e.payload})})).catch((e=>{Iy(),e.code!=ef.walletError&&By(e.message)}))},this.onClickCati=()=>{this.connectWallet().then((()=>(Ny(),qh.reqOrder(nf.tonConnect,rf.cati)))).then((e=>Oh.getTokenPayload(of.cati,e.amount,e.payload,e.address))).then((e=>{Iy(),this.sendTransaction({amount:"100000000",address:e.address,payload:e.payload})})).catch((e=>{Iy(),e.code!=ef.walletError&&By(e.message)}))},this.onClickUsdt=()=>{this.connectWallet().then((()=>(Ny(),qh.reqOrder(nf.tonConnect,rf.usdt)))).then((e=>Oh.getTokenPayload(of.usdt,e.amount,e.payload,e.address))).then((e=>{Iy(),this.sendTransaction({amount:"100000000",address:e.address,payload:e.payload})})).catch((e=>{Iy(),e.code!=ef.walletError&&By(e.message)}))},this.onClickStar=()=>{Ny(),qh.reqOrder(nf.star,rf.star).then((e=>{Iy(),qh.reportStarPayStatus(e.orderNo,e.payLink,e.amount,0),qh.openInvoice(e.payLink).then((()=>{qh.reportStarPayStatus(e.orderNo,e.payLink,e.amount,1),this._status=!0,this.onClickClose()})).catch((()=>{qh.reportStarPayStatus(e.orderNo,e.payLink,e.amount,2)}))})).catch((e=>{Iy(),By(e.message)}))},this.onClickClose=()=>{this.setState({showSlide:!1})}}componentWillUnmount(){const e=this._status,{productId:t,orderId:n,customData:r}=zh.purchaseData,o=e?zh.purchaseData.orderNo:"";Ud().publish(Vd,{success:e,productId:t,orderId:n,customData:r,orderNo:o})}render(){const{ton:e,tonOld:t,tonDiscount:n,usdt:r,usdtOld:o,usdtDiscount:i,cati:a,catiOld:s,catiDiscount:l,star:c,starOld:u,starDiscount:d}=zh.purchaseData,{showSlide:f}=this.state;return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative"},children:[(0,p.jsx)(iv,{}),(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative",overflowY:"auto",scrollbarWidth:"none !important","::-webkit-scrollbar":{display:"none !important"}},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"fixed"},onClick:this.onClickClose}),(0,p.jsx)(og,{sx:{width:"100%",position:"absolute",pointerEvents:"none",bottom:20,"@media (max-height: 480px)":{top:10}},children:(0,p.jsx)(Tg,{direction:"up",in:f,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:600,exit:600},onExited:this.onExited,children:(0,p.jsxs)(og,{sx:{width:1,maxWidth:430,m:"0 auto",position:"relative",pointerEvents:"auto"},children:[(0,p.jsx)(Rg,{}),(0,p.jsx)(av,{title:"Purchase"}),(0,p.jsx)(uv,{}),(0,p.jsxs)(ov,{spacing:2,sx:{mx:5,pb:4},children:[this.showTokenPay()?(0,p.jsxs)(p.Fragment,{children:[this.showCatiPay()?(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(dv,{currency:rf.cati,price:a,oldPrice:s,discount:l,onClickPay:this.onClickCati})}):null,this.showTonPay()?(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(dv,{currency:rf.ton,price:e,oldPrice:t,discount:n,onClickPay:this.onClickTon})}):null,(0,p.jsx)(dv,{currency:rf.usdt,price:r,oldPrice:o,discount:i,onClickPay:this.onClickUsdt})]}):null,this.showStarPay()?(0,p.jsx)(dv,{currency:rf.star,price:c,oldPrice:u,discount:d,onClickPay:this.onClickStar}):null]})]})})})]})]})}connectWallet(){return new Promise(((e,t)=>{if(Oh.connected)return e();Oh.connect().then((t=>{e()})).catch((e=>{t(e)}))}))}sendTransaction(e){const t=Oh.chain;k.TEST_MODE&&t==R.MAINNET?By("Please switch chain TESTNET"):k.TEST_MODE||t!=R.TESTNET?Oh.sendTransaction(e).then((e=>{this._status=!0,this.onClickClose()})).catch((e=>{console.log(e.message)})):By("Please switch chain MAINNET")}showTokenPay(){return!!k.TEST_MODE||!jh()&&!$h()}showTonPay(){return"1000"==k.GAME_ID||"1002"==k.GAME_ID||"1041"==k.GAME_ID}showCatiPay(){return"1000"==k.GAME_ID||"1002"==k.GAME_ID||"1041"==k.GAME_ID}showStarPay(){if(!Lh())return!1;const{usdt:e}=zh.purchaseData;return!(e>2e3)}}class pv extends i.PureComponent{render(){const{name:e}=zh.checkInData;return(0,p.jsxs)(og,{sx:{width:1,height:100,position:"relative"},children:[(0,p.jsx)(og,{sx:{top:0,left:0,width:1,textAlign:"center",position:"absolute"},children:(0,p.jsx)(og,{sx:{fontSize:24,fontWeight:"bold",pt:4,color:"#7c4b30"},children:e})}),(0,p.jsx)(og,{sx:{mx:5,position:"relative"},children:(0,p.jsx)(cv,{})})]})}}class hv extends i.PureComponent{constructor(){super(...arguments),this.state={buttonText:Oh.connected?"Claim":"Connect wallet"},this.onWalletConnect=(e,t)=>{this.setState({buttonText:t?"Claim":"Connect wallet"})}}componentDidMount(){Ud().subscribe(Hd,this.onWalletConnect)}componentWillUnmount(){Ud().unsubscribe(this.onWalletConnect)}render(){const{onClickSignIn:e}=this.props,{buttonText:t}=this.state;return(0,p.jsx)(og,{sx:{height:50,position:"relative"},children:(0,p.jsxs)(hy,{sx:{width:1,height:1,borderRadius:3},variant:"contained",onClick:e,children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"absolute",top:0,borderImage:`url(${Mh("button_2.png")})`,borderWidth:15,borderStyle:"solid",borderImageRepeat:"repeat",borderImageSlice:"15 fill"}}),(0,p.jsx)(my,{content:t,fontSize:22,color:"#fff",strokeColor:"#4a7408",strokeWidth:3})]})})}}class gv extends i.PureComponent{constructor(){super(...arguments),this._status=!1,this.state={showSlide:!0},this.onEntered=()=>{this.onClickSignIn()},this.onExited=()=>{Ud().publish(qd,tf.none)},this.onClickSignIn=()=>{this.connectWallet().then((()=>{const{amount:e,payload:t,address:n}=zh.checkInData;this.sendTransaction({amount:e,address:n,payload:t})})).catch((e=>{console.log(e)}))},this.onClickClose=()=>{this.setState({showSlide:!1})}}componentWillUnmount(){const e=this._status,{orderId:t,customData:n}=zh.checkInData;Ud().publish(Gd,{success:e,orderId:t,customData:n})}render(){const{showSlide:e}=this.state;return(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative"},children:[(0,p.jsx)(iv,{}),(0,p.jsxs)(og,{sx:{width:1,height:1,position:"relative"},children:[(0,p.jsx)(og,{sx:{width:1,height:1,position:"fixed"},onClick:this.onClickClose}),(0,p.jsx)(og,{sx:{width:1,position:"absolute",bottom:40,pointerEvents:"none"},children:(0,p.jsx)(Tg,{direction:"up",in:e,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:600,exit:600},onEntered:this.onEntered,onExited:this.onExited,children:(0,p.jsxs)(og,{sx:{width:"96%",maxWidth:430,m:"0 auto",position:"relative",pointerEvents:"auto"},children:[(0,p.jsx)(Rg,{}),(0,p.jsx)(av,{title:"Claim"}),(0,p.jsx)(pv,{}),(0,p.jsx)(ov,{spacing:2,sx:{mx:5,pb:4},children:(0,p.jsx)(hv,{onClickSignIn:this.onClickSignIn})})]})})})]})]})}connectWallet(){return new Promise(((e,t)=>{if(Oh.connected)return e();Oh.connect().then((t=>{e()})).catch((e=>{t(e)}))}))}sendTransaction(e){const t=Oh.chain;k.TEST_MODE&&t==R.MAINNET?By("Please switch chain TESTNET"):k.TEST_MODE||t!=R.TESTNET?Oh.sendTransaction(e).then((e=>{this.verify(e)})).catch((e=>{console.log(e.message)})):By("Please switch chain MAINNET")}verify(e){const t=Oh.chain,n=Oh.friendlyAddress,r=zh.checkInData.orderNo;Ny(),qh.reqCheckInVerify(t,e,r,n).then((()=>{Iy(),this._status=!0,this.onClickClose()})).catch((e=>{Iy(),By(e.message),this.onClickClose()}))}}const mv=(0,Hh.Ay)(og)((()=>({height:"100%",width:"100%",display:"flex",position:"fixed",zIndex:999,left:0,top:0})));class yv extends i.PureComponent{constructor(){super(...arguments),this.state={pageId:tf.index},this.onSwitchPage=(e,t)=>{this.setState({pageId:t})}}componentDidMount(){Ud().subscribe(qd,this.onSwitchPage),Ud().publish(Fd,null)}render(){const{pageId:e}=this.state;let t=null;switch(e){case tf.index:t=ig;break;case tf.login:t=Gy;break;case tf.purchase:t=fv;break;case tf.checkIn:t=gv}return t?(0,p.jsx)(mv,{children:(0,p.jsx)(t,{})}):null}}const vv=()=>{console.info(`Pluto SDK version: ${k.APP_VERSION}`),k.init(),Rh.init(),qh.init(),Oh.init(),Ph.init();document.body.style.overflow="hidden";const e=document.createElement("div");e.id="pluto-root",document.body.appendChild(e);(0,t.H)(e).render((0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(w,{}),(0,p.jsx)(yv,{})]}))},bv=()=>{document.body?vv():document.addEventListener("DOMContentLoaded",(e=>{vv()}))};class wv extends i.PureComponent{render(){const e=zh.gameInfo.orientation==af.portrait,t=`This game is in ${e?"vertical":"horizontal"} mode`,n=e?"rotate_mobile_v.png":"rotate_mobile_h.png";return(0,p.jsx)(og,{sx:{height:1,width:1,display:"flex",alignItems:"center",position:"fixed",zIndex:999,left:0,top:0,backgroundColor:"#424242"},children:(0,p.jsxs)(og,{sx:{position:"relative",margin:"0 auto",textAlign:"center"},children:[(0,p.jsx)(og,{component:"img",src:Mh(n),sx:{position:"relative"}}),(0,p.jsx)(og,{sx:{fontSize:28,fontWeight:"bold",color:"#fff"},children:"Rotate you device"}),(0,p.jsx)(og,{sx:{fontSize:16,color:"#fff"},children:t})]})})}}let xv=null;const Cv=()=>{if(xv)return;const e=document.createElement("div");document.body.appendChild(e);const n=(0,t.H)(e);n.render((0,p.jsx)(wv,{})),xv={div:e,root:n}},kv=()=>{var e;if(!xv)return;const t=xv.div;xv.root.unmount(),null===(e=t.parentNode)||void 0===e||e.removeChild(t),xv=null},Sv=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return tb.init(e)},Ev=()=>tb.login(),Av=()=>{tb.ready()},_v=function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;return tb.purchase(e,t,n,r,o,i)},Tv=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return tb.checkIn(e,t,n,r)},Rv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return tb.share(e,t)},Ov=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return tb.getShareLink(e)},Pv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return tb.copyShareLink(e)},Mv=e=>tb.getItem(e),Lv=(e,t)=>tb.setItem(e,t),Nv=e=>tb.consumePurchase(e),Iv=()=>tb.queryPurchses(),jv=e=>{tb.vibrate(e)},$v=(e,t)=>{tb.onEvent(e,t)},Dv=()=>tb.getSafeAreaInset(),Wv=()=>tb.getContentSafeAreaInset(),Uv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ad_event1";return tb.playAd(e)},Fv=()=>tb.isDesktopEnabled(),zv=()=>tb.isTelegramClient(),Bv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";tb.openGameForWeb(e)},qv=()=>tb.getCpCustomLink(),Hv=()=>tb.getStartParam(),Kv=()=>tb.connectWallet(),Vv=()=>tb.disconnectWallet(),Gv=()=>tb.isConnectedWallet(),Qv=()=>tb.getWalletRawAddress(),Zv=()=>tb.getWalletFriendlyAddress(),Yv=()=>tb.getWalletName(),Xv=(e,t,n,r)=>tb.depositToken(e,t,n,r),Jv=()=>tb.signData(),eb=()=>tb.getNfts();const tb=new class{constructor(){this._appDidMount=!1,this._loadingGame=!1,this._initialized=!1,this._logined=!1,this._purchaseing=!1,this._checkingIn=!1,this.onAppDidMount=(e,t)=>{this._appDidMount=!0,this.getGameInfo()},Ud().subscribe(Fd,this.onAppDidMount)}init(e){if(!Telegram.WebApp.isFullscreen&&e&&Dh())try{Telegram.WebApp.requestFullscreen()}catch(t){}return new Promise(((e,t)=>{if(zh.gameInfo)return this._initialized=!0,this.addOrientationChangeListener(),e();Ud().subscribeOnce(zd,((n,r)=>{if(r)return this._initialized=!0,this.addOrientationChangeListener(),e();By("Init game error, please try again later"),t({code:ef.initError,message:"Init error"})})),this._appDidMount&&this.getGameInfo()}))}login(){return this._initialized?this._logined?Promise.reject({code:ef.logined,message:"Pluto sdk already login"}):qh.reqLogin().then((e=>(this._logined=!0,e))):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"})}ready(){this._logined?Ud().publish(Bd,!0):console.warn("pluto sdk not login!")}purchase(e,t,n,r,o,i){return new Promise(((a,s)=>e&&t&&n&&r?this._logined?this._purchaseing?s({code:ef.purchaseing,message:"Payment is being processed"}):(Ph.registerCallback(Qd,i),this._purchaseing=!0,void qh.reqPurchase(e,t,n,r,o).then((()=>{this._purchaseing=!1,Ud().publish(qd,tf.purchase),a()})).catch((e=>{this._purchaseing=!1,console.log(e.message),s(e)}))):s({code:ef.notLogin,message:"Pluto sdk not login"}):s({code:ef.paramError,message:"Params error"})))}checkIn(e,t,n,r){return new Promise(((o,i)=>e&&t?this._logined?this._checkingIn?i({code:ef.checkingIn,message:"Check in is being processed"}):(Ph.registerCallback(Zd,r),this._checkingIn=!0,void qh.reqCheckIn(e,t,n).then((()=>{this._checkingIn=!1,Ud().publish(qd,tf.checkIn),o()})).catch((e=>{this._checkingIn=!1,console.log(e.message),i(e)}))):i({code:ef.notLogin,message:"Pluto sdk not login"}):i({code:ef.paramError,message:"Params error"})))}share(e,t){return new Promise(((n,r)=>{if(!this._logined)return r({code:ef.notLogin,message:"Pluto sdk not login"});if(!Lh())return r({code:ef.shareError,message:"Not on telegram environment"});if(Ih())return void qh.shareForWeb(e).then((()=>{n()})).catch((()=>{r({code:ef.shareError,message:"Share failed"})}));if(!qh.shareMessageEnable())return By("If you are unable to share, please update Telegram to the latest version and try again."),r({code:ef.shareError,message:"Method not support"});Ny();const o=qh.formatShareLink(e);qh.reqGetShareMessage(o,t).then((e=>(Iy(),qh.shareMessage(e)))).then((()=>{n()})).catch((e=>{Iy(),r(e)}))}))}getShareLink(e){return this._logined?qh.formatShareLink(e):(console.log("pluto sdk not login"),"")}copyShareLink(e){return new Promise(((t,n)=>{if(!this._logined)return n({code:ef.notLogin,message:"Pluto sdk not login"});let r=qh.formatShareLink(e);var o;(o=r,new Promise(((e,t)=>{if(!o)return t({code:ef.clipboardError,message:"Param is null"});Wh(o).then((()=>{e()})).catch((()=>{Uh(o).then((()=>{e()})).catch((e=>{t(e)}))}))}))).then((()=>{t()})).catch((e=>{n(e)}))}))}getItem(e){return e?this._initialized?qh.reqGetItem(e):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"}):Promise.reject({code:ef.paramError,message:"Params error"})}setItem(e,t){return e&&t&&"string"==typeof t?this._initialized?qh.reqSetItem(e,t):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"}):Promise.reject({code:ef.paramError,message:"Params error"})}consumePurchase(e){return e?this._initialized?qh.reqFinishOrder(e):Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"}):Promise.reject({code:ef.paramError,message:"Params error"})}queryPurchses(){return this._initialized?qh.reqUnfinishRecord():Promise.reject({code:ef.notInit,message:"Pluto sdk not initialize"})}onEvent(e,t){e&&t&&"function"==typeof t&&Ph.registerHandler(`event_${e}`,t)}getSafeAreaInset(){return Dh()?Telegram.WebApp.safeAreaInset:{top:0,bottom:0,left:0,right:0}}getContentSafeAreaInset(){return Telegram.WebApp.contentSafeAreaInset}playAd(e){return qh.playAd(e)}vibrate(e){qh.vibrate(e)}isDesktopEnabled(){return Nh()&&(jh()||$h())}isTelegramClient(){return Nh()}openGameForWeb(e){if(!this.isDesktopEnabled())return void console.log("openGameForWeb not support for web.");if(!k.GAME_URL)return void console.log("game url is null");const t=(new x.o).encode(k.INIT_DATA),n=new URL(k.GAME_URL);n.searchParams.append("initdata",t),e&&n.searchParams.append("pcplink",e),Telegram.WebApp.openLink(n.href)}getCpCustomLink(){return k.CP_CUSTOM_LINK}getStartParam(){return k.START_PARAM}connectWallet(){return Oh.connect()}disconnectWallet(){return Oh.disconnect()}isConnectedWallet(){return Oh.connected}getWalletRawAddress(){return Oh.rawAddress}getWalletFriendlyAddress(){return Oh.friendlyAddress}getWalletName(){return Oh.walletName}depositToken(e,t,n,r){return qh.depositToken(e,t,n,r)}signData(){return new Promise(((e,t)=>{qh.signData().then((()=>{e()})).catch((e=>{e.code==ef.walletBindInCd&&By("Wallet binding is in CD."),t(e)}))}))}getNfts(){return qh.reqGetNfts()}getGameInfo(){this._loadingGame||(this._loadingGame=!0,qh.reqGameInfo().then((e=>{this._loadingGame=!1,Ud().publish(qd,tf.login),Ud().publish(zd,!0)})).catch((e=>{this._loadingGame=!1,Ud().publish(zd,!1),console.log(e)})))}addOrientationChangeListener(){Dh()&&window.screen.orientation&&(window.screen.orientation.addEventListener("change",(e=>{this.checkOrientaiton()})),this.checkOrientaiton())}checkOrientaiton(){try{const e=window.screen.orientation.type;if((e.startsWith("portrait")?af.portrait:af.landscape)==zh.gameInfo.orientation)return void kv();Cv()}catch(e){console.log(e)}}};bv()})(),PlutoSDK=r})();
|