@everymatrix/cashier-method-details 1.94.65 → 1.94.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/components/CashierError-BW7fp_3E.cjs +1 -0
  2. package/components/{CashierError-Ch3BevhM.js → CashierError-C8A2r_Ro.js} +355 -340
  3. package/components/{CashierError-3E_5fmN_.js → CashierError-tXXRpAFO.js} +360 -329
  4. package/components/{CashierMethodDetails-CQxxrnyv.cjs → CashierMethodDetails-BmcvIF4U.cjs} +1 -1
  5. package/components/{CashierMethodDetails-CPbxoMv0.js → CashierMethodDetails-CI2Mc7rX.js} +27 -27
  6. package/components/{CashierMethodDetails-DrHT2ktl.js → CashierMethodDetails-DX9fHh8u.js} +27 -27
  7. package/components/{CashierModal-B5rORhAV.js → CashierModal-B6PtDaZa.js} +22 -22
  8. package/components/{CashierModal-DXyPDItL.cjs → CashierModal-B98gvdau.cjs} +1 -1
  9. package/components/{CashierModal-DOQqzAhI.js → CashierModal-Dtd7LgPp.js} +22 -22
  10. package/components/{CashierNotifications-f1Z9s0_1.js → CashierNotifications-BwuQZD1X.js} +1 -1
  11. package/components/{CashierNotifications-BPNwQiJa.js → CashierNotifications-QmBh7YXs.js} +1 -1
  12. package/components/{CashierNotifications-C0s6Wi8Y.cjs → CashierNotifications-huik00d7.cjs} +1 -1
  13. package/components/{CashierReceiptPage-D7PwjtNx.js → CashierReceiptPage-BXfRTYxj.js} +1 -1
  14. package/components/{CashierReceiptPage-BCMfQqlr.cjs → CashierReceiptPage-JN9UCutk.cjs} +1 -1
  15. package/components/{CashierReceiptPage-YLdnRQoS.js → CashierReceiptPage-VCw8BmhT.js} +1 -1
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-BNLYvs5X.cjs +0 -1
@@ -1,30 +1,14 @@
1
- var V = (n, e, t) => new Promise((a, s) => {
2
- var r = (u) => {
3
- try {
4
- o(t.next(u));
5
- } catch (m) {
6
- s(m);
7
- }
8
- }, i = (u) => {
9
- try {
10
- o(t.throw(u));
11
- } catch (m) {
12
- s(m);
13
- }
14
- }, o = (u) => u.done ? a(u.value) : Promise.resolve(u.value).then(r, i);
15
- o((t = t.apply(n, e)).next());
16
- });
17
- import { o as te, p as ne, $ as ie, S as re, i as ae, s as se, f as z, a as oe, q as A, d as f, r as M, u as S, v as B, w as P, x as F, c as p, e as v, g as T, h as I, j as _, y as le, z as de, A as O, b as C, t as D, l as ue, k as ce, B as R, C as W, D as me, E as ge, F as he, G as ke, m as fe } from "./CashierMethodDetails-CPbxoMv0.js";
1
+ import { o as ie, p as re, $ as ae, S as se, i as oe, s as le, f as w, a as de, d as k, q as D, r as z, u as ue, c as f, g as y, j as E, v as ce, w as me, x as B, y as P, z as F, A as W, e as v, h as L, k as ge, B as x, b as A, t as M, l as he, C as N, D as O, E as ke, F as fe, G as pe, H as ve, I as be, m as ye } from "./CashierMethodDetails-CI2Mc7rX.js";
18
2
  import "../stencil/ui-image-CP8Lp7fB.js";
19
- function N(n, e) {
20
- te(n, e);
3
+ function U(n, e) {
4
+ ie(n, e);
21
5
  }
22
- function pe(n) {
23
- ne({
6
+ function Te(n) {
7
+ re({
24
8
  fallbackLocale: "en"
25
- }), ie.set(n);
9
+ }), ae.set(n);
26
10
  }
27
- const U = {
11
+ const H = {
28
12
  en: {
29
13
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
30
14
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -336,498 +320,529 @@ const U = {
336
320
  CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
337
321
  }
338
322
  };
339
- function ve(n) {
340
- oe(n, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
323
+ function we(n) {
324
+ de(n, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
341
325
  }
342
- const be = (n) => ({}), H = (n) => ({}), ye = (n) => ({}), j = (n) => ({}), Te = (n) => ({}), K = (n) => ({}), we = (n) => ({}), q = (n) => ({ class: "CashierErrorIcon" });
343
- function G(n) {
344
- let e, t;
326
+ const ze = (n) => ({}), j = (n) => ({}), Ee = (n) => ({}), K = (n) => ({}), _e = (n) => ({}), q = (n) => ({}), Ie = (n) => ({}), G = (n) => ({ class: "CashierErrorIcon" });
327
+ function J(n) {
328
+ let e, i, r, a, t;
329
+ const s = (
330
+ /*#slots*/
331
+ n[16].icon
332
+ ), l = B(
333
+ s,
334
+ n,
335
+ /*$$scope*/
336
+ n[15],
337
+ G
338
+ ), u = l || Ce(n), _ = (
339
+ /*#slots*/
340
+ n[16].title
341
+ ), m = B(
342
+ _,
343
+ n,
344
+ /*$$scope*/
345
+ n[15],
346
+ q
347
+ ), T = (
348
+ /*#slots*/
349
+ n[16].text
350
+ ), b = B(
351
+ T,
352
+ n,
353
+ /*$$scope*/
354
+ n[15],
355
+ K
356
+ ), g = b || Ae(n), p = (
357
+ /*#slots*/
358
+ n[16].button
359
+ ), I = B(
360
+ p,
361
+ n,
362
+ /*$$scope*/
363
+ n[15],
364
+ j
365
+ ), h = I || Me(n);
345
366
  return {
346
367
  c() {
347
- e = T("ui-image"), R(e.src, t = `${/*assetsurl*/
348
- n[0]}/error-general-icon.png`) || W(e, "src", t), W(e, "width", "300px"), W(e, "alt", "error");
368
+ e = y("div"), u && u.c(), i = L(), m && m.c(), r = L(), g && g.c(), a = L(), h && h.c(), E(e, "class", "CashierErrorContent");
349
369
  },
350
- m(a, s) {
351
- p(a, e, s);
370
+ m(o, c) {
371
+ f(o, e, c), u && u.m(e, null), v(e, i), m && m.m(e, null), v(e, r), g && g.m(e, null), v(e, a), h && h.m(e, null), t = !0;
352
372
  },
353
- p(a, s) {
354
- s & /*assetsurl*/
355
- 1 && !R(e.src, t = `${/*assetsurl*/
356
- a[0]}/error-general-icon.png`) && W(e, "src", t);
373
+ p(o, c) {
374
+ l ? l.p && (!t || c & /*$$scope*/
375
+ 32768) && P(
376
+ l,
377
+ s,
378
+ o,
379
+ /*$$scope*/
380
+ o[15],
381
+ t ? W(
382
+ s,
383
+ /*$$scope*/
384
+ o[15],
385
+ c,
386
+ Ie
387
+ ) : F(
388
+ /*$$scope*/
389
+ o[15]
390
+ ),
391
+ G
392
+ ) : u && u.p && (!t || c & /*assetsurl*/
393
+ 1) && u.p(o, t ? c : -1), m && m.p && (!t || c & /*$$scope*/
394
+ 32768) && P(
395
+ m,
396
+ _,
397
+ o,
398
+ /*$$scope*/
399
+ o[15],
400
+ t ? W(
401
+ _,
402
+ /*$$scope*/
403
+ o[15],
404
+ c,
405
+ _e
406
+ ) : F(
407
+ /*$$scope*/
408
+ o[15]
409
+ ),
410
+ q
411
+ ), b ? b.p && (!t || c & /*$$scope*/
412
+ 32768) && P(
413
+ b,
414
+ T,
415
+ o,
416
+ /*$$scope*/
417
+ o[15],
418
+ t ? W(
419
+ T,
420
+ /*$$scope*/
421
+ o[15],
422
+ c,
423
+ Ee
424
+ ) : F(
425
+ /*$$scope*/
426
+ o[15]
427
+ ),
428
+ K
429
+ ) : g && g.p && (!t || c & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage, shownError*/
430
+ 486) && g.p(o, t ? c : -1), I ? I.p && (!t || c & /*$$scope*/
431
+ 32768) && P(
432
+ I,
433
+ p,
434
+ o,
435
+ /*$$scope*/
436
+ o[15],
437
+ t ? W(
438
+ p,
439
+ /*$$scope*/
440
+ o[15],
441
+ c,
442
+ ze
443
+ ) : F(
444
+ /*$$scope*/
445
+ o[15]
446
+ ),
447
+ j
448
+ ) : h && h.p && (!t || c & /*$_*/
449
+ 256) && h.p(o, t ? c : -1);
357
450
  },
358
- d(a) {
359
- a && f(e);
451
+ i(o) {
452
+ t || (z(u, o), z(m, o), z(g, o), z(h, o), t = !0);
453
+ },
454
+ o(o) {
455
+ D(u, o), D(m, o), D(g, o), D(h, o), t = !1;
456
+ },
457
+ d(o) {
458
+ o && k(e), u && u.d(o), m && m.d(o), g && g.d(o), h && h.d(o);
360
459
  }
361
460
  };
362
461
  }
363
- function ze(n) {
364
- let e, t = (
462
+ function Y(n) {
463
+ let e, i;
464
+ return {
465
+ c() {
466
+ e = y("ui-image"), N(e.src, i = `${/*assetsurl*/
467
+ n[0]}/error-general-icon.png`) || O(e, "src", i), O(e, "width", "300px"), O(e, "alt", "error");
468
+ },
469
+ m(r, a) {
470
+ f(r, e, a);
471
+ },
472
+ p(r, a) {
473
+ a & /*assetsurl*/
474
+ 1 && !N(e.src, i = `${/*assetsurl*/
475
+ r[0]}/error-general-icon.png`) && O(e, "src", i);
476
+ },
477
+ d(r) {
478
+ r && k(e);
479
+ }
480
+ };
481
+ }
482
+ function Ce(n) {
483
+ let e, i = (
365
484
  /*assetsurl*/
366
- n[0] && G(n)
485
+ n[0] && Y(n)
367
486
  );
368
487
  return {
369
488
  c() {
370
- t && t.c(), e = O();
489
+ i && i.c(), e = x();
371
490
  },
372
- m(a, s) {
373
- t && t.m(a, s), p(a, e, s);
491
+ m(r, a) {
492
+ i && i.m(r, a), f(r, e, a);
374
493
  },
375
- p(a, s) {
494
+ p(r, a) {
376
495
  /*assetsurl*/
377
- a[0] ? t ? t.p(a, s) : (t = G(a), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
496
+ r[0] ? i ? i.p(r, a) : (i = Y(r), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
378
497
  },
379
- d(a) {
380
- a && f(e), t && t.d(a);
498
+ d(r) {
499
+ r && k(e), i && i.d(r);
381
500
  }
382
501
  };
383
502
  }
384
- function J(n) {
503
+ function Z(n) {
385
504
  let e;
386
- function t(r, i) {
505
+ function i(t, s) {
387
506
  return (
388
507
  /*depositWageringAmount*/
389
- r[4] < 0 ? _e : Ee
508
+ t[5] < 0 ? Le : De
390
509
  );
391
510
  }
392
- let a = t(n), s = a(n);
511
+ let r = i(n), a = r(n);
393
512
  return {
394
513
  c() {
395
- s.c(), e = O();
514
+ a.c(), e = x();
396
515
  },
397
- m(r, i) {
398
- s.m(r, i), p(r, e, i);
516
+ m(t, s) {
517
+ a.m(t, s), f(t, e, s);
399
518
  },
400
- p(r, i) {
401
- a === (a = t(r)) && s ? s.p(r, i) : (s.d(1), s = a(r), s && (s.c(), s.m(e.parentNode, e)));
519
+ p(t, s) {
520
+ r === (r = i(t)) && a ? a.p(t, s) : (a.d(1), a = r(t), a && (a.c(), a.m(e.parentNode, e)));
402
521
  },
403
- d(r) {
404
- r && f(e), s.d(r);
522
+ d(t) {
523
+ t && k(e), a.d(t);
405
524
  }
406
525
  };
407
526
  }
408
- function Ee(n) {
409
- let e, t = (
527
+ function De(n) {
528
+ let e, i = (
410
529
  /*$_*/
411
- n[6]("DepositWageringLimitText") + ""
412
- ), a, s, r = (
530
+ n[8]("DepositWageringLimitText") + ""
531
+ ), r, a, t = (
413
532
  /*depositWageringAmount*/
414
- n[4] > 0 && Y(n)
533
+ n[5] > 0 && X(n)
415
534
  );
416
535
  return {
417
536
  c() {
418
- e = T("span"), a = D(t), s = I(), r && r.c(), _(e, "class", "CashierErrorText");
537
+ e = y("span"), r = M(i), a = L(), t && t.c(), E(e, "class", "CashierErrorText");
419
538
  },
420
- m(i, o) {
421
- p(i, e, o), v(e, a), v(e, s), r && r.m(e, null);
539
+ m(s, l) {
540
+ f(s, e, l), v(e, r), v(e, a), t && t.m(e, null);
422
541
  },
423
- p(i, o) {
424
- o & /*$_*/
425
- 64 && t !== (t = /*$_*/
426
- i[6]("DepositWageringLimitText") + "") && C(a, t), /*depositWageringAmount*/
427
- i[4] > 0 ? r ? r.p(i, o) : (r = Y(i), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
542
+ p(s, l) {
543
+ l & /*$_*/
544
+ 256 && i !== (i = /*$_*/
545
+ s[8]("DepositWageringLimitText") + "") && A(r, i), /*depositWageringAmount*/
546
+ s[5] > 0 ? t ? t.p(s, l) : (t = X(s), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
428
547
  },
429
- d(i) {
430
- i && f(e), r && r.d();
548
+ d(s) {
549
+ s && k(e), t && t.d();
431
550
  }
432
551
  };
433
552
  }
434
- function _e(n) {
435
- let e, t, a = (
553
+ function Le(n) {
554
+ let e, i, r = (
436
555
  /*$_*/
437
- n[6]("DepositWageringFetching") + ""
438
- ), s;
556
+ n[8]("DepositWageringFetching") + ""
557
+ ), a;
439
558
  return {
440
559
  c() {
441
- e = T("div"), t = T("span"), s = D(a), _(t, "class", "CashierErrorText LoadingText"), _(e, "class", "WageringFetch");
560
+ e = y("div"), i = y("span"), a = M(r), E(i, "class", "CashierErrorText LoadingText"), E(e, "class", "WageringFetch");
442
561
  },
443
- m(r, i) {
444
- p(r, e, i), v(e, t), v(t, s);
562
+ m(t, s) {
563
+ f(t, e, s), v(e, i), v(i, a);
445
564
  },
446
- p(r, i) {
447
- i & /*$_*/
448
- 64 && a !== (a = /*$_*/
449
- r[6]("DepositWageringFetching") + "") && C(s, a);
565
+ p(t, s) {
566
+ s & /*$_*/
567
+ 256 && r !== (r = /*$_*/
568
+ t[8]("DepositWageringFetching") + "") && A(a, r);
450
569
  },
451
- d(r) {
452
- r && f(e);
570
+ d(t) {
571
+ t && k(e);
453
572
  }
454
573
  };
455
574
  }
456
- function Y(n) {
457
- let e, t, a;
575
+ function X(n) {
576
+ let e, i, r;
458
577
  return {
459
578
  c() {
460
- e = D(
579
+ e = M(
461
580
  /*depositWageringAmount*/
462
- n[4]
463
- ), t = I(), a = D(
464
- /*depositWageringCurrency*/
465
581
  n[5]
582
+ ), i = L(), r = M(
583
+ /*depositWageringCurrency*/
584
+ n[6]
466
585
  );
467
586
  },
468
- m(s, r) {
469
- p(s, e, r), p(s, t, r), p(s, a, r);
587
+ m(a, t) {
588
+ f(a, e, t), f(a, i, t), f(a, r, t);
470
589
  },
471
- p(s, r) {
472
- r & /*depositWageringAmount*/
473
- 16 && C(
590
+ p(a, t) {
591
+ t & /*depositWageringAmount*/
592
+ 32 && A(
474
593
  e,
475
594
  /*depositWageringAmount*/
476
- s[4]
477
- ), r & /*depositWageringCurrency*/
478
- 32 && C(
479
- a,
595
+ a[5]
596
+ ), t & /*depositWageringCurrency*/
597
+ 64 && A(
598
+ r,
480
599
  /*depositWageringCurrency*/
481
- s[5]
600
+ a[6]
482
601
  );
483
602
  },
484
- d(s) {
485
- s && (f(e), f(t), f(a));
603
+ d(a) {
604
+ a && (k(e), k(i), k(r));
486
605
  }
487
606
  };
488
607
  }
489
- function Ie(n) {
490
- let e, t = (
608
+ function Ae(n) {
609
+ let e, i = (
491
610
  /*errormessage*/
492
611
  (n[2].length > 0 ? (
493
612
  /*errormessage*/
494
613
  n[2]
495
614
  ) : (
496
- /*$_*/
497
- n[6](`${/*errorcode*/
498
- n[1] || "errorGeneralText"}`)
615
+ /*shownError*/
616
+ n[7]
499
617
  )) + ""
500
- ), a, s, r, i = (
618
+ ), r, a, t, s = (
501
619
  /*errorcode*/
502
- n[1] == "DepositWageringLimit" && J(n)
620
+ n[1] == "DepositWageringLimit" && Z(n)
503
621
  );
504
622
  return {
505
623
  c() {
506
- e = T("span"), a = D(t), s = I(), i && i.c(), r = O(), _(e, "class", "CashierErrorText");
624
+ e = y("span"), r = M(i), a = L(), s && s.c(), t = x(), E(e, "class", "CashierErrorText");
507
625
  },
508
- m(o, u) {
509
- p(o, e, u), v(e, a), p(o, s, u), i && i.m(o, u), p(o, r, u);
626
+ m(l, u) {
627
+ f(l, e, u), v(e, r), f(l, a, u), s && s.m(l, u), f(l, t, u);
510
628
  },
511
- p(o, u) {
512
- u & /*errormessage, $_, errorcode*/
513
- 70 && t !== (t = /*errormessage*/
514
- (o[2].length > 0 ? (
629
+ p(l, u) {
630
+ u & /*errormessage, shownError*/
631
+ 132 && i !== (i = /*errormessage*/
632
+ (l[2].length > 0 ? (
515
633
  /*errormessage*/
516
- o[2]
634
+ l[2]
517
635
  ) : (
518
- /*$_*/
519
- o[6](`${/*errorcode*/
520
- o[1] || "errorGeneralText"}`)
521
- )) + "") && C(a, t), /*errorcode*/
522
- o[1] == "DepositWageringLimit" ? i ? i.p(o, u) : (i = J(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
636
+ /*shownError*/
637
+ l[7]
638
+ )) + "") && A(r, i), /*errorcode*/
639
+ l[1] == "DepositWageringLimit" ? s ? s.p(l, u) : (s = Z(l), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null);
523
640
  },
524
- d(o) {
525
- o && (f(e), f(s), f(r)), i && i.d(o);
641
+ d(l) {
642
+ l && (k(e), k(a), k(t)), s && s.d(l);
526
643
  }
527
644
  };
528
645
  }
529
- function Ce(n) {
530
- let e, t, a = (
646
+ function Me(n) {
647
+ let e, i, r = (
531
648
  /*$_*/
532
- n[6]("errorGeneralButton") + ""
533
- ), s, r, i;
649
+ n[8]("errorGeneralButton") + ""
650
+ ), a, t, s;
534
651
  return {
535
652
  c() {
536
- e = T("button"), t = T("span"), s = D(a), _(e, "class", "CashierErrorButton");
653
+ e = y("button"), i = y("span"), a = M(r), E(e, "class", "CashierErrorButton");
537
654
  },
538
- m(o, u) {
539
- p(o, e, u), v(e, t), v(t, s), r || (i = ue(
655
+ m(l, u) {
656
+ f(l, e, u), v(e, i), v(i, a), t || (s = he(
540
657
  e,
541
658
  "click",
542
659
  /*close*/
543
- n[7]
544
- ), r = !0);
660
+ n[9]
661
+ ), t = !0);
545
662
  },
546
- p(o, u) {
663
+ p(l, u) {
547
664
  u & /*$_*/
548
- 64 && a !== (a = /*$_*/
549
- o[6]("errorGeneralButton") + "") && C(s, a);
665
+ 256 && r !== (r = /*$_*/
666
+ l[8]("errorGeneralButton") + "") && A(a, r);
550
667
  },
551
- d(o) {
552
- o && f(e), r = !1, i();
668
+ d(l) {
669
+ l && k(e), t = !1, s();
553
670
  }
554
671
  };
555
672
  }
556
- function De(n) {
557
- let e, t, a, s, r, i;
558
- const o = (
559
- /*#slots*/
560
- n[14].icon
561
- ), u = A(
562
- o,
563
- n,
564
- /*$$scope*/
565
- n[13],
566
- q
567
- ), m = u || ze(n), w = (
568
- /*#slots*/
569
- n[14].title
570
- ), h = A(
571
- w,
572
- n,
573
- /*$$scope*/
574
- n[13],
575
- K
576
- ), b = (
577
- /*#slots*/
578
- n[14].text
579
- ), y = A(
580
- b,
581
- n,
582
- /*$$scope*/
583
- n[13],
584
- j
585
- ), c = y || Ie(n), L = (
586
- /*#slots*/
587
- n[14].button
588
- ), E = A(
589
- L,
590
- n,
591
- /*$$scope*/
592
- n[13],
593
- H
594
- ), k = E || Ce(n);
673
+ function Se(n) {
674
+ let e, i, r = !/*isLoading*/
675
+ n[4] && J(n);
595
676
  return {
596
677
  c() {
597
- e = T("div"), t = T("div"), m && m.c(), a = I(), h && h.c(), s = I(), c && c.c(), r = I(), k && k.c(), _(t, "class", "CashierErrorContent"), _(e, "class", "CashierError");
678
+ e = y("div"), r && r.c(), E(e, "class", "CashierError");
598
679
  },
599
- m(l, g) {
600
- p(l, e, g), v(e, t), m && m.m(t, null), v(t, a), h && h.m(t, null), v(t, s), c && c.m(t, null), v(t, r), k && k.m(t, null), n[15](e), i = !0;
680
+ m(a, t) {
681
+ f(a, e, t), r && r.m(e, null), n[17](e), i = !0;
601
682
  },
602
- p(l, [g]) {
603
- u ? u.p && (!i || g & /*$$scope*/
604
- 8192) && B(
605
- u,
606
- o,
607
- l,
608
- /*$$scope*/
609
- l[13],
610
- i ? F(
611
- o,
612
- /*$$scope*/
613
- l[13],
614
- g,
615
- we
616
- ) : P(
617
- /*$$scope*/
618
- l[13]
619
- ),
620
- q
621
- ) : m && m.p && (!i || g & /*assetsurl*/
622
- 1) && m.p(l, i ? g : -1), h && h.p && (!i || g & /*$$scope*/
623
- 8192) && B(
624
- h,
625
- w,
626
- l,
627
- /*$$scope*/
628
- l[13],
629
- i ? F(
630
- w,
631
- /*$$scope*/
632
- l[13],
633
- g,
634
- Te
635
- ) : P(
636
- /*$$scope*/
637
- l[13]
638
- ),
639
- K
640
- ), y ? y.p && (!i || g & /*$$scope*/
641
- 8192) && B(
642
- y,
643
- b,
644
- l,
645
- /*$$scope*/
646
- l[13],
647
- i ? F(
648
- b,
649
- /*$$scope*/
650
- l[13],
651
- g,
652
- ye
653
- ) : P(
654
- /*$$scope*/
655
- l[13]
656
- ),
657
- j
658
- ) : c && c.p && (!i || g & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage*/
659
- 118) && c.p(l, i ? g : -1), E ? E.p && (!i || g & /*$$scope*/
660
- 8192) && B(
661
- E,
662
- L,
663
- l,
664
- /*$$scope*/
665
- l[13],
666
- i ? F(
667
- L,
668
- /*$$scope*/
669
- l[13],
670
- g,
671
- be
672
- ) : P(
673
- /*$$scope*/
674
- l[13]
675
- ),
676
- H
677
- ) : k && k.p && (!i || g & /*$_*/
678
- 64) && k.p(l, i ? g : -1);
683
+ p(a, [t]) {
684
+ /*isLoading*/
685
+ a[4] ? r && (ke(), D(r, 1, 1, () => {
686
+ r = null;
687
+ }), ue()) : r ? (r.p(a, t), t & /*isLoading*/
688
+ 16 && z(r, 1)) : (r = J(a), r.c(), z(r, 1), r.m(e, null));
679
689
  },
680
- i(l) {
681
- i || (S(m, l), S(h, l), S(c, l), S(k, l), i = !0);
690
+ i(a) {
691
+ i || (z(r), i = !0);
682
692
  },
683
- o(l) {
684
- M(m, l), M(h, l), M(c, l), M(k, l), i = !1;
693
+ o(a) {
694
+ D(r), i = !1;
685
695
  },
686
- d(l) {
687
- l && f(e), m && m.d(l), h && h.d(l), c && c.d(l), k && k.d(l), n[15](null);
696
+ d(a) {
697
+ a && k(e), r && r.d(), n[17](null);
688
698
  }
689
699
  };
690
700
  }
691
- function Le(n, e, t) {
692
- let a;
693
- le(n, me, (d) => t(6, a = d));
694
- let { $$slots: s = {}, $$scope: r } = e, { assetsurl: i = "" } = e, { lang: o = "en" } = e, { errorcode: u = "" } = e, { errormessage: m = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: b = "" } = e, { mbsource: y = "" } = e, c, L, E = -1, k;
695
- const l = () => {
696
- pe(o);
697
- }, g = () => V(this, null, function* () {
698
- if (b)
699
- try {
700
- const d = yield fetch(b);
701
- if (!d.ok)
702
- throw new Error(`HTTP error! status: ${d.status}`);
703
- const Q = yield d.json();
704
- Object.entries(Q).forEach(([$, ee]) => {
705
- N($, ee);
701
+ function Be(n, e, i) {
702
+ let r;
703
+ ce(n, fe, (d) => i(8, r = d));
704
+ let { $$slots: a = {}, $$scope: t } = e, { assetsurl: s = "" } = e, { lang: l = "en" } = e, { errorcode: u = "" } = e, { errormessage: _ = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: b = "" } = e, { mbsource: g = "" } = e, p, I, h = -1, o, c, S = !1;
705
+ const Q = () => {
706
+ Te(l);
707
+ }, $ = () => {
708
+ i(4, S = !0);
709
+ let d = b;
710
+ if (d)
711
+ return fetch(d).then((C) => C.json()).then((C) => {
712
+ Object.keys(C).forEach((R) => {
713
+ U(R, C[R]);
706
714
  });
707
- } catch (d) {
708
- console.error(d);
709
- }
710
- });
711
- Object.keys(U).forEach((d) => {
712
- N(d, U[d]);
715
+ }).catch((C) => {
716
+ console.log(C);
717
+ }).finally(() => {
718
+ i(4, S = !1);
719
+ });
720
+ };
721
+ Object.keys(H).forEach((d) => {
722
+ U(d, H[d]);
713
723
  });
714
- const Z = () => {
724
+ const ee = () => {
715
725
  window.postMessage({ type: "ErrorClose" }, window.location.href);
716
- }, x = (d) => {
726
+ }, V = (d) => {
717
727
  if (d.data)
718
728
  switch (d.data.type) {
719
729
  case "DepositWageringAmount":
720
- t(4, E = d.data.amount), t(5, k = d.data.currency);
730
+ i(5, h = d.data.amount), i(6, o = d.data.currency);
721
731
  break;
722
732
  }
733
+ }, te = () => {
734
+ i(7, c = r(`${u || "errorGeneralText"}`));
723
735
  };
724
- de(() => (window.addEventListener("message", x, !1), () => {
725
- window.removeEventListener("message", x);
736
+ me(() => (window.addEventListener("message", V, !1), () => {
737
+ window.removeEventListener("message", V);
726
738
  }));
727
- function X(d) {
728
- ce[d ? "unshift" : "push"](() => {
729
- c = d, t(3, c);
739
+ function ne(d) {
740
+ ge[d ? "unshift" : "push"](() => {
741
+ p = d, i(3, p);
730
742
  });
731
743
  }
732
744
  return n.$$set = (d) => {
733
- "assetsurl" in d && t(0, i = d.assetsurl), "lang" in d && t(8, o = d.lang), "errorcode" in d && t(1, u = d.errorcode), "errormessage" in d && t(2, m = d.errormessage), "clientstyling" in d && t(9, w = d.clientstyling), "clientstylingurl" in d && t(10, h = d.clientstylingurl), "translationurl" in d && t(11, b = d.translationurl), "mbsource" in d && t(12, y = d.mbsource), "$$scope" in d && t(13, r = d.$$scope);
745
+ "assetsurl" in d && i(0, s = d.assetsurl), "lang" in d && i(10, l = d.lang), "errorcode" in d && i(1, u = d.errorcode), "errormessage" in d && i(2, _ = d.errormessage), "clientstyling" in d && i(11, m = d.clientstyling), "clientstylingurl" in d && i(12, T = d.clientstylingurl), "translationurl" in d && i(13, b = d.translationurl), "mbsource" in d && i(14, g = d.mbsource), "$$scope" in d && i(15, t = d.$$scope);
734
746
  }, n.$$.update = () => {
735
747
  n.$$.dirty & /*lang*/
736
- 256 && o && l(), n.$$.dirty & /*clientstyling, customStylingContainer*/
737
- 520 && w && c && ge(c, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
738
- 1032 && h && c && he(c, h), n.$$.dirty & /*mbsource, customStylingContainer*/
739
- 4104 && y && c && ke(c, `${y}.Style`, L), n.$$.dirty & /*translationurl*/
740
- 2048 && b && g();
748
+ 1024 && l && Q(), n.$$.dirty & /*clientstyling, customStylingContainer*/
749
+ 2056 && m && p && pe(p, m), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
750
+ 4104 && T && p && ve(p, T), n.$$.dirty & /*mbsource, customStylingContainer*/
751
+ 16392 && g && p && be(p, `${g}.Style`, I), n.$$.dirty & /*translationurl*/
752
+ 8192 && b && $(), n.$$.dirty & /*isLoading*/
753
+ 16 && !S && te();
741
754
  }, [
742
- i,
755
+ s,
743
756
  u,
744
- m,
745
- c,
746
- E,
747
- k,
748
- a,
749
- Z,
750
- o,
751
- w,
757
+ _,
758
+ p,
759
+ S,
752
760
  h,
753
- b,
754
- y,
761
+ o,
762
+ c,
755
763
  r,
756
- s,
757
- X
764
+ ee,
765
+ l,
766
+ m,
767
+ T,
768
+ b,
769
+ g,
770
+ t,
771
+ a,
772
+ ne
758
773
  ];
759
774
  }
760
- class Ae extends re {
775
+ class Pe extends se {
761
776
  constructor(e) {
762
- super(), ae(
777
+ super(), oe(
763
778
  this,
764
779
  e,
765
- Le,
766
- De,
767
- se,
780
+ Be,
781
+ Se,
782
+ le,
768
783
  {
769
784
  assetsurl: 0,
770
- lang: 8,
785
+ lang: 10,
771
786
  errorcode: 1,
772
787
  errormessage: 2,
773
- clientstyling: 9,
774
- clientstylingurl: 10,
775
- translationurl: 11,
776
- mbsource: 12
788
+ clientstyling: 11,
789
+ clientstylingurl: 12,
790
+ translationurl: 13,
791
+ mbsource: 14
777
792
  },
778
- ve
793
+ we
779
794
  );
780
795
  }
781
796
  get assetsurl() {
782
797
  return this.$$.ctx[0];
783
798
  }
784
799
  set assetsurl(e) {
785
- this.$$set({ assetsurl: e }), z();
800
+ this.$$set({ assetsurl: e }), w();
786
801
  }
787
802
  get lang() {
788
- return this.$$.ctx[8];
803
+ return this.$$.ctx[10];
789
804
  }
790
805
  set lang(e) {
791
- this.$$set({ lang: e }), z();
806
+ this.$$set({ lang: e }), w();
792
807
  }
793
808
  get errorcode() {
794
809
  return this.$$.ctx[1];
795
810
  }
796
811
  set errorcode(e) {
797
- this.$$set({ errorcode: e }), z();
812
+ this.$$set({ errorcode: e }), w();
798
813
  }
799
814
  get errormessage() {
800
815
  return this.$$.ctx[2];
801
816
  }
802
817
  set errormessage(e) {
803
- this.$$set({ errormessage: e }), z();
818
+ this.$$set({ errormessage: e }), w();
804
819
  }
805
820
  get clientstyling() {
806
- return this.$$.ctx[9];
821
+ return this.$$.ctx[11];
807
822
  }
808
823
  set clientstyling(e) {
809
- this.$$set({ clientstyling: e }), z();
824
+ this.$$set({ clientstyling: e }), w();
810
825
  }
811
826
  get clientstylingurl() {
812
- return this.$$.ctx[10];
827
+ return this.$$.ctx[12];
813
828
  }
814
829
  set clientstylingurl(e) {
815
- this.$$set({ clientstylingurl: e }), z();
830
+ this.$$set({ clientstylingurl: e }), w();
816
831
  }
817
832
  get translationurl() {
818
- return this.$$.ctx[11];
833
+ return this.$$.ctx[13];
819
834
  }
820
835
  set translationurl(e) {
821
- this.$$set({ translationurl: e }), z();
836
+ this.$$set({ translationurl: e }), w();
822
837
  }
823
838
  get mbsource() {
824
- return this.$$.ctx[12];
839
+ return this.$$.ctx[14];
825
840
  }
826
841
  set mbsource(e) {
827
- this.$$set({ mbsource: e }), z();
842
+ this.$$set({ mbsource: e }), w();
828
843
  }
829
844
  }
830
- fe(Ae, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
845
+ ye(Pe, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
831
846
  export {
832
- Ae as default
847
+ Pe as default
833
848
  };