@imtbl/sdk 1.72.4 → 1.72.5-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{blockchain_data-DwoW8EXa.js → blockchain_data-tjWlHWZR.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-XEOxeUOK.js → AddTokensWidget-BWG3NQ9B.js} +52 -46
- package/dist/browser/checkout/{BridgeWidget-Clj0rpb5.js → BridgeWidget-Ci2WB7Nf.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-DKW0PiJu.js → CommerceWidget-DU93DqRK.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-DPaok_1B.js → CryptoFiatProvider-hYwPM-aZ.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-CGGaR7N1.js → EllipsizedText-CJv9sue6.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-CrCYjQsN.js → FeesBreakdown-CFr2Ba8o.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-5SX9_Xiq.js → HandoverContent-7XgMxmMH.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-RGyz_t74.js → OnRampWidget-BdBudr53.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-CJySbSv8.js → SaleWidget-ow1U6WSy.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-ezwxfLmM.js → SpendingCapHero-BfHzFx2e.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CyxxcafB.js → SwapWidget-D52nXXsd.js} +9 -9
- package/dist/browser/checkout/{TokenImage-BA0u7Bgh.js → TokenImage-Bv4QDjsG.js} +1 -1
- package/dist/browser/checkout/{TopUpView-B1a8J1mC.js → TopUpView-RU9tyx5M.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-DAITG5M0.js → WalletApproveHero-6xRquyAA.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-BxGPxriO.js → WalletWidget-B9RKEYud.js} +4 -4
- package/dist/browser/checkout/{auto-track-Dk9WOiOp.js → auto-track-DrUv_-5G.js} +1 -1
- package/dist/browser/checkout/{index-mrxzvJu8.js → index-BDRM7Uih.js} +1 -1
- package/dist/browser/checkout/{index-CFuDYPeI.js → index-BdbcBXtl.js} +19 -19
- package/dist/browser/checkout/{index-DFz090oi.js → index-BmEvMRSe.js} +1 -1
- package/dist/browser/checkout/{index-Oc5pNJz9.js → index-BpB8pCnR.js} +2 -2
- package/dist/browser/checkout/{index-D0Tv6Vsb.js → index-D8H34D4j.js} +1 -1
- package/dist/browser/checkout/{index-CyfOrvHW.js → index-DF3H3Vt3.js} +1 -1
- package/dist/browser/checkout/{index-CcjuvsGM.js → index-Dhym2CWn.js} +1 -1
- package/dist/browser/checkout/{index-Dok96qDW.js → index-LgFL8sFc.js} +1 -1
- package/dist/browser/checkout/{index-C6lPs4SY.js → index-SCzeiVsL.js} +1 -1
- package/dist/browser/checkout/{index.umd-rVoY7U1T.js → index.umd-BXtpGQf3.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-BQ8_ct2v.js → useInterval-Ded2Ls8Y.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +46 -40
- package/dist/{checkout-D-ig8t-E.js → checkout-C3IyJmOO.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-C-rchxTd.js → config-BEKlCP1f.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-Day0RG9r.js → index-BI6Lcs_k.js} +1 -1
- package/dist/{index-D1X1KVtg.js → index-Ca1SMWyl.js} +3 -3
- package/dist/{index-D8z8i8pI.js → index-D2jUVFkQ.js} +1 -1
- package/dist/{index-Ca_d7QJz.js → index-DEd43Q5D.js} +4 -4
- package/dist/{index-BspPScW3.js → index-Dp5Bl--R.js} +1 -1
- package/dist/{index-C1wrSED_.js → index-xM7eWglN.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-CBrr0eKZ.js → minting_backend-B1ZSvhbL.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-LamTiNG_.js → orderbook-CvGJHu9O.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DiEqCqiQ.js → passport-sL6aQlhZ.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BVvgyEsm.js → webhook-CQ1TI_Sz.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-DvF2aGDZ.js → x-BTxWIEwm.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -135208,7 +135208,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135208
135208
|
|
|
135209
135209
|
const o$2=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T$2={state:o$2,subscribe(e){return subscribe(o$2,()=>e(o$2))},push(e,t){e!==o$2.view&&(o$2.view=e,t&&(o$2.data=t),o$2.history.push(e));},reset(e){o$2.view=e,o$2.history=[e];},replace(e){o$2.history.length>1&&(o$2.history[o$2.history.length-1]=e,o$2.view=e);},goBack(){if(o$2.history.length>1){o$2.history.pop();const[e]=o$2.history.slice(-1);o$2.view=e;}},setData(e){o$2.data=e;}},a$4={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?Boolean(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return a$4.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$4.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(a$4.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let n=e;n.includes("://")||(n=e.replaceAll("/","").replaceAll(":",""),n=`${n}://`),n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},formatUniversalUrl(e,t,s){if(!a$4.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let n=e;n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},async wait(e){return new Promise(t=>{setTimeout(t,e);})},openHref(e,t){window.open(e,t,"noreferrer noopener");},setWalletConnectDeepLink(e,t){try{localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}));}catch{console.info("Unable to set WalletConnect deep link");}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$4.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T$2.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},_$3=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),r$3=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$5={state:r$3,subscribe(e){return subscribe(r$3.events,()=>e(snapshot(r$3.events[r$3.events.length-1])))},initialize(){r$3.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r$3.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r$3.connectedWalletId=e;},click(e){if(r$3.enabled){const t={type:"CLICK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},track(e){if(r$3.enabled){const t={type:"TRACK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},view(e){if(r$3.enabled){const t={type:"VIEW",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}}},c$4=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$9={state:c$4,subscribe(e){return subscribe(c$4,()=>e(c$4))},setChains(e){c$4.chains=e;},setWalletConnectUri(e){c$4.walletConnectUri=e;},setIsCustomDesktop(e){c$4.isCustomDesktop=e;},setIsCustomMobile(e){c$4.isCustomMobile=e;},setIsDataLoaded(e){c$4.isDataLoaded=e;},setIsUiLoaded(e){c$4.isUiLoaded=e;},setIsAuth(e){c$4.isAuth=e;}},W$3=proxy({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),y$6={state:W$3,subscribe(e){return subscribe(W$3,()=>e(W$3))},setConfig(e){var t,s;R$5.initialize(),p$9.setChains(e.chains),p$9.setIsAuth(Boolean(e.enableAuthMode)),p$9.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$9.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$4.setModalVersionInStorage(),Object.assign(W$3,e);}};var V$4=Object.defineProperty,D$7=Object.getOwnPropertySymbols,H$4=Object.prototype.hasOwnProperty,B$4=Object.prototype.propertyIsEnumerable,M$4=(e,t,s)=>t in e?V$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$4=(e,t)=>{for(var s in t||(t={}))H$4.call(t,s)&&M$4(e,s,t[s]);if(D$7)for(var s of D$7(t))B$4.call(t,s)&&M$4(e,s,t[s]);return e};const L$5="https://explorer-api.walletconnect.com",E$4="wcm",O$6="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$6},t),n=new URL(e,L$5);return n.searchParams.append("projectId",y$6.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$6={async getDesktopListings(e){return w$5("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$5("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$5("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$5("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$5}/w3m/v1/getWalletImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`}};var z$5=Object.defineProperty,j$4=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$5=(e,t,s)=>t in e?z$5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$5=(e,t)=>{for(var s in t||(t={}))J$3.call(t,s)&&k$5(e,s,t[s]);if(j$4)for(var s of j$4(t))q$5.call(t,s)&&k$5(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$4=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$4,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$4.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$6.getAllListings(s),i=Object.values(n);i.sort((l,v)=>{const b=e.indexOf(l.id),f=e.indexOf(v.id);return b-f}),d$4.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$9.state,i=s?.join(","),l=a$4.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$4.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$4?await m$6.getMobileListings(v):await m$6.getDesktopListings(v);d$4.recomendedWallets=Object.values(b);}return d$4.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$4;if(n==="ALL")return d$4.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$4.isArray(s)&&(t.excludedIds=s.join(",")),a$4.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$9.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$4?await m$6.getMobileListings(t):await m$6.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$4[U]={listings:[...d$4[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$6.getWalletImageUrl(e)},getAssetImageUrl(e){return m$6.getAssetImageUrl(e)},resetSearch(){d$4.search={listings:[],total:0,page:1};}},I$3=proxy({open:!1}),se$2={state:I$3,subscribe(e){return subscribe(I$3,()=>e(I$3))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$9.state;if(a$4.removeWalletConnectDeepLink(),p$9.setWalletConnectUri(e?.uri),p$9.setChains(e?.chains),T$2.reset("ConnectWallet"),s&&n)I$3.open=!0,t();else {const i=setInterval(()=>{const l=p$9.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$3.open=!0,t());},200);}})},close(){I$3.open=!1;}};var G$4=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$6=Object.prototype.hasOwnProperty,X$4=Object.prototype.propertyIsEnumerable,S$4=(e,t,s)=>t in e?G$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y$2=(e,t)=>{for(var s in t||(t={}))Q$6.call(t,s)&&S$4(e,s,t[s]);if($$3)for(var s of $$3(t))X$4.call(t,s)&&S$4(e,s,t[s]);return e};function Z$4(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C$2=proxy({themeMode:Z$4()?"dark":"light"}),ne$2={state:C$2,subscribe(e){return subscribe(C$2,()=>e(C$2))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C$2.themeMode=t),s&&(C$2.themeVariables=Y$2({},s));}},g$8=proxy({open:!1,message:"",variant:"success"}),oe$4={state:g$8,subscribe(e){return subscribe(g$8,()=>e(g$8))},openToast(e,t){g$8.open=!0,g$8.message=e,g$8.variant=t;},closeToast(){g$8.open=!1;}};
|
|
135210
135210
|
|
|
135211
|
-
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
135211
|
+
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-Dhym2CWn.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135212
135212
|
|
|
135213
135213
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135214
135214
|
__proto__: null,
|
|
@@ -152049,7 +152049,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152049
152049
|
return __generator(this, function (_b) {
|
|
152050
152050
|
switch (_b.label) {
|
|
152051
152051
|
case 0: return [4 /*yield*/, import(
|
|
152052
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152052
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DrUv_-5G.js')];
|
|
152053
152053
|
case 1:
|
|
152054
152054
|
autotrack = _b.sent();
|
|
152055
152055
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152068,7 +152068,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152068
152068
|
return __generator(this, function (_b) {
|
|
152069
152069
|
switch (_b.label) {
|
|
152070
152070
|
case 0: return [4 /*yield*/, import(
|
|
152071
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152071
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DrUv_-5G.js')];
|
|
152072
152072
|
case 1:
|
|
152073
152073
|
autotrack = _b.sent();
|
|
152074
152074
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152087,7 +152087,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152087
152087
|
return __generator(this, function (_b) {
|
|
152088
152088
|
switch (_b.label) {
|
|
152089
152089
|
case 0: return [4 /*yield*/, import(
|
|
152090
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152090
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DrUv_-5G.js')];
|
|
152091
152091
|
case 1:
|
|
152092
152092
|
autotrack = _b.sent();
|
|
152093
152093
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152106,7 +152106,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152106
152106
|
return __generator(this, function (_b) {
|
|
152107
152107
|
switch (_b.label) {
|
|
152108
152108
|
case 0: return [4 /*yield*/, import(
|
|
152109
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152109
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DrUv_-5G.js')];
|
|
152110
152110
|
case 1:
|
|
152111
152111
|
autotrack = _b.sent();
|
|
152112
152112
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152256,7 +152256,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152256
152256
|
return [2 /*return*/, []];
|
|
152257
152257
|
}
|
|
152258
152258
|
return [4 /*yield*/, import(
|
|
152259
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152259
|
+
/* webpackChunkName: "queryString" */ './index-DF3H3Vt3.js')];
|
|
152260
152260
|
case 1:
|
|
152261
152261
|
queryString = (_a.sent()).queryString;
|
|
152262
152262
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -154960,7 +154960,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154960
154960
|
case 0:
|
|
154961
154961
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
154962
154962
|
return [4 /*yield*/, import(
|
|
154963
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
154963
|
+
/* webpackChunkName: "tsub-middleware" */ './index-LgFL8sFc.js').then(function (mod) {
|
|
154964
154964
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
154965
154965
|
})];
|
|
154966
154966
|
case 1:
|
|
@@ -154973,7 +154973,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154973
154973
|
tsubMiddleware = _d;
|
|
154974
154974
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
154975
154975
|
return [4 /*yield*/, import(
|
|
154976
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
154976
|
+
/* webpackChunkName: "ajs-destination" */ './index-BDRM7Uih.js').then(function (mod) {
|
|
154977
154977
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
154978
154978
|
})];
|
|
154979
154979
|
case 4:
|
|
@@ -154986,7 +154986,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154986
154986
|
legacyDestinations = _e;
|
|
154987
154987
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
154988
154988
|
return [4 /*yield*/, import(
|
|
154989
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
154989
|
+
/* webpackChunkName: "legacyVideos" */ './index-BpB8pCnR.js').then(function (mod) {
|
|
154990
154990
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
154991
154991
|
})];
|
|
154992
154992
|
case 7:
|
|
@@ -154995,7 +154995,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
154995
154995
|
case 8:
|
|
154996
154996
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
154997
154997
|
return [4 /*yield*/, import(
|
|
154998
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
154998
|
+
/* webpackChunkName: "schemaFilter" */ './index-BmEvMRSe.js').then(function (mod) {
|
|
154999
154999
|
var _a;
|
|
155000
155000
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155001
155001
|
})];
|
|
@@ -155034,7 +155034,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155034
155034
|
return enabled;
|
|
155035
155035
|
})) return [3 /*break*/, 17];
|
|
155036
155036
|
return [4 /*yield*/, import(
|
|
155037
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155037
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-SCzeiVsL.js').then(function (_a) {
|
|
155038
155038
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155039
155039
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155040
155040
|
var middleware, promises;
|
|
@@ -222226,7 +222226,7 @@ const useProvidersContext = () => {
|
|
|
222226
222226
|
return context;
|
|
222227
222227
|
};
|
|
222228
222228
|
|
|
222229
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222229
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-BWG3NQ9B.js'));
|
|
222230
222230
|
class AddTokens extends Base {
|
|
222231
222231
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222232
222232
|
getValidatedProperties({ config, }) {
|
|
@@ -222270,7 +222270,7 @@ class AddTokens extends Base {
|
|
|
222270
222270
|
}
|
|
222271
222271
|
}
|
|
222272
222272
|
|
|
222273
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222273
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-Ci2WB7Nf.js'));
|
|
222274
222274
|
class Bridge extends Base {
|
|
222275
222275
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222276
222276
|
getValidatedProperties({ config }) {
|
|
@@ -222424,7 +222424,7 @@ const commerceFlows = [
|
|
|
222424
222424
|
CommerceFlowType.ADD_TOKENS,
|
|
222425
222425
|
];
|
|
222426
222426
|
|
|
222427
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222427
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-DU93DqRK.js'));
|
|
222428
222428
|
class CommerceWidgetRoot extends Base {
|
|
222429
222429
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222430
222430
|
getValidatedProperties({ config, }) {
|
|
@@ -224636,7 +224636,7 @@ const orchestrationEvents = {
|
|
|
224636
224636
|
sendRequestAddTokensEvent,
|
|
224637
224637
|
};
|
|
224638
224638
|
|
|
224639
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224639
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-BdBudr53.js').then(function (n) { return n.a; }));
|
|
224640
224640
|
class OnRamp extends Base {
|
|
224641
224641
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224642
224642
|
getValidatedProperties({ config }) {
|
|
@@ -224774,7 +224774,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224774
224774
|
eventTarget.dispatchEvent(event);
|
|
224775
224775
|
};
|
|
224776
224776
|
|
|
224777
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224777
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-ow1U6WSy.js'));
|
|
224778
224778
|
class Sale extends Base {
|
|
224779
224779
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
224780
224780
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225011,7 +225011,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225011
225011
|
: serviceUnavailableView) }));
|
|
225012
225012
|
}
|
|
225013
225013
|
|
|
225014
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225014
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-D52nXXsd.js'));
|
|
225015
225015
|
class Swap extends Base {
|
|
225016
225016
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225017
225017
|
getValidatedProperties({ config }) {
|
|
@@ -225136,7 +225136,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225136
225136
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225137
225137
|
}
|
|
225138
225138
|
|
|
225139
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225139
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-B9RKEYud.js'));
|
|
225140
225140
|
class Wallet extends Base {
|
|
225141
225141
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225142
225142
|
getValidatedProperties({ config }) {
|
|
@@ -225273,4 +225273,4 @@ class WidgetsFactory {
|
|
|
225273
225273
|
};
|
|
225274
225274
|
}
|
|
225275
225275
|
|
|
225276
|
-
export { getStartingSize as $, AddTokensEventType as A, BridgeEventType as B, CommerceFlowType as C, merge$1 as D, ErrorView as E, useResizeObserver as F, SmartClone as G, Box as H, IMTBLWidgetEvents as I, isChildSubcomponent as J, flattenChildren as K, LoadingView as L, Body as M, useTheme$1 as N, OnRampEventType as O, ProviderEventType as P, Icon as Q, ButtCon as R, SwapEventType as S, Button as T, _defineProperty$1 as U, ViewActions as V, WalletEventType as W, isDualVariantIcon as X, _slicedToArray as Y, isNumberWithinTotal as Z, _objectWithoutProperties as _, CommerceEventType as a, fetchRiskAssessment as a$, BaseClickable as a0, ClassNames as a1, _toConsumableArray as a2, isError as a3, Badge as a4, FramedIcon as a5, FramedImage as a6, FramedLogo as a7, Stack as a8, hFlex as a9, Heading as aA, WalletDrawer as aB, UnableToConnectDrawer as aC, WalletProviderRdns as aD, removeSpace as aE, getProviderSlugFromRdns as aF, Web3Provider as aG, connectEIP6963Provider as aH, identifyUser as aI, ConnectEIP6963ProviderError as aJ, ProvidersContextActions as aK, commonjsRequire$1 as aL, getRemoteImage as aM, ViewContext as aN, useHandover as aO, HandoverTarget as aP, EventTargetContext as aQ, getRemoteRive as aR, Trans as aS, Link as aT, keyframes$1 as aU, getDefaultTokenImage as aV, TokenFilterTypes as aW, isNativeToken as aX, getTokenImageByAddress as aY, TextInput as aZ, VerticalMenu as a_, usePrevious as aa, useBrowserEffect as ab, getHeadingTextStyles as ac, vFlex as ad, centerFlexChildren as ae, FormControlLabel as af, FormControlValidation as ag, FormControlCaption as ah, getDefaultExportFromCjs$3 as ai, commonjsGlobal$2 as aj, MenuItem as ak, tokenValueFormat as al, DEFAULT_TOKEN_FORMATTING_DECIMALS as am, BigNumber$1 as an, getRemoteVideo as ao, FramedVideo as ap, listVariants as aq, motion$1 as ar, listItemVariants as as, Fragment$1 as at, Divider as au, useProvidersContext as av, Drawer as aw, useAnalytics as ax, UserJourney as ay, isPassportProvider as az, ConnectEventType as b, initialEventTargetState as b$, isAddressSanctioned as b0, useInjectedProviders as b1, SimpleLayout as b2, orchestrationEvents as b3, requireSecp256k1 as b4, requireLib_commonjs as b5, require$$0$3 as b6, bech32 as b7, bnExports$1 as b8, require$$0$2 as b9, cloneElementWithCssProp as bA, compareStr as bB, SalePaymentTypes as bC, calculateCryptoToFiat as bD, sendSaleWidgetCloseEvent as bE, sendSaleSuccessEvent as bF, sendSaleFailedEvent as bG, sendSaleTransactionSuccessEvent as bH, sendSalePaymentMethodEvent as bI, sendSalePaymentTokenEvent as bJ, HeaderNavigation as bK, LoadingOverlay as bL, HandoverDuration as bM, FooterLogo as bN, StatusType as bO, prettyFormatNumber as bP, ShimmerCircle as bQ, FundingStepType as bR, abbreviateWalletAddress as bS, tokenSymbolNameOverrides as bT, ItemType as bU, TransactionOrGasType as bV, GasTokenType as bW, RoutingOutcomeType as bX, isGasFree as bY, ConnectLoaderContext as bZ, eventTargetReducer as b_, getAugmentedNamespace$1 as ba, require$$0$5 as bb, minimalisticAssert$1 as bc, require$$2 as bd, hash$5 as be,
|
|
225276
|
+
export { getStartingSize as $, AddTokensEventType as A, BridgeEventType as B, CommerceFlowType as C, merge$1 as D, ErrorView as E, useResizeObserver as F, SmartClone as G, Box as H, IMTBLWidgetEvents as I, isChildSubcomponent as J, flattenChildren as K, LoadingView as L, Body as M, useTheme$1 as N, OnRampEventType as O, ProviderEventType as P, Icon as Q, ButtCon as R, SwapEventType as S, Button as T, _defineProperty$1 as U, ViewActions as V, WalletEventType as W, isDualVariantIcon as X, _slicedToArray as Y, isNumberWithinTotal as Z, _objectWithoutProperties as _, CommerceEventType as a, fetchRiskAssessment as a$, BaseClickable as a0, ClassNames as a1, _toConsumableArray as a2, isError as a3, Badge as a4, FramedIcon as a5, FramedImage as a6, FramedLogo as a7, Stack as a8, hFlex as a9, Heading as aA, WalletDrawer as aB, UnableToConnectDrawer as aC, WalletProviderRdns as aD, removeSpace as aE, getProviderSlugFromRdns as aF, Web3Provider as aG, connectEIP6963Provider as aH, identifyUser as aI, ConnectEIP6963ProviderError as aJ, ProvidersContextActions as aK, commonjsRequire$1 as aL, getRemoteImage as aM, ViewContext as aN, useHandover as aO, HandoverTarget as aP, EventTargetContext as aQ, getRemoteRive as aR, Trans as aS, Link as aT, keyframes$1 as aU, getDefaultTokenImage as aV, TokenFilterTypes as aW, isNativeToken as aX, getTokenImageByAddress as aY, TextInput as aZ, VerticalMenu as a_, usePrevious as aa, useBrowserEffect as ab, getHeadingTextStyles as ac, vFlex as ad, centerFlexChildren as ae, FormControlLabel as af, FormControlValidation as ag, FormControlCaption as ah, getDefaultExportFromCjs$3 as ai, commonjsGlobal$2 as aj, MenuItem as ak, tokenValueFormat as al, DEFAULT_TOKEN_FORMATTING_DECIMALS as am, BigNumber$1 as an, getRemoteVideo as ao, FramedVideo as ap, listVariants as aq, motion$1 as ar, listItemVariants as as, Fragment$1 as at, Divider as au, useProvidersContext as av, Drawer as aw, useAnalytics as ax, UserJourney as ay, isPassportProvider as az, ConnectEventType as b, initialEventTargetState as b$, isAddressSanctioned as b0, useInjectedProviders as b1, SimpleLayout as b2, orchestrationEvents as b3, requireSecp256k1 as b4, requireLib_commonjs as b5, require$$0$3 as b6, bech32 as b7, bnExports$1 as b8, require$$0$2 as b9, cloneElementWithCssProp as bA, compareStr as bB, SalePaymentTypes as bC, calculateCryptoToFiat as bD, sendSaleWidgetCloseEvent as bE, sendSaleSuccessEvent as bF, sendSaleFailedEvent as bG, sendSaleTransactionSuccessEvent as bH, sendSalePaymentMethodEvent as bI, sendSalePaymentTokenEvent as bJ, HeaderNavigation as bK, LoadingOverlay as bL, HandoverDuration as bM, FooterLogo as bN, StatusType as bO, prettyFormatNumber as bP, ShimmerCircle as bQ, FundingStepType as bR, abbreviateWalletAddress as bS, tokenSymbolNameOverrides as bT, ItemType as bU, TransactionOrGasType as bV, GasTokenType as bW, RoutingOutcomeType as bX, isGasFree as bY, ConnectLoaderContext as bZ, eventTargetReducer as b_, getAugmentedNamespace$1 as ba, require$$0$5 as bb, minimalisticAssert$1 as bc, require$$2 as bd, hash$5 as be, trackFlow as bf, trackError as bg, MaxUint256$5 as bh, merge as bi, SvgIcon as bj, WalletWarningHero as bk, Environment$1 as bl, t$7 as bm, PriceDisplay as bn, viewReducer as bo, initialViewState as bp, isValidAddress as bq, amountInputValidation as br, CloudImage as bs, ServiceUnavailableErrorView as bt, MultiTextShimmer as bu, getCaptionTextStyles as bv, DEFAULT_BODY_PROPS as bw, baseTextComponentSx as bx, useConvertSxToEmotionStyles as by, useGetCurrentSizeClass as bz, CommerceFailureEventType as c, isHexString$1 as c$, EventTargetActions as c0, ConnectWidgetViews as c1, ConnectLoaderActions as c2, widgetTheme as c3, BlockExplorerService as c4, axios$1 as c5, CheckoutErrorType as c6, IMMUTABLE_API_BASE_URL as c7, ShimmerBox as c8, PASSPORT_URL as c9, dist as cA, CHECKOUT_CDN_BASE_URL as cB, heroBackGroundStyles as cC, heroImageStyles as cD, SimpleTextBody as cE, FooterButton as cF, getEthTokenImage as cG, WITHDRAWAL_CLAIM_GAS_LIMIT as cH, BridgeConfiguration as cI, ImmutableConfiguration as cJ, TokenBridge as cK, StatusView as cL, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cM, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cN, ETH_MAINNET_TO_ZKEVM_MAINNET as cO, defineReadOnly$1 as cP, getStatic$1 as cQ, Signer$1 as cR, Provider$1 as cS, getAddress$1 as cT, Logger$2 as cU, getContractAddress$1 as cV, Interface$1 as cW, shallowCopy$1 as cX, VoidSigner$1 as cY, Indexed$1 as cZ, deepCopy$1 as c_, getChainIdBySlug as ca, getChainImage as cb, networkName as cc, useWalletConnect as cd, isWalletConnectProvider as ce, Logo as cf, RawImage as cg, AXELAR_SCAN_URL as ch, getNativeSymbolByChainSlug as ci, getChainSlugById as cj, JsonRpcProvider$1 as ck, DEFAULT_TRANSACTIONS_RETRY_POLICY as cl, getChainNameById as cm, getWalletProviderNameByProvider as cn, isMetaMaskProvider as co, WalletProviderName as cp, ButtonNavigationStyles as cq, formatZeroAmount as cr, NATIVE as cs, ETH_TOKEN_SYMBOL as ct, GasEstimateType as cu, DEFAULT_TOKEN_DECIMALS as cv, DEFAULT_QUOTE_REFRESH_INTERVAL as cw, addChainChangedListener as cx, removeChainChangedListener as cy, IMX_TOKEN_SYMBOL as cz, CommerceSuccessEventType as d, __assign as d$, checkResultErrors$1 as d0, resolveProperties$1 as d1, accessListify$1 as d2, arrayify$1 as d3, global$2 as d4, ExchangeType as d5, sendOnRampWidgetCloseEvent as d6, sendOnRampSuccessEvent as d7, sendOnRampFailedEvent as d8, WidgetTheme as d9, BUTTON_SIZES as dA, setDefaultSxBackgroundColor as dB, ZERO_BALANCE_STRING as dC, sendNetworkSwitchEvent as dD, NetworkFilterTypes as dE, sortNetworksCompareFn as dF, sortTokensByAmount as dG, sendWalletWidgetCloseEvent as dH, sendDisconnectWalletEvent as dI, FAQS_LINK as dJ, useBrowserLayoutEffect as dK, ne$2 as dL, se$2 as dM, T$2 as dN, oe$4 as dO, R$5 as dP, a$4 as dQ, te$4 as dR, p$9 as dS, y$6 as dT, __awaiter as dU, __generator as dV, loadScript as dW, getNextIntegrationsURL as dX, unloadScript as dY, __spreadArray$1 as dZ, isOffline as d_, quickswapFooterStyles as da, quickswapFooterLogoStyles as db, quickswapFooterDisclaimerTextStyles as dc, getImxTokenImage as dd, Tooltip as de, ESTIMATE_DEBOUNCE as df, DEFAULT_TOKEN_VALIDATION_DECIMALS as dg, sendSwapWidgetCloseEvent as dh, DEFAULT_BALANCE_RETRY_POLICY as di, SwapDirection as dj, sendSwapSuccessEvent as dk, sendSwapFailedEvent as dl, sendSwapRejectedEvent as dm, AnimatePresence as dn, getTertiaryButtonStyles as dp, FormControlWrapper as dq, Select as dr, DuoCon as ds, heroImageBottomAlign as dt, version$r as du, hexZeroPad$1 as dv, isBigNumberish as dw, isBytes$1 as dx, DEFAULT_BUTTON_SIZE as dy, getResponsiveSx as dz, CommerceUserActionEventType as e, ContextCancelation as e0, applyDestinationMiddleware as e1, dist$1 as e2, isServer as e3, mergedOptions as e4, isPlainObject as e5, pWhile as e6, PriorityQueue as e7, PersistedPriorityQueue as e8, attempt as e9, isOnline as ea, Context as eb, pTimeout as ec, gracefulDecodeURIComponent as ed, WidgetsFactory as ee, SaleEventType as f, OrchestrationEventType as g, getL2ChainId as h, getL1ChainId as i, ChainId as j, useViewState as k, useEventTargetState as l, SharedViews as m, commerceFlows as n, jsx$1 as o, jsxs as p, ConnectWidget as q, reactExports as r, ProvidersContextProvider as s, ConnectLoader as t, useTranslation as u, ViewContextProvider as v, useTheme as w, useForwardLocalDomRef as x, useGetSubcomponentChild as y, useSplitApartChildrenAndSubComponents as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator } from './index-BdbcBXtl.js';
|
|
2
2
|
|
|
3
3
|
function loadLegacyVideoPlugins(analytics) {
|
|
4
4
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -7,7 +7,7 @@ function loadLegacyVideoPlugins(analytics) {
|
|
|
7
7
|
switch (_a.label) {
|
|
8
8
|
case 0: return [4 /*yield*/, import(
|
|
9
9
|
// @ts-expect-error
|
|
10
|
-
'./index.umd-
|
|
10
|
+
'./index.umd-BXtpGQf3.js').then(function (n) { return n.i; })
|
|
11
11
|
// This is super gross, but we need to support the `window.analytics.plugins` namespace
|
|
12
12
|
// that is linked in the segment docs in order to be backwards compatible with ajs-classic
|
|
13
13
|
// @ts-expect-error
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as BigNumber, cU as Logger, du as version$1, dv as hexZeroPad, dw as isBigNumberish, d3 as arrayify, dx as isBytes } from './index-
|
|
1
|
+
import { an as BigNumber, cU as Logger, du as version$1, dv as hexZeroPad, dw as isBigNumberish, d3 as arrayify, dx as isBytes } from './index-BdbcBXtl.js';
|
|
2
2
|
|
|
3
3
|
const logger$1 = new Logger(version$1);
|
|
4
4
|
const _constructorGuard = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dL as ne$1, dM as se$1, dN as T$2, dO as oe$1, dP as R$1, dQ as a$2, dR as te$1, dS as p$1, dT as y$1 } from './index-
|
|
1
|
+
import { dL as ne$1, dM as se$1, dN as T$2, dO as oe$1, dP as R$1, dQ as a$2, dR as te$1, dS as p$1, dT as y$1 } from './index-BdbcBXtl.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-BdbcBXtl.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|