PageSourceSearch

https://superteam.fun/_next/static/chunks/16fq79pc03.z6.js?dpl=dpl_8zyhnuZ5YzqyFBpXFCX7Zxx55PHM

js superteam.fun collected 2026-10-02 16:29:02 UTC 197,851 bytes, 185 lines download raw bytes

vendor: 4,770 bytes, line 1
1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,341219,(e,t,n)=>{!function(e){"use strict";var r="function",i="undefined",a="object",o="string",s="major",l="model",c="name",u="type",d="vendor",p="version",h="architecture",f="console",m="mobile",g="tablet",b="smarttv",w="wearable",y="embedded",v="Amazon",_="Apple",E="ASUS",C="BlackBerry",k="Browser",A="Chrome",S="Firefox",x="Google",T="Honor",I="Huawei",O="Microsoft",P="Motorola",M="Nvidia",D="OnePlus",F="Opera",N="OPPO",W="Samsung",R="Sharp",U="Sony",L="Xiaomi",j="Zebra",B="Facebook",z="Chromium OS",H="Mac OS",$=" Browser",V=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},q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},G=function(e,t){return typeof e===o&&-1!==Y(t).indexOf(Y(e))},Y=function(e){return e.toLowerCase()},K=function(e,t){if(typeof e===o)return e=e.replace(/^\s\s*/,""),typeof t===i?e:e.substring(0,500)},J=function(e,t){for(var n,i,o,s,l,c,u=0;u<t.length&&!l;){var d=t[u],p=t[u+1];for(n=i=0;n<d.length&&!l&&d[n];)if(l=d[n++].exec(e))for(o=0;o<p.length;o++)c=l[++i],typeof(s=p[o])===a&&s.length>0?2===s.length?typeof s[1]==r?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==r||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):void 0:this[s[0]]=c?s[1].call(this,c,s[2]):void 0:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):void 0):this[s]=c||void 0;u+=2}},X=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(G(t[n][r],e))return"?"===n?void 0:n}else if(G(t[n],e))return"?"===n?void 0:n;return t.hasOwnProperty("*")?t["*"]: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"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,F+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[p,[c,F+" GX"]],[/\bopr\/([\w\.]+)/i],[p,[c,F]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[c,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[p,[c,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[c,p],[/quark(?:pc)?\/([-\w\.]+)/i],[p,[c,"Quark"]],[/\bddg\/([\w\.]+)/i],[p,[c,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UC"+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[c,"Smart Lenovo "+k]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+k],p],[/\bfocus\/([\w\.]+)/i],[p,[c,S+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,F+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,F+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI"+$]],[/fxios\/([\w\.-]+)/i],[p,[c,S]],[/\bqihoobrowser\/?([\w\.]*)/i],[p,[c,"360"]],[/\b(qq)\/([\w\.]+)/i],[[c,/(.+)/,"$1Browser"],p],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1"+$],p],[/samsungbrowser\/([\w\.]+)/i],[p,[c,W+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[p,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[c,p],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[c],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[p,c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,B],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/musical_ly(?:.
vendor: 4,237 bytes, line 1
1+app_?version\/|_)([\w\.]+)/i],[p,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,A+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android "+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,X,{"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],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/(wolvic|librewolf)\/([\w\.]+)/i],[c,p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,S+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[c,[p,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[c,[p,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[h,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[h,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[h,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[h,/ower/,"",Y]],[/ sun4\w[;\)]/i],[[h,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[h,Y]]],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],[l,[d,W],[u,g]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,W],[u,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[d,_],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,_],[u,g]],[/(macintosh);/i],[l,[d,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,R],[u,m]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[l,[d,T],[u,g]],[/honor([-\w ]+)[;\)]/i],[l,[d,T],[u,m]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[l,[d,I],[u,g]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[d,I],[u,m]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[l,/_/g," "],[d,L],[u,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[l,/_/g," "],[d,L],[u,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,N],[u,m]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[l,[d,X,{OnePlus:["304","403","203"],"*":N}],[u,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,P],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,P],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,"LG"],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,"LG"],[u,m]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
vendor: 5,512 bytes, line 1
1(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[l,[d,"Lenovo"],[u,g]],[/(nokia) (t[12][01])/i],[d,l,[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[l,/_/g," "],[u,m],[d,"Nokia"]],[/(pixel (c|tablet))\b/i],[l,[d,x],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,x],[u,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],[l,[d,U],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,U],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,D],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,v],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,v],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,C],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,E],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,E],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[l,[d,"TCL"],[u,g]],[/(itel) ((\w+))/i],[[d,Y],l,[u,X,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[d,"Ulefone"],[u,m]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[l,[d,"Energizer"],[u,m]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[l,[d,"Cat"],[u,m]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[l,[d,"Smartfren"],[u,m]],[/droid.+; (a(?:015|06[35]|142p?))/i],[l,[d,"Nothing"],[u,m]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[l,[d,"Archos"],[u,g]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[l,[d,"Archos"],[u,m]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[d,l,[u,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(kobo)\s(ereader|touch)/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],[d,l,[u,g]],[/(surface duo)/i],[l,[d,O],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[l,[d,M],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,O],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,j],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,j],[u,m]],[/smart-tv.+(samsung)/i],[d,[u,b]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,W],[u,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,"LG"],[u,b]],[/(apple) ?tv/i],[d,[l,_+" TV"],[u,b]],[/crkey/i],[[l,A+"cast"],[d,x],[u,b]],[/droid.+aft(\w+)( bui|\))/i],[l,[d,v],[u,b]],[/(shield \w+ tv)/i],[l,[d,M],[u,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[d,R],[u,b]],[/(bravia[\w ]+)( bui|\))/i],[l,[d,U],[u,b]],[/(mi(tv|box)-?\w+) bui/i],[l,[d,L],[u,b]],[/Hbbtv.*(technisat) (.*);/i],[d,l,[u,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,K],[l,K],[u,b]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[l,[u,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,f]],[/droid.+; (shield)( bui|\))/i],[l,[d,M],[u,f]],[/(playstation \w+)/i],[l,[d,U],[u,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,O],[u,f]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[l,[d,W],[u,w]],[/((pebble))app/i,/(asu
vendor: 18,700 bytes, line 1
1s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[d,l,[u,w]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[l,[d,N],[u,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[d,_],[u,w]],[/(opwwe\d{3})/i],[l,[d,D],[u,w]],[/(moto 360)/i],[l,[d,P],[u,w]],[/(smartwatch 3)/i],[l,[d,U],[u,w]],[/(g watch r)/i],[l,[d,"LG"],[u,w]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,j],[u,w]],[/droid.+; (glass) \d/i],[l,[d,x],[u,w]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,l,[u,w]],[/; (quest( \d| pro)?)/i],[l,[d,B],[u,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,y]],[/(aeobc)\b/i],[l,[d,v],[u,y]],[/(homepod).+mac os/i],[l,[d,_],[u,y]],[/windows iot/i],[[u,y]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,m]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[c,p],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,p],[/ladybird\//i],[[c,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[c,[p,X,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,X,Z],[c,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,H],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,c],[/(ubuntu) ([\w\.]+) like android/i],[[c,/(.+)/,"$1 Touch"],p],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[c,p],[/\(bb(10);/i],[p,[c,C]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,S+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[c,A+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,z],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)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"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],[c,p]]},ee=function(t,n){if(typeof t===a&&(n=t,t=void 0),!(this instanceof ee))return new ee(t,n).getResult();var f=typeof e!==i&&e.navigator?e.navigator:void 0,b=t||(f&&f.userAgent?f.userAgent:""),w=f&&f.userAgentData?f.userAgentData:void 0,y=n?V(Q,n):Q,v=f&&f.userAgent==b;return this.getBrowser=function(){var e,t={};return t[c]=void 0,t[p]=void 0,J.call(t,b,y.browser),t[s]=typeof(e=t[p])===o?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,v&&f&&f.brave&&typeof f.brave.isBrave==r&&(t[c]="Brave"),t},this.getCPU=function(){var e={};return e[h]=void 0,J.call(e,b,y.cpu),e},this.getDevice=function(){var e={};return e[d]=void 0,e[l]=void 0,e[u]=void 0,J.call(e,b,y.device),v&&!e[u]&&w&&w.mobile&&(e[u]=m),v&&"Macintosh"==e[l]&&f&&typeof f.standalone!==i&&f.maxTouchPoints&&f.maxTouchPoints>2&&(e[l]="iPad",e[u]=g),e},this.getEngine=function(){var e={};return e[c]=void 0,e[p]=void 0,J.call(e,b,y.engine),e},this.getOS=function(){var e={};return e[c]=void 0,e[p]=void 0,J.call(e,b,y.os),v&&!e[c]&&w&&w.platform&&"Unknown"!=w.platform&&(e[c]=w.platform.replace(/chrome os/i,z).replace(/macos/i,H)),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 b},this.setUA=function(e){return b=typeof e===o&&e.length>500?K(e,500):e,this},this.setUA(b),this};ee.VERSION="1.0.41",ee.BROWSER=q([c,p,s]),ee.CPU=q([h]),ee.DEVICE=q([l,d,u,f,m,b,g,w,y]),ee.ENGINE=ee.OS=q([c,p]),t.exports&&(n=t.exports=ee),n.UAParser=ee;var et=typeof e!==i&&(e.jQuery||e.Zepto);if(et&&!et.ua){var en=new ee;et.ua=en.getResult(),et.ua.get=function(){return en.getUA()},et.ua.set=function(e){en.setUA(e);var t=en.getResult();for(var n in t)et.ua[n]=t[n]}}}("object"==typeof window?window:e.e)},717804,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e.r(650394),i=r&&"object"==typeof r&&"default"in r?r.default:r,a=e.r(341219),o=new a,s=o.getBrowser(),l=o.getCPU(),c=o.getDevice(),u=o.getEngine(),d=o.getOS(),p=o.getUA(),h=function(e){return o.setUA(e)},f=function(e){if(!e)return void console.error("No userAgent string was provided");var t=new a(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}},m=Object.freeze({ClientUAInstance:o,browser:s,cpu:l,device:c,engine:u,os:d,ua:p,setUa:h,parseUserAgent:f});function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function E(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var k="mobile",A="tablet",S="smarttv",x="console",T="wearable",I="embedded",O=void 0,P={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},M={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},D={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},F=function(e){switch(e){case k:return{isMobile:!0};case A:return{isTablet:!0};case S:return{isSmartTV:!0};case x:return{isConsole:!0};case T:return{isWearable:!0};case O:return{isBrowser:!0};case I:return{isEmbedded:!0};default:return D}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},W=function(){return!!("u">typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},R=function(e){var t=W();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},U=function(e){return e.type===k},L=function(e){return e.type===A},j=function(e){var t=e.type;return t===k||t===A},B=function(e){return e.type===S},z=function(e){return e.type===O},H=function(e){return e.type===T},$=function(e){return e.type===x},V=function(e){return e.type===I},q=function(e){return N(e.vendor)},G=function(e){return N(e.model)},Y=function(e){return N(e.type,"browser")},K=function(e){return e.name===M.Android},J=function(e){return e.name===M.Windows},X=function(e){return e.name===M.MAC_OS},Z=function(e){return e.name===M.WindowsPhone},Q=function(e){return e.name===M.IOS},ee=function(e){return N(e.version)},et=function(e){return N(e.name)},en=function(e){return e.name===P.Chrome},er=function(e){return e.name===P.Firefox},ei=function(e){return e.name===P.Chromium},ea=function(e){return e.name===P.Edge},eo=function(e){return e.name===P.Yandex},es=function(e){var t=e.name;return t===P.Safari||t===P.MobileSafari},el=function(e){return e.name===P.MobileSafari},ec=function(e){return e.name===P.Opera},eu=function(e){var t=e.name;return t===P.InternetExplorer||t===P.Ie},ed=function(e){return e.name===P.MIUI},ep=function(e){return e.name===P.SamsungBrowser},eh=function(e){return N(e.version)},ef=function(e){return N(e.major)},em=function(e){return N(e.name)},eg=function(e){return N(e.name)},eb=function(e){return N(e.version)},ew=function(){var e=W(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},ey=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},ev=function(){var e=W();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},e_=function(){return R("iPad")},eE=function(){return R("iPhone")},eC=function(){return R("iPod")},ek=function(e){return N(e)};function eA(e){var t=e||m,n=t.device,r=t.browser,i=t.os,a=t.engine,o=t.ua;return{isSmartTV:B(n),isConsole:$(n),isWearable:H(n),isEmbedded:V(n),isMobileSafari:el(r)||e_(),isChromium:ei(r),isMobile:j(n)||e_(),isMobileOnly:U(n),isTablet:L(n)||e_(),isBrowser:z(n),isDesktop:z(n),isAndroid:K(i),isWinPhone:Z(i),isIOS:Q(i)||e_(),isChrome:en(r),isFirefox:er(r),isSafari:es(r),isOpera:ec(r),isIE:eu(r),osVersion:ee(i),osName:et(i),fullBrowserVersion:eh(r),browserVersion:ef(r),browserName:em(r),mobileVendor:q(n),mobileModel:G(n),engineName:eg(a),engineVersion:eb(a),getUA:ek(o),isEdge:ea(r)||ey(o),isYandex:eo(r),deviceType:Y(n),isIOS13:ev(),isIPad13:e_(),isIPhone13:eE(),isIPod13:eC(),isElectron:ew(),isEdgeChromium:ey(o),isLegacyEdge:ea(r)&&!ey(o),isWindows:J(i),isMacOs:X(i),isMIUI:ed(r),isSamsungBrowser:ep(r)}}var eS=B(c),ex=$(c),eT=H(c),eI=V(c),eO=el(s)||e_(),eP=ei(s),eM=j(c)||e_(),eD=U(c),eF=L(c)||e_(),eN=z(c),eW=z(c),eR=K(d),eU=Z(d),eL=Q(d)||e_(),ej=en(s),eB=er(s),ez=es(s),eH=ec(s),e$=eu(s),eV=ee(d),eq=et(d),eG=eh(s),eY=ef(s),eK=em(s),eJ=q(c),eX=G(c),eZ=eg(u),eQ=eb(u),e0=ek(p),e1=ea(s)||ey(p),e2=eo(s),e3=Y(c),e5=ev(),e4=e_(),e6=eE(),e8=eC(),e9=ew(),e7=ey(p),te=ea(s)&&!ey(p),tt=J(d),tn=X(d),tr=ed(s),ti=ep(s);function ta(e){return f(e||window.navigator.userAgent)}n.AndroidView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eR?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.BrowserTypes=P,n.BrowserView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eN?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.ConsoleView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return ex?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.CustomView=function(e){var t=e.renderWithFragment,n=e.children,a=(e.viewClassName,e.style,e.condition),o=_(e,["renderWithFragment","children","viewClassName","style","condition"]);return a?t?i.createElement(r.Fragment,null,n):i.createElement("div",o,n):null},n.IEView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return e$?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.IOSView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eL?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.MobileOnlyView=function(e){var t=e.renderWithFragment,n=e.children,a=(e.viewClassName,e.style,_(e,["renderWithFragment","children","viewClassName","style"]));return eD?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.MobileView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eM?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.OsTypes=M,n.SmartTVView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eS?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.TabletView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eF?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.WearableView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eT?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.WinPhoneView=function(e){var t=e.renderWithFragment,n=e.children,a=_(e,["renderWithFragment","children"]);return eU?t?i.createElement(r.Fragment,null,n):i.createElement("div",a,n):null},n.browserName=eK,n.browserVersion=eY,n.deviceDetect=function(e){var t,n,r,i,a=e?f(e):m,o=a.device,s=a.browser,l=a.engine,c=a.os,u=a.ua,d=F(o.type),p=d.isBrowser,h=d.isMobile,b=d.isTablet,w=d.isSmartTV,y=d.isConsole,v=d.isWearable,_=d.isEmbedded;if(p)return{isBrowser:p,browserMajorVersion:N(s.major),browserFullVersion:N(s.version),browserName:N(s.name),engineName:N(l.name),engineVersion:N(l.version),osName:N(c.name),osVersion:N(c.version),userAgent:N(u)};if(w)return{isSmartTV:w,engineName:N(l.name),engineVersion:N(l.version),osName:N(c.name),osVersion:N(c.version),userAgent:N(u)};if(y)return{isConsole:y,engineName:N(l.name),engineVersion:N(l.version),osName:N(c.name),osVersion:N(c.version),userAgent:N(u)};if(h||b){return t=d,n=o,r=c,i=u,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){var r,i,a;r=e,i=t,a=n[t],i in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{vendor:N(n.vendor),model:N(n.model),os:N(r.name),osVersion:N(r.version),ua:N(i)})}return v?{isWearable:v,engineName:N(l.name),engineVersion:N(l.version),osName:N(c.name),osVersion:N(c.version),userAgent:N(u)}:_?{isEmbedded:_,vendor:N(o.vendor),model:N(o.model),engineName:N(l.name),engineVersion:N(l.version),osName:N(c.name),osVersion:N(c.version),userAgent:N(u)}:void 0},n.deviceType=e3,n.engineName=eZ,n.engineVersion=eQ,n.fullBrowserVersion=eG,n.getSelectorsByUserAgent=function(e){if(!e||"string"!=typeof e)return void console.error("No valid user agent string was provided");var t=f(e);return eA({device:t.device,browser:t.browser,os:t.os,engine:t.engine,ua:t.ua})},n.getUA=e0,n.isAndroid=eR,n.isBrowser=eN,n.isChrome=ej,n.isChromium=eP,n.isConsole=ex,n.isDesktop=eW,n.isEdge=e1,n.isEdgeChromium=e7,n.isElectron=e9,n.isEmbedded=eI,n.isFirefox=eB,n.isIE=e$,n.isIOS=eL,n.isIOS13=e5,n.isIPad13=e4,n.isIPhone13=e6,n.isIPod13=e8,n.isLegacyEdge=te,n.isMIUI=tr,n.isMacOs=tn,n.isMobile=eM,n.isMobileOnly=eD,n.isMobileSafari=eO,n.isOpera=eH,n.isSafari=ez,n.isSamsungBrowser=ti,n.isSmartTV=eS,n.isTablet=eF,n.isWearable=eT,n.isWinPhone=eU,n.isWindows=tt,n.isYandex=e2,n.mobileModel=eX,n.mobileVendor=eJ,n.osName=eq,n.osVersion=eV,n.parseUserAgent=f,n.setUserAgent=function(e){return h(e)},n.useDeviceData=ta,n.useDeviceSelectors=function(e){var t=ta(e||window.navigator.userAgent);return[eA(t),t]},n.useMobileOrientation=function(){var e,t=function(e){if(Array.isArray(e))return e}(e=r.useState(function(){var e=90*(window.innerWidth>window.innerHeight);return{isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"}}))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],a=!0,o=!1;try{for(r=r.call(e);!(a=(t=r.next()).done)&&(i.push(t.value),2!==i.length);a=!0);}catch(e){o=!0,n=e}finally{try{a||null==r.return||r.return()}finally{if(o)throw n}}return i}}(e)||function(e){if(e){if("string"==typeof e)return C(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return C(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],i=t[1],a=r.useCallback(function(){var e=90*(window.innerWidth>window.innerHeight),t={isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"};n.orientation!==t.orientation&&i(t)},[n.orientation]);return r.useEffect(function(){return("u"<typeof window?"undefined":b(window))!==void 0&&eM&&(a(),window.addEventListener("load",a,!1),window.addEventListener("resize",a,!1)),function(){window.removeEventListener("resize",a,!1),window.removeEventListener("load",a,!1)}},[a]),n},n.withOrientationChange=function(e){return function(t){var n;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function r(e){var t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return(t=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return E(e)}(this,y(r).call(this,e))).isEventListenerAdded=!1,t.handleOrientationChange=t.handleOrientationChange.bind(E(t)),t.onOrientationChange=t.onOr
1ientationChange.bind(E(t)),t.onPageLoad=t.onPageLoad.bind(E(t)),t.state={isLandscape:!1,isPortrait:!1},t}return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),t&&v(r,t),n=[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=90*(window.innerWidth>window.innerHeight);this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){("u"<typeof window?"undefined":b(window))!==void 0&&eM&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return i.createElement(e,w({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(r.prototype,n),r}(i.Component)}},528639,96321,e=>{"use strict";var t,n=e.i(251097);let r=/#/g,i=/&/g,a=/\//g,o=/=/g,s=/\+/g,l=/%5e/gi,c=/%60/gi,u=/%7c/gi,d=/%20/gi;function p(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(u,"|").replace(s,"%2B").replace(d,"+").replace(r,"%23").replace(i,"%26").replace(c,"`").replace(l,"^").replace(a,"%2F")}function h(e){return p(e).replace(o,"%3D")}function f(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let m=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,g=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,b=/^([/\\]\s*){2,}[^/\\]/,w=/\/$|\/\?|\/#/,y=/^\.?\//;function v(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?m.test(e):g.test(e)||!!t.acceptRelative&&b.test(e)}let _=Symbol.for("ufo:protocolRelative");function E(e=""){let[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}class C extends Error{constructor(e,t){super(e,t),this.name="FetchError",t?.cause&&!this.cause&&(this.cause=t.cause)}}let k=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function A(e="GET"){return k.has(e.toUpperCase())}let S=new Set(["image/svg","application/xml","application/xhtml","application/html"]),x=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;async function T(e,t){if(t)if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}let I=new Set([408,409,425,429,500,502,503,504]),O=new Set([101,204,205,304]);e.s(["F",0,C,"c",0,function e(t={}){let{fetch:r=globalThis.fetch,Headers:i=globalThis.Headers,AbortController:a=globalThis.AbortController}=t;async function o(e){let t=e.error&&"AbortError"===e.error.name&&!e.options.timeout||!1;if(!1!==e.options.retry&&!t){let t;t="number"==typeof e.options.retry?e.options.retry:+!A(e.options.method);let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):I.has(n))){let n="function"==typeof e.options.retryDelay?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),l(e.request,{...e.options,retry:t-1})}}let n=function(e){let t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,a=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=new C(`${i}: ${a}${t?` ${t}`:""}`,e.error?{cause:e.error}:void 0);for(let t of["request","options","response"])Object.defineProperty(o,t,{get:()=>e[t]});for(let[t,n]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(o,t,{get:()=>e.response&&e.response[n]});return o}(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,l),n}let l=async function(e,l={}){var c,u,d,m;let g,b,w,C={request:e,options:(c=t.defaults,w=function(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}(l?.headers??e?.headers,c?.headers,i),(c?.query||c?.params||l?.params||l?.query)&&(b={...c?.params,...c?.query,...l?.params,...l?.query}),{...c,...l,query:b,params:b,headers:w}),response:void 0,error:void 0};if(C.options.method&&(C.options.method=C.options.method.toUpperCase()),C.options.onRequest&&(await T(C,C.options.onRequest),C.options.headers instanceof i||(C.options.headers=new i(C.options.headers||{}))),"string"==typeof C.request){if(C.options.baseURL&&(C.request=function(e,t){var n;if(!(n=t)||"/"===n||v(e))return e;let r=function(e=""){return(!function(e=""){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);if(e.startsWith(r)){let t=e[r.length];if(!t||"/"===t||"?"===t)return e}return function(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(y,"");n=function(e=""){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}(r,e)}(C.request,C.options.baseURL)),C.options.query){let e,t,n,r,i,a,o;u=C.request,d=C.options.query,t={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=f(e[1].replace(s," "));if("__proto__"===r||"constructor"===r)continue;let i=f((e[2]||"").replace(s," "));void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}((e=function e(t="",n){let r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){let[,e,t=""]=r;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!v(t,{acceptRelative:!0}))return n?e(n+t):E(t);let[,i="",a,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=o.match(/([^#/?]*)(.*)?/)||[];"file:"===i&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:c,search:u,hash:d}=E(l);return{protocol:i.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:s,pathname:c,search:u,hash:d,[_]:!i}}(u)).search),...d},e.search=Object.keys(t).filter(e=>void 0!==t[e]).map(e=>{var n;return(("number"==typeof(n=t[e])||"boolean"==typeof n)&&(n=String(n)),n)?Array.isArray(n)?n.map(t=>`${h(e)}=${p(t)}`).join("&"):`${h(e)}=${p(n)}`:h(e)}
1).filter(Boolean).join("&"),n=(m=e).pathname||"",r=m.search?(m.search.startsWith("?")?"":"?")+m.search:"",i=m.hash||"",a=m.auth?m.auth+"@":"",o=m.host||"",C.request=(m.protocol||m[_]?(m.protocol||"")+"//":"")+a+o+n+r+i,delete C.options.query}"query"in C.options&&delete C.options.query,"params"in C.options&&delete C.options.params}if(C.options.body&&A(C.options.method))if(function(e){if(void 0===e)return!1;let t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||!(e.buffer||e instanceof FormData||e instanceof URLSearchParams)&&(e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON))}(C.options.body)){let e=C.options.headers.get("content-type");"string"!=typeof C.options.body&&(C.options.body="application/x-www-form-urlencoded"===e?new URLSearchParams(C.options.body).toString():JSON.stringify(C.options.body)),e||C.options.headers.set("content-type","application/json"),C.options.headers.has("accept")||C.options.headers.set("accept","application/json")}else("pipeTo"in C.options.body&&"function"==typeof C.options.body.pipeTo||"function"==typeof C.options.body.pipe)&&!("duplex"in C.options)&&(C.options.duplex="half");if(!C.options.signal&&C.options.timeout){let e=new a;g=setTimeout(()=>{let t=Error("[TimeoutError]: The operation was aborted due to timeout");t.name="TimeoutError",t.code=23,e.abort(t)},C.options.timeout),C.options.signal=e.signal}try{C.response=await r(C.request,C.options)}catch(e){return C.error=e,C.options.onRequestError&&await T(C,C.options.onRequestError),await o(C)}finally{g&&clearTimeout(g)}if((C.response.body||C.response._bodyInit)&&!O.has(C.response.status)&&"HEAD"!==C.options.method){let e=(C.options.parseResponse?"json":C.options.responseType)||function(e=""){if(!e)return"json";let t=e.split(";").shift()||"";return x.test(t)?"json":"text/event-stream"===t?"stream":S.has(t)||t.startsWith("text/")?"text":"blob"}(C.response.headers.get("content-type")||"");switch(e){case"json":{let e=await C.response.text(),t=C.options.parseResponse||n.default;C.response._data=t(e);break}case"stream":C.response._data=C.response.body||C.response._bodyInit;break;default:C.response._data=await C.response[e]()}}return(C.options.onResponse&&await T(C,C.options.onResponse),!C.options.ignoreResponseError&&C.response.status>=400&&C.response.status<600)?(C.options.onResponseError&&await T(C,C.options.onResponseError),await o(C)):C.response},c=async function(e,t){return(await l(e,t))._data};return c.raw=l,c.native=(...e)=>r(...e),c.create=(n={},r={})=>e({...t,...r,defaults:{...t.defaults,...r.defaults,...n}}),c}],96321);var P=e.i(650394);class M extends Error{toString(){return`${this.type}${this.privyErrorCode?`-${this.privyErrorCode}`:""}: ${this.message}${this.cause?` [cause: ${this.cause}]`:""}`}constructor(e,t,n){super(e),t instanceof Error&&(this.cause=t),this.privyErrorCode=n}}class D extends M{constructor(e,t,n,r,i,a){super(n,r,i),this.type=e,this.status=t,this.data=a}}class F extends M{constructor(e,t,n){super(e,t,n),this.type="client_error"}}class N extends M{constructor(e,t,n){super(e,t,n),this.type="connector_error"}}let W=e=>e instanceof M?e:e instanceof Error?new F(e.message,e):new F(`Internal error: ${e}`);var R=((t={}).OAUTH_ACCOUNT_SUSPENDED="oauth_account_suspended",t.MISSING_OR_INVALID_PRIVY_APP_ID="missing_or_invalid_privy_app_id",t.MISSING_OR_INVALID_PRIVY_ACCOUNT_ID="missing_or_invalid_privy_account_id",t.MISSING_OR_INVALID_TOKEN="missing_or_invalid_token",t.INVALID_DATA="invalid_data",t.INVALID_CAPTCHA="invalid_captcha",t.LINKED_TO_ANOTHER_USER="linked_to_another_user",t.CANNOT_LINK_MORE_OF_TYPE="cannot_link_more_of_type",t.FAILED_TO_LINK_ACCOUNT="failed_to_link_account",t.FAILED_TO_UPDATE_ACCOUNT="failed_to_update_account",t.USER_EXITED_UPDATE_FLOW="exited_update_flow",t.ALLOWLIST_REJECTED="allowlist_rejected",t.OAUTH_USER_DENIED="oauth_user_denied",t.OAUTH_UNEXPECTED="oauth_unexpected",t.UNKNOWN_AUTH_ERROR="unknown_auth_error",t.USER_EXITED_AUTH_FLOW="exited_auth_flow",t.USER_EXITED_LINK_FLOW="exited_link_flow",t.USER_EXITED_SET_PASSWORD_FLOW="user_exited_set_password_flow",t.MUST_BE_AUTHENTICATED="must_be_authenticated",t.UNKNOWN_CONNECT_WALLET_ERROR="unknown_connect_wallet_error",t.GENERIC_CONNECT_WALLET_ERROR="generic_connect_wallet_error",t.CLIENT_REQUEST_TIMEOUT="client_request_timeout",t.INVA
1LID_CREDENTIALS="invalid_credentials",t.MISSING_MFA_CREDENTIALS="missing_or_invalid_mfa",t.UNKNOWN_MFA_ERROR="unknown_mfa_error",t.EMBEDDED_WALLET_ALREADY_EXISTS="embedded_wallet_already_exists",t.EMBEDDED_WALLET_NOT_FOUND="embedded_wallet_not_found",t.EMBEDDED_WALLET_CREATE_ERROR="embedded_wallet_create_error",t.UNKNOWN_EMBEDDED_WALLET_ERROR="unknown_embedded_wallet_error",t.EMBEDDED_WALLET_PASSWORD_UNCONFIRMED="embedded_wallet_password_unconfirmed",t.EMBEDDED_WALLET_PASSWORD_ALREADY_EXISTS="embedded_wallet_password_already_exists",t.EMBEDDED_WALLET_RECOVERY_ALREADY_EXISTS="embedded_wallet_recovery_already_exists",t.TRANSACTION_FAILURE="transaction_failure",t.UNSUPPORTED_CHAIN_ID="unsupported_chain_id",t.NOT_SUPPORTED="not_supported",t.CAPTCHA_TIMEOUT="captcha_timeout",t.INVALID_MESSAGE="invalid_message",t.UNABLE_TO_SIGN="unable_to_sign",t.CAPTCHA_FAILURE="captcha_failure",t.CAPTCHA_DISABLED="captcha_disabled",t.SESSION_STORAGE_UNAVAILABLE="session_storage_unavailable",t.TOO_MANY_REQUESTS="too_many_requests",t.USER_LIMIT_REACHED="max_accounts_reached",t.DISALLOWED_LOGIN_METHOD="disallowed_login_method",t.DISALLOWED_PLUS_EMAIL="disallowed_plus_email",t.PASSKEY_NOT_ALLOWED="passkey_not_allowed",t.USER_DOES_NOT_EXIST="user_does_not_exist",t.INSUFFICIENT_BALANCE="insufficient_balance",t.ACCOUNT_TRANSFER_REQUIRED="account_transfer_required",t.BUFFER_NOT_DEFINED="buffer_not_defined",t.UNSUPPORTED_WALLET_TYPE="unsupported_wallet_type",t.NO_SOLANA_ACCOUNTS="no_solana_accounts",t.UNKNOWN_FUNDING_ERROR="unknown_funding_error",t);let U=()=>{throw Error("You need to wrap your application with the <PrivyProvider> initialized with your app id.")},L=(0,P.createContext)({setAuthenticated:U,setUser:U,setIsNewUser:U,isNewUserThisSession:!1,walletConnectionStatus:null,setWalletConnectionStatus:U,connectors:[],rpcConfig:{rpcUrls:{}},showFiatPrices:!0,chains:[],clientAnalyticsId:null,pendingTransaction:null,client:null,privy:null,appId:"notAdded",hideWalletUIs:{current:!1},nativeTokenSymbolForChainId:U,initializeWalletProxy:U,getAuthMeta:U,getAuthFlow:U,closePrivyModal:U,openPrivyModal:U,connectWallet:U,initLoginWithWallet:U,loginWithWallet:U,initLoginWithFarcaster:U,loginWithFarcaster:U,loginWithCode:U,initLoginWithEmail:U,initLoginWithSms:U,initUpdateEmail:U,initUpdatePhone:U,resendEmailCode:U,resendSmsCode:U,initLoginWithHeadlessOAuth:U,loginWithHeadlessOAuth:U,crossAppAuthFlow:U,initLoginWithOAuth:U,loginWithOAuth:U,passkeyAuthState:{status:"initial"},setPasskeyAuthState:U,initSignupWithPasskey:U,signupWithPasskey:U,initLoginWithPasskey:U,loginWithPasskey:U,initLinkWithPasskey:U,linkWithPasskey:U,refreshSessionAndUser:U,walletProxy:null,createAnalyticsEvent:U,acceptTerms:U,getUsdTokenPrice:U,getUsdPriceForSol:U,getSplTokenMetadata:U,recoverEmbeddedWallet:U,updateWallets:U,fundWallet:U,openModal:U,setReadyToTrue:U,requestFarcasterSignerStatus:U,initLoginWithTelegram:U,loginWithTelegram:U,generateSiweMessage:U,generateSiweMessageForSmartWallet:U,loginWithSiwe:U,linkWithSiwe:U,linkSmartWallet:U,delegateWallet:U,revokeDelegatedWallets:U,connectCoinbaseSmartWallet:U,connectBaseAccount:U,initiateAccountTransfer:U,emailOtpState:{status:"initial"},setEmailOtpState:U,smsOtpState:{status:"initial"},setSmsOtpState:U,siweState:{status:"initial"},setSiweState:U,oAuthState:{status:"initial"},setOAuthState:U,telegramAuthState:{status:"initial"},setTelegramAuthState:U,isHeadlessOAuthLoading:!1,isHeadlessSigning:U,inProgressAuthFlowRef:{current:null},inProgressLoginOrLinkMethodRef:{current:null},baseAccountSdk:void 0,setBaseAccountSdk:U});e.s(["I",0,L,"P",0,N,"a",0,F,"b",0,R,"c",0,M,"d",0,()=>{},"e",0,D,"f",0,e=>{if(e instanceof M)return e;if(!(e instanceof C))return W(e);if(!e.response)return new D("api_error",null,e.message,e);let{type:t,message:n,error:r,code:i}=e.data;return new D(t||"ApiError",e.response.status,n||r,e,i,e.data)},"g",0,class extends F{constructor(){super("Method called before `ready`. Ensure you wait until `ready` is true before calling.")}},"h",0,class extends F{constructor(){super("Request timed out",void 0,"client_request_timeout")}},"i",0,W,"j",0,class extends N{constructor(){super("No Solana accounts found in wallet",void 0,"no_solana_accounts")}},"k",0,class extends F{constructor(e){super("This application is in development mode and must be upgraded to production to log in new users.",e,"max_accounts_reached")}},"l",0,e=>()=>{throw Error(e.trim())},"m",0,class extends F{constructor(e="Embedded wallet error",t){super(e,t,"unknown_embedded_wallet_error")}},"n",0,U,"o",0,class extends F{constructor(e="User must be authenticated"){super(e,void 0,"must_be_authenticated")}},"u",0,()=>(0,P.useContext)(L)],528639)},642278,e=>{"use strict";var t=e.i(673953);e.s(["areAddressesEqual",0,(e,n)=>e===n||!(!e.startsWith("0x")||!n.startsWith("0x"))&&42===e.length&&42===n.length&&(0,t.getAddress)(e)===(0,t.getAddress)(n)])},502179,e=>{"use strict";e.s(["addPrivyRpcToChain",0,function(e,t){return{...e,rpcUrls:{...e.rpcUrls,privy:{http:[t]}}}}])},614255,819737,147898,262724,213095,604747,867705,290580,244136,943569,832179,169838,934373,54181,206360,128830,e=>{"use strict";let t={id:42161,name:"Arbitrum One",network:"arbitrum",nativeCurrency:{name:"Ether",symbol
1:"ETH",decimals:18},rpcUrls:{privy:{http:["https://arbitrum-mainnet.rpc.privy.systems"]},alchemy:{http:["https://arb-mainnet.g.alchemy.com/v2"],webSocket:["wss://arb-mainnet.g.alchemy.com/v2"]},infura:{http:["https://arbitrum-mainnet.infura.io/v3"],webSocket:["wss://arbitrum-mainnet.infura.io/ws/v3"]},default:{http:["https://arb1.arbitrum.io/rpc"]},public:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{etherscan:{name:"Arbiscan",url:"https://arbiscan.io"},default:{name:"Arbiscan",url:"https://arbiscan.io"}}};e.s(["arbitrum",0,t],819737);let n={id:421614,name:"Arbitrum Sepolia",network:"arbitrum-sepolia",nativeCurrency:{name:"Arbitrum Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://arbitrum-sepolia.rpc.privy.systems"]},default:{http:["https://sepolia-rollup.arbitrum.io/rpc"]},public:{http:["https://sepolia-rollup.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Blockscout",url:"https://sepolia-explorer.arbitrum.io"}},testnet:!0};e.s(["arbitrumSepolia",0,n],147898);let r={id:43114,name:"Avalanche",network:"avalanche",nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax.network/ext/bc/C/rpc"]},public:{http:["https://api.avax.network/ext/bc/C/rpc"]}},blockExplorers:{etherscan:{name:"SnowTrace",url:"https://snowtrace.io"},default:{name:"SnowTrace",url:"https://snowtrace.io"}}};e.s(["avalanche",0,r],262724);let i={id:43113,name:"Avalanche Fuji",network:"avalanche-fuji",nativeCurrency:{decimals:18,name:"Avalanche Fuji",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax-test.network/ext/bc/C/rpc"]},public:{http:["https://api.avax-test.network/ext/bc/C/rpc"]}},blockExplorers:{etherscan:{name:"SnowTrace",url:"https://testnet.snowtrace.io"},default:{name:"SnowTrace",url:"https://testnet.snowtrace.io"}},testnet:!0};e.s(["avalancheFuji",0,i],213095);let a={id:8453,network:"base",name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://base-mainnet.rpc.privy.systems"]},default:{http:["https://mainnet.base.org"]},public:{http:["https://mainnet.base.org"]}},blockExplorers:{etherscan:{name:"Basescan",url:"https://basescan.org"},default:{name:"Basescan",url:"https://basescan.org"}}};e.s(["base",0,a],604747);let o={id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://base-sepolia.rpc.privy.systems"]},default:{http:["https://sepolia.base.org"]},public:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Blockscout",url:"https://base-sepolia.blockscout.com"}},testnet:!0};e.s(["baseSepolia",0,o],867705);let s={id:42220,name:"Celo Mainnet",network:"celo",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"},rpcUrls:{default:{http:["https://forno.celo.org"]},infura:{http:["https://celo-mainnet.infura.io/v3"]},public:{http:["https://forno.celo.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://explorer.celo.org/mainnet"},etherscan:{name:"CeloScan",url:"https://celoscan.io"}},testnet:!1};e.s(["celo",0,s],290580);let l={id:59144,network:"linea-mainnet",name:"Linea Mainnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.linea.build"],webSocket:["wss://rpc.linea.build"]},public:{http:["https://rpc.linea.build"],webSocket:["wss://rpc.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://lineascan.build"},etherscan:{name:"Etherscan",url:"https://lineascan.build"}},testnet:!1};e.s(["linea",0,l],244136);let c={id:1,network:"homestead",name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://mainnet.rpc.privy.systems"]},alchemy:{http:["https://eth-mainnet.g.alchemy.com/v2"],webSocket:["wss://eth-mainnet.g.alchemy.com/v2"]},infura:{http:["https://mainnet.infura.io/v3"],webSocket:["wss://mainnet.infura.io/ws/v3"]},default:{http:["https://cloudflare-eth.com"]},public:{http:["https://cloudflare-eth.com"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://etherscan.io"},default:{name:"Etherscan",url:"https://etherscan.io"}}};e.s(["mainnet",0,c],943569);let u={id:10,name:"OP Mainnet",network:"optimism",nativeCurrency:{name:"Ether",symbol
1:"ETH",decimals:18},rpcUrls:{privy:{http:["https://optimism-mainnet.rpc.privy.systems"]},alchemy:{http:["https://opt-mainnet.g.alchemy.com/v2"],webSocket:["wss://opt-mainnet.g.alchemy.com/v2"]},infura:{http:["https://optimism-mainnet.infura.io/v3"],webSocket:["wss://optimism-mainnet.infura.io/ws/v3"]},default:{http:["https://mainnet.optimism.io"]},public:{http:["https://mainnet.optimism.io"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://optimistic.etherscan.io"},default:{name:"Optimism Explorer",url:"https://explorer.optimism.io"}}};e.s(["optimism",0,u],832179);let d={id:0xaa37dc,name:"Optimism Sepolia",network:"optimism-sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://optimism-sepolia.rpc.privy.systems"]},default:{http:["https://sepolia.optimism.io"]},public:{http:["https://sepolia.optimism.io"]},infura:{http:["https://optimism-sepolia.infura.io/v3"]}},blockExplorers:{default:{name:"Blockscout",url:"https://optimism-sepolia.blockscout.com"}},testnet:!0};e.s(["optimismSepolia",0,d],169838);let p={id:137,name:"Polygon Mainnet",network:"polygon",nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{privy:{http:["https://polygon-mainnet.rpc.privy.systems"]},alchemy:{http:["https://polygon-mainnet.g.alchemy.com/v2"],webSocket:["wss://polygon-mainnet.g.alchemy.com/v2"]},infura:{http:["https://polygon-mainnet.infura.io/v3"],webSocket:["wss://polygon-mainnet.infura.io/ws/v3"]},default:{http:["https://polygon-rpc.com"]},public:{http:["https://polygon-rpc.com"]}},blockExplorers:{etherscan:{name:"PolygonScan",url:"https://polygonscan.com"},default:{name:"PolygonScan",url:"https://polygonscan.com"}}};e.s(["polygon",0,p],934373);let h={id:80002,name:"Polygon Amoy",network:"polygon-amoy",nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{privy:{http:["https://polygon-amoy.rpc.privy.systems"]},infura:{http:["https://polygon-amoy.infura.io/v3"],webSocket:["wss://polygon-amoy.infura.io/ws/v3"]},default:{http:["https://rpc-amoy.polygon.technology"]}},blockExplorers:{default:{name:"OK LINK",url:"https://www.oklink.com/amoy"}},testnet:!0};e.s(["polygonAmoy",0,h],54181);let f={id:0xaa36a7,network:"sepolia",name:"Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"SEP",decimals:18},rpcUrls:{privy:{http:["https://sepolia.rpc.privy.systems"]},alchemy:{http:["https://eth-sepolia.g.alchemy.com/v2"],webSocket:["wss://eth-sepolia.g.alchemy.com/v2"]},infura:{http:["https://sepolia.infura.io/v3"],webSocket:["wss://sepolia.infura.io/ws/v3"]},default:{http:["https://rpc.sepolia.org"]},public:{http:["https://rpc.sepolia.org"]}},blockExplorers:{etherscan:{name:"Etherscan",url:"https://sepolia.etherscan.io"},default:{name:"Etherscan",url:"https://sepolia.etherscan.io"}},testnet:!0};e.s(["sepolia",0,f],206360);let m={id:7777777,name:"Zora",network:"zora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{privy:{http:["https://zora-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]},public:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.zora.energy"}}};e.s(["zora",0,m],128830);let g=[c,f,{id:17e3,name:"Holesky",network:"holesky",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://ethereum-holesky.publicnode.com"]},public:{http:["https://ethereum-holesky.publicnode.com"]}},blockExplorers:{etherscan:{name:"EtherScan",url:"https://holesky.etherscan.io"},default:{name:"EtherScan",url:"https://holesky.etherscan.io"}}},t,n,u,d,p,h,s,{id:44787,name:"Celo Alfajores Testnet",network:"celo-alfajores",nativeCurrency:{decimals:18,name:"CELO",symbol:"CELO"},rpcUrls:{default:{http:["https://alfajores-forno.celo-testnet.org"]},infura:{http:["https://celo-alfajores.infura.io/v3"]},public:{http:["https://alfajores-forno.celo-testnet.org"]}},blockExplorers:{default:{name:"Celo Explorer",url:"https://explorer.celo.org/alfajores"},etherscan:{name:"CeloScan",url:"https://alfajores.celoscan.io/"}},testnet:!0},{id:314,name:"Filecoin - Mainnet",network:"filecoin-mainnet",nativeCurrency:{decimals:18,name:"filecoin",symbol:"FIL"},rpcUrls:{default:{http:["https://api.node.glif.io/rpc/v1"]},public:{http:["https://api.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filfox",url:"https://filfox.info/en"},filscan:{name:"Filscan",url:"https://filscan.io"},filscout:{name:"Filscout",url:"https://filscout.io/en"},glif:{name:"Glif",url:"https://explorer.glif.io"}}}
1,{id:314159,name:"Filecoin - Calibration testnet",network:"filecoin-calibration",nativeCurrency:{decimals:18,name:"testnet filecoin",symbol:"tFIL"},rpcUrls:{default:{http:["https://api.calibration.node.glif.io/rpc/v1"]},public:{http:["https://api.calibration.node.glif.io/rpc/v1"]}},blockExplorers:{default:{name:"Filscan",url:"https://calibration.filscan.io"}}},a,o,{id:80085,network:"berachain-artio",name:"Berachain Artio",nativeCurrency:{name:"BERA",symbol:"BERA",decimals:18},rpcUrls:{default:{http:["https://berachain-artio.rpc.privy.systems"]},public:{http:["https://berachain-artio.rpc.privy.systems"]}},blockExplorers:{default:{name:"Beratrail",url:"https://artio.beratrail.io"}},testnet:!0},{id:56,network:"bsc",name:"Binance Smart Chain",nativeCurrency:{name:"BNB",symbol:"BNB",decimals:18},rpcUrls:{privy:{http:["https://bsc-mainnet.rpc.privy.systems"]},default:{http:["https://56.rpc.thirdweb.com"]},public:{http:["https://56.rpc.thirdweb.com"]}},blockExplorers:{etherscan:{name:"BscScan",url:"https://bscscan.com"},default:{name:"BscScan",url:"https://bscscan.com"}}},{id:43419,name:"Gunz Mainnet",network:"gunz",nativeCurrency:{name:"GUN",symbol:"GUN",decimals:18},rpcUrls:{privy:{http:["https://gunz-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.gunzchain.io/ext/bc/2M47TxWHGnhNtq6pM5zPXdATBtuqubxn5EPFgFmEawCQr9WFML/rpc"]},public:{http:["https://rpc.gunzchain.io/ext/bc/2M47TxWHGnhNtq6pM5zPXdATBtuqubxn5EPFgFmEawCQr9WFML/rpc"]}},blockExplorers:{default:{name:"Gunz Explorer",url:"https://gunzscan.io"}}},{id:13371,name:"Immutable zkEVM",network:"immutable-zkevm",nativeCurrency:{name:"Immutable Coin",symbol:"IMX",decimals:18},rpcUrls:{privy:{http:["https://immutable-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.immutable.com"]},public:{http:["https://rpc.immutable.com"]}},blockExplorers:{default:{name:"Immutable Explorer",url:"https://explorer.immutable.com"}}},{id:42,network:"lukso",name:"LUKSO",nativeCurrency:{name:"LUKSO",symbol:"LYX",decimals:18},rpcUrls:{default:{http:["https://rpc.mainnet.lukso.network"],webSocket:["wss://ws-rpc.mainnet.lukso.network"]}},blockExplorers:{default:{name:"LUKSO Mainnet Explorer",url:"https://explorer.execution.mainnet.lukso.network"}}},l,{id:59140,network:"linea-testnet",name:"Linea Goerli Testnet",nativeCurrency:{name:"Linea Ether",symbol:"ETH",decimals:18},rpcUrls:{infura:{http:["https://linea-goerli.infura.io/v3"],webSocket:["wss://linea-goerli.infura.io/ws/v3"]},default:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]},public:{http:["https://rpc.goerli.linea.build"],webSocket:["wss://rpc.goerli.linea.build"]}},blockExplorers:{default:{name:"Etherscan",url:"https://goerli.lineascan.build"},etherscan:{name:"Etherscan",url:"https://goerli.lineascan.build"}},testnet:!0},r,i,{id:1868,name:"Soneium Mainnet",network:"soneium",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://soneium-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.soneium.org"]},public:{http:["https://rpc.soneium.org"]}},blockExplorers:{default:{name:"Blockscout",url:"https://soneium.blockscout.com"}}},{id:130,name:"Unichain",network:"unichain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://unichain-mainnet.rpc.privy.systems"]},default:{http:["https://mainnet.unichain.org"]},public:{http:["https://mainnet.unichain.org"]}},blockExplorers:{default:{name:"Uniscan",url:"https://uniscan.xyz"}}},m,{id:999,name:"Zora Goerli Testnet",network:"zora-testnet",nativeCurrency:{decimals:18,name:"Zora Goerli",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.rpc.zora.energy"],webSocket:["wss://testnet.rpc.zora.energy"]},public:{http:["https://testnet.rpc.zora.energy"],webSocket:["wss://testnet.rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://testnet.explorer.zora.energy"}},testnet:!0},{id:0x3b9ac9ff,name:"Zora Sepolia",network:"zora-sepolia",nativeCurrency:{decimals:18,name:"Zora Sepolia",symbol:"ETH"},rpcUrls:{default:{http:["https://sepolia.rpc.zora.energy"],webSocket:["wss://sepolia.rpc.zora.energy"]}
1,public:{http:["https://sepolia.rpc.zora.energy"],webSocket:["wss://sepolia.rpc.zora.energy"]}},blockExplorers:{default:{name:"Zora Sepolia Explorer",url:"https://sepolia.explorer.zora.energy/"}},testnet:!0},{id:690,name:"Redstone",network:"redstone",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.redstonechain.com"]},public:{http:["https://rpc.redstonechain.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.redstone.xyz/"}}},{id:17069,name:"Garnet Holesky",network:"garnet-holesky",nativeCurrency:{name:"ETH",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://rpc.garnetchain.com"]},public:{http:["https://rpc.garnetchain.com"]}},blockExplorers:{default:{name:"Blockscout",url:"https://explorer.garnetchain.com"}}}],b=new Set(g.map(e=>e.id));e.s(["DEFAULT_SUPPORTED_CHAINS",0,g,"DEFAULT_SUPPORTED_CHAIN_IDS",0,b],614255)},451215,e=>{"use strict";var t=e.i(502179),n=e.i(614255);e.s(["dedupeSupportedChains",0,e=>e.map(e=>{if(e.rpcUrls.privyWalletOverride)return e;let r=n.DEFAULT_SUPPORTED_CHAINS.find(t=>t.id===e.id),i=r?.rpcUrls.privy?.http[0];return i?(0,t.addPrivyRpcToChain)(e,i):e})])},929609,93293,e=>{"use strict";var t,n,r,i=e.i(115497),a=e.i(650394),o=e.i(451215),s=e.i(614255),l=e.i(943569);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=/^\s+/,d=/\s+$/;function p(e,t){if(t=t||{},(e=e||"")instanceof p)return e;if(!(this instanceof p))return new p(e,t);var n,r,i,a,o,s,l,h,f,m,g,b,w,y,v,_,E,C,k,A,S=(r={r:0,g:0,b:0},i=1,a=null,o=null,s=null,l=!1,h=!1,"string"==typeof(n=e)&&(n=function(e){e=e.replace(u,"").replace(d,"").toLowerCase();var t,n=!1;if(I[e])e=I[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=U.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=U.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=U.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=U.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=U.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=U.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=U.hex8.exec(e))?{r:F(t[1]),g:F(t[2]),b:F(t[3]),a:F(t[4])/255,format:n?"name":"hex8"}:(t=U.hex6.exec(e))?{r:F(t[1]),g:F(t[2]),b:F(t[3]),format:n?"name":"hex"}:(t=U.hex4.exec(e))?{r:F(t[1]+""+t[1]),g:F(t[2]+""+t[2]),b:F(t[3]+""+t[3]),a:F(t[4]+""+t[4])/255,format:n?"name":"hex8"}:!!(t=U.hex3.exec(e))&&{r:F(t[1]+""+t[1]),g:F(t[2]+""+t[2]),b:F(t[3]+""+t[3]),format:n?"name":"hex"}}(n)),"object"==c(n)&&(L(n.r)&&L(n.g)&&L(n.b)?(f=n.r,m=n.g,g=n.b,r={r:255*M(f,255),g:255*M(m,255),b:255*M(g,255)},l=!0,h="%"===String(n.r).substr(-1)?"prgb":"rgb"):L(n.h)&&L(n.s)&&L(n.v)?(a=W(n.s),o=W(n.v),b=n.h,w=a,y=o,b=6*M(b,360),w=M(w,100),y=M(y,100),v=Math.floor(b),_=b-v,E=y*(1-w),C=y*(1-_*w),k=y*(1-(1-_)*w),r={r:255*[y,C,E,E,k,y][A=v%6],g:255*[k,y,y,C,E,E][A],b:255*[E,E,k,y,y,C][A]},l=!0,h="hsv"):L(n.h)&&L(n.s)&&L(n.l)&&(a=W(n.s),s=W(n.l),r=function(e,t,n){var r,i,a;function o(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=M(e,360),t=M(t,100),n=M(n,100),0===t)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=o(l,s,e+1/3),i=o(l,s,e),a=o(l,s,e-1/3)}return{r:255*r,g:255*i,b:255*a}}(n.h,a,s),l=!0,h="hsl"),n.hasOwnProperty("a")&&(i=n.a)),i=P(i),{ok:l,format:n.format||h,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:i});this._originalInput=e,this._r=S.r,this._g=S.g,this._b=S.b,this._a=S.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||S.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=S.ok}function h(e,t,n){e=M(e,255);var r,i,a=Math.max(e,t=M(t,255),n=M(n,255)),o=Math.min(e,t,n),s=(a+o)/2;if(a==o)r=i=0;else{var l=a-o;switch(i=s>.5?l/(2-a-o):l/(a+o),a){case e:r=(t-n)/l+6*(t<n);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:i,l:s}}function f(e,t,n){e=M(e,255);var r,i=Math.max(e,t=M(t,255),n=M(n,255)),a=Math.min(e,t,n),o=i-a;if(i==a)r=0;else{switch(i){case e:r=(t-n)/o+6*(t<n);break;case t:r=(n-e)/o+2;break;case n:r=(e-t)/o+4}r/=6}return{h:r,s:0===i?0:o/i,v:i}}function m(e,t,n,r){var i=[N(Math.round(e).toString(16)),N(Math.round(t).toString(16)),N(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function g(e,t,n,r){return[N(R(r)),N(Math.round(e).toString(16)),N(Math.round(t).toString(16)),N(Math.round(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s-=t/100,n.s=D(n.s),p(n)}
vendor: 8,670 bytes, line 1
1function w(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s+=t/100,n.s=D(n.s),p(n)}function y(e){return p(e).desaturate(100)}function v(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l+=t/100,n.l=D(n.l),p(n)}function _(e,t){t=0===t?0:t||10;var n=p(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(t/100*255)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(t/100*255)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(t/100*255)))),p(n)}function E(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l-=t/100,n.l=D(n.l),p(n)}function C(e,t){var n=p(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,p(n)}function k(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function A(e,t){if(isNaN(t)||t<=0)throw Error("Argument to polyad must be a positive number");for(var n=p(e).toHsl(),r=[p(e)],i=360/t,a=1;a<t;a++)r.push(p({h:(n.h+a*i)%360,s:n.s,l:n.l}));return r}function S(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+72)%360,s:t.s,l:t.l}),p({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var r=p(e).toHsl(),i=360/n,a=[p(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(p(r));return a}function T(e,t){t=t||6;for(var n=p(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(p({h:r,s:i,v:a})),a=(a+s)%1;return o}p.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*((n=r.b/255)<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){var t,n,r,i,a,o;return t=this._r,n=this._g,r=this._b,i=this._a,a=e,o=[N(Math.round(t).toString(16)),N(Math.round(n).toString(16)),N(Math.round(r).toString(16)),N(R(i))],a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*M(this._r,255))+"%",g:Math.round(100*M(this._g,255))+"%",b:Math.round(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*M(this._r,255))+"%, "+Math.round(100*M(this._g,255))+"%, "+Math.round(100*M(this._b,255))+"%)":"rgba("+Math.round(100*M(this._r,255))+"%, "+Math.round(100*M(this._g,255))+"%, "+Math.round(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(O[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=p(e);n="#"+g(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e)?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return p(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(C,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(A,[3])},tetrad:function(){return this._applyCombination(A,[4])}},p.fromRatio=function(e,t){if("object"==c(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&("a"===r?n[r]=e[r]:n[r]=W(e[r]));e=n}return p(e,t)},p.equals=function(e,t){return!!e&&!!t&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},p.mix=function(e,t,n){n=0===n?0:n||50;var r=p(e).toRgb(),i=p(t).toRgb(),a=n/100;return p({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},p.readability=function(e,t){var n=p(e),r=p(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},p.isReadable=function(e,t,n){var r,i,a,o,s,l=p.readability(e,t);switch(s=!1,(i=((r=(r=n)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),a=(r.size||"small").toLowerCase(),"AA"!==i&&"AAA"!==i&&(i="AA"),"small"!==a&&"large"!==a&&(a="small"),o={level:i,size:a}).level+o.size){case"AAsmall":case"AAAlarge":s=l>=4.5;break;case"AAlarge":s=l>=3;break;case"AAAsmall":s=l>=7}return s},p.mostReadable=function(e,t,n){var r,i,a,o,s=null,l=0;i=(n=n||{}).includeFallbackColors,a=n.level,o=n.size;for(var c=0;c<t.length;c++)(r=p.readability(e,t[c]))>l&&(l=r,s=p(t[c]));return p.isReadable(e,s,{level:a,size:o})||!i?s:(n.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],n))};var I=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},O=p.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(I);function P(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function M(e,t){"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n,r,i="string"==typeof(r=e)&&-1!=r.indexOf("%");return(e=Math.min(t,Math.max(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),1e-6>Math.abs(e-t))?1:e%t/parseFloat(t)}function D(e){return Math.min(1,Math.max(0,e))}function F(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function W(e){return e<=1&&(e=100*e+"%"),e}function R(e){return Math.round(255*parseFloat(e)).toString(16)}var U=(n="[\\s|\\(]+("+(t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",r="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",{CSS_UNIT:new RegExp(t),rgb:RegExp("rgb"+n),rgba:RegExp("rgba"+r),hsl:RegExp("hsl"+n),hsla:RegExp("hsla"+r),hsv:RegExp("hsv"+n),hsva:RegExp("hsva"
1+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function L(e){return!!U.CSS_UNIT.exec(e)}e.s(["default",0,p],93293);let j="Log in or sign up",B="light",z=["detected_ethereum_wallets","detected_solana_wallets","metamask","coinbase_wallet","rainbow","base_account","wallet_connect","phantom"],H=!1,$={moonpay:{useSandbox:!1}},V=new Set(["coinbase_wallet","base_account","cryptocom","metamask","okx_wallet","phantom","rainbow","uniswap","zerion","universal_profile","bybit_wallet","ronin_wallet","haha_wallet","wallet_connect","wallet_connect_qr","wallet_connect_qr_solana","detected_solana_wallets","detected_ethereum_wallets","rabby_wallet","safe","solflare","backpack","jupiter","binance","binanceus","bitget_wallet","kraken_wallet"]),q=e=>V.has(e),G=(e,t,n)=>n.indexOf(e)===t,Y=/paymaster\.biconomy\.io\/api/i,K={mode:"SPONSORED",calculateGasLimits:!0,expiryDuration:300,sponsorshipInfo:{webhookData:{},smartAccountInfo:{name:"BICONOMY",version:"2.0.0"}}};function J(e,t){let n=Math.max(0,Math.min(1,e.toHsl().l+t));return p({...e.toHsl(),l:n})}function X(e,t){let n=e.getLuminance(),r=t.getLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}let Z={background:{default:"#020713",elevated:"#1A2230","default-hover":"#101724","default-clicked":"#1A2230","default-disabled":"#020713",success:"#0E3E2D",warning:"#373827",error:"#2E0C18",interactive:"#8B86FF","error-hover":"#441821","interactive-hover":"#7B73E5","interactive-clicked":"#6560CC","interactive-disabled":"#141824",info:"#1F2937","info-hover":"#141824"},icon:{default:"#F8F8F8",muted:"#9BA2AE",subtle:"#7B8491",inverse:"#020713",success:"#88E3B5",warning:"#FDF27B",error:"#EF4444",interactive:"#88B6FF","default-hover":"#F8F8F8","muted-hover":"#AEB3BD","subtle-hover":"#8B939E","default-clicked":"#F8F8F8","muted-clicked":"#9097A5","subtle-clicked":"#78818E","default-disabled":"#404452","muted-disabled":"#404452","subtle-disabled":"#404452","error-hover":"#F05555","interactive-hover":"#7B73E5","error-clicked":"#
1EF4444","interactive-clicked":"#6560CC"},text:{default:"#F8F8F8",muted:"#9BA2AE",placeholder:"#7B8491",success:"#ACEECB",warning:"#FEF9A0",error:"#FCA5A5",interactive:"#A29EFF","default-disabled":"#404452","interactive-hover":"#8C88E5"},border:{default:"#1F2937",interactive:"#88B0FF",focused:"#F8F8FC",info:"#5B83D3",success:"#317056",warning:"#FBBF24",error:"#F87171","default-hover":"#34304A","interactive-hover":"#88B0FF"}},Q={background:{default:"#FFFFFF",elevated:"#F1F2F9","default-hover":"#F8F9FC","default-clicked":"#F1F2F9","default-disabled":"#FFFFFF",success:"#DCFCE7",warning:"#FEF3C7",error:"#FEE2E2",interactive:"#5B4FFF","error-hover":"#FECACA","interactive-hover":"#4F46E5","interactive-clicked":"#4338CA","interactive-disabled":"#F1F2F9",info:"#E0E7FF","info-hover":"#EEF2FF"},icon:{default:"#110F2A",muted:"#64668B",subtle:"#9498B8",inverse:"#FFFFFF",success:"#33B287",warning:"#F59E0B",error:"#EF4444",interactive:"#564FFF","default-hover":"#1D1B35","muted-hover":"#64668B","subtle-hover":"#888AAE","default-clicked":"#060C23","muted-clicked":"#64668B","subtle-clicked":"#788804","default-disabled":"#CBCDE1","muted-disabled":"#CBCDE1","subtle-disabled":"#CBCDE1","error-hover":"#F06060","interactive-hover":"#4F46E5","error-clicked":"#DC3838","interactive-clicked":"#2BA482"},text:{default:"#040217",muted:"#64668B",placeholder:"#9498B8",success:"#135638",warning:"#906218",error:"#991B1B",interactive:"#5B4FFF","default-disabled":"#CBCDE1","interactive-hover":"#5B4FFF"},border:{default:"#E2E3F0",interactive:"#5B4FFF",focused:"#949DF9",info:"#F1F2F9",success:"#87D7B7",warning:"#FACD63",error:"#F69393","default-hover":"#E2E3F0","interactive-hover":"#5B4FFF"}};function ee(e,t,n,r,i){let a,c,u,d,h,f,m,g,b,w,y,v,_,E,C,k,A,S,x=n?console.warn:()=>{},T=[];if(t?.loginMethods)for(let e of(a=t.loginMethods.includes("email"),c=t.loginMethods.includes("sms"),d=t.loginMethods.includes("wallet"),h=t.loginMethods.includes("google"),f=t.loginMethods.includes("twitter"),m=t.loginMethods.includes("discord"),y=t.loginMethods.includes("spotify"),v=t.loginMethods.includes("instagram"),g=t.loginMethods.includes("tiktok"),b=t.loginMethods.includes("line"),w=t.loginMethods.includes("twitch"),E=t.loginMethods.includes("github"),_=t.loginMethods.includes("linkedin"),C=t.loginMethods.includes("apple"),k=t.loginMethods.includes("farcaster"),A=t.loginMethods.includes("telegram"),u=t.loginMethods.includes("passkey"),t.loginMethods))"string"==typeof e&&e.startsWith("privy:")&&T.push(e);else a=e.email_auth,c=e.sms_auth,d=e.wallet_auth||e.solana_wallet_auth,h=e.google_oauth,f=e.twitter_oauth,m=e.discord_oauth,E=e.github_oauth,y=e.spotify_oauth,v=e.instagram_oauth,g=e.tiktok_oauth,b=e.line_oauth,w=e.twitch_oauth,_=e.linkedin_oauth,C=e.apple_oauth,k=e.farcaster_auth,A=e.telegram_auth,u=e.passkey_auth,S=e.custom_jwt_auth;e.passkey_auth&&(u=!0),"u">typeof window&&"function"!=typeof window.PublicKeyCredential&&(u=!1);let I=[a,c].filter(Boolean),O=[h,f,m,E,y,v,g,b,w,_,C,k,A].filter(Boolean),P=[d].filter(Boolean),M=t?.loginMethods?.includes("passkey")??!1,D=e.passkeys_for_signup_enabled??!1,F=[u&&(D||M)].filter(Boolean),N=[S].filter(Boolean);if(I.length+O.length+P.length+F.length+N.length+T.length===0)throw Error("You must enable at least one login method");let W=void 0!==t?.appearance?.showWalletLoginFirst?t?.appearance?.showWalletLoginFirst:e.show_wallet_login_first;W&&0===P.length?(x("You should only enable `showWalletLoginFirst` when `wallet` logins are also enabled. `showWalletLoginFirst` has been set to false"),W=!1):W||O.length+I.length!==0||(x("You should only disable `showWalletLoginFirst` when `email`, `sms`, or social logins are also enabled. `showWalletLoginFirst` has been set to true"),W=!0);let R=t?.externalWallets?.walletConnect?.enabled??!0;t?.loginMethods&&t.loginMethodsAndOrder&&x("You should only configure one of `loginMethods` or `loginMethodsAndOrder`");let U=(({input:e,overrides:t})=>t?t.primary.concat(t.overflow??[]).filter(q).filter(G):e?e.filter(q).filter(G):z)({input:t?.appearance?.walletList,overrides:t?.loginMethodsAndOrder});if((U.includes("wallet_connect_qr")||U.includes("wallet_connect"))&&U.includes("wallet_connect_qr_solana"))throw Error("wallet_connect_qr and wallet_connect_qr_solana cannot both be present in 
1walletList due to WalletConnect session conflicts.");let L=(({input:e})=>{if(!e||!e.primary[0])return;let t=[e.primary[0]],n=[];for(let n of(e.primary.length>4&&console.warn("You should not specify greater than 4 login methods in `loginMethodsAndOrder.primary`"),e.primary.slice(1)))t.includes(n)?console.warn(`Duplicated login method: ${n}`):t.push(n);for(let r of e.overflow??[])t.includes(r)||n.includes(r)?console.warn(`Duplicated login method: ${r}`):n.push(r);return{primary:t,overflow:n}})({input:t?.loginMethodsAndOrder}),V=t?.intl?.defaultCountry??"US",{chains:ee,defaultChain:et}=function({supportedChains:e,defaultChainFromConfig:t}){let n;if(e){if(0===e.length)throw Error("`supportedChains` must contain at least one chain");n=(0,o.dedupeSupportedChains)(e)}else n=[...s.DEFAULT_SUPPORTED_CHAINS];let r=e?n[0]:l.mainnet,i=t??r;if(!n.find(e=>e.id===i.id))throw Error("`defaultChain` must be included in `supportedChains`");return{chains:n,defaultChain:i}}({supportedChains:t?.supportedChains,defaultChainFromConfig:t?.defaultChain}),en=!!t?.defaultChain,er=t?.customAuth?.getCustomAccessToken&&!1!==t?.customAuth?.enabled,ei=er?"all-users":e.embedded_wallet_config.ethereum.create_on_login,ea=e.embedded_wallet_config.solana.create_on_login;e.solana_wallet_auth&&!t?.externalWallets?.solana?.connectors&&console.warn("App configuration has Solana wallet login enabled, but no Solana wallet connectors have been passed to Privy. Make sure to pass Solana connectors to the `config.externalWallets.solana.connectors` field of the `PrivyProvider`");let eo=e.telegram_auth_config?{botId:e.telegram_auth_config.bot_id,botName:e.telegram_auth_config.bot_name,linkEnabled:e.telegram_auth_config.link_enabled,seamlessAuthEnabled:e.telegram_auth_config.seamless_auth_enabled}:void 0,es=e.funding_config?{methods:e.funding_config.methods,options:e.funding_config.options,defaultRecommendedAmount:e.funding_config.default_recommended_amount,defaultRecommendedCurrency:e.funding_config.default_recommended_currency,promptFundingOnWalletCreation:e.funding_config.prompt_funding_on_wallet_creation,crossChainBridgingEnabled:e.funding_config.cross_chain_bridging_enabled}:void 0,el=e.smart_wallet_config;return{id:e.id,appClientId:i,name:e.name,allowlistConfig:{errorTitle:e.allowlist_config.error_title,errorDetail:e.allowlist_config.error_detail,errorCtaText:e.allowlist_config.cta_text,errorCtaLink:e.allowlist_config.cta_link},legacyWalletUiConfig:e.legacy_wallet_ui_config,appearance:{logo:t?.appearance?.logo??e.logo_url??void 0,landingHeader:t?.appearance?.landingHeader??j,loginMessage:"string"==typeof t?.appearance?.loginMessage?t?.appearance?.loginMessage.slice(0,100):t?.appearance?.loginMessage,footerLogo:t?.appearance?.footerLogo,palette:function({backgroundTheme:e,accentHex:t}){let n,r,i,a,o,s,l;"light"===e?n=!1:"dark"===e?n=!0:(n=.5>=p(e).getLuminance(),r=p(e).toHslString());let c=n?"dark":"light",u=n?Z:Q,{accent:d,accentLight:h,accentHover:f,accentDark:m,accentDarkest:g}=function(e,t){if(!e){let e=t?Z:Q;return{accent:p(e.background.interactive),accentLight:p(e.background.interactive),accentHover:p(e.background["interactive-hover"]),accentDark:p(e.background["interactive-clicked"]),accentDarkest:p(e.background["interactive-disabled"])}}let n=p(e);return{accent:n,accentLight:J(n,.15),accentHover:J(n,.3),accentDark:J(n,-.06),accentDarkest:J(n,-.6)}}(t,n),b=(i=p(Q.text.default),a=p(Z.text.default),o=X(d,i),s=X(d,a),(l=d.toHsl()).h>=220&&l.h<=300&&s>=3?Z.text.default:o>s?Q.text.default:Z.text.default),w=p(b),y=X(d,p(u.background.default))>=3;return{colorScheme:c,background:r||u.background.default,background2:u.background.elevated,background3:u.background.interactive,foreground:u.text.default,foreground2:u.text.muted,foreground3:u.text.placeholder,foreground4:u.border.default,accent:d.toHslString(),accentLight:h.toHslString(),accentHover:f.toHslString(),accentDark:m.toHslString(),accentDarkest:g.toHslString(),foregroundAccent:w.toHslString(),success:u.background.success,successDark:u.text.success,successLight:u.background.success,error:u.text.error,errorLight:u.background.error,warn:u.background.warning,warnLight:u.background.warning,warningDark:u.text.warning,errorDark:u.text.error,successBg:u.background.success,errorBg:u.background.error,errorBgHover:u.background["error-hover"],warnBg:u.background.warning,infoBg:u.background.info,infoBgHover:u.background["info-hover"],borderDefault:u.border.default,borderHover:u.border["default-hover"],borderFocus:u.border.focused,borderError:u.border.error,borderSuccess:u.border.success,borderWarning:u.border.warning,borderInfo:u.border.info,borderInteractive:u.border.interactive,borderInteractiveHover:u.border["interactive-hover"],backgroundHover:u.background["default-hover"],backgroundClicked:u.background["default-clicked"],backgroundDisabled:u.background["default-disabled"],backgroundInteractive:u.background.interactive,backgroundInteractiveHover:u.background["interactive-hover"],backgroundInteractiveClicked:u.background["interactive-clicked"],backgroundInteractiveDisabled:u.background["interactive-disabled"],foregroundHover:u.text.default,foregroundClicked:u.text.default,foregroundDisabled:u.text["default-disabled"],foregroundInteractive:u.text.interactive,foregroundInteractiveHover:u.text["interactive-hover"],accentHasGoodContrast:y?"1":"0",linkNavigationColor:y?d.toHslString():u.text.default,linkNavigationDecoration:y?"none":"underline",iconDefault:u.icon.default,iconMuted:u.icon.muted,iconSubtle:u.icon.subtle,iconInverse:u.icon.inverse,iconSuccess:u.icon.success,iconWarning:u.icon.warning,iconError:u.icon.error,iconInteractive:u.icon.interactive,iconDefaultHover:u.icon["default-hover"],iconMutedHover:u.icon["muted-hover"],iconSubtleHover:u.icon["subtle-hover"],iconDefaultClicked:u.icon["default-clicked"],iconMutedClicked:u.icon["muted-clicked"],iconSubtleClicked:u.icon["subtle-clicked"],iconDefaultDisabled:u.icon["default-disabled"],iconMutedDisabled:u.icon["muted-disabled"],iconSubtleDisabled:u.icon["subtle-disabled"],iconErrorHover:u.icon["error-hover"],iconInteractiveHover:u.icon["interactive-hover"],iconErrorClicked:u.icon["error-clicked"],iconInteractiveClicked:u.icon["interactive-clicked"],iconMutedDisabledAlt:u.icon["muted-disabled"],iconSubtleDisabledAlt:u.icon["subtle-disabled"]}}({backgroundTheme:t?.appearance?.theme??B,accentHex:t?.appearance?.accentColor??e.accent_color}),loginGroupPriority:W?"web3-first":"web2-first",hideDirectWeb2Inputs:!!t?.appearance?.hideDirectWeb2Inputs,walletList:U,walletChainType:t?.appearance?.walletChainType??(({evmWalletAuth:e,solanaWalletAuth:t})=>e&&t?"ethereum-and-solana":e?"ethereum-only":t?"solana-only":"ethereum-only")({evmWalletAuth:e.wallet_auth??!1,solanaWalletAuth:e.solana_wallet_auth??!1})},loginMethods:{wallet:d,email:a,sms:c,passkey:u,google:h,twitter:f,discord:m,github:E,spotify:y,instagram:v,tiktok:g,line:b,twitch:w,linkedin:_,apple:C,farcaster:k,telegram:A},globalDisablePasskeys:t?.globalDisablePasskeys??!1,customOAuthProviders:(e.custom_oauth_providers??[]).filter(e=>!1!==e.enabled),crossAppProviders:T,disablePlusEmails:e.disable_plus_emails,loginMethodsAndOrder:L,legal:{termsAndConditionsUrl:t?.legal?.termsAndConditionsUrl??e.terms_and_conditions_url,privacyPolicyUrl:t?.legal?.privacyPolicyUrl??e.privacy_policy_url,requireUsersAcceptTerms:e.require_users_accept_terms??!1},walletConnectCloudProjectId:t?.walletConnectCloudProjectId??e.wallet_connect_cloud_project_id??"34357d3c125c2bcf2ce2bc3309d98715",rpcConfig:{rpcUrls:{},rpcTimeouts:t?.externalWallets?.signatureRequestTimeouts??{}},chains:ee,defaultChain:et,intl:{defaultCountry:V,textLocalization:t?.intl?.textLocalization},shouldEnforceDefaultChainOnConnect:en,captcha:{enabledProvider:e.enabled_captcha_provider??null,siteKey:e.captcha_site_key}
1,externalWallets:{coinbaseWallet:{config:{appName:e.name,appLogoUrl:e.logo_url,preference:{options:"all",...t?.externalWallets?.coinbaseWallet?.config?.preference},...t?.externalWallets?.coinbaseWallet?.config}},baseAccount:{config:{appName:e.name,appLogoUrl:e.logo_url,...t?.externalWallets?.baseAccount?.config,preference:{...t?.externalWallets?.baseAccount?.config?.preference,telemetry:!1}}},walletConnect:{enabled:R},solana:{connectors:t?.externalWallets?.solana?.connectors},disableAllExternalWallets:t?.externalWallets?.disableAllExternalWallets??!1},embeddedWallets:{requireUserOwnedRecoveryOnCreate:!er&&(e.embedded_wallet_config.require_user_owned_recovery_on_create??!1),userOwnedRecoveryOptions:er?["user-passcode"]:e.embedded_wallet_config.user_owned_recovery_options,priceDisplay:t?.embeddedWallets?.priceDisplay??{primary:"fiat-currency",secondary:"native-token"},ethereum:{createOnLogin:t?.embeddedWallets?.ethereum?.createOnLogin??ei},solana:{createOnLogin:t?.embeddedWallets?.solana?.createOnLogin??ea},disableAutomaticMigration:t?.embeddedWallets?.disableAutomaticMigration??!1,mode:e.embedded_wallet_config.mode,showWalletUIs:t?.embeddedWallets?.showWalletUIs??e.enforce_wallet_uis??!0,extendedCalldataDecoding:t?.embeddedWallets?.extendedCalldataDecoding??!1,transactionScanning:{enabled:t?.embeddedWallets?.transactionScanning?.enabled??!1,domain:t?.embeddedWallets?.transactionScanning?.domain??r??"https://auth.privy.io"}}
1,mfa:{methods:e.mfa_methods??[],noPromptOnMfaRequired:t?.mfa?.noPromptOnMfaRequired??!1},passkeys:{shouldUnlinkOnUnenrollMfa:t?.passkeys?.shouldUnlinkOnUnenrollMfa,shouldUnenrollMfaOnUnlink:t?.passkeys?.shouldUnenrollMfaOnUnlink,registration:t?.passkeys?.registration},customAuth:er?{enabled:!0,...t.customAuth}:void 0,loginConfig:{telegramAuthConfiguration:eo,passkeysForSignupEnabled:e.passkeys_for_signup_enabled},headless:!!t?.headless,render:{standalone:t?._render?.standalone??H},fundingConfig:es,fundingMethodConfig:{...t?.fundingMethodConfig??$,moonpay:{...t?.fundingMethodConfig?.moonpay??$.moonpay,useSandbox:t?.fundingMethodConfig?.moonpay.useSandbox??$.moonpay.useSandbox}},whatsAppEnabled:!!e.whatsapp_enabled,customOAuthRedirectUrl:t?.customOAuthRedirectUrl,allowOAuthInEmbeddedBrowsers:t?.allowOAuthInEmbeddedBrowsers??!1,solanaRpcs:{"solana:mainnet":t?.solana?.rpcs?.["solana:mainnet"]??null,"solana:devnet":t?.solana?.rpcs?.["solana:devnet"]??null,"solana:testnet":t?.solana?.rpcs?.["solana:testnet"]??null},smartWallets:el?.enabled?{enabled:el.enabled,smartWalletVersion:el.smart_wallet_version,smartWalletType:el.smart_wallet_type,configuredNetworks:el.configured_networks.map(e=>{let t,n;return{chainId:e.chain_id,bundlerUrl:e.bundler_url,paymasterUrl:e.paymaster_url,paymasterContext:(t=e.paymaster_url,n=e.paymaster_context,t&&Y.test(t)?K:n&&n.policy_id?{policyId:n.policy_id}:void 0)}})}:{enabled:el?.enabled??!1},connectorsDebugLogs:t?.connectorsDebugLogs??!1}}let et={show_wallet_login_first:!0,allowlist_config:{error_title:null,error_detail:null,cta_text:null,cta_link:null},wallet_auth:!0,email_auth:!0,sms_auth:!1,google_oauth:!1,twitter_oauth:!1,discord_oauth:!1,github_oauth:!1,linkedin_oauth:!1,apple_oauth:!1,disable_plus_emails:!1,terms_and_conditions_url:null,privacy_policy_url:null,embedded_wallet_config:{create_on_login:"off",ethereum:{create_on_login:"off"},solana:{create_on_login:"off"},require_user_owned_recovery_on_create:!1,user_owned_recovery_options:["user-passcode"],mode:"user-controlled-server-wallets-only"},captcha_site_key:"",enforce_wallet_uis:!1,legacy_wallet_ui_config:!1,id:"",name:"",passkeys_for_signup_enabled:!1,whatsapp_enabled:!1},en=(0,a.createContext)({appConfig:ee(et,void 0,!1),isServerConfigLoaded:!1});e.s(["C",0,"privy:token","D",0,"https://auth.privy.io","H",0,"privy:headless_oauth","I",0,"privy:id_token","M",0,"https://api.moonpay.com/v1","O",0,"privy:oauth_disable_signup","P",0,"privy:pat","R",0,"privy:refresh_token","S",0,"privy:state_code","V",0,"3.17.0","W",0,3e4,"a",0,"privy:code_verifier","b",0,"privy:connections","c",0,()=>{let{isServerConfigLoaded:e}=(0,a.useContext)(en);return e},"d",0,"privy:caid","e",0,e=>`privy:cross-app:${e}`,"f",0,"privy-session","g",0,e=>`privy:guest:${e}`,"h",0,"deprecated","i",0,"privy-token","j",0,"privy-refresh-token","k",0,"privy-id-token","l",0,2e4,"m",0,({children:e,client:t,legacyClient:n,clientConfig:r,appClientId:o})=>{let[s,l]=(0,a.useState)(null),c=(0,a.useMemo)(()=>ee(s??et,r,!!s,"u">typeof window?window.location.origin:void 0,o),[s,r,o]);return(0,a.useEffect)(()=>{if(!s)return;let e=function(e){if(!e)return{};let{appearance:t,supportedChains:n,defaultChain:r,externalWallets:i,...a}=e;return{...a,...n?{supportedChains:n.map(e=>e.id)}:void 0,...r?{defaultChain:r.id}:void 0,...i?{walletConnect:i.walletConnect?{enabled:i.walletConnect.enabled}
1:void 0,coinbaseWallet:i.coinbaseWallet,solana:{connectors:i.solana?.connectors?.get().map(e=>e.walletClientType)}}:void 0}}(r),t=(function(e,t=0){let n=0xdeadbeef^t,r=0x41c6ce57^t;for(let t,i=0;i<e.length;i++)n=Math.imul(n^(t=e.charCodeAt(i)),0x9e3779b1),r=Math.imul(r^t,0x5f356495);return n=Math.imul(n^n>>>16,0x85ebca6b)^Math.imul(r^r>>>13,0xc2b2ae35),0x100000000*(2097151&(r=Math.imul(r^r>>>16,0x85ebca6b)^Math.imul(n^n>>>13,0xc2b2ae35)))+(n>>>0)})(JSON.stringify(e)).toString(),i=`privy:sent:${s.id}:${t}`;localStorage.getItem(i)||(n.createAnalyticsEvent({eventName:"sdk_initialize",payload:e}),localStorage.setItem(i,"t"))},[r,s]),(0,a.useEffect)(()=>{s||(async()=>{try{await t.initialize();let e=t.app.getConfig();e.custom_api_url&&n.updateApiUrl(e.custom_api_url),l(e)}catch(e){console.warn("Error generating app config: ",e)}})()},[]),(0,i.jsx)(en.Provider,{value:{appConfig:c,isServerConfigLoaded:!!s},children:e})},"n",0,12e4,"o",0,e=>`privy:wallet:${e}`,"p",0,"0x1","q",0,1400,"r",0,2500,"s",0,1,"t",0,4e3,"u",0,()=>{let{appConfig:e}=(0,a.useContext)(en);return e},"v",0,"https://api.moonpay.com/v1","w",0,"pk_test_fqWjXZMSFwloh7orvJsRfjiUHXJqFzI","x",0,"pk_live_hirbpu0cVcLHrjktC9l7fbc9ctjv0SL"],929609)},915528,e=>{"use strict";var t=e.i(642278),n=e.i(115497),r=e.i(650394),i=e.i(929609),a=e.i(528639);function o(e){return"string"==typeof e&&/^custom:[a-zA-Z0-9_-]+$/i.test(e)}let s=e=>!!e.id&&"privy-v2"===e.recoveryMethod;function l(e){return e?new Date(1e3*e):null}function c(e,t){return e.slice().sort((e,t)=>(e.firstVerifiedAt?.getTime()??0)-(t.firstVerifiedAt?.getTime()??0)).find(e=>e.type===t)}let u=e=>e?d(e).find(e=>0===e.walletIndex)??null:null,d=e=>e?p(e,"ethereum"):[],p=(e,t)=>e.linkedAccounts.filter(e=>"wallet"===e.type&&"privy"===e.walletClientType&&!e.imported&&e.chainType===t),h=e=>e?p(e,"solana"):[],f=e=>e?h(e).find(e=>0===e.walletIndex)??null:null;function m({src:e,...t}){return(0,n.jsx)("img",{src:e,...t,style:{display:"none"}})}let g=(0,r.createContext)({currentScreen:null,lastScreen:null,navigate:a.n,navigateBack:a.n,resetNavigation:a.n,setModalData:a.n,onUserCloseViaDialogOrKeybindRef:void 0}),b=(0,r.createContext)({ready:!1,authenticated:!1,user:null,walletConnectors:null,connectWallet:a.n,login:a.n,connectOrCreateWallet:a.n,linkEmail:a.n,linkPhone:a.n,linkFarcaster:a.n,linkWallet:a.n,startCrossAppAuthFlow:a.n,linkGoogle:a.n,linkTwitter:a.n,linkTwitch:a.n,linkDiscord:a.n,linkGithub:a.n,linkSpotify:a.n,linkInstagram:a.n,linkTelegram:a.n,linkTiktok:a.n,linkLine:a.n,linkLinkedIn:a.n,linkApple:a.n,linkPasskey:a.n,linkOAuth:a.n,updateEmail:a.n,updatePhone:a.n,logout:a.n,getAccessToken:a.n,unlinkEmail:a.n,unlinkPhone:a.n,unlinkWallet:a.n,unlinkGoogle:a.n,unlinkTwitter:a.n,unlinkTwitch:a.n,unlinkDiscord:a.n,unlinkGithub:a.n,unlinkSpotify:a.n,unlinkInstagram:a.n,unlinkTiktok:a.n,unlinkLine:a.n,unlinkLinkedIn:a.n,unlinkApple:a.n,unlinkCrossAppAccount:a.n,unlinkFarcaster:a.n,unlinkTelegram:a.n,unlinkPasskey:a.n,unlinkOAuth:a.n,signMessage:a.n,signTypedData:a.n,enrollInMfa:a.n,initEnrollmentWithSms:a.n,initEnrollmentWithTotp:a.n,initEnrollmentWithPasskey:a.n,promptMfa:a.n,init:a.n,submitEnrollmentWithSms:a.n,submitEnrollmentWithTotp:a.n,submitEnrollmentWithPasskey:a.n,unenroll:a.n,submit:a.n,cancel:a.n,sendTransaction:a.n,signTransaction:a.n,setWalletPassword:a.n,setWalletRecovery:a.n,requestFarcasterSignerFromWarpcast:a.n,getFarcasterSignerPublicKey:a.n,signFarcasterMessage:a.n,signMessageWithCrossAppWallet:a.n,signTypedDataWithCrossAppWallet:a.n,sendTransactionWithCrossAppWallet:a.n,signTransactionWithCrossAppWallet:a.n,isModalOpen:!1,mfaMethods:[]});e.s(["M",0,e=>{let t=(0,i.u)(),[a,o]=(0,r.useState)(e.initialScreen),s=(0,r.useRef)(null);(0,r.useEffect)(()=>{e.open||(s.current=null)},[e.open]),(0,r.useEffect)(()=>{s.current=null},[e.initialScreen]);let l={data:e.data,setModalData:e.setModalData,currentScreen:e.initialScreen,lastScreen:a,navigate:(t,n=!0)=>{e.setInitialScreen(t),n&&o(e.initialScreen)},navigateBack:()=>{e.setInitialScreen(a)},resetNavigation:()=>{e.setInitialScreen(null),o(null)},onUserCloseViaDialogOrKeybindRef:s};return(0,n.jsxs)(g.Provider,{value:l,children:[("string"==typeof t.appearance.logo||"img"===t.appearance.logo?.type)&&(0,n.jsx)(m,{src:"string"==typeof t.appearance.logo?t.appearance.logo:t.a
1ppearance.logo.props.src}),e.children]})},"P",0,b,"a",0,()=>(0,r.useContext)(g),"b",0,s,"c",0,u,"d",0,e=>(e?.linkedAccounts??[]).filter(e=>"wallet"===e.type&&"privy"===e.walletClientType&&e.imported&&"ethereum"===e.chainType),"e",0,f,"f",0,e=>(e?.linkedAccounts??[]).filter(e=>"wallet"===e.type&&e.imported&&"privy"===e.walletClientType&&"solana"===e.chainType),"g",0,e=>{let t=u(e),n=f(e);return t&&n&&!s(n)&&s(t)?n:u(e)??f(e)},"h",0,d,"i",0,o,"j",0,(e,n)=>e?.linkedAccounts.find(e=>"wallet"===e.type&&"privy"===e.walletClientType&&(0,t.areAddressesEqual)(e.address,n))||null,"k",0,(e,n)=>e.find(e=>(0,t.areAddressesEqual)(e.address,n))||null,"l",0,function(e){if(!e)return null;let t=function(e){let t=[];for(let n of e){let e=n.type;switch(n.type){case"wallet":let r={id:n.id,address:n.address,type:n.type,imported:n.imported,delegated:n.delegated,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at),chainType:n.chain_type,walletClientType:n.wallet_client_type,connectorType:n.connector_type,recoveryMethod:n.recovery_method,walletIndex:n.wallet_index,publicKey:n.public_key};t.push(r);break;case"smart_wallet":let i={address:n.address,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at),smartWalletType:n.smart_wallet_type,smartWalletVersion:n.smart_wallet_version};t.push(i);break;case"cross_app":let a={type:n.type,subject:n.subject,embeddedWallets:n.embedded_wallets,smartWallets:n.smart_wallets,providerApp:{id:n.provider_app_id},firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(a);break;case"email":let s={address:n.address,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(s);break;case"phone":let c={number:n.phoneNumber,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(c);break;case"google_oauth":let u={subject:n.subject,email:n.email,name:n.name,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(u);break;case"spotify_oauth":let d={subject:n.subject,email:n.email,name:n.name,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(d);break;case"instagram_oauth":let p={subject:n.subject,username:n.username,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(p);break;case"twitter_oauth":let h={subject:n.subject,username:n.username,name:n.name,type:n.type,profilePictureUrl:n.profile_picture_url,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(h);break;case"discord_oauth":let f={subject:n.subject,username:n.username,email:n.email,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(f);break;case"github_oauth":let m={subject:n.subject,username:n.username,name:n.name,email:n.email,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(m);break;case"tiktok_oauth":let g={subject:n.subject,username:n.username,name:n.name,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(g);break;case"line_oauth":let b={subject:n.subject,name:n.name,email:n.email,profilePictureUrl:n.profile_picture_url,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(b);break;case"twitch_oauth":let w={subject:n.subject,username:n.username,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(w);break;case"linkedin_oauth":let y={subject:n.subject,name:n.name,email:n.email,vanityName:n.vanity_name,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(y);break;case"apple_oauth":let v={subject:n.subject,email:n.email,type:n.type,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(v);break;case"custom_auth":t.push({type:n.type,customUserId:n.custom_user_id,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)});break;case"farcaster":let _={type:n.type,fid:n.fid,ownerAddress:n.owner_address,displayName:n.display_name,username:n.username,bio:n.bio,pfp:n.profile_picture_url,url:n.homepage_url,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at),signerPublicKey:n.signer_public_key};t.push(_);break;case"passkey":let E={type:n.type,enrolledInMfa:n.enrolled_in_mfa,credentialId:n.credential_id,publicKey:n.public_key,authenticatorName:n.authenticator_name,createdWithDevice:n.created_with_device,createdWithOs:n.created_with_os,createdWithBrowser:n.created_with_browser,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(E);break;case"telegram":let C={type:n.type,telegramUserId:n.telegram_user_id,firstName:n.first_name,lastName:n.last_name,username:n.username,photoUrl:n.photo_url,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(C);break;default:if(o(n.type)){let e={type:n.type,subject:n.subject,name:n.name,username:n.username,email:n.email,profilePictureUrl:n.profile_picture_url,firstVerifiedAt:l(n.first_verified_at),latestVerifiedAt:l(n.latest_verified_at)};t.push(e);break}console.warn(`Unrecognized account type: ${e}. Please consider upgrading the Privy SDK.`)}}return t}(e.linked_accounts),n=c(t,"wallet"),r=c(t,"smart_wallet"),i=c(t,"email"),a=c(t,"phone"),s=c(t,"google_oauth"),u=c(t,"twitter_oauth"),d=c(t,"discord_oauth"),p=c(t,"github_oauth"),h=c(t,"spotify_oauth"),f=c(t,"instagram_oauth"),m=c(t,"tiktok_oauth"),g=c(t,"line_oauth"),b=c(t,"twitch_oauth"),w=c(t,"linkedin_oauth"),y=c(t,"apple_oauth"),v=c(t,"farcaster"),_=c(t,"telegram"),E=e.mfa_methods.map(({type:e,verified_at:t})=>({type:e,verifiedAt:l(t)}));return{id:e.id,createdAt:l(e.created_at),linkedAccounts:t,email:i&&{address:i?.address},phone:a&&{number:a?.number},wallet:n&&{id:n.id,address:n.address,chainType:n.chainType,walletClientType:n.walletClientType,connectorType:n.connectorType,recoveryMethod:n.recoveryMethod,imported:n.imported,delegated:n.delegated,walletIndex:n.walletIndex,publicKey:n.publicKey},smartWallet:r&&{address:r.address,smartWalletType:r.smartWalletType,smartWalletVersion:r.smartWalletVersion},google:s&&{subject:s.subject,email:s.email,name:s.name},twitter:u&&{subject:u.subject,username:u.username,name:u.name,profilePictureUrl:u.profilePictureUrl},discord:d&&{subject:d.subject,username:d.username,email:d.email},github:p&&{subject:p.subject,username:p.username,name:p.name,email:p.email},spotify:h&&{subject:h.subject,email:h.email,name:h.name},instagram:f&&{subject:f.subject,username:f.username},tiktok:m&&{subject:m.subject,username:m.username,name:m.name},line:g&&{subject:g.subject,name:g.name,email:g.email,profilePictureUrl:g.profilePictureUrl},twitch:b&&{subject:b.subject,username:b.username},linkedin:w&&{subject:w.subject,name:w.name,email:w.email,vanityName:w.vanityName},apple:y&&{subject:y.subject,email:y.email},farcaster:v&&{fid:v.fid,ownerAddress:v.ownerAddress,displayName:v.displayName,username:v.username,bio:v.bio,pfp:v.pfp,url:v.url,signerPublicKey:v.signerPublicKey},telegram:_&&{telegramUserId:_.telegramUserId,firstName:_.firstName,lastName:_.lastName,username:_.username,photoUrl:_.photoUrl},delegatedWallets:[],mfaMethods:E.map(e=>e.type),hasAcceptedTerms:e.has_accepted_terms??!1,isGuest:e.is_guest,customMetadata:e.custom_metadata}},"n",0,h,"u",0,()=>(0,r.useContext)(b)])},855313,e=>{"use strict";var t=e.i(915528),n=e.i(818687),r=e.i(670381),i=e.i(528639),a=e.i(650394);let o=e=>{if("ethereum"===e.chainType)return{entropyId:e.address,entropyIdVerifier:"ethereum-address-ver
1ifier"};if("solana"===e.chainType)return{entropyId:e.address,entropyIdVerifier:"solana-address-verifier"};throw Error("Failed to get account entropy details")},s=(e,t,n)=>{let r,a=e.id,o=Number(e.id);if(e.rpcUrls.privyWalletOverride&&e.rpcUrls.privyWalletOverride.http[0])r=e.rpcUrls.privyWalletOverride.http[0];else if(t.rpcUrls&&t.rpcUrls[o])r=t.rpcUrls[o];else if(e.rpcUrls.privy?.http[0]){let t=new URL(e.rpcUrls.privy.http[0]);t.searchParams.append("privyAppId",n),r=t.toString()}else r=e.rpcUrls.public?.http[0]?e.rpcUrls.public.http[0]:e.rpcUrls.default?.http[0];if(!r)throw new i.P(`No RPC url found for ${a}`);return r},l=(0,a.createContext)(null);e.s(["U",0,l,"a",0,(e,t,a,o)=>{let l=Number(e),c=t.find(e=>e.id===l);if(!c)throw new i.P(`Unsupported chainId ${e}`,4901);return(0,n.createPublicClient)({transport:(0,r.http)(s(c,a,o.appId)),chain:c})},"b",0,s,"g",0,(e,n)=>{if(n?.imported)return o(n);let r=(0,t.g)(e);if(!r)throw Error("Failed to find primary wallet");return o(r)},"t",0,o,"u",0,function(){let e=(0,a.useContext)(l);return null===e?(console.warn("`useWallets` was called outside the PrivyProvider component"),{wallets:[],ready:!1}):e}])},684766,e=>{"use strict";var t;let n=["error","invalid_request_arguments","wallet_not_on_device","invalid_recovery_pin","insufficient_funds","mfa_timeout","missing_or_invalid_mfa","mfa_verification_max_attempts_reached"];(t={}).MISSING_OR_INVALID_PRIVY_APP_ID="missing_or_invalid_privy_app_id",t.MISSING_OR_INVALID_PRIVY_ACCOUNT_ID="missing_or_invalid_privy_account_id",t.INVALID_DATA="invalid_data",t.LINKED_TO_ANOTHER_USER="linked_to_another_user",t.ALLOWLIST_REJECTED="allowlist_rejected",t.OAUTH_USER_DENIED="oauth_user_denied",t.UNKNOWN_AUTH_ERROR="unknown_auth_error",t.USER_EXITED_AUTH_FLOW="exited_auth_flow",t.MUST_BE_AUTHENTICATED="must_be_authenticated",t.UNKNOWN_CONNECT_WALLET_ERROR="unknown_connect_wallet_error",t.GENERIC_CONNECT_WALLET_ERROR="generic_connect_wallet_error",t.CLIENT_REQUEST_TIMEOUT="client_request_timeout",t.INVALID_CREDENTIALS="invalid_credentials";class r extends Error{toString(){return`${this.type}${this.privyErrorCode?`-${this.privyErrorCode}`:""}: ${this.message}${this.cause?` [cause: ${this.cause}]`:""}`}constructor(e,t,n){super(e),t instanceof Error&&(this.cause=t),this.privyErrorCode=n}}e.s(["EmbeddedProviderError",0,class extends Error{constructor(e,t,n){super(e),this.code=t,this.data=n}},"PrivyConnectorError",0,class extends r{constructor(e,t,n){super(e,t,n),this.type="connector_error"}},"PrivyIframeError",0,class extends Error{constructor(e,t){super(t),this.type=e}},"ProviderErrors",0,{UNKNOWN_ERROR:{eipCode:0,message:"Unknown error",detail:"Unknown error",retryable:!0},E4001_DEFAULT_USER_REJECTED_REQUEST:{eipCode:4001,message:"User Rejected Request",detail:"The user rejected the request.",default:!0,retryable:!0},E4100_DEFAULT_UNAUTHORIZED:{eipCode:4100,message:"Unauthorized",detail:"The requested method and/or account has not been authorized by the user.",default:!0,retryable:!1},E4200_DEFAULT_UNSUPPORTED_METHOD:{eipCode:4200,message:"Unsupported Method",detail:"The Provider does not support the requested method.",default:!0,retryable:!1},E4900_DEFAULT_DISCONNECTED:{eipCode:4900,message:"Disconnected",detail:"The Provider is disconnected from all chains.",default:!0,retryable:!0},E4901_DEFAULT_CHAIN_DISCONNECTED:{eipCode:4901,message:"Chain Disconnected",detail:"The Provider is not connected to the requested chain.",default:!0,retryable:!0},E32700_DEFAULT_PARSE_ERROR:{eipCode:-32700,message:"Parse error",detail:"Invalid JSON",default:!0,retryable:!1},E32600_DEFAULT_INVALID_REQUEST:{eipCode:-32600,message:"Invalid request",detail:"JSON is not a valid request object",default:!0,retryable:!1},E32601_DEFAULT_METHOD_NOT_FOUND:{eipCode:-32601,message:"Method not found",detail:"Method does not exist",default:!0,retryable:!1},E32602_DEFAULT_INVALID_PARAMS:{eipCode:-32602,message:"Invalid params",detail:"Invalid method parameters",default:!0,retryable:!1},E32603_DEFAULT_INTERNAL_ERROR:{eipCode:-32603,message:"Internal error",detail:"Internal JSON-RPC error",default:!0,retryable:!0},E32000_DEFAULT_INVALID_INPUT:{eipCode:-32e3,message:"Invalid input",detail:"Missing or invalid parameters",default:!0,retryable:!1},E32001_DEFAULT_RESOURCE_NOT_FOUND:{eipCode:-32001,message:"Resource not found",detail
1:"Requested resource not found",default:!0,retryable:!1},E32002_DEFAULT_RESOURCE_UNAVAILABLE:{eipCode:-32002,message:"Resource unavailable",detail:"Requested resource not available",default:!0,retryable:!0},E32003_DEFAULT_TRANSACTION_REJECTED:{eipCode:-32003,message:"Transaction rejected",detail:"Transaction creation failed",default:!0,retryable:!0},E32004_DEFAULT_METHOD_NOT_SUPPORTED:{eipCode:-32004,message:"Method not supported",detail:"Method is not implemented",default:!0,retryable:!1},E32005_DEFAULT_LIMIT_EXCEEDED:{eipCode:-32005,message:"Limit exceeded",detail:"Request exceeds defined limit",default:!0,retryable:!1},E32006_DEFAULT_JSON_RPC_VERSION_NOT_SUPPORTED:{eipCode:-32006,message:"JSON-RPC version not supported",detail:"Version of JSON-RPC protocol is not supported",default:!0,retryable:!1},E32002_CONNECTION_ALREADY_PENDING:{eipCode:-32002,message:"Connection request already pending",detail:"Don’t see your wallet? Check your other browser windows.",retryable:!1},E32002_REQUEST_ALREADY_PENDING:{eipCode:-32002,message:"Resource request already pending",detail:"Don’t see your wallet? Check your other browser windows.",retryable:!1},E32002_WALLET_LOCKED:{eipCode:-32002,message:"Wallet might be locked",detail:"Don’t see your wallet? Check your other browser windows.",retryable:!1},E4001_USER_REJECTED_REQUEST:{eipCode:4001,message:"Signature rejected",detail:"Please try signing again.",retryable:!0}},"errorIndicatesRecoveryIsNeeded",0,function(e){let t;return"string"==typeof(t=e.type)&&n.includes(t)&&"wallet_not_on_device"===e.type}],684766)},966599,e=>{"use strict";function t(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var n=0;function r(e){return"__private_"+n+++"_"+e}var i=r("_wallet"),a=r("_account");e.s(["ConnectedStandardSolanaWallet",0,class{get standardWallet(){return t(this,i)[i]}get address(){return t(this,a)[a].address}async disconnect(){if(!t(this,i)[i].features["standard:disconnect"]?.disconnect)throw Error("Wallet does not support disconnect");await t(this,i)[i].features["standard:disconnect"].disconnect()}async signMessage(...e){if(!t(this,i)[i].features["solana:signMessage"]?.signMessage)throw Error("Wallet does not support signMessage");let n=await t(this,i)[i].features["solana:signMessage"].signMessage(...e.map(e=>({...e,account:t(this,a)[a]})));return 1===e.length?n[0]:[...n]}async signTransaction(...e){if(!t(this,i)[i].features["solana:signTransaction"]?.signTransaction)throw Error("Wallet does not support signTransaction");let n=await t(this,i)[i].features["solana:signTransaction"].signTransaction(...e.map(e=>({...e,account:t(this,a)[a]})));return 1===e.length?n[0]:[...n]}async signAndSendTransaction(...e){if(!t(this,i)[i].features["solana:signAndSendTransaction"]?.signAndSendTransaction)throw Error("Wallet does not support signAndSendTransaction");let n=await t(this,i)[i].features["solana:signAndSendTransaction"].signAndSendTransaction(...e.map(e=>({...e,account:t(this,a)[a]})));return 1===e.length?n[0]:[...n]}async signAndSendAllTransactions(e){if(!t(this,i)[i].features["solana:signAndSendTransaction"]?.signAndSendTransaction)throw Error("Wallet does not support signAndSendTransaction");return[...await t(this,i)[i].features["solana:signAndSendTransaction"].signAndSendTransaction(...e.map(e=>({...e,account:t(this,a)[a]})))]}constructor({wallet:e,account:n}){Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),t(this,i)[i]=e,t(this,a)[a]=n}}])},794700,e=>{"use strict";e.s(["monadMainnet",0,{id:143,name:"Monad",network:"monad",nativeCurrency:{name:"Monad",symbol:"MON",decimals:18},rpcUrls:{privy:{http:["https://monad-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.monad.xyz"]},public:{http:["https://rpc.monad.xyz"]}},blockExplorers:{default:{name:"Monadscan",url:"https://mainnet-beta.monvision.io"}}}])},267810,e=>{"use strict";var t=e.i(528639),n=e.i(855313),r=e.i(684766),i=e.i(966599),a=e.i(794700),o=e.i(147898),s=e.i(819737),l=e.i(213095),c=e.i(262724),u=e.i(867705),d=e.i(604747),p=e.i(54181),h=e.i(934373),f=e.i(169838),m=e.i(832179),g=e.i(206360),b=e.i(943569),w=e.i(678382),y=e.i(929609),v=e.i(115497),_=e.i(650394),E=e.i(864597),C=e.i(915528);let k=e=>e.isApexWallet?"Apex Wallet":e.isAvalanche?"Core Wallet":e.isBackpack?"Backpack":e.isBifrost?"Bifrost Wallet":e.isBitKeep?"BitKeep":e.isBitski?"Bitski":e.isBlockWallet?"BlockWallet":e.isBraveWallet?"Brave Wallet":e.isClover?"Clover":e.isCoin98?"Coin98 Wallet":e.isCoinbaseWallet?"Coinbase Wallet":e.isDawn?"Dawn Wallet":e.isDefiant?"Defiant":e.isDesig?"Desig Wallet":e.isEnkrypt?"Enkrypt":e.isExodus?"Exodus":e.isFordefi?"Fordefi":e.isFrame?"Frame":e.isFrontier?"Frontier Wallet":e.isGamestop?"GameStop Wallet":e.isHaqqWallet?"HAQQ Wallet":e.isHyperPay?"HyperPay Wallet":e.isImToken?"ImToken":e.isHaloWallet?"Halo Wallet":e.isKuCoinWallet?"KuCoin Wallet":e.isMathWallet?"MathWallet":e.isNovaWallet?"Nova Wallet":e.isOkxWallet||e.isOKExWallet?"OKX Wallet":e.isOneInchIOSWallet||e.isOneInchAndroidWallet?"1inch Wallet":e.isOneKey?"OneKey Wallet":e.isOpera?"Opera":e.isPhantom||"isPhantom"in e?"Phantom":e.isPortal?"Ripio Portal":e.isRabby?"Rabby Wallet":e.isRainbow?"Rainbow":e.isSafePal?"SafePal Wallet":e.isStatus?"Status":e.isSubWallet?"SubWallet":e.isTalisman?"Talisman":e.isTally||e.isTaho?"Taho":e.isTokenPocket?"TokenPocket":e.isTokenary?"Tokenary":e.isTrust||e.isTrustWallet?"Trust Wallet":e.isTTWallet?"TTWallet":e.isXDEFI?"XDEFI Wallet":e.isZeal?"Zeal":e.isZerion?"Zerion":e.isMetaMask?"MetaMask":void 0,A=(e,t)=>
1{if(!e.isMetaMask)return!1;if(e.isMetaMask&&!t)return!0;if(e.isBraveWallet&&!e._events&&!e._state||"MetaMask"!==k(e))return!1;if(e.providers){for(let t of e.providers)if(!A(t))return!1}return!0},S=(e,t=3,n=4,r="ethereum")=>{if(!e)return"";let i=2*("ethereum"===r);return t+n+i+3>=e.length?e:`${e.slice(0,i+t)}...${e.slice(e.length-n,e.length)}`},x=e=>new Promise(t=>setTimeout(t,e));async function T({store:e,walletList:t,externalWalletConfig:n,walletChainType:r,timeout:i=3e3}){let a=!1,o=window;return new Promise(s=>{function l(){if(a)return;a=!0,window.removeEventListener("ethereum#initialized",l);let i=e.getProviders();console.debug("Detected injected providers:",i.map(e=>e.info));let o=[];for(let e of i)t.includes("coinbase_wallet")&&"com.coinbase.wallet"===e.info.rdns||"solana-only"===r&&"app.phantom"===e.info.rdns||o.push({type:e.info.name.toLowerCase().replace(/\s/g,"_"),eip6963InjectedProvider:e});if("solana-only"!==r)for(let e of function(){let e=window,t=e.ethereum;if(!t)return[];let n=[];if(t.providers?.length)for(let e of t.providers)e&&n.push(e);return n.push(e.ethereum),n}()){let t=k(e);if(!i.some(e=>e.info.name===t)){if(A(e,!0)&&!o.find(e=>"metamask"===e.type)){o.push({type:"metamask",legacyInjectedProvider:e});continue}if("Phantom"===t&&!o.find(e=>"phantom"===e.type)){o.push({type:"phantom",legacyInjectedProvider:e});continue}if("Coinbase Wallet"===t&&!o.find(e=>"coinbase_wallet"===e.type&&"smartWalletOnly"!==n.coinbaseWallet?.config?.preference?.options)){o.push({type:"coinbase_wallet",legacyInjectedProvider:e});continue}o.find(e=>"unknown_browser_extension"===e.type)||o.push({type:"unknown_browser_extension",legacyInjectedProvider:e})}}s(o)}o.ethereum?l():(window.addEventListener("ethereum#initialized",l,{once:!0}),setTimeout(()=>{l()},i))})}let I="[Privy:Connectors]";function O(e){if(!e||0===Object.keys(e).length)return"";let t=Object.entries(e).filter(([,e])=>null!=e).map(([e,t])=>`${e}=${String(t)}`);return t.length>0?` (${t.join(", ")})`:""}let P=new class{setEnabled(e){this._enabled=e,e&&this.info("Debug logging enabled")}get enabled(){return this._enabled}debug(e,t){this._enabled&&console.debug(`${I} ${e}${O(t)}`)}info(e,t){this._enabled&&console.info(`${I} ${e}${O(t)}`)}warn(e,t){this._enabled&&console.warn(`${I} ${e}${O(t)}`)}error(e,t,n){if(!this._enabled)return;let r=t instanceof Error?t.message:t?String(t):void 0,i=r?{...n,error:r}:n;console.error(`${I}
1 ${e}${O(i)}`)}connectionStart(e,t,n){this.info("Connection attempt started",{wallet:e,method:t,...n})}connectionSuccess(e,t){this.info("Connection successful",{wallet:e,...t})}connectionFailed(e,t,n){this.error("Connection failed",t,{wallet:e,...n})}connectorInit(e,t,n){this.debug("Connector initialized",{connector:e,wallet:t,...n})}connectorCreated(e,t,n){this.debug("Connector created",{connector:e,wallet:t,...n})}providerEvent(e,t,n){this.debug(`Provider event: ${e}`,{wallet:t,...n})}rpcRequest(e,t,n){this.debug(`RPC request: ${e}`,{wallet:t,...n})}rpcResponse(e,t,n){this.debug(`RPC response: ${e}`,{wallet:t,...n})}constructor(){this._enabled=!1}};class M extends t.P{constructor(){super("Wallet timeout"),this.type="wallet_error",P.warn("Wallet request timed out")}}let D=e=>{if(e instanceof t.P)return P.debug("Connector error (already formatted)",{error:e.message}),e;if(e?.code){let t=new N(e);return P.debug("Provider RPC error",{code:t.code,error:t.message}),t}let n=e instanceof Error?e.message:String(e);return P.debug("Unknown connector error",{error:n}),new t.P("Unknown connector error",e)};class F extends t.c{constructor(e,t,n){super(e),this.type="provider_error",this.code=t,this.data=n}}class N extends F{constructor(e){super(e.message,e.code,e.data);let t=Object.values(r.ProviderErrors).find(t=>t.eipCode===e.code);this.details=t||r.ProviderErrors.UNKNOWN_ERROR,-32002===e.code&&(e.message?.includes("already pending for origin")?e.message?.includes("wallet_requestPermissions")?this.details=r.ProviderErrors.E32002_CONNECTION_ALREADY_PENDING:this.details=r.ProviderErrors.E32002_REQUEST_ALREADY_PENDING:e.message?.includes("Already processing")&&e.message.includes("eth_requestAccounts")&&(this.details=r.ProviderErrors.E32002_WALLET_LOCKED))}}let W={ERROR_USER_EXISTS:{message:"User already exists for this address",detail:"Try another address!",retryable:!1},ERROR_TIMED_OUT:{message:"Wallet request timed out",detail:"Please try connecting again.",retryable:!0},ERROR_WALLET_CONNECTION:{message:"Could not log in with wallet",detail:"Please try connecting again.",retryable:!0},ERROR_USER_LIMIT_REACHED:{message:"Unable to link",detail:"You've reached the maximum number of linked wallets.",retryable:!1},...r.ProviderErrors};class R{get(e){let t=localStorage.getItem(e);return null===t?void 0:JSON.parse(t)}put(e,t){void 0!==t?localStorage.setItem(e,JSON.stringify(t)):this.del(e)}del(e){localStorage.removeItem(e)}getKeys(){return Object.entries(localStorage).map(([e])=>e)}}var U="u">typeof window&&window.localStorage?new R:new class{get(e){return this._cache[e]}put(e,t){void 0!==t?this._cache[e]=t:this.del(e)}del(e){delete this._cache[e]}getKeys(){return Object.keys(this._cache)}constructor(){this._cache={}}};class L extends w.default{constructor(e){super(),this.walletClientType=e,this.connected=!1,this.initialized=!1}}let j=()=>{let e=U.get(y.b);return e&&Array.isArray(e)&&e.map(e=>e&&"string"==typeof e.address&&"string"==typeof e.connectorType&&"string"==typeof e.walletClientType&&"number"==typeof e.connectedAt).every(Boolean)?e:[]},B=["phantom","glow","solflare","backpack","okx_wallet","walletconnect","mobile_wallet_adapter","jupiter"];function z(e){return e.toLowerCase().split(" ").join("_")}function H(e){return"isWalletConnectSolana"in e&&e.isWalletConnectSolana}function $(e){return["ethereum","solana"].includes(e.chainType)}function V(e){let t=e.replace("eip155:","");if(t)return parseInt(t);throw Error("Chain ID not compatible with CAIP-2 format.")}let q=e=>e.filter(e=>"wallets"===e.method||("exchange"===e.method?"coinbase"===e.provider:"card"===e.method||"payment-request"===e.method?"coinbase"===e.provider||"moonpay"===e.provider:(e.method,!1))),G={[b.mainnet.id]:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",[g.sepolia.id]:"0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",[m.optimism.id]:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",[f.optimismSepolia.id]:"0x5fd84259d66Cd46123540766Be93DFE6D43130D7",[h.polygon.id]:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",[p.polygonAmoy.id]:"0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582",[d.base.id]:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",[u.baseSepolia.id]:"0x036CbD53842c5426634e7929541eC2318f3dCF7e",[c.avalanche.id]:"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",[l.avalancheFuji.id]:"0x5425890298aed601595a70ab815c96711a31bc65",[s.arbitrum.
1id]:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",[o.arbitrumSepolia.id]:"0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",999:"0xb88339CB7199b77E23DB6E890353E22632Ba630f",[a.monadMainnet.id]:"0x754704Bc059F8C67012fEd69BC8A327a5aafb603"};e.s(["A",0,({style:e,...t})=>{let n=(0,y.u)();return(0,v.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[(0,v.jsx)("rect",{width:"28",height:"28",rx:"3",fill:"dark"===n?.appearance.palette.colorScheme?"#3396ff":"#141414"}),(0,v.jsx)("g",{clipPath:"url(#clip0_1765_9946)",children:(0,v.jsx)("path",{d:"M8.09448 10.3941C11.3558 7.20196 16.6442 7.20196 19.9055 10.3941L20.2982 10.7782C20.3369 10.8157 20.3677 10.8606 20.3887 10.9102C20.4097 10.9599 20.4206 11.0132 20.4206 11.0671C20.4206 11.121 20.4097 11.1744 20.3887 11.224C20.3677 11.2737 20.3369 11.3186 20.2982 11.3561L18.9554 12.6702C18.9158 12.7086 18.8628 12.7301 18.8077 12.7301C18.7526 12.7301 18.6996 12.7086 18.66 12.6702L18.1198 12.1415C15.8448 9.91503 12.1557 9.91503 9.88015 12.1415L9.30167 12.7075C9.26207 12.7459 9.20909 12.7673 9.15395 12.7673C9.0988 12.7673 9.04582 12.7459 9.00622 12.7075L7.66346 11.3934C7.62475 11.3559 7.59397 11.3109 7.57295 11.2613C7.55193 11.2117 7.5411 11.1583 7.5411 11.1044C7.5411 11.0505 7.55193 10.9971 7.57295 10.9475C7.59397 10.8979 7.62475 10.8529 7.66346 10.8154L8.09448 10.3941ZM22.6829 13.1115L23.8776 14.2814C23.9163 14.319 23.9471 14.3639 23.9681 14.4135C23.9892 14.4632 24 14.5165 24 14.5704C24 14.6243 23.9892 14.6777 23.9681 14.7273C23.9471 14.777 23.9163 14.8219 23.8776 14.8594L18.4893 20.1332C18.4102 20.2101 18.3042 20.2531 18.1938 20.2531C18.0835 20.2531 17.9775 20.2101 17.8984 20.1332L14.0743 16.3901C14.0545 16.3708 14.0279 16.36 14.0003 16.36C13.9726 16.36 13.9461 16.3708 13.9263 16.3901L10.1021 20.1332C10.023 20.2101 9.91703 20.2531 9.8067 20.2531C9.69636 20.2531 9.59038 20.2101 9.51124 20.1332L4.12236 14.8594C4.08365 14.8219 4.05287 14.777 4.03185 14.7273C4.01083 14.6777 4 14.6243 4 14.5704C4 14.5165 4.01083 14.4632 4.03185 14.4135C4.05287 14.3639 4.08365 14.319 4.12236 14.2814L5.31767 13.1115C5.39678 13.0348 5.50265 12.9919 5.61285 12.9919C5.72305 12.9919 5.82892 13.0348 5.90803 13.1115L9.73216 16.8546C9.75194 16.874 9.7785 16.8848 9.80616 16.8848C9.83381 16.8848 9.86037 16.874 9.88015 16.8546L13.7043 13.1115C13.7834 13.0346 13.8894 12.9916 13.9997 12.9916C14.1101 12.9916 14.216 13.0346 14.2952 13.1115L18.1198 16.8546C18.1396 16.874 18.1662 16.8848 18.1938 16.8848C18.2215 16.8848 18.2481 16.874 18.2678 16.8546L22.092 13.1115C22.1711 13.0346 22.2771 12.9916 22.3874 12.9916C22.4977 12.9916 22.6037 13.0346 22.6829 13.1115Z",fill:"white"})}),(0,v.jsx)("defs",{children:(0,v.jsx)("clipPath",{id:"clip0_1765_9946",children:(0,v.jsx)("rect",{width:"20",height:"12.2531",fill:"white",transform:"translate(4 8)"})})})]})},"B",0,e=>!!String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),"C",0,W,"D",0,function(e,{min:t,max:n}){return Math.min(Math.max(e,t),n)},"E",0,(e,t)=>{let n=e.slice(0),r=[];for(;n.length;)r.push(n.splice(0,t));return r},"F",0,(e,n)=>{let r=Number(e),i=n.find(e=>e.id===r);if(!i)throw new t.P(`Unsupported chainId ${e}`,4901);return i.blockExplorers?.default.url},"G",0,F,"H",0,z,"I",0,(e,t=3,n=4)=>S(e,t,n,"solana"),"P",0,N,"S",0,class extends L{get isInstalled(){return!0}get wallet(){return this._wallet}buildConnectedWallet(){return this._wallet.accounts.map(e=>({type:"solana",provider:new i.ConnectedStandardSolanaWallet({wallet:this._wallet,account:e}),address:e.address,connectedAt:Date.now(),walletClientType:this._wallet.name,connectorType:this.connectorType,imported:!1,meta:{name:this._wallet.name,id:this._wallet.name,icon:this._wallet.icon},isConnected:async()=>this._wallet.accounts.length>0,disconnect:async()=>{await this.disconnect()}}))}async syncAccounts(){this.wallets=this.buildConnectedWallet(),this.emit("walletsUpdated")}get walletBranding(){return{id:H(this.wallet)?"walletconnect_solana":this.wallet.name,name:this.wallet.name,icon:this.wallet.icon}}async initialize(){P.debug("Initializing Solana connector",{wallet:this.walletClientType}),this.subscribeListeners(),await this.syncAccounts(),this.shouldAttemptAutoConnect()&&
1(P.debug("Attempting Solana auto-connect",{wallet:this.walletClientType}),await this.wallet.features["standard:connect"]?.connect({silent:!0}).catch(()=>{}),await this.isConnected()&&(P.debug("Solana auto-connect successful",{wallet:this.walletClientType}),await this.syncAccounts())),this.initialized=!0,this.emit("initialized")}async connect(e){if(P.connectionStart(this.walletClientType,"solana_adapter",{showPrompt:e.showPrompt}),e.showPrompt)try{await this.promptConnection()}catch(e){if(0===this._wallet.accounts.length)throw P.warn("Solana wallet connected but has no accounts",{wallet:this.walletClientType}),new t.j;throw P.connectionFailed(this.walletClientType,e,{method:"solana_adapter"}),e}if(!await this.isConnected())throw P.warn("Solana wallet not connected after prompt",{wallet:this.walletClientType}),new t.j;await this.syncAccounts();let n=await this.getConnectedWallet();return n&&P.connectionSuccess(this.walletClientType),n}async getConnectedWallet(){return this.wallets.sort((e,t)=>t.connectedAt-e.connectedAt)[0]||null}async isConnected(){return this._wallet.accounts.length>0}subscribeListeners(){this._unsubscribeListeners=this.wallet.features["standard:events"]?.on("change",this.onChange)}unsubscribeListeners(){this._unsubscribeListeners?.()}shouldAttemptAutoConnect(){return!(!this.autoConnectEnabled||!B.includes(this.walletClientType))&&("phantom"!==this.walletClientType&&"metamask"!==this.walletClientType.toLowerCase()||j().some(({walletClientType:e})=>"phantom"===e||"metamask"===e.toLowerCase()))}constructor(e,t){super(z(H(e)?"walletconnect_solana":e.name)),this.chainType="solana",this.connectorType="solana_adapter",this.disconnect=async()=>{P.debug("Disconnecting Solana wallet",{wallet:this.walletClientType}),await this.wallet.features["standard:disconnect"]?.disconnect().catch(e=>{P.error("Error disconnecting Solana wallet",e,{wallet:this.walletClientType})}),await this.syncAccounts()},this.promptConnection=async()=>{P.debug("Prompting Solana connection",{wallet:this.walletClientType});try{await this.wallet.features["standard:connect"]?.connect()}catch(e){throw P.connectionFailed(this.walletClientType,e,{method:"solana_adapter"}),D(e)}},this.onChange=()=>{this.syncAccounts()},this._wallet=e,this.autoConnectEnabled=t,this.wallets=[]}},"W",0,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAHdElNRQfoDAIVODUC+w+GAAAGsUlEQVRYw6WXbYwWVxXHf+fOLAtCXYS2QJdIaClipGCTknXXNqBQMVHbfmhItH4Aral+IAEaG03UxJgYKQJGTUxtDWjaxDSNtcZqIGDwpRuW1oYiVqpdpZSlpC3qysu+PHPP3w/3mXnmeXZbPzjJZO7cefn/z/mfe865xlscq3dGDIguGiHLaMQVLja4s87FShcLo5jtApdddnHexUmHIy475JmdUkPRAQMu7gzT4ljnxJpdk0QPmMFkyAKN2OfOFpc2uuh1J3MZDrjAvXmVEQUuoosRxw642FcEG7IoDxiFxNiu8NYE+vcUYIFYRKKs113bXWx2Z34CoQZsVHOiCZ7mopdzdsFhv8NexEgRDHMxUSNREbh1bwNZwBsFblmfu/a4a6AEENYO5i3AOoEWeEUCF4MOOxBDMQAOk99OJALA2u80sBCwWGBZWG/yRwMaCAbBIAsQTJT3gea1OWfNeaPzvjoHEI85rA8ObtB1v7cIdJkIHgkh9AXpocy0LJjIKvB2wPpZB0v3wkrw5jdNEjeYeMhFX3BAyfn2ke9NUrgB9LrrcZcGJFCld4fWNddXbvbWfWzGR6xJFZsBGh0cBh3bBIxIEGTQ3W0h4NuDaSAzyAxCmGq11Vzf5uaa1aG8p+WFtrEYQGwvjICJkAEqvC+YNmcmMlMNvEaCdrcbyUvQAWDTjVuESHObM6cPGWHmzDwLaEtmzG9Z3qF1zUpXmuuZBb1z4bqeNC6f0WE1NtUTwHzEloiy3BvFisy0sYoLlQtT6XW15md2Qf9SY+2Ngfdca/TMSm/9ewz+/Boc/It45h/i4kSTsKw90SQJsPTvjSZbkWemDW7qTRZ0JEYJWSKxZJ7xmf6M224MzMzbX1s8F1YugjtvMg6eErt/4/z1jUrz1rXUKxnZC2zIg2mdBTK1mFUOKC1fOt/48kdzVixIz86Nij+eEacvpJWyZJ5xy7th8VzjjpuMJfMCW58QL73ekXPVlhsyE+vyzFiplJyauEIyrGIquruMq7qTxk+dcB495rzyTzFepCUWLIFv/kBg081Gd55WUk1IDGFTS89K++TDYxddzKnWcbluHd450xgdh7EGrOo1rr868PMTzqWJRGZ2d8oB/xpL33Xnxl2rjeNn4blXRXduzJ4B5y+28kWscAwXl+yeR654FFZPHoUb710YuPeDOUdPO48di1xptKpeEeHqOcYXNwQKGd88EDk3mqxtxPSfGRlsXRtYt8z4ytPOH/7eqpg1Aso7fYKgK4NPrMpYvsC4/poMA34yVJIQC3sCD9yecdsNyaV5yPj6ryJnR1PAvSNP4J+/1cgDfLbfePaMGGtM7Qdyl12WmKOmXgKKAp54vmBRTxfLrjE+tSYjBPjRM5FrrzIeuD2jf2lLzw8vN4JlfPVp581LsO1DgXv7jSzAiXPw/d+JiYLpjsu26Yfjf5O0rF5WoxsNT9G/bX0XKxakmPjlSee6HlizJJXSX7/oRDc+vjKR+f2wODcKd78/gR8/C9uedF44myJxmhh4OY/ipMQyqaWxmjn95TfEroMFOzbkvG+RceeqViPx1Aln1yEnOow1AnffHCpJAJ5/Vex4UvzptZRdY/O/1dJIS/NkcNmR6MTYah6qzseA4TfFtw4UvHBW1bc/O+7sPhwZHYf/jMODh5yfPudVbXj2TAJ/8XxrOZagNamj4Ei2/GNfuyRxh8t6BG2l15up+MIVODEiFr8rcPS0+O6RBF6mrrEGHHtFzOo2Lo7Dl37hvPQ6mNV6R9JYKgnYWcE37K5HlE2OT/5A0udaPUBHH+BQOMzuNsYLuDyZflTW+fTcmJFDHhJhaZqewMuewXDxcDR9IYyPN6Jj+6K4MF2vV8qBtZJScqVRNi6lpGONVJis5mpKi1WbgwsY+zIsBpcR8mzIZfuTRVZrtdu9odrptR/Xx5XONXJqBmCN0P6YMUQq9WJiwt0Je102WHdbpxSqydMObBWYdwDWLVcqcIMYe3NPjg0Ht84od0Ajju1w2XCr9e6QoqM9V23ZtnmI6cfAMMb9AY0YEHdb6oobEh4y3H3Ize6LsmGvN5IdUnhttdQ9UVrfLk/ljWEZ9wXsqAdQk1EA+O22GcgdZTke/bAs3OPY4HSdcB20HhvVtTMu0jmI8ekAhz2IICj2hKpNqI60NcuIRUHEej1quzubXa2tmZhenrfZmv3YYQ9ipDAIgvHptmblccuDjdRcmjFpWbDi/9ycZjZkRbk5jYztai/AUwiUx+qdEQB/m+25i9lxyvbcjrg45Lmd0uT/3p7/Fw6ODf+WO019AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTEyLTAyVDIxOjU2OjQ4KzAwOjAwMVpslgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0x
1Mi0wMlQyMTo1Njo0OCswMDowMEAH1CoAAAAodEVYdGRhdGU6dGltZXN0YW1wADIwMjQtMTItMDJUMjE6NTY6NTMrMDA6MDDZv6GRAAAAAElFTkSuQmCC","a",0,e=>e.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g,""),"b",0,$,"c",0,P,"d",0,q,"e",0,e=>{let t={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},n=e.types.EIP712Domain??Object.entries(e.domain).map(([e,n])=>{if(null!=n&&"string"==typeof e&&e in t)return{name:e,type:t[e]}}).filter(e=>void 0!==e);return{...e,types:{...e.types,EIP712Domain:n}}},"f",0,D,"g",0,(e,r,i,a)=>{let o=Number(e),s=r.find(e=>e.id===o);if(!s)throw new t.P(`Unsupported chainId ${e}`,4901);return(0,n.b)(s,i,a)},"h",0,V,"i",0,(e,t={})=>{let n=t.delayMs||150,r=t.maxAttempts||270;return new Promise(async(i,a)=>{let o=!1,s=0;for(;!o&&s<r;){if(t.abortSignal?.aborted)return;e().then(e=>{o=!0,i(e)},(...e)=>{o=!0,a(...e)}),s+=1,await x(n)}o||a(Error("Exceeded max attempts before resolving function"))})},"j",0,({address:e,appConfig:n,fundWalletConfig:r,methodScreen:i,chainIdOverride:a,comingFromSendTransactionScreen:o=!1,onComplete:s,onError:l})=>{let c,u;if(!n.fundingConfig)throw Error("Wallet funding is not enabled");let d=q(n.fundingConfig.options);if(d.length<1)throw Error("Wallet funding is not enabled");c=a||(r?.chain?r.chain.id:V(n.fundingConfig.defaultRecommendedCurrency.chain));let p=n.chains.find(e=>e.id===c);if(!p)throw new t.a(`Funding chain ${c} is not in PrivyProvider chains list`);let h=r?.amount??n.fundingConfig.defaultRecommendedAmount,f=!1;function m(){if(!c)return;let e=G[c];d.find(e=>"wallets"===e.method)&&!e&&console.warn("Attempting to fund with USDC on chain where USDC address is not known. Funding via external wallet will be disabled."),u=e,f=!0}r&&"asset"in r?"USDC"===r.asset?m():"string"!=typeof r.asset&&"erc20"in r.asset&&(f=(u=r.asset.erc20)===G[p.id]):"USDC"===n.fundingConfig.defaultRecommendedCurrency.asset&&m();let g=r?.defaultFundingMethod;return{chainType:"ethereum",address:e,amount:h,chain:p,erc20Address:u,erc20ContractInfo:f?{symbol:"USDC",decimals:6}:void 0,isUSDC:f,methodScreen:i,supportedOptions:d,comingFromSendTransactionScreen:o,defaultFundingMethod:g,usingDefaultFundingMethod:!!g,preferredCardProvider:r?.card?.preferredProvider,crossChainBridgingEnabled:n.fundingConfig.crossChainBridgingEnabled??!1,solanaChain:"solana:mainnet",uiConfig:r&&"uiConfig"in r?r.uiConfig:void 0,externalSolanaFundingScreen:null,onComplete:s??(()=>{}),onError:l??(()=>{})}},"k",0,x,"l",0,function(){try{let e="privy:__session_storage__test",t=new R;return t.put(e,"blobby"),t.del(e),!0}catch(e){return!1}},"m",0,function(e){return`eip155:${String(Number(e))}`},"n",0,T,"o",0,j,"p",0,function(e,{interval:t=100,timeout:n=5e3}={}){return new Promise((r,i)=>{let a,o=0,s=()=>{o>=n?i("Max attempts reached without result"):(a=e(),o+=t,null==a?setTimeout(s,t):r(a))};s()})},"q",0,e=>e?.map(e=>({signer_id:e.signerId,override_policy_ids:e.policyIds})),"r",0,L,"s",0,U,"t",0,e=>"string"==typeof e?e:"0x"+e.toString(16),"u",0,function(){let{user:e,getAccessToken:r}=(0,C.u)(),{walletProxy:i,openModal:a,client:o}=(0,t.u)(),{setModalData:s}=(0,C.a)(),l=(0,y.u)();return(0,_.useMemo)(()=>({exportWallet:c=>new Promise(async(u,d)=>{if(!e)return void d(Error("User must be authenticated before exporting their Privy wallet"));c&&"target"in c&&c&&(c=void 0);let p=c?.address?(0,C.j)(e,c.address):(0,C.c)(e);if(!p)return void d(new t.a("User must have an embedded wallet."));let h=p.address,{entropyId:f,entropyIdVerifier:m}=(0,n.g)(e,p),g=(0,C.b)(p);if(!h)return void d(Error("User does not have an HD Ethereum wallet. To export an imported wallet, pass the `address` of the wallet to `exportWallet`."));if(!(0,E.isAddress)(h))return void d(Error("Must provide a valid Ethereum address."));let b={recoveryMethod:p.recoveryMethod,connectingWalletAddress:p.address,isUnifiedWallet:g,entropyId:f,entropyIdVerifier:m,onCompleteNavigateTo:"EmbeddedWalletKeyExportScreen",onFailure:d,shouldForceMFA:!0};await r()&&i?$(p)?(s({keyExport:{appId:l.id,appClientId:l.appClientId,origin:o.apiUrl,address:p.address,entropyId:f,entropyIdVerifier:m,hdWalletIndex:p.walletIndex,chainType:p.chainType,walletId:p.id,isUnifiedWallet:g,imported:p.imported,onSuccess:u,onFailure:d,showBackButton:c?.showBackButton},connectWallet:b}),a("EmbeddedWalletConnectingScreen")):d(Error(`Export is not supported for ${p.chainType}
1 wallets`)):d(Error("Must have valid access token."))})}),[e,r,i,a,o,s,l])},"v",0,S,"w",0,M,"x",0,function({address:e,fundWalletConfig:t,appConfig:n,comingFromSendTransactionScreen:r,externalSolanaFundingScreen:i,methodScreen:a}){if(!n.fundingConfig)throw Error("Wallet funding is not enabled");let o=q(n.fundingConfig.options);if(o.length<1)throw Error("Wallet funding is not enabled");if("USDC"===t?.asset&&"solana:testnet"===t?.chain)throw Error("USDC funding is not supported on the Solana testnet");let s=t?.amount??n.fundingConfig.defaultRecommendedAmount,l=t?.defaultFundingMethod;return{chainType:"solana",address:e,supportedOptions:o,amount:s,isUSDC:"USDC"===t?.asset,methodScreen:a,comingFromSendTransactionScreen:r,chain:t?.chain||"solana:mainnet",crossChainBridgingEnabled:n.fundingConfig.crossChainBridgingEnabled??!1,defaultFundingMethod:l,preferredCardProvider:t?.card?.preferredProvider,usingDefaultFundingMethod:!!l,uiConfig:t?.uiConfig,externalSolanaFundingScreen:i,onComplete:()=>{},onError:()=>{}}},"y",0,()=>{let e=window;if(!e.ethereum)return!1;if(e.ethereum.isCoinbaseWallet)return!0;if(e.ethereum.providers){for(let t of e.ethereum.providers)if(t&&t.isCoinbaseWallet)return!0}return!1},"z",0,(e,t)=>{let n=[],r=[];for(let[i,a]of e.entries())i<t?n.push(a):r.push(a);return[n,r]}],267810)},527796,e=>{"use strict";var t=e.i(650394);let n=(0,t.createContext)(void 0),r=()=>(0,t.useContext)(n);function i(e,t,n,...r){for(let i of e.current[t][n])i(...r)}e.s(["P",0,n,"a",0,function(){let e=r();return(t,n,...r)=>i(e,t,n,...r)},"e",0,i,"p",0,{login:{onComplete:[],onError:[]},logout:{onSuccess:[]},connectWallet:{onSuccess:[],onError:[]},connectOrCreateWallet:{onSuccess:[],onError:[]},createWallet:{onSuccess:[],onError:[]},linkAccount:{onSuccess:[],onError:[]},update:{onSuccess:[],onError:[]},configureMfa:{onMfaRequired:[]},setWalletPassword:{onSuccess:[],onError:[]},setWalletRecovery:{onSuccess:[],onError:[]},signMessage:{onSuccess:[],onError:[]},signTypedData:{onSuccess:[],onError:[]},sendTransaction:{onSuccess:[],onError:[]},signTransaction:{onSuccess:[],onError:[]},accessToken:{onAccessTokenGranted:[],onAccessTokenRemoved:[]},oAuthAuthorization:{onOAuthTokenGrant:[]},fundWallet:{onUserExited:[]},fundSolanaWallet:{onUserExited:[]},customAuth:{onAuthenticated:[],onUnauthenticated:[]}},"u",0,function(e,n){if(!n)return;let i=r().current[e];return(0,t.useEffect)(()=>{for(let[t,r]of Object.entries(n))Object.prototype.hasOwnProperty.call(i,t)||console.warn(`Invalid event type "${t}" for action "${e}"`),i[t]?.push(r);return()=>{for(let[t,r]of Object.entries(n))Object.prototype.hasOwnProperty.call(i,t)||console.warn(`Invalid event type "${t}" for action "${e}"`),i[t]=i[t]?.filter(e=>e!==r)}},[n])}])},548056,e=>{"use strict";var t=e.i(650394);let n=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},r=e=>{let r=e?n(e):n,i=e=>(function(e,n=e=>e){let r=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>n(e.getState()),[e,n]),t.default.useCallback(()=>n(e.getInitialState()),[e,n]));return t.default.useDebugValue(r),r})(r,e);return Object.assign(i,r),i};e.s(["create",0,e=>e?r(e):r],548056)},908404,683058,e=>{"use strict";var t=e.i(819573),n=e.i(274466);e.i(14653);var r=e.i(650394),i="-ms-",a="-moz-",o="-webkit-",s="comm",l="rule",c="decl",u="@keyframes",d=Math.abs,p=String.fromCharCode,h=Object.assign;function f(e,t){return(e=t.exec(e))?e[0]:e}function m(e,t,n){return e.replace(t,n)}function g(e,t,n){return e.indexOf(t,n)}function b(e,t){return 0|e.charCodeAt(t)}function w(e,t,n){return e.slice(t,n)}function y(e){return e.length}function v(e,t){return t.push(e),e}function _(e,t){return e.filter(function(e){return!f(e,t)})}var E=1,C=1,k=0,A=0,S=0,x="";function T(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:E,column:C,length:o,return:"",siblings:s}}function I(e,t){return h(T("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function O(e){for(;e.root;)e=I(e.root,{children:[e]});v(e,e.siblings)}function P(){return S=A<k?b(x,A++):0,C++,10===S&&(C=1,E++),S}function M(){return b(x,A)}function D(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F(e){var t,n;return(t=A-1,n=function e(t){for(;P();)switch(S){case t:return A;case 34:case 39:34!==t&&39!==t&&e(S);break;case 40:41===t&&e(t);break;case 92:P()}return A}(91===e?e+2:40===e?e+1:e),w(x,t,n)).trim()}function N(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case c:return e.return=e.return||e.value;case s:return"";case u:return e.return=e.value+"{"+N(e.children,r)+"}";case l:if(!y(e.value=e.props.join(",")))return""}return y(n=N(e.children,r))?e.return=e.value+"{"+n+"}":""}function R(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case c:e.return=function e(t,n,r){var s;switch(s=n,45^b(t,0)?(((s<<2^b(t,0))<<2^b(t,1))<<2^b(t,2))<<2^b(t,3):0){case 5103:return o+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return o+t+t;case 4855:return o+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return a+t+t;
vendor: 10,590 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return o+t+a+t+i+t+t;case 5936:switch(b(t,n+11)){case 114:return o+t+i+m(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return o+t+i+m(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return o+t+i+m(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return o+t+i+t+t;case 6165:return o+t+i+"flex-"+t+t;case 5187:return o+t+m(t,/(\w+).+(:[^]+)/,o+"box-$1$2"+i+"flex-$1$2")+t;case 5443:return o+t+i+"flex-item-"+m(t,/flex-|-self/g,"")+(f(t,/flex-|baseline/)?"":i+"grid-row-"+m(t,/flex-|-self/g,""))+t;case 4675:return o+t+i+"flex-line-pack"+m(t,/align-content|flex-|-self/g,"")+t;case 5548:return o+t+i+m(t,"shrink","negative")+t;case 5292:return o+t+i+m(t,"basis","preferred-size")+t;case 6060:return o+"box-"+m(t,"-grow","")+o+t+i+m(t,"grow","positive")+t;case 4554:return o+m(t,/([^-])(transform)/g,"$1"+o+"$2")+t;case 6187:return m(m(m(t,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),t,"")+t;case 5495:case 3959:return m(t,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return m(m(t,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+i+"flex-pack:$3"),/space-between/,"justify")+o+t+t;case 4200:if(!f(t,/flex-|baseline/))return i+"grid-column-align"+w(t,n)+t;break;case 2592:case 3360:return i+m(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,f(e.props,/grid-\w+-end/)}))return~g(t+(r=r[n].value),"span",0)?t:i+m(t,"-start","")+t+i+"grid-row-span:"+(~g(r,"span",0)?f(r,/\d+/):f(r,/\d+/)-f(t,/\d+/))+";";return i+m(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return f(e.props,/grid-\w+-start/)})?t:i+m(m(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return m(t,/(.+)-inline(.+)/,o+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(y(t)-1-n>6)switch(b(t,n+1)){case 109:if(45!==b(t,n+4))break;case 102:return m(t,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+(108==b(t,n+3)?"$3":"$2-$3"))+t;case 115:return~g(t,"stretch",0)?e(m(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return m(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,o,s,l){return i+n+":"+r+l+(a?i+n+"-span:"+(o?s:s-r)+l:"")+t});case 4949:if(121===b(t,n+6))return m(t,":",":"+o)+t;break;case 6444:switch(b(t,45===b(t,14)?18:11)){case 120:return m(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+o+(45===b(t,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+i+"$2box$3")+t;case 100:return m(t,":",":"+i)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return m(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case u:return N([I(e,{value:m(e.value,"@","@"+o)})],r);case l:if(e.length){var s,d;return s=n=e.props,d=function(t){switch(f(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":O(I(e,{props:[m(t,/:(read-\w+)/,":"+a+"$1")]})),O(I(e,{props:[t]})),h(e,{props:_(n,r)});break;case"::placeholder":O(I(e,{props:[m(t,/:(plac\w+)/,":"+o+"input-$1")]})),O(I(e,{props:[m(t,/:(plac\w+)/,":"+a+"$1")]})),O(I(e,{props:[m(t,/:(plac\w+)/,i+"input-$1")]})),O(I(e,{props:[t]})),h(e,{props:_(n,r)})}return""},s.map(d).join("")}}}function U(e,t,n,r,i,a,o,s,c,u,p,h){for(var f=i-1,g=0===i?a:[""],b=g.length,y=0,v=0,_=0;y<r;++y)for(var E=0,C=w(e,f+1,f=d(v=o[y])),k=e;E<b;++E)(k=(v>0?g[E]+" "+C:m(C,/&\f/g,g[E])).trim())&&(c[_++]=k);return T(e,t,n,0===i?l:s,c,u,p,h)}function L(e,t,n,r,i){return T(e,t,n,c,w(e,0,r),w(e,r+1,-1),r,i)}var j={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};e.s(["default",0,j],683058);var B=void 0!==t.default&&void 0!==t.default.env&&(t.default.env.REACT_APP_SC_ATTR||t.default.env.SC_ATTR)||"data-styled",z="active",H="data-styled-version",$="6.3.11",V="/*!sc*/\n",q="u">typeof window&&"u">typeof document,G=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==t.default&&void 0!==t.default.env&&void 0!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY&&t.default.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==t.default&&void 0!==t.default.env&&void 0!==t.default.env.SC_DISABLE_SPEEDY&&""!==t.default.env.SC_DISABLE_SPEEDY&&"false"!==t.default.env.SC_DISABLE_SPEEDY&&t.default.env.SC_DISABLE_SPEEDY),Y={};function K(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var J=new Map,X=new Map,Z=1,Q=function(e){if(J.has(e))return J.get(e);for(;X.has(Z);)Z++;var t=Z++;return J.set(e,t),X.set(t,e),t},ee=function(e,t){Z=t+1,J.set(e,t),X.set(t,e)},et=Object.freeze([]),en=Object.freeze({});function er(e,t,n){return void 0===n&&(n=en),e.theme!==n.theme&&e.theme||t||n.theme}var ei=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),ea=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eo=/(^-|-$)/g;function es(e){return e.replace(ea,"-").replace(eo,"")}var el=/(a)(d)/gi,ec=function(e){return String.fromCharCode(e+(e>25?39:97))};function eu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ec(t%52)+n;return(ec(t%52)+n).replace(el,"$1-$2")}var ed,ep=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},eh=function(e){return ep(5381,e)};function ef(e){return eu(eh(e)>>>0)}function em(e){return"string"==typeof e}var eg="function"==typeof Symbol&&Symbol.for,eb=eg?Symbol.for("react.memo"):60115,ew=eg?Symbol.for("react.forward_ref"):60112,ey={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ev={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eE=((ed={})[ew]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ed[eb]=e_,ed);function eC(e){return("type"in e&&e.type.$$typeof)===eb?e_:"$$typeof"in e?eE[e.$$typeof]:ey}var ek=Object.defineProperty,eA=Object.getOwnPropertyNames,eS=Object.getOwnPropertySymbols,ex=Object.getOwnPropertyDescriptor,eT=Object.getPrototypeOf,eI=Object.prototype;function eO(e){return"function"==typeof e}function eP(e){return"object"==typeof e&&"styledComponentId"in e}function eM(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eD(e,t){return e.join(t||"")}function eF(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function eN(e,t){Object.defineProperty(e,"toString",{value:t})}var eW=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw K(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=r;a<i;a++)this.groupSizes[a]=0}for(var o=this.indexOfGroup(e+1),s=0,l=(a=0,t.length);a<l;a++)this.tag.insertRule(o,t[a])&&(this.groupSizes[e]++,o++,s++);s>0&&this._cGroup>e&&(this._cIndex+=s)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,a=r;a<i;a++)t+=this.tag.getRule(a)+V;return t},e}(),eR="style[".concat(B,"][").concat(H,'="').concat($,'"]'),eU=new RegExp("^".concat(B,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eL=function(e){return"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},ej=function(e){if(!e)return document;if(eL(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(eL(t))return t}return document},eB=function(e,t,n){for(var r,i=n.split(","),a=0,o=i.length;a<o;a++)(r=i[a])&&e.registerName(t,r)},ez=function(e,t){for(var n,r=(null!=(n=t.textContent)?n:"").split(V),i=[],a=0,o=r.length;a<o;a++){var s=r[a].trim();if(s){var l=s.match(eU);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(ee(u,c),eB(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},eH=function(e){for(var t=ej(e.options.target).querySelectorAll(eR),n=0,r=t.length;n<r;n++){var i=t[n];
1i&&i.getAttribute(B)!==z&&(ez(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function e$(){return"u">typeof __webpack_nonce__?__webpack_nonce__:null}var eV=function(e){var t,n=document.head,r=e||n,i=document.createElement("style"),a=(t=Array.from(r.querySelectorAll("style[".concat(B,"]"))))[t.length-1],o=void 0!==a?a.nextSibling:null;i.setAttribute(B,z),i.setAttribute(H,$);var s=e$();return s&&i.setAttribute("nonce",s),r.insertBefore(i,o),i},eq=function(){function e(e){this.element=eV(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var n=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets,r=0,i=n.length;r<i;r++){var a=n[r];if(a.ownerNode===e)return a}throw K(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eG=function(){function e(e){this.element=eV(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eY=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eK=q,eJ={isServer:!q,useCSSOMInjection:!G},eX=function(){function e(e,t,r){void 0===e&&(e=en),void 0===t&&(t={});var i=this;this.options=(0,n.__assign)((0,n.__assign)({},eJ),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&q&&eK&&(eK=!1,eH(this)),eN(this,function(){for(var e=i.getTag(),t=e.length,n="",r=0;r<t;r++)!function(t){var r=X.get(t);if(void 0===r)return;var a=i.names.get(r);if(void 0===a||!a.size)return;var o=e.getGroup(t);if(0!==o.length){var s=B+".g"+t+'[id="'+r+'"]',l="";a.forEach(function(e){e.length>0&&(l+=e+",")}),n+=o+s+'{content:"'+l+'"}'+V}}(r);return n})}return e.registerId=function(e){return Q(e)},e.prototype.rehydrate=function(){!this.server&&q&&eH(this)},e.prototype.reconstructWithOptions=function(t,r){void 0===r&&(r=!0);var i=new e((0,n.__assign)((0,n.__assign)({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&q&&t.target!==this.options.target&&ej(this.options.target)!==ej(t.target)&&eH(i),i},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new eW(e.isServer?new eY(n):t?new eq(n):new eG(n))))},e.prototype.hasNameForId=function(e,t){var n,r;return null!=(r=null==(n=this.names.get(e))?void 0:n.has(t))&&r},e.prototype.registerName=function(e,t){Q(e);var n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Q(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Q(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eZ=/&/g;function eQ(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,n=0,r=0,i=!1,a=0;a<t;a++){var o=e.charCodeAt(a);if(0!==r||i||47!==o||42!==e.charCodeAt(a+1))if(i)42===o&&47===e.charCodeAt(a+1)&&(i=!1,a++);else if(34!==o&&39!==o||0!==a&&92===e.charCodeAt(a-1)){if(0===r){if(123===o)n++;else if(125===o&&--n<0)return!0}}else 0===r?r=o:r===o&&(r=0);else i=!0,a++}return 0!==n||0!==r}function e0(e){var t,n,r,i,a,o,c=void 0===e?en:e,u=c.options,h=void 0===u?en:u,f=c.plugins,_=void 0===f?et:f,I=function(e,t,n){return n.startsWith(a)&&n.endsWith(a)&&n.replaceAll(a,"").length>0?".".concat(i):e},O=_.slice();O.push(function(e){e.type===l&&e.value.includes("&")&&(o||(o=RegExp("\\".concat(a,"\\b"),"g")),e.props[0]=e.props[0].replace(eZ,a).replace(o,I))}),h.prefix&&O.push(R),O.push(W);var j=[],B=(n=(t=O.concat((r=function(e){return j.push(e)},function(e){!e.root&&(e=e.return)&&r(e)}))).length,function(e,r,i,a){for(var o="",s=0;s<n;s++)o+=t[s](e,r,i,a)||"";return o}
1),z=function(e,t,n,r){void 0===t&&(t=""),void 0===n&&(n=""),void 0===r&&(r="&"),i=r,a=t,o=void 0;var l,c,u,f=function(e){if(!eQ(e))return e;for(var t=e.length,n="",r=0,i=0,a=0,o=!1,s=0;s<t;s++){var l=e.charCodeAt(s);if(0!==a||o||47!==l||42!==e.charCodeAt(s+1))if(o)42===l&&47===e.charCodeAt(s+1)&&(o=!1,s++);else if(34!==l&&39!==l||0!==s&&92===e.charCodeAt(s-1)){if(0===a)if(123===l)i++;else if(125===l){if(--i<0){for(var c=s+1;c<t;){var u=e.charCodeAt(c);if(59===u||10===u)break;c++}c<t&&59===e.charCodeAt(c)&&c++,i=0,s=c-1,r=c;continue}0===i&&(n+=e.substring(r,s+1),r=s+1)}else 59===l&&0===i&&(n+=e.substring(r,s+1),r=s+1)}else 0===a?a=l:a===l&&(a=0);else o=!0,s++}if(r<t){var d=e.substring(r);eQ(d)||(n+=d)}return n}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,n=[],r=0,i=0,a=0,o=0;i<t;){var s=e.charCodeAt(i);if(34!==s&&39!==s||0!==i&&92===e.charCodeAt(i-1))if(0===a)if(47===s&&i+1<t&&42===e.charCodeAt(i+1)){for(i+=2;i+1<t&&(42!==e.charCodeAt(i)||47!==e.charCodeAt(i+1));)i++;i+=2}else if(40===s&&i>=3&&108==(32|e.charCodeAt(i-1))&&114==(32|e.charCodeAt(i-2))&&117==(32|e.charCodeAt(i-3)))o=1,i++;else if(o>0)41===s?o--:40===s&&o++,i++;else if(42===s&&i+1<t&&47===e.charCodeAt(i+1))i>r&&n.push(e.substring(r,i)),r=i+=2;else if(47===s&&i+1<t&&47===e.charCodeAt(i+1)){for(i>r&&n.push(e.substring(r,i));i<t&&10!==e.charCodeAt(i);)i++;r=i}else i++;else i++;else 0===a?a=s:a===s&&(a=0),i++}return 0===r?e:(r<t&&n.push(e.substring(r)),n.join(""))}(e)),_=(u=function e(t,n,r,i,a,o,l,c,u){for(var h,f,_,k,I=0,O=0,N=l,W=0,R=0,j=0,B=1,z=1,H=1,$=0,V="",q=a,G=o,Y=i,K=V;z;)switch(j=$,$=P()){case 40:if(108!=j&&58==b(K,N-1)){-1!=g(K+=m(F($),"&","&\f"),"&\f",d(I?c[I-1]:0))&&(H=-1);break}case 34:case 39:case 91:K+=F($);break;case 9:case 10:case 13:case 32:K+=function(e){for(;S=M();)if(S<33)P();else break;return D(e)>2||D(S)>3?"":" "}(j);break;case 92:K+=function(e,t){for(var n;--t&&P()&&!(S<48)&&!(S>102)&&(!(S>57)||!(S<65))&&(!(S>70)||!(S<97)););return n=A+(t<6&&32==M()&&32==P()),w(x,e,n)}(A-1,7);continue;case 47:switch(M()){case 42:case 47:v((h=function(e,t){for(;P();)if(e+S===57)break;else if(e+S===84&&47===M())break;return"/*"+w(x,t,A-1)+"*"+p(47===e?e:P())}(P(),A),f=n,_=r,k=u,T(h,f,_,s,p(S),w(h,2,-2),0,k)),u),(5==D(j||1)||5==D(M()||1))&&y(K)&&" "!==w(K,-1,void 0)&&(K+=" ");break;default:K+="/"}break;case 123*B:c[I++]=y(K)*H;case 125*B:case 59:case 0:switch($){case 0:case 125:z=0;case 59+O:-1==H&&(K=m(K,/\f/g,"")),R>0&&(y(K)-N||0===B&&47===j)&&v(R>32?L(K+";",i,r,N-1,u):L(m(K," ","")+";",i,r,N-2,u),u);break;case 59:K+=";";default:if(v(Y=U(K,n,r,I,O,a,c,V,q=[],G=[],N,o),o),123===$)if(0===O)e(K,n,Y,Y,q,o,N,c,G);else{switch(W){case 99:if(110===b(K,3))break;case 108:if(97===b(K,2))break;default:O=0;case 100:case 109:case 115:}O?e(t,Y,Y,i&&v(U(t,Y,Y,0,0,a,c,V,a,q=[],N,G),G),a,G,N,c,i?q:G):e(K,Y,Y,Y,[""],G,0,c,G)}}I=O=R=0,B=H=1,V=K="",N=l;break;case 58:N=1+y(K),R=j;default:if(B<1){if(123==$)--B;else if(125==$&&0==B++&&125==(S=A>0?b(x,--A):0,C--,10===S&&(C=1,E--),S))continue}switch(K+=p($),$*B){case 38:H=O>0?1:(K+="\f",-1);break;case 44:c[I++]=(y(K)-1)*H,H=1;break;case 64:45===M()&&(K+=F(P())),W=M(),O=N=y(V=K+=function(e){for(;!D(M());)P();return w(x,e,A)}(A)),$++;break;case 45:45===j&&2==y(K)&&(B=0)}}return o}("",null,null,null,[""],(c=l=n||t?"".concat(n," ").concat(t," { ").concat(f," }"):f,E=C=1,k=y(x=c),A=0,l=[]),0,[0],l),x="",u);return h.namespace&&(_=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(_,h.namespace)),j=[],N(_,B),j};return z.hash=_.length?_.reduce(function(e,t){return t.name||K(15),ep(e,t.name)},5381).toString():"",z}var e1=new eX,e2=e0(),e3=r.default.createContext({shouldForwardProp:void 0,styleSheet:e1,stylis:e2}),e5=(e3.Consumer,r.default.createContext(void 0));function e4(){return r.default.useContext(e3)}function e6(e){if(!r.default.useMemo)return e.children;var t=e4().styleSheet,n=r.default.useMemo(function(){var n=t;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[e.disableCSSOMInjection,e.sheet,e.target,t]),i=r.default.useMemo(function(){return e0({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),a=r.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:i}},[e.shouldForwardProp,n,i]);return r.default.createElement(e3.Provider,{value:a},r.default.createElement(e5.Provider,{value:i},e.children))}var e8=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=e2);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,eN(this,function(){throw K(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=e2),this.name+e.hash},e}();function e9(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var e7=function(e){return null==e||!1===e||""===e},te=function(e){var t=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!e7(i)&&(Array.isArray(i)&&i.isCss||eO(i)?t.push("".concat(e9(r),":"),i,";"):eF(i)?t.push.apply(t,(0,n.__spreadArray)((0,n.__spreadArray)(["".concat(r," {")],te(i),!1),["}"],!1)):t.push("".concat(e9(r),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in j||r.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function tt(e,t,n,r,i){if(void 0===i&&(i=[]),"string"==typeof e)return e&&i.push(e),i;if(e7(e))return i;if(eP(e))return i.push(".".concat(e.styledComponentId)),i;if(eO(e))return!eO(e)||e.prototype&&e.prototype.isReactComponent||!t?(i.push(e),i):tt(e(t),t,n,r,i);if(e instanceof e8)return n?(e.inject(n,r),i.push(e.getName(r))):i.push(e),i;if(eF(e)){for(var a=te(e),o=0;o<a.length;o++)i.push(a[o]);return i}if(!Array.isArray(e))return i.push(e.toString()),i;for(o=0;o<e.length;o++)tt(e[o],t,n,r,i);return i}function tn(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(eO(n)&&!eP(n))return!1}return!0}var tr=eh($),ti=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&tn(e),this.componentId=t,this.baseHash=ep(tr,t),this.baseStyle=n,eX.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n
1).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=eM(r,this.staticRulesId);else{var i=eD(tt(this.rules,e,t,n)),a=eu(ep(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,a)){var o=n(i,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,o)}r=eM(r,a),this.staticRulesId=a}else{for(var s=ep(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=eD(tt(u,e,t,n));s=ep(ep(s,String(c)),d),l+=d}}if(l){var p=eu(s>>>0);if(!t.hasNameForId(this.componentId,p)){var h=n(l,".".concat(p),void 0,this.componentId);t.insertRules(this.componentId,p,h)}r=eM(r,p)}}return{className:r,css:"u"<typeof window?t.getTag().getGroup(Q(this.componentId)):""}},e}(),ta=r.default.createContext(void 0);ta.Consumer;var to={};function ts(e,t,i){var a,o,s,l,c=eP(e),u=!em(e),d=t.attrs,p=void 0===d?et:d,h=t.componentId,f=void 0===h?(a=t.displayName,o=t.parentComponentId,to[s="string"!=typeof a?"sc":es(a)]=(to[s]||0)+1,l="".concat(s,"-").concat(ef($+s+to[s])),o?"".concat(o,"-").concat(l):l):h,m=t.displayName,g=void 0===m?em(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):m,b=t.displayName&&t.componentId?"".concat(es(t.displayName),"-").concat(t.componentId):t.componentId||f,w=c&&e.attrs?e.attrs.concat(p).filter(Boolean):p,y=t.shouldForwardProp;if(c&&e.shouldForwardProp){var v=e.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;y=function(e,t){return v(e,t)&&_(e,t)}}else y=v}var E=new ti(i,b,c?e.componentStyle:void 0);function C(e,t){return function(e,t,i){var a,o=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=r.default.useContext(ta),h=e4(),f=e.shouldForwardProp||h.shouldForwardProp,m=er(t,p,l)||en,g=function(e,t,r){for(var i,a=(0,n.__assign)((0,n.__assign)({},t),{className:void 0,theme:r}),o=0;o<e.length;o+=1){var s=eO(i=e[o])?i(a):i;for(var l in s)"className"===l?a.className=eM(a.className,s[l]):"style"===l?a.style=(0,n.__assign)((0,n.__assign)({},a.style),s[l]):a[l]=s[l]}return"className"in t&&"string"==typeof t.className&&(a.className=eM(a.className,t.className)),a}(o,t,m),b=g.as||d,w={};for(var y in g)void 0===g[y]||"$"===y[0]||"as"===y||"theme"===y&&g.theme===m||("forwardedAs"===y?w.as=g.forwardedAs:f&&!f(y,b)||(w[y]=g[y]));var v=(a=e4(),s.generateAndInjectStyles(g,a.styleSheet,a.stylis)).className,_=eM(c,u);return v&&(_+=" "+v),g.className&&(_+=" "+g.className),w[em(b)&&!ei.has(b)?"class":"className"]=_,i&&(w.ref=i),(0,r.createElement)(b,w)}(k,e,t)}C.displayName=g;var k=r.default.forwardRef(C);return k.attrs=w,k.componentStyle=E,k.displayName=g,k.shouldForwardProp=y,k.foldedComponentIds=c?eM(e.foldedComponentIds,e.styledComponentId):"",k.styledComponentId=b,k.target=c?e.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=c?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)!function e(t,n,r){if(void 0===r&&(r=!1),!r&&!eF(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(eF(n))for(var i in n)t[i]=e(t[i],n[i]);return t}(e,t[r],!0);return e}({},e.defaultProps,t):t}}),eN(k,function(){return".".concat(k.styledComponentId)}),u&&function e(t,n,r){if("string"!=typeof n){if(eI){var i=eT(n);i&&i!==eI&&e(t,i,r)}var a=eA(n);eS&&(a=a.concat(eS(n)));for(var o=eC(t),s=eC(n),l=0;l<a.length;++l){var c=a[l];if(!(c in ev||r&&r[c]||s&&c in s||o&&c in o)){var u=ex(n,c);try{ek(t,c,u)}catch(e){}}}}return t}(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function tl(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tc=function(e){return Object.assign(e,{isCss:!0})};function tu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return eO(e)||eF(e)?tc(tt(tl(et,(0,n.__spreadArray)([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?tt(e):tc(tt(tl(e,t)))}var td=function(e){return function e(t,r,i){if(void 0===i&&(i=en),!r)throw K(1,r);var a=function(e){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];return t(r,i,tu.apply(void 0,(0,n.__spreadArray)([e],a,!1)))};return a.attrs=function(a){return e(t,r,(0,n.__assign)((0,n.__assign)({}
1,i),{attrs:Array.prototype.concat(i.attrs,a).filter(Boolean)}))},a.withConfig=function(a){return e(t,r,(0,n.__assign)((0,n.__assign)({},i),a))},a}(ts,e)};ei.forEach(function(e){td[e]=td(e)});var tp=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=tn(e),eX.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(eD(tt(this.rules,t,n,r)),""),a=this.componentId+e;n.insertRules(a,a,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&eX.registerId(this.componentId+e);var i=this.componentId+e;this.isStatic?n.hasNameForId(i,i)||this.createStyles(e,t,n,r):(this.removeStyles(e,n),this.createStyles(e,t,n,r))},e}();function th(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=e$(),r=eD([n&&'nonce="'.concat(n,'"'),"".concat(B,'="true"'),"".concat(H,'="').concat($,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw K(2);return e._emitSheetCSS()}
1,this.getStyleElement=function(){if(e.sealed)throw K(2);var t,i=e.instance.toString();if(!i)return[];var a=((t={})[B]="",t[H]=$,t.dangerouslySetInnerHTML={__html:i},t),o=e$();return o&&(a.nonce=o),[r.default.createElement("style",(0,n.__assign)({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eX({isServer:!0}),this.sealed=!1}th.prototype.collectStyles=function(e){if(this.sealed)throw K(2);return r.default.createElement(e6,{sheet:this.instance},e)},th.prototype.interleaveWithNodeStream=function(e){throw K(3)},e.s(["createGlobalStyle",0,function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var a=tu.apply(void 0,(0,n.__spreadArray)([e],t,!1)),o="sc-global-".concat(ef(JSON.stringify(a))),s=new tp(a,o),l=new WeakMap,c=function(e){var t=e4(),n=r.default.useContext(ta),i=l.get(t.styleSheet);return void 0===i&&(i=t.styleSheet.allocateGSInstance(o),l.set(t.styleSheet,i)),"u">typeof window&&t.styleSheet.server||u(i,e,t.styleSheet,n,t.stylis),r.default.useLayoutEffect(function(){return t.styleSheet.server||u(i,e,t.styleSheet,n,t.stylis),function(){var e;s.removeStyles(i,t.styleSheet),e=t.styleSheet.options.target,"u">typeof document&&(null!=e?e:document).querySelectorAll('style[data-styled-global="'.concat(o,'"]')).forEach(function(e){return e.remove()})}},[i,e,t.styleSheet,n,t.stylis]),null};function u(e,t,r,i,a){if(s.isStatic)s.renderStyles(e,Y,r,a);else{var o=(0,n.__assign)((0,n.__assign)({},t),{theme:er(t,i,c.defaultProps)});s.renderStyles(e,o,r,a)}}return r.default.memo(c)},"css",0,tu,"keyframes",0,function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=eD(tu.apply(void 0,(0,n.__spreadArray)([e],t,!1)));return new e8(ef(i),i)},"styled",0,td],908404)},840779,e=>{"use strict";var t=e.i(650394),n=e.i(548056),r=e.i(929609),i=e.i(908404),a=e.i(115497),o=e.i(717804),s=e.i(267810),l=e.i(527796),c=e.i(864597),u=e.i(673953),d=e.i(501132),p=e.i(528639),h=e.i(915528);e.i(855313);let f=(0,n.create)(()=>({listings:[],loading:!1})),m=f.setState,g=(e=!0)=>{let n=(0,r.u)(),i=f(e=>e.listings),a=f(e=>e.loading),o=!!i.length;return(0,t.useEffect)(()=>{e&&!o&&(m({listings:[],loading:!0}),(async e=>{let t=new URL("v3/wallets","https://explorer-api.walletconnect.com");t.searchParams.append("projectId",e);let n=await fetch(t);return n.ok?Object.values((await n.json()).listings).sort(({slug:e},{slug:t})=>"rainbow"===e&&"metamask"===t?1:"metamask"===e||"rainbow"===e?-1:1):(console.debug(`Failed to fetch WalletConnect listings: ${await n.text().catch(()=>"No response.")}`),[])})(n.walletConnectCloudProjectId).then(e=>m({listings:e,loading:!1})).catch(e=>{console.error(e),m({listings:[],loading:!1})}))},[e,o,n.walletConnectCloudProjectId]),{listings:i,loading:a}};function b(e){return"cryptocom"===e?"cryptocom-defi":"binance"===e?"binance-defi":e.replace(/[-_]wallet$/,"")}function w(e){return"ethereum"===e.type}function y(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r?.address!==i?.address||r&&i&&w(r)&&w(i)&&r?.chainId!==i?.chainId||r?.connectorType!==i?.connectorType||r?.connectedAt!==i?.connectedAt||r?.walletClientType!==i?.walletClientType||r?.isConnected!==i?.isConnected||r?.linked!==i?.linked)return!1}return!0}let v=(e,t)=>e.rpcTimeouts&&e.rpcTimeouts[t]||r.n;class _ extends s.r{buildConnectedWallet(e,t,n,r){let i=async()=>!!this.wallets.find(t=>(0,u.getAddress)(t.address)===(0,u.getAddress)(e));return{type:"ethereum",address:(0,u.getAddress)(e),chainId:t,meta:n,imported:r,switchChain:async n=>{let r,i,a=this.wallets.find(t=>(0,u.getAddress)(t.address)===(0,u.getAddress)(e))?.chainId;if(!a)throw new p.P("Unable to determine current chainId.");if("number"==typeof n?(r=`0x${n.toString(16)}`,i=n):(r=n,i=Number(n)),a===(0,s.m)(r))return;let o=this.chains.find(e=>e.id===i);if(!o)throw new p.P(`Unsupported chainId: ${n}`);let l=async()=>{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:r}]})};try{return await l()}catch(e){if(((e,t)=>{switch(t){case"coinbase_wallet":case"base_account":return e.message.includes("addEthereumChain");case"rabby_wallet":return e.message.includes("Unrecognized chain ID");default:return 4902===e.code||e.message?.includes("4902")}})(e,this.walletClientType))return"rabby_wallet"===this.walletClientType&&await (0,s.k)(300),await this.proxyProvider.request({method:"wallet_addEthereumChain",params:[{chainId:r,chainName:o.name,nativeCurrency:o.nativeCurrency,rpcUrls:[o.rpcUrls.default?.http[0]??""],blockExplorerUrls:[o.blockExplorers?.default.url??""]}]}),l();if("rainbow"===this.walletClientType&&e.message?.includes("wallet_switchEthereumChain"))throw new p.P(`Rainbow does not support the chainId ${t}`);throw e}},connectedAt:Date.now(),walletClientType:this.walletClientType,connectorType:this.connectorType,isConnected:i,getEthereumProvider:async()=>
1{if(!await i())throw new p.P("Wallet is not currently connected.");return this.proxyProvider},sign:async e=>{if(!await i())throw new p.P("Wallet is not currently connected.");return await this.sign(e)},disconnect:()=>{this.disconnect()}}}async syncAccounts(e){let t;s.c.debug("Syncing accounts",{wallet:this.walletClientType});let n=e;try{if(void 0===n){s.c.rpcRequest("eth_accounts",this.walletClientType);let e=await (0,s.i)(()=>this.proxyProvider.request({method:"eth_accounts"}),{maxAttempts:10,delayMs:500});s.c.rpcResponse("eth_accounts",this.walletClientType),Array.isArray(e)&&(n=e)}}catch(e){s.c.warn("Wallet did not respond to eth_accounts, using prefetched accounts",{wallet:this.walletClientType})}if(!n||!Array.isArray(n)||n.length<=0||!n[0])return void s.c.debug("No accounts found",{wallet:this.walletClientType});let i=n[0];if(!(0,c.isAddress)(i))return;let a=(0,u.getAddress)(i),o=[];if("privy"===this.walletClientType){let e=s.s.get((0,r.o)(a));this.chains.find(t=>t.id===Number(e))||(s.s.del((0,r.o)(a)),e=null),t=e||`0x${this.defaultChain.id.toString(16)}`;try{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})}catch(e){s.c.warn("Unable to switch embedded wallet chain on initialization",{wallet:this.walletClientType,chainId:t})}}else try{s.c.rpcRequest("eth_chainId",this.walletClientType);let e=await (0,s.i)(()=>this.proxyProvider.request({method:"eth_chainId"}),{maxAttempts:10,delayMs:500});if(s.c.rpcResponse("eth_chainId",this.walletClientType),"string"==typeof e)t=e;else{if("number"!=typeof e)throw Error("Invalid chainId returned from provider");t=`0x${e.toString(16)}`}}catch(e){s.c.warn("Failed to get chainId from provider, using default",{wallet:this.walletClientType,defaultChainId:r.p}),t=r.p}let l=(0,s.m)(t);if(!o.find(e=>(0,u.getAddress)(e.address)===a)){let e={name:this.walletBranding.name,icon:"string"==typeof this.walletBranding.icon?this.walletBranding.icon:void 0,id:this.walletBranding.id};o.push(this.buildConnectedWallet((0,u.getAddress)(i),l,e,"embedded_imported"===this.connectorType))}y(o,this.wallets)||(s.c.debug("Wallets updated",{wallet:this.walletClientType,address:a,chainId:l}),this.wallets=o,this.emit("walletsUpdated"))}async getConnectedWallet(){let e=await this.proxyProvider.request({method:"eth_accounts"});return this.wallets.sort((e,t)=>t.connectedAt-e.connectedAt).find(t=>e.find(e=>(0,u.getAddress)(e)===(0,u.getAddress)(t.address)))||null}async isConnected(){let e=await this.proxyProvider.request({method:"eth_accounts"});return Array.isArray(e)&&e.length>0}async sign(e){return await this.connect({showPrompt:!1}),this.proxyProvider.request({method:"personal_sign",params:[(0,d.toHex)(e),this.wallets[0]?.address]})}subscribeListeners(){this.proxyProvider.on("accountsChanged",this.onAccountsChanged),this.proxyProvider.on("chainChanged",this.onChainChanged),this.proxyProvider.on("disconnect",this.onDisconnect),this.proxyProvider.on("connect",this.onConnect)}unsubscribeListeners(){this.proxyProvider.removeListener("accountsChanged",this.onAccountsChanged),this.proxyProvider.removeListener("chainChanged",this.onChainChanged),this.proxyProvider.removeListener("disconnect",this.onDisconnect),this.proxyProvider.removeListener("connect",this.onConnect)}constructor(e,t,n,i){super(e),this.chainType="ethereum",this.onAccountsChanged=e=>{s.c.providerEvent("accountsChanged",this.walletClientType,{accountsCount:e.length}),0===e.length?this.onDisconnect():this.syncAccounts(e)},this.onChainChanged=e=>{s.c.providerEvent("chainChanged",this.walletClientType,{chainId:e}),this.wallets.forEach(t=>{t.chainId=(0,s.m)(e),"privy"===this.walletClientType&&s.s.put((0,r.o)(t.address),e)}),this.emit("walletsUpdated")},this.onDisconnect=()=>{s.c.providerEvent("disconnect",this.walletClientType),this.connected=!1,this.wallets=[],this.emit("walletsUpdated")},this.onConnect=async()=>{s.c.providerEvent("connect",this.walletClientType),"base_account"===this.connectorType&&this.connected||(this.connected=!0,"coinbase_wallet"===this.connectorType&&await (0,s.k)(500),this.syncAccounts())},this.wallets=[],this.walletClientType=e,this.chains=t,this.defaultChain=n,this.rpcConfig=i,this.rpcTimeoutDuration=v(i,e),this.connected=!1,this.initialized=!1}}class E{on(e,t){if(this.walletProvider)return this.walletProvider.on(e,t);this._subscriptions.push({eventName:e,listener:t})}async request(e){if(!this.walletProvider)throw new p.P(`A wallet request of type ${e.method} was made before setting a wallet provider.`);return Promise.race([this.walletProvider.request(e),this.walletTimeout()]).catch(e=>{throw(0,s.f)(e)})}constructor(e,t){this.removeListener=(e,t)=>{if(this.walletProvider)try{return this.walletProvider.removeListener(e,t)}catch(e){console.warn("Unable to remove wallet provider listener")}},this.walletTimeout=(e=new s.w,t=this.rpcTimeoutDuration)=>new Promise((n,r)=>setTimeout(()=>{r(e)},t)),this.setWalletProvider=e=>
1{this.walletProvider&&this._subscriptions.forEach(e=>{this.removeListener(e.eventName,e.listener)}),this.walletProvider=e,this._subscriptions.forEach(e=>{this.walletProvider?.on(e.eventName,e.listener)})},this.walletProvider=e,this.rpcTimeoutDuration=t||r.n,this._subscriptions=[]}}let C=i.styled.div`
2  text-align: left;
3  flex-grow: 1;
4`,k=i.styled.div`
5  display: flex;
6  flex-direction: column;
7  justify-content: flex-end;
8  flex-grow: 1;
9`,A=i.styled.div`
10  display: flex;
11  flex-direction: column;
12  gap: 8px;
13
14  /* for Internet Explorer, Edge */
15  -ms-overflow-style: none;
16
17  /* for Firefox */
18  scrollbar-width: none;
19
20  /* for Chrome, Safari, and Opera */
21  &::-webkit-scrollbar {
22    display: none;
23  }
24`,S=(0,i.styled)(A)`
25  ${e=>"light"===e.$colorScheme?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":"dark"===e.$colorScheme?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0}
26
27  background-repeat: no-repeat;
28  background-size:
29    100% 32px,
30    100% 16px;
31  background-attachment: local, scroll;
32  max-height: 400px;
33  overflow-y: auto;
34  scrollbar-width: none;
35  padding: 3px;
36`,x=i.css`
37  && {
38    width: 100%;
39    font-size: 16px;
40    line-height: 24px;
41    min-height: 56px;
42
43    /* Tablet and Up */
44    @media (min-width: 440px) {
45      font-size: 14px;
46    }
47
48    display: flex;
49    gap: 12px;
50    align-items: center;
51    color: var(--privy-color-foreground);
52
53    padding: 10px 12px;
54    border: 1px solid var(--privy-color-foreground-4) !important;
55    border-radius: var(--privy-border-radius-md);
56    transition: background-color 200ms ease;
57
58    cursor: pointer;
59
60    &:hover {
61      background-color: var(--privy-color-background-2);
62    }
63
64    &:disabled {
65      cursor: pointer;
66      background-color: var(--privy-color-background-2);
67    }
68  }
69`,T=i.styled.div`
70  text-align: center;
71  font-size: 14px;
72  margin-bottom: 24px;
73`,I=i.styled.button.attrs({className:"login-method-button"})`
74  ${x}
75`;i.styled.a`
76  ${x}
77`;let O=i.styled.div`
78  width: 32px;
79  height: 32px;
80  border-radius: ${e=>e.$fullSize?"0":"4px"};
81  background: ${e=>e.$fullSize?"transparent":"var(--privy-color-background-2)"};
82  display: flex;
83  align-items: center;
84  justify-content: center;
85  flex-shrink: 0;
86
87  svg {
88    width: ${e=>e.$fullSize?"32px":"18px"};
89    height: ${e=>e.$fullSize?"32px":"18px"};
90    color: ${e=>e.$fullSize?"inherit":"var(--privy-color-icon-muted)"};
91  }
92`,P=i.styled.div`
93  width: 100%;
94  height: 100%;
95  min-height: inherit;
96  display: flex;
97  flex-direction: column;
98  ${e=>e.$if?"display: none;":""}
99`,M=i.styled.div`
100  width: 100%;
101  height: 100%;
102  padding: ${e=>e.$withPadding?"64px 0px":"0px"};
103`,D=i.styled.div`
104  display: flex;
105  flex-direction: column;
106  align-items: center;
107  justify-content: center;
108  margin-bottom: 32px;
109  gap: 12px;
110  & h3 {
111    font-size: 18px;
112    font-style: normal;
113    font-weight: 600;
114    line-height: 24px;
115  }
116  & p {
117    max-width: 300px;
118    font-size: 14px;
119    font-style: normal;
120    font-weight: 400;
121    line-height: 20px;
122  }
123`,F=i.styled.span`
124  && {
125    position: absolute;
126    top: 0;
127    left: 0;
128    z-index: 2;
129  }
130`,N=i.styled.span`
131  position: relative;
132  width: 82px;
133  height: 82px;
134  display: inline-block;
135`,W=i.styled.span`
136  && {
137    width: 82px;
138    height: 82px;
139    border-width: 4px;
140    border-style: solid;
141    border-color: ${e=>e.color??"var(--privy-color-icon-subtle)"};
142    border-bottom-color: transparent;
143    border-radius: 50%;
144    display: inline-block;
145    box-sizing: border-box;
146    animation: rotation 1.2s linear infinite;
147    transition: border-color 800ms;
148  }
149
150  @keyframes rotation {
151    0% {
152      transform: rotate(0deg);
153    }
154    100% {
155      transform: rotate(360deg);
156    }
157  }
158
159  &&&.success {
160    border-color: var(--privy-color-icon-success);
161    border-bottom-color: var(--privy-color-icon-success);
162  }
163
164  &&&.fail {
165    border-color: var(--privy-color-icon-error);
166    border-bottom-color: var(--privy-color-icon-error);
167  }
168`,R=(0,i.styled)(W)`
169  && {
170    border-bottom-color: ${e=>e.color??"var(--privy-color-border-default)"};
171    border-color: ${e=>e.color??"var(--privy-color-border-default)"};
172    animation: none;
173    opacity: 0.5;
174  }
175`,U=(0,i.styled)(W)`
176  && {
177    height: 1rem;
178    width: 1rem;
179    margin: 2px 0;
180    border-width: 1.5px;
181
182    /* Override default Loader to match button transitions */
183    transition: border-color 200ms ease;
184  }
185`,L=["metamask","phantom","brave_wallet","rainbow","uniswap_wallet_extension","uniswap_extension","rabby_wallet","bybit_wallet","ronin_wallet","haha_wallet","crypto.com_wallet_extension","crypto.com_onchain","binance","bitget_wallet","coinbase_wallet","coinbase_smart_wallet","base_account","metamask","trust","safe","rainbow","uniswap","zerion","argent","spot","omni","cryptocom","blockchain","safepal","bitget_wallet","zengo","1inch","binance","exodus","mew_wallet","alphawallet","keyring_pro","mathwallet","unstoppable","obvious","ambire","internet_money_wallet","coin98","abc_wallet","arculus_wallet","haha","cling_wallet","broearn","copiosa","burrito_wallet","enjin_wallet","plasma_wallet","avacus","bee","pitaka","pltwallet","minerva","kryptogo","prema","slingshot","kriptonio","timeless","secux","bitizen","blocto","okx_wallet","safemoon","rabby_wallet","bybit_wallet","ronin_wallet","haha_wallet","privy","unknown","phantom","solflare","glow","backpack","jupiter","mobile_wallet_adapter"],j=Object.freeze({phantom:{client:"phantom",name:"Phantom",installLink:o.isFirefox?"https://addons.mozilla.org/en-US/firefox/addon/phantom-app/":"https://chrome.google.com/webstore/detail/phantom/bfnaelmomeimhlpmgjnjophhpkkoljpa?hl=en",chainTypes:["ethereum","solana"],get isInstalled(){if("phantom"in window){let e=window;if(e?.phantom?.ethereum?.isPhantom&&e?.phantom?.ethereum?.chainId||e?.ph
185antom?.solana?.isPhantom)return!0}return!1},getMobileRedirect({useUniversalLink:e,isSolana:t,connectOnly:n}){let r=B({client:this.client,isSolana:t,connectOnly:n});return`${e?"phantom://":"https://phantom.app/ul/"}browse/${r}?ref=${r}`}},solflare:{client:"solflare",name:"Solflare",installLink:o.isFirefox?"https://addons.mozilla.org/es/firefox/addon/solflare-wallet/":"https://chromewebstore.google.com/detail/solflare-wallet/bhhhlbepdkbapadjdnnojkbgioiodbic",chainTypes:["solana"],get isInstalled(){return"solflare"in window&&!!window?.solflare?.isSolflare},getMobileRedirect({useUniversalLink:e,isSolana:t,connectOnly:n}){let r=B({client:this.client,isSolana:t,connectOnly:n});return`${e?"solflare://ul/v1/":"https://solflare.com/ul/v1/"}browse/${r}?ref=${r}`}},jupiter:{client:"jupiter",name:"Jupiter Wallet",installLink:"https://chromewebstore.google.com/detail/jupiter-wallet/iledlaeogohbilgbfhmbgkgmpplbfboh",chainTypes:["solana"],get isInstalled(){return"jupiter"in window&&!!window?.jupiter?.isJupiter},getMobileRedirect({isSolana:e,connectOnly:t}){let n=B({client:this.client,isSolana:e,connectOnly:t});return`jupjupjup://jup.ag/browse/${n}?ref=${n}`}},backpack:{client:"backpack",name:"Backpack",installLink:"https://chromewebstore.google.com/detail/backpack/aflkmfhebedbjioipglgcbcmnbpgliof",chainTypes:["ethereum","solana"],get isInstalled(){return!(!("backpack"in window)||!window?.backpack?.ethereum?.isBackpack&&!window?.backpack?.solana?.isBackpack)},getMobileRedirect({useUniversalLink:e,isSolana:t,connectOnly:n}){let r=B({client:this.client,isSolana:t,connectOnly:n});return`${e?"backpack://ul/v1/":"https://backpack.app/ul/v1/"}browse/${r}?ref=${r}`}},okx_wallet:{client:"okx_wallet",name:"OKX Wallet",installLink:"https://chromewebstore.google.com/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",chainTypes:["ethereum","solana"],get isInstalled(){return"okxwallet"in window&&!!window?.okxwallet?.isOkxWallet},getMobileRedirect({isSolana:e,connectOnly:t}){return`okx://wallet/dapp/url?dappUrl=${B({client:this.client,isSolana:e,connectOnly:t})}`}}});function B({client:e,isSolana:t,connectOnly:n}){let r=new URL(window.location.href);return r.searchParams.set("privy_connector",t?"solana_adapter":"injected"),r.searchParams.set("privy_wallet_client",e),r.searchParams.set("privy_connect_only",String(n)),encodeURIComponent(r.href.replace(/\/$/g,""))}class z extends s.S{get walletBranding(){return{id:this.id,name:this.name,icon:this.icon}}async initialize(){this.initialized=!0,this.emit("initialized")}async connect(){throw Error("connect called for an uninstalled wallet via the SolanaNullConnector")}constructor({id:e,name:t,icon:n}){super({name:t},!1),this.connectorType="null",this.proxyProvider=new E(void 0,r.n),this.disconnect=async()=>{throw Error("disconnect called for an uninstalled wallet via the SolanaNullConnector")},this.promptConnection=async()=>{throw Error("promptConnection called for an uninstalled wallet via the SolanaNullConnector")},this.id=e,this.name=t,this.icon=n}}let H=(0,t.createContext)({}),$=e=>`privy:${e}:recent-login-method`,V=e=>`privy:${e}:recent-login-wallet-client`,q=e=>`privy:${e}:recent-login-chain-type`,G=(0,n.create)(()=>({isModalOpen:!1,resolvers:null}));(0,n.create)(()=>({}));e.s(["A",0,I,"B",0,e=>(0,a.jsx)(U,{color:e.color||"var(--privy-color-foreground-3)"}),"C",0,O,"D",0,M,"E",0,_,"F",0,D,"G",0,C,"H",0,P,"I",0,S,"J",0,T,"K",0,k,"L",0,W,"M",0,({...e})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:[(0,a.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"#121314"}),(0,a.jsx)("g",{transform:"translate(4, 4)",children:(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 318.6 318.6",children:[(0,a.jsx)("style",{children:".s1{stroke-linecap:round;stroke-linejoin:round}.s2{fill:#e4761b;stroke:#e4761b}.s3{fill:#f6851b;stroke:#f6851b}"}),(0,a.jsx)("path",{fill:"#e2761b",stroke:"#e2761b",className:"s1",d:"m274.1 35.5-99.5 73.9L193 65.8z"}),(0,a.jsx)("path",{d:"m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",className:"s1 s2"}),(0,a.jsx)("path",{d:"m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",className:"s1 s2"}),(0,a.jsx)("path",{fill:"#d7c1b3",stroke:"#d7c1b3",className:"s1",d:"m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"}),(0,a.jsx)("path",{fill:"#233447",stroke:"#233447",className:"s1",d:"m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"}),(0,a.jsx)("path",{fill:"#cd6116",stroke:"#cd6116",className:"s1",d:"m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"}),(0,a.jsx)("path",{fill:"#e4751f",stroke:"#e4751f",className:"s1",d:"m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"}),(0,a.jsx)("path",{d:"m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",className:"s3"}),(0,a.jsx)("path",{fill:"#c0ad9e",stroke:"#c0ad9e",className:"s1",d:"m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"}),(0,a.jsx)("path",{fill:"#161616",stroke:"#161616",className:"s1",d:"m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"}),(0,a.jsx)("path",{fill:"#763d16",stroke:"#763d16",className:"s1",d:"m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"}),(0,a.jsx)("path",{d:"m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h4
1856.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",className:"s3"})]})})]}),"N",0,({success:e,fail:t})=>(0,a.jsxs)(N,{children:[(0,a.jsx)(F,{children:(0,a.jsx)(R,{className:e?"success":t?"fail":""})}),(0,a.jsx)(F,{children:(0,a.jsx)(W,{className:e?"success":t?"fail":""})})]}),"O",0,R,"P",0,E,"Q",0,A,"R",0,({children:e})=>{let n=(0,r.u)(),[i,o]=(0,t.useState)({});return(0,l.u)("login",{onComplete:({loginAccount:e})=>{e&&"passkey"!==e.type&&"cross_app"!==e.type&&("wallet"!==e.type||"privy"!==e.walletClientType)&&(s.s.put($(n.id),e.type),"wallet"===e.type?(s.s.put(V(n.id),e.walletClientType),s.s.put(q(n.id),e.chainType),o({accountType:e.type,walletClientType:e.walletClientType,chainType:e.chainType})):(s.s.del(V(n.id)),s.s.del(q(n.id)),o({accountType:e.type})))}}),(0,t.useEffect)(()=>{if(!n.id)return;let e=s.s.get($(n.id)),t=s.s.get(V(n.id)),r=s.s.get(q(n.id));e&&o("wallet"===e?{accountType:e,walletClientType:t,chainType:r}:{accountType:e})},[n.id]),(0,a.jsx)(H.Provider,{value:i,children:e})},"S",0,z,"a",0,e=>f.getState().listings.find(({slug:t})=>b(t)===b(e)),"b",0,v,"c",0,g,"d",0,y,"e",0,function({connectorType:e,walletClientType:t}){for(let n of L)if(e===n||t===n)return j[n]},"f",0,function(e){return"solana"===e.type},"g",0,e=>{let t;try{t=new URL(e).hostname}catch(e){return}return f.getState().listings.find(({homepage:e})=>{let n;try{n=new URL(e).hostname}catch(e){return!1}return t.includes(n)})},"h",0,function(e){return"ethereum"===e.chainType},"i",0,w,"j",0,function(e){return"solana"===e.chainType},"k",0,class extends _{get walletBranding(){return{id:this.id,name:this.name,icon:this.icon}}async initialize(){this.initialized=!0,this.emit("initialized")}async connect(){throw Error("connect called for an uninstalled wallet via the EthereumNullConnector")}disconnect(){throw Error("disconnect called for an uninstalled wallet via the EthereumNullConnector")}promptConnection(e){throw Error(`promptConnection called for an uninstalled wallet via the EthereumNullConnector for ${e}`)}constructor({id:e,name:t,icon:n,walletClientType:i,defaultChain:a}){super(i,[],a,{}),this.connectorType="null",this.proxyProvider=new E(void 0,r.n),this.id=e,this.name=t,this.icon=n}},"m",0,j,"n",0,function(e){let{logout:n}=(0,t.useContext)(h.P);return(0,l.u)("logout",e),{logout:n}},"r",0,()=>(0,t.useContext)(H),"s",0,function(e){return["wallet_connect","backpack","binance","binanceus","bitget_wallet","bybit_wallet","cryptocom","haha_wallet","jupiter","metamask","okx_wallet","phantom","rabby_wallet","rainbow","ronin_wallet","safe","solflare","uniswap","zerion","kraken_wallet"].some(t=>e?.includes(t))},"u",0,e=>{let[n,r]=(0,t.useState)("auto");return(0,t.useEffect)(()=>{let t=new ResizeObserver(e=>{r(e[0]?.contentRect.height??"auto")});return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}},[e.current]),n},"w",0,({address:e,client:t,appId:n})=>{let r,i=`${t}:${e}`;n&&s.s.put((r=n,`privy:${r}:active-wallet-connection`),i),G.setState({wallet:i})},"z",0,e=>{let{listings:t}=g();return t.find(({slug:t})=>b(t)===b(e))}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.