@everymatrix/cashier-method-details 1.85.23 → 1.86.1

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 (20) hide show
  1. package/components/{CashierError-D1eXSPCU.cjs → CashierError-0ryZiOME.cjs} +5 -5
  2. package/components/{CashierError-a_fg14Ao.js → CashierError-KZG3X_VW.js} +632 -655
  3. package/components/{CashierError-BhvXibYp.js → CashierError-qzZcJhp7.js} +664 -687
  4. package/components/{CashierMethodDetails-CyESQ02E.js → CashierMethodDetails-Ci_KcLF2.js} +2229 -2208
  5. package/components/{CashierMethodDetails-DGS2bnlD.js → CashierMethodDetails-DiIuR1qE.js} +2141 -2120
  6. package/components/CashierMethodDetails-DqgFo-Zf.cjs +100 -0
  7. package/components/{CashierModal-BYpgx6QJ.js → CashierModal-DHyc4Yo0.js} +1 -1
  8. package/components/{CashierModal-Chx6_FMq.cjs → CashierModal-DeCFU_ep.cjs} +1 -1
  9. package/components/{CashierModal-DG7GJYM8.js → CashierModal-m7cXuxT1.js} +1 -1
  10. package/components/{CashierNotifications-BRaNYGz7.js → CashierNotifications-Bo4IAEf_.js} +1 -1
  11. package/components/{CashierNotifications-CUXgbtIZ.js → CashierNotifications-DGAnrrsp.js} +1 -1
  12. package/components/{CashierNotifications-B4KaGVBQ.cjs → CashierNotifications-DTeolEy1.cjs} +1 -1
  13. package/components/{CashierReceiptPage-sQj-rgas.js → CashierReceiptPage-BOqnf35Q.js} +2 -2
  14. package/components/{CashierReceiptPage-Dgl6FZak.cjs → CashierReceiptPage-BiPrXfCL.cjs} +1 -1
  15. package/components/{CashierReceiptPage-ONfK_iKE.js → CashierReceiptPage-CoCpQjJ1.js} +2 -2
  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/components/CashierMethodDetails-DEvP7akh.cjs +0 -100
@@ -1,7 +1,7 @@
1
1
  import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function B() {
3
3
  }
4
- const Lt = (e) => e;
4
+ const Nt = (e) => e;
5
5
  function xr(e, t) {
6
6
  for (const r in t)
7
7
  e[r] = t[r];
@@ -10,24 +10,24 @@ function xr(e, t) {
10
10
  e
11
11
  );
12
12
  }
13
- function $t(e) {
13
+ function Lt(e) {
14
14
  return e();
15
15
  }
16
- function ct() {
16
+ function ht() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
19
  function k(e) {
20
- e.forEach($t);
20
+ e.forEach(Lt);
21
21
  }
22
22
  function he(e) {
23
23
  return typeof e == "function";
24
24
  }
25
- function Rt(e, t) {
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 pe;
29
- function ft(e, t) {
30
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
28
+ let de;
29
+ function ct(e, t) {
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;
@@ -41,23 +41,23 @@ function st(e, ...t) {
41
41
  const r = e.subscribe(...t);
42
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
43
43
  }
44
- function es(e) {
44
+ function Ki(e) {
45
45
  let t;
46
46
  return st(e, (r) => t = r)(), t;
47
47
  }
48
48
  function Tr(e, t, r) {
49
49
  e.$$.on_destroy.push(st(t, r));
50
50
  }
51
- function ge(e, t, r, n) {
51
+ function pe(e, t, r, n) {
52
52
  if (e) {
53
- const i = Dt(e, t, r, n);
53
+ const i = Rt(e, t, r, n);
54
54
  return e[0](i);
55
55
  }
56
56
  }
57
- function Dt(e, t, r, n) {
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 be(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)
@@ -72,13 +72,13 @@ function be(e, t, r, n) {
72
72
  }
73
73
  return t.dirty;
74
74
  }
75
- function ye(e, t, r, n, i, s) {
75
+ function be(e, t, r, n, i, s) {
76
76
  if (i) {
77
- const o = Dt(t, r, n, s);
77
+ const o = Rt(t, r, n, s);
78
78
  e.p(o, i);
79
79
  }
80
80
  }
81
- function _e(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++)
@@ -87,37 +87,37 @@ function _e(e) {
87
87
  }
88
88
  return -1;
89
89
  }
90
- const kt = typeof window < "u";
91
- let Ut = kt ? () => window.performance.now() : () => Date.now(), ot = kt ? (e) => requestAnimationFrame(e) : B;
92
- const Z = /* @__PURE__ */ new Set();
93
- function Gt(e) {
94
- Z.forEach((t) => {
95
- t.c(e) || (Z.delete(t), t.f());
96
- }), Z.size !== 0 && ot(Gt);
90
+ const Dt = typeof window < "u";
91
+ let kt = Dt ? () => window.performance.now() : () => Date.now(), ot = Dt ? (e) => requestAnimationFrame(e) : B;
92
+ const X = /* @__PURE__ */ new Set();
93
+ function Ut(e) {
94
+ X.forEach((t) => {
95
+ t.c(e) || (X.delete(t), t.f());
96
+ }), X.size !== 0 && ot(Ut);
97
97
  }
98
- function Ft(e) {
98
+ function Gt(e) {
99
99
  let t;
100
- return Z.size === 0 && ot(Gt), {
100
+ return X.size === 0 && ot(Ut), {
101
101
  promise: new Promise((r) => {
102
- Z.add(t = { c: e, f: r });
102
+ X.add(t = { c: e, f: r });
103
103
  }),
104
104
  abort() {
105
- Z.delete(t);
105
+ X.delete(t);
106
106
  }
107
107
  };
108
108
  }
109
- const ts = 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
117
  const n = at(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = A("style");
120
- i.id = t, i.textContent = r, jt(n, i);
119
+ const i = C("style");
120
+ i.id = t, i.textContent = r, Ft(n, i);
121
121
  }
122
122
  }
123
123
  function at(e) {
@@ -131,87 +131,87 @@ function at(e) {
131
131
  ) : e.ownerDocument;
132
132
  }
133
133
  function Sr(e) {
134
- const t = A("style");
135
- return t.textContent = "/* empty */", jt(at(e), t), t.sheet;
134
+ const t = C("style");
135
+ return t.textContent = "/* empty */", Ft(at(e), t), t.sheet;
136
136
  }
137
- function jt(e, t) {
138
- return M(
137
+ function Ft(e, t) {
138
+ return N(
139
139
  /** @type {Document} */
140
140
  e.head || e,
141
141
  t
142
142
  ), t.sheet;
143
143
  }
144
- function F(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 rs(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 A(e) {
154
+ function C(e) {
155
155
  return document.createElement(e);
156
156
  }
157
- function ns(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
163
  function ke() {
164
- return ce(" ");
164
+ return Ne(" ");
165
165
  }
166
166
  function Br() {
167
- return ce("");
167
+ return Ne("");
168
168
  }
169
169
  function We(e, t, r, n) {
170
170
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
171
171
  }
172
- function is(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 G(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 ve(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 : G(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 ss(e) {
184
+ function is(e) {
185
185
  return e === "" ? null : +e;
186
186
  }
187
187
  function Ar(e) {
188
188
  return Array.from(e.childNodes);
189
189
  }
190
- function ut(e, t) {
190
+ function jt(e, t) {
191
191
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
192
192
  t);
193
193
  }
194
- function os(e, t) {
194
+ function ss(e, t) {
195
195
  e.value = t ?? "";
196
196
  }
197
- function as(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 Ee;
200
+ let ve;
201
201
  function Pr() {
202
- if (Ee === void 0) {
203
- Ee = !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
- Ee = !0;
207
+ ve = !0;
208
208
  }
209
209
  }
210
- return Ee;
210
+ return ve;
211
211
  }
212
- function us(e, t) {
212
+ function as(e, t) {
213
213
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
214
- const n = A("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;"
@@ -227,17 +227,17 @@ function us(e, t) {
227
227
  }
228
228
  )) : (n.src = "about:blank", n.onload = () => {
229
229
  s = We(n.contentWindow, "resize", t), t();
230
- }), M(e, n), () => {
231
- (i || s && n.contentWindow) && s(), N(n);
230
+ }), N(e, n), () => {
231
+ (i || s && n.contentWindow) && s(), L(n);
232
232
  };
233
233
  }
234
- function ls(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 } = {}) {
238
238
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
239
239
  }
240
- function Cr(e) {
240
+ function Ir(e) {
241
241
  const t = {};
242
242
  return e.childNodes.forEach(
243
243
  /** @param {Element} node */
@@ -246,9 +246,9 @@ function Cr(e) {
246
246
  }
247
247
  ), t;
248
248
  }
249
- const Ae = /* @__PURE__ */ new Map();
250
- let Pe = 0;
251
- function Ir(e) {
249
+ const Be = /* @__PURE__ */ new Map();
250
+ let Ae = 0;
251
+ function Cr(e) {
252
252
  let t = 5381, r = e.length;
253
253
  for (; r--; )
254
254
  t = (t << 5) - t ^ e.charCodeAt(r);
@@ -256,36 +256,36 @@ function Ir(e) {
256
256
  }
257
257
  function Mr(e, t) {
258
258
  const r = { stylesheet: Sr(t), rules: {} };
259
- return Ae.set(e, r), r;
259
+ return Be.set(e, r), r;
260
260
  }
261
261
  function zt(e, t, r, n, i, s, o, a = 0) {
262
- const c = 16.666 / n;
262
+ const h = 16.666 / n;
263
263
  let u = `{
264
264
  `;
265
- for (let E = 0; E <= 1; E += c) {
266
- const x = t + (r - t) * s(E);
267
- u += E * 100 + `%{${o(x, 1 - x)}}
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
270
  const l = u + `100% {${o(r, 1 - r)}}
271
- }`, f = `__svelte_${Ir(l)}_${a}`, h = at(e), { stylesheet: d, rules: g } = Ae.get(h) || Mr(h, e);
272
- g[f] || (g[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
271
+ }`, c = `__svelte_${Cr(l)}_${a}`, m = at(e), { stylesheet: d, rules: p } = Be.get(m) || Mr(m, e);
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}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Pe += 1, f;
274
+ return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Ae += 1, c;
275
275
  }
276
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(", "), Pe -= i, Pe || Nr());
281
+ i && (e.style.animation = n.join(", "), Ae -= i, Ae || Nr());
282
282
  }
283
283
  function Nr() {
284
284
  ot(() => {
285
- Pe || (Ae.forEach((e) => {
285
+ Ae || (Be.forEach((e) => {
286
286
  const { ownerNode: t } = e.stylesheet;
287
- t && N(t);
288
- }), Ae.clear());
287
+ t && L(t);
288
+ }), Be.clear());
289
289
  });
290
290
  }
291
291
  let oe;
@@ -300,48 +300,48 @@ function Lr() {
300
300
  function $r(e) {
301
301
  Lr().$$.on_mount.push(e);
302
302
  }
303
- function hs(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 X = [], Je = [];
308
- let J = [];
309
- const mt = [], Vt = /* @__PURE__ */ Promise.resolve();
307
+ const z = [], Je = [];
308
+ let W = [];
309
+ const ft = [], Vt = /* @__PURE__ */ Promise.resolve();
310
310
  let qe = !1;
311
311
  function Xt() {
312
- qe || (qe = !0, Vt.then(L));
312
+ qe || (qe = !0, Vt.then(M));
313
313
  }
314
- function cs() {
314
+ function hs() {
315
315
  return Xt(), Vt;
316
316
  }
317
317
  function ae(e) {
318
- J.push(e);
318
+ W.push(e);
319
319
  }
320
320
  const Ue = /* @__PURE__ */ new Set();
321
- let z = 0;
322
- function L() {
323
- if (z !== 0)
321
+ let F = 0;
322
+ function M() {
323
+ if (F !== 0)
324
324
  return;
325
325
  const e = oe;
326
326
  do {
327
327
  try {
328
- for (; z < X.length; ) {
329
- const t = X[z];
330
- z++, se(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 X.length = 0, z = 0, t;
333
+ throw z.length = 0, F = 0, t;
334
334
  }
335
- for (se(null), X.length = 0, z = 0; Je.length; )
335
+ for (se(null), z.length = 0, F = 0; Je.length; )
336
336
  Je.pop()();
337
- for (let t = 0; t < J.length; t += 1) {
338
- const r = J[t];
337
+ for (let t = 0; t < W.length; t += 1) {
338
+ const r = W[t];
339
339
  Ue.has(r) || (Ue.add(r), r());
340
340
  }
341
- J.length = 0;
342
- } while (X.length);
343
- for (; mt.length; )
344
- mt.pop()();
341
+ W.length = 0;
342
+ } while (z.length);
343
+ for (; ft.length; )
344
+ ft.pop()();
345
345
  qe = !1, Ue.clear(), se(e);
346
346
  }
347
347
  function Rr(e) {
@@ -353,7 +353,7 @@ function Rr(e) {
353
353
  }
354
354
  function Dr(e) {
355
355
  const t = [], r = [];
356
- J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
356
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
357
357
  }
358
358
  let re;
359
359
  function Wt() {
@@ -361,12 +361,12 @@ function Wt() {
361
361
  re = null;
362
362
  })), re;
363
363
  }
364
- function Oe(e, t, r) {
364
+ function Pe(e, t, r) {
365
365
  e.dispatchEvent(Or(`${t ? "intro" : "outro"}${r}`));
366
366
  }
367
- const Te = /* @__PURE__ */ new Set();
367
+ const we = /* @__PURE__ */ new Set();
368
368
  let R;
369
- function fs() {
369
+ function cs() {
370
370
  R = {
371
371
  r: 0,
372
372
  c: [],
@@ -374,88 +374,88 @@ function fs() {
374
374
  // parent group
375
375
  };
376
376
  }
377
- function ms() {
377
+ function fs() {
378
378
  R.r || k(R.c), R = R.p;
379
379
  }
380
- function W(e, t) {
381
- e && e.i && (Te.delete(e), e.i(t));
380
+ function V(e, t) {
381
+ e && e.i && (we.delete(e), e.i(t));
382
382
  }
383
- function xe(e, t, r, n) {
383
+ function Ee(e, t, r, n) {
384
384
  if (e && e.o) {
385
- if (Te.has(e))
385
+ if (we.has(e))
386
386
  return;
387
- Te.add(e), R.c.push(() => {
388
- Te.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 ds(e, t, r) {
394
+ function ms(e, t, r) {
395
395
  const n = { direction: "in" };
396
- let i = t(e, r, n), s = !1, o, a, c = 0;
396
+ let i = t(e, r, n), s = !1, o, a, h = 0;
397
397
  function u() {
398
398
  o && Ze(e, o);
399
399
  }
400
400
  function l() {
401
401
  const {
402
- delay: h = 0,
402
+ delay: m = 0,
403
403
  duration: d = 300,
404
- easing: g = Lt,
404
+ easing: p = Nt,
405
405
  tick: b = B,
406
406
  css: E
407
407
  } = i || Zt;
408
- E && (o = zt(e, 0, 1, d, h, g, E, c++)), b(0, 1);
409
- const x = Ut() + h, p = x + d;
410
- a && a.abort(), s = !0, ae(() => Oe(e, !0, "start")), a = Ft((m) => {
408
+ E && (o = zt(e, 0, 1, d, m, p, E, h++)), b(0, 1);
409
+ const _ = kt() + m, f = _ + d;
410
+ a && a.abort(), s = !0, ae(() => Pe(e, !0, "start")), a = Gt((g) => {
411
411
  if (s) {
412
- if (m >= p)
413
- return b(1, 0), Oe(e, !0, "end"), u(), s = !1;
414
- if (m >= x) {
415
- const v = g((m - x) / d);
416
- b(v, 1 - v);
412
+ if (g >= f)
413
+ return b(1, 0), Pe(e, !0, "end"), u(), s = !1;
414
+ if (g >= _) {
415
+ const S = p((g - _) / d);
416
+ b(S, 1 - S);
417
417
  }
418
418
  }
419
419
  return s;
420
420
  });
421
421
  }
422
- let f = !1;
422
+ let c = !1;
423
423
  return {
424
424
  start() {
425
- f || (f = !0, Ze(e), he(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
- f = !1;
428
+ c = !1;
429
429
  },
430
430
  end() {
431
431
  s && (u(), s = !1);
432
432
  }
433
433
  };
434
434
  }
435
- function ps(e, t, r) {
435
+ function ds(e, t, r) {
436
436
  const n = { direction: "out" };
437
437
  let i = t(e, r, n), s = !0, o;
438
438
  const a = R;
439
439
  a.r += 1;
440
- let c;
440
+ let h;
441
441
  function u() {
442
442
  const {
443
443
  delay: l = 0,
444
- duration: f = 300,
445
- easing: h = Lt,
444
+ duration: c = 300,
445
+ easing: m = Nt,
446
446
  tick: d = B,
447
- css: g
447
+ css: p
448
448
  } = i || Zt;
449
- g && (o = zt(e, 1, 0, f, l, h, g));
450
- const b = Ut() + l, E = b + f;
451
- ae(() => Oe(e, !1, "start")), "inert" in e && (c = /** @type {HTMLElement} */
452
- e.inert, e.inert = !0), Ft((x) => {
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
+ e.inert, e.inert = !0), Gt((_) => {
453
453
  if (s) {
454
- if (x >= E)
455
- return d(0, 1), Oe(e, !1, "end"), --a.r || k(a.c), !1;
456
- if (x >= b) {
457
- const p = h((x - b) / f);
458
- d(1 - p, p);
454
+ if (_ >= E)
455
+ return d(0, 1), Pe(e, !1, "end"), --a.r || k(a.c), !1;
456
+ if (_ >= b) {
457
+ const f = m((_ - b) / c);
458
+ d(1 - f, f);
459
459
  }
460
460
  }
461
461
  return s;
@@ -465,47 +465,47 @@ function ps(e, t, r) {
465
465
  i = i(n), u();
466
466
  }) : u(), {
467
467
  end(l) {
468
- l && "inert" in e && (e.inert = c), l && i.tick && i.tick(1, 0), s && (o && Ze(e, o), 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 gs(e) {
472
+ function ps(e) {
473
473
  return e?.length !== void 0 ? e : Array.from(e);
474
474
  }
475
- function bs(e, t) {
475
+ function gs(e, t) {
476
476
  e.d(1), t.delete(e.key);
477
477
  }
478
- function ys(e, t, r, n, i, s, o, a, c, u, l, f) {
479
- let h = e.length, d = s.length, g = h;
478
+ function bs(e, t, r, n, i, s, o, a, h, u, l, c) {
479
+ let m = e.length, d = s.length, p = m;
480
480
  const b = {};
481
- for (; g--; )
482
- b[e[g].key] = g;
483
- const E = [], x = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), m = [];
484
- for (g = d; g--; ) {
485
- const H = f(i, s, g), O = r(H);
486
- let C = o.get(O);
487
- C ? m.push(() => C.p(H, t)) : (C = u(O, H), C.c()), x.set(O, E[g] = C), O in b && p.set(O, Math.abs(g - b[O]));
481
+ for (; p--; )
482
+ b[e[p].key] = p;
483
+ const E = [], _ = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), g = [];
484
+ for (p = d; p--; ) {
485
+ const T = c(i, s, p), P = r(T);
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
- const v = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
490
- function $(H) {
491
- W(H, 1), H.m(a, l), o.set(H.key, H), l = H.first, d--;
489
+ const S = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
490
+ function $(T) {
491
+ V(T, 1), T.m(a, l), o.set(T.key, T), l = T.first, d--;
492
492
  }
493
- for (; h && d; ) {
494
- const H = E[d - 1], O = e[h - 1], C = H.key, de = O.key;
495
- H === O ? (l = H.first, h--, d--) : x.has(de) ? !o.has(C) || v.has(C) ? $(H) : P.has(de) ? h-- : p.get(C) > p.get(de) ? (P.add(C), $(H)) : (v.add(de), h--) : (c(O, o), h--);
493
+ for (; m && d; ) {
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
- for (; h--; ) {
498
- const H = e[h];
499
- x.has(H.key) || c(H, o);
497
+ for (; m--; ) {
498
+ const T = e[m];
499
+ _.has(T.key) || h(T, o);
500
500
  }
501
501
  for (; d; )
502
502
  $(E[d - 1]);
503
- return k(m), E;
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($t).filter(he);
508
+ const s = e.$$.on_mount.map(Lt).filter(he);
509
509
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
510
510
  }), i.forEach(ae);
511
511
  }
@@ -514,10 +514,10 @@ function Ur(e, t) {
514
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 && (X.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
519
  function Fr(e, t, r, n, i, s, o = null, a = [-1]) {
520
- const c = oe;
520
+ const h = oe;
521
521
  se(e);
522
522
  const u = e.$$ = {
523
523
  fragment: null,
@@ -526,34 +526,34 @@ function Fr(e, t, r, n, i, s, o = null, a = [-1]) {
526
526
  props: s,
527
527
  update: B,
528
528
  not_equal: i,
529
- bound: ct(),
529
+ bound: ht(),
530
530
  // lifecycle
531
531
  on_mount: [],
532
532
  on_destroy: [],
533
533
  on_disconnect: [],
534
534
  before_update: [],
535
535
  after_update: [],
536
- context: new Map(t.context || (c ? c.$$.context : [])),
536
+ context: new Map(t.context || (h ? h.$$.context : [])),
537
537
  // everything else
538
- callbacks: ct(),
538
+ callbacks: ht(),
539
539
  dirty: a,
540
540
  skip_bound: !1,
541
- root: t.target || c.$$.root
541
+ root: t.target || h.$$.root
542
542
  };
543
543
  o && o(u.root);
544
544
  let l = !1;
545
- if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
546
- const g = d.length ? d[0] : h;
547
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Gr(e, f)), h;
545
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
546
+ const p = d.length ? d[0] : m;
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
548
  }) : [], u.update(), l = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
549
549
  if (t.hydrate) {
550
- const f = Ar(t.target);
551
- u.fragment && u.fragment.l(f), f.forEach(N);
550
+ const c = Ar(t.target);
551
+ u.fragment && u.fragment.l(c), c.forEach(L);
552
552
  } else
553
553
  u.fragment && u.fragment.c();
554
- t.intro && W(e.$$.fragment), kr(e, t.target, t.anchor), L();
554
+ t.intro && V(e.$$.fragment), kr(e, t.target, t.anchor), M();
555
555
  }
556
- se(c);
556
+ se(h);
557
557
  }
558
558
  let Jt;
559
559
  typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
@@ -598,29 +598,29 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
598
598
  let s;
599
599
  return {
600
600
  c: function() {
601
- s = A("slot"), i !== "default" && G(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
- m: function(c, u) {
608
- F(c, s, u);
607
+ m: function(h, u) {
608
+ K(h, s, u);
609
609
  },
610
- d: function(c) {
611
- c && N(s);
610
+ d: function(h) {
611
+ h && L(s);
612
612
  }
613
613
  };
614
614
  };
615
615
  };
616
616
  if (await Promise.resolve(), !this.$$cn || this.$$c)
617
617
  return;
618
- const t = {}, r = Cr(this);
618
+ const t = {}, r = Ir(this);
619
619
  for (const i of this.$$s)
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] = He(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 = He(
641
+ const s = Te(
642
642
  i,
643
643
  this.$$d[i],
644
644
  this.$$p_d,
@@ -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] = He(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 He(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;
@@ -718,8 +718,8 @@ function jr(e, t, r, n, i, s) {
718
718
  get() {
719
719
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
720
720
  },
721
- set(c) {
722
- c = He(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
721
+ set(h) {
722
+ h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
723
723
  }
724
724
  });
725
725
  }), n.forEach((a) => {
@@ -777,7 +777,7 @@ 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 V = [];
780
+ const j = [];
781
781
  function Xr(e, t) {
782
782
  return {
783
783
  subscribe: Le(e, t).subscribe
@@ -787,22 +787,22 @@ function Le(e, t = B) {
787
787
  let r;
788
788
  const n = /* @__PURE__ */ new Set();
789
789
  function i(a) {
790
- if (Rt(e, a) && (e = a, r)) {
791
- const c = !V.length;
790
+ if ($t(e, a) && (e = a, r)) {
791
+ const h = !j.length;
792
792
  for (const u of n)
793
- u[1](), V.push(u, e);
794
- if (c) {
795
- for (let u = 0; u < V.length; u += 2)
796
- V[u][0](V[u + 1]);
797
- V.length = 0;
793
+ u[1](), j.push(u, e);
794
+ if (h) {
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
801
  function s(a) {
802
802
  i(a(e));
803
803
  }
804
- function o(a, c = B) {
805
- const u = [a, c];
804
+ function o(a, h = B) {
805
+ const u = [a, h];
806
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
  };
@@ -815,32 +815,32 @@ function ee(e, t, r) {
815
815
  throw new Error("derived() expects stores as input, got a falsy value");
816
816
  const s = t.length < 2;
817
817
  return Xr(r, (o, a) => {
818
- let c = !1;
818
+ let h = !1;
819
819
  const u = [];
820
- let l = 0, f = B;
821
- const h = () => {
820
+ let l = 0, c = B;
821
+ const m = () => {
822
822
  if (l)
823
823
  return;
824
- f();
825
- const g = t(n ? u[0] : u, o, a);
826
- s ? o(g) : f = he(g) ? g : B;
824
+ c();
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
- (g, b) => st(
829
- g,
828
+ (p, b) => st(
829
+ p,
830
830
  (E) => {
831
- u[b] = E, l &= ~(1 << b), c && h();
831
+ u[b] = E, l &= ~(1 << b), h && m();
832
832
  },
833
833
  () => {
834
834
  l |= 1 << b;
835
835
  }
836
836
  )
837
837
  );
838
- return c = !0, h(), function() {
839
- k(d), f(), c = !1;
838
+ return h = !0, m(), function() {
839
+ k(d), c(), h = !1;
840
840
  };
841
841
  });
842
842
  }
843
- var _s = 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
  }
@@ -862,7 +862,7 @@ function en(e) {
862
862
  return Array.isArray(e) ? [] : {};
863
863
  }
864
864
  function ue(e, t) {
865
- return t.clone !== !1 && t.isMergeableObject(e) ? q(en(e), e, t) : e;
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) {
@@ -871,16 +871,16 @@ function tn(e, t, r) {
871
871
  }
872
872
  function rn(e, t) {
873
873
  if (!t.customMerge)
874
- return q;
874
+ return J;
875
875
  var r = t.customMerge(e);
876
- return typeof r == "function" ? r : q;
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) {
880
880
  return Object.propertyIsEnumerable.call(e, t);
881
881
  }) : [];
882
882
  }
883
- function dt(e) {
883
+ function mt(e) {
884
884
  return Object.keys(e).concat(nn(e));
885
885
  }
886
886
  function qt(e, t) {
@@ -895,25 +895,25 @@ function sn(e, t) {
895
895
  }
896
896
  function on(e, t, r) {
897
897
  var n = {};
898
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
898
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
899
899
  n[i] = ue(e[i], r);
900
- }), dt(t).forEach(function(i) {
900
+ }), mt(t).forEach(function(i) {
901
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 q(e, t, r) {
904
+ function J(e, t, r) {
905
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
907
  return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : ue(t, r);
908
908
  }
909
- q.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 q(n, i, r);
913
+ return J(n, i, r);
914
914
  }, {});
915
915
  };
916
- var an = q, un = an;
916
+ var an = J, un = an;
917
917
  const ln = /* @__PURE__ */ Wr(un);
918
918
  var Qe = function(e, t) {
919
919
  return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -1005,60 +1005,60 @@ var pn = function() {
1005
1005
  }
1006
1006
  }, je = {
1007
1007
  variadic: dn
1008
- }, Ce = function() {
1009
- return Ce = Object.assign || function(t) {
1008
+ }, Oe = function() {
1009
+ return Oe = Object.assign || function(t) {
1010
1010
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1011
1011
  r = arguments[n];
1012
1012
  for (var s in r)
1013
1013
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1014
1014
  }
1015
1015
  return t;
1016
- }, Ce.apply(this, arguments);
1016
+ }, Oe.apply(this, arguments);
1017
1017
  };
1018
1018
  var y;
1019
1019
  (function(e) {
1020
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";
1021
1021
  })(y || (y = {}));
1022
- var w;
1022
+ var x;
1023
1023
  (function(e) {
1024
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";
1025
- })(w || (w = {}));
1026
- var Q;
1025
+ })(x || (x = {}));
1026
+ var q;
1027
1027
  (function(e) {
1028
1028
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1029
- })(Q || (Q = {}));
1030
- function pt(e) {
1031
- return e.type === w.literal;
1029
+ })(q || (q = {}));
1030
+ function dt(e) {
1031
+ return e.type === x.literal;
1032
1032
  }
1033
1033
  function yn(e) {
1034
- return e.type === w.argument;
1034
+ return e.type === x.argument;
1035
1035
  }
1036
1036
  function Kt(e) {
1037
- return e.type === w.number;
1037
+ return e.type === x.number;
1038
1038
  }
1039
1039
  function er(e) {
1040
- return e.type === w.date;
1040
+ return e.type === x.date;
1041
1041
  }
1042
1042
  function tr(e) {
1043
- return e.type === w.time;
1043
+ return e.type === x.time;
1044
1044
  }
1045
1045
  function rr(e) {
1046
- return e.type === w.select;
1046
+ return e.type === x.select;
1047
1047
  }
1048
1048
  function nr(e) {
1049
- return e.type === w.plural;
1049
+ return e.type === x.plural;
1050
1050
  }
1051
1051
  function _n(e) {
1052
- return e.type === w.pound;
1052
+ return e.type === x.pound;
1053
1053
  }
1054
1054
  function ir(e) {
1055
- return e.type === w.tag;
1055
+ return e.type === x.tag;
1056
1056
  }
1057
1057
  function sr(e) {
1058
- return !!(e && typeof e == "object" && e.type === Q.number);
1058
+ return !!(e && typeof e == "object" && e.type === q.number);
1059
1059
  }
1060
1060
  function Ye(e) {
1061
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1061
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1062
1062
  }
1063
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
1064
  function En(e) {
@@ -1152,40 +1152,40 @@ function En(e) {
1152
1152
  return "";
1153
1153
  }), t;
1154
1154
  }
1155
- var T = function() {
1156
- return T = Object.assign || function(t) {
1155
+ var w = function() {
1156
+ return w = Object.assign || function(t) {
1157
1157
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1158
1158
  r = arguments[n];
1159
1159
  for (var s in r)
1160
1160
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1161
1161
  }
1162
1162
  return t;
1163
- }, T.apply(this, arguments);
1163
+ }, w.apply(this, arguments);
1164
1164
  };
1165
1165
  var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1166
1166
  function wn(e) {
1167
1167
  if (e.length === 0)
1168
1168
  throw new Error("Number skeleton cannot be empty");
1169
- for (var t = e.split(xn).filter(function(h) {
1170
- return h.length > 0;
1169
+ for (var t = e.split(xn).filter(function(m) {
1170
+ return m.length > 0;
1171
1171
  }), r = [], n = 0, i = t; n < i.length; n++) {
1172
1172
  var s = i[n], o = s.split("/");
1173
1173
  if (o.length === 0)
1174
1174
  throw new Error("Invalid number skeleton");
1175
- for (var a = o[0], c = o.slice(1), u = 0, l = c; u < l.length; u++) {
1176
- var f = l[u];
1177
- if (f.length === 0)
1175
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1176
+ var c = l[u];
1177
+ if (c.length === 0)
1178
1178
  throw new Error("Invalid number skeleton");
1179
1179
  }
1180
- r.push({ stem: a, options: c });
1180
+ r.push({ stem: a, options: h });
1181
1181
  }
1182
1182
  return r;
1183
1183
  }
1184
1184
  function Tn(e) {
1185
1185
  return e.replace(/^(.*?)-/, "");
1186
1186
  }
1187
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1188
- function bt(e) {
1187
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1188
+ function gt(e) {
1189
1189
  var t = {};
1190
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) {
1191
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)), "";
@@ -1245,7 +1245,7 @@ function Sn(e) {
1245
1245
  }
1246
1246
  return t;
1247
1247
  }
1248
- function yt(e) {
1248
+ function bt(e) {
1249
1249
  var t = {}, r = lr(e);
1250
1250
  return r || t;
1251
1251
  }
@@ -1284,13 +1284,13 @@ function Bn(e) {
1284
1284
  t.notation = "compact", t.compactDisplay = "long";
1285
1285
  continue;
1286
1286
  case "scientific":
1287
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1288
- return T(T({}, c), yt(u));
1287
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1288
+ return w(w({}, h), bt(u));
1289
1289
  }, {}));
1290
1290
  continue;
1291
1291
  case "engineering":
1292
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1293
- return T(T({}, c), yt(u));
1292
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1293
+ return w(w({}, h), bt(u));
1294
1294
  }, {}));
1295
1295
  continue;
1296
1296
  case "notation-simple":
@@ -1335,11 +1335,11 @@ function Bn(e) {
1335
1335
  case "integer-width":
1336
1336
  if (i.options.length > 1)
1337
1337
  throw new RangeError("integer-width stems only accept a single optional option");
1338
- i.options[0].replace(Hn, function(c, u, l, f, h, d) {
1338
+ i.options[0].replace(Hn, function(h, u, l, c, m, d) {
1339
1339
  if (u)
1340
1340
  t.minimumIntegerDigits = l.length;
1341
1341
  else {
1342
- if (f && h)
1342
+ if (c && m)
1343
1343
  throw new Error("We currently do not support maximum integer digits");
1344
1344
  if (d)
1345
1345
  throw new Error("We currently do not support exact integer digits");
@@ -1352,28 +1352,28 @@ function Bn(e) {
1352
1352
  t.minimumIntegerDigits = i.stem.length;
1353
1353
  continue;
1354
1354
  }
1355
- if (gt.test(i.stem)) {
1355
+ if (pt.test(i.stem)) {
1356
1356
  if (i.options.length > 1)
1357
1357
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1358
- i.stem.replace(gt, function(c, u, l, f, h, d) {
1359
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1358
+ i.stem.replace(pt, function(h, u, l, c, m, d) {
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), "";
1360
1360
  });
1361
1361
  var s = i.options[0];
1362
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), bt(s)));
1362
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), gt(s)));
1363
1363
  continue;
1364
1364
  }
1365
1365
  if (ar.test(i.stem)) {
1366
- t = T(T({}, t), bt(i.stem));
1366
+ t = w(w({}, t), gt(i.stem));
1367
1367
  continue;
1368
1368
  }
1369
1369
  var o = lr(i.stem);
1370
- o && (t = T(T({}, t), o));
1370
+ o && (t = w(w({}, t), o));
1371
1371
  var a = Sn(i.stem);
1372
- a && (t = T(T({}, t), a));
1372
+ a && (t = w(w({}, t), a));
1373
1373
  }
1374
1374
  return t;
1375
1375
  }
1376
- var we = {
1376
+ var xe = {
1377
1377
  "001": [
1378
1378
  "H",
1379
1379
  "h"
@@ -2794,9 +2794,9 @@ function An(e, t) {
2794
2794
  if (i === "j") {
2795
2795
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2796
2796
  s++, n++;
2797
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), c = "a", u = Pn(t);
2797
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Pn(t);
2798
2798
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2799
- r += c;
2799
+ r += h;
2800
2800
  for (; o-- > 0; )
2801
2801
  r = u + r;
2802
2802
  } else
@@ -2823,14 +2823,14 @@ function Pn(e) {
2823
2823
  }
2824
2824
  var r = e.language, n;
2825
2825
  r !== "root" && (n = e.maximize().region);
2826
- var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2826
+ var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
2827
2827
  return i[0];
2828
2828
  }
2829
- var ze, On = new RegExp("^".concat(or.source, "*")), Cn = new RegExp("".concat(or.source, "*$"));
2830
- function _(e, t) {
2829
+ var ze, On = new RegExp("^".concat(or.source, "*")), In = new RegExp("".concat(or.source, "*$"));
2830
+ function v(e, t) {
2831
2831
  return { start: e, end: t };
2832
2832
  }
2833
- var In = !!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) {
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) {
2834
2834
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2835
2835
  }, Ke = !0;
2836
2836
  try {
@@ -2839,7 +2839,7 @@ try {
2839
2839
  } catch {
2840
2840
  Ke = !1;
2841
2841
  }
2842
- var _t = In ? (
2842
+ var yt = Cn ? (
2843
2843
  // Native
2844
2844
  function(t, r, n) {
2845
2845
  return t.startsWith(r, n);
@@ -2861,7 +2861,7 @@ var _t = In ? (
2861
2861
  }
2862
2862
  return n;
2863
2863
  }
2864
- ), vt = (
2864
+ ), _t = (
2865
2865
  // native
2866
2866
  Nn ? Object.fromEntries : (
2867
2867
  // Ponyfill
@@ -2905,7 +2905,7 @@ var _t = In ? (
2905
2905
  ) : (
2906
2906
  // Ponyfill
2907
2907
  function(t) {
2908
- return t.replace(Cn, "");
2908
+ return t.replace(In, "");
2909
2909
  }
2910
2910
  );
2911
2911
  function cr(e, t) {
@@ -2913,11 +2913,11 @@ function cr(e, t) {
2913
2913
  }
2914
2914
  var tt;
2915
2915
  if (Ke) {
2916
- var Et = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2916
+ var vt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2917
2917
  tt = function(t, r) {
2918
2918
  var n;
2919
- Et.lastIndex = r;
2920
- var i = Et.exec(t);
2919
+ vt.lastIndex = r;
2920
+ var i = vt.exec(t);
2921
2921
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2922
2922
  };
2923
2923
  } else
@@ -2954,13 +2954,13 @@ var jn = (
2954
2954
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2955
2955
  var a = this.clonePosition();
2956
2956
  this.bump(), i.push({
2957
- type: w.pound,
2958
- location: _(a, this.clonePosition())
2957
+ type: x.pound,
2958
+ location: v(a, this.clonePosition())
2959
2959
  });
2960
2960
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2961
2961
  if (n)
2962
2962
  break;
2963
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2963
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2964
2964
  } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2965
2965
  var o = this.parseTag(t, r);
2966
2966
  if (o.err)
@@ -2982,9 +2982,9 @@ var jn = (
2982
2982
  if (this.bumpSpace(), this.bumpIf("/>"))
2983
2983
  return {
2984
2984
  val: {
2985
- type: w.literal,
2985
+ type: x.literal,
2986
2986
  value: "<".concat(i, "/>"),
2987
- location: _(n, this.clonePosition())
2987
+ location: v(n, this.clonePosition())
2988
2988
  },
2989
2989
  err: null
2990
2990
  };
@@ -2995,21 +2995,21 @@ var jn = (
2995
2995
  var o = s.val, a = this.clonePosition();
2996
2996
  if (this.bumpIf("</")) {
2997
2997
  if (this.isEOF() || !rt(this.char()))
2998
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2999
- var c = this.clonePosition(), u = this.parseTagName();
3000
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2998
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2999
+ var h = this.clonePosition(), u = this.parseTagName();
3000
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3001
3001
  val: {
3002
- type: w.tag,
3002
+ type: x.tag,
3003
3003
  value: i,
3004
3004
  children: o,
3005
- location: _(n, this.clonePosition())
3005
+ location: v(n, this.clonePosition())
3006
3006
  },
3007
3007
  err: null
3008
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3008
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3009
3009
  } else
3010
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3010
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3011
3011
  } else
3012
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3012
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3013
3013
  }, e.prototype.parseTagName = function() {
3014
3014
  var t = this.offset();
3015
3015
  for (this.bump(); !this.isEOF() && Vn(this.char()); )
@@ -3034,9 +3034,9 @@ var jn = (
3034
3034
  }
3035
3035
  break;
3036
3036
  }
3037
- var c = _(n, this.clonePosition());
3037
+ var h = v(n, this.clonePosition());
3038
3038
  return {
3039
- val: { type: w.literal, value: i, location: c },
3039
+ val: { type: x.literal, value: i, location: h },
3040
3040
  err: null
3041
3041
  };
3042
3042
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3084,40 +3084,40 @@ var jn = (
3084
3084
  }, e.prototype.parseArgument = function(t, r) {
3085
3085
  var n = this.clonePosition();
3086
3086
  if (this.bump(), this.bumpSpace(), this.isEOF())
3087
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3087
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3088
3088
  if (this.char() === 125)
3089
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3089
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3090
3090
  var i = this.parseIdentifierIfPossible().value;
3091
3091
  if (!i)
3092
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3092
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3093
3093
  if (this.bumpSpace(), this.isEOF())
3094
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3094
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3095
3095
  switch (this.char()) {
3096
3096
  case 125:
3097
3097
  return this.bump(), {
3098
3098
  val: {
3099
- type: w.argument,
3099
+ type: x.argument,
3100
3100
  // value does not include the opening and closing braces.
3101
3101
  value: i,
3102
- location: _(n, this.clonePosition())
3102
+ location: v(n, this.clonePosition())
3103
3103
  },
3104
3104
  err: null
3105
3105
  };
3106
3106
  case 44:
3107
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3107
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3108
3108
  default:
3109
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3109
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3110
3110
  }
3111
3111
  }, e.prototype.parseIdentifierIfPossible = function() {
3112
3112
  var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3113
3113
  this.bumpTo(i);
3114
- var s = this.clonePosition(), o = _(t, s);
3114
+ var s = this.clonePosition(), o = v(t, s);
3115
3115
  return { value: n, location: o };
3116
3116
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3117
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3117
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3118
3118
  switch (a) {
3119
3119
  case "":
3120
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, c));
3120
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
3121
3121
  case "number":
3122
3122
  case "date":
3123
3123
  case "time": {
@@ -3125,47 +3125,47 @@ var jn = (
3125
3125
  var u = null;
3126
3126
  if (this.bumpIf(",")) {
3127
3127
  this.bumpSpace();
3128
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3129
- if (f.err)
3130
- return f;
3131
- var h = Fn(f.val);
3132
- if (h.length === 0)
3133
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3134
- var d = _(l, this.clonePosition());
3135
- u = { style: h, styleLocation: d };
3128
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3129
+ if (c.err)
3130
+ return c;
3131
+ var m = Fn(c.val);
3132
+ if (m.length === 0)
3133
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3134
+ var d = v(l, this.clonePosition());
3135
+ u = { style: m, styleLocation: d };
3136
3136
  }
3137
- var g = this.tryParseArgumentClose(i);
3138
- if (g.err)
3139
- return g;
3140
- var b = _(i, this.clonePosition());
3141
- if (u && _t(u?.style, "::", 0)) {
3137
+ var p = this.tryParseArgumentClose(i);
3138
+ if (p.err)
3139
+ return p;
3140
+ var b = v(i, this.clonePosition());
3141
+ if (u && yt(u?.style, "::", 0)) {
3142
3142
  var E = Gn(u.style.slice(2));
3143
3143
  if (a === "number") {
3144
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3145
- return f.err ? f : {
3146
- val: { type: w.number, value: n, location: b, style: f.val },
3144
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3145
+ return c.err ? c : {
3146
+ val: { type: x.number, value: n, location: b, style: c.val },
3147
3147
  err: null
3148
3148
  };
3149
3149
  } else {
3150
3150
  if (E.length === 0)
3151
3151
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3152
- var x = E;
3153
- this.locale && (x = An(E, this.locale));
3154
- var h = {
3155
- type: Q.dateTime,
3156
- pattern: x,
3152
+ var _ = E;
3153
+ this.locale && (_ = An(E, this.locale));
3154
+ var m = {
3155
+ type: q.dateTime,
3156
+ pattern: _,
3157
3157
  location: u.styleLocation,
3158
- parsedOptions: this.shouldParseSkeletons ? En(x) : {}
3159
- }, p = a === "date" ? w.date : w.time;
3158
+ parsedOptions: this.shouldParseSkeletons ? En(_) : {}
3159
+ }, f = a === "date" ? x.date : x.time;
3160
3160
  return {
3161
- val: { type: p, value: n, location: b, style: h },
3161
+ val: { type: f, value: n, location: b, style: m },
3162
3162
  err: null
3163
3163
  };
3164
3164
  }
3165
3165
  }
3166
3166
  return {
3167
3167
  val: {
3168
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3168
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3169
3169
  value: n,
3170
3170
  location: b,
3171
3171
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -3176,52 +3176,52 @@ var jn = (
3176
3176
  case "plural":
3177
3177
  case "selectordinal":
3178
3178
  case "select": {
3179
- var m = this.clonePosition();
3179
+ var g = this.clonePosition();
3180
3180
  if (this.bumpSpace(), !this.bumpIf(","))
3181
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(m, Ce({}, m)));
3181
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(g, Oe({}, g)));
3182
3182
  this.bumpSpace();
3183
- var v = this.parseIdentifierIfPossible(), P = 0;
3184
- if (a !== "select" && v.value === "offset") {
3183
+ var S = this.parseIdentifierIfPossible(), A = 0;
3184
+ if (a !== "select" && S.value === "offset") {
3185
3185
  if (!this.bumpIf(":"))
3186
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3186
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3187
3187
  this.bumpSpace();
3188
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3189
- if (f.err)
3190
- return f;
3191
- this.bumpSpace(), v = this.parseIdentifierIfPossible(), P = f.val;
3188
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3189
+ if (c.err)
3190
+ return c;
3191
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), A = c.val;
3192
3192
  }
3193
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, v);
3193
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, S);
3194
3194
  if ($.err)
3195
3195
  return $;
3196
- var g = this.tryParseArgumentClose(i);
3197
- if (g.err)
3198
- return g;
3199
- var H = _(i, this.clonePosition());
3196
+ var p = this.tryParseArgumentClose(i);
3197
+ if (p.err)
3198
+ return p;
3199
+ var T = v(i, this.clonePosition());
3200
3200
  return a === "select" ? {
3201
3201
  val: {
3202
- type: w.select,
3202
+ type: x.select,
3203
3203
  value: n,
3204
- options: vt($.val),
3205
- location: H
3204
+ options: _t($.val),
3205
+ location: T
3206
3206
  },
3207
3207
  err: null
3208
3208
  } : {
3209
3209
  val: {
3210
- type: w.plural,
3210
+ type: x.plural,
3211
3211
  value: n,
3212
- options: vt($.val),
3213
- offset: P,
3212
+ options: _t($.val),
3213
+ offset: A,
3214
3214
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3215
- location: H
3215
+ location: T
3216
3216
  },
3217
3217
  err: null
3218
3218
  };
3219
3219
  }
3220
3220
  default:
3221
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, c));
3221
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
3222
3222
  }
3223
3223
  }, e.prototype.tryParseArgumentClose = function(t) {
3224
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3224
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3225
3225
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3226
3226
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3227
3227
  var n = this.char();
@@ -3230,7 +3230,7 @@ var jn = (
3230
3230
  this.bump();
3231
3231
  var i = this.clonePosition();
3232
3232
  if (!this.bumpUntil("'"))
3233
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3233
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3234
3234
  this.bump();
3235
3235
  break;
3236
3236
  }
@@ -3266,7 +3266,7 @@ var jn = (
3266
3266
  }
3267
3267
  return {
3268
3268
  val: {
3269
- type: Q.number,
3269
+ type: q.number,
3270
3270
  tokens: n,
3271
3271
  location: r,
3272
3272
  parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
@@ -3274,38 +3274,38 @@ var jn = (
3274
3274
  err: null
3275
3275
  };
3276
3276
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3277
- for (var s, o = !1, a = [], c = /* @__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; ; ) {
3278
3278
  if (u.length === 0) {
3279
- var f = this.clonePosition();
3279
+ var c = this.clonePosition();
3280
3280
  if (r !== "select" && this.bumpIf("=")) {
3281
- var h = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3282
- if (h.err)
3283
- return h;
3284
- l = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3281
+ var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3282
+ if (m.err)
3283
+ return m;
3284
+ l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3285
3285
  } else
3286
3286
  break;
3287
3287
  }
3288
- if (c.has(u))
3288
+ if (h.has(u))
3289
3289
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3290
3290
  u === "other" && (o = !0), this.bumpSpace();
3291
3291
  var d = this.clonePosition();
3292
3292
  if (!this.bumpIf("{"))
3293
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3294
- var g = this.parseMessage(t + 1, r, n);
3295
- if (g.err)
3296
- return g;
3293
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3294
+ var p = this.parseMessage(t + 1, r, n);
3295
+ if (p.err)
3296
+ return p;
3297
3297
  var b = this.tryParseArgumentClose(d);
3298
3298
  if (b.err)
3299
3299
  return b;
3300
3300
  a.push([
3301
3301
  u,
3302
3302
  {
3303
- value: g.val,
3304
- location: _(d, this.clonePosition())
3303
+ value: p.val,
3304
+ location: v(d, this.clonePosition())
3305
3305
  }
3306
- ]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3306
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3307
3307
  }
3308
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, 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 };
3309
3309
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3310
3310
  var n = 1, i = this.clonePosition();
3311
3311
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3316,8 +3316,8 @@ var jn = (
3316
3316
  else
3317
3317
  break;
3318
3318
  }
3319
- var c = _(i, this.clonePosition());
3320
- return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3319
+ var h = v(i, this.clonePosition());
3320
+ return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3321
3321
  }, e.prototype.offset = function() {
3322
3322
  return this.position.offset;
3323
3323
  }, e.prototype.isEOF = function() {
@@ -3351,7 +3351,7 @@ var jn = (
3351
3351
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3352
3352
  }
3353
3353
  }, e.prototype.bumpIf = function(t) {
3354
- if (_t(this.message, t, this.offset())) {
3354
+ if (yt(this.message, t, this.offset())) {
3355
3355
  for (var r = 0; r < t.length; r++)
3356
3356
  this.bump();
3357
3357
  return !0;
@@ -3408,7 +3408,7 @@ function nt(e) {
3408
3408
  });
3409
3409
  }
3410
3410
  function Wn(e, t) {
3411
- t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3411
+ t === void 0 && (t = {}), t = Oe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3412
3412
  var r = new jn(e, t).parse();
3413
3413
  if (r.err) {
3414
3414
  var n = SyntaxError(y[r.err.kind]);
@@ -3416,10 +3416,10 @@ function Wn(e, t) {
3416
3416
  }
3417
3417
  return t?.captureLocation || nt(r.val), r.val;
3418
3418
  }
3419
- var Y;
3419
+ var Q;
3420
3420
  (function(e) {
3421
3421
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3422
- })(Y || (Y = {}));
3422
+ })(Q || (Q = {}));
3423
3423
  var Re = (
3424
3424
  /** @class */
3425
3425
  function(e) {
@@ -3432,12 +3432,12 @@ var Re = (
3432
3432
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3433
3433
  }, t;
3434
3434
  }(Error)
3435
- ), xt = (
3435
+ ), Et = (
3436
3436
  /** @class */
3437
3437
  function(e) {
3438
3438
  $e(t, e);
3439
3439
  function t(r, n, i, s) {
3440
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.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;
3441
3441
  }
3442
3442
  return t;
3443
3443
  }(Re)
@@ -3446,7 +3446,7 @@ var Re = (
3446
3446
  function(e) {
3447
3447
  $e(t, e);
3448
3448
  function t(r, n, i) {
3449
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3449
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3450
3450
  }
3451
3451
  return t;
3452
3452
  }(Re)
@@ -3455,116 +3455,116 @@ var Re = (
3455
3455
  function(e) {
3456
3456
  $e(t, e);
3457
3457
  function t(r, n) {
3458
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.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;
3459
3459
  }
3460
3460
  return t;
3461
3461
  }(Re)
3462
- ), S;
3462
+ ), H;
3463
3463
  (function(e) {
3464
3464
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3465
- })(S || (S = {}));
3465
+ })(H || (H = {}));
3466
3466
  function qn(e) {
3467
3467
  return e.length < 2 ? e : e.reduce(function(t, r) {
3468
3468
  var n = t[t.length - 1];
3469
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3469
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3470
3470
  }, []);
3471
3471
  }
3472
3472
  function Qn(e) {
3473
3473
  return typeof e == "function";
3474
3474
  }
3475
- function Se(e, t, r, n, i, s, o) {
3476
- if (e.length === 1 && pt(e[0]))
3475
+ function He(e, t, r, n, i, s, o) {
3476
+ if (e.length === 1 && dt(e[0]))
3477
3477
  return [
3478
3478
  {
3479
- type: S.literal,
3479
+ type: H.literal,
3480
3480
  value: e[0].value
3481
3481
  }
3482
3482
  ];
3483
- for (var a = [], c = 0, u = e; c < u.length; c++) {
3484
- var l = u[c];
3485
- if (pt(l)) {
3483
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3484
+ var l = u[h];
3485
+ if (dt(l)) {
3486
3486
  a.push({
3487
- type: S.literal,
3487
+ type: H.literal,
3488
3488
  value: l.value
3489
3489
  });
3490
3490
  continue;
3491
3491
  }
3492
3492
  if (_n(l)) {
3493
3493
  typeof s == "number" && a.push({
3494
- type: S.literal,
3494
+ type: H.literal,
3495
3495
  value: r.getNumberFormat(t).format(s)
3496
3496
  });
3497
3497
  continue;
3498
3498
  }
3499
- var f = l.value;
3500
- if (!(i && f in i))
3501
- throw new Jn(f, o);
3502
- var h = i[f];
3499
+ var c = l.value;
3500
+ if (!(i && c in i))
3501
+ throw new Jn(c, o);
3502
+ var m = i[c];
3503
3503
  if (yn(l)) {
3504
- (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3505
- type: typeof h == "string" ? S.literal : S.object,
3506
- value: h
3504
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3505
+ type: typeof m == "string" ? H.literal : H.object,
3506
+ value: m
3507
3507
  });
3508
3508
  continue;
3509
3509
  }
3510
3510
  if (er(l)) {
3511
3511
  var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3512
3512
  a.push({
3513
- type: S.literal,
3514
- value: r.getDateTimeFormat(t, d).format(h)
3513
+ type: H.literal,
3514
+ value: r.getDateTimeFormat(t, d).format(m)
3515
3515
  });
3516
3516
  continue;
3517
3517
  }
3518
3518
  if (tr(l)) {
3519
3519
  var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3520
3520
  a.push({
3521
- type: S.literal,
3522
- value: r.getDateTimeFormat(t, d).format(h)
3521
+ type: H.literal,
3522
+ value: r.getDateTimeFormat(t, d).format(m)
3523
3523
  });
3524
3524
  continue;
3525
3525
  }
3526
3526
  if (Kt(l)) {
3527
3527
  var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3528
- d && d.scale && (h = h * (d.scale || 1)), a.push({
3529
- type: S.literal,
3530
- value: r.getNumberFormat(t, d).format(h)
3528
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3529
+ type: H.literal,
3530
+ value: r.getNumberFormat(t, d).format(m)
3531
3531
  });
3532
3532
  continue;
3533
3533
  }
3534
3534
  if (ir(l)) {
3535
- var g = l.children, b = l.value, E = i[b];
3535
+ var p = l.children, b = l.value, E = i[b];
3536
3536
  if (!Qn(E))
3537
3537
  throw new Zn(b, "function", o);
3538
- var x = Se(g, t, r, n, i, s), p = E(x.map(function(P) {
3539
- return P.value;
3538
+ var _ = He(p, t, r, n, i, s), f = E(_.map(function(A) {
3539
+ return A.value;
3540
3540
  }));
3541
- Array.isArray(p) || (p = [p]), a.push.apply(a, p.map(function(P) {
3541
+ Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(A) {
3542
3542
  return {
3543
- type: typeof P == "string" ? S.literal : S.object,
3544
- value: P
3543
+ type: typeof A == "string" ? H.literal : H.object,
3544
+ value: A
3545
3545
  };
3546
3546
  }));
3547
3547
  }
3548
3548
  if (rr(l)) {
3549
- var m = l.options[h] || l.options.other;
3550
- if (!m)
3551
- throw new xt(l.value, h, Object.keys(l.options), o);
3552
- a.push.apply(a, Se(m.value, t, r, n, i));
3549
+ var g = l.options[m] || l.options.other;
3550
+ if (!g)
3551
+ throw new Et(l.value, m, Object.keys(l.options), o);
3552
+ a.push.apply(a, He(g.value, t, r, n, i));
3553
3553
  continue;
3554
3554
  }
3555
3555
  if (nr(l)) {
3556
- var m = l.options["=".concat(h)];
3557
- if (!m) {
3556
+ var g = l.options["=".concat(m)];
3557
+ if (!g) {
3558
3558
  if (!Intl.PluralRules)
3559
3559
  throw new Re(`Intl.PluralRules is not available in this environment.
3560
3560
  Try polyfilling it using "@formatjs/intl-pluralrules"
3561
- `, Y.MISSING_INTL_API, o);
3562
- var v = r.getPluralRules(t, { type: l.pluralType }).select(h - (l.offset || 0));
3563
- m = l.options[v] || l.options.other;
3561
+ `, Q.MISSING_INTL_API, o);
3562
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3563
+ g = l.options[S] || l.options.other;
3564
3564
  }
3565
- if (!m)
3566
- throw new xt(l.value, h, Object.keys(l.options), o);
3567
- a.push.apply(a, Se(m.value, t, r, n, i, h - (l.offset || 0)));
3565
+ if (!g)
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)));
3568
3568
  continue;
3569
3569
  }
3570
3570
  }
@@ -3636,20 +3636,20 @@ var mr = (
3636
3636
  number: {},
3637
3637
  dateTime: {},
3638
3638
  pluralRules: {}
3639
- }, this.format = function(c) {
3640
- var u = s.formatToParts(c);
3639
+ }, this.format = function(h) {
3640
+ var u = s.formatToParts(h);
3641
3641
  if (u.length === 1)
3642
3642
  return u[0].value;
3643
- var l = u.reduce(function(f, h) {
3644
- return !f.length || h.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3643
+ var l = u.reduce(function(c, m) {
3644
+ return !c.length || m.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3645
3645
  }, []);
3646
3646
  return l.length <= 1 ? l[0] || "" : l;
3647
- }, this.formatToParts = function(c) {
3648
- return Se(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3647
+ }, this.formatToParts = function(h) {
3648
+ return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3649
3649
  }, this.resolvedOptions = function() {
3650
- var c;
3650
+ var h;
3651
3651
  return {
3652
- locale: ((c = s.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3652
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3653
3653
  };
3654
3654
  }, this.getAst = function() {
3655
3655
  return s.ast;
@@ -3764,20 +3764,20 @@ const D = {}, ri = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
3764
3764
  return;
3765
3765
  if (t in D && e in D[t])
3766
3766
  return D[t][e];
3767
- const r = me(t);
3767
+ const r = fe(t);
3768
3768
  for (let n = 0; n < r.length; n++) {
3769
3769
  const i = r[n], s = ii(i, e);
3770
3770
  if (s)
3771
3771
  return ri(e, t, s);
3772
3772
  }
3773
3773
  };
3774
- let lt;
3775
- const fe = Le({});
3774
+ let ut;
3775
+ const ce = Le({});
3776
3776
  function ni(e) {
3777
- return lt[e] || null;
3777
+ return ut[e] || null;
3778
3778
  }
3779
3779
  function pr(e) {
3780
- return e in lt;
3780
+ return e in ut;
3781
3781
  }
3782
3782
  function ii(e, t) {
3783
3783
  if (!pr(e))
@@ -3788,7 +3788,7 @@ function ii(e, t) {
3788
3788
  function si(e) {
3789
3789
  if (e == null)
3790
3790
  return;
3791
- const t = me(e);
3791
+ const t = fe(e);
3792
3792
  for (let r = 0; r < t.length; r++) {
3793
3793
  const n = t[r];
3794
3794
  if (pr(n))
@@ -3796,28 +3796,28 @@ function si(e) {
3796
3796
  }
3797
3797
  }
3798
3798
  function gr(e, ...t) {
3799
- delete D[e], fe.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));
3800
3800
  }
3801
3801
  ee(
3802
- [fe],
3802
+ [ce],
3803
3803
  ([e]) => Object.keys(e)
3804
3804
  );
3805
- fe.subscribe((e) => lt = e);
3806
- const Be = {};
3805
+ ce.subscribe((e) => ut = e);
3806
+ const Se = {};
3807
3807
  function oi(e, t) {
3808
- Be[e].delete(t), Be[e].size === 0 && delete Be[e];
3808
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3809
3809
  }
3810
3810
  function br(e) {
3811
- return Be[e];
3811
+ return Se[e];
3812
3812
  }
3813
3813
  function ai(e) {
3814
- return me(e).map((t) => {
3814
+ return fe(e).map((t) => {
3815
3815
  const r = br(t);
3816
3816
  return [t, r ? [...r] : []];
3817
3817
  }).filter(([, t]) => t.length > 0);
3818
3818
  }
3819
3819
  function Ie(e) {
3820
- return e == null ? !1 : me(e).some(
3820
+ return e == null ? !1 : fe(e).some(
3821
3821
  (t) => {
3822
3822
  var r;
3823
3823
  return (r = br(t)) == null ? void 0 : r.size;
@@ -3844,12 +3844,12 @@ function yr(e) {
3844
3844
  delete ne[e];
3845
3845
  }), ne[e];
3846
3846
  }
3847
- var wt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, ci = (e, t) => {
3847
+ var xt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, ci = (e, t) => {
3848
3848
  var r = {};
3849
3849
  for (var n in e)
3850
3850
  li.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3851
- if (e != null && wt)
3852
- for (var n of wt(e))
3851
+ if (e != null && xt)
3852
+ for (var n of xt(e))
3853
3853
  t.indexOf(n) < 0 && hi.call(e, n) && (r[n] = e[n]);
3854
3854
  return r;
3855
3855
  };
@@ -3885,7 +3885,7 @@ const fi = {
3885
3885
  };
3886
3886
  function mi({ locale: e, id: t }) {
3887
3887
  console.warn(
3888
- `[svelte-i18n] The message "${t}" was not found in "${me(
3888
+ `[svelte-i18n] The message "${t}" was not found in "${fe(
3889
3889
  e
3890
3890
  ).join('", "')}".${Ie(U()) ? `
3891
3891
 
@@ -3900,7 +3900,7 @@ const di = {
3900
3900
  handleMissingMessage: void 0,
3901
3901
  ignoreTag: !0
3902
3902
  }, ie = di;
3903
- function K() {
3903
+ function Y() {
3904
3904
  return ie;
3905
3905
  }
3906
3906
  function pi(e) {
@@ -3916,47 +3916,47 @@ function pi(e) {
3916
3916
  }
3917
3917
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = mi : console.warn(
3918
3918
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
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)), j.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);
3920
3920
  }
3921
3921
  const Xe = Le(!1);
3922
- var gi = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
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) => {
3923
3923
  for (var r in t || (t = {}))
3924
- _i.call(t, r) && Ht(e, r, t[r]);
3925
- if (Tt)
3926
- for (var r of Tt(t))
3927
- vi.call(t, r) && Ht(e, r, t[r]);
3924
+ _i.call(t, r) && Tt(e, r, t[r]);
3925
+ if (wt)
3926
+ for (var r of wt(t))
3927
+ vi.call(t, r) && Tt(e, r, t[r]);
3928
3928
  return e;
3929
3929
  }, xi = (e, t) => bi(e, yi(t));
3930
3930
  let it;
3931
- const Me = Le(null);
3932
- function St(e) {
3931
+ const Ce = Le(null);
3932
+ function Ht(e) {
3933
3933
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3934
3934
  }
3935
- function me(e, t = K().fallbackLocale) {
3936
- const r = St(e);
3937
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3935
+ function fe(e, t = Y().fallbackLocale) {
3936
+ const r = Ht(e);
3937
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3938
3938
  }
3939
3939
  function U() {
3940
3940
  return it ?? void 0;
3941
3941
  }
3942
- Me.subscribe((e) => {
3942
+ Ce.subscribe((e) => {
3943
3943
  it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3944
3944
  });
3945
3945
  const wi = (e) => {
3946
3946
  if (e && si(e) && Ie(e)) {
3947
- const { loadingDelay: t } = K();
3947
+ const { loadingDelay: t } = Y();
3948
3948
  let r;
3949
3949
  return typeof window < "u" && U() != null && t ? r = window.setTimeout(
3950
3950
  () => Xe.set(!0),
3951
3951
  t
3952
3952
  ) : Xe.set(!0), yr(e).then(() => {
3953
- Me.set(e);
3953
+ Ce.set(e);
3954
3954
  }).finally(() => {
3955
3955
  clearTimeout(r), Xe.set(!1);
3956
3956
  });
3957
3957
  }
3958
- return Me.set(e);
3959
- }, j = xi(Ei({}, Me), {
3958
+ return Ce.set(e);
3959
+ }, G = xi(Ei({}, Ce), {
3960
3960
  set: wi
3961
3961
  }), De = (e) => {
3962
3962
  const t = /* @__PURE__ */ Object.create(null);
@@ -3965,24 +3965,24 @@ const wi = (e) => {
3965
3965
  return i in t ? t[i] : t[i] = e(n);
3966
3966
  };
3967
3967
  };
3968
- var Ti = Object.defineProperty, Ne = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (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) => {
3969
3969
  for (var r in t || (t = {}))
3970
- _r.call(t, r) && Bt(e, r, t[r]);
3971
- if (Ne)
3972
- for (var r of Ne(t))
3973
- vr.call(t, r) && Bt(e, r, t[r]);
3970
+ _r.call(t, r) && St(e, r, t[r]);
3971
+ if (Me)
3972
+ for (var r of Me(t))
3973
+ vr.call(t, r) && St(e, r, t[r]);
3974
3974
  return e;
3975
3975
  }, te = (e, t) => {
3976
3976
  var r = {};
3977
3977
  for (var n in e)
3978
3978
  _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3979
- if (e != null && Ne)
3980
- for (var n of Ne(e))
3979
+ if (e != null && Me)
3980
+ for (var n of Me(e))
3981
3981
  t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3982
3982
  return r;
3983
3983
  };
3984
3984
  const le = (e, t) => {
3985
- const { formats: r } = K();
3985
+ const { formats: r } = Y();
3986
3986
  if (e in r && t in r[e])
3987
3987
  return r[e][t];
3988
3988
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
@@ -4015,63 +4015,63 @@ const le = (e, t) => {
4015
4015
  } = t, n = te(t, [
4016
4016
  "locale"
4017
4017
  ]);
4018
- return Hi(ht({ locale: r }, n));
4018
+ return Hi(lt({ locale: r }, n));
4019
4019
  }, Pi = (e = {}) => {
4020
4020
  var t = e, {
4021
4021
  locale: r = U()
4022
4022
  } = t, n = te(t, [
4023
4023
  "locale"
4024
4024
  ]);
4025
- return Si(ht({ locale: r }, n));
4025
+ return Si(lt({ locale: r }, n));
4026
4026
  }, Oi = (e = {}) => {
4027
4027
  var t = e, {
4028
4028
  locale: r = U()
4029
4029
  } = t, n = te(t, [
4030
4030
  "locale"
4031
4031
  ]);
4032
- return Bi(ht({ locale: r }, n));
4033
- }, Ci = De(
4032
+ return Bi(lt({ locale: r }, n));
4033
+ }, Ii = De(
4034
4034
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4035
- (e, t = U()) => new mr(e, t, K().formats, {
4036
- ignoreTag: K().ignoreTag
4035
+ (e, t = U()) => new mr(e, t, Y().formats, {
4036
+ ignoreTag: Y().ignoreTag
4037
4037
  })
4038
- ), Ii = (e, t = {}) => {
4038
+ ), Ci = (e, t = {}) => {
4039
4039
  var r, n, i, s;
4040
4040
  let o = t;
4041
4041
  typeof e == "object" && (o = e, e = o.id);
4042
4042
  const {
4043
4043
  values: a,
4044
- locale: c = U(),
4044
+ locale: h = U(),
4045
4045
  default: u
4046
4046
  } = o;
4047
- if (c == null)
4047
+ if (h == null)
4048
4048
  throw new Error(
4049
4049
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4050
4050
  );
4051
- let l = dr(e, c);
4051
+ let l = dr(e, h);
4052
4052
  if (!l)
4053
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, 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;
4054
4054
  else if (typeof l != "string")
4055
4055
  return console.warn(
4056
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.`
4057
4057
  ), l;
4058
4058
  if (!a)
4059
4059
  return l;
4060
- let f = l;
4060
+ let c = l;
4061
4061
  try {
4062
- f = Ci(l, c).format(a);
4063
- } catch (h) {
4064
- h instanceof Error && console.warn(
4062
+ c = Ii(l, h).format(a);
4063
+ } catch (m) {
4064
+ m instanceof Error && console.warn(
4065
4065
  `[svelte-i18n] Message "${e}" has syntax error:`,
4066
- h.message
4066
+ m.message
4067
4067
  );
4068
4068
  }
4069
- return f;
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([j, fe], () => Ii);
4071
- ee([j], () => Mi);
4072
- ee([j], () => Ni);
4073
- ee([j], () => Li);
4074
- ee([j, fe], () => $i);
4069
+ return c;
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
4075
  function Di(e, t) {
4076
4076
  if (e) {
4077
4077
  const r = document.createElement("style");
@@ -4097,15 +4097,15 @@ function Ui(e, t, r) {
4097
4097
  });
4098
4098
  }
4099
4099
  }
4100
- function At(e, t) {
4100
+ function Bt(e, t) {
4101
4101
  gr(e, t);
4102
4102
  }
4103
4103
  function Gi(e) {
4104
4104
  pi({
4105
4105
  fallbackLocale: "en"
4106
- }), j.set(e);
4106
+ }), G.set(e);
4107
4107
  }
4108
- const Pt = {
4108
+ const At = {
4109
4109
  en: {
4110
4110
  errorGeneralTitle: "Error Occurred",
4111
4111
  errorGeneralText: "Something went wrong",
@@ -4162,71 +4162,49 @@ const Pt = {
4162
4162
  function Fi(e) {
4163
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}");
4164
4164
  }
4165
- const ji = (e) => ({}), Ot = (e) => ({}), zi = (e) => ({}), Ct = (e) => ({}), Vi = (e) => ({}), It = (e) => ({}), Xi = (e) => ({}), Mt = (e) => ({ class: "CashierErrorIcon" });
4166
- function Nt(e) {
4165
+ const ji = (e) => ({}), Pt = (e) => ({}), zi = (e) => ({}), Ot = (e) => ({}), Vi = (e) => ({}), It = (e) => ({}), Xi = (e) => ({}), Ct = (e) => ({ class: "CashierErrorIcon" });
4166
+ function Mt(e) {
4167
4167
  let t, r;
4168
4168
  return {
4169
4169
  c() {
4170
- t = A("ui-image"), ft(t.src, r = `${/*assetsurl*/
4171
- e[0]}/error-general-icon.png`) || ve(t, "src", r), ve(t, "width", "300px"), ve(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");
4172
4172
  },
4173
4173
  m(n, i) {
4174
- F(n, t, i);
4174
+ K(n, t, i);
4175
4175
  },
4176
4176
  p(n, i) {
4177
4177
  i & /*assetsurl*/
4178
- 1 && !ft(t.src, r = `${/*assetsurl*/
4179
- n[0]}/error-general-icon.png`) && ve(t, "src", r);
4178
+ 1 && !ct(t.src, r = `${/*assetsurl*/
4179
+ n[0]}/error-general-icon.png`) && _e(t, "src", r);
4180
4180
  },
4181
4181
  d(n) {
4182
- n && N(t);
4182
+ n && L(t);
4183
4183
  }
4184
4184
  };
4185
4185
  }
4186
4186
  function Wi(e) {
4187
4187
  let t, r = (
4188
4188
  /*assetsurl*/
4189
- e[0] && Nt(e)
4189
+ e[0] && Mt(e)
4190
4190
  );
4191
4191
  return {
4192
4192
  c() {
4193
4193
  r && r.c(), t = Br();
4194
4194
  },
4195
4195
  m(n, i) {
4196
- r && r.m(n, i), F(n, t, i);
4196
+ r && r.m(n, i), K(n, t, i);
4197
4197
  },
4198
4198
  p(n, i) {
4199
4199
  /*assetsurl*/
4200
- n[0] ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4200
+ n[0] ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4201
4201
  },
4202
4202
  d(n) {
4203
- n && N(t), r && r.d(n);
4203
+ n && L(t), r && r.d(n);
4204
4204
  }
4205
4205
  };
4206
4206
  }
4207
4207
  function Zi(e) {
4208
- let t, r = (
4209
- /*$_*/
4210
- e[3]("errorGeneralTitle") + ""
4211
- ), n;
4212
- return {
4213
- c() {
4214
- t = A("span"), n = ce(r), G(t, "class", "CashierErrorTitle");
4215
- },
4216
- m(i, s) {
4217
- F(i, t, s), M(t, n);
4218
- },
4219
- p(i, s) {
4220
- s & /*$_*/
4221
- 8 && r !== (r = /*$_*/
4222
- i[3]("errorGeneralTitle") + "") && ut(n, r);
4223
- },
4224
- d(i) {
4225
- i && N(t);
4226
- }
4227
- };
4228
- }
4229
- function Ji(e) {
4230
4208
  let t, r = (
4231
4209
  /*$_*/
4232
4210
  e[3](`${/*errorcode*/
@@ -4234,236 +4212,235 @@ function Ji(e) {
4234
4212
  ), n;
4235
4213
  return {
4236
4214
  c() {
4237
- t = A("span"), n = ce(r), G(t, "class", "CashierErrorText");
4215
+ t = C("span"), n = Ne(r), Z(t, "class", "CashierErrorText");
4238
4216
  },
4239
4217
  m(i, s) {
4240
- F(i, t, s), M(t, n);
4218
+ K(i, t, s), N(t, n);
4241
4219
  },
4242
4220
  p(i, s) {
4243
4221
  s & /*$_, errorcode*/
4244
4222
  10 && r !== (r = /*$_*/
4245
4223
  i[3](`${/*errorcode*/
4246
- i[1] || "errorGeneralText"}`) + "") && ut(n, r);
4224
+ i[1] || "errorGeneralText"}`) + "") && jt(n, r);
4247
4225
  },
4248
4226
  d(i) {
4249
- i && N(t);
4227
+ i && L(t);
4250
4228
  }
4251
4229
  };
4252
4230
  }
4253
- function qi(e) {
4231
+ function Ji(e) {
4254
4232
  let t, r, n = (
4255
4233
  /*$_*/
4256
4234
  e[3]("errorGeneralButton") + ""
4257
4235
  ), i, s, o;
4258
4236
  return {
4259
4237
  c() {
4260
- t = A("button"), r = A("span"), i = ce(n), G(t, "class", "CashierErrorButton");
4238
+ t = C("button"), r = C("span"), i = Ne(n), Z(t, "class", "CashierErrorButton");
4261
4239
  },
4262
- m(a, c) {
4263
- F(a, t, c), M(t, r), M(r, i), s || (o = We(
4240
+ m(a, h) {
4241
+ K(a, t, h), N(t, r), N(r, i), s || (o = We(
4264
4242
  t,
4265
4243
  "click",
4266
4244
  /*close*/
4267
4245
  e[4]
4268
4246
  ), s = !0);
4269
4247
  },
4270
- p(a, c) {
4271
- c & /*$_*/
4248
+ p(a, h) {
4249
+ h & /*$_*/
4272
4250
  8 && n !== (n = /*$_*/
4273
- a[3]("errorGeneralButton") + "") && ut(i, n);
4251
+ a[3]("errorGeneralButton") + "") && jt(i, n);
4274
4252
  },
4275
4253
  d(a) {
4276
- a && N(t), s = !1, o();
4254
+ a && L(t), s = !1, o();
4277
4255
  }
4278
4256
  };
4279
4257
  }
4280
- function Qi(e) {
4258
+ function qi(e) {
4281
4259
  let t, r, n, i, s, o;
4282
4260
  const a = (
4283
4261
  /*#slots*/
4284
4262
  e[11].icon
4285
- ), c = ge(
4263
+ ), h = pe(
4286
4264
  a,
4287
4265
  e,
4288
4266
  /*$$scope*/
4289
4267
  e[10],
4290
- Mt
4291
- ), u = c || Wi(e), l = (
4268
+ Ct
4269
+ ), u = h || Wi(e), l = (
4292
4270
  /*#slots*/
4293
4271
  e[11].title
4294
- ), f = ge(
4272
+ ), c = pe(
4295
4273
  l,
4296
4274
  e,
4297
4275
  /*$$scope*/
4298
4276
  e[10],
4299
4277
  It
4300
- ), h = f || Zi(e), d = (
4278
+ ), m = (
4301
4279
  /*#slots*/
4302
4280
  e[11].text
4303
- ), g = ge(
4304
- d,
4281
+ ), d = pe(
4282
+ m,
4305
4283
  e,
4306
4284
  /*$$scope*/
4307
4285
  e[10],
4308
- Ct
4309
- ), b = g || Ji(e), E = (
4286
+ Ot
4287
+ ), p = d || Zi(e), b = (
4310
4288
  /*#slots*/
4311
4289
  e[11].button
4312
- ), x = ge(
4313
- E,
4290
+ ), E = pe(
4291
+ b,
4314
4292
  e,
4315
4293
  /*$$scope*/
4316
4294
  e[10],
4317
- Ot
4318
- ), p = x || qi(e);
4295
+ Pt
4296
+ ), _ = E || Ji(e);
4319
4297
  return {
4320
4298
  c() {
4321
- t = A("div"), r = A("div"), u && u.c(), n = ke(), h && h.c(), i = ke(), b && b.c(), s = ke(), p && p.c(), G(r, "class", "CashierErrorContent"), G(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");
4322
4300
  },
4323
- m(m, v) {
4324
- F(m, t, v), M(t, r), u && u.m(r, null), M(r, n), h && h.m(r, null), M(r, i), b && b.m(r, null), M(r, s), p && p.m(r, null), e[12](t), o = !0;
4301
+ m(f, g) {
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;
4325
4303
  },
4326
- p(m, [v]) {
4327
- c ? c.p && (!o || v & /*$$scope*/
4328
- 1024) && ye(
4329
- c,
4304
+ p(f, [g]) {
4305
+ h ? h.p && (!o || g & /*$$scope*/
4306
+ 1024) && be(
4307
+ h,
4330
4308
  a,
4331
- m,
4309
+ f,
4332
4310
  /*$$scope*/
4333
- m[10],
4334
- o ? be(
4311
+ f[10],
4312
+ o ? ge(
4335
4313
  a,
4336
4314
  /*$$scope*/
4337
- m[10],
4338
- v,
4315
+ f[10],
4316
+ g,
4339
4317
  Xi
4340
- ) : _e(
4318
+ ) : ye(
4341
4319
  /*$$scope*/
4342
- m[10]
4320
+ f[10]
4343
4321
  ),
4344
- Mt
4345
- ) : u && u.p && (!o || v & /*assetsurl*/
4346
- 1) && u.p(m, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4347
- 1024) && ye(
4348
- f,
4322
+ Ct
4323
+ ) : u && u.p && (!o || g & /*assetsurl*/
4324
+ 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4325
+ 1024) && be(
4326
+ c,
4349
4327
  l,
4350
- m,
4328
+ f,
4351
4329
  /*$$scope*/
4352
- m[10],
4353
- o ? be(
4330
+ f[10],
4331
+ o ? ge(
4354
4332
  l,
4355
4333
  /*$$scope*/
4356
- m[10],
4357
- v,
4334
+ f[10],
4335
+ g,
4358
4336
  Vi
4359
- ) : _e(
4337
+ ) : ye(
4360
4338
  /*$$scope*/
4361
- m[10]
4339
+ f[10]
4362
4340
  ),
4363
4341
  It
4364
- ) : h && h.p && (!o || v & /*$_*/
4365
- 8) && h.p(m, o ? v : -1), g ? g.p && (!o || v & /*$$scope*/
4366
- 1024) && ye(
4367
- g,
4342
+ ), d ? d.p && (!o || g & /*$$scope*/
4343
+ 1024) && be(
4368
4344
  d,
4369
4345
  m,
4346
+ f,
4370
4347
  /*$$scope*/
4371
- m[10],
4372
- o ? be(
4373
- d,
4348
+ f[10],
4349
+ o ? ge(
4350
+ m,
4374
4351
  /*$$scope*/
4375
- m[10],
4376
- v,
4352
+ f[10],
4353
+ g,
4377
4354
  zi
4378
- ) : _e(
4355
+ ) : ye(
4379
4356
  /*$$scope*/
4380
- m[10]
4357
+ f[10]
4381
4358
  ),
4382
- Ct
4383
- ) : b && b.p && (!o || v & /*$_, errorcode*/
4384
- 10) && b.p(m, o ? v : -1), x ? x.p && (!o || v & /*$$scope*/
4385
- 1024) && ye(
4386
- x,
4359
+ Ot
4360
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4361
+ 10) && p.p(f, o ? g : -1), E ? E.p && (!o || g & /*$$scope*/
4362
+ 1024) && be(
4387
4363
  E,
4388
- m,
4364
+ b,
4365
+ f,
4389
4366
  /*$$scope*/
4390
- m[10],
4391
- o ? be(
4392
- E,
4367
+ f[10],
4368
+ o ? ge(
4369
+ b,
4393
4370
  /*$$scope*/
4394
- m[10],
4395
- v,
4371
+ f[10],
4372
+ g,
4396
4373
  ji
4397
- ) : _e(
4374
+ ) : ye(
4398
4375
  /*$$scope*/
4399
- m[10]
4376
+ f[10]
4400
4377
  ),
4401
- Ot
4402
- ) : p && p.p && (!o || v & /*$_*/
4403
- 8) && p.p(m, o ? v : -1);
4378
+ Pt
4379
+ ) : _ && _.p && (!o || g & /*$_*/
4380
+ 8) && _.p(f, o ? g : -1);
4404
4381
  },
4405
- i(m) {
4406
- o || (W(u, m), W(h, m), W(b, m), W(p, m), o = !0);
4382
+ i(f) {
4383
+ o || (V(u, f), V(c, f), V(p, f), V(_, f), o = !0);
4407
4384
  },
4408
- o(m) {
4409
- xe(u, m), xe(h, m), xe(b, m), xe(p, m), o = !1;
4385
+ o(f) {
4386
+ Ee(u, f), Ee(c, f), Ee(p, f), Ee(_, f), o = !1;
4410
4387
  },
4411
- d(m) {
4412
- m && N(t), u && u.d(m), h && h.d(m), b && b.d(m), p && p.d(m), e[12](null);
4388
+ d(f) {
4389
+ f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
4413
4390
  }
4414
4391
  };
4415
4392
  }
4416
- function Yi(e, t, r) {
4393
+ function Qi(e, t, r) {
4417
4394
  let n;
4418
- Tr(e, Ri, (p) => r(3, n = p));
4419
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: c = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: h = "" } = t, d;
4420
- const g = () => {
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;
4397
+ const p = () => {
4421
4398
  Gi(a);
4422
4399
  }, b = () => {
4423
- fetch(f).then((m) => m.json()).then((m) => {
4424
- Object.keys(m).forEach((v) => {
4425
- At(v, m[v]);
4400
+ fetch(c).then((g) => g.json()).then((g) => {
4401
+ Object.keys(g).forEach((S) => {
4402
+ Bt(S, g[S]);
4426
4403
  });
4427
- }).catch((m) => {
4428
- console.error(m);
4404
+ }).catch((g) => {
4405
+ console.error(g);
4429
4406
  });
4430
4407
  };
4431
- Object.keys(Pt).forEach((p) => {
4432
- At(p, Pt[p]);
4408
+ Object.keys(At).forEach((f) => {
4409
+ Bt(f, At[f]);
4433
4410
  });
4434
4411
  const E = () => {
4435
4412
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4436
4413
  };
4437
4414
  $r(() => () => {
4438
4415
  });
4439
- function x(p) {
4440
- Je[p ? "unshift" : "push"](() => {
4441
- d = p, r(2, d);
4416
+ function _(f) {
4417
+ Je[f ? "unshift" : "push"](() => {
4418
+ d = f, r(2, d);
4442
4419
  });
4443
4420
  }
4444
- return e.$$set = (p) => {
4445
- "assetsurl" in p && r(0, o = p.assetsurl), "lang" in p && r(5, a = p.lang), "errorcode" in p && r(1, c = p.errorcode), "clientstyling" in p && r(6, u = p.clientstyling), "clientstylingurl" in p && r(7, l = p.clientstylingurl), "translationurl" in p && r(8, f = p.translationurl), "mbsource" in p && r(9, h = p.mbsource), "$$scope" in p && r(10, s = p.$$scope);
4421
+ return e.$$set = (f) => {
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);
4446
4423
  }, e.$$.update = () => {
4447
4424
  e.$$.dirty & /*lang*/
4448
- 32 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4425
+ 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4449
4426
  68 && u && d && Di(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4450
4427
  132 && l && d && ki(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4451
- 516 && h && d && Ui(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4452
- 256 && f && b();
4428
+ 516 && m && d && Ui(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4429
+ 256 && c && b();
4453
4430
  }, [
4454
4431
  o,
4455
- c,
4432
+ h,
4456
4433
  d,
4457
4434
  n,
4458
4435
  E,
4459
4436
  a,
4460
4437
  u,
4461
4438
  l,
4462
- f,
4463
- h,
4439
+ c,
4440
+ m,
4464
4441
  s,
4465
4442
  i,
4466
- x
4443
+ _
4467
4444
  ];
4468
4445
  }
4469
4446
  class Er extends zr {
@@ -4471,9 +4448,9 @@ class Er extends zr {
4471
4448
  super(), Fr(
4472
4449
  this,
4473
4450
  t,
4474
- Yi,
4475
4451
  Qi,
4476
- Rt,
4452
+ qi,
4453
+ $t,
4477
4454
  {
4478
4455
  assetsurl: 0,
4479
4456
  lang: 5,
@@ -4490,110 +4467,110 @@ class Er extends zr {
4490
4467
  return this.$$.ctx[0];
4491
4468
  }
4492
4469
  set assetsurl(t) {
4493
- this.$$set({ assetsurl: t }), L();
4470
+ this.$$set({ assetsurl: t }), M();
4494
4471
  }
4495
4472
  get lang() {
4496
4473
  return this.$$.ctx[5];
4497
4474
  }
4498
4475
  set lang(t) {
4499
- this.$$set({ lang: t }), L();
4476
+ this.$$set({ lang: t }), M();
4500
4477
  }
4501
4478
  get errorcode() {
4502
4479
  return this.$$.ctx[1];
4503
4480
  }
4504
4481
  set errorcode(t) {
4505
- this.$$set({ errorcode: t }), L();
4482
+ this.$$set({ errorcode: t }), M();
4506
4483
  }
4507
4484
  get clientstyling() {
4508
4485
  return this.$$.ctx[6];
4509
4486
  }
4510
4487
  set clientstyling(t) {
4511
- this.$$set({ clientstyling: t }), L();
4488
+ this.$$set({ clientstyling: t }), M();
4512
4489
  }
4513
4490
  get clientstylingurl() {
4514
4491
  return this.$$.ctx[7];
4515
4492
  }
4516
4493
  set clientstylingurl(t) {
4517
- this.$$set({ clientstylingurl: t }), L();
4494
+ this.$$set({ clientstylingurl: t }), M();
4518
4495
  }
4519
4496
  get translationurl() {
4520
4497
  return this.$$.ctx[8];
4521
4498
  }
4522
4499
  set translationurl(t) {
4523
- this.$$set({ translationurl: t }), L();
4500
+ this.$$set({ translationurl: t }), M();
4524
4501
  }
4525
4502
  get mbsource() {
4526
4503
  return this.$$.ctx[9];
4527
4504
  }
4528
4505
  set mbsource(t) {
4529
- this.$$set({ mbsource: t }), L();
4506
+ this.$$set({ mbsource: t }), M();
4530
4507
  }
4531
4508
  }
4532
4509
  jr(Er, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4533
- const vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4510
+ const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4534
4511
  __proto__: null,
4535
4512
  default: Er
4536
4513
  }, Symbol.toStringTag, { value: "Module" }));
4537
4514
  export {
4538
- j as $,
4539
- ss as A,
4540
- ve as B,
4515
+ G as $,
4516
+ is as A,
4517
+ _e as B,
4541
4518
  Br as C,
4542
- cs as D,
4543
- ls as E,
4544
- ns as F,
4545
- gs as G,
4546
- ft as H,
4547
- ut as I,
4548
- ys as J,
4549
- is as K,
4550
- ce as L,
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,
4551
4528
  k as M,
4552
- os as N,
4553
- as as O,
4554
- rs as P,
4555
- bs as Q,
4529
+ ss as N,
4530
+ os as O,
4531
+ ts as P,
4532
+ gs as Q,
4556
4533
  Di as R,
4557
4534
  zr as S,
4558
4535
  ki as T,
4559
4536
  Ui as U,
4560
- xe as V,
4561
- W,
4562
- fs as X,
4563
- ms as Y,
4564
- ge as Z,
4565
- ye as _,
4537
+ Ee as V,
4538
+ V as W,
4539
+ cs as X,
4540
+ fs as Y,
4541
+ pe as Z,
4542
+ be as _,
4566
4543
  gr as a,
4567
- _e as a0,
4568
- be as a1,
4569
- us as a2,
4570
- Lt as a3,
4571
- ps as a4,
4572
- ds as a5,
4573
- vs as a6,
4544
+ ye as a0,
4545
+ ge as a1,
4546
+ as as a2,
4547
+ Nt as a3,
4548
+ ds as a4,
4549
+ ms as a5,
4550
+ _s as a6,
4574
4551
  Ri as b,
4575
- _s as c,
4552
+ ys as c,
4576
4553
  Wr as d,
4577
4554
  jr as e,
4578
4555
  Fr as f,
4579
- es as g,
4580
- L as h,
4556
+ Ki as g,
4557
+ M as h,
4581
4558
  pi as i,
4582
4559
  Hr as j,
4583
4560
  ae as k,
4584
- N as l,
4585
- F as m,
4561
+ L as l,
4562
+ K as m,
4586
4563
  B as n,
4587
- M as o,
4564
+ N as o,
4588
4565
  We as p,
4589
- ts as q,
4590
- A as r,
4591
- Rt as s,
4566
+ es as q,
4567
+ C as r,
4568
+ $t as s,
4592
4569
  ke as t,
4593
- G as u,
4570
+ Z as u,
4594
4571
  Tr as v,
4595
4572
  Le as w,
4596
4573
  $r as x,
4597
- hs as y,
4574
+ ls as y,
4598
4575
  Je as z
4599
4576
  };