@everymatrix/cashier-page 1.77.19 → 1.77.20

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 (66) hide show
  1. package/components/{CashierCarousel-C-jIotRi.js → CashierCarousel-BZzZj6TH.js} +947 -990
  2. package/components/CashierCarousel-Cl1xonA7.cjs +23 -0
  3. package/components/{CashierCarousel-D9RhCULN.js → CashierCarousel-CqyFcV3a.js} +934 -977
  4. package/components/{CashierError-DFUpmwPW.js → CashierError-BmJ9hxWa.js} +2 -2
  5. package/components/{CashierError-gMoSUhpw.js → CashierError-CEU7qVFX.js} +2 -2
  6. package/components/{CashierError-am916cR_.cjs → CashierError-CUkWJWvf.cjs} +1 -1
  7. package/components/{CashierHeader-B3IckLiD.cjs → CashierHeader-B3nKMN4g.cjs} +1 -1
  8. package/components/{CashierHeader-CK_NVBvX.js → CashierHeader-DnKmGtm4.js} +1 -1
  9. package/components/{CashierHeader-Z4vR_fbH.js → CashierHeader-DprF60MK.js} +1 -1
  10. package/components/{CashierIframeRedirect-Cs3dAZqE.js → CashierIframeRedirect-BfhcdJkt.js} +3 -3
  11. package/components/{CashierIframeRedirect-Cae_sEXq.js → CashierIframeRedirect-Di43zJXO.js} +3 -3
  12. package/components/{CashierIframeRedirect-CdQkuIPa.cjs → CashierIframeRedirect-PgHTQAWC.cjs} +1 -1
  13. package/components/{CashierMethodDetails-f2nVnAEu.cjs → CashierMethodDetails-D8xv6F1d.cjs} +2 -2
  14. package/components/{CashierMethodDetails-DWh8sNEJ.js → CashierMethodDetails-DDFsqzQA.js} +6 -6
  15. package/components/{CashierMethodDetails-khwdIxvu.js → CashierMethodDetails-sVbEdNZ7.js} +6 -6
  16. package/components/{CashierMethodsList-DeCIPW3N.cjs → CashierMethodsList-B4FwxS7g.cjs} +1 -1
  17. package/components/{CashierMethodsList-CZkxXZST.js → CashierMethodsList-BZmz1WJv.js} +2 -2
  18. package/components/{CashierMethodsList-DXkNlgio.js → CashierMethodsList-DWoDX_nh.js} +2 -2
  19. package/components/{CashierModal-By3PyyVz.js → CashierModal-C0BiLUR3.js} +1 -1
  20. package/components/{CashierModal-D2cxw8Kv.cjs → CashierModal-CjkjMD7N.cjs} +1 -1
  21. package/components/{CashierModal-pKGYmx2d.js → CashierModal-DvqHQn9_.js} +1 -1
  22. package/components/{CashierNotifications-64xrf21d.js → CashierNotifications-1kq9OhV3.js} +1 -1
  23. package/components/{CashierNotifications-o1UTpxCw.cjs → CashierNotifications-CcXZ5DtE.cjs} +1 -1
  24. package/components/{CashierNotifications-Cot8tKyV.js → CashierNotifications-Z6pSN6qk.js} +1 -1
  25. package/components/{CashierPage-CDVatUXZ.js → CashierPage-57L5Yu3a.js} +11 -11
  26. package/components/{CashierPage-D537sTlX.js → CashierPage-BAad1lqn.js} +11 -11
  27. package/components/{CashierPage-CJxWyfnl.cjs → CashierPage-Ce28Aop2.cjs} +1 -1
  28. package/components/{CashierReceiptPage-ZjlpnjxZ.js → CashierReceiptPage-BD3XAWuB.js} +2 -2
  29. package/components/{CashierReceiptPage-vffilP0r.cjs → CashierReceiptPage-BQmzi38M.cjs} +1 -1
  30. package/components/{CashierReceiptPage-DJVOcSy_.js → CashierReceiptPage-D4nENrik.js} +2 -2
  31. package/components/{CashierSessionExpirationModal-BfRG-VY2.js → CashierSessionExpirationModal-BbJoUdDa.js} +3 -3
  32. package/components/{CashierSessionExpirationModal-BCfqE6Qk.js → CashierSessionExpirationModal-DHcJLSop.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-BgZuMP6W.cjs → CashierSessionExpirationModal-DdIEPvu4.cjs} +1 -1
  34. package/components/{CashierSpinner-fUvoz21a.js → CashierSpinner-DbDsVLME.js} +1 -1
  35. package/components/{CashierSpinner-CIpXwm9I.js → CashierSpinner-EBB6ssZG.js} +1 -1
  36. package/components/{CashierSpinner-DOCzNsD8.cjs → CashierSpinner-yts_wpaP.cjs} +1 -1
  37. package/components/{CashierTransactionHistory-C_77nNRF.cjs → CashierTransactionHistory-Be5Xdd5K.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-CHPwXvGA.js → CashierTransactionHistory-C-Xi_6tR.js} +6 -6
  39. package/components/{CashierTransactionHistory-DLBclLcC.js → CashierTransactionHistory-CkmB8XtT.js} +6 -6
  40. package/components/{CashierVerifications-D1I7kgbX.cjs → CashierVerifications-BzrvzA1c.cjs} +1 -1
  41. package/components/{CashierVerifications-B-e9bu7a.js → CashierVerifications-CPz6xjw1.js} +2 -2
  42. package/components/{CashierVerifications-DAfJTpBE.js → CashierVerifications-zaIEXC0O.js} +2 -2
  43. package/components/{TxnStatusIcon-Dx4SpBKR.cjs → TxnStatusIcon-5KrCODA2.cjs} +1 -1
  44. package/components/{TxnStatusIcon-C5YEVJGC.js → TxnStatusIcon-BhCjKEzv.js} +1 -1
  45. package/components/{TxnStatusIcon-Cdbn57Qc.js → TxnStatusIcon-Z6Bw6KLa.js} +1 -1
  46. package/components/{TxnTypeIcons-D-p9WLvQ.cjs → TxnTypeIcons-Bh0Anevx.cjs} +1 -1
  47. package/components/{TxnTypeIcons-DaYTcY0u.js → TxnTypeIcons-DTrSvliH.js} +1 -1
  48. package/components/{TxnTypeIcons-Dl8aWDV4.js → TxnTypeIcons-HXKTaH8v.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/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
  54. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
  55. package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
  56. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-BNDhSb9-.cjs} +1 -1
  57. package/stencil/{ui-image-DIEeZy5u.js → ui-image-DivxSsH2.js} +1 -1
  58. package/stencil/{ui-image-BWJXFWH1.js → ui-image-DrpynttK.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  62. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
  63. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
  64. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
  65. package/components/CashierCarousel-DXPbv83E.cjs +0 -23
  66. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var ln = Object.defineProperty, hn = Object.defineProperties;
2
- var cn = Object.getOwnPropertyDescriptors;
3
- var Gt = Object.getOwnPropertySymbols;
4
- var fn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
5
- var it = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
1
+ var nn = Object.defineProperty, on = Object.defineProperties;
2
+ var sn = Object.getOwnPropertyDescriptors;
3
+ var Nt = Object.getOwnPropertySymbols;
4
+ var an = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
5
+ var rt = (e, t, r) => t in e ? nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fn.call(t, r) && it(e, r, t[r]);
8
- if (Gt)
9
- for (var r of Gt(t))
10
- pn.call(t, r) && it(e, r, t[r]);
7
+ an.call(t, r) && rt(e, r, t[r]);
8
+ if (Nt)
9
+ for (var r of Nt(t))
10
+ un.call(t, r) && rt(e, r, t[r]);
11
11
  return e;
12
- }, jt = (e, t) => hn(e, cn(t));
13
- var $ = (e, t, r) => (it(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var kt = (e, t, r) => new Promise((n, i) => {
12
+ }, Rt = (e, t) => on(e, sn(t));
13
+ var $ = (e, t, r) => (rt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Dt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,8 +29,8 @@ var kt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- const Bt = (e) => e;
33
- function dn(e, t) {
32
+ const Ht = (e) => e;
33
+ function ln(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,29 +38,29 @@ function dn(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function xr(e) {
41
+ function br(e) {
42
42
  return e();
43
43
  }
44
- function Vt() {
44
+ function Ut() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function z(e) {
48
- e.forEach(xr);
47
+ function W(e) {
48
+ e.forEach(br);
49
49
  }
50
- function de(e) {
50
+ function me(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Er(e, t) {
53
+ function gr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let Ie;
57
- function Xt(e, t) {
57
+ function Gt(e, t) {
58
58
  return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
59
59
  }
60
- function mn(e) {
60
+ function hn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function wr(e, ...t) {
63
+ function yr(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
@@ -69,19 +69,19 @@ function wr(e, ...t) {
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function bn(e, t, r) {
73
- e.$$.on_destroy.push(wr(t, r));
72
+ function cn(e, t, r) {
73
+ e.$$.on_destroy.push(yr(t, r));
74
74
  }
75
- function rs(e, t, r, n) {
75
+ function qo(e, t, r, n) {
76
76
  if (e) {
77
- const i = Sr(e, t, r, n);
77
+ const i = vr(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Sr(e, t, r, n) {
82
- return e[1] && n ? dn(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function vr(e, t, r, n) {
82
+ return e[1] && n ? ln(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function ns(e, t, r, n) {
84
+ function Jo(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
@@ -96,13 +96,13 @@ function ns(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function is(e, t, r, n, i, o) {
99
+ function Ko(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Sr(t, r, n, o);
101
+ const s = vr(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function os(e) {
105
+ function es(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,20 +111,20 @@ function os(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function ss(e) {
114
+ function ts(e) {
115
115
  return e == null ? "" : e;
116
116
  }
117
- const Tr = typeof window != "undefined";
118
- let Ct = Tr ? () => window.performance.now() : () => Date.now(), It = Tr ? (e) => requestAnimationFrame(e) : I;
117
+ const _r = typeof window != "undefined";
118
+ let Pt = _r ? () => window.performance.now() : () => Date.now(), At = _r ? (e) => requestAnimationFrame(e) : I;
119
119
  const se = /* @__PURE__ */ new Set();
120
- function Hr(e) {
120
+ function xr(e) {
121
121
  se.forEach((t) => {
122
122
  t.c(e) || (se.delete(t), t.f());
123
- }), se.size !== 0 && It(Hr);
123
+ }), se.size !== 0 && At(xr);
124
124
  }
125
- function Lt(e) {
125
+ function Mt(e) {
126
126
  let t;
127
- return se.size === 0 && It(Hr), {
127
+ return se.size === 0 && At(xr), {
128
128
  promise: new Promise((r) => {
129
129
  se.add(t = { c: e, f: r });
130
130
  }),
@@ -133,21 +133,21 @@ function Lt(e) {
133
133
  }
134
134
  };
135
135
  }
136
- const as = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
136
+ const rs = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
137
137
  // @ts-ignore Node typings have this
138
138
  global
139
139
  );
140
- function T(e, t) {
140
+ function H(e, t) {
141
141
  e.appendChild(t);
142
142
  }
143
- function gn(e, t, r) {
144
- const n = Nt(e);
143
+ function fn(e, t, r) {
144
+ const n = Bt(e);
145
145
  if (!n.getElementById(t)) {
146
- const i = P("style");
147
- i.id = t, i.textContent = r, Pr(n, i);
146
+ const i = A("style");
147
+ i.id = t, i.textContent = r, Er(n, i);
148
148
  }
149
149
  }
150
- function Nt(e) {
150
+ function Bt(e) {
151
151
  if (!e)
152
152
  return document;
153
153
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -157,12 +157,12 @@ function Nt(e) {
157
157
  t
158
158
  ) : e.ownerDocument;
159
159
  }
160
- function yn(e) {
161
- const t = P("style");
162
- return t.textContent = "/* empty */", Pr(Nt(e), t), t.sheet;
160
+ function dn(e) {
161
+ const t = A("style");
162
+ return t.textContent = "/* empty */", Er(Bt(e), t), t.sheet;
163
163
  }
164
- function Pr(e, t) {
165
- return T(
164
+ function Er(e, t) {
165
+ return H(
166
166
  /** @type {Document} */
167
167
  e.head || e,
168
168
  t
@@ -174,58 +174,58 @@ function F(e, t, r) {
174
174
  function L(e) {
175
175
  e.parentNode && e.parentNode.removeChild(e);
176
176
  }
177
- function Wt(e, t) {
177
+ function Ft(e, t) {
178
178
  for (let r = 0; r < e.length; r += 1)
179
179
  e[r] && e[r].d(t);
180
180
  }
181
- function P(e) {
181
+ function A(e) {
182
182
  return document.createElement(e);
183
183
  }
184
- function us(e) {
184
+ function ns(e) {
185
185
  return document.createElementNS("http://www.w3.org/2000/svg", e);
186
186
  }
187
187
  function R(e) {
188
188
  return document.createTextNode(e);
189
189
  }
190
- function V() {
190
+ function k() {
191
191
  return R(" ");
192
192
  }
193
- function ls() {
193
+ function is() {
194
194
  return R("");
195
195
  }
196
196
  function ae(e, t, r, n) {
197
197
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
198
198
  }
199
- function hs(e) {
199
+ function os(e) {
200
200
  return function(t) {
201
201
  return t.preventDefault(), e.call(this, t);
202
202
  };
203
203
  }
204
- function O(e, t, r) {
204
+ function M(e, t, r) {
205
205
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
206
206
  }
207
- function cs(e, t, r) {
207
+ function ss(e, t, r) {
208
208
  const n = t.toLowerCase();
209
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : O(e, t, r);
209
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
210
210
  }
211
- function fs(e) {
211
+ function as(e) {
212
212
  return e === "" ? null : +e;
213
213
  }
214
- function vn(e) {
214
+ function pn(e) {
215
215
  return Array.from(e.childNodes);
216
216
  }
217
- function X(e, t) {
217
+ function V(e, t) {
218
218
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
219
219
  t);
220
220
  }
221
- function ps(e, t) {
221
+ function us(e, t) {
222
222
  e.value = t == null ? "" : t;
223
223
  }
224
- function ds(e, t, r, n) {
224
+ function ls(e, t, r, n) {
225
225
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
226
226
  }
227
227
  let Le;
228
- function _n() {
228
+ function mn() {
229
229
  if (Le === void 0) {
230
230
  Le = !1;
231
231
  try {
@@ -236,14 +236,14 @@ function _n() {
236
236
  }
237
237
  return Le;
238
238
  }
239
- function ms(e, t) {
239
+ function hs(e, t) {
240
240
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
241
- const n = P("iframe");
241
+ const n = A("iframe");
242
242
  n.setAttribute(
243
243
  "style",
244
244
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
245
245
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
246
- const i = _n();
246
+ const i = mn();
247
247
  let o;
248
248
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ae(
249
249
  window,
@@ -254,17 +254,17 @@ function ms(e, t) {
254
254
  }
255
255
  )) : (n.src = "about:blank", n.onload = () => {
256
256
  o = ae(n.contentWindow, "resize", t), t();
257
- }), T(e, n), () => {
257
+ }), H(e, n), () => {
258
258
  (i || o && n.contentWindow) && o(), L(n);
259
259
  };
260
260
  }
261
- function bs(e, t, r) {
261
+ function cs(e, t, r) {
262
262
  e.classList.toggle(t, !!r);
263
263
  }
264
- function xn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
264
+ function bn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
265
265
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
266
266
  }
267
- function En(e) {
267
+ function gn(e) {
268
268
  const t = {};
269
269
  return e.childNodes.forEach(
270
270
  /** @param {Element} node */
@@ -275,14 +275,14 @@ function En(e) {
275
275
  }
276
276
  const Ve = /* @__PURE__ */ new Map();
277
277
  let Xe = 0;
278
- function wn(e) {
278
+ function yn(e) {
279
279
  let t = 5381, r = e.length;
280
280
  for (; r--; )
281
281
  t = (t << 5) - t ^ e.charCodeAt(r);
282
282
  return t >>> 0;
283
283
  }
284
- function Sn(e, t) {
285
- const r = { stylesheet: yn(t), rules: {} };
284
+ function vn(e, t) {
285
+ const r = { stylesheet: dn(t), rules: {} };
286
286
  return Ve.set(e, r), r;
287
287
  }
288
288
  function We(e, t, r, n, i, o, s, a = 0) {
@@ -295,126 +295,126 @@ function We(e, t, r, n, i, o, s, a = 0) {
295
295
  `;
296
296
  }
297
297
  const h = l + `100% {${s(r, 1 - r)}}
298
- }`, c = `__svelte_${wn(h)}_${a}`, f = Nt(e), { stylesheet: b, rules: m } = Ve.get(f) || Sn(f, e);
298
+ }`, c = `__svelte_${yn(h)}_${a}`, f = Bt(e), { stylesheet: b, rules: m } = Ve.get(f) || vn(f, e);
299
299
  m[c] || (m[c] = !0, b.insertRule(`@keyframes ${c} ${h}`, b.cssRules.length));
300
- const d = e.style.animation || "";
301
- return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
300
+ const p = e.style.animation || "";
301
+ return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
302
302
  }
303
303
  function ze(e, t) {
304
304
  const r = (e.style.animation || "").split(", "), n = r.filter(
305
305
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
306
306
  // remove all Svelte animations
307
307
  ), i = r.length - n.length;
308
- i && (e.style.animation = n.join(", "), Xe -= i, Xe || Tn());
308
+ i && (e.style.animation = n.join(", "), Xe -= i, Xe || _n());
309
309
  }
310
- function Tn() {
311
- It(() => {
310
+ function _n() {
311
+ At(() => {
312
312
  Xe || (Ve.forEach((e) => {
313
313
  const { ownerNode: t } = e.stylesheet;
314
314
  t && L(t);
315
315
  }), Ve.clear());
316
316
  });
317
317
  }
318
- let Se;
319
- function we(e) {
320
- Se = e;
318
+ let Te;
319
+ function Se(e) {
320
+ Te = e;
321
321
  }
322
- function Ar() {
323
- if (!Se)
322
+ function wr() {
323
+ if (!Te)
324
324
  throw new Error("Function called outside component initialization");
325
- return Se;
325
+ return Te;
326
326
  }
327
- function Hn(e) {
328
- Ar().$$.on_mount.push(e);
327
+ function xn(e) {
328
+ wr().$$.on_mount.push(e);
329
329
  }
330
- function gs(e) {
331
- Ar().$$.on_destroy.push(e);
330
+ function fs(e) {
331
+ wr().$$.on_destroy.push(e);
332
332
  }
333
333
  const oe = [], Ze = [];
334
334
  let ue = [];
335
- const zt = [], Pn = /* @__PURE__ */ Promise.resolve();
336
- let pt = !1;
337
- function An() {
338
- pt || (pt = !0, Pn.then(U));
335
+ const jt = [], En = /* @__PURE__ */ Promise.resolve();
336
+ let ht = !1;
337
+ function wn() {
338
+ ht || (ht = !0, En.then(U));
339
339
  }
340
- function le(e) {
340
+ function he(e) {
341
341
  ue.push(e);
342
342
  }
343
- const ot = /* @__PURE__ */ new Set();
343
+ const nt = /* @__PURE__ */ new Set();
344
344
  let ne = 0;
345
345
  function U() {
346
346
  if (ne !== 0)
347
347
  return;
348
- const e = Se;
348
+ const e = Te;
349
349
  do {
350
350
  try {
351
351
  for (; ne < oe.length; ) {
352
352
  const t = oe[ne];
353
- ne++, we(t), On(t.$$);
353
+ ne++, Se(t), Sn(t.$$);
354
354
  }
355
355
  } catch (t) {
356
356
  throw oe.length = 0, ne = 0, t;
357
357
  }
358
- for (we(null), oe.length = 0, ne = 0; Ze.length; )
358
+ for (Se(null), oe.length = 0, ne = 0; Ze.length; )
359
359
  Ze.pop()();
360
360
  for (let t = 0; t < ue.length; t += 1) {
361
361
  const r = ue[t];
362
- ot.has(r) || (ot.add(r), r());
362
+ nt.has(r) || (nt.add(r), r());
363
363
  }
364
364
  ue.length = 0;
365
365
  } while (oe.length);
366
- for (; zt.length; )
367
- zt.pop()();
368
- pt = !1, ot.clear(), we(e);
366
+ for (; jt.length; )
367
+ jt.pop()();
368
+ ht = !1, nt.clear(), Se(e);
369
369
  }
370
- function On(e) {
370
+ function Sn(e) {
371
371
  if (e.fragment !== null) {
372
- e.update(), z(e.before_update);
372
+ e.update(), W(e.before_update);
373
373
  const t = e.dirty;
374
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(le);
374
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
375
375
  }
376
376
  }
377
- function Mn(e) {
377
+ function Tn(e) {
378
378
  const t = [], r = [];
379
379
  ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
380
380
  }
381
- let ve;
382
- function $t() {
383
- return ve || (ve = Promise.resolve(), ve.then(() => {
384
- ve = null;
385
- })), ve;
381
+ let _e;
382
+ function Ot() {
383
+ return _e || (_e = Promise.resolve(), _e.then(() => {
384
+ _e = null;
385
+ })), _e;
386
386
  }
387
387
  function q(e, t, r) {
388
- e.dispatchEvent(xn(`${t ? "intro" : "outro"}${r}`));
388
+ e.dispatchEvent(bn(`${t ? "intro" : "outro"}${r}`));
389
389
  }
390
390
  const Ue = /* @__PURE__ */ new Set();
391
- let k;
392
- function ys() {
393
- k = {
391
+ let j;
392
+ function ds() {
393
+ j = {
394
394
  r: 0,
395
395
  c: [],
396
- p: k
396
+ p: j
397
397
  // parent group
398
398
  };
399
399
  }
400
- function vs() {
401
- k.r || z(k.c), k = k.p;
400
+ function ps() {
401
+ j.r || W(j.c), j = j.p;
402
402
  }
403
- function Bn(e, t) {
403
+ function Hn(e, t) {
404
404
  e && e.i && (Ue.delete(e), e.i(t));
405
405
  }
406
- function _s(e, t, r, n) {
406
+ function ms(e, t, r, n) {
407
407
  if (e && e.o) {
408
408
  if (Ue.has(e))
409
409
  return;
410
- Ue.add(e), k.c.push(() => {
410
+ Ue.add(e), j.c.push(() => {
411
411
  Ue.delete(e), n && (r && e.d(1), n());
412
412
  }), e.o(t);
413
413
  } else
414
414
  n && n();
415
415
  }
416
- const Rt = { duration: 0 };
417
- function xs(e, t, r) {
416
+ const Ct = { duration: 0 };
417
+ function bs(e, t, r) {
418
418
  const n = { direction: "in" };
419
419
  let i = t(e, r, n), o = !1, s, a, u = 0;
420
420
  function l() {
@@ -424,19 +424,19 @@ function xs(e, t, r) {
424
424
  const {
425
425
  delay: f = 0,
426
426
  duration: b = 300,
427
- easing: m = Bt,
428
- tick: d = I,
427
+ easing: m = Ht,
428
+ tick: p = I,
429
429
  css: v
430
- } = i || Rt;
431
- v && (s = We(e, 0, 1, b, f, m, v, u++)), d(0, 1);
432
- const E = Ct() + f, _ = E + b;
433
- a && a.abort(), o = !0, le(() => q(e, !0, "start")), a = Lt((p) => {
430
+ } = i || Ct;
431
+ v && (s = We(e, 0, 1, b, f, m, v, u++)), p(0, 1);
432
+ const E = Pt() + f, _ = E + b;
433
+ a && a.abort(), o = !0, he(() => q(e, !0, "start")), a = Mt((d) => {
434
434
  if (o) {
435
- if (p >= _)
436
- return d(1, 0), q(e, !0, "end"), l(), o = !1;
437
- if (p >= E) {
438
- const S = m((p - E) / b);
439
- d(S, 1 - S);
435
+ if (d >= _)
436
+ return p(1, 0), q(e, !0, "end"), l(), o = !1;
437
+ if (d >= E) {
438
+ const S = m((d - E) / b);
439
+ p(S, 1 - S);
440
440
  }
441
441
  }
442
442
  return o;
@@ -445,7 +445,7 @@ function xs(e, t, r) {
445
445
  let c = !1;
446
446
  return {
447
447
  start() {
448
- c || (c = !0, ze(e), de(i) ? (i = i(n), $t().then(h)) : h());
448
+ c || (c = !0, ze(e), me(i) ? (i = i(n), Ot().then(h)) : h());
449
449
  },
450
450
  invalidate() {
451
451
  c = !1;
@@ -455,36 +455,36 @@ function xs(e, t, r) {
455
455
  }
456
456
  };
457
457
  }
458
- function Es(e, t, r) {
458
+ function gs(e, t, r) {
459
459
  const n = { direction: "out" };
460
460
  let i = t(e, r, n), o = !0, s;
461
- const a = k;
461
+ const a = j;
462
462
  a.r += 1;
463
463
  let u;
464
464
  function l() {
465
465
  const {
466
466
  delay: h = 0,
467
467
  duration: c = 300,
468
- easing: f = Bt,
468
+ easing: f = Ht,
469
469
  tick: b = I,
470
470
  css: m
471
- } = i || Rt;
471
+ } = i || Ct;
472
472
  m && (s = We(e, 1, 0, c, h, f, m));
473
- const d = Ct() + h, v = d + c;
474
- le(() => q(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
475
- e.inert, e.inert = !0), Lt((E) => {
473
+ const p = Pt() + h, v = p + c;
474
+ he(() => q(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
475
+ e.inert, e.inert = !0), Mt((E) => {
476
476
  if (o) {
477
477
  if (E >= v)
478
- return b(0, 1), q(e, !1, "end"), --a.r || z(a.c), !1;
479
- if (E >= d) {
480
- const _ = f((E - d) / c);
478
+ return b(0, 1), q(e, !1, "end"), --a.r || W(a.c), !1;
479
+ if (E >= p) {
480
+ const _ = f((E - p) / c);
481
481
  b(1 - _, _);
482
482
  }
483
483
  }
484
484
  return o;
485
485
  });
486
486
  }
487
- return de(i) ? $t().then(() => {
487
+ return me(i) ? Ot().then(() => {
488
488
  i = i(n), l();
489
489
  }) : l(), {
490
490
  end(h) {
@@ -492,40 +492,40 @@ function Es(e, t, r) {
492
492
  }
493
493
  };
494
494
  }
495
- function ws(e, t, r, n) {
495
+ function ys(e, t, r, n) {
496
496
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
497
497
  function c() {
498
498
  l && ze(e, l);
499
499
  }
500
- function f(m, d) {
500
+ function f(m, p) {
501
501
  const v = (
502
502
  /** @type {Program['d']} */
503
503
  m.b - s
504
504
  );
505
- return d *= Math.abs(v), {
505
+ return p *= Math.abs(v), {
506
506
  a: s,
507
507
  b: m.b,
508
508
  d: v,
509
- duration: d,
509
+ duration: p,
510
510
  start: m.start,
511
- end: m.start + d,
511
+ end: m.start + p,
512
512
  group: m.group
513
513
  };
514
514
  }
515
515
  function b(m) {
516
516
  const {
517
- delay: d = 0,
517
+ delay: p = 0,
518
518
  duration: v = 300,
519
- easing: E = Bt,
519
+ easing: E = Ht,
520
520
  tick: _ = I,
521
- css: p
522
- } = o || Rt, S = {
523
- start: Ct() + d,
521
+ css: d
522
+ } = o || Ct, S = {
523
+ start: Pt() + p,
524
524
  b: m
525
525
  };
526
- m || (S.group = k, k.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
527
- e.inert, e.inert = !0)), a || u ? u = S : (p && (c(), l = We(e, s, m, v, d, E, p)), m && _(0, 1), a = f(S, v), le(() => q(e, m, "start")), Lt((y) => {
528
- if (u && y > u.start && (a = f(u, v), u = null, q(e, a.b, "start"), p && (c(), l = We(
526
+ m || (S.group = j, j.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
527
+ e.inert, e.inert = !0)), a || u ? u = S : (d && (c(), l = We(e, s, m, v, p, E, d)), m && _(0, 1), a = f(S, v), he(() => q(e, m, "start")), Mt((y) => {
528
+ if (u && y > u.start && (a = f(u, v), u = null, q(e, a.b, "start"), d && (c(), l = We(
529
529
  e,
530
530
  s,
531
531
  a.b,
@@ -535,10 +535,10 @@ function ws(e, t, r, n) {
535
535
  o.css
536
536
  ))), a) {
537
537
  if (y >= a.end)
538
- _(s = a.b, 1 - s), q(e, a.b, "end"), u || (a.b ? c() : --a.group.r || z(a.group.c)), a = null;
538
+ _(s = a.b, 1 - s), q(e, a.b, "end"), u || (a.b ? c() : --a.group.r || W(a.group.c)), a = null;
539
539
  else if (y >= a.start) {
540
- const M = y - a.start;
541
- s = a.a + a.d * E(M / a.duration), _(s, 1 - s);
540
+ const B = y - a.start;
541
+ s = a.a + a.d * E(B / a.duration), _(s, 1 - s);
542
542
  }
543
543
  }
544
544
  return !!(a || u);
@@ -546,7 +546,7 @@ function ws(e, t, r, n) {
546
546
  }
547
547
  return {
548
548
  run(m) {
549
- de(o) ? $t().then(() => {
549
+ me(o) ? Ot().then(() => {
550
550
  o = o({ direction: m ? "in" : "out" }), b(m);
551
551
  }) : b(m);
552
552
  },
@@ -558,26 +558,26 @@ function ws(e, t, r, n) {
558
558
  function Ne(e) {
559
559
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
560
560
  }
561
- function Ss(e) {
561
+ function vs(e) {
562
562
  e && e.c();
563
563
  }
564
- function Cn(e, t, r) {
564
+ function Pn(e, t, r) {
565
565
  const { fragment: n, after_update: i } = e.$$;
566
- n && n.m(t, r), le(() => {
567
- const o = e.$$.on_mount.map(xr).filter(de);
568
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
569
- }), i.forEach(le);
566
+ n && n.m(t, r), he(() => {
567
+ const o = e.$$.on_mount.map(br).filter(me);
568
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
569
+ }), i.forEach(he);
570
570
  }
571
- function In(e, t) {
571
+ function An(e, t) {
572
572
  const r = e.$$;
573
- r.fragment !== null && (Mn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
573
+ r.fragment !== null && (Tn(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
574
574
  }
575
- function Ln(e, t) {
576
- e.$$.dirty[0] === -1 && (oe.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
575
+ function Mn(e, t) {
576
+ e.$$.dirty[0] === -1 && (oe.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
577
577
  }
578
- function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
579
- const u = Se;
580
- we(e);
578
+ function Bn(e, t, r, n, i, o, s = null, a = [-1]) {
579
+ const u = Te;
580
+ Se(e);
581
581
  const l = e.$$ = {
582
582
  fragment: null,
583
583
  ctx: [],
@@ -585,7 +585,7 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
585
585
  props: o,
586
586
  update: I,
587
587
  not_equal: i,
588
- bound: Vt(),
588
+ bound: Ut(),
589
589
  // lifecycle
590
590
  on_mount: [],
591
591
  on_destroy: [],
@@ -594,7 +594,7 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
594
594
  after_update: [],
595
595
  context: new Map(t.context || (u ? u.$$.context : [])),
596
596
  // everything else
597
- callbacks: Vt(),
597
+ callbacks: Ut(),
598
598
  dirty: a,
599
599
  skip_bound: !1,
600
600
  root: t.target || u.$$.root
@@ -603,19 +603,19 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
603
603
  let h = !1;
604
604
  if (l.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
605
605
  const m = b.length ? b[0] : f;
606
- return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && Ln(e, c)), f;
607
- }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
606
+ return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && Mn(e, c)), f;
607
+ }) : [], l.update(), h = !0, W(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
608
608
  if (t.hydrate) {
609
- const c = vn(t.target);
609
+ const c = pn(t.target);
610
610
  l.fragment && l.fragment.l(c), c.forEach(L);
611
611
  } else
612
612
  l.fragment && l.fragment.c();
613
- t.intro && Bn(e.$$.fragment), Cn(e, t.target, t.anchor), U();
613
+ t.intro && Hn(e.$$.fragment), Pn(e, t.target, t.anchor), U();
614
614
  }
615
- we(u);
615
+ Se(u);
616
616
  }
617
- let Or;
618
- typeof HTMLElement == "function" && (Or = class extends HTMLElement {
617
+ let Sr;
618
+ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
619
619
  constructor(t, r, n) {
620
620
  super();
621
621
  /** The Svelte component constructor */
@@ -652,14 +652,14 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
652
652
  }
653
653
  }
654
654
  connectedCallback() {
655
- return kt(this, null, function* () {
655
+ return Dt(this, null, function* () {
656
656
  if (this.$$cn = !0, !this.$$c) {
657
657
  let t = function(o) {
658
658
  return () => {
659
659
  let s;
660
660
  return {
661
661
  c: function() {
662
- s = P("slot"), o !== "default" && O(s, "name", o);
662
+ s = A("slot"), o !== "default" && M(s, "name", o);
663
663
  },
664
664
  /**
665
665
  * @param {HTMLElement} target
@@ -676,7 +676,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
676
676
  };
677
677
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
678
678
  return;
679
- const r = {}, n = En(this);
679
+ const r = {}, n = gn(this);
680
680
  for (const o of this.$$s)
681
681
  o in n && (r[o] = [t(o)]);
682
682
  for (const o of this.attributes) {
@@ -687,7 +687,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
687
687
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
688
688
  this.$$c = new this.$$ctor({
689
689
  target: this.shadowRoot || this,
690
- props: jt(Ft({}, this.$$d), {
690
+ props: Rt($t({}, this.$$d), {
691
691
  $$slots: r,
692
692
  $$scope: {
693
693
  ctx: []
@@ -765,8 +765,8 @@ function Ge(e, t, r, n) {
765
765
  return t;
766
766
  }
767
767
  }
768
- function $n(e, t, r, n, i, o) {
769
- let s = class extends Or {
768
+ function On(e, t, r, n, i, o) {
769
+ let s = class extends Sr {
770
770
  constructor() {
771
771
  super(e, r, i), this.$$p_d = t;
772
772
  }
@@ -796,7 +796,7 @@ function $n(e, t, r, n, i, o) {
796
796
  }), e.element = /** @type {any} */
797
797
  s, s;
798
798
  }
799
- class Rn {
799
+ class Cn {
800
800
  constructor() {
801
801
  /**
802
802
  * ### PRIVATE API
@@ -817,7 +817,7 @@ class Rn {
817
817
  }
818
818
  /** @returns {void} */
819
819
  $destroy() {
820
- In(this, 1), this.$destroy = I;
820
+ An(this, 1), this.$destroy = I;
821
821
  }
822
822
  /**
823
823
  * @template {Extract<keyof Events, string>} K
@@ -826,7 +826,7 @@ class Rn {
826
826
  * @returns {() => void}
827
827
  */
828
828
  $on(t, r) {
829
- if (!de(r))
829
+ if (!me(r))
830
830
  return I;
831
831
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
832
832
  return n.push(r), () => {
@@ -839,22 +839,22 @@ class Rn {
839
839
  * @returns {void}
840
840
  */
841
841
  $set(t) {
842
- this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
842
+ this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
843
843
  }
844
844
  }
845
- const Dn = "4";
846
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
845
+ const In = "4";
846
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(In);
847
847
  const ie = [];
848
- function Un(e, t) {
848
+ function Ln(e, t) {
849
849
  return {
850
- subscribe: Ke(e, t).subscribe
850
+ subscribe: Je(e, t).subscribe
851
851
  };
852
852
  }
853
- function Ke(e, t = I) {
853
+ function Je(e, t = I) {
854
854
  let r;
855
855
  const n = /* @__PURE__ */ new Set();
856
856
  function i(a) {
857
- if (Er(e, a) && (e = a, r)) {
857
+ if (gr(e, a) && (e = a, r)) {
858
858
  const u = !ie.length;
859
859
  for (const l of n)
860
860
  l[1](), ie.push(l, e);
@@ -876,12 +876,12 @@ function Ke(e, t = I) {
876
876
  }
877
877
  return { set: i, update: o, subscribe: s };
878
878
  }
879
- function me(e, t, r) {
879
+ function be(e, t, r) {
880
880
  const n = !Array.isArray(e), i = n ? [e] : e;
881
881
  if (!i.every(Boolean))
882
882
  throw new Error("derived() expects stores as input, got a falsy value");
883
883
  const o = t.length < 2;
884
- return Un(r, (s, a) => {
884
+ return Ln(r, (s, a) => {
885
885
  let u = !1;
886
886
  const l = [];
887
887
  let h = 0, c = I;
@@ -890,126 +890,140 @@ function me(e, t, r) {
890
890
  return;
891
891
  c();
892
892
  const m = t(n ? l[0] : l, s, a);
893
- o ? s(m) : c = de(m) ? m : I;
893
+ o ? s(m) : c = me(m) ? m : I;
894
894
  }, b = i.map(
895
- (m, d) => wr(
895
+ (m, p) => yr(
896
896
  m,
897
897
  (v) => {
898
- l[d] = v, h &= ~(1 << d), u && f();
898
+ l[p] = v, h &= ~(1 << p), u && f();
899
899
  },
900
900
  () => {
901
- h |= 1 << d;
901
+ h |= 1 << p;
902
902
  }
903
903
  )
904
904
  );
905
905
  return u = !0, f(), function() {
906
- z(b), c(), u = !1;
906
+ W(b), c(), u = !1;
907
907
  };
908
908
  });
909
909
  }
910
- var Ts = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
911
- function Gn(e) {
910
+ var _s = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
911
+ function Nn(e) {
912
912
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
913
913
  }
914
- var Fn = function(t) {
915
- return jn(t) && !kn(t);
914
+ var $n = function(t) {
915
+ return Rn(t) && !Dn(t);
916
916
  };
917
- function jn(e) {
917
+ function Rn(e) {
918
918
  return !!e && typeof e == "object";
919
919
  }
920
- function kn(e) {
920
+ function Dn(e) {
921
921
  var t = Object.prototype.toString.call(e);
922
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
922
+ return t === "[object RegExp]" || t === "[object Date]" || Fn(e);
923
923
  }
924
- var Vn = typeof Symbol == "function" && Symbol.for, Xn = Vn ? Symbol.for("react.element") : 60103;
925
- function Wn(e) {
926
- return e.$$typeof === Xn;
924
+ var Un = typeof Symbol == "function" && Symbol.for, Gn = Un ? Symbol.for("react.element") : 60103;
925
+ function Fn(e) {
926
+ return e.$$typeof === Gn;
927
927
  }
928
- function zn(e) {
928
+ function jn(e) {
929
929
  return Array.isArray(e) ? [] : {};
930
930
  }
931
- function Te(e, t) {
932
- return t.clone !== !1 && t.isMergeableObject(e) ? he(zn(e), e, t) : e;
931
+ function He(e, t) {
932
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(jn(e), e, t) : e;
933
933
  }
934
- function Zn(e, t, r) {
934
+ function kn(e, t, r) {
935
935
  return e.concat(t).map(function(n) {
936
- return Te(n, r);
936
+ return He(n, r);
937
937
  });
938
938
  }
939
- function Qn(e, t) {
939
+ function Vn(e, t) {
940
940
  if (!t.customMerge)
941
- return he;
941
+ return ce;
942
942
  var r = t.customMerge(e);
943
- return typeof r == "function" ? r : he;
943
+ return typeof r == "function" ? r : ce;
944
944
  }
945
- function Yn(e) {
945
+ function Xn(e) {
946
946
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
947
947
  return Object.propertyIsEnumerable.call(e, t);
948
948
  }) : [];
949
949
  }
950
- function Zt(e) {
951
- return Object.keys(e).concat(Yn(e));
950
+ function kt(e) {
951
+ return Object.keys(e).concat(Xn(e));
952
952
  }
953
- function Mr(e, t) {
953
+ function Tr(e, t) {
954
954
  try {
955
955
  return t in e;
956
956
  } catch (r) {
957
957
  return !1;
958
958
  }
959
959
  }
960
- function qn(e, t) {
961
- return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
960
+ function Wn(e, t) {
961
+ return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
962
962
  }
963
- function Jn(e, t, r) {
963
+ function zn(e, t, r) {
964
964
  var n = {};
965
- return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
966
- n[i] = Te(e[i], r);
967
- }), Zt(t).forEach(function(i) {
968
- qn(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
965
+ return r.isMergeableObject(e) && kt(e).forEach(function(i) {
966
+ n[i] = He(e[i], r);
967
+ }), kt(t).forEach(function(i) {
968
+ Wn(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
969
969
  }), n;
970
970
  }
971
- function he(e, t, r) {
972
- r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = Te;
971
+ function ce(e, t, r) {
972
+ r = r || {}, r.arrayMerge = r.arrayMerge || kn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = He;
973
973
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
974
- return o ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : Te(t, r);
974
+ return o ? n ? r.arrayMerge(e, t, r) : zn(e, t, r) : He(t, r);
975
975
  }
976
- he.all = function(t, r) {
976
+ ce.all = function(t, r) {
977
977
  if (!Array.isArray(t))
978
978
  throw new Error("first argument should be an array");
979
979
  return t.reduce(function(n, i) {
980
- return he(n, i, r);
980
+ return ce(n, i, r);
981
981
  }, {});
982
982
  };
983
- var Kn = he, ei = Kn;
984
- const ti = /* @__PURE__ */ Gn(ei);
985
- var dt = function(e, t) {
986
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
983
+ var Zn = ce, Qn = Zn;
984
+ const Yn = /* @__PURE__ */ Nn(Qn);
985
+ /*! *****************************************************************************
986
+ Copyright (c) Microsoft Corporation.
987
+
988
+ Permission to use, copy, modify, and/or distribute this software for any
989
+ purpose with or without fee is hereby granted.
990
+
991
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
992
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
993
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
994
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
995
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
996
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
997
+ PERFORMANCE OF THIS SOFTWARE.
998
+ ***************************************************************************** */
999
+ var ct = function(e, t) {
1000
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
987
1001
  r.__proto__ = n;
988
1002
  } || function(r, n) {
989
1003
  for (var i in n)
990
1004
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
991
- }, dt(e, t);
1005
+ }, ct(e, t);
992
1006
  };
993
- function et(e, t) {
1007
+ function z(e, t) {
994
1008
  if (typeof t != "function" && t !== null)
995
1009
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
996
- dt(e, t);
1010
+ ct(e, t);
997
1011
  function r() {
998
1012
  this.constructor = e;
999
1013
  }
1000
1014
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1001
1015
  }
1002
- var j = function() {
1003
- return j = Object.assign || function(t) {
1016
+ var T = function() {
1017
+ return T = Object.assign || function(t) {
1004
1018
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1005
1019
  r = arguments[n];
1006
1020
  for (var o in r)
1007
1021
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1008
1022
  }
1009
1023
  return t;
1010
- }, j.apply(this, arguments);
1024
+ }, T.apply(this, arguments);
1011
1025
  };
1012
- function ri(e, t) {
1026
+ function qn(e, t) {
1013
1027
  var r = {};
1014
1028
  for (var n in e)
1015
1029
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1018,43 +1032,75 @@ function ri(e, t) {
1018
1032
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1019
1033
  return r;
1020
1034
  }
1021
- function st(e, t, r) {
1035
+ function ft(e) {
1036
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
1037
+ if (r)
1038
+ return r.call(e);
1039
+ if (e && typeof e.length == "number")
1040
+ return {
1041
+ next: function() {
1042
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
1043
+ }
1044
+ };
1045
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
1046
+ }
1047
+ function dt(e, t) {
1048
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
1049
+ if (!r)
1050
+ return e;
1051
+ var n = r.call(e), i, o = [], s;
1052
+ try {
1053
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
1054
+ o.push(i.value);
1055
+ } catch (a) {
1056
+ s = { error: a };
1057
+ } finally {
1058
+ try {
1059
+ i && !i.done && (r = n.return) && r.call(n);
1060
+ } finally {
1061
+ if (s)
1062
+ throw s.error;
1063
+ }
1064
+ }
1065
+ return o;
1066
+ }
1067
+ function le(e, t, r) {
1022
1068
  if (r || arguments.length === 2)
1023
1069
  for (var n = 0, i = t.length, o; n < i; n++)
1024
1070
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1025
- return e.concat(o || Array.prototype.slice.call(t));
1071
+ return e.concat(o || t);
1026
1072
  }
1027
- function at(e, t) {
1028
- var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
1073
+ function it(e, t) {
1074
+ var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
1029
1075
  return i(e, {
1030
1076
  cache: r,
1031
1077
  serializer: n
1032
1078
  });
1033
1079
  }
1034
- function ni(e) {
1080
+ function Jn(e) {
1035
1081
  return e == null || typeof e == "number" || typeof e == "boolean";
1036
1082
  }
1037
- function ii(e, t, r, n) {
1038
- var i = ni(n) ? n : r(n), o = t.get(i);
1083
+ function Kn(e, t, r, n) {
1084
+ var i = Jn(n) ? n : r(n), o = t.get(i);
1039
1085
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1040
1086
  }
1041
- function Br(e, t, r) {
1087
+ function Hr(e, t, r) {
1042
1088
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1043
1089
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1044
1090
  }
1045
- function Cr(e, t, r, n, i) {
1091
+ function Pr(e, t, r, n, i) {
1046
1092
  return r.bind(t, e, n, i);
1047
1093
  }
1048
- function oi(e, t) {
1049
- var r = e.length === 1 ? ii : Br;
1050
- return Cr(e, this, r, t.cache.create(), t.serializer);
1094
+ function ei(e, t) {
1095
+ var r = e.length === 1 ? Kn : Hr;
1096
+ return Pr(e, this, r, t.cache.create(), t.serializer);
1051
1097
  }
1052
- function si(e, t) {
1053
- return Cr(e, this, Br, t.cache.create(), t.serializer);
1098
+ function ti(e, t) {
1099
+ return Pr(e, this, Hr, t.cache.create(), t.serializer);
1054
1100
  }
1055
- var ai = function() {
1101
+ var ri = function() {
1056
1102
  return JSON.stringify(arguments);
1057
- }, ui = (
1103
+ }, ni = (
1058
1104
  /** @class */
1059
1105
  function() {
1060
1106
  function e() {
@@ -1066,71 +1112,61 @@ var ai = function() {
1066
1112
  this.cache[t] = r;
1067
1113
  }, e;
1068
1114
  }()
1069
- ), li = {
1115
+ ), ii = {
1070
1116
  create: function() {
1071
- return new ui();
1117
+ return new ni();
1072
1118
  }
1073
- }, ut = {
1074
- variadic: si
1075
- }, Qe = function() {
1076
- return Qe = Object.assign || function(t) {
1077
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1078
- r = arguments[n];
1079
- for (var o in r)
1080
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1081
- }
1082
- return t;
1083
- }, Qe.apply(this, arguments);
1084
- };
1085
- var x;
1119
+ }, ot = {
1120
+ variadic: ti
1121
+ }, x;
1086
1122
  (function(e) {
1087
1123
  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";
1088
1124
  })(x || (x = {}));
1089
- var H;
1125
+ var P;
1090
1126
  (function(e) {
1091
1127
  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";
1092
- })(H || (H = {}));
1093
- var ce;
1128
+ })(P || (P = {}));
1129
+ var fe;
1094
1130
  (function(e) {
1095
1131
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1096
- })(ce || (ce = {}));
1097
- function Qt(e) {
1098
- return e.type === H.literal;
1132
+ })(fe || (fe = {}));
1133
+ function Vt(e) {
1134
+ return e.type === P.literal;
1099
1135
  }
1100
- function hi(e) {
1101
- return e.type === H.argument;
1136
+ function oi(e) {
1137
+ return e.type === P.argument;
1102
1138
  }
1103
- function Ir(e) {
1104
- return e.type === H.number;
1139
+ function Ar(e) {
1140
+ return e.type === P.number;
1105
1141
  }
1106
- function Lr(e) {
1107
- return e.type === H.date;
1142
+ function Mr(e) {
1143
+ return e.type === P.date;
1108
1144
  }
1109
- function Nr(e) {
1110
- return e.type === H.time;
1145
+ function Br(e) {
1146
+ return e.type === P.time;
1111
1147
  }
1112
- function $r(e) {
1113
- return e.type === H.select;
1148
+ function Or(e) {
1149
+ return e.type === P.select;
1114
1150
  }
1115
- function Rr(e) {
1116
- return e.type === H.plural;
1151
+ function Cr(e) {
1152
+ return e.type === P.plural;
1117
1153
  }
1118
- function ci(e) {
1119
- return e.type === H.pound;
1154
+ function si(e) {
1155
+ return e.type === P.pound;
1120
1156
  }
1121
- function Dr(e) {
1122
- return e.type === H.tag;
1157
+ function Ir(e) {
1158
+ return e.type === P.tag;
1123
1159
  }
1124
- function Ur(e) {
1125
- return !!(e && typeof e == "object" && e.type === ce.number);
1160
+ function Lr(e) {
1161
+ return !!(e && typeof e == "object" && e.type === fe.number);
1126
1162
  }
1127
- function mt(e) {
1128
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
1163
+ function pt(e) {
1164
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1129
1165
  }
1130
- var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1131
- function pi(e) {
1166
+ var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[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;
1167
+ function ui(e) {
1132
1168
  var t = {};
1133
- return e.replace(fi, function(r) {
1169
+ return e.replace(ai, function(r) {
1134
1170
  var n = r.length;
1135
1171
  switch (r[0]) {
1136
1172
  case "G":
@@ -1219,21 +1255,11 @@ function pi(e) {
1219
1255
  return "";
1220
1256
  }), t;
1221
1257
  }
1222
- var A = function() {
1223
- return A = Object.assign || function(t) {
1224
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1225
- r = arguments[n];
1226
- for (var o in r)
1227
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1228
- }
1229
- return t;
1230
- }, A.apply(this, arguments);
1231
- };
1232
- var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1233
- function mi(e) {
1258
+ var li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1259
+ function hi(e) {
1234
1260
  if (e.length === 0)
1235
1261
  throw new Error("Number skeleton cannot be empty");
1236
- for (var t = e.split(di).filter(function(f) {
1262
+ for (var t = e.split(li).filter(function(f) {
1237
1263
  return f.length > 0;
1238
1264
  }), r = [], n = 0, i = t; n < i.length; n++) {
1239
1265
  var o = i[n], s = o.split("/");
@@ -1248,17 +1274,17 @@ function mi(e) {
1248
1274
  }
1249
1275
  return r;
1250
1276
  }
1251
- function bi(e) {
1277
+ function ci(e) {
1252
1278
  return e.replace(/^(.*?)-/, "");
1253
1279
  }
1254
- var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1255
- function qt(e) {
1280
+ var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
1281
+ function Wt(e) {
1256
1282
  var t = {};
1257
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1283
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
1258
1284
  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)), "";
1259
1285
  }), t;
1260
1286
  }
1261
- function kr(e) {
1287
+ function Dr(e) {
1262
1288
  switch (e) {
1263
1289
  case "sign-auto":
1264
1290
  return {
@@ -1298,7 +1324,7 @@ function kr(e) {
1298
1324
  };
1299
1325
  }
1300
1326
  }
1301
- function yi(e) {
1327
+ function di(e) {
1302
1328
  var t;
1303
1329
  if (e[0] === "E" && e[1] === "E" ? (t = {
1304
1330
  notation: "engineering"
@@ -1306,17 +1332,17 @@ function yi(e) {
1306
1332
  notation: "scientific"
1307
1333
  }, e = e.slice(1)), t) {
1308
1334
  var r = e.slice(0, 2);
1309
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1335
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
1310
1336
  throw new Error("Malformed concise eng/scientific notation");
1311
1337
  t.minimumIntegerDigits = e.length;
1312
1338
  }
1313
1339
  return t;
1314
1340
  }
1315
- function Jt(e) {
1316
- var t = {}, r = kr(e);
1341
+ function zt(e) {
1342
+ var t = {}, r = Dr(e);
1317
1343
  return r || t;
1318
1344
  }
1319
- function vi(e) {
1345
+ function pi(e) {
1320
1346
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1321
1347
  var i = n[r];
1322
1348
  switch (i.stem) {
@@ -1340,7 +1366,7 @@ function vi(e) {
1340
1366
  continue;
1341
1367
  case "measure-unit":
1342
1368
  case "unit":
1343
- t.style = "unit", t.unit = bi(i.options[0]);
1369
+ t.style = "unit", t.unit = ci(i.options[0]);
1344
1370
  continue;
1345
1371
  case "compact-short":
1346
1372
  case "K":
@@ -1351,13 +1377,13 @@ function vi(e) {
1351
1377
  t.notation = "compact", t.compactDisplay = "long";
1352
1378
  continue;
1353
1379
  case "scientific":
1354
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1355
- return A(A({}, u), Jt(l));
1380
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1381
+ return T(T({}, u), zt(l));
1356
1382
  }, {}));
1357
1383
  continue;
1358
1384
  case "engineering":
1359
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1360
- return A(A({}, u), Jt(l));
1385
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1386
+ return T(T({}, u), zt(l));
1361
1387
  }, {}));
1362
1388
  continue;
1363
1389
  case "notation-simple":
@@ -1402,7 +1428,7 @@ function vi(e) {
1402
1428
  case "integer-width":
1403
1429
  if (i.options.length > 1)
1404
1430
  throw new RangeError("integer-width stems only accept a single optional option");
1405
- i.options[0].replace(gi, function(u, l, h, c, f, b) {
1431
+ i.options[0].replace(fi, function(u, l, h, c, f, b) {
1406
1432
  if (l)
1407
1433
  t.minimumIntegerDigits = h.length;
1408
1434
  else {
@@ -1415,28 +1441,28 @@ function vi(e) {
1415
1441
  });
1416
1442
  continue;
1417
1443
  }
1418
- if (jr.test(i.stem)) {
1444
+ if (Rr.test(i.stem)) {
1419
1445
  t.minimumIntegerDigits = i.stem.length;
1420
1446
  continue;
1421
1447
  }
1422
- if (Yt.test(i.stem)) {
1448
+ if (Xt.test(i.stem)) {
1423
1449
  if (i.options.length > 1)
1424
1450
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1425
- i.stem.replace(Yt, function(u, l, h, c, f, b) {
1451
+ i.stem.replace(Xt, function(u, l, h, c, f, b) {
1426
1452
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1427
1453
  });
1428
1454
  var o = i.options[0];
1429
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), qt(o)));
1455
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Wt(o)));
1430
1456
  continue;
1431
1457
  }
1432
- if (Fr.test(i.stem)) {
1433
- t = A(A({}, t), qt(i.stem));
1458
+ if ($r.test(i.stem)) {
1459
+ t = T(T({}, t), Wt(i.stem));
1434
1460
  continue;
1435
1461
  }
1436
- var s = kr(i.stem);
1437
- s && (t = A(A({}, t), s));
1438
- var a = yi(i.stem);
1439
- a && (t = A(A({}, t), a));
1462
+ var s = Dr(i.stem);
1463
+ s && (t = T(T({}, t), s));
1464
+ var a = di(i.stem);
1465
+ a && (t = T(T({}, t), a));
1440
1466
  }
1441
1467
  return t;
1442
1468
  }
@@ -2855,13 +2881,13 @@ var $e = {
2855
2881
  "h"
2856
2882
  ]
2857
2883
  };
2858
- function _i(e, t) {
2884
+ function mi(e, t) {
2859
2885
  for (var r = "", n = 0; n < e.length; n++) {
2860
2886
  var i = e.charAt(n);
2861
2887
  if (i === "j") {
2862
2888
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2863
2889
  o++, n++;
2864
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xi(t);
2890
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = bi(t);
2865
2891
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2866
2892
  r += u;
2867
2893
  for (; s-- > 0; )
@@ -2871,7 +2897,7 @@ function _i(e, t) {
2871
2897
  }
2872
2898
  return r;
2873
2899
  }
2874
- function xi(e) {
2900
+ function bi(e) {
2875
2901
  var t = e.hourCycle;
2876
2902
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2877
2903
  e.hourCycles && // @ts-ignore
@@ -2893,20 +2919,20 @@ function xi(e) {
2893
2919
  var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2894
2920
  return i[0];
2895
2921
  }
2896
- var lt, Ei = new RegExp("^".concat(Gr.source, "*")), wi = new RegExp("".concat(Gr.source, "*$"));
2922
+ var st, gi = new RegExp("^".concat(Nr.source, "*")), yi = new RegExp("".concat(Nr.source, "*$"));
2897
2923
  function w(e, t) {
2898
2924
  return { start: e, end: t };
2899
2925
  }
2900
- var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Hi = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Bi = Mi ? Number.isSafeInteger : function(e) {
2926
+ var vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, xi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, wi = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, Ti = !!Number.isSafeInteger, Hi = Ti ? Number.isSafeInteger : function(e) {
2901
2927
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2902
- }, bt = !0;
2928
+ }, mt = !0;
2903
2929
  try {
2904
- var Ci = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2905
- bt = ((lt = Ci.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2930
+ var Pi = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2931
+ mt = ((st = Pi.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2906
2932
  } catch (e) {
2907
- bt = !1;
2933
+ mt = !1;
2908
2934
  }
2909
- var Kt = Si ? (
2935
+ var Zt = vi ? (
2910
2936
  // Native
2911
2937
  function(t, r, n) {
2912
2938
  return t.startsWith(r, n);
@@ -2916,7 +2942,7 @@ var Kt = Si ? (
2916
2942
  function(t, r, n) {
2917
2943
  return t.slice(n, n + r.length) === r;
2918
2944
  }
2919
- ), gt = Ti ? String.fromCodePoint : (
2945
+ ), bt = _i ? String.fromCodePoint : (
2920
2946
  // IE11
2921
2947
  function() {
2922
2948
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2928,9 +2954,9 @@ var Kt = Si ? (
2928
2954
  }
2929
2955
  return n;
2930
2956
  }
2931
- ), er = (
2957
+ ), Qt = (
2932
2958
  // native
2933
- Hi ? Object.fromEntries : (
2959
+ xi ? Object.fromEntries : (
2934
2960
  // Ponyfill
2935
2961
  function(t) {
2936
2962
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2940,7 +2966,7 @@ var Kt = Si ? (
2940
2966
  return r;
2941
2967
  }
2942
2968
  )
2943
- ), Vr = Pi ? (
2969
+ ), Ur = Ei ? (
2944
2970
  // Native
2945
2971
  function(t, r) {
2946
2972
  return t.codePointAt(r);
@@ -2954,7 +2980,7 @@ var Kt = Si ? (
2954
2980
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2955
2981
  }
2956
2982
  }
2957
- ), Ii = Ai ? (
2983
+ ), Ai = wi ? (
2958
2984
  // Native
2959
2985
  function(t) {
2960
2986
  return t.trimStart();
@@ -2962,9 +2988,9 @@ var Kt = Si ? (
2962
2988
  ) : (
2963
2989
  // Ponyfill
2964
2990
  function(t) {
2965
- return t.replace(Ei, "");
2991
+ return t.replace(gi, "");
2966
2992
  }
2967
- ), Li = Oi ? (
2993
+ ), Mi = Si ? (
2968
2994
  // Native
2969
2995
  function(t) {
2970
2996
  return t.trimEnd();
@@ -2972,32 +2998,32 @@ var Kt = Si ? (
2972
2998
  ) : (
2973
2999
  // Ponyfill
2974
3000
  function(t) {
2975
- return t.replace(wi, "");
3001
+ return t.replace(yi, "");
2976
3002
  }
2977
3003
  );
2978
- function Xr(e, t) {
3004
+ function Gr(e, t) {
2979
3005
  return new RegExp(e, t);
2980
3006
  }
2981
- var yt;
2982
- if (bt) {
2983
- var tr = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2984
- yt = function(t, r) {
3007
+ var gt;
3008
+ if (mt) {
3009
+ var Yt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3010
+ gt = function(t, r) {
2985
3011
  var n;
2986
- tr.lastIndex = r;
2987
- var i = tr.exec(t);
3012
+ Yt.lastIndex = r;
3013
+ var i = Yt.exec(t);
2988
3014
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2989
3015
  };
2990
3016
  } else
2991
- yt = function(t, r) {
3017
+ gt = function(t, r) {
2992
3018
  for (var n = []; ; ) {
2993
- var i = Vr(t, r);
2994
- if (i === void 0 || Wr(i) || Di(i))
3019
+ var i = Ur(t, r);
3020
+ if (i === void 0 || Fr(i) || Ii(i))
2995
3021
  break;
2996
3022
  n.push(i), r += i >= 65536 ? 2 : 1;
2997
3023
  }
2998
- return gt.apply(void 0, n);
3024
+ return bt.apply(void 0, n);
2999
3025
  };
3000
- var Ni = (
3026
+ var Bi = (
3001
3027
  /** @class */
3002
3028
  function() {
3003
3029
  function e(t, r) {
@@ -3021,14 +3047,14 @@ var Ni = (
3021
3047
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3022
3048
  var a = this.clonePosition();
3023
3049
  this.bump(), i.push({
3024
- type: H.pound,
3050
+ type: P.pound,
3025
3051
  location: w(a, this.clonePosition())
3026
3052
  });
3027
3053
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3028
3054
  if (n)
3029
3055
  break;
3030
3056
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3031
- } else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
3057
+ } else if (o === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
3032
3058
  var s = this.parseTag(t, r);
3033
3059
  if (s.err)
3034
3060
  return s;
@@ -3049,7 +3075,7 @@ var Ni = (
3049
3075
  if (this.bumpSpace(), this.bumpIf("/>"))
3050
3076
  return {
3051
3077
  val: {
3052
- type: H.literal,
3078
+ type: P.literal,
3053
3079
  value: "<".concat(i, "/>"),
3054
3080
  location: w(n, this.clonePosition())
3055
3081
  },
@@ -3061,12 +3087,12 @@ var Ni = (
3061
3087
  return o;
3062
3088
  var s = o.val, a = this.clonePosition();
3063
3089
  if (this.bumpIf("</")) {
3064
- if (this.isEOF() || !vt(this.char()))
3090
+ if (this.isEOF() || !yt(this.char()))
3065
3091
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3066
3092
  var u = this.clonePosition(), l = this.parseTagName();
3067
3093
  return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3068
3094
  val: {
3069
- type: H.tag,
3095
+ type: P.tag,
3070
3096
  value: i,
3071
3097
  children: s,
3072
3098
  location: w(n, this.clonePosition())
@@ -3079,7 +3105,7 @@ var Ni = (
3079
3105
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3080
3106
  }, e.prototype.parseTagName = function() {
3081
3107
  var t = this.offset();
3082
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
3108
+ for (this.bump(); !this.isEOF() && Ci(this.char()); )
3083
3109
  this.bump();
3084
3110
  return this.message.slice(t, this.offset());
3085
3111
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3103,12 +3129,12 @@ var Ni = (
3103
3129
  }
3104
3130
  var u = w(n, this.clonePosition());
3105
3131
  return {
3106
- val: { type: H.literal, value: i, location: u },
3132
+ val: { type: P.literal, value: i, location: u },
3107
3133
  err: null
3108
3134
  };
3109
3135
  }, e.prototype.tryParseLeftAngleBracket = function() {
3110
3136
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3111
- !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3137
+ !Oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3112
3138
  }, e.prototype.tryParseQuote = function(t) {
3113
3139
  if (this.isEOF() || this.char() !== 39)
3114
3140
  return null;
@@ -3142,12 +3168,12 @@ var Ni = (
3142
3168
  r.push(n);
3143
3169
  this.bump();
3144
3170
  }
3145
- return gt.apply(void 0, r);
3171
+ return bt.apply(void 0, r);
3146
3172
  }, e.prototype.tryParseUnquoted = function(t, r) {
3147
3173
  if (this.isEOF())
3148
3174
  return null;
3149
3175
  var n = this.char();
3150
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), gt(n));
3176
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
3151
3177
  }, e.prototype.parseArgument = function(t, r) {
3152
3178
  var n = this.clonePosition();
3153
3179
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3163,7 +3189,7 @@ var Ni = (
3163
3189
  case 125:
3164
3190
  return this.bump(), {
3165
3191
  val: {
3166
- type: H.argument,
3192
+ type: P.argument,
3167
3193
  // value does not include the opening and closing braces.
3168
3194
  value: i,
3169
3195
  location: w(n, this.clonePosition())
@@ -3176,7 +3202,7 @@ var Ni = (
3176
3202
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3177
3203
  }
3178
3204
  }, e.prototype.parseIdentifierIfPossible = function() {
3179
- var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3205
+ var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
3180
3206
  this.bumpTo(i);
3181
3207
  var o = this.clonePosition(), s = w(t, o);
3182
3208
  return { value: n, location: s };
@@ -3195,7 +3221,7 @@ var Ni = (
3195
3221
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3196
3222
  if (c.err)
3197
3223
  return c;
3198
- var f = Li(c.val);
3224
+ var f = Mi(c.val);
3199
3225
  if (f.length === 0)
3200
3226
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3201
3227
  var b = w(h, this.clonePosition());
@@ -3204,37 +3230,37 @@ var Ni = (
3204
3230
  var m = this.tryParseArgumentClose(i);
3205
3231
  if (m.err)
3206
3232
  return m;
3207
- var d = w(i, this.clonePosition());
3208
- if (l && Kt(l == null ? void 0 : l.style, "::", 0)) {
3209
- var v = Ii(l.style.slice(2));
3233
+ var p = w(i, this.clonePosition());
3234
+ if (l && Zt(l == null ? void 0 : l.style, "::", 0)) {
3235
+ var v = Ai(l.style.slice(2));
3210
3236
  if (a === "number") {
3211
3237
  var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
3212
3238
  return c.err ? c : {
3213
- val: { type: H.number, value: n, location: d, style: c.val },
3239
+ val: { type: P.number, value: n, location: p, style: c.val },
3214
3240
  err: null
3215
3241
  };
3216
3242
  } else {
3217
3243
  if (v.length === 0)
3218
- return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3244
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, p);
3219
3245
  var E = v;
3220
- this.locale && (E = _i(v, this.locale));
3246
+ this.locale && (E = mi(v, this.locale));
3221
3247
  var f = {
3222
- type: ce.dateTime,
3248
+ type: fe.dateTime,
3223
3249
  pattern: E,
3224
3250
  location: l.styleLocation,
3225
- parsedOptions: this.shouldParseSkeletons ? pi(E) : {}
3226
- }, _ = a === "date" ? H.date : H.time;
3251
+ parsedOptions: this.shouldParseSkeletons ? ui(E) : {}
3252
+ }, _ = a === "date" ? P.date : P.time;
3227
3253
  return {
3228
- val: { type: _, value: n, location: d, style: f },
3254
+ val: { type: _, value: n, location: p, style: f },
3229
3255
  err: null
3230
3256
  };
3231
3257
  }
3232
3258
  }
3233
3259
  return {
3234
3260
  val: {
3235
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3261
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3236
3262
  value: n,
3237
- location: d,
3263
+ location: p,
3238
3264
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3239
3265
  },
3240
3266
  err: null
@@ -3243,9 +3269,9 @@ var Ni = (
3243
3269
  case "plural":
3244
3270
  case "selectordinal":
3245
3271
  case "select": {
3246
- var p = this.clonePosition();
3272
+ var d = this.clonePosition();
3247
3273
  if (this.bumpSpace(), !this.bumpIf(","))
3248
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(p, Qe({}, p)));
3274
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(d, T({}, d)));
3249
3275
  this.bumpSpace();
3250
3276
  var S = this.parseIdentifierIfPossible(), y = 0;
3251
3277
  if (a !== "select" && S.value === "offset") {
@@ -3257,26 +3283,26 @@ var Ni = (
3257
3283
  return c;
3258
3284
  this.bumpSpace(), S = this.parseIdentifierIfPossible(), y = c.val;
3259
3285
  }
3260
- var M = this.tryParsePluralOrSelectOptions(t, a, r, S);
3261
- if (M.err)
3262
- return M;
3286
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, S);
3287
+ if (B.err)
3288
+ return B;
3263
3289
  var m = this.tryParseArgumentClose(i);
3264
3290
  if (m.err)
3265
3291
  return m;
3266
3292
  var G = w(i, this.clonePosition());
3267
3293
  return a === "select" ? {
3268
3294
  val: {
3269
- type: H.select,
3295
+ type: P.select,
3270
3296
  value: n,
3271
- options: er(M.val),
3297
+ options: Qt(B.val),
3272
3298
  location: G
3273
3299
  },
3274
3300
  err: null
3275
3301
  } : {
3276
3302
  val: {
3277
- type: H.plural,
3303
+ type: P.plural,
3278
3304
  value: n,
3279
- options: er(M.val),
3305
+ options: Qt(B.val),
3280
3306
  offset: y,
3281
3307
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3282
3308
  location: G
@@ -3327,16 +3353,16 @@ var Ni = (
3327
3353
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3328
3354
  var n = [];
3329
3355
  try {
3330
- n = mi(t);
3356
+ n = hi(t);
3331
3357
  } catch (i) {
3332
3358
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3333
3359
  }
3334
3360
  return {
3335
3361
  val: {
3336
- type: ce.number,
3362
+ type: fe.number,
3337
3363
  tokens: n,
3338
3364
  location: r,
3339
- parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
3365
+ parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
3340
3366
  },
3341
3367
  err: null
3342
3368
  };
@@ -3361,9 +3387,9 @@ var Ni = (
3361
3387
  var m = this.parseMessage(t + 1, r, n);
3362
3388
  if (m.err)
3363
3389
  return m;
3364
- var d = this.tryParseArgumentClose(b);
3365
- if (d.err)
3366
- return d;
3390
+ var p = this.tryParseArgumentClose(b);
3391
+ if (p.err)
3392
+ return p;
3367
3393
  a.push([
3368
3394
  l,
3369
3395
  {
@@ -3384,7 +3410,7 @@ var Ni = (
3384
3410
  break;
3385
3411
  }
3386
3412
  var u = w(i, this.clonePosition());
3387
- return o ? (s *= n, Bi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3413
+ return o ? (s *= n, Hi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3388
3414
  }, e.prototype.offset = function() {
3389
3415
  return this.position.offset;
3390
3416
  }, e.prototype.isEOF = function() {
@@ -3399,7 +3425,7 @@ var Ni = (
3399
3425
  var t = this.position.offset;
3400
3426
  if (t >= this.message.length)
3401
3427
  throw Error("out of bound");
3402
- var r = Vr(this.message, t);
3428
+ var r = Ur(this.message, t);
3403
3429
  if (r === void 0)
3404
3430
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3405
3431
  return r;
@@ -3418,7 +3444,7 @@ var Ni = (
3418
3444
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3419
3445
  }
3420
3446
  }, e.prototype.bumpIf = function(t) {
3421
- if (Kt(this.message, t, this.offset())) {
3447
+ if (Zt(this.message, t, this.offset())) {
3422
3448
  for (var r = 0; r < t.length; r++)
3423
3449
  this.bump();
3424
3450
  return !0;
@@ -3440,7 +3466,7 @@ var Ni = (
3440
3466
  break;
3441
3467
  }
3442
3468
  }, e.prototype.bumpSpace = function() {
3443
- for (; !this.isEOF() && Wr(this.char()); )
3469
+ for (; !this.isEOF() && Fr(this.char()); )
3444
3470
  this.bump();
3445
3471
  }, e.prototype.peek = function() {
3446
3472
  if (this.isEOF())
@@ -3450,47 +3476,47 @@ var Ni = (
3450
3476
  }, e;
3451
3477
  }()
3452
3478
  );
3453
- function vt(e) {
3479
+ function yt(e) {
3454
3480
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3455
3481
  }
3456
- function $i(e) {
3457
- return vt(e) || e === 47;
3482
+ function Oi(e) {
3483
+ return yt(e) || e === 47;
3458
3484
  }
3459
- function Ri(e) {
3485
+ function Ci(e) {
3460
3486
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3461
3487
  }
3462
- function Wr(e) {
3488
+ function Fr(e) {
3463
3489
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3464
3490
  }
3465
- function Di(e) {
3491
+ function Ii(e) {
3466
3492
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3467
3493
  }
3468
- function _t(e) {
3494
+ function vt(e) {
3469
3495
  e.forEach(function(t) {
3470
- if (delete t.location, $r(t) || Rr(t))
3496
+ if (delete t.location, Or(t) || Cr(t))
3471
3497
  for (var r in t.options)
3472
- delete t.options[r].location, _t(t.options[r].value);
3498
+ delete t.options[r].location, vt(t.options[r].value);
3473
3499
  else
3474
- Ir(t) && Ur(t.style) || (Lr(t) || Nr(t)) && mt(t.style) ? delete t.style.location : Dr(t) && _t(t.children);
3500
+ Ar(t) && Lr(t.style) || (Mr(t) || Br(t)) && pt(t.style) ? delete t.style.location : Ir(t) && vt(t.children);
3475
3501
  });
3476
3502
  }
3477
- function Ui(e, t) {
3478
- t === void 0 && (t = {}), t = Qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3479
- var r = new Ni(e, t).parse();
3503
+ function Li(e, t) {
3504
+ t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3505
+ var r = new Bi(e, t).parse();
3480
3506
  if (r.err) {
3481
3507
  var n = SyntaxError(x[r.err.kind]);
3482
3508
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3483
3509
  }
3484
- return t != null && t.captureLocation || _t(r.val), r.val;
3510
+ return t != null && t.captureLocation || vt(r.val), r.val;
3485
3511
  }
3486
- var fe;
3512
+ var de;
3487
3513
  (function(e) {
3488
3514
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3489
- })(fe || (fe = {}));
3490
- var tt = (
3515
+ })(de || (de = {}));
3516
+ var Ke = (
3491
3517
  /** @class */
3492
3518
  function(e) {
3493
- et(t, e);
3519
+ z(t, e);
3494
3520
  function t(r, n, i) {
3495
3521
  var o = e.call(this, r) || this;
3496
3522
  return o.code = n, o.originalMessage = i, o;
@@ -3499,48 +3525,48 @@ var tt = (
3499
3525
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3500
3526
  }, t;
3501
3527
  }(Error)
3502
- ), rr = (
3528
+ ), qt = (
3503
3529
  /** @class */
3504
3530
  function(e) {
3505
- et(t, e);
3531
+ z(t, e);
3506
3532
  function t(r, n, i, o) {
3507
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3533
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3508
3534
  }
3509
3535
  return t;
3510
- }(tt)
3511
- ), Gi = (
3536
+ }(Ke)
3537
+ ), Ni = (
3512
3538
  /** @class */
3513
3539
  function(e) {
3514
- et(t, e);
3540
+ z(t, e);
3515
3541
  function t(r, n, i) {
3516
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3542
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3517
3543
  }
3518
3544
  return t;
3519
- }(tt)
3520
- ), Fi = (
3545
+ }(Ke)
3546
+ ), $i = (
3521
3547
  /** @class */
3522
3548
  function(e) {
3523
- et(t, e);
3549
+ z(t, e);
3524
3550
  function t(r, n) {
3525
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3551
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3526
3552
  }
3527
3553
  return t;
3528
- }(tt)
3554
+ }(Ke)
3529
3555
  ), C;
3530
3556
  (function(e) {
3531
3557
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3532
3558
  })(C || (C = {}));
3533
- function ji(e) {
3559
+ function Ri(e) {
3534
3560
  return e.length < 2 ? e : e.reduce(function(t, r) {
3535
3561
  var n = t[t.length - 1];
3536
3562
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3537
3563
  }, []);
3538
3564
  }
3539
- function ki(e) {
3565
+ function Di(e) {
3540
3566
  return typeof e == "function";
3541
3567
  }
3542
3568
  function Fe(e, t, r, n, i, o, s) {
3543
- if (e.length === 1 && Qt(e[0]))
3569
+ if (e.length === 1 && Vt(e[0]))
3544
3570
  return [
3545
3571
  {
3546
3572
  type: C.literal,
@@ -3549,14 +3575,14 @@ function Fe(e, t, r, n, i, o, s) {
3549
3575
  ];
3550
3576
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3551
3577
  var h = l[u];
3552
- if (Qt(h)) {
3578
+ if (Vt(h)) {
3553
3579
  a.push({
3554
3580
  type: C.literal,
3555
3581
  value: h.value
3556
3582
  });
3557
3583
  continue;
3558
3584
  }
3559
- if (ci(h)) {
3585
+ if (si(h)) {
3560
3586
  typeof o == "number" && a.push({
3561
3587
  type: C.literal,
3562
3588
  value: r.getNumberFormat(t).format(o)
@@ -3565,43 +3591,43 @@ function Fe(e, t, r, n, i, o, s) {
3565
3591
  }
3566
3592
  var c = h.value;
3567
3593
  if (!(i && c in i))
3568
- throw new Fi(c, s);
3594
+ throw new $i(c, s);
3569
3595
  var f = i[c];
3570
- if (hi(h)) {
3596
+ if (oi(h)) {
3571
3597
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3572
3598
  type: typeof f == "string" ? C.literal : C.object,
3573
3599
  value: f
3574
3600
  });
3575
3601
  continue;
3576
3602
  }
3577
- if (Lr(h)) {
3578
- var b = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3603
+ if (Mr(h)) {
3604
+ var b = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3579
3605
  a.push({
3580
3606
  type: C.literal,
3581
3607
  value: r.getDateTimeFormat(t, b).format(f)
3582
3608
  });
3583
3609
  continue;
3584
3610
  }
3585
- if (Nr(h)) {
3586
- var b = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3611
+ if (Br(h)) {
3612
+ var b = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3587
3613
  a.push({
3588
3614
  type: C.literal,
3589
3615
  value: r.getDateTimeFormat(t, b).format(f)
3590
3616
  });
3591
3617
  continue;
3592
3618
  }
3593
- if (Ir(h)) {
3594
- var b = typeof h.style == "string" ? n.number[h.style] : Ur(h.style) ? h.style.parsedOptions : void 0;
3619
+ if (Ar(h)) {
3620
+ var b = typeof h.style == "string" ? n.number[h.style] : Lr(h.style) ? h.style.parsedOptions : void 0;
3595
3621
  b && b.scale && (f = f * (b.scale || 1)), a.push({
3596
3622
  type: C.literal,
3597
3623
  value: r.getNumberFormat(t, b).format(f)
3598
3624
  });
3599
3625
  continue;
3600
3626
  }
3601
- if (Dr(h)) {
3602
- var m = h.children, d = h.value, v = i[d];
3603
- if (!ki(v))
3604
- throw new Gi(d, "function", s);
3627
+ if (Ir(h)) {
3628
+ var m = h.children, p = h.value, v = i[p];
3629
+ if (!Di(v))
3630
+ throw new Ni(p, "function", s);
3605
3631
  var E = Fe(m, t, r, n, i, o), _ = v(E.map(function(y) {
3606
3632
  return y.value;
3607
3633
  }));
@@ -3612,42 +3638,42 @@ function Fe(e, t, r, n, i, o, s) {
3612
3638
  };
3613
3639
  }));
3614
3640
  }
3615
- if ($r(h)) {
3616
- var p = h.options[f] || h.options.other;
3617
- if (!p)
3618
- throw new rr(h.value, f, Object.keys(h.options), s);
3619
- a.push.apply(a, Fe(p.value, t, r, n, i));
3641
+ if (Or(h)) {
3642
+ var d = h.options[f] || h.options.other;
3643
+ if (!d)
3644
+ throw new qt(h.value, f, Object.keys(h.options), s);
3645
+ a.push.apply(a, Fe(d.value, t, r, n, i));
3620
3646
  continue;
3621
3647
  }
3622
- if (Rr(h)) {
3623
- var p = h.options["=".concat(f)];
3624
- if (!p) {
3648
+ if (Cr(h)) {
3649
+ var d = h.options["=".concat(f)];
3650
+ if (!d) {
3625
3651
  if (!Intl.PluralRules)
3626
- throw new tt(`Intl.PluralRules is not available in this environment.
3652
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3627
3653
  Try polyfilling it using "@formatjs/intl-pluralrules"
3628
- `, fe.MISSING_INTL_API, s);
3654
+ `, de.MISSING_INTL_API, s);
3629
3655
  var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3630
- p = h.options[S] || h.options.other;
3656
+ d = h.options[S] || h.options.other;
3631
3657
  }
3632
- if (!p)
3633
- throw new rr(h.value, f, Object.keys(h.options), s);
3634
- a.push.apply(a, Fe(p.value, t, r, n, i, f - (h.offset || 0)));
3658
+ if (!d)
3659
+ throw new qt(h.value, f, Object.keys(h.options), s);
3660
+ a.push.apply(a, Fe(d.value, t, r, n, i, f - (h.offset || 0)));
3635
3661
  continue;
3636
3662
  }
3637
3663
  }
3638
- return ji(a);
3664
+ return Ri(a);
3639
3665
  }
3640
- function Vi(e, t) {
3641
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3642
- return r[n] = j(j({}, e[n]), t[n] || {}), r;
3666
+ function Ui(e, t) {
3667
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3668
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3643
3669
  }, {})) : e;
3644
3670
  }
3645
- function Xi(e, t) {
3671
+ function Gi(e, t) {
3646
3672
  return t ? Object.keys(e).reduce(function(r, n) {
3647
- return r[n] = Vi(e[n], t[n]), r;
3648
- }, j({}, e)) : e;
3673
+ return r[n] = Ui(e[n], t[n]), r;
3674
+ }, T({}, e)) : e;
3649
3675
  }
3650
- function ht(e) {
3676
+ function at(e) {
3651
3677
  return {
3652
3678
  create: function() {
3653
3679
  return {
@@ -3661,39 +3687,39 @@ function ht(e) {
3661
3687
  }
3662
3688
  };
3663
3689
  }
3664
- function Wi(e) {
3690
+ function Fi(e) {
3665
3691
  return e === void 0 && (e = {
3666
3692
  number: {},
3667
3693
  dateTime: {},
3668
3694
  pluralRules: {}
3669
3695
  }), {
3670
- getNumberFormat: at(function() {
3696
+ getNumberFormat: it(function() {
3671
3697
  for (var t, r = [], n = 0; n < arguments.length; n++)
3672
3698
  r[n] = arguments[n];
3673
- return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], r, !1)))();
3699
+ return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3674
3700
  }, {
3675
- cache: ht(e.number),
3676
- strategy: ut.variadic
3701
+ cache: at(e.number),
3702
+ strategy: ot.variadic
3677
3703
  }),
3678
- getDateTimeFormat: at(function() {
3704
+ getDateTimeFormat: it(function() {
3679
3705
  for (var t, r = [], n = 0; n < arguments.length; n++)
3680
3706
  r[n] = arguments[n];
3681
- return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], r, !1)))();
3707
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3682
3708
  }, {
3683
- cache: ht(e.dateTime),
3684
- strategy: ut.variadic
3709
+ cache: at(e.dateTime),
3710
+ strategy: ot.variadic
3685
3711
  }),
3686
- getPluralRules: at(function() {
3712
+ getPluralRules: it(function() {
3687
3713
  for (var t, r = [], n = 0; n < arguments.length; n++)
3688
3714
  r[n] = arguments[n];
3689
- return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], r, !1)))();
3715
+ return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3690
3716
  }, {
3691
- cache: ht(e.pluralRules),
3692
- strategy: ut.variadic
3717
+ cache: at(e.pluralRules),
3718
+ strategy: ot.variadic
3693
3719
  })
3694
3720
  };
3695
3721
  }
3696
- var zr = (
3722
+ var jr = (
3697
3723
  /** @class */
3698
3724
  function() {
3699
3725
  function e(t, r, n, i) {
@@ -3725,13 +3751,13 @@ var zr = (
3725
3751
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3726
3752
  var s = i || {};
3727
3753
  s.formatters;
3728
- var a = ri(s, ["formatters"]);
3729
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3754
+ var a = qn(s, ["formatters"]);
3755
+ this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
3730
3756
  } else
3731
3757
  this.ast = t;
3732
3758
  if (!Array.isArray(this.ast))
3733
3759
  throw new TypeError("A message must be provided as a String or AST.");
3734
- this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || Wi(this.formatterCache);
3760
+ this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || Fi(this.formatterCache);
3735
3761
  }
3736
3762
  return Object.defineProperty(e, "defaultLocale", {
3737
3763
  get: function() {
@@ -3744,7 +3770,7 @@ var zr = (
3744
3770
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3745
3771
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3746
3772
  }
3747
- }, e.__parse = Ui, e.formats = {
3773
+ }, e.__parse = Li, e.formats = {
3748
3774
  number: {
3749
3775
  integer: {
3750
3776
  maximumFractionDigits: 0
@@ -3805,7 +3831,7 @@ var zr = (
3805
3831
  }, e;
3806
3832
  }()
3807
3833
  );
3808
- function zi(e, t) {
3834
+ function ji(e, t) {
3809
3835
  if (t == null)
3810
3836
  return;
3811
3837
  if (t in e)
@@ -3826,101 +3852,101 @@ function zi(e, t) {
3826
3852
  n = void 0;
3827
3853
  return n;
3828
3854
  }
3829
- const Z = {}, Zi = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), Zr = (e, t) => {
3855
+ const Z = {}, ki = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), kr = (e, t) => {
3830
3856
  if (t == null)
3831
3857
  return;
3832
3858
  if (t in Z && e in Z[t])
3833
3859
  return Z[t][e];
3834
- const r = Ae(t);
3860
+ const r = Me(t);
3835
3861
  for (let n = 0; n < r.length; n++) {
3836
- const i = r[n], o = Yi(i, e);
3862
+ const i = r[n], o = Xi(i, e);
3837
3863
  if (o)
3838
- return Zi(e, t, o);
3864
+ return ki(e, t, o);
3839
3865
  }
3840
3866
  };
3841
- let Dt;
3842
- const Pe = Ke({});
3843
- function Qi(e) {
3844
- return Dt[e] || null;
3867
+ let It;
3868
+ const Ae = Je({});
3869
+ function Vi(e) {
3870
+ return It[e] || null;
3845
3871
  }
3846
- function Qr(e) {
3847
- return e in Dt;
3872
+ function Vr(e) {
3873
+ return e in It;
3848
3874
  }
3849
- function Yi(e, t) {
3850
- if (!Qr(e))
3875
+ function Xi(e, t) {
3876
+ if (!Vr(e))
3851
3877
  return null;
3852
- const r = Qi(e);
3853
- return zi(r, t);
3878
+ const r = Vi(e);
3879
+ return ji(r, t);
3854
3880
  }
3855
- function qi(e) {
3881
+ function Wi(e) {
3856
3882
  if (e == null)
3857
3883
  return;
3858
- const t = Ae(e);
3884
+ const t = Me(e);
3859
3885
  for (let r = 0; r < t.length; r++) {
3860
3886
  const n = t[r];
3861
- if (Qr(n))
3887
+ if (Vr(n))
3862
3888
  return n;
3863
3889
  }
3864
3890
  }
3865
- function Yr(e, ...t) {
3866
- delete Z[e], Pe.update((r) => (r[e] = ti.all([r[e] || {}, ...t]), r));
3891
+ function Xr(e, ...t) {
3892
+ delete Z[e], Ae.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
3867
3893
  }
3868
- me(
3869
- [Pe],
3894
+ be(
3895
+ [Ae],
3870
3896
  ([e]) => Object.keys(e)
3871
3897
  );
3872
- Pe.subscribe((e) => Dt = e);
3898
+ Ae.subscribe((e) => It = e);
3873
3899
  const je = {};
3874
- function Ji(e, t) {
3900
+ function zi(e, t) {
3875
3901
  je[e].delete(t), je[e].size === 0 && delete je[e];
3876
3902
  }
3877
- function qr(e) {
3903
+ function Wr(e) {
3878
3904
  return je[e];
3879
3905
  }
3880
- function Ki(e) {
3881
- return Ae(e).map((t) => {
3882
- const r = qr(t);
3906
+ function Zi(e) {
3907
+ return Me(e).map((t) => {
3908
+ const r = Wr(t);
3883
3909
  return [t, r ? [...r] : []];
3884
3910
  }).filter(([, t]) => t.length > 0);
3885
3911
  }
3886
- function Ye(e) {
3887
- return e == null ? !1 : Ae(e).some(
3912
+ function Qe(e) {
3913
+ return e == null ? !1 : Me(e).some(
3888
3914
  (t) => {
3889
3915
  var r;
3890
- return (r = qr(t)) == null ? void 0 : r.size;
3916
+ return (r = Wr(t)) == null ? void 0 : r.size;
3891
3917
  }
3892
3918
  );
3893
3919
  }
3894
- function eo(e, t) {
3920
+ function Qi(e, t) {
3895
3921
  return Promise.all(
3896
- t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
3897
- ).then((n) => Yr(e, ...n));
3898
- }
3899
- const _e = {};
3900
- function Jr(e) {
3901
- if (!Ye(e))
3902
- return e in _e ? _e[e] : Promise.resolve();
3903
- const t = Ki(e);
3904
- return _e[e] = Promise.all(
3922
+ t.map((n) => (zi(e, n), n().then((i) => i.default || i)))
3923
+ ).then((n) => Xr(e, ...n));
3924
+ }
3925
+ const xe = {};
3926
+ function zr(e) {
3927
+ if (!Qe(e))
3928
+ return e in xe ? xe[e] : Promise.resolve();
3929
+ const t = Zi(e);
3930
+ return xe[e] = Promise.all(
3905
3931
  t.map(
3906
- ([r, n]) => eo(r, n)
3932
+ ([r, n]) => Qi(r, n)
3907
3933
  )
3908
3934
  ).then(() => {
3909
- if (Ye(e))
3910
- return Jr(e);
3911
- delete _e[e];
3912
- }), _e[e];
3935
+ if (Qe(e))
3936
+ return zr(e);
3937
+ delete xe[e];
3938
+ }), xe[e];
3913
3939
  }
3914
- var nr = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, no = (e, t) => {
3940
+ var Jt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, qi = Object.prototype.propertyIsEnumerable, Ji = (e, t) => {
3915
3941
  var r = {};
3916
3942
  for (var n in e)
3917
- to.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3918
- if (e != null && nr)
3919
- for (var n of nr(e))
3920
- t.indexOf(n) < 0 && ro.call(e, n) && (r[n] = e[n]);
3943
+ Yi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3944
+ if (e != null && Jt)
3945
+ for (var n of Jt(e))
3946
+ t.indexOf(n) < 0 && qi.call(e, n) && (r[n] = e[n]);
3921
3947
  return r;
3922
3948
  };
3923
- const io = {
3949
+ const Ki = {
3924
3950
  number: {
3925
3951
  scientific: { notation: "scientific" },
3926
3952
  engineering: { notation: "engineering" },
@@ -3950,159 +3976,159 @@ const io = {
3950
3976
  }
3951
3977
  }
3952
3978
  };
3953
- function oo({ locale: e, id: t }) {
3979
+ function eo({ locale: e, id: t }) {
3954
3980
  console.warn(
3955
- `[svelte-i18n] The message "${t}" was not found in "${Ae(
3981
+ `[svelte-i18n] The message "${t}" was not found in "${Me(
3956
3982
  e
3957
- ).join('", "')}".${Ye(Q()) ? `
3983
+ ).join('", "')}".${Qe(Q()) ? `
3958
3984
 
3959
3985
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3960
3986
  );
3961
3987
  }
3962
- const so = {
3988
+ const to = {
3963
3989
  fallbackLocale: null,
3964
3990
  loadingDelay: 200,
3965
- formats: io,
3991
+ formats: Ki,
3966
3992
  warnOnMissingMessages: !0,
3967
3993
  handleMissingMessage: void 0,
3968
3994
  ignoreTag: !0
3969
- }, xe = so;
3995
+ }, Ee = to;
3970
3996
  function pe() {
3971
- return xe;
3997
+ return Ee;
3972
3998
  }
3973
- function ao(e) {
3974
- const t = e, { formats: r } = t, n = no(t, ["formats"]);
3999
+ function ro(e) {
4000
+ const t = e, { formats: r } = t, n = Ji(t, ["formats"]);
3975
4001
  let i = e.fallbackLocale;
3976
4002
  if (e.initialLocale)
3977
4003
  try {
3978
- zr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4004
+ jr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3979
4005
  } catch (o) {
3980
4006
  console.warn(
3981
4007
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3982
4008
  );
3983
4009
  }
3984
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = oo : console.warn(
4010
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = eo : console.warn(
3985
4011
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3986
- )), Object.assign(xe, n, { initialLocale: i }), r && ("number" in r && Object.assign(xe.formats.number, r.number), "date" in r && Object.assign(xe.formats.date, r.date), "time" in r && Object.assign(xe.formats.time, r.time)), J.set(i);
4012
+ )), Object.assign(Ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ee.formats.number, r.number), "date" in r && Object.assign(Ee.formats.date, r.date), "time" in r && Object.assign(Ee.formats.time, r.time)), J.set(i);
3987
4013
  }
3988
- const ct = Ke(!1);
3989
- var uo = Object.defineProperty, lo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4014
+ const ut = Je(!1);
4015
+ var no = Object.defineProperty, io = Object.defineProperties, oo = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, so = Object.prototype.hasOwnProperty, ao = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, uo = (e, t) => {
3990
4016
  for (var r in t || (t = {}))
3991
- co.call(t, r) && or(e, r, t[r]);
3992
- if (ir)
3993
- for (var r of ir(t))
3994
- fo.call(t, r) && or(e, r, t[r]);
4017
+ so.call(t, r) && er(e, r, t[r]);
4018
+ if (Kt)
4019
+ for (var r of Kt(t))
4020
+ ao.call(t, r) && er(e, r, t[r]);
3995
4021
  return e;
3996
- }, mo = (e, t) => lo(e, ho(t));
3997
- let xt;
3998
- const qe = Ke(null);
3999
- function sr(e) {
4022
+ }, lo = (e, t) => io(e, oo(t));
4023
+ let _t;
4024
+ const Ye = Je(null);
4025
+ function tr(e) {
4000
4026
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4001
4027
  }
4002
- function Ae(e, t = pe().fallbackLocale) {
4003
- const r = sr(e);
4004
- return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
4028
+ function Me(e, t = pe().fallbackLocale) {
4029
+ const r = tr(e);
4030
+ return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
4005
4031
  }
4006
4032
  function Q() {
4007
- return xt != null ? xt : void 0;
4033
+ return _t != null ? _t : void 0;
4008
4034
  }
4009
- qe.subscribe((e) => {
4010
- xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4035
+ Ye.subscribe((e) => {
4036
+ _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4011
4037
  });
4012
- const bo = (e) => {
4013
- if (e && qi(e) && Ye(e)) {
4038
+ const ho = (e) => {
4039
+ if (e && Wi(e) && Qe(e)) {
4014
4040
  const { loadingDelay: t } = pe();
4015
4041
  let r;
4016
4042
  return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
4017
- () => ct.set(!0),
4043
+ () => ut.set(!0),
4018
4044
  t
4019
- ) : ct.set(!0), Jr(e).then(() => {
4020
- qe.set(e);
4045
+ ) : ut.set(!0), zr(e).then(() => {
4046
+ Ye.set(e);
4021
4047
  }).finally(() => {
4022
- clearTimeout(r), ct.set(!1);
4048
+ clearTimeout(r), ut.set(!1);
4023
4049
  });
4024
4050
  }
4025
- return qe.set(e);
4026
- }, J = mo(po({}, qe), {
4027
- set: bo
4028
- }), rt = (e) => {
4051
+ return Ye.set(e);
4052
+ }, J = lo(uo({}, Ye), {
4053
+ set: ho
4054
+ }), et = (e) => {
4029
4055
  const t = /* @__PURE__ */ Object.create(null);
4030
4056
  return (n) => {
4031
4057
  const i = JSON.stringify(n);
4032
4058
  return i in t ? t[i] : t[i] = e(n);
4033
4059
  };
4034
4060
  };
4035
- var go = Object.defineProperty, Je = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
4061
+ var co = Object.defineProperty, qe = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
4036
4062
  for (var r in t || (t = {}))
4037
- Kr.call(t, r) && ar(e, r, t[r]);
4038
- if (Je)
4039
- for (var r of Je(t))
4040
- en.call(t, r) && ar(e, r, t[r]);
4063
+ Zr.call(t, r) && rr(e, r, t[r]);
4064
+ if (qe)
4065
+ for (var r of qe(t))
4066
+ Qr.call(t, r) && rr(e, r, t[r]);
4041
4067
  return e;
4042
- }, be = (e, t) => {
4068
+ }, ge = (e, t) => {
4043
4069
  var r = {};
4044
4070
  for (var n in e)
4045
- Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4046
- if (e != null && Je)
4047
- for (var n of Je(e))
4048
- t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4071
+ Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4072
+ if (e != null && qe)
4073
+ for (var n of qe(e))
4074
+ t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
4049
4075
  return r;
4050
4076
  };
4051
- const He = (e, t) => {
4077
+ const Pe = (e, t) => {
4052
4078
  const { formats: r } = pe();
4053
4079
  if (e in r && t in r[e])
4054
4080
  return r[e][t];
4055
4081
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4056
- }, yo = rt(
4082
+ }, fo = et(
4057
4083
  (e) => {
4058
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4084
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4059
4085
  if (r == null)
4060
4086
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4061
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4087
+ return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
4062
4088
  }
4063
- ), vo = rt(
4089
+ ), po = et(
4064
4090
  (e) => {
4065
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4091
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4066
4092
  if (r == null)
4067
4093
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4068
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4094
+ return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
4069
4095
  }
4070
- ), _o = rt(
4096
+ ), mo = et(
4071
4097
  (e) => {
4072
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4098
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4073
4099
  if (r == null)
4074
4100
  throw new Error(
4075
4101
  '[svelte-i18n] A "locale" must be set to format time values'
4076
4102
  );
4077
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4103
+ return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
4078
4104
  }
4079
- ), xo = (e = {}) => {
4105
+ ), bo = (e = {}) => {
4080
4106
  var t = e, {
4081
4107
  locale: r = Q()
4082
- } = t, n = be(t, [
4108
+ } = t, n = ge(t, [
4083
4109
  "locale"
4084
4110
  ]);
4085
- return yo(Ut({ locale: r }, n));
4086
- }, Eo = (e = {}) => {
4111
+ return fo(Lt({ locale: r }, n));
4112
+ }, go = (e = {}) => {
4087
4113
  var t = e, {
4088
4114
  locale: r = Q()
4089
- } = t, n = be(t, [
4115
+ } = t, n = ge(t, [
4090
4116
  "locale"
4091
4117
  ]);
4092
- return vo(Ut({ locale: r }, n));
4093
- }, wo = (e = {}) => {
4118
+ return po(Lt({ locale: r }, n));
4119
+ }, yo = (e = {}) => {
4094
4120
  var t = e, {
4095
4121
  locale: r = Q()
4096
- } = t, n = be(t, [
4122
+ } = t, n = ge(t, [
4097
4123
  "locale"
4098
4124
  ]);
4099
- return _o(Ut({ locale: r }, n));
4100
- }, So = rt(
4125
+ return mo(Lt({ locale: r }, n));
4126
+ }, vo = et(
4101
4127
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4102
- (e, t = Q()) => new zr(e, t, pe().formats, {
4128
+ (e, t = Q()) => new jr(e, t, pe().formats, {
4103
4129
  ignoreTag: pe().ignoreTag
4104
4130
  })
4105
- ), To = (e, t = {}) => {
4131
+ ), _o = (e, t = {}) => {
4106
4132
  var r, n, i, o;
4107
4133
  let s = t;
4108
4134
  typeof e == "object" && (s = e, e = s.id);
@@ -4115,7 +4141,7 @@ const He = (e, t) => {
4115
4141
  throw new Error(
4116
4142
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4117
4143
  );
4118
- let h = Zr(e, u);
4144
+ let h = kr(e, u);
4119
4145
  if (!h)
4120
4146
  h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4121
4147
  else if (typeof h != "string")
@@ -4126,7 +4152,7 @@ const He = (e, t) => {
4126
4152
  return h;
4127
4153
  let c = h;
4128
4154
  try {
4129
- c = So(h, u).format(a);
4155
+ c = vo(h, u).format(a);
4130
4156
  } catch (f) {
4131
4157
  f instanceof Error && console.warn(
4132
4158
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4134,90 +4160,21 @@ const He = (e, t) => {
4134
4160
  );
4135
4161
  }
4136
4162
  return c;
4137
- }, Ho = (e, t) => wo(t).format(e), Po = (e, t) => Eo(t).format(e), Ao = (e, t) => xo(t).format(e), Oo = (e, t = Q()) => Zr(e, t), Mo = me([J, Pe], () => To);
4138
- me([J], () => Ho);
4139
- me([J], () => Po);
4140
- me([J], () => Ao);
4141
- me([J, Pe], () => Oo);
4142
- /*! *****************************************************************************
4143
- Copyright (c) Microsoft Corporation.
4144
-
4145
- Permission to use, copy, modify, and/or distribute this software for any
4146
- purpose with or without fee is hereby granted.
4147
-
4148
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4149
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4150
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4151
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4152
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4153
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4154
- PERFORMANCE OF THIS SOFTWARE.
4155
- ***************************************************************************** */
4156
- var Et = function(e, t) {
4157
- return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4158
- r.__proto__ = n;
4159
- } || function(r, n) {
4160
- for (var i in n)
4161
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4162
- }, Et(e, t);
4163
- };
4164
- function Oe(e, t) {
4165
- if (typeof t != "function" && t !== null)
4166
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4167
- Et(e, t);
4168
- function r() {
4169
- this.constructor = e;
4170
- }
4171
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4172
- }
4173
- function wt(e) {
4174
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
4175
- if (r)
4176
- return r.call(e);
4177
- if (e && typeof e.length == "number")
4178
- return {
4179
- next: function() {
4180
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
4181
- }
4182
- };
4183
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4184
- }
4185
- function St(e, t) {
4186
- var r = typeof Symbol == "function" && e[Symbol.iterator];
4187
- if (!r)
4188
- return e;
4189
- var n = r.call(e), i, o = [], s;
4190
- try {
4191
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
4192
- o.push(i.value);
4193
- } catch (a) {
4194
- s = { error: a };
4195
- } finally {
4196
- try {
4197
- i && !i.done && (r = n.return) && r.call(n);
4198
- } finally {
4199
- if (s)
4200
- throw s.error;
4201
- }
4202
- }
4203
- return o;
4204
- }
4205
- function Tt(e, t, r) {
4206
- if (arguments.length === 2)
4207
- for (var n = 0, i = t.length, o; n < i; n++)
4208
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4209
- return e.concat(o || t);
4210
- }
4211
- function W(e) {
4163
+ }, xo = (e, t) => yo(t).format(e), Eo = (e, t) => go(t).format(e), wo = (e, t) => bo(t).format(e), So = (e, t = Q()) => kr(e, t), To = be([J, Ae], () => _o);
4164
+ be([J], () => xo);
4165
+ be([J], () => Eo);
4166
+ be([J], () => wo);
4167
+ be([J, Ae], () => So);
4168
+ function X(e) {
4212
4169
  return typeof e == "function";
4213
4170
  }
4214
- function tn(e) {
4171
+ function Yr(e) {
4215
4172
  var t = function(n) {
4216
4173
  Error.call(n), n.stack = new Error().stack;
4217
4174
  }, r = e(t);
4218
4175
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4219
4176
  }
4220
- var ft = tn(function(e) {
4177
+ var lt = Yr(function(e) {
4221
4178
  return function(r) {
4222
4179
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4223
4180
  ` + r.map(function(n, i) {
@@ -4226,13 +4183,13 @@ var ft = tn(function(e) {
4226
4183
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4227
4184
  };
4228
4185
  });
4229
- function Ht(e, t) {
4186
+ function xt(e, t) {
4230
4187
  if (e) {
4231
4188
  var r = e.indexOf(t);
4232
4189
  0 <= r && e.splice(r, 1);
4233
4190
  }
4234
4191
  }
4235
- var nt = function() {
4192
+ var tt = function() {
4236
4193
  function e(t) {
4237
4194
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4238
4195
  }
@@ -4244,12 +4201,12 @@ var nt = function() {
4244
4201
  if (s)
4245
4202
  if (this._parentage = null, Array.isArray(s))
4246
4203
  try {
4247
- for (var a = wt(s), u = a.next(); !u.done; u = a.next()) {
4204
+ for (var a = ft(s), u = a.next(); !u.done; u = a.next()) {
4248
4205
  var l = u.value;
4249
4206
  l.remove(this);
4250
4207
  }
4251
- } catch (d) {
4252
- t = { error: d };
4208
+ } catch (p) {
4209
+ t = { error: p };
4253
4210
  } finally {
4254
4211
  try {
4255
4212
  u && !u.done && (r = a.return) && r.call(a);
@@ -4261,26 +4218,26 @@ var nt = function() {
4261
4218
  else
4262
4219
  s.remove(this);
4263
4220
  var h = this.initialTeardown;
4264
- if (W(h))
4221
+ if (X(h))
4265
4222
  try {
4266
4223
  h();
4267
- } catch (d) {
4268
- o = d instanceof ft ? d.errors : [d];
4224
+ } catch (p) {
4225
+ o = p instanceof lt ? p.errors : [p];
4269
4226
  }
4270
4227
  var c = this._finalizers;
4271
4228
  if (c) {
4272
4229
  this._finalizers = null;
4273
4230
  try {
4274
- for (var f = wt(c), b = f.next(); !b.done; b = f.next()) {
4231
+ for (var f = ft(c), b = f.next(); !b.done; b = f.next()) {
4275
4232
  var m = b.value;
4276
4233
  try {
4277
- ur(m);
4278
- } catch (d) {
4279
- o = o != null ? o : [], d instanceof ft ? o = Tt(Tt([], St(o)), St(d.errors)) : o.push(d);
4234
+ nr(m);
4235
+ } catch (p) {
4236
+ o = o != null ? o : [], p instanceof lt ? o = le(le([], dt(o)), dt(p.errors)) : o.push(p);
4280
4237
  }
4281
4238
  }
4282
- } catch (d) {
4283
- n = { error: d };
4239
+ } catch (p) {
4240
+ n = { error: p };
4284
4241
  } finally {
4285
4242
  try {
4286
4243
  b && !b.done && (i = f.return) && i.call(f);
@@ -4291,13 +4248,13 @@ var nt = function() {
4291
4248
  }
4292
4249
  }
4293
4250
  if (o)
4294
- throw new ft(o);
4251
+ throw new lt(o);
4295
4252
  }
4296
4253
  }, e.prototype.add = function(t) {
4297
4254
  var r;
4298
4255
  if (t && t !== this)
4299
4256
  if (this.closed)
4300
- ur(t);
4257
+ nr(t);
4301
4258
  else {
4302
4259
  if (t instanceof e) {
4303
4260
  if (t.closed || t._hasParent(this))
@@ -4314,52 +4271,52 @@ var nt = function() {
4314
4271
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4315
4272
  }, e.prototype._removeParent = function(t) {
4316
4273
  var r = this._parentage;
4317
- r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
4274
+ r === t ? this._parentage = null : Array.isArray(r) && xt(r, t);
4318
4275
  }, e.prototype.remove = function(t) {
4319
4276
  var r = this._finalizers;
4320
- r && Ht(r, t), t instanceof e && t._removeParent(this);
4277
+ r && xt(r, t), t instanceof e && t._removeParent(this);
4321
4278
  }, e.EMPTY = function() {
4322
4279
  var t = new e();
4323
4280
  return t.closed = !0, t;
4324
4281
  }(), e;
4325
- }(), rn = nt.EMPTY;
4326
- function nn(e) {
4327
- return e instanceof nt || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
4282
+ }(), qr = tt.EMPTY;
4283
+ function Jr(e) {
4284
+ return e instanceof tt || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
4328
4285
  }
4329
- function ur(e) {
4330
- W(e) ? e() : e.unsubscribe();
4286
+ function nr(e) {
4287
+ X(e) ? e() : e.unsubscribe();
4331
4288
  }
4332
- var Bo = {
4289
+ var Ho = {
4333
4290
  Promise: void 0
4334
- }, Co = {
4291
+ }, Po = {
4335
4292
  setTimeout: function(e, t) {
4336
4293
  for (var r = [], n = 2; n < arguments.length; n++)
4337
4294
  r[n - 2] = arguments[n];
4338
- return setTimeout.apply(void 0, Tt([e, t], St(r)));
4295
+ return setTimeout.apply(void 0, le([e, t], dt(r)));
4339
4296
  },
4340
4297
  clearTimeout: function(e) {
4341
4298
  return clearTimeout(e);
4342
4299
  },
4343
4300
  delegate: void 0
4344
4301
  };
4345
- function Io(e) {
4346
- Co.setTimeout(function() {
4302
+ function Ao(e) {
4303
+ Po.setTimeout(function() {
4347
4304
  throw e;
4348
4305
  });
4349
4306
  }
4350
- function lr() {
4307
+ function ir() {
4351
4308
  }
4352
4309
  function ke(e) {
4353
4310
  e();
4354
4311
  }
4355
- var on = function(e) {
4356
- Oe(t, e);
4312
+ var Kr = function(e) {
4313
+ z(t, e);
4357
4314
  function t(r) {
4358
4315
  var n = e.call(this) || this;
4359
- return n.isStopped = !1, r ? (n.destination = r, nn(r) && r.add(n)) : n.destination = $o, n;
4316
+ return n.isStopped = !1, r ? (n.destination = r, Jr(r) && r.add(n)) : n.destination = Oo, n;
4360
4317
  }
4361
4318
  return t.create = function(r, n, i) {
4362
- return new Pt(r, n, i);
4319
+ return new Et(r, n, i);
4363
4320
  }, t.prototype.next = function(r) {
4364
4321
  this.isStopped || this._next(r);
4365
4322
  }, t.prototype.error = function(r) {
@@ -4383,7 +4340,7 @@ var on = function(e) {
4383
4340
  this.unsubscribe();
4384
4341
  }
4385
4342
  }, t;
4386
- }(nt), Lo = function() {
4343
+ }(tt), Mo = function() {
4387
4344
  function e(t) {
4388
4345
  this.partialObserver = t;
4389
4346
  }
@@ -4414,43 +4371,43 @@ var on = function(e) {
4414
4371
  Re(r);
4415
4372
  }
4416
4373
  }, e;
4417
- }(), Pt = function(e) {
4418
- Oe(t, e);
4374
+ }(), Et = function(e) {
4375
+ z(t, e);
4419
4376
  function t(r, n, i) {
4420
4377
  var o = e.call(this) || this, s;
4421
- return W(r) || !r ? s = {
4378
+ return X(r) || !r ? s = {
4422
4379
  next: r != null ? r : void 0,
4423
4380
  error: n != null ? n : void 0,
4424
4381
  complete: i != null ? i : void 0
4425
- } : s = r, o.destination = new Lo(s), o;
4382
+ } : s = r, o.destination = new Mo(s), o;
4426
4383
  }
4427
4384
  return t;
4428
- }(on);
4385
+ }(Kr);
4429
4386
  function Re(e) {
4430
- Io(e);
4387
+ Ao(e);
4431
4388
  }
4432
- function No(e) {
4389
+ function Bo(e) {
4433
4390
  throw e;
4434
4391
  }
4435
- var $o = {
4392
+ var Oo = {
4436
4393
  closed: !0,
4437
- next: lr,
4438
- error: No,
4439
- complete: lr
4440
- }, Ro = function() {
4394
+ next: ir,
4395
+ error: Bo,
4396
+ complete: ir
4397
+ }, Co = function() {
4441
4398
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4442
4399
  }();
4443
- function Do(e) {
4400
+ function Io(e) {
4444
4401
  return e;
4445
4402
  }
4446
- function Uo(e) {
4447
- return e.length === 0 ? Do : e.length === 1 ? e[0] : function(r) {
4403
+ function Lo(e) {
4404
+ return e.length === 0 ? Io : e.length === 1 ? e[0] : function(r) {
4448
4405
  return e.reduce(function(n, i) {
4449
4406
  return i(n);
4450
4407
  }, r);
4451
4408
  };
4452
4409
  }
4453
- var hr = function() {
4410
+ var or = function() {
4454
4411
  function e(t) {
4455
4412
  t && (this._subscribe = t);
4456
4413
  }
@@ -4458,7 +4415,7 @@ var hr = function() {
4458
4415
  var r = new e();
4459
4416
  return r.source = this, r.operator = t, r;
4460
4417
  }, e.prototype.subscribe = function(t, r, n) {
4461
- var i = this, o = Fo(t) ? t : new Pt(t, r, n);
4418
+ var i = this, o = $o(t) ? t : new Et(t, r, n);
4462
4419
  return ke(function() {
4463
4420
  var s = i, a = s.operator, u = s.source;
4464
4421
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -4471,8 +4428,8 @@ var hr = function() {
4471
4428
  }
4472
4429
  }, e.prototype.forEach = function(t, r) {
4473
4430
  var n = this;
4474
- return r = cr(r), new r(function(i, o) {
4475
- var s = new Pt({
4431
+ return r = sr(r), new r(function(i, o) {
4432
+ var s = new Et({
4476
4433
  next: function(a) {
4477
4434
  try {
4478
4435
  t(a);
@@ -4488,15 +4445,15 @@ var hr = function() {
4488
4445
  }, e.prototype._subscribe = function(t) {
4489
4446
  var r;
4490
4447
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4491
- }, e.prototype[Ro] = function() {
4448
+ }, e.prototype[Co] = function() {
4492
4449
  return this;
4493
4450
  }, e.prototype.pipe = function() {
4494
4451
  for (var t = [], r = 0; r < arguments.length; r++)
4495
4452
  t[r] = arguments[r];
4496
- return Uo(t)(this);
4453
+ return Lo(t)(this);
4497
4454
  }, e.prototype.toPromise = function(t) {
4498
4455
  var r = this;
4499
- return t = cr(t), new t(function(n, i) {
4456
+ return t = sr(t), new t(function(n, i) {
4500
4457
  var o;
4501
4458
  r.subscribe(function(s) {
4502
4459
  return o = s;
@@ -4510,32 +4467,32 @@ var hr = function() {
4510
4467
  return new e(t);
4511
4468
  }, e;
4512
4469
  }();
4513
- function cr(e) {
4470
+ function sr(e) {
4514
4471
  var t;
4515
- return (t = e != null ? e : Bo.Promise) !== null && t !== void 0 ? t : Promise;
4472
+ return (t = e != null ? e : Ho.Promise) !== null && t !== void 0 ? t : Promise;
4516
4473
  }
4517
- function Go(e) {
4518
- return e && W(e.next) && W(e.error) && W(e.complete);
4474
+ function No(e) {
4475
+ return e && X(e.next) && X(e.error) && X(e.complete);
4519
4476
  }
4520
- function Fo(e) {
4521
- return e && e instanceof on || Go(e) && nn(e);
4477
+ function $o(e) {
4478
+ return e && e instanceof Kr || No(e) && Jr(e);
4522
4479
  }
4523
- var jo = tn(function(e) {
4480
+ var Ro = Yr(function(e) {
4524
4481
  return function() {
4525
4482
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4526
4483
  };
4527
- }), sn = function(e) {
4528
- Oe(t, e);
4484
+ }), en = function(e) {
4485
+ z(t, e);
4529
4486
  function t() {
4530
4487
  var r = e.call(this) || this;
4531
4488
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4532
4489
  }
4533
4490
  return t.prototype.lift = function(r) {
4534
- var n = new fr(this, this);
4491
+ var n = new ar(this, this);
4535
4492
  return n.operator = r, n;
4536
4493
  }, t.prototype._throwIfClosed = function() {
4537
4494
  if (this.closed)
4538
- throw new jo();
4495
+ throw new Ro();
4539
4496
  }, t.prototype.next = function(r) {
4540
4497
  var n = this;
4541
4498
  ke(function() {
@@ -4543,7 +4500,7 @@ var jo = tn(function(e) {
4543
4500
  if (n._throwIfClosed(), !n.isStopped) {
4544
4501
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4545
4502
  try {
4546
- for (var s = wt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4503
+ for (var s = ft(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4547
4504
  var u = a.value;
4548
4505
  u.next(r);
4549
4506
  }
@@ -4592,20 +4549,20 @@ var jo = tn(function(e) {
4592
4549
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4593
4550
  }, t.prototype._innerSubscribe = function(r) {
4594
4551
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4595
- return o || s ? rn : (this.currentObservers = null, a.push(r), new nt(function() {
4596
- n.currentObservers = null, Ht(a, r);
4552
+ return o || s ? qr : (this.currentObservers = null, a.push(r), new tt(function() {
4553
+ n.currentObservers = null, xt(a, r);
4597
4554
  }));
4598
4555
  }, t.prototype._checkFinalizedStatuses = function(r) {
4599
4556
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4600
4557
  i ? r.error(o) : s && r.complete();
4601
4558
  }, t.prototype.asObservable = function() {
4602
- var r = new hr();
4559
+ var r = new or();
4603
4560
  return r.source = this, r;
4604
4561
  }, t.create = function(r, n) {
4605
- return new fr(r, n);
4562
+ return new ar(r, n);
4606
4563
  }, t;
4607
- }(hr), fr = function(e) {
4608
- Oe(t, e);
4564
+ }(or), ar = function(e) {
4565
+ z(t, e);
4609
4566
  function t(r, n) {
4610
4567
  var i = e.call(this) || this;
4611
4568
  return i.destination = r, i.source = n, i;
@@ -4621,17 +4578,17 @@ var jo = tn(function(e) {
4621
4578
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4622
4579
  }, t.prototype._subscribe = function(r) {
4623
4580
  var n, i;
4624
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rn;
4581
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qr;
4625
4582
  }, t;
4626
- }(sn), an = {
4583
+ }(en), tn = {
4627
4584
  now: function() {
4628
- return (an.delegate || Date).now();
4585
+ return (tn.delegate || Date).now();
4629
4586
  },
4630
4587
  delegate: void 0
4631
- }, ko = function(e) {
4632
- Oe(t, e);
4588
+ }, Do = function(e) {
4589
+ z(t, e);
4633
4590
  function t(r, n, i) {
4634
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = an);
4591
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tn);
4635
4592
  var o = e.call(this) || this;
4636
4593
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4637
4594
  }
@@ -4651,32 +4608,32 @@ var jo = tn(function(e) {
4651
4608
  l && o.splice(0, l + 1);
4652
4609
  }
4653
4610
  }, t;
4654
- }(sn);
4655
- const pr = [], dr = {}, Vo = (e, t = 0) => {
4656
- if (pr.indexOf(e) == -1) {
4657
- const r = new ko(t);
4658
- dr[e] = r, pr.push(e);
4611
+ }(en);
4612
+ const ur = [], lr = {}, Uo = (e, t = 0) => {
4613
+ if (ur.indexOf(e) == -1) {
4614
+ const r = new Do(t);
4615
+ lr[e] = r, ur.push(e);
4659
4616
  }
4660
- return dr[e];
4617
+ return lr[e];
4661
4618
  };
4662
- let At = "en-UK", Ot = "true", Ee = 2, Mt = "";
4663
- const Xo = (e, t, r, n) => {
4664
- At = e || "en-UK", Ot = t || "true", Ee = +n || 2, Mt = r || "";
4619
+ let wt = "en-UK", St = "true", we = 2, Tt = "";
4620
+ const Go = (e, t, r, n) => {
4621
+ wt = e || "en-UK", St = t || "true", we = +n || 2, Tt = r || "";
4665
4622
  }, De = (e, t) => {
4666
- if (!Mt)
4667
- return new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Ot === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).format(e);
4668
- const n = new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Ot === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).formatToParts(e), i = n.find((u) => u.type === "currency"), s = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4669
- return Mt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4623
+ if (!Tt)
4624
+ return new Intl.NumberFormat(wt, { style: "currency", currency: t, currencyDisplay: St === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).format(e);
4625
+ const n = new Intl.NumberFormat(wt, { style: "currency", currency: t, currencyDisplay: St === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).formatToParts(e), i = n.find((u) => u.type === "currency"), s = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4626
+ return Tt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4670
4627
  };
4671
- window.emWidgets = { topic: Vo };
4672
- const Hs = (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));
4673
- function Wo(e, t) {
4628
+ window.emWidgets = { topic: Uo };
4629
+ const xs = (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));
4630
+ function Fo(e, t) {
4674
4631
  if (e) {
4675
4632
  const r = document.createElement("style");
4676
4633
  r.innerHTML = t, e.appendChild(r);
4677
4634
  }
4678
4635
  }
4679
- function zo(e, t) {
4636
+ function jo(e, t) {
4680
4637
  const r = new URL(t);
4681
4638
  fetch(r.href).then((n) => n.text()).then((n) => {
4682
4639
  const i = document.createElement("style");
@@ -4685,7 +4642,7 @@ function zo(e, t) {
4685
4642
  console.error("There was an error while trying to load client styling from URL", n);
4686
4643
  });
4687
4644
  }
4688
- function Zo(e, t, r) {
4645
+ function ko(e, t, r) {
4689
4646
  if (window.emMessageBus) {
4690
4647
  const n = document.createElement("style");
4691
4648
  window.emMessageBus.subscribe(t, (i) => {
@@ -4693,15 +4650,15 @@ function Zo(e, t, r) {
4693
4650
  });
4694
4651
  }
4695
4652
  }
4696
- function mr(e, t) {
4697
- Yr(e, t);
4653
+ function hr(e, t) {
4654
+ Xr(e, t);
4698
4655
  }
4699
- function Qo(e) {
4700
- ao({
4656
+ function Vo(e) {
4657
+ ro({
4701
4658
  fallbackLocale: "en"
4702
4659
  }), J.set(e);
4703
4660
  }
4704
- const br = {
4661
+ const cr = {
4705
4662
  en: {
4706
4663
  generalMin: "Min",
4707
4664
  generalMax: "Max",
@@ -4733,73 +4690,73 @@ const br = {
4733
4690
  generalMax: "Max"
4734
4691
  }
4735
4692
  };
4736
- function Yo(e) {
4737
- gn(e, "svelte-19lknjo", '*,*::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}.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}.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)}');
4693
+ function Xo(e) {
4694
+ fn(e, "svelte-19lknjo", '*,*::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}.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}.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)}');
4738
4695
  }
4739
- function gr(e, t, r) {
4696
+ function fr(e, t, r) {
4740
4697
  const n = e.slice();
4741
4698
  return n[32] = t[r], n[34] = r, n;
4742
4699
  }
4743
- function yr(e, t, r) {
4700
+ function dr(e, t, r) {
4744
4701
  const n = e.slice();
4745
4702
  return n[35] = t[r], n[34] = r, n;
4746
4703
  }
4747
- function qo(e) {
4704
+ function Wo(e) {
4748
4705
  let t, r = (
4749
4706
  /*$_*/
4750
4707
  e[4]("noPaymentMethods") + ""
4751
4708
  ), n;
4752
4709
  return {
4753
4710
  c() {
4754
- t = P("p"), n = R(r);
4711
+ t = A("p"), n = R(r);
4755
4712
  },
4756
4713
  m(i, o) {
4757
- F(i, t, o), T(t, n);
4714
+ F(i, t, o), H(t, n);
4758
4715
  },
4759
4716
  p(i, o) {
4760
4717
  o[0] & /*$_*/
4761
4718
  16 && r !== (r = /*$_*/
4762
- i[4]("noPaymentMethods") + "") && X(n, r);
4719
+ i[4]("noPaymentMethods") + "") && V(n, r);
4763
4720
  },
4764
4721
  d(i) {
4765
4722
  i && L(t);
4766
4723
  }
4767
4724
  };
4768
4725
  }
4769
- function Jo(e) {
4726
+ function zo(e) {
4770
4727
  let t, r, n = (
4771
4728
  /*$_*/
4772
4729
  e[4]("carouselTitle") + ""
4773
4730
  ), i, o, s, a = (
4774
4731
  /*$_*/
4775
4732
  e[4]("carouselSubtitle") + ""
4776
- ), u, l, h, c, f, b, m, d = Ne(
4733
+ ), u, l, h, c, f, b, m, p = Ne(
4777
4734
  /*promotedPaymentMethods*/
4778
4735
  e[2]
4779
4736
  ), v = [];
4780
- for (let p = 0; p < d.length; p += 1)
4781
- v[p] = vr(yr(e, d, p));
4737
+ for (let d = 0; d < p.length; d += 1)
4738
+ v[d] = pr(dr(e, p, d));
4782
4739
  let E = Ne(Array(
4783
4740
  /*promotedPaymentMethods*/
4784
4741
  e[2].length
4785
4742
  )), _ = [];
4786
- for (let p = 0; p < E.length; p += 1)
4787
- _[p] = _r(gr(e, E, p));
4743
+ for (let d = 0; d < E.length; d += 1)
4744
+ _[d] = mr(fr(e, E, d));
4788
4745
  return {
4789
4746
  c() {
4790
- t = P("div"), r = P("h4"), i = R(n), o = V(), s = P("p"), u = R(a), l = V(), h = P("div");
4791
- for (let p = 0; p < v.length; p += 1)
4792
- v[p].c();
4793
- c = V(), f = P("div");
4794
- for (let p = 0; p < _.length; p += 1)
4795
- _[p].c();
4796
- O(t, "class", "CarouselHeader"), O(h, "class", "Carousel"), O(f, "class", "VisualDotIndicator");
4747
+ t = A("div"), r = A("h4"), i = R(n), o = k(), s = A("p"), u = R(a), l = k(), h = A("div");
4748
+ for (let d = 0; d < v.length; d += 1)
4749
+ v[d].c();
4750
+ c = k(), f = A("div");
4751
+ for (let d = 0; d < _.length; d += 1)
4752
+ _[d].c();
4753
+ M(t, "class", "CarouselHeader"), M(h, "class", "Carousel"), M(f, "class", "VisualDotIndicator");
4797
4754
  },
4798
- m(p, S) {
4799
- F(p, t, S), T(t, r), T(r, i), T(t, o), T(t, s), T(s, u), F(p, l, S), F(p, h, S);
4755
+ m(d, S) {
4756
+ F(d, t, S), H(t, r), H(r, i), H(t, o), H(t, s), H(s, u), F(d, l, S), F(d, h, S);
4800
4757
  for (let y = 0; y < v.length; y += 1)
4801
4758
  v[y] && v[y].m(h, null);
4802
- e[19](h), F(p, c, S), F(p, f, S);
4759
+ e[19](h), F(d, c, S), F(d, f, S);
4803
4760
  for (let y = 0; y < _.length; y += 1)
4804
4761
  _[y] && _[y].m(f, null);
4805
4762
  b || (m = [
@@ -4823,73 +4780,73 @@ function Jo(e) {
4823
4780
  )
4824
4781
  ], b = !0);
4825
4782
  },
4826
- p(p, S) {
4783
+ p(d, S) {
4827
4784
  if (S[0] & /*$_*/
4828
4785
  16 && n !== (n = /*$_*/
4829
- p[4]("carouselTitle") + "") && X(i, n), S[0] & /*$_*/
4786
+ d[4]("carouselTitle") + "") && V(i, n), S[0] & /*$_*/
4830
4787
  16 && a !== (a = /*$_*/
4831
- p[4]("carouselSubtitle") + "") && X(u, a), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4788
+ d[4]("carouselSubtitle") + "") && V(u, a), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4832
4789
  60) {
4833
- d = Ne(
4790
+ p = Ne(
4834
4791
  /*promotedPaymentMethods*/
4835
- p[2]
4792
+ d[2]
4836
4793
  );
4837
4794
  let y;
4838
- for (y = 0; y < d.length; y += 1) {
4839
- const M = yr(p, d, y);
4840
- v[y] ? v[y].p(M, S) : (v[y] = vr(M), v[y].c(), v[y].m(h, null));
4795
+ for (y = 0; y < p.length; y += 1) {
4796
+ const B = dr(d, p, y);
4797
+ v[y] ? v[y].p(B, S) : (v[y] = pr(B), v[y].c(), v[y].m(h, null));
4841
4798
  }
4842
4799
  for (; y < v.length; y += 1)
4843
4800
  v[y].d(1);
4844
- v.length = d.length;
4801
+ v.length = p.length;
4845
4802
  }
4846
4803
  if (S[0] & /*activeIndex, promotedPaymentMethods*/
4847
4804
  12) {
4848
4805
  E = Ne(Array(
4849
4806
  /*promotedPaymentMethods*/
4850
- p[2].length
4807
+ d[2].length
4851
4808
  ));
4852
4809
  let y;
4853
4810
  for (y = 0; y < E.length; y += 1) {
4854
- const M = gr(p, E, y);
4855
- _[y] ? _[y].p(M, S) : (_[y] = _r(M), _[y].c(), _[y].m(f, null));
4811
+ const B = fr(d, E, y);
4812
+ _[y] ? _[y].p(B, S) : (_[y] = mr(B), _[y].c(), _[y].m(f, null));
4856
4813
  }
4857
4814
  for (; y < _.length; y += 1)
4858
4815
  _[y].d(1);
4859
4816
  _.length = E.length;
4860
4817
  }
4861
4818
  },
4862
- d(p) {
4863
- p && (L(t), L(l), L(h), L(c), L(f)), Wt(v, p), e[19](null), Wt(_, p), b = !1, z(m);
4819
+ d(d) {
4820
+ d && (L(t), L(l), L(h), L(c), L(f)), Ft(v, d), e[19](null), Ft(_, d), b = !1, W(m);
4864
4821
  }
4865
4822
  };
4866
4823
  }
4867
- function vr(e) {
4824
+ function pr(e) {
4868
4825
  let t, r, n, i, o, s, a, u, l, h = (
4869
4826
  /*method*/
4870
4827
  (e[35].Label || /*method*/
4871
4828
  e[35].Name) + ""
4872
- ), c, f, b, m, d = (
4829
+ ), c, f, b, m, p = (
4873
4830
  /*$_*/
4874
4831
  e[4](`${/*method*/
4875
4832
  e[35].ProcessingTime}`) + ""
4876
- ), v, E, _, p, S = (
4833
+ ), v, E, _, d, S = (
4877
4834
  /*$_*/
4878
4835
  e[4]("generalMin") + ""
4879
- ), y, M, G = De(
4836
+ ), y, B, G = De(
4880
4837
  /*method*/
4881
4838
  e[35].DisplayCurrency.MinAmountLimit,
4882
4839
  /*method*/
4883
4840
  e[35].DisplayCurrency.Name
4884
- ) + "", Y, Me, K = (
4841
+ ) + "", Y, Be, K = (
4885
4842
  /*$_*/
4886
4843
  e[4]("generalMax") + ""
4887
- ), ge, Be, ee = De(
4844
+ ), ye, Oe, ee = De(
4888
4845
  /*method*/
4889
4846
  e[35].DisplayCurrency.MaxAmountLimit,
4890
4847
  /*method*/
4891
4848
  e[35].DisplayCurrency.Name
4892
- ) + "", ye, Ce, g, B, D;
4849
+ ) + "", ve, Ce, g, O, D;
4893
4850
  function te() {
4894
4851
  return (
4895
4852
  /*click_handler*/
@@ -4901,57 +4858,57 @@ function vr(e) {
4901
4858
  }
4902
4859
  return {
4903
4860
  c() {
4904
- t = P("div"), r = P("div"), n = P("img"), s = V(), a = P("div"), u = P("div"), l = P("span"), c = R(h), f = V(), b = P("div"), m = P("span"), v = R(d), E = V(), _ = P("div"), p = P("span"), y = R(S), M = V(), Y = R(G), Me = R(" / "), ge = R(K), Be = V(), ye = R(ee), Ce = V(), Xt(n.src, i = /*method*/
4905
- e[35].LogoUrl) || O(n, "src", i), O(n, "alt", o = /*method*/
4906
- e[35].Label), O(r, "class", "MethodLogo"), O(u, "class", "MethodTitle"), O(b, "class", "MethodProcessingTime"), O(p, "class", "Limits"), O(_, "class", "MethodLimits"), O(a, "class", "MethodInfo"), O(t, "class", g = `CarouselCardWrapper ${/*index*/
4861
+ t = A("div"), r = A("div"), n = A("img"), s = k(), a = A("div"), u = A("div"), l = A("span"), c = R(h), f = k(), b = A("div"), m = A("span"), v = R(p), E = k(), _ = A("div"), d = A("span"), y = R(S), B = k(), Y = R(G), Be = R(" / "), ye = R(K), Oe = k(), ve = R(ee), Ce = k(), Gt(n.src, i = /*method*/
4862
+ e[35].LogoUrl) || M(n, "src", i), M(n, "alt", o = /*method*/
4863
+ e[35].Label), M(r, "class", "MethodLogo"), M(u, "class", "MethodTitle"), M(b, "class", "MethodProcessingTime"), M(d, "class", "Limits"), M(_, "class", "MethodLimits"), M(a, "class", "MethodInfo"), M(t, "class", g = `CarouselCardWrapper ${/*index*/
4907
4864
  e[34] === /*activeIndex*/
4908
4865
  e[3] ? "active" : ""}`);
4909
4866
  },
4910
4867
  m(re, N) {
4911
- F(re, t, N), T(t, r), T(r, n), T(t, s), T(t, a), T(a, u), T(u, l), T(l, c), T(a, f), T(a, b), T(b, m), T(m, v), T(a, E), T(a, _), T(_, p), T(p, y), T(p, M), T(p, Y), T(p, Me), T(p, ge), T(p, Be), T(p, ye), T(t, Ce), B || (D = ae(t, "click", te), B = !0);
4868
+ F(re, t, N), H(t, r), H(r, n), H(t, s), H(t, a), H(a, u), H(u, l), H(l, c), H(a, f), H(a, b), H(b, m), H(m, v), H(a, E), H(a, _), H(_, d), H(d, y), H(d, B), H(d, Y), H(d, Be), H(d, ye), H(d, Oe), H(d, ve), H(t, Ce), O || (D = ae(t, "click", te), O = !0);
4912
4869
  },
4913
4870
  p(re, N) {
4914
4871
  e = re, N[0] & /*promotedPaymentMethods*/
4915
- 4 && !Xt(n.src, i = /*method*/
4916
- e[35].LogoUrl) && O(n, "src", i), N[0] & /*promotedPaymentMethods*/
4872
+ 4 && !Gt(n.src, i = /*method*/
4873
+ e[35].LogoUrl) && M(n, "src", i), N[0] & /*promotedPaymentMethods*/
4917
4874
  4 && o !== (o = /*method*/
4918
- e[35].Label) && O(n, "alt", o), N[0] & /*promotedPaymentMethods*/
4875
+ e[35].Label) && M(n, "alt", o), N[0] & /*promotedPaymentMethods*/
4919
4876
  4 && h !== (h = /*method*/
4920
4877
  (e[35].Label || /*method*/
4921
- e[35].Name) + "") && X(c, h), N[0] & /*$_, promotedPaymentMethods*/
4922
- 20 && d !== (d = /*$_*/
4878
+ e[35].Name) + "") && V(c, h), N[0] & /*$_, promotedPaymentMethods*/
4879
+ 20 && p !== (p = /*$_*/
4923
4880
  e[4](`${/*method*/
4924
- e[35].ProcessingTime}`) + "") && X(v, d), N[0] & /*$_*/
4881
+ e[35].ProcessingTime}`) + "") && V(v, p), N[0] & /*$_*/
4925
4882
  16 && S !== (S = /*$_*/
4926
- e[4]("generalMin") + "") && X(y, S), N[0] & /*promotedPaymentMethods*/
4883
+ e[4]("generalMin") + "") && V(y, S), N[0] & /*promotedPaymentMethods*/
4927
4884
  4 && G !== (G = De(
4928
4885
  /*method*/
4929
4886
  e[35].DisplayCurrency.MinAmountLimit,
4930
4887
  /*method*/
4931
4888
  e[35].DisplayCurrency.Name
4932
- ) + "") && X(Y, G), N[0] & /*$_*/
4889
+ ) + "") && V(Y, G), N[0] & /*$_*/
4933
4890
  16 && K !== (K = /*$_*/
4934
- e[4]("generalMax") + "") && X(ge, K), N[0] & /*promotedPaymentMethods*/
4891
+ e[4]("generalMax") + "") && V(ye, K), N[0] & /*promotedPaymentMethods*/
4935
4892
  4 && ee !== (ee = De(
4936
4893
  /*method*/
4937
4894
  e[35].DisplayCurrency.MaxAmountLimit,
4938
4895
  /*method*/
4939
4896
  e[35].DisplayCurrency.Name
4940
- ) + "") && X(ye, ee), N[0] & /*activeIndex*/
4897
+ ) + "") && V(ve, ee), N[0] & /*activeIndex*/
4941
4898
  8 && g !== (g = `CarouselCardWrapper ${/*index*/
4942
4899
  e[34] === /*activeIndex*/
4943
- e[3] ? "active" : ""}`) && O(t, "class", g);
4900
+ e[3] ? "active" : ""}`) && M(t, "class", g);
4944
4901
  },
4945
4902
  d(re) {
4946
- re && L(t), B = !1, D();
4903
+ re && L(t), O = !1, D();
4947
4904
  }
4948
4905
  };
4949
4906
  }
4950
- function _r(e) {
4907
+ function mr(e) {
4951
4908
  let t, r;
4952
4909
  return {
4953
4910
  c() {
4954
- t = P("div"), O(t, "class", r = `Dot ${/*index*/
4911
+ t = A("div"), M(t, "class", r = `Dot ${/*index*/
4955
4912
  e[34] === /*activeIndex*/
4956
4913
  e[3] ? "active" : ""}`);
4957
4914
  },
@@ -4962,28 +4919,28 @@ function _r(e) {
4962
4919
  i[0] & /*activeIndex*/
4963
4920
  8 && r !== (r = `Dot ${/*index*/
4964
4921
  n[34] === /*activeIndex*/
4965
- n[3] ? "active" : ""}`) && O(t, "class", r);
4922
+ n[3] ? "active" : ""}`) && M(t, "class", r);
4966
4923
  },
4967
4924
  d(n) {
4968
4925
  n && L(t);
4969
4926
  }
4970
4927
  };
4971
4928
  }
4972
- function Ko(e) {
4929
+ function Zo(e) {
4973
4930
  let t, r;
4974
4931
  function n(s, a) {
4975
4932
  return (
4976
4933
  /*promotedPaymentMethods*/
4977
- s[2].length > 0 ? Jo : qo
4934
+ s[2].length > 0 ? zo : Wo
4978
4935
  );
4979
4936
  }
4980
4937
  let i = n(e), o = i(e);
4981
4938
  return {
4982
4939
  c() {
4983
- t = P("div"), r = P("div"), o.c(), O(r, "class", "CashierCarouselWarpper");
4940
+ t = A("div"), r = A("div"), o.c(), M(r, "class", "CashierCarouselWarpper");
4984
4941
  },
4985
4942
  m(s, a) {
4986
- F(s, t, a), T(t, r), o.m(r, null), e[20](t);
4943
+ F(s, t, a), H(t, r), o.m(r, null), e[20](t);
4987
4944
  },
4988
4945
  p(s, a) {
4989
4946
  i === (i = n(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(r, null)));
@@ -4995,28 +4952,28 @@ function Ko(e) {
4995
4952
  }
4996
4953
  };
4997
4954
  }
4998
- function es(e, t, r) {
4955
+ function Qo(e, t, r) {
4999
4956
  let n;
5000
- bn(e, Mo, (g) => r(4, n = g));
5001
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: f = "" } = t, b, m = [], d = 0, v = !0, E = 0, _ = !1, p;
4957
+ cn(e, To, (g) => r(4, n = g));
4958
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: f = "" } = t, b, m = [], p = 0, v = !0, E = 0, _ = !1, d;
5002
4959
  const S = (g) => {
5003
- g.data && g.data.type === "PromotedPaymentMethods" && (r(2, m = g.data.promotedPaymentMethods), r(3, d = Math.floor(m.length / 2)));
4960
+ g.data && g.data.type === "PromotedPaymentMethods" && (r(2, m = g.data.promotedPaymentMethods), r(3, p = Math.floor(m.length / 2)));
5004
4961
  };
5005
- Object.keys(br).forEach((g) => {
5006
- mr(g, br[g]);
4962
+ Object.keys(cr).forEach((g) => {
4963
+ hr(g, cr[g]);
5007
4964
  });
5008
4965
  const y = () => {
5009
4966
  let g = f;
5010
4967
  if (g)
5011
- return fetch(g).then((B) => B.json()).then((B) => {
5012
- Object.keys(B).forEach((D) => {
5013
- mr(D, B[D]);
4968
+ return fetch(g).then((O) => O.json()).then((O) => {
4969
+ Object.keys(O).forEach((D) => {
4970
+ hr(D, O[D]);
5014
4971
  });
5015
- }).catch((B) => {
5016
- console.log(B);
4972
+ }).catch((O) => {
4973
+ console.log(O);
5017
4974
  });
5018
- }, M = () => {
5019
- Qo(i);
4975
+ }, B = () => {
4976
+ Vo(i);
5020
4977
  }, G = (g) => {
5021
4978
  g.Name, window.postMessage({ type: "SelectPayMeth", details: g }, window.location.href), dispatchEvent(new CustomEvent(
5022
4979
  "selectPayMeth",
@@ -5029,30 +4986,30 @@ function es(e, t, r) {
5029
4986
  ));
5030
4987
  }, Y = () => {
5031
4988
  let te;
5032
- return m.length % 2 === 1 ? te = Math.floor(m.length / 2) : te = m.length / 2 - 0.5, `translateX(${(te - d) * 165}px)`;
5033
- }, Me = (g) => {
5034
- E = g.touches[0].clientX, _ = !0, p.classList.add("dragging");
4989
+ return m.length % 2 === 1 ? te = Math.floor(m.length / 2) : te = m.length / 2 - 0.5, `translateX(${(te - p) * 165}px)`;
4990
+ }, Be = (g) => {
4991
+ E = g.touches[0].clientX, _ = !0, d.classList.add("dragging");
5035
4992
  }, K = (g) => {
5036
4993
  if (!_)
5037
4994
  return;
5038
- const B = g.touches[0].clientX;
5039
- Math.abs(B - E) > 10 && g.preventDefault();
5040
- }, ge = (g) => {
4995
+ const O = g.touches[0].clientX;
4996
+ Math.abs(O - E) > 10 && g.preventDefault();
4997
+ }, ye = (g) => {
5041
4998
  if (!_)
5042
4999
  return;
5043
- _ = !1, p.classList.remove("dragging");
5044
- const B = g.changedTouches[0].clientX, D = E - B;
5045
- Math.abs(D) > 50 && (D > 0 && d < m.length - 1 ? r(3, d++, d) : D < 0 && d > 0 && r(3, d--, d), r(1, p.style.transform = Y(), p));
5046
- }, Be = () => {
5047
- v && (r(1, p.style.transform = Y(), p), v = !1);
5000
+ _ = !1, d.classList.remove("dragging");
5001
+ const O = g.changedTouches[0].clientX, D = E - O;
5002
+ Math.abs(D) > 50 && (D > 0 && p < m.length - 1 ? r(3, p++, p) : D < 0 && p > 0 && r(3, p--, p), r(1, d.style.transform = Y(), d));
5003
+ }, Oe = () => {
5004
+ v && (r(1, d.style.transform = Y(), d), v = !1);
5048
5005
  };
5049
- Hn(() => (Xo(o, s, a, u), window.addEventListener("message", S), p && Y(), () => {
5006
+ xn(() => (Go(o, s, a, u), window.addEventListener("message", S), d && Y(), () => {
5050
5007
  window.removeEventListener("message", S);
5051
5008
  }));
5052
5009
  const ee = (g) => G(g);
5053
- function ye(g) {
5010
+ function ve(g) {
5054
5011
  Ze[g ? "unshift" : "push"](() => {
5055
- p = g, r(1, p);
5012
+ d = g, r(1, d);
5056
5013
  });
5057
5014
  }
5058
5015
  function Ce(g) {
@@ -5064,22 +5021,22 @@ function es(e, t, r) {
5064
5021
  "lang" in g && r(9, i = g.lang), "local" in g && r(10, o = g.local), "currencysymbol" in g && r(11, s = g.currencysymbol), "currencyposition" in g && r(12, a = g.currencyposition), "currencydecimals" in g && r(13, u = g.currencydecimals), "clientstyling" in g && r(14, l = g.clientstyling), "clientstylingurl" in g && r(15, h = g.clientstylingurl), "mbsource" in g && r(16, c = g.mbsource), "translationurl" in g && r(17, f = g.translationurl);
5065
5022
  }, e.$$.update = () => {
5066
5023
  e.$$.dirty[0] & /*lang*/
5067
- 512 && i && M(), e.$$.dirty[0] & /*lang, translationurl*/
5024
+ 512 && i && B(), e.$$.dirty[0] & /*lang, translationurl*/
5068
5025
  131584 && i && f && y(), e.$$.dirty[0] & /*carouselContainer*/
5069
- 2 && p && Be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5070
- 16385 && l && b && Wo(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5071
- 32769 && h && b && zo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5072
- 65537 && c && b && Zo(b, `${c}.Style`);
5026
+ 2 && d && Oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5027
+ 16385 && l && b && Fo(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5028
+ 32769 && h && b && jo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5029
+ 65537 && c && b && ko(b, `${c}.Style`);
5073
5030
  }, [
5074
5031
  b,
5075
- p,
5076
- m,
5077
5032
  d,
5033
+ m,
5034
+ p,
5078
5035
  n,
5079
5036
  G,
5080
- Me,
5037
+ Be,
5081
5038
  K,
5082
- ge,
5039
+ ye,
5083
5040
  i,
5084
5041
  o,
5085
5042
  s,
@@ -5090,18 +5047,18 @@ function es(e, t, r) {
5090
5047
  c,
5091
5048
  f,
5092
5049
  ee,
5093
- ye,
5050
+ ve,
5094
5051
  Ce
5095
5052
  ];
5096
5053
  }
5097
- class un extends Rn {
5054
+ class rn extends Cn {
5098
5055
  constructor(t) {
5099
- super(), Nn(
5056
+ super(), Bn(
5100
5057
  this,
5101
5058
  t,
5102
- es,
5103
- Ko,
5104
- Er,
5059
+ Qo,
5060
+ Zo,
5061
+ gr,
5105
5062
  {
5106
5063
  lang: 9,
5107
5064
  local: 10,
@@ -5113,7 +5070,7 @@ class un extends Rn {
5113
5070
  mbsource: 16,
5114
5071
  translationurl: 17
5115
5072
  },
5116
- Yo,
5073
+ Xo,
5117
5074
  [-1, -1]
5118
5075
  );
5119
5076
  }
@@ -5172,75 +5129,75 @@ class un extends Rn {
5172
5129
  this.$$set({ translationurl: t }), U();
5173
5130
  }
5174
5131
  }
5175
- $n(un, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5176
- const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5132
+ On(rn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5133
+ const Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5177
5134
  __proto__: null,
5178
- default: un
5135
+ default: rn
5179
5136
  }, Symbol.toStringTag, { value: "Module" }));
5180
5137
  export {
5181
5138
  J as $,
5182
- Xt as A,
5183
- cs as B,
5139
+ Gt as A,
5140
+ ss as B,
5184
5141
  ae as C,
5185
- Wo as D,
5186
- zo as E,
5187
- Zo as F,
5188
- $n as G,
5189
- Mo as H,
5142
+ Fo as D,
5143
+ jo as E,
5144
+ ko as F,
5145
+ On as G,
5146
+ To as H,
5190
5147
  I,
5191
- Ke as J,
5192
- Gn as K,
5193
- Ts as L,
5194
- le as M,
5195
- as as N,
5196
- Hs as O,
5197
- Xo as P,
5198
- fs as Q,
5199
- bs as R,
5200
- Rn as S,
5148
+ Je as J,
5149
+ Nn as K,
5150
+ _s as L,
5151
+ he as M,
5152
+ rs as N,
5153
+ xs as O,
5154
+ Go as P,
5155
+ as as Q,
5156
+ cs as R,
5157
+ Cn as S,
5201
5158
  De as T,
5202
5159
  Ne as U,
5203
- Wt as V,
5204
- hs as W,
5205
- z as X,
5206
- ps as Y,
5207
- us as Z,
5208
- ds as _,
5209
- Yr as a,
5210
- Bt as a0,
5211
- ws as a1,
5212
- ms as a2,
5213
- gs as a3,
5214
- Es as a4,
5215
- xs as a5,
5216
- ss as a6,
5217
- In as a7,
5218
- Cn as a8,
5219
- Ss as a9,
5220
- Ps as aa,
5221
- Nn as b,
5222
- gn as c,
5223
- rs as d,
5160
+ Ft as V,
5161
+ os as W,
5162
+ W as X,
5163
+ us as Y,
5164
+ ns as Z,
5165
+ ls as _,
5166
+ Xr as a,
5167
+ Ht as a0,
5168
+ ys as a1,
5169
+ hs as a2,
5170
+ fs as a3,
5171
+ gs as a4,
5172
+ bs as a5,
5173
+ ts as a6,
5174
+ An as a7,
5175
+ Pn as a8,
5176
+ vs as a9,
5177
+ Es as aa,
5178
+ Bn as b,
5179
+ fn as c,
5180
+ qo as d,
5224
5181
  L as e,
5225
5182
  U as f,
5226
- Bn as g,
5227
- os as h,
5228
- ao as i,
5229
- ns as j,
5230
- ys as k,
5231
- vs as l,
5183
+ Hn as g,
5184
+ es as h,
5185
+ ro as i,
5186
+ Jo as j,
5187
+ ds as k,
5188
+ ps as l,
5232
5189
  F as m,
5233
- T as n,
5234
- P as o,
5235
- V as p,
5236
- O as q,
5237
- bn as r,
5238
- Er as s,
5239
- _s as t,
5240
- is as u,
5241
- Hn as v,
5242
- ls as w,
5243
- X as x,
5190
+ H as n,
5191
+ A as o,
5192
+ k as p,
5193
+ M as q,
5194
+ cn as r,
5195
+ gr as s,
5196
+ ms as t,
5197
+ Ko as u,
5198
+ xn as v,
5199
+ is as w,
5200
+ V as x,
5244
5201
  R as y,
5245
5202
  Ze as z
5246
5203
  };