@imtbl/checkout-widgets 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/browser/{AddTokensWidget-C32-7Pge.js → AddTokensWidget-smU6E1HL.js} +3 -3
  2. package/dist/browser/{BridgeWidget-DHmmZrLe.js → BridgeWidget-BLhoD-g_.js} +6 -6
  3. package/dist/browser/{CommerceWidget-DinG6S2H.js → CommerceWidget-BIw52c7d.js} +13 -13
  4. package/dist/browser/{FeesBreakdown-CVvm1-Ei.js → FeesBreakdown-C266J2ZS.js} +1 -1
  5. package/dist/browser/{OnRampWidget-B54_6G-f.js → OnRampWidget-rQOvV5pr.js} +3 -3
  6. package/dist/browser/{SaleWidget-Cuen5aW7.js → SaleWidget-W1opeBS6.js} +10 -10
  7. package/dist/browser/{SpendingCapHero-DQtmoqNL.js → SpendingCapHero-DYvmyU7U.js} +1 -1
  8. package/dist/browser/{SwapWidget-j_nEgqk4.js → SwapWidget-C6nx0Q9I.js} +7 -7
  9. package/dist/browser/{TokenImage-Bc62Xkzv.js → TokenImage-CE84mZbs.js} +1 -1
  10. package/dist/browser/{TopUpView-Q4_Glu5-.js → TopUpView-BGc-kNFd.js} +1 -1
  11. package/dist/browser/{WalletApproveHero-B6YvvCmA.js → WalletApproveHero-BuNIZ5Qn.js} +3 -3
  12. package/dist/browser/{WalletWidget-B0Up4Cre.js → WalletWidget-DtDJPR8s.js} +3 -3
  13. package/dist/browser/{auto-track-CaL-84Ic.js → auto-track-JOjroBI7.js} +1 -1
  14. package/dist/browser/{index-BI7vXlHL.js → index-B34KMwoF.js} +1 -1
  15. package/dist/browser/{index-BVzeDoH7.js → index-BelCgvGe.js} +1 -1
  16. package/dist/browser/{index-Hh-ME3UA.js → index-C-YvdgBA.js} +1 -1
  17. package/dist/browser/{index-CBO9u-8Q.js → index-CgtzAiRl.js} +1 -1
  18. package/dist/browser/{index-JHffH8Bm.js → index-D92YAIQ_.js} +1 -1
  19. package/dist/browser/{index-BtnAkpe9.js → index-Dxxx1Plc.js} +1 -1
  20. package/dist/browser/{index-Skcajiao.js → index-QbUM4Iz2.js} +53 -61
  21. package/dist/browser/{index-Cl7BUGHV.js → index-dG6IYZLA.js} +2 -2
  22. package/dist/browser/index.cdn.js +1 -1
  23. package/dist/browser/index.js +1 -1
  24. package/dist/browser/{index.umd-C0PZl9Xk.js → index.umd-CoqdQtVC.js} +1 -1
  25. package/dist/browser/{useInterval-D2CM0YwW.js → useInterval-CS_M5Mzm.js} +1 -1
  26. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
- import { r as reactExports, u as uo, k as ko, v as commonjsGlobal, x as getDefaultExportFromCjs, l as jsx, n as jsxs, B as Box, c as useTranslation, D as Drawer, z as Divider, H as Heading, F as Button, G as useProvidersContext, K as useAnalytics, W as WalletDrawer, U as UnableToConnectDrawer, M as Fragment, N as jt, Q as UserJourney, X as removeSpace, Y as getProviderSlugFromRdns, Z as W, _ as isPassportProvider, $ as connectEIP6963Provider, a0 as identifyUser, a1 as ConnectEIP6963ProviderError, a2 as ProvidersContextActions, a3 as MenuItem, a4 as SQUID_NATIVE_TOKEN, J, a5 as commonjsRequire, a6 as getRemoteImage, a7 as vFlex, a8 as OnboardingPagination, a9 as ViewContext, aa as useHandover, ab as HandoverTarget, ac as EventTargetContext, V as ViewActions, ad as getRemoteRive, ae as APPROVE_TXN_ANIMATION, af as RiveStateMachineInput, ag as HandoverContent, ah as keyframes, ai as getDefaultTokenImage, aj as ie, a as getL2ChainId, ak as isNativeToken, al as getTokenImageByAddress, am as TOKEN_PRIORITY_ORDER, an as SmartClone, ao as FramedImage, ap as FramedIcon, aq as ButtCon, ar as TextInput, as as VerticalMenu, at as Body, au as EllipsizedText, av as Tooltip, aw as Sticker, ax as getDurationFormatted, ay as getTotalRouteFees, az as getRouteAndTokenBalances, aA as Stack, aB as hFlex, aC as centerFlexChildren, aD as Icon, aE as Badge, aF as getFormattedAmounts, aG as getRemoteVideo, aH as FramedVideo, aI as listVariants, aJ as motion, aK as listItemVariants, aL as Banner, aM as xt, aN as Bt, aO as useRoutes, aP as useInjectedProviders, aQ as hn, aR as RouteError, aS as HeroFormControl, aT as SimpleLayout, aU as dist, i as SharedViews, aV as orchestrationEvents, aW as HeroTextInput, aX as SquidFooter, aY as TOOLKIT_SQUID_URL, aZ as merge, a_ as SvgIcon, a$ as WalletWarningHero, b0 as getFormattedNumber, b1 as FIXED_HANDOVER_DURATION, b2 as EXECUTE_TXN_ANIMATION, b3 as Link, b4 as Trans, b5 as useExecute, b6 as getRouteChains, b7 as t, b8 as convertToNetworkChangeableProvider, b9 as verifyAndSwitchChain, ba as PriceDisplay, L as LoadingView, bb as useTheme, bc as viewReducer, bd as initialViewState, be as useSquid, bf as useTokens, bg as v4, bh as K, bi as isValidAddress, bj as amountInputValidation, bk as fetchChains, bl as fetchBalances, bm as CloudImage, o as ErrorView, bn as ServiceUnavailableErrorView } from './index-Skcajiao.js';
2
- import { T as TokenImage } from './TokenImage-Bc62Xkzv.js';
3
- import { F as FeesBreakdown } from './FeesBreakdown-CVvm1-Ei.js';
1
+ import { r as reactExports, u as uo, k as ko, v as commonjsGlobal, x as getDefaultExportFromCjs, l as jsx, n as jsxs, B as Box, c as useTranslation, D as Drawer, z as Divider, H as Heading, F as Button, G as useProvidersContext, K as useAnalytics, W as WalletDrawer, U as UnableToConnectDrawer, M as Fragment, N as jt, Q as UserJourney, X as removeSpace, Y as getProviderSlugFromRdns, Z as W, _ as isPassportProvider, $ as connectEIP6963Provider, a0 as identifyUser, a1 as ConnectEIP6963ProviderError, a2 as ProvidersContextActions, a3 as MenuItem, a4 as SQUID_NATIVE_TOKEN, J, a5 as commonjsRequire, a6 as getRemoteImage, a7 as vFlex, a8 as OnboardingPagination, a9 as ViewContext, aa as useHandover, ab as HandoverTarget, ac as EventTargetContext, V as ViewActions, ad as getRemoteRive, ae as APPROVE_TXN_ANIMATION, af as RiveStateMachineInput, ag as HandoverContent, ah as keyframes, ai as getDefaultTokenImage, aj as ie, a as getL2ChainId, ak as isNativeToken, al as getTokenImageByAddress, am as TOKEN_PRIORITY_ORDER, an as SmartClone, ao as FramedImage, ap as FramedIcon, aq as ButtCon, ar as TextInput, as as VerticalMenu, at as Body, au as EllipsizedText, av as Tooltip, aw as Sticker, ax as getDurationFormatted, ay as getTotalRouteFees, az as getRouteAndTokenBalances, aA as Stack, aB as hFlex, aC as centerFlexChildren, aD as Icon, aE as Badge, aF as getFormattedAmounts, aG as getRemoteVideo, aH as FramedVideo, aI as listVariants, aJ as motion, aK as listItemVariants, aL as Banner, aM as xt, aN as Bt, aO as useRoutes, aP as useInjectedProviders, aQ as hn, aR as RouteError, aS as HeroFormControl, aT as SimpleLayout, aU as dist, i as SharedViews, aV as orchestrationEvents, aW as HeroTextInput, aX as SquidFooter, aY as TOOLKIT_SQUID_URL, aZ as merge, a_ as SvgIcon, a$ as WalletWarningHero, b0 as getFormattedNumber, b1 as FIXED_HANDOVER_DURATION, b2 as EXECUTE_TXN_ANIMATION, b3 as Link, b4 as Trans, b5 as useExecute, b6 as getRouteChains, b7 as t, b8 as convertToNetworkChangeableProvider, b9 as verifyAndSwitchChain, ba as PriceDisplay, L as LoadingView, bb as useTheme, bc as viewReducer, bd as initialViewState, be as useSquid, bf as useTokens, bg as v4, bh as K, bi as isValidAddress, bj as amountInputValidation, bk as fetchChains, bl as fetchBalances, bm as CloudImage, o as ErrorView, bn as ServiceUnavailableErrorView } from './index-QbUM4Iz2.js';
2
+ import { T as TokenImage } from './TokenImage-CE84mZbs.js';
3
+ import { F as FeesBreakdown } from './FeesBreakdown-C266J2ZS.js';
4
4
 
5
5
  /**
6
6
  * The function `useInterval` sets up an interval that repeatedly calls a given callback function with
@@ -1,9 +1,9 @@
1
- import { c3 as axios, c4 as k, c5 as q, r as reactExports, u as uo, T as To, n as jsxs, l as jsx, c6 as ShimmerBox, a3 as MenuItem, aA as Stack, c as useTranslation, at as Body, F as Button, B as Box, c7 as PASSPORT_URL, b3 as Link, c8 as getChainIdBySlug, c9 as getChainImage, ca as networkName, ao as FramedImage, au as EllipsizedText, aD as Icon, K as useAnalytics, Q as UserJourney, cb as Accordion, z as Divider, a9 as ViewContext, M as Fragment, V as ViewActions, cc as useWalletConnect, cd as isWalletConnectProvider, ce as Logo, cf as RawImage, bU as CryptoFiatContext, cg as AXELAR_SCAN_URL, ak as isNativeToken, al as getTokenImageByAddress, ch as getNativeSymbolByChainSlug, bM as formatUnits, bt as calculateCryptoToFiat, ac as EventTargetContext, _ as isPassportProvider, b as getL1ChainId, aj as ie, a as getL2ChainId, N as jt, Z as W, aP as useInjectedProviders, ci as retry, bC as HeaderNavigation, bF as FooterLogo, W as WalletDrawer, aT as SimpleLayout, cj as getChainSlugById, ck as JsonRpcProvider, b$ as CryptoFiatActions, cl as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, J, cm as getChainNameById, bb as useTheme, H as Heading, cn as getWalletProviderNameByProvider, co as isMetaMaskProvider, cp as me, D as Drawer, aq as ButtCon, cq as ButtonNavigationStyles, aV as orchestrationEvents, bI as tokenValueFormat, cr as formatZeroAmount, cs as NATIVE, aM as xt, bj as amountInputValidation, a6 as getRemoteImage, bm as CloudImage, ct as ETH_TOKEN_SYMBOL, bo as Contract, bh as K, cu as parseUnits, cv as st, cw as DEFAULT_TOKEN_DECIMALS, cx as DEFAULT_QUOTE_REFRESH_INTERVAL, cy as addChainChangedListener, cz as removeChainChangedListener, aN as Bt, cA as IMX_TOKEN_SYMBOL, i as SharedViews, cB as dist, cC as CHECKOUT_CDN_BASE_URL, cD as heroBackGroundStyles, cE as heroImageStyles, aE as Badge, cF as SimpleTextBody, cG as FooterButton, cH as getEthTokenImage, cI as WITHDRAWAL_CLAIM_GAS_LIMIT, cJ as Ct, ai as getDefaultTokenImage, bc as viewReducer, bd as initialViewState, cK as Qe, cL as r, cM as $e, cN as StatusView, bG as StatusType, o as ErrorView, bn as ServiceUnavailableErrorView, c2 as CryptoFiatProvider, cO as O, cP as $, cQ as P } from './index-Skcajiao.js';
2
- import { T as TokenImage } from './TokenImage-Bc62Xkzv.js';
3
- import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-Q4_Glu5-.js';
4
- import { S as SelectForm, T as TextInputForm, a as TransactionRejected, g as getAllowedBalances, F as Fees, N as NetworkSwitchDrawer, W as WalletApproveHero } from './WalletApproveHero-B6YvvCmA.js';
5
- import { u as useInterval } from './useInterval-D2CM0YwW.js';
6
- import './FeesBreakdown-CVvm1-Ei.js';
1
+ import { c3 as axios, c4 as k, c5 as q, r as reactExports, u as uo, T as To, n as jsxs, l as jsx, c6 as ShimmerBox, a3 as MenuItem, aA as Stack, c as useTranslation, at as Body, F as Button, B as Box, c7 as PASSPORT_URL, b3 as Link, c8 as getChainIdBySlug, c9 as getChainImage, ca as networkName, ao as FramedImage, au as EllipsizedText, aD as Icon, K as useAnalytics, Q as UserJourney, cb as Accordion, z as Divider, a9 as ViewContext, M as Fragment, V as ViewActions, cc as useWalletConnect, cd as isWalletConnectProvider, ce as Logo, cf as RawImage, bU as CryptoFiatContext, cg as AXELAR_SCAN_URL, ak as isNativeToken, al as getTokenImageByAddress, ch as getNativeSymbolByChainSlug, bM as formatUnits, bt as calculateCryptoToFiat, ac as EventTargetContext, _ as isPassportProvider, b as getL1ChainId, aj as ie, a as getL2ChainId, N as jt, Z as W, aP as useInjectedProviders, ci as retry, bC as HeaderNavigation, bF as FooterLogo, W as WalletDrawer, aT as SimpleLayout, cj as getChainSlugById, ck as JsonRpcProvider, b$ as CryptoFiatActions, cl as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, J, cm as getChainNameById, bb as useTheme, H as Heading, cn as getWalletProviderNameByProvider, co as isMetaMaskProvider, cp as me, D as Drawer, aq as ButtCon, cq as ButtonNavigationStyles, aV as orchestrationEvents, bI as tokenValueFormat, cr as formatZeroAmount, cs as NATIVE, aM as xt, bj as amountInputValidation, a6 as getRemoteImage, bm as CloudImage, ct as ETH_TOKEN_SYMBOL, bo as Contract, bh as K, cu as parseUnits, cv as st, cw as DEFAULT_TOKEN_DECIMALS, cx as DEFAULT_QUOTE_REFRESH_INTERVAL, cy as addChainChangedListener, cz as removeChainChangedListener, aN as Bt, cA as IMX_TOKEN_SYMBOL, i as SharedViews, cB as dist, cC as CHECKOUT_CDN_BASE_URL, cD as heroBackGroundStyles, cE as heroImageStyles, aE as Badge, cF as SimpleTextBody, cG as FooterButton, cH as getEthTokenImage, cI as WITHDRAWAL_CLAIM_GAS_LIMIT, cJ as Ct, ai as getDefaultTokenImage, bc as viewReducer, bd as initialViewState, cK as Qe, cL as r, cM as $e, cN as StatusView, bG as StatusType, o as ErrorView, bn as ServiceUnavailableErrorView, c2 as CryptoFiatProvider, cO as O, cP as $, cQ as P } from './index-QbUM4Iz2.js';
2
+ import { T as TokenImage } from './TokenImage-CE84mZbs.js';
3
+ import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-BGc-kNFd.js';
4
+ import { S as SelectForm, T as TextInputForm, a as TransactionRejected, g as getAllowedBalances, F as Fees, N as NetworkSwitchDrawer, W as WalletApproveHero } from './WalletApproveHero-BuNIZ5Qn.js';
5
+ import { u as useInterval } from './useInterval-CS_M5Mzm.js';
6
+ import './FeesBreakdown-C266J2ZS.js';
7
7
 
8
8
  // This module is intended to unwrap Axios default export as named.
9
9
  // Keep top-level export same with static properties
@@ -1,16 +1,16 @@
1
- import { u as uo, O as Oo, m as mo, y as yo, g as go, w as wo, A as Ao, f as fo, P as Po, E as Eo, k as ko, T as To, h as ho, R as Ro, S as So, I as Io, r as reactExports, V as ViewActions, a as getL2ChainId, b as getL1ChainId, J, c as useTranslation, d as useViewState, e as useEventTargetState, i as SharedViews, j as commerceFlows, l as jsx, n as jsxs, L as LoadingView, o as ErrorView, C as ConnectWidget, p as ProvidersContextProvider, q as PurchaseWidget, s as ConnectLoader, t as ViewContextProvider } from './index-Skcajiao.js';
2
- import SwapWidget from './SwapWidget-j_nEgqk4.js';
3
- import BridgeWidget from './BridgeWidget-DHmmZrLe.js';
4
- import OnRampWidget from './OnRampWidget-B54_6G-f.js';
5
- import WalletWidget from './WalletWidget-B0Up4Cre.js';
6
- import SaleWidget from './SaleWidget-Cuen5aW7.js';
7
- import AddTokensWidget from './AddTokensWidget-C32-7Pge.js';
8
- import './WalletApproveHero-B6YvvCmA.js';
9
- import './TokenImage-Bc62Xkzv.js';
10
- import './FeesBreakdown-CVvm1-Ei.js';
11
- import './useInterval-D2CM0YwW.js';
12
- import './TopUpView-Q4_Glu5-.js';
13
- import './SpendingCapHero-DQtmoqNL.js';
1
+ import { u as uo, O as Oo, m as mo, y as yo, g as go, w as wo, A as Ao, f as fo, P as Po, E as Eo, k as ko, T as To, h as ho, R as Ro, S as So, I as Io, r as reactExports, V as ViewActions, a as getL2ChainId, b as getL1ChainId, J, c as useTranslation, d as useViewState, e as useEventTargetState, i as SharedViews, j as commerceFlows, l as jsx, n as jsxs, L as LoadingView, o as ErrorView, C as ConnectWidget, p as ProvidersContextProvider, q as PurchaseWidget, s as ConnectLoader, t as ViewContextProvider } from './index-QbUM4Iz2.js';
2
+ import SwapWidget from './SwapWidget-C6nx0Q9I.js';
3
+ import BridgeWidget from './BridgeWidget-BLhoD-g_.js';
4
+ import OnRampWidget from './OnRampWidget-rQOvV5pr.js';
5
+ import WalletWidget from './WalletWidget-DtDJPR8s.js';
6
+ import SaleWidget from './SaleWidget-W1opeBS6.js';
7
+ import AddTokensWidget from './AddTokensWidget-smU6E1HL.js';
8
+ import './WalletApproveHero-BuNIZ5Qn.js';
9
+ import './TokenImage-CE84mZbs.js';
10
+ import './FeesBreakdown-C266J2ZS.js';
11
+ import './useInterval-CS_M5Mzm.js';
12
+ import './TopUpView-BGc-kNFd.js';
13
+ import './SpendingCapHero-DYvmyU7U.js';
14
14
 
15
15
  const sendCheckoutEvent = (eventTarget, detail) => {
16
16
  const event = new CustomEvent(uo.IMTBL_COMMERCE_WIDGET_EVENT, { detail });
@@ -1,4 +1,4 @@
1
- import { n as jsxs, l as jsx, at as Body, ba as PriceDisplay, B as Box, c as useTranslation, D as Drawer, a3 as MenuItem, M as Fragment, z as Divider, bI as tokenValueFormat, cr as formatZeroAmount, bF as FooterLogo } from './index-Skcajiao.js';
1
+ import { n as jsxs, l as jsx, at as Body, ba as PriceDisplay, B as Box, c as useTranslation, D as Drawer, a3 as MenuItem, M as Fragment, z as Divider, bI as tokenValueFormat, cr as formatZeroAmount, bF as FooterLogo } from './index-QbUM4Iz2.js';
2
2
 
3
3
  const feesBreakdownContentStyles = {
4
4
  display: 'flex',
@@ -1,6 +1,6 @@
1
- import { r as reactExports, bV as ConnectLoaderContext, ac as EventTargetContext, c as useTranslation, a9 as ViewContext, _ as isPassportProvider, i as SharedViews, K as useAnalytics, aM as xt, aN as Bt, V as ViewActions, cR as Kt, l as jsx, aT as SimpleLayout, bC as HeaderNavigation, cS as sendOnRampWidgetCloseEvent, aV as orchestrationEvents, u as uo, B as Box, cT as url, cU as TRANSAK_ORIGIN, Q as UserJourney, bF as FooterLogo, n as jsxs, cF as SimpleTextBody, bc as viewReducer, bd as initialViewState, cs as NATIVE, L as LoadingView, cV as sendOnRampSuccessEvent, bG as StatusType, cN as StatusView, cW as sendOnRampFailedEvent, bn as ServiceUnavailableErrorView } from './index-Skcajiao.js';
2
- import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-Q4_Glu5-.js';
3
- import { S as SpendingCapHero } from './SpendingCapHero-DQtmoqNL.js';
1
+ import { r as reactExports, bV as ConnectLoaderContext, ac as EventTargetContext, c as useTranslation, a9 as ViewContext, _ as isPassportProvider, i as SharedViews, K as useAnalytics, aM as xt, aN as Bt, V as ViewActions, cR as Kt, l as jsx, aT as SimpleLayout, bC as HeaderNavigation, cS as sendOnRampWidgetCloseEvent, aV as orchestrationEvents, u as uo, B as Box, cT as url, cU as TRANSAK_ORIGIN, Q as UserJourney, bF as FooterLogo, n as jsxs, cF as SimpleTextBody, bc as viewReducer, bd as initialViewState, cs as NATIVE, L as LoadingView, cV as sendOnRampSuccessEvent, bG as StatusType, cN as StatusView, cW as sendOnRampFailedEvent, bn as ServiceUnavailableErrorView } from './index-QbUM4Iz2.js';
2
+ import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-BGc-kNFd.js';
3
+ import { S as SpendingCapHero } from './SpendingCapHero-DYvmyU7U.js';
4
4
 
5
5
  const containerStyle = (showIframe) => ({
6
6
  position: 'relative',
@@ -1,13 +1,13 @@
1
- import { bh as K, bo as Contract, r as reactExports, bp as hexToText, bq as compareStr, a9 as ViewContext, V as ViewActions, aM as xt, l as jsx, br as Co, c as useTranslation, bs as TransakIframe, bt as calculateCryptoToFiat, K as useAnalytics, ac as EventTargetContext, Q as UserJourney, bu as toPascalCase, bv as sendSaleWidgetCloseEvent, bw as toStringifyTransactions, bx as sendSaleSuccessEvent, by as sendSaleFailedEvent, bz as sendSaleTransactionSuccessEvent, bA as sendSalePaymentMethodEvent, bB as sendSalePaymentTokenEvent, bC as HeaderNavigation, n as jsxs, bD as LoadingOverlay, B as Box, M as Fragment, aT as SimpleLayout, aa as useHandover, ab as HandoverTarget, ad as getRemoteRive, H as Heading, bE as HandoverDuration, _ as isPassportProvider, ag as HandoverContent, a3 as MenuItem, aJ as motion, aI as listVariants, aK as listItemVariants, aN as Bt, i as SharedViews, bF as FooterLogo, bG as StatusType, bH as prettyFormatNumber, bI as tokenValueFormat, bJ as ShimmerCircle, F as Button, aA as Stack, bK as Re, bL as abbreviateWalletAddress, bM as formatUnits, D as Drawer, bN as Caption, z as Divider, bO as tokenSymbolNameOverrides, bP as b, bQ as fe, bR as Ee, bS as ct, ak as isNativeToken, al as getTokenImageByAddress, bT as isGasFree, bU as CryptoFiatContext, bV as ConnectLoaderContext, bW as eventTargetReducer, bX as initialEventTargetState, b as getL1ChainId, a as getL2ChainId, u as uo, bY as EventTargetActions, L as LoadingView, J, bZ as ConnectWidgetViews, C as ConnectWidget, E as Eo, h as ho, T as To, g as go, b_ as ConnectLoaderActions, b$ as CryptoFiatActions, aq as ButtCon, at as Body, c0 as widgetTheme, bc as viewReducer, bd as initialViewState, c1 as et, bn as ServiceUnavailableErrorView, c2 as CryptoFiatProvider } from './index-Skcajiao.js';
2
- import { u as useMount, T as TopUpView } from './TopUpView-Q4_Glu5-.js';
3
- import { T as TokenImage } from './TokenImage-Bc62Xkzv.js';
4
- import { F as Fees } from './WalletApproveHero-B6YvvCmA.js';
5
- import BridgeWidget from './BridgeWidget-DHmmZrLe.js';
6
- import OnRampWidget from './OnRampWidget-B54_6G-f.js';
7
- import SwapWidget from './SwapWidget-j_nEgqk4.js';
8
- import './FeesBreakdown-CVvm1-Ei.js';
9
- import './useInterval-D2CM0YwW.js';
10
- import './SpendingCapHero-DQtmoqNL.js';
1
+ import { bh as K, bo as Contract, r as reactExports, bp as hexToText, bq as compareStr, a9 as ViewContext, V as ViewActions, aM as xt, l as jsx, br as Co, c as useTranslation, bs as TransakIframe, bt as calculateCryptoToFiat, K as useAnalytics, ac as EventTargetContext, Q as UserJourney, bu as toPascalCase, bv as sendSaleWidgetCloseEvent, bw as toStringifyTransactions, bx as sendSaleSuccessEvent, by as sendSaleFailedEvent, bz as sendSaleTransactionSuccessEvent, bA as sendSalePaymentMethodEvent, bB as sendSalePaymentTokenEvent, bC as HeaderNavigation, n as jsxs, bD as LoadingOverlay, B as Box, M as Fragment, aT as SimpleLayout, aa as useHandover, ab as HandoverTarget, ad as getRemoteRive, H as Heading, bE as HandoverDuration, _ as isPassportProvider, ag as HandoverContent, a3 as MenuItem, aJ as motion, aI as listVariants, aK as listItemVariants, aN as Bt, i as SharedViews, bF as FooterLogo, bG as StatusType, bH as prettyFormatNumber, bI as tokenValueFormat, bJ as ShimmerCircle, F as Button, aA as Stack, bK as Re, bL as abbreviateWalletAddress, bM as formatUnits, D as Drawer, bN as Caption, z as Divider, bO as tokenSymbolNameOverrides, bP as b, bQ as fe, bR as Ee, bS as ct, ak as isNativeToken, al as getTokenImageByAddress, bT as isGasFree, bU as CryptoFiatContext, bV as ConnectLoaderContext, bW as eventTargetReducer, bX as initialEventTargetState, b as getL1ChainId, a as getL2ChainId, u as uo, bY as EventTargetActions, L as LoadingView, J, bZ as ConnectWidgetViews, C as ConnectWidget, E as Eo, h as ho, T as To, g as go, b_ as ConnectLoaderActions, b$ as CryptoFiatActions, aq as ButtCon, at as Body, c0 as widgetTheme, bc as viewReducer, bd as initialViewState, c1 as et, bn as ServiceUnavailableErrorView, c2 as CryptoFiatProvider } from './index-QbUM4Iz2.js';
2
+ import { u as useMount, T as TopUpView } from './TopUpView-BGc-kNFd.js';
3
+ import { T as TokenImage } from './TokenImage-CE84mZbs.js';
4
+ import { F as Fees } from './WalletApproveHero-BuNIZ5Qn.js';
5
+ import BridgeWidget from './BridgeWidget-BLhoD-g_.js';
6
+ import OnRampWidget from './OnRampWidget-rQOvV5pr.js';
7
+ import SwapWidget from './SwapWidget-C6nx0Q9I.js';
8
+ import './FeesBreakdown-C266J2ZS.js';
9
+ import './useInterval-CS_M5Mzm.js';
10
+ import './SpendingCapHero-DYvmyU7U.js';
11
11
 
12
12
  var SaleWidgetViews;
13
13
  (function (SaleWidgetViews) {
@@ -1,4 +1,4 @@
1
- import { l as jsx, cD as heroBackGroundStyles, B as Box, cE as heroImageStyles, dc as heroImageBottomAlign, n as jsxs } from './index-Skcajiao.js';
1
+ import { l as jsx, cD as heroBackGroundStyles, B as Box, cE as heroImageStyles, dc as heroImageBottomAlign, n as jsxs } from './index-QbUM4Iz2.js';
2
2
 
3
3
  function SpendingCapHero() {
4
4
  return (jsx(Box, { sx: { ...heroBackGroundStyles, background: 'base.color.translucent.emphasis.100' }, children: jsx(Box, { sx: { ...heroImageStyles, ...heroImageBottomAlign }, children: jsxs("svg", { width: "430", height: "305", viewBox: "0 0 430 305", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M94.0614 105.632L93.6321 104L92 104.429L92.4292 106.061L94.0614 105.632Z", fill: "white" }), jsx("path", { d: "M63.6531 193.101L63.1006 191L60.9996 191.553L61.5521 193.654L63.6531 193.101Z", fill: "white" }), jsx("path", { d: "M344.489 224.345L342.345 224L342 226.145L344.144 226.49L344.489 224.345Z", fill: "white" }), jsx("path", { d: "M372.286 139.905L372.905 138.619L371.619 138L371 139.286L372.286 139.905Z", fill: "white" }), jsx("path", { d: "M341.653 78.101L341.101 76L339 76.5525L339.552 78.6535L341.653 78.101Z", fill: "white" }), jsx("path", { d: "M359.286 242.905L359.905 241.619L358.619 241L358 242.286L359.286 242.905Z", fill: "white" }), jsx("path", { d: "M87.0123 112.087L86.0869 111L85.0002 111.925L85.9256 113.012L87.0123 112.087Z", fill: "white" }), jsx("path", { d: "M84.2862 248.905L84.9053 247.619L83.6192 247L83.0001 248.286L84.2862 248.905Z", fill: "white" }), jsx("path", { d: "M215.496 262.992C268.237 262.992 310.993 220.237 310.993 167.496C310.993 114.755 268.237 72 215.496 72C162.755 72 120 114.755 120 167.496C120 220.237 162.755 262.992 215.496 262.992Z", fill: "white", fillOpacity: "0.24", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M159.82 95.1695C179.975 79.6536 204.651 73.1506 227.89 77.0665C261.089 82.6606 253.281 101.028 199.197 121.314C151.934 139.037 123.49 136.348 143.823 110.95C148.422 105.208 153.721 99.8623 159.82 95.1695Z", fill: "white", fillOpacity: "0.08" }), jsx("path", { d: "M215.497 227.183C171.451 227.183 135.159 219.871 130.194 210.462H130.187C145.912 241.626 178.21 263.001 215.497 263.001C252.705 263.001 284.942 241.719 300.706 210.664C295.33 219.98 259.232 227.183 215.505 227.183H215.497Z", fill: "#36E0F8", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M284.219 219.607L283.978 219.84C281.275 222.482 256.583 215.986 253.172 218.418C222.389 240.36 182.779 269.061 146.099 219.397C146.099 219.397 140.761 217.641 138.609 216.686C139.425 217.96 140.279 219.226 141.165 220.469C170.425 261.516 227.423 271.073 268.47 241.813C276.97 235.752 284.118 228.503 289.852 220.454L292.424 216.841L288.252 218.302C287.086 218.713 285.851 219.11 284.553 219.498L284.227 219.599L284.219 219.607Z", fill: "black" }), jsx("path", { d: "M215.496 241.4C262.183 241.4 300.03 226.557 300.03 208.248C300.03 189.938 262.183 175.095 215.496 175.095C168.81 175.095 130.963 189.938 130.963 208.248C130.963 226.557 168.81 241.4 215.496 241.4Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M300.705 210.659C300.705 210.659 300.705 210.65 300.705 210.641C300.705 210.641 300.705 210.65 300.705 210.659Z", fill: "#EBE9E9", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 204.511C208.952 204.511 221.377 199.638 221.377 193.626C221.377 187.614 208.952 182.741 193.624 182.741C178.297 182.741 165.871 187.614 165.871 193.626C165.871 199.638 178.297 204.511 193.624 204.511Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 204.511C208.954 204.511 221.377 199.64 221.377 193.626V201.349C221.377 207.363 208.954 212.234 193.624 212.234C178.295 212.234 165.871 207.363 165.871 201.349V193.626C165.871 199.64 178.295 204.511 193.624 204.511Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M197.33 204.41C199.49 204.294 201.573 204.084 203.546 203.789V211.512C201.573 211.807 199.49 212.017 197.33 212.133V204.41Z", fill: "#D0F500" }), jsx("path", { d: "M206.398 203.291C211.246 202.304 215.255 200.774 217.905 198.901V206.624C215.255 208.497 211.246 210.027 206.398 211.014V203.291Z", fill: "black" }), jsx("path", { d: "M193.624 204.511C208.954 204.511 221.377 199.64 221.377 193.626V201.349C221.377 207.363 208.954 212.234 193.624 212.234C178.295 212.234 165.871 207.363 165.871 201.349V193.626C165.871 199.64 178.295 204.511 193.624 204.511Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M206.398 211.015C211.246 210.028 215.255 208.497 217.905 206.625", stroke: "#A66CFF", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 196.788C208.952 196.788 221.377 191.914 221.377 185.903C221.377 179.891 208.952 175.017 193.624 175.017C178.297 175.017 165.871 179.891 165.871 185.903C165.871 191.914 178.297 196.788 193.624 196.788Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 196.788C208.954 196.788 221.377 191.917 221.377 185.903V193.626C221.377 199.639 208.954 204.511 193.624 204.511C178.295 204.511 165.871 199.639 165.871 193.626V185.903C165.871 191.917 178.295 196.788 193.624 196.788Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M197.33 196.687C199.49 196.57 201.573 196.361 203.546 196.065V203.788C201.573 204.084 199.49 204.293 197.33 204.41V196.687Z", fill: "#36E0F8" }), jsx("path", { d: "M206.398 195.568C211.246 194.581 215.255 193.051 217.905 191.178V198.901C215.255 200.774 211.246 202.304 206.398 203.291V195.568Z", fill: "black" }), jsx("path", { d: "M193.624 196.788C208.954 196.788 221.377 191.917 221.377 185.903V193.626C221.377 199.639 208.954 204.511 193.624 204.511C178.295 204.511 165.871 199.639 165.871 193.626V185.903C165.871 191.917 178.295 196.788 193.624 196.788Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M206.398 203.291C211.246 202.304 215.255 200.774 217.905 198.901", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 189.065C208.952 189.065 221.377 184.192 221.377 178.18C221.377 172.168 208.952 167.294 193.624 167.294C178.297 167.294 165.871 172.168 165.871 178.18C165.871 184.192 178.297 189.065 193.624 189.065Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 189.065C208.954 189.065 221.377 184.194 221.377 178.18V185.903C221.377 191.917 208.954 196.788 193.624 196.788C178.295 196.788 165.871 191.917 165.871 185.903V178.18C165.871 184.194 178.295 189.065 193.624 189.065Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M197.33 188.965C199.49 188.849 201.573 188.639 203.546 188.343V196.067C201.573 196.362 199.49 196.571 197.33 196.688V188.965Z", fill: "#F191FA" }), jsx("path", { d: "M206.398 187.845C211.246 186.858 215.255 185.327 217.905 183.455V191.178C215.255 193.05 211.246 194.581 206.398 195.568V187.845Z", fill: "black" }), jsx("path", { d: "M193.624 189.065C208.954 189.065 221.377 184.194 221.377 178.18V185.903C221.377 191.917 208.954 196.788 193.624 196.788C178.295 196.788 165.871 191.917 165.871 185.903V178.18C165.871 184.194 178.295 189.065 193.624 189.065Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M206.398 195.569C211.246 194.582 215.255 193.052 217.905 191.179", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 212.934C253.929 212.934 266.354 208.06 266.354 202.049C266.354 196.037 253.929 191.164 238.601 191.164C223.274 191.164 210.848 196.037 210.848 202.049C210.848 208.06 223.274 212.934 238.601 212.934Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 212.935C253.931 212.935 266.354 208.063 266.354 202.049V209.772C266.354 215.786 253.931 220.658 238.601 220.658C223.272 220.658 210.848 215.786 210.848 209.772V202.049C210.848 208.063 223.272 212.935 238.601 212.935Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M242.307 212.833C244.467 212.717 246.55 212.507 248.523 212.212V219.935C246.55 220.23 244.467 220.44 242.307 220.556V212.833Z", fill: "#F191FA" }), jsx("path", { d: "M251.375 211.713C256.223 210.727 260.232 209.196 262.882 207.324V215.047C260.232 216.919 256.223 218.45 251.375 219.436V211.713Z", fill: "black" }), jsx("path", { d: "M238.601 212.935C253.931 212.935 266.354 208.063 266.354 202.049V209.772C266.354 215.786 253.931 220.658 238.601 220.658C223.272 220.658 210.848 215.786 210.848 209.772V202.049C210.848 208.063 223.272 212.935 238.601 212.935Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M251.375 219.437C256.223 218.45 260.232 216.919 262.882 215.047", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 205.21C253.929 205.21 266.354 200.336 266.354 194.324C266.354 188.313 253.929 183.439 238.601 183.439C223.274 183.439 210.848 188.313 210.848 194.324C210.848 200.336 223.274 205.21 238.601 205.21Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 205.21C253.931 205.21 266.354 200.339 266.354 194.325V202.048C266.354 208.062 253.931 212.934 238.601 212.934C223.272 212.934 210.848 208.062 210.848 202.048V194.325C210.848 200.339 223.272 205.21 238.601 205.21Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M242.307 205.109C244.467 204.993 246.55 204.783 248.523 204.488V212.211C246.55 212.506 244.467 212.716 242.307 212.832V205.109Z", fill: "#36E0F8" }), jsx("path", { d: "M251.375 203.989C256.223 203.003 260.232 201.472 262.882 199.6V207.323C260.232 209.195 256.223 210.726 251.375 211.712V203.989Z", fill: "black" }), jsx("path", { d: "M238.601 205.21C253.931 205.21 266.354 200.339 266.354 194.325V202.048C266.354 208.062 253.931 212.934 238.601 212.934C223.272 212.934 210.848 208.062 210.848 202.048V194.325C210.848 200.339 223.272 205.21 238.601 205.21Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M251.375 211.713C256.223 210.726 260.232 209.195 262.882 207.323", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 197.487C253.929 197.487 266.354 192.613 266.354 186.602C266.354 180.59 253.929 175.716 238.601 175.716C223.274 175.716 210.848 180.59 210.848 186.602C210.848 192.613 223.274 197.487 238.601 197.487Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 197.487C253.931 197.487 266.354 192.616 266.354 186.602V194.325C266.354 200.339 253.931 205.21 238.601 205.21C223.272 205.21 210.848 200.339 210.848 194.325V186.602C210.848 192.616 223.272 197.487 238.601 197.487Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M242.307 197.386C244.467 197.27 246.55 197.06 248.523 196.765V204.488C246.55 204.783 244.467 204.992 242.307 205.109V197.386Z", fill: "#F191FA" }), jsx("path", { d: "M251.375 196.267C256.223 195.28 260.232 193.75 262.882 191.877V199.6C260.232 201.473 256.223 203.003 251.375 203.99V196.267Z", fill: "#9AEFFB" }), jsx("path", { d: "M238.601 197.487C253.931 197.487 266.354 192.616 266.354 186.602V194.325C266.354 200.339 253.931 205.21 238.601 205.21C223.272 205.21 210.848 200.339 210.848 194.325V186.602C210.848 192.616 223.272 197.487 238.601 197.487Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M251.375 203.99C256.223 203.004 260.232 201.473 262.882 199.601", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M232.652 189.678C247.979 189.678 260.405 184.804 260.405 178.793C260.405 172.781 247.979 167.908 232.652 167.908C217.324 167.908 204.899 172.781 204.899 178.793C204.899 184.804 217.324 189.678 232.652 189.678Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M232.652 189.678C247.981 189.678 260.405 184.807 260.405 178.793V186.516C260.405 192.53 247.981 197.401 232.652 197.401C217.323 197.401 204.899 192.53 204.899 186.516V178.793C204.899 184.807 217.323 189.678 232.652 189.678Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M236.358 189.578C238.518 189.461 240.6 189.251 242.574 188.956V196.679C240.6 196.974 238.518 197.184 236.358 197.301V189.578Z", fill: "#F191FA" }), jsx("path", { d: "M245.426 188.458C250.274 187.471 254.283 185.94 256.932 184.067V191.791C254.283 193.663 250.274 195.194 245.426 196.18V188.458Z", fill: "black" }), jsx("path", { d: "M232.652 189.678C247.981 189.678 260.405 184.807 260.405 178.793V186.516C260.405 192.53 247.981 197.401 232.652 197.401C217.323 197.401 204.899 192.53 204.899 186.516V178.793C204.899 184.807 217.323 189.678 232.652 189.678Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M245.426 196.182C250.274 195.195 254.283 193.664 256.932 191.792", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M240.99 180.021C256.317 180.021 268.743 175.148 268.743 169.136C268.743 163.124 256.317 158.25 240.99 158.25C225.662 158.25 213.237 163.124 213.237 169.136C213.237 175.148 225.662 180.021 240.99 180.021Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M240.99 180.021C256.319 180.021 268.743 175.15 268.743 169.136V176.859C268.743 182.873 256.319 187.744 240.99 187.744C225.66 187.744 213.237 182.873 213.237 176.859V169.136C213.237 175.15 225.66 180.021 240.99 180.021Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M244.696 179.92C246.856 179.804 248.938 179.594 250.911 179.299V187.022C248.938 187.317 246.856 187.527 244.696 187.643V179.92Z", fill: "#9AEFFB" }), jsx("path", { d: "M253.763 178.801C258.612 177.815 262.621 176.284 265.27 174.412V182.135C262.621 184.007 258.612 185.538 253.763 186.524V178.801Z", fill: "black" }), jsx("path", { d: "M240.99 180.021C256.319 180.021 268.743 175.15 268.743 169.136V176.859C268.743 182.873 256.319 187.744 240.99 187.744C225.66 187.744 213.237 182.873 213.237 176.859V169.136C213.237 175.15 225.66 180.021 240.99 180.021Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M253.763 186.525C258.612 185.538 262.621 184.007 265.27 182.135", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M189.911 223.803C205.238 223.803 217.664 218.929 217.664 212.918C217.664 206.906 205.238 202.032 189.911 202.032C174.583 202.032 162.158 206.906 162.158 212.918C162.158 218.929 174.583 223.803 189.911 223.803Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M189.911 223.803C205.24 223.803 217.664 218.932 217.664 212.918V220.641C217.664 226.655 205.24 231.526 189.911 231.526C174.581 231.526 162.158 226.655 162.158 220.641V212.918C162.158 218.932 174.581 223.803 189.911 223.803Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.625 223.71C195.785 223.593 197.867 223.384 199.84 223.088V230.811C197.867 231.107 195.785 231.316 193.625 231.433V223.71Z", fill: "#F191FA" }), jsx("path", { d: "M202.685 222.583C207.533 221.596 211.542 220.066 214.191 218.193V225.916C211.542 227.789 207.533 229.319 202.685 230.306V222.583Z", fill: "#9AEFFB" }), jsx("path", { d: "M189.911 223.803C205.24 223.803 217.664 218.932 217.664 212.918V220.641C217.664 226.655 205.24 231.526 189.911 231.526C174.581 231.526 162.158 226.655 162.158 220.641V212.918C162.158 218.932 174.581 223.803 189.911 223.803Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M202.685 230.306C207.533 229.32 211.542 227.789 214.191 225.917", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M300.705 210.658C300.705 210.658 300.705 210.649 300.705 210.641C300.705 210.641 300.705 210.649 300.705 210.658Z", fill: "#A66CFF", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" })] }) }) }));
@@ -1,10 +1,10 @@
1
- import { c as useTranslation, cX as xo, a6 as getRemoteImage, n as jsxs, cY as quickswapFooterStyles, B as Box, cZ as quickswapFooterLogoStyles, l as jsx, at as Body, c_ as quickswapFooterDisclaimerTextStyles, r as reactExports, F as Button, c$ as getImxTokenImage, D as Drawer, bm as CloudImage, H as Heading, ce as Logo, aD as Icon, bM as formatUnits, bt as calculateCryptoToFiat, bI as tokenValueFormat, bT as isGasFree, cu as parseUnits, cr as formatZeroAmount, bV as ConnectLoaderContext, ai as getDefaultTokenImage, ak as isNativeToken, cs as NATIVE, bU as CryptoFiatContext, a9 as ViewContext, K as useAnalytics, Q as UserJourney, b$ as CryptoFiatActions, cx as DEFAULT_QUOTE_REFRESH_INTERVAL, _ as isPassportProvider, d0 as parseEther, bj as amountInputValidation, av as Tooltip, bh as K, V as ViewActions, i as SharedViews, a as getL2ChainId, M as Fragment, d1 as ESTIMATE_DEBOUNCE, d2 as DEFAULT_TOKEN_VALIDATION_DECIMALS, aN as Bt, cw as DEFAULT_TOKEN_DECIMALS, ac as EventTargetContext, d3 as sendSwapWidgetCloseEvent, aV as orchestrationEvents, u as uo, bC as HeaderNavigation, L as LoadingView, aT as SimpleLayout, cA as IMX_TOKEN_SYMBOL, c4 as k, cF as SimpleTextBody, cG as FooterButton, cD as heroBackGroundStyles, cE as heroImageStyles, b4 as Trans, b3 as Link, bF as FooterLogo, aa as useHandover, bc as viewReducer, bd as initialViewState, aj as ie, d4 as DEFAULT_BALANCE_RETRY_POLICY, aM as xt, d5 as _o, cp as me, cN as StatusView, d6 as sendSwapSuccessEvent, bG as StatusType, d7 as sendSwapFailedEvent, d8 as sendSwapRejectedEvent, o as ErrorView, bn as ServiceUnavailableErrorView, c2 as CryptoFiatProvider } from './index-Skcajiao.js';
2
- import { S as SelectForm, T as TextInputForm, F as Fees, a as TransactionRejected, N as NetworkSwitchDrawer, W as WalletApproveHero, g as getAllowedBalances } from './WalletApproveHero-B6YvvCmA.js';
3
- import { u as useInterval } from './useInterval-D2CM0YwW.js';
4
- import { S as SwapWidgetViews, T as TopUpView } from './TopUpView-Q4_Glu5-.js';
5
- import { S as SpendingCapHero } from './SpendingCapHero-DQtmoqNL.js';
6
- import './TokenImage-Bc62Xkzv.js';
7
- import './FeesBreakdown-CVvm1-Ei.js';
1
+ import { c as useTranslation, cX as xo, a6 as getRemoteImage, n as jsxs, cY as quickswapFooterStyles, B as Box, cZ as quickswapFooterLogoStyles, l as jsx, at as Body, c_ as quickswapFooterDisclaimerTextStyles, r as reactExports, F as Button, c$ as getImxTokenImage, D as Drawer, bm as CloudImage, H as Heading, ce as Logo, aD as Icon, bM as formatUnits, bt as calculateCryptoToFiat, bI as tokenValueFormat, bT as isGasFree, cu as parseUnits, cr as formatZeroAmount, bV as ConnectLoaderContext, ai as getDefaultTokenImage, ak as isNativeToken, cs as NATIVE, bU as CryptoFiatContext, a9 as ViewContext, K as useAnalytics, Q as UserJourney, b$ as CryptoFiatActions, cx as DEFAULT_QUOTE_REFRESH_INTERVAL, _ as isPassportProvider, d0 as parseEther, bj as amountInputValidation, av as Tooltip, bh as K, V as ViewActions, i as SharedViews, a as getL2ChainId, M as Fragment, d1 as ESTIMATE_DEBOUNCE, d2 as DEFAULT_TOKEN_VALIDATION_DECIMALS, aN as Bt, cw as DEFAULT_TOKEN_DECIMALS, ac as EventTargetContext, d3 as sendSwapWidgetCloseEvent, aV as orchestrationEvents, u as uo, bC as HeaderNavigation, L as LoadingView, aT as SimpleLayout, cA as IMX_TOKEN_SYMBOL, c4 as k, cF as SimpleTextBody, cG as FooterButton, cD as heroBackGroundStyles, cE as heroImageStyles, b4 as Trans, b3 as Link, bF as FooterLogo, aa as useHandover, bc as viewReducer, bd as initialViewState, aj as ie, d4 as DEFAULT_BALANCE_RETRY_POLICY, aM as xt, d5 as _o, cp as me, cN as StatusView, d6 as sendSwapSuccessEvent, bG as StatusType, d7 as sendSwapFailedEvent, d8 as sendSwapRejectedEvent, o as ErrorView, bn as ServiceUnavailableErrorView, c2 as CryptoFiatProvider } from './index-QbUM4Iz2.js';
2
+ import { S as SelectForm, T as TextInputForm, F as Fees, a as TransactionRejected, N as NetworkSwitchDrawer, W as WalletApproveHero, g as getAllowedBalances } from './WalletApproveHero-BuNIZ5Qn.js';
3
+ import { u as useInterval } from './useInterval-CS_M5Mzm.js';
4
+ import { S as SwapWidgetViews, T as TopUpView } from './TopUpView-BGc-kNFd.js';
5
+ import { S as SpendingCapHero } from './SpendingCapHero-DYvmyU7U.js';
6
+ import './TokenImage-CE84mZbs.js';
7
+ import './FeesBreakdown-C266J2ZS.js';
8
8
 
9
9
  function QuickswapFooter({ theme, environment }) {
10
10
  const { t } = useTranslation();
@@ -1,4 +1,4 @@
1
- import { r as reactExports, ai as getDefaultTokenImage, l as jsx } from './index-Skcajiao.js';
1
+ import { r as reactExports, ai as getDefaultTokenImage, l as jsx } from './index-QbUM4Iz2.js';
2
2
 
3
3
  function TokenImage({ src, name, environment, theme, defaultImage, ...forwardedProps }) {
4
4
  const [error, setError] = reactExports.useState(false);
@@ -1,4 +1,4 @@
1
- import { r as reactExports, bM as formatUnits, l as jsx, n as jsxs, dd as isDualVariantIcon, a3 as MenuItem, B as Box, bh as K, c as useTranslation, a9 as ViewContext, bU as CryptoFiatContext, ac as EventTargetContext, K as useAnalytics, b$ as CryptoFiatActions, de as DEFAULT_TOKEN_SYMBOLS, cv as st, bC as HeaderNavigation, H as Heading, at as Body, aT as SimpleLayout, u as uo, V as ViewActions, aV as orchestrationEvents } from './index-Skcajiao.js';
1
+ import { r as reactExports, bM as formatUnits, l as jsx, n as jsxs, dd as isDualVariantIcon, a3 as MenuItem, B as Box, bh as K, c as useTranslation, a9 as ViewContext, bU as CryptoFiatContext, ac as EventTargetContext, K as useAnalytics, b$ as CryptoFiatActions, de as DEFAULT_TOKEN_SYMBOLS, cv as st, bC as HeaderNavigation, H as Heading, at as Body, aT as SimpleLayout, u as uo, V as ViewActions, aV as orchestrationEvents } from './index-QbUM4Iz2.js';
2
2
 
3
3
  var BridgeWidgetViews;
4
4
  (function (BridgeWidgetViews) {
@@ -1,6 +1,6 @@
1
- import { l as jsx, ar as TextInput, d9 as FormControlWrapper, c as useTranslation, n as jsxs, a3 as MenuItem, r as reactExports, D as Drawer, B as Box, at as Body, M as Fragment, da as Select, bh as K, cX as xo, db as DuoCon, H as Heading, F as Button, ci as retry, cs as NATIVE, al as getTokenImageByAddress, ak as isNativeToken, d4 as DEFAULT_BALANCE_RETRY_POLICY, a6 as getRemoteImage, cm as getChainNameById, b as getL1ChainId, cd as isWalletConnectProvider, co as isMetaMaskProvider, bm as CloudImage, aq as ButtCon, bF as FooterLogo, cr as formatZeroAmount, bI as tokenValueFormat, cb as Accordion, c6 as ShimmerBox, ba as PriceDisplay, cD as heroBackGroundStyles, cE as heroImageStyles, dc as heroImageBottomAlign } from './index-Skcajiao.js';
2
- import { T as TokenImage } from './TokenImage-Bc62Xkzv.js';
3
- import { F as FeesBreakdown } from './FeesBreakdown-CVvm1-Ei.js';
1
+ import { l as jsx, ar as TextInput, d9 as FormControlWrapper, c as useTranslation, n as jsxs, a3 as MenuItem, r as reactExports, D as Drawer, B as Box, at as Body, M as Fragment, da as Select, bh as K, cX as xo, db as DuoCon, H as Heading, F as Button, ci as retry, cs as NATIVE, al as getTokenImageByAddress, ak as isNativeToken, d4 as DEFAULT_BALANCE_RETRY_POLICY, a6 as getRemoteImage, cm as getChainNameById, b as getL1ChainId, cd as isWalletConnectProvider, co as isMetaMaskProvider, bm as CloudImage, aq as ButtCon, bF as FooterLogo, cr as formatZeroAmount, bI as tokenValueFormat, cb as Accordion, c6 as ShimmerBox, ba as PriceDisplay, cD as heroBackGroundStyles, cE as heroImageStyles, dc as heroImageBottomAlign } from './index-QbUM4Iz2.js';
2
+ import { T as TokenImage } from './TokenImage-CE84mZbs.js';
3
+ import { F as FeesBreakdown } from './FeesBreakdown-C266J2ZS.js';
4
4
 
5
5
  function TextInputForm({ testId, value, placeholder, errorMessage, validator, onTextInputChange, onTextInputBlur, onTextInputFocus, onTextInputEnter, textAlign, type, subtext, maxButtonClick, disabled, inputMode, }) {
6
6
  const handleOnChange = (event, previousValue) => {
@@ -1,6 +1,6 @@
1
- import { r as reactExports, aj as ie, c as useTranslation, a9 as ViewContext, n as jsxs, B as Box, l as jsx, at as Body, aq as ButtCon, V as ViewActions, bV as ConnectLoaderContext, K as useAnalytics, cr as formatZeroAmount, ac as EventTargetContext, _ as isPassportProvider, a as getL2ChainId, b as getL1ChainId, bh as K, a3 as MenuItem, bI as tokenValueFormat, Q as UserJourney, aV as orchestrationEvents, u as uo, df as ZERO_BALANCE_STRING, ak as isNativeToken, dg as sendNetworkSwitchEvent, c4 as k, i as SharedViews, dh as ue, di as sortNetworksCompareFn, dj as HorizontalMenu, c9 as getChainImage, ci as retry, d4 as DEFAULT_BALANCE_RETRY_POLICY, dk as sortTokensByAmount, al as getTokenImageByAddress, bt as calculateCryptoToFiat, bU as CryptoFiatContext, b$ as CryptoFiatActions, bC as HeaderNavigation, cq as ButtonNavigationStyles, dl as sendWalletWidgetCloseEvent, bF as FooterLogo, aT as SimpleLayout, cp as me, cn as getWalletProviderNameByProvider, dd as isDualVariantIcon, bL as abbreviateWalletAddress, H as Heading, D as Drawer, cc as useWalletConnect, dm as sendDisconnectWalletEvent, F as Button, cd as isWalletConnectProvider, cD as heroBackGroundStyles, cE as heroImageStyles, dc as heroImageBottomAlign, cF as SimpleTextBody, dn as FAQS_LINK, b3 as Link, bc as viewReducer, bd as initialViewState, c2 as CryptoFiatProvider, L as LoadingView, o as ErrorView } from './index-Skcajiao.js';
2
- import { T as TokenImage } from './TokenImage-Bc62Xkzv.js';
3
- import { u as useInterval } from './useInterval-D2CM0YwW.js';
1
+ import { r as reactExports, aj as ie, c as useTranslation, a9 as ViewContext, n as jsxs, B as Box, l as jsx, at as Body, aq as ButtCon, V as ViewActions, bV as ConnectLoaderContext, K as useAnalytics, cr as formatZeroAmount, ac as EventTargetContext, _ as isPassportProvider, a as getL2ChainId, b as getL1ChainId, bh as K, a3 as MenuItem, bI as tokenValueFormat, Q as UserJourney, aV as orchestrationEvents, u as uo, df as ZERO_BALANCE_STRING, ak as isNativeToken, dg as sendNetworkSwitchEvent, c4 as k, i as SharedViews, dh as ue, di as sortNetworksCompareFn, dj as HorizontalMenu, c9 as getChainImage, ci as retry, d4 as DEFAULT_BALANCE_RETRY_POLICY, dk as sortTokensByAmount, al as getTokenImageByAddress, bt as calculateCryptoToFiat, bU as CryptoFiatContext, b$ as CryptoFiatActions, bC as HeaderNavigation, cq as ButtonNavigationStyles, dl as sendWalletWidgetCloseEvent, bF as FooterLogo, aT as SimpleLayout, cp as me, cn as getWalletProviderNameByProvider, dd as isDualVariantIcon, bL as abbreviateWalletAddress, H as Heading, D as Drawer, cc as useWalletConnect, dm as sendDisconnectWalletEvent, F as Button, cd as isWalletConnectProvider, cD as heroBackGroundStyles, cE as heroImageStyles, dc as heroImageBottomAlign, cF as SimpleTextBody, dn as FAQS_LINK, b3 as Link, bc as viewReducer, bd as initialViewState, c2 as CryptoFiatProvider, L as LoadingView, o as ErrorView } from './index-QbUM4Iz2.js';
2
+ import { T as TokenImage } from './TokenImage-CE84mZbs.js';
3
+ import { u as useInterval } from './useInterval-CS_M5Mzm.js';
4
4
 
5
5
  const initialWalletState = {
6
6
  walletProviderName: null,
@@ -1,4 +1,4 @@
1
- import { dU as pTimeout } from './index-Skcajiao.js';
1
+ import { dU as pTimeout } from './index-QbUM4Iz2.js';
2
2
 
3
3
  // Check if a user is opening the link in a new tab
4
4
  function userNewTab(event) {
@@ -1,4 +1,4 @@
1
- import { dA as __awaiter, dB as __generator, dL as isServer, dD as getNextIntegrationsURL, dC as loadScript } from './index-Skcajiao.js';
1
+ import { dA as __awaiter, dB as __generator, dL as isServer, dD as getNextIntegrationsURL, dC as loadScript } from './index-QbUM4Iz2.js';
2
2
 
3
3
  function remoteMiddlewares(ctx, settings, obfuscate) {
4
4
  var _a;
@@ -1,4 +1,4 @@
1
- import { dA as __awaiter, dB as __generator, dC as loadScript, dD as getNextIntegrationsURL, dE as unloadScript, dF as __spreadArray, dG as isOffline, dH as __assign, dI as ContextCancelation, dJ as applyDestinationMiddleware, dK as dist, dL as isServer, dM as mergedOptions, dN as isPlainObject, dO as pWhile, dP as PriorityQueue, dQ as PersistedPriorityQueue, dR as attempt, dS as isOnline, dT as Context } from './index-Skcajiao.js';
1
+ import { dA as __awaiter, dB as __generator, dC as loadScript, dD as getNextIntegrationsURL, dE as unloadScript, dF as __spreadArray, dG as isOffline, dH as __assign, dI as ContextCancelation, dJ as applyDestinationMiddleware, dK as dist, dL as isServer, dM as mergedOptions, dN as isPlainObject, dO as pWhile, dP as PriorityQueue, dQ as PersistedPriorityQueue, dR as attempt, dS as isOnline, dT as Context } from './index-QbUM4Iz2.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 { dz as getAugmentedNamespace, v as commonjsGlobal } from './index-Skcajiao.js';
1
+ import { dz as getAugmentedNamespace, v as commonjsGlobal } from './index-QbUM4Iz2.js';
2
2
 
3
3
  var dist$1 = {};
4
4
 
@@ -1,4 +1,4 @@
1
- import { dq as ne$1, dr as se$1, ds as T$2, dt as oe$1, du as R$1, dv as a$2, dw as te$1, dx as p$1, dy as y$1 } from './index-Skcajiao.js';
1
+ import { dq as ne$1, dr as se$1, ds as T$2, dt as oe$1, du as R$1, dv as a$2, dw as te$1, dx as p$1, dy as y$1 } from './index-QbUM4Iz2.js';
2
2
 
3
3
  /**
4
4
  * @license
@@ -1,4 +1,4 @@
1
- import { dH as __assign } from './index-Skcajiao.js';
1
+ import { dH as __assign } from './index-QbUM4Iz2.js';
2
2
  import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
3
3
 
4
4
  function disabledActionDestinations(plan, settings) {
@@ -1,4 +1,4 @@
1
- import { dV as gracefulDecodeURIComponent, dN as isPlainObject } from './index-Skcajiao.js';
1
+ import { dV as gracefulDecodeURIComponent, dN as isPlainObject } from './index-QbUM4Iz2.js';
2
2
 
3
3
  /**
4
4
  * Returns an object containing only the properties prefixed by the input
@@ -4109,7 +4109,7 @@ const clearGlobalNamespace = (namespace) => {
4109
4109
  };
4110
4110
  lib$6.clearGlobalNamespace = clearGlobalNamespace;
4111
4111
 
4112
- var Ut$2=Object.defineProperty;var St$1=(u,c)=>{for(var p in c)Ut$2(u,p,{get:c[p],enumerable:!0});};function Br$2(u){throw new Error("Node.js process "+u+" is not supported by JSPM core outside of Node.js")}var G$7=[],tr$3=!1,W$7,cr$5=-1;function kt$3(){!tr$3||!W$7||(tr$3=!1,W$7.length?G$7=W$7.concat(G$7):cr$5=-1,G$7.length&&Vr$2());}function Vr$2(){if(!tr$3){var u=setTimeout(kt$3,0);tr$3=!0;for(var c=G$7.length;c;){for(W$7=G$7,G$7=[];++cr$5<c;)W$7&&W$7[cr$5].run();cr$5=-1,c=G$7.length;}W$7=null,tr$3=!1,clearTimeout(u);}}function _t$2(u){var c=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)c[p-1]=arguments[p];G$7.push(new Gr$2(u,c)),G$7.length===1&&!tr$3&&setTimeout(Vr$2,0);}function Gr$2(u,c){this.fun=u,this.array=c;}Gr$2.prototype.run=function(){this.fun.apply(null,this.array);};var Pt$2="browser",Rt$2="x64",bt$2="browser",Nt$2={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},vt$2=["/usr/bin/node"],Mt$1=[],Ct$4="v16.8.0",Lt$3={},Dt$2=function(u,c){console.warn((c?c+": ":"")+u);},$t$3=function(u){Br$2("binding");},Ft$3=function(u){return 0},Ot$3=function(){return "/"},Vt$2=function(u){},Gt$3={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};function M$8(){}var Yt$3=M$8,Kt$5=[];function Ht$3(u){Br$2("_linkedBinding");}var Wt$3={},jt$3=!1,Xt$5={};function qt$3(u){Br$2("dlopen");}function Jt$5(){return []}function zt$3(){return []}var Qt$2=M$8,Zt$3=M$8,Tr$3=function(){return {}},re$9=Tr$3,te$6=Tr$3,ee$5=M$8,ne$6=M$8,ie$7=M$8,oe$8={};function se$6(u,c){if(!u)throw new Error(c||"assertion error")}var ue$5={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},ae$4=M$8,ce$5=M$8;function pe$5(){return !1}var le$5=M$8,fe$6=M$8,he$4=M$8,de$6=M$8,me$6=M$8,we$6=void 0,ge$6=void 0,ye$7=void 0,Ee$5=M$8,Ie$3=2,Be$6=1,Te$2="/bin/usr/node",Ae$5=9229,xe$5="node",Ue$6=[],Se$5=M$8,K$a={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};K$a.now===void 0&&(yr$4=Date.now(),K$a.timing&&K$a.timing.navigationStart&&(yr$4=K$a.timing.navigationStart),K$a.now=()=>Date.now()-yr$4);var yr$4;function ke$6(){return K$a.now()/1e3}var Er$3=1e9;function Ir$3(u){var c=Math.floor((Date.now()-K$a.now())*.001),p=K$a.now()*.001,l=Math.floor(p)+c,m=Math.floor(p%1*1e9);return u&&(l=l-u[0],m=m-u[1],m<0&&(l--,m+=Er$3)),[l,m]}Ir$3.bigint=function(u){var c=Ir$3(u);return typeof BigInt>"u"?c[0]*Er$3+c[1]:BigInt(c[0]*Er$3)+BigInt(c[1])};var _e$5=10,Pe$5={},Re$7=0;function H$7(){return T$8}var be$5=H$7,Ne$4=H$7,ve$6=H$7,Me$4=H$7,Ce$5=H$7,Le$5=M$8,De$6=H$7,$e$6=H$7;function Fe$4(u){return []}var T$8={version:Ct$4,versions:Lt$3,arch:Rt$2,platform:bt$2,release:Gt$3,_rawDebug:Yt$3,moduleLoadList:Kt$5,binding:$t$3,_linkedBinding:Ht$3,_events:Pe$5,_eventsCount:Re$7,_maxListeners:_e$5,on:H$7,addListener:be$5,once:Ne$4,off:ve$6,removeListener:Me$4,removeAllListeners:Ce$5,emit:Le$5,prependListener:De$6,prependOnceListener:$e$6,listeners:Fe$4,domain:Wt$3,_exiting:jt$3,config:Xt$5,dlopen:qt$3,uptime:ke$6,_getActiveRequests:Jt$5,_getActiveHandles:zt$3,reallyExit:Qt$2,_kill:Zt$3,cpuUsage:Tr$3,resourceUsage:re$9,memoryUsage:te$6,kill:ee$5,exit:ne$6,openStdin:ie$7,allowedNodeEnvironmentFlags:oe$8,assert:se$6,features:ue$5,_fatalExceptions:ae$4,setUncaughtExceptionCaptureCallback:ce$5,hasUncaughtExceptionCaptureCallback:pe$5,emitWarning:Dt$2,nextTick:_t$2,_tickCallback:le$5,_debugProcess:fe$6,_debugEnd:he$4,_startProfilerIdleNotifier:de$6,_stopProfilerIdleNotifier:me$6,stdout:we$6,stdin:ye$7,stderr:ge$6,abort:Ee$5,umask:Ft$3,chdir:Vt$2,cwd:Ot$3,env:Nt$2,title:Pt$2,argv:vt$2,execArgv:Mt$1,pid:Ie$3,ppid:Be$6,execPath:Te$2,debugPort:Ae$5,hrtime:Ir$3,argv0:xe$5,_preload_modules:Ue$6,setSourceMapsEnabled:Se$5};var nr$4={},Yr$1=!1;function Oe$4(){if(Yr$1)return nr$4;Yr$1=!0,nr$4.byteLength=E,nr$4.toByteArray=C,nr$4.fromByteArray=_;for(var u=[],c=[],p=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0,w=l.length;m<w;++m)u[m]=l[m],c[l.charCodeAt(m)]=m;c[45]=62,c[95]=63;function o(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=f.indexOf("=");g===-1&&(g=h);var A=g===h?0:4-g%4;return [g,A]}function E(f){var h=o(f),g=h[0],A=h[1];return (g+A)*3/4-A}function b(f,h,g){return (h+g)*3/4-g}function C(f){var h,g=o(f),A=g[0],v=g[1],P=new p(b(f,A,v)),D=0,F=v>0?A-4:A,L;for(L=0;L<F;L+=4)h=c[f.charCodeAt(L)]<<18|c[f.charCodeAt(L+1)]<<12|c[f.charCodeAt(L+2)]<<6|c[f.charCodeAt(L+3)],P[D++]=h>>16&255,P[D++]=h>>8&255,P[D++]=h&255;return v===2&&(h=c[f.charCodeAt(L)]<<2|c[f.charCodeAt(L+1)]>>4,P[D++]=h&255),v===1&&(h=c[f.charCodeAt(L)]<<10|c[f.charCodeAt(L+1)]<<4|c[f.charCodeAt(L+2)]>>2,P[D++]=h>>8&255,P[D++]=h&255),P}function B(f){return u[f>>18&63]+u[f>>12&63]+u[f>>6&63]+u[f&63]}function k(f,h,g){for(var A,v=[],P=h;P<g;P+=3)A=(f[P]<<16&16711680)+(f[P+1]<<8&65280)+(f[P+2]&255),v.push(B(A));return v.join("")}function _(f){for(var h,g=f.length,A=g%3,v=[],P=16383,D=0,F=g-A;D<F;D+=P)v.push(k(f,D,D+P>F?F:D+P));return A===1?(h=f[g-1],v.push(u[h>>2]+u[h<<4&63]+"==")):A===2&&(h=(f[g-2]<<8)+f[g-1],v.push(u[h>>10]+u[h>>4&63]+u[h<<2&63]+"=")),v.join("")}return nr$4}var pr$5={},Kr$3=!1;function Ve$4(){if(Kr$3)return pr$5;Kr$3=!0;return pr$5.read=function(u,c,p,l,m){var w,o,E=m*8-l-1,b=(1<<E)-1,C=b>>1,B=-7,k=p?m-1:0,_=p?-1:1,f=u[c+k];for(k+=_,w=f&(1<<-B)-1,f>>=-B,B+=E;B>0;w=w*256+u[c+k],k+=_,B-=8);for(o=w&(1<<-B)-1,w>>=-B,B+=l;B>0;o=o*256+u[c+k],k+=_,B-=8);if(w===0)w=1-C;else {if(w===b)return o?NaN:(f?-1:1)*(1/0);o=o+Math.pow(2,l),w=w-C;}return (f?-1:1)*o*Math.pow(2,w-l)},pr$5.write=function(u,c,p,l,m,w){var o,E,b,C=w*8-m-1,B=(1<<C)-1,k=B>>1,_=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=l?0:w-1,h=l?1:-1,g=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(E=isNaN(c)?1:0,o=B):(o=Math.floor(Math.log(c)/Math.LN2),c*(b=Math.pow(2,-o))<1&&(o--,b*=2),o+k>=1?c+=_/b:c+=_*Math.pow(2,1-k),c*b>=2&&(o++,b/=2),o+k>=B?(E=0,o=B):o+k>=1?(E=(c*b-1)*Math.pow(2,m),o=o+k):(E=c*Math.pow(2,k-1)*Math.pow(2,m),o=0));m>=8;u[p+f]=E&255,f+=h,E/=256,m-=8);for(o=o<<m|E,C+=m;C>0;u[p+f]=o&255,f+=h,o/=256,C-=8);u[p+f-h]|=g*128;},pr$5}var j$8={},Hr$2=!1;function Ge$6(){if(Hr$2)return j$8;Hr$2=!0;let u=Oe$4(),c=Ve$4(),p=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j$8.Buffer=o,j$8.SlowBuffer=v,j$8.INSPECT_MAX_BYTES=50;let l=2147483647;j$8.kMaxLength=l,o.TYPED_ARRAY_SUPPORT=m(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m(){try{let e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return !1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function w(e){if(e>l)throw new RangeError('The value "'+e+'" is invalid for option "size"');let r=new Uint8Array(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(e)}return E(e,r,t)}o.poolSize=8192;function E(e,r,t){if(typeof e=="string")return k(e,r);if(ArrayBuffer.isView(e))return f(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return h(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return o.from(n,r,t);let i=g(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return E(e,r,t)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function b(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function C(e,r,t){return b(e),e<=0?w(e):r!==void 0?typeof t=="string"?w(e).fill(r,t):w(e).fill(r):w(e)}o.alloc=function(e,r,t){return C(e,r,t)};function B(e){return b(e),w(e<0?0:A(e)|0)}o.allocUnsafe=function(e){return B(e)},o.allocUnsafeSlow=function(e){return B(e)};function k(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let t=P(e,r)|0,n=w(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function _(e){let r=e.length<0?0:A(e.length)|0,t=w(r);for(let n=0;n<r;n+=1)t[n]=e[n]&255;return t}function f(e){if(O(e,Uint8Array)){let r=new Uint8Array(e);return h(r.buffer,r.byteOffset,r.byteLength)}return _(e)}function h(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,o.prototype),n}function g(e){if(o.isBuffer(e)){let r=A(e.length)|0,t=w(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||gr(e.length)?w(0):_(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _(e.data)}function A(e){if(e>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return e|0}function v(e){return +e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),O(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,i=t.length;for(let s=0,a=Math.min(n,i);s<a;++s)if(r[s]!==t[s]){n=r[s],i=t[s];break}return n<i?-1:i<n?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return !0;default:return !1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;let i=o.allocUnsafe(t),s=0;for(n=0;n<r.length;++n){let a=r[n];if(O(a,Uint8Array))s+a.length>i.length?(o.isBuffer(a)||(a=o.from(a)),a.copy(i,s)):Uint8Array.prototype.set.call(i,a,s);else if(o.isBuffer(a))a.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=a.length;}return i};function P(e,r){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return wr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Or(e).length;default:if(i)return n?-1:wr(e).length;r=(""+r).toLowerCase(),i=!0;}}o.byteLength=P;function D(e,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return "";for(e||(e="utf8");;)switch(e){case"hex":return wt(this,r,t);case"utf8":case"utf-8":return br(this,r,t);case"ascii":return dt(this,r,t);case"latin1":case"binary":return mt(this,r,t);case"base64":return ft(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0;}}o.prototype._isBuffer=!0;function F(e,r,t){let n=e[r];e[r]=e[t],e[t]=n;}o.prototype.swap16=function(){let r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)F(this,t,t+1);return this},o.prototype.swap32=function(){let r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)F(this,t,t+3),F(this,t+1,t+2);return this},o.prototype.swap64=function(){let r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)F(this,t,t+7),F(this,t+1,t+6),F(this,t+2,t+5),F(this,t+3,t+4);return this},o.prototype.toString=function(){let r=this.length;return r===0?"":arguments.length===0?br(this,0,r):D.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="",t=j$8.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},p&&(o.prototype[p]=o.prototype.inspect),o.prototype.compare=function(r,t,n,i,s){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>r.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&t>=n)return 0;if(i>=s)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,s>>>=0,this===r)return 0;let a=s-i,d=n-t,x=Math.min(a,d),I=this.slice(i,s),U=r.slice(t,n);for(let y=0;y<x;++y)if(I[y]!==U[y]){a=I[y],d=U[y];break}return a<d?-1:d<a?1:0};function L(e,r,t,n,i){if(e.length===0)return -1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,gr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return -1;t=e.length-1;}else if(t<0)if(i)t=0;else return -1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:Rr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):Rr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Rr(e,r,t,n,i){let s=1,a=e.length,d=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return -1;s=2,a/=2,d/=2,t/=2;}function x(U,y){return s===1?U[y]:U.readUInt16BE(y*s)}let I;if(i){let U=-1;for(I=t;I<a;I++)if(x(e,I)===x(r,U===-1?0:I-U)){if(U===-1&&(U=I),I-U+1===d)return U*s}else U!==-1&&(I-=I-U),U=-1;}else for(t+d>a&&(t=a-d),I=t;I>=0;I--){let U=!0;for(let y=0;y<d;y++)if(x(e,I+y)!==x(r,y)){U=!1;break}if(U)return I}return -1}o.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1},o.prototype.indexOf=function(r,t,n){return L(this,r,t,n,!0)},o.prototype.lastIndexOf=function(r,t,n){return L(this,r,t,n,!1)};function ut(e,r,t,n){t=Number(t)||0;let i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;let s=r.length;n>s/2&&(n=s/2);let a;for(a=0;a<n;++a){let d=parseInt(r.substr(a*2,2),16);if(gr(d))return a;e[t+a]=d;}return a}function at(e,r,t,n){return ar(wr(r,e.length-t),e,t,n)}function ct(e,r,t,n){return ar(Bt(r),e,t,n)}function pt(e,r,t,n){return ar(Or(r),e,t,n)}function lt(e,r,t,n){return ar(Tt(r,e.length-t),e,t,n)}o.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let s=this.length-t;if((n===void 0||n>s)&&(n=s),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return ut(this,r,t,n);case"utf8":case"utf-8":return at(this,r,t,n);case"ascii":case"latin1":case"binary":return ct(this,r,t,n);case"base64":return pt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lt(this,r,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0;}},o.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(e,r,t){return r===0&&t===e.length?u.fromByteArray(e):u.fromByteArray(e.slice(r,t))}function br(e,r,t){t=Math.min(e.length,t);let n=[],i=r;for(;i<t;){let s=e[i],a=null,d=s>239?4:s>223?3:s>191?2:1;if(i+d<=t){let x,I,U,y;switch(d){case 1:s<128&&(a=s);break;case 2:x=e[i+1],(x&192)===128&&(y=(s&31)<<6|x&63,y>127&&(a=y));break;case 3:x=e[i+1],I=e[i+2],(x&192)===128&&(I&192)===128&&(y=(s&15)<<12|(x&63)<<6|I&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:x=e[i+1],I=e[i+2],U=e[i+3],(x&192)===128&&(I&192)===128&&(U&192)===128&&(y=(s&15)<<18|(x&63)<<12|(I&63)<<6|U&63,y>65535&&y<1114112&&(a=y));}}a===null?(a=65533,d=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=d;}return ht(n)}let Nr=4096;function ht(e){let r=e.length;if(r<=Nr)return String.fromCharCode.apply(String,e);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=Nr));return t}function dt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function mt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function wt(e,r,t){let n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let i="";for(let s=r;s<t;++s)i+=At[e[s]];return i}function gt(e,r,t){let n=e.slice(r,t),i="";for(let s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+n[s+1]*256);return i}o.prototype.slice=function(r,t){let n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);let i=this.subarray(r,t);return Object.setPrototypeOf(i,o.prototype),i};function N(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r+--t],s=1;for(;t>0&&(s*=256);)i+=this[r+--t]*s;return i},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,s=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(i)+(BigInt(s)<<BigInt(32))}),o.prototype.readBigUInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],s=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return (BigInt(i)<<BigInt(32))+BigInt(s)}),o.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=t,s=1,a=this[r+--i];for(;i>0&&(s*=256);)a+=this[r+--i]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*t)),a},o.prototype.readInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return (BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return (BigInt(i)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!1,52,8)};function $(e,r,t,n,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<s)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=1,a=0;for(this[t]=r&255;++a<n&&(s*=256);)this[t+a]=r/s&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=n-1,a=1;for(this[t+s]=r&255;--s>=0&&(a*=256);)this[t+s]=r/a&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function vr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,t}function Mr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t+7]=s,s=s>>8,e[t+6]=s,s=s>>8,e[t+5]=s,s=s>>8,e[t+4]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a=a>>8,e[t+2]=a,a=a>>8,e[t+1]=a,a=a>>8,e[t]=a,t+8}o.prototype.writeBigUInt64LE=Y(function(r,t=0){return vr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=Y(function(r,t=0){return Mr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=0,a=1,d=0;for(this[t]=r&255;++s<n&&(a*=256);)r<0&&d===0&&this[t+s-1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=n-1,a=1,d=0;for(this[t+s]=r&255;--s>=0&&(a*=256);)r<0&&d===0&&this[t+s+1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=Y(function(r,t=0){return vr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=Y(function(r,t=0){return Mr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Cr(e,r,t,n,i,s){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Lr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,4),c.write(e,r,t,n,23,4),t+4}o.prototype.writeFloatLE=function(r,t,n){return Lr(this,r,t,!0,n)},o.prototype.writeFloatBE=function(r,t,n){return Lr(this,r,t,!1,n)};function Dr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,8),c.write(e,r,t,n,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,n){return Dr(this,r,t,!0,n)},o.prototype.writeDoubleBE=function(r,t,n){return Dr(this,r,t,!1,n)},o.prototype.copy=function(r,t,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);let s=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),s},o.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){let a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a);}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let s;if(typeof r=="number")for(s=t;s<n;++s)this[s]=r;else {let a=o.isBuffer(r)?r:o.from(r,i),d=a.length;if(d===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=a[s%d];}return this};let Z={};function mr(e,r,t){Z[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name;}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0});}toString(){return `${this.name} [${e}]: ${this.message}`}};}mr("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),mr("ERR_INVALID_ARG_TYPE",function(e,r){return `The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),mr("ERR_OUT_OF_RANGE",function(e,r,t){let n=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>2**32?i=$r(String(t)):typeof t=="bigint"&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=$r(i)),i+="n"),n+=` It must be ${r}. Received ${i}`,n},RangeError);function $r(e){let r="",t=e.length,n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return `${e.slice(0,t)}${r}`}function yt(e,r,t){rr(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&er(r,e.length-(t+1));}function Fr(e,r,t,n,i,s){if(e>t||e<r){let a=typeof r=="bigint"?"n":"",d;throw r===0||r===BigInt(0)?d=`>= 0${a} and < 2${a} ** ${(s+1)*8}${a}`:d=`>= -(2${a} ** ${(s+1)*8-1}${a}) and < 2 ** ${(s+1)*8-1}${a}`,new Z.ERR_OUT_OF_RANGE("value",d,e)}yt(n,i,s);}function rr(e,r){if(typeof e!="number")throw new Z.ERR_INVALID_ARG_TYPE(r,"number",e)}function er(e,r,t){throw Math.floor(e)!==e?(rr(e,t),new Z.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new Z.ERR_BUFFER_OUT_OF_BOUNDS:new Z.ERR_OUT_OF_RANGE("offset",`>= ${0} and <= ${r}`,e)}let Et=/[^+/0-9A-Za-z-_]/g;function It(e){if(e=e.split("=")[0],e=e.trim().replace(Et,""),e.length<2)return "";for(;e.length%4!==0;)e=e+"=";return e}function wr(e,r){r=r||1/0;let t,n=e.length,i=null,s=[];for(let a=0;a<n;++a){if(t=e.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&s.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&s.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&s.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536;}else i&&(r-=3)>-1&&s.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;s.push(t);}else if(t<2048){if((r-=2)<0)break;s.push(t>>6|192,t&63|128);}else if(t<65536){if((r-=3)<0)break;s.push(t>>12|224,t>>6&63|128,t&63|128);}else if(t<1114112){if((r-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128);}else throw new Error("Invalid code point")}return s}function Bt(e){let r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Tt(e,r){let t,n,i,s=[];for(let a=0;a<e.length&&!((r-=2)<0);++a)t=e.charCodeAt(a),n=t>>8,i=t%256,s.push(i),s.push(n);return s}function Or(e){return u.toByteArray(It(e))}function ar(e,r,t,n){let i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function O(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function gr(e){return e!==e}let At=function(){let e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<16;++i)r[n+i]=e[t]+e[i];}return r}();function Y(e){return typeof BigInt>"u"?xt:e}function xt(){throw new Error("BigInt not supported")}return j$8}var X$7=Ge$6();X$7.Buffer;X$7.SlowBuffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var S$8=X$7.Buffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var Ur$3={};St$1(Ur$3,{deleteItem:()=>We$7,getItem:()=>fr$3,setItem:()=>or$5});var ir$4=()=>typeof window>"u",lr$4=()=>!ir$4();var Ye$6="__IMX-",Ar$4=()=>lr$4()&&window.localStorage,Ke$3=u=>{if(u!==null)try{return JSON.parse(u)}catch{return u}},He$5=u=>typeof u=="string"?u:JSON.stringify(u),xr$4=u=>`${Ye$6}${u}`;function fr$3(u){if(Ar$4())return Ke$3(window.localStorage.getItem(xr$4(u)))}var or$5=(u,c)=>Ar$4()?(window.localStorage.setItem(xr$4(u),He$5(c)),!0):!1,We$7=u=>Ar$4()?(window.localStorage.removeItem(xr$4(u)),!0):!1;var Sr$3=0,Wr$1=u=>{let c=parseInt(u,10)*1e3,p=new Date(c),l=new Date;return Sr$3=p.getTime()-l.getTime(),Sr$3},jr$3=()=>{let u=new Date().getTime()+Sr$3;return new Date(u).toISOString()};var sr$4=(E=>(E.RUNTIME_ID="rid",E.PASSPORT_CLIENT_ID="passportClientId",E.ENVIRONMENT="env",E.PUBLISHABLE_API_KEY="pak",E.IDENTITY="uid",E.DOMAIN="domain",E.SDK_VERSION="sdkVersion",E))(sr$4||{});var Xe$6="https://api.immutable.com";async function hr$4(u,c){let p=axios$1.create({baseURL:Xe$6}),l=JSON.stringify(c),m={payload:S$8.from(l).toString("base64")};return (await p.post(u,m)).data}var q$a,J$6,qe$5=()=>{q$a=fr$3("metrics-events")||[],J$6=fr$3("metrics-runtime")||{};};qe$5();var V$a=(u,c)=>{J$6={...J$6,[u]:c},or$5("metrics-runtime",J$6);},ur$4=u=>{if(J$6[u]!==void 0)return J$6[u]},Xr$1=()=>J$6,qr$2=()=>q$a,Jr$2=u=>{q$a.push(u),or$5("metrics-events",q$a);},zr$2=u=>{q$a=q$a.slice(u),or$5("metrics-events",q$a);},dr$4=u=>{let c=[];return Object.entries(u).forEach(([p,l])=>{(typeof p=="string"||typeof l=="string"||typeof l=="number"||typeof l=="boolean")&&c.push([p,l.toString()]);}),c};var kr$3="2.0.0",Je$5=()=>ir$4()?"":window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?new URL(window.location.ancestorOrigins[0]).hostname:document.referrer?new URL(window.document.referrer).hostname:"",ze$5=()=>{if(ir$4())return "";let u;try{window.self!==window.top&&(u=Je$5());}catch{}return u||(u=window.location.hostname),u},Qe$5=()=>{if(V$a("sdkVersion",kr$3),ir$4())return {browser:"nodejs",sdkVersion:kr$3};let u=ze$5();return u&&V$a("domain",u),{sdkVersion:kr$3,browser:window.navigator.userAgent,domain:u,tz:Intl.DateTimeFormat().resolvedOptions().timeZone,screen:`${window.screen.width}x${window.screen.height}`}},_r$3=!1,Qr$2=()=>_r$3,Zr$1=async()=>{_r$3=!0;try{let u=dr$4(Qe$5()),c=ur$4("rid"),p=ur$4("uid"),m=await hr$4("/v1/sdk/initialise",{version:1,data:{runtimeDetails:u,runtimeId:c,uId:p}}),{runtimeId:w,sTime:o}=m;V$a("rid",w),Wr$1(o);}catch{_r$3=!1;}};function R$5(u,c){return (...p)=>{try{let l=u(...p);return l instanceof Promise?l.catch(()=>c):l}catch{return c}}}function Ze$5(){return lr$4()||typeof T$8>"u"?!1:T$8.env.JEST_WORKER_ID!==void 0}var rt$4=R$5(Ze$5,!1);var et$4="imtbl__metrics",tn$2=5e3,en$2=1e3,z$c=(u,c)=>getGlobalisedValue_1(et$4,u,c),nt$3=(u,c)=>{let p=memorise(c,{lruOptions:{ttl:tn$2,max:en$2}});return getGlobalisedValue_1(et$4,u,p)};var nn$1=5e3,on$1=(u,c,p)=>{let l={event:`${u}.${c}`,time:jr$3(),...p&&{properties:dr$4(p)}};Jr$2(l);},Q$9=R$5(nt$3("track",on$1)),sn$1=async()=>{if(Qr$2()===!1){await Zr$1();return}let u=qr$2();if(u.length===0)return;let c=u.length,p=Xr$1();await hr$4("/v1/sdk/metrics",{version:1,data:{events:u,details:p}})instanceof Error||zr$2(c);},un=R$5(sn$1),ot$3=async()=>{await un(),setTimeout(ot$3,nn$1);},it$2=!1,an$1=()=>{it$2||(it$2=!0,ot$3());};rt$4()||R$5(z$c("startFlushing",an$1))();var Pr$4=(u,c,p,l)=>Q$9(u,c,{...l||{},duration:Math.round(p)});var st$4=()=>{let u=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return `${u()}${u()}-${u()}-${u()}-${u()}-${u()}${u()}${u()}`};var cn$1=(...u)=>{if(!u.some(l=>!!l))return {};let p={};return u.forEach(l=>{l&&(p={...p,...l});}),p},pn$1=u=>u.replace(/[^a-zA-Z0-9\s\-_]/g,""),ln$1=(u,c)=>`${u}_${pn$1(c)}`,fn=(u,c,p=!0,l)=>{let m=st$4(),w=Date.now(),o=0,E=0,b={},C=(..._)=>cn$1(b,..._,{flowId:m,flowName:c});b=C(l);let B=_=>{_&&(b=C(_));},k=(_,f)=>{let h=ln$1(c,_),g=0,A=performance.now();o>0&&(g=A-E);let v=C(f,{flowEventName:_,flowStep:o});Pr$4(u,h,g,v),o++,E=A;};return p&&k("Start"),{details:{moduleName:u,flowName:c,flowId:m,flowStartTime:w},addEvent:R$5(k),addFlowProperties:R$5(B)}},hn=R$5(fn);var dn$2=(u,c,p,l)=>{let{message:m}=p,w=p.stack||"",{cause:o}=p;o instanceof Error&&(w=`${w}
4112
+ var Ut$2=Object.defineProperty;var St$1=(u,c)=>{for(var p in c)Ut$2(u,p,{get:c[p],enumerable:!0});};function Br$2(u){throw new Error("Node.js process "+u+" is not supported by JSPM core outside of Node.js")}var G$7=[],tr$3=!1,W$7,cr$5=-1;function kt$3(){!tr$3||!W$7||(tr$3=!1,W$7.length?G$7=W$7.concat(G$7):cr$5=-1,G$7.length&&Vr$2());}function Vr$2(){if(!tr$3){var u=setTimeout(kt$3,0);tr$3=!0;for(var c=G$7.length;c;){for(W$7=G$7,G$7=[];++cr$5<c;)W$7&&W$7[cr$5].run();cr$5=-1,c=G$7.length;}W$7=null,tr$3=!1,clearTimeout(u);}}function _t$2(u){var c=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)c[p-1]=arguments[p];G$7.push(new Gr$2(u,c)),G$7.length===1&&!tr$3&&setTimeout(Vr$2,0);}function Gr$2(u,c){this.fun=u,this.array=c;}Gr$2.prototype.run=function(){this.fun.apply(null,this.array);};var Pt$2="browser",Rt$2="x64",bt$2="browser",Nt$2={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},vt$2=["/usr/bin/node"],Mt$1=[],Ct$4="v16.8.0",Lt$3={},Dt$2=function(u,c){console.warn((c?c+": ":"")+u);},$t$3=function(u){Br$2("binding");},Ft$3=function(u){return 0},Ot$3=function(){return "/"},Vt$2=function(u){},Gt$3={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};function M$8(){}var Yt$3=M$8,Kt$5=[];function Ht$3(u){Br$2("_linkedBinding");}var Wt$3={},jt$3=!1,Xt$5={};function qt$3(u){Br$2("dlopen");}function Jt$5(){return []}function zt$3(){return []}var Qt$2=M$8,Zt$3=M$8,Tr$3=function(){return {}},re$9=Tr$3,te$6=Tr$3,ee$5=M$8,ne$6=M$8,ie$7=M$8,oe$8={};function se$6(u,c){if(!u)throw new Error(c||"assertion error")}var ue$5={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},ae$4=M$8,ce$5=M$8;function pe$5(){return !1}var le$5=M$8,fe$6=M$8,he$4=M$8,de$6=M$8,me$6=M$8,we$6=void 0,ge$6=void 0,ye$7=void 0,Ee$5=M$8,Ie$3=2,Be$6=1,Te$2="/bin/usr/node",Ae$5=9229,xe$5="node",Ue$6=[],Se$5=M$8,K$a={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};K$a.now===void 0&&(yr$4=Date.now(),K$a.timing&&K$a.timing.navigationStart&&(yr$4=K$a.timing.navigationStart),K$a.now=()=>Date.now()-yr$4);var yr$4;function ke$6(){return K$a.now()/1e3}var Er$3=1e9;function Ir$3(u){var c=Math.floor((Date.now()-K$a.now())*.001),p=K$a.now()*.001,l=Math.floor(p)+c,m=Math.floor(p%1*1e9);return u&&(l=l-u[0],m=m-u[1],m<0&&(l--,m+=Er$3)),[l,m]}Ir$3.bigint=function(u){var c=Ir$3(u);return typeof BigInt>"u"?c[0]*Er$3+c[1]:BigInt(c[0]*Er$3)+BigInt(c[1])};var _e$5=10,Pe$5={},Re$7=0;function H$7(){return T$8}var be$5=H$7,Ne$4=H$7,ve$6=H$7,Me$4=H$7,Ce$5=H$7,Le$5=M$8,De$6=H$7,$e$6=H$7;function Fe$4(u){return []}var T$8={version:Ct$4,versions:Lt$3,arch:Rt$2,platform:bt$2,release:Gt$3,_rawDebug:Yt$3,moduleLoadList:Kt$5,binding:$t$3,_linkedBinding:Ht$3,_events:Pe$5,_eventsCount:Re$7,_maxListeners:_e$5,on:H$7,addListener:be$5,once:Ne$4,off:ve$6,removeListener:Me$4,removeAllListeners:Ce$5,emit:Le$5,prependListener:De$6,prependOnceListener:$e$6,listeners:Fe$4,domain:Wt$3,_exiting:jt$3,config:Xt$5,dlopen:qt$3,uptime:ke$6,_getActiveRequests:Jt$5,_getActiveHandles:zt$3,reallyExit:Qt$2,_kill:Zt$3,cpuUsage:Tr$3,resourceUsage:re$9,memoryUsage:te$6,kill:ee$5,exit:ne$6,openStdin:ie$7,allowedNodeEnvironmentFlags:oe$8,assert:se$6,features:ue$5,_fatalExceptions:ae$4,setUncaughtExceptionCaptureCallback:ce$5,hasUncaughtExceptionCaptureCallback:pe$5,emitWarning:Dt$2,nextTick:_t$2,_tickCallback:le$5,_debugProcess:fe$6,_debugEnd:he$4,_startProfilerIdleNotifier:de$6,_stopProfilerIdleNotifier:me$6,stdout:we$6,stdin:ye$7,stderr:ge$6,abort:Ee$5,umask:Ft$3,chdir:Vt$2,cwd:Ot$3,env:Nt$2,title:Pt$2,argv:vt$2,execArgv:Mt$1,pid:Ie$3,ppid:Be$6,execPath:Te$2,debugPort:Ae$5,hrtime:Ir$3,argv0:xe$5,_preload_modules:Ue$6,setSourceMapsEnabled:Se$5};var nr$4={},Yr$1=!1;function Oe$4(){if(Yr$1)return nr$4;Yr$1=!0,nr$4.byteLength=E,nr$4.toByteArray=C,nr$4.fromByteArray=_;for(var u=[],c=[],p=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0,w=l.length;m<w;++m)u[m]=l[m],c[l.charCodeAt(m)]=m;c[45]=62,c[95]=63;function o(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=f.indexOf("=");g===-1&&(g=h);var A=g===h?0:4-g%4;return [g,A]}function E(f){var h=o(f),g=h[0],A=h[1];return (g+A)*3/4-A}function b(f,h,g){return (h+g)*3/4-g}function C(f){var h,g=o(f),A=g[0],v=g[1],P=new p(b(f,A,v)),D=0,F=v>0?A-4:A,L;for(L=0;L<F;L+=4)h=c[f.charCodeAt(L)]<<18|c[f.charCodeAt(L+1)]<<12|c[f.charCodeAt(L+2)]<<6|c[f.charCodeAt(L+3)],P[D++]=h>>16&255,P[D++]=h>>8&255,P[D++]=h&255;return v===2&&(h=c[f.charCodeAt(L)]<<2|c[f.charCodeAt(L+1)]>>4,P[D++]=h&255),v===1&&(h=c[f.charCodeAt(L)]<<10|c[f.charCodeAt(L+1)]<<4|c[f.charCodeAt(L+2)]>>2,P[D++]=h>>8&255,P[D++]=h&255),P}function B(f){return u[f>>18&63]+u[f>>12&63]+u[f>>6&63]+u[f&63]}function k(f,h,g){for(var A,v=[],P=h;P<g;P+=3)A=(f[P]<<16&16711680)+(f[P+1]<<8&65280)+(f[P+2]&255),v.push(B(A));return v.join("")}function _(f){for(var h,g=f.length,A=g%3,v=[],P=16383,D=0,F=g-A;D<F;D+=P)v.push(k(f,D,D+P>F?F:D+P));return A===1?(h=f[g-1],v.push(u[h>>2]+u[h<<4&63]+"==")):A===2&&(h=(f[g-2]<<8)+f[g-1],v.push(u[h>>10]+u[h>>4&63]+u[h<<2&63]+"=")),v.join("")}return nr$4}var pr$5={},Kr$3=!1;function Ve$4(){if(Kr$3)return pr$5;Kr$3=!0;return pr$5.read=function(u,c,p,l,m){var w,o,E=m*8-l-1,b=(1<<E)-1,C=b>>1,B=-7,k=p?m-1:0,_=p?-1:1,f=u[c+k];for(k+=_,w=f&(1<<-B)-1,f>>=-B,B+=E;B>0;w=w*256+u[c+k],k+=_,B-=8);for(o=w&(1<<-B)-1,w>>=-B,B+=l;B>0;o=o*256+u[c+k],k+=_,B-=8);if(w===0)w=1-C;else {if(w===b)return o?NaN:(f?-1:1)*(1/0);o=o+Math.pow(2,l),w=w-C;}return (f?-1:1)*o*Math.pow(2,w-l)},pr$5.write=function(u,c,p,l,m,w){var o,E,b,C=w*8-m-1,B=(1<<C)-1,k=B>>1,_=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=l?0:w-1,h=l?1:-1,g=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(E=isNaN(c)?1:0,o=B):(o=Math.floor(Math.log(c)/Math.LN2),c*(b=Math.pow(2,-o))<1&&(o--,b*=2),o+k>=1?c+=_/b:c+=_*Math.pow(2,1-k),c*b>=2&&(o++,b/=2),o+k>=B?(E=0,o=B):o+k>=1?(E=(c*b-1)*Math.pow(2,m),o=o+k):(E=c*Math.pow(2,k-1)*Math.pow(2,m),o=0));m>=8;u[p+f]=E&255,f+=h,E/=256,m-=8);for(o=o<<m|E,C+=m;C>0;u[p+f]=o&255,f+=h,o/=256,C-=8);u[p+f-h]|=g*128;},pr$5}var j$8={},Hr$2=!1;function Ge$6(){if(Hr$2)return j$8;Hr$2=!0;let u=Oe$4(),c=Ve$4(),p=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j$8.Buffer=o,j$8.SlowBuffer=v,j$8.INSPECT_MAX_BYTES=50;let l=2147483647;j$8.kMaxLength=l,o.TYPED_ARRAY_SUPPORT=m(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m(){try{let e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return !1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function w(e){if(e>l)throw new RangeError('The value "'+e+'" is invalid for option "size"');let r=new Uint8Array(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(e)}return E(e,r,t)}o.poolSize=8192;function E(e,r,t){if(typeof e=="string")return k(e,r);if(ArrayBuffer.isView(e))return f(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return h(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return o.from(n,r,t);let i=g(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return E(e,r,t)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function b(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function C(e,r,t){return b(e),e<=0?w(e):r!==void 0?typeof t=="string"?w(e).fill(r,t):w(e).fill(r):w(e)}o.alloc=function(e,r,t){return C(e,r,t)};function B(e){return b(e),w(e<0?0:A(e)|0)}o.allocUnsafe=function(e){return B(e)},o.allocUnsafeSlow=function(e){return B(e)};function k(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let t=P(e,r)|0,n=w(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function _(e){let r=e.length<0?0:A(e.length)|0,t=w(r);for(let n=0;n<r;n+=1)t[n]=e[n]&255;return t}function f(e){if(O(e,Uint8Array)){let r=new Uint8Array(e);return h(r.buffer,r.byteOffset,r.byteLength)}return _(e)}function h(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,o.prototype),n}function g(e){if(o.isBuffer(e)){let r=A(e.length)|0,t=w(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||gr(e.length)?w(0):_(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _(e.data)}function A(e){if(e>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return e|0}function v(e){return +e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),O(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,i=t.length;for(let s=0,a=Math.min(n,i);s<a;++s)if(r[s]!==t[s]){n=r[s],i=t[s];break}return n<i?-1:i<n?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return !0;default:return !1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;let i=o.allocUnsafe(t),s=0;for(n=0;n<r.length;++n){let a=r[n];if(O(a,Uint8Array))s+a.length>i.length?(o.isBuffer(a)||(a=o.from(a)),a.copy(i,s)):Uint8Array.prototype.set.call(i,a,s);else if(o.isBuffer(a))a.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=a.length;}return i};function P(e,r){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return wr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Or(e).length;default:if(i)return n?-1:wr(e).length;r=(""+r).toLowerCase(),i=!0;}}o.byteLength=P;function D(e,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return "";for(e||(e="utf8");;)switch(e){case"hex":return wt(this,r,t);case"utf8":case"utf-8":return br(this,r,t);case"ascii":return dt(this,r,t);case"latin1":case"binary":return mt(this,r,t);case"base64":return ft(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0;}}o.prototype._isBuffer=!0;function F(e,r,t){let n=e[r];e[r]=e[t],e[t]=n;}o.prototype.swap16=function(){let r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)F(this,t,t+1);return this},o.prototype.swap32=function(){let r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)F(this,t,t+3),F(this,t+1,t+2);return this},o.prototype.swap64=function(){let r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)F(this,t,t+7),F(this,t+1,t+6),F(this,t+2,t+5),F(this,t+3,t+4);return this},o.prototype.toString=function(){let r=this.length;return r===0?"":arguments.length===0?br(this,0,r):D.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="",t=j$8.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},p&&(o.prototype[p]=o.prototype.inspect),o.prototype.compare=function(r,t,n,i,s){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>r.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&t>=n)return 0;if(i>=s)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,s>>>=0,this===r)return 0;let a=s-i,d=n-t,x=Math.min(a,d),I=this.slice(i,s),U=r.slice(t,n);for(let y=0;y<x;++y)if(I[y]!==U[y]){a=I[y],d=U[y];break}return a<d?-1:d<a?1:0};function L(e,r,t,n,i){if(e.length===0)return -1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,gr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return -1;t=e.length-1;}else if(t<0)if(i)t=0;else return -1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:Rr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):Rr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Rr(e,r,t,n,i){let s=1,a=e.length,d=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return -1;s=2,a/=2,d/=2,t/=2;}function x(U,y){return s===1?U[y]:U.readUInt16BE(y*s)}let I;if(i){let U=-1;for(I=t;I<a;I++)if(x(e,I)===x(r,U===-1?0:I-U)){if(U===-1&&(U=I),I-U+1===d)return U*s}else U!==-1&&(I-=I-U),U=-1;}else for(t+d>a&&(t=a-d),I=t;I>=0;I--){let U=!0;for(let y=0;y<d;y++)if(x(e,I+y)!==x(r,y)){U=!1;break}if(U)return I}return -1}o.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1},o.prototype.indexOf=function(r,t,n){return L(this,r,t,n,!0)},o.prototype.lastIndexOf=function(r,t,n){return L(this,r,t,n,!1)};function ut(e,r,t,n){t=Number(t)||0;let i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;let s=r.length;n>s/2&&(n=s/2);let a;for(a=0;a<n;++a){let d=parseInt(r.substr(a*2,2),16);if(gr(d))return a;e[t+a]=d;}return a}function at(e,r,t,n){return ar(wr(r,e.length-t),e,t,n)}function ct(e,r,t,n){return ar(Bt(r),e,t,n)}function pt(e,r,t,n){return ar(Or(r),e,t,n)}function lt(e,r,t,n){return ar(Tt(r,e.length-t),e,t,n)}o.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let s=this.length-t;if((n===void 0||n>s)&&(n=s),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return ut(this,r,t,n);case"utf8":case"utf-8":return at(this,r,t,n);case"ascii":case"latin1":case"binary":return ct(this,r,t,n);case"base64":return pt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lt(this,r,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0;}},o.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(e,r,t){return r===0&&t===e.length?u.fromByteArray(e):u.fromByteArray(e.slice(r,t))}function br(e,r,t){t=Math.min(e.length,t);let n=[],i=r;for(;i<t;){let s=e[i],a=null,d=s>239?4:s>223?3:s>191?2:1;if(i+d<=t){let x,I,U,y;switch(d){case 1:s<128&&(a=s);break;case 2:x=e[i+1],(x&192)===128&&(y=(s&31)<<6|x&63,y>127&&(a=y));break;case 3:x=e[i+1],I=e[i+2],(x&192)===128&&(I&192)===128&&(y=(s&15)<<12|(x&63)<<6|I&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:x=e[i+1],I=e[i+2],U=e[i+3],(x&192)===128&&(I&192)===128&&(U&192)===128&&(y=(s&15)<<18|(x&63)<<12|(I&63)<<6|U&63,y>65535&&y<1114112&&(a=y));}}a===null?(a=65533,d=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=d;}return ht(n)}let Nr=4096;function ht(e){let r=e.length;if(r<=Nr)return String.fromCharCode.apply(String,e);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=Nr));return t}function dt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function mt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function wt(e,r,t){let n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let i="";for(let s=r;s<t;++s)i+=At[e[s]];return i}function gt(e,r,t){let n=e.slice(r,t),i="";for(let s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+n[s+1]*256);return i}o.prototype.slice=function(r,t){let n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);let i=this.subarray(r,t);return Object.setPrototypeOf(i,o.prototype),i};function N(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r+--t],s=1;for(;t>0&&(s*=256);)i+=this[r+--t]*s;return i},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,s=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(i)+(BigInt(s)<<BigInt(32))}),o.prototype.readBigUInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],s=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return (BigInt(i)<<BigInt(32))+BigInt(s)}),o.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=t,s=1,a=this[r+--i];for(;i>0&&(s*=256);)a+=this[r+--i]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*t)),a},o.prototype.readInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return (BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return (BigInt(i)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!1,52,8)};function $(e,r,t,n,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<s)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=1,a=0;for(this[t]=r&255;++a<n&&(s*=256);)this[t+a]=r/s&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=n-1,a=1;for(this[t+s]=r&255;--s>=0&&(a*=256);)this[t+s]=r/a&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function vr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,t}function Mr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t+7]=s,s=s>>8,e[t+6]=s,s=s>>8,e[t+5]=s,s=s>>8,e[t+4]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a=a>>8,e[t+2]=a,a=a>>8,e[t+1]=a,a=a>>8,e[t]=a,t+8}o.prototype.writeBigUInt64LE=Y(function(r,t=0){return vr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=Y(function(r,t=0){return Mr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=0,a=1,d=0;for(this[t]=r&255;++s<n&&(a*=256);)r<0&&d===0&&this[t+s-1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=n-1,a=1,d=0;for(this[t+s]=r&255;--s>=0&&(a*=256);)r<0&&d===0&&this[t+s+1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=Y(function(r,t=0){return vr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=Y(function(r,t=0){return Mr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Cr(e,r,t,n,i,s){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Lr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,4),c.write(e,r,t,n,23,4),t+4}o.prototype.writeFloatLE=function(r,t,n){return Lr(this,r,t,!0,n)},o.prototype.writeFloatBE=function(r,t,n){return Lr(this,r,t,!1,n)};function Dr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,8),c.write(e,r,t,n,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,n){return Dr(this,r,t,!0,n)},o.prototype.writeDoubleBE=function(r,t,n){return Dr(this,r,t,!1,n)},o.prototype.copy=function(r,t,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);let s=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),s},o.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){let a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a);}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let s;if(typeof r=="number")for(s=t;s<n;++s)this[s]=r;else {let a=o.isBuffer(r)?r:o.from(r,i),d=a.length;if(d===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=a[s%d];}return this};let Z={};function mr(e,r,t){Z[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name;}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0});}toString(){return `${this.name} [${e}]: ${this.message}`}};}mr("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),mr("ERR_INVALID_ARG_TYPE",function(e,r){return `The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),mr("ERR_OUT_OF_RANGE",function(e,r,t){let n=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>2**32?i=$r(String(t)):typeof t=="bigint"&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=$r(i)),i+="n"),n+=` It must be ${r}. Received ${i}`,n},RangeError);function $r(e){let r="",t=e.length,n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return `${e.slice(0,t)}${r}`}function yt(e,r,t){rr(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&er(r,e.length-(t+1));}function Fr(e,r,t,n,i,s){if(e>t||e<r){let a=typeof r=="bigint"?"n":"",d;throw r===0||r===BigInt(0)?d=`>= 0${a} and < 2${a} ** ${(s+1)*8}${a}`:d=`>= -(2${a} ** ${(s+1)*8-1}${a}) and < 2 ** ${(s+1)*8-1}${a}`,new Z.ERR_OUT_OF_RANGE("value",d,e)}yt(n,i,s);}function rr(e,r){if(typeof e!="number")throw new Z.ERR_INVALID_ARG_TYPE(r,"number",e)}function er(e,r,t){throw Math.floor(e)!==e?(rr(e,t),new Z.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new Z.ERR_BUFFER_OUT_OF_BOUNDS:new Z.ERR_OUT_OF_RANGE("offset",`>= ${0} and <= ${r}`,e)}let Et=/[^+/0-9A-Za-z-_]/g;function It(e){if(e=e.split("=")[0],e=e.trim().replace(Et,""),e.length<2)return "";for(;e.length%4!==0;)e=e+"=";return e}function wr(e,r){r=r||1/0;let t,n=e.length,i=null,s=[];for(let a=0;a<n;++a){if(t=e.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&s.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&s.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&s.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536;}else i&&(r-=3)>-1&&s.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;s.push(t);}else if(t<2048){if((r-=2)<0)break;s.push(t>>6|192,t&63|128);}else if(t<65536){if((r-=3)<0)break;s.push(t>>12|224,t>>6&63|128,t&63|128);}else if(t<1114112){if((r-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128);}else throw new Error("Invalid code point")}return s}function Bt(e){let r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Tt(e,r){let t,n,i,s=[];for(let a=0;a<e.length&&!((r-=2)<0);++a)t=e.charCodeAt(a),n=t>>8,i=t%256,s.push(i),s.push(n);return s}function Or(e){return u.toByteArray(It(e))}function ar(e,r,t,n){let i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function O(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function gr(e){return e!==e}let At=function(){let e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<16;++i)r[n+i]=e[t]+e[i];}return r}();function Y(e){return typeof BigInt>"u"?xt:e}function xt(){throw new Error("BigInt not supported")}return j$8}var X$7=Ge$6();X$7.Buffer;X$7.SlowBuffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var S$8=X$7.Buffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var Ur$3={};St$1(Ur$3,{deleteItem:()=>We$7,getItem:()=>fr$3,setItem:()=>or$5});var ir$4=()=>typeof window>"u",lr$4=()=>!ir$4();var Ye$6="__IMX-",Ar$4=()=>lr$4()&&window.localStorage,Ke$3=u=>{if(u!==null)try{return JSON.parse(u)}catch{return u}},He$5=u=>typeof u=="string"?u:JSON.stringify(u),xr$4=u=>`${Ye$6}${u}`;function fr$3(u){if(Ar$4())return Ke$3(window.localStorage.getItem(xr$4(u)))}var or$5=(u,c)=>Ar$4()?(window.localStorage.setItem(xr$4(u),He$5(c)),!0):!1,We$7=u=>Ar$4()?(window.localStorage.removeItem(xr$4(u)),!0):!1;var Sr$3=0,Wr$1=u=>{let c=parseInt(u,10)*1e3,p=new Date(c),l=new Date;return Sr$3=p.getTime()-l.getTime(),Sr$3},jr$3=()=>{let u=new Date().getTime()+Sr$3;return new Date(u).toISOString()};var sr$4=(E=>(E.RUNTIME_ID="rid",E.PASSPORT_CLIENT_ID="passportClientId",E.ENVIRONMENT="env",E.PUBLISHABLE_API_KEY="pak",E.IDENTITY="uid",E.DOMAIN="domain",E.SDK_VERSION="sdkVersion",E))(sr$4||{});var Xe$6="https://api.immutable.com";async function hr$4(u,c){let p=axios$1.create({baseURL:Xe$6}),l=JSON.stringify(c),m={payload:S$8.from(l).toString("base64")};return (await p.post(u,m)).data}var q$a,J$6,qe$5=()=>{q$a=fr$3("metrics-events")||[],J$6=fr$3("metrics-runtime")||{};};qe$5();var V$a=(u,c)=>{J$6={...J$6,[u]:c},or$5("metrics-runtime",J$6);},ur$4=u=>{if(J$6[u]!==void 0)return J$6[u]},Xr$1=()=>J$6,qr$2=()=>q$a,Jr$2=u=>{q$a.push(u),or$5("metrics-events",q$a);},zr$2=u=>{q$a=q$a.slice(u),or$5("metrics-events",q$a);},dr$4=u=>{let c=[];return Object.entries(u).forEach(([p,l])=>{(typeof p=="string"||typeof l=="string"||typeof l=="number"||typeof l=="boolean")&&c.push([p,l.toString()]);}),c};var kr$3="2.0.1",Je$5=()=>ir$4()?"":window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?new URL(window.location.ancestorOrigins[0]).hostname:document.referrer?new URL(window.document.referrer).hostname:"",ze$5=()=>{if(ir$4())return "";let u;try{window.self!==window.top&&(u=Je$5());}catch{}return u||(u=window.location.hostname),u},Qe$5=()=>{if(V$a("sdkVersion",kr$3),ir$4())return {browser:"nodejs",sdkVersion:kr$3};let u=ze$5();return u&&V$a("domain",u),{sdkVersion:kr$3,browser:window.navigator.userAgent,domain:u,tz:Intl.DateTimeFormat().resolvedOptions().timeZone,screen:`${window.screen.width}x${window.screen.height}`}},_r$3=!1,Qr$2=()=>_r$3,Zr$1=async()=>{_r$3=!0;try{let u=dr$4(Qe$5()),c=ur$4("rid"),p=ur$4("uid"),m=await hr$4("/v1/sdk/initialise",{version:1,data:{runtimeDetails:u,runtimeId:c,uId:p}}),{runtimeId:w,sTime:o}=m;V$a("rid",w),Wr$1(o);}catch{_r$3=!1;}};function R$5(u,c){return (...p)=>{try{let l=u(...p);return l instanceof Promise?l.catch(()=>c):l}catch{return c}}}function Ze$5(){return lr$4()||typeof T$8>"u"?!1:T$8.env.JEST_WORKER_ID!==void 0}var rt$4=R$5(Ze$5,!1);var et$4="imtbl__metrics",tn$2=5e3,en$2=1e3,z$c=(u,c)=>getGlobalisedValue_1(et$4,u,c),nt$3=(u,c)=>{let p=memorise(c,{lruOptions:{ttl:tn$2,max:en$2}});return getGlobalisedValue_1(et$4,u,p)};var nn$1=5e3,on$1=(u,c,p)=>{let l={event:`${u}.${c}`,time:jr$3(),...p&&{properties:dr$4(p)}};Jr$2(l);},Q$9=R$5(nt$3("track",on$1)),sn$1=async()=>{if(Qr$2()===!1){await Zr$1();return}let u=qr$2();if(u.length===0)return;let c=u.length,p=Xr$1();await hr$4("/v1/sdk/metrics",{version:1,data:{events:u,details:p}})instanceof Error||zr$2(c);},un=R$5(sn$1),ot$3=async()=>{await un(),setTimeout(ot$3,nn$1);},it$2=!1,an$1=()=>{it$2||(it$2=!0,ot$3());};rt$4()||R$5(z$c("startFlushing",an$1))();var Pr$4=(u,c,p,l)=>Q$9(u,c,{...l||{},duration:Math.round(p)});var st$4=()=>{let u=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return `${u()}${u()}-${u()}-${u()}-${u()}-${u()}${u()}${u()}`};var cn$1=(...u)=>{if(!u.some(l=>!!l))return {};let p={};return u.forEach(l=>{l&&(p={...p,...l});}),p},pn$1=u=>u.replace(/[^a-zA-Z0-9\s\-_]/g,""),ln$1=(u,c)=>`${u}_${pn$1(c)}`,fn=(u,c,p=!0,l)=>{let m=st$4(),w=Date.now(),o=0,E=0,b={},C=(..._)=>cn$1(b,..._,{flowId:m,flowName:c});b=C(l);let B=_=>{_&&(b=C(_));},k=(_,f)=>{let h=ln$1(c,_),g=0,A=performance.now();o>0&&(g=A-E);let v=C(f,{flowEventName:_,flowStep:o});Pr$4(u,h,g,v),o++,E=A;};return p&&k("Start"),{details:{moduleName:u,flowName:c,flowId:m,flowStartTime:w},addEvent:R$5(k),addFlowProperties:R$5(B)}},hn=R$5(fn);var dn$2=(u,c,p,l)=>{let{message:m}=p,w=p.stack||"",{cause:o}=p;o instanceof Error&&(w=`${w}
4113
4113
  Cause: ${o.message}
4114
4114
  ${o.stack}`),Q$9(u,`trackError_${c}`,{...l||{},errorMessage:m,errorStack:w,isTrackError:!0});},mn$1=R$5(dn$2);var En$2=u=>{V$a("env",u);},In$1=R$5(z$c("setEnvironment",En$2)),Bn=u=>{V$a("passportClientId",u);};R$5(z$c("setPassportClientId",Bn));var An=u=>{V$a("pak",u);};R$5(z$c("setPublishableApiKey",An));R$5(z$c("getDetail",ur$4));
4115
4115
 
@@ -101926,55 +101926,47 @@ const coerce$2 = (version, options) => {
101926
101926
  };
101927
101927
  var coerce_1 = coerce$2;
101928
101928
 
101929
- var lrucache;
101930
- var hasRequiredLrucache;
101931
-
101932
- function requireLrucache () {
101933
- if (hasRequiredLrucache) return lrucache;
101934
- hasRequiredLrucache = 1;
101935
- class LRUCache {
101936
- constructor () {
101937
- this.max = 1000;
101938
- this.map = new Map();
101939
- }
101940
-
101941
- get (key) {
101942
- const value = this.map.get(key);
101943
- if (value === undefined) {
101944
- return undefined
101945
- } else {
101946
- // Remove the key from the map and add it to the end
101947
- this.map.delete(key);
101948
- this.map.set(key, value);
101949
- return value
101950
- }
101951
- }
101929
+ class LRUCache {
101930
+ constructor () {
101931
+ this.max = 1000;
101932
+ this.map = new Map();
101933
+ }
101952
101934
 
101953
- delete (key) {
101954
- return this.map.delete(key)
101955
- }
101935
+ get (key) {
101936
+ const value = this.map.get(key);
101937
+ if (value === undefined) {
101938
+ return undefined
101939
+ } else {
101940
+ // Remove the key from the map and add it to the end
101941
+ this.map.delete(key);
101942
+ this.map.set(key, value);
101943
+ return value
101944
+ }
101945
+ }
101956
101946
 
101957
- set (key, value) {
101958
- const deleted = this.delete(key);
101947
+ delete (key) {
101948
+ return this.map.delete(key)
101949
+ }
101959
101950
 
101960
- if (!deleted && value !== undefined) {
101961
- // If cache is full, delete the least recently used item
101962
- if (this.map.size >= this.max) {
101963
- const firstKey = this.map.keys().next().value;
101964
- this.delete(firstKey);
101965
- }
101951
+ set (key, value) {
101952
+ const deleted = this.delete(key);
101966
101953
 
101967
- this.map.set(key, value);
101968
- }
101954
+ if (!deleted && value !== undefined) {
101955
+ // If cache is full, delete the least recently used item
101956
+ if (this.map.size >= this.max) {
101957
+ const firstKey = this.map.keys().next().value;
101958
+ this.delete(firstKey);
101959
+ }
101969
101960
 
101970
- return this
101971
- }
101972
- }
101961
+ this.map.set(key, value);
101962
+ }
101973
101963
 
101974
- lrucache = LRUCache;
101975
- return lrucache;
101964
+ return this
101965
+ }
101976
101966
  }
101977
101967
 
101968
+ var lrucache = LRUCache;
101969
+
101978
101970
  var range$2;
101979
101971
  var hasRequiredRange;
101980
101972
 
@@ -102195,7 +102187,7 @@ function requireRange () {
102195
102187
 
102196
102188
  range$2 = Range;
102197
102189
 
102198
- const LRU = requireLrucache();
102190
+ const LRU = lrucache;
102199
102191
  const cache = new LRU();
102200
102192
 
102201
102193
  const parseOptions = parseOptions_1;
@@ -112839,7 +112831,7 @@ function snapshot(proxyObject, handlePromise) {
112839
112831
 
112840
112832
  const o$3=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T$5={state:o$3,subscribe(e){return subscribe(o$3,()=>e(o$3))},push(e,t){e!==o$3.view&&(o$3.view=e,t&&(o$3.data=t),o$3.history.push(e));},reset(e){o$3.view=e,o$3.history=[e];},replace(e){o$3.history.length>1&&(o$3.history[o$3.history.length-1]=e,o$3.view=e);},goBack(){if(o$3.history.length>1){o$3.history.pop();const[e]=o$3.history.slice(-1);o$3.view=e;}},setData(e){o$3.data=e;}},a$3={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$3.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$3.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$3.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$3.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$3.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$3.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$3.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$3.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T$5.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},_$2=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),r$5=proxy({enabled:_$2,userSessionId:"",events:[],connectedWalletId:void 0}),R$2={state:r$5,subscribe(e){return subscribe(r$5.events,()=>e(snapshot(r$5.events[r$5.events.length-1])))},initialize(){r$5.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r$5.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r$5.connectedWalletId=e;},click(e){if(r$5.enabled){const t={type:"CLICK",name:e.name,userSessionId:r$5.userSessionId,timestamp:Date.now(),data:e};r$5.events.push(t);}},track(e){if(r$5.enabled){const t={type:"TRACK",name:e.name,userSessionId:r$5.userSessionId,timestamp:Date.now(),data:e};r$5.events.push(t);}},view(e){if(r$5.enabled){const t={type:"VIEW",name:e.name,userSessionId:r$5.userSessionId,timestamp:Date.now(),data:e};r$5.events.push(t);}}},c$5=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$a={state:c$5,subscribe(e){return subscribe(c$5,()=>e(c$5))},setChains(e){c$5.chains=e;},setWalletConnectUri(e){c$5.walletConnectUri=e;},setIsCustomDesktop(e){c$5.isCustomDesktop=e;},setIsCustomMobile(e){c$5.isCustomMobile=e;},setIsDataLoaded(e){c$5.isDataLoaded=e;},setIsUiLoaded(e){c$5.isUiLoaded=e;},setIsAuth(e){c$5.isAuth=e;}},W$2=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$9={state:W$2,subscribe(e){return subscribe(W$2,()=>e(W$2))},setConfig(e){var t,s;R$2.initialize(),p$a.setChains(e.chains),p$a.setIsAuth(Boolean(e.enableAuthMode)),p$a.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$a.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$3.setModalVersionInStorage(),Object.assign(W$2,e);}};var V$4=Object.defineProperty,D$4=Object.getOwnPropertySymbols,H$2=Object.prototype.hasOwnProperty,B$4=Object.prototype.propertyIsEnumerable,M$5=(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$2.call(t,s)&&M$5(e,s,t[s]);if(D$4)for(var s of D$4(t))B$4.call(t,s)&&M$5(e,s,t[s]);return e};const L$7="https://explorer-api.walletconnect.com",E$7="wcm",O$5="js-2.6.2";async function w$6(e,t){const s=K$4({sdkType:E$7,sdkVersion:O$5},t),n=new URL(e,L$7);return n.searchParams.append("projectId",y$9.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$5={async getDesktopListings(e){return w$6("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$6("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$6("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$6("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$7}/w3m/v1/getWalletImage/${e}?projectId=${y$9.state.projectId}&sdkType=${E$7}&sdkVersion=${O$5}`},getAssetImageUrl(e){return `${L$7}/w3m/v1/getAssetImage/${e}?projectId=${y$9.state.projectId}&sdkType=${E$7}&sdkVersion=${O$5}`}};var z$8=Object.defineProperty,j$5=Object.getOwnPropertySymbols,J$2=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$4=(e,t,s)=>t in e?z$8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$1=(e,t)=>{for(var s in t||(t={}))J$2.call(t,s)&&k$4(e,s,t[s]);if(j$5)for(var s of j$5(t))q$5.call(t,s)&&k$4(e,s,t[s]);return e};const N$3=a$3.isMobile(),d$6=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$3={state:d$6,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$9.state;if(e==="NONE"||t==="ALL"&&!e)return d$6.recomendedWallets;if(a$3.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$5.getAllListings(s),i=Object.values(n);i.sort((l,v)=>{const b=e.indexOf(l.id),f=e.indexOf(v.id);return b-f}),d$6.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$a.state,i=s?.join(","),l=a$3.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$3.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$3?await m$5.getMobileListings(v):await m$5.getDesktopListings(v);d$6.recomendedWallets=Object.values(b);}return d$6.recomendedWallets},async getWallets(e){const t=F$1({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$9.state,{recomendedWallets:i}=d$6;if(n==="ALL")return d$6.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$3.isArray(s)&&(t.excludedIds=s.join(",")),a$3.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$a.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$3?await m$5.getMobileListings(t):await m$5.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$6[U]={listings:[...d$6[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$5.getWalletImageUrl(e)},getAssetImageUrl(e){return m$5.getAssetImageUrl(e)},resetSearch(){d$6.search={listings:[],total:0,page:1};}},I$4=proxy({open:!1}),se$3={state:I$4,subscribe(e){return subscribe(I$4,()=>e(I$4))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$a.state;if(a$3.removeWalletConnectDeepLink(),p$a.setWalletConnectUri(e?.uri),p$a.setChains(e?.chains),T$5.reset("ConnectWallet"),s&&n)I$4.open=!0,t();else {const i=setInterval(()=>{const l=p$a.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$4.open=!0,t());},200);}})},close(){I$4.open=!1;}};var G$2=Object.defineProperty,$$1=Object.getOwnPropertySymbols,Q$5=Object.prototype.hasOwnProperty,X$3=Object.prototype.propertyIsEnumerable,S$5=(e,t,s)=>t in e?G$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y$2=(e,t)=>{for(var s in t||(t={}))Q$5.call(t,s)&&S$5(e,s,t[s]);if($$1)for(var s of $$1(t))X$3.call(t,s)&&S$5(e,s,t[s]);return e};function Z$3(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C$6=proxy({themeMode:Z$3()?"dark":"light"}),ne$4={state:C$6,subscribe(e){return subscribe(C$6,()=>e(C$6))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C$6.themeMode=t),s&&(C$6.themeVariables=Y$2({},s));}},g$6=proxy({open:!1,message:"",variant:"success"}),oe$4={state:g$6,subscribe(e){return subscribe(g$6,()=>e(g$6))},openToast(e,t){g$6.open=!0,g$6.message=e,g$6.variant=t;},closeToast(){g$6.open=!1;}};
112841
112833
 
112842
- let d$5 = class d{constructor(e){this.openModal=se$3.open,this.closeModal=se$3.close,this.subscribeModal=se$3.subscribe,this.setTheme=ne$4.setThemeConfig,ne$4.setThemeConfig(e),y$9.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-CBO9u-8Q.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$a.setIsUiLoaded(!0);}}};
112834
+ let d$5 = class d{constructor(e){this.openModal=se$3.open,this.closeModal=se$3.close,this.subscribeModal=se$3.subscribe,this.setTheme=ne$4.setThemeConfig,ne$4.setThemeConfig(e),y$9.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-CgtzAiRl.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$a.setIsUiLoaded(!0);}}};
112843
112835
 
112844
112836
  var index$1 = /*#__PURE__*/Object.freeze({
112845
112837
  __proto__: null,
@@ -129230,7 +129222,7 @@ var Analytics = /** @class */ (function (_super) {
129230
129222
  return __generator(this, function (_b) {
129231
129223
  switch (_b.label) {
129232
129224
  case 0: return [4 /*yield*/, import(
129233
- /* webpackChunkName: "auto-track" */ './auto-track-CaL-84Ic.js')];
129225
+ /* webpackChunkName: "auto-track" */ './auto-track-JOjroBI7.js')];
129234
129226
  case 1:
129235
129227
  autotrack = _b.sent();
129236
129228
  return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -129249,7 +129241,7 @@ var Analytics = /** @class */ (function (_super) {
129249
129241
  return __generator(this, function (_b) {
129250
129242
  switch (_b.label) {
129251
129243
  case 0: return [4 /*yield*/, import(
129252
- /* webpackChunkName: "auto-track" */ './auto-track-CaL-84Ic.js')];
129244
+ /* webpackChunkName: "auto-track" */ './auto-track-JOjroBI7.js')];
129253
129245
  case 1:
129254
129246
  autotrack = _b.sent();
129255
129247
  return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -129268,7 +129260,7 @@ var Analytics = /** @class */ (function (_super) {
129268
129260
  return __generator(this, function (_b) {
129269
129261
  switch (_b.label) {
129270
129262
  case 0: return [4 /*yield*/, import(
129271
- /* webpackChunkName: "auto-track" */ './auto-track-CaL-84Ic.js')];
129263
+ /* webpackChunkName: "auto-track" */ './auto-track-JOjroBI7.js')];
129272
129264
  case 1:
129273
129265
  autotrack = _b.sent();
129274
129266
  return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -129287,7 +129279,7 @@ var Analytics = /** @class */ (function (_super) {
129287
129279
  return __generator(this, function (_b) {
129288
129280
  switch (_b.label) {
129289
129281
  case 0: return [4 /*yield*/, import(
129290
- /* webpackChunkName: "auto-track" */ './auto-track-CaL-84Ic.js')];
129282
+ /* webpackChunkName: "auto-track" */ './auto-track-JOjroBI7.js')];
129291
129283
  case 1:
129292
129284
  autotrack = _b.sent();
129293
129285
  return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -129437,7 +129429,7 @@ var Analytics = /** @class */ (function (_super) {
129437
129429
  return [2 /*return*/, []];
129438
129430
  }
129439
129431
  return [4 /*yield*/, import(
129440
- /* webpackChunkName: "queryString" */ './index-BtnAkpe9.js')];
129432
+ /* webpackChunkName: "queryString" */ './index-Dxxx1Plc.js')];
129441
129433
  case 1:
129442
129434
  queryString = (_a.sent()).queryString;
129443
129435
  return [2 /*return*/, queryString(this, query)];
@@ -132141,7 +132133,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
132141
132133
  case 0:
132142
132134
  if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
132143
132135
  return [4 /*yield*/, import(
132144
- /* webpackChunkName: "tsub-middleware" */ './index-Hh-ME3UA.js').then(function (mod) {
132136
+ /* webpackChunkName: "tsub-middleware" */ './index-C-YvdgBA.js').then(function (mod) {
132145
132137
  return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
132146
132138
  })];
132147
132139
  case 1:
@@ -132154,7 +132146,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
132154
132146
  tsubMiddleware = _d;
132155
132147
  if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
132156
132148
  return [4 /*yield*/, import(
132157
- /* webpackChunkName: "ajs-destination" */ './index-BVzeDoH7.js').then(function (mod) {
132149
+ /* webpackChunkName: "ajs-destination" */ './index-BelCgvGe.js').then(function (mod) {
132158
132150
  return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
132159
132151
  })];
132160
132152
  case 4:
@@ -132167,7 +132159,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
132167
132159
  legacyDestinations = _e;
132168
132160
  if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
132169
132161
  return [4 /*yield*/, import(
132170
- /* webpackChunkName: "legacyVideos" */ './index-Cl7BUGHV.js').then(function (mod) {
132162
+ /* webpackChunkName: "legacyVideos" */ './index-dG6IYZLA.js').then(function (mod) {
132171
132163
  return mod.loadLegacyVideoPlugins(analytics);
132172
132164
  })];
132173
132165
  case 7:
@@ -132176,7 +132168,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
132176
132168
  case 8:
132177
132169
  if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
132178
132170
  return [4 /*yield*/, import(
132179
- /* webpackChunkName: "schemaFilter" */ './index-JHffH8Bm.js').then(function (mod) {
132171
+ /* webpackChunkName: "schemaFilter" */ './index-D92YAIQ_.js').then(function (mod) {
132180
132172
  var _a;
132181
132173
  return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
132182
132174
  })];
@@ -132215,7 +132207,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
132215
132207
  return enabled;
132216
132208
  })) return [3 /*break*/, 17];
132217
132209
  return [4 /*yield*/, import(
132218
- /* webpackChunkName: "remoteMiddleware" */ './index-BI7vXlHL.js').then(function (_a) {
132210
+ /* webpackChunkName: "remoteMiddleware" */ './index-B34KMwoF.js').then(function (_a) {
132219
132211
  var remoteMiddlewares = _a.remoteMiddlewares;
132220
132212
  return __awaiter$5(_this, void 0, void 0, function () {
132221
132213
  var middleware, promises;
@@ -220941,7 +220933,7 @@ const useProvidersContext = () => {
220941
220933
  return context;
220942
220934
  };
220943
220935
 
220944
- const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-C32-7Pge.js'));
220936
+ const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-smU6E1HL.js'));
220945
220937
  class AddTokens extends Base$3 {
220946
220938
  eventTopic = uo.IMTBL_ADD_TOKENS_WIDGET_EVENT;
220947
220939
  getValidatedProperties({ config, }) {
@@ -220985,7 +220977,7 @@ class AddTokens extends Base$3 {
220985
220977
  }
220986
220978
  }
220987
220979
 
220988
- const BridgeWidget = React.lazy(() => import('./BridgeWidget-DHmmZrLe.js'));
220980
+ const BridgeWidget = React.lazy(() => import('./BridgeWidget-BLhoD-g_.js'));
220989
220981
  class Bridge extends Base$3 {
220990
220982
  eventTopic = uo.IMTBL_BRIDGE_WIDGET_EVENT;
220991
220983
  getValidatedProperties({ config }) {
@@ -221140,7 +221132,7 @@ const commerceFlows = [
221140
221132
  Oo$1.PURCHASE,
221141
221133
  ];
221142
221134
 
221143
- const CommerceWidget = React.lazy(() => import('./CommerceWidget-DinG6S2H.js'));
221135
+ const CommerceWidget = React.lazy(() => import('./CommerceWidget-BIw52c7d.js'));
221144
221136
  class CommerceWidgetRoot extends Base$3 {
221145
221137
  eventTopic = uo.IMTBL_COMMERCE_WIDGET_EVENT;
221146
221138
  getValidatedProperties({ config, }) {
@@ -223376,7 +223368,7 @@ const orchestrationEvents = {
223376
223368
  sendRequestAddTokensEvent,
223377
223369
  };
223378
223370
 
223379
- const OnRampWidget = React.lazy(() => import('./OnRampWidget-B54_6G-f.js'));
223371
+ const OnRampWidget = React.lazy(() => import('./OnRampWidget-rQOvV5pr.js'));
223380
223372
  class OnRamp extends Base$3 {
223381
223373
  eventTopic = uo.IMTBL_ONRAMP_WIDGET_EVENT;
223382
223374
  getValidatedProperties({ config }) {
@@ -223514,7 +223506,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
223514
223506
  eventTarget.dispatchEvent(event);
223515
223507
  };
223516
223508
 
223517
- const SaleWidget = React.lazy(() => import('./SaleWidget-Cuen5aW7.js'));
223509
+ const SaleWidget = React.lazy(() => import('./SaleWidget-W1opeBS6.js'));
223518
223510
  class Sale extends Base$3 {
223519
223511
  eventTopic = uo.IMTBL_SALE_WIDGET_EVENT;
223520
223512
  // TODO: add specific validation logic for the sale items
@@ -223663,7 +223655,7 @@ const sendSwapRejectedEvent = (eventTarget, reason) => {
223663
223655
  eventTarget.dispatchEvent(rejectedEvent);
223664
223656
  };
223665
223657
 
223666
- const SwapWidget = React.lazy(() => import('./SwapWidget-j_nEgqk4.js'));
223658
+ const SwapWidget = React.lazy(() => import('./SwapWidget-C6nx0Q9I.js'));
223667
223659
  class Swap extends Base$3 {
223668
223660
  eventTopic = uo.IMTBL_SWAP_WIDGET_EVENT;
223669
223661
  getValidatedProperties({ config }) {
@@ -223765,7 +223757,7 @@ function sendDisconnectWalletEvent(eventTarget) {
223765
223757
  eventTarget.dispatchEvent(disconnectWalletEvent);
223766
223758
  }
223767
223759
 
223768
- const WalletWidget = React.lazy(() => import('./WalletWidget-B0Up4Cre.js'));
223760
+ const WalletWidget = React.lazy(() => import('./WalletWidget-DtDJPR8s.js'));
223769
223761
  class Wallet extends Base$3 {
223770
223762
  eventTopic = uo.IMTBL_WALLET_WIDGET_EVENT;
223771
223763
  getValidatedProperties({ config }) {
@@ -1,4 +1,4 @@
1
- import { dA as __awaiter, dB as __generator } from './index-Skcajiao.js';
1
+ import { dA as __awaiter, dB as __generator } from './index-QbUM4Iz2.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-C0PZl9Xk.js').then(function (n) { return n.i; })
10
+ './index.umd-CoqdQtVC.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
@@ -4137,7 +4137,7 @@
4137
4137
  };
4138
4138
  lib$N.clearGlobalNamespace = clearGlobalNamespace;
4139
4139
 
4140
- var Ut$3=Object.defineProperty;var St$2=(u,c)=>{for(var p in c)Ut$3(u,p,{get:c[p],enumerable:!0});};function Br$2(u){throw new Error("Node.js process "+u+" is not supported by JSPM core outside of Node.js")}var G$8=[],tr$3=!1,W$7,cr$6=-1;function kt$3(){!tr$3||!W$7||(tr$3=!1,W$7.length?G$8=W$7.concat(G$8):cr$6=-1,G$8.length&&Vr$2());}function Vr$2(){if(!tr$3){var u=setTimeout(kt$3,0);tr$3=!0;for(var c=G$8.length;c;){for(W$7=G$8,G$8=[];++cr$6<c;)W$7&&W$7[cr$6].run();cr$6=-1,c=G$8.length;}W$7=null,tr$3=!1,clearTimeout(u);}}function _t$3(u){var c=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)c[p-1]=arguments[p];G$8.push(new Gr$2(u,c)),G$8.length===1&&!tr$3&&setTimeout(Vr$2,0);}function Gr$2(u,c){this.fun=u,this.array=c;}Gr$2.prototype.run=function(){this.fun.apply(null,this.array);};var Pt$3="browser",Rt$3="x64",bt$3="browser",Nt$3={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},vt$2=["/usr/bin/node"],Mt$2=[],Ct$4="v16.8.0",Lt$4={},Dt$3=function(u,c){console.warn((c?c+": ":"")+u);},$t$4=function(u){Br$2("binding");},Ft$3=function(u){return 0},Ot$4=function(){return "/"},Vt$2=function(u){},Gt$4={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};function M$9(){}var Yt$4=M$9,Kt$6=[];function Ht$4(u){Br$2("_linkedBinding");}var Wt$4={},jt$4=!1,Xt$6={};function qt$4(u){Br$2("dlopen");}function Jt$6(){return []}function zt$4(){return []}var Qt$3=M$9,Zt$4=M$9,Tr$3=function(){return {}},re$a=Tr$3,te$7=Tr$3,ee$6=M$9,ne$7=M$9,ie$8=M$9,oe$9={};function se$7(u,c){if(!u)throw new Error(c||"assertion error")}var ue$6={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},ae$5=M$9,ce$6=M$9;function pe$5(){return !1}var le$6=M$9,fe$7=M$9,he$5=M$9,de$7=M$9,me$7=M$9,we$7=void 0,ge$6=void 0,ye$8=void 0,Ee$6=M$9,Ie$4=2,Be$7=1,Te$3="/bin/usr/node",Ae$6=9229,xe$6="node",Ue$7=[],Se$5=M$9,K$b={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};K$b.now===void 0&&(yr$4=Date.now(),K$b.timing&&K$b.timing.navigationStart&&(yr$4=K$b.timing.navigationStart),K$b.now=()=>Date.now()-yr$4);var yr$4;function ke$7(){return K$b.now()/1e3}var Er$3=1e9;function Ir$3(u){var c=Math.floor((Date.now()-K$b.now())*.001),p=K$b.now()*.001,l=Math.floor(p)+c,m=Math.floor(p%1*1e9);return u&&(l=l-u[0],m=m-u[1],m<0&&(l--,m+=Er$3)),[l,m]}Ir$3.bigint=function(u){var c=Ir$3(u);return typeof BigInt>"u"?c[0]*Er$3+c[1]:BigInt(c[0]*Er$3)+BigInt(c[1])};var _e$6=10,Pe$6={},Re$8=0;function H$8(){return T$a}var be$6=H$8,Ne$4=H$8,ve$7=H$8,Me$5=H$8,Ce$6=H$8,Le$6=M$9,De$7=H$8,$e$7=H$8;function Fe$5(u){return []}var T$a={version:Ct$4,versions:Lt$4,arch:Rt$3,platform:bt$3,release:Gt$4,_rawDebug:Yt$4,moduleLoadList:Kt$6,binding:$t$4,_linkedBinding:Ht$4,_events:Pe$6,_eventsCount:Re$8,_maxListeners:_e$6,on:H$8,addListener:be$6,once:Ne$4,off:ve$7,removeListener:Me$5,removeAllListeners:Ce$6,emit:Le$6,prependListener:De$7,prependOnceListener:$e$7,listeners:Fe$5,domain:Wt$4,_exiting:jt$4,config:Xt$6,dlopen:qt$4,uptime:ke$7,_getActiveRequests:Jt$6,_getActiveHandles:zt$4,reallyExit:Qt$3,_kill:Zt$4,cpuUsage:Tr$3,resourceUsage:re$a,memoryUsage:te$7,kill:ee$6,exit:ne$7,openStdin:ie$8,allowedNodeEnvironmentFlags:oe$9,assert:se$7,features:ue$6,_fatalExceptions:ae$5,setUncaughtExceptionCaptureCallback:ce$6,hasUncaughtExceptionCaptureCallback:pe$5,emitWarning:Dt$3,nextTick:_t$3,_tickCallback:le$6,_debugProcess:fe$7,_debugEnd:he$5,_startProfilerIdleNotifier:de$7,_stopProfilerIdleNotifier:me$7,stdout:we$7,stdin:ye$8,stderr:ge$6,abort:Ee$6,umask:Ft$3,chdir:Vt$2,cwd:Ot$4,env:Nt$3,title:Pt$3,argv:vt$2,execArgv:Mt$2,pid:Ie$4,ppid:Be$7,execPath:Te$3,debugPort:Ae$6,hrtime:Ir$3,argv0:xe$6,_preload_modules:Ue$7,setSourceMapsEnabled:Se$5};var nr$5={},Yr$1=!1;function Oe$5(){if(Yr$1)return nr$5;Yr$1=!0,nr$5.byteLength=E,nr$5.toByteArray=C,nr$5.fromByteArray=_;for(var u=[],c=[],p=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0,w=l.length;m<w;++m)u[m]=l[m],c[l.charCodeAt(m)]=m;c[45]=62,c[95]=63;function o(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=f.indexOf("=");g===-1&&(g=h);var A=g===h?0:4-g%4;return [g,A]}function E(f){var h=o(f),g=h[0],A=h[1];return (g+A)*3/4-A}function b(f,h,g){return (h+g)*3/4-g}function C(f){var h,g=o(f),A=g[0],v=g[1],P=new p(b(f,A,v)),D=0,F=v>0?A-4:A,L;for(L=0;L<F;L+=4)h=c[f.charCodeAt(L)]<<18|c[f.charCodeAt(L+1)]<<12|c[f.charCodeAt(L+2)]<<6|c[f.charCodeAt(L+3)],P[D++]=h>>16&255,P[D++]=h>>8&255,P[D++]=h&255;return v===2&&(h=c[f.charCodeAt(L)]<<2|c[f.charCodeAt(L+1)]>>4,P[D++]=h&255),v===1&&(h=c[f.charCodeAt(L)]<<10|c[f.charCodeAt(L+1)]<<4|c[f.charCodeAt(L+2)]>>2,P[D++]=h>>8&255,P[D++]=h&255),P}function B(f){return u[f>>18&63]+u[f>>12&63]+u[f>>6&63]+u[f&63]}function k(f,h,g){for(var A,v=[],P=h;P<g;P+=3)A=(f[P]<<16&16711680)+(f[P+1]<<8&65280)+(f[P+2]&255),v.push(B(A));return v.join("")}function _(f){for(var h,g=f.length,A=g%3,v=[],P=16383,D=0,F=g-A;D<F;D+=P)v.push(k(f,D,D+P>F?F:D+P));return A===1?(h=f[g-1],v.push(u[h>>2]+u[h<<4&63]+"==")):A===2&&(h=(f[g-2]<<8)+f[g-1],v.push(u[h>>10]+u[h>>4&63]+u[h<<2&63]+"=")),v.join("")}return nr$5}var pr$5={},Kr$3=!1;function Ve$5(){if(Kr$3)return pr$5;Kr$3=!0;return pr$5.read=function(u,c,p,l,m){var w,o,E=m*8-l-1,b=(1<<E)-1,C=b>>1,B=-7,k=p?m-1:0,_=p?-1:1,f=u[c+k];for(k+=_,w=f&(1<<-B)-1,f>>=-B,B+=E;B>0;w=w*256+u[c+k],k+=_,B-=8);for(o=w&(1<<-B)-1,w>>=-B,B+=l;B>0;o=o*256+u[c+k],k+=_,B-=8);if(w===0)w=1-C;else {if(w===b)return o?NaN:(f?-1:1)*(1/0);o=o+Math.pow(2,l),w=w-C;}return (f?-1:1)*o*Math.pow(2,w-l)},pr$5.write=function(u,c,p,l,m,w){var o,E,b,C=w*8-m-1,B=(1<<C)-1,k=B>>1,_=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=l?0:w-1,h=l?1:-1,g=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(E=isNaN(c)?1:0,o=B):(o=Math.floor(Math.log(c)/Math.LN2),c*(b=Math.pow(2,-o))<1&&(o--,b*=2),o+k>=1?c+=_/b:c+=_*Math.pow(2,1-k),c*b>=2&&(o++,b/=2),o+k>=B?(E=0,o=B):o+k>=1?(E=(c*b-1)*Math.pow(2,m),o=o+k):(E=c*Math.pow(2,k-1)*Math.pow(2,m),o=0));m>=8;u[p+f]=E&255,f+=h,E/=256,m-=8);for(o=o<<m|E,C+=m;C>0;u[p+f]=o&255,f+=h,o/=256,C-=8);u[p+f-h]|=g*128;},pr$5}var j$9={},Hr$2=!1;function Ge$7(){if(Hr$2)return j$9;Hr$2=!0;let u=Oe$5(),c=Ve$5(),p=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j$9.Buffer=o,j$9.SlowBuffer=v,j$9.INSPECT_MAX_BYTES=50;let l=2147483647;j$9.kMaxLength=l,o.TYPED_ARRAY_SUPPORT=m(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m(){try{let e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return !1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function w(e){if(e>l)throw new RangeError('The value "'+e+'" is invalid for option "size"');let r=new Uint8Array(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(e)}return E(e,r,t)}o.poolSize=8192;function E(e,r,t){if(typeof e=="string")return k(e,r);if(ArrayBuffer.isView(e))return f(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return h(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return o.from(n,r,t);let i=g(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return E(e,r,t)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function b(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function C(e,r,t){return b(e),e<=0?w(e):r!==void 0?typeof t=="string"?w(e).fill(r,t):w(e).fill(r):w(e)}o.alloc=function(e,r,t){return C(e,r,t)};function B(e){return b(e),w(e<0?0:A(e)|0)}o.allocUnsafe=function(e){return B(e)},o.allocUnsafeSlow=function(e){return B(e)};function k(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let t=P(e,r)|0,n=w(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function _(e){let r=e.length<0?0:A(e.length)|0,t=w(r);for(let n=0;n<r;n+=1)t[n]=e[n]&255;return t}function f(e){if(O(e,Uint8Array)){let r=new Uint8Array(e);return h(r.buffer,r.byteOffset,r.byteLength)}return _(e)}function h(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,o.prototype),n}function g(e){if(o.isBuffer(e)){let r=A(e.length)|0,t=w(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||gr(e.length)?w(0):_(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _(e.data)}function A(e){if(e>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return e|0}function v(e){return +e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),O(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,i=t.length;for(let s=0,a=Math.min(n,i);s<a;++s)if(r[s]!==t[s]){n=r[s],i=t[s];break}return n<i?-1:i<n?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return !0;default:return !1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;let i=o.allocUnsafe(t),s=0;for(n=0;n<r.length;++n){let a=r[n];if(O(a,Uint8Array))s+a.length>i.length?(o.isBuffer(a)||(a=o.from(a)),a.copy(i,s)):Uint8Array.prototype.set.call(i,a,s);else if(o.isBuffer(a))a.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=a.length;}return i};function P(e,r){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return wr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Or(e).length;default:if(i)return n?-1:wr(e).length;r=(""+r).toLowerCase(),i=!0;}}o.byteLength=P;function D(e,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return "";for(e||(e="utf8");;)switch(e){case"hex":return wt(this,r,t);case"utf8":case"utf-8":return br(this,r,t);case"ascii":return dt(this,r,t);case"latin1":case"binary":return mt(this,r,t);case"base64":return ft(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0;}}o.prototype._isBuffer=!0;function F(e,r,t){let n=e[r];e[r]=e[t],e[t]=n;}o.prototype.swap16=function(){let r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)F(this,t,t+1);return this},o.prototype.swap32=function(){let r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)F(this,t,t+3),F(this,t+1,t+2);return this},o.prototype.swap64=function(){let r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)F(this,t,t+7),F(this,t+1,t+6),F(this,t+2,t+5),F(this,t+3,t+4);return this},o.prototype.toString=function(){let r=this.length;return r===0?"":arguments.length===0?br(this,0,r):D.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="",t=j$9.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},p&&(o.prototype[p]=o.prototype.inspect),o.prototype.compare=function(r,t,n,i,s){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>r.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&t>=n)return 0;if(i>=s)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,s>>>=0,this===r)return 0;let a=s-i,d=n-t,x=Math.min(a,d),I=this.slice(i,s),U=r.slice(t,n);for(let y=0;y<x;++y)if(I[y]!==U[y]){a=I[y],d=U[y];break}return a<d?-1:d<a?1:0};function L(e,r,t,n,i){if(e.length===0)return -1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,gr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return -1;t=e.length-1;}else if(t<0)if(i)t=0;else return -1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:Rr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):Rr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Rr(e,r,t,n,i){let s=1,a=e.length,d=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return -1;s=2,a/=2,d/=2,t/=2;}function x(U,y){return s===1?U[y]:U.readUInt16BE(y*s)}let I;if(i){let U=-1;for(I=t;I<a;I++)if(x(e,I)===x(r,U===-1?0:I-U)){if(U===-1&&(U=I),I-U+1===d)return U*s}else U!==-1&&(I-=I-U),U=-1;}else for(t+d>a&&(t=a-d),I=t;I>=0;I--){let U=!0;for(let y=0;y<d;y++)if(x(e,I+y)!==x(r,y)){U=!1;break}if(U)return I}return -1}o.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1},o.prototype.indexOf=function(r,t,n){return L(this,r,t,n,!0)},o.prototype.lastIndexOf=function(r,t,n){return L(this,r,t,n,!1)};function ut(e,r,t,n){t=Number(t)||0;let i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;let s=r.length;n>s/2&&(n=s/2);let a;for(a=0;a<n;++a){let d=parseInt(r.substr(a*2,2),16);if(gr(d))return a;e[t+a]=d;}return a}function at(e,r,t,n){return ar(wr(r,e.length-t),e,t,n)}function ct(e,r,t,n){return ar(Bt(r),e,t,n)}function pt(e,r,t,n){return ar(Or(r),e,t,n)}function lt(e,r,t,n){return ar(Tt(r,e.length-t),e,t,n)}o.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let s=this.length-t;if((n===void 0||n>s)&&(n=s),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return ut(this,r,t,n);case"utf8":case"utf-8":return at(this,r,t,n);case"ascii":case"latin1":case"binary":return ct(this,r,t,n);case"base64":return pt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lt(this,r,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0;}},o.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(e,r,t){return r===0&&t===e.length?u.fromByteArray(e):u.fromByteArray(e.slice(r,t))}function br(e,r,t){t=Math.min(e.length,t);let n=[],i=r;for(;i<t;){let s=e[i],a=null,d=s>239?4:s>223?3:s>191?2:1;if(i+d<=t){let x,I,U,y;switch(d){case 1:s<128&&(a=s);break;case 2:x=e[i+1],(x&192)===128&&(y=(s&31)<<6|x&63,y>127&&(a=y));break;case 3:x=e[i+1],I=e[i+2],(x&192)===128&&(I&192)===128&&(y=(s&15)<<12|(x&63)<<6|I&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:x=e[i+1],I=e[i+2],U=e[i+3],(x&192)===128&&(I&192)===128&&(U&192)===128&&(y=(s&15)<<18|(x&63)<<12|(I&63)<<6|U&63,y>65535&&y<1114112&&(a=y));}}a===null?(a=65533,d=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=d;}return ht(n)}let Nr=4096;function ht(e){let r=e.length;if(r<=Nr)return String.fromCharCode.apply(String,e);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=Nr));return t}function dt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function mt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function wt(e,r,t){let n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let i="";for(let s=r;s<t;++s)i+=At[e[s]];return i}function gt(e,r,t){let n=e.slice(r,t),i="";for(let s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+n[s+1]*256);return i}o.prototype.slice=function(r,t){let n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);let i=this.subarray(r,t);return Object.setPrototypeOf(i,o.prototype),i};function N(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r+--t],s=1;for(;t>0&&(s*=256);)i+=this[r+--t]*s;return i},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,s=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(i)+(BigInt(s)<<BigInt(32))}),o.prototype.readBigUInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],s=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return (BigInt(i)<<BigInt(32))+BigInt(s)}),o.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=t,s=1,a=this[r+--i];for(;i>0&&(s*=256);)a+=this[r+--i]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*t)),a},o.prototype.readInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return (BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return (BigInt(i)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!1,52,8)};function $(e,r,t,n,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<s)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=1,a=0;for(this[t]=r&255;++a<n&&(s*=256);)this[t+a]=r/s&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=n-1,a=1;for(this[t+s]=r&255;--s>=0&&(a*=256);)this[t+s]=r/a&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function vr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,t}function Mr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t+7]=s,s=s>>8,e[t+6]=s,s=s>>8,e[t+5]=s,s=s>>8,e[t+4]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a=a>>8,e[t+2]=a,a=a>>8,e[t+1]=a,a=a>>8,e[t]=a,t+8}o.prototype.writeBigUInt64LE=Y(function(r,t=0){return vr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=Y(function(r,t=0){return Mr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=0,a=1,d=0;for(this[t]=r&255;++s<n&&(a*=256);)r<0&&d===0&&this[t+s-1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=n-1,a=1,d=0;for(this[t+s]=r&255;--s>=0&&(a*=256);)r<0&&d===0&&this[t+s+1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=Y(function(r,t=0){return vr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=Y(function(r,t=0){return Mr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Cr(e,r,t,n,i,s){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Lr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,4),c.write(e,r,t,n,23,4),t+4}o.prototype.writeFloatLE=function(r,t,n){return Lr(this,r,t,!0,n)},o.prototype.writeFloatBE=function(r,t,n){return Lr(this,r,t,!1,n)};function Dr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,8),c.write(e,r,t,n,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,n){return Dr(this,r,t,!0,n)},o.prototype.writeDoubleBE=function(r,t,n){return Dr(this,r,t,!1,n)},o.prototype.copy=function(r,t,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);let s=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),s},o.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){let a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a);}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let s;if(typeof r=="number")for(s=t;s<n;++s)this[s]=r;else {let a=o.isBuffer(r)?r:o.from(r,i),d=a.length;if(d===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=a[s%d];}return this};let Z={};function mr(e,r,t){Z[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name;}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0});}toString(){return `${this.name} [${e}]: ${this.message}`}};}mr("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),mr("ERR_INVALID_ARG_TYPE",function(e,r){return `The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),mr("ERR_OUT_OF_RANGE",function(e,r,t){let n=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>2**32?i=$r(String(t)):typeof t=="bigint"&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=$r(i)),i+="n"),n+=` It must be ${r}. Received ${i}`,n},RangeError);function $r(e){let r="",t=e.length,n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return `${e.slice(0,t)}${r}`}function yt(e,r,t){rr(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&er(r,e.length-(t+1));}function Fr(e,r,t,n,i,s){if(e>t||e<r){let a=typeof r=="bigint"?"n":"",d;throw r===0||r===BigInt(0)?d=`>= 0${a} and < 2${a} ** ${(s+1)*8}${a}`:d=`>= -(2${a} ** ${(s+1)*8-1}${a}) and < 2 ** ${(s+1)*8-1}${a}`,new Z.ERR_OUT_OF_RANGE("value",d,e)}yt(n,i,s);}function rr(e,r){if(typeof e!="number")throw new Z.ERR_INVALID_ARG_TYPE(r,"number",e)}function er(e,r,t){throw Math.floor(e)!==e?(rr(e,t),new Z.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new Z.ERR_BUFFER_OUT_OF_BOUNDS:new Z.ERR_OUT_OF_RANGE("offset",`>= ${0} and <= ${r}`,e)}let Et=/[^+/0-9A-Za-z-_]/g;function It(e){if(e=e.split("=")[0],e=e.trim().replace(Et,""),e.length<2)return "";for(;e.length%4!==0;)e=e+"=";return e}function wr(e,r){r=r||1/0;let t,n=e.length,i=null,s=[];for(let a=0;a<n;++a){if(t=e.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&s.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&s.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&s.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536;}else i&&(r-=3)>-1&&s.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;s.push(t);}else if(t<2048){if((r-=2)<0)break;s.push(t>>6|192,t&63|128);}else if(t<65536){if((r-=3)<0)break;s.push(t>>12|224,t>>6&63|128,t&63|128);}else if(t<1114112){if((r-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128);}else throw new Error("Invalid code point")}return s}function Bt(e){let r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Tt(e,r){let t,n,i,s=[];for(let a=0;a<e.length&&!((r-=2)<0);++a)t=e.charCodeAt(a),n=t>>8,i=t%256,s.push(i),s.push(n);return s}function Or(e){return u.toByteArray(It(e))}function ar(e,r,t,n){let i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function O(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function gr(e){return e!==e}let At=function(){let e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<16;++i)r[n+i]=e[t]+e[i];}return r}();function Y(e){return typeof BigInt>"u"?xt:e}function xt(){throw new Error("BigInt not supported")}return j$9}var X$7=Ge$7();X$7.Buffer;X$7.SlowBuffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var S$b=X$7.Buffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var Ur$3={};St$2(Ur$3,{deleteItem:()=>We$8,getItem:()=>fr$3,setItem:()=>or$5});var ir$5=()=>typeof window>"u",lr$4=()=>!ir$5();var Ye$7="__IMX-",Ar$4=()=>lr$4()&&window.localStorage,Ke$4=u=>{if(u!==null)try{return JSON.parse(u)}catch{return u}},He$6=u=>typeof u=="string"?u:JSON.stringify(u),xr$4=u=>`${Ye$7}${u}`;function fr$3(u){if(Ar$4())return Ke$4(window.localStorage.getItem(xr$4(u)))}var or$5=(u,c)=>Ar$4()?(window.localStorage.setItem(xr$4(u),He$6(c)),!0):!1,We$8=u=>Ar$4()?(window.localStorage.removeItem(xr$4(u)),!0):!1;var Sr$3=0,Wr$1=u=>{let c=parseInt(u,10)*1e3,p=new Date(c),l=new Date;return Sr$3=p.getTime()-l.getTime(),Sr$3},jr$3=()=>{let u=new Date().getTime()+Sr$3;return new Date(u).toISOString()};var sr$5=(E=>(E.RUNTIME_ID="rid",E.PASSPORT_CLIENT_ID="passportClientId",E.ENVIRONMENT="env",E.PUBLISHABLE_API_KEY="pak",E.IDENTITY="uid",E.DOMAIN="domain",E.SDK_VERSION="sdkVersion",E))(sr$5||{});var Xe$6="https://api.immutable.com";async function hr$5(u,c){let p=axios$1.create({baseURL:Xe$6}),l=JSON.stringify(c),m={payload:S$b.from(l).toString("base64")};return (await p.post(u,m)).data}var q$b,J$6,qe$6=()=>{q$b=fr$3("metrics-events")||[],J$6=fr$3("metrics-runtime")||{};};qe$6();var V$b=(u,c)=>{J$6={...J$6,[u]:c},or$5("metrics-runtime",J$6);},ur$4=u=>{if(J$6[u]!==void 0)return J$6[u]},Xr$1=()=>J$6,qr$2=()=>q$b,Jr$2=u=>{q$b.push(u),or$5("metrics-events",q$b);},zr$2=u=>{q$b=q$b.slice(u),or$5("metrics-events",q$b);},dr$5=u=>{let c=[];return Object.entries(u).forEach(([p,l])=>{(typeof p=="string"||typeof l=="string"||typeof l=="number"||typeof l=="boolean")&&c.push([p,l.toString()]);}),c};var kr$3="2.0.0",Je$5=()=>ir$5()?"":window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?new URL(window.location.ancestorOrigins[0]).hostname:document.referrer?new URL(window.document.referrer).hostname:"",ze$6=()=>{if(ir$5())return "";let u;try{window.self!==window.top&&(u=Je$5());}catch{}return u||(u=window.location.hostname),u},Qe$6=()=>{if(V$b("sdkVersion",kr$3),ir$5())return {browser:"nodejs",sdkVersion:kr$3};let u=ze$6();return u&&V$b("domain",u),{sdkVersion:kr$3,browser:window.navigator.userAgent,domain:u,tz:Intl.DateTimeFormat().resolvedOptions().timeZone,screen:`${window.screen.width}x${window.screen.height}`}},_r$3=!1,Qr$2=()=>_r$3,Zr$1=async()=>{_r$3=!0;try{let u=dr$5(Qe$6()),c=ur$4("rid"),p=ur$4("uid"),m=await hr$5("/v1/sdk/initialise",{version:1,data:{runtimeDetails:u,runtimeId:c,uId:p}}),{runtimeId:w,sTime:o}=m;V$b("rid",w),Wr$1(o);}catch{_r$3=!1;}};function R$6(u,c){return (...p)=>{try{let l=u(...p);return l instanceof Promise?l.catch(()=>c):l}catch{return c}}}function Ze$5(){return lr$4()||typeof T$a>"u"?!1:T$a.env.JEST_WORKER_ID!==void 0}var rt$5=R$6(Ze$5,!1);var et$5="imtbl__metrics",tn$2=5e3,en$2=1e3,z$d=(u,c)=>getGlobalisedValue_1(et$5,u,c),nt$4=(u,c)=>{let p=memorise(c,{lruOptions:{ttl:tn$2,max:en$2}});return getGlobalisedValue_1(et$5,u,p)};var nn$1=5e3,on$1=(u,c,p)=>{let l={event:`${u}.${c}`,time:jr$3(),...p&&{properties:dr$5(p)}};Jr$2(l);},Q$a=R$6(nt$4("track",on$1)),sn$1=async()=>{if(Qr$2()===!1){await Zr$1();return}let u=qr$2();if(u.length===0)return;let c=u.length,p=Xr$1();await hr$5("/v1/sdk/metrics",{version:1,data:{events:u,details:p}})instanceof Error||zr$2(c);},un=R$6(sn$1),ot$4=async()=>{await un(),setTimeout(ot$4,nn$1);},it$3=!1,an$1=()=>{it$3||(it$3=!0,ot$4());};rt$5()||R$6(z$d("startFlushing",an$1))();var Pr$4=(u,c,p,l)=>Q$a(u,c,{...l||{},duration:Math.round(p)});var st$5=()=>{let u=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return `${u()}${u()}-${u()}-${u()}-${u()}-${u()}${u()}${u()}`};var cn$1=(...u)=>{if(!u.some(l=>!!l))return {};let p={};return u.forEach(l=>{l&&(p={...p,...l});}),p},pn$1=u=>u.replace(/[^a-zA-Z0-9\s\-_]/g,""),ln$1=(u,c)=>`${u}_${pn$1(c)}`,fn=(u,c,p=!0,l)=>{let m=st$5(),w=Date.now(),o=0,E=0,b={},C=(..._)=>cn$1(b,..._,{flowId:m,flowName:c});b=C(l);let B=_=>{_&&(b=C(_));},k=(_,f)=>{let h=ln$1(c,_),g=0,A=performance.now();o>0&&(g=A-E);let v=C(f,{flowEventName:_,flowStep:o});Pr$4(u,h,g,v),o++,E=A;};return p&&k("Start"),{details:{moduleName:u,flowName:c,flowId:m,flowStartTime:w},addEvent:R$6(k),addFlowProperties:R$6(B)}},hn=R$6(fn);var dn$2=(u,c,p,l)=>{let{message:m}=p,w=p.stack||"",{cause:o}=p;o instanceof Error&&(w=`${w}
4140
+ var Ut$3=Object.defineProperty;var St$2=(u,c)=>{for(var p in c)Ut$3(u,p,{get:c[p],enumerable:!0});};function Br$2(u){throw new Error("Node.js process "+u+" is not supported by JSPM core outside of Node.js")}var G$8=[],tr$3=!1,W$7,cr$6=-1;function kt$3(){!tr$3||!W$7||(tr$3=!1,W$7.length?G$8=W$7.concat(G$8):cr$6=-1,G$8.length&&Vr$2());}function Vr$2(){if(!tr$3){var u=setTimeout(kt$3,0);tr$3=!0;for(var c=G$8.length;c;){for(W$7=G$8,G$8=[];++cr$6<c;)W$7&&W$7[cr$6].run();cr$6=-1,c=G$8.length;}W$7=null,tr$3=!1,clearTimeout(u);}}function _t$3(u){var c=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)c[p-1]=arguments[p];G$8.push(new Gr$2(u,c)),G$8.length===1&&!tr$3&&setTimeout(Vr$2,0);}function Gr$2(u,c){this.fun=u,this.array=c;}Gr$2.prototype.run=function(){this.fun.apply(null,this.array);};var Pt$3="browser",Rt$3="x64",bt$3="browser",Nt$3={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},vt$2=["/usr/bin/node"],Mt$2=[],Ct$4="v16.8.0",Lt$4={},Dt$3=function(u,c){console.warn((c?c+": ":"")+u);},$t$4=function(u){Br$2("binding");},Ft$3=function(u){return 0},Ot$4=function(){return "/"},Vt$2=function(u){},Gt$4={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};function M$9(){}var Yt$4=M$9,Kt$6=[];function Ht$4(u){Br$2("_linkedBinding");}var Wt$4={},jt$4=!1,Xt$6={};function qt$4(u){Br$2("dlopen");}function Jt$6(){return []}function zt$4(){return []}var Qt$3=M$9,Zt$4=M$9,Tr$3=function(){return {}},re$a=Tr$3,te$7=Tr$3,ee$6=M$9,ne$7=M$9,ie$8=M$9,oe$9={};function se$7(u,c){if(!u)throw new Error(c||"assertion error")}var ue$6={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},ae$5=M$9,ce$6=M$9;function pe$5(){return !1}var le$6=M$9,fe$7=M$9,he$5=M$9,de$7=M$9,me$7=M$9,we$7=void 0,ge$6=void 0,ye$8=void 0,Ee$6=M$9,Ie$4=2,Be$7=1,Te$3="/bin/usr/node",Ae$6=9229,xe$6="node",Ue$7=[],Se$5=M$9,K$b={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};K$b.now===void 0&&(yr$4=Date.now(),K$b.timing&&K$b.timing.navigationStart&&(yr$4=K$b.timing.navigationStart),K$b.now=()=>Date.now()-yr$4);var yr$4;function ke$7(){return K$b.now()/1e3}var Er$3=1e9;function Ir$3(u){var c=Math.floor((Date.now()-K$b.now())*.001),p=K$b.now()*.001,l=Math.floor(p)+c,m=Math.floor(p%1*1e9);return u&&(l=l-u[0],m=m-u[1],m<0&&(l--,m+=Er$3)),[l,m]}Ir$3.bigint=function(u){var c=Ir$3(u);return typeof BigInt>"u"?c[0]*Er$3+c[1]:BigInt(c[0]*Er$3)+BigInt(c[1])};var _e$6=10,Pe$6={},Re$8=0;function H$8(){return T$a}var be$6=H$8,Ne$4=H$8,ve$7=H$8,Me$5=H$8,Ce$6=H$8,Le$6=M$9,De$7=H$8,$e$7=H$8;function Fe$5(u){return []}var T$a={version:Ct$4,versions:Lt$4,arch:Rt$3,platform:bt$3,release:Gt$4,_rawDebug:Yt$4,moduleLoadList:Kt$6,binding:$t$4,_linkedBinding:Ht$4,_events:Pe$6,_eventsCount:Re$8,_maxListeners:_e$6,on:H$8,addListener:be$6,once:Ne$4,off:ve$7,removeListener:Me$5,removeAllListeners:Ce$6,emit:Le$6,prependListener:De$7,prependOnceListener:$e$7,listeners:Fe$5,domain:Wt$4,_exiting:jt$4,config:Xt$6,dlopen:qt$4,uptime:ke$7,_getActiveRequests:Jt$6,_getActiveHandles:zt$4,reallyExit:Qt$3,_kill:Zt$4,cpuUsage:Tr$3,resourceUsage:re$a,memoryUsage:te$7,kill:ee$6,exit:ne$7,openStdin:ie$8,allowedNodeEnvironmentFlags:oe$9,assert:se$7,features:ue$6,_fatalExceptions:ae$5,setUncaughtExceptionCaptureCallback:ce$6,hasUncaughtExceptionCaptureCallback:pe$5,emitWarning:Dt$3,nextTick:_t$3,_tickCallback:le$6,_debugProcess:fe$7,_debugEnd:he$5,_startProfilerIdleNotifier:de$7,_stopProfilerIdleNotifier:me$7,stdout:we$7,stdin:ye$8,stderr:ge$6,abort:Ee$6,umask:Ft$3,chdir:Vt$2,cwd:Ot$4,env:Nt$3,title:Pt$3,argv:vt$2,execArgv:Mt$2,pid:Ie$4,ppid:Be$7,execPath:Te$3,debugPort:Ae$6,hrtime:Ir$3,argv0:xe$6,_preload_modules:Ue$7,setSourceMapsEnabled:Se$5};var nr$5={},Yr$1=!1;function Oe$5(){if(Yr$1)return nr$5;Yr$1=!0,nr$5.byteLength=E,nr$5.toByteArray=C,nr$5.fromByteArray=_;for(var u=[],c=[],p=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0,w=l.length;m<w;++m)u[m]=l[m],c[l.charCodeAt(m)]=m;c[45]=62,c[95]=63;function o(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=f.indexOf("=");g===-1&&(g=h);var A=g===h?0:4-g%4;return [g,A]}function E(f){var h=o(f),g=h[0],A=h[1];return (g+A)*3/4-A}function b(f,h,g){return (h+g)*3/4-g}function C(f){var h,g=o(f),A=g[0],v=g[1],P=new p(b(f,A,v)),D=0,F=v>0?A-4:A,L;for(L=0;L<F;L+=4)h=c[f.charCodeAt(L)]<<18|c[f.charCodeAt(L+1)]<<12|c[f.charCodeAt(L+2)]<<6|c[f.charCodeAt(L+3)],P[D++]=h>>16&255,P[D++]=h>>8&255,P[D++]=h&255;return v===2&&(h=c[f.charCodeAt(L)]<<2|c[f.charCodeAt(L+1)]>>4,P[D++]=h&255),v===1&&(h=c[f.charCodeAt(L)]<<10|c[f.charCodeAt(L+1)]<<4|c[f.charCodeAt(L+2)]>>2,P[D++]=h>>8&255,P[D++]=h&255),P}function B(f){return u[f>>18&63]+u[f>>12&63]+u[f>>6&63]+u[f&63]}function k(f,h,g){for(var A,v=[],P=h;P<g;P+=3)A=(f[P]<<16&16711680)+(f[P+1]<<8&65280)+(f[P+2]&255),v.push(B(A));return v.join("")}function _(f){for(var h,g=f.length,A=g%3,v=[],P=16383,D=0,F=g-A;D<F;D+=P)v.push(k(f,D,D+P>F?F:D+P));return A===1?(h=f[g-1],v.push(u[h>>2]+u[h<<4&63]+"==")):A===2&&(h=(f[g-2]<<8)+f[g-1],v.push(u[h>>10]+u[h>>4&63]+u[h<<2&63]+"=")),v.join("")}return nr$5}var pr$5={},Kr$3=!1;function Ve$5(){if(Kr$3)return pr$5;Kr$3=!0;return pr$5.read=function(u,c,p,l,m){var w,o,E=m*8-l-1,b=(1<<E)-1,C=b>>1,B=-7,k=p?m-1:0,_=p?-1:1,f=u[c+k];for(k+=_,w=f&(1<<-B)-1,f>>=-B,B+=E;B>0;w=w*256+u[c+k],k+=_,B-=8);for(o=w&(1<<-B)-1,w>>=-B,B+=l;B>0;o=o*256+u[c+k],k+=_,B-=8);if(w===0)w=1-C;else {if(w===b)return o?NaN:(f?-1:1)*(1/0);o=o+Math.pow(2,l),w=w-C;}return (f?-1:1)*o*Math.pow(2,w-l)},pr$5.write=function(u,c,p,l,m,w){var o,E,b,C=w*8-m-1,B=(1<<C)-1,k=B>>1,_=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=l?0:w-1,h=l?1:-1,g=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(E=isNaN(c)?1:0,o=B):(o=Math.floor(Math.log(c)/Math.LN2),c*(b=Math.pow(2,-o))<1&&(o--,b*=2),o+k>=1?c+=_/b:c+=_*Math.pow(2,1-k),c*b>=2&&(o++,b/=2),o+k>=B?(E=0,o=B):o+k>=1?(E=(c*b-1)*Math.pow(2,m),o=o+k):(E=c*Math.pow(2,k-1)*Math.pow(2,m),o=0));m>=8;u[p+f]=E&255,f+=h,E/=256,m-=8);for(o=o<<m|E,C+=m;C>0;u[p+f]=o&255,f+=h,o/=256,C-=8);u[p+f-h]|=g*128;},pr$5}var j$9={},Hr$2=!1;function Ge$7(){if(Hr$2)return j$9;Hr$2=!0;let u=Oe$5(),c=Ve$5(),p=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j$9.Buffer=o,j$9.SlowBuffer=v,j$9.INSPECT_MAX_BYTES=50;let l=2147483647;j$9.kMaxLength=l,o.TYPED_ARRAY_SUPPORT=m(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m(){try{let e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch{return !1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function w(e){if(e>l)throw new RangeError('The value "'+e+'" is invalid for option "size"');let r=new Uint8Array(e);return Object.setPrototypeOf(r,o.prototype),r}function o(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return B(e)}return E(e,r,t)}o.poolSize=8192;function E(e,r,t){if(typeof e=="string")return k(e,r);if(ArrayBuffer.isView(e))return f(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return h(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return o.from(n,r,t);let i=g(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return o.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}o.from=function(e,r,t){return E(e,r,t)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function b(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function C(e,r,t){return b(e),e<=0?w(e):r!==void 0?typeof t=="string"?w(e).fill(r,t):w(e).fill(r):w(e)}o.alloc=function(e,r,t){return C(e,r,t)};function B(e){return b(e),w(e<0?0:A(e)|0)}o.allocUnsafe=function(e){return B(e)},o.allocUnsafeSlow=function(e){return B(e)};function k(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let t=P(e,r)|0,n=w(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n}function _(e){let r=e.length<0?0:A(e.length)|0,t=w(r);for(let n=0;n<r;n+=1)t[n]=e[n]&255;return t}function f(e){if(O(e,Uint8Array)){let r=new Uint8Array(e);return h(r.buffer,r.byteOffset,r.byteLength)}return _(e)}function h(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,o.prototype),n}function g(e){if(o.isBuffer(e)){let r=A(e.length)|0,t=w(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||gr(e.length)?w(0):_(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _(e.data)}function A(e){if(e>=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return e|0}function v(e){return +e!=e&&(e=0),o.alloc(+e)}o.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==o.prototype},o.compare=function(r,t){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),O(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(r)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;let n=r.length,i=t.length;for(let s=0,a=Math.min(n,i);s<a;++s)if(r[s]!==t[s]){n=r[s],i=t[s];break}return n<i?-1:i<n?1:0},o.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return !0;default:return !1}},o.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return o.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;let i=o.allocUnsafe(t),s=0;for(n=0;n<r.length;++n){let a=r[n];if(O(a,Uint8Array))s+a.length>i.length?(o.isBuffer(a)||(a=o.from(a)),a.copy(i,s)):Uint8Array.prototype.set.call(i,a,s);else if(o.isBuffer(a))a.copy(i,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=a.length;}return i};function P(e,r){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;let i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return wr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Or(e).length;default:if(i)return n?-1:wr(e).length;r=(""+r).toLowerCase(),i=!0;}}o.byteLength=P;function D(e,r,t){let n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return "";for(e||(e="utf8");;)switch(e){case"hex":return wt(this,r,t);case"utf8":case"utf-8":return br(this,r,t);case"ascii":return dt(this,r,t);case"latin1":case"binary":return mt(this,r,t);case"base64":return ft(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gt(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0;}}o.prototype._isBuffer=!0;function F(e,r,t){let n=e[r];e[r]=e[t],e[t]=n;}o.prototype.swap16=function(){let r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<r;t+=2)F(this,t,t+1);return this},o.prototype.swap32=function(){let r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<r;t+=4)F(this,t,t+3),F(this,t+1,t+2);return this},o.prototype.swap64=function(){let r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<r;t+=8)F(this,t,t+7),F(this,t+1,t+6),F(this,t+2,t+5),F(this,t+3,t+4);return this},o.prototype.toString=function(){let r=this.length;return r===0?"":arguments.length===0?br(this,0,r):D.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(r){if(!o.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:o.compare(this,r)===0},o.prototype.inspect=function(){let r="",t=j$9.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"},p&&(o.prototype[p]=o.prototype.inspect),o.prototype.compare=function(r,t,n,i,s){if(O(r,Uint8Array)&&(r=o.from(r,r.offset,r.byteLength)),!o.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),s===void 0&&(s=this.length),t<0||n>r.length||i<0||s>this.length)throw new RangeError("out of range index");if(i>=s&&t>=n)return 0;if(i>=s)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,s>>>=0,this===r)return 0;let a=s-i,d=n-t,x=Math.min(a,d),I=this.slice(i,s),U=r.slice(t,n);for(let y=0;y<x;++y)if(I[y]!==U[y]){a=I[y],d=U[y];break}return a<d?-1:d<a?1:0};function L(e,r,t,n,i){if(e.length===0)return -1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,gr(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return -1;t=e.length-1;}else if(t<0)if(i)t=0;else return -1;if(typeof r=="string"&&(r=o.from(r,n)),o.isBuffer(r))return r.length===0?-1:Rr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):Rr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Rr(e,r,t,n,i){let s=1,a=e.length,d=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return -1;s=2,a/=2,d/=2,t/=2;}function x(U,y){return s===1?U[y]:U.readUInt16BE(y*s)}let I;if(i){let U=-1;for(I=t;I<a;I++)if(x(e,I)===x(r,U===-1?0:I-U)){if(U===-1&&(U=I),I-U+1===d)return U*s}else U!==-1&&(I-=I-U),U=-1;}else for(t+d>a&&(t=a-d),I=t;I>=0;I--){let U=!0;for(let y=0;y<d;y++)if(x(e,I+y)!==x(r,y)){U=!1;break}if(U)return I}return -1}o.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1},o.prototype.indexOf=function(r,t,n){return L(this,r,t,n,!0)},o.prototype.lastIndexOf=function(r,t,n){return L(this,r,t,n,!1)};function ut(e,r,t,n){t=Number(t)||0;let i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;let s=r.length;n>s/2&&(n=s/2);let a;for(a=0;a<n;++a){let d=parseInt(r.substr(a*2,2),16);if(gr(d))return a;e[t+a]=d;}return a}function at(e,r,t,n){return ar(wr(r,e.length-t),e,t,n)}function ct(e,r,t,n){return ar(Bt(r),e,t,n)}function pt(e,r,t,n){return ar(Or(r),e,t,n)}function lt(e,r,t,n){return ar(Tt(r,e.length-t),e,t,n)}o.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let s=this.length-t;if((n===void 0||n>s)&&(n=s),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return ut(this,r,t,n);case"utf8":case"utf-8":return at(this,r,t,n);case"ascii":case"latin1":case"binary":return ct(this,r,t,n);case"base64":return pt(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lt(this,r,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0;}},o.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ft(e,r,t){return r===0&&t===e.length?u.fromByteArray(e):u.fromByteArray(e.slice(r,t))}function br(e,r,t){t=Math.min(e.length,t);let n=[],i=r;for(;i<t;){let s=e[i],a=null,d=s>239?4:s>223?3:s>191?2:1;if(i+d<=t){let x,I,U,y;switch(d){case 1:s<128&&(a=s);break;case 2:x=e[i+1],(x&192)===128&&(y=(s&31)<<6|x&63,y>127&&(a=y));break;case 3:x=e[i+1],I=e[i+2],(x&192)===128&&(I&192)===128&&(y=(s&15)<<12|(x&63)<<6|I&63,y>2047&&(y<55296||y>57343)&&(a=y));break;case 4:x=e[i+1],I=e[i+2],U=e[i+3],(x&192)===128&&(I&192)===128&&(U&192)===128&&(y=(s&15)<<18|(x&63)<<12|(I&63)<<6|U&63,y>65535&&y<1114112&&(a=y));}}a===null?(a=65533,d=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=d;}return ht(n)}let Nr=4096;function ht(e){let r=e.length;if(r<=Nr)return String.fromCharCode.apply(String,e);let t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=Nr));return t}function dt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n}function mt(e,r,t){let n="";t=Math.min(e.length,t);for(let i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n}function wt(e,r,t){let n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);let i="";for(let s=r;s<t;++s)i+=At[e[s]];return i}function gt(e,r,t){let n=e.slice(r,t),i="";for(let s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+n[s+1]*256);return i}o.prototype.slice=function(r,t){let n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);let i=this.subarray(r,t);return Object.setPrototypeOf(i,o.prototype),i};function N(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return i},o.prototype.readUintBE=o.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r+--t],s=1;for(;t>0&&(s*=256);)i+=this[r+--t]*s;return i},o.prototype.readUint8=o.prototype.readUInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]|this[r+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||N(r,2,this.length),this[r]<<8|this[r+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},o.prototype.readBigUInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,s=this[++r]+this[++r]*2**8+this[++r]*2**16+n*2**24;return BigInt(i)+(BigInt(s)<<BigInt(32))}),o.prototype.readBigUInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=t*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],s=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n;return (BigInt(i)<<BigInt(32))+BigInt(s)}),o.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=this[r],s=1,a=0;for(;++a<t&&(s*=256);)i+=this[r+a]*s;return s*=128,i>=s&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||N(r,t,this.length);let i=t,s=1,a=this[r+--i];for(;i>0&&(s*=256);)a+=this[r+--i]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*t)),a},o.prototype.readInt8=function(r,t){return r=r>>>0,t||N(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},o.prototype.readInt16LE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n},o.prototype.readInt16BE=function(r,t){r=r>>>0,t||N(r,2,this.length);let n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n},o.prototype.readInt32LE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},o.prototype.readInt32BE=function(r,t){return r=r>>>0,t||N(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},o.prototype.readBigInt64LE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(n<<24);return (BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),o.prototype.readBigInt64BE=Y(function(r){r=r>>>0,rr(r,"offset");let t=this[r],n=this[r+7];(t===void 0||n===void 0)&&er(r,this.length-8);let i=(t<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return (BigInt(i)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+n)}),o.prototype.readFloatLE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!0,23,4)},o.prototype.readFloatBE=function(r,t){return r=r>>>0,t||N(r,4,this.length),c.read(this,r,!1,23,4)},o.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!0,52,8)},o.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||N(r,8,this.length),c.read(this,r,!1,52,8)};function $(e,r,t,n,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<s)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=1,a=0;for(this[t]=r&255;++a<n&&(s*=256);)this[t+a]=r/s&255;return t+n},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){let d=Math.pow(2,8*n)-1;$(this,r,t,n,d,0);}let s=n-1,a=1;for(this[t+s]=r&255;--s>=0&&(a*=256);)this[t+s]=r/a&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,255,0),this[t]=r&255,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function vr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s,s=s>>8,e[t++]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,a=a>>8,e[t++]=a,t}function Mr(e,r,t,n,i){Fr(r,n,i,e,t,7);let s=Number(r&BigInt(4294967295));e[t+7]=s,s=s>>8,e[t+6]=s,s=s>>8,e[t+5]=s,s=s>>8,e[t+4]=s;let a=Number(r>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a=a>>8,e[t+2]=a,a=a>>8,e[t+1]=a,a=a>>8,e[t]=a,t+8}o.prototype.writeBigUInt64LE=Y(function(r,t=0){return vr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=Y(function(r,t=0){return Mr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=0,a=1,d=0;for(this[t]=r&255;++s<n&&(a*=256);)r<0&&d===0&&this[t+s-1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){let x=Math.pow(2,8*n-1);$(this,r,t,n,x-1,-x);}let s=n-1,a=1,d=0;for(this[t+s]=r&255;--s>=0&&(a*=256);)r<0&&d===0&&this[t+s+1]!==0&&(d=1),this[t+s]=(r/a>>0)-d&255;return t+n},o.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1},o.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2},o.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2},o.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4},o.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||$(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4},o.prototype.writeBigInt64LE=Y(function(r,t=0){return vr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=Y(function(r,t=0){return Mr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Cr(e,r,t,n,i,s){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Lr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,4),c.write(e,r,t,n,23,4),t+4}o.prototype.writeFloatLE=function(r,t,n){return Lr(this,r,t,!0,n)},o.prototype.writeFloatBE=function(r,t,n){return Lr(this,r,t,!1,n)};function Dr(e,r,t,n,i){return r=+r,t=t>>>0,i||Cr(e,r,t,8),c.write(e,r,t,n,52,8),t+8}o.prototype.writeDoubleLE=function(r,t,n){return Dr(this,r,t,!0,n)},o.prototype.writeDoubleBE=function(r,t,n){return Dr(this,r,t,!1,n)},o.prototype.copy=function(r,t,n,i){if(!o.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);let s=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),s},o.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!o.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){let a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a);}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);let s;if(typeof r=="number")for(s=t;s<n;++s)this[s]=r;else {let a=o.isBuffer(r)?r:o.from(r,i),d=a.length;if(d===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=a[s%d];}return this};let Z={};function mr(e,r,t){Z[e]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name;}get code(){return e}set code(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0});}toString(){return `${this.name} [${e}]: ${this.message}`}};}mr("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),mr("ERR_INVALID_ARG_TYPE",function(e,r){return `The "${e}" argument must be of type number. Received type ${typeof r}`},TypeError),mr("ERR_OUT_OF_RANGE",function(e,r,t){let n=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>2**32?i=$r(String(t)):typeof t=="bigint"&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=$r(i)),i+="n"),n+=` It must be ${r}. Received ${i}`,n},RangeError);function $r(e){let r="",t=e.length,n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r=`_${e.slice(t-3,t)}${r}`;return `${e.slice(0,t)}${r}`}function yt(e,r,t){rr(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&er(r,e.length-(t+1));}function Fr(e,r,t,n,i,s){if(e>t||e<r){let a=typeof r=="bigint"?"n":"",d;throw r===0||r===BigInt(0)?d=`>= 0${a} and < 2${a} ** ${(s+1)*8}${a}`:d=`>= -(2${a} ** ${(s+1)*8-1}${a}) and < 2 ** ${(s+1)*8-1}${a}`,new Z.ERR_OUT_OF_RANGE("value",d,e)}yt(n,i,s);}function rr(e,r){if(typeof e!="number")throw new Z.ERR_INVALID_ARG_TYPE(r,"number",e)}function er(e,r,t){throw Math.floor(e)!==e?(rr(e,t),new Z.ERR_OUT_OF_RANGE("offset","an integer",e)):r<0?new Z.ERR_BUFFER_OUT_OF_BOUNDS:new Z.ERR_OUT_OF_RANGE("offset",`>= ${0} and <= ${r}`,e)}let Et=/[^+/0-9A-Za-z-_]/g;function It(e){if(e=e.split("=")[0],e=e.trim().replace(Et,""),e.length<2)return "";for(;e.length%4!==0;)e=e+"=";return e}function wr(e,r){r=r||1/0;let t,n=e.length,i=null,s=[];for(let a=0;a<n;++a){if(t=e.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&s.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&s.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&s.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536;}else i&&(r-=3)>-1&&s.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;s.push(t);}else if(t<2048){if((r-=2)<0)break;s.push(t>>6|192,t&63|128);}else if(t<65536){if((r-=3)<0)break;s.push(t>>12|224,t>>6&63|128,t&63|128);}else if(t<1114112){if((r-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128);}else throw new Error("Invalid code point")}return s}function Bt(e){let r=[];for(let t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function Tt(e,r){let t,n,i,s=[];for(let a=0;a<e.length&&!((r-=2)<0);++a)t=e.charCodeAt(a),n=t>>8,i=t%256,s.push(i),s.push(n);return s}function Or(e){return u.toByteArray(It(e))}function ar(e,r,t,n){let i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i}function O(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function gr(e){return e!==e}let At=function(){let e="0123456789abcdef",r=new Array(256);for(let t=0;t<16;++t){let n=t*16;for(let i=0;i<16;++i)r[n+i]=e[t]+e[i];}return r}();function Y(e){return typeof BigInt>"u"?xt:e}function xt(){throw new Error("BigInt not supported")}return j$9}var X$7=Ge$7();X$7.Buffer;X$7.SlowBuffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var S$b=X$7.Buffer;X$7.INSPECT_MAX_BYTES;X$7.kMaxLength;var Ur$3={};St$2(Ur$3,{deleteItem:()=>We$8,getItem:()=>fr$3,setItem:()=>or$5});var ir$5=()=>typeof window>"u",lr$4=()=>!ir$5();var Ye$7="__IMX-",Ar$4=()=>lr$4()&&window.localStorage,Ke$4=u=>{if(u!==null)try{return JSON.parse(u)}catch{return u}},He$6=u=>typeof u=="string"?u:JSON.stringify(u),xr$4=u=>`${Ye$7}${u}`;function fr$3(u){if(Ar$4())return Ke$4(window.localStorage.getItem(xr$4(u)))}var or$5=(u,c)=>Ar$4()?(window.localStorage.setItem(xr$4(u),He$6(c)),!0):!1,We$8=u=>Ar$4()?(window.localStorage.removeItem(xr$4(u)),!0):!1;var Sr$3=0,Wr$1=u=>{let c=parseInt(u,10)*1e3,p=new Date(c),l=new Date;return Sr$3=p.getTime()-l.getTime(),Sr$3},jr$3=()=>{let u=new Date().getTime()+Sr$3;return new Date(u).toISOString()};var sr$5=(E=>(E.RUNTIME_ID="rid",E.PASSPORT_CLIENT_ID="passportClientId",E.ENVIRONMENT="env",E.PUBLISHABLE_API_KEY="pak",E.IDENTITY="uid",E.DOMAIN="domain",E.SDK_VERSION="sdkVersion",E))(sr$5||{});var Xe$6="https://api.immutable.com";async function hr$5(u,c){let p=axios$1.create({baseURL:Xe$6}),l=JSON.stringify(c),m={payload:S$b.from(l).toString("base64")};return (await p.post(u,m)).data}var q$b,J$6,qe$6=()=>{q$b=fr$3("metrics-events")||[],J$6=fr$3("metrics-runtime")||{};};qe$6();var V$b=(u,c)=>{J$6={...J$6,[u]:c},or$5("metrics-runtime",J$6);},ur$4=u=>{if(J$6[u]!==void 0)return J$6[u]},Xr$1=()=>J$6,qr$2=()=>q$b,Jr$2=u=>{q$b.push(u),or$5("metrics-events",q$b);},zr$2=u=>{q$b=q$b.slice(u),or$5("metrics-events",q$b);},dr$5=u=>{let c=[];return Object.entries(u).forEach(([p,l])=>{(typeof p=="string"||typeof l=="string"||typeof l=="number"||typeof l=="boolean")&&c.push([p,l.toString()]);}),c};var kr$3="2.0.1",Je$5=()=>ir$5()?"":window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?new URL(window.location.ancestorOrigins[0]).hostname:document.referrer?new URL(window.document.referrer).hostname:"",ze$6=()=>{if(ir$5())return "";let u;try{window.self!==window.top&&(u=Je$5());}catch{}return u||(u=window.location.hostname),u},Qe$6=()=>{if(V$b("sdkVersion",kr$3),ir$5())return {browser:"nodejs",sdkVersion:kr$3};let u=ze$6();return u&&V$b("domain",u),{sdkVersion:kr$3,browser:window.navigator.userAgent,domain:u,tz:Intl.DateTimeFormat().resolvedOptions().timeZone,screen:`${window.screen.width}x${window.screen.height}`}},_r$3=!1,Qr$2=()=>_r$3,Zr$1=async()=>{_r$3=!0;try{let u=dr$5(Qe$6()),c=ur$4("rid"),p=ur$4("uid"),m=await hr$5("/v1/sdk/initialise",{version:1,data:{runtimeDetails:u,runtimeId:c,uId:p}}),{runtimeId:w,sTime:o}=m;V$b("rid",w),Wr$1(o);}catch{_r$3=!1;}};function R$6(u,c){return (...p)=>{try{let l=u(...p);return l instanceof Promise?l.catch(()=>c):l}catch{return c}}}function Ze$5(){return lr$4()||typeof T$a>"u"?!1:T$a.env.JEST_WORKER_ID!==void 0}var rt$5=R$6(Ze$5,!1);var et$5="imtbl__metrics",tn$2=5e3,en$2=1e3,z$d=(u,c)=>getGlobalisedValue_1(et$5,u,c),nt$4=(u,c)=>{let p=memorise(c,{lruOptions:{ttl:tn$2,max:en$2}});return getGlobalisedValue_1(et$5,u,p)};var nn$1=5e3,on$1=(u,c,p)=>{let l={event:`${u}.${c}`,time:jr$3(),...p&&{properties:dr$5(p)}};Jr$2(l);},Q$a=R$6(nt$4("track",on$1)),sn$1=async()=>{if(Qr$2()===!1){await Zr$1();return}let u=qr$2();if(u.length===0)return;let c=u.length,p=Xr$1();await hr$5("/v1/sdk/metrics",{version:1,data:{events:u,details:p}})instanceof Error||zr$2(c);},un=R$6(sn$1),ot$4=async()=>{await un(),setTimeout(ot$4,nn$1);},it$3=!1,an$1=()=>{it$3||(it$3=!0,ot$4());};rt$5()||R$6(z$d("startFlushing",an$1))();var Pr$4=(u,c,p,l)=>Q$a(u,c,{...l||{},duration:Math.round(p)});var st$5=()=>{let u=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return `${u()}${u()}-${u()}-${u()}-${u()}-${u()}${u()}${u()}`};var cn$1=(...u)=>{if(!u.some(l=>!!l))return {};let p={};return u.forEach(l=>{l&&(p={...p,...l});}),p},pn$1=u=>u.replace(/[^a-zA-Z0-9\s\-_]/g,""),ln$1=(u,c)=>`${u}_${pn$1(c)}`,fn=(u,c,p=!0,l)=>{let m=st$5(),w=Date.now(),o=0,E=0,b={},C=(..._)=>cn$1(b,..._,{flowId:m,flowName:c});b=C(l);let B=_=>{_&&(b=C(_));},k=(_,f)=>{let h=ln$1(c,_),g=0,A=performance.now();o>0&&(g=A-E);let v=C(f,{flowEventName:_,flowStep:o});Pr$4(u,h,g,v),o++,E=A;};return p&&k("Start"),{details:{moduleName:u,flowName:c,flowId:m,flowStartTime:w},addEvent:R$6(k),addFlowProperties:R$6(B)}},hn=R$6(fn);var dn$2=(u,c,p,l)=>{let{message:m}=p,w=p.stack||"",{cause:o}=p;o instanceof Error&&(w=`${w}
4141
4141
  Cause: ${o.message}
4142
4142
  ${o.stack}`),Q$a(u,`trackError_${c}`,{...l||{},errorMessage:m,errorStack:w,isTrackError:!0});},mn$1=R$6(dn$2);var En$2=u=>{V$b("env",u);},In$1=R$6(z$d("setEnvironment",En$2)),Bn=u=>{V$b("passportClientId",u);};R$6(z$d("setPassportClientId",Bn));var An=u=>{V$b("pak",u);};R$6(z$d("setPublishableApiKey",An));R$6(z$d("getDetail",ur$4));
4143
4143
 
@@ -1 +1 @@
1
- export { dW as WidgetsFactory } from './index-Skcajiao.js';
1
+ export { dW as WidgetsFactory } from './index-QbUM4Iz2.js';
@@ -1,4 +1,4 @@
1
- import { x as getDefaultExportFromCjs } from './index-Skcajiao.js';
1
+ import { x as getDefaultExportFromCjs } from './index-QbUM4Iz2.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,4 +1,4 @@
1
- import { r as reactExports, dp as useBrowserLayoutEffect } from './index-Skcajiao.js';
1
+ import { r as reactExports, dp as useBrowserLayoutEffect } from './index-QbUM4Iz2.js';
2
2
 
3
3
  // Inspired by https://usehooks-ts.com/react-hook/use-interval
4
4
  function useInterval(callback, delay) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imtbl/checkout-widgets",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "browserslist": {
5
5
  "production": [
6
6
  ">0.2%",
@@ -18,12 +18,12 @@
18
18
  "@biom3/design-tokens": "^0.4.5",
19
19
  "@biom3/react": "^0.29.4",
20
20
  "@emotion/react": "^11.11.3",
21
- "@imtbl/bridge-sdk": "2.0.0",
22
- "@imtbl/checkout-sdk": "2.0.0",
23
- "@imtbl/config": "2.0.0",
24
- "@imtbl/cryptofiat": "2.0.0",
25
- "@imtbl/dex-sdk": "2.0.0",
26
- "@imtbl/passport": "2.0.0",
21
+ "@imtbl/bridge-sdk": "2.0.1",
22
+ "@imtbl/checkout-sdk": "2.0.1",
23
+ "@imtbl/config": "2.0.1",
24
+ "@imtbl/cryptofiat": "2.0.1",
25
+ "@imtbl/dex-sdk": "2.0.1",
26
+ "@imtbl/passport": "2.0.1",
27
27
  "@imtbl/react-analytics": "0.3.2-alpha",
28
28
  "@rive-app/react-canvas-lite": "^4.9.0",
29
29
  "@walletconnect/ethereum-provider": "^2.11.1",