@everymatrix/player-account-gaming-limits-popup-2 1.85.16 → 1.85.18

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.
@@ -15,32 +15,32 @@ function Et(e) {
15
15
  function Ft(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function vn(e) {
18
+ function yi(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
21
  function Vt(e, ...t) {
22
22
  if (e == null) {
23
- for (const i of t)
24
- i(void 0);
23
+ for (const n of t)
24
+ n(void 0);
25
25
  return te;
26
26
  }
27
- const n = e.subscribe(...t);
28
- return n.unsubscribe ? () => n.unsubscribe() : n;
27
+ const i = e.subscribe(...t);
28
+ return i.unsubscribe ? () => i.unsubscribe() : i;
29
29
  }
30
- function En(e, t, n) {
31
- e.$$.on_destroy.push(Vt(t, n));
30
+ function vi(e, t, i) {
31
+ e.$$.on_destroy.push(Vt(t, i));
32
32
  }
33
33
  function f(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function _n(e, t, n) {
37
- const i = xn(e);
38
- if (!i.getElementById(t)) {
36
+ function Ei(e, t, i) {
37
+ const n = _i(e);
38
+ if (!n.getElementById(t)) {
39
39
  const r = b("style");
40
- r.id = t, r.textContent = n, Tn(i, r);
40
+ r.id = t, r.textContent = i, xi(n, r);
41
41
  }
42
42
  }
43
- function xn(e) {
43
+ function _i(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,15 +50,15 @@ function xn(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Tn(e, t) {
53
+ function xi(e, t) {
54
54
  return f(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function T(e, t, n) {
61
- e.insertBefore(t, n || null);
60
+ function T(e, t, i) {
61
+ e.insertBefore(t, i || null);
62
62
  }
63
63
  function x(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
@@ -75,16 +75,16 @@ function L(e) {
75
75
  function N() {
76
76
  return L(" ");
77
77
  }
78
- function Z(e, t, n, i) {
79
- return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
78
+ function Z(e, t, i, n) {
79
+ return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
80
80
  }
81
- function h(e, t, n) {
82
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
81
+ function h(e, t, i) {
82
+ i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
83
83
  }
84
84
  function Xt(e) {
85
85
  return e === "" ? null : +e;
86
86
  }
87
- function Pn(e) {
87
+ function Ti(e) {
88
88
  return Array.from(e.childNodes);
89
89
  }
90
90
  function k(e, t) {
@@ -94,18 +94,18 @@ function k(e, t) {
94
94
  function Bt(e, t) {
95
95
  e.value = t ?? "";
96
96
  }
97
- function He(e, t, n, i) {
98
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
97
+ function He(e, t, i, n) {
98
+ i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
99
99
  }
100
- function Ge(e, t, n) {
101
- e.classList.toggle(t, !!n);
100
+ function Ge(e, t, i) {
101
+ e.classList.toggle(t, !!i);
102
102
  }
103
- function wn(e) {
103
+ function Pi(e) {
104
104
  const t = {};
105
105
  return e.childNodes.forEach(
106
106
  /** @param {Element} node */
107
- (n) => {
108
- t[n.slot || "default"] = !0;
107
+ (i) => {
108
+ t[i.slot || "default"] = !0;
109
109
  }
110
110
  ), t;
111
111
  }
@@ -113,25 +113,25 @@ let Ne;
113
113
  function Ce(e) {
114
114
  Ne = e;
115
115
  }
116
- function Bn() {
116
+ function wi() {
117
117
  if (!Ne)
118
118
  throw new Error("Function called outside component initialization");
119
119
  return Ne;
120
120
  }
121
- function Ln(e) {
122
- Bn().$$.on_mount.push(e);
121
+ function Bi(e) {
122
+ wi().$$.on_mount.push(e);
123
123
  }
124
124
  const be = [], ye = [];
125
125
  let ve = [];
126
- const Lt = [], Sn = /* @__PURE__ */ Promise.resolve();
126
+ const Lt = [], Li = /* @__PURE__ */ Promise.resolve();
127
127
  let ut = !1;
128
- function An() {
129
- ut || (ut = !0, Sn.then(ee));
128
+ function Si() {
129
+ ut || (ut = !0, Li.then(ee));
130
130
  }
131
131
  function ct(e) {
132
132
  ve.push(e);
133
133
  }
134
- const nt = /* @__PURE__ */ new Set();
134
+ const it = /* @__PURE__ */ new Set();
135
135
  let de = 0;
136
136
  function ee() {
137
137
  if (de !== 0)
@@ -141,7 +141,7 @@ function ee() {
141
141
  try {
142
142
  for (; de < be.length; ) {
143
143
  const t = be[de];
144
- de++, Ce(t), In(t.$$);
144
+ de++, Ce(t), Ai(t.$$);
145
145
  }
146
146
  } catch (t) {
147
147
  throw be.length = 0, de = 0, t;
@@ -149,45 +149,45 @@ function ee() {
149
149
  for (Ce(null), be.length = 0, de = 0; ye.length; )
150
150
  ye.pop()();
151
151
  for (let t = 0; t < ve.length; t += 1) {
152
- const n = ve[t];
153
- nt.has(n) || (nt.add(n), n());
152
+ const i = ve[t];
153
+ it.has(i) || (it.add(i), i());
154
154
  }
155
155
  ve.length = 0;
156
156
  } while (be.length);
157
157
  for (; Lt.length; )
158
158
  Lt.pop()();
159
- ut = !1, nt.clear(), Ce(e);
159
+ ut = !1, it.clear(), Ce(e);
160
160
  }
161
- function In(e) {
161
+ function Ai(e) {
162
162
  if (e.fragment !== null) {
163
163
  e.update(), ue(e.before_update);
164
164
  const t = e.dirty;
165
165
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ct);
166
166
  }
167
167
  }
168
- function kn(e) {
169
- const t = [], n = [];
170
- ve.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), ve = t;
168
+ function Ii(e) {
169
+ const t = [], i = [];
170
+ ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ve = t;
171
171
  }
172
- const Hn = /* @__PURE__ */ new Set();
173
- function Cn(e, t) {
174
- e && e.i && (Hn.delete(e), e.i(t));
172
+ const ki = /* @__PURE__ */ new Set();
173
+ function Hi(e, t) {
174
+ e && e.i && (ki.delete(e), e.i(t));
175
175
  }
176
- function Nn(e, t, n) {
177
- const { fragment: i, after_update: r } = e.$$;
178
- i && i.m(t, n), ct(() => {
176
+ function Ci(e, t, i) {
177
+ const { fragment: n, after_update: r } = e.$$;
178
+ n && n.m(t, i), ct(() => {
179
179
  const o = e.$$.on_mount.map(zt).filter(Et);
180
180
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
181
181
  }), r.forEach(ct);
182
182
  }
183
- function On(e, t) {
184
- const n = e.$$;
185
- n.fragment !== null && (kn(n.after_update), ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
183
+ function Ni(e, t) {
184
+ const i = e.$$;
185
+ i.fragment !== null && (Ii(i.after_update), ue(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
186
186
  }
187
- function Mn(e, t) {
188
- e.$$.dirty[0] === -1 && (be.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
+ function Oi(e, t) {
188
+ e.$$.dirty[0] === -1 && (be.push(e), Si(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
189
  }
190
- function Dn(e, t, n, i, r, o, a = null, s = [-1]) {
190
+ function Mi(e, t, i, n, r, o, a = null, s = [-1]) {
191
191
  const u = Ne;
192
192
  Ce(e);
193
193
  const l = e.$$ = {
@@ -213,16 +213,16 @@ function Dn(e, t, n, i, r, o, a = null, s = [-1]) {
213
213
  };
214
214
  a && a(l.root);
215
215
  let c = !1;
216
- if (l.ctx = n ? n(e, t.props || {}, (p, m, ...d) => {
216
+ if (l.ctx = i ? i(e, t.props || {}, (p, m, ...d) => {
217
217
  const E = d.length ? d[0] : m;
218
- return l.ctx && r(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), c && Mn(e, p)), m;
219
- }) : [], l.update(), c = !0, ue(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
218
+ return l.ctx && r(l.ctx[p], l.ctx[p] = E) && (!l.skip_bound && l.bound[p] && l.bound[p](E), c && Oi(e, p)), m;
219
+ }) : [], l.update(), c = !0, ue(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
220
220
  if (t.hydrate) {
221
- const p = Pn(t.target);
221
+ const p = Ti(t.target);
222
222
  l.fragment && l.fragment.l(p), p.forEach(x);
223
223
  } else
224
224
  l.fragment && l.fragment.c();
225
- t.intro && Cn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
225
+ t.intro && Hi(e.$$.fragment), Ci(e, t.target, t.anchor), ee();
226
226
  }
227
227
  Ce(u);
228
228
  }
@@ -246,20 +246,20 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
246
246
  $$l = {};
247
247
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
248
248
  $$l_u = /* @__PURE__ */ new Map();
249
- constructor(e, t, n) {
250
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
249
+ constructor(e, t, i) {
250
+ super(), this.$$ctor = e, this.$$s = t, i && this.attachShadow({ mode: "open" });
251
251
  }
252
- addEventListener(e, t, n) {
252
+ addEventListener(e, t, i) {
253
253
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
254
- const i = this.$$c.$on(e, t);
255
- this.$$l_u.set(t, i);
254
+ const n = this.$$c.$on(e, t);
255
+ this.$$l_u.set(t, n);
256
256
  }
257
- super.addEventListener(e, t, n);
257
+ super.addEventListener(e, t, i);
258
258
  }
259
- removeEventListener(e, t, n) {
260
- if (super.removeEventListener(e, t, n), this.$$c) {
261
- const i = this.$$l_u.get(t);
262
- i && (i(), this.$$l_u.delete(t));
259
+ removeEventListener(e, t, i) {
260
+ if (super.removeEventListener(e, t, i), this.$$c) {
261
+ const n = this.$$l_u.get(t);
262
+ n && (n(), this.$$l_u.delete(t));
263
263
  }
264
264
  }
265
265
  async connectedCallback() {
@@ -286,9 +286,9 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
286
286
  };
287
287
  if (await Promise.resolve(), !this.$$cn || this.$$c)
288
288
  return;
289
- const t = {}, n = wn(this);
289
+ const t = {}, i = Pi(this);
290
290
  for (const r of this.$$s)
291
- r in n && (t[r] = [e(r)]);
291
+ r in i && (t[r] = [e(r)]);
292
292
  for (const r of this.attributes) {
293
293
  const o = this.$$g_p(r.name);
294
294
  o in this.$$d || (this.$$d[o] = ze(o, r.value, this.$$p_d, "toProp"));
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
305
305
  }
306
306
  }
307
307
  });
308
- const i = () => {
308
+ const n = () => {
309
309
  this.$$r = !0;
310
310
  for (const r in this.$$p_d)
311
311
  if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
319
319
  }
320
320
  this.$$r = !1;
321
321
  };
322
- this.$$c.$$.after_update.push(i), i();
322
+ this.$$c.$$.after_update.push(n), n();
323
323
  for (const r in this.$$l)
324
324
  for (const o of this.$$l[r]) {
325
325
  const a = this.$$c.$on(r, o);
@@ -330,8 +330,8 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
330
330
  }
331
331
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
332
332
  // and setting attributes through setAttribute etc, this is helpful
333
- attributeChangedCallback(e, t, n) {
334
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ze(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
333
+ attributeChangedCallback(e, t, i) {
334
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ze(e, i, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
335
  }
336
336
  disconnectedCallback() {
337
337
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -344,11 +344,11 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
344
344
  ) || e;
345
345
  }
346
346
  });
347
- function ze(e, t, n, i) {
348
- const r = n[e]?.type;
349
- if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
347
+ function ze(e, t, i, n) {
348
+ const r = i[e]?.type;
349
+ if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
350
350
  return t;
351
- if (i === "toAttribute")
351
+ if (n === "toAttribute")
352
352
  switch (r) {
353
353
  case "Object":
354
354
  case "Array":
@@ -373,10 +373,10 @@ function ze(e, t, n, i) {
373
373
  return t;
374
374
  }
375
375
  }
376
- function Rn(e, t, n, i, r, o) {
376
+ function Di(e, t, i, n, r, o) {
377
377
  let a = class extends qt {
378
378
  constructor() {
379
- super(e, n, r), this.$$p_d = t;
379
+ super(e, i, r), this.$$p_d = t;
380
380
  }
381
381
  static get observedAttributes() {
382
382
  return Object.keys(t).map(
@@ -393,7 +393,7 @@ function Rn(e, t, n, i, r, o) {
393
393
  u = ze(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
394
394
  }
395
395
  });
396
- }), i.forEach((s) => {
396
+ }), n.forEach((s) => {
397
397
  Object.defineProperty(a.prototype, s, {
398
398
  get() {
399
399
  return this.$$c?.[s];
@@ -402,7 +402,7 @@ function Rn(e, t, n, i, r, o) {
402
402
  }), e.element = /** @type {any} */
403
403
  a, a;
404
404
  }
405
- class Un {
405
+ class Ri {
406
406
  /**
407
407
  * ### PRIVATE API
408
408
  *
@@ -421,7 +421,7 @@ class Un {
421
421
  $$set = void 0;
422
422
  /** @returns {void} */
423
423
  $destroy() {
424
- On(this, 1), this.$destroy = te;
424
+ Ni(this, 1), this.$destroy = te;
425
425
  }
426
426
  /**
427
427
  * @template {Extract<keyof Events, string>} K
@@ -429,13 +429,13 @@ class Un {
429
429
  * @param {((e: Events[K]) => void) | null | undefined} callback
430
430
  * @returns {() => void}
431
431
  */
432
- $on(t, n) {
433
- if (!Et(n))
432
+ $on(t, i) {
433
+ if (!Et(i))
434
434
  return te;
435
- const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
436
- return i.push(n), () => {
437
- const r = i.indexOf(n);
438
- r !== -1 && i.splice(r, 1);
435
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
436
+ return n.push(i), () => {
437
+ const r = n.indexOf(i);
438
+ r !== -1 && n.splice(r, 1);
439
439
  };
440
440
  }
441
441
  /**
@@ -443,24 +443,24 @@ class Un {
443
443
  * @returns {void}
444
444
  */
445
445
  $set(t) {
446
- this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
446
+ this.$$set && !yi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
447
  }
448
448
  }
449
- const jn = "4";
450
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
449
+ const Ui = "4";
450
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ui);
451
451
  const ge = [];
452
- function Gn(e, t) {
452
+ function ji(e, t) {
453
453
  return {
454
454
  subscribe: Ze(e, t).subscribe
455
455
  };
456
456
  }
457
457
  function Ze(e, t = te) {
458
- let n;
459
- const i = /* @__PURE__ */ new Set();
458
+ let i;
459
+ const n = /* @__PURE__ */ new Set();
460
460
  function r(s) {
461
- if (Ft(e, s) && (e = s, n)) {
461
+ if (Ft(e, s) && (e = s, i)) {
462
462
  const u = !ge.length;
463
- for (const l of i)
463
+ for (const l of n)
464
464
  l[1](), ge.push(l, e);
465
465
  if (u) {
466
466
  for (let l = 0; l < ge.length; l += 2)
@@ -474,18 +474,18 @@ function Ze(e, t = te) {
474
474
  }
475
475
  function a(s, u = te) {
476
476
  const l = [s, u];
477
- return i.add(l), i.size === 1 && (n = t(r, o) || te), s(e), () => {
478
- i.delete(l), i.size === 0 && n && (n(), n = null);
477
+ return n.add(l), n.size === 1 && (i = t(r, o) || te), s(e), () => {
478
+ n.delete(l), n.size === 0 && i && (i(), i = null);
479
479
  };
480
480
  }
481
481
  return { set: r, update: o, subscribe: a };
482
482
  }
483
- function Pe(e, t, n) {
484
- const i = !Array.isArray(e), r = i ? [e] : e;
483
+ function Pe(e, t, i) {
484
+ const n = !Array.isArray(e), r = n ? [e] : e;
485
485
  if (!r.every(Boolean))
486
486
  throw new Error("derived() expects stores as input, got a falsy value");
487
487
  const o = t.length < 2;
488
- return Gn(n, (a, s) => {
488
+ return ji(i, (a, s) => {
489
489
  let u = !1;
490
490
  const l = [];
491
491
  let c = 0, p = te;
@@ -493,7 +493,7 @@ function Pe(e, t, n) {
493
493
  if (c)
494
494
  return;
495
495
  p();
496
- const E = t(i ? l[0] : l, a, s);
496
+ const E = t(n ? l[0] : l, a, s);
497
497
  o ? a(E) : p = Et(E) ? E : te;
498
498
  }, d = r.map(
499
499
  (E, _) => Vt(
@@ -511,47 +511,47 @@ function Pe(e, t, n) {
511
511
  };
512
512
  });
513
513
  }
514
- function $n(e) {
514
+ function Gi(e) {
515
515
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
516
516
  }
517
- var zn = function(t) {
518
- return Fn(t) && !Vn(t);
517
+ var $i = function(t) {
518
+ return zi(t) && !Fi(t);
519
519
  };
520
- function Fn(e) {
520
+ function zi(e) {
521
521
  return !!e && typeof e == "object";
522
522
  }
523
- function Vn(e) {
523
+ function Fi(e) {
524
524
  var t = Object.prototype.toString.call(e);
525
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
525
+ return t === "[object RegExp]" || t === "[object Date]" || qi(e);
526
526
  }
527
- var Xn = typeof Symbol == "function" && Symbol.for, qn = Xn ? Symbol.for("react.element") : 60103;
528
- function Wn(e) {
529
- return e.$$typeof === qn;
527
+ var Vi = typeof Symbol == "function" && Symbol.for, Xi = Vi ? Symbol.for("react.element") : 60103;
528
+ function qi(e) {
529
+ return e.$$typeof === Xi;
530
530
  }
531
- function Zn(e) {
531
+ function Wi(e) {
532
532
  return Array.isArray(e) ? [] : {};
533
533
  }
534
534
  function Oe(e, t) {
535
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Zn(e), e, t) : e;
535
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Wi(e), e, t) : e;
536
536
  }
537
- function Yn(e, t, n) {
538
- return e.concat(t).map(function(i) {
539
- return Oe(i, n);
537
+ function Zi(e, t, i) {
538
+ return e.concat(t).map(function(n) {
539
+ return Oe(n, i);
540
540
  });
541
541
  }
542
- function Jn(e, t) {
542
+ function Yi(e, t) {
543
543
  if (!t.customMerge)
544
544
  return Ee;
545
- var n = t.customMerge(e);
546
- return typeof n == "function" ? n : Ee;
545
+ var i = t.customMerge(e);
546
+ return typeof i == "function" ? i : Ee;
547
547
  }
548
- function Qn(e) {
548
+ function Ji(e) {
549
549
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
550
550
  return Object.propertyIsEnumerable.call(e, t);
551
551
  }) : [];
552
552
  }
553
553
  function St(e) {
554
- return Object.keys(e).concat(Qn(e));
554
+ return Object.keys(e).concat(Ji(e));
555
555
  }
556
556
  function Wt(e, t) {
557
557
  try {
@@ -560,104 +560,104 @@ function Wt(e, t) {
560
560
  return !1;
561
561
  }
562
562
  }
563
- function Kn(e, t) {
563
+ function Qi(e, t) {
564
564
  return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
565
565
  }
566
- function ei(e, t, n) {
567
- var i = {};
568
- return n.isMergeableObject(e) && St(e).forEach(function(r) {
569
- i[r] = Oe(e[r], n);
566
+ function Ki(e, t, i) {
567
+ var n = {};
568
+ return i.isMergeableObject(e) && St(e).forEach(function(r) {
569
+ n[r] = Oe(e[r], i);
570
570
  }), St(t).forEach(function(r) {
571
- Kn(e, r) || (Wt(e, r) && n.isMergeableObject(t[r]) ? i[r] = Jn(r, n)(e[r], t[r], n) : i[r] = Oe(t[r], n));
572
- }), i;
571
+ Qi(e, r) || (Wt(e, r) && i.isMergeableObject(t[r]) ? n[r] = Yi(r, i)(e[r], t[r], i) : n[r] = Oe(t[r], i));
572
+ }), n;
573
573
  }
574
- function Ee(e, t, n) {
575
- n = n || {}, n.arrayMerge = n.arrayMerge || Yn, n.isMergeableObject = n.isMergeableObject || zn, n.cloneUnlessOtherwiseSpecified = Oe;
576
- var i = Array.isArray(t), r = Array.isArray(e), o = i === r;
577
- return o ? i ? n.arrayMerge(e, t, n) : ei(e, t, n) : Oe(t, n);
574
+ function Ee(e, t, i) {
575
+ i = i || {}, i.arrayMerge = i.arrayMerge || Zi, i.isMergeableObject = i.isMergeableObject || $i, i.cloneUnlessOtherwiseSpecified = Oe;
576
+ var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
577
+ return o ? n ? i.arrayMerge(e, t, i) : Ki(e, t, i) : Oe(t, i);
578
578
  }
579
- Ee.all = function(t, n) {
579
+ Ee.all = function(t, i) {
580
580
  if (!Array.isArray(t))
581
581
  throw new Error("first argument should be an array");
582
- return t.reduce(function(i, r) {
583
- return Ee(i, r, n);
582
+ return t.reduce(function(n, r) {
583
+ return Ee(n, r, i);
584
584
  }, {});
585
585
  };
586
- var ti = Ee, ni = ti;
587
- const ii = /* @__PURE__ */ $n(ni);
586
+ var en = Ee, tn = en;
587
+ const nn = /* @__PURE__ */ Gi(tn);
588
588
  var ht = function(e, t) {
589
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
590
- n.__proto__ = i;
591
- } || function(n, i) {
592
- for (var r in i)
593
- Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
589
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
590
+ i.__proto__ = n;
591
+ } || function(i, n) {
592
+ for (var r in n)
593
+ Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
594
594
  }, ht(e, t);
595
595
  };
596
596
  function Ye(e, t) {
597
597
  if (typeof t != "function" && t !== null)
598
598
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
599
599
  ht(e, t);
600
- function n() {
600
+ function i() {
601
601
  this.constructor = e;
602
602
  }
603
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
603
+ e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
604
604
  }
605
605
  var oe = function() {
606
606
  return oe = Object.assign || function(t) {
607
- for (var n, i = 1, r = arguments.length; i < r; i++) {
608
- n = arguments[i];
609
- for (var o in n)
610
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
607
+ for (var i, n = 1, r = arguments.length; n < r; n++) {
608
+ i = arguments[n];
609
+ for (var o in i)
610
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
611
611
  }
612
612
  return t;
613
613
  }, oe.apply(this, arguments);
614
614
  };
615
- function ri(e, t) {
616
- var n = {};
617
- for (var i in e)
618
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
615
+ function rn(e, t) {
616
+ var i = {};
617
+ for (var n in e)
618
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
619
619
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
620
- for (var r = 0, i = Object.getOwnPropertySymbols(e); r < i.length; r++)
621
- t.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[r]) && (n[i[r]] = e[i[r]]);
622
- return n;
620
+ for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
621
+ t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
622
+ return i;
623
623
  }
624
- function it(e, t, n) {
625
- if (n || arguments.length === 2)
626
- for (var i = 0, r = t.length, o; i < r; i++)
627
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
624
+ function nt(e, t, i) {
625
+ if (i || arguments.length === 2)
626
+ for (var n = 0, r = t.length, o; n < r; n++)
627
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
628
628
  return e.concat(o || Array.prototype.slice.call(t));
629
629
  }
630
630
  function rt(e, t) {
631
- var n = t && t.cache ? t.cache : hi, i = t && t.serializer ? t.serializer : ui, r = t && t.strategy ? t.strategy : ai;
631
+ var i = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, r = t && t.strategy ? t.strategy : an;
632
632
  return r(e, {
633
- cache: n,
634
- serializer: i
633
+ cache: i,
634
+ serializer: n
635
635
  });
636
636
  }
637
- function oi(e) {
637
+ function on(e) {
638
638
  return e == null || typeof e == "number" || typeof e == "boolean";
639
639
  }
640
- function si(e, t, n, i) {
641
- var r = oi(i) ? i : n(i), o = t.get(r);
642
- return typeof o > "u" && (o = e.call(this, i), t.set(r, o)), o;
640
+ function sn(e, t, i, n) {
641
+ var r = on(n) ? n : i(n), o = t.get(r);
642
+ return typeof o > "u" && (o = e.call(this, n), t.set(r, o)), o;
643
643
  }
644
- function Zt(e, t, n) {
645
- var i = Array.prototype.slice.call(arguments, 3), r = n(i), o = t.get(r);
646
- return typeof o > "u" && (o = e.apply(this, i), t.set(r, o)), o;
644
+ function Zt(e, t, i) {
645
+ var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
646
+ return typeof o > "u" && (o = e.apply(this, n), t.set(r, o)), o;
647
647
  }
648
- function Yt(e, t, n, i, r) {
649
- return n.bind(t, e, i, r);
648
+ function Yt(e, t, i, n, r) {
649
+ return i.bind(t, e, n, r);
650
650
  }
651
- function ai(e, t) {
652
- var n = e.length === 1 ? si : Zt;
653
- return Yt(e, this, n, t.cache.create(), t.serializer);
651
+ function an(e, t) {
652
+ var i = e.length === 1 ? sn : Zt;
653
+ return Yt(e, this, i, t.cache.create(), t.serializer);
654
654
  }
655
- function li(e, t) {
655
+ function ln(e, t) {
656
656
  return Yt(e, this, Zt, t.cache.create(), t.serializer);
657
657
  }
658
- var ui = function() {
658
+ var un = function() {
659
659
  return JSON.stringify(arguments);
660
- }, ci = (
660
+ }, cn = (
661
661
  /** @class */
662
662
  function() {
663
663
  function e() {
@@ -665,22 +665,22 @@ var ui = function() {
665
665
  }
666
666
  return e.prototype.get = function(t) {
667
667
  return this.cache[t];
668
- }, e.prototype.set = function(t, n) {
669
- this.cache[t] = n;
668
+ }, e.prototype.set = function(t, i) {
669
+ this.cache[t] = i;
670
670
  }, e;
671
671
  }()
672
- ), hi = {
672
+ ), hn = {
673
673
  create: function() {
674
- return new ci();
674
+ return new cn();
675
675
  }
676
676
  }, ot = {
677
- variadic: li
677
+ variadic: ln
678
678
  }, Xe = function() {
679
679
  return Xe = Object.assign || function(t) {
680
- for (var n, i = 1, r = arguments.length; i < r; i++) {
681
- n = arguments[i];
682
- for (var o in n)
683
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
680
+ for (var i, n = 1, r = arguments.length; n < r; n++) {
681
+ i = arguments[n];
682
+ for (var o in i)
683
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
684
684
  }
685
685
  return t;
686
686
  }, Xe.apply(this, arguments);
@@ -700,7 +700,7 @@ var _e;
700
700
  function At(e) {
701
701
  return e.type === $.literal;
702
702
  }
703
- function fi(e) {
703
+ function fn(e) {
704
704
  return e.type === $.argument;
705
705
  }
706
706
  function Jt(e) {
@@ -712,35 +712,35 @@ function Qt(e) {
712
712
  function Kt(e) {
713
713
  return e.type === $.time;
714
714
  }
715
- function en(e) {
715
+ function ei(e) {
716
716
  return e.type === $.select;
717
717
  }
718
- function tn(e) {
718
+ function ti(e) {
719
719
  return e.type === $.plural;
720
720
  }
721
- function pi(e) {
721
+ function pn(e) {
722
722
  return e.type === $.pound;
723
723
  }
724
- function nn(e) {
724
+ function ii(e) {
725
725
  return e.type === $.tag;
726
726
  }
727
- function rn(e) {
727
+ function ni(e) {
728
728
  return !!(e && typeof e == "object" && e.type === _e.number);
729
729
  }
730
730
  function ft(e) {
731
731
  return !!(e && typeof e == "object" && e.type === _e.dateTime);
732
732
  }
733
- var on = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
734
- function di(e) {
733
+ var ri = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
734
+ function dn(e) {
735
735
  var t = {};
736
- return e.replace(mi, function(n) {
737
- var i = n.length;
738
- switch (n[0]) {
736
+ return e.replace(mn, function(i) {
737
+ var n = i.length;
738
+ switch (i[0]) {
739
739
  case "G":
740
- t.era = i === 4 ? "long" : i === 5 ? "narrow" : "short";
740
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
741
741
  break;
742
742
  case "y":
743
- t.year = i === 2 ? "2-digit" : "numeric";
743
+ t.year = n === 2 ? "2-digit" : "numeric";
744
744
  break;
745
745
  case "Y":
746
746
  case "u":
@@ -752,30 +752,30 @@ function di(e) {
752
752
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
753
753
  case "M":
754
754
  case "L":
755
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][i - 1];
755
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
756
756
  break;
757
757
  case "w":
758
758
  case "W":
759
759
  throw new RangeError("`w/W` (week) patterns are not supported");
760
760
  case "d":
761
- t.day = ["numeric", "2-digit"][i - 1];
761
+ t.day = ["numeric", "2-digit"][n - 1];
762
762
  break;
763
763
  case "D":
764
764
  case "F":
765
765
  case "g":
766
766
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
767
767
  case "E":
768
- t.weekday = i === 4 ? "long" : i === 5 ? "narrow" : "short";
768
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
769
769
  break;
770
770
  case "e":
771
- if (i < 4)
771
+ if (n < 4)
772
772
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
773
- t.weekday = ["short", "long", "narrow", "short"][i - 4];
773
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
774
774
  break;
775
775
  case "c":
776
- if (i < 4)
776
+ if (n < 4)
777
777
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
778
- t.weekday = ["short", "long", "narrow", "short"][i - 4];
778
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
779
779
  break;
780
780
  case "a":
781
781
  t.hour12 = !0;
@@ -784,32 +784,32 @@ function di(e) {
784
784
  case "B":
785
785
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
786
786
  case "h":
787
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][i - 1];
787
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
788
788
  break;
789
789
  case "H":
790
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][i - 1];
790
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
791
791
  break;
792
792
  case "K":
793
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][i - 1];
793
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
794
794
  break;
795
795
  case "k":
796
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][i - 1];
796
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
797
797
  break;
798
798
  case "j":
799
799
  case "J":
800
800
  case "C":
801
801
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
802
802
  case "m":
803
- t.minute = ["numeric", "2-digit"][i - 1];
803
+ t.minute = ["numeric", "2-digit"][n - 1];
804
804
  break;
805
805
  case "s":
806
- t.second = ["numeric", "2-digit"][i - 1];
806
+ t.second = ["numeric", "2-digit"][n - 1];
807
807
  break;
808
808
  case "S":
809
809
  case "A":
810
810
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
811
811
  case "z":
812
- t.timeZoneName = i < 4 ? "short" : "long";
812
+ t.timeZoneName = n < 4 ? "short" : "long";
813
813
  break;
814
814
  case "Z":
815
815
  case "O":
@@ -824,22 +824,22 @@ function di(e) {
824
824
  }
825
825
  var V = function() {
826
826
  return V = Object.assign || function(t) {
827
- for (var n, i = 1, r = arguments.length; i < r; i++) {
828
- n = arguments[i];
829
- for (var o in n)
830
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
827
+ for (var i, n = 1, r = arguments.length; n < r; n++) {
828
+ i = arguments[n];
829
+ for (var o in i)
830
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
831
831
  }
832
832
  return t;
833
833
  }, V.apply(this, arguments);
834
834
  };
835
- var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
836
- function bi(e) {
835
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
836
+ function bn(e) {
837
837
  if (e.length === 0)
838
838
  throw new Error("Number skeleton cannot be empty");
839
- for (var t = e.split(gi).filter(function(m) {
839
+ for (var t = e.split(gn).filter(function(m) {
840
840
  return m.length > 0;
841
- }), n = [], i = 0, r = t; i < r.length; i++) {
842
- var o = r[i], a = o.split("/");
841
+ }), i = [], n = 0, r = t; n < r.length; n++) {
842
+ var o = r[n], a = o.split("/");
843
843
  if (a.length === 0)
844
844
  throw new Error("Invalid number skeleton");
845
845
  for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -847,21 +847,21 @@ function bi(e) {
847
847
  if (p.length === 0)
848
848
  throw new Error("Invalid number skeleton");
849
849
  }
850
- n.push({ stem: s, options: u });
850
+ i.push({ stem: s, options: u });
851
851
  }
852
- return n;
852
+ return i;
853
853
  }
854
- function yi(e) {
854
+ function yn(e) {
855
855
  return e.replace(/^(.*?)-/, "");
856
856
  }
857
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sn = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, an = /^(0+)$/;
857
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oi = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, si = /^(0+)$/;
858
858
  function kt(e) {
859
859
  var t = {};
860
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sn, function(n, i, r) {
861
- return typeof r != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : r === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof r == "string" ? r.length : 0)), "";
860
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(oi, function(i, n, r) {
861
+ return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
862
862
  }), t;
863
863
  }
864
- function ln(e) {
864
+ function ai(e) {
865
865
  switch (e) {
866
866
  case "sign-auto":
867
867
  return {
@@ -901,27 +901,27 @@ function ln(e) {
901
901
  };
902
902
  }
903
903
  }
904
- function Ei(e) {
904
+ function En(e) {
905
905
  var t;
906
906
  if (e[0] === "E" && e[1] === "E" ? (t = {
907
907
  notation: "engineering"
908
908
  }, e = e.slice(2)) : e[0] === "E" && (t = {
909
909
  notation: "scientific"
910
910
  }, e = e.slice(1)), t) {
911
- var n = e.slice(0, 2);
912
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !an.test(e))
911
+ var i = e.slice(0, 2);
912
+ if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !si.test(e))
913
913
  throw new Error("Malformed concise eng/scientific notation");
914
914
  t.minimumIntegerDigits = e.length;
915
915
  }
916
916
  return t;
917
917
  }
918
918
  function Ht(e) {
919
- var t = {}, n = ln(e);
920
- return n || t;
919
+ var t = {}, i = ai(e);
920
+ return i || t;
921
921
  }
922
- function _i(e) {
923
- for (var t = {}, n = 0, i = e; n < i.length; n++) {
924
- var r = i[n];
922
+ function _n(e) {
923
+ for (var t = {}, i = 0, n = e; i < n.length; i++) {
924
+ var r = n[i];
925
925
  switch (r.stem) {
926
926
  case "percent":
927
927
  case "%":
@@ -943,7 +943,7 @@ function _i(e) {
943
943
  continue;
944
944
  case "measure-unit":
945
945
  case "unit":
946
- t.style = "unit", t.unit = yi(r.options[0]);
946
+ t.style = "unit", t.unit = yn(r.options[0]);
947
947
  continue;
948
948
  case "compact-short":
949
949
  case "K":
@@ -1005,7 +1005,7 @@ function _i(e) {
1005
1005
  case "integer-width":
1006
1006
  if (r.options.length > 1)
1007
1007
  throw new RangeError("integer-width stems only accept a single optional option");
1008
- r.options[0].replace(vi, function(u, l, c, p, m, d) {
1008
+ r.options[0].replace(vn, function(u, l, c, p, m, d) {
1009
1009
  if (l)
1010
1010
  t.minimumIntegerDigits = c.length;
1011
1011
  else {
@@ -1018,7 +1018,7 @@ function _i(e) {
1018
1018
  });
1019
1019
  continue;
1020
1020
  }
1021
- if (an.test(r.stem)) {
1021
+ if (si.test(r.stem)) {
1022
1022
  t.minimumIntegerDigits = r.stem.length;
1023
1023
  continue;
1024
1024
  }
@@ -1032,13 +1032,13 @@ function _i(e) {
1032
1032
  o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), kt(o)));
1033
1033
  continue;
1034
1034
  }
1035
- if (sn.test(r.stem)) {
1035
+ if (oi.test(r.stem)) {
1036
1036
  t = V(V({}, t), kt(r.stem));
1037
1037
  continue;
1038
1038
  }
1039
- var a = ln(r.stem);
1039
+ var a = ai(r.stem);
1040
1040
  a && (t = V(V({}, t), a));
1041
- var s = Ei(r.stem);
1041
+ var s = En(r.stem);
1042
1042
  s && (t = V(V({}, t), s));
1043
1043
  }
1044
1044
  return t;
@@ -2458,23 +2458,23 @@ var $e = {
2458
2458
  "h"
2459
2459
  ]
2460
2460
  };
2461
- function xi(e, t) {
2462
- for (var n = "", i = 0; i < e.length; i++) {
2463
- var r = e.charAt(i);
2461
+ function xn(e, t) {
2462
+ for (var i = "", n = 0; n < e.length; n++) {
2463
+ var r = e.charAt(n);
2464
2464
  if (r === "j") {
2465
- for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === r; )
2466
- o++, i++;
2467
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ti(t);
2465
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
2466
+ o++, n++;
2467
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Tn(t);
2468
2468
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2469
- n += u;
2469
+ i += u;
2470
2470
  for (; a-- > 0; )
2471
- n = l + n;
2471
+ i = l + i;
2472
2472
  } else
2473
- r === "J" ? n += "H" : n += r;
2473
+ r === "J" ? i += "H" : i += r;
2474
2474
  }
2475
- return n;
2475
+ return i;
2476
2476
  }
2477
- function Ti(e) {
2477
+ function Tn(e) {
2478
2478
  var t = e.hourCycle;
2479
2479
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2480
2480
  e.hourCycles && // @ts-ignore
@@ -2491,73 +2491,73 @@ function Ti(e) {
2491
2491
  default:
2492
2492
  throw new Error("Invalid hourCycle");
2493
2493
  }
2494
- var n = e.language, i;
2495
- n !== "root" && (i = e.maximize().region);
2496
- var r = $e[i || ""] || $e[n || ""] || $e["".concat(n, "-001")] || $e["001"];
2494
+ var i = e.language, n;
2495
+ i !== "root" && (n = e.maximize().region);
2496
+ var r = $e[n || ""] || $e[i || ""] || $e["".concat(i, "-001")] || $e["001"];
2497
2497
  return r[0];
2498
2498
  }
2499
- var st, Pi = new RegExp("^".concat(on.source, "*")), wi = new RegExp("".concat(on.source, "*$"));
2499
+ var st, Pn = new RegExp("^".concat(ri.source, "*")), wn = new RegExp("".concat(ri.source, "*$"));
2500
2500
  function A(e, t) {
2501
2501
  return { start: e, end: t };
2502
2502
  }
2503
- var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Si = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ci = Hi ? Number.isSafeInteger : function(e) {
2503
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Sn = !!Object.fromEntries, An = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Cn = Hn ? Number.isSafeInteger : function(e) {
2504
2504
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2505
2505
  }, pt = !0;
2506
2506
  try {
2507
- var Ni = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
- pt = ((st = Ni.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2507
+ var Nn = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
+ pt = ((st = Nn.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2509
2509
  } catch {
2510
2510
  pt = !1;
2511
2511
  }
2512
- var Ct = Bi ? (
2512
+ var Ct = Bn ? (
2513
2513
  // Native
2514
- function(t, n, i) {
2515
- return t.startsWith(n, i);
2514
+ function(t, i, n) {
2515
+ return t.startsWith(i, n);
2516
2516
  }
2517
2517
  ) : (
2518
2518
  // For IE11
2519
- function(t, n, i) {
2520
- return t.slice(i, i + n.length) === n;
2519
+ function(t, i, n) {
2520
+ return t.slice(n, n + i.length) === i;
2521
2521
  }
2522
- ), mt = Li ? String.fromCodePoint : (
2522
+ ), mt = Ln ? String.fromCodePoint : (
2523
2523
  // IE11
2524
2524
  function() {
2525
- for (var t = [], n = 0; n < arguments.length; n++)
2526
- t[n] = arguments[n];
2527
- for (var i = "", r = t.length, o = 0, a; r > o; ) {
2525
+ for (var t = [], i = 0; i < arguments.length; i++)
2526
+ t[i] = arguments[i];
2527
+ for (var n = "", r = t.length, o = 0, a; r > o; ) {
2528
2528
  if (a = t[o++], a > 1114111)
2529
2529
  throw RangeError(a + " is not a valid code point");
2530
- i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2530
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2531
2531
  }
2532
- return i;
2532
+ return n;
2533
2533
  }
2534
2534
  ), Nt = (
2535
2535
  // native
2536
- Si ? Object.fromEntries : (
2536
+ Sn ? Object.fromEntries : (
2537
2537
  // Ponyfill
2538
2538
  function(t) {
2539
- for (var n = {}, i = 0, r = t; i < r.length; i++) {
2540
- var o = r[i], a = o[0], s = o[1];
2541
- n[a] = s;
2539
+ for (var i = {}, n = 0, r = t; n < r.length; n++) {
2540
+ var o = r[n], a = o[0], s = o[1];
2541
+ i[a] = s;
2542
2542
  }
2543
- return n;
2543
+ return i;
2544
2544
  }
2545
2545
  )
2546
- ), un = Ai ? (
2546
+ ), li = An ? (
2547
2547
  // Native
2548
- function(t, n) {
2549
- return t.codePointAt(n);
2548
+ function(t, i) {
2549
+ return t.codePointAt(i);
2550
2550
  }
2551
2551
  ) : (
2552
2552
  // IE 11
2553
- function(t, n) {
2554
- var i = t.length;
2555
- if (!(n < 0 || n >= i)) {
2556
- var r = t.charCodeAt(n), o;
2557
- return r < 55296 || r > 56319 || n + 1 === i || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
2553
+ function(t, i) {
2554
+ var n = t.length;
2555
+ if (!(i < 0 || i >= n)) {
2556
+ var r = t.charCodeAt(i), o;
2557
+ return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
2558
2558
  }
2559
2559
  }
2560
- ), Oi = Ii ? (
2560
+ ), On = In ? (
2561
2561
  // Native
2562
2562
  function(t) {
2563
2563
  return t.trimStart();
@@ -2565,9 +2565,9 @@ var Ct = Bi ? (
2565
2565
  ) : (
2566
2566
  // Ponyfill
2567
2567
  function(t) {
2568
- return t.replace(Pi, "");
2568
+ return t.replace(Pn, "");
2569
2569
  }
2570
- ), Mi = ki ? (
2570
+ ), Mn = kn ? (
2571
2571
  // Native
2572
2572
  function(t) {
2573
2573
  return t.trimEnd();
@@ -2575,69 +2575,69 @@ var Ct = Bi ? (
2575
2575
  ) : (
2576
2576
  // Ponyfill
2577
2577
  function(t) {
2578
- return t.replace(wi, "");
2578
+ return t.replace(wn, "");
2579
2579
  }
2580
2580
  );
2581
- function cn(e, t) {
2581
+ function ui(e, t) {
2582
2582
  return new RegExp(e, t);
2583
2583
  }
2584
2584
  var dt;
2585
2585
  if (pt) {
2586
- var Ot = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
- dt = function(t, n) {
2588
- var i;
2589
- Ot.lastIndex = n;
2586
+ var Ot = ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
+ dt = function(t, i) {
2588
+ var n;
2589
+ Ot.lastIndex = i;
2590
2590
  var r = Ot.exec(t);
2591
- return (i = r[1]) !== null && i !== void 0 ? i : "";
2591
+ return (n = r[1]) !== null && n !== void 0 ? n : "";
2592
2592
  };
2593
2593
  } else
2594
- dt = function(t, n) {
2595
- for (var i = []; ; ) {
2596
- var r = un(t, n);
2597
- if (r === void 0 || hn(r) || ji(r))
2594
+ dt = function(t, i) {
2595
+ for (var n = []; ; ) {
2596
+ var r = li(t, i);
2597
+ if (r === void 0 || ci(r) || jn(r))
2598
2598
  break;
2599
- i.push(r), n += r >= 65536 ? 2 : 1;
2599
+ n.push(r), i += r >= 65536 ? 2 : 1;
2600
2600
  }
2601
- return mt.apply(void 0, i);
2601
+ return mt.apply(void 0, n);
2602
2602
  };
2603
- var Di = (
2603
+ var Dn = (
2604
2604
  /** @class */
2605
2605
  function() {
2606
- function e(t, n) {
2607
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2606
+ function e(t, i) {
2607
+ i === void 0 && (i = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!i.ignoreTag, this.locale = i.locale, this.requiresOtherClause = !!i.requiresOtherClause, this.shouldParseSkeletons = !!i.shouldParseSkeletons;
2608
2608
  }
2609
2609
  return e.prototype.parse = function() {
2610
2610
  if (this.offset() !== 0)
2611
2611
  throw Error("parser can only be used once");
2612
2612
  return this.parseMessage(0, "", !1);
2613
- }, e.prototype.parseMessage = function(t, n, i) {
2613
+ }, e.prototype.parseMessage = function(t, i, n) {
2614
2614
  for (var r = []; !this.isEOF(); ) {
2615
2615
  var o = this.char();
2616
2616
  if (o === 123) {
2617
- var a = this.parseArgument(t, i);
2617
+ var a = this.parseArgument(t, n);
2618
2618
  if (a.err)
2619
2619
  return a;
2620
2620
  r.push(a.val);
2621
2621
  } else {
2622
2622
  if (o === 125 && t > 0)
2623
2623
  break;
2624
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
2624
+ if (o === 35 && (i === "plural" || i === "selectordinal")) {
2625
2625
  var s = this.clonePosition();
2626
2626
  this.bump(), r.push({
2627
2627
  type: $.pound,
2628
2628
  location: A(s, this.clonePosition())
2629
2629
  });
2630
2630
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2631
- if (i)
2631
+ if (n)
2632
2632
  break;
2633
2633
  return this.error(B.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2634
2634
  } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
2635
- var a = this.parseTag(t, n);
2635
+ var a = this.parseTag(t, i);
2636
2636
  if (a.err)
2637
2637
  return a;
2638
2638
  r.push(a.val);
2639
2639
  } else {
2640
- var a = this.parseLiteral(t, n);
2640
+ var a = this.parseLiteral(t, i);
2641
2641
  if (a.err)
2642
2642
  return a;
2643
2643
  r.push(a.val);
@@ -2645,8 +2645,8 @@ var Di = (
2645
2645
  }
2646
2646
  }
2647
2647
  return { val: r, err: null };
2648
- }, e.prototype.parseTag = function(t, n) {
2649
- var i = this.clonePosition();
2648
+ }, e.prototype.parseTag = function(t, i) {
2649
+ var n = this.clonePosition();
2650
2650
  this.bump();
2651
2651
  var r = this.parseTagName();
2652
2652
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2654,12 +2654,12 @@ var Di = (
2654
2654
  val: {
2655
2655
  type: $.literal,
2656
2656
  value: "<".concat(r, "/>"),
2657
- location: A(i, this.clonePosition())
2657
+ location: A(n, this.clonePosition())
2658
2658
  },
2659
2659
  err: null
2660
2660
  };
2661
2661
  if (this.bumpIf(">")) {
2662
- var o = this.parseMessage(t + 1, n, !0);
2662
+ var o = this.parseMessage(t + 1, i, !0);
2663
2663
  if (o.err)
2664
2664
  return o;
2665
2665
  var a = o.val, s = this.clonePosition();
@@ -2672,27 +2672,27 @@ var Di = (
2672
2672
  type: $.tag,
2673
2673
  value: r,
2674
2674
  children: a,
2675
- location: A(i, this.clonePosition())
2675
+ location: A(n, this.clonePosition())
2676
2676
  },
2677
2677
  err: null
2678
2678
  } : this.error(B.INVALID_TAG, A(s, this.clonePosition())));
2679
2679
  } else
2680
- return this.error(B.UNCLOSED_TAG, A(i, this.clonePosition()));
2680
+ return this.error(B.UNCLOSED_TAG, A(n, this.clonePosition()));
2681
2681
  } else
2682
- return this.error(B.INVALID_TAG, A(i, this.clonePosition()));
2682
+ return this.error(B.INVALID_TAG, A(n, this.clonePosition()));
2683
2683
  }, e.prototype.parseTagName = function() {
2684
2684
  var t = this.offset();
2685
- for (this.bump(); !this.isEOF() && Ui(this.char()); )
2685
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
2686
2686
  this.bump();
2687
2687
  return this.message.slice(t, this.offset());
2688
- }, e.prototype.parseLiteral = function(t, n) {
2689
- for (var i = this.clonePosition(), r = ""; ; ) {
2690
- var o = this.tryParseQuote(n);
2688
+ }, e.prototype.parseLiteral = function(t, i) {
2689
+ for (var n = this.clonePosition(), r = ""; ; ) {
2690
+ var o = this.tryParseQuote(i);
2691
2691
  if (o) {
2692
2692
  r += o;
2693
2693
  continue;
2694
2694
  }
2695
- var a = this.tryParseUnquoted(t, n);
2695
+ var a = this.tryParseUnquoted(t, i);
2696
2696
  if (a) {
2697
2697
  r += a;
2698
2698
  continue;
@@ -2704,14 +2704,14 @@ var Di = (
2704
2704
  }
2705
2705
  break;
2706
2706
  }
2707
- var u = A(i, this.clonePosition());
2707
+ var u = A(n, this.clonePosition());
2708
2708
  return {
2709
2709
  val: { type: $.literal, value: r, location: u },
2710
2710
  err: null
2711
2711
  };
2712
2712
  }, e.prototype.tryParseLeftAngleBracket = function() {
2713
2713
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2714
- !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
+ !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
2715
2715
  }, e.prototype.tryParseQuote = function(t) {
2716
2716
  if (this.isEOF() || this.char() !== 39)
2717
2717
  return null;
@@ -2731,37 +2731,37 @@ var Di = (
2731
2731
  return null;
2732
2732
  }
2733
2733
  this.bump();
2734
- var n = [this.char()];
2734
+ var i = [this.char()];
2735
2735
  for (this.bump(); !this.isEOF(); ) {
2736
- var i = this.char();
2737
- if (i === 39)
2736
+ var n = this.char();
2737
+ if (n === 39)
2738
2738
  if (this.peek() === 39)
2739
- n.push(39), this.bump();
2739
+ i.push(39), this.bump();
2740
2740
  else {
2741
2741
  this.bump();
2742
2742
  break;
2743
2743
  }
2744
2744
  else
2745
- n.push(i);
2745
+ i.push(n);
2746
2746
  this.bump();
2747
2747
  }
2748
- return mt.apply(void 0, n);
2749
- }, e.prototype.tryParseUnquoted = function(t, n) {
2748
+ return mt.apply(void 0, i);
2749
+ }, e.prototype.tryParseUnquoted = function(t, i) {
2750
2750
  if (this.isEOF())
2751
2751
  return null;
2752
- var i = this.char();
2753
- return i === 60 || i === 123 || i === 35 && (n === "plural" || n === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), mt(i));
2754
- }, e.prototype.parseArgument = function(t, n) {
2755
- var i = this.clonePosition();
2752
+ var n = this.char();
2753
+ return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
2754
+ }, e.prototype.parseArgument = function(t, i) {
2755
+ var n = this.clonePosition();
2756
2756
  if (this.bump(), this.bumpSpace(), this.isEOF())
2757
- return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2757
+ return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
2758
2758
  if (this.char() === 125)
2759
- return this.bump(), this.error(B.EMPTY_ARGUMENT, A(i, this.clonePosition()));
2759
+ return this.bump(), this.error(B.EMPTY_ARGUMENT, A(n, this.clonePosition()));
2760
2760
  var r = this.parseIdentifierIfPossible().value;
2761
2761
  if (!r)
2762
- return this.error(B.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2762
+ return this.error(B.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
2763
2763
  if (this.bumpSpace(), this.isEOF())
2764
- return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2764
+ return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
2765
2765
  switch (this.char()) {
2766
2766
  case 125:
2767
2767
  return this.bump(), {
@@ -2769,21 +2769,21 @@ var Di = (
2769
2769
  type: $.argument,
2770
2770
  // value does not include the opening and closing braces.
2771
2771
  value: r,
2772
- location: A(i, this.clonePosition())
2772
+ location: A(n, this.clonePosition())
2773
2773
  },
2774
2774
  err: null
2775
2775
  };
2776
2776
  case 44:
2777
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, n, r, i);
2777
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
2778
2778
  default:
2779
- return this.error(B.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2779
+ return this.error(B.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
2780
2780
  }
2781
2781
  }, e.prototype.parseIdentifierIfPossible = function() {
2782
- var t = this.clonePosition(), n = this.offset(), i = dt(this.message, n), r = n + i.length;
2782
+ var t = this.clonePosition(), i = this.offset(), n = dt(this.message, i), r = i + n.length;
2783
2783
  this.bumpTo(r);
2784
2784
  var o = this.clonePosition(), a = A(t, o);
2785
- return { value: i, location: a };
2786
- }, e.prototype.parseArgumentOptions = function(t, n, i, r) {
2785
+ return { value: n, location: a };
2786
+ }, e.prototype.parseArgumentOptions = function(t, i, n, r) {
2787
2787
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2788
2788
  switch (s) {
2789
2789
  case "":
@@ -2798,7 +2798,7 @@ var Di = (
2798
2798
  var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2799
2799
  if (p.err)
2800
2800
  return p;
2801
- var m = Mi(p.val);
2801
+ var m = Mn(p.val);
2802
2802
  if (m.length === 0)
2803
2803
  return this.error(B.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2804
2804
  var d = A(c, this.clonePosition());
@@ -2809,26 +2809,26 @@ var Di = (
2809
2809
  return E;
2810
2810
  var _ = A(r, this.clonePosition());
2811
2811
  if (l && Ct(l?.style, "::", 0)) {
2812
- var y = Oi(l.style.slice(2));
2812
+ var y = On(l.style.slice(2));
2813
2813
  if (s === "number") {
2814
2814
  var p = this.parseNumberSkeletonFromString(y, l.styleLocation);
2815
2815
  return p.err ? p : {
2816
- val: { type: $.number, value: i, location: _, style: p.val },
2816
+ val: { type: $.number, value: n, location: _, style: p.val },
2817
2817
  err: null
2818
2818
  };
2819
2819
  } else {
2820
2820
  if (y.length === 0)
2821
2821
  return this.error(B.EXPECT_DATE_TIME_SKELETON, _);
2822
2822
  var v = y;
2823
- this.locale && (v = xi(y, this.locale));
2823
+ this.locale && (v = xn(y, this.locale));
2824
2824
  var m = {
2825
2825
  type: _e.dateTime,
2826
2826
  pattern: v,
2827
2827
  location: l.styleLocation,
2828
- parsedOptions: this.shouldParseSkeletons ? di(v) : {}
2828
+ parsedOptions: this.shouldParseSkeletons ? dn(v) : {}
2829
2829
  }, O = s === "date" ? $.date : $.time;
2830
2830
  return {
2831
- val: { type: O, value: i, location: _, style: m },
2831
+ val: { type: O, value: n, location: _, style: m },
2832
2832
  err: null
2833
2833
  };
2834
2834
  }
@@ -2836,7 +2836,7 @@ var Di = (
2836
2836
  return {
2837
2837
  val: {
2838
2838
  type: s === "number" ? $.number : s === "date" ? $.date : $.time,
2839
- value: i,
2839
+ value: n,
2840
2840
  location: _,
2841
2841
  style: (o = l?.style) !== null && o !== void 0 ? o : null
2842
2842
  },
@@ -2860,7 +2860,7 @@ var Di = (
2860
2860
  return p;
2861
2861
  this.bumpSpace(), M = this.parseIdentifierIfPossible(), S = p.val;
2862
2862
  }
2863
- var D = this.tryParsePluralOrSelectOptions(t, s, n, M);
2863
+ var D = this.tryParsePluralOrSelectOptions(t, s, i, M);
2864
2864
  if (D.err)
2865
2865
  return D;
2866
2866
  var E = this.tryParseArgumentClose(r);
@@ -2870,7 +2870,7 @@ var Di = (
2870
2870
  return s === "select" ? {
2871
2871
  val: {
2872
2872
  type: $.select,
2873
- value: i,
2873
+ value: n,
2874
2874
  options: Nt(D.val),
2875
2875
  location: z
2876
2876
  },
@@ -2878,7 +2878,7 @@ var Di = (
2878
2878
  } : {
2879
2879
  val: {
2880
2880
  type: $.plural,
2881
- value: i,
2881
+ value: n,
2882
2882
  options: Nt(D.val),
2883
2883
  offset: S,
2884
2884
  pluralType: s === "plural" ? "cardinal" : "ordinal",
@@ -2893,9 +2893,9 @@ var Di = (
2893
2893
  }, e.prototype.tryParseArgumentClose = function(t) {
2894
2894
  return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2895
2895
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2896
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2897
- var i = this.char();
2898
- switch (i) {
2896
+ for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
2897
+ var n = this.char();
2898
+ switch (n) {
2899
2899
  case 39: {
2900
2900
  this.bump();
2901
2901
  var r = this.clonePosition();
@@ -2913,7 +2913,7 @@ var Di = (
2913
2913
  t -= 1;
2914
2914
  else
2915
2915
  return {
2916
- val: this.message.slice(n.offset, this.offset()),
2916
+ val: this.message.slice(i.offset, this.offset()),
2917
2917
  err: null
2918
2918
  };
2919
2919
  break;
@@ -2924,30 +2924,30 @@ var Di = (
2924
2924
  }
2925
2925
  }
2926
2926
  return {
2927
- val: this.message.slice(n.offset, this.offset()),
2927
+ val: this.message.slice(i.offset, this.offset()),
2928
2928
  err: null
2929
2929
  };
2930
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2931
- var i = [];
2930
+ }, e.prototype.parseNumberSkeletonFromString = function(t, i) {
2931
+ var n = [];
2932
2932
  try {
2933
- i = bi(t);
2933
+ n = bn(t);
2934
2934
  } catch {
2935
- return this.error(B.INVALID_NUMBER_SKELETON, n);
2935
+ return this.error(B.INVALID_NUMBER_SKELETON, i);
2936
2936
  }
2937
2937
  return {
2938
2938
  val: {
2939
2939
  type: _e.number,
2940
- tokens: i,
2941
- location: n,
2942
- parsedOptions: this.shouldParseSkeletons ? _i(i) : {}
2940
+ tokens: n,
2941
+ location: i,
2942
+ parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
2943
2943
  },
2944
2944
  err: null
2945
2945
  };
2946
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, i, r) {
2946
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
2947
2947
  for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
2948
2948
  if (l.length === 0) {
2949
2949
  var p = this.clonePosition();
2950
- if (n !== "select" && this.bumpIf("=")) {
2950
+ if (i !== "select" && this.bumpIf("=")) {
2951
2951
  var m = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
2952
2952
  if (m.err)
2953
2953
  return m;
@@ -2956,12 +2956,12 @@ var Di = (
2956
2956
  break;
2957
2957
  }
2958
2958
  if (u.has(l))
2959
- return this.error(n === "select" ? B.DUPLICATE_SELECT_ARGUMENT_SELECTOR : B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2959
+ return this.error(i === "select" ? B.DUPLICATE_SELECT_ARGUMENT_SELECTOR : B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2960
2960
  l === "other" && (a = !0), this.bumpSpace();
2961
2961
  var d = this.clonePosition();
2962
2962
  if (!this.bumpIf("{"))
2963
- return this.error(n === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2964
- var E = this.parseMessage(t + 1, n, i);
2963
+ return this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2964
+ var E = this.parseMessage(t + 1, i, n);
2965
2965
  if (E.err)
2966
2966
  return E;
2967
2967
  var _ = this.tryParseArgumentClose(d);
@@ -2975,10 +2975,10 @@ var Di = (
2975
2975
  }
2976
2976
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
2977
2977
  }
2978
- return s.length === 0 ? this.error(n === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(B.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2979
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
2980
- var i = 1, r = this.clonePosition();
2981
- this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2978
+ return s.length === 0 ? this.error(i === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(B.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2979
+ }, e.prototype.tryParseDecimalInteger = function(t, i) {
2980
+ var n = 1, r = this.clonePosition();
2981
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2982
2982
  for (var o = !1, a = 0; !this.isEOF(); ) {
2983
2983
  var s = this.char();
2984
2984
  if (s >= 48 && s <= 57)
@@ -2987,7 +2987,7 @@ var Di = (
2987
2987
  break;
2988
2988
  }
2989
2989
  var u = A(r, this.clonePosition());
2990
- return o ? (a *= i, Ci(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
2990
+ return o ? (a *= n, Cn(a) ? { val: a, err: null } : this.error(i, u)) : this.error(t, u);
2991
2991
  }, e.prototype.offset = function() {
2992
2992
  return this.position.offset;
2993
2993
  }, e.prototype.isEOF = function() {
@@ -3002,17 +3002,17 @@ var Di = (
3002
3002
  var t = this.position.offset;
3003
3003
  if (t >= this.message.length)
3004
3004
  throw Error("out of bound");
3005
- var n = un(this.message, t);
3006
- if (n === void 0)
3005
+ var i = li(this.message, t);
3006
+ if (i === void 0)
3007
3007
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3008
- return n;
3009
- }, e.prototype.error = function(t, n) {
3008
+ return i;
3009
+ }, e.prototype.error = function(t, i) {
3010
3010
  return {
3011
3011
  val: null,
3012
3012
  err: {
3013
3013
  kind: t,
3014
3014
  message: this.message,
3015
- location: n
3015
+ location: i
3016
3016
  }
3017
3017
  };
3018
3018
  }, e.prototype.bump = function() {
@@ -3022,69 +3022,69 @@ var Di = (
3022
3022
  }
3023
3023
  }, e.prototype.bumpIf = function(t) {
3024
3024
  if (Ct(this.message, t, this.offset())) {
3025
- for (var n = 0; n < t.length; n++)
3025
+ for (var i = 0; i < t.length; i++)
3026
3026
  this.bump();
3027
3027
  return !0;
3028
3028
  }
3029
3029
  return !1;
3030
3030
  }, e.prototype.bumpUntil = function(t) {
3031
- var n = this.offset(), i = this.message.indexOf(t, n);
3032
- return i >= 0 ? (this.bumpTo(i), !0) : (this.bumpTo(this.message.length), !1);
3031
+ var i = this.offset(), n = this.message.indexOf(t, i);
3032
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3033
3033
  }, e.prototype.bumpTo = function(t) {
3034
3034
  if (this.offset() > t)
3035
3035
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3036
3036
  for (t = Math.min(t, this.message.length); ; ) {
3037
- var n = this.offset();
3038
- if (n === t)
3037
+ var i = this.offset();
3038
+ if (i === t)
3039
3039
  break;
3040
- if (n > t)
3040
+ if (i > t)
3041
3041
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3042
3042
  if (this.bump(), this.isEOF())
3043
3043
  break;
3044
3044
  }
3045
3045
  }, e.prototype.bumpSpace = function() {
3046
- for (; !this.isEOF() && hn(this.char()); )
3046
+ for (; !this.isEOF() && ci(this.char()); )
3047
3047
  this.bump();
3048
3048
  }, e.prototype.peek = function() {
3049
3049
  if (this.isEOF())
3050
3050
  return null;
3051
- var t = this.char(), n = this.offset(), i = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3052
- return i ?? null;
3051
+ var t = this.char(), i = this.offset(), n = this.message.charCodeAt(i + (t >= 65536 ? 2 : 1));
3052
+ return n ?? null;
3053
3053
  }, e;
3054
3054
  }()
3055
3055
  );
3056
3056
  function gt(e) {
3057
3057
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3058
3058
  }
3059
- function Ri(e) {
3059
+ function Rn(e) {
3060
3060
  return gt(e) || e === 47;
3061
3061
  }
3062
- function Ui(e) {
3062
+ function Un(e) {
3063
3063
  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;
3064
3064
  }
3065
- function hn(e) {
3065
+ function ci(e) {
3066
3066
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3067
3067
  }
3068
- function ji(e) {
3068
+ function jn(e) {
3069
3069
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3070
3070
  }
3071
3071
  function bt(e) {
3072
3072
  e.forEach(function(t) {
3073
- if (delete t.location, en(t) || tn(t))
3074
- for (var n in t.options)
3075
- delete t.options[n].location, bt(t.options[n].value);
3073
+ if (delete t.location, ei(t) || ti(t))
3074
+ for (var i in t.options)
3075
+ delete t.options[i].location, bt(t.options[i].value);
3076
3076
  else
3077
- Jt(t) && rn(t.style) || (Qt(t) || Kt(t)) && ft(t.style) ? delete t.style.location : nn(t) && bt(t.children);
3077
+ Jt(t) && ni(t.style) || (Qt(t) || Kt(t)) && ft(t.style) ? delete t.style.location : ii(t) && bt(t.children);
3078
3078
  });
3079
3079
  }
3080
- function Gi(e, t) {
3080
+ function Gn(e, t) {
3081
3081
  t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3082
- var n = new Di(e, t).parse();
3083
- if (n.err) {
3084
- var i = SyntaxError(B[n.err.kind]);
3085
- throw i.location = n.err.location, i.originalMessage = n.err.message, i;
3082
+ var i = new Dn(e, t).parse();
3083
+ if (i.err) {
3084
+ var n = SyntaxError(B[i.err.kind]);
3085
+ throw n.location = i.err.location, n.originalMessage = i.err.message, n;
3086
3086
  }
3087
- return t?.captureLocation || bt(n.val), n.val;
3087
+ return t?.captureLocation || bt(i.val), i.val;
3088
3088
  }
3089
3089
  var xe;
3090
3090
  (function(e) {
@@ -3094,9 +3094,9 @@ var Je = (
3094
3094
  /** @class */
3095
3095
  function(e) {
3096
3096
  Ye(t, e);
3097
- function t(n, i, r) {
3098
- var o = e.call(this, n) || this;
3099
- return o.code = i, o.originalMessage = r, o;
3097
+ function t(i, n, r) {
3098
+ var o = e.call(this, i) || this;
3099
+ return o.code = n, o.originalMessage = r, o;
3100
3100
  }
3101
3101
  return t.prototype.toString = function() {
3102
3102
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3106,26 +3106,26 @@ var Je = (
3106
3106
  /** @class */
3107
3107
  function(e) {
3108
3108
  Ye(t, e);
3109
- function t(n, i, r, o) {
3110
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(i, '". Options are "').concat(Object.keys(r).join('", "'), '"'), xe.INVALID_VALUE, o) || this;
3109
+ function t(i, n, r, o) {
3110
+ return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), xe.INVALID_VALUE, o) || this;
3111
3111
  }
3112
3112
  return t;
3113
3113
  }(Je)
3114
- ), $i = (
3114
+ ), $n = (
3115
3115
  /** @class */
3116
3116
  function(e) {
3117
3117
  Ye(t, e);
3118
- function t(n, i, r) {
3119
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(i), xe.INVALID_VALUE, r) || this;
3118
+ function t(i, n, r) {
3119
+ return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), xe.INVALID_VALUE, r) || this;
3120
3120
  }
3121
3121
  return t;
3122
3122
  }(Je)
3123
- ), zi = (
3123
+ ), zn = (
3124
3124
  /** @class */
3125
3125
  function(e) {
3126
3126
  Ye(t, e);
3127
- function t(n, i) {
3128
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(i, '"'), xe.MISSING_VALUE, i) || this;
3127
+ function t(i, n) {
3128
+ return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), xe.MISSING_VALUE, n) || this;
3129
3129
  }
3130
3130
  return t;
3131
3131
  }(Je)
@@ -3133,16 +3133,16 @@ var Je = (
3133
3133
  (function(e) {
3134
3134
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3135
3135
  })(W || (W = {}));
3136
- function Fi(e) {
3137
- return e.length < 2 ? e : e.reduce(function(t, n) {
3138
- var i = t[t.length - 1];
3139
- return !i || i.type !== W.literal || n.type !== W.literal ? t.push(n) : i.value += n.value, t;
3136
+ function Fn(e) {
3137
+ return e.length < 2 ? e : e.reduce(function(t, i) {
3138
+ var n = t[t.length - 1];
3139
+ return !n || n.type !== W.literal || i.type !== W.literal ? t.push(i) : n.value += i.value, t;
3140
3140
  }, []);
3141
3141
  }
3142
- function Vi(e) {
3142
+ function Vn(e) {
3143
3143
  return typeof e == "function";
3144
3144
  }
3145
- function Fe(e, t, n, i, r, o, a) {
3145
+ function Fe(e, t, i, n, r, o, a) {
3146
3146
  if (e.length === 1 && At(e[0]))
3147
3147
  return [
3148
3148
  {
@@ -3159,18 +3159,18 @@ function Fe(e, t, n, i, r, o, a) {
3159
3159
  });
3160
3160
  continue;
3161
3161
  }
3162
- if (pi(c)) {
3162
+ if (pn(c)) {
3163
3163
  typeof o == "number" && s.push({
3164
3164
  type: W.literal,
3165
- value: n.getNumberFormat(t).format(o)
3165
+ value: i.getNumberFormat(t).format(o)
3166
3166
  });
3167
3167
  continue;
3168
3168
  }
3169
3169
  var p = c.value;
3170
3170
  if (!(r && p in r))
3171
- throw new zi(p, a);
3171
+ throw new zn(p, a);
3172
3172
  var m = r[p];
3173
- if (fi(c)) {
3173
+ if (fn(c)) {
3174
3174
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3175
3175
  type: typeof m == "string" ? W.literal : W.object,
3176
3176
  value: m
@@ -3178,34 +3178,34 @@ function Fe(e, t, n, i, r, o, a) {
3178
3178
  continue;
3179
3179
  }
3180
3180
  if (Qt(c)) {
3181
- var d = typeof c.style == "string" ? i.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3181
+ var d = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3182
3182
  s.push({
3183
3183
  type: W.literal,
3184
- value: n.getDateTimeFormat(t, d).format(m)
3184
+ value: i.getDateTimeFormat(t, d).format(m)
3185
3185
  });
3186
3186
  continue;
3187
3187
  }
3188
3188
  if (Kt(c)) {
3189
- var d = typeof c.style == "string" ? i.time[c.style] : ft(c.style) ? c.style.parsedOptions : i.time.medium;
3189
+ var d = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
3190
3190
  s.push({
3191
3191
  type: W.literal,
3192
- value: n.getDateTimeFormat(t, d).format(m)
3192
+ value: i.getDateTimeFormat(t, d).format(m)
3193
3193
  });
3194
3194
  continue;
3195
3195
  }
3196
3196
  if (Jt(c)) {
3197
- var d = typeof c.style == "string" ? i.number[c.style] : rn(c.style) ? c.style.parsedOptions : void 0;
3197
+ var d = typeof c.style == "string" ? n.number[c.style] : ni(c.style) ? c.style.parsedOptions : void 0;
3198
3198
  d && d.scale && (m = m * (d.scale || 1)), s.push({
3199
3199
  type: W.literal,
3200
- value: n.getNumberFormat(t, d).format(m)
3200
+ value: i.getNumberFormat(t, d).format(m)
3201
3201
  });
3202
3202
  continue;
3203
3203
  }
3204
- if (nn(c)) {
3204
+ if (ii(c)) {
3205
3205
  var E = c.children, _ = c.value, y = r[_];
3206
- if (!Vi(y))
3207
- throw new $i(_, "function", a);
3208
- var v = Fe(E, t, n, i, r, o), O = y(v.map(function(S) {
3206
+ if (!Vn(y))
3207
+ throw new $n(_, "function", a);
3208
+ var v = Fe(E, t, i, n, r, o), O = y(v.map(function(S) {
3209
3209
  return S.value;
3210
3210
  }));
3211
3211
  Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(S) {
@@ -3215,39 +3215,39 @@ function Fe(e, t, n, i, r, o, a) {
3215
3215
  };
3216
3216
  }));
3217
3217
  }
3218
- if (en(c)) {
3218
+ if (ei(c)) {
3219
3219
  var w = c.options[m] || c.options.other;
3220
3220
  if (!w)
3221
3221
  throw new Mt(c.value, m, Object.keys(c.options), a);
3222
- s.push.apply(s, Fe(w.value, t, n, i, r));
3222
+ s.push.apply(s, Fe(w.value, t, i, n, r));
3223
3223
  continue;
3224
3224
  }
3225
- if (tn(c)) {
3225
+ if (ti(c)) {
3226
3226
  var w = c.options["=".concat(m)];
3227
3227
  if (!w) {
3228
3228
  if (!Intl.PluralRules)
3229
3229
  throw new Je(`Intl.PluralRules is not available in this environment.
3230
3230
  Try polyfilling it using "@formatjs/intl-pluralrules"
3231
3231
  `, xe.MISSING_INTL_API, a);
3232
- var M = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3232
+ var M = i.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3233
3233
  w = c.options[M] || c.options.other;
3234
3234
  }
3235
3235
  if (!w)
3236
3236
  throw new Mt(c.value, m, Object.keys(c.options), a);
3237
- s.push.apply(s, Fe(w.value, t, n, i, r, m - (c.offset || 0)));
3237
+ s.push.apply(s, Fe(w.value, t, i, n, r, m - (c.offset || 0)));
3238
3238
  continue;
3239
3239
  }
3240
3240
  }
3241
- return Fi(s);
3241
+ return Fn(s);
3242
3242
  }
3243
- function Xi(e, t) {
3244
- return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(n, i) {
3245
- return n[i] = oe(oe({}, e[i]), t[i] || {}), n;
3243
+ function Xn(e, t) {
3244
+ return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
3245
+ return i[n] = oe(oe({}, e[n]), t[n] || {}), i;
3246
3246
  }, {})) : e;
3247
3247
  }
3248
- function qi(e, t) {
3249
- return t ? Object.keys(e).reduce(function(n, i) {
3250
- return n[i] = Xi(e[i], t[i]), n;
3248
+ function qn(e, t) {
3249
+ return t ? Object.keys(e).reduce(function(i, n) {
3250
+ return i[n] = Xn(e[n], t[n]), i;
3251
3251
  }, oe({}, e)) : e;
3252
3252
  }
3253
3253
  function at(e) {
@@ -3257,50 +3257,50 @@ function at(e) {
3257
3257
  get: function(t) {
3258
3258
  return e[t];
3259
3259
  },
3260
- set: function(t, n) {
3261
- e[t] = n;
3260
+ set: function(t, i) {
3261
+ e[t] = i;
3262
3262
  }
3263
3263
  };
3264
3264
  }
3265
3265
  };
3266
3266
  }
3267
- function Wi(e) {
3267
+ function Wn(e) {
3268
3268
  return e === void 0 && (e = {
3269
3269
  number: {},
3270
3270
  dateTime: {},
3271
3271
  pluralRules: {}
3272
3272
  }), {
3273
3273
  getNumberFormat: rt(function() {
3274
- for (var t, n = [], i = 0; i < arguments.length; i++)
3275
- n[i] = arguments[i];
3276
- return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], n, !1)))();
3274
+ for (var t, i = [], n = 0; n < arguments.length; n++)
3275
+ i[n] = arguments[n];
3276
+ return new ((t = Intl.NumberFormat).bind.apply(t, nt([void 0], i, !1)))();
3277
3277
  }, {
3278
3278
  cache: at(e.number),
3279
3279
  strategy: ot.variadic
3280
3280
  }),
3281
3281
  getDateTimeFormat: rt(function() {
3282
- for (var t, n = [], i = 0; i < arguments.length; i++)
3283
- n[i] = arguments[i];
3284
- return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], n, !1)))();
3282
+ for (var t, i = [], n = 0; n < arguments.length; n++)
3283
+ i[n] = arguments[n];
3284
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, nt([void 0], i, !1)))();
3285
3285
  }, {
3286
3286
  cache: at(e.dateTime),
3287
3287
  strategy: ot.variadic
3288
3288
  }),
3289
3289
  getPluralRules: rt(function() {
3290
- for (var t, n = [], i = 0; i < arguments.length; i++)
3291
- n[i] = arguments[i];
3292
- return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], n, !1)))();
3290
+ for (var t, i = [], n = 0; n < arguments.length; n++)
3291
+ i[n] = arguments[n];
3292
+ return new ((t = Intl.PluralRules).bind.apply(t, nt([void 0], i, !1)))();
3293
3293
  }, {
3294
3294
  cache: at(e.pluralRules),
3295
3295
  strategy: ot.variadic
3296
3296
  })
3297
3297
  };
3298
3298
  }
3299
- var Zi = (
3299
+ var Zn = (
3300
3300
  /** @class */
3301
3301
  function() {
3302
- function e(t, n, i, r) {
3303
- n === void 0 && (n = e.defaultLocale);
3302
+ function e(t, i, n, r) {
3303
+ i === void 0 && (i = e.defaultLocale);
3304
3304
  var o = this;
3305
3305
  if (this.formatterCache = {
3306
3306
  number: {},
@@ -3323,18 +3323,18 @@ var Zi = (
3323
3323
  };
3324
3324
  }, this.getAst = function() {
3325
3325
  return o.ast;
3326
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3326
+ }, this.locales = i, this.resolvedLocale = e.resolveLocale(i), typeof t == "string") {
3327
3327
  if (this.message = t, !e.__parse)
3328
3328
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3329
3329
  var a = r || {};
3330
3330
  a.formatters;
3331
- var s = ri(a, ["formatters"]);
3331
+ var s = rn(a, ["formatters"]);
3332
3332
  this.ast = e.__parse(t, oe(oe({}, s), { locale: this.resolvedLocale }));
3333
3333
  } else
3334
3334
  this.ast = t;
3335
3335
  if (!Array.isArray(this.ast))
3336
3336
  throw new TypeError("A message must be provided as a String or AST.");
3337
- this.formats = qi(e.formats, i), this.formatters = r && r.formatters || Wi(this.formatterCache);
3337
+ this.formats = qn(e.formats, n), this.formatters = r && r.formatters || Wn(this.formatterCache);
3338
3338
  }
3339
3339
  return Object.defineProperty(e, "defaultLocale", {
3340
3340
  get: function() {
@@ -3344,10 +3344,10 @@ var Zi = (
3344
3344
  configurable: !0
3345
3345
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3346
3346
  if (!(typeof Intl.Locale > "u")) {
3347
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3348
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3347
+ var i = Intl.NumberFormat.supportedLocalesOf(t);
3348
+ return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3349
3349
  }
3350
- }, e.__parse = Gi, e.formats = {
3350
+ }, e.__parse = Gn, e.formats = {
3351
3351
  number: {
3352
3352
  integer: {
3353
3353
  maximumFractionDigits: 0
@@ -3408,65 +3408,65 @@ var Zi = (
3408
3408
  }, e;
3409
3409
  }()
3410
3410
  );
3411
- function Yi(e, t) {
3411
+ function Yn(e, t) {
3412
3412
  if (t == null)
3413
3413
  return;
3414
3414
  if (t in e)
3415
3415
  return e[t];
3416
- const n = t.split(".");
3417
- let i = e;
3418
- for (let r = 0; r < n.length; r++)
3419
- if (typeof i == "object") {
3416
+ const i = t.split(".");
3417
+ let n = e;
3418
+ for (let r = 0; r < i.length; r++)
3419
+ if (typeof n == "object") {
3420
3420
  if (r > 0) {
3421
- const o = n.slice(r, n.length).join(".");
3422
- if (o in i) {
3423
- i = i[o];
3421
+ const o = i.slice(r, i.length).join(".");
3422
+ if (o in n) {
3423
+ n = n[o];
3424
3424
  break;
3425
3425
  }
3426
3426
  }
3427
- i = i[n[r]];
3427
+ n = n[i[r]];
3428
3428
  } else
3429
- i = void 0;
3430
- return i;
3429
+ n = void 0;
3430
+ return n;
3431
3431
  }
3432
- const le = {}, Ji = (e, t, n) => n && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = n), n), fn = (e, t) => {
3432
+ const le = {}, Jn = (e, t, i) => i && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = i), i), hi = (e, t) => {
3433
3433
  if (t == null)
3434
3434
  return;
3435
3435
  if (t in le && e in le[t])
3436
3436
  return le[t][e];
3437
- const n = Qe(t);
3438
- for (let i = 0; i < n.length; i++) {
3439
- const r = n[i], o = Ki(r, e);
3437
+ const i = Qe(t);
3438
+ for (let n = 0; n < i.length; n++) {
3439
+ const r = i[n], o = Kn(r, e);
3440
3440
  if (o)
3441
- return Ji(e, t, o);
3441
+ return Jn(e, t, o);
3442
3442
  }
3443
3443
  };
3444
3444
  let _t;
3445
3445
  const De = Ze({});
3446
- function Qi(e) {
3446
+ function Qn(e) {
3447
3447
  return _t[e] || null;
3448
3448
  }
3449
- function pn(e) {
3449
+ function fi(e) {
3450
3450
  return e in _t;
3451
3451
  }
3452
- function Ki(e, t) {
3453
- if (!pn(e))
3452
+ function Kn(e, t) {
3453
+ if (!fi(e))
3454
3454
  return null;
3455
- const n = Qi(e);
3456
- return Yi(n, t);
3455
+ const i = Qn(e);
3456
+ return Yn(i, t);
3457
3457
  }
3458
3458
  function er(e) {
3459
3459
  if (e == null)
3460
3460
  return;
3461
3461
  const t = Qe(e);
3462
- for (let n = 0; n < t.length; n++) {
3463
- const i = t[n];
3464
- if (pn(i))
3465
- return i;
3462
+ for (let i = 0; i < t.length; i++) {
3463
+ const n = t[i];
3464
+ if (fi(n))
3465
+ return n;
3466
3466
  }
3467
3467
  }
3468
- function mn(e, ...t) {
3469
- delete le[e], De.update((n) => (n[e] = ii.all([n[e] || {}, ...t]), n));
3468
+ function pi(e, ...t) {
3469
+ delete le[e], De.update((i) => (i[e] = nn.all([i[e] || {}, ...t]), i));
3470
3470
  }
3471
3471
  Pe(
3472
3472
  [De],
@@ -3477,40 +3477,40 @@ const Ve = {};
3477
3477
  function tr(e, t) {
3478
3478
  Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3479
3479
  }
3480
- function dn(e) {
3480
+ function mi(e) {
3481
3481
  return Ve[e];
3482
3482
  }
3483
- function nr(e) {
3483
+ function ir(e) {
3484
3484
  return Qe(e).map((t) => {
3485
- const n = dn(t);
3486
- return [t, n ? [...n] : []];
3485
+ const i = mi(t);
3486
+ return [t, i ? [...i] : []];
3487
3487
  }).filter(([, t]) => t.length > 0);
3488
3488
  }
3489
3489
  function yt(e) {
3490
3490
  return e == null ? !1 : Qe(e).some(
3491
3491
  (t) => {
3492
- var n;
3493
- return (n = dn(t)) == null ? void 0 : n.size;
3492
+ var i;
3493
+ return (i = mi(t)) == null ? void 0 : i.size;
3494
3494
  }
3495
3495
  );
3496
3496
  }
3497
- function ir(e, t) {
3497
+ function nr(e, t) {
3498
3498
  return Promise.all(
3499
- t.map((i) => (tr(e, i), i().then((r) => r.default || r)))
3500
- ).then((i) => mn(e, ...i));
3499
+ t.map((n) => (tr(e, n), n().then((r) => r.default || r)))
3500
+ ).then((n) => pi(e, ...n));
3501
3501
  }
3502
3502
  const ke = {};
3503
- function gn(e) {
3503
+ function di(e) {
3504
3504
  if (!yt(e))
3505
3505
  return e in ke ? ke[e] : Promise.resolve();
3506
- const t = nr(e);
3506
+ const t = ir(e);
3507
3507
  return ke[e] = Promise.all(
3508
3508
  t.map(
3509
- ([n, i]) => ir(n, i)
3509
+ ([i, n]) => nr(i, n)
3510
3510
  )
3511
3511
  ).then(() => {
3512
3512
  if (yt(e))
3513
- return gn(e);
3513
+ return di(e);
3514
3514
  delete ke[e];
3515
3515
  }), ke[e];
3516
3516
  }
@@ -3555,22 +3555,22 @@ function Te() {
3555
3555
  return sr;
3556
3556
  }
3557
3557
  const lt = Ze(!1);
3558
- var ar = Object.defineProperty, lr = Object.defineProperties, ur = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, n) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, fr = (e, t) => {
3559
- for (var n in t || (t = {}))
3560
- cr.call(t, n) && Rt(e, n, t[n]);
3558
+ var ar = Object.defineProperty, lr = Object.defineProperties, ur = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, i) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, fr = (e, t) => {
3559
+ for (var i in t || (t = {}))
3560
+ cr.call(t, i) && Rt(e, i, t[i]);
3561
3561
  if (Dt)
3562
- for (var n of Dt(t))
3563
- hr.call(t, n) && Rt(e, n, t[n]);
3562
+ for (var i of Dt(t))
3563
+ hr.call(t, i) && Rt(e, i, t[i]);
3564
3564
  return e;
3565
3565
  }, pr = (e, t) => lr(e, ur(t));
3566
3566
  let vt;
3567
3567
  const qe = Ze(null);
3568
3568
  function Ut(e) {
3569
- return e.split("-").map((t, n, i) => i.slice(0, n + 1).join("-")).reverse();
3569
+ return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
3570
3570
  }
3571
3571
  function Qe(e, t = Te().fallbackLocale) {
3572
- const n = Ut(e);
3573
- return t ? [.../* @__PURE__ */ new Set([...n, ...Ut(t)])] : n;
3572
+ const i = Ut(e);
3573
+ return t ? [.../* @__PURE__ */ new Set([...i, ...Ut(t)])] : i;
3574
3574
  }
3575
3575
  function he() {
3576
3576
  return vt ?? void 0;
@@ -3581,14 +3581,14 @@ qe.subscribe((e) => {
3581
3581
  const mr = (e) => {
3582
3582
  if (e && er(e) && yt(e)) {
3583
3583
  const { loadingDelay: t } = Te();
3584
- let n;
3585
- return typeof window < "u" && he() != null && t ? n = window.setTimeout(
3584
+ let i;
3585
+ return typeof window < "u" && he() != null && t ? i = window.setTimeout(
3586
3586
  () => lt.set(!0),
3587
3587
  t
3588
- ) : lt.set(!0), gn(e).then(() => {
3588
+ ) : lt.set(!0), di(e).then(() => {
3589
3589
  qe.set(e);
3590
3590
  }).finally(() => {
3591
- clearTimeout(n), lt.set(!1);
3591
+ clearTimeout(i), lt.set(!1);
3592
3592
  });
3593
3593
  }
3594
3594
  return qe.set(e);
@@ -3596,83 +3596,83 @@ const mr = (e) => {
3596
3596
  set: mr
3597
3597
  }), Ke = (e) => {
3598
3598
  const t = /* @__PURE__ */ Object.create(null);
3599
- return (i) => {
3600
- const r = JSON.stringify(i);
3601
- return r in t ? t[r] : t[r] = e(i);
3599
+ return (n) => {
3600
+ const r = JSON.stringify(n);
3601
+ return r in t ? t[r] : t[r] = e(n);
3602
3602
  };
3603
3603
  };
3604
- var dr = Object.defineProperty, We = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, jt = (e, t, n) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xt = (e, t) => {
3605
- for (var n in t || (t = {}))
3606
- bn.call(t, n) && jt(e, n, t[n]);
3604
+ var dr = Object.defineProperty, We = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, jt = (e, t, i) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
3605
+ for (var i in t || (t = {}))
3606
+ gi.call(t, i) && jt(e, i, t[i]);
3607
3607
  if (We)
3608
- for (var n of We(t))
3609
- yn.call(t, n) && jt(e, n, t[n]);
3608
+ for (var i of We(t))
3609
+ bi.call(t, i) && jt(e, i, t[i]);
3610
3610
  return e;
3611
3611
  }, Be = (e, t) => {
3612
- var n = {};
3613
- for (var i in e)
3614
- bn.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
3612
+ var i = {};
3613
+ for (var n in e)
3614
+ gi.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
3615
3615
  if (e != null && We)
3616
- for (var i of We(e))
3617
- t.indexOf(i) < 0 && yn.call(e, i) && (n[i] = e[i]);
3618
- return n;
3616
+ for (var n of We(e))
3617
+ t.indexOf(n) < 0 && bi.call(e, n) && (i[n] = e[n]);
3618
+ return i;
3619
3619
  };
3620
3620
  const Me = (e, t) => {
3621
- const { formats: n } = Te();
3622
- if (e in n && t in n[e])
3623
- return n[e][t];
3621
+ const { formats: i } = Te();
3622
+ if (e in i && t in i[e])
3623
+ return i[e][t];
3624
3624
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3625
3625
  }, gr = Ke(
3626
3626
  (e) => {
3627
- var t = e, { locale: n, format: i } = t, r = Be(t, ["locale", "format"]);
3628
- if (n == null)
3627
+ var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
3628
+ if (i == null)
3629
3629
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3630
- return i && (r = Me("number", i)), new Intl.NumberFormat(n, r);
3630
+ return n && (r = Me("number", n)), new Intl.NumberFormat(i, r);
3631
3631
  }
3632
3632
  ), br = Ke(
3633
3633
  (e) => {
3634
- var t = e, { locale: n, format: i } = t, r = Be(t, ["locale", "format"]);
3635
- if (n == null)
3634
+ var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
3635
+ if (i == null)
3636
3636
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3637
- return i ? r = Me("date", i) : Object.keys(r).length === 0 && (r = Me("date", "short")), new Intl.DateTimeFormat(n, r);
3637
+ return n ? r = Me("date", n) : Object.keys(r).length === 0 && (r = Me("date", "short")), new Intl.DateTimeFormat(i, r);
3638
3638
  }
3639
3639
  ), yr = Ke(
3640
3640
  (e) => {
3641
- var t = e, { locale: n, format: i } = t, r = Be(t, ["locale", "format"]);
3642
- if (n == null)
3641
+ var t = e, { locale: i, format: n } = t, r = Be(t, ["locale", "format"]);
3642
+ if (i == null)
3643
3643
  throw new Error(
3644
3644
  '[svelte-i18n] A "locale" must be set to format time values'
3645
3645
  );
3646
- return i ? r = Me("time", i) : Object.keys(r).length === 0 && (r = Me("time", "short")), new Intl.DateTimeFormat(n, r);
3646
+ return n ? r = Me("time", n) : Object.keys(r).length === 0 && (r = Me("time", "short")), new Intl.DateTimeFormat(i, r);
3647
3647
  }
3648
3648
  ), vr = (e = {}) => {
3649
3649
  var t = e, {
3650
- locale: n = he()
3651
- } = t, i = Be(t, [
3650
+ locale: i = he()
3651
+ } = t, n = Be(t, [
3652
3652
  "locale"
3653
3653
  ]);
3654
- return gr(xt({ locale: n }, i));
3654
+ return gr(xt({ locale: i }, n));
3655
3655
  }, Er = (e = {}) => {
3656
3656
  var t = e, {
3657
- locale: n = he()
3658
- } = t, i = Be(t, [
3657
+ locale: i = he()
3658
+ } = t, n = Be(t, [
3659
3659
  "locale"
3660
3660
  ]);
3661
- return br(xt({ locale: n }, i));
3661
+ return br(xt({ locale: i }, n));
3662
3662
  }, _r = (e = {}) => {
3663
3663
  var t = e, {
3664
- locale: n = he()
3665
- } = t, i = Be(t, [
3664
+ locale: i = he()
3665
+ } = t, n = Be(t, [
3666
3666
  "locale"
3667
3667
  ]);
3668
- return yr(xt({ locale: n }, i));
3668
+ return yr(xt({ locale: i }, n));
3669
3669
  }, xr = Ke(
3670
3670
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3671
- (e, t = he()) => new Zi(e, t, Te().formats, {
3671
+ (e, t = he()) => new Zn(e, t, Te().formats, {
3672
3672
  ignoreTag: Te().ignoreTag
3673
3673
  })
3674
3674
  ), Tr = (e, t = {}) => {
3675
- var n, i, r, o;
3675
+ var i, n, r, o;
3676
3676
  let a = t;
3677
3677
  typeof e == "object" && (a = e, e = a.id);
3678
3678
  const {
@@ -3684,9 +3684,9 @@ const Me = (e, t) => {
3684
3684
  throw new Error(
3685
3685
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3686
3686
  );
3687
- let c = fn(e, u);
3687
+ let c = hi(e, u);
3688
3688
  if (!c)
3689
- c = (o = (r = (i = (n = Te()).handleMissingMessage) == null ? void 0 : i.call(n, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
3689
+ c = (o = (r = (n = (i = Te()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
3690
3690
  else if (typeof c != "string")
3691
3691
  return console.warn(
3692
3692
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3703,13 +3703,13 @@ const Me = (e, t) => {
3703
3703
  );
3704
3704
  }
3705
3705
  return p;
3706
- }, Pr = (e, t) => _r(t).format(e), wr = (e, t) => Er(t).format(e), Br = (e, t) => vr(t).format(e), Lr = (e, t = he()) => fn(e, t), Sr = Pe([we, De], () => Tr);
3706
+ }, Pr = (e, t) => _r(t).format(e), wr = (e, t) => Er(t).format(e), Br = (e, t) => vr(t).format(e), Lr = (e, t = he()) => hi(e, t), Sr = Pe([we, De], () => Tr);
3707
3707
  Pe([we], () => Pr);
3708
3708
  Pe([we], () => wr);
3709
3709
  Pe([we], () => Br);
3710
3710
  Pe([we, De], () => Lr);
3711
3711
  function Gt(e, t) {
3712
- mn(e, t);
3712
+ pi(e, t);
3713
3713
  }
3714
3714
  function Ar(e) {
3715
3715
  we.set(e);
@@ -3977,33 +3977,35 @@ const $t = {
3977
3977
  };
3978
3978
  function Ir(e, t) {
3979
3979
  if (e) {
3980
- const n = document.createElement("style");
3981
- n.innerHTML = t, e.appendChild(n);
3980
+ const i = document.createElement("style");
3981
+ i.innerHTML = t, e.appendChild(i);
3982
3982
  }
3983
3983
  }
3984
3984
  function kr(e, t) {
3985
- const n = new URL(t);
3986
- fetch(n.href).then((i) => i.text()).then((i) => {
3985
+ if (!e || !t)
3986
+ return;
3987
+ const i = new URL(t);
3988
+ fetch(i.href).then((n) => n.text()).then((n) => {
3987
3989
  const r = document.createElement("style");
3988
- r.innerHTML = i, e && e.appendChild(r);
3989
- }).catch((i) => {
3990
- console.error("There was an error while trying to load client styling from URL", i);
3990
+ r.innerHTML = n, e && e.appendChild(r);
3991
+ }).catch((n) => {
3992
+ console.error("There was an error while trying to load client styling from URL", n);
3991
3993
  });
3992
3994
  }
3993
- function Hr(e, t, n) {
3995
+ function Hr(e, t, i) {
3994
3996
  if (window.emMessageBus) {
3995
- const i = document.createElement("style");
3997
+ const n = document.createElement("style");
3996
3998
  window.emMessageBus.subscribe(t, (r) => {
3997
- i.innerHTML = r, e && e.appendChild(i);
3999
+ n.innerHTML = r, e && e.appendChild(n);
3998
4000
  });
3999
4001
  }
4000
4002
  }
4001
4003
  function Cr(e) {
4002
- _n(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
4004
+ Ei(e, "svelte-1a4l86f", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
4003
4005
  }
4004
4006
  function Nr(e) {
4005
4007
  let t;
4006
- function n(o, a) {
4008
+ function i(o, a) {
4007
4009
  if (
4008
4010
  /*popupState*/
4009
4011
  o[10] === "initial"
@@ -4030,7 +4032,7 @@ function Nr(e) {
4030
4032
  )
4031
4033
  return Mr;
4032
4034
  }
4033
- let i = n(e), r = i && i(e);
4035
+ let n = i(e), r = n && n(e);
4034
4036
  return {
4035
4037
  c() {
4036
4038
  t = b("div"), r && r.c(), h(t, "class", "InitialWrapper");
@@ -4039,7 +4041,7 @@ function Nr(e) {
4039
4041
  T(o, t, a), r && r.m(t, null);
4040
4042
  },
4041
4043
  p(o, a) {
4042
- i === (i = n(o)) && r ? r.p(o, a) : (r && r.d(1), r = i && i(o), r && (r.c(), r.m(t, null)));
4044
+ n === (n = i(o)) && r ? r.p(o, a) : (r && r.d(1), r = n && n(o), r && (r.c(), r.m(t, null)));
4043
4045
  },
4044
4046
  d(o) {
4045
4047
  o && x(t), r && r.d();
@@ -4047,21 +4049,21 @@ function Nr(e) {
4047
4049
  };
4048
4050
  }
4049
4051
  function Or(e) {
4050
- let t, n = (
4052
+ let t, i = (
4051
4053
  /*$_*/
4052
4054
  e[12]("loading") + ""
4053
- ), i;
4055
+ ), n;
4054
4056
  return {
4055
4057
  c() {
4056
- t = b("p"), i = L(n);
4058
+ t = b("p"), n = L(i);
4057
4059
  },
4058
4060
  m(r, o) {
4059
- T(r, t, o), f(t, i);
4061
+ T(r, t, o), f(t, n);
4060
4062
  },
4061
4063
  p(r, o) {
4062
4064
  o[0] & /*$_*/
4063
- 4096 && n !== (n = /*$_*/
4064
- r[12]("loading") + "") && k(i, n);
4065
+ 4096 && i !== (i = /*$_*/
4066
+ r[12]("loading") + "") && k(n, i);
4065
4067
  },
4066
4068
  d(r) {
4067
4069
  r && x(t);
@@ -4069,10 +4071,10 @@ function Or(e) {
4069
4071
  };
4070
4072
  }
4071
4073
  function Mr(e) {
4072
- let t, n = (
4074
+ let t, i = (
4073
4075
  /*$_*/
4074
4076
  e[12]("depositError") + ""
4075
- ), i, r, o, a, s, u = (
4077
+ ), n, r, o, a, s, u = (
4076
4078
  /*$_*/
4077
4079
  e[12]("errorDescription") + ""
4078
4080
  ), l, c, p, m = (
@@ -4081,10 +4083,10 @@ function Mr(e) {
4081
4083
  ), d, E, _;
4082
4084
  return {
4083
4085
  c() {
4084
- t = b("p"), i = L(n), r = N(), o = b("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = N(), s = b("p"), l = L(u), c = N(), p = b("button"), d = L(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
4086
+ t = b("p"), n = L(i), r = N(), o = b("div"), o.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>', a = N(), s = b("p"), l = L(u), c = N(), p = b("button"), d = L(m), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(p, "class", "ConfirmButton SecondaryButtonStyle");
4085
4087
  },
4086
4088
  m(y, v) {
4087
- T(y, t, v), f(t, i), T(y, r, v), T(y, o, v), T(y, a, v), T(y, s, v), f(s, l), T(y, c, v), T(y, p, v), f(p, d), E || (_ = Z(
4089
+ T(y, t, v), f(t, n), T(y, r, v), T(y, o, v), T(y, a, v), T(y, s, v), f(s, l), T(y, c, v), T(y, p, v), f(p, d), E || (_ = Z(
4088
4090
  p,
4089
4091
  "click",
4090
4092
  /*click_handler_10*/
@@ -4093,8 +4095,8 @@ function Mr(e) {
4093
4095
  },
4094
4096
  p(y, v) {
4095
4097
  v[0] & /*$_*/
4096
- 4096 && n !== (n = /*$_*/
4097
- y[12]("depositError") + "") && k(i, n), v[0] & /*$_*/
4098
+ 4096 && i !== (i = /*$_*/
4099
+ y[12]("depositError") + "") && k(n, i), v[0] & /*$_*/
4098
4100
  4096 && u !== (u = /*$_*/
4099
4101
  y[12]("errorDescription") + "") && k(l, u), v[0] & /*$_*/
4100
4102
  4096 && m !== (m = /*$_*/
@@ -4106,10 +4108,10 @@ function Mr(e) {
4106
4108
  };
4107
4109
  }
4108
4110
  function Dr(e) {
4109
- let t, n = (
4111
+ let t, i = (
4110
4112
  /*$_*/
4111
4113
  e[12]("docsRequired") + ""
4112
- ), i, r, o, a, s, u, l, c, p, m = (
4114
+ ), n, r, o, a, s, u, l, c, p, m = (
4113
4115
  /*$_*/
4114
4116
  e[12]("docsRequired") + ""
4115
4117
  ), d, E, _, y = (
@@ -4124,13 +4126,13 @@ function Dr(e) {
4124
4126
  ), R, G, X;
4125
4127
  return {
4126
4128
  c() {
4127
- t = b("p"), i = L(n), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = N(), w = b("button"), S = L(M), D = N(), z = b("button"), R = L(H), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4129
+ t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = N(), w = b("button"), S = L(M), D = N(), z = b("button"), R = L(H), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4128
4130
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
4129
4131
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
4130
4132
  h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), He(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(w, "class", "KycButton PrimaryButtonStyle"), h(z, "class", "ConfirmButton SecondaryButtonStyle");
4131
4133
  },
4132
4134
  m(P, U) {
4133
- T(P, t, U), f(t, i), T(P, r, U), T(P, o, U), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), T(P, O, U), T(P, w, U), f(w, S), T(P, D, U), T(P, z, U), f(z, R), G || (X = [
4135
+ T(P, t, U), f(t, n), T(P, r, U), T(P, o, U), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), T(P, O, U), T(P, w, U), f(w, S), T(P, D, U), T(P, z, U), f(z, R), G || (X = [
4134
4136
  Z(
4135
4137
  w,
4136
4138
  "click",
@@ -4147,8 +4149,8 @@ function Dr(e) {
4147
4149
  },
4148
4150
  p(P, U) {
4149
4151
  U[0] & /*$_*/
4150
- 4096 && n !== (n = /*$_*/
4151
- P[12]("docsRequired") + "") && k(i, n), U[0] & /*$_*/
4152
+ 4096 && i !== (i = /*$_*/
4153
+ P[12]("docsRequired") + "") && k(n, i), U[0] & /*$_*/
4152
4154
  4096 && m !== (m = /*$_*/
4153
4155
  P[12]("docsRequired") + "") && k(d, m), U[0] & /*$_*/
4154
4156
  4096 && y !== (y = /*$_*/
@@ -4164,10 +4166,10 @@ function Dr(e) {
4164
4166
  };
4165
4167
  }
4166
4168
  function Rr(e) {
4167
- let t, n = (
4169
+ let t, i = (
4168
4170
  /*$_*/
4169
4171
  e[12]("depositLimit") + ""
4170
- ), i, r, o, a, s, u, l, c, p, m = (
4172
+ ), n, r, o, a, s, u, l, c, p, m = (
4171
4173
  /*$_*/
4172
4174
  e[12]("successful") + ""
4173
4175
  ), d, E, _, y = (
@@ -4182,22 +4184,22 @@ function Rr(e) {
4182
4184
  ), G, X, P, U = (
4183
4185
  /*$_*/
4184
4186
  e[12]("closeButton") + ""
4185
- ), ne, ie, ae;
4187
+ ), ie, ne, ae;
4186
4188
  return {
4187
4189
  c() {
4188
- t = b("p"), i = L(n), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = L(
4190
+ t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = N(), p = b("p"), d = L(m), E = N(), _ = b("p"), v = L(y), O = L(
4189
4191
  /*legislatorLimitValue*/
4190
4192
  e[11]
4191
4193
  ), w = N(), M = L(
4192
4194
  /*currency*/
4193
4195
  e[0]
4194
- ), D = L(S), z = N(), H = b("button"), G = L(R), X = N(), P = b("button"), ne = L(U), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4196
+ ), D = L(S), z = N(), H = b("button"), G = L(R), X = N(), P = b("button"), ie = L(U), h(t, "class", "Title"), h(l, "id", "XMLID_6_"), h(l, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4195
4197
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
4196
4198
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
4197
4199
  h256.5v-82.1H429v366.5H429.9z`), h(u, "id", "XMLID_1_"), h(s, "version", "1.1"), h(s, "id", "Layer_1"), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "viewBox", "0 0 512 512"), He(s, "enable-background", "new 0 0 512 512"), h(s, "xml:space", "preserve"), h(a, "class", "ResultIconWrapper"), h(_, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(H, "class", "KycButton PrimaryButtonStyle"), h(P, "class", "ConfirmButton SecondaryButtonStyle");
4198
4200
  },
4199
4201
  m(F, j) {
4200
- T(F, t, j), f(t, i), T(F, r, j), T(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), f(_, O), f(_, w), f(_, M), f(_, D), T(F, z, j), T(F, H, j), f(H, G), T(F, X, j), T(F, P, j), f(P, ne), ie || (ae = [
4202
+ T(F, t, j), f(t, n), T(F, r, j), T(F, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, p), f(p, d), f(o, E), f(o, _), f(_, v), f(_, O), f(_, w), f(_, M), f(_, D), T(F, z, j), T(F, H, j), f(H, G), T(F, X, j), T(F, P, j), f(P, ie), ne || (ae = [
4201
4203
  Z(
4202
4204
  H,
4203
4205
  "click",
@@ -4210,12 +4212,12 @@ function Rr(e) {
4210
4212
  /*click_handler_7*/
4211
4213
  e[34]
4212
4214
  )
4213
- ], ie = !0);
4215
+ ], ne = !0);
4214
4216
  },
4215
4217
  p(F, j) {
4216
4218
  j[0] & /*$_*/
4217
- 4096 && n !== (n = /*$_*/
4218
- F[12]("depositLimit") + "") && k(i, n), j[0] & /*$_*/
4219
+ 4096 && i !== (i = /*$_*/
4220
+ F[12]("depositLimit") + "") && k(n, i), j[0] & /*$_*/
4219
4221
  4096 && m !== (m = /*$_*/
4220
4222
  F[12]("successful") + "") && k(d, m), j[0] & /*$_*/
4221
4223
  4096 && y !== (y = /*$_*/
@@ -4235,18 +4237,18 @@ function Rr(e) {
4235
4237
  4096 && R !== (R = /*$_*/
4236
4238
  F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
4237
4239
  4096 && U !== (U = /*$_*/
4238
- F[12]("closeButton") + "") && k(ne, U);
4240
+ F[12]("closeButton") + "") && k(ie, U);
4239
4241
  },
4240
4242
  d(F) {
4241
- F && (x(t), x(r), x(o), x(z), x(H), x(X), x(P)), ie = !1, ue(ae);
4243
+ F && (x(t), x(r), x(o), x(z), x(H), x(X), x(P)), ne = !1, ue(ae);
4242
4244
  }
4243
4245
  };
4244
4246
  }
4245
4247
  function Ur(e) {
4246
- let t, n = (
4248
+ let t, i = (
4247
4249
  /*$_*/
4248
4250
  e[12]("depositLimit") + ""
4249
- ), i, r, o, a, s, u, l, c, p, m, d, E, _ = (
4251
+ ), n, r, o, a, s, u, l, c, p, m, d, E, _ = (
4250
4252
  /*$_*/
4251
4253
  e[12]("successful") + ""
4252
4254
  ), y, v, O, w = (
@@ -4255,11 +4257,11 @@ function Ur(e) {
4255
4257
  ), M, S, D, z, H;
4256
4258
  return {
4257
4259
  c() {
4258
- t = b("p"), i = L(n), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("defs"), l = Y("style"), c = L(`.fil0 {fill:black;fill-rule:nonzero}
4260
+ t = b("p"), n = L(i), r = N(), o = b("div"), a = b("div"), s = Y("svg"), u = Y("defs"), l = Y("style"), c = L(`.fil0 {fill:black;fill-rule:nonzero}
4259
4261
  `), p = Y("g"), m = Y("polygon"), d = N(), E = b("p"), y = L(_), v = N(), O = b("p"), M = L(w), S = N(), D = b("button"), D.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(m, "class", "fil0"), h(m, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), h(s, "xmlns", "http://www.w3.org/2000/svg"), h(s, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(s, "xml:space", "preserve"), h(s, "version", "1.1"), He(s, "shape-rendering", "geometricPrecision"), He(s, "text-rendering", "geometricPrecision"), He(s, "image-rendering", "optimizeQuality"), h(s, "viewBox", "0 0 90 69"), h(s, "x", "0px"), h(s, "y", "0px"), h(s, "fill-rule", "evenodd"), h(s, "clip-rule", "evenodd"), h(a, "class", "ResultIconWrapper"), h(O, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(D, "class", "ConfirmButton PrimaryButtonStyle");
4260
4262
  },
4261
4263
  m(R, G) {
4262
- T(R, t, G), f(t, i), T(R, r, G), T(R, o, G), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, E), f(E, y), f(o, v), f(o, O), f(O, M), T(R, S, G), T(R, D, G), z || (H = Z(
4264
+ T(R, t, G), f(t, n), T(R, r, G), T(R, o, G), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, p), f(p, m), f(a, d), f(a, E), f(E, y), f(o, v), f(o, O), f(O, M), T(R, S, G), T(R, D, G), z || (H = Z(
4263
4265
  D,
4264
4266
  "click",
4265
4267
  /*click_handler_5*/
@@ -4268,8 +4270,8 @@ function Ur(e) {
4268
4270
  },
4269
4271
  p(R, G) {
4270
4272
  G[0] & /*$_*/
4271
- 4096 && n !== (n = /*$_*/
4272
- R[12]("depositLimit") + "") && k(i, n), G[0] & /*$_*/
4273
+ 4096 && i !== (i = /*$_*/
4274
+ R[12]("depositLimit") + "") && k(n, i), G[0] & /*$_*/
4273
4275
  4096 && _ !== (_ = /*$_*/
4274
4276
  R[12]("successful") + "") && k(y, _), G[0] & /*$_*/
4275
4277
  4096 && w !== (w = /*$_*/
@@ -4281,10 +4283,10 @@ function Ur(e) {
4281
4283
  };
4282
4284
  }
4283
4285
  function jr(e) {
4284
- let t, n = (
4286
+ let t, i = (
4285
4287
  /*$_*/
4286
4288
  e[12]("setLimit") + ""
4287
- ), i, r, o, a = (
4289
+ ), n, r, o, a = (
4288
4290
  /*$_*/
4289
4291
  e[12]("setLimitDescription") + ""
4290
4292
  ), s, u, l, c = (
@@ -4299,7 +4301,7 @@ function jr(e) {
4299
4301
  ), w, M, S, D = (
4300
4302
  /*$_*/
4301
4303
  e[12]("keepCurrentLimitButton") + ""
4302
- ), z, H, R, G, X, P, U, ne, ie = (
4304
+ ), z, H, R, G, X, P, U, ie, ne = (
4303
4305
  /*$_*/
4304
4306
  e[12]("depositPeriod") + ""
4305
4307
  ), ae, F, j, Q, Re, re, fe = (
@@ -4320,12 +4322,12 @@ function jr(e) {
4320
4322
  ), et, Tt, tt, Pt;
4321
4323
  return {
4322
4324
  c() {
4323
- t = b("p"), i = L(n), r = N(), o = b("p"), s = L(a), u = N(), l = b("p"), p = L(c), m = N(), d = b("button"), _ = L(E), y = N(), v = b("button"), w = L(O), M = N(), S = b("button"), z = L(D), H = Y("svg"), R = Y("path"), G = Y("path"), X = N(), P = b("div"), U = b("div"), ne = b("span"), ae = L(ie), F = N(), j = b("div"), Q = b("input"), Re = N(), re = b("button"), Le = L(fe), Se = N(), J = b("p"), Ae = L(pe), ce = b("button"), Ie = L(me), g = N(), se = L(q), Ue = N(), K = b("button"), et = L(je), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(v, "class", "KeepCurrentButton PrimaryButtonStyle"), h(R, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h(G, "d", "M0 0h36v36h-36z"), h(G, "fill", "none"), h(H, "class", "ExpandArrow"), h(H, "xmlns", "http://www.w3.org/2000/svg"), h(H, "width", "36"), h(H, "height", "36"), h(H, "viewBox", "0 0 36 36"), h(H, "fill", "#999"), Ge(
4325
+ t = b("p"), n = L(i), r = N(), o = b("p"), s = L(a), u = N(), l = b("p"), p = L(c), m = N(), d = b("button"), _ = L(E), y = N(), v = b("button"), w = L(O), M = N(), S = b("button"), z = L(D), H = Y("svg"), R = Y("path"), G = Y("path"), X = N(), P = b("div"), U = b("div"), ie = b("span"), ae = L(ne), F = N(), j = b("div"), Q = b("input"), Re = N(), re = b("button"), Le = L(fe), Se = N(), J = b("p"), Ae = L(pe), ce = b("button"), Ie = L(me), g = N(), se = L(q), Ue = N(), K = b("button"), et = L(je), Tt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(v, "class", "KeepCurrentButton PrimaryButtonStyle"), h(R, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h(G, "d", "M0 0h36v36h-36z"), h(G, "fill", "none"), h(H, "class", "ExpandArrow"), h(H, "xmlns", "http://www.w3.org/2000/svg"), h(H, "width", "36"), h(H, "height", "36"), h(H, "viewBox", "0 0 36 36"), h(H, "fill", "#999"), Ge(
4324
4326
  H,
4325
4327
  "Extended",
4326
4328
  /*extended*/
4327
4329
  e[5]
4328
- ), h(S, "class", "ExpandButton"), h(ne, "class", "DepositPeriodText"), h(U, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(j, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), Ge(
4330
+ ), h(S, "class", "ExpandButton"), h(ie, "class", "DepositPeriodText"), h(U, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(j, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), Ge(
4329
4331
  P,
4330
4332
  "Hidden",
4331
4333
  /*hidden*/
@@ -4333,7 +4335,7 @@ function jr(e) {
4333
4335
  ), h(ce, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
4334
4336
  },
4335
4337
  m(I, C) {
4336
- T(I, t, C), f(t, i), T(I, r, C), T(I, o, C), f(o, s), T(I, u, C), T(I, l, C), f(l, p), f(l, m), f(l, d), f(d, _), T(I, y, C), T(I, v, C), f(v, w), T(I, M, C), T(I, S, C), f(S, z), f(S, H), f(H, R), f(H, G), e[26](H), T(I, X, C), T(I, P, C), f(P, U), f(U, ne), f(ne, ae), f(P, F), f(P, j), f(j, Q), Bt(
4338
+ T(I, t, C), f(t, n), T(I, r, C), T(I, o, C), f(o, s), T(I, u, C), T(I, l, C), f(l, p), f(l, m), f(l, d), f(d, _), T(I, y, C), T(I, v, C), f(v, w), T(I, M, C), T(I, S, C), f(S, z), f(S, H), f(H, R), f(H, G), e[26](H), T(I, X, C), T(I, P, C), f(P, U), f(U, ie), f(ie, ae), f(P, F), f(P, j), f(j, Q), Bt(
4337
4339
  Q,
4338
4340
  /*inputAmount*/
4339
4341
  e[6]
@@ -4390,8 +4392,8 @@ function jr(e) {
4390
4392
  },
4391
4393
  p(I, C) {
4392
4394
  C[0] & /*$_*/
4393
- 4096 && n !== (n = /*$_*/
4394
- I[12]("setLimit") + "") && k(i, n), C[0] & /*$_*/
4395
+ 4096 && i !== (i = /*$_*/
4396
+ I[12]("setLimit") + "") && k(n, i), C[0] & /*$_*/
4395
4397
  4096 && a !== (a = /*$_*/
4396
4398
  I[12]("setLimitDescription") + "") && k(s, a), C[0] & /*$_*/
4397
4399
  4096 && c !== (c = /*$_*/
@@ -4408,8 +4410,8 @@ function jr(e) {
4408
4410
  /*extended*/
4409
4411
  I[5]
4410
4412
  ), C[0] & /*$_*/
4411
- 4096 && ie !== (ie = /*$_*/
4412
- I[12]("depositPeriod") + "") && k(ae, ie), C[0] & /*inputAmount*/
4413
+ 4096 && ne !== (ne = /*$_*/
4414
+ I[12]("depositPeriod") + "") && k(ae, ne), C[0] & /*inputAmount*/
4413
4415
  64 && Xt(Q.value) !== /*inputAmount*/
4414
4416
  I[6] && Bt(
4415
4417
  Q,
@@ -4439,7 +4441,7 @@ function jr(e) {
4439
4441
  };
4440
4442
  }
4441
4443
  function Gr(e) {
4442
- let t, n, i, r;
4444
+ let t, i, n, r;
4443
4445
  function o(u, l) {
4444
4446
  if (
4445
4447
  /*isLoading*/
@@ -4455,10 +4457,10 @@ function Gr(e) {
4455
4457
  let a = o(e), s = a && a(e);
4456
4458
  return {
4457
4459
  c() {
4458
- t = b("div"), n = b("div"), i = b("div"), r = b("div"), s && s.c(), h(r, "class", "ModalContainer"), h(i, "class", "Overlay"), h(n, "class", "player-account-gaming-limits-popup-2");
4460
+ t = b("div"), i = b("div"), n = b("div"), r = b("div"), s && s.c(), h(r, "class", "ModalContainer"), h(n, "class", "Overlay"), h(i, "class", "player-account-gaming-limits-popup-2");
4459
4461
  },
4460
4462
  m(u, l) {
4461
- T(u, t, l), f(t, n), f(n, i), f(i, r), s && s.m(r, null), e[38](n), e[39](t);
4463
+ T(u, t, l), f(t, i), f(i, n), f(n, r), s && s.m(r, null), e[38](i), e[39](t);
4462
4464
  },
4463
4465
  p(u, l) {
4464
4466
  a === (a = o(u)) && s ? s.p(u, l) : (s && s.d(1), s = a && a(u), s && (s.c(), s.m(r, null)));
@@ -4470,9 +4472,9 @@ function Gr(e) {
4470
4472
  }
4471
4473
  };
4472
4474
  }
4473
- function $r(e, t, n) {
4474
- let i;
4475
- En(e, Sr, (g) => n(12, i = g));
4475
+ function $r(e, t, i) {
4476
+ let n;
4477
+ vi(e, Sr, (g) => i(12, n = g));
4476
4478
  let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: m } = t, d, E, _ = !0, y = !1, v, O = !1, w, M, S = "initial", D;
4477
4479
  const z = () => {
4478
4480
  fetch(l).then((q) => q.json()).then((q) => {
@@ -4487,11 +4489,11 @@ function $r(e, t, n) {
4487
4489
  Gt(g, $t[g]);
4488
4490
  });
4489
4491
  const H = () => {
4490
- n(5, y = !y), n(4, _ = !_);
4492
+ i(5, y = !y), i(4, _ = !_);
4491
4493
  }, R = () => {
4492
4494
  M.parentNode.removeChild(M);
4493
4495
  }, G = () => {
4494
- v > 999999999999999 && n(6, v = 999999999999999);
4496
+ v > 999999999999999 && i(6, v = 999999999999999);
4495
4497
  const q = v - Math.floor(v) === 0;
4496
4498
  v > 0 && q ? w.removeAttribute("disabled") : w.setAttribute("disabled", "true");
4497
4499
  }, X = (g) => {
@@ -4504,7 +4506,7 @@ function $r(e, t, n) {
4504
4506
  }, P = (g) => {
4505
4507
  const q = new URL(`/v1/player/${r}/limit/lugas`, a);
4506
4508
  let se = {};
4507
- n(7, O = !0), se = g === "custom" ? { amount: v } : {};
4509
+ i(7, O = !0), se = g === "custom" ? { amount: v } : {};
4508
4510
  let Ue = {
4509
4511
  method: "POST",
4510
4512
  headers: {
@@ -4519,58 +4521,58 @@ function $r(e, t, n) {
4519
4521
  }).catch((K) => {
4520
4522
  console.log(K);
4521
4523
  }).finally(() => {
4522
- n(7, O = !1);
4524
+ i(7, O = !1);
4523
4525
  });
4524
4526
  }, U = (g) => {
4525
4527
  if (g.hasOwnProperty("kycNeeded"))
4526
4528
  switch (g.popup) {
4527
4529
  case 1:
4528
- n(10, S = "KYC"), n(11, D = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(g.operatorDepositLimitAmount));
4530
+ i(10, S = "KYC"), i(11, D = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(g.operatorDepositLimitAmount));
4529
4531
  break;
4530
4532
  case 2:
4531
- n(10, S = "successful");
4533
+ i(10, S = "successful");
4532
4534
  break;
4533
4535
  case 3:
4534
- n(10, S = "KYC2");
4536
+ i(10, S = "KYC2");
4535
4537
  break;
4536
4538
  }
4537
4539
  else
4538
- n(10, S = "error");
4539
- }, ne = () => {
4540
+ i(10, S = "error");
4541
+ }, ie = () => {
4540
4542
  Ar(u);
4541
4543
  };
4542
- Ln(() => () => {
4544
+ Bi(() => () => {
4543
4545
  });
4544
- const ie = () => X("lugasInformation"), ae = () => P("default");
4546
+ const ne = () => X("lugasInformation"), ae = () => P("default");
4545
4547
  function F(g) {
4546
4548
  ye[g ? "unshift" : "push"](() => {
4547
- E = g, n(3, E);
4549
+ E = g, i(3, E);
4548
4550
  });
4549
4551
  }
4550
4552
  function j() {
4551
- v = Xt(this.value), n(6, v);
4553
+ v = Xt(this.value), i(6, v);
4552
4554
  }
4553
4555
  function Q(g) {
4554
4556
  ye[g ? "unshift" : "push"](() => {
4555
- w = g, n(8, w);
4557
+ w = g, i(8, w);
4556
4558
  });
4557
4559
  }
4558
4560
  const Re = () => P("custom"), re = () => X("termsConditions"), fe = () => X("privacyPolicy"), Le = () => X("closePopup"), Se = () => X("uploadDocuments"), J = () => X("closePopup"), pe = () => X("uploadDocuments"), Ae = () => X("closePopup"), ce = () => X("closePopup");
4559
4561
  function me(g) {
4560
4562
  ye[g ? "unshift" : "push"](() => {
4561
- M = g, n(9, M);
4563
+ M = g, i(9, M);
4562
4564
  });
4563
4565
  }
4564
4566
  function Ie(g) {
4565
4567
  ye[g ? "unshift" : "push"](() => {
4566
- d = g, n(2, d);
4568
+ d = g, i(2, d);
4567
4569
  });
4568
4570
  }
4569
4571
  return e.$$set = (g) => {
4570
- "userid" in g && n(17, r = g.userid), "session" in g && n(18, o = g.session), "endpoint" in g && n(19, a = g.endpoint), "currency" in g && n(0, s = g.currency), "lang" in g && n(1, u = g.lang), "translationurl" in g && n(20, l = g.translationurl), "clientstyling" in g && n(21, c = g.clientstyling), "clientstylingurl" in g && n(22, p = g.clientstylingurl), "mbsource" in g && n(23, m = g.mbsource);
4572
+ "userid" in g && i(17, r = g.userid), "session" in g && i(18, o = g.session), "endpoint" in g && i(19, a = g.endpoint), "currency" in g && i(0, s = g.currency), "lang" in g && i(1, u = g.lang), "translationurl" in g && i(20, l = g.translationurl), "clientstyling" in g && i(21, c = g.clientstyling), "clientstylingurl" in g && i(22, p = g.clientstylingurl), "mbsource" in g && i(23, m = g.mbsource);
4571
4573
  }, e.$$.update = () => {
4572
4574
  e.$$.dirty[0] & /*lang*/
4573
- 2 && u && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4575
+ 2 && u && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4574
4576
  2097156 && c && d && Ir(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4575
4577
  4194308 && p && d && kr(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4576
4578
  8388612 && m && d && Hr(d, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
@@ -4588,7 +4590,7 @@ function $r(e, t, n) {
4588
4590
  M,
4589
4591
  S,
4590
4592
  D,
4591
- i,
4593
+ n,
4592
4594
  H,
4593
4595
  G,
4594
4596
  X,
@@ -4600,7 +4602,7 @@ function $r(e, t, n) {
4600
4602
  c,
4601
4603
  p,
4602
4604
  m,
4603
- ie,
4605
+ ne,
4604
4606
  ae,
4605
4607
  F,
4606
4608
  j,
@@ -4618,9 +4620,9 @@ function $r(e, t, n) {
4618
4620
  Ie
4619
4621
  ];
4620
4622
  }
4621
- class zr extends Un {
4623
+ class zr extends Ri {
4622
4624
  constructor(t) {
4623
- super(), Dn(
4625
+ super(), Mi(
4624
4626
  this,
4625
4627
  t,
4626
4628
  $r,
@@ -4696,7 +4698,7 @@ class zr extends Un {
4696
4698
  this.$$set({ mbsource: t }), ee();
4697
4699
  }
4698
4700
  }
4699
- Rn(zr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4701
+ Di(zr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4700
4702
  export {
4701
4703
  zr as P
4702
4704
  };