@everymatrix/cashier-page 1.76.13 → 1.76.14

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 (77) hide show
  1. package/components/{CashierError-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
  2. package/components/CashierError-BVTgkQx8.cjs +21 -0
  3. package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
  4. package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
  5. package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
  6. package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
  7. package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
  8. package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
  10. package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
  11. package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
  12. package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
  13. package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
  14. package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
  15. package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
  16. package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
  17. package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
  18. package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
  19. package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
  20. package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
  21. package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
  22. package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
  23. package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
  24. package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
  25. package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
  26. package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
  27. package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
  28. package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
  29. package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
  30. package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
  31. package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
  32. package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
  33. package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
  34. package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
  36. package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
  37. package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
  38. package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
  39. package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
  40. package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
  41. package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
  42. package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
  43. package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
  44. package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
  45. package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  51. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  52. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  53. package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
  54. package/stencil/index-b2193545-DWKmtYUG.js +503 -0
  55. package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
  56. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  57. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  58. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  59. package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
  60. package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
  61. package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
  62. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  63. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  64. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  65. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
  66. package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
  67. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
  68. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
  71. package/components/CashierError-BEEnpeVH.cjs +0 -8
  72. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  73. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  74. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  75. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  76. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
  77. package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
@@ -1,7 +1,7 @@
1
- import "../stencil/ui-image-BRBJSkg1.js";
1
+ import "../stencil/ui-image-BGfwfp_F.js";
2
2
  function B() {
3
3
  }
4
- const rt = (e) => e;
4
+ const et = (e) => e;
5
5
  function yr(e, t) {
6
6
  for (const r in t)
7
7
  e[r] = t[r];
@@ -16,18 +16,18 @@ function Rt(e) {
16
16
  function mt() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function R(e) {
19
+ function $(e) {
20
20
  e.forEach(Rt);
21
21
  }
22
- function ee(e) {
22
+ function K(e) {
23
23
  return typeof e == "function";
24
24
  }
25
25
  function Dt(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
- let me;
28
+ let fe;
29
29
  function dt(e, t) {
30
- return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
30
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
31
31
  }
32
32
  function _r(e) {
33
33
  return Object.keys(e).length === 0;
@@ -41,10 +41,10 @@ function kt(e, ...t) {
41
41
  const r = e.subscribe(...t);
42
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
43
43
  }
44
- function Er(e, t, r) {
44
+ function vr(e, t, r) {
45
45
  e.$$.on_destroy.push(kt(t, r));
46
46
  }
47
- function be(e, t, r, n) {
47
+ function ge(e, t, r, n) {
48
48
  if (e) {
49
49
  const i = Ut(e, t, r, n);
50
50
  return e[0](i);
@@ -53,7 +53,7 @@ function be(e, t, r, n) {
53
53
  function Ut(e, t, r, n) {
54
54
  return e[1] && n ? yr(r.ctx.slice(), e[1](n(t))) : r.ctx;
55
55
  }
56
- function ye(e, t, r, n) {
56
+ function be(e, t, r, n) {
57
57
  if (e[2] && n) {
58
58
  const i = e[2](n(r));
59
59
  if (t.dirty === void 0)
@@ -68,13 +68,13 @@ function ye(e, t, r, n) {
68
68
  }
69
69
  return t.dirty;
70
70
  }
71
- function _e(e, t, r, n, i, s) {
71
+ function ye(e, t, r, n, i, s) {
72
72
  if (i) {
73
73
  const o = Ut(t, r, n, s);
74
74
  e.p(o, i);
75
75
  }
76
76
  }
77
- function Ee(e) {
77
+ function _e(e) {
78
78
  if (e.ctx.length > 32) {
79
79
  const t = [], r = e.ctx.length / 32;
80
80
  for (let n = 0; n < r; n++)
@@ -83,43 +83,43 @@ function Ee(e) {
83
83
  }
84
84
  return -1;
85
85
  }
86
- function ts(e) {
86
+ function es(e) {
87
87
  return e ?? "";
88
88
  }
89
89
  const Gt = typeof window < "u";
90
- let nt = Gt ? () => window.performance.now() : () => Date.now(), it = Gt ? (e) => requestAnimationFrame(e) : B;
91
- const W = /* @__PURE__ */ new Set();
90
+ let tt = Gt ? () => window.performance.now() : () => Date.now(), rt = Gt ? (e) => requestAnimationFrame(e) : B;
91
+ const X = /* @__PURE__ */ new Set();
92
92
  function Ft(e) {
93
- W.forEach((t) => {
94
- t.c(e) || (W.delete(t), t.f());
95
- }), W.size !== 0 && it(Ft);
93
+ X.forEach((t) => {
94
+ t.c(e) || (X.delete(t), t.f());
95
+ }), X.size !== 0 && rt(Ft);
96
96
  }
97
- function st(e) {
97
+ function nt(e) {
98
98
  let t;
99
- return W.size === 0 && it(Ft), {
99
+ return X.size === 0 && rt(Ft), {
100
100
  promise: new Promise((r) => {
101
- W.add(t = { c: e, f: r });
101
+ X.add(t = { c: e, f: r });
102
102
  }),
103
103
  abort() {
104
- W.delete(t);
104
+ X.delete(t);
105
105
  }
106
106
  };
107
107
  }
108
- const rs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
108
+ const ts = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
109
109
  // @ts-ignore Node typings have this
110
110
  global
111
111
  );
112
112
  function I(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function vr(e, t, r) {
116
- const n = ot(e);
115
+ function Er(e, t, r) {
116
+ const n = it(e);
117
117
  if (!n.getElementById(t)) {
118
118
  const i = A("style");
119
119
  i.id = t, i.textContent = r, jt(n, i);
120
120
  }
121
121
  }
122
- function ot(e) {
122
+ function it(e) {
123
123
  if (!e)
124
124
  return document;
125
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,7 +131,7 @@ function ot(e) {
131
131
  }
132
132
  function xr(e) {
133
133
  const t = A("style");
134
- return t.textContent = "/* empty */", jt(ot(e), t), t.sheet;
134
+ return t.textContent = "/* empty */", jt(it(e), t), t.sheet;
135
135
  }
136
136
  function jt(e, t) {
137
137
  return I(
@@ -140,75 +140,75 @@ function jt(e, t) {
140
140
  t
141
141
  ), t.sheet;
142
142
  }
143
- function D(e, t, r) {
143
+ function R(e, t, r) {
144
144
  e.insertBefore(t, r || null);
145
145
  }
146
146
  function P(e) {
147
147
  e.parentNode && e.parentNode.removeChild(e);
148
148
  }
149
- function ns(e, t) {
149
+ function rs(e, t) {
150
150
  for (let r = 0; r < e.length; r += 1)
151
151
  e[r] && e[r].d(t);
152
152
  }
153
153
  function A(e) {
154
154
  return document.createElement(e);
155
155
  }
156
- function is(e) {
156
+ function ns(e) {
157
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
158
  }
159
- function he(e) {
159
+ function le(e) {
160
160
  return document.createTextNode(e);
161
161
  }
162
- function Re() {
163
- return he(" ");
162
+ function Le() {
163
+ return le(" ");
164
164
  }
165
165
  function Tr() {
166
- return he("");
166
+ return le("");
167
167
  }
168
- function Ve(e, t, r, n) {
168
+ function je(e, t, r, n) {
169
169
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
170
  }
171
- function ss(e) {
171
+ function is(e) {
172
172
  return function(t) {
173
173
  return t.preventDefault(), e.call(this, t);
174
174
  };
175
175
  }
176
- function $(e, t, r) {
176
+ function L(e, t, r) {
177
177
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
178
  }
179
- function de(e, t, r) {
179
+ function me(e, t, r) {
180
180
  const n = t.toLowerCase();
181
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
181
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
182
182
  }
183
- function os(e) {
183
+ function ss(e) {
184
184
  return e === "" ? null : +e;
185
185
  }
186
186
  function wr(e) {
187
187
  return Array.from(e.childNodes);
188
188
  }
189
- function at(e, t) {
189
+ function st(e, t) {
190
190
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
191
191
  t);
192
192
  }
193
- function as(e, t) {
193
+ function os(e, t) {
194
194
  e.value = t ?? "";
195
195
  }
196
- function us(e, t, r, n) {
196
+ function as(e, t, r, n) {
197
197
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
198
198
  }
199
- let pe;
199
+ let de;
200
200
  function Hr() {
201
- if (pe === void 0) {
202
- pe = !1;
201
+ if (de === void 0) {
202
+ de = !1;
203
203
  try {
204
204
  typeof window < "u" && window.parent && window.parent.document;
205
205
  } catch {
206
- pe = !0;
206
+ de = !0;
207
207
  }
208
208
  }
209
- return pe;
209
+ return de;
210
210
  }
211
- function ls(e, t) {
211
+ function us(e, t) {
212
212
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
213
213
  const n = A("iframe");
214
214
  n.setAttribute(
@@ -217,7 +217,7 @@ function ls(e, t) {
217
217
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
218
218
  const i = Hr();
219
219
  let s;
220
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ve(
220
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = je(
221
221
  window,
222
222
  "message",
223
223
  /** @param {MessageEvent} event */
@@ -225,12 +225,12 @@ function ls(e, t) {
225
225
  o.source === n.contentWindow && t();
226
226
  }
227
227
  )) : (n.src = "about:blank", n.onload = () => {
228
- s = Ve(n.contentWindow, "resize", t), t();
228
+ s = je(n.contentWindow, "resize", t), t();
229
229
  }), I(e, n), () => {
230
230
  (i || s && n.contentWindow) && s(), P(n);
231
231
  };
232
232
  }
233
- function hs(e, t, r) {
233
+ function ls(e, t, r) {
234
234
  e.classList.toggle(t, !!r);
235
235
  }
236
236
  function Sr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -245,8 +245,8 @@ function Br(e) {
245
245
  }
246
246
  ), t;
247
247
  }
248
- const He = /* @__PURE__ */ new Map();
249
- let Se = 0;
248
+ const we = /* @__PURE__ */ new Map();
249
+ let He = 0;
250
250
  function Ar(e) {
251
251
  let t = 5381, r = e.length;
252
252
  for (; r--; )
@@ -255,9 +255,9 @@ function Ar(e) {
255
255
  }
256
256
  function Pr(e, t) {
257
257
  const r = { stylesheet: xr(t), rules: {} };
258
- return He.set(e, r), r;
258
+ return we.set(e, r), r;
259
259
  }
260
- function Be(e, t, r, n, i, s, o, a = 0) {
260
+ function Se(e, t, r, n, i, s, o, a = 0) {
261
261
  const h = 16.666 / n;
262
262
  let u = `{
263
263
  `;
@@ -267,145 +267,145 @@ function Be(e, t, r, n, i, s, o, a = 0) {
267
267
  `;
268
268
  }
269
269
  const l = u + `100% {${o(r, 1 - r)}}
270
- }`, c = `__svelte_${Ar(l)}_${a}`, f = ot(e), { stylesheet: y, rules: m } = He.get(f) || Pr(f, e);
270
+ }`, c = `__svelte_${Ar(l)}_${a}`, f = it(e), { stylesheet: y, rules: m } = we.get(f) || Pr(f, e);
271
271
  m[c] || (m[c] = !0, y.insertRule(`@keyframes ${c} ${l}`, y.cssRules.length));
272
272
  const p = e.style.animation || "";
273
- return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Se += 1, c;
273
+ return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
274
274
  }
275
- function Ae(e, t) {
275
+ function Be(e, t) {
276
276
  const r = (e.style.animation || "").split(", "), n = r.filter(
277
277
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
278
278
  // remove all Svelte animations
279
279
  ), i = r.length - n.length;
280
- i && (e.style.animation = n.join(", "), Se -= i, Se || Or());
280
+ i && (e.style.animation = n.join(", "), He -= i, He || Or());
281
281
  }
282
282
  function Or() {
283
- it(() => {
284
- Se || (He.forEach((e) => {
283
+ rt(() => {
284
+ He || (we.forEach((e) => {
285
285
  const { ownerNode: t } = e.stylesheet;
286
286
  t && P(t);
287
- }), He.clear());
287
+ }), we.clear());
288
288
  });
289
289
  }
290
- let ae;
291
- function oe(e) {
292
- ae = e;
290
+ let oe;
291
+ function se(e) {
292
+ oe = e;
293
293
  }
294
294
  function zt() {
295
- if (!ae)
295
+ if (!oe)
296
296
  throw new Error("Function called outside component initialization");
297
- return ae;
297
+ return oe;
298
298
  }
299
- function Cr(e) {
299
+ function Ir(e) {
300
300
  zt().$$.on_mount.push(e);
301
301
  }
302
- function cs(e) {
302
+ function hs(e) {
303
303
  zt().$$.on_destroy.push(e);
304
304
  }
305
- const V = [], Xe = [];
306
- let Z = [];
307
- const pt = [], Ir = /* @__PURE__ */ Promise.resolve();
308
- let We = !1;
309
- function Nr() {
310
- We || (We = !0, Ir.then(O));
305
+ const z = [], ze = [];
306
+ let W = [];
307
+ const pt = [], Cr = /* @__PURE__ */ Promise.resolve();
308
+ let Ve = !1;
309
+ function Mr() {
310
+ Ve || (Ve = !0, Cr.then(O));
311
311
  }
312
- function J(e) {
313
- Z.push(e);
312
+ function Z(e) {
313
+ W.push(e);
314
314
  }
315
- const De = /* @__PURE__ */ new Set();
316
- let j = 0;
315
+ const $e = /* @__PURE__ */ new Set();
316
+ let F = 0;
317
317
  function O() {
318
- if (j !== 0)
318
+ if (F !== 0)
319
319
  return;
320
- const e = ae;
320
+ const e = oe;
321
321
  do {
322
322
  try {
323
- for (; j < V.length; ) {
324
- const t = V[j];
325
- j++, oe(t), Mr(t.$$);
323
+ for (; F < z.length; ) {
324
+ const t = z[F];
325
+ F++, se(t), Nr(t.$$);
326
326
  }
327
327
  } catch (t) {
328
- throw V.length = 0, j = 0, t;
328
+ throw z.length = 0, F = 0, t;
329
329
  }
330
- for (oe(null), V.length = 0, j = 0; Xe.length; )
331
- Xe.pop()();
332
- for (let t = 0; t < Z.length; t += 1) {
333
- const r = Z[t];
334
- De.has(r) || (De.add(r), r());
330
+ for (se(null), z.length = 0, F = 0; ze.length; )
331
+ ze.pop()();
332
+ for (let t = 0; t < W.length; t += 1) {
333
+ const r = W[t];
334
+ $e.has(r) || ($e.add(r), r());
335
335
  }
336
- Z.length = 0;
337
- } while (V.length);
336
+ W.length = 0;
337
+ } while (z.length);
338
338
  for (; pt.length; )
339
339
  pt.pop()();
340
- We = !1, De.clear(), oe(e);
340
+ Ve = !1, $e.clear(), se(e);
341
341
  }
342
- function Mr(e) {
342
+ function Nr(e) {
343
343
  if (e.fragment !== null) {
344
- e.update(), R(e.before_update);
344
+ e.update(), $(e.before_update);
345
345
  const t = e.dirty;
346
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(J);
346
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Z);
347
347
  }
348
348
  }
349
349
  function Lr(e) {
350
350
  const t = [], r = [];
351
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
351
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
352
352
  }
353
- let ne;
354
- function ut() {
355
- return ne || (ne = Promise.resolve(), ne.then(() => {
356
- ne = null;
357
- })), ne;
353
+ let re;
354
+ function ot() {
355
+ return re || (re = Promise.resolve(), re.then(() => {
356
+ re = null;
357
+ })), re;
358
358
  }
359
- function U(e, t, r) {
359
+ function k(e, t, r) {
360
360
  e.dispatchEvent(Sr(`${t ? "intro" : "outro"}${r}`));
361
361
  }
362
362
  const ve = /* @__PURE__ */ new Set();
363
- let N;
363
+ let C;
364
364
  function $r() {
365
- N = {
365
+ C = {
366
366
  r: 0,
367
367
  c: [],
368
- p: N
368
+ p: C
369
369
  // parent group
370
370
  };
371
371
  }
372
372
  function Rr() {
373
- N.r || R(N.c), N = N.p;
373
+ C.r || $(C.c), C = C.p;
374
374
  }
375
375
  function M(e, t) {
376
376
  e && e.i && (ve.delete(e), e.i(t));
377
377
  }
378
- function X(e, t, r, n) {
378
+ function V(e, t, r, n) {
379
379
  if (e && e.o) {
380
380
  if (ve.has(e))
381
381
  return;
382
- ve.add(e), N.c.push(() => {
382
+ ve.add(e), C.c.push(() => {
383
383
  ve.delete(e), n && (r && e.d(1), n());
384
384
  }), e.o(t);
385
385
  } else
386
386
  n && n();
387
387
  }
388
- const lt = { duration: 0 };
389
- function fs(e, t, r) {
388
+ const at = { duration: 0 };
389
+ function cs(e, t, r) {
390
390
  const n = { direction: "in" };
391
391
  let i = t(e, r, n), s = !1, o, a, h = 0;
392
392
  function u() {
393
- o && Ae(e, o);
393
+ o && Be(e, o);
394
394
  }
395
395
  function l() {
396
396
  const {
397
397
  delay: f = 0,
398
398
  duration: y = 300,
399
- easing: m = rt,
399
+ easing: m = et,
400
400
  tick: p = B,
401
401
  css: g
402
- } = i || lt;
403
- g && (o = Be(e, 0, 1, y, f, m, g, h++)), p(0, 1);
404
- const d = nt() + f, E = d + y;
405
- a && a.abort(), s = !0, J(() => U(e, !0, "start")), a = st((b) => {
402
+ } = i || at;
403
+ g && (o = Se(e, 0, 1, y, f, m, g, h++)), p(0, 1);
404
+ const d = tt() + f, v = d + y;
405
+ a && a.abort(), s = !0, Z(() => k(e, !0, "start")), a = nt((b) => {
406
406
  if (s) {
407
- if (b >= E)
408
- return p(1, 0), U(e, !0, "end"), u(), s = !1;
407
+ if (b >= v)
408
+ return p(1, 0), k(e, !0, "end"), u(), s = !1;
409
409
  if (b >= d) {
410
410
  const w = m((b - d) / y);
411
411
  p(w, 1 - w);
@@ -417,7 +417,7 @@ function fs(e, t, r) {
417
417
  let c = !1;
418
418
  return {
419
419
  start() {
420
- c || (c = !0, Ae(e), ee(i) ? (i = i(n), ut().then(l)) : l());
420
+ c || (c = !0, Be(e), K(i) ? (i = i(n), ot().then(l)) : l());
421
421
  },
422
422
  invalidate() {
423
423
  c = !1;
@@ -427,47 +427,47 @@ function fs(e, t, r) {
427
427
  }
428
428
  };
429
429
  }
430
- function ms(e, t, r) {
430
+ function fs(e, t, r) {
431
431
  const n = { direction: "out" };
432
432
  let i = t(e, r, n), s = !0, o;
433
- const a = N;
433
+ const a = C;
434
434
  a.r += 1;
435
435
  let h;
436
436
  function u() {
437
437
  const {
438
438
  delay: l = 0,
439
439
  duration: c = 300,
440
- easing: f = rt,
440
+ easing: f = et,
441
441
  tick: y = B,
442
442
  css: m
443
- } = i || lt;
444
- m && (o = Be(e, 1, 0, c, l, f, m));
445
- const p = nt() + l, g = p + c;
446
- J(() => U(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
447
- e.inert, e.inert = !0), st((d) => {
443
+ } = i || at;
444
+ m && (o = Se(e, 1, 0, c, l, f, m));
445
+ const p = tt() + l, g = p + c;
446
+ Z(() => k(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
447
+ e.inert, e.inert = !0), nt((d) => {
448
448
  if (s) {
449
449
  if (d >= g)
450
- return y(0, 1), U(e, !1, "end"), --a.r || R(a.c), !1;
450
+ return y(0, 1), k(e, !1, "end"), --a.r || $(a.c), !1;
451
451
  if (d >= p) {
452
- const E = f((d - p) / c);
453
- y(1 - E, E);
452
+ const v = f((d - p) / c);
453
+ y(1 - v, v);
454
454
  }
455
455
  }
456
456
  return s;
457
457
  });
458
458
  }
459
- return ee(i) ? ut().then(() => {
459
+ return K(i) ? ot().then(() => {
460
460
  i = i(n), u();
461
461
  }) : u(), {
462
462
  end(l) {
463
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Ae(e, o), s = !1);
463
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Be(e, o), s = !1);
464
464
  }
465
465
  };
466
466
  }
467
- function ds(e, t, r, n) {
467
+ function ms(e, t, r, n) {
468
468
  let s = t(e, r, { direction: "both" }), o = n ? 0 : 1, a = null, h = null, u = null, l;
469
469
  function c() {
470
- u && Ae(e, u);
470
+ u && Be(e, u);
471
471
  }
472
472
  function f(m, p) {
473
473
  const g = (
@@ -488,16 +488,16 @@ function ds(e, t, r, n) {
488
488
  const {
489
489
  delay: p = 0,
490
490
  duration: g = 300,
491
- easing: d = rt,
492
- tick: E = B,
491
+ easing: d = et,
492
+ tick: v = B,
493
493
  css: b
494
- } = s || lt, w = {
495
- start: nt() + p,
494
+ } = s || at, w = {
495
+ start: tt() + p,
496
496
  b: m
497
497
  };
498
- m || (w.group = N, N.r += 1), "inert" in e && (m ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
499
- e.inert, e.inert = !0)), a || h ? h = w : (b && (c(), u = Be(e, o, m, g, p, d, b)), m && E(0, 1), a = f(w, g), J(() => U(e, m, "start")), st((H) => {
500
- if (h && H > h.start && (a = f(h, g), h = null, U(e, a.b, "start"), b && (c(), u = Be(
498
+ m || (w.group = C, C.r += 1), "inert" in e && (m ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
499
+ e.inert, e.inert = !0)), a || h ? h = w : (b && (c(), u = Se(e, o, m, g, p, d, b)), m && v(0, 1), a = f(w, g), Z(() => k(e, m, "start")), nt((H) => {
500
+ if (h && H > h.start && (a = f(h, g), h = null, k(e, a.b, "start"), b && (c(), u = Se(
501
501
  e,
502
502
  o,
503
503
  a.b,
@@ -507,10 +507,10 @@ function ds(e, t, r, n) {
507
507
  s.css
508
508
  ))), a) {
509
509
  if (H >= a.end)
510
- E(o = a.b, 1 - o), U(e, a.b, "end"), h || (a.b ? c() : --a.group.r || R(a.group.c)), a = null;
510
+ v(o = a.b, 1 - o), k(e, a.b, "end"), h || (a.b ? c() : --a.group.r || $(a.group.c)), a = null;
511
511
  else if (H >= a.start) {
512
- const F = H - a.start;
513
- o = a.a + a.d * d(F / a.duration), E(o, 1 - o);
512
+ const G = H - a.start;
513
+ o = a.a + a.d * d(G / a.duration), v(o, 1 - o);
514
514
  }
515
515
  }
516
516
  return !!(a || h);
@@ -518,7 +518,7 @@ function ds(e, t, r, n) {
518
518
  }
519
519
  return {
520
520
  run(m) {
521
- ee(s) ? ut().then(() => {
521
+ K(s) ? ot().then(() => {
522
522
  s = s({ direction: m ? "in" : "out" }), y(m);
523
523
  }) : y(m);
524
524
  },
@@ -527,29 +527,29 @@ function ds(e, t, r, n) {
527
527
  }
528
528
  };
529
529
  }
530
- function ps(e) {
530
+ function ds(e) {
531
531
  return e?.length !== void 0 ? e : Array.from(e);
532
532
  }
533
- function gs(e) {
533
+ function ps(e) {
534
534
  e && e.c();
535
535
  }
536
536
  function Dr(e, t, r) {
537
537
  const { fragment: n, after_update: i } = e.$$;
538
- n && n.m(t, r), J(() => {
539
- const s = e.$$.on_mount.map(Rt).filter(ee);
540
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : R(s), e.$$.on_mount = [];
541
- }), i.forEach(J);
538
+ n && n.m(t, r), Z(() => {
539
+ const s = e.$$.on_mount.map(Rt).filter(K);
540
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
541
+ }), i.forEach(Z);
542
542
  }
543
543
  function kr(e, t) {
544
544
  const r = e.$$;
545
- r.fragment !== null && (Lr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
545
+ r.fragment !== null && (Lr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
546
546
  }
547
547
  function Ur(e, t) {
548
- e.$$.dirty[0] === -1 && (V.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
548
+ e.$$.dirty[0] === -1 && (z.push(e), Mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
549
549
  }
550
550
  function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
551
- const h = ae;
552
- oe(e);
551
+ const h = oe;
552
+ se(e);
553
553
  const u = e.$$ = {
554
554
  fragment: null,
555
555
  ctx: [],
@@ -576,7 +576,7 @@ function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
576
576
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...y) => {
577
577
  const m = y.length ? y[0] : f;
578
578
  return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Ur(e, c)), f;
579
- }) : [], u.update(), l = !0, R(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
579
+ }) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
580
580
  if (t.hydrate) {
581
581
  const c = wr(t.target);
582
582
  u.fragment && u.fragment.l(c), c.forEach(P);
@@ -584,7 +584,7 @@ function Gr(e, t, r, n, i, s, o = null, a = [-1]) {
584
584
  u.fragment && u.fragment.c();
585
585
  t.intro && M(e.$$.fragment), Dr(e, t.target, t.anchor), O();
586
586
  }
587
- oe(h);
587
+ se(h);
588
588
  }
589
589
  let Vt;
590
590
  typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
@@ -629,14 +629,14 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
629
629
  let s;
630
630
  return {
631
631
  c: function() {
632
- s = A("slot"), i !== "default" && $(s, "name", i);
632
+ s = A("slot"), i !== "default" && L(s, "name", i);
633
633
  },
634
634
  /**
635
635
  * @param {HTMLElement} target
636
636
  * @param {HTMLElement} [anchor]
637
637
  */
638
638
  m: function(h, u) {
639
- D(h, s, u);
639
+ R(h, s, u);
640
640
  },
641
641
  d: function(h) {
642
642
  h && P(s);
@@ -651,7 +651,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
651
651
  i in r && (t[i] = [e(i)]);
652
652
  for (const i of this.attributes) {
653
653
  const s = this.$$g_p(i.name);
654
- s in this.$$d || (this.$$d[s] = xe(s, i.value, this.$$p_d, "toProp"));
654
+ s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
655
655
  }
656
656
  for (const i in this.$$p_d)
657
657
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -669,7 +669,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
669
669
  this.$$r = !0;
670
670
  for (const i in this.$$p_d)
671
671
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
672
- const s = xe(
672
+ const s = Ee(
673
673
  i,
674
674
  this.$$d[i],
675
675
  this.$$p_d,
@@ -691,7 +691,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
691
691
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
692
692
  // and setting attributes through setAttribute etc, this is helpful
693
693
  attributeChangedCallback(e, t, r) {
694
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
694
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
695
695
  }
696
696
  disconnectedCallback() {
697
697
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -704,7 +704,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
704
704
  ) || e;
705
705
  }
706
706
  });
707
- function xe(e, t, r, n) {
707
+ function Ee(e, t, r, n) {
708
708
  const i = r[e]?.type;
709
709
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
710
710
  return t;
@@ -750,7 +750,7 @@ function Fr(e, t, r, n, i, s) {
750
750
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
751
751
  },
752
752
  set(h) {
753
- h = xe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
753
+ h = Ee(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
754
754
  }
755
755
  });
756
756
  }), n.forEach((a) => {
@@ -790,7 +790,7 @@ class jr {
790
790
  * @returns {() => void}
791
791
  */
792
792
  $on(t, r) {
793
- if (!ee(r))
793
+ if (!K(r))
794
794
  return B;
795
795
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
796
796
  return n.push(r), () => {
@@ -808,24 +808,24 @@ class jr {
808
808
  }
809
809
  const zr = "4";
810
810
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
811
- const z = [];
811
+ const j = [];
812
812
  function Vr(e, t) {
813
813
  return {
814
- subscribe: Ne(e, t).subscribe
814
+ subscribe: Ie(e, t).subscribe
815
815
  };
816
816
  }
817
- function Ne(e, t = B) {
817
+ function Ie(e, t = B) {
818
818
  let r;
819
819
  const n = /* @__PURE__ */ new Set();
820
820
  function i(a) {
821
821
  if (Dt(e, a) && (e = a, r)) {
822
- const h = !z.length;
822
+ const h = !j.length;
823
823
  for (const u of n)
824
- u[1](), z.push(u, e);
824
+ u[1](), j.push(u, e);
825
825
  if (h) {
826
- for (let u = 0; u < z.length; u += 2)
827
- z[u][0](z[u + 1]);
828
- z.length = 0;
826
+ for (let u = 0; u < j.length; u += 2)
827
+ j[u][0](j[u + 1]);
828
+ j.length = 0;
829
829
  }
830
830
  }
831
831
  }
@@ -840,7 +840,7 @@ function Ne(e, t = B) {
840
840
  }
841
841
  return { set: i, update: s, subscribe: o };
842
842
  }
843
- function te(e, t, r) {
843
+ function ee(e, t, r) {
844
844
  const n = !Array.isArray(e), i = n ? [e] : e;
845
845
  if (!i.every(Boolean))
846
846
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -854,7 +854,7 @@ function te(e, t, r) {
854
854
  return;
855
855
  c();
856
856
  const m = t(n ? u[0] : u, o, a);
857
- s ? o(m) : c = ee(m) ? m : B;
857
+ s ? o(m) : c = K(m) ? m : B;
858
858
  }, y = i.map(
859
859
  (m, p) => kt(
860
860
  m,
@@ -867,11 +867,11 @@ function te(e, t, r) {
867
867
  )
868
868
  );
869
869
  return h = !0, f(), function() {
870
- R(y), c(), h = !1;
870
+ $(y), c(), h = !1;
871
871
  };
872
872
  });
873
873
  }
874
- var bs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
874
+ var gs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
875
875
  function Xr(e) {
876
876
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
877
877
  }
@@ -892,19 +892,19 @@ function Yr(e) {
892
892
  function Kr(e) {
893
893
  return Array.isArray(e) ? [] : {};
894
894
  }
895
- function ue(e, t) {
896
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Kr(e), e, t) : e;
895
+ function ae(e, t) {
896
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Kr(e), e, t) : e;
897
897
  }
898
898
  function en(e, t, r) {
899
899
  return e.concat(t).map(function(n) {
900
- return ue(n, r);
900
+ return ae(n, r);
901
901
  });
902
902
  }
903
903
  function tn(e, t) {
904
904
  if (!t.customMerge)
905
- return q;
905
+ return J;
906
906
  var r = t.customMerge(e);
907
- return typeof r == "function" ? r : q;
907
+ return typeof r == "function" ? r : J;
908
908
  }
909
909
  function rn(e) {
910
910
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -927,51 +927,65 @@ function nn(e, t) {
927
927
  function sn(e, t, r) {
928
928
  var n = {};
929
929
  return r.isMergeableObject(e) && gt(e).forEach(function(i) {
930
- n[i] = ue(e[i], r);
930
+ n[i] = ae(e[i], r);
931
931
  }), gt(t).forEach(function(i) {
932
- nn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
932
+ nn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
933
933
  }), n;
934
934
  }
935
- function q(e, t, r) {
936
- r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ue;
935
+ function J(e, t, r) {
936
+ r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = ae;
937
937
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
938
- return s ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : ue(t, r);
938
+ return s ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : ae(t, r);
939
939
  }
940
- q.all = function(t, r) {
940
+ J.all = function(t, r) {
941
941
  if (!Array.isArray(t))
942
942
  throw new Error("first argument should be an array");
943
943
  return t.reduce(function(n, i) {
944
- return q(n, i, r);
944
+ return J(n, i, r);
945
945
  }, {});
946
946
  };
947
- var on = q, an = on;
947
+ var on = J, an = on;
948
948
  const un = /* @__PURE__ */ Xr(an);
949
- var Ze = function(e, t) {
950
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
949
+ /*! *****************************************************************************
950
+ Copyright (c) Microsoft Corporation.
951
+
952
+ Permission to use, copy, modify, and/or distribute this software for any
953
+ purpose with or without fee is hereby granted.
954
+
955
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
956
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
957
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
958
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
959
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
960
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
961
+ PERFORMANCE OF THIS SOFTWARE.
962
+ ***************************************************************************** */
963
+ var Xe = function(e, t) {
964
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
951
965
  r.__proto__ = n;
952
966
  } || function(r, n) {
953
967
  for (var i in n)
954
968
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
955
- }, Ze(e, t);
969
+ }, Xe(e, t);
956
970
  };
957
- function Me(e, t) {
971
+ function Ce(e, t) {
958
972
  if (typeof t != "function" && t !== null)
959
973
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
960
- Ze(e, t);
974
+ Xe(e, t);
961
975
  function r() {
962
976
  this.constructor = e;
963
977
  }
964
978
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
965
979
  }
966
- var C = function() {
967
- return C = Object.assign || function(t) {
980
+ var x = function() {
981
+ return x = Object.assign || function(t) {
968
982
  for (var r, n = 1, i = arguments.length; n < i; n++) {
969
983
  r = arguments[n];
970
984
  for (var s in r)
971
985
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
972
986
  }
973
987
  return t;
974
- }, C.apply(this, arguments);
988
+ }, x.apply(this, arguments);
975
989
  };
976
990
  function ln(e, t) {
977
991
  var r = {};
@@ -982,14 +996,46 @@ function ln(e, t) {
982
996
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
983
997
  return r;
984
998
  }
985
- function ke(e, t, r) {
999
+ function bs(e) {
1000
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
1001
+ if (r)
1002
+ return r.call(e);
1003
+ if (e && typeof e.length == "number")
1004
+ return {
1005
+ next: function() {
1006
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
1007
+ }
1008
+ };
1009
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
1010
+ }
1011
+ function ys(e, t) {
1012
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
1013
+ if (!r)
1014
+ return e;
1015
+ var n = r.call(e), i, s = [], o;
1016
+ try {
1017
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
1018
+ s.push(i.value);
1019
+ } catch (a) {
1020
+ o = { error: a };
1021
+ } finally {
1022
+ try {
1023
+ i && !i.done && (r = n.return) && r.call(n);
1024
+ } finally {
1025
+ if (o)
1026
+ throw o.error;
1027
+ }
1028
+ }
1029
+ return s;
1030
+ }
1031
+ function Re(e, t, r) {
986
1032
  if (r || arguments.length === 2)
987
1033
  for (var n = 0, i = t.length, s; n < i; n++)
988
1034
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
989
- return e.concat(s || Array.prototype.slice.call(t));
1035
+ return e.concat(s || t);
990
1036
  }
991
- function Ue(e, t) {
992
- var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : fn;
1037
+ function De(e, t) {
1038
+ var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : cn;
993
1039
  return i(e, {
994
1040
  cache: r,
995
1041
  serializer: n
@@ -998,103 +1044,95 @@ function Ue(e, t) {
998
1044
  function hn(e) {
999
1045
  return e == null || typeof e == "number" || typeof e == "boolean";
1000
1046
  }
1001
- function cn(e, t, r, n) {
1047
+ function Wt(e, t, r, n) {
1002
1048
  var i = hn(n) ? n : r(n), s = t.get(i);
1003
1049
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1004
1050
  }
1005
- function Wt(e, t, r) {
1051
+ function Zt(e, t, r) {
1006
1052
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1007
1053
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1008
1054
  }
1009
- function Zt(e, t, r, n, i) {
1055
+ function ut(e, t, r, n, i) {
1010
1056
  return r.bind(t, e, n, i);
1011
1057
  }
1058
+ function cn(e, t) {
1059
+ var r = e.length === 1 ? Wt : Zt;
1060
+ return ut(e, this, r, t.cache.create(), t.serializer);
1061
+ }
1012
1062
  function fn(e, t) {
1013
- var r = e.length === 1 ? cn : Wt;
1014
- return Zt(e, this, r, t.cache.create(), t.serializer);
1063
+ return ut(e, this, Zt, t.cache.create(), t.serializer);
1015
1064
  }
1016
1065
  function mn(e, t) {
1017
- return Zt(e, this, Wt, t.cache.create(), t.serializer);
1066
+ return ut(e, this, Wt, t.cache.create(), t.serializer);
1018
1067
  }
1019
1068
  var dn = function() {
1020
1069
  return JSON.stringify(arguments);
1021
- }, pn = (
1022
- /** @class */
1023
- function() {
1024
- function e() {
1025
- this.cache = /* @__PURE__ */ Object.create(null);
1026
- }
1027
- return e.prototype.get = function(t) {
1028
- return this.cache[t];
1029
- }, e.prototype.set = function(t, r) {
1030
- this.cache[t] = r;
1031
- }, e;
1032
- }()
1033
- ), gn = {
1070
+ };
1071
+ function lt() {
1072
+ this.cache = /* @__PURE__ */ Object.create(null);
1073
+ }
1074
+ lt.prototype.get = function(e) {
1075
+ return this.cache[e];
1076
+ };
1077
+ lt.prototype.set = function(e, t) {
1078
+ this.cache[e] = t;
1079
+ };
1080
+ var pn = {
1034
1081
  create: function() {
1035
- return new pn();
1082
+ return new lt();
1036
1083
  }
1037
- }, Ge = {
1038
- variadic: mn
1039
- }, Pe = function() {
1040
- return Pe = Object.assign || function(t) {
1041
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1042
- r = arguments[n];
1043
- for (var s in r)
1044
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1045
- }
1046
- return t;
1047
- }, Pe.apply(this, arguments);
1048
- };
1049
- var _;
1084
+ }, ke = {
1085
+ variadic: fn,
1086
+ monadic: mn
1087
+ }, _;
1050
1088
  (function(e) {
1051
1089
  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";
1052
1090
  })(_ || (_ = {}));
1053
- var x;
1091
+ var T;
1054
1092
  (function(e) {
1055
1093
  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";
1056
- })(x || (x = {}));
1057
- var Q;
1094
+ })(T || (T = {}));
1095
+ var q;
1058
1096
  (function(e) {
1059
1097
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1060
- })(Q || (Q = {}));
1098
+ })(q || (q = {}));
1061
1099
  function bt(e) {
1062
- return e.type === x.literal;
1100
+ return e.type === T.literal;
1063
1101
  }
1064
- function bn(e) {
1065
- return e.type === x.argument;
1102
+ function gn(e) {
1103
+ return e.type === T.argument;
1066
1104
  }
1067
1105
  function Jt(e) {
1068
- return e.type === x.number;
1106
+ return e.type === T.number;
1069
1107
  }
1070
1108
  function qt(e) {
1071
- return e.type === x.date;
1109
+ return e.type === T.date;
1072
1110
  }
1073
1111
  function Qt(e) {
1074
- return e.type === x.time;
1112
+ return e.type === T.time;
1075
1113
  }
1076
1114
  function Yt(e) {
1077
- return e.type === x.select;
1115
+ return e.type === T.select;
1078
1116
  }
1079
1117
  function Kt(e) {
1080
- return e.type === x.plural;
1118
+ return e.type === T.plural;
1081
1119
  }
1082
- function yn(e) {
1083
- return e.type === x.pound;
1120
+ function bn(e) {
1121
+ return e.type === T.pound;
1084
1122
  }
1085
1123
  function er(e) {
1086
- return e.type === x.tag;
1124
+ return e.type === T.tag;
1087
1125
  }
1088
1126
  function tr(e) {
1089
- return !!(e && typeof e == "object" && e.type === Q.number);
1127
+ return !!(e && typeof e == "object" && e.type === q.number);
1090
1128
  }
1091
- function Je(e) {
1092
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1129
+ function We(e) {
1130
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1093
1131
  }
1094
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1095
- function En(e) {
1132
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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;
1133
+ function _n(e) {
1096
1134
  var t = {};
1097
- return e.replace(_n, function(r) {
1135
+ return e.replace(yn, function(r) {
1098
1136
  var n = r.length;
1099
1137
  switch (r[0]) {
1100
1138
  case "G":
@@ -1183,18 +1221,8 @@ function En(e) {
1183
1221
  return "";
1184
1222
  }), t;
1185
1223
  }
1186
- var T = function() {
1187
- return T = Object.assign || function(t) {
1188
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1189
- r = arguments[n];
1190
- for (var s in r)
1191
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1192
- }
1193
- return t;
1194
- }, T.apply(this, arguments);
1195
- };
1196
1224
  var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1197
- function xn(e) {
1225
+ function En(e) {
1198
1226
  if (e.length === 0)
1199
1227
  throw new Error("Number skeleton cannot be empty");
1200
1228
  for (var t = e.split(vn).filter(function(f) {
@@ -1212,10 +1240,10 @@ function xn(e) {
1212
1240
  }
1213
1241
  return r;
1214
1242
  }
1215
- function Tn(e) {
1243
+ function xn(e) {
1216
1244
  return e.replace(/^(.*?)-/, "");
1217
1245
  }
1218
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1246
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1219
1247
  function _t(e) {
1220
1248
  var t = {};
1221
1249
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
@@ -1262,7 +1290,7 @@ function sr(e) {
1262
1290
  };
1263
1291
  }
1264
1292
  }
1265
- function Hn(e) {
1293
+ function wn(e) {
1266
1294
  var t;
1267
1295
  if (e[0] === "E" && e[1] === "E" ? (t = {
1268
1296
  notation: "engineering"
@@ -1276,11 +1304,11 @@ function Hn(e) {
1276
1304
  }
1277
1305
  return t;
1278
1306
  }
1279
- function Et(e) {
1307
+ function vt(e) {
1280
1308
  var t = {}, r = sr(e);
1281
1309
  return r || t;
1282
1310
  }
1283
- function Sn(e) {
1311
+ function Hn(e) {
1284
1312
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1285
1313
  var i = n[r];
1286
1314
  switch (i.stem) {
@@ -1304,7 +1332,7 @@ function Sn(e) {
1304
1332
  continue;
1305
1333
  case "measure-unit":
1306
1334
  case "unit":
1307
- t.style = "unit", t.unit = Tn(i.options[0]);
1335
+ t.style = "unit", t.unit = xn(i.options[0]);
1308
1336
  continue;
1309
1337
  case "compact-short":
1310
1338
  case "K":
@@ -1315,13 +1343,13 @@ function Sn(e) {
1315
1343
  t.notation = "compact", t.compactDisplay = "long";
1316
1344
  continue;
1317
1345
  case "scientific":
1318
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1319
- return T(T({}, h), Et(u));
1346
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1347
+ return x(x({}, h), vt(u));
1320
1348
  }, {}));
1321
1349
  continue;
1322
1350
  case "engineering":
1323
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1324
- return T(T({}, h), Et(u));
1351
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1352
+ return x(x({}, h), vt(u));
1325
1353
  }, {}));
1326
1354
  continue;
1327
1355
  case "notation-simple":
@@ -1366,7 +1394,7 @@ function Sn(e) {
1366
1394
  case "integer-width":
1367
1395
  if (i.options.length > 1)
1368
1396
  throw new RangeError("integer-width stems only accept a single optional option");
1369
- i.options[0].replace(wn, function(h, u, l, c, f, y) {
1397
+ i.options[0].replace(Tn, function(h, u, l, c, f, y) {
1370
1398
  if (u)
1371
1399
  t.minimumIntegerDigits = l.length;
1372
1400
  else {
@@ -1390,21 +1418,21 @@ function Sn(e) {
1390
1418
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && y ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1391
1419
  });
1392
1420
  var s = i.options[0];
1393
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), _t(s)));
1421
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), _t(s)));
1394
1422
  continue;
1395
1423
  }
1396
1424
  if (nr.test(i.stem)) {
1397
- t = T(T({}, t), _t(i.stem));
1425
+ t = x(x({}, t), _t(i.stem));
1398
1426
  continue;
1399
1427
  }
1400
1428
  var o = sr(i.stem);
1401
- o && (t = T(T({}, t), o));
1402
- var a = Hn(i.stem);
1403
- a && (t = T(T({}, t), a));
1429
+ o && (t = x(x({}, t), o));
1430
+ var a = wn(i.stem);
1431
+ a && (t = x(x({}, t), a));
1404
1432
  }
1405
1433
  return t;
1406
1434
  }
1407
- var ge = {
1435
+ var pe = {
1408
1436
  "001": [
1409
1437
  "H",
1410
1438
  "h"
@@ -2819,13 +2847,13 @@ var ge = {
2819
2847
  "h"
2820
2848
  ]
2821
2849
  };
2822
- function Bn(e, t) {
2850
+ function Sn(e, t) {
2823
2851
  for (var r = "", n = 0; n < e.length; n++) {
2824
2852
  var i = e.charAt(n);
2825
2853
  if (i === "j") {
2826
2854
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2827
2855
  s++, n++;
2828
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = An(t);
2856
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Bn(t);
2829
2857
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2830
2858
  r += h;
2831
2859
  for (; o-- > 0; )
@@ -2835,7 +2863,7 @@ function Bn(e, t) {
2835
2863
  }
2836
2864
  return r;
2837
2865
  }
2838
- function An(e) {
2866
+ function Bn(e) {
2839
2867
  var t = e.hourCycle;
2840
2868
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2841
2869
  e.hourCycles && // @ts-ignore
@@ -2854,23 +2882,23 @@ function An(e) {
2854
2882
  }
2855
2883
  var r = e.language, n;
2856
2884
  r !== "root" && (n = e.maximize().region);
2857
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2885
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2858
2886
  return i[0];
2859
2887
  }
2860
- var Fe, Pn = new RegExp("^".concat(rr.source, "*")), On = new RegExp("".concat(rr.source, "*$"));
2861
- function v(e, t) {
2888
+ var Ue, An = new RegExp("^".concat(rr.source, "*")), Pn = new RegExp("".concat(rr.source, "*$"));
2889
+ function E(e, t) {
2862
2890
  return { start: e, end: t };
2863
2891
  }
2864
- var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
2892
+ var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Cn = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
2865
2893
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2866
- }, qe = !0;
2894
+ }, Ze = !0;
2867
2895
  try {
2868
- var kn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2869
- qe = ((Fe = kn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2896
+ var Dn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2897
+ Ze = ((Ue = Dn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2870
2898
  } catch {
2871
- qe = !1;
2899
+ Ze = !1;
2872
2900
  }
2873
- var vt = Cn ? (
2901
+ var Et = On ? (
2874
2902
  // Native
2875
2903
  function(t, r, n) {
2876
2904
  return t.startsWith(r, n);
@@ -2880,7 +2908,7 @@ var vt = Cn ? (
2880
2908
  function(t, r, n) {
2881
2909
  return t.slice(n, n + r.length) === r;
2882
2910
  }
2883
- ), Qe = In ? String.fromCodePoint : (
2911
+ ), Je = In ? String.fromCodePoint : (
2884
2912
  // IE11
2885
2913
  function() {
2886
2914
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2894,7 +2922,7 @@ var vt = Cn ? (
2894
2922
  }
2895
2923
  ), xt = (
2896
2924
  // native
2897
- Nn ? Object.fromEntries : (
2925
+ Cn ? Object.fromEntries : (
2898
2926
  // Ponyfill
2899
2927
  function(t) {
2900
2928
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2918,7 +2946,7 @@ var vt = Cn ? (
2918
2946
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2919
2947
  }
2920
2948
  }
2921
- ), Un = Ln ? (
2949
+ ), kn = Nn ? (
2922
2950
  // Native
2923
2951
  function(t) {
2924
2952
  return t.trimStart();
@@ -2926,9 +2954,9 @@ var vt = Cn ? (
2926
2954
  ) : (
2927
2955
  // Ponyfill
2928
2956
  function(t) {
2929
- return t.replace(Pn, "");
2957
+ return t.replace(An, "");
2930
2958
  }
2931
- ), Gn = $n ? (
2959
+ ), Un = Ln ? (
2932
2960
  // Native
2933
2961
  function(t) {
2934
2962
  return t.trimEnd();
@@ -2936,32 +2964,32 @@ var vt = Cn ? (
2936
2964
  ) : (
2937
2965
  // Ponyfill
2938
2966
  function(t) {
2939
- return t.replace(On, "");
2967
+ return t.replace(Pn, "");
2940
2968
  }
2941
2969
  );
2942
2970
  function ar(e, t) {
2943
2971
  return new RegExp(e, t);
2944
2972
  }
2945
- var Ye;
2946
- if (qe) {
2973
+ var qe;
2974
+ if (Ze) {
2947
2975
  var Tt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2948
- Ye = function(t, r) {
2976
+ qe = function(t, r) {
2949
2977
  var n;
2950
2978
  Tt.lastIndex = r;
2951
2979
  var i = Tt.exec(t);
2952
2980
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2953
2981
  };
2954
2982
  } else
2955
- Ye = function(t, r) {
2983
+ qe = function(t, r) {
2956
2984
  for (var n = []; ; ) {
2957
2985
  var i = or(t, r);
2958
- if (i === void 0 || ur(i) || Vn(i))
2986
+ if (i === void 0 || ur(i) || zn(i))
2959
2987
  break;
2960
2988
  n.push(i), r += i >= 65536 ? 2 : 1;
2961
2989
  }
2962
- return Qe.apply(void 0, n);
2990
+ return Je.apply(void 0, n);
2963
2991
  };
2964
- var Fn = (
2992
+ var Gn = (
2965
2993
  /** @class */
2966
2994
  function() {
2967
2995
  function e(t, r) {
@@ -2985,14 +3013,14 @@ var Fn = (
2985
3013
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2986
3014
  var a = this.clonePosition();
2987
3015
  this.bump(), i.push({
2988
- type: x.pound,
2989
- location: v(a, this.clonePosition())
3016
+ type: T.pound,
3017
+ location: E(a, this.clonePosition())
2990
3018
  });
2991
3019
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2992
3020
  if (n)
2993
3021
  break;
2994
- return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2995
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3022
+ return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3023
+ } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2996
3024
  var o = this.parseTag(t, r);
2997
3025
  if (o.err)
2998
3026
  return o;
@@ -3013,9 +3041,9 @@ var Fn = (
3013
3041
  if (this.bumpSpace(), this.bumpIf("/>"))
3014
3042
  return {
3015
3043
  val: {
3016
- type: x.literal,
3044
+ type: T.literal,
3017
3045
  value: "<".concat(i, "/>"),
3018
- location: v(n, this.clonePosition())
3046
+ location: E(n, this.clonePosition())
3019
3047
  },
3020
3048
  err: null
3021
3049
  };
@@ -3025,25 +3053,25 @@ var Fn = (
3025
3053
  return s;
3026
3054
  var o = s.val, a = this.clonePosition();
3027
3055
  if (this.bumpIf("</")) {
3028
- if (this.isEOF() || !Ke(this.char()))
3029
- return this.error(_.INVALID_TAG, v(a, this.clonePosition()));
3056
+ if (this.isEOF() || !Qe(this.char()))
3057
+ return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3030
3058
  var h = this.clonePosition(), u = this.parseTagName();
3031
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3059
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3032
3060
  val: {
3033
- type: x.tag,
3061
+ type: T.tag,
3034
3062
  value: i,
3035
3063
  children: o,
3036
- location: v(n, this.clonePosition())
3064
+ location: E(n, this.clonePosition())
3037
3065
  },
3038
3066
  err: null
3039
- } : this.error(_.INVALID_TAG, v(a, this.clonePosition())));
3067
+ } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3040
3068
  } else
3041
- return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
3069
+ return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3042
3070
  } else
3043
- return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
3071
+ return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3044
3072
  }, e.prototype.parseTagName = function() {
3045
3073
  var t = this.offset();
3046
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3074
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
3047
3075
  this.bump();
3048
3076
  return this.message.slice(t, this.offset());
3049
3077
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3065,14 +3093,14 @@ var Fn = (
3065
3093
  }
3066
3094
  break;
3067
3095
  }
3068
- var h = v(n, this.clonePosition());
3096
+ var h = E(n, this.clonePosition());
3069
3097
  return {
3070
- val: { type: x.literal, value: i, location: h },
3098
+ val: { type: T.literal, value: i, location: h },
3071
3099
  err: null
3072
3100
  };
3073
3101
  }, e.prototype.tryParseLeftAngleBracket = function() {
3074
3102
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3075
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3103
+ !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3076
3104
  }, e.prototype.tryParseQuote = function(t) {
3077
3105
  if (this.isEOF() || this.char() !== 39)
3078
3106
  return null;
@@ -3106,49 +3134,49 @@ var Fn = (
3106
3134
  r.push(n);
3107
3135
  this.bump();
3108
3136
  }
3109
- return Qe.apply(void 0, r);
3137
+ return Je.apply(void 0, r);
3110
3138
  }, e.prototype.tryParseUnquoted = function(t, r) {
3111
3139
  if (this.isEOF())
3112
3140
  return null;
3113
3141
  var n = this.char();
3114
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3142
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3115
3143
  }, e.prototype.parseArgument = function(t, r) {
3116
3144
  var n = this.clonePosition();
3117
3145
  if (this.bump(), this.bumpSpace(), this.isEOF())
3118
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3146
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3119
3147
  if (this.char() === 125)
3120
- return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3148
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3121
3149
  var i = this.parseIdentifierIfPossible().value;
3122
3150
  if (!i)
3123
- return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3151
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3124
3152
  if (this.bumpSpace(), this.isEOF())
3125
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3153
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3126
3154
  switch (this.char()) {
3127
3155
  case 125:
3128
3156
  return this.bump(), {
3129
3157
  val: {
3130
- type: x.argument,
3158
+ type: T.argument,
3131
3159
  // value does not include the opening and closing braces.
3132
3160
  value: i,
3133
- location: v(n, this.clonePosition())
3161
+ location: E(n, this.clonePosition())
3134
3162
  },
3135
3163
  err: null
3136
3164
  };
3137
3165
  case 44:
3138
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3166
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3139
3167
  default:
3140
- return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3168
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3141
3169
  }
3142
3170
  }, e.prototype.parseIdentifierIfPossible = function() {
3143
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3171
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3144
3172
  this.bumpTo(i);
3145
- var s = this.clonePosition(), o = v(t, s);
3173
+ var s = this.clonePosition(), o = E(t, s);
3146
3174
  return { value: n, location: o };
3147
3175
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3148
3176
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3149
3177
  switch (a) {
3150
3178
  case "":
3151
- return this.error(_.EXPECT_ARGUMENT_TYPE, v(o, h));
3179
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, h));
3152
3180
  case "number":
3153
3181
  case "date":
3154
3182
  case "time": {
@@ -3159,44 +3187,44 @@ var Fn = (
3159
3187
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3160
3188
  if (c.err)
3161
3189
  return c;
3162
- var f = Gn(c.val);
3190
+ var f = Un(c.val);
3163
3191
  if (f.length === 0)
3164
- return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3165
- var y = v(l, this.clonePosition());
3192
+ return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3193
+ var y = E(l, this.clonePosition());
3166
3194
  u = { style: f, styleLocation: y };
3167
3195
  }
3168
3196
  var m = this.tryParseArgumentClose(i);
3169
3197
  if (m.err)
3170
3198
  return m;
3171
- var p = v(i, this.clonePosition());
3172
- if (u && vt(u?.style, "::", 0)) {
3173
- var g = Un(u.style.slice(2));
3199
+ var p = E(i, this.clonePosition());
3200
+ if (u && Et(u?.style, "::", 0)) {
3201
+ var g = kn(u.style.slice(2));
3174
3202
  if (a === "number") {
3175
3203
  var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3176
3204
  return c.err ? c : {
3177
- val: { type: x.number, value: n, location: p, style: c.val },
3205
+ val: { type: T.number, value: n, location: p, style: c.val },
3178
3206
  err: null
3179
3207
  };
3180
3208
  } else {
3181
3209
  if (g.length === 0)
3182
3210
  return this.error(_.EXPECT_DATE_TIME_SKELETON, p);
3183
3211
  var d = g;
3184
- this.locale && (d = Bn(g, this.locale));
3212
+ this.locale && (d = Sn(g, this.locale));
3185
3213
  var f = {
3186
- type: Q.dateTime,
3214
+ type: q.dateTime,
3187
3215
  pattern: d,
3188
3216
  location: u.styleLocation,
3189
- parsedOptions: this.shouldParseSkeletons ? En(d) : {}
3190
- }, E = a === "date" ? x.date : x.time;
3217
+ parsedOptions: this.shouldParseSkeletons ? _n(d) : {}
3218
+ }, v = a === "date" ? T.date : T.time;
3191
3219
  return {
3192
- val: { type: E, value: n, location: p, style: f },
3220
+ val: { type: v, value: n, location: p, style: f },
3193
3221
  err: null
3194
3222
  };
3195
3223
  }
3196
3224
  }
3197
3225
  return {
3198
3226
  val: {
3199
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3227
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3200
3228
  value: n,
3201
3229
  location: p,
3202
3230
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -3209,38 +3237,38 @@ var Fn = (
3209
3237
  case "select": {
3210
3238
  var b = this.clonePosition();
3211
3239
  if (this.bumpSpace(), !this.bumpIf(","))
3212
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(b, Pe({}, b)));
3240
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(b, x({}, b)));
3213
3241
  this.bumpSpace();
3214
3242
  var w = this.parseIdentifierIfPossible(), H = 0;
3215
3243
  if (a !== "select" && w.value === "offset") {
3216
3244
  if (!this.bumpIf(":"))
3217
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3245
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3218
3246
  this.bumpSpace();
3219
3247
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3220
3248
  if (c.err)
3221
3249
  return c;
3222
3250
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = c.val;
3223
3251
  }
3224
- var F = this.tryParsePluralOrSelectOptions(t, a, r, w);
3225
- if (F.err)
3226
- return F;
3252
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, w);
3253
+ if (G.err)
3254
+ return G;
3227
3255
  var m = this.tryParseArgumentClose(i);
3228
3256
  if (m.err)
3229
3257
  return m;
3230
- var ft = v(i, this.clonePosition());
3258
+ var ft = E(i, this.clonePosition());
3231
3259
  return a === "select" ? {
3232
3260
  val: {
3233
- type: x.select,
3261
+ type: T.select,
3234
3262
  value: n,
3235
- options: xt(F.val),
3263
+ options: xt(G.val),
3236
3264
  location: ft
3237
3265
  },
3238
3266
  err: null
3239
3267
  } : {
3240
3268
  val: {
3241
- type: x.plural,
3269
+ type: T.plural,
3242
3270
  value: n,
3243
- options: xt(F.val),
3271
+ options: xt(G.val),
3244
3272
  offset: H,
3245
3273
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3246
3274
  location: ft
@@ -3249,10 +3277,10 @@ var Fn = (
3249
3277
  };
3250
3278
  }
3251
3279
  default:
3252
- return this.error(_.INVALID_ARGUMENT_TYPE, v(o, h));
3280
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(o, h));
3253
3281
  }
3254
3282
  }, e.prototype.tryParseArgumentClose = function(t) {
3255
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3283
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3256
3284
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3257
3285
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3258
3286
  var n = this.char();
@@ -3261,7 +3289,7 @@ var Fn = (
3261
3289
  this.bump();
3262
3290
  var i = this.clonePosition();
3263
3291
  if (!this.bumpUntil("'"))
3264
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3292
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3265
3293
  this.bump();
3266
3294
  break;
3267
3295
  }
@@ -3291,16 +3319,16 @@ var Fn = (
3291
3319
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3292
3320
  var n = [];
3293
3321
  try {
3294
- n = xn(t);
3322
+ n = En(t);
3295
3323
  } catch {
3296
3324
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3297
3325
  }
3298
3326
  return {
3299
3327
  val: {
3300
- type: Q.number,
3328
+ type: q.number,
3301
3329
  tokens: n,
3302
3330
  location: r,
3303
- parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3331
+ parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3304
3332
  },
3305
3333
  err: null
3306
3334
  };
@@ -3312,7 +3340,7 @@ var Fn = (
3312
3340
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3313
3341
  if (f.err)
3314
3342
  return f;
3315
- l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3343
+ l = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3316
3344
  } else
3317
3345
  break;
3318
3346
  }
@@ -3321,7 +3349,7 @@ var Fn = (
3321
3349
  u === "other" && (o = !0), this.bumpSpace();
3322
3350
  var y = this.clonePosition();
3323
3351
  if (!this.bumpIf("{"))
3324
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3352
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3325
3353
  var m = this.parseMessage(t + 1, r, n);
3326
3354
  if (m.err)
3327
3355
  return m;
@@ -3332,11 +3360,11 @@ var Fn = (
3332
3360
  u,
3333
3361
  {
3334
3362
  value: m.val,
3335
- location: v(y, this.clonePosition())
3363
+ location: E(y, this.clonePosition())
3336
3364
  }
3337
3365
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3338
3366
  }
3339
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3367
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3340
3368
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3341
3369
  var n = 1, i = this.clonePosition();
3342
3370
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3347,8 +3375,8 @@ var Fn = (
3347
3375
  else
3348
3376
  break;
3349
3377
  }
3350
- var h = v(i, this.clonePosition());
3351
- return s ? (o *= n, Dn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3378
+ var h = E(i, this.clonePosition());
3379
+ return s ? (o *= n, Rn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3352
3380
  }, e.prototype.offset = function() {
3353
3381
  return this.position.offset;
3354
3382
  }, e.prototype.isEOF = function() {
@@ -3382,7 +3410,7 @@ var Fn = (
3382
3410
  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);
3383
3411
  }
3384
3412
  }, e.prototype.bumpIf = function(t) {
3385
- if (vt(this.message, t, this.offset())) {
3413
+ if (Et(this.message, t, this.offset())) {
3386
3414
  for (var r = 0; r < t.length; r++)
3387
3415
  this.bump();
3388
3416
  return !0;
@@ -3414,47 +3442,47 @@ var Fn = (
3414
3442
  }, e;
3415
3443
  }()
3416
3444
  );
3417
- function Ke(e) {
3445
+ function Qe(e) {
3418
3446
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3419
3447
  }
3420
- function jn(e) {
3421
- return Ke(e) || e === 47;
3448
+ function Fn(e) {
3449
+ return Qe(e) || e === 47;
3422
3450
  }
3423
- function zn(e) {
3451
+ function jn(e) {
3424
3452
  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;
3425
3453
  }
3426
3454
  function ur(e) {
3427
3455
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3428
3456
  }
3429
- function Vn(e) {
3457
+ function zn(e) {
3430
3458
  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;
3431
3459
  }
3432
- function et(e) {
3460
+ function Ye(e) {
3433
3461
  e.forEach(function(t) {
3434
3462
  if (delete t.location, Yt(t) || Kt(t))
3435
3463
  for (var r in t.options)
3436
- delete t.options[r].location, et(t.options[r].value);
3464
+ delete t.options[r].location, Ye(t.options[r].value);
3437
3465
  else
3438
- Jt(t) && tr(t.style) || (qt(t) || Qt(t)) && Je(t.style) ? delete t.style.location : er(t) && et(t.children);
3466
+ Jt(t) && tr(t.style) || (qt(t) || Qt(t)) && We(t.style) ? delete t.style.location : er(t) && Ye(t.children);
3439
3467
  });
3440
3468
  }
3441
- function Xn(e, t) {
3442
- t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3443
- var r = new Fn(e, t).parse();
3469
+ function Vn(e, t) {
3470
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3471
+ var r = new Gn(e, t).parse();
3444
3472
  if (r.err) {
3445
3473
  var n = SyntaxError(_[r.err.kind]);
3446
3474
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3447
3475
  }
3448
- return t?.captureLocation || et(r.val), r.val;
3476
+ return t?.captureLocation || Ye(r.val), r.val;
3449
3477
  }
3450
- var Y;
3478
+ var Q;
3451
3479
  (function(e) {
3452
3480
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3453
- })(Y || (Y = {}));
3454
- var Le = (
3481
+ })(Q || (Q = {}));
3482
+ var Me = (
3455
3483
  /** @class */
3456
3484
  function(e) {
3457
- Me(t, e);
3485
+ Ce(t, e);
3458
3486
  function t(r, n, i) {
3459
3487
  var s = e.call(this, r) || this;
3460
3488
  return s.code = n, s.originalMessage = i, s;
@@ -3466,44 +3494,44 @@ var Le = (
3466
3494
  ), wt = (
3467
3495
  /** @class */
3468
3496
  function(e) {
3469
- Me(t, e);
3497
+ Ce(t, e);
3470
3498
  function t(r, n, i, s) {
3471
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3499
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
3472
3500
  }
3473
3501
  return t;
3474
- }(Le)
3475
- ), Wn = (
3502
+ }(Me)
3503
+ ), Xn = (
3476
3504
  /** @class */
3477
3505
  function(e) {
3478
- Me(t, e);
3506
+ Ce(t, e);
3479
3507
  function t(r, n, i) {
3480
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3508
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3481
3509
  }
3482
3510
  return t;
3483
- }(Le)
3484
- ), Zn = (
3511
+ }(Me)
3512
+ ), Wn = (
3485
3513
  /** @class */
3486
3514
  function(e) {
3487
- Me(t, e);
3515
+ Ce(t, e);
3488
3516
  function t(r, n) {
3489
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3517
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3490
3518
  }
3491
3519
  return t;
3492
- }(Le)
3520
+ }(Me)
3493
3521
  ), S;
3494
3522
  (function(e) {
3495
3523
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3496
3524
  })(S || (S = {}));
3497
- function Jn(e) {
3525
+ function Zn(e) {
3498
3526
  return e.length < 2 ? e : e.reduce(function(t, r) {
3499
3527
  var n = t[t.length - 1];
3500
3528
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3501
3529
  }, []);
3502
3530
  }
3503
- function qn(e) {
3531
+ function Jn(e) {
3504
3532
  return typeof e == "function";
3505
3533
  }
3506
- function Te(e, t, r, n, i, s, o) {
3534
+ function xe(e, t, r, n, i, s, o) {
3507
3535
  if (e.length === 1 && bt(e[0]))
3508
3536
  return [
3509
3537
  {
@@ -3520,7 +3548,7 @@ function Te(e, t, r, n, i, s, o) {
3520
3548
  });
3521
3549
  continue;
3522
3550
  }
3523
- if (yn(l)) {
3551
+ if (bn(l)) {
3524
3552
  typeof s == "number" && a.push({
3525
3553
  type: S.literal,
3526
3554
  value: r.getNumberFormat(t).format(s)
@@ -3529,9 +3557,9 @@ function Te(e, t, r, n, i, s, o) {
3529
3557
  }
3530
3558
  var c = l.value;
3531
3559
  if (!(i && c in i))
3532
- throw new Zn(c, o);
3560
+ throw new Wn(c, o);
3533
3561
  var f = i[c];
3534
- if (bn(l)) {
3562
+ if (gn(l)) {
3535
3563
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3536
3564
  type: typeof f == "string" ? S.literal : S.object,
3537
3565
  value: f
@@ -3539,7 +3567,7 @@ function Te(e, t, r, n, i, s, o) {
3539
3567
  continue;
3540
3568
  }
3541
3569
  if (qt(l)) {
3542
- var y = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
3570
+ var y = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
3543
3571
  a.push({
3544
3572
  type: S.literal,
3545
3573
  value: r.getDateTimeFormat(t, y).format(f)
@@ -3547,7 +3575,7 @@ function Te(e, t, r, n, i, s, o) {
3547
3575
  continue;
3548
3576
  }
3549
3577
  if (Qt(l)) {
3550
- var y = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
3578
+ var y = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
3551
3579
  a.push({
3552
3580
  type: S.literal,
3553
3581
  value: r.getDateTimeFormat(t, y).format(f)
@@ -3564,12 +3592,12 @@ function Te(e, t, r, n, i, s, o) {
3564
3592
  }
3565
3593
  if (er(l)) {
3566
3594
  var m = l.children, p = l.value, g = i[p];
3567
- if (!qn(g))
3568
- throw new Wn(p, "function", o);
3569
- var d = Te(m, t, r, n, i, s), E = g(d.map(function(H) {
3595
+ if (!Jn(g))
3596
+ throw new Xn(p, "function", o);
3597
+ var d = xe(m, t, r, n, i, s), v = g(d.map(function(H) {
3570
3598
  return H.value;
3571
3599
  }));
3572
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(H) {
3600
+ Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(H) {
3573
3601
  return {
3574
3602
  type: typeof H == "string" ? S.literal : S.object,
3575
3603
  value: H
@@ -3580,38 +3608,38 @@ function Te(e, t, r, n, i, s, o) {
3580
3608
  var b = l.options[f] || l.options.other;
3581
3609
  if (!b)
3582
3610
  throw new wt(l.value, f, Object.keys(l.options), o);
3583
- a.push.apply(a, Te(b.value, t, r, n, i));
3611
+ a.push.apply(a, xe(b.value, t, r, n, i));
3584
3612
  continue;
3585
3613
  }
3586
3614
  if (Kt(l)) {
3587
3615
  var b = l.options["=".concat(f)];
3588
3616
  if (!b) {
3589
3617
  if (!Intl.PluralRules)
3590
- throw new Le(`Intl.PluralRules is not available in this environment.
3618
+ throw new Me(`Intl.PluralRules is not available in this environment.
3591
3619
  Try polyfilling it using "@formatjs/intl-pluralrules"
3592
- `, Y.MISSING_INTL_API, o);
3620
+ `, Q.MISSING_INTL_API, o);
3593
3621
  var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3594
3622
  b = l.options[w] || l.options.other;
3595
3623
  }
3596
3624
  if (!b)
3597
3625
  throw new wt(l.value, f, Object.keys(l.options), o);
3598
- a.push.apply(a, Te(b.value, t, r, n, i, f - (l.offset || 0)));
3626
+ a.push.apply(a, xe(b.value, t, r, n, i, f - (l.offset || 0)));
3599
3627
  continue;
3600
3628
  }
3601
3629
  }
3602
- return Jn(a);
3630
+ return Zn(a);
3603
3631
  }
3604
- function Qn(e, t) {
3605
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3606
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3632
+ function qn(e, t) {
3633
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3634
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3607
3635
  }, {})) : e;
3608
3636
  }
3609
- function Yn(e, t) {
3637
+ function Qn(e, t) {
3610
3638
  return t ? Object.keys(e).reduce(function(r, n) {
3611
- return r[n] = Qn(e[n], t[n]), r;
3612
- }, C({}, e)) : e;
3639
+ return r[n] = qn(e[n], t[n]), r;
3640
+ }, x({}, e)) : e;
3613
3641
  }
3614
- function je(e) {
3642
+ function Ge(e) {
3615
3643
  return {
3616
3644
  create: function() {
3617
3645
  return {
@@ -3625,35 +3653,35 @@ function je(e) {
3625
3653
  }
3626
3654
  };
3627
3655
  }
3628
- function Kn(e) {
3656
+ function Yn(e) {
3629
3657
  return e === void 0 && (e = {
3630
3658
  number: {},
3631
3659
  dateTime: {},
3632
3660
  pluralRules: {}
3633
3661
  }), {
3634
- getNumberFormat: Ue(function() {
3662
+ getNumberFormat: De(function() {
3635
3663
  for (var t, r = [], n = 0; n < arguments.length; n++)
3636
3664
  r[n] = arguments[n];
3637
- return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3665
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3638
3666
  }, {
3639
- cache: je(e.number),
3640
- strategy: Ge.variadic
3667
+ cache: Ge(e.number),
3668
+ strategy: ke.variadic
3641
3669
  }),
3642
- getDateTimeFormat: Ue(function() {
3670
+ getDateTimeFormat: De(function() {
3643
3671
  for (var t, r = [], n = 0; n < arguments.length; n++)
3644
3672
  r[n] = arguments[n];
3645
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3673
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3646
3674
  }, {
3647
- cache: je(e.dateTime),
3648
- strategy: Ge.variadic
3675
+ cache: Ge(e.dateTime),
3676
+ strategy: ke.variadic
3649
3677
  }),
3650
- getPluralRules: Ue(function() {
3678
+ getPluralRules: De(function() {
3651
3679
  for (var t, r = [], n = 0; n < arguments.length; n++)
3652
3680
  r[n] = arguments[n];
3653
- return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3681
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3654
3682
  }, {
3655
- cache: je(e.pluralRules),
3656
- strategy: Ge.variadic
3683
+ cache: Ge(e.pluralRules),
3684
+ strategy: ke.variadic
3657
3685
  })
3658
3686
  };
3659
3687
  }
@@ -3676,7 +3704,7 @@ var lr = (
3676
3704
  }, []);
3677
3705
  return l.length <= 1 ? l[0] || "" : l;
3678
3706
  }, this.formatToParts = function(h) {
3679
- return Te(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3707
+ return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3680
3708
  }, this.resolvedOptions = function() {
3681
3709
  var h;
3682
3710
  return {
@@ -3690,12 +3718,12 @@ var lr = (
3690
3718
  var o = i || {};
3691
3719
  o.formatters;
3692
3720
  var a = ln(o, ["formatters"]);
3693
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3721
+ this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3694
3722
  } else
3695
3723
  this.ast = t;
3696
3724
  if (!Array.isArray(this.ast))
3697
3725
  throw new TypeError("A message must be provided as a String or AST.");
3698
- this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
3726
+ this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3699
3727
  }
3700
3728
  return Object.defineProperty(e, "defaultLocale", {
3701
3729
  get: function() {
@@ -3708,7 +3736,7 @@ var lr = (
3708
3736
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3709
3737
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3710
3738
  }
3711
- }, e.__parse = Xn, e.formats = {
3739
+ }, e.__parse = Vn, e.formats = {
3712
3740
  number: {
3713
3741
  integer: {
3714
3742
  maximumFractionDigits: 0
@@ -3769,7 +3797,7 @@ var lr = (
3769
3797
  }, e;
3770
3798
  }()
3771
3799
  );
3772
- function ei(e, t) {
3800
+ function Kn(e, t) {
3773
3801
  if (t == null)
3774
3802
  return;
3775
3803
  if (t in e)
@@ -3790,36 +3818,36 @@ function ei(e, t) {
3790
3818
  n = void 0;
3791
3819
  return n;
3792
3820
  }
3793
- const L = {}, ti = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), hr = (e, t) => {
3821
+ const N = {}, ei = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), hr = (e, t) => {
3794
3822
  if (t == null)
3795
3823
  return;
3796
- if (t in L && e in L[t])
3797
- return L[t][e];
3798
- const r = fe(t);
3824
+ if (t in N && e in N[t])
3825
+ return N[t][e];
3826
+ const r = ce(t);
3799
3827
  for (let n = 0; n < r.length; n++) {
3800
- const i = r[n], s = ni(i, e);
3828
+ const i = r[n], s = ri(i, e);
3801
3829
  if (s)
3802
- return ti(e, t, s);
3830
+ return ei(e, t, s);
3803
3831
  }
3804
3832
  };
3805
3833
  let ht;
3806
- const ce = Ne({});
3807
- function ri(e) {
3834
+ const he = Ie({});
3835
+ function ti(e) {
3808
3836
  return ht[e] || null;
3809
3837
  }
3810
3838
  function cr(e) {
3811
3839
  return e in ht;
3812
3840
  }
3813
- function ni(e, t) {
3841
+ function ri(e, t) {
3814
3842
  if (!cr(e))
3815
3843
  return null;
3816
- const r = ri(e);
3817
- return ei(r, t);
3844
+ const r = ti(e);
3845
+ return Kn(r, t);
3818
3846
  }
3819
- function ii(e) {
3847
+ function ni(e) {
3820
3848
  if (e == null)
3821
3849
  return;
3822
- const t = fe(e);
3850
+ const t = ce(e);
3823
3851
  for (let r = 0; r < t.length; r++) {
3824
3852
  const n = t[r];
3825
3853
  if (cr(n))
@@ -3827,64 +3855,64 @@ function ii(e) {
3827
3855
  }
3828
3856
  }
3829
3857
  function fr(e, ...t) {
3830
- delete L[e], ce.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3858
+ delete N[e], he.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3831
3859
  }
3832
- te(
3833
- [ce],
3860
+ ee(
3861
+ [he],
3834
3862
  ([e]) => Object.keys(e)
3835
3863
  );
3836
- ce.subscribe((e) => ht = e);
3837
- const we = {};
3838
- function si(e, t) {
3839
- we[e].delete(t), we[e].size === 0 && delete we[e];
3864
+ he.subscribe((e) => ht = e);
3865
+ const Te = {};
3866
+ function ii(e, t) {
3867
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3840
3868
  }
3841
3869
  function mr(e) {
3842
- return we[e];
3870
+ return Te[e];
3843
3871
  }
3844
- function oi(e) {
3845
- return fe(e).map((t) => {
3872
+ function si(e) {
3873
+ return ce(e).map((t) => {
3846
3874
  const r = mr(t);
3847
3875
  return [t, r ? [...r] : []];
3848
3876
  }).filter(([, t]) => t.length > 0);
3849
3877
  }
3850
- function Oe(e) {
3851
- return e == null ? !1 : fe(e).some(
3878
+ function Ae(e) {
3879
+ return e == null ? !1 : ce(e).some(
3852
3880
  (t) => {
3853
3881
  var r;
3854
3882
  return (r = mr(t)) == null ? void 0 : r.size;
3855
3883
  }
3856
3884
  );
3857
3885
  }
3858
- function ai(e, t) {
3886
+ function oi(e, t) {
3859
3887
  return Promise.all(
3860
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3888
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3861
3889
  ).then((n) => fr(e, ...n));
3862
3890
  }
3863
- const ie = {};
3891
+ const ne = {};
3864
3892
  function dr(e) {
3865
- if (!Oe(e))
3866
- return e in ie ? ie[e] : Promise.resolve();
3867
- const t = oi(e);
3868
- return ie[e] = Promise.all(
3893
+ if (!Ae(e))
3894
+ return e in ne ? ne[e] : Promise.resolve();
3895
+ const t = si(e);
3896
+ return ne[e] = Promise.all(
3869
3897
  t.map(
3870
- ([r, n]) => ai(r, n)
3898
+ ([r, n]) => oi(r, n)
3871
3899
  )
3872
3900
  ).then(() => {
3873
- if (Oe(e))
3901
+ if (Ae(e))
3874
3902
  return dr(e);
3875
- delete ie[e];
3876
- }), ie[e];
3903
+ delete ne[e];
3904
+ }), ne[e];
3877
3905
  }
3878
- var Ht = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, hi = (e, t) => {
3906
+ var Ht = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, li = (e, t) => {
3879
3907
  var r = {};
3880
3908
  for (var n in e)
3881
- ui.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3909
+ ai.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3882
3910
  if (e != null && Ht)
3883
3911
  for (var n of Ht(e))
3884
- t.indexOf(n) < 0 && li.call(e, n) && (r[n] = e[n]);
3912
+ t.indexOf(n) < 0 && ui.call(e, n) && (r[n] = e[n]);
3885
3913
  return r;
3886
3914
  };
3887
- const ci = {
3915
+ const hi = {
3888
3916
  number: {
3889
3917
  scientific: { notation: "scientific" },
3890
3918
  engineering: { notation: "engineering" },
@@ -3914,28 +3942,28 @@ const ci = {
3914
3942
  }
3915
3943
  }
3916
3944
  };
3917
- function fi({ locale: e, id: t }) {
3945
+ function ci({ locale: e, id: t }) {
3918
3946
  console.warn(
3919
- `[svelte-i18n] The message "${t}" was not found in "${fe(
3947
+ `[svelte-i18n] The message "${t}" was not found in "${ce(
3920
3948
  e
3921
- ).join('", "')}".${Oe(k()) ? `
3949
+ ).join('", "')}".${Ae(D()) ? `
3922
3950
 
3923
3951
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3924
3952
  );
3925
3953
  }
3926
- const mi = {
3954
+ const fi = {
3927
3955
  fallbackLocale: null,
3928
3956
  loadingDelay: 200,
3929
- formats: ci,
3957
+ formats: hi,
3930
3958
  warnOnMissingMessages: !0,
3931
3959
  handleMissingMessage: void 0,
3932
3960
  ignoreTag: !0
3933
- }, se = mi;
3934
- function K() {
3935
- return se;
3961
+ }, ie = fi;
3962
+ function Y() {
3963
+ return ie;
3936
3964
  }
3937
- function di(e) {
3938
- const t = e, { formats: r } = t, n = hi(t, ["formats"]);
3965
+ function mi(e) {
3966
+ const t = e, { formats: r } = t, n = li(t, ["formats"]);
3939
3967
  let i = e.fallbackLocale;
3940
3968
  if (e.initialLocale)
3941
3969
  try {
@@ -3945,134 +3973,134 @@ function di(e) {
3945
3973
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3946
3974
  );
3947
3975
  }
3948
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = fi : console.warn(
3976
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ci : console.warn(
3949
3977
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3950
- )), Object.assign(se, n, { initialLocale: i }), r && ("number" in r && Object.assign(se.formats.number, r.number), "date" in r && Object.assign(se.formats.date, r.date), "time" in r && Object.assign(se.formats.time, r.time)), G.set(i);
3978
+ )), Object.assign(ie, n, { initialLocale: i }), r && ("number" in r && Object.assign(ie.formats.number, r.number), "date" in r && Object.assign(ie.formats.date, r.date), "time" in r && Object.assign(ie.formats.time, r.time)), U.set(i);
3951
3979
  }
3952
- const ze = Ne(!1);
3953
- var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
3980
+ const Fe = Ie(!1);
3981
+ var di = Object.defineProperty, pi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
3954
3982
  for (var r in t || (t = {}))
3955
- yi.call(t, r) && Bt(e, r, t[r]);
3983
+ bi.call(t, r) && Bt(e, r, t[r]);
3956
3984
  if (St)
3957
3985
  for (var r of St(t))
3958
- _i.call(t, r) && Bt(e, r, t[r]);
3986
+ yi.call(t, r) && Bt(e, r, t[r]);
3959
3987
  return e;
3960
- }, vi = (e, t) => gi(e, bi(t));
3961
- let tt;
3962
- const Ce = Ne(null);
3988
+ }, vi = (e, t) => pi(e, gi(t));
3989
+ let Ke;
3990
+ const Pe = Ie(null);
3963
3991
  function At(e) {
3964
3992
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3965
3993
  }
3966
- function fe(e, t = K().fallbackLocale) {
3994
+ function ce(e, t = Y().fallbackLocale) {
3967
3995
  const r = At(e);
3968
3996
  return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3969
3997
  }
3970
- function k() {
3971
- return tt ?? void 0;
3998
+ function D() {
3999
+ return Ke ?? void 0;
3972
4000
  }
3973
- Ce.subscribe((e) => {
3974
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4001
+ Pe.subscribe((e) => {
4002
+ Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3975
4003
  });
3976
- const xi = (e) => {
3977
- if (e && ii(e) && Oe(e)) {
3978
- const { loadingDelay: t } = K();
4004
+ const Ei = (e) => {
4005
+ if (e && ni(e) && Ae(e)) {
4006
+ const { loadingDelay: t } = Y();
3979
4007
  let r;
3980
- return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3981
- () => ze.set(!0),
4008
+ return typeof window < "u" && D() != null && t ? r = window.setTimeout(
4009
+ () => Fe.set(!0),
3982
4010
  t
3983
- ) : ze.set(!0), dr(e).then(() => {
3984
- Ce.set(e);
4011
+ ) : Fe.set(!0), dr(e).then(() => {
4012
+ Pe.set(e);
3985
4013
  }).finally(() => {
3986
- clearTimeout(r), ze.set(!1);
4014
+ clearTimeout(r), Fe.set(!1);
3987
4015
  });
3988
4016
  }
3989
- return Ce.set(e);
3990
- }, G = vi(Ei({}, Ce), {
3991
- set: xi
3992
- }), $e = (e) => {
4017
+ return Pe.set(e);
4018
+ }, U = vi(_i({}, Pe), {
4019
+ set: Ei
4020
+ }), Ne = (e) => {
3993
4021
  const t = /* @__PURE__ */ Object.create(null);
3994
4022
  return (n) => {
3995
4023
  const i = JSON.stringify(n);
3996
4024
  return i in t ? t[i] : t[i] = e(n);
3997
4025
  };
3998
4026
  };
3999
- var Ti = Object.defineProperty, Ie = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4027
+ var xi = Object.defineProperty, Oe = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4000
4028
  for (var r in t || (t = {}))
4001
4029
  pr.call(t, r) && Pt(e, r, t[r]);
4002
- if (Ie)
4003
- for (var r of Ie(t))
4030
+ if (Oe)
4031
+ for (var r of Oe(t))
4004
4032
  gr.call(t, r) && Pt(e, r, t[r]);
4005
4033
  return e;
4006
- }, re = (e, t) => {
4034
+ }, te = (e, t) => {
4007
4035
  var r = {};
4008
4036
  for (var n in e)
4009
4037
  pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4010
- if (e != null && Ie)
4011
- for (var n of Ie(e))
4038
+ if (e != null && Oe)
4039
+ for (var n of Oe(e))
4012
4040
  t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4013
4041
  return r;
4014
4042
  };
4015
- const le = (e, t) => {
4016
- const { formats: r } = K();
4043
+ const ue = (e, t) => {
4044
+ const { formats: r } = Y();
4017
4045
  if (e in r && t in r[e])
4018
4046
  return r[e][t];
4019
4047
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4020
- }, wi = $e(
4048
+ }, Ti = Ne(
4021
4049
  (e) => {
4022
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4050
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4023
4051
  if (r == null)
4024
4052
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4025
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4053
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4026
4054
  }
4027
- ), Hi = $e(
4055
+ ), wi = Ne(
4028
4056
  (e) => {
4029
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4057
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4030
4058
  if (r == null)
4031
4059
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4032
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4060
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4033
4061
  }
4034
- ), Si = $e(
4062
+ ), Hi = Ne(
4035
4063
  (e) => {
4036
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4064
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4037
4065
  if (r == null)
4038
4066
  throw new Error(
4039
4067
  '[svelte-i18n] A "locale" must be set to format time values'
4040
4068
  );
4041
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4069
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4042
4070
  }
4043
- ), Bi = (e = {}) => {
4071
+ ), Si = (e = {}) => {
4044
4072
  var t = e, {
4045
- locale: r = k()
4046
- } = t, n = re(t, [
4073
+ locale: r = D()
4074
+ } = t, n = te(t, [
4047
4075
  "locale"
4048
4076
  ]);
4049
- return wi(ct({ locale: r }, n));
4050
- }, Ai = (e = {}) => {
4077
+ return Ti(ct({ locale: r }, n));
4078
+ }, Bi = (e = {}) => {
4051
4079
  var t = e, {
4052
- locale: r = k()
4053
- } = t, n = re(t, [
4080
+ locale: r = D()
4081
+ } = t, n = te(t, [
4054
4082
  "locale"
4055
4083
  ]);
4056
- return Hi(ct({ locale: r }, n));
4057
- }, Pi = (e = {}) => {
4084
+ return wi(ct({ locale: r }, n));
4085
+ }, Ai = (e = {}) => {
4058
4086
  var t = e, {
4059
- locale: r = k()
4060
- } = t, n = re(t, [
4087
+ locale: r = D()
4088
+ } = t, n = te(t, [
4061
4089
  "locale"
4062
4090
  ]);
4063
- return Si(ct({ locale: r }, n));
4064
- }, Oi = $e(
4091
+ return Hi(ct({ locale: r }, n));
4092
+ }, Pi = Ne(
4065
4093
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4066
- (e, t = k()) => new lr(e, t, K().formats, {
4067
- ignoreTag: K().ignoreTag
4094
+ (e, t = D()) => new lr(e, t, Y().formats, {
4095
+ ignoreTag: Y().ignoreTag
4068
4096
  })
4069
- ), Ci = (e, t = {}) => {
4097
+ ), Oi = (e, t = {}) => {
4070
4098
  var r, n, i, s;
4071
4099
  let o = t;
4072
4100
  typeof e == "object" && (o = e, e = o.id);
4073
4101
  const {
4074
4102
  values: a,
4075
- locale: h = k(),
4103
+ locale: h = D(),
4076
4104
  default: u
4077
4105
  } = o;
4078
4106
  if (h == null)
@@ -4081,7 +4109,7 @@ const le = (e, t) => {
4081
4109
  );
4082
4110
  let l = hr(e, h);
4083
4111
  if (!l)
4084
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4112
+ l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4085
4113
  else if (typeof l != "string")
4086
4114
  return console.warn(
4087
4115
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4090,7 +4118,7 @@ const le = (e, t) => {
4090
4118
  return l;
4091
4119
  let c = l;
4092
4120
  try {
4093
- c = Oi(l, h).format(a);
4121
+ c = Pi(l, h).format(a);
4094
4122
  } catch (f) {
4095
4123
  f instanceof Error && console.warn(
4096
4124
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4098,18 +4126,18 @@ const le = (e, t) => {
4098
4126
  );
4099
4127
  }
4100
4128
  return c;
4101
- }, Ii = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Mi = (e, t) => Bi(t).format(e), Li = (e, t = k()) => hr(e, t), $i = te([G, ce], () => Ci);
4102
- te([G], () => Ii);
4103
- te([G], () => Ni);
4104
- te([G], () => Mi);
4105
- te([G, ce], () => Li);
4106
- function Ri(e, t) {
4129
+ }, Ii = (e, t) => Ai(t).format(e), Ci = (e, t) => Bi(t).format(e), Mi = (e, t) => Si(t).format(e), Ni = (e, t = D()) => hr(e, t), Li = ee([U, he], () => Oi);
4130
+ ee([U], () => Ii);
4131
+ ee([U], () => Ci);
4132
+ ee([U], () => Mi);
4133
+ ee([U, he], () => Ni);
4134
+ function $i(e, t) {
4107
4135
  if (e) {
4108
4136
  const r = document.createElement("style");
4109
4137
  r.innerHTML = t, e.appendChild(r);
4110
4138
  }
4111
4139
  }
4112
- function Di(e, t) {
4140
+ function Ri(e, t) {
4113
4141
  const r = new URL(t);
4114
4142
  fetch(r.href).then((n) => n.text()).then((n) => {
4115
4143
  const i = document.createElement("style");
@@ -4118,7 +4146,7 @@ function Di(e, t) {
4118
4146
  console.error("There was an error while trying to load client styling from URL", n);
4119
4147
  });
4120
4148
  }
4121
- function ki(e, t, r) {
4149
+ function Di(e, t, r) {
4122
4150
  if (window.emMessageBus) {
4123
4151
  const n = document.createElement("style");
4124
4152
  window.emMessageBus.subscribe(t, (i) => {
@@ -4129,12 +4157,12 @@ function ki(e, t, r) {
4129
4157
  function Ot(e, t) {
4130
4158
  fr(e, t);
4131
4159
  }
4132
- function Ui(e) {
4133
- di({
4160
+ function ki(e) {
4161
+ mi({
4134
4162
  fallbackLocale: "en"
4135
- }), G.set(e);
4163
+ }), U.set(e);
4136
4164
  }
4137
- const Ct = {
4165
+ const It = {
4138
4166
  en: {
4139
4167
  errorGeneralTitle: "Error Occurred",
4140
4168
  errorGeneralText: "Something went wrong",
@@ -4188,18 +4216,18 @@ const Ct = {
4188
4216
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
4189
4217
  }
4190
4218
  };
4191
- function Gi(e) {
4192
- vr(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
4219
+ function Ui(e) {
4220
+ Er(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
4193
4221
  }
4194
- const Fi = (e) => ({}), It = (e) => ({}), ji = (e) => ({}), Nt = (e) => ({}), zi = (e) => ({}), Mt = (e) => ({}), Vi = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4195
- function Xi(e) {
4222
+ const Gi = (e) => ({}), Ct = (e) => ({}), Fi = (e) => ({}), Mt = (e) => ({}), ji = (e) => ({}), Nt = (e) => ({}), zi = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4223
+ function Vi(e) {
4196
4224
  let t;
4197
4225
  return {
4198
4226
  c() {
4199
- t = A("div"), $(t, "class", "ImagePlaceholder Error");
4227
+ t = A("div"), L(t, "class", "ImagePlaceholder Error");
4200
4228
  },
4201
4229
  m(r, n) {
4202
- D(r, t, n);
4230
+ R(r, t, n);
4203
4231
  },
4204
4232
  p: B,
4205
4233
  d(r) {
@@ -4207,32 +4235,32 @@ function Xi(e) {
4207
4235
  }
4208
4236
  };
4209
4237
  }
4210
- function Wi(e) {
4238
+ function Xi(e) {
4211
4239
  let t, r;
4212
4240
  return {
4213
4241
  c() {
4214
4242
  t = A("ui-image"), dt(t.src, r = `${/*assetsurl*/
4215
- e[0]}/error-general-icon.png`) || de(t, "src", r), de(t, "width", "300px"), de(t, "alt", "error");
4243
+ e[0]}/error-general-icon.png`) || me(t, "src", r), me(t, "width", "300px"), me(t, "alt", "error");
4216
4244
  },
4217
4245
  m(n, i) {
4218
- D(n, t, i);
4246
+ R(n, t, i);
4219
4247
  },
4220
4248
  p(n, i) {
4221
4249
  i & /*assetsurl*/
4222
4250
  1 && !dt(t.src, r = `${/*assetsurl*/
4223
- n[0]}/error-general-icon.png`) && de(t, "src", r);
4251
+ n[0]}/error-general-icon.png`) && me(t, "src", r);
4224
4252
  },
4225
4253
  d(n) {
4226
4254
  n && P(t);
4227
4255
  }
4228
4256
  };
4229
4257
  }
4230
- function Zi(e) {
4258
+ function Wi(e) {
4231
4259
  let t;
4232
4260
  function r(s, o) {
4233
4261
  return (
4234
4262
  /*assetsurl*/
4235
- s[0] ? Wi : Xi
4263
+ s[0] ? Xi : Vi
4236
4264
  );
4237
4265
  }
4238
4266
  let n = r(e), i = n(e);
@@ -4241,7 +4269,7 @@ function Zi(e) {
4241
4269
  i.c(), t = Tr();
4242
4270
  },
4243
4271
  m(s, o) {
4244
- i.m(s, o), D(s, t, o);
4272
+ i.m(s, o), R(s, t, o);
4245
4273
  },
4246
4274
  p(s, o) {
4247
4275
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
@@ -4251,29 +4279,29 @@ function Zi(e) {
4251
4279
  }
4252
4280
  };
4253
4281
  }
4254
- function Ji(e) {
4282
+ function Zi(e) {
4255
4283
  let t, r = (
4256
4284
  /*$_*/
4257
4285
  e[4]("errorGeneralTitle") + ""
4258
4286
  ), n;
4259
4287
  return {
4260
4288
  c() {
4261
- t = A("span"), n = he(r), $(t, "class", "CashierErrorTitle");
4289
+ t = A("span"), n = le(r), L(t, "class", "CashierErrorTitle");
4262
4290
  },
4263
4291
  m(i, s) {
4264
- D(i, t, s), I(t, n);
4292
+ R(i, t, s), I(t, n);
4265
4293
  },
4266
4294
  p(i, s) {
4267
4295
  s & /*$_*/
4268
4296
  16 && r !== (r = /*$_*/
4269
- i[4]("errorGeneralTitle") + "") && at(n, r);
4297
+ i[4]("errorGeneralTitle") + "") && st(n, r);
4270
4298
  },
4271
4299
  d(i) {
4272
4300
  i && P(t);
4273
4301
  }
4274
4302
  };
4275
4303
  }
4276
- function qi(e) {
4304
+ function Ji(e) {
4277
4305
  let t, r = (
4278
4306
  /*$_*/
4279
4307
  e[4](`${/*errorcode*/
@@ -4281,16 +4309,16 @@ function qi(e) {
4281
4309
  ), n;
4282
4310
  return {
4283
4311
  c() {
4284
- t = A("span"), n = he(r), $(t, "class", "CashierErrorText");
4312
+ t = A("span"), n = le(r), L(t, "class", "CashierErrorText");
4285
4313
  },
4286
4314
  m(i, s) {
4287
- D(i, t, s), I(t, n);
4315
+ R(i, t, s), I(t, n);
4288
4316
  },
4289
4317
  p(i, s) {
4290
4318
  s & /*$_, errorcode*/
4291
4319
  20 && r !== (r = /*$_*/
4292
4320
  i[4](`${/*errorcode*/
4293
- i[2] || "errorGeneralText"}`) + "") && at(n, r);
4321
+ i[2] || "errorGeneralText"}`) + "") && st(n, r);
4294
4322
  },
4295
4323
  d(i) {
4296
4324
  i && P(t);
@@ -4302,13 +4330,13 @@ function $t(e) {
4302
4330
  const r = (
4303
4331
  /*#slots*/
4304
4332
  e[12].button
4305
- ), n = be(
4333
+ ), n = ge(
4306
4334
  r,
4307
4335
  e,
4308
4336
  /*$$scope*/
4309
4337
  e[11],
4310
- It
4311
- ), i = n || Qi(e);
4338
+ Ct
4339
+ ), i = n || qi(e);
4312
4340
  return {
4313
4341
  c() {
4314
4342
  i && i.c();
@@ -4318,23 +4346,23 @@ function $t(e) {
4318
4346
  },
4319
4347
  p(s, o) {
4320
4348
  n ? n.p && (!t || o & /*$$scope*/
4321
- 2048) && _e(
4349
+ 2048) && ye(
4322
4350
  n,
4323
4351
  r,
4324
4352
  s,
4325
4353
  /*$$scope*/
4326
4354
  s[11],
4327
- t ? ye(
4355
+ t ? be(
4328
4356
  r,
4329
4357
  /*$$scope*/
4330
4358
  s[11],
4331
4359
  o,
4332
- Fi
4333
- ) : Ee(
4360
+ Gi
4361
+ ) : _e(
4334
4362
  /*$$scope*/
4335
4363
  s[11]
4336
4364
  ),
4337
- It
4365
+ Ct
4338
4366
  ) : i && i.p && (!t || o & /*$_*/
4339
4367
  16) && i.p(s, t ? o : -1);
4340
4368
  },
@@ -4342,24 +4370,24 @@ function $t(e) {
4342
4370
  t || (M(i, s), t = !0);
4343
4371
  },
4344
4372
  o(s) {
4345
- X(i, s), t = !1;
4373
+ V(i, s), t = !1;
4346
4374
  },
4347
4375
  d(s) {
4348
4376
  i && i.d(s);
4349
4377
  }
4350
4378
  };
4351
4379
  }
4352
- function Qi(e) {
4380
+ function qi(e) {
4353
4381
  let t, r, n = (
4354
4382
  /*$_*/
4355
4383
  e[4]("errorGeneralButton") + ""
4356
4384
  ), i, s, o;
4357
4385
  return {
4358
4386
  c() {
4359
- t = A("button"), r = A("span"), i = he(n), $(t, "class", "CashierErrorButton");
4387
+ t = A("button"), r = A("span"), i = le(n), L(t, "class", "CashierErrorButton");
4360
4388
  },
4361
4389
  m(a, h) {
4362
- D(a, t, h), I(t, r), I(r, i), s || (o = Ve(
4390
+ R(a, t, h), I(t, r), I(r, i), s || (o = je(
4363
4391
  t,
4364
4392
  "click",
4365
4393
  /*close*/
@@ -4369,115 +4397,115 @@ function Qi(e) {
4369
4397
  p(a, h) {
4370
4398
  h & /*$_*/
4371
4399
  16 && n !== (n = /*$_*/
4372
- a[4]("errorGeneralButton") + "") && at(i, n);
4400
+ a[4]("errorGeneralButton") + "") && st(i, n);
4373
4401
  },
4374
4402
  d(a) {
4375
4403
  a && P(t), s = !1, o();
4376
4404
  }
4377
4405
  };
4378
4406
  }
4379
- function Yi(e) {
4407
+ function Qi(e) {
4380
4408
  let t, r, n, i, s, o;
4381
4409
  const a = (
4382
4410
  /*#slots*/
4383
4411
  e[12].icon
4384
- ), h = be(
4412
+ ), h = ge(
4385
4413
  a,
4386
4414
  e,
4387
4415
  /*$$scope*/
4388
4416
  e[11],
4389
4417
  Lt
4390
- ), u = h || Zi(e), l = (
4418
+ ), u = h || Wi(e), l = (
4391
4419
  /*#slots*/
4392
4420
  e[12].title
4393
- ), c = be(
4421
+ ), c = ge(
4394
4422
  l,
4395
4423
  e,
4396
4424
  /*$$scope*/
4397
4425
  e[11],
4398
- Mt
4399
- ), f = c || Ji(e), y = (
4426
+ Nt
4427
+ ), f = c || Zi(e), y = (
4400
4428
  /*#slots*/
4401
4429
  e[12].text
4402
- ), m = be(
4430
+ ), m = ge(
4403
4431
  y,
4404
4432
  e,
4405
4433
  /*$$scope*/
4406
4434
  e[11],
4407
- Nt
4408
- ), p = m || qi(e);
4435
+ Mt
4436
+ ), p = m || Ji(e);
4409
4437
  let g = (!/*hidebuttons*/
4410
4438
  e[1] || /*hidebuttons*/
4411
4439
  e[1] === "false") && $t(e);
4412
4440
  return {
4413
4441
  c() {
4414
- t = A("div"), r = A("div"), u && u.c(), n = Re(), f && f.c(), i = Re(), p && p.c(), s = Re(), g && g.c(), $(r, "class", "CashierErrorContent"), $(t, "class", "CashierError");
4442
+ t = A("div"), r = A("div"), u && u.c(), n = Le(), f && f.c(), i = Le(), p && p.c(), s = Le(), g && g.c(), L(r, "class", "CashierErrorContent"), L(t, "class", "CashierError");
4415
4443
  },
4416
- m(d, E) {
4417
- D(d, t, E), I(t, r), u && u.m(r, null), I(r, n), f && f.m(r, null), I(r, i), p && p.m(r, null), I(r, s), g && g.m(r, null), e[13](t), o = !0;
4444
+ m(d, v) {
4445
+ R(d, t, v), I(t, r), u && u.m(r, null), I(r, n), f && f.m(r, null), I(r, i), p && p.m(r, null), I(r, s), g && g.m(r, null), e[13](t), o = !0;
4418
4446
  },
4419
- p(d, [E]) {
4420
- h ? h.p && (!o || E & /*$$scope*/
4421
- 2048) && _e(
4447
+ p(d, [v]) {
4448
+ h ? h.p && (!o || v & /*$$scope*/
4449
+ 2048) && ye(
4422
4450
  h,
4423
4451
  a,
4424
4452
  d,
4425
4453
  /*$$scope*/
4426
4454
  d[11],
4427
- o ? ye(
4455
+ o ? be(
4428
4456
  a,
4429
4457
  /*$$scope*/
4430
4458
  d[11],
4431
- E,
4432
- Vi
4433
- ) : Ee(
4459
+ v,
4460
+ zi
4461
+ ) : _e(
4434
4462
  /*$$scope*/
4435
4463
  d[11]
4436
4464
  ),
4437
4465
  Lt
4438
- ) : u && u.p && (!o || E & /*assetsurl*/
4439
- 1) && u.p(d, o ? E : -1), c ? c.p && (!o || E & /*$$scope*/
4440
- 2048) && _e(
4466
+ ) : u && u.p && (!o || v & /*assetsurl*/
4467
+ 1) && u.p(d, o ? v : -1), c ? c.p && (!o || v & /*$$scope*/
4468
+ 2048) && ye(
4441
4469
  c,
4442
4470
  l,
4443
4471
  d,
4444
4472
  /*$$scope*/
4445
4473
  d[11],
4446
- o ? ye(
4474
+ o ? be(
4447
4475
  l,
4448
4476
  /*$$scope*/
4449
4477
  d[11],
4450
- E,
4451
- zi
4452
- ) : Ee(
4478
+ v,
4479
+ ji
4480
+ ) : _e(
4453
4481
  /*$$scope*/
4454
4482
  d[11]
4455
4483
  ),
4456
- Mt
4457
- ) : f && f.p && (!o || E & /*$_*/
4458
- 16) && f.p(d, o ? E : -1), m ? m.p && (!o || E & /*$$scope*/
4459
- 2048) && _e(
4484
+ Nt
4485
+ ) : f && f.p && (!o || v & /*$_*/
4486
+ 16) && f.p(d, o ? v : -1), m ? m.p && (!o || v & /*$$scope*/
4487
+ 2048) && ye(
4460
4488
  m,
4461
4489
  y,
4462
4490
  d,
4463
4491
  /*$$scope*/
4464
4492
  d[11],
4465
- o ? ye(
4493
+ o ? be(
4466
4494
  y,
4467
4495
  /*$$scope*/
4468
4496
  d[11],
4469
- E,
4470
- ji
4471
- ) : Ee(
4497
+ v,
4498
+ Fi
4499
+ ) : _e(
4472
4500
  /*$$scope*/
4473
4501
  d[11]
4474
4502
  ),
4475
- Nt
4476
- ) : p && p.p && (!o || E & /*$_, errorcode*/
4477
- 20) && p.p(d, o ? E : -1), !/*hidebuttons*/
4503
+ Mt
4504
+ ) : p && p.p && (!o || v & /*$_, errorcode*/
4505
+ 20) && p.p(d, o ? v : -1), !/*hidebuttons*/
4478
4506
  d[1] || /*hidebuttons*/
4479
- d[1] === "false" ? g ? (g.p(d, E), E & /*hidebuttons*/
4480
- 2 && M(g, 1)) : (g = $t(d), g.c(), M(g, 1), g.m(r, null)) : g && ($r(), X(g, 1, 1, () => {
4507
+ d[1] === "false" ? g ? (g.p(d, v), v & /*hidebuttons*/
4508
+ 2 && M(g, 1)) : (g = $t(d), g.c(), M(g, 1), g.m(r, null)) : g && ($r(), V(g, 1, 1, () => {
4481
4509
  g = null;
4482
4510
  }), Rr());
4483
4511
  },
@@ -4485,19 +4513,19 @@ function Yi(e) {
4485
4513
  o || (M(u, d), M(f, d), M(p, d), M(g), o = !0);
4486
4514
  },
4487
4515
  o(d) {
4488
- X(u, d), X(f, d), X(p, d), X(g), o = !1;
4516
+ V(u, d), V(f, d), V(p, d), V(g), o = !1;
4489
4517
  },
4490
4518
  d(d) {
4491
4519
  d && P(t), u && u.d(d), f && f.d(d), p && p.d(d), g && g.d(), e[13](null);
4492
4520
  }
4493
4521
  };
4494
4522
  }
4495
- function Ki(e, t, r) {
4523
+ function Yi(e, t, r) {
4496
4524
  let n;
4497
- Er(e, $i, (b) => r(4, n = b));
4525
+ vr(e, Li, (b) => r(4, n = b));
4498
4526
  let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: h = "" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: y = "" } = t, m;
4499
4527
  const p = () => {
4500
- Ui(a);
4528
+ ki(a);
4501
4529
  }, g = () => {
4502
4530
  fetch(f).then((w) => w.json()).then((w) => {
4503
4531
  Object.keys(w).forEach((H) => {
@@ -4507,16 +4535,16 @@ function Ki(e, t, r) {
4507
4535
  console.error(w);
4508
4536
  });
4509
4537
  };
4510
- Object.keys(Ct).forEach((b) => {
4511
- Ot(b, Ct[b]);
4538
+ Object.keys(It).forEach((b) => {
4539
+ Ot(b, It[b]);
4512
4540
  });
4513
4541
  const d = () => {
4514
4542
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4515
4543
  };
4516
- Cr(() => () => {
4544
+ Ir(() => () => {
4517
4545
  });
4518
- function E(b) {
4519
- Xe[b ? "unshift" : "push"](() => {
4546
+ function v(b) {
4547
+ ze[b ? "unshift" : "push"](() => {
4520
4548
  m = b, r(3, m);
4521
4549
  });
4522
4550
  }
@@ -4525,9 +4553,9 @@ function Ki(e, t, r) {
4525
4553
  }, e.$$.update = () => {
4526
4554
  e.$$.dirty & /*lang*/
4527
4555
  64 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4528
- 136 && l && m && Ri(m, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4529
- 264 && c && m && Di(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4530
- 1032 && y && m && ki(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4556
+ 136 && l && m && $i(m, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4557
+ 264 && c && m && Ri(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4558
+ 1032 && y && m && Di(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4531
4559
  512 && f && g();
4532
4560
  }, [
4533
4561
  o,
@@ -4543,7 +4571,7 @@ function Ki(e, t, r) {
4543
4571
  y,
4544
4572
  s,
4545
4573
  i,
4546
- E
4574
+ v
4547
4575
  ];
4548
4576
  }
4549
4577
  class br extends jr {
@@ -4551,8 +4579,8 @@ class br extends jr {
4551
4579
  super(), Gr(
4552
4580
  this,
4553
4581
  t,
4554
- Ki,
4555
4582
  Yi,
4583
+ Qi,
4556
4584
  Dt,
4557
4585
  {
4558
4586
  assetsurl: 0,
@@ -4564,7 +4592,7 @@ class br extends jr {
4564
4592
  translationurl: 9,
4565
4593
  mbsource: 10
4566
4594
  },
4567
- Gi
4595
+ Ui
4568
4596
  );
4569
4597
  }
4570
4598
  get assetsurl() {
@@ -4617,71 +4645,75 @@ class br extends jr {
4617
4645
  }
4618
4646
  }
4619
4647
  Fr(br, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4620
- const ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4648
+ const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4621
4649
  __proto__: null,
4622
4650
  default: br
4623
4651
  }, Symbol.toStringTag, { value: "Module" }));
4624
4652
  export {
4625
- G as $,
4626
- Ve as A,
4653
+ U as $,
4654
+ ze as A,
4627
4655
  $i as B,
4628
- Ri as C,
4629
- Di as D,
4630
- ki as E,
4631
- de as F,
4656
+ je as C,
4657
+ B as D,
4658
+ Li as E,
4659
+ me as F,
4632
4660
  dt as G,
4633
- Ne as H,
4634
- Xr as I,
4635
- bs as J,
4636
- J as K,
4637
- rs as L,
4638
- os as M,
4639
- hs as N,
4640
- ps as O,
4641
- ns as P,
4661
+ Ie as H,
4662
+ Re as I,
4663
+ ys as J,
4664
+ Ce as K,
4665
+ gs as L,
4666
+ Xr as M,
4667
+ Z as N,
4668
+ ts as O,
4669
+ ls as P,
4642
4670
  ss as Q,
4643
- R,
4671
+ ds as R,
4644
4672
  jr as S,
4645
- as as T,
4646
- is as U,
4647
- us as V,
4648
- rt as W,
4649
- $r as X,
4650
- Rr as Y,
4651
- ds as Z,
4652
- ls as _,
4673
+ is as T,
4674
+ rs as U,
4675
+ $ as V,
4676
+ os as W,
4677
+ ns as X,
4678
+ as as Y,
4679
+ et as Z,
4680
+ bs as _,
4653
4681
  fr as a,
4654
- cs as a0,
4655
- ms as a1,
4656
- fs as a2,
4657
- ts as a3,
4658
- kr as a4,
4659
- Dr as a5,
4660
- gs as a6,
4661
- ys as a7,
4682
+ Rr as a0,
4683
+ us as a1,
4684
+ ms as a2,
4685
+ $r as a3,
4686
+ hs as a4,
4687
+ cs as a5,
4688
+ fs as a6,
4689
+ es as a7,
4690
+ ps as a8,
4691
+ Dr as a9,
4692
+ kr as aa,
4693
+ _s as ab,
4662
4694
  Gr as b,
4663
4695
  Fr as c,
4664
- vr as d,
4665
- be as e,
4696
+ Er as d,
4697
+ ge as e,
4666
4698
  O as f,
4667
- P as g,
4668
- M as h,
4669
- di as i,
4670
- Ee as j,
4671
- ye as k,
4672
- D as l,
4673
- I as m,
4674
- A as n,
4675
- Re as o,
4676
- $ as p,
4677
- Er as q,
4678
- Cr as r,
4699
+ A as g,
4700
+ Le as h,
4701
+ mi as i,
4702
+ L as j,
4703
+ R as k,
4704
+ I as l,
4705
+ _e as m,
4706
+ be as n,
4707
+ V as o,
4708
+ P as p,
4709
+ vr as q,
4710
+ Ir as r,
4679
4711
  Dt as s,
4680
- X as t,
4681
- _e as u,
4682
- Tr as v,
4683
- at as w,
4684
- he as x,
4685
- Xe as y,
4686
- B as z
4712
+ M as t,
4713
+ ye as u,
4714
+ Ri as v,
4715
+ Di as w,
4716
+ Tr as x,
4717
+ le as y,
4718
+ st as z
4687
4719
  };