@everymatrix/casino-categories 1.65.2 → 1.65.3

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,26 +1,26 @@
1
- import "../stencil/ui-image-CmwNU-jf.js";
1
+ import "../stencil/ui-image-D_Js9Evk.js";
2
2
  function N() {
3
3
  }
4
- function bt(e) {
4
+ function pt(e) {
5
5
  return e();
6
6
  }
7
- function Qe() {
7
+ function Ze() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ue(e) {
11
- e.forEach(bt);
10
+ function ae(e) {
11
+ e.forEach(pt);
12
12
  }
13
- function Xe(e) {
13
+ function ke(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function yt(e, t) {
16
+ function bt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- let fe;
20
- function be(e, t) {
21
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
19
+ let le;
20
+ function pe(e, t) {
21
+ return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
22
22
  }
23
- function Zt(e) {
23
+ function Wt(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
26
  function _t(e, ...t) {
@@ -32,20 +32,20 @@ function _t(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function Qt(e, t, r) {
35
+ function Zt(e, t, r) {
36
36
  e.$$.on_destroy.push(_t(t, r));
37
37
  }
38
- function x(e, t) {
38
+ function v(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function Jt(e, t, r) {
42
- const n = qt(e);
41
+ function Qt(e, t, r) {
42
+ const n = Jt(e);
43
43
  if (!n.getElementById(t)) {
44
- const i = B("style");
45
- i.id = t, i.textContent = r, Yt(n, i);
44
+ const i = S("style");
45
+ i.id = t, i.textContent = r, qt(n, i);
46
46
  }
47
47
  }
48
- function qt(e) {
48
+ function Jt(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,33 +55,33 @@ function qt(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function Yt(e, t) {
59
- return x(
58
+ function qt(e, t) {
59
+ return v(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function K(e, t, r) {
65
+ function Y(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
- function k(e) {
68
+ function j(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Je(e, t) {
71
+ function Qe(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
- function B(e) {
75
+ function S(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function G(e) {
78
+ function U(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
- function U() {
82
- return G(" ");
81
+ function R() {
82
+ return U(" ");
83
83
  }
84
- function Et(e, t, r, n) {
84
+ function yt(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
87
  function L(e, t, r) {
@@ -91,14 +91,14 @@ function $(e, t, r) {
91
91
  const n = t.toLowerCase();
92
92
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
93
93
  }
94
- function Kt(e) {
94
+ function Yt(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function F(e, t) {
97
+ function D(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function er(e) {
101
+ function Kt(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -107,98 +107,98 @@ function er(e) {
107
107
  }
108
108
  ), t;
109
109
  }
110
- let oe;
111
- function ie(e) {
112
- oe = e;
110
+ let ie;
111
+ function ne(e) {
112
+ ie = e;
113
113
  }
114
- function tr() {
115
- if (!oe)
114
+ function er() {
115
+ if (!ie)
116
116
  throw new Error("Function called outside component initialization");
117
- return oe;
117
+ return ie;
118
118
  }
119
- function rr(e) {
120
- tr().$$.on_mount.push(e);
119
+ function tr(e) {
120
+ er().$$.on_mount.push(e);
121
121
  }
122
- const W = [], Le = [];
123
- let Z = [];
124
- const qe = [], nr = /* @__PURE__ */ Promise.resolve();
125
- let Ie = !1;
126
- function ir() {
127
- Ie || (Ie = !0, nr.then(I));
122
+ const z = [], Pe = [];
123
+ let W = [];
124
+ const Je = [], rr = /* @__PURE__ */ Promise.resolve();
125
+ let Ne = !1;
126
+ function nr() {
127
+ Ne || (Ne = !0, rr.then(I));
128
128
  }
129
- function Me(e) {
130
- Z.push(e);
129
+ function Le(e) {
130
+ W.push(e);
131
131
  }
132
- const Se = /* @__PURE__ */ new Set();
133
- let X = 0;
132
+ const Ce = /* @__PURE__ */ new Set();
133
+ let V = 0;
134
134
  function I() {
135
- if (X !== 0)
135
+ if (V !== 0)
136
136
  return;
137
- const e = oe;
137
+ const e = ie;
138
138
  do {
139
139
  try {
140
- for (; X < W.length; ) {
141
- const t = W[X];
142
- X++, ie(t), or(t.$$);
140
+ for (; V < z.length; ) {
141
+ const t = z[V];
142
+ V++, ne(t), ir(t.$$);
143
143
  }
144
144
  } catch (t) {
145
- throw W.length = 0, X = 0, t;
145
+ throw z.length = 0, V = 0, t;
146
146
  }
147
- for (ie(null), W.length = 0, X = 0; Le.length; )
148
- Le.pop()();
149
- for (let t = 0; t < Z.length; t += 1) {
150
- const r = Z[t];
151
- Se.has(r) || (Se.add(r), r());
147
+ for (ne(null), z.length = 0, V = 0; Pe.length; )
148
+ Pe.pop()();
149
+ for (let t = 0; t < W.length; t += 1) {
150
+ const r = W[t];
151
+ Ce.has(r) || (Ce.add(r), r());
152
152
  }
153
- Z.length = 0;
154
- } while (W.length);
155
- for (; qe.length; )
156
- qe.pop()();
157
- Ie = !1, Se.clear(), ie(e);
153
+ W.length = 0;
154
+ } while (z.length);
155
+ for (; Je.length; )
156
+ Je.pop()();
157
+ Ne = !1, Ce.clear(), ne(e);
158
158
  }
159
- function or(e) {
159
+ function ir(e) {
160
160
  if (e.fragment !== null) {
161
- e.update(), ue(e.before_update);
161
+ e.update(), ae(e.before_update);
162
162
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
164
164
  }
165
165
  }
166
166
  function sr(e) {
167
167
  const t = [], r = [];
168
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
168
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
169
169
  }
170
- const ar = /* @__PURE__ */ new Set();
171
- function ur(e, t) {
172
- e && e.i && (ar.delete(e), e.i(t));
170
+ const or = /* @__PURE__ */ new Set();
171
+ function ar(e, t) {
172
+ e && e.i && (or.delete(e), e.i(t));
173
173
  }
174
- function ce(e) {
174
+ function fe(e) {
175
175
  return e?.length !== void 0 ? e : Array.from(e);
176
176
  }
177
- function hr(e, t, r) {
177
+ function ur(e, t, r) {
178
178
  const { fragment: n, after_update: i } = e.$$;
179
- n && n.m(t, r), Me(() => {
180
- const o = e.$$.on_mount.map(bt).filter(Xe);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
182
- }), i.forEach(Me);
179
+ n && n.m(t, r), Le(() => {
180
+ const s = e.$$.on_mount.map(pt).filter(ke);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
182
+ }), i.forEach(Le);
183
183
  }
184
- function lr(e, t) {
184
+ function hr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (sr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (sr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function fr(e, t) {
189
- e.$$.dirty[0] === -1 && (W.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function lr(e, t) {
189
+ e.$$.dirty[0] === -1 && (z.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function cr(e, t, r, n, i, o, s = null, u = [-1]) {
192
- const l = oe;
193
- ie(e);
191
+ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
192
+ const l = ie;
193
+ ne(e);
194
194
  const a = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
197
197
  // state
198
- props: o,
198
+ props: s,
199
199
  update: N,
200
200
  not_equal: i,
201
- bound: Qe(),
201
+ bound: Ze(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,25 +207,25 @@ function cr(e, t, r, n, i, o, s = null, u = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (l ? l.$$.context : [])),
209
209
  // everything else
210
- callbacks: Qe(),
210
+ callbacks: Ze(),
211
211
  dirty: u,
212
212
  skip_bound: !1,
213
213
  root: t.target || l.$$.root
214
214
  };
215
- s && s(a.root);
215
+ o && o(a.root);
216
216
  let h = !1;
217
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
218
- const d = p.length ? p[0] : f;
219
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && fr(e, c)), f;
220
- }) : [], a.update(), h = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
217
+ if (a.ctx = r(e, t.props || {}, (c, f, ...d) => {
218
+ const p = d.length ? d[0] : f;
219
+ return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), h && lr(e, c)), f;
220
+ }), a.update(), h = !0, ae(a.before_update), a.fragment = n(a.ctx), t.target) {
221
221
  if (t.hydrate) {
222
- const c = Kt(t.target);
223
- a.fragment && a.fragment.l(c), c.forEach(k);
222
+ const c = Yt(t.target);
223
+ a.fragment && a.fragment.l(c), c.forEach(j);
224
224
  } else
225
225
  a.fragment && a.fragment.c();
226
- t.intro && ur(e.$$.fragment), hr(e, t.target, t.anchor), I();
226
+ t.intro && ar(e.$$.fragment), ur(e, t.target, t.anchor), I();
227
227
  }
228
- ie(l);
228
+ ne(l);
229
229
  }
230
230
  let xt;
231
231
  typeof HTMLElement == "function" && (xt = class extends HTMLElement {
@@ -267,32 +267,32 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
267
267
  if (this.$$cn = !0, !this.$$c) {
268
268
  let e = function(i) {
269
269
  return () => {
270
- let o;
270
+ let s;
271
271
  return {
272
272
  c: function() {
273
- o = B("slot"), i !== "default" && L(o, "name", i);
273
+ s = S("slot"), i !== "default" && L(s, "name", i);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
277
277
  * @param {HTMLElement} [anchor]
278
278
  */
279
279
  m: function(l, a) {
280
- K(l, o, a);
280
+ Y(l, s, a);
281
281
  },
282
282
  d: function(l) {
283
- l && k(o);
283
+ l && j(s);
284
284
  }
285
285
  };
286
286
  };
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, r = er(this);
290
+ const t = {}, r = Kt(this);
291
291
  for (const i of this.$$s)
292
292
  i in r && (t[i] = [e(i)]);
293
293
  for (const i of this.attributes) {
294
- const o = this.$$g_p(i.name);
295
- o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
294
+ const s = this.$$g_p(i.name);
295
+ s in this.$$d || (this.$$d[s] = ge(s, i.value, this.$$p_d, "toProp"));
296
296
  }
297
297
  for (const i in this.$$p_d)
298
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -310,21 +310,21 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
310
310
  this.$$r = !0;
311
311
  for (const i in this.$$p_d)
312
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
- const o = me(
313
+ const s = ge(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
317
317
  "toAttribute"
318
318
  );
319
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
319
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
320
320
  }
321
321
  this.$$r = !1;
322
322
  };
323
323
  this.$$c.$$.after_update.push(n), n();
324
324
  for (const i in this.$$l)
325
- for (const o of this.$$l[i]) {
326
- const s = this.$$c.$on(i, o);
327
- this.$$l_u.set(o, s);
325
+ for (const s of this.$$l[i]) {
326
+ const o = this.$$c.$on(i, s);
327
+ this.$$l_u.set(s, o);
328
328
  }
329
329
  this.$$l = {};
330
330
  }
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
332
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
333
  // and setting attributes through setAttribute etc, this is helpful
334
334
  attributeChangedCallback(e, t, r) {
335
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
336
  }
337
337
  disconnectedCallback() {
338
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function me(e, t, r, n) {
348
+ function ge(e, t, r, n) {
349
349
  const i = r[e]?.type;
350
350
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
351
351
  return t;
@@ -374,8 +374,8 @@ function me(e, t, r, n) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function gr(e, t, r, n, i, o) {
378
- let s = class extends xt {
377
+ function cr(e, t, r, n, i, s) {
378
+ let o = class extends xt {
379
379
  constructor() {
380
380
  super(e, r, i), this.$$p_d = t;
381
381
  }
@@ -386,24 +386,24 @@ function gr(e, t, r, n, i, o) {
386
386
  }
387
387
  };
388
388
  return Object.keys(t).forEach((u) => {
389
- Object.defineProperty(s.prototype, u, {
389
+ Object.defineProperty(o.prototype, u, {
390
390
  get() {
391
391
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
392
392
  },
393
393
  set(l) {
394
- l = me(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
394
+ l = ge(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
395
395
  }
396
396
  });
397
397
  }), n.forEach((u) => {
398
- Object.defineProperty(s.prototype, u, {
398
+ Object.defineProperty(o.prototype, u, {
399
399
  get() {
400
400
  return this.$$c?.[u];
401
401
  }
402
402
  });
403
403
  }), e.element = /** @type {any} */
404
- s, s;
404
+ o, o;
405
405
  }
406
- class mr {
406
+ class gr {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class mr {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- lr(this, 1), this.$destroy = N;
425
+ hr(this, 1), this.$destroy = N;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -431,7 +431,7 @@ class mr {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!Xe(r))
434
+ if (!ke(r))
435
435
  return N;
436
436
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return n.push(r), () => {
@@ -444,49 +444,49 @@ class mr {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const pr = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
452
- const z = [];
450
+ const mr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
452
+ const X = [];
453
453
  function dr(e, t) {
454
454
  return {
455
- subscribe: xe(e, t).subscribe
455
+ subscribe: ye(e, t).subscribe
456
456
  };
457
457
  }
458
- function xe(e, t = N) {
458
+ function ye(e, t = N) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(u) {
462
- if (yt(e, u) && (e = u, r)) {
463
- const l = !z.length;
462
+ if (bt(e, u) && (e = u, r)) {
463
+ const l = !X.length;
464
464
  for (const a of n)
465
- a[1](), z.push(a, e);
465
+ a[1](), X.push(a, e);
466
466
  if (l) {
467
- for (let a = 0; a < z.length; a += 2)
468
- z[a][0](z[a + 1]);
469
- z.length = 0;
467
+ for (let a = 0; a < X.length; a += 2)
468
+ X[a][0](X[a + 1]);
469
+ X.length = 0;
470
470
  }
471
471
  }
472
472
  }
473
- function o(u) {
473
+ function s(u) {
474
474
  i(u(e));
475
475
  }
476
- function s(u, l = N) {
476
+ function o(u, l = N) {
477
477
  const a = [u, l];
478
- return n.add(a), n.size === 1 && (r = t(i, o) || N), u(e), () => {
478
+ return n.add(a), n.size === 1 && (r = t(i, s) || N), u(e), () => {
479
479
  n.delete(a), n.size === 0 && r && (r(), r = null);
480
480
  };
481
481
  }
482
- return { set: i, update: o, subscribe: s };
482
+ return { set: i, update: s, subscribe: o };
483
483
  }
484
- function ee(e, t, r) {
484
+ function K(e, t, r) {
485
485
  const n = !Array.isArray(e), i = n ? [e] : e;
486
486
  if (!i.every(Boolean))
487
487
  throw new Error("derived() expects stores as input, got a falsy value");
488
- const o = t.length < 2;
489
- return dr(r, (s, u) => {
488
+ const s = t.length < 2;
489
+ return dr(r, (o, u) => {
490
490
  let l = !1;
491
491
  const a = [];
492
492
  let h = 0, c = N;
@@ -494,11 +494,11 @@ function ee(e, t, r) {
494
494
  if (h)
495
495
  return;
496
496
  c();
497
- const d = t(n ? a[0] : a, s, u);
498
- o ? s(d) : c = Xe(d) ? d : N;
499
- }, p = i.map(
500
- (d, g) => _t(
501
- d,
497
+ const p = t(n ? a[0] : a, o, u);
498
+ s ? o(p) : c = ke(p) ? p : N;
499
+ }, d = i.map(
500
+ (p, g) => _t(
501
+ p,
502
502
  (E) => {
503
503
  a[g] = E, h &= ~(1 << g), l && f();
504
504
  },
@@ -508,53 +508,53 @@ function ee(e, t, r) {
508
508
  )
509
509
  );
510
510
  return l = !0, f(), function() {
511
- ue(p), c(), l = !1;
511
+ ae(d), c(), l = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function br(e) {
516
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
515
+ function pr(e) {
516
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
- var yr = function(t) {
519
- return _r(t) && !Er(t);
518
+ var br = function(t) {
519
+ return _r(t) && !yr(t);
520
520
  };
521
521
  function _r(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function Er(e) {
524
+ function yr(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
- return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
526
+ return t === "[object RegExp]" || t === "[object Date]" || vr(e);
527
527
  }
528
- var xr = typeof Symbol == "function" && Symbol.for, vr = xr ? Symbol.for("react.element") : 60103;
529
- function Tr(e) {
530
- return e.$$typeof === vr;
528
+ var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
529
+ function vr(e) {
530
+ return e.$$typeof === Er;
531
531
  }
532
- function Cr(e) {
532
+ function Tr(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
535
  function se(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Cr(e), e, t) : e;
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Tr(e), e, t) : e;
537
537
  }
538
- function Hr(e, t, r) {
538
+ function Cr(e, t, r) {
539
539
  return e.concat(t).map(function(n) {
540
540
  return se(n, r);
541
541
  });
542
542
  }
543
- function Sr(e, t) {
543
+ function Hr(e, t) {
544
544
  if (!t.customMerge)
545
- return Q;
545
+ return Z;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : Q;
547
+ return typeof r == "function" ? r : Z;
548
548
  }
549
549
  function Ar(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
551
551
  return Object.propertyIsEnumerable.call(e, t);
552
552
  }) : [];
553
553
  }
554
- function Ye(e) {
554
+ function qe(e) {
555
555
  return Object.keys(e).concat(Ar(e));
556
556
  }
557
- function vt(e, t) {
557
+ function Et(e, t) {
558
558
  try {
559
559
  return t in e;
560
560
  } catch {
@@ -562,58 +562,72 @@ function vt(e, t) {
562
562
  }
563
563
  }
564
564
  function Br(e, t) {
565
- return vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
565
+ return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
566
  }
567
- function Or(e, t, r) {
567
+ function Sr(e, t, r) {
568
568
  var n = {};
569
- return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
569
+ return r.isMergeableObject(e) && qe(e).forEach(function(i) {
570
570
  n[i] = se(e[i], r);
571
- }), Ye(t).forEach(function(i) {
572
- Br(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
571
+ }), qe(t).forEach(function(i) {
572
+ Br(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
573
573
  }), n;
574
574
  }
575
- function Q(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = se;
577
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
578
- return o ? n ? r.arrayMerge(e, t, r) : Or(e, t, r) : se(t, r);
575
+ function Z(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = se;
577
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
578
+ return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : se(t, r);
579
579
  }
580
- Q.all = function(t, r) {
580
+ Z.all = function(t, r) {
581
581
  if (!Array.isArray(t))
582
582
  throw new Error("first argument should be an array");
583
583
  return t.reduce(function(n, i) {
584
- return Q(n, i, r);
584
+ return Z(n, i, r);
585
585
  }, {});
586
586
  };
587
- var wr = Q, Pr = wr;
588
- const Nr = /* @__PURE__ */ br(Pr);
589
- var $e = function(e, t) {
590
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
+ var wr = Z, Or = wr;
588
+ const Pr = /* @__PURE__ */ pr(Or);
589
+ /*! *****************************************************************************
590
+ Copyright (c) Microsoft Corporation.
591
+
592
+ Permission to use, copy, modify, and/or distribute this software for any
593
+ purpose with or without fee is hereby granted.
594
+
595
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
+ PERFORMANCE OF THIS SOFTWARE.
602
+ ***************************************************************************** */
603
+ var Ie = function(e, t) {
604
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
591
605
  r.__proto__ = n;
592
606
  } || function(r, n) {
593
607
  for (var i in n)
594
608
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
595
- }, $e(e, t);
609
+ }, Ie(e, t);
596
610
  };
597
- function ve(e, t) {
611
+ function xe(e, t) {
598
612
  if (typeof t != "function" && t !== null)
599
613
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
600
- $e(e, t);
614
+ Ie(e, t);
601
615
  function r() {
602
616
  this.constructor = e;
603
617
  }
604
618
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
605
619
  }
606
- var R = function() {
607
- return R = Object.assign || function(t) {
620
+ var x = function() {
621
+ return x = Object.assign || function(t) {
608
622
  for (var r, n = 1, i = arguments.length; n < i; n++) {
609
623
  r = arguments[n];
610
- for (var o in r)
611
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
624
+ for (var s in r)
625
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
612
626
  }
613
627
  return t;
614
- }, R.apply(this, arguments);
628
+ }, x.apply(this, arguments);
615
629
  };
616
- function Lr(e, t) {
630
+ function Nr(e, t) {
617
631
  var r = {};
618
632
  for (var n in e)
619
633
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -622,43 +636,46 @@ function Lr(e, t) {
622
636
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
623
637
  return r;
624
638
  }
625
- function Ae(e, t, r) {
626
- if (r || arguments.length === 2)
627
- for (var n = 0, i = t.length, o; n < i; n++)
628
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
629
- return e.concat(o || Array.prototype.slice.call(t));
639
+ function He(e, t, r) {
640
+ if (arguments.length === 2)
641
+ for (var n = 0, i = t.length, s; n < i; n++)
642
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
643
+ return e.concat(s || t);
630
644
  }
631
- function Be(e, t) {
632
- var r = t && t.cache ? t.cache : Dr, n = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : $r;
645
+ function Ae(e, t) {
646
+ var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Ir;
633
647
  return i(e, {
634
648
  cache: r,
635
649
  serializer: n
636
650
  });
637
651
  }
638
- function Ir(e) {
652
+ function Lr(e) {
639
653
  return e == null || typeof e == "number" || typeof e == "boolean";
640
654
  }
641
- function Mr(e, t, r, n) {
642
- var i = Ir(n) ? n : r(n), o = t.get(i);
643
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
655
+ function vt(e, t, r, n) {
656
+ var i = Lr(n) ? n : r(n), s = t.get(i);
657
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
644
658
  }
645
659
  function Tt(e, t, r) {
646
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
647
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
660
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
661
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
648
662
  }
649
- function Ct(e, t, r, n, i) {
663
+ function Ve(e, t, r, n, i) {
650
664
  return r.bind(t, e, n, i);
651
665
  }
652
- function $r(e, t) {
653
- var r = e.length === 1 ? Mr : Tt;
654
- return Ct(e, this, r, t.cache.create(), t.serializer);
666
+ function Ir(e, t) {
667
+ var r = e.length === 1 ? vt : Tt;
668
+ return Ve(e, this, r, t.cache.create(), t.serializer);
669
+ }
670
+ function Mr(e, t) {
671
+ return Ve(e, this, Tt, t.cache.create(), t.serializer);
655
672
  }
656
- function Rr(e, t) {
657
- return Ct(e, this, Tt, t.cache.create(), t.serializer);
673
+ function $r(e, t) {
674
+ return Ve(e, this, vt, t.cache.create(), t.serializer);
658
675
  }
659
- var Ur = function() {
676
+ var Rr = function() {
660
677
  return JSON.stringify(arguments);
661
- }, Gr = (
678
+ }, Ur = (
662
679
  /** @class */
663
680
  function() {
664
681
  function e() {
@@ -670,71 +687,62 @@ var Ur = function() {
670
687
  this.cache[t] = r;
671
688
  }, e;
672
689
  }()
673
- ), Dr = {
690
+ ), Gr = {
674
691
  create: function() {
675
- return new Gr();
692
+ return new Ur();
676
693
  }
677
- }, Oe = {
678
- variadic: Rr
679
- }, ye = function() {
680
- return ye = Object.assign || function(t) {
681
- for (var r, n = 1, i = arguments.length; n < i; n++) {
682
- r = arguments[n];
683
- for (var o in r)
684
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
685
- }
686
- return t;
687
- }, ye.apply(this, arguments);
688
- };
689
- var y;
694
+ }, Be = {
695
+ variadic: Mr,
696
+ monadic: $r
697
+ }, _;
690
698
  (function(e) {
691
699
  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";
692
- })(y || (y = {}));
693
- var v;
700
+ })(_ || (_ = {}));
701
+ var T;
694
702
  (function(e) {
695
703
  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";
696
- })(v || (v = {}));
697
- var J;
704
+ })(T || (T = {}));
705
+ var Q;
698
706
  (function(e) {
699
707
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
700
- })(J || (J = {}));
701
- function Ke(e) {
702
- return e.type === v.literal;
708
+ })(Q || (Q = {}));
709
+ function Ye(e) {
710
+ return e.type === T.literal;
703
711
  }
704
- function Fr(e) {
705
- return e.type === v.argument;
712
+ function Dr(e) {
713
+ return e.type === T.argument;
706
714
  }
707
- function Ht(e) {
708
- return e.type === v.number;
715
+ function Ct(e) {
716
+ return e.type === T.number;
709
717
  }
710
- function St(e) {
711
- return e.type === v.date;
718
+ function Ht(e) {
719
+ return e.type === T.date;
712
720
  }
713
721
  function At(e) {
714
- return e.type === v.time;
722
+ return e.type === T.time;
715
723
  }
716
724
  function Bt(e) {
717
- return e.type === v.select;
725
+ return e.type === T.select;
718
726
  }
719
- function Ot(e) {
720
- return e.type === v.plural;
727
+ function St(e) {
728
+ return e.type === T.plural;
721
729
  }
722
- function jr(e) {
723
- return e.type === v.pound;
730
+ function Fr(e) {
731
+ return e.type === T.pound;
724
732
  }
725
733
  function wt(e) {
726
- return e.type === v.tag;
734
+ return e.type === T.tag;
727
735
  }
728
- function Pt(e) {
729
- return !!(e && typeof e == "object" && e.type === J.number);
736
+ function Ot(e) {
737
+ return !!(e && typeof e == "object" && e.type === Q.number);
730
738
  }
731
- function Re(e) {
732
- return !!(e && typeof e == "object" && e.type === J.dateTime);
739
+ function Me(e) {
740
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
733
741
  }
734
- var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
735
- function Vr(e) {
742
+ var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[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;
743
+ function kr(e) {
736
744
  var t = {};
737
- return e.replace(kr, function(r) {
745
+ return e.replace(jr, function(r) {
738
746
  var n = r.length;
739
747
  switch (r[0]) {
740
748
  case "G":
@@ -823,27 +831,17 @@ function Vr(e) {
823
831
  return "";
824
832
  }), t;
825
833
  }
826
- var C = function() {
827
- return C = Object.assign || function(t) {
828
- for (var r, n = 1, i = arguments.length; n < i; n++) {
829
- r = arguments[n];
830
- for (var o in r)
831
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
832
- }
833
- return t;
834
- }, C.apply(this, arguments);
835
- };
836
- var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function zr(e) {
834
+ var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
835
+ function Xr(e) {
838
836
  if (e.length === 0)
839
837
  throw new Error("Number skeleton cannot be empty");
840
- for (var t = e.split(Xr).filter(function(f) {
838
+ for (var t = e.split(Vr).filter(function(f) {
841
839
  return f.length > 0;
842
840
  }), r = [], n = 0, i = t; n < i.length; n++) {
843
- var o = i[n], s = o.split("/");
844
- if (s.length === 0)
841
+ var s = i[n], o = s.split("/");
842
+ if (o.length === 0)
845
843
  throw new Error("Invalid number skeleton");
846
- for (var u = s[0], l = s.slice(1), a = 0, h = l; a < h.length; a++) {
844
+ for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
847
845
  var c = h[a];
848
846
  if (c.length === 0)
849
847
  throw new Error("Invalid number skeleton");
@@ -852,17 +850,17 @@ function zr(e) {
852
850
  }
853
851
  return r;
854
852
  }
855
- function Wr(e) {
853
+ function zr(e) {
856
854
  return e.replace(/^(.*?)-/, "");
857
855
  }
858
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
859
- function tt(e) {
856
+ var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, Lt = /^(0+)$/;
857
+ function et(e) {
860
858
  var t = {};
861
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lt, function(r, n, i) {
859
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
862
860
  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)), "";
863
861
  }), t;
864
862
  }
865
- function Mt(e) {
863
+ function It(e) {
866
864
  switch (e) {
867
865
  case "sign-auto":
868
866
  return {
@@ -902,7 +900,7 @@ function Mt(e) {
902
900
  };
903
901
  }
904
902
  }
905
- function Qr(e) {
903
+ function Zr(e) {
906
904
  var t;
907
905
  if (e[0] === "E" && e[1] === "E" ? (t = {
908
906
  notation: "engineering"
@@ -910,17 +908,17 @@ function Qr(e) {
910
908
  notation: "scientific"
911
909
  }, e = e.slice(1)), t) {
912
910
  var r = e.slice(0, 2);
913
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !It.test(e))
911
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lt.test(e))
914
912
  throw new Error("Malformed concise eng/scientific notation");
915
913
  t.minimumIntegerDigits = e.length;
916
914
  }
917
915
  return t;
918
916
  }
919
- function rt(e) {
920
- var t = {}, r = Mt(e);
917
+ function tt(e) {
918
+ var t = {}, r = It(e);
921
919
  return r || t;
922
920
  }
923
- function Jr(e) {
921
+ function Qr(e) {
924
922
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
925
923
  var i = n[r];
926
924
  switch (i.stem) {
@@ -944,7 +942,7 @@ function Jr(e) {
944
942
  continue;
945
943
  case "measure-unit":
946
944
  case "unit":
947
- t.style = "unit", t.unit = Wr(i.options[0]);
945
+ t.style = "unit", t.unit = zr(i.options[0]);
948
946
  continue;
949
947
  case "compact-short":
950
948
  case "K":
@@ -955,13 +953,13 @@ function Jr(e) {
955
953
  t.notation = "compact", t.compactDisplay = "long";
956
954
  continue;
957
955
  case "scientific":
958
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
959
- return C(C({}, l), rt(a));
956
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
957
+ return x(x({}, l), tt(a));
960
958
  }, {}));
961
959
  continue;
962
960
  case "engineering":
963
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
964
- return C(C({}, l), rt(a));
961
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
962
+ return x(x({}, l), tt(a));
965
963
  }, {}));
966
964
  continue;
967
965
  case "notation-simple":
@@ -1006,45 +1004,45 @@ function Jr(e) {
1006
1004
  case "integer-width":
1007
1005
  if (i.options.length > 1)
1008
1006
  throw new RangeError("integer-width stems only accept a single optional option");
1009
- i.options[0].replace(Zr, function(l, a, h, c, f, p) {
1007
+ i.options[0].replace(Wr, function(l, a, h, c, f, d) {
1010
1008
  if (a)
1011
1009
  t.minimumIntegerDigits = h.length;
1012
1010
  else {
1013
1011
  if (c && f)
1014
1012
  throw new Error("We currently do not support maximum integer digits");
1015
- if (p)
1013
+ if (d)
1016
1014
  throw new Error("We currently do not support exact integer digits");
1017
1015
  }
1018
1016
  return "";
1019
1017
  });
1020
1018
  continue;
1021
1019
  }
1022
- if (It.test(i.stem)) {
1020
+ if (Lt.test(i.stem)) {
1023
1021
  t.minimumIntegerDigits = i.stem.length;
1024
1022
  continue;
1025
1023
  }
1026
- if (et.test(i.stem)) {
1024
+ if (Ke.test(i.stem)) {
1027
1025
  if (i.options.length > 1)
1028
1026
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1029
- i.stem.replace(et, function(l, a, h, c, f, p) {
1030
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1027
+ i.stem.replace(Ke, function(l, a, h, c, f, d) {
1028
+ return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1031
1029
  });
1032
- var o = i.options[0];
1033
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), tt(o)));
1030
+ var s = i.options[0];
1031
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), et(s)));
1034
1032
  continue;
1035
1033
  }
1036
- if (Lt.test(i.stem)) {
1037
- t = C(C({}, t), tt(i.stem));
1034
+ if (Nt.test(i.stem)) {
1035
+ t = x(x({}, t), et(i.stem));
1038
1036
  continue;
1039
1037
  }
1040
- var s = Mt(i.stem);
1041
- s && (t = C(C({}, t), s));
1042
- var u = Qr(i.stem);
1043
- u && (t = C(C({}, t), u));
1038
+ var o = It(i.stem);
1039
+ o && (t = x(x({}, t), o));
1040
+ var u = Zr(i.stem);
1041
+ u && (t = x(x({}, t), u));
1044
1042
  }
1045
1043
  return t;
1046
1044
  }
1047
- var ge = {
1045
+ var ce = {
1048
1046
  "001": [
1049
1047
  "H",
1050
1048
  "h"
@@ -2459,23 +2457,23 @@ var ge = {
2459
2457
  "h"
2460
2458
  ]
2461
2459
  };
2462
- function qr(e, t) {
2460
+ function Jr(e, t) {
2463
2461
  for (var r = "", n = 0; n < e.length; n++) {
2464
2462
  var i = e.charAt(n);
2465
2463
  if (i === "j") {
2466
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2467
- o++, n++;
2468
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Yr(t);
2464
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2465
+ s++, n++;
2466
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = qr(t);
2469
2467
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2470
2468
  r += l;
2471
- for (; s-- > 0; )
2469
+ for (; o-- > 0; )
2472
2470
  r = a + r;
2473
2471
  } else
2474
2472
  i === "J" ? r += "H" : r += i;
2475
2473
  }
2476
2474
  return r;
2477
2475
  }
2478
- function Yr(e) {
2476
+ function qr(e) {
2479
2477
  var t = e.hourCycle;
2480
2478
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2481
2479
  e.hourCycles && // @ts-ignore
@@ -2494,23 +2492,23 @@ function Yr(e) {
2494
2492
  }
2495
2493
  var r = e.language, n;
2496
2494
  r !== "root" && (n = e.maximize().region);
2497
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2495
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2498
2496
  return i[0];
2499
2497
  }
2500
- var we, Kr = new RegExp("^".concat(Nt.source, "*")), en = new RegExp("".concat(Nt.source, "*$"));
2501
- function _(e, t) {
2498
+ var Se, Yr = new RegExp("^".concat(Pt.source, "*")), Kr = new RegExp("".concat(Pt.source, "*$"));
2499
+ function y(e, t) {
2502
2500
  return { start: e, end: t };
2503
2501
  }
2504
- var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, on = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, hn = un ? Number.isSafeInteger : function(e) {
2502
+ var en = !!String.prototype.startsWith && "_a".startsWith("a", 1), tn = !!String.fromCodePoint, rn = !!Object.fromEntries, nn = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, un = an ? Number.isSafeInteger : function(e) {
2505
2503
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2506
- }, Ue = !0;
2504
+ }, $e = !0;
2507
2505
  try {
2508
- var ln = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
- Ue = ((we = ln.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2506
+ var hn = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2507
+ $e = ((Se = hn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2510
2508
  } catch {
2511
- Ue = !1;
2509
+ $e = !1;
2512
2510
  }
2513
- var nt = tn ? (
2511
+ var rt = en ? (
2514
2512
  // Native
2515
2513
  function(t, r, n) {
2516
2514
  return t.startsWith(r, n);
@@ -2520,31 +2518,31 @@ var nt = tn ? (
2520
2518
  function(t, r, n) {
2521
2519
  return t.slice(n, n + r.length) === r;
2522
2520
  }
2523
- ), Ge = rn ? String.fromCodePoint : (
2521
+ ), Re = tn ? String.fromCodePoint : (
2524
2522
  // IE11
2525
2523
  function() {
2526
2524
  for (var t = [], r = 0; r < arguments.length; r++)
2527
2525
  t[r] = arguments[r];
2528
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2529
- if (s = t[o++], s > 1114111)
2530
- throw RangeError(s + " is not a valid code point");
2531
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2526
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2527
+ if (o = t[s++], o > 1114111)
2528
+ throw RangeError(o + " is not a valid code point");
2529
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2532
2530
  }
2533
2531
  return n;
2534
2532
  }
2535
- ), it = (
2533
+ ), nt = (
2536
2534
  // native
2537
- nn ? Object.fromEntries : (
2535
+ rn ? Object.fromEntries : (
2538
2536
  // Ponyfill
2539
2537
  function(t) {
2540
2538
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2541
- var o = i[n], s = o[0], u = o[1];
2542
- r[s] = u;
2539
+ var s = i[n], o = s[0], u = s[1];
2540
+ r[o] = u;
2543
2541
  }
2544
2542
  return r;
2545
2543
  }
2546
2544
  )
2547
- ), $t = on ? (
2545
+ ), Mt = nn ? (
2548
2546
  // Native
2549
2547
  function(t, r) {
2550
2548
  return t.codePointAt(r);
@@ -2554,11 +2552,11 @@ var nt = tn ? (
2554
2552
  function(t, r) {
2555
2553
  var n = t.length;
2556
2554
  if (!(r < 0 || r >= n)) {
2557
- var i = t.charCodeAt(r), o;
2558
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2555
+ var i = t.charCodeAt(r), s;
2556
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2559
2557
  }
2560
2558
  }
2561
- ), fn = sn ? (
2559
+ ), ln = sn ? (
2562
2560
  // Native
2563
2561
  function(t) {
2564
2562
  return t.trimStart();
@@ -2566,9 +2564,9 @@ var nt = tn ? (
2566
2564
  ) : (
2567
2565
  // Ponyfill
2568
2566
  function(t) {
2569
- return t.replace(Kr, "");
2567
+ return t.replace(Yr, "");
2570
2568
  }
2571
- ), cn = an ? (
2569
+ ), fn = on ? (
2572
2570
  // Native
2573
2571
  function(t) {
2574
2572
  return t.trimEnd();
@@ -2576,32 +2574,32 @@ var nt = tn ? (
2576
2574
  ) : (
2577
2575
  // Ponyfill
2578
2576
  function(t) {
2579
- return t.replace(en, "");
2577
+ return t.replace(Kr, "");
2580
2578
  }
2581
2579
  );
2582
- function Rt(e, t) {
2580
+ function $t(e, t) {
2583
2581
  return new RegExp(e, t);
2584
2582
  }
2585
- var De;
2586
- if (Ue) {
2587
- var ot = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
- De = function(t, r) {
2583
+ var Ue;
2584
+ if ($e) {
2585
+ var it = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
+ Ue = function(t, r) {
2589
2587
  var n;
2590
- ot.lastIndex = r;
2591
- var i = ot.exec(t);
2588
+ it.lastIndex = r;
2589
+ var i = it.exec(t);
2592
2590
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2593
2591
  };
2594
2592
  } else
2595
- De = function(t, r) {
2593
+ Ue = function(t, r) {
2596
2594
  for (var n = []; ; ) {
2597
- var i = $t(t, r);
2598
- if (i === void 0 || Ut(i) || dn(i))
2595
+ var i = Mt(t, r);
2596
+ if (i === void 0 || Rt(i) || dn(i))
2599
2597
  break;
2600
2598
  n.push(i), r += i >= 65536 ? 2 : 1;
2601
2599
  }
2602
- return Ge.apply(void 0, n);
2600
+ return Re.apply(void 0, n);
2603
2601
  };
2604
- var gn = (
2602
+ var cn = (
2605
2603
  /** @class */
2606
2604
  function() {
2607
2605
  function e(t, r) {
@@ -2613,35 +2611,35 @@ var gn = (
2613
2611
  return this.parseMessage(0, "", !1);
2614
2612
  }, e.prototype.parseMessage = function(t, r, n) {
2615
2613
  for (var i = []; !this.isEOF(); ) {
2616
- var o = this.char();
2617
- if (o === 123) {
2618
- var s = this.parseArgument(t, n);
2619
- if (s.err)
2620
- return s;
2621
- i.push(s.val);
2614
+ var s = this.char();
2615
+ if (s === 123) {
2616
+ var o = this.parseArgument(t, n);
2617
+ if (o.err)
2618
+ return o;
2619
+ i.push(o.val);
2622
2620
  } else {
2623
- if (o === 125 && t > 0)
2621
+ if (s === 125 && t > 0)
2624
2622
  break;
2625
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2623
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2626
2624
  var u = this.clonePosition();
2627
2625
  this.bump(), i.push({
2628
- type: v.pound,
2629
- location: _(u, this.clonePosition())
2626
+ type: T.pound,
2627
+ location: y(u, this.clonePosition())
2630
2628
  });
2631
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2629
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2632
2630
  if (n)
2633
2631
  break;
2634
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2635
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2636
- var s = this.parseTag(t, r);
2637
- if (s.err)
2638
- return s;
2639
- i.push(s.val);
2632
+ return this.error(_.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2633
+ } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2634
+ var o = this.parseTag(t, r);
2635
+ if (o.err)
2636
+ return o;
2637
+ i.push(o.val);
2640
2638
  } else {
2641
- var s = this.parseLiteral(t, r);
2642
- if (s.err)
2643
- return s;
2644
- i.push(s.val);
2639
+ var o = this.parseLiteral(t, r);
2640
+ if (o.err)
2641
+ return o;
2642
+ i.push(o.val);
2645
2643
  }
2646
2644
  }
2647
2645
  }
@@ -2653,51 +2651,51 @@ var gn = (
2653
2651
  if (this.bumpSpace(), this.bumpIf("/>"))
2654
2652
  return {
2655
2653
  val: {
2656
- type: v.literal,
2654
+ type: T.literal,
2657
2655
  value: "<".concat(i, "/>"),
2658
- location: _(n, this.clonePosition())
2656
+ location: y(n, this.clonePosition())
2659
2657
  },
2660
2658
  err: null
2661
2659
  };
2662
2660
  if (this.bumpIf(">")) {
2663
- var o = this.parseMessage(t + 1, r, !0);
2664
- if (o.err)
2665
- return o;
2666
- var s = o.val, u = this.clonePosition();
2661
+ var s = this.parseMessage(t + 1, r, !0);
2662
+ if (s.err)
2663
+ return s;
2664
+ var o = s.val, u = this.clonePosition();
2667
2665
  if (this.bumpIf("</")) {
2668
- if (this.isEOF() || !Fe(this.char()))
2669
- return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2666
+ if (this.isEOF() || !Ge(this.char()))
2667
+ return this.error(_.INVALID_TAG, y(u, this.clonePosition()));
2670
2668
  var l = this.clonePosition(), a = this.parseTagName();
2671
- return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2669
+ return i !== a ? this.error(_.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2672
2670
  val: {
2673
- type: v.tag,
2671
+ type: T.tag,
2674
2672
  value: i,
2675
- children: s,
2676
- location: _(n, this.clonePosition())
2673
+ children: o,
2674
+ location: y(n, this.clonePosition())
2677
2675
  },
2678
2676
  err: null
2679
- } : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
2677
+ } : this.error(_.INVALID_TAG, y(u, this.clonePosition())));
2680
2678
  } else
2681
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2679
+ return this.error(_.UNCLOSED_TAG, y(n, this.clonePosition()));
2682
2680
  } else
2683
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2681
+ return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
2684
2682
  }, e.prototype.parseTagName = function() {
2685
2683
  var t = this.offset();
2686
- for (this.bump(); !this.isEOF() && pn(this.char()); )
2684
+ for (this.bump(); !this.isEOF() && mn(this.char()); )
2687
2685
  this.bump();
2688
2686
  return this.message.slice(t, this.offset());
2689
2687
  }, e.prototype.parseLiteral = function(t, r) {
2690
2688
  for (var n = this.clonePosition(), i = ""; ; ) {
2691
- var o = this.tryParseQuote(r);
2692
- if (o) {
2693
- i += o;
2694
- continue;
2695
- }
2696
- var s = this.tryParseUnquoted(t, r);
2689
+ var s = this.tryParseQuote(r);
2697
2690
  if (s) {
2698
2691
  i += s;
2699
2692
  continue;
2700
2693
  }
2694
+ var o = this.tryParseUnquoted(t, r);
2695
+ if (o) {
2696
+ i += o;
2697
+ continue;
2698
+ }
2701
2699
  var u = this.tryParseLeftAngleBracket();
2702
2700
  if (u) {
2703
2701
  i += u;
@@ -2705,14 +2703,14 @@ var gn = (
2705
2703
  }
2706
2704
  break;
2707
2705
  }
2708
- var l = _(n, this.clonePosition());
2706
+ var l = y(n, this.clonePosition());
2709
2707
  return {
2710
- val: { type: v.literal, value: i, location: l },
2708
+ val: { type: T.literal, value: i, location: l },
2711
2709
  err: null
2712
2710
  };
2713
2711
  }, e.prototype.tryParseLeftAngleBracket = function() {
2714
2712
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2715
- !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2713
+ !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2716
2714
  }, e.prototype.tryParseQuote = function(t) {
2717
2715
  if (this.isEOF() || this.char() !== 39)
2718
2716
  return null;
@@ -2746,49 +2744,49 @@ var gn = (
2746
2744
  r.push(n);
2747
2745
  this.bump();
2748
2746
  }
2749
- return Ge.apply(void 0, r);
2747
+ return Re.apply(void 0, r);
2750
2748
  }, e.prototype.tryParseUnquoted = function(t, r) {
2751
2749
  if (this.isEOF())
2752
2750
  return null;
2753
2751
  var n = this.char();
2754
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2752
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2755
2753
  }, e.prototype.parseArgument = function(t, r) {
2756
2754
  var n = this.clonePosition();
2757
2755
  if (this.bump(), this.bumpSpace(), this.isEOF())
2758
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2756
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2759
2757
  if (this.char() === 125)
2760
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2758
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2761
2759
  var i = this.parseIdentifierIfPossible().value;
2762
2760
  if (!i)
2763
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2761
+ return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2764
2762
  if (this.bumpSpace(), this.isEOF())
2765
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2763
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2766
2764
  switch (this.char()) {
2767
2765
  case 125:
2768
2766
  return this.bump(), {
2769
2767
  val: {
2770
- type: v.argument,
2768
+ type: T.argument,
2771
2769
  // value does not include the opening and closing braces.
2772
2770
  value: i,
2773
- location: _(n, this.clonePosition())
2771
+ location: y(n, this.clonePosition())
2774
2772
  },
2775
2773
  err: null
2776
2774
  };
2777
2775
  case 44:
2778
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2776
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2779
2777
  default:
2780
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2778
+ return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2781
2779
  }
2782
2780
  }, e.prototype.parseIdentifierIfPossible = function() {
2783
- var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2781
+ var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2784
2782
  this.bumpTo(i);
2785
- var o = this.clonePosition(), s = _(t, o);
2786
- return { value: n, location: s };
2783
+ var s = this.clonePosition(), o = y(t, s);
2784
+ return { value: n, location: o };
2787
2785
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2788
- var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2786
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2789
2787
  switch (u) {
2790
2788
  case "":
2791
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, l));
2789
+ return this.error(_.EXPECT_ARGUMENT_TYPE, y(o, l));
2792
2790
  case "number":
2793
2791
  case "date":
2794
2792
  case "time": {
@@ -2799,47 +2797,47 @@ var gn = (
2799
2797
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2800
2798
  if (c.err)
2801
2799
  return c;
2802
- var f = cn(c.val);
2800
+ var f = fn(c.val);
2803
2801
  if (f.length === 0)
2804
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2805
- var p = _(h, this.clonePosition());
2806
- a = { style: f, styleLocation: p };
2802
+ return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2803
+ var d = y(h, this.clonePosition());
2804
+ a = { style: f, styleLocation: d };
2807
2805
  }
2808
- var d = this.tryParseArgumentClose(i);
2809
- if (d.err)
2810
- return d;
2811
- var g = _(i, this.clonePosition());
2812
- if (a && nt(a?.style, "::", 0)) {
2813
- var E = fn(a.style.slice(2));
2806
+ var p = this.tryParseArgumentClose(i);
2807
+ if (p.err)
2808
+ return p;
2809
+ var g = y(i, this.clonePosition());
2810
+ if (a && rt(a?.style, "::", 0)) {
2811
+ var E = ln(a.style.slice(2));
2814
2812
  if (u === "number") {
2815
2813
  var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2816
2814
  return c.err ? c : {
2817
- val: { type: v.number, value: n, location: g, style: c.val },
2815
+ val: { type: T.number, value: n, location: g, style: c.val },
2818
2816
  err: null
2819
2817
  };
2820
2818
  } else {
2821
2819
  if (E.length === 0)
2822
- return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2820
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
2823
2821
  var m = E;
2824
- this.locale && (m = qr(E, this.locale));
2822
+ this.locale && (m = Jr(E, this.locale));
2825
2823
  var f = {
2826
- type: J.dateTime,
2824
+ type: Q.dateTime,
2827
2825
  pattern: m,
2828
2826
  location: a.styleLocation,
2829
- parsedOptions: this.shouldParseSkeletons ? Vr(m) : {}
2830
- }, T = u === "date" ? v.date : v.time;
2827
+ parsedOptions: this.shouldParseSkeletons ? kr(m) : {}
2828
+ }, C = u === "date" ? T.date : T.time;
2831
2829
  return {
2832
- val: { type: T, value: n, location: g, style: f },
2830
+ val: { type: C, value: n, location: g, style: f },
2833
2831
  err: null
2834
2832
  };
2835
2833
  }
2836
2834
  }
2837
2835
  return {
2838
2836
  val: {
2839
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2837
+ type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2840
2838
  value: n,
2841
2839
  location: g,
2842
- style: (o = a?.style) !== null && o !== void 0 ? o : null
2840
+ style: (s = a?.style) !== null && s !== void 0 ? s : null
2843
2841
  },
2844
2842
  err: null
2845
2843
  };
@@ -2847,41 +2845,41 @@ var gn = (
2847
2845
  case "plural":
2848
2846
  case "selectordinal":
2849
2847
  case "select": {
2850
- var S = this.clonePosition();
2848
+ var A = this.clonePosition();
2851
2849
  if (this.bumpSpace(), !this.bumpIf(","))
2852
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, ye({}, S)));
2850
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, x({}, A)));
2853
2851
  this.bumpSpace();
2854
- var w = this.parseIdentifierIfPossible(), A = 0;
2855
- if (u !== "select" && w.value === "offset") {
2852
+ var O = this.parseIdentifierIfPossible(), B = 0;
2853
+ if (u !== "select" && O.value === "offset") {
2856
2854
  if (!this.bumpIf(":"))
2857
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2855
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2858
2856
  this.bumpSpace();
2859
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2857
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2860
2858
  if (c.err)
2861
2859
  return c;
2862
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2860
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
2863
2861
  }
2864
- var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2862
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2865
2863
  if (H.err)
2866
2864
  return H;
2867
- var d = this.tryParseArgumentClose(i);
2868
- if (d.err)
2869
- return d;
2870
- var P = _(i, this.clonePosition());
2865
+ var p = this.tryParseArgumentClose(i);
2866
+ if (p.err)
2867
+ return p;
2868
+ var P = y(i, this.clonePosition());
2871
2869
  return u === "select" ? {
2872
2870
  val: {
2873
- type: v.select,
2871
+ type: T.select,
2874
2872
  value: n,
2875
- options: it(H.val),
2873
+ options: nt(H.val),
2876
2874
  location: P
2877
2875
  },
2878
2876
  err: null
2879
2877
  } : {
2880
2878
  val: {
2881
- type: v.plural,
2879
+ type: T.plural,
2882
2880
  value: n,
2883
- options: it(H.val),
2884
- offset: A,
2881
+ options: nt(H.val),
2882
+ offset: B,
2885
2883
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2886
2884
  location: P
2887
2885
  },
@@ -2889,10 +2887,10 @@ var gn = (
2889
2887
  };
2890
2888
  }
2891
2889
  default:
2892
- return this.error(y.INVALID_ARGUMENT_TYPE, _(s, l));
2890
+ return this.error(_.INVALID_ARGUMENT_TYPE, y(o, l));
2893
2891
  }
2894
2892
  }, e.prototype.tryParseArgumentClose = function(t) {
2895
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2893
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2896
2894
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2897
2895
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2898
2896
  var n = this.char();
@@ -2901,7 +2899,7 @@ var gn = (
2901
2899
  this.bump();
2902
2900
  var i = this.clonePosition();
2903
2901
  if (!this.bumpUntil("'"))
2904
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2902
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2905
2903
  this.bump();
2906
2904
  break;
2907
2905
  }
@@ -2931,64 +2929,64 @@ var gn = (
2931
2929
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2932
2930
  var n = [];
2933
2931
  try {
2934
- n = zr(t);
2932
+ n = Xr(t);
2935
2933
  } catch {
2936
- return this.error(y.INVALID_NUMBER_SKELETON, r);
2934
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
2937
2935
  }
2938
2936
  return {
2939
2937
  val: {
2940
- type: J.number,
2938
+ type: Q.number,
2941
2939
  tokens: n,
2942
2940
  location: r,
2943
- parsedOptions: this.shouldParseSkeletons ? Jr(n) : {}
2941
+ parsedOptions: this.shouldParseSkeletons ? Qr(n) : {}
2944
2942
  },
2945
2943
  err: null
2946
2944
  };
2947
2945
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2948
- for (var o, s = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2946
+ for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2949
2947
  if (a.length === 0) {
2950
2948
  var c = this.clonePosition();
2951
2949
  if (r !== "select" && this.bumpIf("=")) {
2952
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2950
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2953
2951
  if (f.err)
2954
2952
  return f;
2955
- h = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2953
+ h = y(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2956
2954
  } else
2957
2955
  break;
2958
2956
  }
2959
2957
  if (l.has(a))
2960
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2961
- a === "other" && (s = !0), this.bumpSpace();
2962
- var p = this.clonePosition();
2958
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2959
+ a === "other" && (o = !0), this.bumpSpace();
2960
+ var d = this.clonePosition();
2963
2961
  if (!this.bumpIf("{"))
2964
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2965
- var d = this.parseMessage(t + 1, r, n);
2966
- if (d.err)
2967
- return d;
2968
- var g = this.tryParseArgumentClose(p);
2962
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
2963
+ var p = this.parseMessage(t + 1, r, n);
2964
+ if (p.err)
2965
+ return p;
2966
+ var g = this.tryParseArgumentClose(d);
2969
2967
  if (g.err)
2970
2968
  return g;
2971
2969
  u.push([
2972
2970
  a,
2973
2971
  {
2974
- value: d.val,
2975
- location: _(p, this.clonePosition())
2972
+ value: p.val,
2973
+ location: y(d, this.clonePosition())
2976
2974
  }
2977
- ]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
2975
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
2978
2976
  }
2979
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2977
+ return u.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2980
2978
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2981
2979
  var n = 1, i = this.clonePosition();
2982
2980
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2983
- for (var o = !1, s = 0; !this.isEOF(); ) {
2981
+ for (var s = !1, o = 0; !this.isEOF(); ) {
2984
2982
  var u = this.char();
2985
2983
  if (u >= 48 && u <= 57)
2986
- o = !0, s = s * 10 + (u - 48), this.bump();
2984
+ s = !0, o = o * 10 + (u - 48), this.bump();
2987
2985
  else
2988
2986
  break;
2989
2987
  }
2990
- var l = _(i, this.clonePosition());
2991
- return o ? (s *= n, hn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2988
+ var l = y(i, this.clonePosition());
2989
+ return s ? (o *= n, un(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2992
2990
  }, e.prototype.offset = function() {
2993
2991
  return this.position.offset;
2994
2992
  }, e.prototype.isEOF = function() {
@@ -3003,7 +3001,7 @@ var gn = (
3003
3001
  var t = this.position.offset;
3004
3002
  if (t >= this.message.length)
3005
3003
  throw Error("out of bound");
3006
- var r = $t(this.message, t);
3004
+ var r = Mt(this.message, t);
3007
3005
  if (r === void 0)
3008
3006
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3009
3007
  return r;
@@ -3022,7 +3020,7 @@ var gn = (
3022
3020
  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);
3023
3021
  }
3024
3022
  }, e.prototype.bumpIf = function(t) {
3025
- if (nt(this.message, t, this.offset())) {
3023
+ if (rt(this.message, t, this.offset())) {
3026
3024
  for (var r = 0; r < t.length; r++)
3027
3025
  this.bump();
3028
3026
  return !0;
@@ -3044,7 +3042,7 @@ var gn = (
3044
3042
  break;
3045
3043
  }
3046
3044
  }, e.prototype.bumpSpace = function() {
3047
- for (; !this.isEOF() && Ut(this.char()); )
3045
+ for (; !this.isEOF() && Rt(this.char()); )
3048
3046
  this.bump();
3049
3047
  }, e.prototype.peek = function() {
3050
3048
  if (this.isEOF())
@@ -3054,50 +3052,50 @@ var gn = (
3054
3052
  }, e;
3055
3053
  }()
3056
3054
  );
3057
- function Fe(e) {
3055
+ function Ge(e) {
3058
3056
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3059
3057
  }
3060
- function mn(e) {
3061
- return Fe(e) || e === 47;
3058
+ function gn(e) {
3059
+ return Ge(e) || e === 47;
3062
3060
  }
3063
- function pn(e) {
3061
+ function mn(e) {
3064
3062
  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;
3065
3063
  }
3066
- function Ut(e) {
3064
+ function Rt(e) {
3067
3065
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3068
3066
  }
3069
3067
  function dn(e) {
3070
3068
  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;
3071
3069
  }
3072
- function je(e) {
3070
+ function De(e) {
3073
3071
  e.forEach(function(t) {
3074
- if (delete t.location, Bt(t) || Ot(t))
3072
+ if (delete t.location, Bt(t) || St(t))
3075
3073
  for (var r in t.options)
3076
- delete t.options[r].location, je(t.options[r].value);
3074
+ delete t.options[r].location, De(t.options[r].value);
3077
3075
  else
3078
- Ht(t) && Pt(t.style) || (St(t) || At(t)) && Re(t.style) ? delete t.style.location : wt(t) && je(t.children);
3076
+ Ct(t) && Ot(t.style) || (Ht(t) || At(t)) && Me(t.style) ? delete t.style.location : wt(t) && De(t.children);
3079
3077
  });
3080
3078
  }
3081
- function bn(e, t) {
3082
- t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
- var r = new gn(e, t).parse();
3079
+ function pn(e, t) {
3080
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3081
+ var r = new cn(e, t).parse();
3084
3082
  if (r.err) {
3085
- var n = SyntaxError(y[r.err.kind]);
3083
+ var n = SyntaxError(_[r.err.kind]);
3086
3084
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3087
3085
  }
3088
- return t?.captureLocation || je(r.val), r.val;
3086
+ return t?.captureLocation || De(r.val), r.val;
3089
3087
  }
3090
- var q;
3088
+ var J;
3091
3089
  (function(e) {
3092
3090
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3093
- })(q || (q = {}));
3094
- var Te = (
3091
+ })(J || (J = {}));
3092
+ var Ee = (
3095
3093
  /** @class */
3096
3094
  function(e) {
3097
- ve(t, e);
3095
+ xe(t, e);
3098
3096
  function t(r, n, i) {
3099
- var o = e.call(this, r) || this;
3100
- return o.code = n, o.originalMessage = i, o;
3097
+ var s = e.call(this, r) || this;
3098
+ return s.code = n, s.originalMessage = i, s;
3101
3099
  }
3102
3100
  return t.prototype.toString = function() {
3103
3101
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3106,152 +3104,152 @@ var Te = (
3106
3104
  ), st = (
3107
3105
  /** @class */
3108
3106
  function(e) {
3109
- ve(t, e);
3110
- function t(r, n, i, o) {
3111
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3107
+ xe(t, e);
3108
+ function t(r, n, i, s) {
3109
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3112
3110
  }
3113
3111
  return t;
3114
- }(Te)
3115
- ), yn = (
3112
+ }(Ee)
3113
+ ), bn = (
3116
3114
  /** @class */
3117
3115
  function(e) {
3118
- ve(t, e);
3116
+ xe(t, e);
3119
3117
  function t(r, n, i) {
3120
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3118
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3121
3119
  }
3122
3120
  return t;
3123
- }(Te)
3121
+ }(Ee)
3124
3122
  ), _n = (
3125
3123
  /** @class */
3126
3124
  function(e) {
3127
- ve(t, e);
3125
+ xe(t, e);
3128
3126
  function t(r, n) {
3129
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3127
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3130
3128
  }
3131
3129
  return t;
3132
- }(Te)
3133
- ), O;
3130
+ }(Ee)
3131
+ ), w;
3134
3132
  (function(e) {
3135
3133
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
- })(O || (O = {}));
3137
- function En(e) {
3134
+ })(w || (w = {}));
3135
+ function yn(e) {
3138
3136
  return e.length < 2 ? e : e.reduce(function(t, r) {
3139
3137
  var n = t[t.length - 1];
3140
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3138
+ return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3141
3139
  }, []);
3142
3140
  }
3143
3141
  function xn(e) {
3144
3142
  return typeof e == "function";
3145
3143
  }
3146
- function pe(e, t, r, n, i, o, s) {
3147
- if (e.length === 1 && Ke(e[0]))
3144
+ function me(e, t, r, n, i, s, o) {
3145
+ if (e.length === 1 && Ye(e[0]))
3148
3146
  return [
3149
3147
  {
3150
- type: O.literal,
3148
+ type: w.literal,
3151
3149
  value: e[0].value
3152
3150
  }
3153
3151
  ];
3154
3152
  for (var u = [], l = 0, a = e; l < a.length; l++) {
3155
3153
  var h = a[l];
3156
- if (Ke(h)) {
3154
+ if (Ye(h)) {
3157
3155
  u.push({
3158
- type: O.literal,
3156
+ type: w.literal,
3159
3157
  value: h.value
3160
3158
  });
3161
3159
  continue;
3162
3160
  }
3163
- if (jr(h)) {
3164
- typeof o == "number" && u.push({
3165
- type: O.literal,
3166
- value: r.getNumberFormat(t).format(o)
3161
+ if (Fr(h)) {
3162
+ typeof s == "number" && u.push({
3163
+ type: w.literal,
3164
+ value: r.getNumberFormat(t).format(s)
3167
3165
  });
3168
3166
  continue;
3169
3167
  }
3170
3168
  var c = h.value;
3171
3169
  if (!(i && c in i))
3172
- throw new _n(c, s);
3170
+ throw new _n(c, o);
3173
3171
  var f = i[c];
3174
- if (Fr(h)) {
3172
+ if (Dr(h)) {
3175
3173
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3176
- type: typeof f == "string" ? O.literal : O.object,
3174
+ type: typeof f == "string" ? w.literal : w.object,
3177
3175
  value: f
3178
3176
  });
3179
3177
  continue;
3180
3178
  }
3181
- if (St(h)) {
3182
- var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3179
+ if (Ht(h)) {
3180
+ var d = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
3183
3181
  u.push({
3184
- type: O.literal,
3185
- value: r.getDateTimeFormat(t, p).format(f)
3182
+ type: w.literal,
3183
+ value: r.getDateTimeFormat(t, d).format(f)
3186
3184
  });
3187
3185
  continue;
3188
3186
  }
3189
3187
  if (At(h)) {
3190
- var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3188
+ var d = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
3191
3189
  u.push({
3192
- type: O.literal,
3193
- value: r.getDateTimeFormat(t, p).format(f)
3190
+ type: w.literal,
3191
+ value: r.getDateTimeFormat(t, d).format(f)
3194
3192
  });
3195
3193
  continue;
3196
3194
  }
3197
- if (Ht(h)) {
3198
- var p = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
3199
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3200
- type: O.literal,
3201
- value: r.getNumberFormat(t, p).format(f)
3195
+ if (Ct(h)) {
3196
+ var d = typeof h.style == "string" ? n.number[h.style] : Ot(h.style) ? h.style.parsedOptions : void 0;
3197
+ d && d.scale && (f = f * (d.scale || 1)), u.push({
3198
+ type: w.literal,
3199
+ value: r.getNumberFormat(t, d).format(f)
3202
3200
  });
3203
3201
  continue;
3204
3202
  }
3205
3203
  if (wt(h)) {
3206
- var d = h.children, g = h.value, E = i[g];
3204
+ var p = h.children, g = h.value, E = i[g];
3207
3205
  if (!xn(E))
3208
- throw new yn(g, "function", s);
3209
- var m = pe(d, t, r, n, i, o), T = E(m.map(function(A) {
3210
- return A.value;
3206
+ throw new bn(g, "function", o);
3207
+ var m = me(p, t, r, n, i, s), C = E(m.map(function(B) {
3208
+ return B.value;
3211
3209
  }));
3212
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3210
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3213
3211
  return {
3214
- type: typeof A == "string" ? O.literal : O.object,
3215
- value: A
3212
+ type: typeof B == "string" ? w.literal : w.object,
3213
+ value: B
3216
3214
  };
3217
3215
  }));
3218
3216
  }
3219
3217
  if (Bt(h)) {
3220
- var S = h.options[f] || h.options.other;
3221
- if (!S)
3222
- throw new st(h.value, f, Object.keys(h.options), s);
3223
- u.push.apply(u, pe(S.value, t, r, n, i));
3218
+ var A = h.options[f] || h.options.other;
3219
+ if (!A)
3220
+ throw new st(h.value, f, Object.keys(h.options), o);
3221
+ u.push.apply(u, me(A.value, t, r, n, i));
3224
3222
  continue;
3225
3223
  }
3226
- if (Ot(h)) {
3227
- var S = h.options["=".concat(f)];
3228
- if (!S) {
3224
+ if (St(h)) {
3225
+ var A = h.options["=".concat(f)];
3226
+ if (!A) {
3229
3227
  if (!Intl.PluralRules)
3230
- throw new Te(`Intl.PluralRules is not available in this environment.
3228
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3231
3229
  Try polyfilling it using "@formatjs/intl-pluralrules"
3232
- `, q.MISSING_INTL_API, s);
3233
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3234
- S = h.options[w] || h.options.other;
3230
+ `, J.MISSING_INTL_API, o);
3231
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3232
+ A = h.options[O] || h.options.other;
3235
3233
  }
3236
- if (!S)
3237
- throw new st(h.value, f, Object.keys(h.options), s);
3238
- u.push.apply(u, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3234
+ if (!A)
3235
+ throw new st(h.value, f, Object.keys(h.options), o);
3236
+ u.push.apply(u, me(A.value, t, r, n, i, f - (h.offset || 0)));
3239
3237
  continue;
3240
3238
  }
3241
3239
  }
3242
- return En(u);
3240
+ return yn(u);
3243
3241
  }
3244
- function vn(e, t) {
3245
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3246
- return r[n] = R(R({}, e[n]), t[n] || {}), r;
3242
+ function En(e, t) {
3243
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3244
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3247
3245
  }, {})) : e;
3248
3246
  }
3249
- function Tn(e, t) {
3247
+ function vn(e, t) {
3250
3248
  return t ? Object.keys(e).reduce(function(r, n) {
3251
- return r[n] = vn(e[n], t[n]), r;
3252
- }, R({}, e)) : e;
3249
+ return r[n] = En(e[n], t[n]), r;
3250
+ }, x({}, e)) : e;
3253
3251
  }
3254
- function Pe(e) {
3252
+ function we(e) {
3255
3253
  return {
3256
3254
  create: function() {
3257
3255
  return {
@@ -3265,77 +3263,77 @@ function Pe(e) {
3265
3263
  }
3266
3264
  };
3267
3265
  }
3268
- function Cn(e) {
3266
+ function Tn(e) {
3269
3267
  return e === void 0 && (e = {
3270
3268
  number: {},
3271
3269
  dateTime: {},
3272
3270
  pluralRules: {}
3273
3271
  }), {
3274
- getNumberFormat: Be(function() {
3272
+ getNumberFormat: Ae(function() {
3275
3273
  for (var t, r = [], n = 0; n < arguments.length; n++)
3276
3274
  r[n] = arguments[n];
3277
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3275
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3278
3276
  }, {
3279
- cache: Pe(e.number),
3280
- strategy: Oe.variadic
3277
+ cache: we(e.number),
3278
+ strategy: Be.variadic
3281
3279
  }),
3282
- getDateTimeFormat: Be(function() {
3280
+ getDateTimeFormat: Ae(function() {
3283
3281
  for (var t, r = [], n = 0; n < arguments.length; n++)
3284
3282
  r[n] = arguments[n];
3285
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3283
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3286
3284
  }, {
3287
- cache: Pe(e.dateTime),
3288
- strategy: Oe.variadic
3285
+ cache: we(e.dateTime),
3286
+ strategy: Be.variadic
3289
3287
  }),
3290
- getPluralRules: Be(function() {
3288
+ getPluralRules: Ae(function() {
3291
3289
  for (var t, r = [], n = 0; n < arguments.length; n++)
3292
3290
  r[n] = arguments[n];
3293
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3291
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3294
3292
  }, {
3295
- cache: Pe(e.pluralRules),
3296
- strategy: Oe.variadic
3293
+ cache: we(e.pluralRules),
3294
+ strategy: Be.variadic
3297
3295
  })
3298
3296
  };
3299
3297
  }
3300
- var Hn = (
3298
+ var Cn = (
3301
3299
  /** @class */
3302
3300
  function() {
3303
3301
  function e(t, r, n, i) {
3304
3302
  r === void 0 && (r = e.defaultLocale);
3305
- var o = this;
3303
+ var s = this;
3306
3304
  if (this.formatterCache = {
3307
3305
  number: {},
3308
3306
  dateTime: {},
3309
3307
  pluralRules: {}
3310
3308
  }, this.format = function(l) {
3311
- var a = o.formatToParts(l);
3309
+ var a = s.formatToParts(l);
3312
3310
  if (a.length === 1)
3313
3311
  return a[0].value;
3314
3312
  var h = a.reduce(function(c, f) {
3315
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3313
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3316
3314
  }, []);
3317
3315
  return h.length <= 1 ? h[0] || "" : h;
3318
3316
  }, this.formatToParts = function(l) {
3319
- return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3317
+ return me(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3320
3318
  }, this.resolvedOptions = function() {
3321
3319
  var l;
3322
3320
  return {
3323
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3321
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3324
3322
  };
3325
3323
  }, this.getAst = function() {
3326
- return o.ast;
3324
+ return s.ast;
3327
3325
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3328
3326
  if (this.message = t, !e.__parse)
3329
3327
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3330
- var s = i || {};
3331
- s.formatters;
3332
- var u = Lr(s, ["formatters"]);
3333
- this.ast = e.__parse(t, R(R({}, u), { locale: this.resolvedLocale }));
3328
+ var o = i || {};
3329
+ o.formatters;
3330
+ var u = Nr(o, ["formatters"]);
3331
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3334
3332
  } else
3335
3333
  this.ast = t;
3336
3334
  if (!Array.isArray(this.ast))
3337
3335
  throw new TypeError("A message must be provided as a String or AST.");
3338
- this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3336
+ this.formats = vn(e.formats, n), this.formatters = i && i.formatters || Tn(this.formatterCache);
3339
3337
  }
3340
3338
  return Object.defineProperty(e, "defaultLocale", {
3341
3339
  get: function() {
@@ -3348,7 +3346,7 @@ var Hn = (
3348
3346
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3349
3347
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3350
3348
  }
3351
- }, e.__parse = bn, e.formats = {
3349
+ }, e.__parse = pn, e.formats = {
3352
3350
  number: {
3353
3351
  integer: {
3354
3352
  maximumFractionDigits: 0
@@ -3409,7 +3407,7 @@ var Hn = (
3409
3407
  }, e;
3410
3408
  }()
3411
3409
  );
3412
- function Sn(e, t) {
3410
+ function Hn(e, t) {
3413
3411
  if (t == null)
3414
3412
  return;
3415
3413
  if (t in e)
@@ -3419,9 +3417,9 @@ function Sn(e, t) {
3419
3417
  for (let i = 0; i < r.length; i++)
3420
3418
  if (typeof n == "object") {
3421
3419
  if (i > 0) {
3422
- const o = r.slice(i, r.length).join(".");
3423
- if (o in n) {
3424
- n = n[o];
3420
+ const s = r.slice(i, r.length).join(".");
3421
+ if (s in n) {
3422
+ n = n[s];
3425
3423
  break;
3426
3424
  }
3427
3425
  }
@@ -3430,92 +3428,92 @@ function Sn(e, t) {
3430
3428
  n = void 0;
3431
3429
  return n;
3432
3430
  }
3433
- const D = {}, An = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Gt = (e, t) => {
3431
+ const G = {}, An = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Ut = (e, t) => {
3434
3432
  if (t == null)
3435
3433
  return;
3436
- if (t in D && e in D[t])
3437
- return D[t][e];
3438
- const r = Ce(t);
3434
+ if (t in G && e in G[t])
3435
+ return G[t][e];
3436
+ const r = ve(t);
3439
3437
  for (let n = 0; n < r.length; n++) {
3440
- const i = r[n], o = On(i, e);
3441
- if (o)
3442
- return An(e, t, o);
3438
+ const i = r[n], s = Sn(i, e);
3439
+ if (s)
3440
+ return An(e, t, s);
3443
3441
  }
3444
3442
  };
3445
- let ze;
3446
- const he = xe({});
3443
+ let Xe;
3444
+ const ue = ye({});
3447
3445
  function Bn(e) {
3448
- return ze[e] || null;
3446
+ return Xe[e] || null;
3449
3447
  }
3450
- function Dt(e) {
3451
- return e in ze;
3448
+ function Gt(e) {
3449
+ return e in Xe;
3452
3450
  }
3453
- function On(e, t) {
3454
- if (!Dt(e))
3451
+ function Sn(e, t) {
3452
+ if (!Gt(e))
3455
3453
  return null;
3456
3454
  const r = Bn(e);
3457
- return Sn(r, t);
3455
+ return Hn(r, t);
3458
3456
  }
3459
3457
  function wn(e) {
3460
3458
  if (e == null)
3461
3459
  return;
3462
- const t = Ce(e);
3460
+ const t = ve(e);
3463
3461
  for (let r = 0; r < t.length; r++) {
3464
3462
  const n = t[r];
3465
- if (Dt(n))
3463
+ if (Gt(n))
3466
3464
  return n;
3467
3465
  }
3468
3466
  }
3469
- function Ft(e, ...t) {
3470
- delete D[e], he.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
3467
+ function Dt(e, ...t) {
3468
+ delete G[e], ue.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3471
3469
  }
3472
- ee(
3473
- [he],
3470
+ K(
3471
+ [ue],
3474
3472
  ([e]) => Object.keys(e)
3475
3473
  );
3476
- he.subscribe((e) => ze = e);
3474
+ ue.subscribe((e) => Xe = e);
3477
3475
  const de = {};
3478
- function Pn(e, t) {
3476
+ function On(e, t) {
3479
3477
  de[e].delete(t), de[e].size === 0 && delete de[e];
3480
3478
  }
3481
- function jt(e) {
3479
+ function Ft(e) {
3482
3480
  return de[e];
3483
3481
  }
3484
- function Nn(e) {
3485
- return Ce(e).map((t) => {
3486
- const r = jt(t);
3482
+ function Pn(e) {
3483
+ return ve(e).map((t) => {
3484
+ const r = Ft(t);
3487
3485
  return [t, r ? [...r] : []];
3488
3486
  }).filter(([, t]) => t.length > 0);
3489
3487
  }
3490
- function ke(e) {
3491
- return e == null ? !1 : Ce(e).some(
3488
+ function Fe(e) {
3489
+ return e == null ? !1 : ve(e).some(
3492
3490
  (t) => {
3493
3491
  var r;
3494
- return (r = jt(t)) == null ? void 0 : r.size;
3492
+ return (r = Ft(t)) == null ? void 0 : r.size;
3495
3493
  }
3496
3494
  );
3497
3495
  }
3498
- function Ln(e, t) {
3496
+ function Nn(e, t) {
3499
3497
  return Promise.all(
3500
- t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3501
- ).then((n) => Ft(e, ...n));
3502
- }
3503
- const ne = {};
3504
- function kt(e) {
3505
- if (!ke(e))
3506
- return e in ne ? ne[e] : Promise.resolve();
3507
- const t = Nn(e);
3508
- return ne[e] = Promise.all(
3498
+ t.map((n) => (On(e, n), n().then((i) => i.default || i)))
3499
+ ).then((n) => Dt(e, ...n));
3500
+ }
3501
+ const re = {};
3502
+ function jt(e) {
3503
+ if (!Fe(e))
3504
+ return e in re ? re[e] : Promise.resolve();
3505
+ const t = Pn(e);
3506
+ return re[e] = Promise.all(
3509
3507
  t.map(
3510
- ([r, n]) => Ln(r, n)
3508
+ ([r, n]) => Nn(r, n)
3511
3509
  )
3512
3510
  ).then(() => {
3513
- if (ke(e))
3514
- return kt(e);
3515
- delete ne[e];
3516
- }), ne[e];
3511
+ if (Fe(e))
3512
+ return jt(e);
3513
+ delete re[e];
3514
+ }), re[e];
3517
3515
  }
3518
- const In = {
3516
+ const Ln = {
3519
3517
  number: {
3520
3518
  scientific: { notation: "scientific" },
3521
3519
  engineering: { notation: "engineering" },
@@ -3544,150 +3542,150 @@ const In = {
3544
3542
  timeZoneName: "short"
3545
3543
  }
3546
3544
  }
3547
- }, Mn = {
3545
+ }, In = {
3548
3546
  fallbackLocale: null,
3549
3547
  loadingDelay: 200,
3550
- formats: In,
3548
+ formats: Ln,
3551
3549
  warnOnMissingMessages: !0,
3552
3550
  handleMissingMessage: void 0,
3553
3551
  ignoreTag: !0
3554
- }, $n = Mn;
3555
- function Y() {
3556
- return $n;
3557
- }
3558
- const Ne = xe(!1);
3559
- var Rn = Object.defineProperty, Un = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3560
- for (var r in t || (t = {}))
3561
- Dn.call(t, r) && ut(e, r, t[r]);
3562
- if (at)
3563
- for (var r of at(t))
3564
- Fn.call(t, r) && ut(e, r, t[r]);
3552
+ }, Mn = In;
3553
+ function q() {
3554
+ return Mn;
3555
+ }
3556
+ const Oe = ye(!1);
3557
+ var $n = Object.defineProperty, Rn = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3558
+ for (var r in t)
3559
+ Gn.call(t, r) && at(e, r, t[r]);
3560
+ if (ot)
3561
+ for (var r of ot(t))
3562
+ Dn.call(t, r) && at(e, r, t[r]);
3565
3563
  return e;
3566
- }, kn = (e, t) => Un(e, Gn(t));
3567
- let Ve;
3568
- const _e = xe(null);
3569
- function ht(e) {
3564
+ }, jn = (e, t) => Rn(e, Un(t));
3565
+ let je;
3566
+ const be = ye(null);
3567
+ function ut(e) {
3570
3568
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3571
3569
  }
3572
- function Ce(e, t = Y().fallbackLocale) {
3573
- const r = ht(e);
3574
- return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3570
+ function ve(e, t = q().fallbackLocale) {
3571
+ const r = ut(e);
3572
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
3575
3573
  }
3576
- function V() {
3577
- return Ve ?? void 0;
3574
+ function k() {
3575
+ return je ?? void 0;
3578
3576
  }
3579
- _e.subscribe((e) => {
3580
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3577
+ be.subscribe((e) => {
3578
+ je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
3579
  });
3582
- const Vn = (e) => {
3583
- if (e && wn(e) && ke(e)) {
3584
- const { loadingDelay: t } = Y();
3580
+ const kn = (e) => {
3581
+ if (e && wn(e) && Fe(e)) {
3582
+ const { loadingDelay: t } = q();
3585
3583
  let r;
3586
- return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3587
- () => Ne.set(!0),
3584
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3585
+ () => Oe.set(!0),
3588
3586
  t
3589
- ) : Ne.set(!0), kt(e).then(() => {
3590
- _e.set(e);
3587
+ ) : Oe.set(!0), jt(e).then(() => {
3588
+ be.set(e);
3591
3589
  }).finally(() => {
3592
- clearTimeout(r), Ne.set(!1);
3590
+ clearTimeout(r), Oe.set(!1);
3593
3591
  });
3594
3592
  }
3595
- return _e.set(e);
3596
- }, te = kn(jn({}, _e), {
3597
- set: Vn
3598
- }), He = (e) => {
3593
+ return be.set(e);
3594
+ }, ee = jn(Fn({}, be), {
3595
+ set: kn
3596
+ }), Te = (e) => {
3599
3597
  const t = /* @__PURE__ */ Object.create(null);
3600
3598
  return (n) => {
3601
3599
  const i = JSON.stringify(n);
3602
3600
  return i in t ? t[i] : t[i] = e(n);
3603
3601
  };
3604
3602
  };
3605
- var Xn = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3603
+ var Vn = Object.defineProperty, _e = Object.getOwnPropertySymbols, kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3606
3604
  for (var r in t || (t = {}))
3607
- Vt.call(t, r) && lt(e, r, t[r]);
3608
- if (Ee)
3609
- for (var r of Ee(t))
3610
- Xt.call(t, r) && lt(e, r, t[r]);
3605
+ kt.call(t, r) && ht(e, r, t[r]);
3606
+ if (_e)
3607
+ for (var r of _e(t))
3608
+ Vt.call(t, r) && ht(e, r, t[r]);
3611
3609
  return e;
3612
- }, re = (e, t) => {
3610
+ }, te = (e, t) => {
3613
3611
  var r = {};
3614
3612
  for (var n in e)
3615
- Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3616
- if (e != null && Ee)
3617
- for (var n of Ee(e))
3618
- t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3613
+ kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3614
+ if (e != null && _e)
3615
+ for (var n of _e(e))
3616
+ t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
3619
3617
  return r;
3620
3618
  };
3621
- const ae = (e, t) => {
3622
- const { formats: r } = Y();
3619
+ const oe = (e, t) => {
3620
+ const { formats: r } = q();
3623
3621
  if (e in r && t in r[e])
3624
3622
  return r[e][t];
3625
3623
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3626
- }, zn = He(
3624
+ }, Xn = Te(
3627
3625
  (e) => {
3628
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3626
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3629
3627
  if (r == null)
3630
3628
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3631
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3629
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3632
3630
  }
3633
- ), Wn = He(
3631
+ ), zn = Te(
3634
3632
  (e) => {
3635
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3633
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3636
3634
  if (r == null)
3637
3635
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3638
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3636
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3639
3637
  }
3640
- ), Zn = He(
3638
+ ), Wn = Te(
3641
3639
  (e) => {
3642
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3640
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3643
3641
  if (r == null)
3644
3642
  throw new Error(
3645
3643
  '[svelte-i18n] A "locale" must be set to format time values'
3646
3644
  );
3647
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3645
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3648
3646
  }
3649
- ), Qn = (e = {}) => {
3647
+ ), Zn = (e = {}) => {
3650
3648
  var t = e, {
3651
- locale: r = V()
3652
- } = t, n = re(t, [
3649
+ locale: r = k()
3650
+ } = t, n = te(t, [
3653
3651
  "locale"
3654
3652
  ]);
3655
- return zn(We({ locale: r }, n));
3656
- }, Jn = (e = {}) => {
3653
+ return Xn(ze({ locale: r }, n));
3654
+ }, Qn = (e = {}) => {
3657
3655
  var t = e, {
3658
- locale: r = V()
3659
- } = t, n = re(t, [
3656
+ locale: r = k()
3657
+ } = t, n = te(t, [
3660
3658
  "locale"
3661
3659
  ]);
3662
- return Wn(We({ locale: r }, n));
3663
- }, qn = (e = {}) => {
3660
+ return zn(ze({ locale: r }, n));
3661
+ }, Jn = (e = {}) => {
3664
3662
  var t = e, {
3665
- locale: r = V()
3666
- } = t, n = re(t, [
3663
+ locale: r = k()
3664
+ } = t, n = te(t, [
3667
3665
  "locale"
3668
3666
  ]);
3669
- return Zn(We({ locale: r }, n));
3670
- }, Yn = He(
3667
+ return Wn(ze({ locale: r }, n));
3668
+ }, qn = Te(
3671
3669
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3672
- (e, t = V()) => new Hn(e, t, Y().formats, {
3673
- ignoreTag: Y().ignoreTag
3670
+ (e, t = k()) => new Cn(e, t, q().formats, {
3671
+ ignoreTag: q().ignoreTag
3674
3672
  })
3675
- ), Kn = (e, t = {}) => {
3676
- var r, n, i, o;
3677
- let s = t;
3678
- typeof e == "object" && (s = e, e = s.id);
3673
+ ), Yn = (e, t = {}) => {
3674
+ var r, n, i, s;
3675
+ let o = t;
3676
+ typeof e == "object" && (o = e, e = o.id);
3679
3677
  const {
3680
3678
  values: u,
3681
- locale: l = V(),
3679
+ locale: l = k(),
3682
3680
  default: a
3683
- } = s;
3681
+ } = o;
3684
3682
  if (l == null)
3685
3683
  throw new Error(
3686
3684
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3687
3685
  );
3688
- let h = Gt(e, l);
3686
+ let h = Ut(e, l);
3689
3687
  if (!h)
3690
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3688
+ h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3691
3689
  else if (typeof h != "string")
3692
3690
  return console.warn(
3693
3691
  `[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.`
@@ -3696,7 +3694,7 @@ const ae = (e, t) => {
3696
3694
  return h;
3697
3695
  let c = h;
3698
3696
  try {
3699
- c = Yn(h, l).format(u);
3697
+ c = qn(h, l).format(u);
3700
3698
  } catch (f) {
3701
3699
  f instanceof Error && console.warn(
3702
3700
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,18 +3702,18 @@ const ae = (e, t) => {
3704
3702
  );
3705
3703
  }
3706
3704
  return c;
3707
- }, ei = (e, t) => qn(t).format(e), ti = (e, t) => Jn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = V()) => Gt(e, t), ii = ee([te, he], () => Kn);
3708
- ee([te], () => ei);
3709
- ee([te], () => ti);
3710
- ee([te], () => ri);
3711
- ee([te, he], () => ni);
3712
- function ft(e, t) {
3713
- Ft(e, t);
3714
- }
3715
- function oi(e) {
3716
- te.set(e);
3717
- }
3718
- const ct = {
3705
+ }, Kn = (e, t) => Jn(t).format(e), ei = (e, t) => Qn(t).format(e), ti = (e, t) => Zn(t).format(e), ri = (e, t = k()) => Ut(e, t), ni = K([ee, ue], () => Yn);
3706
+ K([ee], () => Kn);
3707
+ K([ee], () => ei);
3708
+ K([ee], () => ti);
3709
+ K([ee, ue], () => ri);
3710
+ function lt(e, t) {
3711
+ Dt(e, t);
3712
+ }
3713
+ function ii(e) {
3714
+ ee.set(e);
3715
+ }
3716
+ const ft = {
3719
3717
  en: {
3720
3718
  topCategories: "Top Categories",
3721
3719
  otherCategories: "Other Categories",
@@ -3831,7 +3829,7 @@ function si(e, t) {
3831
3829
  r.innerHTML = t, e.appendChild(r);
3832
3830
  }
3833
3831
  }
3834
- function ai(e, t) {
3832
+ function oi(e, t) {
3835
3833
  const r = new URL(t);
3836
3834
  fetch(r.href).then((n) => n.text()).then((n) => {
3837
3835
  const i = document.createElement("style");
@@ -3840,7 +3838,7 @@ function ai(e, t) {
3840
3838
  console.error("There was an error while trying to load client styling from URL", n);
3841
3839
  });
3842
3840
  }
3843
- function ui(e, t, r) {
3841
+ function ai(e, t, r) {
3844
3842
  if (window.emMessageBus) {
3845
3843
  const n = document.createElement("style");
3846
3844
  window.emMessageBus.subscribe(t, (i) => {
@@ -3848,67 +3846,67 @@ function ui(e, t, r) {
3848
3846
  });
3849
3847
  }
3850
3848
  }
3851
- function hi(e) {
3852
- Jt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3849
+ function ui(e) {
3850
+ Qt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3853
3851
  }
3854
- function gt(e, t, r) {
3852
+ function ct(e, t, r) {
3855
3853
  const n = e.slice();
3856
3854
  return n[23] = t[r], n;
3857
3855
  }
3858
- function mt(e, t, r) {
3856
+ function gt(e, t, r) {
3859
3857
  const n = e.slice();
3860
3858
  return n[23] = t[r], n;
3861
3859
  }
3862
- function li(e) {
3860
+ function hi(e) {
3863
3861
  let t, r, n = (
3864
3862
  /*$_*/
3865
3863
  e[5]("topCategories") + ""
3866
- ), i, o, s, u, l = (
3864
+ ), i, s, o, u, l = (
3867
3865
  /*$_*/
3868
3866
  e[5]("otherCategories") + ""
3869
- ), a, h, c = ce(
3867
+ ), a, h, c = fe(
3870
3868
  /*topCategories*/
3871
3869
  e[3]
3872
3870
  ), f = [];
3873
3871
  for (let g = 0; g < c.length; g += 1)
3874
- f[g] = pt(mt(e, c, g));
3875
- let p = ce(
3872
+ f[g] = mt(gt(e, c, g));
3873
+ let d = fe(
3876
3874
  /*otherCategories*/
3877
3875
  e[4]
3878
- ), d = [];
3879
- for (let g = 0; g < p.length; g += 1)
3880
- d[g] = dt(gt(e, p, g));
3876
+ ), p = [];
3877
+ for (let g = 0; g < d.length; g += 1)
3878
+ p[g] = dt(ct(e, d, g));
3881
3879
  return {
3882
3880
  c() {
3883
- t = B("div"), r = B("h4"), i = G(n), o = U();
3881
+ t = S("div"), r = S("h4"), i = U(n), s = R();
3884
3882
  for (let g = 0; g < f.length; g += 1)
3885
3883
  f[g].c();
3886
- s = U(), u = B("h4"), a = G(l), h = U();
3887
- for (let g = 0; g < d.length; g += 1)
3888
- d[g].c();
3884
+ o = R(), u = S("h4"), a = U(l), h = R();
3885
+ for (let g = 0; g < p.length; g += 1)
3886
+ p[g].c();
3889
3887
  L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
3890
3888
  },
3891
3889
  m(g, E) {
3892
- K(g, t, E), x(t, r), x(r, i), x(t, o);
3890
+ Y(g, t, E), v(t, r), v(r, i), v(t, s);
3893
3891
  for (let m = 0; m < f.length; m += 1)
3894
3892
  f[m] && f[m].m(t, null);
3895
- x(t, s), x(t, u), x(u, a), x(t, h);
3896
- for (let m = 0; m < d.length; m += 1)
3897
- d[m] && d[m].m(t, null);
3893
+ v(t, o), v(t, u), v(u, a), v(t, h);
3894
+ for (let m = 0; m < p.length; m += 1)
3895
+ p[m] && p[m].m(t, null);
3898
3896
  },
3899
3897
  p(g, E) {
3900
3898
  if (E & /*$_*/
3901
3899
  32 && n !== (n = /*$_*/
3902
- g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3900
+ g[5]("topCategories") + "") && D(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3903
3901
  105) {
3904
- c = ce(
3902
+ c = fe(
3905
3903
  /*topCategories*/
3906
3904
  g[3]
3907
3905
  );
3908
3906
  let m;
3909
3907
  for (m = 0; m < c.length; m += 1) {
3910
- const T = mt(g, c, m);
3911
- f[m] ? f[m].p(T, E) : (f[m] = pt(T), f[m].c(), f[m].m(t, s));
3908
+ const C = gt(g, c, m);
3909
+ f[m] ? f[m].p(C, E) : (f[m] = mt(C), f[m].c(), f[m].m(t, o));
3912
3910
  }
3913
3911
  for (; m < f.length; m += 1)
3914
3912
  f[m].d(1);
@@ -3916,54 +3914,54 @@ function li(e) {
3916
3914
  }
3917
3915
  if (E & /*$_*/
3918
3916
  32 && l !== (l = /*$_*/
3919
- g[5]("otherCategories") + "") && F(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3917
+ g[5]("otherCategories") + "") && D(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3920
3918
  113) {
3921
- p = ce(
3919
+ d = fe(
3922
3920
  /*otherCategories*/
3923
3921
  g[4]
3924
3922
  );
3925
3923
  let m;
3926
- for (m = 0; m < p.length; m += 1) {
3927
- const T = gt(g, p, m);
3928
- d[m] ? d[m].p(T, E) : (d[m] = dt(T), d[m].c(), d[m].m(t, null));
3924
+ for (m = 0; m < d.length; m += 1) {
3925
+ const C = ct(g, d, m);
3926
+ p[m] ? p[m].p(C, E) : (p[m] = dt(C), p[m].c(), p[m].m(t, null));
3929
3927
  }
3930
- for (; m < d.length; m += 1)
3931
- d[m].d(1);
3932
- d.length = p.length;
3928
+ for (; m < p.length; m += 1)
3929
+ p[m].d(1);
3930
+ p.length = d.length;
3933
3931
  }
3934
3932
  },
3935
3933
  d(g) {
3936
- g && k(t), Je(f, g), Je(d, g);
3934
+ g && j(t), Qe(f, g), Qe(p, g);
3937
3935
  }
3938
3936
  };
3939
3937
  }
3940
- function fi(e) {
3938
+ function li(e) {
3941
3939
  let t;
3942
3940
  return {
3943
3941
  c() {
3944
- t = B("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3942
+ t = S("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3945
3943
  },
3946
3944
  m(r, n) {
3947
- K(r, t, n);
3945
+ Y(r, t, n);
3948
3946
  },
3949
3947
  p: N,
3950
3948
  d(r) {
3951
- r && k(t);
3949
+ r && j(t);
3952
3950
  }
3953
3951
  };
3954
3952
  }
3955
- function pt(e) {
3956
- let t, r, n, i, o, s, u, l = (
3953
+ function mt(e) {
3954
+ let t, r, n, i, s, o, u, l = (
3957
3955
  /*category*/
3958
3956
  e[23].name + ""
3959
3957
  ), a, h, c, f = (
3960
3958
  /*category*/
3961
3959
  e[23].games.count + ""
3962
- ), p, d, g = (
3960
+ ), d, p, g = (
3963
3961
  /*$_*/
3964
3962
  e[5]("games") + ""
3965
- ), E, m, T, S;
3966
- function w() {
3963
+ ), E, m, C, A;
3964
+ function O() {
3967
3965
  return (
3968
3966
  /*click_handler*/
3969
3967
  e[15](
@@ -3974,48 +3972,48 @@ function pt(e) {
3974
3972
  }
3975
3973
  return {
3976
3974
  c() {
3977
- t = B("div"), r = B("ui-image"), o = U(), s = B("div"), u = B("p"), a = G(l), h = U(), c = B("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
3975
+ t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), d = U(f), p = R(), E = U(g), pe(r.src, n = /*category*/
3978
3976
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
3979
- e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
3977
+ e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
3980
3978
  (e[0] === /*category*/
3981
3979
  e[23].id ? "Active" : ""));
3982
3980
  },
3983
- m(A, H) {
3984
- K(A, t, H), x(t, r), x(t, o), x(t, s), x(s, u), x(u, a), x(s, h), x(s, c), x(c, p), x(c, d), x(c, E), T || (S = Et(t, "click", w), T = !0);
3981
+ m(B, H) {
3982
+ Y(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), C || (A = yt(t, "click", O), C = !0);
3985
3983
  },
3986
- p(A, H) {
3987
- e = A, H & /*topCategories*/
3988
- 8 && !be(r.src, n = /*category*/
3984
+ p(B, H) {
3985
+ e = B, H & /*topCategories*/
3986
+ 8 && !pe(r.src, n = /*category*/
3989
3987
  e[23].icon) && $(r, "src", n), H & /*topCategories*/
3990
3988
  8 && i !== (i = /*category*/
3991
3989
  e[23].name) && $(r, "alt", i), H & /*topCategories*/
3992
3990
  8 && l !== (l = /*category*/
3993
- e[23].name + "") && F(a, l), H & /*topCategories*/
3991
+ e[23].name + "") && D(a, l), H & /*topCategories*/
3994
3992
  8 && f !== (f = /*category*/
3995
- e[23].games.count + "") && F(p, f), H & /*$_*/
3993
+ e[23].games.count + "") && D(d, f), H & /*$_*/
3996
3994
  32 && g !== (g = /*$_*/
3997
- e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
3995
+ e[5]("games") + "") && D(E, g), H & /*activecategory, topCategories*/
3998
3996
  9 && m !== (m = "Category " + /*activecategory*/
3999
3997
  (e[0] === /*category*/
4000
3998
  e[23].id ? "Active" : "")) && L(t, "class", m);
4001
3999
  },
4002
- d(A) {
4003
- A && k(t), T = !1, S();
4000
+ d(B) {
4001
+ B && j(t), C = !1, A();
4004
4002
  }
4005
4003
  };
4006
4004
  }
4007
4005
  function dt(e) {
4008
- let t, r, n, i, o, s, u, l = (
4006
+ let t, r, n, i, s, o, u, l = (
4009
4007
  /*category*/
4010
4008
  e[23].name + ""
4011
4009
  ), a, h, c, f = (
4012
4010
  /*category*/
4013
4011
  e[23].games.count + ""
4014
- ), p, d, g = (
4012
+ ), d, p, g = (
4015
4013
  /*$_*/
4016
4014
  e[5]("games") + ""
4017
- ), E, m, T, S, w;
4018
- function A() {
4015
+ ), E, m, C, A, O;
4016
+ function B() {
4019
4017
  return (
4020
4018
  /*click_handler_1*/
4021
4019
  e[16](
@@ -4026,123 +4024,123 @@ function dt(e) {
4026
4024
  }
4027
4025
  return {
4028
4026
  c() {
4029
- t = B("div"), r = B("ui-image"), o = U(), s = B("div"), u = B("p"), a = G(l), h = U(), c = B("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4027
+ t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), d = U(f), p = R(), E = U(g), m = R(), pe(r.src, n = /*category*/
4030
4028
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
4031
- e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", T = "Category " + /*activecategory*/
4029
+ e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", C = "Category " + /*activecategory*/
4032
4030
  (e[0] === /*category*/
4033
4031
  e[23].id ? "Active" : ""));
4034
4032
  },
4035
4033
  m(H, P) {
4036
- K(H, t, P), x(t, r), x(t, o), x(t, s), x(s, u), x(u, a), x(s, h), x(s, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = Et(t, "click", A), S = !0);
4034
+ Y(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), A || (O = yt(t, "click", B), A = !0);
4037
4035
  },
4038
4036
  p(H, P) {
4039
4037
  e = H, P & /*otherCategories*/
4040
- 16 && !be(r.src, n = /*category*/
4038
+ 16 && !pe(r.src, n = /*category*/
4041
4039
  e[23].icon) && $(r, "src", n), P & /*otherCategories*/
4042
4040
  16 && i !== (i = /*category*/
4043
4041
  e[23].name) && $(r, "alt", i), P & /*otherCategories*/
4044
4042
  16 && l !== (l = /*category*/
4045
- e[23].name + "") && F(a, l), P & /*otherCategories*/
4043
+ e[23].name + "") && D(a, l), P & /*otherCategories*/
4046
4044
  16 && f !== (f = /*category*/
4047
- e[23].games.count + "") && F(p, f), P & /*$_*/
4045
+ e[23].games.count + "") && D(d, f), P & /*$_*/
4048
4046
  32 && g !== (g = /*$_*/
4049
- e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4050
- 17 && T !== (T = "Category " + /*activecategory*/
4047
+ e[5]("games") + "") && D(E, g), P & /*activecategory, otherCategories*/
4048
+ 17 && C !== (C = "Category " + /*activecategory*/
4051
4049
  (e[0] === /*category*/
4052
- e[23].id ? "Active" : "")) && L(t, "class", T);
4050
+ e[23].id ? "Active" : "")) && L(t, "class", C);
4053
4051
  },
4054
4052
  d(H) {
4055
- H && k(t), S = !1, w();
4053
+ H && j(t), A = !1, O();
4056
4054
  }
4057
4055
  };
4058
4056
  }
4059
- function ci(e) {
4057
+ function fi(e) {
4060
4058
  let t;
4061
- function r(o, s) {
4059
+ function r(s, o) {
4062
4060
  return (
4063
4061
  /*isLoading*/
4064
- o[2] ? fi : li
4062
+ s[2] ? li : hi
4065
4063
  );
4066
4064
  }
4067
4065
  let n = r(e), i = n(e);
4068
4066
  return {
4069
4067
  c() {
4070
- t = B("div"), i.c();
4068
+ t = S("div"), i.c();
4071
4069
  },
4072
- m(o, s) {
4073
- K(o, t, s), i.m(t, null), e[17](t);
4070
+ m(s, o) {
4071
+ Y(s, t, o), i.m(t, null), e[17](t);
4074
4072
  },
4075
- p(o, [s]) {
4076
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4073
+ p(s, [o]) {
4074
+ n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4077
4075
  },
4078
4076
  i: N,
4079
4077
  o: N,
4080
- d(o) {
4081
- o && k(t), i.d(), e[17](null);
4078
+ d(s) {
4079
+ s && j(t), i.d(), e[17](null);
4082
4080
  }
4083
4081
  };
4084
4082
  }
4085
- function gi(e, t, r) {
4083
+ function ci(e, t, r) {
4086
4084
  let n;
4087
- Qt(e, ii, (b) => r(5, n = b));
4088
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4085
+ Zt(e, ni, (b) => r(5, n = b));
4086
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
4089
4087
  const g = [];
4090
4088
  let E = [], m = [];
4091
- Object.keys(ct).forEach((b) => {
4092
- ft(b, ct[b]);
4089
+ Object.keys(ft).forEach((b) => {
4090
+ lt(b, ft[b]);
4093
4091
  });
4094
- const T = () => {
4092
+ const C = () => {
4095
4093
  fetch(c).then((M) => M.json()).then((M) => {
4096
- Object.keys(M).forEach((le) => {
4097
- ft(le, M[le]);
4094
+ Object.keys(M).forEach((he) => {
4095
+ lt(he, M[he]);
4098
4096
  });
4099
4097
  }).catch((M) => {
4100
4098
  console.log(M);
4101
4099
  });
4102
- }, S = () => {
4103
- r(2, d = !0);
4104
- const b = new URL(`${i}/v1/casino/groups/${o}`);
4105
- b.searchParams.append("language", s), fetch(b).then((M) => M.json()).then((M) => {
4106
- r(2, d = !1);
4107
- const le = l.split(",").map((j) => j.trim());
4100
+ }, A = () => {
4101
+ r(2, p = !0);
4102
+ const b = new URL(`${i}/v1/casino/groups/${s}`);
4103
+ b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
4104
+ r(2, p = !1);
4105
+ const he = l.split(",").map((F) => F.trim());
4108
4106
  g.push(...M.items);
4109
- const Ze = g.filter((j) => !le.some((Wt) => j.flags?.indexOf(Wt) >= 0));
4110
- r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4107
+ const We = g.filter((F) => !he.some((zt) => F.flags?.indexOf(zt) >= 0));
4108
+ r(3, E = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
4111
4109
  });
4112
- }, w = (b) => {
4110
+ }, O = (b) => {
4113
4111
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4114
- }, A = () => {
4115
- oi(s);
4112
+ }, B = () => {
4113
+ ii(o);
4116
4114
  };
4117
- rr(() => () => {
4115
+ tr(() => () => {
4118
4116
  });
4119
- const H = (b) => w(b.id), P = (b) => w(b.id);
4120
- function zt(b) {
4121
- Le[b ? "unshift" : "push"](() => {
4122
- p = b, r(1, p);
4117
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4118
+ function Xt(b) {
4119
+ Pe[b ? "unshift" : "push"](() => {
4120
+ d = b, r(1, d);
4123
4121
  });
4124
4122
  }
4125
4123
  return e.$$set = (b) => {
4126
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4124
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4127
4125
  }, e.$$.update = () => {
4128
4126
  e.$$.dirty & /*endpoint, datasource*/
4129
- 384 && i && o && S(), e.$$.dirty & /*translationurl*/
4130
- 8192 && c && T(), e.$$.dirty & /*lang*/
4131
- 512 && s && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4132
- 2050 && a && p && si(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4133
- 4098 && h && p && ai(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4134
- 16386 && f && p && ui(p, `${f}.Style`);
4127
+ 384 && i && s && A(), e.$$.dirty & /*translationurl*/
4128
+ 8192 && c && C(), e.$$.dirty & /*lang*/
4129
+ 512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4130
+ 2050 && a && d && si(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4131
+ 4098 && h && d && oi(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4132
+ 16386 && f && d && ai(d, `${f}.Style`);
4135
4133
  }, [
4136
4134
  u,
4137
- p,
4138
4135
  d,
4136
+ p,
4139
4137
  E,
4140
4138
  m,
4141
4139
  n,
4142
- w,
4140
+ O,
4143
4141
  i,
4144
- o,
4145
4142
  s,
4143
+ o,
4146
4144
  l,
4147
4145
  a,
4148
4146
  h,
@@ -4150,17 +4148,17 @@ function gi(e, t, r) {
4150
4148
  f,
4151
4149
  H,
4152
4150
  P,
4153
- zt
4151
+ Xt
4154
4152
  ];
4155
4153
  }
4156
- class mi extends mr {
4154
+ class gi extends gr {
4157
4155
  constructor(t) {
4158
- super(), cr(
4156
+ super(), fr(
4159
4157
  this,
4160
4158
  t,
4161
- gi,
4162
4159
  ci,
4163
- yt,
4160
+ fi,
4161
+ bt,
4164
4162
  {
4165
4163
  endpoint: 7,
4166
4164
  datasource: 8,
@@ -4172,7 +4170,7 @@ class mi extends mr {
4172
4170
  translationurl: 13,
4173
4171
  mbsource: 14
4174
4172
  },
4175
- hi
4173
+ ui
4176
4174
  );
4177
4175
  }
4178
4176
  get endpoint() {
@@ -4230,7 +4228,7 @@ class mi extends mr {
4230
4228
  this.$$set({ mbsource: t }), I();
4231
4229
  }
4232
4230
  }
4233
- gr(mi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4231
+ cr(gi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4234
4232
  export {
4235
- mi as C
4233
+ gi as C
4236
4234
  };