@credenza3/passport-sui 0.1.6 → 0.1.8
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-CiVYs_be.js +606 -0
- package/dist/App-CiVYs_be.js.map +1 -0
- package/dist/{Button-DdkN4ygx.js → Button-BoE6UH7J.js} +8 -8
- package/dist/{Button-DdkN4ygx.js.map → Button-BoE6UH7J.js.map} +1 -1
- package/dist/{ButtonBack-DOt6efWB.js → ButtonBack-ZuJIZvbM.js} +4 -4
- package/dist/{ButtonBack-DOt6efWB.js.map → ButtonBack-ZuJIZvbM.js.map} +1 -1
- package/dist/{ButtonLink-C3suV3YT.js → ButtonLink-Dn3fg--i.js} +4 -4
- package/dist/{ButtonLink-C3suV3YT.js.map → ButtonLink-Dn3fg--i.js.map} +1 -1
- package/dist/{ConfirmAccount-B0QimErt.js → ConfirmAccount-B_xj8sv2.js} +51 -51
- package/dist/{ConfirmAccount-B0QimErt.js.map → ConfirmAccount-B_xj8sv2.js.map} +1 -1
- package/dist/{ContentHeader-DWeKFCbL.js → ContentHeader-f66pzycq.js} +4 -4
- package/dist/{ContentHeader-DWeKFCbL.js.map → ContentHeader-f66pzycq.js.map} +1 -1
- package/dist/{Error-6xg8-wZJ.js → Error-De7P-glG.js} +18 -18
- package/dist/{Error-6xg8-wZJ.js.map → Error-De7P-glG.js.map} +1 -1
- package/dist/{Input-CoBmMhni.js → Input-C8HxuxD3.js} +7 -7
- package/dist/{Input-CoBmMhni.js.map → Input-C8HxuxD3.js.map} +1 -1
- package/dist/{Label-B8iJ43l6.js → Label-J_7qJTYM.js} +3 -3
- package/dist/{Label-B8iJ43l6.js.map → Label-J_7qJTYM.js.map} +1 -1
- package/dist/Loader-Dfa1xrjr.js +29 -0
- package/dist/Loader-Dfa1xrjr.js.map +1 -0
- package/dist/{Login-DsclMbeX.js → Login-CHb27HoO.js} +79 -78
- package/dist/{Login-DsclMbeX.js.map → Login-CHb27HoO.js.map} +1 -1
- package/dist/{Logout-ClD-Lgcx.js → Logout-BSauJopw.js} +17 -17
- package/dist/{Logout-ClD-Lgcx.js.map → Logout-BSauJopw.js.map} +1 -1
- package/dist/Nav-CachMbHd.js +669 -0
- package/dist/{Nav-DGxksgRd.js.map → Nav-CachMbHd.js.map} +1 -1
- package/dist/{PassportId-5U1tRgrN.js → PassportId-DAmN88Xx.js} +13 -13
- package/dist/{PassportId-5U1tRgrN.js.map → PassportId-DAmN88Xx.js.map} +1 -1
- package/dist/{Payment-DXvVU-Oe.js → Payment-CAVUR9D4.js} +119 -118
- package/dist/{Payment-DXvVU-Oe.js.map → Payment-CAVUR9D4.js.map} +1 -1
- package/dist/{PaymentResult-BDKwT5Sg.js → PaymentResult-Bs7bYTUy.js} +62 -62
- package/dist/{PaymentResult-BDKwT5Sg.js.map → PaymentResult-Bs7bYTUy.js.map} +1 -1
- package/dist/{Profile-euztX9tl.js → Profile-BUft3Yyd.js} +22 -22
- package/dist/{Profile-euztX9tl.js.map → Profile-BUft3Yyd.js.map} +1 -1
- package/dist/{ProgressVideo-D4DPjIEy.js → ProgressVideo-USviamwx.js} +21 -21
- package/dist/{ProgressVideo-D4DPjIEy.js.map → ProgressVideo-USviamwx.js.map} +1 -1
- package/dist/{ProgressVideo.service-BK7Nt-Vk.js → ProgressVideo.service-D9xqftcM.js} +2 -2
- package/dist/{ProgressVideo.service-BK7Nt-Vk.js.map → ProgressVideo.service-D9xqftcM.js.map} +1 -1
- package/dist/{RichAlert-D10QwVqC.js → RichAlert-DGHqlYas.js} +24 -24
- package/dist/{RichAlert-D10QwVqC.js.map → RichAlert-DGHqlYas.js.map} +1 -1
- package/dist/{Scanner-8y4vkfL1.js → Scanner-BmB0QpJ4.js} +21 -21
- package/dist/{Scanner-8y4vkfL1.js.map → Scanner-BmB0QpJ4.js.map} +1 -1
- package/dist/{SendTokens-DSJTklJ_.js → SendTokens-BfLxsIne.js} +70 -70
- package/dist/{SendTokens-DSJTklJ_.js.map → SendTokens-BfLxsIne.js.map} +1 -1
- package/dist/{Sign-CnrilrlB.js → Sign-DNPq5HuJ.js} +26 -26
- package/dist/{Sign-CnrilrlB.js.map → Sign-DNPq5HuJ.js.map} +1 -1
- package/dist/{Stripe.service-DZue_N62.js → Stripe.service-8oeSe26X.js} +3 -3
- package/dist/{Stripe.service-DZue_N62.js.map → Stripe.service-8oeSe26X.js.map} +1 -1
- package/dist/{UpdateProfile-DVYtN4B3.js → UpdateProfile-C0wtR1WE.js} +100 -100
- package/dist/{UpdateProfile-DVYtN4B3.js.map → UpdateProfile-C0wtR1WE.js.map} +1 -1
- package/dist/{UserInfo-D8COK5lo.js → UserInfo-Bm0e3CV5.js} +26 -26
- package/dist/{UserInfo-D8COK5lo.js.map → UserInfo-Bm0e3CV5.js.map} +1 -1
- package/dist/{Wallet-C--KgjFi.js → Wallet-PitFWALT.js} +27 -27
- package/dist/{Wallet-C--KgjFi.js.map → Wallet-PitFWALT.js.map} +1 -1
- package/dist/{each-C50_uszW.js → each-DnjePYDb.js} +16 -16
- package/dist/{each-C50_uszW.js.map → each-DnjePYDb.js.map} +1 -1
- package/dist/{html-DTfBoa9t.js → html-BQDrIauy.js} +3 -3
- package/dist/{html-DTfBoa9t.js.map → html-BQDrIauy.js.map} +1 -1
- package/dist/{index-DmO4Bf6j.js → index-DYFZGr8a.js} +65 -68
- package/dist/{index-DmO4Bf6j.js.map → index-DYFZGr8a.js.map} +1 -1
- package/dist/{index-client-BARQdFBp.js → index-client-CT6sSU2-.js} +2 -2
- package/dist/{index-client-BARQdFBp.js.map → index-client-CT6sSU2-.js.map} +1 -1
- package/dist/{input-wkVwDWFH.js → input-DhTOoToG.js} +3 -3
- package/dist/{input-wkVwDWFH.js.map → input-DhTOoToG.js.map} +1 -1
- package/dist/{legacy-BgObIK2n.js → legacy-CMJEekqF.js} +59 -59
- package/dist/{legacy-BgObIK2n.js.map → legacy-CMJEekqF.js.map} +1 -1
- package/dist/passport.es.js +1 -1
- package/dist/passport.umd.js +126 -126
- package/dist/passport.umd.js.map +1 -1
- package/dist/{socket-io-BNYia6TN.js → socket-io-D23M6alP.js} +2 -2
- package/dist/{socket-io-BNYia6TN.js.map → socket-io-D23M6alP.js.map} +1 -1
- package/dist/types/Passport.d.ts +1 -2
- package/package.json +1 -1
- package/dist/App-CzJCZTZI.js +0 -644
- package/dist/App-CzJCZTZI.js.map +0 -1
- package/dist/Nav-DGxksgRd.js +0 -669
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App-CiVYs_be.js","sources":["../../../node_modules/.pnpm/svelte@5.34.8/node_modules/svelte/src/internal/client/dom/blocks/await.js","../../ui/images/close-button.svg","../../ui/main/shared/Header.svelte","../../ui/images/credenza.svg","../../ui/main/shared/footer/Footer.svelte","../../ui/main/shared/Container.svelte","../../ui/main/Main.svelte","../src/app/images/sui-partner-logo.svg","../src/app/App.svelte"],"sourcesContent":["/** @import { Effect, Source, TemplateNode } from '#client' */\nimport { DEV } from 'esm-env';\nimport { is_promise } from '../../../shared/utils.js';\nimport { block, branch, pause_effect, resume_effect } from '../../reactivity/effects.js';\nimport { internal_set, mutable_source, source } from '../../reactivity/sources.js';\nimport { flushSync, set_active_effect, set_active_reaction } from '../../runtime.js';\nimport {\n\thydrate_next,\n\thydrate_node,\n\thydrating,\n\tremove_nodes,\n\tset_hydrate_node,\n\tset_hydrating\n} from '../hydration.js';\nimport { queue_micro_task } from '../task.js';\nimport { HYDRATION_START_ELSE, UNINITIALIZED } from '../../../../constants.js';\nimport {\n\tcomponent_context,\n\tis_runes,\n\tset_component_context,\n\tset_dev_current_component_function\n} from '../../context.js';\n\nconst PENDING = 0;\nconst THEN = 1;\nconst CATCH = 2;\n\n/**\n * @template V\n * @param {TemplateNode} node\n * @param {(() => Promise<V>)} 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 anchor = node;\n\tvar runes = is_runes();\n\tvar active_component_context = component_context;\n\n\t/** @type {any} */\n\tvar component_function = DEV ? component_context?.function : null;\n\n\t/** @type {V | Promise<V> | typeof UNINITIALIZED} */\n\tvar input = UNINITIALIZED;\n\n\t/** @type {Effect | null} */\n\tvar pending_effect;\n\n\t/** @type {Effect | null} */\n\tvar then_effect;\n\n\t/** @type {Effect | null} */\n\tvar catch_effect;\n\n\tvar input_source = runes\n\t\t? source(/** @type {V} */ (undefined))\n\t\t: mutable_source(/** @type {V} */ (undefined), false, false);\n\tvar error_source = runes ? source(undefined) : mutable_source(undefined, false, false);\n\tvar resolved = false;\n\n\t/**\n\t * @param {PENDING | THEN | CATCH} state\n\t * @param {boolean} restore\n\t */\n\tfunction update(state, restore) {\n\t\tresolved = true;\n\n\t\tif (restore) {\n\t\t\tset_active_effect(effect);\n\t\t\tset_active_reaction(effect); // TODO do we need both?\n\t\t\tset_component_context(active_component_context);\n\t\t\tif (DEV) set_dev_current_component_function(component_function);\n\t\t}\n\n\t\ttry {\n\t\t\tif (state === PENDING && pending_fn) {\n\t\t\t\tif (pending_effect) resume_effect(pending_effect);\n\t\t\t\telse pending_effect = branch(() => pending_fn(anchor));\n\t\t\t}\n\n\t\t\tif (state === THEN && then_fn) {\n\t\t\t\tif (then_effect) resume_effect(then_effect);\n\t\t\t\telse then_effect = branch(() => then_fn(anchor, input_source));\n\t\t\t}\n\n\t\t\tif (state === CATCH && catch_fn) {\n\t\t\t\tif (catch_effect) resume_effect(catch_effect);\n\t\t\t\telse catch_effect = branch(() => catch_fn(anchor, error_source));\n\t\t\t}\n\n\t\t\tif (state !== PENDING && pending_effect) {\n\t\t\t\tpause_effect(pending_effect, () => (pending_effect = null));\n\t\t\t}\n\n\t\t\tif (state !== THEN && then_effect) {\n\t\t\t\tpause_effect(then_effect, () => (then_effect = null));\n\t\t\t}\n\n\t\t\tif (state !== CATCH && catch_effect) {\n\t\t\t\tpause_effect(catch_effect, () => (catch_effect = null));\n\t\t\t}\n\t\t} finally {\n\t\t\tif (restore) {\n\t\t\t\tif (DEV) set_dev_current_component_function(null);\n\t\t\t\tset_component_context(null);\n\t\t\t\tset_active_reaction(null);\n\t\t\t\tset_active_effect(null);\n\n\t\t\t\t// without this, the DOM does not update until two ticks after the promise\n\t\t\t\t// resolves, which is unexpected behaviour (and somewhat irksome to test)\n\t\t\t\tflushSync();\n\t\t\t}\n\t\t}\n\t}\n\n\tvar effect = block(() => {\n\t\tif (input === (input = get_input())) return;\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 `anchor` to a `Comment` causes TypeScript and Prettier to fight\n\t\tlet mismatch = hydrating && is_promise(input) === (anchor.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\tanchor = remove_nodes();\n\n\t\t\tset_hydrate_node(anchor);\n\t\t\tset_hydrating(false);\n\t\t\tmismatch = true;\n\t\t}\n\n\t\tif (is_promise(input)) {\n\t\t\tvar promise = input;\n\n\t\t\tresolved = false;\n\n\t\t\tpromise.then(\n\t\t\t\t(value) => {\n\t\t\t\t\tif (promise !== input) return;\n\t\t\t\t\t// we technically could use `set` here since it's on the next microtick\n\t\t\t\t\t// but let's use internal_set for consistency and just to be safe\n\t\t\t\t\tinternal_set(input_source, value);\n\t\t\t\t\tupdate(THEN, true);\n\t\t\t\t},\n\t\t\t\t(error) => {\n\t\t\t\t\tif (promise !== input) return;\n\t\t\t\t\t// we technically could use `set` here since it's on the next microtick\n\t\t\t\t\t// but let's use internal_set for consistency and just to be safe\n\t\t\t\t\tinternal_set(error_source, error);\n\t\t\t\t\tupdate(CATCH, true);\n\t\t\t\t\tif (!catch_fn) {\n\t\t\t\t\t\t// Rethrow the error if no catch block exists\n\t\t\t\t\t\tthrow error_source.v;\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\tif (pending_fn) {\n\t\t\t\t\tpending_effect = branch(() => pending_fn(anchor));\n\t\t\t\t}\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 the next microtask.\n\t\t\t\tqueue_micro_task(() => {\n\t\t\t\t\tif (!resolved) update(PENDING, true);\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tinternal_set(input_source, input);\n\t\t\tupdate(THEN, false);\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\t// Set the input to something else, in order to disable the promise callbacks\n\t\treturn () => (input = UNINITIALIZED);\n\t});\n\n\tif (hydrating) {\n\t\tanchor = hydrate_node;\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\n $: isHeaderShown = isHeaderShown;\n</script>\n\n{#if isHeaderShown}\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\"\n />\n </div>\n{/if}\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\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} />\n <Container class=\"crtw-pt-11 crtw-pb-9 sm:crtw-pt-[50px] 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='148'%20height='78'%20viewBox='0%200%20148%2078'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1340_2004)'%3e%3cpath%20d='M128.996%2048.5994C128.996%2050.7019%20128.532%2052.4518%20127.621%2053.8016C126.719%2055.1545%20125.585%2056.1708%20124.248%2056.8251C122.924%2057.4793%20121.602%2057.8128%20120.326%2057.8128C118.204%2057.8128%20116.432%2057.0823%20115.066%2055.6436C113.707%2054.1986%20113.021%2052.2263%20113.021%2049.7809V27.6797H107.031V50.1461C107.031%2053.1473%20107.53%2055.6754%20108.518%2057.6635C109.508%2059.6485%20110.896%2061.1602%20112.64%2062.1543C114.374%2063.1293%20116.381%2063.6247%20118.604%2063.6247C121.291%2063.6247%20123.552%2062.9864%20125.325%2061.7287C126.925%2060.579%20128.158%2059.1848%20128.996%2057.5809V63.1706H134.986V27.6797H128.996V48.6026V48.5994Z'%20fill='%23011829'/%3e%3cpath%20d='M98.0999%2040.7815C96.7216%2039.8033%2095.2543%2039.0188%2093.7394%2038.4504C92.2626%2037.8946%2090.9033%2037.4499%2089.6932%2037.1292L84.9484%2035.8524C84.0972%2035.6301%2083.1508%2035.3348%2082.1409%2034.9759C81.1373%2034.6075%2080.1623%2034.1343%2079.2508%2033.5753C78.3552%2033.01%2077.6088%2032.3019%2077.0308%2031.4667C76.4782%2030.6314%2076.1987%2029.6151%2076.1987%2028.4432C76.1987%2027.0362%2076.6052%2025.7627%2077.4087%2024.6606C78.2313%2023.5459%2079.3969%2022.6566%2080.8642%2022.0183C82.36%2021.3736%2084.1354%2021.0464%2086.1394%2021.0464C88.877%2021.0464%2091.2145%2021.6689%2093.0915%2022.9012C94.9367%2024.1112%2096.0038%2025.8357%2096.2642%2028.0271L96.296%2028.3066H102.352L102.34%2027.9795C102.264%2025.5785%20101.508%2023.403%20100.101%2021.5165C98.7129%2019.6363%2096.8073%2018.1373%2094.4412%2017.0607C92.0815%2015.9713%2089.3471%2015.4219%2086.3204%2015.4219C83.2937%2015.4219%2080.5688%2015.9808%2078.1329%2017.0829C75.7033%2018.1754%2073.7374%2019.7348%2072.2892%2021.7229C70.8473%2023.7047%2070.1168%2026.0581%2070.1168%2028.7163C70.1168%2031.9272%2071.222%2034.563%2073.3976%2036.5512C75.5413%2038.5107%2078.4854%2040.0383%2082.1472%2041.0927L87.8671%2042.7283C89.4773%2043.1761%2090.9985%2043.7065%2092.3864%2044.3036C93.7425%2044.888%2094.8509%2045.6534%2095.6799%2046.5839C96.4834%2047.4859%2096.8931%2048.6832%2096.8931%2050.1409C96.8931%2051.7543%2096.4135%2053.1835%2095.4639%2054.3903C94.5048%2055.5972%2093.1804%2056.5563%2091.5321%2057.2423C89.8711%2057.9188%2087.9624%2058.2618%2085.8662%2058.2618C84.0655%2058.2618%2082.3568%2057.9918%2080.7975%2057.4614C79.2667%2056.9215%2077.9804%2056.0958%2076.98%2055.0065C76.0018%2053.9139%2075.4333%2052.5102%2075.2904%2050.8333L75.265%2050.5443H68.8242L68.8496%2050.8841C69.0338%2053.4725%2069.8405%2055.7814%2071.2475%2057.7409C72.6671%2059.7005%2074.633%2061.2472%2077.0943%2062.3397C79.5589%2063.4258%2082.5125%2063.9784%2085.8694%2063.9784C89.4709%2063.9784%2092.5801%2063.3655%2095.105%2062.1555C97.6585%2060.9391%2099.6275%2059.2749%20100.952%2057.2074C102.295%2055.1367%20102.978%2052.7897%20102.978%2050.2267C102.978%2048.0004%20102.511%2046.0916%20101.593%2044.5513C100.682%2043.0205%2099.5068%2041.7533%2098.0999%2040.7783V40.7815Z'%20fill='%23011829'/%3e%3cpath%20d='M147.5%2018.5531C147.5%2017.467%20147.084%2016.5269%20146.267%2015.7583C145.467%2014.9929%20144.495%2014.6055%20143.371%2014.6055C142.247%2014.6055%20141.268%2014.9929%20140.452%2015.7615C139.649%2016.5301%20139.242%2017.4702%20139.242%2018.5563C139.242%2019.6425%20139.649%2020.5794%20140.455%2021.3511C141.268%2022.1165%20142.25%2022.504%20143.374%2022.504C144.498%2022.504%20145.378%2022.1515%20146.153%2021.4591L146.188%2021.4274C146.217%2021.402%20146.245%2021.3765%20146.274%2021.348L146.388%2021.2368C147.131%2020.4873%20147.506%2019.5853%20147.506%2018.5531H147.5Z'%20fill='%23011829'/%3e%3cpath%20d='M146.318%2027.6758H140.328V63.1669H146.318V27.6758Z'%20fill='%23011829'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.255%2032.8991C51.3992%2036.8468%2053.2793%2041.8393%2053.2793%2047.2701C53.2793%2052.701%2051.342%2057.846%2048.1153%2061.8159L47.8358%2062.1589L47.7627%2061.7238C47.6992%2061.3554%2047.6262%2060.9806%2047.5404%2060.6059C45.9239%2053.5045%2040.6582%2047.4162%2031.9911%2042.484C26.1379%2039.162%2022.7873%2035.1667%2021.9075%2030.6219C21.339%2027.6842%2021.7614%2024.7337%2022.5777%2022.2057C23.3939%2019.6809%2024.6071%2017.5625%2025.6393%2016.289L29.0121%2012.1666C29.6028%2011.4425%2030.7112%2011.4425%2031.3019%2012.1666L48.2582%2032.8991H48.255ZM53.5874%2028.7799L30.9875%201.14931C30.5556%200.622105%2029.7489%200.622105%2029.317%201.14931L6.72026%2028.7799L6.64721%2028.872C2.48993%2034.0329%200%2040.5912%200%2047.7307C0%2064.3566%2013.5009%2077.8353%2030.1522%2077.8353C46.8036%2077.8353%2060.3045%2064.3566%2060.3045%2047.7307C60.3045%2040.5912%2057.8146%2034.0329%2053.6573%2028.8752L53.5842%2028.7831L53.5874%2028.7799ZM12.1289%2032.8102L14.1487%2030.3361L14.2091%2030.7934C14.2567%2031.1555%2014.3171%2031.5175%2014.3869%2031.8828C15.6954%2038.746%2020.3672%2044.4658%2028.1768%2048.8962C34.9669%2052.7613%2038.921%2057.2044%2040.058%2062.0763C40.5343%2064.1089%2040.6169%2066.1097%2040.4105%2067.8597L40.3978%2067.9677L40.2993%2068.0153C37.2346%2069.5112%2033.7887%2070.3528%2030.1491%2070.3528C17.3787%2070.3528%207.02515%2060.0183%207.02515%2047.267C7.02515%2041.7917%208.93388%2036.7642%2012.1225%2032.8038L12.1289%2032.8102Z'%20fill='%23011829'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1340_2004'%3e%3crect%20width='147.681'%20height='77.175'%20fill='white'%20transform='translate(0%200.753906)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\"","<script lang=\"ts\">\n import { get } from 'svelte/store'\n import { fn, pageStore, pageOptsStore } from '@packages/stores'\n import { dispatch, PassportEvents } from '@lib/events/events'\n\n import { Pages } from '@packages/utils/enums'\n import { MainApp } from '@packages/ui'\n import { cloakStore, forcedPage } from '@src/stores/config'\n import SuiPartnerLogo from '@images/sui-partner-logo.svg'\n\n\n $: shouldBlurBackdrop = $cloakStore\n $: isHeaderShown = !$cloakStore\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</script>\n\n\n<MainApp\n footerAdditionalLogo={{ img: SuiPartnerLogo, width: 40 }}\n bind:shouldBlurBackdrop\n bind:isHeaderShown\n onCloseClick={handleCloseClick}\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}\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","anchor","runes","is_runes","active_component_context","component_context","input","UNINITIALIZED","pending_effect","then_effect","catch_effect","input_source","source","mutable_source","error_source","resolved","update","state","restore","set_active_effect","effect","set_active_reaction","set_component_context","resume_effect","branch","pause_effect","flushSync","block","mismatch","is_promise","HYDRATION_START_ELSE","remove_nodes","set_hydrate_node","set_hydrating","promise","value","internal_set","error","queue_micro_task","hydrate_node","CloseIcon","onCloseClick","$.prop","$$props","isHeaderShown","_a","$$args","$$render","consequent","CredenzaLogo","additionalLogo","$.untrack","$$sanitized_props","shouldBlurBackdrop","footerAdditionalLogo","SuiPartnerLogo","handleCloseClick","close","get","fn","dispatch","PassportEvents","forcedPage","pageStore","pageOptsStore","$.set","$cloakStore","expression","$.derived_safe_equal","$.await","node_1","module","$.component","node_2","$.get","$$anchor","$$component","node_3","node_4","node_5","node_6","node_7","node_8","node_9","node_10","node_11","node_12","node_13","node_14","node_15","node_16","node_17","node_18","node_19","node_20","node_21","node_22","node_23","node_24","node_25","node_26","node_27","node_28","node_29","node_30","Pages","$pageStore","$forcedPage"],"mappings":";;AAuBA,MAAMA,KAAU,GACVC,KAAO,GACPC,KAAQ;AAWP,SAASC,EAAYC,GAAMC,GAAWC,GAAYC,GAASC,GAAU;AAC3E,EAAIC,MACHC,GAAc;AAGf,MAAIC,IAASP,GACTQ,IAAQC,GAAU,GAClBC,IAA2BC,IAM3BC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W;;;;;;;;;+BA1CjCA,CAAK,gBAsCJE,QAAgBF,EAAM,kBAAkBC,EAAU,MAAKD,EAAM,cAAc;;;;;;;;;2BAtC5EA,CAAK,gBAkCJE,QAAgBF,EAAM,mBAAmBC,EAAU,MAAKD,EAAM,eAAe;;;;;;;;;uBAlC9EA,CAAK,WA8BJC,QAAeD,EAAM,MAAM;;;;;;;iBA9B5BA,CAAK,gBA0BTE,QAAgBF,EAAM,SAASC,EAAU,MAAKD,EAAM,KAAK;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as g, p as o, f as _, i as v, k as x, e as k, b as u, d as C, u as h, t as y, r as L } from "./legacy-
|
|
2
|
-
import { v as B, B as D, C as j, D as p, I as q,
|
|
1
|
+
import { c as g, p as o, f as _, i as v, k as x, e as k, b as u, d as C, u as h, t as y, r as L } from "./legacy-CMJEekqF.js";
|
|
2
|
+
import { v as B, B as D, C as j, D as p, I as q, z, u as l } from "./index-DYFZGr8a.js";
|
|
3
3
|
import { p as I } from "./event-modifiers-DpFXHa6q.js";
|
|
4
|
-
import { L as P } from "./
|
|
4
|
+
import { L as P } from "./Loader-Dfa1xrjr.js";
|
|
5
5
|
var S = _("<button><!></button>");
|
|
6
|
-
function
|
|
7
|
-
if (new.target) return g({ component:
|
|
6
|
+
function A(d, a) {
|
|
7
|
+
if (new.target) return g({ component: A, ...d });
|
|
8
8
|
B(a, !1);
|
|
9
9
|
let i = o(a, "onClick", 12), c = o(a, "text", 12), n = o(a, "disabled", 12, !1), r = o(a, "isLoading", 12, !1);
|
|
10
10
|
var s = S();
|
|
@@ -34,7 +34,7 @@ function z(d, a) {
|
|
|
34
34
|
), k("click", s, I(function(...t) {
|
|
35
35
|
var e;
|
|
36
36
|
(e = i()) == null || e.apply(this, t);
|
|
37
|
-
})), u(d, s),
|
|
37
|
+
})), u(d, s), z({
|
|
38
38
|
get onClick() {
|
|
39
39
|
return i();
|
|
40
40
|
},
|
|
@@ -64,6 +64,6 @@ function z(d, a) {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
export {
|
|
67
|
-
|
|
67
|
+
A as B
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=Button-
|
|
69
|
+
//# sourceMappingURL=Button-BoE6UH7J.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button-
|
|
1
|
+
{"version":3,"file":"Button-BoE6UH7J.js","sources":["../../ui/main/shared/inputs/button/Button.svelte"],"sourcesContent":["<script lang=\"ts\">\n import Loader from \"../../Loader.svelte\";\n\n export let onClick: (...args: unknown[]) => unknown;\n export let text: string;\n export let disabled: boolean = false;\n export let isLoading: boolean = false;\n</script>\n\n<button\n class:crtw-bg-gray-300={disabled || isLoading}\n class:crtw-pointer-events-none={disabled || isLoading}\n class=\"crtw-flex crtw-justify-center crtw-items-center crtw-w-full crtw-bg-black crtw-text-white crtw-h-[50px] crtw-cursor-pointer\n crtw-border-0 crtw-rounded crtw-font-['Poppins'] crtw-text-base crtw-font-medium\"\n on:click|preventDefault={onClick}\n>\n {#if isLoading}\n <Loader />\n {:else}\n {text}\n {/if}\n</button>\n"],"names":["onClick","$.prop","$$props","text","disabled","isLoading","$$render","consequent","alternate","_a","$$args"],"mappings":";;;;;;;;MAGaA,IAAwCC,EAAAC,GAAA,WAAA,EAAA,GACxCC,IAAYF,EAAAC,GAAA,QAAA,EAAA,GACZE,yBAAoB,EAAK,GACzBC,0BAAqB,EAAK;;;;;;;;;mBAalCF,EAAI,CAAA,CAAA;;;MAHFE,EAAS,IAAAC,EAAAC,CAAA,IAAAD,EAAAE,GAAA,EAAA;AAAA;;;;;;;QANU,oBAAAJ,OAAYC,EAAS;AAAA,QACb,4BAAAD,EAAQ,KAAIC,EAAS;AAAA;;;;;AAG5B,KAAAI,IAAAT,QAAA,QAAAS,EAAO,MAAA,MAAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as r, p as s, d as c, u as i } from "./legacy-
|
|
2
|
-
import { v as l,
|
|
3
|
-
import { B as g } from "./ButtonLink-
|
|
1
|
+
import { c as r, p as s, d as c, u as i } from "./legacy-CMJEekqF.js";
|
|
2
|
+
import { v as l, z as m, u } from "./index-DYFZGr8a.js";
|
|
3
|
+
import { B as g } from "./ButtonLink-Dn3fg--i.js";
|
|
4
4
|
const p = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='6.407'%20height='10.251'%20viewBox='612.753%20464%206.407%2010.251'%3e%3cpath%20d='m617.951%20464%201.209%201.208-3.99%203.92%203.99%203.915-1.209%201.208-5.198-5.124L617.95%20464Z'%20fill-rule='evenodd'%20data-name='iconmonstr-arrow-64'/%3e%3c/svg%3e";
|
|
5
5
|
function d(o, t) {
|
|
6
6
|
if (new.target) return r({ component: d, ...o });
|
|
@@ -28,4 +28,4 @@ function d(o, t) {
|
|
|
28
28
|
export {
|
|
29
29
|
d as B
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=ButtonBack-
|
|
31
|
+
//# sourceMappingURL=ButtonBack-ZuJIZvbM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonBack-
|
|
1
|
+
{"version":3,"file":"ButtonBack-ZuJIZvbM.js","sources":["../../ui/images/chevron-left.svg","../../ui/main/shared/inputs/button-back/ButtonBack.svelte"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='6.407'%20height='10.251'%20viewBox='612.753%20464%206.407%2010.251'%3e%3cpath%20d='m617.951%20464%201.209%201.208-3.99%203.92%203.99%203.915-1.209%201.208-5.198-5.124L617.95%20464Z'%20fill-rule='evenodd'%20data-name='iconmonstr-arrow-64'/%3e%3c/svg%3e\"","<script lang=\"ts\">\n import ButtonLink from \"../button-link/ButtonLink.svelte\";\n import ArrowIcon from \"../../../../images/chevron-left.svg\";\n\n export let onClick: (...args: unknown[]) => unknown;\n</script>\n\n<ButtonLink icon={ArrowIcon} {onClick} text=\"Back\" />\n"],"names":["ArrowIcon","onClick","$.prop","$$props"],"mappings":";;;AAAA,MAAeA,IAAA;;;;MCIFC,IAAwCC,EAAAC,GAAA,WAAA,EAAA;;;aAGnCH;AAAA;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as d, p as a, h as g, f as m, i as y, j as v, r as k, e as h, b as p, d as C, u as j, s as B } from "./legacy-
|
|
2
|
-
import { v as S, B as
|
|
1
|
+
import { c as d, p as a, h as g, f as m, i as y, j as v, r as k, e as h, b as p, d as C, u as j, s as B } from "./legacy-CMJEekqF.js";
|
|
2
|
+
import { v as S, B as z, E as D, C as E, D as w, z as L, u as c } from "./index-DYFZGr8a.js";
|
|
3
3
|
var O = m('<img alt="" class="crtw-mr-2 crtw-h-3"/>'), V = m(`<button class="crtw-bg-white crtw-border-0 crtw-my-0.5 crtw-px-0 crtw-text-black crtw-text-left crtw-flex crtw-items-center crtw-cursor-pointer crtw-font-['poppins'] crtw-text-[13px] crtw-underline"><!> </button>`);
|
|
4
4
|
function q(u, s) {
|
|
5
5
|
if (new.target) return d({ component: q, ...u });
|
|
@@ -7,7 +7,7 @@ function q(u, s) {
|
|
|
7
7
|
let i = a(s, "onClick", 12), n = a(s, "icon", 12, void 0), o = a(s, "text", 12), l = a(s, "styles", 28, () => ({}));
|
|
8
8
|
const x = Object.entries(l()).map(([t, e]) => `${t}:${e}`).join(";");
|
|
9
9
|
g();
|
|
10
|
-
var r = V(), f =
|
|
10
|
+
var r = V(), f = z(r);
|
|
11
11
|
{
|
|
12
12
|
var _ = (t) => {
|
|
13
13
|
var e = O();
|
|
@@ -55,4 +55,4 @@ function q(u, s) {
|
|
|
55
55
|
export {
|
|
56
56
|
q as B
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=ButtonLink-
|
|
58
|
+
//# sourceMappingURL=ButtonLink-Dn3fg--i.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink-
|
|
1
|
+
{"version":3,"file":"ButtonLink-Dn3fg--i.js","sources":["../../ui/main/shared/inputs/button-link/ButtonLink.svelte"],"sourcesContent":["<script lang=\"ts\">\n export let onClick: (...args: unknown[]) => unknown\n export let icon: string | undefined = undefined\n export let text: string\n\n export let styles: { [key: string]: string } = {}\n\n const cssVarStyles = Object.entries(styles)\n .map(([key, value]) => `${key}:${value}`)\n .join(';')\n</script>\n\n<button\n class=\"crtw-bg-white crtw-border-0 crtw-my-0.5 crtw-px-0 crtw-text-black crtw-text-left crtw-flex crtw-items-center crtw-cursor-pointer crtw-font-['poppins'] crtw-text-[13px] crtw-underline\"\n on:click={onClick}\n style={cssVarStyles}\n>\n {#if icon}\n <img src={icon} alt=\"\" class=\"crtw-mr-2 crtw-h-3\" />\n {/if}\n {text}\n</button>\n"],"names":["onClick","$.prop","$$props","icon","text","styles","cssVarStyles","key","value","$$render","consequent","_a","$$args"],"mappings":";;;;;;MACaA,IAAwCC,EAAAC,GAAA,WAAA,EAAA,GACxCC,qBAA2B,MAAS,GACpCC,IAAYH,EAAAC,GAAA,QAAA,EAAA,GAEZG,IAAMJ,EAAAC,GAAA,UAAA,IAAA,OAAA,CAAA,EAAA;AAEX,QAAAI,IAAe,OAAO,QAAQD,EAAM,GACvC,IAAG,CAAA,CAAGE,GAAKC,CAAK,SAASD,CAAG,IAAIC,CAAK,EACrC,EAAA,KAAK,GAAG;;;;;;0BASCL,EAAI,CAAA,CAAA;;;MADXA,EAAI,KAAAM,EAAAC,CAAA;AAAA;;;;SAFFJ,CAAY,YAKlBF,EAAI,KAAA,EAAA,EAAA;AAAA;;AANK,KAAAO,IAAAX,QAAA,QAAAW,EAAO,MAAA,MAAAC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { v as H, B as ee, C as te, D as F,
|
|
3
|
-
import { C as pe } from "./App-
|
|
4
|
-
import { C as me } from "./ContentHeader-
|
|
5
|
-
import { B as _e } from "./Button-
|
|
6
|
-
import { B as he } from "./ButtonLink-
|
|
7
|
-
import { L as Y } from "./Label-
|
|
8
|
-
import { b as ge } from "./input-
|
|
1
|
+
import { c as D, m as ae, p as j, f as B, v as se, s as ie, b as y, d as G, u as M, h as Z, i as K, t as V, r as W, n as le, o as ce } from "./legacy-CMJEekqF.js";
|
|
2
|
+
import { v as H, B as ee, C as te, D as F, z as J, u as N, y as A, E as k, G as L, K as c, I as oe, m as R, F as X, J as I, L as Q, N as ue, aW as de, S as U, aX as fe, R as ve } from "./index-DYFZGr8a.js";
|
|
3
|
+
import { C as pe } from "./App-CiVYs_be.js";
|
|
4
|
+
import { C as me } from "./ContentHeader-f66pzycq.js";
|
|
5
|
+
import { B as _e } from "./Button-BoE6UH7J.js";
|
|
6
|
+
import { B as he } from "./ButtonLink-Dn3fg--i.js";
|
|
7
|
+
import { L as Y } from "./Label-J_7qJTYM.js";
|
|
8
|
+
import { b as ge } from "./input-DhTOoToG.js";
|
|
9
9
|
var we = B('<div class="crtw-flex crtw-justify-center"><input type="number" min="0" max="99999" class="crtw-w-full crtw-mb-1.5 phone crtw-border crtw-rounded crtw-px-2 crtw-outline-none crtw-mt-2.5 crtw-h-[50px] crtw-text-xs svelte-1o26kfq" name="code"/></div>');
|
|
10
10
|
const Ce = {
|
|
11
11
|
hash: "svelte-1o26kfq",
|
|
12
12
|
code: `input.svelte-1o26kfq::-webkit-outer-spin-button,
|
|
13
13
|
input.svelte-1o26kfq::-webkit-inner-spin-button {-webkit-appearance:none;margin:0;}input[type="number"].svelte-1o26kfq {appearance:textfield;-moz-appearance:textfield;}`
|
|
14
14
|
};
|
|
15
|
-
function
|
|
16
|
-
if (new.target) return
|
|
15
|
+
function z(d, r) {
|
|
16
|
+
if (new.target) return D({ component: z, ...d });
|
|
17
17
|
H(r, !1), ae(d, Ce);
|
|
18
18
|
let f = j(r, "value", 12), w = j(r, "placeholder", 12, "Code");
|
|
19
19
|
var t = we(), e = ee(t);
|
|
20
|
-
return se(e), te(t), F(() => ie(e, "placeholder", w())), ge(e, f),
|
|
20
|
+
return se(e), te(t), F(() => ie(e, "placeholder", w())), ge(e, f), y(d, t), J({
|
|
21
21
|
get value() {
|
|
22
22
|
return f();
|
|
23
23
|
},
|
|
@@ -30,78 +30,78 @@ function D(d, r) {
|
|
|
30
30
|
set placeholder(v) {
|
|
31
31
|
w(v), N();
|
|
32
32
|
},
|
|
33
|
-
$set:
|
|
34
|
-
$on: (v, p) =>
|
|
33
|
+
$set: M,
|
|
34
|
+
$on: (v, p) => G(r, v, p)
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
var be = B("<!> <!>", 1),
|
|
37
|
+
var be = B("<!> <!>", 1), ye = B("<!> <!>", 1), xe = B("<!> <!> <!>", 1), ke = B('<!> <!> <div class="crtw-mt-4"><!></div>', 1);
|
|
38
38
|
function re(d, r) {
|
|
39
|
-
if (new.target) return
|
|
39
|
+
if (new.target) return D({ component: re, ...d });
|
|
40
40
|
H(r, !1);
|
|
41
|
-
let f = j(r, "options", 12), { onBackClick: w, onSubmit: t, pending: e, isLoading: v } = f(), p =
|
|
41
|
+
let f = j(r, "options", 12), { onBackClick: w, onSubmit: t, pending: e, isLoading: v } = f(), p = R(), h = R();
|
|
42
42
|
Z();
|
|
43
|
-
var
|
|
43
|
+
var x = ke(), O = A(x);
|
|
44
44
|
me(O, {
|
|
45
45
|
text: "Before we start please verify your personal data"
|
|
46
46
|
});
|
|
47
47
|
var P = k(O, 2);
|
|
48
48
|
pe(P, {
|
|
49
49
|
children: (n, m) => {
|
|
50
|
-
var a =
|
|
50
|
+
var a = xe(), g = A(a);
|
|
51
51
|
{
|
|
52
52
|
var s = (o) => {
|
|
53
|
-
var _ = be(), S =
|
|
53
|
+
var _ = be(), S = A(_);
|
|
54
54
|
Y(S, {
|
|
55
55
|
for: "code",
|
|
56
56
|
children: (b, ne) => {
|
|
57
|
-
|
|
58
|
-
var E =
|
|
59
|
-
F(() =>
|
|
57
|
+
X();
|
|
58
|
+
var E = V();
|
|
59
|
+
F(() => W(E, `Enter your code sent to ${L(() => e == null ? void 0 : e.phone) ?? ""}`)), y(b, E);
|
|
60
60
|
},
|
|
61
61
|
$$slots: { default: !0 }
|
|
62
62
|
});
|
|
63
|
-
var
|
|
64
|
-
|
|
63
|
+
var T = k(S, 2);
|
|
64
|
+
z(T, {
|
|
65
65
|
placeholder: "SMS Code",
|
|
66
66
|
get value() {
|
|
67
67
|
return c(p);
|
|
68
68
|
},
|
|
69
69
|
set value(b) {
|
|
70
|
-
|
|
70
|
+
I(p, b);
|
|
71
71
|
},
|
|
72
72
|
$$legacy: !0
|
|
73
|
-
}),
|
|
73
|
+
}), y(o, _);
|
|
74
74
|
};
|
|
75
|
-
|
|
75
|
+
K(g, (o) => {
|
|
76
76
|
L(() => e == null ? void 0 : e.phone) && o(s);
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
var i = k(g, 2);
|
|
80
80
|
{
|
|
81
81
|
var l = (o) => {
|
|
82
|
-
var _ =
|
|
82
|
+
var _ = ye(), S = A(_);
|
|
83
83
|
Y(S, {
|
|
84
84
|
for: "code",
|
|
85
85
|
children: (b, ne) => {
|
|
86
|
-
|
|
87
|
-
var E =
|
|
88
|
-
F(() =>
|
|
86
|
+
X();
|
|
87
|
+
var E = V();
|
|
88
|
+
F(() => W(E, `Enter your code sent to ${L(() => e == null ? void 0 : e.email) ?? ""}`)), y(b, E);
|
|
89
89
|
},
|
|
90
90
|
$$slots: { default: !0 }
|
|
91
91
|
});
|
|
92
|
-
var
|
|
93
|
-
|
|
92
|
+
var T = k(S, 2);
|
|
93
|
+
z(T, {
|
|
94
94
|
placeholder: "Email Code",
|
|
95
95
|
get value() {
|
|
96
96
|
return c(h);
|
|
97
97
|
},
|
|
98
98
|
set value(b) {
|
|
99
|
-
|
|
99
|
+
I(h, b);
|
|
100
100
|
},
|
|
101
101
|
$$legacy: !0
|
|
102
|
-
}),
|
|
102
|
+
}), y(o, _);
|
|
103
103
|
};
|
|
104
|
-
|
|
104
|
+
K(i, (o) => {
|
|
105
105
|
L(() => e == null ? void 0 : e.email) && o(l);
|
|
106
106
|
});
|
|
107
107
|
}
|
|
@@ -116,29 +116,29 @@ function re(d, r) {
|
|
|
116
116
|
get disabled() {
|
|
117
117
|
return c($);
|
|
118
118
|
}
|
|
119
|
-
}),
|
|
119
|
+
}), y(n, a);
|
|
120
120
|
},
|
|
121
121
|
$$slots: { default: !0 }
|
|
122
122
|
});
|
|
123
|
-
var
|
|
123
|
+
var q = k(P, 2), u = ee(q);
|
|
124
124
|
return he(u, {
|
|
125
125
|
text: "Update your account details",
|
|
126
126
|
get onClick() {
|
|
127
127
|
return w;
|
|
128
128
|
}
|
|
129
|
-
}), te(
|
|
129
|
+
}), te(q), y(d, x), J({
|
|
130
130
|
get options() {
|
|
131
131
|
return f();
|
|
132
132
|
},
|
|
133
133
|
set options(n) {
|
|
134
134
|
f(n), N();
|
|
135
135
|
},
|
|
136
|
-
$set:
|
|
137
|
-
$on: (n, m) =>
|
|
136
|
+
$set: M,
|
|
137
|
+
$on: (n, m) => G(r, n, m)
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
function $e(d, r) {
|
|
141
|
-
if (new.target) return
|
|
141
|
+
if (new.target) return D({ component: $e, ...d });
|
|
142
142
|
H(r, !1);
|
|
143
143
|
const [f, w] = le(), t = () => ce(fe, "$userStore", f);
|
|
144
144
|
var e = this && this.__awaiter || function(u, n, m, a) {
|
|
@@ -169,10 +169,10 @@ function $e(d, r) {
|
|
|
169
169
|
});
|
|
170
170
|
};
|
|
171
171
|
const { confirmAccount: v, close: p, toastAlert: h } = Q(ue);
|
|
172
|
-
let
|
|
172
|
+
let x = R(!1);
|
|
173
173
|
const O = (u) => e(void 0, [u], void 0, function* ({ confirmEmailCode: n, confirmPhoneCode: m }) {
|
|
174
174
|
var a, g, s, i;
|
|
175
|
-
|
|
175
|
+
I(x, !0);
|
|
176
176
|
try {
|
|
177
177
|
const l = yield v(Object.assign(Object.assign({}, !((a = t() === null || t() === void 0 ? void 0 : t().pending) === null || a === void 0) && a.email ? { emailCode: String(n) } : {}), !((g = t() === null || t() === void 0 ? void 0 : t().pending) === null || g === void 0) && g.phone ? { phoneCode: String(m) } : {}));
|
|
178
178
|
if (!((s = t() === null || t() === void 0 ? void 0 : t().pending) === null || s === void 0) && s.phone && !l.phone || !((i = t() === null || t() === void 0 ? void 0 : t().pending) === null || i === void 0) && i.email && !l.email) throw new Error("The code is invalid.");
|
|
@@ -181,13 +181,13 @@ function $e(d, r) {
|
|
|
181
181
|
} catch (l) {
|
|
182
182
|
h((l == null ? void 0 : l.message) || l, "failure");
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
I(x, !1);
|
|
185
185
|
});
|
|
186
186
|
Z();
|
|
187
187
|
const P = oe(() => {
|
|
188
188
|
var u;
|
|
189
189
|
return {
|
|
190
|
-
isLoading: c(
|
|
190
|
+
isLoading: c(x),
|
|
191
191
|
onBackClick: () => de.set(U.UPDATE_PROFILE),
|
|
192
192
|
onSubmit: O,
|
|
193
193
|
pending: (u = t()) == null ? void 0 : u.pending
|
|
@@ -198,13 +198,13 @@ function $e(d, r) {
|
|
|
198
198
|
return c(P);
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
|
-
var
|
|
202
|
-
$set:
|
|
203
|
-
$on: (u, n) =>
|
|
201
|
+
var q = J({
|
|
202
|
+
$set: M,
|
|
203
|
+
$on: (u, n) => G(r, u, n)
|
|
204
204
|
});
|
|
205
|
-
return w(),
|
|
205
|
+
return w(), q;
|
|
206
206
|
}
|
|
207
207
|
export {
|
|
208
208
|
$e as default
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=ConfirmAccount-
|
|
210
|
+
//# sourceMappingURL=ConfirmAccount-B_xj8sv2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmAccount-
|
|
1
|
+
{"version":3,"file":"ConfirmAccount-B_xj8sv2.js","sources":["../../ui/main/confirm-account/CodeInput.svelte","../../ui/main/confirm-account/Confirm.svelte","../src/app/pages/confirm-account/ConfirmAccount.svelte"],"sourcesContent":["<script lang=\"ts\">\n export let value: number;\n export let placeholder: string = \"Code\";\n</script>\n\n<div class=\"crtw-flex crtw-justify-center\">\n <input\n type=\"number\"\n min=\"0\"\n max=\"99999\"\n class=\"crtw-w-full crtw-mb-1.5 phone crtw-border crtw-rounded crtw-px-2 crtw-outline-none crtw-mt-2.5 crtw-h-[50px] crtw-text-xs\"\n {placeholder}\n bind:value\n name=\"code\"\n />\n</div>\n\n<style>\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n input[type=\"number\"] {\n appearance: textfield;\n -moz-appearance: textfield;\n }\n</style>\n","<script lang=\"ts\">\n import Container from \"../shared/Container.svelte\";\n import ContentHeader from \"../shared/ContentHeader.svelte\";\n import Button from \"../shared/inputs/button/Button.svelte\";\n import ButtonLink from \"../shared/inputs/button-link/ButtonLink.svelte\";\n import Label from \"../shared/inputs/input/Label.svelte\";\n import CodeInput from \"./CodeInput.svelte\";\n\n export let options: {\n isLoading: boolean;\n onBackClick: () => void;\n onSubmit: ({\n confirmPhoneCode,\n confirmEmailCode,\n }: {\n confirmPhoneCode: number;\n confirmEmailCode: number;\n }) => void;\n pending: {\n phone: string;\n email: string;\n };\n };\n\n let { onBackClick, onSubmit, pending, isLoading } = options;\n\n let confirmPhoneCode: number;\n let confirmEmailCode: number;\n</script>\n\n<ContentHeader text=\"Before we start please verify your personal data\" />\n\n<Container>\n {#if pending?.phone}\n <Label for=\"code\">Enter your code sent to {pending?.phone}</Label>\n <CodeInput bind:value={confirmPhoneCode} placeholder=\"SMS Code\" />\n {/if}\n {#if pending?.email}\n <Label for=\"code\">Enter your code sent to {pending?.email}</Label>\n <CodeInput bind:value={confirmEmailCode} placeholder=\"Email Code\" />\n {/if}\n <Button\n text=\"Verify\"\n onClick={() => onSubmit({ confirmPhoneCode, confirmEmailCode })}\n disabled={isLoading ||\n !!(pending?.phone && String(confirmPhoneCode).length !== 6) ||\n !!(pending?.email && String(confirmEmailCode).length !== 6)}\n />\n</Container>\n\n<div class=\"crtw-mt-4\">\n <ButtonLink text=\"Update your account details\" onClick={onBackClick} />\n</div>\n","<script lang=\"ts\">\n import { get } from 'svelte/store'\n import { fn, userStore, pageStore, forcedPageStore } from '@packages/stores'\n import { Pages } from '@packages/utils/enums'\n import { ConfirmAccount } from '@packages/ui'\n\n const { confirmAccount, close, toastAlert } = get(fn)\n\n let isLoading = false\n\n const confirm = async ({\n confirmEmailCode,\n confirmPhoneCode,\n }: {\n confirmEmailCode: number\n confirmPhoneCode: number\n }) => {\n isLoading = true\n try {\n const res = await confirmAccount({\n ...($userStore?.pending?.email ? { emailCode: String(confirmEmailCode) } : {}),\n ...($userStore?.pending?.phone ? { phoneCode: String(confirmPhoneCode) } : {}),\n })\n\n if (($userStore?.pending?.phone && !res.phone) || ($userStore?.pending?.email && !res.email))\n throw new Error('The code is invalid.')\n\n const page = get(pageStore)\n if (!page || page === Pages.CONFIRM_ACCOUNT || page === Pages.LOGOUT) close()\n toastAlert('Account has been confirmed successfully.', 'success')\n } catch (err) {\n toastAlert(err?.message || err, 'failure')\n }\n isLoading = false\n }\n</script>\n\n<ConfirmAccount\n options={{\n isLoading,\n onBackClick: () => forcedPageStore.set(Pages.UPDATE_PROFILE),\n onSubmit: confirm,\n pending: $userStore?.pending,\n }}\n/>\n"],"names":["value","$.prop","$$props","placeholder","options","onBackClick","onSubmit","pending","isLoading","confirmPhoneCode","$.mutable_source","confirmEmailCode","$.template_effect","$.set_text","text","$.untrack","$$value","$$render","consequent","text_1","consequent_1","$.get","__awaiter","thisArg","_arguments","P","generator","confirmAccount","close","toastAlert","get","fn","confirm","_a","$.set","res","_b","$userStore","_c","_d","_e","page","pageStore","P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B,GAAY,EAAK;AAAA,GAClB;;;;;MAKC,aAAAA,CAAS;AAAA,MACT,mBAAmBqC,GAAgB,IAAIF,EAAM,cAAc;AAAA,MAC3D,UAAUX;AAAA,MACV,UAASC,IAAAI,EAAU,MAAV,gBAAAJ,EAAY;AAAA;;;;;;;;;;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as _, p as l, f as g, g as b, r as o, b as C, d as h, u as y } from "./legacy-
|
|
2
|
-
import { v as
|
|
1
|
+
import { c as _, p as l, f as g, g as b, r as o, b as C, d as h, u as y } from "./legacy-CMJEekqF.js";
|
|
2
|
+
import { v as z, B as x, C as i, E as d, D as B, z as D, u as m } from "./index-DYFZGr8a.js";
|
|
3
3
|
var E = g(`<div class="crtw-flex crtw-flex-col crtw-items-center crtw-mx-auto crtw-text-center crtw-text-textMain
|
|
4
4
|
crtw-max-w-xs crtw-relative sm:crtw-max-w-[360px]"><p class="crtw-font-bold crtw-text-[21px] crtw-uppercase sm:crtw-text-2xl sm:crtw-mb-px"> </p> <p class="crtw-text-sm sm:crtw-text-base"> </p> <!></div>`);
|
|
5
5
|
function H(p, t) {
|
|
6
6
|
if (new.target) return _({ component: H, ...p });
|
|
7
|
-
|
|
7
|
+
z(t, !1);
|
|
8
8
|
let r = l(t, "text", 12, void 0), s = l(t, "description", 12, void 0);
|
|
9
9
|
var a = E(), c = x(a), w = x(c, !0);
|
|
10
10
|
i(c);
|
|
@@ -33,4 +33,4 @@ function H(p, t) {
|
|
|
33
33
|
export {
|
|
34
34
|
H as C
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=ContentHeader-
|
|
36
|
+
//# sourceMappingURL=ContentHeader-f66pzycq.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeader-
|
|
1
|
+
{"version":3,"file":"ContentHeader-f66pzycq.js","sources":["../../ui/main/shared/ContentHeader.svelte"],"sourcesContent":["<script lang=\"ts\">\n export let text: string | undefined = undefined\n export let description: string | undefined = undefined\n</script>\n\n<div\n class=\"crtw-flex crtw-flex-col crtw-items-center crtw-mx-auto crtw-text-center crtw-text-textMain\n crtw-max-w-xs crtw-relative sm:crtw-max-w-[360px]\"\n>\n <p class=\"crtw-font-bold crtw-text-[21px] crtw-uppercase sm:crtw-text-2xl sm:crtw-mb-px\">\n {text ?? ``}\n </p>\n <p class=\"crtw-text-sm sm:crtw-text-base\">\n {description ?? ``}\n </p>\n\n <slot />\n</div>\n"],"names":["text","description"],"mappings":";;;;;;;AACa,MAAAA,qBAA2B,MAAS,GACpCC,4BAAkC,MAAS;;;;;;;SAQnDD,EAAI,KAAA,EAAA,QAGJC,EAAW,KAAA,EAAA;AAAA;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { o as Z } from "./index-client-
|
|
3
|
-
import { v as V,
|
|
4
|
-
import { B as N } from "./Button-
|
|
1
|
+
import { c as y, p as Q, f as m, i as w, r as h, b as f, d as A, u as M, s as x, h as X } from "./legacy-CMJEekqF.js";
|
|
2
|
+
import { o as Z } from "./index-client-CT6sSU2-.js";
|
|
3
|
+
import { v as V, y as $, B as p, C as u, E, G as T, D as g, z as B, u as t2, O as e2, J as k, m as r2, K as v, I as s2, L as c2, N as l2 } from "./index-DYFZGr8a.js";
|
|
4
|
+
import { B as N } from "./Button-BoE6UH7J.js";
|
|
5
5
|
const i2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2027.3.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20500%20500'%20style='enable-background:new%200%200%20500%20500;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{display:none;fill:%23010101;}%20.st1{fill:%23010101;}%20%3c/style%3e%3cpath%20class='st0'%20d='M454.1,479.5l-39.2-358c-0.5-7.2-6.7-12.4-13.9-12.4l-67.6,0V88.6c0-45.9-37.7-83.6-83.6-83.6%20s-83.6,37.7-83.6,83.6v20.6H98.2c-7.2,0-12.9,5.2-13.9,12.4L45,479.5c-0.5,4.1,1,7.7,3.6,10.8c2.6,3.1,6.2,4.6,10.3,4.6h381.7%20c4.1,0,7.7-1.5,10.3-4.6C453.6,487.3,454.6,483.6,454.1,479.5L454.1,479.5z%20M204.4,88.6c0-25.3,20.6-45.4,45.4-45.4%20c24.8,0,45.4,20.6,45.4,45.4v20.6l-90.8,0L204.4,88.6z%20M249.8,406.3c-57.3,0-104.2-46.4-104.2-104.2c0-57.3,46.4-104.2,104.2-104.2%20c57.3,0,104.2,46.4,104.2,104.2C354,359.3,307.1,406.3,249.8,406.3z'/%3e%3cpath%20class='st0'%20d='M295.2,256.7c-7.2-7.2-19.6-7.2-26.8,0l-18.6,18.6l-18.6-18.6c-7.2-7.2-19.6-7.2-26.8,0%20c-7.2,7.2-7.2,19.6,0,26.8l18.6,18.6l-18.6,18.6c-7.2,7.2-7.2,19.6,0,26.8c3.6,3.6,8.8,5.7,13.4,5.7c4.6,0,9.8-2.1,13.4-5.7%20l18.6-18.6l18.6,18.6c3.6,3.6,8.8,5.7,13.4,5.7c4.6,0,9.8-2.1,13.4-5.7c7.2-7.2,7.2-19.6,0-26.8l-18.6-18.6l18.6-18.6%20C302.4,276.3,302.4,264.4,295.2,256.7L295.2,256.7z'/%3e%3cg%3e%3cpath%20class='st1'%20d='M361.3,161.1c0-5.9-2.3-11.6-6.5-15.8c-4.2-4.2-9.9-6.5-15.8-6.5s-11.6,2.3-15.8,6.5l-73.5,73.5l-73.5-73.5%20c-4.2-4.1-9.8-6.3-15.7-6.3c-5.9,0.1-11.4,2.4-15.6,6.5c-4.1,4.1-6.5,9.7-6.5,15.6c0,5.8,2.2,11.5,6.3,15.7l73.5,73.5l-73.5,73.5%20c-4.1,4.2-6.3,9.8-6.3,15.7c0.1,5.8,2.4,11.4,6.5,15.6c4.1,4.1,9.7,6.5,15.6,6.5c5.8,0.1,11.5-2.2,15.7-6.3l73.5-73.5l73.5,73.5%20c4.2,4.1,9.8,6.3,15.7,6.3c5.8-0.1,11.4-2.4,15.6-6.5c4.1-4.1,6.5-9.7,6.5-15.6c0-5.8-2.2-11.5-6.3-15.7l-73.5-73.5l73.5-73.5%20C359,172.7,361.3,167.1,361.3,161.1L361.3,161.1z'/%3e%3cpath%20class='st1'%20d='M249.8,5C114.3,5,4.5,114.9,4.5,250.4s109.9,245.4,245.4,245.4s245.4-109.9,245.4-245.4S385.3,5,249.8,5%20L249.8,5z%20M173,64.9c24.4-10.1,50.5-15.3,76.8-15.3c53.2,0,104.3,21.2,142,58.8c37.6,37.6,58.8,88.7,58.8,142s-21.2,104.3-58.8,142%20c-37.6,37.6-88.7,58.8-142,58.8c-26.4,0-52.5-5.2-76.8-15.3c-24.4-10.1-46.5-24.9-65.1-43.5c-18.6-18.6-33.4-40.8-43.5-65.1%20c-10.1-24.4-15.3-50.5-15.3-76.8s5.2-52.5,15.3-76.8c10.1-24.4,24.9-46.5,43.5-65.1S148.6,75,173,64.9L173,64.9z'/%3e%3c/g%3e%3c/svg%3e";
|
|
6
6
|
var o2 = m('<img class="crtw-w-[90px]" alt="error"/>'), a2 = m('<img alt="error"/>'), n2 = m(`<a class="crtw-flex crtw-justify-center crtw-items-center crtw-w-full crtw-h-[50px] crtw-cursor-pointer
|
|
7
7
|
crtw-border-2 crtw-border-black crtw-rounded crtw-font-['Poppins'] crtw-text-base crtw-font-medium"> </a>`), d2 = m('<div class="crtw-flex crtw-flex-col crtw-justify-center crtw-items-center"><div class="crtw-mb-6"><!></div> <div class="crtw-text-2xl crtw-uppercase crtw-text-black crtw-font-bold"> </div> <div class="crtw-text-base crtw-text-black crtw-text-center crtw-mb-9"> </div> <!></div> <!> <!>', 1);
|
|
8
8
|
function z(l, s) {
|
|
9
|
-
if (new.target) return
|
|
9
|
+
if (new.target) return y({ component: z, ...l });
|
|
10
10
|
V(s, !1);
|
|
11
11
|
let n = Q(s, "options", 12), {
|
|
12
12
|
title: o,
|
|
@@ -32,11 +32,11 @@ function z(l, s) {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
u(L);
|
|
35
|
-
var I = E(L, 2),
|
|
35
|
+
var I = E(L, 2), G = p(I, !0);
|
|
36
36
|
u(I);
|
|
37
|
-
var D = E(I, 2),
|
|
37
|
+
var D = E(I, 2), P = p(D, !0);
|
|
38
38
|
u(D);
|
|
39
|
-
var
|
|
39
|
+
var F = E(D, 2);
|
|
40
40
|
{
|
|
41
41
|
var Y = (t) => {
|
|
42
42
|
N(t, {
|
|
@@ -46,7 +46,7 @@ function z(l, s) {
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
|
-
w(
|
|
49
|
+
w(F, (t) => {
|
|
50
50
|
c !== !1 && t(Y);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -69,18 +69,18 @@ function z(l, s) {
|
|
|
69
69
|
}
|
|
70
70
|
var q = E(b, 2);
|
|
71
71
|
{
|
|
72
|
-
var
|
|
73
|
-
var r = n2(),
|
|
72
|
+
var J = (t) => {
|
|
73
|
+
var r = n2(), W = p(r, !0);
|
|
74
74
|
u(r), g(() => {
|
|
75
|
-
x(r, "href", T(() => e == null ? void 0 : e.link)), x(r, "target", T(() => e.openInNewTab ? "_blank" : "_self")), h(
|
|
75
|
+
x(r, "href", T(() => e == null ? void 0 : e.link)), x(r, "target", T(() => e.openInNewTab ? "_blank" : "_self")), h(W, T(() => e == null ? void 0 : e.text));
|
|
76
76
|
}), f(t, r);
|
|
77
77
|
};
|
|
78
78
|
w(q, (t) => {
|
|
79
|
-
T(() => (e == null ? void 0 : e.text) && (e == null ? void 0 : e.link)) && t(
|
|
79
|
+
T(() => (e == null ? void 0 : e.text) && (e == null ? void 0 : e.link)) && t(J);
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
return g(() => {
|
|
83
|
-
h(
|
|
83
|
+
h(G, o), h(P, O);
|
|
84
84
|
}), f(l, C), B({
|
|
85
85
|
get options() {
|
|
86
86
|
return n();
|
|
@@ -89,7 +89,7 @@ function z(l, s) {
|
|
|
89
89
|
n(t), t2();
|
|
90
90
|
},
|
|
91
91
|
$set: M,
|
|
92
|
-
$on: (t, r) =>
|
|
92
|
+
$on: (t, r) => A(s, t, r)
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
const _2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2027.3.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20500%20500'%20style='enable-background:new%200%200%20500%20500;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23010101;}%20%3c/style%3e%3cpath%20class='st0'%20d='M454.1,479.5l-39.2-358c-0.5-7.2-6.7-12.4-13.9-12.4l-67.6,0V88.6c0-45.9-37.7-83.6-83.6-83.6%20s-83.6,37.7-83.6,83.6v20.6H98.2c-7.2,0-12.9,5.2-13.9,12.4L45,479.5c-0.5,4.1,1,7.7,3.6,10.8c2.6,3.1,6.2,4.6,10.3,4.6h381.7%20c4.1,0,7.7-1.5,10.3-4.6C453.6,487.3,454.6,483.6,454.1,479.5L454.1,479.5z%20M204.4,88.6c0-25.3,20.6-45.4,45.4-45.4%20c24.8,0,45.4,20.6,45.4,45.4v20.6l-90.8,0L204.4,88.6z%20M249.8,406.3c-57.3,0-104.2-46.4-104.2-104.2c0-57.3,46.4-104.2,104.2-104.2%20c57.3,0,104.2,46.4,104.2,104.2C354,359.3,307.1,406.3,249.8,406.3z'/%3e%3cpath%20class='st0'%20d='M295.2,256.7c-7.2-7.2-19.6-7.2-26.8,0l-18.6,18.6l-18.6-18.6c-7.2-7.2-19.6-7.2-26.8,0%20c-7.2,7.2-7.2,19.6,0,26.8l18.6,18.6l-18.6,18.6c-7.2,7.2-7.2,19.6,0,26.8c3.6,3.6,8.8,5.7,13.4,5.7c4.6,0,9.8-2.1,13.4-5.7%20l18.6-18.6l18.6,18.6c3.6,3.6,8.8,5.7,13.4,5.7c4.6,0,9.8-2.1,13.4-5.7c7.2-7.2,7.2-19.6,0-26.8l-18.6-18.6l18.6-18.6%20C302.4,276.3,302.4,264.4,295.2,256.7L295.2,256.7z'/%3e%3c/svg%3e", i = {
|
|
@@ -125,7 +125,7 @@ const _2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
|
|
|
125
125
|
}), s;
|
|
126
126
|
};
|
|
127
127
|
function u2(l, s) {
|
|
128
|
-
if (new.target) return
|
|
128
|
+
if (new.target) return y({ component: u2, ...l });
|
|
129
129
|
V(s, !1);
|
|
130
130
|
const n = () => c2(l2).close();
|
|
131
131
|
let o = r2();
|
|
@@ -149,10 +149,10 @@ function u2(l, s) {
|
|
|
149
149
|
}
|
|
150
150
|
}), B({
|
|
151
151
|
$set: M,
|
|
152
|
-
$on: (c, a) =>
|
|
152
|
+
$on: (c, a) => A(s, c, a)
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
export {
|
|
156
156
|
u2 as default
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=Error-
|
|
158
|
+
//# sourceMappingURL=Error-De7P-glG.js.map
|