PageSourceSearch

https://fomo.cx/_next/static/chunks/ee4948e02cdc7504.js

js fomo.cx collected 2026-10-02 01:51:36 UTC 74,631 bytes, 1,105 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,606445,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(184022),e.i(140872);var i=e.i(167040),a=e.i(13294),n=e.i(158650);let s=n.css`
2  button {
3    border: none;
4    background: transparent;
5    height: 20px;
6    padding: ${({spacing:e})=>e[2]};
7    column-gap: ${({spacing:e})=>e[1]};
8    border-radius: ${({borderRadius:e})=>e[1]};
9    padding: 0 ${({spacing:e})=>e[1]};
10    border-radius: ${({spacing:e})=>e[1]};
11  }
12
13  /* -- Variants --------------------------------------------------------- */
14  button[data-variant='accent'] {
15    color: ${({tokens:e})=>e.core.textAccentPrimary};
16  }
17
18  button[data-variant='secondary'] {
19    color: ${({tokens:e})=>e.theme.textSecondary};
20  }
21
22  /* -- Focus states --------------------------------------------------- */
23  button:focus-visible:enabled {
24    box-shadow: 0px 0px 0px 4px rgba(9, 136, 240, 0.2);
25  }
26
27  button[data-variant='accent']:focus-visible:enabled {
28    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
29  }
30
31  button[data-variant='secondary']:focus-visible:enabled {
32    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
33  }
34
35  /* -- Hover & Active states ----------------------------------------------------------- */
36  button[data-variant='accent']:hover:enabled {
37    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
38  }
39
40  button[data-variant='secondary']:hover:enabled {
41    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
42  }
43
44  button[data-variant='accent']:focus-visible {
45    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
46  }
47
48  button[data-variant='secondary']:focus-visible {
49    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
50    box-shadow: 0px 0px 0px 4px rgba(9, 136, 240, 0.2);
51  }
52
53  button[disabled] {
54    opacity: 0.5;
55    cursor: not-allowed;
56  }
57`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c={sm:"sm-medium",md:"md-medium"},d={accent:"accent-primary",secondary:"secondary"},u=class extends t.LitElement{constructor(){super(...arguments),this.size="md",this.disabled=!1,this.variant="accent",this.icon=void 0}render(){return r.html`
58      <button ?disabled=${this.disabled} data-variant=${this.variant}>
59        <slot name="iconLeft"></slot>
60        <wui-text
61          color=${d[this.variant]}
62          variant=${c[this.size]}
63        >
64          <slot></slot>
65        </wui-text>
66        ${this.iconTemplate()}
67      </button>
68    `}iconTemplate(){return this.icon?r.html`<wui-icon name=${this.icon} size="sm"></wui-icon>`:null}};u.styles=[i.resetStyles,i.elementStyles,s],l([(0,o.property)()],u.prototype,"size",void 0),l([(0,o.property)({type:Boolean})],u.prototype,"disabled",void 0),l([(0,o.property)()],u.prototype,"variant",void 0),l([(0,o.property)()],u.prototype,"icon",void 0),u=l([(0,a.customElement)("wui-link")],u),e.s([],606445)},122388,e=>{"use strict";e.i(673331),e.s([])},18361,e=>{"use strict";var t=e.i(970422),r=e.i(906349),o=e.i(424756),i=e.i(464664);e.s(["HelpersUtil",0,{getTabsByNamespace:e=>e&&e===t.ConstantsUtil.CHAIN.EVM?r.OptionsController.state.remoteFeatures?.activity===!1?i.ConstantsUtil.ACCOUNT_TABS.filter(e=>"Activity"!==e.label):i.ConstantsUtil.ACCOUNT_TABS:[],isValidReownName:e=>/^[a-zA-Z0-9]+$/gu.test(e),isValidEmail:e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/gu.test(e),validateReownName:e=>e.replace(/\^/gu,"").toLowerCase().replace(/[^a-zA-Z0-9]/gu,""),hasFooter(){let e=o.RouterController.state.view;if(i.ConstantsUtil.VIEWS_WITH_LEGAL_FOOTER.includes(e)){let{termsConditionsUrl:e,privacyPolicyUrl:t}=r.OptionsController.state,o=r.OptionsController.state.features?.legalCheckbox;return(!!e||!!t)&&!o}return i.ConstantsUtil.VIEWS_WITH_DEFAULT_FOOTER.includes(e)}}])},446881,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(184022),e.i(140872);var i=e.i(167040),a=e.i(13294),n=e.i(158650);let s=n.css`
69  :host {
70    display: flex;
71    justify-content: center;
72    align-items: center;
73    gap: ${({spacing:e})=>e[1]};
74    text-transform: uppercase;
75    white-space: nowrap;
76  }
77
78  :host([data-variant='accent']) {
79    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
80    color: ${({tokens:e})=>e.core.textAccentPrimary};
81  }
82
83  :host([data-variant='info']) {
84    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
85    color: ${({tokens:e})=>e.theme.textSecondary};
86  }
87
88  :host([data-variant='success']) {
89    background-color: ${({tokens:e})=>e.core.backgroundSuccess};
90    color: ${({tokens:e})=>e.core.textSuccess};
91  }
92
93  :host([data-variant='warning']) {
94    background-color: ${({tokens:e})=>e.core.backgroundWarning};
95    color: ${({tokens:e})=>e.core.textWarning};
96  }
97
98  :host([data-variant='error']) {
99    background-color: ${({tokens:e})=>e.core.backgroundError};
100    color: ${({tokens:e})=>e.core.textError};
101  }
102
103  :host([data-variant='certified']) {
104    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
105    color: ${({tokens:e})=>e.theme.textSecondary};
106  }
107
108  :host([data-size='md']) {
109    height: 30px;
110    padding: 0 ${({spacing:e})=>e[2]};
111    border-radius: ${({borderRadius:e})=>e[2]};
112  }
113
114  :host([data-size='sm']) {
115    height: 20px;
116    padding: 0 ${({spacing:e})=>e[1]};
117    border-radius: ${({borderRadius:e})=>e[1]};
118  }
119`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends t.LitElement{constructor(){super(...arguments),this.variant="accent",this.size="md",this.icon=void 0}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;let e="md"===this.size?"md-medium":"sm-medium",t="md"===this.size?"md":"sm";return r.html`
120      ${this.icon?r.html`<wui-icon size=${t} name=${this.icon}></wui-icon>`:null}
121      <wui-text
122        display="inline"
123        data-variant=${this.variant}
124        variant=${e}
125        color="inherit"
126      >
127        <slot></slot>
128      </wui-text>
129    `}};c.styles=[i.resetStyles,s],l([(0,o.property)()],c.prototype,"variant",void 0),l([(0,o.property)()],c.prototype,"size",void 0),l([(0,o.property)()],c.prototype,"icon",void 0),c=l([(0,a.customElement)("wui-tag")],c),e.s([],446881)},146601,e=>{"use strict";let t={METMASK_CONNECTOR_NAME:"MetaMask",TRUST_CONNECTOR_NAME:"Trust Wallet",SOLFLARE_CONNECTOR_NAME:"Solflare",PHANTOM_CONNECTOR_NAME:"Phantom",COIN98_CONNECTOR_NAME:"Coin98",MAGIC_EDEN_CONNECTOR_NAME:"Magic Eden",BACKPACK_CONNECTOR_NAME:"Backpack",BITGET_CONNECTOR_NAME:"Bitget Wallet",FRONTIER_CONNECTOR_NAME:"Frontier",XVERSE_CONNECTOR_NAME:"Xverse Wallet",LEATHER_CONNECTOR_NAME:"Leather",OKX_CONNECTOR_NAME:"OKX Wallet",BINANCE_CONNECTOR_NAME:"Binance Wallet",EIP155:e.i(970422).ConstantsUtil.CHAIN.EVM,ADD_CHAIN_METHOD:"wallet_addEthereumChain",EIP6963_ANNOUNCE_EVENT:"eip6963:announceProvider",EIP6963_REQUEST_EVENT:"eip6963:requestProvider",CONNECTOR_RDNS_MAP:{coinbaseWallet:"com.coinbase.wallet",coinbaseWalletSDK:"com.coinbase.wallet"},CONNECTOR_TYPE_EXTERNAL:"EXTERNAL",CONNECTOR_TYPE_WALLET_CONNECT:"WALLET_CONNECT",CONNECTOR_TYPE_INJECTED:"INJECTED",CONNECTOR_TYPE_ANNOUNCED:"ANNOUNCED",CONNECTOR_TYPE_AUTH:"AUTH",CONNECTOR_TYPE_MULTI_CHAIN:"MULTI_CHAIN",CONNECTOR_TYPE_W3M_AUTH:"AUTH",getSDKVersionWarningMessage:(e,t)=>`
130     @@@@@@@           @@@@@@@@@@@@@@@@@@      
131   @@@@@@@@@@@      @@@@@@@@@@@@@@@@@@@@@@@@   
132  @@@@@@@@@@@@@    @@@@@@@@@@@@@@@@@@@@@@@@@@  
133 @@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@@@  
134 @@@@@@@@@@@@@@@  @@@@@@@@@@@@@@   @@@@@@@@@@@ 
135 @@@@@@@@@@@@@@@  @@@@@@@@@@@@@   @@@@@@@@@@@@ 
136 @@@@@@@@@@@@@@@  @@@@@@@@@@@@@  @@@@@@@@@@@@@
137 @@@@@@@@@@@@@@@  @@@@@@@@@@@@   @@@@@@@@@@@@@    
138 @@@@@@   @@@@@@  @@@@@@@@@@@   @@@@@@@@@@@@@@    
139 @@@@@@   @@@@@@  @@@@@@@@@@@  @@@@@@@@@@@@@@@ 
140 @@@@@@@@@@@@@@@  @@@@@@@@@@   @@@@@@@@@@@@@@@ 
141 @@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@@@  
142  @@@@@@@@@@@@@    @@@@@@@@@@@@@@@@@@@@@@@@@@  
143   @@@@@@@@@@@      @@@@@@@@@@@@@@@@@@@@@@@@   
144      @@@@@            @@@@@@@@@@@@@@@@@@  
145      
146AppKit SDK version ${e} is outdated. Latest version is ${t}. Please update to the latest version for bug fixes and new features.
147            
148Changelog: https://github.com/reown-com/appkit/releases
149NPM Registry: https://www.npmjs.com/package/@reown/appkit`};e.s(["ConstantsUtil",0,t])},697228,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(898515);var i=e.i(604281);e.i(673331),e.i(140872);var a=e.i(167040),n=e.i(13294),s=e.i(158650);let l=s.css`
150  :host {
151    width: 100%;
152  }
153
154  :host([data-type='primary']) > button {
155    background-color: ${({tokens:e})=>e.theme.backgroundPrimary};
156  }
157
158  :host([data-type='secondary']) > button {
159    background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
160  }
161
162  button {
163    display: flex;
164    align-items: center;
165    justify-content: space-between;
166    padding: ${({spacing:e})=>e[3]};
167    width: 100%;
168    border-radius: ${({borderRadius:e})=>e[4]};
169    transition:
170      background-color ${({durations:e})=>e.lg}
171        ${({easings:e})=>e["ease-out-power-2"]},
172      scale ${({durations:e})=>e.lg} ${({easings:e})=>e["ease-out-power-2"]};
173    will-change: background-color, scale;
174  }
175
176  wui-text {
177    text-transform: capitalize;
178  }
179
180  wui-image {
181    color: ${({tokens:e})=>e.theme.textPrimary};
182  }
183
184  @media (hover: hover) {
185    :host([data-type='primary']) > button:hover:enabled {
186      background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
187    }
188
189    :host([data-type='secondary']) > button:hover:enabled {
190      background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
191    }
192  }
193
194  button:disabled {
195    opacity: 0.5;
196    cursor: not-allowed;
197  }
198`;var c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let d=class extends t.LitElement{constructor(){super(...arguments),this.type="primary",this.imageSrc="google",this.imageSize=void 0,this.loading=!1,this.boxColor="foregroundPrimary",this.disabled=!1,this.rightIcon=!0,this.boxed=!0,this.rounded=!1,this.fullSize=!1}render(){return this.dataset.rounded=this.rounded?"true":"false",this.dataset.type=this.type,r.html`
199      <button
200        ?disabled=${!!this.loading||!!this.disabled}
201        data-loading=${this.loading}
202        tabindex=${(0,i.ifDefined)(this.tabIdx)}
203      >
204        <wui-flex gap="2" alignItems="center">
205          ${this.templateLeftIcon()}
206          <wui-flex gap="1">
207            <slot></slot>
208          </wui-flex>
209        </wui-flex>
210        ${this.templateRightIcon()}
211      </button>
212    `}templateLeftIcon(){return this.icon?r.html`<wui-image
213        icon=${this.icon}
214        iconColor=${(0,i.ifDefined)(this.iconColor)}
215        ?boxed=${this.boxed}
216        ?rounded=${this.rounded}
217        boxColor=${this.boxColor}
218      ></wui-image>`:r.html`<wui-image
219      ?boxed=${this.boxed}
220      ?rounded=${this.rounded}
221      ?fullSize=${this.fullSize}
222      size=${(0,i.ifDefined)(this.imageSize)}
223      src=${this.imageSrc}
224      boxColor=${this.boxColor}
225    ></wui-image>`}templateRightIcon(){return this.rightIcon?this.loading?r.html`<wui-loading-spinner size="md" color="accent-primary"></wui-loading-spinner>`:r.html`<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>`:null}};d.styles=[a.resetStyles,a.elementStyles,l],c([(0,o.property)()],d.prototype,"type",void 0),c([(0,o.property)()],d.prototype,"imageSrc",void 0),c([(0,o.property)()],d.prototype,"imageSize",void 0),c([(0,o.property)()],d.prototype,"icon",void 0),c([(0,o.property)()],d.prototype,"iconColor",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"loading",void 0),c([(0,o.property)()],d.prototype,"tabIdx",void 0),c([(0,o.property)()],d.prototype,"boxColor",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"disabled",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"rightIcon",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"boxed",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"rounded",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"fullSize",void 0),d=c([(0,n.customElement)("wui-list-item")],d),e.s([],697228)},77754,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(140872);var i=e.i(167040),a=e.i(13294),n=e.i(158650);let s=n.css`
226  :host {
227    position: relative;
228    display: flex;
229    width: 100%;
230    height: 1px;
231    background-color: ${({tokens:e})=>e.theme.borderPrimary};
232    justify-content: center;
233    align-items: center;
234  }
235
236  :host > wui-text {
237    position: absolute;
238    padding: 0px 8px;
239    transition: background-color ${({durations:e})=>e.lg}
240      ${({easings:e})=>e["ease-out-power-2"]};
241    will-change: background-color;
242  }
243
244  :host([data-bg-color='primary']) > wui-text {
245    background-color: ${({tokens:e})=>e.theme.backgroundPrimary};
246  }
247
248  :host([data-bg-color='secondary']) > wui-text {
249    background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
250  }
251`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends t.LitElement{constructor(){super(...arguments),this.text="",this.bgColor="primary"}render(){return this.dataset.bgColor=this.bgColor,r.html`${this.template()}`}template(){return this.text?r.html`<wui-text variant="md-regular" color="secondary">${this.text}</wui-text>`:null}};c.styles=[i.resetStyles,s],l([(0,o.property)()],c.prototype,"text",void 0),l([(0,o.property)()],c.prototype,"bgColor",void 0),c=l([(0,a.customElement)("wui-separator")],c),e.s([],77754)},694329,159929,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(184022);var i=e.i(167040),a=e.i(13294),n=e.i(158650);let s=n.css`
252  button {
253    background-color: transparent;
254    padding: ${({spacing:e})=>e[1]};
255  }
256
257  button:focus-visible {
258    box-shadow: 0 0 0 4px ${({tokens:e})=>e.core.foregroundAccent020};
259  }
260
261  button[data-variant='accent']:hover:enabled,
262  button[data-variant='accent']:focus-visible {
263    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
264  }
265
266  button[data-variant='primary']:hover:enabled,
267  button[data-variant='primary']:focus-visible,
268  button[data-variant='secondary']:hover:enabled,
269  button[data-variant='secondary']:focus-visible {
270    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
271  }
272
273  button[data-size='xs'] > wui-icon {
274    width: 8px;
275    height: 8px;
276  }
277
278  button[data-size='sm'] > wui-icon {
279    width: 12px;
280    height: 12px;
281  }
282
283  button[data-size='xs'],
284  button[data-size='sm'] {
285    border-radius: ${({borderRadius:e})=>e[1]};
286  }
287
288  button[data-size='md'],
289  button[data-size='lg'] {
290    border-radius: ${({borderRadius:e})=>e[2]};
291  }
292
293  button[data-size='md'] > wui-icon {
294    width: 16px;
295    height: 16px;
296  }
297
298  button[data-size='lg'] > wui-icon {
299    width: 20px;
300    height: 20px;
301  }
302
303  button:disabled {
304    background-color: transparent;
305    cursor: not-allowed;
306    opacity: 0.5;
307  }
308
309  button:hover:not(:disabled) {
310    background-color: var(--wui-color-accent-glass-015);
311  }
312
313  button:focus-visible:not(:disabled) {
314    background-color: var(--wui-color-accent-glass-015);
315    box-shadow:
316      inset 0 0 0 1px var(--wui-color-accent-100),
317      0 0 0 4px var(--wui-color-accent-glass-020);
318  }
319`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends t.LitElement{constructor(){super(...arguments),this.size="md",this.disabled=!1,this.icon="copy",this.iconColor="default",this.variant="accent"}render(){return r.html`
320      <button data-variant=${this.variant} ?disabled=${this.disabled} data-size=${this.size}>
321        <wui-icon
322          color=${({accent:"accent-primary",primary:"inverse",secondary:"default"})[this.variant]||this.iconColor}
323          size=${this.size}
324          name=${this.icon}
325        ></wui-icon>
326      </button>
327    `}};c.styles=[i.resetStyles,i.elementStyles,s],l([(0,o.property)()],c.prototype,"size",void 0),l([(0,o.property)({type:Boolean})],c.prototype,"disabled",void 0),l([(0,o.property)()],c.prototype,"icon",void 0),l([(0,o.property)()],c.prototype,"iconColor",void 0),l([(0,o.property)()],c.prototype,"variant",void 0),c=l([(0,a.customElement)("wui-icon-link")],c),e.s([],159929),e.s([],694329)},932252,e=>{"use strict";var t=e.i(970422),r=e.i(947366),o=e.i(260687),i=e.i(609294),a=e.i(146601);let n={getCaipTokens(e){if(!e)return;let t={};return Object.entries(e).forEach(([e,r])=>{t[`${a.ConstantsUtil.EIP155}:${e}`]=r}),t},isLowerCaseMatch:(e,t)=>e?.toLowerCase()===t?.toLowerCase(),getActiveNamespaceConnectedToAuth(){let e=r.ChainController.state.activeChain;return t.ConstantsUtil.AUTH_CONNECTOR_SUPPORTED_CHAINS.find(r=>o.ConnectorController.getConnectorId(r)===t.ConstantsUtil.CONNECTOR_ID.AUTH&&r===e)},withRetry({conditionFn:e,intervalMs:t,maxRetries:r}){let o=0;return new Promise(i=>{async function a(){return(o+=1,await e())?i(!0):o>=r?i(!1):(setTimeout(a,t),null)}a()})},userChainIdToChainNamespace(e){if("number"==typeof e)return t.ConstantsUtil.CHAIN.EVM;let[r]=e.split(":");return r},getOtherAuthNamespaces:e=>e?t.ConstantsUtil.AUTH_CONNECTOR_SUPPORTED_CHAINS.filter(t=>t!==e):[],getConnectorStorageInfo(e,t){let r=i.StorageUtil.getConnections()[t]??[];return{hasDisconnected:i.StorageUtil.isConnectorDisconnected(e,t),hasConnected:r.some(t=>n.isLowerCaseMatch(t.connectorId,e))}}};e.s(["HelpersUtil",0,n])},413675,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(898515);var i=e.i(604281);e.i(184022),e.i(845345),e.i(140872),e.i(583232);var a=e.i(167040),n=e.i(343828),s=e.i(13294),l=e.i(158650);let c=l.css`
328  button {
329    display: flex;
330    align-items: center;
331    height: 40px;
332    padding: ${({spacing:e})=>e[2]};
333    border-radius: ${({borderRadius:e})=>e[4]};
334    column-gap: ${({spacing:e})=>e[1]};
335    background-color: transparent;
336    transition: background-color ${({durations:e})=>e.lg}
337      ${({easings:e})=>e["ease-out-power-2"]};
338    will-change: background-color;
339  }
340
341  wui-image,
342  .icon-box {
343    width: ${({spacing:e})=>e[6]};
344    height: ${({spacing:e})=>e[6]};
345    border-radius: ${({borderRadius:e})=>e[4]};
346  }
347
348  wui-text {
349    flex: 1;
350  }
351
352  .icon-box {
353    position: relative;
354  }
355
356  .icon-box[data-active='true'] {
357    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
358  }
359
360  .circle {
361    position: absolute;
362    left: 16px;
363    top: 15px;
364    width: 8px;
365    height: 8px;
366    background-color: ${({tokens:e})=>e.core.textSuccess};
367    box-shadow: 0 0 0 2px ${({tokens:e})=>e.theme.foregroundPrimary};
368    border-radius: 50%;
369  }
370
371  /* -- Hover & Active states ----------------------------------------------------------- */
372  @media (hover: hover) {
373    button:hover:enabled,
374    button:active:enabled {
375      background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
376    }
377  }
378`;var d=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let u=class extends t.LitElement{constructor(){super(...arguments),this.address="",this.profileName="",this.alt="",this.imageSrc="",this.icon=void 0,this.iconSize="md",this.enableGreenCircle=!0,this.loading=!1,this.charsStart=4,this.charsEnd=6}render(){return r.html`
379      <button>
380        ${this.leftImageTemplate()} ${this.textTemplate()} ${this.rightImageTemplate()}
381      </button>
382    `}leftImageTemplate(){let e=this.icon?r.html`<wui-icon
383          size=${(0,i.ifDefined)(this.iconSize)}
384          color="default"
385          name=${this.icon}
386          class="icon"
387        ></wui-icon>`:r.html`<wui-image src=${this.imageSrc} alt=${this.alt}></wui-image>`;return r.html`
388      <wui-flex
389        alignItems="center"
390        justifyContent="center"
391        class="icon-box"
392        data-active=${!!this.icon}
393      >
394        ${e}
395        ${this.enableGreenCircle?r.html`<wui-flex class="circle"></wui-flex>`:null}
396      </wui-flex>
397    `}textTemplate(){return r.html`
398      <wui-text variant="lg-regular" color="primary">
399        ${n.UiHelperUtil.getTruncateString({string:this.profileName||this.address,charsStart:this.profileName?16:this.charsStart,charsEnd:this.profileName?0:this.charsEnd,truncate:this.profileName?"end":"middle"})}
400      </wui-text>
401    `}rightImageTemplate(){return r.html`<wui-icon name="chevronBottom" size="sm" color="default"></wui-icon>`}};u.styles=[a.resetStyles,a.elementStyles,c],d([(0,o.property)()],u.prototype,"address",void 0),d([(0,o.property)()],u.prototype,"profileName",void 0),d([(0,o.property)()],u.prototype,"alt",void 0),d([(0,o.property)()],u.prototype,"imageSrc",void 0),d([(0,o.property)()],u.prototype,"icon",void 0),d([(0,o.property)()],u.prototype,"iconSize",void 0),d([(0,o.property)({type:Boolean})],u.prototype,"enableGreenCircle",void 0),d([(0,o.property)({type:Boolean})],u.prototype,"loading",void 0),d([(0,o.property)({type:Number})],u.prototype,"charsStart",void 0),d([(0,o.property)({type:Number})],u.prototype,"charsEnd",void 0),u=d([(0,s.customElement)("wui-wallet-switch")],u),e.s([],413675)},10177,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(184022),e.i(845345);var i=e.i(167040),a=e.i(13294);e.i(558327);var n=e.i(158650);let s=n.css`
402  :host {
403    position: relative;
404    background-color: ${({tokens:e})=>e.theme.foregroundTertiary};
405    display: flex;
406    justify-content: center;
407    align-items: center;
408    border-radius: inherit;
409    border-radius: var(--local-border-radius);
410  }
411
412  :host([data-image='true']) {
413    background-color: transparent;
414  }
415
416  :host > wui-flex {
417    overflow: hidden;
418    border-radius: inherit;
419    border-radius: var(--local-border-radius);
420  }
421
422  :host([data-size='sm']) {
423    width: 32px;
424    height: 32px;
425  }
426
427  :host([data-size='md']) {
428    width: 40px;
429    height: 40px;
430  }
431
432  :host([data-size='lg']) {
433    width: 56px;
434    height: 56px;
435  }
436
437  :host([name='Extension'])::after {
438    border: 1px solid ${({colors:e})=>e.accent010};
439  }
440
441  :host([data-wallet-icon='allWallets'])::after {
442    border: 1px solid ${({colors:e})=>e.accent010};
443  }
444
445  wui-icon[data-parent-size='inherit'] {
446    width: 75%;
447    height: 75%;
448    align-items: center;
449  }
450
451  wui-icon {
452    color: ${({tokens:e})=>e.theme.iconDefault};
453  }
454
455  wui-icon[data-parent-size='sm'] {
456    width: 24px;
457    height: 24px;
458  }
459
460  wui-icon[data-parent-size='md'] {
461    width: 32px;
462    height: 32px;
463  }
464
465  :host > wui-icon-box {
466    position: absolute;
467    overflow: hidden;
468    right: -1px;
469    bottom: -2px;
470    z-index: 1;
471    border: 2px solid ${({tokens:e})=>e.theme.backgroundPrimary};
472    padding: 1px;
473  }
474`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends t.LitElement{constructor(){super(...arguments),this.size="md",this.name="",this.installed=!1,this.badgeSize="xs"}render(){let e="1";return"lg"===this.size?e="4":"md"===this.size?e="2":"sm"===this.size&&(e="1"),this.style.cssText=`
475       --local-border-radius: var(--apkt-borderRadius-${e});
476   `,this.dataset.size=this.size,this.imageSrc&&(this.dataset.image="true"),this.walletIcon&&(this.dataset.walletIcon=this.walletIcon),r.html`
477      <wui-flex justifyContent="center" alignItems="center"> ${this.templateVisual()} </wui-flex>
478    `}templateVisual(){return this.imageSrc?r.html`<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`:this.walletIcon?r.html`<wui-icon size="md" color="default" name=${this.walletIcon}></wui-icon>`:r.html`<wui-icon
479      data-parent-size=${this.size}
480      size="inherit"
481      color="inherit"
482      name="wallet"
483    ></wui-icon>`}};c.styles=[i.resetStyles,s],l([(0,o.property)()],c.prototype,"size",void 0),l([(0,o.property)()],c.prototype,"name",void 0),l([(0,o.property)()],c.prototype,"imageSrc",void 0),l([(0,o.property)()],c.prototype,"walletIcon",void 0),l([(0,o.property)({type:Boolean})],c.prototype,"installed",void 0),l([(0,o.property)()],c.prototype,"badgeSize",void 0),c=l([(0,a.customElement)("wui-wallet-image")],c),e.s([],10177)},161044,e=>{"use strict";e.i(35526);var t=e.i(244813);let r=t.svg`<svg  viewBox="0 0 48 54" fill="none">
484  <path
485    d="M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z"
486  />
487</svg>`;e.s(["networkSvgMd",0,r])},113453,e=>{"use strict";e.i(10177),e.s([])},298709,e=>{"use strict";e.i(35526);var t=e.i(244813);let r=t.svg`<svg width="86" height="96" fill="none">
488  <path
489    d="M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z"
490  />
491</svg>`;e.s(["networkSvgLg",0,r])},532058,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768),i=e.i(298709),a=e.i(161044);let n=r.svg`
492  <svg fill="none" viewBox="0 0 36 40">
493    <path
494      d="M15.4 2.1a5.21 5.21 0 0 1 5.2 0l11.61 6.7a5.21 5.21 0 0 1 2.61 4.52v13.4c0 1.87-1 3.59-2.6 4.52l-11.
49461 6.7c-1.62.93-3.6.93-5.22 0l-11.6-6.7a5.21 5.21 0 0 1-2.61-4.51v-13.4c0-1.87 1-3.6 2.6-4.52L15.4 2.1Z"
495    />
496  </svg>
497`;e.i(184022),e.i(845345);var s=e.i(167040),l=e.i(13294),c=e.i(158650);let d=c.css`
498  :host {
499    position: relative;
500    border-radius: inherit;
501    display: flex;
502    justify-content: center;
503    align-items: center;
504    width: var(--local-width);
505    height: var(--local-height);
506  }
507
508  :host([data-round='true']) {
509    background: ${({tokens:e})=>e.theme.foregroundPrimary};
510    border-radius: 100%;
511    outline: 1px solid ${({tokens:e})=>e.core.glass010};
512  }
513
514  svg {
515    position: absolute;
516    top: 0;
517    left: 0;
518    width: 100%;
519    height: 100%;
520    z-index: 1;
521  }
522
523  svg > path {
524    stroke: var(--local-stroke);
525  }
526
527  wui-image {
528    width: 100%;
529    height: 100%;
530    -webkit-clip-path: var(--local-path);
531    clip-path: var(--local-path);
532    background: ${({tokens:e})=>e.theme.foregroundPrimary};
533  }
534
535  wui-icon {
536    transform: translateY(-5%);
537    width: var(--local-icon-size);
538    height: var(--local-icon-size);
539  }
540`;var u=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let h=class extends t.LitElement{constructor(){super(...arguments),this.size="md",this.name="uknown",this.networkImagesBySize={sm:n,md:a.networkSvgMd,lg:i.networkSvgLg},this.selected=!1,this.round=!1}render(){return this.round?(this.dataset.round="true",this.style.cssText=`
541      --local-width: var(--apkt-spacing-10);
542      --local-height: var(--apkt-spacing-10);
543      --local-icon-size: var(--apkt-spacing-4);
544    `):this.style.cssText=`
545
546      --local-path: var(--apkt-path-network-${this.size});
547      --local-width:  var(--apkt-width-network-${this.size});
548      --local-height:  var(--apkt-height-network-${this.size});
549      --local-icon-size:  var(--apkt-spacing-${({sm:"4",md:"6",lg:"10"})[this.size]});
550    `,r.html`${this.templateVisual()} ${this.svgTemplate()} `}svgTemplate(){return this.round?null:this.networkImagesBySize[this.size]}templateVisual(){return this.imageSrc?r.html`<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`:r.html`<wui-icon size="inherit" color="default" name="networkPlaceholder"></wui-icon>`}};h.styles=[s.resetStyles,d],u([(0,o.property)()],h.prototype,"size",void 0),u([(0,o.property)()],h.prototype,"name",void 0),u([(0,o.property)({type:Object})],h.prototype,"networkImagesBySize",void 0),u([(0,o.property)()],h.prototype,"imageSrc",void 0),u([(0,o.property)({type:Boolean})],h.prototype,"selected",void 0),u([(0,o.property)({type:Boolean})],h.prototype,"round",void 0),h=u([(0,l.customElement)("wui-network-image")],h),e.s([],532058)},291207,e=>{"use strict";var t={exports:{}};function r(e){try{return JSON.stringify(e)}catch{return'"[Circular]"'}}let o=function(e,t,o){var i=o&&o.stringify||r;if("object"==typeof e&&null!==e){var a=t.length+1;if(1===a)return e;var n=Array(a);n[0]=i(e);for(var s=1;s<a;s++)n[s]=i(t[s]);return n.join(" ")}if("string"!=typeof e)return e;var l=t.length;if(0===l)return e;for(var c="",d=0,u=-1,h=e&&e.length||0,p=0;p<h;){if(37===e.charCodeAt(p)&&p+1<h){switch(u=u>-1?u:0,e.charCodeAt(p+1)){case 100:case 102:if(d>=l||null==t[d])break;u<p&&(c+=e.slice(u,p)),c+=Number(t[d]),u=p+2,p++;break;case 105:if(d>=l||null==t[d])break;u<p&&(c+=e.slice(u,p)),c+=Math.floor(Number(t[d])),u=p+2,p++;break;case 79:case 111:case 106:if(d>=l||void 0===t[d])break;u<p&&(c+=e.slice(u,p));var g=typeof t[d];if("string"===g){c+="'"+t[d]+"'",u=p+2,p++;break}if("function"===g){c+=t[d].name||"<anonymous>",u=p+2,p++;break}c+=i(t[d]),u=p+2,p++;break;case 115:if(d>=l)break;u<p&&(c+=e.slice(u,p)),c+=String(t[d]),u=p+2,p++;break;case 37:u<p&&(c+=e.slice(u,p)),c+="%",u=p+2,p++,d--}++d}++p}return -1===u?e:(u<h&&(c+=e.slice(u)),c)};t.exports=d;let i=function(){function e(e){return"u">typeof e&&e}try{return"u">typeof globalThis||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return e(self)||e(window)||e(this)||{}}}().console||{};function a(e,t){return"silent"===e?1/0:t.levels.values[e]}let n=Symbol("pino.logFuncs"),s=Symbol("pino.hierarchy"),l={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function c(e,t){let r={logger:t,parent:e[s]};t[s]=r}function d(e){var t,r,o;let s,g,m;(e=e||{}).browser=e.browser||{};let b=e.browser.transmit;if(b&&"function"!=typeof b.send)throw Error("pino: transmit option must have a send function");let w=e.browser.write||i;e.browser.write&&(e.browser.asObject=!0);let x=e.serializers||{},C=(t=e.browser.serialize,Array.isArray(t)?t.filter(function(e){return"!stdSerializers.err"!==e}):!0===t&&Object.keys(x)),$=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&($=!1);let O=Object.keys(e.customLevels||{}),E=["error","fatal","warn","info","debug","trace"].concat(O);
550"function"==typeof w&&E.forEach(function(e){w[e]=w}),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");let k=e.level||"info",z=Object.create(w);z.log||(z.log=v),s={},E.forEach(e=>{s[e]=w[e]?w[e]:i[e]||i[l[e]||"log"]||v}),z[n]=s,c({},z),Object.defineProperty(z,"levelVal",{get:function(){return a(this.level,this)}}),Object.defineProperty(z,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,u(this,T,z,"error"),u(this,T,z,"fatal"),u(this,T,z,"warn"),u(this,T,z,"info"),u(this,T,z,"debug"),u(this,T,z,"trace"),O.forEach(e=>{u(this,T,z,e)})}});let T={transmit:b,serialize:C,asObject:e.browser.asObject,asObjectBindingsOnly:e.browser.asObjectBindingsOnly,formatters:e.browser.formatters,levels:E,timestamp:"function"==typeof(r=e).timestamp?r.timestamp:!1===r.timestamp?f:y,messageKey:e.messageKey||"msg",onChild:e.onChild||v};function S(t,r,o){if(!r)throw Error("missing bindings for child Pino");o=o||{},C&&r.serializers&&(o.serializers=r.serializers);let i=o.serializers;if(C&&i){var a=Object.assign({},x,i),n=!0===e.browser.serialize?Object.keys(a):C;delete r.serializers,h([r],n,a,this._stdErrSerialize)}function s(e){this._childLevel=(0|e._childLevel)+1,this.bindings=r,a&&(this.serializers=a,this._serialize=n),b&&(this._logEvent=p([].concat(e._logEvent.bindings,r)))}s.prototype=this;let l=new s(this);return c(this,l),l.child=function(...e){return S.call(this,t,...e)},l.level=o.level||this.level,t.onChild(l),l}return g=e.customLevels||{},z.levels={values:Object.assign({},d.levels.values,g),labels:Object.assign({},d.levels.labels,(m={},Object.keys(o=g).forEach(function(e){m[o[e]]=e}),m))},z.level=k,z.isLevelEnabled=function(e){return!!this.levels.values[e]&&this.levels.values[e]>=this.levels.values[this.level]},z.setMaxListeners=z.getMaxListeners=z.emit=z.addListener=z.on=z.prependListener=z.once=z.prependOnceListener=z.removeListener=z.removeAllListeners=z.listeners=z.listenerCount=z.eventNames=z.write=z.flush=v,z.serializers=x,z._serialize=C,z._stdErrSerialize=$,z.child=function(...e){return S.call(this,T,...e)},b&&(z._logEvent=p()),z}function u(e,t,r,l){var c,d,u,g,m,b,f;if(Object.defineProperty(e,l,{value:a(e.level,r)>a(l,r)?v:r[n][l],writable:!0,enumerable:!0,configurable:!0}),e[l]===v){if(!t.transmit)return;let o=a(t.transmit.level||e.level,r);if(a(l,r)<o)return}e[l]=(c=e,d=t,u=r,g=l,m=c[n][g],function(){let e=d.timestamp(),t=Array(arguments.length),r=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var n=0;n<t.length;n++)t[n]=arguments[n];var s=!1;if(d.serialize&&(h(t,this._serialize,this.serializers,this._stdErrSerialize),s=!0),d.asObject||d.formatters?m.call(r,...function(e,t,r,i,a){let{level:n,log:s=e=>e}=a.formatters||{},l=r.slice(),c=l[0],d={},u=(0|e._childLevel)+1;if((u<1&&(u=1),i&&(d.time=i),n)?Object.assign(d,n(t,e.levels.values[t])):d.level=e.levels.values[t],a.asObjectBindingsOnly){if(null!==c&&"object"==typeof c)for(;u--&&"object"==typeof l[0];)Object.assign(d,l.shift());return[s(d),...l]}if(null!==c&&"object"==typeof c){for(;u--&&"object"==typeof l[0];)Object.assign(d,l.shift());c=l.length?o(l.shift(),l):void 0}else"string"==typeof c&&(c=o(l.shift(),l));return void 0!==c&&(d[a.messageKey]=c),[s(d)]}(this,g,t,e,d)):m.apply(r,t),d.transmit){let r=d.transmit.level||c._level,o=a(r,u),i=a(g,u);if(i<o)return;!function(e,t,r,o=!1){let i=t.send,a=t.ts,n=t.methodLevel,s=t.methodValue,l=t.val,c=e._logEvent.bindings;o||h(r,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=a,e._logEvent.messages=r.filter(function(e){return -1===c.indexOf(e)}),e._logEvent.level.label=n,e._logEvent.level.value=s,i(n,e._logEvent,l),e._logEvent=p(c)}(this,{ts:e,methodLevel:g,methodValue:i,transmitLevel:r,transmitValue:u.levels.values[d.transmit.level||c._level],send:d.transmit.send,val:a(c._level,u)},t,s)}});let y=function(e){let t=[];e.bindings&&t.push(e.bindings);let r=e[s];for(;r.parent;)(r=r.parent).logger.bindings&&t.push(r.logger.bindings);return t.reverse()}(e);0!==y.length&&(e[l]=(b=y,f=e[l],function(){return f.apply(this,[...b,...arguments])}))}function h(e,t,r,o){for(let i in e)if(o&&e[i]instanceof Error)e[i]=d.stdSerializers.err(e[i]);else if("object"==typeof e[i]&&!Array.isArray(e[i])&&t)for(let o in e[i])t.indexOf(o)>-1&&o in r&&(e[i][o]=r[o](e[i][o]))}function p(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function g(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)void 0===t[r]&&(t[r]=e[r]);return t}function m(){return{}}function b(e){return e}function v(){}function f(){return!1}function y(){return Date.now()}d.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},d.stdSerializers={mapHttpRequest:m,mapHttpResponse:m,wrapRequestSerializer:b,wrapResponseSerializer:b,wrapErrorSerializer:b,req:m,res:m,err:g,errWithCause:g},d.stdTimeFunctions=Object.assign({},{nullTime:f,epochTime:y,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}}),t.exports.default=d,t.exports.pino=d;let w="custom_context";var x=Object.defineProperty,C=(e,t,r)=>{let o;return(o="symbol"!=typeof t?t+"":t)in e?x(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r};class ${constructor(e){C(this,"nodeValue"),C(this,"sizeInBytes"),C(this,"next"),this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}}class O{constructor(e){C(this,"lengthInNodes"),C(this,"sizeInBytes"),C(this,"head"),C(this,"tail"),C(this,"maxSizeInBytes"),this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){let t=new $(e);if(t.size>this.maxSizeInBytes)throw Error(`[LinkedList] Value too big to insert into list: ${e} with size ${t.size}`);for(;this.size+t.size>this.maxSizeInBytes;)this.shift();this.head?this.tail&&(this.tail.next=t):this.head=t,this.tail=t,this.lengthInNodes++,this.sizeInBytes+=t.size}shift(){if(!this.head)return;let e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){let e=[],t=this.head;for(;null!==t;)e.push(t.value),t=t.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};let t=e.value;return e=e.next,{done:!1,value:t}}}}}function E(e){return"string"==typeof e?e:JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString()+"n":t)||""}var k=Object.defineProperty,z=(e,t,r)=>{let o;return(o="symbol"!=typeof t?t+"":t)in e?k(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r};class T{constructor(e,r=1024e3){z(this,"logs"),z(this,"level"),z(this,"levelValue"),z(this,"MAX_LOG_SIZE_IN_BYTES"),this.level=e??"error",this.levelValue=t.exports.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=r,this.logs=new O(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,r){r===t.exports.levels.values.error?console.error(e):r===t.exports.levels.values.warn?console.warn(e):r===t.exports.levels.values.debug?console.debug(e):r===t.exports.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(E({timestamp:new Date().toISOString(),log:e}));let t="string"==typeof e?JSON.parse(e).level:e.level;t>=this.levelValue&&this.forwardToConsole(e,t)}getLogs(){return this.logs}clearLogs(){this.logs=new O(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){let t=this.getLogArray();return t.push(E({extraMetadata:e})),new Blob(t,{type:"application/json"})}}var S=Object.defineProperty;class N{constructor(e,t=1024e3){((e,t,r)=>{let o;return(o="symbol"!=typeof t?t+"":t)in e?S(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r})(this,"baseChunkLogger"),this.baseChunkLogger=new T(e,t)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){let t=URL.createObjectURL(this.logsToBlob(e)),r=document.createElement("a");r.href=t,r.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(t)}}var R=Object.defineProperty;class _{constructor(e,t=1024e3){((e,t,r)=>{let o;return(o="symbol"!=typeof t?t+"":t)in e?R(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r})(this,"baseChunkLogger"),this.baseChunkLogger=new T(e,t)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}}var L=Object.defineProperty,I=Object.defineProperties,P=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,M=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=(e,t)=>{for(var r in t||(t={}))A.call(t,r)&&M(e,r,t[r]);if(j)for(var r of j(t))B.call(t,r)&&M(e,r,t[r]);return e};function U(e){return I(D({},e),P({level:e?.level||"info"}))}function V(e,t=w){return e[t]||""}function W(e,t,r=w){let o=function(e,t,r=w){let o=V(e,r);return o.trim()?`${o}/${t}`:t}(e,t,r);return function(e,t,r=w){return e[r]=t,e}(e.child({context:o}),o,r)}function H(e){var r,o,i,a,n,s,l;let c,d,u,h,p,g;if("u">typeof e.loggerOverride&&"string"!=typeof e.loggerOverride)return{logger:e.loggerOverride,chunkLoggerController:null};let m=I(D({},e.opts),P({level:"string"==typeof e.loggerOverride?e.loggerOverride:null==(r=e.opts)?void 0:r.level}));return"u">typeof window?(u=new N(null==(i=(o=I(D({},e),P({opts:m}))).opts)?void 0:i.level,o.maxSizeInBytes),{logger:t.exports((c=D({},o.opts),d={level:"trace",browser:I(D({},null==(a=o.opts)?void 0:a.browser),P({write:e=>u.write(e)}))},I(c,P(d)))),chunkLoggerController:u}):(g=new _(null==(s=(n=I(D({},e),P({opts:m}))).opts)?void 0:s.level,n.maxSizeInBytes),{logger:t.exports((h=D({},n.opts),p={level:"trace",browser:I(D({},null==(l=n.opts)?void 0:l.browser),P({write:e=>g.write(e)}))},I(h,P(p))),g),chunkLoggerController:g})}e.s(["generateChildLogger",()=>W,"generatePlatformLogger",()=>H,"getDefaultLoggerOptions",()=>U,"getLoggerContext",()=>V])},464664,e=>{"use strict";var t=e.i(350461);let r={ACCOUNT_TABS:[{label:"Tokens"},{label:"Activity"}],SECURE_SITE_ORIGIN:(void 0!==t.default&&void 0!==t.default.env?t.default.env.NEXT_PUBLIC_SECURE_SITE_ORIGIN:void 0)||"https://secure.walletconnect.org",VIEW_DIRECTION:{Next:"next",Prev:"prev"},ANIMATION_DURATIONS:{HeaderText:120,ModalHeight:150,ViewTransition:150},VIEWS_WITH_LEGAL_FOOTER:["Connect","ConnectWallets","OnRampTokenSelect","OnRampFiatSelect","OnRampProviders"],VIEWS_WITH_DEFAULT_FOOTER:["Networks"]};e.s(["ConstantsUtil",0,r])},385914,e=>{"use strict";e.i(184022),e.s([])},845345,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(898515);var i=e.i(604281),a=e.i(167040),n=e.i(13294),s=e.i(158650);let l=s.css`
551  :host {
552    display: block;
553    width: var(--local-width);
554    height: var(--local-height);
555  }
556
557  img {
558    display: block;
559    width: 100%;
560    height: 100%;
561    object-fit: cover;
562    object-position: center center;
563    border-radius: inherit;
564    user-select: none;
565    user-drag: none;
566    -webkit-user-drag: none;
567    -khtml-user-drag: none;
568    -moz-user-drag: none;
569    -o-user-drag: none;
570  }
571
572  :host([data-boxed='true']) {
573    width: 40px;
574    height: 40px;
575    display: flex;
576    align-items: center;
577    justify-content: center;
578    background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
579    border-radius: ${({borderRadius:e})=>e[2]};
580  }
581
582  :host([data-boxed='true']) img {
583    width: 20px;
584    height: 20px;
585    border-radius: ${({borderRadius:e})=>e[16]};
586  }
587
588  :host([data-full='true']) img {
589    width: 100%;
590    height: 100%;
591  }
592
593  :host([data-boxed='true']) wui-icon {
594    width: 20px;
595    height: 20px;
596  }
597
598  :host([data-icon='error']) {
599    background-color: ${({tokens:e})=>e.core.backgroundError};
600  }
601
602  :host([data-rounded='true']) {
603    border-radius: ${({borderRadius:e})=>e[16]};
604  }
605`;var c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let d=class extends t.LitElement{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0,this.boxed=!1,this.rounded=!1,this.fullSize=!1}render(){let e={inherit:"inherit",xxs:"2",xs:"3",sm:"4",md:"4",mdl:"5",lg:"5",xl:"6",xxl:"7","3xl":"8","4xl":"9","5xl":"10"};return(this.style.cssText=`
606      --local-width: ${this.size?`var(--apkt-spacing-${e[this.size]});`:"100%"};
607      --local-height: ${this.size?`var(--apkt-spacing-${e[this.size]});`:"100%"};
608      `,this.dataset.boxed=this.boxed?"true":"false",this.dataset.rounded=this.rounded?"true":"false",this.dataset.full=this.fullSize?"true":"false",this.dataset.icon=this.iconColor||"inherit",this.icon)?r.html`<wui-icon
609        color=${this.iconColor||"inherit"}
610        name=${this.icon}
611        size="lg"
612      ></wui-icon> `:this.logo?r.html`<wui-icon size="lg" color="inherit" name=${this.logo}></wui-icon> `:r.html`<img src=${(0,i.ifDefined)(this.src)} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};d.styles=[a.resetStyles,l],c([(0,o.property)()],d.prototype,"src",void 0),c([(0,o.property)()],d.prototype,"logo",void 0),c([(0,o.property)()],d.prototype,"icon",void 0),c([(0,o.property)()],d.prototype,"iconColor",void 0),c([(0,o.property)()],d.prototype,"alt",void 0),c([(0,o.property)()],d.prototype,"size",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"boxed",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"rounded",void 0),c([(0,o.property)({type:Boolean})],d.prototype,"fullSize",void 0),d=c([(0,n.customElement)("wui-image")],d),e.s([],845345)},558327,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(898515);var i=e.i(604281);e.i(184022);var a=e.i(167040),n=e.i(13294),s=e.i(158650);let l=s.css`
613  :host {
614    display: inline-flex;
615    justify-content: center;
616    align-items: center;
617    border-radius: ${({borderRadius:e})=>e[2]};
618    padding: ${({spacing:e})=>e[1]} !important;
619    background-color: ${({tokens:e})=>e.theme.backgroundPrimary};
620    position: relative;
621  }
622
623  :host([data-padding='2']) {
624    padding: ${({spacing:e})=>e[2]} !important;
625  }
626
627  :host:after {
628    content: '';
629    position: absolute;
630    top: 0;
631    left: 0;
632    width: 100%;
633    height: 100%;
634    border-radius: ${({borderRadius:e})=>e[2]};
635  }
636
637  :host > wui-icon {
638    z-index: 10;
639  }
640
641  /* -- Colors --------------------------------------------------- */
642  :host([data-color='accent-primary']) {
643    color: ${({tokens:e})=>e.core.iconAccentPrimary};
644  }
645
646  :host([data-color='accent-primary']):after {
647    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
648  }
649
650  :host([data-color='default']),
651  :host([data-color='secondary']) {
652    color: ${({tokens:e})=>e.theme.iconDefault};
653  }
654
655  :host([data-color='default']):after {
656    background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
657  }
658
659  :host([data-color='secondary']):after {
660    background-color: ${({tokens:e})=>e.theme.foregroundSecondary};
661  }
662
663  :host([data-color='success']) {
664    color: ${({tokens:e})=>e.core.iconSuccess};
665  }
666
667  :host([data-color='success']):after {
668    background-color: ${({tokens:e})=>e.core.backgroundSuccess};
669  }
670
671  :host([data-color='error']) {
672    color: ${({tokens:e})=>e.core.iconError};
673  }
674
675  :host([data-color='error']):after {
676    background-color: ${({tokens:e})=>e.core.backgroundError};
677  }
678
679  :host([data-color='warning']) {
680    color: ${({tokens:e})=>e.core.iconWarning};
681  }
682
683  :host([data-color='warning']):after {
684    background-color: ${({tokens:e})=>e.core.backgroundWarning};
685  }
686
687  :host([data-color='inverse']) {
688    color: ${({tokens:e})=>e.theme.iconInverse};
689  }
690
691  :host([data-color='inverse']):after {
692    background-color: transparent;
693  }
694`;var c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let d=class extends t.LitElement{constructor(){super(...arguments),this.icon="copy",this.size="md",this.padding="1",this.color="default"}render(){return this.dataset.padding=this.padding,this.dataset.color=this.color,r.html`
695      <wui-icon size=${(0,i.ifDefined)(this.size)} name=${this.icon} color="inherit"></wui-icon>
696    `}};d.styles=[a.resetStyles,a.elementStyles,l],c([(0,o.property)()],d.prototype,"icon",void 0),c([(0,o.property)()],d.prototype,"size",void 0),c([(0,o.property)()],d.prototype,"padding",void 0),c([(0,o.property)()],d.prototype,"color",void 0),d=c([(0,n.customElement)("wui-icon-box")],d),e.s([],558327)},673331,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768),i=e.i(158650),a=e.i(167040),n=e.i(13294),s=e.i(641118);let l=s.css`
697  :host {
698    display: flex;
699  }
700
701  :host([data-size='sm']) > svg {
702    width: 12px;
703    height: 12px;
704  }
705
706  :host([data-size='md']) > svg {
707    width: 16px;
708    height: 16px;
709  }
710
711  :host([data-size='lg']) > svg {
712    width: 24px;
713    height: 24px;
714  }
715
716  :host([data-size='xl']) > svg {
717    width: 32px;
718    height: 32px;
719  }
720
721  svg {
722    animation: rotate 1.4s linear infinite;
723    color: var(--local-color);
724  }
725
726  :host([data-size='md']) > svg > circle {
727    stroke-width: 6px;
728  }
729
730  :host([data-size='sm']) > svg > circle {
731    stroke-width: 8px;
732  }
733
734  @keyframes rotate {
735    100% {
736      transform: rotate(360deg);
737    }
738  }
739`;var c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let d=class extends t.LitElement{constructor(){super(...arguments),this.color="primary",this.size="lg"}render(){let e={primary:i.vars.tokens.theme.textPrimary,secondary:i.vars.tokens.theme.textSecondary,tertiary:i.vars.tokens.theme.textTertiary,invert:i.vars.tokens.theme.textInvert,error:i.vars.tokens.core.textError,warning:i.vars.tokens.core.textWarning,"accent-primary":i.vars.tokens.core.textAccentPrimary};return this.style.cssText=`
740      --local-color: ${"inherit"===this.color?"inherit":e[this.color]};
741      `,this.dataset.size=this.size,r.html`<svg viewBox="0 0 16 17" fill="none">
742      <path
743        d="M8.75 2.65625V4.65625C8.75 4.85516 8.67098 5.04593 8.53033 5.18658C8.38968 5.32723 8.19891 5.40625 8 5.40625C7.80109 5.40625 7.61032 5.32723 7.46967 5.18658C7.32902 5.04593 7.25 4.85516 7.25 4.65625V2.65625C7.25 2.45734 7.32902 2.26657 7.46967 2.12592C7.61032 1.98527 7.80109 1.90625 8 1.90625C8.19891 1.90625 8.38968 1.98527 8.53033 2.12592C8.67098 2.26657 8.75 2.45734 8.75 2.65625ZM14 7.90625H12C11.8011 7.90625 11.6103 7.98527 11.4697 8.12592C11.329 8.26657 11.25 8.45734 11.25 8.65625C11.25 8.85516 11.329 9.04593 11.4697 9.18658C11.6103 9.32723 11.8011 9.40625 12 9.40625H14C14.1989 9.40625 14.3897 9.32723 14.5303 9.18658C14.671 9.04593 14.75 8.85516 14.75 8.65625C14.75 8.45734 14.671 8.26657 14.5303 8.12592C14.3897 7.98527 14.1989 7.90625 14 7.90625ZM11.3588 10.9544C11.289 10.8846 11.2062 10.8293 11.115 10.7915C11.0239 10.7538 10.9262 10.7343 10.8275 10.7343C10.7288 10.7343 10.6311 10.7538 10.54 10.7915C10.4488 10.8293 10.366 10.8846 10.2963 10.9544C10.2265 11.0241 10.1711 11.107 10.1334 11.1981C10.0956 11.2893 10.0762 11.387 10.0762 11.4856C10.0762 11.5843 10.0956 11.682 10.1334 11.7731C10.1711 11.8643 10.2265 11.9471 10.2963 12.0169L11.7106 13.4312C11.8515 13.5721 12.0426 13.6513 12.2419 13.6513C12.4411 13.6513 12.6322 13.5721 12.7731 13.4312C12.914 13.2904 12.9932 13.0993 12.9932 12.9C12.9932 12.7007 12.914 12.5096 12.7731 12.3687L11.3588 10.9544ZM8 11.9062C7.80109 11.9062 7.61032 11.9853 7.46967 12.1259C7.32902 12.2666 7.25 12.4573 7.25 12.6562V14.6562C7.25 14.8552 7.32902 15.0459 7.46967 15.1866C7.61032 15.3272 7.80109 15.4062 8 15.4062C8.19891 15.4062 8.38968 15.3272 8.53033 15.1866C8.67098 15.0459 8.75 14.8552 8.75 14.6562V12.6562C8.75 12.4573 8.67098 12.2666 8.53033 12.1259C8.38968 11.9853 8.19891 11.9062 8 11.9062ZM4.64125 10.9544L3.22688 12.3687C3.08598 12.5096 3.00682 12.7007 3.00682 12.9C3.00682 13.0993 3.08598 13.2904 3.22688 13.4312C3.36777 13.5721 3.55887 13.6513 3.75813 13.6513C3.95738 13.6513 4.14848 13.5721 4.28937 13.4312L5.70375 12.0169C5.84465 11.876 5.9238 11.6849 5.9238 11.4856C5.9238 11.2864 5.84465 11.0953 5.70375 10.9544C5.56285 10.8135 5.37176 10.7343 5.1725 10.7343C4.97324 10.7343 4.78215 10.8135 4.64125 10.9544ZM4.75 8.65625C4.75 8.45734 4.67098 8.26657 4.53033 8.12592C4.38968 7.98527 4.19891 7.90625 4 7.90625H2C1.80109 7.90625 1.61032 7.98527 1.46967 8.12592C1.32902 8.26657 1.25 8.45734 1.25 8.65625C1.25 8.85516 1.32902 9.04593 1.46967 9.18658C1.61032 9.32723 1.80109 9.40625 2 9.40625H4C4.19891 9.40625 4.38968 9.32723 4.53033 9.18658C4.67098 9.04593 4.75 8.85516 4.75 8.65625ZM4.2875 3.88313C4.1466 3.74223 3.95551 3.66307 3.75625 3.66307C3.55699 3.66307 3.3659 3.74223 3.225 3.88313C3.0841 4.02402 3.00495 4.21512 3.00495 4.41438C3.00495 4.61363 3.0841 4.80473 3.225 4.94562L4.64125 6.35813C4.78215 6.49902 4.97324 6.57818 5.1725 6.57818C5.37176 6.57818 5.56285 6.49902 5.70375 6.35813C5.84465 6.21723 5.9238 6.02613 5.9238 5.82688C5.9238 5.62762 5.84465 5.43652 5.70375 5.29563L4.2875 3.88313Z"
744        fill="currentColor"
745      />
746    </svg>`}};d.styles=[a.resetStyles,l],c([(0,o.property)()],d.prototype,"color",void 0),c([(0,o.property)()],d.prototype,"size",void 0),d=c([(0,n.customElement)("wui-loading-spinner")],d),e.s([],673331)},288598,185817,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768);e.i(184022),e.i(673331),e.i(140872);var i=e.i(167040),a=e.i(13294),n=e.i(158650);let s=n.css`
747  :host {
748    width: var(--local-width);
749  }
750
751  button {
752    width: var(--local-width);
753    white-space: nowrap;
754    column-gap: ${({spacing:e})=>e[2]};
755    transition:
756      scale ${({durations:e})=>e.lg} ${({easings:e})=>e["ease-out-power-1"]},
757      background-color ${({durations:e})=>e.lg}
758        ${({easings:e})=>e["ease-out-power-2"]},
759      border-radius ${({durations:e})=>e.lg}
760        ${({easings:e})=>e["ease-out-power-1"]};
761    will-change: scale, background-color, border-radius;
762    cursor: pointer;
763  }
764
765  /* -- Sizes --------------------------------------------------- */
766  button[data-size='sm'] {
767    border-radius: ${({borderRadius:e})=>e[2]};
768    padding: 0 ${({spacing:e})=>e[2]};
769    height: 28px;
770  }
771
772  button[data-size='md'] {
773    border-radius: ${({borderRadius:e})=>e[3]};
774    padding: 0 ${({spacing:e})=>e[4]};
775    height: 38px;
776  }
777
778  button[data-size='lg'] {
779    border-radius: ${({borderRadius:e})=>e[4]};
780    padding: 0 ${({spacing:e})=>e[5]};
781    height: 48px;
782  }
783
784  /* -- Variants --------------------------------------------------------- */
785  button[data-variant='accent-primary'] {
786    background-color: ${({tokens:e})=>e.core.backgroundAccentPrimary};
787    color: ${({tokens:e})=>e.theme.textInvert};
788  }
789
790  button[data-variant='accent-secondary'] {
791    background-color: ${({tokens:e})=>e.core.foregroundAccent010};
792    color: ${({tokens:e})=>e.core.textAccentPrimary};
793  }
794
795  button[data-variant='neutral-primary'] {
796    background-color: ${({tokens:e})=>e.theme.backgroundInvert};
797    color: ${({tokens:e})=>e.theme.textInvert};
798  }
799
800  button[data-variant='neutral-secondary'] {
801    background-color: transparent;
802    border: 1px solid ${({tokens:e})=>e.theme.borderSecondary};
803    color: ${({tokens:e})=>e.theme.textPrimary};
804  }
805
806  button[data-variant='neutral-tertiary'] {
807    background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
808    color: ${({tokens:e})=>e.theme.textPrimary};
809  }
810
811  button[data-variant='error-primary'] {
812    background-color: ${({tokens:e})=>e.core.textError};
813    color: ${({tokens:e})=>e.theme.textInvert};
814  }
815
816  button[data-variant='error-secondary'] {
817    background-color: ${({tokens:e})=>e.core.backgroundError};
818    color: ${({tokens:e})=>e.core.textError};
819  }
820
821  button[data-variant='shade'] {
822    background: var(--wui-color-gray-glass-002);
823    color: var(--wui-color-fg-200);
824    border: none;
825    box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
826  }
827
828  /* -- Focus states --------------------------------------------------- */
829  button[data-size='sm']:focus-visible:enabled {
830    border-radius: 28px;
831  }
832
833  button[data-size='md']:focus-visible:enabled {
834    border-radius: 38px;
835  }
836
837  button[data-size='lg']:focus-visible:enabled {
838    border-radius: 48px;
839  }
840  button[data-variant='shade']:focus-visible:enabled {
841    background: var(--wui-color-gray-glass-005);
842    box-shadow:
843      inset 0 0 0 1px var(--wui-color-gray-glass-010),
844      0 0 0 4px var(--wui-color-gray-glass-002);
845  }
846
847  /* -- Hover & Active states ----------------------------------------------------------- */
848  @media (hover: hover) {
849    button[data-size='sm']:hover:enabled {
850      border-radius: 28px;
851    }
852
853    button[data-size='md']:hover:enabled {
854      border-radius: 38px;
855    }
856
857    button[data-size='lg']:hover:enabled {
858      border-radius: 48px;
859    }
860
861    button[data-variant='shade']:hover:enabled {
862      background: var(--wui-color-gray-glass-002);
863    }
864
865    button[data-variant='shade']:active:enabled {
866      background: var(--wui-color-gray-glass-005);
867    }
868  }
869
870  button[data-size='sm']:active:enabled {
871    border-radius: 28px;
872  }
873
874  button[data-size='md']:active:enabled {
875    border-radius: 38px;
876  }
877
878  button[data-size='lg']:active:enabled {
879    border-radius: 48px;
880  }
881
882  /* -- Disabled states --------------------------------------------------- */
883  button:disabled {
884    opacity: 0.3;
885  }
886`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c={lg:"lg-regular-mono",md:"md-regular-mono",sm:"sm-regular-mono"},d={lg:"md",md:"md",sm:"sm"},u=class extends t.LitElement{constructor(){super(...arguments),this.size="lg",this.disabled=!1,this.fullWidth=!1,this.loading=!1,this.variant="accent-primary"}render(){this.style.cssText=`
887    --local-width: ${this.fullWidth?"100%":"auto"};
888     `;let e=this.textVariant??c[this.size];return r.html`
889      <button data-variant=${this.variant} data-size=${this.size} ?disabled=${this.disabled}>
890        ${this.loadingTemplate()}
891        <slot name="iconLeft"></slot>
892        <wui-text variant=${e} color="inherit">
893          <slot></slot>
894        </wui-text>
895        <slot name="iconRight"></slot>
896      </button>
897    `}loadingTemplate(){if(this.loading){let e=d[this.size],t="neutral-primary"===this.variant||"accent-primary"===this.variant?"invert":"primary";return r.html`<wui-loading-spinner color=${t} size=${e}></wui-loading-spinner>`}return null}};u.styles=[i.resetStyles,i.elementStyles,s],l([(0,o.property)()
897],u.prototype,"size",void 0),l([(0,o.property)({type:Boolean})],u.prototype,"disabled",void 0),l([(0,o.property)({type:Boolean})],u.prototype,"fullWidth",void 0),l([(0,o.property)({type:Boolean})],u.prototype,"loading",void 0),l([(0,o.property)()],u.prototype,"variant",void 0),l([(0,o.property)()],u.prototype,"textVariant",void 0),u=l([(0,a.customElement)("wui-button")],u),e.s([],185817),e.s([],288598)},862220,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768),i=e.i(13294),a=e.i(158650);let n=a.css`
898  :host {
899    display: block;
900    background: linear-gradient(
901      90deg,
902      ${({tokens:e})=>e.theme.foregroundPrimary} 0%,
903      ${({tokens:e})=>e.theme.foregroundSecondary} 50%,
904      ${({tokens:e})=>e.theme.foregroundPrimary} 100%
905    );
906    background-size: 200% 100%;
907    animation: shimmer 2s linear infinite;
908    border-radius: ${({borderRadius:e})=>e[1]};
909  }
910
911  :host([data-rounded='true']) {
912    border-radius: ${({borderRadius:e})=>e[16]};
913  }
914
915  @keyframes shimmer {
916    0% {
917      background-position: 100% 0;
918    }
919    100% {
920      background-position: -100% 0;
921    }
922  }
923`;var s=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let l=class extends t.LitElement{constructor(){super(...arguments),this.width="",this.height="",this.variant="default",this.rounded=!1}render(){return this.style.cssText=`
924      width: ${this.width};
925      height: ${this.height};
926    `,this.dataset.rounded=this.rounded?"true":"false",r.html`<slot></slot>`}};l.styles=[n],s([(0,o.property)()],l.prototype,"width",void 0),s([(0,o.property)()],l.prototype,"height",void 0),s([(0,o.property)()],l.prototype,"variant",void 0),s([(0,o.property)({type:Boolean})],l.prototype,"rounded",void 0),l=s([(0,i.customElement)("wui-shimmer")],l),e.s([],862220)},486147,e=>{"use strict";e.i(862220),e.s([])},149991,e=>{"use strict";var t=e.i(972276),r=e.i(399239),o=e.i(970422),i=e.i(888875),a=e.i(906349);let n=(0,t.proxy)({message:"",variant:"info",open:!1}),s=(0,i.withErrorBoundary)({state:n,subscribeKey:(e,t)=>(0,r.subscribeKey)(n,e,t),open(e,t){let{debug:r}=a.OptionsController.state,{code:i,displayMessage:s,debugMessage:l}=e;if(s&&r&&(n.message=s,n.variant=t,n.open=!0),l){if(!o.ConstantsUtil.IS_DEVELOPMENT)return;let e="function"==typeof l?l():l,r=i?{code:i}:void 0;"error"===t?console.error(e,r):"warning"===t?console.warn(e,r):console.info(e,r)}},warn(e,t,r){n.open=!0,n.message=e,n.variant="warning",t&&console.warn(t,r)},close(){n.open=!1,n.message="",n.variant="info"}});e.s(["AlertController",0,s])},731650,869770,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(991768),i=e.i(68331),a=e.i(982109),n=e.i(424756),s=e.i(972276),l=e.i(399239),c=e.i(888875);let d=(0,s.proxy)({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),u=(0,c.withErrorBoundary)({state:d,subscribe:e=>(0,s.subscribe)(d,()=>e(d)),subscribeKey:(e,t)=>(0,l.subscribeKey)(d,e,t),showTooltip({message:e,triggerRect:t,variant:r}){d.open=!0,d.message=e,d.triggerRect=t,d.variant=r},hide(){d.open=!1,d.message="",d.triggerRect={width:0,height:0,top:0,left:0}}});e.i(570493);var h=e.i(13294),p=e.i(641118);let g=p.css`
927  :host {
928    width: 100%;
929    display: block;
930  }
931`;var m=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let b=class extends t.LitElement{constructor(){super(),this.unsubscribe=[],this.text="",this.open=u.state.open,this.unsubscribe.push(n.RouterController.subscribeKey("view",()=>{u.hide()}),a.ModalController.subscribeKey("open",e=>{e||u.hide()}),u.subscribeKey("open",e=>{this.open=e}))}
931disconnectedCallback(){this.unsubscribe.forEach(e=>e()),u.hide()}render(){return r.html`
932      <div
933        @pointermove=${this.onMouseEnter.bind(this)}
934        @pointerleave=${this.onMouseLeave.bind(this)}
935      >
936        ${this.renderChildren()}
937      </div>
938    `}renderChildren(){return r.html`<slot></slot> `}onMouseEnter(){let e=this.getBoundingClientRect();if(!this.open){let t=document.querySelector("w3m-modal"),r={width:e.width,height:e.height,left:e.left,top:e.top};if(t){let o=t.getBoundingClientRect();r.left=e.left-(window.innerWidth-o.width)/2,r.top=e.top-(window.innerHeight-o.height)/2}u.showTooltip({message:this.text,triggerRect:r,variant:"shade"})}}onMouseLeave(e){this.contains(e.relatedTarget)||u.hide()}};b.styles=[g],m([(0,o.property)()],b.prototype,"text",void 0),m([(0,i.state)()],b.prototype,"open",void 0),b=m([(0,h.customElement)("w3m-tooltip-trigger")],b),e.s([],731650);var v=t;e.i(707710),e.i(385914),e.i(73532);var f=e.i(158650);let y=f.css`
939  :host {
940    pointer-events: none;
941  }
942
943  :host > wui-flex {
944    display: var(--w3m-tooltip-display);
945    opacity: var(--w3m-tooltip-opacity);
946    padding: 9px ${({spacing:e})=>e["3"]} 10px ${({spacing:e})=>e["3"]};
947    border-radius: ${({borderRadius:e})=>e["3"]};
948    color: ${({tokens:e})=>e.theme.backgroundPrimary};
949    position: absolute;
950    top: var(--w3m-tooltip-top);
951    left: var(--w3m-tooltip-left);
952    transform: translate(calc(-50% + var(--w3m-tooltip-parent-width)), calc(-100% - 8px));
953    max-width: calc(var(--apkt-modal-width) - ${({spacing:e})=>e["5"]});
954    transition: opacity ${({durations:e})=>e.lg}
955      ${({easings:e})=>e["ease-out-power-2"]};
956    will-change: opacity;
957    opacity: 0;
958    animation-duration: ${({durations:e})=>e.xl};
959    animation-timing-function: ${({easings:e})=>e["ease-out-power-2"]};
960    animation-name: fade-in;
961    animation-fill-mode: forwards;
962  }
963
964  :host([data-variant='shade']) > wui-flex {
965    background-color: ${({tokens:e})=>e.theme.foregroundPrimary};
966  }
967
968  :host([data-variant='shade']) > wui-flex > wui-text {
969    color: ${({tokens:e})=>e.theme.textSecondary};
970  }
971
972  :host([data-variant='fill']) > wui-flex {
973    background-color: ${({tokens:e})=>e.theme.backgroundPrimary};
974    border: 1px solid ${({tokens:e})=>e.theme.borderPrimary};
975  }
976
977  wui-icon {
978    position: absolute;
979    width: 12px !important;
980    height: 4px !important;
981    color: ${({tokens:e})=>e.theme.foregroundPrimary};
982  }
983
984  wui-icon[data-placement='top'] {
985    bottom: 0px;
986    left: 50%;
987    transform: translate(-50%, 95%);
988  }
989
990  wui-icon[data-placement='bottom'] {
991    top: 0;
992    left: 50%;
993    transform: translate(-50%, -95%) rotate(180deg);
994  }
995
996  wui-icon[data-placement='right'] {
997    top: 50%;
998    left: 0;
999    transform: translate(-65%, -50%) rotate(90deg);
1000  }
1001
1002  wui-icon[data-placement='left'] {
1003    top: 50%;
1004    right: 0%;
1005    transform: translate(65%, -50%) rotate(270deg);
1006  }
1007
1008  @keyframes fade-in {
1009    from {
1010      opacity: 0;
1011    }
1012    to {
1013      opacity: 1;
1014    }
1015  }
1016`;var w=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let x=class extends v.LitElement{constructor(){super(),this.unsubscribe=[],this.open=u.state.open,this.message=u.state.message,this.triggerRect=u.state.triggerRect,this.variant=u.state.variant,this.unsubscribe.push(u.subscribe(e=>{this.open=e.open,this.message=e.message,this.triggerRect=e.triggerRect,this.variant=e.variant}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){this.dataset.variant=this.variant;let e=this.triggerRect.top,t=this.triggerRect.left;return this.style.cssText=`
1017    --w3m-tooltip-top: ${e}px;
1018    --w3m-tooltip-left: ${t}px;
1019    --w3m-tooltip-parent-width: ${this.triggerRect.width/2}px;
1020    --w3m-tooltip-display: ${this.open?"flex":"none"};
1021    --w3m-tooltip-opacity: ${+!!this.open};
1022    `,r.html`<wui-flex>
1023      <wui-icon data-placement="top" size="inherit" name="cursor"></wui-icon>
1024      <wui-text color="primary" variant="sm-regular">${this.message}</wui-text>
1025    </wui-flex>`}};x.styles=[y],w([(0,i.state)()],x.prototype,"open",void 0),w([(0,i.state)()],x.prototype,"message",void 0),w([(0,i.state)()],x.prototype,"triggerRect",void 0),w([(0,i.state)()],x.prototype,"variant",void 0),x=w([(0,h.customElement)("w3m-tooltip")],x),e.s([],869770)},930185,603919,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813);e.i(60924);var o=e.i(68331),i=e.i(906349);e.i(570493);var a=e.i(13294);e.i(707710),e.i(73532);var n=t;e.i(184022),e.i(140872),e.i(583232);var s=e.i(167040),l=e.i(158650);let c=l.css`
1026  .reown-logo {
1027    height: 24px;
1028  }
1029
1030  a {
1031    text-decoration: none;
1032    cursor: pointer;
1033    color: ${({tokens:e})=>e.theme.textSecondary};
1034  }
1035
1036  a:hover {
1037    opacity: 0.9;
1038  }
1039`,d=class extends n.LitElement{render(){return r.html`
1040      <a
1041        data-testid="ux-branding-reown"
1042        href=${"https://reown.com"}
1043        rel="noreferrer"
1044        target="_blank"
1045        style="text-decoration: none;"
1046      >
1047        <wui-flex
1048          justifyContent="center"
1049          alignItems="center"
1050          gap="1"
1051          .padding=${["01","0","3","0"]}
1052        >
1053          <wui-text variant="sm-regular" color="inherit"> UX by </wui-text>
1054          <wui-icon name="reown" size="inherit" class="reown-logo"></wui-icon>
1055        </wui-flex>
1056      </a>
1057    `}};d.styles=[s.resetStyles,s.elementStyles,c],d=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n}([(0,a.customElement)("wui-ux-by-reown")],d),e.s([],603919);let u=l.css`
1058  :host wui-ux-by-reown {
1059    padding-top: 0;
1060  }
1061
1062  :host wui-ux-by-reown.branding-only {
1063    padding-top: ${({spacing:e})=>e["3"]};
1064  }
1065
1066  a {
1067    text-decoration: none;
1068    color: ${({tokens:e})=>e.core.textAccentPrimary};
1069    font-weight: 500;
1070  }
1071`;var h=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let p=class extends t.LitElement{constructor(){super(),this.unsubscribe=[],this.remoteFeatures=i.OptionsController.state.remoteFeatures,this.unsubscribe.push(i.OptionsController.subscribeKey("remoteFeatures",e=>this.remoteFeatures=e))}
1071disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=i.OptionsController.state,o=i.OptionsController.state.features?.legalCheckbox;return(e||t)&&!o?r.html`
1072      <wui-flex flexDirection="column">
1073        <wui-flex .padding=${["4","3","3","3"]} justifyContent="center">
1074          <wui-text color="secondary" variant="md-regular" align="center">
1075            By connecting your wallet, you agree to our <br />
1076            ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()}
1077          </wui-text>
1078        </wui-flex>
1079        ${this.reownBrandingTemplate()}
1080      </wui-flex>
1081    `:r.html`
1082        <wui-flex flexDirection="column"> ${this.reownBrandingTemplate(!0)} </wui-flex>
1083      `}andTemplate(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=i.OptionsController.state;return e&&t?"and":""}termsTemplate(){let{termsConditionsUrl:e}=i.OptionsController.state;return e?r.html`<a href=${e} target="_blank" rel="noopener noreferrer"
1084      >Terms of Service</a
1085    >`:null}privacyTemplate(){let{privacyPolicyUrl:e}=i.OptionsController.state;return e?r.html`<a href=${e} target="_blank" rel="noopener noreferrer"
1086      >Privacy Policy</a
1087    >`:null}reownBrandingTemplate(e=!1){return this.remoteFeatures?.reownBranding?e?r.html`<wui-ux-by-reown class="branding-only"></wui-ux-by-reown>`:r.html`<wui-ux-by-reown></wui-ux-by-reown>`:null}};p.styles=[u],h([(0,o.state)()],p.prototype,"remoteFeatures",void 0),p=h([(0,a.customElement)("w3m-legal-footer")],p),e.s([],930185)},484081,e=>{"use strict";e.i(35526);var t=e.i(42964),r=e.i(244813),o=e.i(947366),i=e.i(405784),a=e.i(906349),n=e.i(424756),s=e.i(671789);e.i(570493);var l=e.i(13294);e.i(707710),e.i(385914),e.i(606445),e.i(73532);var c=e.i(93024),d=e.i(641118);let u=d.css``,h=class extends t.LitElement{render(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=a.OptionsController.state;return e||t?r.html`
1088      <wui-flex
1089        .padding=${["4","3","3","3"]}
1090        flexDirection="column"
1091        alignItems="center"
1092        justifyContent="center"
1093        gap="3"
1094      >
1095        <wui-text color="secondary" variant="md-regular" align="center">
1096          We work with the best providers to give you the lowest fees and best support. More options
1097          coming soon!
1098        </wui-text>
1099
1100        ${this.howDoesItWorkTemplate()}
1101      </wui-flex>
1102    `:null}howDoesItWorkTemplate(){return r.html` <wui-link @click=${this.onWhatIsBuy.bind(this)}>
1103      <wui-icon size="xs" color="accent-primary" slot="iconLeft" name="helpCircle"></wui-icon>
1104      How does it work?
1105    </wui-link>`}onWhatIsBuy(){i.EventsController.sendEvent({type:"track",event:"SELECT_WHAT_IS_A_BUY",properties:{isSmartAccount:(0,s.getPreferredAccountType)(o.ChainController.state.activeChain)===c.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT}}),n.RouterController.push("WhatIsABuy")}};h.styles=[u],h=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n}([(0,l.customElement)("w3m-onramp-providers-footer")],h),e.s([],484081)}]);

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.