@everymatrix/cashier-receipt-page 1.98.95 → 1.98.100

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.
@@ -1,8 +1,8 @@
1
1
  import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function A() {
3
3
  }
4
- const Rt = (e) => e;
5
- function Hn(e, t) {
4
+ const $t = (e) => e;
5
+ function Pn(e, t) {
6
6
  for (const n in t)
7
7
  e[n] = t[n];
8
8
  return (
@@ -10,29 +10,29 @@ function Hn(e, t) {
10
10
  e
11
11
  );
12
12
  }
13
- function Ut(e) {
13
+ function Gt(e) {
14
14
  return e();
15
15
  }
16
- function ht() {
16
+ function ft() {
17
17
  return /* @__PURE__ */ Object.create(null);
18
18
  }
19
19
  function R(e) {
20
- e.forEach(Ut);
20
+ e.forEach(Gt);
21
21
  }
22
22
  function ge(e) {
23
23
  return typeof e == "function";
24
24
  }
25
- function $t(e, t) {
25
+ function jt(e, t) {
26
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
27
  }
28
28
  let be;
29
- function mt(e, t) {
29
+ function gt(e, t) {
30
30
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
31
31
  }
32
- function Pn(e) {
32
+ function Ln(e) {
33
33
  return Object.keys(e).length === 0;
34
34
  }
35
- function Gt(e, ...t) {
35
+ function Vt(e, ...t) {
36
36
  if (e == null) {
37
37
  for (const r of t)
38
38
  r(void 0);
@@ -41,17 +41,17 @@ function Gt(e, ...t) {
41
41
  const n = e.subscribe(...t);
42
42
  return n.unsubscribe ? () => n.unsubscribe() : n;
43
43
  }
44
- function Ln(e, t, n) {
45
- e.$$.on_destroy.push(Gt(t, n));
44
+ function On(e, t, n) {
45
+ e.$$.on_destroy.push(Vt(t, n));
46
46
  }
47
47
  function ye(e, t, n, r) {
48
48
  if (e) {
49
- const i = jt(e, t, n, r);
49
+ const i = Wt(e, t, n, r);
50
50
  return e[0](i);
51
51
  }
52
52
  }
53
- function jt(e, t, n, r) {
54
- return e[1] && r ? Hn(n.ctx.slice(), e[1](r(t))) : n.ctx;
53
+ function Wt(e, t, n, r) {
54
+ return e[1] && r ? Pn(n.ctx.slice(), e[1](r(t))) : n.ctx;
55
55
  }
56
56
  function ve(e, t, n, r) {
57
57
  if (e[2] && r) {
@@ -70,7 +70,7 @@ function ve(e, t, n, r) {
70
70
  }
71
71
  function Fe(e, t, n, r, i, a) {
72
72
  if (i) {
73
- const s = jt(t, n, r, a);
73
+ const s = Wt(t, n, r, a);
74
74
  e.p(s, i);
75
75
  }
76
76
  }
@@ -83,17 +83,17 @@ function xe(e) {
83
83
  }
84
84
  return -1;
85
85
  }
86
- const Vt = typeof window < "u";
87
- let Wt = Vt ? () => window.performance.now() : () => Date.now(), at = Vt ? (e) => requestAnimationFrame(e) : A;
86
+ const qt = typeof window < "u";
87
+ let Xt = qt ? () => window.performance.now() : () => Date.now(), st = qt ? (e) => requestAnimationFrame(e) : A;
88
88
  const q = /* @__PURE__ */ new Set();
89
- function qt(e) {
89
+ function Zt(e) {
90
90
  q.forEach((t) => {
91
91
  t.c(e) || (q.delete(t), t.f());
92
- }), q.size !== 0 && at(qt);
92
+ }), q.size !== 0 && st(Zt);
93
93
  }
94
- function Xt(e) {
94
+ function Kt(e) {
95
95
  let t;
96
- return q.size === 0 && at(qt), {
96
+ return q.size === 0 && st(Zt), {
97
97
  promise: new Promise((n) => {
98
98
  q.add(t = { c: e, f: n });
99
99
  }),
@@ -105,14 +105,14 @@ function Xt(e) {
105
105
  function B(e, t) {
106
106
  e.appendChild(t);
107
107
  }
108
- function On(e, t, n) {
109
- const r = st(e);
108
+ function Mn(e, t, n) {
109
+ const r = ot(e);
110
110
  if (!r.getElementById(t)) {
111
111
  const i = I("style");
112
- i.id = t, i.textContent = n, Zt(r, i);
112
+ i.id = t, i.textContent = n, Jt(r, i);
113
113
  }
114
114
  }
115
- function st(e) {
115
+ function ot(e) {
116
116
  if (!e)
117
117
  return document;
118
118
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -122,11 +122,11 @@ function st(e) {
122
122
  t
123
123
  ) : e.ownerDocument;
124
124
  }
125
- function Mn(e) {
125
+ function Nn(e) {
126
126
  const t = I("style");
127
- return t.textContent = "/* empty */", Zt(st(e), t), t.sheet;
127
+ return t.textContent = "/* empty */", Jt(ot(e), t), t.sheet;
128
128
  }
129
- function Zt(e, t) {
129
+ function Jt(e, t) {
130
130
  return B(
131
131
  /** @type {Document} */
132
132
  e.head || e,
@@ -139,14 +139,14 @@ function S(e, t, n) {
139
139
  function T(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function _a(e, t) {
142
+ function wa(e, t) {
143
143
  for (let n = 0; n < e.length; n += 1)
144
144
  e[n] && e[n].d(t);
145
145
  }
146
146
  function I(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function ka(e) {
149
+ function Sa(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
152
  function D(e) {
@@ -155,10 +155,10 @@ function D(e) {
155
155
  function X() {
156
156
  return D(" ");
157
157
  }
158
- function ot() {
158
+ function lt() {
159
159
  return D("");
160
160
  }
161
- function Nn(e, t, n, r) {
161
+ function Dn(e, t, n, r) {
162
162
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
163
163
  }
164
164
  function O(e, t, n) {
@@ -168,17 +168,17 @@ function _e(e, t, n) {
168
168
  const r = t.toLowerCase();
169
169
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : O(e, t, n);
170
170
  }
171
- function Dn(e) {
171
+ function zn(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
174
  function K(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
178
- function zn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
178
+ function Rn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
179
179
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
180
180
  }
181
- function Rn(e) {
181
+ function Un(e) {
182
182
  const t = {};
183
183
  return e.childNodes.forEach(
184
184
  /** @param {Element} node */
@@ -189,17 +189,17 @@ function Rn(e) {
189
189
  }
190
190
  const Ie = /* @__PURE__ */ new Map();
191
191
  let Ce = 0;
192
- function Un(e) {
192
+ function $n(e) {
193
193
  let t = 5381, n = e.length;
194
194
  for (; n--; )
195
195
  t = (t << 5) - t ^ e.charCodeAt(n);
196
196
  return t >>> 0;
197
197
  }
198
- function $n(e, t) {
199
- const n = { stylesheet: Mn(t), rules: {} };
198
+ function Gn(e, t) {
199
+ const n = { stylesheet: Nn(t), rules: {} };
200
200
  return Ie.set(e, n), n;
201
201
  }
202
- function Kt(e, t, n, r, i, a, s, o = 0) {
202
+ function Yt(e, t, n, r, i, a, s, o = 0) {
203
203
  const c = 16.666 / r;
204
204
  let l = `{
205
205
  `;
@@ -209,20 +209,20 @@ function Kt(e, t, n, r, i, a, s, o = 0) {
209
209
  `;
210
210
  }
211
211
  const u = l + `100% {${s(n, 1 - n)}}
212
- }`, d = `__svelte_${Un(u)}_${o}`, h = st(e), { stylesheet: g, rules: f } = Ie.get(h) || $n(h, e);
212
+ }`, d = `__svelte_${$n(u)}_${o}`, h = ot(e), { stylesheet: g, rules: f } = Ie.get(h) || Gn(h, e);
213
213
  f[d] || (f[d] = !0, g.insertRule(`@keyframes ${d} ${u}`, g.cssRules.length));
214
214
  const y = e.style.animation || "";
215
215
  return e.style.animation = `${y ? `${y}, ` : ""}${d} ${r}ms linear ${i}ms 1 both`, Ce += 1, d;
216
216
  }
217
- function Xe(e, t) {
217
+ function Ze(e, t) {
218
218
  const n = (e.style.animation || "").split(", "), r = n.filter(
219
219
  t ? (a) => a.indexOf(t) < 0 : (a) => a.indexOf("__svelte") === -1
220
220
  // remove all Svelte animations
221
221
  ), i = n.length - r.length;
222
- i && (e.style.animation = r.join(", "), Ce -= i, Ce || Gn());
222
+ i && (e.style.animation = r.join(", "), Ce -= i, Ce || jn());
223
223
  }
224
- function Gn() {
225
- at(() => {
224
+ function jn() {
225
+ st(() => {
226
226
  Ce || (Ie.forEach((e) => {
227
227
  const { ownerNode: t } = e.stylesheet;
228
228
  t && T(t);
@@ -233,25 +233,25 @@ let ce;
233
233
  function ue(e) {
234
234
  ce = e;
235
235
  }
236
- function jn() {
236
+ function Vn() {
237
237
  if (!ce)
238
238
  throw new Error("Function called outside component initialization");
239
239
  return ce;
240
240
  }
241
- function Vn(e) {
242
- jn().$$.on_mount.push(e);
241
+ function Wn(e) {
242
+ Vn().$$.on_mount.push(e);
243
243
  }
244
- const V = [], Ze = [];
244
+ const V = [], Ke = [];
245
245
  let Z = [];
246
- const ft = [], Wn = /* @__PURE__ */ Promise.resolve();
247
- let Ke = !1;
248
- function qn() {
249
- Ke || (Ke = !0, Wn.then(H));
246
+ const pt = [], qn = /* @__PURE__ */ Promise.resolve();
247
+ let Je = !1;
248
+ function Xn() {
249
+ Je || (Je = !0, qn.then(H));
250
250
  }
251
251
  function de(e) {
252
252
  Z.push(e);
253
253
  }
254
- const Ue = /* @__PURE__ */ new Set();
254
+ const $e = /* @__PURE__ */ new Set();
255
255
  let G = 0;
256
256
  function H() {
257
257
  if (G !== 0)
@@ -261,46 +261,46 @@ function H() {
261
261
  try {
262
262
  for (; G < V.length; ) {
263
263
  const t = V[G];
264
- G++, ue(t), Xn(t.$$);
264
+ G++, ue(t), Zn(t.$$);
265
265
  }
266
266
  } catch (t) {
267
267
  throw V.length = 0, G = 0, t;
268
268
  }
269
- for (ue(null), V.length = 0, G = 0; Ze.length; )
270
- Ze.pop()();
269
+ for (ue(null), V.length = 0, G = 0; Ke.length; )
270
+ Ke.pop()();
271
271
  for (let t = 0; t < Z.length; t += 1) {
272
272
  const n = Z[t];
273
- Ue.has(n) || (Ue.add(n), n());
273
+ $e.has(n) || ($e.add(n), n());
274
274
  }
275
275
  Z.length = 0;
276
276
  } while (V.length);
277
- for (; ft.length; )
278
- ft.pop()();
279
- Ke = !1, Ue.clear(), ue(e);
277
+ for (; pt.length; )
278
+ pt.pop()();
279
+ Je = !1, $e.clear(), ue(e);
280
280
  }
281
- function Xn(e) {
281
+ function Zn(e) {
282
282
  if (e.fragment !== null) {
283
283
  e.update(), R(e.before_update);
284
284
  const t = e.dirty;
285
285
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(de);
286
286
  }
287
287
  }
288
- function Zn(e) {
288
+ function Kn(e) {
289
289
  const t = [], n = [];
290
290
  Z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Z = t;
291
291
  }
292
292
  let ae;
293
- function Jt() {
293
+ function Qt() {
294
294
  return ae || (ae = Promise.resolve(), ae.then(() => {
295
295
  ae = null;
296
296
  })), ae;
297
297
  }
298
298
  function He(e, t, n) {
299
- e.dispatchEvent(zn(`${t ? "intro" : "outro"}${n}`));
299
+ e.dispatchEvent(Rn(`${t ? "intro" : "outro"}${n}`));
300
300
  }
301
301
  const we = /* @__PURE__ */ new Set();
302
302
  let M;
303
- function Ta() {
303
+ function Ba() {
304
304
  M = {
305
305
  r: 0,
306
306
  c: [],
@@ -308,7 +308,7 @@ function Ta() {
308
308
  // parent group
309
309
  };
310
310
  }
311
- function wa() {
311
+ function Aa() {
312
312
  M.r || R(M.c), M = M.p;
313
313
  }
314
314
  function oe(e, t) {
@@ -324,24 +324,24 @@ function ke(e, t, n, r) {
324
324
  } else
325
325
  r && r();
326
326
  }
327
- const Yt = { duration: 0 };
328
- function Sa(e, t, n) {
327
+ const en = { duration: 0 };
328
+ function Ia(e, t, n) {
329
329
  const r = { direction: "in" };
330
330
  let i = t(e, n, r), a = !1, s, o, c = 0;
331
331
  function l() {
332
- s && Xe(e, s);
332
+ s && Ze(e, s);
333
333
  }
334
334
  function u() {
335
335
  const {
336
336
  delay: h = 0,
337
337
  duration: g = 300,
338
- easing: f = Rt,
338
+ easing: f = $t,
339
339
  tick: y = A,
340
340
  css: x
341
- } = i || Yt;
342
- x && (s = Kt(e, 0, 1, g, h, f, x, c++)), y(0, 1);
343
- const E = Wt() + h, m = E + g;
344
- o && o.abort(), a = !0, de(() => He(e, !0, "start")), o = Xt((v) => {
341
+ } = i || en;
342
+ x && (s = Yt(e, 0, 1, g, h, f, x, c++)), y(0, 1);
343
+ const E = Xt() + h, m = E + g;
344
+ o && o.abort(), a = !0, de(() => He(e, !0, "start")), o = Kt((v) => {
345
345
  if (a) {
346
346
  if (v >= m)
347
347
  return y(1, 0), He(e, !0, "end"), l(), a = !1;
@@ -356,7 +356,7 @@ function Sa(e, t, n) {
356
356
  let d = !1;
357
357
  return {
358
358
  start() {
359
- d || (d = !0, Xe(e), ge(i) ? (i = i(r), Jt().then(u)) : u());
359
+ d || (d = !0, Ze(e), ge(i) ? (i = i(r), Qt().then(u)) : u());
360
360
  },
361
361
  invalidate() {
362
362
  d = !1;
@@ -366,7 +366,7 @@ function Sa(e, t, n) {
366
366
  }
367
367
  };
368
368
  }
369
- function Ba(e, t, n) {
369
+ function Ca(e, t, n) {
370
370
  const r = { direction: "out" };
371
371
  let i = t(e, n, r), a = !0, s;
372
372
  const o = M;
@@ -376,14 +376,14 @@ function Ba(e, t, n) {
376
376
  const {
377
377
  delay: u = 0,
378
378
  duration: d = 300,
379
- easing: h = Rt,
379
+ easing: h = $t,
380
380
  tick: g = A,
381
381
  css: f
382
- } = i || Yt;
383
- f && (s = Kt(e, 1, 0, d, u, h, f));
384
- const y = Wt() + u, x = y + d;
382
+ } = i || en;
383
+ f && (s = Yt(e, 1, 0, d, u, h, f));
384
+ const y = Xt() + u, x = y + d;
385
385
  de(() => He(e, !1, "start")), "inert" in e && (c = /** @type {HTMLElement} */
386
- e.inert, e.inert = !0), Xt((E) => {
386
+ e.inert, e.inert = !0), Kt((E) => {
387
387
  if (a) {
388
388
  if (E >= x)
389
389
  return g(0, 1), He(e, !1, "end"), --o.r || R(o.c), !1;
@@ -395,32 +395,32 @@ function Ba(e, t, n) {
395
395
  return a;
396
396
  });
397
397
  }
398
- return ge(i) ? Jt().then(() => {
398
+ return ge(i) ? Qt().then(() => {
399
399
  i = i(r), l();
400
400
  }) : l(), {
401
401
  end(u) {
402
- u && "inert" in e && (e.inert = c), u && i.tick && i.tick(1, 0), a && (s && Xe(e, s), a = !1);
402
+ u && "inert" in e && (e.inert = c), u && i.tick && i.tick(1, 0), a && (s && Ze(e, s), a = !1);
403
403
  }
404
404
  };
405
405
  }
406
- function Aa(e) {
406
+ function Ha(e) {
407
407
  return e?.length !== void 0 ? e : Array.from(e);
408
408
  }
409
- function Kn(e, t, n) {
409
+ function Jn(e, t, n) {
410
410
  const { fragment: r, after_update: i } = e.$$;
411
411
  r && r.m(t, n), de(() => {
412
- const a = e.$$.on_mount.map(Ut).filter(ge);
412
+ const a = e.$$.on_mount.map(Gt).filter(ge);
413
413
  e.$$.on_destroy ? e.$$.on_destroy.push(...a) : R(a), e.$$.on_mount = [];
414
414
  }), i.forEach(de);
415
415
  }
416
- function Jn(e, t) {
416
+ function Yn(e, t) {
417
417
  const n = e.$$;
418
- n.fragment !== null && (Zn(n.after_update), R(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
418
+ n.fragment !== null && (Kn(n.after_update), R(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
419
419
  }
420
- function Yn(e, t) {
421
- e.$$.dirty[0] === -1 && (V.push(e), qn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
420
+ function Qn(e, t) {
421
+ e.$$.dirty[0] === -1 && (V.push(e), Xn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
422
422
  }
423
- function Qn(e, t, n, r, i, a, s = null, o = [-1]) {
423
+ function er(e, t, n, r, i, a, s = null, o = [-1]) {
424
424
  const c = ce;
425
425
  ue(e);
426
426
  const l = e.$$ = {
@@ -430,7 +430,7 @@ function Qn(e, t, n, r, i, a, s = null, o = [-1]) {
430
430
  props: a,
431
431
  update: A,
432
432
  not_equal: i,
433
- bound: ht(),
433
+ bound: ft(),
434
434
  // lifecycle
435
435
  on_mount: [],
436
436
  on_destroy: [],
@@ -439,7 +439,7 @@ function Qn(e, t, n, r, i, a, s = null, o = [-1]) {
439
439
  after_update: [],
440
440
  context: new Map(t.context || (c ? c.$$.context : [])),
441
441
  // everything else
442
- callbacks: ht(),
442
+ callbacks: ft(),
443
443
  dirty: o,
444
444
  skip_bound: !1,
445
445
  root: t.target || c.$$.root
@@ -448,19 +448,19 @@ function Qn(e, t, n, r, i, a, s = null, o = [-1]) {
448
448
  let u = !1;
449
449
  if (l.ctx = n ? n(e, t.props || {}, (d, h, ...g) => {
450
450
  const f = g.length ? g[0] : h;
451
- return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), u && Yn(e, d)), h;
451
+ return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), u && Qn(e, d)), h;
452
452
  }) : [], l.update(), u = !0, R(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
453
453
  if (t.hydrate) {
454
- const d = Dn(t.target);
454
+ const d = zn(t.target);
455
455
  l.fragment && l.fragment.l(d), d.forEach(T);
456
456
  } else
457
457
  l.fragment && l.fragment.c();
458
- t.intro && oe(e.$$.fragment), Kn(e, t.target, t.anchor), H();
458
+ t.intro && oe(e.$$.fragment), Jn(e, t.target, t.anchor), H();
459
459
  }
460
460
  ue(c);
461
461
  }
462
- let Qt;
463
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
462
+ let tn;
463
+ typeof HTMLElement == "function" && (tn = class extends HTMLElement {
464
464
  /** The Svelte component constructor */
465
465
  $$ctor;
466
466
  /** Slots */
@@ -519,7 +519,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
519
519
  };
520
520
  if (await Promise.resolve(), !this.$$cn || this.$$c)
521
521
  return;
522
- const t = {}, n = Rn(this);
522
+ const t = {}, n = Un(this);
523
523
  for (const i of this.$$s)
524
524
  i in n && (t[i] = [e(i)]);
525
525
  for (const i of this.attributes) {
@@ -606,8 +606,8 @@ function Se(e, t, n, r) {
606
606
  return t;
607
607
  }
608
608
  }
609
- function er(e, t, n, r, i, a) {
610
- let s = class extends Qt {
609
+ function tr(e, t, n, r, i, a) {
610
+ let s = class extends tn {
611
611
  constructor() {
612
612
  super(e, n, i), this.$$p_d = t;
613
613
  }
@@ -635,7 +635,7 @@ function er(e, t, n, r, i, a) {
635
635
  }), e.element = /** @type {any} */
636
636
  s, s;
637
637
  }
638
- class tr {
638
+ class nr {
639
639
  /**
640
640
  * ### PRIVATE API
641
641
  *
@@ -654,7 +654,7 @@ class tr {
654
654
  $$set = void 0;
655
655
  /** @returns {void} */
656
656
  $destroy() {
657
- Jn(this, 1), this.$destroy = A;
657
+ Yn(this, 1), this.$destroy = A;
658
658
  }
659
659
  /**
660
660
  * @template {Extract<keyof Events, string>} K
@@ -676,22 +676,22 @@ class tr {
676
676
  * @returns {void}
677
677
  */
678
678
  $set(t) {
679
- this.$$set && !Pn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
679
+ this.$$set && !Ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
680
680
  }
681
681
  }
682
- const nr = "4";
683
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nr);
682
+ const rr = "4";
683
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rr);
684
684
  const j = [];
685
- function rr(e, t) {
685
+ function ir(e, t) {
686
686
  return {
687
- subscribe: Ne(e, t).subscribe
687
+ subscribe: De(e, t).subscribe
688
688
  };
689
689
  }
690
- function Ne(e, t = A) {
690
+ function De(e, t = A) {
691
691
  let n;
692
692
  const r = /* @__PURE__ */ new Set();
693
693
  function i(o) {
694
- if ($t(e, o) && (e = o, n)) {
694
+ if (jt(e, o) && (e = o, n)) {
695
695
  const c = !j.length;
696
696
  for (const l of r)
697
697
  l[1](), j.push(l, e);
@@ -718,7 +718,7 @@ function ne(e, t, n) {
718
718
  if (!i.every(Boolean))
719
719
  throw new Error("derived() expects stores as input, got a falsy value");
720
720
  const a = t.length < 2;
721
- return rr(n, (s, o) => {
721
+ return ir(n, (s, o) => {
722
722
  let c = !1;
723
723
  const l = [];
724
724
  let u = 0, d = A;
@@ -729,7 +729,7 @@ function ne(e, t, n) {
729
729
  const f = t(r ? l[0] : l, s, o);
730
730
  a ? s(f) : d = ge(f) ? f : A;
731
731
  }, g = i.map(
732
- (f, y) => Gt(
732
+ (f, y) => Vt(
733
733
  f,
734
734
  (x) => {
735
735
  l[y] = x, u &= ~(1 << y), c && h();
@@ -744,71 +744,71 @@ function ne(e, t, n) {
744
744
  };
745
745
  });
746
746
  }
747
- var Ia = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
748
- function ir(e) {
747
+ var Pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
748
+ function ar(e) {
749
749
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
750
750
  }
751
- var ar = function(t) {
752
- return sr(t) && !or(t);
751
+ var sr = function(t) {
752
+ return or(t) && !lr(t);
753
753
  };
754
- function sr(e) {
754
+ function or(e) {
755
755
  return !!e && typeof e == "object";
756
756
  }
757
- function or(e) {
757
+ function lr(e) {
758
758
  var t = Object.prototype.toString.call(e);
759
- return t === "[object RegExp]" || t === "[object Date]" || cr(e);
760
- }
761
- var lr = typeof Symbol == "function" && Symbol.for, ur = lr ? Symbol.for("react.element") : 60103;
762
- function cr(e) {
763
- return e.$$typeof === ur;
759
+ return t === "[object RegExp]" || t === "[object Date]" || dr(e);
764
760
  }
761
+ var ur = typeof Symbol == "function" && Symbol.for, cr = ur ? Symbol.for("react.element") : 60103;
765
762
  function dr(e) {
763
+ return e.$$typeof === cr;
764
+ }
765
+ function hr(e) {
766
766
  return Array.isArray(e) ? [] : {};
767
767
  }
768
768
  function he(e, t) {
769
- return t.clone !== !1 && t.isMergeableObject(e) ? J(dr(e), e, t) : e;
769
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(hr(e), e, t) : e;
770
770
  }
771
- function hr(e, t, n) {
771
+ function mr(e, t, n) {
772
772
  return e.concat(t).map(function(r) {
773
773
  return he(r, n);
774
774
  });
775
775
  }
776
- function mr(e, t) {
776
+ function fr(e, t) {
777
777
  if (!t.customMerge)
778
778
  return J;
779
779
  var n = t.customMerge(e);
780
780
  return typeof n == "function" ? n : J;
781
781
  }
782
- function fr(e) {
782
+ function gr(e) {
783
783
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
784
784
  return Object.propertyIsEnumerable.call(e, t);
785
785
  }) : [];
786
786
  }
787
- function gt(e) {
788
- return Object.keys(e).concat(fr(e));
787
+ function Et(e) {
788
+ return Object.keys(e).concat(gr(e));
789
789
  }
790
- function en(e, t) {
790
+ function nn(e, t) {
791
791
  try {
792
792
  return t in e;
793
793
  } catch {
794
794
  return !1;
795
795
  }
796
796
  }
797
- function gr(e, t) {
798
- return en(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
797
+ function pr(e, t) {
798
+ return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
799
799
  }
800
- function pr(e, t, n) {
800
+ function Er(e, t, n) {
801
801
  var r = {};
802
- return n.isMergeableObject(e) && gt(e).forEach(function(i) {
802
+ return n.isMergeableObject(e) && Et(e).forEach(function(i) {
803
803
  r[i] = he(e[i], n);
804
- }), gt(t).forEach(function(i) {
805
- gr(e, i) || (en(e, i) && n.isMergeableObject(t[i]) ? r[i] = mr(i, n)(e[i], t[i], n) : r[i] = he(t[i], n));
804
+ }), Et(t).forEach(function(i) {
805
+ pr(e, i) || (nn(e, i) && n.isMergeableObject(t[i]) ? r[i] = fr(i, n)(e[i], t[i], n) : r[i] = he(t[i], n));
806
806
  }), r;
807
807
  }
808
808
  function J(e, t, n) {
809
- n = n || {}, n.arrayMerge = n.arrayMerge || hr, n.isMergeableObject = n.isMergeableObject || ar, n.cloneUnlessOtherwiseSpecified = he;
809
+ n = n || {}, n.arrayMerge = n.arrayMerge || mr, n.isMergeableObject = n.isMergeableObject || sr, n.cloneUnlessOtherwiseSpecified = he;
810
810
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
811
- return a ? r ? n.arrayMerge(e, t, n) : pr(e, t, n) : he(t, n);
811
+ return a ? r ? n.arrayMerge(e, t, n) : Er(e, t, n) : he(t, n);
812
812
  }
813
813
  J.all = function(t, n) {
814
814
  if (!Array.isArray(t))
@@ -817,20 +817,20 @@ J.all = function(t, n) {
817
817
  return J(r, i, n);
818
818
  }, {});
819
819
  };
820
- var Er = J, br = Er;
821
- const yr = /* @__PURE__ */ ir(br);
822
- var Je = function(e, t) {
823
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
820
+ var br = J, yr = br;
821
+ const vr = /* @__PURE__ */ ar(yr);
822
+ var Ye = function(e, t) {
823
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
824
824
  n.__proto__ = r;
825
825
  } || function(n, r) {
826
826
  for (var i in r)
827
827
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
828
- }, Je(e, t);
828
+ }, Ye(e, t);
829
829
  };
830
- function De(e, t) {
830
+ function ze(e, t) {
831
831
  if (typeof t != "function" && t !== null)
832
832
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
833
- Je(e, t);
833
+ Ye(e, t);
834
834
  function n() {
835
835
  this.constructor = e;
836
836
  }
@@ -846,7 +846,7 @@ var P = function() {
846
846
  return t;
847
847
  }, P.apply(this, arguments);
848
848
  };
849
- function vr(e, t) {
849
+ function Fr(e, t) {
850
850
  var n = {};
851
851
  for (var r in e)
852
852
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -855,43 +855,43 @@ function vr(e, t) {
855
855
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
856
856
  return n;
857
857
  }
858
- function $e(e, t, n) {
858
+ function Ge(e, t, n) {
859
859
  if (n || arguments.length === 2)
860
860
  for (var r = 0, i = t.length, a; r < i; r++)
861
861
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
862
862
  return e.concat(a || Array.prototype.slice.call(t));
863
863
  }
864
- function Ge(e, t) {
865
- var n = t && t.cache ? t.cache : Sr, r = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
864
+ function je(e, t) {
865
+ var n = t && t.cache ? t.cache : Br, r = t && t.serializer ? t.serializer : wr, i = t && t.strategy ? t.strategy : kr;
866
866
  return i(e, {
867
867
  cache: n,
868
868
  serializer: r
869
869
  });
870
870
  }
871
- function Fr(e) {
871
+ function xr(e) {
872
872
  return e == null || typeof e == "number" || typeof e == "boolean";
873
873
  }
874
- function xr(e, t, n, r) {
875
- var i = Fr(r) ? r : n(r), a = t.get(i);
874
+ function _r(e, t, n, r) {
875
+ var i = xr(r) ? r : n(r), a = t.get(i);
876
876
  return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
877
877
  }
878
- function tn(e, t, n) {
878
+ function rn(e, t, n) {
879
879
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
880
880
  return typeof a > "u" && (a = e.apply(this, r), t.set(i, a)), a;
881
881
  }
882
- function nn(e, t, n, r, i) {
882
+ function an(e, t, n, r, i) {
883
883
  return n.bind(t, e, r, i);
884
884
  }
885
- function _r(e, t) {
886
- var n = e.length === 1 ? xr : tn;
887
- return nn(e, this, n, t.cache.create(), t.serializer);
888
- }
889
885
  function kr(e, t) {
890
- return nn(e, this, tn, t.cache.create(), t.serializer);
886
+ var n = e.length === 1 ? _r : rn;
887
+ return an(e, this, n, t.cache.create(), t.serializer);
888
+ }
889
+ function Tr(e, t) {
890
+ return an(e, this, rn, t.cache.create(), t.serializer);
891
891
  }
892
- var Tr = function() {
892
+ var wr = function() {
893
893
  return JSON.stringify(arguments);
894
- }, wr = (
894
+ }, Sr = (
895
895
  /** @class */
896
896
  function() {
897
897
  function e() {
@@ -903,12 +903,12 @@ var Tr = function() {
903
903
  this.cache[t] = n;
904
904
  }, e;
905
905
  }()
906
- ), Sr = {
906
+ ), Br = {
907
907
  create: function() {
908
- return new wr();
908
+ return new Sr();
909
909
  }
910
- }, je = {
911
- variadic: kr
910
+ }, Ve = {
911
+ variadic: Tr
912
912
  }, Pe = function() {
913
913
  return Pe = Object.assign || function(t) {
914
914
  for (var n, r = 1, i = arguments.length; r < i; r++) {
@@ -931,43 +931,43 @@ var Y;
931
931
  (function(e) {
932
932
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
933
933
  })(Y || (Y = {}));
934
- function pt(e) {
934
+ function bt(e) {
935
935
  return e.type === _.literal;
936
936
  }
937
- function Br(e) {
937
+ function Ar(e) {
938
938
  return e.type === _.argument;
939
939
  }
940
- function rn(e) {
940
+ function sn(e) {
941
941
  return e.type === _.number;
942
942
  }
943
- function an(e) {
943
+ function on(e) {
944
944
  return e.type === _.date;
945
945
  }
946
- function sn(e) {
946
+ function ln(e) {
947
947
  return e.type === _.time;
948
948
  }
949
- function on(e) {
949
+ function un(e) {
950
950
  return e.type === _.select;
951
951
  }
952
- function ln(e) {
952
+ function cn(e) {
953
953
  return e.type === _.plural;
954
954
  }
955
- function Ar(e) {
955
+ function Ir(e) {
956
956
  return e.type === _.pound;
957
957
  }
958
- function un(e) {
958
+ function dn(e) {
959
959
  return e.type === _.tag;
960
960
  }
961
- function cn(e) {
961
+ function hn(e) {
962
962
  return !!(e && typeof e == "object" && e.type === Y.number);
963
963
  }
964
- function Ye(e) {
964
+ function Qe(e) {
965
965
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
966
966
  }
967
- var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ir = /(?:[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;
968
- function Cr(e) {
967
+ var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cr = /(?:[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;
968
+ function Hr(e) {
969
969
  var t = {};
970
- return e.replace(Ir, function(n) {
970
+ return e.replace(Cr, function(n) {
971
971
  var r = n.length;
972
972
  switch (n[0]) {
973
973
  case "G":
@@ -1066,11 +1066,11 @@ var k = function() {
1066
1066
  return t;
1067
1067
  }, k.apply(this, arguments);
1068
1068
  };
1069
- var Hr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1070
- function Pr(e) {
1069
+ var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1070
+ function Lr(e) {
1071
1071
  if (e.length === 0)
1072
1072
  throw new Error("Number skeleton cannot be empty");
1073
- for (var t = e.split(Hr).filter(function(h) {
1073
+ for (var t = e.split(Pr).filter(function(h) {
1074
1074
  return h.length > 0;
1075
1075
  }), n = [], r = 0, i = t; r < i.length; r++) {
1076
1076
  var a = i[r], s = a.split("/");
@@ -1085,17 +1085,17 @@ function Pr(e) {
1085
1085
  }
1086
1086
  return n;
1087
1087
  }
1088
- function Lr(e) {
1088
+ function Or(e) {
1089
1089
  return e.replace(/^(.*?)-/, "");
1090
1090
  }
1091
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hn = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
1092
- function bt(e) {
1091
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fn = /^(@+)?(\+|#+)?[rs]?$/g, Mr = /(\*)(0+)|(#+)(0+)|(0+)/g, gn = /^(0+)$/;
1092
+ function vt(e) {
1093
1093
  var t = {};
1094
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hn, function(n, r, i) {
1094
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fn, function(n, r, i) {
1095
1095
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1096
1096
  }), t;
1097
1097
  }
1098
- function fn(e) {
1098
+ function pn(e) {
1099
1099
  switch (e) {
1100
1100
  case "sign-auto":
1101
1101
  return {
@@ -1135,7 +1135,7 @@ function fn(e) {
1135
1135
  };
1136
1136
  }
1137
1137
  }
1138
- function Mr(e) {
1138
+ function Nr(e) {
1139
1139
  var t;
1140
1140
  if (e[0] === "E" && e[1] === "E" ? (t = {
1141
1141
  notation: "engineering"
@@ -1143,17 +1143,17 @@ function Mr(e) {
1143
1143
  notation: "scientific"
1144
1144
  }, e = e.slice(1)), t) {
1145
1145
  var n = e.slice(0, 2);
1146
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
1146
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gn.test(e))
1147
1147
  throw new Error("Malformed concise eng/scientific notation");
1148
1148
  t.minimumIntegerDigits = e.length;
1149
1149
  }
1150
1150
  return t;
1151
1151
  }
1152
- function yt(e) {
1153
- var t = {}, n = fn(e);
1152
+ function Ft(e) {
1153
+ var t = {}, n = pn(e);
1154
1154
  return n || t;
1155
1155
  }
1156
- function Nr(e) {
1156
+ function Dr(e) {
1157
1157
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1158
1158
  var i = r[n];
1159
1159
  switch (i.stem) {
@@ -1177,7 +1177,7 @@ function Nr(e) {
1177
1177
  continue;
1178
1178
  case "measure-unit":
1179
1179
  case "unit":
1180
- t.style = "unit", t.unit = Lr(i.options[0]);
1180
+ t.style = "unit", t.unit = Or(i.options[0]);
1181
1181
  continue;
1182
1182
  case "compact-short":
1183
1183
  case "K":
@@ -1189,12 +1189,12 @@ function Nr(e) {
1189
1189
  continue;
1190
1190
  case "scientific":
1191
1191
  t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1192
- return k(k({}, c), yt(l));
1192
+ return k(k({}, c), Ft(l));
1193
1193
  }, {}));
1194
1194
  continue;
1195
1195
  case "engineering":
1196
1196
  t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1197
- return k(k({}, c), yt(l));
1197
+ return k(k({}, c), Ft(l));
1198
1198
  }, {}));
1199
1199
  continue;
1200
1200
  case "notation-simple":
@@ -1239,7 +1239,7 @@ function Nr(e) {
1239
1239
  case "integer-width":
1240
1240
  if (i.options.length > 1)
1241
1241
  throw new RangeError("integer-width stems only accept a single optional option");
1242
- i.options[0].replace(Or, function(c, l, u, d, h, g) {
1242
+ i.options[0].replace(Mr, function(c, l, u, d, h, g) {
1243
1243
  if (l)
1244
1244
  t.minimumIntegerDigits = u.length;
1245
1245
  else {
@@ -1252,27 +1252,27 @@ function Nr(e) {
1252
1252
  });
1253
1253
  continue;
1254
1254
  }
1255
- if (mn.test(i.stem)) {
1255
+ if (gn.test(i.stem)) {
1256
1256
  t.minimumIntegerDigits = i.stem.length;
1257
1257
  continue;
1258
1258
  }
1259
- if (Et.test(i.stem)) {
1259
+ if (yt.test(i.stem)) {
1260
1260
  if (i.options.length > 1)
1261
1261
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1262
- i.stem.replace(Et, function(c, l, u, d, h, g) {
1262
+ i.stem.replace(yt, function(c, l, u, d, h, g) {
1263
1263
  return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1264
1264
  });
1265
1265
  var a = i.options[0];
1266
- a === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = k(k({}, t), bt(a)));
1266
+ a === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = k(k({}, t), vt(a)));
1267
1267
  continue;
1268
1268
  }
1269
- if (hn.test(i.stem)) {
1270
- t = k(k({}, t), bt(i.stem));
1269
+ if (fn.test(i.stem)) {
1270
+ t = k(k({}, t), vt(i.stem));
1271
1271
  continue;
1272
1272
  }
1273
- var s = fn(i.stem);
1273
+ var s = pn(i.stem);
1274
1274
  s && (t = k(k({}, t), s));
1275
- var o = Mr(i.stem);
1275
+ var o = Nr(i.stem);
1276
1276
  o && (t = k(k({}, t), o));
1277
1277
  }
1278
1278
  return t;
@@ -2692,13 +2692,13 @@ var Te = {
2692
2692
  "h"
2693
2693
  ]
2694
2694
  };
2695
- function Dr(e, t) {
2695
+ function zr(e, t) {
2696
2696
  for (var n = "", r = 0; r < e.length; r++) {
2697
2697
  var i = e.charAt(r);
2698
2698
  if (i === "j") {
2699
2699
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2700
2700
  a++, r++;
2701
- var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), c = "a", l = zr(t);
2701
+ var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), c = "a", l = Rr(t);
2702
2702
  for ((l == "H" || l == "k") && (o = 0); o-- > 0; )
2703
2703
  n += c;
2704
2704
  for (; s-- > 0; )
@@ -2708,7 +2708,7 @@ function Dr(e, t) {
2708
2708
  }
2709
2709
  return n;
2710
2710
  }
2711
- function zr(e) {
2711
+ function Rr(e) {
2712
2712
  var t = e.hourCycle;
2713
2713
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2714
2714
  e.hourCycles && // @ts-ignore
@@ -2730,20 +2730,20 @@ function zr(e) {
2730
2730
  var i = Te[r || ""] || Te[n || ""] || Te["".concat(n, "-001")] || Te["001"];
2731
2731
  return i[0];
2732
2732
  }
2733
- var Ve, Rr = new RegExp("^".concat(dn.source, "*")), Ur = new RegExp("".concat(dn.source, "*$"));
2733
+ var We, Ur = new RegExp("^".concat(mn.source, "*")), $r = new RegExp("".concat(mn.source, "*$"));
2734
2734
  function F(e, t) {
2735
2735
  return { start: e, end: t };
2736
2736
  }
2737
- var $r = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, jr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, Wr = !!String.prototype.trimStart, qr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, Zr = Xr ? Number.isSafeInteger : function(e) {
2737
+ var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, Wr = !!String.prototype.codePointAt, qr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Kr = Zr ? Number.isSafeInteger : function(e) {
2738
2738
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2739
- }, Qe = !0;
2739
+ }, et = !0;
2740
2740
  try {
2741
- var Kr = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
- Qe = ((Ve = Kr.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
2741
+ var Jr = bn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
+ et = ((We = Jr.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
2743
2743
  } catch {
2744
- Qe = !1;
2744
+ et = !1;
2745
2745
  }
2746
- var vt = $r ? (
2746
+ var xt = Gr ? (
2747
2747
  // Native
2748
2748
  function(t, n, r) {
2749
2749
  return t.startsWith(n, r);
@@ -2753,7 +2753,7 @@ var vt = $r ? (
2753
2753
  function(t, n, r) {
2754
2754
  return t.slice(r, r + n.length) === n;
2755
2755
  }
2756
- ), et = Gr ? String.fromCodePoint : (
2756
+ ), tt = jr ? String.fromCodePoint : (
2757
2757
  // IE11
2758
2758
  function() {
2759
2759
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2765,9 +2765,9 @@ var vt = $r ? (
2765
2765
  }
2766
2766
  return r;
2767
2767
  }
2768
- ), Ft = (
2768
+ ), _t = (
2769
2769
  // native
2770
- jr ? Object.fromEntries : (
2770
+ Vr ? Object.fromEntries : (
2771
2771
  // Ponyfill
2772
2772
  function(t) {
2773
2773
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2777,7 +2777,7 @@ var vt = $r ? (
2777
2777
  return n;
2778
2778
  }
2779
2779
  )
2780
- ), gn = Vr ? (
2780
+ ), En = Wr ? (
2781
2781
  // Native
2782
2782
  function(t, n) {
2783
2783
  return t.codePointAt(n);
@@ -2791,7 +2791,7 @@ var vt = $r ? (
2791
2791
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2792
2792
  }
2793
2793
  }
2794
- ), Jr = Wr ? (
2794
+ ), Yr = qr ? (
2795
2795
  // Native
2796
2796
  function(t) {
2797
2797
  return t.trimStart();
@@ -2799,9 +2799,9 @@ var vt = $r ? (
2799
2799
  ) : (
2800
2800
  // Ponyfill
2801
2801
  function(t) {
2802
- return t.replace(Rr, "");
2802
+ return t.replace(Ur, "");
2803
2803
  }
2804
- ), Yr = qr ? (
2804
+ ), Qr = Xr ? (
2805
2805
  // Native
2806
2806
  function(t) {
2807
2807
  return t.trimEnd();
@@ -2809,32 +2809,32 @@ var vt = $r ? (
2809
2809
  ) : (
2810
2810
  // Ponyfill
2811
2811
  function(t) {
2812
- return t.replace(Ur, "");
2812
+ return t.replace($r, "");
2813
2813
  }
2814
2814
  );
2815
- function pn(e, t) {
2815
+ function bn(e, t) {
2816
2816
  return new RegExp(e, t);
2817
2817
  }
2818
- var tt;
2819
- if (Qe) {
2820
- var xt = pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2821
- tt = function(t, n) {
2818
+ var nt;
2819
+ if (et) {
2820
+ var kt = bn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2821
+ nt = function(t, n) {
2822
2822
  var r;
2823
- xt.lastIndex = n;
2824
- var i = xt.exec(t);
2823
+ kt.lastIndex = n;
2824
+ var i = kt.exec(t);
2825
2825
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2826
2826
  };
2827
2827
  } else
2828
- tt = function(t, n) {
2828
+ nt = function(t, n) {
2829
2829
  for (var r = []; ; ) {
2830
- var i = gn(t, n);
2831
- if (i === void 0 || En(i) || ni(i))
2830
+ var i = En(t, n);
2831
+ if (i === void 0 || yn(i) || ri(i))
2832
2832
  break;
2833
2833
  r.push(i), n += i >= 65536 ? 2 : 1;
2834
2834
  }
2835
- return et.apply(void 0, r);
2835
+ return tt.apply(void 0, r);
2836
2836
  };
2837
- var Qr = (
2837
+ var ei = (
2838
2838
  /** @class */
2839
2839
  function() {
2840
2840
  function e(t, n) {
@@ -2865,7 +2865,7 @@ var Qr = (
2865
2865
  if (r)
2866
2866
  break;
2867
2867
  return this.error(b.UNMATCHED_CLOSING_TAG, F(this.clonePosition(), this.clonePosition()));
2868
- } else if (a === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
2868
+ } else if (a === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2869
2869
  var s = this.parseTag(t, n);
2870
2870
  if (s.err)
2871
2871
  return s;
@@ -2898,7 +2898,7 @@ var Qr = (
2898
2898
  return a;
2899
2899
  var s = a.val, o = this.clonePosition();
2900
2900
  if (this.bumpIf("</")) {
2901
- if (this.isEOF() || !nt(this.char()))
2901
+ if (this.isEOF() || !rt(this.char()))
2902
2902
  return this.error(b.INVALID_TAG, F(o, this.clonePosition()));
2903
2903
  var c = this.clonePosition(), l = this.parseTagName();
2904
2904
  return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, F(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2916,7 +2916,7 @@ var Qr = (
2916
2916
  return this.error(b.INVALID_TAG, F(r, this.clonePosition()));
2917
2917
  }, e.prototype.parseTagName = function() {
2918
2918
  var t = this.offset();
2919
- for (this.bump(); !this.isEOF() && ti(this.char()); )
2919
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
2920
2920
  this.bump();
2921
2921
  return this.message.slice(t, this.offset());
2922
2922
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2945,7 +2945,7 @@ var Qr = (
2945
2945
  };
2946
2946
  }, e.prototype.tryParseLeftAngleBracket = function() {
2947
2947
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2948
- !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2948
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
2949
2949
  }, e.prototype.tryParseQuote = function(t) {
2950
2950
  if (this.isEOF() || this.char() !== 39)
2951
2951
  return null;
@@ -2979,12 +2979,12 @@ var Qr = (
2979
2979
  n.push(r);
2980
2980
  this.bump();
2981
2981
  }
2982
- return et.apply(void 0, n);
2982
+ return tt.apply(void 0, n);
2983
2983
  }, e.prototype.tryParseUnquoted = function(t, n) {
2984
2984
  if (this.isEOF())
2985
2985
  return null;
2986
2986
  var r = this.char();
2987
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), et(r));
2987
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), tt(r));
2988
2988
  }, e.prototype.parseArgument = function(t, n) {
2989
2989
  var r = this.clonePosition();
2990
2990
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3013,7 +3013,7 @@ var Qr = (
3013
3013
  return this.error(b.MALFORMED_ARGUMENT, F(r, this.clonePosition()));
3014
3014
  }
3015
3015
  }, e.prototype.parseIdentifierIfPossible = function() {
3016
- var t = this.clonePosition(), n = this.offset(), r = tt(this.message, n), i = n + r.length;
3016
+ var t = this.clonePosition(), n = this.offset(), r = nt(this.message, n), i = n + r.length;
3017
3017
  this.bumpTo(i);
3018
3018
  var a = this.clonePosition(), s = F(t, a);
3019
3019
  return { value: r, location: s };
@@ -3032,7 +3032,7 @@ var Qr = (
3032
3032
  var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3033
3033
  if (d.err)
3034
3034
  return d;
3035
- var h = Yr(d.val);
3035
+ var h = Qr(d.val);
3036
3036
  if (h.length === 0)
3037
3037
  return this.error(b.EXPECT_ARGUMENT_STYLE, F(this.clonePosition(), this.clonePosition()));
3038
3038
  var g = F(u, this.clonePosition());
@@ -3042,8 +3042,8 @@ var Qr = (
3042
3042
  if (f.err)
3043
3043
  return f;
3044
3044
  var y = F(i, this.clonePosition());
3045
- if (l && vt(l?.style, "::", 0)) {
3046
- var x = Jr(l.style.slice(2));
3045
+ if (l && xt(l?.style, "::", 0)) {
3046
+ var x = Yr(l.style.slice(2));
3047
3047
  if (o === "number") {
3048
3048
  var d = this.parseNumberSkeletonFromString(x, l.styleLocation);
3049
3049
  return d.err ? d : {
@@ -3054,12 +3054,12 @@ var Qr = (
3054
3054
  if (x.length === 0)
3055
3055
  return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3056
3056
  var E = x;
3057
- this.locale && (E = Dr(x, this.locale));
3057
+ this.locale && (E = zr(x, this.locale));
3058
3058
  var h = {
3059
3059
  type: Y.dateTime,
3060
3060
  pattern: E,
3061
3061
  location: l.styleLocation,
3062
- parsedOptions: this.shouldParseSkeletons ? Cr(E) : {}
3062
+ parsedOptions: this.shouldParseSkeletons ? Hr(E) : {}
3063
3063
  }, m = o === "date" ? _.date : _.time;
3064
3064
  return {
3065
3065
  val: { type: m, value: r, location: y, style: h },
@@ -3105,7 +3105,7 @@ var Qr = (
3105
3105
  val: {
3106
3106
  type: _.select,
3107
3107
  value: r,
3108
- options: Ft($.val),
3108
+ options: _t($.val),
3109
3109
  location: Ee
3110
3110
  },
3111
3111
  err: null
@@ -3113,7 +3113,7 @@ var Qr = (
3113
3113
  val: {
3114
3114
  type: _.plural,
3115
3115
  value: r,
3116
- options: Ft($.val),
3116
+ options: _t($.val),
3117
3117
  offset: L,
3118
3118
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3119
3119
  location: Ee
@@ -3164,7 +3164,7 @@ var Qr = (
3164
3164
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3165
3165
  var r = [];
3166
3166
  try {
3167
- r = Pr(t);
3167
+ r = Lr(t);
3168
3168
  } catch {
3169
3169
  return this.error(b.INVALID_NUMBER_SKELETON, n);
3170
3170
  }
@@ -3173,7 +3173,7 @@ var Qr = (
3173
3173
  type: Y.number,
3174
3174
  tokens: r,
3175
3175
  location: n,
3176
- parsedOptions: this.shouldParseSkeletons ? Nr(r) : {}
3176
+ parsedOptions: this.shouldParseSkeletons ? Dr(r) : {}
3177
3177
  },
3178
3178
  err: null
3179
3179
  };
@@ -3221,7 +3221,7 @@ var Qr = (
3221
3221
  break;
3222
3222
  }
3223
3223
  var c = F(i, this.clonePosition());
3224
- return a ? (s *= r, Zr(s) ? { val: s, err: null } : this.error(n, c)) : this.error(t, c);
3224
+ return a ? (s *= r, Kr(s) ? { val: s, err: null } : this.error(n, c)) : this.error(t, c);
3225
3225
  }, e.prototype.offset = function() {
3226
3226
  return this.position.offset;
3227
3227
  }, e.prototype.isEOF = function() {
@@ -3236,7 +3236,7 @@ var Qr = (
3236
3236
  var t = this.position.offset;
3237
3237
  if (t >= this.message.length)
3238
3238
  throw Error("out of bound");
3239
- var n = gn(this.message, t);
3239
+ var n = En(this.message, t);
3240
3240
  if (n === void 0)
3241
3241
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3242
3242
  return n;
@@ -3255,7 +3255,7 @@ var Qr = (
3255
3255
  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);
3256
3256
  }
3257
3257
  }, e.prototype.bumpIf = function(t) {
3258
- if (vt(this.message, t, this.offset())) {
3258
+ if (xt(this.message, t, this.offset())) {
3259
3259
  for (var n = 0; n < t.length; n++)
3260
3260
  this.bump();
3261
3261
  return !0;
@@ -3277,7 +3277,7 @@ var Qr = (
3277
3277
  break;
3278
3278
  }
3279
3279
  }, e.prototype.bumpSpace = function() {
3280
- for (; !this.isEOF() && En(this.char()); )
3280
+ for (; !this.isEOF() && yn(this.char()); )
3281
3281
  this.bump();
3282
3282
  }, e.prototype.peek = function() {
3283
3283
  if (this.isEOF())
@@ -3287,47 +3287,47 @@ var Qr = (
3287
3287
  }, e;
3288
3288
  }()
3289
3289
  );
3290
- function nt(e) {
3290
+ function rt(e) {
3291
3291
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3292
3292
  }
3293
- function ei(e) {
3294
- return nt(e) || e === 47;
3295
- }
3296
3293
  function ti(e) {
3294
+ return rt(e) || e === 47;
3295
+ }
3296
+ function ni(e) {
3297
3297
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3298
3298
  }
3299
- function En(e) {
3299
+ function yn(e) {
3300
3300
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3301
3301
  }
3302
- function ni(e) {
3302
+ function ri(e) {
3303
3303
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3304
3304
  }
3305
- function rt(e) {
3305
+ function it(e) {
3306
3306
  e.forEach(function(t) {
3307
- if (delete t.location, on(t) || ln(t))
3307
+ if (delete t.location, un(t) || cn(t))
3308
3308
  for (var n in t.options)
3309
- delete t.options[n].location, rt(t.options[n].value);
3309
+ delete t.options[n].location, it(t.options[n].value);
3310
3310
  else
3311
- rn(t) && cn(t.style) || (an(t) || sn(t)) && Ye(t.style) ? delete t.style.location : un(t) && rt(t.children);
3311
+ sn(t) && hn(t.style) || (on(t) || ln(t)) && Qe(t.style) ? delete t.style.location : dn(t) && it(t.children);
3312
3312
  });
3313
3313
  }
3314
- function ri(e, t) {
3314
+ function ii(e, t) {
3315
3315
  t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3316
- var n = new Qr(e, t).parse();
3316
+ var n = new ei(e, t).parse();
3317
3317
  if (n.err) {
3318
3318
  var r = SyntaxError(b[n.err.kind]);
3319
3319
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3320
3320
  }
3321
- return t?.captureLocation || rt(n.val), n.val;
3321
+ return t?.captureLocation || it(n.val), n.val;
3322
3322
  }
3323
3323
  var Q;
3324
3324
  (function(e) {
3325
3325
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3326
3326
  })(Q || (Q = {}));
3327
- var ze = (
3327
+ var Re = (
3328
3328
  /** @class */
3329
3329
  function(e) {
3330
- De(t, e);
3330
+ ze(t, e);
3331
3331
  function t(n, r, i) {
3332
3332
  var a = e.call(this, n) || this;
3333
3333
  return a.code = r, a.originalMessage = i, a;
@@ -3336,48 +3336,48 @@ var ze = (
3336
3336
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3337
3337
  }, t;
3338
3338
  }(Error)
3339
- ), _t = (
3339
+ ), Tt = (
3340
3340
  /** @class */
3341
3341
  function(e) {
3342
- De(t, e);
3342
+ ze(t, e);
3343
3343
  function t(n, r, i, a) {
3344
3344
  return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, a) || this;
3345
3345
  }
3346
3346
  return t;
3347
- }(ze)
3348
- ), ii = (
3347
+ }(Re)
3348
+ ), ai = (
3349
3349
  /** @class */
3350
3350
  function(e) {
3351
- De(t, e);
3351
+ ze(t, e);
3352
3352
  function t(n, r, i) {
3353
3353
  return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Q.INVALID_VALUE, i) || this;
3354
3354
  }
3355
3355
  return t;
3356
- }(ze)
3357
- ), ai = (
3356
+ }(Re)
3357
+ ), si = (
3358
3358
  /** @class */
3359
3359
  function(e) {
3360
- De(t, e);
3360
+ ze(t, e);
3361
3361
  function t(n, r) {
3362
3362
  return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Q.MISSING_VALUE, r) || this;
3363
3363
  }
3364
3364
  return t;
3365
- }(ze)
3365
+ }(Re)
3366
3366
  ), w;
3367
3367
  (function(e) {
3368
3368
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3369
3369
  })(w || (w = {}));
3370
- function si(e) {
3370
+ function oi(e) {
3371
3371
  return e.length < 2 ? e : e.reduce(function(t, n) {
3372
3372
  var r = t[t.length - 1];
3373
3373
  return !r || r.type !== w.literal || n.type !== w.literal ? t.push(n) : r.value += n.value, t;
3374
3374
  }, []);
3375
3375
  }
3376
- function oi(e) {
3376
+ function li(e) {
3377
3377
  return typeof e == "function";
3378
3378
  }
3379
3379
  function Be(e, t, n, r, i, a, s) {
3380
- if (e.length === 1 && pt(e[0]))
3380
+ if (e.length === 1 && bt(e[0]))
3381
3381
  return [
3382
3382
  {
3383
3383
  type: w.literal,
@@ -3386,14 +3386,14 @@ function Be(e, t, n, r, i, a, s) {
3386
3386
  ];
3387
3387
  for (var o = [], c = 0, l = e; c < l.length; c++) {
3388
3388
  var u = l[c];
3389
- if (pt(u)) {
3389
+ if (bt(u)) {
3390
3390
  o.push({
3391
3391
  type: w.literal,
3392
3392
  value: u.value
3393
3393
  });
3394
3394
  continue;
3395
3395
  }
3396
- if (Ar(u)) {
3396
+ if (Ir(u)) {
3397
3397
  typeof a == "number" && o.push({
3398
3398
  type: w.literal,
3399
3399
  value: n.getNumberFormat(t).format(a)
@@ -3402,43 +3402,43 @@ function Be(e, t, n, r, i, a, s) {
3402
3402
  }
3403
3403
  var d = u.value;
3404
3404
  if (!(i && d in i))
3405
- throw new ai(d, s);
3405
+ throw new si(d, s);
3406
3406
  var h = i[d];
3407
- if (Br(u)) {
3407
+ if (Ar(u)) {
3408
3408
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), o.push({
3409
3409
  type: typeof h == "string" ? w.literal : w.object,
3410
3410
  value: h
3411
3411
  });
3412
3412
  continue;
3413
3413
  }
3414
- if (an(u)) {
3415
- var g = typeof u.style == "string" ? r.date[u.style] : Ye(u.style) ? u.style.parsedOptions : void 0;
3414
+ if (on(u)) {
3415
+ var g = typeof u.style == "string" ? r.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3416
3416
  o.push({
3417
3417
  type: w.literal,
3418
3418
  value: n.getDateTimeFormat(t, g).format(h)
3419
3419
  });
3420
3420
  continue;
3421
3421
  }
3422
- if (sn(u)) {
3423
- var g = typeof u.style == "string" ? r.time[u.style] : Ye(u.style) ? u.style.parsedOptions : r.time.medium;
3422
+ if (ln(u)) {
3423
+ var g = typeof u.style == "string" ? r.time[u.style] : Qe(u.style) ? u.style.parsedOptions : r.time.medium;
3424
3424
  o.push({
3425
3425
  type: w.literal,
3426
3426
  value: n.getDateTimeFormat(t, g).format(h)
3427
3427
  });
3428
3428
  continue;
3429
3429
  }
3430
- if (rn(u)) {
3431
- var g = typeof u.style == "string" ? r.number[u.style] : cn(u.style) ? u.style.parsedOptions : void 0;
3430
+ if (sn(u)) {
3431
+ var g = typeof u.style == "string" ? r.number[u.style] : hn(u.style) ? u.style.parsedOptions : void 0;
3432
3432
  g && g.scale && (h = h * (g.scale || 1)), o.push({
3433
3433
  type: w.literal,
3434
3434
  value: n.getNumberFormat(t, g).format(h)
3435
3435
  });
3436
3436
  continue;
3437
3437
  }
3438
- if (un(u)) {
3438
+ if (dn(u)) {
3439
3439
  var f = u.children, y = u.value, x = i[y];
3440
- if (!oi(x))
3441
- throw new ii(y, "function", s);
3440
+ if (!li(x))
3441
+ throw new ai(y, "function", s);
3442
3442
  var E = Be(f, t, n, r, i, a), m = x(E.map(function(L) {
3443
3443
  return L.value;
3444
3444
  }));
@@ -3449,42 +3449,42 @@ function Be(e, t, n, r, i, a, s) {
3449
3449
  };
3450
3450
  }));
3451
3451
  }
3452
- if (on(u)) {
3452
+ if (un(u)) {
3453
3453
  var v = u.options[h] || u.options.other;
3454
3454
  if (!v)
3455
- throw new _t(u.value, h, Object.keys(u.options), s);
3455
+ throw new Tt(u.value, h, Object.keys(u.options), s);
3456
3456
  o.push.apply(o, Be(v.value, t, n, r, i));
3457
3457
  continue;
3458
3458
  }
3459
- if (ln(u)) {
3459
+ if (cn(u)) {
3460
3460
  var v = u.options["=".concat(h)];
3461
3461
  if (!v) {
3462
3462
  if (!Intl.PluralRules)
3463
- throw new ze(`Intl.PluralRules is not available in this environment.
3463
+ throw new Re(`Intl.PluralRules is not available in this environment.
3464
3464
  Try polyfilling it using "@formatjs/intl-pluralrules"
3465
3465
  `, Q.MISSING_INTL_API, s);
3466
3466
  var C = n.getPluralRules(t, { type: u.pluralType }).select(h - (u.offset || 0));
3467
3467
  v = u.options[C] || u.options.other;
3468
3468
  }
3469
3469
  if (!v)
3470
- throw new _t(u.value, h, Object.keys(u.options), s);
3470
+ throw new Tt(u.value, h, Object.keys(u.options), s);
3471
3471
  o.push.apply(o, Be(v.value, t, n, r, i, h - (u.offset || 0)));
3472
3472
  continue;
3473
3473
  }
3474
3474
  }
3475
- return si(o);
3475
+ return oi(o);
3476
3476
  }
3477
- function li(e, t) {
3477
+ function ui(e, t) {
3478
3478
  return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3479
3479
  return n[r] = P(P({}, e[r]), t[r] || {}), n;
3480
3480
  }, {})) : e;
3481
3481
  }
3482
- function ui(e, t) {
3482
+ function ci(e, t) {
3483
3483
  return t ? Object.keys(e).reduce(function(n, r) {
3484
- return n[r] = li(e[r], t[r]), n;
3484
+ return n[r] = ui(e[r], t[r]), n;
3485
3485
  }, P({}, e)) : e;
3486
3486
  }
3487
- function We(e) {
3487
+ function qe(e) {
3488
3488
  return {
3489
3489
  create: function() {
3490
3490
  return {
@@ -3498,39 +3498,39 @@ function We(e) {
3498
3498
  }
3499
3499
  };
3500
3500
  }
3501
- function ci(e) {
3501
+ function di(e) {
3502
3502
  return e === void 0 && (e = {
3503
3503
  number: {},
3504
3504
  dateTime: {},
3505
3505
  pluralRules: {}
3506
3506
  }), {
3507
- getNumberFormat: Ge(function() {
3507
+ getNumberFormat: je(function() {
3508
3508
  for (var t, n = [], r = 0; r < arguments.length; r++)
3509
3509
  n[r] = arguments[r];
3510
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], n, !1)))();
3510
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], n, !1)))();
3511
3511
  }, {
3512
- cache: We(e.number),
3513
- strategy: je.variadic
3512
+ cache: qe(e.number),
3513
+ strategy: Ve.variadic
3514
3514
  }),
3515
- getDateTimeFormat: Ge(function() {
3515
+ getDateTimeFormat: je(function() {
3516
3516
  for (var t, n = [], r = 0; r < arguments.length; r++)
3517
3517
  n[r] = arguments[r];
3518
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], n, !1)))();
3518
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], n, !1)))();
3519
3519
  }, {
3520
- cache: We(e.dateTime),
3521
- strategy: je.variadic
3520
+ cache: qe(e.dateTime),
3521
+ strategy: Ve.variadic
3522
3522
  }),
3523
- getPluralRules: Ge(function() {
3523
+ getPluralRules: je(function() {
3524
3524
  for (var t, n = [], r = 0; r < arguments.length; r++)
3525
3525
  n[r] = arguments[r];
3526
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], n, !1)))();
3526
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], n, !1)))();
3527
3527
  }, {
3528
- cache: We(e.pluralRules),
3529
- strategy: je.variadic
3528
+ cache: qe(e.pluralRules),
3529
+ strategy: Ve.variadic
3530
3530
  })
3531
3531
  };
3532
3532
  }
3533
- var bn = (
3533
+ var vn = (
3534
3534
  /** @class */
3535
3535
  function() {
3536
3536
  function e(t, n, r, i) {
@@ -3562,13 +3562,13 @@ var bn = (
3562
3562
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3563
3563
  var s = i || {};
3564
3564
  s.formatters;
3565
- var o = vr(s, ["formatters"]);
3565
+ var o = Fr(s, ["formatters"]);
3566
3566
  this.ast = e.__parse(t, P(P({}, o), { locale: this.resolvedLocale }));
3567
3567
  } else
3568
3568
  this.ast = t;
3569
3569
  if (!Array.isArray(this.ast))
3570
3570
  throw new TypeError("A message must be provided as a String or AST.");
3571
- this.formats = ui(e.formats, r), this.formatters = i && i.formatters || ci(this.formatterCache);
3571
+ this.formats = ci(e.formats, r), this.formatters = i && i.formatters || di(this.formatterCache);
3572
3572
  }
3573
3573
  return Object.defineProperty(e, "defaultLocale", {
3574
3574
  get: function() {
@@ -3581,7 +3581,7 @@ var bn = (
3581
3581
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3582
3582
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3583
3583
  }
3584
- }, e.__parse = ri, e.formats = {
3584
+ }, e.__parse = ii, e.formats = {
3585
3585
  number: {
3586
3586
  integer: {
3587
3587
  maximumFractionDigits: 0
@@ -3642,7 +3642,7 @@ var bn = (
3642
3642
  }, e;
3643
3643
  }()
3644
3644
  );
3645
- function di(e, t) {
3645
+ function hi(e, t) {
3646
3646
  if (t == null)
3647
3647
  return;
3648
3648
  if (t in e)
@@ -3663,60 +3663,60 @@ function di(e, t) {
3663
3663
  r = void 0;
3664
3664
  return r;
3665
3665
  }
3666
- const N = {}, hi = (e, t, n) => n && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = n), n), yn = (e, t) => {
3666
+ const N = {}, mi = (e, t, n) => n && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = n), n), Fn = (e, t) => {
3667
3667
  if (t == null)
3668
3668
  return;
3669
3669
  if (t in N && e in N[t])
3670
3670
  return N[t][e];
3671
3671
  const n = pe(t);
3672
3672
  for (let r = 0; r < n.length; r++) {
3673
- const i = n[r], a = fi(i, e);
3673
+ const i = n[r], a = gi(i, e);
3674
3674
  if (a)
3675
- return hi(e, t, a);
3675
+ return mi(e, t, a);
3676
3676
  }
3677
3677
  };
3678
- let lt;
3679
- const re = Ne({});
3680
- function mi(e) {
3681
- return lt[e] || null;
3678
+ let ut;
3679
+ const re = De({});
3680
+ function fi(e) {
3681
+ return ut[e] || null;
3682
3682
  }
3683
- function vn(e) {
3684
- return e in lt;
3683
+ function xn(e) {
3684
+ return e in ut;
3685
3685
  }
3686
- function fi(e, t) {
3687
- if (!vn(e))
3686
+ function gi(e, t) {
3687
+ if (!xn(e))
3688
3688
  return null;
3689
- const n = mi(e);
3690
- return di(n, t);
3689
+ const n = fi(e);
3690
+ return hi(n, t);
3691
3691
  }
3692
- function gi(e) {
3692
+ function pi(e) {
3693
3693
  if (e == null)
3694
3694
  return;
3695
3695
  const t = pe(e);
3696
3696
  for (let n = 0; n < t.length; n++) {
3697
3697
  const r = t[n];
3698
- if (vn(r))
3698
+ if (xn(r))
3699
3699
  return r;
3700
3700
  }
3701
3701
  }
3702
- function Fn(e, ...t) {
3703
- delete N[e], re.update((n) => (n[e] = yr.all([n[e] || {}, ...t]), n));
3702
+ function _n(e, ...t) {
3703
+ delete N[e], re.update((n) => (n[e] = vr.all([n[e] || {}, ...t]), n));
3704
3704
  }
3705
3705
  ne(
3706
3706
  [re],
3707
3707
  ([e]) => Object.keys(e)
3708
3708
  );
3709
- re.subscribe((e) => lt = e);
3709
+ re.subscribe((e) => ut = e);
3710
3710
  const Ae = {};
3711
- function pi(e, t) {
3711
+ function Ei(e, t) {
3712
3712
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
3713
3713
  }
3714
- function xn(e) {
3714
+ function kn(e) {
3715
3715
  return Ae[e];
3716
3716
  }
3717
- function Ei(e) {
3717
+ function bi(e) {
3718
3718
  return pe(e).map((t) => {
3719
- const n = xn(t);
3719
+ const n = kn(t);
3720
3720
  return [t, n ? [...n] : []];
3721
3721
  }).filter(([, t]) => t.length > 0);
3722
3722
  }
@@ -3724,40 +3724,40 @@ function Le(e) {
3724
3724
  return e == null ? !1 : pe(e).some(
3725
3725
  (t) => {
3726
3726
  var n;
3727
- return (n = xn(t)) == null ? void 0 : n.size;
3727
+ return (n = kn(t)) == null ? void 0 : n.size;
3728
3728
  }
3729
3729
  );
3730
3730
  }
3731
- function bi(e, t) {
3731
+ function yi(e, t) {
3732
3732
  return Promise.all(
3733
- t.map((r) => (pi(e, r), r().then((i) => i.default || i)))
3734
- ).then((r) => Fn(e, ...r));
3733
+ t.map((r) => (Ei(e, r), r().then((i) => i.default || i)))
3734
+ ).then((r) => _n(e, ...r));
3735
3735
  }
3736
3736
  const se = {};
3737
- function _n(e) {
3737
+ function Tn(e) {
3738
3738
  if (!Le(e))
3739
3739
  return e in se ? se[e] : Promise.resolve();
3740
- const t = Ei(e);
3740
+ const t = bi(e);
3741
3741
  return se[e] = Promise.all(
3742
3742
  t.map(
3743
- ([n, r]) => bi(n, r)
3743
+ ([n, r]) => yi(n, r)
3744
3744
  )
3745
3745
  ).then(() => {
3746
3746
  if (Le(e))
3747
- return _n(e);
3747
+ return Tn(e);
3748
3748
  delete se[e];
3749
3749
  }), se[e];
3750
3750
  }
3751
- var kt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, Fi = (e, t) => {
3751
+ var wt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, xi = (e, t) => {
3752
3752
  var n = {};
3753
3753
  for (var r in e)
3754
- yi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3755
- if (e != null && kt)
3756
- for (var r of kt(e))
3757
- t.indexOf(r) < 0 && vi.call(e, r) && (n[r] = e[r]);
3754
+ vi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3755
+ if (e != null && wt)
3756
+ for (var r of wt(e))
3757
+ t.indexOf(r) < 0 && Fi.call(e, r) && (n[r] = e[r]);
3758
3758
  return n;
3759
3759
  };
3760
- const xi = {
3760
+ const _i = {
3761
3761
  number: {
3762
3762
  scientific: { notation: "scientific" },
3763
3763
  engineering: { notation: "engineering" },
@@ -3787,7 +3787,7 @@ const xi = {
3787
3787
  }
3788
3788
  }
3789
3789
  };
3790
- function _i({ locale: e, id: t }) {
3790
+ function ki({ locale: e, id: t }) {
3791
3791
  console.warn(
3792
3792
  `[svelte-i18n] The message "${t}" was not found in "${pe(
3793
3793
  e
@@ -3796,93 +3796,93 @@ function _i({ locale: e, id: t }) {
3796
3796
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3797
3797
  );
3798
3798
  }
3799
- const ki = {
3799
+ const Ti = {
3800
3800
  fallbackLocale: null,
3801
3801
  loadingDelay: 200,
3802
- formats: xi,
3802
+ formats: _i,
3803
3803
  warnOnMissingMessages: !0,
3804
3804
  handleMissingMessage: void 0,
3805
3805
  ignoreTag: !0
3806
- }, le = ki;
3806
+ }, le = Ti;
3807
3807
  function ee() {
3808
3808
  return le;
3809
3809
  }
3810
- function Ti(e) {
3811
- const t = e, { formats: n } = t, r = Fi(t, ["formats"]);
3810
+ function wi(e) {
3811
+ const t = e, { formats: n } = t, r = xi(t, ["formats"]);
3812
3812
  let i = e.fallbackLocale;
3813
3813
  if (e.initialLocale)
3814
3814
  try {
3815
- bn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3815
+ vn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3816
3816
  } catch {
3817
3817
  console.warn(
3818
3818
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3819
3819
  );
3820
3820
  }
3821
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = _i : console.warn(
3821
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = ki : console.warn(
3822
3822
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3823
3823
  )), Object.assign(le, r, { initialLocale: i }), n && ("number" in n && Object.assign(le.formats.number, n.number), "date" in n && Object.assign(le.formats.date, n.date), "time" in n && Object.assign(le.formats.time, n.time)), U.set(i);
3824
3824
  }
3825
- const qe = Ne(!1);
3826
- var wi = Object.defineProperty, Si = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, wt = (e, t, n) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ci = (e, t) => {
3825
+ const Xe = De(!1);
3826
+ var Si = Object.defineProperty, Bi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Bt = (e, t, n) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Hi = (e, t) => {
3827
3827
  for (var n in t || (t = {}))
3828
- Ai.call(t, n) && wt(e, n, t[n]);
3829
- if (Tt)
3830
- for (var n of Tt(t))
3831
- Ii.call(t, n) && wt(e, n, t[n]);
3828
+ Ii.call(t, n) && Bt(e, n, t[n]);
3829
+ if (St)
3830
+ for (var n of St(t))
3831
+ Ci.call(t, n) && Bt(e, n, t[n]);
3832
3832
  return e;
3833
- }, Hi = (e, t) => Si(e, Bi(t));
3834
- let it;
3835
- const Oe = Ne(null);
3836
- function St(e) {
3833
+ }, Pi = (e, t) => Bi(e, Ai(t));
3834
+ let at;
3835
+ const Oe = De(null);
3836
+ function At(e) {
3837
3837
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3838
3838
  }
3839
3839
  function pe(e, t = ee().fallbackLocale) {
3840
- const n = St(e);
3841
- return t ? [.../* @__PURE__ */ new Set([...n, ...St(t)])] : n;
3840
+ const n = At(e);
3841
+ return t ? [.../* @__PURE__ */ new Set([...n, ...At(t)])] : n;
3842
3842
  }
3843
3843
  function z() {
3844
- return it ?? void 0;
3844
+ return at ?? void 0;
3845
3845
  }
3846
3846
  Oe.subscribe((e) => {
3847
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3847
+ at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3848
3848
  });
3849
- const Pi = (e) => {
3850
- if (e && gi(e) && Le(e)) {
3849
+ const Li = (e) => {
3850
+ if (e && pi(e) && Le(e)) {
3851
3851
  const { loadingDelay: t } = ee();
3852
3852
  let n;
3853
3853
  return typeof window < "u" && z() != null && t ? n = window.setTimeout(
3854
- () => qe.set(!0),
3854
+ () => Xe.set(!0),
3855
3855
  t
3856
- ) : qe.set(!0), _n(e).then(() => {
3856
+ ) : Xe.set(!0), Tn(e).then(() => {
3857
3857
  Oe.set(e);
3858
3858
  }).finally(() => {
3859
- clearTimeout(n), qe.set(!1);
3859
+ clearTimeout(n), Xe.set(!1);
3860
3860
  });
3861
3861
  }
3862
3862
  return Oe.set(e);
3863
- }, U = Hi(Ci({}, Oe), {
3864
- set: Pi
3865
- }), Re = (e) => {
3863
+ }, U = Pi(Hi({}, Oe), {
3864
+ set: Li
3865
+ }), Ue = (e) => {
3866
3866
  const t = /* @__PURE__ */ Object.create(null);
3867
3867
  return (r) => {
3868
3868
  const i = JSON.stringify(r);
3869
3869
  return i in t ? t[i] : t[i] = e(r);
3870
3870
  };
3871
3871
  };
3872
- var Li = Object.defineProperty, Me = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Bt = (e, t, n) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ut = (e, t) => {
3872
+ var Oi = Object.defineProperty, Me = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, It = (e, t, n) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ct = (e, t) => {
3873
3873
  for (var n in t || (t = {}))
3874
- kn.call(t, n) && Bt(e, n, t[n]);
3874
+ wn.call(t, n) && It(e, n, t[n]);
3875
3875
  if (Me)
3876
3876
  for (var n of Me(t))
3877
- Tn.call(t, n) && Bt(e, n, t[n]);
3877
+ Sn.call(t, n) && It(e, n, t[n]);
3878
3878
  return e;
3879
3879
  }, ie = (e, t) => {
3880
3880
  var n = {};
3881
3881
  for (var r in e)
3882
- kn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3882
+ wn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3883
3883
  if (e != null && Me)
3884
3884
  for (var r of Me(e))
3885
- t.indexOf(r) < 0 && Tn.call(e, r) && (n[r] = e[r]);
3885
+ t.indexOf(r) < 0 && Sn.call(e, r) && (n[r] = e[r]);
3886
3886
  return n;
3887
3887
  };
3888
3888
  const me = (e, t) => {
@@ -3890,21 +3890,21 @@ const me = (e, t) => {
3890
3890
  if (e in n && t in n[e])
3891
3891
  return n[e][t];
3892
3892
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3893
- }, Oi = Re(
3893
+ }, Mi = Ue(
3894
3894
  (e) => {
3895
3895
  var t = e, { locale: n, format: r } = t, i = ie(t, ["locale", "format"]);
3896
3896
  if (n == null)
3897
3897
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3898
3898
  return r && (i = me("number", r)), new Intl.NumberFormat(n, i);
3899
3899
  }
3900
- ), Mi = Re(
3900
+ ), Ni = Ue(
3901
3901
  (e) => {
3902
3902
  var t = e, { locale: n, format: r } = t, i = ie(t, ["locale", "format"]);
3903
3903
  if (n == null)
3904
3904
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3905
3905
  return r ? i = me("date", r) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(n, i);
3906
3906
  }
3907
- ), Ni = Re(
3907
+ ), Di = Ue(
3908
3908
  (e) => {
3909
3909
  var t = e, { locale: n, format: r } = t, i = ie(t, ["locale", "format"]);
3910
3910
  if (n == null)
@@ -3913,33 +3913,33 @@ const me = (e, t) => {
3913
3913
  );
3914
3914
  return r ? i = me("time", r) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(n, i);
3915
3915
  }
3916
- ), Di = (e = {}) => {
3916
+ ), zi = (e = {}) => {
3917
3917
  var t = e, {
3918
3918
  locale: n = z()
3919
3919
  } = t, r = ie(t, [
3920
3920
  "locale"
3921
3921
  ]);
3922
- return Oi(ut({ locale: n }, r));
3923
- }, zi = (e = {}) => {
3922
+ return Mi(ct({ locale: n }, r));
3923
+ }, Ri = (e = {}) => {
3924
3924
  var t = e, {
3925
3925
  locale: n = z()
3926
3926
  } = t, r = ie(t, [
3927
3927
  "locale"
3928
3928
  ]);
3929
- return Mi(ut({ locale: n }, r));
3930
- }, Ri = (e = {}) => {
3929
+ return Ni(ct({ locale: n }, r));
3930
+ }, Ui = (e = {}) => {
3931
3931
  var t = e, {
3932
3932
  locale: n = z()
3933
3933
  } = t, r = ie(t, [
3934
3934
  "locale"
3935
3935
  ]);
3936
- return Ni(ut({ locale: n }, r));
3937
- }, Ui = Re(
3936
+ return Di(ct({ locale: n }, r));
3937
+ }, $i = Ue(
3938
3938
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3939
- (e, t = z()) => new bn(e, t, ee().formats, {
3939
+ (e, t = z()) => new vn(e, t, ee().formats, {
3940
3940
  ignoreTag: ee().ignoreTag
3941
3941
  })
3942
- ), $i = (e, t = {}) => {
3942
+ ), Gi = (e, t = {}) => {
3943
3943
  var n, r, i, a;
3944
3944
  let s = t;
3945
3945
  typeof e == "object" && (s = e, e = s.id);
@@ -3952,7 +3952,7 @@ const me = (e, t) => {
3952
3952
  throw new Error(
3953
3953
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3954
3954
  );
3955
- let u = yn(e, c);
3955
+ let u = Fn(e, c);
3956
3956
  if (!u)
3957
3957
  u = (a = (i = (r = (n = ee()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3958
3958
  else if (typeof u != "string")
@@ -3963,7 +3963,7 @@ const me = (e, t) => {
3963
3963
  return u;
3964
3964
  let d = u;
3965
3965
  try {
3966
- d = Ui(u, c).format(o);
3966
+ d = $i(u, c).format(o);
3967
3967
  } catch (h) {
3968
3968
  h instanceof Error && console.warn(
3969
3969
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3971,25 +3971,25 @@ const me = (e, t) => {
3971
3971
  );
3972
3972
  }
3973
3973
  return d;
3974
- }, Gi = (e, t) => Ri(t).format(e), ji = (e, t) => zi(t).format(e), Vi = (e, t) => Di(t).format(e), Wi = (e, t = z()) => yn(e, t), qi = ne([U, re], () => $i);
3975
- ne([U], () => Gi);
3974
+ }, ji = (e, t) => Ui(t).format(e), Vi = (e, t) => Ri(t).format(e), Wi = (e, t) => zi(t).format(e), qi = (e, t = z()) => Fn(e, t), Xi = ne([U, re], () => Gi);
3976
3975
  ne([U], () => ji);
3977
3976
  ne([U], () => Vi);
3978
- ne([U, re], () => Wi);
3979
- const Xi = "EMWCashierTranslations", Zi = 1, te = "feTranslations", wn = () => typeof indexedDB < "u";
3980
- function Sn() {
3977
+ ne([U], () => Wi);
3978
+ ne([U, re], () => qi);
3979
+ const Zi = "EMWCashierTranslations", Ki = 1, te = "feTranslations", Bn = () => typeof indexedDB < "u";
3980
+ function An() {
3981
3981
  return new Promise((e, t) => {
3982
- const n = indexedDB.open(Xi, Zi);
3982
+ const n = indexedDB.open(Zi, Ki);
3983
3983
  n.onupgradeneeded = () => {
3984
3984
  n.result.objectStoreNames.contains(te) || n.result.createObjectStore(te, { keyPath: "lang" });
3985
3985
  }, n.onsuccess = () => e(n.result), n.onerror = () => t(n.error);
3986
3986
  });
3987
3987
  }
3988
- async function At(e) {
3989
- if (!wn())
3988
+ async function Ct(e) {
3989
+ if (!Bn())
3990
3990
  return null;
3991
3991
  try {
3992
- const t = await Sn();
3992
+ const t = await An();
3993
3993
  return await new Promise((n, r) => {
3994
3994
  const i = t.transaction(te, "readonly").objectStore(te).get(e);
3995
3995
  i.onsuccess = () => n(i.result || null), i.onerror = () => r(i.error);
@@ -3998,10 +3998,10 @@ async function At(e) {
3998
3998
  return console.error("Failed to read cached FE translations from IndexedDB.", t), null;
3999
3999
  }
4000
4000
  }
4001
- async function Ki(e, t, n) {
4002
- if (wn())
4001
+ async function Ji(e, t, n) {
4002
+ if (Bn())
4003
4003
  try {
4004
- const r = await Sn();
4004
+ const r = await An();
4005
4005
  await new Promise((i, a) => {
4006
4006
  const s = r.transaction(te, "readwrite");
4007
4007
  s.objectStore(te).put({ lang: e, fileUrl: t, translations: n }), s.oncomplete = () => i(), s.onerror = () => a(s.error);
@@ -4010,52 +4010,58 @@ async function Ki(e, t, n) {
4010
4010
  console.error("Failed to cache FE translations in IndexedDB.", r);
4011
4011
  }
4012
4012
  }
4013
- function Ji(e) {
4013
+ function Yi(e) {
4014
4014
  return Object.keys(e || {}).reduce((t, n) => (t[n] = e[n], t), {});
4015
4015
  }
4016
- const It = (e) => {
4016
+ const Ht = (e) => {
4017
4017
  const t = new URL(e);
4018
4018
  return t.searchParams.set("_", Date.now().toString()), t;
4019
4019
  };
4020
- async function Ca(e, t) {
4020
+ async function La(e, t) {
4021
4021
  try {
4022
4022
  const { url: n, language: r } = await fetch(
4023
- It(`${e}/api/payment/v1/localization/${t}/url`)
4024
- ).then((c) => c.json()), i = r || t, a = await At(i);
4023
+ Ht(`${e}/api/payment/v1/localization/${t}/url`)
4024
+ ).then((c) => c.json()), i = r || t, a = await Ct(i);
4025
4025
  if (!n)
4026
4026
  return a ? { lang: i, translations: a.translations } : null;
4027
4027
  if (a?.fileUrl === n)
4028
4028
  return { lang: i, translations: a.translations };
4029
- const s = await fetch(It(n)).then((c) => c.json()), o = Ji(s);
4030
- return await Ki(i, n, o), { lang: i, translations: o };
4029
+ const s = await fetch(Ht(n)).then((c) => c.json()), o = Yi(s);
4030
+ return await Ji(i, n, o), { lang: i, translations: o };
4031
4031
  } catch (n) {
4032
4032
  console.error("Failed to resolve remote FE translations, falling back to cache.", n);
4033
- const r = await At(t);
4033
+ const r = await Ct(t);
4034
4034
  return r ? { lang: t, translations: r.translations } : null;
4035
4035
  }
4036
4036
  }
4037
- const Yi = "FE.errorGeneralText", Qi = (e) => /^[A-Za-z][A-Za-z0-9_]*$/.test(e), ea = (e) => /\s/.test(e), Bn = (e) => e == null ? "" : String(e).trim();
4038
- function An(e, t) {
4039
- return [e, t].map(Bn).find(Qi) || "";
4037
+ const Qi = "FE.errorGeneralText", ea = (e) => /^[A-Za-z][A-Za-z0-9_]*$/.test(e), Ne = (e) => /^\d+$/.test(e), In = (e) => ea(e) || Ne(e), ta = (e) => /\s/.test(e), dt = (e) => e == null ? "" : String(e).trim();
4038
+ function na(e, t) {
4039
+ return [e, t].map(dt).find(In) || "";
4040
4040
  }
4041
- function ta(e) {
4041
+ function ra(e) {
4042
4042
  if (!e)
4043
4043
  return [];
4044
+ if (Ne(e))
4045
+ return [e, `FE.${e}`];
4044
4046
  const t = `FE.${e.charAt(0).toLowerCase()}${e.slice(1)}`, n = `FE.${e}`;
4045
4047
  return t === n ? [n] : [t, n];
4046
4048
  }
4047
- function na({ code: e, message: t }, n, r = Yi) {
4048
- const i = An(e, t), a = ta(i).map((s) => ({ key: s, text: n(s) })).find(({ key: s, text: o }) => o && o !== s);
4049
- return a ? a.text : [t, e].map(Bn).find(ea) || n(r);
4049
+ function ia(e, t) {
4050
+ const n = [e, t].map(dt).filter(In);
4051
+ return [...n.filter(Ne), ...n.filter((r) => !Ne(r))];
4052
+ }
4053
+ function aa({ code: e, message: t }, n, r = Qi) {
4054
+ const i = ia(e, t).flatMap(ra).map((a) => ({ key: a, text: n(a) })).find(({ key: a, text: s }) => s && s !== a);
4055
+ return i ? i.text : [t, e].map(dt).find(ta) || n(r);
4050
4056
  }
4051
4057
  const W = "__WIDGET_GLOBAL_STYLE_CACHE__";
4052
- function ra(e, t) {
4058
+ function sa(e, t) {
4053
4059
  if (e) {
4054
4060
  const n = document.createElement("style");
4055
4061
  n.innerHTML = t, e.appendChild(n);
4056
4062
  }
4057
4063
  }
4058
- function ia(e, t) {
4064
+ function oa(e, t) {
4059
4065
  if (!e || !t)
4060
4066
  return;
4061
4067
  const n = new URL(t);
@@ -4066,12 +4072,12 @@ function ia(e, t) {
4066
4072
  console.error("There was an error while trying to load client styling from URL", r);
4067
4073
  });
4068
4074
  }
4069
- function aa(e, t, n, r = !1) {
4075
+ function la(e, t, n, r = !1) {
4070
4076
  if (!window.emMessageBus)
4071
4077
  return;
4072
4078
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4073
- return n = sa(e, t), n;
4074
- window[W] || (window[W] = {}), n = oa(e, t);
4079
+ return n = ua(e, t), n;
4080
+ window[W] || (window[W] = {}), n = ca(e, t);
4075
4081
  const a = n.unsubscribe.bind(n), s = () => {
4076
4082
  if (window[W][t]) {
4077
4083
  const o = window[W][t];
@@ -4081,13 +4087,13 @@ function aa(e, t, n, r = !1) {
4081
4087
  };
4082
4088
  return n.unsubscribe = s, n;
4083
4089
  }
4084
- function sa(e, t) {
4090
+ function ua(e, t) {
4085
4091
  const n = document.createElement("style");
4086
4092
  return window.emMessageBus.subscribe(t, (r) => {
4087
4093
  e && (n.innerHTML = r, e.appendChild(n));
4088
4094
  });
4089
4095
  }
4090
- function oa(e, t) {
4096
+ function ca(e, t) {
4091
4097
  return window.emMessageBus.subscribe(t, (n) => {
4092
4098
  if (!e)
4093
4099
  return;
@@ -4101,18 +4107,18 @@ function oa(e, t) {
4101
4107
  s.includes(a) || (r.adoptedStyleSheets = [...s, a]);
4102
4108
  });
4103
4109
  }
4104
- const fe = typeof window < "u" && window.__EMWCashierI18n || { dictionary: re, locale: U, init: Ti, addMessages: Fn, format: qi };
4110
+ const fe = typeof window < "u" && window.__EMWCashierI18n || { dictionary: re, locale: U, init: wi, addMessages: _n, format: Xi };
4105
4111
  typeof window < "u" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = fe);
4106
- const la = fe.format;
4107
- function Ct(e, t) {
4112
+ const da = fe.format;
4113
+ function Pt(e, t) {
4108
4114
  fe.addMessages(e, t);
4109
4115
  }
4110
- function ua(e) {
4116
+ function ha(e) {
4111
4117
  fe.init({
4112
4118
  fallbackLocale: "en"
4113
4119
  }), fe.locale.set(e);
4114
4120
  }
4115
- const Ht = {
4121
+ const Lt = {
4116
4122
  en: {
4117
4123
  "FE.DailyTransactionFrequencyLimitReached": "The transaction cannot be performed at the moment, please try again later.",
4118
4124
  "FE.vendorMicroserviceCommunicationError": "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
@@ -4547,15 +4553,15 @@ const Ht = {
4547
4553
  "FE.CardTokenIsBlocked": "Kart tokeni bloklanıb"
4548
4554
  }
4549
4555
  };
4550
- function ca(e) {
4551
- On(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.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}');
4556
+ function ma(e) {
4557
+ Mn(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.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}');
4552
4558
  }
4553
- const da = (e) => ({}), Pt = (e) => ({}), ha = (e) => ({}), Lt = (e) => ({}), ma = (e) => ({}), Ot = (e) => ({}), fa = (e) => ({}), Mt = (e) => ({});
4554
- function Nt(e) {
4559
+ const fa = (e) => ({}), Ot = (e) => ({}), ga = (e) => ({}), Mt = (e) => ({}), pa = (e) => ({}), Nt = (e) => ({}), Ea = (e) => ({}), Dt = (e) => ({});
4560
+ function zt(e) {
4555
4561
  let t, n;
4556
4562
  return {
4557
4563
  c() {
4558
- t = I("ui-image"), mt(t.src, n = `${/*assetsurl*/
4564
+ t = I("ui-image"), gt(t.src, n = `${/*assetsurl*/
4559
4565
  e[0]}/error-general-icon.png`) || _e(t, "src", n), _e(t, "width", "300px"), _e(t, "alt", "error");
4560
4566
  },
4561
4567
  m(r, i) {
@@ -4563,7 +4569,7 @@ function Nt(e) {
4563
4569
  },
4564
4570
  p(r, i) {
4565
4571
  i & /*assetsurl*/
4566
- 1 && !mt(t.src, n = `${/*assetsurl*/
4572
+ 1 && !gt(t.src, n = `${/*assetsurl*/
4567
4573
  r[0]}/error-general-icon.png`) && _e(t, "src", n);
4568
4574
  },
4569
4575
  d(r) {
@@ -4571,39 +4577,39 @@ function Nt(e) {
4571
4577
  }
4572
4578
  };
4573
4579
  }
4574
- function ga(e) {
4580
+ function ba(e) {
4575
4581
  let t, n = (
4576
4582
  /*assetsurl*/
4577
- e[0] && Nt(e)
4583
+ e[0] && zt(e)
4578
4584
  );
4579
4585
  return {
4580
4586
  c() {
4581
- n && n.c(), t = ot();
4587
+ n && n.c(), t = lt();
4582
4588
  },
4583
4589
  m(r, i) {
4584
4590
  n && n.m(r, i), S(r, t, i);
4585
4591
  },
4586
4592
  p(r, i) {
4587
4593
  /*assetsurl*/
4588
- r[0] ? n ? n.p(r, i) : (n = Nt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4594
+ r[0] ? n ? n.p(r, i) : (n = zt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4589
4595
  },
4590
4596
  d(r) {
4591
4597
  r && T(t), n && n.d(r);
4592
4598
  }
4593
4599
  };
4594
4600
  }
4595
- function Dt(e) {
4601
+ function Rt(e) {
4596
4602
  let t;
4597
4603
  function n(a, s) {
4598
4604
  return (
4599
4605
  /*depositWageringAmount*/
4600
- a[3] < 0 ? Ea : pa
4606
+ a[3] < 0 ? va : ya
4601
4607
  );
4602
4608
  }
4603
4609
  let r = n(e), i = r(e);
4604
4610
  return {
4605
4611
  c() {
4606
- i.c(), t = ot();
4612
+ i.c(), t = lt();
4607
4613
  },
4608
4614
  m(a, s) {
4609
4615
  i.m(a, s), S(a, t, s);
@@ -4616,13 +4622,13 @@ function Dt(e) {
4616
4622
  }
4617
4623
  };
4618
4624
  }
4619
- function pa(e) {
4625
+ function ya(e) {
4620
4626
  let t, n = (
4621
4627
  /*$_*/
4622
4628
  e[2]("FE.depositWageringLimitText") + ""
4623
4629
  ), r, i, a = (
4624
4630
  /*depositWageringAmount*/
4625
- e[3] > 0 && zt(e)
4631
+ e[3] > 0 && Ut(e)
4626
4632
  );
4627
4633
  return {
4628
4634
  c() {
@@ -4635,14 +4641,14 @@ function pa(e) {
4635
4641
  o & /*$_*/
4636
4642
  4 && n !== (n = /*$_*/
4637
4643
  s[2]("FE.depositWageringLimitText") + "") && K(r, n), /*depositWageringAmount*/
4638
- s[3] > 0 ? a ? a.p(s, o) : (a = zt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4644
+ s[3] > 0 ? a ? a.p(s, o) : (a = Ut(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4639
4645
  },
4640
4646
  d(s) {
4641
4647
  s && T(t), a && a.d();
4642
4648
  }
4643
4649
  };
4644
4650
  }
4645
- function Ea(e) {
4651
+ function va(e) {
4646
4652
  let t, n, r = (
4647
4653
  /*$_*/
4648
4654
  e[2]("FE.depositWageringFetching") + ""
@@ -4664,7 +4670,7 @@ function Ea(e) {
4664
4670
  }
4665
4671
  };
4666
4672
  }
4667
- function zt(e) {
4673
+ function Ut(e) {
4668
4674
  let t, n, r;
4669
4675
  return {
4670
4676
  c() {
@@ -4697,17 +4703,17 @@ function zt(e) {
4697
4703
  }
4698
4704
  };
4699
4705
  }
4700
- function ba(e) {
4706
+ function Fa(e) {
4701
4707
  let t, n, r, i, a = (
4702
4708
  /*resolvedErrorCode*/
4703
- e[6] == "DepositWageringLimit" && Dt(e)
4709
+ e[6] == "DepositWageringLimit" && Rt(e)
4704
4710
  );
4705
4711
  return {
4706
4712
  c() {
4707
4713
  t = I("span"), n = D(
4708
4714
  /*shownError*/
4709
4715
  e[5]
4710
- ), r = X(), a && a.c(), i = ot(), O(t, "class", "CashierErrorText");
4716
+ ), r = X(), a && a.c(), i = lt(), O(t, "class", "CashierErrorText");
4711
4717
  },
4712
4718
  m(s, o) {
4713
4719
  S(s, t, o), B(t, n), S(s, r, o), a && a.m(s, o), S(s, i, o);
@@ -4719,14 +4725,14 @@ function ba(e) {
4719
4725
  /*shownError*/
4720
4726
  s[5]
4721
4727
  ), /*resolvedErrorCode*/
4722
- s[6] == "DepositWageringLimit" ? a ? a.p(s, o) : (a = Dt(s), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
4728
+ s[6] == "DepositWageringLimit" ? a ? a.p(s, o) : (a = Rt(s), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
4723
4729
  },
4724
4730
  d(s) {
4725
4731
  s && (T(t), T(r), T(i)), a && a.d(s);
4726
4732
  }
4727
4733
  };
4728
4734
  }
4729
- function ya(e) {
4735
+ function xa(e) {
4730
4736
  let t, n, r = (
4731
4737
  /*$_*/
4732
4738
  e[2]("FE.errorGeneralButton") + ""
@@ -4736,7 +4742,7 @@ function ya(e) {
4736
4742
  t = I("button"), n = I("span"), i = D(r), O(t, "class", "CashierErrorButton");
4737
4743
  },
4738
4744
  m(o, c) {
4739
- S(o, t, c), B(t, n), B(n, i), a || (s = Nn(
4745
+ S(o, t, c), B(t, n), B(n, i), a || (s = Dn(
4740
4746
  t,
4741
4747
  "click",
4742
4748
  /*close*/
@@ -4753,7 +4759,7 @@ function ya(e) {
4753
4759
  }
4754
4760
  };
4755
4761
  }
4756
- function va(e) {
4762
+ function _a(e) {
4757
4763
  let t, n, r, i, a, s;
4758
4764
  const o = (
4759
4765
  /*#slots*/
@@ -4763,8 +4769,8 @@ function va(e) {
4763
4769
  e,
4764
4770
  /*$$scope*/
4765
4771
  e[16],
4766
- Mt
4767
- ), l = c || ga(e), u = (
4772
+ Dt
4773
+ ), l = c || ba(e), u = (
4768
4774
  /*#slots*/
4769
4775
  e[17].title
4770
4776
  ), d = ye(
@@ -4772,7 +4778,7 @@ function va(e) {
4772
4778
  e,
4773
4779
  /*$$scope*/
4774
4780
  e[16],
4775
- Ot
4781
+ Nt
4776
4782
  ), h = (
4777
4783
  /*#slots*/
4778
4784
  e[17].text
@@ -4781,8 +4787,8 @@ function va(e) {
4781
4787
  e,
4782
4788
  /*$$scope*/
4783
4789
  e[16],
4784
- Lt
4785
- ), f = g || ba(e), y = (
4790
+ Mt
4791
+ ), f = g || Fa(e), y = (
4786
4792
  /*#slots*/
4787
4793
  e[17].button
4788
4794
  ), x = ye(
@@ -4790,8 +4796,8 @@ function va(e) {
4790
4796
  e,
4791
4797
  /*$$scope*/
4792
4798
  e[16],
4793
- Pt
4794
- ), E = x || ya(e);
4799
+ Ot
4800
+ ), E = x || xa(e);
4795
4801
  return {
4796
4802
  c() {
4797
4803
  t = I("div"), n = I("div"), l && l.c(), r = X(), d && d.c(), i = X(), f && f.c(), a = X(), E && E.c(), O(n, "class", "CashierErrorContent"), O(t, "class", "CashierError");
@@ -4812,12 +4818,12 @@ function va(e) {
4812
4818
  /*$$scope*/
4813
4819
  m[16],
4814
4820
  v,
4815
- fa
4821
+ Ea
4816
4822
  ) : xe(
4817
4823
  /*$$scope*/
4818
4824
  m[16]
4819
4825
  ),
4820
- Mt
4826
+ Dt
4821
4827
  ) : l && l.p && (!s || v & /*assetsurl*/
4822
4828
  1) && l.p(m, s ? v : -1), d && d.p && (!s || v & /*$$scope*/
4823
4829
  65536) && Fe(
@@ -4831,12 +4837,12 @@ function va(e) {
4831
4837
  /*$$scope*/
4832
4838
  m[16],
4833
4839
  v,
4834
- ma
4840
+ pa
4835
4841
  ) : xe(
4836
4842
  /*$$scope*/
4837
4843
  m[16]
4838
4844
  ),
4839
- Ot
4845
+ Nt
4840
4846
  ), g ? g.p && (!s || v & /*$$scope*/
4841
4847
  65536) && Fe(
4842
4848
  g,
@@ -4849,12 +4855,12 @@ function va(e) {
4849
4855
  /*$$scope*/
4850
4856
  m[16],
4851
4857
  v,
4852
- ha
4858
+ ga
4853
4859
  ) : xe(
4854
4860
  /*$$scope*/
4855
4861
  m[16]
4856
4862
  ),
4857
- Lt
4863
+ Mt
4858
4864
  ) : f && f.p && (!s || v & /*$_, depositWageringAmount, depositWageringCurrency, resolvedErrorCode, shownError*/
4859
4865
  124) && f.p(m, s ? v : -1), x ? x.p && (!s || v & /*$$scope*/
4860
4866
  65536) && Fe(
@@ -4868,12 +4874,12 @@ function va(e) {
4868
4874
  /*$$scope*/
4869
4875
  m[16],
4870
4876
  v,
4871
- da
4877
+ fa
4872
4878
  ) : xe(
4873
4879
  /*$$scope*/
4874
4880
  m[16]
4875
4881
  ),
4876
- Pt
4882
+ Ot
4877
4883
  ) : E && E.p && (!s || v & /*$_*/
4878
4884
  4) && E.p(m, s ? v : -1);
4879
4885
  },
@@ -4888,27 +4894,27 @@ function va(e) {
4888
4894
  }
4889
4895
  };
4890
4896
  }
4891
- function Fa(e, t, n) {
4897
+ function ka(e, t, n) {
4892
4898
  let r, i, a;
4893
- Ln(e, la, (p) => n(2, a = p));
4899
+ On(e, da, (p) => n(2, a = p));
4894
4900
  let { $$slots: s = {}, $$scope: o } = t, { assetsurl: c = "" } = t, { lang: l = "en" } = t, { errorcode: u = "" } = t, { errormessage: d = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: f = "" } = t, { mbsource: y = "" } = t, { usecashiertranslations: x = "false" } = t, E, m, v = -1, C;
4895
4901
  const L = () => {
4896
- ua(l);
4902
+ ha(l);
4897
4903
  }, $ = () => {
4898
4904
  fetch(f).then((p) => p.json()).then((p) => {
4899
- Object.keys(p).forEach((dt) => {
4900
- Ct(dt, p[dt]);
4905
+ Object.keys(p).forEach((mt) => {
4906
+ Pt(mt, p[mt]);
4901
4907
  });
4902
4908
  }).catch((p) => {
4903
4909
  console.log(p);
4904
4910
  });
4905
4911
  };
4906
- x == "false" && Object.keys(Ht).forEach((p) => {
4907
- Ct(p, Ht[p]);
4912
+ x == "false" && Object.keys(Lt).forEach((p) => {
4913
+ Pt(p, Lt[p]);
4908
4914
  });
4909
4915
  const Ee = () => {
4910
4916
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4911
- }, ct = (p) => {
4917
+ }, ht = (p) => {
4912
4918
  if (p.data)
4913
4919
  switch (p.data.type) {
4914
4920
  case "DepositWageringAmount":
@@ -4916,11 +4922,11 @@ function Fa(e, t, n) {
4916
4922
  break;
4917
4923
  }
4918
4924
  };
4919
- Vn(() => (window.addEventListener("message", ct, !1), () => {
4920
- window.removeEventListener("message", ct);
4925
+ Wn(() => (window.addEventListener("message", ht, !1), () => {
4926
+ window.removeEventListener("message", ht);
4921
4927
  }));
4922
- function Cn(p) {
4923
- Ze[p ? "unshift" : "push"](() => {
4928
+ function Hn(p) {
4929
+ Ke[p ? "unshift" : "push"](() => {
4924
4930
  E = p, n(1, E);
4925
4931
  });
4926
4932
  }
@@ -4929,12 +4935,12 @@ function Fa(e, t, n) {
4929
4935
  }, e.$$.update = () => {
4930
4936
  e.$$.dirty & /*lang*/
4931
4937
  256 && l && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4932
- 2050 && h && E && ra(E, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4933
- 4098 && g && E && ia(E, g), e.$$.dirty & /*mbsource, customStylingContainer*/
4934
- 16386 && y && E && aa(E, `${y}.Style`, m), e.$$.dirty & /*usecashiertranslations, translationurl*/
4938
+ 2050 && h && E && sa(E, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4939
+ 4098 && g && E && oa(E, g), e.$$.dirty & /*mbsource, customStylingContainer*/
4940
+ 16386 && y && E && la(E, `${y}.Style`, m), e.$$.dirty & /*usecashiertranslations, translationurl*/
4935
4941
  40960 && x == "false" && f && $(), e.$$.dirty & /*errorcode, errormessage*/
4936
- 1536 && n(6, r = An(u, d)), e.$$.dirty & /*errorcode, errormessage, $_*/
4937
- 1540 && n(5, i = na({ code: u, message: d }, a));
4942
+ 1536 && n(6, r = na(u, d)), e.$$.dirty & /*errorcode, errormessage, $_*/
4943
+ 1540 && n(5, i = aa({ code: u, message: d }, a));
4938
4944
  }, [
4939
4945
  c,
4940
4946
  E,
@@ -4954,17 +4960,17 @@ function Fa(e, t, n) {
4954
4960
  x,
4955
4961
  o,
4956
4962
  s,
4957
- Cn
4963
+ Hn
4958
4964
  ];
4959
4965
  }
4960
- class In extends tr {
4966
+ class Cn extends nr {
4961
4967
  constructor(t) {
4962
- super(), Qn(
4968
+ super(), er(
4963
4969
  this,
4964
4970
  t,
4965
- Fa,
4966
- va,
4967
- $t,
4971
+ ka,
4972
+ _a,
4973
+ jt,
4968
4974
  {
4969
4975
  assetsurl: 0,
4970
4976
  lang: 8,
@@ -4976,7 +4982,7 @@ class In extends tr {
4976
4982
  mbsource: 14,
4977
4983
  usecashiertranslations: 15
4978
4984
  },
4979
- ca
4985
+ ma
4980
4986
  );
4981
4987
  }
4982
4988
  get assetsurl() {
@@ -5034,56 +5040,56 @@ class In extends tr {
5034
5040
  this.$$set({ usecashiertranslations: t }), H();
5035
5041
  }
5036
5042
  }
5037
- er(In, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, usecashiertranslations: {} }, ["icon", "title", "text", "button"], [], !0);
5038
- const Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5043
+ tr(Cn, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, usecashiertranslations: {} }, ["icon", "title", "text", "button"], [], !0);
5044
+ const Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5039
5045
  __proto__: null,
5040
- default: In
5046
+ default: Cn
5041
5047
  }, Symbol.toStringTag, { value: "Module" }));
5042
5048
  export {
5043
- qi as $,
5044
- Ba as A,
5049
+ Xi as $,
5050
+ Ca as A,
5045
5051
  de as B,
5046
- Sa as C,
5052
+ Ia as C,
5047
5053
  K as D,
5048
5054
  D as E,
5049
5055
  _e as F,
5050
5056
  R as G,
5051
- Nn as H,
5052
- ot as I,
5053
- Aa as J,
5054
- _a as K,
5055
- ka as L,
5056
- mt as M,
5057
- Ta as N,
5058
- ra as O,
5059
- ia as P,
5060
- aa as Q,
5061
- Ha as R,
5062
- tr as S,
5063
- Fn as a,
5064
- Ti as b,
5057
+ Dn as H,
5058
+ lt as I,
5059
+ Ha as J,
5060
+ wa as K,
5061
+ Sa as L,
5062
+ gt as M,
5063
+ Ba as N,
5064
+ sa as O,
5065
+ oa as P,
5066
+ la as Q,
5067
+ Oa as R,
5068
+ nr as S,
5069
+ _n as a,
5070
+ wi as b,
5065
5071
  U as c,
5066
5072
  re as d,
5067
- Ia as e,
5068
- er as f,
5069
- ir as g,
5070
- Qn as h,
5071
- Rt as i,
5073
+ Pa as e,
5074
+ tr as f,
5075
+ ar as g,
5076
+ er as h,
5077
+ $t as i,
5072
5078
  H as j,
5073
- On as k,
5079
+ Mn as k,
5074
5080
  T as l,
5075
5081
  S as m,
5076
5082
  A as n,
5077
5083
  I as o,
5078
5084
  O as p,
5079
- Ln as q,
5080
- Vn as r,
5081
- $t as s,
5082
- Ca as t,
5083
- Ze as u,
5085
+ On as q,
5086
+ Wn as r,
5087
+ jt as s,
5088
+ La as t,
5089
+ Ke as u,
5084
5090
  oe as v,
5085
5091
  ke as w,
5086
- wa as x,
5092
+ Aa as x,
5087
5093
  B as y,
5088
5094
  X as z
5089
5095
  };