@dcl/governance-site 2.2.0 → 2.2.1-21665330633.commit-a84cde5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{BlockOverrides-e40b0ffc.js → BlockOverrides-47ba14de.js} +1 -1
- package/assets/{ConstantsUtil-d225b302.js → ConstantsUtil-74cbeb46.js} +1 -1
- package/assets/{ExchangeController-fafa3e5d.js → ExchangeController-c8cf0dc2.js} +1 -1
- package/assets/{HelpersUtil-2a9b3746.js → HelpersUtil-af7d5521.js} +1 -1
- package/assets/{NetworkUtil-6bdd2f38.js → NetworkUtil-018a04dd.js} +1 -1
- package/assets/{ReownAuthentication-acf89426.js → ReownAuthentication-c82e7be1.js} +1 -1
- package/assets/{SwapController-225926f9.js → SwapController-7331a076.js} +1 -1
- package/assets/UserAvatar-767c3525.js +1 -0
- package/assets/brotli_wasm_bg-9ef0a025.wasm +0 -0
- package/assets/{tslib.es6-9a946fb7.js → browser-1ed5ca1b.js} +2 -2
- package/assets/{ccip-327f0ce9.js → ccip-aeba1cd4.js} +1 -1
- package/assets/ccip-fbd6fd54.js +1 -0
- package/assets/{data-capture-d5e8ac51.js → data-capture-21e1b4ef.js} +1 -1
- package/assets/{email-508f134c.js → email-4f9ffed3.js} +1 -1
- package/assets/{embedded-wallet-f700359e.js → embedded-wallet-bd995e6e.js} +1 -1
- package/assets/features-aebab83e.js +1 -0
- package/assets/{fortmatic-c7197b28.js → fortmatic-bdba50e8.js} +1 -1
- package/assets/{if-defined-80d57cbb.js → if-defined-3941328c.js} +1 -1
- package/assets/{index-54581a05.js → index-1770fc2c.js} +1 -1
- package/assets/{index-90c177e7.js → index-1ff0464c.js} +1 -1
- package/assets/index-22ee64f6.js +95 -0
- package/assets/index-40fca2a5.js +249 -0
- package/assets/{index-1e56388d.js → index-422790dd.js} +12 -12
- package/assets/{index-09ca4c69.js → index-52c5ecac.js} +1 -1
- package/assets/{index-53a2bd00.js → index-537828c8.js} +1 -1
- package/assets/{index-b269a5b1.js → index-53b6af42.js} +1 -1
- package/assets/{index-43373255.js → index-5b998679.js} +3 -3
- package/assets/{index-91787f25.js → index-5f24dd20.js} +1 -1
- package/assets/{index-0db9a042.js → index-65180699.js} +1 -1
- package/assets/{index-61374631.js → index-6b0dac86.js} +1 -1
- package/assets/index-6b8d56eb.js +1 -0
- package/assets/{index-eae3cf80.js → index-73d91152.js} +1 -1
- package/assets/{index-f69debff.js → index-785870d9.js} +1 -1
- package/assets/{index-64846cfb.js → index-79e4bc0f.js} +1 -1
- package/assets/{index-90492cb7.js → index-80a1c955.js} +1 -1
- package/assets/{index-1c3250cc.js → index-815fd439.js} +1 -1
- package/assets/{index-394aef9f.js → index-81da46b4.js} +1 -1
- package/assets/{index-78b637c0.js → index-83a44d16.js} +1 -1
- package/assets/{index-dcc032e7.js → index-84bf2697.js} +1 -1
- package/assets/index-980812a4.js +1 -0
- package/assets/{index-d62681ba.js → index-9aec7b63.js} +1 -1
- package/assets/{index-ce441a34.js → index-a304d1d5.js} +1 -1
- package/assets/{index-be776eb9.js → index-ac0613e9.js} +1 -1
- package/assets/{index-d7566f7f.js → index-ae2f4677.js} +22 -22
- package/assets/{index-b279362d.js → index-ae330608.js} +1 -1
- package/assets/{index-24dee071.js → index-b2706867.js} +1 -1
- package/assets/{index-83994cbb.css → index-bbde3cbe.css} +4 -4
- package/assets/index-c2738925.js +23197 -0
- package/assets/{index-b520059a.js → index-c5983149.js} +1 -1
- package/assets/{index-8ef506ad.js → index-c5ebd256.js} +1 -1
- package/assets/{index-12bf7eb8.js → index-cfae65cb.js} +1 -1
- package/assets/index-d1995a19.js +1 -0
- package/assets/{index-bee86887.js → index-d60ce203.js} +1 -1
- package/assets/index-e48d3c33.js +7 -0
- package/assets/{index-af1dfa27.js → index-e59e960b.js} +1 -1
- package/assets/{index-d3f89df3.js → index-f04fc028.js} +1 -1
- package/assets/{index-47adf3e0.js → index-f2b00f65.js} +1 -1
- package/assets/index.web-14d0a690.js +1 -0
- package/assets/{networks-fa1047f0.js → networks-1a656d20.js} +1 -1
- package/assets/{onramp-1fec144d.js → onramp-ceffcc04.js} +1 -1
- package/assets/{pay-with-exchange-e4efdcbc.js → pay-with-exchange-daae8b7c.js} +1 -1
- package/assets/{receive-aeab1239.js → receive-aa0e596b.js} +1 -1
- package/assets/{ref-2a30eab8.js → ref-885cdf1c.js} +1 -1
- package/assets/secp256k1-f6ec3215.js +1 -0
- package/assets/{send-1d8d9f5d.js → send-4d23fd67.js} +1 -1
- package/assets/{socials-987144da.js → socials-c8e42372.js} +1 -1
- package/assets/{swaps-571e4379.js → swaps-78bc736e.js} +1 -1
- package/assets/{transactions-05c7409a.js → transactions-54fec30f.js} +1 -1
- package/assets/{w3m-modal-948091dc.js → w3m-modal-16447f00.js} +1 -1
- package/assets/{zoraTestnet-89a2b0f4.js → zoraTestnet-8978ab62.js} +2 -2
- package/index.html +4 -4
- package/package.json +3 -3
- package/assets/ContentfulRichText-df6bebc7.js +0 -1
- package/assets/UserAvatar-eeccb12a.js +0 -1
- package/assets/__vite-optional-peer-dep_lottie-react_decentraland-ui2-b25bb000.js +0 -1
- package/assets/features-a5d8f397.js +0 -1
- package/assets/index-267721c1.js +0 -2437
- package/assets/index-3a41dc38.js +0 -7
- package/assets/index-b1e60367.js +0 -277
- package/assets/index-c06a8e22.js +0 -102
- package/assets/rich-text-react-renderer_decentraland-ui2-b25bb000.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as l,l as m,m as c}from"./index-
|
|
1
|
+
import{j as l,l as m,m as c}from"./index-40fca2a5.js";import{n as h,c as f}from"./index-e59e960b.js";const p=l`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
background: linear-gradient(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as m,r as c,l as f,m as d}from"./index-
|
|
1
|
+
import{n as m,r as c,l as f,m as d}from"./index-40fca2a5.js";import{n as p,c as b}from"./index-e59e960b.js";import{o as h}from"./if-defined-3941328c.js";import"./index-c5983149.js";const v=m`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u,r as p,l as g,m as c}from"./index-
|
|
1
|
+
import{j as u,r as p,l as g,m as c}from"./index-40fca2a5.js";import{n as r,c as m}from"./index-e59e960b.js";import{o as f}from"./if-defined-3941328c.js";const b=u`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
width: var(--local-width);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{I as t,n as d,r as p,l as n,m as w}from"./index-40fca2a5.js";import{n as f,c as k,a as v}from"./index-e59e960b.js";const g=t`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<rect width="64" height="64" fill="#F7931A"/>
|
|
3
3
|
<g clip-path="url(#clip0_1045_17)">
|
|
4
4
|
<path d="M63.0394 39.7409C58.7654 56.8839 41.4024 67.3169 24.2574 63.0419C7.11937 58.7679 -3.31363 41.4039 0.962367 24.2619C5.23437 7.11686 22.5974 -3.31714 39.7374 0.956863C56.8814 5.23086 67.3134 22.5969 63.0394 39.7409Z" fill="#F7931A"/>
|
|
@@ -463,6 +463,6 @@ import{U as t,n as d,r as p,l as n,m as w}from"./index-b1e60367.js";import{n as
|
|
|
463
463
|
width: 100%;
|
|
464
464
|
height: 100%;
|
|
465
465
|
}
|
|
466
|
-
`;var c=globalThis&&globalThis.__decorate||function(a,i,e,o){var r=arguments.length,l=r<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,e):o,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,e,o);else for(var s=a.length-1;s>=0;s--)(h=a[s])&&(l=(r<3?h(l):r>3?h(i,e,l):h(i,e))||l);return r>3&&l&&Object.defineProperty(i,e,l),l};const
|
|
466
|
+
`;var c=globalThis&&globalThis.__decorate||function(a,i,e,o){var r=arguments.length,l=r<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,e):o,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,e,o);else for(var s=a.length-1;s>=0;s--)(h=a[s])&&(l=(r<3?h(l):r>3?h(i,e,l):h(i,e))||l);return r>3&&l&&Object.defineProperty(i,e,l),l};const G={browser:M,dao:u,defi:x,defiAlt:Z,eth:L,layers:V,lock:B,login:H,network:_,nft:D,noun:m,profile:A,system:b,meld:F,onrampCard:P,google:E,pencil:S,lightbulb:y,solana:j,ton:v,bitcoin:g};let C=class extends n{constructor(){super(...arguments),this.name="browser",this.size="md"}render(){return this.style.cssText=`
|
|
467
467
|
--local-size: var(--apkt-visual-size-${this.size});
|
|
468
|
-
`,w`${
|
|
468
|
+
`,w`${G[this.name]}`}};C.styles=[p,z];c([f()],C.prototype,"name",void 0);c([f()],C.prototype,"size",void 0);C=c([k("wui-visual")],C);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as h,r as m,k as g,l as y,m as l}from"./index-
|
|
1
|
+
import{j as h,r as m,k as g,l as y,m as l}from"./index-40fca2a5.js";import{n as i,c as b}from"./index-e59e960b.js";import{o as c}from"./if-defined-3941328c.js";import"./index-a304d1d5.js";const f=h`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as c,E as d,R as g,o as m,S as w,h as l,
|
|
1
|
+
import{C as c,E as d,R as g,o as m,S as w,h as l,J as E,K as _,j as b,r as y,l as C,m as v,k as R}from"./index-40fca2a5.js";import{C as T}from"./NetworkUtil-018a04dd.js";import{n as p,c as S}from"./index-e59e960b.js";import{o as O}from"./if-defined-3941328c.js";function $(){try{return l.returnOpenHref(`${T.SECURE_SITE_SDK_ORIGIN}/loading`,"popupWindow","width=600,height=800,scrollbars=yes")}catch{throw new Error("Could not open social popup")}}async function I(){g.push("ConnectingFarcaster");const e=m.getAuthConnector();if(e){const o=c.getAccountData();if(!(o!=null&&o.farcasterUrl))try{const{url:t}=await e.provider.getFarcasterUri();c.setAccountProp("farcasterUrl",t,c.state.activeChain)}catch(t){g.goBack(),w.showError(t)}}}async function L(e){g.push("ConnectingSocial");const o=m.getAuthConnector();let t=null;try{const n=setTimeout(()=>{throw new Error("Social login timed out. Please try again.")},45e3);if(o&&e){if(l.isTelegram()||(t=$()),t)c.setAccountProp("socialWindow",E(t),c.state.activeChain);else if(!l.isTelegram())throw new Error("Could not create social popup");const{uri:i}=await o.provider.getSocialRedirectUri({provider:e});if(!i)throw t==null||t.close(),new Error("Could not fetch the social redirect uri");if(t&&(t.location.href=i),l.isTelegram()){_.setTelegramSocialProvider(e);const r=l.formatTelegramSocialLoginUrl(i);l.openHref(r,"_top")}clearTimeout(n)}}catch(n){t==null||t.close();const i=l.parseError(n);w.showError(i),d.sendEvent({type:"track",event:"SOCIAL_LOGIN_ERROR",properties:{provider:e,message:i}})}}async function z(e){c.setAccountProp("socialProvider",e,c.state.activeChain),d.sendEvent({type:"track",event:"SOCIAL_LOGIN_STARTED",properties:{provider:e}}),e==="farcaster"?await I():await L(e)}const U=b`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as v,s as C,a as T,j as k,r as y,l as m,m as d,O as l}from"./index-
|
|
1
|
+
import{p as v,s as C,a as T,j as k,r as y,l as m,m as d,O as l}from"./index-40fca2a5.js";import{n as b,c as g,r as O}from"./index-e59e960b.js";import{o as _}from"./if-defined-3941328c.js";import{e as j,n as L}from"./ref-885cdf1c.js";const h=v({isLegalCheckboxChecked:!1}),f={state:h,subscribe(e){return C(h,()=>e(h))},subscribeKey(e,t){return T(h,e,t)},setIsLegalCheckboxChecked(e){h.isLegalCheckboxChecked=e}},R=k`
|
|
2
2
|
label {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as $,T as G,t as I,a as F,U as q,V as N,W as V,X,Y,Z,_,c as z,$ as J}from"./index-c2738925.js";var E=$,K=G,f=I,O=F,Q=function(r,n,e){if(!r||typeof r!="object"&&typeof r!="function")throw new f("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new f("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new f("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new f("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new f("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new f("`loose`, if provided, must be a boolean");var t=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,i=!!O&&O(r,n);if(E)E(r,n,{configurable:l===null&&i?i.configurable:!l,enumerable:t===null&&i?i.enumerable:!t,value:e,writable:o===null&&i?i.writable:!o});else if(h||!t&&!o&&!l)r[n]=e;else throw new K("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},d=$,M=function(){return!!d};M.hasArrayLengthDefineBug=function(){if(!d)return null;try{return d([],"length",{value:1}).length!==1}catch{return!0}};var k=M,U={exports:{}},rr=q,B=Q,nr=k(),D=F,P=I,tr=rr("%Math.floor%"),er=function(r,n){if(typeof r!="function")throw new P("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||tr(n)!==n)throw new P("`length` must be a positive 32-bit integer");var e=arguments.length>2&&!!arguments[2],t=!0,o=!0;if("length"in r&&D){var l=D(r,"length");l&&!l.configurable&&(t=!1),l&&!l.writable&&(o=!1)}return(t||o||!e)&&(nr?B(r,"length",n,!0,!0):B(r,"length",n)),r},ar=N(),or=V(),lr=X,ir=function(){return lr(ar,or,arguments)};(function(a){var r=er,n=$,e=Y,t=ir;a.exports=function(l){var h=e(arguments),i=l.length-(arguments.length-1);return r(h,1+(i>0?i:0),!0)},n?n(a.exports,"apply",{value:t}):a.exports.apply=t})(U);var fr=U.exports,sr=Z,ur=function(){return sr()&&!!Symbol.toStringTag},H=Function.prototype.toString,s=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,A,c;if(typeof s=="function"&&typeof Object.defineProperty=="function")try{A=Object.defineProperty({},"length",{get:function(){throw c}}),c={},s(function(){throw 42},null,A)}catch(a){a!==c&&(s=null)}else s=null;var cr=/^\s*class\b/,S=function(r){try{var n=H.call(r);return cr.test(n)}catch{return!1}},b=function(r){try{return S(r)?!1:(H.call(r),!0)}catch{return!1}},y=Object.prototype.toString,yr="[object Object]",gr="[object Function]",pr="[object GeneratorFunction]",vr="[object HTMLAllCollection]",hr="[object HTML document.all class]",br="[object HTMLCollection]",mr=typeof Symbol=="function"&&!!Symbol.toStringTag,dr=!(0 in[,]),T=function(){return!1};if(typeof document=="object"){var Ar=document.all;y.call(Ar)===y.call(document.all)&&(T=function(r){if((dr||!r)&&(typeof r>"u"||typeof r=="object"))try{var n=y.call(r);return(n===vr||n===hr||n===br||n===yr)&&r("")==null}catch{}return!1})}var Sr=s?function(r){if(T(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{s(r,null,A)}catch(n){if(n!==c)return!1}return!S(r)&&b(r)}:function(r){if(T(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(mr)return b(r);if(S(r))return!1;var n=y.call(r);return n!==gr&&n!==pr&&!/^\[object HTML/.test(n)?!1:b(r)},Tr=Sr,wr=Object.prototype.toString,R=Object.prototype.hasOwnProperty,$r=function(r,n,e){for(var t=0,o=r.length;t<o;t++)R.call(r,t)&&(e==null?n(r[t],t,r):n.call(e,r[t],t,r))},Fr=function(r,n,e){for(var t=0,o=r.length;t<o;t++)e==null?n(r.charAt(t),t,r):n.call(e,r.charAt(t),t,r)},jr=function(r,n,e){for(var t in r)R.call(r,t)&&(e==null?n(r[t],t,r):n.call(e,r[t],t,r))};function Cr(a){return wr.call(a)==="[object Array]"}var Er=function(r,n,e){if(!Tr(n))throw new TypeError("iterator must be a function");var t;arguments.length>=3&&(t=e),Cr(r)?$r(r,n,t):typeof r=="string"?Fr(r,n,t):jr(r,n,t)},Or=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],m=Or,Br=typeof globalThis>"u"?_:globalThis,Dr=function(){for(var r=[],n=0;n<m.length;n++)typeof Br[m[n]]=="function"&&(r[r.length]=m[n]);return r},p=Er,Pr=Dr,x=fr,j=z,g=F,u=J,xr=j("Object.prototype.toString"),W=ur(),L=typeof globalThis>"u"?_:globalThis,w=Pr(),C=j("String.prototype.slice"),Lr=j("Array.prototype.indexOf",!0)||function(r,n){for(var e=0;e<r.length;e+=1)if(r[e]===n)return e;return-1},v={__proto__:null};W&&g&&u?p(w,function(a){var r=new L[a];if(Symbol.toStringTag in r&&u){var n=u(r),e=g(n,Symbol.toStringTag);if(!e&&n){var t=u(n);e=g(t,Symbol.toStringTag)}if(e&&e.get){var o=x(e.get);v["$"+a]=o}}}):p(w,function(a){var r=new L[a],n=r.slice||r.set;if(n){var e=x(n);v["$"+a]=e}});var Ir=function(r){var n=!1;return p(v,function(e,t){if(!n)try{"$"+e(r)===t&&(n=C(t,1))}catch{}}),n},_r=function(r){var n=!1;return p(v,function(e,t){if(!n)try{e(r),n=C(t,1)}catch{}}),n},Ur=function(r){if(!r||typeof r!="object")return!1;if(!W){var n=C(xr(r),8,-1);return Lr(w,n)>-1?n:n!=="Object"?!1:_r(r)}return g?Ir(r):null};export{fr as c,Q as d,k as h,ur as s,Ur as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u,r as h,k as p,l as f,m as g}from"./index-
|
|
1
|
+
import{j as u,r as h,k as p,l as f,m as g}from"./index-40fca2a5.js";import{n as d,c as m}from"./index-e59e960b.js";import{o as b}from"./if-defined-3941328c.js";const y=u`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as w,w as v,s as y,a as x,n as $,l as f,R,M as T,m,j as C}from"./index-
|
|
1
|
+
import{p as w,w as v,s as y,a as x,n as $,l as f,R,M as T,m,j as C}from"./index-40fca2a5.js";import{n as P,r as d,c as b}from"./index-e59e960b.js";const n=w({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),_={state:n,subscribe(t){return y(n,()=>t(n))},subscribeKey(t,e){return x(n,t,e)},showTooltip({message:t,triggerRect:e,variant:o}){n.open=!0,n.message=t,n.triggerRect=e,n.variant=o},hide(){n.open=!1,n.message="",n.triggerRect={width:0,height:0,top:0,left:0}}},s=v(_),j=$`
|
|
2
2
|
:host {
|
|
3
3
|
width: 100%;
|
|
4
4
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d,r as m,k as c,l as f,v,m as h}from"./index-
|
|
1
|
+
import{j as d,r as m,k as c,l as f,v,m as h}from"./index-40fca2a5.js";import{n as r,c as y,U as b}from"./index-e59e960b.js";import{e as g,n as w}from"./ref-885cdf1c.js";const x=d`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as g,l as f,R as u,m as e,E as P,r as k,k as A}from"./index-
|
|
1
|
+
import{j as g,l as f,R as u,m as e,E as P,r as k,k as A}from"./index-40fca2a5.js";import{r as y,c as b,n as w}from"./index-e59e960b.js";import"./index-81da46b4.js";import{H as x}from"./HelpersUtil-af7d5521.js";import{o as h}from"./if-defined-3941328c.js";import"./index-73d91152.js";import"./index-ac0613e9.js";const I=g`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u,r as b,k as p,l as h,m as v}from"./index-
|
|
1
|
+
import{j as u,r as b,k as p,l as h,m as v}from"./index-40fca2a5.js";import{n as r,c as f}from"./index-e59e960b.js";const g=u`
|
|
2
2
|
button {
|
|
3
3
|
background-color: transparent;
|
|
4
4
|
padding: ${({spacing:t})=>t[1]};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as y,l as m,m as a,E as b,y as g,C as x,W as v,R as T,O as c,j as d,r as C,k as _}from"./index-
|
|
1
|
+
import{n as y,l as m,m as a,E as b,y as g,C as x,W as v,R as T,O as c,j as d,r as C,k as _}from"./index-40fca2a5.js";import{c as w,r as $}from"./index-e59e960b.js";import"./index-83a44d16.js";const R=y``;var O=globalThis&&globalThis.__decorate||function(n,e,r,o){var i=arguments.length,t=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,r,o);else for(var s=n.length-1;s>=0;s--)(l=n[s])&&(t=(i<3?l(t):i>3?l(e,r,t):l(e,r))||t);return i>3&&t&&Object.defineProperty(e,r,t),t};let f=class extends m{render(){const{termsConditionsUrl:e,privacyPolicyUrl:r}=c.state;return!e&&!r?null:a`
|
|
2
2
|
<wui-flex
|
|
3
3
|
.padding=${["4","3","3","3"]}
|
|
4
4
|
flexDirection="column"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as b,r as p,k as m,l as v,m as u}from"./index-
|
|
1
|
+
import{j as b,r as p,k as m,l as v,m as u}from"./index-40fca2a5.js";import{n as d,c as f}from"./index-e59e960b.js";const h=b`
|
|
2
2
|
button {
|
|
3
3
|
border: none;
|
|
4
4
|
background: transparent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as v,r as I,k as W,l as m,m as l,O as f,C as u,$ as Te,H as T,h as y,M as P,n as ee,E as C,
|
|
1
|
+
import{j as v,r as I,k as W,l as m,m as l,O as f,C as u,$ as Te,H as T,h as y,M as P,n as ee,E as C,K as fe,o as b,R as h,c as D,S as k,x,y as ze,W as Fe,af as Xt,ag as he,aa as J,a6 as Hi,G as A,ah as tt,u as Ai,U as Ki,Q as qi,P as Gi,T as mt,a0 as Yt,a1 as Qt,ai as Xi,a3 as Bt,aj as Yi}from"./index-40fca2a5.js";import{n as c,c as p,U as F,r as d,b as Ii}from"./index-e59e960b.js";import{o as w}from"./if-defined-3941328c.js";import"./index-53b6af42.js";import"./index-a304d1d5.js";import"./index-1ff0464c.js";import"./index-73d91152.js";import{a as Ta,W as Sa}from"./index-80a1c955.js";import"./index-815fd439.js";import"./index-5f24dd20.js";import"./index-cfae65cb.js";import{C as S}from"./NetworkUtil-018a04dd.js";import{H as Jt}from"./HelpersUtil-af7d5521.js";import{n as Qi}from"./index-ac0613e9.js";import{E as Q}from"./ExchangeController-c8cf0dc2.js";import"./index-ae330608.js";import"./index-d60ce203.js";import"./index-785870d9.js";import{M as ft}from"./MathUtil-b514a570.js";import"./index-f04fc028.js";import{e as Zt,n as ei}from"./ref-885cdf1c.js";import"./index-c5983149.js";import"./index-52c5ecac.js";import"./index-81da46b4.js";import"./index-537828c8.js";import{O as bt}from"./index-6b0dac86.js";import{e as Ji}from"./index-65180699.js";import"./index-83a44d16.js";import"./index-22ee64f6.js";import{N as Zi}from"./NavigationUtil-a0d0ce87.js";import"./index-5b998679.js";import"./index-c2738925.js";import"./index-422790dd.js";import"./BlockOverrides-47ba14de.js";import"./ConstantsUtil-74cbeb46.js";const en=v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a={}.toString,t=Array.isArray||function(r){return a.call(r)=="[object Array]"};export{t as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{P as t,A as c,a as d}from"./index-
|
|
1
|
+
import{P as t,A as c,a as d}from"./index-1770fc2c.js";import{b as ne,c as me,W as ce}from"./index-1770fc2c.js";import"./index-40fca2a5.js";import"./index-c2738925.js";import"./NetworkUtil-018a04dd.js";import"./index-422790dd.js";import"./BlockOverrides-47ba14de.js";import"./index-e59e960b.js";import"./if-defined-3941328c.js";import"./index-cfae65cb.js";import"./index-a304d1d5.js";import"./index-815fd439.js";import"./index-53b6af42.js";import"./index-5f24dd20.js";import"./index-ac0613e9.js";import"./index-73d91152.js";import"./index-f04fc028.js";import"./index-52c5ecac.js";import"./MathUtil-b514a570.js";const C=3e5;async function U(e){return t.handleOpenPay(e)}async function M(e,r=C){if(r<=0)throw new c(d.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await U(e)}catch(s){throw s instanceof c?s:new c(d.UNABLE_TO_INITIATE_PAYMENT,s.message)}return new Promise((s,p)=>{let o=!1;const i=setTimeout(()=>{o||(o=!0,m(),p(new c(d.GENERIC_PAYMENT_ERROR,"Payment timeout")))},r);function n(){if(o)return;const a=t.state.currentPayment,u=t.state.error,D=t.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){o=!0,m(),clearTimeout(i),s({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){o=!0,m(),clearTimeout(i),s({success:!1,error:u||"Payment failed"});return}u&&!D&&!a&&(o=!0,m(),clearTimeout(i),s({success:!1,error:u}))}const b=l("currentPayment",n),y=l("error",n),S=l("isPaymentInProgress",n),m=E([b,y,S]);n()})}function O(){return t.getExchanges()}function H(){var e;return(e=t.state.currentPayment)==null?void 0:e.result}function L(){return t.state.error}function z(){return t.state.isPaymentInProgress}function l(e,r){return t.subscribeKey(e,r)}function E(e){return()=>{e.forEach(r=>{try{r()}catch{}})}}const B={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},G={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},W={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},J={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},V={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},Z={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},j={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},Q={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},X={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},$={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ee={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},te={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},ae={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},se={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};export{t as PayController,ne as W3mPayLoadingView,me as W3mPayQuoteView,ce as W3mPayView,Z as arbitrumUSDC,ee as arbitrumUSDT,B as baseETH,W as baseSepoliaETH,G as baseUSDC,J as ethereumUSDC,X as ethereumUSDT,O as getExchanges,z as getIsPaymentInProgress,L as getPayError,H as getPayResult,U as openPay,V as optimismUSDC,$ as optimismUSDT,M as pay,j as polygonUSDC,te as polygonUSDT,se as solanaSOL,Q as solanaUSDC,ae as solanaUSDT};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,r as d,l as m,v as r,m as g}from"./index-
|
|
1
|
+
import{n as p,r as d,l as m,v as r,m as g}from"./index-40fca2a5.js";import{n as h,c as x}from"./index-e59e960b.js";const v=p`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{I as f,j as w,r as v,l as b,m as n,k as y}from"./index-40fca2a5.js";import{n as o,c as x,U as $}from"./index-e59e960b.js";import"./index-53b6af42.js";import"./index-73d91152.js";import{o as z}from"./if-defined-3941328c.js";const S=f`<svg width="86" height="96" fill="none">
|
|
2
2
|
<path
|
|
3
3
|
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"
|
|
4
4
|
/>
|