@everymatrix/cashier-method-details 1.67.3 → 1.68.0

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 (46) hide show
  1. package/components/{CashierConfirmModal-TYfPeOH8.js → CashierConfirmModal-3pkCHAVZ.js} +58 -58
  2. package/components/{CashierConfirmModal-CtBIJQDU.js → CashierConfirmModal-CNzEOcOZ.js} +70 -70
  3. package/components/{CashierConfirmModal-DEzuo7Bg.cjs → CashierConfirmModal-CiWxBakF.cjs} +2 -2
  4. package/components/{CashierError-DAcaCTnh.js → CashierError-DUTIaWmP.js} +825 -823
  5. package/components/CashierError-DtaTjZ6C.cjs +5 -0
  6. package/components/{CashierError-EAFVY5qI.js → CashierError-SVNe4t75.js} +824 -822
  7. package/components/{CashierHeader-D9WCrAoz.js → CashierHeader-8k60mA2q.js} +76 -76
  8. package/components/{CashierHeader-Kw5fWmBz.js → CashierHeader-B4YRoHAG.js} +76 -76
  9. package/components/CashierHeader-Bq8B4uSb.cjs +1 -0
  10. package/components/{CashierIframeRedirect-BQAhlkaI.js → CashierIframeRedirect-DKHsdD8g.js} +30 -30
  11. package/components/{CashierIframeRedirect-Yv44DFZI.cjs → CashierIframeRedirect-DbV2tAtA.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-7fOR1qxp.js → CashierIframeRedirect-ylBe6ICa.js} +32 -32
  13. package/components/{CashierMethodDetails-5690EN3D.cjs → CashierMethodDetails-B-I3u2Yv.cjs} +1 -1
  14. package/components/{CashierMethodDetails-CzFR99sw.js → CashierMethodDetails-ClB1W80Z.js} +262 -262
  15. package/components/{CashierMethodDetails-C7X4rcsK.js → CashierMethodDetails-DWnzcEZx.js} +264 -264
  16. package/components/{CashierModal-BQxHPHHb.js → CashierModal-Dv-7ZIuz.js} +34 -34
  17. package/components/{CashierModal-CLvDbc8q.js → CashierModal-PGQGrAgY.js} +34 -34
  18. package/components/{CashierModal-CdmVfVpE.cjs → CashierModal-yskXp9fE.cjs} +1 -1
  19. package/components/{CashierNotifications-BGYZu72b.js → CashierNotifications-BMYdcdkg.js} +19 -19
  20. package/components/{CashierNotifications-BukAUauv.cjs → CashierNotifications-C5Z_cNID.cjs} +1 -1
  21. package/components/{CashierNotifications-DEHoF_Sw.js → CashierNotifications-Dy0g_QWG.js} +19 -19
  22. package/components/{CashierReceiptPage-Drf4jWdb.cjs → CashierReceiptPage-B0VH4cLh.cjs} +1 -1
  23. package/components/{CashierReceiptPage-CVubZfF4.js → CashierReceiptPage-D8w-2Q8k.js} +28 -28
  24. package/components/{CashierReceiptPage-CBiJJaXe.js → CashierReceiptPage-DBTNKiQA.js} +28 -28
  25. package/components/{CashierSpinner-DQguiJs6.cjs → CashierSpinner-BdCzICuN.cjs} +1 -1
  26. package/components/{CashierSpinner-C5RZVcAb.js → CashierSpinner-C6y-LmOW.js} +17 -17
  27. package/components/{CashierSpinner-D8rNHX9t.js → CashierSpinner-Yt2VnUjd.js} +17 -17
  28. package/es2015/cashier-method-details.cjs +1 -1
  29. package/es2015/cashier-method-details.js +1 -1
  30. package/esnext/cashier-method-details.js +1 -1
  31. package/package.json +1 -1
  32. package/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
  33. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  34. package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
  35. package/stencil/{ui-image-B2ynFkLT.cjs → ui-image-CMb1eK44.cjs} +1 -1
  36. package/stencil/{ui-image-D7A7MInC.js → ui-image-CQQDA5b0.js} +1 -1
  37. package/stencil/{ui-image-D_Js9Evk.js → ui-image-CmwNU-jf.js} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  41. package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-B56t6kXT.js} +2 -2
  42. package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-BncuYpLi.js} +2 -2
  43. package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  44. package/components/CashierError-FggDiDx7.cjs +0 -18
  45. package/components/CashierHeader-Bq7mJnpK.cjs +0 -1
  46. package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
@@ -105,7 +105,7 @@ const ue = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis :
105
105
  // @ts-ignore Node typings have this
106
106
  global
107
107
  );
108
- function w(t, e) {
108
+ function C(t, e) {
109
109
  t.appendChild(e);
110
110
  }
111
111
  function Ot(t, e, n) {
@@ -130,7 +130,7 @@ function St(t) {
130
130
  return e.textContent = "/* empty */", yt(ot(t), e), e.sheet;
131
131
  }
132
132
  function yt(t, e) {
133
- return w(
133
+ return C(
134
134
  /** @type {Document} */
135
135
  t.head || t,
136
136
  e
@@ -222,7 +222,7 @@ function ye(t, e) {
222
222
  }
223
223
  )) : (s.src = "about:blank", s.onload = () => {
224
224
  r = V(s.contentWindow, "resize", e), e();
225
- }), w(t, s), () => {
225
+ }), C(t, s), () => {
226
226
  (i || r && s.contentWindow) && r(), N(s);
227
227
  };
228
228
  }
@@ -406,12 +406,12 @@ function ve(t, e, n, s) {
406
406
  easing: m = xt,
407
407
  tick: E = L,
408
408
  css: M
409
- } = r || Jt, C = {
409
+ } = r || Jt, b = {
410
410
  start: kt() + h,
411
411
  b: d
412
412
  };
413
- d || (C.group = v, v.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
414
- t.inert, t.inert = !0)), o || u ? u = C : (M && ($(), c = at(t, l, d, g, h, m, M)), d && E(0, 1), o = y(C, g), Q(() => tt(t, d, "start")), jt((a) => {
413
+ d || (b.group = v, v.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
414
+ t.inert, t.inert = !0)), o || u ? u = b : (M && ($(), c = at(t, l, d, g, h, m, M)), d && E(0, 1), o = y(b, g), Q(() => tt(t, d, "start")), jt((a) => {
415
415
  if (u && a > u.start && (o = y(u, g), u = null, tt(t, o.b, "start"), M && ($(), c = at(
416
416
  t,
417
417
  l,
@@ -424,8 +424,8 @@ function ve(t, e, n, s) {
424
424
  if (a >= o.end)
425
425
  E(l = o.b, 1 - l), tt(t, o.b, "end"), u || (o.b ? $() : --o.group.r || k(o.group.c)), o = null;
426
426
  else if (a >= o.start) {
427
- const b = a - o.start;
428
- l = o.a + o.d * m(b / o.duration), E(l, 1 - l);
427
+ const w = a - o.start;
428
+ l = o.a + o.d * m(w / o.duration), E(l, 1 - l);
429
429
  }
430
430
  }
431
431
  return !!(o || u);
@@ -731,7 +731,7 @@ function oe(t) {
731
731
  e = ct("svg"), n = ct("path"), _(n, "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"), _(n, "fill", "#111111"), _(e, "xmlns", "http://www.w3.org/2000/svg"), _(e, "width", "13"), _(e, "height", "20"), _(e, "viewBox", "0 0 13 13"), _(e, "fill", "none");
732
732
  },
733
733
  m(s, i) {
734
- rt(s, e, i), w(e, n);
734
+ rt(s, e, i), C(e, n);
735
735
  },
736
736
  p: L,
737
737
  d(s) {
@@ -777,13 +777,13 @@ function re(t) {
777
777
  /*$$scope*/
778
778
  t[5],
779
779
  ft
780
- ), C = M || oe();
780
+ ), b = M || oe();
781
781
  return {
782
782
  c() {
783
- e = x("div"), n = x("div"), s = x("div"), f && f.c(), i = X(), h && h.c(), r = X(), l = x("span"), m && m.c(), o = X(), u = x("span"), C.c(), _(l, "class", "ModalOkBtn"), _(l, "role", "button"), _(u, "class", "ModalCloseBtn"), _(u, "role", "button"), _(s, "class", "CashierModalContainer"), _(s, "part", "CashierModalContainer"), _(n, "class", "CashierModalWindow"), _(n, "part", "CashierModalWindow"), _(n, "id", "Modal"), _(e, "part", "CustomStylingContainer");
783
+ e = x("div"), n = x("div"), s = x("div"), f && f.c(), i = X(), h && h.c(), r = X(), l = x("span"), m && m.c(), o = X(), u = x("span"), b && b.c(), _(l, "class", "ModalOkBtn"), _(l, "role", "button"), _(u, "class", "ModalCloseBtn"), _(u, "role", "button"), _(s, "class", "CashierModalContainer"), _(s, "part", "CashierModalContainer"), _(n, "class", "CashierModalWindow"), _(n, "part", "CashierModalWindow"), _(n, "id", "Modal"), _(e, "part", "CustomStylingContainer");
784
784
  },
785
- m(a, b) {
786
- rt(a, e, b), w(e, n), w(n, s), f && f.m(s, null), w(s, i), h && h.m(s, null), w(s, r), w(s, l), m && m.m(l, null), w(s, o), w(s, u), C.m(u, null), t[7](e), c = !0, p || ($ = [
785
+ m(a, w) {
786
+ rt(a, e, w), C(e, n), C(n, s), f && f.m(s, null), C(s, i), h && h.m(s, null), C(s, r), C(s, l), m && m.m(l, null), C(s, o), C(s, u), b && b.m(u, null), t[7](e), c = !0, p || ($ = [
787
787
  V(
788
788
  l,
789
789
  "click",
@@ -798,8 +798,8 @@ function re(t) {
798
798
  )
799
799
  ], p = !0);
800
800
  },
801
- p(a, [b]) {
802
- f && f.p && (!c || b & /*$$scope*/
801
+ p(a, [w]) {
802
+ f && f.p && (!c || w & /*$$scope*/
803
803
  32) && H(
804
804
  f,
805
805
  y,
@@ -810,14 +810,14 @@ function re(t) {
810
810
  y,
811
811
  /*$$scope*/
812
812
  a[5],
813
- b,
813
+ w,
814
814
  ie
815
815
  ) : I(
816
816
  /*$$scope*/
817
817
  a[5]
818
818
  ),
819
819
  $t
820
- ), h && h.p && (!c || b & /*$$scope*/
820
+ ), h && h.p && (!c || w & /*$$scope*/
821
821
  32) && H(
822
822
  h,
823
823
  d,
@@ -828,14 +828,14 @@ function re(t) {
828
828
  d,
829
829
  /*$$scope*/
830
830
  a[5],
831
- b,
831
+ w,
832
832
  se
833
833
  ) : I(
834
834
  /*$$scope*/
835
835
  a[5]
836
836
  ),
837
837
  ht
838
- ), m && m.p && (!c || b & /*$$scope*/
838
+ ), m && m.p && (!c || w & /*$$scope*/
839
839
  32) && H(
840
840
  m,
841
841
  g,
@@ -846,14 +846,14 @@ function re(t) {
846
846
  g,
847
847
  /*$$scope*/
848
848
  a[5],
849
- b,
849
+ w,
850
850
  ne
851
851
  ) : I(
852
852
  /*$$scope*/
853
853
  a[5]
854
854
  ),
855
855
  dt
856
- ), M && M.p && (!c || b & /*$$scope*/
856
+ ), M && M.p && (!c || w & /*$$scope*/
857
857
  32) && H(
858
858
  M,
859
859
  E,
@@ -864,7 +864,7 @@ function re(t) {
864
864
  E,
865
865
  /*$$scope*/
866
866
  a[5],
867
- b,
867
+ w,
868
868
  ee
869
869
  ) : I(
870
870
  /*$$scope*/
@@ -874,13 +874,13 @@ function re(t) {
874
874
  );
875
875
  },
876
876
  i(a) {
877
- c || (P(f, a), P(h, a), P(m, a), P(C, a), c = !0);
877
+ c || (P(f, a), P(h, a), P(m, a), P(b, a), c = !0);
878
878
  },
879
879
  o(a) {
880
- F(f, a), F(h, a), F(m, a), F(C, a), c = !1;
880
+ F(f, a), F(h, a), F(m, a), F(b, a), c = !1;
881
881
  },
882
882
  d(a) {
883
- a && N(e), f && f.d(a), h && h.d(a), m && m.d(a), C.d(a), t[7](null), p = !1, k($);
883
+ a && N(e), f && f.d(a), h && h.d(a), m && m.d(a), b && b.d(a), t[7](null), p = !1, k($);
884
884
  }
885
885
  };
886
886
  }
@@ -949,51 +949,51 @@ const Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
949
949
  default: Ct
950
950
  }, Symbol.toStringTag, { value: "Module" }));
951
951
  export {
952
- V as A,
953
- Ce as B,
954
- et as C,
955
- ce as D,
956
- $e as E,
952
+ et as A,
953
+ V as B,
954
+ ce as C,
955
+ $e as D,
956
+ Zt as E,
957
957
  Q as F,
958
- we as G,
959
- ue as H,
960
- be as I,
961
- _e as J,
958
+ ue as G,
959
+ we as H,
960
+ _e as I,
961
+ be as J,
962
962
  Me as K,
963
- he as L,
964
- fe as M,
965
- pe as N,
966
- ct as O,
963
+ fe as L,
964
+ he as M,
965
+ ct as N,
966
+ pe as O,
967
967
  ge as P,
968
968
  xt as Q,
969
- ye as R,
969
+ ve as R,
970
970
  Xt as S,
971
- ve as T,
971
+ ye as T,
972
972
  Ee as U,
973
- Mt as a,
973
+ Lt as a,
974
974
  Qt as b,
975
- Zt as c,
976
- Ot as d,
977
- W as e,
975
+ Ot as c,
976
+ W as d,
977
+ N as e,
978
978
  Z as f,
979
- x as g,
980
- X as h,
979
+ P as g,
980
+ I as h,
981
981
  st as i,
982
- _ as j,
983
- rt as k,
984
- w as l,
985
- I as m,
982
+ D as j,
983
+ Ce as k,
984
+ xe as l,
985
+ rt as m,
986
986
  L as n,
987
- D as o,
988
- F as p,
989
- xe as q,
987
+ C as o,
988
+ x as p,
989
+ X as q,
990
990
  k as r,
991
- Lt as s,
992
- P as t,
991
+ Mt as s,
992
+ F as t,
993
993
  H as u,
994
- N as v,
994
+ _ as v,
995
995
  ae as w,
996
996
  de as x,
997
- bt as y,
998
- me as z
997
+ me as y,
998
+ bt as z
999
999
  };
@@ -10,7 +10,7 @@ var Y = (t, e, n) => e in t ? jt(t, e, { enumerable: !0, configurable: !0, writa
10
10
  Nt.call(e, n) && Y(t, n, e[n]);
11
11
  return t;
12
12
  }, ft = (t, e) => Ot(t, St(e));
13
- var w = (t, e, n) => (Y(t, typeof e != "symbol" ? e + "" : e, n), n);
13
+ var C = (t, e, n) => (Y(t, typeof e != "symbol" ? e + "" : e, n), n);
14
14
  var dt = (t, e, n) => new Promise((s, r) => {
15
15
  var i = (u) => {
16
16
  try {
@@ -134,7 +134,7 @@ const Ce = typeof window != "undefined" ? window : typeof globalThis != "undefin
134
134
  // @ts-ignore Node typings have this
135
135
  global
136
136
  );
137
- function C(t, e) {
137
+ function x(t, e) {
138
138
  t.appendChild(e);
139
139
  }
140
140
  function Ht(t, e, n) {
@@ -159,7 +159,7 @@ function It(t) {
159
159
  return e.textContent = "/* empty */", Mt(lt(t), e), e.sheet;
160
160
  }
161
161
  function Mt(t, e) {
162
- return C(
162
+ return x(
163
163
  /** @type {Document} */
164
164
  t.head || t,
165
165
  e
@@ -251,7 +251,7 @@ function Se(t, e) {
251
251
  }
252
252
  )) : (s.src = "about:blank", s.onload = () => {
253
253
  i = G(s.contentWindow, "resize", e), e();
254
- }), C(t, s), () => {
254
+ }), x(t, s), () => {
255
255
  (r || i && s.contentWindow) && i(), z(s);
256
256
  };
257
257
  }
@@ -435,12 +435,12 @@ function Be(t, e, n, s) {
435
435
  easing: m = zt,
436
436
  tick: L = k,
437
437
  css: E
438
- } = i || se, x = {
438
+ } = i || se, b = {
439
439
  start: Wt() + h,
440
440
  b: d
441
441
  };
442
- d || (x.group = M, M.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
443
- t.inert, t.inert = !0)), o || u ? u = x : (E && ($(), c = _t(t, l, d, g, h, m, E)), d && L(0, 1), o = y(x, g), Z(() => nt(t, d, "start")), Dt((a) => {
442
+ d || (b.group = M, M.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
443
+ t.inert, t.inert = !0)), o || u ? u = b : (E && ($(), c = _t(t, l, d, g, h, m, E)), d && L(0, 1), o = y(b, g), Z(() => nt(t, d, "start")), Dt((a) => {
444
444
  if (u && a > u.start && (o = y(u, g), u = null, nt(t, o.b, "start"), E && ($(), c = _t(
445
445
  t,
446
446
  l,
@@ -453,8 +453,8 @@ function Be(t, e, n, s) {
453
453
  if (a >= o.end)
454
454
  L(l = o.b, 1 - l), nt(t, o.b, "end"), u || (o.b ? $() : --o.group.r || j(o.group.c)), o = null;
455
455
  else if (a >= o.start) {
456
- const b = a - o.start;
457
- l = o.a + o.d * m(b / o.duration), L(l, 1 - l);
456
+ const w = a - o.start;
457
+ l = o.a + o.d * m(w / o.duration), L(l, 1 - l);
458
458
  }
459
459
  }
460
460
  return !!(o || u);
@@ -532,23 +532,23 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
532
532
  constructor(e, n, s) {
533
533
  super();
534
534
  /** The Svelte component constructor */
535
- w(this, "$$ctor");
535
+ C(this, "$$ctor");
536
536
  /** Slots */
537
- w(this, "$$s");
537
+ C(this, "$$s");
538
538
  /** The Svelte component instance */
539
- w(this, "$$c");
539
+ C(this, "$$c");
540
540
  /** Whether or not the custom element is connected */
541
- w(this, "$$cn", !1);
541
+ C(this, "$$cn", !1);
542
542
  /** Component props data */
543
- w(this, "$$d", {});
543
+ C(this, "$$d", {});
544
544
  /** `true` if currently in the process of reflecting component props back to attributes */
545
- w(this, "$$r", !1);
545
+ C(this, "$$r", !1);
546
546
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
547
- w(this, "$$p_d", {});
547
+ C(this, "$$p_d", {});
548
548
  /** @type {Record<string, Function[]>} Event listeners */
549
- w(this, "$$l", {});
549
+ C(this, "$$l", {});
550
550
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
551
- w(this, "$$l_u", /* @__PURE__ */ new Map());
551
+ C(this, "$$l_u", /* @__PURE__ */ new Map());
552
552
  this.$$ctor = e, this.$$s = n, s && this.attachShadow({ mode: "open" });
553
553
  }
554
554
  addEventListener(e, n, s) {
@@ -718,7 +718,7 @@ class ue {
718
718
  *
719
719
  * @type {any}
720
720
  */
721
- w(this, "$$");
721
+ C(this, "$$");
722
722
  /**
723
723
  * ### PRIVATE API
724
724
  *
@@ -726,7 +726,7 @@ class ue {
726
726
  *
727
727
  * @type {any}
728
728
  */
729
- w(this, "$$set");
729
+ C(this, "$$set");
730
730
  }
731
731
  /** @returns {void} */
732
732
  $destroy() {
@@ -768,7 +768,7 @@ function me(t) {
768
768
  e = $t("svg"), n = $t("path"), _(n, "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"), _(n, "fill", "#111111"), _(e, "xmlns", "http://www.w3.org/2000/svg"), _(e, "width", "13"), _(e, "height", "20"), _(e, "viewBox", "0 0 13 13"), _(e, "fill", "none");
769
769
  },
770
770
  m(s, r) {
771
- ct(s, e, r), C(e, n);
771
+ ct(s, e, r), x(e, n);
772
772
  },
773
773
  p: k,
774
774
  d(s) {
@@ -814,13 +814,13 @@ function pe(t) {
814
814
  /*$$scope*/
815
815
  t[5],
816
816
  pt
817
- ), x = E || me();
817
+ ), b = E || me();
818
818
  return {
819
819
  c() {
820
- e = v("div"), n = v("div"), s = v("div"), f && f.c(), r = tt(), h && h.c(), i = tt(), l = v("span"), m && m.c(), o = tt(), u = v("span"), x.c(), _(l, "class", "ModalOkBtn"), _(l, "role", "button"), _(u, "class", "ModalCloseBtn"), _(u, "role", "button"), _(s, "class", "CashierModalContainer"), _(s, "part", "CashierModalContainer"), _(n, "class", "CashierModalWindow"), _(n, "part", "CashierModalWindow"), _(n, "id", "Modal"), _(e, "part", "CustomStylingContainer");
820
+ e = v("div"), n = v("div"), s = v("div"), f && f.c(), r = tt(), h && h.c(), i = tt(), l = v("span"), m && m.c(), o = tt(), u = v("span"), b && b.c(), _(l, "class", "ModalOkBtn"), _(l, "role", "button"), _(u, "class", "ModalCloseBtn"), _(u, "role", "button"), _(s, "class", "CashierModalContainer"), _(s, "part", "CashierModalContainer"), _(n, "class", "CashierModalWindow"), _(n, "part", "CashierModalWindow"), _(n, "id", "Modal"), _(e, "part", "CustomStylingContainer");
821
821
  },
822
- m(a, b) {
823
- ct(a, e, b), C(e, n), C(n, s), f && f.m(s, null), C(s, r), h && h.m(s, null), C(s, i), C(s, l), m && m.m(l, null), C(s, o), C(s, u), x.m(u, null), t[7](e), c = !0, p || ($ = [
822
+ m(a, w) {
823
+ ct(a, e, w), x(e, n), x(n, s), f && f.m(s, null), x(s, r), h && h.m(s, null), x(s, i), x(s, l), m && m.m(l, null), x(s, o), x(s, u), b && b.m(u, null), t[7](e), c = !0, p || ($ = [
824
824
  G(
825
825
  l,
826
826
  "click",
@@ -835,8 +835,8 @@ function pe(t) {
835
835
  )
836
836
  ], p = !0);
837
837
  },
838
- p(a, [b]) {
839
- f && f.p && (!c || b & /*$$scope*/
838
+ p(a, [w]) {
839
+ f && f.p && (!c || w & /*$$scope*/
840
840
  32) && I(
841
841
  f,
842
842
  y,
@@ -847,14 +847,14 @@ function pe(t) {
847
847
  y,
848
848
  /*$$scope*/
849
849
  a[5],
850
- b,
850
+ w,
851
851
  _e
852
852
  ) : q(
853
853
  /*$$scope*/
854
854
  a[5]
855
855
  ),
856
856
  bt
857
- ), h && h.p && (!c || b & /*$$scope*/
857
+ ), h && h.p && (!c || w & /*$$scope*/
858
858
  32) && I(
859
859
  h,
860
860
  d,
@@ -865,14 +865,14 @@ function pe(t) {
865
865
  d,
866
866
  /*$$scope*/
867
867
  a[5],
868
- b,
868
+ w,
869
869
  $e
870
870
  ) : q(
871
871
  /*$$scope*/
872
872
  a[5]
873
873
  ),
874
874
  yt
875
- ), m && m.p && (!c || b & /*$$scope*/
875
+ ), m && m.p && (!c || w & /*$$scope*/
876
876
  32) && I(
877
877
  m,
878
878
  g,
@@ -883,14 +883,14 @@ function pe(t) {
883
883
  g,
884
884
  /*$$scope*/
885
885
  a[5],
886
- b,
886
+ w,
887
887
  he
888
888
  ) : q(
889
889
  /*$$scope*/
890
890
  a[5]
891
891
  ),
892
892
  gt
893
- ), E && E.p && (!c || b & /*$$scope*/
893
+ ), E && E.p && (!c || w & /*$$scope*/
894
894
  32) && I(
895
895
  E,
896
896
  L,
@@ -901,7 +901,7 @@ function pe(t) {
901
901
  L,
902
902
  /*$$scope*/
903
903
  a[5],
904
- b,
904
+ w,
905
905
  de
906
906
  ) : q(
907
907
  /*$$scope*/
@@ -911,13 +911,13 @@ function pe(t) {
911
911
  );
912
912
  },
913
913
  i(a) {
914
- c || (B(f, a), B(h, a), B(m, a), B(x, a), c = !0);
914
+ c || (B(f, a), B(h, a), B(m, a), B(b, a), c = !0);
915
915
  },
916
916
  o(a) {
917
- U(f, a), U(h, a), U(m, a), U(x, a), c = !1;
917
+ U(f, a), U(h, a), U(m, a), U(b, a), c = !1;
918
918
  },
919
919
  d(a) {
920
- a && z(e), f && f.d(a), h && h.d(a), m && m.d(a), x.d(a), t[7](null), p = !1, j($);
920
+ a && z(e), f && f.d(a), h && h.d(a), m && m.d(a), b && b.d(a), t[7](null), p = !1, j($);
921
921
  }
922
922
  };
923
923
  }
@@ -986,51 +986,51 @@ const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
986
986
  default: kt
987
987
  }, Symbol.toStringTag, { value: "Module" }));
988
988
  export {
989
- G as A,
990
- ze as B,
991
- st as C,
992
- be as D,
993
- Ee as E,
989
+ st as A,
990
+ G as B,
991
+ be as C,
992
+ Ee as D,
993
+ ce as E,
994
994
  Z as F,
995
- Ne as G,
996
- Ce as H,
997
- Ae as I,
998
- Le as J,
995
+ Ce as G,
996
+ Ne as H,
997
+ Le as I,
998
+ Ae as J,
999
999
  Te as K,
1000
- Me as L,
1001
- xe as M,
1002
- je as N,
1003
- $t as O,
1000
+ xe as L,
1001
+ Me as M,
1002
+ $t as N,
1003
+ je as O,
1004
1004
  Oe as P,
1005
1005
  zt as Q,
1006
- Se as R,
1006
+ Be as R,
1007
1007
  ue as S,
1008
- Be as T,
1008
+ Se as T,
1009
1009
  Re as U,
1010
- Bt as a,
1010
+ Rt as a,
1011
1011
  le as b,
1012
- ce as c,
1013
- Ht as d,
1014
- D as e,
1012
+ Ht as c,
1013
+ D as d,
1014
+ z as e,
1015
1015
  X as f,
1016
- v as g,
1017
- tt as h,
1016
+ B as g,
1017
+ q as h,
1018
1018
  ot as i,
1019
- _ as j,
1020
- ct as k,
1021
- C as l,
1022
- q as m,
1019
+ H as j,
1020
+ ze as k,
1021
+ Pe as l,
1022
+ ct as m,
1023
1023
  k as n,
1024
- H as o,
1025
- U as p,
1026
- Pe as q,
1024
+ x as o,
1025
+ v as p,
1026
+ tt as q,
1027
1027
  j as r,
1028
- Rt as s,
1029
- B as t,
1028
+ Bt as s,
1029
+ U as t,
1030
1030
  I as u,
1031
- z as v,
1031
+ _ as v,
1032
1032
  we as w,
1033
1033
  ve as x,
1034
- Et as y,
1035
- ke as z
1034
+ ke as y,
1035
+ Et as z
1036
1036
  };
@@ -1,4 +1,4 @@
1
- "use strict";var Bt=Object.defineProperty,Tt=Object.defineProperties;var Rt=Object.getOwnPropertyDescriptors;var ft=Object.getOwnPropertySymbols;var Wt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var it=(t,e,n)=>e in t?Bt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dt=(t,e)=>{for(var n in e||(e={}))Wt.call(e,n)&&it(t,n,e[n]);if(ft)for(var n of ft(e))qt.call(e,n)&&it(t,n,e[n]);return t},ht=(t,e)=>Tt(t,Rt(e));var w=(t,e,n)=>(it(t,typeof e!="symbol"?e+"":e,n),n);var _t=(t,e,n)=>new Promise((i,r)=>{var s=u=>{try{o(n.next(u))}catch(c){r(c)}},l=u=>{try{o(n.throw(u))}catch(c){r(c)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,l);o((n=n.apply(t,e)).next())});function L(){}const Ct=t=>t;function Dt(t,e){for(const n in e)t[n]=e[n];return t}function xt(t){return t()}function $t(){return Object.create(null)}function k(t){t.forEach(xt)}function et(t){return typeof t=="function"}function vt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let V;function Ht(t,e){return t===e?!0:(V||(V=document.createElement("a")),V.href=e,t===V.href)}function It(t){return Object.keys(t).length===0}function Mt(t,...e){if(t==null){for(const i of e)i(void 0);return L}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Ft(t,e,n){t.$$.on_destroy.push(Mt(e,n))}function T(t,e,n,i){if(t){const r=Et(t,e,n,i);return t[0](r)}}function Et(t,e,n,i){return t[1]&&i?Dt(n.ctx.slice(),t[1](i(e))):n.ctx}function R(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const s=[],l=Math.max(e.dirty.length,r.length);for(let o=0;o<l;o+=1)s[o]=e.dirty[o]|r[o];return s}return e.dirty|r}return e.dirty}function W(t,e,n,i,r,s){if(r){const l=Et(e,n,i,s);t.p(l,r)}}function q(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let i=0;i<n;i++)e[i]=-1;return e}return-1}const Lt=typeof window!="undefined";let Ut=Lt?()=>window.performance.now():()=>Date.now(),ct=Lt?t=>requestAnimationFrame(t):L;const N=new Set;function kt(t){N.forEach(e=>{e.c(t)||(N.delete(e),e.f())}),N.size!==0&&ct(kt)}function Jt(t){let e;return N.size===0&&ct(kt),{promise:new Promise(n=>{N.add(e={c:t,f:n})}),abort(){N.delete(e)}}}const Vt=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function C(t,e){t.appendChild(e)}function jt(t,e,n){const i=ut(t);if(!i.getElementById(e)){const r=x("style");r.id=e,r.textContent=n,Ot(i,r)}}function ut(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Zt(t){const e=x("style");return e.textContent="/* empty */",Ot(ut(t),e),e.sheet}function Ot(t,e){return C(t.head||t,e),e.sheet}function nt(t,e,n){t.insertBefore(e,n||null)}function O(t){t.parentNode&&t.parentNode.removeChild(t)}function Gt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function x(t){return document.createElement(t)}function rt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function at(t){return document.createTextNode(t)}function G(){return at(" ")}function Kt(){return at("")}function I(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function $(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Xt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:$(t,e,n)}function Yt(t){return t===""?null:+t}function te(t){return Array.from(t.childNodes)}function ee(t,e){e=""+e,t.data!==e&&(t.data=e)}function ne(t,e){t.value=e==null?"":e}function ie(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}let Z;function se(){if(Z===void 0){Z=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){Z=!0}}return Z}function oe(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const i=x("iframe");i.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),i.setAttribute("aria-hidden","true"),i.tabIndex=-1;const r=se();let s;return r?(i.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=I(window,"message",l=>{l.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{s=I(i.contentWindow,"resize",e),e()}),C(t,i),()=>{(r||s&&i.contentWindow)&&s(),O(i)}}function re(t,e,n){t.classList.toggle(e,!!n)}function le(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function ce(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}const X=new Map;let Y=0;function ue(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ae(t,e){const n={stylesheet:Zt(e),rules:{}};return X.set(t,n),n}function mt(t,e,n,i,r,s,l,o=0){const u=16.666/i;let c=`{
1
+ "use strict";var Bt=Object.defineProperty,Tt=Object.defineProperties;var Rt=Object.getOwnPropertyDescriptors;var ft=Object.getOwnPropertySymbols;var Wt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var it=(t,e,n)=>e in t?Bt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dt=(t,e)=>{for(var n in e||(e={}))Wt.call(e,n)&&it(t,n,e[n]);if(ft)for(var n of ft(e))qt.call(e,n)&&it(t,n,e[n]);return t},ht=(t,e)=>Tt(t,Rt(e));var C=(t,e,n)=>(it(t,typeof e!="symbol"?e+"":e,n),n);var _t=(t,e,n)=>new Promise((i,r)=>{var s=u=>{try{o(n.next(u))}catch(c){r(c)}},l=u=>{try{o(n.throw(u))}catch(c){r(c)}},o=u=>u.done?i(u.value):Promise.resolve(u.value).then(s,l);o((n=n.apply(t,e)).next())});function L(){}const Ct=t=>t;function Dt(t,e){for(const n in e)t[n]=e[n];return t}function xt(t){return t()}function $t(){return Object.create(null)}function k(t){t.forEach(xt)}function et(t){return typeof t=="function"}function vt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let V;function Ht(t,e){return t===e?!0:(V||(V=document.createElement("a")),V.href=e,t===V.href)}function It(t){return Object.keys(t).length===0}function Mt(t,...e){if(t==null){for(const i of e)i(void 0);return L}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Ft(t,e,n){t.$$.on_destroy.push(Mt(e,n))}function T(t,e,n,i){if(t){const r=Et(t,e,n,i);return t[0](r)}}function Et(t,e,n,i){return t[1]&&i?Dt(n.ctx.slice(),t[1](i(e))):n.ctx}function R(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const s=[],l=Math.max(e.dirty.length,r.length);for(let o=0;o<l;o+=1)s[o]=e.dirty[o]|r[o];return s}return e.dirty|r}return e.dirty}function W(t,e,n,i,r,s){if(r){const l=Et(e,n,i,s);t.p(l,r)}}function q(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let i=0;i<n;i++)e[i]=-1;return e}return-1}const Lt=typeof window!="undefined";let Ut=Lt?()=>window.performance.now():()=>Date.now(),ct=Lt?t=>requestAnimationFrame(t):L;const N=new Set;function kt(t){N.forEach(e=>{e.c(t)||(N.delete(e),e.f())}),N.size!==0&&ct(kt)}function Jt(t){let e;return N.size===0&&ct(kt),{promise:new Promise(n=>{N.add(e={c:t,f:n})}),abort(){N.delete(e)}}}const Vt=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function x(t,e){t.appendChild(e)}function jt(t,e,n){const i=ut(t);if(!i.getElementById(e)){const r=v("style");r.id=e,r.textContent=n,Ot(i,r)}}function ut(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Zt(t){const e=v("style");return e.textContent="/* empty */",Ot(ut(t),e),e.sheet}function Ot(t,e){return x(t.head||t,e),e.sheet}function nt(t,e,n){t.insertBefore(e,n||null)}function O(t){t.parentNode&&t.parentNode.removeChild(t)}function Gt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function v(t){return document.createElement(t)}function rt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function at(t){return document.createTextNode(t)}function G(){return at(" ")}function Kt(){return at("")}function I(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function $(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Xt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:$(t,e,n)}function Yt(t){return t===""?null:+t}function te(t){return Array.from(t.childNodes)}function ee(t,e){e=""+e,t.data!==e&&(t.data=e)}function ne(t,e){t.value=e==null?"":e}function ie(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}let Z;function se(){if(Z===void 0){Z=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){Z=!0}}return Z}function oe(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const i=v("iframe");i.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),i.setAttribute("aria-hidden","true"),i.tabIndex=-1;const r=se();let s;return r?(i.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=I(window,"message",l=>{l.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{s=I(i.contentWindow,"resize",e),e()}),x(t,i),()=>{(r||s&&i.contentWindow)&&s(),O(i)}}function re(t,e,n){t.classList.toggle(e,!!n)}function le(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function ce(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}const X=new Map;let Y=0;function ue(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ae(t,e){const n={stylesheet:Zt(e),rules:{}};return X.set(t,n),n}function mt(t,e,n,i,r,s,l,o=0){const u=16.666/i;let c=`{
2
2
  `;for(let g=0;g<=1;g+=u){const m=e+(n-e)*s(g);c+=g*100+`%{${l(m,1-m)}}
3
3
  `}const p=c+`100% {${l(n,1-n)}}
4
- }`,_=`__svelte_${ue(p)}_${o}`,y=ut(t),{stylesheet:f,rules:d}=X.get(y)||ae(y,t);d[_]||(d[_]=!0,f.insertRule(`@keyframes ${_} ${p}`,f.cssRules.length));const h=t.style.animation||"";return t.style.animation=`${h?`${h}, `:""}${_} ${i}ms linear ${r}ms 1 both`,Y+=1,_}function fe(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?s=>s.indexOf(e)<0:s=>s.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),Y-=r,Y||de())}function de(){ct(()=>{Y||(X.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&O(e)}),X.clear())})}let F;function H(t){F=t}function he(){if(!F)throw new Error("Function called outside component initialization");return F}function _e(t){he().$$.on_mount.push(t)}const A=[],tt=[];let P=[];const pt=[],$e=Promise.resolve();let lt=!1;function me(){lt||(lt=!0,$e.then(J))}function U(t){P.push(t)}const st=new Set;let S=0;function J(){if(S!==0)return;const t=F;do{try{for(;S<A.length;){const e=A[S];S++,H(e),pe(e.$$)}}catch(e){throw A.length=0,S=0,e}for(H(null),A.length=0,S=0;tt.length;)tt.pop()();for(let e=0;e<P.length;e+=1){const n=P[e];st.has(n)||(st.add(n),n())}P.length=0}while(A.length);for(;pt.length;)pt.pop()();lt=!1,st.clear(),H(t)}function pe(t){if(t.fragment!==null){t.update(),k(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(U)}}function ge(t){const e=[],n=[];P.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),P=e}let B;function ye(){return B||(B=Promise.resolve(),B.then(()=>{B=null})),B}function ot(t,e,n){t.dispatchEvent(le(`${e?"intro":"outro"}${n}`))}const K=new Set;let M;function be(){M={r:0,c:[],p:M}}function we(){M.r||k(M.c),M=M.p}function z(t,e){t&&t.i&&(K.delete(t),t.i(e))}function D(t,e,n,i){if(t&&t.o){if(K.has(t))return;K.add(t),M.c.push(()=>{K.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const Ce={duration:0};function xe(t,e,n,i){let s=e(t,n,{direction:"both"}),l=i?0:1,o=null,u=null,c=null,p;function _(){c&&fe(t,c)}function y(d,h){const g=d.b-l;return h*=Math.abs(g),{a:l,b:d.b,d:g,duration:h,start:d.start,end:d.start+h,group:d.group}}function f(d){const{delay:h=0,duration:g=300,easing:m=Ct,tick:j=L,css:E}=s||Ce,v={start:Ut()+h,b:d};d||(v.group=M,M.r+=1),"inert"in t&&(d?p!==void 0&&(t.inert=p):(p=t.inert,t.inert=!0)),o||u?u=v:(E&&(_(),c=mt(t,l,d,g,h,m,E)),d&&j(0,1),o=y(v,g),U(()=>ot(t,d,"start")),Jt(a=>{if(u&&a>u.start&&(o=y(u,g),u=null,ot(t,o.b,"start"),E&&(_(),c=mt(t,l,o.b,o.duration,0,m,s.css))),o){if(a>=o.end)j(l=o.b,1-l),ot(t,o.b,"end"),u||(o.b?_():--o.group.r||k(o.group.c)),o=null;else if(a>=o.start){const b=a-o.start;l=o.a+o.d*m(b/o.duration),j(l,1-l)}}return!!(o||u)}))}return{run(d){et(s)?ye().then(()=>{s=s({direction:d?"in":"out"}),f(d)}):f(d)},end(){_(),o=u=null}}}function ve(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Me(t,e,n){const{fragment:i,after_update:r}=t.$$;i&&i.m(e,n),U(()=>{const s=t.$$.on_mount.map(xt).filter(et);t.$$.on_destroy?t.$$.on_destroy.push(...s):k(s),t.$$.on_mount=[]}),r.forEach(U)}function Ee(t,e){const n=t.$$;n.fragment!==null&&(ge(n.after_update),k(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Le(t,e){t.$$.dirty[0]===-1&&(A.push(t),me(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function St(t,e,n,i,r,s,l=null,o=[-1]){const u=F;H(t);const c=t.$$={fragment:null,ctx:[],props:s,update:L,not_equal:r,bound:$t(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(u?u.$$.context:[])),callbacks:$t(),dirty:o,skip_bound:!1,root:e.target||u.$$.root};l&&l(c.root);let p=!1;if(c.ctx=n?n(t,e.props||{},(_,y,...f)=>{const d=f.length?f[0]:y;return c.ctx&&r(c.ctx[_],c.ctx[_]=d)&&(!c.skip_bound&&c.bound[_]&&c.bound[_](d),p&&Le(t,_)),y}):[],c.update(),p=!0,k(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){const _=te(e.target);c.fragment&&c.fragment.l(_),_.forEach(O)}else c.fragment&&c.fragment.c();e.intro&&z(t.$$.fragment),Me(t,e.target,e.anchor),J()}H(u)}let At;typeof HTMLElement=="function"&&(At=class extends HTMLElement{constructor(e,n,i){super();w(this,"$$ctor");w(this,"$$s");w(this,"$$c");w(this,"$$cn",!1);w(this,"$$d",{});w(this,"$$r",!1);w(this,"$$p_d",{});w(this,"$$l",{});w(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(e,n,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const r=this.$$c.$on(e,n);this.$$l_u.set(n,r)}super.addEventListener(e,n,i)}removeEventListener(e,n,i){if(super.removeEventListener(e,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return _t(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(s){return()=>{let l;return{c:function(){l=x("slot"),s!=="default"&&$(l,"name",s)},m:function(c,p){nt(c,l,p)},d:function(c){c&&O(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=ce(this);for(const s of this.$$s)s in i&&(n[s]=[e(s)]);for(const s of this.attributes){const l=this.$$g_p(s.name);l in this.$$d||(this.$$d[l]=Q(l,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ht(dt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const l=Q(s,this.$$d[s],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,l)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const s in this.$$l)for(const l of this.$$l[s]){const o=this.$$c.$on(s,l);this.$$l_u.set(l,o)}this.$$l={}}})}attributeChangedCallback(e,n,i){var r;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Q(e,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function Q(t,e,n,i){var s;const r=(s=n[t])==null?void 0:s.type;if(e=r==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!n[t])return e;if(i==="toAttribute")switch(r){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(r){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function zt(t,e,n,i,r,s){let l=class extends At{constructor(){super(t,n,r),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Object.keys(e).forEach(o=>{Object.defineProperty(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(u){var c;u=Q(o,u,e),this.$$d[o]=u,(c=this.$$c)==null||c.$set({[o]:u})}})}),i.forEach(o=>{Object.defineProperty(l.prototype,o,{get(){var u;return(u=this.$$c)==null?void 0:u[o]}})}),t.element=l,l}class Nt{constructor(){w(this,"$$");w(this,"$$set")}$destroy(){Ee(this,1),this.$destroy=L}$on(e,n){if(!et(n))return L;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!It(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ke);function je(t){jt(t,"svelte-1m890h5","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}")}const Oe=t=>({}),gt=t=>({}),Se=t=>({}),yt=t=>({}),Ae=t=>({}),bt=t=>({class:"CashierModalText"}),ze=t=>({}),wt=t=>({class:"CashierModalTitle"});function Ne(t){let e,n;return{c(){e=rt("svg"),n=rt("path"),$(n,"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"),$(n,"fill","#111111"),$(e,"xmlns","http://www.w3.org/2000/svg"),$(e,"width","13"),$(e,"height","20"),$(e,"viewBox","0 0 13 13"),$(e,"fill","none")},m(i,r){nt(i,e,r),C(e,n)},p:L,d(i){i&&O(e)}}}function Pe(t){let e,n,i,r,s,l,o,u,c,p,_;const y=t[6].title,f=T(y,t,t[5],wt),d=t[6].text,h=T(d,t,t[5],bt),g=t[6].confirm,m=T(g,t,t[5],yt),j=t[6].close,E=T(j,t,t[5],gt),v=E||Ne();return{c(){e=x("div"),n=x("div"),i=x("div"),f&&f.c(),r=G(),h&&h.c(),s=G(),l=x("span"),m&&m.c(),o=G(),u=x("span"),v.c(),$(l,"class","ModalOkBtn"),$(l,"role","button"),$(u,"class","ModalCloseBtn"),$(u,"role","button"),$(i,"class","CashierModalContainer"),$(i,"part","CashierModalContainer"),$(n,"class","CashierModalWindow"),$(n,"part","CashierModalWindow"),$(n,"id","Modal"),$(e,"part","CustomStylingContainer")},m(a,b){nt(a,e,b),C(e,n),C(n,i),f&&f.m(i,null),C(i,r),h&&h.m(i,null),C(i,s),C(i,l),m&&m.m(l,null),C(i,o),C(i,u),v.m(u,null),t[7](e),c=!0,p||(_=[I(l,"click",t[2]),I(u,"click",t[1])],p=!0)},p(a,[b]){f&&f.p&&(!c||b&32)&&W(f,y,a,a[5],c?R(y,a[5],b,ze):q(a[5]),wt),h&&h.p&&(!c||b&32)&&W(h,d,a,a[5],c?R(d,a[5],b,Ae):q(a[5]),bt),m&&m.p&&(!c||b&32)&&W(m,g,a,a[5],c?R(g,a[5],b,Se):q(a[5]),yt),E&&E.p&&(!c||b&32)&&W(E,j,a,a[5],c?R(j,a[5],b,Oe):q(a[5]),gt)},i(a){c||(z(f,a),z(h,a),z(m,a),z(v,a),c=!0)},o(a){D(f,a),D(h,a),D(m,a),D(v,a),c=!1},d(a){a&&O(e),f&&f.d(a),h&&h.d(a),m&&m.d(a),v.d(a),t[7](null),p=!1,k(_)}}}function Be(t,e,n){let{$$slots:i={},$$scope:r}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,o;const u=()=>{window.postMessage({type:"CloseModal"},window.location.href)},c=()=>{window.postMessage({type:"ConfirmModal"},window.location.href),u()},p=()=>{let f=document.createElement("style");f.innerHTML=s,o.appendChild(f)},_=()=>{let f=new URL(l),d=document.createElement("style");fetch(f.href).then(h=>h.text()).then(h=>{d.innerHTML=h,setTimeout(()=>{o.appendChild(d)},1)})};function y(f){tt[f?"unshift":"push"](()=>{o=f,n(0,o)})}return t.$$set=f=>{"clientstyling"in f&&n(3,s=f.clientstyling),"clientstylingurl"in f&&n(4,l=f.clientstylingurl),"$$scope"in f&&n(5,r=f.$$scope)},t.$$.update=()=>{t.$$.dirty&9&&s&&o&&p(),t.$$.dirty&17&&l&&o&&_()},[o,u,c,s,l,r,i,y]}class Pt extends Nt{constructor(e){super(),St(this,e,Be,Pe,vt,{clientstyling:3,clientstylingurl:4},je)}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),J()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),J()}}zt(Pt,{clientstyling:{},clientstylingurl:{}},["title","text","confirm","close"],[],!0);const Te=Object.freeze(Object.defineProperty({__proto__:null,default:Pt},Symbol.toStringTag,{value:"Module"}));exports.CashierConfirmModal_ce=Te;exports.SvelteComponent=Nt;exports.add_iframe_resize_listener=oe;exports.add_render_callback=U;exports.append=C;exports.append_styles=jt;exports.attr=$;exports.binding_callbacks=tt;exports.check_outros=we;exports.component_subscribe=Ft;exports.create_bidirectional_transition=xe;exports.create_custom_element=zt;exports.create_slot=T;exports.destroy_each=Gt;exports.detach=O;exports.element=x;exports.empty=Kt;exports.ensure_array_like=ve;exports.flush=J;exports.get_all_dirty_from_scope=q;exports.get_slot_changes=R;exports.globals=Vt;exports.group_outros=be;exports.identity=Ct;exports.init=St;exports.insert=nt;exports.is_function=et;exports.listen=I;exports.noop=L;exports.onMount=_e;exports.prevent_default=Qt;exports.run_all=k;exports.safe_not_equal=vt;exports.set_custom_element_data=Xt;exports.set_data=ee;exports.set_input_value=ne;exports.set_style=ie;exports.space=G;exports.src_url_equal=Ht;exports.subscribe=Mt;exports.svg_element=rt;exports.text=at;exports.to_number=Yt;exports.toggle_class=re;exports.transition_in=z;exports.transition_out=D;exports.update_slot_base=W;
4
+ }`,_=`__svelte_${ue(p)}_${o}`,y=ut(t),{stylesheet:f,rules:d}=X.get(y)||ae(y,t);d[_]||(d[_]=!0,f.insertRule(`@keyframes ${_} ${p}`,f.cssRules.length));const h=t.style.animation||"";return t.style.animation=`${h?`${h}, `:""}${_} ${i}ms linear ${r}ms 1 both`,Y+=1,_}function fe(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?s=>s.indexOf(e)<0:s=>s.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),Y-=r,Y||de())}function de(){ct(()=>{Y||(X.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&O(e)}),X.clear())})}let F;function H(t){F=t}function he(){if(!F)throw new Error("Function called outside component initialization");return F}function _e(t){he().$$.on_mount.push(t)}const A=[],tt=[];let P=[];const pt=[],$e=Promise.resolve();let lt=!1;function me(){lt||(lt=!0,$e.then(J))}function U(t){P.push(t)}const st=new Set;let S=0;function J(){if(S!==0)return;const t=F;do{try{for(;S<A.length;){const e=A[S];S++,H(e),pe(e.$$)}}catch(e){throw A.length=0,S=0,e}for(H(null),A.length=0,S=0;tt.length;)tt.pop()();for(let e=0;e<P.length;e+=1){const n=P[e];st.has(n)||(st.add(n),n())}P.length=0}while(A.length);for(;pt.length;)pt.pop()();lt=!1,st.clear(),H(t)}function pe(t){if(t.fragment!==null){t.update(),k(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(U)}}function ge(t){const e=[],n=[];P.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),P=e}let B;function ye(){return B||(B=Promise.resolve(),B.then(()=>{B=null})),B}function ot(t,e,n){t.dispatchEvent(le(`${e?"intro":"outro"}${n}`))}const K=new Set;let M;function be(){M={r:0,c:[],p:M}}function we(){M.r||k(M.c),M=M.p}function z(t,e){t&&t.i&&(K.delete(t),t.i(e))}function D(t,e,n,i){if(t&&t.o){if(K.has(t))return;K.add(t),M.c.push(()=>{K.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const Ce={duration:0};function xe(t,e,n,i){let s=e(t,n,{direction:"both"}),l=i?0:1,o=null,u=null,c=null,p;function _(){c&&fe(t,c)}function y(d,h){const g=d.b-l;return h*=Math.abs(g),{a:l,b:d.b,d:g,duration:h,start:d.start,end:d.start+h,group:d.group}}function f(d){const{delay:h=0,duration:g=300,easing:m=Ct,tick:j=L,css:E}=s||Ce,b={start:Ut()+h,b:d};d||(b.group=M,M.r+=1),"inert"in t&&(d?p!==void 0&&(t.inert=p):(p=t.inert,t.inert=!0)),o||u?u=b:(E&&(_(),c=mt(t,l,d,g,h,m,E)),d&&j(0,1),o=y(b,g),U(()=>ot(t,d,"start")),Jt(a=>{if(u&&a>u.start&&(o=y(u,g),u=null,ot(t,o.b,"start"),E&&(_(),c=mt(t,l,o.b,o.duration,0,m,s.css))),o){if(a>=o.end)j(l=o.b,1-l),ot(t,o.b,"end"),u||(o.b?_():--o.group.r||k(o.group.c)),o=null;else if(a>=o.start){const w=a-o.start;l=o.a+o.d*m(w/o.duration),j(l,1-l)}}return!!(o||u)}))}return{run(d){et(s)?ye().then(()=>{s=s({direction:d?"in":"out"}),f(d)}):f(d)},end(){_(),o=u=null}}}function ve(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Me(t,e,n){const{fragment:i,after_update:r}=t.$$;i&&i.m(e,n),U(()=>{const s=t.$$.on_mount.map(xt).filter(et);t.$$.on_destroy?t.$$.on_destroy.push(...s):k(s),t.$$.on_mount=[]}),r.forEach(U)}function Ee(t,e){const n=t.$$;n.fragment!==null&&(ge(n.after_update),k(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Le(t,e){t.$$.dirty[0]===-1&&(A.push(t),me(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function St(t,e,n,i,r,s,l=null,o=[-1]){const u=F;H(t);const c=t.$$={fragment:null,ctx:[],props:s,update:L,not_equal:r,bound:$t(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(u?u.$$.context:[])),callbacks:$t(),dirty:o,skip_bound:!1,root:e.target||u.$$.root};l&&l(c.root);let p=!1;if(c.ctx=n?n(t,e.props||{},(_,y,...f)=>{const d=f.length?f[0]:y;return c.ctx&&r(c.ctx[_],c.ctx[_]=d)&&(!c.skip_bound&&c.bound[_]&&c.bound[_](d),p&&Le(t,_)),y}):[],c.update(),p=!0,k(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){const _=te(e.target);c.fragment&&c.fragment.l(_),_.forEach(O)}else c.fragment&&c.fragment.c();e.intro&&z(t.$$.fragment),Me(t,e.target,e.anchor),J()}H(u)}let At;typeof HTMLElement=="function"&&(At=class extends HTMLElement{constructor(e,n,i){super();C(this,"$$ctor");C(this,"$$s");C(this,"$$c");C(this,"$$cn",!1);C(this,"$$d",{});C(this,"$$r",!1);C(this,"$$p_d",{});C(this,"$$l",{});C(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(e,n,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const r=this.$$c.$on(e,n);this.$$l_u.set(n,r)}super.addEventListener(e,n,i)}removeEventListener(e,n,i){if(super.removeEventListener(e,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return _t(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(s){return()=>{let l;return{c:function(){l=v("slot"),s!=="default"&&$(l,"name",s)},m:function(c,p){nt(c,l,p)},d:function(c){c&&O(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=ce(this);for(const s of this.$$s)s in i&&(n[s]=[e(s)]);for(const s of this.attributes){const l=this.$$g_p(s.name);l in this.$$d||(this.$$d[l]=Q(l,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ht(dt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const l=Q(s,this.$$d[s],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,l)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const s in this.$$l)for(const l of this.$$l[s]){const o=this.$$c.$on(s,l);this.$$l_u.set(l,o)}this.$$l={}}})}attributeChangedCallback(e,n,i){var r;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Q(e,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function Q(t,e,n,i){var s;const r=(s=n[t])==null?void 0:s.type;if(e=r==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!n[t])return e;if(i==="toAttribute")switch(r){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(r){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function zt(t,e,n,i,r,s){let l=class extends At{constructor(){super(t,n,r),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Object.keys(e).forEach(o=>{Object.defineProperty(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(u){var c;u=Q(o,u,e),this.$$d[o]=u,(c=this.$$c)==null||c.$set({[o]:u})}})}),i.forEach(o=>{Object.defineProperty(l.prototype,o,{get(){var u;return(u=this.$$c)==null?void 0:u[o]}})}),t.element=l,l}class Nt{constructor(){C(this,"$$");C(this,"$$set")}$destroy(){Ee(this,1),this.$destroy=L}$on(e,n){if(!et(n))return L;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!It(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ke);function je(t){jt(t,"svelte-1m890h5","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}")}const Oe=t=>({}),gt=t=>({}),Se=t=>({}),yt=t=>({}),Ae=t=>({}),bt=t=>({class:"CashierModalText"}),ze=t=>({}),wt=t=>({class:"CashierModalTitle"});function Ne(t){let e,n;return{c(){e=rt("svg"),n=rt("path"),$(n,"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"),$(n,"fill","#111111"),$(e,"xmlns","http://www.w3.org/2000/svg"),$(e,"width","13"),$(e,"height","20"),$(e,"viewBox","0 0 13 13"),$(e,"fill","none")},m(i,r){nt(i,e,r),x(e,n)},p:L,d(i){i&&O(e)}}}function Pe(t){let e,n,i,r,s,l,o,u,c,p,_;const y=t[6].title,f=T(y,t,t[5],wt),d=t[6].text,h=T(d,t,t[5],bt),g=t[6].confirm,m=T(g,t,t[5],yt),j=t[6].close,E=T(j,t,t[5],gt),b=E||Ne();return{c(){e=v("div"),n=v("div"),i=v("div"),f&&f.c(),r=G(),h&&h.c(),s=G(),l=v("span"),m&&m.c(),o=G(),u=v("span"),b&&b.c(),$(l,"class","ModalOkBtn"),$(l,"role","button"),$(u,"class","ModalCloseBtn"),$(u,"role","button"),$(i,"class","CashierModalContainer"),$(i,"part","CashierModalContainer"),$(n,"class","CashierModalWindow"),$(n,"part","CashierModalWindow"),$(n,"id","Modal"),$(e,"part","CustomStylingContainer")},m(a,w){nt(a,e,w),x(e,n),x(n,i),f&&f.m(i,null),x(i,r),h&&h.m(i,null),x(i,s),x(i,l),m&&m.m(l,null),x(i,o),x(i,u),b&&b.m(u,null),t[7](e),c=!0,p||(_=[I(l,"click",t[2]),I(u,"click",t[1])],p=!0)},p(a,[w]){f&&f.p&&(!c||w&32)&&W(f,y,a,a[5],c?R(y,a[5],w,ze):q(a[5]),wt),h&&h.p&&(!c||w&32)&&W(h,d,a,a[5],c?R(d,a[5],w,Ae):q(a[5]),bt),m&&m.p&&(!c||w&32)&&W(m,g,a,a[5],c?R(g,a[5],w,Se):q(a[5]),yt),E&&E.p&&(!c||w&32)&&W(E,j,a,a[5],c?R(j,a[5],w,Oe):q(a[5]),gt)},i(a){c||(z(f,a),z(h,a),z(m,a),z(b,a),c=!0)},o(a){D(f,a),D(h,a),D(m,a),D(b,a),c=!1},d(a){a&&O(e),f&&f.d(a),h&&h.d(a),m&&m.d(a),b&&b.d(a),t[7](null),p=!1,k(_)}}}function Be(t,e,n){let{$$slots:i={},$$scope:r}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,o;const u=()=>{window.postMessage({type:"CloseModal"},window.location.href)},c=()=>{window.postMessage({type:"ConfirmModal"},window.location.href),u()},p=()=>{let f=document.createElement("style");f.innerHTML=s,o.appendChild(f)},_=()=>{let f=new URL(l),d=document.createElement("style");fetch(f.href).then(h=>h.text()).then(h=>{d.innerHTML=h,setTimeout(()=>{o.appendChild(d)},1)})};function y(f){tt[f?"unshift":"push"](()=>{o=f,n(0,o)})}return t.$$set=f=>{"clientstyling"in f&&n(3,s=f.clientstyling),"clientstylingurl"in f&&n(4,l=f.clientstylingurl),"$$scope"in f&&n(5,r=f.$$scope)},t.$$.update=()=>{t.$$.dirty&9&&s&&o&&p(),t.$$.dirty&17&&l&&o&&_()},[o,u,c,s,l,r,i,y]}class Pt extends Nt{constructor(e){super(),St(this,e,Be,Pe,vt,{clientstyling:3,clientstylingurl:4},je)}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),J()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),J()}}zt(Pt,{clientstyling:{},clientstylingurl:{}},["title","text","confirm","close"],[],!0);const Te=Object.freeze(Object.defineProperty({__proto__:null,default:Pt},Symbol.toStringTag,{value:"Module"}));exports.CashierConfirmModal_ce=Te;exports.SvelteComponent=Nt;exports.add_iframe_resize_listener=oe;exports.add_render_callback=U;exports.append=x;exports.append_styles=jt;exports.attr=$;exports.binding_callbacks=tt;exports.check_outros=we;exports.component_subscribe=Ft;exports.create_bidirectional_transition=xe;exports.create_custom_element=zt;exports.create_slot=T;exports.destroy_each=Gt;exports.detach=O;exports.element=v;exports.empty=Kt;exports.ensure_array_like=ve;exports.flush=J;exports.get_all_dirty_from_scope=q;exports.get_slot_changes=R;exports.globals=Vt;exports.group_outros=be;exports.identity=Ct;exports.init=St;exports.insert=nt;exports.is_function=et;exports.listen=I;exports.noop=L;exports.onMount=_e;exports.prevent_default=Qt;exports.run_all=k;exports.safe_not_equal=vt;exports.set_custom_element_data=Xt;exports.set_data=ee;exports.set_input_value=ne;exports.set_style=ie;exports.space=G;exports.src_url_equal=Ht;exports.subscribe=Mt;exports.svg_element=rt;exports.text=at;exports.to_number=Yt;exports.toggle_class=re;exports.transition_in=z;exports.transition_out=D;exports.update_slot_base=W;