@everymatrix/cashier-page-nd 1.69.112 → 1.69.114

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 (63) hide show
  1. package/components/{CashierCarousel-D77wRYrP.js → CashierCarousel-2AotVxhB.js} +164 -160
  2. package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
  3. package/components/{CashierCarousel-8HuPK_WY.js → CashierCarousel-Cm5G9dJd.js} +171 -167
  4. package/components/{CashierError-Dnk0H5ib.js → CashierError-BkWwLoWt.js} +1 -1
  5. package/components/{CashierError-DFOslnwl.js → CashierError-CO7-9OnG.js} +1 -1
  6. package/components/{CashierError-BJv9Ma-S.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
  7. package/components/{CashierHeader-Dr5EUw02.js → CashierHeader-BOEVulz3.js} +1 -1
  8. package/components/{CashierHeader-C4luE8Rt.js → CashierHeader-CTZl2NGQ.js} +1 -1
  9. package/components/{CashierHeader-D_pRK2ix.cjs → CashierHeader-D40gryOj.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-CiTWXkv1.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-DAAmzCia.js → CashierIframeRedirect-CFYNnH6I.js} +3 -3
  12. package/components/{CashierIframeRedirect-C2UPjyTE.js → CashierIframeRedirect-DCJH25FN.js} +3 -3
  13. package/components/{CashierMethodDetails-CxzHJpNT.js → CashierMethodDetails-BMyX_gw1.js} +1601 -1589
  14. package/components/{CashierMethodDetails-C_ILvlcp.js → CashierMethodDetails-C9XAxkXj.js} +1715 -1703
  15. package/components/{CashierMethodDetails-BcL5uTl0.cjs → CashierMethodDetails-DrQFT21D.cjs} +4 -4
  16. package/components/{CashierMethodsList-CEZVckvw.cjs → CashierMethodsList-B5iJmf2H.cjs} +1 -1
  17. package/components/{CashierMethodsList-D1-4p9Fo.js → CashierMethodsList-Bv_ibzLg.js} +2 -2
  18. package/components/{CashierMethodsList-CdZFk5wU.js → CashierMethodsList-CMhStD-J.js} +2 -2
  19. package/components/CashierModal-CFRuObdk.cjs +1 -0
  20. package/components/CashierModal-DO8jl9S8.js +339 -0
  21. package/components/CashierModal-dqLBC6Mc.js +355 -0
  22. package/components/{CashierNotifications-pGgsWSdS.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
  23. package/components/{CashierNotifications-C4esiIE1.js → CashierNotifications-DvukNd9l.js} +1 -1
  24. package/components/{CashierNotifications-HbBlW919.js → CashierNotifications-h-sC7KWl.js} +1 -1
  25. package/components/{CashierPage-C13YudFK.js → CashierPage-B5dqjTcS.js} +521 -529
  26. package/components/{CashierPage-DeUqFt2E.js → CashierPage-CadLAMNb.js} +525 -533
  27. package/components/CashierPage-n3VdHZHe.cjs +1 -0
  28. package/components/{CashierReceiptPage-4EMwW_oF.cjs → CashierReceiptPage-BCMXUV5l.cjs} +1 -1
  29. package/components/{CashierReceiptPage-C1pvLNPQ.js → CashierReceiptPage-BnGfC10y.js} +2 -2
  30. package/components/{CashierReceiptPage-CzCxraC4.js → CashierReceiptPage-DsQasqQ1.js} +2 -2
  31. package/components/{CashierSessionExpirationModal-DC3xtfId.cjs → CashierSessionExpirationModal-B4dsElsz.cjs} +1 -1
  32. package/components/{CashierSessionExpirationModal-DOAn1f7Q.js → CashierSessionExpirationModal-CteEgU2Q.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-wcX6WNwx.js → CashierSessionExpirationModal-DQ-vdU5c.js} +3 -3
  34. package/components/{CashierSpinner-1V0fFMq0.js → CashierSpinner-Dc_apDAz.js} +1 -1
  35. package/components/{CashierSpinner-CPWKt5dY.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
  36. package/components/{CashierSpinner-Cx52pbwV.js → CashierSpinner-viEKbLWC.js} +1 -1
  37. package/components/CashierStepUp-BLCOLltJ.js +786 -0
  38. package/components/CashierStepUp-B_HWgCcn.cjs +1 -0
  39. package/components/CashierStepUp-CeqsqBhX.js +814 -0
  40. package/components/{CashierTransactionHistory-DnPl2II3.js → CashierTransactionHistory-DLSrBlg6.js} +5 -5
  41. package/components/{CashierTransactionHistory-CfPdd7w-.cjs → CashierTransactionHistory-DTI4In7R.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-BU9zzhMH.js → CashierTransactionHistory-PawTwNsL.js} +5 -5
  43. package/components/{CashierVerifications-Cl0o1vbf.js → CashierVerifications-CykZe2Tk.js} +2 -2
  44. package/components/{CashierVerifications-DBaC7Yq5.js → CashierVerifications-DG3022Xn.js} +2 -2
  45. package/components/{CashierVerifications-CR73ohxW.cjs → CashierVerifications-O-k0V3Ar.cjs} +1 -1
  46. package/components/{TxnStatusIcon-CmFT6r06.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C9c7Vat6.js → TxnStatusIcon-CvoyaPHp.js} +1 -1
  48. package/components/{TxnStatusIcon-CuygBt_X.js → TxnStatusIcon-DB7vrGws.js} +1 -1
  49. package/components/{TxnTypeIcons-BubLyQlU.js → TxnTypeIcons-BVU-p7ld.js} +1 -1
  50. package/components/{TxnTypeIcons-CwWZ2MoD.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-Cpt8i9KB.js → TxnTypeIcons-lKOKRAjP.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-BkoYZVP7.cjs +0 -23
  57. package/components/CashierModal-CJf0aCey.cjs +0 -1
  58. package/components/CashierModal-Cpef67LD.js +0 -239
  59. package/components/CashierModal-VPZkXwtJ.js +0 -239
  60. package/components/CashierPage-8PVbLGah.cjs +0 -1
  61. package/components/CashierStepUp-BNqTmvl4.js +0 -806
  62. package/components/CashierStepUp-BjwtpF-p.cjs +0 -1
  63. package/components/CashierStepUp-DviaUrBF.js +0 -834
@@ -1,7 +1,7 @@
1
1
  function O() {
2
2
  }
3
3
  const It = (e) => e;
4
- function mn(e, t) {
4
+ function gn(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -28,7 +28,7 @@ let Ie;
28
28
  function Xt(e, t) {
29
29
  return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
30
30
  }
31
- function bn(e) {
31
+ function yn(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
34
  function Hr(e, ...t) {
@@ -40,7 +40,7 @@ function Hr(e, ...t) {
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function gn(e, t, r) {
43
+ function vn(e, t, r) {
44
44
  e.$$.on_destroy.push(Hr(t, r));
45
45
  }
46
46
  function ns(e, t, r, n) {
@@ -50,7 +50,7 @@ function ns(e, t, r, n) {
50
50
  }
51
51
  }
52
52
  function Pr(e, t, r, n) {
53
- return e[1] && n ? mn(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
+ return e[1] && n ? gn(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function is(e, t, r, n) {
56
56
  if (e[2] && n) {
@@ -111,7 +111,7 @@ const us = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis :
111
111
  function x(e, t) {
112
112
  e.appendChild(t);
113
113
  }
114
- function yn(e, t, r) {
114
+ function _n(e, t, r) {
115
115
  const n = Ut(e);
116
116
  if (!n.getElementById(t)) {
117
117
  const i = H("style");
@@ -128,7 +128,7 @@ function Ut(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function vn(e) {
131
+ function En(e) {
132
132
  const t = H("style");
133
133
  return t.textContent = "/* empty */", Ar(Ut(e), t), t.sheet;
134
134
  }
@@ -182,7 +182,7 @@ function fs(e, t, r) {
182
182
  function ps(e) {
183
183
  return e === "" ? null : +e;
184
184
  }
185
- function _n(e) {
185
+ function xn(e) {
186
186
  return Array.from(e.childNodes);
187
187
  }
188
188
  function Z(e, t) {
@@ -193,7 +193,7 @@ function ds(e, t) {
193
193
  e.value = t ?? "";
194
194
  }
195
195
  let Re;
196
- function En() {
196
+ function wn() {
197
197
  if (Re === void 0) {
198
198
  Re = !1;
199
199
  try {
@@ -204,14 +204,14 @@ function En() {
204
204
  }
205
205
  return Re;
206
206
  }
207
- function xn(e, t) {
207
+ function Sn(e, t) {
208
208
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
209
209
  const n = H("iframe");
210
210
  n.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
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
214
- const i = En();
214
+ const i = wn();
215
215
  let o;
216
216
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = K(
217
217
  window,
@@ -229,10 +229,10 @@ function xn(e, t) {
229
229
  function ms(e, t, r) {
230
230
  e.classList.toggle(t, !!r);
231
231
  }
232
- function wn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
232
+ function Tn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
234
234
  }
235
- function Sn(e) {
235
+ function Hn(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -243,14 +243,14 @@ function Sn(e) {
243
243
  }
244
244
  const ze = /* @__PURE__ */ new Map();
245
245
  let Ze = 0;
246
- function Tn(e) {
246
+ function Pn(e) {
247
247
  let t = 5381, r = e.length;
248
248
  for (; r--; )
249
249
  t = (t << 5) - t ^ e.charCodeAt(r);
250
250
  return t >>> 0;
251
251
  }
252
- function Hn(e, t) {
253
- const r = { stylesheet: vn(t), rules: {} };
252
+ function Mn(e, t) {
253
+ const r = { stylesheet: En(t), rules: {} };
254
254
  return ze.set(e, r), r;
255
255
  }
256
256
  function Ye(e, t, r, n, i, o, a, s = 0) {
@@ -263,7 +263,7 @@ function Ye(e, t, r, n, i, o, a, s = 0) {
263
263
  `;
264
264
  }
265
265
  const h = l + `100% {${a(r, 1 - r)}}
266
- }`, d = `__svelte_${Tn(h)}_${s}`, c = Ut(e), { stylesheet: b, rules: f } = ze.get(c) || Hn(c, e);
266
+ }`, d = `__svelte_${Pn(h)}_${s}`, c = Ut(e), { stylesheet: b, rules: f } = ze.get(c) || Mn(c, e);
267
267
  f[d] || (f[d] = !0, b.insertRule(`@keyframes ${d} ${h}`, b.cssRules.length));
268
268
  const p = e.style.animation || "";
269
269
  return e.style.animation = `${p ? `${p}, ` : ""}${d} ${n}ms linear ${i}ms 1 both`, Ze += 1, d;
@@ -273,9 +273,9 @@ function Je(e, t) {
273
273
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), i = r.length - n.length;
276
- i && (e.style.animation = n.join(", "), Ze -= i, Ze || Pn());
276
+ i && (e.style.animation = n.join(", "), Ze -= i, Ze || Cn());
277
277
  }
278
- function Pn() {
278
+ function Cn() {
279
279
  Dt(() => {
280
280
  Ze || (ze.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
@@ -292,7 +292,7 @@ function Br() {
292
292
  throw new Error("Function called outside component initialization");
293
293
  return He;
294
294
  }
295
- function Mn(e) {
295
+ function An(e) {
296
296
  Br().$$.on_mount.push(e);
297
297
  }
298
298
  function bs(e) {
@@ -300,10 +300,13 @@ function bs(e) {
300
300
  }
301
301
  const le = [], Ke = [];
302
302
  let ce = [];
303
- const Zt = [], Cn = /* @__PURE__ */ Promise.resolve();
303
+ const Zt = [], Or = /* @__PURE__ */ Promise.resolve();
304
304
  let gt = !1;
305
- function An() {
306
- gt || (gt = !0, Cn.then($));
305
+ function Lr() {
306
+ gt || (gt = !0, Or.then($));
307
+ }
308
+ function gs() {
309
+ return Lr(), Or;
307
310
  }
308
311
  function re(e) {
309
312
  ce.push(e);
@@ -353,11 +356,11 @@ function Gt() {
353
356
  })), Ee;
354
357
  }
355
358
  function te(e, t, r) {
356
- e.dispatchEvent(wn(`${t ? "intro" : "outro"}${r}`));
359
+ e.dispatchEvent(Tn(`${t ? "intro" : "outro"}${r}`));
357
360
  }
358
361
  const je = /* @__PURE__ */ new Set();
359
362
  let W;
360
- function gs() {
363
+ function ys() {
361
364
  W = {
362
365
  r: 0,
363
366
  c: [],
@@ -365,13 +368,13 @@ function gs() {
365
368
  // parent group
366
369
  };
367
370
  }
368
- function ys() {
371
+ function vs() {
369
372
  W.r || z(W.c), W = W.p;
370
373
  }
371
- function Or(e, t) {
374
+ function Nr(e, t) {
372
375
  e && e.i && (je.delete(e), e.i(t));
373
376
  }
374
- function vs(e, t, r, n) {
377
+ function _s(e, t, r, n) {
375
378
  if (e && e.o) {
376
379
  if (je.has(e))
377
380
  return;
@@ -382,7 +385,7 @@ function vs(e, t, r, n) {
382
385
  n && n();
383
386
  }
384
387
  const Ft = { duration: 0 };
385
- function _s(e, t, r) {
388
+ function Es(e, t, r) {
386
389
  const n = { direction: "in" };
387
390
  let i = t(e, r, n), o = !1, a, s, u = 0;
388
391
  function l() {
@@ -423,7 +426,7 @@ function _s(e, t, r) {
423
426
  }
424
427
  };
425
428
  }
426
- function Es(e, t, r) {
429
+ function xs(e, t, r) {
427
430
  const n = { direction: "out" };
428
431
  let i = t(e, r, n), o = !0, a;
429
432
  const s = W;
@@ -460,7 +463,7 @@ function Es(e, t, r) {
460
463
  }
461
464
  };
462
465
  }
463
- function xs(e, t, r, n) {
466
+ function ws(e, t, r, n) {
464
467
  let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
465
468
  function d() {
466
469
  l && Je(e, l);
@@ -526,10 +529,10 @@ function xs(e, t, r, n) {
526
529
  function De(e) {
527
530
  return e?.length !== void 0 ? e : Array.from(e);
528
531
  }
529
- function ws(e, t) {
532
+ function Ss(e, t) {
530
533
  e.d(1), t.delete(e.key);
531
534
  }
532
- function Ss(e, t, r, n, i, o, a, s, u, l, h, d) {
535
+ function Ts(e, t, r, n, i, o, a, s, u, l, h, d) {
533
536
  let c = e.length, b = o.length, f = c;
534
537
  const p = {};
535
538
  for (; f--; )
@@ -542,7 +545,7 @@ function Ss(e, t, r, n, i, o, a, s, u, l, h, d) {
542
545
  }
543
546
  const m = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
544
547
  function L(P) {
545
- Or(P, 1), P.m(s, h), a.set(P.key, P), h = P.first, b--;
548
+ Nr(P, 1), P.m(s, h), a.set(P.key, P), h = P.first, b--;
546
549
  }
547
550
  for (; c && b; ) {
548
551
  const P = v[b - 1], B = e[c - 1], N = P.key, j = B.key;
@@ -556,7 +559,7 @@ function Ss(e, t, r, n, i, o, a, s, u, l, h, d) {
556
559
  L(v[b - 1]);
557
560
  return z(E), v;
558
561
  }
559
- function Ts(e) {
562
+ function Hs(e) {
560
563
  e && e.c();
561
564
  }
562
565
  function Ln(e, t, r) {
@@ -571,7 +574,7 @@ function Nn(e, t) {
571
574
  r.fragment !== null && (On(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
572
575
  }
573
576
  function In(e, t) {
574
- e.$$.dirty[0] === -1 && (le.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
577
+ e.$$.dirty[0] === -1 && (le.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
575
578
  }
576
579
  function Rn(e, t, r, n, i, o, a = null, s = [-1]) {
577
580
  const u = He;
@@ -604,16 +607,16 @@ function Rn(e, t, r, n, i, o, a = null, s = [-1]) {
604
607
  return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), h && In(e, d)), c;
605
608
  }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
606
609
  if (t.hydrate) {
607
- const d = _n(t.target);
610
+ const d = xn(t.target);
608
611
  l.fragment && l.fragment.l(d), d.forEach(D);
609
612
  } else
610
613
  l.fragment && l.fragment.c();
611
- t.intro && Or(e.$$.fragment), Ln(e, t.target, t.anchor), $();
614
+ t.intro && Nr(e.$$.fragment), Ln(e, t.target, t.anchor), $();
612
615
  }
613
616
  Te(u);
614
617
  }
615
- let Lr;
616
- typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
618
+ let Ir;
619
+ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
617
620
  /** The Svelte component constructor */
618
621
  $$ctor;
619
622
  /** Slots */
@@ -672,7 +675,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
672
675
  };
673
676
  if (await Promise.resolve(), !this.$$cn || this.$$c)
674
677
  return;
675
- const t = {}, r = Sn(this);
678
+ const t = {}, r = Hn(this);
676
679
  for (const i of this.$$s)
677
680
  i in r && (t[i] = [e(i)]);
678
681
  for (const i of this.attributes) {
@@ -760,7 +763,7 @@ function ke(e, t, r, n) {
760
763
  }
761
764
  }
762
765
  function Dn(e, t, r, n, i, o) {
763
- let a = class extends Lr {
766
+ let a = class extends Ir {
764
767
  constructor() {
765
768
  super(e, r, i), this.$$p_d = t;
766
769
  }
@@ -829,7 +832,7 @@ class $n {
829
832
  * @returns {void}
830
833
  */
831
834
  $set(t) {
832
- this.$$set && !bn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
835
+ this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
833
836
  }
834
837
  }
835
838
  const Un = "4";
@@ -897,7 +900,7 @@ function ge(e, t, r) {
897
900
  };
898
901
  });
899
902
  }
900
- var Hs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
903
+ var Ps = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
901
904
  function Fn(e) {
902
905
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
903
906
  }
@@ -940,7 +943,7 @@ function Kn(e) {
940
943
  function Yt(e) {
941
944
  return Object.keys(e).concat(Kn(e));
942
945
  }
943
- function Nr(e, t) {
946
+ function Rr(e, t) {
944
947
  try {
945
948
  return t in e;
946
949
  } catch {
@@ -948,14 +951,14 @@ function Nr(e, t) {
948
951
  }
949
952
  }
950
953
  function Qn(e, t) {
951
- return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
954
+ return Rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
952
955
  }
953
956
  function qn(e, t, r) {
954
957
  var n = {};
955
958
  return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
956
959
  n[i] = Pe(e[i], r);
957
960
  }), Yt(t).forEach(function(i) {
958
- Qn(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
961
+ Qn(e, i) || (Rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
959
962
  }), n;
960
963
  }
961
964
  function fe(e, t, r) {
@@ -1028,19 +1031,19 @@ function oi(e, t, r, n) {
1028
1031
  var i = ii(n) ? n : r(n), o = t.get(i);
1029
1032
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1030
1033
  }
1031
- function Ir(e, t, r) {
1034
+ function Dr(e, t, r) {
1032
1035
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1033
1036
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1034
1037
  }
1035
- function Rr(e, t, r, n, i) {
1038
+ function $r(e, t, r, n, i) {
1036
1039
  return r.bind(t, e, n, i);
1037
1040
  }
1038
1041
  function si(e, t) {
1039
- var r = e.length === 1 ? oi : Ir;
1040
- return Rr(e, this, r, t.cache.create(), t.serializer);
1042
+ var r = e.length === 1 ? oi : Dr;
1043
+ return $r(e, this, r, t.cache.create(), t.serializer);
1041
1044
  }
1042
1045
  function ai(e, t) {
1043
- return Rr(e, this, Ir, t.cache.create(), t.serializer);
1046
+ return $r(e, this, Dr, t.cache.create(), t.serializer);
1044
1047
  }
1045
1048
  var ui = function() {
1046
1049
  return JSON.stringify(arguments);
@@ -1090,34 +1093,34 @@ function Jt(e) {
1090
1093
  function ci(e) {
1091
1094
  return e.type === M.argument;
1092
1095
  }
1093
- function Dr(e) {
1096
+ function Ur(e) {
1094
1097
  return e.type === M.number;
1095
1098
  }
1096
- function $r(e) {
1099
+ function Gr(e) {
1097
1100
  return e.type === M.date;
1098
1101
  }
1099
- function Ur(e) {
1102
+ function Fr(e) {
1100
1103
  return e.type === M.time;
1101
1104
  }
1102
- function Gr(e) {
1105
+ function jr(e) {
1103
1106
  return e.type === M.select;
1104
1107
  }
1105
- function Fr(e) {
1108
+ function kr(e) {
1106
1109
  return e.type === M.plural;
1107
1110
  }
1108
1111
  function fi(e) {
1109
1112
  return e.type === M.pound;
1110
1113
  }
1111
- function jr(e) {
1114
+ function Vr(e) {
1112
1115
  return e.type === M.tag;
1113
1116
  }
1114
- function kr(e) {
1117
+ function Wr(e) {
1115
1118
  return !!(e && typeof e == "object" && e.type === pe.number);
1116
1119
  }
1117
1120
  function vt(e) {
1118
1121
  return !!(e && typeof e == "object" && e.type === pe.dateTime);
1119
1122
  }
1120
- var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1123
+ var Xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1121
1124
  function di(e) {
1122
1125
  var t = {};
1123
1126
  return e.replace(pi, function(r) {
@@ -1241,14 +1244,14 @@ function bi(e) {
1241
1244
  function gi(e) {
1242
1245
  return e.replace(/^(.*?)-/, "");
1243
1246
  }
1244
- var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
1247
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Zr = /^(0+)$/;
1245
1248
  function Qt(e) {
1246
1249
  var t = {};
1247
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
1250
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
1248
1251
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1249
1252
  }), t;
1250
1253
  }
1251
- function zr(e) {
1254
+ function Yr(e) {
1252
1255
  switch (e) {
1253
1256
  case "sign-auto":
1254
1257
  return {
@@ -1296,14 +1299,14 @@ function vi(e) {
1296
1299
  notation: "scientific"
1297
1300
  }, e = e.slice(1)), t) {
1298
1301
  var r = e.slice(0, 2);
1299
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
1302
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zr.test(e))
1300
1303
  throw new Error("Malformed concise eng/scientific notation");
1301
1304
  t.minimumIntegerDigits = e.length;
1302
1305
  }
1303
1306
  return t;
1304
1307
  }
1305
1308
  function qt(e) {
1306
- var t = {}, r = zr(e);
1309
+ var t = {}, r = Yr(e);
1307
1310
  return r || t;
1308
1311
  }
1309
1312
  function _i(e) {
@@ -1405,7 +1408,7 @@ function _i(e) {
1405
1408
  });
1406
1409
  continue;
1407
1410
  }
1408
- if (Xr.test(i.stem)) {
1411
+ if (Zr.test(i.stem)) {
1409
1412
  t.minimumIntegerDigits = i.stem.length;
1410
1413
  continue;
1411
1414
  }
@@ -1419,11 +1422,11 @@ function _i(e) {
1419
1422
  o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Qt(o)));
1420
1423
  continue;
1421
1424
  }
1422
- if (Wr.test(i.stem)) {
1425
+ if (zr.test(i.stem)) {
1423
1426
  t = A(A({}, t), Qt(i.stem));
1424
1427
  continue;
1425
1428
  }
1426
- var a = zr(i.stem);
1429
+ var a = Yr(i.stem);
1427
1430
  a && (t = A(A({}, t), a));
1428
1431
  var s = vi(i.stem);
1429
1432
  s && (t = A(A({}, t), s));
@@ -2883,7 +2886,7 @@ function xi(e) {
2883
2886
  var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2884
2887
  return i[0];
2885
2888
  }
2886
- var pt, wi = new RegExp("^".concat(Vr.source, "*")), Si = new RegExp("".concat(Vr.source, "*$"));
2889
+ var pt, wi = new RegExp("^".concat(Xr.source, "*")), Si = new RegExp("".concat(Xr.source, "*$"));
2887
2890
  function S(e, t) {
2888
2891
  return { start: e, end: t };
2889
2892
  }
@@ -2891,7 +2894,7 @@ var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String
2891
2894
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2892
2895
  }, _t = !0;
2893
2896
  try {
2894
- var Li = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2897
+ var Li = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2895
2898
  _t = ((pt = Li.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2896
2899
  } catch {
2897
2900
  _t = !1;
@@ -2930,7 +2933,7 @@ var er = Ti ? (
2930
2933
  return r;
2931
2934
  }
2932
2935
  )
2933
- ), Zr = Mi ? (
2936
+ ), Jr = Mi ? (
2934
2937
  // Native
2935
2938
  function(t, r) {
2936
2939
  return t.codePointAt(r);
@@ -2965,12 +2968,12 @@ var er = Ti ? (
2965
2968
  return t.replace(Si, "");
2966
2969
  }
2967
2970
  );
2968
- function Yr(e, t) {
2971
+ function Kr(e, t) {
2969
2972
  return new RegExp(e, t);
2970
2973
  }
2971
2974
  var xt;
2972
2975
  if (_t) {
2973
- var rr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2976
+ var rr = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2974
2977
  xt = function(t, r) {
2975
2978
  var n;
2976
2979
  rr.lastIndex = r;
@@ -2980,8 +2983,8 @@ if (_t) {
2980
2983
  } else
2981
2984
  xt = function(t, r) {
2982
2985
  for (var n = []; ; ) {
2983
- var i = Zr(t, r);
2984
- if (i === void 0 || Jr(i) || Ui(i))
2986
+ var i = Jr(t, r);
2987
+ if (i === void 0 || Qr(i) || Ui(i))
2985
2988
  break;
2986
2989
  n.push(i), r += i >= 65536 ? 2 : 1;
2987
2990
  }
@@ -3389,7 +3392,7 @@ var Ri = (
3389
3392
  var t = this.position.offset;
3390
3393
  if (t >= this.message.length)
3391
3394
  throw Error("out of bound");
3392
- var r = Zr(this.message, t);
3395
+ var r = Jr(this.message, t);
3393
3396
  if (r === void 0)
3394
3397
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3395
3398
  return r;
@@ -3430,7 +3433,7 @@ var Ri = (
3430
3433
  break;
3431
3434
  }
3432
3435
  }, e.prototype.bumpSpace = function() {
3433
- for (; !this.isEOF() && Jr(this.char()); )
3436
+ for (; !this.isEOF() && Qr(this.char()); )
3434
3437
  this.bump();
3435
3438
  }, e.prototype.peek = function() {
3436
3439
  if (this.isEOF())
@@ -3449,7 +3452,7 @@ function Di(e) {
3449
3452
  function $i(e) {
3450
3453
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3451
3454
  }
3452
- function Jr(e) {
3455
+ function Qr(e) {
3453
3456
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3454
3457
  }
3455
3458
  function Ui(e) {
@@ -3457,11 +3460,11 @@ function Ui(e) {
3457
3460
  }
3458
3461
  function St(e) {
3459
3462
  e.forEach(function(t) {
3460
- if (delete t.location, Gr(t) || Fr(t))
3463
+ if (delete t.location, jr(t) || kr(t))
3461
3464
  for (var r in t.options)
3462
3465
  delete t.options[r].location, St(t.options[r].value);
3463
3466
  else
3464
- Dr(t) && kr(t.style) || ($r(t) || Ur(t)) && vt(t.style) ? delete t.style.location : jr(t) && St(t.children);
3467
+ Ur(t) && Wr(t.style) || (Gr(t) || Fr(t)) && vt(t.style) ? delete t.style.location : Vr(t) && St(t.children);
3465
3468
  });
3466
3469
  }
3467
3470
  function Gi(e, t) {
@@ -3564,7 +3567,7 @@ function Ve(e, t, r, n, i, o, a) {
3564
3567
  });
3565
3568
  continue;
3566
3569
  }
3567
- if ($r(h)) {
3570
+ if (Gr(h)) {
3568
3571
  var b = typeof h.style == "string" ? n.date[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3569
3572
  s.push({
3570
3573
  type: R.literal,
@@ -3572,7 +3575,7 @@ function Ve(e, t, r, n, i, o, a) {
3572
3575
  });
3573
3576
  continue;
3574
3577
  }
3575
- if (Ur(h)) {
3578
+ if (Fr(h)) {
3576
3579
  var b = typeof h.style == "string" ? n.time[h.style] : vt(h.style) ? h.style.parsedOptions : n.time.medium;
3577
3580
  s.push({
3578
3581
  type: R.literal,
@@ -3580,15 +3583,15 @@ function Ve(e, t, r, n, i, o, a) {
3580
3583
  });
3581
3584
  continue;
3582
3585
  }
3583
- if (Dr(h)) {
3584
- var b = typeof h.style == "string" ? n.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
3586
+ if (Ur(h)) {
3587
+ var b = typeof h.style == "string" ? n.number[h.style] : Wr(h.style) ? h.style.parsedOptions : void 0;
3585
3588
  b && b.scale && (c = c * (b.scale || 1)), s.push({
3586
3589
  type: R.literal,
3587
3590
  value: r.getNumberFormat(t, b).format(c)
3588
3591
  });
3589
3592
  continue;
3590
3593
  }
3591
- if (jr(h)) {
3594
+ if (Vr(h)) {
3592
3595
  var f = h.children, p = h.value, v = i[p];
3593
3596
  if (!Vi(v))
3594
3597
  throw new Fi(p, "function", a);
@@ -3602,14 +3605,14 @@ function Ve(e, t, r, n, i, o, a) {
3602
3605
  };
3603
3606
  }));
3604
3607
  }
3605
- if (Gr(h)) {
3608
+ if (jr(h)) {
3606
3609
  var E = h.options[c] || h.options.other;
3607
3610
  if (!E)
3608
3611
  throw new nr(h.value, c, Object.keys(h.options), a);
3609
3612
  s.push.apply(s, Ve(E.value, t, r, n, i));
3610
3613
  continue;
3611
3614
  }
3612
- if (Fr(h)) {
3615
+ if (kr(h)) {
3613
3616
  var E = h.options["=".concat(c)];
3614
3617
  if (!E) {
3615
3618
  if (!Intl.PluralRules)
@@ -3683,7 +3686,7 @@ function zi(e) {
3683
3686
  })
3684
3687
  };
3685
3688
  }
3686
- var Kr = (
3689
+ var qr = (
3687
3690
  /** @class */
3688
3691
  function() {
3689
3692
  function e(t, r, n, i) {
@@ -3816,7 +3819,7 @@ function Zi(e, t) {
3816
3819
  n = void 0;
3817
3820
  return n;
3818
3821
  }
3819
- const J = {}, Yi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Qr = (e, t) => {
3822
+ const J = {}, Yi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), en = (e, t) => {
3820
3823
  if (t == null)
3821
3824
  return;
3822
3825
  if (t in J && e in J[t])
@@ -3833,11 +3836,11 @@ const Ce = rt({});
3833
3836
  function Ji(e) {
3834
3837
  return jt[e] || null;
3835
3838
  }
3836
- function qr(e) {
3839
+ function tn(e) {
3837
3840
  return e in jt;
3838
3841
  }
3839
3842
  function Ki(e, t) {
3840
- if (!qr(e))
3843
+ if (!tn(e))
3841
3844
  return null;
3842
3845
  const r = Ji(e);
3843
3846
  return Zi(r, t);
@@ -3848,11 +3851,11 @@ function Qi(e) {
3848
3851
  const t = Ae(e);
3849
3852
  for (let r = 0; r < t.length; r++) {
3850
3853
  const n = t[r];
3851
- if (qr(n))
3854
+ if (tn(n))
3852
3855
  return n;
3853
3856
  }
3854
3857
  }
3855
- function en(e, ...t) {
3858
+ function rn(e, ...t) {
3856
3859
  delete J[e], Ce.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3857
3860
  }
3858
3861
  ge(
@@ -3864,12 +3867,12 @@ const We = {};
3864
3867
  function qi(e, t) {
3865
3868
  We[e].delete(t), We[e].size === 0 && delete We[e];
3866
3869
  }
3867
- function tn(e) {
3870
+ function nn(e) {
3868
3871
  return We[e];
3869
3872
  }
3870
3873
  function eo(e) {
3871
3874
  return Ae(e).map((t) => {
3872
- const r = tn(t);
3875
+ const r = nn(t);
3873
3876
  return [t, r ? [...r] : []];
3874
3877
  }).filter(([, t]) => t.length > 0);
3875
3878
  }
@@ -3877,17 +3880,17 @@ function qe(e) {
3877
3880
  return e == null ? !1 : Ae(e).some(
3878
3881
  (t) => {
3879
3882
  var r;
3880
- return (r = tn(t)) == null ? void 0 : r.size;
3883
+ return (r = nn(t)) == null ? void 0 : r.size;
3881
3884
  }
3882
3885
  );
3883
3886
  }
3884
3887
  function to(e, t) {
3885
3888
  return Promise.all(
3886
3889
  t.map((n) => (qi(e, n), n().then((i) => i.default || i)))
3887
- ).then((n) => en(e, ...n));
3890
+ ).then((n) => rn(e, ...n));
3888
3891
  }
3889
3892
  const xe = {};
3890
- function rn(e) {
3893
+ function on(e) {
3891
3894
  if (!qe(e))
3892
3895
  return e in xe ? xe[e] : Promise.resolve();
3893
3896
  const t = eo(e);
@@ -3897,7 +3900,7 @@ function rn(e) {
3897
3900
  )
3898
3901
  ).then(() => {
3899
3902
  if (qe(e))
3900
- return rn(e);
3903
+ return on(e);
3901
3904
  delete xe[e];
3902
3905
  }), xe[e];
3903
3906
  }
@@ -3965,7 +3968,7 @@ function uo(e) {
3965
3968
  let i = e.fallbackLocale;
3966
3969
  if (e.initialLocale)
3967
3970
  try {
3968
- Kr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3971
+ qr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3969
3972
  } catch {
3970
3973
  console.warn(
3971
3974
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -4006,7 +4009,7 @@ const go = (e) => {
4006
4009
  return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
4007
4010
  () => mt.set(!0),
4008
4011
  t
4009
- ) : mt.set(!0), rn(e).then(() => {
4012
+ ) : mt.set(!0), on(e).then(() => {
4010
4013
  et.set(e);
4011
4014
  }).finally(() => {
4012
4015
  clearTimeout(r), mt.set(!1);
@@ -4022,20 +4025,20 @@ const go = (e) => {
4022
4025
  return i in t ? t[i] : t[i] = e(n);
4023
4026
  };
4024
4027
  };
4025
- var yo = Object.defineProperty, tt = Object.getOwnPropertySymbols, nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
4028
+ var yo = Object.defineProperty, tt = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
4026
4029
  for (var r in t || (t = {}))
4027
- nn.call(t, r) && ur(e, r, t[r]);
4030
+ sn.call(t, r) && ur(e, r, t[r]);
4028
4031
  if (tt)
4029
4032
  for (var r of tt(t))
4030
- on.call(t, r) && ur(e, r, t[r]);
4033
+ an.call(t, r) && ur(e, r, t[r]);
4031
4034
  return e;
4032
4035
  }, ye = (e, t) => {
4033
4036
  var r = {};
4034
4037
  for (var n in e)
4035
- nn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4038
+ sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4036
4039
  if (e != null && tt)
4037
4040
  for (var n of tt(e))
4038
- t.indexOf(n) < 0 && on.call(e, n) && (r[n] = e[n]);
4041
+ t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4039
4042
  return r;
4040
4043
  };
4041
4044
  const Me = (e, t) => {
@@ -4089,7 +4092,7 @@ const Me = (e, t) => {
4089
4092
  return Eo(kt({ locale: r }, n));
4090
4093
  }, To = ot(
4091
4094
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4092
- (e, t = Q()) => new Kr(e, t, me().formats, {
4095
+ (e, t = Q()) => new qr(e, t, me().formats, {
4093
4096
  ignoreTag: me().ignoreTag
4094
4097
  })
4095
4098
  ), Ho = (e, t = {}) => {
@@ -4105,7 +4108,7 @@ const Me = (e, t) => {
4105
4108
  throw new Error(
4106
4109
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4107
4110
  );
4108
- let h = Qr(e, u);
4111
+ let h = en(e, u);
4109
4112
  if (!h)
4110
4113
  h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4111
4114
  else if (typeof h != "string")
@@ -4124,7 +4127,7 @@ const Me = (e, t) => {
4124
4127
  );
4125
4128
  }
4126
4129
  return d;
4127
- }, Po = (e, t) => So(t).format(e), Mo = (e, t) => wo(t).format(e), Co = (e, t) => xo(t).format(e), Ao = (e, t = Q()) => Qr(e, t), Bo = ge([ne, Ce], () => Ho);
4130
+ }, Po = (e, t) => So(t).format(e), Mo = (e, t) => wo(t).format(e), Co = (e, t) => xo(t).format(e), Ao = (e, t = Q()) => en(e, t), Bo = ge([ne, Ce], () => Ho);
4128
4131
  ge([ne], () => Po);
4129
4132
  ge([ne], () => Mo);
4130
4133
  ge([ne], () => Co);
@@ -4201,13 +4204,13 @@ function Ct(e, t, r) {
4201
4204
  function Y(e) {
4202
4205
  return typeof e == "function";
4203
4206
  }
4204
- function sn(e) {
4207
+ function un(e) {
4205
4208
  var t = function(n) {
4206
4209
  Error.call(n), n.stack = new Error().stack;
4207
4210
  }, r = e(t);
4208
4211
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4209
4212
  }
4210
- var bt = sn(function(e) {
4213
+ var bt = un(function(e) {
4211
4214
  return function(r) {
4212
4215
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4213
4216
  ` + r.map(function(n, i) {
@@ -4312,8 +4315,8 @@ var st = function() {
4312
4315
  var t = new e();
4313
4316
  return t.closed = !0, t;
4314
4317
  }(), e;
4315
- }(), an = st.EMPTY;
4316
- function un(e) {
4318
+ }(), ln = st.EMPTY;
4319
+ function hn(e) {
4317
4320
  return e instanceof st || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
4318
4321
  }
4319
4322
  function lr(e) {
@@ -4342,11 +4345,11 @@ function hr() {
4342
4345
  function Xe(e) {
4343
4346
  e();
4344
4347
  }
4345
- var ln = function(e) {
4348
+ var cn = function(e) {
4346
4349
  Be(t, e);
4347
4350
  function t(r) {
4348
4351
  var n = e.call(this) || this;
4349
- return n.isStopped = !1, r ? (n.destination = r, un(r) && r.add(n)) : n.destination = Do, n;
4352
+ return n.isStopped = !1, r ? (n.destination = r, hn(r) && r.add(n)) : n.destination = Do, n;
4350
4353
  }
4351
4354
  return t.create = function(r, n, i) {
4352
4355
  return new Bt(r, n, i);
@@ -4415,7 +4418,7 @@ var ln = function(e) {
4415
4418
  } : a = r, o.destination = new Io(a), o;
4416
4419
  }
4417
4420
  return t;
4418
- }(ln);
4421
+ }(cn);
4419
4422
  function Ue(e) {
4420
4423
  No(e);
4421
4424
  }
@@ -4508,13 +4511,13 @@ function Fo(e) {
4508
4511
  return e && Y(e.next) && Y(e.error) && Y(e.complete);
4509
4512
  }
4510
4513
  function jo(e) {
4511
- return e && e instanceof ln || Fo(e) && un(e);
4514
+ return e && e instanceof cn || Fo(e) && hn(e);
4512
4515
  }
4513
- var ko = sn(function(e) {
4516
+ var ko = un(function(e) {
4514
4517
  return function() {
4515
4518
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4516
4519
  };
4517
- }), hn = function(e) {
4520
+ }), fn = function(e) {
4518
4521
  Be(t, e);
4519
4522
  function t() {
4520
4523
  var r = e.call(this) || this;
@@ -4582,7 +4585,7 @@ var ko = sn(function(e) {
4582
4585
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4583
4586
  }, t.prototype._innerSubscribe = function(r) {
4584
4587
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4585
- return o || a ? an : (this.currentObservers = null, s.push(r), new st(function() {
4588
+ return o || a ? ln : (this.currentObservers = null, s.push(r), new st(function() {
4586
4589
  n.currentObservers = null, At(s, r);
4587
4590
  }));
4588
4591
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -4611,17 +4614,17 @@ var ko = sn(function(e) {
4611
4614
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4612
4615
  }, t.prototype._subscribe = function(r) {
4613
4616
  var n, i;
4614
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : an;
4617
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ln;
4615
4618
  }, t;
4616
- }(hn), cn = {
4619
+ }(fn), pn = {
4617
4620
  now: function() {
4618
- return (cn.delegate || Date).now();
4621
+ return (pn.delegate || Date).now();
4619
4622
  },
4620
4623
  delegate: void 0
4621
4624
  }, Vo = function(e) {
4622
4625
  Be(t, e);
4623
4626
  function t(r, n, i) {
4624
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = cn);
4627
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = pn);
4625
4628
  var o = e.call(this) || this;
4626
4629
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4627
4630
  }
@@ -4641,7 +4644,7 @@ var ko = sn(function(e) {
4641
4644
  l && o.splice(0, l + 1);
4642
4645
  }
4643
4646
  }, t;
4644
- }(hn);
4647
+ }(fn);
4645
4648
  const dr = [], mr = {}, Wo = (e, t = 0) => {
4646
4649
  if (dr.indexOf(e) == -1) {
4647
4650
  const r = new Vo(t);
@@ -4659,7 +4662,7 @@ const Xo = (e, t, r, n) => {
4659
4662
  return Nt === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4660
4663
  };
4661
4664
  window.emWidgets = { topic: Wo };
4662
- const Fe = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ps = {
4665
+ const Fe = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ms = {
4663
4666
  AED: "د.إ",
4664
4667
  AFN: "؋",
4665
4668
  ALL: "L",
@@ -4857,7 +4860,7 @@ function Yo(e, t, r) {
4857
4860
  }
4858
4861
  }
4859
4862
  function br(e, t) {
4860
- en(e, t);
4863
+ rn(e, t);
4861
4864
  }
4862
4865
  function Jo(e) {
4863
4866
  uo({
@@ -4903,7 +4906,7 @@ const gr = {
4903
4906
  }
4904
4907
  };
4905
4908
  function Ko(e) {
4906
- yn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4909
+ _n(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4907
4910
  }
4908
4911
  function yr(e, t, r) {
4909
4912
  const n = e.slice();
@@ -4973,7 +4976,7 @@ function qo(e) {
4973
4976
  X(g, t, E), c && c.m(t, null), x(t, n), x(t, i);
4974
4977
  for (let m = 0; m < f.length; m += 1)
4975
4978
  f[m] && f[m].m(i, null);
4976
- e[24](i), x(t, o), p && p.m(t, null), s = xn(
4979
+ e[24](i), x(t, o), p && p.m(t, null), s = Sn(
4977
4980
  t,
4978
4981
  /*div1_elementresize_handler*/
4979
4982
  e[26].bind(t)
@@ -5235,7 +5238,7 @@ function es(e) {
5235
5238
  }
5236
5239
  function ts(e, t, r) {
5237
5240
  let n;
5238
- gn(e, Bo, (y) => r(6, n = y));
5241
+ vn(e, Bo, (y) => r(6, n = y));
5239
5242
  let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { methodtype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c = "" } = t, { translationurl: b = "" } = t, f, p = [], v = 0, _ = !0, g = 0, E = !1, m, T, L = window.navigator.userAgent;
5240
5243
  const P = (y) => {
5241
5244
  y.data && y.data.type === "PromotedPaymentMethods" && (r(4, p = y.data.promotedPaymentMethods), r(5, v = Math.floor((p.length - 1) / 2)));
@@ -5271,9 +5274,9 @@ function ts(e, t, r) {
5271
5274
  const k = 160 + 5, Vt = k * p.length;
5272
5275
  let ut;
5273
5276
  p.length % 2 === 1 ? ut = Math.floor(p.length / 2) : ut = Math.floor(p.length / 2) - 0.5;
5274
- let pn = T - Vt;
5275
- const dn = ut - v;
5276
- return `translateX(${pn / 2 + dn * k - 20}px)`;
5277
+ let mn = T - Vt;
5278
+ const bn = ut - v;
5279
+ return `translateX(${mn / 2 + bn * k - 20}px)`;
5277
5280
  }, ie = (y) => {
5278
5281
  g = y.touches[0].clientX, E = !0, m.classList.add("dragging");
5279
5282
  }, ve = (y) => {
@@ -5292,7 +5295,7 @@ function ts(e, t, r) {
5292
5295
  }, q = (y) => {
5293
5296
  y === "next" && v < p.length - 1 ? r(5, v++, v) : y === "prev" && v > 0 && r(5, v--, v), r(2, m.style.transform = G(), m);
5294
5297
  };
5295
- Mn(() => (Xo(o, a, s, u), window.addEventListener("message", P), m && T > 0 && G(), () => {
5298
+ An(() => (Xo(o, a, s, u), window.addEventListener("message", P), m && T > 0 && G(), () => {
5296
5299
  window.removeEventListener("message", P);
5297
5300
  }));
5298
5301
  const Le = () => q("prev"), se = (y, I) => j(y, I);
@@ -5351,7 +5354,7 @@ function ts(e, t, r) {
5351
5354
  ee
5352
5355
  ];
5353
5356
  }
5354
- class fn extends $n {
5357
+ class dn extends $n {
5355
5358
  constructor(t) {
5356
5359
  super(), Rn(
5357
5360
  this,
@@ -5436,10 +5439,10 @@ class fn extends $n {
5436
5439
  this.$$set({ translationurl: t }), $();
5437
5440
  }
5438
5441
  }
5439
- Dn(fn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5440
- const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5442
+ Dn(dn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5443
+ const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5441
5444
  __proto__: null,
5442
- default: fn
5445
+ default: dn
5443
5446
  }, Symbol.toStringTag, { value: "Module" }));
5444
5447
  export {
5445
5448
  ne as $,
@@ -5452,7 +5455,7 @@ export {
5452
5455
  O as G,
5453
5456
  rt as H,
5454
5457
  Fn as I,
5455
- Hs as J,
5458
+ Ps as J,
5456
5459
  re as K,
5457
5460
  us as L,
5458
5461
  Fe as M,
@@ -5462,34 +5465,35 @@ export {
5462
5465
  Ge as Q,
5463
5466
  De as R,
5464
5467
  $n as S,
5465
- Ss as T,
5468
+ Ts as T,
5466
5469
  cs as U,
5467
5470
  ms as V,
5468
5471
  z as W,
5469
5472
  ds as X,
5470
- Ps as Y,
5473
+ Ms as Y,
5471
5474
  zt as Z,
5472
- ws as _,
5473
- en as a,
5474
- gs as a0,
5475
- ys as a1,
5476
- xn as a2,
5477
- It as a3,
5478
- Es as a4,
5479
- _s as a5,
5480
- bs as a6,
5481
- xs as a7,
5482
- as as a8,
5483
- Nn as a9,
5484
- Ln as aa,
5485
- Ts as ab,
5486
- Ms as ac,
5475
+ Ss as _,
5476
+ rn as a,
5477
+ ys as a0,
5478
+ vs as a1,
5479
+ gs as a2,
5480
+ Sn as a3,
5481
+ It as a4,
5482
+ xs as a5,
5483
+ Es as a6,
5484
+ bs as a7,
5485
+ ws as a8,
5486
+ as as a9,
5487
+ Nn as aa,
5488
+ Ln as ab,
5489
+ Hs as ac,
5490
+ Cs as ad,
5487
5491
  Rn as b,
5488
- yn as c,
5492
+ _n as c,
5489
5493
  ns as d,
5490
5494
  D as e,
5491
5495
  $ as f,
5492
- Or as g,
5496
+ Nr as g,
5493
5497
  ss as h,
5494
5498
  uo as i,
5495
5499
  is as j,
@@ -5498,11 +5502,11 @@ export {
5498
5502
  H as m,
5499
5503
  U as n,
5500
5504
  C as o,
5501
- gn as p,
5502
- Mn as q,
5505
+ vn as p,
5506
+ An as q,
5503
5507
  hs as r,
5504
5508
  Tr as s,
5505
- vs as t,
5509
+ _s as t,
5506
5510
  os as u,
5507
5511
  Z as v,
5508
5512
  F as w,