@everymatrix/casino-categories 1.60.1 → 1.61.0

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