@everymatrix/cashier-page-nd 1.69.94 → 1.69.96

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 (61) hide show
  1. package/components/{CashierCarousel-BdYVF6QV.js → CashierCarousel-BJBoHcOi.js} +771 -771
  2. package/components/{CashierCarousel-P8JOEAdW.js → CashierCarousel-C-1lJxZx.js} +781 -781
  3. package/components/CashierCarousel-CnirEVww.cjs +23 -0
  4. package/components/{CashierError-Dc97Q3ia.js → CashierError-C-D4PFqm.js} +1 -1
  5. package/components/{CashierError-BHR0wCX8.cjs → CashierError-C8U_KORa.cjs} +1 -1
  6. package/components/{CashierError-CV3sSdTA.js → CashierError-DXtcdjdr.js} +1 -1
  7. package/components/{CashierHeader-Dq5rXKEy.cjs → CashierHeader-B0zyFjC3.cjs} +1 -1
  8. package/components/{CashierHeader-CNnGcxHX.js → CashierHeader-BwAbSpJS.js} +1 -1
  9. package/components/{CashierHeader-BvRwyGj-.js → CashierHeader-D_cWDFA7.js} +1 -1
  10. package/components/{CashierIframeRedirect-CyxYgQXl.js → CashierIframeRedirect-B1BJpKCB.js} +3 -3
  11. package/components/{CashierIframeRedirect-Tyfog0B-.js → CashierIframeRedirect-BHjA770O.js} +3 -3
  12. package/components/{CashierIframeRedirect-C7g6aYiD.cjs → CashierIframeRedirect-q6fWJWU-.cjs} +1 -1
  13. package/components/{CashierMethodDetails-BQQkicL5.js → CashierMethodDetails-BOgl_IX1.js} +524 -524
  14. package/components/{CashierMethodDetails-Cw3bppxA.js → CashierMethodDetails-CCf6IaU-.js} +504 -504
  15. package/components/{CashierMethodDetails-vl9WpFW-.cjs → CashierMethodDetails-Cq_ccC1E.cjs} +4 -4
  16. package/components/{CashierMethodsList-Bi29u-3T.js → CashierMethodsList-CZtLFkxq.js} +2 -2
  17. package/components/{CashierMethodsList-MWY8DbQT.cjs → CashierMethodsList-hGTvnNKE.cjs} +1 -1
  18. package/components/{CashierMethodsList-Dnurtmpq.js → CashierMethodsList-pBTAlRCN.js} +2 -2
  19. package/components/CashierModal-BepKrwPc.cjs +1 -0
  20. package/components/CashierModal-Bezw_q_p.js +237 -0
  21. package/components/CashierModal-BkWWCFGy.js +237 -0
  22. package/components/{CashierNotifications-C7E0y8oy.js → CashierNotifications-BKQ84v7D.js} +1 -1
  23. package/components/{CashierNotifications-CV5fK-_h.js → CashierNotifications-BLOBfSE-.js} +1 -1
  24. package/components/{CashierNotifications-B1_IvWSx.cjs → CashierNotifications-BiaTO8zv.cjs} +1 -1
  25. package/components/{CashierPage-CPBTVmCF.js → CashierPage-BVogJQJz.js} +673 -610
  26. package/components/{CashierPage-TX2t-xAH.js → CashierPage-C-qW-3WO.js} +672 -609
  27. package/components/CashierPage-_oClXFYx.cjs +1 -0
  28. package/components/CashierReceiptPage-BY8iDo7k.cjs +26 -0
  29. package/components/{CashierReceiptPage-CtOCAaLC.js → CashierReceiptPage-C4LnHWVS.js} +541 -564
  30. package/components/{CashierReceiptPage-C6wwbN8P.js → CashierReceiptPage-pX5ZB8GS.js} +535 -558
  31. package/components/{CashierSessionExpirationModal-CH7OH5eP.js → CashierSessionExpirationModal-DCwaZyoe.js} +148 -135
  32. package/components/{CashierSessionExpirationModal-DZ6cbZMo.js → CashierSessionExpirationModal-DROX_8ms.js} +173 -160
  33. package/components/CashierSessionExpirationModal-Diatc2g_.cjs +2 -0
  34. package/components/{CashierSpinner-CyPuIakf.js → CashierSpinner-B6hRv5UE.js} +1 -1
  35. package/components/{CashierSpinner-DN8Xti3l.js → CashierSpinner-D9V28sna.js} +1 -1
  36. package/components/{CashierSpinner-CL3BxNa3.cjs → CashierSpinner-vepcrAEk.cjs} +1 -1
  37. package/components/CashierTransactionHistory-CkMYM-iN.cjs +1 -0
  38. package/components/{CashierTransactionHistory-DUJ7uEPo.js → CashierTransactionHistory-D8zsi5NJ.js} +27 -27
  39. package/components/{CashierTransactionHistory-D7x8iV5o.js → CashierTransactionHistory-DW8O1MRc.js} +27 -27
  40. package/components/CashierVerifications-Bk77XvWp.cjs +1 -0
  41. package/components/{CashierVerifications-D98F06Sz.js → CashierVerifications-Clboalpm.js} +98 -98
  42. package/components/{CashierVerifications-dsnZ9UGl.js → CashierVerifications-Ct9t3u-_.js} +128 -128
  43. package/components/{TxnStatusIcon-Bjzryymo.js → TxnStatusIcon-BbwRTWeF.js} +1 -1
  44. package/components/{TxnStatusIcon-DKrjQDkn.cjs → TxnStatusIcon-DAT0GdaB.cjs} +1 -1
  45. package/components/{TxnStatusIcon-BnNOvKNP.js → TxnStatusIcon-YMvAqmkU.js} +1 -1
  46. package/components/{TxnTypeIcons-DUFNEYZT.cjs → TxnTypeIcons-B9WBEMaU.cjs} +1 -1
  47. package/components/{TxnTypeIcons-CdJDWKBc.js → TxnTypeIcons-CGI4ZYMR.js} +1 -1
  48. package/components/{TxnTypeIcons-CgvUMv-Q.js → TxnTypeIcons-DaU-Md0s.js} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +1 -1
  51. package/esnext/cashier-page.js +1 -1
  52. package/package.json +1 -1
  53. package/components/CashierCarousel-HRUJt7XK.cjs +0 -23
  54. package/components/CashierModal-7LneBvzD.cjs +0 -1
  55. package/components/CashierModal-ChoubLYy.js +0 -268
  56. package/components/CashierModal-DCTbhFou.js +0 -268
  57. package/components/CashierPage-DOxt1V6T.cjs +0 -1
  58. package/components/CashierReceiptPage-BdQL3__D.cjs +0 -26
  59. package/components/CashierSessionExpirationModal-wp_kWVca.cjs +0 -2
  60. package/components/CashierTransactionHistory-DbJgP2OJ.cjs +0 -1
  61. package/components/CashierVerifications-BzbSPCl7.cjs +0 -1
@@ -12,21 +12,21 @@ function sn(e, t) {
12
12
  function yr(e) {
13
13
  return e();
14
14
  }
15
- function Ft() {
15
+ function Gt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function V(e) {
18
+ function W(e) {
19
19
  e.forEach(yr);
20
20
  }
21
- function pe(e) {
21
+ function me(e) {
22
22
  return typeof e == "function";
23
23
  }
24
24
  function vr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Le;
28
- function Gt(e, t) {
29
- return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
27
+ let Ne;
28
+ function Ft(e, t) {
29
+ return e === t ? !0 : (Ne || (Ne = document.createElement("a")), Ne.href = t, e === Ne.href);
30
30
  }
31
31
  function an(e) {
32
32
  return Object.keys(e).length === 0;
@@ -45,11 +45,11 @@ function un(e, t, r) {
45
45
  }
46
46
  function Ko(e, t, r, n) {
47
47
  if (e) {
48
- const i = Er(e, t, r, n);
48
+ const i = xr(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Er(e, t, r, n) {
52
+ function xr(e, t, r, n) {
53
53
  return e[1] && n ? sn(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function Qo(e, t, r, n) {
@@ -69,7 +69,7 @@ function Qo(e, t, r, n) {
69
69
  }
70
70
  function qo(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = Er(t, r, n, o);
72
+ const a = xr(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
@@ -85,22 +85,22 @@ function es(e) {
85
85
  function ts(e) {
86
86
  return e ?? "";
87
87
  }
88
- const xr = typeof window < "u";
89
- let Ot = xr ? () => window.performance.now() : () => Date.now(), Lt = xr ? (e) => requestAnimationFrame(e) : B;
90
- const se = /* @__PURE__ */ new Set();
88
+ const Er = typeof window < "u";
89
+ let Ot = Er ? () => window.performance.now() : () => Date.now(), Lt = Er ? (e) => requestAnimationFrame(e) : B;
90
+ const ue = /* @__PURE__ */ new Set();
91
91
  function wr(e) {
92
- se.forEach((t) => {
93
- t.c(e) || (se.delete(t), t.f());
94
- }), se.size !== 0 && Lt(wr);
92
+ ue.forEach((t) => {
93
+ t.c(e) || (ue.delete(t), t.f());
94
+ }), ue.size !== 0 && Lt(wr);
95
95
  }
96
96
  function Nt(e) {
97
97
  let t;
98
- return se.size === 0 && Lt(wr), {
98
+ return ue.size === 0 && Lt(wr), {
99
99
  promise: new Promise((r) => {
100
- se.add(t = { c: e, f: r });
100
+ ue.add(t = { c: e, f: r });
101
101
  }),
102
102
  abort() {
103
- se.delete(t);
103
+ ue.delete(t);
104
104
  }
105
105
  };
106
106
  }
@@ -108,13 +108,13 @@ const rs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis :
108
108
  // @ts-ignore Node typings have this
109
109
  global
110
110
  );
111
- function E(e, t) {
111
+ function _(e, t) {
112
112
  e.appendChild(t);
113
113
  }
114
114
  function ln(e, t, r) {
115
115
  const n = It(e);
116
116
  if (!n.getElementById(t)) {
117
- const i = T("style");
117
+ const i = S("style");
118
118
  i.id = t, i.textContent = r, Sr(n, i);
119
119
  }
120
120
  }
@@ -128,41 +128,41 @@ function It(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function hn(e) {
132
- const t = T("style");
131
+ function cn(e) {
132
+ const t = S("style");
133
133
  return t.textContent = "/* empty */", Sr(It(e), t), t.sheet;
134
134
  }
135
135
  function Sr(e, t) {
136
- return E(
136
+ return _(
137
137
  /** @type {Document} */
138
138
  e.head || e,
139
139
  t
140
140
  ), t.sheet;
141
141
  }
142
- function F(e, t, r) {
142
+ function j(e, t, r) {
143
143
  e.insertBefore(t, r || null);
144
144
  }
145
- function L(e) {
145
+ function I(e) {
146
146
  e.parentNode && e.parentNode.removeChild(e);
147
147
  }
148
148
  function jt(e, t) {
149
149
  for (let r = 0; r < e.length; r += 1)
150
150
  e[r] && e[r].d(t);
151
151
  }
152
- function T(e) {
152
+ function S(e) {
153
153
  return document.createElement(e);
154
154
  }
155
155
  function ns(e) {
156
156
  return document.createElementNS("http://www.w3.org/2000/svg", e);
157
157
  }
158
- function N(e) {
158
+ function U(e) {
159
159
  return document.createTextNode(e);
160
160
  }
161
161
  function $() {
162
- return N(" ");
162
+ return U(" ");
163
163
  }
164
164
  function is() {
165
- return N("");
165
+ return U("");
166
166
  }
167
167
  function Z(e, t, r, n) {
168
168
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -172,41 +172,41 @@ function os(e) {
172
172
  return t.preventDefault(), e.call(this, t);
173
173
  };
174
174
  }
175
- function C(e, t, r) {
175
+ function H(e, t, r) {
176
176
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
177
177
  }
178
178
  function ss(e, t, r) {
179
179
  const n = t.toLowerCase();
180
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
180
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
181
181
  }
182
182
  function as(e) {
183
183
  return e === "" ? null : +e;
184
184
  }
185
- function cn(e) {
185
+ function hn(e) {
186
186
  return Array.from(e.childNodes);
187
187
  }
188
- function j(e, t) {
188
+ function V(e, t) {
189
189
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
190
190
  t);
191
191
  }
192
192
  function us(e, t) {
193
193
  e.value = t ?? "";
194
194
  }
195
- let Ne;
195
+ let Ie;
196
196
  function fn() {
197
- if (Ne === void 0) {
198
- Ne = !1;
197
+ if (Ie === void 0) {
198
+ Ie = !1;
199
199
  try {
200
200
  typeof window < "u" && window.parent && window.parent.document;
201
201
  } catch {
202
- Ne = !0;
202
+ Ie = !0;
203
203
  }
204
204
  }
205
- return Ne;
205
+ return Ie;
206
206
  }
207
207
  function ls(e, t) {
208
208
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
209
- const n = T("iframe");
209
+ const n = S("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;"
@@ -222,11 +222,11 @@ function ls(e, t) {
222
222
  }
223
223
  )) : (n.src = "about:blank", n.onload = () => {
224
224
  o = Z(n.contentWindow, "resize", t), t();
225
- }), E(e, n), () => {
226
- (i || o && n.contentWindow) && o(), L(n);
225
+ }), _(e, n), () => {
226
+ (i || o && n.contentWindow) && o(), I(n);
227
227
  };
228
228
  }
229
- function hs(e, t, r) {
229
+ function cs(e, t, r) {
230
230
  e.classList.toggle(t, !!r);
231
231
  }
232
232
  function pn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -241,8 +241,8 @@ function dn(e) {
241
241
  }
242
242
  ), t;
243
243
  }
244
- const Ve = /* @__PURE__ */ new Map();
245
- let Xe = 0;
244
+ const Xe = /* @__PURE__ */ new Map();
245
+ let We = 0;
246
246
  function mn(e) {
247
247
  let t = 5381, r = e.length;
248
248
  for (; r--; )
@@ -250,133 +250,133 @@ function mn(e) {
250
250
  return t >>> 0;
251
251
  }
252
252
  function bn(e, t) {
253
- const r = { stylesheet: hn(t), rules: {} };
254
- return Ve.set(e, r), r;
253
+ const r = { stylesheet: cn(t), rules: {} };
254
+ return Xe.set(e, r), r;
255
255
  }
256
- function We(e, t, r, n, i, o, a, s = 0) {
256
+ function ze(e, t, r, n, i, o, a, s = 0) {
257
257
  const u = 16.666 / n;
258
258
  let l = `{
259
259
  `;
260
- for (let v = 0; v <= 1; v += u) {
261
- const g = t + (r - t) * o(v);
262
- l += v * 100 + `%{${a(g, 1 - g)}}
260
+ for (let y = 0; y <= 1; y += u) {
261
+ const g = t + (r - t) * o(y);
262
+ l += y * 100 + `%{${a(g, 1 - g)}}
263
263
  `;
264
264
  }
265
- const h = l + `100% {${a(r, 1 - r)}}
266
- }`, c = `__svelte_${mn(h)}_${s}`, p = It(e), { stylesheet: b, rules: d } = Ve.get(p) || bn(p, e);
267
- d[c] || (d[c] = !0, b.insertRule(`@keyframes ${c} ${h}`, b.cssRules.length));
265
+ const c = l + `100% {${a(r, 1 - r)}}
266
+ }`, h = `__svelte_${mn(c)}_${s}`, p = It(e), { stylesheet: m, rules: d } = Xe.get(p) || bn(p, e);
267
+ d[h] || (d[h] = !0, m.insertRule(`@keyframes ${h} ${c}`, m.cssRules.length));
268
268
  const f = e.style.animation || "";
269
- return e.style.animation = `${f ? `${f}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
269
+ return e.style.animation = `${f ? `${f}, ` : ""}${h} ${n}ms linear ${i}ms 1 both`, We += 1, h;
270
270
  }
271
- function ze(e, t) {
271
+ function Ze(e, t) {
272
272
  const r = (e.style.animation || "").split(", "), n = r.filter(
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(", "), Xe -= i, Xe || gn());
276
+ i && (e.style.animation = n.join(", "), We -= i, We || gn());
277
277
  }
278
278
  function gn() {
279
279
  Lt(() => {
280
- Xe || (Ve.forEach((e) => {
280
+ We || (Xe.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
- t && L(t);
283
- }), Ve.clear());
282
+ t && I(t);
283
+ }), Xe.clear());
284
284
  });
285
285
  }
286
- let we;
287
- function xe(e) {
288
- we = e;
286
+ let Pe;
287
+ function Te(e) {
288
+ Pe = e;
289
289
  }
290
290
  function Tr() {
291
- if (!we)
291
+ if (!Pe)
292
292
  throw new Error("Function called outside component initialization");
293
- return we;
293
+ return Pe;
294
294
  }
295
295
  function yn(e) {
296
296
  Tr().$$.on_mount.push(e);
297
297
  }
298
- function cs(e) {
298
+ function hs(e) {
299
299
  Tr().$$.on_destroy.push(e);
300
300
  }
301
- const oe = [], Ze = [];
302
- let ae = [];
301
+ const ae = [], Ye = [];
302
+ let le = [];
303
303
  const kt = [], vn = /* @__PURE__ */ Promise.resolve();
304
304
  let pt = !1;
305
305
  function _n() {
306
- pt || (pt = !0, vn.then(R));
306
+ pt || (pt = !0, vn.then(D));
307
307
  }
308
- function ue(e) {
309
- ae.push(e);
308
+ function ce(e) {
309
+ le.push(e);
310
310
  }
311
311
  const ot = /* @__PURE__ */ new Set();
312
- let ne = 0;
313
- function R() {
314
- if (ne !== 0)
312
+ let oe = 0;
313
+ function D() {
314
+ if (oe !== 0)
315
315
  return;
316
- const e = we;
316
+ const e = Pe;
317
317
  do {
318
318
  try {
319
- for (; ne < oe.length; ) {
320
- const t = oe[ne];
321
- ne++, xe(t), En(t.$$);
319
+ for (; oe < ae.length; ) {
320
+ const t = ae[oe];
321
+ oe++, Te(t), xn(t.$$);
322
322
  }
323
323
  } catch (t) {
324
- throw oe.length = 0, ne = 0, t;
324
+ throw ae.length = 0, oe = 0, t;
325
325
  }
326
- for (xe(null), oe.length = 0, ne = 0; Ze.length; )
327
- Ze.pop()();
328
- for (let t = 0; t < ae.length; t += 1) {
329
- const r = ae[t];
326
+ for (Te(null), ae.length = 0, oe = 0; Ye.length; )
327
+ Ye.pop()();
328
+ for (let t = 0; t < le.length; t += 1) {
329
+ const r = le[t];
330
330
  ot.has(r) || (ot.add(r), r());
331
331
  }
332
- ae.length = 0;
333
- } while (oe.length);
332
+ le.length = 0;
333
+ } while (ae.length);
334
334
  for (; kt.length; )
335
335
  kt.pop()();
336
- pt = !1, ot.clear(), xe(e);
336
+ pt = !1, ot.clear(), Te(e);
337
337
  }
338
- function En(e) {
338
+ function xn(e) {
339
339
  if (e.fragment !== null) {
340
- e.update(), V(e.before_update);
340
+ e.update(), W(e.before_update);
341
341
  const t = e.dirty;
342
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ue);
342
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
343
343
  }
344
344
  }
345
- function xn(e) {
345
+ function En(e) {
346
346
  const t = [], r = [];
347
- ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
347
+ le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
348
348
  }
349
- let ye;
349
+ let xe;
350
350
  function Rt() {
351
- return ye || (ye = Promise.resolve(), ye.then(() => {
352
- ye = null;
353
- })), ye;
351
+ return xe || (xe = Promise.resolve(), xe.then(() => {
352
+ xe = null;
353
+ })), xe;
354
354
  }
355
- function K(e, t, r) {
355
+ function q(e, t, r) {
356
356
  e.dispatchEvent(pn(`${t ? "intro" : "outro"}${r}`));
357
357
  }
358
- const Ue = /* @__PURE__ */ new Set();
359
- let U;
358
+ const Ge = /* @__PURE__ */ new Set();
359
+ let F;
360
360
  function fs() {
361
- U = {
361
+ F = {
362
362
  r: 0,
363
363
  c: [],
364
- p: U
364
+ p: F
365
365
  // parent group
366
366
  };
367
367
  }
368
368
  function ps() {
369
- U.r || V(U.c), U = U.p;
369
+ F.r || W(F.c), F = F.p;
370
370
  }
371
371
  function wn(e, t) {
372
- e && e.i && (Ue.delete(e), e.i(t));
372
+ e && e.i && (Ge.delete(e), e.i(t));
373
373
  }
374
374
  function ds(e, t, r, n) {
375
375
  if (e && e.o) {
376
- if (Ue.has(e))
376
+ if (Ge.has(e))
377
377
  return;
378
- Ue.add(e), U.c.push(() => {
379
- Ue.delete(e), n && (r && e.d(1), n());
378
+ Ge.add(e), F.c.push(() => {
379
+ Ge.delete(e), n && (r && e.d(1), n());
380
380
  }), e.o(t);
381
381
  } else
382
382
  n && n();
@@ -386,37 +386,37 @@ function ms(e, t, r) {
386
386
  const n = { direction: "in" };
387
387
  let i = t(e, r, n), o = !1, a, s, u = 0;
388
388
  function l() {
389
- a && ze(e, a);
389
+ a && Ze(e, a);
390
390
  }
391
- function h() {
391
+ function c() {
392
392
  const {
393
393
  delay: p = 0,
394
- duration: b = 300,
394
+ duration: m = 300,
395
395
  easing: d = Bt,
396
396
  tick: f = B,
397
- css: v
397
+ css: y
398
398
  } = i || $t;
399
- v && (a = We(e, 0, 1, b, p, d, v, u++)), f(0, 1);
400
- const g = Ot() + p, _ = g + b;
401
- s && s.abort(), o = !0, ue(() => K(e, !0, "start")), s = Nt((m) => {
399
+ y && (a = ze(e, 0, 1, m, p, d, y, u++)), f(0, 1);
400
+ const g = Ot() + p, x = g + m;
401
+ s && s.abort(), o = !0, ce(() => q(e, !0, "start")), s = Nt((b) => {
402
402
  if (o) {
403
- if (m >= _)
404
- return f(1, 0), K(e, !0, "end"), l(), o = !1;
405
- if (m >= g) {
406
- const H = d((m - g) / b);
407
- f(H, 1 - H);
403
+ if (b >= x)
404
+ return f(1, 0), q(e, !0, "end"), l(), o = !1;
405
+ if (b >= g) {
406
+ const T = d((b - g) / m);
407
+ f(T, 1 - T);
408
408
  }
409
409
  }
410
410
  return o;
411
411
  });
412
412
  }
413
- let c = !1;
413
+ let h = !1;
414
414
  return {
415
415
  start() {
416
- c || (c = !0, ze(e), pe(i) ? (i = i(n), Rt().then(h)) : h());
416
+ h || (h = !0, Ze(e), me(i) ? (i = i(n), Rt().then(c)) : c());
417
417
  },
418
418
  invalidate() {
419
- c = !1;
419
+ h = !1;
420
420
  },
421
421
  end() {
422
422
  o && (l(), o = !1);
@@ -426,74 +426,74 @@ function ms(e, t, r) {
426
426
  function bs(e, t, r) {
427
427
  const n = { direction: "out" };
428
428
  let i = t(e, r, n), o = !0, a;
429
- const s = U;
429
+ const s = F;
430
430
  s.r += 1;
431
431
  let u;
432
432
  function l() {
433
433
  const {
434
- delay: h = 0,
435
- duration: c = 300,
434
+ delay: c = 0,
435
+ duration: h = 300,
436
436
  easing: p = Bt,
437
- tick: b = B,
437
+ tick: m = B,
438
438
  css: d
439
439
  } = i || $t;
440
- d && (a = We(e, 1, 0, c, h, p, d));
441
- const f = Ot() + h, v = f + c;
442
- ue(() => K(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
440
+ d && (a = ze(e, 1, 0, h, c, p, d));
441
+ const f = Ot() + c, y = f + h;
442
+ ce(() => q(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
443
443
  e.inert, e.inert = !0), Nt((g) => {
444
444
  if (o) {
445
- if (g >= v)
446
- return b(0, 1), K(e, !1, "end"), --s.r || V(s.c), !1;
445
+ if (g >= y)
446
+ return m(0, 1), q(e, !1, "end"), --s.r || W(s.c), !1;
447
447
  if (g >= f) {
448
- const _ = p((g - f) / c);
449
- b(1 - _, _);
448
+ const x = p((g - f) / h);
449
+ m(1 - x, x);
450
450
  }
451
451
  }
452
452
  return o;
453
453
  });
454
454
  }
455
- return pe(i) ? Rt().then(() => {
455
+ return me(i) ? Rt().then(() => {
456
456
  i = i(n), l();
457
457
  }) : l(), {
458
- end(h) {
459
- h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (a && ze(e, a), o = !1);
458
+ end(c) {
459
+ c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), o && (a && Ze(e, a), o = !1);
460
460
  }
461
461
  };
462
462
  }
463
463
  function gs(e, t, r, n) {
464
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
465
- function c() {
466
- l && ze(e, l);
464
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, c;
465
+ function h() {
466
+ l && Ze(e, l);
467
467
  }
468
468
  function p(d, f) {
469
- const v = (
469
+ const y = (
470
470
  /** @type {Program['d']} */
471
471
  d.b - a
472
472
  );
473
- return f *= Math.abs(v), {
473
+ return f *= Math.abs(y), {
474
474
  a,
475
475
  b: d.b,
476
- d: v,
476
+ d: y,
477
477
  duration: f,
478
478
  start: d.start,
479
479
  end: d.start + f,
480
480
  group: d.group
481
481
  };
482
482
  }
483
- function b(d) {
483
+ function m(d) {
484
484
  const {
485
485
  delay: f = 0,
486
- duration: v = 300,
486
+ duration: y = 300,
487
487
  easing: g = Bt,
488
- tick: _ = B,
489
- css: m
490
- } = o || $t, H = {
488
+ tick: x = B,
489
+ css: b
490
+ } = o || $t, T = {
491
491
  start: Ot() + f,
492
492
  b: d
493
493
  };
494
- d || (H.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
495
- e.inert, e.inert = !0)), s || u ? u = H : (m && (c(), l = We(e, a, d, v, f, g, m)), d && _(0, 1), s = p(H, v), ue(() => K(e, d, "start")), Nt((A) => {
496
- if (u && A > u.start && (s = p(u, v), u = null, K(e, s.b, "start"), m && (c(), l = We(
494
+ d || (T.group = F, F.r += 1), "inert" in e && (d ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
495
+ e.inert, e.inert = !0)), s || u ? u = T : (b && (h(), l = ze(e, a, d, y, f, g, b)), d && x(0, 1), s = p(T, y), ce(() => q(e, d, "start")), Nt((M) => {
496
+ if (u && M > u.start && (s = p(u, y), u = null, q(e, s.b, "start"), b && (h(), l = ze(
497
497
  e,
498
498
  a,
499
499
  s.b,
@@ -502,11 +502,11 @@ function gs(e, t, r, n) {
502
502
  g,
503
503
  o.css
504
504
  ))), s) {
505
- if (A >= s.end)
506
- _(a = s.b, 1 - a), K(e, s.b, "end"), u || (s.b ? c() : --s.group.r || V(s.group.c)), s = null;
507
- else if (A >= s.start) {
508
- const I = A - s.start;
509
- a = s.a + s.d * g(I / s.duration), _(a, 1 - a);
505
+ if (M >= s.end)
506
+ x(a = s.b, 1 - a), q(e, s.b, "end"), u || (s.b ? h() : --s.group.r || W(s.group.c)), s = null;
507
+ else if (M >= s.start) {
508
+ const R = M - s.start;
509
+ a = s.a + s.d * g(R / s.duration), x(a, 1 - a);
510
510
  }
511
511
  }
512
512
  return !!(s || u);
@@ -514,16 +514,16 @@ function gs(e, t, r, n) {
514
514
  }
515
515
  return {
516
516
  run(d) {
517
- pe(o) ? Rt().then(() => {
518
- o = o({ direction: d ? "in" : "out" }), b(d);
519
- }) : b(d);
517
+ me(o) ? Rt().then(() => {
518
+ o = o({ direction: d ? "in" : "out" }), m(d);
519
+ }) : m(d);
520
520
  },
521
521
  end() {
522
- c(), s = u = null;
522
+ h(), s = u = null;
523
523
  }
524
524
  };
525
525
  }
526
- function Ie(e) {
526
+ function Re(e) {
527
527
  return e?.length !== void 0 ? e : Array.from(e);
528
528
  }
529
529
  function ys(e) {
@@ -531,21 +531,21 @@ function ys(e) {
531
531
  }
532
532
  function Sn(e, t, r) {
533
533
  const { fragment: n, after_update: i } = e.$$;
534
- n && n.m(t, r), ue(() => {
535
- const o = e.$$.on_mount.map(yr).filter(pe);
536
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : V(o), e.$$.on_mount = [];
537
- }), i.forEach(ue);
534
+ n && n.m(t, r), ce(() => {
535
+ const o = e.$$.on_mount.map(yr).filter(me);
536
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
537
+ }), i.forEach(ce);
538
538
  }
539
539
  function Tn(e, t) {
540
540
  const r = e.$$;
541
- r.fragment !== null && (xn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
541
+ r.fragment !== null && (En(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
542
542
  }
543
- function Hn(e, t) {
544
- e.$$.dirty[0] === -1 && (oe.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
543
+ function Pn(e, t) {
544
+ e.$$.dirty[0] === -1 && (ae.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
545
545
  }
546
- function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
547
- const u = we;
548
- xe(e);
546
+ function Hn(e, t, r, n, i, o, a = null, s = [-1]) {
547
+ const u = Pe;
548
+ Te(e);
549
549
  const l = e.$$ = {
550
550
  fragment: null,
551
551
  ctx: [],
@@ -553,7 +553,7 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
553
553
  props: o,
554
554
  update: B,
555
555
  not_equal: i,
556
- bound: Ft(),
556
+ bound: Gt(),
557
557
  // lifecycle
558
558
  on_mount: [],
559
559
  on_destroy: [],
@@ -562,28 +562,28 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
562
562
  after_update: [],
563
563
  context: new Map(t.context || (u ? u.$$.context : [])),
564
564
  // everything else
565
- callbacks: Ft(),
565
+ callbacks: Gt(),
566
566
  dirty: s,
567
567
  skip_bound: !1,
568
568
  root: t.target || u.$$.root
569
569
  };
570
570
  a && a(l.root);
571
- let h = !1;
572
- if (l.ctx = r ? r(e, t.props || {}, (c, p, ...b) => {
573
- const d = b.length ? b[0] : p;
574
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && Hn(e, c)), p;
575
- }) : [], l.update(), h = !0, V(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
571
+ let c = !1;
572
+ if (l.ctx = r ? r(e, t.props || {}, (h, p, ...m) => {
573
+ const d = m.length ? m[0] : p;
574
+ return l.ctx && i(l.ctx[h], l.ctx[h] = d) && (!l.skip_bound && l.bound[h] && l.bound[h](d), c && Pn(e, h)), p;
575
+ }) : [], l.update(), c = !0, W(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
576
576
  if (t.hydrate) {
577
- const c = cn(t.target);
578
- l.fragment && l.fragment.l(c), c.forEach(L);
577
+ const h = hn(t.target);
578
+ l.fragment && l.fragment.l(h), h.forEach(I);
579
579
  } else
580
580
  l.fragment && l.fragment.c();
581
- t.intro && wn(e.$$.fragment), Sn(e, t.target, t.anchor), R();
581
+ t.intro && wn(e.$$.fragment), Sn(e, t.target, t.anchor), D();
582
582
  }
583
- xe(u);
583
+ Te(u);
584
584
  }
585
- let Hr;
586
- typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
585
+ let Pr;
586
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
587
587
  /** The Svelte component constructor */
588
588
  $$ctor;
589
589
  /** Slots */
@@ -625,17 +625,17 @@ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
625
625
  let o;
626
626
  return {
627
627
  c: function() {
628
- o = T("slot"), i !== "default" && C(o, "name", i);
628
+ o = S("slot"), i !== "default" && H(o, "name", i);
629
629
  },
630
630
  /**
631
631
  * @param {HTMLElement} target
632
632
  * @param {HTMLElement} [anchor]
633
633
  */
634
634
  m: function(u, l) {
635
- F(u, o, l);
635
+ j(u, o, l);
636
636
  },
637
637
  d: function(u) {
638
- u && L(o);
638
+ u && I(o);
639
639
  }
640
640
  };
641
641
  };
@@ -730,7 +730,7 @@ function Fe(e, t, r, n) {
730
730
  }
731
731
  }
732
732
  function Cn(e, t, r, n, i, o) {
733
- let a = class extends Hr {
733
+ let a = class extends Pr {
734
734
  constructor() {
735
735
  super(e, r, i), this.$$p_d = t;
736
736
  }
@@ -786,7 +786,7 @@ class Mn {
786
786
  * @returns {() => void}
787
787
  */
788
788
  $on(t, r) {
789
- if (!pe(r))
789
+ if (!me(r))
790
790
  return B;
791
791
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
792
792
  return n.push(r), () => {
@@ -804,24 +804,24 @@ class Mn {
804
804
  }
805
805
  const An = "4";
806
806
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
807
- const ie = [];
807
+ const se = [];
808
808
  function Bn(e, t) {
809
809
  return {
810
- subscribe: qe(e, t).subscribe
810
+ subscribe: et(e, t).subscribe
811
811
  };
812
812
  }
813
- function qe(e, t = B) {
813
+ function et(e, t = B) {
814
814
  let r;
815
815
  const n = /* @__PURE__ */ new Set();
816
816
  function i(s) {
817
817
  if (vr(e, s) && (e = s, r)) {
818
- const u = !ie.length;
818
+ const u = !se.length;
819
819
  for (const l of n)
820
- l[1](), ie.push(l, e);
820
+ l[1](), se.push(l, e);
821
821
  if (u) {
822
- for (let l = 0; l < ie.length; l += 2)
823
- ie[l][0](ie[l + 1]);
824
- ie.length = 0;
822
+ for (let l = 0; l < se.length; l += 2)
823
+ se[l][0](se[l + 1]);
824
+ se.length = 0;
825
825
  }
826
826
  }
827
827
  }
@@ -836,7 +836,7 @@ function qe(e, t = B) {
836
836
  }
837
837
  return { set: i, update: o, subscribe: a };
838
838
  }
839
- function de(e, t, r) {
839
+ function be(e, t, r) {
840
840
  const n = !Array.isArray(e), i = n ? [e] : e;
841
841
  if (!i.every(Boolean))
842
842
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -844,26 +844,26 @@ function de(e, t, r) {
844
844
  return Bn(r, (a, s) => {
845
845
  let u = !1;
846
846
  const l = [];
847
- let h = 0, c = B;
847
+ let c = 0, h = B;
848
848
  const p = () => {
849
- if (h)
849
+ if (c)
850
850
  return;
851
- c();
851
+ h();
852
852
  const d = t(n ? l[0] : l, a, s);
853
- o ? a(d) : c = pe(d) ? d : B;
854
- }, b = i.map(
853
+ o ? a(d) : h = me(d) ? d : B;
854
+ }, m = i.map(
855
855
  (d, f) => _r(
856
856
  d,
857
- (v) => {
858
- l[f] = v, h &= ~(1 << f), u && p();
857
+ (y) => {
858
+ l[f] = y, c &= ~(1 << f), u && p();
859
859
  },
860
860
  () => {
861
- h |= 1 << f;
861
+ c |= 1 << f;
862
862
  }
863
863
  )
864
864
  );
865
865
  return u = !0, p(), function() {
866
- V(b), c(), u = !1;
866
+ W(m), h(), u = !1;
867
867
  };
868
868
  });
869
869
  }
@@ -888,19 +888,19 @@ function Dn(e) {
888
888
  function Un(e) {
889
889
  return Array.isArray(e) ? [] : {};
890
890
  }
891
- function Se(e, t) {
892
- return t.clone !== !1 && t.isMergeableObject(e) ? le(Un(e), e, t) : e;
891
+ function He(e, t) {
892
+ return t.clone !== !1 && t.isMergeableObject(e) ? he(Un(e), e, t) : e;
893
893
  }
894
- function Fn(e, t, r) {
894
+ function Gn(e, t, r) {
895
895
  return e.concat(t).map(function(n) {
896
- return Se(n, r);
896
+ return He(n, r);
897
897
  });
898
898
  }
899
- function Gn(e, t) {
899
+ function Fn(e, t) {
900
900
  if (!t.customMerge)
901
- return le;
901
+ return he;
902
902
  var r = t.customMerge(e);
903
- return typeof r == "function" ? r : le;
903
+ return typeof r == "function" ? r : he;
904
904
  }
905
905
  function jn(e) {
906
906
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -910,7 +910,7 @@ function jn(e) {
910
910
  function Vt(e) {
911
911
  return Object.keys(e).concat(jn(e));
912
912
  }
913
- function Pr(e, t) {
913
+ function Hr(e, t) {
914
914
  try {
915
915
  return t in e;
916
916
  } catch {
@@ -918,29 +918,29 @@ function Pr(e, t) {
918
918
  }
919
919
  }
920
920
  function kn(e, t) {
921
- return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
921
+ return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
922
922
  }
923
923
  function Vn(e, t, r) {
924
924
  var n = {};
925
925
  return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
926
- n[i] = Se(e[i], r);
926
+ n[i] = He(e[i], r);
927
927
  }), Vt(t).forEach(function(i) {
928
- kn(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
928
+ kn(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
929
929
  }), n;
930
930
  }
931
- function le(e, t, r) {
932
- r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = Se;
931
+ function he(e, t, r) {
932
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = He;
933
933
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
934
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : Se(t, r);
934
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : He(t, r);
935
935
  }
936
- le.all = function(t, r) {
936
+ he.all = function(t, r) {
937
937
  if (!Array.isArray(t))
938
938
  throw new Error("first argument should be an array");
939
939
  return t.reduce(function(n, i) {
940
- return le(n, i, r);
940
+ return he(n, i, r);
941
941
  }, {});
942
942
  };
943
- var Xn = le, Wn = Xn;
943
+ var Xn = he, Wn = Xn;
944
944
  const zn = /* @__PURE__ */ On(Wn);
945
945
  var dt = function(e, t) {
946
946
  return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -950,7 +950,7 @@ var dt = function(e, t) {
950
950
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
951
951
  }, dt(e, t);
952
952
  };
953
- function et(e, t) {
953
+ function tt(e, t) {
954
954
  if (typeof t != "function" && t !== null)
955
955
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
956
956
  dt(e, t);
@@ -959,15 +959,15 @@ function et(e, t) {
959
959
  }
960
960
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
961
961
  }
962
- var D = function() {
963
- return D = Object.assign || function(t) {
962
+ var G = function() {
963
+ return G = Object.assign || function(t) {
964
964
  for (var r, n = 1, i = arguments.length; n < i; n++) {
965
965
  r = arguments[n];
966
966
  for (var o in r)
967
967
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
968
968
  }
969
969
  return t;
970
- }, D.apply(this, arguments);
970
+ }, G.apply(this, arguments);
971
971
  };
972
972
  function Zn(e, t) {
973
973
  var r = {};
@@ -1032,28 +1032,28 @@ var qn = function() {
1032
1032
  }
1033
1033
  }, ut = {
1034
1034
  variadic: Qn
1035
- }, Ye = function() {
1036
- return Ye = Object.assign || function(t) {
1035
+ }, Je = function() {
1036
+ return Je = Object.assign || function(t) {
1037
1037
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1038
1038
  r = arguments[n];
1039
1039
  for (var o in r)
1040
1040
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1041
1041
  }
1042
1042
  return t;
1043
- }, Ye.apply(this, arguments);
1043
+ }, Je.apply(this, arguments);
1044
1044
  };
1045
- var x;
1045
+ var E;
1046
1046
  (function(e) {
1047
1047
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1048
- })(x || (x = {}));
1048
+ })(E || (E = {}));
1049
1049
  var P;
1050
1050
  (function(e) {
1051
1051
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1052
1052
  })(P || (P = {}));
1053
- var he;
1053
+ var fe;
1054
1054
  (function(e) {
1055
1055
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1056
- })(he || (he = {}));
1056
+ })(fe || (fe = {}));
1057
1057
  function Xt(e) {
1058
1058
  return e.type === P.literal;
1059
1059
  }
@@ -1082,10 +1082,10 @@ function Ir(e) {
1082
1082
  return e.type === P.tag;
1083
1083
  }
1084
1084
  function Rr(e) {
1085
- return !!(e && typeof e == "object" && e.type === he.number);
1085
+ return !!(e && typeof e == "object" && e.type === fe.number);
1086
1086
  }
1087
1087
  function mt(e) {
1088
- return !!(e && typeof e == "object" && e.type === he.dateTime);
1088
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1089
1089
  }
1090
1090
  var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
1091
1091
  function oi(e) {
@@ -1179,15 +1179,15 @@ function oi(e) {
1179
1179
  return "";
1180
1180
  }), t;
1181
1181
  }
1182
- var M = function() {
1183
- return M = Object.assign || function(t) {
1182
+ var C = function() {
1183
+ return C = Object.assign || function(t) {
1184
1184
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1185
1185
  r = arguments[n];
1186
1186
  for (var o in r)
1187
1187
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1188
1188
  }
1189
1189
  return t;
1190
- }, M.apply(this, arguments);
1190
+ }, C.apply(this, arguments);
1191
1191
  };
1192
1192
  var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1193
1193
  function ai(e) {
@@ -1199,9 +1199,9 @@ function ai(e) {
1199
1199
  var o = i[n], a = o.split("/");
1200
1200
  if (a.length === 0)
1201
1201
  throw new Error("Invalid number skeleton");
1202
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1203
- var c = h[l];
1204
- if (c.length === 0)
1202
+ for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1203
+ var h = c[l];
1204
+ if (h.length === 0)
1205
1205
  throw new Error("Invalid number skeleton");
1206
1206
  }
1207
1207
  r.push({ stem: s, options: u });
@@ -1218,7 +1218,7 @@ function zt(e) {
1218
1218
  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)), "";
1219
1219
  }), t;
1220
1220
  }
1221
- function Fr(e) {
1221
+ function Gr(e) {
1222
1222
  switch (e) {
1223
1223
  case "sign-auto":
1224
1224
  return {
@@ -1258,7 +1258,7 @@ function Fr(e) {
1258
1258
  };
1259
1259
  }
1260
1260
  }
1261
- function hi(e) {
1261
+ function ci(e) {
1262
1262
  var t;
1263
1263
  if (e[0] === "E" && e[1] === "E" ? (t = {
1264
1264
  notation: "engineering"
@@ -1273,10 +1273,10 @@ function hi(e) {
1273
1273
  return t;
1274
1274
  }
1275
1275
  function Zt(e) {
1276
- var t = {}, r = Fr(e);
1276
+ var t = {}, r = Gr(e);
1277
1277
  return r || t;
1278
1278
  }
1279
- function ci(e) {
1279
+ function hi(e) {
1280
1280
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1281
1281
  var i = n[r];
1282
1282
  switch (i.stem) {
@@ -1311,13 +1311,13 @@ function ci(e) {
1311
1311
  t.notation = "compact", t.compactDisplay = "long";
1312
1312
  continue;
1313
1313
  case "scientific":
1314
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1315
- return M(M({}, u), Zt(l));
1314
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1315
+ return C(C({}, u), Zt(l));
1316
1316
  }, {}));
1317
1317
  continue;
1318
1318
  case "engineering":
1319
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1320
- return M(M({}, u), Zt(l));
1319
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1320
+ return C(C({}, u), Zt(l));
1321
1321
  }, {}));
1322
1322
  continue;
1323
1323
  case "notation-simple":
@@ -1362,13 +1362,13 @@ function ci(e) {
1362
1362
  case "integer-width":
1363
1363
  if (i.options.length > 1)
1364
1364
  throw new RangeError("integer-width stems only accept a single optional option");
1365
- i.options[0].replace(li, function(u, l, h, c, p, b) {
1365
+ i.options[0].replace(li, function(u, l, c, h, p, m) {
1366
1366
  if (l)
1367
- t.minimumIntegerDigits = h.length;
1367
+ t.minimumIntegerDigits = c.length;
1368
1368
  else {
1369
- if (c && p)
1369
+ if (h && p)
1370
1370
  throw new Error("We currently do not support maximum integer digits");
1371
- if (b)
1371
+ if (m)
1372
1372
  throw new Error("We currently do not support exact integer digits");
1373
1373
  }
1374
1374
  return "";
@@ -1382,25 +1382,25 @@ function ci(e) {
1382
1382
  if (Wt.test(i.stem)) {
1383
1383
  if (i.options.length > 1)
1384
1384
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1385
- i.stem.replace(Wt, function(u, l, h, c, p, b) {
1386
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1385
+ i.stem.replace(Wt, function(u, l, c, h, p, m) {
1386
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1387
1387
  });
1388
1388
  var o = i.options[0];
1389
- o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), zt(o)));
1389
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), zt(o)));
1390
1390
  continue;
1391
1391
  }
1392
1392
  if (Dr.test(i.stem)) {
1393
- t = M(M({}, t), zt(i.stem));
1393
+ t = C(C({}, t), zt(i.stem));
1394
1394
  continue;
1395
1395
  }
1396
- var a = Fr(i.stem);
1397
- a && (t = M(M({}, t), a));
1398
- var s = hi(i.stem);
1399
- s && (t = M(M({}, t), s));
1396
+ var a = Gr(i.stem);
1397
+ a && (t = C(C({}, t), a));
1398
+ var s = ci(i.stem);
1399
+ s && (t = C(C({}, t), s));
1400
1400
  }
1401
1401
  return t;
1402
1402
  }
1403
- var Re = {
1403
+ var $e = {
1404
1404
  "001": [
1405
1405
  "H",
1406
1406
  "h"
@@ -2850,14 +2850,14 @@ function pi(e) {
2850
2850
  }
2851
2851
  var r = e.language, n;
2852
2852
  r !== "root" && (n = e.maximize().region);
2853
- var i = Re[n || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2853
+ var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2854
2854
  return i[0];
2855
2855
  }
2856
2856
  var lt, di = new RegExp("^".concat($r.source, "*")), mi = new RegExp("".concat($r.source, "*$"));
2857
2857
  function w(e, t) {
2858
2858
  return { start: e, end: t };
2859
2859
  }
2860
- var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, wi = xi ? Number.isSafeInteger : function(e) {
2860
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
2861
2861
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2862
2862
  }, bt = !0;
2863
2863
  try {
@@ -2900,7 +2900,7 @@ var Yt = bi ? (
2900
2900
  return r;
2901
2901
  }
2902
2902
  )
2903
- ), Gr = vi ? (
2903
+ ), Fr = vi ? (
2904
2904
  // Native
2905
2905
  function(t, r) {
2906
2906
  return t.codePointAt(r);
@@ -2924,7 +2924,7 @@ var Yt = bi ? (
2924
2924
  function(t) {
2925
2925
  return t.replace(di, "");
2926
2926
  }
2927
- ), Hi = Ei ? (
2927
+ ), Pi = xi ? (
2928
2928
  // Native
2929
2929
  function(t) {
2930
2930
  return t.trimEnd();
@@ -2950,14 +2950,14 @@ if (bt) {
2950
2950
  } else
2951
2951
  yt = function(t, r) {
2952
2952
  for (var n = []; ; ) {
2953
- var i = Gr(t, r);
2953
+ var i = Fr(t, r);
2954
2954
  if (i === void 0 || kr(i) || Ai(i))
2955
2955
  break;
2956
2956
  n.push(i), r += i >= 65536 ? 2 : 1;
2957
2957
  }
2958
2958
  return gt.apply(void 0, n);
2959
2959
  };
2960
- var Pi = (
2960
+ var Hi = (
2961
2961
  /** @class */
2962
2962
  function() {
2963
2963
  function e(t, r) {
@@ -2987,7 +2987,7 @@ var Pi = (
2987
2987
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2988
2988
  if (n)
2989
2989
  break;
2990
- return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2990
+ return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2991
2991
  } else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
2992
2992
  var a = this.parseTag(t, r);
2993
2993
  if (a.err)
@@ -3022,9 +3022,9 @@ var Pi = (
3022
3022
  var a = o.val, s = this.clonePosition();
3023
3023
  if (this.bumpIf("</")) {
3024
3024
  if (this.isEOF() || !vt(this.char()))
3025
- return this.error(x.INVALID_TAG, w(s, this.clonePosition()));
3025
+ return this.error(E.INVALID_TAG, w(s, this.clonePosition()));
3026
3026
  var u = this.clonePosition(), l = this.parseTagName();
3027
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3027
+ return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3028
3028
  val: {
3029
3029
  type: P.tag,
3030
3030
  value: i,
@@ -3032,11 +3032,11 @@ var Pi = (
3032
3032
  location: w(n, this.clonePosition())
3033
3033
  },
3034
3034
  err: null
3035
- } : this.error(x.INVALID_TAG, w(s, this.clonePosition())));
3035
+ } : this.error(E.INVALID_TAG, w(s, this.clonePosition())));
3036
3036
  } else
3037
- return this.error(x.UNCLOSED_TAG, w(n, this.clonePosition()));
3037
+ return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3038
3038
  } else
3039
- return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3039
+ return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3040
3040
  }, e.prototype.parseTagName = function() {
3041
3041
  var t = this.offset();
3042
3042
  for (this.bump(); !this.isEOF() && Mi(this.char()); )
@@ -3111,14 +3111,14 @@ var Pi = (
3111
3111
  }, e.prototype.parseArgument = function(t, r) {
3112
3112
  var n = this.clonePosition();
3113
3113
  if (this.bump(), this.bumpSpace(), this.isEOF())
3114
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3114
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3115
3115
  if (this.char() === 125)
3116
- return this.bump(), this.error(x.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3116
+ return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3117
3117
  var i = this.parseIdentifierIfPossible().value;
3118
3118
  if (!i)
3119
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3119
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3120
3120
  if (this.bumpSpace(), this.isEOF())
3121
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3121
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3122
3122
  switch (this.char()) {
3123
3123
  case 125:
3124
3124
  return this.bump(), {
@@ -3131,9 +3131,9 @@ var Pi = (
3131
3131
  err: null
3132
3132
  };
3133
3133
  case 44:
3134
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3134
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3135
3135
  default:
3136
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3136
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3137
3137
  }
3138
3138
  }, e.prototype.parseIdentifierIfPossible = function() {
3139
3139
  var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
@@ -3144,7 +3144,7 @@ var Pi = (
3144
3144
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3145
3145
  switch (s) {
3146
3146
  case "":
3147
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(a, u));
3147
+ return this.error(E.EXPECT_ARGUMENT_TYPE, w(a, u));
3148
3148
  case "number":
3149
3149
  case "date":
3150
3150
  case "time": {
@@ -3152,40 +3152,40 @@ var Pi = (
3152
3152
  var l = null;
3153
3153
  if (this.bumpIf(",")) {
3154
3154
  this.bumpSpace();
3155
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3156
- if (c.err)
3157
- return c;
3158
- var p = Hi(c.val);
3155
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3156
+ if (h.err)
3157
+ return h;
3158
+ var p = Pi(h.val);
3159
3159
  if (p.length === 0)
3160
- return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3161
- var b = w(h, this.clonePosition());
3162
- l = { style: p, styleLocation: b };
3160
+ return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3161
+ var m = w(c, this.clonePosition());
3162
+ l = { style: p, styleLocation: m };
3163
3163
  }
3164
3164
  var d = this.tryParseArgumentClose(i);
3165
3165
  if (d.err)
3166
3166
  return d;
3167
3167
  var f = w(i, this.clonePosition());
3168
3168
  if (l && Yt(l?.style, "::", 0)) {
3169
- var v = Ti(l.style.slice(2));
3169
+ var y = Ti(l.style.slice(2));
3170
3170
  if (s === "number") {
3171
- var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
3172
- return c.err ? c : {
3173
- val: { type: P.number, value: n, location: f, style: c.val },
3171
+ var h = this.parseNumberSkeletonFromString(y, l.styleLocation);
3172
+ return h.err ? h : {
3173
+ val: { type: P.number, value: n, location: f, style: h.val },
3174
3174
  err: null
3175
3175
  };
3176
3176
  } else {
3177
- if (v.length === 0)
3178
- return this.error(x.EXPECT_DATE_TIME_SKELETON, f);
3179
- var g = v;
3180
- this.locale && (g = fi(v, this.locale));
3177
+ if (y.length === 0)
3178
+ return this.error(E.EXPECT_DATE_TIME_SKELETON, f);
3179
+ var g = y;
3180
+ this.locale && (g = fi(y, this.locale));
3181
3181
  var p = {
3182
- type: he.dateTime,
3182
+ type: fe.dateTime,
3183
3183
  pattern: g,
3184
3184
  location: l.styleLocation,
3185
3185
  parsedOptions: this.shouldParseSkeletons ? oi(g) : {}
3186
- }, _ = s === "date" ? P.date : P.time;
3186
+ }, x = s === "date" ? P.date : P.time;
3187
3187
  return {
3188
- val: { type: _, value: n, location: f, style: p },
3188
+ val: { type: x, value: n, location: f, style: p },
3189
3189
  err: null
3190
3190
  };
3191
3191
  }
@@ -3203,52 +3203,52 @@ var Pi = (
3203
3203
  case "plural":
3204
3204
  case "selectordinal":
3205
3205
  case "select": {
3206
- var m = this.clonePosition();
3206
+ var b = this.clonePosition();
3207
3207
  if (this.bumpSpace(), !this.bumpIf(","))
3208
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(m, Ye({}, m)));
3208
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, Je({}, b)));
3209
3209
  this.bumpSpace();
3210
- var H = this.parseIdentifierIfPossible(), A = 0;
3211
- if (s !== "select" && H.value === "offset") {
3210
+ var T = this.parseIdentifierIfPossible(), M = 0;
3211
+ if (s !== "select" && T.value === "offset") {
3212
3212
  if (!this.bumpIf(":"))
3213
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3213
+ return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3214
3214
  this.bumpSpace();
3215
- var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
- if (c.err)
3217
- return c;
3218
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = c.val;
3215
+ var h = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
+ if (h.err)
3217
+ return h;
3218
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), M = h.val;
3219
3219
  }
3220
- var I = this.tryParsePluralOrSelectOptions(t, s, r, H);
3221
- if (I.err)
3222
- return I;
3220
+ var R = this.tryParsePluralOrSelectOptions(t, s, r, T);
3221
+ if (R.err)
3222
+ return R;
3223
3223
  var d = this.tryParseArgumentClose(i);
3224
3224
  if (d.err)
3225
3225
  return d;
3226
- var G = w(i, this.clonePosition());
3226
+ var J = w(i, this.clonePosition());
3227
3227
  return s === "select" ? {
3228
3228
  val: {
3229
3229
  type: P.select,
3230
3230
  value: n,
3231
- options: Jt(I.val),
3232
- location: G
3231
+ options: Jt(R.val),
3232
+ location: J
3233
3233
  },
3234
3234
  err: null
3235
3235
  } : {
3236
3236
  val: {
3237
3237
  type: P.plural,
3238
3238
  value: n,
3239
- options: Jt(I.val),
3240
- offset: A,
3239
+ options: Jt(R.val),
3240
+ offset: M,
3241
3241
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3242
- location: G
3242
+ location: J
3243
3243
  },
3244
3244
  err: null
3245
3245
  };
3246
3246
  }
3247
3247
  default:
3248
- return this.error(x.INVALID_ARGUMENT_TYPE, w(a, u));
3248
+ return this.error(E.INVALID_ARGUMENT_TYPE, w(a, u));
3249
3249
  }
3250
3250
  }, e.prototype.tryParseArgumentClose = function(t) {
3251
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3251
+ return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3252
3252
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3253
3253
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3254
3254
  var n = this.char();
@@ -3257,7 +3257,7 @@ var Pi = (
3257
3257
  this.bump();
3258
3258
  var i = this.clonePosition();
3259
3259
  if (!this.bumpUntil("'"))
3260
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3260
+ return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3261
3261
  this.bump();
3262
3262
  break;
3263
3263
  }
@@ -3289,50 +3289,50 @@ var Pi = (
3289
3289
  try {
3290
3290
  n = ai(t);
3291
3291
  } catch {
3292
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3292
+ return this.error(E.INVALID_NUMBER_SKELETON, r);
3293
3293
  }
3294
3294
  return {
3295
3295
  val: {
3296
- type: he.number,
3296
+ type: fe.number,
3297
3297
  tokens: n,
3298
3298
  location: r,
3299
- parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
3299
+ parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3300
3300
  },
3301
3301
  err: null
3302
3302
  };
3303
3303
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3304
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3304
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3305
3305
  if (l.length === 0) {
3306
- var c = this.clonePosition();
3306
+ var h = this.clonePosition();
3307
3307
  if (r !== "select" && this.bumpIf("=")) {
3308
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3308
+ var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
3309
  if (p.err)
3310
3310
  return p;
3311
- h = w(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3311
+ c = w(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3312
3312
  } else
3313
3313
  break;
3314
3314
  }
3315
3315
  if (u.has(l))
3316
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3316
+ return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3317
3317
  l === "other" && (a = !0), this.bumpSpace();
3318
- var b = this.clonePosition();
3318
+ var m = this.clonePosition();
3319
3319
  if (!this.bumpIf("{"))
3320
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3320
+ return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3321
3321
  var d = this.parseMessage(t + 1, r, n);
3322
3322
  if (d.err)
3323
3323
  return d;
3324
- var f = this.tryParseArgumentClose(b);
3324
+ var f = this.tryParseArgumentClose(m);
3325
3325
  if (f.err)
3326
3326
  return f;
3327
3327
  s.push([
3328
3328
  l,
3329
3329
  {
3330
3330
  value: d.val,
3331
- location: w(b, this.clonePosition())
3331
+ location: w(m, this.clonePosition())
3332
3332
  }
3333
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3333
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3334
3334
  }
3335
- return s.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3335
+ return s.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3336
3336
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3337
3337
  var n = 1, i = this.clonePosition();
3338
3338
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3359,7 +3359,7 @@ var Pi = (
3359
3359
  var t = this.position.offset;
3360
3360
  if (t >= this.message.length)
3361
3361
  throw Error("out of bound");
3362
- var r = Gr(this.message, t);
3362
+ var r = Fr(this.message, t);
3363
3363
  if (r === void 0)
3364
3364
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3365
3365
  return r;
@@ -3435,22 +3435,22 @@ function _t(e) {
3435
3435
  });
3436
3436
  }
3437
3437
  function Bi(e, t) {
3438
- t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
- var r = new Pi(e, t).parse();
3438
+ t === void 0 && (t = {}), t = Je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
+ var r = new Hi(e, t).parse();
3440
3440
  if (r.err) {
3441
- var n = SyntaxError(x[r.err.kind]);
3441
+ var n = SyntaxError(E[r.err.kind]);
3442
3442
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3443
3443
  }
3444
3444
  return t?.captureLocation || _t(r.val), r.val;
3445
3445
  }
3446
- var ce;
3446
+ var pe;
3447
3447
  (function(e) {
3448
3448
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3449
- })(ce || (ce = {}));
3450
- var tt = (
3449
+ })(pe || (pe = {}));
3450
+ var rt = (
3451
3451
  /** @class */
3452
3452
  function(e) {
3453
- et(t, e);
3453
+ tt(t, e);
3454
3454
  function t(r, n, i) {
3455
3455
  var o = e.call(this, r) || this;
3456
3456
  return o.code = n, o.originalMessage = i, o;
@@ -3462,152 +3462,152 @@ var tt = (
3462
3462
  ), Qt = (
3463
3463
  /** @class */
3464
3464
  function(e) {
3465
- et(t, e);
3465
+ tt(t, e);
3466
3466
  function t(r, n, i, o) {
3467
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3467
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
3468
3468
  }
3469
3469
  return t;
3470
- }(tt)
3470
+ }(rt)
3471
3471
  ), Oi = (
3472
3472
  /** @class */
3473
3473
  function(e) {
3474
- et(t, e);
3474
+ tt(t, e);
3475
3475
  function t(r, n, i) {
3476
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3476
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
3477
3477
  }
3478
3478
  return t;
3479
- }(tt)
3479
+ }(rt)
3480
3480
  ), Li = (
3481
3481
  /** @class */
3482
3482
  function(e) {
3483
- et(t, e);
3483
+ tt(t, e);
3484
3484
  function t(r, n) {
3485
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3485
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
3486
3486
  }
3487
3487
  return t;
3488
- }(tt)
3489
- ), O;
3488
+ }(rt)
3489
+ ), L;
3490
3490
  (function(e) {
3491
3491
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3492
- })(O || (O = {}));
3492
+ })(L || (L = {}));
3493
3493
  function Ni(e) {
3494
3494
  return e.length < 2 ? e : e.reduce(function(t, r) {
3495
3495
  var n = t[t.length - 1];
3496
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3496
+ return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3497
3497
  }, []);
3498
3498
  }
3499
3499
  function Ii(e) {
3500
3500
  return typeof e == "function";
3501
3501
  }
3502
- function Ge(e, t, r, n, i, o, a) {
3502
+ function je(e, t, r, n, i, o, a) {
3503
3503
  if (e.length === 1 && Xt(e[0]))
3504
3504
  return [
3505
3505
  {
3506
- type: O.literal,
3506
+ type: L.literal,
3507
3507
  value: e[0].value
3508
3508
  }
3509
3509
  ];
3510
3510
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3511
- var h = l[u];
3512
- if (Xt(h)) {
3511
+ var c = l[u];
3512
+ if (Xt(c)) {
3513
3513
  s.push({
3514
- type: O.literal,
3515
- value: h.value
3514
+ type: L.literal,
3515
+ value: c.value
3516
3516
  });
3517
3517
  continue;
3518
3518
  }
3519
- if (ni(h)) {
3519
+ if (ni(c)) {
3520
3520
  typeof o == "number" && s.push({
3521
- type: O.literal,
3521
+ type: L.literal,
3522
3522
  value: r.getNumberFormat(t).format(o)
3523
3523
  });
3524
3524
  continue;
3525
3525
  }
3526
- var c = h.value;
3527
- if (!(i && c in i))
3528
- throw new Li(c, a);
3529
- var p = i[c];
3530
- if (ri(h)) {
3526
+ var h = c.value;
3527
+ if (!(i && h in i))
3528
+ throw new Li(h, a);
3529
+ var p = i[h];
3530
+ if (ri(c)) {
3531
3531
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3532
- type: typeof p == "string" ? O.literal : O.object,
3532
+ type: typeof p == "string" ? L.literal : L.object,
3533
3533
  value: p
3534
3534
  });
3535
3535
  continue;
3536
3536
  }
3537
- if (Br(h)) {
3538
- var b = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3537
+ if (Br(c)) {
3538
+ var m = typeof c.style == "string" ? n.date[c.style] : mt(c.style) ? c.style.parsedOptions : void 0;
3539
3539
  s.push({
3540
- type: O.literal,
3541
- value: r.getDateTimeFormat(t, b).format(p)
3540
+ type: L.literal,
3541
+ value: r.getDateTimeFormat(t, m).format(p)
3542
3542
  });
3543
3543
  continue;
3544
3544
  }
3545
- if (Or(h)) {
3546
- var b = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3545
+ if (Or(c)) {
3546
+ var m = typeof c.style == "string" ? n.time[c.style] : mt(c.style) ? c.style.parsedOptions : n.time.medium;
3547
3547
  s.push({
3548
- type: O.literal,
3549
- value: r.getDateTimeFormat(t, b).format(p)
3548
+ type: L.literal,
3549
+ value: r.getDateTimeFormat(t, m).format(p)
3550
3550
  });
3551
3551
  continue;
3552
3552
  }
3553
- if (Ar(h)) {
3554
- var b = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
3555
- b && b.scale && (p = p * (b.scale || 1)), s.push({
3556
- type: O.literal,
3557
- value: r.getNumberFormat(t, b).format(p)
3553
+ if (Ar(c)) {
3554
+ var m = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
3555
+ m && m.scale && (p = p * (m.scale || 1)), s.push({
3556
+ type: L.literal,
3557
+ value: r.getNumberFormat(t, m).format(p)
3558
3558
  });
3559
3559
  continue;
3560
3560
  }
3561
- if (Ir(h)) {
3562
- var d = h.children, f = h.value, v = i[f];
3563
- if (!Ii(v))
3561
+ if (Ir(c)) {
3562
+ var d = c.children, f = c.value, y = i[f];
3563
+ if (!Ii(y))
3564
3564
  throw new Oi(f, "function", a);
3565
- var g = Ge(d, t, r, n, i, o), _ = v(g.map(function(A) {
3566
- return A.value;
3565
+ var g = je(d, t, r, n, i, o), x = y(g.map(function(M) {
3566
+ return M.value;
3567
3567
  }));
3568
- Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(A) {
3568
+ Array.isArray(x) || (x = [x]), s.push.apply(s, x.map(function(M) {
3569
3569
  return {
3570
- type: typeof A == "string" ? O.literal : O.object,
3571
- value: A
3570
+ type: typeof M == "string" ? L.literal : L.object,
3571
+ value: M
3572
3572
  };
3573
3573
  }));
3574
3574
  }
3575
- if (Lr(h)) {
3576
- var m = h.options[p] || h.options.other;
3577
- if (!m)
3578
- throw new Qt(h.value, p, Object.keys(h.options), a);
3579
- s.push.apply(s, Ge(m.value, t, r, n, i));
3575
+ if (Lr(c)) {
3576
+ var b = c.options[p] || c.options.other;
3577
+ if (!b)
3578
+ throw new Qt(c.value, p, Object.keys(c.options), a);
3579
+ s.push.apply(s, je(b.value, t, r, n, i));
3580
3580
  continue;
3581
3581
  }
3582
- if (Nr(h)) {
3583
- var m = h.options["=".concat(p)];
3584
- if (!m) {
3582
+ if (Nr(c)) {
3583
+ var b = c.options["=".concat(p)];
3584
+ if (!b) {
3585
3585
  if (!Intl.PluralRules)
3586
- throw new tt(`Intl.PluralRules is not available in this environment.
3586
+ throw new rt(`Intl.PluralRules is not available in this environment.
3587
3587
  Try polyfilling it using "@formatjs/intl-pluralrules"
3588
- `, ce.MISSING_INTL_API, a);
3589
- var H = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3590
- m = h.options[H] || h.options.other;
3588
+ `, pe.MISSING_INTL_API, a);
3589
+ var T = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3590
+ b = c.options[T] || c.options.other;
3591
3591
  }
3592
- if (!m)
3593
- throw new Qt(h.value, p, Object.keys(h.options), a);
3594
- s.push.apply(s, Ge(m.value, t, r, n, i, p - (h.offset || 0)));
3592
+ if (!b)
3593
+ throw new Qt(c.value, p, Object.keys(c.options), a);
3594
+ s.push.apply(s, je(b.value, t, r, n, i, p - (c.offset || 0)));
3595
3595
  continue;
3596
3596
  }
3597
3597
  }
3598
3598
  return Ni(s);
3599
3599
  }
3600
3600
  function Ri(e, t) {
3601
- return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3602
- return r[n] = D(D({}, e[n]), t[n] || {}), r;
3601
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3602
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3603
3603
  }, {})) : e;
3604
3604
  }
3605
3605
  function $i(e, t) {
3606
3606
  return t ? Object.keys(e).reduce(function(r, n) {
3607
3607
  return r[n] = Ri(e[n], t[n]), r;
3608
- }, D({}, e)) : e;
3608
+ }, G({}, e)) : e;
3609
3609
  }
3610
- function ht(e) {
3610
+ function ct(e) {
3611
3611
  return {
3612
3612
  create: function() {
3613
3613
  return {
@@ -3632,7 +3632,7 @@ function Di(e) {
3632
3632
  r[n] = arguments[n];
3633
3633
  return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], r, !1)))();
3634
3634
  }, {
3635
- cache: ht(e.number),
3635
+ cache: ct(e.number),
3636
3636
  strategy: ut.variadic
3637
3637
  }),
3638
3638
  getDateTimeFormat: at(function() {
@@ -3640,7 +3640,7 @@ function Di(e) {
3640
3640
  r[n] = arguments[n];
3641
3641
  return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], r, !1)))();
3642
3642
  }, {
3643
- cache: ht(e.dateTime),
3643
+ cache: ct(e.dateTime),
3644
3644
  strategy: ut.variadic
3645
3645
  }),
3646
3646
  getPluralRules: at(function() {
@@ -3648,7 +3648,7 @@ function Di(e) {
3648
3648
  r[n] = arguments[n];
3649
3649
  return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], r, !1)))();
3650
3650
  }, {
3651
- cache: ht(e.pluralRules),
3651
+ cache: ct(e.pluralRules),
3652
3652
  strategy: ut.variadic
3653
3653
  })
3654
3654
  };
@@ -3667,12 +3667,12 @@ var Vr = (
3667
3667
  var l = o.formatToParts(u);
3668
3668
  if (l.length === 1)
3669
3669
  return l[0].value;
3670
- var h = l.reduce(function(c, p) {
3671
- return !c.length || p.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3670
+ var c = l.reduce(function(h, p) {
3671
+ return !h.length || p.type !== L.literal || typeof h[h.length - 1] != "string" ? h.push(p.value) : h[h.length - 1] += p.value, h;
3672
3672
  }, []);
3673
- return h.length <= 1 ? h[0] || "" : h;
3673
+ return c.length <= 1 ? c[0] || "" : c;
3674
3674
  }, this.formatToParts = function(u) {
3675
- return Ge(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3675
+ return je(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3676
3676
  }, this.resolvedOptions = function() {
3677
3677
  var u;
3678
3678
  return {
@@ -3686,7 +3686,7 @@ var Vr = (
3686
3686
  var a = i || {};
3687
3687
  a.formatters;
3688
3688
  var s = Zn(a, ["formatters"]);
3689
- this.ast = e.__parse(t, D(D({}, s), { locale: this.resolvedLocale }));
3689
+ this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
3690
3690
  } else
3691
3691
  this.ast = t;
3692
3692
  if (!Array.isArray(this.ast))
@@ -3786,21 +3786,21 @@ function Ui(e, t) {
3786
3786
  n = void 0;
3787
3787
  return n;
3788
3788
  }
3789
- const z = {}, Fi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xr = (e, t) => {
3789
+ const z = {}, Gi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xr = (e, t) => {
3790
3790
  if (t == null)
3791
3791
  return;
3792
3792
  if (t in z && e in z[t])
3793
3793
  return z[t][e];
3794
- const r = Pe(t);
3794
+ const r = Ae(t);
3795
3795
  for (let n = 0; n < r.length; n++) {
3796
3796
  const i = r[n], o = ji(i, e);
3797
3797
  if (o)
3798
- return Fi(e, t, o);
3798
+ return Gi(e, t, o);
3799
3799
  }
3800
3800
  };
3801
3801
  let Dt;
3802
- const He = qe({});
3803
- function Gi(e) {
3802
+ const Me = et({});
3803
+ function Fi(e) {
3804
3804
  return Dt[e] || null;
3805
3805
  }
3806
3806
  function Wr(e) {
@@ -3809,13 +3809,13 @@ function Wr(e) {
3809
3809
  function ji(e, t) {
3810
3810
  if (!Wr(e))
3811
3811
  return null;
3812
- const r = Gi(e);
3812
+ const r = Fi(e);
3813
3813
  return Ui(r, t);
3814
3814
  }
3815
3815
  function ki(e) {
3816
3816
  if (e == null)
3817
3817
  return;
3818
- const t = Pe(e);
3818
+ const t = Ae(e);
3819
3819
  for (let r = 0; r < t.length; r++) {
3820
3820
  const n = t[r];
3821
3821
  if (Wr(n))
@@ -3823,28 +3823,28 @@ function ki(e) {
3823
3823
  }
3824
3824
  }
3825
3825
  function zr(e, ...t) {
3826
- delete z[e], He.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3826
+ delete z[e], Me.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3827
3827
  }
3828
- de(
3829
- [He],
3828
+ be(
3829
+ [Me],
3830
3830
  ([e]) => Object.keys(e)
3831
3831
  );
3832
- He.subscribe((e) => Dt = e);
3833
- const je = {};
3832
+ Me.subscribe((e) => Dt = e);
3833
+ const ke = {};
3834
3834
  function Vi(e, t) {
3835
- je[e].delete(t), je[e].size === 0 && delete je[e];
3835
+ ke[e].delete(t), ke[e].size === 0 && delete ke[e];
3836
3836
  }
3837
3837
  function Zr(e) {
3838
- return je[e];
3838
+ return ke[e];
3839
3839
  }
3840
3840
  function Xi(e) {
3841
- return Pe(e).map((t) => {
3841
+ return Ae(e).map((t) => {
3842
3842
  const r = Zr(t);
3843
3843
  return [t, r ? [...r] : []];
3844
3844
  }).filter(([, t]) => t.length > 0);
3845
3845
  }
3846
- function Je(e) {
3847
- return e == null ? !1 : Pe(e).some(
3846
+ function Ke(e) {
3847
+ return e == null ? !1 : Ae(e).some(
3848
3848
  (t) => {
3849
3849
  var r;
3850
3850
  return (r = Zr(t)) == null ? void 0 : r.size;
@@ -3856,20 +3856,20 @@ function Wi(e, t) {
3856
3856
  t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
3857
3857
  ).then((n) => zr(e, ...n));
3858
3858
  }
3859
- const ve = {};
3859
+ const Ee = {};
3860
3860
  function Yr(e) {
3861
- if (!Je(e))
3862
- return e in ve ? ve[e] : Promise.resolve();
3861
+ if (!Ke(e))
3862
+ return e in Ee ? Ee[e] : Promise.resolve();
3863
3863
  const t = Xi(e);
3864
- return ve[e] = Promise.all(
3864
+ return Ee[e] = Promise.all(
3865
3865
  t.map(
3866
3866
  ([r, n]) => Wi(r, n)
3867
3867
  )
3868
3868
  ).then(() => {
3869
- if (Je(e))
3869
+ if (Ke(e))
3870
3870
  return Yr(e);
3871
- delete ve[e];
3872
- }), ve[e];
3871
+ delete Ee[e];
3872
+ }), Ee[e];
3873
3873
  }
3874
3874
  var qt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Yi = (e, t) => {
3875
3875
  var r = {};
@@ -3912,9 +3912,9 @@ const Ji = {
3912
3912
  };
3913
3913
  function Ki({ locale: e, id: t }) {
3914
3914
  console.warn(
3915
- `[svelte-i18n] The message "${t}" was not found in "${Pe(
3915
+ `[svelte-i18n] The message "${t}" was not found in "${Ae(
3916
3916
  e
3917
- ).join('", "')}".${Je(Y()) ? `
3917
+ ).join('", "')}".${Ke(Y()) ? `
3918
3918
 
3919
3919
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3920
3920
  );
@@ -3926,9 +3926,9 @@ const Qi = {
3926
3926
  warnOnMissingMessages: !0,
3927
3927
  handleMissingMessage: void 0,
3928
3928
  ignoreTag: !0
3929
- }, _e = Qi;
3930
- function fe() {
3931
- return _e;
3929
+ }, we = Qi;
3930
+ function de() {
3931
+ return we;
3932
3932
  }
3933
3933
  function qi(e) {
3934
3934
  const t = e, { formats: r } = t, n = Yi(t, ["formats"]);
@@ -3943,9 +3943,9 @@ function qi(e) {
3943
3943
  }
3944
3944
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ki : console.warn(
3945
3945
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3946
- )), Object.assign(_e, n, { initialLocale: i }), r && ("number" in r && Object.assign(_e.formats.number, r.number), "date" in r && Object.assign(_e.formats.date, r.date), "time" in r && Object.assign(_e.formats.time, r.time)), Q.set(i);
3946
+ )), Object.assign(we, n, { initialLocale: i }), r && ("number" in r && Object.assign(we.formats.number, r.number), "date" in r && Object.assign(we.formats.date, r.date), "time" in r && Object.assign(we.formats.time, r.time)), ee.set(i);
3947
3947
  }
3948
- const ct = qe(!1);
3948
+ const ht = et(!1);
3949
3949
  var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
3950
3950
  for (var r in t || (t = {}))
3951
3951
  no.call(t, r) && tr(e, r, t[r]);
@@ -3954,113 +3954,113 @@ var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwn
3954
3954
  io.call(t, r) && tr(e, r, t[r]);
3955
3955
  return e;
3956
3956
  }, so = (e, t) => to(e, ro(t));
3957
- let Et;
3958
- const Ke = qe(null);
3957
+ let xt;
3958
+ const Qe = et(null);
3959
3959
  function rr(e) {
3960
3960
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3961
3961
  }
3962
- function Pe(e, t = fe().fallbackLocale) {
3962
+ function Ae(e, t = de().fallbackLocale) {
3963
3963
  const r = rr(e);
3964
3964
  return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
3965
3965
  }
3966
3966
  function Y() {
3967
- return Et ?? void 0;
3967
+ return xt ?? void 0;
3968
3968
  }
3969
- Ke.subscribe((e) => {
3970
- Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3969
+ Qe.subscribe((e) => {
3970
+ xt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3971
3971
  });
3972
3972
  const ao = (e) => {
3973
- if (e && ki(e) && Je(e)) {
3974
- const { loadingDelay: t } = fe();
3973
+ if (e && ki(e) && Ke(e)) {
3974
+ const { loadingDelay: t } = de();
3975
3975
  let r;
3976
3976
  return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
3977
- () => ct.set(!0),
3977
+ () => ht.set(!0),
3978
3978
  t
3979
- ) : ct.set(!0), Yr(e).then(() => {
3980
- Ke.set(e);
3979
+ ) : ht.set(!0), Yr(e).then(() => {
3980
+ Qe.set(e);
3981
3981
  }).finally(() => {
3982
- clearTimeout(r), ct.set(!1);
3982
+ clearTimeout(r), ht.set(!1);
3983
3983
  });
3984
3984
  }
3985
- return Ke.set(e);
3986
- }, Q = so(oo({}, Ke), {
3985
+ return Qe.set(e);
3986
+ }, ee = so(oo({}, Qe), {
3987
3987
  set: ao
3988
- }), rt = (e) => {
3988
+ }), nt = (e) => {
3989
3989
  const t = /* @__PURE__ */ Object.create(null);
3990
3990
  return (n) => {
3991
3991
  const i = JSON.stringify(n);
3992
3992
  return i in t ? t[i] : t[i] = e(n);
3993
3993
  };
3994
3994
  };
3995
- var uo = Object.defineProperty, Qe = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
3995
+ var uo = Object.defineProperty, qe = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
3996
3996
  for (var r in t || (t = {}))
3997
3997
  Jr.call(t, r) && nr(e, r, t[r]);
3998
- if (Qe)
3999
- for (var r of Qe(t))
3998
+ if (qe)
3999
+ for (var r of qe(t))
4000
4000
  Kr.call(t, r) && nr(e, r, t[r]);
4001
4001
  return e;
4002
- }, me = (e, t) => {
4002
+ }, ge = (e, t) => {
4003
4003
  var r = {};
4004
4004
  for (var n in e)
4005
4005
  Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4006
- if (e != null && Qe)
4007
- for (var n of Qe(e))
4006
+ if (e != null && qe)
4007
+ for (var n of qe(e))
4008
4008
  t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4009
4009
  return r;
4010
4010
  };
4011
- const Te = (e, t) => {
4012
- const { formats: r } = fe();
4011
+ const Ce = (e, t) => {
4012
+ const { formats: r } = de();
4013
4013
  if (e in r && t in r[e])
4014
4014
  return r[e][t];
4015
4015
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4016
- }, lo = rt(
4016
+ }, lo = nt(
4017
4017
  (e) => {
4018
- var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4018
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4019
4019
  if (r == null)
4020
4020
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4021
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4021
+ return n && (i = Ce("number", n)), new Intl.NumberFormat(r, i);
4022
4022
  }
4023
- ), ho = rt(
4023
+ ), co = nt(
4024
4024
  (e) => {
4025
- var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4025
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4026
4026
  if (r == null)
4027
4027
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4028
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4028
+ return n ? i = Ce("date", n) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(r, i);
4029
4029
  }
4030
- ), co = rt(
4030
+ ), ho = nt(
4031
4031
  (e) => {
4032
- var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4032
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4033
4033
  if (r == null)
4034
4034
  throw new Error(
4035
4035
  '[svelte-i18n] A "locale" must be set to format time values'
4036
4036
  );
4037
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4037
+ return n ? i = Ce("time", n) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(r, i);
4038
4038
  }
4039
4039
  ), fo = (e = {}) => {
4040
4040
  var t = e, {
4041
4041
  locale: r = Y()
4042
- } = t, n = me(t, [
4042
+ } = t, n = ge(t, [
4043
4043
  "locale"
4044
4044
  ]);
4045
4045
  return lo(Ut({ locale: r }, n));
4046
4046
  }, po = (e = {}) => {
4047
4047
  var t = e, {
4048
4048
  locale: r = Y()
4049
- } = t, n = me(t, [
4049
+ } = t, n = ge(t, [
4050
4050
  "locale"
4051
4051
  ]);
4052
- return ho(Ut({ locale: r }, n));
4052
+ return co(Ut({ locale: r }, n));
4053
4053
  }, mo = (e = {}) => {
4054
4054
  var t = e, {
4055
4055
  locale: r = Y()
4056
- } = t, n = me(t, [
4056
+ } = t, n = ge(t, [
4057
4057
  "locale"
4058
4058
  ]);
4059
- return co(Ut({ locale: r }, n));
4060
- }, bo = rt(
4059
+ return ho(Ut({ locale: r }, n));
4060
+ }, bo = nt(
4061
4061
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4062
- (e, t = Y()) => new Vr(e, t, fe().formats, {
4063
- ignoreTag: fe().ignoreTag
4062
+ (e, t = Y()) => new Vr(e, t, de().formats, {
4063
+ ignoreTag: de().ignoreTag
4064
4064
  })
4065
4065
  ), go = (e, t = {}) => {
4066
4066
  var r, n, i, o;
@@ -4075,30 +4075,30 @@ const Te = (e, t) => {
4075
4075
  throw new Error(
4076
4076
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4077
4077
  );
4078
- let h = Xr(e, u);
4079
- if (!h)
4080
- h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
- else if (typeof h != "string")
4078
+ let c = Xr(e, u);
4079
+ if (!c)
4080
+ c = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
+ else if (typeof c != "string")
4082
4082
  return console.warn(
4083
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4084
- ), h;
4083
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4084
+ ), c;
4085
4085
  if (!s)
4086
- return h;
4087
- let c = h;
4086
+ return c;
4087
+ let h = c;
4088
4088
  try {
4089
- c = bo(h, u).format(s);
4089
+ h = bo(c, u).format(s);
4090
4090
  } catch (p) {
4091
4091
  p instanceof Error && console.warn(
4092
4092
  `[svelte-i18n] Message "${e}" has syntax error:`,
4093
4093
  p.message
4094
4094
  );
4095
4095
  }
4096
- return c;
4097
- }, yo = (e, t) => mo(t).format(e), vo = (e, t) => po(t).format(e), _o = (e, t) => fo(t).format(e), Eo = (e, t = Y()) => Xr(e, t), xo = de([Q, He], () => go);
4098
- de([Q], () => yo);
4099
- de([Q], () => vo);
4100
- de([Q], () => _o);
4101
- de([Q, He], () => Eo);
4096
+ return h;
4097
+ }, yo = (e, t) => mo(t).format(e), vo = (e, t) => po(t).format(e), _o = (e, t) => fo(t).format(e), xo = (e, t = Y()) => Xr(e, t), Eo = be([ee, Me], () => go);
4098
+ be([ee], () => yo);
4099
+ be([ee], () => vo);
4100
+ be([ee], () => _o);
4101
+ be([ee, Me], () => xo);
4102
4102
  /*! *****************************************************************************
4103
4103
  Copyright (c) Microsoft Corporation.
4104
4104
 
@@ -4113,18 +4113,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4113
4113
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4114
4114
  PERFORMANCE OF THIS SOFTWARE.
4115
4115
  ***************************************************************************** */
4116
- var xt = function(e, t) {
4117
- return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4116
+ var Et = function(e, t) {
4117
+ return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4118
4118
  r.__proto__ = n;
4119
4119
  } || function(r, n) {
4120
4120
  for (var i in n)
4121
4121
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4122
- }, xt(e, t);
4122
+ }, Et(e, t);
4123
4123
  };
4124
- function Ce(e, t) {
4124
+ function Be(e, t) {
4125
4125
  if (typeof t != "function" && t !== null)
4126
4126
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4127
- xt(e, t);
4127
+ Et(e, t);
4128
4128
  function r() {
4129
4129
  this.constructor = e;
4130
4130
  }
@@ -4168,7 +4168,7 @@ function Tt(e, t, r) {
4168
4168
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4169
4169
  return e.concat(o || t);
4170
4170
  }
4171
- function k(e) {
4171
+ function X(e) {
4172
4172
  return typeof e == "function";
4173
4173
  }
4174
4174
  function Qr(e) {
@@ -4186,13 +4186,13 @@ var ft = Qr(function(e) {
4186
4186
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4187
4187
  };
4188
4188
  });
4189
- function Ht(e, t) {
4189
+ function Pt(e, t) {
4190
4190
  if (e) {
4191
4191
  var r = e.indexOf(t);
4192
4192
  0 <= r && e.splice(r, 1);
4193
4193
  }
4194
4194
  }
4195
- var nt = function() {
4195
+ var it = function() {
4196
4196
  function e(t) {
4197
4197
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4198
4198
  }
@@ -4220,19 +4220,19 @@ var nt = function() {
4220
4220
  }
4221
4221
  else
4222
4222
  a.remove(this);
4223
- var h = this.initialTeardown;
4224
- if (k(h))
4223
+ var c = this.initialTeardown;
4224
+ if (X(c))
4225
4225
  try {
4226
- h();
4226
+ c();
4227
4227
  } catch (f) {
4228
4228
  o = f instanceof ft ? f.errors : [f];
4229
4229
  }
4230
- var c = this._finalizers;
4231
- if (c) {
4230
+ var h = this._finalizers;
4231
+ if (h) {
4232
4232
  this._finalizers = null;
4233
4233
  try {
4234
- for (var p = wt(c), b = p.next(); !b.done; b = p.next()) {
4235
- var d = b.value;
4234
+ for (var p = wt(h), m = p.next(); !m.done; m = p.next()) {
4235
+ var d = m.value;
4236
4236
  try {
4237
4237
  ir(d);
4238
4238
  } catch (f) {
@@ -4243,7 +4243,7 @@ var nt = function() {
4243
4243
  n = { error: f };
4244
4244
  } finally {
4245
4245
  try {
4246
- b && !b.done && (i = p.return) && i.call(p);
4246
+ m && !m.done && (i = p.return) && i.call(p);
4247
4247
  } finally {
4248
4248
  if (n)
4249
4249
  throw n.error;
@@ -4274,20 +4274,20 @@ var nt = function() {
4274
4274
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4275
4275
  }, e.prototype._removeParent = function(t) {
4276
4276
  var r = this._parentage;
4277
- r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
4277
+ r === t ? this._parentage = null : Array.isArray(r) && Pt(r, t);
4278
4278
  }, e.prototype.remove = function(t) {
4279
4279
  var r = this._finalizers;
4280
- r && Ht(r, t), t instanceof e && t._removeParent(this);
4280
+ r && Pt(r, t), t instanceof e && t._removeParent(this);
4281
4281
  }, e.EMPTY = function() {
4282
4282
  var t = new e();
4283
4283
  return t.closed = !0, t;
4284
4284
  }(), e;
4285
- }(), qr = nt.EMPTY;
4285
+ }(), qr = it.EMPTY;
4286
4286
  function en(e) {
4287
- return e instanceof nt || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
4287
+ return e instanceof it || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
4288
4288
  }
4289
4289
  function ir(e) {
4290
- k(e) ? e() : e.unsubscribe();
4290
+ X(e) ? e() : e.unsubscribe();
4291
4291
  }
4292
4292
  var wo = {
4293
4293
  Promise: void 0
@@ -4309,17 +4309,17 @@ function To(e) {
4309
4309
  }
4310
4310
  function or() {
4311
4311
  }
4312
- function ke(e) {
4312
+ function Ve(e) {
4313
4313
  e();
4314
4314
  }
4315
4315
  var tn = function(e) {
4316
- Ce(t, e);
4316
+ Be(t, e);
4317
4317
  function t(r) {
4318
4318
  var n = e.call(this) || this;
4319
4319
  return n.isStopped = !1, r ? (n.destination = r, en(r) && r.add(n)) : n.destination = Co, n;
4320
4320
  }
4321
4321
  return t.create = function(r, n, i) {
4322
- return new Pt(r, n, i);
4322
+ return new Ht(r, n, i);
4323
4323
  }, t.prototype.next = function(r) {
4324
4324
  this.isStopped || this._next(r);
4325
4325
  }, t.prototype.error = function(r) {
@@ -4343,7 +4343,7 @@ var tn = function(e) {
4343
4343
  this.unsubscribe();
4344
4344
  }
4345
4345
  }, t;
4346
- }(nt), Ho = function() {
4346
+ }(it), Po = function() {
4347
4347
  function e(t) {
4348
4348
  this.partialObserver = t;
4349
4349
  }
@@ -4353,7 +4353,7 @@ var tn = function(e) {
4353
4353
  try {
4354
4354
  r.next(t);
4355
4355
  } catch (n) {
4356
- $e(n);
4356
+ De(n);
4357
4357
  }
4358
4358
  }, e.prototype.error = function(t) {
4359
4359
  var r = this.partialObserver;
@@ -4361,41 +4361,41 @@ var tn = function(e) {
4361
4361
  try {
4362
4362
  r.error(t);
4363
4363
  } catch (n) {
4364
- $e(n);
4364
+ De(n);
4365
4365
  }
4366
4366
  else
4367
- $e(t);
4367
+ De(t);
4368
4368
  }, e.prototype.complete = function() {
4369
4369
  var t = this.partialObserver;
4370
4370
  if (t.complete)
4371
4371
  try {
4372
4372
  t.complete();
4373
4373
  } catch (r) {
4374
- $e(r);
4374
+ De(r);
4375
4375
  }
4376
4376
  }, e;
4377
- }(), Pt = function(e) {
4378
- Ce(t, e);
4377
+ }(), Ht = function(e) {
4378
+ Be(t, e);
4379
4379
  function t(r, n, i) {
4380
4380
  var o = e.call(this) || this, a;
4381
- return k(r) || !r ? a = {
4381
+ return X(r) || !r ? a = {
4382
4382
  next: r ?? void 0,
4383
4383
  error: n ?? void 0,
4384
4384
  complete: i ?? void 0
4385
- } : a = r, o.destination = new Ho(a), o;
4385
+ } : a = r, o.destination = new Po(a), o;
4386
4386
  }
4387
4387
  return t;
4388
4388
  }(tn);
4389
- function $e(e) {
4389
+ function De(e) {
4390
4390
  To(e);
4391
4391
  }
4392
- function Po(e) {
4392
+ function Ho(e) {
4393
4393
  throw e;
4394
4394
  }
4395
4395
  var Co = {
4396
4396
  closed: !0,
4397
4397
  next: or,
4398
- error: Po,
4398
+ error: Ho,
4399
4399
  complete: or
4400
4400
  }, Mo = function() {
4401
4401
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
@@ -4418,8 +4418,8 @@ var sr = function() {
4418
4418
  var r = new e();
4419
4419
  return r.source = this, r.operator = t, r;
4420
4420
  }, e.prototype.subscribe = function(t, r, n) {
4421
- var i = this, o = Lo(t) ? t : new Pt(t, r, n);
4422
- return ke(function() {
4421
+ var i = this, o = Lo(t) ? t : new Ht(t, r, n);
4422
+ return Ve(function() {
4423
4423
  var a = i, s = a.operator, u = a.source;
4424
4424
  o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4425
4425
  }), o;
@@ -4432,7 +4432,7 @@ var sr = function() {
4432
4432
  }, e.prototype.forEach = function(t, r) {
4433
4433
  var n = this;
4434
4434
  return r = ar(r), new r(function(i, o) {
4435
- var a = new Pt({
4435
+ var a = new Ht({
4436
4436
  next: function(s) {
4437
4437
  try {
4438
4438
  t(s);
@@ -4475,7 +4475,7 @@ function ar(e) {
4475
4475
  return (t = e ?? wo.Promise) !== null && t !== void 0 ? t : Promise;
4476
4476
  }
4477
4477
  function Oo(e) {
4478
- return e && k(e.next) && k(e.error) && k(e.complete);
4478
+ return e && X(e.next) && X(e.error) && X(e.complete);
4479
4479
  }
4480
4480
  function Lo(e) {
4481
4481
  return e && e instanceof tn || Oo(e) && en(e);
@@ -4485,7 +4485,7 @@ var No = Qr(function(e) {
4485
4485
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4486
4486
  };
4487
4487
  }), rn = function(e) {
4488
- Ce(t, e);
4488
+ Be(t, e);
4489
4489
  function t() {
4490
4490
  var r = e.call(this) || this;
4491
4491
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4498,7 +4498,7 @@ var No = Qr(function(e) {
4498
4498
  throw new No();
4499
4499
  }, t.prototype.next = function(r) {
4500
4500
  var n = this;
4501
- ke(function() {
4501
+ Ve(function() {
4502
4502
  var i, o;
4503
4503
  if (n._throwIfClosed(), !n.isStopped) {
4504
4504
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -4521,7 +4521,7 @@ var No = Qr(function(e) {
4521
4521
  });
4522
4522
  }, t.prototype.error = function(r) {
4523
4523
  var n = this;
4524
- ke(function() {
4524
+ Ve(function() {
4525
4525
  if (n._throwIfClosed(), !n.isStopped) {
4526
4526
  n.hasError = n.isStopped = !0, n.thrownError = r;
4527
4527
  for (var i = n.observers; i.length; )
@@ -4530,7 +4530,7 @@ var No = Qr(function(e) {
4530
4530
  });
4531
4531
  }, t.prototype.complete = function() {
4532
4532
  var r = this;
4533
- ke(function() {
4533
+ Ve(function() {
4534
4534
  if (r._throwIfClosed(), !r.isStopped) {
4535
4535
  r.isStopped = !0;
4536
4536
  for (var n = r.observers; n.length; )
@@ -4552,8 +4552,8 @@ var No = Qr(function(e) {
4552
4552
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4553
4553
  }, t.prototype._innerSubscribe = function(r) {
4554
4554
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4555
- return o || a ? qr : (this.currentObservers = null, s.push(r), new nt(function() {
4556
- n.currentObservers = null, Ht(s, r);
4555
+ return o || a ? qr : (this.currentObservers = null, s.push(r), new it(function() {
4556
+ n.currentObservers = null, Pt(s, r);
4557
4557
  }));
4558
4558
  }, t.prototype._checkFinalizedStatuses = function(r) {
4559
4559
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
@@ -4565,7 +4565,7 @@ var No = Qr(function(e) {
4565
4565
  return new ur(r, n);
4566
4566
  }, t;
4567
4567
  }(sr), ur = function(e) {
4568
- Ce(t, e);
4568
+ Be(t, e);
4569
4569
  function t(r, n) {
4570
4570
  var i = e.call(this) || this;
4571
4571
  return i.destination = r, i.source = n, i;
@@ -4589,7 +4589,7 @@ var No = Qr(function(e) {
4589
4589
  },
4590
4590
  delegate: void 0
4591
4591
  }, Io = function(e) {
4592
- Ce(t, e);
4592
+ Be(t, e);
4593
4593
  function t(r, n, i) {
4594
4594
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nn);
4595
4595
  var o = e.call(this) || this;
@@ -4606,30 +4606,30 @@ var No = Qr(function(e) {
4606
4606
  }, t.prototype._trimBuffer = function() {
4607
4607
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
4608
4608
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4609
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4610
- l = h;
4609
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4610
+ l = c;
4611
4611
  l && o.splice(0, l + 1);
4612
4612
  }
4613
4613
  }, t;
4614
4614
  }(rn);
4615
- const lr = [], hr = {}, Ro = (e, t = 0) => {
4615
+ const lr = [], cr = {}, Ro = (e, t = 0) => {
4616
4616
  if (lr.indexOf(e) == -1) {
4617
4617
  const r = new Io(t);
4618
- hr[e] = r, lr.push(e);
4618
+ cr[e] = r, lr.push(e);
4619
4619
  }
4620
- return hr[e];
4620
+ return cr[e];
4621
4621
  };
4622
- let Ct = "en-UK", Mt = "true", Ee = 2, At = "";
4622
+ let Ct = "en-UK", Mt = "true", Se = 2, At = "";
4623
4623
  const $o = (e, t, r, n) => {
4624
- Ct = e || "en-UK", Mt = t || "true", Ee = +n || 2, At = r || "";
4625
- }, De = (e, t) => {
4624
+ Ct = e || "en-UK", Mt = t || "true", Se = +n || 2, At = r || "";
4625
+ }, Ue = (e, t) => {
4626
4626
  if (!At)
4627
- return new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).format(e);
4628
- const n = new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4627
+ return new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).format(e);
4628
+ const n = new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4629
4629
  return At === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4630
4630
  };
4631
4631
  window.emWidgets = { topic: Ro };
4632
- const cr = (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)), _s = {
4632
+ const hr = (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)), _s = {
4633
4633
  AED: "د.إ",
4634
4634
  AFN: "؋",
4635
4635
  ALL: "L",
@@ -4818,7 +4818,7 @@ function Uo(e, t) {
4818
4818
  console.error("There was an error while trying to load client styling from URL", n);
4819
4819
  });
4820
4820
  }
4821
- function Fo(e, t, r) {
4821
+ function Go(e, t, r) {
4822
4822
  if (window.emMessageBus) {
4823
4823
  const n = document.createElement("style");
4824
4824
  window.emMessageBus.subscribe(t, (i) => {
@@ -4829,10 +4829,10 @@ function Fo(e, t, r) {
4829
4829
  function fr(e, t) {
4830
4830
  zr(e, t);
4831
4831
  }
4832
- function Go(e) {
4832
+ function Fo(e) {
4833
4833
  qi({
4834
4834
  fallbackLocale: "en"
4835
- }), Q.set(e);
4835
+ }), ee.set(e);
4836
4836
  }
4837
4837
  const pr = {
4838
4838
  en: {
@@ -4867,7 +4867,7 @@ const pr = {
4867
4867
  }
4868
4868
  };
4869
4869
  function jo(e) {
4870
- ln(e, "svelte-pikg1s", '*,*::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{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:50px;height:220px;z-index:20;display:flex}.NavigationArrow svg{align-self:center}.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-around;align-items:center;overflow:hidden}.Carousel{display:flex;gap:10px;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}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.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}.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 img{height:36px;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{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4870
+ ln(e, "svelte-7crrr6", '*,*::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}.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)}');
4871
4871
  }
4872
4872
  function dr(e, t, r) {
4873
4873
  const n = e.slice();
@@ -4884,58 +4884,58 @@ function ko(e) {
4884
4884
  ), n;
4885
4885
  return {
4886
4886
  c() {
4887
- t = T("p"), n = N(r), C(t, "class", "NoFavoritePaymentMethods");
4887
+ t = S("p"), n = U(r), H(t, "class", "NoFavoritePaymentMethods");
4888
4888
  },
4889
4889
  m(i, o) {
4890
- F(i, t, o), E(t, n);
4890
+ j(i, t, o), _(t, n);
4891
4891
  },
4892
4892
  p(i, o) {
4893
4893
  o[0] & /*$_*/
4894
4894
  16 && r !== (r = /*$_*/
4895
- i[4]("noFavoritePaymentMethods") + "") && j(n, r);
4895
+ i[4]("noFavoritePaymentMethods") + "") && V(n, r);
4896
4896
  },
4897
4897
  d(i) {
4898
- i && L(t);
4898
+ i && I(t);
4899
4899
  }
4900
4900
  };
4901
4901
  }
4902
4902
  function Vo(e) {
4903
- let t, r = !cr(
4903
+ let t, r = !hr(
4904
4904
  /*userAgent*/
4905
4905
  e[5]
4906
- ), n, i, o, a = !cr(
4906
+ ), n, i, o, a = !hr(
4907
4907
  /*userAgent*/
4908
4908
  e[5]
4909
- ), s, u, l, h, c = r && Xo(e), p = Ie(
4909
+ ), s, u, l, c, h = r && Xo(e), p = Re(
4910
4910
  /*promotedPaymentMethods*/
4911
4911
  e[2]
4912
- ), b = [];
4912
+ ), m = [];
4913
4913
  for (let g = 0; g < p.length; g += 1)
4914
- b[g] = br(mr(e, p, g));
4915
- let d = a && Wo(e), f = Ie(Array(
4914
+ m[g] = br(mr(e, p, g));
4915
+ let d = a && Wo(e), f = Re(Array(
4916
4916
  /*promotedPaymentMethods*/
4917
4917
  e[2].length
4918
- )), v = [];
4918
+ )), y = [];
4919
4919
  for (let g = 0; g < f.length; g += 1)
4920
- v[g] = gr(dr(e, f, g));
4920
+ y[g] = gr(dr(e, f, g));
4921
4921
  return {
4922
4922
  c() {
4923
- t = T("div"), c && c.c(), n = $(), i = T("div");
4924
- for (let g = 0; g < b.length; g += 1)
4925
- b[g].c();
4926
- o = $(), d && d.c(), s = $(), u = T("div");
4927
- for (let g = 0; g < v.length; g += 1)
4928
- v[g].c();
4929
- C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), C(u, "class", "VisualDotIndicator");
4923
+ t = S("div"), h && h.c(), n = $(), i = S("div");
4924
+ for (let g = 0; g < m.length; g += 1)
4925
+ m[g].c();
4926
+ o = $(), d && d.c(), s = $(), u = S("div");
4927
+ for (let g = 0; g < y.length; g += 1)
4928
+ y[g].c();
4929
+ H(i, "class", "Carousel"), H(t, "class", "CarouselCardsContainer"), H(u, "class", "VisualDotIndicator");
4930
4930
  },
4931
- m(g, _) {
4932
- F(g, t, _), c && c.m(t, null), E(t, n), E(t, i);
4933
- for (let m = 0; m < b.length; m += 1)
4934
- b[m] && b[m].m(i, null);
4935
- e[22](i), E(t, o), d && d.m(t, null), F(g, s, _), F(g, u, _);
4936
- for (let m = 0; m < v.length; m += 1)
4937
- v[m] && v[m].m(u, null);
4938
- l || (h = [
4931
+ m(g, x) {
4932
+ j(g, t, x), h && h.m(t, null), _(t, n), _(t, i);
4933
+ for (let b = 0; b < m.length; b += 1)
4934
+ m[b] && m[b].m(i, null);
4935
+ e[22](i), _(t, o), d && d.m(t, null), j(g, s, x), j(g, u, x);
4936
+ for (let b = 0; b < y.length; b += 1)
4937
+ y[b] && y[b].m(u, null);
4938
+ l || (c = [
4939
4939
  Z(
4940
4940
  i,
4941
4941
  "touchstart",
@@ -4956,40 +4956,40 @@ function Vo(e) {
4956
4956
  )
4957
4957
  ], l = !0);
4958
4958
  },
4959
- p(g, _) {
4960
- if (r && c.p(g, _), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4959
+ p(g, x) {
4960
+ if (r && h.p(g, x), x[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4961
4961
  92) {
4962
- p = Ie(
4962
+ p = Re(
4963
4963
  /*promotedPaymentMethods*/
4964
4964
  g[2]
4965
4965
  );
4966
- let m;
4967
- for (m = 0; m < p.length; m += 1) {
4968
- const H = mr(g, p, m);
4969
- b[m] ? b[m].p(H, _) : (b[m] = br(H), b[m].c(), b[m].m(i, null));
4966
+ let b;
4967
+ for (b = 0; b < p.length; b += 1) {
4968
+ const T = mr(g, p, b);
4969
+ m[b] ? m[b].p(T, x) : (m[b] = br(T), m[b].c(), m[b].m(i, null));
4970
4970
  }
4971
- for (; m < b.length; m += 1)
4972
- b[m].d(1);
4973
- b.length = p.length;
4971
+ for (; b < m.length; b += 1)
4972
+ m[b].d(1);
4973
+ m.length = p.length;
4974
4974
  }
4975
- if (a && d.p(g, _), _[0] & /*activeIndex, promotedPaymentMethods*/
4975
+ if (a && d.p(g, x), x[0] & /*activeIndex, promotedPaymentMethods*/
4976
4976
  12) {
4977
- f = Ie(Array(
4977
+ f = Re(Array(
4978
4978
  /*promotedPaymentMethods*/
4979
4979
  g[2].length
4980
4980
  ));
4981
- let m;
4982
- for (m = 0; m < f.length; m += 1) {
4983
- const H = dr(g, f, m);
4984
- v[m] ? v[m].p(H, _) : (v[m] = gr(H), v[m].c(), v[m].m(u, null));
4981
+ let b;
4982
+ for (b = 0; b < f.length; b += 1) {
4983
+ const T = dr(g, f, b);
4984
+ y[b] ? y[b].p(T, x) : (y[b] = gr(T), y[b].c(), y[b].m(u, null));
4985
4985
  }
4986
- for (; m < v.length; m += 1)
4987
- v[m].d(1);
4988
- v.length = f.length;
4986
+ for (; b < y.length; b += 1)
4987
+ y[b].d(1);
4988
+ y.length = f.length;
4989
4989
  }
4990
4990
  },
4991
4991
  d(g) {
4992
- g && (L(t), L(s), L(u)), c && c.d(), jt(b, g), e[22](null), d && d.d(), jt(v, g), l = !1, V(h);
4992
+ g && (I(t), I(s), I(u)), h && h.d(), jt(m, g), e[22](null), d && d.d(), jt(y, g), l = !1, W(c);
4993
4993
  }
4994
4994
  };
4995
4995
  }
@@ -4997,10 +4997,10 @@ function Xo(e) {
4997
4997
  let t, r, n;
4998
4998
  return {
4999
4999
  c() {
5000
- t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5000
+ t = S("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', H(t, "class", "NavigationArrow Left");
5001
5001
  },
5002
5002
  m(i, o) {
5003
- F(i, t, o), r || (n = Z(
5003
+ j(i, t, o), r || (n = Z(
5004
5004
  t,
5005
5005
  "click",
5006
5006
  /*click_handler*/
@@ -5009,37 +5009,37 @@ function Xo(e) {
5009
5009
  },
5010
5010
  p: B,
5011
5011
  d(i) {
5012
- i && L(t), r = !1, n();
5012
+ i && I(t), r = !1, n();
5013
5013
  }
5014
5014
  };
5015
5015
  }
5016
5016
  function br(e) {
5017
- let t, r, n, i, o, a, s, u, l, h = (
5017
+ let t, r, n, i, o, a, s, u, l, c = (
5018
5018
  /*method*/
5019
5019
  (e[39].Label || /*method*/
5020
5020
  e[39].Name) + ""
5021
- ), c, p, b, d, f = (
5021
+ ), h, p, m, d, f = (
5022
5022
  /*$_*/
5023
5023
  e[4](`${/*method*/
5024
5024
  e[39].ProcessingTime}`) + ""
5025
- ), v, g, _, m, H = (
5025
+ ), y, g, x, b, T, M = (
5026
5026
  /*$_*/
5027
5027
  e[4]("generalMin") + ""
5028
- ), A, I, G = De(
5028
+ ), R, J, K = Ue(
5029
5029
  /*method*/
5030
5030
  e[39].DisplayCurrency.MinAmountLimit,
5031
5031
  /*method*/
5032
5032
  e[39].DisplayCurrency.Name
5033
- ) + "", q, X, ee = (
5033
+ ) + "", k, Oe, Q, te = (
5034
5034
  /*$_*/
5035
5035
  e[4]("generalMax") + ""
5036
- ), be, Me, te = De(
5036
+ ), ye, re, ne = Ue(
5037
5037
  /*method*/
5038
5038
  e[39].DisplayCurrency.MaxAmountLimit,
5039
5039
  /*method*/
5040
5040
  e[39].DisplayCurrency.Name
5041
- ) + "", J, Ae, re, ge, Be;
5042
- function it() {
5041
+ ) + "", ve, Le, ie, _e, v;
5042
+ function A() {
5043
5043
  return (
5044
5044
  /*click_handler_1*/
5045
5045
  e[21](
@@ -5052,49 +5052,49 @@ function br(e) {
5052
5052
  }
5053
5053
  return {
5054
5054
  c() {
5055
- t = T("div"), r = T("div"), n = T("img"), a = $(), s = T("div"), u = T("div"), l = T("span"), c = N(h), p = $(), b = T("div"), d = T("span"), v = N(f), g = $(), _ = T("div"), m = T("span"), A = N(H), I = $(), q = N(G), X = N(" / "), be = N(ee), Me = $(), J = N(te), Ae = $(), Gt(n.src, i = /*method*/
5056
- e[39].LogoUrl) || C(n, "src", i), C(n, "alt", o = /*method*/
5057
- e[39].Label), C(r, "class", "MethodLogo"), C(u, "class", "MethodTitle"), C(b, "class", "MethodProcessingTime"), C(m, "class", "Limits"), C(_, "class", "MethodLimits"), C(s, "class", "MethodInfo"), C(t, "class", re = `CarouselCardWrapper ${/*index*/
5055
+ t = S("div"), r = S("div"), n = S("img"), a = $(), s = S("div"), u = S("div"), l = S("span"), h = U(c), p = $(), m = S("div"), d = S("span"), y = U(f), g = $(), x = S("div"), b = S("span"), T = S("span"), R = U(M), J = $(), k = U(K), Oe = $(), Q = S("span"), ye = U(te), re = $(), ve = U(ne), Le = $(), Ft(n.src, i = /*method*/
5056
+ e[39].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
5057
+ e[39].Label), H(r, "class", "MethodLogo"), H(u, "class", "MethodTitle"), H(m, "class", "MethodProcessingTime"), H(b, "class", "Limits"), H(x, "class", "MethodLimits"), H(s, "class", "MethodInfo"), H(t, "class", ie = `CarouselCardWrapper ${/*index*/
5058
5058
  e[38] === /*activeIndex*/
5059
5059
  e[3] ? "active" : ""}`);
5060
5060
  },
5061
- m(y, S) {
5062
- F(y, t, S), E(t, r), E(r, n), E(t, a), E(t, s), E(s, u), E(u, l), E(l, c), E(s, p), E(s, b), E(b, d), E(d, v), E(s, g), E(s, _), E(_, m), E(m, A), E(m, I), E(m, q), E(m, X), E(m, be), E(m, Me), E(m, J), E(t, Ae), ge || (Be = Z(t, "click", it), ge = !0);
5061
+ m(N, O) {
5062
+ j(N, t, O), _(t, r), _(r, n), _(t, a), _(t, s), _(s, u), _(u, l), _(l, h), _(s, p), _(s, m), _(m, d), _(d, y), _(s, g), _(s, x), _(x, b), _(b, T), _(T, R), _(T, J), _(T, k), _(b, Oe), _(b, Q), _(Q, ye), _(Q, re), _(Q, ve), _(t, Le), _e || (v = Z(t, "click", A), _e = !0);
5063
5063
  },
5064
- p(y, S) {
5065
- e = y, S[0] & /*promotedPaymentMethods*/
5066
- 4 && !Gt(n.src, i = /*method*/
5067
- e[39].LogoUrl) && C(n, "src", i), S[0] & /*promotedPaymentMethods*/
5064
+ p(N, O) {
5065
+ e = N, O[0] & /*promotedPaymentMethods*/
5066
+ 4 && !Ft(n.src, i = /*method*/
5067
+ e[39].LogoUrl) && H(n, "src", i), O[0] & /*promotedPaymentMethods*/
5068
5068
  4 && o !== (o = /*method*/
5069
- e[39].Label) && C(n, "alt", o), S[0] & /*promotedPaymentMethods*/
5070
- 4 && h !== (h = /*method*/
5069
+ e[39].Label) && H(n, "alt", o), O[0] & /*promotedPaymentMethods*/
5070
+ 4 && c !== (c = /*method*/
5071
5071
  (e[39].Label || /*method*/
5072
- e[39].Name) + "") && j(c, h), S[0] & /*$_, promotedPaymentMethods*/
5072
+ e[39].Name) + "") && V(h, c), O[0] & /*$_, promotedPaymentMethods*/
5073
5073
  20 && f !== (f = /*$_*/
5074
5074
  e[4](`${/*method*/
5075
- e[39].ProcessingTime}`) + "") && j(v, f), S[0] & /*$_*/
5076
- 16 && H !== (H = /*$_*/
5077
- e[4]("generalMin") + "") && j(A, H), S[0] & /*promotedPaymentMethods*/
5078
- 4 && G !== (G = De(
5075
+ e[39].ProcessingTime}`) + "") && V(y, f), O[0] & /*$_*/
5076
+ 16 && M !== (M = /*$_*/
5077
+ e[4]("generalMin") + "") && V(R, M), O[0] & /*promotedPaymentMethods*/
5078
+ 4 && K !== (K = Ue(
5079
5079
  /*method*/
5080
5080
  e[39].DisplayCurrency.MinAmountLimit,
5081
5081
  /*method*/
5082
5082
  e[39].DisplayCurrency.Name
5083
- ) + "") && j(q, G), S[0] & /*$_*/
5084
- 16 && ee !== (ee = /*$_*/
5085
- e[4]("generalMax") + "") && j(be, ee), S[0] & /*promotedPaymentMethods*/
5086
- 4 && te !== (te = De(
5083
+ ) + "") && V(k, K), O[0] & /*$_*/
5084
+ 16 && te !== (te = /*$_*/
5085
+ e[4]("generalMax") + "") && V(ye, te), O[0] & /*promotedPaymentMethods*/
5086
+ 4 && ne !== (ne = Ue(
5087
5087
  /*method*/
5088
5088
  e[39].DisplayCurrency.MaxAmountLimit,
5089
5089
  /*method*/
5090
5090
  e[39].DisplayCurrency.Name
5091
- ) + "") && j(J, te), S[0] & /*activeIndex*/
5092
- 8 && re !== (re = `CarouselCardWrapper ${/*index*/
5091
+ ) + "") && V(ve, ne), O[0] & /*activeIndex*/
5092
+ 8 && ie !== (ie = `CarouselCardWrapper ${/*index*/
5093
5093
  e[38] === /*activeIndex*/
5094
- e[3] ? "active" : ""}`) && C(t, "class", re);
5094
+ e[3] ? "active" : ""}`) && H(t, "class", ie);
5095
5095
  },
5096
- d(y) {
5097
- y && L(t), ge = !1, Be();
5096
+ d(N) {
5097
+ N && I(t), _e = !1, v();
5098
5098
  }
5099
5099
  };
5100
5100
  }
@@ -5102,10 +5102,10 @@ function Wo(e) {
5102
5102
  let t, r, n;
5103
5103
  return {
5104
5104
  c() {
5105
- t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5105
+ t = S("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', H(t, "class", "NavigationArrow Right");
5106
5106
  },
5107
5107
  m(i, o) {
5108
- F(i, t, o), r || (n = Z(
5108
+ j(i, t, o), r || (n = Z(
5109
5109
  t,
5110
5110
  "click",
5111
5111
  /*click_handler_2*/
@@ -5114,7 +5114,7 @@ function Wo(e) {
5114
5114
  },
5115
5115
  p: B,
5116
5116
  d(i) {
5117
- i && L(t), r = !1, n();
5117
+ i && I(t), r = !1, n();
5118
5118
  }
5119
5119
  };
5120
5120
  }
@@ -5122,21 +5122,21 @@ function gr(e) {
5122
5122
  let t, r;
5123
5123
  return {
5124
5124
  c() {
5125
- t = T("div"), C(t, "class", r = `Dot ${/*index*/
5125
+ t = S("div"), H(t, "class", r = `Dot ${/*index*/
5126
5126
  e[38] === /*activeIndex*/
5127
5127
  e[3] ? "active" : ""}`);
5128
5128
  },
5129
5129
  m(n, i) {
5130
- F(n, t, i);
5130
+ j(n, t, i);
5131
5131
  },
5132
5132
  p(n, i) {
5133
5133
  i[0] & /*activeIndex*/
5134
5134
  8 && r !== (r = `Dot ${/*index*/
5135
5135
  n[38] === /*activeIndex*/
5136
- n[3] ? "active" : ""}`) && C(t, "class", r);
5136
+ n[3] ? "active" : ""}`) && H(t, "class", r);
5137
5137
  },
5138
5138
  d(n) {
5139
- n && L(t);
5139
+ n && I(t);
5140
5140
  }
5141
5141
  };
5142
5142
  }
@@ -5147,144 +5147,144 @@ function zo(e) {
5147
5147
  ), a, s, u, l = (
5148
5148
  /*$_*/
5149
5149
  e[4]("carouselSubtitle") + ""
5150
- ), h, c;
5151
- function p(f, v) {
5150
+ ), c, h;
5151
+ function p(f, y) {
5152
5152
  return (
5153
5153
  /*promotedPaymentMethods*/
5154
5154
  f[2].length > 0 ? Vo : ko
5155
5155
  );
5156
5156
  }
5157
- let b = p(e), d = b(e);
5157
+ let m = p(e), d = m(e);
5158
5158
  return {
5159
5159
  c() {
5160
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), a = N(o), s = $(), u = T("p"), h = N(l), c = $(), d.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5160
+ t = S("div"), r = S("div"), n = S("div"), i = S("h4"), a = U(o), s = $(), u = S("p"), c = U(l), h = $(), d.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
5161
5161
  },
5162
- m(f, v) {
5163
- F(f, t, v), E(t, r), E(r, n), E(n, i), E(i, a), E(n, s), E(n, u), E(u, h), E(r, c), d.m(r, null), e[24](t);
5162
+ m(f, y) {
5163
+ j(f, t, y), _(t, r), _(r, n), _(n, i), _(i, a), _(n, s), _(n, u), _(u, c), _(r, h), d.m(r, null), e[24](t);
5164
5164
  },
5165
- p(f, v) {
5166
- v[0] & /*$_*/
5165
+ p(f, y) {
5166
+ y[0] & /*$_*/
5167
5167
  16 && o !== (o = /*$_*/
5168
- f[4]("carouselTitle") + "") && j(a, o), v[0] & /*$_*/
5168
+ f[4]("carouselTitle") + "") && V(a, o), y[0] & /*$_*/
5169
5169
  16 && l !== (l = /*$_*/
5170
- f[4]("carouselSubtitle") + "") && j(h, l), b === (b = p(f)) && d ? d.p(f, v) : (d.d(1), d = b(f), d && (d.c(), d.m(r, null)));
5170
+ f[4]("carouselSubtitle") + "") && V(c, l), m === (m = p(f)) && d ? d.p(f, y) : (d.d(1), d = m(f), d && (d.c(), d.m(r, null)));
5171
5171
  },
5172
5172
  i: B,
5173
5173
  o: B,
5174
5174
  d(f) {
5175
- f && L(t), d.d(), e[24](null);
5175
+ f && I(t), d.d(), e[24](null);
5176
5176
  }
5177
5177
  };
5178
5178
  }
5179
5179
  function Zo(e, t, r) {
5180
5180
  let n;
5181
- un(e, xo, (y) => r(4, n = y));
5182
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: p = "" } = t, b, d = [], f = 0, v = !0, g = 0, _ = !1, m, H = window.navigator.userAgent;
5183
- const A = (y) => {
5184
- y.data && y.data.type === "PromotedPaymentMethods" && (r(2, d = y.data.promotedPaymentMethods), r(3, f = Math.floor((d.length - 1) / 2)));
5181
+ un(e, Eo, (v) => r(4, n = v));
5182
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h = "" } = t, { translationurl: p = "" } = t, m, d = [], f = 0, y = !0, g = 0, x = !1, b, T = window.navigator.userAgent;
5183
+ const M = (v) => {
5184
+ v.data && v.data.type === "PromotedPaymentMethods" && (r(2, d = v.data.promotedPaymentMethods), r(3, f = Math.floor((d.length - 1) / 2)));
5185
5185
  };
5186
- Object.keys(pr).forEach((y) => {
5187
- fr(y, pr[y]);
5186
+ Object.keys(pr).forEach((v) => {
5187
+ fr(v, pr[v]);
5188
5188
  });
5189
- const I = () => {
5190
- let y = p;
5191
- if (y)
5192
- return fetch(y).then((S) => S.json()).then((S) => {
5193
- Object.keys(S).forEach((W) => {
5194
- fr(W, S[W]);
5189
+ const R = () => {
5190
+ let v = p;
5191
+ if (v)
5192
+ return fetch(v).then((A) => A.json()).then((A) => {
5193
+ Object.keys(A).forEach((N) => {
5194
+ fr(N, A[N]);
5195
5195
  });
5196
- }).catch((S) => {
5197
- console.log(S);
5196
+ }).catch((A) => {
5197
+ console.log(A);
5198
5198
  });
5199
- }, G = () => {
5200
- Go(i);
5201
- }, q = (y, S) => {
5202
- r(3, f = S), r(1, m.style.transform = X(), m), y.Name, window.postMessage({ type: "SelectPayMeth", details: y }, window.location.href), dispatchEvent(new CustomEvent(
5199
+ }, J = () => {
5200
+ Fo(i);
5201
+ }, K = (v, A) => {
5202
+ r(3, f = A), r(1, b.style.transform = k(), b), v.Name, window.postMessage({ type: "SelectPayMeth", details: v }, window.location.href), dispatchEvent(new CustomEvent(
5203
5203
  "selectPayMeth",
5204
5204
  {
5205
- detail: y,
5205
+ detail: v,
5206
5206
  bubbles: !0,
5207
5207
  cancelable: !0,
5208
5208
  composed: !0
5209
5209
  }
5210
5210
  ));
5211
- }, X = () => {
5212
- let Oe;
5213
- return d.length % 2 === 1 ? Oe = Math.floor(d.length / 2) : Oe = d.length / 2 - 0.5, `translateX(${(Oe - f) * 165}px)`;
5214
- }, ee = (y) => {
5215
- g = y.touches[0].clientX, _ = !0, m.classList.add("dragging");
5216
- }, be = (y) => {
5217
- if (!_)
5211
+ }, k = () => {
5212
+ let O;
5213
+ return d.length % 2 === 1 ? O = Math.floor(d.length / 2) : O = d.length / 2 - 0.5, `translateX(${(O - f) * 165}px)`;
5214
+ }, Oe = (v) => {
5215
+ g = v.touches[0].clientX, x = !0, b.classList.add("dragging");
5216
+ }, Q = (v) => {
5217
+ if (!x)
5218
5218
  return;
5219
- const S = y.touches[0].clientX;
5220
- Math.abs(S - g) > 10 && y.preventDefault();
5221
- }, Me = (y) => {
5222
- if (!_)
5219
+ const A = v.touches[0].clientX;
5220
+ Math.abs(A - g) > 10 && v.preventDefault();
5221
+ }, te = (v) => {
5222
+ if (!x)
5223
5223
  return;
5224
- _ = !1, m.classList.remove("dragging");
5225
- const S = y.changedTouches[0].clientX, W = g - S;
5226
- Math.abs(W) > 50 && (W > 0 && f < d.length - 1 ? r(3, f++, f) : W < 0 && f > 0 && r(3, f--, f), r(1, m.style.transform = X(), m));
5227
- }, te = () => {
5228
- v && (r(1, m.style.transform = X(), m), v = !1);
5229
- }, J = (y) => {
5230
- y === "next" && f < d.length - 1 ? r(3, f++, f) : y === "prev" && f > 0 && r(3, f--, f), r(1, m.style.transform = X(), m);
5224
+ x = !1, b.classList.remove("dragging");
5225
+ const A = v.changedTouches[0].clientX, N = g - A;
5226
+ Math.abs(N) > 50 && (N > 0 && f < d.length - 1 ? r(3, f++, f) : N < 0 && f > 0 && r(3, f--, f), r(1, b.style.transform = k(), b));
5227
+ }, ye = () => {
5228
+ y && (r(1, b.style.transform = k(), b), y = !1);
5229
+ }, re = (v) => {
5230
+ v === "next" && f < d.length - 1 ? r(3, f++, f) : v === "prev" && f > 0 && r(3, f--, f), r(1, b.style.transform = k(), b);
5231
5231
  };
5232
- yn(() => ($o(o, a, s, u), window.addEventListener("message", A), m && X(), () => {
5233
- window.removeEventListener("message", A);
5232
+ yn(() => ($o(o, a, s, u), window.addEventListener("message", M), b && k(), () => {
5233
+ window.removeEventListener("message", M);
5234
5234
  }));
5235
- const Ae = () => J("prev"), re = (y, S) => q(y, S);
5236
- function ge(y) {
5237
- Ze[y ? "unshift" : "push"](() => {
5238
- m = y, r(1, m);
5235
+ const ne = () => re("prev"), ve = (v, A) => K(v, A);
5236
+ function Le(v) {
5237
+ Ye[v ? "unshift" : "push"](() => {
5238
+ b = v, r(1, b);
5239
5239
  });
5240
5240
  }
5241
- const Be = () => J("next");
5242
- function it(y) {
5243
- Ze[y ? "unshift" : "push"](() => {
5244
- b = y, r(0, b);
5241
+ const ie = () => re("next");
5242
+ function _e(v) {
5243
+ Ye[v ? "unshift" : "push"](() => {
5244
+ m = v, r(0, m);
5245
5245
  });
5246
5246
  }
5247
- return e.$$set = (y) => {
5248
- "lang" in y && r(11, i = y.lang), "local" in y && r(12, o = y.local), "currencysymbol" in y && r(13, a = y.currencysymbol), "currencyposition" in y && r(14, s = y.currencyposition), "currencydecimals" in y && r(15, u = y.currencydecimals), "clientstyling" in y && r(16, l = y.clientstyling), "clientstylingurl" in y && r(17, h = y.clientstylingurl), "mbsource" in y && r(18, c = y.mbsource), "translationurl" in y && r(19, p = y.translationurl);
5247
+ return e.$$set = (v) => {
5248
+ "lang" in v && r(11, i = v.lang), "local" in v && r(12, o = v.local), "currencysymbol" in v && r(13, a = v.currencysymbol), "currencyposition" in v && r(14, s = v.currencyposition), "currencydecimals" in v && r(15, u = v.currencydecimals), "clientstyling" in v && r(16, l = v.clientstyling), "clientstylingurl" in v && r(17, c = v.clientstylingurl), "mbsource" in v && r(18, h = v.mbsource), "translationurl" in v && r(19, p = v.translationurl);
5249
5249
  }, e.$$.update = () => {
5250
5250
  e.$$.dirty[0] & /*lang*/
5251
- 2048 && i && G(), e.$$.dirty[0] & /*lang, translationurl*/
5252
- 526336 && i && p && I(), e.$$.dirty[0] & /*carouselContainer*/
5253
- 2 && m && te(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5254
- 65537 && l && b && Do(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5255
- 131073 && h && b && Uo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5256
- 262145 && c && b && Fo(b, `${c}.Style`);
5251
+ 2048 && i && J(), e.$$.dirty[0] & /*lang, translationurl*/
5252
+ 526336 && i && p && R(), e.$$.dirty[0] & /*carouselContainer*/
5253
+ 2 && b && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5254
+ 65537 && l && m && Do(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5255
+ 131073 && c && m && Uo(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5256
+ 262145 && h && m && Go(m, `${h}.Style`);
5257
5257
  }, [
5258
- b,
5259
5258
  m,
5259
+ b,
5260
5260
  d,
5261
5261
  f,
5262
5262
  n,
5263
- H,
5264
- q,
5265
- ee,
5266
- be,
5267
- Me,
5268
- J,
5263
+ T,
5264
+ K,
5265
+ Oe,
5266
+ Q,
5267
+ te,
5268
+ re,
5269
5269
  i,
5270
5270
  o,
5271
5271
  a,
5272
5272
  s,
5273
5273
  u,
5274
5274
  l,
5275
- h,
5276
5275
  c,
5276
+ h,
5277
5277
  p,
5278
- Ae,
5279
- re,
5280
- ge,
5281
- Be,
5282
- it
5278
+ ne,
5279
+ ve,
5280
+ Le,
5281
+ ie,
5282
+ _e
5283
5283
  ];
5284
5284
  }
5285
5285
  class on extends Mn {
5286
5286
  constructor(t) {
5287
- super(), Pn(
5287
+ super(), Hn(
5288
5288
  this,
5289
5289
  t,
5290
5290
  Zo,
@@ -5309,126 +5309,126 @@ class on extends Mn {
5309
5309
  return this.$$.ctx[11];
5310
5310
  }
5311
5311
  set lang(t) {
5312
- this.$$set({ lang: t }), R();
5312
+ this.$$set({ lang: t }), D();
5313
5313
  }
5314
5314
  get local() {
5315
5315
  return this.$$.ctx[12];
5316
5316
  }
5317
5317
  set local(t) {
5318
- this.$$set({ local: t }), R();
5318
+ this.$$set({ local: t }), D();
5319
5319
  }
5320
5320
  get currencysymbol() {
5321
5321
  return this.$$.ctx[13];
5322
5322
  }
5323
5323
  set currencysymbol(t) {
5324
- this.$$set({ currencysymbol: t }), R();
5324
+ this.$$set({ currencysymbol: t }), D();
5325
5325
  }
5326
5326
  get currencyposition() {
5327
5327
  return this.$$.ctx[14];
5328
5328
  }
5329
5329
  set currencyposition(t) {
5330
- this.$$set({ currencyposition: t }), R();
5330
+ this.$$set({ currencyposition: t }), D();
5331
5331
  }
5332
5332
  get currencydecimals() {
5333
5333
  return this.$$.ctx[15];
5334
5334
  }
5335
5335
  set currencydecimals(t) {
5336
- this.$$set({ currencydecimals: t }), R();
5336
+ this.$$set({ currencydecimals: t }), D();
5337
5337
  }
5338
5338
  get clientstyling() {
5339
5339
  return this.$$.ctx[16];
5340
5340
  }
5341
5341
  set clientstyling(t) {
5342
- this.$$set({ clientstyling: t }), R();
5342
+ this.$$set({ clientstyling: t }), D();
5343
5343
  }
5344
5344
  get clientstylingurl() {
5345
5345
  return this.$$.ctx[17];
5346
5346
  }
5347
5347
  set clientstylingurl(t) {
5348
- this.$$set({ clientstylingurl: t }), R();
5348
+ this.$$set({ clientstylingurl: t }), D();
5349
5349
  }
5350
5350
  get mbsource() {
5351
5351
  return this.$$.ctx[18];
5352
5352
  }
5353
5353
  set mbsource(t) {
5354
- this.$$set({ mbsource: t }), R();
5354
+ this.$$set({ mbsource: t }), D();
5355
5355
  }
5356
5356
  get translationurl() {
5357
5357
  return this.$$.ctx[19];
5358
5358
  }
5359
5359
  set translationurl(t) {
5360
- this.$$set({ translationurl: t }), R();
5360
+ this.$$set({ translationurl: t }), D();
5361
5361
  }
5362
5362
  }
5363
5363
  Cn(on, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5364
- const Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5364
+ const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5365
5365
  __proto__: null,
5366
5366
  default: on
5367
5367
  }, Symbol.toStringTag, { value: "Module" }));
5368
5368
  export {
5369
- Q as $,
5369
+ ee as $,
5370
5370
  ss as A,
5371
5371
  Do as B,
5372
5372
  Uo as C,
5373
- Fo as D,
5373
+ Go as D,
5374
5374
  Cn as E,
5375
- xo as F,
5375
+ Eo as F,
5376
5376
  B as G,
5377
- qe as H,
5377
+ et as H,
5378
5378
  On as I,
5379
5379
  vs as J,
5380
- ue as K,
5380
+ ce as K,
5381
5381
  rs as L,
5382
- cr as M,
5382
+ hr as M,
5383
5383
  $o as N,
5384
5384
  as as O,
5385
5385
  ns as P,
5386
- De as Q,
5387
- Ie as R,
5386
+ Ue as Q,
5387
+ Re as R,
5388
5388
  Mn as S,
5389
5389
  jt as T,
5390
5390
  os as U,
5391
- hs as V,
5392
- V as W,
5391
+ cs as V,
5392
+ W,
5393
5393
  us as X,
5394
5394
  _s as Y,
5395
- Bt as Z,
5396
- fs as _,
5395
+ fs as Z,
5396
+ ps as _,
5397
5397
  zr as a,
5398
- ps as a0,
5399
- gs as a1,
5400
- ls as a2,
5401
- cs as a3,
5398
+ ls as a0,
5399
+ Bt as a1,
5400
+ hs as a2,
5401
+ gs as a3,
5402
5402
  bs as a4,
5403
5403
  ms as a5,
5404
5404
  ts as a6,
5405
5405
  Tn as a7,
5406
5406
  Sn as a8,
5407
5407
  ys as a9,
5408
- Es as aa,
5409
- Pn as b,
5408
+ xs as aa,
5409
+ Hn as b,
5410
5410
  ln as c,
5411
5411
  Ko as d,
5412
- L as e,
5413
- R as f,
5412
+ I as e,
5413
+ D as f,
5414
5414
  wn as g,
5415
5415
  es as h,
5416
5416
  qi as i,
5417
5417
  Qo as j,
5418
- F as k,
5419
- E as l,
5420
- T as m,
5418
+ j as k,
5419
+ _ as l,
5420
+ S as m,
5421
5421
  $ as n,
5422
- C as o,
5422
+ H as o,
5423
5423
  un as p,
5424
5424
  yn as q,
5425
5425
  is as r,
5426
5426
  vr as s,
5427
5427
  ds as t,
5428
5428
  qo as u,
5429
- j as v,
5430
- N as w,
5429
+ V as v,
5430
+ U as w,
5431
5431
  Z as x,
5432
- Ze as y,
5433
- Gt as z
5432
+ Ye as y,
5433
+ Ft as z
5434
5434
  };