@everymatrix/player-account-gaming-limits-popup 1.86.3 → 1.86.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var ur = Object.defineProperty, lr = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var Je = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var lr = Object.defineProperty, hr = Object.defineProperties;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
+ var Ee = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- cr.call(t, r) && xe(e, r, t[r]);
8
- if (Je)
9
- for (var r of Je(t))
10
- fr.call(t, r) && xe(e, r, t[r]);
7
+ fr.call(t, r) && Ee(e, r, t[r]);
8
+ if (et)
9
+ for (var r of et(t))
10
+ pr.call(t, r) && Ee(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => lr(e, hr(t));
13
- var I = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
12
+ }, rt = (e, t) => hr(e, cr(t));
13
+ var I = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var nt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Ht(e) {
32
+ function At(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function it() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach(Ht);
38
+ function re(e) {
39
+ e.forEach(At);
40
40
  }
41
- function We(e) {
41
+ function Ye(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function It(e, t) {
44
+ function Bt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Bt(e, ...t) {
50
+ function Ct(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Bt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function pr(e, t, r) {
60
- e.$$.on_destroy.push(Bt(t, r));
59
+ function mr(e, t, r) {
60
+ e.$$.on_destroy.push(Ct(t, r));
61
61
  }
62
62
  function P(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function mr(e, t, r) {
66
- const n = br(e);
65
+ function br(e, t, r) {
66
+ const n = vr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = A("style");
69
- i.id = t, i.textContent = r, vr(n, i);
68
+ const i = C("style");
69
+ i.id = t, i.textContent = r, gr(n, i);
70
70
  }
71
71
  }
72
- function br(e) {
72
+ function vr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,50 +79,50 @@ function br(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function vr(e, t) {
82
+ function gr(e, t) {
83
83
  return P(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function ie(e, t, r) {
89
+ function ne(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function X(e) {
92
+ function W(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function A(e) {
95
+ function C(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function oe(e) {
98
+ function ie(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function _e() {
102
- return oe(" ");
101
+ function Te() {
102
+ return ie(" ");
103
103
  }
104
- function gr() {
105
- return oe("");
104
+ function yr() {
105
+ return ie("");
106
106
  }
107
- function yr(e, t, r, n) {
107
+ function xr(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
- function xr(e) {
110
+ function _r(e) {
111
111
  return function(t) {
112
112
  return t.preventDefault(), e.call(this, t);
113
113
  };
114
114
  }
115
- function C(e, t, r) {
115
+ function B(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function _r(e) {
118
+ function Er(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
- function Xe(e, t) {
121
+ function Qe(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function Er(e) {
125
+ function Tr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,63 +131,63 @@ function Er(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let ee;
135
- function K(e) {
136
- ee = e;
134
+ let K;
135
+ function J(e) {
136
+ K = e;
137
137
  }
138
- function Tr() {
139
- if (!ee)
138
+ function Sr() {
139
+ if (!K)
140
140
  throw new Error("Function called outside component initialization");
141
- return ee;
141
+ return K;
142
142
  }
143
- function Sr(e) {
144
- Tr().$$.on_mount.push(e);
143
+ function wr(e) {
144
+ Sr().$$.on_mount.push(e);
145
145
  }
146
- const D = [], Ce = [];
146
+ const D = [], Oe = [];
147
147
  let F = [];
148
- const nt = [], wr = /* @__PURE__ */ Promise.resolve();
149
- let Ae = !1;
150
- function Pr() {
151
- Ae || (Ae = !0, wr.then(M));
148
+ const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
149
+ let Le = !1;
150
+ function Hr() {
151
+ Le || (Le = !0, Pr.then(L));
152
152
  }
153
- function Oe(e) {
153
+ function Me(e) {
154
154
  F.push(e);
155
155
  }
156
- const Ee = /* @__PURE__ */ new Set();
156
+ const Se = /* @__PURE__ */ new Set();
157
157
  let U = 0;
158
- function M() {
158
+ function L() {
159
159
  if (U !== 0)
160
160
  return;
161
- const e = ee;
161
+ const e = K;
162
162
  do {
163
163
  try {
164
164
  for (; U < D.length; ) {
165
165
  const t = D[U];
166
- U++, K(t), Hr(t.$$);
166
+ U++, J(t), Ir(t.$$);
167
167
  }
168
168
  } catch (t) {
169
169
  throw D.length = 0, U = 0, t;
170
170
  }
171
- for (K(null), D.length = 0, U = 0; Ce.length; )
172
- Ce.pop()();
171
+ for (J(null), D.length = 0, U = 0; Oe.length; )
172
+ Oe.pop()();
173
173
  for (let t = 0; t < F.length; t += 1) {
174
174
  const r = F[t];
175
- Ee.has(r) || (Ee.add(r), r());
175
+ Se.has(r) || (Se.add(r), r());
176
176
  }
177
177
  F.length = 0;
178
178
  } while (D.length);
179
- for (; nt.length; )
180
- nt.pop()();
181
- Ae = !1, Ee.clear(), K(e);
179
+ for (; ot.length; )
180
+ ot.pop()();
181
+ Le = !1, Se.clear(), J(e);
182
182
  }
183
- function Hr(e) {
183
+ function Ir(e) {
184
184
  if (e.fragment !== null) {
185
- e.update(), ne(e.before_update);
185
+ e.update(), re(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
188
188
  }
189
189
  }
190
- function Ir(e) {
190
+ function Ar(e) {
191
191
  const t = [], r = [];
192
192
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
193
193
  }
@@ -195,23 +195,23 @@ const Br = /* @__PURE__ */ new Set();
195
195
  function Cr(e, t) {
196
196
  e && e.i && (Br.delete(e), e.i(t));
197
197
  }
198
- function Ar(e, t, r) {
198
+ function Or(e, t, r) {
199
199
  const { fragment: n, after_update: i } = e.$$;
200
- n && n.m(t, r), Oe(() => {
201
- const o = e.$$.on_mount.map(Ht).filter(We);
202
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
203
- }), i.forEach(Oe);
200
+ n && n.m(t, r), Me(() => {
201
+ const o = e.$$.on_mount.map(At).filter(Ye);
202
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
203
+ }), i.forEach(Me);
204
204
  }
205
- function Or(e, t) {
205
+ function Lr(e, t) {
206
206
  const r = e.$$;
207
- r.fragment !== null && (Ir(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
207
+ r.fragment !== null && (Ar(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
208
208
  }
209
209
  function Mr(e, t) {
210
- e.$$.dirty[0] === -1 && (D.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
+ e.$$.dirty[0] === -1 && (D.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
211
  }
212
- function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
213
- const l = ee;
214
- K(e);
212
+ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
213
+ const l = K;
214
+ J(e);
215
215
  const u = e.$$ = {
216
216
  fragment: null,
217
217
  ctx: [],
@@ -219,7 +219,7 @@ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
219
219
  props: o,
220
220
  update: O,
221
221
  not_equal: i,
222
- bound: rt(),
222
+ bound: it(),
223
223
  // lifecycle
224
224
  on_mount: [],
225
225
  on_destroy: [],
@@ -228,28 +228,28 @@ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
228
228
  after_update: [],
229
229
  context: new Map(t.context || (l ? l.$$.context : [])),
230
230
  // everything else
231
- callbacks: rt(),
231
+ callbacks: it(),
232
232
  dirty: s,
233
233
  skip_bound: !1,
234
234
  root: t.target || l.$$.root
235
235
  };
236
236
  a && a(u.root);
237
237
  let h = !1;
238
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
239
- const p = d.length ? d[0] : c;
240
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Mr(e, f)), c;
241
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
239
+ const d = p.length ? p[0] : c;
240
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Mr(e, f)), c;
241
+ }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
242
242
  if (t.hydrate) {
243
- const f = _r(t.target);
244
- u.fragment && u.fragment.l(f), f.forEach(X);
243
+ const f = Er(t.target);
244
+ u.fragment && u.fragment.l(f), f.forEach(W);
245
245
  } else
246
246
  u.fragment && u.fragment.c();
247
- t.intro && Cr(e.$$.fragment), Ar(e, t.target, t.anchor), M();
247
+ t.intro && Cr(e.$$.fragment), Or(e, t.target, t.anchor), L();
248
248
  }
249
- K(l);
249
+ J(l);
250
250
  }
251
- let Ct;
252
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
251
+ let Ot;
252
+ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
253
253
  constructor(t, r, n) {
254
254
  super();
255
255
  /** The Svelte component constructor */
@@ -286,31 +286,31 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
286
286
  }
287
287
  }
288
288
  connectedCallback() {
289
- return tt(this, null, function* () {
289
+ return nt(this, null, function* () {
290
290
  if (this.$$cn = !0, !this.$$c) {
291
291
  let t = function(o) {
292
292
  return () => {
293
293
  let a;
294
294
  return {
295
295
  c: function() {
296
- a = A("slot"), o !== "default" && C(a, "name", o);
296
+ a = C("slot"), o !== "default" && B(a, "name", o);
297
297
  },
298
298
  /**
299
299
  * @param {HTMLElement} target
300
300
  * @param {HTMLElement} [anchor]
301
301
  */
302
302
  m: function(u, h) {
303
- ie(u, a, h);
303
+ ne(u, a, h);
304
304
  },
305
305
  d: function(u) {
306
- u && X(a);
306
+ u && W(a);
307
307
  }
308
308
  };
309
309
  };
310
310
  };
311
311
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
312
312
  return;
313
- const r = {}, n = Er(this);
313
+ const r = {}, n = Tr(this);
314
314
  for (const o of this.$$s)
315
315
  o in n && (r[o] = [t(o)]);
316
316
  for (const o of this.attributes) {
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
321
321
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
322
322
  this.$$c = new this.$$ctor({
323
323
  target: this.shadowRoot || this,
324
- props: et(Ke({}, this.$$d), {
324
+ props: rt(tt({}, this.$$d), {
325
325
  $$slots: r,
326
326
  $$scope: {
327
327
  ctx: []
@@ -399,8 +399,8 @@ function le(e, t, r, n) {
399
399
  return t;
400
400
  }
401
401
  }
402
- function Nr(e, t, r, n, i, o) {
403
- let a = class extends Ct {
402
+ function $r(e, t, r, n, i, o) {
403
+ let a = class extends Ot {
404
404
  constructor() {
405
405
  super(e, r, i), this.$$p_d = t;
406
406
  }
@@ -451,7 +451,7 @@ class Rr {
451
451
  }
452
452
  /** @returns {void} */
453
453
  $destroy() {
454
- Or(this, 1), this.$destroy = O;
454
+ Lr(this, 1), this.$destroy = O;
455
455
  }
456
456
  /**
457
457
  * @template {Extract<keyof Events, string>} K
@@ -460,7 +460,7 @@ class Rr {
460
460
  * @returns {() => void}
461
461
  */
462
462
  $on(t, r) {
463
- if (!We(r))
463
+ if (!Ye(r))
464
464
  return O;
465
465
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
466
466
  return n.push(r), () => {
@@ -476,8 +476,8 @@ class Rr {
476
476
  this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
477
  }
478
478
  }
479
- const $r = "4";
480
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
479
+ const Ur = "4";
480
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
481
481
  /*! *****************************************************************************
482
482
  Copyright (c) Microsoft Corporation.
483
483
 
@@ -492,43 +492,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
492
492
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
493
493
  PERFORMANCE OF THIS SOFTWARE.
494
494
  ***************************************************************************** */
495
- var Me = function(e, t) {
496
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
495
+ var Ne = function(e, t) {
496
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
497
497
  r.__proto__ = n;
498
498
  } || function(r, n) {
499
499
  for (var i in n)
500
500
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
501
- }, Me(e, t);
501
+ }, Ne(e, t);
502
502
  };
503
- function N(e, t) {
503
+ function oe(e, t) {
504
504
  if (typeof t != "function" && t !== null)
505
505
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
506
- Me(e, t);
506
+ Ne(e, t);
507
507
  function r() {
508
508
  this.constructor = e;
509
509
  }
510
510
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
511
511
  }
512
- var g = function() {
513
- return g = Object.assign || function(t) {
514
- for (var r, n = 1, i = arguments.length; n < i; n++) {
515
- r = arguments[n];
516
- for (var o in r)
517
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
518
- }
519
- return t;
520
- }, g.apply(this, arguments);
521
- };
522
- function Ur(e, t) {
523
- var r = {};
524
- for (var n in e)
525
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
526
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
527
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
528
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
529
- return r;
530
- }
531
- function Le(e) {
512
+ function $e(e) {
532
513
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
533
514
  if (r)
534
515
  return r.call(e);
@@ -540,7 +521,7 @@ function Le(e) {
540
521
  };
541
522
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
542
523
  }
543
- function Ne(e, t) {
524
+ function Re(e, t) {
544
525
  var r = typeof Symbol == "function" && e[Symbol.iterator];
545
526
  if (!r)
546
527
  return e;
@@ -560,22 +541,22 @@ function Ne(e, t) {
560
541
  }
561
542
  return o;
562
543
  }
563
- function j(e, t, r) {
564
- if (r || arguments.length === 2)
544
+ function Ue(e, t, r) {
545
+ if (arguments.length === 2)
565
546
  for (var n = 0, i = t.length, o; n < i; n++)
566
547
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
567
548
  return e.concat(o || t);
568
549
  }
569
- function L(e) {
550
+ function N(e) {
570
551
  return typeof e == "function";
571
552
  }
572
- function At(e) {
553
+ function Lt(e) {
573
554
  var t = function(n) {
574
555
  Error.call(n), n.stack = new Error().stack;
575
556
  }, r = e(t);
576
557
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
577
558
  }
578
- var Te = At(function(e) {
559
+ var we = Lt(function(e) {
579
560
  return function(r) {
580
561
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
581
562
  ` + r.map(function(n, i) {
@@ -584,13 +565,13 @@ var Te = At(function(e) {
584
565
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
585
566
  };
586
567
  });
587
- function Re(e, t) {
568
+ function Ge(e, t) {
588
569
  if (e) {
589
570
  var r = e.indexOf(t);
590
571
  0 <= r && e.splice(r, 1);
591
572
  }
592
573
  }
593
- var me = function() {
574
+ var be = function() {
594
575
  function e(t) {
595
576
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
596
577
  }
@@ -602,12 +583,12 @@ var me = function() {
602
583
  if (a)
603
584
  if (this._parentage = null, Array.isArray(a))
604
585
  try {
605
- for (var s = Le(a), l = s.next(); !l.done; l = s.next()) {
586
+ for (var s = $e(a), l = s.next(); !l.done; l = s.next()) {
606
587
  var u = l.value;
607
588
  u.remove(this);
608
589
  }
609
- } catch (y) {
610
- t = { error: y };
590
+ } catch (g) {
591
+ t = { error: g };
611
592
  } finally {
612
593
  try {
613
594
  l && !l.done && (r = s.return) && r.call(s);
@@ -619,29 +600,29 @@ var me = function() {
619
600
  else
620
601
  a.remove(this);
621
602
  var h = this.initialTeardown;
622
- if (L(h))
603
+ if (N(h))
623
604
  try {
624
605
  h();
625
- } catch (y) {
626
- o = y instanceof Te ? y.errors : [y];
606
+ } catch (g) {
607
+ o = g instanceof we ? g.errors : [g];
627
608
  }
628
609
  var f = this._finalizers;
629
610
  if (f) {
630
611
  this._finalizers = null;
631
612
  try {
632
- for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
633
- var p = d.value;
613
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
614
+ var d = p.value;
634
615
  try {
635
- it(p);
636
- } catch (y) {
637
- o = o != null ? o : [], y instanceof Te ? o = j(j([], Ne(o)), Ne(y.errors)) : o.push(y);
616
+ at(d);
617
+ } catch (g) {
618
+ o = o != null ? o : [], g instanceof we ? o = Ue(Ue([], Re(o)), Re(g.errors)) : o.push(g);
638
619
  }
639
620
  }
640
- } catch (y) {
641
- n = { error: y };
621
+ } catch (g) {
622
+ n = { error: g };
642
623
  } finally {
643
624
  try {
644
- d && !d.done && (i = c.return) && i.call(c);
625
+ p && !p.done && (i = c.return) && i.call(c);
645
626
  } finally {
646
627
  if (n)
647
628
  throw n.error;
@@ -649,13 +630,13 @@ var me = function() {
649
630
  }
650
631
  }
651
632
  if (o)
652
- throw new Te(o);
633
+ throw new we(o);
653
634
  }
654
635
  }, e.prototype.add = function(t) {
655
636
  var r;
656
637
  if (t && t !== this)
657
638
  if (this.closed)
658
- it(t);
639
+ at(t);
659
640
  else {
660
641
  if (t instanceof e) {
661
642
  if (t.closed || t._hasParent(this))
@@ -672,56 +653,52 @@ var me = function() {
672
653
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
673
654
  }, e.prototype._removeParent = function(t) {
674
655
  var r = this._parentage;
675
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
656
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
676
657
  }, e.prototype.remove = function(t) {
677
658
  var r = this._finalizers;
678
- r && Re(r, t), t instanceof e && t._removeParent(this);
659
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
679
660
  }, e.EMPTY = function() {
680
661
  var t = new e();
681
662
  return t.closed = !0, t;
682
663
  }(), e;
683
- }(), Ot = me.EMPTY;
684
- function Mt(e) {
685
- return e instanceof me || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
686
- }
687
- function it(e) {
688
- L(e) ? e() : e.unsubscribe();
689
- }
690
- var Lt = {
691
- onUnhandledError: null,
692
- onStoppedNotification: null,
693
- Promise: void 0,
694
- useDeprecatedSynchronousErrorHandling: !1,
695
- useDeprecatedNextContext: !1
696
- }, Gr = {
664
+ }(), Mt = be.EMPTY;
665
+ function Nt(e) {
666
+ return e instanceof be || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
667
+ }
668
+ function at(e) {
669
+ N(e) ? e() : e.unsubscribe();
670
+ }
671
+ var Gr = {
672
+ Promise: void 0
673
+ }, Dr = {
697
674
  setTimeout: function(e, t) {
698
675
  for (var r = [], n = 2; n < arguments.length; n++)
699
676
  r[n - 2] = arguments[n];
700
- return setTimeout.apply(void 0, j([e, t], Ne(r)));
677
+ return setTimeout.apply(void 0, Ue([e, t], Re(r)));
701
678
  },
702
679
  clearTimeout: function(e) {
703
680
  return clearTimeout(e);
704
681
  },
705
682
  delegate: void 0
706
683
  };
707
- function Dr(e) {
708
- Gr.setTimeout(function() {
684
+ function Fr(e) {
685
+ Dr.setTimeout(function() {
709
686
  throw e;
710
687
  });
711
688
  }
712
- function ot() {
689
+ function st() {
713
690
  }
714
691
  function he(e) {
715
692
  e();
716
693
  }
717
- var Nt = function(e) {
718
- N(t, e);
694
+ var $t = function(e) {
695
+ oe(t, e);
719
696
  function t(r) {
720
697
  var n = e.call(this) || this;
721
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Vr, n;
698
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Vr, n;
722
699
  }
723
700
  return t.create = function(r, n, i) {
724
- return new $e(r, n, i);
701
+ return new De(r, n, i);
725
702
  }, t.prototype.next = function(r) {
726
703
  this.isStopped || this._next(r);
727
704
  }, t.prototype.error = function(r) {
@@ -745,11 +722,7 @@ var Nt = function(e) {
745
722
  this.unsubscribe();
746
723
  }
747
724
  }, t;
748
- }(me), Fr = Function.prototype.bind;
749
- function Se(e, t) {
750
- return Fr.call(e, t);
751
- }
752
- var jr = function() {
725
+ }(be), jr = function() {
753
726
  function e(t) {
754
727
  this.partialObserver = t;
755
728
  }
@@ -780,41 +753,29 @@ var jr = function() {
780
753
  se(r);
781
754
  }
782
755
  }, e;
783
- }(), $e = function(e) {
784
- N(t, e);
756
+ }(), De = function(e) {
757
+ oe(t, e);
785
758
  function t(r, n, i) {
786
759
  var o = e.call(this) || this, a;
787
- if (L(r) || !r)
788
- a = {
789
- next: r != null ? r : void 0,
790
- error: n != null ? n : void 0,
791
- complete: i != null ? i : void 0
792
- };
793
- else {
794
- var s;
795
- o && Lt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
796
- return o.unsubscribe();
797
- }, a = {
798
- next: r.next && Se(r.next, s),
799
- error: r.error && Se(r.error, s),
800
- complete: r.complete && Se(r.complete, s)
801
- }) : a = r;
802
- }
803
- return o.destination = new jr(a), o;
760
+ return N(r) || !r ? a = {
761
+ next: r != null ? r : void 0,
762
+ error: n != null ? n : void 0,
763
+ complete: i != null ? i : void 0
764
+ } : a = r, o.destination = new jr(a), o;
804
765
  }
805
766
  return t;
806
- }(Nt);
767
+ }($t);
807
768
  function se(e) {
808
- Dr(e);
769
+ Fr(e);
809
770
  }
810
771
  function kr(e) {
811
772
  throw e;
812
773
  }
813
774
  var Vr = {
814
775
  closed: !0,
815
- next: ot,
776
+ next: st,
816
777
  error: kr,
817
- complete: ot
778
+ complete: st
818
779
  }, zr = function() {
819
780
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
820
781
  }();
@@ -828,7 +789,7 @@ function Xr(e) {
828
789
  }, r);
829
790
  };
830
791
  }
831
- var at = function() {
792
+ var ut = function() {
832
793
  function e(t) {
833
794
  t && (this._subscribe = t);
834
795
  }
@@ -836,7 +797,7 @@ var at = function() {
836
797
  var r = new e();
837
798
  return r.source = this, r.operator = t, r;
838
799
  }, e.prototype.subscribe = function(t, r, n) {
839
- var i = this, o = Zr(t) ? t : new $e(t, r, n);
800
+ var i = this, o = Zr(t) ? t : new De(t, r, n);
840
801
  return he(function() {
841
802
  var a = i, s = a.operator, l = a.source;
842
803
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -849,8 +810,8 @@ var at = function() {
849
810
  }
850
811
  }, e.prototype.forEach = function(t, r) {
851
812
  var n = this;
852
- return r = st(r), new r(function(i, o) {
853
- var a = new $e({
813
+ return r = lt(r), new r(function(i, o) {
814
+ var a = new De({
854
815
  next: function(s) {
855
816
  try {
856
817
  t(s);
@@ -874,7 +835,7 @@ var at = function() {
874
835
  return Xr(t)(this);
875
836
  }, e.prototype.toPromise = function(t) {
876
837
  var r = this;
877
- return t = st(t), new t(function(n, i) {
838
+ return t = lt(t), new t(function(n, i) {
878
839
  var o;
879
840
  r.subscribe(function(a) {
880
841
  return o = a;
@@ -888,28 +849,28 @@ var at = function() {
888
849
  return new e(t);
889
850
  }, e;
890
851
  }();
891
- function st(e) {
852
+ function lt(e) {
892
853
  var t;
893
- return (t = e != null ? e : Lt.Promise) !== null && t !== void 0 ? t : Promise;
854
+ return (t = e != null ? e : Gr.Promise) !== null && t !== void 0 ? t : Promise;
894
855
  }
895
856
  function qr(e) {
896
- return e && L(e.next) && L(e.error) && L(e.complete);
857
+ return e && N(e.next) && N(e.error) && N(e.complete);
897
858
  }
898
859
  function Zr(e) {
899
- return e && e instanceof Nt || qr(e) && Mt(e);
860
+ return e && e instanceof $t || qr(e) && Nt(e);
900
861
  }
901
- var Yr = At(function(e) {
862
+ var Yr = Lt(function(e) {
902
863
  return function() {
903
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
904
865
  };
905
866
  }), Rt = function(e) {
906
- N(t, e);
867
+ oe(t, e);
907
868
  function t() {
908
869
  var r = e.call(this) || this;
909
870
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
910
871
  }
911
872
  return t.prototype.lift = function(r) {
912
- var n = new ut(this, this);
873
+ var n = new ht(this, this);
913
874
  return n.operator = r, n;
914
875
  }, t.prototype._throwIfClosed = function() {
915
876
  if (this.closed)
@@ -921,7 +882,7 @@ var Yr = At(function(e) {
921
882
  if (n._throwIfClosed(), !n.isStopped) {
922
883
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
923
884
  try {
924
- for (var a = Le(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
885
+ for (var a = $e(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
925
886
  var l = s.value;
926
887
  l.next(r);
927
888
  }
@@ -970,20 +931,20 @@ var Yr = At(function(e) {
970
931
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
971
932
  }, t.prototype._innerSubscribe = function(r) {
972
933
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
973
- return o || a ? Ot : (this.currentObservers = null, s.push(r), new me(function() {
974
- n.currentObservers = null, Re(s, r);
934
+ return o || a ? Mt : (this.currentObservers = null, s.push(r), new be(function() {
935
+ n.currentObservers = null, Ge(s, r);
975
936
  }));
976
937
  }, t.prototype._checkFinalizedStatuses = function(r) {
977
938
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
978
939
  i ? r.error(o) : a && r.complete();
979
940
  }, t.prototype.asObservable = function() {
980
- var r = new at();
941
+ var r = new ut();
981
942
  return r.source = this, r;
982
943
  }, t.create = function(r, n) {
983
- return new ut(r, n);
944
+ return new ht(r, n);
984
945
  }, t;
985
- }(at), ut = function(e) {
986
- N(t, e);
946
+ }(ut), ht = function(e) {
947
+ oe(t, e);
987
948
  function t(r, n) {
988
949
  var i = e.call(this) || this;
989
950
  return i.destination = r, i.source = n, i;
@@ -999,17 +960,17 @@ var Yr = At(function(e) {
999
960
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1000
961
  }, t.prototype._subscribe = function(r) {
1001
962
  var n, i;
1002
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
963
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1003
964
  }, t;
1004
- }(Rt), $t = {
965
+ }(Rt), Ut = {
1005
966
  now: function() {
1006
- return ($t.delegate || Date).now();
967
+ return (Ut.delegate || Date).now();
1007
968
  },
1008
969
  delegate: void 0
1009
970
  }, Qr = function(e) {
1010
- N(t, e);
971
+ oe(t, e);
1011
972
  function t(r, n, i) {
1012
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
973
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
1013
974
  var o = e.call(this) || this;
1014
975
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1015
976
  }
@@ -1030,23 +991,23 @@ var Yr = At(function(e) {
1030
991
  }
1031
992
  }, t;
1032
993
  }(Rt);
1033
- const lt = [], ht = {}, Jr = (e, t = 0) => {
1034
- if (lt.indexOf(e) == -1) {
994
+ const ct = [], ft = {}, Jr = (e, t = 0) => {
995
+ if (ct.indexOf(e) == -1) {
1035
996
  const r = new Qr(t);
1036
- ht[e] = r, lt.push(e);
997
+ ft[e] = r, ct.push(e);
1037
998
  }
1038
- return ht[e];
999
+ return ft[e];
1039
1000
  }, G = [];
1040
1001
  function Kr(e, t) {
1041
1002
  return {
1042
- subscribe: be(e, t).subscribe
1003
+ subscribe: ve(e, t).subscribe
1043
1004
  };
1044
1005
  }
1045
- function be(e, t = O) {
1006
+ function ve(e, t = O) {
1046
1007
  let r;
1047
1008
  const n = /* @__PURE__ */ new Set();
1048
1009
  function i(s) {
1049
- if (It(e, s) && (e = s, r)) {
1010
+ if (Bt(e, s) && (e = s, r)) {
1050
1011
  const l = !G.length;
1051
1012
  for (const u of n)
1052
1013
  u[1](), G.push(u, e);
@@ -1068,7 +1029,7 @@ function be(e, t = O) {
1068
1029
  }
1069
1030
  return { set: i, update: o, subscribe: a };
1070
1031
  }
1071
- function q(e, t, r) {
1032
+ function X(e, t, r) {
1072
1033
  const n = !Array.isArray(e), i = n ? [e] : e;
1073
1034
  if (!i.every(Boolean))
1074
1035
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1081,21 +1042,21 @@ function q(e, t, r) {
1081
1042
  if (h)
1082
1043
  return;
1083
1044
  f();
1084
- const p = t(n ? u[0] : u, a, s);
1085
- o ? a(p) : f = We(p) ? p : O;
1086
- }, d = i.map(
1087
- (p, y) => Bt(
1088
- p,
1045
+ const d = t(n ? u[0] : u, a, s);
1046
+ o ? a(d) : f = Ye(d) ? d : O;
1047
+ }, p = i.map(
1048
+ (d, g) => Ct(
1049
+ d,
1089
1050
  (S) => {
1090
- u[y] = S, h &= ~(1 << y), l && c();
1051
+ u[g] = S, h &= ~(1 << g), l && c();
1091
1052
  },
1092
1053
  () => {
1093
- h |= 1 << y;
1054
+ h |= 1 << g;
1094
1055
  }
1095
1056
  )
1096
1057
  );
1097
1058
  return l = !0, c(), function() {
1098
- ne(d), f(), l = !1;
1059
+ re(p), f(), l = !1;
1099
1060
  };
1100
1061
  });
1101
1062
  }
@@ -1119,29 +1080,29 @@ function sn(e) {
1119
1080
  function un(e) {
1120
1081
  return Array.isArray(e) ? [] : {};
1121
1082
  }
1122
- function te(e, t) {
1123
- return t.clone !== !1 && t.isMergeableObject(e) ? k(un(e), e, t) : e;
1083
+ function ee(e, t) {
1084
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(un(e), e, t) : e;
1124
1085
  }
1125
1086
  function ln(e, t, r) {
1126
1087
  return e.concat(t).map(function(n) {
1127
- return te(n, r);
1088
+ return ee(n, r);
1128
1089
  });
1129
1090
  }
1130
1091
  function hn(e, t) {
1131
1092
  if (!t.customMerge)
1132
- return k;
1093
+ return j;
1133
1094
  var r = t.customMerge(e);
1134
- return typeof r == "function" ? r : k;
1095
+ return typeof r == "function" ? r : j;
1135
1096
  }
1136
1097
  function cn(e) {
1137
1098
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1138
1099
  return Object.propertyIsEnumerable.call(e, t);
1139
1100
  }) : [];
1140
1101
  }
1141
- function ct(e) {
1102
+ function pt(e) {
1142
1103
  return Object.keys(e).concat(cn(e));
1143
1104
  }
1144
- function Ut(e, t) {
1105
+ function Gt(e, t) {
1145
1106
  try {
1146
1107
  return t in e;
1147
1108
  } catch (r) {
@@ -1149,129 +1110,179 @@ function Ut(e, t) {
1149
1110
  }
1150
1111
  }
1151
1112
  function fn(e, t) {
1152
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1153
1114
  }
1154
- function dn(e, t, r) {
1115
+ function pn(e, t, r) {
1155
1116
  var n = {};
1156
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1157
- n[i] = te(e[i], r);
1158
- }), ct(t).forEach(function(i) {
1159
- fn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1117
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1118
+ n[i] = ee(e[i], r);
1119
+ }), pt(t).forEach(function(i) {
1120
+ fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1160
1121
  }), n;
1161
1122
  }
1162
- function k(e, t, r) {
1163
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = te;
1123
+ function j(e, t, r) {
1124
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ee;
1164
1125
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1165
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : te(t, r);
1126
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ee(t, r);
1166
1127
  }
1167
- k.all = function(t, r) {
1128
+ j.all = function(t, r) {
1168
1129
  if (!Array.isArray(t))
1169
1130
  throw new Error("first argument should be an array");
1170
1131
  return t.reduce(function(n, i) {
1171
- return k(n, i, r);
1132
+ return j(n, i, r);
1172
1133
  }, {});
1173
1134
  };
1174
- var pn = k, mn = pn;
1135
+ var dn = j, mn = dn;
1175
1136
  const bn = /* @__PURE__ */ en(mn);
1176
- function we(e, t) {
1177
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1137
+ var Fe = function(e, t) {
1138
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1139
+ r.__proto__ = n;
1140
+ } || function(r, n) {
1141
+ for (var i in n)
1142
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1143
+ }, Fe(e, t);
1144
+ };
1145
+ function ge(e, t) {
1146
+ if (typeof t != "function" && t !== null)
1147
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1148
+ Fe(e, t);
1149
+ function r() {
1150
+ this.constructor = e;
1151
+ }
1152
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1153
+ }
1154
+ var M = function() {
1155
+ return M = Object.assign || function(t) {
1156
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1157
+ r = arguments[n];
1158
+ for (var o in r)
1159
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1160
+ }
1161
+ return t;
1162
+ }, M.apply(this, arguments);
1163
+ };
1164
+ function vn(e, t) {
1165
+ var r = {};
1166
+ for (var n in e)
1167
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1168
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1169
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1170
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1171
+ return r;
1172
+ }
1173
+ function Pe(e, t, r) {
1174
+ if (r || arguments.length === 2)
1175
+ for (var n = 0, i = t.length, o; n < i; n++)
1176
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1177
+ return e.concat(o || Array.prototype.slice.call(t));
1178
+ }
1179
+ function He(e, t) {
1180
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : xn;
1178
1181
  return i(e, {
1179
1182
  cache: r,
1180
1183
  serializer: n
1181
1184
  });
1182
1185
  }
1183
- function vn(e) {
1186
+ function gn(e) {
1184
1187
  return e == null || typeof e == "number" || typeof e == "boolean";
1185
1188
  }
1186
- function Gt(e, t, r, n) {
1187
- var i = vn(n) ? n : r(n), o = t.get(i);
1189
+ function yn(e, t, r, n) {
1190
+ var i = gn(n) ? n : r(n), o = t.get(i);
1188
1191
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1189
1192
  }
1190
1193
  function Dt(e, t, r) {
1191
1194
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1192
1195
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1193
1196
  }
1194
- function qe(e, t, r, n, i) {
1197
+ function Ft(e, t, r, n, i) {
1195
1198
  return r.bind(t, e, n, i);
1196
1199
  }
1197
- function gn(e, t) {
1198
- var r = e.length === 1 ? Gt : Dt;
1199
- return qe(e, this, r, t.cache.create(), t.serializer);
1200
- }
1201
- function yn(e, t) {
1202
- return qe(e, this, Dt, t.cache.create(), t.serializer);
1203
- }
1204
1200
  function xn(e, t) {
1205
- return qe(e, this, Gt, t.cache.create(), t.serializer);
1201
+ var r = e.length === 1 ? yn : Dt;
1202
+ return Ft(e, this, r, t.cache.create(), t.serializer);
1206
1203
  }
1207
- var _n = function() {
1208
- return JSON.stringify(arguments);
1209
- };
1210
- function Ze() {
1211
- this.cache = /* @__PURE__ */ Object.create(null);
1204
+ function _n(e, t) {
1205
+ return Ft(e, this, Dt, t.cache.create(), t.serializer);
1212
1206
  }
1213
- Ze.prototype.get = function(e) {
1214
- return this.cache[e];
1215
- };
1216
- Ze.prototype.set = function(e, t) {
1217
- this.cache[e] = t;
1218
- };
1219
- var En = {
1207
+ var En = function() {
1208
+ return JSON.stringify(arguments);
1209
+ }, Tn = (
1210
+ /** @class */
1211
+ function() {
1212
+ function e() {
1213
+ this.cache = /* @__PURE__ */ Object.create(null);
1214
+ }
1215
+ return e.prototype.get = function(t) {
1216
+ return this.cache[t];
1217
+ }, e.prototype.set = function(t, r) {
1218
+ this.cache[t] = r;
1219
+ }, e;
1220
+ }()
1221
+ ), Sn = {
1220
1222
  create: function() {
1221
- return new Ze();
1223
+ return new Tn();
1222
1224
  }
1223
- }, Pe = {
1224
- variadic: yn,
1225
- monadic: xn
1226
- }, b;
1225
+ }, Ie = {
1226
+ variadic: _n
1227
+ }, pe = function() {
1228
+ return pe = Object.assign || function(t) {
1229
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1230
+ r = arguments[n];
1231
+ for (var o in r)
1232
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1233
+ }
1234
+ return t;
1235
+ }, pe.apply(this, arguments);
1236
+ };
1237
+ var b;
1227
1238
  (function(e) {
1228
1239
  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";
1229
1240
  })(b || (b = {}));
1230
- var _;
1241
+ var x;
1231
1242
  (function(e) {
1232
1243
  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";
1233
- })(_ || (_ = {}));
1234
- var V;
1244
+ })(x || (x = {}));
1245
+ var k;
1235
1246
  (function(e) {
1236
1247
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1237
- })(V || (V = {}));
1238
- function ft(e) {
1239
- return e.type === _.literal;
1248
+ })(k || (k = {}));
1249
+ function dt(e) {
1250
+ return e.type === x.literal;
1240
1251
  }
1241
- function Tn(e) {
1242
- return e.type === _.argument;
1243
- }
1244
- function Ft(e) {
1245
- return e.type === _.number;
1252
+ function wn(e) {
1253
+ return e.type === x.argument;
1246
1254
  }
1247
1255
  function jt(e) {
1248
- return e.type === _.date;
1256
+ return e.type === x.number;
1249
1257
  }
1250
1258
  function kt(e) {
1251
- return e.type === _.time;
1259
+ return e.type === x.date;
1252
1260
  }
1253
1261
  function Vt(e) {
1254
- return e.type === _.select;
1262
+ return e.type === x.time;
1255
1263
  }
1256
1264
  function zt(e) {
1257
- return e.type === _.plural;
1258
- }
1259
- function Sn(e) {
1260
- return e.type === _.pound;
1265
+ return e.type === x.select;
1261
1266
  }
1262
1267
  function Wt(e) {
1263
- return e.type === _.tag;
1268
+ return e.type === x.plural;
1269
+ }
1270
+ function Pn(e) {
1271
+ return e.type === x.pound;
1264
1272
  }
1265
1273
  function Xt(e) {
1266
- return !!(e && typeof e == "object" && e.type === V.number);
1274
+ return e.type === x.tag;
1267
1275
  }
1268
- function Ue(e) {
1269
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1276
+ function qt(e) {
1277
+ return !!(e && typeof e == "object" && e.type === k.number);
1270
1278
  }
1271
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1272
- function Pn(e) {
1279
+ function je(e) {
1280
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
1281
+ }
1282
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1283
+ function In(e) {
1273
1284
  var t = {};
1274
- return e.replace(wn, function(r) {
1285
+ return e.replace(Hn, function(r) {
1275
1286
  var n = r.length;
1276
1287
  switch (r[0]) {
1277
1288
  case "G":
@@ -1360,11 +1371,21 @@ function Pn(e) {
1360
1371
  return "";
1361
1372
  }), t;
1362
1373
  }
1363
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1364
- function In(e) {
1374
+ var _ = function() {
1375
+ return _ = Object.assign || function(t) {
1376
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1377
+ r = arguments[n];
1378
+ for (var o in r)
1379
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1380
+ }
1381
+ return t;
1382
+ }, _.apply(this, arguments);
1383
+ };
1384
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1385
+ function Bn(e) {
1365
1386
  if (e.length === 0)
1366
1387
  throw new Error("Number skeleton cannot be empty");
1367
- for (var t = e.split(Hn).filter(function(c) {
1388
+ for (var t = e.split(An).filter(function(c) {
1368
1389
  return c.length > 0;
1369
1390
  }), r = [], n = 0, i = t; n < i.length; n++) {
1370
1391
  var o = i[n], a = o.split("/");
@@ -1379,17 +1400,17 @@ function In(e) {
1379
1400
  }
1380
1401
  return r;
1381
1402
  }
1382
- function Bn(e) {
1403
+ function Cn(e) {
1383
1404
  return e.replace(/^(.*?)-/, "");
1384
1405
  }
1385
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1386
- function pt(e) {
1406
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1407
+ function bt(e) {
1387
1408
  var t = {};
1388
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1409
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1389
1410
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1390
1411
  }), t;
1391
1412
  }
1392
- function Qt(e) {
1413
+ function Jt(e) {
1393
1414
  switch (e) {
1394
1415
  case "sign-auto":
1395
1416
  return {
@@ -1429,7 +1450,7 @@ function Qt(e) {
1429
1450
  };
1430
1451
  }
1431
1452
  }
1432
- function An(e) {
1453
+ function Ln(e) {
1433
1454
  var t;
1434
1455
  if (e[0] === "E" && e[1] === "E" ? (t = {
1435
1456
  notation: "engineering"
@@ -1437,17 +1458,17 @@ function An(e) {
1437
1458
  notation: "scientific"
1438
1459
  }, e = e.slice(1)), t) {
1439
1460
  var r = e.slice(0, 2);
1440
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1461
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1441
1462
  throw new Error("Malformed concise eng/scientific notation");
1442
1463
  t.minimumIntegerDigits = e.length;
1443
1464
  }
1444
1465
  return t;
1445
1466
  }
1446
- function mt(e) {
1447
- var t = {}, r = Qt(e);
1467
+ function vt(e) {
1468
+ var t = {}, r = Jt(e);
1448
1469
  return r || t;
1449
1470
  }
1450
- function On(e) {
1471
+ function Mn(e) {
1451
1472
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1452
1473
  var i = n[r];
1453
1474
  switch (i.stem) {
@@ -1471,7 +1492,7 @@ function On(e) {
1471
1492
  continue;
1472
1493
  case "measure-unit":
1473
1494
  case "unit":
1474
- t.style = "unit", t.unit = Bn(i.options[0]);
1495
+ t.style = "unit", t.unit = Cn(i.options[0]);
1475
1496
  continue;
1476
1497
  case "compact-short":
1477
1498
  case "K":
@@ -1482,13 +1503,13 @@ function On(e) {
1482
1503
  t.notation = "compact", t.compactDisplay = "long";
1483
1504
  continue;
1484
1505
  case "scientific":
1485
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1486
- return g(g({}, l), mt(u));
1506
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1507
+ return _(_({}, l), vt(u));
1487
1508
  }, {}));
1488
1509
  continue;
1489
1510
  case "engineering":
1490
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1491
- return g(g({}, l), mt(u));
1511
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1512
+ return _(_({}, l), vt(u));
1492
1513
  }, {}));
1493
1514
  continue;
1494
1515
  case "notation-simple":
@@ -1533,41 +1554,41 @@ function On(e) {
1533
1554
  case "integer-width":
1534
1555
  if (i.options.length > 1)
1535
1556
  throw new RangeError("integer-width stems only accept a single optional option");
1536
- i.options[0].replace(Cn, function(l, u, h, f, c, d) {
1557
+ i.options[0].replace(On, function(l, u, h, f, c, p) {
1537
1558
  if (u)
1538
1559
  t.minimumIntegerDigits = h.length;
1539
1560
  else {
1540
1561
  if (f && c)
1541
1562
  throw new Error("We currently do not support maximum integer digits");
1542
- if (d)
1563
+ if (p)
1543
1564
  throw new Error("We currently do not support exact integer digits");
1544
1565
  }
1545
1566
  return "";
1546
1567
  });
1547
1568
  continue;
1548
1569
  }
1549
- if (Yt.test(i.stem)) {
1570
+ if (Qt.test(i.stem)) {
1550
1571
  t.minimumIntegerDigits = i.stem.length;
1551
1572
  continue;
1552
1573
  }
1553
- if (dt.test(i.stem)) {
1574
+ if (mt.test(i.stem)) {
1554
1575
  if (i.options.length > 1)
1555
1576
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1556
- i.stem.replace(dt, function(l, u, h, f, c, d) {
1557
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1577
+ i.stem.replace(mt, function(l, u, h, f, c, p) {
1578
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1558
1579
  });
1559
1580
  var o = i.options[0];
1560
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
1581
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1561
1582
  continue;
1562
1583
  }
1563
- if (Zt.test(i.stem)) {
1564
- t = g(g({}, t), pt(i.stem));
1584
+ if (Yt.test(i.stem)) {
1585
+ t = _(_({}, t), bt(i.stem));
1565
1586
  continue;
1566
1587
  }
1567
- var a = Qt(i.stem);
1568
- a && (t = g(g({}, t), a));
1569
- var s = An(i.stem);
1570
- s && (t = g(g({}, t), s));
1588
+ var a = Jt(i.stem);
1589
+ a && (t = _(_({}, t), a));
1590
+ var s = Ln(i.stem);
1591
+ s && (t = _(_({}, t), s));
1571
1592
  }
1572
1593
  return t;
1573
1594
  }
@@ -2986,13 +3007,13 @@ var ue = {
2986
3007
  "h"
2987
3008
  ]
2988
3009
  };
2989
- function Mn(e, t) {
3010
+ function Nn(e, t) {
2990
3011
  for (var r = "", n = 0; n < e.length; n++) {
2991
3012
  var i = e.charAt(n);
2992
3013
  if (i === "j") {
2993
3014
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2994
3015
  o++, n++;
2995
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
3016
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
2996
3017
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2997
3018
  r += l;
2998
3019
  for (; a-- > 0; )
@@ -3002,7 +3023,7 @@ function Mn(e, t) {
3002
3023
  }
3003
3024
  return r;
3004
3025
  }
3005
- function Ln(e) {
3026
+ function $n(e) {
3006
3027
  var t = e.hourCycle;
3007
3028
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3008
3029
  e.hourCycles && // @ts-ignore
@@ -3024,20 +3045,20 @@ function Ln(e) {
3024
3045
  var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
3025
3046
  return i[0];
3026
3047
  }
3027
- var He, Nn = new RegExp("^".concat(qt.source, "*")), Rn = new RegExp("".concat(qt.source, "*$"));
3048
+ var Ae, Rn = new RegExp("^".concat(Zt.source, "*")), Un = new RegExp("".concat(Zt.source, "*$"));
3028
3049
  function v(e, t) {
3029
3050
  return { start: e, end: t };
3030
3051
  }
3031
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3052
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3032
3053
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3033
- }, Ge = !0;
3054
+ }, ke = !0;
3034
3055
  try {
3035
- var zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
- Ge = ((He = zn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3056
+ var Xn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3057
+ ke = ((Ae = Xn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3037
3058
  } catch (e) {
3038
- Ge = !1;
3059
+ ke = !1;
3039
3060
  }
3040
- var bt = $n ? (
3061
+ var gt = Gn ? (
3041
3062
  // Native
3042
3063
  function(t, r, n) {
3043
3064
  return t.startsWith(r, n);
@@ -3047,7 +3068,7 @@ var bt = $n ? (
3047
3068
  function(t, r, n) {
3048
3069
  return t.slice(n, n + r.length) === r;
3049
3070
  }
3050
- ), De = Un ? String.fromCodePoint : (
3071
+ ), Ve = Dn ? String.fromCodePoint : (
3051
3072
  // IE11
3052
3073
  function() {
3053
3074
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3059,9 +3080,9 @@ var bt = $n ? (
3059
3080
  }
3060
3081
  return n;
3061
3082
  }
3062
- ), vt = (
3083
+ ), yt = (
3063
3084
  // native
3064
- Gn ? Object.fromEntries : (
3085
+ Fn ? Object.fromEntries : (
3065
3086
  // Ponyfill
3066
3087
  function(t) {
3067
3088
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3071,7 +3092,7 @@ var bt = $n ? (
3071
3092
  return r;
3072
3093
  }
3073
3094
  )
3074
- ), Jt = Dn ? (
3095
+ ), Kt = jn ? (
3075
3096
  // Native
3076
3097
  function(t, r) {
3077
3098
  return t.codePointAt(r);
@@ -3085,7 +3106,7 @@ var bt = $n ? (
3085
3106
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3086
3107
  }
3087
3108
  }
3088
- ), Wn = Fn ? (
3109
+ ), qn = kn ? (
3089
3110
  // Native
3090
3111
  function(t) {
3091
3112
  return t.trimStart();
@@ -3093,9 +3114,9 @@ var bt = $n ? (
3093
3114
  ) : (
3094
3115
  // Ponyfill
3095
3116
  function(t) {
3096
- return t.replace(Nn, "");
3117
+ return t.replace(Rn, "");
3097
3118
  }
3098
- ), Xn = jn ? (
3119
+ ), Zn = Vn ? (
3099
3120
  // Native
3100
3121
  function(t) {
3101
3122
  return t.trimEnd();
@@ -3103,32 +3124,32 @@ var bt = $n ? (
3103
3124
  ) : (
3104
3125
  // Ponyfill
3105
3126
  function(t) {
3106
- return t.replace(Rn, "");
3127
+ return t.replace(Un, "");
3107
3128
  }
3108
3129
  );
3109
- function Kt(e, t) {
3130
+ function er(e, t) {
3110
3131
  return new RegExp(e, t);
3111
3132
  }
3112
- var Fe;
3113
- if (Ge) {
3114
- var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3115
- Fe = function(t, r) {
3133
+ var ze;
3134
+ if (ke) {
3135
+ var xt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3136
+ ze = function(t, r) {
3116
3137
  var n;
3117
- gt.lastIndex = r;
3118
- var i = gt.exec(t);
3138
+ xt.lastIndex = r;
3139
+ var i = xt.exec(t);
3119
3140
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3120
3141
  };
3121
3142
  } else
3122
- Fe = function(t, r) {
3143
+ ze = function(t, r) {
3123
3144
  for (var n = []; ; ) {
3124
- var i = Jt(t, r);
3125
- if (i === void 0 || er(i) || Qn(i))
3145
+ var i = Kt(t, r);
3146
+ if (i === void 0 || tr(i) || Kn(i))
3126
3147
  break;
3127
3148
  n.push(i), r += i >= 65536 ? 2 : 1;
3128
3149
  }
3129
- return De.apply(void 0, n);
3150
+ return Ve.apply(void 0, n);
3130
3151
  };
3131
- var qn = (
3152
+ var Yn = (
3132
3153
  /** @class */
3133
3154
  function() {
3134
3155
  function e(t, r) {
@@ -3152,14 +3173,14 @@ var qn = (
3152
3173
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3153
3174
  var s = this.clonePosition();
3154
3175
  this.bump(), i.push({
3155
- type: _.pound,
3176
+ type: x.pound,
3156
3177
  location: v(s, this.clonePosition())
3157
3178
  });
3158
3179
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3159
3180
  if (n)
3160
3181
  break;
3161
3182
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3162
- } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3183
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3163
3184
  var a = this.parseTag(t, r);
3164
3185
  if (a.err)
3165
3186
  return a;
@@ -3180,7 +3201,7 @@ var qn = (
3180
3201
  if (this.bumpSpace(), this.bumpIf("/>"))
3181
3202
  return {
3182
3203
  val: {
3183
- type: _.literal,
3204
+ type: x.literal,
3184
3205
  value: "<".concat(i, "/>"),
3185
3206
  location: v(n, this.clonePosition())
3186
3207
  },
@@ -3192,12 +3213,12 @@ var qn = (
3192
3213
  return o;
3193
3214
  var a = o.val, s = this.clonePosition();
3194
3215
  if (this.bumpIf("</")) {
3195
- if (this.isEOF() || !je(this.char()))
3216
+ if (this.isEOF() || !We(this.char()))
3196
3217
  return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
3197
3218
  var l = this.clonePosition(), u = this.parseTagName();
3198
3219
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3199
3220
  val: {
3200
- type: _.tag,
3221
+ type: x.tag,
3201
3222
  value: i,
3202
3223
  children: a,
3203
3224
  location: v(n, this.clonePosition())
@@ -3210,7 +3231,7 @@ var qn = (
3210
3231
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3211
3232
  }, e.prototype.parseTagName = function() {
3212
3233
  var t = this.offset();
3213
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3234
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3214
3235
  this.bump();
3215
3236
  return this.message.slice(t, this.offset());
3216
3237
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3234,12 +3255,12 @@ var qn = (
3234
3255
  }
3235
3256
  var l = v(n, this.clonePosition());
3236
3257
  return {
3237
- val: { type: _.literal, value: i, location: l },
3258
+ val: { type: x.literal, value: i, location: l },
3238
3259
  err: null
3239
3260
  };
3240
3261
  }, e.prototype.tryParseLeftAngleBracket = function() {
3241
3262
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3242
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3263
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3243
3264
  }, e.prototype.tryParseQuote = function(t) {
3244
3265
  if (this.isEOF() || this.char() !== 39)
3245
3266
  return null;
@@ -3273,12 +3294,12 @@ var qn = (
3273
3294
  r.push(n);
3274
3295
  this.bump();
3275
3296
  }
3276
- return De.apply(void 0, r);
3297
+ return Ve.apply(void 0, r);
3277
3298
  }, e.prototype.tryParseUnquoted = function(t, r) {
3278
3299
  if (this.isEOF())
3279
3300
  return null;
3280
3301
  var n = this.char();
3281
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3302
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3282
3303
  }, e.prototype.parseArgument = function(t, r) {
3283
3304
  var n = this.clonePosition();
3284
3305
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3294,7 +3315,7 @@ var qn = (
3294
3315
  case 125:
3295
3316
  return this.bump(), {
3296
3317
  val: {
3297
- type: _.argument,
3318
+ type: x.argument,
3298
3319
  // value does not include the opening and closing braces.
3299
3320
  value: i,
3300
3321
  location: v(n, this.clonePosition())
@@ -3307,7 +3328,7 @@ var qn = (
3307
3328
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3308
3329
  }
3309
3330
  }, e.prototype.parseIdentifierIfPossible = function() {
3310
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
3331
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3311
3332
  this.bumpTo(i);
3312
3333
  var o = this.clonePosition(), a = v(t, o);
3313
3334
  return { value: n, location: a };
@@ -3326,46 +3347,46 @@ var qn = (
3326
3347
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3327
3348
  if (f.err)
3328
3349
  return f;
3329
- var c = Xn(f.val);
3350
+ var c = Zn(f.val);
3330
3351
  if (c.length === 0)
3331
3352
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3332
- var d = v(h, this.clonePosition());
3333
- u = { style: c, styleLocation: d };
3353
+ var p = v(h, this.clonePosition());
3354
+ u = { style: c, styleLocation: p };
3334
3355
  }
3335
- var p = this.tryParseArgumentClose(i);
3336
- if (p.err)
3337
- return p;
3338
- var y = v(i, this.clonePosition());
3339
- if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
3340
- var S = Wn(u.style.slice(2));
3356
+ var d = this.tryParseArgumentClose(i);
3357
+ if (d.err)
3358
+ return d;
3359
+ var g = v(i, this.clonePosition());
3360
+ if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3361
+ var S = qn(u.style.slice(2));
3341
3362
  if (s === "number") {
3342
3363
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3343
3364
  return f.err ? f : {
3344
- val: { type: _.number, value: n, location: y, style: f.val },
3365
+ val: { type: x.number, value: n, location: g, style: f.val },
3345
3366
  err: null
3346
3367
  };
3347
3368
  } else {
3348
3369
  if (S.length === 0)
3349
- return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3370
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, g);
3350
3371
  var H = S;
3351
- this.locale && (H = Mn(S, this.locale));
3372
+ this.locale && (H = Nn(S, this.locale));
3352
3373
  var c = {
3353
- type: V.dateTime,
3374
+ type: k.dateTime,
3354
3375
  pattern: H,
3355
3376
  location: u.styleLocation,
3356
- parsedOptions: this.shouldParseSkeletons ? Pn(H) : {}
3357
- }, E = s === "date" ? _.date : _.time;
3377
+ parsedOptions: this.shouldParseSkeletons ? In(H) : {}
3378
+ }, E = s === "date" ? x.date : x.time;
3358
3379
  return {
3359
- val: { type: E, value: n, location: y, style: c },
3380
+ val: { type: E, value: n, location: g, style: c },
3360
3381
  err: null
3361
3382
  };
3362
3383
  }
3363
3384
  }
3364
3385
  return {
3365
3386
  val: {
3366
- type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3387
+ type: s === "number" ? x.number : s === "date" ? x.date : x.time,
3367
3388
  value: n,
3368
- location: y,
3389
+ location: g,
3369
3390
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3370
3391
  },
3371
3392
  err: null
@@ -3374,9 +3395,9 @@ var qn = (
3374
3395
  case "plural":
3375
3396
  case "selectordinal":
3376
3397
  case "select": {
3377
- var x = this.clonePosition();
3398
+ var y = this.clonePosition();
3378
3399
  if (this.bumpSpace(), !this.bumpIf(","))
3379
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, g({}, x)));
3400
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, pe({}, y)));
3380
3401
  this.bumpSpace();
3381
3402
  var w = this.parseIdentifierIfPossible(), m = 0;
3382
3403
  if (s !== "select" && w.value === "offset") {
@@ -3388,29 +3409,29 @@ var qn = (
3388
3409
  return f;
3389
3410
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), m = f.val;
3390
3411
  }
3391
- var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
3392
- if (B.err)
3393
- return B;
3394
- var p = this.tryParseArgumentClose(i);
3395
- if (p.err)
3396
- return p;
3397
- var Q = v(i, this.clonePosition());
3412
+ var A = this.tryParsePluralOrSelectOptions(t, s, r, w);
3413
+ if (A.err)
3414
+ return A;
3415
+ var d = this.tryParseArgumentClose(i);
3416
+ if (d.err)
3417
+ return d;
3418
+ var Y = v(i, this.clonePosition());
3398
3419
  return s === "select" ? {
3399
3420
  val: {
3400
- type: _.select,
3421
+ type: x.select,
3401
3422
  value: n,
3402
- options: vt(B.val),
3403
- location: Q
3423
+ options: yt(A.val),
3424
+ location: Y
3404
3425
  },
3405
3426
  err: null
3406
3427
  } : {
3407
3428
  val: {
3408
- type: _.plural,
3429
+ type: x.plural,
3409
3430
  value: n,
3410
- options: vt(B.val),
3431
+ options: yt(A.val),
3411
3432
  offset: m,
3412
3433
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3413
- location: Q
3434
+ location: Y
3414
3435
  },
3415
3436
  err: null
3416
3437
  };
@@ -3458,16 +3479,16 @@ var qn = (
3458
3479
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3459
3480
  var n = [];
3460
3481
  try {
3461
- n = In(t);
3482
+ n = Bn(t);
3462
3483
  } catch (i) {
3463
3484
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3464
3485
  }
3465
3486
  return {
3466
3487
  val: {
3467
- type: V.number,
3488
+ type: k.number,
3468
3489
  tokens: n,
3469
3490
  location: r,
3470
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3491
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3471
3492
  },
3472
3493
  err: null
3473
3494
  };
@@ -3486,20 +3507,20 @@ var qn = (
3486
3507
  if (l.has(u))
3487
3508
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3488
3509
  u === "other" && (a = !0), this.bumpSpace();
3489
- var d = this.clonePosition();
3510
+ var p = this.clonePosition();
3490
3511
  if (!this.bumpIf("{"))
3491
3512
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3492
- var p = this.parseMessage(t + 1, r, n);
3493
- if (p.err)
3494
- return p;
3495
- var y = this.tryParseArgumentClose(d);
3496
- if (y.err)
3497
- return y;
3513
+ var d = this.parseMessage(t + 1, r, n);
3514
+ if (d.err)
3515
+ return d;
3516
+ var g = this.tryParseArgumentClose(p);
3517
+ if (g.err)
3518
+ return g;
3498
3519
  s.push([
3499
3520
  u,
3500
3521
  {
3501
- value: p.val,
3502
- location: v(d, this.clonePosition())
3522
+ value: d.val,
3523
+ location: v(p, this.clonePosition())
3503
3524
  }
3504
3525
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3505
3526
  }
@@ -3515,7 +3536,7 @@ var qn = (
3515
3536
  break;
3516
3537
  }
3517
3538
  var l = v(i, this.clonePosition());
3518
- return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3539
+ return o ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3519
3540
  }, e.prototype.offset = function() {
3520
3541
  return this.position.offset;
3521
3542
  }, e.prototype.isEOF = function() {
@@ -3530,7 +3551,7 @@ var qn = (
3530
3551
  var t = this.position.offset;
3531
3552
  if (t >= this.message.length)
3532
3553
  throw Error("out of bound");
3533
- var r = Jt(this.message, t);
3554
+ var r = Kt(this.message, t);
3534
3555
  if (r === void 0)
3535
3556
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3536
3557
  return r;
@@ -3549,7 +3570,7 @@ var qn = (
3549
3570
  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);
3550
3571
  }
3551
3572
  }, e.prototype.bumpIf = function(t) {
3552
- if (bt(this.message, t, this.offset())) {
3573
+ if (gt(this.message, t, this.offset())) {
3553
3574
  for (var r = 0; r < t.length; r++)
3554
3575
  this.bump();
3555
3576
  return !0;
@@ -3571,7 +3592,7 @@ var qn = (
3571
3592
  break;
3572
3593
  }
3573
3594
  }, e.prototype.bumpSpace = function() {
3574
- for (; !this.isEOF() && er(this.char()); )
3595
+ for (; !this.isEOF() && tr(this.char()); )
3575
3596
  this.bump();
3576
3597
  }, e.prototype.peek = function() {
3577
3598
  if (this.isEOF())
@@ -3581,47 +3602,47 @@ var qn = (
3581
3602
  }, e;
3582
3603
  }()
3583
3604
  );
3584
- function je(e) {
3605
+ function We(e) {
3585
3606
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3586
3607
  }
3587
- function Zn(e) {
3588
- return je(e) || e === 47;
3608
+ function Qn(e) {
3609
+ return We(e) || e === 47;
3589
3610
  }
3590
- function Yn(e) {
3611
+ function Jn(e) {
3591
3612
  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;
3592
3613
  }
3593
- function er(e) {
3614
+ function tr(e) {
3594
3615
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3595
3616
  }
3596
- function Qn(e) {
3617
+ function Kn(e) {
3597
3618
  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;
3598
3619
  }
3599
- function ke(e) {
3620
+ function Xe(e) {
3600
3621
  e.forEach(function(t) {
3601
- if (delete t.location, Vt(t) || zt(t))
3622
+ if (delete t.location, zt(t) || Wt(t))
3602
3623
  for (var r in t.options)
3603
- delete t.options[r].location, ke(t.options[r].value);
3624
+ delete t.options[r].location, Xe(t.options[r].value);
3604
3625
  else
3605
- Ft(t) && Xt(t.style) || (jt(t) || kt(t)) && Ue(t.style) ? delete t.style.location : Wt(t) && ke(t.children);
3626
+ jt(t) && qt(t.style) || (kt(t) || Vt(t)) && je(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3606
3627
  });
3607
3628
  }
3608
- function Jn(e, t) {
3609
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3610
- var r = new qn(e, t).parse();
3629
+ function ei(e, t) {
3630
+ t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3631
+ var r = new Yn(e, t).parse();
3611
3632
  if (r.err) {
3612
3633
  var n = SyntaxError(b[r.err.kind]);
3613
3634
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3614
3635
  }
3615
- return t != null && t.captureLocation || ke(r.val), r.val;
3636
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3616
3637
  }
3617
- var z;
3638
+ var V;
3618
3639
  (function(e) {
3619
3640
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3620
- })(z || (z = {}));
3621
- var ve = (
3641
+ })(V || (V = {}));
3642
+ var ye = (
3622
3643
  /** @class */
3623
3644
  function(e) {
3624
- N(t, e);
3645
+ ge(t, e);
3625
3646
  function t(r, n, i) {
3626
3647
  var o = e.call(this, r) || this;
3627
3648
  return o.code = n, o.originalMessage = i, o;
@@ -3630,48 +3651,48 @@ var ve = (
3630
3651
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3631
3652
  }, t;
3632
3653
  }(Error)
3633
- ), yt = (
3654
+ ), _t = (
3634
3655
  /** @class */
3635
3656
  function(e) {
3636
- N(t, e);
3657
+ ge(t, e);
3637
3658
  function t(r, n, i, o) {
3638
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3659
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3639
3660
  }
3640
3661
  return t;
3641
- }(ve)
3642
- ), Kn = (
3662
+ }(ye)
3663
+ ), ti = (
3643
3664
  /** @class */
3644
3665
  function(e) {
3645
- N(t, e);
3666
+ ge(t, e);
3646
3667
  function t(r, n, i) {
3647
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3668
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3648
3669
  }
3649
3670
  return t;
3650
- }(ve)
3651
- ), ei = (
3671
+ }(ye)
3672
+ ), ri = (
3652
3673
  /** @class */
3653
3674
  function(e) {
3654
- N(t, e);
3675
+ ge(t, e);
3655
3676
  function t(r, n) {
3656
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3677
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3657
3678
  }
3658
3679
  return t;
3659
- }(ve)
3680
+ }(ye)
3660
3681
  ), T;
3661
3682
  (function(e) {
3662
3683
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3663
3684
  })(T || (T = {}));
3664
- function ti(e) {
3685
+ function ni(e) {
3665
3686
  return e.length < 2 ? e : e.reduce(function(t, r) {
3666
3687
  var n = t[t.length - 1];
3667
3688
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3668
3689
  }, []);
3669
3690
  }
3670
- function ri(e) {
3691
+ function ii(e) {
3671
3692
  return typeof e == "function";
3672
3693
  }
3673
3694
  function ce(e, t, r, n, i, o, a) {
3674
- if (e.length === 1 && ft(e[0]))
3695
+ if (e.length === 1 && dt(e[0]))
3675
3696
  return [
3676
3697
  {
3677
3698
  type: T.literal,
@@ -3680,14 +3701,14 @@ function ce(e, t, r, n, i, o, a) {
3680
3701
  ];
3681
3702
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3682
3703
  var h = u[l];
3683
- if (ft(h)) {
3704
+ if (dt(h)) {
3684
3705
  s.push({
3685
3706
  type: T.literal,
3686
3707
  value: h.value
3687
3708
  });
3688
3709
  continue;
3689
3710
  }
3690
- if (Sn(h)) {
3711
+ if (Pn(h)) {
3691
3712
  typeof o == "number" && s.push({
3692
3713
  type: T.literal,
3693
3714
  value: r.getNumberFormat(t).format(o)
@@ -3696,44 +3717,44 @@ function ce(e, t, r, n, i, o, a) {
3696
3717
  }
3697
3718
  var f = h.value;
3698
3719
  if (!(i && f in i))
3699
- throw new ei(f, a);
3720
+ throw new ri(f, a);
3700
3721
  var c = i[f];
3701
- if (Tn(h)) {
3722
+ if (wn(h)) {
3702
3723
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3703
3724
  type: typeof c == "string" ? T.literal : T.object,
3704
3725
  value: c
3705
3726
  });
3706
3727
  continue;
3707
3728
  }
3708
- if (jt(h)) {
3709
- var d = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3729
+ if (kt(h)) {
3730
+ var p = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3710
3731
  s.push({
3711
3732
  type: T.literal,
3712
- value: r.getDateTimeFormat(t, d).format(c)
3733
+ value: r.getDateTimeFormat(t, p).format(c)
3713
3734
  });
3714
3735
  continue;
3715
3736
  }
3716
- if (kt(h)) {
3717
- var d = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3737
+ if (Vt(h)) {
3738
+ var p = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3718
3739
  s.push({
3719
3740
  type: T.literal,
3720
- value: r.getDateTimeFormat(t, d).format(c)
3741
+ value: r.getDateTimeFormat(t, p).format(c)
3721
3742
  });
3722
3743
  continue;
3723
3744
  }
3724
- if (Ft(h)) {
3725
- var d = typeof h.style == "string" ? n.number[h.style] : Xt(h.style) ? h.style.parsedOptions : void 0;
3726
- d && d.scale && (c = c * (d.scale || 1)), s.push({
3745
+ if (jt(h)) {
3746
+ var p = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3747
+ p && p.scale && (c = c * (p.scale || 1)), s.push({
3727
3748
  type: T.literal,
3728
- value: r.getNumberFormat(t, d).format(c)
3749
+ value: r.getNumberFormat(t, p).format(c)
3729
3750
  });
3730
3751
  continue;
3731
3752
  }
3732
- if (Wt(h)) {
3733
- var p = h.children, y = h.value, S = i[y];
3734
- if (!ri(S))
3735
- throw new Kn(y, "function", a);
3736
- var H = ce(p, t, r, n, i, o), E = S(H.map(function(m) {
3753
+ if (Xt(h)) {
3754
+ var d = h.children, g = h.value, S = i[g];
3755
+ if (!ii(S))
3756
+ throw new ti(g, "function", a);
3757
+ var H = ce(d, t, r, n, i, o), E = S(H.map(function(m) {
3737
3758
  return m.value;
3738
3759
  }));
3739
3760
  Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(m) {
@@ -3743,42 +3764,42 @@ function ce(e, t, r, n, i, o, a) {
3743
3764
  };
3744
3765
  }));
3745
3766
  }
3746
- if (Vt(h)) {
3747
- var x = h.options[c] || h.options.other;
3748
- if (!x)
3749
- throw new yt(h.value, c, Object.keys(h.options), a);
3750
- s.push.apply(s, ce(x.value, t, r, n, i));
3767
+ if (zt(h)) {
3768
+ var y = h.options[c] || h.options.other;
3769
+ if (!y)
3770
+ throw new _t(h.value, c, Object.keys(h.options), a);
3771
+ s.push.apply(s, ce(y.value, t, r, n, i));
3751
3772
  continue;
3752
3773
  }
3753
- if (zt(h)) {
3754
- var x = h.options["=".concat(c)];
3755
- if (!x) {
3774
+ if (Wt(h)) {
3775
+ var y = h.options["=".concat(c)];
3776
+ if (!y) {
3756
3777
  if (!Intl.PluralRules)
3757
- throw new ve(`Intl.PluralRules is not available in this environment.
3778
+ throw new ye(`Intl.PluralRules is not available in this environment.
3758
3779
  Try polyfilling it using "@formatjs/intl-pluralrules"
3759
- `, z.MISSING_INTL_API, a);
3780
+ `, V.MISSING_INTL_API, a);
3760
3781
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3761
- x = h.options[w] || h.options.other;
3782
+ y = h.options[w] || h.options.other;
3762
3783
  }
3763
- if (!x)
3764
- throw new yt(h.value, c, Object.keys(h.options), a);
3765
- s.push.apply(s, ce(x.value, t, r, n, i, c - (h.offset || 0)));
3784
+ if (!y)
3785
+ throw new _t(h.value, c, Object.keys(h.options), a);
3786
+ s.push.apply(s, ce(y.value, t, r, n, i, c - (h.offset || 0)));
3766
3787
  continue;
3767
3788
  }
3768
3789
  }
3769
- return ti(s);
3790
+ return ni(s);
3770
3791
  }
3771
- function ni(e, t) {
3772
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3773
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3792
+ function oi(e, t) {
3793
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3794
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3774
3795
  }, {})) : e;
3775
3796
  }
3776
- function ii(e, t) {
3797
+ function ai(e, t) {
3777
3798
  return t ? Object.keys(e).reduce(function(r, n) {
3778
- return r[n] = ni(e[n], t[n]), r;
3779
- }, g({}, e)) : e;
3799
+ return r[n] = oi(e[n], t[n]), r;
3800
+ }, M({}, e)) : e;
3780
3801
  }
3781
- function Ie(e) {
3802
+ function Be(e) {
3782
3803
  return {
3783
3804
  create: function() {
3784
3805
  return {
@@ -3792,39 +3813,39 @@ function Ie(e) {
3792
3813
  }
3793
3814
  };
3794
3815
  }
3795
- function oi(e) {
3816
+ function si(e) {
3796
3817
  return e === void 0 && (e = {
3797
3818
  number: {},
3798
3819
  dateTime: {},
3799
3820
  pluralRules: {}
3800
3821
  }), {
3801
- getNumberFormat: we(function() {
3822
+ getNumberFormat: He(function() {
3802
3823
  for (var t, r = [], n = 0; n < arguments.length; n++)
3803
3824
  r[n] = arguments[n];
3804
- return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
3825
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3805
3826
  }, {
3806
- cache: Ie(e.number),
3807
- strategy: Pe.variadic
3827
+ cache: Be(e.number),
3828
+ strategy: Ie.variadic
3808
3829
  }),
3809
- getDateTimeFormat: we(function() {
3830
+ getDateTimeFormat: He(function() {
3810
3831
  for (var t, r = [], n = 0; n < arguments.length; n++)
3811
3832
  r[n] = arguments[n];
3812
- return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
3833
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3813
3834
  }, {
3814
- cache: Ie(e.dateTime),
3815
- strategy: Pe.variadic
3835
+ cache: Be(e.dateTime),
3836
+ strategy: Ie.variadic
3816
3837
  }),
3817
- getPluralRules: we(function() {
3838
+ getPluralRules: He(function() {
3818
3839
  for (var t, r = [], n = 0; n < arguments.length; n++)
3819
3840
  r[n] = arguments[n];
3820
- return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
3841
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3821
3842
  }, {
3822
- cache: Ie(e.pluralRules),
3823
- strategy: Pe.variadic
3843
+ cache: Be(e.pluralRules),
3844
+ strategy: Ie.variadic
3824
3845
  })
3825
3846
  };
3826
3847
  }
3827
- var ai = (
3848
+ var ui = (
3828
3849
  /** @class */
3829
3850
  function() {
3830
3851
  function e(t, r, n, i) {
@@ -3856,13 +3877,13 @@ var ai = (
3856
3877
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3857
3878
  var a = i || {};
3858
3879
  a.formatters;
3859
- var s = Ur(a, ["formatters"]);
3860
- this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
3880
+ var s = vn(a, ["formatters"]);
3881
+ this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
3861
3882
  } else
3862
3883
  this.ast = t;
3863
3884
  if (!Array.isArray(this.ast))
3864
3885
  throw new TypeError("A message must be provided as a String or AST.");
3865
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3886
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3866
3887
  }
3867
3888
  return Object.defineProperty(e, "defaultLocale", {
3868
3889
  get: function() {
@@ -3875,7 +3896,7 @@ var ai = (
3875
3896
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3876
3897
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3877
3898
  }
3878
- }, e.__parse = Jn, e.formats = {
3899
+ }, e.__parse = ei, e.formats = {
3879
3900
  number: {
3880
3901
  integer: {
3881
3902
  maximumFractionDigits: 0
@@ -3936,7 +3957,7 @@ var ai = (
3936
3957
  }, e;
3937
3958
  }()
3938
3959
  );
3939
- function si(e, t) {
3960
+ function li(e, t) {
3940
3961
  if (t == null)
3941
3962
  return;
3942
3963
  if (t in e)
@@ -3957,92 +3978,92 @@ function si(e, t) {
3957
3978
  n = void 0;
3958
3979
  return n;
3959
3980
  }
3960
- const R = {}, ui = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), tr = (e, t) => {
3981
+ const $ = {}, hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
3961
3982
  if (t == null)
3962
3983
  return;
3963
- if (t in R && e in R[t])
3964
- return R[t][e];
3965
- const r = ge(t);
3984
+ if (t in $ && e in $[t])
3985
+ return $[t][e];
3986
+ const r = xe(t);
3966
3987
  for (let n = 0; n < r.length; n++) {
3967
- const i = r[n], o = hi(i, e);
3988
+ const i = r[n], o = fi(i, e);
3968
3989
  if (o)
3969
- return ui(e, t, o);
3990
+ return hi(e, t, o);
3970
3991
  }
3971
3992
  };
3972
- let Ye;
3973
- const ae = be({});
3974
- function li(e) {
3975
- return Ye[e] || null;
3993
+ let Je;
3994
+ const ae = ve({});
3995
+ function ci(e) {
3996
+ return Je[e] || null;
3976
3997
  }
3977
- function rr(e) {
3978
- return e in Ye;
3998
+ function nr(e) {
3999
+ return e in Je;
3979
4000
  }
3980
- function hi(e, t) {
3981
- if (!rr(e))
4001
+ function fi(e, t) {
4002
+ if (!nr(e))
3982
4003
  return null;
3983
- const r = li(e);
3984
- return si(r, t);
4004
+ const r = ci(e);
4005
+ return li(r, t);
3985
4006
  }
3986
- function ci(e) {
4007
+ function pi(e) {
3987
4008
  if (e == null)
3988
4009
  return;
3989
- const t = ge(e);
4010
+ const t = xe(e);
3990
4011
  for (let r = 0; r < t.length; r++) {
3991
4012
  const n = t[r];
3992
- if (rr(n))
4013
+ if (nr(n))
3993
4014
  return n;
3994
4015
  }
3995
4016
  }
3996
- function nr(e, ...t) {
3997
- delete R[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
4017
+ function ir(e, ...t) {
4018
+ delete $[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3998
4019
  }
3999
- q(
4020
+ X(
4000
4021
  [ae],
4001
4022
  ([e]) => Object.keys(e)
4002
4023
  );
4003
- ae.subscribe((e) => Ye = e);
4024
+ ae.subscribe((e) => Je = e);
4004
4025
  const fe = {};
4005
- function fi(e, t) {
4026
+ function di(e, t) {
4006
4027
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4007
4028
  }
4008
- function ir(e) {
4029
+ function or(e) {
4009
4030
  return fe[e];
4010
4031
  }
4011
- function di(e) {
4012
- return ge(e).map((t) => {
4013
- const r = ir(t);
4032
+ function mi(e) {
4033
+ return xe(e).map((t) => {
4034
+ const r = or(t);
4014
4035
  return [t, r ? [...r] : []];
4015
4036
  }).filter(([, t]) => t.length > 0);
4016
4037
  }
4017
- function Ve(e) {
4018
- return e == null ? !1 : ge(e).some(
4038
+ function qe(e) {
4039
+ return e == null ? !1 : xe(e).some(
4019
4040
  (t) => {
4020
4041
  var r;
4021
- return (r = ir(t)) == null ? void 0 : r.size;
4042
+ return (r = or(t)) == null ? void 0 : r.size;
4022
4043
  }
4023
4044
  );
4024
4045
  }
4025
- function pi(e, t) {
4046
+ function bi(e, t) {
4026
4047
  return Promise.all(
4027
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4028
- ).then((n) => nr(e, ...n));
4029
- }
4030
- const J = {};
4031
- function or(e) {
4032
- if (!Ve(e))
4033
- return e in J ? J[e] : Promise.resolve();
4034
- const t = di(e);
4035
- return J[e] = Promise.all(
4048
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4049
+ ).then((n) => ir(e, ...n));
4050
+ }
4051
+ const Q = {};
4052
+ function ar(e) {
4053
+ if (!qe(e))
4054
+ return e in Q ? Q[e] : Promise.resolve();
4055
+ const t = mi(e);
4056
+ return Q[e] = Promise.all(
4036
4057
  t.map(
4037
- ([r, n]) => pi(r, n)
4058
+ ([r, n]) => bi(r, n)
4038
4059
  )
4039
4060
  ).then(() => {
4040
- if (Ve(e))
4041
- return or(e);
4042
- delete J[e];
4043
- }), J[e];
4061
+ if (qe(e))
4062
+ return ar(e);
4063
+ delete Q[e];
4064
+ }), Q[e];
4044
4065
  }
4045
- const mi = {
4066
+ const vi = {
4046
4067
  number: {
4047
4068
  scientific: { notation: "scientific" },
4048
4069
  engineering: { notation: "engineering" },
@@ -4071,150 +4092,150 @@ const mi = {
4071
4092
  timeZoneName: "short"
4072
4093
  }
4073
4094
  }
4074
- }, bi = {
4095
+ }, gi = {
4075
4096
  fallbackLocale: null,
4076
4097
  loadingDelay: 200,
4077
- formats: mi,
4098
+ formats: vi,
4078
4099
  warnOnMissingMessages: !0,
4079
4100
  handleMissingMessage: void 0,
4080
4101
  ignoreTag: !0
4081
- }, vi = bi;
4082
- function W() {
4083
- return vi;
4102
+ }, yi = gi;
4103
+ function z() {
4104
+ return yi;
4084
4105
  }
4085
- const Be = be(!1);
4086
- var gi = Object.defineProperty, yi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4106
+ const Ce = ve(!1);
4107
+ var xi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4087
4108
  for (var r in t || (t = {}))
4088
- _i.call(t, r) && _t(e, r, t[r]);
4089
- if (xt)
4090
- for (var r of xt(t))
4091
- Ei.call(t, r) && _t(e, r, t[r]);
4109
+ Ti.call(t, r) && Tt(e, r, t[r]);
4110
+ if (Et)
4111
+ for (var r of Et(t))
4112
+ Si.call(t, r) && Tt(e, r, t[r]);
4092
4113
  return e;
4093
- }, Si = (e, t) => yi(e, xi(t));
4094
- let ze;
4095
- const de = be(null);
4096
- function Et(e) {
4114
+ }, Pi = (e, t) => _i(e, Ei(t));
4115
+ let Ze;
4116
+ const de = ve(null);
4117
+ function St(e) {
4097
4118
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4098
4119
  }
4099
- function ge(e, t = W().fallbackLocale) {
4100
- const r = Et(e);
4101
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4120
+ function xe(e, t = z().fallbackLocale) {
4121
+ const r = St(e);
4122
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4102
4123
  }
4103
- function $() {
4104
- return ze != null ? ze : void 0;
4124
+ function R() {
4125
+ return Ze != null ? Ze : void 0;
4105
4126
  }
4106
4127
  de.subscribe((e) => {
4107
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4128
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4108
4129
  });
4109
- const wi = (e) => {
4110
- if (e && ci(e) && Ve(e)) {
4111
- const { loadingDelay: t } = W();
4130
+ const Hi = (e) => {
4131
+ if (e && pi(e) && qe(e)) {
4132
+ const { loadingDelay: t } = z();
4112
4133
  let r;
4113
- return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
4114
- () => Be.set(!0),
4134
+ return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
4135
+ () => Ce.set(!0),
4115
4136
  t
4116
- ) : Be.set(!0), or(e).then(() => {
4137
+ ) : Ce.set(!0), ar(e).then(() => {
4117
4138
  de.set(e);
4118
4139
  }).finally(() => {
4119
- clearTimeout(r), Be.set(!1);
4140
+ clearTimeout(r), Ce.set(!1);
4120
4141
  });
4121
4142
  }
4122
4143
  return de.set(e);
4123
- }, Z = Si(Ti({}, de), {
4124
- set: wi
4125
- }), ye = (e) => {
4144
+ }, q = Pi(wi({}, de), {
4145
+ set: Hi
4146
+ }), _e = (e) => {
4126
4147
  const t = /* @__PURE__ */ Object.create(null);
4127
4148
  return (n) => {
4128
4149
  const i = JSON.stringify(n);
4129
4150
  return i in t ? t[i] : t[i] = e(n);
4130
4151
  };
4131
4152
  };
4132
- var Pi = Object.defineProperty, pe = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4153
+ var Ii = Object.defineProperty, me = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4133
4154
  for (var r in t || (t = {}))
4134
- ar.call(t, r) && Tt(e, r, t[r]);
4135
- if (pe)
4136
- for (var r of pe(t))
4137
- sr.call(t, r) && Tt(e, r, t[r]);
4155
+ sr.call(t, r) && wt(e, r, t[r]);
4156
+ if (me)
4157
+ for (var r of me(t))
4158
+ ur.call(t, r) && wt(e, r, t[r]);
4138
4159
  return e;
4139
- }, Y = (e, t) => {
4160
+ }, Z = (e, t) => {
4140
4161
  var r = {};
4141
4162
  for (var n in e)
4142
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4143
- if (e != null && pe)
4144
- for (var n of pe(e))
4145
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4163
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4164
+ if (e != null && me)
4165
+ for (var n of me(e))
4166
+ t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4146
4167
  return r;
4147
4168
  };
4148
- const re = (e, t) => {
4149
- const { formats: r } = W();
4169
+ const te = (e, t) => {
4170
+ const { formats: r } = z();
4150
4171
  if (e in r && t in r[e])
4151
4172
  return r[e][t];
4152
4173
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4153
- }, Hi = ye(
4174
+ }, Ai = _e(
4154
4175
  (e) => {
4155
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4176
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4156
4177
  if (r == null)
4157
4178
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4158
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4179
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4159
4180
  }
4160
- ), Ii = ye(
4181
+ ), Bi = _e(
4161
4182
  (e) => {
4162
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4183
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4163
4184
  if (r == null)
4164
4185
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4165
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4186
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4166
4187
  }
4167
- ), Bi = ye(
4188
+ ), Ci = _e(
4168
4189
  (e) => {
4169
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4190
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4170
4191
  if (r == null)
4171
4192
  throw new Error(
4172
4193
  '[svelte-i18n] A "locale" must be set to format time values'
4173
4194
  );
4174
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4195
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4175
4196
  }
4176
- ), Ci = (e = {}) => {
4197
+ ), Oi = (e = {}) => {
4177
4198
  var t = e, {
4178
- locale: r = $()
4179
- } = t, n = Y(t, [
4199
+ locale: r = R()
4200
+ } = t, n = Z(t, [
4180
4201
  "locale"
4181
4202
  ]);
4182
- return Hi(Qe({ locale: r }, n));
4183
- }, Ai = (e = {}) => {
4203
+ return Ai(Ke({ locale: r }, n));
4204
+ }, Li = (e = {}) => {
4184
4205
  var t = e, {
4185
- locale: r = $()
4186
- } = t, n = Y(t, [
4206
+ locale: r = R()
4207
+ } = t, n = Z(t, [
4187
4208
  "locale"
4188
4209
  ]);
4189
- return Ii(Qe({ locale: r }, n));
4190
- }, Oi = (e = {}) => {
4210
+ return Bi(Ke({ locale: r }, n));
4211
+ }, Mi = (e = {}) => {
4191
4212
  var t = e, {
4192
- locale: r = $()
4193
- } = t, n = Y(t, [
4213
+ locale: r = R()
4214
+ } = t, n = Z(t, [
4194
4215
  "locale"
4195
4216
  ]);
4196
- return Bi(Qe({ locale: r }, n));
4197
- }, Mi = ye(
4217
+ return Ci(Ke({ locale: r }, n));
4218
+ }, Ni = _e(
4198
4219
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4199
- (e, t = $()) => new ai(e, t, W().formats, {
4200
- ignoreTag: W().ignoreTag
4220
+ (e, t = R()) => new ui(e, t, z().formats, {
4221
+ ignoreTag: z().ignoreTag
4201
4222
  })
4202
- ), Li = (e, t = {}) => {
4223
+ ), $i = (e, t = {}) => {
4203
4224
  var r, n, i, o;
4204
4225
  let a = t;
4205
4226
  typeof e == "object" && (a = e, e = a.id);
4206
4227
  const {
4207
4228
  values: s,
4208
- locale: l = $(),
4229
+ locale: l = R(),
4209
4230
  default: u
4210
4231
  } = a;
4211
4232
  if (l == null)
4212
4233
  throw new Error(
4213
4234
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4214
4235
  );
4215
- let h = tr(e, l);
4236
+ let h = rr(e, l);
4216
4237
  if (!h)
4217
- h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4238
+ h = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4218
4239
  else if (typeof h != "string")
4219
4240
  return console.warn(
4220
4241
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4223,7 +4244,7 @@ const re = (e, t) => {
4223
4244
  return h;
4224
4245
  let f = h;
4225
4246
  try {
4226
- f = Mi(h, l).format(s);
4247
+ f = Ni(h, l).format(s);
4227
4248
  } catch (c) {
4228
4249
  c instanceof Error && console.warn(
4229
4250
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4231,21 +4252,21 @@ const re = (e, t) => {
4231
4252
  );
4232
4253
  }
4233
4254
  return f;
4234
- }, Ni = (e, t) => Oi(t).format(e), Ri = (e, t) => Ai(t).format(e), $i = (e, t) => Ci(t).format(e), Ui = (e, t = $()) => tr(e, t), Gi = q([Z, ae], () => Li);
4235
- q([Z], () => Ni);
4236
- q([Z], () => Ri);
4237
- q([Z], () => $i);
4238
- q([Z, ae], () => Ui);
4255
+ }, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Li(t).format(e), Gi = (e, t) => Oi(t).format(e), Di = (e, t = R()) => rr(e, t), Fi = X([q, ae], () => $i);
4256
+ X([q], () => Ri);
4257
+ X([q], () => Ui);
4258
+ X([q], () => Gi);
4259
+ X([q, ae], () => Di);
4239
4260
  window.emWidgets = { topic: Jr };
4240
- const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4261
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
4262
  String(Number.MAX_SAFE_INTEGER).length;
4242
- function St(e, t) {
4243
- nr(e, t);
4263
+ function Pt(e, t) {
4264
+ ir(e, t);
4244
4265
  }
4245
- function Fi(e) {
4246
- Z.set(e);
4266
+ function ki(e) {
4267
+ q.set(e);
4247
4268
  }
4248
- const wt = {
4269
+ const Ht = {
4249
4270
  en: {
4250
4271
  name: "Info",
4251
4272
  amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
@@ -4307,13 +4328,13 @@ const wt = {
4307
4328
  defaultText: "When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."
4308
4329
  }
4309
4330
  };
4310
- function ji(e, t) {
4331
+ function Vi(e, t) {
4311
4332
  if (e) {
4312
4333
  const r = document.createElement("style");
4313
4334
  r.innerHTML = t, e.appendChild(r);
4314
4335
  }
4315
4336
  }
4316
- function ki(e, t) {
4337
+ function zi(e, t) {
4317
4338
  if (!e || !t)
4318
4339
  return;
4319
4340
  const r = new URL(t);
@@ -4324,7 +4345,7 @@ function ki(e, t) {
4324
4345
  console.error("There was an error while trying to load client styling from URL", n);
4325
4346
  });
4326
4347
  }
4327
- function Vi(e, t, r) {
4348
+ function Wi(e, t, r) {
4328
4349
  if (window.emMessageBus) {
4329
4350
  const n = document.createElement("style");
4330
4351
  window.emMessageBus.subscribe(t, (i) => {
@@ -4332,74 +4353,74 @@ function Vi(e, t, r) {
4332
4353
  });
4333
4354
  }
4334
4355
  }
4335
- function zi(e) {
4336
- mr(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
4356
+ function Xi(e) {
4357
+ br(e, "svelte-11p58yq", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}');
4337
4358
  }
4338
- function Pt(e) {
4359
+ function It(e) {
4339
4360
  let t, r, n, i, o, a, s = (
4340
4361
  /*$_*/
4341
4362
  e[4]("name") + ""
4342
- ), l, u, h, f, c, d, p, y;
4343
- function S(x, w) {
4363
+ ), l, u, h, f, c, p, d, g;
4364
+ function S(y, w) {
4344
4365
  return (
4345
4366
  /*iteminfoamount*/
4346
- x[0] ? Xi : Wi
4367
+ y[0] ? Zi : qi
4347
4368
  );
4348
4369
  }
4349
4370
  let H = S(e), E = H(e);
4350
4371
  return {
4351
4372
  c() {
4352
- t = A("section"), r = A("div"), n = A("div"), i = A("div"), i.textContent = "i", o = _e(), a = A("div"), l = oe(s), u = _e(), h = A("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = _e(), c = A("div"), E.c(), C(i, "class", "InfoCardPopupIcon"), C(a, "class", "InfoCardPopupTitle"), C(h, "class", "InfoCardPopupCloseButton"), C(n, "class", "InfoCardPopupHeader"), C(c, "class", "InfoCardPopupContentArea"), C(r, "class", d = "InfoCardPopupWrapper " + /*isMobile*/
4373
+ t = C("section"), r = C("div"), n = C("div"), i = C("div"), i.textContent = "i", o = Te(), a = C("div"), l = ie(s), u = Te(), h = C("div"), h.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', f = Te(), c = C("div"), E.c(), B(i, "class", "InfoCardPopupIcon"), B(a, "class", "InfoCardPopupTitle"), B(h, "class", "InfoCardPopupCloseButton"), B(n, "class", "InfoCardPopupHeader"), B(c, "class", "InfoCardPopupContentArea"), B(r, "class", p = "InfoCardPopupWrapper " + /*isMobile*/
4353
4374
  (e[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4354
- (e[0] ? "InfoCardPopupLimitChanged" : "")), C(
4375
+ (e[0] ? "InfoCardPopupLimitChanged" : "")), B(
4355
4376
  t,
4356
4377
  "class",
4357
4378
  /*isMobile*/
4358
4379
  e[5] ? "InfoCardPopupMobileModal" : ""
4359
4380
  );
4360
4381
  },
4361
- m(x, w) {
4362
- ie(x, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t), p || (y = yr(h, "click", xr(
4382
+ m(y, w) {
4383
+ ne(y, t, w), P(t, r), P(r, n), P(n, i), P(n, o), P(n, a), P(a, l), P(n, u), P(n, h), P(r, f), P(r, c), E.m(c, null), e[13](t), d || (g = xr(h, "click", _r(
4363
4384
  /*closeInfoPopup*/
4364
4385
  e[6]
4365
- )), p = !0);
4386
+ )), d = !0);
4366
4387
  },
4367
- p(x, w) {
4388
+ p(y, w) {
4368
4389
  w & /*$_*/
4369
4390
  16 && s !== (s = /*$_*/
4370
- x[4]("name") + "") && Xe(l, s), H === (H = S(x)) && E ? E.p(x, w) : (E.d(1), E = H(x), E && (E.c(), E.m(c, null))), w & /*iteminfoamount*/
4371
- 1 && d !== (d = "InfoCardPopupWrapper " + /*isMobile*/
4372
- (x[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4373
- (x[0] ? "InfoCardPopupLimitChanged" : "")) && C(r, "class", d);
4391
+ y[4]("name") + "") && Qe(l, s), H === (H = S(y)) && E ? E.p(y, w) : (E.d(1), E = H(y), E && (E.c(), E.m(c, null))), w & /*iteminfoamount*/
4392
+ 1 && p !== (p = "InfoCardPopupWrapper " + /*isMobile*/
4393
+ (y[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
4394
+ (y[0] ? "InfoCardPopupLimitChanged" : "")) && B(r, "class", p);
4374
4395
  },
4375
- d(x) {
4376
- x && X(t), E.d(), e[13](null), p = !1, y();
4396
+ d(y) {
4397
+ y && W(t), E.d(), e[13](null), d = !1, g();
4377
4398
  }
4378
4399
  };
4379
4400
  }
4380
- function Wi(e) {
4401
+ function qi(e) {
4381
4402
  let t, r = (
4382
4403
  /*$_*/
4383
4404
  e[4]("defaultText") + ""
4384
4405
  ), n;
4385
4406
  return {
4386
4407
  c() {
4387
- t = A("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
4408
+ t = C("p"), n = ie(r), B(t, "class", "InfoCardPopupContent");
4388
4409
  },
4389
4410
  m(i, o) {
4390
- ie(i, t, o), P(t, n);
4411
+ ne(i, t, o), P(t, n);
4391
4412
  },
4392
4413
  p(i, o) {
4393
4414
  o & /*$_*/
4394
4415
  16 && r !== (r = /*$_*/
4395
- i[4]("defaultText") + "") && Xe(n, r);
4416
+ i[4]("defaultText") + "") && Qe(n, r);
4396
4417
  },
4397
4418
  d(i) {
4398
- i && X(t);
4419
+ i && W(t);
4399
4420
  }
4400
4421
  };
4401
4422
  }
4402
- function Xi(e) {
4423
+ function Zi(e) {
4403
4424
  let t, r = (
4404
4425
  /*$_*/
4405
4426
  e[4]("amountChanged", {
@@ -4417,10 +4438,10 @@ function Xi(e) {
4417
4438
  ), n;
4418
4439
  return {
4419
4440
  c() {
4420
- t = A("p"), n = oe(r), C(t, "class", "InfoCardPopupContent");
4441
+ t = C("p"), n = ie(r), B(t, "class", "InfoCardPopupContent");
4421
4442
  },
4422
4443
  m(i, o) {
4423
- ie(i, t, o), P(t, n);
4444
+ ne(i, t, o), P(t, n);
4424
4445
  },
4425
4446
  p(i, o) {
4426
4447
  o & /*$_, iteminfoamount, currency*/
@@ -4436,87 +4457,87 @@ function Xi(e) {
4436
4457
  i[1]
4437
4458
  )
4438
4459
  }
4439
- }) + "") && Xe(n, r);
4460
+ }) + "") && Qe(n, r);
4440
4461
  },
4441
4462
  d(i) {
4442
- i && X(t);
4463
+ i && W(t);
4443
4464
  }
4444
4465
  };
4445
4466
  }
4446
- function qi(e) {
4467
+ function Yi(e) {
4447
4468
  let t, r = (
4448
4469
  /*showPopup*/
4449
- e[3] && Pt(e)
4470
+ e[3] && It(e)
4450
4471
  );
4451
4472
  return {
4452
4473
  c() {
4453
- r && r.c(), t = gr();
4474
+ r && r.c(), t = yr();
4454
4475
  },
4455
4476
  m(n, i) {
4456
- r && r.m(n, i), ie(n, t, i);
4477
+ r && r.m(n, i), ne(n, t, i);
4457
4478
  },
4458
4479
  p(n, [i]) {
4459
4480
  /*showPopup*/
4460
- n[3] ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4481
+ n[3] ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4461
4482
  },
4462
4483
  i: O,
4463
4484
  o: O,
4464
4485
  d(n) {
4465
- n && X(t), r && r.d(n);
4486
+ n && W(t), r && r.d(n);
4466
4487
  }
4467
4488
  };
4468
4489
  }
4469
- function Zi(e, t, r) {
4490
+ function Qi(e, t, r) {
4470
4491
  let n;
4471
- pr(e, Gi, (m) => r(4, n = m));
4492
+ mr(e, Fi, (m) => r(4, n = m));
4472
4493
  let { showpopup: i = "" } = t, { iteminfoamount: o = "" } = t, { lang: a = "en" } = t, { currency: s = "USD" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t;
4473
4494
  const c = () => {
4474
- fetch(h).then((B) => B.json()).then((B) => {
4475
- Object.keys(B).forEach((Q) => {
4476
- St(Q, B[Q]);
4495
+ fetch(h).then((A) => A.json()).then((A) => {
4496
+ Object.keys(A).forEach((Y) => {
4497
+ Pt(Y, A[Y]);
4477
4498
  });
4478
- }).catch((B) => {
4479
- console.log(B);
4499
+ }).catch((A) => {
4500
+ console.log(A);
4480
4501
  });
4481
4502
  };
4482
- Object.keys(wt).forEach((m) => {
4483
- St(m, wt[m]);
4503
+ Object.keys(Ht).forEach((m) => {
4504
+ Pt(m, Ht[m]);
4484
4505
  });
4485
- let d = !1, p, y = window.navigator.userAgent, S = Di(y) !== "PC";
4506
+ let p = !1, d, g = window.navigator.userAgent, S = ji(g) !== "PC";
4486
4507
  const H = () => {
4487
- r(3, d = !1), window.postMessage(
4508
+ r(3, p = !1), window.postMessage(
4488
4509
  {
4489
4510
  type: "ClosePlayerAccountGamingLimitsPopup"
4490
4511
  },
4491
4512
  window.location.href
4492
4513
  );
4493
4514
  }, E = (m) => {
4494
- m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, d = !1);
4495
- }, x = () => {
4496
- Fi(a), o < 0 && r(0, o = "0"), r(3, d = i);
4515
+ m.data && m.data.type == "ClosePlayerAccountGamingLimitsPopup" && r(3, p = !1);
4516
+ }, y = () => {
4517
+ ki(a), o < 0 && r(0, o = "0"), r(3, p = i);
4497
4518
  };
4498
- Sr(() => (window.addEventListener("message", E, !1), () => {
4519
+ wr(() => (window.addEventListener("message", E, !1), () => {
4499
4520
  window.removeEventListener("message", E);
4500
4521
  }));
4501
4522
  function w(m) {
4502
- Ce[m ? "unshift" : "push"](() => {
4503
- p = m, r(2, p);
4523
+ Oe[m ? "unshift" : "push"](() => {
4524
+ d = m, r(2, d);
4504
4525
  });
4505
4526
  }
4506
4527
  return e.$$set = (m) => {
4507
4528
  "showpopup" in m && r(7, i = m.showpopup), "iteminfoamount" in m && r(0, o = m.iteminfoamount), "lang" in m && r(8, a = m.lang), "currency" in m && r(1, s = m.currency), "clientstyling" in m && r(9, l = m.clientstyling), "clientstylingurl" in m && r(10, u = m.clientstylingurl), "translationurl" in m && r(11, h = m.translationurl), "mbsource" in m && r(12, f = m.mbsource);
4508
4529
  }, e.$$.update = () => {
4509
4530
  e.$$.dirty & /*showpopup, lang*/
4510
- 384 && i && a && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4511
- 516 && l && p && ji(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4512
- 1028 && u && p && ki(p, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4513
- 4100 && f && p && Vi(p, `${f}.Style`), e.$$.dirty & /*translationurl*/
4531
+ 384 && i && a && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4532
+ 516 && l && d && Vi(d, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4533
+ 1028 && u && d && zi(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4534
+ 4100 && f && d && Wi(d, `${f}.Style`), e.$$.dirty & /*translationurl*/
4514
4535
  2048 && h && c();
4515
4536
  }, [
4516
4537
  o,
4517
4538
  s,
4518
- p,
4519
4539
  d,
4540
+ p,
4520
4541
  n,
4521
4542
  S,
4522
4543
  H,
@@ -4529,14 +4550,14 @@ function Zi(e, t, r) {
4529
4550
  w
4530
4551
  ];
4531
4552
  }
4532
- class Yi extends Rr {
4553
+ class Ji extends Rr {
4533
4554
  constructor(t) {
4534
- super(), Lr(
4555
+ super(), Nr(
4535
4556
  this,
4536
4557
  t,
4537
- Zi,
4538
- qi,
4539
- It,
4558
+ Qi,
4559
+ Yi,
4560
+ Bt,
4540
4561
  {
4541
4562
  showpopup: 7,
4542
4563
  iteminfoamount: 0,
@@ -4547,59 +4568,59 @@ class Yi extends Rr {
4547
4568
  translationurl: 11,
4548
4569
  mbsource: 12
4549
4570
  },
4550
- zi
4571
+ Xi
4551
4572
  );
4552
4573
  }
4553
4574
  get showpopup() {
4554
4575
  return this.$$.ctx[7];
4555
4576
  }
4556
4577
  set showpopup(t) {
4557
- this.$$set({ showpopup: t }), M();
4578
+ this.$$set({ showpopup: t }), L();
4558
4579
  }
4559
4580
  get iteminfoamount() {
4560
4581
  return this.$$.ctx[0];
4561
4582
  }
4562
4583
  set iteminfoamount(t) {
4563
- this.$$set({ iteminfoamount: t }), M();
4584
+ this.$$set({ iteminfoamount: t }), L();
4564
4585
  }
4565
4586
  get lang() {
4566
4587
  return this.$$.ctx[8];
4567
4588
  }
4568
4589
  set lang(t) {
4569
- this.$$set({ lang: t }), M();
4590
+ this.$$set({ lang: t }), L();
4570
4591
  }
4571
4592
  get currency() {
4572
4593
  return this.$$.ctx[1];
4573
4594
  }
4574
4595
  set currency(t) {
4575
- this.$$set({ currency: t }), M();
4596
+ this.$$set({ currency: t }), L();
4576
4597
  }
4577
4598
  get clientstyling() {
4578
4599
  return this.$$.ctx[9];
4579
4600
  }
4580
4601
  set clientstyling(t) {
4581
- this.$$set({ clientstyling: t }), M();
4602
+ this.$$set({ clientstyling: t }), L();
4582
4603
  }
4583
4604
  get clientstylingurl() {
4584
4605
  return this.$$.ctx[10];
4585
4606
  }
4586
4607
  set clientstylingurl(t) {
4587
- this.$$set({ clientstylingurl: t }), M();
4608
+ this.$$set({ clientstylingurl: t }), L();
4588
4609
  }
4589
4610
  get translationurl() {
4590
4611
  return this.$$.ctx[11];
4591
4612
  }
4592
4613
  set translationurl(t) {
4593
- this.$$set({ translationurl: t }), M();
4614
+ this.$$set({ translationurl: t }), L();
4594
4615
  }
4595
4616
  get mbsource() {
4596
4617
  return this.$$.ctx[12];
4597
4618
  }
4598
4619
  set mbsource(t) {
4599
- this.$$set({ mbsource: t }), M();
4620
+ this.$$set({ mbsource: t }), L();
4600
4621
  }
4601
4622
  }
4602
- Nr(Yi, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4623
+ $r(Ji, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4603
4624
  export {
4604
- Yi as default
4625
+ Ji as default
4605
4626
  };