@everymatrix/cashier-method-details 1.86.3 → 1.86.5

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 (35) hide show
  1. package/components/CashierError-0ryZiOME.cjs +8 -0
  2. package/components/{CashierError-BrH4JtME.js → CashierError-KZG3X_VW.js} +817 -849
  3. package/components/{CashierError-C38DHl9-.js → CashierError-qzZcJhp7.js} +800 -832
  4. package/components/{CashierMethodDetails-B9-uo6qb.js → CashierMethodDetails-Ci_KcLF2.js} +906 -857
  5. package/components/{CashierMethodDetails-ChQ3M-wq.js → CashierMethodDetails-DiIuR1qE.js} +1403 -1354
  6. package/components/{CashierMethodDetails-2anZaPtI.cjs → CashierMethodDetails-DqgFo-Zf.cjs} +18 -5
  7. package/components/{CashierModal-CRWjrDnj.js → CashierModal-DHyc4Yo0.js} +65 -65
  8. package/components/{CashierModal-B2BegJ8J.cjs → CashierModal-DeCFU_ep.cjs} +1 -1
  9. package/components/{CashierModal-BvLB_9aG.js → CashierModal-m7cXuxT1.js} +61 -61
  10. package/components/{CashierNotifications-3BcrYOeA.js → CashierNotifications-Bo4IAEf_.js} +33 -33
  11. package/components/{CashierNotifications-CSlK-g-S.js → CashierNotifications-DGAnrrsp.js} +33 -33
  12. package/components/{CashierNotifications-SEdxNl-z.cjs → CashierNotifications-DTeolEy1.cjs} +1 -1
  13. package/components/{CashierReceiptPage-4k0rJqmU.js → CashierReceiptPage-BOqnf35Q.js} +124 -124
  14. package/components/{CashierReceiptPage-BoTTgL6X.cjs → CashierReceiptPage-BiPrXfCL.cjs} +1 -1
  15. package/components/{CashierReceiptPage-B35Jarr_.js → CashierReceiptPage-CoCpQjJ1.js} +124 -124
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  21. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  22. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  23. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  24. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  25. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  29. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
  30. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  31. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
  32. package/components/CashierError-Btvxfcrs.cjs +0 -21
  33. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  34. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  35. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-wH6lu7wS.js";
1
+ import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function B() {
3
3
  }
4
4
  const Nt = (e) => e;
@@ -16,23 +16,23 @@ function Lt(e) {
16
16
  function ht() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
- function D(e) {
19
+ function k(e) {
20
20
  e.forEach(Lt);
21
21
  }
22
- function le(e) {
22
+ function he(e) {
23
23
  return typeof e == "function";
24
24
  }
25
25
  function $t(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 de;
29
29
  function ct(e, t) {
30
- return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
30
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
31
31
  }
32
32
  function wr(e) {
33
33
  return Object.keys(e).length === 0;
34
34
  }
35
- function nt(e, ...t) {
35
+ function st(e, ...t) {
36
36
  if (e == null) {
37
37
  for (const n of t)
38
38
  n(void 0);
@@ -41,14 +41,14 @@ function nt(e, ...t) {
41
41
  const r = e.subscribe(...t);
42
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
43
43
  }
44
- function Yi(e) {
44
+ function Ki(e) {
45
45
  let t;
46
- return nt(e, (r) => t = r)(), t;
46
+ return st(e, (r) => t = r)(), t;
47
47
  }
48
48
  function Tr(e, t, r) {
49
- e.$$.on_destroy.push(nt(t, r));
49
+ e.$$.on_destroy.push(st(t, r));
50
50
  }
51
- function de(e, t, r, n) {
51
+ function pe(e, t, r, n) {
52
52
  if (e) {
53
53
  const i = Rt(e, t, r, n);
54
54
  return e[0](i);
@@ -57,28 +57,28 @@ function de(e, t, r, n) {
57
57
  function Rt(e, t, r, n) {
58
58
  return e[1] && n ? xr(r.ctx.slice(), e[1](n(t))) : r.ctx;
59
59
  }
60
- function pe(e, t, r, n) {
60
+ function ge(e, t, r, n) {
61
61
  if (e[2] && n) {
62
62
  const i = e[2](n(r));
63
63
  if (t.dirty === void 0)
64
64
  return i;
65
65
  if (typeof i == "object") {
66
- const s = [], a = Math.max(t.dirty.length, i.length);
67
- for (let o = 0; o < a; o += 1)
68
- s[o] = t.dirty[o] | i[o];
66
+ const s = [], o = Math.max(t.dirty.length, i.length);
67
+ for (let a = 0; a < o; a += 1)
68
+ s[a] = t.dirty[a] | i[a];
69
69
  return s;
70
70
  }
71
71
  return t.dirty | i;
72
72
  }
73
73
  return t.dirty;
74
74
  }
75
- function ge(e, t, r, n, i, s) {
75
+ function be(e, t, r, n, i, s) {
76
76
  if (i) {
77
- const a = Rt(t, r, n, s);
78
- e.p(a, i);
77
+ const o = Rt(t, r, n, s);
78
+ e.p(o, i);
79
79
  }
80
80
  }
81
- function be(e) {
81
+ function ye(e) {
82
82
  if (e.ctx.length > 32) {
83
83
  const t = [], r = e.ctx.length / 32;
84
84
  for (let n = 0; n < r; n++)
@@ -88,39 +88,39 @@ function be(e) {
88
88
  return -1;
89
89
  }
90
90
  const Dt = typeof window < "u";
91
- let kt = Dt ? () => window.performance.now() : () => Date.now(), it = Dt ? (e) => requestAnimationFrame(e) : B;
92
- const V = /* @__PURE__ */ new Set();
91
+ let kt = Dt ? () => window.performance.now() : () => Date.now(), ot = Dt ? (e) => requestAnimationFrame(e) : B;
92
+ const X = /* @__PURE__ */ new Set();
93
93
  function Ut(e) {
94
- V.forEach((t) => {
95
- t.c(e) || (V.delete(t), t.f());
96
- }), V.size !== 0 && it(Ut);
94
+ X.forEach((t) => {
95
+ t.c(e) || (X.delete(t), t.f());
96
+ }), X.size !== 0 && ot(Ut);
97
97
  }
98
98
  function Gt(e) {
99
99
  let t;
100
- return V.size === 0 && it(Ut), {
100
+ return X.size === 0 && ot(Ut), {
101
101
  promise: new Promise((r) => {
102
- V.add(t = { c: e, f: r });
102
+ X.add(t = { c: e, f: r });
103
103
  }),
104
104
  abort() {
105
- V.delete(t);
105
+ X.delete(t);
106
106
  }
107
107
  };
108
108
  }
109
- const Ki = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
109
+ const es = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
110
110
  // @ts-ignore Node typings have this
111
111
  global
112
112
  );
113
- function M(e, t) {
113
+ function N(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
116
  function Hr(e, t, r) {
117
- const n = st(e);
117
+ const n = at(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = I("style");
119
+ const i = C("style");
120
120
  i.id = t, i.textContent = r, Ft(n, i);
121
121
  }
122
122
  }
123
- function st(e) {
123
+ function at(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,57 +131,57 @@ function st(e) {
131
131
  ) : e.ownerDocument;
132
132
  }
133
133
  function Sr(e) {
134
- const t = I("style");
135
- return t.textContent = "/* empty */", Ft(st(e), t), t.sheet;
134
+ const t = C("style");
135
+ return t.textContent = "/* empty */", Ft(at(e), t), t.sheet;
136
136
  }
137
137
  function Ft(e, t) {
138
- return M(
138
+ return N(
139
139
  /** @type {Document} */
140
140
  e.head || e,
141
141
  t
142
142
  ), t.sheet;
143
143
  }
144
- function Y(e, t, r) {
144
+ function K(e, t, r) {
145
145
  e.insertBefore(t, r || null);
146
146
  }
147
- function N(e) {
147
+ function L(e) {
148
148
  e.parentNode && e.parentNode.removeChild(e);
149
149
  }
150
- function es(e, t) {
150
+ function ts(e, t) {
151
151
  for (let r = 0; r < e.length; r += 1)
152
152
  e[r] && e[r].d(t);
153
153
  }
154
- function I(e) {
154
+ function C(e) {
155
155
  return document.createElement(e);
156
156
  }
157
- function ts(e) {
157
+ function rs(e) {
158
158
  return document.createElementNS("http://www.w3.org/2000/svg", e);
159
159
  }
160
- function Ce(e) {
160
+ function Ne(e) {
161
161
  return document.createTextNode(e);
162
162
  }
163
- function Re() {
164
- return Ce(" ");
163
+ function ke() {
164
+ return Ne(" ");
165
165
  }
166
166
  function Br() {
167
- return Ce("");
167
+ return Ne("");
168
168
  }
169
- function Ve(e, t, r, n) {
169
+ function We(e, t, r, n) {
170
170
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
171
171
  }
172
- function rs(e) {
172
+ function ns(e) {
173
173
  return function(t) {
174
174
  return t.preventDefault(), e.call(this, t);
175
175
  };
176
176
  }
177
- function W(e, t, r) {
177
+ function Z(e, t, r) {
178
178
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
179
179
  }
180
- function ye(e, t, r) {
180
+ function _e(e, t, r) {
181
181
  const n = t.toLowerCase();
182
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
182
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Z(e, t, r);
183
183
  }
184
- function ns(e) {
184
+ function is(e) {
185
185
  return e === "" ? null : +e;
186
186
  }
187
187
  function Ar(e) {
@@ -191,47 +191,47 @@ function jt(e, t) {
191
191
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
192
192
  t);
193
193
  }
194
- function is(e, t) {
194
+ function ss(e, t) {
195
195
  e.value = t ?? "";
196
196
  }
197
- function ss(e, t, r, n) {
197
+ function os(e, t, r, n) {
198
198
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
199
199
  }
200
- let _e;
200
+ let ve;
201
201
  function Pr() {
202
- if (_e === void 0) {
203
- _e = !1;
202
+ if (ve === void 0) {
203
+ ve = !1;
204
204
  try {
205
205
  typeof window < "u" && window.parent && window.parent.document;
206
206
  } catch {
207
- _e = !0;
207
+ ve = !0;
208
208
  }
209
209
  }
210
- return _e;
210
+ return ve;
211
211
  }
212
212
  function as(e, t) {
213
213
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
214
- const n = I("iframe");
214
+ const n = C("iframe");
215
215
  n.setAttribute(
216
216
  "style",
217
217
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
218
218
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
219
219
  const i = Pr();
220
220
  let s;
221
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ve(
221
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = We(
222
222
  window,
223
223
  "message",
224
224
  /** @param {MessageEvent} event */
225
- (a) => {
226
- a.source === n.contentWindow && t();
225
+ (o) => {
226
+ o.source === n.contentWindow && t();
227
227
  }
228
228
  )) : (n.src = "about:blank", n.onload = () => {
229
- s = Ve(n.contentWindow, "resize", t), t();
230
- }), M(e, n), () => {
231
- (i || s && n.contentWindow) && s(), N(n);
229
+ s = We(n.contentWindow, "resize", t), t();
230
+ }), N(e, n), () => {
231
+ (i || s && n.contentWindow) && s(), L(n);
232
232
  };
233
233
  }
234
- function os(e, t, r) {
234
+ function us(e, t, r) {
235
235
  e.classList.toggle(t, !!r);
236
236
  }
237
237
  function Or(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -246,8 +246,8 @@ function Ir(e) {
246
246
  }
247
247
  ), t;
248
248
  }
249
- const Se = /* @__PURE__ */ new Map();
250
- let Be = 0;
249
+ const Be = /* @__PURE__ */ new Map();
250
+ let Ae = 0;
251
251
  function Cr(e) {
252
252
  let t = 5381, r = e.length;
253
253
  for (; r--; )
@@ -256,146 +256,146 @@ function Cr(e) {
256
256
  }
257
257
  function Mr(e, t) {
258
258
  const r = { stylesheet: Sr(t), rules: {} };
259
- return Se.set(e, r), r;
259
+ return Be.set(e, r), r;
260
260
  }
261
- function zt(e, t, r, n, i, s, a, o = 0) {
261
+ function zt(e, t, r, n, i, s, o, a = 0) {
262
262
  const h = 16.666 / n;
263
263
  let u = `{
264
264
  `;
265
- for (let x = 0; x <= 1; x += h) {
266
- const _ = t + (r - t) * s(x);
267
- u += x * 100 + `%{${a(_, 1 - _)}}
265
+ for (let E = 0; E <= 1; E += h) {
266
+ const _ = t + (r - t) * s(E);
267
+ u += E * 100 + `%{${o(_, 1 - _)}}
268
268
  `;
269
269
  }
270
- const l = u + `100% {${a(r, 1 - r)}}
271
- }`, c = `__svelte_${Cr(l)}_${o}`, m = st(e), { stylesheet: d, rules: p } = Se.get(m) || Mr(m, e);
270
+ const l = u + `100% {${o(r, 1 - r)}}
271
+ }`, c = `__svelte_${Cr(l)}_${a}`, m = at(e), { stylesheet: d, rules: p } = Be.get(m) || Mr(m, e);
272
272
  p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
273
273
  const b = e.style.animation || "";
274
- return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Be += 1, c;
274
+ return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Ae += 1, c;
275
275
  }
276
- function Xe(e, t) {
276
+ function Ze(e, t) {
277
277
  const r = (e.style.animation || "").split(", "), n = r.filter(
278
278
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
279
279
  // remove all Svelte animations
280
280
  ), i = r.length - n.length;
281
- i && (e.style.animation = n.join(", "), Be -= i, Be || Nr());
281
+ i && (e.style.animation = n.join(", "), Ae -= i, Ae || Nr());
282
282
  }
283
283
  function Nr() {
284
- it(() => {
285
- Be || (Se.forEach((e) => {
284
+ ot(() => {
285
+ Ae || (Be.forEach((e) => {
286
286
  const { ownerNode: t } = e.stylesheet;
287
- t && N(t);
288
- }), Se.clear());
287
+ t && L(t);
288
+ }), Be.clear());
289
289
  });
290
290
  }
291
- let se;
292
- function ie(e) {
293
- se = e;
291
+ let oe;
292
+ function se(e) {
293
+ oe = e;
294
294
  }
295
295
  function Lr() {
296
- if (!se)
296
+ if (!oe)
297
297
  throw new Error("Function called outside component initialization");
298
- return se;
298
+ return oe;
299
299
  }
300
300
  function $r(e) {
301
301
  Lr().$$.on_mount.push(e);
302
302
  }
303
- function us(e, t) {
303
+ function ls(e, t) {
304
304
  const r = e.$$.callbacks[t.type];
305
305
  r && r.slice().forEach((n) => n.call(this, t));
306
306
  }
307
- const j = [], We = [];
308
- let X = [];
307
+ const z = [], Je = [];
308
+ let W = [];
309
309
  const ft = [], Vt = /* @__PURE__ */ Promise.resolve();
310
- let Ze = !1;
310
+ let qe = !1;
311
311
  function Xt() {
312
- Ze || (Ze = !0, Vt.then(C));
312
+ qe || (qe = !0, Vt.then(M));
313
313
  }
314
- function ls() {
314
+ function hs() {
315
315
  return Xt(), Vt;
316
316
  }
317
317
  function ae(e) {
318
- X.push(e);
318
+ W.push(e);
319
319
  }
320
- const De = /* @__PURE__ */ new Set();
321
- let G = 0;
322
- function C() {
323
- if (G !== 0)
320
+ const Ue = /* @__PURE__ */ new Set();
321
+ let F = 0;
322
+ function M() {
323
+ if (F !== 0)
324
324
  return;
325
- const e = se;
325
+ const e = oe;
326
326
  do {
327
327
  try {
328
- for (; G < j.length; ) {
329
- const t = j[G];
330
- G++, ie(t), Rr(t.$$);
328
+ for (; F < z.length; ) {
329
+ const t = z[F];
330
+ F++, se(t), Rr(t.$$);
331
331
  }
332
332
  } catch (t) {
333
- throw j.length = 0, G = 0, t;
333
+ throw z.length = 0, F = 0, t;
334
334
  }
335
- for (ie(null), j.length = 0, G = 0; We.length; )
336
- We.pop()();
337
- for (let t = 0; t < X.length; t += 1) {
338
- const r = X[t];
339
- De.has(r) || (De.add(r), r());
335
+ for (se(null), z.length = 0, F = 0; Je.length; )
336
+ Je.pop()();
337
+ for (let t = 0; t < W.length; t += 1) {
338
+ const r = W[t];
339
+ Ue.has(r) || (Ue.add(r), r());
340
340
  }
341
- X.length = 0;
342
- } while (j.length);
341
+ W.length = 0;
342
+ } while (z.length);
343
343
  for (; ft.length; )
344
344
  ft.pop()();
345
- Ze = !1, De.clear(), ie(e);
345
+ qe = !1, Ue.clear(), se(e);
346
346
  }
347
347
  function Rr(e) {
348
348
  if (e.fragment !== null) {
349
- e.update(), D(e.before_update);
349
+ e.update(), k(e.before_update);
350
350
  const t = e.dirty;
351
351
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ae);
352
352
  }
353
353
  }
354
354
  function Dr(e) {
355
355
  const t = [], r = [];
356
- X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
356
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
357
357
  }
358
- let te;
358
+ let re;
359
359
  function Wt() {
360
- return te || (te = Promise.resolve(), te.then(() => {
361
- te = null;
362
- })), te;
360
+ return re || (re = Promise.resolve(), re.then(() => {
361
+ re = null;
362
+ })), re;
363
363
  }
364
- function Ae(e, t, r) {
364
+ function Pe(e, t, r) {
365
365
  e.dispatchEvent(Or(`${t ? "intro" : "outro"}${r}`));
366
366
  }
367
- const xe = /* @__PURE__ */ new Set();
368
- let $;
369
- function hs() {
370
- $ = {
367
+ const we = /* @__PURE__ */ new Set();
368
+ let R;
369
+ function cs() {
370
+ R = {
371
371
  r: 0,
372
372
  c: [],
373
- p: $
373
+ p: R
374
374
  // parent group
375
375
  };
376
376
  }
377
- function cs() {
378
- $.r || D($.c), $ = $.p;
377
+ function fs() {
378
+ R.r || k(R.c), R = R.p;
379
379
  }
380
- function z(e, t) {
381
- e && e.i && (xe.delete(e), e.i(t));
380
+ function V(e, t) {
381
+ e && e.i && (we.delete(e), e.i(t));
382
382
  }
383
- function ve(e, t, r, n) {
383
+ function Ee(e, t, r, n) {
384
384
  if (e && e.o) {
385
- if (xe.has(e))
385
+ if (we.has(e))
386
386
  return;
387
- xe.add(e), $.c.push(() => {
388
- xe.delete(e), n && (r && e.d(1), n());
387
+ we.add(e), R.c.push(() => {
388
+ we.delete(e), n && (r && e.d(1), n());
389
389
  }), e.o(t);
390
390
  } else
391
391
  n && n();
392
392
  }
393
393
  const Zt = { duration: 0 };
394
- function fs(e, t, r) {
394
+ function ms(e, t, r) {
395
395
  const n = { direction: "in" };
396
- let i = t(e, r, n), s = !1, a, o, h = 0;
396
+ let i = t(e, r, n), s = !1, o, a, h = 0;
397
397
  function u() {
398
- a && Xe(e, a);
398
+ o && Ze(e, o);
399
399
  }
400
400
  function l() {
401
401
  const {
@@ -403,14 +403,14 @@ function fs(e, t, r) {
403
403
  duration: d = 300,
404
404
  easing: p = Nt,
405
405
  tick: b = B,
406
- css: x
406
+ css: E
407
407
  } = i || Zt;
408
- x && (a = zt(e, 0, 1, d, m, p, x, h++)), b(0, 1);
408
+ E && (o = zt(e, 0, 1, d, m, p, E, h++)), b(0, 1);
409
409
  const _ = kt() + m, f = _ + d;
410
- o && o.abort(), s = !0, ae(() => Ae(e, !0, "start")), o = Gt((g) => {
410
+ a && a.abort(), s = !0, ae(() => Pe(e, !0, "start")), a = Gt((g) => {
411
411
  if (s) {
412
412
  if (g >= f)
413
- return b(1, 0), Ae(e, !0, "end"), u(), s = !1;
413
+ return b(1, 0), Pe(e, !0, "end"), u(), s = !1;
414
414
  if (g >= _) {
415
415
  const S = p((g - _) / d);
416
416
  b(S, 1 - S);
@@ -422,7 +422,7 @@ function fs(e, t, r) {
422
422
  let c = !1;
423
423
  return {
424
424
  start() {
425
- c || (c = !0, Xe(e), le(i) ? (i = i(n), Wt().then(l)) : l());
425
+ c || (c = !0, Ze(e), he(i) ? (i = i(n), Wt().then(l)) : l());
426
426
  },
427
427
  invalidate() {
428
428
  c = !1;
@@ -432,11 +432,11 @@ function fs(e, t, r) {
432
432
  }
433
433
  };
434
434
  }
435
- function ms(e, t, r) {
435
+ function ds(e, t, r) {
436
436
  const n = { direction: "out" };
437
- let i = t(e, r, n), s = !0, a;
438
- const o = $;
439
- o.r += 1;
437
+ let i = t(e, r, n), s = !0, o;
438
+ const a = R;
439
+ a.r += 1;
440
440
  let h;
441
441
  function u() {
442
442
  const {
@@ -446,13 +446,13 @@ function ms(e, t, r) {
446
446
  tick: d = B,
447
447
  css: p
448
448
  } = i || Zt;
449
- p && (a = zt(e, 1, 0, c, l, m, p));
450
- const b = kt() + l, x = b + c;
451
- ae(() => Ae(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
449
+ p && (o = zt(e, 1, 0, c, l, m, p));
450
+ const b = kt() + l, E = b + c;
451
+ ae(() => Pe(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
452
452
  e.inert, e.inert = !0), Gt((_) => {
453
453
  if (s) {
454
- if (_ >= x)
455
- return d(0, 1), Ae(e, !1, "end"), --o.r || D(o.c), !1;
454
+ if (_ >= E)
455
+ return d(0, 1), Pe(e, !1, "end"), --a.r || k(a.c), !1;
456
456
  if (_ >= b) {
457
457
  const f = m((_ - b) / c);
458
458
  d(1 - f, f);
@@ -461,64 +461,64 @@ function ms(e, t, r) {
461
461
  return s;
462
462
  });
463
463
  }
464
- return le(i) ? Wt().then(() => {
464
+ return he(i) ? Wt().then(() => {
465
465
  i = i(n), u();
466
466
  }) : u(), {
467
467
  end(l) {
468
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && Xe(e, a), s = !1);
468
+ l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Ze(e, o), s = !1);
469
469
  }
470
470
  };
471
471
  }
472
- function ds(e) {
472
+ function ps(e) {
473
473
  return e?.length !== void 0 ? e : Array.from(e);
474
474
  }
475
- function ps(e, t) {
475
+ function gs(e, t) {
476
476
  e.d(1), t.delete(e.key);
477
477
  }
478
- function gs(e, t, r, n, i, s, a, o, h, u, l, c) {
478
+ function bs(e, t, r, n, i, s, o, a, h, u, l, c) {
479
479
  let m = e.length, d = s.length, p = m;
480
480
  const b = {};
481
481
  for (; p--; )
482
482
  b[e[p].key] = p;
483
- const x = [], _ = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), g = [];
483
+ const E = [], _ = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), g = [];
484
484
  for (p = d; p--; ) {
485
485
  const T = c(i, s, p), P = r(T);
486
- let O = a.get(P);
487
- O ? g.push(() => O.p(T, t)) : (O = u(P, T), O.c()), _.set(P, x[p] = O), P in b && f.set(P, Math.abs(p - b[P]));
486
+ let O = o.get(P);
487
+ O ? g.push(() => O.p(T, t)) : (O = u(P, T), O.c()), _.set(P, E[p] = O), P in b && f.set(P, Math.abs(p - b[P]));
488
488
  }
489
489
  const S = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
490
- function L(T) {
491
- z(T, 1), T.m(o, l), a.set(T.key, T), l = T.first, d--;
490
+ function $(T) {
491
+ V(T, 1), T.m(a, l), o.set(T.key, T), l = T.first, d--;
492
492
  }
493
493
  for (; m && d; ) {
494
- const T = x[d - 1], P = e[m - 1], O = T.key, fe = P.key;
495
- T === P ? (l = T.first, m--, d--) : _.has(fe) ? !a.has(O) || S.has(O) ? L(T) : A.has(fe) ? m-- : f.get(O) > f.get(fe) ? (A.add(O), L(T)) : (S.add(fe), m--) : (h(P, a), m--);
494
+ const T = E[d - 1], P = e[m - 1], O = T.key, me = P.key;
495
+ T === P ? (l = T.first, m--, d--) : _.has(me) ? !o.has(O) || S.has(O) ? $(T) : A.has(me) ? m-- : f.get(O) > f.get(me) ? (A.add(O), $(T)) : (S.add(me), m--) : (h(P, o), m--);
496
496
  }
497
497
  for (; m--; ) {
498
498
  const T = e[m];
499
- _.has(T.key) || h(T, a);
499
+ _.has(T.key) || h(T, o);
500
500
  }
501
501
  for (; d; )
502
- L(x[d - 1]);
503
- return D(g), x;
502
+ $(E[d - 1]);
503
+ return k(g), E;
504
504
  }
505
505
  function kr(e, t, r) {
506
506
  const { fragment: n, after_update: i } = e.$$;
507
507
  n && n.m(t, r), ae(() => {
508
- const s = e.$$.on_mount.map(Lt).filter(le);
509
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : D(s), e.$$.on_mount = [];
508
+ const s = e.$$.on_mount.map(Lt).filter(he);
509
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
510
510
  }), i.forEach(ae);
511
511
  }
512
512
  function Ur(e, t) {
513
513
  const r = e.$$;
514
- r.fragment !== null && (Dr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
514
+ r.fragment !== null && (Dr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
515
515
  }
516
516
  function Gr(e, t) {
517
- e.$$.dirty[0] === -1 && (j.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
517
+ e.$$.dirty[0] === -1 && (z.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
518
518
  }
519
- function Fr(e, t, r, n, i, s, a = null, o = [-1]) {
520
- const h = se;
521
- ie(e);
519
+ function Fr(e, t, r, n, i, s, o = null, a = [-1]) {
520
+ const h = oe;
521
+ se(e);
522
522
  const u = e.$$ = {
523
523
  fragment: null,
524
524
  ctx: [],
@@ -536,24 +536,24 @@ function Fr(e, t, r, n, i, s, a = null, o = [-1]) {
536
536
  context: new Map(t.context || (h ? h.$$.context : [])),
537
537
  // everything else
538
538
  callbacks: ht(),
539
- dirty: o,
539
+ dirty: a,
540
540
  skip_bound: !1,
541
541
  root: t.target || h.$$.root
542
542
  };
543
- a && a(u.root);
543
+ o && o(u.root);
544
544
  let l = !1;
545
545
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
546
546
  const p = d.length ? d[0] : m;
547
547
  return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Gr(e, c)), m;
548
- }) : [], u.update(), l = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
548
+ }) : [], u.update(), l = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
549
549
  if (t.hydrate) {
550
550
  const c = Ar(t.target);
551
- u.fragment && u.fragment.l(c), c.forEach(N);
551
+ u.fragment && u.fragment.l(c), c.forEach(L);
552
552
  } else
553
553
  u.fragment && u.fragment.c();
554
- t.intro && z(e.$$.fragment), kr(e, t.target, t.anchor), C();
554
+ t.intro && V(e.$$.fragment), kr(e, t.target, t.anchor), M();
555
555
  }
556
- ie(h);
556
+ se(h);
557
557
  }
558
558
  let Jt;
559
559
  typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
@@ -598,17 +598,17 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
598
598
  let s;
599
599
  return {
600
600
  c: function() {
601
- s = I("slot"), i !== "default" && W(s, "name", i);
601
+ s = C("slot"), i !== "default" && Z(s, "name", i);
602
602
  },
603
603
  /**
604
604
  * @param {HTMLElement} target
605
605
  * @param {HTMLElement} [anchor]
606
606
  */
607
607
  m: function(h, u) {
608
- Y(h, s, u);
608
+ K(h, s, u);
609
609
  },
610
610
  d: function(h) {
611
- h && N(s);
611
+ h && L(s);
612
612
  }
613
613
  };
614
614
  };
@@ -620,7 +620,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
620
620
  i in r && (t[i] = [e(i)]);
621
621
  for (const i of this.attributes) {
622
622
  const s = this.$$g_p(i.name);
623
- s in this.$$d || (this.$$d[s] = we(s, i.value, this.$$p_d, "toProp"));
623
+ s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
624
624
  }
625
625
  for (const i in this.$$p_d)
626
626
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -638,7 +638,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
638
638
  this.$$r = !0;
639
639
  for (const i in this.$$p_d)
640
640
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
641
- const s = we(
641
+ const s = Te(
642
642
  i,
643
643
  this.$$d[i],
644
644
  this.$$p_d,
@@ -651,8 +651,8 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
651
651
  this.$$c.$$.after_update.push(n), n();
652
652
  for (const i in this.$$l)
653
653
  for (const s of this.$$l[i]) {
654
- const a = this.$$c.$on(i, s);
655
- this.$$l_u.set(s, a);
654
+ const o = this.$$c.$on(i, s);
655
+ this.$$l_u.set(s, o);
656
656
  }
657
657
  this.$$l = {};
658
658
  }
@@ -660,7 +660,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
660
660
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
661
661
  // and setting attributes through setAttribute etc, this is helpful
662
662
  attributeChangedCallback(e, t, r) {
663
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = we(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
663
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
664
664
  }
665
665
  disconnectedCallback() {
666
666
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -673,7 +673,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
673
673
  ) || e;
674
674
  }
675
675
  });
676
- function we(e, t, r, n) {
676
+ function Te(e, t, r, n) {
677
677
  const i = r[e]?.type;
678
678
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
679
679
  return t;
@@ -703,33 +703,33 @@ function we(e, t, r, n) {
703
703
  }
704
704
  }
705
705
  function jr(e, t, r, n, i, s) {
706
- let a = class extends Jt {
706
+ let o = class extends Jt {
707
707
  constructor() {
708
708
  super(e, r, i), this.$$p_d = t;
709
709
  }
710
710
  static get observedAttributes() {
711
711
  return Object.keys(t).map(
712
- (o) => (t[o].attribute || o).toLowerCase()
712
+ (a) => (t[a].attribute || a).toLowerCase()
713
713
  );
714
714
  }
715
715
  };
716
- return Object.keys(t).forEach((o) => {
717
- Object.defineProperty(a.prototype, o, {
716
+ return Object.keys(t).forEach((a) => {
717
+ Object.defineProperty(o.prototype, a, {
718
718
  get() {
719
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
719
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
720
720
  },
721
721
  set(h) {
722
- h = we(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
722
+ h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
723
723
  }
724
724
  });
725
- }), n.forEach((o) => {
726
- Object.defineProperty(a.prototype, o, {
725
+ }), n.forEach((a) => {
726
+ Object.defineProperty(o.prototype, a, {
727
727
  get() {
728
- return this.$$c?.[o];
728
+ return this.$$c?.[a];
729
729
  }
730
730
  });
731
731
  }), e.element = /** @type {any} */
732
- a, a;
732
+ o, o;
733
733
  }
734
734
  class zr {
735
735
  /**
@@ -759,7 +759,7 @@ class zr {
759
759
  * @returns {() => void}
760
760
  */
761
761
  $on(t, r) {
762
- if (!le(r))
762
+ if (!he(r))
763
763
  return B;
764
764
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
765
765
  return n.push(r), () => {
@@ -777,44 +777,44 @@ class zr {
777
777
  }
778
778
  const Vr = "4";
779
779
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
780
- const F = [];
780
+ const j = [];
781
781
  function Xr(e, t) {
782
782
  return {
783
- subscribe: Me(e, t).subscribe
783
+ subscribe: Le(e, t).subscribe
784
784
  };
785
785
  }
786
- function Me(e, t = B) {
786
+ function Le(e, t = B) {
787
787
  let r;
788
788
  const n = /* @__PURE__ */ new Set();
789
- function i(o) {
790
- if ($t(e, o) && (e = o, r)) {
791
- const h = !F.length;
789
+ function i(a) {
790
+ if ($t(e, a) && (e = a, r)) {
791
+ const h = !j.length;
792
792
  for (const u of n)
793
- u[1](), F.push(u, e);
793
+ u[1](), j.push(u, e);
794
794
  if (h) {
795
- for (let u = 0; u < F.length; u += 2)
796
- F[u][0](F[u + 1]);
797
- F.length = 0;
795
+ for (let u = 0; u < j.length; u += 2)
796
+ j[u][0](j[u + 1]);
797
+ j.length = 0;
798
798
  }
799
799
  }
800
800
  }
801
- function s(o) {
802
- i(o(e));
801
+ function s(a) {
802
+ i(a(e));
803
803
  }
804
- function a(o, h = B) {
805
- const u = [o, h];
806
- return n.add(u), n.size === 1 && (r = t(i, s) || B), o(e), () => {
804
+ function o(a, h = B) {
805
+ const u = [a, h];
806
+ return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
807
807
  n.delete(u), n.size === 0 && r && (r(), r = null);
808
808
  };
809
809
  }
810
- return { set: i, update: s, subscribe: a };
810
+ return { set: i, update: s, subscribe: o };
811
811
  }
812
- function K(e, t, r) {
812
+ function ee(e, t, r) {
813
813
  const n = !Array.isArray(e), i = n ? [e] : e;
814
814
  if (!i.every(Boolean))
815
815
  throw new Error("derived() expects stores as input, got a falsy value");
816
816
  const s = t.length < 2;
817
- return Xr(r, (a, o) => {
817
+ return Xr(r, (o, a) => {
818
818
  let h = !1;
819
819
  const u = [];
820
820
  let l = 0, c = B;
@@ -822,13 +822,13 @@ function K(e, t, r) {
822
822
  if (l)
823
823
  return;
824
824
  c();
825
- const p = t(n ? u[0] : u, a, o);
826
- s ? a(p) : c = le(p) ? p : B;
825
+ const p = t(n ? u[0] : u, o, a);
826
+ s ? o(p) : c = he(p) ? p : B;
827
827
  }, d = i.map(
828
- (p, b) => nt(
828
+ (p, b) => st(
829
829
  p,
830
- (x) => {
831
- u[b] = x, l &= ~(1 << b), h && m();
830
+ (E) => {
831
+ u[b] = E, l &= ~(1 << b), h && m();
832
832
  },
833
833
  () => {
834
834
  l |= 1 << b;
@@ -836,11 +836,11 @@ function K(e, t, r) {
836
836
  )
837
837
  );
838
838
  return h = !0, m(), function() {
839
- D(d), c(), h = !1;
839
+ k(d), c(), h = !1;
840
840
  };
841
841
  });
842
842
  }
843
- var bs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
843
+ var ys = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
844
844
  function Wr(e) {
845
845
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
846
846
  }
@@ -861,19 +861,19 @@ function Kr(e) {
861
861
  function en(e) {
862
862
  return Array.isArray(e) ? [] : {};
863
863
  }
864
- function oe(e, t) {
865
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(en(e), e, t) : e;
864
+ function ue(e, t) {
865
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(en(e), e, t) : e;
866
866
  }
867
867
  function tn(e, t, r) {
868
868
  return e.concat(t).map(function(n) {
869
- return oe(n, r);
869
+ return ue(n, r);
870
870
  });
871
871
  }
872
872
  function rn(e, t) {
873
873
  if (!t.customMerge)
874
- return Z;
874
+ return J;
875
875
  var r = t.customMerge(e);
876
- return typeof r == "function" ? r : Z;
876
+ return typeof r == "function" ? r : J;
877
877
  }
878
878
  function nn(e) {
879
879
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -893,68 +893,54 @@ function qt(e, t) {
893
893
  function sn(e, t) {
894
894
  return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
895
895
  }
896
- function an(e, t, r) {
896
+ function on(e, t, r) {
897
897
  var n = {};
898
898
  return r.isMergeableObject(e) && mt(e).forEach(function(i) {
899
- n[i] = oe(e[i], r);
899
+ n[i] = ue(e[i], r);
900
900
  }), mt(t).forEach(function(i) {
901
- sn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
901
+ sn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
902
902
  }), n;
903
903
  }
904
- function Z(e, t, r) {
905
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = oe;
904
+ function J(e, t, r) {
905
+ r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = ue;
906
906
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
907
- return s ? n ? r.arrayMerge(e, t, r) : an(e, t, r) : oe(t, r);
907
+ return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : ue(t, r);
908
908
  }
909
- Z.all = function(t, r) {
909
+ J.all = function(t, r) {
910
910
  if (!Array.isArray(t))
911
911
  throw new Error("first argument should be an array");
912
912
  return t.reduce(function(n, i) {
913
- return Z(n, i, r);
913
+ return J(n, i, r);
914
914
  }, {});
915
915
  };
916
- var on = Z, un = on;
916
+ var an = J, un = an;
917
917
  const ln = /* @__PURE__ */ Wr(un);
918
- /*! *****************************************************************************
919
- Copyright (c) Microsoft Corporation.
920
-
921
- Permission to use, copy, modify, and/or distribute this software for any
922
- purpose with or without fee is hereby granted.
923
-
924
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
925
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
926
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
927
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
928
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
929
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
930
- PERFORMANCE OF THIS SOFTWARE.
931
- ***************************************************************************** */
932
- var Je = function(e, t) {
933
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
918
+ var Qe = function(e, t) {
919
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
934
920
  r.__proto__ = n;
935
921
  } || function(r, n) {
936
922
  for (var i in n)
937
923
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
938
- }, Je(e, t);
924
+ }, Qe(e, t);
939
925
  };
940
- function Ne(e, t) {
926
+ function $e(e, t) {
941
927
  if (typeof t != "function" && t !== null)
942
928
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
943
- Je(e, t);
929
+ Qe(e, t);
944
930
  function r() {
945
931
  this.constructor = e;
946
932
  }
947
933
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
948
934
  }
949
- var E = function() {
950
- return E = Object.assign || function(t) {
935
+ var I = function() {
936
+ return I = Object.assign || function(t) {
951
937
  for (var r, n = 1, i = arguments.length; n < i; n++) {
952
938
  r = arguments[n];
953
939
  for (var s in r)
954
940
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
955
941
  }
956
942
  return t;
957
- }, E.apply(this, arguments);
943
+ }, I.apply(this, arguments);
958
944
  };
959
945
  function hn(e, t) {
960
946
  var r = {};
@@ -965,46 +951,14 @@ function hn(e, t) {
965
951
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
966
952
  return r;
967
953
  }
968
- function ys(e) {
969
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
970
- if (r)
971
- return r.call(e);
972
- if (e && typeof e.length == "number")
973
- return {
974
- next: function() {
975
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
976
- }
977
- };
978
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
979
- }
980
- function _s(e, t) {
981
- var r = typeof Symbol == "function" && e[Symbol.iterator];
982
- if (!r)
983
- return e;
984
- var n = r.call(e), i, s = [], a;
985
- try {
986
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
987
- s.push(i.value);
988
- } catch (o) {
989
- a = { error: o };
990
- } finally {
991
- try {
992
- i && !i.done && (r = n.return) && r.call(n);
993
- } finally {
994
- if (a)
995
- throw a.error;
996
- }
997
- }
998
- return s;
999
- }
1000
- function ke(e, t, r) {
954
+ function Ge(e, t, r) {
1001
955
  if (r || arguments.length === 2)
1002
956
  for (var n = 0, i = t.length, s; n < i; n++)
1003
957
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1004
- return e.concat(s || t);
958
+ return e.concat(s || Array.prototype.slice.call(t));
1005
959
  }
1006
- function Ue(e, t) {
1007
- var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : fn;
960
+ function Fe(e, t) {
961
+ var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : mn;
1008
962
  return i(e, {
1009
963
  cache: r,
1010
964
  serializer: n
@@ -1013,95 +967,103 @@ function Ue(e, t) {
1013
967
  function cn(e) {
1014
968
  return e == null || typeof e == "number" || typeof e == "boolean";
1015
969
  }
1016
- function Qt(e, t, r, n) {
970
+ function fn(e, t, r, n) {
1017
971
  var i = cn(n) ? n : r(n), s = t.get(i);
1018
972
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1019
973
  }
1020
- function Yt(e, t, r) {
974
+ function Qt(e, t, r) {
1021
975
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1022
976
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1023
977
  }
1024
- function at(e, t, r, n, i) {
978
+ function Yt(e, t, r, n, i) {
1025
979
  return r.bind(t, e, n, i);
1026
980
  }
1027
- function fn(e, t) {
1028
- var r = e.length === 1 ? Qt : Yt;
1029
- return at(e, this, r, t.cache.create(), t.serializer);
1030
- }
1031
981
  function mn(e, t) {
1032
- return at(e, this, Yt, t.cache.create(), t.serializer);
982
+ var r = e.length === 1 ? fn : Qt;
983
+ return Yt(e, this, r, t.cache.create(), t.serializer);
1033
984
  }
1034
985
  function dn(e, t) {
1035
- return at(e, this, Qt, t.cache.create(), t.serializer);
986
+ return Yt(e, this, Qt, t.cache.create(), t.serializer);
1036
987
  }
1037
988
  var pn = function() {
1038
989
  return JSON.stringify(arguments);
1039
- };
1040
- function ot() {
1041
- this.cache = /* @__PURE__ */ Object.create(null);
1042
- }
1043
- ot.prototype.get = function(e) {
1044
- return this.cache[e];
1045
- };
1046
- ot.prototype.set = function(e, t) {
1047
- this.cache[e] = t;
1048
- };
1049
- var gn = {
990
+ }, gn = (
991
+ /** @class */
992
+ function() {
993
+ function e() {
994
+ this.cache = /* @__PURE__ */ Object.create(null);
995
+ }
996
+ return e.prototype.get = function(t) {
997
+ return this.cache[t];
998
+ }, e.prototype.set = function(t, r) {
999
+ this.cache[t] = r;
1000
+ }, e;
1001
+ }()
1002
+ ), bn = {
1050
1003
  create: function() {
1051
- return new ot();
1004
+ return new gn();
1052
1005
  }
1053
- }, Ge = {
1054
- variadic: mn,
1055
- monadic: dn
1056
- }, y;
1006
+ }, je = {
1007
+ variadic: dn
1008
+ }, Oe = function() {
1009
+ return Oe = Object.assign || function(t) {
1010
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1011
+ r = arguments[n];
1012
+ for (var s in r)
1013
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1014
+ }
1015
+ return t;
1016
+ }, Oe.apply(this, arguments);
1017
+ };
1018
+ var y;
1057
1019
  (function(e) {
1058
1020
  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";
1059
1021
  })(y || (y = {}));
1060
- var w;
1022
+ var x;
1061
1023
  (function(e) {
1062
1024
  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";
1063
- })(w || (w = {}));
1064
- var J;
1025
+ })(x || (x = {}));
1026
+ var q;
1065
1027
  (function(e) {
1066
1028
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1067
- })(J || (J = {}));
1029
+ })(q || (q = {}));
1068
1030
  function dt(e) {
1069
- return e.type === w.literal;
1031
+ return e.type === x.literal;
1070
1032
  }
1071
- function bn(e) {
1072
- return e.type === w.argument;
1033
+ function yn(e) {
1034
+ return e.type === x.argument;
1073
1035
  }
1074
1036
  function Kt(e) {
1075
- return e.type === w.number;
1037
+ return e.type === x.number;
1076
1038
  }
1077
1039
  function er(e) {
1078
- return e.type === w.date;
1040
+ return e.type === x.date;
1079
1041
  }
1080
1042
  function tr(e) {
1081
- return e.type === w.time;
1043
+ return e.type === x.time;
1082
1044
  }
1083
1045
  function rr(e) {
1084
- return e.type === w.select;
1046
+ return e.type === x.select;
1085
1047
  }
1086
1048
  function nr(e) {
1087
- return e.type === w.plural;
1049
+ return e.type === x.plural;
1088
1050
  }
1089
- function yn(e) {
1090
- return e.type === w.pound;
1051
+ function _n(e) {
1052
+ return e.type === x.pound;
1091
1053
  }
1092
1054
  function ir(e) {
1093
- return e.type === w.tag;
1055
+ return e.type === x.tag;
1094
1056
  }
1095
1057
  function sr(e) {
1096
- return !!(e && typeof e == "object" && e.type === J.number);
1058
+ return !!(e && typeof e == "object" && e.type === q.number);
1097
1059
  }
1098
- function qe(e) {
1099
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1060
+ function Ye(e) {
1061
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1100
1062
  }
1101
- var ar = /[ \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;
1102
- function vn(e) {
1063
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
1064
+ function En(e) {
1103
1065
  var t = {};
1104
- return e.replace(_n, function(r) {
1066
+ return e.replace(vn, function(r) {
1105
1067
  var n = r.length;
1106
1068
  switch (r[0]) {
1107
1069
  case "G":
@@ -1190,32 +1152,42 @@ function vn(e) {
1190
1152
  return "";
1191
1153
  }), t;
1192
1154
  }
1193
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1194
- function xn(e) {
1155
+ var w = function() {
1156
+ return w = Object.assign || function(t) {
1157
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1158
+ r = arguments[n];
1159
+ for (var s in r)
1160
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1161
+ }
1162
+ return t;
1163
+ }, w.apply(this, arguments);
1164
+ };
1165
+ var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1166
+ function wn(e) {
1195
1167
  if (e.length === 0)
1196
1168
  throw new Error("Number skeleton cannot be empty");
1197
- for (var t = e.split(En).filter(function(m) {
1169
+ for (var t = e.split(xn).filter(function(m) {
1198
1170
  return m.length > 0;
1199
1171
  }), r = [], n = 0, i = t; n < i.length; n++) {
1200
- var s = i[n], a = s.split("/");
1201
- if (a.length === 0)
1172
+ var s = i[n], o = s.split("/");
1173
+ if (o.length === 0)
1202
1174
  throw new Error("Invalid number skeleton");
1203
- for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1175
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1204
1176
  var c = l[u];
1205
1177
  if (c.length === 0)
1206
1178
  throw new Error("Invalid number skeleton");
1207
1179
  }
1208
- r.push({ stem: o, options: h });
1180
+ r.push({ stem: a, options: h });
1209
1181
  }
1210
1182
  return r;
1211
1183
  }
1212
- function wn(e) {
1184
+ function Tn(e) {
1213
1185
  return e.replace(/^(.*?)-/, "");
1214
1186
  }
1215
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1187
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1216
1188
  function gt(e) {
1217
1189
  var t = {};
1218
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1190
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1219
1191
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1220
1192
  }), t;
1221
1193
  }
@@ -1259,7 +1231,7 @@ function lr(e) {
1259
1231
  };
1260
1232
  }
1261
1233
  }
1262
- function Hn(e) {
1234
+ function Sn(e) {
1263
1235
  var t;
1264
1236
  if (e[0] === "E" && e[1] === "E" ? (t = {
1265
1237
  notation: "engineering"
@@ -1277,7 +1249,7 @@ function bt(e) {
1277
1249
  var t = {}, r = lr(e);
1278
1250
  return r || t;
1279
1251
  }
1280
- function Sn(e) {
1252
+ function Bn(e) {
1281
1253
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1282
1254
  var i = n[r];
1283
1255
  switch (i.stem) {
@@ -1301,7 +1273,7 @@ function Sn(e) {
1301
1273
  continue;
1302
1274
  case "measure-unit":
1303
1275
  case "unit":
1304
- t.style = "unit", t.unit = wn(i.options[0]);
1276
+ t.style = "unit", t.unit = Tn(i.options[0]);
1305
1277
  continue;
1306
1278
  case "compact-short":
1307
1279
  case "K":
@@ -1312,13 +1284,13 @@ function Sn(e) {
1312
1284
  t.notation = "compact", t.compactDisplay = "long";
1313
1285
  continue;
1314
1286
  case "scientific":
1315
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1316
- return E(E({}, h), bt(u));
1287
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1288
+ return w(w({}, h), bt(u));
1317
1289
  }, {}));
1318
1290
  continue;
1319
1291
  case "engineering":
1320
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1321
- return E(E({}, h), bt(u));
1292
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1293
+ return w(w({}, h), bt(u));
1322
1294
  }, {}));
1323
1295
  continue;
1324
1296
  case "notation-simple":
@@ -1363,7 +1335,7 @@ function Sn(e) {
1363
1335
  case "integer-width":
1364
1336
  if (i.options.length > 1)
1365
1337
  throw new RangeError("integer-width stems only accept a single optional option");
1366
- i.options[0].replace(Tn, function(h, u, l, c, m, d) {
1338
+ i.options[0].replace(Hn, function(h, u, l, c, m, d) {
1367
1339
  if (u)
1368
1340
  t.minimumIntegerDigits = l.length;
1369
1341
  else {
@@ -1387,21 +1359,21 @@ function Sn(e) {
1387
1359
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1388
1360
  });
1389
1361
  var s = i.options[0];
1390
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), gt(s)));
1362
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), gt(s)));
1391
1363
  continue;
1392
1364
  }
1393
- if (or.test(i.stem)) {
1394
- t = E(E({}, t), gt(i.stem));
1365
+ if (ar.test(i.stem)) {
1366
+ t = w(w({}, t), gt(i.stem));
1395
1367
  continue;
1396
1368
  }
1397
- var a = lr(i.stem);
1398
- a && (t = E(E({}, t), a));
1399
- var o = Hn(i.stem);
1400
- o && (t = E(E({}, t), o));
1369
+ var o = lr(i.stem);
1370
+ o && (t = w(w({}, t), o));
1371
+ var a = Sn(i.stem);
1372
+ a && (t = w(w({}, t), a));
1401
1373
  }
1402
1374
  return t;
1403
1375
  }
1404
- var Ee = {
1376
+ var xe = {
1405
1377
  "001": [
1406
1378
  "H",
1407
1379
  "h"
@@ -2816,23 +2788,23 @@ var Ee = {
2816
2788
  "h"
2817
2789
  ]
2818
2790
  };
2819
- function Bn(e, t) {
2791
+ function An(e, t) {
2820
2792
  for (var r = "", n = 0; n < e.length; n++) {
2821
2793
  var i = e.charAt(n);
2822
2794
  if (i === "j") {
2823
2795
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2824
2796
  s++, n++;
2825
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = An(t);
2826
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2797
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Pn(t);
2798
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2827
2799
  r += h;
2828
- for (; a-- > 0; )
2800
+ for (; o-- > 0; )
2829
2801
  r = u + r;
2830
2802
  } else
2831
2803
  i === "J" ? r += "H" : r += i;
2832
2804
  }
2833
2805
  return r;
2834
2806
  }
2835
- function An(e) {
2807
+ function Pn(e) {
2836
2808
  var t = e.hourCycle;
2837
2809
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2838
2810
  e.hourCycles && // @ts-ignore
@@ -2851,23 +2823,23 @@ function An(e) {
2851
2823
  }
2852
2824
  var r = e.language, n;
2853
2825
  r !== "root" && (n = e.maximize().region);
2854
- var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
2826
+ var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
2855
2827
  return i[0];
2856
2828
  }
2857
- var Fe, Pn = new RegExp("^".concat(ar.source, "*")), On = new RegExp("".concat(ar.source, "*$"));
2829
+ var ze, On = new RegExp("^".concat(or.source, "*")), In = new RegExp("".concat(or.source, "*$"));
2858
2830
  function v(e, t) {
2859
2831
  return { start: e, end: t };
2860
2832
  }
2861
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
2833
+ var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Nn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, kn = Dn ? Number.isSafeInteger : function(e) {
2862
2834
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2863
- }, Qe = !0;
2835
+ }, Ke = !0;
2864
2836
  try {
2865
- var kn = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2866
- Qe = ((Fe = kn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2837
+ var Un = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2838
+ Ke = ((ze = Un.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
2867
2839
  } catch {
2868
- Qe = !1;
2840
+ Ke = !1;
2869
2841
  }
2870
- var yt = In ? (
2842
+ var yt = Cn ? (
2871
2843
  // Native
2872
2844
  function(t, r, n) {
2873
2845
  return t.startsWith(r, n);
@@ -2877,31 +2849,31 @@ var yt = In ? (
2877
2849
  function(t, r, n) {
2878
2850
  return t.slice(n, n + r.length) === r;
2879
2851
  }
2880
- ), Ye = Cn ? String.fromCodePoint : (
2852
+ ), et = Mn ? String.fromCodePoint : (
2881
2853
  // IE11
2882
2854
  function() {
2883
2855
  for (var t = [], r = 0; r < arguments.length; r++)
2884
2856
  t[r] = arguments[r];
2885
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2886
- if (a = t[s++], a > 1114111)
2887
- throw RangeError(a + " is not a valid code point");
2888
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2857
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2858
+ if (o = t[s++], o > 1114111)
2859
+ throw RangeError(o + " is not a valid code point");
2860
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2889
2861
  }
2890
2862
  return n;
2891
2863
  }
2892
2864
  ), _t = (
2893
2865
  // native
2894
- Mn ? Object.fromEntries : (
2866
+ Nn ? Object.fromEntries : (
2895
2867
  // Ponyfill
2896
2868
  function(t) {
2897
2869
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2898
- var s = i[n], a = s[0], o = s[1];
2899
- r[a] = o;
2870
+ var s = i[n], o = s[0], a = s[1];
2871
+ r[o] = a;
2900
2872
  }
2901
2873
  return r;
2902
2874
  }
2903
2875
  )
2904
- ), hr = Nn ? (
2876
+ ), hr = Ln ? (
2905
2877
  // Native
2906
2878
  function(t, r) {
2907
2879
  return t.codePointAt(r);
@@ -2915,7 +2887,7 @@ var yt = In ? (
2915
2887
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2916
2888
  }
2917
2889
  }
2918
- ), Un = Ln ? (
2890
+ ), Gn = $n ? (
2919
2891
  // Native
2920
2892
  function(t) {
2921
2893
  return t.trimStart();
@@ -2923,9 +2895,9 @@ var yt = In ? (
2923
2895
  ) : (
2924
2896
  // Ponyfill
2925
2897
  function(t) {
2926
- return t.replace(Pn, "");
2898
+ return t.replace(On, "");
2927
2899
  }
2928
- ), Gn = $n ? (
2900
+ ), Fn = Rn ? (
2929
2901
  // Native
2930
2902
  function(t) {
2931
2903
  return t.trimEnd();
@@ -2933,32 +2905,32 @@ var yt = In ? (
2933
2905
  ) : (
2934
2906
  // Ponyfill
2935
2907
  function(t) {
2936
- return t.replace(On, "");
2908
+ return t.replace(In, "");
2937
2909
  }
2938
2910
  );
2939
2911
  function cr(e, t) {
2940
2912
  return new RegExp(e, t);
2941
2913
  }
2942
- var Ke;
2943
- if (Qe) {
2914
+ var tt;
2915
+ if (Ke) {
2944
2916
  var vt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2945
- Ke = function(t, r) {
2917
+ tt = function(t, r) {
2946
2918
  var n;
2947
2919
  vt.lastIndex = r;
2948
2920
  var i = vt.exec(t);
2949
2921
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2950
2922
  };
2951
2923
  } else
2952
- Ke = function(t, r) {
2924
+ tt = function(t, r) {
2953
2925
  for (var n = []; ; ) {
2954
2926
  var i = hr(t, r);
2955
- if (i === void 0 || fr(i) || Vn(i))
2927
+ if (i === void 0 || fr(i) || Xn(i))
2956
2928
  break;
2957
2929
  n.push(i), r += i >= 65536 ? 2 : 1;
2958
2930
  }
2959
- return Ye.apply(void 0, n);
2931
+ return et.apply(void 0, n);
2960
2932
  };
2961
- var Fn = (
2933
+ var jn = (
2962
2934
  /** @class */
2963
2935
  function() {
2964
2936
  function e(t, r) {
@@ -2972,33 +2944,33 @@ var Fn = (
2972
2944
  for (var i = []; !this.isEOF(); ) {
2973
2945
  var s = this.char();
2974
2946
  if (s === 123) {
2975
- var a = this.parseArgument(t, n);
2976
- if (a.err)
2977
- return a;
2978
- i.push(a.val);
2947
+ var o = this.parseArgument(t, n);
2948
+ if (o.err)
2949
+ return o;
2950
+ i.push(o.val);
2979
2951
  } else {
2980
2952
  if (s === 125 && t > 0)
2981
2953
  break;
2982
2954
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2983
- var o = this.clonePosition();
2955
+ var a = this.clonePosition();
2984
2956
  this.bump(), i.push({
2985
- type: w.pound,
2986
- location: v(o, this.clonePosition())
2957
+ type: x.pound,
2958
+ location: v(a, this.clonePosition())
2987
2959
  });
2988
2960
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2989
2961
  if (n)
2990
2962
  break;
2991
2963
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2992
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
2993
- var a = this.parseTag(t, r);
2994
- if (a.err)
2995
- return a;
2996
- i.push(a.val);
2964
+ } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2965
+ var o = this.parseTag(t, r);
2966
+ if (o.err)
2967
+ return o;
2968
+ i.push(o.val);
2997
2969
  } else {
2998
- var a = this.parseLiteral(t, r);
2999
- if (a.err)
3000
- return a;
3001
- i.push(a.val);
2970
+ var o = this.parseLiteral(t, r);
2971
+ if (o.err)
2972
+ return o;
2973
+ i.push(o.val);
3002
2974
  }
3003
2975
  }
3004
2976
  }
@@ -3010,7 +2982,7 @@ var Fn = (
3010
2982
  if (this.bumpSpace(), this.bumpIf("/>"))
3011
2983
  return {
3012
2984
  val: {
3013
- type: w.literal,
2985
+ type: x.literal,
3014
2986
  value: "<".concat(i, "/>"),
3015
2987
  location: v(n, this.clonePosition())
3016
2988
  },
@@ -3020,27 +2992,27 @@ var Fn = (
3020
2992
  var s = this.parseMessage(t + 1, r, !0);
3021
2993
  if (s.err)
3022
2994
  return s;
3023
- var a = s.val, o = this.clonePosition();
2995
+ var o = s.val, a = this.clonePosition();
3024
2996
  if (this.bumpIf("</")) {
3025
- if (this.isEOF() || !et(this.char()))
3026
- return this.error(y.INVALID_TAG, v(o, this.clonePosition()));
2997
+ if (this.isEOF() || !rt(this.char()))
2998
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3027
2999
  var h = this.clonePosition(), u = this.parseTagName();
3028
3000
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3029
3001
  val: {
3030
- type: w.tag,
3002
+ type: x.tag,
3031
3003
  value: i,
3032
- children: a,
3004
+ children: o,
3033
3005
  location: v(n, this.clonePosition())
3034
3006
  },
3035
3007
  err: null
3036
- } : this.error(y.INVALID_TAG, v(o, this.clonePosition())));
3008
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3037
3009
  } else
3038
3010
  return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3039
3011
  } else
3040
3012
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3041
3013
  }, e.prototype.parseTagName = function() {
3042
3014
  var t = this.offset();
3043
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3015
+ for (this.bump(); !this.isEOF() && Vn(this.char()); )
3044
3016
  this.bump();
3045
3017
  return this.message.slice(t, this.offset());
3046
3018
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3050,26 +3022,26 @@ var Fn = (
3050
3022
  i += s;
3051
3023
  continue;
3052
3024
  }
3053
- var a = this.tryParseUnquoted(t, r);
3054
- if (a) {
3055
- i += a;
3056
- continue;
3057
- }
3058
- var o = this.tryParseLeftAngleBracket();
3025
+ var o = this.tryParseUnquoted(t, r);
3059
3026
  if (o) {
3060
3027
  i += o;
3061
3028
  continue;
3062
3029
  }
3030
+ var a = this.tryParseLeftAngleBracket();
3031
+ if (a) {
3032
+ i += a;
3033
+ continue;
3034
+ }
3063
3035
  break;
3064
3036
  }
3065
3037
  var h = v(n, this.clonePosition());
3066
3038
  return {
3067
- val: { type: w.literal, value: i, location: h },
3039
+ val: { type: x.literal, value: i, location: h },
3068
3040
  err: null
3069
3041
  };
3070
3042
  }, e.prototype.tryParseLeftAngleBracket = function() {
3071
3043
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3072
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3044
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3073
3045
  }, e.prototype.tryParseQuote = function(t) {
3074
3046
  if (this.isEOF() || this.char() !== 39)
3075
3047
  return null;
@@ -3103,12 +3075,12 @@ var Fn = (
3103
3075
  r.push(n);
3104
3076
  this.bump();
3105
3077
  }
3106
- return Ye.apply(void 0, r);
3078
+ return et.apply(void 0, r);
3107
3079
  }, e.prototype.tryParseUnquoted = function(t, r) {
3108
3080
  if (this.isEOF())
3109
3081
  return null;
3110
3082
  var n = this.char();
3111
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3083
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3112
3084
  }, e.prototype.parseArgument = function(t, r) {
3113
3085
  var n = this.clonePosition();
3114
3086
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3124,7 +3096,7 @@ var Fn = (
3124
3096
  case 125:
3125
3097
  return this.bump(), {
3126
3098
  val: {
3127
- type: w.argument,
3099
+ type: x.argument,
3128
3100
  // value does not include the opening and closing braces.
3129
3101
  value: i,
3130
3102
  location: v(n, this.clonePosition())
@@ -3137,15 +3109,15 @@ var Fn = (
3137
3109
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3138
3110
  }
3139
3111
  }, e.prototype.parseIdentifierIfPossible = function() {
3140
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3112
+ var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3141
3113
  this.bumpTo(i);
3142
- var s = this.clonePosition(), a = v(t, s);
3143
- return { value: n, location: a };
3114
+ var s = this.clonePosition(), o = v(t, s);
3115
+ return { value: n, location: o };
3144
3116
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3145
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3146
- switch (o) {
3117
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3118
+ switch (a) {
3147
3119
  case "":
3148
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, h));
3120
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
3149
3121
  case "number":
3150
3122
  case "date":
3151
3123
  case "time": {
@@ -3156,7 +3128,7 @@ var Fn = (
3156
3128
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3157
3129
  if (c.err)
3158
3130
  return c;
3159
- var m = Gn(c.val);
3131
+ var m = Fn(c.val);
3160
3132
  if (m.length === 0)
3161
3133
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3162
3134
  var d = v(l, this.clonePosition());
@@ -3167,24 +3139,24 @@ var Fn = (
3167
3139
  return p;
3168
3140
  var b = v(i, this.clonePosition());
3169
3141
  if (u && yt(u?.style, "::", 0)) {
3170
- var x = Un(u.style.slice(2));
3171
- if (o === "number") {
3172
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3142
+ var E = Gn(u.style.slice(2));
3143
+ if (a === "number") {
3144
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3173
3145
  return c.err ? c : {
3174
- val: { type: w.number, value: n, location: b, style: c.val },
3146
+ val: { type: x.number, value: n, location: b, style: c.val },
3175
3147
  err: null
3176
3148
  };
3177
3149
  } else {
3178
- if (x.length === 0)
3150
+ if (E.length === 0)
3179
3151
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3180
- var _ = x;
3181
- this.locale && (_ = Bn(x, this.locale));
3152
+ var _ = E;
3153
+ this.locale && (_ = An(E, this.locale));
3182
3154
  var m = {
3183
- type: J.dateTime,
3155
+ type: q.dateTime,
3184
3156
  pattern: _,
3185
3157
  location: u.styleLocation,
3186
- parsedOptions: this.shouldParseSkeletons ? vn(_) : {}
3187
- }, f = o === "date" ? w.date : w.time;
3158
+ parsedOptions: this.shouldParseSkeletons ? En(_) : {}
3159
+ }, f = a === "date" ? x.date : x.time;
3188
3160
  return {
3189
3161
  val: { type: f, value: n, location: b, style: m },
3190
3162
  err: null
@@ -3193,7 +3165,7 @@ var Fn = (
3193
3165
  }
3194
3166
  return {
3195
3167
  val: {
3196
- type: o === "number" ? w.number : o === "date" ? w.date : w.time,
3168
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3197
3169
  value: n,
3198
3170
  location: b,
3199
3171
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -3206,10 +3178,10 @@ var Fn = (
3206
3178
  case "select": {
3207
3179
  var g = this.clonePosition();
3208
3180
  if (this.bumpSpace(), !this.bumpIf(","))
3209
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(g, E({}, g)));
3181
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(g, Oe({}, g)));
3210
3182
  this.bumpSpace();
3211
3183
  var S = this.parseIdentifierIfPossible(), A = 0;
3212
- if (o !== "select" && S.value === "offset") {
3184
+ if (a !== "select" && S.value === "offset") {
3213
3185
  if (!this.bumpIf(":"))
3214
3186
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3215
3187
  this.bumpSpace();
@@ -3218,35 +3190,35 @@ var Fn = (
3218
3190
  return c;
3219
3191
  this.bumpSpace(), S = this.parseIdentifierIfPossible(), A = c.val;
3220
3192
  }
3221
- var L = this.tryParsePluralOrSelectOptions(t, o, r, S);
3222
- if (L.err)
3223
- return L;
3193
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, S);
3194
+ if ($.err)
3195
+ return $;
3224
3196
  var p = this.tryParseArgumentClose(i);
3225
3197
  if (p.err)
3226
3198
  return p;
3227
3199
  var T = v(i, this.clonePosition());
3228
- return o === "select" ? {
3200
+ return a === "select" ? {
3229
3201
  val: {
3230
- type: w.select,
3202
+ type: x.select,
3231
3203
  value: n,
3232
- options: _t(L.val),
3204
+ options: _t($.val),
3233
3205
  location: T
3234
3206
  },
3235
3207
  err: null
3236
3208
  } : {
3237
3209
  val: {
3238
- type: w.plural,
3210
+ type: x.plural,
3239
3211
  value: n,
3240
- options: _t(L.val),
3212
+ options: _t($.val),
3241
3213
  offset: A,
3242
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3214
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3243
3215
  location: T
3244
3216
  },
3245
3217
  err: null
3246
3218
  };
3247
3219
  }
3248
3220
  default:
3249
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, h));
3221
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
3250
3222
  }
3251
3223
  }, e.prototype.tryParseArgumentClose = function(t) {
3252
3224
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3288,21 +3260,21 @@ var Fn = (
3288
3260
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3289
3261
  var n = [];
3290
3262
  try {
3291
- n = xn(t);
3263
+ n = wn(t);
3292
3264
  } catch {
3293
3265
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3294
3266
  }
3295
3267
  return {
3296
3268
  val: {
3297
- type: J.number,
3269
+ type: q.number,
3298
3270
  tokens: n,
3299
3271
  location: r,
3300
- parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3272
+ parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3301
3273
  },
3302
3274
  err: null
3303
3275
  };
3304
3276
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3305
- for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3277
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3306
3278
  if (u.length === 0) {
3307
3279
  var c = this.clonePosition();
3308
3280
  if (r !== "select" && this.bumpIf("=")) {
@@ -3315,7 +3287,7 @@ var Fn = (
3315
3287
  }
3316
3288
  if (h.has(u))
3317
3289
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3318
- u === "other" && (a = !0), this.bumpSpace();
3290
+ u === "other" && (o = !0), this.bumpSpace();
3319
3291
  var d = this.clonePosition();
3320
3292
  if (!this.bumpIf("{"))
3321
3293
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
@@ -3325,7 +3297,7 @@ var Fn = (
3325
3297
  var b = this.tryParseArgumentClose(d);
3326
3298
  if (b.err)
3327
3299
  return b;
3328
- o.push([
3300
+ a.push([
3329
3301
  u,
3330
3302
  {
3331
3303
  value: p.val,
@@ -3333,19 +3305,19 @@ var Fn = (
3333
3305
  }
3334
3306
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3335
3307
  }
3336
- return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3308
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3337
3309
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3338
3310
  var n = 1, i = this.clonePosition();
3339
3311
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3340
- for (var s = !1, a = 0; !this.isEOF(); ) {
3341
- var o = this.char();
3342
- if (o >= 48 && o <= 57)
3343
- s = !0, a = a * 10 + (o - 48), this.bump();
3312
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3313
+ var a = this.char();
3314
+ if (a >= 48 && a <= 57)
3315
+ s = !0, o = o * 10 + (a - 48), this.bump();
3344
3316
  else
3345
3317
  break;
3346
3318
  }
3347
3319
  var h = v(i, this.clonePosition());
3348
- return s ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3320
+ return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3349
3321
  }, e.prototype.offset = function() {
3350
3322
  return this.position.offset;
3351
3323
  }, e.prototype.isEOF = function() {
@@ -3411,47 +3383,47 @@ var Fn = (
3411
3383
  }, e;
3412
3384
  }()
3413
3385
  );
3414
- function et(e) {
3386
+ function rt(e) {
3415
3387
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3416
3388
  }
3417
- function jn(e) {
3418
- return et(e) || e === 47;
3419
- }
3420
3389
  function zn(e) {
3390
+ return rt(e) || e === 47;
3391
+ }
3392
+ function Vn(e) {
3421
3393
  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;
3422
3394
  }
3423
3395
  function fr(e) {
3424
3396
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3425
3397
  }
3426
- function Vn(e) {
3398
+ function Xn(e) {
3427
3399
  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;
3428
3400
  }
3429
- function tt(e) {
3401
+ function nt(e) {
3430
3402
  e.forEach(function(t) {
3431
3403
  if (delete t.location, rr(t) || nr(t))
3432
3404
  for (var r in t.options)
3433
- delete t.options[r].location, tt(t.options[r].value);
3405
+ delete t.options[r].location, nt(t.options[r].value);
3434
3406
  else
3435
- Kt(t) && sr(t.style) || (er(t) || tr(t)) && qe(t.style) ? delete t.style.location : ir(t) && tt(t.children);
3407
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && Ye(t.style) ? delete t.style.location : ir(t) && nt(t.children);
3436
3408
  });
3437
3409
  }
3438
- function Xn(e, t) {
3439
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3440
- var r = new Fn(e, t).parse();
3410
+ function Wn(e, t) {
3411
+ t === void 0 && (t = {}), t = Oe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3412
+ var r = new jn(e, t).parse();
3441
3413
  if (r.err) {
3442
3414
  var n = SyntaxError(y[r.err.kind]);
3443
3415
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3444
3416
  }
3445
- return t?.captureLocation || tt(r.val), r.val;
3417
+ return t?.captureLocation || nt(r.val), r.val;
3446
3418
  }
3447
- var q;
3419
+ var Q;
3448
3420
  (function(e) {
3449
3421
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3450
- })(q || (q = {}));
3451
- var Le = (
3422
+ })(Q || (Q = {}));
3423
+ var Re = (
3452
3424
  /** @class */
3453
3425
  function(e) {
3454
- Ne(t, e);
3426
+ $e(t, e);
3455
3427
  function t(r, n, i) {
3456
3428
  var s = e.call(this, r) || this;
3457
3429
  return s.code = n, s.originalMessage = i, s;
@@ -3463,44 +3435,44 @@ var Le = (
3463
3435
  ), Et = (
3464
3436
  /** @class */
3465
3437
  function(e) {
3466
- Ne(t, e);
3438
+ $e(t, e);
3467
3439
  function t(r, n, i, s) {
3468
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3440
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
3469
3441
  }
3470
3442
  return t;
3471
- }(Le)
3472
- ), Wn = (
3443
+ }(Re)
3444
+ ), Zn = (
3473
3445
  /** @class */
3474
3446
  function(e) {
3475
- Ne(t, e);
3447
+ $e(t, e);
3476
3448
  function t(r, n, i) {
3477
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3449
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3478
3450
  }
3479
3451
  return t;
3480
- }(Le)
3481
- ), Zn = (
3452
+ }(Re)
3453
+ ), Jn = (
3482
3454
  /** @class */
3483
3455
  function(e) {
3484
- Ne(t, e);
3456
+ $e(t, e);
3485
3457
  function t(r, n) {
3486
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3458
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3487
3459
  }
3488
3460
  return t;
3489
- }(Le)
3461
+ }(Re)
3490
3462
  ), H;
3491
3463
  (function(e) {
3492
3464
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3493
3465
  })(H || (H = {}));
3494
- function Jn(e) {
3466
+ function qn(e) {
3495
3467
  return e.length < 2 ? e : e.reduce(function(t, r) {
3496
3468
  var n = t[t.length - 1];
3497
3469
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3498
3470
  }, []);
3499
3471
  }
3500
- function qn(e) {
3472
+ function Qn(e) {
3501
3473
  return typeof e == "function";
3502
3474
  }
3503
- function Te(e, t, r, n, i, s, a) {
3475
+ function He(e, t, r, n, i, s, o) {
3504
3476
  if (e.length === 1 && dt(e[0]))
3505
3477
  return [
3506
3478
  {
@@ -3508,17 +3480,17 @@ function Te(e, t, r, n, i, s, a) {
3508
3480
  value: e[0].value
3509
3481
  }
3510
3482
  ];
3511
- for (var o = [], h = 0, u = e; h < u.length; h++) {
3483
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3512
3484
  var l = u[h];
3513
3485
  if (dt(l)) {
3514
- o.push({
3486
+ a.push({
3515
3487
  type: H.literal,
3516
3488
  value: l.value
3517
3489
  });
3518
3490
  continue;
3519
3491
  }
3520
- if (yn(l)) {
3521
- typeof s == "number" && o.push({
3492
+ if (_n(l)) {
3493
+ typeof s == "number" && a.push({
3522
3494
  type: H.literal,
3523
3495
  value: r.getNumberFormat(t).format(s)
3524
3496
  });
@@ -3526,26 +3498,26 @@ function Te(e, t, r, n, i, s, a) {
3526
3498
  }
3527
3499
  var c = l.value;
3528
3500
  if (!(i && c in i))
3529
- throw new Zn(c, a);
3501
+ throw new Jn(c, o);
3530
3502
  var m = i[c];
3531
- if (bn(l)) {
3532
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3503
+ if (yn(l)) {
3504
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3533
3505
  type: typeof m == "string" ? H.literal : H.object,
3534
3506
  value: m
3535
3507
  });
3536
3508
  continue;
3537
3509
  }
3538
3510
  if (er(l)) {
3539
- var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
3540
- o.push({
3511
+ var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3512
+ a.push({
3541
3513
  type: H.literal,
3542
3514
  value: r.getDateTimeFormat(t, d).format(m)
3543
3515
  });
3544
3516
  continue;
3545
3517
  }
3546
3518
  if (tr(l)) {
3547
- var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
3548
- o.push({
3519
+ var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3520
+ a.push({
3549
3521
  type: H.literal,
3550
3522
  value: r.getDateTimeFormat(t, d).format(m)
3551
3523
  });
@@ -3553,20 +3525,20 @@ function Te(e, t, r, n, i, s, a) {
3553
3525
  }
3554
3526
  if (Kt(l)) {
3555
3527
  var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3556
- d && d.scale && (m = m * (d.scale || 1)), o.push({
3528
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3557
3529
  type: H.literal,
3558
3530
  value: r.getNumberFormat(t, d).format(m)
3559
3531
  });
3560
3532
  continue;
3561
3533
  }
3562
3534
  if (ir(l)) {
3563
- var p = l.children, b = l.value, x = i[b];
3564
- if (!qn(x))
3565
- throw new Wn(b, "function", a);
3566
- var _ = Te(p, t, r, n, i, s), f = x(_.map(function(A) {
3535
+ var p = l.children, b = l.value, E = i[b];
3536
+ if (!Qn(E))
3537
+ throw new Zn(b, "function", o);
3538
+ var _ = He(p, t, r, n, i, s), f = E(_.map(function(A) {
3567
3539
  return A.value;
3568
3540
  }));
3569
- Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(A) {
3541
+ Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(A) {
3570
3542
  return {
3571
3543
  type: typeof A == "string" ? H.literal : H.object,
3572
3544
  value: A
@@ -3576,39 +3548,39 @@ function Te(e, t, r, n, i, s, a) {
3576
3548
  if (rr(l)) {
3577
3549
  var g = l.options[m] || l.options.other;
3578
3550
  if (!g)
3579
- throw new Et(l.value, m, Object.keys(l.options), a);
3580
- o.push.apply(o, Te(g.value, t, r, n, i));
3551
+ throw new Et(l.value, m, Object.keys(l.options), o);
3552
+ a.push.apply(a, He(g.value, t, r, n, i));
3581
3553
  continue;
3582
3554
  }
3583
3555
  if (nr(l)) {
3584
3556
  var g = l.options["=".concat(m)];
3585
3557
  if (!g) {
3586
3558
  if (!Intl.PluralRules)
3587
- throw new Le(`Intl.PluralRules is not available in this environment.
3559
+ throw new Re(`Intl.PluralRules is not available in this environment.
3588
3560
  Try polyfilling it using "@formatjs/intl-pluralrules"
3589
- `, q.MISSING_INTL_API, a);
3561
+ `, Q.MISSING_INTL_API, o);
3590
3562
  var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3591
3563
  g = l.options[S] || l.options.other;
3592
3564
  }
3593
3565
  if (!g)
3594
- throw new Et(l.value, m, Object.keys(l.options), a);
3595
- o.push.apply(o, Te(g.value, t, r, n, i, m - (l.offset || 0)));
3566
+ throw new Et(l.value, m, Object.keys(l.options), o);
3567
+ a.push.apply(a, He(g.value, t, r, n, i, m - (l.offset || 0)));
3596
3568
  continue;
3597
3569
  }
3598
3570
  }
3599
- return Jn(o);
3571
+ return qn(a);
3600
3572
  }
3601
- function Qn(e, t) {
3602
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3603
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3573
+ function Yn(e, t) {
3574
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3575
+ return r[n] = I(I({}, e[n]), t[n] || {}), r;
3604
3576
  }, {})) : e;
3605
3577
  }
3606
- function Yn(e, t) {
3578
+ function Kn(e, t) {
3607
3579
  return t ? Object.keys(e).reduce(function(r, n) {
3608
- return r[n] = Qn(e[n], t[n]), r;
3609
- }, E({}, e)) : e;
3580
+ return r[n] = Yn(e[n], t[n]), r;
3581
+ }, I({}, e)) : e;
3610
3582
  }
3611
- function je(e) {
3583
+ function Ve(e) {
3612
3584
  return {
3613
3585
  create: function() {
3614
3586
  return {
@@ -3622,35 +3594,35 @@ function je(e) {
3622
3594
  }
3623
3595
  };
3624
3596
  }
3625
- function Kn(e) {
3597
+ function ei(e) {
3626
3598
  return e === void 0 && (e = {
3627
3599
  number: {},
3628
3600
  dateTime: {},
3629
3601
  pluralRules: {}
3630
3602
  }), {
3631
- getNumberFormat: Ue(function() {
3603
+ getNumberFormat: Fe(function() {
3632
3604
  for (var t, r = [], n = 0; n < arguments.length; n++)
3633
3605
  r[n] = arguments[n];
3634
- return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3606
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3635
3607
  }, {
3636
- cache: je(e.number),
3637
- strategy: Ge.variadic
3608
+ cache: Ve(e.number),
3609
+ strategy: je.variadic
3638
3610
  }),
3639
- getDateTimeFormat: Ue(function() {
3611
+ getDateTimeFormat: Fe(function() {
3640
3612
  for (var t, r = [], n = 0; n < arguments.length; n++)
3641
3613
  r[n] = arguments[n];
3642
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3614
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3643
3615
  }, {
3644
- cache: je(e.dateTime),
3645
- strategy: Ge.variadic
3616
+ cache: Ve(e.dateTime),
3617
+ strategy: je.variadic
3646
3618
  }),
3647
- getPluralRules: Ue(function() {
3619
+ getPluralRules: Fe(function() {
3648
3620
  for (var t, r = [], n = 0; n < arguments.length; n++)
3649
3621
  r[n] = arguments[n];
3650
- return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3622
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3651
3623
  }, {
3652
- cache: je(e.pluralRules),
3653
- strategy: Ge.variadic
3624
+ cache: Ve(e.pluralRules),
3625
+ strategy: je.variadic
3654
3626
  })
3655
3627
  };
3656
3628
  }
@@ -3673,7 +3645,7 @@ var mr = (
3673
3645
  }, []);
3674
3646
  return l.length <= 1 ? l[0] || "" : l;
3675
3647
  }, this.formatToParts = function(h) {
3676
- return Te(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3648
+ return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3677
3649
  }, this.resolvedOptions = function() {
3678
3650
  var h;
3679
3651
  return {
@@ -3684,15 +3656,15 @@ var mr = (
3684
3656
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3685
3657
  if (this.message = t, !e.__parse)
3686
3658
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3687
- var a = i || {};
3688
- a.formatters;
3689
- var o = hn(a, ["formatters"]);
3690
- this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3659
+ var o = i || {};
3660
+ o.formatters;
3661
+ var a = hn(o, ["formatters"]);
3662
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3691
3663
  } else
3692
3664
  this.ast = t;
3693
3665
  if (!Array.isArray(this.ast))
3694
3666
  throw new TypeError("A message must be provided as a String or AST.");
3695
- this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
3667
+ this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3696
3668
  }
3697
3669
  return Object.defineProperty(e, "defaultLocale", {
3698
3670
  get: function() {
@@ -3705,7 +3677,7 @@ var mr = (
3705
3677
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3706
3678
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3707
3679
  }
3708
- }, e.__parse = Xn, e.formats = {
3680
+ }, e.__parse = Wn, e.formats = {
3709
3681
  number: {
3710
3682
  integer: {
3711
3683
  maximumFractionDigits: 0
@@ -3766,7 +3738,7 @@ var mr = (
3766
3738
  }, e;
3767
3739
  }()
3768
3740
  );
3769
- function ei(e, t) {
3741
+ function ti(e, t) {
3770
3742
  if (t == null)
3771
3743
  return;
3772
3744
  if (t in e)
@@ -3787,36 +3759,36 @@ function ei(e, t) {
3787
3759
  n = void 0;
3788
3760
  return n;
3789
3761
  }
3790
- const R = {}, ti = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), dr = (e, t) => {
3762
+ const D = {}, ri = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), dr = (e, t) => {
3791
3763
  if (t == null)
3792
3764
  return;
3793
- if (t in R && e in R[t])
3794
- return R[t][e];
3795
- const r = ce(t);
3765
+ if (t in D && e in D[t])
3766
+ return D[t][e];
3767
+ const r = fe(t);
3796
3768
  for (let n = 0; n < r.length; n++) {
3797
- const i = r[n], s = ni(i, e);
3769
+ const i = r[n], s = ii(i, e);
3798
3770
  if (s)
3799
- return ti(e, t, s);
3771
+ return ri(e, t, s);
3800
3772
  }
3801
3773
  };
3802
3774
  let ut;
3803
- const he = Me({});
3804
- function ri(e) {
3775
+ const ce = Le({});
3776
+ function ni(e) {
3805
3777
  return ut[e] || null;
3806
3778
  }
3807
3779
  function pr(e) {
3808
3780
  return e in ut;
3809
3781
  }
3810
- function ni(e, t) {
3782
+ function ii(e, t) {
3811
3783
  if (!pr(e))
3812
3784
  return null;
3813
- const r = ri(e);
3814
- return ei(r, t);
3785
+ const r = ni(e);
3786
+ return ti(r, t);
3815
3787
  }
3816
- function ii(e) {
3788
+ function si(e) {
3817
3789
  if (e == null)
3818
3790
  return;
3819
- const t = ce(e);
3791
+ const t = fe(e);
3820
3792
  for (let r = 0; r < t.length; r++) {
3821
3793
  const n = t[r];
3822
3794
  if (pr(n))
@@ -3824,64 +3796,64 @@ function ii(e) {
3824
3796
  }
3825
3797
  }
3826
3798
  function gr(e, ...t) {
3827
- delete R[e], he.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3799
+ delete D[e], ce.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3828
3800
  }
3829
- K(
3830
- [he],
3801
+ ee(
3802
+ [ce],
3831
3803
  ([e]) => Object.keys(e)
3832
3804
  );
3833
- he.subscribe((e) => ut = e);
3834
- const He = {};
3835
- function si(e, t) {
3836
- He[e].delete(t), He[e].size === 0 && delete He[e];
3805
+ ce.subscribe((e) => ut = e);
3806
+ const Se = {};
3807
+ function oi(e, t) {
3808
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3837
3809
  }
3838
3810
  function br(e) {
3839
- return He[e];
3811
+ return Se[e];
3840
3812
  }
3841
3813
  function ai(e) {
3842
- return ce(e).map((t) => {
3814
+ return fe(e).map((t) => {
3843
3815
  const r = br(t);
3844
3816
  return [t, r ? [...r] : []];
3845
3817
  }).filter(([, t]) => t.length > 0);
3846
3818
  }
3847
- function Pe(e) {
3848
- return e == null ? !1 : ce(e).some(
3819
+ function Ie(e) {
3820
+ return e == null ? !1 : fe(e).some(
3849
3821
  (t) => {
3850
3822
  var r;
3851
3823
  return (r = br(t)) == null ? void 0 : r.size;
3852
3824
  }
3853
3825
  );
3854
3826
  }
3855
- function oi(e, t) {
3827
+ function ui(e, t) {
3856
3828
  return Promise.all(
3857
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3829
+ t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3858
3830
  ).then((n) => gr(e, ...n));
3859
3831
  }
3860
- const re = {};
3832
+ const ne = {};
3861
3833
  function yr(e) {
3862
- if (!Pe(e))
3863
- return e in re ? re[e] : Promise.resolve();
3834
+ if (!Ie(e))
3835
+ return e in ne ? ne[e] : Promise.resolve();
3864
3836
  const t = ai(e);
3865
- return re[e] = Promise.all(
3837
+ return ne[e] = Promise.all(
3866
3838
  t.map(
3867
- ([r, n]) => oi(r, n)
3839
+ ([r, n]) => ui(r, n)
3868
3840
  )
3869
3841
  ).then(() => {
3870
- if (Pe(e))
3842
+ if (Ie(e))
3871
3843
  return yr(e);
3872
- delete re[e];
3873
- }), re[e];
3844
+ delete ne[e];
3845
+ }), ne[e];
3874
3846
  }
3875
- var xt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, hi = (e, t) => {
3847
+ var xt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, ci = (e, t) => {
3876
3848
  var r = {};
3877
3849
  for (var n in e)
3878
- ui.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3850
+ li.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3879
3851
  if (e != null && xt)
3880
3852
  for (var n of xt(e))
3881
- t.indexOf(n) < 0 && li.call(e, n) && (r[n] = e[n]);
3853
+ t.indexOf(n) < 0 && hi.call(e, n) && (r[n] = e[n]);
3882
3854
  return r;
3883
3855
  };
3884
- const ci = {
3856
+ const fi = {
3885
3857
  number: {
3886
3858
  scientific: { notation: "scientific" },
3887
3859
  engineering: { notation: "engineering" },
@@ -3911,28 +3883,28 @@ const ci = {
3911
3883
  }
3912
3884
  }
3913
3885
  };
3914
- function fi({ locale: e, id: t }) {
3886
+ function mi({ locale: e, id: t }) {
3915
3887
  console.warn(
3916
- `[svelte-i18n] The message "${t}" was not found in "${ce(
3888
+ `[svelte-i18n] The message "${t}" was not found in "${fe(
3917
3889
  e
3918
- ).join('", "')}".${Pe(k()) ? `
3890
+ ).join('", "')}".${Ie(U()) ? `
3919
3891
 
3920
3892
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3921
3893
  );
3922
3894
  }
3923
- const mi = {
3895
+ const di = {
3924
3896
  fallbackLocale: null,
3925
3897
  loadingDelay: 200,
3926
- formats: ci,
3898
+ formats: fi,
3927
3899
  warnOnMissingMessages: !0,
3928
3900
  handleMissingMessage: void 0,
3929
3901
  ignoreTag: !0
3930
- }, ne = mi;
3931
- function Q() {
3932
- return ne;
3902
+ }, ie = di;
3903
+ function Y() {
3904
+ return ie;
3933
3905
  }
3934
- function di(e) {
3935
- const t = e, { formats: r } = t, n = hi(t, ["formats"]);
3906
+ function pi(e) {
3907
+ const t = e, { formats: r } = t, n = ci(t, ["formats"]);
3936
3908
  let i = e.fallbackLocale;
3937
3909
  if (e.initialLocale)
3938
3910
  try {
@@ -3942,152 +3914,152 @@ function di(e) {
3942
3914
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3943
3915
  );
3944
3916
  }
3945
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = fi : console.warn(
3917
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = mi : console.warn(
3946
3918
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3947
- )), Object.assign(ne, n, { initialLocale: i }), r && ("number" in r && Object.assign(ne.formats.number, r.number), "date" in r && Object.assign(ne.formats.date, r.date), "time" in r && Object.assign(ne.formats.time, r.time)), U.set(i);
3919
+ )), 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)), G.set(i);
3948
3920
  }
3949
- const ze = Me(!1);
3950
- var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vi = (e, t) => {
3921
+ const Xe = Le(!1);
3922
+ var gi = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
3951
3923
  for (var r in t || (t = {}))
3952
- yi.call(t, r) && Tt(e, r, t[r]);
3924
+ _i.call(t, r) && Tt(e, r, t[r]);
3953
3925
  if (wt)
3954
3926
  for (var r of wt(t))
3955
- _i.call(t, r) && Tt(e, r, t[r]);
3927
+ vi.call(t, r) && Tt(e, r, t[r]);
3956
3928
  return e;
3957
- }, Ei = (e, t) => gi(e, bi(t));
3958
- let rt;
3959
- const Oe = Me(null);
3929
+ }, xi = (e, t) => bi(e, yi(t));
3930
+ let it;
3931
+ const Ce = Le(null);
3960
3932
  function Ht(e) {
3961
3933
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3962
3934
  }
3963
- function ce(e, t = Q().fallbackLocale) {
3935
+ function fe(e, t = Y().fallbackLocale) {
3964
3936
  const r = Ht(e);
3965
3937
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3966
3938
  }
3967
- function k() {
3968
- return rt ?? void 0;
3939
+ function U() {
3940
+ return it ?? void 0;
3969
3941
  }
3970
- Oe.subscribe((e) => {
3971
- rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3942
+ Ce.subscribe((e) => {
3943
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3972
3944
  });
3973
- const xi = (e) => {
3974
- if (e && ii(e) && Pe(e)) {
3975
- const { loadingDelay: t } = Q();
3945
+ const wi = (e) => {
3946
+ if (e && si(e) && Ie(e)) {
3947
+ const { loadingDelay: t } = Y();
3976
3948
  let r;
3977
- return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3978
- () => ze.set(!0),
3949
+ return typeof window < "u" && U() != null && t ? r = window.setTimeout(
3950
+ () => Xe.set(!0),
3979
3951
  t
3980
- ) : ze.set(!0), yr(e).then(() => {
3981
- Oe.set(e);
3952
+ ) : Xe.set(!0), yr(e).then(() => {
3953
+ Ce.set(e);
3982
3954
  }).finally(() => {
3983
- clearTimeout(r), ze.set(!1);
3955
+ clearTimeout(r), Xe.set(!1);
3984
3956
  });
3985
3957
  }
3986
- return Oe.set(e);
3987
- }, U = Ei(vi({}, Oe), {
3988
- set: xi
3989
- }), $e = (e) => {
3958
+ return Ce.set(e);
3959
+ }, G = xi(Ei({}, Ce), {
3960
+ set: wi
3961
+ }), De = (e) => {
3990
3962
  const t = /* @__PURE__ */ Object.create(null);
3991
3963
  return (n) => {
3992
3964
  const i = JSON.stringify(n);
3993
3965
  return i in t ? t[i] : t[i] = e(n);
3994
3966
  };
3995
3967
  };
3996
- var wi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3968
+ var Ti = Object.defineProperty, Me = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3997
3969
  for (var r in t || (t = {}))
3998
3970
  _r.call(t, r) && St(e, r, t[r]);
3999
- if (Ie)
4000
- for (var r of Ie(t))
3971
+ if (Me)
3972
+ for (var r of Me(t))
4001
3973
  vr.call(t, r) && St(e, r, t[r]);
4002
3974
  return e;
4003
- }, ee = (e, t) => {
3975
+ }, te = (e, t) => {
4004
3976
  var r = {};
4005
3977
  for (var n in e)
4006
3978
  _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4007
- if (e != null && Ie)
4008
- for (var n of Ie(e))
3979
+ if (e != null && Me)
3980
+ for (var n of Me(e))
4009
3981
  t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4010
3982
  return r;
4011
3983
  };
4012
- const ue = (e, t) => {
4013
- const { formats: r } = Q();
3984
+ const le = (e, t) => {
3985
+ const { formats: r } = Y();
4014
3986
  if (e in r && t in r[e])
4015
3987
  return r[e][t];
4016
3988
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4017
- }, Ti = $e(
3989
+ }, Hi = De(
4018
3990
  (e) => {
4019
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3991
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4020
3992
  if (r == null)
4021
3993
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4022
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3994
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4023
3995
  }
4024
- ), Hi = $e(
3996
+ ), Si = De(
4025
3997
  (e) => {
4026
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3998
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4027
3999
  if (r == null)
4028
4000
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4029
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4001
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4030
4002
  }
4031
- ), Si = $e(
4003
+ ), Bi = De(
4032
4004
  (e) => {
4033
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4005
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4034
4006
  if (r == null)
4035
4007
  throw new Error(
4036
4008
  '[svelte-i18n] A "locale" must be set to format time values'
4037
4009
  );
4038
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4010
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4039
4011
  }
4040
- ), Bi = (e = {}) => {
4012
+ ), Ai = (e = {}) => {
4041
4013
  var t = e, {
4042
- locale: r = k()
4043
- } = t, n = ee(t, [
4044
- "locale"
4045
- ]);
4046
- return Ti(lt({ locale: r }, n));
4047
- }, Ai = (e = {}) => {
4048
- var t = e, {
4049
- locale: r = k()
4050
- } = t, n = ee(t, [
4014
+ locale: r = U()
4015
+ } = t, n = te(t, [
4051
4016
  "locale"
4052
4017
  ]);
4053
4018
  return Hi(lt({ locale: r }, n));
4054
4019
  }, Pi = (e = {}) => {
4055
4020
  var t = e, {
4056
- locale: r = k()
4057
- } = t, n = ee(t, [
4021
+ locale: r = U()
4022
+ } = t, n = te(t, [
4058
4023
  "locale"
4059
4024
  ]);
4060
4025
  return Si(lt({ locale: r }, n));
4061
- }, Oi = $e(
4026
+ }, Oi = (e = {}) => {
4027
+ var t = e, {
4028
+ locale: r = U()
4029
+ } = t, n = te(t, [
4030
+ "locale"
4031
+ ]);
4032
+ return Bi(lt({ locale: r }, n));
4033
+ }, Ii = De(
4062
4034
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4063
- (e, t = k()) => new mr(e, t, Q().formats, {
4064
- ignoreTag: Q().ignoreTag
4035
+ (e, t = U()) => new mr(e, t, Y().formats, {
4036
+ ignoreTag: Y().ignoreTag
4065
4037
  })
4066
- ), Ii = (e, t = {}) => {
4038
+ ), Ci = (e, t = {}) => {
4067
4039
  var r, n, i, s;
4068
- let a = t;
4069
- typeof e == "object" && (a = e, e = a.id);
4040
+ let o = t;
4041
+ typeof e == "object" && (o = e, e = o.id);
4070
4042
  const {
4071
- values: o,
4072
- locale: h = k(),
4043
+ values: a,
4044
+ locale: h = U(),
4073
4045
  default: u
4074
- } = a;
4046
+ } = o;
4075
4047
  if (h == null)
4076
4048
  throw new Error(
4077
4049
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4078
4050
  );
4079
4051
  let l = dr(e, h);
4080
4052
  if (!l)
4081
- l = (s = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4053
+ 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;
4082
4054
  else if (typeof l != "string")
4083
4055
  return console.warn(
4084
4056
  `[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.`
4085
4057
  ), l;
4086
- if (!o)
4058
+ if (!a)
4087
4059
  return l;
4088
4060
  let c = l;
4089
4061
  try {
4090
- c = Oi(l, h).format(o);
4062
+ c = Ii(l, h).format(a);
4091
4063
  } catch (m) {
4092
4064
  m instanceof Error && console.warn(
4093
4065
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4095,18 +4067,18 @@ const ue = (e, t) => {
4095
4067
  );
4096
4068
  }
4097
4069
  return c;
4098
- }, Ci = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), Ni = (e, t) => Bi(t).format(e), Li = (e, t = k()) => dr(e, t), $i = K([U, he], () => Ii);
4099
- K([U], () => Ci);
4100
- K([U], () => Mi);
4101
- K([U], () => Ni);
4102
- K([U, he], () => Li);
4103
- function Ri(e, t) {
4070
+ }, Mi = (e, t) => Oi(t).format(e), Ni = (e, t) => Pi(t).format(e), Li = (e, t) => Ai(t).format(e), $i = (e, t = U()) => dr(e, t), Ri = ee([G, ce], () => Ci);
4071
+ ee([G], () => Mi);
4072
+ ee([G], () => Ni);
4073
+ ee([G], () => Li);
4074
+ ee([G, ce], () => $i);
4075
+ function Di(e, t) {
4104
4076
  if (e) {
4105
4077
  const r = document.createElement("style");
4106
4078
  r.innerHTML = t, e.appendChild(r);
4107
4079
  }
4108
4080
  }
4109
- function Di(e, t) {
4081
+ function ki(e, t) {
4110
4082
  if (!e || !t)
4111
4083
  return;
4112
4084
  const r = new URL(t);
@@ -4117,7 +4089,7 @@ function Di(e, t) {
4117
4089
  console.error("There was an error while trying to load client styling from URL", n);
4118
4090
  });
4119
4091
  }
4120
- function ki(e, t, r) {
4092
+ function Ui(e, t, r) {
4121
4093
  if (window.emMessageBus) {
4122
4094
  const n = document.createElement("style");
4123
4095
  window.emMessageBus.subscribe(t, (i) => {
@@ -4128,10 +4100,10 @@ function ki(e, t, r) {
4128
4100
  function Bt(e, t) {
4129
4101
  gr(e, t);
4130
4102
  }
4131
- function Ui(e) {
4132
- di({
4103
+ function Gi(e) {
4104
+ pi({
4133
4105
  fallbackLocale: "en"
4134
- }), U.set(e);
4106
+ }), G.set(e);
4135
4107
  }
4136
4108
  const At = {
4137
4109
  en: {
@@ -4187,31 +4159,31 @@ const At = {
4187
4159
  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."
4188
4160
  }
4189
4161
  };
4190
- function Gi(e) {
4162
+ function Fi(e) {
4191
4163
  Hr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.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-typography, var(--emw--color-white, #ffffff));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-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4192
4164
  }
4193
- const Fi = (e) => ({}), Pt = (e) => ({}), ji = (e) => ({}), Ot = (e) => ({}), zi = (e) => ({}), It = (e) => ({}), Vi = (e) => ({}), Ct = (e) => ({ class: "CashierErrorIcon" });
4165
+ const ji = (e) => ({}), Pt = (e) => ({}), zi = (e) => ({}), Ot = (e) => ({}), Vi = (e) => ({}), It = (e) => ({}), Xi = (e) => ({}), Ct = (e) => ({ class: "CashierErrorIcon" });
4194
4166
  function Mt(e) {
4195
4167
  let t, r;
4196
4168
  return {
4197
4169
  c() {
4198
- t = I("ui-image"), ct(t.src, r = `${/*assetsurl*/
4199
- e[0]}/error-general-icon.png`) || ye(t, "src", r), ye(t, "width", "300px"), ye(t, "alt", "error");
4170
+ t = C("ui-image"), ct(t.src, r = `${/*assetsurl*/
4171
+ e[0]}/error-general-icon.png`) || _e(t, "src", r), _e(t, "width", "300px"), _e(t, "alt", "error");
4200
4172
  },
4201
4173
  m(n, i) {
4202
- Y(n, t, i);
4174
+ K(n, t, i);
4203
4175
  },
4204
4176
  p(n, i) {
4205
4177
  i & /*assetsurl*/
4206
4178
  1 && !ct(t.src, r = `${/*assetsurl*/
4207
- n[0]}/error-general-icon.png`) && ye(t, "src", r);
4179
+ n[0]}/error-general-icon.png`) && _e(t, "src", r);
4208
4180
  },
4209
4181
  d(n) {
4210
- n && N(t);
4182
+ n && L(t);
4211
4183
  }
4212
4184
  };
4213
4185
  }
4214
- function Xi(e) {
4186
+ function Wi(e) {
4215
4187
  let t, r = (
4216
4188
  /*assetsurl*/
4217
4189
  e[0] && Mt(e)
@@ -4221,18 +4193,18 @@ function Xi(e) {
4221
4193
  r && r.c(), t = Br();
4222
4194
  },
4223
4195
  m(n, i) {
4224
- r && r.m(n, i), Y(n, t, i);
4196
+ r && r.m(n, i), K(n, t, i);
4225
4197
  },
4226
4198
  p(n, i) {
4227
4199
  /*assetsurl*/
4228
4200
  n[0] ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4229
4201
  },
4230
4202
  d(n) {
4231
- n && N(t), r && r.d(n);
4203
+ n && L(t), r && r.d(n);
4232
4204
  }
4233
4205
  };
4234
4206
  }
4235
- function Wi(e) {
4207
+ function Zi(e) {
4236
4208
  let t, r = (
4237
4209
  /*$_*/
4238
4210
  e[3](`${/*errorcode*/
@@ -4240,10 +4212,10 @@ function Wi(e) {
4240
4212
  ), n;
4241
4213
  return {
4242
4214
  c() {
4243
- t = I("span"), n = Ce(r), W(t, "class", "CashierErrorText");
4215
+ t = C("span"), n = Ne(r), Z(t, "class", "CashierErrorText");
4244
4216
  },
4245
4217
  m(i, s) {
4246
- Y(i, t, s), M(t, n);
4218
+ K(i, t, s), N(t, n);
4247
4219
  },
4248
4220
  p(i, s) {
4249
4221
  s & /*$_, errorcode*/
@@ -4252,52 +4224,52 @@ function Wi(e) {
4252
4224
  i[1] || "errorGeneralText"}`) + "") && jt(n, r);
4253
4225
  },
4254
4226
  d(i) {
4255
- i && N(t);
4227
+ i && L(t);
4256
4228
  }
4257
4229
  };
4258
4230
  }
4259
- function Zi(e) {
4231
+ function Ji(e) {
4260
4232
  let t, r, n = (
4261
4233
  /*$_*/
4262
4234
  e[3]("errorGeneralButton") + ""
4263
- ), i, s, a;
4235
+ ), i, s, o;
4264
4236
  return {
4265
4237
  c() {
4266
- t = I("button"), r = I("span"), i = Ce(n), W(t, "class", "CashierErrorButton");
4238
+ t = C("button"), r = C("span"), i = Ne(n), Z(t, "class", "CashierErrorButton");
4267
4239
  },
4268
- m(o, h) {
4269
- Y(o, t, h), M(t, r), M(r, i), s || (a = Ve(
4240
+ m(a, h) {
4241
+ K(a, t, h), N(t, r), N(r, i), s || (o = We(
4270
4242
  t,
4271
4243
  "click",
4272
4244
  /*close*/
4273
4245
  e[4]
4274
4246
  ), s = !0);
4275
4247
  },
4276
- p(o, h) {
4248
+ p(a, h) {
4277
4249
  h & /*$_*/
4278
4250
  8 && n !== (n = /*$_*/
4279
- o[3]("errorGeneralButton") + "") && jt(i, n);
4251
+ a[3]("errorGeneralButton") + "") && jt(i, n);
4280
4252
  },
4281
- d(o) {
4282
- o && N(t), s = !1, a();
4253
+ d(a) {
4254
+ a && L(t), s = !1, o();
4283
4255
  }
4284
4256
  };
4285
4257
  }
4286
- function Ji(e) {
4287
- let t, r, n, i, s, a;
4288
- const o = (
4258
+ function qi(e) {
4259
+ let t, r, n, i, s, o;
4260
+ const a = (
4289
4261
  /*#slots*/
4290
4262
  e[11].icon
4291
- ), h = de(
4292
- o,
4263
+ ), h = pe(
4264
+ a,
4293
4265
  e,
4294
4266
  /*$$scope*/
4295
4267
  e[10],
4296
4268
  Ct
4297
- ), u = h || Xi(e), l = (
4269
+ ), u = h || Wi(e), l = (
4298
4270
  /*#slots*/
4299
4271
  e[11].title
4300
- ), c = de(
4272
+ ), c = pe(
4301
4273
  l,
4302
4274
  e,
4303
4275
  /*$$scope*/
@@ -4306,124 +4278,124 @@ function Ji(e) {
4306
4278
  ), m = (
4307
4279
  /*#slots*/
4308
4280
  e[11].text
4309
- ), d = de(
4281
+ ), d = pe(
4310
4282
  m,
4311
4283
  e,
4312
4284
  /*$$scope*/
4313
4285
  e[10],
4314
4286
  Ot
4315
- ), p = d || Wi(e), b = (
4287
+ ), p = d || Zi(e), b = (
4316
4288
  /*#slots*/
4317
4289
  e[11].button
4318
- ), x = de(
4290
+ ), E = pe(
4319
4291
  b,
4320
4292
  e,
4321
4293
  /*$$scope*/
4322
4294
  e[10],
4323
4295
  Pt
4324
- ), _ = x || Zi(e);
4296
+ ), _ = E || Ji(e);
4325
4297
  return {
4326
4298
  c() {
4327
- t = I("div"), r = I("div"), u && u.c(), n = Re(), c && c.c(), i = Re(), p && p.c(), s = Re(), _ && _.c(), W(r, "class", "CashierErrorContent"), W(t, "class", "CashierError");
4299
+ t = C("div"), r = C("div"), u && u.c(), n = ke(), c && c.c(), i = ke(), p && p.c(), s = ke(), _ && _.c(), Z(r, "class", "CashierErrorContent"), Z(t, "class", "CashierError");
4328
4300
  },
4329
4301
  m(f, g) {
4330
- Y(f, t, g), M(t, r), u && u.m(r, null), M(r, n), c && c.m(r, null), M(r, i), p && p.m(r, null), M(r, s), _ && _.m(r, null), e[12](t), a = !0;
4302
+ K(f, t, g), N(t, r), u && u.m(r, null), N(r, n), c && c.m(r, null), N(r, i), p && p.m(r, null), N(r, s), _ && _.m(r, null), e[12](t), o = !0;
4331
4303
  },
4332
4304
  p(f, [g]) {
4333
- h ? h.p && (!a || g & /*$$scope*/
4334
- 1024) && ge(
4305
+ h ? h.p && (!o || g & /*$$scope*/
4306
+ 1024) && be(
4335
4307
  h,
4336
- o,
4308
+ a,
4337
4309
  f,
4338
4310
  /*$$scope*/
4339
4311
  f[10],
4340
- a ? pe(
4341
- o,
4312
+ o ? ge(
4313
+ a,
4342
4314
  /*$$scope*/
4343
4315
  f[10],
4344
4316
  g,
4345
- Vi
4346
- ) : be(
4317
+ Xi
4318
+ ) : ye(
4347
4319
  /*$$scope*/
4348
4320
  f[10]
4349
4321
  ),
4350
4322
  Ct
4351
- ) : u && u.p && (!a || g & /*assetsurl*/
4352
- 1) && u.p(f, a ? g : -1), c && c.p && (!a || g & /*$$scope*/
4353
- 1024) && ge(
4323
+ ) : u && u.p && (!o || g & /*assetsurl*/
4324
+ 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4325
+ 1024) && be(
4354
4326
  c,
4355
4327
  l,
4356
4328
  f,
4357
4329
  /*$$scope*/
4358
4330
  f[10],
4359
- a ? pe(
4331
+ o ? ge(
4360
4332
  l,
4361
4333
  /*$$scope*/
4362
4334
  f[10],
4363
4335
  g,
4364
- zi
4365
- ) : be(
4336
+ Vi
4337
+ ) : ye(
4366
4338
  /*$$scope*/
4367
4339
  f[10]
4368
4340
  ),
4369
4341
  It
4370
- ), d ? d.p && (!a || g & /*$$scope*/
4371
- 1024) && ge(
4342
+ ), d ? d.p && (!o || g & /*$$scope*/
4343
+ 1024) && be(
4372
4344
  d,
4373
4345
  m,
4374
4346
  f,
4375
4347
  /*$$scope*/
4376
4348
  f[10],
4377
- a ? pe(
4349
+ o ? ge(
4378
4350
  m,
4379
4351
  /*$$scope*/
4380
4352
  f[10],
4381
4353
  g,
4382
- ji
4383
- ) : be(
4354
+ zi
4355
+ ) : ye(
4384
4356
  /*$$scope*/
4385
4357
  f[10]
4386
4358
  ),
4387
4359
  Ot
4388
- ) : p && p.p && (!a || g & /*$_, errorcode*/
4389
- 10) && p.p(f, a ? g : -1), x ? x.p && (!a || g & /*$$scope*/
4390
- 1024) && ge(
4391
- x,
4360
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4361
+ 10) && p.p(f, o ? g : -1), E ? E.p && (!o || g & /*$$scope*/
4362
+ 1024) && be(
4363
+ E,
4392
4364
  b,
4393
4365
  f,
4394
4366
  /*$$scope*/
4395
4367
  f[10],
4396
- a ? pe(
4368
+ o ? ge(
4397
4369
  b,
4398
4370
  /*$$scope*/
4399
4371
  f[10],
4400
4372
  g,
4401
- Fi
4402
- ) : be(
4373
+ ji
4374
+ ) : ye(
4403
4375
  /*$$scope*/
4404
4376
  f[10]
4405
4377
  ),
4406
4378
  Pt
4407
- ) : _ && _.p && (!a || g & /*$_*/
4408
- 8) && _.p(f, a ? g : -1);
4379
+ ) : _ && _.p && (!o || g & /*$_*/
4380
+ 8) && _.p(f, o ? g : -1);
4409
4381
  },
4410
4382
  i(f) {
4411
- a || (z(u, f), z(c, f), z(p, f), z(_, f), a = !0);
4383
+ o || (V(u, f), V(c, f), V(p, f), V(_, f), o = !0);
4412
4384
  },
4413
4385
  o(f) {
4414
- ve(u, f), ve(c, f), ve(p, f), ve(_, f), a = !1;
4386
+ Ee(u, f), Ee(c, f), Ee(p, f), Ee(_, f), o = !1;
4415
4387
  },
4416
4388
  d(f) {
4417
- f && N(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
4389
+ f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
4418
4390
  }
4419
4391
  };
4420
4392
  }
4421
- function qi(e, t, r) {
4393
+ function Qi(e, t, r) {
4422
4394
  let n;
4423
- Tr(e, $i, (f) => r(3, n = f));
4424
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4395
+ Tr(e, Ri, (f) => r(3, n = f));
4396
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4425
4397
  const p = () => {
4426
- Ui(o);
4398
+ Gi(a);
4427
4399
  }, b = () => {
4428
4400
  fetch(c).then((g) => g.json()).then((g) => {
4429
4401
  Object.keys(g).forEach((S) => {
@@ -4436,32 +4408,32 @@ function qi(e, t, r) {
4436
4408
  Object.keys(At).forEach((f) => {
4437
4409
  Bt(f, At[f]);
4438
4410
  });
4439
- const x = () => {
4411
+ const E = () => {
4440
4412
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4441
4413
  };
4442
4414
  $r(() => () => {
4443
4415
  });
4444
4416
  function _(f) {
4445
- We[f ? "unshift" : "push"](() => {
4417
+ Je[f ? "unshift" : "push"](() => {
4446
4418
  d = f, r(2, d);
4447
4419
  });
4448
4420
  }
4449
4421
  return e.$$set = (f) => {
4450
- "assetsurl" in f && r(0, a = f.assetsurl), "lang" in f && r(5, o = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4422
+ "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4451
4423
  }, e.$$.update = () => {
4452
4424
  e.$$.dirty & /*lang*/
4453
- 32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4454
- 68 && u && d && Ri(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4455
- 132 && l && d && Di(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4456
- 516 && m && d && ki(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4425
+ 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4426
+ 68 && u && d && Di(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4427
+ 132 && l && d && ki(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4428
+ 516 && m && d && Ui(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4457
4429
  256 && c && b();
4458
4430
  }, [
4459
- a,
4431
+ o,
4460
4432
  h,
4461
4433
  d,
4462
4434
  n,
4463
- x,
4464
- o,
4435
+ E,
4436
+ a,
4465
4437
  u,
4466
4438
  l,
4467
4439
  c,
@@ -4476,8 +4448,8 @@ class Er extends zr {
4476
4448
  super(), Fr(
4477
4449
  this,
4478
4450
  t,
4451
+ Qi,
4479
4452
  qi,
4480
- Ji,
4481
4453
  $t,
4482
4454
  {
4483
4455
  assetsurl: 0,
@@ -4488,121 +4460,117 @@ class Er extends zr {
4488
4460
  translationurl: 8,
4489
4461
  mbsource: 9
4490
4462
  },
4491
- Gi
4463
+ Fi
4492
4464
  );
4493
4465
  }
4494
4466
  get assetsurl() {
4495
4467
  return this.$$.ctx[0];
4496
4468
  }
4497
4469
  set assetsurl(t) {
4498
- this.$$set({ assetsurl: t }), C();
4470
+ this.$$set({ assetsurl: t }), M();
4499
4471
  }
4500
4472
  get lang() {
4501
4473
  return this.$$.ctx[5];
4502
4474
  }
4503
4475
  set lang(t) {
4504
- this.$$set({ lang: t }), C();
4476
+ this.$$set({ lang: t }), M();
4505
4477
  }
4506
4478
  get errorcode() {
4507
4479
  return this.$$.ctx[1];
4508
4480
  }
4509
4481
  set errorcode(t) {
4510
- this.$$set({ errorcode: t }), C();
4482
+ this.$$set({ errorcode: t }), M();
4511
4483
  }
4512
4484
  get clientstyling() {
4513
4485
  return this.$$.ctx[6];
4514
4486
  }
4515
4487
  set clientstyling(t) {
4516
- this.$$set({ clientstyling: t }), C();
4488
+ this.$$set({ clientstyling: t }), M();
4517
4489
  }
4518
4490
  get clientstylingurl() {
4519
4491
  return this.$$.ctx[7];
4520
4492
  }
4521
4493
  set clientstylingurl(t) {
4522
- this.$$set({ clientstylingurl: t }), C();
4494
+ this.$$set({ clientstylingurl: t }), M();
4523
4495
  }
4524
4496
  get translationurl() {
4525
4497
  return this.$$.ctx[8];
4526
4498
  }
4527
4499
  set translationurl(t) {
4528
- this.$$set({ translationurl: t }), C();
4500
+ this.$$set({ translationurl: t }), M();
4529
4501
  }
4530
4502
  get mbsource() {
4531
4503
  return this.$$.ctx[9];
4532
4504
  }
4533
4505
  set mbsource(t) {
4534
- this.$$set({ mbsource: t }), C();
4506
+ this.$$set({ mbsource: t }), M();
4535
4507
  }
4536
4508
  }
4537
4509
  jr(Er, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4538
- const vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4510
+ const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4539
4511
  __proto__: null,
4540
4512
  default: Er
4541
4513
  }, Symbol.toStringTag, { value: "Module" }));
4542
4514
  export {
4543
- $i as $,
4544
- ki as A,
4545
- Ki as B,
4546
- ls as C,
4547
- us as D,
4548
- We as E,
4549
- ns as F,
4550
- Ri as G,
4551
- Di as H,
4552
- Br as I,
4553
- ye as J,
4554
- ts as K,
4555
- os as L,
4556
- Ce as M,
4557
- jt as N,
4558
- ds as O,
4559
- ct as P,
4560
- rs as Q,
4561
- gs as R,
4515
+ G as $,
4516
+ is as A,
4517
+ _e as B,
4518
+ Br as C,
4519
+ hs as D,
4520
+ us as E,
4521
+ rs as F,
4522
+ ps as G,
4523
+ ct as H,
4524
+ jt as I,
4525
+ bs as J,
4526
+ ns as K,
4527
+ Ne as L,
4528
+ k as M,
4529
+ ss as N,
4530
+ os as O,
4531
+ ts as P,
4532
+ gs as Q,
4533
+ Di as R,
4562
4534
  zr as S,
4563
- is as T,
4564
- D as U,
4565
- ps as V,
4566
- es as W,
4567
- ss as X,
4568
- z as Y,
4569
- ve as Z,
4570
- ys as _,
4535
+ ki as T,
4536
+ Ui as U,
4537
+ Ee as V,
4538
+ V as W,
4539
+ cs as X,
4540
+ fs as Y,
4541
+ pe as Z,
4542
+ be as _,
4571
4543
  gr as a,
4572
- cs as a0,
4573
- de as a1,
4544
+ ye as a0,
4545
+ ge as a1,
4574
4546
  as as a2,
4575
- ge as a3,
4576
- be as a4,
4577
- pe as a5,
4578
- hs as a6,
4579
- Nt as a7,
4580
- fs as a8,
4581
- ms as a9,
4582
- vs as aa,
4583
- U as b,
4584
- ke as c,
4585
- _s as d,
4586
- Ne as e,
4587
- bs as f,
4588
- Yi as g,
4589
- Wr as h,
4590
- di as i,
4591
- jr as j,
4592
- Fr as k,
4593
- C as l,
4594
- Hr as m,
4595
- ae as n,
4596
- I as o,
4597
- Re as p,
4598
- W as q,
4599
- Y as r,
4547
+ Nt as a3,
4548
+ ds as a4,
4549
+ ms as a5,
4550
+ _s as a6,
4551
+ Ri as b,
4552
+ ys as c,
4553
+ Wr as d,
4554
+ jr as e,
4555
+ Fr as f,
4556
+ Ki as g,
4557
+ M as h,
4558
+ pi as i,
4559
+ Hr as j,
4560
+ ae as k,
4561
+ L as l,
4562
+ K as m,
4563
+ B as n,
4564
+ N as o,
4565
+ We as p,
4566
+ es as q,
4567
+ C as r,
4600
4568
  $t as s,
4601
- M as t,
4602
- Ve as u,
4603
- B as v,
4604
- Me as w,
4605
- N as x,
4606
- Tr as y,
4607
- $r as z
4569
+ ke as t,
4570
+ Z as u,
4571
+ Tr as v,
4572
+ Le as w,
4573
+ $r as x,
4574
+ ls as y,
4575
+ Je as z
4608
4576
  };