@imtbl/sdk 1.62.0 → 1.63.0-alpha.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.
Files changed (58) hide show
  1. package/dist/{blockchain_data-sxvR7yJA.js → blockchain_data-CHib54kz.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddFundsWidget-ZVSgslAw.js → AddTokensWidget-_Xn5oqy1.js} +167 -167
  4. package/dist/browser/checkout/{BridgeWidget-Cdho2hYD.js → BridgeWidget-BPIfYbvA.js} +8 -8
  5. package/dist/browser/checkout/{CommerceWidget-BzipzAPM.js → CommerceWidget-BA8RmVn9.js} +28 -28
  6. package/dist/browser/checkout/{EllipsizedText-CvkYzx6o.js → EllipsizedText-ClgMkj4v.js} +1 -1
  7. package/dist/browser/checkout/{FeesBreakdown-2gL4cI-R.js → FeesBreakdown-DR6v2-H-.js} +1 -1
  8. package/dist/browser/checkout/{HandoverContent-Bl4qmdQg.js → HandoverContent-QiXwWQ57.js} +1 -1
  9. package/dist/browser/checkout/{OnRampWidget-QJuXcGjQ.js → OnRampWidget-BgIua-mm.js} +3 -3
  10. package/dist/browser/checkout/{SaleWidget-edWOlmfl.js → SaleWidget-6eV8QF7G.js} +17 -17
  11. package/dist/browser/checkout/{SpendingCapHero-CqFT2_-Q.js → SpendingCapHero-BqPQ6a0R.js} +1 -1
  12. package/dist/browser/checkout/{SwapWidget-gFL-1ypc.js → SwapWidget-DoPU0Yzi.js} +8 -8
  13. package/dist/browser/checkout/{TopUpView-BQBIv4KK.js → TopUpView-DNQT2rsA.js} +10 -10
  14. package/dist/browser/checkout/{WalletApproveHero-CLTmvRwO.js → WalletApproveHero-CmiF_ZJW.js} +3 -3
  15. package/dist/browser/checkout/{WalletWidget-DqzlgTAL.js → WalletWidget-rl3B0Qxr.js} +22 -22
  16. package/dist/browser/checkout/{auto-track-B_DVujaR.js → auto-track-B3-upPnC.js} +1 -1
  17. package/dist/browser/checkout/{index-BGasM3FI.js → index-46Ow2IS7.js} +1 -1
  18. package/dist/browser/checkout/{index-BVEcFW11.js → index-B7msauEg.js} +1 -1
  19. package/dist/browser/checkout/{index-yoSSDRdd.js → index-BmTv11nk.js} +1 -1
  20. package/dist/browser/checkout/{index-CgtLpuEZ.js → index-CG2H6hgX.js} +1 -1
  21. package/dist/browser/checkout/{index-DitiTTnr.js → index-CjNJ4JEB.js} +1 -1
  22. package/dist/browser/checkout/{index-DYTK3G7G.js → index-Cpj4gmmX.js} +2 -2
  23. package/dist/browser/checkout/{index-CRuWUFZW.js → index-DVvY446o.js} +1 -1
  24. package/dist/browser/checkout/{index-B_wChk6v.js → index-sjoe4g_0.js} +1 -1
  25. package/dist/browser/checkout/{index-DvBzy5DX.js → index-veWeUrkn.js} +67 -67
  26. package/dist/browser/checkout/{index.umd-5W8TJb-e.js → index.umd-BLRhOrrH.js} +1 -1
  27. package/dist/browser/checkout/{retry-Bd7qMg0v.js → retry-D2Hhra6P.js} +1 -1
  28. package/dist/browser/checkout/sdk.js +15 -15
  29. package/dist/browser/checkout/{useInterval-DI0ddcnq.js → useInterval-BliISh4h.js} +1 -1
  30. package/dist/browser/checkout/widgets-esm.js +1 -1
  31. package/dist/browser/checkout/widgets.js +252 -252
  32. package/dist/{checkout-C12Br7lr.js → checkout-DMMI_B4s.js} +22 -22
  33. package/dist/checkout.d.ts +50 -50
  34. package/dist/checkout.js +5 -5
  35. package/dist/{config-BR83WwI2.js → config-BWP6AMeq.js} +1 -1
  36. package/dist/config.js +1 -1
  37. package/dist/{index-oQTMj48l.js → index-B9QgjXS3.js} +1 -1
  38. package/dist/{index-DeyLbhnj.js → index-BG-coMRS.js} +1 -1
  39. package/dist/{index-B3-R16ZI.js → index-CJ8CKZvf.js} +4 -4
  40. package/dist/{index-CA86ogWz.js → index-CWRp9quw.js} +3 -3
  41. package/dist/{index-o82oWSK6.js → index-DFG6xxKC.js} +1 -1
  42. package/dist/{index-B12uBW7v.js → index-kJT4-1dz.js} +1 -1
  43. package/dist/index.browser.js +4 -4
  44. package/dist/index.browser.js.map +1 -1
  45. package/dist/index.cjs +23 -23
  46. package/dist/index.d.ts +63 -63
  47. package/dist/index.js +14 -14
  48. package/dist/{minting_backend-BZNiHRmU.js → minting_backend-CRuUAqY_.js} +3 -3
  49. package/dist/minting_backend.js +5 -5
  50. package/dist/{orderbook-B1Tjr_q4.js → orderbook-CHg5VmWU.js} +1 -1
  51. package/dist/orderbook.js +2 -2
  52. package/dist/{passport-BSNhvk09.js → passport-Chi9Fpm8.js} +3 -3
  53. package/dist/passport.js +4 -4
  54. package/dist/{webhook-2lD6l4rk.js → webhook-U74UduTw.js} +1 -1
  55. package/dist/webhook.js +2 -2
  56. package/dist/{x-BuvtdpOp.js → x-bg80uxUK.js} +3 -3
  57. package/dist/x.js +4 -4
  58. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { eb as gracefulDecodeURIComponent, e3 as isPlainObject } from './index-DvBzy5DX.js';
1
+ import { eb as gracefulDecodeURIComponent, e3 as isPlainObject } from './index-veWeUrkn.js';
2
2
 
3
3
  /**
4
4
  * Returns an object containing only the properties prefixed by the input
@@ -1,4 +1,4 @@
1
- import { ao as BigNumber, cR as Logger, dF as version$1, dG as hexZeroPad, dH as isBigNumberish, d0 as arrayify, dI as isBytes } from './index-DvBzy5DX.js';
1
+ import { ao as BigNumber, cR as Logger, dF as version$1, dG as hexZeroPad, dH as isBigNumberish, d0 as arrayify, dI as isBytes } from './index-veWeUrkn.js';
2
2
 
3
3
  const logger$1 = new Logger(version$1);
4
4
  const _constructorGuard = {};
@@ -127787,7 +127787,7 @@ var IMTBLWidgetEvents;
127787
127787
  IMTBLWidgetEvents["IMTBL_ONRAMP_WIDGET_EVENT"] = "imtbl-onramp-widget";
127788
127788
  IMTBLWidgetEvents["IMTBL_SALE_WIDGET_EVENT"] = "imtbl-sale-widget";
127789
127789
  IMTBLWidgetEvents["IMTBL_COMMERCE_WIDGET_EVENT"] = "imtbl-commerce-widget";
127790
- IMTBLWidgetEvents["IMTBL_ADD_FUNDS_WIDGET_EVENT"] = "imtbl-add-funds-widget";
127790
+ IMTBLWidgetEvents["IMTBL_ADD_TOKENS_WIDGET_EVENT"] = "imtbl-add-tokens-widget";
127791
127791
  })(IMTBLWidgetEvents || (IMTBLWidgetEvents = {}));
127792
127792
  /**
127793
127793
  * Enum for events raised for about provider objects
@@ -127882,7 +127882,7 @@ var OrchestrationEventType;
127882
127882
  OrchestrationEventType["REQUEST_SWAP"] = "request-swap";
127883
127883
  OrchestrationEventType["REQUEST_BRIDGE"] = "request-bridge";
127884
127884
  OrchestrationEventType["REQUEST_ONRAMP"] = "request-onramp";
127885
- OrchestrationEventType["REQUEST_ADD_FUNDS"] = "request-add-funds";
127885
+ OrchestrationEventType["REQUEST_ADD_TOKENS"] = "request-add-tokens";
127886
127886
  OrchestrationEventType["REQUEST_GO_BACK"] = "request-go-back";
127887
127887
  })(OrchestrationEventType || (OrchestrationEventType = {}));
127888
127888
 
@@ -127916,7 +127916,7 @@ var CommerceSuccessEventType;
127916
127916
  CommerceSuccessEventType["SALE_TRANSACTION_SUCCESS"] = "SALE_TRANSACTION_SUCCESS";
127917
127917
  CommerceSuccessEventType["BRIDGE_SUCCESS"] = "BRIDGE_SUCCESS";
127918
127918
  CommerceSuccessEventType["BRIDGE_CLAIM_WITHDRAWAL_SUCCESS"] = "BRIDGE_CLAIM_WITHDRAWAL_SUCCESS";
127919
- CommerceSuccessEventType["ADD_FUNDS_SUCCESS"] = "ADD_FUNDS_SUCCESS";
127919
+ CommerceSuccessEventType["ADD_TOKENS_SUCCESS"] = "ADD_TOKENS_SUCCESS";
127920
127920
  })(CommerceSuccessEventType || (CommerceSuccessEventType = {}));
127921
127921
  var CommerceFailureEventType;
127922
127922
  (function (CommerceFailureEventType) {
@@ -127927,7 +127927,7 @@ var CommerceFailureEventType;
127927
127927
  CommerceFailureEventType["CONNECT_FAILED"] = "CONNECT_FAILED";
127928
127928
  CommerceFailureEventType["SALE_FAILED"] = "SALE_FAILED";
127929
127929
  CommerceFailureEventType["ONRAMP_FAILED"] = "ONRAMP_FAILED";
127930
- CommerceFailureEventType["ADD_FUNDS_FAILED"] = "ADD_FUNDS_FAILED";
127930
+ CommerceFailureEventType["ADD_TOKENS_FAILED"] = "ADD_TOKENS_FAILED";
127931
127931
  })(CommerceFailureEventType || (CommerceFailureEventType = {}));
127932
127932
  var CommerceUserActionEventType;
127933
127933
  (function (CommerceUserActionEventType) {
@@ -127937,16 +127937,16 @@ var CommerceUserActionEventType;
127937
127937
  })(CommerceUserActionEventType || (CommerceUserActionEventType = {}));
127938
127938
 
127939
127939
  /**
127940
- * Enum of possible Add Funds Widget event types.
127940
+ * Enum of possible Add Tokens Widget event types.
127941
127941
  */
127942
- var AddFundsEventType;
127943
- (function (AddFundsEventType) {
127944
- AddFundsEventType["CLOSE_WIDGET"] = "close-widget";
127945
- AddFundsEventType["LANGUAGE_CHANGED"] = "language-changed";
127946
- AddFundsEventType["CONNECT_SUCCESS"] = "connect-success";
127947
- AddFundsEventType["SUCCESS"] = "success";
127948
- AddFundsEventType["FAILURE"] = "failure";
127949
- })(AddFundsEventType || (AddFundsEventType = {}));
127942
+ var AddTokensEventType;
127943
+ (function (AddTokensEventType) {
127944
+ AddTokensEventType["CLOSE_WIDGET"] = "close-widget";
127945
+ AddTokensEventType["LANGUAGE_CHANGED"] = "language-changed";
127946
+ AddTokensEventType["CONNECT_SUCCESS"] = "connect-success";
127947
+ AddTokensEventType["SUCCESS"] = "success";
127948
+ AddTokensEventType["FAILURE"] = "failure";
127949
+ })(AddTokensEventType || (AddTokensEventType = {}));
127950
127950
 
127951
127951
  /**
127952
127952
  * Enum representing the list of widget types.
@@ -127960,7 +127960,7 @@ var WidgetType;
127960
127960
  WidgetType["ONRAMP"] = "onramp";
127961
127961
  WidgetType["SALE"] = "sale";
127962
127962
  WidgetType["IMMUTABLE_COMMERCE"] = "immutableCommerce";
127963
- WidgetType["ADD_FUNDS"] = "addFunds";
127963
+ WidgetType["ADD_TOKENS"] = "addTokens";
127964
127964
  })(WidgetType || (WidgetType = {}));
127965
127965
 
127966
127966
  var ConnectTargetLayer;
@@ -127983,7 +127983,7 @@ var CommerceFlowType;
127983
127983
  CommerceFlowType["SWAP"] = "SWAP";
127984
127984
  CommerceFlowType["BRIDGE"] = "BRIDGE";
127985
127985
  CommerceFlowType["ONRAMP"] = "ONRAMP";
127986
- CommerceFlowType["ADD_FUNDS"] = "ADD_FUNDS";
127986
+ CommerceFlowType["ADD_TOKENS"] = "ADD_TOKENS";
127987
127987
  })(CommerceFlowType || (CommerceFlowType = {}));
127988
127988
 
127989
127989
  /**
@@ -131939,12 +131939,12 @@ var views$3 = {
131939
131939
  heading: {
131940
131940
  swap: "Swapping is not available in your region",
131941
131941
  generic: "This service is not available in your region",
131942
- addFunds: "This is not available in your region"
131942
+ addTokens: "This is not available in your region"
131943
131943
  },
131944
131944
  body: {
131945
131945
  swap: "Please refer to <quickswapLink>Quickswap’s</quickswapLink> website for further information.",
131946
131946
  generic: "For further assistance visit the <immutableSupport>Immutable</immutableSupport> support page.",
131947
- addFunds: "Please add tokens another way"
131947
+ addTokens: "Please add tokens another way"
131948
131948
  }
131949
131949
  },
131950
131950
  LOADING_VIEW: {
@@ -132509,7 +132509,7 @@ var views$3 = {
132509
132509
  }
132510
132510
  }
132511
132511
  },
132512
- ADD_FUNDS: {
132512
+ ADD_TOKENS: {
132513
132513
  drawer: {
132514
132514
  options: {
132515
132515
  swap: {
@@ -132793,12 +132793,12 @@ var views$2 = {
132793
132793
  heading: {
132794
132794
  swap: "お住まいの地域では交換が利用できません",
132795
132795
  generic: "このサービスはお住まいの地域では利用できません",
132796
- addFunds: "このサービスはお住まいの地域では利用できません"
132796
+ addTokens: "このサービスはお住まいの地域では利用できません"
132797
132797
  },
132798
132798
  body: {
132799
132799
  swap: "<quickswapLink>Quickswap</quickswapLink>のウェブサイトで詳細情報をご覧ください。",
132800
132800
  generic: "詳しいサポートについては、<immutableSupport>Immutable</immutableSupport>サポートページをご覧ください.",
132801
- addFunds: "別の方法でトークンを追加してください。"
132801
+ addTokens: "別の方法でトークンを追加してください。"
132802
132802
  }
132803
132803
  },
132804
132804
  LOADING_VIEW: {
@@ -133346,7 +133346,7 @@ var views$2 = {
133346
133346
  }
133347
133347
  }
133348
133348
  },
133349
- ADD_FUNDS: {
133349
+ ADD_TOKENS: {
133350
133350
  drawer: {
133351
133351
  options: {
133352
133352
  swap: {
@@ -133630,12 +133630,12 @@ var views$1 = {
133630
133630
  heading: {
133631
133631
  swap: "해당 지역에서는 스왑을 이용할 수 없습니다",
133632
133632
  generic: "이 서비스는 귀하의 지역에서 사용할 수 없습니다",
133633
- addFunds: "이 서비스는 귀하의 지역에서 사용할 수 없습니다"
133633
+ addTokens: "이 서비스는 귀하의 지역에서 사용할 수 없습니다"
133634
133634
  },
133635
133635
  body: {
133636
133636
  swap: "<quickswapLink>Quickswap</quickswapLink> 웹사이트에서 자세한 내용을 확인하세요.",
133637
133637
  generic: "자세한 내용은 <immutableSupport>Immutable</immutableSupport> 지원 페이지를 참조하세요.",
133638
- addFunds: "다른 방법으로 토큰을 추가해 주세요."
133638
+ addTokens: "다른 방법으로 토큰을 추가해 주세요."
133639
133639
  }
133640
133640
  },
133641
133641
  LOADING_VIEW: {
@@ -134180,7 +134180,7 @@ var views$1 = {
134180
134180
  }
134181
134181
  }
134182
134182
  },
134183
- ADD_FUNDS: {
134183
+ ADD_TOKENS: {
134184
134184
  drawer: {
134185
134185
  options: {
134186
134186
  swap: {
@@ -134464,12 +134464,12 @@ var views = {
134464
134464
  heading: {
134465
134465
  swap: "您的地区无法使用兑换功能",
134466
134466
  generic: "该服务在您的地区不可用",
134467
- addFunds: "该服务在您的地区不可用"
134467
+ addTokens: "该服务在您的地区不可用"
134468
134468
  },
134469
134469
  body: {
134470
134470
  swap: "请访问<quickswapLink>Quickswap</quickswapLink>网站了解更多信息。",
134471
134471
  generic: "更多帮助,请访问<immutableSupport>Immutable</immutableSupport>支持页面。",
134472
- addFunds: "请通过其他方式添加代币。"
134472
+ addTokens: "请通过其他方式添加代币。"
134473
134473
  }
134474
134474
  },
134475
134475
  LOADING_VIEW: {
@@ -135014,7 +135014,7 @@ var views = {
135014
135014
  }
135015
135015
  }
135016
135016
  },
135017
- ADD_FUNDS: {
135017
+ ADD_TOKENS: {
135018
135018
  drawer: {
135019
135019
  options: {
135020
135020
  swap: {
@@ -135311,9 +135311,9 @@ const DEFAULT_SWAP_ENABLED = true;
135311
135311
  */
135312
135312
  const DEFAULT_BRIDGE_ENABLED = true;
135313
135313
  /**
135314
- * Commerce Widget default add funds enabled flag
135314
+ * Commerce Widget default add tokens enabled flag
135315
135315
  */
135316
- const DEFAULT_ADD_FUNDS_ENABLED = true;
135316
+ const DEFAULT_ADD_TOKENS_ENABLED = true;
135317
135317
  /**
135318
135318
  * Commerce Widget default refresh quote interval
135319
135319
  */
@@ -135691,7 +135691,7 @@ function snapshot(proxyObject, handlePromise) {
135691
135691
 
135692
135692
  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;}};
135693
135693
 
135694
- 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-BGasM3FI.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
135694
+ 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-46Ow2IS7.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
135695
135695
 
135696
135696
  var index$1 = /*#__PURE__*/Object.freeze({
135697
135697
  __proto__: null,
@@ -149100,7 +149100,7 @@ const withDefaultWidgetConfigs = (configs) => ({
149100
149100
  isOnRampEnabled: getValidBoolean(DEFAULT_ON_RAMP_ENABLED, configs?.isOnRampEnabled?.toString()),
149101
149101
  isSwapEnabled: getValidBoolean(DEFAULT_SWAP_ENABLED, configs?.isSwapEnabled?.toString()),
149102
149102
  isBridgeEnabled: getValidBoolean(DEFAULT_BRIDGE_ENABLED, configs?.isBridgeEnabled?.toString()),
149103
- isAddFundsEnabled: getValidBoolean(DEFAULT_ADD_FUNDS_ENABLED, configs?.isAddFundsEnabled?.toString()),
149103
+ isAddTokensEnabled: getValidBoolean(DEFAULT_ADD_TOKENS_ENABLED, configs?.isAddTokensEnabled?.toString()),
149104
149104
  });
149105
149105
 
149106
149106
  /* eslint-disable class-methods-use-this */
@@ -152532,7 +152532,7 @@ var Analytics = /** @class */ (function (_super) {
152532
152532
  return __generator(this, function (_b) {
152533
152533
  switch (_b.label) {
152534
152534
  case 0: return [4 /*yield*/, import(
152535
- /* webpackChunkName: "auto-track" */ './auto-track-B_DVujaR.js')];
152535
+ /* webpackChunkName: "auto-track" */ './auto-track-B3-upPnC.js')];
152536
152536
  case 1:
152537
152537
  autotrack = _b.sent();
152538
152538
  return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -152551,7 +152551,7 @@ var Analytics = /** @class */ (function (_super) {
152551
152551
  return __generator(this, function (_b) {
152552
152552
  switch (_b.label) {
152553
152553
  case 0: return [4 /*yield*/, import(
152554
- /* webpackChunkName: "auto-track" */ './auto-track-B_DVujaR.js')];
152554
+ /* webpackChunkName: "auto-track" */ './auto-track-B3-upPnC.js')];
152555
152555
  case 1:
152556
152556
  autotrack = _b.sent();
152557
152557
  return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -152570,7 +152570,7 @@ var Analytics = /** @class */ (function (_super) {
152570
152570
  return __generator(this, function (_b) {
152571
152571
  switch (_b.label) {
152572
152572
  case 0: return [4 /*yield*/, import(
152573
- /* webpackChunkName: "auto-track" */ './auto-track-B_DVujaR.js')];
152573
+ /* webpackChunkName: "auto-track" */ './auto-track-B3-upPnC.js')];
152574
152574
  case 1:
152575
152575
  autotrack = _b.sent();
152576
152576
  return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -152589,7 +152589,7 @@ var Analytics = /** @class */ (function (_super) {
152589
152589
  return __generator(this, function (_b) {
152590
152590
  switch (_b.label) {
152591
152591
  case 0: return [4 /*yield*/, import(
152592
- /* webpackChunkName: "auto-track" */ './auto-track-B_DVujaR.js')];
152592
+ /* webpackChunkName: "auto-track" */ './auto-track-B3-upPnC.js')];
152593
152593
  case 1:
152594
152594
  autotrack = _b.sent();
152595
152595
  return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -152739,7 +152739,7 @@ var Analytics = /** @class */ (function (_super) {
152739
152739
  return [2 /*return*/, []];
152740
152740
  }
152741
152741
  return [4 /*yield*/, import(
152742
- /* webpackChunkName: "queryString" */ './index-CRuWUFZW.js')];
152742
+ /* webpackChunkName: "queryString" */ './index-DVvY446o.js')];
152743
152743
  case 1:
152744
152744
  queryString = (_a.sent()).queryString;
152745
152745
  return [2 /*return*/, queryString(this, query)];
@@ -155443,7 +155443,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
155443
155443
  case 0:
155444
155444
  if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
155445
155445
  return [4 /*yield*/, import(
155446
- /* webpackChunkName: "tsub-middleware" */ './index-DitiTTnr.js').then(function (mod) {
155446
+ /* webpackChunkName: "tsub-middleware" */ './index-CjNJ4JEB.js').then(function (mod) {
155447
155447
  return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
155448
155448
  })];
155449
155449
  case 1:
@@ -155456,7 +155456,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
155456
155456
  tsubMiddleware = _d;
155457
155457
  if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
155458
155458
  return [4 /*yield*/, import(
155459
- /* webpackChunkName: "ajs-destination" */ './index-BVEcFW11.js').then(function (mod) {
155459
+ /* webpackChunkName: "ajs-destination" */ './index-B7msauEg.js').then(function (mod) {
155460
155460
  return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
155461
155461
  })];
155462
155462
  case 4:
@@ -155469,7 +155469,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
155469
155469
  legacyDestinations = _e;
155470
155470
  if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
155471
155471
  return [4 /*yield*/, import(
155472
- /* webpackChunkName: "legacyVideos" */ './index-DYTK3G7G.js').then(function (mod) {
155472
+ /* webpackChunkName: "legacyVideos" */ './index-Cpj4gmmX.js').then(function (mod) {
155473
155473
  return mod.loadLegacyVideoPlugins(analytics);
155474
155474
  })];
155475
155475
  case 7:
@@ -155478,7 +155478,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
155478
155478
  case 8:
155479
155479
  if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
155480
155480
  return [4 /*yield*/, import(
155481
- /* webpackChunkName: "schemaFilter" */ './index-CgtLpuEZ.js').then(function (mod) {
155481
+ /* webpackChunkName: "schemaFilter" */ './index-CG2H6hgX.js').then(function (mod) {
155482
155482
  var _a;
155483
155483
  return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
155484
155484
  })];
@@ -155517,7 +155517,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
155517
155517
  return enabled;
155518
155518
  })) return [3 /*break*/, 17];
155519
155519
  return [4 /*yield*/, import(
155520
- /* webpackChunkName: "remoteMiddleware" */ './index-yoSSDRdd.js').then(function (_a) {
155520
+ /* webpackChunkName: "remoteMiddleware" */ './index-BmTv11nk.js').then(function (_a) {
155521
155521
  var remoteMiddlewares = _a.remoteMiddlewares;
155522
155522
  return __awaiter(_this, void 0, void 0, function () {
155523
155523
  var middleware, promises;
@@ -155677,7 +155677,7 @@ var UserJourney;
155677
155677
  UserJourney["SWAP"] = "Swap";
155678
155678
  UserJourney["BRIDGE"] = "Bridge";
155679
155679
  UserJourney["SALE"] = "PrimarySale";
155680
- UserJourney["ADD_FUNDS"] = "AddFunds";
155680
+ UserJourney["ADD_TOKENS"] = "AddTokens";
155681
155681
  })(UserJourney || (UserJourney = {}));
155682
155682
  const productName = 'checkout';
155683
155683
  // eslint-disable-next-line @typescript-eslint/naming-convention
@@ -222714,9 +222714,9 @@ const useProvidersContext = () => {
222714
222714
  return context;
222715
222715
  };
222716
222716
 
222717
- const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-ZVSgslAw.js'));
222718
- class AddFunds extends Base {
222719
- eventTopic = IMTBLWidgetEvents.IMTBL_ADD_FUNDS_WIDGET_EVENT;
222717
+ const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-_Xn5oqy1.js'));
222718
+ class AddTokens extends Base {
222719
+ eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
222720
222720
  getValidatedProperties({ config, }) {
222721
222721
  let validatedConfig;
222722
222722
  if (config) {
@@ -222751,14 +222751,14 @@ class AddFunds extends Base {
222751
222751
  if (!this.reactRoot)
222752
222752
  return;
222753
222753
  const { t } = instance;
222754
- this.reactRoot.render(jsx$1(React.StrictMode, { children: jsx$1(CustomAnalyticsProvider, { checkout: this.checkout, children: jsx$1(ThemeProvider, { id: "add-funds-container", config: this.strongConfig(), children: jsx$1(HandoverProvider, { children: jsx$1(ProvidersContextProvider, { initialState: {
222754
+ this.reactRoot.render(jsx$1(React.StrictMode, { children: jsx$1(CustomAnalyticsProvider, { checkout: this.checkout, children: jsx$1(ThemeProvider, { id: "add-tokens-container", config: this.strongConfig(), children: jsx$1(HandoverProvider, { children: jsx$1(ProvidersContextProvider, { initialState: {
222755
222755
  checkout: this.checkout,
222756
222756
  toProvider: this.parameters.toProvider,
222757
- }, children: jsx$1(reactExports.Suspense, { fallback: jsx$1(LoadingView, { loadingText: t('views.LOADING_VIEW.text') }), children: jsx$1(AddFundsWidget, { config: this.strongConfig(), toTokenAddress: this.parameters.toTokenAddress, toAmount: this.parameters.toAmount, showBridgeOption: this.parameters.showBridgeOption, showSwapOption: this.parameters.showSwapOption, showOnrampOption: this.parameters.showOnrampOption, showBackButton: this.parameters.showBackButton }) }) }) }) }) }) }));
222757
+ }, children: jsx$1(reactExports.Suspense, { fallback: jsx$1(LoadingView, { loadingText: t('views.LOADING_VIEW.text') }), children: jsx$1(AddTokensWidget, { config: this.strongConfig(), toTokenAddress: this.parameters.toTokenAddress, toAmount: this.parameters.toAmount, showBridgeOption: this.parameters.showBridgeOption, showSwapOption: this.parameters.showSwapOption, showOnrampOption: this.parameters.showOnrampOption, showBackButton: this.parameters.showBackButton }) }) }) }) }) }) }));
222758
222758
  }
222759
222759
  }
222760
222760
 
222761
- const BridgeWidget = React.lazy(() => import('./BridgeWidget-Cdho2hYD.js'));
222761
+ const BridgeWidget = React.lazy(() => import('./BridgeWidget-BPIfYbvA.js'));
222762
222762
  class Bridge extends Base {
222763
222763
  eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
222764
222764
  getValidatedProperties({ config }) {
@@ -222823,10 +222823,10 @@ const commerceFlows = [
222823
222823
  CommerceFlowType.SWAP,
222824
222824
  CommerceFlowType.BRIDGE,
222825
222825
  CommerceFlowType.ONRAMP,
222826
- CommerceFlowType.ADD_FUNDS,
222826
+ CommerceFlowType.ADD_TOKENS,
222827
222827
  ];
222828
222828
 
222829
- const CommerceWidget = React.lazy(() => import('./CommerceWidget-BzipzAPM.js'));
222829
+ const CommerceWidget = React.lazy(() => import('./CommerceWidget-BA8RmVn9.js'));
222830
222830
  class CommerceWidgetRoot extends Base {
222831
222831
  eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
222832
222832
  getValidatedProperties({ config, }) {
@@ -222889,7 +222889,7 @@ class CommerceWidgetRoot extends Base {
222889
222889
  items: deduplicateSaleItemsArray(params.items),
222890
222890
  };
222891
222891
  }
222892
- getValidAddFundsFlowParams(params) {
222892
+ getValidAddTokensFlowParams(params) {
222893
222893
  const validatedParams = { ...params };
222894
222894
  if (validatedParams.showBridgeOption) {
222895
222895
  validatedParams.showBridgeOption = true;
@@ -222982,8 +222982,8 @@ class CommerceWidgetRoot extends Base {
222982
222982
  return this.getValidBridgeFlowParams(params);
222983
222983
  case CommerceFlowType.ONRAMP:
222984
222984
  return this.getValidOnRampFlowParams(params);
222985
- case CommerceFlowType.ADD_FUNDS:
222986
- return this.getValidAddFundsFlowParams(params);
222985
+ case CommerceFlowType.ADD_TOKENS:
222986
+ return this.getValidAddTokensFlowParams(params);
222987
222987
  default:
222988
222988
  // eslint-disable-next-line no-console
222989
222989
  console.warn(`[IMTBL]: invalid "flow: ${flowType}" widget input, must be one of the following: ${supportedFlows}`);
@@ -223676,7 +223676,7 @@ var ServiceType;
223676
223676
  (function (ServiceType) {
223677
223677
  ServiceType["SWAP"] = "swap";
223678
223678
  ServiceType["GENERIC"] = "generic";
223679
- ServiceType["ADD_FUNDS"] = "addFunds";
223679
+ ServiceType["ADD_TOKENS"] = "addTokens";
223680
223680
  })(ServiceType || (ServiceType = {}));
223681
223681
 
223682
223682
  function NoServiceHero() {
@@ -225114,29 +225114,29 @@ function sendRequestGoBackEvent(eventTarget, imtblWidgetEvent, eventData) {
225114
225114
  if (eventTarget !== undefined)
225115
225115
  eventTarget.dispatchEvent(requestGoBackEvent);
225116
225116
  }
225117
- function sendRequestAddFundsEvent(eventTarget, imtblWidgetEvent, eventData) {
225117
+ function sendRequestAddTokensEvent(eventTarget, imtblWidgetEvent, eventData) {
225118
225118
  // eslint-disable-next-line max-len
225119
- const requestAddFundsEvent = new CustomEvent(imtblWidgetEvent, {
225119
+ const requestAddTokensEvent = new CustomEvent(imtblWidgetEvent, {
225120
225120
  detail: {
225121
- type: OrchestrationEventType.REQUEST_ADD_FUNDS,
225121
+ type: OrchestrationEventType.REQUEST_ADD_TOKENS,
225122
225122
  data: eventData,
225123
225123
  },
225124
225124
  });
225125
225125
  // TODO: please remove or if necessary keep the eslint ignore
225126
225126
  // eslint-disable-next-line no-console
225127
- console.log('add funds event:', eventTarget, requestAddFundsEvent);
225127
+ console.log('add tokens event:', eventTarget, requestAddTokensEvent);
225128
225128
  if (eventTarget !== undefined)
225129
- eventTarget.dispatchEvent(requestAddFundsEvent);
225129
+ eventTarget.dispatchEvent(requestAddTokensEvent);
225130
225130
  }
225131
225131
  const orchestrationEvents = {
225132
225132
  sendRequestBridgeEvent,
225133
225133
  sendRequestSwapEvent,
225134
225134
  sendRequestOnrampEvent,
225135
225135
  sendRequestGoBackEvent,
225136
- sendRequestAddFundsEvent,
225136
+ sendRequestAddTokensEvent,
225137
225137
  };
225138
225138
 
225139
- const OnRampWidget = React.lazy(() => import('./OnRampWidget-QJuXcGjQ.js').then(function (n) { return n.a; }));
225139
+ const OnRampWidget = React.lazy(() => import('./OnRampWidget-BgIua-mm.js').then(function (n) { return n.a; }));
225140
225140
  class OnRamp extends Base {
225141
225141
  eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
225142
225142
  getValidatedProperties({ config }) {
@@ -225274,7 +225274,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
225274
225274
  eventTarget.dispatchEvent(event);
225275
225275
  };
225276
225276
 
225277
- const SaleWidget = React.lazy(() => import('./SaleWidget-edWOlmfl.js'));
225277
+ const SaleWidget = React.lazy(() => import('./SaleWidget-6eV8QF7G.js'));
225278
225278
  class Sale extends Base {
225279
225279
  eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
225280
225280
  // TODO: add specific validation logic for the sale items
@@ -225478,7 +225478,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
225478
225478
  : serviceUnavailableView) }));
225479
225479
  }
225480
225480
 
225481
- const SwapWidget = React.lazy(() => import('./SwapWidget-gFL-1ypc.js'));
225481
+ const SwapWidget = React.lazy(() => import('./SwapWidget-DoPU0Yzi.js'));
225482
225482
  class Swap extends Base {
225483
225483
  eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
225484
225484
  getValidatedProperties({ config }) {
@@ -225603,7 +225603,7 @@ function sendDisconnectWalletEvent(eventTarget) {
225603
225603
  eventTarget.dispatchEvent(disconnectWalletEvent);
225604
225604
  }
225605
225605
 
225606
- const WalletWidget = React.lazy(() => import('./WalletWidget-DqzlgTAL.js'));
225606
+ const WalletWidget = React.lazy(() => import('./WalletWidget-rl3B0Qxr.js'));
225607
225607
  class Wallet extends Base {
225608
225608
  eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
225609
225609
  getValidatedProperties({ config }) {
@@ -225728,8 +225728,8 @@ class WidgetsFactory {
225728
225728
  provider,
225729
225729
  });
225730
225730
  }
225731
- case WidgetType.ADD_FUNDS: {
225732
- return new AddFunds(this.sdk, {
225731
+ case WidgetType.ADD_TOKENS: {
225732
+ return new AddTokens(this.sdk, {
225733
225733
  config: { ...this.widgetConfig, ...(config) },
225734
225734
  provider,
225735
225735
  });
@@ -225740,4 +225740,4 @@ class WidgetsFactory {
225740
225740
  }
225741
225741
  }
225742
225742
 
225743
- export { getStartingSize as $, useSplitApartChildrenAndSubComponents 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, orchestrationEvents 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, ChangedYourMindDrawer as aD, WalletProviderRdns as aE, getProviderSlugFromRdns as aF, Web3Provider as aG, connectEIP6963Provider as aH, identifyUser as aI, ConnectEIP6963ProviderError as aJ, ProvidersContextActions as aK, ViewContext as aL, commonjsRequire$1 as aM, getRemoteImage as aN, useHandover as aO, HandoverTarget as aP, EventTargetContext as aQ, getRemoteRive as aR, Trans as aS, Link as aT, useInjectedProviders as aU, getDefaultTokenImage as aV, OverflowDrawerMenu as aW, SimpleLayout as aX, TokenFilterTypes as aY, isNativeToken as aZ, getTokenImageByAddress 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, AddFundsEventType as ai, getDefaultExportFromCjs$3 as aj, commonjsGlobal$2 as ak, MenuItem as al, tokenValueFormat as am, DEFAULT_TOKEN_FORMATTING_DECIMALS as an, BigNumber$1 as ao, getRemoteVideo as ap, FramedVideo as aq, motion$1 as ar, listItemVariants as as, Divider as at, Fragment$1 as au, listVariants as av, useProvidersContext as aw, Drawer as ax, useAnalytics as ay, UserJourney as az, ConnectEventType as b, widgetTheme as b$, requireSecp256k1 as b0, requireLib_commonjs as b1, require$$0$3 as b2, bech32 as b3, bnExports$1 as b4, require$$0$2 as b5, getAugmentedNamespace$1 as b6, require$$0$5 as b7, minimalisticAssert$1 as b8, require$$2 as b9, sendSaleSuccessEvent as bA, sendSaleFailedEvent as bB, sendSaleTransactionSuccessEvent as bC, sendSalePaymentMethodEvent as bD, sendSalePaymentTokenEvent as bE, HeaderNavigation as bF, LoadingOverlay as bG, HandoverDuration as bH, isPassportProvider as bI, FooterLogo as bJ, StatusType as bK, prettyFormatNumber as bL, ShimmerCircle as bM, FundingStepType as bN, abbreviateWalletAddress as bO, tokenSymbolNameOverrides as bP, ItemType as bQ, TransactionOrGasType as bR, GasTokenType as bS, RoutingOutcomeType as bT, isGasFree as bU, ConnectLoaderContext as bV, eventTargetReducer as bW, initialEventTargetState as bX, EventTargetActions as bY, ConnectWidgetViews as bZ, ConnectLoaderActions as b_, hash$5 as ba, MaxUint256$5 as bb, merge as bc, SvgIcon as bd, WalletWarningHero as be, Environment$1 as bf, t$7 as bg, PriceDisplay as bh, viewReducer as bi, initialViewState as bj, isValidAddress as bk, amountInputValidation as bl, CloudImage as bm, ServiceUnavailableErrorView as bn, ServiceType as bo, MultiTextShimmer as bp, getCaptionTextStyles as bq, DEFAULT_BODY_PROPS as br, baseTextComponentSx as bs, useConvertSxToEmotionStyles as bt, useGetCurrentSizeClass as bu, cloneElementWithCssProp as bv, compareStr as bw, SalePaymentTypes as bx, calculateCryptoToFiat as by, sendSaleWidgetCloseEvent as bz, CommerceFailureEventType as c, accessListify$1 as c$, BlockExplorerService as c0, axios$1 as c1, CheckoutErrorType as c2, IMMUTABLE_API_BASE_URL as c3, ShimmerBox as c4, PASSPORT_URL as c5, getChainIdBySlug as c6, getChainImage as c7, networkName as c8, useWalletConnect as c9, heroImageStyles as cA, SimpleTextBody as cB, FooterButton as cC, getEthTokenImage as cD, WITHDRAWAL_CLAIM_GAS_LIMIT as cE, BridgeConfiguration as cF, ImmutableConfiguration as cG, TokenBridge as cH, StatusView as cI, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cJ, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cK, ETH_MAINNET_TO_ZKEVM_MAINNET as cL, defineReadOnly$1 as cM, getStatic$1 as cN, Signer$1 as cO, Provider$1 as cP, getAddress$1 as cQ, Logger$2 as cR, getContractAddress$1 as cS, Interface$1 as cT, shallowCopy$1 as cU, VoidSigner$1 as cV, Indexed$1 as cW, deepCopy$1 as cX, isHexString$1 as cY, checkResultErrors$1 as cZ, resolveProperties$1 as c_, isWalletConnectProvider as ca, Logo as cb, RawImage as cc, AXELAR_SCAN_URL as cd, getNativeSymbolByChainSlug as ce, getChainSlugById as cf, JsonRpcProvider$1 as cg, DEFAULT_TRANSACTIONS_RETRY_POLICY as ch, getChainNameById as ci, getWalletProviderNameByProvider as cj, isAddressSanctioned as ck, isMetaMaskProvider as cl, WalletProviderName as cm, ButtonNavigationStyles as cn, formatZeroAmount as co, NATIVE as cp, ETH_TOKEN_SYMBOL as cq, GasEstimateType as cr, DEFAULT_TOKEN_DECIMALS as cs, DEFAULT_QUOTE_REFRESH_INTERVAL as ct, addChainChangedListener as cu, removeChainChangedListener as cv, IMX_TOKEN_SYMBOL as cw, dist as cx, CHECKOUT_CDN_BASE_URL as cy, heroBackGroundStyles as cz, CommerceSuccessEventType as d, applyDestinationMiddleware as d$, arrayify$1 as d0, global$2 as d1, ExchangeType as d2, sendOnRampWidgetCloseEvent as d3, sendOnRampSuccessEvent as d4, sendOnRampFailedEvent as d5, WidgetTheme as d6, quickswapFooterStyles as d7, quickswapFooterLogoStyles as d8, quickswapFooterDisclaimerTextStyles as d9, sortTokensByAmount as dA, sendWalletWidgetCloseEvent as dB, sendDisconnectWalletEvent as dC, FAQS_LINK as dD, useBrowserLayoutEffect as dE, version$r as dF, hexZeroPad$1 as dG, isBigNumberish as dH, isBytes$1 as dI, ne$2 as dJ, se$2 as dK, T$2 as dL, oe$4 as dM, R$5 as dN, a$4 as dO, te$4 as dP, p$9 as dQ, y$6 as dR, __awaiter as dS, __generator as dT, loadScript as dU, getNextIntegrationsURL as dV, unloadScript as dW, __spreadArray$1 as dX, isOffline as dY, __assign as dZ, ContextCancelation as d_, getImxTokenImage as da, Tooltip as db, ESTIMATE_DEBOUNCE as dc, DEFAULT_TOKEN_VALIDATION_DECIMALS as dd, sendSwapWidgetCloseEvent as de, DEFAULT_BALANCE_RETRY_POLICY as df, SwapDirection as dg, sendSwapSuccessEvent as dh, sendSwapFailedEvent as di, sendSwapRejectedEvent as dj, AnimatePresence as dk, getTertiaryButtonStyles as dl, TextInput as dm, FormControlWrapper as dn, Select as dp, DuoCon as dq, heroImageBottomAlign as dr, DEFAULT_BUTTON_SIZE as ds, getResponsiveSx as dt, BUTTON_SIZES as du, setDefaultSxBackgroundColor as dv, ZERO_BALANCE_STRING as dw, sendNetworkSwitchEvent as dx, NetworkFilterTypes as dy, sortNetworksCompareFn as dz, CommerceUserActionEventType as e, dist$1 as e0, isServer as e1, mergedOptions as e2, isPlainObject as e3, pWhile as e4, PriorityQueue as e5, PersistedPriorityQueue as e6, attempt as e7, isOnline as e8, Context as e9, pTimeout as ea, gracefulDecodeURIComponent as eb, WidgetsFactory as ec, SaleEventType as f, OrchestrationEventType as g, getL2ChainId as h, getL1ChainId as i, jsx$1 as j, ChainId as k, useTranslation as l, useViewState as m, useEventTargetState as n, SharedViews as o, commerceFlows as p, jsxs as q, reactExports as r, ConnectWidget as s, ProvidersContextProvider as t, useConnectLoaderState as u, ConnectLoader as v, ViewContextProvider as w, useTheme as x, useForwardLocalDomRef as y, useGetSubcomponentChild as z };
225743
+ export { getStartingSize as $, useSplitApartChildrenAndSubComponents 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, orchestrationEvents 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, ChangedYourMindDrawer as aD, WalletProviderRdns as aE, getProviderSlugFromRdns as aF, Web3Provider as aG, connectEIP6963Provider as aH, identifyUser as aI, ConnectEIP6963ProviderError as aJ, ProvidersContextActions as aK, ViewContext as aL, commonjsRequire$1 as aM, getRemoteImage as aN, useHandover as aO, HandoverTarget as aP, EventTargetContext as aQ, getRemoteRive as aR, Trans as aS, Link as aT, useInjectedProviders as aU, getDefaultTokenImage as aV, OverflowDrawerMenu as aW, SimpleLayout as aX, TokenFilterTypes as aY, isNativeToken as aZ, getTokenImageByAddress 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, AddTokensEventType as ai, getDefaultExportFromCjs$3 as aj, commonjsGlobal$2 as ak, MenuItem as al, tokenValueFormat as am, DEFAULT_TOKEN_FORMATTING_DECIMALS as an, BigNumber$1 as ao, getRemoteVideo as ap, FramedVideo as aq, motion$1 as ar, listItemVariants as as, Divider as at, Fragment$1 as au, listVariants as av, useProvidersContext as aw, Drawer as ax, useAnalytics as ay, UserJourney as az, ConnectEventType as b, widgetTheme as b$, requireSecp256k1 as b0, requireLib_commonjs as b1, require$$0$3 as b2, bech32 as b3, bnExports$1 as b4, require$$0$2 as b5, getAugmentedNamespace$1 as b6, require$$0$5 as b7, minimalisticAssert$1 as b8, require$$2 as b9, sendSaleSuccessEvent as bA, sendSaleFailedEvent as bB, sendSaleTransactionSuccessEvent as bC, sendSalePaymentMethodEvent as bD, sendSalePaymentTokenEvent as bE, HeaderNavigation as bF, LoadingOverlay as bG, HandoverDuration as bH, isPassportProvider as bI, FooterLogo as bJ, StatusType as bK, prettyFormatNumber as bL, ShimmerCircle as bM, FundingStepType as bN, abbreviateWalletAddress as bO, tokenSymbolNameOverrides as bP, ItemType as bQ, TransactionOrGasType as bR, GasTokenType as bS, RoutingOutcomeType as bT, isGasFree as bU, ConnectLoaderContext as bV, eventTargetReducer as bW, initialEventTargetState as bX, EventTargetActions as bY, ConnectWidgetViews as bZ, ConnectLoaderActions as b_, hash$5 as ba, MaxUint256$5 as bb, merge as bc, SvgIcon as bd, WalletWarningHero as be, Environment$1 as bf, t$7 as bg, PriceDisplay as bh, viewReducer as bi, initialViewState as bj, isValidAddress as bk, amountInputValidation as bl, CloudImage as bm, ServiceUnavailableErrorView as bn, ServiceType as bo, MultiTextShimmer as bp, getCaptionTextStyles as bq, DEFAULT_BODY_PROPS as br, baseTextComponentSx as bs, useConvertSxToEmotionStyles as bt, useGetCurrentSizeClass as bu, cloneElementWithCssProp as bv, compareStr as bw, SalePaymentTypes as bx, calculateCryptoToFiat as by, sendSaleWidgetCloseEvent as bz, CommerceFailureEventType as c, accessListify$1 as c$, BlockExplorerService as c0, axios$1 as c1, CheckoutErrorType as c2, IMMUTABLE_API_BASE_URL as c3, ShimmerBox as c4, PASSPORT_URL as c5, getChainIdBySlug as c6, getChainImage as c7, networkName as c8, useWalletConnect as c9, heroImageStyles as cA, SimpleTextBody as cB, FooterButton as cC, getEthTokenImage as cD, WITHDRAWAL_CLAIM_GAS_LIMIT as cE, BridgeConfiguration as cF, ImmutableConfiguration as cG, TokenBridge as cH, StatusView as cI, ETH_SEPOLIA_TO_ZKEVM_TESTNET as cJ, ETH_SEPOLIA_TO_ZKEVM_DEVNET as cK, ETH_MAINNET_TO_ZKEVM_MAINNET as cL, defineReadOnly$1 as cM, getStatic$1 as cN, Signer$1 as cO, Provider$1 as cP, getAddress$1 as cQ, Logger$2 as cR, getContractAddress$1 as cS, Interface$1 as cT, shallowCopy$1 as cU, VoidSigner$1 as cV, Indexed$1 as cW, deepCopy$1 as cX, isHexString$1 as cY, checkResultErrors$1 as cZ, resolveProperties$1 as c_, isWalletConnectProvider as ca, Logo as cb, RawImage as cc, AXELAR_SCAN_URL as cd, getNativeSymbolByChainSlug as ce, getChainSlugById as cf, JsonRpcProvider$1 as cg, DEFAULT_TRANSACTIONS_RETRY_POLICY as ch, getChainNameById as ci, getWalletProviderNameByProvider as cj, isAddressSanctioned as ck, isMetaMaskProvider as cl, WalletProviderName as cm, ButtonNavigationStyles as cn, formatZeroAmount as co, NATIVE as cp, ETH_TOKEN_SYMBOL as cq, GasEstimateType as cr, DEFAULT_TOKEN_DECIMALS as cs, DEFAULT_QUOTE_REFRESH_INTERVAL as ct, addChainChangedListener as cu, removeChainChangedListener as cv, IMX_TOKEN_SYMBOL as cw, dist as cx, CHECKOUT_CDN_BASE_URL as cy, heroBackGroundStyles as cz, CommerceSuccessEventType as d, applyDestinationMiddleware as d$, arrayify$1 as d0, global$2 as d1, ExchangeType as d2, sendOnRampWidgetCloseEvent as d3, sendOnRampSuccessEvent as d4, sendOnRampFailedEvent as d5, WidgetTheme as d6, quickswapFooterStyles as d7, quickswapFooterLogoStyles as d8, quickswapFooterDisclaimerTextStyles as d9, sortTokensByAmount as dA, sendWalletWidgetCloseEvent as dB, sendDisconnectWalletEvent as dC, FAQS_LINK as dD, useBrowserLayoutEffect as dE, version$r as dF, hexZeroPad$1 as dG, isBigNumberish as dH, isBytes$1 as dI, ne$2 as dJ, se$2 as dK, T$2 as dL, oe$4 as dM, R$5 as dN, a$4 as dO, te$4 as dP, p$9 as dQ, y$6 as dR, __awaiter as dS, __generator as dT, loadScript as dU, getNextIntegrationsURL as dV, unloadScript as dW, __spreadArray$1 as dX, isOffline as dY, __assign as dZ, ContextCancelation as d_, getImxTokenImage as da, Tooltip as db, ESTIMATE_DEBOUNCE as dc, DEFAULT_TOKEN_VALIDATION_DECIMALS as dd, sendSwapWidgetCloseEvent as de, DEFAULT_BALANCE_RETRY_POLICY as df, SwapDirection as dg, sendSwapSuccessEvent as dh, sendSwapFailedEvent as di, sendSwapRejectedEvent as dj, AnimatePresence as dk, getTertiaryButtonStyles as dl, TextInput as dm, FormControlWrapper as dn, Select as dp, DuoCon as dq, heroImageBottomAlign as dr, DEFAULT_BUTTON_SIZE as ds, getResponsiveSx as dt, BUTTON_SIZES as du, setDefaultSxBackgroundColor as dv, ZERO_BALANCE_STRING as dw, sendNetworkSwitchEvent as dx, NetworkFilterTypes as dy, sortNetworksCompareFn as dz, CommerceUserActionEventType as e, dist$1 as e0, isServer as e1, mergedOptions as e2, isPlainObject as e3, pWhile as e4, PriorityQueue as e5, PersistedPriorityQueue as e6, attempt as e7, isOnline as e8, Context as e9, pTimeout as ea, gracefulDecodeURIComponent as eb, WidgetsFactory as ec, SaleEventType as f, OrchestrationEventType as g, getL2ChainId as h, getL1ChainId as i, jsx$1 as j, ChainId as k, useTranslation as l, useViewState as m, useEventTargetState as n, SharedViews as o, commerceFlows as p, jsxs as q, reactExports as r, ConnectWidget as s, ProvidersContextProvider as t, useConnectLoaderState as u, ConnectLoader as v, ViewContextProvider as w, useTheme as x, useForwardLocalDomRef as y, useGetSubcomponentChild as z };
@@ -1,4 +1,4 @@
1
- import { aj as getDefaultExportFromCjs } from './index-DvBzy5DX.js';
1
+ import { aj as getDefaultExportFromCjs } from './index-veWeUrkn.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,4 +1,4 @@
1
- import { r as reactExports, aV as getDefaultTokenImage, j as jsx } from './index-DvBzy5DX.js';
1
+ import { r as reactExports, aV as getDefaultTokenImage, j as jsx } from './index-veWeUrkn.js';
2
2
 
3
3
  function TokenImage({ src, name, environment, theme, defaultImage, ...forwardedProps }) {
4
4
  const [error, setError] = reactExports.useState(false);