@everymatrix/cashier-page 1.99.19 → 1.99.21

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 (78) hide show
  1. package/components/CashierCarousel-BZ-i1EsX.js +732 -0
  2. package/components/CashierCarousel-CJAaHXXD.js +735 -0
  3. package/components/CashierCarousel-Cu_RNUHY.cjs +1 -0
  4. package/components/{CashierError-kl-Hjy3m.js → CashierError-4dP13hBI.js} +7 -6
  5. package/components/CashierError-D0mOIAnU.cjs +1 -0
  6. package/components/{CashierError-Dyxg1sq3.js → CashierError-GsEDSXtA.js} +7 -6
  7. package/components/CashierHeader-CK33wmWw.js +491 -0
  8. package/components/CashierHeader-DaUYq9lj.cjs +1 -0
  9. package/components/CashierHeader-gQMHuTqw.js +491 -0
  10. package/components/{CashierIframeRedirect-D5wLT4Ip.js → CashierIframeRedirect-BEsPx_Z8.js} +66 -81
  11. package/components/{CashierIframeRedirect-C_1-xORQ.js → CashierIframeRedirect-CKNMtdwW.js} +72 -87
  12. package/components/CashierIframeRedirect-D6UXTJnb.cjs +1 -0
  13. package/components/{CashierMethodDetails-BREpDnlu.js → CashierMethodDetails-6gecWa6-.js} +2845 -3270
  14. package/components/CashierMethodDetails-CSedTA6S.cjs +287 -0
  15. package/components/{CashierMethodDetails-Cob_AEyz.js → CashierMethodDetails-Di4M7A7s.js} +2982 -3407
  16. package/components/{CashierMethodsList-C1JyivW4.js → CashierMethodsList-CJqErGs4.js} +31 -31
  17. package/components/CashierMethodsList-Dd2UiVhS.cjs +1 -0
  18. package/components/{CashierMethodsList-DU64oEyD.js → CashierMethodsList-DxTcwp9y.js} +32 -32
  19. package/components/CashierModal-BAldCDjj.cjs +1 -0
  20. package/components/{CashierModal-Cpxd5bJQ.js → CashierModal-BmXXJZSw.js} +53 -52
  21. package/components/{CashierModal-C4PU5_PU.js → CashierModal-jptr1BjB.js} +35 -34
  22. package/components/CashierNotifications-BCksCjnd.cjs +1 -0
  23. package/components/{CashierNotifications-B-OQoaFK.js → CashierNotifications-DpUJKBKY.js} +27 -27
  24. package/components/{CashierNotifications-Bedwtk72.js → CashierNotifications-slqy0GL5.js} +29 -29
  25. package/components/CashierPage-9TlSv0Ys.js +10387 -0
  26. package/components/CashierPage-CRTe3srS.js +10334 -0
  27. package/components/CashierPage-GUVKpACj.cjs +23 -0
  28. package/components/{CashierReceiptPage-Bs1-A5oO.js → CashierReceiptPage-Bmki8Rgo.js} +87 -88
  29. package/components/{CashierReceiptPage-CKEro91e.js → CashierReceiptPage-CxEoywyO.js} +104 -105
  30. package/components/CashierReceiptPage-DU78zOm2.cjs +29 -0
  31. package/components/{CashierSessionExpirationModal-CePqbW5W.js → CashierSessionExpirationModal-0ZABOlrt.js} +82 -83
  32. package/components/{CashierSessionExpirationModal-CdSUe7hK.js → CashierSessionExpirationModal-DLzJHllv.js} +58 -59
  33. package/components/CashierSessionExpirationModal-ZVuwRFF3.cjs +2 -0
  34. package/components/{CashierSpinner-wvDbhkcq.js → CashierSpinner-Bic1yXPY.js} +15 -14
  35. package/components/CashierSpinner-D5xvgSGR.cjs +1 -0
  36. package/components/{CashierSpinner-D1qQLxEW.js → CashierSpinner-jlh3kLrw.js} +19 -18
  37. package/components/CashierStepUp-CitQkE0i.cjs +1 -0
  38. package/components/{CashierStepUp-8viDm0qd.js → CashierStepUp-g-G22Lc4.js} +105 -104
  39. package/components/{CashierStepUp-BJ3ojmDK.js → CashierStepUp-srh84KwL.js} +7 -6
  40. package/components/{CashierTransactionHistory-c3jwP7YJ.js → CashierTransactionHistory-CxMz_ono.js} +60 -61
  41. package/components/CashierTransactionHistory-CxxqOj18.cjs +1 -0
  42. package/components/{CashierTransactionHistory-C_HP2wr2.js → CashierTransactionHistory-yI8ncB6o.js} +60 -61
  43. package/components/CashierVerifications-BJloPP6f.cjs +1 -0
  44. package/components/{CashierVerifications-PeSLRi-g.js → CashierVerifications-CxFzWKAg.js} +137 -121
  45. package/components/{CashierVerifications-B8AtaT5B.js → CashierVerifications-DJsdsHJU.js} +141 -125
  46. package/components/{TxnStatusIcon-ipRjsjNx.js → TxnStatusIcon-B52lfQx_.js} +1 -1
  47. package/components/TxnStatusIcon-B_aOthN3.cjs +1 -0
  48. package/components/{TxnStatusIcon-CUxVvL_p.js → TxnStatusIcon-THzMx_aQ.js} +12 -12
  49. package/components/{TxnTypeIcons-B6Ue3pUq.js → TxnTypeIcons-BHrNWU9Q.js} +1 -1
  50. package/components/{TxnTypeIcons-CufWq1r7.js → TxnTypeIcons-DXAaJnwf.js} +1 -1
  51. package/components/TxnTypeIcons-NnRP_P64.cjs +1 -0
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-CUtNMhZV.js +0 -5858
  57. package/components/CashierCarousel-MBtvTbcb.cjs +0 -23
  58. package/components/CashierCarousel-Tx0f5-LG.js +0 -5896
  59. package/components/CashierError-C7eQzwUP.cjs +0 -1
  60. package/components/CashierHeader-BKcZqENP.js +0 -432
  61. package/components/CashierHeader-ByWJ_k92.cjs +0 -1
  62. package/components/CashierHeader-WI5T8myo.js +0 -432
  63. package/components/CashierIframeRedirect-EU2aPm8u.cjs +0 -1
  64. package/components/CashierMethodDetails-CYwLk7rR.cjs +0 -287
  65. package/components/CashierMethodsList-CcO-EerQ.cjs +0 -1
  66. package/components/CashierModal-BHWX0DmT.cjs +0 -1
  67. package/components/CashierNotifications-BRQYroR0.cjs +0 -1
  68. package/components/CashierPage-BgoraPRn.js +0 -4853
  69. package/components/CashierPage-BsAuSvEP.cjs +0 -1
  70. package/components/CashierPage-D9Eoq0xv.js +0 -4887
  71. package/components/CashierReceiptPage-DJG1aNbY.cjs +0 -29
  72. package/components/CashierSessionExpirationModal-ChfT0Imk.cjs +0 -2
  73. package/components/CashierSpinner-C1fzGsEh.cjs +0 -1
  74. package/components/CashierStepUp-V1DZKhrx.cjs +0 -1
  75. package/components/CashierTransactionHistory-Blt88-F-.cjs +0 -1
  76. package/components/CashierVerifications-CMRN3aAD.cjs +0 -1
  77. package/components/TxnStatusIcon-CL30ATPa.cjs +0 -1
  78. package/components/TxnTypeIcons-Cksp3nqd.cjs +0 -1
@@ -1,6 +1,5 @@
1
- import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as Z, c as kn, d as Me, t as Ae, e as ye, g as un, h as fn, j as Re, k as R, m as Ut, o as On, ag as Dn, n as $e, a3 as Nn, aa as Bt, N as zt, y as We, u as et, p as tt, q as nt, l as u, r as p, a8 as In, A as Je, Z as se, v as be, z as Ye, w as Ht, x as Pn, I as Ft, B as Gt, D as Un, E as Bn, F as zn, G as Hn, H as Fn } from "./CashierCarousel-Tx0f5-LG.js";
2
- import { f as Wt } from "./CashierPage-D9Eoq0xv.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-BREpDnlu.js";
1
+ import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as ye, a7 as un, a8 as fn, k as Re, m as R, p as Ut, M as Bt, N as On, q as Dn, a9 as Nn, d as $e, F as In, aa as zt, ab as Ht, H as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Pn, z as Ze, Q as se, n as be, w as Ye, R as Gt, x as Wt, r as Un, y as Yt, J as jt, A as Bn, B as zn } from "./CashierPage-9TlSv0Ys.js";
2
+ import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-gQMHuTqw.js";
4
3
  function Xt(n, t) {
5
4
  An(n, t);
6
5
  }
@@ -103,15 +102,15 @@ dt || (dt = function(t, i, o) {
103
102
  ht || (ht = function(t, i) {
104
103
  return new t(...i);
105
104
  });
106
- const Ke = J(Array.prototype.forEach), Zt = J(Array.prototype.pop), Be = J(Array.prototype.push), it = J(String.prototype.toLowerCase), ct = J(String.prototype.toString), Jt = J(String.prototype.match), ze = J(String.prototype.replace), Vn = J(String.prototype.indexOf), qn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), B = J(RegExp.prototype.test), He = Zn(TypeError);
107
- function J(n) {
105
+ const Ke = Z(Array.prototype.forEach), Jt = Z(Array.prototype.pop), Be = Z(Array.prototype.push), it = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Zt = Z(String.prototype.match), ze = Z(String.prototype.replace), Vn = Z(String.prototype.indexOf), qn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), B = Z(RegExp.prototype.test), He = Jn(TypeError);
106
+ function Z(n) {
108
107
  return function(t) {
109
108
  for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
110
109
  o[r - 1] = arguments[r];
111
110
  return dt(n, t, o);
112
111
  };
113
112
  }
114
- function Zn(n) {
113
+ function Jn(n) {
115
114
  return function() {
116
115
  for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
117
116
  i[o] = arguments[o];
@@ -132,7 +131,7 @@ function d(n, t) {
132
131
  }
133
132
  return n;
134
133
  }
135
- function Jn(n) {
134
+ function Zn(n) {
136
135
  for (let t = 0; t < n.length; t++)
137
136
  re(n, t) || (n[t] = null);
138
137
  return n;
@@ -140,7 +139,7 @@ function Jn(n) {
140
139
  function Le(n) {
141
140
  const t = pn(null);
142
141
  for (const [i, o] of mn(n))
143
- re(n, i) && (Array.isArray(o) ? t[i] = Jn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
142
+ re(n, i) && (Array.isArray(o) ? t[i] = Zn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
144
143
  return t;
145
144
  }
146
145
  function Fe(n, t) {
@@ -148,9 +147,9 @@ function Fe(n, t) {
148
147
  const o = Xn(n, t);
149
148
  if (o) {
150
149
  if (o.get)
151
- return J(o.get);
150
+ return Z(o.get);
152
151
  if (typeof o.value == "function")
153
- return J(o.value);
152
+ return Z(o.value);
154
153
  }
155
154
  n = jn(n);
156
155
  }
@@ -337,7 +336,7 @@ function gn() {
337
336
  } catch (s) {
338
337
  ae(e);
339
338
  }
340
- }, Ze = function(e, s) {
339
+ }, Je = function(e, s) {
341
340
  try {
342
341
  Be(t.removed, {
343
342
  attribute: s.getAttributeNode(e),
@@ -365,7 +364,7 @@ function gn() {
365
364
  if (C)
366
365
  e = "<remove></remove>" + e;
367
366
  else {
368
- const O = Jt(e, /^[\r\n\t ]+/);
367
+ const O = Zt(e, /^[\r\n\t ]+/);
369
368
  l = O && O[0];
370
369
  }
371
370
  Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
@@ -459,7 +458,7 @@ function gn() {
459
458
  }
460
459
  return !0;
461
460
  }, Dt = function(e) {
462
- return e !== "annotation-xml" && Jt(e, ve);
461
+ return e !== "annotation-xml" && Zt(e, ve);
463
462
  }, Nt = function(e) {
464
463
  Te("beforeSanitizeAttributes", e, null);
465
464
  const {
@@ -482,13 +481,13 @@ function gn() {
482
481
  } = N, Ue = k(O);
483
482
  let U = O === "value" ? pe : qn(pe);
484
483
  if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && B(/((--!?|])>)|<\/(style|title)/i, U)) {
485
- Ze(O, e);
484
+ Je(O, e);
486
485
  continue;
487
486
  }
488
- if (l.forceKeepAttr || (Ze(O, e), !l.keepAttr))
487
+ if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
489
488
  continue;
490
489
  if (!Y && B(/\/>/i, U)) {
491
- Ze(O, e);
490
+ Je(O, e);
492
491
  continue;
493
492
  }
494
493
  _e && Ke([ce, V, ge], (Pt) => {
@@ -496,7 +495,7 @@ function gn() {
496
495
  });
497
496
  const It = k(e.nodeName);
498
497
  if (Ot(It, Ue, U)) {
499
- if (_t && (Ue === "id" || Ue === "name") && (Ze(O, e), U = _n + U), g && typeof H == "object" && typeof H.getAttributeType == "function" && !j)
498
+ if (_t && (Ue === "id" || Ue === "name") && (Je(O, e), U = _n + U), g && typeof H == "object" && typeof H.getAttributeType == "function" && !j)
500
499
  switch (H.getAttributeType(It, Ue)) {
501
500
  case "TrustedHTML": {
502
501
  U = g.createHTML(U);
@@ -508,7 +507,7 @@ function gn() {
508
507
  }
509
508
  }
510
509
  try {
511
- j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) : Zt(t.removed);
510
+ j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) : Jt(t.removed);
512
511
  } catch (Pt) {
513
512
  }
514
513
  }
@@ -578,7 +577,7 @@ function gn() {
578
577
  typeof e == "function" && (v[c] = v[c] || [], Be(v[c], e));
579
578
  }, t.removeHook = function(c) {
580
579
  if (v[c])
581
- return Zt(v[c]);
580
+ return Jt(v[c]);
582
581
  }, t.removeHooks = function(c) {
583
582
  v[c] && (v[c] = []);
584
583
  }, t.removeAllHooks = function() {
@@ -635,36 +634,36 @@ function ln(n) {
635
634
  return D = ue(n), I = ee[D] = _e[D](n), {
636
635
  c() {
637
636
  t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), x = se("mask"), b = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = be(), F = Ye(H), we = be(), ae = R("div"), G = se("svg"), de = se("path"), K = be(), g = R("div"), S = R("div"), L && L.c(), ie = be(), h && h.c(), le = be(), Y && Y.c(), he = be(), W = R("div"), oe = R("button"), v = R("span"), V = Ye(ce), ge = be(), Q = R("button"), I.c(), u(b, "cx", "100"), u(b, "cy", "100"), u(b, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(x, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
638
- (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(S, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
637
+ (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(S, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ft(() => (
639
638
  /*div7_elementresize_handler*/
640
639
  n[25].call(t)
641
640
  ));
642
641
  },
643
642
  m(w, C) {
644
- Re(w, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, x), p(x, b), p(x, E), p(x, X), p(f, ne), p(r, Ce), p(r, F), p(o, we), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, S), L && L.m(S, null), p(S, ie), h && h.m(S, null), p(S, le), Y && Y.m(S, null), p(S, he), p(S, W), p(W, oe), p(oe, v), p(v, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](S), ve = In(
643
+ Re(w, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, x), p(x, b), p(x, E), p(x, X), p(f, ne), p(r, Ce), p(r, F), p(o, we), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, S), L && L.m(S, null), p(S, ie), h && h.m(S, null), p(S, le), Y && Y.m(S, null), p(S, he), p(S, W), p(W, oe), p(oe, v), p(v, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](S), ve = Pn(
645
644
  t,
646
645
  /*div7_elementresize_handler*/
647
646
  n[25].bind(t)
648
647
  ), m = !0, xe || (A = [
649
- Je(
648
+ Ze(
650
649
  G,
651
650
  "click",
652
651
  /*goToHome*/
653
652
  n[11]
654
653
  ),
655
- Je(
654
+ Ze(
656
655
  oe,
657
656
  "click",
658
657
  /*goToHome*/
659
658
  n[11]
660
659
  ),
661
- Je(
660
+ Ze(
662
661
  Q,
663
662
  "click",
664
663
  /*renewSession*/
665
664
  n[9]
666
665
  ),
667
- Je(
666
+ Ze(
668
667
  t,
669
668
  "click",
670
669
  /*outOfModalClick*/
@@ -742,21 +741,21 @@ function ln(n) {
742
741
  (n[6] ? "Disabled" : ""))) && u(Q, "class", $);
743
742
  },
744
743
  i(w) {
745
- m || (ye(L, w), ye(h, w), ye(Y, w), ye(I), w && zt(() => {
746
- m && (q || (q = Bt(t, Wt, { duration: (
744
+ m || (ye(L, w), ye(h, w), ye(Y, w), ye(I), w && Ft(() => {
745
+ m && (q || (q = zt(t, Ht, { duration: (
747
746
  /*duration*/
748
747
  n[2]
749
748
  ) }, !0)), q.run(1));
750
749
  }), m = !0);
751
750
  },
752
751
  o(w) {
753
- Ae(L, w), Ae(h, w), Ae(Y, w), Ae(I), w && (q || (q = Bt(t, Wt, { duration: (
752
+ Ae(L, w), Ae(h, w), Ae(Y, w), Ae(I), w && (q || (q = zt(t, Ht, { duration: (
754
753
  /*duration*/
755
754
  n[2]
756
755
  ) }, !1)), q.run(0)), m = !1;
757
756
  },
758
757
  d(w) {
759
- w && Me(t), L && L.d(w), h && h.d(w), Y && Y.d(w), ee[D].d(), n[24](null), ve(), w && q && q.end(), xe = !1, Nn(A);
758
+ w && Me(t), L && L.d(w), h && h.d(w), Y && Y.d(w), ee[D].d(), n[24](null), ve(), w && q && q.end(), xe = !1, In(A);
760
759
  }
761
760
  };
762
761
  }
@@ -764,7 +763,7 @@ function cn(n) {
764
763
  let t, i;
765
764
  return {
766
765
  c() {
767
- t = R("img"), Gt(t.src, i = `${/*assetsurl*/
766
+ t = R("img"), jt(t.src, i = `${/*assetsurl*/
768
767
  n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
769
768
  },
770
769
  m(o, r) {
@@ -772,7 +771,7 @@ function cn(n) {
772
771
  },
773
772
  p(o, r) {
774
773
  r[0] & /*assetsurl*/
775
- 8 && !Gt(t.src, i = `${/*assetsurl*/
774
+ 8 && !jt(t.src, i = `${/*assetsurl*/
776
775
  o[3]}/set-timeout-icon.png`) && u(t, "src", i);
777
776
  },
778
777
  d(o) {
@@ -787,7 +786,7 @@ function di(n) {
787
786
  );
788
787
  return {
789
788
  c() {
790
- i && i.c(), t = Pn();
789
+ i && i.c(), t = Un();
791
790
  },
792
791
  m(o, r) {
793
792
  i && i.m(o, r), Re(o, t, r);
@@ -905,8 +904,8 @@ function _i(n) {
905
904
  256 && _ !== (_ = /*$_*/
906
905
  b[8]("sessionExpirationLoadingButton") + "") && We(x, _);
907
906
  },
908
- i: Ft,
909
- o: Ft,
907
+ i: Yt,
908
+ o: Yt,
910
909
  d(b) {
911
910
  b && Me(t);
912
911
  }
@@ -967,9 +966,9 @@ function Ti(n) {
967
966
  const bi = 90;
968
967
  function yi(n, t, i) {
969
968
  let o, r;
970
- Ut(n, jt, (a) => i(21, o = a)), Ut(n, Fn, (a) => i(8, r = a));
969
+ Ut(n, Gt, (a) => i(21, o = a)), Ut(n, zn, (a) => i(8, r = a));
971
970
  let { $$slots: f = {}, $$scope: _ } = t;
972
- Yt.extend(Gn);
971
+ Bt.extend(On);
973
972
  let { clientstyling: x = "" } = t, { clientstylingurl: b = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: H = "en" } = t, { translationurl: F = "" } = t, { endpoint: we } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, S = !1, ie = !1, le, he, W, oe, v, ce;
974
973
  var V;
975
974
  (function(a) {
@@ -1007,7 +1006,7 @@ function yi(n, t, i) {
1007
1006
  if (ie)
1008
1007
  return;
1009
1008
  const a = new URL(`${we}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
1010
- i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
1009
+ i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Bt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
1011
1010
  const P = {
1012
1011
  method: "POST",
1013
1012
  mode: "cors",
@@ -1037,7 +1036,7 @@ function yi(n, t, i) {
1037
1036
  v = M.ResponseCode, $();
1038
1037
  return;
1039
1038
  }
1040
- M.XPaymentSessionToken && jt.set(M.XPaymentSessionToken);
1039
+ M.XPaymentSessionToken && Gt.set(M.XPaymentSessionToken);
1041
1040
  }).finally(() => i(6, ie = !1));
1042
1041
  }, q = (a) => {
1043
1042
  const h = a.currentTarget;
@@ -1059,13 +1058,13 @@ function yi(n, t, i) {
1059
1058
  const A = () => {
1060
1059
  Wn(H);
1061
1060
  };
1062
- On(() => (window.addEventListener("message", ge, !1), () => {
1061
+ Dn(() => (window.addEventListener("message", ge, !1), () => {
1063
1062
  window.removeEventListener("message", ge);
1064
- })), Dn(() => {
1063
+ })), Nn(() => {
1065
1064
  clearInterval(W);
1066
1065
  });
1067
1066
  function Se(a) {
1068
- Ht[a ? "unshift" : "push"](() => {
1067
+ Wt[a ? "unshift" : "push"](() => {
1069
1068
  g = a, i(4, g);
1070
1069
  });
1071
1070
  }
@@ -1073,7 +1072,7 @@ function yi(n, t, i) {
1073
1072
  E = this.clientWidth, X = this.clientHeight, i(0, E), i(1, X);
1074
1073
  }
1075
1074
  function L(a) {
1076
- Ht[a ? "unshift" : "push"](() => {
1075
+ Wt[a ? "unshift" : "push"](() => {
1077
1076
  g = a, i(4, g);
1078
1077
  });
1079
1078
  }
@@ -1083,9 +1082,9 @@ function yi(n, t, i) {
1083
1082
  n.$$.dirty[0] & /*$xPaymentSessionToken*/
1084
1083
  2097152 && I(o), n.$$.dirty[0] & /*lang*/
1085
1084
  16384 && H && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1086
- 4112 && x && g && Un(g, x), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1087
- 8208 && b && g && Bn(g, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1088
- 1048592 && K && g && zn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1085
+ 4112 && x && g && Hn(g, x), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1086
+ 8208 && b && g && Fn(g, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1087
+ 1048592 && K && g && Gn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1089
1088
  32768 && F && m();
1090
1089
  }, [
1091
1090
  E,
@@ -1148,82 +1147,82 @@ class wi extends Ln {
1148
1147
  return this.$$.ctx[12];
1149
1148
  }
1150
1149
  set clientstyling(t) {
1151
- this.$$set({ clientstyling: t }), Z();
1150
+ this.$$set({ clientstyling: t }), J();
1152
1151
  }
1153
1152
  get clientstylingurl() {
1154
1153
  return this.$$.ctx[13];
1155
1154
  }
1156
1155
  set clientstylingurl(t) {
1157
- this.$$set({ clientstylingurl: t }), Z();
1156
+ this.$$set({ clientstylingurl: t }), J();
1158
1157
  }
1159
1158
  get width() {
1160
1159
  return this.$$.ctx[0];
1161
1160
  }
1162
1161
  set width(t) {
1163
- this.$$set({ width: t }), Z();
1162
+ this.$$set({ width: t }), J();
1164
1163
  }
1165
1164
  get height() {
1166
1165
  return this.$$.ctx[1];
1167
1166
  }
1168
1167
  set height(t) {
1169
- this.$$set({ height: t }), Z();
1168
+ this.$$set({ height: t }), J();
1170
1169
  }
1171
1170
  get duration() {
1172
1171
  return this.$$.ctx[2];
1173
1172
  }
1174
1173
  set duration(t) {
1175
- this.$$set({ duration: t }), Z();
1174
+ this.$$set({ duration: t }), J();
1176
1175
  }
1177
1176
  get assetsurl() {
1178
1177
  return this.$$.ctx[3];
1179
1178
  }
1180
1179
  set assetsurl(t) {
1181
- this.$$set({ assetsurl: t }), Z();
1180
+ this.$$set({ assetsurl: t }), J();
1182
1181
  }
1183
1182
  get lang() {
1184
1183
  return this.$$.ctx[14];
1185
1184
  }
1186
1185
  set lang(t) {
1187
- this.$$set({ lang: t }), Z();
1186
+ this.$$set({ lang: t }), J();
1188
1187
  }
1189
1188
  get translationurl() {
1190
1189
  return this.$$.ctx[15];
1191
1190
  }
1192
1191
  set translationurl(t) {
1193
- this.$$set({ translationurl: t }), Z();
1192
+ this.$$set({ translationurl: t }), J();
1194
1193
  }
1195
1194
  get endpoint() {
1196
1195
  return this.$$.ctx[16];
1197
1196
  }
1198
1197
  set endpoint(t) {
1199
- this.$$set({ endpoint: t }), Z();
1198
+ this.$$set({ endpoint: t }), J();
1200
1199
  }
1201
1200
  get currency() {
1202
1201
  return this.$$.ctx[17];
1203
1202
  }
1204
1203
  set currency(t) {
1205
- this.$$set({ currency: t }), Z();
1204
+ this.$$set({ currency: t }), J();
1206
1205
  }
1207
1206
  get customerid() {
1208
1207
  return this.$$.ctx[18];
1209
1208
  }
1210
1209
  set customerid(t) {
1211
- this.$$set({ customerid: t }), Z();
1210
+ this.$$set({ customerid: t }), J();
1212
1211
  }
1213
1212
  get selectedpaymentmethodname() {
1214
1213
  return this.$$.ctx[19];
1215
1214
  }
1216
1215
  set selectedpaymentmethodname(t) {
1217
- this.$$set({ selectedpaymentmethodname: t }), Z();
1216
+ this.$$set({ selectedpaymentmethodname: t }), J();
1218
1217
  }
1219
1218
  get mbsource() {
1220
1219
  return this.$$.ctx[20];
1221
1220
  }
1222
1221
  set mbsource(t) {
1223
- this.$$set({ mbsource: t }), Z();
1222
+ this.$$set({ mbsource: t }), J();
1224
1223
  }
1225
1224
  }
1226
- Hn(wi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1225
+ Bn(wi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1227
1226
  export {
1228
1227
  wi as default
1229
1228
  };
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-GUVKpACj.cjs"),Ve=require("./CashierHeader-DaUYq9lj.cjs");function xt(i,n){e.addMessages(i,n)}function $t(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const wt={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d'expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"},da:{sessionExpirationHeader:"Sessionsadvarsel",sessionExpirationTitle:"Din session er ved at udløbe!",sessionExpirationGeneralText:"Din session afsluttes automatisk om <b>{second} sekunder</b>.",sessionExpirationGeneralButton:"Fortsæt session",sessionExpirationLoadingButton:"Behandler...",sessionExpirationEnd:"Afslut session"},de:{sessionExpirationHeader:"Sitzungswarnung",sessionExpirationTitle:"Ihre Sitzung läuft bald ab!",sessionExpirationGeneralText:"Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",sessionExpirationGeneralButton:"Sitzung fortsetzen",sessionExpirationLoadingButton:"Verarbeitung...",sessionExpirationEnd:"Sitzung beenden"},nl:{sessionExpirationHeader:"Sessiewaarschuwing",sessionExpirationTitle:"Uw sessie staat op het punt te verlopen!",sessionExpirationGeneralText:"Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",sessionExpirationGeneralButton:"Sessie voortzetten",sessionExpirationLoadingButton:"Verwerken...",sessionExpirationEnd:"Sessie beëindigen"},ru:{sessionExpirationHeader:"Предупреждение о сессии",sessionExpirationTitle:"Ваша сессия скоро завершится!",sessionExpirationGeneralText:"Ваша сессия автоматически завершится через <b>{second} секунд</b>.",sessionExpirationGeneralButton:"Продолжить сессию",sessionExpirationLoadingButton:"Обработка...",sessionExpirationEnd:"Завершить сессию"},az:{sessionExpirationHeader:"Sessiya Xəbərdarlığı",sessionExpirationTitle:"Sessiyanızın müddəti bitmək üzrədir!",sessionExpirationGeneralText:"Sessiyanız <b>{second} saniyə</b> ərzində avtomatik olaraq sona çatacaq.",sessionExpirationGeneralButton:"Sessiyaya davam et",sessionExpirationLoadingButton:"İcra olunur...",sessionExpirationEnd:"Sessiyanı sonlandır"}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:zt,setPrototypeOf:St,isFrozen:en,getPrototypeOf:tn,getOwnPropertyDescriptor:nn}=Object;let{freeze:U,seal:Q,create:Ht}=Object,{apply:$e,construct:et}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});$e||($e=function(n,o,s){return n.apply(o,s)});et||(et=function(n,o){return new n(...o)});const ze=V(Array.prototype.forEach),At=V(Array.prototype.pop),Me=V(Array.prototype.push),Fe=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),Ct=V(String.prototype.match),Re=V(String.prototype.replace),on=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),ke=rn(TypeError);function V(i){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return $e(i,n,s)}}function rn(i){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return et(i,o)}}function d(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fe;St&&St(i,null);let s=n.length;for(;s--;){let a=n[s];if(typeof a=="string"){const f=o(a);f!==a&&(en(n)||(n[s]=f),a=f)}i[a]=!0}return i}function an(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function ye(i){const n=Ht(null);for(const[o,s]of zt(i))ne(i,o)&&(Array.isArray(s)?n[o]=an(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=ye(s):n[o]=s);return n}function Oe(i,n){for(;i!==null;){const s=nn(i,n);if(s){if(s.get)return V(s.get);if(typeof s.value=="function")return V(s.value)}i=tn(i)}function o(){return null}return o}const vt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ln=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cn=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lt=U(["#text"]),Mt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Rt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),He=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),un=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fn=Q(/<%[\w\W]*|[\w\W]*%>/gm),pn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),mn=Q(/^aria-[\-\w]+$/),Ft=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hn=Q(/^(?:\w+script|data):/i),gn=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gt=Q(/^html$/i),_n=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var kt=Object.freeze({__proto__:null,MUSTACHE_EXPR:un,ERB_EXPR:fn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:mn,IS_ALLOWED_URI:Ft,IS_SCRIPT_OR_DATA:hn,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Gt,CUSTOM_ELEMENT:_n});const De={element:1,text:3,progressingInstruction:7,comment:8,document:9},En=function(){return typeof window=="undefined"?null:window},Tn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(s=o.getAttribute(a));const f="dompurify"+(s?"#"+s:"");try{return n.createPolicy(f,{createHTML(g){return g},createScriptURL(g){return g}})}catch(g){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Wt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:En();const n=u=>Wt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==De.document)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:x,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:B}=i,z=T.prototype,ge=Oe(z,"cloneNode"),ie=Oe(z,"remove"),H=Oe(z,"nextSibling"),ue=Oe(z,"childNodes"),q=Oe(z,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,w="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=s;let C={};n.isSupported=typeof zt=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:se,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:be}=kt;let{IS_ALLOWED_URI:X}=kt,p=null;const _e=d({},[...vt,...Ze,...Je,...Ke,...Lt]);let S=null;const Ee=d({},[...Mt,...Qe,...Rt,...He]);let E=Object.seal(Ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,m=!0,N=!0,L=!1,G=!0,de=!1,K=!0,re=!1,y=!1,A=!1,ae=!1,Ne=!1,Ie=!1,tt=!0,nt=!1;const jt="user-content-";let Ge=!0,Ce=!1,xe={},we=null;const it=d({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const st=d({},["audio","video","img","source","image","track"]);let We=null;const rt=d({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml";let Se=me,Ye=!1,je=null;const Xt=d({},[Pe,Ue,me],qe);let ve=null;const Vt=["application/xhtml+xml","text/html"],qt="text/html";let M=null,Ae=null;const Zt=o.createElement("form"),at=function(t){return t instanceof RegExp||t instanceof Function},Xe=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ae&&Ae===t)){if((!t||typeof t!="object")&&(t={}),t=ye(t),ve=Vt.indexOf(t.PARSER_MEDIA_TYPE)===-1?qt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Fe,p=ne(t,"ALLOWED_TAGS")?d({},t.ALLOWED_TAGS,M):_e,S=ne(t,"ALLOWED_ATTR")?d({},t.ALLOWED_ATTR,M):Ee,je=ne(t,"ALLOWED_NAMESPACES")?d({},t.ALLOWED_NAMESPACES,qe):Xt,We=ne(t,"ADD_URI_SAFE_ATTR")?d(ye(rt),t.ADD_URI_SAFE_ATTR,M):rt,ot=ne(t,"ADD_DATA_URI_TAGS")?d(ye(st),t.ADD_DATA_URI_TAGS,M):st,we=ne(t,"FORBID_CONTENTS")?d({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?d({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?d({},t.FORBID_ATTR,M):{},xe=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,m=t.ALLOW_ARIA_ATTR!==!1,N=t.ALLOW_DATA_ATTR!==!1,L=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,de=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,re=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ne=t.RETURN_DOM_FRAGMENT||!1,Ie=t.RETURN_TRUSTED_TYPE||!1,A=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,Ge=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Ft,Se=t.NAMESPACE||me,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),de&&(N=!1),Ne&&(ae=!0),xe&&(p=d({},Lt),S=[],xe.html===!0&&(d(p,vt),d(S,Mt)),xe.svg===!0&&(d(p,Ze),d(S,Qe),d(S,He)),xe.svgFilters===!0&&(d(p,Je),d(S,Qe),d(S,He)),xe.mathMl===!0&&(d(p,Ke),d(S,Rt),d(S,He))),t.ADD_TAGS&&(p===_e&&(p=ye(p)),d(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(S===Ee&&(S=ye(S)),d(S,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&d(We,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(we===it&&(we=ye(we)),d(we,t.FORBID_CONTENTS,M)),Ge&&(p["#text"]=!0),re&&d(p,["html","head","body"]),p.table&&(d(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,w=h.createHTML("")}else h===void 0&&(h=Tn(B,a)),h!==null&&typeof w=="string"&&(w=h.createHTML(""));U&&U(t),Ae=t}},lt=d({},["mi","mo","mn","ms","mtext"]),ct=d({},["foreignobject","annotation-xml"]),Jt=d({},["title","style","font","a","script"]),ut=d({},[...Ze,...Je,...ln]),ft=d({},[...Ke,...cn]),Kt=function(t){let r=q(t);(!r||!r.tagName)&&(r={namespaceURI:Se,tagName:"template"});const c=Fe(t.tagName),b=Fe(r.tagName);return je[t.namespaceURI]?t.namespaceURI===Ue?r.namespaceURI===me?c==="svg":r.namespaceURI===Pe?c==="svg"&&(b==="annotation-xml"||lt[b]):!!ut[c]:t.namespaceURI===Pe?r.namespaceURI===me?c==="math":r.namespaceURI===Ue?c==="math"&&ct[b]:!!ft[c]:t.namespaceURI===me?r.namespaceURI===Ue&&!ct[b]||r.namespaceURI===Pe&&!lt[b]?!1:!ft[c]&&(Jt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&je[t.namespaceURI]):!1},le=function(t){Me(n.removed,{element:t});try{q(t).removeChild(t)}catch(r){ie(t)}},Be=function(t,r){try{Me(n.removed,{attribute:r.getAttributeNode(t),from:r})}catch(c){Me(n.removed,{attribute:null,from:r})}if(r.removeAttribute(t),t==="is"&&!S[t])if(ae||Ne)try{le(r)}catch(c){}else try{r.setAttribute(t,"")}catch(c){}},pt=function(t){let r=null,c=null;if(A)t="<remove></remove>"+t;else{const R=Ct(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Se===me&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const b=h?h.createHTML(t):t;if(Se===me)try{r=new Te().parseFromString(b,ve)}catch(R){}if(!r||!r.documentElement){r=ee.createDocument(Se,"template",null);try{r.documentElement.innerHTML=Ye?w:b}catch(R){}}const O=r.body||r.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),Se===me?F.call(r,re?"html":"body")[0]:re?r.documentElement:O},dt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},mt=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},ht=function(t){return typeof x=="function"&&t instanceof x},he=function(t,r,c){C[t]&&ze(C[t],b=>{b.call(n,r,c,Ae)})},gt=function(t){let r=null;if(he("beforeSanitizeElements",t,null),mt(t))return le(t),!0;const c=M(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!ht(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===De.progressingInstruction||K&&t.nodeType===De.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Et(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(Ge&&!we[c]){const b=q(t)||t.parentNode,O=ue(t)||t.childNodes;if(O&&b){const R=O.length;for(let W=R-1;W>=0;--W){const ce=ge(O[W],!0);ce.__removalCount=(t.__removalCount||0)+1,b.insertBefore(ce,H(t))}}}return le(t),!0}return t instanceof T&&!Kt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(de&&t.nodeType===De.text&&(r=t.textContent,ze([se,j,pe],b=>{r=Re(r,b," ")}),t.textContent!==r&&(Me(n.removed,{element:t.cloneNode()}),t.textContent=r)),he("afterSanitizeElements",t,null),!1)},_t=function(t,r,c){if(tt&&(r==="id"||r==="name")&&(c in o||c in Zt))return!1;if(!(N&&!l[r]&&P(Z,r))){if(!(m&&P(k,r))){if(!S[r]||l[r]){if(!(Et(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,r)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(r))||r==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!We[r]){if(!P(X,Re(c,J,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&on(c,"data:")===0&&ot[t])){if(!(L&&!P(D,Re(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&Ct(t,be)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:r}=t;if(!r)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:S};let b=r.length;for(;b--;){const O=r[b],{name:R,namespaceURI:W,value:ce}=O,Le=M(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Le,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){Be(R,t);continue}if(c.forceKeepAttr||(Be(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){Be(R,t);continue}de&&ze([se,j,pe],yt=>{I=Re(I,yt," ")});const bt=M(t.nodeName);if(_t(bt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(Be(R,t),I=jt+I),h&&typeof B=="object"&&typeof B.getAttributeType=="function"&&!W)switch(B.getAttributeType(bt,Le)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),mt(t)?le(t):At(n.removed)}catch(yt){}}}he("afterSanitizeAttributes",t,null)},Qt=function u(t){let r=null;const c=dt(t);for(he("beforeSanitizeShadowDOM",t,null);r=c.nextNode();)he("uponSanitizeShadowNode",r,null),!gt(r)&&(r.content instanceof f&&u(r.content),Tt(r));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=null,c=null,b=null,O=null;if(Ye=!u,Ye&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw ke("dirty is not a string, aborting")}else throw ke("toString is not a function");if(!n.isSupported)return u;if(y||Xe(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=M(u.nodeName);if(!p[ce]||v[ce])throw ke("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof x)r=pt("<!---->"),c=r.ownerDocument.importNode(u,!0),c.nodeType===De.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?r=c:r.appendChild(c);else{if(!ae&&!de&&!re&&u.indexOf("<")===-1)return h&&Ie?h.createHTML(u):u;if(r=pt(u),!r)return ae?null:Ie?w:""}r&&A&&le(r.firstChild);const R=dt(Ce?u:r);for(;b=R.nextNode();)gt(b)||(b.content instanceof f&&Qt(b.content),Tt(b));if(Ce)return u;if(ae){if(Ne)for(O=fe.call(r.ownerDocument);r.firstChild;)O.appendChild(r.firstChild);else O=r;return(S.shadowroot||S.shadowrootmode)&&(O=te.call(s,O,!0)),O}let W=re?r.outerHTML:r.innerHTML;return re&&p["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&P(Gt,r.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+r.ownerDocument.doctype.name+`>
2
+ `+W),de&&ze([se,j,pe],ce=>{W=Re(W,ce," ")}),h&&Ie?h.createHTML(W):W},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xe(u),y=!0},n.clearConfig=function(){Ae=null,y=!1},n.isValidAttribute=function(u,t,r){Ae||Xe({});const c=M(u),b=M(t);return _t(c,b,r)},n.addHook=function(u,t){typeof t=="function"&&(C[u]=C[u]||[],Me(C[u],t))},n.removeHook=function(u){if(C[u])return At(C[u])},n.removeHooks=function(u){C[u]&&(C[u]=[])},n.removeAllHooks=function(){C={}},n}var Ot=Wt();function bn(i){e.append_styles(i,"svelte-1kjup2o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{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, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}')}const yn=i=>({}),Dt=i=>({}),xn=i=>({}),Nt=i=>({}),wn=i=>({}),It=i=>({}),Sn=i=>({}),Pt=i=>({class:"CashierSessionExpirationIcon"});function Ut(i){let n,o,s,a,f,g,x,T,_,Y,$,Te,B=i[8]("sessionExpirationHeader")+"",z,ge,ie,H,ue,q,h,w,ee,oe,fe,F,te,C,se=i[8]("sessionExpirationEnd")+"",j,pe,Z,k,D,J,be,X,p,_e,S;const Ee=i[23].icon,E=e.create_slot(Ee,i,i[22],Pt),v=E||An(i),l=i[23].title,m=e.create_slot(l,i,i[22],It),N=i[23].text,L=e.create_slot(N,i,i[22],Nt),G=L||Cn(i),de=[Ln,vn],K=[];function re(y,A){return y[6]?0:1}return k=re(i),D=K[k]=de[k](i),{c(){n=e.element("div"),o=e.element("div"),s=e.element("div"),a=e.element("div"),f=e.svg_element("svg"),g=e.svg_element("defs"),x=e.svg_element("mask"),T=e.svg_element("circle"),_=e.svg_element("rect"),Y=e.svg_element("circle"),$=e.svg_element("circle"),Te=e.space(),z=e.text(B),ge=e.space(),ie=e.element("div"),H=e.svg_element("svg"),ue=e.svg_element("path"),q=e.space(),h=e.element("div"),w=e.element("div"),v&&v.c(),ee=e.space(),m&&m.c(),oe=e.space(),G&&G.c(),fe=e.space(),F=e.element("div"),te=e.element("button"),C=e.element("span"),j=e.text(se),pe=e.space(),Z=e.element("button"),D.c(),e.attr(T,"cx","100"),e.attr(T,"cy","100"),e.attr(T,"r","90"),e.attr(_,"x","88"),e.attr(_,"y","40"),e.attr(_,"width","24"),e.attr(_,"height","80"),e.attr(_,"rx","12"),e.attr(_,"fill","black"),e.attr(Y,"cx","100"),e.attr(Y,"cy","150"),e.attr(Y,"r","14"),e.attr(Y,"fill","black"),e.attr(x,"id","exclamation-mask"),e.attr($,"cx","100"),e.attr($,"cy","100"),e.attr($,"r","90"),e.attr($,"mask","url(#exclamation-mask)"),e.attr(f,"viewBox","0 0 200 200"),e.attr(f,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"class","CashierSessionExpirationModalHeaderTitle"),e.attr(ue,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(H,"xmlns","http://www.w3.org/2000/svg"),e.attr(H,"viewBox","0 0 13 13"),e.attr(H,"fill","none"),e.attr(H,"class","CloseButton"),e.attr(ie,"class","ModalCloseIcon"),e.attr(s,"class","CashierSessionExpirationModalHeader"),e.attr(C,"class","CashierSessionExpirationButtonText"),e.attr(te,"type","button"),e.attr(te,"class","ModalButton Secondary"),e.attr(Z,"type","button"),e.attr(Z,"class",J="ModalButton Primary "+(i[6]?"Disabled":"")),e.attr(F,"class","ButtonsContainer"),e.attr(w,"class","CashierSessionExpiration"),e.attr(h,"class","CashierSessionExpirationModalContainer"),e.attr(o,"class","CashierSessionExpirationModalWrapper"),e.attr(n,"class","CashierSessionExpirationModalWindow"),e.attr(n,"id","CashierSessionExpirationModal"),e.add_render_callback(()=>i[25].call(n))},m(y,A){e.insert(y,n,A),e.append(n,o),e.append(o,s),e.append(s,a),e.append(a,f),e.append(f,g),e.append(g,x),e.append(x,T),e.append(x,_),e.append(x,Y),e.append(f,$),e.append(a,Te),e.append(a,z),e.append(s,ge),e.append(s,ie),e.append(ie,H),e.append(H,ue),e.append(o,q),e.append(o,h),e.append(h,w),v&&v.m(w,null),e.append(w,ee),m&&m.m(w,null),e.append(w,oe),G&&G.m(w,null),e.append(w,fe),e.append(w,F),e.append(F,te),e.append(te,C),e.append(C,j),e.append(F,pe),e.append(F,Z),K[k].m(Z,null),i[24](w),be=e.add_iframe_resize_listener(n,i[25].bind(n)),p=!0,_e||(S=[e.listen(H,"click",i[11]),e.listen(te,"click",i[11]),e.listen(Z,"click",i[9]),e.listen(n,"click",i[10])],_e=!0)},p(y,A){i=y,(!p||A[0]&256)&&B!==(B=i[8]("sessionExpirationHeader")+"")&&e.set_data(z,B),E?E.p&&(!p||A[0]&4194304)&&e.update_slot_base(E,Ee,i,i[22],p?e.get_slot_changes(Ee,i[22],A,Sn):e.get_all_dirty_from_scope(i[22]),Pt):v&&v.p&&(!p||A[0]&8)&&v.p(i,p?A:[-1,-1]),m&&m.p&&(!p||A[0]&4194304)&&e.update_slot_base(m,l,i,i[22],p?e.get_slot_changes(l,i[22],A,wn):e.get_all_dirty_from_scope(i[22]),It),L?L.p&&(!p||A[0]&4194304)&&e.update_slot_base(L,N,i,i[22],p?e.get_slot_changes(N,i[22],A,xn):e.get_all_dirty_from_scope(i[22]),Nt):G&&G.p&&(!p||A[0]&384)&&G.p(i,p?A:[-1,-1]),(!p||A[0]&256)&&se!==(se=i[8]("sessionExpirationEnd")+"")&&e.set_data(j,se);let ae=k;k=re(i),k===ae?K[k].p(i,A):(e.group_outros(),e.transition_out(K[ae],1,1,()=>{K[ae]=null}),e.check_outros(),D=K[k],D?D.p(i,A):(D=K[k]=de[k](i),D.c()),e.transition_in(D,1),D.m(Z,null)),(!p||A[0]&64&&J!==(J="ModalButton Primary "+(i[6]?"Disabled":"")))&&e.attr(Z,"class",J)},i(y){p||(e.transition_in(v,y),e.transition_in(m,y),e.transition_in(G,y),e.transition_in(D),y&&e.add_render_callback(()=>{p&&(X||(X=e.create_bidirectional_transition(n,e.fade,{duration:i[2]},!0)),X.run(1))}),p=!0)},o(y){e.transition_out(v,y),e.transition_out(m,y),e.transition_out(G,y),e.transition_out(D),y&&(X||(X=e.create_bidirectional_transition(n,e.fade,{duration:i[2]},!1)),X.run(0)),p=!1},d(y){y&&e.detach(n),v&&v.d(y),m&&m.d(y),G&&G.d(y),K[k].d(),i[24](null),be(),y&&X&&X.end(),_e=!1,e.run_all(S)}}}function Bt(i){let n,o;return{c(){n=e.element("img"),e.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||e.attr(n,"src",o),e.attr(n,"width","300px"),e.attr(n,"alt","error")},m(s,a){e.insert(s,n,a)},p(s,a){a[0]&8&&!e.src_url_equal(n.src,o=`${s[3]}/set-timeout-icon.png`)&&e.attr(n,"src",o)},d(s){s&&e.detach(n)}}}function An(i){let n,o=i[3]&&Bt(i);return{c(){o&&o.c(),n=e.empty()},m(s,a){o&&o.m(s,a),e.insert(s,n,a)},p(s,a){s[3]?o?o.p(s,a):(o=Bt(s),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(s){s&&e.detach(n),o&&o.d(s)}}}function Cn(i){let n,o,s=i[8]("sessionExpirationTitle")+"",a,f,g,x=Ot.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=e.element("span"),o=e.element("p"),a=e.text(s),f=e.space(),g=e.element("p"),e.attr(n,"class","CashierSessionExpirationText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,a),e.append(n,f),e.append(n,g),g.innerHTML=x},p(T,_){_[0]&256&&s!==(s=T[8]("sessionExpirationTitle")+"")&&e.set_data(a,s),_[0]&384&&x!==(x=Ot.sanitize(T[8]("sessionExpirationGeneralText",{values:{second:T[7]}}))+"")&&(g.innerHTML=x)},d(T){T&&e.detach(n)}}}function vn(i){let n;const o=i[23].button,s=e.create_slot(o,i,i[22],Dt),a=s||Mn(i);return{c(){a&&a.c()},m(f,g){a&&a.m(f,g),n=!0},p(f,g){s?s.p&&(!n||g[0]&4194304)&&e.update_slot_base(s,o,f,f[22],n?e.get_slot_changes(o,f[22],g,yn):e.get_all_dirty_from_scope(f[22]),Dt):a&&a.p&&(!n||g[0]&256)&&a.p(f,n?g:[-1,-1])},i(f){n||(e.transition_in(a,f),n=!0)},o(f){e.transition_out(a,f),n=!1},d(f){a&&a.d(f)}}}function Ln(i){let n,o,s,a,f,g=i[8]("sessionExpirationLoadingButton")+"",x;return{c(){n=e.element("div"),o=e.svg_element("svg"),s=e.svg_element("path"),a=e.space(),f=e.element("span"),x=e.text(g),e.attr(s,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),e.attr(s,"fill","white"),e.attr(o,"class","CashierSessionExpirationButtonSpinner"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","14"),e.attr(o,"viewBox","0 0 15 14"),e.attr(o,"fill","none"),e.attr(f,"class","CashierSessionExpirationButtonText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,s),e.append(n,a),e.append(n,f),e.append(f,x)},p(T,_){_[0]&256&&g!==(g=T[8]("sessionExpirationLoadingButton")+"")&&e.set_data(x,g)},i:e.noop,o:e.noop,d(T){T&&e.detach(n)}}}function Mn(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",s;return{c(){n=e.element("span"),s=e.text(o),e.attr(n,"class","CashierSessionExpirationButtonText")},m(a,f){e.insert(a,n,f),e.append(n,s)},p(a,f){f[0]&256&&o!==(o=a[8]("sessionExpirationGeneralButton")+"")&&e.set_data(s,o)},d(a){a&&e.detach(n)}}}function Rn(i){let n,o,s=i[5]&&Ut(i);return{c(){n=e.element("div"),s&&s.c()},m(a,f){e.insert(a,n,f),s&&s.m(n,null),i[26](n),o=!0},p(a,f){a[5]?s?(s.p(a,f),f[0]&32&&e.transition_in(s,1)):(s=Ut(a),s.c(),e.transition_in(s,1),s.m(n,null)):s&&(e.group_outros(),e.transition_out(s,1,1,()=>{s=null}),e.check_outros())},i(a){o||(e.transition_in(s),o=!0)},o(a){e.transition_out(s),o=!1},d(a){a&&e.detach(n),s&&s.d(),i[26](null)}}}const kn=90;function On(i,n,o){let s,a;e.component_subscribe(i,e.xPaymentSessionToken,l=>o(21,s=l)),e.component_subscribe(i,e.$format,l=>o(8,a=l));let{$$slots:f={},$$scope:g}=n;e.dayjs.extend(e.utc);let{clientstyling:x=""}=n,{clientstylingurl:T=""}=n,{width:_}=n,{height:Y}=n,{duration:$=200}=n,{assetsurl:Te=""}=n,{lang:B="en"}=n,{translationurl:z=""}=n,{endpoint:ge}=n,{currency:ie}=n,{customerid:H}=n,{selectedpaymentmethodname:ue}=n,{mbsource:q=""}=n,h,w=!1,ee=!1,oe,fe,F,te,C,se;var j;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(j||(j={}));const pe=l=>{l.data.type==="StartSessionCountdown"&&(te=l.data.paymentMethodName)},Z=l=>{try{return JSON.parse(atob(l.split(".")[1]))}catch(m){return null}},k=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:C},window.location.href)},D=l=>{o(5,w=!1);const m=Z(l);m&&(fe=m==null?void 0:m.exp,o(7,oe=fe),F&&clearInterval(F),F=setInterval(()=>{const N=Math.floor(new Date().getTime()/1e3);o(7,oe=fe-N),oe<=kn&&o(5,w=!0),N>=fe&&(J(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},J=()=>{o(7,oe=0),o(5,w=!1),clearInterval(F)},be=()=>{if(ee)return;const l=new URL(`${ge}/v1/player/${H}/payment/GetPaymentMethod`),m=new Headers;o(6,ee=!0),m.append("accept","application/json"),m.append("Content-Type","application/json"),m.append("X-Client-Request-Timestamp",e.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const N={method:"POST",mode:"cors",headers:m,body:JSON.stringify({PaymentMethodName:te||ue,Currency:ie,XPaymentSessionToken:s})};fetch(l,N).then(L=>L.json()).then(L=>{if(L.error){window.postMessage({type:"ShowSessionError",error:L.error},window.location.href),J();return}if(L.ResponseCode===j.PlayerSessionIsNotValid||L.ResponseCode===j.JwtTokenError){C=L.ResponseCode,J(),k();return}if(L.ResponseCode!==j.Success){C=L.ResponseCode,J();return}L.XPaymentSessionToken&&e.xPaymentSessionToken.set(L.XPaymentSessionToken)}).finally(()=>o(6,ee=!1))},X=l=>{const m=l.currentTarget;l.target===m&&be()},p=()=>{fetch(z).then(m=>m.json()).then(m=>{Object.keys(m).forEach(N=>{xt(N,m[N])})}).catch(m=>{console.log(m)})},_e=()=>{window.postMessage({type:"Cashier:goToHome"},window.location.href),o(5,w=!1)};Object.keys(wt).forEach(l=>{xt(l,wt[l])});const S=()=>{$t(B)};e.onMount(()=>(window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe)})),e.onDestroy(()=>{clearInterval(F)});function Ee(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}function E(){_=this.clientWidth,Y=this.clientHeight,o(0,_),o(1,Y)}function v(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}return i.$$set=l=>{"clientstyling"in l&&o(12,x=l.clientstyling),"clientstylingurl"in l&&o(13,T=l.clientstylingurl),"width"in l&&o(0,_=l.width),"height"in l&&o(1,Y=l.height),"duration"in l&&o(2,$=l.duration),"assetsurl"in l&&o(3,Te=l.assetsurl),"lang"in l&&o(14,B=l.lang),"translationurl"in l&&o(15,z=l.translationurl),"endpoint"in l&&o(16,ge=l.endpoint),"currency"in l&&o(17,ie=l.currency),"customerid"in l&&o(18,H=l.customerid),"selectedpaymentmethodname"in l&&o(19,ue=l.selectedpaymentmethodname),"mbsource"in l&&o(20,q=l.mbsource),"$$scope"in l&&o(22,g=l.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&2097152&&D(s),i.$$.dirty[0]&16384&&B&&S(),i.$$.dirty[0]&4112&&x&&h&&Ve.setClientStyling(h,x),i.$$.dirty[0]&8208&&T&&h&&Ve.setClientStylingURL(h,T),i.$$.dirty[0]&1048592&&q&&h&&Ve.setStreamStyling(h,`${q}.Style`,se),i.$$.dirty[0]&32768&&z&&p()},[_,Y,$,Te,h,w,ee,oe,a,be,X,_e,x,T,B,z,ge,ie,H,ue,q,s,g,f,Ee,E,v]}class Yt extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,On,Rn,e.safe_not_equal,{clientstyling:12,clientstylingurl:13,width:0,height:1,duration:2,assetsurl:3,lang:14,translationurl:15,endpoint:16,currency:17,customerid:18,selectedpaymentmethodname:19,mbsource:20},bn,[-1,-1])}get clientstyling(){return this.$$.ctx[12]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),e.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),e.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),e.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(n){this.$$set({lang:n}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get endpoint(){return this.$$.ctx[16]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get currency(){return this.$$.ctx[17]}set currency(n){this.$$set({currency:n}),e.flush()}get customerid(){return this.$$.ctx[18]}set customerid(n){this.$$set({customerid:n}),e.flush()}get selectedpaymentmethodname(){return this.$$.ctx[19]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}}e.create_custom_element(Yt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=Yt;
@@ -1,8 +1,9 @@
1
- import { S as d, b as f, s as m, f as o, c as y, I as c, d as g, j as p, k, l as b, o as S, w as x, D as w, E as v, F as _, G as C } from "./CashierCarousel-Tx0f5-LG.js";
2
- function j(e) {
3
- y(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
- }
1
+ import { S as f, b as h, s as y, f as o, d, z as c, g, l as p, n as k, p as b, r as S, y as x, c as v } from "./CashierPage-CRTe3srS.js";
2
+ import { s as w, a as _, b as C } from "./CashierHeader-CK33wmWw.js";
5
3
  function z(e) {
4
+ d(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
5
+ }
6
+ function j(e) {
6
7
  let t;
7
8
  return {
8
9
  c() {
@@ -23,7 +24,7 @@ function L(e, t, i) {
23
24
  let { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l = "" } = t, s, u;
24
25
  S(() => () => {
25
26
  });
26
- function h(n) {
27
+ function m(n) {
27
28
  x[n ? "unshift" : "push"](() => {
28
29
  s = n, i(0, s);
29
30
  });
@@ -33,24 +34,24 @@ function L(e, t, i) {
33
34
  }, e.$$.update = () => {
34
35
  e.$$.dirty & /*clientstyling, customStylingContainer*/
35
36
  3 && r && s && w(s, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
- 5 && a && s && v(s, a), e.$$.dirty & /*mbsource, customStylingContainer*/
37
- 9 && l && s && _(s, `${l}.Style`, u);
38
- }, [s, r, a, l, h];
37
+ 5 && a && s && _(s, a), e.$$.dirty & /*mbsource, customStylingContainer*/
38
+ 9 && l && s && C(s, `${l}.Style`, u);
39
+ }, [s, r, a, l, m];
39
40
  }
40
- class M extends d {
41
+ class M extends f {
41
42
  constructor(t) {
42
- super(), f(
43
+ super(), h(
43
44
  this,
44
45
  t,
45
46
  L,
46
- z,
47
- m,
47
+ j,
48
+ y,
48
49
  {
49
50
  clientstyling: 1,
50
51
  clientstylingurl: 2,
51
52
  mbsource: 3
52
53
  },
53
- j
54
+ z
54
55
  );
55
56
  }
56
57
  get clientstyling() {
@@ -72,7 +73,7 @@ class M extends d {
72
73
  this.$$set({ mbsource: t }), o();
73
74
  }
74
75
  }
75
- C(M, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
76
+ v(M, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
76
77
  export {
77
78
  M as default
78
79
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-GUVKpACj.cjs"),c=require("./CashierHeader-DaUYq9lj.cjs");function y(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function f(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function m(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i,h;t.onMount(()=>()=>{});function d(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&c.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&c.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&c.setStreamStyling(i,`${a}.Style`,h)},[i,l,o,a,d]}class u extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,m,f,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(u,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=u;