@everymatrix/cashier-page 1.45.0 → 1.45.2

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 (47) hide show
  1. package/components/CashierConfirmModal-DDkEGERx.cjs +4 -0
  2. package/components/{CashierConfirmModal-DUs77Z87.js → CashierConfirmModal-DcDzn1gw.js} +188 -192
  3. package/components/{CashierError-B6P10jDb.js → CashierError-BN74rRfp.js} +28 -27
  4. package/components/CashierError-BUdqkPz2.cjs +5 -0
  5. package/components/CashierHeader-CWh9KvU8.cjs +1 -0
  6. package/components/CashierHeader-GJVoWu3a.js +360 -0
  7. package/components/{CashierIframeRedirect-D-wtyZlJ.js → CashierIframeRedirect-7U7Ng9Ft.js} +72 -73
  8. package/components/CashierIframeRedirect-CPmCxUNQ.cjs +1 -0
  9. package/components/CashierMethodDetails-C1P_A8Q-.cjs +18 -0
  10. package/components/{CashierMethodDetails-BMH-N9d_.js → CashierMethodDetails-CcOrusOp.js} +670 -671
  11. package/components/CashierMethodsList-Cz8-AN80.js +651 -0
  12. package/components/CashierMethodsList-DV1rRC_l.cjs +1 -0
  13. package/components/CashierModal-BYaRLT3T.cjs +1 -0
  14. package/components/CashierModal-WFQXcGM-.js +226 -0
  15. package/components/CashierNotifications-C46bpv5c.js +136 -0
  16. package/components/CashierNotifications-DxsqjmwN.cjs +1 -0
  17. package/components/{CashierPage-CReuHHpH.js → CashierPage-BFzFcqIV.js} +887 -892
  18. package/components/CashierPage-BiLUhOOi.cjs +1 -0
  19. package/components/{CashierReceiptPage-CCmpwoHS.js → CashierReceiptPage-C-U0DylA.js} +242 -243
  20. package/components/CashierReceiptPage-D9D2pfkv.cjs +1 -0
  21. package/components/{CashierSessionExpirationModal-CTAwPOlx.js → CashierSessionExpirationModal-BPz4T6IO.js} +210 -217
  22. package/components/{CashierSessionExpirationModal-DgofnoWR.cjs → CashierSessionExpirationModal-Cm1_wYpc.cjs} +2 -2
  23. package/components/CashierSpinner-BDeVd6_8.js +71 -0
  24. package/components/CashierSpinner-BHiwUIfx.cjs +1 -0
  25. package/components/CashierVerifications-ChU2M2Cq.cjs +1 -0
  26. package/components/CashierVerifications-T229JPdw.js +495 -0
  27. package/es2015/cashier-page.cjs +1 -1
  28. package/es2015/cashier-page.js +1 -1
  29. package/package.json +2 -2
  30. package/components/CashierConfirmModal-BzlPDqCa.cjs +0 -4
  31. package/components/CashierError-CPdkGqU9.cjs +0 -5
  32. package/components/CashierHeader-WPbfJpfK.cjs +0 -1
  33. package/components/CashierHeader-sNXvMDOE.js +0 -361
  34. package/components/CashierIframeRedirect-D51bquYH.cjs +0 -1
  35. package/components/CashierMethodDetails-BRk_7FCh.cjs +0 -18
  36. package/components/CashierMethodsList-BzKakG_f.cjs +0 -1
  37. package/components/CashierMethodsList-C2cZyeSz.js +0 -652
  38. package/components/CashierModal-34pFwTKh.cjs +0 -1
  39. package/components/CashierModal-CSXMOh9Q.js +0 -225
  40. package/components/CashierNotifications-Bb_aXGZ9.cjs +0 -1
  41. package/components/CashierNotifications-CHJocFp_.js +0 -136
  42. package/components/CashierPage-DMz34mKD.cjs +0 -1
  43. package/components/CashierReceiptPage-Bx1bgMaF.cjs +0 -1
  44. package/components/CashierSpinner---P14FXy.cjs +0 -1
  45. package/components/CashierSpinner-w2LALF8s.js +0 -71
  46. package/components/CashierVerifications-DR2HJAoY.js +0 -496
  47. package/components/CashierVerifications-T_tbaHJ5.cjs +0 -1
@@ -1,16 +1,16 @@
1
- var Ot = Object.defineProperty, St = Object.defineProperties;
2
- var At = Object.getOwnPropertyDescriptors;
1
+ var St = Object.defineProperty, At = Object.defineProperties;
2
+ var Nt = Object.getOwnPropertyDescriptors;
3
3
  var at = Object.getOwnPropertySymbols;
4
- var Nt = Object.prototype.hasOwnProperty, Pt = Object.prototype.propertyIsEnumerable;
5
- var Y = (t, e, n) => e in t ? Ot(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, ft = (t, e) => {
4
+ var Pt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
+ var Y = (t, e, n) => e in t ? St(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, ft = (t, e) => {
6
6
  for (var n in e || (e = {}))
7
- Nt.call(e, n) && Y(t, n, e[n]);
7
+ Pt.call(e, n) && Y(t, n, e[n]);
8
8
  if (at)
9
9
  for (var n of at(e))
10
- Pt.call(e, n) && Y(t, n, e[n]);
10
+ zt.call(e, n) && Y(t, n, e[n]);
11
11
  return t;
12
- }, dt = (t, e) => St(t, At(e));
13
- var v = (t, e, n) => Y(t, typeof e != "symbol" ? e + "" : e, n);
12
+ }, dt = (t, e) => At(t, Nt(e));
13
+ var C = (t, e, n) => Y(t, typeof e != "symbol" ? e + "" : e, n);
14
14
  var ht = (t, e, n) => new Promise((s, r) => {
15
15
  var i = (u) => {
16
16
  try {
@@ -27,7 +27,7 @@ var ht = (t, e, n) => new Promise((s, r) => {
27
27
  }, o = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, l);
28
28
  o((n = n.apply(t, e)).next());
29
29
  });
30
- function L() {
30
+ function k() {
31
31
  }
32
32
  const Bt = (t) => t;
33
33
  function Tt(t, e) {
@@ -37,14 +37,14 @@ function Tt(t, e) {
37
37
  t
38
38
  );
39
39
  }
40
- function vt(t) {
40
+ function Ct(t) {
41
41
  return t();
42
42
  }
43
43
  function $t() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function k(t) {
47
- t.forEach(vt);
46
+ function j(t) {
47
+ t.forEach(Ct);
48
48
  }
49
49
  function ot(t) {
50
50
  return typeof t == "function";
@@ -53,7 +53,7 @@ function Rt(t, e) {
53
53
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
54
54
  }
55
55
  let D;
56
- function we(t, e) {
56
+ function be(t, e) {
57
57
  return t === e ? !0 : (D || (D = document.createElement("a")), D.href = e, t === D.href);
58
58
  }
59
59
  function Dt(t) {
@@ -63,21 +63,21 @@ function Wt(t, ...e) {
63
63
  if (t == null) {
64
64
  for (const s of e)
65
65
  s(void 0);
66
- return L;
66
+ return k;
67
67
  }
68
68
  const n = t.subscribe(...e);
69
69
  return n.unsubscribe ? () => n.unsubscribe() : n;
70
70
  }
71
- function be(t, e, n) {
71
+ function we(t, e, n) {
72
72
  t.$$.on_destroy.push(Wt(e, n));
73
73
  }
74
74
  function W(t, e, n, s) {
75
75
  if (t) {
76
- const r = Ct(t, e, n, s);
76
+ const r = xt(t, e, n, s);
77
77
  return t[0](r);
78
78
  }
79
79
  }
80
- function Ct(t, e, n, s) {
80
+ function xt(t, e, n, s) {
81
81
  return t[1] && s ? Tt(n.ctx.slice(), t[1](s(e))) : n.ctx;
82
82
  }
83
83
  function H(t, e, n, s) {
@@ -97,7 +97,7 @@ function H(t, e, n, s) {
97
97
  }
98
98
  function I(t, e, n, s, r, i) {
99
99
  if (r) {
100
- const l = Ct(e, n, s, i);
100
+ const l = xt(e, n, s, i);
101
101
  t.p(l, r);
102
102
  }
103
103
  }
@@ -110,25 +110,22 @@ function q(t) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function ve(t) {
114
- return t == null ? "" : t;
115
- }
116
- const xt = typeof window != "undefined";
117
- let Ht = xt ? () => window.performance.now() : () => Date.now(), rt = xt ? (t) => requestAnimationFrame(t) : L;
118
- const S = /* @__PURE__ */ new Set();
113
+ const vt = typeof window != "undefined";
114
+ let Ht = vt ? () => window.performance.now() : () => Date.now(), rt = vt ? (t) => requestAnimationFrame(t) : k;
115
+ const A = /* @__PURE__ */ new Set();
119
116
  function Et(t) {
120
- S.forEach((e) => {
121
- e.c(t) || (S.delete(e), e.f());
122
- }), S.size !== 0 && rt(Et);
117
+ A.forEach((e) => {
118
+ e.c(t) || (A.delete(e), e.f());
119
+ }), A.size !== 0 && rt(Et);
123
120
  }
124
121
  function It(t) {
125
122
  let e;
126
- return S.size === 0 && rt(Et), {
123
+ return A.size === 0 && rt(Et), {
127
124
  promise: new Promise((n) => {
128
- S.add(e = { c: t, f: n });
125
+ A.add(e = { c: t, f: n });
129
126
  }),
130
127
  abort() {
131
- S.delete(e);
128
+ A.delete(e);
132
129
  }
133
130
  };
134
131
  }
@@ -136,14 +133,14 @@ const Ce = typeof window != "undefined" ? window : typeof globalThis != "undefin
136
133
  // @ts-ignore Node typings have this
137
134
  global
138
135
  );
139
- function C(t, e) {
136
+ function x(t, e) {
140
137
  t.appendChild(e);
141
138
  }
142
139
  function qt(t, e, n) {
143
140
  const s = lt(t);
144
141
  if (!s.getElementById(e)) {
145
- const r = x("style");
146
- r.id = e, r.textContent = n, zt(s, r);
142
+ const r = v("style");
143
+ r.id = e, r.textContent = n, Mt(s, r);
147
144
  }
148
145
  }
149
146
  function lt(t) {
@@ -156,11 +153,11 @@ function lt(t) {
156
153
  ) : t.ownerDocument;
157
154
  }
158
155
  function Ft(t) {
159
- const e = x("style");
160
- return e.textContent = "/* empty */", zt(lt(t), e), e.sheet;
156
+ const e = v("style");
157
+ return e.textContent = "/* empty */", Mt(lt(t), e), e.sheet;
161
158
  }
162
- function zt(t, e) {
163
- return C(
159
+ function Mt(t, e) {
160
+ return x(
164
161
  /** @type {Document} */
165
162
  t.head || t,
166
163
  e
@@ -169,42 +166,42 @@ function zt(t, e) {
169
166
  function ct(t, e, n) {
170
167
  t.insertBefore(e, n || null);
171
168
  }
172
- function N(t) {
169
+ function P(t) {
173
170
  t.parentNode && t.parentNode.removeChild(t);
174
171
  }
175
172
  function xe(t, e) {
176
173
  for (let n = 0; n < t.length; n += 1)
177
174
  t[n] && t[n].d(e);
178
175
  }
179
- function x(t) {
176
+ function v(t) {
180
177
  return document.createElement(t);
181
178
  }
182
- function _t(t) {
179
+ function mt(t) {
183
180
  return document.createElementNS("http://www.w3.org/2000/svg", t);
184
181
  }
185
- function Mt(t) {
182
+ function Lt(t) {
186
183
  return document.createTextNode(t);
187
184
  }
188
185
  function tt() {
189
- return Mt(" ");
186
+ return Lt(" ");
190
187
  }
191
- function Ee() {
192
- return Mt("");
188
+ function ve() {
189
+ return Lt("");
193
190
  }
194
191
  function G(t, e, n, s) {
195
192
  return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
196
193
  }
197
- function ze(t) {
194
+ function Ee(t) {
198
195
  return function(e) {
199
196
  return e.preventDefault(), t.call(this, e);
200
197
  };
201
198
  }
202
- function _(t, e, n) {
199
+ function m(t, e, n) {
203
200
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
204
201
  }
205
202
  function Me(t, e, n) {
206
203
  const s = e.toLowerCase();
207
- s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : _(t, e, n);
204
+ s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : m(t, e, n);
208
205
  }
209
206
  function Le(t) {
210
207
  return t === "" ? null : +t;
@@ -236,7 +233,7 @@ function Jt() {
236
233
  }
237
234
  function Se(t, e) {
238
235
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
239
- const s = x("iframe");
236
+ const s = v("iframe");
240
237
  s.setAttribute(
241
238
  "style",
242
239
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -252,14 +249,14 @@ function Se(t, e) {
252
249
  }
253
250
  )) : (s.src = "about:blank", s.onload = () => {
254
251
  i = G(s.contentWindow, "resize", e), e();
255
- }), C(t, s), () => {
256
- (r || i && s.contentWindow) && i(), N(s);
252
+ }), x(t, s), () => {
253
+ (r || i && s.contentWindow) && i(), P(s);
257
254
  };
258
255
  }
259
256
  function Ae(t, e, n) {
260
257
  t.classList.toggle(e, !!n);
261
258
  }
262
- function Lt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
259
+ function kt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
263
260
  return new CustomEvent(t, { detail: e, bubbles: n, cancelable: s });
264
261
  }
265
262
  function Vt(t) {
@@ -282,13 +279,13 @@ function Kt(t, e) {
282
279
  const n = { stylesheet: Ft(e), rules: {} };
283
280
  return K.set(t, n), n;
284
281
  }
285
- function mt(t, e, n, s, r, i, l, o = 0) {
282
+ function _t(t, e, n, s, r, i, l, o = 0) {
286
283
  const u = 16.666 / s;
287
284
  let c = `{
288
285
  `;
289
286
  for (let g = 0; g <= 1; g += u) {
290
- const m = e + (n - e) * i(g);
291
- c += g * 100 + `%{${l(m, 1 - m)}}
287
+ const _ = e + (n - e) * i(g);
288
+ c += g * 100 + `%{${l(_, 1 - _)}}
292
289
  `;
293
290
  }
294
291
  const p = c + `100% {${l(n, 1 - n)}}
@@ -302,13 +299,13 @@ function Qt(t, e) {
302
299
  e ? (i) => i.indexOf(e) < 0 : (i) => i.indexOf("__svelte") === -1
303
300
  // remove all Svelte animations
304
301
  ), r = n.length - s.length;
305
- r && (t.style.animation = s.join(", "), Q -= r, Q || Xt());
302
+ r && (t.style.animation = s.join(", "), Q -= r, Q || Zt());
306
303
  }
307
- function Xt() {
304
+ function Zt() {
308
305
  rt(() => {
309
306
  Q || (K.forEach((t) => {
310
307
  const { ownerNode: e } = t.stylesheet;
311
- e && N(e);
308
+ e && P(e);
312
309
  }), K.clear());
313
310
  });
314
311
  }
@@ -326,12 +323,12 @@ function Ne(t) {
326
323
  function Pe(t) {
327
324
  ut().$$.on_destroy.push(t);
328
325
  }
329
- function Be() {
326
+ function ze() {
330
327
  const t = ut();
331
328
  return (e, n, { cancelable: s = !1 } = {}) => {
332
329
  const r = t.$$.callbacks[e];
333
330
  if (r) {
334
- const i = Lt(
331
+ const i = kt(
335
332
  /** @type {string} */
336
333
  e,
337
334
  n,
@@ -344,65 +341,65 @@ function Be() {
344
341
  return !0;
345
342
  };
346
343
  }
347
- const O = [], st = [];
348
- let A = [];
349
- const pt = [], Zt = /* @__PURE__ */ Promise.resolve();
344
+ const S = [], st = [];
345
+ let N = [];
346
+ const pt = [], Xt = /* @__PURE__ */ Promise.resolve();
350
347
  let it = !1;
351
348
  function Yt() {
352
- it || (it = !0, Zt.then(Z));
349
+ it || (it = !0, Xt.then(X));
353
350
  }
354
- function X(t) {
355
- A.push(t);
351
+ function Z(t) {
352
+ N.push(t);
356
353
  }
357
354
  const et = /* @__PURE__ */ new Set();
358
- let j = 0;
359
- function Z() {
360
- if (j !== 0)
355
+ let O = 0;
356
+ function X() {
357
+ if (O !== 0)
361
358
  return;
362
359
  const t = R;
363
360
  do {
364
361
  try {
365
- for (; j < O.length; ) {
366
- const e = O[j];
367
- j++, T(e), te(e.$$);
362
+ for (; O < S.length; ) {
363
+ const e = S[O];
364
+ O++, T(e), te(e.$$);
368
365
  }
369
366
  } catch (e) {
370
- throw O.length = 0, j = 0, e;
367
+ throw S.length = 0, O = 0, e;
371
368
  }
372
- for (T(null), O.length = 0, j = 0; st.length; ) st.pop()();
373
- for (let e = 0; e < A.length; e += 1) {
374
- const n = A[e];
369
+ for (T(null), S.length = 0, O = 0; st.length; ) st.pop()();
370
+ for (let e = 0; e < N.length; e += 1) {
371
+ const n = N[e];
375
372
  et.has(n) || (et.add(n), n());
376
373
  }
377
- A.length = 0;
378
- } while (O.length);
374
+ N.length = 0;
375
+ } while (S.length);
379
376
  for (; pt.length; )
380
377
  pt.pop()();
381
378
  it = !1, et.clear(), T(t);
382
379
  }
383
380
  function te(t) {
384
381
  if (t.fragment !== null) {
385
- t.update(), k(t.before_update);
382
+ t.update(), j(t.before_update);
386
383
  const e = t.dirty;
387
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(X);
384
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Z);
388
385
  }
389
386
  }
390
387
  function ee(t) {
391
388
  const e = [], n = [];
392
- A.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), A = e;
389
+ N.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), N = e;
393
390
  }
394
- let P;
391
+ let z;
395
392
  function ne() {
396
- return P || (P = Promise.resolve(), P.then(() => {
397
- P = null;
398
- })), P;
393
+ return z || (z = Promise.resolve(), z.then(() => {
394
+ z = null;
395
+ })), z;
399
396
  }
400
397
  function nt(t, e, n) {
401
- t.dispatchEvent(Lt(`${e ? "intro" : "outro"}${n}`));
398
+ t.dispatchEvent(kt(`${e ? "intro" : "outro"}${n}`));
402
399
  }
403
400
  const J = /* @__PURE__ */ new Set();
404
401
  let E;
405
- function Te() {
402
+ function Be() {
406
403
  E = {
407
404
  r: 0,
408
405
  c: [],
@@ -410,8 +407,8 @@ function Te() {
410
407
  // parent group
411
408
  };
412
409
  }
413
- function Re() {
414
- E.r || k(E.c), E = E.p;
410
+ function Te() {
411
+ E.r || j(E.c), E = E.p;
415
412
  }
416
413
  function B(t, e) {
417
414
  t && t.i && (J.delete(t), t.i(e));
@@ -425,7 +422,7 @@ function U(t, e, n, s) {
425
422
  } else s && s();
426
423
  }
427
424
  const se = { duration: 0 };
428
- function De(t, e, n, s) {
425
+ function Re(t, e, n, s) {
429
426
  let i = e(t, n, { direction: "both" }), l = s ? 0 : 1, o = null, u = null, c = null, p;
430
427
  function $() {
431
428
  c && Qt(t, c);
@@ -449,29 +446,29 @@ function De(t, e, n, s) {
449
446
  const {
450
447
  delay: h = 0,
451
448
  duration: g = 300,
452
- easing: m = Bt,
453
- tick: M = L,
454
- css: z
455
- } = i || se, w = {
449
+ easing: _ = Bt,
450
+ tick: L = k,
451
+ css: M
452
+ } = i || se, b = {
456
453
  start: Ht() + h,
457
454
  b: d
458
455
  };
459
- d || (w.group = E, E.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
460
- t.inert, t.inert = !0)), o || u ? u = w : (z && ($(), c = mt(t, l, d, g, h, m, z)), d && M(0, 1), o = y(w, g), X(() => nt(t, d, "start")), It((a) => {
461
- if (u && a > u.start && (o = y(u, g), u = null, nt(t, o.b, "start"), z && ($(), c = mt(
456
+ d || (b.group = E, E.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
457
+ t.inert, t.inert = !0)), o || u ? u = b : (M && ($(), c = _t(t, l, d, g, h, _, M)), d && L(0, 1), o = y(b, g), Z(() => nt(t, d, "start")), It((a) => {
458
+ if (u && a > u.start && (o = y(u, g), u = null, nt(t, o.b, "start"), M && ($(), c = _t(
462
459
  t,
463
460
  l,
464
461
  o.b,
465
462
  o.duration,
466
463
  0,
467
- m,
464
+ _,
468
465
  i.css
469
466
  ))), o) {
470
467
  if (a >= o.end)
471
- M(l = o.b, 1 - l), nt(t, o.b, "end"), u || (o.b ? $() : --o.group.r || k(o.group.c)), o = null;
468
+ L(l = o.b, 1 - l), nt(t, o.b, "end"), u || (o.b ? $() : --o.group.r || j(o.group.c)), o = null;
472
469
  else if (a >= o.start) {
473
- const b = a - o.start;
474
- l = o.a + o.d * m(b / o.duration), M(l, 1 - l);
470
+ const w = a - o.start;
471
+ l = o.a + o.d * _(w / o.duration), L(l, 1 - l);
475
472
  }
476
473
  }
477
474
  return !!(o || u);
@@ -488,22 +485,22 @@ function De(t, e, n, s) {
488
485
  }
489
486
  };
490
487
  }
491
- function We(t) {
488
+ function De(t) {
492
489
  return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
493
490
  }
494
491
  function ie(t, e, n) {
495
492
  const { fragment: s, after_update: r } = t.$$;
496
- s && s.m(e, n), X(() => {
497
- const i = t.$$.on_mount.map(vt).filter(ot);
498
- t.$$.on_destroy ? t.$$.on_destroy.push(...i) : k(i), t.$$.on_mount = [];
499
- }), r.forEach(X);
493
+ s && s.m(e, n), Z(() => {
494
+ const i = t.$$.on_mount.map(Ct).filter(ot);
495
+ t.$$.on_destroy ? t.$$.on_destroy.push(...i) : j(i), t.$$.on_mount = [];
496
+ }), r.forEach(Z);
500
497
  }
501
498
  function oe(t, e) {
502
499
  const n = t.$$;
503
- n.fragment !== null && (ee(n.after_update), k(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
500
+ n.fragment !== null && (ee(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
504
501
  }
505
502
  function re(t, e) {
506
- t.$$.dirty[0] === -1 && (O.push(t), Yt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
503
+ t.$$.dirty[0] === -1 && (S.push(t), Yt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
507
504
  }
508
505
  function le(t, e, n, s, r, i, l = null, o = [-1]) {
509
506
  const u = R;
@@ -513,7 +510,7 @@ function le(t, e, n, s, r, i, l = null, o = [-1]) {
513
510
  ctx: [],
514
511
  // state
515
512
  props: i,
516
- update: L,
513
+ update: k,
517
514
  not_equal: r,
518
515
  bound: $t(),
519
516
  // lifecycle
@@ -534,38 +531,38 @@ function le(t, e, n, s, r, i, l = null, o = [-1]) {
534
531
  if (c.ctx = n ? n(t, e.props || {}, ($, y, ...f) => {
535
532
  const d = f.length ? f[0] : y;
536
533
  return c.ctx && r(c.ctx[$], c.ctx[$] = d) && (!c.skip_bound && c.bound[$] && c.bound[$](d), p && re(t, $)), y;
537
- }) : [], c.update(), p = !0, k(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
534
+ }) : [], c.update(), p = !0, j(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
538
535
  if (e.hydrate) {
539
536
  const $ = Ut(e.target);
540
- c.fragment && c.fragment.l($), $.forEach(N);
537
+ c.fragment && c.fragment.l($), $.forEach(P);
541
538
  } else
542
539
  c.fragment && c.fragment.c();
543
- e.intro && B(t.$$.fragment), ie(t, e.target, e.anchor), Z();
540
+ e.intro && B(t.$$.fragment), ie(t, e.target, e.anchor), X();
544
541
  }
545
542
  T(u);
546
543
  }
547
- let kt;
548
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
544
+ let jt;
545
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
549
546
  constructor(e, n, s) {
550
547
  super();
551
548
  /** The Svelte component constructor */
552
- v(this, "$$ctor");
549
+ C(this, "$$ctor");
553
550
  /** Slots */
554
- v(this, "$$s");
551
+ C(this, "$$s");
555
552
  /** The Svelte component instance */
556
- v(this, "$$c");
553
+ C(this, "$$c");
557
554
  /** Whether or not the custom element is connected */
558
- v(this, "$$cn", !1);
555
+ C(this, "$$cn", !1);
559
556
  /** Component props data */
560
- v(this, "$$d", {});
557
+ C(this, "$$d", {});
561
558
  /** `true` if currently in the process of reflecting component props back to attributes */
562
- v(this, "$$r", !1);
559
+ C(this, "$$r", !1);
563
560
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
564
- v(this, "$$p_d", {});
561
+ C(this, "$$p_d", {});
565
562
  /** @type {Record<string, Function[]>} Event listeners */
566
- v(this, "$$l", {});
563
+ C(this, "$$l", {});
567
564
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
568
- v(this, "$$l_u", /* @__PURE__ */ new Map());
565
+ C(this, "$$l_u", /* @__PURE__ */ new Map());
569
566
  this.$$ctor = e, this.$$s = n, s && this.attachShadow({ mode: "open" });
570
567
  }
571
568
  addEventListener(e, n, s) {
@@ -589,7 +586,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
589
586
  let l;
590
587
  return {
591
588
  c: function() {
592
- l = x("slot"), i !== "default" && _(l, "name", i);
589
+ l = v("slot"), i !== "default" && m(l, "name", i);
593
590
  },
594
591
  /**
595
592
  * @param {HTMLElement} target
@@ -599,7 +596,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
599
596
  ct(c, l, p);
600
597
  },
601
598
  d: function(c) {
602
- c && N(l);
599
+ c && P(l);
603
600
  }
604
601
  };
605
602
  };
@@ -696,7 +693,7 @@ function V(t, e, n, s) {
696
693
  }
697
694
  }
698
695
  function ce(t, e, n, s, r, i) {
699
- let l = class extends kt {
696
+ let l = class extends jt {
700
697
  constructor() {
701
698
  super(t, n, r), this.$$p_d = e;
702
699
  }
@@ -735,7 +732,7 @@ class ue {
735
732
  *
736
733
  * @type {any}
737
734
  */
738
- v(this, "$$");
735
+ C(this, "$$");
739
736
  /**
740
737
  * ### PRIVATE API
741
738
  *
@@ -743,11 +740,11 @@ class ue {
743
740
  *
744
741
  * @type {any}
745
742
  */
746
- v(this, "$$set");
743
+ C(this, "$$set");
747
744
  }
748
745
  /** @returns {void} */
749
746
  $destroy() {
750
- oe(this, 1), this.$destroy = L;
747
+ oe(this, 1), this.$destroy = k;
751
748
  }
752
749
  /**
753
750
  * @template {Extract<keyof Events, string>} K
@@ -757,7 +754,7 @@ class ue {
757
754
  */
758
755
  $on(e, n) {
759
756
  if (!ot(n))
760
- return L;
757
+ return k;
761
758
  const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
762
759
  return s.push(n), () => {
763
760
  const r = s.indexOf(n);
@@ -775,21 +772,21 @@ class ue {
775
772
  const ae = "4";
776
773
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ae);
777
774
  function fe(t) {
778
- qt(t, "svelte-8szw87", ".svelte-8szw87,.svelte-8szw87::before,.svelte-8szw87::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow.svelte-8szw87{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(255, 255, 255, 0.5))}.CashierModalContainer.svelte-8szw87{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.svelte-8szw87{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:normal;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn.svelte-8szw87{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.svelte-8szw87{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}");
775
+ qt(t, "svelte-tf74md", "*,*::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(255, 255, 255, 0.5))}.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)}}");
779
776
  }
780
- const de = (t) => ({}), gt = (t) => ({}), he = (t) => ({}), yt = (t) => ({}), $e = (t) => ({}), wt = (t) => ({ class: "CashierModalText svelte-8szw87" }), _e = (t) => ({}), bt = (t) => ({ class: "CashierModalTitle svelte-8szw87" });
781
- function me(t) {
777
+ const de = (t) => ({}), gt = (t) => ({}), he = (t) => ({}), yt = (t) => ({}), $e = (t) => ({}), bt = (t) => ({ class: "CashierModalText" }), me = (t) => ({}), wt = (t) => ({ class: "CashierModalTitle" });
778
+ function _e(t) {
782
779
  let e, n;
783
780
  return {
784
781
  c() {
785
- 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"), _(n, "class", "svelte-8szw87"), _(e, "xmlns", "http://www.w3.org/2000/svg"), _(e, "width", "13"), _(e, "height", "20"), _(e, "viewBox", "0 0 13 13"), _(e, "fill", "none"), _(e, "class", "svelte-8szw87");
782
+ e = mt("svg"), n = mt("path"), m(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"), m(n, "fill", "#111111"), m(e, "xmlns", "http://www.w3.org/2000/svg"), m(e, "width", "13"), m(e, "height", "20"), m(e, "viewBox", "0 0 13 13"), m(e, "fill", "none");
786
783
  },
787
784
  m(s, r) {
788
- ct(s, e, r), C(e, n);
785
+ ct(s, e, r), x(e, n);
789
786
  },
790
- p: L,
787
+ p: k,
791
788
  d(s) {
792
- s && N(e);
789
+ s && P(e);
793
790
  }
794
791
  };
795
792
  }
@@ -803,7 +800,7 @@ function pe(t) {
803
800
  t,
804
801
  /*$$scope*/
805
802
  t[5],
806
- bt
803
+ wt
807
804
  ), d = (
808
805
  /*#slots*/
809
806
  t[6].text
@@ -812,32 +809,32 @@ function pe(t) {
812
809
  t,
813
810
  /*$$scope*/
814
811
  t[5],
815
- wt
812
+ bt
816
813
  ), g = (
817
814
  /*#slots*/
818
815
  t[6].confirm
819
- ), m = W(
816
+ ), _ = W(
820
817
  g,
821
818
  t,
822
819
  /*$$scope*/
823
820
  t[5],
824
821
  yt
825
- ), M = (
822
+ ), L = (
826
823
  /*#slots*/
827
824
  t[6].close
828
- ), z = W(
829
- M,
825
+ ), M = W(
826
+ L,
830
827
  t,
831
828
  /*$$scope*/
832
829
  t[5],
833
830
  gt
834
- ), w = z || me();
831
+ ), b = M || _e();
835
832
  return {
836
833
  c() {
837
- e = x("div"), n = x("div"), s = x("div"), f && f.c(), r = tt(), h && h.c(), i = tt(), l = x("span"), m && m.c(), o = tt(), u = x("span"), w && w.c(), _(l, "class", "ModalOkBtn svelte-8szw87"), _(l, "role", "button"), _(u, "class", "ModalCloseBtn svelte-8szw87"), _(u, "role", "button"), _(s, "class", "CashierModalContainer svelte-8szw87"), _(s, "part", "CashierModalContainer"), _(n, "class", "CashierModalWindow svelte-8szw87"), _(n, "part", "CashierModalWindow"), _(n, "id", "Modal"), _(e, "part", "CustomStylingContainer"), _(e, "class", "svelte-8szw87");
834
+ e = v("div"), n = v("div"), s = v("div"), f && f.c(), r = tt(), h && h.c(), i = tt(), l = v("span"), _ && _.c(), o = tt(), u = v("span"), b && b.c(), m(l, "class", "ModalOkBtn"), m(l, "role", "button"), m(u, "class", "ModalCloseBtn"), m(u, "role", "button"), m(s, "class", "CashierModalContainer"), m(s, "part", "CashierModalContainer"), m(n, "class", "CashierModalWindow"), m(n, "part", "CashierModalWindow"), m(n, "id", "Modal"), m(e, "part", "CustomStylingContainer");
838
835
  },
839
- m(a, b) {
840
- 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), w && w.m(u, null), t[7](e), c = !0, p || ($ = [
836
+ m(a, w) {
837
+ 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(l, null), x(s, o), x(s, u), b && b.m(u, null), t[7](e), c = !0, p || ($ = [
841
838
  G(
842
839
  l,
843
840
  "click",
@@ -852,8 +849,8 @@ function pe(t) {
852
849
  )
853
850
  ], p = !0);
854
851
  },
855
- p(a, [b]) {
856
- f && f.p && (!c || b & /*$$scope*/
852
+ p(a, [w]) {
853
+ f && f.p && (!c || w & /*$$scope*/
857
854
  32) && I(
858
855
  f,
859
856
  y,
@@ -864,14 +861,14 @@ function pe(t) {
864
861
  y,
865
862
  /*$$scope*/
866
863
  a[5],
867
- b,
868
- _e
864
+ w,
865
+ me
869
866
  ) : q(
870
867
  /*$$scope*/
871
868
  a[5]
872
869
  ),
873
- bt
874
- ), h && h.p && (!c || b & /*$$scope*/
870
+ wt
871
+ ), h && h.p && (!c || w & /*$$scope*/
875
872
  32) && I(
876
873
  h,
877
874
  d,
@@ -882,16 +879,16 @@ function pe(t) {
882
879
  d,
883
880
  /*$$scope*/
884
881
  a[5],
885
- b,
882
+ w,
886
883
  $e
887
884
  ) : q(
888
885
  /*$$scope*/
889
886
  a[5]
890
887
  ),
891
- wt
892
- ), m && m.p && (!c || b & /*$$scope*/
888
+ bt
889
+ ), _ && _.p && (!c || w & /*$$scope*/
893
890
  32) && I(
894
- m,
891
+ _,
895
892
  g,
896
893
  a,
897
894
  /*$$scope*/
@@ -900,25 +897,25 @@ function pe(t) {
900
897
  g,
901
898
  /*$$scope*/
902
899
  a[5],
903
- b,
900
+ w,
904
901
  he
905
902
  ) : q(
906
903
  /*$$scope*/
907
904
  a[5]
908
905
  ),
909
906
  yt
910
- ), z && z.p && (!c || b & /*$$scope*/
907
+ ), M && M.p && (!c || w & /*$$scope*/
911
908
  32) && I(
912
- z,
913
909
  M,
910
+ L,
914
911
  a,
915
912
  /*$$scope*/
916
913
  a[5],
917
914
  c ? H(
918
- M,
915
+ L,
919
916
  /*$$scope*/
920
917
  a[5],
921
- b,
918
+ w,
922
919
  de
923
920
  ) : q(
924
921
  /*$$scope*/
@@ -928,13 +925,13 @@ function pe(t) {
928
925
  );
929
926
  },
930
927
  i(a) {
931
- c || (B(f, a), B(h, a), B(m, a), B(w, a), c = !0);
928
+ c || (B(f, a), B(h, a), B(_, a), B(b, a), c = !0);
932
929
  },
933
930
  o(a) {
934
- U(f, a), U(h, a), U(m, a), U(w, a), c = !1;
931
+ U(f, a), U(h, a), U(_, a), U(b, a), c = !1;
935
932
  },
936
933
  d(a) {
937
- a && N(e), f && f.d(a), h && h.d(a), m && m.d(a), w && w.d(a), t[7](null), p = !1, k($);
934
+ a && P(e), f && f.d(a), h && h.d(a), _ && _.d(a), b && b.d(a), t[7](null), p = !1, j($);
938
935
  }
939
936
  };
940
937
  }
@@ -995,7 +992,7 @@ function ge(t, e, n) {
995
992
  y
996
993
  ];
997
994
  }
998
- class jt extends ue {
995
+ class Ot extends ue {
999
996
  constructor(e) {
1000
997
  super(), le(this, e, ge, pe, Rt, { clientstyling: 3, clientstylingurl: 4 }, fe);
1001
998
  }
@@ -1003,69 +1000,68 @@ class jt extends ue {
1003
1000
  return this.$$.ctx[3];
1004
1001
  }
1005
1002
  set clientstyling(e) {
1006
- this.$$set({ clientstyling: e }), Z();
1003
+ this.$$set({ clientstyling: e }), X();
1007
1004
  }
1008
1005
  get clientstylingurl() {
1009
1006
  return this.$$.ctx[4];
1010
1007
  }
1011
1008
  set clientstylingurl(e) {
1012
- this.$$set({ clientstylingurl: e }), Z();
1009
+ this.$$set({ clientstylingurl: e }), X();
1013
1010
  }
1014
1011
  }
1015
- ce(jt, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1016
- const He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1012
+ ce(Ot, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1013
+ const We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1017
1014
  __proto__: null,
1018
- default: jt
1015
+ default: Ot
1019
1016
  }, Symbol.toStringTag, { value: "Module" }));
1020
1017
  export {
1021
1018
  G as A,
1022
- Te as B,
1019
+ Be as B,
1023
1020
  st as C,
1024
- we as D,
1021
+ be as D,
1025
1022
  Me as E,
1026
- Be as F,
1027
- X as G,
1023
+ ze as F,
1024
+ Z as G,
1028
1025
  Ne as H,
1029
1026
  Ce as I,
1030
1027
  Ae as J,
1031
- We as K,
1032
- ze as L,
1028
+ De as K,
1029
+ Ee as L,
1033
1030
  xe as M,
1034
1031
  Le as N,
1035
1032
  je as O,
1036
- _t as P,
1033
+ mt as P,
1037
1034
  Oe as Q,
1038
1035
  Bt as R,
1039
1036
  ue as S,
1040
1037
  Se as T,
1041
- De as U,
1042
- ve as V,
1043
- Pe as W,
1044
- He as X,
1038
+ Re as U,
1039
+ Pe as V,
1040
+ We as W,
1045
1041
  Rt as a,
1046
1042
  le as b,
1047
1043
  ce as c,
1048
1044
  qt as d,
1049
1045
  W as e,
1050
- Z as f,
1051
- x as g,
1046
+ X as f,
1047
+ v as g,
1052
1048
  tt as h,
1053
1049
  ot as i,
1054
- _ as j,
1050
+ m as j,
1055
1051
  ct as k,
1056
- C as l,
1052
+ x as l,
1057
1053
  q as m,
1058
- L as n,
1054
+ k as n,
1059
1055
  H as o,
1060
1056
  U as p,
1061
- Re as q,
1062
- k as r,
1057
+ Te as q,
1058
+ j as r,
1063
1059
  Wt as s,
1064
1060
  B as t,
1065
1061
  I as u,
1066
- N as v,
1067
- be as w,
1068
- Ee as x,
1069
- Mt as y,
1062
+ P as v,
1063
+ we as w,
1064
+ ve as x,
1065
+ Lt as y,
1070
1066
  ke as z
1071
1067
  };