@credenza3/passport-evm 0.4.29 → 0.4.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DLinmGdk.js → App-C6e6vULA.js} +402 -369
- package/dist/App-C6e6vULA.js.map +1 -0
- package/dist/{AssetItem-CnFxDOqr.js → AssetItem-CFpT24rM.js} +40 -40
- package/dist/{AssetItem-CnFxDOqr.js.map → AssetItem-CFpT24rM.js.map} +1 -1
- package/dist/{Assets-BX21lulG.js → Assets-Ciai1-8z.js} +34 -34
- package/dist/{Assets-BX21lulG.js.map → Assets-Ciai1-8z.js.map} +1 -1
- package/dist/{Button-BtrWRAGg.js → Button-Cl1Gycb9.js} +7 -7
- package/dist/{Button-BtrWRAGg.js.map → Button-Cl1Gycb9.js.map} +1 -1
- package/dist/{ButtonBack-kvhwVVse.js → ButtonBack-WXzQArgT.js} +4 -4
- package/dist/{ButtonBack-kvhwVVse.js.map → ButtonBack-WXzQArgT.js.map} +1 -1
- package/dist/{ButtonLink-Cl_0yy4P.js → ButtonLink-CUtQKsC6.js} +3 -3
- package/dist/{ButtonLink-Cl_0yy4P.js.map → ButtonLink-CUtQKsC6.js.map} +1 -1
- package/dist/{ConfirmAccount-CTbkLpyV.js → ConfirmAccount-B9vsamok.js} +43 -43
- package/dist/{ConfirmAccount-CTbkLpyV.js.map → ConfirmAccount-B9vsamok.js.map} +1 -1
- package/dist/{ContentHeader-DtDVwGa5.js → ContentHeader-zEzFx3gd.js} +3 -3
- package/dist/{ContentHeader-DtDVwGa5.js.map → ContentHeader-zEzFx3gd.js.map} +1 -1
- package/dist/{Error-Ci_J_AoV.js → Error-DkL1dIrw.js} +16 -16
- package/dist/{Error-Ci_J_AoV.js.map → Error-DkL1dIrw.js.map} +1 -1
- package/dist/{Input-7fuL_Jcq.js → Input-sGg4R3nx.js} +4 -4
- package/dist/{Input-7fuL_Jcq.js.map → Input-sGg4R3nx.js.map} +1 -1
- package/dist/{Label-DDl9p4Hw.js → Label-CpwxR_bh.js} +3 -3
- package/dist/{Label-DDl9p4Hw.js.map → Label-CpwxR_bh.js.map} +1 -1
- package/dist/{Loader-DeWuqCn4.js → Loader-DVPnKf6z.js} +3 -3
- package/dist/{Loader-DeWuqCn4.js.map → Loader-DVPnKf6z.js.map} +1 -1
- package/dist/{Login-JuFRDgiH.js → Login-CaeaLeeL.js} +81 -81
- package/dist/{Login-JuFRDgiH.js.map → Login-CaeaLeeL.js.map} +1 -1
- package/dist/{Logout-BXo_8BEd.js → Logout-DjjS-Sqk.js} +23 -23
- package/dist/{Logout-BXo_8BEd.js.map → Logout-DjjS-Sqk.js.map} +1 -1
- package/dist/{Nav-DBM82eF1.js → Nav-DgP-tteD.js} +123 -123
- package/dist/{Nav-DBM82eF1.js.map → Nav-DgP-tteD.js.map} +1 -1
- package/dist/{NavMenu-CB4Lg36e.js → NavMenu-x9PvNAWJ.js} +23 -23
- package/dist/{NavMenu-CB4Lg36e.js.map → NavMenu-x9PvNAWJ.js.map} +1 -1
- package/dist/{PassportId-Cod92FXb.js → PassportId-BslnZY97.js} +10 -10
- package/dist/{PassportId-Cod92FXb.js.map → PassportId-BslnZY97.js.map} +1 -1
- package/dist/{Payment-zXYxV9xX.js → Payment-CCTfB6Fg.js} +704 -694
- package/dist/Payment-CCTfB6Fg.js.map +1 -0
- package/dist/{PaymentResult-CwA5P10y.js → PaymentResult-DkHEH_it.js} +58 -58
- package/dist/{PaymentResult-CwA5P10y.js.map → PaymentResult-DkHEH_it.js.map} +1 -1
- package/dist/{Profile-CuU7qUnn.js → Profile-PUw5dviP.js} +59 -59
- package/dist/{Profile-CuU7qUnn.js.map → Profile-PUw5dviP.js.map} +1 -1
- package/dist/{ProgressVideo-DP5XQlRy.js → ProgressVideo-BOo717dE.js} +24 -24
- package/dist/{ProgressVideo-DP5XQlRy.js.map → ProgressVideo-BOo717dE.js.map} +1 -1
- package/dist/{RichAlert-BFoax_9o.js → RichAlert-BYPkDfTH.js} +37 -37
- package/dist/{RichAlert-BFoax_9o.js.map → RichAlert-BYPkDfTH.js.map} +1 -1
- package/dist/{Scanner-C3yBwYvP.js → Scanner-DefVR7jN.js} +21 -21
- package/dist/{Scanner-C3yBwYvP.js.map → Scanner-DefVR7jN.js.map} +1 -1
- package/dist/{SendTokens-CTIXXEVD.js → SendTokens-tO4TdclS.js} +56 -56
- package/dist/{SendTokens-CTIXXEVD.js.map → SendTokens-tO4TdclS.js.map} +1 -1
- package/dist/{Sign-oHg_pZne.js → Sign-Dy_5TQjI.js} +27 -27
- package/dist/{Sign-oHg_pZne.js.map → Sign-Dy_5TQjI.js.map} +1 -1
- package/dist/{Stripe.service-Brb5gQ25.js → Stripe.service-DwhRvFHI.js} +2 -2
- package/dist/{Stripe.service-Brb5gQ25.js.map → Stripe.service-DwhRvFHI.js.map} +1 -1
- package/dist/{UpdateProfile-DzdjZyy6.js → UpdateProfile-BbeoTiGU.js} +120 -120
- package/dist/UpdateProfile-BbeoTiGU.js.map +1 -0
- package/dist/{UserInfo-erI9V_8N.js → UserInfo--s7Np9A7.js} +4 -4
- package/dist/{UserInfo-erI9V_8N.js.map → UserInfo--s7Np9A7.js.map} +1 -1
- package/dist/{Wallet-CQwpMlni.js → Wallet-D7UN5ftU.js} +34 -34
- package/dist/{Wallet-CQwpMlni.js.map → Wallet-D7UN5ftU.js.map} +1 -1
- package/dist/{authMethods.helper-BXT_oyS6.js → authMethods.helper-Bkgq5VW4.js} +2 -2
- package/dist/{authMethods.helper-BXT_oyS6.js.map → authMethods.helper-Bkgq5VW4.js.map} +1 -1
- package/dist/{each-DWqGKC0z.js → each-ExkXE69o.js} +7 -7
- package/dist/{each-DWqGKC0z.js.map → each-ExkXE69o.js.map} +1 -1
- package/dist/{html-D2UR79xe.js → html-C1X1llmf.js} +7 -7
- package/dist/{html-D2UR79xe.js.map → html-C1X1llmf.js.map} +1 -1
- package/dist/{index-CowPjMUm.js → index-DmNgNZMO.js} +43 -41
- package/dist/{index-CowPjMUm.js.map → index-DmNgNZMO.js.map} +1 -1
- package/dist/{index-client-C8M-e9fD.js → index-client-CUVZxTAG.js} +2 -2
- package/dist/{index-client-C8M-e9fD.js.map → index-client-CUVZxTAG.js.map} +1 -1
- package/dist/{input-JduvoMw0.js → input-CoHZw7to.js} +2 -2
- package/dist/{input-JduvoMw0.js.map → input-CoHZw7to.js.map} +1 -1
- package/dist/passport.es.js +2 -2
- package/dist/passport.umd.js +114 -114
- package/dist/passport.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/App-DLinmGdk.js.map +0 -1
- package/dist/Payment-zXYxV9xX.js.map +0 -1
- package/dist/UpdateProfile-DzdjZyy6.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App-C6e6vULA.js","sources":["../../../node_modules/.pnpm/svelte@5.55.10_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/blocks/await.js","../../ui/images/close-button.svg","../../ui/main/shared/Header.svelte","../../ui/main/shared/footer/LogoLinkText.svelte","../../ui/images/credenza.svg","../../ui/main/shared/footer/Footer.svelte","../../ui/main/shared/Container.svelte","../../ui/main/Main.svelte","../src/app/images/avax-partner-logo.svg","../src/app/App.svelte"],"sourcesContent":["/** @import { Source, TemplateNode } from '#client' */\nimport { is_promise } from '../../../shared/utils.js';\nimport { block } from '../../reactivity/effects.js';\nimport { internal_set, mutable_source, source } from '../../reactivity/sources.js';\nimport {\n\thydrate_next,\n\thydrating,\n\tskip_nodes,\n\tset_hydrate_node,\n\tset_hydrating,\n\thydrate_node\n} from '../hydration.js';\nimport { queue_micro_task } from '../task.js';\nimport { HYDRATION_START_ELSE, UNINITIALIZED } from '../../../../constants.js';\nimport { is_runes } from '../../context.js';\nimport { Batch, current_batch, flushSync, is_flushing_sync } from '../../reactivity/batch.js';\nimport { BranchManager } from './branches.js';\nimport { capture, unset_context } from '../../reactivity/async.js';\nimport { DEV } from 'esm-env';\n\nconst PENDING = 0;\nconst THEN = 1;\nconst CATCH = 2;\n\n/** @typedef {typeof PENDING | typeof THEN | typeof CATCH} AwaitState */\n\n/**\n * @template V\n * @param {TemplateNode} node\n * @param {(() => any)} get_input\n * @param {null | ((anchor: Node) => void)} pending_fn\n * @param {null | ((anchor: Node, value: Source<V>) => void)} then_fn\n * @param {null | ((anchor: Node, error: unknown) => void)} catch_fn\n * @returns {void}\n */\nexport function await_block(node, get_input, pending_fn, then_fn, catch_fn) {\n\tif (hydrating) {\n\t\thydrate_next();\n\t}\n\n\tvar runes = is_runes();\n\n\tvar v = /** @type {V} */ (UNINITIALIZED);\n\tvar value = runes ? source(v) : mutable_source(v, false, false);\n\tvar error = runes ? source(v) : mutable_source(v, false, false);\n\n\tif (DEV) {\n\t\tvalue.label = '{#await ...} value';\n\t\terror.label = '{#await ...} error';\n\t}\n\n\tvar branches = new BranchManager(node);\n\n\tblock(() => {\n\t\tvar batch = /** @type {Batch} */ (current_batch);\n\t\tvar input = get_input();\n\n\t\tvar destroyed = false;\n\n\t\t/** Whether or not there was a hydration mismatch. Needs to be a `let` or else it isn't treeshaken out */\n\t\t// @ts-ignore coercing `node` to a `Comment` causes TypeScript and Prettier to fight\n\t\tlet mismatch = hydrating && is_promise(input) === (node.data === HYDRATION_START_ELSE);\n\n\t\tif (mismatch) {\n\t\t\t// Hydration mismatch: remove everything inside the anchor and start fresh\n\t\t\tset_hydrate_node(skip_nodes());\n\t\t\tset_hydrating(false);\n\t\t}\n\n\t\tif (is_promise(input)) {\n\t\t\tvar restore = capture();\n\t\t\tvar resolved = false;\n\n\t\t\t/**\n\t\t\t * @param {() => void} fn\n\t\t\t */\n\t\t\tconst resolve = (fn) => {\n\t\t\t\tif (destroyed) return;\n\n\t\t\t\tresolved = true;\n\t\t\t\t// We don't want to restore the previous batch here; {#await} blocks don't follow the async logic\n\t\t\t\t// we have elsewhere, instead pending/resolve/fail states are each their own batch so to speak.\n\t\t\t\trestore(false);\n\t\t\t\t// ...but it might still be set here. That means a `save(...)` has restored it — but that batch will\n\t\t\t\t// likely already have been committed by the time it resolves, and this resolve should be processed\n\t\t\t\t// in a separate batch. We're not using batch.deactivate()/activate() above because get_input()\n\t\t\t\t// could write to sources, which would then incorrectly create a new batch or could mess with\n\t\t\t\t// async_derived expecting a current_batch to exist.\n\t\t\t\tif (current_batch === batch) {\n\t\t\t\t\tbatch.deactivate();\n\t\t\t\t}\n\t\t\t\t// Make sure we have a batch, since the branch manager expects one to exist\n\t\t\t\tBatch.ensure();\n\n\t\t\t\ttry {\n\t\t\t\t\tfn();\n\t\t\t\t} finally {\n\t\t\t\t\tunset_context(false);\n\n\t\t\t\t\t// without this, the DOM does not update until two ticks after the promise\n\t\t\t\t\t// resolves, which is unexpected behaviour (and somewhat irksome to test)\n\t\t\t\t\tif (!is_flushing_sync) flushSync();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tinput.then(\n\t\t\t\t(v) => {\n\t\t\t\t\tresolve(() => {\n\t\t\t\t\t\tinternal_set(value, v);\n\t\t\t\t\t\tbranches.ensure(THEN, then_fn && ((target) => then_fn(target, value)));\n\t\t\t\t\t});\n\t\t\t\t},\n\t\t\t\t(e) => {\n\t\t\t\t\tresolve(() => {\n\t\t\t\t\t\tinternal_set(error, e);\n\t\t\t\t\t\tbranches.ensure(CATCH, catch_fn && ((target) => catch_fn(target, error)));\n\n\t\t\t\t\t\tif (!catch_fn) {\n\t\t\t\t\t\t\t// Rethrow the error if no catch block exists\n\t\t\t\t\t\t\tthrow error.v;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t);\n\n\t\t\tif (hydrating) {\n\t\t\t\tbranches.ensure(PENDING, pending_fn);\n\t\t\t} else {\n\t\t\t\t// Wait a microtask before checking if we should show the pending state as\n\t\t\t\t// the promise might have resolved by then\n\t\t\t\tqueue_micro_task(() => {\n\t\t\t\t\tif (!resolved) {\n\t\t\t\t\t\tresolve(() => {\n\t\t\t\t\t\t\tbranches.ensure(PENDING, pending_fn);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tinternal_set(value, input);\n\t\t\tbranches.ensure(THEN, then_fn && ((target) => then_fn(target, value)));\n\t\t}\n\n\t\tif (mismatch) {\n\t\t\t// continue in hydration mode\n\t\t\tset_hydrating(true);\n\t\t}\n\n\t\treturn () => {\n\t\t\tdestroyed = true;\n\t\t};\n\t});\n}\n","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3ctitle%3eClose%3c/title%3e%3cpath%20fill='%23a6a6a6'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.237%207.177a.75.75%200%2010-1.06%201.06L10.939%2012l-3.762%203.763a.75.75%200%20101.06%201.06L12%2013.061l3.763%203.762a.75.75%200%20101.06-1.06L13.061%2012l3.762-3.763a.75.75%200%2000-1.06-1.06L12%2010.939%208.237%207.177z'/%3e%3c/svg%3e\"","<script lang=\"ts\">\n import CloseIcon from \"../../images/close-button.svg\";\n\n export let onCloseClick: () => void;\n export let isHeaderShown: boolean;\n export let clientLogoHeader: string | null\n\n $: isHeaderShown = isHeaderShown;\n</script>\n\n{#if isHeaderShown}\n <div class=\"crtw-flex crtw-justify-center crtw-mt-[50px]\">\n <!-- svelte-ignore a11y-click-events-have-key-events -->\n <div\n class=\"crtw-float-right crtw-cursor-pointer crtw-h-8 crtw-w-8 crtw-absolute crtw-top-0 crtw-right-0 crtw-z-1000001 crtw-m-2 crtw-bg-white crtw-rounded-full sm:crtw-m-4\"\n on:click={onCloseClick}\n role=\"button\"\n tabindex={0}\n >\n <img\n src={CloseIcon}\n alt=\"close-icon\"\n class=\"crtw-fill-red-500 crtw-w-8 crtw-h-8 crtw-border crtw-rounded-full\"\n />\n </div>\n\n {#if clientLogoHeader}\n <img src={clientLogoHeader} class=\"crtw-w-[150px] crtw-h-10\" alt=\"client app logo\">\n {/if}\n </div>\n{/if}\n","<p class=\"crtw-px-0.5 sm:crtw-px-1.5 crtw-text-textMain crtw-text-[10px] sm:crtw-text-[11px]\"><slot /></p>\n","export default \"data:image/svg+xml,%3csvg%20id='Layer_1'%20width='100%25'%20xmlns='http://www.w3.org/2000/svg'%20height='100%25'%20viewBox='0%200%20939.84%20194'%20data-name='Layer%201'%3e%3cg%3e%3cg%3e%3cpath%20d='m181,0H13C5.82,0,0,5.82,0,13v168c0,7.18,5.82,13,13,13h154c-2.69-28.49-18.67-54.88-58.91-78.03-28.28-15.89-32.85-6.92-80.75,27.15,39.18-64.25,38.73-56.84-4-116.12,61.46,40.42,56.89,41.25,116.12-4-30.41,50.61-38.32,55.06-19.72,83.12,21.63,32.61,42.77,58.88,74.26,61.05V13c0-7.18-5.82-13-13-13Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpath%20d='m181,194h13v-13c0,7.18-5.82,13-13,13Z'%20style='fill:%20%23fff;'%3e%3c/path%3e%3cpath%20d='m119.74,106.12c-18.6-28.06-10.69-32.51,19.72-83.12-59.23,45.25-54.66,44.42-116.12,4,42.73,59.28,43.18,51.87,4,116.12,47.9-34.07,52.46-43.04,80.75-27.15,40.23,23.15,56.22,49.54,58.91,78.03h14c7.18,0,13-5.82,13-13v-13.83c-31.48-2.17-52.63-28.44-74.26-61.05Z'%20style='fill:%20%23fff;'%3e%3c/path%3e%3c/g%3e%3cpath%20d='m92,142.14c-22.75,17.3-20.76,16.82-44.5,1.67,16.41,22.55,16.66,20.1,1.67,44.5,23.94-17.03,19.64-17.39,44.5-1.67-17.03-23.94-16.86-19.2-1.67-44.5Z'%20style='fill:%20%23fff;'%3e%3c/path%3e%3cpath%20d='m180.28,76.84c-17.73,13.35-16.29,13.13-34.31,1.24,12.83,17.61,12.78,15.39,1.24,34.31,18.52-13.17,15.3-13.63,34.31-1.24-13.17-18.52-12.91-14.86-1.24-34.31Z'%20style='fill:%20%23fff;'%3e%3c/path%3e%3c/g%3e%3cg%20id='Credenza'%3e%3cpath%20d='m699.78,61.6c16.09,19.44,32.17,39.03,49.06,59.57v-58.61h5.58v71.37l-1.43.95c-16.41-19.27-32.17-39.03-49.22-59.42v58.62h-5.41V62.39c.51-.2.99-.47,1.43-.8h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpath%20d='m512.45,73.07h5.41v55.59c10.67-.16,21.19,1.6,31.22-1.91,13.22-4.62,20.71-18.64,18.32-33.93-2.07-14.33-13.38-24.37-28.19-24.85-8.92-.32-17.84,0-26.92,0v-5.58c13.7.63,27.71-2.23,40.94,3.35,14.33,6.21,22.14,21.5,19.91,38.55-2.07,15.61-13.7,27.88-29.47,29.31-10.2.95-20.71.16-31.38.16.16-20.07.16-40.3.16-60.69h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpath%20d='m336.59,101.59h17.68c5.26,0,10.52.16,15.93-.16,10.04-.48,15.93-7.01,15.61-17.21-.16-9.4-6.69-16.25-16.09-16.41-10.83-.16-21.82,0-33.14,0-.16-1.91-.16-3.51-.16-4.78,12.9,0,25.48-.95,37.91.32,10.99.95,17.84,10.67,17.84,21.98s-6.69,18.96-18.16,21.02c-1.28.32-2.55.48-4.62.95,8.29,9.08,16.25,17.52,24.53,26.6-4.46,1.12-7.33.48-10.04-2.71-6.37-7.33-12.9-14.33-19.75-21.34-1.63-1.48-3.7-2.38-5.89-2.55-5.1-.32-10.2-.16-15.77-.16v26.92c-2.07.16-3.66.16-5.58.32-.32-10.83-.32-21.5-.32-32.82v.03Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpath%20d='m834.23,67.65h-43.01v-5.1h53.52c-15.77,22.62-31.7,43.81-47.47,65.95h45.87c.16,2.07.32,3.51.32,5.41h-56.39c15.61-22.62,31.38-43.64,47.15-66.26h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpath%20d='m299.96,72.59c-1.28,1.12-2.39,2.07-3.35,3.03-17.04-11.95-35.84-11.47-46.83.95-10.35,11.79-10.35,32.17.32,43.81,10.99,12.1,29.94,12.43,46.99.32.8,1.12,1.75,2.39,2.71,3.66-12.9,13.86-38.39,14.5-52.25,1.43-14.65-13.7-14.98-39.35-.8-53.68,13.54-14.02,38.87-13.86,53.21.48h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpath%20d='m939.83,133.76c-4.14,1.6-6.06.16-7.64-3.35-8.29-19.11-16.88-37.91-25.33-56.87-.63-1.43-1.43-2.86-2.39-5.1-3.83,8.44-7.33,16.25-10.83,24.05-5.58,12.75-11.47,25.33-16.88,38.07-1.6,3.66-3.66,4.62-7.64,3.18l3.35-7.64c9.08-19.91,18-39.98,27.24-59.9.8-1.75,1.75-3.66,3.66-4.3,3.18-1.12,5.1,2.07,6.06,4.3,9.72,21.67,19.59,43.17,29.31,64.83.5.84.87,1.76,1.12,2.71h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3cpolygon%20style='fill:%20%23262a2e;'%20points='476.77%2095.85%20476.77%20100.62%20432.81%20100.62%20432.81%20128.82%20476.77%20128.82%20476.77%20134.08%20427.07%20134.08%20427.07%2095.85%20476.77%2095.85'%3e%3c/polygon%3e%3cpath%20d='m615.35,128.82h43.64v5.26h-49.38v-38.23h49.38c.16,1.28.32,2.71.48,4.62h-44.12v28.36h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3crect%20x='427.07'%20y='62.56'%20style='fill:%20%23262a2e;'%20width='49.7'%20height='4.94'%3e%3c/rect%3e%3cpath%20d='m659.32,67.65h-49.86v-5.1h49.54c.16,1.6.16,3.03.32,5.1h0Z'%20style='fill:%20%23262a2e;'%3e%3c/path%3e%3c/g%3e%3c/svg%3e\"","<script lang=\"ts\">\n import LogoLinkText from \"./LogoLinkText.svelte\";\n import CredenzaLogo from \"../../../images/credenza.svg\";\n\n export let additionalLogo: { img?: string, width: number} | undefined = undefined;\n</script>\n\n<section class=\"crtw-flex crtw-flex-col crtw-items-center crtw-pt-11\">\n <div class=\"crtw-flex crtw-items-center crtw-justify-center crtw-gap-4\">\n <img\n src={CredenzaLogo}\n alt=\"credenza-logo\"\n class=\"crtw-w-[110px]\"\n />\n {#if additionalLogo?.img}\n <img\n src={additionalLogo?.img}\n alt=\"additional-logo\"\n style={`width: ${additionalLogo?.width}px`}\n />\n {/if}\n </div>\n \n <div\n class=\"crtw-text-center crtw-text-textMain crtw-text-xs crtw-flex crtw-justify-center\n crtw-items-center crtw-pt-[3px] sm:crtw-pt-2\"\n >\n <a\n class=\"crtw-text-hightlightColor crtw-no-underline crtw-mr-1.5 crtw-text-[10px]\"\n href=\"https://www.credenza3.com\"\n target=\"_blank\"\n rel=\"noreferrer\">Credenza</a\n >\n <LogoLinkText>·</LogoLinkText>\n <LogoLinkText\n ><a\n class=\"crtw-text-hightlightColor crtw-no-underline\"\n href=\"https://www.credenza3.com/company/about\"\n target=\"_blank\"\n rel=\"noreferrer\">About</a\n ></LogoLinkText\n >\n\n <LogoLinkText>·</LogoLinkText>\n <LogoLinkText\n ><a\n class=\"crtw-text-hightlightColor crtw-no-underline\"\n href=\"mailto:info@credenza3.com\"\n >\n Contact</a\n ></LogoLinkText\n >\n <LogoLinkText>·</LogoLinkText>\n <LogoLinkText\n ><a\n class=\"crtw-text-hightlightColor crtw-no-underline\"\n href=\"https://www.credenza3.com/privacy-policy\"\n target=\"_blank\"\n rel=\"noreferrer\">Privacy & terms</a\n ></LogoLinkText\n >\n </div>\n</section>\n","<div class={$$props.class + \" crtw-w-full crtw-mx-auto crtw-my-0\"}>\n <slot />\n</div>\n","<script lang=\"ts\">\n import Header from \"./shared/Header.svelte\";\n import Footer from \"./shared/footer/Footer.svelte\";\n\n import Container from \"./shared/Container.svelte\";\n\n export let shouldBlurBackdrop: boolean;\n export let isHeaderShown: boolean;\n export let footerAdditionalLogo: { img?: string, width: number} | undefined = undefined;\n export let clientLogoHeader: string | null\n\n export let onCloseClick: () => void;\n</script>\n\n<div id=\"cpui\" class=\"crdz-ui\">\n <div\n class=\"crtw-font-['Poppins'] crtw-fixed crtw-z-[1050] crtw-top-0 crtw-left-0 crtw-min-w-screen crtw-w-full\n crtw-min-h-screen crtw-h-full crtw-flex crtw-justify-center crtw-items-center crtw-bg-black/70\n crtw-text-[#121e2b]\"\n class:crtw-backdrop-blur-md={shouldBlurBackdrop}\n >\n <div\n class=\"crtw-bg-white crtw-rounded-lg crtw-relative crtw-w-full crtw-overflow-y-scroll\n crtw-max-w-[380px] crtw-max-h-full sm-tall:crtw-max-h-[650px] sm:crtw-max-w-md\"\n >\n <Header {onCloseClick} {isHeaderShown} {clientLogoHeader}/>\n <Container class=\"crtw-py-9 sm:crtw-pt-[30px] crtw-px-[22px]\">\n <div\n class=\"crtw-flex crtw-flex-col crtw-items-center crtw-justify-center crtw-bg-white crtw-rounded\n crtw-min-h-[155px] crtw-gap-6\"\n >\n <slot />\n </div>\n <Footer additionalLogo={footerAdditionalLogo}/>\n </Container>\n </div>\n </div>\n</div>\n\n<style>\n :global(body) {\n --w3m-z-index: 1000001;\n }\n</style>\n","export default \"data:image/svg+xml,%3csvg%20width='2875'%20height='988'%20viewBox='0%200%202875%20988'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8944_64327)'%3e%3cpath%20d='M2726.97%203.67969H147.206C67.9385%203.67969%203.67969%2067.9385%203.67969%20147.206V840.794C3.67969%20920.061%2067.9385%20984.32%20147.206%20984.32H2726.97C2806.24%20984.32%202870.5%20920.061%202870.5%20840.794V147.206C2870.5%2067.9385%202806.24%203.67969%202726.97%203.67969Z'%20fill='white'%20stroke='black'%20stroke-width='7.36033'/%3e%3cpath%20d='M832.065%20559.183C842.849%20540.814%20869.633%20540.814%20880.299%20559.183L994.901%20754.965C1005.69%20773.335%20992.175%20796.207%20970.724%20796.207H741.522C720.071%20796.207%20706.679%20773.335%20717.345%20754.965L831.946%20559.183H832.065Z'%20fill='black'/%3e%3cpath%20d='M762.844%20428.817C773.273%20410.566%20773.273%20388.049%20762.844%20369.679L668.864%20205.777C658.316%20187.408%20632.006%20187.408%20621.459%20205.777L306.928%20754.844C296.38%20773.213%20309.535%20796.204%20330.63%20796.204H518.472C539.448%20796.204%20558.766%20784.946%20569.195%20766.695L762.725%20428.817H762.844Z'%20fill='black'/%3e%3cpath%20d='M1293.06%20667.221V694.63H1276.73C1257.2%20694.63%201249.89%20686.18%201249.6%20671.836C1239.66%20686.393%201224.18%20696.334%201200.89%20696.334C1168.51%20696.334%201146%20680.286%201146%20652.593C1146%20621.633%201167.87%20604.733%201209.34%20604.733H1246.41V595.715C1246.41%20579.099%201234.48%20568.873%201214.03%20568.873C1195.64%20568.873%201183.42%20577.607%201181.08%20590.744H1149.83C1153.31%20561.843%201177.81%20543.452%201215.52%20543.452C1253.22%20543.452%201277.65%20562.412%201277.65%20597.703V657.492C1277.65%20665.09%201280.28%20667.15%201286.95%20667.15H1293.06V667.221ZM1246.41%20628.095H1207.92C1188.68%20628.095%201177.88%20635.409%201177.88%20650.534C1177.88%20663.102%201188.39%20671.836%201205.29%20671.836C1231%20671.836%201246.41%20656.356%201246.41%20633.917V628.095Z'%20fill='black'/%3e%3cpath%20d='M1361.64%20694.63L1305.05%20545.228H1338.92L1381.53%20660.759L1423.85%20545.228H1457.08L1400.2%20694.63H1361.72H1361.64Z'%20fill='black'/%3e%3cpath%20d='M1618%20667.221V694.63H1601.67C1582.15%20694.63%201574.83%20686.18%201574.55%20671.836C1564.61%20686.393%201549.13%20696.334%201525.84%20696.334C1493.46%20696.334%201470.95%20680.286%201470.95%20652.593C1470.95%20621.633%201492.82%20604.733%201534.29%20604.733H1571.35V595.715C1571.35%20579.099%201559.42%20568.873%201538.97%20568.873C1520.58%20568.873%201508.37%20577.607%201506.02%20590.744H1474.78C1478.26%20561.843%201502.76%20543.452%201540.46%20543.452C1578.17%20543.452%201602.6%20562.412%201602.6%20597.703V657.492C1602.6%20665.09%201605.22%20667.15%201611.9%20667.15H1618V667.221ZM1571.28%20628.095H1532.79C1513.55%20628.095%201502.76%20635.409%201502.76%20650.534C1502.76%20663.102%201513.27%20671.836%201530.17%20671.836C1555.87%20671.836%201571.28%20656.356%201571.28%20633.917V628.095Z'%20fill='black'/%3e%3cpath%20d='M1762.28%20666.94V694.634H1640.93V666.94H1686.02V520.094L1640.93%20535.006V507.17L1679.48%20492.4H1717.54V667.011H1762.35L1762.28%20666.94Z'%20fill='black'/%3e%3cpath%20d='M1930.37%20667.221V694.63H1914.04C1894.51%20694.63%201887.19%20686.18%201886.91%20671.836C1876.97%20686.393%201861.49%20696.334%201838.2%20696.334C1805.82%20696.334%201783.31%20680.286%201783.31%20652.593C1783.31%20621.633%201805.18%20604.733%201846.65%20604.733H1883.72V595.715C1883.72%20579.099%201871.79%20568.873%201851.34%20568.873C1832.94%20568.873%201820.73%20577.607%201818.39%20590.744H1787.14C1790.62%20561.843%201815.12%20543.452%201852.83%20543.452C1890.53%20543.452%201914.96%20562.412%201914.96%20597.703V657.492C1914.96%20665.09%201917.59%20667.15%201924.26%20667.15H1930.37V667.221ZM1883.72%20628.095H1845.23C1825.98%20628.095%201815.19%20635.409%201815.19%20650.534C1815.19%20663.102%201825.7%20671.836%201842.6%20671.836C1868.31%20671.836%201883.72%20656.356%201883.72%20633.917V628.095Z'%20fill='black'/%3e%3cpath%20d='M2099.09%20609.419V694.63H2067.28V612.331C2067.28%20585.773%202055.92%20571.217%202033.41%20571.217C2009.76%20571.217%201995.49%20588.401%201995.49%20617.301V694.63H1963.96V545.227H1991.37L1994.85%20564.755C2003.87%20553.109%202017.93%20543.452%202040.65%20543.452C2072.46%20543.452%202099.02%20560.636%202099.02%20609.419H2099.09Z'%20fill='black'/%3e%3cpath%20d='M2137.79%20620.213C2137.79%20574.128%202167.25%20543.452%202212.2%20543.452C2250.41%20543.452%202274.34%20564.755%202280.16%20598.626H2247.21C2243.09%20581.087%202230.59%20570.294%202211.64%20570.294C2186.57%20570.294%202169.88%20591.028%202169.88%20620.213C2169.88%20649.397%202186.5%20669.493%202211.64%20669.493C2230.31%20669.493%202243.16%20658.416%202246.93%20641.16H2280.16C2274.62%20675.032%202249.2%20696.334%202211.28%20696.334C2166.33%20696.334%202137.71%20666.866%202137.71%20620.213H2137.79Z'%20fill='black'/%3e%3cpath%20d='M2454.62%20609.421V694.632H2422.8V612.048C2422.8%20586.343%202411.44%20571.218%202388.08%20571.218C2364.72%20571.218%202349.59%20588.757%202349.59%20617.019V694.632H2318.07V490.41H2349.59V564.259C2359.82%20551.407%202375.3%20543.525%202395.4%20543.525C2430.4%20543.525%202454.62%20564.259%202454.62%20609.492V609.421Z'%20fill='black'/%3e%3cpath%20d='M2524.84%20627.248V628.739C2525.69%20654.089%202541.46%20670.776%202565.96%20670.776C2584.63%20670.776%202598.9%20661.119%202603.02%20644.503H2634.55C2629.3%20673.972%202604.51%20696.41%202567.73%20696.41C2521.08%20696.41%202491.89%20666.09%202491.89%20620.289C2491.89%20574.488%202521.08%20543.528%202564.54%20543.528C2607.99%20543.528%202636.33%20570.938%202637.18%20614.75C2637.18%20617.946%202636.89%20622.916%202636.33%20627.319H2524.84V627.248ZM2525.98%20603.602H2604.44C2601.82%20581.447%202586.62%20568.878%202564.75%20568.878C2545.22%20568.878%202528.25%20582.299%202525.91%20603.602H2525.98Z'%20fill='black'/%3e%3cpath%20d='M1278.66%20238.532H1349.09C1363.01%20238.532%201374.23%20242.471%201382.76%20250.347C1391.28%20258.153%201395.54%20269.153%201395.54%20283.345C1395.54%20295.551%201391.74%20306.196%201384.14%20315.279C1376.54%20324.291%201364.86%20328.798%201349.09%20328.798H1299.86V394.9H1278.66V238.532ZM1374.13%20283.452C1374.13%20271.956%201369.87%20264.15%201361.34%20260.034C1356.65%20257.834%201350.23%20256.734%201342.06%20256.734H1299.86V310.915H1342.06C1351.58%20310.915%201359.28%20308.892%201365.18%20304.847C1371.14%20300.802%201374.13%20293.671%201374.13%20283.452Z'%20fill='black'/%3e%3cpath%20d='M1460.54%20382.553C1473.26%20382.553%201481.96%20377.763%201486.64%20368.183C1491.4%20358.532%201493.78%20347.817%201493.78%20336.037C1493.78%20325.392%201492.08%20316.735%201488.67%20310.064C1483.27%20299.562%201473.97%20294.31%201460.75%20294.31C1449.03%20294.31%201440.51%20298.781%201435.18%20307.722C1429.86%20316.664%201427.19%20327.45%201427.19%20340.082C1427.19%20352.216%201429.86%20362.329%201435.18%20370.419C1440.51%20378.508%201448.96%20382.553%201460.54%20382.553ZM1461.29%20277.598C1475.99%20277.598%201488.42%20282.495%201498.58%20292.288C1508.74%20302.081%201513.81%20316.486%201513.81%20335.505C1513.81%20353.884%201509.34%20369.07%201500.39%20381.063C1491.44%20393.056%201477.55%20399.052%201458.73%20399.052C1443.03%20399.052%201430.57%20393.766%201421.33%20383.192C1412.1%20372.548%201407.48%20358.284%201407.48%20340.401C1407.48%20321.241%201412.35%20305.984%201422.08%20294.63C1431.81%20283.276%201444.88%20277.598%201461.29%20277.598Z'%20fill='black'/%3e%3cpath%20d='M1541.2%20280.897L1563.15%20370.737L1585.42%20280.897H1606.94L1629.31%20370.205L1652.65%20280.897H1671.83L1638.69%20394.9H1618.77L1595.54%20306.657L1573.06%20394.9H1553.13L1520.21%20280.897H1541.2Z'%20fill='black'/%3e%3cpath%20d='M1733.2%20278.343C1741.3%20278.343%201749.15%20280.259%201756.75%20284.091C1764.35%20287.852%201770.14%20292.748%201774.12%20298.78C1777.95%20304.528%201780.51%20311.234%201781.79%20318.898C1782.92%20324.149%201783.49%20332.523%201783.49%20344.019H1699.85C1700.21%20355.586%201702.94%20364.882%201708.06%20371.908C1713.17%20378.862%201721.09%20382.339%201731.82%20382.339C1741.83%20382.339%201749.82%20379.04%201755.79%20372.44C1759.2%20368.608%201761.61%20364.173%201763.03%20359.134H1781.89C1781.4%20363.321%201779.73%20368.005%201776.89%20373.185C1774.12%20378.295%201770.99%20382.481%201767.51%20385.746C1761.69%20391.423%201754.48%20395.255%201745.88%20397.242C1741.26%20398.377%201736.04%20398.945%201730.22%20398.945C1716.01%20398.945%201703.97%20393.8%201694.1%20383.51C1684.23%20373.15%201679.29%20358.673%201679.29%20340.081C1679.29%20321.772%201684.26%20306.905%201694.21%20295.48C1704.15%20284.055%201717.15%20278.343%201733.2%20278.343ZM1763.78%20328.798C1763%20320.495%201761.19%20313.86%201758.35%20308.892C1753.09%20299.667%201744.32%20295.054%201732.03%20295.054C1723.22%20295.054%201715.83%20298.248%201709.87%20304.635C1703.9%20310.95%201700.74%20319.005%201700.39%20328.798H1763.78Z'%20fill='black'/%3e%3cpath%20d='M1803.31%20280.897H1821.53V300.59C1823.02%20296.758%201826.68%20292.109%201832.51%20286.645C1838.33%20281.11%201845.04%20278.343%201852.64%20278.343C1853%20278.343%201853.6%20278.378%201854.46%20278.449C1855.31%20278.52%201856.76%20278.662%201858.82%20278.875V299.099C1857.69%20298.886%201856.62%20298.745%201855.63%20298.674C1854.7%20298.603%201853.67%20298.567%201852.54%20298.567C1842.88%20298.567%201835.45%20301.69%201830.27%20307.934C1825.08%20314.108%201822.49%20321.24%201822.49%20329.33V394.9H1803.31V280.897Z'%20fill='black'/%3e%3cpath%20d='M1918.6%20278.343C1926.7%20278.343%201934.55%20280.259%201942.15%20284.091C1949.75%20287.852%201955.54%20292.748%201959.51%20298.78C1963.35%20304.528%201965.91%20311.234%201967.19%20318.898C1968.32%20324.149%201968.89%20332.523%201968.89%20344.019H1885.25C1885.61%20355.586%201888.34%20364.882%201893.46%20371.908C1898.57%20378.862%201906.49%20382.339%201917.22%20382.339C1927.23%20382.339%201935.22%20379.04%201941.19%20372.44C1944.6%20368.608%201947.01%20364.173%201948.43%20359.134H1967.29C1966.8%20363.321%201965.13%20368.005%201962.28%20373.185C1959.51%20378.295%201956.39%20382.481%201952.91%20385.746C1947.08%20391.423%201939.87%20395.255%201931.28%20397.242C1926.66%20398.377%201921.44%20398.945%201915.62%20398.945C1901.41%20398.945%201889.37%20393.8%201879.5%20383.51C1869.63%20373.15%201864.69%20358.673%201864.69%20340.081C1864.69%20321.772%201869.66%20306.905%201879.6%20295.48C1889.55%20284.055%201902.55%20278.343%201918.6%20278.343ZM1949.18%20328.798C1948.4%20320.495%201946.59%20313.86%201943.75%20308.892C1938.49%20299.667%201929.72%20295.054%201917.43%20295.054C1908.62%20295.054%201901.23%20298.248%201895.27%20304.635C1889.3%20310.95%201886.14%20319.005%201885.78%20328.798H1949.18Z'%20fill='black'/%3e%3cpath%20d='M2000.33%20339.229C2000.33%20351.435%202002.92%20361.654%202008.1%20369.885C2013.29%20378.117%202021.6%20382.233%202033.04%20382.233C2041.91%20382.233%202049.2%20378.436%202054.88%20370.843C2060.63%20363.179%202063.51%20352.215%202063.51%20337.952C2063.51%20323.546%202060.56%20312.902%202054.66%20306.018C2048.77%20299.064%202041.49%20295.587%202032.82%20295.587C2023.16%20295.587%202015.31%20299.277%202009.28%20306.657C2003.31%20314.037%202000.33%20324.895%202000.33%20339.229ZM2029.2%20278.875C2037.94%20278.875%202045.25%20280.72%202051.15%20284.41C2054.56%20286.539%202058.43%20290.264%202062.76%20295.587V238H2081.19V394.9H2063.93V379.04C2059.46%20386.065%202054.17%20391.139%202048.06%20394.261C2041.95%20397.384%202034.95%20398.945%202027.07%20398.945C2014.35%20398.945%202003.34%20393.623%201994.04%20382.978C1984.73%20372.263%201980.08%20358.034%201980.08%20340.294C1980.08%20323.688%201984.31%20309.318%201992.76%20297.183C2001.29%20284.978%202013.43%20278.875%202029.2%20278.875Z'%20fill='black'/%3e%3cpath%20d='M2160.15%20238H2178.8V294.735C2182.99%20289.271%202188%20285.12%202193.82%20282.281C2199.65%20279.372%202205.97%20277.917%202212.79%20277.917C2226.99%20277.917%202238.5%20282.813%202247.31%20292.606C2256.19%20302.328%202260.63%20316.698%202260.63%20335.716C2260.63%20353.741%202256.26%20368.714%202247.52%20380.636C2238.79%20392.558%202226.67%20398.519%202211.19%20398.519C2202.52%20398.519%202195.21%20396.426%202189.24%20392.239C2185.69%20389.755%202181.89%20385.781%202177.84%20380.317V394.9H2160.15V238ZM2210.02%20381.594C2220.39%20381.594%202228.13%20377.478%202233.25%20369.247C2238.43%20361.015%202241.02%20350.158%202241.02%20336.675C2241.02%20324.682%202238.43%20314.747%202233.25%20306.87C2228.13%20298.993%202220.57%20295.054%202210.55%20295.054C2201.81%20295.054%202194.14%20298.283%202187.54%20304.741C2181%20311.199%202177.73%20321.843%202177.73%20336.675C2177.73%20347.39%202179.08%20356.083%202181.78%20362.754C2186.83%20375.314%202196.24%20381.594%202210.02%20381.594Z'%20fill='black'/%3e%3cpath%20d='M2350.02%20280.897H2371.23C2368.53%20288.206%202362.53%20304.883%202353.22%20330.926C2346.26%20350.512%202340.43%20366.479%202335.75%20378.827C2324.67%20407.922%202316.85%20425.663%202312.31%20432.049C2307.76%20438.436%202299.95%20441.629%202288.87%20441.629C2286.17%20441.629%202284.07%20441.523%202282.58%20441.31C2281.16%20441.097%202279.38%20440.707%202277.25%20440.139V422.682C2280.59%20423.605%202283.01%20424.172%202284.5%20424.385C2285.99%20424.598%202287.3%20424.705%202288.44%20424.705C2291.99%20424.705%202294.58%20424.101%202296.22%20422.895C2297.92%20421.76%202299.34%20420.34%202300.48%20418.637C2300.84%20418.07%202302.11%20415.16%202304.32%20409.909C2306.52%20404.657%202308.12%20400.754%202309.11%20398.2L2266.92%20280.897H2288.65L2319.23%20373.717L2350.02%20280.897Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8944_64327'%3e%3crect%20width='2875'%20height='988'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\"","<script lang=\"ts\">\n import { get } from 'svelte/store'\n import { fn, pageStore, pageOptsStore, ppaStore } from '@packages/stores'\n import { dispatch, PassportEvents } from '@lib/events/events'\n\n import { Chains, Pages } from '@packages/utils/enums'\n import { MainApp } from '@packages/ui'\n import { clientPublicStore } from '@packages/stores'\n import { cloakStore, forcedPage, configStore } from '@src/stores'\n import AvaxPartnerLogo from '@images/avax-partner-logo.svg'\n\n $: shouldBlurBackdrop = $cloakStore || $ppaStore.active\n $: isHeaderShown = !$cloakStore && !$ppaStore.active && !$ppaStore.loading\n\n const handleCloseClick = () => {\n const { close } = get(fn)\n\n dispatch(PassportEvents.UI_CLOSED, {\n page: <string>(get(forcedPage) || get(pageStore)),\n pageOpts: get(pageOptsStore),\n })\n close()\n }\n\n let additionalLogo: { img: string; width: number } | undefined = undefined\n const getPartnerLogoByChain = () => {\n switch ($configStore.chainId) {\n case Chains.AVALANCHE:\n case Chains.AVALANCHE_FUJI:\n additionalLogo = { img: AvaxPartnerLogo, width: 90 }\n break\n default:\n additionalLogo = undefined\n }\n }\n\n $: $configStore.chainId && getPartnerLogoByChain()\n</script>\n\n<MainApp\n footerAdditionalLogo={additionalLogo}\n bind:shouldBlurBackdrop\n bind:isHeaderShown\n onCloseClick={handleCloseClick}\n clientLogoHeader={$clientPublicStore?.ui_settings.logo_url ?? null}\n>\n {#if $forcedPage === Pages.LOGIN || $pageStore === Pages.LOGIN}\n {#await import('@pages/login/Login.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.LOGOUT}\n {#await import('@pages/logout/Logout.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $forcedPage === Pages.CONFIRM_ACCOUNT || $pageStore === Pages.CONFIRM_ACCOUNT}\n {#await import('@pages/confirm-account/ConfirmAccount.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $forcedPage === Pages.UPDATE_PROFILE || $pageStore === Pages.UPDATE_PROFILE}\n {#await import('@pages/update-profile/UpdateProfile.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.PASSPORT_ID}\n {#await import('@pages/passport-id/PassportId.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.SIGN}\n {#await import('@pages/sign/Sign.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.WALLET}\n {#await import('@pages/wallet/Wallet.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.SEND_TOKENS}\n {#await import('@pages/send-tokens/SendTokens.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.PAYMENT}\n {#await import('@pages/payment/Payment.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.PAYMENT_RESULT}\n {#await import('@pages/payment-result/PaymentResult.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.SCANNER}\n {#await import('@pages/scanner/Scanner.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.ERROR}\n {#await import('@pages/error/Error.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.RICH_ALERT}\n {#await import('@pages/rich-alert/RichAlert.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.LOADER}\n {#await import('@components/progress/ProgressVideo.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.ASSETS}\n {#await import('@pages/assets/Assets.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else if $pageStore === Pages.NAV_MENU}\n {#await import('@pages/nav-menu/NavMenu.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {:else}\n {#await import('@pages/profile/Profile.svelte') then module}\n <svelte:component this={module.default} />\n {/await}\n {/if}\n</MainApp>\n"],"names":["PENDING","THEN","CATCH","await_block","node","get_input","pending_fn","then_fn","catch_fn","hydrating","hydrate_next","runes","is_runes","v","UNINITIALIZED","value","source","mutable_source","error","branches","BranchManager","block","batch","current_batch","input","destroyed","mismatch","is_promise","HYDRATION_START_ELSE","set_hydrate_node","skip_nodes","set_hydrating","restore","capture","resolved","resolve","fn","Batch","unset_context","is_flushing_sync","flushSync","internal_set","target","e","queue_micro_task","CloseIcon","onCloseClick","$.prop","$$props","isHeaderShown","clientLogoHeader","div","root_1","div_1","$.child","$.set_attribute","img","$.reset","node_1","$.sibling","img_1","root_2","$.template_effect","$$render","consequent","$.event","$$args","consequent_1","root","CredenzaLogo","section","$.untrack","additionalLogo","$.set_style","$.append","$$anchor","LogoLinkText","node_2","a","root_3","node_3","node_4","a_1","root_5","node_5","node_6","a_2","root_7","$$sanitized_props","shouldBlurBackdrop","footerAdditionalLogo","div_2","Header","Container","div_3","$.first_child","fragment","Footer","classes","$.set_class","AvaxPartnerLogo","handleCloseClick","close","get","dispatch","PassportEvents","forcedPage","pageStore","pageOptsStore","getPartnerLogoByChain","$configStore","Chains","$.set","$cloakStore","$ppaStore","$clientPublicStore","MainApp","$$value","module","$.component","$.get","$$component","node_12","node_16","node_22","node_24","node_28","node_32","Pages","$forcedPage","$pageStore"],"mappings":";;AAoBA,MAAMA,KAAU,GACVC,KAAO,GACPC,KAAQ;AAaP,SAASC,EAAYC,GAAMC,GAAWC,GAAYC,GAASC,GAAU;AAC3E,EAAIC,MACHC,GAAY;AAGb,MAAIC,IAAQC,GAAQ,GAEhBC;AAAA;AAAA,IAAsBC;AAAA,KACtBC,IAAQJ,IAAQK,GAAOH,CAAC,IAAII,EAAeJ,GAAG,IAAO,EAAK,GAC1DK,IAAQP,IAAQK,GAAOH,CAAC,IAAII,EAAeJ,GAAG,IAAO,EAAK,GAO1DM,IAAW,IAAIC,GAAchB,CAAI;AAErC,EAAAiB,GAAM,MAAM;AACX,QAAIC;AAAA;AAAA,MAA8BC;AAAA,OAC9BC,IAAQnB,EAAS,GAEjBoB,IAAY;AAIhB,QAAIC,IAAWjB,MAAakB,GAAWH,CAAK,OAAOpB,EAAK,SAASwB;AAQjE,QANIF,MAEHG,GAAiBC,GAAU,CAAE,GAC7BC,GAAc,EAAK,IAGhBJ,GAAWH,CAAK,GAAG;AACtB,UAAIQ,IAAUC,GAAO,GACjBC,IAAW;AAKf,YAAMC,IAAU,CAACC,MAAO;AACvB,YAAI,CAAAX,GAEJ;AAAA,UAAAS,IAAW,IAGXF,EAAQ,EAAK,GAMTT,OAAkBD,KACrBA,EAAM,WAAU,GAGjBe,GAAM,OAAM;AAEZ,cAAI;AACH,YAAAD,EAAE;AAAA,UACH,U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gt, I as O, g as we, a7 as bt, D as I, a8 as Se, q as U, a9 as A, h as y, aa as R, ab as Ne, b as ye, a as K, H as wt, ac as Oe, ad as L, ae as B, af as te, k as D, ag as
|
|
1
|
+
import { a6 as gt, I as O, g as we, a7 as bt, D as I, a8 as Se, q as U, a9 as A, h as y, aa as R, ab as Ne, b as ye, a as K, H as wt, ac as Oe, ad as L, ae as B, af as te, k as D, ag as Ve, ah as yt, ai as V, aj as re, ak as Ie, B as mt, al as Tt, am as Ye, an as me, f as At, ao as M, s as F, C as qe, d as Te, ap as J, aq as Ae, ar as Et, as as St, at as Nt, au as Ge, av as Ot, aw as We, ax as ze, ay as oe, az as It, aA as Lt, aB as Rt, aC as Ct, aD as Pt, aE as Mt, aF as ue, aG as Ke, aH as Xe, aI as Dt, aJ as le, e as P, aK as kt, aL as $t, aM as Ht, aN as xt, v as Je, aO as Bt, aP as Ft, t as Ze, aQ as Le, aR as Re, aS as jt, aT as Qe, aU as Ee, aV as et, aW as Ce, aX as Pe, aY as Ut, aZ as Vt, a_ as Yt, a$ as qt, b0 as Gt, b1 as Wt, b2 as zt, b3 as Kt, b4 as se, b5 as Xt, b6 as Jt, b7 as Zt, b8 as Qt, b9 as er, U as tr, ba as rr, bb as Me, bc as De, bd as sr, w as C, be as ce, bf as ir, bg as ar, bh as nr, G as tt, bi as fr, J as or, bj as ke, bk as rt, bl as ur, bm as lr, bn as st, bo as cr, bp as dr, bq as hr, br as vr, bs as _r, bt as pr, n as de, m as gr, bu as br, x as H, y as x, z as ie, A as Z } from "./index-DmNgNZMO.js";
|
|
2
2
|
function wr(e) {
|
|
3
3
|
let t = 0, r = we(0), s;
|
|
4
4
|
return () => {
|
|
@@ -132,7 +132,7 @@ class Tr {
|
|
|
132
132
|
this.#f(this.#e);
|
|
133
133
|
}), this.#l > 0) {
|
|
134
134
|
var t = this.#o = document.createDocumentFragment();
|
|
135
|
-
|
|
135
|
+
Ve(this.#a, t);
|
|
136
136
|
const r = (
|
|
137
137
|
/** @type {(anchor: Node) => void} */
|
|
138
138
|
this.#r.pending
|
|
@@ -175,14 +175,14 @@ class Tr {
|
|
|
175
175
|
* @param {() => T} fn
|
|
176
176
|
*/
|
|
177
177
|
#v(t) {
|
|
178
|
-
var r = R, s =
|
|
179
|
-
|
|
178
|
+
var r = R, s = Ye, a = me;
|
|
179
|
+
V(this.#s), re(this.#s), Ie(this.#s.ctx);
|
|
180
180
|
try {
|
|
181
181
|
return mt.ensure(), t();
|
|
182
182
|
} catch (i) {
|
|
183
183
|
return Tt(i), null;
|
|
184
184
|
} finally {
|
|
185
|
-
|
|
185
|
+
V(r), re(s), Ie(a);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
@@ -251,7 +251,7 @@ class Tr {
|
|
|
251
251
|
try {
|
|
252
252
|
i = !0, r?.(o, n), i = !1;
|
|
253
253
|
} catch (u) {
|
|
254
|
-
|
|
254
|
+
J(u, this.#s && this.#s.parent);
|
|
255
255
|
}
|
|
256
256
|
s && (this.#n = this.#v(() => {
|
|
257
257
|
try {
|
|
@@ -267,7 +267,7 @@ class Tr {
|
|
|
267
267
|
);
|
|
268
268
|
});
|
|
269
269
|
} catch (u) {
|
|
270
|
-
return
|
|
270
|
+
return J(
|
|
271
271
|
u,
|
|
272
272
|
/** @type {Effect} */
|
|
273
273
|
this.#s.parent
|
|
@@ -280,14 +280,14 @@ class Tr {
|
|
|
280
280
|
try {
|
|
281
281
|
o = this.transform_error(t);
|
|
282
282
|
} catch (u) {
|
|
283
|
-
|
|
283
|
+
J(u, this.#s && this.#s.parent);
|
|
284
284
|
return;
|
|
285
285
|
}
|
|
286
286
|
o !== null && typeof o == "object" && typeof /** @type {any} */
|
|
287
287
|
o.then == "function" ? o.then(
|
|
288
288
|
f,
|
|
289
289
|
/** @param {unknown} e */
|
|
290
|
-
(u) =>
|
|
290
|
+
(u) => J(u, this.#s && this.#s.parent)
|
|
291
291
|
) : f(o);
|
|
292
292
|
});
|
|
293
293
|
}
|
|
@@ -404,8 +404,8 @@ function _e(e) {
|
|
|
404
404
|
return i || r;
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
|
-
var d =
|
|
408
|
-
re(null),
|
|
407
|
+
var d = Ye, v = R;
|
|
408
|
+
re(null), V(null);
|
|
409
409
|
try {
|
|
410
410
|
for (var c, _ = []; i !== null && i !== t; ) {
|
|
411
411
|
try {
|
|
@@ -431,7 +431,7 @@ function _e(e) {
|
|
|
431
431
|
throw c;
|
|
432
432
|
}
|
|
433
433
|
} finally {
|
|
434
|
-
e[W] = t, delete e.currentTarget, re(d),
|
|
434
|
+
e[W] = t, delete e.currentTarget, re(d), V(v);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
}
|
|
@@ -502,7 +502,7 @@ function ds() {
|
|
|
502
502
|
var e = document.createDocumentFragment(), t = document.createComment(""), r = B();
|
|
503
503
|
return e.append(t, r), k(t, r), e;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function Y(e, t) {
|
|
506
506
|
if (y) {
|
|
507
507
|
var r = (
|
|
508
508
|
/** @type {Effect & { nodes: EffectNodes }} */
|
|
@@ -562,7 +562,7 @@ function ot(e, { target: t, anchor: r, props: s = {}, events: a, context: i, int
|
|
|
562
562
|
}
|
|
563
563
|
},
|
|
564
564
|
(_) => {
|
|
565
|
-
|
|
565
|
+
Je({});
|
|
566
566
|
var p = (
|
|
567
567
|
/** @type {ComponentContext} */
|
|
568
568
|
me
|
|
@@ -574,7 +574,7 @@ function ot(e, { target: t, anchor: r, props: s = {}, events: a, context: i, int
|
|
|
574
574
|
), o = e(_, s) || {}, y && (R.nodes.end = A, A === null || A.nodeType !== Ke || /** @type {Comment} */
|
|
575
575
|
A.data !== Bt))
|
|
576
576
|
throw Ft(), le;
|
|
577
|
-
|
|
577
|
+
Ze();
|
|
578
578
|
},
|
|
579
579
|
f
|
|
580
580
|
);
|
|
@@ -684,7 +684,7 @@ class ut {
|
|
|
684
684
|
const f = () => {
|
|
685
685
|
if (Array.from(this.#e.values()).includes(i)) {
|
|
686
686
|
var u = document.createDocumentFragment();
|
|
687
|
-
|
|
687
|
+
Ve(n, u), u.append(B()), this.#r.set(i, { effect: n, fragment: u });
|
|
688
688
|
} else
|
|
689
689
|
M(n);
|
|
690
690
|
this.#f.delete(i), this.#t.delete(i);
|
|
@@ -926,14 +926,14 @@ function ge(e, t, r = !1) {
|
|
|
926
926
|
if (t == null)
|
|
927
927
|
return;
|
|
928
928
|
if (!Ut(t))
|
|
929
|
-
return
|
|
929
|
+
return Vt();
|
|
930
930
|
for (var s of e.options)
|
|
931
931
|
s.selected = t.includes(Be(s));
|
|
932
932
|
return;
|
|
933
933
|
}
|
|
934
934
|
for (s of e.options) {
|
|
935
935
|
var a = Be(s);
|
|
936
|
-
if (
|
|
936
|
+
if (Yt(a, t)) {
|
|
937
937
|
s.selected = !0;
|
|
938
938
|
return;
|
|
939
939
|
}
|
|
@@ -961,7 +961,7 @@ function Ur(e) {
|
|
|
961
961
|
function Be(e) {
|
|
962
962
|
return "__value" in e ? e.__value : e.value;
|
|
963
963
|
}
|
|
964
|
-
const q = /* @__PURE__ */ Symbol("class"), G = /* @__PURE__ */ Symbol("style"), ct = /* @__PURE__ */ Symbol("is custom element"), dt = /* @__PURE__ */ Symbol("is html"),
|
|
964
|
+
const q = /* @__PURE__ */ Symbol("class"), G = /* @__PURE__ */ Symbol("style"), ct = /* @__PURE__ */ Symbol("is custom element"), dt = /* @__PURE__ */ Symbol("is html"), Vr = se ? "link" : "LINK", Yr = se ? "input" : "INPUT", qr = se ? "option" : "OPTION", Gr = se ? "select" : "SELECT";
|
|
965
965
|
function Wr(e) {
|
|
966
966
|
if (y) {
|
|
967
967
|
var t = !1, r = () => {
|
|
@@ -976,7 +976,7 @@ function Wr(e) {
|
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
|
-
e[
|
|
979
|
+
e[Zt] = r, U(r), Qt();
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
function zr(e, t) {
|
|
@@ -984,10 +984,10 @@ function zr(e, t) {
|
|
|
984
984
|
}
|
|
985
985
|
function z(e, t, r, s) {
|
|
986
986
|
var a = ht(e);
|
|
987
|
-
y && (a[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName ===
|
|
987
|
+
y && (a[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === Vr) || a[t] !== (a[t] = r) && (t === "loading" && (e[Kt] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && vt(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
|
|
988
988
|
}
|
|
989
989
|
function Kr(e, t, r, s, a = !1, i = !1) {
|
|
990
|
-
if (y && a && e.nodeName ===
|
|
990
|
+
if (y && a && e.nodeName === Yr) {
|
|
991
991
|
var n = (
|
|
992
992
|
/** @type {HTMLInputElement} */
|
|
993
993
|
e
|
|
@@ -1101,7 +1101,7 @@ function ps(e, t, r = [], s = [], a = [], i, n = !1, f = !1) {
|
|
|
1101
1101
|
p[l] || M(d[l]);
|
|
1102
1102
|
for (let l of Object.getOwnPropertySymbols(p)) {
|
|
1103
1103
|
var E = p[l];
|
|
1104
|
-
l.description ===
|
|
1104
|
+
l.description === Jt && (!u || E !== u[l]) && (d[l] && M(d[l]), d[l] = L(() => kr(e, () => E))), h[l] = E;
|
|
1105
1105
|
}
|
|
1106
1106
|
u = h;
|
|
1107
1107
|
}), v) {
|
|
@@ -1183,10 +1183,10 @@ function je(e, t) {
|
|
|
1183
1183
|
for (const r of e.l.s) O(r);
|
|
1184
1184
|
t();
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function Jr(e, t, r) {
|
|
1187
1187
|
e.$$events ||= {}, e.$$events[t] ||= [], e.$$events[t].push(r);
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function Zr(e) {
|
|
1190
1190
|
for (var t in e)
|
|
1191
1191
|
t in this && (this[t] = e[t]);
|
|
1192
1192
|
}
|
|
@@ -1199,7 +1199,7 @@ const Qr = {
|
|
|
1199
1199
|
if (!(t in e.special)) {
|
|
1200
1200
|
var s = R;
|
|
1201
1201
|
try {
|
|
1202
|
-
|
|
1202
|
+
V(e.parent_effect), e.special[t] = be(
|
|
1203
1203
|
{
|
|
1204
1204
|
get [t]() {
|
|
1205
1205
|
return e.props[t];
|
|
@@ -1210,7 +1210,7 @@ const Qr = {
|
|
|
1210
1210
|
rt
|
|
1211
1211
|
);
|
|
1212
1212
|
} finally {
|
|
1213
|
-
|
|
1213
|
+
V(s);
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
1216
|
return e.special[t](r), ke(e.version), !0;
|
|
@@ -1412,7 +1412,7 @@ function Ue(e) {
|
|
|
1412
1412
|
var ss = /* @__PURE__ */ X('<img alt="Asset" class="crtw-w-full crtw-h-full crtw-object-cover"/>'), is = /* @__PURE__ */ X('<p class="crtw-text-xl crtw-font-bold crtw-text-gray-900"> <span class="crtw-text-[10px] crtw-text-gray-400 crtw-align-top crtw-uppercase">usd</span></p>'), as = /* @__PURE__ */ X('<h3 class="crtw-font-bold crtw-text-gray-800"> </h3>'), ns = /* @__PURE__ */ X('<p class="crtw-text-xs crtw-text-gray-500 crtw-leading-tight"> </p>'), fs = /* @__PURE__ */ X('<div role="button" tabindex="0" class="crtw-flex crtw-flex-1 crtw-max-w-[120px] crtw-cursor-pointer"><div><div class="crtx-flex crtw-h-[120px] crtw-aspect-square crtw-bg-[#B4A7D6] crtw-rounded-sm crtw-mb-4 crtw-overflow-hidden"><!></div> <div class="crtw-space-y-1"><!> <!> <!></div></div></div>');
|
|
1413
1413
|
function os(e, t) {
|
|
1414
1414
|
if (new.target) return es({ component: os, ...e });
|
|
1415
|
-
|
|
1415
|
+
Je(t, !1);
|
|
1416
1416
|
let r = be(t, "asset", 12), s = be(t, "onSelect", 12);
|
|
1417
1417
|
var a = {
|
|
1418
1418
|
get asset() {
|
|
@@ -1427,17 +1427,17 @@ function os(e, t) {
|
|
|
1427
1427
|
set onSelect(l) {
|
|
1428
1428
|
s(l), de();
|
|
1429
1429
|
},
|
|
1430
|
-
$set:
|
|
1431
|
-
$on: (l, b) =>
|
|
1430
|
+
$set: Zr,
|
|
1431
|
+
$on: (l, b) => Jr(t, l, b)
|
|
1432
1432
|
};
|
|
1433
1433
|
Xr();
|
|
1434
1434
|
var i = fs(), n = H(i), f = H(n), o = H(f);
|
|
1435
1435
|
{
|
|
1436
1436
|
var u = (l) => {
|
|
1437
1437
|
var b = ss();
|
|
1438
|
-
|
|
1438
|
+
Z((T) => z(b, "src", T), [
|
|
1439
1439
|
() => (C(Ue), C(r()), I(() => Ue(r().metadata?.image || r().metadata?.image_url)))
|
|
1440
|
-
]),
|
|
1440
|
+
]), Y(l, b);
|
|
1441
1441
|
};
|
|
1442
1442
|
ee(o, (l) => {
|
|
1443
1443
|
C(r()), I(() => r().metadata?.image || r().metadata?.image_url) && l(u);
|
|
@@ -1448,7 +1448,7 @@ function os(e, t) {
|
|
|
1448
1448
|
{
|
|
1449
1449
|
var c = (l) => {
|
|
1450
1450
|
var b = is(), T = H(b);
|
|
1451
|
-
qe(), x(b),
|
|
1451
|
+
qe(), x(b), Z(() => ae(T, `${C(r()), I(() => r().metadata?.price) ?? ""} `)), Y(l, b);
|
|
1452
1452
|
};
|
|
1453
1453
|
ee(v, (l) => {
|
|
1454
1454
|
C(r()), I(() => r().metadata?.price) && l(c);
|
|
@@ -1458,7 +1458,7 @@ function os(e, t) {
|
|
|
1458
1458
|
{
|
|
1459
1459
|
var p = (l) => {
|
|
1460
1460
|
var b = as(), T = H(b, !0);
|
|
1461
|
-
x(b),
|
|
1461
|
+
x(b), Z(() => ae(T, (C(r()), I(() => r().metadata?.name)))), Y(l, b);
|
|
1462
1462
|
};
|
|
1463
1463
|
ee(_, (l) => {
|
|
1464
1464
|
C(r()), I(() => r().metadata?.name) && l(p);
|
|
@@ -1468,14 +1468,14 @@ function os(e, t) {
|
|
|
1468
1468
|
{
|
|
1469
1469
|
var E = (l) => {
|
|
1470
1470
|
var b = ns(), T = H(b, !0);
|
|
1471
|
-
x(b),
|
|
1471
|
+
x(b), Z(() => ae(T, (C(r()), I(() => r().metadata?.description)))), Y(l, b);
|
|
1472
1472
|
};
|
|
1473
1473
|
ee(h, (l) => {
|
|
1474
1474
|
C(r()), I(() => r().metadata?.description) && l(E);
|
|
1475
1475
|
});
|
|
1476
1476
|
}
|
|
1477
1477
|
return x(d), x(n), x(i), ve("click", i, () => s()(r())), ve("keydown", i, () => {
|
|
1478
|
-
}),
|
|
1478
|
+
}), Y(e, i), Ze(a);
|
|
1479
1479
|
}
|
|
1480
1480
|
nt(["click", "keydown"]);
|
|
1481
1481
|
export {
|
|
@@ -1483,9 +1483,9 @@ export {
|
|
|
1483
1483
|
ut as B,
|
|
1484
1484
|
q as C,
|
|
1485
1485
|
ds as a,
|
|
1486
|
-
|
|
1486
|
+
Y as b,
|
|
1487
1487
|
es as c,
|
|
1488
|
-
|
|
1488
|
+
Jr as d,
|
|
1489
1489
|
ls as e,
|
|
1490
1490
|
X as f,
|
|
1491
1491
|
hs as g,
|
|
@@ -1502,10 +1502,10 @@ export {
|
|
|
1502
1502
|
Wr as r,
|
|
1503
1503
|
z as s,
|
|
1504
1504
|
cs as t,
|
|
1505
|
-
|
|
1505
|
+
Zr as u,
|
|
1506
1506
|
ps as v,
|
|
1507
1507
|
k as w,
|
|
1508
1508
|
Hr as x,
|
|
1509
1509
|
Ue as y
|
|
1510
1510
|
};
|
|
1511
|
-
//# sourceMappingURL=AssetItem-
|
|
1511
|
+
//# sourceMappingURL=AssetItem-CFpT24rM.js.map
|