@tonconnect/ui 2.0.10-beta.2 → 2.0.10-beta.3

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.
@@ -37,7 +37,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
37
37
  body.${Yn} ${Zn} *:focus {
38
38
  outline: none;
39
39
  }
40
- `,{})};function Jn(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 Xn(e){return e.toString()+"px"}var er={exports:{}};!function(e,t){!function(n,r){var o="function",i="undefined",s="object",a="string",l="major",c="model",u="name",d="type",h="vendor",p="version",g="architecture",f="console",m="mobile",w="tablet",v="smarttv",y="wearable",b="embedded",C="Amazon",x="Apple",_="ASUS",k="BlackBerry",S="Browser",E="Chrome",R="Firefox",T="Google",L="Huawei",A="LG",O="Microsoft",M="Motorola",N="Opera",P="Samsung",$="Sharp",I="Sony",U="Xiaomi",W="Zebra",j="Facebook",B="Chromium OS",D="Mac OS",H=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},V=function(e,t){return typeof e===a&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,350)},q=function(e,t){for(var n,i,a,l,c,u,d=0;d<t.length&&!c;){var h=t[d],p=t[d+1];for(n=i=0;n<h.length&&!c&&h[n];)if(c=h[n++].exec(e))for(a=0;a<p.length;a++)u=c[++i],typeof(l=p[a])===s&&l.length>0?2===l.length?typeof l[1]==o?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==o||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):r:this[l[0]]=u?l[1].call(this,u,l[2]):r:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):r):this[l]=u||r;d+=2}},z=function(e,t){for(var n in t)if(typeof t[n]===s&&t[n].length>0){for(var o=0;o<t[n].length;o++)if(V(t[n][o],e))return"?"===n?r:n}else if(V(t[n],e))return"?"===n?r: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"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,N+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[u,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\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],[u,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+S],p],[/\bfocus\/([\w\.]+)/i],[p,[u,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[p,[u,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+S]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+S],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,j],p],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,E+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,z,{"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],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,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],[u,p],[/(cobalt)\/([\w\.]+)/i],[u,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,K]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,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],[c,[h,P],[d,w]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[h,P],[d,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[h,x],[d,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[h,x],[d,w]],[/(macintosh);/i],[c,[h,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[h,$],[d,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[h,L],[d,w]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[h,L],[d,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[h,U],[d,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[h,U],[d,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[h,"OPPO"],[d,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[h,"Vivo"],[d,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[h,"Realme"],[d,m]],[/\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],[c,[h,M],[d,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[h,M],[d,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[h,A],[d,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[h,A],[d,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[h,"Lenovo"],[d,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[h,"Nokia"],[d,m]],[/(pixel c)\b/i],[c,[h,T],[d,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[h,T],[d,m]],[/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],[c,[h,I],[d,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[h,I],[d,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[h,"OnePlus"],[d,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[h,C],[d,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[h,C],[d,m]],[/(playbook);[-\w\),; ]+(rim)/i],[c,h,[d,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[h,k],[d,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[h,_],[d,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[h,_],[d,m]],[/(nexus 9)/i],[c,[h,"HTC"],[d,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[c,/_/g," "],[d,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[h,"Acer"],[d,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[h,"Meizu"],[d,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,c,[d,m]],[/(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,c,[d,w]],[/(surface duo)/i],[c,[h,O],[d,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[h,"Fairphone"],[d,m]],[/(u304aa)/i],[c,[h,"AT&T"],[d,m]],[/\bsie-(\w*)/i],[c,[h,"Siemens"],[d,m]],[/\b(rct\w+) b/i],[c,[h,"RCA"],[d,w]],[/\b(venue[\d ]{2,7}) b/i],[c,[h,"Dell"],[d,w]],[/\b(q(?:mv|ta)\w+) b/i],[c,[h,"Verizon"],[d,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[h,"Barnes & Noble"],[d,w]],[/\b(tm\d{3}\w+) b/i],[c,[h,"NuVision"],[d,w]],[/\b(k88) b/i],[c,[h,"ZTE"],[d,w]],[/\b(nx\d{3}j) b/i],[c,[h,"ZTE"],[d,m]],[/\b(gen\d{3}) b.+49h/i],[c,[h,"Swiss"],[d,m]],[/\b(zur\d{3}) b/i],[c,[h,"Swiss"],[d,w]],[/\b((zeki)?tb.*\b) b/i],[c,[h,"Zeki"],[d,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],c,[d,w]],[/\b(ns-?\w{0,9}) b/i],[c,[h,"Insignia"],[d,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[h,"NextBook"],[d,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],c,[d,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],c,[d,m]],[/\b(ph-1) /i],[c,[h,"Essential"],[d,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[h,"Envizen"],[d,w]],[/\b(trio[-\w\. ]+) b/i],[c,[h,"MachSpeed"],[d,w]],[/\btu_(1491) b/i],[c,[h,"Rotor"],[d,w]],[/(shield[\w ]+) b/i],[c,[h,"Nvidia"],[d,w]],[/(sprint) (\w+)/i],[h,c,[d,m]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[h,O],[d,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[h,W],[d,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[h,W],[d,m]],[/smart-tv.+(samsung)/i],[h,[d,v]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[h,P],[d,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,A],[d,v]],[/(apple) ?tv/i],[h,[c,x+" TV"],[d,v]],[/crkey/i],[[c,E+"cast"],[h,T],[d,v]],[/droid.+aft(\w)( bui|\))/i],[c,[h,C],[d,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[h,$],[d,v]],[/(bravia[\w ]+)( bui|\))/i],[c,[h,I],[d,v]],[/(mitv-\w{5}) bui/i],[c,[h,U],[d,v]],[/Hbbtv.*(technisat) (.*);/i],[h,c,[d,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,F],[c,F],[d,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,c,[d,f]],[/droid.+; (shield) bui/i],[c,[h,"Nvidia"],[d,f]],[/(playstation [345portablevi]+)/i],[c,[h,I],[d,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[h,O],[d,f]],[/((pebble))app/i],[h,c,[d,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[h,x],[d,y]],[/droid.+; (glass) \d/i],[c,[h,T],[d,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[h,W],[d,y]],[/(quest( 2| pro)?)/i],[c,[h,j],[d,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,b]],[/(aeobc)\b/i],[c,[h,C],[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[d,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[d,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,m]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"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],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,z,Z]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,z,Z]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,D],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[u,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,B],p],[/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],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,p]]},Y=function(e,t){if(typeof e===s&&(t=e,e=r),!(this instanceof Y))return new Y(e,t).getResult();var f=typeof n!==i&&n.navigator?n.navigator:r,v=e||(f&&f.userAgent?f.userAgent:""),y=f&&f.userAgentData?f.userAgentData:r,b=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}(G,t):G,C=f&&f.userAgent==v;return this.getBrowser=function(){var e,t={};return t[u]=r,t[p]=r,q.call(t,v,b.browser),t[l]=typeof(e=t[p])===a?e.replace(/[^\d\.]/g,"").split(".")[0]:r,C&&f&&f.brave&&typeof f.brave.isBrave==o&&(t[u]="Brave"),t},this.getCPU=function(){var e={};return e[g]=r,q.call(e,v,b.cpu),e},this.getDevice=function(){var e={};return e[h]=r,e[c]=r,e[d]=r,q.call(e,v,b.device),C&&!e[d]&&y&&y.mobile&&(e[d]=m),C&&"Macintosh"==e[c]&&f&&typeof f.standalone!==i&&f.maxTouchPoints&&f.maxTouchPoints>2&&(e[c]="iPad",e[d]=w),e},this.getEngine=function(){var e={};return e[u]=r,e[p]=r,q.call(e,v,b.engine),e},this.getOS=function(){var e={};return e[u]=r,e[p]=r,q.call(e,v,b.os),C&&!e[u]&&y&&"Unknown"!=y.platform&&(e[u]=y.platform.replace(/chrome os/i,B).replace(/macos/i,D)),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 v},this.setUA=function(e){return v=typeof e===a&&e.length>350?F(e,350):e,this},this.setUA(v),this};Y.VERSION="1.0.35",Y.BROWSER=H([u,p,l]),Y.CPU=H([g]),Y.DEVICE=H([c,h,d,f,m,v,w,y,b]),Y.ENGINE=Y.OS=H([u,p]),e.exports&&(t=e.exports=Y),t.UAParser=Y;var Q=typeof n!==i&&(n.jQuery||n.Zepto);if(Q&&!Q.ua){var J=new Y;Q.ua=J.getResult(),Q.ua.get=function(){return J.getUA()},Q.ua.set=function(e){J.setUA(e);var t=J.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:c)}(er,er.exports);const tr=er.exports,nr=class{constructor(){__publicField(this,"storage",{})}static getInstance(){return nr.instance||(nr.instance=new nr),nr.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 rr=nr;__publicField(rr,"instance");class or extends N{constructor(...e){super(...e),Object.setPrototypeOf(this,or.prototype)}}function ir(...e){try{console.debug("[TON_CONNECT_UI]",...e)}catch(t){}}function sr(e,t="_self"){ir("openLink",e,t),window.open(e,t,"noopener noreferrer")}function ar(e){sr(e,"_blank")}function lr(e,t){const n=setTimeout((()=>{fr("safari")||gr("android")&&fr("firefox")||t()}),200);window.addEventListener("blur",(()=>clearTimeout(n)),{once:!0}),sr(e,"_self")}function cr(e){return __async(this,null,(function*(){yield new Promise((e=>requestAnimationFrame(e))),e()}))}function ur(e){"complete"!==document.readyState?window.addEventListener("load",(()=>cr((()=>ur(e)))),{once:!0}):e.forEach((e=>{(new window.Image).src=e}))}function dr(){if("undefined"!=typeof window)return window}function hr(){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 or("`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 rr.getInstance()}function pr(){var e,t,n;const r=(new tr).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 s=null==(n=r.browser.name)?void 0:n.toLowerCase();let a;switch(!0){case"chrome"===s:a="chrome";break;case"firefox"===s:a="firefox";break;case null==s?void 0:s.includes("safari"):a="safari";break;case null==s?void 0:s.includes("opera"):a="opera"}return{os:i,browser:a}}function gr(...e){return e.includes(pr().os)}function fr(...e){return e.includes(pr().browser)}function mr(e,t){return t+new URL(e).search}class wr{constructor(){__publicField(this,"localStorage"),__publicField(this,"storageKey","ton-connect-ui_wallet-info"),this.localStorage=hr()}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 vr{constructor(){__publicField(this,"localStorage"),__publicField(this,"storageKey","ton-connect-ui_preferred-wallet"),this.localStorage=hr()}setPreferredWalletAppName(e){this.localStorage.setItem(this.storageKey,e)}getPreferredWalletAppName(){return this.localStorage.getItem(this.storageKey)||void 0}}class yr{constructor(){__publicField(this,"localStorage"),__publicField(this,"storageKey","ton-connect-ui_last-selected-wallet-info"),this.localStorage=hr()}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[br,Cr]=gt({status:"closed",closeReason:null}),xr=vt((()=>"opened"===br().status)),[_r,kr]=gt({status:"closed",closeReason:null}),Sr=vt((()=>"opened"===_r().status)),Er=vt((()=>{const e=_r();return"opened"===e.status?e.walletInfo:null}));let Rr="undefined"!=typeof window?new yr:void 0;const[Tr,Lr]=gt((null==Rr?void 0:Rr.getLastSelectedWalletInfo())||null),Ar=e=>{Rr||(Rr=new yr),e?Rr.setLastSelectedWalletInfo(e):Rr.removeLastSelectedWalletInfo(),Lr(e)},[Or,Mr]=gt(null),Nr={common:{close:"Закрыть",openWallet:"Открыть кошелёк",copyLink:"Копировать",linkCopied:"Ссылка скопирована",copied:"Скопировано",yourWallet:"Ваш кошелёк",retry:"Повторить",get:"Скачать",mobile:"Мобильный",browserExtension:"Расширение",desktop:"Десктоп"},button:{connectWallet:"Подключить кошелёк",dropdown:{copy:"Скопировать адрес",copied:"Адрес скопирован!",disconnect:"Отключить кошелёк"}},notifications:{confirm:{header:"Откройте {{ name }}, чтобы подтвердить транзакцию."},transactionSent:{header:"Транзакция отправлена",text:"Ваша транзакция будет обработана через несколько секунд."},transactionCanceled:{header:"Транзакция отменена",text:"Состояние вашего счёта не изменится."}},walletItem:{walletOn:"Wallet в",recent:"Недавний",installed:"Установлен",popular:"Популярен"},walletModal:{loading:"Кошельки загружаются",wallets:"Кошельки",mobileUniversalModal:{connectYourWallet:"Подключите кошелёк",openWalletOnTelegramOrSelect:"Подключите Wallet в Telegram или выберете другое приложение",openWalletOnTelegram:"Открыть Wallet в Telegram",chooseOtherApplication:"Выберите другое приложение",openLink:"Открыть",scan:"Отсканируйте камерой вашего телефона"},desktopUniversalModal:{connectYourWallet:"Подключите TON кошелёк",scan:"Отсканируйте QR-код камерой вашего телефона",availableWallets:"Доступные кошельки"},mobileConnectionModal:{showQR:"Показать QR-код",scanQR:"Отсканируйте QR-код ниже камерой в приложении {{ name }}, или камерой телефона",continueIn:"Продолжите в {{ name }}…",connectionDeclined:"Подключение отклонено"},desktopConnectionModal:{scanQR:"Отсканируйте QR-код ниже камерой в приложении {{ name }}, или камерой телефона",continueInExtension:"Откройте браузерное расширение {{ name }}",dontHaveExtension:"Похоже, у вас не установлено браузерное расширение {{ name }}",getWallet:"Скачать {{ name }}",continueOnDesktop:"Откройте {{ name }} на компьютере…",openWalletOnTelegram:"Открыть Wallet в Telegram",connectionDeclined:"Подключение отклонено"},infoModal:{whatIsAWallet:"Что такое кошелёк?",secureDigitalAssets:"Надежное хранилище цифровых активов",walletProtects:"Кошелёк защищает ваши цифровые активы, включая TON, токены и предметы коллекционирования, и управляет ими.",controlIdentity:"Контроль своей личности Web3",manageIdentity:"Управляйте своей цифровой идентификацией и с легкостью получайте доступ к децентрализованным приложениям. Сохраняйте контроль над своими данными и безопасно участвуйте в экосистеме блокчейна.",effortlessCryptoTransactions:"Простые криптотранзакции",easilySend:"Легко отправляйте, получайте и отслеживайте свои криптовалюты. Оптимизируйте свои операции с помощью децентрализованных приложений.",getAWallet:"Скачать кошелёк"}},actionModal:{confirmTransaction:{header:"Подтвердите действие в {{ name }}",text:"Это займет пару секунд."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled"}},Pr={en:$r({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 confirm the transaction."},transactionSent:{header:"Transaction sent",text:"Your transaction will be processed in a few seconds."},transactionCanceled:{header:"Transaction canceled",text:"There will be no changes to your account."}},walletItem:{walletOn:"Wallet in",recent:"Recent",installed:"Installed",popular:"Popular"},walletModal:{loading:"Loading wallets",wallets:"Wallets",mobileUniversalModal:{connectYourWallet:"Connect your TON wallet",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 wallet"},desktopUniversalModal:{connectYourWallet:"Connect your TON wallet",scan:"Scan with your mobile wallet",availableWallets:"Available wallets"},mobileConnectionModal:{showQR:"Show QR Code",scanQR:"Scan the QR code below with your phone’s or {{ name }}’s camera",continueIn:"Continue in {{ name }}…",connectionDeclined:"Connection declined"},desktopConnectionModal:{scanQR:"Scan the QR code below with your phone’s or {{ name }}’s camera",continueInExtension:"Continue in {{ name }} browser extension…",dontHaveExtension:"Seems you don't have installed {{ name }} browser extension",getWallet:"Get {{ name }}",continueOnDesktop:"Continue in {{ name }} on desktop…",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 including 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 the blockchain ecosystem.",effortlessCryptoTransactions:"Effortless crypto transactions",easilySend:"Easily send, receive, monitor your cryptocurrencies. Streamline your operations with decentralized applications.",getAWallet:"Get a Wallet"}},actionModal:{confirmTransaction:{header:"Confirm the transaction in {{ name }}",text:"It will only take a moment."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled"}}),ru:$r(Nr)};function $r(e){const t=n=>{Object.entries(n).forEach((([r,o])=>{if("object"==typeof o&&o)return t(o);if("string"==typeof o){if("$"===o[0]){const t=o.slice(1).split(".");let i=e;t.forEach((e=>{if(!(e in i))throw new Error(`Cannot parse translations: there is no property ${e} in translation`);i=i[e]})),n[r]=i}"\\$"===o.slice(0,2)&&(n[r]=o.slice(1))}}))};return t(e),e}const Ir=St(),Ur=Symbol("store-raw"),Wr=Symbol("store-node"),jr=Symbol("store-name");function Br(e,t){let n=e[Je];if(!n&&(Object.defineProperty(e,Je,{value:n=new Proxy(e,zr)}),!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 Dr(e){let t;return null!=e&&"object"==typeof e&&(e[Je]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Hr(e,t=new Set){let n,r,o,i;if(n=null!=e&&e[Ur])return n;if(!Dr(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,i=e.length;n<i;n++)o=e[n],(r=Hr(o,t))!==o&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const n=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let a=0,l=n.length;a<l;a++)i=n[a],s[i].get||(o=e[i],(r=Hr(o,t))!==o&&(e[i]=r))}return e}function Vr(e){let t=e[Wr];return t||Object.defineProperty(e,Wr,{value:t={}}),t}function Kr(e,t,n){return e[t]||(e[t]=qr(n))}function Fr(e){if(kt()){const t=Vr(e);(t._||(t._=qr()))()}}function qr(e){const[t,n]=gt(e,{equals:!1,internal:!0});return t.$=n,t}const zr={get(e,t,n){if(t===Ur)return e;if(t===Je)return n;if(t===Xe)return Fr(e),n;const r=Vr(e),o=r.hasOwnProperty(t);let i=o?r[t]():e[t];if(t===Wr||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!kt()||"function"==typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=Kr(r,t,i)())}return Dr(i)?Br(i):i},has(e,t){return t===Ur||t===Je||t===Xe||t===Wr||"__proto__"===t||(this.get(e,t,e),t in e)},set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return Fr(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==Je&&t!==Wr&&t!==jr?(delete n.value,delete n.writable,n.get=()=>e[Je][t],n):n}};function Zr(e,t,n,r=!1){if(!r&&e[t]===n)return;const o=e[t],i=e.length;void 0===n?delete e[t]:e[t]=n;let s,a=Vr(e);(s=Kr(a,t,o))&&s.$((()=>n)),Array.isArray(e)&&e.length!==i&&(s=Kr(a,"length",i))&&s.$(e.length),(s=a._)&&s.$()}function Gr(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];Zr(e,o,t[o])}}function Yr(e,t,n=[]){let r,o=e;if(t.length>1){r=t.shift();const i=typeof r,s=Array.isArray(e);if(Array.isArray(r)){for(let o=0;o<r.length;o++)Yr(e,[r[o]].concat(t),n);return}if(s&&"function"===i){for(let o=0;o<e.length;o++)r(e[o],o)&&Yr(e,[o].concat(t),n);return}if(s&&"object"===i){const{from:o=0,to:i=e.length-1,by:s=1}=r;for(let r=o;r<=i;r+=s)Yr(e,[r].concat(t),n);return}if(t.length>1)return void Yr(e[r],t,[r].concat(n));o=e[r],n=[r].concat(n)}let i=t[0];"function"==typeof i&&(i=i(o,n),i===o)||void 0===r&&null==i||(i=Hr(i),void 0===r||Dr(o)&&Dr(i)&&!Array.isArray(i)?Gr(o,i):Zr(e,r,i))}function Qr(...[e,t]){const n=Hr(e||{}),r=Array.isArray(n);return[Br(n),function(...e){bt((()=>{r&&1===e.length?function(e,t){if("function"==typeof t&&(t=t(e)),t=Hr(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&&Zr(e,n,r)}Zr(e,"length",r)}else Gr(e,t)}(n,e[0]):Yr(n,e)}))}]}const Jr={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"}};var Xr=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===eo}(e)}(e)};var eo="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function to(e,t){return!1!==t.clone&&t.isMergeableObject(e)?so((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function no(e,t,n){return e.concat(t).map((function(e){return to(e,n)}))}function ro(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function oo(e,t){try{return t in e}catch(n){return!1}}function io(e,t,n){var r={};return n.isMergeableObject(e)&&ro(e).forEach((function(t){r[t]=to(e[t],n)})),ro(t).forEach((function(o){(function(e,t){return oo(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(oo(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return so;var n=t.customMerge(e);return"function"==typeof n?n:so}(o,n)(e[o],t[o],n):r[o]=to(t[o],n))})),r}function so(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||no,n.isMergeableObject=n.isMergeableObject||Xr,n.cloneUnlessOtherwiseSpecified=to;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):io(e,t,n):to(t,n)}so.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return so(e,n,t)}),{})};var ao=so;function lo(e){return"[object Object]"===Object.prototype.toString.call(e)}function co(e){var t,n;return!1!==lo(e)&&(void 0===(t=e.constructor)||!1!==lo(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function uo(e,t){if(!e)return t;return ao(t,e,{arrayMerge:(e,t,n)=>t,isMergeableObject:co})}const[ho,po]=Qr({theme:Ln.LIGHT,colors:Jr,borderRadius:"m"}),go={[Ln.LIGHT]:Jr,[Ln.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"}}},fo={[Ln.LIGHT]:void 0,[Ln.DARK]:void 0};function mo(e,t){t&&(fo[Ln.DARK]=uo(t[Ln.DARK],fo[Ln.DARK]),fo[Ln.LIGHT]=uo(t[Ln.LIGHT],fo[Ln.LIGHT])),po({theme:e,colors:uo(fo[e],go[e])})}const wo=qn.div`
40
+ `,{})};function Jn(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 Xn(e){return e.toString()+"px"}var er={exports:{}};!function(e,t){!function(n,r){var o="function",i="undefined",s="object",a="string",l="major",c="model",u="name",d="type",h="vendor",p="version",g="architecture",f="console",m="mobile",w="tablet",v="smarttv",y="wearable",b="embedded",C="Amazon",x="Apple",_="ASUS",k="BlackBerry",S="Browser",E="Chrome",R="Firefox",T="Google",L="Huawei",A="LG",O="Microsoft",M="Motorola",N="Opera",P="Samsung",$="Sharp",I="Sony",U="Xiaomi",W="Zebra",j="Facebook",B="Chromium OS",D="Mac OS",H=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},V=function(e,t){return typeof e===a&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,350)},q=function(e,t){for(var n,i,a,l,c,u,d=0;d<t.length&&!c;){var h=t[d],p=t[d+1];for(n=i=0;n<h.length&&!c&&h[n];)if(c=h[n++].exec(e))for(a=0;a<p.length;a++)u=c[++i],typeof(l=p[a])===s&&l.length>0?2===l.length?typeof l[1]==o?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==o||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):r:this[l[0]]=u?l[1].call(this,u,l[2]):r:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):r):this[l]=u||r;d+=2}},z=function(e,t){for(var n in t)if(typeof t[n]===s&&t[n].length>0){for(var o=0;o<t[n].length;o++)if(V(t[n][o],e))return"?"===n?r:n}else if(V(t[n],e))return"?"===n?r: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"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,p],[/opios[\/ ]+([\w\.]+)/i],[p,[u,N+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[u,N]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\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],[u,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[u,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[p,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+S],p],[/\bfocus\/([\w\.]+)/i],[p,[u,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[u,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[u,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[p,[u,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 "+S]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 "+S],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,j],p],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[u,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,E+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[u,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[p,z,{"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],[u,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[u,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],[u,p],[/(cobalt)\/([\w\.]+)/i],[u,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,K]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,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],[c,[h,P],[d,w]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[h,P],[d,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[h,x],[d,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[h,x],[d,w]],[/(macintosh);/i],[c,[h,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[h,$],[d,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[h,L],[d,w]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[h,L],[d,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[h,U],[d,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[h,U],[d,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[h,"OPPO"],[d,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[h,"Vivo"],[d,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[h,"Realme"],[d,m]],[/\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],[c,[h,M],[d,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[h,M],[d,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[h,A],[d,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[h,A],[d,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[h,"Lenovo"],[d,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[h,"Nokia"],[d,m]],[/(pixel c)\b/i],[c,[h,T],[d,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[h,T],[d,m]],[/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],[c,[h,I],[d,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[h,I],[d,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[h,"OnePlus"],[d,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[h,C],[d,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[h,C],[d,m]],[/(playbook);[-\w\),; ]+(rim)/i],[c,h,[d,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[h,k],[d,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[h,_],[d,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[h,_],[d,m]],[/(nexus 9)/i],[c,[h,"HTC"],[d,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[c,/_/g," "],[d,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[h,"Acer"],[d,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[h,"Meizu"],[d,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,c,[d,m]],[/(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,c,[d,w]],[/(surface duo)/i],[c,[h,O],[d,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[h,"Fairphone"],[d,m]],[/(u304aa)/i],[c,[h,"AT&T"],[d,m]],[/\bsie-(\w*)/i],[c,[h,"Siemens"],[d,m]],[/\b(rct\w+) b/i],[c,[h,"RCA"],[d,w]],[/\b(venue[\d ]{2,7}) b/i],[c,[h,"Dell"],[d,w]],[/\b(q(?:mv|ta)\w+) b/i],[c,[h,"Verizon"],[d,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[h,"Barnes & Noble"],[d,w]],[/\b(tm\d{3}\w+) b/i],[c,[h,"NuVision"],[d,w]],[/\b(k88) b/i],[c,[h,"ZTE"],[d,w]],[/\b(nx\d{3}j) b/i],[c,[h,"ZTE"],[d,m]],[/\b(gen\d{3}) b.+49h/i],[c,[h,"Swiss"],[d,m]],[/\b(zur\d{3}) b/i],[c,[h,"Swiss"],[d,w]],[/\b((zeki)?tb.*\b) b/i],[c,[h,"Zeki"],[d,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],c,[d,w]],[/\b(ns-?\w{0,9}) b/i],[c,[h,"Insignia"],[d,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[h,"NextBook"],[d,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],c,[d,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],c,[d,m]],[/\b(ph-1) /i],[c,[h,"Essential"],[d,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[h,"Envizen"],[d,w]],[/\b(trio[-\w\. ]+) b/i],[c,[h,"MachSpeed"],[d,w]],[/\btu_(1491) b/i],[c,[h,"Rotor"],[d,w]],[/(shield[\w ]+) b/i],[c,[h,"Nvidia"],[d,w]],[/(sprint) (\w+)/i],[h,c,[d,m]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[h,O],[d,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[h,W],[d,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[h,W],[d,m]],[/smart-tv.+(samsung)/i],[h,[d,v]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[h,P],[d,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,A],[d,v]],[/(apple) ?tv/i],[h,[c,x+" TV"],[d,v]],[/crkey/i],[[c,E+"cast"],[h,T],[d,v]],[/droid.+aft(\w)( bui|\))/i],[c,[h,C],[d,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[h,$],[d,v]],[/(bravia[\w ]+)( bui|\))/i],[c,[h,I],[d,v]],[/(mitv-\w{5}) bui/i],[c,[h,U],[d,v]],[/Hbbtv.*(technisat) (.*);/i],[h,c,[d,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,F],[c,F],[d,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,c,[d,f]],[/droid.+; (shield) bui/i],[c,[h,"Nvidia"],[d,f]],[/(playstation [345portablevi]+)/i],[c,[h,I],[d,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[h,O],[d,f]],[/((pebble))app/i],[h,c,[d,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[h,x],[d,y]],[/droid.+; (glass) \d/i],[c,[h,T],[d,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[h,W],[d,y]],[/(quest( 2| pro)?)/i],[c,[h,j],[d,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,b]],[/(aeobc)\b/i],[c,[h,C],[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[d,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[d,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,m]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[u,"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],[u,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[p,z,Z]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[p,z,Z]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,D],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,p],[/\(bb(10);/i],[p,[u,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[u,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[u,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,B],p],[/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],[u,p],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,p]]},Y=function(e,t){if(typeof e===s&&(t=e,e=r),!(this instanceof Y))return new Y(e,t).getResult();var f=typeof n!==i&&n.navigator?n.navigator:r,v=e||(f&&f.userAgent?f.userAgent:""),y=f&&f.userAgentData?f.userAgentData:r,b=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}(G,t):G,C=f&&f.userAgent==v;return this.getBrowser=function(){var e,t={};return t[u]=r,t[p]=r,q.call(t,v,b.browser),t[l]=typeof(e=t[p])===a?e.replace(/[^\d\.]/g,"").split(".")[0]:r,C&&f&&f.brave&&typeof f.brave.isBrave==o&&(t[u]="Brave"),t},this.getCPU=function(){var e={};return e[g]=r,q.call(e,v,b.cpu),e},this.getDevice=function(){var e={};return e[h]=r,e[c]=r,e[d]=r,q.call(e,v,b.device),C&&!e[d]&&y&&y.mobile&&(e[d]=m),C&&"Macintosh"==e[c]&&f&&typeof f.standalone!==i&&f.maxTouchPoints&&f.maxTouchPoints>2&&(e[c]="iPad",e[d]=w),e},this.getEngine=function(){var e={};return e[u]=r,e[p]=r,q.call(e,v,b.engine),e},this.getOS=function(){var e={};return e[u]=r,e[p]=r,q.call(e,v,b.os),C&&!e[u]&&y&&"Unknown"!=y.platform&&(e[u]=y.platform.replace(/chrome os/i,B).replace(/macos/i,D)),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 v},this.setUA=function(e){return v=typeof e===a&&e.length>350?F(e,350):e,this},this.setUA(v),this};Y.VERSION="1.0.35",Y.BROWSER=H([u,p,l]),Y.CPU=H([g]),Y.DEVICE=H([c,h,d,f,m,v,w,y,b]),Y.ENGINE=Y.OS=H([u,p]),e.exports&&(t=e.exports=Y),t.UAParser=Y;var Q=typeof n!==i&&(n.jQuery||n.Zepto);if(Q&&!Q.ua){var J=new Y;Q.ua=J.getResult(),Q.ua.get=function(){return J.getUA()},Q.ua.set=function(e){J.setUA(e);var t=J.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:c)}(er,er.exports);const tr=er.exports,nr=class{constructor(){__publicField(this,"storage",{})}static getInstance(){return nr.instance||(nr.instance=new nr),nr.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 rr=nr;__publicField(rr,"instance");class or extends N{constructor(...e){super(...e),Object.setPrototypeOf(this,or.prototype)}}function ir(...e){try{console.debug("[TON_CONNECT_UI]",...e)}catch(t){}}function sr(e,t="_self"){ir("openLink",e,t),window.open(e,t,"noopener noreferrer")}function ar(e){sr(e,"_blank")}function lr(e,t){const n=setTimeout((()=>{fr("safari")||gr("android")&&fr("firefox")||t()}),200);window.addEventListener("blur",(()=>clearTimeout(n)),{once:!0}),sr(e,"_self")}function cr(e){return __async(this,null,(function*(){yield new Promise((e=>requestAnimationFrame(e))),e()}))}function ur(e){"complete"!==document.readyState?window.addEventListener("load",(()=>cr((()=>ur(e)))),{once:!0}):e.forEach((e=>{(new window.Image).src=e}))}function dr(){if("undefined"!=typeof window)return window}function hr(){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 or("`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 rr.getInstance()}function pr(){var e,t,n;const r=(new tr).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 s=null==(n=r.browser.name)?void 0:n.toLowerCase();let a;switch(!0){case"chrome"===s:a="chrome";break;case"firefox"===s:a="firefox";break;case null==s?void 0:s.includes("safari"):a="safari";break;case null==s?void 0:s.includes("opera"):a="opera"}return{os:i,browser:a}}function gr(...e){return e.includes(pr().os)}function fr(...e){return e.includes(pr().browser)}function mr(e,t){return t+new URL(e).search}class wr{constructor(){__publicField(this,"localStorage"),__publicField(this,"storageKey","ton-connect-ui_wallet-info"),this.localStorage=hr()}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 vr{constructor(){__publicField(this,"localStorage"),__publicField(this,"storageKey","ton-connect-ui_preferred-wallet"),this.localStorage=hr()}setPreferredWalletAppName(e){this.localStorage.setItem(this.storageKey,e)}getPreferredWalletAppName(){return this.localStorage.getItem(this.storageKey)||void 0}}class yr{constructor(){__publicField(this,"localStorage"),__publicField(this,"storageKey","ton-connect-ui_last-selected-wallet-info"),this.localStorage=hr()}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[br,Cr]=gt({status:"closed",closeReason:null}),xr=vt((()=>"opened"===br().status)),[_r,kr]=gt({status:"closed",closeReason:null}),Sr=vt((()=>"opened"===_r().status)),Er=vt((()=>{const e=_r();return"opened"===e.status?e.walletInfo:null}));let Rr="undefined"!=typeof window?new yr:void 0;const[Tr,Lr]=gt((null==Rr?void 0:Rr.getLastSelectedWalletInfo())||null),Ar=e=>{Rr||(Rr=new yr),e?Rr.setLastSelectedWalletInfo(e):Rr.removeLastSelectedWalletInfo(),Lr(e)},[Or,Mr]=gt(null),Nr={common:{close:"Закрыть",openWallet:"Открыть кошелёк",copyLink:"Скопировать",linkCopied:"Ссылка скопирована",copied:"Скопировано",yourWallet:"Ваш кошелёк",retry:"Повторить",get:"Скачать",mobile:"Мобильный",browserExtension:"Расширение",desktop:"Десктоп"},button:{connectWallet:"Подключить кошелёк",dropdown:{copy:"Скопировать адрес",copied:"Адрес скопирован!",disconnect:"Отключить кошелёк"}},notifications:{confirm:{header:"Откройте {{ name }}, чтобы подтвердить транзакцию."},transactionSent:{header:"Транзакция отправлена",text:"Ваша транзакция будет обработана через несколько секунд."},transactionCanceled:{header:"Транзакция отменена",text:"Состояние вашего счёта не изменится."}},walletItem:{walletOn:"Wallet в",recent:"Недавний",installed:"Установлен",popular:"Популярен"},walletModal:{loading:"Кошельки загружаются",wallets:"Кошельки",mobileUniversalModal:{connectYourWallet:"Подключите TON кошелёк",openWalletOnTelegramOrSelect:"Подключите Wallet в Telegram или выберете другое приложение",openWalletOnTelegram:"Открыть Wallet в Telegram",chooseOtherApplication:"Выберите другое приложение",openLink:"Открыть",scan:"Отсканируйте камерой вашего телефона"},desktopUniversalModal:{connectYourWallet:"Подключите TON кошелёк",scan:"Отсканируйте QR-код камерой вашего телефона",availableWallets:"Доступные кошельки"},mobileConnectionModal:{showQR:"Показать QR-код",scanQR:"Отсканируйте QR-код ниже камерой в приложении {{ name }}, или камерой телефона",continueIn:"Продолжите в {{ name }}…",connectionDeclined:"Подключение отклонено"},desktopConnectionModal:{scanQR:"Отсканируйте QR-код ниже камерой в приложении {{ name }}, или камерой телефона",continueInExtension:"Откройте браузерное расширение {{ name }}",dontHaveExtension:"Похоже, у вас не установлено браузерное расширение {{ name }}",getWallet:"Скачать {{ name }}",continueOnDesktop:"Откройте {{ name }} на компьютере…",openWalletOnTelegram:"Открыть Wallet в Telegram",connectionDeclined:"Подключение отклонено"},infoModal:{whatIsAWallet:"Что такое кошелёк?",secureDigitalAssets:"Надежное хранилище цифровых активов",walletProtects:"Кошелёк защищает ваши цифровые активы, включая TON, токены и предметы коллекционирования, и управляет ими.",controlIdentity:"Контроль своей личности Web3",manageIdentity:"Управляйте своей цифровой идентификацией и с легкостью получайте доступ к децентрализованным приложениям. Сохраняйте контроль над своими данными и безопасно участвуйте в экосистеме блокчейна.",effortlessCryptoTransactions:"Простые криптотранзакции",easilySend:"Легко отправляйте, получайте и отслеживайте свои криптовалюты. Оптимизируйте свои операции с помощью децентрализованных приложений.",getAWallet:"Скачать кошелёк"}},actionModal:{confirmTransaction:{header:"Подтвердите действие в {{ name }}",text:"Это займет пару секунд."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled"}},Pr={en:$r({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 confirm the transaction."},transactionSent:{header:"Transaction sent",text:"Your transaction will be processed in a few seconds."},transactionCanceled:{header:"Transaction canceled",text:"There will be no changes to your account."}},walletItem:{walletOn:"Wallet in",recent:"Recent",installed:"Installed",popular:"Popular"},walletModal:{loading:"Loading wallets",wallets:"Wallets",mobileUniversalModal:{connectYourWallet:"Connect your TON wallet",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 wallet"},desktopUniversalModal:{connectYourWallet:"Connect your TON wallet",scan:"Scan with your mobile wallet",availableWallets:"Available wallets"},mobileConnectionModal:{showQR:"Show QR Code",scanQR:"Scan the QR code below with your phone’s or {{ name }}’s camera",continueIn:"Continue in {{ name }}…",connectionDeclined:"Connection declined"},desktopConnectionModal:{scanQR:"Scan the QR code below with your phone’s or {{ name }}’s camera",continueInExtension:"Continue in {{ name }} browser extension…",dontHaveExtension:"Seems you don't have installed {{ name }} browser extension",getWallet:"Get {{ name }}",continueOnDesktop:"Continue in {{ name }} on desktop…",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 including 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 the blockchain ecosystem.",effortlessCryptoTransactions:"Effortless crypto transactions",easilySend:"Easily send, receive, monitor your cryptocurrencies. Streamline your operations with decentralized applications.",getAWallet:"Get a Wallet"}},actionModal:{confirmTransaction:{header:"Confirm the transaction in {{ name }}",text:"It will only take a moment."},transactionSent:"$notifications.transactionSent",transactionCanceled:"$notifications.transactionCanceled"}}),ru:$r(Nr)};function $r(e){const t=n=>{Object.entries(n).forEach((([r,o])=>{if("object"==typeof o&&o)return t(o);if("string"==typeof o){if("$"===o[0]){const t=o.slice(1).split(".");let i=e;t.forEach((e=>{if(!(e in i))throw new Error(`Cannot parse translations: there is no property ${e} in translation`);i=i[e]})),n[r]=i}"\\$"===o.slice(0,2)&&(n[r]=o.slice(1))}}))};return t(e),e}const Ir=St(),Ur=Symbol("store-raw"),Wr=Symbol("store-node"),jr=Symbol("store-name");function Br(e,t){let n=e[Je];if(!n&&(Object.defineProperty(e,Je,{value:n=new Proxy(e,zr)}),!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 Dr(e){let t;return null!=e&&"object"==typeof e&&(e[Je]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Hr(e,t=new Set){let n,r,o,i;if(n=null!=e&&e[Ur])return n;if(!Dr(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,i=e.length;n<i;n++)o=e[n],(r=Hr(o,t))!==o&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const n=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let a=0,l=n.length;a<l;a++)i=n[a],s[i].get||(o=e[i],(r=Hr(o,t))!==o&&(e[i]=r))}return e}function Vr(e){let t=e[Wr];return t||Object.defineProperty(e,Wr,{value:t={}}),t}function Kr(e,t,n){return e[t]||(e[t]=qr(n))}function Fr(e){if(kt()){const t=Vr(e);(t._||(t._=qr()))()}}function qr(e){const[t,n]=gt(e,{equals:!1,internal:!0});return t.$=n,t}const zr={get(e,t,n){if(t===Ur)return e;if(t===Je)return n;if(t===Xe)return Fr(e),n;const r=Vr(e),o=r.hasOwnProperty(t);let i=o?r[t]():e[t];if(t===Wr||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!kt()||"function"==typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=Kr(r,t,i)())}return Dr(i)?Br(i):i},has(e,t){return t===Ur||t===Je||t===Xe||t===Wr||"__proto__"===t||(this.get(e,t,e),t in e)},set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return Fr(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==Je&&t!==Wr&&t!==jr?(delete n.value,delete n.writable,n.get=()=>e[Je][t],n):n}};function Zr(e,t,n,r=!1){if(!r&&e[t]===n)return;const o=e[t],i=e.length;void 0===n?delete e[t]:e[t]=n;let s,a=Vr(e);(s=Kr(a,t,o))&&s.$((()=>n)),Array.isArray(e)&&e.length!==i&&(s=Kr(a,"length",i))&&s.$(e.length),(s=a._)&&s.$()}function Gr(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];Zr(e,o,t[o])}}function Yr(e,t,n=[]){let r,o=e;if(t.length>1){r=t.shift();const i=typeof r,s=Array.isArray(e);if(Array.isArray(r)){for(let o=0;o<r.length;o++)Yr(e,[r[o]].concat(t),n);return}if(s&&"function"===i){for(let o=0;o<e.length;o++)r(e[o],o)&&Yr(e,[o].concat(t),n);return}if(s&&"object"===i){const{from:o=0,to:i=e.length-1,by:s=1}=r;for(let r=o;r<=i;r+=s)Yr(e,[r].concat(t),n);return}if(t.length>1)return void Yr(e[r],t,[r].concat(n));o=e[r],n=[r].concat(n)}let i=t[0];"function"==typeof i&&(i=i(o,n),i===o)||void 0===r&&null==i||(i=Hr(i),void 0===r||Dr(o)&&Dr(i)&&!Array.isArray(i)?Gr(o,i):Zr(e,r,i))}function Qr(...[e,t]){const n=Hr(e||{}),r=Array.isArray(n);return[Br(n),function(...e){bt((()=>{r&&1===e.length?function(e,t){if("function"==typeof t&&(t=t(e)),t=Hr(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&&Zr(e,n,r)}Zr(e,"length",r)}else Gr(e,t)}(n,e[0]):Yr(n,e)}))}]}const Jr={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"}};var Xr=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===eo}(e)}(e)};var eo="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function to(e,t){return!1!==t.clone&&t.isMergeableObject(e)?so((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function no(e,t,n){return e.concat(t).map((function(e){return to(e,n)}))}function ro(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function oo(e,t){try{return t in e}catch(n){return!1}}function io(e,t,n){var r={};return n.isMergeableObject(e)&&ro(e).forEach((function(t){r[t]=to(e[t],n)})),ro(t).forEach((function(o){(function(e,t){return oo(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(oo(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return so;var n=t.customMerge(e);return"function"==typeof n?n:so}(o,n)(e[o],t[o],n):r[o]=to(t[o],n))})),r}function so(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||no,n.isMergeableObject=n.isMergeableObject||Xr,n.cloneUnlessOtherwiseSpecified=to;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):io(e,t,n):to(t,n)}so.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return so(e,n,t)}),{})};var ao=so;function lo(e){return"[object Object]"===Object.prototype.toString.call(e)}function co(e){var t,n;return!1!==lo(e)&&(void 0===(t=e.constructor)||!1!==lo(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function uo(e,t){if(!e)return t;return ao(t,e,{arrayMerge:(e,t,n)=>t,isMergeableObject:co})}const[ho,po]=Qr({theme:Ln.LIGHT,colors:Jr,borderRadius:"m"}),go={[Ln.LIGHT]:Jr,[Ln.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"}}},fo={[Ln.LIGHT]:void 0,[Ln.DARK]:void 0};function mo(e,t){t&&(fo[Ln.DARK]=uo(t[Ln.DARK],fo[Ln.DARK]),fo[Ln.LIGHT]=uo(t[Ln.LIGHT],fo[Ln.LIGHT])),po({theme:e,colors:uo(fo[e],go[e])})}const wo=qn.div`
41
41
  background-color: ${e=>e.theme.colors.background.secondary};
42
42
  `,vo=e=>{let t;const[n,r]=gt(null);return wt((()=>{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))))})),[qt(Xt,{get when(){return n()},get children(){return n()}}),qt(Xt,{get when(){return!n()},get children(){return qt(wo,{get class(){return e.class},ref(e){"function"==typeof t?t(e):t=e}})}})]};let yo={};try{yo=function(e){e=e.replace(/^#/,"");let t={};if(!e.length)return t;if(e.indexOf("=")<0&&e.indexOf("?")<0)return t._path=Lo(e),t;let n=e.indexOf("?");if(n>=0){let r=e.substr(0,n);t._path=Lo(r),e=e.substr(n+1)}let r=function(e){let t={};if(!e.length)return t;let n,r,o,i,s=e.split("&");for(n=0;n<s.length;n++)r=s[n].split("="),o=Lo(r[0]),i=null==r[1]?null:Lo(r[1]),t[o]=i;return t}(e);for(let o in r)t[o]=r[o];return t}(location.hash.toString())}catch(Qu){}let bo="unknown";if((null==yo?void 0:yo.tgWebAppPlatform)&&(bo=null!=(t=yo.tgWebAppPlatform)?t:"unknown"),"unknown"===bo){const e=dr();bo=null!=(o=null==(r=null==(n=null==e?void 0:e.Telegram)?void 0:n.WebApp)?void 0:r.platform)?o:"unknown"}let Co="6.0";if((null==yo?void 0:yo.tgWebAppVersion)&&(Co=yo.tgWebAppVersion),!Co){const e=dr();Co=null!=(a=null==(s=null==(i=null==e?void 0:e.Telegram)?void 0:i.WebApp)?void 0:s.version)?a:"6.0"}function xo(...e){return e.includes(bo)}function _o(){var e;return"unknown"!==bo||!!(null==(e=dr())?void 0:e.TelegramWebviewProxy)}function ko(){var e;const t=!!(null==(e=dr())?void 0:e.TelegramWebview);return(_o()||t)&&"unknown"===bo}function So(){To("web_app_expand",{})}function Eo(e,t){const n=new URL(e);if("http:"!==n.protocol&&"https:"!==n.protocol){if(t)return t();throw new or(`Url protocol is not supported: ${n}`)}if("t.me"!==n.hostname){if(t)return t();throw new or(`Url host is not supported: ${n}`)}const r=n.pathname+n.search;Ro()||function(e,t){"string"!=typeof e&&(e=""),"string"!=typeof t&&(t="");let n,r,o,i,s=e.replace(/^\s+|\s+$/g,"").split("."),a=t.replace(/^\s+|\s+$/g,"").split(".");for(n=Math.max(s.length,a.length),r=0;r<n;r++)if(o=parseInt(s[r])||0,i=parseInt(a[r])||0,o!==i)return o>i?1:-1;return 0}(Co,"6.1")>=0?To("web_app_open_tg_link",{path_full:r}):ar("https://t.me"+r)}function Ro(){try{const e=dr();return!!e&&(null!=e.parent&&e!==e.parent)}catch(Qu){return!1}}function To(e,t){try{const n=dr();if(!n)throw new or("Can't post event to parent window: window is not defined");if(void 0!==n.TelegramWebviewProxy)ir("postEvent",e,t),n.TelegramWebviewProxy.postEvent(e,JSON.stringify(t));else if(n.external&&"notify"in n.external)ir("postEvent",e,t),n.external.notify(JSON.stringify({eventType:e,eventData:t}));else{if(!Ro())throw new or("Can't post event to TMA");{const r="*",o=JSON.stringify({eventType:e,eventData:t});ir("postEvent",e,t),n.parent.postMessage(o,r)}}}catch(Qu){!function(...t){try{console.error("[TON_CONNECT_UI]",...t)}catch(e){}}(`Can't post event to parent window: ${Qu}`)}}function Lo(e){try{return e=e.replace(/\+/g,"%20"),decodeURIComponent(e)}catch(Qu){return e}}const Ao={mobile:440,tablet:1020};function Oo(e){const t=dr();if(!t)return"desktop"===e;if(xo("weba"))return!0;const n=t.innerWidth;switch(e){case"desktop":return n>Ao.tablet;case"tablet":return n>Ao.mobile;default:return n<=Ao.mobile||gr("ios","android","ipad")}}function Mo(e){switch(e){case"mobile":return`@media (max-width: ${Ao.mobile}px)`;case"tablet":return`@media (max-width: ${Ao.tablet}px) (min-width: ${Ao.mobile}px)`;default:return`@media (min-width: ${Ao.tablet}px)`}}const No="@media (hover: none)",Po="@media not all and (hover: none)",$o={m:"100vh",s:"8px",none:"0"},Io={s:.02,m:.04},Uo=qn.button`
43
43
  display: ${e=>e.leftIcon||e.rightIcon?"flex":"inline-block"};
@@ -107,7 +107,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
107
107
  transform: scale(0.92);
108
108
  }
109
109
  }
110
- `,ei=e=>{const t=Wo(e),n=()=>e.icon||"close";return qt(Xo,Yt({get class(){return e.class},onClick:()=>e.onClick(),"data-tc-icon-button":"true"},t,{get children(){return[qt(Xt,{get when(){return!!e.children},get children(){return e.children}}),qt(Xt,{get when(){return!e.children},get children(){return qt(en,{get children(){return[qt(tn,{get when(){return"close"===n()},get children(){return qt(Jo,{get fill(){return e.fill}})}}),qt(tn,{get when(){return"arrow"===n()},get children(){return qt(Yo,{get fill(){return e.fill}})}}),qt(tn,{get when(){return"question"===n()},get children(){return qt(_s,{get fill(){return e.fill}})}}),qt(tn,{get when(){return"string"!=typeof n()},get children(){return n()}})]}})}})]}}))},ti={m:"24px",s:"16px",none:"0"},ni=qn.div`
110
+ `,ei=e=>{const t=Wo(e),n=()=>e.icon||"close";return qt(Xo,Yt({get class(){return e.class},onClick:()=>e.onClick(),"data-tc-icon-button":"true"},t,{get children(){return[qt(Xt,{get when(){return!!e.children},get children(){return e.children}}),qt(Xt,{get when(){return!e.children},get children(){return qt(en,{get children(){return[qt(tn,{get when(){return"close"===n()},get children(){return qt(Jo,{get fill(){return e.fill}})}}),qt(tn,{get when(){return"arrow"===n()},get children(){return qt(Yo,{get fill(){return e.fill}})}}),qt(tn,{get when(){return"question"===n()},get children(){return qt(ks,{get fill(){return e.fill}})}}),qt(tn,{get when(){return"string"!=typeof n()},get children(){return n()}})]}})}})]}}))},ti={m:"24px",s:"16px",none:"0"},ni=qn.div`
111
111
  display: flex;
112
112
  position: fixed;
113
113
  z-index: 1000;
@@ -159,7 +159,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
159
159
  ${e=>ti[e.theme.borderRadius]};
160
160
  `,ai=qn(ei)`
161
161
  background-color: ${e=>Jn(e.theme.colors.icon.secondary,.12)};
162
- `;class li{constructor(){__publicField(this,"currentTime",0)}}const ci=class{constructor(){__publicField(this,"currentTime",0),__publicField(this,"playbackRate",1),__publicField(this,"startTime",null),__publicField(this,"timeline",new li),__publicField(this,"finished",Promise.resolve(this)),__publicField(this,"effect",null),__publicField(this,"id",""),__publicField(this,"pending",!1),__publicField(this,"playState","finished"),__publicField(this,"replaceState","active"),__publicField(this,"ready",Promise.resolve(this)),__publicField(this,"oncancel",null),__publicField(this,"onfinish",null),__publicField(this,"onremove",null)}static create(){return ci._instance||(!function(...e){try{console.warn("[TON_CONNECT_UI]",...e)}catch(Qu){}}("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."),ci._instance=new ci),ci._instance}cancel(){}finish(){}pause(){}play(){}reverse(){}addEventListener(e,t,n){}dispatchEvent(e){return!1}removeEventListener(e,t,n){}updatePlaybackRate(e){}commitStyles(){}persist(){}};let ui=ci;function di(e,t,n){return"animate"in e?e.animate(t,n):ui.create()}__publicField(ui,"_instance",null);const hi=dn("<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),_t((()=>document.body.removeEventListener("click",n)))},gi=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),_t((()=>document.body.removeEventListener("keydown",n)))},fi=function(e,t){const{isEnabled:n,onClose:r}=t();if(!n)return;if(!("android"===pr().os))return;window.history.pushState(zo,"");const o=e=>{e.preventDefault(),r()};window.addEventListener("popstate",o,{once:!0}),_t((()=>{window.removeEventListener("popstate",o),cr((()=>{var e;!0===(null==(e=window.history.state)?void 0:e[qo])&&window.history.back()}))}))},mi=e=>{const t=Kn(),n=Wo(e);return wt((()=>{e.opened?document.documentElement.scrollHeight!==document.documentElement.clientHeight&&(document.body.style.top=Xn(-document.documentElement.scrollTop),document.body.classList.add(Gn)):(document.body.classList.remove(Gn),document.documentElement.scrollTo({top:-parseFloat(getComputedStyle(document.body).top)}),document.body.style.top="auto")})),qt(Vo,{onBeforeEnter:e=>{const t=Oo("mobile")?200:100;di(e,[{opacity:0},{opacity:1}],{duration:t}),Oo("mobile")&&di(e.firstElementChild,[{transform:"translateY(390px)"},{transform:"translateY(0)"}],{duration:t})},onExit:(e,t)=>{const n=Oo("mobile")?200:100,r=di(e,[{opacity:1},{opacity:0}],{duration:n});if(Oo("mobile")){const o=di(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 qt(Xt,{get when(){return e.opened},get children(){return qt(ni,Yt({"data-tc-modal":"true"},n,{get children(){const n=hi.cloneNode(!0);return fn(fi,n,(()=>({isEnabled:e.enableAndroidBackHandler,onClose:()=>e.onClose()}))),fn(gi,n,(()=>()=>e.onClose())),fn(pi,n,(()=>()=>e.onClose())),mn(n,qt(oi,{get class(){return e.class},get children(){return[qt(ii,{icon:"close",onClick:()=>e.onClose()}),vt((()=>e.children))]}}),null),mn(n,qt(Xt,{get when(){return e.onClickQuestion},get children(){return qt(si,{get children(){return[qt(Cs,{}),qt(ai,{get onClick(){return e.onClickQuestion},icon:"question"})]}})}}),null),mt((()=>pn(n,Do(ri,Bn`
162
+ `;class li{constructor(){__publicField(this,"currentTime",0)}}const ci=class{constructor(){__publicField(this,"currentTime",0),__publicField(this,"playbackRate",1),__publicField(this,"startTime",null),__publicField(this,"timeline",new li),__publicField(this,"finished",Promise.resolve(this)),__publicField(this,"effect",null),__publicField(this,"id",""),__publicField(this,"pending",!1),__publicField(this,"playState","finished"),__publicField(this,"replaceState","active"),__publicField(this,"ready",Promise.resolve(this)),__publicField(this,"oncancel",null),__publicField(this,"onfinish",null),__publicField(this,"onremove",null)}static create(){return ci._instance||(!function(...e){try{console.warn("[TON_CONNECT_UI]",...e)}catch(Qu){}}("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."),ci._instance=new ci),ci._instance}cancel(){}finish(){}pause(){}play(){}reverse(){}addEventListener(e,t,n){}dispatchEvent(e){return!1}removeEventListener(e,t,n){}updatePlaybackRate(e){}commitStyles(){}persist(){}};let ui=ci;function di(e,t,n){return"animate"in e?e.animate(t,n):ui.create()}__publicField(ui,"_instance",null);const hi=dn("<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),_t((()=>document.body.removeEventListener("click",n)))},gi=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),_t((()=>document.body.removeEventListener("keydown",n)))},fi=function(e,t){const{isEnabled:n,onClose:r}=t();if(!n)return;if(!("android"===pr().os))return;window.history.pushState(zo,"");const o=e=>{e.preventDefault(),r()};window.addEventListener("popstate",o,{once:!0}),_t((()=>{window.removeEventListener("popstate",o),cr((()=>{var e;!0===(null==(e=window.history.state)?void 0:e[qo])&&window.history.back()}))}))},mi=e=>{const t=Kn(),n=Wo(e);return wt((()=>{e.opened?document.documentElement.scrollHeight!==document.documentElement.clientHeight&&(document.body.style.top=Xn(-document.documentElement.scrollTop),document.body.classList.add(Gn)):(document.body.classList.remove(Gn),document.documentElement.scrollTo({top:-parseFloat(getComputedStyle(document.body).top)}),document.body.style.top="auto")})),qt(Vo,{onBeforeEnter:e=>{const t=Oo("mobile")?200:100;di(e,[{opacity:0},{opacity:1}],{duration:t}),Oo("mobile")&&di(e.firstElementChild,[{transform:"translateY(390px)"},{transform:"translateY(0)"}],{duration:t})},onExit:(e,t)=>{const n=Oo("mobile")?200:100,r=di(e,[{opacity:1},{opacity:0}],{duration:n});if(Oo("mobile")){const o=di(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 qt(Xt,{get when(){return e.opened},get children(){return qt(ni,Yt({"data-tc-modal":"true"},n,{get children(){const n=hi.cloneNode(!0);return fn(fi,n,(()=>({isEnabled:e.enableAndroidBackHandler,onClose:()=>e.onClose()}))),fn(gi,n,(()=>()=>e.onClose())),fn(pi,n,(()=>()=>e.onClose())),mn(n,qt(oi,{get class(){return e.class},get children(){return[qt(ii,{icon:"close",onClick:()=>e.onClose()}),vt((()=>e.children))]}}),null),mn(n,qt(Xt,{get when(){return e.onClickQuestion},get children(){return qt(si,{get children(){return[qt(xs,{}),qt(ai,{get onClick(){return e.onClickQuestion},icon:"question"})]}})}}),null),mt((()=>pn(n,Do(ri,Bn`
163
163
  border-radius: ${ti[t.borderRadius]};
164
164
  background-color: ${t.colors.background.tint};
165
165
 
@@ -307,7 +307,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
307
307
 
308
308
  filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));
309
309
  background-color: ${e=>e.theme.colors.background.segment};
310
- `;var Oi={exports:{}};!function(e,t){var n=function(){var e=function(e,t){var n=e,r=u[t],o=null,i=0,s=null,a=[],l={},c=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}(i=4*n+17),d(0,0),d(i-7,0),d(0,i-7),p(),h(),f(e,t),n>=7&&g(e),null==s&&(s=w(n,r,a)),m(s,t)},d=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||i<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||i<=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)},h=function(){for(var e=8;e<i-8;e+=1)null==o[e][6]&&(o[e][6]=e%2==0);for(var t=8;t<i-8;t+=1)null==o[6][t]&&(o[6][t]=t%2==0)},p=function(){for(var e=y.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var i=e[t],s=e[r];if(null==o[i][s])for(var a=-2;a<=2;a+=1)for(var l=-2;l<=2;l+=1)o[i+a][s+l]=-2==a||2==a||-2==l||2==l||0==a&&0==l}},g=function(e){for(var t=y.getBCHTypeNumber(n),r=0;r<18;r+=1){var s=!e&&1==(t>>r&1);o[Math.floor(r/3)][r%3+i-8-3]=s}for(r=0;r<18;r+=1){s=!e&&1==(t>>r&1);o[r%3+i-8-3][Math.floor(r/3)]=s}},f=function(e,t){for(var n=r<<3|t,s=y.getBCHTypeInfo(n),a=0;a<15;a+=1){var l=!e&&1==(s>>a&1);a<6?o[a][8]=l:a<8?o[a+1][8]=l:o[i-15+a][8]=l}for(a=0;a<15;a+=1){l=!e&&1==(s>>a&1);a<8?o[8][i-a-1]=l:a<9?o[8][15-a-1+1]=l:o[8][15-a-1]=l}o[i-8][8]=!e},m=function(e,t){for(var n=-1,r=i-1,s=7,a=0,l=y.getMaskFunction(t),c=i-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;a<e.length&&(d=1==(e[a]>>>s&1)),l(r,c-u)&&(d=!d),o[r][c-u]=d,-1==(s-=1)&&(a+=1,s=7)}if((r+=n)<0||i<=r){r-=n,n=-n;break}}},w=function(e,t,n){for(var r=x.getRSBlocks(e,t),o=_(),i=0;i<n.length;i+=1){var s=n[i];o.put(s.getMode(),4),o.put(s.getLength(),y.getLengthInBits(s.getMode(),e)),s.write(o)}var a=0;for(i=0;i<r.length;i+=1)a+=r[i].dataCount;if(o.getLengthInBits()>8*a)throw"code length overflow. ("+o.getLengthInBits()+">"+8*a+")";for(o.getLengthInBits()+4<=8*a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*a||(o.put(236,8),o.getLengthInBits()>=8*a));)o.put(17,8);return function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),s=new Array(t.length),a=0;a<t.length;a+=1){var l=t[a].dataCount,c=t[a].totalCount-l;r=Math.max(r,l),o=Math.max(o,c),i[a]=new Array(l);for(var u=0;u<i[a].length;u+=1)i[a][u]=255&e.getBuffer()[u+n];n+=l;var d=y.getErrorCorrectPolynomial(c),h=C(i[a],d.getLength()-1).mod(d);for(s[a]=new Array(d.getLength()-1),u=0;u<s[a].length;u+=1){var p=u+h.getLength()-s[a].length;s[a][u]=p>=0?h.getAt(p):0}}var g=0;for(u=0;u<t.length;u+=1)g+=t[u].totalCount;var f=new Array(g),m=0;for(u=0;u<r;u+=1)for(a=0;a<t.length;a+=1)u<i[a].length&&(f[m]=i[a][u],m+=1);for(u=0;u<o;u+=1)for(a=0;a<t.length;a+=1)u<s[a].length&&(f[m]=s[a][u],m+=1);return f}(o,r)};l.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=k(e);break;case"Alphanumeric":n=S(e);break;case"Byte":n=E(e);break;case"Kanji":n=R(e);break;default:throw"mode:"+t}a.push(n),s=null},l.isDark=function(e,t){if(e<0||i<=e||t<0||i<=t)throw e+","+t;return o[e][t]},l.getModuleCount=function(){return i},l.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=x.getRSBlocks(e,r),o=_(),i=0;i<a.length;i++){var s=a[i];o.put(s.getMode(),4),o.put(s.getLength(),y.getLengthInBits(s.getMode(),e)),s.write(o)}var u=0;for(i=0;i<t.length;i++)u+=t[i].dataCount;if(o.getLengthInBits()<=8*u)break}n=e}c(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){c(!0,n);var r=y.getLostPoint(l);(0==n||e>r)&&(e=r,t=n)}return t}())},l.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=void 0===t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<l.getModuleCount();r+=1){n+="<tr>";for(var o=0;o<l.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+=l.isDark(r,o)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return n+="</tbody>",n+="</table>"},l.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=void 0===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,s,a,c,u=l.getModuleCount()*e+2*t,d="";for(c="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="'+v([r.id,n.id].join(" ").trim())+'"':"",d+=">",d+=r.text?'<title id="'+v(r.id)+'">'+v(r.text)+"</title>":"",d+=n.text?'<description id="'+v(n.id)+'">'+v(n.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',s=0;s<l.getModuleCount();s+=1)for(a=s*e+t,i=0;i<l.getModuleCount();i+=1)l.isDark(s,i)&&(d+="M"+(i*e+t)+","+a+c);return d+='" stroke="transparent" fill="black"/>',d+="</svg>"},l.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var n=l.getModuleCount()*e+2*t,r=t,o=n-t;return A(n,n,(function(t,n){if(r<=t&&t<o&&r<=n&&n<o){var i=Math.floor((t-r)/e),s=Math.floor((n-r)/e);return l.isDark(s,i)?0:1}return 1}))},l.createImgTag=function(e,t,n){e=e||2,t=void 0===t?4*e:t;var r=l.getModuleCount()*e+2*t,o="";return o+="<img",o+=' src="',o+=l.createDataURL(e,t),o+='"',o+=' width="',o+=r,o+='"',o+=' height="',o+=r,o+='"',n&&(o+=' alt="',o+=v(n),o+='"'),o+="/>"};var v=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="&lt;";break;case">":t+="&gt;";break;case"&":t+="&amp;";break;case'"':t+="&quot;";break;default:t+=r}}return t};return l.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,n,r,o,i,s=1*l.getModuleCount()+2*e,a=e,c=s-e,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},d={"██":"▀","█ ":"▀"," █":" "," ":" "},h="";for(t=0;t<s;t+=2){for(r=Math.floor((t-a)/1),o=Math.floor((t+1-a)/1),n=0;n<s;n+=1)i="█",a<=n&&n<c&&a<=t&&t<c&&l.isDark(r,Math.floor((n-a)/1))&&(i=" "),a<=n&&n<c&&a<=t+1&&t+1<c&&l.isDark(o,Math.floor((n-a)/1))?i+=" ":i+="█",h+=e<1&&t+1>=c?d[i]:u[i];h+="\n"}return s%2&&e>0?h.substring(0,h.length-s-1)+Array(s+1).join("▀"):h.substring(0,h.length-1)}(t);e-=1,t=void 0===t?2*e:t;var n,r,o,i,s=l.getModuleCount()*e+2*t,a=t,c=s-t,u=Array(e+1).join("██"),d=Array(e+1).join(" "),h="",p="";for(n=0;n<s;n+=1){for(o=Math.floor((n-a)/e),p="",r=0;r<s;r+=1)i=1,a<=r&&r<c&&a<=n&&n<c&&l.isDark(o,Math.floor((r-a)/e))&&(i=0),p+=i?u:d;for(o=0;o<e;o+=1)h+=p+"\n"}return h.substring(0,h.length-1)},l.renderTo2dContext=function(e,t){t=t||2;for(var n=l.getModuleCount(),r=0;r<n;r++)for(var o=0;o<n;o++)e.fillStyle=l.isDark(r,o)?"black":"white",e.fillRect(r*t,o*t,t,t)},l};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=L(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},o=0,i={};;){var s=n.read();if(-1==s)break;var a=r(),l=r()<<8|r();i[String.fromCharCode(s<<8|a)]=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 s=n[e.charAt(o)];"number"==typeof s?(255&s)==s?t.push(s):(t.push(s>>>8),t.push(255&s)):t.push(r)}}return t}};var t,n,r,o,i,s=1,a=2,l=4,c=8,u={L:1,M:0,Q:3,H:2},d=0,h=1,p=2,g=3,f=4,m=5,w=6,v=7,y=(t=[[],[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]],n=1335,r=7973,i=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(o={}).getBCHTypeInfo=function(e){for(var t=e<<10;i(t)-i(n)>=0;)t^=n<<i(t)-i(n);return 21522^(e<<10|t)},o.getBCHTypeNumber=function(e){for(var t=e<<12;i(t)-i(r)>=0;)t^=r<<i(t)-i(r);return e<<12|t},o.getPatternPosition=function(e){return t[e-1]},o.getMaskFunction=function(e){switch(e){case d:return function(e,t){return(e+t)%2==0};case h:return function(e,t){return e%2==0};case p:return function(e,t){return t%3==0};case g:return function(e,t){return(e+t)%3==0};case f:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case m:return function(e,t){return e*t%2+e*t%3==0};case w:return function(e,t){return(e*t%2+e*t%3)%2==0};case v:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},o.getErrorCorrectPolynomial=function(e){for(var t=C([1],0),n=0;n<e;n+=1)t=t.multiply(C([1,b.gexp(n)],0));return t},o.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case s:return 10;case a:return 9;case l:case c:return 8;default:throw"mode:"+e}else if(t<27)switch(e){case s:return 12;case a:return 11;case l:return 16;case c:return 10;default:throw"mode:"+e}else{if(!(t<41))throw"type:"+t;switch(e){case s:return 14;case a:return 13;case l:return 16;case c:return 12;default:throw"mode:"+e}}},o.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,s=e.isDark(r,o),a=-1;a<=1;a+=1)if(!(r+a<0||t<=r+a))for(var l=-1;l<=1;l+=1)o+l<0||t<=o+l||0==a&&0==l||s==e.isDark(r+a,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+=Math.abs(100*u/t/t-50)/5*10},o),b=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 C(e,t){if(void 0===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]^=b.gexp(b.glog(r.getAt(n))+b.glog(e.getAt(o)));return C(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=b.glog(r.getAt(0))-b.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]^=b.gexp(b.glog(e.getAt(o))+t);return C(n,0).mod(e)}};return r}var x=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 u.L:return e[4*(t-1)+0];case u.M:return e[4*(t-1)+1];case u.Q:return e[4*(t-1)+2];case u.H:return e[4*(t-1)+3];default:return}}(n,r);if(void 0===o)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var i=o.length/3,s=[],a=0;a<i;a+=1)for(var l=o[3*a+0],c=o[3*a+1],d=o[3*a+2],h=0;h<l;h+=1)s.push(t(c,d));return s},n}(),_=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},k=function(e){var t=s,n=e,r={getMode:function(){return t},getLength:function(e){return n.length},write:function(e){for(var t=n,r=0;r+2<t.length;)e.put(o(t.substring(r,r+3)),10),r+=3;r<t.length&&(t.length-r==1?e.put(o(t.substring(r,r+1)),4):t.length-r==2&&e.put(o(t.substring(r,r+2)),7))}},o=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+i(e.charAt(n));return t},i=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return r},S=function(e){var t=a,n=e,r={getMode:function(){return t},getLength:function(e){return n.length},write:function(e){for(var t=n,r=0;r+1<t.length;)e.put(45*o(t.charAt(r))+o(t.charAt(r+1)),11),r+=2;r<t.length&&e.put(o(t.charAt(r)),6)}},o=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 r},E=function(t){var n=l,r=e.stringToBytes(t),o={getMode:function(){return n},getLength:function(e){return r.length},write:function(e){for(var t=0;t<r.length;t+=1)e.put(r[t],8)}};return o},R=function(t){var n=c,r=e.stringToBytesFuncs.SJIS;if(!r)throw"sjis not supported.";!function(e,t){var n=r("友");if(2!=n.length||38726!=(n[0]<<8|n[1]))throw"sjis not supported."}();var o=r(t),i={getMode:function(){return n},getLength:function(e){return~~(o.length/2)},write:function(e){for(var t=o,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 i},T=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},L=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|s(e.charCodeAt(0)),o+=6)}var i=r>>>o-8&255;return o-=8,i}},s=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},A=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=s(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(";")}},s=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,i=a(),s=0;s<t;s+=1)i.add(String.fromCharCode(s));i.add(String.fromCharCode(t)),i.add(String.fromCharCode(n));var l,c,u,d=T(),h=(l=d,c=0,u=0,{write:function(e,t){if(e>>>t!=0)throw"length over";for(;c+t>=8;)l.writeByte(255&(e<<c|u)),t-=8-c,e>>>=8-c,u=0,c=0;u|=e<<c,c+=t},flush:function(){c>0&&l.writeByte(u)}});h.write(t,r);var p=0,g=String.fromCharCode(o[p]);for(p+=1;p<o.length;){var f=String.fromCharCode(o[p]);p+=1,i.contains(g+f)?g+=f:(h.write(i.indexOf(g),r),i.size()<4095&&(i.size()==1<<r&&(r+=1),i.add(g+f)),g=f)}return h.write(i.indexOf(g),r),h.write(n,r),h.flush(),d.toByteArray()},a=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 void 0!==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 s=T();r.write(s);for(var a=function(){var e=0,t=0,n=0,r="",o={},i=function(e){r+=String.fromCharCode(s(63&e))},s=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,s=0;s<o;s+=1)r+="="},o.toString=function(){return r},o}(),l=s.toByteArray(),c=0;c<l.length;c+=1)a.writeByte(l[c]);return a.flush(),"data:image/gif;base64,"+a};return e}();n.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=n}(Oi);const Mi=Oi.exports;function Ni(e){return __async(this,null,(function*(){try{if(!(null==navigator?void 0:navigator.clipboard))throw new or("Clipboard API not available");return yield navigator.clipboard.writeText(e)}catch(Qu){}!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 Pi=dn("<div></div>"),$i=e=>{let t,n,r;const[o,i]=gt(!1),[s,a]=gt(48);wt((()=>{const o=Mi(0,"L");o.addData(e.sourceUrl),o.make(),t.innerHTML=o.createSvgTag(4,0);const i=t.firstElementChild.clientWidth,s=Math.round(256/i*1e5)/1e5;if(r){const e=4*Math.ceil(60/(4*s)),t=Xn(4*Math.ceil((i-e)/8));r.style.top=t,r.style.left=t,r.style.height=Xn(e),r.style.width=Xn(e),a(Math.round(48/s))}n.style.transform=`scale(${s})`}));let l=null;return qt(Ei,{get class(){return e.class},onClick:()=>{i(!0),Ni(e.sourceUrl),null!=l&&clearTimeout(l),l=setTimeout((()=>i(!1)),1500)},get children(){return[qt(Ri,{ref(e){"function"==typeof n?n(e):n=e},get children(){return[(()=>{const e=Pi.cloneNode(!0);return"function"==typeof t?fn(t,e):t=e,e})(),qt(Xt,{get when(){return e.imageUrl},get children(){return qt(Ti,{ref(e){"function"==typeof r?r(e):r=e},get children(){return qt(Li,{get src(){return e.imageUrl},alt:"",get size(){return s()}})}})}})]}}),qt(Vo,{onBeforeEnter:e=>{di(e,[{opacity:0,transform:"translate(-50%, 44px)"},{opacity:1,transform:"translate(-50%, 0)"}],{duration:150,easing:"ease-out"})},onExit:(e,t)=>{di(e,[{opacity:1,transform:"translate(-50%, 0)"},{opacity:0,transform:"translate(-50%, 44px)"}],{duration:150,easing:"ease-out"}).finished.then((()=>{t()}))},get children(){return qt(Xt,{get when(){return o()&&!e.disableCopy},get children(){return qt(Ai,{get children(){return[qt(ds,{size:"xs"}),qt(Di,{translationKey:"common.linkCopied",children:"Link Copied"})]}})}})}}),qt(Xt,{get when(){return!e.disableCopy},get children(){return qt(Si,{get children(){return qt(Fs,{})}})}})]}})};var Ii=(e,t,n)=>{const r=t.trim().split(".").reduce(((e,t)=>e?e[t]:void 0),e);return void 0!==r?r:n},Ui=(e={},t=(navigator.language in e?navigator.language:Object.keys(e)[0]))=>{const[n,r]=gt(t),[o,i]=Qr(e);return[(e,t,r)=>{const i=Ii(o[n()],e,r||"");return"function"==typeof i?i(t):"string"==typeof i?((e,t,n=/{{(.*?)}}/g)=>e.replace(n,((e,n)=>Ii(t,n,""))))(i,t||{}):i},{add(e,t){i(e,(e=>Object.assign(e||{},t)))},locale:e=>e?r(e):n(),dict:e=>Ii(o,e)}]},Wi=St({}),ji=()=>Et(Wi);const Bi=qn.div`
310
+ `;var Oi={exports:{}};!function(e,t){var n=function(){var e=function(e,t){var n=e,r=u[t],o=null,i=0,s=null,a=[],l={},c=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}(i=4*n+17),d(0,0),d(i-7,0),d(0,i-7),p(),h(),f(e,t),n>=7&&g(e),null==s&&(s=w(n,r,a)),m(s,t)},d=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||i<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||i<=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)},h=function(){for(var e=8;e<i-8;e+=1)null==o[e][6]&&(o[e][6]=e%2==0);for(var t=8;t<i-8;t+=1)null==o[6][t]&&(o[6][t]=t%2==0)},p=function(){for(var e=y.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var i=e[t],s=e[r];if(null==o[i][s])for(var a=-2;a<=2;a+=1)for(var l=-2;l<=2;l+=1)o[i+a][s+l]=-2==a||2==a||-2==l||2==l||0==a&&0==l}},g=function(e){for(var t=y.getBCHTypeNumber(n),r=0;r<18;r+=1){var s=!e&&1==(t>>r&1);o[Math.floor(r/3)][r%3+i-8-3]=s}for(r=0;r<18;r+=1){s=!e&&1==(t>>r&1);o[r%3+i-8-3][Math.floor(r/3)]=s}},f=function(e,t){for(var n=r<<3|t,s=y.getBCHTypeInfo(n),a=0;a<15;a+=1){var l=!e&&1==(s>>a&1);a<6?o[a][8]=l:a<8?o[a+1][8]=l:o[i-15+a][8]=l}for(a=0;a<15;a+=1){l=!e&&1==(s>>a&1);a<8?o[8][i-a-1]=l:a<9?o[8][15-a-1+1]=l:o[8][15-a-1]=l}o[i-8][8]=!e},m=function(e,t){for(var n=-1,r=i-1,s=7,a=0,l=y.getMaskFunction(t),c=i-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;a<e.length&&(d=1==(e[a]>>>s&1)),l(r,c-u)&&(d=!d),o[r][c-u]=d,-1==(s-=1)&&(a+=1,s=7)}if((r+=n)<0||i<=r){r-=n,n=-n;break}}},w=function(e,t,n){for(var r=x.getRSBlocks(e,t),o=_(),i=0;i<n.length;i+=1){var s=n[i];o.put(s.getMode(),4),o.put(s.getLength(),y.getLengthInBits(s.getMode(),e)),s.write(o)}var a=0;for(i=0;i<r.length;i+=1)a+=r[i].dataCount;if(o.getLengthInBits()>8*a)throw"code length overflow. ("+o.getLengthInBits()+">"+8*a+")";for(o.getLengthInBits()+4<=8*a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*a||(o.put(236,8),o.getLengthInBits()>=8*a));)o.put(17,8);return function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),s=new Array(t.length),a=0;a<t.length;a+=1){var l=t[a].dataCount,c=t[a].totalCount-l;r=Math.max(r,l),o=Math.max(o,c),i[a]=new Array(l);for(var u=0;u<i[a].length;u+=1)i[a][u]=255&e.getBuffer()[u+n];n+=l;var d=y.getErrorCorrectPolynomial(c),h=C(i[a],d.getLength()-1).mod(d);for(s[a]=new Array(d.getLength()-1),u=0;u<s[a].length;u+=1){var p=u+h.getLength()-s[a].length;s[a][u]=p>=0?h.getAt(p):0}}var g=0;for(u=0;u<t.length;u+=1)g+=t[u].totalCount;var f=new Array(g),m=0;for(u=0;u<r;u+=1)for(a=0;a<t.length;a+=1)u<i[a].length&&(f[m]=i[a][u],m+=1);for(u=0;u<o;u+=1)for(a=0;a<t.length;a+=1)u<s[a].length&&(f[m]=s[a][u],m+=1);return f}(o,r)};l.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=k(e);break;case"Alphanumeric":n=S(e);break;case"Byte":n=E(e);break;case"Kanji":n=R(e);break;default:throw"mode:"+t}a.push(n),s=null},l.isDark=function(e,t){if(e<0||i<=e||t<0||i<=t)throw e+","+t;return o[e][t]},l.getModuleCount=function(){return i},l.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=x.getRSBlocks(e,r),o=_(),i=0;i<a.length;i++){var s=a[i];o.put(s.getMode(),4),o.put(s.getLength(),y.getLengthInBits(s.getMode(),e)),s.write(o)}var u=0;for(i=0;i<t.length;i++)u+=t[i].dataCount;if(o.getLengthInBits()<=8*u)break}n=e}c(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){c(!0,n);var r=y.getLostPoint(l);(0==n||e>r)&&(e=r,t=n)}return t}())},l.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=void 0===t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<l.getModuleCount();r+=1){n+="<tr>";for(var o=0;o<l.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+=l.isDark(r,o)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return n+="</tbody>",n+="</table>"},l.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=void 0===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,s,a,c,u=l.getModuleCount()*e+2*t,d="";for(c="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="'+v([r.id,n.id].join(" ").trim())+'"':"",d+=">",d+=r.text?'<title id="'+v(r.id)+'">'+v(r.text)+"</title>":"",d+=n.text?'<description id="'+v(n.id)+'">'+v(n.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',s=0;s<l.getModuleCount();s+=1)for(a=s*e+t,i=0;i<l.getModuleCount();i+=1)l.isDark(s,i)&&(d+="M"+(i*e+t)+","+a+c);return d+='" stroke="transparent" fill="black"/>',d+="</svg>"},l.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var n=l.getModuleCount()*e+2*t,r=t,o=n-t;return A(n,n,(function(t,n){if(r<=t&&t<o&&r<=n&&n<o){var i=Math.floor((t-r)/e),s=Math.floor((n-r)/e);return l.isDark(s,i)?0:1}return 1}))},l.createImgTag=function(e,t,n){e=e||2,t=void 0===t?4*e:t;var r=l.getModuleCount()*e+2*t,o="";return o+="<img",o+=' src="',o+=l.createDataURL(e,t),o+='"',o+=' width="',o+=r,o+='"',o+=' height="',o+=r,o+='"',n&&(o+=' alt="',o+=v(n),o+='"'),o+="/>"};var v=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="&lt;";break;case">":t+="&gt;";break;case"&":t+="&amp;";break;case'"':t+="&quot;";break;default:t+=r}}return t};return l.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,n,r,o,i,s=1*l.getModuleCount()+2*e,a=e,c=s-e,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},d={"██":"▀","█ ":"▀"," █":" "," ":" "},h="";for(t=0;t<s;t+=2){for(r=Math.floor((t-a)/1),o=Math.floor((t+1-a)/1),n=0;n<s;n+=1)i="█",a<=n&&n<c&&a<=t&&t<c&&l.isDark(r,Math.floor((n-a)/1))&&(i=" "),a<=n&&n<c&&a<=t+1&&t+1<c&&l.isDark(o,Math.floor((n-a)/1))?i+=" ":i+="█",h+=e<1&&t+1>=c?d[i]:u[i];h+="\n"}return s%2&&e>0?h.substring(0,h.length-s-1)+Array(s+1).join("▀"):h.substring(0,h.length-1)}(t);e-=1,t=void 0===t?2*e:t;var n,r,o,i,s=l.getModuleCount()*e+2*t,a=t,c=s-t,u=Array(e+1).join("██"),d=Array(e+1).join(" "),h="",p="";for(n=0;n<s;n+=1){for(o=Math.floor((n-a)/e),p="",r=0;r<s;r+=1)i=1,a<=r&&r<c&&a<=n&&n<c&&l.isDark(o,Math.floor((r-a)/e))&&(i=0),p+=i?u:d;for(o=0;o<e;o+=1)h+=p+"\n"}return h.substring(0,h.length-1)},l.renderTo2dContext=function(e,t){t=t||2;for(var n=l.getModuleCount(),r=0;r<n;r++)for(var o=0;o<n;o++)e.fillStyle=l.isDark(r,o)?"black":"white",e.fillRect(r*t,o*t,t,t)},l};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=L(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},o=0,i={};;){var s=n.read();if(-1==s)break;var a=r(),l=r()<<8|r();i[String.fromCharCode(s<<8|a)]=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 s=n[e.charAt(o)];"number"==typeof s?(255&s)==s?t.push(s):(t.push(s>>>8),t.push(255&s)):t.push(r)}}return t}};var t,n,r,o,i,s=1,a=2,l=4,c=8,u={L:1,M:0,Q:3,H:2},d=0,h=1,p=2,g=3,f=4,m=5,w=6,v=7,y=(t=[[],[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]],n=1335,r=7973,i=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(o={}).getBCHTypeInfo=function(e){for(var t=e<<10;i(t)-i(n)>=0;)t^=n<<i(t)-i(n);return 21522^(e<<10|t)},o.getBCHTypeNumber=function(e){for(var t=e<<12;i(t)-i(r)>=0;)t^=r<<i(t)-i(r);return e<<12|t},o.getPatternPosition=function(e){return t[e-1]},o.getMaskFunction=function(e){switch(e){case d:return function(e,t){return(e+t)%2==0};case h:return function(e,t){return e%2==0};case p:return function(e,t){return t%3==0};case g:return function(e,t){return(e+t)%3==0};case f:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case m:return function(e,t){return e*t%2+e*t%3==0};case w:return function(e,t){return(e*t%2+e*t%3)%2==0};case v:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},o.getErrorCorrectPolynomial=function(e){for(var t=C([1],0),n=0;n<e;n+=1)t=t.multiply(C([1,b.gexp(n)],0));return t},o.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case s:return 10;case a:return 9;case l:case c:return 8;default:throw"mode:"+e}else if(t<27)switch(e){case s:return 12;case a:return 11;case l:return 16;case c:return 10;default:throw"mode:"+e}else{if(!(t<41))throw"type:"+t;switch(e){case s:return 14;case a:return 13;case l:return 16;case c:return 12;default:throw"mode:"+e}}},o.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,s=e.isDark(r,o),a=-1;a<=1;a+=1)if(!(r+a<0||t<=r+a))for(var l=-1;l<=1;l+=1)o+l<0||t<=o+l||0==a&&0==l||s==e.isDark(r+a,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+=Math.abs(100*u/t/t-50)/5*10},o),b=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 C(e,t){if(void 0===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]^=b.gexp(b.glog(r.getAt(n))+b.glog(e.getAt(o)));return C(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=b.glog(r.getAt(0))-b.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]^=b.gexp(b.glog(e.getAt(o))+t);return C(n,0).mod(e)}};return r}var x=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 u.L:return e[4*(t-1)+0];case u.M:return e[4*(t-1)+1];case u.Q:return e[4*(t-1)+2];case u.H:return e[4*(t-1)+3];default:return}}(n,r);if(void 0===o)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var i=o.length/3,s=[],a=0;a<i;a+=1)for(var l=o[3*a+0],c=o[3*a+1],d=o[3*a+2],h=0;h<l;h+=1)s.push(t(c,d));return s},n}(),_=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},k=function(e){var t=s,n=e,r={getMode:function(){return t},getLength:function(e){return n.length},write:function(e){for(var t=n,r=0;r+2<t.length;)e.put(o(t.substring(r,r+3)),10),r+=3;r<t.length&&(t.length-r==1?e.put(o(t.substring(r,r+1)),4):t.length-r==2&&e.put(o(t.substring(r,r+2)),7))}},o=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+i(e.charAt(n));return t},i=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return r},S=function(e){var t=a,n=e,r={getMode:function(){return t},getLength:function(e){return n.length},write:function(e){for(var t=n,r=0;r+1<t.length;)e.put(45*o(t.charAt(r))+o(t.charAt(r+1)),11),r+=2;r<t.length&&e.put(o(t.charAt(r)),6)}},o=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 r},E=function(t){var n=l,r=e.stringToBytes(t),o={getMode:function(){return n},getLength:function(e){return r.length},write:function(e){for(var t=0;t<r.length;t+=1)e.put(r[t],8)}};return o},R=function(t){var n=c,r=e.stringToBytesFuncs.SJIS;if(!r)throw"sjis not supported.";!function(e,t){var n=r("友");if(2!=n.length||38726!=(n[0]<<8|n[1]))throw"sjis not supported."}();var o=r(t),i={getMode:function(){return n},getLength:function(e){return~~(o.length/2)},write:function(e){for(var t=o,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 i},T=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},L=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|s(e.charCodeAt(0)),o+=6)}var i=r>>>o-8&255;return o-=8,i}},s=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},A=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=s(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(";")}},s=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,i=a(),s=0;s<t;s+=1)i.add(String.fromCharCode(s));i.add(String.fromCharCode(t)),i.add(String.fromCharCode(n));var l,c,u,d=T(),h=(l=d,c=0,u=0,{write:function(e,t){if(e>>>t!=0)throw"length over";for(;c+t>=8;)l.writeByte(255&(e<<c|u)),t-=8-c,e>>>=8-c,u=0,c=0;u|=e<<c,c+=t},flush:function(){c>0&&l.writeByte(u)}});h.write(t,r);var p=0,g=String.fromCharCode(o[p]);for(p+=1;p<o.length;){var f=String.fromCharCode(o[p]);p+=1,i.contains(g+f)?g+=f:(h.write(i.indexOf(g),r),i.size()<4095&&(i.size()==1<<r&&(r+=1),i.add(g+f)),g=f)}return h.write(i.indexOf(g),r),h.write(n,r),h.flush(),d.toByteArray()},a=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 void 0!==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 s=T();r.write(s);for(var a=function(){var e=0,t=0,n=0,r="",o={},i=function(e){r+=String.fromCharCode(s(63&e))},s=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,s=0;s<o;s+=1)r+="="},o.toString=function(){return r},o}(),l=s.toByteArray(),c=0;c<l.length;c+=1)a.writeByte(l[c]);return a.flush(),"data:image/gif;base64,"+a};return e}();n.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=n}(Oi);const Mi=Oi.exports;function Ni(e){return __async(this,null,(function*(){try{if(!(null==navigator?void 0:navigator.clipboard))throw new or("Clipboard API not available");return yield navigator.clipboard.writeText(e)}catch(Qu){}!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 Pi=dn("<div></div>"),$i=e=>{let t,n,r;const[o,i]=gt(!1),[s,a]=gt(48);wt((()=>{const o=Mi(0,"L");o.addData(e.sourceUrl),o.make(),t.innerHTML=o.createSvgTag(4,0);const i=t.firstElementChild.clientWidth,s=Math.round(256/i*1e5)/1e5;if(r){const e=4*Math.ceil(60/(4*s)),t=Xn(4*Math.ceil((i-e)/8));r.style.top=t,r.style.left=t,r.style.height=Xn(e),r.style.width=Xn(e),a(Math.round(48/s))}n.style.transform=`scale(${s})`}));let l=null;return qt(Ei,{get class(){return e.class},onClick:()=>{i(!0),Ni(e.sourceUrl),null!=l&&clearTimeout(l),l=setTimeout((()=>i(!1)),1500)},get children(){return[qt(Ri,{ref(e){"function"==typeof n?n(e):n=e},get children(){return[(()=>{const e=Pi.cloneNode(!0);return"function"==typeof t?fn(t,e):t=e,e})(),qt(Xt,{get when(){return e.imageUrl},get children(){return qt(Ti,{ref(e){"function"==typeof r?r(e):r=e},get children(){return qt(Li,{get src(){return e.imageUrl},alt:"",get size(){return s()}})}})}})]}}),qt(Vo,{onBeforeEnter:e=>{di(e,[{opacity:0,transform:"translate(-50%, 44px)"},{opacity:1,transform:"translate(-50%, 0)"}],{duration:150,easing:"ease-out"})},onExit:(e,t)=>{di(e,[{opacity:1,transform:"translate(-50%, 0)"},{opacity:0,transform:"translate(-50%, 44px)"}],{duration:150,easing:"ease-out"}).finished.then((()=>{t()}))},get children(){return qt(Xt,{get when(){return o()&&!e.disableCopy},get children(){return qt(Ai,{get children(){return[qt(hs,{size:"xs"}),qt(Di,{translationKey:"common.linkCopied",children:"Link Copied"})]}})}})}}),qt(Xt,{get when(){return!e.disableCopy},get children(){return qt(Si,{get children(){return qt(qs,{})}})}})]}})};var Ii=(e,t,n)=>{const r=t.trim().split(".").reduce(((e,t)=>e?e[t]:void 0),e);return void 0!==r?r:n},Ui=(e={},t=(navigator.language in e?navigator.language:Object.keys(e)[0]))=>{const[n,r]=gt(t),[o,i]=Qr(e);return[(e,t,r)=>{const i=Ii(o[n()],e,r||"");return"function"==typeof i?i(t):"string"==typeof i?((e,t,n=/{{(.*?)}}/g)=>e.replace(n,((e,n)=>Ii(t,n,""))))(i,t||{}):i},{add(e,t){i(e,(e=>Object.assign(e||{},t)))},locale:e=>e?r(e):n(),dict:e=>Ii(o,e)}]},Wi=St({}),ji=()=>Et(Wi);const Bi=qn.div`
311
311
  font-style: normal;
312
312
  font-weight: ${e=>e.fontWeight};
313
313
  font-size: ${e=>e.fontSize};
@@ -326,20 +326,46 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
326
326
  left: 0;
327
327
  right: 0;
328
328
  border: 0.5px solid rgba(0, 0, 0, 0.08);
329
-
330
329
  border-radius: inherit;
331
330
  }
332
331
  `,Vi=qn(vo)`
333
332
  width: 100%;
334
333
  height: 100%;
335
334
  border-radius: inherit;
336
- `,Ki=e=>qt(Hi,{get class(){return e.class},get children(){return qt(Vi,{get src(){return e.src}})}}),Fi={m:"16px",s:"12px",none:"0"},qi={m:"6px",s:"6px",none:"0"},zi=qn.button`
335
+ `,Ki=e=>qt(Hi,{get class(){return e.class},get children(){return[qt(Vi,{get src(){return e.src}}),vt((()=>e.badge))]}}),Fi={m:"16px",s:"12px",none:"0"},qi={m:"6px",s:"6px",none:"0"},zi=qn.ul`
336
+ display: flex;
337
+ gap: 0;
338
+ width: 100%;
339
+ overflow-x: auto;
340
+ padding: 8px 12px 16px 12px;
341
+ margin: 0;
342
+ list-style: none;
343
+ flex-wrap: nowrap;
344
+
345
+ &&::-webkit-scrollbar {
346
+ display: none;
347
+ }
348
+ -ms-overflow-style: none;
349
+ scrollbar-width: none;
350
+
351
+ > li {
352
+ display: flex;
353
+ flex: 1;
354
+ min-width: 78px;
355
+ height: fit-content;
356
+ }
357
+
358
+ > li > button {
359
+ width: 100%;
360
+ }
361
+ `,Zi=qn.button`
337
362
  position: relative;
338
363
  cursor: pointer;
339
364
  border: none;
340
365
  background-color: unset;
341
366
  padding: 8px 4px;
342
- width: 92px;
367
+ width: 100%;
368
+ min-width: 78px;
343
369
  display: flex;
344
370
  flex-direction: column;
345
371
  align-items: center;
@@ -356,31 +382,26 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
356
382
  transform: scale(0.96);
357
383
  }
358
384
 
359
- ${Mo("mobile")} {
360
- padding: 8px 0;
361
- width: 78px;
362
- }
363
-
364
385
  ${No} {
365
386
  &:active {
366
387
  transform: scale(0.92);
367
388
  }
368
389
  }
369
- `,Zi=qn(Ki)`
390
+ `,Gi=qn(Ki)`
370
391
  width: 60px;
371
392
  height: 60px;
372
393
  border-radius: ${e=>Fi[e.theme.borderRadius]};
373
-
374
394
  margin-bottom: 8px;
375
- `,Gi=qn(vo)`
395
+ position: relative;
396
+ `,Yi=qn(vo)`
376
397
  position: absolute;
377
- right: 10px;
378
- top: 50px;
398
+ right: -6px;
399
+ bottom: -6px;
379
400
  width: 24px;
380
401
  height: 24px;
381
402
  border-radius: ${e=>qi[e.theme.borderRadius]};
382
403
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
383
- `,Yi=qn(Di)`
404
+ `,Qi=qn(Di)`
384
405
  max-width: 90px;
385
406
  font-weight: 510;
386
407
  white-space: nowrap;
@@ -390,7 +411,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
390
411
  ${Mo("mobile")} {
391
412
  max-width: 80px;
392
413
  }
393
- `,Qi=qn(Di)`
414
+ `,Ji=qn(Di)`
394
415
  font-weight: ${e=>e.colorPrimary?"510":"400"};
395
416
  max-width: 90px;
396
417
  white-space: nowrap;
@@ -401,7 +422,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
401
422
  ${Mo("mobile")} {
402
423
  max-width: 80px;
403
424
  }
404
- `,Ji=dn("<div></div>"),Xi=e=>{let t=null;const n=()=>{const e=null==t?void 0:t.querySelector("div");if(e&&e.scrollWidth>e.clientWidth){let t=0;const n=-.4,r=.05;for(;e.scrollWidth>e.clientWidth&&t>=n;)t-=r,e.style.letterSpacing=`${t}px`;0!==t&&(t-=r,e.style.letterSpacing=`${t}px`)}};return xt((()=>n())),wt((()=>{n()})),qt(zi,{get class(){return e.class},onClick:()=>e.onClick(),"data-tc-wallet-item":"true",get children(){return[vt((()=>vt((()=>"string"==typeof e.icon))()?qt(Zi,{get src(){return e.icon}}):e.icon)),vt((()=>vt((()=>!!e.badgeUrl))()&&qt(Gi,{get src(){return e.badgeUrl}}))),(()=>{const n=Ji.cloneNode(!0);return fn((e=>t=e),n),mn(n,qt(Yi,{get children(){return e.name}})),n})(),vt((()=>vt((()=>!!e.secondLine))()&&qt(Qi,{get colorPrimary(){var t;return null==(t=e.secondLineColorPrimary)||t},get children(){return e.secondLine}})))]}})},es=qn.h1`
425
+ `,Xi=dn("<div></div>"),es=e=>{let t=null;const n=()=>{const e=null==t?void 0:t.querySelector("div");if(e&&e.scrollWidth>e.clientWidth){let t=0;const n=-.4,r=.05;for(;e.scrollWidth>e.clientWidth&&t>=n;)t-=r,e.style.letterSpacing=`${t}px`;0!==t&&(t-=r,e.style.letterSpacing=`${t}px`)}};return xt((()=>n())),wt((()=>{n()})),qt(Zi,{get class(){return e.class},onClick:()=>e.onClick(),"data-tc-wallet-item":"true",get children(){return[vt((()=>vt((()=>"string"==typeof e.icon))()?qt(Gi,{get src(){return e.icon},get badge(){return vt((()=>!!e.badgeUrl))()&&qt(Yi,{get src(){return e.badgeUrl}})}}):e.icon)),(()=>{const n=Xi.cloneNode(!0);return fn((e=>t=e),n),mn(n,qt(Qi,{get children(){return e.name}})),n})(),vt((()=>vt((()=>!!e.secondLine))()&&qt(Ji,{get colorPrimary(){var t;return null==(t=e.secondLineColorPrimary)||t},get children(){return e.secondLine}})))]}})},ts=qn.h1`
405
426
  font-style: normal;
406
427
  font-weight: 590;
407
428
  font-size: 20px;
@@ -415,7 +436,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
415
436
  margin-bottom: 0;
416
437
 
417
438
  cursor: default;
418
- `,ts=e=>{const[t]=ji();return qt(es,{get class(){return e.class},"data-tc-h1":"true",get children(){var n;return vt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},ns=qn.h2`
439
+ `,ns=e=>{const[t]=ji();return qt(ts,{get class(){return e.class},"data-tc-h1":"true",get children(){var n;return vt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},rs=qn.h2`
419
440
  font-style: normal;
420
441
  font-weight: 400;
421
442
  font-size: 16px;
@@ -429,7 +450,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
429
450
  margin-bottom: 32px;
430
451
 
431
452
  cursor: default;
432
- `,rs=e=>{const[t]=ji();return qt(ns,{get class(){return e.class},"data-tc-h2":"true",get children(){var n;return vt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},os=qn.h3`
453
+ `,os=e=>{const[t]=ji();return qt(rs,{get class(){return e.class},"data-tc-h2":"true",get children(){var n;return vt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},is=qn.h3`
433
454
  font-style: normal;
434
455
  font-weight: 510;
435
456
  font-size: 16px;
@@ -441,7 +462,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
441
462
  margin-bottom: 0;
442
463
 
443
464
  cursor: default;
444
- `,is=e=>{const[t]=ji();return qt(os,{"data-tc-h3":"true",get class(){return e.class},get children(){var n;return vt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},ss=dn('<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>'),as=e=>{const t=Kn();return(()=>{const n=ss.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},ls=dn('<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>'),cs=dn('<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>'),us=dn('<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>'),ds=e=>{const t=Kn(),n=()=>e.size||"s",r=()=>e.fill||t.colors.icon.success;return vt((()=>{const o=vt((()=>"xs"===n()));return()=>o()?(()=>{const n=ls.cloneNode(!0),o=n.firstChild.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$&&hn(n,"class",s._v$=a),l!==s._v$2&&hn(o,"fill",s._v$2=l),c!==s._v$3&&hn(i,"stroke",s._v$3=c),s}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=vt((()=>"s"===n()));return()=>o()?(()=>{const n=cs.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$4&&hn(n,"class",s._v$4=a),l!==s._v$5&&hn(o,"fill",s._v$5=l),c!==s._v$6&&hn(i,"fill",s._v$6=c),s}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=us.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$7&&hn(n,"class",s._v$7=a),l!==s._v$8&&hn(o,"fill",s._v$8=l),c!==s._v$9&&hn(i,"fill",s._v$9=c),s}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},hs=dn('<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>'),ps=dn('<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>'),gs=dn('<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>'),fs=e=>{const t=Kn(),n=()=>e.size||"m",r=()=>e.fill||t.colors.icon.error;return vt((()=>{const o=vt((()=>"m"===n()));return()=>o()?(()=>{const n=hs.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$&&hn(n,"class",s._v$=a),l!==s._v$2&&hn(o,"fill",s._v$2=l),c!==s._v$3&&hn(i,"fill",s._v$3=c),s}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=vt((()=>"s"===n()));return()=>o()?(()=>{const n=ps.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$4&&hn(n,"class",s._v$4=a),l!==s._v$5&&hn(o,"fill",s._v$5=l),c!==s._v$6&&hn(i,"stroke",s._v$6=c),s}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=gs.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$7&&hn(n,"class",s._v$7=a),l!==s._v$8&&hn(o,"fill",s._v$8=l),c!==s._v$9&&hn(i,"fill",s._v$9=c),s}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},ms=dn('<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>'),ws=dn('<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>'),vs=dn('<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>'),ys=e=>{const t=Kn(),n=()=>e.size||"xs",r=()=>e.fill||t.colors.icon.tertiary,o=Bn`
465
+ `,ss=e=>{const[t]=ji();return qt(is,{"data-tc-h3":"true",get class(){return e.class},get children(){var n;return vt((()=>!!e.translationKey))()?t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString()):e.children}})},as=dn('<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>'),ls=e=>{const t=Kn();return(()=>{const n=as.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},cs=dn('<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>'),us=dn('<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>'),ds=dn('<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>'),hs=e=>{const t=Kn(),n=()=>e.size||"s",r=()=>e.fill||t.colors.icon.success;return vt((()=>{const o=vt((()=>"xs"===n()));return()=>o()?(()=>{const n=cs.cloneNode(!0),o=n.firstChild.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$&&hn(n,"class",s._v$=a),l!==s._v$2&&hn(o,"fill",s._v$2=l),c!==s._v$3&&hn(i,"stroke",s._v$3=c),s}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=vt((()=>"s"===n()));return()=>o()?(()=>{const n=us.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$4&&hn(n,"class",s._v$4=a),l!==s._v$5&&hn(o,"fill",s._v$5=l),c!==s._v$6&&hn(i,"fill",s._v$6=c),s}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=ds.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$7&&hn(n,"class",s._v$7=a),l!==s._v$8&&hn(o,"fill",s._v$8=l),c!==s._v$9&&hn(i,"fill",s._v$9=c),s}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},ps=dn('<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>'),gs=dn('<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>'),fs=dn('<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>'),ms=e=>{const t=Kn(),n=()=>e.size||"m",r=()=>e.fill||t.colors.icon.error;return vt((()=>{const o=vt((()=>"m"===n()));return()=>o()?(()=>{const n=ps.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$&&hn(n,"class",s._v$=a),l!==s._v$2&&hn(o,"fill",s._v$2=l),c!==s._v$3&&hn(i,"fill",s._v$3=c),s}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),n})():(()=>{const o=vt((()=>"s"===n()));return()=>o()?(()=>{const n=gs.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$4&&hn(n,"class",s._v$4=a),l!==s._v$5&&hn(o,"fill",s._v$5=l),c!==s._v$6&&hn(i,"stroke",s._v$6=c),s}),{_v$4:void 0,_v$5:void 0,_v$6:void 0}),n})():(()=>{const n=fs.cloneNode(!0),o=n.firstChild,i=o.nextSibling;return mt((s=>{const a=e.class,l=r(),c=t.colors.constant.white;return a!==s._v$7&&hn(n,"class",s._v$7=a),l!==s._v$8&&hn(o,"fill",s._v$8=l),c!==s._v$9&&hn(i,"fill",s._v$9=c),s}),{_v$7:void 0,_v$8:void 0,_v$9:void 0}),n})()})()})())},ws=dn('<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>'),vs=dn('<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>'),ys=dn('<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>'),bs=e=>{const t=Kn(),n=()=>e.size||"xs",r=()=>e.fill||t.colors.icon.tertiary,o=Bn`
445
466
  animation: ${Dn`
446
467
  0% {
447
468
  transform: rotate(0deg);
@@ -450,21 +471,21 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
450
471
  transform: rotate(360deg);
451
472
  }
452
473
  `} 1s linear infinite;
453
- `;return vt((()=>{const t=vt((()=>"xs"===n()));return()=>t()?(()=>{const t=ms.cloneNode(!0),n=t.firstChild;return mt((i=>{const s=Do(o,e.class),a=r();return s!==i._v$&&hn(t,"class",i._v$=s),a!==i._v$2&&hn(n,"fill",i._v$2=a),i}),{_v$:void 0,_v$2:void 0}),t})():(()=>{const t=vt((()=>"s"===n()));return()=>t()?(()=>{const t=ws.cloneNode(!0),n=t.firstChild;return mt((i=>{const s=Do(o,e.class),a=r();return s!==i._v$3&&hn(t,"class",i._v$3=s),a!==i._v$4&&hn(n,"fill",i._v$4=a),i}),{_v$3:void 0,_v$4:void 0}),t})():(()=>{const t=vs.cloneNode(!0),n=t.firstChild;return mt((i=>{const s=Do(o,e.class),a=r();return s!==i._v$5&&hn(t,"class",i._v$5=s),a!==i._v$6&&hn(n,"stroke",i._v$6=a),i}),{_v$5:void 0,_v$6:void 0}),t})()})()})())},bs=dn('<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>'),Cs=()=>{const e=Kn();return(()=>{const t=bs.cloneNode(!0),n=t.firstChild.nextSibling.nextSibling;return mt((()=>hn(n,"fill",e.theme===Ln.DARK?e.colors.constant.white:e.colors.constant.black))),t})()},xs=dn('<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>'),_s=e=>{const t=Kn();return(()=>{const n=xs.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},ks=dn('<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>'),Ss=e=>{const t=Kn();return(()=>{const n=ks.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Es=dn('<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>'),Rs=e=>{const t=Kn();return(()=>{const n=Es.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Ts=dn('<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>'),Ls=e=>{const t=Kn();return(()=>{const n=Ts.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},As=dn('<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>'),Os=e=>{const t=Kn();return(()=>{const n=As.cloneNode(!0),r=n.firstChild.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.accent))),n})()},Ms=dn('<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>'),Ns=e=>{const t=Kn();return(()=>{const n=Ms.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.accent))),n})()},Ps=dn('<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>'),$s=e=>{const t=Kn();return(()=>{const n=Ps.cloneNode(!0),r=n.firstChild.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.accent))),n})()},Is=dn('<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>'),Us=e=>{const t=Kn();return(()=>{const n=Is.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.secondary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Ws=dn('<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>'),js=e=>{const t=Kn();return(()=>{const n=Ws.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.secondary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Bs=dn('<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>'),Ds=e=>{const t=Kn();return(()=>{const n=Bs.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.secondary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Hs=dn('<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>'),Vs=e=>{const t=Kn();return(()=>{const n=Hs.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.constant.white;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Ks=dn('<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>'),Fs=e=>{const t=Kn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{const e=Ks.cloneNode(!0),t=e.firstChild;return mt((r=>{const o=n(),i=n();return o!==r._v$&&hn(e,"fill",r._v$=o),i!==r._v$2&&hn(t,"fill",r._v$2=i),r}),{_v$:void 0,_v$2:void 0}),e})()},qs=dn('<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>'),zs=e=>{const t=Kn();return(()=>{const n=qs.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},Zs={m:"16px",s:"12px",none:"0"},Gs={m:"6px",s:"6px",none:"0"},Ys=qn.div`
474
+ `;return vt((()=>{const t=vt((()=>"xs"===n()));return()=>t()?(()=>{const t=ws.cloneNode(!0),n=t.firstChild;return mt((i=>{const s=Do(o,e.class),a=r();return s!==i._v$&&hn(t,"class",i._v$=s),a!==i._v$2&&hn(n,"fill",i._v$2=a),i}),{_v$:void 0,_v$2:void 0}),t})():(()=>{const t=vt((()=>"s"===n()));return()=>t()?(()=>{const t=vs.cloneNode(!0),n=t.firstChild;return mt((i=>{const s=Do(o,e.class),a=r();return s!==i._v$3&&hn(t,"class",i._v$3=s),a!==i._v$4&&hn(n,"fill",i._v$4=a),i}),{_v$3:void 0,_v$4:void 0}),t})():(()=>{const t=ys.cloneNode(!0),n=t.firstChild;return mt((i=>{const s=Do(o,e.class),a=r();return s!==i._v$5&&hn(t,"class",i._v$5=s),a!==i._v$6&&hn(n,"stroke",i._v$6=a),i}),{_v$5:void 0,_v$6:void 0}),t})()})()})())},Cs=dn('<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>'),xs=()=>{const e=Kn();return(()=>{const t=Cs.cloneNode(!0),n=t.firstChild.nextSibling.nextSibling;return mt((()=>hn(n,"fill",e.theme===Ln.DARK?e.colors.constant.white:e.colors.constant.black))),t})()},_s=dn('<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>'),ks=e=>{const t=Kn();return(()=>{const n=_s.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},Ss=dn('<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>'),Es=e=>{const t=Kn();return(()=>{const n=Ss.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Rs=dn('<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>'),Ts=e=>{const t=Kn();return(()=>{const n=Rs.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Ls=dn('<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>'),As=e=>{const t=Kn();return(()=>{const n=Ls.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.primary))),n})()},Os=dn('<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>'),Ms=e=>{const t=Kn();return(()=>{const n=Os.cloneNode(!0),r=n.firstChild.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.accent))),n})()},Ns=dn('<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>'),Ps=e=>{const t=Kn();return(()=>{const n=Ns.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.accent))),n})()},$s=dn('<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>'),Is=e=>{const t=Kn();return(()=>{const n=$s.cloneNode(!0),r=n.firstChild.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.accent))),n})()},Us=dn('<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>'),Ws=e=>{const t=Kn();return(()=>{const n=Us.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.secondary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},js=dn('<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>'),Bs=e=>{const t=Kn();return(()=>{const n=js.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.secondary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Ds=dn('<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>'),Hs=e=>{const t=Kn();return(()=>{const n=Ds.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.secondary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Vs=dn('<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>'),Ks=e=>{const t=Kn();return(()=>{const n=Vs.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.constant.white;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},Fs=dn('<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>'),qs=e=>{const t=Kn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{const e=Fs.cloneNode(!0),t=e.firstChild;return mt((r=>{const o=n(),i=n();return o!==r._v$&&hn(e,"fill",r._v$=o),i!==r._v$2&&hn(t,"fill",r._v$2=i),r}),{_v$:void 0,_v$2:void 0}),e})()},zs=dn('<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>'),Zs=e=>{const t=Kn();return(()=>{const n=zs.cloneNode(!0),r=n.firstChild;return mt((()=>hn(r,"fill",e.fill||t.colors.icon.secondary))),n})()},Gs={m:"16px",s:"12px",none:"0"},Ys={m:"6px",s:"6px",none:"0"},Qs=qn.div`
454
475
  width: 60px;
455
476
  height: 60px;
456
477
  padding: 8px;
457
478
  margin-bottom: 8px;
458
- border-radius: ${e=>Zs[e.theme.borderRadius]};
479
+ border-radius: ${e=>Gs[e.theme.borderRadius]};
459
480
  background-color: ${e=>e.theme.colors.background.tint};
460
481
  display: grid;
461
482
  grid-template: 1fr 1fr / 1fr 1fr;
462
483
  gap: 4px;
463
- `,Qs=qn(Ki)`
484
+ `,Js=qn(Ki)`
464
485
  width: 20px;
465
486
  height: 20px;
466
- border-radius: ${e=>Gs[e.theme.borderRadius]};
467
- `,Js=e=>qt(Xi,{get name(){return e.labelLine1},get secondLine(){return e.labelLine2},get icon(){return qt(Ys,{get children(){return qt(Jt,{each:[0,1,2,3],children:t=>qt(Qs,{get src(){return e.images[t]}})})}})},onClick:()=>e.onClick()}),Xs="telegram-wallet",ea="https://raw.githubusercontent.com/ton-connect/sdk/main/assets/ton-icon-48.png",ta="https://raw.githubusercontent.com/ton-connect/sdk/main/assets/tg.png",na=e=>{const[t]=ji();return vt((()=>{const n=vt((()=>e.wallet.appName===Xs));return()=>n()?qt(Xi,{get icon(){return e.wallet.imageUrl},get name(){return t("walletItem.walletOn",{},"Wallet in")},secondLine:"Telegram",get badgeUrl(){return ta},onClick:()=>e.onClick()}):qt(Xi,{get icon(){return e.wallet.imageUrl},get name(){return e.wallet.name},get secondLine(){return(()=>{if(e.wallet.appName!==Xs)return"isPreferred"in e.wallet&&e.wallet.isPreferred?t("walletItem.recent",{},"Recent"):be(e.wallet)?t("walletItem.installed",{},"Installed"):"Tonkeeper"===e.wallet.name?t("walletItem.popular",{},"Popular"):void 0})()},secondLineColorPrimary:!1,onClick:()=>e.onClick()})})())},ra=qn.div`
487
+ border-radius: ${e=>Ys[e.theme.borderRadius]};
488
+ `,Xs=e=>qt(es,{get name(){return e.labelLine1},get secondLine(){return e.labelLine2},get icon(){return qt(Qs,{get children(){return qt(Jt,{each:[0,1,2,3],children:t=>qt(Js,{get src(){return e.images[t]}})})}})},onClick:()=>e.onClick()}),ea="telegram-wallet",ta="https://raw.githubusercontent.com/ton-connect/sdk/main/assets/ton-icon-48.png",na="https://raw.githubusercontent.com/ton-connect/sdk/main/assets/tg.png",ra=e=>{const[t]=ji();return vt((()=>{const n=vt((()=>e.wallet.appName===ea));return()=>n()?qt(es,{get icon(){return e.wallet.imageUrl},get name(){return t("walletItem.walletOn",{},"Wallet in")},secondLine:"Telegram",get badgeUrl(){return na},onClick:()=>e.onClick()}):qt(es,{get icon(){return e.wallet.imageUrl},get name(){return e.wallet.name},get secondLine(){return(()=>{if(e.wallet.appName!==ea)return"isPreferred"in e.wallet&&e.wallet.isPreferred?t("walletItem.recent",{},"Recent"):be(e.wallet)?t("walletItem.installed",{},"Installed"):"Tonkeeper"===e.wallet.name?t("walletItem.popular",{},"Popular"):void 0})()},secondLineColorPrimary:!1,onClick:()=>e.onClick()})})())},oa=qn.div`
468
489
  width: 100%;
469
490
  overflow-y: auto;
470
491
  max-height: ${e=>e.maxHeight};
@@ -481,7 +502,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
481
502
  &&::-webkit-scrollbar-thumb {
482
503
  display: none;
483
504
  }
484
- `,oa=qn.div`
505
+ `,ia=qn.div`
485
506
  height: 1px;
486
507
  margin: 0 -24px;
487
508
  width: calc(100% + 48px);
@@ -493,21 +514,21 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
493
514
  width: 100%;
494
515
  margin: 0;
495
516
  }
496
- `,[ia,sa]=gt((null==(l=dr())?void 0:l.innerHeight)||0);dr()&&window.addEventListener("resize",(()=>sa(window.innerHeight)));const[aa,la]=gt(Oo("mobile")),ca=()=>la(Oo("mobile"));dr()&&(window.addEventListener("resize",(()=>ca())),window.addEventListener("load",(()=>ca()),{once:!0}));const ua=e=>{const[t,n]=gt(!1),r=()=>void 0!==e.maxHeight?`${e.maxHeight}px`:ia()-(aa()?150:200)+"px";return[qt(oa,{get isShown(){return t()}}),qt(ra,{get maxHeight(){return r()},onScroll:e=>{n(e.target.scrollTop>0)},get class(){return e.class},get children(){return e.children}})]},da=qn.a`
517
+ `,[sa,aa]=gt((null==(l=dr())?void 0:l.innerHeight)||0);dr()&&window.addEventListener("resize",(()=>aa(window.innerHeight)));const[la,ca]=gt(Oo("mobile")),ua=()=>ca(Oo("mobile"));dr()&&(window.addEventListener("resize",(()=>ua())),window.addEventListener("load",(()=>ua()),{once:!0}));const da=e=>{const[t,n]=gt(!1),r=()=>void 0!==e.maxHeight?`${e.maxHeight}px`:sa()-(la()?150:200)+"px";return[qt(ia,{get isShown(){return t()}}),qt(oa,{get maxHeight(){return r()},onScroll:e=>{n(e.target.scrollTop>0)},get class(){return e.class},get children(){return e.children}})]},ha=qn.a`
497
518
  display: block;
498
519
  text-decoration: unset;
499
- `,ha=e=>qt(da,Yt({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}})),pa=St(),ga=dn('<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>'),fa=e=>{const t=Kn();return(()=>{const n=ga.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.primary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},ma=dn('<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>'),wa=e=>{const t=Kn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{const e=ma.cloneNode(!0),t=e.firstChild,r=t.nextSibling;return mt((e=>{const o=n(),i=n();return o!==e._v$&&hn(t,"fill",e._v$=o),i!==e._v$2&&hn(r,"fill",e._v$2=i),e}),{_v$:void 0,_v$2:void 0}),e})()},va={m:"8px",s:"4px",none:"0"},ya={m:"16px",s:"8px",none:"0"},ba=qn.div`
520
+ `,pa=e=>qt(ha,Yt({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}})),ga=St(),fa=dn('<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>'),ma=e=>{const t=Kn();return(()=>{const n=fa.cloneNode(!0),r=n.firstChild;return mt((o=>{const i=e.class,s=e.fill||t.colors.icon.primary;return i!==o._v$&&hn(n,"class",o._v$=i),s!==o._v$2&&hn(r,"fill",o._v$2=s),o}),{_v$:void 0,_v$2:void 0}),n})()},wa=dn('<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>'),va=e=>{const t=Kn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{const e=wa.cloneNode(!0),t=e.firstChild,r=t.nextSibling;return mt((e=>{const o=n(),i=n();return o!==e._v$&&hn(t,"fill",e._v$=o),i!==e._v$2&&hn(r,"fill",e._v$2=i),e}),{_v$:void 0,_v$2:void 0}),e})()},ya={m:"8px",s:"4px",none:"0"},ba={m:"16px",s:"8px",none:"0"},Ca=qn.div`
500
521
  width: 256px;
501
522
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
502
- border-radius: ${e=>ya[e.theme.borderRadius]};
523
+ border-radius: ${e=>ba[e.theme.borderRadius]};
503
524
 
504
525
  background-color: ${e=>e.theme.colors.background.primary}
505
526
 
506
527
  color: ${e=>e.theme.colors.text.primary}
507
- `,Ca=qn.ul`
528
+ `,xa=qn.ul`
508
529
  background-color: ${e=>e.theme.colors.background.primary};
509
530
  padding: 8px;
510
- `,xa=qn.button`
531
+ `,_a=qn.button`
511
532
  display: flex;
512
533
  align-items: center;
513
534
  gap: 8px;
@@ -517,7 +538,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
517
538
 
518
539
  background-color: ${e=>e.theme.colors.background.primary};
519
540
  border: none;
520
- border-radius: ${e=>va[e.theme.borderRadius]};
541
+ border-radius: ${e=>ya[e.theme.borderRadius]};
521
542
  cursor: pointer;
522
543
 
523
544
  transition: background-color, transform 0.1s ease-in-out;
@@ -529,7 +550,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
529
550
  &:active {
530
551
  transform: scale(0.96);
531
552
  }
532
- `,_a=dn("<li></li>"),ka=e=>qt(Di,{get translationKey(){return e.translationKey},fontSize:"15px",fontWeight:"590",get children(){return e.children}}),Sa={m:"16px",s:"8px",none:"0"},Ea=qn.div`
553
+ `,ka=dn("<li></li>"),Sa=e=>qt(Di,{get translationKey(){return e.translationKey},fontSize:"15px",fontWeight:"590",get children(){return e.children}}),Ea={m:"16px",s:"8px",none:"0"},Ra=qn.div`
533
554
  width: 256px;
534
555
  padding: 12px 16px;
535
556
  display: flex;
@@ -537,26 +558,26 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
537
558
 
538
559
  background-color: ${e=>e.theme.colors.background.primary};
539
560
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
540
- border-radius: ${e=>Sa[e.theme.borderRadius]};
541
- `,Ra=qn.div`
561
+ border-radius: ${e=>Ea[e.theme.borderRadius]};
562
+ `,Ta=qn.div`
542
563
  width: 192px;
543
564
 
544
565
  > h3 {
545
566
  font-size: 15px;
546
567
  }
547
- `,Ta=qn(Di)`
568
+ `,La=qn(Di)`
548
569
  margin-top: 4px;
549
570
  color: ${e=>e.theme.colors.text.secondary};
550
- `,La=e=>{const t=Wo(e);return qt(Ea,Yt({get class(){return e.class},"data-tc-notification":"true"},t,{get children(){return[qt(Ra,{get children(){return[qt(is,{get translationKey(){return e.header.translationKey},get translationValues(){return e.header.translationValues},get children(){return e.children}}),qt(Xt,{get when(){return e.text},get children(){return qt(Ta,{get translationKey(){return e.text.translationKey},get translationValues(){return e.text.translationValues}})}})]}}),vt((()=>e.icon))]}}))},Aa=qn(ys)`
571
+ `,Aa=e=>{const t=Wo(e);return qt(Ra,Yt({get class(){return e.class},"data-tc-notification":"true"},t,{get children(){return[qt(Ta,{get children(){return[qt(ss,{get translationKey(){return e.header.translationKey},get translationValues(){return e.header.translationValues},get children(){return e.children}}),qt(Xt,{get when(){return e.text},get children(){return qt(La,{get translationKey(){return e.text.translationKey},get translationValues(){return e.text.translationValues}})}})]}}),vt((()=>e.icon))]}}))},Oa=qn(bs)`
551
572
  align-self: center;
552
- `,Oa=e=>{const t=Et(pa),[n]=ji();return qt(La,{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 qt(Aa,{})},"data-tc-notification-confirm":"true",children:"Confirm operation in your wallet"})},Ma=qn(fs)`
573
+ `,Ma=e=>{const t=Et(ga),[n]=ji();return qt(Aa,{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 qt(Oa,{})},"data-tc-notification-confirm":"true",children:"Confirm operation in your wallet"})},Na=qn(ms)`
553
574
  margin-top: 2px;
554
- `,Na=e=>qt(La,{header:{translationKey:"notifications.transactionCanceled.header"},text:{translationKey:"notifications.transactionCanceled.text"},get icon(){return qt(Ma,{size:"xs"})},get class(){return e.class},"data-tc-notification-tx-cancelled":"true",children:"Transaction cancelled"}),Pa=qn(ds)`
575
+ `,Pa=e=>qt(Aa,{header:{translationKey:"notifications.transactionCanceled.header"},text:{translationKey:"notifications.transactionCanceled.text"},get icon(){return qt(Na,{size:"xs"})},get class(){return e.class},"data-tc-notification-tx-cancelled":"true",children:"Transaction cancelled"}),$a=qn(hs)`
555
576
  margin-top: 2px;
556
- `,$a=e=>qt(La,{header:{translationKey:"notifications.transactionSent.header"},text:{translationKey:"notifications.transactionSent.text"},get icon(){return qt(Pa,{})},get class(){return e.class},"data-tc-notification-tx-sent":"true",children:"Transaction sent"}),Ia=Bn`
577
+ `,Ia=e=>qt(Aa,{header:{translationKey:"notifications.transactionSent.header"},text:{translationKey:"notifications.transactionSent.text"},get icon(){return qt($a,{})},get class(){return e.class},"data-tc-notification-tx-sent":"true",children:"Transaction sent"}),Ua=Bn`
557
578
  transform: translateY(-8px);
558
579
  margin-bottom: 12px;
559
- `,Ua={timeout:4500},[Wa,ja]=gt(null);function Ba(e){const{timeout:t}=__spreadValues(__spreadValues({},Ua),e),[n,r]=gt([]),[o,i]=gt([]);return wt(function(e,t,n){const r=Array.isArray(e);let o,i=n&&n.defer;return n=>{let s;if(r){s=Array(e.length);for(let t=0;t<e.length;t++)s[t]=e[t]()}else s=e();if(i)return void(i=!1);const a=Ct((()=>t(s,o,n)));return o=s,a}}(Or,(e=>{var n;if(!e||!e.showNotification)return;if(Wa()===e)return;if("confirm-transaction"===(null==(n=Wa())?void 0:n.name)&&"confirm-transaction"===e.name)return;ja(e),r((e=>e.filter((e=>"confirm-transaction"!==e.action))));const o={action:e.name};r((e=>[...e,o]));const s=setTimeout((()=>{r((e=>e.filter((e=>e!==o)))),i((e=>e.filter((e=>e!==s))))}),t);i((e=>[...e,s]))}))),_t((()=>{o().forEach((e=>clearTimeout(e)))})),n}const Da=dn('<div data-tc-list-notifications="true"></div>'),Ha=qn(jo)`
580
+ `,Wa={timeout:4500},[ja,Ba]=gt(null);function Da(e){const{timeout:t}=__spreadValues(__spreadValues({},Wa),e),[n,r]=gt([]),[o,i]=gt([]);return wt(function(e,t,n){const r=Array.isArray(e);let o,i=n&&n.defer;return n=>{let s;if(r){s=Array(e.length);for(let t=0;t<e.length;t++)s[t]=e[t]()}else s=e();if(i)return void(i=!1);const a=Ct((()=>t(s,o,n)));return o=s,a}}(Or,(e=>{var n;if(!e||!e.showNotification)return;if(ja()===e)return;if("confirm-transaction"===(null==(n=ja())?void 0:n.name)&&"confirm-transaction"===e.name)return;Ba(e),r((e=>e.filter((e=>"confirm-transaction"!==e.action))));const o={action:e.name};r((e=>[...e,o]));const s=setTimeout((()=>{r((e=>e.filter((e=>e!==o)))),i((e=>e.filter((e=>e!==s))))}),t);i((e=>[...e,s]))}))),_t((()=>{o().forEach((e=>clearTimeout(e)))})),n}const Ha=dn('<div data-tc-list-notifications="true"></div>'),Va=qn(jo)`
560
581
  background-color: ${e=>e.theme.colors.connectButton.background};
561
582
  color: ${e=>e.theme.colors.connectButton.foreground};
562
583
  box-shadow: ${e=>`0 4px 24px ${Jn(e.theme.colors.constant.black,.16)}`};
@@ -566,12 +587,12 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
566
587
  align-items: center;
567
588
  gap: 4px;
568
589
  height: 40px;
569
- `,Va=qn(Ha)`
590
+ `,Ka=qn(Va)`
570
591
  padding: 12px 16px;
571
592
  min-width: 148px;
572
593
  justify-content: center;
573
594
  background-color: ${e=>e.theme.colors.background.primary};
574
- `,Ka=qn(jo)`
595
+ `,Fa=qn(jo)`
575
596
  min-width: 148px;
576
597
  height: 40px;
577
598
 
@@ -582,23 +603,23 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
582
603
  display: flex;
583
604
  align-items: center;
584
605
  justify-content: center;
585
- `,Fa=qn(ys)`
606
+ `,qa=qn(bs)`
586
607
  height: 18px;
587
608
  width: 18px;
588
- `,qa=qn.div`
609
+ `,za=qn.div`
589
610
  width: fit-content;
590
611
  display: flex;
591
612
  flex-direction: column;
592
613
  align-items: flex-end;
593
- `,za=qn((t=>{const n=Et(pa),[r,o]=gt(!1),i=()=>__async(this,null,(function*(){const t=Ze(n.account.address,n.account.chain===e.CHAIN.TESTNET);yield Ni(t),o(!0),setTimeout((()=>o(!1)),1e3)}));return qt(ba,{ref(e){const n=t.ref;"function"==typeof n?n(e):t.ref=e},get class(){return t.class},"data-tc-dropdown":"true",get children(){return qt(Ca,{get children(){return[(()=>{const e=_a.cloneNode(!0);return mn(e,qt(xa,{onClick:()=>i(),get children(){return[qt(fa,{}),qt(Xt,{get when(){return!r()},get children(){return qt(ka,{translationKey:"button.dropdown.copy",children:"Copy address"})}}),qt(Xt,{get when(){return r()},get children(){return qt(ka,{translationKey:"button.dropdown.copied",children:"Address copied!"})}})]}})),e})(),(()=>{const e=_a.cloneNode(!0);return mn(e,qt(xa,{onClick:()=>(n.disconnect(),void t.onClose()),get children(){return[qt(wa,{}),qt(ka,{translationKey:"button.dropdown.disconnect",children:"Disconnect"})]}})),e})()]}})}})}))`
614
+ `,Za=qn((t=>{const n=Et(ga),[r,o]=gt(!1),i=()=>__async(this,null,(function*(){const t=Ze(n.account.address,n.account.chain===e.CHAIN.TESTNET);yield Ni(t),o(!0),setTimeout((()=>o(!1)),1e3)}));return qt(Ca,{ref(e){const n=t.ref;"function"==typeof n?n(e):t.ref=e},get class(){return t.class},"data-tc-dropdown":"true",get children(){return qt(xa,{get children(){return[(()=>{const e=ka.cloneNode(!0);return mn(e,qt(_a,{onClick:()=>i(),get children(){return[qt(ma,{}),qt(Xt,{get when(){return!r()},get children(){return qt(Sa,{translationKey:"button.dropdown.copy",children:"Copy address"})}}),qt(Xt,{get when(){return r()},get children(){return qt(Sa,{translationKey:"button.dropdown.copied",children:"Address copied!"})}})]}})),e})(),(()=>{const e=ka.cloneNode(!0);return mn(e,qt(_a,{onClick:()=>(n.disconnect(),void t.onClose()),get children(){return[qt(va,{}),qt(Sa,{translationKey:"button.dropdown.disconnect",children:"Disconnect"})]}})),e})()]}})}})}))`
594
615
  box-sizing: border-box;
595
616
  overflow: hidden;
596
617
  margin-top: 12px;
597
- `,Za=qn((e=>{const t=Ba();return(()=>{const n=Da.cloneNode(!0);return mn(n,qt(Fo,{onBeforeEnter:e=>{di(e,[{opacity:0,transform:"translateY(0)"},{opacity:1,transform:"translateY(-8px)"}],{duration:200})},onExit:(e,t)=>{di(e,[{opacity:1,transform:"translateY(-8px)"},{opacity:0,transform:"translateY(-30px)"}],{duration:200}).finished.then(t)},get children(){return qt(Jt,{get each(){return t()},children:e=>qt(en,{get children(){return[qt(tn,{get when(){return"transaction-sent"===e.action},get children(){return qt($a,{class:Ia})}}),qt(tn,{get when(){return"transaction-canceled"===e.action},get children(){return qt(Na,{class:Ia})}}),qt(tn,{get when(){return"confirm-transaction"===e.action},get children(){return qt(Oa,{class:Ia})}})]}})})}})),mt((()=>pn(n,e.class))),n})()}))`
618
+ `,Ga=qn((e=>{const t=Da();return(()=>{const n=Ha.cloneNode(!0);return mn(n,qt(Fo,{onBeforeEnter:e=>{di(e,[{opacity:0,transform:"translateY(0)"},{opacity:1,transform:"translateY(-8px)"}],{duration:200})},onExit:(e,t)=>{di(e,[{opacity:1,transform:"translateY(-8px)"},{opacity:0,transform:"translateY(-30px)"}],{duration:200}).finished.then(t)},get children(){return qt(Jt,{get each(){return t()},children:e=>qt(en,{get children(){return[qt(tn,{get when(){return"transaction-sent"===e.action},get children(){return qt(Ia,{class:Ua})}}),qt(tn,{get when(){return"transaction-canceled"===e.action},get children(){return qt(Pa,{class:Ua})}}),qt(tn,{get when(){return"confirm-transaction"===e.action},get children(){return qt(Ma,{class:Ua})}})]}})})}})),mt((()=>pn(n,e.class))),n})()}))`
598
619
  > div:first-child {
599
620
  margin-top: 20px;
600
621
  }
601
- `;function Ga(e){return e.split("-")[0]}function Ya(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,s=r.y+r.height/2-o.height/2,a=function(e){return["top","bottom"].includes(Ga(e))?"x":"y"}(t),l="y"===a?"height":"width";const c=r[l]/2-o[l]/2,u="x"===a;let d;switch(Ga(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:s};break;case"left":d={x:r.x-o.width,y:s};break;default:d={x:r.x,y:r.y}}switch(function(e){return e.split("-")[1]}(t)){case"start":d[a]-=c*(n&&u?-1:1);break;case"end":d[a]+=c*(n&&u?-1:1)}return d}const Qa=(e,t,n)=>__async(this,null,(function*(){const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=yield null==s.isRTL?void 0:s.isRTL(t);if("production"!=={}.NODE_ENV){if(null==s&&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(" ")),a.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 s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Ya(c,r,l),h=r,p={},g=0;for(let n=0;n<a.length;n++){const{name:i,fn:f}=a[n],{x:m,y:w,data:v,reset:y}=yield f({x:u,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=w?w:d,p=__spreadProps(__spreadValues({},p),{[i]:__spreadValues(__spreadValues({},p[i]),v)}),"production"!=={}.NODE_ENV&&g>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(" ")),y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?yield s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=Ya(c,h,l))),n=-1)}return{x:u,y:d,placement:h,strategy:o,middlewareData:p}}));function Ja(e){return __spreadProps(__spreadValues({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function Xa(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function el(e){return Xa(e).getComputedStyle(e)}function tl(e){return sl(e)?(e.nodeName||"").toLowerCase():""}let nl;function rl(){if(nl)return nl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(nl=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),nl):navigator.userAgent}function ol(e){return e instanceof Xa(e).HTMLElement}function il(e){return e instanceof Xa(e).Element}function sl(e){return e instanceof Xa(e).Node}function al(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof Xa(e).ShadowRoot||e instanceof ShadowRoot}function ll(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=el(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function cl(e){return["table","td","th"].includes(tl(e))}function ul(e){const t=/firefox/i.test(rl()),n=el(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 dl(){return!/^((?!chrome|android).)*safari/i.test(rl())}function hl(e){return["html","body","#document"].includes(tl(e))}const pl=Math.min,gl=Math.max,fl=Math.round,ml={x:1,y:1};function wl(e){const t=!il(e)&&e.contextElement?e.contextElement:il(e)?e:null;if(!t)return ml;const n=t.getBoundingClientRect(),r=el(t);if("border-box"!==r.boxSizing)return ol(t)?{x:t.offsetWidth>0&&fl(n.width)/t.offsetWidth||1,y:t.offsetHeight>0&&fl(n.height)/t.offsetHeight||1}:ml;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 vl(e,t,n,r){var o,i,s,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let c=ml;t&&(r?il(r)&&(c=wl(r)):c=wl(e));const u=il(e)?Xa(e):window,d=!dl()&&n,h=(l.left+(d&&null!=(o=null==(i=u.visualViewport)?void 0:i.offsetLeft)?o:0))/c.x,p=(l.top+(d&&null!=(s=null==(a=u.visualViewport)?void 0:a.offsetTop)?s:0))/c.y,g=l.width/c.x,f=l.height/c.y;return{width:g,height:f,top:p,right:h+g,bottom:p+f,left:h,x:h,y:p}}function yl(e){return((sl(e)?e.ownerDocument:e.document)||window.document).documentElement}function bl(e){return il(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Cl(e){return vl(yl(e)).left+bl(e).scrollLeft}function xl(e,t,n){const r=ol(t),o=yl(t),i=vl(e,!0,"fixed"===n,t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==tl(t)||ll(o))&&(s=bl(t)),ol(t)){const e=vl(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else o&&(a.x=Cl(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function _l(e){if("html"===tl(e))return e;const t=e.assignedSlot||e.parentNode||(al(e)?e.host:null)||yl(e);return al(t)?t.host:t}function kl(e){return ol(e)&&"fixed"!==el(e).position?e.offsetParent:null}function Sl(e){const t=Xa(e);let n=kl(e);for(;n&&cl(n)&&"static"===el(n).position;)n=kl(n);return n&&("html"===tl(n)||"body"===tl(n)&&"static"===el(n).position&&!ul(n))?t:n||function(e){let t=_l(e);for(;ol(t)&&!hl(t);){if(ul(t))return t;t=_l(t)}return null}(e)||t}function El(e){const t=_l(e);return hl(t)?e.ownerDocument.body:ol(t)&&ll(t)?t:El(t)}function Rl(e,t){var n;void 0===t&&(t=[]);const r=El(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Xa(r);return o?t.concat(i,i.visualViewport||[],ll(r)?r:[]):t.concat(r,Rl(r))}function Tl(e,t,n){return"viewport"===t?Ja(function(e,t){const n=Xa(e),r=yl(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=dl();(e||!e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n)):il(t)?function(e,t){const n=vl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ol(e)?wl(e):{x:1,y:1},s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{top:c,left:l,right:l+s,bottom:c+a,x:l,y:c,width:s,height:a}}(t,n):Ja(function(e){var t;const n=yl(e),r=bl(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=gl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=gl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let a=-r.scrollLeft+Cl(e);const l=-r.scrollTop;return"rtl"===el(o||n).direction&&(a+=gl(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(yl(e)))}const Ll={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=Rl(e).filter((e=>il(e)&&"body"!==tl(e))),o=null;const i="fixed"===el(e).position;let s=i?_l(e):e;for(;il(s)&&!hl(s);){const e=el(s),t=ul(s);(i?t||o:t||"static"!==e.position||!o||!["absolute","fixed"].includes(o.position))?o=e:r=r.filter((e=>e!==s)),s=_l(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],a=i.reduce(((e,n)=>{const r=Tl(t,n,o);return e.top=gl(r.top,e.top),e.right=pl(r.right,e.right),e.bottom=pl(r.bottom,e.bottom),e.left=gl(r.left,e.left),e}),Tl(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ol(n),i=yl(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==tl(n)||ll(i))&&(s=bl(n)),ol(n))){const e=vl(n);a=wl(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:il,getDimensions:function(e){if(ol(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=vl(e);return{width:t.width,height:t.height}},getOffsetParent:Sl,getDocumentElement:yl,getScale:wl,getElementRects(e){return __async(this,null,(function*(){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Sl,i=this.getDimensions;return{reference:xl(t,yield o(n),r),floating:__spreadValues({x:0,y:0},yield i(n))}}))},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===el(e).direction};function Al(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=o&&!a,c=l||i?[...il(e)?Rl(e):e.contextElement?Rl(e.contextElement):[],...Rl(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let u,d=null;if(s){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),il(e)&&!a&&d.observe(e),il(e)||!e.contextElement||a||d.observe(e.contextElement),d.observe(t)}let h=a?vl(e):null;return a&&function t(){const r=vl(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=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,a&&cancelAnimationFrame(u)}}const Ol=(e,t,n)=>{const r=new Map,o=__spreadValues({platform:Ll},n),i=__spreadProps(__spreadValues({},o.platform),{_c:r});return Qa(e,t,__spreadProps(__spreadValues({},o),{platform:i}))};const Ml=dn('<tc-root data-tc-dropdown-container="true"></tc-root>'),Nl=()=>{const t=Kn(),n=Et(Ir),r=Et(pa),[o,i]=gt(!1),[s,a]=gt(n.account),[l,c]=gt(!n.account);let u;const[d,h]=gt(),[p,g]=gt(),f=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,s]=gt({x:null,y:null,placement:r(),strategy:o(),middlewareData:{}}),[a,l]=gt();wt((()=>{let e=a();if(e)throw e.value}));let c=vt((()=>(e(),t(),{})));function u(){let i=e(),a=t();if(i&&a){let e=c();Ol(i,a,{middleware:null==n?void 0:n.middleware,placement:r(),strategy:o()}).then((t=>{e===c()&&s(t)}),(e=>{l(e)}))}}return wt((()=>{let i=e(),s=t();if(null==n||n.middleware,r(),o(),i&&s)if(null!=n&&n.whileElementsMounted){let e=n.whileElementsMounted(i,s,u);e&&_t(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}}(p,d,{whileElementsMounted:Al,placement:"bottom-end"});r.connectionRestored.then((()=>c(!1)));const m=n.onStatusChange((e=>{if(!e)return i(!1),a(null),void c(!1);a(e.account),c(!1)})),w=e=>{if(!s()||!o())return;const t=p().contains(e.target),n=u.contains(e.target);t||n||i(!1)};return xt((()=>{document.body.addEventListener("click",w)})),_t((()=>{document.body.removeEventListener("click",w),m()})),qt(Tn,{component:Zn,get children(){return[qt(Xt,{get when(){return l()},get children(){return qt(Ka,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return qt(Fa,{})}})}}),qt(Xt,{get when(){return!l()},get children(){return[qt(Xt,{get when(){return!s()},get children(){return qt(Ha,{onClick:()=>r.openModal(),"data-tc-connect-button":"true",scale:"s",get children(){return[qt(as,{get fill(){return t.colors.connectButton.foreground}}),qt(Di,{translationKey:"button.connectWallet",fontSize:"15px",lineHeight:"18px",fontWeight:"590",get color(){return t.colors.connectButton.foreground},children:"Connect wallet"})]}})}}),qt(Xt,{get when(){return s()},get children(){return qt(qa,{get children(){return[qt(Va,{onClick:()=>i((e=>!e)),ref:g,"data-tc-dropdown-button":"true",scale:"s",get children(){return[qt(Di,{fontSize:"15px",fontWeight:"590",lineHeight:"18px",get children(){return(()=>{const t=s();if(t){const n=Ze(t.address,t.chain===e.CHAIN.TESTNET);return n.slice(0,4)+"…"+n.slice(-4)}return""})()}}),qt(Yo,{direction:"bottom"})]}}),qt(Rn,{get children(){const e=Ct((()=>document.importNode(Ml,!0)));return fn(h,e),e.style.setProperty("z-index","999"),e._$owner=st,mn(e,qt(Vo,{onBeforeEnter:e=>{di(e,[{opacity:0,transform:"translateY(-8px)"},{opacity:1,transform:"translateY(0)"}],{duration:150})},onExit:(e,t)=>{di(e,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:"translateY(-8px)"}],{duration:150}).finished.then(t)},get children(){return qt(Xt,{get when(){return o()},get children(){return qt(za,{get hidden(){return!o()},onClose:()=>i(!1),ref(e){"function"==typeof u?u(e):u=e}})}})}}),null),mn(e,qt(Za,{}),null),mt((t=>{var n,r;const o=f.strategy,i=`${null!=(n=f.y)?n:0}px`,s=`${null!=(r=f.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),s!==t._v$3&&e.style.setProperty("left",t._v$3=s),t}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})]}})}})]}})]}})},Pl=qn(mi)`
622
+ `;function Ya(e){return e.split("-")[0]}function Qa(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,s=r.y+r.height/2-o.height/2,a=function(e){return["top","bottom"].includes(Ya(e))?"x":"y"}(t),l="y"===a?"height":"width";const c=r[l]/2-o[l]/2,u="x"===a;let d;switch(Ya(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:s};break;case"left":d={x:r.x-o.width,y:s};break;default:d={x:r.x,y:r.y}}switch(function(e){return e.split("-")[1]}(t)){case"start":d[a]-=c*(n&&u?-1:1);break;case"end":d[a]+=c*(n&&u?-1:1)}return d}const Ja=(e,t,n)=>__async(this,null,(function*(){const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=yield null==s.isRTL?void 0:s.isRTL(t);if("production"!=={}.NODE_ENV){if(null==s&&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(" ")),a.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 s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Qa(c,r,l),h=r,p={},g=0;for(let n=0;n<a.length;n++){const{name:i,fn:f}=a[n],{x:m,y:w,data:v,reset:y}=yield f({x:u,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=w?w:d,p=__spreadProps(__spreadValues({},p),{[i]:__spreadValues(__spreadValues({},p[i]),v)}),"production"!=={}.NODE_ENV&&g>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(" ")),y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?yield s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=Qa(c,h,l))),n=-1)}return{x:u,y:d,placement:h,strategy:o,middlewareData:p}}));function Xa(e){return __spreadProps(__spreadValues({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function el(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function tl(e){return el(e).getComputedStyle(e)}function nl(e){return al(e)?(e.nodeName||"").toLowerCase():""}let rl;function ol(){if(rl)return rl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(rl=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),rl):navigator.userAgent}function il(e){return e instanceof el(e).HTMLElement}function sl(e){return e instanceof el(e).Element}function al(e){return e instanceof el(e).Node}function ll(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof el(e).ShadowRoot||e instanceof ShadowRoot}function cl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=tl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function ul(e){return["table","td","th"].includes(nl(e))}function dl(e){const t=/firefox/i.test(ol()),n=tl(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 hl(){return!/^((?!chrome|android).)*safari/i.test(ol())}function pl(e){return["html","body","#document"].includes(nl(e))}const gl=Math.min,fl=Math.max,ml=Math.round,wl={x:1,y:1};function vl(e){const t=!sl(e)&&e.contextElement?e.contextElement:sl(e)?e:null;if(!t)return wl;const n=t.getBoundingClientRect(),r=tl(t);if("border-box"!==r.boxSizing)return il(t)?{x:t.offsetWidth>0&&ml(n.width)/t.offsetWidth||1,y:t.offsetHeight>0&&ml(n.height)/t.offsetHeight||1}:wl;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 yl(e,t,n,r){var o,i,s,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let c=wl;t&&(r?sl(r)&&(c=vl(r)):c=vl(e));const u=sl(e)?el(e):window,d=!hl()&&n,h=(l.left+(d&&null!=(o=null==(i=u.visualViewport)?void 0:i.offsetLeft)?o:0))/c.x,p=(l.top+(d&&null!=(s=null==(a=u.visualViewport)?void 0:a.offsetTop)?s:0))/c.y,g=l.width/c.x,f=l.height/c.y;return{width:g,height:f,top:p,right:h+g,bottom:p+f,left:h,x:h,y:p}}function bl(e){return((al(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cl(e){return sl(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xl(e){return yl(bl(e)).left+Cl(e).scrollLeft}function _l(e,t,n){const r=il(t),o=bl(t),i=yl(e,!0,"fixed"===n,t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==nl(t)||cl(o))&&(s=Cl(t)),il(t)){const e=yl(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else o&&(a.x=xl(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function kl(e){if("html"===nl(e))return e;const t=e.assignedSlot||e.parentNode||(ll(e)?e.host:null)||bl(e);return ll(t)?t.host:t}function Sl(e){return il(e)&&"fixed"!==tl(e).position?e.offsetParent:null}function El(e){const t=el(e);let n=Sl(e);for(;n&&ul(n)&&"static"===tl(n).position;)n=Sl(n);return n&&("html"===nl(n)||"body"===nl(n)&&"static"===tl(n).position&&!dl(n))?t:n||function(e){let t=kl(e);for(;il(t)&&!pl(t);){if(dl(t))return t;t=kl(t)}return null}(e)||t}function Rl(e){const t=kl(e);return pl(t)?e.ownerDocument.body:il(t)&&cl(t)?t:Rl(t)}function Tl(e,t){var n;void 0===t&&(t=[]);const r=Rl(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=el(r);return o?t.concat(i,i.visualViewport||[],cl(r)?r:[]):t.concat(r,Tl(r))}function Ll(e,t,n){return"viewport"===t?Xa(function(e,t){const n=el(e),r=bl(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=hl();(e||!e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n)):sl(t)?function(e,t){const n=yl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=il(e)?vl(e):{x:1,y:1},s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{top:c,left:l,right:l+s,bottom:c+a,x:l,y:c,width:s,height:a}}(t,n):Xa(function(e){var t;const n=bl(e),r=Cl(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=fl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=fl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let a=-r.scrollLeft+xl(e);const l=-r.scrollTop;return"rtl"===tl(o||n).direction&&(a+=fl(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(bl(e)))}const Al={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=Tl(e).filter((e=>sl(e)&&"body"!==nl(e))),o=null;const i="fixed"===tl(e).position;let s=i?kl(e):e;for(;sl(s)&&!pl(s);){const e=tl(s),t=dl(s);(i?t||o:t||"static"!==e.position||!o||!["absolute","fixed"].includes(o.position))?o=e:r=r.filter((e=>e!==s)),s=kl(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],a=i.reduce(((e,n)=>{const r=Ll(t,n,o);return e.top=fl(r.top,e.top),e.right=gl(r.right,e.right),e.bottom=gl(r.bottom,e.bottom),e.left=fl(r.left,e.left),e}),Ll(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=il(n),i=bl(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==nl(n)||cl(i))&&(s=Cl(n)),il(n))){const e=yl(n);a=vl(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:sl,getDimensions:function(e){if(il(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=yl(e);return{width:t.width,height:t.height}},getOffsetParent:El,getDocumentElement:bl,getScale:vl,getElementRects(e){return __async(this,null,(function*(){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||El,i=this.getDimensions;return{reference:_l(t,yield o(n),r),floating:__spreadValues({x:0,y:0},yield i(n))}}))},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===tl(e).direction};function Ol(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=o&&!a,c=l||i?[...sl(e)?Tl(e):e.contextElement?Tl(e.contextElement):[],...Tl(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let u,d=null;if(s){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),sl(e)&&!a&&d.observe(e),sl(e)||!e.contextElement||a||d.observe(e.contextElement),d.observe(t)}let h=a?yl(e):null;return a&&function t(){const r=yl(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=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,a&&cancelAnimationFrame(u)}}const Ml=(e,t,n)=>{const r=new Map,o=__spreadValues({platform:Al},n),i=__spreadProps(__spreadValues({},o.platform),{_c:r});return Ja(e,t,__spreadProps(__spreadValues({},o),{platform:i}))};const Nl=dn('<tc-root data-tc-dropdown-container="true"></tc-root>'),Pl=()=>{const t=Kn(),n=Et(Ir),r=Et(ga),[o,i]=gt(!1),[s,a]=gt(n.account),[l,c]=gt(!n.account);let u;const[d,h]=gt(),[p,g]=gt(),f=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,s]=gt({x:null,y:null,placement:r(),strategy:o(),middlewareData:{}}),[a,l]=gt();wt((()=>{let e=a();if(e)throw e.value}));let c=vt((()=>(e(),t(),{})));function u(){let i=e(),a=t();if(i&&a){let e=c();Ml(i,a,{middleware:null==n?void 0:n.middleware,placement:r(),strategy:o()}).then((t=>{e===c()&&s(t)}),(e=>{l(e)}))}}return wt((()=>{let i=e(),s=t();if(null==n||n.middleware,r(),o(),i&&s)if(null!=n&&n.whileElementsMounted){let e=n.whileElementsMounted(i,s,u);e&&_t(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}}(p,d,{whileElementsMounted:Ol,placement:"bottom-end"});r.connectionRestored.then((()=>c(!1)));const m=n.onStatusChange((e=>{if(!e)return i(!1),a(null),void c(!1);a(e.account),c(!1)})),w=e=>{if(!s()||!o())return;const t=p().contains(e.target),n=u.contains(e.target);t||n||i(!1)};return xt((()=>{document.body.addEventListener("click",w)})),_t((()=>{document.body.removeEventListener("click",w),m()})),qt(Tn,{component:Zn,get children(){return[qt(Xt,{get when(){return l()},get children(){return qt(Fa,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return qt(qa,{})}})}}),qt(Xt,{get when(){return!l()},get children(){return[qt(Xt,{get when(){return!s()},get children(){return qt(Va,{onClick:()=>r.openModal(),"data-tc-connect-button":"true",scale:"s",get children(){return[qt(ls,{get fill(){return t.colors.connectButton.foreground}}),qt(Di,{translationKey:"button.connectWallet",fontSize:"15px",lineHeight:"18px",fontWeight:"590",get color(){return t.colors.connectButton.foreground},children:"Connect wallet"})]}})}}),qt(Xt,{get when(){return s()},get children(){return qt(za,{get children(){return[qt(Ka,{onClick:()=>i((e=>!e)),ref:g,"data-tc-dropdown-button":"true",scale:"s",get children(){return[qt(Di,{fontSize:"15px",fontWeight:"590",lineHeight:"18px",get children(){return(()=>{const t=s();if(t){const n=Ze(t.address,t.chain===e.CHAIN.TESTNET);return n.slice(0,4)+"…"+n.slice(-4)}return""})()}}),qt(Yo,{direction:"bottom"})]}}),qt(Rn,{get children(){const e=Ct((()=>document.importNode(Nl,!0)));return fn(h,e),e.style.setProperty("z-index","999"),e._$owner=st,mn(e,qt(Vo,{onBeforeEnter:e=>{di(e,[{opacity:0,transform:"translateY(-8px)"},{opacity:1,transform:"translateY(0)"}],{duration:150})},onExit:(e,t)=>{di(e,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:"translateY(-8px)"}],{duration:150}).finished.then(t)},get children(){return qt(Xt,{get when(){return o()},get children(){return qt(Za,{get hidden(){return!o()},onClose:()=>i(!1),ref(e){"function"==typeof u?u(e):u=e}})}})}}),null),mn(e,qt(Ga,{}),null),mt((t=>{var n,r;const o=f.strategy,i=`${null!=(n=f.y)?n:0}px`,s=`${null!=(r=f.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),s!==t._v$3&&e.style.setProperty("left",t._v$3=s),t}),{_v$:void 0,_v$2:void 0,_v$3:void 0}),e}})]}})}})]}})]}})},$l=qn(mi)`
602
623
  padding-left: 24px;
603
624
  padding-right: 24px;
604
625
  padding-top: 18px;
@@ -610,13 +631,13 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
610
631
 
611
632
  min-height: 364px;
612
633
  }
613
- `,$l=qn(ts)`
634
+ `,Il=qn(ns)`
614
635
  margin-top: 12px;
615
636
 
616
637
  ${Mo("mobile")} {
617
638
  padding: 0 10px;
618
639
  }
619
- `,Il=qn.div`
640
+ `,Ul=qn.div`
620
641
  margin: 30px 0;
621
642
  width: 100%;
622
643
  display: flex;
@@ -632,11 +653,11 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
632
653
  font-weight: 590;
633
654
  `,qn((e=>{const t="tabBar"+Math.floor(1e4*Math.random());return qt(yi,{get class(){return e.class},"data-tc-tab-bar":"true",get children(){return[qt(bi,{get right(){return 1===e.selectedTabIndex}}),qt(xi,{get isActive(){return 0===e.selectedTabIndex},get children(){return[qt(Ci,{type:"radio",name:t,get checked(){return 0===e.selectedTabIndex},onInput:()=>{var t;return null==(t=e.onSelectedTabIndexChange)?void 0:t.call(e,0)}}),vt((()=>e.tab1))]}}),qt(xi,{get isActive(){return 1===e.selectedTabIndex},get children(){return[qt(Ci,{type:"radio",get checked(){return 1===e.selectedTabIndex},name:t,onInput:()=>{var t;return null==(t=e.onSelectedTabIndexChange)?void 0:t.call(e,1)}}),vt((()=>e.tab2))]}})]}})}))`
634
655
  margin: 0 auto 22px;
635
- `;const[Ul,Wl]=Qr({buttonRootId:null,language:"en",returnStrategy:"back",twaReturnUrl:void 0,walletsListConfiguration:{},enableAndroidBackHandler:!0});function jl(e){return"jsBridgeKey"in e?__spreadProps(__spreadValues({},e),{injected:Fe.isWalletInjected(e.jsBridgeKey),embedded:Fe.isInsideWalletBrowser(e.jsBridgeKey)}):e}function Bl(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(jl),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 Dl(e){return e.platforms.some((e=>["macos","linux","windows"].includes(e)))}function Hl(e){return e.platforms.some((e=>["ios","android"].includes(e)))}function Vl(e){return e.platforms.some((e=>["chrome","firefox","safari"].includes(e)))}function Kl(e,t){return!!t&&(e.name.toLowerCase()===t.toLowerCase()||e.appName.toLowerCase()===t.toLowerCase())}const Fl=qn.div`
656
+ `;const[Wl,jl]=Qr({buttonRootId:null,language:"en",returnStrategy:"back",twaReturnUrl:void 0,walletsListConfiguration:{},enableAndroidBackHandler:!0});function Bl(e){return"jsBridgeKey"in e?__spreadProps(__spreadValues({},e),{injected:Fe.isWalletInjected(e.jsBridgeKey),embedded:Fe.isInsideWalletBrowser(e.jsBridgeKey)}):e}function Dl(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(Bl),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 Hl(e){return e.platforms.some((e=>["macos","linux","windows"].includes(e)))}function Vl(e){return e.platforms.some((e=>["ios","android"].includes(e)))}function Kl(e){return e.platforms.some((e=>["chrome","firefox","safari"].includes(e)))}function Fl(e,t){return!!t&&(e.name.toLowerCase()===t.toLowerCase()||e.appName.toLowerCase()===t.toLowerCase())}const ql=qn.div`
636
657
  display: flex;
637
658
  flex-direction: column;
638
659
  align-items: center;
639
- `,ql=qn(ts)`
660
+ `,zl=qn(ns)`
640
661
  margin-bottom: 18px;
641
662
  `;qn.div`
642
663
  height: 1px;
@@ -649,7 +670,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
649
670
  ${Mo("mobile")} {
650
671
  width: 100%;
651
672
  }
652
- `;const zl=qn.ul`
673
+ `;const Zl=qn.ul`
653
674
  display: grid;
654
675
  grid-template-columns: repeat(auto-fit, 92px);
655
676
  grid-template-rows: auto;
@@ -661,6 +682,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
661
682
  align-self: flex-start;
662
683
  max-width: 400px;
663
684
  margin: 0 auto;
685
+ list-style: none;
664
686
 
665
687
  > li {
666
688
  display: block;
@@ -668,22 +690,35 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
668
690
  }
669
691
 
670
692
  ${Mo("mobile")} {
671
- grid-template-columns: repeat(auto-fit, 82px);
693
+ display: grid;
694
+ grid-template-columns: repeat(4, 1fr);
695
+ gap: 0;
696
+ padding: 8px 12px 16px;
697
+ max-width: none;
698
+
699
+ > li {
700
+ min-width: 78px;
701
+ display: flex;
702
+ }
703
+
704
+ > li > * {
705
+ width: 100%;
706
+ }
672
707
  }
673
708
  `;qn(jo)`
674
709
  display: block;
675
710
  margin: 0 auto 1px;
676
711
  font-size: 15px;
677
- `;const Zl=qn(ei)`
712
+ `;const Gl=qn(ei)`
678
713
  position: absolute;
679
714
  top: 16px;
680
715
  left: 16px;
681
- `,Gl=qn(na)`
716
+ `,Yl=qn(ra)`
682
717
  height: 100%;
683
- `,Yl=dn("<li></li>"),Ql=e=>qt(Fl,{"data-tc-wallets-modal-list":"true",get children(){return[qt(Zl,{icon:"arrow",onClick:()=>e.onBack()}),qt(ql,{translationKey:"walletModal.wallets",children:"Wallets"}),qt(ua,{get maxHeight(){return aa()?void 0:510},get children(){return qt(zl,{get children(){return qt(Jt,{get each(){return aa()?e.walletsList.filter(Hl):e.walletsList},children:t=>(()=>{const n=Yl.cloneNode(!0);return mn(n,qt(Gl,{wallet:t,onClick:()=>e.onSelect(t)})),n})()})}})}})]}}),Jl={m:"16px",s:"12px",none:"0"},Xl={m:"6px",s:"6px",none:"0"},ec=qn.div`
718
+ `,Ql=dn("<li></li>"),Jl=e=>qt(ql,{"data-tc-wallets-modal-list":"true",get children(){return[qt(Gl,{icon:"arrow",onClick:()=>e.onBack()}),qt(zl,{translationKey:"walletModal.wallets",children:"Wallets"}),qt(da,{get maxHeight(){return la()?void 0:510},get children(){return qt(Zl,{get children(){return qt(Jt,{get each(){return la()?e.walletsList.filter(Vl):e.walletsList},children:t=>(()=>{const n=Ql.cloneNode(!0);return mn(n,qt(Yl,{wallet:t,onClick:()=>e.onSelect(t)})),n})()})}})}})]}}),Xl={m:"16px",s:"12px",none:"0"},ec={m:"6px",s:"6px",none:"0"},tc=qn.div`
684
719
  display: flex;
685
720
  flex-direction: column;
686
- `,tc=qn.div`
721
+ `,nc=qn.div`
687
722
  flex: 1;
688
723
  margin-top: ${e=>e.qr?"0":"18px"};
689
724
  display: flex;
@@ -691,76 +726,76 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
691
726
  align-items: center;
692
727
  justify-content: center;
693
728
  min-height: 232px;
694
- `,nc=qn($i)`
729
+ `,rc=qn($i)`
695
730
  margin-bottom: 24px;
696
- `,rc=qn(ts)`
731
+ `,oc=qn(ns)`
697
732
  max-width: 288px;
698
733
  margin: 0 auto 2px;
699
- `,oc=qn(rs)`
734
+ `,ic=qn(os)`
700
735
  max-width: 288px;
701
736
  text-align: center;
702
737
  margin: 0 auto 20px;
703
- `,ic=qn(ei)`
738
+ `,sc=qn(ei)`
704
739
  position: absolute;
705
740
  top: 16px;
706
741
  left: 16px;
707
- `,sc=qn.div`
742
+ `,ac=qn.div`
708
743
  display: flex;
709
744
  justify-content: center;
710
745
  gap: 8px;
711
746
  padding-bottom: 16px;
712
- `,ac=qn(sc)`
747
+ `,lc=qn(ac)`
713
748
  padding-bottom: 0;
714
- `,lc=qn(jo)`
749
+ `,cc=qn(jo)`
715
750
  margin-bottom: 24px;
716
- `,cc=qn(ys)`
751
+ `,uc=qn(bs)`
717
752
  margin-bottom: 18px;
718
753
  margin-top: 2px;
719
- `,uc=qn(fs)`
754
+ `,dc=qn(ms)`
720
755
  margin-bottom: 16px;
721
- `,dc=qn(rs)`
756
+ `,hc=qn(os)`
722
757
  color: ${e=>e.theme.colors.text.secondary};
723
758
  text-align: center;
724
759
  margin-bottom: 20px;
725
- `,hc=qn(jo)`
760
+ `,pc=qn(jo)`
726
761
  margin-top: -8px;
727
762
  margin-bottom: 24px;
728
763
  width: 100%;
729
764
  padding: 12px 12px 12px 20px;
730
- border-radius: ${e=>Jl[e.theme.borderRadius]};
765
+ border-radius: ${e=>Xl[e.theme.borderRadius]};
731
766
  font-size: 16px;
732
767
  line-height: 20px;
733
- `,pc=qn(vo)`
768
+ `,gc=qn(vo)`
734
769
  width: 32px;
735
770
  height: 32px;
736
- border-radius: ${e=>Xl[e.theme.borderRadius]};
737
- `,gc=e=>{const[t]=ji();return vt((()=>{var n;return t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString())}))};function fc(e,t){let n;n="string"==typeof t?t:_o()?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(!te(e))return r;const o=r.slice(r.lastIndexOf("&")+1);return r.slice(0,r.lastIndexOf("&"))+"-"+ne(o)}function mc(e,t){t=__spreadValues({},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"),ko()){t.returnStrategy="back";ar(fc(r.toString(),t.returnStrategy))}else if(_o())if(xo("ios","android","macos","tdesktop","web")){t.returnStrategy="back";Eo(fc(r.toString(),t.returnStrategy))}else xo("weba")?Eo(fc(r.toString(),t)):ar(fc(r.toString(),t));else if(gr("ios")){"back"===t.returnStrategy&&(fr("safari")?t.returnStrategy="back":fr("chrome")?t.returnStrategy="googlechrome://":fr("firefox")?t.returnStrategy="firefox://":fr("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=fr("chrome"),n=fr("firefox");if((e||n)&&!t.forceRedirect){const e=fc(r.toString(),t.returnStrategy);lr(vc(e),(()=>ar(e)))}else{ar(fc(r.toString(),t.returnStrategy))}}else if(gr("android")){t.returnStrategy="back";const e=fr("chrome"),n=fr("firefox");if((e||n)&&!t.forceRedirect){const e=fc(r.toString(),t.returnStrategy);lr(vc(e),(()=>ar(e)))}else{ar(fc(r.toString(),t.returnStrategy))}}else if(gr("ipad")){"back"===t.returnStrategy&&(fr("safari")?t.returnStrategy="back":fr("chrome")?t.returnStrategy="googlechrome://":fr("firefox")?t.returnStrategy="firefox://":fr("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=fr("chrome"),n=fr("firefox"),o=(e||n)&&!t.forceRedirect,i=fc(r.toString(),t.returnStrategy);if(o){lr(vc(i),(()=>ar(i)))}else ar(i)}else if(gr("macos","windows","linux")){t.returnStrategy="back",t.twaReturnUrl=void 0;const e=fc(r.toString(),t.returnStrategy);if(t.forceRedirect)ar(e);else{lr(vc(e),(()=>ar(e)))}}else ar(fc(r.toString(),t))}function wc(e,t,n,r){if(n=__spreadValues({},n),ko())if(gr("ios","android"))"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link"),sr(fc(e,n.returnStrategy),"_self");else{r("universal-link");ar(fc(e,n.returnStrategy))}else if(_o())if(xo("ios","android")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link");const t=fc(e,n.returnStrategy);Eo(t,(()=>{r("universal-link"),ar(t)}))}else if(xo("macos","tdesktop")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve");const o=fc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else if(xo("weba")){"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy=location.href:fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=fc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else if(xo("web")){"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy=location.href:fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=fc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else{r("universal-link");ar(fc(e,n.returnStrategy))}else if(gr("ios"))"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy="none":fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),fr("chrome")?(r("universal-link"),sr(fc(e,n.returnStrategy),"_self")):(r("universal-link"),ar(fc(e,n.returnStrategy)));else if(gr("android"))"back"===n.returnStrategy&&(fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),r("universal-link"),ar(fc(e,n.returnStrategy));else if(gr("ipad"))"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy="none":fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),fr("chrome")?(r("universal-link"),sr(fc(e,n.returnStrategy),"_self")):(r("universal-link"),ar(fc(e,n.returnStrategy)));else if(gr("macos","windows","linux")){"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy="none":fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy="none");const o=fc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else r("universal-link"),ar(fc(e,n.returnStrategy))}function vc(e){const t=new URL(e),[,n,r]=t.pathname.split("/");return`tg://resolve?domain=${n}&appname=${r}&startapp=${t.searchParams.get("startapp")}`}const yc=e=>{const[t,n]=gt("mobile"),[r,o]=gt(!1),[i,s]=gt(),[a,l]=gt(!0),c=Et(Ir);_t(c.onStatusChange((()=>{}),(()=>{e.wallet.appName!==Xs&&o(!0)})));const u=()=>{try{const t=c.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest);s(t)}catch(Qu){}};wt((()=>{"extension"!==Ct(t)&&(Hl(e.wallet)||Dl(e.wallet))&&u()}));const d=()=>{o(!1),"extension"===t()&&u(),n("mobile"),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"qrcode"}))},h=()=>{if(o(!1),"extension"===t()&&u(),n("desktop"),te(i()))p();else{const t=!a();l(!1),wc(i(),e.wallet.deepLink,{returnStrategy:Ul.returnStrategy,forceRedirect:t},(t=>{Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:t}))}))}},p=()=>{const t=!a();l(!1),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"universal-link"})),mc(i(),{returnStrategy:Ul.returnStrategy,twaReturnUrl:Ul.twaReturnUrl,forceRedirect:t})},g=()=>{o(!1),n("extension"),be(e.wallet)&&(Ar(e.wallet),c.connect({jsBridgeKey:e.wallet.jsBridgeKey},e.additionalRequest))};return Hl(e.wallet)?d():Vl(e.wallet)?g():h(),qt(ec,{"data-tc-wallets-modal-connection-desktop":"true",get children(){return[qt(Xt,{get when(){return!e.backDisabled},get children(){return qt(ic,{icon:"arrow",onClick:()=>e.onBackClick()})}}),qt(rc,{get children(){return e.wallet.name}}),qt(Xt,{get when(){return"mobile"===t()},get children(){return qt(oc,{translationKey:"walletModal.desktopConnectionModal.scanQR",get translationValues(){return{name:e.wallet.name}},get children(){return["Scan the QR code below with your phone’s or ",vt((()=>e.wallet.name)),"’s camera"]}})}}),qt(tc,{get qr(){return"mobile"===t()},get children(){return qt(en,{get children(){return[qt(tn,{get when(){return"mobile"===t()},get children(){return qt(nc,{disableCopy:!1,get sourceUrl(){return fc(i(),"none")},get imageUrl(){return e.wallet.imageUrl}})}}),qt(tn,{get when(){return r()},get children(){return[qt(uc,{size:"s"}),qt(dc,{translationKey:"walletModal.desktopConnectionModal.connectionDeclined",children:"Connection declined"}),qt(sc,{get children(){return qt(jo,{get leftIcon(){return qt(Os,{})},get onClick(){return"extension"===t()?g:h},get children(){return qt(gc,{translationKey:"common.retry",children:"Retry"})}})}})]}}),qt(tn,{get when(){return"extension"===t()},get children(){return[qt(Xt,{get when(){return be(e.wallet)},get children(){return[qt(cc,{size:"s"}),qt(dc,{translationKey:"walletModal.desktopConnectionModal.continueInExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",vt((()=>e.wallet.name))," browser extension…"]}}),qt(sc,{get children(){return qt(jo,{get leftIcon(){return qt(Os,{})},onClick:g,get children(){return qt(gc,{translationKey:"common.retry",children:"Retry"})}})}})]}}),qt(Xt,{get when(){return!be(e.wallet)},get children(){return[qt(dc,{translationKey:"walletModal.desktopConnectionModal.dontHaveExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Seems you don't have installed ",vt((()=>e.wallet.name))," browser extension"]}}),qt(sc,{get children(){return qt(ha,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return qt(jo,{get rightIcon(){return qt(Ns,{})},onClick:g,get children(){return qt(gc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",vt((()=>e.wallet.name))]}})}})}})}})]}})]}}),qt(tn,{get when(){return"desktop"===t()},get children(){return[qt(ys,{size:"m"}),qt(dc,{translationKey:"walletModal.desktopConnectionModal.continueOnDesktop",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",vt((()=>e.wallet.name))," on desktop…"]}}),qt(sc,{get children(){return[qt(jo,{get leftIcon(){return qt(Os,{})},onClick:h,get children(){return qt(gc,{translationKey:"common.retry",children:"Retry"})}}),qt(ha,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return qt(jo,{get rightIcon(){return qt(Ns,{})},get children(){return qt(gc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",vt((()=>e.wallet.name))]}})}})}})]}})]}})]}})}}),qt(Xt,{get when(){return e.wallet.appName===Xs},get children(){return qt(hc,{get rightIcon(){return qt(pc,{get src(){return ta}})},scale:"s",onClick:p,get children(){return qt(gc,{translationKey:"walletModal.desktopConnectionModal.openWalletOnTelegram",children:"Open Wallet in Telegram on desktop"})}})}}),qt(Xt,{get when(){return e.wallet.appName!==Xs},get children(){return qt(ac,{get children(){return[qt(Xt,{get when(){return vt((()=>"mobile"!==t()))()&&Hl(e.wallet)},get children(){return qt(lc,{appearance:"secondary",get leftIcon(){return qt(Rs,{})},onClick:d,get children(){return qt(gc,{translationKey:"common.mobile",children:"Mobile"})}})}}),qt(Xt,{get when(){return vt((()=>"extension"!==t()))()&&Vl(e.wallet)},get children(){return qt(lc,{appearance:"secondary",get leftIcon(){return qt(Ss,{})},onClick:g,get children(){return qt(gc,{translationKey:"common.browserExtension",children:"Browser Extension"})}})}}),qt(Xt,{get when(){return vt((()=>"desktop"!==t()))()&&Dl(e.wallet)},get children(){return qt(lc,{appearance:"secondary",get leftIcon(){return qt(Ls,{})},onClick:h,get children(){return qt(gc,{translationKey:"common.desktop",children:"Desktop"})}})}})]}})}})]}})},bc=qn.div``,Cc=qn(ei)`
771
+ border-radius: ${e=>ec[e.theme.borderRadius]};
772
+ `,fc=e=>{const[t]=ji();return vt((()=>{var n;return t(e.translationKey,e.translationValues,null==(n=e.children)?void 0:n.toString())}))};function mc(e,t){let n;n="string"==typeof t?t:_o()?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(!te(e))return r;const o=r.slice(r.lastIndexOf("&")+1);return r.slice(0,r.lastIndexOf("&"))+"-"+ne(o)}function wc(e,t){t=__spreadValues({},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"),ko()){t.returnStrategy="back";ar(mc(r.toString(),t.returnStrategy))}else if(_o())if(xo("ios","android","macos","tdesktop","web")){t.returnStrategy="back";Eo(mc(r.toString(),t.returnStrategy))}else xo("weba")?Eo(mc(r.toString(),t)):ar(mc(r.toString(),t));else if(gr("ios")){"back"===t.returnStrategy&&(fr("safari")?t.returnStrategy="back":fr("chrome")?t.returnStrategy="googlechrome://":fr("firefox")?t.returnStrategy="firefox://":fr("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=fr("chrome"),n=fr("firefox");if((e||n)&&!t.forceRedirect){const e=mc(r.toString(),t.returnStrategy);lr(yc(e),(()=>ar(e)))}else{ar(mc(r.toString(),t.returnStrategy))}}else if(gr("android")){t.returnStrategy="back";const e=fr("chrome"),n=fr("firefox");if((e||n)&&!t.forceRedirect){const e=mc(r.toString(),t.returnStrategy);lr(yc(e),(()=>ar(e)))}else{ar(mc(r.toString(),t.returnStrategy))}}else if(gr("ipad")){"back"===t.returnStrategy&&(fr("safari")?t.returnStrategy="back":fr("chrome")?t.returnStrategy="googlechrome://":fr("firefox")?t.returnStrategy="firefox://":fr("opera")?t.returnStrategy="opera-http://":t.returnStrategy=location.href);const e=fr("chrome"),n=fr("firefox"),o=(e||n)&&!t.forceRedirect,i=mc(r.toString(),t.returnStrategy);if(o){lr(yc(i),(()=>ar(i)))}else ar(i)}else if(gr("macos","windows","linux")){t.returnStrategy="back",t.twaReturnUrl=void 0;const e=mc(r.toString(),t.returnStrategy);if(t.forceRedirect)ar(e);else{lr(yc(e),(()=>ar(e)))}}else ar(mc(r.toString(),t))}function vc(e,t,n,r){if(n=__spreadValues({},n),ko())if(gr("ios","android"))"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link"),sr(mc(e,n.returnStrategy),"_self");else{r("universal-link");ar(mc(e,n.returnStrategy))}else if(_o())if(xo("ios","android")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve"),r("universal-link");const t=mc(e,n.returnStrategy);Eo(t,(()=>{r("universal-link"),ar(t)}))}else if(xo("macos","tdesktop")){"back"===n.returnStrategy&&(n.returnStrategy="tg://resolve");const o=mc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else if(xo("weba")){"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy=location.href:fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=mc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else if(xo("web")){"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy=location.href:fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href);const o=mc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else{r("universal-link");ar(mc(e,n.returnStrategy))}else if(gr("ios"))"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy="none":fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),fr("chrome")?(r("universal-link"),sr(mc(e,n.returnStrategy),"_self")):(r("universal-link"),ar(mc(e,n.returnStrategy)));else if(gr("android"))"back"===n.returnStrategy&&(fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),r("universal-link"),ar(mc(e,n.returnStrategy));else if(gr("ipad"))"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy="none":fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy=location.href),fr("chrome")?(r("universal-link"),sr(mc(e,n.returnStrategy),"_self")):(r("universal-link"),ar(mc(e,n.returnStrategy)));else if(gr("macos","windows","linux")){"back"===n.returnStrategy&&(fr("safari")?n.returnStrategy="none":fr("chrome")?n.returnStrategy="googlechrome://":fr("firefox")?n.returnStrategy="firefox://":fr("opera")?n.returnStrategy="opera-http://":n.returnStrategy="none");const o=mc(e,n.returnStrategy);!!t&&!n.forceRedirect?(r("custom-deeplink"),lr(mr(o,t),(()=>{r("universal-link"),ar(o)}))):(r("universal-link"),ar(o))}else r("universal-link"),ar(mc(e,n.returnStrategy))}function yc(e){const t=new URL(e),[,n,r]=t.pathname.split("/");return`tg://resolve?domain=${n}&appname=${r}&startapp=${t.searchParams.get("startapp")}`}const bc=e=>{const[t,n]=gt("mobile"),[r,o]=gt(!1),[i,s]=gt(),[a,l]=gt(!0),c=Et(Ir);_t(c.onStatusChange((()=>{}),(()=>{e.wallet.appName!==ea&&o(!0)})));const u=()=>{try{const t=c.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest);s(t)}catch(Qu){}};wt((()=>{"extension"!==Ct(t)&&(Vl(e.wallet)||Hl(e.wallet))&&u()}));const d=()=>{o(!1),"extension"===t()&&u(),n("mobile"),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"qrcode"}))},h=()=>{if(o(!1),"extension"===t()&&u(),n("desktop"),te(i()))p();else{const t=!a();l(!1),vc(i(),e.wallet.deepLink,{returnStrategy:Wl.returnStrategy,forceRedirect:t},(t=>{Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:t}))}))}},p=()=>{const t=!a();l(!1),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"universal-link"})),wc(i(),{returnStrategy:Wl.returnStrategy,twaReturnUrl:Wl.twaReturnUrl,forceRedirect:t})},g=()=>{o(!1),n("extension"),be(e.wallet)&&(Ar(e.wallet),c.connect({jsBridgeKey:e.wallet.jsBridgeKey},e.additionalRequest))};return Vl(e.wallet)?d():Kl(e.wallet)?g():h(),qt(tc,{"data-tc-wallets-modal-connection-desktop":"true",get children(){return[qt(Xt,{get when(){return!e.backDisabled},get children(){return qt(sc,{icon:"arrow",onClick:()=>e.onBackClick()})}}),qt(oc,{get children(){return e.wallet.name}}),qt(Xt,{get when(){return"mobile"===t()},get children(){return qt(ic,{translationKey:"walletModal.desktopConnectionModal.scanQR",get translationValues(){return{name:e.wallet.name}},get children(){return["Scan the QR code below with your phone’s or ",vt((()=>e.wallet.name)),"’s camera"]}})}}),qt(nc,{get qr(){return"mobile"===t()},get children(){return qt(en,{get children(){return[qt(tn,{get when(){return"mobile"===t()},get children(){return qt(rc,{disableCopy:!1,get sourceUrl(){return mc(i(),"none")},get imageUrl(){return e.wallet.imageUrl}})}}),qt(tn,{get when(){return r()},get children(){return[qt(dc,{size:"s"}),qt(hc,{translationKey:"walletModal.desktopConnectionModal.connectionDeclined",children:"Connection declined"}),qt(ac,{get children(){return qt(jo,{get leftIcon(){return qt(Ms,{})},get onClick(){return"extension"===t()?g:h},get children(){return qt(fc,{translationKey:"common.retry",children:"Retry"})}})}})]}}),qt(tn,{get when(){return"extension"===t()},get children(){return[qt(Xt,{get when(){return be(e.wallet)},get children(){return[qt(uc,{size:"s"}),qt(hc,{translationKey:"walletModal.desktopConnectionModal.continueInExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",vt((()=>e.wallet.name))," browser extension…"]}}),qt(ac,{get children(){return qt(jo,{get leftIcon(){return qt(Ms,{})},onClick:g,get children(){return qt(fc,{translationKey:"common.retry",children:"Retry"})}})}})]}}),qt(Xt,{get when(){return!be(e.wallet)},get children(){return[qt(hc,{translationKey:"walletModal.desktopConnectionModal.dontHaveExtension",get translationValues(){return{name:e.wallet.name}},get children(){return["Seems you don't have installed ",vt((()=>e.wallet.name))," browser extension"]}}),qt(ac,{get children(){return qt(pa,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return qt(jo,{get rightIcon(){return qt(Ps,{})},onClick:g,get children(){return qt(fc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",vt((()=>e.wallet.name))]}})}})}})}})]}})]}}),qt(tn,{get when(){return"desktop"===t()},get children(){return[qt(bs,{size:"m"}),qt(hc,{translationKey:"walletModal.desktopConnectionModal.continueOnDesktop",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",vt((()=>e.wallet.name))," on desktop…"]}}),qt(ac,{get children(){return[qt(jo,{get leftIcon(){return qt(Ms,{})},onClick:h,get children(){return qt(fc,{translationKey:"common.retry",children:"Retry"})}}),qt(pa,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return qt(jo,{get rightIcon(){return qt(Ps,{})},get children(){return qt(fc,{translationKey:"walletModal.desktopConnectionModal.getWallet",get translationValues(){return{name:e.wallet.name}},get children(){return["Get ",vt((()=>e.wallet.name))]}})}})}})]}})]}})]}})}}),qt(Xt,{get when(){return e.wallet.appName===ea},get children(){return qt(pc,{get rightIcon(){return qt(gc,{get src(){return na}})},scale:"s",onClick:p,get children(){return qt(fc,{translationKey:"walletModal.desktopConnectionModal.openWalletOnTelegram",children:"Open Wallet in Telegram on desktop"})}})}}),qt(Xt,{get when(){return e.wallet.appName!==ea},get children(){return qt(lc,{get children(){return[qt(Xt,{get when(){return vt((()=>"mobile"!==t()))()&&Vl(e.wallet)},get children(){return qt(cc,{appearance:"secondary",get leftIcon(){return qt(Ts,{})},onClick:d,get children(){return qt(fc,{translationKey:"common.mobile",children:"Mobile"})}})}}),qt(Xt,{get when(){return vt((()=>"extension"!==t()))()&&Kl(e.wallet)},get children(){return qt(cc,{appearance:"secondary",get leftIcon(){return qt(Es,{})},onClick:g,get children(){return qt(fc,{translationKey:"common.browserExtension",children:"Browser Extension"})}})}}),qt(Xt,{get when(){return vt((()=>"desktop"!==t()))()&&Hl(e.wallet)},get children(){return qt(cc,{appearance:"secondary",get leftIcon(){return qt(As,{})},onClick:h,get children(){return qt(fc,{translationKey:"common.desktop",children:"Desktop"})}})}})]}})}})]}})},Cc=qn.div``,xc=qn(ei)`
738
773
  position: absolute;
739
774
  top: 16px;
740
775
  left: 16px;
741
- `,xc=qn(ts)`
776
+ `,_c=qn(ns)`
742
777
  margin-bottom: 18px;
743
- `,_c=qn.div`
778
+ `,kc=qn.div`
744
779
  padding: 16px 0;
745
780
  display: flex;
746
781
  flex-direction: column;
747
782
  align-items: center;
748
- `,kc=Bn`
783
+ `,Sc=Bn`
749
784
  margin-bottom: 12px;
750
- `,Sc=qn(is)`
785
+ `,Ec=qn(ss)`
751
786
  text-align: center;
752
787
  margin-bottom: 4px;
753
- `,Ec=qn(Di)`
788
+ `,Rc=qn(Di)`
754
789
  text-align: center;
755
790
  max-width: 352px;
756
791
  color: ${e=>e.theme.colors.text.secondary};
757
- `,Rc=qn.div`
792
+ `,Tc=qn.div`
758
793
  padding: 16px 24px 24px;
759
794
  display: flex;
760
795
  align-items: center;
761
796
  justify-content: center;
762
797
  gap: 8px;
763
- `,Tc="https://ton.org/wallets?filters[wallet_features][slug][$in]=dapp-auth&pagination[limit]=-1",Lc=e=>qt(bc,{"data-tc-wallets-modal-info":"true",get children(){return[qt(Cc,{icon:"arrow",onClick:()=>e.onBackClick()}),qt(xc,{translationKey:"walletModal.infoModal.whatIsAWallet",children:"What is a wallet"}),qt(ua,{get children(){return[qt(_c,{get children(){return[qt(Us,{class:kc}),qt(Sc,{translationKey:"walletModal.infoModal.secureDigitalAssets",children:"Secure digital assets storage"}),qt(Ec,{translationKey:"walletModal.infoModal.walletProtects",children:"A wallet protects and manages your digital assets including TON, tokens and collectables."})]}}),qt(_c,{get children(){return[qt(js,{class:kc}),qt(Sc,{translationKey:"walletModal.infoModal.controlIdentity",children:"Control your Web3 identity"}),qt(Ec,{translationKey:"walletModal.infoModal.manageIdentity",children:"Manage your digital identity and access decentralized applications with ease. Maintain control over your data and engage securely in the blockchain ecosystem."})]}}),qt(_c,{get children(){return[qt(Ds,{class:kc}),qt(Sc,{translationKey:"walletModal.infoModal.effortlessCryptoTransactions",children:"Effortless crypto transactions"}),qt(Ec,{translationKey:"walletModal.infoModal.easilySend",children:"Easily send, receive, monitor your cryptocurrencies. Streamline your operations with decentralized applications."})]}}),qt(Rc,{get children(){return qt(ha,{get href(){return Tc},blank:!0,get children(){return qt(jo,{get rightIcon(){return qt($s,{})},get children(){return qt(gc,{translationKey:"walletModal.infoModal.getAWallet",children:"Get a Wallet"})}})}})}})]}})]}}),Ac=qn.div``,Oc=qn.div`
798
+ `,Lc="https://ton.org/wallets?filters[wallet_features][slug][$in]=dapp-auth&pagination[limit]=-1",Ac=e=>qt(Cc,{"data-tc-wallets-modal-info":"true",get children(){return[qt(xc,{icon:"arrow",onClick:()=>e.onBackClick()}),qt(_c,{translationKey:"walletModal.infoModal.whatIsAWallet",children:"What is a wallet"}),qt(da,{get children(){return[qt(kc,{get children(){return[qt(Ws,{class:Sc}),qt(Ec,{translationKey:"walletModal.infoModal.secureDigitalAssets",children:"Secure digital assets storage"}),qt(Rc,{translationKey:"walletModal.infoModal.walletProtects",children:"A wallet protects and manages your digital assets including TON, tokens and collectables."})]}}),qt(kc,{get children(){return[qt(Bs,{class:Sc}),qt(Ec,{translationKey:"walletModal.infoModal.controlIdentity",children:"Control your Web3 identity"}),qt(Rc,{translationKey:"walletModal.infoModal.manageIdentity",children:"Manage your digital identity and access decentralized applications with ease. Maintain control over your data and engage securely in the blockchain ecosystem."})]}}),qt(kc,{get children(){return[qt(Hs,{class:Sc}),qt(Ec,{translationKey:"walletModal.infoModal.effortlessCryptoTransactions",children:"Effortless crypto transactions"}),qt(Rc,{translationKey:"walletModal.infoModal.easilySend",children:"Easily send, receive, monitor your cryptocurrencies. Streamline your operations with decentralized applications."})]}}),qt(Tc,{get children(){return qt(pa,{get href(){return Lc},blank:!0,get children(){return qt(jo,{get rightIcon(){return qt(Is,{})},get children(){return qt(fc,{translationKey:"walletModal.infoModal.getAWallet",children:"Get a Wallet"})}})}})}})]}})]}}),Oc=qn.div``,Mc=qn.div`
764
799
  flex: 1;
765
800
  margin-top: 18px;
766
801
  display: flex;
@@ -768,86 +803,64 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
768
803
  align-items: center;
769
804
  justify-content: center;
770
805
  min-height: 232px;
771
- `,Mc=qn(ts)`
806
+ `,Nc=qn(ns)`
772
807
  max-width: 262px;
773
808
  margin: 0 auto 8px;
774
- `,Nc=qn(ei)`
809
+ `,Pc=qn(ei)`
775
810
  position: absolute;
776
811
  top: 16px;
777
812
  left: 16px;
778
- `,Pc=qn.div`
813
+ `,$c=qn.div`
779
814
  padding: 16px;
780
815
  display: flex;
781
816
  align-items: center;
782
817
  gap: 12px;
783
818
  border-top: 0.5px solid ${e=>Jn(e.theme.colors.icon.secondary,.2)};
784
- `,$c=qn(vo)`
819
+ `,Ic=qn(vo)`
785
820
  width: 36px;
786
821
  height: 36px;
787
822
  border-radius: 10px;
788
- `,Ic=qn(ha)`
823
+ `,Uc=qn(pa)`
789
824
  margin-left: auto;
790
- `,Uc=qn(ys)`
825
+ `,Wc=qn(bs)`
791
826
  margin-bottom: 18px;
792
827
  margin-top: 2px;
793
- `,Wc=qn(fs)`
828
+ `,jc=qn(ms)`
794
829
  margin-bottom: 16px;
795
- `,jc=qn(rs)`
830
+ `,Bc=qn(os)`
796
831
  color: ${e=>e.theme.colors.text.secondary};
797
832
  text-align: center;
798
833
  margin-bottom: 20px;
799
- `,Bc=qn.div`
834
+ `,Dc=qn.div`
800
835
  display: flex;
801
836
  justify-content: center;
802
837
  gap: 8px;
803
838
  padding-bottom: 16px;
804
- `,Dc={m:"16px",s:"8px",none:"0"},Hc=qn(ts)`
839
+ `,Hc={m:"16px",s:"8px",none:"0"},Vc=qn(ns)`
805
840
  margin-bottom: 2px;
806
841
  padding: 0 52px;
807
- `,Vc=qn(rs)`
842
+ `,Kc=qn(os)`
808
843
  margin-bottom: 20px;
809
844
  padding: 0 64px;
810
- `,Kc=qn.div`
811
- padding: 0 24px 16px;
812
845
  `,Fc=qn.div`
846
+ padding: 0 24px 16px;
847
+ `,qc=qn.div`
813
848
  display: flex;
814
849
  flex-direction: row;
815
850
  gap: 16px;
816
851
  padding: 0 24px 24px;
817
852
  margin-top: 0;
818
- `,qc=qn(jo)`
853
+ `,zc=qn(jo)`
819
854
  width: 100%;
820
855
  height: 56px;
821
- border-radius: ${e=>Dc[e.theme.borderRadius]};
856
+ border-radius: ${e=>Hc[e.theme.borderRadius]};
822
857
  background-color: ${e=>Jn(e.theme.colors.accent,.12)};
823
858
  color: ${e=>e.theme.colors.accent};
824
859
  font-size: 16px;
825
860
  line-height: 20px;
826
861
  font-weight: 500;
827
862
  padding: 17px 20px 19px 20px;
828
- `,zc=e=>[qt(Hc,{get children(){return e.walletInfo.name}}),qt(Vc,{translationKey:"walletModal.mobileConnectionModal.scanQR",get translationValues(){return{name:e.walletInfo.name}},get children(){return["Scan the QR code below with your phone’s or ",vt((()=>e.walletInfo.name)),"’s camera"]}}),qt(Kc,{get children(){return qt($i,{get imageUrl(){return e.walletInfo.imageUrl},get sourceUrl(){return fc(e.universalLink,"none")},disableCopy:!0})}}),qt(Fc,{get children(){return[qt(qc,{appearance:"secondary",onClick:()=>{var t;return null==(t=e.onOpenLink)?void 0:t.call(e)},get children(){return qt(gc,{translationKey:"walletModal.mobileUniversalModal.openLink",children:"Open Link"})}}),qt(qc,{appearance:"secondary",onClick:()=>{var t;return null==(t=e.onCopy)?void 0:t.call(e)},get children(){return qt(gc,{get translationKey(){return void 0!==e.isCopiedShown?"common.copied":"common.copyLink"},get children(){return void 0!==e.isCopiedShown?"Copied":"Copy Link"}})}})]}})],Zc=e=>{const t=Kn(),[n,r]=gt(!0),[o,i]=gt(!1),[s,a]=gt(!1),l=Et(Ir),c=l.onStatusChange((()=>{}),(()=>{a(!0)})),u=vt((()=>l.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest))),d=()=>{if(te(u()))return Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"universal-link"})),void mc(u(),{returnStrategy:Ul.returnStrategy,twaReturnUrl:Ul.twaReturnUrl,forceRedirect:!0});a(!1);const t=!n();r(!1),wc(u(),e.wallet.deepLink,{returnStrategy:Ul.returnStrategy,forceRedirect:t},(t=>{Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:t}))}))},[h,p]=gt(void 0),g=()=>__async(this,null,(function*(){void 0!==h()&&clearTimeout(h()),yield Ni(u());const e=setTimeout((()=>p(void 0)),1500);p(e)})),f=()=>{a(!1),i(!0),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"qrcode"}))},m=()=>{o()?(i(!1),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"universal-link"}))):e.onBackClick()};return _t(c),d(),qt(Ac,{"data-tc-wallets-modal-connection-mobile":"true",get children(){return[qt(Xt,{get when(){return!e.backDisabled||o()},get children(){return qt(Nc,{icon:"arrow",onClick:m})}}),qt(Xt,{get when(){return o()},get children(){return qt(zc,{get universalLink(){return u()},get walletInfo(){return e.wallet},onOpenLink:d,onCopy:g,get isCopiedShown(){return h()}})}}),qt(Xt,{get when(){return!o()},get children(){return[qt(Mc,{get children(){return e.wallet.name}}),qt(Oc,{get children(){return[qt(Xt,{get when(){return s()},get children(){return[qt(Wc,{size:"s"}),qt(jc,{translationKey:"walletModal.mobileConnectionModal.connectionDeclined",children:"Connection declined"}),qt(Bc,{get children(){return[qt(jo,{get leftIcon(){return qt(Os,{})},onClick:d,get children(){return qt(gc,{translationKey:"common.retry",children:"Retry"})}}),qt(jo,{get leftIcon(){return qt(zs,{get fill(){return t.colors.accent}})},onClick:f,get children(){return qt(gc,{translationKey:"walletModal.mobileConnectionModal.showQR",children:"Show QR Code"})}})]}})]}}),qt(Xt,{get when(){return!s()},get children(){return[qt(Uc,{size:"s"}),qt(jc,{translationKey:"walletModal.mobileConnectionModal.continueIn",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",vt((()=>e.wallet.name)),"…"]}}),qt(Bc,{get children(){return[qt(jo,{get leftIcon(){return qt(Os,{})},onClick:d,get children(){return qt(gc,{translationKey:"common.retry",children:"Retry"})}}),qt(jo,{get leftIcon(){return qt(zs,{get fill(){return t.colors.accent}})},onClick:f,get children(){return qt(gc,{translationKey:"walletModal.mobileConnectionModal.showQR",children:"Show QR Code"})}})]}})]}})]}}),qt(Pc,{get children(){return[qt($c,{get src(){return e.wallet.imageUrl}}),qt(is,{get children(){return e.wallet.name}}),qt(Ic,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return qt(jo,{get children(){return qt(gc,{translationKey:"common.get",children:"GET"})}})}})]}})]}})]}})},Gc={m:"16px",s:"12px",none:"0"},Yc={m:"6px",s:"6px",none:"0"},Qc=qn.ul`
829
- display: flex;
830
- justify-content: space-between;
831
- margin: 0 auto;
832
- width: fit-content;
833
- max-width: 100%;
834
- min-width: 100%;
835
- height: fit-content;
836
- overflow-x: auto;
837
- overflow-y: hidden;
838
- padding: 8px 19px 16px 19px;
839
-
840
- &&::-webkit-scrollbar {
841
- display: none;
842
- }
843
-
844
- -ms-overflow-style: none;
845
- scrollbar-width: none;
846
-
847
- > li {
848
- height: fit-content;
849
- }
850
- `;qn.li`
863
+ `,Zc=e=>[qt(Vc,{get children(){return e.walletInfo.name}}),qt(Kc,{translationKey:"walletModal.mobileConnectionModal.scanQR",get translationValues(){return{name:e.walletInfo.name}},get children(){return["Scan the QR code below with your phone’s or ",vt((()=>e.walletInfo.name)),"’s camera"]}}),qt(Fc,{get children(){return qt($i,{get imageUrl(){return e.walletInfo.imageUrl},get sourceUrl(){return mc(e.universalLink,"none")},disableCopy:!0})}}),qt(qc,{get children(){return[qt(zc,{appearance:"secondary",onClick:()=>{var t;return null==(t=e.onOpenLink)?void 0:t.call(e)},get children(){return qt(fc,{translationKey:"walletModal.mobileUniversalModal.openLink",children:"Open Link"})}}),qt(zc,{appearance:"secondary",onClick:()=>{var t;return null==(t=e.onCopy)?void 0:t.call(e)},get children(){return qt(fc,{get translationKey(){return void 0!==e.isCopiedShown?"common.copied":"common.copyLink"},get children(){return void 0!==e.isCopiedShown?"Copied":"Copy Link"}})}})]}})],Gc=e=>{const t=Kn(),[n,r]=gt(!0),[o,i]=gt(!1),[s,a]=gt(!1),l=Et(Ir),c=l.onStatusChange((()=>{}),(()=>{a(!0)})),u=vt((()=>l.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest))),d=()=>{if(te(u()))return Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"universal-link"})),void wc(u(),{returnStrategy:Wl.returnStrategy,twaReturnUrl:Wl.twaReturnUrl,forceRedirect:!0});a(!1);const t=!n();r(!1),vc(u(),e.wallet.deepLink,{returnStrategy:Wl.returnStrategy,forceRedirect:t},(t=>{Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:t}))}))},[h,p]=gt(void 0),g=()=>__async(this,null,(function*(){void 0!==h()&&clearTimeout(h()),yield Ni(u());const e=setTimeout((()=>p(void 0)),1500);p(e)})),f=()=>{a(!1),i(!0),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"qrcode"}))},m=()=>{o()?(i(!1),Ar(__spreadProps(__spreadValues({},e.wallet),{openMethod:"universal-link"}))):e.onBackClick()};return _t(c),d(),qt(Oc,{"data-tc-wallets-modal-connection-mobile":"true",get children(){return[qt(Xt,{get when(){return!e.backDisabled||o()},get children(){return qt(Pc,{icon:"arrow",onClick:m})}}),qt(Xt,{get when(){return o()},get children(){return qt(Zc,{get universalLink(){return u()},get walletInfo(){return e.wallet},onOpenLink:d,onCopy:g,get isCopiedShown(){return h()}})}}),qt(Xt,{get when(){return!o()},get children(){return[qt(Nc,{get children(){return e.wallet.name}}),qt(Mc,{get children(){return[qt(Xt,{get when(){return s()},get children(){return[qt(jc,{size:"s"}),qt(Bc,{translationKey:"walletModal.mobileConnectionModal.connectionDeclined",children:"Connection declined"}),qt(Dc,{get children(){return[qt(jo,{get leftIcon(){return qt(Ms,{})},onClick:d,get children(){return qt(fc,{translationKey:"common.retry",children:"Retry"})}}),qt(jo,{get leftIcon(){return qt(Zs,{get fill(){return t.colors.accent}})},onClick:f,get children(){return qt(fc,{translationKey:"walletModal.mobileConnectionModal.showQR",children:"Show QR Code"})}})]}})]}}),qt(Xt,{get when(){return!s()},get children(){return[qt(Wc,{size:"s"}),qt(Bc,{translationKey:"walletModal.mobileConnectionModal.continueIn",get translationValues(){return{name:e.wallet.name}},get children(){return["Continue in ",vt((()=>e.wallet.name)),"…"]}}),qt(Dc,{get children(){return[qt(jo,{get leftIcon(){return qt(Ms,{})},onClick:d,get children(){return qt(fc,{translationKey:"common.retry",children:"Retry"})}}),qt(jo,{get leftIcon(){return qt(Zs,{get fill(){return t.colors.accent}})},onClick:f,get children(){return qt(fc,{translationKey:"walletModal.mobileConnectionModal.showQR",children:"Show QR Code"})}})]}})]}})]}}),qt($c,{get children(){return[qt(Ic,{get src(){return e.wallet.imageUrl}}),qt(ss,{get children(){return e.wallet.name}}),qt(Uc,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return qt(jo,{get children(){return qt(fc,{translationKey:"common.get",children:"GET"})}})}})]}})]}})]}})},Yc={m:"16px",s:"12px",none:"0"},Qc={m:"6px",s:"6px",none:"0"};qn.li`
851
864
  width: 82px;
852
865
  min-width: 82px;
853
866
  height: 124px;
@@ -876,30 +889,11 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
876
889
  transform: scale(0.92);
877
890
  }
878
891
  }
879
- `,qn.div`
880
- width: 1px;
881
- margin: 0 10px;
882
- height: 24px;
883
- position: relative;
884
- top: 26px;
885
-
886
- background-color: ${e=>e.theme.colors.icon.secondary};
887
- opacity: 0.2;
888
- `,qn.div`
889
- width: 60px;
890
- height: 60px;
891
- border-radius: ${e=>Gc[e.theme.borderRadius]};
892
- display: flex;
893
- align-items: center;
894
- justify-content: center;
895
-
896
- background-color: ${e=>e.theme.colors.background.tint};
897
- margin-bottom: 8px;
898
- `;const Jc=qn(ts)`
892
+ `;const Jc=qn(ns)`
899
893
  margin-top: 38px;
900
894
  margin-bottom: 4px;
901
895
  padding: 0 24px;
902
- `,Xc=qn(rs)`
896
+ `,Xc=qn(os)`
903
897
  margin: ${e=>{var t;return null!=(t=e.margin)?t:"0 0 28px 0"}};
904
898
  padding: ${e=>{var t;return null!=(t=e.padding)?t:"0 24px"}};
905
899
  min-height: ${e=>{var t;return null!=(t=e.padding)?t:"44px"}};
@@ -912,7 +906,7 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
912
906
  `;const eu=qn(jo)`
913
907
  margin: 0 28px 24px;
914
908
  width: calc(100% - 56px);
915
- border-radius: ${e=>Gc[e.theme.borderRadius]};
909
+ border-radius: ${e=>Yc[e.theme.borderRadius]};
916
910
  padding: 14px 16px 14px 14px;
917
911
  background-color: ${e=>e.theme.colors.telegramButton};
918
912
 
@@ -920,19 +914,24 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
920
914
  font-weight: 500;
921
915
  font-size: 16px;
922
916
  line-height: 20px;
917
+
918
+ @media (max-width: 375px) {
919
+ margin: 0 16px 24px;
920
+ width: calc(100% - 32px);
921
+ }
923
922
  `,tu=qn(vo)`
924
923
  background-color: transparent;
925
- border-radius: ${e=>Yc[e.theme.borderRadius]};
924
+ border-radius: ${e=>Qc[e.theme.borderRadius]};
926
925
  width: 24px;
927
926
  height: 24px;
928
927
  `,nu=qn(ei)`
929
928
  position: absolute;
930
929
  top: 16px;
931
930
  left: 16px;
932
- `,ru={m:"16px",s:"8px",none:"0"},ou=qn(ts)`
931
+ `,ru={m:"16px",s:"8px",none:"0"},ou=qn(ns)`
933
932
  margin-bottom: 2px;
934
933
  padding: 0 52px;
935
- `,iu=qn(rs)`
934
+ `,iu=qn(os)`
936
935
  margin-bottom: 20px;
937
936
  padding: 0 64px;
938
937
  `,su=qn.div`
@@ -953,16 +952,16 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
953
952
  line-height: 20px;
954
953
  font-weight: 500;
955
954
  padding: 17px 20px 19px 20px;
956
- `,cu=e=>[qt(ou,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),qt(iu,{translationKey:"walletModal.mobileUniversalModal.scan",children:"Scan with your mobile wallet"}),qt(su,{get children(){return qt($i,{get imageUrl(){return ea},get sourceUrl(){return fc(e.universalLink,"none")},disableCopy:!0})}}),qt(au,{get children(){return[qt(lu,{appearance:"secondary",onClick:()=>e.onOpenLink(),get children(){return qt(gc,{translationKey:"walletModal.mobileUniversalModal.openLink",children:"Open Link"})}}),qt(lu,{appearance:"secondary",onClick:()=>e.onCopy(),get children(){return qt(gc,{get translationKey(){return void 0!==e.isCopiedShown?"common.copied":"common.copyLink"},get children(){return void 0!==e.isCopiedShown?"Copied":"Copy Link"}})}})]}})];function uu(e){const t=new Set(e.filter(_e).map((e=>e.bridgeUrl)));return Array.from(t).map((e=>({bridgeUrl:e})))}function du(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 hu=dn("<li></li>"),pu=dn('<div data-tc-wallets-modal-universal-mobile="true"></div>'),gu=e=>{const[t,n]=gt(!1),[r,o]=gt(!0),[i,s]=gt(null),a=Ul.connector,l=()=>e.walletsList.filter((e=>Hl(e)&&e.appName!==Xs)),c=()=>l().length>7,u=vt((()=>uu(e.walletsList)),null,{equals:du}),d=()=>(i()||s(a.connect(u(),e.additionalRequest)),i());Ar({openMethod:"universal-link"});const[h,p]=gt(void 0),g=()=>__async(this,null,(function*(){void 0!==h()&&clearTimeout(h()),yield Ni(d());const e=setTimeout((()=>p(void 0)),1500);p(e)})),f=()=>{const e=!r();o(!1),wc(d(),void 0,{returnStrategy:Ul.returnStrategy,forceRedirect:e},(e=>{Ar({openMethod:e})}))},m=()=>{s(null);const t=e.walletsList.find((e=>e.appName===Xs));if(!t||!_e(t))throw new or("@wallet bot not found in the wallets list");const n=a.connect({bridgeUrl:t.bridgeUrl,universalLink:t.universalLink},e.additionalRequest),i=!r();o(!1),mc(n,{returnStrategy:Ul.returnStrategy,twaReturnUrl:Ul.twaReturnUrl,forceRedirect:i})},w=()=>{n(!0),Ar({openMethod:"qrcode"})},v=()=>{n(!1),Ar({openMethod:"universal-link"})};return(()=>{const n=pu.cloneNode(!0);return mn(n,qt(Xt,{get when(){return t()},get children(){return[qt(nu,{icon:"arrow",onClick:v}),qt(cu,{get universalLink(){return d()},get isCopiedShown(){return h()},onOpenLink:f,onCopy:g})]}}),null),mn(n,qt(Xt,{get when(){return!t()},get children(){return[qt(nu,{get icon(){return qt(zs,{})},onClick:w}),qt(Jc,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),qt(Xc,{translationKey:"walletModal.mobileUniversalModal.openWalletOnTelegramOrSelect",maxWidth:320,children:"Use Wallet in Telegram or choose other application"}),qt(eu,{get leftIcon(){return qt(Vs,{})},get rightIcon(){return qt(tu,{get src(){return ta}})},onClick:m,scale:"s",get children(){return qt(gc,{translationKey:"walletModal.mobileUniversalModal.openWalletOnTelegram",children:"Connect Wallet in Telegram"})}}),qt(Xc,{translationKey:"walletModal.mobileUniversalModal.chooseOtherApplication",maxWidth:342,padding:"0 24px 8px 24px",margin:"0",children:"Choose other application"}),qt(Qc,{get children(){return[qt(Jt,{get each(){return vt((()=>!!c()))()?l().slice(0,3):l()},children:t=>(()=>{const n=hu.cloneNode(!0);return mn(n,qt(Xi,{get icon(){return t.imageUrl},get name(){return t.name},onClick:()=>e.onSelect(t)})),n})()}),qt(Xt,{get when(){return c()},get children(){const t=hu.cloneNode(!0);return mn(t,qt(Js,{labelLine1:"View all",labelLine2:"wallets",get images(){return l().slice(3,7).map((e=>e.imageUrl))},onClick:()=>e.onSelectAllWallets()})),t}})]}})]}}),null),n})()},fu={m:"16px",s:"8px",none:"0"},mu={m:"8px",s:"4px",none:"0"},wu=qn.div`
955
+ `,cu=e=>[qt(ou,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),qt(iu,{translationKey:"walletModal.mobileUniversalModal.scan",children:"Scan with your mobile wallet"}),qt(su,{get children(){return qt($i,{get imageUrl(){return ta},get sourceUrl(){return mc(e.universalLink,"none")},disableCopy:!0})}}),qt(au,{get children(){return[qt(lu,{appearance:"secondary",onClick:()=>e.onOpenLink(),get children(){return qt(fc,{translationKey:"walletModal.mobileUniversalModal.openLink",children:"Open Link"})}}),qt(lu,{appearance:"secondary",onClick:()=>e.onCopy(),get children(){return qt(fc,{get translationKey(){return void 0!==e.isCopiedShown?"common.copied":"common.copyLink"},get children(){return void 0!==e.isCopiedShown?"Copied":"Copy Link"}})}})]}})];function uu(e){const t=new Set(e.filter(_e).map((e=>e.bridgeUrl)));return Array.from(t).map((e=>({bridgeUrl:e})))}function du(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 hu=dn("<li></li>"),pu=dn('<div data-tc-wallets-modal-universal-mobile="true"></div>'),gu=e=>{const[t,n]=gt(!1),[r,o]=gt(!0),[i,s]=gt(null),a=Wl.connector,l=()=>e.walletsList.filter((e=>Vl(e)&&e.appName!==ea)),c=()=>l().length>7,u=vt((()=>uu(e.walletsList)),null,{equals:du}),d=()=>(i()||s(a.connect(u(),e.additionalRequest)),i());Ar({openMethod:"universal-link"});const[h,p]=gt(void 0),g=()=>__async(this,null,(function*(){void 0!==h()&&clearTimeout(h()),yield Ni(d());const e=setTimeout((()=>p(void 0)),1500);p(e)})),f=()=>{const e=!r();o(!1),vc(d(),void 0,{returnStrategy:Wl.returnStrategy,forceRedirect:e},(e=>{Ar({openMethod:e})}))},m=()=>{s(null);const t=e.walletsList.find((e=>e.appName===ea));if(!t||!_e(t))throw new or("@wallet bot not found in the wallets list");const n=a.connect({bridgeUrl:t.bridgeUrl,universalLink:t.universalLink},e.additionalRequest),i=!r();o(!1),wc(n,{returnStrategy:Wl.returnStrategy,twaReturnUrl:Wl.twaReturnUrl,forceRedirect:i})},w=()=>{n(!0),Ar({openMethod:"qrcode"})},v=()=>{n(!1),Ar({openMethod:"universal-link"})};return(()=>{const n=pu.cloneNode(!0);return mn(n,qt(Xt,{get when(){return t()},get children(){return[qt(nu,{icon:"arrow",onClick:v}),qt(cu,{get universalLink(){return d()},get isCopiedShown(){return h()},onOpenLink:f,onCopy:g})]}}),null),mn(n,qt(Xt,{get when(){return!t()},get children(){return[qt(nu,{get icon(){return qt(Zs,{})},onClick:w}),qt(Jc,{translationKey:"walletModal.mobileUniversalModal.connectYourWallet",children:"Connect your TON wallet"}),qt(Xc,{translationKey:"walletModal.mobileUniversalModal.openWalletOnTelegramOrSelect",maxWidth:320,children:"Use Wallet in Telegram or choose other application"}),qt(eu,{get leftIcon(){return qt(Ks,{})},get rightIcon(){return qt(tu,{get src(){return na}})},onClick:m,scale:"s",get children(){return qt(fc,{translationKey:"walletModal.mobileUniversalModal.openWalletOnTelegram",children:"Connect Wallet in Telegram"})}}),qt(Xc,{translationKey:"walletModal.mobileUniversalModal.chooseOtherApplication",maxWidth:342,padding:"0 24px 8px 24px",margin:"0",children:"Choose other application"}),qt(zi,{get children(){return[qt(Jt,{get each(){return vt((()=>!!c()))()?l().slice(0,3):l()},children:t=>(()=>{const n=hu.cloneNode(!0);return mn(n,qt(es,{get icon(){return t.imageUrl},get name(){return t.name},onClick:()=>e.onSelect(t)})),n})()}),qt(Xt,{get when(){return c()},get children(){const t=hu.cloneNode(!0);return mn(t,qt(Xs,{labelLine1:"View all",labelLine2:"wallets",get images(){return l().slice(3,7).map((e=>e.imageUrl))},onClick:()=>e.onSelectAllWallets()})),t}})]}})]}}),null),n})()},fu={m:"16px",s:"8px",none:"0"},mu={m:"8px",s:"4px",none:"0"},wu=qn.div`
957
956
  display: flex;
958
957
  flex-direction: column;
959
958
  align-items: center;
960
959
  padding-bottom: 16px;
961
- `,vu=qn(rs)`
960
+ `,vu=qn(os)`
962
961
  max-width: 320px;
963
962
  margin-top: 2px;
964
963
  margin-bottom: 20px;
965
- `,yu=qn(rs)`
964
+ `,yu=qn(os)`
966
965
  margin-bottom: 16px;
967
966
  `,bu=qn($i)`
968
967
  margin-bottom: 24px;
@@ -1034,12 +1033,12 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
1034
1033
  `,qn(Di)`
1035
1034
  color: ${e=>e.theme.colors.text.secondary};
1036
1035
  font-size: 16px;
1037
- `;const xu=dn("<li></li>"),_u=e=>{const[t,n]=gt(!1),r=Ul.connector,o=vt((()=>uu(e.walletsList)),null,{equals:du});Ar({openMethod:"qrcode"});const i=vt((()=>r.connect(o(),e.additionalRequest)));return qt(wu,{onClick:()=>n(!1),"data-tc-wallets-modal-universal-desktop":"true",get children(){return[qt(ts,{translationKey:"walletModal.desktopUniversalModal.connectYourWallet",children:"Connect your wallet"}),qt(vu,{translationKey:"walletModal.desktopUniversalModal.scan",children:"Scan with your mobile wallet"}),qt(bu,{get sourceUrl(){return fc(i(),"none")},get disableCopy(){return t()},get imageUrl(){return ea}}),qt(yu,{translationKey:"walletModal.desktopUniversalModal.availableWallets",children:"Available wallets"}),qt(Cu,{get children(){return[qt(Jt,{get each(){return e.walletsList.slice(0,3)},children:t=>(()=>{const n=xu.cloneNode(!0);return mn(n,qt(na,{wallet:t,onClick:()=>e.onSelect(t)})),n})()}),qt(Js,{labelLine1:"View all",labelLine2:"wallets",get images(){return e.walletsList.slice(3,7).map((e=>e.imageUrl))},onClick:()=>e.onSelectAllWallets()})]}})]}})},ku=()=>{const{locale:e}=ji()[1];wt((()=>e(Ul.language))),wt((()=>{xr()?ca():(i(null),a("universal"),c(!1))}));const t=Et(Ir),n=Et(pa),[r]=yt((()=>n.getWallets())),[o,i]=gt(null),[s,a]=gt("universal"),[l,c]=gt(!1),u=vt((()=>{if("ready"!==r.state)return null;let e=Bl(r(),Ul.walletsListConfiguration);const t=e.filter(be),n=e.filter((e=>!be(e)));e=(t||[]).concat(n);const o=Ul.preferredWalletAppName,i=e.find((e=>Kl(e,o))),s=e.filter((e=>Kl(e,o))).length>=2;o&&i&&!s&&(e=[__spreadProps(__spreadValues({},i),{isPreferred:!0})].concat(e.filter((e=>!Kl(e,o)))));const a=e.find((e=>Kl(e,Xs)));return a&&(e=[a].concat(e.filter((e=>!Kl(e,Xs))))),e})),d=()=>{var e;return"loading"===(null==(e=Ul.connectRequestParameters)?void 0:e.state)},h=vt((()=>{var e;if(!d())return null==(e=Ul.connectRequestParameters)?void 0:e.value})),p=e=>{n.closeModal(e)},g=t.onStatusChange((e=>{e&&p("wallet-selected")})),f=()=>{a("all-wallets")},m=()=>{a("universal")},w=()=>{i(null)};return _t((()=>{i(null),c(!1)})),_t(g),qt(Pl,{get opened(){return xr()},get enableAndroidBackHandler(){return Ul.enableAndroidBackHandler},onClose:()=>p("action-cancelled"),onClickQuestion:()=>c((e=>!e)),"data-tc-wallets-modal-container":"true",get children(){return[qt(Xt,{get when(){return l()},get children(){return qt(Lc,{onBackClick:()=>c(!1)})}}),qt(Xt,{get when(){return!l()},get children(){return[qt(Xt,{get when(){return d()||!u()},get children(){return[qt($l,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),qt(Il,{get children(){return qt(ys,{size:"m"})}})]}}),qt(Xt,{get when(){return vt((()=>!d()))()&&u()},get children(){return qt(en,{get children(){return[qt(tn,{get when(){return o()},get children(){return qt(Tn,{get component(){return aa()?Zc:yc},get wallet(){return o()},get additionalRequest(){return h()},onBackClick:w})}}),qt(tn,{get when(){return"universal"===s()},get children(){return qt(Tn,{get component(){return aa()?gu:_u},onSelect:i,get walletsList(){return u()},get additionalRequest(){return h()},onSelectAllWallets:f})}}),qt(tn,{get when(){return"all-wallets"===s()},get children(){return qt(Ql,{get walletsList(){return u()},onBack:m,onSelect:i})}})]}})}})]}})]}})},Su=qn.div`
1036
+ `;const xu=dn("<li></li>"),_u=e=>{const[t,n]=gt(!1),r=Wl.connector,o=vt((()=>uu(e.walletsList)),null,{equals:du});Ar({openMethod:"qrcode"});const i=vt((()=>r.connect(o(),e.additionalRequest)));return qt(wu,{onClick:()=>n(!1),"data-tc-wallets-modal-universal-desktop":"true",get children(){return[qt(ns,{translationKey:"walletModal.desktopUniversalModal.connectYourWallet",children:"Connect your wallet"}),qt(vu,{translationKey:"walletModal.desktopUniversalModal.scan",children:"Scan with your mobile wallet"}),qt(bu,{get sourceUrl(){return mc(i(),"none")},get disableCopy(){return t()},get imageUrl(){return ta}}),qt(yu,{translationKey:"walletModal.desktopUniversalModal.availableWallets",children:"Available wallets"}),qt(Cu,{get children(){return[qt(Jt,{get each(){return e.walletsList.slice(0,3)},children:t=>(()=>{const n=xu.cloneNode(!0);return mn(n,qt(ra,{wallet:t,onClick:()=>e.onSelect(t)})),n})()}),qt(Xs,{labelLine1:"View all",labelLine2:"wallets",get images(){return e.walletsList.slice(3,7).map((e=>e.imageUrl))},onClick:()=>e.onSelectAllWallets()})]}})]}})},ku=()=>{const{locale:e}=ji()[1];wt((()=>e(Wl.language))),wt((()=>{xr()?ua():(i(null),a("universal"),c(!1))}));const t=Et(Ir),n=Et(ga),[r]=yt((()=>n.getWallets())),[o,i]=gt(null),[s,a]=gt("universal"),[l,c]=gt(!1),u=vt((()=>{if("ready"!==r.state)return null;let e=Dl(r(),Wl.walletsListConfiguration);const t=e.filter(be),n=e.filter((e=>!be(e)));e=(t||[]).concat(n);const o=Wl.preferredWalletAppName,i=e.find((e=>Fl(e,o))),s=e.filter((e=>Fl(e,o))).length>=2;o&&i&&!s&&(e=[__spreadProps(__spreadValues({},i),{isPreferred:!0})].concat(e.filter((e=>!Fl(e,o)))));const a=e.find((e=>Fl(e,ea)));return a&&(e=[a].concat(e.filter((e=>!Fl(e,ea))))),e})),d=()=>{var e;return"loading"===(null==(e=Wl.connectRequestParameters)?void 0:e.state)},h=vt((()=>{var e;if(!d())return null==(e=Wl.connectRequestParameters)?void 0:e.value})),p=e=>{n.closeModal(e)},g=t.onStatusChange((e=>{e&&p("wallet-selected")})),f=()=>{a("all-wallets")},m=()=>{a("universal")},w=()=>{i(null)};return _t((()=>{i(null),c(!1)})),_t(g),qt($l,{get opened(){return xr()},get enableAndroidBackHandler(){return Wl.enableAndroidBackHandler},onClose:()=>p("action-cancelled"),onClickQuestion:()=>c((e=>!e)),"data-tc-wallets-modal-container":"true",get children(){return[qt(Xt,{get when(){return l()},get children(){return qt(Ac,{onBackClick:()=>c(!1)})}}),qt(Xt,{get when(){return!l()},get children(){return[qt(Xt,{get when(){return d()||!u()},get children(){return[qt(Il,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),qt(Ul,{get children(){return qt(bs,{size:"m"})}})]}}),qt(Xt,{get when(){return vt((()=>!d()))()&&u()},get children(){return qt(en,{get children(){return[qt(tn,{get when(){return o()},get children(){return qt(Tn,{get component(){return la()?Gc:bc},get wallet(){return o()},get additionalRequest(){return h()},onBackClick:w})}}),qt(tn,{get when(){return"universal"===s()},get children(){return qt(Tn,{get component(){return la()?gu:_u},onSelect:i,get walletsList(){return u()},get additionalRequest(){return h()},onSelectAllWallets:f})}}),qt(tn,{get when(){return"all-wallets"===s()},get children(){return qt(Jl,{get walletsList(){return u()},onBack:m,onSelect:i})}})]}})}})]}})]}})},Su=qn.div`
1038
1037
  display: flex;
1039
1038
  flex-direction: column;
1040
1039
  align-items: center;
1041
1040
  padding-bottom: 8px;
1042
- `,Eu=qn(ts)`
1041
+ `,Eu=qn(ns)`
1043
1042
  margin-top: 16px;
1044
1043
  `,Ru=qn(Di)`
1045
1044
  font-weight: 510;
@@ -1052,10 +1051,10 @@ var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnP
1052
1051
  `,Tu=qn(jo)`
1053
1052
  min-width: 112px;
1054
1053
  margin-top: 32px;
1055
- `,Lu=qn(ys)`
1054
+ `,Lu=qn(bs)`
1056
1055
  height: 16px;
1057
1056
  width: 16px;
1058
1057
  `,Au=qn(jo)`
1059
1058
  margin-top: 32px;
1060
- `,Ou=e=>{const t=Wo(e),n=Et(pa),[r,o]=gt(!0),[i,s]=gt(!1);let a,l;wt((()=>{const e=Or();s(!!e&&"sent"in e&&e.sent)})),(null==n?void 0:n.wallet)&&"universalLink"in n.wallet&&("universal-link"===n.wallet.openMethod||te(n.wallet.universalLink)&&_o())&&(a=n.wallet.universalLink),(null==n?void 0:n.wallet)&&"deepLink"in n.wallet&&("custom-deeplink"===n.wallet.openMethod||te(n.wallet.deepLink)&&_o())&&(l=n.wallet.deepLink);const c=()=>{const e=Or(),t="returnStrategy"in e?e.returnStrategy:Ul.returnStrategy,n=!r();o(!1),te(a)?mc(a,{returnStrategy:t,twaReturnUrl:"twaReturnUrl"in e?e.twaReturnUrl:Ul.twaReturnUrl,forceRedirect:n}):wc(a,l,{returnStrategy:t,forceRedirect:n},(()=>{}))};return qt(Su,Yt(t,{get children(){return[vt((()=>e.icon)),qt(Eu,{get translationKey(){return e.headerTranslationKey},get translationValues(){return e.headerTranslationValues}}),qt(Ru,{get translationKey(){return e.textTranslationKey},get translationValues(){return e.textTranslationValues}}),qt(Xt,{get when(){return!i()&&("open-wallet"===e.showButton&&a||"open-wallet"!==e.showButton)},get children(){return qt(Tu,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return qt(Lu,{})}})}}),qt(Xt,{get when(){return i()},get children(){return[qt(Xt,{get when(){return"open-wallet"!==e.showButton},get children(){return qt(Au,{onClick:()=>e.onClose(),get children(){return qt(gc,{translationKey:"common.close",children:"Close"})}})}}),qt(Xt,{get when(){return"open-wallet"===e.showButton&&a},get children(){return qt(Au,{onClick:c,get children(){return qt(gc,{translationKey:"common.openWallet",children:"Open wallet"})}})}})]}})]}}))},Mu=e=>{const t=Et(pa),[n]=ji();return qt(Ou,{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 qt(ys,{size:"m"})},onClose:()=>e.onClose(),showButton:"open-wallet","data-tc-confirm-modal":"true"})},Nu=e=>qt(Ou,{headerTranslationKey:"actionModal.transactionCanceled.header",textTranslationKey:"actionModal.transactionCanceled.text",get icon(){return qt(fs,{size:"m"})},onClose:()=>e.onClose(),"data-tc-transaction-canceled-modal":"true"}),Pu=e=>qt(Ou,{headerTranslationKey:"actionModal.transactionSent.header",textTranslationKey:"actionModal.transactionSent.text",get icon(){return qt(ds,{size:"m"})},onClose:()=>e.onClose(),"data-tc-transaction-sent-modal":"true"}),$u=()=>qt(mi,{get opened(){var e;return vt((()=>null!==Or()))()&&!0===(null==(e=Or())?void 0:e.openModal)},get enableAndroidBackHandler(){return Ul.enableAndroidBackHandler},onClose:()=>Mr(null),"data-tc-actions-modal-container":"true",get children(){return qt(en,{get children(){return[qt(tn,{get when(){return"transaction-sent"===Or().name},get children(){return qt(Pu,{onClose:()=>Mr(null)})}}),qt(tn,{get when(){return"transaction-canceled"===Or().name},get children(){return qt(Nu,{onClose:()=>Mr(null)})}}),qt(tn,{get when(){return"confirm-transaction"===Or().name},get children(){return qt(Mu,{onClose:()=>Mr(null)})}})]}})}}),Iu=()=>{const{locale:e}=ji()[1];wt((()=>e(Ul.language))),wt((()=>{Sr()&&ca()}));const t=Et(Ir),n=Et(pa),[r,o]=gt(!1),i=()=>{var e;return"loading"===(null==(e=Ul.connectRequestParameters)?void 0:e.state)},s=vt((()=>{var e;if(!i())return null==(e=Ul.connectRequestParameters)?void 0:e.value})),a=e=>{n.closeSingleWalletModal(e)};return _t(t.onStatusChange((e=>{e&&a("wallet-selected")}))),_t((()=>{o(!1)})),qt(Pl,{get opened(){return Sr()},get enableAndroidBackHandler(){return Ul.enableAndroidBackHandler},onClose:()=>a("action-cancelled"),onClickQuestion:()=>o((e=>!e)),"data-tc-wallets-modal-container":"true",get children(){return[qt(Xt,{get when(){return r()},get children(){return qt(Lc,{onBackClick:()=>o(!1)})}}),qt(Xt,{get when(){return!r()},get children(){return[qt(Xt,{get when(){return i()},get children(){return[qt($l,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),qt(Il,{get children(){return qt(ys,{size:"m"})}})]}}),qt(Xt,{get when(){return!i()},get children(){return qt(Tn,{get component(){return aa()?Zc:yc},get wallet(){return Er()},get additionalRequest(){return s()},onBackClick:()=>{},backDisabled:!0})}})]}})]}})},Uu=e=>{const t=Ui(Pr,Ul.language);return customElements.define(Zn,class extends HTMLElement{}),document.body.hasAttribute("ontouchstart")||document.body.setAttribute("ontouchstart",""),qt(Wi.Provider,{value:t,get children(){return qt(pa.Provider,{get value(){return e.tonConnectUI},get children(){return qt(Ir.Provider,{get value(){return Ul.connector},get children(){return[qt(Qn,{}),qt(Vn,{theme:ho,get children(){return[qt(Xt,{get when(){return Ul.buttonRootId},get children(){return qt(Rn,{get mount(){return document.getElementById(Ul.buttonRootId)},get children(){return qt(Nl,{})}})}}),qt(Tn,{component:Zn,get children(){return[qt(ku,{}),qt(Iu,{}),qt($u,{})]}})]}})]}})}})}})},Wu=()=>{setTimeout((()=>Cr({status:"opened",closeReason:null})))},ju=e=>{setTimeout((()=>Cr({status:"closed",closeReason:e})))},Bu=e=>{setTimeout((()=>kr({status:"opened",closeReason:null,walletInfo:e})))},Du=e=>{setTimeout((()=>kr({status:"closed",closeReason:e})))},Hu=e=>{setTimeout((()=>Mr(e)))},Vu=()=>{setTimeout((()=>Mr(null)))},Ku=()=>Tr(),Fu=()=>Ar(null),qu=(e,t)=>function(e,t,n,r={}){let o;return pt((r=>{o=r,t===document?e():mn(t,e(),t.firstChild?null:void 0,n)}),r.owner),()=>{o(),t.textContent=""}}((()=>qt(Uu,{tonConnectUI:t})),document.getElementById(e));class zu{constructor(e){__publicField(this,"connector"),__publicField(this,"setConnectRequestParametersCallback"),__publicField(this,"consumers",[]),__publicField(this,"tracker"),__publicField(this,"state",br()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,wt((()=>{const e=br();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(){return __async(this,null,(function*(){this.tracker.trackConnectionStarted();const e=(yield this.connector.getWallets()).find(Ce);return e?this.connectEmbeddedWallet(e):this.openWalletsModal()}))}close(e="action-cancelled"){"action-cancelled"===e&&this.tracker.trackConnectionError("Connection was cancelled"),ju(e)}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{Ar(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=Ul.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openWalletsModal(){return __async(this,null,(function*(){return _o()&&So(),Wu(),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class Zu{constructor(e){__publicField(this,"connector"),__publicField(this,"consumers",[]),this.connector=e.connector,wt((()=>{const e=Or();this.consumers.forEach((t=>t(e)))}))}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}}class Gu{constructor(e){__publicField(this,"connector"),__publicField(this,"setConnectRequestParametersCallback"),__publicField(this,"consumers",[]),__publicField(this,"tracker"),__publicField(this,"state",_r()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,wt((()=>{const e=_r();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(e){return __async(this,null,(function*(){this.tracker.trackConnectionStarted();const t=Bl(yield this.connector.getWallets(),Ul.walletsListConfiguration),n=t.find(Ce);if(!!n)return this.connectEmbeddedWallet(n);const r=t.filter(_e).find((t=>Kl(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 or(o)}))}close(e="action-cancelled"){"action-cancelled"===e&&this.tracker.trackConnectionError("Connection was cancelled"),Du("action-cancelled")}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{Ar(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=Ul.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openSingleWalletModal(e){return __async(this,null,(function*(){return _o()&&So(),Bu(e),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class Yu{constructor(e){var t;__publicField(this,"eventPrefix","ton-connect-ui-"),__publicField(this,"tonConnectUiVersion"),__publicField(this,"tonConnectSdkVersion",null),__publicField(this,"eventDispatcher"),this.eventDispatcher=null!=(t=null==e?void 0:e.eventDispatcher)?t:new Ve,this.tonConnectUiVersion=e.tonConnectUiVersion,this.init().catch()}get version(){return Ae({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return __async(this,null,(function*(){try{yield this.setRequestVersionHandler(),this.tonConnectSdkVersion=yield this.requestTonConnectSdkVersion()}catch(Qu){}}))}setRequestVersionHandler(){return __async(this,null,(function*(){yield this.eventDispatcher.addEventListener("ton-connect-ui-request-version",(()=>__async(this,null,(function*(){yield this.eventDispatcher.dispatchEvent("ton-connect-ui-response-version",Le(this.tonConnectUiVersion))}))))}))}requestTonConnectSdkVersion(){return __async(this,null,(function*(){return new Promise(((e,t)=>__async(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(Qu){t(Qu)}}))))}))}dispatchUserActionEvent(e){var t;try{null==(t=this.eventDispatcher)||t.dispatchEvent(`${this.eventPrefix}${e.type}`,e).catch()}catch(Qu){}}trackConnectionStarted(...e){try{const t=Me(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionCompleted(...e){try{const t=Ne(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionError(...e){try{const t=Pe(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionRestoringStarted(...e){try{const t=$e(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionRestoringCompleted(...e){try{const t=Ie(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionRestoringError(...e){try{const t=Ue(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackDisconnection(...e){try{const t=He(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackTransactionSentForSignature(...e){try{const t=je(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackTransactionSigned(...e){try{const t=Be(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackTransactionSigningFailed(...e){try{const t=De(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}}e.BadRequestError=B,e.BrowserEventDispatcher=Ve,e.FetchWalletsError=K,e.LocalstorageNotFoundError=V,e.ParseHexError=q,e.THEME=Ln,e.TonConnect=Fe,e.TonConnectError=N,e.TonConnectUI=class{constructor(e){if(__publicField(this,"walletInfoStorage",new wr),__publicField(this,"preferredWalletStorage",new vr),__publicField(this,"tracker"),__publicField(this,"walletInfo",null),__publicField(this,"systemThemeChangeUnsubscribe",null),__publicField(this,"actionsConfiguration"),__publicField(this,"walletsList"),__publicField(this,"connectRequestParametersCallback"),__publicField(this,"connector"),__publicField(this,"modal"),__publicField(this,"singleWalletModal"),__publicField(this,"transactionModal"),__publicField(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 or("You have to specify a `manifestUrl` or a `connector` in the options.");this.connector=new Fe({manifestUrl:e.manifestUrl,eventDispatcher:null==e?void 0:e.eventDispatcher})}this.tracker=new Yu({eventDispatcher:null==e?void 0:e.eventDispatcher,tonConnectUiVersion:"2.0.10-beta.2"}),this.modal=new zu({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.singleWalletModal=new Gu({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.transactionModal=new Zu({connector:this.connector}),this.walletsList=this.getWallets(),this.walletsList.then((e=>{return ur((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 __async(this,null,(function*(){return yield new Promise((e=>requestAnimationFrame(e))),e()}))}((()=>__async(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=uo(e,{uiPreferences:{theme:"SYSTEM"}});const n=this.preferredWalletStorage.getPreferredWalletAppName();Wl({connector:this.connector,preferredWalletAppName:n}),qu(t,this)}static getWallets(){return Fe.getWallets()}get connected(){return this.connector.connected}get account(){return this.connector.account}get wallet(){return this.connector.wallet?__spreadValues(__spreadValues({},this.connector.wallet),this.walletInfo):null}set uiOptions(e){var t,n,r,o,i,s,a;this.checkButtonRootExist(e.buttonRootId),this.actionsConfiguration=e.actionsConfiguration,(null==(t=e.uiPreferences)?void 0:t.theme)?"SYSTEM"!==(null==(n=e.uiPreferences)?void 0:n.theme)?(null==(r=this.systemThemeChangeUnsubscribe)||r.call(this),mo(e.uiPreferences.theme,e.uiPreferences.colorsSet)):(mo(window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?Ln.LIGHT:Ln.DARK,e.uiPreferences.colorsSet),this.systemThemeChangeUnsubscribe||(this.systemThemeChangeUnsubscribe=function(e){const t=t=>e(t.matches?Ln.DARK:Ln.LIGHT);return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t),()=>window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",t)}(mo))):(null==(o=e.uiPreferences)?void 0:o.colorsSet)&&(s=e.uiPreferences.colorsSet,fo[Ln.DARK]=uo(s[Ln.DARK],fo[Ln.DARK]),fo[Ln.LIGHT]=uo(s[Ln.LIGHT],fo[Ln.LIGHT]),po((e=>({colors:uo(fo[e.theme],go[e.theme])})))),(null==(i=e.uiPreferences)?void 0:i.borderRadius)&&(a=e.uiPreferences.borderRadius,po({borderRadius:a})),Wl((t=>{var n,r;const o=uo(__spreadValues(__spreadValues(__spreadValues(__spreadValues({},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}),Hr(t));return void 0!==e.buttonRootId&&(o.buttonRootId=e.buttonRootId),void 0!==e.enableAndroidBackHandler&&(o.enableAndroidBackHandler=e.enableAndroidBackHandler),o}))}setConnectRequestParameters(e){var t;Wl({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 __async(this,null,(function*(){return this.connector.getWallets()}))}onStatusChange(e,t){return this.connector.onStatusChange((t=>__async(this,null,(function*(){if(t){const n=yield this.getSelectedWalletInfo(t);e(__spreadValues(__spreadValues({},t),n||this.walletInfoStorage.getWalletInfo()))}else e(t)}))),t)}openModal(){return __async(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 __async(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 __async(this,null,(function*(){const e=(yield this.getWallets()).find(Ce);return e?yield this.connectEmbeddedWallet(e):yield this.connectExternalWallet()}))}disconnect(){return this.tracker.trackDisconnection(this.wallet,"dapp"),Vu(),Fu(),this.walletInfoStorage.removeWalletInfo(),this.connector.disconnect()}sendTransaction(e,t){return __async(this,null,(function*(){if(this.tracker.trackTransactionSentForSignature(this.wallet,e),!this.connected)throw this.tracker.trackTransactionSigningFailed(this.wallet,e,"Wallet was not connected"),new or("Connect wallet to send a transaction.");_o()&&So();const{notifications:n,modals:r,returnStrategy:o,twaReturnUrl:i,skipRedirectToWallet:s}=this.getModalsAndNotificationsConfiguration(t);Hu({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!1});const a=()=>{l.signal.aborted||(Hu({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!0}),this.walletInfo&&"universalLink"in this.walletInfo&&("universal-link"===this.walletInfo.openMethod||"custom-deeplink"===this.walletInfo.openMethod)&&(te(this.walletInfo.universalLink)?mc(this.walletInfo.universalLink,{returnStrategy:o,twaReturnUrl:i||Ul.twaReturnUrl,forceRedirect:!1}):wc(this.walletInfo.universalLink,this.walletInfo.deepLink,{returnStrategy:o,forceRedirect:!1},(()=>{}))))},l=new AbortController,c=this.onTransactionModalStateChange((e=>{(null==e?void 0:e.openModal)||(c(),e||l.abort())}));try{const t=yield this.waitForSendTransaction({transaction:e,signal:l.signal},a);return this.tracker.trackTransactionSigned(this.wallet,e,t),Hu({name:"transaction-sent",showNotification:n.includes("success"),openModal:r.includes("success")}),t}catch(Qu){throw Hu({name:"transaction-canceled",showNotification:n.includes("error"),openModal:r.includes("error")}),Qu instanceof N?Qu:(console.error(Qu),new or("Unhandled error:"+Qu))}finally{c()}}))}connectEmbeddedWallet(e){return __async(this,null,(function*(){const t=t=>{Ar(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=Ul.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 __async(this,null,(function*(){const e=new AbortController;Wu();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 __async(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 or("Wallet was not connected"));const i=e=>__async(this,null,(function*(){if(e)this.tracker.trackConnectionCompleted(e),a(),t(e);else{if(this.tracker.trackConnectionError("Connection was cancelled"),r)return;a(),n(new or("Wallet was not connected"))}})),s=e=>{this.tracker.trackConnectionError(e.message),r||(a(),n(e))},a=this.onStatusChange((e=>i(e)),(e=>s(e)));o&&o.addEventListener("abort",(()=>{a(),n(new or("Wallet was not connected"))}),{once:!0})}))}))}waitForSendTransaction(e,t){return __async(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 or("Transaction was not sent"));const s=e=>__async(this,null,(function*(){n(e)})),a=()=>{this.tracker.trackTransactionSigningFailed(this.wallet,o,"Transaction was cancelled"),r(new or("Transaction was not sent"))};i.addEventListener("abort",a,{once:!0}),this.connector.sendTransaction(o,{onRequestSent:t,signal:i}).then((e=>(i.removeEventListener("abort",a),s(e)))).catch((e=>(i.removeEventListener("abort",a),(e=>{r(e)})(e))))}))}))}onTransactionModalStateChange(e){return this.transactionModal.onStateChange(e)}subscribeToWalletChange(){this.connector.onStatusChange((e=>__async(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),Wl({preferredWalletAppName:e})}getSelectedWalletInfo(e){return __async(this,null,(function*(){let t,n=Ku();if(!n)return null;if("name"in n)t=n;else{const r=Bl(yield this.walletsList,Ul.walletsListConfiguration).find((t=>Kl(t,e.device.appName)));if(!r)throw new or(`Cannot find WalletInfo for the '${e.device.appName}' wallet`);t=__spreadValues(__spreadValues({},r),n)}return t}))}updateWalletInfo(e){return __async(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=>Kl(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 or(`${e} element not found in the document.`)}getModalsAndNotificationsConfiguration(e){var t,n,r,o,i,s;const a=["before","success","error"];let l=a;(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?a:e.notifications);let c=["before"];(null==(r=this.actionsConfiguration)?void 0:r.modals)&&(c="all"===this.actionsConfiguration.modals?a:this.actionsConfiguration.modals),(null==e?void 0:e.modals)&&(c="all"===e.modals?a: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 h=(null==e?void 0:e.skipRedirectToWallet)||(null==(s=this.actionsConfiguration)?void 0:s.skipRedirectToWallet)||"ios";return _o()&&(h="never"),{notifications:l,modals:c,returnStrategy:u,twaReturnUrl:d,skipRedirectToWallet:h}}},e.TonConnectUIError=or,e.UnknownAppError=D,e.UnknownError=z,e.UserRejectsError=j,e.WalletAlreadyConnectedError=U,e.WalletNotConnectedError=W,e.WalletNotInjectedError=H,e.WalletsListManager=Se,e.WrongAddressError=F,e.createConnectionCompletedEvent=Ne,e.createConnectionErrorEvent=Pe,e.createConnectionRestoringCompletedEvent=Ie,e.createConnectionRestoringErrorEvent=Ue,e.createConnectionRestoringStartedEvent=$e,e.createConnectionStartedEvent=Me,e.createDisconnectionEvent=He,e.createRequestVersionEvent=Te,e.createResponseVersionEvent=Le,e.createTransactionSentForSignatureEvent=je,e.createTransactionSignedEvent=Be,e.createTransactionSigningFailedEvent=De,e.createVersionInfo=Ae,e.encodeTelegramUrlParameters=ne,e.isTelegramUrl=te,e.isWalletInfoCurrentlyEmbedded=Ce,e.isWalletInfoCurrentlyInjected=be,e.isWalletInfoInjectable=xe,e.isWalletInfoInjected=function(e){return"jsBridgeKey"in e},e.isWalletInfoRemote=_e,e.toUserFriendlyAddress=Ze,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
1059
+ `,Ou=e=>{const t=Wo(e),n=Et(ga),[r,o]=gt(!0),[i,s]=gt(!1);let a,l;wt((()=>{const e=Or();s(!!e&&"sent"in e&&e.sent)})),(null==n?void 0:n.wallet)&&"universalLink"in n.wallet&&("universal-link"===n.wallet.openMethod||te(n.wallet.universalLink)&&_o())&&(a=n.wallet.universalLink),(null==n?void 0:n.wallet)&&"deepLink"in n.wallet&&("custom-deeplink"===n.wallet.openMethod||te(n.wallet.deepLink)&&_o())&&(l=n.wallet.deepLink);const c=()=>{const e=Or(),t="returnStrategy"in e?e.returnStrategy:Wl.returnStrategy,n=!r();o(!1),te(a)?wc(a,{returnStrategy:t,twaReturnUrl:"twaReturnUrl"in e?e.twaReturnUrl:Wl.twaReturnUrl,forceRedirect:n}):vc(a,l,{returnStrategy:t,forceRedirect:n},(()=>{}))};return qt(Su,Yt(t,{get children(){return[vt((()=>e.icon)),qt(Eu,{get translationKey(){return e.headerTranslationKey},get translationValues(){return e.headerTranslationValues}}),qt(Ru,{get translationKey(){return e.textTranslationKey},get translationValues(){return e.textTranslationValues}}),qt(Xt,{get when(){return!i()&&("open-wallet"===e.showButton&&a||"open-wallet"!==e.showButton)},get children(){return qt(Tu,{disabled:!0,"data-tc-connect-button-loading":"true",get children(){return qt(Lu,{})}})}}),qt(Xt,{get when(){return i()},get children(){return[qt(Xt,{get when(){return"open-wallet"!==e.showButton},get children(){return qt(Au,{onClick:()=>e.onClose(),get children(){return qt(fc,{translationKey:"common.close",children:"Close"})}})}}),qt(Xt,{get when(){return"open-wallet"===e.showButton&&a},get children(){return qt(Au,{onClick:c,get children(){return qt(fc,{translationKey:"common.openWallet",children:"Open wallet"})}})}})]}})]}}))},Mu=e=>{const t=Et(ga),[n]=ji();return qt(Ou,{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 qt(bs,{size:"m"})},onClose:()=>e.onClose(),showButton:"open-wallet","data-tc-confirm-modal":"true"})},Nu=e=>qt(Ou,{headerTranslationKey:"actionModal.transactionCanceled.header",textTranslationKey:"actionModal.transactionCanceled.text",get icon(){return qt(ms,{size:"m"})},onClose:()=>e.onClose(),"data-tc-transaction-canceled-modal":"true"}),Pu=e=>qt(Ou,{headerTranslationKey:"actionModal.transactionSent.header",textTranslationKey:"actionModal.transactionSent.text",get icon(){return qt(hs,{size:"m"})},onClose:()=>e.onClose(),"data-tc-transaction-sent-modal":"true"}),$u=()=>qt(mi,{get opened(){var e;return vt((()=>null!==Or()))()&&!0===(null==(e=Or())?void 0:e.openModal)},get enableAndroidBackHandler(){return Wl.enableAndroidBackHandler},onClose:()=>Mr(null),"data-tc-actions-modal-container":"true",get children(){return qt(en,{get children(){return[qt(tn,{get when(){return"transaction-sent"===Or().name},get children(){return qt(Pu,{onClose:()=>Mr(null)})}}),qt(tn,{get when(){return"transaction-canceled"===Or().name},get children(){return qt(Nu,{onClose:()=>Mr(null)})}}),qt(tn,{get when(){return"confirm-transaction"===Or().name},get children(){return qt(Mu,{onClose:()=>Mr(null)})}})]}})}}),Iu=()=>{const{locale:e}=ji()[1];wt((()=>e(Wl.language))),wt((()=>{Sr()&&ua()}));const t=Et(Ir),n=Et(ga),[r,o]=gt(!1),i=()=>{var e;return"loading"===(null==(e=Wl.connectRequestParameters)?void 0:e.state)},s=vt((()=>{var e;if(!i())return null==(e=Wl.connectRequestParameters)?void 0:e.value})),a=e=>{n.closeSingleWalletModal(e)};return _t(t.onStatusChange((e=>{e&&a("wallet-selected")}))),_t((()=>{o(!1)})),qt($l,{get opened(){return Sr()},get enableAndroidBackHandler(){return Wl.enableAndroidBackHandler},onClose:()=>a("action-cancelled"),onClickQuestion:()=>o((e=>!e)),"data-tc-wallets-modal-container":"true",get children(){return[qt(Xt,{get when(){return r()},get children(){return qt(Ac,{onBackClick:()=>o(!1)})}}),qt(Xt,{get when(){return!r()},get children(){return[qt(Xt,{get when(){return i()},get children(){return[qt(Il,{translationKey:"walletModal.loading",children:"Wallets list is loading"}),qt(Ul,{get children(){return qt(bs,{size:"m"})}})]}}),qt(Xt,{get when(){return!i()},get children(){return qt(Tn,{get component(){return la()?Gc:bc},get wallet(){return Er()},get additionalRequest(){return s()},onBackClick:()=>{},backDisabled:!0})}})]}})]}})},Uu=e=>{const t=Ui(Pr,Wl.language);return customElements.define(Zn,class extends HTMLElement{}),document.body.hasAttribute("ontouchstart")||document.body.setAttribute("ontouchstart",""),qt(Wi.Provider,{value:t,get children(){return qt(ga.Provider,{get value(){return e.tonConnectUI},get children(){return qt(Ir.Provider,{get value(){return Wl.connector},get children(){return[qt(Qn,{}),qt(Vn,{theme:ho,get children(){return[qt(Xt,{get when(){return Wl.buttonRootId},get children(){return qt(Rn,{get mount(){return document.getElementById(Wl.buttonRootId)},get children(){return qt(Pl,{})}})}}),qt(Tn,{component:Zn,get children(){return[qt(ku,{}),qt(Iu,{}),qt($u,{})]}})]}})]}})}})}})},Wu=()=>{setTimeout((()=>Cr({status:"opened",closeReason:null})))},ju=e=>{setTimeout((()=>Cr({status:"closed",closeReason:e})))},Bu=e=>{setTimeout((()=>kr({status:"opened",closeReason:null,walletInfo:e})))},Du=e=>{setTimeout((()=>kr({status:"closed",closeReason:e})))},Hu=e=>{setTimeout((()=>Mr(e)))},Vu=()=>{setTimeout((()=>Mr(null)))},Ku=()=>Tr(),Fu=()=>Ar(null),qu=(e,t)=>function(e,t,n,r={}){let o;return pt((r=>{o=r,t===document?e():mn(t,e(),t.firstChild?null:void 0,n)}),r.owner),()=>{o(),t.textContent=""}}((()=>qt(Uu,{tonConnectUI:t})),document.getElementById(e));class zu{constructor(e){__publicField(this,"connector"),__publicField(this,"setConnectRequestParametersCallback"),__publicField(this,"consumers",[]),__publicField(this,"tracker"),__publicField(this,"state",br()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,wt((()=>{const e=br();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(){return __async(this,null,(function*(){this.tracker.trackConnectionStarted();const e=(yield this.connector.getWallets()).find(Ce);return e?this.connectEmbeddedWallet(e):this.openWalletsModal()}))}close(e="action-cancelled"){"action-cancelled"===e&&this.tracker.trackConnectionError("Connection was cancelled"),ju(e)}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{Ar(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=Wl.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openWalletsModal(){return __async(this,null,(function*(){return _o()&&So(),Wu(),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class Zu{constructor(e){__publicField(this,"connector"),__publicField(this,"consumers",[]),this.connector=e.connector,wt((()=>{const e=Or();this.consumers.forEach((t=>t(e)))}))}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}}class Gu{constructor(e){__publicField(this,"connector"),__publicField(this,"setConnectRequestParametersCallback"),__publicField(this,"consumers",[]),__publicField(this,"tracker"),__publicField(this,"state",_r()),this.connector=e.connector,this.tracker=e.tracker,this.setConnectRequestParametersCallback=e.setConnectRequestParametersCallback,wt((()=>{const e=_r();this.state=e,this.consumers.forEach((t=>t(e)))}))}open(e){return __async(this,null,(function*(){this.tracker.trackConnectionStarted();const t=Dl(yield this.connector.getWallets(),Wl.walletsListConfiguration),n=t.find(Ce);if(!!n)return this.connectEmbeddedWallet(n);const r=t.filter(_e).find((t=>Fl(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 or(o)}))}close(e="action-cancelled"){"action-cancelled"===e&&this.tracker.trackConnectionError("Connection was cancelled"),Du("action-cancelled")}onStateChange(e){return this.consumers.push(e),()=>{this.consumers=this.consumers.filter((t=>t!==e))}}connectEmbeddedWallet(e){const t=t=>{Ar(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=Wl.connectRequestParameters;"loading"===(null==n?void 0:n.state)?this.setConnectRequestParametersCallback(t):t(null==n?void 0:n.value)}openSingleWalletModal(e){return __async(this,null,(function*(){return _o()&&So(),Bu(e),new Promise((e=>{const t=this.onStateChange((n=>{const{status:r}=n;"opened"===r&&(t(),e())}))}))}))}}class Yu{constructor(e){var t;__publicField(this,"eventPrefix","ton-connect-ui-"),__publicField(this,"tonConnectUiVersion"),__publicField(this,"tonConnectSdkVersion",null),__publicField(this,"eventDispatcher"),this.eventDispatcher=null!=(t=null==e?void 0:e.eventDispatcher)?t:new Ve,this.tonConnectUiVersion=e.tonConnectUiVersion,this.init().catch()}get version(){return Ae({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return __async(this,null,(function*(){try{yield this.setRequestVersionHandler(),this.tonConnectSdkVersion=yield this.requestTonConnectSdkVersion()}catch(Qu){}}))}setRequestVersionHandler(){return __async(this,null,(function*(){yield this.eventDispatcher.addEventListener("ton-connect-ui-request-version",(()=>__async(this,null,(function*(){yield this.eventDispatcher.dispatchEvent("ton-connect-ui-response-version",Le(this.tonConnectUiVersion))}))))}))}requestTonConnectSdkVersion(){return __async(this,null,(function*(){return new Promise(((e,t)=>__async(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(Qu){t(Qu)}}))))}))}dispatchUserActionEvent(e){var t;try{null==(t=this.eventDispatcher)||t.dispatchEvent(`${this.eventPrefix}${e.type}`,e).catch()}catch(Qu){}}trackConnectionStarted(...e){try{const t=Me(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionCompleted(...e){try{const t=Ne(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionError(...e){try{const t=Pe(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionRestoringStarted(...e){try{const t=$e(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionRestoringCompleted(...e){try{const t=Ie(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackConnectionRestoringError(...e){try{const t=Ue(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackDisconnection(...e){try{const t=He(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackTransactionSentForSignature(...e){try{const t=je(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackTransactionSigned(...e){try{const t=Be(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}trackTransactionSigningFailed(...e){try{const t=De(this.version,...e);this.dispatchUserActionEvent(t)}catch(Qu){}}}e.BadRequestError=B,e.BrowserEventDispatcher=Ve,e.FetchWalletsError=K,e.LocalstorageNotFoundError=V,e.ParseHexError=q,e.THEME=Ln,e.TonConnect=Fe,e.TonConnectError=N,e.TonConnectUI=class{constructor(e){if(__publicField(this,"walletInfoStorage",new wr),__publicField(this,"preferredWalletStorage",new vr),__publicField(this,"tracker"),__publicField(this,"walletInfo",null),__publicField(this,"systemThemeChangeUnsubscribe",null),__publicField(this,"actionsConfiguration"),__publicField(this,"walletsList"),__publicField(this,"connectRequestParametersCallback"),__publicField(this,"connector"),__publicField(this,"modal"),__publicField(this,"singleWalletModal"),__publicField(this,"transactionModal"),__publicField(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 or("You have to specify a `manifestUrl` or a `connector` in the options.");this.connector=new Fe({manifestUrl:e.manifestUrl,eventDispatcher:null==e?void 0:e.eventDispatcher})}this.tracker=new Yu({eventDispatcher:null==e?void 0:e.eventDispatcher,tonConnectUiVersion:"2.0.10-beta.3"}),this.modal=new zu({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.singleWalletModal=new Gu({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:e=>{this.connectRequestParametersCallback=e}}),this.transactionModal=new Zu({connector:this.connector}),this.walletsList=this.getWallets(),this.walletsList.then((e=>{return ur((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 __async(this,null,(function*(){return yield new Promise((e=>requestAnimationFrame(e))),e()}))}((()=>__async(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=uo(e,{uiPreferences:{theme:"SYSTEM"}});const n=this.preferredWalletStorage.getPreferredWalletAppName();jl({connector:this.connector,preferredWalletAppName:n}),qu(t,this)}static getWallets(){return Fe.getWallets()}get connected(){return this.connector.connected}get account(){return this.connector.account}get wallet(){return this.connector.wallet?__spreadValues(__spreadValues({},this.connector.wallet),this.walletInfo):null}set uiOptions(e){var t,n,r,o,i,s,a;this.checkButtonRootExist(e.buttonRootId),this.actionsConfiguration=e.actionsConfiguration,(null==(t=e.uiPreferences)?void 0:t.theme)?"SYSTEM"!==(null==(n=e.uiPreferences)?void 0:n.theme)?(null==(r=this.systemThemeChangeUnsubscribe)||r.call(this),mo(e.uiPreferences.theme,e.uiPreferences.colorsSet)):(mo(window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches?Ln.LIGHT:Ln.DARK,e.uiPreferences.colorsSet),this.systemThemeChangeUnsubscribe||(this.systemThemeChangeUnsubscribe=function(e){const t=t=>e(t.matches?Ln.DARK:Ln.LIGHT);return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t),()=>window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",t)}(mo))):(null==(o=e.uiPreferences)?void 0:o.colorsSet)&&(s=e.uiPreferences.colorsSet,fo[Ln.DARK]=uo(s[Ln.DARK],fo[Ln.DARK]),fo[Ln.LIGHT]=uo(s[Ln.LIGHT],fo[Ln.LIGHT]),po((e=>({colors:uo(fo[e.theme],go[e.theme])})))),(null==(i=e.uiPreferences)?void 0:i.borderRadius)&&(a=e.uiPreferences.borderRadius,po({borderRadius:a})),jl((t=>{var n,r;const o=uo(__spreadValues(__spreadValues(__spreadValues(__spreadValues({},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}),Hr(t));return void 0!==e.buttonRootId&&(o.buttonRootId=e.buttonRootId),void 0!==e.enableAndroidBackHandler&&(o.enableAndroidBackHandler=e.enableAndroidBackHandler),o}))}setConnectRequestParameters(e){var t;jl({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 __async(this,null,(function*(){return this.connector.getWallets()}))}onStatusChange(e,t){return this.connector.onStatusChange((t=>__async(this,null,(function*(){if(t){const n=yield this.getSelectedWalletInfo(t);e(__spreadValues(__spreadValues({},t),n||this.walletInfoStorage.getWalletInfo()))}else e(t)}))),t)}openModal(){return __async(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 __async(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 __async(this,null,(function*(){const e=(yield this.getWallets()).find(Ce);return e?yield this.connectEmbeddedWallet(e):yield this.connectExternalWallet()}))}disconnect(){return this.tracker.trackDisconnection(this.wallet,"dapp"),Vu(),Fu(),this.walletInfoStorage.removeWalletInfo(),this.connector.disconnect()}sendTransaction(e,t){return __async(this,null,(function*(){if(this.tracker.trackTransactionSentForSignature(this.wallet,e),!this.connected)throw this.tracker.trackTransactionSigningFailed(this.wallet,e,"Wallet was not connected"),new or("Connect wallet to send a transaction.");_o()&&So();const{notifications:n,modals:r,returnStrategy:o,twaReturnUrl:i,skipRedirectToWallet:s}=this.getModalsAndNotificationsConfiguration(t);Hu({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!1});const a=()=>{l.signal.aborted||(Hu({name:"confirm-transaction",showNotification:n.includes("before"),openModal:r.includes("before"),sent:!0}),this.walletInfo&&"universalLink"in this.walletInfo&&("universal-link"===this.walletInfo.openMethod||"custom-deeplink"===this.walletInfo.openMethod)&&(te(this.walletInfo.universalLink)?wc(this.walletInfo.universalLink,{returnStrategy:o,twaReturnUrl:i||Wl.twaReturnUrl,forceRedirect:!1}):vc(this.walletInfo.universalLink,this.walletInfo.deepLink,{returnStrategy:o,forceRedirect:!1},(()=>{}))))},l=new AbortController,c=this.onTransactionModalStateChange((e=>{(null==e?void 0:e.openModal)||(c(),e||l.abort())}));try{const t=yield this.waitForSendTransaction({transaction:e,signal:l.signal},a);return this.tracker.trackTransactionSigned(this.wallet,e,t),Hu({name:"transaction-sent",showNotification:n.includes("success"),openModal:r.includes("success")}),t}catch(Qu){throw Hu({name:"transaction-canceled",showNotification:n.includes("error"),openModal:r.includes("error")}),Qu instanceof N?Qu:(console.error(Qu),new or("Unhandled error:"+Qu))}finally{c()}}))}connectEmbeddedWallet(e){return __async(this,null,(function*(){const t=t=>{Ar(e),this.connector.connect({jsBridgeKey:e.jsBridgeKey},t)},n=Wl.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 __async(this,null,(function*(){const e=new AbortController;Wu();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 __async(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 or("Wallet was not connected"));const i=e=>__async(this,null,(function*(){if(e)this.tracker.trackConnectionCompleted(e),a(),t(e);else{if(this.tracker.trackConnectionError("Connection was cancelled"),r)return;a(),n(new or("Wallet was not connected"))}})),s=e=>{this.tracker.trackConnectionError(e.message),r||(a(),n(e))},a=this.onStatusChange((e=>i(e)),(e=>s(e)));o&&o.addEventListener("abort",(()=>{a(),n(new or("Wallet was not connected"))}),{once:!0})}))}))}waitForSendTransaction(e,t){return __async(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 or("Transaction was not sent"));const s=e=>__async(this,null,(function*(){n(e)})),a=()=>{this.tracker.trackTransactionSigningFailed(this.wallet,o,"Transaction was cancelled"),r(new or("Transaction was not sent"))};i.addEventListener("abort",a,{once:!0}),this.connector.sendTransaction(o,{onRequestSent:t,signal:i}).then((e=>(i.removeEventListener("abort",a),s(e)))).catch((e=>(i.removeEventListener("abort",a),(e=>{r(e)})(e))))}))}))}onTransactionModalStateChange(e){return this.transactionModal.onStateChange(e)}subscribeToWalletChange(){this.connector.onStatusChange((e=>__async(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),jl({preferredWalletAppName:e})}getSelectedWalletInfo(e){return __async(this,null,(function*(){let t,n=Ku();if(!n)return null;if("name"in n)t=n;else{const r=Dl(yield this.walletsList,Wl.walletsListConfiguration).find((t=>Fl(t,e.device.appName)));if(!r)throw new or(`Cannot find WalletInfo for the '${e.device.appName}' wallet`);t=__spreadValues(__spreadValues({},r),n)}return t}))}updateWalletInfo(e){return __async(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=>Fl(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 or(`${e} element not found in the document.`)}getModalsAndNotificationsConfiguration(e){var t,n,r,o,i,s;const a=["before","success","error"];let l=a;(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?a:e.notifications);let c=["before"];(null==(r=this.actionsConfiguration)?void 0:r.modals)&&(c="all"===this.actionsConfiguration.modals?a:this.actionsConfiguration.modals),(null==e?void 0:e.modals)&&(c="all"===e.modals?a: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 h=(null==e?void 0:e.skipRedirectToWallet)||(null==(s=this.actionsConfiguration)?void 0:s.skipRedirectToWallet)||"ios";return _o()&&(h="never"),{notifications:l,modals:c,returnStrategy:u,twaReturnUrl:d,skipRedirectToWallet:h}}},e.TonConnectUIError=or,e.UnknownAppError=D,e.UnknownError=z,e.UserRejectsError=j,e.WalletAlreadyConnectedError=U,e.WalletNotConnectedError=W,e.WalletNotInjectedError=H,e.WalletsListManager=Se,e.WrongAddressError=F,e.createConnectionCompletedEvent=Ne,e.createConnectionErrorEvent=Pe,e.createConnectionRestoringCompletedEvent=Ie,e.createConnectionRestoringErrorEvent=Ue,e.createConnectionRestoringStartedEvent=$e,e.createConnectionStartedEvent=Me,e.createDisconnectionEvent=He,e.createRequestVersionEvent=Te,e.createResponseVersionEvent=Le,e.createTransactionSentForSignatureEvent=je,e.createTransactionSignedEvent=Be,e.createTransactionSigningFailedEvent=De,e.createVersionInfo=Ae,e.encodeTelegramUrlParameters=ne,e.isTelegramUrl=te,e.isWalletInfoCurrentlyEmbedded=Ce,e.isWalletInfoCurrentlyInjected=be,e.isWalletInfoInjectable=xe,e.isWalletInfoInjected=function(e){return"jsBridgeKey"in e},e.isWalletInfoRemote=_e,e.toUserFriendlyAddress=Ze,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
1061
1060
  //# sourceMappingURL=tonconnect-ui.min.js.map