@everymatrix/player-account-gaming-limits-popup-2 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function te() {
2
2
  }
3
- function $t(e) {
3
+ function zt(e) {
4
4
  return e();
5
5
  }
6
- function Pt() {
6
+ function wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function le(e) {
10
- e.forEach($t);
9
+ function ue(e) {
10
+ e.forEach(zt);
11
11
  }
12
- function yt(e) {
12
+ function Et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function zt(e, t) {
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 yn(e) {
18
+ function vn(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Ft(e, ...t) {
21
+ function Vt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const i of t)
24
24
  i(void 0);
@@ -27,20 +27,20 @@ function Ft(e, ...t) {
27
27
  const n = e.subscribe(...t);
28
28
  return n.unsubscribe ? () => n.unsubscribe() : n;
29
29
  }
30
- function vn(e, t, n) {
31
- e.$$.on_destroy.push(Ft(t, n));
30
+ function En(e, t, n) {
31
+ e.$$.on_destroy.push(Vt(t, n));
32
32
  }
33
33
  function f(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function En(e, t, n) {
37
- const i = _n(e);
36
+ function _n(e, t, n) {
37
+ const i = xn(e);
38
38
  if (!i.getElementById(t)) {
39
- const r = g("style");
40
- r.id = t, r.textContent = n, xn(i, r);
39
+ const r = b("style");
40
+ r.id = t, r.textContent = n, Tn(i, r);
41
41
  }
42
42
  }
43
- function _n(e) {
43
+ function xn(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function _n(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function xn(e, t) {
53
+ function Tn(e, t) {
54
54
  return f(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -63,7 +63,7 @@ function T(e, t, n) {
63
63
  function x(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function g(e) {
66
+ function b(e) {
67
67
  return document.createElement(e);
68
68
  }
69
69
  function Y(e) {
@@ -72,7 +72,7 @@ function Y(e) {
72
72
  function L(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function O() {
75
+ function N() {
76
76
  return L(" ");
77
77
  }
78
78
  function Z(e, t, n, i) {
@@ -81,26 +81,26 @@ function Z(e, t, n, i) {
81
81
  function h(e, t, n) {
82
82
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
83
83
  }
84
- function Vt(e) {
84
+ function Xt(e) {
85
85
  return e === "" ? null : +e;
86
86
  }
87
- function Tn(e) {
87
+ function Pn(e) {
88
88
  return Array.from(e.childNodes);
89
89
  }
90
- function H(e, t) {
90
+ function k(e, t) {
91
91
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
92
92
  t);
93
93
  }
94
- function wt(e, t) {
94
+ function Bt(e, t) {
95
95
  e.value = t ?? "";
96
96
  }
97
- function ke(e, t, n, i) {
97
+ function He(e, t, n, i) {
98
98
  n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
99
99
  }
100
- function je(e, t, n) {
100
+ function Ge(e, t, n) {
101
101
  e.classList.toggle(t, !!n);
102
102
  }
103
- function Pn(e) {
103
+ function wn(e) {
104
104
  const t = {};
105
105
  return e.childNodes.forEach(
106
106
  /** @param {Element} node */
@@ -109,87 +109,87 @@ function Pn(e) {
109
109
  }
110
110
  ), t;
111
111
  }
112
- let Ce;
113
- function He(e) {
114
- Ce = e;
112
+ let Ne;
113
+ function Ce(e) {
114
+ Ne = e;
115
115
  }
116
- function wn() {
117
- if (!Ce)
116
+ function Bn() {
117
+ if (!Ne)
118
118
  throw new Error("Function called outside component initialization");
119
- return Ce;
119
+ return Ne;
120
120
  }
121
- function Bn(e) {
122
- wn().$$.on_mount.push(e);
121
+ function Ln(e) {
122
+ Bn().$$.on_mount.push(e);
123
123
  }
124
- const be = [], ge = [];
125
- let ye = [];
126
- const Bt = [], Ln = /* @__PURE__ */ Promise.resolve();
127
- let at = !1;
124
+ const be = [], ye = [];
125
+ let ve = [];
126
+ const Lt = [], Sn = /* @__PURE__ */ Promise.resolve();
127
+ let ut = !1;
128
128
  function An() {
129
- at || (at = !0, Ln.then(ee));
129
+ ut || (ut = !0, Sn.then(ee));
130
130
  }
131
- function lt(e) {
132
- ye.push(e);
131
+ function ct(e) {
132
+ ve.push(e);
133
133
  }
134
- const et = /* @__PURE__ */ new Set();
135
- let pe = 0;
134
+ const nt = /* @__PURE__ */ new Set();
135
+ let de = 0;
136
136
  function ee() {
137
- if (pe !== 0)
137
+ if (de !== 0)
138
138
  return;
139
- const e = Ce;
139
+ const e = Ne;
140
140
  do {
141
141
  try {
142
- for (; pe < be.length; ) {
143
- const t = be[pe];
144
- pe++, He(t), Sn(t.$$);
142
+ for (; de < be.length; ) {
143
+ const t = be[de];
144
+ de++, Ce(t), In(t.$$);
145
145
  }
146
146
  } catch (t) {
147
- throw be.length = 0, pe = 0, t;
147
+ throw be.length = 0, de = 0, t;
148
148
  }
149
- for (He(null), be.length = 0, pe = 0; ge.length; )
150
- ge.pop()();
151
- for (let t = 0; t < ye.length; t += 1) {
152
- const n = ye[t];
153
- et.has(n) || (et.add(n), n());
149
+ for (Ce(null), be.length = 0, de = 0; ye.length; )
150
+ ye.pop()();
151
+ for (let t = 0; t < ve.length; t += 1) {
152
+ const n = ve[t];
153
+ nt.has(n) || (nt.add(n), n());
154
154
  }
155
- ye.length = 0;
155
+ ve.length = 0;
156
156
  } while (be.length);
157
- for (; Bt.length; )
158
- Bt.pop()();
159
- at = !1, et.clear(), He(e);
157
+ for (; Lt.length; )
158
+ Lt.pop()();
159
+ ut = !1, nt.clear(), Ce(e);
160
160
  }
161
- function Sn(e) {
161
+ function In(e) {
162
162
  if (e.fragment !== null) {
163
- e.update(), le(e.before_update);
163
+ e.update(), ue(e.before_update);
164
164
  const t = e.dirty;
165
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
165
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ct);
166
166
  }
167
167
  }
168
- function In(e) {
168
+ function kn(e) {
169
169
  const t = [], n = [];
170
- ye.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), ye = t;
170
+ ve.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), ve = t;
171
171
  }
172
- const kn = /* @__PURE__ */ new Set();
173
- function Hn(e, t) {
174
- e && e.i && (kn.delete(e), e.i(t));
172
+ const Hn = /* @__PURE__ */ new Set();
173
+ function Cn(e, t) {
174
+ e && e.i && (Hn.delete(e), e.i(t));
175
175
  }
176
- function Cn(e, t, n) {
176
+ function Nn(e, t, n) {
177
177
  const { fragment: i, after_update: r } = e.$$;
178
- i && i.m(t, n), lt(() => {
179
- const o = e.$$.on_mount.map($t).filter(yt);
180
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
181
- }), r.forEach(lt);
178
+ i && i.m(t, n), ct(() => {
179
+ const o = e.$$.on_mount.map(zt).filter(Et);
180
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
181
+ }), r.forEach(ct);
182
182
  }
183
- function Nn(e, t) {
183
+ function On(e, t) {
184
184
  const n = e.$$;
185
- n.fragment !== null && (In(n.after_update), le(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
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 = []);
186
186
  }
187
- function On(e, t) {
187
+ function Mn(e, t) {
188
188
  e.$$.dirty[0] === -1 && (be.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
189
  }
190
- function Mn(e, t, n, i, r, o, a = null, s = [-1]) {
191
- const u = Ce;
192
- He(e);
190
+ function Dn(e, t, n, i, r, o, a = null, s = [-1]) {
191
+ const u = Ne;
192
+ Ce(e);
193
193
  const l = e.$$ = {
194
194
  fragment: null,
195
195
  ctx: [],
@@ -197,7 +197,7 @@ function Mn(e, t, n, i, r, o, a = null, s = [-1]) {
197
197
  props: o,
198
198
  update: te,
199
199
  not_equal: r,
200
- bound: Pt(),
200
+ bound: wt(),
201
201
  // lifecycle
202
202
  on_mount: [],
203
203
  on_destroy: [],
@@ -206,28 +206,28 @@ function Mn(e, t, n, i, r, o, a = null, s = [-1]) {
206
206
  after_update: [],
207
207
  context: new Map(t.context || (u ? u.$$.context : [])),
208
208
  // everything else
209
- callbacks: Pt(),
209
+ callbacks: wt(),
210
210
  dirty: s,
211
211
  skip_bound: !1,
212
212
  root: t.target || u.$$.root
213
213
  };
214
214
  a && a(l.root);
215
215
  let c = !1;
216
- if (l.ctx = n(e, t.props || {}, (m, p, ...d) => {
217
- const E = d.length ? d[0] : p;
218
- return l.ctx && r(l.ctx[m], l.ctx[m] = E) && (!l.skip_bound && l.bound[m] && l.bound[m](E), c && On(e, m)), p;
219
- }), l.update(), c = !0, le(l.before_update), l.fragment = i(l.ctx), t.target) {
216
+ if (l.ctx = n ? n(e, t.props || {}, (p, m, ...d) => {
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) {
220
220
  if (t.hydrate) {
221
- const m = Tn(t.target);
222
- l.fragment && l.fragment.l(m), m.forEach(x);
221
+ const p = Pn(t.target);
222
+ l.fragment && l.fragment.l(p), p.forEach(x);
223
223
  } else
224
224
  l.fragment && l.fragment.c();
225
- t.intro && Hn(e.$$.fragment), Cn(e, t.target, t.anchor), ee();
225
+ t.intro && Cn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
226
226
  }
227
- He(u);
227
+ Ce(u);
228
228
  }
229
- let Xt;
230
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
229
+ let qt;
230
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
231
231
  /** The Svelte component constructor */
232
232
  $$ctor;
233
233
  /** Slots */
@@ -269,7 +269,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
269
269
  let o;
270
270
  return {
271
271
  c: function() {
272
- o = g("slot"), r !== "default" && h(o, "name", r);
272
+ o = b("slot"), r !== "default" && h(o, "name", r);
273
273
  },
274
274
  /**
275
275
  * @param {HTMLElement} target
@@ -286,12 +286,12 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
286
286
  };
287
287
  if (await Promise.resolve(), !this.$$cn || this.$$c)
288
288
  return;
289
- const t = {}, n = Pn(this);
289
+ const t = {}, n = wn(this);
290
290
  for (const r of this.$$s)
291
291
  r in n && (t[r] = [e(r)]);
292
292
  for (const r of this.attributes) {
293
293
  const o = this.$$g_p(r.name);
294
- o in this.$$d || (this.$$d[o] = $e(o, r.value, this.$$p_d, "toProp"));
294
+ o in this.$$d || (this.$$d[o] = ze(o, r.value, this.$$p_d, "toProp"));
295
295
  }
296
296
  for (const r in this.$$p_d)
297
297
  !(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
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) {
312
- const o = $e(
312
+ const o = ze(
313
313
  r,
314
314
  this.$$d[r],
315
315
  this.$$p_d,
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
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
333
  attributeChangedCallback(e, t, n) {
334
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = $e(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
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] }));
335
335
  }
336
336
  disconnectedCallback() {
337
337
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
344
344
  ) || e;
345
345
  }
346
346
  });
347
- function $e(e, t, n, i) {
347
+ function ze(e, t, n, i) {
348
348
  const r = n[e]?.type;
349
349
  if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
350
350
  return t;
@@ -373,8 +373,8 @@ function $e(e, t, n, i) {
373
373
  return t;
374
374
  }
375
375
  }
376
- function Dn(e, t, n, i, r, o) {
377
- let a = class extends Xt {
376
+ function Rn(e, t, n, i, r, o) {
377
+ let a = class extends qt {
378
378
  constructor() {
379
379
  super(e, n, r), this.$$p_d = t;
380
380
  }
@@ -390,7 +390,7 @@ function Dn(e, t, n, i, r, o) {
390
390
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
391
391
  },
392
392
  set(u) {
393
- u = $e(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
393
+ u = ze(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
394
394
  }
395
395
  });
396
396
  }), i.forEach((s) => {
@@ -402,7 +402,7 @@ function Dn(e, t, n, i, r, o) {
402
402
  }), e.element = /** @type {any} */
403
403
  a, a;
404
404
  }
405
- class Rn {
405
+ class Un {
406
406
  /**
407
407
  * ### PRIVATE API
408
408
  *
@@ -421,7 +421,7 @@ class Rn {
421
421
  $$set = void 0;
422
422
  /** @returns {void} */
423
423
  $destroy() {
424
- Nn(this, 1), this.$destroy = te;
424
+ On(this, 1), this.$destroy = te;
425
425
  }
426
426
  /**
427
427
  * @template {Extract<keyof Events, string>} K
@@ -430,7 +430,7 @@ class Rn {
430
430
  * @returns {() => void}
431
431
  */
432
432
  $on(t, n) {
433
- if (!yt(n))
433
+ if (!Et(n))
434
434
  return te;
435
435
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
436
436
  return i.push(n), () => {
@@ -443,29 +443,29 @@ class Rn {
443
443
  * @returns {void}
444
444
  */
445
445
  $set(t) {
446
- this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
446
+ this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
447
  }
448
448
  }
449
- const Un = "4";
450
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Un);
451
- const de = [];
452
- function jn(e, t) {
449
+ const jn = "4";
450
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
451
+ const ge = [];
452
+ function Gn(e, t) {
453
453
  return {
454
- subscribe: qe(e, t).subscribe
454
+ subscribe: Ze(e, t).subscribe
455
455
  };
456
456
  }
457
- function qe(e, t = te) {
457
+ function Ze(e, t = te) {
458
458
  let n;
459
459
  const i = /* @__PURE__ */ new Set();
460
460
  function r(s) {
461
- if (zt(e, s) && (e = s, n)) {
462
- const u = !de.length;
461
+ if (Ft(e, s) && (e = s, n)) {
462
+ const u = !ge.length;
463
463
  for (const l of i)
464
- l[1](), de.push(l, e);
464
+ l[1](), ge.push(l, e);
465
465
  if (u) {
466
- for (let l = 0; l < de.length; l += 2)
467
- de[l][0](de[l + 1]);
468
- de.length = 0;
466
+ for (let l = 0; l < ge.length; l += 2)
467
+ ge[l][0](ge[l + 1]);
468
+ ge.length = 0;
469
469
  }
470
470
  }
471
471
  }
@@ -480,153 +480,139 @@ function qe(e, t = te) {
480
480
  }
481
481
  return { set: r, update: o, subscribe: a };
482
482
  }
483
- function Te(e, t, n) {
483
+ function Pe(e, t, n) {
484
484
  const i = !Array.isArray(e), r = i ? [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 jn(n, (a, s) => {
488
+ return Gn(n, (a, s) => {
489
489
  let u = !1;
490
490
  const l = [];
491
- let c = 0, m = te;
492
- const p = () => {
491
+ let c = 0, p = te;
492
+ const m = () => {
493
493
  if (c)
494
494
  return;
495
- m();
495
+ p();
496
496
  const E = t(i ? l[0] : l, a, s);
497
- o ? a(E) : m = yt(E) ? E : te;
497
+ o ? a(E) : p = Et(E) ? E : te;
498
498
  }, d = r.map(
499
- (E, _) => Ft(
499
+ (E, _) => Vt(
500
500
  E,
501
501
  (y) => {
502
- l[_] = y, c &= ~(1 << _), u && p();
502
+ l[_] = y, c &= ~(1 << _), u && m();
503
503
  },
504
504
  () => {
505
505
  c |= 1 << _;
506
506
  }
507
507
  )
508
508
  );
509
- return u = !0, p(), function() {
510
- le(d), m(), u = !1;
509
+ return u = !0, m(), function() {
510
+ ue(d), p(), u = !1;
511
511
  };
512
512
  });
513
513
  }
514
- function Gn(e) {
515
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
514
+ function $n(e) {
515
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
516
516
  }
517
- var $n = function(t) {
518
- return zn(t) && !Fn(t);
517
+ var zn = function(t) {
518
+ return Fn(t) && !Vn(t);
519
519
  };
520
- function zn(e) {
520
+ function Fn(e) {
521
521
  return !!e && typeof e == "object";
522
522
  }
523
- function Fn(e) {
523
+ function Vn(e) {
524
524
  var t = Object.prototype.toString.call(e);
525
- return t === "[object RegExp]" || t === "[object Date]" || qn(e);
526
- }
527
- var Vn = typeof Symbol == "function" && Symbol.for, Xn = Vn ? Symbol.for("react.element") : 60103;
528
- function qn(e) {
529
- return e.$$typeof === Xn;
525
+ return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
530
526
  }
527
+ var Xn = typeof Symbol == "function" && Symbol.for, qn = Xn ? Symbol.for("react.element") : 60103;
531
528
  function Wn(e) {
529
+ return e.$$typeof === qn;
530
+ }
531
+ function Zn(e) {
532
532
  return Array.isArray(e) ? [] : {};
533
533
  }
534
- function Ne(e, t) {
535
- return t.clone !== !1 && t.isMergeableObject(e) ? ve(Wn(e), e, t) : e;
534
+ function Oe(e, t) {
535
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Zn(e), e, t) : e;
536
536
  }
537
- function Zn(e, t, n) {
537
+ function Yn(e, t, n) {
538
538
  return e.concat(t).map(function(i) {
539
- return Ne(i, n);
539
+ return Oe(i, n);
540
540
  });
541
541
  }
542
- function Yn(e, t) {
542
+ function Jn(e, t) {
543
543
  if (!t.customMerge)
544
- return ve;
544
+ return Ee;
545
545
  var n = t.customMerge(e);
546
- return typeof n == "function" ? n : ve;
546
+ return typeof n == "function" ? n : Ee;
547
547
  }
548
- function Jn(e) {
548
+ function Qn(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
- function Lt(e) {
554
- return Object.keys(e).concat(Jn(e));
553
+ function St(e) {
554
+ return Object.keys(e).concat(Qn(e));
555
555
  }
556
- function qt(e, t) {
556
+ function Wt(e, t) {
557
557
  try {
558
558
  return t in e;
559
559
  } catch {
560
560
  return !1;
561
561
  }
562
562
  }
563
- function Qn(e, t) {
564
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
563
+ function Kn(e, t) {
564
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
565
565
  }
566
- function Kn(e, t, n) {
566
+ function ei(e, t, n) {
567
567
  var i = {};
568
- return n.isMergeableObject(e) && Lt(e).forEach(function(r) {
569
- i[r] = Ne(e[r], n);
570
- }), Lt(t).forEach(function(r) {
571
- Qn(e, r) || (qt(e, r) && n.isMergeableObject(t[r]) ? i[r] = Yn(r, n)(e[r], t[r], n) : i[r] = Ne(t[r], n));
568
+ return n.isMergeableObject(e) && St(e).forEach(function(r) {
569
+ i[r] = Oe(e[r], n);
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
572
  }), i;
573
573
  }
574
- function ve(e, t, n) {
575
- n = n || {}, n.arrayMerge = n.arrayMerge || Zn, n.isMergeableObject = n.isMergeableObject || $n, n.cloneUnlessOtherwiseSpecified = Ne;
574
+ function Ee(e, t, n) {
575
+ n = n || {}, n.arrayMerge = n.arrayMerge || Yn, n.isMergeableObject = n.isMergeableObject || zn, n.cloneUnlessOtherwiseSpecified = Oe;
576
576
  var i = Array.isArray(t), r = Array.isArray(e), o = i === r;
577
- return o ? i ? n.arrayMerge(e, t, n) : Kn(e, t, n) : Ne(t, n);
577
+ return o ? i ? n.arrayMerge(e, t, n) : ei(e, t, n) : Oe(t, n);
578
578
  }
579
- ve.all = function(t, n) {
579
+ Ee.all = function(t, n) {
580
580
  if (!Array.isArray(t))
581
581
  throw new Error("first argument should be an array");
582
582
  return t.reduce(function(i, r) {
583
- return ve(i, r, n);
583
+ return Ee(i, r, n);
584
584
  }, {});
585
585
  };
586
- var ei = ve, ti = ei;
587
- const ni = /* @__PURE__ */ Gn(ti);
588
- /*! *****************************************************************************
589
- Copyright (c) Microsoft Corporation.
590
-
591
- Permission to use, copy, modify, and/or distribute this software for any
592
- purpose with or without fee is hereby granted.
593
-
594
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
595
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
596
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
597
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
598
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
599
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
600
- PERFORMANCE OF THIS SOFTWARE.
601
- ***************************************************************************** */
602
- var ut = function(e, t) {
603
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
586
+ var ti = Ee, ni = ti;
587
+ const ii = /* @__PURE__ */ $n(ni);
588
+ var ht = function(e, t) {
589
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
604
590
  n.__proto__ = i;
605
591
  } || function(n, i) {
606
592
  for (var r in i)
607
593
  Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
608
- }, ut(e, t);
594
+ }, ht(e, t);
609
595
  };
610
- function We(e, t) {
596
+ function Ye(e, t) {
611
597
  if (typeof t != "function" && t !== null)
612
598
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
613
- ut(e, t);
599
+ ht(e, t);
614
600
  function n() {
615
601
  this.constructor = e;
616
602
  }
617
603
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
618
604
  }
619
- var k = function() {
620
- return k = Object.assign || function(t) {
605
+ var oe = function() {
606
+ return oe = Object.assign || function(t) {
621
607
  for (var n, i = 1, r = arguments.length; i < r; i++) {
622
608
  n = arguments[i];
623
609
  for (var o in n)
624
610
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
625
611
  }
626
612
  return t;
627
- }, k.apply(this, arguments);
613
+ }, oe.apply(this, arguments);
628
614
  };
629
- function ii(e, t) {
615
+ function ri(e, t) {
630
616
  var n = {};
631
617
  for (var i in e)
632
618
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
@@ -635,46 +621,43 @@ function ii(e, t) {
635
621
  t.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[r]) && (n[i[r]] = e[i[r]]);
636
622
  return n;
637
623
  }
638
- function tt(e, t, n) {
639
- if (arguments.length === 2)
624
+ function it(e, t, n) {
625
+ if (n || arguments.length === 2)
640
626
  for (var i = 0, r = t.length, o; i < r; i++)
641
627
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
642
- return e.concat(o || t);
628
+ return e.concat(o || Array.prototype.slice.call(t));
643
629
  }
644
- function nt(e, t) {
645
- var n = t && t.cache ? t.cache : ci, i = t && t.serializer ? t.serializer : li, r = t && t.strategy ? t.strategy : oi;
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;
646
632
  return r(e, {
647
633
  cache: n,
648
634
  serializer: i
649
635
  });
650
636
  }
651
- function ri(e) {
637
+ function oi(e) {
652
638
  return e == null || typeof e == "number" || typeof e == "boolean";
653
639
  }
654
- function Wt(e, t, n, i) {
655
- var r = ri(i) ? i : n(i), o = t.get(r);
640
+ function si(e, t, n, i) {
641
+ var r = oi(i) ? i : n(i), o = t.get(r);
656
642
  return typeof o > "u" && (o = e.call(this, i), t.set(r, o)), o;
657
643
  }
658
644
  function Zt(e, t, n) {
659
645
  var i = Array.prototype.slice.call(arguments, 3), r = n(i), o = t.get(r);
660
646
  return typeof o > "u" && (o = e.apply(this, i), t.set(r, o)), o;
661
647
  }
662
- function vt(e, t, n, i, r) {
648
+ function Yt(e, t, n, i, r) {
663
649
  return n.bind(t, e, i, r);
664
650
  }
665
- function oi(e, t) {
666
- var n = e.length === 1 ? Wt : Zt;
667
- return vt(e, this, n, t.cache.create(), t.serializer);
668
- }
669
- function si(e, t) {
670
- return vt(e, this, Zt, t.cache.create(), t.serializer);
671
- }
672
651
  function ai(e, t) {
673
- return vt(e, this, Wt, t.cache.create(), t.serializer);
652
+ var n = e.length === 1 ? si : Zt;
653
+ return Yt(e, this, n, t.cache.create(), t.serializer);
654
+ }
655
+ function li(e, t) {
656
+ return Yt(e, this, Zt, t.cache.create(), t.serializer);
674
657
  }
675
- var li = function() {
658
+ var ui = function() {
676
659
  return JSON.stringify(arguments);
677
- }, ui = (
660
+ }, ci = (
678
661
  /** @class */
679
662
  function() {
680
663
  function e() {
@@ -686,60 +669,69 @@ var li = function() {
686
669
  this.cache[t] = n;
687
670
  }, e;
688
671
  }()
689
- ), ci = {
672
+ ), hi = {
690
673
  create: function() {
691
- return new ui();
674
+ return new ci();
692
675
  }
693
- }, it = {
694
- variadic: si,
695
- monadic: ai
696
- }, B;
676
+ }, ot = {
677
+ variadic: li
678
+ }, Xe = function() {
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]);
684
+ }
685
+ return t;
686
+ }, Xe.apply(this, arguments);
687
+ };
688
+ var B;
697
689
  (function(e) {
698
690
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
699
691
  })(B || (B = {}));
700
- var z;
692
+ var $;
701
693
  (function(e) {
702
694
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
703
- })(z || (z = {}));
704
- var Ee;
695
+ })($ || ($ = {}));
696
+ var _e;
705
697
  (function(e) {
706
698
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
707
- })(Ee || (Ee = {}));
699
+ })(_e || (_e = {}));
708
700
  function At(e) {
709
- return e.type === z.literal;
710
- }
711
- function hi(e) {
712
- return e.type === z.argument;
701
+ return e.type === $.literal;
713
702
  }
714
- function Yt(e) {
715
- return e.type === z.number;
703
+ function fi(e) {
704
+ return e.type === $.argument;
716
705
  }
717
706
  function Jt(e) {
718
- return e.type === z.date;
707
+ return e.type === $.number;
719
708
  }
720
709
  function Qt(e) {
721
- return e.type === z.time;
710
+ return e.type === $.date;
722
711
  }
723
712
  function Kt(e) {
724
- return e.type === z.select;
713
+ return e.type === $.time;
725
714
  }
726
715
  function en(e) {
727
- return e.type === z.plural;
728
- }
729
- function fi(e) {
730
- return e.type === z.pound;
716
+ return e.type === $.select;
731
717
  }
732
718
  function tn(e) {
733
- return e.type === z.tag;
719
+ return e.type === $.plural;
720
+ }
721
+ function pi(e) {
722
+ return e.type === $.pound;
734
723
  }
735
724
  function nn(e) {
736
- return !!(e && typeof e == "object" && e.type === Ee.number);
725
+ return e.type === $.tag;
737
726
  }
738
- function ct(e) {
739
- return !!(e && typeof e == "object" && e.type === Ee.dateTime);
727
+ function rn(e) {
728
+ return !!(e && typeof e == "object" && e.type === _e.number);
740
729
  }
741
- var rn = /[ \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;
742
- function pi(e) {
730
+ function ft(e) {
731
+ return !!(e && typeof e == "object" && e.type === _e.dateTime);
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) {
743
735
  var t = {};
744
736
  return e.replace(mi, function(n) {
745
737
  var i = n.length;
@@ -830,36 +822,46 @@ function pi(e) {
830
822
  return "";
831
823
  }), t;
832
824
  }
833
- var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
825
+ var V = function() {
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]);
831
+ }
832
+ return t;
833
+ }, V.apply(this, arguments);
834
+ };
835
+ var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
834
836
  function bi(e) {
835
837
  if (e.length === 0)
836
838
  throw new Error("Number skeleton cannot be empty");
837
- for (var t = e.split(di).filter(function(p) {
838
- return p.length > 0;
839
+ for (var t = e.split(gi).filter(function(m) {
840
+ return m.length > 0;
839
841
  }), n = [], i = 0, r = t; i < r.length; i++) {
840
842
  var o = r[i], a = o.split("/");
841
843
  if (a.length === 0)
842
844
  throw new Error("Invalid number skeleton");
843
845
  for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
844
- var m = c[l];
845
- if (m.length === 0)
846
+ var p = c[l];
847
+ if (p.length === 0)
846
848
  throw new Error("Invalid number skeleton");
847
849
  }
848
850
  n.push({ stem: s, options: u });
849
851
  }
850
852
  return n;
851
853
  }
852
- function gi(e) {
854
+ function yi(e) {
853
855
  return e.replace(/^(.*?)-/, "");
854
856
  }
855
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, on = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
856
- function It(e) {
857
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sn = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, an = /^(0+)$/;
858
+ function kt(e) {
857
859
  var t = {};
858
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(on, function(n, i, r) {
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) {
859
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
862
  }), t;
861
863
  }
862
- function an(e) {
864
+ function ln(e) {
863
865
  switch (e) {
864
866
  case "sign-auto":
865
867
  return {
@@ -899,7 +901,7 @@ function an(e) {
899
901
  };
900
902
  }
901
903
  }
902
- function vi(e) {
904
+ function Ei(e) {
903
905
  var t;
904
906
  if (e[0] === "E" && e[1] === "E" ? (t = {
905
907
  notation: "engineering"
@@ -907,17 +909,17 @@ function vi(e) {
907
909
  notation: "scientific"
908
910
  }, e = e.slice(1)), t) {
909
911
  var n = e.slice(0, 2);
910
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
912
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !an.test(e))
911
913
  throw new Error("Malformed concise eng/scientific notation");
912
914
  t.minimumIntegerDigits = e.length;
913
915
  }
914
916
  return t;
915
917
  }
916
- function kt(e) {
917
- var t = {}, n = an(e);
918
+ function Ht(e) {
919
+ var t = {}, n = ln(e);
918
920
  return n || t;
919
921
  }
920
- function Ei(e) {
922
+ function _i(e) {
921
923
  for (var t = {}, n = 0, i = e; n < i.length; n++) {
922
924
  var r = i[n];
923
925
  switch (r.stem) {
@@ -941,7 +943,7 @@ function Ei(e) {
941
943
  continue;
942
944
  case "measure-unit":
943
945
  case "unit":
944
- t.style = "unit", t.unit = gi(r.options[0]);
946
+ t.style = "unit", t.unit = yi(r.options[0]);
945
947
  continue;
946
948
  case "compact-short":
947
949
  case "K":
@@ -952,13 +954,13 @@ function Ei(e) {
952
954
  t.notation = "compact", t.compactDisplay = "long";
953
955
  continue;
954
956
  case "scientific":
955
- t = k(k(k({}, t), { notation: "scientific" }), r.options.reduce(function(u, l) {
956
- return k(k({}, u), kt(l));
957
+ t = V(V(V({}, t), { notation: "scientific" }), r.options.reduce(function(u, l) {
958
+ return V(V({}, u), Ht(l));
957
959
  }, {}));
958
960
  continue;
959
961
  case "engineering":
960
- t = k(k(k({}, t), { notation: "engineering" }), r.options.reduce(function(u, l) {
961
- return k(k({}, u), kt(l));
962
+ t = V(V(V({}, t), { notation: "engineering" }), r.options.reduce(function(u, l) {
963
+ return V(V({}, u), Ht(l));
962
964
  }, {}));
963
965
  continue;
964
966
  case "notation-simple":
@@ -1003,11 +1005,11 @@ function Ei(e) {
1003
1005
  case "integer-width":
1004
1006
  if (r.options.length > 1)
1005
1007
  throw new RangeError("integer-width stems only accept a single optional option");
1006
- r.options[0].replace(yi, function(u, l, c, m, p, d) {
1008
+ r.options[0].replace(vi, function(u, l, c, p, m, d) {
1007
1009
  if (l)
1008
1010
  t.minimumIntegerDigits = c.length;
1009
1011
  else {
1010
- if (m && p)
1012
+ if (p && m)
1011
1013
  throw new Error("We currently do not support maximum integer digits");
1012
1014
  if (d)
1013
1015
  throw new Error("We currently do not support exact integer digits");
@@ -1016,32 +1018,32 @@ function Ei(e) {
1016
1018
  });
1017
1019
  continue;
1018
1020
  }
1019
- if (sn.test(r.stem)) {
1021
+ if (an.test(r.stem)) {
1020
1022
  t.minimumIntegerDigits = r.stem.length;
1021
1023
  continue;
1022
1024
  }
1023
- if (St.test(r.stem)) {
1025
+ if (It.test(r.stem)) {
1024
1026
  if (r.options.length > 1)
1025
1027
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1026
- r.stem.replace(St, function(u, l, c, m, p, d) {
1027
- return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : p && d ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1028
+ r.stem.replace(It, function(u, l, c, p, m, d) {
1029
+ return c === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1028
1030
  });
1029
1031
  var o = r.options[0];
1030
- o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), It(o)));
1032
+ o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), kt(o)));
1031
1033
  continue;
1032
1034
  }
1033
- if (on.test(r.stem)) {
1034
- t = k(k({}, t), It(r.stem));
1035
+ if (sn.test(r.stem)) {
1036
+ t = V(V({}, t), kt(r.stem));
1035
1037
  continue;
1036
1038
  }
1037
- var a = an(r.stem);
1038
- a && (t = k(k({}, t), a));
1039
- var s = vi(r.stem);
1040
- s && (t = k(k({}, t), s));
1039
+ var a = ln(r.stem);
1040
+ a && (t = V(V({}, t), a));
1041
+ var s = Ei(r.stem);
1042
+ s && (t = V(V({}, t), s));
1041
1043
  }
1042
1044
  return t;
1043
1045
  }
1044
- var Ge = {
1046
+ var $e = {
1045
1047
  "001": [
1046
1048
  "H",
1047
1049
  "h"
@@ -2456,13 +2458,13 @@ var Ge = {
2456
2458
  "h"
2457
2459
  ]
2458
2460
  };
2459
- function _i(e, t) {
2461
+ function xi(e, t) {
2460
2462
  for (var n = "", i = 0; i < e.length; i++) {
2461
2463
  var r = e.charAt(i);
2462
2464
  if (r === "j") {
2463
2465
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === r; )
2464
2466
  o++, i++;
2465
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xi(t);
2467
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ti(t);
2466
2468
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2467
2469
  n += u;
2468
2470
  for (; a-- > 0; )
@@ -2472,7 +2474,7 @@ function _i(e, t) {
2472
2474
  }
2473
2475
  return n;
2474
2476
  }
2475
- function xi(e) {
2477
+ function Ti(e) {
2476
2478
  var t = e.hourCycle;
2477
2479
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2478
2480
  e.hourCycles && // @ts-ignore
@@ -2491,23 +2493,23 @@ function xi(e) {
2491
2493
  }
2492
2494
  var n = e.language, i;
2493
2495
  n !== "root" && (i = e.maximize().region);
2494
- var r = Ge[i || ""] || Ge[n || ""] || Ge["".concat(n, "-001")] || Ge["001"];
2496
+ var r = $e[i || ""] || $e[n || ""] || $e["".concat(n, "-001")] || $e["001"];
2495
2497
  return r[0];
2496
2498
  }
2497
- var rt, Ti = new RegExp("^".concat(rn.source, "*")), Pi = new RegExp("".concat(rn.source, "*$"));
2498
- function S(e, t) {
2499
+ var st, Pi = new RegExp("^".concat(on.source, "*")), wi = new RegExp("".concat(on.source, "*$"));
2500
+ function A(e, t) {
2499
2501
  return { start: e, end: t };
2500
2502
  }
2501
- var wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, ki = !!Number.isSafeInteger, Hi = ki ? Number.isSafeInteger : function(e) {
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) {
2502
2504
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2503
- }, ht = !0;
2505
+ }, pt = !0;
2504
2506
  try {
2505
- var Ci = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2506
- ht = ((rt = Ci.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
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
2509
  } catch {
2508
- ht = !1;
2510
+ pt = !1;
2509
2511
  }
2510
- var Ht = wi ? (
2512
+ var Ct = Bi ? (
2511
2513
  // Native
2512
2514
  function(t, n, i) {
2513
2515
  return t.startsWith(n, i);
@@ -2517,7 +2519,7 @@ var Ht = wi ? (
2517
2519
  function(t, n, i) {
2518
2520
  return t.slice(i, i + n.length) === n;
2519
2521
  }
2520
- ), ft = Bi ? String.fromCodePoint : (
2522
+ ), mt = Li ? String.fromCodePoint : (
2521
2523
  // IE11
2522
2524
  function() {
2523
2525
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2529,9 +2531,9 @@ var Ht = wi ? (
2529
2531
  }
2530
2532
  return i;
2531
2533
  }
2532
- ), Ct = (
2534
+ ), Nt = (
2533
2535
  // native
2534
- Li ? Object.fromEntries : (
2536
+ Si ? Object.fromEntries : (
2535
2537
  // Ponyfill
2536
2538
  function(t) {
2537
2539
  for (var n = {}, i = 0, r = t; i < r.length; i++) {
@@ -2541,7 +2543,7 @@ var Ht = wi ? (
2541
2543
  return n;
2542
2544
  }
2543
2545
  )
2544
- ), ln = Ai ? (
2546
+ ), un = Ai ? (
2545
2547
  // Native
2546
2548
  function(t, n) {
2547
2549
  return t.codePointAt(n);
@@ -2555,7 +2557,7 @@ var Ht = wi ? (
2555
2557
  return r < 55296 || r > 56319 || n + 1 === i || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
2556
2558
  }
2557
2559
  }
2558
- ), Ni = Si ? (
2560
+ ), Oi = Ii ? (
2559
2561
  // Native
2560
2562
  function(t) {
2561
2563
  return t.trimStart();
@@ -2563,9 +2565,9 @@ var Ht = wi ? (
2563
2565
  ) : (
2564
2566
  // Ponyfill
2565
2567
  function(t) {
2566
- return t.replace(Ti, "");
2568
+ return t.replace(Pi, "");
2567
2569
  }
2568
- ), Oi = Ii ? (
2570
+ ), Mi = ki ? (
2569
2571
  // Native
2570
2572
  function(t) {
2571
2573
  return t.trimEnd();
@@ -2573,32 +2575,32 @@ var Ht = wi ? (
2573
2575
  ) : (
2574
2576
  // Ponyfill
2575
2577
  function(t) {
2576
- return t.replace(Pi, "");
2578
+ return t.replace(wi, "");
2577
2579
  }
2578
2580
  );
2579
- function un(e, t) {
2581
+ function cn(e, t) {
2580
2582
  return new RegExp(e, t);
2581
2583
  }
2582
- var mt;
2583
- if (ht) {
2584
- var Nt = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2585
- mt = function(t, n) {
2584
+ var dt;
2585
+ if (pt) {
2586
+ var Ot = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
+ dt = function(t, n) {
2586
2588
  var i;
2587
- Nt.lastIndex = n;
2588
- var r = Nt.exec(t);
2589
+ Ot.lastIndex = n;
2590
+ var r = Ot.exec(t);
2589
2591
  return (i = r[1]) !== null && i !== void 0 ? i : "";
2590
2592
  };
2591
2593
  } else
2592
- mt = function(t, n) {
2594
+ dt = function(t, n) {
2593
2595
  for (var i = []; ; ) {
2594
- var r = ln(t, n);
2595
- if (r === void 0 || cn(r) || Ui(r))
2596
+ var r = un(t, n);
2597
+ if (r === void 0 || hn(r) || ji(r))
2596
2598
  break;
2597
2599
  i.push(r), n += r >= 65536 ? 2 : 1;
2598
2600
  }
2599
- return ft.apply(void 0, i);
2601
+ return mt.apply(void 0, i);
2600
2602
  };
2601
- var Mi = (
2603
+ var Di = (
2602
2604
  /** @class */
2603
2605
  function() {
2604
2606
  function e(t, n) {
@@ -2622,14 +2624,14 @@ var Mi = (
2622
2624
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2623
2625
  var s = this.clonePosition();
2624
2626
  this.bump(), r.push({
2625
- type: z.pound,
2626
- location: S(s, this.clonePosition())
2627
+ type: $.pound,
2628
+ location: A(s, this.clonePosition())
2627
2629
  });
2628
2630
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2629
2631
  if (i)
2630
2632
  break;
2631
- return this.error(B.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
2632
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2633
+ return this.error(B.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2634
+ } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
2633
2635
  var a = this.parseTag(t, n);
2634
2636
  if (a.err)
2635
2637
  return a;
@@ -2650,9 +2652,9 @@ var Mi = (
2650
2652
  if (this.bumpSpace(), this.bumpIf("/>"))
2651
2653
  return {
2652
2654
  val: {
2653
- type: z.literal,
2655
+ type: $.literal,
2654
2656
  value: "<".concat(r, "/>"),
2655
- location: S(i, this.clonePosition())
2657
+ location: A(i, this.clonePosition())
2656
2658
  },
2657
2659
  err: null
2658
2660
  };
@@ -2662,25 +2664,25 @@ var Mi = (
2662
2664
  return o;
2663
2665
  var a = o.val, s = this.clonePosition();
2664
2666
  if (this.bumpIf("</")) {
2665
- if (this.isEOF() || !pt(this.char()))
2666
- return this.error(B.INVALID_TAG, S(s, this.clonePosition()));
2667
+ if (this.isEOF() || !gt(this.char()))
2668
+ return this.error(B.INVALID_TAG, A(s, this.clonePosition()));
2667
2669
  var u = this.clonePosition(), l = this.parseTagName();
2668
- return r !== l ? this.error(B.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2670
+ return r !== l ? this.error(B.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2669
2671
  val: {
2670
- type: z.tag,
2672
+ type: $.tag,
2671
2673
  value: r,
2672
2674
  children: a,
2673
- location: S(i, this.clonePosition())
2675
+ location: A(i, this.clonePosition())
2674
2676
  },
2675
2677
  err: null
2676
- } : this.error(B.INVALID_TAG, S(s, this.clonePosition())));
2678
+ } : this.error(B.INVALID_TAG, A(s, this.clonePosition())));
2677
2679
  } else
2678
- return this.error(B.UNCLOSED_TAG, S(i, this.clonePosition()));
2680
+ return this.error(B.UNCLOSED_TAG, A(i, this.clonePosition()));
2679
2681
  } else
2680
- return this.error(B.INVALID_TAG, S(i, this.clonePosition()));
2682
+ return this.error(B.INVALID_TAG, A(i, this.clonePosition()));
2681
2683
  }, e.prototype.parseTagName = function() {
2682
2684
  var t = this.offset();
2683
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
2685
+ for (this.bump(); !this.isEOF() && Ui(this.char()); )
2684
2686
  this.bump();
2685
2687
  return this.message.slice(t, this.offset());
2686
2688
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2702,14 +2704,14 @@ var Mi = (
2702
2704
  }
2703
2705
  break;
2704
2706
  }
2705
- var u = S(i, this.clonePosition());
2707
+ var u = A(i, this.clonePosition());
2706
2708
  return {
2707
- val: { type: z.literal, value: r, location: u },
2709
+ val: { type: $.literal, value: r, location: u },
2708
2710
  err: null
2709
2711
  };
2710
2712
  }, e.prototype.tryParseLeftAngleBracket = function() {
2711
2713
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2712
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
+ !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
2713
2715
  }, e.prototype.tryParseQuote = function(t) {
2714
2716
  if (this.isEOF() || this.char() !== 39)
2715
2717
  return null;
@@ -2743,49 +2745,49 @@ var Mi = (
2743
2745
  n.push(i);
2744
2746
  this.bump();
2745
2747
  }
2746
- return ft.apply(void 0, n);
2748
+ return mt.apply(void 0, n);
2747
2749
  }, e.prototype.tryParseUnquoted = function(t, n) {
2748
2750
  if (this.isEOF())
2749
2751
  return null;
2750
2752
  var i = this.char();
2751
- return i === 60 || i === 123 || i === 35 && (n === "plural" || n === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
2753
+ return i === 60 || i === 123 || i === 35 && (n === "plural" || n === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), mt(i));
2752
2754
  }, e.prototype.parseArgument = function(t, n) {
2753
2755
  var i = this.clonePosition();
2754
2756
  if (this.bump(), this.bumpSpace(), this.isEOF())
2755
- return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(i, this.clonePosition()));
2757
+ return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2756
2758
  if (this.char() === 125)
2757
- return this.bump(), this.error(B.EMPTY_ARGUMENT, S(i, this.clonePosition()));
2759
+ return this.bump(), this.error(B.EMPTY_ARGUMENT, A(i, this.clonePosition()));
2758
2760
  var r = this.parseIdentifierIfPossible().value;
2759
2761
  if (!r)
2760
- return this.error(B.MALFORMED_ARGUMENT, S(i, this.clonePosition()));
2762
+ return this.error(B.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2761
2763
  if (this.bumpSpace(), this.isEOF())
2762
- return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(i, this.clonePosition()));
2764
+ return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2763
2765
  switch (this.char()) {
2764
2766
  case 125:
2765
2767
  return this.bump(), {
2766
2768
  val: {
2767
- type: z.argument,
2769
+ type: $.argument,
2768
2770
  // value does not include the opening and closing braces.
2769
2771
  value: r,
2770
- location: S(i, this.clonePosition())
2772
+ location: A(i, this.clonePosition())
2771
2773
  },
2772
2774
  err: null
2773
2775
  };
2774
2776
  case 44:
2775
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(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(i, this.clonePosition())) : this.parseArgumentOptions(t, n, r, i);
2776
2778
  default:
2777
- return this.error(B.MALFORMED_ARGUMENT, S(i, this.clonePosition()));
2779
+ return this.error(B.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2778
2780
  }
2779
2781
  }, e.prototype.parseIdentifierIfPossible = function() {
2780
- var t = this.clonePosition(), n = this.offset(), i = mt(this.message, n), r = n + i.length;
2782
+ var t = this.clonePosition(), n = this.offset(), i = dt(this.message, n), r = n + i.length;
2781
2783
  this.bumpTo(r);
2782
- var o = this.clonePosition(), a = S(t, o);
2784
+ var o = this.clonePosition(), a = A(t, o);
2783
2785
  return { value: i, location: a };
2784
2786
  }, e.prototype.parseArgumentOptions = function(t, n, i, r) {
2785
2787
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2786
2788
  switch (s) {
2787
2789
  case "":
2788
- return this.error(B.EXPECT_ARGUMENT_TYPE, S(a, u));
2790
+ return this.error(B.EXPECT_ARGUMENT_TYPE, A(a, u));
2789
2791
  case "number":
2790
2792
  case "date":
2791
2793
  case "time": {
@@ -2793,47 +2795,47 @@ var Mi = (
2793
2795
  var l = null;
2794
2796
  if (this.bumpIf(",")) {
2795
2797
  this.bumpSpace();
2796
- var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2797
- if (m.err)
2798
- return m;
2799
- var p = Oi(m.val);
2800
- if (p.length === 0)
2801
- return this.error(B.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
2802
- var d = S(c, this.clonePosition());
2803
- l = { style: p, styleLocation: d };
2798
+ var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2799
+ if (p.err)
2800
+ return p;
2801
+ var m = Mi(p.val);
2802
+ if (m.length === 0)
2803
+ return this.error(B.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2804
+ var d = A(c, this.clonePosition());
2805
+ l = { style: m, styleLocation: d };
2804
2806
  }
2805
2807
  var E = this.tryParseArgumentClose(r);
2806
2808
  if (E.err)
2807
2809
  return E;
2808
- var _ = S(r, this.clonePosition());
2809
- if (l && Ht(l?.style, "::", 0)) {
2810
- var y = Ni(l.style.slice(2));
2810
+ var _ = A(r, this.clonePosition());
2811
+ if (l && Ct(l?.style, "::", 0)) {
2812
+ var y = Oi(l.style.slice(2));
2811
2813
  if (s === "number") {
2812
- var m = this.parseNumberSkeletonFromString(y, l.styleLocation);
2813
- return m.err ? m : {
2814
- val: { type: z.number, value: i, location: _, style: m.val },
2814
+ var p = this.parseNumberSkeletonFromString(y, l.styleLocation);
2815
+ return p.err ? p : {
2816
+ val: { type: $.number, value: i, location: _, style: p.val },
2815
2817
  err: null
2816
2818
  };
2817
2819
  } else {
2818
2820
  if (y.length === 0)
2819
2821
  return this.error(B.EXPECT_DATE_TIME_SKELETON, _);
2820
2822
  var v = y;
2821
- this.locale && (v = _i(y, this.locale));
2822
- var p = {
2823
- type: Ee.dateTime,
2823
+ this.locale && (v = xi(y, this.locale));
2824
+ var m = {
2825
+ type: _e.dateTime,
2824
2826
  pattern: v,
2825
2827
  location: l.styleLocation,
2826
- parsedOptions: this.shouldParseSkeletons ? pi(v) : {}
2827
- }, M = s === "date" ? z.date : z.time;
2828
+ parsedOptions: this.shouldParseSkeletons ? di(v) : {}
2829
+ }, O = s === "date" ? $.date : $.time;
2828
2830
  return {
2829
- val: { type: M, value: i, location: _, style: p },
2831
+ val: { type: O, value: i, location: _, style: m },
2830
2832
  err: null
2831
2833
  };
2832
2834
  }
2833
2835
  }
2834
2836
  return {
2835
2837
  val: {
2836
- type: s === "number" ? z.number : s === "date" ? z.date : z.time,
2838
+ type: s === "number" ? $.number : s === "date" ? $.date : $.time,
2837
2839
  value: i,
2838
2840
  location: _,
2839
2841
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -2846,50 +2848,50 @@ var Mi = (
2846
2848
  case "select": {
2847
2849
  var w = this.clonePosition();
2848
2850
  if (this.bumpSpace(), !this.bumpIf(","))
2849
- return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS, S(w, k({}, w)));
2851
+ return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS, A(w, Xe({}, w)));
2850
2852
  this.bumpSpace();
2851
- var D = this.parseIdentifierIfPossible(), A = 0;
2852
- if (s !== "select" && D.value === "offset") {
2853
+ var M = this.parseIdentifierIfPossible(), S = 0;
2854
+ if (s !== "select" && M.value === "offset") {
2853
2855
  if (!this.bumpIf(":"))
2854
- return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
2856
+ return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
2855
2857
  this.bumpSpace();
2856
- var m = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2857
- if (m.err)
2858
- return m;
2859
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), A = m.val;
2858
+ var p = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2859
+ if (p.err)
2860
+ return p;
2861
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), S = p.val;
2860
2862
  }
2861
- var R = this.tryParsePluralOrSelectOptions(t, s, n, D);
2862
- if (R.err)
2863
- return R;
2863
+ var D = this.tryParsePluralOrSelectOptions(t, s, n, M);
2864
+ if (D.err)
2865
+ return D;
2864
2866
  var E = this.tryParseArgumentClose(r);
2865
2867
  if (E.err)
2866
2868
  return E;
2867
- var F = S(r, this.clonePosition());
2869
+ var z = A(r, this.clonePosition());
2868
2870
  return s === "select" ? {
2869
2871
  val: {
2870
- type: z.select,
2872
+ type: $.select,
2871
2873
  value: i,
2872
- options: Ct(R.val),
2873
- location: F
2874
+ options: Nt(D.val),
2875
+ location: z
2874
2876
  },
2875
2877
  err: null
2876
2878
  } : {
2877
2879
  val: {
2878
- type: z.plural,
2880
+ type: $.plural,
2879
2881
  value: i,
2880
- options: Ct(R.val),
2881
- offset: A,
2882
+ options: Nt(D.val),
2883
+ offset: S,
2882
2884
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2883
- location: F
2885
+ location: z
2884
2886
  },
2885
2887
  err: null
2886
2888
  };
2887
2889
  }
2888
2890
  default:
2889
- return this.error(B.INVALID_ARGUMENT_TYPE, S(a, u));
2891
+ return this.error(B.INVALID_ARGUMENT_TYPE, A(a, u));
2890
2892
  }
2891
2893
  }, e.prototype.tryParseArgumentClose = function(t) {
2892
- return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2894
+ return this.isEOF() || this.char() !== 125 ? this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2893
2895
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2894
2896
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2895
2897
  var i = this.char();
@@ -2898,7 +2900,7 @@ var Mi = (
2898
2900
  this.bump();
2899
2901
  var r = this.clonePosition();
2900
2902
  if (!this.bumpUntil("'"))
2901
- return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(r, this.clonePosition()));
2903
+ return this.error(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(r, this.clonePosition()));
2902
2904
  this.bump();
2903
2905
  break;
2904
2906
  }
@@ -2934,22 +2936,22 @@ var Mi = (
2934
2936
  }
2935
2937
  return {
2936
2938
  val: {
2937
- type: Ee.number,
2939
+ type: _e.number,
2938
2940
  tokens: i,
2939
2941
  location: n,
2940
- parsedOptions: this.shouldParseSkeletons ? Ei(i) : {}
2942
+ parsedOptions: this.shouldParseSkeletons ? _i(i) : {}
2941
2943
  },
2942
2944
  err: null
2943
2945
  };
2944
2946
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, i, r) {
2945
2947
  for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = r.value, c = r.location; ; ) {
2946
2948
  if (l.length === 0) {
2947
- var m = this.clonePosition();
2949
+ var p = this.clonePosition();
2948
2950
  if (n !== "select" && this.bumpIf("=")) {
2949
- var p = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
2950
- if (p.err)
2951
- return p;
2952
- c = S(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
2951
+ var m = this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR, B.INVALID_PLURAL_ARGUMENT_SELECTOR);
2952
+ if (m.err)
2953
+ return m;
2954
+ c = A(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
2953
2955
  } else
2954
2956
  break;
2955
2957
  }
@@ -2958,7 +2960,7 @@ var Mi = (
2958
2960
  l === "other" && (a = !0), this.bumpSpace();
2959
2961
  var d = this.clonePosition();
2960
2962
  if (!this.bumpIf("{"))
2961
- return this.error(n === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
2963
+ return this.error(n === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2962
2964
  var E = this.parseMessage(t + 1, n, i);
2963
2965
  if (E.err)
2964
2966
  return E;
@@ -2969,11 +2971,11 @@ var Mi = (
2969
2971
  l,
2970
2972
  {
2971
2973
  value: E.val,
2972
- location: S(d, this.clonePosition())
2974
+ location: A(d, this.clonePosition())
2973
2975
  }
2974
2976
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
2975
2977
  }
2976
- return s.length === 0 ? this.error(n === "select" ? B.EXPECT_SELECT_ARGUMENT_SELECTOR : B.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(B.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
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 };
2977
2979
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
2978
2980
  var i = 1, r = this.clonePosition();
2979
2981
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2984,8 +2986,8 @@ var Mi = (
2984
2986
  else
2985
2987
  break;
2986
2988
  }
2987
- var u = S(r, this.clonePosition());
2988
- return o ? (a *= i, Hi(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
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);
2989
2991
  }, e.prototype.offset = function() {
2990
2992
  return this.position.offset;
2991
2993
  }, e.prototype.isEOF = function() {
@@ -3000,7 +3002,7 @@ var Mi = (
3000
3002
  var t = this.position.offset;
3001
3003
  if (t >= this.message.length)
3002
3004
  throw Error("out of bound");
3003
- var n = ln(this.message, t);
3005
+ var n = un(this.message, t);
3004
3006
  if (n === void 0)
3005
3007
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3006
3008
  return n;
@@ -3019,7 +3021,7 @@ var Mi = (
3019
3021
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3020
3022
  }
3021
3023
  }, e.prototype.bumpIf = function(t) {
3022
- if (Ht(this.message, t, this.offset())) {
3024
+ if (Ct(this.message, t, this.offset())) {
3023
3025
  for (var n = 0; n < t.length; n++)
3024
3026
  this.bump();
3025
3027
  return !0;
@@ -3041,7 +3043,7 @@ var Mi = (
3041
3043
  break;
3042
3044
  }
3043
3045
  }, e.prototype.bumpSpace = function() {
3044
- for (; !this.isEOF() && cn(this.char()); )
3046
+ for (; !this.isEOF() && hn(this.char()); )
3045
3047
  this.bump();
3046
3048
  }, e.prototype.peek = function() {
3047
3049
  if (this.isEOF())
@@ -3051,47 +3053,47 @@ var Mi = (
3051
3053
  }, e;
3052
3054
  }()
3053
3055
  );
3054
- function pt(e) {
3056
+ function gt(e) {
3055
3057
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3056
3058
  }
3057
- function Di(e) {
3058
- return pt(e) || e === 47;
3059
- }
3060
3059
  function Ri(e) {
3060
+ return gt(e) || e === 47;
3061
+ }
3062
+ function Ui(e) {
3061
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;
3062
3064
  }
3063
- function cn(e) {
3065
+ function hn(e) {
3064
3066
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3065
3067
  }
3066
- function Ui(e) {
3068
+ function ji(e) {
3067
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;
3068
3070
  }
3069
- function dt(e) {
3071
+ function bt(e) {
3070
3072
  e.forEach(function(t) {
3071
- if (delete t.location, Kt(t) || en(t))
3073
+ if (delete t.location, en(t) || tn(t))
3072
3074
  for (var n in t.options)
3073
- delete t.options[n].location, dt(t.options[n].value);
3075
+ delete t.options[n].location, bt(t.options[n].value);
3074
3076
  else
3075
- Yt(t) && nn(t.style) || (Jt(t) || Qt(t)) && ct(t.style) ? delete t.style.location : tn(t) && dt(t.children);
3077
+ Jt(t) && rn(t.style) || (Qt(t) || Kt(t)) && ft(t.style) ? delete t.style.location : nn(t) && bt(t.children);
3076
3078
  });
3077
3079
  }
3078
- function ji(e, t) {
3079
- t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3080
- var n = new Mi(e, t).parse();
3080
+ function Gi(e, t) {
3081
+ t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3082
+ var n = new Di(e, t).parse();
3081
3083
  if (n.err) {
3082
3084
  var i = SyntaxError(B[n.err.kind]);
3083
3085
  throw i.location = n.err.location, i.originalMessage = n.err.message, i;
3084
3086
  }
3085
- return t?.captureLocation || dt(n.val), n.val;
3087
+ return t?.captureLocation || bt(n.val), n.val;
3086
3088
  }
3087
- var _e;
3089
+ var xe;
3088
3090
  (function(e) {
3089
3091
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3090
- })(_e || (_e = {}));
3091
- var Ze = (
3092
+ })(xe || (xe = {}));
3093
+ var Je = (
3092
3094
  /** @class */
3093
3095
  function(e) {
3094
- We(t, e);
3096
+ Ye(t, e);
3095
3097
  function t(n, i, r) {
3096
3098
  var o = e.call(this, n) || this;
3097
3099
  return o.code = i, o.originalMessage = r, o;
@@ -3100,47 +3102,47 @@ var Ze = (
3100
3102
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3101
3103
  }, t;
3102
3104
  }(Error)
3103
- ), Ot = (
3105
+ ), Mt = (
3104
3106
  /** @class */
3105
3107
  function(e) {
3106
- We(t, e);
3108
+ Ye(t, e);
3107
3109
  function t(n, i, r, o) {
3108
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(i, '". Options are "').concat(Object.keys(r).join('", "'), '"'), _e.INVALID_VALUE, o) || this;
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
3111
  }
3110
3112
  return t;
3111
- }(Ze)
3112
- ), Gi = (
3113
+ }(Je)
3114
+ ), $i = (
3113
3115
  /** @class */
3114
3116
  function(e) {
3115
- We(t, e);
3117
+ Ye(t, e);
3116
3118
  function t(n, i, r) {
3117
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(i), _e.INVALID_VALUE, r) || this;
3119
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(i), xe.INVALID_VALUE, r) || this;
3118
3120
  }
3119
3121
  return t;
3120
- }(Ze)
3121
- ), $i = (
3122
+ }(Je)
3123
+ ), zi = (
3122
3124
  /** @class */
3123
3125
  function(e) {
3124
- We(t, e);
3126
+ Ye(t, e);
3125
3127
  function t(n, i) {
3126
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(i, '"'), _e.MISSING_VALUE, i) || this;
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
3129
  }
3128
3130
  return t;
3129
- }(Ze)
3131
+ }(Je)
3130
3132
  ), W;
3131
3133
  (function(e) {
3132
3134
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3133
3135
  })(W || (W = {}));
3134
- function zi(e) {
3136
+ function Fi(e) {
3135
3137
  return e.length < 2 ? e : e.reduce(function(t, n) {
3136
3138
  var i = t[t.length - 1];
3137
3139
  return !i || i.type !== W.literal || n.type !== W.literal ? t.push(n) : i.value += n.value, t;
3138
3140
  }, []);
3139
3141
  }
3140
- function Fi(e) {
3142
+ function Vi(e) {
3141
3143
  return typeof e == "function";
3142
3144
  }
3143
- function ze(e, t, n, i, r, o, a) {
3145
+ function Fe(e, t, n, i, r, o, a) {
3144
3146
  if (e.length === 1 && At(e[0]))
3145
3147
  return [
3146
3148
  {
@@ -3157,98 +3159,98 @@ function ze(e, t, n, i, r, o, a) {
3157
3159
  });
3158
3160
  continue;
3159
3161
  }
3160
- if (fi(c)) {
3162
+ if (pi(c)) {
3161
3163
  typeof o == "number" && s.push({
3162
3164
  type: W.literal,
3163
3165
  value: n.getNumberFormat(t).format(o)
3164
3166
  });
3165
3167
  continue;
3166
3168
  }
3167
- var m = c.value;
3168
- if (!(r && m in r))
3169
- throw new $i(m, a);
3170
- var p = r[m];
3171
- if (hi(c)) {
3172
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3173
- type: typeof p == "string" ? W.literal : W.object,
3174
- value: p
3169
+ var p = c.value;
3170
+ if (!(r && p in r))
3171
+ throw new zi(p, a);
3172
+ var m = r[p];
3173
+ if (fi(c)) {
3174
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3175
+ type: typeof m == "string" ? W.literal : W.object,
3176
+ value: m
3175
3177
  });
3176
3178
  continue;
3177
3179
  }
3178
- if (Jt(c)) {
3179
- var d = typeof c.style == "string" ? i.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3180
+ if (Qt(c)) {
3181
+ var d = typeof c.style == "string" ? i.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3180
3182
  s.push({
3181
3183
  type: W.literal,
3182
- value: n.getDateTimeFormat(t, d).format(p)
3184
+ value: n.getDateTimeFormat(t, d).format(m)
3183
3185
  });
3184
3186
  continue;
3185
3187
  }
3186
- if (Qt(c)) {
3187
- var d = typeof c.style == "string" ? i.time[c.style] : ct(c.style) ? c.style.parsedOptions : i.time.medium;
3188
+ if (Kt(c)) {
3189
+ var d = typeof c.style == "string" ? i.time[c.style] : ft(c.style) ? c.style.parsedOptions : i.time.medium;
3188
3190
  s.push({
3189
3191
  type: W.literal,
3190
- value: n.getDateTimeFormat(t, d).format(p)
3192
+ value: n.getDateTimeFormat(t, d).format(m)
3191
3193
  });
3192
3194
  continue;
3193
3195
  }
3194
- if (Yt(c)) {
3195
- var d = typeof c.style == "string" ? i.number[c.style] : nn(c.style) ? c.style.parsedOptions : void 0;
3196
- d && d.scale && (p = p * (d.scale || 1)), s.push({
3196
+ if (Jt(c)) {
3197
+ var d = typeof c.style == "string" ? i.number[c.style] : rn(c.style) ? c.style.parsedOptions : void 0;
3198
+ d && d.scale && (m = m * (d.scale || 1)), s.push({
3197
3199
  type: W.literal,
3198
- value: n.getNumberFormat(t, d).format(p)
3200
+ value: n.getNumberFormat(t, d).format(m)
3199
3201
  });
3200
3202
  continue;
3201
3203
  }
3202
- if (tn(c)) {
3204
+ if (nn(c)) {
3203
3205
  var E = c.children, _ = c.value, y = r[_];
3204
- if (!Fi(y))
3205
- throw new Gi(_, "function", a);
3206
- var v = ze(E, t, n, i, r, o), M = y(v.map(function(A) {
3207
- return A.value;
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) {
3209
+ return S.value;
3208
3210
  }));
3209
- Array.isArray(M) || (M = [M]), s.push.apply(s, M.map(function(A) {
3211
+ Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(S) {
3210
3212
  return {
3211
- type: typeof A == "string" ? W.literal : W.object,
3212
- value: A
3213
+ type: typeof S == "string" ? W.literal : W.object,
3214
+ value: S
3213
3215
  };
3214
3216
  }));
3215
3217
  }
3216
- if (Kt(c)) {
3217
- var w = c.options[p] || c.options.other;
3218
+ if (en(c)) {
3219
+ var w = c.options[m] || c.options.other;
3218
3220
  if (!w)
3219
- throw new Ot(c.value, p, Object.keys(c.options), a);
3220
- s.push.apply(s, ze(w.value, t, n, i, r));
3221
+ throw new Mt(c.value, m, Object.keys(c.options), a);
3222
+ s.push.apply(s, Fe(w.value, t, n, i, r));
3221
3223
  continue;
3222
3224
  }
3223
- if (en(c)) {
3224
- var w = c.options["=".concat(p)];
3225
+ if (tn(c)) {
3226
+ var w = c.options["=".concat(m)];
3225
3227
  if (!w) {
3226
3228
  if (!Intl.PluralRules)
3227
- throw new Ze(`Intl.PluralRules is not available in this environment.
3229
+ throw new Je(`Intl.PluralRules is not available in this environment.
3228
3230
  Try polyfilling it using "@formatjs/intl-pluralrules"
3229
- `, _e.MISSING_INTL_API, a);
3230
- var D = n.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3231
- w = c.options[D] || c.options.other;
3231
+ `, xe.MISSING_INTL_API, a);
3232
+ var M = n.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3233
+ w = c.options[M] || c.options.other;
3232
3234
  }
3233
3235
  if (!w)
3234
- throw new Ot(c.value, p, Object.keys(c.options), a);
3235
- s.push.apply(s, ze(w.value, t, n, i, r, p - (c.offset || 0)));
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)));
3236
3238
  continue;
3237
3239
  }
3238
3240
  }
3239
- return zi(s);
3241
+ return Fi(s);
3240
3242
  }
3241
- function Vi(e, t) {
3242
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(n, i) {
3243
- return n[i] = k(k({}, e[i]), t[i] || {}), n;
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;
3244
3246
  }, {})) : e;
3245
3247
  }
3246
- function Xi(e, t) {
3248
+ function qi(e, t) {
3247
3249
  return t ? Object.keys(e).reduce(function(n, i) {
3248
- return n[i] = Vi(e[i], t[i]), n;
3249
- }, k({}, e)) : e;
3250
+ return n[i] = Xi(e[i], t[i]), n;
3251
+ }, oe({}, e)) : e;
3250
3252
  }
3251
- function ot(e) {
3253
+ function at(e) {
3252
3254
  return {
3253
3255
  create: function() {
3254
3256
  return {
@@ -3262,39 +3264,39 @@ function ot(e) {
3262
3264
  }
3263
3265
  };
3264
3266
  }
3265
- function qi(e) {
3267
+ function Wi(e) {
3266
3268
  return e === void 0 && (e = {
3267
3269
  number: {},
3268
3270
  dateTime: {},
3269
3271
  pluralRules: {}
3270
3272
  }), {
3271
- getNumberFormat: nt(function() {
3273
+ getNumberFormat: rt(function() {
3272
3274
  for (var t, n = [], i = 0; i < arguments.length; i++)
3273
3275
  n[i] = arguments[i];
3274
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], n, !1)))();
3276
+ return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], n, !1)))();
3275
3277
  }, {
3276
- cache: ot(e.number),
3277
- strategy: it.variadic
3278
+ cache: at(e.number),
3279
+ strategy: ot.variadic
3278
3280
  }),
3279
- getDateTimeFormat: nt(function() {
3281
+ getDateTimeFormat: rt(function() {
3280
3282
  for (var t, n = [], i = 0; i < arguments.length; i++)
3281
3283
  n[i] = arguments[i];
3282
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], n, !1)))();
3284
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], n, !1)))();
3283
3285
  }, {
3284
- cache: ot(e.dateTime),
3285
- strategy: it.variadic
3286
+ cache: at(e.dateTime),
3287
+ strategy: ot.variadic
3286
3288
  }),
3287
- getPluralRules: nt(function() {
3289
+ getPluralRules: rt(function() {
3288
3290
  for (var t, n = [], i = 0; i < arguments.length; i++)
3289
3291
  n[i] = arguments[i];
3290
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], n, !1)))();
3292
+ return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], n, !1)))();
3291
3293
  }, {
3292
- cache: ot(e.pluralRules),
3293
- strategy: it.variadic
3294
+ cache: at(e.pluralRules),
3295
+ strategy: ot.variadic
3294
3296
  })
3295
3297
  };
3296
3298
  }
3297
- var Wi = (
3299
+ var Zi = (
3298
3300
  /** @class */
3299
3301
  function() {
3300
3302
  function e(t, n, i, r) {
@@ -3308,12 +3310,12 @@ var Wi = (
3308
3310
  var l = o.formatToParts(u);
3309
3311
  if (l.length === 1)
3310
3312
  return l[0].value;
3311
- var c = l.reduce(function(m, p) {
3312
- return !m.length || p.type !== W.literal || typeof m[m.length - 1] != "string" ? m.push(p.value) : m[m.length - 1] += p.value, m;
3313
+ var c = l.reduce(function(p, m) {
3314
+ return !p.length || m.type !== W.literal || typeof p[p.length - 1] != "string" ? p.push(m.value) : p[p.length - 1] += m.value, p;
3313
3315
  }, []);
3314
3316
  return c.length <= 1 ? c[0] || "" : c;
3315
3317
  }, this.formatToParts = function(u) {
3316
- return ze(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3318
+ return Fe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3317
3319
  }, this.resolvedOptions = function() {
3318
3320
  var u;
3319
3321
  return {
@@ -3326,13 +3328,13 @@ var Wi = (
3326
3328
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3327
3329
  var a = r || {};
3328
3330
  a.formatters;
3329
- var s = ii(a, ["formatters"]);
3330
- this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
3331
+ var s = ri(a, ["formatters"]);
3332
+ this.ast = e.__parse(t, oe(oe({}, s), { locale: this.resolvedLocale }));
3331
3333
  } else
3332
3334
  this.ast = t;
3333
3335
  if (!Array.isArray(this.ast))
3334
3336
  throw new TypeError("A message must be provided as a String or AST.");
3335
- this.formats = Xi(e.formats, i), this.formatters = r && r.formatters || qi(this.formatterCache);
3337
+ this.formats = qi(e.formats, i), this.formatters = r && r.formatters || Wi(this.formatterCache);
3336
3338
  }
3337
3339
  return Object.defineProperty(e, "defaultLocale", {
3338
3340
  get: function() {
@@ -3345,7 +3347,7 @@ var Wi = (
3345
3347
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3346
3348
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3347
3349
  }
3348
- }, e.__parse = ji, e.formats = {
3350
+ }, e.__parse = Gi, e.formats = {
3349
3351
  number: {
3350
3352
  integer: {
3351
3353
  maximumFractionDigits: 0
@@ -3406,7 +3408,7 @@ var Wi = (
3406
3408
  }, e;
3407
3409
  }()
3408
3410
  );
3409
- function Zi(e, t) {
3411
+ function Yi(e, t) {
3410
3412
  if (t == null)
3411
3413
  return;
3412
3414
  if (t in e)
@@ -3427,92 +3429,92 @@ function Zi(e, t) {
3427
3429
  i = void 0;
3428
3430
  return i;
3429
3431
  }
3430
- const ae = {}, Yi = (e, t, n) => n && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = n), n), hn = (e, t) => {
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) => {
3431
3433
  if (t == null)
3432
3434
  return;
3433
- if (t in ae && e in ae[t])
3434
- return ae[t][e];
3435
- const n = Ye(t);
3435
+ if (t in le && e in le[t])
3436
+ return le[t][e];
3437
+ const n = Qe(t);
3436
3438
  for (let i = 0; i < n.length; i++) {
3437
- const r = n[i], o = Qi(r, e);
3439
+ const r = n[i], o = Ki(r, e);
3438
3440
  if (o)
3439
- return Yi(e, t, o);
3441
+ return Ji(e, t, o);
3440
3442
  }
3441
3443
  };
3442
- let Et;
3443
- const Me = qe({});
3444
- function Ji(e) {
3445
- return Et[e] || null;
3444
+ let _t;
3445
+ const De = Ze({});
3446
+ function Qi(e) {
3447
+ return _t[e] || null;
3446
3448
  }
3447
- function fn(e) {
3448
- return e in Et;
3449
+ function pn(e) {
3450
+ return e in _t;
3449
3451
  }
3450
- function Qi(e, t) {
3451
- if (!fn(e))
3452
+ function Ki(e, t) {
3453
+ if (!pn(e))
3452
3454
  return null;
3453
- const n = Ji(e);
3454
- return Zi(n, t);
3455
+ const n = Qi(e);
3456
+ return Yi(n, t);
3455
3457
  }
3456
- function Ki(e) {
3458
+ function er(e) {
3457
3459
  if (e == null)
3458
3460
  return;
3459
- const t = Ye(e);
3461
+ const t = Qe(e);
3460
3462
  for (let n = 0; n < t.length; n++) {
3461
3463
  const i = t[n];
3462
- if (fn(i))
3464
+ if (pn(i))
3463
3465
  return i;
3464
3466
  }
3465
3467
  }
3466
3468
  function mn(e, ...t) {
3467
- delete ae[e], Me.update((n) => (n[e] = ni.all([n[e] || {}, ...t]), n));
3469
+ delete le[e], De.update((n) => (n[e] = ii.all([n[e] || {}, ...t]), n));
3468
3470
  }
3469
- Te(
3470
- [Me],
3471
+ Pe(
3472
+ [De],
3471
3473
  ([e]) => Object.keys(e)
3472
3474
  );
3473
- Me.subscribe((e) => Et = e);
3474
- const Fe = {};
3475
- function er(e, t) {
3476
- Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
3475
+ De.subscribe((e) => _t = e);
3476
+ const Ve = {};
3477
+ function tr(e, t) {
3478
+ Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3477
3479
  }
3478
- function pn(e) {
3479
- return Fe[e];
3480
+ function dn(e) {
3481
+ return Ve[e];
3480
3482
  }
3481
- function tr(e) {
3482
- return Ye(e).map((t) => {
3483
- const n = pn(t);
3483
+ function nr(e) {
3484
+ return Qe(e).map((t) => {
3485
+ const n = dn(t);
3484
3486
  return [t, n ? [...n] : []];
3485
3487
  }).filter(([, t]) => t.length > 0);
3486
3488
  }
3487
- function bt(e) {
3488
- return e == null ? !1 : Ye(e).some(
3489
+ function yt(e) {
3490
+ return e == null ? !1 : Qe(e).some(
3489
3491
  (t) => {
3490
3492
  var n;
3491
- return (n = pn(t)) == null ? void 0 : n.size;
3493
+ return (n = dn(t)) == null ? void 0 : n.size;
3492
3494
  }
3493
3495
  );
3494
3496
  }
3495
- function nr(e, t) {
3497
+ function ir(e, t) {
3496
3498
  return Promise.all(
3497
- t.map((i) => (er(e, i), i().then((r) => r.default || r)))
3499
+ t.map((i) => (tr(e, i), i().then((r) => r.default || r)))
3498
3500
  ).then((i) => mn(e, ...i));
3499
3501
  }
3500
- const Ie = {};
3501
- function dn(e) {
3502
- if (!bt(e))
3503
- return e in Ie ? Ie[e] : Promise.resolve();
3504
- const t = tr(e);
3505
- return Ie[e] = Promise.all(
3502
+ const ke = {};
3503
+ function gn(e) {
3504
+ if (!yt(e))
3505
+ return e in ke ? ke[e] : Promise.resolve();
3506
+ const t = nr(e);
3507
+ return ke[e] = Promise.all(
3506
3508
  t.map(
3507
- ([n, i]) => nr(n, i)
3509
+ ([n, i]) => ir(n, i)
3508
3510
  )
3509
3511
  ).then(() => {
3510
- if (bt(e))
3511
- return dn(e);
3512
- delete Ie[e];
3513
- }), Ie[e];
3512
+ if (yt(e))
3513
+ return gn(e);
3514
+ delete ke[e];
3515
+ }), ke[e];
3514
3516
  }
3515
- const ir = {
3517
+ const rr = {
3516
3518
  number: {
3517
3519
  scientific: { notation: "scientific" },
3518
3520
  engineering: { notation: "engineering" },
@@ -3541,178 +3543,178 @@ const ir = {
3541
3543
  timeZoneName: "short"
3542
3544
  }
3543
3545
  }
3544
- }, rr = {
3546
+ }, or = {
3545
3547
  fallbackLocale: null,
3546
3548
  loadingDelay: 200,
3547
- formats: ir,
3549
+ formats: rr,
3548
3550
  warnOnMissingMessages: !0,
3549
3551
  handleMissingMessage: void 0,
3550
3552
  ignoreTag: !0
3551
- }, or = rr;
3552
- function xe() {
3553
- return or;
3554
- }
3555
- const st = qe(!1);
3556
- var sr = Object.defineProperty, ar = Object.defineProperties, lr = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Dt = (e, t, n) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, hr = (e, t) => {
3557
- for (var n in t)
3558
- ur.call(t, n) && Dt(e, n, t[n]);
3559
- if (Mt)
3560
- for (var n of Mt(t))
3561
- cr.call(t, n) && Dt(e, n, t[n]);
3553
+ }, sr = or;
3554
+ function Te() {
3555
+ return sr;
3556
+ }
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]);
3561
+ if (Dt)
3562
+ for (var n of Dt(t))
3563
+ hr.call(t, n) && Rt(e, n, t[n]);
3562
3564
  return e;
3563
- }, fr = (e, t) => ar(e, lr(t));
3564
- let gt;
3565
- const Ve = qe(null);
3566
- function Rt(e) {
3565
+ }, pr = (e, t) => lr(e, ur(t));
3566
+ let vt;
3567
+ const qe = Ze(null);
3568
+ function Ut(e) {
3567
3569
  return e.split("-").map((t, n, i) => i.slice(0, n + 1).join("-")).reverse();
3568
3570
  }
3569
- function Ye(e, t = xe().fallbackLocale) {
3570
- const n = Rt(e);
3571
- return t ? [.../* @__PURE__ */ new Set([...n, ...Rt(t)])] : n;
3571
+ function Qe(e, t = Te().fallbackLocale) {
3572
+ const n = Ut(e);
3573
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Ut(t)])] : n;
3572
3574
  }
3573
- function ce() {
3574
- return gt ?? void 0;
3575
+ function he() {
3576
+ return vt ?? void 0;
3575
3577
  }
3576
- Ve.subscribe((e) => {
3577
- gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
+ qe.subscribe((e) => {
3579
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
3580
  });
3579
3581
  const mr = (e) => {
3580
- if (e && Ki(e) && bt(e)) {
3581
- const { loadingDelay: t } = xe();
3582
+ if (e && er(e) && yt(e)) {
3583
+ const { loadingDelay: t } = Te();
3582
3584
  let n;
3583
- return typeof window < "u" && ce() != null && t ? n = window.setTimeout(
3584
- () => st.set(!0),
3585
+ return typeof window < "u" && he() != null && t ? n = window.setTimeout(
3586
+ () => lt.set(!0),
3585
3587
  t
3586
- ) : st.set(!0), dn(e).then(() => {
3587
- Ve.set(e);
3588
+ ) : lt.set(!0), gn(e).then(() => {
3589
+ qe.set(e);
3588
3590
  }).finally(() => {
3589
- clearTimeout(n), st.set(!1);
3591
+ clearTimeout(n), lt.set(!1);
3590
3592
  });
3591
3593
  }
3592
- return Ve.set(e);
3593
- }, Pe = fr(hr({}, Ve), {
3594
+ return qe.set(e);
3595
+ }, we = pr(fr({}, qe), {
3594
3596
  set: mr
3595
- }), Je = (e) => {
3597
+ }), Ke = (e) => {
3596
3598
  const t = /* @__PURE__ */ Object.create(null);
3597
3599
  return (i) => {
3598
3600
  const r = JSON.stringify(i);
3599
3601
  return r in t ? t[r] : t[r] = e(i);
3600
3602
  };
3601
3603
  };
3602
- var pr = Object.defineProperty, Xe = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, Ut = (e, t, n) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _t = (e, t) => {
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) => {
3603
3605
  for (var n in t || (t = {}))
3604
- bn.call(t, n) && Ut(e, n, t[n]);
3605
- if (Xe)
3606
- for (var n of Xe(t))
3607
- gn.call(t, n) && Ut(e, n, t[n]);
3606
+ bn.call(t, n) && jt(e, n, t[n]);
3607
+ if (We)
3608
+ for (var n of We(t))
3609
+ yn.call(t, n) && jt(e, n, t[n]);
3608
3610
  return e;
3609
- }, we = (e, t) => {
3611
+ }, Be = (e, t) => {
3610
3612
  var n = {};
3611
3613
  for (var i in e)
3612
3614
  bn.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
3613
- if (e != null && Xe)
3614
- for (var i of Xe(e))
3615
- t.indexOf(i) < 0 && gn.call(e, i) && (n[i] = e[i]);
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]);
3616
3618
  return n;
3617
3619
  };
3618
- const Oe = (e, t) => {
3619
- const { formats: n } = xe();
3620
+ const Me = (e, t) => {
3621
+ const { formats: n } = Te();
3620
3622
  if (e in n && t in n[e])
3621
3623
  return n[e][t];
3622
3624
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3623
- }, dr = Je(
3625
+ }, gr = Ke(
3624
3626
  (e) => {
3625
- var t = e, { locale: n, format: i } = t, r = we(t, ["locale", "format"]);
3627
+ var t = e, { locale: n, format: i } = t, r = Be(t, ["locale", "format"]);
3626
3628
  if (n == null)
3627
3629
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3628
- return i && (r = Oe("number", i)), new Intl.NumberFormat(n, r);
3630
+ return i && (r = Me("number", i)), new Intl.NumberFormat(n, r);
3629
3631
  }
3630
- ), br = Je(
3632
+ ), br = Ke(
3631
3633
  (e) => {
3632
- var t = e, { locale: n, format: i } = t, r = we(t, ["locale", "format"]);
3634
+ var t = e, { locale: n, format: i } = t, r = Be(t, ["locale", "format"]);
3633
3635
  if (n == null)
3634
3636
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3635
- return i ? r = Oe("date", i) : Object.keys(r).length === 0 && (r = Oe("date", "short")), new Intl.DateTimeFormat(n, r);
3637
+ return i ? r = Me("date", i) : Object.keys(r).length === 0 && (r = Me("date", "short")), new Intl.DateTimeFormat(n, r);
3636
3638
  }
3637
- ), gr = Je(
3639
+ ), yr = Ke(
3638
3640
  (e) => {
3639
- var t = e, { locale: n, format: i } = t, r = we(t, ["locale", "format"]);
3641
+ var t = e, { locale: n, format: i } = t, r = Be(t, ["locale", "format"]);
3640
3642
  if (n == null)
3641
3643
  throw new Error(
3642
3644
  '[svelte-i18n] A "locale" must be set to format time values'
3643
3645
  );
3644
- return i ? r = Oe("time", i) : Object.keys(r).length === 0 && (r = Oe("time", "short")), new Intl.DateTimeFormat(n, r);
3646
+ return i ? r = Me("time", i) : Object.keys(r).length === 0 && (r = Me("time", "short")), new Intl.DateTimeFormat(n, r);
3645
3647
  }
3646
- ), yr = (e = {}) => {
3648
+ ), vr = (e = {}) => {
3647
3649
  var t = e, {
3648
- locale: n = ce()
3649
- } = t, i = we(t, [
3650
+ locale: n = he()
3651
+ } = t, i = Be(t, [
3650
3652
  "locale"
3651
3653
  ]);
3652
- return dr(_t({ locale: n }, i));
3653
- }, vr = (e = {}) => {
3654
+ return gr(xt({ locale: n }, i));
3655
+ }, Er = (e = {}) => {
3654
3656
  var t = e, {
3655
- locale: n = ce()
3656
- } = t, i = we(t, [
3657
+ locale: n = he()
3658
+ } = t, i = Be(t, [
3657
3659
  "locale"
3658
3660
  ]);
3659
- return br(_t({ locale: n }, i));
3660
- }, Er = (e = {}) => {
3661
+ return br(xt({ locale: n }, i));
3662
+ }, _r = (e = {}) => {
3661
3663
  var t = e, {
3662
- locale: n = ce()
3663
- } = t, i = we(t, [
3664
+ locale: n = he()
3665
+ } = t, i = Be(t, [
3664
3666
  "locale"
3665
3667
  ]);
3666
- return gr(_t({ locale: n }, i));
3667
- }, _r = Je(
3668
+ return yr(xt({ locale: n }, i));
3669
+ }, xr = Ke(
3668
3670
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3669
- (e, t = ce()) => new Wi(e, t, xe().formats, {
3670
- ignoreTag: xe().ignoreTag
3671
+ (e, t = he()) => new Zi(e, t, Te().formats, {
3672
+ ignoreTag: Te().ignoreTag
3671
3673
  })
3672
- ), xr = (e, t = {}) => {
3674
+ ), Tr = (e, t = {}) => {
3673
3675
  var n, i, r, o;
3674
3676
  let a = t;
3675
3677
  typeof e == "object" && (a = e, e = a.id);
3676
3678
  const {
3677
3679
  values: s,
3678
- locale: u = ce(),
3680
+ locale: u = he(),
3679
3681
  default: l
3680
3682
  } = a;
3681
3683
  if (u == null)
3682
3684
  throw new Error(
3683
3685
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3684
3686
  );
3685
- let c = hn(e, u);
3687
+ let c = fn(e, u);
3686
3688
  if (!c)
3687
- c = (o = (r = (i = (n = xe()).handleMissingMessage) == null ? void 0 : i.call(n, { locale: u, id: e, defaultValue: l })) != null ? r : l) != null ? o : e;
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;
3688
3690
  else if (typeof c != "string")
3689
3691
  return console.warn(
3690
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.`
3691
3693
  ), c;
3692
3694
  if (!s)
3693
3695
  return c;
3694
- let m = c;
3696
+ let p = c;
3695
3697
  try {
3696
- m = _r(c, u).format(s);
3697
- } catch (p) {
3698
- p instanceof Error && console.warn(
3698
+ p = xr(c, u).format(s);
3699
+ } catch (m) {
3700
+ m instanceof Error && console.warn(
3699
3701
  `[svelte-i18n] Message "${e}" has syntax error:`,
3700
- p.message
3702
+ m.message
3701
3703
  );
3702
3704
  }
3703
- return m;
3704
- }, Tr = (e, t) => Er(t).format(e), Pr = (e, t) => vr(t).format(e), wr = (e, t) => yr(t).format(e), Br = (e, t = ce()) => hn(e, t), Lr = Te([Pe, Me], () => xr);
3705
- Te([Pe], () => Tr);
3706
- Te([Pe], () => Pr);
3707
- Te([Pe], () => wr);
3708
- Te([Pe, Me], () => Br);
3709
- function jt(e, t) {
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);
3707
+ Pe([we], () => Pr);
3708
+ Pe([we], () => wr);
3709
+ Pe([we], () => Br);
3710
+ Pe([we, De], () => Lr);
3711
+ function Gt(e, t) {
3710
3712
  mn(e, t);
3711
3713
  }
3712
3714
  function Ar(e) {
3713
- Pe.set(e);
3715
+ we.set(e);
3714
3716
  }
3715
- const Gt = {
3717
+ const $t = {
3716
3718
  en: {
3717
3719
  loading: "Loading, please wait...",
3718
3720
  setLimit: "Set a limit",
@@ -3973,13 +3975,13 @@ const Gt = {
3973
3975
  kyc2: "For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."
3974
3976
  }
3975
3977
  };
3976
- function Sr(e, t) {
3978
+ function Ir(e, t) {
3977
3979
  if (e) {
3978
3980
  const n = document.createElement("style");
3979
3981
  n.innerHTML = t, e.appendChild(n);
3980
3982
  }
3981
3983
  }
3982
- function Ir(e, t) {
3984
+ function kr(e, t) {
3983
3985
  const n = new URL(t);
3984
3986
  fetch(n.href).then((i) => i.text()).then((i) => {
3985
3987
  const r = document.createElement("style");
@@ -3988,7 +3990,7 @@ function Ir(e, t) {
3988
3990
  console.error("There was an error while trying to load client styling from URL", i);
3989
3991
  });
3990
3992
  }
3991
- function kr(e, t, n) {
3993
+ function Hr(e, t, n) {
3992
3994
  if (window.emMessageBus) {
3993
3995
  const i = document.createElement("style");
3994
3996
  window.emMessageBus.subscribe(t, (r) => {
@@ -3996,42 +3998,42 @@ function kr(e, t, n) {
3996
3998
  });
3997
3999
  }
3998
4000
  }
3999
- function Hr(e) {
4000
- En(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)}');
4001
- }
4002
4001
  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)}');
4003
+ }
4004
+ function Nr(e) {
4003
4005
  let t;
4004
4006
  function n(o, a) {
4005
4007
  if (
4006
4008
  /*popupState*/
4007
4009
  o[10] === "initial"
4008
4010
  )
4009
- return Ur;
4011
+ return jr;
4010
4012
  if (
4011
4013
  /*popupState*/
4012
4014
  o[10] === "successful"
4013
4015
  )
4014
- return Rr;
4016
+ return Ur;
4015
4017
  if (
4016
4018
  /*popupState*/
4017
4019
  o[10] === "KYC"
4018
4020
  )
4019
- return Dr;
4021
+ return Rr;
4020
4022
  if (
4021
4023
  /*popupState*/
4022
4024
  o[10] === "KYC2"
4023
4025
  )
4024
- return Mr;
4026
+ return Dr;
4025
4027
  if (
4026
4028
  /*popupState*/
4027
4029
  o[10] === "error"
4028
4030
  )
4029
- return Or;
4031
+ return Mr;
4030
4032
  }
4031
4033
  let i = n(e), r = i && i(e);
4032
4034
  return {
4033
4035
  c() {
4034
- t = g("div"), r && r.c(), h(t, "class", "InitialWrapper");
4036
+ t = b("div"), r && r.c(), h(t, "class", "InitialWrapper");
4035
4037
  },
4036
4038
  m(o, a) {
4037
4039
  T(o, t, a), r && r.m(t, null);
@@ -4044,14 +4046,14 @@ function Cr(e) {
4044
4046
  }
4045
4047
  };
4046
4048
  }
4047
- function Nr(e) {
4049
+ function Or(e) {
4048
4050
  let t, n = (
4049
4051
  /*$_*/
4050
4052
  e[12]("loading") + ""
4051
4053
  ), i;
4052
4054
  return {
4053
4055
  c() {
4054
- t = g("p"), i = L(n);
4056
+ t = b("p"), i = L(n);
4055
4057
  },
4056
4058
  m(r, o) {
4057
4059
  T(r, t, o), f(t, i);
@@ -4059,31 +4061,31 @@ function Nr(e) {
4059
4061
  p(r, o) {
4060
4062
  o[0] & /*$_*/
4061
4063
  4096 && n !== (n = /*$_*/
4062
- r[12]("loading") + "") && H(i, n);
4064
+ r[12]("loading") + "") && k(i, n);
4063
4065
  },
4064
4066
  d(r) {
4065
4067
  r && x(t);
4066
4068
  }
4067
4069
  };
4068
4070
  }
4069
- function Or(e) {
4071
+ function Mr(e) {
4070
4072
  let t, n = (
4071
4073
  /*$_*/
4072
4074
  e[12]("depositError") + ""
4073
4075
  ), i, r, o, a, s, u = (
4074
4076
  /*$_*/
4075
4077
  e[12]("errorDescription") + ""
4076
- ), l, c, m, p = (
4078
+ ), l, c, p, m = (
4077
4079
  /*$_*/
4078
4080
  e[12]("closeButton") + ""
4079
4081
  ), d, E, _;
4080
4082
  return {
4081
4083
  c() {
4082
- t = g("p"), i = L(n), r = O(), o = g("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 = O(), s = g("p"), l = L(u), c = O(), m = g("button"), d = L(p), h(t, "class", "Title"), h(o, "class", "ResultIconWrapper"), h(s, "class", "Description CenterAlign"), h(m, "class", "ConfirmButton SecondaryButtonStyle");
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");
4083
4085
  },
4084
4086
  m(y, v) {
4085
- 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, m, v), f(m, d), E || (_ = Z(
4086
- m,
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(
4088
+ p,
4087
4089
  "click",
4088
4090
  /*click_handler_10*/
4089
4091
  e[37]
@@ -4092,43 +4094,43 @@ function Or(e) {
4092
4094
  p(y, v) {
4093
4095
  v[0] & /*$_*/
4094
4096
  4096 && n !== (n = /*$_*/
4095
- y[12]("depositError") + "") && H(i, n), v[0] & /*$_*/
4097
+ y[12]("depositError") + "") && k(i, n), v[0] & /*$_*/
4096
4098
  4096 && u !== (u = /*$_*/
4097
- y[12]("errorDescription") + "") && H(l, u), v[0] & /*$_*/
4098
- 4096 && p !== (p = /*$_*/
4099
- y[12]("closeButton") + "") && H(d, p);
4099
+ y[12]("errorDescription") + "") && k(l, u), v[0] & /*$_*/
4100
+ 4096 && m !== (m = /*$_*/
4101
+ y[12]("closeButton") + "") && k(d, m);
4100
4102
  },
4101
4103
  d(y) {
4102
- y && (x(t), x(r), x(o), x(a), x(s), x(c), x(m)), E = !1, _();
4104
+ y && (x(t), x(r), x(o), x(a), x(s), x(c), x(p)), E = !1, _();
4103
4105
  }
4104
4106
  };
4105
4107
  }
4106
- function Mr(e) {
4108
+ function Dr(e) {
4107
4109
  let t, n = (
4108
4110
  /*$_*/
4109
4111
  e[12]("docsRequired") + ""
4110
- ), i, r, o, a, s, u, l, c, m, p = (
4112
+ ), i, r, o, a, s, u, l, c, p, m = (
4111
4113
  /*$_*/
4112
4114
  e[12]("docsRequired") + ""
4113
4115
  ), d, E, _, y = (
4114
4116
  /*$_*/
4115
4117
  e[12]("kyc2") + ""
4116
- ), v, M, w, D = (
4118
+ ), v, O, w, M = (
4117
4119
  /*$_*/
4118
4120
  e[12]("kycButton") + ""
4119
- ), A, R, F, C = (
4121
+ ), S, D, z, H = (
4120
4122
  /*$_*/
4121
4123
  e[12]("closeButton") + ""
4122
- ), U, $, X;
4124
+ ), R, G, X;
4123
4125
  return {
4124
4126
  c() {
4125
- t = g("p"), i = L(n), r = O(), o = g("div"), a = g("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = O(), m = g("p"), d = L(p), E = O(), _ = g("p"), v = L(y), M = O(), w = g("button"), A = L(D), R = O(), F = g("button"), U = L(C), 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
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
4126
4128
  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
4127
4129
  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
4128
- 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"), ke(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(F, "class", "ConfirmButton SecondaryButtonStyle");
4130
+ 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");
4129
4131
  },
4130
- m(P, j) {
4131
- T(P, t, j), f(t, i), T(P, r, j), T(P, o, j), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, m), f(m, d), f(o, E), f(o, _), f(_, v), T(P, M, j), T(P, w, j), f(w, A), T(P, R, j), T(P, F, j), f(F, U), $ || (X = [
4132
+ 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 = [
4132
4134
  Z(
4133
4135
  w,
4134
4136
  "click",
@@ -4136,68 +4138,68 @@ function Mr(e) {
4136
4138
  e[35]
4137
4139
  ),
4138
4140
  Z(
4139
- F,
4141
+ z,
4140
4142
  "click",
4141
4143
  /*click_handler_9*/
4142
4144
  e[36]
4143
4145
  )
4144
- ], $ = !0);
4146
+ ], G = !0);
4145
4147
  },
4146
- p(P, j) {
4147
- j[0] & /*$_*/
4148
+ p(P, U) {
4149
+ U[0] & /*$_*/
4148
4150
  4096 && n !== (n = /*$_*/
4149
- P[12]("docsRequired") + "") && H(i, n), j[0] & /*$_*/
4150
- 4096 && p !== (p = /*$_*/
4151
- P[12]("docsRequired") + "") && H(d, p), j[0] & /*$_*/
4151
+ P[12]("docsRequired") + "") && k(i, n), U[0] & /*$_*/
4152
+ 4096 && m !== (m = /*$_*/
4153
+ P[12]("docsRequired") + "") && k(d, m), U[0] & /*$_*/
4152
4154
  4096 && y !== (y = /*$_*/
4153
- P[12]("kyc2") + "") && H(v, y), j[0] & /*$_*/
4154
- 4096 && D !== (D = /*$_*/
4155
- P[12]("kycButton") + "") && H(A, D), j[0] & /*$_*/
4156
- 4096 && C !== (C = /*$_*/
4157
- P[12]("closeButton") + "") && H(U, C);
4155
+ P[12]("kyc2") + "") && k(v, y), U[0] & /*$_*/
4156
+ 4096 && M !== (M = /*$_*/
4157
+ P[12]("kycButton") + "") && k(S, M), U[0] & /*$_*/
4158
+ 4096 && H !== (H = /*$_*/
4159
+ P[12]("closeButton") + "") && k(R, H);
4158
4160
  },
4159
4161
  d(P) {
4160
- P && (x(t), x(r), x(o), x(M), x(w), x(R), x(F)), $ = !1, le(X);
4162
+ P && (x(t), x(r), x(o), x(O), x(w), x(D), x(z)), G = !1, ue(X);
4161
4163
  }
4162
4164
  };
4163
4165
  }
4164
- function Dr(e) {
4166
+ function Rr(e) {
4165
4167
  let t, n = (
4166
4168
  /*$_*/
4167
4169
  e[12]("depositLimit") + ""
4168
- ), i, r, o, a, s, u, l, c, m, p = (
4170
+ ), i, r, o, a, s, u, l, c, p, m = (
4169
4171
  /*$_*/
4170
4172
  e[12]("successful") + ""
4171
4173
  ), d, E, _, y = (
4172
4174
  /*$_*/
4173
4175
  e[12]("kyc1Part1") + ""
4174
- ), v, M, w, D, A = (
4176
+ ), v, O, w, M, S = (
4175
4177
  /*$_*/
4176
4178
  e[12]("kyc1Part2") + ""
4177
- ), R, F, C, U = (
4179
+ ), D, z, H, R = (
4178
4180
  /*$_*/
4179
4181
  e[12]("kycButton") + ""
4180
- ), $, X, P, j = (
4182
+ ), G, X, P, U = (
4181
4183
  /*$_*/
4182
4184
  e[12]("closeButton") + ""
4183
- ), ne, ie, se;
4185
+ ), ne, ie, ae;
4184
4186
  return {
4185
4187
  c() {
4186
- t = g("p"), i = L(n), r = O(), o = g("div"), a = g("div"), s = Y("svg"), u = Y("g"), l = Y("path"), c = O(), m = g("p"), d = L(p), E = O(), _ = g("p"), v = L(y), M = L(
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(
4187
4189
  /*legislatorLimitValue*/
4188
4190
  e[11]
4189
- ), w = O(), D = L(
4191
+ ), w = N(), M = L(
4190
4192
  /*currency*/
4191
4193
  e[0]
4192
- ), R = L(A), F = O(), C = g("button"), $ = L(U), X = O(), P = g("button"), ne = L(j), 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
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
4193
4195
  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
4194
4196
  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
4195
- 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"), ke(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(C, "class", "KycButton PrimaryButtonStyle"), h(P, "class", "ConfirmButton SecondaryButtonStyle");
4197
+ 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");
4196
4198
  },
4197
- m(V, G) {
4198
- T(V, t, G), f(t, i), T(V, r, G), T(V, o, G), f(o, a), f(a, s), f(s, u), f(u, l), f(a, c), f(a, m), f(m, d), f(o, E), f(o, _), f(_, v), f(_, M), f(_, w), f(_, D), f(_, R), T(V, F, G), T(V, C, G), f(C, $), T(V, X, G), T(V, P, G), f(P, ne), ie || (se = [
4199
+ 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 = [
4199
4201
  Z(
4200
- C,
4202
+ H,
4201
4203
  "click",
4202
4204
  /*click_handler_6*/
4203
4205
  e[33]
@@ -4210,75 +4212,75 @@ function Dr(e) {
4210
4212
  )
4211
4213
  ], ie = !0);
4212
4214
  },
4213
- p(V, G) {
4214
- G[0] & /*$_*/
4215
+ p(F, j) {
4216
+ j[0] & /*$_*/
4215
4217
  4096 && n !== (n = /*$_*/
4216
- V[12]("depositLimit") + "") && H(i, n), G[0] & /*$_*/
4217
- 4096 && p !== (p = /*$_*/
4218
- V[12]("successful") + "") && H(d, p), G[0] & /*$_*/
4218
+ F[12]("depositLimit") + "") && k(i, n), j[0] & /*$_*/
4219
+ 4096 && m !== (m = /*$_*/
4220
+ F[12]("successful") + "") && k(d, m), j[0] & /*$_*/
4219
4221
  4096 && y !== (y = /*$_*/
4220
- V[12]("kyc1Part1") + "") && H(v, y), G[0] & /*legislatorLimitValue*/
4221
- 2048 && H(
4222
- M,
4222
+ F[12]("kyc1Part1") + "") && k(v, y), j[0] & /*legislatorLimitValue*/
4223
+ 2048 && k(
4224
+ O,
4223
4225
  /*legislatorLimitValue*/
4224
- V[11]
4225
- ), G[0] & /*currency*/
4226
- 1 && H(
4227
- D,
4226
+ F[11]
4227
+ ), j[0] & /*currency*/
4228
+ 1 && k(
4229
+ M,
4228
4230
  /*currency*/
4229
- V[0]
4230
- ), G[0] & /*$_*/
4231
- 4096 && A !== (A = /*$_*/
4232
- V[12]("kyc1Part2") + "") && H(R, A), G[0] & /*$_*/
4231
+ F[0]
4232
+ ), j[0] & /*$_*/
4233
+ 4096 && S !== (S = /*$_*/
4234
+ F[12]("kyc1Part2") + "") && k(D, S), j[0] & /*$_*/
4235
+ 4096 && R !== (R = /*$_*/
4236
+ F[12]("kycButton") + "") && k(G, R), j[0] & /*$_*/
4233
4237
  4096 && U !== (U = /*$_*/
4234
- V[12]("kycButton") + "") && H($, U), G[0] & /*$_*/
4235
- 4096 && j !== (j = /*$_*/
4236
- V[12]("closeButton") + "") && H(ne, j);
4238
+ F[12]("closeButton") + "") && k(ne, U);
4237
4239
  },
4238
- d(V) {
4239
- V && (x(t), x(r), x(o), x(F), x(C), x(X), x(P)), ie = !1, le(se);
4240
+ d(F) {
4241
+ F && (x(t), x(r), x(o), x(z), x(H), x(X), x(P)), ie = !1, ue(ae);
4240
4242
  }
4241
4243
  };
4242
4244
  }
4243
- function Rr(e) {
4245
+ function Ur(e) {
4244
4246
  let t, n = (
4245
4247
  /*$_*/
4246
4248
  e[12]("depositLimit") + ""
4247
- ), i, r, o, a, s, u, l, c, m, p, d, E, _ = (
4249
+ ), i, r, o, a, s, u, l, c, p, m, d, E, _ = (
4248
4250
  /*$_*/
4249
4251
  e[12]("successful") + ""
4250
- ), y, v, M, w = (
4252
+ ), y, v, O, w = (
4251
4253
  /*$_*/
4252
4254
  e[12]("successDescription") + ""
4253
- ), D, A, R, F, C;
4255
+ ), M, S, D, z, H;
4254
4256
  return {
4255
4257
  c() {
4256
- t = g("p"), i = L(n), r = O(), o = g("div"), a = g("div"), s = Y("svg"), u = Y("defs"), l = Y("style"), c = L(`.fil0 {fill:black;fill-rule:nonzero}
4257
- `), m = Y("g"), p = Y("polygon"), d = O(), E = g("p"), y = L(_), v = O(), M = g("p"), D = L(w), A = O(), R = g("button"), R.textContent = "OK", h(t, "class", "Title"), h(l, "type", "text/css"), h(p, "class", "fil0"), h(p, "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"), ke(s, "shape-rendering", "geometricPrecision"), ke(s, "text-rendering", "geometricPrecision"), ke(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(M, "class", "Description CenterAlign"), h(o, "class", "DescriptionWrapper"), h(R, "class", "ConfirmButton PrimaryButtonStyle");
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}
4259
+ `), 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");
4258
4260
  },
4259
- m(U, $) {
4260
- T(U, t, $), f(t, i), T(U, r, $), T(U, o, $), f(o, a), f(a, s), f(s, u), f(u, l), f(l, c), f(s, m), f(m, p), f(a, d), f(a, E), f(E, y), f(o, v), f(o, M), f(M, D), T(U, A, $), T(U, R, $), F || (C = Z(
4261
- R,
4261
+ 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(
4263
+ D,
4262
4264
  "click",
4263
4265
  /*click_handler_5*/
4264
4266
  e[32]
4265
- ), F = !0);
4267
+ ), z = !0);
4266
4268
  },
4267
- p(U, $) {
4268
- $[0] & /*$_*/
4269
+ p(R, G) {
4270
+ G[0] & /*$_*/
4269
4271
  4096 && n !== (n = /*$_*/
4270
- U[12]("depositLimit") + "") && H(i, n), $[0] & /*$_*/
4272
+ R[12]("depositLimit") + "") && k(i, n), G[0] & /*$_*/
4271
4273
  4096 && _ !== (_ = /*$_*/
4272
- U[12]("successful") + "") && H(y, _), $[0] & /*$_*/
4274
+ R[12]("successful") + "") && k(y, _), G[0] & /*$_*/
4273
4275
  4096 && w !== (w = /*$_*/
4274
- U[12]("successDescription") + "") && H(D, w);
4276
+ R[12]("successDescription") + "") && k(M, w);
4275
4277
  },
4276
- d(U) {
4277
- U && (x(t), x(r), x(o), x(A), x(R)), F = !1, C();
4278
+ d(R) {
4279
+ R && (x(t), x(r), x(o), x(S), x(D)), z = !1, H();
4278
4280
  }
4279
4281
  };
4280
4282
  }
4281
- function Ur(e) {
4283
+ function jr(e) {
4282
4284
  let t, n = (
4283
4285
  /*$_*/
4284
4286
  e[12]("setLimit") + ""
@@ -4288,54 +4290,54 @@ function Ur(e) {
4288
4290
  ), s, u, l, c = (
4289
4291
  /*$_*/
4290
4292
  e[12]("lugasInfo1") + ""
4291
- ), m, p, d, E = (
4293
+ ), p, m, d, E = (
4292
4294
  /*$_*/
4293
4295
  e[12]("lugasInfo2") + ""
4294
- ), _, y, v, M = (
4296
+ ), _, y, v, O = (
4295
4297
  /*$_*/
4296
4298
  e[12]("keepCurrentLimit") + ""
4297
- ), w, D, A, R = (
4299
+ ), w, M, S, D = (
4298
4300
  /*$_*/
4299
4301
  e[12]("keepCurrentLimitButton") + ""
4300
- ), F, C, U, $, X, P, j, ne, ie = (
4302
+ ), z, H, R, G, X, P, U, ne, ie = (
4301
4303
  /*$_*/
4302
4304
  e[12]("depositPeriod") + ""
4303
- ), se, V, G, Q, De, re, he = (
4305
+ ), ae, F, j, Q, Re, re, fe = (
4304
4306
  /*$_*/
4305
4307
  e[12]("applyButton") + ""
4306
- ), Be, Le, J, fe = (
4308
+ ), Le, Se, J, pe = (
4307
4309
  /*$_*/
4308
4310
  e[12]("TCpart1") + ""
4309
- ), Ae, ue, me = (
4311
+ ), Ae, ce, me = (
4310
4312
  /*$_*/
4311
4313
  e[12]("TClink") + ""
4312
- ), Se, b, q = (
4314
+ ), Ie, g, q = (
4313
4315
  /*$_*/
4314
4316
  e[12]("TCpart2") + ""
4315
- ), oe, Re, K, Ue = (
4317
+ ), se, Ue, K, je = (
4316
4318
  /*$_*/
4317
4319
  e[12]("PPlink") + ""
4318
- ), Qe, xt, Ke, Tt;
4320
+ ), et, Tt, tt, Pt;
4319
4321
  return {
4320
4322
  c() {
4321
- t = g("p"), i = L(n), r = O(), o = g("p"), s = L(a), u = O(), l = g("p"), m = L(c), p = O(), d = g("button"), _ = L(E), y = O(), v = g("button"), w = L(M), D = O(), A = g("button"), F = L(R), C = Y("svg"), U = Y("path"), $ = Y("path"), X = O(), P = g("div"), j = g("div"), ne = g("span"), se = L(ie), V = O(), G = g("div"), Q = g("input"), De = O(), re = g("button"), Be = L(he), Le = O(), J = g("p"), Ae = L(fe), ue = g("button"), Se = L(me), b = O(), oe = L(q), Re = O(), K = g("button"), Qe = L(Ue), xt = L("."), h(t, "class", "Title"), h(o, "class", "Description LeftAlign"), h(d, "class", "LinkButton"), h(l, "class", "AdditionalInformation"), h(v, "class", "KeepCurrentButton PrimaryButtonStyle"), h(U, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), h($, "d", "M0 0h36v36h-36z"), h($, "fill", "none"), h(C, "class", "ExpandArrow"), h(C, "xmlns", "http://www.w3.org/2000/svg"), h(C, "width", "36"), h(C, "height", "36"), h(C, "viewBox", "0 0 36 36"), h(C, "fill", "#999"), je(
4322
- 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(
4324
+ H,
4323
4325
  "Extended",
4324
4326
  /*extended*/
4325
4327
  e[5]
4326
- ), h(A, "class", "ExpandButton"), h(ne, "class", "DepositPeriodText"), h(j, "class", "DepositTextSection"), h(Q, "type", "number"), h(Q, "class", "DepositInput"), h(re, "type", "submit"), h(re, "class", "SubmitDepositButton PrimaryButtonStyle"), re.disabled = !0, h(G, "class", "DepositInputSection"), h(P, "class", "SetLimitSection"), je(
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(
4327
4329
  P,
4328
4330
  "Hidden",
4329
4331
  /*hidden*/
4330
4332
  e[4]
4331
- ), h(ue, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
4333
+ ), h(ce, "class", "LinkButton"), h(K, "class", "LinkButton"), h(J, "class", "TermsConditions");
4332
4334
  },
4333
- m(I, N) {
4334
- T(I, t, N), f(t, i), T(I, r, N), T(I, o, N), f(o, s), T(I, u, N), T(I, l, N), f(l, m), f(l, p), f(l, d), f(d, _), T(I, y, N), T(I, v, N), f(v, w), T(I, D, N), T(I, A, N), f(A, F), f(A, C), f(C, U), f(C, $), e[26](C), T(I, X, N), T(I, P, N), f(P, j), f(j, ne), f(ne, se), f(P, V), f(P, G), f(G, Q), wt(
4335
+ 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(
4335
4337
  Q,
4336
4338
  /*inputAmount*/
4337
4339
  e[6]
4338
- ), f(G, De), f(G, re), f(re, Be), e[28](re), T(I, Le, N), T(I, J, N), f(J, Ae), f(J, ue), f(ue, Se), f(J, b), f(J, oe), f(J, Re), f(J, K), f(K, Qe), f(J, xt), Ke || (Tt = [
4340
+ ), f(j, Re), f(j, re), f(re, Le), e[28](re), T(I, Se, C), T(I, J, C), f(J, Ae), f(J, ce), f(ce, Ie), f(J, g), f(J, se), f(J, Ue), f(J, K), f(K, et), f(J, Tt), tt || (Pt = [
4339
4341
  Z(
4340
4342
  d,
4341
4343
  "click",
@@ -4349,7 +4351,7 @@ function Ur(e) {
4349
4351
  e[25]
4350
4352
  ),
4351
4353
  Z(
4352
- A,
4354
+ S,
4353
4355
  "click",
4354
4356
  /*toggleNewLimitArea*/
4355
4357
  e[13]
@@ -4373,7 +4375,7 @@ function Ur(e) {
4373
4375
  e[29]
4374
4376
  ),
4375
4377
  Z(
4376
- ue,
4378
+ ce,
4377
4379
  "click",
4378
4380
  /*click_handler_3*/
4379
4381
  e[30]
@@ -4384,76 +4386,76 @@ function Ur(e) {
4384
4386
  /*click_handler_4*/
4385
4387
  e[31]
4386
4388
  )
4387
- ], Ke = !0);
4389
+ ], tt = !0);
4388
4390
  },
4389
- p(I, N) {
4390
- N[0] & /*$_*/
4391
+ p(I, C) {
4392
+ C[0] & /*$_*/
4391
4393
  4096 && n !== (n = /*$_*/
4392
- I[12]("setLimit") + "") && H(i, n), N[0] & /*$_*/
4394
+ I[12]("setLimit") + "") && k(i, n), C[0] & /*$_*/
4393
4395
  4096 && a !== (a = /*$_*/
4394
- I[12]("setLimitDescription") + "") && H(s, a), N[0] & /*$_*/
4396
+ I[12]("setLimitDescription") + "") && k(s, a), C[0] & /*$_*/
4395
4397
  4096 && c !== (c = /*$_*/
4396
- I[12]("lugasInfo1") + "") && H(m, c), N[0] & /*$_*/
4398
+ I[12]("lugasInfo1") + "") && k(p, c), C[0] & /*$_*/
4397
4399
  4096 && E !== (E = /*$_*/
4398
- I[12]("lugasInfo2") + "") && H(_, E), N[0] & /*$_*/
4399
- 4096 && M !== (M = /*$_*/
4400
- I[12]("keepCurrentLimit") + "") && H(w, M), N[0] & /*$_*/
4401
- 4096 && R !== (R = /*$_*/
4402
- I[12]("keepCurrentLimitButton") + "") && H(F, R), N[0] & /*extended*/
4403
- 32 && je(
4404
- C,
4400
+ I[12]("lugasInfo2") + "") && k(_, E), C[0] & /*$_*/
4401
+ 4096 && O !== (O = /*$_*/
4402
+ I[12]("keepCurrentLimit") + "") && k(w, O), C[0] & /*$_*/
4403
+ 4096 && D !== (D = /*$_*/
4404
+ I[12]("keepCurrentLimitButton") + "") && k(z, D), C[0] & /*extended*/
4405
+ 32 && Ge(
4406
+ H,
4405
4407
  "Extended",
4406
4408
  /*extended*/
4407
4409
  I[5]
4408
- ), N[0] & /*$_*/
4410
+ ), C[0] & /*$_*/
4409
4411
  4096 && ie !== (ie = /*$_*/
4410
- I[12]("depositPeriod") + "") && H(se, ie), N[0] & /*inputAmount*/
4411
- 64 && Vt(Q.value) !== /*inputAmount*/
4412
- I[6] && wt(
4412
+ I[12]("depositPeriod") + "") && k(ae, ie), C[0] & /*inputAmount*/
4413
+ 64 && Xt(Q.value) !== /*inputAmount*/
4414
+ I[6] && Bt(
4413
4415
  Q,
4414
4416
  /*inputAmount*/
4415
4417
  I[6]
4416
- ), N[0] & /*$_*/
4417
- 4096 && he !== (he = /*$_*/
4418
- I[12]("applyButton") + "") && H(Be, he), N[0] & /*hidden*/
4419
- 16 && je(
4418
+ ), C[0] & /*$_*/
4419
+ 4096 && fe !== (fe = /*$_*/
4420
+ I[12]("applyButton") + "") && k(Le, fe), C[0] & /*hidden*/
4421
+ 16 && Ge(
4420
4422
  P,
4421
4423
  "Hidden",
4422
4424
  /*hidden*/
4423
4425
  I[4]
4424
- ), N[0] & /*$_*/
4425
- 4096 && fe !== (fe = /*$_*/
4426
- I[12]("TCpart1") + "") && H(Ae, fe), N[0] & /*$_*/
4426
+ ), C[0] & /*$_*/
4427
+ 4096 && pe !== (pe = /*$_*/
4428
+ I[12]("TCpart1") + "") && k(Ae, pe), C[0] & /*$_*/
4427
4429
  4096 && me !== (me = /*$_*/
4428
- I[12]("TClink") + "") && H(Se, me), N[0] & /*$_*/
4430
+ I[12]("TClink") + "") && k(Ie, me), C[0] & /*$_*/
4429
4431
  4096 && q !== (q = /*$_*/
4430
- I[12]("TCpart2") + "") && H(oe, q), N[0] & /*$_*/
4431
- 4096 && Ue !== (Ue = /*$_*/
4432
- I[12]("PPlink") + "") && H(Qe, Ue);
4432
+ I[12]("TCpart2") + "") && k(se, q), C[0] & /*$_*/
4433
+ 4096 && je !== (je = /*$_*/
4434
+ I[12]("PPlink") + "") && k(et, je);
4433
4435
  },
4434
4436
  d(I) {
4435
- I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(D), x(A), x(X), x(P), x(Le), x(J)), e[26](null), e[28](null), Ke = !1, le(Tt);
4437
+ I && (x(t), x(r), x(o), x(u), x(l), x(y), x(v), x(M), x(S), x(X), x(P), x(Se), x(J)), e[26](null), e[28](null), tt = !1, ue(Pt);
4436
4438
  }
4437
4439
  };
4438
4440
  }
4439
- function jr(e) {
4441
+ function Gr(e) {
4440
4442
  let t, n, i, r;
4441
4443
  function o(u, l) {
4442
4444
  if (
4443
4445
  /*isLoading*/
4444
4446
  u[7]
4445
4447
  )
4446
- return Nr;
4448
+ return Or;
4447
4449
  if (
4448
4450
  /*lang*/
4449
4451
  u[1]
4450
4452
  )
4451
- return Cr;
4453
+ return Nr;
4452
4454
  }
4453
4455
  let a = o(e), s = a && a(e);
4454
4456
  return {
4455
4457
  c() {
4456
- t = g("div"), n = g("div"), i = g("div"), r = g("div"), s && s.c(), h(r, "class", "ModalContainer"), h(i, "class", "Overlay"), h(n, "class", "player-account-gaming-limits-popup-2");
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");
4457
4459
  },
4458
4460
  m(u, l) {
4459
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);
@@ -4468,111 +4470,111 @@ function jr(e) {
4468
4470
  }
4469
4471
  };
4470
4472
  }
4471
- function Gr(e, t, n) {
4473
+ function $r(e, t, n) {
4472
4474
  let i;
4473
- vn(e, Lr, (b) => n(12, i = b));
4474
- let { userid: r = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { translationurl: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: m = "" } = t, { mbsource: p } = t, d, E, _ = !0, y = !1, v, M = !1, w, D, A = "initial", R;
4475
- const F = () => {
4475
+ En(e, Sr, (g) => n(12, i = g));
4476
+ 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
+ const z = () => {
4476
4478
  fetch(l).then((q) => q.json()).then((q) => {
4477
- Object.keys(q).forEach((oe) => {
4478
- jt(oe, q[oe]);
4479
+ Object.keys(q).forEach((se) => {
4480
+ Gt(se, q[se]);
4479
4481
  });
4480
4482
  }).catch((q) => {
4481
4483
  console.log(q);
4482
4484
  });
4483
4485
  };
4484
- Object.keys(Gt).forEach((b) => {
4485
- jt(b, Gt[b]);
4486
+ Object.keys($t).forEach((g) => {
4487
+ Gt(g, $t[g]);
4486
4488
  });
4487
- const C = () => {
4489
+ const H = () => {
4488
4490
  n(5, y = !y), n(4, _ = !_);
4489
- }, U = () => {
4490
- D.parentNode.removeChild(D);
4491
- }, $ = () => {
4491
+ }, R = () => {
4492
+ M.parentNode.removeChild(M);
4493
+ }, G = () => {
4492
4494
  v > 999999999999999 && n(6, v = 999999999999999);
4493
4495
  const q = v - Math.floor(v) === 0;
4494
4496
  v > 0 && q ? w.removeAttribute("disabled") : w.setAttribute("disabled", "true");
4495
- }, X = (b) => {
4496
- switch (window.postMessage({ type: b }, window.location.href), b) {
4497
+ }, X = (g) => {
4498
+ switch (window.postMessage({ type: g }, window.location.href), g) {
4497
4499
  case "closePopup":
4498
4500
  case "uploadDocuments":
4499
- U();
4501
+ R();
4500
4502
  break;
4501
4503
  }
4502
- }, P = (b) => {
4504
+ }, P = (g) => {
4503
4505
  const q = new URL(`/v1/player/${r}/limit/lugas`, a);
4504
- let oe = {};
4505
- n(7, M = !0), oe = b === "custom" ? { amount: v } : {};
4506
- let Re = {
4506
+ let se = {};
4507
+ n(7, O = !0), se = g === "custom" ? { amount: v } : {};
4508
+ let Ue = {
4507
4509
  method: "POST",
4508
4510
  headers: {
4509
4511
  "X-SessionID": o,
4510
4512
  "Content-Type": "application/json",
4511
4513
  Accept: "application/json"
4512
4514
  },
4513
- body: JSON.stringify(oe)
4515
+ body: JSON.stringify(se)
4514
4516
  };
4515
- fetch(q.href, Re).then((K) => K.json()).then((K) => {
4516
- j(K);
4517
+ fetch(q.href, Ue).then((K) => K.json()).then((K) => {
4518
+ U(K);
4517
4519
  }).catch((K) => {
4518
4520
  console.log(K);
4519
4521
  }).finally(() => {
4520
- n(7, M = !1);
4522
+ n(7, O = !1);
4521
4523
  });
4522
- }, j = (b) => {
4523
- if (b.hasOwnProperty("kycNeeded"))
4524
- switch (b.popup) {
4524
+ }, U = (g) => {
4525
+ if (g.hasOwnProperty("kycNeeded"))
4526
+ switch (g.popup) {
4525
4527
  case 1:
4526
- n(10, A = "KYC"), n(11, R = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(b.operatorDepositLimitAmount));
4528
+ n(10, S = "KYC"), n(11, D = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(g.operatorDepositLimitAmount));
4527
4529
  break;
4528
4530
  case 2:
4529
- n(10, A = "successful");
4531
+ n(10, S = "successful");
4530
4532
  break;
4531
4533
  case 3:
4532
- n(10, A = "KYC2");
4534
+ n(10, S = "KYC2");
4533
4535
  break;
4534
4536
  }
4535
4537
  else
4536
- n(10, A = "error");
4538
+ n(10, S = "error");
4537
4539
  }, ne = () => {
4538
4540
  Ar(u);
4539
4541
  };
4540
- Bn(() => () => {
4542
+ Ln(() => () => {
4541
4543
  });
4542
- const ie = () => X("lugasInformation"), se = () => P("default");
4543
- function V(b) {
4544
- ge[b ? "unshift" : "push"](() => {
4545
- E = b, n(3, E);
4544
+ const ie = () => X("lugasInformation"), ae = () => P("default");
4545
+ function F(g) {
4546
+ ye[g ? "unshift" : "push"](() => {
4547
+ E = g, n(3, E);
4546
4548
  });
4547
4549
  }
4548
- function G() {
4549
- v = Vt(this.value), n(6, v);
4550
+ function j() {
4551
+ v = Xt(this.value), n(6, v);
4550
4552
  }
4551
- function Q(b) {
4552
- ge[b ? "unshift" : "push"](() => {
4553
- w = b, n(8, w);
4553
+ function Q(g) {
4554
+ ye[g ? "unshift" : "push"](() => {
4555
+ w = g, n(8, w);
4554
4556
  });
4555
4557
  }
4556
- const De = () => P("custom"), re = () => X("termsConditions"), he = () => X("privacyPolicy"), Be = () => X("closePopup"), Le = () => X("uploadDocuments"), J = () => X("closePopup"), fe = () => X("uploadDocuments"), Ae = () => X("closePopup"), ue = () => X("closePopup");
4557
- function me(b) {
4558
- ge[b ? "unshift" : "push"](() => {
4559
- D = b, n(9, D);
4558
+ 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
+ function me(g) {
4560
+ ye[g ? "unshift" : "push"](() => {
4561
+ M = g, n(9, M);
4560
4562
  });
4561
4563
  }
4562
- function Se(b) {
4563
- ge[b ? "unshift" : "push"](() => {
4564
- d = b, n(2, d);
4564
+ function Ie(g) {
4565
+ ye[g ? "unshift" : "push"](() => {
4566
+ d = g, n(2, d);
4565
4567
  });
4566
4568
  }
4567
- return e.$$set = (b) => {
4568
- "userid" in b && n(17, r = b.userid), "session" in b && n(18, o = b.session), "endpoint" in b && n(19, a = b.endpoint), "currency" in b && n(0, s = b.currency), "lang" in b && n(1, u = b.lang), "translationurl" in b && n(20, l = b.translationurl), "clientstyling" in b && n(21, c = b.clientstyling), "clientstylingurl" in b && n(22, m = b.clientstylingurl), "mbsource" in b && n(23, p = b.mbsource);
4569
+ 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);
4569
4571
  }, e.$$.update = () => {
4570
4572
  e.$$.dirty[0] & /*lang*/
4571
4573
  2 && u && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4572
- 2097156 && c && d && Sr(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4573
- 4194308 && m && d && Ir(d, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4574
- 8388612 && p && d && kr(d, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
4575
- 1048576 && l && F();
4574
+ 2097156 && c && d && Ir(d, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4575
+ 4194308 && p && d && kr(d, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4576
+ 8388612 && m && d && Hr(d, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
4577
+ 1048576 && l && z();
4576
4578
  }, [
4577
4579
  s,
4578
4580
  u,
@@ -4581,14 +4583,14 @@ function Gr(e, t, n) {
4581
4583
  _,
4582
4584
  y,
4583
4585
  v,
4584
- M,
4586
+ O,
4585
4587
  w,
4588
+ M,
4589
+ S,
4586
4590
  D,
4587
- A,
4588
- R,
4589
4591
  i,
4590
- C,
4591
- $,
4592
+ H,
4593
+ G,
4592
4594
  X,
4593
4595
  P,
4594
4596
  r,
@@ -4596,34 +4598,34 @@ function Gr(e, t, n) {
4596
4598
  a,
4597
4599
  l,
4598
4600
  c,
4599
- m,
4600
4601
  p,
4602
+ m,
4601
4603
  ie,
4602
- se,
4603
- V,
4604
- G,
4604
+ ae,
4605
+ F,
4606
+ j,
4605
4607
  Q,
4606
- De,
4608
+ Re,
4607
4609
  re,
4608
- he,
4609
- Be,
4610
+ fe,
4610
4611
  Le,
4612
+ Se,
4611
4613
  J,
4612
- fe,
4614
+ pe,
4613
4615
  Ae,
4614
- ue,
4616
+ ce,
4615
4617
  me,
4616
- Se
4618
+ Ie
4617
4619
  ];
4618
4620
  }
4619
- class $r extends Rn {
4621
+ class zr extends Un {
4620
4622
  constructor(t) {
4621
- super(), Mn(
4623
+ super(), Dn(
4622
4624
  this,
4623
4625
  t,
4626
+ $r,
4624
4627
  Gr,
4625
- jr,
4626
- zt,
4628
+ Ft,
4627
4629
  {
4628
4630
  userid: 17,
4629
4631
  session: 18,
@@ -4635,7 +4637,7 @@ class $r extends Rn {
4635
4637
  clientstylingurl: 22,
4636
4638
  mbsource: 23
4637
4639
  },
4638
- Hr,
4640
+ Cr,
4639
4641
  [-1, -1]
4640
4642
  );
4641
4643
  }
@@ -4694,7 +4696,7 @@ class $r extends Rn {
4694
4696
  this.$$set({ mbsource: t }), ee();
4695
4697
  }
4696
4698
  }
4697
- Dn($r, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4699
+ Rn(zr, { userid: {}, session: {}, endpoint: {}, currency: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4698
4700
  export {
4699
- $r as P
4701
+ zr as P
4700
4702
  };