@credenza3/passport-sui 0.2.3 → 0.2.5
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-DMjoqoZI.js → App-DE7zgdZp.js} +18 -18
- package/dist/{App-DMjoqoZI.js.map → App-DE7zgdZp.js.map} +1 -1
- package/dist/{Button-69xpr_s2.js → Button-Dh2RgV-h.js} +4 -4
- package/dist/{Button-69xpr_s2.js.map → Button-Dh2RgV-h.js.map} +1 -1
- package/dist/{ButtonBack-eiZlUP5b.js → ButtonBack-C6vkhqVj.js} +4 -4
- package/dist/{ButtonBack-eiZlUP5b.js.map → ButtonBack-C6vkhqVj.js.map} +1 -1
- package/dist/{ButtonLink-0xz3HRlH.js → ButtonLink-D7E36Lqo.js} +3 -3
- package/dist/{ButtonLink-0xz3HRlH.js.map → ButtonLink-D7E36Lqo.js.map} +1 -1
- package/dist/{ConfirmAccount-xgFv9hNK.js → ConfirmAccount-Co8Svvz_.js} +9 -9
- package/dist/{ConfirmAccount-xgFv9hNK.js.map → ConfirmAccount-Co8Svvz_.js.map} +1 -1
- package/dist/{ContentHeader-36qt_g7F.js → ContentHeader-Bgsb8pVQ.js} +3 -3
- package/dist/{ContentHeader-36qt_g7F.js.map → ContentHeader-Bgsb8pVQ.js.map} +1 -1
- package/dist/{Error-BK7ZLiVO.js → Error-BU6Kbq9c.js} +5 -5
- package/dist/{Error-BK7ZLiVO.js.map → Error-BU6Kbq9c.js.map} +1 -1
- package/dist/{Input-DAxd1tLB.js → Input-BaRebb7l.js} +4 -4
- package/dist/{Input-DAxd1tLB.js.map → Input-BaRebb7l.js.map} +1 -1
- package/dist/{Label-DepYgrao.js → Label-Dbv4Ebou.js} +3 -3
- package/dist/{Label-DepYgrao.js.map → Label-Dbv4Ebou.js.map} +1 -1
- package/dist/{Loader-D4rTMy8b.js → Loader-BZFi8LA-.js} +3 -3
- package/dist/{Loader-D4rTMy8b.js.map → Loader-BZFi8LA-.js.map} +1 -1
- package/dist/{Login-B2s1dHJz.js → Login-Cot1ebHV.js} +9 -9
- package/dist/{Login-B2s1dHJz.js.map → Login-Cot1ebHV.js.map} +1 -1
- package/dist/{Logout-C6NAooAk.js → Logout-DOMxPZ1X.js} +6 -6
- package/dist/{Logout-C6NAooAk.js.map → Logout-DOMxPZ1X.js.map} +1 -1
- package/dist/{Nav-DOV6cYcx.js → Nav-rBuuSOJK.js} +5 -5
- package/dist/{Nav-DOV6cYcx.js.map → Nav-rBuuSOJK.js.map} +1 -1
- package/dist/{PassportId-oKWNLelI.js → PassportId-Cz7h8ktt.js} +7 -7
- package/dist/{PassportId-oKWNLelI.js.map → PassportId-Cz7h8ktt.js.map} +1 -1
- package/dist/Payment-BDYquFOe.js +1188 -0
- package/dist/Payment-BDYquFOe.js.map +1 -0
- package/dist/{PaymentResult-B2r8rxy0.js → PaymentResult-COaQ1V9L.js} +4 -4
- package/dist/{PaymentResult-B2r8rxy0.js.map → PaymentResult-COaQ1V9L.js.map} +1 -1
- package/dist/{Profile-D2bpRbfe.js → Profile-Bz6nV20E.js} +33 -33
- package/dist/{Profile-D2bpRbfe.js.map → Profile-Bz6nV20E.js.map} +1 -1
- package/dist/{ProgressVideo-01D-uEhA.js → ProgressVideo-D4kaRPKo.js} +6 -6
- package/dist/{ProgressVideo-01D-uEhA.js.map → ProgressVideo-D4kaRPKo.js.map} +1 -1
- package/dist/{ProgressVideo.service-D6suMNMc.js → ProgressVideo.service-CX-GekTX.js} +2 -2
- package/dist/{ProgressVideo.service-D6suMNMc.js.map → ProgressVideo.service-CX-GekTX.js.map} +1 -1
- package/dist/{RichAlert-vukUSrZA.js → RichAlert-C616RHkC.js} +5 -5
- package/dist/{RichAlert-vukUSrZA.js.map → RichAlert-C616RHkC.js.map} +1 -1
- package/dist/{Scanner-CWBrtSO-.js → Scanner-D0jh5SEU.js} +7 -7
- package/dist/{Scanner-CWBrtSO-.js.map → Scanner-D0jh5SEU.js.map} +1 -1
- package/dist/SendTokens-DD05cvbj.js +350 -0
- package/dist/SendTokens-DD05cvbj.js.map +1 -0
- package/dist/{Sign-Z4_JUSR-.js → Sign-D9VySmcS.js} +7 -7
- package/dist/{Sign-Z4_JUSR-.js.map → Sign-D9VySmcS.js.map} +1 -1
- package/dist/{Stripe.service-BkXnxKqQ.js → Stripe.service-BQSwN-WH.js} +3 -3
- package/dist/{Stripe.service-BkXnxKqQ.js.map → Stripe.service-BQSwN-WH.js.map} +1 -1
- package/dist/{UpdateProfile-CnE6y3Pf.js → UpdateProfile-Dt4tDRo9.js} +10 -10
- package/dist/{UpdateProfile-CnE6y3Pf.js.map → UpdateProfile-Dt4tDRo9.js.map} +1 -1
- package/dist/{UserInfo-DdRVoH0D.js → UserInfo-CeAUiqYr.js} +4 -4
- package/dist/{UserInfo-DdRVoH0D.js.map → UserInfo-CeAUiqYr.js.map} +1 -1
- package/dist/{Wallet-Cwo66Q1r.js → Wallet-Cae3eUz7.js} +8 -8
- package/dist/{Wallet-Cwo66Q1r.js.map → Wallet-Cae3eUz7.js.map} +1 -1
- package/dist/{each-BNaL_Vtx.js → each-CViAVHEw.js} +2 -2
- package/dist/{each-BNaL_Vtx.js.map → each-CViAVHEw.js.map} +1 -1
- package/dist/{html-u5owNQ_k.js → html-ZqiVgKIh.js} +3 -3
- package/dist/{html-u5owNQ_k.js.map → html-ZqiVgKIh.js.map} +1 -1
- package/dist/{index-CzZFSuqM.js → index-DhyNP7l2.js} +4173 -4173
- package/dist/{index-CzZFSuqM.js.map → index-DhyNP7l2.js.map} +1 -1
- package/dist/{index-client-GmX4pXIJ.js → index-client-fpY_J5KV.js} +2 -2
- package/dist/{index-client-GmX4pXIJ.js.map → index-client-fpY_J5KV.js.map} +1 -1
- package/dist/{input-Dlpr9jGf.js → input-H9baEii1.js} +2 -2
- package/dist/{input-Dlpr9jGf.js.map → input-H9baEii1.js.map} +1 -1
- package/dist/{legacy-BNwW5YWH.js → legacy-DlRLjVlK.js} +2 -2
- package/dist/{legacy-BNwW5YWH.js.map → legacy-DlRLjVlK.js.map} +1 -1
- package/dist/passport.es.js +1 -1
- package/dist/passport.umd.js +145 -145
- package/dist/passport.umd.js.map +1 -1
- package/dist/{socket-io-C6E3tcOo.js → socket-io-DaOgnRY5.js} +2 -2
- package/dist/{socket-io-C6E3tcOo.js.map → socket-io-DaOgnRY5.js.map} +1 -1
- package/package.json +1 -1
- package/dist/Payment-exJAIgZE.js +0 -1233
- package/dist/Payment-exJAIgZE.js.map +0 -1
- package/dist/SendTokens-QbdToxL9.js +0 -355
- package/dist/SendTokens-QbdToxL9.js.map +0 -1
- package/dist/strings-B-rKL311.js +0 -5
- package/dist/strings-B-rKL311.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as d2, p as i2, a, i as x, b as e, d as f2, u as v2, f as O, s as q2, e as R0, g as x0, h as L0, t as u0, j as V0, l as D0, k as T0, m as U0, n as j0, o as _0, q as L } from "./legacy-
|
|
2
|
-
import { h as U2, a as F0, i as G0, b as q0, c as y0, H as Y0, r as K0, s as $0, d as k0, U as S0, e as g0, f as b0, m as Y2, q as J0, g as Q0, j as P0, k as H0, l as A0, n as W0, o as X0, p as e1, t as m0, u as Y, v as C0, w as Z0, x as t, y as u2, z as _2, A as m, B as A, C as E, D as D2, E as H, F as w0, G as p, I as j2, J as h, K as t1, L as a1, M as F2, N as r1, P as l1, O as n1, Q as o1, R as E0, S as O0, T as l } from "./index-
|
|
1
|
+
import { c as d2, p as i2, a, i as x, b as e, d as f2, u as v2, f as O, s as q2, e as R0, g as x0, h as L0, t as u0, j as V0, l as D0, k as T0, m as U0, n as j0, o as _0, q as L } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { h as U2, a as F0, i as G0, b as q0, c as y0, H as Y0, r as K0, s as $0, d as k0, U as S0, e as g0, f as b0, m as Y2, q as J0, g as Q0, j as P0, k as H0, l as A0, n as W0, o as X0, p as e1, t as m0, u as Y, v as C0, w as Z0, x as t, y as u2, z as _2, A as m, B as A, C as E, D as D2, E as H, F as w0, G as p, I as j2, J as h, K as t1, L as a1, M as F2, N as r1, P as l1, O as n1, Q as o1, R as E0, S as O0, T as l } from "./index-DhyNP7l2.js";
|
|
3
3
|
const h0 = 0, G2 = 1, p0 = 2;
|
|
4
4
|
function y(g, n, s, d, u) {
|
|
5
5
|
U2 && F0();
|
|
@@ -295,7 +295,7 @@ function z0(g, n) {
|
|
|
295
295
|
{
|
|
296
296
|
var w = (b) => {
|
|
297
297
|
var Z = a(), K2 = t(Z);
|
|
298
|
-
y(K2, () => import("./Login-
|
|
298
|
+
y(K2, () => import("./Login-Cot1ebHV.js"), null, ($2, J2) => {
|
|
299
299
|
var N = a(), K = t(N);
|
|
300
300
|
L(K, () => h(J2).default, (g2, m2) => {
|
|
301
301
|
m2(g2, {});
|
|
@@ -306,7 +306,7 @@ function z0(g, n) {
|
|
|
306
306
|
{
|
|
307
307
|
var $2 = (N) => {
|
|
308
308
|
var K = a(), g2 = t(K);
|
|
309
|
-
y(g2, () => import("./Logout-
|
|
309
|
+
y(g2, () => import("./Logout-DOMxPZ1X.js"), null, (m2, Q2) => {
|
|
310
310
|
var B = a(), $ = t(B);
|
|
311
311
|
L($, () => h(Q2).default, (w2, h2) => {
|
|
312
312
|
h2(w2, {});
|
|
@@ -317,7 +317,7 @@ function z0(g, n) {
|
|
|
317
317
|
{
|
|
318
318
|
var m2 = (B) => {
|
|
319
319
|
var $ = a(), w2 = t($);
|
|
320
|
-
y(w2, () => import("./ConfirmAccount-
|
|
320
|
+
y(w2, () => import("./ConfirmAccount-Co8Svvz_.js"), null, (h2, W2) => {
|
|
321
321
|
var I = a(), J = t(I);
|
|
322
322
|
L(J, () => h(W2).default, (p2, C2) => {
|
|
323
323
|
C2(p2, {});
|
|
@@ -328,7 +328,7 @@ function z0(g, n) {
|
|
|
328
328
|
{
|
|
329
329
|
var h2 = (I) => {
|
|
330
330
|
var J = a(), p2 = t(J);
|
|
331
|
-
y(p2, () => import("./UpdateProfile-
|
|
331
|
+
y(p2, () => import("./UpdateProfile-Dt4tDRo9.js"), null, (C2, X2) => {
|
|
332
332
|
var M = a(), Q = t(M);
|
|
333
333
|
L(Q, () => h(X2).default, (x2, L2) => {
|
|
334
334
|
L2(x2, {});
|
|
@@ -339,7 +339,7 @@ function z0(g, n) {
|
|
|
339
339
|
{
|
|
340
340
|
var C2 = (M) => {
|
|
341
341
|
var Q = a(), x2 = t(Q);
|
|
342
|
-
y(x2, () => import("./PassportId-
|
|
342
|
+
y(x2, () => import("./PassportId-Cz7h8ktt.js"), null, (L2, e0) => {
|
|
343
343
|
var z = a(), W = t(z);
|
|
344
344
|
L(W, () => h(e0).default, (y2, k2) => {
|
|
345
345
|
k2(y2, {});
|
|
@@ -350,7 +350,7 @@ function z0(g, n) {
|
|
|
350
350
|
{
|
|
351
351
|
var L2 = (z) => {
|
|
352
352
|
var W = a(), y2 = t(W);
|
|
353
|
-
y(y2, () => import("./Sign-
|
|
353
|
+
y(y2, () => import("./Sign-D9VySmcS.js"), null, (k2, t0) => {
|
|
354
354
|
var R = a(), X = t(R);
|
|
355
355
|
L(X, () => h(t0).default, (S2, b2) => {
|
|
356
356
|
b2(S2, {});
|
|
@@ -361,7 +361,7 @@ function z0(g, n) {
|
|
|
361
361
|
{
|
|
362
362
|
var k2 = (R) => {
|
|
363
363
|
var X = a(), S2 = t(X);
|
|
364
|
-
y(S2, () => import("./Wallet-
|
|
364
|
+
y(S2, () => import("./Wallet-Cae3eUz7.js"), null, (b2, a0) => {
|
|
365
365
|
var V = a(), e2 = t(V);
|
|
366
366
|
L(e2, () => h(a0).default, (P2, H2) => {
|
|
367
367
|
H2(P2, {});
|
|
@@ -372,7 +372,7 @@ function z0(g, n) {
|
|
|
372
372
|
{
|
|
373
373
|
var b2 = (V) => {
|
|
374
374
|
var e2 = a(), P2 = t(e2);
|
|
375
|
-
y(P2, () => import("./SendTokens-
|
|
375
|
+
y(P2, () => import("./SendTokens-DD05cvbj.js"), null, (H2, r0) => {
|
|
376
376
|
var D = a(), t2 = t(D);
|
|
377
377
|
L(t2, () => h(r0).default, (A2, a2) => {
|
|
378
378
|
a2(A2, {});
|
|
@@ -383,7 +383,7 @@ function z0(g, n) {
|
|
|
383
383
|
{
|
|
384
384
|
var H2 = (D) => {
|
|
385
385
|
var t2 = a(), A2 = t(t2);
|
|
386
|
-
y(A2, () => import("./Payment-
|
|
386
|
+
y(A2, () => import("./Payment-BDYquFOe.js").then((a2) => a2.P), null, (a2, l0) => {
|
|
387
387
|
var U = a(), r2 = t(U);
|
|
388
388
|
L(r2, () => h(l0).default, (E2, O2) => {
|
|
389
389
|
O2(E2, {});
|
|
@@ -394,7 +394,7 @@ function z0(g, n) {
|
|
|
394
394
|
{
|
|
395
395
|
var a2 = (U) => {
|
|
396
396
|
var r2 = a(), E2 = t(r2);
|
|
397
|
-
y(E2, () => import("./PaymentResult-
|
|
397
|
+
y(E2, () => import("./PaymentResult-COaQ1V9L.js"), null, (O2, n0) => {
|
|
398
398
|
var j = a(), l2 = t(j);
|
|
399
399
|
L(l2, () => h(n0).default, (T2, Z2) => {
|
|
400
400
|
Z2(T2, {});
|
|
@@ -405,7 +405,7 @@ function z0(g, n) {
|
|
|
405
405
|
{
|
|
406
406
|
var O2 = (j) => {
|
|
407
407
|
var l2 = a(), T2 = t(l2);
|
|
408
|
-
y(T2, () => import("./Scanner-
|
|
408
|
+
y(T2, () => import("./Scanner-D0jh5SEU.js"), null, (Z2, o0) => {
|
|
409
409
|
var F = a(), n2 = t(F);
|
|
410
410
|
L(n2, () => h(o0).default, (N2, B2) => {
|
|
411
411
|
B2(N2, {});
|
|
@@ -416,7 +416,7 @@ function z0(g, n) {
|
|
|
416
416
|
{
|
|
417
417
|
var Z2 = (F) => {
|
|
418
418
|
var n2 = a(), N2 = t(n2);
|
|
419
|
-
y(N2, () => import("./Error-
|
|
419
|
+
y(N2, () => import("./Error-BU6Kbq9c.js"), null, (B2, s0) => {
|
|
420
420
|
var G = a(), o2 = t(G);
|
|
421
421
|
L(o2, () => h(s0).default, (I2, M2) => {
|
|
422
422
|
M2(I2, {});
|
|
@@ -427,7 +427,7 @@ function z0(g, n) {
|
|
|
427
427
|
{
|
|
428
428
|
var B2 = (G) => {
|
|
429
429
|
var o2 = a(), I2 = t(o2);
|
|
430
|
-
y(I2, () => import("./RichAlert-
|
|
430
|
+
y(I2, () => import("./RichAlert-C616RHkC.js"), null, (M2, c0) => {
|
|
431
431
|
var q = a(), s2 = t(q);
|
|
432
432
|
L(s2, () => h(c0).default, (z2, R2) => {
|
|
433
433
|
R2(z2, {});
|
|
@@ -438,7 +438,7 @@ function z0(g, n) {
|
|
|
438
438
|
{
|
|
439
439
|
var M2 = (q) => {
|
|
440
440
|
var s2 = a(), z2 = t(s2);
|
|
441
|
-
y(z2, () => import("./ProgressVideo-
|
|
441
|
+
y(z2, () => import("./ProgressVideo-D4kaRPKo.js"), null, (R2, i0) => {
|
|
442
442
|
var V2 = a(), d0 = t(V2);
|
|
443
443
|
L(d0, () => h(i0).default, (f0, v0) => {
|
|
444
444
|
v0(f0, {});
|
|
@@ -446,7 +446,7 @@ function z0(g, n) {
|
|
|
446
446
|
}), e(q, s2);
|
|
447
447
|
}, c0 = (q) => {
|
|
448
448
|
var s2 = a(), z2 = t(s2);
|
|
449
|
-
y(z2, () => import("./Profile-
|
|
449
|
+
y(z2, () => import("./Profile-Bz6nV20E.js"), null, (R2, i0) => {
|
|
450
450
|
var V2 = a(), d0 = t(V2);
|
|
451
451
|
L(d0, () => h(i0).default, (f0, v0) => {
|
|
452
452
|
v0(f0, {});
|
|
@@ -609,4 +609,4 @@ export {
|
|
|
609
609
|
y as a,
|
|
610
610
|
d1 as b
|
|
611
611
|
};
|
|
612
|
-
//# sourceMappingURL=App-
|
|
612
|
+
//# sourceMappingURL=App-DE7zgdZp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App-DMjoqoZI.js","sources":["../../../node_modules/.pnpm/svelte@5.38.3/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 { 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\tdev_stack,\n\tis_runes,\n\tset_component_context,\n\tset_dev_current_component_function,\n\tset_dev_stack\n} from '../../context.js';\nimport { flushSync } from '../../reactivity/batch.js';\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 {(() => 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\tvar dev_original_stack = DEV ? dev_stack : 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\t/**\n\t * @param {AwaitState} 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) {\n\t\t\t\tset_dev_current_component_function(component_function);\n\t\t\t\tset_dev_stack(dev_original_stack);\n\t\t\t}\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) {\n\t\t\t\t\tset_dev_current_component_function(null);\n\t\t\t\t\tset_dev_stack(null);\n\t\t\t\t}\n\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 crtw-border crtw-rounded-full\"\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","$$args","$$render","consequent","CredenzaLogo","$.untrack","additionalLogo","$$sanitized_props","shouldBlurBackdrop","footerAdditionalLogo","SuiPartnerLogo","handleCloseClick","close","get","fn","dispatch","PassportEvents","forcedPage","pageStore","$.set","$cloakStore","$0","$.derived_safe_equal","$.await","node_1","module","$.component","node_2","$.get","$$anchor","$$component","node_4","node_5","node_7","node_8","node_10","node_11","node_13","node_14","node_16","node_17","node_19","node_20","node_22","node_23","node_25","n","node_26","node_28","node_29","node_31","node_32","node_34","node_35","node_37","node_38","node_40","node_41","Pages","$pageStore","$forcedPage"],"mappings":";;AA0BA,MAAMA,KAAU,GACVC,KAAO,GACPC,KAAQ;AAaP,SAASC,EAAYC,GAAMC,GAAWC,GAAYC,GAASC,GAAU;AAC3E,EAAIC,MACHC,GAAY;AAGb,MAAIC,IAASP,GACTQ,IAAQC,GAAQ,GAChBC,IAA2BC,IAO3BC,IAAQC,IAGRC,GAGAC,GAGAC,GAEAC,IAAeT,IAChBU;AAAA;AAAA,IAAyB;AAAA,EAAS,IAClCC;AAAA;AAAA,IAAiC;AAAA,IAAY;AAAA,IAAO;AAAA,EAAK,GACxDC,I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AA,MAAA7B,EAAAH,EAAA,EAAA,SAAA,CAAAI,IAAAC,OAAA;;;;;;;;;;;;;;;;yEAnFA4B,CAAA,WAiFCC,QAAeD,QAAQ;;;;;;;;;;qEAjFxBA,CAAA,WA6ECC,QAASD,YAAoB;;;;;;;;;;iEA7E9BA,CAAA,WAyECC,QAAeD,EAAK,KAAM;;;;;;;;;;6DAzE3BA,CAAA,WAqECC,QAAeD,EAAM,OAAM;;;;;;;;;;yDArE5BA,CAAA,WAiECC,QAAeD,gBAAgB;;;;;;;;;;qDAjEhCA,CAAA,WA6DCC,QAAeD,EAAA,OAAQ;;;;;;;;;;iDA7DxBA,CAAA,WAyDCC,QAAeD,aAAgB;;;;;;;;;;6CAzDhCA,CAAA,WAqDCC,QAAeD,EAAK,MAAO;;;;;;;;;;yCArD5BA,CAAA,WAiDCC,QAAeD,EAAM,IAAC;;;;;;;;;;qCAjDvBA,CAAA,WA6CCC,QAAeD,EAAK,WAAY;;;;;;;;;;iCA7CjCA,CAAA,gBAyCCE,QAAeF,EAAA,kBAAuBC,EAAS,MAAKD,EAAM,cAAA;;;;;;;;;;6BAzC3DA,CAAA,gBAqCCE,QAAeF,EAAO,qBAA6B,MAAEA,EAAK,eAAM;;;;;;;;;;yBArCjEA,CAAA,WAiCCC,QAAeD,EAAA,MAAQ;;;;;;;;mBAjCxBA,CAAA,gBA6BLE,QAAeF,WAAaC,EAAc,MAAED,EAAK,KAAM;;;;;;;;;;;;;;AAT7D;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"App-DE7zgdZp.js","sources":["../../../node_modules/.pnpm/svelte@5.38.3/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 { 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\tdev_stack,\n\tis_runes,\n\tset_component_context,\n\tset_dev_current_component_function,\n\tset_dev_stack\n} from '../../context.js';\nimport { flushSync } from '../../reactivity/batch.js';\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 {(() => 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\tvar dev_original_stack = DEV ? dev_stack : 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\t/**\n\t * @param {AwaitState} 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) {\n\t\t\t\tset_dev_current_component_function(component_function);\n\t\t\t\tset_dev_stack(dev_original_stack);\n\t\t\t}\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) {\n\t\t\t\t\tset_dev_current_component_function(null);\n\t\t\t\t\tset_dev_stack(null);\n\t\t\t\t}\n\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 crtw-border crtw-rounded-full\"\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","$$args","$$render","consequent","CredenzaLogo","$.untrack","additionalLogo","$$sanitized_props","shouldBlurBackdrop","footerAdditionalLogo","SuiPartnerLogo","handleCloseClick","close","get","fn","dispatch","PassportEvents","forcedPage","pageStore","$.set","$cloakStore","$0","$.derived_safe_equal","$.await","node_1","module","$.component","node_2","$.get","$$anchor","$$component","node_4","node_5","node_7","node_8","node_10","node_11","node_13","node_14","node_16","node_17","node_19","node_20","node_22","node_23","node_25","n","node_26","node_28","node_29","node_31","node_32","node_34","node_35","node_37","node_38","node_40","node_41","Pages","$pageStore","$forcedPage"],"mappings":";;AA0BA,MAAMA,KAAU,GACVC,KAAO,GACPC,KAAQ;AAaP,SAASC,EAAYC,GAAMC,GAAWC,GAAYC,GAASC,GAAU;AAC3E,EAAIC,MACHC,GAAY;AAGb,MAAIC,IAASP,GACTQ,IAAQC,GAAQ,GAChBC,IAA2BC,IAO3BC,IAAQC,IAGRC,GAGAC,GAGAC,GAEAC,IAAeT,IAChBU;AAAA;AAAA,IAAyB;AAAA,EAAS,IAClCC;AAAA;AAAA,IAAiC;AAAA,IAAY;AAAA,IAAO;AAAA,EAAK,GACxDC,IAAeZ,IAAQU,GAAO,MAAS,IAAIC,GAAe,QAAW,IAAO,EAAK,GACjFE,IAAW;AAKf,WAASC,EAAOC,GAAOC,GAAS;AAC/B,IAAAH,IAAW,IAEPG,MACHC,GAAkBC,CAAM,GACxBC,GAAoBD,CAAM,GAC1BE,GAAsBlB,CAAwB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C,QAAeD,EAAK,KAAM;;;;;;;;;;6DAzE3BA,CAAA,WAqECC,QAAeD,EAAM,OAAM;;;;;;;;;;yDArE5BA,CAAA,WAiECC,QAAeD,gBAAgB;;;;;;;;;;qDAjEhCA,CAAA,WA6DCC,QAAeD,EAAA,OAAQ;;;;;;;;;;iDA7DxBA,CAAA,WAyDCC,QAAeD,aAAgB;;;;;;;;;;6CAzDhCA,CAAA,WAqDCC,QAAeD,EAAK,MAAO;;;;;;;;;;yCArD5BA,CAAA,WAiDCC,QAAeD,EAAM,IAAC;;;;;;;;;;qCAjDvBA,CAAA,WA6CCC,QAAeD,EAAK,WAAY;;;;;;;;;;iCA7CjCA,CAAA,gBAyCCE,QAAeF,EAAA,kBAAuBC,EAAS,MAAKD,EAAM,cAAA;;;;;;;;;;6BAzC3DA,CAAA,gBAqCCE,QAAeF,EAAO,qBAA6B,MAAEA,EAAK,eAAM;;;;;;;;;;yBArCjEA,CAAA,WAiCCC,QAAeD,EAAA,MAAQ;;;;;;;;mBAjCxBA,CAAA,gBA6BLE,QAAeF,WAAaC,EAAc,MAAED,EAAK,KAAM;;;;;;;;;;;;;;AAT7D;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as g, p as o, f as x, i as _, k as v, e as k, b as d, d as y, u as C, t as h, r as L } from "./legacy-
|
|
2
|
-
import { z as B, B as D, C as j, D as p, y as z, u as l } from "./index-
|
|
1
|
+
import { c as g, p as o, f as x, i as _, k as v, e as k, b as d, d as y, u as C, t as h, r as L } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { z as B, B as D, C as j, D as p, y as z, u as l } from "./index-DhyNP7l2.js";
|
|
3
3
|
import { p as P } from "./event-modifiers-D4czZCB6.js";
|
|
4
|
-
import { L as S } from "./Loader-
|
|
4
|
+
import { L as S } from "./Loader-BZFi8LA-.js";
|
|
5
5
|
var q = x("<button><!></button>");
|
|
6
6
|
function A(f, e) {
|
|
7
7
|
if (new.target) return g({ component: A, ...f });
|
|
@@ -61,4 +61,4 @@ function A(f, e) {
|
|
|
61
61
|
export {
|
|
62
62
|
A as B
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=Button-
|
|
64
|
+
//# sourceMappingURL=Button-Dh2RgV-h.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button-
|
|
1
|
+
{"version":3,"file":"Button-Dh2RgV-h.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","$$args"],"mappings":";;;;;iBAAA;;;MAKaA,IAAyBC,EAAAC,GAAA,WAAA,EAAA,GACzBC,IAAqBF,EAAAC,GAAA,QAAA,EAAA,GAC1BE,yBAAA,EAAA;;;;;;;;;mBAcND,EAAM,CAAA,CAAA;;;MAHJE,EAAI,IAAAC,EAAAC,CAAA,IAAAD,EAAAE,GAAA,EAAA;AAAA;;;;;MANgB,oBAAAJ,OAAcC,EAAM;AAAA,MACV,4BAAAD,EAAO,KAAAC,EAAc;AAAA;;AAGvC,IAAAL,KAAA,MAAA,MAAAS,CAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAPhB;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as r, p as s, d as c, u as i } from "./legacy-
|
|
2
|
-
import { z as l, y as m, u } from "./index-
|
|
3
|
-
import { B as g } from "./ButtonLink-
|
|
1
|
+
import { c as r, p as s, d as c, u as i } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { z as l, y as m, u } from "./index-DhyNP7l2.js";
|
|
3
|
+
import { B as g } from "./ButtonLink-D7E36Lqo.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-C6vkhqVj.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonBack-
|
|
1
|
+
{"version":3,"file":"ButtonBack-C6vkhqVj.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"],"mappings":";;;AAAA,MAAAA,IAAe;iBCAf;;;;;;;;;;;;;;;;;;;;;;AAOA;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as b, p as a, h as d, f as m, i as g, 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 { z as S, B as z, E as D, C as E, D as w, y as L, u as c } from "./index-
|
|
1
|
+
import { c as b, p as a, h as d, f as m, i as g, j as v, r as k, e as h, b as p, d as C, u as j, s as B } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { z as S, B as z, E as D, C as E, D as w, y as L, u as c } from "./index-DhyNP7l2.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, e) {
|
|
5
5
|
if (new.target) return b({ component: q, ...u });
|
|
@@ -54,4 +54,4 @@ function q(u, e) {
|
|
|
54
54
|
export {
|
|
55
55
|
q as B
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=ButtonLink-
|
|
57
|
+
//# sourceMappingURL=ButtonLink-D7E36Lqo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink-
|
|
1
|
+
{"version":3,"file":"ButtonLink-D7E36Lqo.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","$$render","consequent","$$args"],"mappings":";;;iBAAA;;;MAEaA,IAAoCC,EAAAC,GAAA,WAAA,EAAA,GACpCC,qBAAY,MAAA,GAEZC,IAAsCH,EAAAC,GAAA,QAAA,EAAA,GAGxCG,IAAKJ,EAAAC,GAAA,UAAA,IAAA,OAAA,CAAA,EAAA;AAER,QAAAI,IAAA,OAAA,QAAAD,EAAA,gCAEP,KAAA,GAAA;;;;;;0BASOF,EAAA,CAAA,CAAA;;;MADDA,EAAA,KAAAI,EAAAC,CAAA;AAAA;;;;SAFEF,CAAW;;AADT,IAAAN,KAAA,MAAA,MAAAS,CAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJX;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as D, m as re, p as U, f as L, v as ae, s as ie, b as y, d as G, u as N, h as Y, i as J, t as K, r as V, n as se, o as le } from "./legacy-
|
|
2
|
-
import { z as R, B as Z, C as ee, D as j, y as H, u as F, x as q, E as $, G as B, J as l, K as te, m as M, F as Q, I as A, M as W, O as de, b0 as ce, T as I, b1 as ue, S as fe } from "./index-
|
|
3
|
-
import { C as pe } from "./App-
|
|
4
|
-
import { C as ve } from "./ContentHeader-
|
|
5
|
-
import { B as me } from "./Button-
|
|
6
|
-
import { B as _e } from "./ButtonLink-
|
|
7
|
-
import { L as X } from "./Label-
|
|
8
|
-
import { b as ge } from "./input-
|
|
1
|
+
import { c as D, m as re, p as U, f as L, v as ae, s as ie, b as y, d as G, u as N, h as Y, i as J, t as K, r as V, n as se, o as le } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { z as R, B as Z, C as ee, D as j, y as H, u as F, x as q, E as $, G as B, J as l, K as te, m as M, F as Q, I as A, M as W, O as de, b0 as ce, T as I, b1 as ue, S as fe } from "./index-DhyNP7l2.js";
|
|
3
|
+
import { C as pe } from "./App-DE7zgdZp.js";
|
|
4
|
+
import { C as ve } from "./ContentHeader-Bgsb8pVQ.js";
|
|
5
|
+
import { B as me } from "./Button-Dh2RgV-h.js";
|
|
6
|
+
import { B as _e } from "./ButtonLink-D7E36Lqo.js";
|
|
7
|
+
import { L as X } from "./Label-Dbv4Ebou.js";
|
|
8
|
+
import { b as ge } from "./input-H9baEii1.js";
|
|
9
9
|
var he = L('<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 we = {
|
|
11
11
|
hash: "svelte-1o26kfq",
|
|
@@ -207,4 +207,4 @@ function $e(u, i) {
|
|
|
207
207
|
export {
|
|
208
208
|
$e as default
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=ConfirmAccount-
|
|
210
|
+
//# sourceMappingURL=ConfirmAccount-Co8Svvz_.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmAccount-
|
|
1
|
+
{"version":3,"file":"ConfirmAccount-Co8Svvz_.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","$$render","consequent","__awaiter","thisArg","_arguments","P","generator","confirm","_a","$.set","res","confirmAccount","_b","$userStore","_c","_d","_e","get","pageStore","page","Pages","close","toastAlert","err","forcedPageStore"],"mappings":";;;;;;;;;;;;;;iBAAA;;;MAEaA,IAAsBC,EAAAC,GAAA,SAAA,EAAA,GAC3BC,4BAAA,MAAA;;;;;;;;;;;;;;;;;;;;kBCHR;;;MA0BMC,IAcHH,EAAAC,GAAA,WAAA,EAAA,GAEK,EAAA,aAAAG,GAAQ,UAAAC,GAAA,SAAAC,GAAA,WAAAC,EAAA,IAAAJ,EAAA,GAEZK,IAAqBC,EAAA,GACnBC,IAAqBD,EAAA;;;;;;;;;;;;;;;;AAOtBE,cAAAA,EAAA,MAAAC,EAAAC,GAAA,2BAAAC,EAAA,MAAAR,GAAA,KAAA,KAAA,EAAA,EAAA,CAAA;;;;;;;;;;;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;;;;MAKG,aAAA/B,CAAS;AAAA,MACV,mBAAAgC,GAAA,IAAAJ,EAAA,cAAA;AAAA,MACF,UAAAb;AAAA;;;;;;;;;;;;;AAND;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as _, p as l, f as g, g as b, r as o, b as C, d as y, u as h } from "./legacy-
|
|
2
|
-
import { z, B as x, C as i, E as d, D as B, y as D, u as m } from "./index-
|
|
1
|
+
import { c as _, p as l, f as g, g as b, r as o, b as C, d as y, u as h } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { z, B as x, C as i, E as d, D as B, y as D, u as m } from "./index-DhyNP7l2.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) {
|
|
@@ -33,4 +33,4 @@ function H(p, t) {
|
|
|
33
33
|
export {
|
|
34
34
|
H as C
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=ContentHeader-
|
|
36
|
+
//# sourceMappingURL=ContentHeader-Bgsb8pVQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeader-
|
|
1
|
+
{"version":3,"file":"ContentHeader-Bgsb8pVQ.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":";;;;iBAAA;;;AAEa,MAAAA,qBAA2C,MAAA,GAChDC,4BAAA,MAAA;;;;;;;SAQHD,EAAA,KAAA,EAAA,QAGAC,EAAA,KAAA,EAAA;AAAA;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as A, p as W, f, i as p, r as L, b as E, d as k, u as N, s as v, h as X } from "./legacy-
|
|
2
|
-
import { o as Z } from "./index-client-
|
|
3
|
-
import { z as M, x as $, B as n, C as d, E as _, G as R, D as w, y as V, u as t2, Q as e2, I as C, m as r2, J as u, K as c2, M as s2, O as o2 } from "./index-
|
|
4
|
-
import { B as b } from "./Button-
|
|
1
|
+
import { c as A, p as W, f, i as p, r as L, b as E, d as k, u as N, s as v, h as X } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { o as Z } from "./index-client-fpY_J5KV.js";
|
|
3
|
+
import { z as M, x as $, B as n, C as d, E as _, G as R, D as w, y as V, u as t2, Q as e2, I as C, m as r2, J as u, K as c2, M as s2, O as o2 } from "./index-DhyNP7l2.js";
|
|
4
|
+
import { B as b } from "./Button-Dh2RgV-h.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 l2 = f('<img class="crtw-w-[90px]" alt="error"/>'), a2 = f('<img alt="error"/>'), n2 = f(`<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 = f('<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);
|
|
@@ -155,4 +155,4 @@ function p2(s, r) {
|
|
|
155
155
|
export {
|
|
156
156
|
p2 as default
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=Error-
|
|
158
|
+
//# sourceMappingURL=Error-BU6Kbq9c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error-BK7ZLiVO.js","sources":["../../ui/images/error.svg","../../ui/main/error/Error.svelte","../src/app/images/sold_out.svg","../src/app/pages/error/error.helper.ts","../src/app/pages/error/Error.svelte"],"sourcesContent":["export default \"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\"","<script lang=\"ts\">\n import Button from \"../shared/inputs/button/Button.svelte\";\n import ErrorImage from \"../../images/error.svg\";\n\n export let options: {\n title: string;\n description: string;\n image?: string;\n shouldRenderBackButton?: boolean;\n onCloseClick: () => void;\n secondaryAction?: { link: string; text: string, openInNewTab?: boolean };\n primaryActionText?: string;\n openPaymentFunction?: (...args: unknown[]) => unknown;\n };\n\n let {\n title,\n description,\n image,\n shouldRenderBackButton,\n onCloseClick,\n primaryActionText,\n openPaymentFunction,\n secondaryAction,\n } = options;\n</script>\n\n<div class=\"crtw-flex crtw-flex-col crtw-justify-center crtw-items-center\">\n <div class=\"crtw-mb-6\">\n {#if image}\n <img class=\"crtw-w-[90px]\" src={image} alt=\"error\" />\n {:else}\n <img src={ErrorImage} alt=\"error\" />\n {/if}\n </div>\n\n <div class=\"crtw-text-2xl crtw-uppercase crtw-text-black crtw-font-bold\">\n {title}\n </div>\n\n <div class=\"crtw-text-base crtw-text-black crtw-text-center crtw-mb-9\">\n {description}\n </div>\n\n {#if shouldRenderBackButton !== false}\n <Button text=\"Back to site\" onClick={onCloseClick} />\n {/if}\n</div>\n\n{#if primaryActionText && openPaymentFunction}\n <Button text={primaryActionText} onClick={openPaymentFunction} />\n{/if}\n\n{#if secondaryAction?.text && secondaryAction?.link}\n <a\n href={secondaryAction?.link}\n target={secondaryAction.openInNewTab ? \"_blank\" : \"_self\"}\n class=\"crtw-flex crtw-justify-center crtw-items-center crtw-w-full crtw-h-[50px] crtw-cursor-pointer\n crtw-border-2 crtw-border-black crtw-rounded crtw-font-['Poppins'] crtw-text-base crtw-font-medium\"\n >{secondaryAction?.text}\n </a>\n{/if}\n","export default \"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\"","import SoldOut from '@images/sold_out.svg'\n\nexport const ERRORS = {\n titles: {\n DEFAULT_ERROR_TITLE: 'Something went wrong',\n TRANSACTION_REVERTED_TITLE: 'The transaction is reverted',\n SOLD_OUT_ERROR_TITLE: 'Sold out',\n INVALID_TOKEN_ERROR_TITLE: 'Invalid token ID',\n NO_NATIVE_TOKENS: 'Too low native balance',\n },\n desctiptions: {\n DEFAULT_ERROR_DESC: 'An unexpected error occured and we are unable to complete your order.',\n SOLD_OUT_ERROR_DESC:\n 'We are unable to complete your order as the item that you are trying to add is currently sold out.',\n INVALID_TOKEN_ERROR_DESC: 'There is no token associated with provided ID.',\n HAS_MEMBERSHIP_ALREADY_ERROR_DESC: 'This membership is already assosiated with your account.',\n NO_NATIVE_TOKENS_DESC: 'There are no native tokens found to pay for the transaction.',\n },\n}\n\nexport const handleErrorData = (message: string) => {\n let res = {}\n if (message.includes('SOLD_OUT') || message.includes('Sold out'))\n res = {\n title: ERRORS.titles.SOLD_OUT_ERROR_TITLE,\n description: ERRORS.desctiptions.SOLD_OUT_ERROR_DESC,\n image: SoldOut,\n }\n if (message.includes('invalid token ID'))\n res = {\n title: ERRORS.titles.INVALID_TOKEN_ERROR_TITLE,\n description: ERRORS.desctiptions.INVALID_TOKEN_ERROR_DESC,\n }\n\n if (message.includes('ALREADY_HAS_MEMBERSHIP')) {\n res = {\n title: ERRORS.titles.TRANSACTION_REVERTED_TITLE,\n description: ERRORS.desctiptions.HAS_MEMBERSHIP_ALREADY_ERROR_DESC,\n }\n }\n\n if (message.includes('No valid gas coins found')) {\n res = {\n title: ERRORS.titles.NO_NATIVE_TOKENS,\n description: ERRORS.desctiptions.NO_NATIVE_TOKENS_DESC,\n }\n }\n\n return res\n}\n","<script lang=\"ts\">\n import { onDestroy } from 'svelte'\n import { get } from 'svelte/store'\n import { pageOptsStore, fn } from '@packages/stores'\n import { Error } from '@packages/ui'\n\n import { ERRORS, handleErrorData } from './error.helper'\n\n const handleCloseClick = () => get(fn).close()\n\n let errorData: {\n errorMessage?: string\n image?: string\n description?: string\n title?: string\n shouldRenderBackButton?: boolean\n }\n const unsub = pageOptsStore.subscribe((data) => {\n if (data.errorMessage) errorData = handleErrorData(data.errorMessage)\n else if (data.title && data.description) errorData = data\n })\n\n onDestroy(unsub)\n</script>\n\n<Error\n options={{\n title: errorData?.title || ERRORS.titles.DEFAULT_ERROR_TITLE,\n description: errorData?.description || ERRORS.desctiptions.DEFAULT_ERROR_DESC,\n image: errorData?.image,\n shouldRenderBackButton: errorData?.shouldRenderBackButton,\n onCloseClick: handleCloseClick,\n }}\n/>\n"],"names":["ErrorImage","options","$.prop","$$props","title","description","shouldRenderBackButton","onCloseClick","primaryActionText","secondaryAction","image","$$render","consequent","alternate","SoldOut","ERRORS","handleErrorData","message","res","handleCloseClick","get","fn","errorData","$.mutable_source","unsub","pageOptsStore","data","$.set","onDestroy"],"mappings":";;;;AAAA,MAAAA,KAAe;;;iBCAf;;;MAyBQC,IASLC,EAAAC,GAAA,WAAA,EAAA;IAGC,OAAAC;AAAA,IACA,aAAAC;AAAA;IAED,wBAAAC;AAAA,IACC,cAAAC;AAAA,IACA,mBAAAC;AAAA;IAEA,iBAAAC;AAAA,MACCR;;;;;0BAMDS,CAAA,CAAA;;;0BAECV,EAAqB,CAAA;;;MAHjBU,IAAKC,EAAAC,CAAA,IAAAD,EAAAE,GAAA,EAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQL;;;;;;;;;;;AAZT;AC9CA,MAAAC,KAAe,+8CCEFC,IAAS;AAAA,EACpB,QAAQ;AAAA,IACN,qBAAqB;AAAA,IACrB,4BAA4B;AAAA,IAC5B,sBAAsB;AAAA,IACtB,2BAA2B;AAAA,IAC3B,kBAAkB;AAAA,EAAA;AAAA,EAEpB,cAAc;AAAA,IACZ,oBAAoB;AAAA,IACpB,qBACE;AAAA,IACF,0BAA0B;AAAA,IAC1B,mCAAmC;AAAA,IACnC,uBAAuB;AAAA,EAAA;AAE3B,GAEaC,KAAkB,CAACC,MAAoB;AAClD,MAAIC,IAAM,CAAA;AACV,UAAID,EAAQ,SAAS,UAAU,KAAKA,EAAQ,SAAS,UAAU,OAC7DC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,IACjC,OAAOD;AAAA,EAAA,IAEPG,EAAQ,SAAS,kBAAkB,MACrCC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,EAAA,IAGjCE,EAAQ,SAAS,wBAAwB,MAC3CC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,EAAA,IAIjCE,EAAQ,SAAS,0BAA0B,MAC7CC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,EAAA,IAI9BG;AACT;kBCjDA;;;AAkBQ,QAAAC,IAAK,MAAYC,GAAAC,EAAA,EAAA,MAAA;MAChBC,IAMRC,GAAA;AACC,QAAAC,IAASC,GAAA,UAAA,CAAAC,MAAA;IACPA,EAAO,eAAWC,EAAKL,GAAWN,GAAOU,EAAA,YAAmB,KAC5DA,EAAa,SAAUA,EAAC,eAAeC,EAAAL,GAAOI,CAAA;AAAA,EAClD,CAAA;AAEA,EAAAE,EAAIJ,CAAa;;;;;;;;;;;;;;;;;;;AACjB;"}
|
|
1
|
+
{"version":3,"file":"Error-BU6Kbq9c.js","sources":["../../ui/images/error.svg","../../ui/main/error/Error.svelte","../src/app/images/sold_out.svg","../src/app/pages/error/error.helper.ts","../src/app/pages/error/Error.svelte"],"sourcesContent":["export default \"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\"","<script lang=\"ts\">\n import Button from \"../shared/inputs/button/Button.svelte\";\n import ErrorImage from \"../../images/error.svg\";\n\n export let options: {\n title: string;\n description: string;\n image?: string;\n shouldRenderBackButton?: boolean;\n onCloseClick: () => void;\n secondaryAction?: { link: string; text: string, openInNewTab?: boolean };\n primaryActionText?: string;\n openPaymentFunction?: (...args: unknown[]) => unknown;\n };\n\n let {\n title,\n description,\n image,\n shouldRenderBackButton,\n onCloseClick,\n primaryActionText,\n openPaymentFunction,\n secondaryAction,\n } = options;\n</script>\n\n<div class=\"crtw-flex crtw-flex-col crtw-justify-center crtw-items-center\">\n <div class=\"crtw-mb-6\">\n {#if image}\n <img class=\"crtw-w-[90px]\" src={image} alt=\"error\" />\n {:else}\n <img src={ErrorImage} alt=\"error\" />\n {/if}\n </div>\n\n <div class=\"crtw-text-2xl crtw-uppercase crtw-text-black crtw-font-bold\">\n {title}\n </div>\n\n <div class=\"crtw-text-base crtw-text-black crtw-text-center crtw-mb-9\">\n {description}\n </div>\n\n {#if shouldRenderBackButton !== false}\n <Button text=\"Back to site\" onClick={onCloseClick} />\n {/if}\n</div>\n\n{#if primaryActionText && openPaymentFunction}\n <Button text={primaryActionText} onClick={openPaymentFunction} />\n{/if}\n\n{#if secondaryAction?.text && secondaryAction?.link}\n <a\n href={secondaryAction?.link}\n target={secondaryAction.openInNewTab ? \"_blank\" : \"_self\"}\n class=\"crtw-flex crtw-justify-center crtw-items-center crtw-w-full crtw-h-[50px] crtw-cursor-pointer\n crtw-border-2 crtw-border-black crtw-rounded crtw-font-['Poppins'] crtw-text-base crtw-font-medium\"\n >{secondaryAction?.text}\n </a>\n{/if}\n","export default \"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\"","import SoldOut from '@images/sold_out.svg'\n\nexport const ERRORS = {\n titles: {\n DEFAULT_ERROR_TITLE: 'Something went wrong',\n TRANSACTION_REVERTED_TITLE: 'The transaction is reverted',\n SOLD_OUT_ERROR_TITLE: 'Sold out',\n INVALID_TOKEN_ERROR_TITLE: 'Invalid token ID',\n NO_NATIVE_TOKENS: 'Too low native balance',\n },\n desctiptions: {\n DEFAULT_ERROR_DESC: 'An unexpected error occured and we are unable to complete your order.',\n SOLD_OUT_ERROR_DESC:\n 'We are unable to complete your order as the item that you are trying to add is currently sold out.',\n INVALID_TOKEN_ERROR_DESC: 'There is no token associated with provided ID.',\n HAS_MEMBERSHIP_ALREADY_ERROR_DESC: 'This membership is already assosiated with your account.',\n NO_NATIVE_TOKENS_DESC: 'There are no native tokens found to pay for the transaction.',\n },\n}\n\nexport const handleErrorData = (message: string) => {\n let res = {}\n if (message.includes('SOLD_OUT') || message.includes('Sold out'))\n res = {\n title: ERRORS.titles.SOLD_OUT_ERROR_TITLE,\n description: ERRORS.desctiptions.SOLD_OUT_ERROR_DESC,\n image: SoldOut,\n }\n if (message.includes('invalid token ID'))\n res = {\n title: ERRORS.titles.INVALID_TOKEN_ERROR_TITLE,\n description: ERRORS.desctiptions.INVALID_TOKEN_ERROR_DESC,\n }\n\n if (message.includes('ALREADY_HAS_MEMBERSHIP')) {\n res = {\n title: ERRORS.titles.TRANSACTION_REVERTED_TITLE,\n description: ERRORS.desctiptions.HAS_MEMBERSHIP_ALREADY_ERROR_DESC,\n }\n }\n\n if (message.includes('No valid gas coins found')) {\n res = {\n title: ERRORS.titles.NO_NATIVE_TOKENS,\n description: ERRORS.desctiptions.NO_NATIVE_TOKENS_DESC,\n }\n }\n\n return res\n}\n","<script lang=\"ts\">\n import { onDestroy } from 'svelte'\n import { get } from 'svelte/store'\n import { pageOptsStore, fn } from '@packages/stores'\n import { Error } from '@packages/ui'\n\n import { ERRORS, handleErrorData } from './error.helper'\n\n const handleCloseClick = () => get(fn).close()\n\n let errorData: {\n errorMessage?: string\n image?: string\n description?: string\n title?: string\n shouldRenderBackButton?: boolean\n }\n const unsub = pageOptsStore.subscribe((data) => {\n if (data.errorMessage) errorData = handleErrorData(data.errorMessage)\n else if (data.title && data.description) errorData = data\n })\n\n onDestroy(unsub)\n</script>\n\n<Error\n options={{\n title: errorData?.title || ERRORS.titles.DEFAULT_ERROR_TITLE,\n description: errorData?.description || ERRORS.desctiptions.DEFAULT_ERROR_DESC,\n image: errorData?.image,\n shouldRenderBackButton: errorData?.shouldRenderBackButton,\n onCloseClick: handleCloseClick,\n }}\n/>\n"],"names":["ErrorImage","options","$.prop","$$props","title","description","shouldRenderBackButton","onCloseClick","primaryActionText","secondaryAction","image","$$render","consequent","alternate","SoldOut","ERRORS","handleErrorData","message","res","handleCloseClick","get","fn","errorData","$.mutable_source","unsub","pageOptsStore","data","$.set","onDestroy"],"mappings":";;;;AAAA,MAAAA,KAAe;;;iBCAf;;;MAyBQC,IASLC,EAAAC,GAAA,WAAA,EAAA;IAGC,OAAAC;AAAA,IACA,aAAAC;AAAA;IAED,wBAAAC;AAAA,IACC,cAAAC;AAAA,IACA,mBAAAC;AAAA;IAEA,iBAAAC;AAAA,MACCR;;;;;0BAMDS,CAAA,CAAA;;;0BAECV,EAAqB,CAAA;;;MAHjBU,IAAKC,EAAAC,CAAA,IAAAD,EAAAE,GAAA,EAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQL;;;;;;;;;;;AAZT;AC9CA,MAAAC,KAAe,+8CCEFC,IAAS;AAAA,EACpB,QAAQ;AAAA,IACN,qBAAqB;AAAA,IACrB,4BAA4B;AAAA,IAC5B,sBAAsB;AAAA,IACtB,2BAA2B;AAAA,IAC3B,kBAAkB;AAAA,EAAA;AAAA,EAEpB,cAAc;AAAA,IACZ,oBAAoB;AAAA,IACpB,qBACE;AAAA,IACF,0BAA0B;AAAA,IAC1B,mCAAmC;AAAA,IACnC,uBAAuB;AAAA,EAAA;AAE3B,GAEaC,KAAkB,CAACC,MAAoB;AAClD,MAAIC,IAAM,CAAA;AACV,UAAID,EAAQ,SAAS,UAAU,KAAKA,EAAQ,SAAS,UAAU,OAC7DC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,IACjC,OAAOD;AAAA,EAAA,IAEPG,EAAQ,SAAS,kBAAkB,MACrCC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,EAAA,IAGjCE,EAAQ,SAAS,wBAAwB,MAC3CC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,EAAA,IAIjCE,EAAQ,SAAS,0BAA0B,MAC7CC,IAAM;AAAA,IACJ,OAAOH,EAAO,OAAO;AAAA,IACrB,aAAaA,EAAO,aAAa;AAAA,EAAA,IAI9BG;AACT;kBCjDA;;;AAkBQ,QAAAC,IAAK,MAAYC,GAAAC,EAAA,EAAA,MAAA;MAChBC,IAMRC,GAAA;AACC,QAAAC,IAASC,GAAA,UAAA,CAAAC,MAAA;IACPA,EAAO,eAAWC,EAAKL,GAAWN,GAAOU,EAAA,YAAmB,KAC5DA,EAAa,SAAUA,EAAC,eAAeC,EAAAL,GAAOI,CAAA;AAAA,EAClD,CAAA;AAEA,EAAAE,EAAIJ,CAAa;;;;;;;;;;;;;;;;;;;AACjB;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as w, l as d, m as b, p as o, f, v, x as h, C as _, b as m, d as g, u as x } from "./legacy-
|
|
2
|
-
import { z as y, y as P, u as i } from "./index-
|
|
3
|
-
import { b as z } from "./input-
|
|
1
|
+
import { c as w, l as d, m as b, p as o, f, v, x as h, C as _, b as m, d as g, u as x } from "./legacy-DlRLjVlK.js";
|
|
2
|
+
import { z as y, y as P, u as i } from "./index-DhyNP7l2.js";
|
|
3
|
+
import { b as z } from "./input-H9baEii1.js";
|
|
4
4
|
var V = f("<input/>");
|
|
5
5
|
const C = {
|
|
6
6
|
hash: "svelte-9zbwls",
|
|
@@ -55,4 +55,4 @@ function k(a, t) {
|
|
|
55
55
|
export {
|
|
56
56
|
k as I
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=Input-
|
|
58
|
+
//# sourceMappingURL=Input-BaRebb7l.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input-
|
|
1
|
+
{"version":3,"file":"Input-BaRebb7l.js","sources":["../../ui/main/shared/inputs/input/Input.svelte"],"sourcesContent":["<style>\n .phone {\n appearance: textfield;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n }\n</style>\n\n<script lang=\"ts\">\n export let isPhone = false\n export let isValid = true\n\n export let value: string | number | null = null\n</script>\n\n<input\n class=\"crtw-bg-white crtw-w-full crtw-h-[53px] crtw-text-xs crtw-text-[#121e2b] crtw-border crtw-border-[#d9d9d9] crtw-rounded crtw-px-2.5 crtw-py-0 crtw-placeholder-[#d9d9d9] focus:crtw-border-[#121e2b] focus:crtw-outline-none disabled:crtw-bg-[#d9d9d9]\"\n class:phone={isPhone}\n class:crtw-border-[#990008]={!isValid}\n class:focus:crtw-border-[#990008]={!isValid}\n bind:value\n {...$$restProps}\n/>\n"],"names":["isPhone","isValid"],"mappings":";;;;;;;;;iBAAA;;;;AAaa,MAAAA,wBAAU,EAAI,GAEdC,wBAAoC,EAAA;;;;;;;;;;;iBAO9B;AAAA,kCACZA,EAAA;AAAA,wCACUA,EAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AANjB;"}
|