@everymatrix/cashier-error 1.92.3 → 1.92.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import "../stencil/ui-image-Ch-GHki1.js";
2
- function M() {
2
+ function I() {
3
3
  }
4
- function tr(e, t) {
4
+ function rr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,48 +9,48 @@ function tr(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Ht(e) {
12
+ function wt(e) {
13
13
  return e();
14
14
  }
15
- function Ke() {
15
+ function Qe() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function se(e) {
19
- e.forEach(Ht);
19
+ e.forEach(wt);
20
20
  }
21
21
  function qe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function At(e, t) {
24
+ function Ht(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let he;
28
- function et(e, t) {
28
+ function Ke(e, t) {
29
29
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
30
30
  }
31
- function rr(e) {
31
+ function nr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function St(e, ...t) {
34
+ function At(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return M;
38
+ return I;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function nr(e, t, r) {
44
- e.$$.on_destroy.push(St(t, r));
43
+ function ir(e, t, r) {
44
+ e.$$.on_destroy.push(At(t, r));
45
45
  }
46
46
  function ce(e, t, r, n) {
47
47
  if (e) {
48
- const i = Bt(e, t, r, n);
48
+ const i = St(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Bt(e, t, r, n) {
53
- return e[1] && n ? tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function St(e, t, r, n) {
53
+ return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function fe(e, t, r, n) {
56
56
  if (e[2] && n) {
@@ -58,9 +58,9 @@ function fe(e, t, r, n) {
58
58
  if (t.dirty === void 0)
59
59
  return i;
60
60
  if (typeof i == "object") {
61
- const a = [], o = Math.max(t.dirty.length, i.length);
62
- for (let s = 0; s < o; s += 1)
63
- a[s] = t.dirty[s] | i[s];
61
+ const a = [], s = Math.max(t.dirty.length, i.length);
62
+ for (let o = 0; o < s; o += 1)
63
+ a[o] = t.dirty[o] | i[o];
64
64
  return a;
65
65
  }
66
66
  return t.dirty | i;
@@ -69,8 +69,8 @@ function fe(e, t, r, n) {
69
69
  }
70
70
  function me(e, t, r, n, i, a) {
71
71
  if (i) {
72
- const o = Bt(t, r, n, a);
73
- e.p(o, i);
72
+ const s = St(t, r, n, a);
73
+ e.p(s, i);
74
74
  }
75
75
  }
76
76
  function de(e) {
@@ -85,14 +85,14 @@ function de(e) {
85
85
  function B(e, t) {
86
86
  e.appendChild(t);
87
87
  }
88
- function ir(e, t, r) {
89
- const n = ar(e);
88
+ function ar(e, t, r) {
89
+ const n = sr(e);
90
90
  if (!n.getElementById(t)) {
91
- const i = L("style");
91
+ const i = P("style");
92
92
  i.id = t, i.textContent = r, or(n, i);
93
93
  }
94
94
  }
95
- function ar(e) {
95
+ function sr(e) {
96
96
  if (!e)
97
97
  return document;
98
98
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -115,36 +115,36 @@ function S(e, t, r) {
115
115
  function A(e) {
116
116
  e.parentNode && e.parentNode.removeChild(e);
117
117
  }
118
- function L(e) {
118
+ function P(e) {
119
119
  return document.createElement(e);
120
120
  }
121
- function k(e) {
121
+ function D(e) {
122
122
  return document.createTextNode(e);
123
123
  }
124
- function V() {
125
- return k(" ");
124
+ function j() {
125
+ return D(" ");
126
126
  }
127
127
  function Je() {
128
- return k("");
128
+ return D("");
129
129
  }
130
- function sr(e, t, r, n) {
130
+ function ur(e, t, r, n) {
131
131
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
132
132
  }
133
- function N(e, t, r) {
133
+ function M(e, t, r) {
134
134
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
135
135
  }
136
136
  function pe(e, t, r) {
137
137
  const n = t.toLowerCase();
138
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : N(e, t, r);
138
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
139
139
  }
140
- function ur(e) {
140
+ function lr(e) {
141
141
  return Array.from(e.childNodes);
142
142
  }
143
- function X(e, t) {
143
+ function W(e, t) {
144
144
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
145
145
  t);
146
146
  }
147
- function lr(e) {
147
+ function hr(e) {
148
148
  const t = {};
149
149
  return e.childNodes.forEach(
150
150
  /** @param {Element} node */
@@ -153,105 +153,105 @@ function lr(e) {
153
153
  }
154
154
  ), t;
155
155
  }
156
- let ie;
157
- function ne(e) {
158
- ie = e;
156
+ let ne;
157
+ function re(e) {
158
+ ne = e;
159
159
  }
160
- function hr() {
161
- if (!ie)
160
+ function cr() {
161
+ if (!ne)
162
162
  throw new Error("Function called outside component initialization");
163
- return ie;
163
+ return ne;
164
164
  }
165
- function cr(e) {
166
- hr().$$.on_mount.push(e);
165
+ function fr(e) {
166
+ cr().$$.on_mount.push(e);
167
167
  }
168
- const z = [], De = [];
169
- let W = [];
170
- const tt = [], fr = /* @__PURE__ */ Promise.resolve();
168
+ const F = [], De = [];
169
+ let V = [];
170
+ const et = [], mr = /* @__PURE__ */ Promise.resolve();
171
171
  let ke = !1;
172
- function mr() {
173
- ke || (ke = !0, fr.then(I));
172
+ function dr() {
173
+ ke || (ke = !0, mr.then(O));
174
174
  }
175
175
  function $e(e) {
176
- W.push(e);
176
+ V.push(e);
177
177
  }
178
- const Pe = /* @__PURE__ */ new Set();
179
- let G = 0;
180
- function I() {
181
- if (G !== 0)
178
+ const Le = /* @__PURE__ */ new Set();
179
+ let U = 0;
180
+ function O() {
181
+ if (U !== 0)
182
182
  return;
183
- const e = ie;
183
+ const e = ne;
184
184
  do {
185
185
  try {
186
- for (; G < z.length; ) {
187
- const t = z[G];
188
- G++, ne(t), dr(t.$$);
186
+ for (; U < F.length; ) {
187
+ const t = F[U];
188
+ U++, re(t), pr(t.$$);
189
189
  }
190
190
  } catch (t) {
191
- throw z.length = 0, G = 0, t;
191
+ throw F.length = 0, U = 0, t;
192
192
  }
193
- for (ne(null), z.length = 0, G = 0; De.length; )
193
+ for (re(null), F.length = 0, U = 0; De.length; )
194
194
  De.pop()();
195
- for (let t = 0; t < W.length; t += 1) {
196
- const r = W[t];
197
- Pe.has(r) || (Pe.add(r), r());
195
+ for (let t = 0; t < V.length; t += 1) {
196
+ const r = V[t];
197
+ Le.has(r) || (Le.add(r), r());
198
198
  }
199
- W.length = 0;
200
- } while (z.length);
201
- for (; tt.length; )
202
- tt.pop()();
203
- ke = !1, Pe.clear(), ne(e);
199
+ V.length = 0;
200
+ } while (F.length);
201
+ for (; et.length; )
202
+ et.pop()();
203
+ ke = !1, Le.clear(), re(e);
204
204
  }
205
- function dr(e) {
205
+ function pr(e) {
206
206
  if (e.fragment !== null) {
207
207
  e.update(), se(e.before_update);
208
208
  const t = e.dirty;
209
209
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
210
210
  }
211
211
  }
212
- function pr(e) {
212
+ function gr(e) {
213
213
  const t = [], r = [];
214
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
214
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
215
215
  }
216
216
  const ye = /* @__PURE__ */ new Set();
217
- let gr;
218
- function te(e, t) {
217
+ let br;
218
+ function ee(e, t) {
219
219
  e && e.i && (ye.delete(e), e.i(t));
220
220
  }
221
221
  function ge(e, t, r, n) {
222
222
  if (e && e.o) {
223
223
  if (ye.has(e))
224
224
  return;
225
- ye.add(e), gr.c.push(() => {
225
+ ye.add(e), br.c.push(() => {
226
226
  ye.delete(e);
227
227
  }), e.o(t);
228
228
  }
229
229
  }
230
- function br(e, t, r) {
230
+ function yr(e, t, r) {
231
231
  const { fragment: n, after_update: i } = e.$$;
232
232
  n && n.m(t, r), $e(() => {
233
- const a = e.$$.on_mount.map(Ht).filter(qe);
233
+ const a = e.$$.on_mount.map(wt).filter(qe);
234
234
  e.$$.on_destroy ? e.$$.on_destroy.push(...a) : se(a), e.$$.on_mount = [];
235
235
  }), i.forEach($e);
236
236
  }
237
- function yr(e, t) {
237
+ function vr(e, t) {
238
238
  const r = e.$$;
239
- r.fragment !== null && (pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
239
+ r.fragment !== null && (gr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
240
240
  }
241
- function vr(e, t) {
242
- e.$$.dirty[0] === -1 && (z.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
241
+ function _r(e, t) {
242
+ e.$$.dirty[0] === -1 && (F.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
243
243
  }
244
- function _r(e, t, r, n, i, a, o = null, s = [-1]) {
245
- const l = ie;
246
- ne(e);
244
+ function Er(e, t, r, n, i, a, s = null, o = [-1]) {
245
+ const l = ne;
246
+ re(e);
247
247
  const u = e.$$ = {
248
248
  fragment: null,
249
249
  ctx: [],
250
250
  // state
251
251
  props: a,
252
- update: M,
252
+ update: I,
253
253
  not_equal: i,
254
- bound: Ke(),
254
+ bound: Qe(),
255
255
  // lifecycle
256
256
  on_mount: [],
257
257
  on_destroy: [],
@@ -260,28 +260,28 @@ function _r(e, t, r, n, i, a, o = null, s = [-1]) {
260
260
  after_update: [],
261
261
  context: new Map(t.context || (l ? l.$$.context : [])),
262
262
  // everything else
263
- callbacks: Ke(),
264
- dirty: s,
263
+ callbacks: Qe(),
264
+ dirty: o,
265
265
  skip_bound: !1,
266
266
  root: t.target || l.$$.root
267
267
  };
268
- o && o(u.root);
268
+ s && s(u.root);
269
269
  let h = !1;
270
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
271
- const g = d.length ? d[0] : f;
272
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && vr(e, c)), f;
270
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
271
+ const g = p.length ? p[0] : f;
272
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && _r(e, c)), f;
273
273
  }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
274
274
  if (t.hydrate) {
275
- const c = ur(t.target);
275
+ const c = lr(t.target);
276
276
  u.fragment && u.fragment.l(c), c.forEach(A);
277
277
  } else
278
278
  u.fragment && u.fragment.c();
279
- t.intro && te(e.$$.fragment), br(e, t.target, t.anchor), I();
279
+ t.intro && ee(e.$$.fragment), yr(e, t.target, t.anchor), O();
280
280
  }
281
- ne(l);
281
+ re(l);
282
282
  }
283
- let Lt;
284
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
283
+ let Bt;
284
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
285
285
  /** The Svelte component constructor */
286
286
  $$ctor;
287
287
  /** Slots */
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
323
323
  let a;
324
324
  return {
325
325
  c: function() {
326
- a = L("slot"), i !== "default" && N(a, "name", i);
326
+ a = P("slot"), i !== "default" && M(a, "name", i);
327
327
  },
328
328
  /**
329
329
  * @param {HTMLElement} target
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
340
340
  };
341
341
  if (await Promise.resolve(), !this.$$cn || this.$$c)
342
342
  return;
343
- const t = {}, r = lr(this);
343
+ const t = {}, r = hr(this);
344
344
  for (const i of this.$$s)
345
345
  i in r && (t[i] = [e(i)]);
346
346
  for (const i of this.attributes) {
@@ -376,8 +376,8 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
376
376
  this.$$c.$$.after_update.push(n), n();
377
377
  for (const i in this.$$l)
378
378
  for (const a of this.$$l[i]) {
379
- const o = this.$$c.$on(i, a);
380
- this.$$l_u.set(a, o);
379
+ const s = this.$$c.$on(i, a);
380
+ this.$$l_u.set(a, s);
381
381
  }
382
382
  this.$$l = {};
383
383
  }
@@ -427,36 +427,36 @@ function ve(e, t, r, n) {
427
427
  return t;
428
428
  }
429
429
  }
430
- function Er(e, t, r, n, i, a) {
431
- let o = class extends Lt {
430
+ function xr(e, t, r, n, i, a) {
431
+ let s = class extends Bt {
432
432
  constructor() {
433
433
  super(e, r, i), this.$$p_d = t;
434
434
  }
435
435
  static get observedAttributes() {
436
436
  return Object.keys(t).map(
437
- (s) => (t[s].attribute || s).toLowerCase()
437
+ (o) => (t[o].attribute || o).toLowerCase()
438
438
  );
439
439
  }
440
440
  };
441
- return Object.keys(t).forEach((s) => {
442
- Object.defineProperty(o.prototype, s, {
441
+ return Object.keys(t).forEach((o) => {
442
+ Object.defineProperty(s.prototype, o, {
443
443
  get() {
444
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
444
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
445
445
  },
446
446
  set(l) {
447
- l = ve(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
447
+ l = ve(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
448
448
  }
449
449
  });
450
- }), n.forEach((s) => {
451
- Object.defineProperty(o.prototype, s, {
450
+ }), n.forEach((o) => {
451
+ Object.defineProperty(s.prototype, o, {
452
452
  get() {
453
- return this.$$c?.[s];
453
+ return this.$$c?.[o];
454
454
  }
455
455
  });
456
456
  }), e.element = /** @type {any} */
457
- o, o;
457
+ s, s;
458
458
  }
459
- class xr {
459
+ class Tr {
460
460
  /**
461
461
  * ### PRIVATE API
462
462
  *
@@ -475,7 +475,7 @@ class xr {
475
475
  $$set = void 0;
476
476
  /** @returns {void} */
477
477
  $destroy() {
478
- yr(this, 1), this.$destroy = M;
478
+ vr(this, 1), this.$destroy = I;
479
479
  }
480
480
  /**
481
481
  * @template {Extract<keyof Events, string>} K
@@ -485,7 +485,7 @@ class xr {
485
485
  */
486
486
  $on(t, r) {
487
487
  if (!qe(r))
488
- return M;
488
+ return I;
489
489
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
490
490
  return n.push(r), () => {
491
491
  const i = n.indexOf(r);
@@ -497,19 +497,19 @@ class xr {
497
497
  * @returns {void}
498
498
  */
499
499
  $set(t) {
500
- this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
500
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
501
501
  }
502
502
  }
503
- const Tr = "4";
504
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
505
- const j = "__WIDGET_GLOBAL_STYLE_CACHE__";
506
- function wr(e, t) {
503
+ const wr = "4";
504
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
505
+ const z = "__WIDGET_GLOBAL_STYLE_CACHE__";
506
+ function Hr(e, t) {
507
507
  if (e) {
508
508
  const r = document.createElement("style");
509
509
  r.innerHTML = t, e.appendChild(r);
510
510
  }
511
511
  }
512
- function Hr(e, t) {
512
+ function Ar(e, t) {
513
513
  if (!e || !t)
514
514
  return;
515
515
  const r = new URL(t);
@@ -520,90 +520,90 @@ function Hr(e, t) {
520
520
  console.error("There was an error while trying to load client styling from URL", n);
521
521
  });
522
522
  }
523
- function Ar(e, t, r, n = !1) {
523
+ function Sr(e, t, r, n = !1) {
524
524
  if (!window.emMessageBus)
525
525
  return;
526
526
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
527
- return r = Sr(e, t), r;
528
- window[j] || (window[j] = {}), r = Br(e, t);
529
- const a = r.unsubscribe.bind(r), o = () => {
530
- if (window[j][t]) {
531
- const s = window[j][t];
532
- s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[j][t];
527
+ return r = Br(e, t), r;
528
+ window[z] || (window[z] = {}), r = Pr(e, t);
529
+ const a = r.unsubscribe.bind(r), s = () => {
530
+ if (window[z][t]) {
531
+ const o = window[z][t];
532
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[z][t];
533
533
  }
534
534
  a();
535
535
  };
536
- return r.unsubscribe = o, r;
536
+ return r.unsubscribe = s, r;
537
537
  }
538
- function Sr(e, t) {
538
+ function Br(e, t) {
539
539
  const r = document.createElement("style");
540
540
  return window.emMessageBus.subscribe(t, (n) => {
541
541
  e && (r.innerHTML = n, e.appendChild(r));
542
542
  });
543
543
  }
544
- function Br(e, t) {
544
+ function Pr(e, t) {
545
545
  return window.emMessageBus.subscribe(t, (r) => {
546
546
  if (!e)
547
547
  return;
548
- const n = e.getRootNode(), i = window[j];
548
+ const n = e.getRootNode(), i = window[z];
549
549
  let a = i[t] && i[t].sheet;
550
550
  a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
551
551
  sheet: a,
552
552
  refCount: 1
553
553
  });
554
- const o = n.adoptedStyleSheets || [];
555
- o.includes(a) || (n.adoptedStyleSheets = [...o, a]);
554
+ const s = n.adoptedStyleSheets || [];
555
+ s.includes(a) || (n.adoptedStyleSheets = [...s, a]);
556
556
  });
557
557
  }
558
- const F = [];
558
+ const G = [];
559
559
  function Lr(e, t) {
560
560
  return {
561
561
  subscribe: Ae(e, t).subscribe
562
562
  };
563
563
  }
564
- function Ae(e, t = M) {
564
+ function Ae(e, t = I) {
565
565
  let r;
566
566
  const n = /* @__PURE__ */ new Set();
567
- function i(s) {
568
- if (At(e, s) && (e = s, r)) {
569
- const l = !F.length;
567
+ function i(o) {
568
+ if (Ht(e, o) && (e = o, r)) {
569
+ const l = !G.length;
570
570
  for (const u of n)
571
- u[1](), F.push(u, e);
571
+ u[1](), G.push(u, e);
572
572
  if (l) {
573
- for (let u = 0; u < F.length; u += 2)
574
- F[u][0](F[u + 1]);
575
- F.length = 0;
573
+ for (let u = 0; u < G.length; u += 2)
574
+ G[u][0](G[u + 1]);
575
+ G.length = 0;
576
576
  }
577
577
  }
578
578
  }
579
- function a(s) {
580
- i(s(e));
579
+ function a(o) {
580
+ i(o(e));
581
581
  }
582
- function o(s, l = M) {
583
- const u = [s, l];
584
- return n.add(u), n.size === 1 && (r = t(i, a) || M), s(e), () => {
582
+ function s(o, l = I) {
583
+ const u = [o, l];
584
+ return n.add(u), n.size === 1 && (r = t(i, a) || I), o(e), () => {
585
585
  n.delete(u), n.size === 0 && r && (r(), r = null);
586
586
  };
587
587
  }
588
- return { set: i, update: a, subscribe: o };
588
+ return { set: i, update: a, subscribe: s };
589
589
  }
590
- function Q(e, t, r) {
590
+ function Y(e, t, r) {
591
591
  const n = !Array.isArray(e), i = n ? [e] : e;
592
592
  if (!i.every(Boolean))
593
593
  throw new Error("derived() expects stores as input, got a falsy value");
594
594
  const a = t.length < 2;
595
- return Lr(r, (o, s) => {
595
+ return Lr(r, (s, o) => {
596
596
  let l = !1;
597
597
  const u = [];
598
- let h = 0, c = M;
598
+ let h = 0, c = I;
599
599
  const f = () => {
600
600
  if (h)
601
601
  return;
602
602
  c();
603
- const g = t(n ? u[0] : u, o, s);
604
- a ? o(g) : c = qe(g) ? g : M;
605
- }, d = i.map(
606
- (g, x) => St(
603
+ const g = t(n ? u[0] : u, s, o);
604
+ a ? s(g) : c = qe(g) ? g : I;
605
+ }, p = i.map(
606
+ (g, x) => At(
607
607
  g,
608
608
  (w) => {
609
609
  u[x] = w, h &= ~(1 << x), l && f();
@@ -614,51 +614,51 @@ function Q(e, t, r) {
614
614
  )
615
615
  );
616
616
  return l = !0, f(), function() {
617
- se(d), c(), l = !1;
617
+ se(p), c(), l = !1;
618
618
  };
619
619
  });
620
620
  }
621
- function Pr(e) {
621
+ function Cr(e) {
622
622
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
623
623
  }
624
- var Cr = function(t) {
625
- return Or(t) && !Ir(t);
624
+ var Or = function(t) {
625
+ return Ir(t) && !Mr(t);
626
626
  };
627
- function Or(e) {
627
+ function Ir(e) {
628
628
  return !!e && typeof e == "object";
629
629
  }
630
- function Ir(e) {
630
+ function Mr(e) {
631
631
  var t = Object.prototype.toString.call(e);
632
- return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
633
- }
634
- var Mr = typeof Symbol == "function" && Symbol.for, Nr = Mr ? Symbol.for("react.element") : 60103;
635
- function Rr(e) {
636
- return e.$$typeof === Nr;
632
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
637
633
  }
634
+ var Nr = typeof Symbol == "function" && Symbol.for, Rr = Nr ? Symbol.for("react.element") : 60103;
638
635
  function Dr(e) {
636
+ return e.$$typeof === Rr;
637
+ }
638
+ function kr(e) {
639
639
  return Array.isArray(e) ? [] : {};
640
640
  }
641
- function ae(e, t) {
642
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Dr(e), e, t) : e;
641
+ function ie(e, t) {
642
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(kr(e), e, t) : e;
643
643
  }
644
- function kr(e, t, r) {
644
+ function $r(e, t, r) {
645
645
  return e.concat(t).map(function(n) {
646
- return ae(n, r);
646
+ return ie(n, r);
647
647
  });
648
648
  }
649
- function $r(e, t) {
649
+ function Ur(e, t) {
650
650
  if (!t.customMerge)
651
- return q;
651
+ return X;
652
652
  var r = t.customMerge(e);
653
- return typeof r == "function" ? r : q;
653
+ return typeof r == "function" ? r : X;
654
654
  }
655
- function Ur(e) {
655
+ function Gr(e) {
656
656
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
657
657
  return Object.propertyIsEnumerable.call(e, t);
658
658
  }) : [];
659
659
  }
660
- function rt(e) {
661
- return Object.keys(e).concat(Ur(e));
660
+ function tt(e) {
661
+ return Object.keys(e).concat(Gr(e));
662
662
  }
663
663
  function Pt(e, t) {
664
664
  try {
@@ -667,31 +667,31 @@ function Pt(e, t) {
667
667
  return !1;
668
668
  }
669
669
  }
670
- function Gr(e, t) {
670
+ function Fr(e, t) {
671
671
  return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
672
672
  }
673
- function Fr(e, t, r) {
673
+ function zr(e, t, r) {
674
674
  var n = {};
675
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
676
- n[i] = ae(e[i], r);
677
- }), rt(t).forEach(function(i) {
678
- Gr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
675
+ return r.isMergeableObject(e) && tt(e).forEach(function(i) {
676
+ n[i] = ie(e[i], r);
677
+ }), tt(t).forEach(function(i) {
678
+ Fr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
679
679
  }), n;
680
680
  }
681
- function q(e, t, r) {
682
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || Cr, r.cloneUnlessOtherwiseSpecified = ae;
681
+ function X(e, t, r) {
682
+ r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = ie;
683
683
  var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
684
- return a ? n ? r.arrayMerge(e, t, r) : Fr(e, t, r) : ae(t, r);
684
+ return a ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : ie(t, r);
685
685
  }
686
- q.all = function(t, r) {
686
+ X.all = function(t, r) {
687
687
  if (!Array.isArray(t))
688
688
  throw new Error("first argument should be an array");
689
689
  return t.reduce(function(n, i) {
690
- return q(n, i, r);
690
+ return X(n, i, r);
691
691
  }, {});
692
692
  };
693
- var zr = q, jr = zr;
694
- const Vr = /* @__PURE__ */ Pr(jr);
693
+ var jr = X, Vr = jr;
694
+ const Wr = /* @__PURE__ */ Cr(Vr);
695
695
  var Ue = function(e, t) {
696
696
  return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
697
697
  r.__proto__ = n;
@@ -709,17 +709,17 @@ function Se(e, t) {
709
709
  }
710
710
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
711
711
  }
712
- var P = function() {
713
- return P = Object.assign || function(t) {
712
+ var L = function() {
713
+ return L = Object.assign || function(t) {
714
714
  for (var r, n = 1, i = arguments.length; n < i; n++) {
715
715
  r = arguments[n];
716
716
  for (var a in r)
717
717
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
718
718
  }
719
719
  return t;
720
- }, P.apply(this, arguments);
720
+ }, L.apply(this, arguments);
721
721
  };
722
- function Wr(e, t) {
722
+ function Xr(e, t) {
723
723
  var r = {};
724
724
  for (var n in e)
725
725
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -735,36 +735,36 @@ function Ce(e, t, r) {
735
735
  return e.concat(a || Array.prototype.slice.call(t));
736
736
  }
737
737
  function Oe(e, t) {
738
- var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Jr;
738
+ var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Zr;
739
739
  return i(e, {
740
740
  cache: r,
741
741
  serializer: n
742
742
  });
743
743
  }
744
- function Xr(e) {
744
+ function qr(e) {
745
745
  return e == null || typeof e == "number" || typeof e == "boolean";
746
746
  }
747
- function qr(e, t, r, n) {
748
- var i = Xr(n) ? n : r(n), a = t.get(i);
747
+ function Jr(e, t, r, n) {
748
+ var i = qr(n) ? n : r(n), a = t.get(i);
749
749
  return typeof a > "u" && (a = e.call(this, n), t.set(i, a)), a;
750
750
  }
751
- function Ct(e, t, r) {
751
+ function Lt(e, t, r) {
752
752
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
753
753
  return typeof a > "u" && (a = e.apply(this, n), t.set(i, a)), a;
754
754
  }
755
- function Ot(e, t, r, n, i) {
755
+ function Ct(e, t, r, n, i) {
756
756
  return r.bind(t, e, n, i);
757
757
  }
758
- function Jr(e, t) {
759
- var r = e.length === 1 ? qr : Ct;
760
- return Ot(e, this, r, t.cache.create(), t.serializer);
761
- }
762
758
  function Zr(e, t) {
763
- return Ot(e, this, Ct, t.cache.create(), t.serializer);
759
+ var r = e.length === 1 ? Jr : Lt;
760
+ return Ct(e, this, r, t.cache.create(), t.serializer);
764
761
  }
765
- var Yr = function() {
762
+ function Yr(e, t) {
763
+ return Ct(e, this, Lt, t.cache.create(), t.serializer);
764
+ }
765
+ var Qr = function() {
766
766
  return JSON.stringify(arguments);
767
- }, Qr = (
767
+ }, Kr = (
768
768
  /** @class */
769
769
  function() {
770
770
  function e() {
@@ -776,12 +776,12 @@ var Yr = function() {
776
776
  this.cache[t] = r;
777
777
  }, e;
778
778
  }()
779
- ), Kr = {
779
+ ), en = {
780
780
  create: function() {
781
- return new Qr();
781
+ return new Kr();
782
782
  }
783
783
  }, Ie = {
784
- variadic: Zr
784
+ variadic: Yr
785
785
  }, xe = function() {
786
786
  return xe = Object.assign || function(t) {
787
787
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -800,47 +800,47 @@ var _;
800
800
  (function(e) {
801
801
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
802
802
  })(_ || (_ = {}));
803
- var J;
803
+ var q;
804
804
  (function(e) {
805
805
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
806
- })(J || (J = {}));
807
- function nt(e) {
806
+ })(q || (q = {}));
807
+ function rt(e) {
808
808
  return e.type === _.literal;
809
809
  }
810
- function en(e) {
810
+ function tn(e) {
811
811
  return e.type === _.argument;
812
812
  }
813
- function It(e) {
813
+ function Ot(e) {
814
814
  return e.type === _.number;
815
815
  }
816
- function Mt(e) {
816
+ function It(e) {
817
817
  return e.type === _.date;
818
818
  }
819
- function Nt(e) {
819
+ function Mt(e) {
820
820
  return e.type === _.time;
821
821
  }
822
- function Rt(e) {
822
+ function Nt(e) {
823
823
  return e.type === _.select;
824
824
  }
825
- function Dt(e) {
825
+ function Rt(e) {
826
826
  return e.type === _.plural;
827
827
  }
828
- function tn(e) {
828
+ function rn(e) {
829
829
  return e.type === _.pound;
830
830
  }
831
- function kt(e) {
831
+ function Dt(e) {
832
832
  return e.type === _.tag;
833
833
  }
834
- function $t(e) {
835
- return !!(e && typeof e == "object" && e.type === J.number);
834
+ function kt(e) {
835
+ return !!(e && typeof e == "object" && e.type === q.number);
836
836
  }
837
837
  function Ge(e) {
838
- return !!(e && typeof e == "object" && e.type === J.dateTime);
838
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
839
839
  }
840
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
841
- function nn(e) {
840
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
841
+ function an(e) {
842
842
  var t = {};
843
- return e.replace(rn, function(r) {
843
+ return e.replace(nn, function(r) {
844
844
  var n = r.length;
845
845
  switch (r[0]) {
846
846
  case "G":
@@ -939,36 +939,36 @@ var E = function() {
939
939
  return t;
940
940
  }, E.apply(this, arguments);
941
941
  };
942
- var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
942
+ var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
943
943
  function on(e) {
944
944
  if (e.length === 0)
945
945
  throw new Error("Number skeleton cannot be empty");
946
- for (var t = e.split(an).filter(function(f) {
946
+ for (var t = e.split(sn).filter(function(f) {
947
947
  return f.length > 0;
948
948
  }), r = [], n = 0, i = t; n < i.length; n++) {
949
- var a = i[n], o = a.split("/");
950
- if (o.length === 0)
949
+ var a = i[n], s = a.split("/");
950
+ if (s.length === 0)
951
951
  throw new Error("Invalid number skeleton");
952
- for (var s = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
952
+ for (var o = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
953
953
  var c = h[u];
954
954
  if (c.length === 0)
955
955
  throw new Error("Invalid number skeleton");
956
956
  }
957
- r.push({ stem: s, options: l });
957
+ r.push({ stem: o, options: l });
958
958
  }
959
959
  return r;
960
960
  }
961
- function sn(e) {
961
+ function un(e) {
962
962
  return e.replace(/^(.*?)-/, "");
963
963
  }
964
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
965
- function at(e) {
964
+ var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
965
+ function it(e) {
966
966
  var t = {};
967
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
967
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
968
968
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
969
969
  }), t;
970
970
  }
971
- function zt(e) {
971
+ function Ft(e) {
972
972
  switch (e) {
973
973
  case "sign-auto":
974
974
  return {
@@ -1008,7 +1008,7 @@ function zt(e) {
1008
1008
  };
1009
1009
  }
1010
1010
  }
1011
- function ln(e) {
1011
+ function hn(e) {
1012
1012
  var t;
1013
1013
  if (e[0] === "E" && e[1] === "E" ? (t = {
1014
1014
  notation: "engineering"
@@ -1016,17 +1016,17 @@ function ln(e) {
1016
1016
  notation: "scientific"
1017
1017
  }, e = e.slice(1)), t) {
1018
1018
  var r = e.slice(0, 2);
1019
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
1019
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
1020
1020
  throw new Error("Malformed concise eng/scientific notation");
1021
1021
  t.minimumIntegerDigits = e.length;
1022
1022
  }
1023
1023
  return t;
1024
1024
  }
1025
- function ot(e) {
1026
- var t = {}, r = zt(e);
1025
+ function at(e) {
1026
+ var t = {}, r = Ft(e);
1027
1027
  return r || t;
1028
1028
  }
1029
- function hn(e) {
1029
+ function cn(e) {
1030
1030
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1031
1031
  var i = n[r];
1032
1032
  switch (i.stem) {
@@ -1050,7 +1050,7 @@ function hn(e) {
1050
1050
  continue;
1051
1051
  case "measure-unit":
1052
1052
  case "unit":
1053
- t.style = "unit", t.unit = sn(i.options[0]);
1053
+ t.style = "unit", t.unit = un(i.options[0]);
1054
1054
  continue;
1055
1055
  case "compact-short":
1056
1056
  case "K":
@@ -1062,12 +1062,12 @@ function hn(e) {
1062
1062
  continue;
1063
1063
  case "scientific":
1064
1064
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1065
- return E(E({}, l), ot(u));
1065
+ return E(E({}, l), at(u));
1066
1066
  }, {}));
1067
1067
  continue;
1068
1068
  case "engineering":
1069
1069
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1070
- return E(E({}, l), ot(u));
1070
+ return E(E({}, l), at(u));
1071
1071
  }, {}));
1072
1072
  continue;
1073
1073
  case "notation-simple":
@@ -1112,41 +1112,41 @@ function hn(e) {
1112
1112
  case "integer-width":
1113
1113
  if (i.options.length > 1)
1114
1114
  throw new RangeError("integer-width stems only accept a single optional option");
1115
- i.options[0].replace(un, function(l, u, h, c, f, d) {
1115
+ i.options[0].replace(ln, function(l, u, h, c, f, p) {
1116
1116
  if (u)
1117
1117
  t.minimumIntegerDigits = h.length;
1118
1118
  else {
1119
1119
  if (c && f)
1120
1120
  throw new Error("We currently do not support maximum integer digits");
1121
- if (d)
1121
+ if (p)
1122
1122
  throw new Error("We currently do not support exact integer digits");
1123
1123
  }
1124
1124
  return "";
1125
1125
  });
1126
1126
  continue;
1127
1127
  }
1128
- if (Ft.test(i.stem)) {
1128
+ if (Gt.test(i.stem)) {
1129
1129
  t.minimumIntegerDigits = i.stem.length;
1130
1130
  continue;
1131
1131
  }
1132
- if (it.test(i.stem)) {
1132
+ if (nt.test(i.stem)) {
1133
1133
  if (i.options.length > 1)
1134
1134
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1135
- i.stem.replace(it, function(l, u, h, c, f, d) {
1136
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1135
+ i.stem.replace(nt, function(l, u, h, c, f, p) {
1136
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1137
1137
  });
1138
1138
  var a = i.options[0];
1139
- a === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = E(E({}, t), at(a)));
1139
+ a === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = E(E({}, t), it(a)));
1140
1140
  continue;
1141
1141
  }
1142
- if (Gt.test(i.stem)) {
1143
- t = E(E({}, t), at(i.stem));
1142
+ if (Ut.test(i.stem)) {
1143
+ t = E(E({}, t), it(i.stem));
1144
1144
  continue;
1145
1145
  }
1146
- var o = zt(i.stem);
1147
- o && (t = E(E({}, t), o));
1148
- var s = ln(i.stem);
1146
+ var s = Ft(i.stem);
1149
1147
  s && (t = E(E({}, t), s));
1148
+ var o = hn(i.stem);
1149
+ o && (t = E(E({}, t), o));
1150
1150
  }
1151
1151
  return t;
1152
1152
  }
@@ -2565,23 +2565,23 @@ var be = {
2565
2565
  "h"
2566
2566
  ]
2567
2567
  };
2568
- function cn(e, t) {
2568
+ function fn(e, t) {
2569
2569
  for (var r = "", n = 0; n < e.length; n++) {
2570
2570
  var i = e.charAt(n);
2571
2571
  if (i === "j") {
2572
2572
  for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2573
2573
  a++, n++;
2574
- var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = fn(t);
2575
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2574
+ var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = mn(t);
2575
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2576
2576
  r += l;
2577
- for (; o-- > 0; )
2577
+ for (; s-- > 0; )
2578
2578
  r = u + r;
2579
2579
  } else
2580
2580
  i === "J" ? r += "H" : r += i;
2581
2581
  }
2582
2582
  return r;
2583
2583
  }
2584
- function fn(e) {
2584
+ function mn(e) {
2585
2585
  var t = e.hourCycle;
2586
2586
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2587
2587
  e.hourCycles && // @ts-ignore
@@ -2603,20 +2603,20 @@ function fn(e) {
2603
2603
  var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2604
2604
  return i[0];
2605
2605
  }
2606
- var Me, mn = new RegExp("^".concat(Ut.source, "*")), dn = new RegExp("".concat(Ut.source, "*$"));
2606
+ var Me, dn = new RegExp("^".concat($t.source, "*")), pn = new RegExp("".concat($t.source, "*$"));
2607
2607
  function y(e, t) {
2608
2608
  return { start: e, end: t };
2609
2609
  }
2610
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, bn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, En = !!Number.isSafeInteger, xn = En ? Number.isSafeInteger : function(e) {
2610
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, yn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, Tn = xn ? Number.isSafeInteger : function(e) {
2611
2611
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2612
2612
  }, Fe = !0;
2613
2613
  try {
2614
- var Tn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
- Fe = ((Me = Tn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2614
+ var wn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
+ Fe = ((Me = wn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2616
2616
  } catch {
2617
2617
  Fe = !1;
2618
2618
  }
2619
- var st = pn ? (
2619
+ var st = gn ? (
2620
2620
  // Native
2621
2621
  function(t, r, n) {
2622
2622
  return t.startsWith(r, n);
@@ -2626,31 +2626,31 @@ var st = pn ? (
2626
2626
  function(t, r, n) {
2627
2627
  return t.slice(n, n + r.length) === r;
2628
2628
  }
2629
- ), ze = gn ? String.fromCodePoint : (
2629
+ ), ze = bn ? String.fromCodePoint : (
2630
2630
  // IE11
2631
2631
  function() {
2632
2632
  for (var t = [], r = 0; r < arguments.length; r++)
2633
2633
  t[r] = arguments[r];
2634
- for (var n = "", i = t.length, a = 0, o; i > a; ) {
2635
- if (o = t[a++], o > 1114111)
2636
- throw RangeError(o + " is not a valid code point");
2637
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2634
+ for (var n = "", i = t.length, a = 0, s; i > a; ) {
2635
+ if (s = t[a++], s > 1114111)
2636
+ throw RangeError(s + " is not a valid code point");
2637
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2638
2638
  }
2639
2639
  return n;
2640
2640
  }
2641
- ), ut = (
2641
+ ), ot = (
2642
2642
  // native
2643
- bn ? Object.fromEntries : (
2643
+ yn ? Object.fromEntries : (
2644
2644
  // Ponyfill
2645
2645
  function(t) {
2646
2646
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2647
- var a = i[n], o = a[0], s = a[1];
2648
- r[o] = s;
2647
+ var a = i[n], s = a[0], o = a[1];
2648
+ r[s] = o;
2649
2649
  }
2650
2650
  return r;
2651
2651
  }
2652
2652
  )
2653
- ), jt = yn ? (
2653
+ ), zt = vn ? (
2654
2654
  // Native
2655
2655
  function(t, r) {
2656
2656
  return t.codePointAt(r);
@@ -2664,7 +2664,7 @@ var st = pn ? (
2664
2664
  return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2665
2665
  }
2666
2666
  }
2667
- ), wn = vn ? (
2667
+ ), Hn = _n ? (
2668
2668
  // Native
2669
2669
  function(t) {
2670
2670
  return t.trimStart();
@@ -2672,9 +2672,9 @@ var st = pn ? (
2672
2672
  ) : (
2673
2673
  // Ponyfill
2674
2674
  function(t) {
2675
- return t.replace(mn, "");
2675
+ return t.replace(dn, "");
2676
2676
  }
2677
- ), Hn = _n ? (
2677
+ ), An = En ? (
2678
2678
  // Native
2679
2679
  function(t) {
2680
2680
  return t.trimEnd();
@@ -2682,32 +2682,32 @@ var st = pn ? (
2682
2682
  ) : (
2683
2683
  // Ponyfill
2684
2684
  function(t) {
2685
- return t.replace(dn, "");
2685
+ return t.replace(pn, "");
2686
2686
  }
2687
2687
  );
2688
- function Vt(e, t) {
2688
+ function jt(e, t) {
2689
2689
  return new RegExp(e, t);
2690
2690
  }
2691
2691
  var je;
2692
2692
  if (Fe) {
2693
- var lt = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2693
+ var ut = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2694
2694
  je = function(t, r) {
2695
2695
  var n;
2696
- lt.lastIndex = r;
2697
- var i = lt.exec(t);
2696
+ ut.lastIndex = r;
2697
+ var i = ut.exec(t);
2698
2698
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2699
2699
  };
2700
2700
  } else
2701
2701
  je = function(t, r) {
2702
2702
  for (var n = []; ; ) {
2703
- var i = jt(t, r);
2704
- if (i === void 0 || Wt(i) || Ln(i))
2703
+ var i = zt(t, r);
2704
+ if (i === void 0 || Vt(i) || Ln(i))
2705
2705
  break;
2706
2706
  n.push(i), r += i >= 65536 ? 2 : 1;
2707
2707
  }
2708
2708
  return ze.apply(void 0, n);
2709
2709
  };
2710
- var An = (
2710
+ var Sn = (
2711
2711
  /** @class */
2712
2712
  function() {
2713
2713
  function e(t, r) {
@@ -2721,33 +2721,33 @@ var An = (
2721
2721
  for (var i = []; !this.isEOF(); ) {
2722
2722
  var a = this.char();
2723
2723
  if (a === 123) {
2724
- var o = this.parseArgument(t, n);
2725
- if (o.err)
2726
- return o;
2727
- i.push(o.val);
2724
+ var s = this.parseArgument(t, n);
2725
+ if (s.err)
2726
+ return s;
2727
+ i.push(s.val);
2728
2728
  } else {
2729
2729
  if (a === 125 && t > 0)
2730
2730
  break;
2731
2731
  if (a === 35 && (r === "plural" || r === "selectordinal")) {
2732
- var s = this.clonePosition();
2732
+ var o = this.clonePosition();
2733
2733
  this.bump(), i.push({
2734
2734
  type: _.pound,
2735
- location: y(s, this.clonePosition())
2735
+ location: y(o, this.clonePosition())
2736
2736
  });
2737
2737
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2738
2738
  if (n)
2739
2739
  break;
2740
2740
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2741
2741
  } else if (a === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2742
- var o = this.parseTag(t, r);
2743
- if (o.err)
2744
- return o;
2745
- i.push(o.val);
2742
+ var s = this.parseTag(t, r);
2743
+ if (s.err)
2744
+ return s;
2745
+ i.push(s.val);
2746
2746
  } else {
2747
- var o = this.parseLiteral(t, r);
2748
- if (o.err)
2749
- return o;
2750
- i.push(o.val);
2747
+ var s = this.parseLiteral(t, r);
2748
+ if (s.err)
2749
+ return s;
2750
+ i.push(s.val);
2751
2751
  }
2752
2752
  }
2753
2753
  }
@@ -2769,27 +2769,27 @@ var An = (
2769
2769
  var a = this.parseMessage(t + 1, r, !0);
2770
2770
  if (a.err)
2771
2771
  return a;
2772
- var o = a.val, s = this.clonePosition();
2772
+ var s = a.val, o = this.clonePosition();
2773
2773
  if (this.bumpIf("</")) {
2774
2774
  if (this.isEOF() || !Ve(this.char()))
2775
- return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
2775
+ return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
2776
2776
  var l = this.clonePosition(), u = this.parseTagName();
2777
2777
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2778
2778
  val: {
2779
2779
  type: _.tag,
2780
2780
  value: i,
2781
- children: o,
2781
+ children: s,
2782
2782
  location: y(n, this.clonePosition())
2783
2783
  },
2784
2784
  err: null
2785
- } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
2785
+ } : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
2786
2786
  } else
2787
2787
  return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2788
2788
  } else
2789
2789
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2790
2790
  }, e.prototype.parseTagName = function() {
2791
2791
  var t = this.offset();
2792
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
2792
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
2793
2793
  this.bump();
2794
2794
  return this.message.slice(t, this.offset());
2795
2795
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2799,16 +2799,16 @@ var An = (
2799
2799
  i += a;
2800
2800
  continue;
2801
2801
  }
2802
- var o = this.tryParseUnquoted(t, r);
2803
- if (o) {
2804
- i += o;
2805
- continue;
2806
- }
2807
- var s = this.tryParseLeftAngleBracket();
2802
+ var s = this.tryParseUnquoted(t, r);
2808
2803
  if (s) {
2809
2804
  i += s;
2810
2805
  continue;
2811
2806
  }
2807
+ var o = this.tryParseLeftAngleBracket();
2808
+ if (o) {
2809
+ i += o;
2810
+ continue;
2811
+ }
2812
2812
  break;
2813
2813
  }
2814
2814
  var l = y(n, this.clonePosition());
@@ -2818,7 +2818,7 @@ var An = (
2818
2818
  };
2819
2819
  }, e.prototype.tryParseLeftAngleBracket = function() {
2820
2820
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2821
- !Sn(this.peek() || 0)) ? (this.bump(), "<") : null;
2821
+ !Bn(this.peek() || 0)) ? (this.bump(), "<") : null;
2822
2822
  }, e.prototype.tryParseQuote = function(t) {
2823
2823
  if (this.isEOF() || this.char() !== 39)
2824
2824
  return null;
@@ -2888,13 +2888,13 @@ var An = (
2888
2888
  }, e.prototype.parseIdentifierIfPossible = function() {
2889
2889
  var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2890
2890
  this.bumpTo(i);
2891
- var a = this.clonePosition(), o = y(t, a);
2892
- return { value: n, location: o };
2891
+ var a = this.clonePosition(), s = y(t, a);
2892
+ return { value: n, location: s };
2893
2893
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2894
- var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2895
- switch (s) {
2894
+ var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2895
+ switch (o) {
2896
2896
  case "":
2897
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, l));
2897
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, l));
2898
2898
  case "number":
2899
2899
  case "date":
2900
2900
  case "time": {
@@ -2905,19 +2905,19 @@ var An = (
2905
2905
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2906
2906
  if (c.err)
2907
2907
  return c;
2908
- var f = Hn(c.val);
2908
+ var f = An(c.val);
2909
2909
  if (f.length === 0)
2910
2910
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2911
- var d = y(h, this.clonePosition());
2912
- u = { style: f, styleLocation: d };
2911
+ var p = y(h, this.clonePosition());
2912
+ u = { style: f, styleLocation: p };
2913
2913
  }
2914
2914
  var g = this.tryParseArgumentClose(i);
2915
2915
  if (g.err)
2916
2916
  return g;
2917
2917
  var x = y(i, this.clonePosition());
2918
2918
  if (u && st(u?.style, "::", 0)) {
2919
- var w = wn(u.style.slice(2));
2920
- if (s === "number") {
2919
+ var w = Hn(u.style.slice(2));
2920
+ if (o === "number") {
2921
2921
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
2922
2922
  return c.err ? c : {
2923
2923
  val: { type: _.number, value: n, location: x, style: c.val },
@@ -2927,13 +2927,13 @@ var An = (
2927
2927
  if (w.length === 0)
2928
2928
  return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
2929
2929
  var T = w;
2930
- this.locale && (T = cn(w, this.locale));
2930
+ this.locale && (T = fn(w, this.locale));
2931
2931
  var f = {
2932
- type: J.dateTime,
2932
+ type: q.dateTime,
2933
2933
  pattern: T,
2934
2934
  location: u.styleLocation,
2935
- parsedOptions: this.shouldParseSkeletons ? nn(T) : {}
2936
- }, m = s === "date" ? _.date : _.time;
2935
+ parsedOptions: this.shouldParseSkeletons ? an(T) : {}
2936
+ }, m = o === "date" ? _.date : _.time;
2937
2937
  return {
2938
2938
  val: { type: m, value: n, location: x, style: f },
2939
2939
  err: null
@@ -2942,7 +2942,7 @@ var An = (
2942
2942
  }
2943
2943
  return {
2944
2944
  val: {
2945
- type: s === "number" ? _.number : s === "date" ? _.date : _.time,
2945
+ type: o === "number" ? _.number : o === "date" ? _.date : _.time,
2946
2946
  value: n,
2947
2947
  location: x,
2948
2948
  style: (a = u?.style) !== null && a !== void 0 ? a : null
@@ -2957,45 +2957,45 @@ var An = (
2957
2957
  if (this.bumpSpace(), !this.bumpIf(","))
2958
2958
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(v, xe({}, v)));
2959
2959
  this.bumpSpace();
2960
- var R = this.parseIdentifierIfPossible(), C = 0;
2961
- if (s !== "select" && R.value === "offset") {
2960
+ var N = this.parseIdentifierIfPossible(), C = 0;
2961
+ if (o !== "select" && N.value === "offset") {
2962
2962
  if (!this.bumpIf(":"))
2963
2963
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2964
2964
  this.bumpSpace();
2965
2965
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2966
2966
  if (c.err)
2967
2967
  return c;
2968
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), C = c.val;
2968
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), C = c.val;
2969
2969
  }
2970
- var p = this.tryParsePluralOrSelectOptions(t, s, r, R);
2971
- if (p.err)
2972
- return p;
2970
+ var d = this.tryParsePluralOrSelectOptions(t, o, r, N);
2971
+ if (d.err)
2972
+ return d;
2973
2973
  var g = this.tryParseArgumentClose(i);
2974
2974
  if (g.err)
2975
2975
  return g;
2976
- var O = y(i, this.clonePosition());
2977
- return s === "select" ? {
2976
+ var le = y(i, this.clonePosition());
2977
+ return o === "select" ? {
2978
2978
  val: {
2979
2979
  type: _.select,
2980
2980
  value: n,
2981
- options: ut(p.val),
2982
- location: O
2981
+ options: ot(d.val),
2982
+ location: le
2983
2983
  },
2984
2984
  err: null
2985
2985
  } : {
2986
2986
  val: {
2987
2987
  type: _.plural,
2988
2988
  value: n,
2989
- options: ut(p.val),
2989
+ options: ot(d.val),
2990
2990
  offset: C,
2991
- pluralType: s === "plural" ? "cardinal" : "ordinal",
2992
- location: O
2991
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
2992
+ location: le
2993
2993
  },
2994
2994
  err: null
2995
2995
  };
2996
2996
  }
2997
2997
  default:
2998
- return this.error(b.INVALID_ARGUMENT_TYPE, y(o, l));
2998
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, l));
2999
2999
  }
3000
3000
  }, e.prototype.tryParseArgumentClose = function(t) {
3001
3001
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3043,15 +3043,15 @@ var An = (
3043
3043
  }
3044
3044
  return {
3045
3045
  val: {
3046
- type: J.number,
3046
+ type: q.number,
3047
3047
  tokens: n,
3048
3048
  location: r,
3049
- parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
3049
+ parsedOptions: this.shouldParseSkeletons ? cn(n) : {}
3050
3050
  },
3051
3051
  err: null
3052
3052
  };
3053
3053
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3054
- for (var a, o = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3054
+ for (var a, s = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3055
3055
  if (u.length === 0) {
3056
3056
  var c = this.clonePosition();
3057
3057
  if (r !== "select" && this.bumpIf("=")) {
@@ -3064,37 +3064,37 @@ var An = (
3064
3064
  }
3065
3065
  if (l.has(u))
3066
3066
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3067
- u === "other" && (o = !0), this.bumpSpace();
3068
- var d = this.clonePosition();
3067
+ u === "other" && (s = !0), this.bumpSpace();
3068
+ var p = this.clonePosition();
3069
3069
  if (!this.bumpIf("{"))
3070
3070
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3071
3071
  var g = this.parseMessage(t + 1, r, n);
3072
3072
  if (g.err)
3073
3073
  return g;
3074
- var x = this.tryParseArgumentClose(d);
3074
+ var x = this.tryParseArgumentClose(p);
3075
3075
  if (x.err)
3076
3076
  return x;
3077
- s.push([
3077
+ o.push([
3078
3078
  u,
3079
3079
  {
3080
3080
  value: g.val,
3081
- location: y(d, this.clonePosition())
3081
+ location: y(p, this.clonePosition())
3082
3082
  }
3083
3083
  ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, h = a.location;
3084
3084
  }
3085
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3085
+ return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3086
3086
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3087
3087
  var n = 1, i = this.clonePosition();
3088
3088
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3089
- for (var a = !1, o = 0; !this.isEOF(); ) {
3090
- var s = this.char();
3091
- if (s >= 48 && s <= 57)
3092
- a = !0, o = o * 10 + (s - 48), this.bump();
3089
+ for (var a = !1, s = 0; !this.isEOF(); ) {
3090
+ var o = this.char();
3091
+ if (o >= 48 && o <= 57)
3092
+ a = !0, s = s * 10 + (o - 48), this.bump();
3093
3093
  else
3094
3094
  break;
3095
3095
  }
3096
3096
  var l = y(i, this.clonePosition());
3097
- return a ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3097
+ return a ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3098
3098
  }, e.prototype.offset = function() {
3099
3099
  return this.position.offset;
3100
3100
  }, e.prototype.isEOF = function() {
@@ -3109,7 +3109,7 @@ var An = (
3109
3109
  var t = this.position.offset;
3110
3110
  if (t >= this.message.length)
3111
3111
  throw Error("out of bound");
3112
- var r = jt(this.message, t);
3112
+ var r = zt(this.message, t);
3113
3113
  if (r === void 0)
3114
3114
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3115
3115
  return r;
@@ -3150,7 +3150,7 @@ var An = (
3150
3150
  break;
3151
3151
  }
3152
3152
  }, e.prototype.bumpSpace = function() {
3153
- for (; !this.isEOF() && Wt(this.char()); )
3153
+ for (; !this.isEOF() && Vt(this.char()); )
3154
3154
  this.bump();
3155
3155
  }, e.prototype.peek = function() {
3156
3156
  if (this.isEOF())
@@ -3163,13 +3163,13 @@ var An = (
3163
3163
  function Ve(e) {
3164
3164
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3165
3165
  }
3166
- function Sn(e) {
3166
+ function Bn(e) {
3167
3167
  return Ve(e) || e === 47;
3168
3168
  }
3169
- function Bn(e) {
3169
+ function Pn(e) {
3170
3170
  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;
3171
3171
  }
3172
- function Wt(e) {
3172
+ function Vt(e) {
3173
3173
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3174
3174
  }
3175
3175
  function Ln(e) {
@@ -3177,26 +3177,26 @@ function Ln(e) {
3177
3177
  }
3178
3178
  function We(e) {
3179
3179
  e.forEach(function(t) {
3180
- if (delete t.location, Rt(t) || Dt(t))
3180
+ if (delete t.location, Nt(t) || Rt(t))
3181
3181
  for (var r in t.options)
3182
3182
  delete t.options[r].location, We(t.options[r].value);
3183
3183
  else
3184
- It(t) && $t(t.style) || (Mt(t) || Nt(t)) && Ge(t.style) ? delete t.style.location : kt(t) && We(t.children);
3184
+ Ot(t) && kt(t.style) || (It(t) || Mt(t)) && Ge(t.style) ? delete t.style.location : Dt(t) && We(t.children);
3185
3185
  });
3186
3186
  }
3187
- function Pn(e, t) {
3187
+ function Cn(e, t) {
3188
3188
  t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3189
- var r = new An(e, t).parse();
3189
+ var r = new Sn(e, t).parse();
3190
3190
  if (r.err) {
3191
3191
  var n = SyntaxError(b[r.err.kind]);
3192
3192
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3193
3193
  }
3194
3194
  return t?.captureLocation || We(r.val), r.val;
3195
3195
  }
3196
- var Z;
3196
+ var J;
3197
3197
  (function(e) {
3198
3198
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3199
- })(Z || (Z = {}));
3199
+ })(J || (J = {}));
3200
3200
  var Be = (
3201
3201
  /** @class */
3202
3202
  function(e) {
@@ -3209,30 +3209,30 @@ var Be = (
3209
3209
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3210
3210
  }, t;
3211
3211
  }(Error)
3212
- ), ht = (
3212
+ ), lt = (
3213
3213
  /** @class */
3214
3214
  function(e) {
3215
3215
  Se(t, e);
3216
3216
  function t(r, n, i, a) {
3217
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, a) || this;
3217
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, a) || this;
3218
3218
  }
3219
3219
  return t;
3220
3220
  }(Be)
3221
- ), Cn = (
3221
+ ), On = (
3222
3222
  /** @class */
3223
3223
  function(e) {
3224
3224
  Se(t, e);
3225
3225
  function t(r, n, i) {
3226
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3226
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3227
3227
  }
3228
3228
  return t;
3229
3229
  }(Be)
3230
- ), On = (
3230
+ ), In = (
3231
3231
  /** @class */
3232
3232
  function(e) {
3233
3233
  Se(t, e);
3234
3234
  function t(r, n) {
3235
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3235
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3236
3236
  }
3237
3237
  return t;
3238
3238
  }(Be)
@@ -3240,34 +3240,34 @@ var Be = (
3240
3240
  (function(e) {
3241
3241
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3242
3242
  })(H || (H = {}));
3243
- function In(e) {
3243
+ function Mn(e) {
3244
3244
  return e.length < 2 ? e : e.reduce(function(t, r) {
3245
3245
  var n = t[t.length - 1];
3246
3246
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3247
3247
  }, []);
3248
3248
  }
3249
- function Mn(e) {
3249
+ function Nn(e) {
3250
3250
  return typeof e == "function";
3251
3251
  }
3252
- function _e(e, t, r, n, i, a, o) {
3253
- if (e.length === 1 && nt(e[0]))
3252
+ function _e(e, t, r, n, i, a, s) {
3253
+ if (e.length === 1 && rt(e[0]))
3254
3254
  return [
3255
3255
  {
3256
3256
  type: H.literal,
3257
3257
  value: e[0].value
3258
3258
  }
3259
3259
  ];
3260
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3260
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3261
3261
  var h = u[l];
3262
- if (nt(h)) {
3263
- s.push({
3262
+ if (rt(h)) {
3263
+ o.push({
3264
3264
  type: H.literal,
3265
3265
  value: h.value
3266
3266
  });
3267
3267
  continue;
3268
3268
  }
3269
- if (tn(h)) {
3270
- typeof a == "number" && s.push({
3269
+ if (rn(h)) {
3270
+ typeof a == "number" && o.push({
3271
3271
  type: H.literal,
3272
3272
  value: r.getNumberFormat(t).format(a)
3273
3273
  });
@@ -3275,87 +3275,87 @@ function _e(e, t, r, n, i, a, o) {
3275
3275
  }
3276
3276
  var c = h.value;
3277
3277
  if (!(i && c in i))
3278
- throw new On(c, o);
3278
+ throw new In(c, s);
3279
3279
  var f = i[c];
3280
- if (en(h)) {
3281
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3280
+ if (tn(h)) {
3281
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3282
3282
  type: typeof f == "string" ? H.literal : H.object,
3283
3283
  value: f
3284
3284
  });
3285
3285
  continue;
3286
3286
  }
3287
- if (Mt(h)) {
3288
- var d = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3289
- s.push({
3287
+ if (It(h)) {
3288
+ var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3289
+ o.push({
3290
3290
  type: H.literal,
3291
- value: r.getDateTimeFormat(t, d).format(f)
3291
+ value: r.getDateTimeFormat(t, p).format(f)
3292
3292
  });
3293
3293
  continue;
3294
3294
  }
3295
- if (Nt(h)) {
3296
- var d = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3297
- s.push({
3295
+ if (Mt(h)) {
3296
+ var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3297
+ o.push({
3298
3298
  type: H.literal,
3299
- value: r.getDateTimeFormat(t, d).format(f)
3299
+ value: r.getDateTimeFormat(t, p).format(f)
3300
3300
  });
3301
3301
  continue;
3302
3302
  }
3303
- if (It(h)) {
3304
- var d = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
3305
- d && d.scale && (f = f * (d.scale || 1)), s.push({
3303
+ if (Ot(h)) {
3304
+ var p = typeof h.style == "string" ? n.number[h.style] : kt(h.style) ? h.style.parsedOptions : void 0;
3305
+ p && p.scale && (f = f * (p.scale || 1)), o.push({
3306
3306
  type: H.literal,
3307
- value: r.getNumberFormat(t, d).format(f)
3307
+ value: r.getNumberFormat(t, p).format(f)
3308
3308
  });
3309
3309
  continue;
3310
3310
  }
3311
- if (kt(h)) {
3311
+ if (Dt(h)) {
3312
3312
  var g = h.children, x = h.value, w = i[x];
3313
- if (!Mn(w))
3314
- throw new Cn(x, "function", o);
3313
+ if (!Nn(w))
3314
+ throw new On(x, "function", s);
3315
3315
  var T = _e(g, t, r, n, i, a), m = w(T.map(function(C) {
3316
3316
  return C.value;
3317
3317
  }));
3318
- Array.isArray(m) || (m = [m]), s.push.apply(s, m.map(function(C) {
3318
+ Array.isArray(m) || (m = [m]), o.push.apply(o, m.map(function(C) {
3319
3319
  return {
3320
3320
  type: typeof C == "string" ? H.literal : H.object,
3321
3321
  value: C
3322
3322
  };
3323
3323
  }));
3324
3324
  }
3325
- if (Rt(h)) {
3325
+ if (Nt(h)) {
3326
3326
  var v = h.options[f] || h.options.other;
3327
3327
  if (!v)
3328
- throw new ht(h.value, f, Object.keys(h.options), o);
3329
- s.push.apply(s, _e(v.value, t, r, n, i));
3328
+ throw new lt(h.value, f, Object.keys(h.options), s);
3329
+ o.push.apply(o, _e(v.value, t, r, n, i));
3330
3330
  continue;
3331
3331
  }
3332
- if (Dt(h)) {
3332
+ if (Rt(h)) {
3333
3333
  var v = h.options["=".concat(f)];
3334
3334
  if (!v) {
3335
3335
  if (!Intl.PluralRules)
3336
3336
  throw new Be(`Intl.PluralRules is not available in this environment.
3337
3337
  Try polyfilling it using "@formatjs/intl-pluralrules"
3338
- `, Z.MISSING_INTL_API, o);
3339
- var R = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3340
- v = h.options[R] || h.options.other;
3338
+ `, J.MISSING_INTL_API, s);
3339
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3340
+ v = h.options[N] || h.options.other;
3341
3341
  }
3342
3342
  if (!v)
3343
- throw new ht(h.value, f, Object.keys(h.options), o);
3344
- s.push.apply(s, _e(v.value, t, r, n, i, f - (h.offset || 0)));
3343
+ throw new lt(h.value, f, Object.keys(h.options), s);
3344
+ o.push.apply(o, _e(v.value, t, r, n, i, f - (h.offset || 0)));
3345
3345
  continue;
3346
3346
  }
3347
3347
  }
3348
- return In(s);
3348
+ return Mn(o);
3349
3349
  }
3350
- function Nn(e, t) {
3351
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3352
- return r[n] = P(P({}, e[n]), t[n] || {}), r;
3350
+ function Rn(e, t) {
3351
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3352
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3353
3353
  }, {})) : e;
3354
3354
  }
3355
- function Rn(e, t) {
3355
+ function Dn(e, t) {
3356
3356
  return t ? Object.keys(e).reduce(function(r, n) {
3357
- return r[n] = Nn(e[n], t[n]), r;
3358
- }, P({}, e)) : e;
3357
+ return r[n] = Rn(e[n], t[n]), r;
3358
+ }, L({}, e)) : e;
3359
3359
  }
3360
3360
  function Ne(e) {
3361
3361
  return {
@@ -3371,7 +3371,7 @@ function Ne(e) {
3371
3371
  }
3372
3372
  };
3373
3373
  }
3374
- function Dn(e) {
3374
+ function kn(e) {
3375
3375
  return e === void 0 && (e = {
3376
3376
  number: {},
3377
3377
  dateTime: {},
@@ -3403,7 +3403,7 @@ function Dn(e) {
3403
3403
  })
3404
3404
  };
3405
3405
  }
3406
- var Xt = (
3406
+ var Wt = (
3407
3407
  /** @class */
3408
3408
  function() {
3409
3409
  function e(t, r, n, i) {
@@ -3433,15 +3433,15 @@ var Xt = (
3433
3433
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3434
3434
  if (this.message = t, !e.__parse)
3435
3435
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3436
- var o = i || {};
3437
- o.formatters;
3438
- var s = Wr(o, ["formatters"]);
3439
- this.ast = e.__parse(t, P(P({}, s), { locale: this.resolvedLocale }));
3436
+ var s = i || {};
3437
+ s.formatters;
3438
+ var o = Xr(s, ["formatters"]);
3439
+ this.ast = e.__parse(t, L(L({}, o), { locale: this.resolvedLocale }));
3440
3440
  } else
3441
3441
  this.ast = t;
3442
3442
  if (!Array.isArray(this.ast))
3443
3443
  throw new TypeError("A message must be provided as a String or AST.");
3444
- this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3444
+ this.formats = Dn(e.formats, n), this.formatters = i && i.formatters || kn(this.formatterCache);
3445
3445
  }
3446
3446
  return Object.defineProperty(e, "defaultLocale", {
3447
3447
  get: function() {
@@ -3454,7 +3454,7 @@ var Xt = (
3454
3454
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3455
3455
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3456
3456
  }
3457
- }, e.__parse = Pn, e.formats = {
3457
+ }, e.__parse = Cn, e.formats = {
3458
3458
  number: {
3459
3459
  integer: {
3460
3460
  maximumFractionDigits: 0
@@ -3515,7 +3515,7 @@ var Xt = (
3515
3515
  }, e;
3516
3516
  }()
3517
3517
  );
3518
- function kn(e, t) {
3518
+ function $n(e, t) {
3519
3519
  if (t == null)
3520
3520
  return;
3521
3521
  if (t in e)
@@ -3536,101 +3536,101 @@ function kn(e, t) {
3536
3536
  n = void 0;
3537
3537
  return n;
3538
3538
  }
3539
- const D = {}, $n = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), qt = (e, t) => {
3539
+ const R = {}, Un = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Xt = (e, t) => {
3540
3540
  if (t == null)
3541
3541
  return;
3542
- if (t in D && e in D[t])
3543
- return D[t][e];
3544
- const r = le(t);
3542
+ if (t in R && e in R[t])
3543
+ return R[t][e];
3544
+ const r = ue(t);
3545
3545
  for (let n = 0; n < r.length; n++) {
3546
- const i = r[n], a = Gn(i, e);
3546
+ const i = r[n], a = Fn(i, e);
3547
3547
  if (a)
3548
- return $n(e, t, a);
3548
+ return Un(e, t, a);
3549
3549
  }
3550
3550
  };
3551
3551
  let Ze;
3552
- const ue = Ae({});
3553
- function Un(e) {
3552
+ const oe = Ae({});
3553
+ function Gn(e) {
3554
3554
  return Ze[e] || null;
3555
3555
  }
3556
- function Jt(e) {
3556
+ function qt(e) {
3557
3557
  return e in Ze;
3558
3558
  }
3559
- function Gn(e, t) {
3560
- if (!Jt(e))
3559
+ function Fn(e, t) {
3560
+ if (!qt(e))
3561
3561
  return null;
3562
- const r = Un(e);
3563
- return kn(r, t);
3562
+ const r = Gn(e);
3563
+ return $n(r, t);
3564
3564
  }
3565
- function Fn(e) {
3565
+ function zn(e) {
3566
3566
  if (e == null)
3567
3567
  return;
3568
- const t = le(e);
3568
+ const t = ue(e);
3569
3569
  for (let r = 0; r < t.length; r++) {
3570
3570
  const n = t[r];
3571
- if (Jt(n))
3571
+ if (qt(n))
3572
3572
  return n;
3573
3573
  }
3574
3574
  }
3575
- function Zt(e, ...t) {
3576
- delete D[e], ue.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
3575
+ function Jt(e, ...t) {
3576
+ delete R[e], oe.update((r) => (r[e] = Wr.all([r[e] || {}, ...t]), r));
3577
3577
  }
3578
- Q(
3579
- [ue],
3578
+ Y(
3579
+ [oe],
3580
3580
  ([e]) => Object.keys(e)
3581
3581
  );
3582
- ue.subscribe((e) => Ze = e);
3582
+ oe.subscribe((e) => Ze = e);
3583
3583
  const Ee = {};
3584
- function zn(e, t) {
3584
+ function jn(e, t) {
3585
3585
  Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3586
3586
  }
3587
- function Yt(e) {
3587
+ function Zt(e) {
3588
3588
  return Ee[e];
3589
3589
  }
3590
- function jn(e) {
3591
- return le(e).map((t) => {
3592
- const r = Yt(t);
3590
+ function Vn(e) {
3591
+ return ue(e).map((t) => {
3592
+ const r = Zt(t);
3593
3593
  return [t, r ? [...r] : []];
3594
3594
  }).filter(([, t]) => t.length > 0);
3595
3595
  }
3596
3596
  function Te(e) {
3597
- return e == null ? !1 : le(e).some(
3597
+ return e == null ? !1 : ue(e).some(
3598
3598
  (t) => {
3599
3599
  var r;
3600
- return (r = Yt(t)) == null ? void 0 : r.size;
3600
+ return (r = Zt(t)) == null ? void 0 : r.size;
3601
3601
  }
3602
3602
  );
3603
3603
  }
3604
- function Vn(e, t) {
3604
+ function Wn(e, t) {
3605
3605
  return Promise.all(
3606
- t.map((n) => (zn(e, n), n().then((i) => i.default || i)))
3607
- ).then((n) => Zt(e, ...n));
3606
+ t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
3607
+ ).then((n) => Jt(e, ...n));
3608
3608
  }
3609
- const ee = {};
3610
- function Qt(e) {
3609
+ const K = {};
3610
+ function Yt(e) {
3611
3611
  if (!Te(e))
3612
- return e in ee ? ee[e] : Promise.resolve();
3613
- const t = jn(e);
3614
- return ee[e] = Promise.all(
3612
+ return e in K ? K[e] : Promise.resolve();
3613
+ const t = Vn(e);
3614
+ return K[e] = Promise.all(
3615
3615
  t.map(
3616
- ([r, n]) => Vn(r, n)
3616
+ ([r, n]) => Wn(r, n)
3617
3617
  )
3618
3618
  ).then(() => {
3619
3619
  if (Te(e))
3620
- return Qt(e);
3621
- delete ee[e];
3622
- }), ee[e];
3620
+ return Yt(e);
3621
+ delete K[e];
3622
+ }), K[e];
3623
3623
  }
3624
- var ct = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, qn = (e, t) => {
3624
+ var ht = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
3625
3625
  var r = {};
3626
3626
  for (var n in e)
3627
- Wn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3628
- if (e != null && ct)
3629
- for (var n of ct(e))
3630
- t.indexOf(n) < 0 && Xn.call(e, n) && (r[n] = e[n]);
3627
+ Xn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3628
+ if (e != null && ht)
3629
+ for (var n of ht(e))
3630
+ t.indexOf(n) < 0 && qn.call(e, n) && (r[n] = e[n]);
3631
3631
  return r;
3632
3632
  };
3633
- const Jn = {
3633
+ const Zn = {
3634
3634
  number: {
3635
3635
  scientific: { notation: "scientific" },
3636
3636
  engineering: { notation: "engineering" },
@@ -3660,183 +3660,183 @@ const Jn = {
3660
3660
  }
3661
3661
  }
3662
3662
  };
3663
- function Zn({ locale: e, id: t }) {
3663
+ function Yn({ locale: e, id: t }) {
3664
3664
  console.warn(
3665
- `[svelte-i18n] The message "${t}" was not found in "${le(
3665
+ `[svelte-i18n] The message "${t}" was not found in "${ue(
3666
3666
  e
3667
- ).join('", "')}".${Te($()) ? `
3667
+ ).join('", "')}".${Te(k()) ? `
3668
3668
 
3669
3669
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3670
3670
  );
3671
3671
  }
3672
- const Yn = {
3672
+ const Qn = {
3673
3673
  fallbackLocale: null,
3674
3674
  loadingDelay: 200,
3675
- formats: Jn,
3675
+ formats: Zn,
3676
3676
  warnOnMissingMessages: !0,
3677
3677
  handleMissingMessage: void 0,
3678
3678
  ignoreTag: !0
3679
- }, re = Yn;
3680
- function Y() {
3681
- return re;
3679
+ }, te = Qn;
3680
+ function Z() {
3681
+ return te;
3682
3682
  }
3683
- function Qn(e) {
3684
- const t = e, { formats: r } = t, n = qn(t, ["formats"]);
3683
+ function Kn(e) {
3684
+ const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
3685
3685
  let i = e.fallbackLocale;
3686
3686
  if (e.initialLocale)
3687
3687
  try {
3688
- Xt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3688
+ Wt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3689
3689
  } catch {
3690
3690
  console.warn(
3691
3691
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3692
3692
  );
3693
3693
  }
3694
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Zn : console.warn(
3694
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3695
3695
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3696
- )), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), U.set(i);
3696
+ )), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), $.set(i);
3697
3697
  }
3698
3698
  const Re = Ae(!1);
3699
- var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3699
+ var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
3700
3700
  for (var r in t || (t = {}))
3701
- ri.call(t, r) && mt(e, r, t[r]);
3702
- if (ft)
3703
- for (var r of ft(t))
3704
- ni.call(t, r) && mt(e, r, t[r]);
3701
+ ni.call(t, r) && ft(e, r, t[r]);
3702
+ if (ct)
3703
+ for (var r of ct(t))
3704
+ ii.call(t, r) && ft(e, r, t[r]);
3705
3705
  return e;
3706
- }, ai = (e, t) => ei(e, ti(t));
3706
+ }, si = (e, t) => ti(e, ri(t));
3707
3707
  let Xe;
3708
3708
  const we = Ae(null);
3709
- function dt(e) {
3709
+ function mt(e) {
3710
3710
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3711
3711
  }
3712
- function le(e, t = Y().fallbackLocale) {
3713
- const r = dt(e);
3714
- return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3712
+ function ue(e, t = Z().fallbackLocale) {
3713
+ const r = mt(e);
3714
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
3715
3715
  }
3716
- function $() {
3716
+ function k() {
3717
3717
  return Xe ?? void 0;
3718
3718
  }
3719
3719
  we.subscribe((e) => {
3720
3720
  Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3721
3721
  });
3722
3722
  const oi = (e) => {
3723
- if (e && Fn(e) && Te(e)) {
3724
- const { loadingDelay: t } = Y();
3723
+ if (e && zn(e) && Te(e)) {
3724
+ const { loadingDelay: t } = Z();
3725
3725
  let r;
3726
- return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3726
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3727
3727
  () => Re.set(!0),
3728
3728
  t
3729
- ) : Re.set(!0), Qt(e).then(() => {
3729
+ ) : Re.set(!0), Yt(e).then(() => {
3730
3730
  we.set(e);
3731
3731
  }).finally(() => {
3732
3732
  clearTimeout(r), Re.set(!1);
3733
3733
  });
3734
3734
  }
3735
3735
  return we.set(e);
3736
- }, U = ai(ii({}, we), {
3736
+ }, $ = si(ai({}, we), {
3737
3737
  set: oi
3738
- }), Le = (e) => {
3738
+ }), Pe = (e) => {
3739
3739
  const t = /* @__PURE__ */ Object.create(null);
3740
3740
  return (n) => {
3741
3741
  const i = JSON.stringify(n);
3742
3742
  return i in t ? t[i] : t[i] = e(n);
3743
3743
  };
3744
3744
  };
3745
- var si = Object.defineProperty, He = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
3745
+ var ui = Object.defineProperty, He = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
3746
3746
  for (var r in t || (t = {}))
3747
- Kt.call(t, r) && pt(e, r, t[r]);
3747
+ Qt.call(t, r) && dt(e, r, t[r]);
3748
3748
  if (He)
3749
3749
  for (var r of He(t))
3750
- er.call(t, r) && pt(e, r, t[r]);
3750
+ Kt.call(t, r) && dt(e, r, t[r]);
3751
3751
  return e;
3752
- }, K = (e, t) => {
3752
+ }, Q = (e, t) => {
3753
3753
  var r = {};
3754
3754
  for (var n in e)
3755
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3755
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3756
3756
  if (e != null && He)
3757
3757
  for (var n of He(e))
3758
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3758
+ t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
3759
3759
  return r;
3760
3760
  };
3761
- const oe = (e, t) => {
3762
- const { formats: r } = Y();
3761
+ const ae = (e, t) => {
3762
+ const { formats: r } = Z();
3763
3763
  if (e in r && t in r[e])
3764
3764
  return r[e][t];
3765
3765
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3766
- }, ui = Le(
3766
+ }, li = Pe(
3767
3767
  (e) => {
3768
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3768
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3769
3769
  if (r == null)
3770
3770
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3771
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3771
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3772
3772
  }
3773
- ), li = Le(
3773
+ ), hi = Pe(
3774
3774
  (e) => {
3775
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3775
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3776
3776
  if (r == null)
3777
3777
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3778
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3778
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3779
3779
  }
3780
- ), hi = Le(
3780
+ ), ci = Pe(
3781
3781
  (e) => {
3782
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3782
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3783
3783
  if (r == null)
3784
3784
  throw new Error(
3785
3785
  '[svelte-i18n] A "locale" must be set to format time values'
3786
3786
  );
3787
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3787
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3788
3788
  }
3789
- ), ci = (e = {}) => {
3790
- var t = e, {
3791
- locale: r = $()
3792
- } = t, n = K(t, [
3793
- "locale"
3794
- ]);
3795
- return ui(Ye({ locale: r }, n));
3796
- }, fi = (e = {}) => {
3789
+ ), fi = (e = {}) => {
3797
3790
  var t = e, {
3798
- locale: r = $()
3799
- } = t, n = K(t, [
3791
+ locale: r = k()
3792
+ } = t, n = Q(t, [
3800
3793
  "locale"
3801
3794
  ]);
3802
3795
  return li(Ye({ locale: r }, n));
3803
3796
  }, mi = (e = {}) => {
3804
3797
  var t = e, {
3805
- locale: r = $()
3806
- } = t, n = K(t, [
3798
+ locale: r = k()
3799
+ } = t, n = Q(t, [
3807
3800
  "locale"
3808
3801
  ]);
3809
3802
  return hi(Ye({ locale: r }, n));
3810
- }, di = Le(
3803
+ }, di = (e = {}) => {
3804
+ var t = e, {
3805
+ locale: r = k()
3806
+ } = t, n = Q(t, [
3807
+ "locale"
3808
+ ]);
3809
+ return ci(Ye({ locale: r }, n));
3810
+ }, pi = Pe(
3811
3811
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3812
- (e, t = $()) => new Xt(e, t, Y().formats, {
3813
- ignoreTag: Y().ignoreTag
3812
+ (e, t = k()) => new Wt(e, t, Z().formats, {
3813
+ ignoreTag: Z().ignoreTag
3814
3814
  })
3815
- ), pi = (e, t = {}) => {
3815
+ ), gi = (e, t = {}) => {
3816
3816
  var r, n, i, a;
3817
- let o = t;
3818
- typeof e == "object" && (o = e, e = o.id);
3817
+ let s = t;
3818
+ typeof e == "object" && (s = e, e = s.id);
3819
3819
  const {
3820
- values: s,
3821
- locale: l = $(),
3820
+ values: o,
3821
+ locale: l = k(),
3822
3822
  default: u
3823
- } = o;
3823
+ } = s;
3824
3824
  if (l == null)
3825
3825
  throw new Error(
3826
3826
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3827
3827
  );
3828
- let h = qt(e, l);
3828
+ let h = Xt(e, l);
3829
3829
  if (!h)
3830
- h = (a = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3830
+ h = (a = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3831
3831
  else if (typeof h != "string")
3832
3832
  return console.warn(
3833
3833
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3834
3834
  ), h;
3835
- if (!s)
3835
+ if (!o)
3836
3836
  return h;
3837
3837
  let c = h;
3838
3838
  try {
3839
- c = di(h, l).format(s);
3839
+ c = pi(h, l).format(o);
3840
3840
  } catch (f) {
3841
3841
  f instanceof Error && console.warn(
3842
3842
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3844,20 +3844,20 @@ const oe = (e, t) => {
3844
3844
  );
3845
3845
  }
3846
3846
  return c;
3847
- }, gi = (e, t) => mi(t).format(e), bi = (e, t) => fi(t).format(e), yi = (e, t) => ci(t).format(e), vi = (e, t = $()) => qt(e, t), _i = Q([U, ue], () => pi);
3848
- Q([U], () => gi);
3849
- Q([U], () => bi);
3850
- Q([U], () => yi);
3851
- Q([U, ue], () => vi);
3852
- function gt(e, t) {
3853
- Zt(e, t);
3854
- }
3855
- function Ei(e) {
3856
- Qn({
3847
+ }, bi = (e, t) => di(t).format(e), yi = (e, t) => mi(t).format(e), vi = (e, t) => fi(t).format(e), _i = (e, t = k()) => Xt(e, t), Ei = Y([$, oe], () => gi);
3848
+ Y([$], () => bi);
3849
+ Y([$], () => yi);
3850
+ Y([$], () => vi);
3851
+ Y([$, oe], () => _i);
3852
+ function pt(e, t) {
3853
+ Jt(e, t);
3854
+ }
3855
+ function xi(e) {
3856
+ Kn({
3857
3857
  fallbackLocale: "en"
3858
- }), U.set(e);
3858
+ }), $.set(e);
3859
3859
  }
3860
- const bt = {
3860
+ const gt = {
3861
3861
  en: {
3862
3862
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
3863
3863
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -4004,15 +4004,15 @@ const bt = {
4004
4004
  DuplicatePaymentAccount: "Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."
4005
4005
  }
4006
4006
  };
4007
- function xi(e) {
4008
- ir(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}');
4007
+ function Ti(e) {
4008
+ ar(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}');
4009
4009
  }
4010
- const Ti = (e) => ({}), yt = (e) => ({}), wi = (e) => ({}), vt = (e) => ({}), Hi = (e) => ({}), _t = (e) => ({}), Ai = (e) => ({}), Et = (e) => ({ class: "CashierErrorIcon" });
4011
- function xt(e) {
4010
+ const wi = (e) => ({}), bt = (e) => ({}), Hi = (e) => ({}), yt = (e) => ({}), Ai = (e) => ({}), vt = (e) => ({}), Si = (e) => ({}), _t = (e) => ({ class: "CashierErrorIcon" });
4011
+ function Et(e) {
4012
4012
  let t, r;
4013
4013
  return {
4014
4014
  c() {
4015
- t = L("ui-image"), et(t.src, r = `${/*assetsurl*/
4015
+ t = P("ui-image"), Ke(t.src, r = `${/*assetsurl*/
4016
4016
  e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
4017
4017
  },
4018
4018
  m(n, i) {
@@ -4020,7 +4020,7 @@ function xt(e) {
4020
4020
  },
4021
4021
  p(n, i) {
4022
4022
  i & /*assetsurl*/
4023
- 1 && !et(t.src, r = `${/*assetsurl*/
4023
+ 1 && !Ke(t.src, r = `${/*assetsurl*/
4024
4024
  n[0]}/error-general-icon.png`) && pe(t, "src", r);
4025
4025
  },
4026
4026
  d(n) {
@@ -4028,10 +4028,10 @@ function xt(e) {
4028
4028
  }
4029
4029
  };
4030
4030
  }
4031
- function Si(e) {
4031
+ function Bi(e) {
4032
4032
  let t, r = (
4033
4033
  /*assetsurl*/
4034
- e[0] && xt(e)
4034
+ e[0] && Et(e)
4035
4035
  );
4036
4036
  return {
4037
4037
  c() {
@@ -4042,19 +4042,19 @@ function Si(e) {
4042
4042
  },
4043
4043
  p(n, i) {
4044
4044
  /*assetsurl*/
4045
- n[0] ? r ? r.p(n, i) : (r = xt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4045
+ n[0] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4046
4046
  },
4047
4047
  d(n) {
4048
4048
  n && A(t), r && r.d(n);
4049
4049
  }
4050
4050
  };
4051
4051
  }
4052
- function Tt(e) {
4052
+ function xt(e) {
4053
4053
  let t;
4054
- function r(a, o) {
4054
+ function r(a, s) {
4055
4055
  return (
4056
4056
  /*depositWageringAmount*/
4057
- a[3] < 0 ? Li : Bi
4057
+ a[3] < 0 ? Li : Pi
4058
4058
  );
4059
4059
  }
4060
4060
  let n = r(e), i = n(e);
@@ -4062,40 +4062,40 @@ function Tt(e) {
4062
4062
  c() {
4063
4063
  i.c(), t = Je();
4064
4064
  },
4065
- m(a, o) {
4066
- i.m(a, o), S(a, t, o);
4065
+ m(a, s) {
4066
+ i.m(a, s), S(a, t, s);
4067
4067
  },
4068
- p(a, o) {
4069
- n === (n = r(a)) && i ? i.p(a, o) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
4068
+ p(a, s) {
4069
+ n === (n = r(a)) && i ? i.p(a, s) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
4070
4070
  },
4071
4071
  d(a) {
4072
4072
  a && A(t), i.d(a);
4073
4073
  }
4074
4074
  };
4075
4075
  }
4076
- function Bi(e) {
4076
+ function Pi(e) {
4077
4077
  let t, r = (
4078
4078
  /*$_*/
4079
4079
  e[5]("DepositWageringLimitText") + ""
4080
4080
  ), n, i, a = (
4081
4081
  /*depositWageringAmount*/
4082
- e[3] > 0 && wt(e)
4082
+ e[3] > 0 && Tt(e)
4083
4083
  );
4084
4084
  return {
4085
4085
  c() {
4086
- t = L("span"), n = k(r), i = V(), a && a.c(), N(t, "class", "CashierErrorText");
4086
+ t = P("span"), n = D(r), i = j(), a && a.c(), M(t, "class", "CashierErrorText");
4087
4087
  },
4088
- m(o, s) {
4089
- S(o, t, s), B(t, n), B(t, i), a && a.m(t, null);
4088
+ m(s, o) {
4089
+ S(s, t, o), B(t, n), B(t, i), a && a.m(t, null);
4090
4090
  },
4091
- p(o, s) {
4092
- s & /*$_*/
4091
+ p(s, o) {
4092
+ o & /*$_*/
4093
4093
  32 && r !== (r = /*$_*/
4094
- o[5]("DepositWageringLimitText") + "") && X(n, r), /*depositWageringAmount*/
4095
- o[3] > 0 ? a ? a.p(o, s) : (a = wt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4094
+ s[5]("DepositWageringLimitText") + "") && W(n, r), /*depositWageringAmount*/
4095
+ s[3] > 0 ? a ? a.p(s, o) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4096
4096
  },
4097
- d(o) {
4098
- o && A(t), a && a.d();
4097
+ d(s) {
4098
+ s && A(t), a && a.d();
4099
4099
  }
4100
4100
  };
4101
4101
  }
@@ -4106,29 +4106,29 @@ function Li(e) {
4106
4106
  ), i;
4107
4107
  return {
4108
4108
  c() {
4109
- t = L("div"), r = L("span"), i = k(n), N(r, "class", "CashierErrorText LoadingText"), N(t, "class", "WageringFetch");
4109
+ t = P("div"), r = P("span"), i = D(n), M(r, "class", "CashierErrorText LoadingText"), M(t, "class", "WageringFetch");
4110
4110
  },
4111
- m(a, o) {
4112
- S(a, t, o), B(t, r), B(r, i);
4111
+ m(a, s) {
4112
+ S(a, t, s), B(t, r), B(r, i);
4113
4113
  },
4114
- p(a, o) {
4115
- o & /*$_*/
4114
+ p(a, s) {
4115
+ s & /*$_*/
4116
4116
  32 && n !== (n = /*$_*/
4117
- a[5]("DepositWageringFetching") + "") && X(i, n);
4117
+ a[5]("DepositWageringFetching") + "") && W(i, n);
4118
4118
  },
4119
4119
  d(a) {
4120
4120
  a && A(t);
4121
4121
  }
4122
4122
  };
4123
4123
  }
4124
- function wt(e) {
4124
+ function Tt(e) {
4125
4125
  let t, r, n;
4126
4126
  return {
4127
4127
  c() {
4128
- t = k(
4128
+ t = D(
4129
4129
  /*depositWageringAmount*/
4130
4130
  e[3]
4131
- ), r = V(), n = k(
4131
+ ), r = j(), n = D(
4132
4132
  /*depositWageringCurrency*/
4133
4133
  e[4]
4134
4134
  );
@@ -4138,12 +4138,12 @@ function wt(e) {
4138
4138
  },
4139
4139
  p(i, a) {
4140
4140
  a & /*depositWageringAmount*/
4141
- 8 && X(
4141
+ 8 && W(
4142
4142
  t,
4143
4143
  /*depositWageringAmount*/
4144
4144
  i[3]
4145
4145
  ), a & /*depositWageringCurrency*/
4146
- 16 && X(
4146
+ 16 && W(
4147
4147
  n,
4148
4148
  /*depositWageringCurrency*/
4149
4149
  i[4]
@@ -4154,73 +4154,73 @@ function wt(e) {
4154
4154
  }
4155
4155
  };
4156
4156
  }
4157
- function Pi(e) {
4157
+ function Ci(e) {
4158
4158
  let t, r = (
4159
4159
  /*$_*/
4160
4160
  e[5](`${/*errorcode*/
4161
4161
  e[1] || "errorGeneralText"}`) + ""
4162
- ), n, i, a, o = (
4162
+ ), n, i, a, s = (
4163
4163
  /*errorcode*/
4164
- e[1] == "DepositWageringLimit" && Tt(e)
4164
+ e[1] == "DepositWageringLimit" && xt(e)
4165
4165
  );
4166
4166
  return {
4167
4167
  c() {
4168
- t = L("span"), n = k(r), i = V(), o && o.c(), a = Je(), N(t, "class", "CashierErrorText");
4168
+ t = P("span"), n = D(r), i = j(), s && s.c(), a = Je(), M(t, "class", "CashierErrorText");
4169
4169
  },
4170
- m(s, l) {
4171
- S(s, t, l), B(t, n), S(s, i, l), o && o.m(s, l), S(s, a, l);
4170
+ m(o, l) {
4171
+ S(o, t, l), B(t, n), S(o, i, l), s && s.m(o, l), S(o, a, l);
4172
4172
  },
4173
- p(s, l) {
4173
+ p(o, l) {
4174
4174
  l & /*$_, errorcode*/
4175
4175
  34 && r !== (r = /*$_*/
4176
- s[5](`${/*errorcode*/
4177
- s[1] || "errorGeneralText"}`) + "") && X(n, r), /*errorcode*/
4178
- s[1] == "DepositWageringLimit" ? o ? o.p(s, l) : (o = Tt(s), o.c(), o.m(a.parentNode, a)) : o && (o.d(1), o = null);
4176
+ o[5](`${/*errorcode*/
4177
+ o[1] || "errorGeneralText"}`) + "") && W(n, r), /*errorcode*/
4178
+ o[1] == "DepositWageringLimit" ? s ? s.p(o, l) : (s = xt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
4179
4179
  },
4180
- d(s) {
4181
- s && (A(t), A(i), A(a)), o && o.d(s);
4180
+ d(o) {
4181
+ o && (A(t), A(i), A(a)), s && s.d(o);
4182
4182
  }
4183
4183
  };
4184
4184
  }
4185
- function Ci(e) {
4185
+ function Oi(e) {
4186
4186
  let t, r, n = (
4187
4187
  /*$_*/
4188
4188
  e[5]("errorGeneralButton") + ""
4189
- ), i, a, o;
4189
+ ), i, a, s;
4190
4190
  return {
4191
4191
  c() {
4192
- t = L("button"), r = L("span"), i = k(n), N(t, "class", "CashierErrorButton");
4192
+ t = P("button"), r = P("span"), i = D(n), M(t, "class", "CashierErrorButton");
4193
4193
  },
4194
- m(s, l) {
4195
- S(s, t, l), B(t, r), B(r, i), a || (o = sr(
4194
+ m(o, l) {
4195
+ S(o, t, l), B(t, r), B(r, i), a || (s = ur(
4196
4196
  t,
4197
4197
  "click",
4198
4198
  /*close*/
4199
4199
  e[6]
4200
4200
  ), a = !0);
4201
4201
  },
4202
- p(s, l) {
4202
+ p(o, l) {
4203
4203
  l & /*$_*/
4204
4204
  32 && n !== (n = /*$_*/
4205
- s[5]("errorGeneralButton") + "") && X(i, n);
4205
+ o[5]("errorGeneralButton") + "") && W(i, n);
4206
4206
  },
4207
- d(s) {
4208
- s && A(t), a = !1, o();
4207
+ d(o) {
4208
+ o && A(t), a = !1, s();
4209
4209
  }
4210
4210
  };
4211
4211
  }
4212
- function Oi(e) {
4213
- let t, r, n, i, a, o;
4214
- const s = (
4212
+ function Ii(e) {
4213
+ let t, r, n, i, a, s;
4214
+ const o = (
4215
4215
  /*#slots*/
4216
4216
  e[13].icon
4217
4217
  ), l = ce(
4218
- s,
4218
+ o,
4219
4219
  e,
4220
4220
  /*$$scope*/
4221
4221
  e[12],
4222
- Et
4223
- ), u = l || Si(e), h = (
4222
+ _t
4223
+ ), u = l || Bi(e), h = (
4224
4224
  /*#slots*/
4225
4225
  e[13].title
4226
4226
  ), c = ce(
@@ -4228,17 +4228,17 @@ function Oi(e) {
4228
4228
  e,
4229
4229
  /*$$scope*/
4230
4230
  e[12],
4231
- _t
4231
+ vt
4232
4232
  ), f = (
4233
4233
  /*#slots*/
4234
4234
  e[13].text
4235
- ), d = ce(
4235
+ ), p = ce(
4236
4236
  f,
4237
4237
  e,
4238
4238
  /*$$scope*/
4239
4239
  e[12],
4240
- vt
4241
- ), g = d || Pi(e), x = (
4240
+ yt
4241
+ ), g = p || Ci(e), x = (
4242
4242
  /*#slots*/
4243
4243
  e[13].button
4244
4244
  ), w = ce(
@@ -4246,159 +4246,163 @@ function Oi(e) {
4246
4246
  e,
4247
4247
  /*$$scope*/
4248
4248
  e[12],
4249
- yt
4250
- ), T = w || Ci(e);
4249
+ bt
4250
+ ), T = w || Oi(e);
4251
4251
  return {
4252
4252
  c() {
4253
- t = L("div"), r = L("div"), u && u.c(), n = V(), c && c.c(), i = V(), g && g.c(), a = V(), T && T.c(), N(r, "class", "CashierErrorContent"), N(t, "class", "CashierError");
4253
+ t = P("div"), r = P("div"), u && u.c(), n = j(), c && c.c(), i = j(), g && g.c(), a = j(), T && T.c(), M(r, "class", "CashierErrorContent"), M(t, "class", "CashierError");
4254
4254
  },
4255
4255
  m(m, v) {
4256
- S(m, t, v), B(t, r), u && u.m(r, null), B(r, n), c && c.m(r, null), B(r, i), g && g.m(r, null), B(r, a), T && T.m(r, null), e[14](t), o = !0;
4256
+ S(m, t, v), B(t, r), u && u.m(r, null), B(r, n), c && c.m(r, null), B(r, i), g && g.m(r, null), B(r, a), T && T.m(r, null), e[14](t), s = !0;
4257
4257
  },
4258
4258
  p(m, [v]) {
4259
- l ? l.p && (!o || v & /*$$scope*/
4259
+ l ? l.p && (!s || v & /*$$scope*/
4260
4260
  4096) && me(
4261
4261
  l,
4262
- s,
4262
+ o,
4263
4263
  m,
4264
4264
  /*$$scope*/
4265
4265
  m[12],
4266
- o ? fe(
4267
- s,
4266
+ s ? fe(
4267
+ o,
4268
4268
  /*$$scope*/
4269
4269
  m[12],
4270
4270
  v,
4271
- Ai
4271
+ Si
4272
4272
  ) : de(
4273
4273
  /*$$scope*/
4274
4274
  m[12]
4275
4275
  ),
4276
- Et
4277
- ) : u && u.p && (!o || v & /*assetsurl*/
4278
- 1) && u.p(m, o ? v : -1), c && c.p && (!o || v & /*$$scope*/
4276
+ _t
4277
+ ) : u && u.p && (!s || v & /*assetsurl*/
4278
+ 1) && u.p(m, s ? v : -1), c && c.p && (!s || v & /*$$scope*/
4279
4279
  4096) && me(
4280
4280
  c,
4281
4281
  h,
4282
4282
  m,
4283
4283
  /*$$scope*/
4284
4284
  m[12],
4285
- o ? fe(
4285
+ s ? fe(
4286
4286
  h,
4287
4287
  /*$$scope*/
4288
4288
  m[12],
4289
4289
  v,
4290
- Hi
4290
+ Ai
4291
4291
  ) : de(
4292
4292
  /*$$scope*/
4293
4293
  m[12]
4294
4294
  ),
4295
- _t
4296
- ), d ? d.p && (!o || v & /*$$scope*/
4295
+ vt
4296
+ ), p ? p.p && (!s || v & /*$$scope*/
4297
4297
  4096) && me(
4298
- d,
4298
+ p,
4299
4299
  f,
4300
4300
  m,
4301
4301
  /*$$scope*/
4302
4302
  m[12],
4303
- o ? fe(
4303
+ s ? fe(
4304
4304
  f,
4305
4305
  /*$$scope*/
4306
4306
  m[12],
4307
4307
  v,
4308
- wi
4308
+ Hi
4309
4309
  ) : de(
4310
4310
  /*$$scope*/
4311
4311
  m[12]
4312
4312
  ),
4313
- vt
4314
- ) : g && g.p && (!o || v & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
4315
- 58) && g.p(m, o ? v : -1), w ? w.p && (!o || v & /*$$scope*/
4313
+ yt
4314
+ ) : g && g.p && (!s || v & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
4315
+ 58) && g.p(m, s ? v : -1), w ? w.p && (!s || v & /*$$scope*/
4316
4316
  4096) && me(
4317
4317
  w,
4318
4318
  x,
4319
4319
  m,
4320
4320
  /*$$scope*/
4321
4321
  m[12],
4322
- o ? fe(
4322
+ s ? fe(
4323
4323
  x,
4324
4324
  /*$$scope*/
4325
4325
  m[12],
4326
4326
  v,
4327
- Ti
4327
+ wi
4328
4328
  ) : de(
4329
4329
  /*$$scope*/
4330
4330
  m[12]
4331
4331
  ),
4332
- yt
4333
- ) : T && T.p && (!o || v & /*$_*/
4334
- 32) && T.p(m, o ? v : -1);
4332
+ bt
4333
+ ) : T && T.p && (!s || v & /*$_*/
4334
+ 32) && T.p(m, s ? v : -1);
4335
4335
  },
4336
4336
  i(m) {
4337
- o || (te(u, m), te(c, m), te(g, m), te(T, m), o = !0);
4337
+ s || (ee(u, m), ee(c, m), ee(g, m), ee(T, m), s = !0);
4338
4338
  },
4339
4339
  o(m) {
4340
- ge(u, m), ge(c, m), ge(g, m), ge(T, m), o = !1;
4340
+ ge(u, m), ge(c, m), ge(g, m), ge(T, m), s = !1;
4341
4341
  },
4342
4342
  d(m) {
4343
4343
  m && A(t), u && u.d(m), c && c.d(m), g && g.d(m), T && T.d(m), e[14](null);
4344
4344
  }
4345
4345
  };
4346
4346
  }
4347
- function Ii(e, t, r) {
4347
+ function Mi(e, t, r) {
4348
4348
  let n;
4349
- nr(e, _i, (p) => r(5, n = p));
4350
- let { $$slots: i = {}, $$scope: a } = t, { assetsurl: o = "" } = t, { lang: s = "en" } = t, { errorcode: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f = "" } = t, d, g, x = -1, w;
4349
+ ir(e, Ei, (d) => r(5, n = d));
4350
+ let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f = "" } = t, p, g, x = -1, w;
4351
4351
  const T = () => {
4352
- Ei(s);
4353
- }, m = () => {
4354
- let p = new URL(c);
4355
- fetch(p).then((O) => O.json()).then((O) => {
4356
- Object.keys(O).forEach((Qe) => {
4357
- gt(Qe, O[Qe]);
4358
- });
4359
- }).catch((O) => {
4360
- console.error(O);
4361
- });
4352
+ xi(o);
4353
+ }, m = async () => {
4354
+ if (c)
4355
+ try {
4356
+ const d = await fetch(c);
4357
+ if (!d.ok)
4358
+ throw new Error(`HTTP error! status: ${d.status}`);
4359
+ const le = await d.json();
4360
+ Object.entries(le).forEach(([er, tr]) => {
4361
+ pt(er, tr);
4362
+ });
4363
+ } catch (d) {
4364
+ console.error(d);
4365
+ }
4362
4366
  };
4363
- Object.keys(bt).forEach((p) => {
4364
- gt(p, bt[p]);
4367
+ Object.keys(gt).forEach((d) => {
4368
+ pt(d, gt[d]);
4365
4369
  });
4366
4370
  const v = () => {
4367
4371
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4368
- }, R = (p) => {
4369
- if (p.data)
4370
- switch (p.data.type) {
4372
+ }, N = (d) => {
4373
+ if (d.data)
4374
+ switch (d.data.type) {
4371
4375
  case "DepositWageringAmount":
4372
- r(3, x = p.data.amount), r(4, w = p.data.currency);
4376
+ r(3, x = d.data.amount), r(4, w = d.data.currency);
4373
4377
  break;
4374
4378
  }
4375
4379
  };
4376
- cr(() => (window.addEventListener("message", R, !1), () => {
4377
- window.removeEventListener("message", R);
4380
+ fr(() => (window.addEventListener("message", N, !1), () => {
4381
+ window.removeEventListener("message", N);
4378
4382
  }));
4379
- function C(p) {
4380
- De[p ? "unshift" : "push"](() => {
4381
- d = p, r(2, d);
4383
+ function C(d) {
4384
+ De[d ? "unshift" : "push"](() => {
4385
+ p = d, r(2, p);
4382
4386
  });
4383
4387
  }
4384
- return e.$$set = (p) => {
4385
- "assetsurl" in p && r(0, o = p.assetsurl), "lang" in p && r(7, s = p.lang), "errorcode" in p && r(1, l = p.errorcode), "clientstyling" in p && r(8, u = p.clientstyling), "clientstylingurl" in p && r(9, h = p.clientstylingurl), "translationurl" in p && r(10, c = p.translationurl), "mbsource" in p && r(11, f = p.mbsource), "$$scope" in p && r(12, a = p.$$scope);
4388
+ return e.$$set = (d) => {
4389
+ "assetsurl" in d && r(0, s = d.assetsurl), "lang" in d && r(7, o = d.lang), "errorcode" in d && r(1, l = d.errorcode), "clientstyling" in d && r(8, u = d.clientstyling), "clientstylingurl" in d && r(9, h = d.clientstylingurl), "translationurl" in d && r(10, c = d.translationurl), "mbsource" in d && r(11, f = d.mbsource), "$$scope" in d && r(12, a = d.$$scope);
4386
4390
  }, e.$$.update = () => {
4387
4391
  e.$$.dirty & /*lang*/
4388
- 128 && s && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4389
- 260 && u && d && wr(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4390
- 516 && h && d && Hr(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4391
- 2052 && f && d && Ar(d, `${f}.Style`, g), e.$$.dirty & /*translationurl*/
4392
+ 128 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4393
+ 260 && u && p && Hr(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4394
+ 516 && h && p && Ar(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4395
+ 2052 && f && p && Sr(p, `${f}.Style`, g), e.$$.dirty & /*translationurl*/
4392
4396
  1024 && c && m();
4393
4397
  }, [
4394
- o,
4398
+ s,
4395
4399
  l,
4396
- d,
4400
+ p,
4397
4401
  x,
4398
4402
  w,
4399
4403
  n,
4400
4404
  v,
4401
- s,
4405
+ o,
4402
4406
  u,
4403
4407
  h,
4404
4408
  c,
@@ -4408,14 +4412,14 @@ function Ii(e, t, r) {
4408
4412
  C
4409
4413
  ];
4410
4414
  }
4411
- class Mi extends xr {
4415
+ class Ni extends Tr {
4412
4416
  constructor(t) {
4413
- super(), _r(
4417
+ super(), Er(
4414
4418
  this,
4415
4419
  t,
4420
+ Mi,
4416
4421
  Ii,
4417
- Oi,
4418
- At,
4422
+ Ht,
4419
4423
  {
4420
4424
  assetsurl: 0,
4421
4425
  lang: 7,
@@ -4425,53 +4429,53 @@ class Mi extends xr {
4425
4429
  translationurl: 10,
4426
4430
  mbsource: 11
4427
4431
  },
4428
- xi
4432
+ Ti
4429
4433
  );
4430
4434
  }
4431
4435
  get assetsurl() {
4432
4436
  return this.$$.ctx[0];
4433
4437
  }
4434
4438
  set assetsurl(t) {
4435
- this.$$set({ assetsurl: t }), I();
4439
+ this.$$set({ assetsurl: t }), O();
4436
4440
  }
4437
4441
  get lang() {
4438
4442
  return this.$$.ctx[7];
4439
4443
  }
4440
4444
  set lang(t) {
4441
- this.$$set({ lang: t }), I();
4445
+ this.$$set({ lang: t }), O();
4442
4446
  }
4443
4447
  get errorcode() {
4444
4448
  return this.$$.ctx[1];
4445
4449
  }
4446
4450
  set errorcode(t) {
4447
- this.$$set({ errorcode: t }), I();
4451
+ this.$$set({ errorcode: t }), O();
4448
4452
  }
4449
4453
  get clientstyling() {
4450
4454
  return this.$$.ctx[8];
4451
4455
  }
4452
4456
  set clientstyling(t) {
4453
- this.$$set({ clientstyling: t }), I();
4457
+ this.$$set({ clientstyling: t }), O();
4454
4458
  }
4455
4459
  get clientstylingurl() {
4456
4460
  return this.$$.ctx[9];
4457
4461
  }
4458
4462
  set clientstylingurl(t) {
4459
- this.$$set({ clientstylingurl: t }), I();
4463
+ this.$$set({ clientstylingurl: t }), O();
4460
4464
  }
4461
4465
  get translationurl() {
4462
4466
  return this.$$.ctx[10];
4463
4467
  }
4464
4468
  set translationurl(t) {
4465
- this.$$set({ translationurl: t }), I();
4469
+ this.$$set({ translationurl: t }), O();
4466
4470
  }
4467
4471
  get mbsource() {
4468
4472
  return this.$$.ctx[11];
4469
4473
  }
4470
4474
  set mbsource(t) {
4471
- this.$$set({ mbsource: t }), I();
4475
+ this.$$set({ mbsource: t }), O();
4472
4476
  }
4473
4477
  }
4474
- Er(Mi, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4478
+ xr(Ni, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4475
4479
  export {
4476
- Mi as C
4480
+ Ni as C
4477
4481
  };