@everymatrix/cashier-page 1.77.20 → 1.77.22

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