@imtbl/sdk 1.51.2-alpha.2 → 1.51.2
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-B8Y0wBNg.js → blockchain_data-BXc2pT0f.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddFundsWidget-B6lxg3-d.js → AddFundsWidget-gUJVDYv_.js} +2 -2
- package/dist/browser/checkout/{BridgeWidget-BsJMfbMd.js → BridgeWidget-3UbIwU6n.js} +5 -5
- package/dist/browser/checkout/{CheckoutWidget-DFkDATHf.js → CheckoutWidget-C4tOrk2y.js} +18 -36
- package/dist/browser/checkout/{OnRampWidget-QHUxzsNL.js → OnRampWidget-DqPejNhx.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-6XVHHx78.js → SaleWidget-rgseW9MM.js} +9 -9
- package/dist/browser/checkout/{SpendingCapHero-BOGiq2Br.js → SpendingCapHero-DAidHDcm.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CRLt7sOf.js → SwapWidget-DzyLBVHX.js} +6 -6
- package/dist/browser/checkout/{TextInputForm-DTMMP9L1.js → TextInputForm-BEa_pzDA.js} +1 -1
- package/dist/browser/checkout/{TopUpView-CMKjjqCh.js → TopUpView-EQSatEo0.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-CL4wDvCI.js → WalletWidget-BiYTgNC6.js} +3 -3
- package/dist/browser/checkout/{auto-track-CtPV_Uwy.js → auto-track-BHfKaUsi.js} +1 -1
- package/dist/browser/checkout/{balance-6n0VLt18.js → balance-BcyJcnyd.js} +2 -2
- package/dist/browser/checkout/{index-D0vPA5zH.js → index-BK2rKCsb.js} +1 -1
- package/dist/browser/checkout/{index-DNulskt6.js → index-BfgGTx6o.js} +1 -1
- package/dist/browser/checkout/{index-DJD5AByC.js → index-BjZmc98C.js} +1 -1
- package/dist/browser/checkout/{index-CjshWKlm.js → index-BycofDTk.js} +23 -23
- package/dist/browser/checkout/{index-C4G5HCXv.js → index-CaE5DRoW.js} +1 -1
- package/dist/browser/checkout/{index-U6OI_-oo.js → index-DqvoKQhG.js} +1 -1
- package/dist/browser/checkout/{index-DEnK71D8.js → index-DvkRiiMH.js} +2 -2
- package/dist/browser/checkout/{index-CW0LGbJg.js → index-w6D6lSI5.js} +1 -1
- package/dist/browser/checkout/{index.umd-CfvJk2bO.js → index.umd-DsaaRFps.js} +1 -1
- package/dist/browser/checkout/{retry-CVrWwmTg.js → retry-JTDsH41g.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +21 -39
- package/dist/{checkout-CZRH9L8k.js → checkout-C-9cJevS.js} +5 -11
- package/dist/checkout.d.ts +0 -6
- package/dist/checkout.js +5 -5
- package/dist/{config-DKvCpBga.js → config-Bigxrl15.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-C6JNgyT9.js → index-Bsq7qQUh.js} +1 -1
- package/dist/{index-6zQkooVk.js → index-C9ouUZ56.js} +1 -1
- package/dist/{index-DVkoP8J3.js → index-CXBbqZZE.js} +1 -1
- package/dist/{index-ChlzQDSW.js → index-Ca9_tRKa.js} +4 -4
- package/dist/{index-BnU9Va_S.js → index-DKJEKIyJ.js} +3 -3
- package/dist/{index-clKDQqCM.js → index-Drimuu53.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -13
- package/dist/index.d.ts +0 -6
- package/dist/index.js +14 -14
- package/dist/{minting_backend-C5WvSm2V.js → minting_backend-C9a24z4a.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-CkTWPIjZ.js → orderbook-COKz-AFm.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DWj1GOGJ.js → passport-BN89YTHh.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BoCzP3RD.js → webhook-C09Blfff.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-COLA3nTe.js → x-ME92JJO2.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -167362,7 +167362,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167362
167362
|
return __generator(this, function (_b) {
|
|
167363
167363
|
switch (_b.label) {
|
|
167364
167364
|
case 0: return [4 /*yield*/, import(
|
|
167365
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167365
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BHfKaUsi.js')];
|
|
167366
167366
|
case 1:
|
|
167367
167367
|
autotrack = _b.sent();
|
|
167368
167368
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167381,7 +167381,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167381
167381
|
return __generator(this, function (_b) {
|
|
167382
167382
|
switch (_b.label) {
|
|
167383
167383
|
case 0: return [4 /*yield*/, import(
|
|
167384
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167384
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BHfKaUsi.js')];
|
|
167385
167385
|
case 1:
|
|
167386
167386
|
autotrack = _b.sent();
|
|
167387
167387
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167400,7 +167400,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167400
167400
|
return __generator(this, function (_b) {
|
|
167401
167401
|
switch (_b.label) {
|
|
167402
167402
|
case 0: return [4 /*yield*/, import(
|
|
167403
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167403
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BHfKaUsi.js')];
|
|
167404
167404
|
case 1:
|
|
167405
167405
|
autotrack = _b.sent();
|
|
167406
167406
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167419,7 +167419,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167419
167419
|
return __generator(this, function (_b) {
|
|
167420
167420
|
switch (_b.label) {
|
|
167421
167421
|
case 0: return [4 /*yield*/, import(
|
|
167422
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
167422
|
+
/* webpackChunkName: "auto-track" */ './auto-track-BHfKaUsi.js')];
|
|
167423
167423
|
case 1:
|
|
167424
167424
|
autotrack = _b.sent();
|
|
167425
167425
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -167569,7 +167569,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
167569
167569
|
return [2 /*return*/, []];
|
|
167570
167570
|
}
|
|
167571
167571
|
return [4 /*yield*/, import(
|
|
167572
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
167572
|
+
/* webpackChunkName: "queryString" */ './index-CaE5DRoW.js')];
|
|
167573
167573
|
case 1:
|
|
167574
167574
|
queryString = (_a.sent()).queryString;
|
|
167575
167575
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -170273,7 +170273,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170273
170273
|
case 0:
|
|
170274
170274
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
170275
170275
|
return [4 /*yield*/, import(
|
|
170276
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
170276
|
+
/* webpackChunkName: "tsub-middleware" */ './index-w6D6lSI5.js').then(function (mod) {
|
|
170277
170277
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
170278
170278
|
})];
|
|
170279
170279
|
case 1:
|
|
@@ -170286,7 +170286,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170286
170286
|
tsubMiddleware = _d;
|
|
170287
170287
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
170288
170288
|
return [4 /*yield*/, import(
|
|
170289
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
170289
|
+
/* webpackChunkName: "ajs-destination" */ './index-DqvoKQhG.js').then(function (mod) {
|
|
170290
170290
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
170291
170291
|
})];
|
|
170292
170292
|
case 4:
|
|
@@ -170299,7 +170299,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170299
170299
|
legacyDestinations = _e;
|
|
170300
170300
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
170301
170301
|
return [4 /*yield*/, import(
|
|
170302
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
170302
|
+
/* webpackChunkName: "legacyVideos" */ './index-DvkRiiMH.js').then(function (mod) {
|
|
170303
170303
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
170304
170304
|
})];
|
|
170305
170305
|
case 7:
|
|
@@ -170308,7 +170308,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170308
170308
|
case 8:
|
|
170309
170309
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
170310
170310
|
return [4 /*yield*/, import(
|
|
170311
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
170311
|
+
/* webpackChunkName: "schemaFilter" */ './index-BjZmc98C.js').then(function (mod) {
|
|
170312
170312
|
var _a;
|
|
170313
170313
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
170314
170314
|
})];
|
|
@@ -170347,7 +170347,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
170347
170347
|
return enabled;
|
|
170348
170348
|
})) return [3 /*break*/, 17];
|
|
170349
170349
|
return [4 /*yield*/, import(
|
|
170350
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
170350
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-BfgGTx6o.js').then(function (_a) {
|
|
170351
170351
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
170352
170352
|
return __awaiter(_this, void 0, void 0, function () {
|
|
170353
170353
|
var middleware, promises;
|
|
@@ -175531,7 +175531,7 @@ var views$2 = {
|
|
|
175531
175531
|
body1: "サポートが必要ですか?",
|
|
175532
175532
|
body2: " お問い合わせは ",
|
|
175533
175533
|
body3: "サポートへ",
|
|
175534
|
-
supportLink: "https://support.immutable.com/hc",
|
|
175534
|
+
supportLink: "https://support.immutable.com/hc/en-us",
|
|
175535
175535
|
passport: {
|
|
175536
175536
|
body1: "または、完了した取引をご覧になるには ",
|
|
175537
175537
|
body2: "パスポート"
|
|
@@ -176318,7 +176318,7 @@ var views$1 = {
|
|
|
176318
176318
|
body1: "도움이 필요하신가요?",
|
|
176319
176319
|
body2: " 문의하기 ",
|
|
176320
176320
|
body3: "지원팀",
|
|
176321
|
-
supportLink: "https://support.immutable.com/hc",
|
|
176321
|
+
supportLink: "https://support.immutable.com/hc/en-us",
|
|
176322
176322
|
passport: {
|
|
176323
176323
|
body1: "또는 귀하의 ",
|
|
176324
176324
|
body2: "패스포트"
|
|
@@ -177105,7 +177105,7 @@ var views = {
|
|
|
177105
177105
|
body1: "需要帮助吗?",
|
|
177106
177106
|
body2: " 联系 ",
|
|
177107
177107
|
body3: "支持",
|
|
177108
|
-
supportLink: "https://support.immutable.com/hc",
|
|
177108
|
+
supportLink: "https://support.immutable.com/hc/en-us",
|
|
177109
177109
|
passport: {
|
|
177110
177110
|
body1: "或在您的 ",
|
|
177111
177111
|
body2: "护照"
|
|
@@ -177980,7 +177980,7 @@ function ErrorView({ actionText, onActionClick, errorEventAction, errorEventActi
|
|
|
177980
177980
|
if (typeof errorEventAction === 'function')
|
|
177981
177981
|
errorEventAction();
|
|
177982
177982
|
const onErrorActionClick = () => typeof onActionClick === 'function' && onActionClick();
|
|
177983
|
-
return (jsx$1(SimpleLayout, { header: (jsx$1(HeaderNavigation, { transparent: true, onCloseButtonClick: onCloseClick })), footer: (jsx$1(FooterButton, { loading: errorEventActionLoading, actionText: actionText, onActionClick: onErrorActionClick })), heroContent: jsx$1(SatelliteHero, {}), floatHeader: true, testId: "error-view", children: jsxs(SimpleTextBody, { heading: t('views.ERROR_VIEW.heading'), children: [t('views.ERROR_VIEW.body', { returnObjects: true })[0], ' ', jsx$1(Link, { size: "small", rc: jsx$1("a", { href: "https://support.immutable.com/hc" }), children: t('views.ERROR_VIEW.body', { returnObjects: true })[1] }), ' ', t('views.ERROR_VIEW.body', { returnObjects: true })[2]] }) }));
|
|
177983
|
+
return (jsx$1(SimpleLayout, { header: (jsx$1(HeaderNavigation, { transparent: true, onCloseButtonClick: onCloseClick })), footer: (jsx$1(FooterButton, { loading: errorEventActionLoading, actionText: actionText, onActionClick: onErrorActionClick })), heroContent: jsx$1(SatelliteHero, {}), floatHeader: true, testId: "error-view", children: jsxs(SimpleTextBody, { heading: t('views.ERROR_VIEW.heading'), children: [t('views.ERROR_VIEW.body', { returnObjects: true })[0], ' ', jsx$1(Link, { size: "small", rc: jsx$1("a", { href: "https://support.immutable.com/hc/en-us" }), children: t('views.ERROR_VIEW.body', { returnObjects: true })[1] }), ' ', t('views.ERROR_VIEW.body', { returnObjects: true })[2]] }) }));
|
|
177984
177984
|
}
|
|
177985
177985
|
|
|
177986
177986
|
var ConnectionStatus;
|
|
@@ -178494,7 +178494,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
178494
178494
|
|
|
178495
178495
|
const o=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T={state:o,subscribe(e){return subscribe(o,()=>e(o))},push(e,t){e!==o.view&&(o.view=e,t&&(o.data=t),o.history.push(e));},reset(e){o.view=e,o.history=[e];},replace(e){o.history.length>1&&(o.history[o.history.length-1]=e,o.view=e);},goBack(){if(o.history.length>1){o.history.pop();const[e]=o.history.slice(-1);o.view=e;}},setData(e){o.data=e;}},a$2={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$2.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$2.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$2.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$2.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$2.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$2.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$2.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$2.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T.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=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$3={state:r,subscribe(e){return subscribe(r.events,()=>e(snapshot(r.events[r.events.length-1])))},initialize(){r.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r.connectedWalletId=e;},click(e){if(r.enabled){const t={type:"CLICK",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}},track(e){if(r.enabled){const t={type:"TRACK",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}},view(e){if(r.enabled){const t={type:"VIEW",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}}},c$1=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$3={state:c$1,subscribe(e){return subscribe(c$1,()=>e(c$1))},setChains(e){c$1.chains=e;},setWalletConnectUri(e){c$1.walletConnectUri=e;},setIsCustomDesktop(e){c$1.isCustomDesktop=e;},setIsCustomMobile(e){c$1.isCustomMobile=e;},setIsDataLoaded(e){c$1.isDataLoaded=e;},setIsUiLoaded(e){c$1.isUiLoaded=e;},setIsAuth(e){c$1.isAuth=e;}},W$1=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$3={state:W$1,subscribe(e){return subscribe(W$1,()=>e(W$1))},setConfig(e){var t,s;R$3.initialize(),p$3.setChains(e.chains),p$3.setIsAuth(Boolean(e.enableAuthMode)),p$3.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$3.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$2.setModalVersionInStorage(),Object.assign(W$1,e);}};var V$2=Object.defineProperty,D$5=Object.getOwnPropertySymbols,H$2=Object.prototype.hasOwnProperty,B$2=Object.prototype.propertyIsEnumerable,M$2=(e,t,s)=>t in e?V$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$2=(e,t)=>{for(var s in t||(t={}))H$2.call(t,s)&&M$2(e,s,t[s]);if(D$5)for(var s of D$5(t))B$2.call(t,s)&&M$2(e,s,t[s]);return e};const L$3="https://explorer-api.walletconnect.com",E$3="wcm",O$4="js-2.6.2";async function w$4(e,t){const s=K$2({sdkType:E$3,sdkVersion:O$4},t),n=new URL(e,L$3);return n.searchParams.append("projectId",y$3.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$2={async getDesktopListings(e){return w$4("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$4("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$4("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$4("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$3}/w3m/v1/getWalletImage/${e}?projectId=${y$3.state.projectId}&sdkType=${E$3}&sdkVersion=${O$4}`},getAssetImageUrl(e){return `${L$3}/w3m/v1/getAssetImage/${e}?projectId=${y$3.state.projectId}&sdkType=${E$3}&sdkVersion=${O$4}`}};var z$2=Object.defineProperty,j$3=Object.getOwnPropertySymbols,J$2=Object.prototype.hasOwnProperty,q$2=Object.prototype.propertyIsEnumerable,k$2=(e,t,s)=>t in e?z$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$3=(e,t)=>{for(var s in t||(t={}))J$2.call(t,s)&&k$2(e,s,t[s]);if(j$3)for(var s of j$3(t))q$2.call(t,s)&&k$2(e,s,t[s]);return e};const N$3=a$2.isMobile(),d$2=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$2={state:d$2,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$3.state;if(e==="NONE"||t==="ALL"&&!e)return d$2.recomendedWallets;if(a$2.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$2.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$2.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$3.state,i=s?.join(","),l=a$2.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$2.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$3?await m$2.getMobileListings(v):await m$2.getDesktopListings(v);d$2.recomendedWallets=Object.values(b);}return d$2.recomendedWallets},async getWallets(e){const t=F$3({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$3.state,{recomendedWallets:i}=d$2;if(n==="ALL")return d$2.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$2.isArray(s)&&(t.excludedIds=s.join(",")),a$2.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$3.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$3?await m$2.getMobileListings(t):await m$2.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$2[U]={listings:[...d$2[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$2.getWalletImageUrl(e)},getAssetImageUrl(e){return m$2.getAssetImageUrl(e)},resetSearch(){d$2.search={listings:[],total:0,page:1};}},I$1=proxy({open:!1}),se={state:I$1,subscribe(e){return subscribe(I$1,()=>e(I$1))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$3.state;if(a$2.removeWalletConnectDeepLink(),p$3.setWalletConnectUri(e?.uri),p$3.setChains(e?.chains),T.reset("ConnectWallet"),s&&n)I$1.open=!0,t();else {const i=setInterval(()=>{const l=p$3.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$1.open=!0,t());},200);}})},close(){I$1.open=!1;}};var G$2=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$4=Object.prototype.hasOwnProperty,X$2=Object.prototype.propertyIsEnumerable,S$3=(e,t,s)=>t in e?G$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y=(e,t)=>{for(var s in t||(t={}))Q$4.call(t,s)&&S$3(e,s,t[s]);if($$3)for(var s of $$3(t))X$2.call(t,s)&&S$3(e,s,t[s]);return e};function Z$2(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C=proxy({themeMode:Z$2()?"dark":"light"}),ne={state:C,subscribe(e){return subscribe(C,()=>e(C))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C.themeMode=t),s&&(C.themeVariables=Y({},s));}},g$5=proxy({open:!1,message:"",variant:"success"}),oe$2={state:g$5,subscribe(e){return subscribe(g$5,()=>e(g$5))},openToast(e,t){g$5.open=!0,g$5.message=e,g$5.variant=t;},closeToast(){g$5.open=!1;}};
|
|
178496
178496
|
|
|
178497
|
-
let d$1 = class d{constructor(e){this.openModal=se.open,this.closeModal=se.close,this.subscribeModal=se.subscribe,this.setTheme=ne.setThemeConfig,ne.setThemeConfig(e),y$3.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
178497
|
+
let d$1 = class d{constructor(e){this.openModal=se.open,this.closeModal=se.close,this.subscribeModal=se.subscribe,this.setTheme=ne.setThemeConfig,ne.setThemeConfig(e),y$3.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-BK2rKCsb.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$3.setIsUiLoaded(!0);}}};
|
|
178498
178498
|
|
|
178499
178499
|
var index = /*#__PURE__*/Object.freeze({
|
|
178500
178500
|
__proto__: null,
|
|
@@ -191493,7 +191493,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
191493
191493
|
: serviceUnavailableView) }));
|
|
191494
191494
|
}
|
|
191495
191495
|
|
|
191496
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
191496
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-DzyLBVHX.js'));
|
|
191497
191497
|
class Swap extends Base {
|
|
191498
191498
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
191499
191499
|
getValidatedProperties({ config }) {
|
|
@@ -191620,7 +191620,7 @@ const sendOnRampFailedEvent = (eventTarget, reason) => {
|
|
|
191620
191620
|
eventTarget.dispatchEvent(failedEvent);
|
|
191621
191621
|
};
|
|
191622
191622
|
|
|
191623
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
191623
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-DqPejNhx.js').then(function (n) { return n.a; }));
|
|
191624
191624
|
class OnRamp extends Base {
|
|
191625
191625
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
191626
191626
|
getValidatedProperties({ config }) {
|
|
@@ -191709,7 +191709,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
191709
191709
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
191710
191710
|
}
|
|
191711
191711
|
|
|
191712
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
191712
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-BiYTgNC6.js'));
|
|
191713
191713
|
class Wallet extends Base {
|
|
191714
191714
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
191715
191715
|
getValidatedProperties({ config }) {
|
|
@@ -191851,7 +191851,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
191851
191851
|
eventTarget.dispatchEvent(event);
|
|
191852
191852
|
};
|
|
191853
191853
|
|
|
191854
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
191854
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-rgseW9MM.js'));
|
|
191855
191855
|
class Sale extends Base {
|
|
191856
191856
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
191857
191857
|
// TODO: add specific validation logic for the sale items
|
|
@@ -191927,7 +191927,7 @@ class Sale extends Base {
|
|
|
191927
191927
|
}
|
|
191928
191928
|
}
|
|
191929
191929
|
|
|
191930
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
191930
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-3UbIwU6n.js').then(function (n) { return n.a; }));
|
|
191931
191931
|
class Bridge extends Base {
|
|
191932
191932
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
191933
191933
|
getValidatedProperties({ config }) {
|
|
@@ -191970,7 +191970,7 @@ class Bridge extends Base {
|
|
|
191970
191970
|
}
|
|
191971
191971
|
}
|
|
191972
191972
|
|
|
191973
|
-
const CheckoutWidget = React.lazy(() => import('./CheckoutWidget-
|
|
191973
|
+
const CheckoutWidget = React.lazy(() => import('./CheckoutWidget-C4tOrk2y.js'));
|
|
191974
191974
|
class CheckoutWidgetRoot extends Base {
|
|
191975
191975
|
eventTopic = IMTBLWidgetEvents.IMTBL_CHECKOUT_WIDGET_EVENT;
|
|
191976
191976
|
getValidatedProperties({ config, }) {
|
|
@@ -192030,7 +192030,7 @@ function sendAddFundsGoBackEvent(eventTarget) {
|
|
|
192030
192030
|
eventTarget.dispatchEvent(closeWidgetEvent);
|
|
192031
192031
|
}
|
|
192032
192032
|
|
|
192033
|
-
const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-
|
|
192033
|
+
const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-gUJVDYv_.js'));
|
|
192034
192034
|
class AddFunds extends Base {
|
|
192035
192035
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_FUNDS_WIDGET_EVENT;
|
|
192036
192036
|
getValidatedProperties({ config, }) {
|
|
@@ -192157,4 +192157,4 @@ class WidgetsFactory {
|
|
|
192157
192157
|
}
|
|
192158
192158
|
}
|
|
192159
192159
|
|
|
192160
|
-
export { ButtonNavigationStyles as $, tokenValueFormat as A, ButtCon as B, ClassNames as C, DEFAULT_BUTTON_SIZE as D, EventTargetContext as E, orchestrationEvents as F, isNativeToken as G, sendNetworkSwitchEvent as H, IMTBLWidgetEvents as I, CheckoutErrorType as J, SharedViews as K, sortNetworksCompareFn as L, MenuItem as M, NetworkFilterTypes as N, FramedImage as O, getChainImage as P, DEFAULT_BALANCE_RETRY_POLICY as Q, sortTokensByAmount as R, SmartClone as S, TokenFilterTypes as T, UserJourney as U, ViewContext as V, getTokenImageByAddress as W, calculateCryptoToFiat as X, HeaderNavigation as Y, ZERO_BALANCE_STRING as Z, _objectWithoutProperties as _, Box as a, OnRampEventType as a$, sendWalletWidgetCloseEvent as a0, FooterLogo as a1, SimpleLayout as a2, WalletProviderName as a3, getWalletProviderNameByProvider as a4, abbreviateWalletAddress as a5, Heading as a6, Drawer as a7, useWalletConnect as a8, sendDisconnectWalletEvent as a9, LoadingOverlay as aA, Fragment as aB, useHandover as aC, HandoverTarget as aD, getRemoteRive as aE, HandoverDuration as aF, motion$1 as aG, listVariants as aH, listItemVariants as aI, StatusType as aJ, prettyFormatNumber as aK, Stack as aL, FundingStepType as aM, Divider as aN, tokenSymbolNameOverrides as aO, ItemType as aP, TransactionOrGasType as aQ, GasTokenType as aR, RoutingOutcomeType as aS, isGasFree as aT, eventTargetReducer as aU, initialEventTargetState as aV, EventTargetActions as aW, ChainId as aX, ConnectWidgetViews as aY, ConnectWidget as aZ, SwapEventType as a_, isWalletConnectProvider as aa, heroBackGroundStyles as ab, heroImageStyles as ac, heroImageBottomAlign as ad, SimpleTextBody as ae, FAQS_LINK as af, Link as ag, viewReducer as ah, initialViewState as ai, LoadingView as aj, ErrorView as ak, getCaptionTextStyles as al, baseTextComponentSx as am, useConvertSxToEmotionStyles as an, useGetCurrentSizeClass as ao, cloneElementWithCssProp as ap, shimmerSx as aq, BigNumber$1 as ar, compareStr as as, SalePaymentTypes as at, sendSaleWidgetCloseEvent as au, sendSaleSuccessEvent as av, sendSaleFailedEvent as aw, sendSaleTransactionSuccessEvent as ax, sendSalePaymentMethodEvent as ay, sendSalePaymentTokenEvent as az, getResponsiveSx as b, useInjectedProviders as b$, BridgeEventType as b0, ConnectEventType as b1, ConnectLoaderActions as b2, widgetTheme as b3, BlockExplorerService as b4, WidgetTheme as b5, getRemoteImage as b6, quickswapFooterStyles as b7, quickswapFooterLogoStyles as b8, quickswapFooterDisclaimerTextStyles as b9, defineReadOnly$1 as bA, getStatic$1 as bB, Signer$1 as bC, Provider$1 as bD, getAddress$1 as bE, Logger$2 as bF, getContractAddress$1 as bG, Interface$1 as bH, shallowCopy$1 as bI, VoidSigner$1 as bJ, Indexed$1 as bK, deepCopy$1 as bL, isHexString$1 as bM, checkResultErrors$1 as bN, resolveProperties$1 as bO, accessListify$1 as bP, arrayify$1 as bQ, IMMUTABLE_API_BASE_URL as bR, ShimmerBox as bS, PASSPORT_URL as bT, getChainIdBySlug as bU, networkName as bV, RawImage as bW, AXELAR_SCAN_URL as bX, getNativeSymbolByChainSlug as bY, WalletProviderRdns as bZ, Web3Provider as b_, getImxTokenImage as ba, CloudImage as bb, Logo as bc, Icon as bd, getDefaultTokenImage as be, NATIVE as bf, DEFAULT_QUOTE_REFRESH_INTERVAL as bg, amountInputValidation as bh, Tooltip as bi, ESTIMATE_DEBOUNCE as bj, DEFAULT_TOKEN_VALIDATION_DECIMALS as bk, DEFAULT_TOKEN_DECIMALS as bl, sendSwapWidgetCloseEvent as bm, IMX_TOKEN_SYMBOL as bn, FooterButton as bo, SwapDirection as bp, StatusView as bq, sendSwapSuccessEvent as br, sendSwapFailedEvent as bs, sendSwapRejectedEvent as bt, global$2 as bu, ExchangeType as bv, sendOnRampWidgetCloseEvent as bw, sendOnRampSuccessEvent as bx, sendOnRampFailedEvent as by, axios$1 as bz, BUTTON_SIZES as c,
|
|
192160
|
+
export { ButtonNavigationStyles as $, tokenValueFormat as A, ButtCon as B, ClassNames as C, DEFAULT_BUTTON_SIZE as D, EventTargetContext as E, orchestrationEvents as F, isNativeToken as G, sendNetworkSwitchEvent as H, IMTBLWidgetEvents as I, CheckoutErrorType as J, SharedViews as K, sortNetworksCompareFn as L, MenuItem as M, NetworkFilterTypes as N, FramedImage as O, getChainImage as P, DEFAULT_BALANCE_RETRY_POLICY as Q, sortTokensByAmount as R, SmartClone as S, TokenFilterTypes as T, UserJourney as U, ViewContext as V, getTokenImageByAddress as W, calculateCryptoToFiat as X, HeaderNavigation as Y, ZERO_BALANCE_STRING as Z, _objectWithoutProperties as _, Box as a, OnRampEventType as a$, sendWalletWidgetCloseEvent as a0, FooterLogo as a1, SimpleLayout as a2, WalletProviderName as a3, getWalletProviderNameByProvider as a4, abbreviateWalletAddress as a5, Heading as a6, Drawer as a7, useWalletConnect as a8, sendDisconnectWalletEvent as a9, LoadingOverlay as aA, Fragment as aB, useHandover as aC, HandoverTarget as aD, getRemoteRive as aE, HandoverDuration as aF, motion$1 as aG, listVariants as aH, listItemVariants as aI, StatusType as aJ, prettyFormatNumber as aK, Stack as aL, FundingStepType as aM, Divider as aN, tokenSymbolNameOverrides as aO, ItemType as aP, TransactionOrGasType as aQ, GasTokenType as aR, RoutingOutcomeType as aS, isGasFree as aT, eventTargetReducer as aU, initialEventTargetState as aV, EventTargetActions as aW, ChainId as aX, ConnectWidgetViews as aY, ConnectWidget as aZ, SwapEventType as a_, isWalletConnectProvider as aa, heroBackGroundStyles as ab, heroImageStyles as ac, heroImageBottomAlign as ad, SimpleTextBody as ae, FAQS_LINK as af, Link as ag, viewReducer as ah, initialViewState as ai, LoadingView as aj, ErrorView as ak, getCaptionTextStyles as al, baseTextComponentSx as am, useConvertSxToEmotionStyles as an, useGetCurrentSizeClass as ao, cloneElementWithCssProp as ap, shimmerSx as aq, BigNumber$1 as ar, compareStr as as, SalePaymentTypes as at, sendSaleWidgetCloseEvent as au, sendSaleSuccessEvent as av, sendSaleFailedEvent as aw, sendSaleTransactionSuccessEvent as ax, sendSalePaymentMethodEvent as ay, sendSalePaymentTokenEvent as az, getResponsiveSx as b, useInjectedProviders as b$, BridgeEventType as b0, ConnectEventType as b1, ConnectLoaderActions as b2, widgetTheme as b3, BlockExplorerService as b4, WidgetTheme as b5, getRemoteImage as b6, quickswapFooterStyles as b7, quickswapFooterLogoStyles as b8, quickswapFooterDisclaimerTextStyles as b9, defineReadOnly$1 as bA, getStatic$1 as bB, Signer$1 as bC, Provider$1 as bD, getAddress$1 as bE, Logger$2 as bF, getContractAddress$1 as bG, Interface$1 as bH, shallowCopy$1 as bI, VoidSigner$1 as bJ, Indexed$1 as bK, deepCopy$1 as bL, isHexString$1 as bM, checkResultErrors$1 as bN, resolveProperties$1 as bO, accessListify$1 as bP, arrayify$1 as bQ, IMMUTABLE_API_BASE_URL as bR, ShimmerBox as bS, PASSPORT_URL as bT, getChainIdBySlug as bU, networkName as bV, RawImage as bW, AXELAR_SCAN_URL as bX, getNativeSymbolByChainSlug as bY, WalletProviderRdns as bZ, Web3Provider as b_, getImxTokenImage as ba, CloudImage as bb, Logo as bc, Icon as bd, getDefaultTokenImage as be, NATIVE as bf, DEFAULT_QUOTE_REFRESH_INTERVAL as bg, amountInputValidation as bh, Tooltip as bi, ESTIMATE_DEBOUNCE as bj, DEFAULT_TOKEN_VALIDATION_DECIMALS as bk, DEFAULT_TOKEN_DECIMALS as bl, sendSwapWidgetCloseEvent as bm, IMX_TOKEN_SYMBOL as bn, FooterButton as bo, SwapDirection as bp, StatusView as bq, sendSwapSuccessEvent as br, sendSwapFailedEvent as bs, sendSwapRejectedEvent as bt, global$2 as bu, ExchangeType as bv, sendOnRampWidgetCloseEvent as bw, sendOnRampSuccessEvent as bx, sendOnRampFailedEvent as by, axios$1 as bz, BUTTON_SIZES as c, getNextIntegrationsURL as c$, WalletDrawer as c0, getChainSlugById as c1, JsonRpcProvider$1 as c2, DEFAULT_TRANSACTIONS_RETRY_POLICY as c3, getChainNameById as c4, isAddressSanctioned as c5, isMetaMaskProvider as c6, ETH_TOKEN_SYMBOL as c7, GasEstimateType as c8, addChainChangedListener as c9, hexZeroPad$1 as cA, isBigNumberish as cB, isBytes$1 as cC, PostMessageHandler as cD, PostMessageHandlerEventType as cE, CheckoutEventType as cF, CheckoutSuccessEventType as cG, CheckoutFlowType as cH, CHECKOUT_APP_URL as cI, OverflowPopoverMenu as cJ, sendAddFundsCloseEvent as cK, sendAddFundsGoBackEvent as cL, TextInput as cM, ne as cN, se as cO, T as cP, oe$2 as cQ, R$3 as cR, a$2 as cS, te$2 as cT, p$3 as cU, y$3 as cV, getAugmentedNamespace$1 as cW, commonjsGlobal$2 as cX, __awaiter as cY, __generator as cZ, loadScript as c_, removeChainChangedListener as ca, dist$1 as cb, CHECKOUT_CDN_BASE_URL as cc, Badge as cd, getEthTokenImage as ce, WITHDRAWAL_CLAIM_GAS_LIMIT as cf, BridgeConfiguration as cg, ImmutableConfiguration as ch, TokenBridge as ci, ServiceUnavailableErrorView as cj, ServiceType as ck, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cl, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cm, ETH_MAINNET_TO_ZKEVM_MAINNET as cn, hFlex as co, _slicedToArray as cp, useGetSubcomponentChild as cq, BaseClickable as cr, AnimatePresence as cs, getTertiaryButtonStyles as ct, Select as cu, FormControlWrapper as cv, PriceDisplay as cw, DuoCon as cx, useBrowserLayoutEffect as cy, version$r as cz, Button as d, unloadScript as d0, __spreadArray$1 as d1, isOffline as d2, __assign as d3, ContextCancelation as d4, applyDestinationMiddleware as d5, dist as d6, isServer as d7, mergedOptions as d8, isPlainObject as d9, pWhile as da, PriorityQueue as db, PersistedPriorityQueue as dc, attempt as dd, isOnline as de, Context as df, pTimeout as dg, gracefulDecodeURIComponent as dh, getDefaultExportFromCjs$2 as di, WidgetsFactory as dj, ButtonIcon as e, flattenChildren as f, getStartingSize as g, ButtonLogo as h, isChildSubcomponent as i, jsx$1 as j, _defineProperty as k, useTranslation as l, merge as m, jsxs as n, Body as o, ViewActions as p, ConnectLoaderContext as q, reactExports as r, setDefaultSxBackgroundColor as s, useAnalytics as t, useTheme as u, formatZeroAmount as v, isPassportProvider as w, getL2ChainId as x, getL1ChainId as y, Environment$1 as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cY as __awaiter, cZ as __generator, c_ as loadScript, c$ as getNextIntegrationsURL, d0 as unloadScript, d1 as __spreadArray, d2 as isOffline, d3 as __assign, d4 as ContextCancelation, d5 as applyDestinationMiddleware, d6 as dist, d7 as isServer, d8 as mergedOptions, d9 as isPlainObject, da as pWhile, db as PriorityQueue, dc as PersistedPriorityQueue, dd as attempt, de as isOnline, df as Context } from './index-BycofDTk.js';
|
|
2
2
|
import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
|
|
3
3
|
|
|
4
4
|
function normalizeName(name) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cY as __awaiter, cZ as __generator } from './index-BycofDTk.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-DsaaRFps.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 { r as reactExports, be as getDefaultTokenImage, j as jsx, cy as useBrowserLayoutEffect } from './index-
|
|
1
|
+
import { r as reactExports, be as getDefaultTokenImage, j as jsx, cy as useBrowserLayoutEffect } from './index-BycofDTk.js';
|
|
2
2
|
|
|
3
3
|
function TokenImage({ src, name, environment, theme, defaultImage, ...forwardedProps }) {
|
|
4
4
|
const [error, setError] = reactExports.useState(false);
|