@everymatrix/cashier-page 1.63.2 → 1.64.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 (70) hide show
  1. package/components/{CashierConfirmModal-sI8AKckC.js → CashierConfirmModal-4RYp7Eiq.js} +285 -304
  2. package/components/CashierConfirmModal-DMmJumcl.cjs +4 -0
  3. package/components/{CashierConfirmModal-D-5CwHBA.js → CashierConfirmModal-untxGhsx.js} +152 -171
  4. package/components/{CashierError-ChvIhij4.cjs → CashierError-BD3PpAT9.cjs} +3 -3
  5. package/components/{CashierError-7Ot8GFHL.js → CashierError-DHzuwwQu.js} +4 -3
  6. package/components/{CashierError-Dcf1i1i-.js → CashierError-bKWdh6zs.js} +4 -3
  7. package/components/{CashierHeader-DnmOCyY5.js → CashierHeader-BDMjFf0S.js} +2 -2
  8. package/components/{CashierHeader-Btl5G1aW.js → CashierHeader-C85_EOkn.js} +2 -2
  9. package/components/{CashierHeader-xBZmd3xD.cjs → CashierHeader-DUIiJ1ma.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-iRpGhBuO.js → CashierIframeRedirect-BZxYVcmF.js} +4 -4
  11. package/components/{CashierIframeRedirect-lBzX1iUX.cjs → CashierIframeRedirect-C3fjCJfm.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-_jhy32eh.js → CashierIframeRedirect-CptFS2B0.js} +4 -4
  13. package/components/{CashierMethodDetails-DatXAL1v.js → CashierMethodDetails-B8ZN94ja.js} +2548 -2559
  14. package/components/{CashierMethodDetails-jk5GNqET.js → CashierMethodDetails-L1ZnAwA1.js} +2015 -1998
  15. package/components/CashierMethodDetails-lGOSlmya.cjs +18 -0
  16. package/components/CashierMethodsList-BcBzNfKT.cjs +1 -0
  17. package/components/CashierMethodsList-CNCrMZ4g.js +882 -0
  18. package/components/CashierMethodsList-CmF_WTB-.js +871 -0
  19. package/components/{CashierModal-BoglqxPv.js → CashierModal-BrwIBn9a.js} +14 -14
  20. package/components/{CashierModal-BhCdxWcE.cjs → CashierModal-BuM2Yq-y.cjs} +1 -1
  21. package/components/{CashierModal-6CTryAQJ.js → CashierModal-ZfKvGxFq.js} +11 -11
  22. package/components/{CashierNotifications-BVAanyOB.cjs → CashierNotifications-BLJS7gpv.cjs} +1 -1
  23. package/components/{CashierNotifications-GwlCZVnm.js → CashierNotifications-C48iLynX.js} +1 -1
  24. package/components/{CashierNotifications-BFj3fQud.js → CashierNotifications-dn6rnyK_.js} +1 -1
  25. package/components/CashierPage-B453tZx8.cjs +1 -0
  26. package/components/{CashierPage-V2NAWvNg.js → CashierPage-ClJcMBDB.js} +1128 -1109
  27. package/components/{CashierPage-B1G7PQOG.js → CashierPage-D8D89xo-.js} +1128 -1109
  28. package/components/{CashierReceiptPage-BA00H-2d.cjs → CashierReceiptPage-BO4QXf-M.cjs} +1 -1
  29. package/components/{CashierReceiptPage-CG0IVSDJ.js → CashierReceiptPage-BPED3qt4.js} +21 -27
  30. package/components/{CashierReceiptPage-D4IgTNIg.js → CashierReceiptPage-otjaMyRe.js} +21 -27
  31. package/components/{CashierSessionExpirationModal-CHPU1aRa.js → CashierSessionExpirationModal-BQFyVDBj.js} +430 -428
  32. package/components/CashierSessionExpirationModal-Ckg5tH-9.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DV8r-804.js → CashierSessionExpirationModal-DAWM1xQ6.js} +452 -450
  34. package/components/{CashierSpinner-DO1yLcR1.js → CashierSpinner-C-ubAde7.js} +1 -1
  35. package/components/{CashierSpinner-H763izjz.cjs → CashierSpinner-D-uP0nCc.cjs} +1 -1
  36. package/components/{CashierSpinner-bxbp3WK6.js → CashierSpinner-tLPMJx6q.js} +1 -1
  37. package/components/{CashierTransactionHistory-DyQIw9U2.cjs → CashierTransactionHistory-BiM02fXh.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-Dxq24rfR.js → CashierTransactionHistory-Bugs_tmN.js} +13 -13
  39. package/components/{CashierTransactionHistory-DuD_IPSM.js → CashierTransactionHistory-Cd3pN70W.js} +13 -13
  40. package/components/{CashierVerifications-CLeYFnf-.cjs → CashierVerifications-4hUquQj9.cjs} +1 -1
  41. package/components/{CashierVerifications-BXoRLAWe.js → CashierVerifications-BL3E_m40.js} +191 -194
  42. package/components/{CashierVerifications-AI2HHaYS.js → CashierVerifications-Ckv8ml82.js} +208 -211
  43. package/components/CashierVideoModal-BZg_b6bd.cjs +1 -0
  44. package/components/{CashierVideoModal-CVEk7pqo.js → CashierVideoModal-CVDvqrcy.js} +17 -17
  45. package/components/{CashierVideoModal-BGKXfmt9.js → CashierVideoModal-DHNu0BQz.js} +17 -17
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
  51. package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  52. package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
  53. package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
  54. package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
  55. package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
  56. package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  57. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  58. package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  59. package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
  60. package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
  61. package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  62. package/components/CashierConfirmModal-BVT51ZOp.cjs +0 -4
  63. package/components/CashierMethodDetails-DLhEFjxf.cjs +0 -18
  64. package/components/CashierMethodsList-C0IZmP3U.js +0 -760
  65. package/components/CashierMethodsList-DfKVl2ns.js +0 -749
  66. package/components/CashierMethodsList-PDEbBRc7.cjs +0 -1
  67. package/components/CashierPage-DuVl1Vzu.cjs +0 -1
  68. package/components/CashierSessionExpirationModal-B3thCy2R.cjs +0 -2
  69. package/components/CashierVideoModal-CjR0Fzuu.cjs +0 -1
  70. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
@@ -1,7 +1,7 @@
1
- function M() {
1
+ function E() {
2
2
  }
3
3
  const ot = (t) => t;
4
- function St(t, e) {
4
+ function Ot(t, e) {
5
5
  for (const n in e)
6
6
  t[n] = e[n];
7
7
  return (
@@ -9,48 +9,48 @@ function St(t, e) {
9
9
  t
10
10
  );
11
11
  }
12
- function Ct(t) {
12
+ function wt(t) {
13
13
  return t();
14
14
  }
15
- function $t() {
15
+ function _t() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function L(t) {
19
- t.forEach(Ct);
19
+ t.forEach(wt);
20
20
  }
21
- function W(t) {
21
+ function D(t) {
22
22
  return typeof t == "function";
23
23
  }
24
- function At(t, e) {
24
+ function St(t, e) {
25
25
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
26
26
  }
27
27
  let H;
28
28
  function ce(t, e) {
29
29
  return t === e ? !0 : (H || (H = document.createElement("a")), H.href = e, t === H.href);
30
30
  }
31
- function Nt(t) {
31
+ function At(t) {
32
32
  return Object.keys(t).length === 0;
33
33
  }
34
- function Pt(t, ...e) {
34
+ function Nt(t, ...e) {
35
35
  if (t == null) {
36
36
  for (const i of e)
37
37
  i(void 0);
38
- return M;
38
+ return E;
39
39
  }
40
40
  const n = t.subscribe(...e);
41
41
  return n.unsubscribe ? () => n.unsubscribe() : n;
42
42
  }
43
43
  function ae(t, e, n) {
44
- t.$$.on_destroy.push(Pt(e, n));
44
+ t.$$.on_destroy.push(Nt(e, n));
45
45
  }
46
46
  function I(t, e, n, i) {
47
47
  if (t) {
48
- const s = xt(t, e, n, i);
48
+ const s = Ct(t, e, n, i);
49
49
  return t[0](s);
50
50
  }
51
51
  }
52
- function xt(t, e, n, i) {
53
- return t[1] && i ? St(n.ctx.slice(), t[1](i(e))) : n.ctx;
52
+ function Ct(t, e, n, i) {
53
+ return t[1] && i ? Ot(n.ctx.slice(), t[1](i(e))) : n.ctx;
54
54
  }
55
55
  function q(t, e, n, i) {
56
56
  if (t[2] && i) {
@@ -69,7 +69,7 @@ function q(t, e, n, i) {
69
69
  }
70
70
  function F(t, e, n, i, s, o) {
71
71
  if (s) {
72
- const l = xt(e, n, i, o);
72
+ const l = Ct(e, n, i, o);
73
73
  t.p(l, s);
74
74
  }
75
75
  }
@@ -82,17 +82,17 @@ function U(t) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- const vt = typeof window < "u";
86
- let lt = vt ? () => window.performance.now() : () => Date.now(), ct = vt ? (t) => requestAnimationFrame(t) : M;
85
+ const xt = typeof window < "u";
86
+ let lt = xt ? () => window.performance.now() : () => Date.now(), ct = xt ? (t) => requestAnimationFrame(t) : E;
87
87
  const A = /* @__PURE__ */ new Set();
88
- function kt(t) {
88
+ function vt(t) {
89
89
  A.forEach((e) => {
90
90
  e.c(t) || (A.delete(e), e.f());
91
- }), A.size !== 0 && ct(kt);
91
+ }), A.size !== 0 && ct(vt);
92
92
  }
93
93
  function at(t) {
94
94
  let e;
95
- return A.size === 0 && ct(kt), {
95
+ return A.size === 0 && ct(vt), {
96
96
  promise: new Promise((n) => {
97
97
  A.add(e = { c: t, f: n });
98
98
  }),
@@ -111,8 +111,8 @@ function v(t, e) {
111
111
  function zt(t, e, n) {
112
112
  const i = ut(t);
113
113
  if (!i.getElementById(e)) {
114
- const s = E("style");
115
- s.id = e, s.textContent = n, Et(i, s);
114
+ const s = k("style");
115
+ s.id = e, s.textContent = n, Mt(i, s);
116
116
  }
117
117
  }
118
118
  function ut(t) {
@@ -125,11 +125,11 @@ function ut(t) {
125
125
  e
126
126
  ) : t.ownerDocument;
127
127
  }
128
- function Bt(t) {
129
- const e = E("style");
130
- return e.textContent = "/* empty */", Et(ut(t), e), e.sheet;
128
+ function Pt(t) {
129
+ const e = k("style");
130
+ return e.textContent = "/* empty */", Mt(ut(t), e), e.sheet;
131
131
  }
132
- function Et(t, e) {
132
+ function Mt(t, e) {
133
133
  return v(
134
134
  /** @type {Document} */
135
135
  t.head || t,
@@ -139,27 +139,27 @@ function Et(t, e) {
139
139
  function ft(t, e, n) {
140
140
  t.insertBefore(e, n || null);
141
141
  }
142
- function z(t) {
142
+ function P(t) {
143
143
  t.parentNode && t.parentNode.removeChild(t);
144
144
  }
145
145
  function fe(t, e) {
146
146
  for (let n = 0; n < t.length; n += 1)
147
147
  t[n] && t[n].d(e);
148
148
  }
149
- function E(t) {
149
+ function k(t) {
150
150
  return document.createElement(t);
151
151
  }
152
- function mt(t) {
152
+ function $t(t) {
153
153
  return document.createElementNS("http://www.w3.org/2000/svg", t);
154
154
  }
155
- function Mt(t) {
155
+ function kt(t) {
156
156
  return document.createTextNode(t);
157
157
  }
158
158
  function nt() {
159
- return Mt(" ");
159
+ return kt(" ");
160
160
  }
161
161
  function de() {
162
- return Mt("");
162
+ return kt("");
163
163
  }
164
164
  function Q(t, e, n, i) {
165
165
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
@@ -179,7 +179,7 @@ function _e(t, e, n) {
179
179
  function $e(t) {
180
180
  return t === "" ? null : +t;
181
181
  }
182
- function Tt(t) {
182
+ function Bt(t) {
183
183
  return Array.from(t.childNodes);
184
184
  }
185
185
  function me(t, e) {
@@ -193,7 +193,7 @@ function pe(t, e, n, i) {
193
193
  n == null ? t.style.removeProperty(e) : t.style.setProperty(e, n, "");
194
194
  }
195
195
  let J;
196
- function Rt() {
196
+ function Tt() {
197
197
  if (J === void 0) {
198
198
  J = !1;
199
199
  try {
@@ -206,12 +206,12 @@ function Rt() {
206
206
  }
207
207
  function ye(t, e) {
208
208
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
209
- const i = E("iframe");
209
+ const i = k("iframe");
210
210
  i.setAttribute(
211
211
  "style",
212
212
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
213
213
  ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
214
- const s = Rt();
214
+ const s = Tt();
215
215
  let o;
216
216
  return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
217
217
  window,
@@ -223,16 +223,16 @@ function ye(t, e) {
223
223
  )) : (i.src = "about:blank", i.onload = () => {
224
224
  o = Q(i.contentWindow, "resize", e), e();
225
225
  }), v(t, i), () => {
226
- (s || o && i.contentWindow) && o(), z(i);
226
+ (s || o && i.contentWindow) && o(), P(i);
227
227
  };
228
228
  }
229
229
  function be(t, e, n) {
230
230
  t.classList.toggle(e, !!n);
231
231
  }
232
- function Lt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
232
+ function Rt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
233
233
  return new CustomEvent(t, { detail: e, bubbles: n, cancelable: i });
234
234
  }
235
- function Dt(t) {
235
+ function Wt(t) {
236
236
  const e = {};
237
237
  return t.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -242,18 +242,18 @@ function Dt(t) {
242
242
  ), e;
243
243
  }
244
244
  const X = /* @__PURE__ */ new Map();
245
- let Y = 0;
246
- function Wt(t) {
245
+ let Z = 0;
246
+ function Dt(t) {
247
247
  let e = 5381, n = t.length;
248
248
  for (; n--; )
249
249
  e = (e << 5) - e ^ t.charCodeAt(n);
250
250
  return e >>> 0;
251
251
  }
252
252
  function Ht(t, e) {
253
- const n = { stylesheet: Bt(e), rules: {} };
253
+ const n = { stylesheet: Pt(e), rules: {} };
254
254
  return X.set(t, n), n;
255
255
  }
256
- function Z(t, e, n, i, s, o, l, r = 0) {
256
+ function Y(t, e, n, i, s, o, l, r = 0) {
257
257
  const u = 16.666 / i;
258
258
  let c = `{
259
259
  `;
@@ -263,67 +263,49 @@ function Z(t, e, n, i, s, o, l, r = 0) {
263
263
  `;
264
264
  }
265
265
  const m = c + `100% {${l(n, 1 - n)}}
266
- }`, _ = `__svelte_${Wt(m)}_${r}`, g = ut(t), { stylesheet: a, rules: d } = X.get(g) || Ht(g, t);
266
+ }`, _ = `__svelte_${Dt(m)}_${r}`, g = ut(t), { stylesheet: a, rules: d } = X.get(g) || Ht(g, t);
267
267
  d[_] || (d[_] = !0, a.insertRule(`@keyframes ${_} ${m}`, a.cssRules.length));
268
268
  const h = t.style.animation || "";
269
- return t.style.animation = `${h ? `${h}, ` : ""}${_} ${i}ms linear ${s}ms 1 both`, Y += 1, _;
269
+ return t.style.animation = `${h ? `${h}, ` : ""}${_} ${i}ms linear ${s}ms 1 both`, Z += 1, _;
270
270
  }
271
271
  function tt(t, e) {
272
272
  const n = (t.style.animation || "").split(", "), i = n.filter(
273
273
  e ? (o) => o.indexOf(e) < 0 : (o) => o.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), s = n.length - i.length;
276
- s && (t.style.animation = i.join(", "), Y -= s, Y || It());
276
+ s && (t.style.animation = i.join(", "), Z -= s, Z || It());
277
277
  }
278
278
  function It() {
279
279
  ct(() => {
280
- Y || (X.forEach((t) => {
280
+ Z || (X.forEach((t) => {
281
281
  const { ownerNode: e } = t.stylesheet;
282
- e && z(e);
282
+ e && P(e);
283
283
  }), X.clear());
284
284
  });
285
285
  }
286
- let D;
286
+ let W;
287
287
  function R(t) {
288
- D = t;
288
+ W = t;
289
289
  }
290
- function dt() {
291
- if (!D)
290
+ function Et() {
291
+ if (!W)
292
292
  throw new Error("Function called outside component initialization");
293
- return D;
293
+ return W;
294
294
  }
295
295
  function we(t) {
296
- dt().$$.on_mount.push(t);
296
+ Et().$$.on_mount.push(t);
297
297
  }
298
298
  function Ce(t) {
299
- dt().$$.on_destroy.push(t);
300
- }
301
- function xe() {
302
- const t = dt();
303
- return (e, n, { cancelable: i = !1 } = {}) => {
304
- const s = t.$$.callbacks[e];
305
- if (s) {
306
- const o = Lt(
307
- /** @type {string} */
308
- e,
309
- n,
310
- { cancelable: i }
311
- );
312
- return s.slice().forEach((l) => {
313
- l.call(t, o);
314
- }), !o.defaultPrevented;
315
- }
316
- return !0;
317
- };
299
+ Et().$$.on_destroy.push(t);
318
300
  }
319
301
  const S = [], st = [];
320
302
  let N = [];
321
- const gt = [], qt = /* @__PURE__ */ Promise.resolve();
303
+ const mt = [], qt = /* @__PURE__ */ Promise.resolve();
322
304
  let rt = !1;
323
305
  function Ft() {
324
306
  rt || (rt = !0, qt.then(et));
325
307
  }
326
- function P(t) {
308
+ function z(t) {
327
309
  N.push(t);
328
310
  }
329
311
  const it = /* @__PURE__ */ new Set();
@@ -331,7 +313,7 @@ let O = 0;
331
313
  function et() {
332
314
  if (O !== 0)
333
315
  return;
334
- const t = D;
316
+ const t = W;
335
317
  do {
336
318
  try {
337
319
  for (; O < S.length; ) {
@@ -349,15 +331,15 @@ function et() {
349
331
  }
350
332
  N.length = 0;
351
333
  } while (S.length);
352
- for (; gt.length; )
353
- gt.pop()();
334
+ for (; mt.length; )
335
+ mt.pop()();
354
336
  rt = !1, it.clear(), R(t);
355
337
  }
356
338
  function Ut(t) {
357
339
  if (t.fragment !== null) {
358
340
  t.update(), L(t.before_update);
359
341
  const e = t.dirty;
360
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(P);
342
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(z);
361
343
  }
362
344
  }
363
345
  function Jt(t) {
@@ -365,26 +347,26 @@ function Jt(t) {
365
347
  N.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), N = e;
366
348
  }
367
349
  let B;
368
- function ht() {
350
+ function dt() {
369
351
  return B || (B = Promise.resolve(), B.then(() => {
370
352
  B = null;
371
353
  })), B;
372
354
  }
373
355
  function j(t, e, n) {
374
- t.dispatchEvent(Lt(`${e ? "intro" : "outro"}${n}`));
356
+ t.dispatchEvent(Rt(`${e ? "intro" : "outro"}${n}`));
375
357
  }
376
358
  const G = /* @__PURE__ */ new Set();
377
- let k;
378
- function ve() {
379
- k = {
359
+ let M;
360
+ function xe() {
361
+ M = {
380
362
  r: 0,
381
363
  c: [],
382
- p: k
364
+ p: M
383
365
  // parent group
384
366
  };
385
367
  }
386
- function ke() {
387
- k.r || L(k.c), k = k.p;
368
+ function ve() {
369
+ M.r || L(M.c), M = M.p;
388
370
  }
389
371
  function T(t, e) {
390
372
  t && t.i && (G.delete(t), t.i(e));
@@ -393,14 +375,14 @@ function V(t, e, n, i) {
393
375
  if (t && t.o) {
394
376
  if (G.has(t))
395
377
  return;
396
- G.add(t), k.c.push(() => {
378
+ G.add(t), M.c.push(() => {
397
379
  G.delete(t), i && (n && t.d(1), i());
398
380
  }), t.o(e);
399
381
  } else
400
382
  i && i();
401
383
  }
402
- const _t = { duration: 0 };
403
- function Ee(t, e, n) {
384
+ const ht = { duration: 0 };
385
+ function Me(t, e, n) {
404
386
  const i = { direction: "in" };
405
387
  let s = e(t, n, i), o = !1, l, r, u = 0;
406
388
  function c() {
@@ -411,12 +393,12 @@ function Ee(t, e, n) {
411
393
  delay: g = 0,
412
394
  duration: a = 300,
413
395
  easing: d = ot,
414
- tick: h = M,
396
+ tick: h = E,
415
397
  css: p
416
- } = s || _t;
417
- p && (l = Z(t, 0, 1, a, g, d, p, u++)), h(0, 1);
398
+ } = s || ht;
399
+ p && (l = Y(t, 0, 1, a, g, d, p, u++)), h(0, 1);
418
400
  const $ = lt() + g, w = $ + a;
419
- r && r.abort(), o = !0, P(() => j(t, !0, "start")), r = at((C) => {
401
+ r && r.abort(), o = !0, z(() => j(t, !0, "start")), r = at((C) => {
420
402
  if (o) {
421
403
  if (C >= w)
422
404
  return h(1, 0), j(t, !0, "end"), c(), o = !1;
@@ -431,7 +413,7 @@ function Ee(t, e, n) {
431
413
  let _ = !1;
432
414
  return {
433
415
  start() {
434
- _ || (_ = !0, tt(t), W(s) ? (s = s(i), ht().then(m)) : m());
416
+ _ || (_ = !0, tt(t), D(s) ? (s = s(i), dt().then(m)) : m());
435
417
  },
436
418
  invalidate() {
437
419
  _ = !1;
@@ -441,10 +423,10 @@ function Ee(t, e, n) {
441
423
  }
442
424
  };
443
425
  }
444
- function Me(t, e, n) {
426
+ function ke(t, e, n) {
445
427
  const i = { direction: "out" };
446
428
  let s = e(t, n, i), o = !0, l;
447
- const r = k;
429
+ const r = M;
448
430
  r.r += 1;
449
431
  let u;
450
432
  function c() {
@@ -452,12 +434,12 @@ function Me(t, e, n) {
452
434
  delay: m = 0,
453
435
  duration: _ = 300,
454
436
  easing: g = ot,
455
- tick: a = M,
437
+ tick: a = E,
456
438
  css: d
457
- } = s || _t;
458
- d && (l = Z(t, 1, 0, _, m, g, d));
439
+ } = s || ht;
440
+ d && (l = Y(t, 1, 0, _, m, g, d));
459
441
  const h = lt() + m, p = h + _;
460
- P(() => j(t, !1, "start")), "inert" in t && (u = /** @type {HTMLElement} */
442
+ z(() => j(t, !1, "start")), "inert" in t && (u = /** @type {HTMLElement} */
461
443
  t.inert, t.inert = !0), at(($) => {
462
444
  if (o) {
463
445
  if ($ >= p)
@@ -470,7 +452,7 @@ function Me(t, e, n) {
470
452
  return o;
471
453
  });
472
454
  }
473
- return W(s) ? ht().then(() => {
455
+ return D(s) ? dt().then(() => {
474
456
  s = s(i), c();
475
457
  }) : c(), {
476
458
  end(m) {
@@ -478,7 +460,7 @@ function Me(t, e, n) {
478
460
  }
479
461
  };
480
462
  }
481
- function Le(t, e, n, i) {
463
+ function Ee(t, e, n, i) {
482
464
  let o = e(t, n, { direction: "both" }), l = i ? 0 : 1, r = null, u = null, c = null, m;
483
465
  function _() {
484
466
  c && tt(t, c);
@@ -503,15 +485,15 @@ function Le(t, e, n, i) {
503
485
  delay: h = 0,
504
486
  duration: p = 300,
505
487
  easing: $ = ot,
506
- tick: w = M,
488
+ tick: w = E,
507
489
  css: C
508
- } = o || _t, b = {
490
+ } = o || ht, b = {
509
491
  start: lt() + h,
510
492
  b: d
511
493
  };
512
- d || (b.group = k, k.r += 1), "inert" in t && (d ? m !== void 0 && (t.inert = m) : (m = /** @type {HTMLElement} */
513
- t.inert, t.inert = !0)), r || u ? u = b : (C && (_(), c = Z(t, l, d, p, h, $, C)), d && w(0, 1), r = g(b, p), P(() => j(t, d, "start")), at((f) => {
514
- if (u && f > u.start && (r = g(u, p), u = null, j(t, r.b, "start"), C && (_(), c = Z(
494
+ d || (b.group = M, M.r += 1), "inert" in t && (d ? m !== void 0 && (t.inert = m) : (m = /** @type {HTMLElement} */
495
+ t.inert, t.inert = !0)), r || u ? u = b : (C && (_(), c = Y(t, l, d, p, h, $, C)), d && w(0, 1), r = g(b, p), z(() => j(t, d, "start")), at((f) => {
496
+ if (u && f > u.start && (r = g(u, p), u = null, j(t, r.b, "start"), C && (_(), c = Y(
515
497
  t,
516
498
  l,
517
499
  r.b,
@@ -532,7 +514,7 @@ function Le(t, e, n, i) {
532
514
  }
533
515
  return {
534
516
  run(d) {
535
- W(o) ? ht().then(() => {
517
+ D(o) ? dt().then(() => {
536
518
  o = o({ direction: d ? "in" : "out" }), a(d);
537
519
  }) : a(d);
538
520
  },
@@ -541,15 +523,15 @@ function Le(t, e, n, i) {
541
523
  }
542
524
  };
543
525
  }
544
- function je(t) {
526
+ function Le(t) {
545
527
  return t?.length !== void 0 ? t : Array.from(t);
546
528
  }
547
529
  function Vt(t, e, n) {
548
530
  const { fragment: i, after_update: s } = t.$$;
549
- i && i.m(e, n), P(() => {
550
- const o = t.$$.on_mount.map(Ct).filter(W);
531
+ i && i.m(e, n), z(() => {
532
+ const o = t.$$.on_mount.map(wt).filter(D);
551
533
  t.$$.on_destroy ? t.$$.on_destroy.push(...o) : L(o), t.$$.on_mount = [];
552
- }), s.forEach(P);
534
+ }), s.forEach(z);
553
535
  }
554
536
  function Gt(t, e) {
555
537
  const n = t.$$;
@@ -559,16 +541,16 @@ function Kt(t, e) {
559
541
  t.$$.dirty[0] === -1 && (S.push(t), Ft(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
560
542
  }
561
543
  function Qt(t, e, n, i, s, o, l = null, r = [-1]) {
562
- const u = D;
544
+ const u = W;
563
545
  R(t);
564
546
  const c = t.$$ = {
565
547
  fragment: null,
566
548
  ctx: [],
567
549
  // state
568
550
  props: o,
569
- update: M,
551
+ update: E,
570
552
  not_equal: s,
571
- bound: $t(),
553
+ bound: _t(),
572
554
  // lifecycle
573
555
  on_mount: [],
574
556
  on_destroy: [],
@@ -577,7 +559,7 @@ function Qt(t, e, n, i, s, o, l = null, r = [-1]) {
577
559
  after_update: [],
578
560
  context: new Map(e.context || (u ? u.$$.context : [])),
579
561
  // everything else
580
- callbacks: $t(),
562
+ callbacks: _t(),
581
563
  dirty: r,
582
564
  skip_bound: !1,
583
565
  root: e.target || u.$$.root
@@ -589,16 +571,16 @@ function Qt(t, e, n, i, s, o, l = null, r = [-1]) {
589
571
  return c.ctx && s(c.ctx[_], c.ctx[_] = d) && (!c.skip_bound && c.bound[_] && c.bound[_](d), m && Kt(t, _)), g;
590
572
  }) : [], c.update(), m = !0, L(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
591
573
  if (e.hydrate) {
592
- const _ = Tt(e.target);
593
- c.fragment && c.fragment.l(_), _.forEach(z);
574
+ const _ = Bt(e.target);
575
+ c.fragment && c.fragment.l(_), _.forEach(P);
594
576
  } else
595
577
  c.fragment && c.fragment.c();
596
578
  e.intro && T(t.$$.fragment), Vt(t, e.target, e.anchor), et();
597
579
  }
598
580
  R(u);
599
581
  }
600
- let jt;
601
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
582
+ let Lt;
583
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
602
584
  /** The Svelte component constructor */
603
585
  $$ctor;
604
586
  /** Slots */
@@ -640,7 +622,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
640
622
  let o;
641
623
  return {
642
624
  c: function() {
643
- o = E("slot"), s !== "default" && y(o, "name", s);
625
+ o = k("slot"), s !== "default" && y(o, "name", s);
644
626
  },
645
627
  /**
646
628
  * @param {HTMLElement} target
@@ -650,14 +632,14 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
650
632
  ft(u, o, c);
651
633
  },
652
634
  d: function(u) {
653
- u && z(o);
635
+ u && P(o);
654
636
  }
655
637
  };
656
638
  };
657
639
  };
658
640
  if (await Promise.resolve(), !this.$$cn || this.$$c)
659
641
  return;
660
- const e = {}, n = Dt(this);
642
+ const e = {}, n = Wt(this);
661
643
  for (const s of this.$$s)
662
644
  s in n && (e[s] = [t(s)]);
663
645
  for (const s of this.attributes) {
@@ -745,7 +727,7 @@ function K(t, e, n, i) {
745
727
  }
746
728
  }
747
729
  function Xt(t, e, n, i, s, o) {
748
- let l = class extends jt {
730
+ let l = class extends Lt {
749
731
  constructor() {
750
732
  super(t, n, s), this.$$p_d = e;
751
733
  }
@@ -773,7 +755,7 @@ function Xt(t, e, n, i, s, o) {
773
755
  }), t.element = /** @type {any} */
774
756
  l, l;
775
757
  }
776
- class Yt {
758
+ class Zt {
777
759
  /**
778
760
  * ### PRIVATE API
779
761
  *
@@ -792,7 +774,7 @@ class Yt {
792
774
  $$set = void 0;
793
775
  /** @returns {void} */
794
776
  $destroy() {
795
- Gt(this, 1), this.$destroy = M;
777
+ Gt(this, 1), this.$destroy = E;
796
778
  }
797
779
  /**
798
780
  * @template {Extract<keyof Events, string>} K
@@ -801,8 +783,8 @@ class Yt {
801
783
  * @returns {() => void}
802
784
  */
803
785
  $on(e, n) {
804
- if (!W(n))
805
- return M;
786
+ if (!D(n))
787
+ return E;
806
788
  const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
807
789
  return i.push(n), () => {
808
790
  const s = i.indexOf(n);
@@ -814,27 +796,27 @@ class Yt {
814
796
  * @returns {void}
815
797
  */
816
798
  $set(e) {
817
- this.$$set && !Nt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
799
+ this.$$set && !At(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
818
800
  }
819
801
  }
820
- const Zt = "4";
821
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zt);
802
+ const Yt = "4";
803
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
822
804
  function te(t) {
823
805
  zt(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)}}");
824
806
  }
825
- const ee = (t) => ({}), pt = (t) => ({}), ne = (t) => ({}), yt = (t) => ({}), ie = (t) => ({}), bt = (t) => ({ class: "CashierModalText" }), se = (t) => ({}), wt = (t) => ({ class: "CashierModalTitle" });
807
+ const ee = (t) => ({}), gt = (t) => ({}), ne = (t) => ({}), pt = (t) => ({}), ie = (t) => ({}), yt = (t) => ({ class: "CashierModalText" }), se = (t) => ({}), bt = (t) => ({ class: "CashierModalTitle" });
826
808
  function re(t) {
827
809
  let e, n;
828
810
  return {
829
811
  c() {
830
- e = mt("svg"), n = mt("path"), y(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"), y(n, "fill", "#111111"), y(e, "xmlns", "http://www.w3.org/2000/svg"), y(e, "width", "13"), y(e, "height", "20"), y(e, "viewBox", "0 0 13 13"), y(e, "fill", "none");
812
+ e = $t("svg"), n = $t("path"), y(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"), y(n, "fill", "#111111"), y(e, "xmlns", "http://www.w3.org/2000/svg"), y(e, "width", "13"), y(e, "height", "20"), y(e, "viewBox", "0 0 13 13"), y(e, "fill", "none");
831
813
  },
832
814
  m(i, s) {
833
815
  ft(i, e, s), v(e, n);
834
816
  },
835
- p: M,
817
+ p: E,
836
818
  d(i) {
837
- i && z(e);
819
+ i && P(e);
838
820
  }
839
821
  };
840
822
  }
@@ -848,7 +830,7 @@ function oe(t) {
848
830
  t,
849
831
  /*$$scope*/
850
832
  t[5],
851
- wt
833
+ bt
852
834
  ), d = (
853
835
  /*#slots*/
854
836
  t[6].text
@@ -857,7 +839,7 @@ function oe(t) {
857
839
  t,
858
840
  /*$$scope*/
859
841
  t[5],
860
- bt
842
+ yt
861
843
  ), p = (
862
844
  /*#slots*/
863
845
  t[6].confirm
@@ -866,7 +848,7 @@ function oe(t) {
866
848
  t,
867
849
  /*$$scope*/
868
850
  t[5],
869
- yt
851
+ pt
870
852
  ), w = (
871
853
  /*#slots*/
872
854
  t[6].close
@@ -875,11 +857,11 @@ function oe(t) {
875
857
  t,
876
858
  /*$$scope*/
877
859
  t[5],
878
- pt
860
+ gt
879
861
  ), b = C || re();
880
862
  return {
881
863
  c() {
882
- e = E("div"), n = E("div"), i = E("div"), a && a.c(), s = nt(), h && h.c(), o = nt(), l = E("span"), $ && $.c(), r = nt(), u = E("span"), b && b.c(), y(l, "class", "ModalOkBtn"), y(l, "role", "button"), y(u, "class", "ModalCloseBtn"), y(u, "role", "button"), y(i, "class", "CashierModalContainer"), y(i, "part", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "part", "CashierModalWindow"), y(n, "id", "Modal"), y(e, "part", "CustomStylingContainer");
864
+ e = k("div"), n = k("div"), i = k("div"), a && a.c(), s = nt(), h && h.c(), o = nt(), l = k("span"), $ && $.c(), r = nt(), u = k("span"), b && b.c(), y(l, "class", "ModalOkBtn"), y(l, "role", "button"), y(u, "class", "ModalCloseBtn"), y(u, "role", "button"), y(i, "class", "CashierModalContainer"), y(i, "part", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "part", "CashierModalWindow"), y(n, "id", "Modal"), y(e, "part", "CustomStylingContainer");
883
865
  },
884
866
  m(f, x) {
885
867
  ft(f, e, x), v(e, n), v(n, i), a && a.m(i, null), v(i, s), h && h.m(i, null), v(i, o), v(i, l), $ && $.m(l, null), v(i, r), v(i, u), b && b.m(u, null), t[7](e), c = !0, m || (_ = [
@@ -915,7 +897,7 @@ function oe(t) {
915
897
  /*$$scope*/
916
898
  f[5]
917
899
  ),
918
- wt
900
+ bt
919
901
  ), h && h.p && (!c || x & /*$$scope*/
920
902
  32) && F(
921
903
  h,
@@ -933,7 +915,7 @@ function oe(t) {
933
915
  /*$$scope*/
934
916
  f[5]
935
917
  ),
936
- bt
918
+ yt
937
919
  ), $ && $.p && (!c || x & /*$$scope*/
938
920
  32) && F(
939
921
  $,
@@ -951,7 +933,7 @@ function oe(t) {
951
933
  /*$$scope*/
952
934
  f[5]
953
935
  ),
954
- yt
936
+ pt
955
937
  ), C && C.p && (!c || x & /*$$scope*/
956
938
  32) && F(
957
939
  C,
@@ -969,7 +951,7 @@ function oe(t) {
969
951
  /*$$scope*/
970
952
  f[5]
971
953
  ),
972
- pt
954
+ gt
973
955
  );
974
956
  },
975
957
  i(f) {
@@ -979,7 +961,7 @@ function oe(t) {
979
961
  V(a, f), V(h, f), V($, f), V(b, f), c = !1;
980
962
  },
981
963
  d(f) {
982
- f && z(e), a && a.d(f), h && h.d(f), $ && $.d(f), b && b.d(f), t[7](null), m = !1, L(_);
964
+ f && P(e), a && a.d(f), h && h.d(f), $ && $.d(f), b && b.d(f), t[7](null), m = !1, L(_);
983
965
  }
984
966
  };
985
967
  }
@@ -1025,9 +1007,9 @@ function le(t, e, n) {
1025
1007
  g
1026
1008
  ];
1027
1009
  }
1028
- class Ot extends Yt {
1010
+ class jt extends Zt {
1029
1011
  constructor(e) {
1030
- super(), Qt(this, e, le, oe, At, { clientstyling: 3, clientstylingurl: 4 }, te);
1012
+ super(), Qt(this, e, le, oe, St, { clientstyling: 3, clientstylingurl: 4 }, te);
1031
1013
  }
1032
1014
  get clientstyling() {
1033
1015
  return this.$$.ctx[3];
@@ -1042,61 +1024,60 @@ class Ot extends Yt {
1042
1024
  this.$$set({ clientstylingurl: e }), et();
1043
1025
  }
1044
1026
  }
1045
- Xt(Ot, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1046
- const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1027
+ Xt(jt, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1028
+ const je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1047
1029
  __proto__: null,
1048
- default: Ot
1030
+ default: jt
1049
1031
  }, Symbol.toStringTag, { value: "Module" }));
1050
1032
  export {
1051
1033
  Q as A,
1052
1034
  ce as B,
1053
1035
  _e as C,
1054
- ve as D,
1036
+ xe as D,
1055
1037
  Xt as E,
1056
- P as F,
1038
+ z as F,
1057
1039
  ue as G,
1058
1040
  we as H,
1059
1041
  $e as I,
1060
1042
  be as J,
1061
- je as K,
1043
+ Le as K,
1062
1044
  fe as L,
1063
1045
  he as M,
1064
- mt as N,
1046
+ $t as N,
1065
1047
  ge as O,
1066
1048
  pe as P,
1067
- xe as Q,
1068
- ot as R,
1069
- Yt as S,
1070
- Le as T,
1071
- ye as U,
1072
- Ce as V,
1049
+ ot as Q,
1050
+ Ee as R,
1051
+ Zt as S,
1052
+ ye as T,
1053
+ Ce as U,
1054
+ ke as V,
1073
1055
  Me as W,
1074
- Ee as X,
1075
- Oe as Y,
1076
- Pt as a,
1056
+ je as X,
1057
+ Nt as a,
1077
1058
  Qt as b,
1078
1059
  zt as c,
1079
1060
  I as d,
1080
- z as e,
1061
+ P as e,
1081
1062
  et as f,
1082
1063
  T as g,
1083
1064
  U as h,
1084
- W as i,
1065
+ D as i,
1085
1066
  q as j,
1086
- ke as k,
1067
+ ve as k,
1087
1068
  ft as l,
1088
1069
  v as m,
1089
- M as n,
1090
- E as o,
1070
+ E as n,
1071
+ k as o,
1091
1072
  nt as p,
1092
1073
  y as q,
1093
1074
  L as r,
1094
- At as s,
1075
+ St as s,
1095
1076
  V as t,
1096
1077
  F as u,
1097
1078
  ae as v,
1098
1079
  de as w,
1099
1080
  me as x,
1100
- Mt as y,
1081
+ kt as y,
1101
1082
  st as z
1102
1083
  };