@imtbl/sdk 1.74.1 → 1.74.2-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-CHLz-AfG.js → blockchain_data-3lrULBa9.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-CztPb9kb.js → AddTokensWidget-DzscKDRZ.js} +26 -9
- package/dist/browser/checkout/{BridgeWidget-xQL1f5RS.js → BridgeWidget-BD90bYmK.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-C8KSGQK9.js → CommerceWidget-BUQnn8XB.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-BXgf9F-i.js → CryptoFiatProvider-Bf2odWR3.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-GAbpfSIS.js → EllipsizedText-CzPegcQu.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-CzmMNfOp.js → FeesBreakdown-CzbrIDPC.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-oTbSfNut.js → HandoverContent-DQwWgbvL.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-DP0RulBJ.js → OnRampWidget-BPuY7Qxm.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-CSC_-ilt.js → SaleWidget-CC1taAhO.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-CiBFQcDQ.js → SpendingCapHero-CNCuWYO1.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-D8mdOJR1.js → SwapWidget-CwvTxKcv.js} +9 -9
- package/dist/browser/checkout/{TokenImage-D_qtgTRv.js → TokenImage-CGmq7Nr_.js} +1 -1
- package/dist/browser/checkout/{TopUpView-DX3C45bt.js → TopUpView-D2A5XJUs.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-BcbsKhWu.js → WalletApproveHero-DbR2Ae3M.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-2MPkYTAN.js → WalletWidget-DA9RyvqZ.js} +4 -4
- package/dist/browser/checkout/{auto-track-CQA82jwV.js → auto-track-B1Qy-yIq.js} +1 -1
- package/dist/browser/checkout/{index-DAPPGYKi.js → index-8Q4nQpgt.js} +19 -19
- package/dist/browser/checkout/{index-Djoor3yS.js → index-BuEXbHdo.js} +1 -1
- package/dist/browser/checkout/{index-a_9Zcvov.js → index-CN0O6yWI.js} +1 -1
- package/dist/browser/checkout/{index-jfUEm0oq.js → index-D_4OabDC.js} +2 -2
- package/dist/browser/checkout/{index-BnxGnuSX.js → index-DaTYeCyN.js} +1 -1
- package/dist/browser/checkout/{index-VmzpHG0_.js → index-Dpuw9krV.js} +1 -1
- package/dist/browser/checkout/{index-DJ3hhNKr.js → index-XzVOkgCN.js} +1 -1
- package/dist/browser/checkout/{index-hULlBSlo.js → index-Yuvtciip.js} +1 -1
- package/dist/browser/checkout/{index-rClMZmNK.js → index-x7-GWmgk.js} +1 -1
- package/dist/browser/checkout/{index.umd-kh0DU3OQ.js → index.umd-Dc18jIgK.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-qyUn8AXV.js → useInterval-Dxbmqm_w.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +20 -3
- package/dist/{checkout-DNAmKsDR.js → checkout-DIeCaqFz.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-yR23aBtp.js → config-Dpo-kaQf.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CJZB89Oy.js → index-BnL1Z_iW.js} +1 -1
- package/dist/{index-aRnpSCsU.js → index-BzoV3jeW.js} +3 -3
- package/dist/{index-DcU7MOEr.js → index-C8EWk0YW.js} +1 -1
- package/dist/{index-B_6J6Cxc.js → index-ClN_aZQZ.js} +1 -1
- package/dist/{index-Ck6iJKmC.js → index-Dk7ZYrMj.js} +4 -4
- package/dist/{index-BA1TogTR.js → index-Lbj5dTJZ.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-6D2Zvuqi.js → minting_backend-D-TTb4Zv.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-BHfXDVJD.js → orderbook-whvNZ1IE.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DiCwBczL.js → passport-CbprFi2z.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-ZLowlqwb.js → webhook-f7zaWXvV.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-R_O_MBpU.js → x-CzEWChjB.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -135315,7 +135315,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135315
135315
|
|
|
135316
135316
|
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$6=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$6)for(var s of D$6(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$5="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$5},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$5={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$5}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$5}`}};var z$5=Object.defineProperty,j$3=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$4=(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$4(e,s,t[s]);if(j$3)for(var s of j$3(t))q$5.call(t,s)&&k$4(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$5=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$5,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$5.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$5.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$5.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$5.getMobileListings(v):await m$5.getDesktopListings(v);d$5.recomendedWallets=Object.values(b);}return d$5.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$5;if(n==="ALL")return d$5.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$5.getMobileListings(t):await m$5.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$5[U]={listings:[...d$5[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$5.getWalletImageUrl(e)},getAssetImageUrl(e){return m$5.getAssetImageUrl(e)},resetSearch(){d$5.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;}};
|
|
135317
135317
|
|
|
135318
|
-
let d$4 = 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-
|
|
135318
|
+
let d$4 = 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-CN0O6yWI.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135319
135319
|
|
|
135320
135320
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135321
135321
|
__proto__: null,
|
|
@@ -152156,7 +152156,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152156
152156
|
return __generator(this, function (_b) {
|
|
152157
152157
|
switch (_b.label) {
|
|
152158
152158
|
case 0: return [4 /*yield*/, import(
|
|
152159
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152159
|
+
/* webpackChunkName: "auto-track" */ './auto-track-B1Qy-yIq.js')];
|
|
152160
152160
|
case 1:
|
|
152161
152161
|
autotrack = _b.sent();
|
|
152162
152162
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152175,7 +152175,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152175
152175
|
return __generator(this, function (_b) {
|
|
152176
152176
|
switch (_b.label) {
|
|
152177
152177
|
case 0: return [4 /*yield*/, import(
|
|
152178
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152178
|
+
/* webpackChunkName: "auto-track" */ './auto-track-B1Qy-yIq.js')];
|
|
152179
152179
|
case 1:
|
|
152180
152180
|
autotrack = _b.sent();
|
|
152181
152181
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152194,7 +152194,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152194
152194
|
return __generator(this, function (_b) {
|
|
152195
152195
|
switch (_b.label) {
|
|
152196
152196
|
case 0: return [4 /*yield*/, import(
|
|
152197
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152197
|
+
/* webpackChunkName: "auto-track" */ './auto-track-B1Qy-yIq.js')];
|
|
152198
152198
|
case 1:
|
|
152199
152199
|
autotrack = _b.sent();
|
|
152200
152200
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152213,7 +152213,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152213
152213
|
return __generator(this, function (_b) {
|
|
152214
152214
|
switch (_b.label) {
|
|
152215
152215
|
case 0: return [4 /*yield*/, import(
|
|
152216
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152216
|
+
/* webpackChunkName: "auto-track" */ './auto-track-B1Qy-yIq.js')];
|
|
152217
152217
|
case 1:
|
|
152218
152218
|
autotrack = _b.sent();
|
|
152219
152219
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152363,7 +152363,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152363
152363
|
return [2 /*return*/, []];
|
|
152364
152364
|
}
|
|
152365
152365
|
return [4 /*yield*/, import(
|
|
152366
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152366
|
+
/* webpackChunkName: "queryString" */ './index-x7-GWmgk.js')];
|
|
152367
152367
|
case 1:
|
|
152368
152368
|
queryString = (_a.sent()).queryString;
|
|
152369
152369
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -155067,7 +155067,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155067
155067
|
case 0:
|
|
155068
155068
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
155069
155069
|
return [4 /*yield*/, import(
|
|
155070
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155070
|
+
/* webpackChunkName: "tsub-middleware" */ './index-BuEXbHdo.js').then(function (mod) {
|
|
155071
155071
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
155072
155072
|
})];
|
|
155073
155073
|
case 1:
|
|
@@ -155080,7 +155080,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155080
155080
|
tsubMiddleware = _d;
|
|
155081
155081
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
155082
155082
|
return [4 /*yield*/, import(
|
|
155083
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155083
|
+
/* webpackChunkName: "ajs-destination" */ './index-Yuvtciip.js').then(function (mod) {
|
|
155084
155084
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
155085
155085
|
})];
|
|
155086
155086
|
case 4:
|
|
@@ -155093,7 +155093,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155093
155093
|
legacyDestinations = _e;
|
|
155094
155094
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
155095
155095
|
return [4 /*yield*/, import(
|
|
155096
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
155096
|
+
/* webpackChunkName: "legacyVideos" */ './index-D_4OabDC.js').then(function (mod) {
|
|
155097
155097
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
155098
155098
|
})];
|
|
155099
155099
|
case 7:
|
|
@@ -155102,7 +155102,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155102
155102
|
case 8:
|
|
155103
155103
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
155104
155104
|
return [4 /*yield*/, import(
|
|
155105
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155105
|
+
/* webpackChunkName: "schemaFilter" */ './index-XzVOkgCN.js').then(function (mod) {
|
|
155106
155106
|
var _a;
|
|
155107
155107
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155108
155108
|
})];
|
|
@@ -155141,7 +155141,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155141
155141
|
return enabled;
|
|
155142
155142
|
})) return [3 /*break*/, 17];
|
|
155143
155143
|
return [4 /*yield*/, import(
|
|
155144
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155144
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-Dpuw9krV.js').then(function (_a) {
|
|
155145
155145
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155146
155146
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155147
155147
|
var middleware, promises;
|
|
@@ -222412,7 +222412,7 @@ const useProvidersContext = () => {
|
|
|
222412
222412
|
return context;
|
|
222413
222413
|
};
|
|
222414
222414
|
|
|
222415
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222415
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-DzscKDRZ.js'));
|
|
222416
222416
|
class AddTokens extends Base {
|
|
222417
222417
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222418
222418
|
getValidatedProperties({ config, }) {
|
|
@@ -222456,7 +222456,7 @@ class AddTokens extends Base {
|
|
|
222456
222456
|
}
|
|
222457
222457
|
}
|
|
222458
222458
|
|
|
222459
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222459
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-BD90bYmK.js'));
|
|
222460
222460
|
class Bridge extends Base {
|
|
222461
222461
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222462
222462
|
getValidatedProperties({ config }) {
|
|
@@ -222610,7 +222610,7 @@ const commerceFlows = [
|
|
|
222610
222610
|
CommerceFlowType.ADD_TOKENS,
|
|
222611
222611
|
];
|
|
222612
222612
|
|
|
222613
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222613
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-BUQnn8XB.js'));
|
|
222614
222614
|
class CommerceWidgetRoot extends Base {
|
|
222615
222615
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222616
222616
|
getValidatedProperties({ config, }) {
|
|
@@ -224834,7 +224834,7 @@ const orchestrationEvents = {
|
|
|
224834
224834
|
sendRequestAddTokensEvent,
|
|
224835
224835
|
};
|
|
224836
224836
|
|
|
224837
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224837
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-BPuY7Qxm.js').then(function (n) { return n.a; }));
|
|
224838
224838
|
class OnRamp extends Base {
|
|
224839
224839
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224840
224840
|
getValidatedProperties({ config }) {
|
|
@@ -224972,7 +224972,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224972
224972
|
eventTarget.dispatchEvent(event);
|
|
224973
224973
|
};
|
|
224974
224974
|
|
|
224975
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224975
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-CC1taAhO.js'));
|
|
224976
224976
|
class Sale extends Base {
|
|
224977
224977
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
224978
224978
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225209,7 +225209,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225209
225209
|
: serviceUnavailableView) }));
|
|
225210
225210
|
}
|
|
225211
225211
|
|
|
225212
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225212
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-CwvTxKcv.js'));
|
|
225213
225213
|
class Swap extends Base {
|
|
225214
225214
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225215
225215
|
getValidatedProperties({ config }) {
|
|
@@ -225334,7 +225334,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225334
225334
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225335
225335
|
}
|
|
225336
225336
|
|
|
225337
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225337
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-DA9RyvqZ.js'));
|
|
225338
225338
|
class Wallet extends Base {
|
|
225339
225339
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225340
225340
|
getValidatedProperties({ config }) {
|
|
@@ -225602,4 +225602,4 @@ class WidgetsFactory {
|
|
|
225602
225602
|
};
|
|
225603
225603
|
}
|
|
225604
225604
|
|
|
225605
|
-
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, useAnalytics as av, useProvidersContext as aw, UserJourney as ax, Drawer as ay, isPassportProvider as az, ConnectEventType as b, axios$1 as b$, isAddressSanctioned as b0, useInjectedProviders as b1,
|
|
225605
|
+
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, useAnalytics as av, useProvidersContext as aw, UserJourney as ax, Drawer as ay, isPassportProvider as az, ConnectEventType as b, axios$1 as b$, isAddressSanctioned as b0, useInjectedProviders as b1, trackError as b2, SimpleLayout as b3, orchestrationEvents as b4, requireSecp256k1 as b5, requireLib_commonjs as b6, require$$0$3 as b7, bech32 as b8, bnExports$1 as b9, sendSaleTransactionSuccessEvent as bA, sendSalePaymentMethodEvent as bB, sendSalePaymentTokenEvent as bC, HeaderNavigation as bD, LoadingOverlay as bE, HandoverDuration as bF, FooterLogo as bG, StatusType as bH, prettyFormatNumber as bI, ShimmerCircle as bJ, FundingStepType as bK, abbreviateWalletAddress as bL, Caption as bM, tokenSymbolNameOverrides as bN, ItemType as bO, TransactionOrGasType as bP, GasTokenType as bQ, RoutingOutcomeType as bR, isGasFree as bS, ConnectLoaderContext as bT, eventTargetReducer as bU, initialEventTargetState as bV, EventTargetActions as bW, ConnectWidgetViews as bX, ConnectLoaderActions as bY, widgetTheme as bZ, BlockExplorerService as b_, require$$0$2 as ba, getAugmentedNamespace$1 as bb, require$$0$5 as bc, minimalisticAssert$1 as bd, require$$2 as be, hash$5 as bf, trackFlow 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, compareStr as bu, SalePaymentTypes as bv, calculateCryptoToFiat as bw, sendSaleWidgetCloseEvent as bx, sendSaleSuccessEvent as by, sendSaleFailedEvent as bz, CommerceFailureEventType as c, global$2 as c$, CheckoutErrorType as c0, IMMUTABLE_API_BASE_URL as c1, ShimmerBox as c2, PASSPORT_URL as c3, getChainIdBySlug as c4, getChainImage as c5, networkName as c6, useWalletConnect as c7, isWalletConnectProvider as c8, Logo as c9, getEthTokenImage as cA, WITHDRAWAL_CLAIM_GAS_LIMIT as cB, BridgeConfiguration as cC, ImmutableConfiguration as cD, TokenBridge as cE, StatusView as cF, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cG, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cH, ETH_MAINNET_TO_ZKEVM_MAINNET as cI, defineReadOnly$1 as cJ, getStatic$1 as cK, Signer$1 as cL, Provider$1 as cM, getAddress$1 as cN, Logger$2 as cO, getContractAddress$1 as cP, Interface$1 as cQ, shallowCopy$1 as cR, VoidSigner$1 as cS, Indexed$1 as cT, deepCopy$1 as cU, isHexString$1 as cV, checkResultErrors$1 as cW, resolveProperties$1 as cX, accessListify$1 as cY, arrayify$1 as cZ, cloneElementWithCssProp as c_, RawImage as ca, AXELAR_SCAN_URL as cb, getNativeSymbolByChainSlug as cc, getChainSlugById as cd, JsonRpcProvider$1 as ce, DEFAULT_TRANSACTIONS_RETRY_POLICY as cf, getChainNameById as cg, getWalletProviderNameByProvider as ch, isMetaMaskProvider as ci, WalletProviderName as cj, ButtonNavigationStyles as ck, formatZeroAmount as cl, NATIVE as cm, ETH_TOKEN_SYMBOL as cn, GasEstimateType as co, DEFAULT_TOKEN_DECIMALS as cp, DEFAULT_QUOTE_REFRESH_INTERVAL as cq, addChainChangedListener as cr, removeChainChangedListener as cs, IMX_TOKEN_SYMBOL as ct, dist as cu, CHECKOUT_CDN_BASE_URL as cv, heroBackGroundStyles as cw, heroImageStyles as cx, SimpleTextBody as cy, FooterButton as cz, CommerceSuccessEventType as d, mergedOptions as d$, ExchangeType as d0, sendOnRampWidgetCloseEvent as d1, sendOnRampSuccessEvent as d2, sendOnRampFailedEvent as d3, WidgetTheme as d4, quickswapFooterStyles as d5, quickswapFooterLogoStyles as d6, quickswapFooterDisclaimerTextStyles as d7, getImxTokenImage as d8, Tooltip as d9, sortNetworksCompareFn as dA, sortTokensByAmount as dB, sendWalletWidgetCloseEvent as dC, sendDisconnectWalletEvent as dD, FAQS_LINK as dE, useBrowserLayoutEffect as dF, ne$2 as dG, se$2 as dH, T$2 as dI, oe$4 as dJ, R$5 as dK, a$4 as dL, te$4 as dM, p$9 as dN, y$6 as dO, __awaiter as dP, __generator as dQ, loadScript as dR, getNextIntegrationsURL as dS, unloadScript as dT, __spreadArray$1 as dU, isOffline as dV, __assign as dW, ContextCancelation as dX, applyDestinationMiddleware as dY, dist$1 as dZ, isServer as d_, ESTIMATE_DEBOUNCE as da, DEFAULT_TOKEN_VALIDATION_DECIMALS as db, sendSwapWidgetCloseEvent as dc, DEFAULT_BALANCE_RETRY_POLICY as dd, SwapDirection as de, sendSwapSuccessEvent as df, sendSwapFailedEvent as dg, sendSwapRejectedEvent as dh, AnimatePresence as di, getTertiaryButtonStyles as dj, FormControlWrapper as dk, Select as dl, DuoCon as dm, heroImageBottomAlign as dn, version$r as dp, hexZeroPad$1 as dq, isBigNumberish as dr, isBytes$1 as ds, DEFAULT_BUTTON_SIZE as dt, getResponsiveSx as du, BUTTON_SIZES as dv, setDefaultSxBackgroundColor as dw, ZERO_BALANCE_STRING as dx, sendNetworkSwitchEvent as dy, NetworkFilterTypes as dz, CommerceUserActionEventType as e, isPlainObject as e0, pWhile as e1, PriorityQueue as e2, PersistedPriorityQueue as e3, attempt as e4, isOnline as e5, Context as e6, pTimeout as e7, gracefulDecodeURIComponent as e8, WidgetsFactory as e9, 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 { dG as ne$1, dH as se$1, dI as T$2, dJ as oe$1, dK as R$1, dL as a$2, dM as te$1, dN as p$1, dO as y$1 } from './index-
|
|
1
|
+
import { dG as ne$1, dH as se$1, dI as T$2, dJ as oe$1, dK as R$1, dL as a$2, dM as te$1, dN as p$1, dO as y$1 } from './index-8Q4nQpgt.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dP as __awaiter, dQ as __generator } from './index-
|
|
1
|
+
import { dP as __awaiter, dQ as __generator } from './index-8Q4nQpgt.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-Dc18jIgK.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, cO as Logger, dp as version$1, dq as hexZeroPad, dr as isBigNumberish, cZ as arrayify, ds as isBytes } from './index-
|
|
1
|
+
import { an as BigNumber, cO as Logger, dp as version$1, dq as hexZeroPad, dr as isBigNumberish, cZ as arrayify, ds as isBytes } from './index-8Q4nQpgt.js';
|
|
2
2
|
|
|
3
3
|
const logger$1 = new Logger(version$1);
|
|
4
4
|
const _constructorGuard = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dP as __awaiter, dQ as __generator, d_ as isServer, dS as getNextIntegrationsURL, dR as loadScript } from './index-
|
|
1
|
+
import { dP as __awaiter, dQ as __generator, d_ as isServer, dS as getNextIntegrationsURL, dR as loadScript } from './index-8Q4nQpgt.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dP as __awaiter, dQ as __generator, dR as loadScript, dS as getNextIntegrationsURL, dT as unloadScript, dU as __spreadArray, dV as isOffline, dW as __assign, dX as ContextCancelation, dY as applyDestinationMiddleware, dZ as dist, d_ as isServer, d$ as mergedOptions, e0 as isPlainObject, e1 as pWhile, e2 as PriorityQueue, e3 as PersistedPriorityQueue, e4 as attempt, e5 as isOnline, e6 as Context } from './index-
|
|
1
|
+
import { dP as __awaiter, dQ as __generator, dR as loadScript, dS as getNextIntegrationsURL, dT as unloadScript, dU as __spreadArray, dV as isOffline, dW as __assign, dX as ContextCancelation, dY as applyDestinationMiddleware, dZ as dist, d_ as isServer, d$ as mergedOptions, e0 as isPlainObject, e1 as pWhile, e2 as PriorityQueue, e3 as PersistedPriorityQueue, e4 as attempt, e5 as isOnline, e6 as Context } from './index-8Q4nQpgt.js';
|
|
2
2
|
import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
|
|
3
3
|
|
|
4
4
|
function normalizeName(name) {
|