@everymatrix/casino-categories 1.59.3 → 1.60.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,57 +1,57 @@
1
- var Yt = Object.defineProperty, Kt = Object.defineProperties;
2
- var er = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
1
+ var er = Object.defineProperty, tr = Object.defineProperties;
2
+ var rr = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- tr.call(t, r) && Ce(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- rr.call(t, r) && Ce(e, r, t[r]);
7
+ nr.call(t, r) && He(e, r, t[r]);
8
+ if (qe)
9
+ for (var r of qe(t))
10
+ ir.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, qe = (e, t) => Kt(e, er(t));
13
- var L = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ye = (e, t, r) => new Promise((n, i) => {
15
- var o = (h) => {
12
+ }, Ke = (e, t) => tr(e, rr(t));
13
+ var L = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var et = (e, t, r) => new Promise((n, i) => {
15
+ var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
18
18
  } catch (a) {
19
19
  i(a);
20
20
  }
21
- }, s = (h) => {
21
+ }, o = (h) => {
22
22
  try {
23
23
  u(r.throw(h));
24
24
  } catch (a) {
25
25
  i(a);
26
26
  }
27
- }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
27
+ }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
- function _t(e) {
32
+ function Tt(e) {
33
33
  return e();
34
34
  }
35
- function Ke() {
35
+ function tt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(_t);
39
+ e.forEach(Tt);
40
40
  }
41
41
  function Ve(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function vt(e, t) {
44
+ function Ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let le;
48
48
  function de(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function nr(e) {
51
+ function sr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Tt(e, ...t) {
54
+ function Ct(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Tt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function ir(e, t, r) {
64
- e.$$.on_destroy.push(Tt(t, r));
63
+ function or(e, t, r) {
64
+ e.$$.on_destroy.push(Ct(t, r));
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function or(e, t, r) {
70
- const n = sr(e);
69
+ function ar(e, t, r) {
70
+ const n = ur(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = O("style");
73
- i.id = t, i.textContent = r, ar(n, i);
73
+ i.id = t, i.textContent = r, hr(n, i);
74
74
  }
75
75
  }
76
- function sr(e) {
76
+ function ur(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function sr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function ar(e, t) {
86
+ function hr(e, t) {
87
87
  return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function Y(e, t, r) {
96
96
  function j(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function et(e, t) {
99
+ function rt(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -109,20 +109,20 @@ function U(e) {
109
109
  function R() {
110
110
  return U(" ");
111
111
  }
112
- function Ct(e, t, r, n) {
112
+ function At(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
115
  function A(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function ur(e) {
118
+ function lr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
121
  function D(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function hr(e) {
125
+ function cr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -135,25 +135,25 @@ let ie;
135
135
  function ne(e) {
136
136
  ie = e;
137
137
  }
138
- function lr() {
138
+ function fr() {
139
139
  if (!ie)
140
140
  throw new Error("Function called outside component initialization");
141
141
  return ie;
142
142
  }
143
- function fr(e) {
144
- lr().$$.on_mount.push(e);
143
+ function gr(e) {
144
+ fr().$$.on_mount.push(e);
145
145
  }
146
146
  const z = [], Ne = [];
147
147
  let W = [];
148
- const tt = [], cr = /* @__PURE__ */ Promise.resolve();
148
+ const nt = [], mr = /* @__PURE__ */ Promise.resolve();
149
149
  let Le = !1;
150
- function gr() {
151
- Le || (Le = !0, cr.then(M));
150
+ function pr() {
151
+ Le || (Le = !0, mr.then(M));
152
152
  }
153
153
  function Ie(e) {
154
154
  W.push(e);
155
155
  }
156
- const He = /* @__PURE__ */ new Set();
156
+ const Ce = /* @__PURE__ */ new Set();
157
157
  let V = 0;
158
158
  function M() {
159
159
  if (V !== 0)
@@ -163,7 +163,7 @@ function M() {
163
163
  try {
164
164
  for (; V < z.length; ) {
165
165
  const t = z[V];
166
- V++, ne(t), mr(t.$$);
166
+ V++, ne(t), dr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
169
  throw z.length = 0, V = 0, t;
@@ -172,57 +172,57 @@ function M() {
172
172
  Ne.pop()();
173
173
  for (let t = 0; t < W.length; t += 1) {
174
174
  const r = W[t];
175
- He.has(r) || (He.add(r), r());
175
+ Ce.has(r) || (Ce.add(r), r());
176
176
  }
177
177
  W.length = 0;
178
178
  } while (z.length);
179
- for (; tt.length; )
180
- tt.pop()();
181
- Le = !1, He.clear(), ne(e);
179
+ for (; nt.length; )
180
+ nt.pop()();
181
+ Le = !1, Ce.clear(), ne(e);
182
182
  }
183
- function mr(e) {
183
+ function dr(e) {
184
184
  if (e.fragment !== null) {
185
185
  e.update(), ae(e.before_update);
186
186
  const t = e.dirty;
187
187
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
188
188
  }
189
189
  }
190
- function pr(e) {
190
+ function br(e) {
191
191
  const t = [], r = [];
192
192
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
193
193
  }
194
- const dr = /* @__PURE__ */ new Set();
195
- function br(e, t) {
196
- e && e.i && (dr.delete(e), e.i(t));
194
+ const yr = /* @__PURE__ */ new Set();
195
+ function xr(e, t) {
196
+ e && e.i && (yr.delete(e), e.i(t));
197
197
  }
198
- function fe(e) {
198
+ function ce(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function yr(e, t, r) {
201
+ function Er(e, t, r) {
202
202
  const { fragment: n, after_update: i } = e.$$;
203
203
  n && n.m(t, r), Ie(() => {
204
- const o = e.$$.on_mount.map(_t).filter(Ve);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
204
+ const s = e.$$.on_mount.map(Tt).filter(Ve);
205
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
206
206
  }), i.forEach(Ie);
207
207
  }
208
- function xr(e, t) {
208
+ function _r(e, t) {
209
209
  const r = e.$$;
210
- r.fragment !== null && (pr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
+ r.fragment !== null && (br(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
211
  }
212
- function Er(e, t) {
213
- e.$$.dirty[0] === -1 && (z.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
+ function vr(e, t) {
213
+ e.$$.dirty[0] === -1 && (z.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
214
  }
215
- function _r(e, t, r, n, i, o, s = null, u = [-1]) {
215
+ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
216
216
  const h = ie;
217
217
  ne(e);
218
218
  const a = e.$$ = {
219
219
  fragment: null,
220
220
  ctx: [],
221
221
  // state
222
- props: o,
222
+ props: s,
223
223
  update: I,
224
224
  not_equal: i,
225
- bound: Ke(),
225
+ bound: tt(),
226
226
  // lifecycle
227
227
  on_mount: [],
228
228
  on_destroy: [],
@@ -231,28 +231,28 @@ function _r(e, t, r, n, i, o, s = null, u = [-1]) {
231
231
  after_update: [],
232
232
  context: new Map(t.context || (h ? h.$$.context : [])),
233
233
  // everything else
234
- callbacks: Ke(),
234
+ callbacks: tt(),
235
235
  dirty: u,
236
236
  skip_bound: !1,
237
237
  root: t.target || h.$$.root
238
238
  };
239
- s && s(a.root);
239
+ o && o(a.root);
240
240
  let l = !1;
241
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
242
- const d = p.length ? p[0] : f;
243
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Er(e, c)), f;
241
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
242
+ const d = p.length ? p[0] : c;
243
+ return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), l && vr(e, f)), c;
244
244
  }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
245
245
  if (t.hydrate) {
246
- const c = ur(t.target);
247
- a.fragment && a.fragment.l(c), c.forEach(j);
246
+ const f = lr(t.target);
247
+ a.fragment && a.fragment.l(f), f.forEach(j);
248
248
  } else
249
249
  a.fragment && a.fragment.c();
250
- t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), M();
250
+ t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
251
251
  }
252
252
  ne(h);
253
253
  }
254
- let Ht;
255
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
254
+ let Bt;
255
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
256
256
  constructor(t, r, n) {
257
257
  super();
258
258
  /** The Svelte component constructor */
@@ -289,42 +289,42 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
289
289
  }
290
290
  }
291
291
  connectedCallback() {
292
- return Ye(this, null, function* () {
292
+ return et(this, null, function* () {
293
293
  if (this.$$cn = !0, !this.$$c) {
294
- let t = function(o) {
294
+ let t = function(s) {
295
295
  return () => {
296
- let s;
296
+ let o;
297
297
  return {
298
298
  c: function() {
299
- s = O("slot"), o !== "default" && A(s, "name", o);
299
+ o = O("slot"), s !== "default" && A(o, "name", s);
300
300
  },
301
301
  /**
302
302
  * @param {HTMLElement} target
303
303
  * @param {HTMLElement} [anchor]
304
304
  */
305
305
  m: function(a, l) {
306
- Y(a, s, l);
306
+ Y(a, o, l);
307
307
  },
308
308
  d: function(a) {
309
- a && j(s);
309
+ a && j(o);
310
310
  }
311
311
  };
312
312
  };
313
313
  };
314
314
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
315
  return;
316
- const r = {}, n = hr(this);
317
- for (const o of this.$$s)
318
- o in n && (r[o] = [t(o)]);
319
- for (const o of this.attributes) {
320
- const s = this.$$g_p(o.name);
321
- s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
316
+ const r = {}, n = cr(this);
317
+ for (const s of this.$$s)
318
+ s in n && (r[s] = [t(s)]);
319
+ for (const s of this.attributes) {
320
+ const o = this.$$g_p(s.name);
321
+ o in this.$$d || (this.$$d[o] = ge(o, s.value, this.$$p_d, "toProp"));
322
322
  }
323
- for (const o in this.$$p_d)
324
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
323
+ for (const s in this.$$p_d)
324
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
325
325
  this.$$c = new this.$$ctor({
326
326
  target: this.shadowRoot || this,
327
- props: qe(Je({}, this.$$d), {
327
+ props: Ke(Ye({}, this.$$d), {
328
328
  $$slots: r,
329
329
  $$scope: {
330
330
  ctx: []
@@ -333,23 +333,23 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
333
333
  });
334
334
  const i = () => {
335
335
  this.$$r = !0;
336
- for (const o in this.$$p_d)
337
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
338
- const s = ge(
339
- o,
340
- this.$$d[o],
336
+ for (const s in this.$$p_d)
337
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
338
+ const o = ge(
339
+ s,
340
+ this.$$d[s],
341
341
  this.$$p_d,
342
342
  "toAttribute"
343
343
  );
344
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
344
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
345
345
  }
346
346
  this.$$r = !1;
347
347
  };
348
348
  this.$$c.$$.after_update.push(i), i();
349
- for (const o in this.$$l)
350
- for (const s of this.$$l[o]) {
351
- const u = this.$$c.$on(o, s);
352
- this.$$l_u.set(s, u);
349
+ for (const s in this.$$l)
350
+ for (const o of this.$$l[s]) {
351
+ const u = this.$$c.$on(s, o);
352
+ this.$$l_u.set(o, u);
353
353
  }
354
354
  this.$$l = {};
355
355
  }
@@ -373,8 +373,8 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
373
373
  }
374
374
  });
375
375
  function ge(e, t, r, n) {
376
- var o;
377
- const i = (o = r[e]) == null ? void 0 : o.type;
376
+ var s;
377
+ const i = (s = r[e]) == null ? void 0 : s.type;
378
378
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
379
379
  return t;
380
380
  if (n === "toAttribute")
@@ -402,8 +402,8 @@ function ge(e, t, r, n) {
402
402
  return t;
403
403
  }
404
404
  }
405
- function vr(e, t, r, n, i, o) {
406
- let s = class extends Ht {
405
+ function Hr(e, t, r, n, i, s) {
406
+ let o = class extends Bt {
407
407
  constructor() {
408
408
  super(e, r, i), this.$$p_d = t;
409
409
  }
@@ -414,7 +414,7 @@ function vr(e, t, r, n, i, o) {
414
414
  }
415
415
  };
416
416
  return Object.keys(t).forEach((u) => {
417
- Object.defineProperty(s.prototype, u, {
417
+ Object.defineProperty(o.prototype, u, {
418
418
  get() {
419
419
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
420
420
  },
@@ -424,16 +424,16 @@ function vr(e, t, r, n, i, o) {
424
424
  }
425
425
  });
426
426
  }), n.forEach((u) => {
427
- Object.defineProperty(s.prototype, u, {
427
+ Object.defineProperty(o.prototype, u, {
428
428
  get() {
429
429
  var h;
430
430
  return (h = this.$$c) == null ? void 0 : h[u];
431
431
  }
432
432
  });
433
433
  }), e.element = /** @type {any} */
434
- s, s;
434
+ o, o;
435
435
  }
436
- class Tr {
436
+ class Cr {
437
437
  constructor() {
438
438
  /**
439
439
  * ### PRIVATE API
@@ -454,7 +454,7 @@ class Tr {
454
454
  }
455
455
  /** @returns {void} */
456
456
  $destroy() {
457
- xr(this, 1), this.$destroy = I;
457
+ _r(this, 1), this.$destroy = I;
458
458
  }
459
459
  /**
460
460
  * @template {Extract<keyof Events, string>} K
@@ -476,13 +476,13 @@ class Tr {
476
476
  * @returns {void}
477
477
  */
478
478
  $set(t) {
479
- this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
+ this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
480
  }
481
481
  }
482
- const Cr = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
482
+ const Ar = "4";
483
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
484
484
  const X = [];
485
- function Hr(e, t) {
485
+ function Br(e, t) {
486
486
  return {
487
487
  subscribe: xe(e, t).subscribe
488
488
  };
@@ -491,7 +491,7 @@ function xe(e, t = I) {
491
491
  let r;
492
492
  const n = /* @__PURE__ */ new Set();
493
493
  function i(u) {
494
- if (vt(e, u) && (e = u, r)) {
494
+ if (Ht(e, u) && (e = u, r)) {
495
495
  const h = !X.length;
496
496
  for (const a of n)
497
497
  a[1](), X.push(a, e);
@@ -502,112 +502,112 @@ function xe(e, t = I) {
502
502
  }
503
503
  }
504
504
  }
505
- function o(u) {
505
+ function s(u) {
506
506
  i(u(e));
507
507
  }
508
- function s(u, h = I) {
508
+ function o(u, h = I) {
509
509
  const a = [u, h];
510
- return n.add(a), n.size === 1 && (r = t(i, o) || I), u(e), () => {
510
+ return n.add(a), n.size === 1 && (r = t(i, s) || I), u(e), () => {
511
511
  n.delete(a), n.size === 0 && r && (r(), r = null);
512
512
  };
513
513
  }
514
- return { set: i, update: o, subscribe: s };
514
+ return { set: i, update: s, subscribe: o };
515
515
  }
516
516
  function K(e, t, r) {
517
517
  const n = !Array.isArray(e), i = n ? [e] : e;
518
518
  if (!i.every(Boolean))
519
519
  throw new Error("derived() expects stores as input, got a falsy value");
520
- const o = t.length < 2;
521
- return Hr(r, (s, u) => {
520
+ const s = t.length < 2;
521
+ return Br(r, (o, u) => {
522
522
  let h = !1;
523
523
  const a = [];
524
- let l = 0, c = I;
525
- const f = () => {
524
+ let l = 0, f = I;
525
+ const c = () => {
526
526
  if (l)
527
527
  return;
528
- c();
529
- const d = t(n ? a[0] : a, s, u);
530
- o ? s(d) : c = Ve(d) ? d : I;
528
+ f();
529
+ const d = t(n ? a[0] : a, o, u);
530
+ s ? o(d) : f = Ve(d) ? d : I;
531
531
  }, p = i.map(
532
- (d, g) => Tt(
532
+ (d, g) => Ct(
533
533
  d,
534
534
  (_) => {
535
- a[g] = _, l &= ~(1 << g), h && f();
535
+ a[g] = _, l &= ~(1 << g), h && c();
536
536
  },
537
537
  () => {
538
538
  l |= 1 << g;
539
539
  }
540
540
  )
541
541
  );
542
- return h = !0, f(), function() {
543
- ae(p), c(), h = !1;
542
+ return h = !0, c(), function() {
543
+ ae(p), f(), h = !1;
544
544
  };
545
545
  });
546
546
  }
547
- function Ar(e) {
547
+ function Sr(e) {
548
548
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
549
  }
550
- var Br = function(t) {
551
- return Sr(t) && !Or(t);
550
+ var Or = function(t) {
551
+ return wr(t) && !Pr(t);
552
552
  };
553
- function Sr(e) {
553
+ function wr(e) {
554
554
  return !!e && typeof e == "object";
555
555
  }
556
- function Or(e) {
556
+ function Pr(e) {
557
557
  var t = Object.prototype.toString.call(e);
558
- return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
558
+ return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
559
559
  }
560
- var wr = typeof Symbol == "function" && Symbol.for, Pr = wr ? Symbol.for("react.element") : 60103;
561
- function Nr(e) {
562
- return e.$$typeof === Pr;
560
+ var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
561
+ function Ir(e) {
562
+ return e.$$typeof === Lr;
563
563
  }
564
- function Lr(e) {
564
+ function Mr(e) {
565
565
  return Array.isArray(e) ? [] : {};
566
566
  }
567
- function oe(e, t) {
568
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Lr(e), e, t) : e;
567
+ function se(e, t) {
568
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Mr(e), e, t) : e;
569
569
  }
570
- function Ir(e, t, r) {
570
+ function $r(e, t, r) {
571
571
  return e.concat(t).map(function(n) {
572
- return oe(n, r);
572
+ return se(n, r);
573
573
  });
574
574
  }
575
- function Mr(e, t) {
575
+ function Rr(e, t) {
576
576
  if (!t.customMerge)
577
577
  return Z;
578
578
  var r = t.customMerge(e);
579
579
  return typeof r == "function" ? r : Z;
580
580
  }
581
- function $r(e) {
581
+ function Ur(e) {
582
582
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
583
583
  return Object.propertyIsEnumerable.call(e, t);
584
584
  }) : [];
585
585
  }
586
- function rt(e) {
587
- return Object.keys(e).concat($r(e));
586
+ function it(e) {
587
+ return Object.keys(e).concat(Ur(e));
588
588
  }
589
- function At(e, t) {
589
+ function St(e, t) {
590
590
  try {
591
591
  return t in e;
592
592
  } catch (r) {
593
593
  return !1;
594
594
  }
595
595
  }
596
- function Rr(e, t) {
597
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
596
+ function Gr(e, t) {
597
+ return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
598
  }
599
- function Ur(e, t, r) {
599
+ function Dr(e, t, r) {
600
600
  var n = {};
601
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
602
- n[i] = oe(e[i], r);
603
- }), rt(t).forEach(function(i) {
604
- Rr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
601
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
602
+ n[i] = se(e[i], r);
603
+ }), it(t).forEach(function(i) {
604
+ Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
605
605
  }), n;
606
606
  }
607
607
  function Z(e, t, r) {
608
- r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = oe;
609
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
610
- return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : oe(t, r);
608
+ r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = se;
609
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
610
+ return s ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : se(t, r);
611
611
  }
612
612
  Z.all = function(t, r) {
613
613
  if (!Array.isArray(t))
@@ -616,8 +616,8 @@ Z.all = function(t, r) {
616
616
  return Z(n, i, r);
617
617
  }, {});
618
618
  };
619
- var Gr = Z, Dr = Gr;
620
- const Fr = /* @__PURE__ */ Ar(Dr);
619
+ var Fr = Z, jr = Fr;
620
+ const kr = /* @__PURE__ */ Sr(jr);
621
621
  /*! *****************************************************************************
622
622
  Copyright (c) Microsoft Corporation.
623
623
 
@@ -653,13 +653,13 @@ var E = function() {
653
653
  return E = Object.assign || function(t) {
654
654
  for (var r, n = 1, i = arguments.length; n < i; n++) {
655
655
  r = arguments[n];
656
- for (var o in r)
657
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
656
+ for (var s in r)
657
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
658
658
  }
659
659
  return t;
660
660
  }, E.apply(this, arguments);
661
661
  };
662
- function jr(e, t) {
662
+ function Vr(e, t) {
663
663
  var r = {};
664
664
  for (var n in e)
665
665
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -670,58 +670,60 @@ function jr(e, t) {
670
670
  }
671
671
  function Ae(e, t, r) {
672
672
  if (arguments.length === 2)
673
- for (var n = 0, i = t.length, o; n < i; n++)
674
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
675
- return e.concat(o || t);
673
+ for (var n = 0, i = t.length, s; n < i; n++)
674
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
675
+ return e.concat(s || t);
676
676
  }
677
677
  function Be(e, t) {
678
- var r = t && t.cache ? t.cache : Qr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Xr;
678
+ var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : zr;
679
679
  return i(e, {
680
680
  cache: r,
681
681
  serializer: n
682
682
  });
683
683
  }
684
- function kr(e) {
684
+ function Xr(e) {
685
685
  return e == null || typeof e == "number" || typeof e == "boolean";
686
686
  }
687
- function Vr(e, t, r, n) {
688
- var i = kr(n) ? n : r(n), o = t.get(i);
689
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
687
+ function Ot(e, t, r, n) {
688
+ var i = Xr(n) ? n : r(n), s = t.get(i);
689
+ return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
690
690
  }
691
- function Bt(e, t, r) {
692
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
693
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
691
+ function wt(e, t, r) {
692
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
693
+ return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
694
694
  }
695
- function St(e, t, r, n, i) {
695
+ function Xe(e, t, r, n, i) {
696
696
  return r.bind(t, e, n, i);
697
697
  }
698
- function Xr(e, t) {
699
- var r = e.length === 1 ? Vr : Bt;
700
- return St(e, this, r, t.cache.create(), t.serializer);
701
- }
702
698
  function zr(e, t) {
703
- return St(e, this, Bt, t.cache.create(), t.serializer);
699
+ var r = e.length === 1 ? Ot : wt;
700
+ return Xe(e, this, r, t.cache.create(), t.serializer);
701
+ }
702
+ function Wr(e, t) {
703
+ return Xe(e, this, wt, t.cache.create(), t.serializer);
704
704
  }
705
- var Wr = function() {
705
+ function Zr(e, t) {
706
+ return Xe(e, this, Ot, t.cache.create(), t.serializer);
707
+ }
708
+ var Qr = function() {
706
709
  return JSON.stringify(arguments);
707
- }, Zr = (
708
- /** @class */
709
- function() {
710
- function e() {
711
- this.cache = /* @__PURE__ */ Object.create(null);
712
- }
713
- return e.prototype.get = function(t) {
714
- return this.cache[t];
715
- }, e.prototype.set = function(t, r) {
716
- this.cache[t] = r;
717
- }, e;
718
- }()
719
- ), Qr = {
710
+ };
711
+ function ze() {
712
+ this.cache = /* @__PURE__ */ Object.create(null);
713
+ }
714
+ ze.prototype.get = function(e) {
715
+ return this.cache[e];
716
+ };
717
+ ze.prototype.set = function(e, t) {
718
+ this.cache[e] = t;
719
+ };
720
+ var Jr = {
720
721
  create: function() {
721
- return new Zr();
722
+ return new ze();
722
723
  }
723
724
  }, Se = {
724
- variadic: zr
725
+ variadic: Wr,
726
+ monadic: Zr
725
727
  }, y;
726
728
  (function(e) {
727
729
  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";
@@ -734,43 +736,43 @@ var Q;
734
736
  (function(e) {
735
737
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
736
738
  })(Q || (Q = {}));
737
- function nt(e) {
739
+ function st(e) {
738
740
  return e.type === T.literal;
739
741
  }
740
- function Jr(e) {
742
+ function qr(e) {
741
743
  return e.type === T.argument;
742
744
  }
743
- function Ot(e) {
745
+ function Pt(e) {
744
746
  return e.type === T.number;
745
747
  }
746
- function wt(e) {
748
+ function Nt(e) {
747
749
  return e.type === T.date;
748
750
  }
749
- function Pt(e) {
751
+ function Lt(e) {
750
752
  return e.type === T.time;
751
753
  }
752
- function Nt(e) {
754
+ function It(e) {
753
755
  return e.type === T.select;
754
756
  }
755
- function Lt(e) {
757
+ function Mt(e) {
756
758
  return e.type === T.plural;
757
759
  }
758
- function qr(e) {
760
+ function Yr(e) {
759
761
  return e.type === T.pound;
760
762
  }
761
- function It(e) {
763
+ function $t(e) {
762
764
  return e.type === T.tag;
763
765
  }
764
- function Mt(e) {
766
+ function Rt(e) {
765
767
  return !!(e && typeof e == "object" && e.type === Q.number);
766
768
  }
767
769
  function $e(e) {
768
770
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
769
771
  }
770
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
771
- function Kr(e) {
772
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
773
+ function en(e) {
772
774
  var t = {};
773
- return e.replace(Yr, function(r) {
775
+ return e.replace(Kr, function(r) {
774
776
  var n = r.length;
775
777
  switch (r[0]) {
776
778
  case "G":
@@ -859,36 +861,36 @@ function Kr(e) {
859
861
  return "";
860
862
  }), t;
861
863
  }
862
- var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
863
- function tn(e) {
864
+ var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
865
+ function rn(e) {
864
866
  if (e.length === 0)
865
867
  throw new Error("Number skeleton cannot be empty");
866
- for (var t = e.split(en).filter(function(f) {
867
- return f.length > 0;
868
+ for (var t = e.split(tn).filter(function(c) {
869
+ return c.length > 0;
868
870
  }), r = [], n = 0, i = t; n < i.length; n++) {
869
- var o = i[n], s = o.split("/");
870
- if (s.length === 0)
871
+ var s = i[n], o = s.split("/");
872
+ if (o.length === 0)
871
873
  throw new Error("Invalid number skeleton");
872
- for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
873
- var c = l[a];
874
- if (c.length === 0)
874
+ for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
875
+ var f = l[a];
876
+ if (f.length === 0)
875
877
  throw new Error("Invalid number skeleton");
876
878
  }
877
879
  r.push({ stem: u, options: h });
878
880
  }
879
881
  return r;
880
882
  }
881
- function rn(e) {
883
+ function nn(e) {
882
884
  return e.replace(/^(.*?)-/, "");
883
885
  }
884
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
885
- function ot(e) {
886
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
887
+ function at(e) {
886
888
  var t = {};
887
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
889
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
888
890
  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)), "";
889
891
  }), t;
890
892
  }
891
- function Gt(e) {
893
+ function Ft(e) {
892
894
  switch (e) {
893
895
  case "sign-auto":
894
896
  return {
@@ -936,17 +938,17 @@ function on(e) {
936
938
  notation: "scientific"
937
939
  }, e = e.slice(1)), t) {
938
940
  var r = e.slice(0, 2);
939
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
941
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
940
942
  throw new Error("Malformed concise eng/scientific notation");
941
943
  t.minimumIntegerDigits = e.length;
942
944
  }
943
945
  return t;
944
946
  }
945
- function st(e) {
946
- var t = {}, r = Gt(e);
947
+ function ut(e) {
948
+ var t = {}, r = Ft(e);
947
949
  return r || t;
948
950
  }
949
- function sn(e) {
951
+ function an(e) {
950
952
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
951
953
  var i = n[r];
952
954
  switch (i.stem) {
@@ -970,7 +972,7 @@ function sn(e) {
970
972
  continue;
971
973
  case "measure-unit":
972
974
  case "unit":
973
- t.style = "unit", t.unit = rn(i.options[0]);
975
+ t.style = "unit", t.unit = nn(i.options[0]);
974
976
  continue;
975
977
  case "compact-short":
976
978
  case "K":
@@ -982,12 +984,12 @@ function sn(e) {
982
984
  continue;
983
985
  case "scientific":
984
986
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
985
- return E(E({}, h), st(a));
987
+ return E(E({}, h), ut(a));
986
988
  }, {}));
987
989
  continue;
988
990
  case "engineering":
989
991
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
990
- return E(E({}, h), st(a));
992
+ return E(E({}, h), ut(a));
991
993
  }, {}));
992
994
  continue;
993
995
  case "notation-simple":
@@ -1032,11 +1034,11 @@ function sn(e) {
1032
1034
  case "integer-width":
1033
1035
  if (i.options.length > 1)
1034
1036
  throw new RangeError("integer-width stems only accept a single optional option");
1035
- i.options[0].replace(nn, function(h, a, l, c, f, p) {
1037
+ i.options[0].replace(sn, function(h, a, l, f, c, p) {
1036
1038
  if (a)
1037
1039
  t.minimumIntegerDigits = l.length;
1038
1040
  else {
1039
- if (c && f)
1041
+ if (f && c)
1040
1042
  throw new Error("We currently do not support maximum integer digits");
1041
1043
  if (p)
1042
1044
  throw new Error("We currently do not support exact integer digits");
@@ -1045,32 +1047,32 @@ function sn(e) {
1045
1047
  });
1046
1048
  continue;
1047
1049
  }
1048
- if (Ut.test(i.stem)) {
1050
+ if (Dt.test(i.stem)) {
1049
1051
  t.minimumIntegerDigits = i.stem.length;
1050
1052
  continue;
1051
1053
  }
1052
- if (it.test(i.stem)) {
1054
+ if (ot.test(i.stem)) {
1053
1055
  if (i.options.length > 1)
1054
1056
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1055
- i.stem.replace(it, function(h, a, l, c, f, p) {
1056
- return l === "*" ? 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), "";
1057
+ i.stem.replace(ot, function(h, a, l, f, c, p) {
1058
+ return l === "*" ? 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), "";
1057
1059
  });
1058
- var o = i.options[0];
1059
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), ot(o)));
1060
+ var s = i.options[0];
1061
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
1060
1062
  continue;
1061
1063
  }
1062
- if (Rt.test(i.stem)) {
1063
- t = E(E({}, t), ot(i.stem));
1064
+ if (Gt.test(i.stem)) {
1065
+ t = E(E({}, t), at(i.stem));
1064
1066
  continue;
1065
1067
  }
1066
- var s = Gt(i.stem);
1067
- s && (t = E(E({}, t), s));
1068
+ var o = Ft(i.stem);
1069
+ o && (t = E(E({}, t), o));
1068
1070
  var u = on(i.stem);
1069
1071
  u && (t = E(E({}, t), u));
1070
1072
  }
1071
1073
  return t;
1072
1074
  }
1073
- var ce = {
1075
+ var fe = {
1074
1076
  "001": [
1075
1077
  "H",
1076
1078
  "h"
@@ -2485,23 +2487,23 @@ var ce = {
2485
2487
  "h"
2486
2488
  ]
2487
2489
  };
2488
- function an(e, t) {
2490
+ function un(e, t) {
2489
2491
  for (var r = "", n = 0; n < e.length; n++) {
2490
2492
  var i = e.charAt(n);
2491
2493
  if (i === "j") {
2492
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2493
- o++, n++;
2494
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = un(t);
2494
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2495
+ s++, n++;
2496
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = hn(t);
2495
2497
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2496
2498
  r += h;
2497
- for (; s-- > 0; )
2499
+ for (; o-- > 0; )
2498
2500
  r = a + r;
2499
2501
  } else
2500
2502
  i === "J" ? r += "H" : r += i;
2501
2503
  }
2502
2504
  return r;
2503
2505
  }
2504
- function un(e) {
2506
+ function hn(e) {
2505
2507
  var t = e.hourCycle;
2506
2508
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2507
2509
  e.hourCycles && // @ts-ignore
@@ -2520,23 +2522,23 @@ function un(e) {
2520
2522
  }
2521
2523
  var r = e.language, n;
2522
2524
  r !== "root" && (n = e.maximize().region);
2523
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2525
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2524
2526
  return i[0];
2525
2527
  }
2526
- var Oe, hn = new RegExp("^".concat($t.source, "*")), ln = new RegExp("".concat($t.source, "*$"));
2528
+ var Oe, ln = new RegExp("^".concat(Ut.source, "*")), cn = new RegExp("".concat(Ut.source, "*$"));
2527
2529
  function x(e, t) {
2528
2530
  return { start: e, end: t };
2529
2531
  }
2530
- var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String.fromCodePoint, gn = !!Object.fromEntries, mn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, dn = !!String.prototype.trimEnd, bn = !!Number.isSafeInteger, yn = bn ? Number.isSafeInteger : function(e) {
2532
+ var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, xn = yn ? Number.isSafeInteger : function(e) {
2531
2533
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2532
2534
  }, Re = !0;
2533
2535
  try {
2534
- var xn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2535
- Re = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2536
+ var En = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2537
+ Re = ((Oe = En.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2536
2538
  } catch (e) {
2537
2539
  Re = !1;
2538
2540
  }
2539
- var at = fn ? (
2541
+ var ht = fn ? (
2540
2542
  // Native
2541
2543
  function(t, r, n) {
2542
2544
  return t.startsWith(r, n);
@@ -2546,31 +2548,31 @@ var at = fn ? (
2546
2548
  function(t, r, n) {
2547
2549
  return t.slice(n, n + r.length) === r;
2548
2550
  }
2549
- ), Ue = cn ? String.fromCodePoint : (
2551
+ ), Ue = gn ? String.fromCodePoint : (
2550
2552
  // IE11
2551
2553
  function() {
2552
2554
  for (var t = [], r = 0; r < arguments.length; r++)
2553
2555
  t[r] = arguments[r];
2554
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2555
- if (s = t[o++], s > 1114111)
2556
- throw RangeError(s + " is not a valid code point");
2557
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2556
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2557
+ if (o = t[s++], o > 1114111)
2558
+ throw RangeError(o + " is not a valid code point");
2559
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2558
2560
  }
2559
2561
  return n;
2560
2562
  }
2561
- ), ut = (
2563
+ ), lt = (
2562
2564
  // native
2563
- gn ? Object.fromEntries : (
2565
+ mn ? Object.fromEntries : (
2564
2566
  // Ponyfill
2565
2567
  function(t) {
2566
2568
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2567
- var o = i[n], s = o[0], u = o[1];
2568
- r[s] = u;
2569
+ var s = i[n], o = s[0], u = s[1];
2570
+ r[o] = u;
2569
2571
  }
2570
2572
  return r;
2571
2573
  }
2572
2574
  )
2573
- ), Dt = mn ? (
2575
+ ), jt = pn ? (
2574
2576
  // Native
2575
2577
  function(t, r) {
2576
2578
  return t.codePointAt(r);
@@ -2580,11 +2582,11 @@ var at = fn ? (
2580
2582
  function(t, r) {
2581
2583
  var n = t.length;
2582
2584
  if (!(r < 0 || r >= n)) {
2583
- var i = t.charCodeAt(r), o;
2584
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2585
+ var i = t.charCodeAt(r), s;
2586
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2585
2587
  }
2586
2588
  }
2587
- ), En = pn ? (
2589
+ ), _n = dn ? (
2588
2590
  // Native
2589
2591
  function(t) {
2590
2592
  return t.trimStart();
@@ -2592,9 +2594,9 @@ var at = fn ? (
2592
2594
  ) : (
2593
2595
  // Ponyfill
2594
2596
  function(t) {
2595
- return t.replace(hn, "");
2597
+ return t.replace(ln, "");
2596
2598
  }
2597
- ), _n = dn ? (
2599
+ ), vn = bn ? (
2598
2600
  // Native
2599
2601
  function(t) {
2600
2602
  return t.trimEnd();
@@ -2602,32 +2604,32 @@ var at = fn ? (
2602
2604
  ) : (
2603
2605
  // Ponyfill
2604
2606
  function(t) {
2605
- return t.replace(ln, "");
2607
+ return t.replace(cn, "");
2606
2608
  }
2607
2609
  );
2608
- function Ft(e, t) {
2610
+ function kt(e, t) {
2609
2611
  return new RegExp(e, t);
2610
2612
  }
2611
2613
  var Ge;
2612
2614
  if (Re) {
2613
- var ht = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
+ var ct = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2614
2616
  Ge = function(t, r) {
2615
2617
  var n;
2616
- ht.lastIndex = r;
2617
- var i = ht.exec(t);
2618
+ ct.lastIndex = r;
2619
+ var i = ct.exec(t);
2618
2620
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2619
2621
  };
2620
2622
  } else
2621
2623
  Ge = function(t, r) {
2622
2624
  for (var n = []; ; ) {
2623
- var i = Dt(t, r);
2624
- if (i === void 0 || jt(i) || Hn(i))
2625
+ var i = jt(t, r);
2626
+ if (i === void 0 || Vt(i) || An(i))
2625
2627
  break;
2626
2628
  n.push(i), r += i >= 65536 ? 2 : 1;
2627
2629
  }
2628
2630
  return Ue.apply(void 0, n);
2629
2631
  };
2630
- var vn = (
2632
+ var Tn = (
2631
2633
  /** @class */
2632
2634
  function() {
2633
2635
  function e(t, r) {
@@ -2639,35 +2641,35 @@ var vn = (
2639
2641
  return this.parseMessage(0, "", !1);
2640
2642
  }, e.prototype.parseMessage = function(t, r, n) {
2641
2643
  for (var i = []; !this.isEOF(); ) {
2642
- var o = this.char();
2643
- if (o === 123) {
2644
- var s = this.parseArgument(t, n);
2645
- if (s.err)
2646
- return s;
2647
- i.push(s.val);
2644
+ var s = this.char();
2645
+ if (s === 123) {
2646
+ var o = this.parseArgument(t, n);
2647
+ if (o.err)
2648
+ return o;
2649
+ i.push(o.val);
2648
2650
  } else {
2649
- if (o === 125 && t > 0)
2651
+ if (s === 125 && t > 0)
2650
2652
  break;
2651
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2653
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2652
2654
  var u = this.clonePosition();
2653
2655
  this.bump(), i.push({
2654
2656
  type: T.pound,
2655
2657
  location: x(u, this.clonePosition())
2656
2658
  });
2657
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2659
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2658
2660
  if (n)
2659
2661
  break;
2660
2662
  return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2661
- } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2662
- var s = this.parseTag(t, r);
2663
- if (s.err)
2664
- return s;
2665
- i.push(s.val);
2663
+ } else if (s === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2664
+ var o = this.parseTag(t, r);
2665
+ if (o.err)
2666
+ return o;
2667
+ i.push(o.val);
2666
2668
  } else {
2667
- var s = this.parseLiteral(t, r);
2668
- if (s.err)
2669
- return s;
2670
- i.push(s.val);
2669
+ var o = this.parseLiteral(t, r);
2670
+ if (o.err)
2671
+ return o;
2672
+ i.push(o.val);
2671
2673
  }
2672
2674
  }
2673
2675
  }
@@ -2686,10 +2688,10 @@ var vn = (
2686
2688
  err: null
2687
2689
  };
2688
2690
  if (this.bumpIf(">")) {
2689
- var o = this.parseMessage(t + 1, r, !0);
2690
- if (o.err)
2691
- return o;
2692
- var s = o.val, u = this.clonePosition();
2691
+ var s = this.parseMessage(t + 1, r, !0);
2692
+ if (s.err)
2693
+ return s;
2694
+ var o = s.val, u = this.clonePosition();
2693
2695
  if (this.bumpIf("</")) {
2694
2696
  if (this.isEOF() || !De(this.char()))
2695
2697
  return this.error(y.INVALID_TAG, x(u, this.clonePosition()));
@@ -2698,7 +2700,7 @@ var vn = (
2698
2700
  val: {
2699
2701
  type: T.tag,
2700
2702
  value: i,
2701
- children: s,
2703
+ children: o,
2702
2704
  location: x(n, this.clonePosition())
2703
2705
  },
2704
2706
  err: null
@@ -2714,16 +2716,16 @@ var vn = (
2714
2716
  return this.message.slice(t, this.offset());
2715
2717
  }, e.prototype.parseLiteral = function(t, r) {
2716
2718
  for (var n = this.clonePosition(), i = ""; ; ) {
2717
- var o = this.tryParseQuote(r);
2718
- if (o) {
2719
- i += o;
2720
- continue;
2721
- }
2722
- var s = this.tryParseUnquoted(t, r);
2719
+ var s = this.tryParseQuote(r);
2723
2720
  if (s) {
2724
2721
  i += s;
2725
2722
  continue;
2726
2723
  }
2724
+ var o = this.tryParseUnquoted(t, r);
2725
+ if (o) {
2726
+ i += o;
2727
+ continue;
2728
+ }
2727
2729
  var u = this.tryParseLeftAngleBracket();
2728
2730
  if (u) {
2729
2731
  i += u;
@@ -2738,7 +2740,7 @@ var vn = (
2738
2740
  };
2739
2741
  }, e.prototype.tryParseLeftAngleBracket = function() {
2740
2742
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2741
- !Tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2743
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2742
2744
  }, e.prototype.tryParseQuote = function(t) {
2743
2745
  if (this.isEOF() || this.char() !== 39)
2744
2746
  return null;
@@ -2808,13 +2810,13 @@ var vn = (
2808
2810
  }, e.prototype.parseIdentifierIfPossible = function() {
2809
2811
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2810
2812
  this.bumpTo(i);
2811
- var o = this.clonePosition(), s = x(t, o);
2812
- return { value: n, location: s };
2813
+ var s = this.clonePosition(), o = x(t, s);
2814
+ return { value: n, location: o };
2813
2815
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2814
- var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2816
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2815
2817
  switch (u) {
2816
2818
  case "":
2817
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(s, h));
2819
+ return this.error(y.EXPECT_ARGUMENT_TYPE, x(o, h));
2818
2820
  case "number":
2819
2821
  case "date":
2820
2822
  case "time": {
@@ -2822,40 +2824,40 @@ var vn = (
2822
2824
  var a = null;
2823
2825
  if (this.bumpIf(",")) {
2824
2826
  this.bumpSpace();
2825
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2826
- if (c.err)
2827
- return c;
2828
- var f = _n(c.val);
2829
- if (f.length === 0)
2827
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2828
+ if (f.err)
2829
+ return f;
2830
+ var c = vn(f.val);
2831
+ if (c.length === 0)
2830
2832
  return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2831
2833
  var p = x(l, this.clonePosition());
2832
- a = { style: f, styleLocation: p };
2834
+ a = { style: c, styleLocation: p };
2833
2835
  }
2834
2836
  var d = this.tryParseArgumentClose(i);
2835
2837
  if (d.err)
2836
2838
  return d;
2837
2839
  var g = x(i, this.clonePosition());
2838
- if (a && at(a == null ? void 0 : a.style, "::", 0)) {
2839
- var _ = En(a.style.slice(2));
2840
+ if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
2841
+ var _ = _n(a.style.slice(2));
2840
2842
  if (u === "number") {
2841
- var c = this.parseNumberSkeletonFromString(_, a.styleLocation);
2842
- return c.err ? c : {
2843
- val: { type: T.number, value: n, location: g, style: c.val },
2843
+ var f = this.parseNumberSkeletonFromString(_, a.styleLocation);
2844
+ return f.err ? f : {
2845
+ val: { type: T.number, value: n, location: g, style: f.val },
2844
2846
  err: null
2845
2847
  };
2846
2848
  } else {
2847
2849
  if (_.length === 0)
2848
2850
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2849
2851
  var m = _;
2850
- this.locale && (m = an(_, this.locale));
2851
- var f = {
2852
+ this.locale && (m = un(_, this.locale));
2853
+ var c = {
2852
2854
  type: Q.dateTime,
2853
2855
  pattern: m,
2854
2856
  location: a.styleLocation,
2855
- parsedOptions: this.shouldParseSkeletons ? Kr(m) : {}
2856
- }, C = u === "date" ? T.date : T.time;
2857
+ parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2858
+ }, H = u === "date" ? T.date : T.time;
2857
2859
  return {
2858
- val: { type: C, value: n, location: g, style: f },
2860
+ val: { type: H, value: n, location: g, style: c },
2859
2861
  err: null
2860
2862
  };
2861
2863
  }
@@ -2865,7 +2867,7 @@ var vn = (
2865
2867
  type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2866
2868
  value: n,
2867
2869
  location: g,
2868
- style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
2870
+ style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2869
2871
  },
2870
2872
  err: null
2871
2873
  };
@@ -2882,14 +2884,14 @@ var vn = (
2882
2884
  if (!this.bumpIf(":"))
2883
2885
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2884
2886
  this.bumpSpace();
2885
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2886
- if (c.err)
2887
- return c;
2888
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = c.val;
2887
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2888
+ if (f.err)
2889
+ return f;
2890
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = f.val;
2889
2891
  }
2890
- var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
2891
- if (H.err)
2892
- return H;
2892
+ var C = this.tryParsePluralOrSelectOptions(t, u, r, P);
2893
+ if (C.err)
2894
+ return C;
2893
2895
  var d = this.tryParseArgumentClose(i);
2894
2896
  if (d.err)
2895
2897
  return d;
@@ -2898,7 +2900,7 @@ var vn = (
2898
2900
  val: {
2899
2901
  type: T.select,
2900
2902
  value: n,
2901
- options: ut(H.val),
2903
+ options: lt(C.val),
2902
2904
  location: N
2903
2905
  },
2904
2906
  err: null
@@ -2906,7 +2908,7 @@ var vn = (
2906
2908
  val: {
2907
2909
  type: T.plural,
2908
2910
  value: n,
2909
- options: ut(H.val),
2911
+ options: lt(C.val),
2910
2912
  offset: S,
2911
2913
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2912
2914
  location: N
@@ -2915,7 +2917,7 @@ var vn = (
2915
2917
  };
2916
2918
  }
2917
2919
  default:
2918
- return this.error(y.INVALID_ARGUMENT_TYPE, x(s, h));
2920
+ return this.error(y.INVALID_ARGUMENT_TYPE, x(o, h));
2919
2921
  }
2920
2922
  }, e.prototype.tryParseArgumentClose = function(t) {
2921
2923
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2957,7 +2959,7 @@ var vn = (
2957
2959
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2958
2960
  var n = [];
2959
2961
  try {
2960
- n = tn(t);
2962
+ n = rn(t);
2961
2963
  } catch (i) {
2962
2964
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2963
2965
  }
@@ -2966,25 +2968,25 @@ var vn = (
2966
2968
  type: Q.number,
2967
2969
  tokens: n,
2968
2970
  location: r,
2969
- parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
2971
+ parsedOptions: this.shouldParseSkeletons ? an(n) : {}
2970
2972
  },
2971
2973
  err: null
2972
2974
  };
2973
2975
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2974
- for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2976
+ for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2975
2977
  if (a.length === 0) {
2976
- var c = this.clonePosition();
2978
+ var f = this.clonePosition();
2977
2979
  if (r !== "select" && this.bumpIf("=")) {
2978
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2979
- if (f.err)
2980
- return f;
2981
- l = x(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2980
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2981
+ if (c.err)
2982
+ return c;
2983
+ l = x(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2982
2984
  } else
2983
2985
  break;
2984
2986
  }
2985
2987
  if (h.has(a))
2986
2988
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2987
- a === "other" && (s = !0), this.bumpSpace();
2989
+ a === "other" && (o = !0), this.bumpSpace();
2988
2990
  var p = this.clonePosition();
2989
2991
  if (!this.bumpIf("{"))
2990
2992
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
@@ -3000,21 +3002,21 @@ var vn = (
3000
3002
  value: d.val,
3001
3003
  location: x(p, this.clonePosition())
3002
3004
  }
3003
- ]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
3005
+ ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3004
3006
  }
3005
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3007
+ return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3006
3008
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3007
3009
  var n = 1, i = this.clonePosition();
3008
3010
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3009
- for (var o = !1, s = 0; !this.isEOF(); ) {
3011
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3010
3012
  var u = this.char();
3011
3013
  if (u >= 48 && u <= 57)
3012
- o = !0, s = s * 10 + (u - 48), this.bump();
3014
+ s = !0, o = o * 10 + (u - 48), this.bump();
3013
3015
  else
3014
3016
  break;
3015
3017
  }
3016
3018
  var h = x(i, this.clonePosition());
3017
- return o ? (s *= n, yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3019
+ return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3018
3020
  }, e.prototype.offset = function() {
3019
3021
  return this.position.offset;
3020
3022
  }, e.prototype.isEOF = function() {
@@ -3029,7 +3031,7 @@ var vn = (
3029
3031
  var t = this.position.offset;
3030
3032
  if (t >= this.message.length)
3031
3033
  throw Error("out of bound");
3032
- var r = Dt(this.message, t);
3034
+ var r = jt(this.message, t);
3033
3035
  if (r === void 0)
3034
3036
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3035
3037
  return r;
@@ -3048,7 +3050,7 @@ var vn = (
3048
3050
  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);
3049
3051
  }
3050
3052
  }, e.prototype.bumpIf = function(t) {
3051
- if (at(this.message, t, this.offset())) {
3053
+ if (ht(this.message, t, this.offset())) {
3052
3054
  for (var r = 0; r < t.length; r++)
3053
3055
  this.bump();
3054
3056
  return !0;
@@ -3070,7 +3072,7 @@ var vn = (
3070
3072
  break;
3071
3073
  }
3072
3074
  }, e.prototype.bumpSpace = function() {
3073
- for (; !this.isEOF() && jt(this.char()); )
3075
+ for (; !this.isEOF() && Vt(this.char()); )
3074
3076
  this.bump();
3075
3077
  }, e.prototype.peek = function() {
3076
3078
  if (this.isEOF())
@@ -3083,30 +3085,30 @@ var vn = (
3083
3085
  function De(e) {
3084
3086
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3085
3087
  }
3086
- function Tn(e) {
3088
+ function Hn(e) {
3087
3089
  return De(e) || e === 47;
3088
3090
  }
3089
3091
  function Cn(e) {
3090
3092
  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;
3091
3093
  }
3092
- function jt(e) {
3094
+ function Vt(e) {
3093
3095
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3094
3096
  }
3095
- function Hn(e) {
3097
+ function An(e) {
3096
3098
  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;
3097
3099
  }
3098
3100
  function Fe(e) {
3099
3101
  e.forEach(function(t) {
3100
- if (delete t.location, Nt(t) || Lt(t))
3102
+ if (delete t.location, It(t) || Mt(t))
3101
3103
  for (var r in t.options)
3102
3104
  delete t.options[r].location, Fe(t.options[r].value);
3103
3105
  else
3104
- Ot(t) && Mt(t.style) || (wt(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3106
+ Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : $t(t) && Fe(t.children);
3105
3107
  });
3106
3108
  }
3107
- function An(e, t) {
3109
+ function Bn(e, t) {
3108
3110
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3109
- var r = new vn(e, t).parse();
3111
+ var r = new Tn(e, t).parse();
3110
3112
  if (r.err) {
3111
3113
  var n = SyntaxError(y[r.err.kind]);
3112
3114
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3122,23 +3124,23 @@ var _e = (
3122
3124
  function(e) {
3123
3125
  Ee(t, e);
3124
3126
  function t(r, n, i) {
3125
- var o = e.call(this, r) || this;
3126
- return o.code = n, o.originalMessage = i, o;
3127
+ var s = e.call(this, r) || this;
3128
+ return s.code = n, s.originalMessage = i, s;
3127
3129
  }
3128
3130
  return t.prototype.toString = function() {
3129
3131
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3130
3132
  }, t;
3131
3133
  }(Error)
3132
- ), lt = (
3134
+ ), ft = (
3133
3135
  /** @class */
3134
3136
  function(e) {
3135
3137
  Ee(t, e);
3136
- function t(r, n, i, o) {
3137
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3138
+ function t(r, n, i, s) {
3139
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3138
3140
  }
3139
3141
  return t;
3140
3142
  }(_e)
3141
- ), Bn = (
3143
+ ), Sn = (
3142
3144
  /** @class */
3143
3145
  function(e) {
3144
3146
  Ee(t, e);
@@ -3147,7 +3149,7 @@ var _e = (
3147
3149
  }
3148
3150
  return t;
3149
3151
  }(_e)
3150
- ), Sn = (
3152
+ ), On = (
3151
3153
  /** @class */
3152
3154
  function(e) {
3153
3155
  Ee(t, e);
@@ -3160,17 +3162,17 @@ var _e = (
3160
3162
  (function(e) {
3161
3163
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3162
3164
  })(w || (w = {}));
3163
- function On(e) {
3165
+ function wn(e) {
3164
3166
  return e.length < 2 ? e : e.reduce(function(t, r) {
3165
3167
  var n = t[t.length - 1];
3166
3168
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3167
3169
  }, []);
3168
3170
  }
3169
- function wn(e) {
3171
+ function Pn(e) {
3170
3172
  return typeof e == "function";
3171
3173
  }
3172
- function me(e, t, r, n, i, o, s) {
3173
- if (e.length === 1 && nt(e[0]))
3174
+ function me(e, t, r, n, i, s, o) {
3175
+ if (e.length === 1 && st(e[0]))
3174
3176
  return [
3175
3177
  {
3176
3178
  type: w.literal,
@@ -3179,102 +3181,102 @@ function me(e, t, r, n, i, o, s) {
3179
3181
  ];
3180
3182
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3181
3183
  var l = a[h];
3182
- if (nt(l)) {
3184
+ if (st(l)) {
3183
3185
  u.push({
3184
3186
  type: w.literal,
3185
3187
  value: l.value
3186
3188
  });
3187
3189
  continue;
3188
3190
  }
3189
- if (qr(l)) {
3190
- typeof o == "number" && u.push({
3191
+ if (Yr(l)) {
3192
+ typeof s == "number" && u.push({
3191
3193
  type: w.literal,
3192
- value: r.getNumberFormat(t).format(o)
3194
+ value: r.getNumberFormat(t).format(s)
3193
3195
  });
3194
3196
  continue;
3195
3197
  }
3196
- var c = l.value;
3197
- if (!(i && c in i))
3198
- throw new Sn(c, s);
3199
- var f = i[c];
3200
- if (Jr(l)) {
3201
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3202
- type: typeof f == "string" ? w.literal : w.object,
3203
- value: f
3198
+ var f = l.value;
3199
+ if (!(i && f in i))
3200
+ throw new On(f, o);
3201
+ var c = i[f];
3202
+ if (qr(l)) {
3203
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3204
+ type: typeof c == "string" ? w.literal : w.object,
3205
+ value: c
3204
3206
  });
3205
3207
  continue;
3206
3208
  }
3207
- if (wt(l)) {
3209
+ if (Nt(l)) {
3208
3210
  var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3209
3211
  u.push({
3210
3212
  type: w.literal,
3211
- value: r.getDateTimeFormat(t, p).format(f)
3213
+ value: r.getDateTimeFormat(t, p).format(c)
3212
3214
  });
3213
3215
  continue;
3214
3216
  }
3215
- if (Pt(l)) {
3217
+ if (Lt(l)) {
3216
3218
  var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3217
3219
  u.push({
3218
3220
  type: w.literal,
3219
- value: r.getDateTimeFormat(t, p).format(f)
3221
+ value: r.getDateTimeFormat(t, p).format(c)
3220
3222
  });
3221
3223
  continue;
3222
3224
  }
3223
- if (Ot(l)) {
3224
- var p = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3225
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3225
+ if (Pt(l)) {
3226
+ var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3227
+ p && p.scale && (c = c * (p.scale || 1)), u.push({
3226
3228
  type: w.literal,
3227
- value: r.getNumberFormat(t, p).format(f)
3229
+ value: r.getNumberFormat(t, p).format(c)
3228
3230
  });
3229
3231
  continue;
3230
3232
  }
3231
- if (It(l)) {
3233
+ if ($t(l)) {
3232
3234
  var d = l.children, g = l.value, _ = i[g];
3233
- if (!wn(_))
3234
- throw new Bn(g, "function", s);
3235
- var m = me(d, t, r, n, i, o), C = _(m.map(function(S) {
3235
+ if (!Pn(_))
3236
+ throw new Sn(g, "function", o);
3237
+ var m = me(d, t, r, n, i, s), H = _(m.map(function(S) {
3236
3238
  return S.value;
3237
3239
  }));
3238
- Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
3240
+ Array.isArray(H) || (H = [H]), u.push.apply(u, H.map(function(S) {
3239
3241
  return {
3240
3242
  type: typeof S == "string" ? w.literal : w.object,
3241
3243
  value: S
3242
3244
  };
3243
3245
  }));
3244
3246
  }
3245
- if (Nt(l)) {
3246
- var B = l.options[f] || l.options.other;
3247
+ if (It(l)) {
3248
+ var B = l.options[c] || l.options.other;
3247
3249
  if (!B)
3248
- throw new lt(l.value, f, Object.keys(l.options), s);
3250
+ throw new ft(l.value, c, Object.keys(l.options), o);
3249
3251
  u.push.apply(u, me(B.value, t, r, n, i));
3250
3252
  continue;
3251
3253
  }
3252
- if (Lt(l)) {
3253
- var B = l.options["=".concat(f)];
3254
+ if (Mt(l)) {
3255
+ var B = l.options["=".concat(c)];
3254
3256
  if (!B) {
3255
3257
  if (!Intl.PluralRules)
3256
3258
  throw new _e(`Intl.PluralRules is not available in this environment.
3257
3259
  Try polyfilling it using "@formatjs/intl-pluralrules"
3258
- `, J.MISSING_INTL_API, s);
3259
- var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3260
+ `, J.MISSING_INTL_API, o);
3261
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3260
3262
  B = l.options[P] || l.options.other;
3261
3263
  }
3262
3264
  if (!B)
3263
- throw new lt(l.value, f, Object.keys(l.options), s);
3264
- u.push.apply(u, me(B.value, t, r, n, i, f - (l.offset || 0)));
3265
+ throw new ft(l.value, c, Object.keys(l.options), o);
3266
+ u.push.apply(u, me(B.value, t, r, n, i, c - (l.offset || 0)));
3265
3267
  continue;
3266
3268
  }
3267
3269
  }
3268
- return On(u);
3270
+ return wn(u);
3269
3271
  }
3270
- function Pn(e, t) {
3272
+ function Nn(e, t) {
3271
3273
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3272
3274
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3273
3275
  }, {})) : e;
3274
3276
  }
3275
- function Nn(e, t) {
3277
+ function Ln(e, t) {
3276
3278
  return t ? Object.keys(e).reduce(function(r, n) {
3277
- return r[n] = Pn(e[n], t[n]), r;
3279
+ return r[n] = Nn(e[n], t[n]), r;
3278
3280
  }, E({}, e)) : e;
3279
3281
  }
3280
3282
  function we(e) {
@@ -3291,7 +3293,7 @@ function we(e) {
3291
3293
  }
3292
3294
  };
3293
3295
  }
3294
- function Ln(e) {
3296
+ function In(e) {
3295
3297
  return e === void 0 && (e = {
3296
3298
  number: {},
3297
3299
  dateTime: {},
@@ -3323,45 +3325,45 @@ function Ln(e) {
3323
3325
  })
3324
3326
  };
3325
3327
  }
3326
- var In = (
3328
+ var Mn = (
3327
3329
  /** @class */
3328
3330
  function() {
3329
3331
  function e(t, r, n, i) {
3330
3332
  r === void 0 && (r = e.defaultLocale);
3331
- var o = this;
3333
+ var s = this;
3332
3334
  if (this.formatterCache = {
3333
3335
  number: {},
3334
3336
  dateTime: {},
3335
3337
  pluralRules: {}
3336
3338
  }, this.format = function(h) {
3337
- var a = o.formatToParts(h);
3339
+ var a = s.formatToParts(h);
3338
3340
  if (a.length === 1)
3339
3341
  return a[0].value;
3340
- var l = a.reduce(function(c, f) {
3341
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3342
+ var l = a.reduce(function(f, c) {
3343
+ return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3342
3344
  }, []);
3343
3345
  return l.length <= 1 ? l[0] || "" : l;
3344
3346
  }, this.formatToParts = function(h) {
3345
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3347
+ return me(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3346
3348
  }, this.resolvedOptions = function() {
3347
3349
  var h;
3348
3350
  return {
3349
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3351
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3350
3352
  };
3351
3353
  }, this.getAst = function() {
3352
- return o.ast;
3354
+ return s.ast;
3353
3355
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3354
3356
  if (this.message = t, !e.__parse)
3355
3357
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3356
- var s = i || {};
3357
- s.formatters;
3358
- var u = jr(s, ["formatters"]);
3358
+ var o = i || {};
3359
+ o.formatters;
3360
+ var u = Vr(o, ["formatters"]);
3359
3361
  this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3360
3362
  } else
3361
3363
  this.ast = t;
3362
3364
  if (!Array.isArray(this.ast))
3363
3365
  throw new TypeError("A message must be provided as a String or AST.");
3364
- this.formats = Nn(e.formats, n), this.formatters = i && i.formatters || Ln(this.formatterCache);
3366
+ this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3365
3367
  }
3366
3368
  return Object.defineProperty(e, "defaultLocale", {
3367
3369
  get: function() {
@@ -3374,7 +3376,7 @@ var In = (
3374
3376
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3375
3377
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3376
3378
  }
3377
- }, e.__parse = An, e.formats = {
3379
+ }, e.__parse = Bn, e.formats = {
3378
3380
  number: {
3379
3381
  integer: {
3380
3382
  maximumFractionDigits: 0
@@ -3435,7 +3437,7 @@ var In = (
3435
3437
  }, e;
3436
3438
  }()
3437
3439
  );
3438
- function Mn(e, t) {
3440
+ function $n(e, t) {
3439
3441
  if (t == null)
3440
3442
  return;
3441
3443
  if (t in e)
@@ -3445,9 +3447,9 @@ function Mn(e, t) {
3445
3447
  for (let i = 0; i < r.length; i++)
3446
3448
  if (typeof n == "object") {
3447
3449
  if (i > 0) {
3448
- const o = r.slice(i, r.length).join(".");
3449
- if (o in n) {
3450
- n = n[o];
3450
+ const s = r.slice(i, r.length).join(".");
3451
+ if (s in n) {
3452
+ n = n[s];
3451
3453
  break;
3452
3454
  }
3453
3455
  }
@@ -3456,60 +3458,60 @@ function Mn(e, t) {
3456
3458
  n = void 0;
3457
3459
  return n;
3458
3460
  }
3459
- const G = {}, $n = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), kt = (e, t) => {
3461
+ const G = {}, Rn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Xt = (e, t) => {
3460
3462
  if (t == null)
3461
3463
  return;
3462
3464
  if (t in G && e in G[t])
3463
3465
  return G[t][e];
3464
3466
  const r = ve(t);
3465
3467
  for (let n = 0; n < r.length; n++) {
3466
- const i = r[n], o = Un(i, e);
3467
- if (o)
3468
- return $n(e, t, o);
3468
+ const i = r[n], s = Gn(i, e);
3469
+ if (s)
3470
+ return Rn(e, t, s);
3469
3471
  }
3470
3472
  };
3471
- let Xe;
3473
+ let We;
3472
3474
  const ue = xe({});
3473
- function Rn(e) {
3474
- return Xe[e] || null;
3475
+ function Un(e) {
3476
+ return We[e] || null;
3475
3477
  }
3476
- function Vt(e) {
3477
- return e in Xe;
3478
+ function zt(e) {
3479
+ return e in We;
3478
3480
  }
3479
- function Un(e, t) {
3480
- if (!Vt(e))
3481
+ function Gn(e, t) {
3482
+ if (!zt(e))
3481
3483
  return null;
3482
- const r = Rn(e);
3483
- return Mn(r, t);
3484
+ const r = Un(e);
3485
+ return $n(r, t);
3484
3486
  }
3485
- function Gn(e) {
3487
+ function Dn(e) {
3486
3488
  if (e == null)
3487
3489
  return;
3488
3490
  const t = ve(e);
3489
3491
  for (let r = 0; r < t.length; r++) {
3490
3492
  const n = t[r];
3491
- if (Vt(n))
3493
+ if (zt(n))
3492
3494
  return n;
3493
3495
  }
3494
3496
  }
3495
- function Xt(e, ...t) {
3496
- delete G[e], ue.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
3497
+ function Wt(e, ...t) {
3498
+ delete G[e], ue.update((r) => (r[e] = kr.all([r[e] || {}, ...t]), r));
3497
3499
  }
3498
3500
  K(
3499
3501
  [ue],
3500
3502
  ([e]) => Object.keys(e)
3501
3503
  );
3502
- ue.subscribe((e) => Xe = e);
3504
+ ue.subscribe((e) => We = e);
3503
3505
  const pe = {};
3504
- function Dn(e, t) {
3506
+ function Fn(e, t) {
3505
3507
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3506
3508
  }
3507
- function zt(e) {
3509
+ function Zt(e) {
3508
3510
  return pe[e];
3509
3511
  }
3510
- function Fn(e) {
3512
+ function jn(e) {
3511
3513
  return ve(e).map((t) => {
3512
- const r = zt(t);
3514
+ const r = Zt(t);
3513
3515
  return [t, r ? [...r] : []];
3514
3516
  }).filter(([, t]) => t.length > 0);
3515
3517
  }
@@ -3517,31 +3519,31 @@ function je(e) {
3517
3519
  return e == null ? !1 : ve(e).some(
3518
3520
  (t) => {
3519
3521
  var r;
3520
- return (r = zt(t)) == null ? void 0 : r.size;
3522
+ return (r = Zt(t)) == null ? void 0 : r.size;
3521
3523
  }
3522
3524
  );
3523
3525
  }
3524
- function jn(e, t) {
3526
+ function kn(e, t) {
3525
3527
  return Promise.all(
3526
- t.map((n) => (Dn(e, n), n().then((i) => i.default || i)))
3527
- ).then((n) => Xt(e, ...n));
3528
+ t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3529
+ ).then((n) => Wt(e, ...n));
3528
3530
  }
3529
3531
  const re = {};
3530
- function Wt(e) {
3532
+ function Qt(e) {
3531
3533
  if (!je(e))
3532
3534
  return e in re ? re[e] : Promise.resolve();
3533
- const t = Fn(e);
3535
+ const t = jn(e);
3534
3536
  return re[e] = Promise.all(
3535
3537
  t.map(
3536
- ([r, n]) => jn(r, n)
3538
+ ([r, n]) => kn(r, n)
3537
3539
  )
3538
3540
  ).then(() => {
3539
3541
  if (je(e))
3540
- return Wt(e);
3542
+ return Qt(e);
3541
3543
  delete re[e];
3542
3544
  }), re[e];
3543
3545
  }
3544
- const kn = {
3546
+ const Vn = {
3545
3547
  number: {
3546
3548
  scientific: { notation: "scientific" },
3547
3549
  engineering: { notation: "engineering" },
@@ -3570,34 +3572,34 @@ const kn = {
3570
3572
  timeZoneName: "short"
3571
3573
  }
3572
3574
  }
3573
- }, Vn = {
3575
+ }, Xn = {
3574
3576
  fallbackLocale: null,
3575
3577
  loadingDelay: 200,
3576
- formats: kn,
3578
+ formats: Vn,
3577
3579
  warnOnMissingMessages: !0,
3578
3580
  handleMissingMessage: void 0,
3579
3581
  ignoreTag: !0
3580
- }, Xn = Vn;
3582
+ }, zn = Xn;
3581
3583
  function q() {
3582
- return Xn;
3584
+ return zn;
3583
3585
  }
3584
3586
  const Pe = xe(!1);
3585
- var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3587
+ var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3586
3588
  for (var r in t || (t = {}))
3587
- Qn.call(t, r) && ct(e, r, t[r]);
3588
- if (ft)
3589
- for (var r of ft(t))
3590
- Jn.call(t, r) && ct(e, r, t[r]);
3589
+ Jn.call(t, r) && mt(e, r, t[r]);
3590
+ if (gt)
3591
+ for (var r of gt(t))
3592
+ qn.call(t, r) && mt(e, r, t[r]);
3591
3593
  return e;
3592
- }, Yn = (e, t) => Wn(e, Zn(t));
3594
+ }, Kn = (e, t) => Zn(e, Qn(t));
3593
3595
  let ke;
3594
3596
  const be = xe(null);
3595
- function gt(e) {
3597
+ function pt(e) {
3596
3598
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3597
3599
  }
3598
3600
  function ve(e, t = q().fallbackLocale) {
3599
- const r = gt(e);
3600
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3601
+ const r = pt(e);
3602
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3601
3603
  }
3602
3604
  function k() {
3603
3605
  return ke != null ? ke : void 0;
@@ -3605,22 +3607,22 @@ function k() {
3605
3607
  be.subscribe((e) => {
3606
3608
  ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3607
3609
  });
3608
- const Kn = (e) => {
3609
- if (e && Gn(e) && je(e)) {
3610
+ const ei = (e) => {
3611
+ if (e && Dn(e) && je(e)) {
3610
3612
  const { loadingDelay: t } = q();
3611
3613
  let r;
3612
3614
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3613
3615
  () => Pe.set(!0),
3614
3616
  t
3615
- ) : Pe.set(!0), Wt(e).then(() => {
3617
+ ) : Pe.set(!0), Qt(e).then(() => {
3616
3618
  be.set(e);
3617
3619
  }).finally(() => {
3618
3620
  clearTimeout(r), Pe.set(!1);
3619
3621
  });
3620
3622
  }
3621
3623
  return be.set(e);
3622
- }, ee = Yn(qn({}, be), {
3623
- set: Kn
3624
+ }, ee = Kn(Yn({}, be), {
3625
+ set: ei
3624
3626
  }), Te = (e) => {
3625
3627
  const t = /* @__PURE__ */ Object.create(null);
3626
3628
  return (n) => {
@@ -3628,120 +3630,120 @@ const Kn = (e) => {
3628
3630
  return i in t ? t[i] : t[i] = e(n);
3629
3631
  };
3630
3632
  };
3631
- var ei = Object.defineProperty, ye = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3633
+ var ti = Object.defineProperty, ye = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3632
3634
  for (var r in t || (t = {}))
3633
- Zt.call(t, r) && mt(e, r, t[r]);
3635
+ Jt.call(t, r) && dt(e, r, t[r]);
3634
3636
  if (ye)
3635
3637
  for (var r of ye(t))
3636
- Qt.call(t, r) && mt(e, r, t[r]);
3638
+ qt.call(t, r) && dt(e, r, t[r]);
3637
3639
  return e;
3638
3640
  }, te = (e, t) => {
3639
3641
  var r = {};
3640
3642
  for (var n in e)
3641
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3643
+ Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3642
3644
  if (e != null && ye)
3643
3645
  for (var n of ye(e))
3644
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3646
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3645
3647
  return r;
3646
3648
  };
3647
- const se = (e, t) => {
3649
+ const oe = (e, t) => {
3648
3650
  const { formats: r } = q();
3649
3651
  if (e in r && t in r[e])
3650
3652
  return r[e][t];
3651
3653
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3652
- }, ti = Te(
3654
+ }, ri = Te(
3653
3655
  (e) => {
3654
3656
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3655
3657
  if (r == null)
3656
3658
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3657
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3659
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3658
3660
  }
3659
- ), ri = Te(
3661
+ ), ni = Te(
3660
3662
  (e) => {
3661
3663
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3662
3664
  if (r == null)
3663
3665
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3664
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3666
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3665
3667
  }
3666
- ), ni = Te(
3668
+ ), ii = Te(
3667
3669
  (e) => {
3668
3670
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3669
3671
  if (r == null)
3670
3672
  throw new Error(
3671
3673
  '[svelte-i18n] A "locale" must be set to format time values'
3672
3674
  );
3673
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3675
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3674
3676
  }
3675
- ), ii = (e = {}) => {
3677
+ ), si = (e = {}) => {
3676
3678
  var t = e, {
3677
3679
  locale: r = k()
3678
3680
  } = t, n = te(t, [
3679
3681
  "locale"
3680
3682
  ]);
3681
- return ti(ze({ locale: r }, n));
3683
+ return ri(Ze({ locale: r }, n));
3682
3684
  }, oi = (e = {}) => {
3683
3685
  var t = e, {
3684
3686
  locale: r = k()
3685
3687
  } = t, n = te(t, [
3686
3688
  "locale"
3687
3689
  ]);
3688
- return ri(ze({ locale: r }, n));
3689
- }, si = (e = {}) => {
3690
+ return ni(Ze({ locale: r }, n));
3691
+ }, ai = (e = {}) => {
3690
3692
  var t = e, {
3691
3693
  locale: r = k()
3692
3694
  } = t, n = te(t, [
3693
3695
  "locale"
3694
3696
  ]);
3695
- return ni(ze({ locale: r }, n));
3696
- }, ai = Te(
3697
+ return ii(Ze({ locale: r }, n));
3698
+ }, ui = Te(
3697
3699
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3698
- (e, t = k()) => new In(e, t, q().formats, {
3700
+ (e, t = k()) => new Mn(e, t, q().formats, {
3699
3701
  ignoreTag: q().ignoreTag
3700
3702
  })
3701
- ), ui = (e, t = {}) => {
3702
- var r, n, i, o;
3703
- let s = t;
3704
- typeof e == "object" && (s = e, e = s.id);
3703
+ ), hi = (e, t = {}) => {
3704
+ var r, n, i, s;
3705
+ let o = t;
3706
+ typeof e == "object" && (o = e, e = o.id);
3705
3707
  const {
3706
3708
  values: u,
3707
3709
  locale: h = k(),
3708
3710
  default: a
3709
- } = s;
3711
+ } = o;
3710
3712
  if (h == null)
3711
3713
  throw new Error(
3712
3714
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3713
3715
  );
3714
- let l = kt(e, h);
3716
+ let l = Xt(e, h);
3715
3717
  if (!l)
3716
- l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3718
+ l = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3717
3719
  else if (typeof l != "string")
3718
3720
  return console.warn(
3719
3721
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3720
3722
  ), l;
3721
3723
  if (!u)
3722
3724
  return l;
3723
- let c = l;
3725
+ let f = l;
3724
3726
  try {
3725
- c = ai(l, h).format(u);
3726
- } catch (f) {
3727
- f instanceof Error && console.warn(
3727
+ f = ui(l, h).format(u);
3728
+ } catch (c) {
3729
+ c instanceof Error && console.warn(
3728
3730
  `[svelte-i18n] Message "${e}" has syntax error:`,
3729
- f.message
3731
+ c.message
3730
3732
  );
3731
3733
  }
3732
- return c;
3733
- }, hi = (e, t) => si(t).format(e), li = (e, t) => oi(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = k()) => kt(e, t), gi = K([ee, ue], () => ui);
3734
- K([ee], () => hi);
3734
+ return f;
3735
+ }, li = (e, t) => ai(t).format(e), ci = (e, t) => oi(t).format(e), fi = (e, t) => si(t).format(e), gi = (e, t = k()) => Xt(e, t), mi = K([ee, ue], () => hi);
3735
3736
  K([ee], () => li);
3737
+ K([ee], () => ci);
3736
3738
  K([ee], () => fi);
3737
- K([ee, ue], () => ci);
3738
- function pt(e, t) {
3739
- Xt(e, t);
3739
+ K([ee, ue], () => gi);
3740
+ function bt(e, t) {
3741
+ Wt(e, t);
3740
3742
  }
3741
- function mi(e) {
3743
+ function pi(e) {
3742
3744
  ee.set(e);
3743
3745
  }
3744
- const dt = {
3746
+ const yt = {
3745
3747
  en: {
3746
3748
  topCategories: "Top Categories",
3747
3749
  otherCategories: "Other Categories",
@@ -3851,13 +3853,13 @@ const dt = {
3851
3853
  games: "games"
3852
3854
  }
3853
3855
  };
3854
- function pi(e, t) {
3856
+ function di(e, t) {
3855
3857
  if (e) {
3856
3858
  const r = document.createElement("style");
3857
3859
  r.innerHTML = t, e.appendChild(r);
3858
3860
  }
3859
3861
  }
3860
- function di(e, t) {
3862
+ function bi(e, t) {
3861
3863
  const r = new URL(t);
3862
3864
  fetch(r.href).then((n) => n.text()).then((n) => {
3863
3865
  const i = document.createElement("style");
@@ -3866,7 +3868,7 @@ function di(e, t) {
3866
3868
  console.error("There was an error while trying to load client styling from URL", n);
3867
3869
  });
3868
3870
  }
3869
- function bi(e, t, r) {
3871
+ function yi(e, t, r) {
3870
3872
  if (window.emMessageBus) {
3871
3873
  const n = document.createElement("style");
3872
3874
  window.emMessageBus.subscribe(t, (i) => {
@@ -3874,51 +3876,51 @@ function bi(e, t, r) {
3874
3876
  });
3875
3877
  }
3876
3878
  }
3877
- function yi(e) {
3878
- or(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}");
3879
+ function xi(e) {
3880
+ ar(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}");
3879
3881
  }
3880
- function bt(e, t, r) {
3882
+ function xt(e, t, r) {
3881
3883
  const n = e.slice();
3882
3884
  return n[23] = t[r], n;
3883
3885
  }
3884
- function yt(e, t, r) {
3886
+ function Et(e, t, r) {
3885
3887
  const n = e.slice();
3886
3888
  return n[23] = t[r], n;
3887
3889
  }
3888
- function xi(e) {
3890
+ function Ei(e) {
3889
3891
  let t, r, n = (
3890
3892
  /*$_*/
3891
3893
  e[5]("topCategories") + ""
3892
- ), i, o, s, u, h = (
3894
+ ), i, s, o, u, h = (
3893
3895
  /*$_*/
3894
3896
  e[5]("otherCategories") + ""
3895
- ), a, l, c = fe(
3897
+ ), a, l, f = ce(
3896
3898
  /*topCategories*/
3897
3899
  e[3]
3898
- ), f = [];
3899
- for (let g = 0; g < c.length; g += 1)
3900
- f[g] = xt(yt(e, c, g));
3901
- let p = fe(
3900
+ ), c = [];
3901
+ for (let g = 0; g < f.length; g += 1)
3902
+ c[g] = _t(Et(e, f, g));
3903
+ let p = ce(
3902
3904
  /*otherCategories*/
3903
3905
  e[4]
3904
3906
  ), d = [];
3905
3907
  for (let g = 0; g < p.length; g += 1)
3906
- d[g] = Et(bt(e, p, g));
3908
+ d[g] = vt(xt(e, p, g));
3907
3909
  return {
3908
3910
  c() {
3909
- t = O("div"), r = O("h4"), i = U(n), o = R();
3910
- for (let g = 0; g < f.length; g += 1)
3911
- f[g].c();
3912
- s = R(), u = O("h4"), a = U(h), l = R();
3911
+ t = O("div"), r = O("h4"), i = U(n), s = R();
3912
+ for (let g = 0; g < c.length; g += 1)
3913
+ c[g].c();
3914
+ o = R(), u = O("h4"), a = U(h), l = R();
3913
3915
  for (let g = 0; g < d.length; g += 1)
3914
3916
  d[g].c();
3915
3917
  A(r, "class", "CategoryTitle"), A(u, "class", "CategoryTitle"), A(t, "class", "CasinoCategories");
3916
3918
  },
3917
3919
  m(g, _) {
3918
- Y(g, t, _), v(t, r), v(r, i), v(t, o);
3919
- for (let m = 0; m < f.length; m += 1)
3920
- f[m] && f[m].m(t, null);
3921
- v(t, s), v(t, u), v(u, a), v(t, l);
3920
+ Y(g, t, _), v(t, r), v(r, i), v(t, s);
3921
+ for (let m = 0; m < c.length; m += 1)
3922
+ c[m] && c[m].m(t, null);
3923
+ v(t, o), v(t, u), v(u, a), v(t, l);
3922
3924
  for (let m = 0; m < d.length; m += 1)
3923
3925
  d[m] && d[m].m(t, null);
3924
3926
  },
@@ -3927,31 +3929,31 @@ function xi(e) {
3927
3929
  32 && n !== (n = /*$_*/
3928
3930
  g[5]("topCategories") + "") && D(i, n), _ & /*activecategory, topCategories, openGameCategory, $_*/
3929
3931
  105) {
3930
- c = fe(
3932
+ f = ce(
3931
3933
  /*topCategories*/
3932
3934
  g[3]
3933
3935
  );
3934
3936
  let m;
3935
- for (m = 0; m < c.length; m += 1) {
3936
- const C = yt(g, c, m);
3937
- f[m] ? f[m].p(C, _) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
3937
+ for (m = 0; m < f.length; m += 1) {
3938
+ const H = Et(g, f, m);
3939
+ c[m] ? c[m].p(H, _) : (c[m] = _t(H), c[m].c(), c[m].m(t, o));
3938
3940
  }
3939
- for (; m < f.length; m += 1)
3940
- f[m].d(1);
3941
- f.length = c.length;
3941
+ for (; m < c.length; m += 1)
3942
+ c[m].d(1);
3943
+ c.length = f.length;
3942
3944
  }
3943
3945
  if (_ & /*$_*/
3944
3946
  32 && h !== (h = /*$_*/
3945
3947
  g[5]("otherCategories") + "") && D(a, h), _ & /*activecategory, otherCategories, openGameCategory, $_*/
3946
3948
  113) {
3947
- p = fe(
3949
+ p = ce(
3948
3950
  /*otherCategories*/
3949
3951
  g[4]
3950
3952
  );
3951
3953
  let m;
3952
3954
  for (m = 0; m < p.length; m += 1) {
3953
- const C = bt(g, p, m);
3954
- d[m] ? d[m].p(C, _) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
3955
+ const H = xt(g, p, m);
3956
+ d[m] ? d[m].p(H, _) : (d[m] = vt(H), d[m].c(), d[m].m(t, null));
3955
3957
  }
3956
3958
  for (; m < d.length; m += 1)
3957
3959
  d[m].d(1);
@@ -3959,11 +3961,11 @@ function xi(e) {
3959
3961
  }
3960
3962
  },
3961
3963
  d(g) {
3962
- g && j(t), et(f, g), et(d, g);
3964
+ g && j(t), rt(c, g), rt(d, g);
3963
3965
  }
3964
3966
  };
3965
3967
  }
3966
- function Ei(e) {
3968
+ function _i(e) {
3967
3969
  let t;
3968
3970
  return {
3969
3971
  c() {
@@ -3978,17 +3980,17 @@ function Ei(e) {
3978
3980
  }
3979
3981
  };
3980
3982
  }
3981
- function xt(e) {
3982
- let t, r, n, i, o, s, u, h = (
3983
+ function _t(e) {
3984
+ let t, r, n, i, s, o, u, h = (
3983
3985
  /*category*/
3984
3986
  e[23].name + ""
3985
- ), a, l, c, f = (
3987
+ ), a, l, f, c = (
3986
3988
  /*category*/
3987
3989
  e[23].games.count + ""
3988
3990
  ), p, d, g = (
3989
3991
  /*$_*/
3990
3992
  e[5]("games") + ""
3991
- ), _, m, C, B;
3993
+ ), _, m, H, B;
3992
3994
  function P() {
3993
3995
  return (
3994
3996
  /*click_handler*/
@@ -4000,47 +4002,47 @@ function xt(e) {
4000
4002
  }
4001
4003
  return {
4002
4004
  c() {
4003
- t = O("div"), r = O("img"), o = R(), s = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), p = U(f), d = R(), _ = U(g), de(r.src, n = /*category*/
4005
+ t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), f = O("p"), p = U(c), d = R(), _ = U(g), de(r.src, n = /*category*/
4004
4006
  e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4005
- e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
4007
+ e[23].name), A(r, "class", "CategoryImage"), A(o, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
4006
4008
  (e[0] === /*category*/
4007
4009
  e[23].id ? "Active" : ""));
4008
4010
  },
4009
- m(S, H) {
4010
- Y(S, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, _), C || (B = Ct(t, "click", P), C = !0);
4011
+ m(S, C) {
4012
+ Y(S, t, C), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, _), H || (B = At(t, "click", P), H = !0);
4011
4013
  },
4012
- p(S, H) {
4013
- e = S, H & /*topCategories*/
4014
+ p(S, C) {
4015
+ e = S, C & /*topCategories*/
4014
4016
  8 && !de(r.src, n = /*category*/
4015
- e[23].icon) && A(r, "src", n), H & /*topCategories*/
4017
+ e[23].icon) && A(r, "src", n), C & /*topCategories*/
4016
4018
  8 && i !== (i = /*category*/
4017
- e[23].name) && A(r, "alt", i), H & /*topCategories*/
4019
+ e[23].name) && A(r, "alt", i), C & /*topCategories*/
4018
4020
  8 && h !== (h = /*category*/
4019
- e[23].name + "") && D(a, h), H & /*topCategories*/
4020
- 8 && f !== (f = /*category*/
4021
- e[23].games.count + "") && D(p, f), H & /*$_*/
4021
+ e[23].name + "") && D(a, h), C & /*topCategories*/
4022
+ 8 && c !== (c = /*category*/
4023
+ e[23].games.count + "") && D(p, c), C & /*$_*/
4022
4024
  32 && g !== (g = /*$_*/
4023
- e[5]("games") + "") && D(_, g), H & /*activecategory, topCategories*/
4025
+ e[5]("games") + "") && D(_, g), C & /*activecategory, topCategories*/
4024
4026
  9 && m !== (m = "Category " + /*activecategory*/
4025
4027
  (e[0] === /*category*/
4026
4028
  e[23].id ? "Active" : "")) && A(t, "class", m);
4027
4029
  },
4028
4030
  d(S) {
4029
- S && j(t), C = !1, B();
4031
+ S && j(t), H = !1, B();
4030
4032
  }
4031
4033
  };
4032
4034
  }
4033
- function Et(e) {
4034
- let t, r, n, i, o, s, u, h = (
4035
+ function vt(e) {
4036
+ let t, r, n, i, s, o, u, h = (
4035
4037
  /*category*/
4036
4038
  e[23].name + ""
4037
- ), a, l, c, f = (
4039
+ ), a, l, f, c = (
4038
4040
  /*category*/
4039
4041
  e[23].games.count + ""
4040
4042
  ), p, d, g = (
4041
4043
  /*$_*/
4042
4044
  e[5]("games") + ""
4043
- ), _, m, C, B, P;
4045
+ ), _, m, H, B, P;
4044
4046
  function S() {
4045
4047
  return (
4046
4048
  /*click_handler_1*/
@@ -4052,42 +4054,42 @@ function Et(e) {
4052
4054
  }
4053
4055
  return {
4054
4056
  c() {
4055
- t = O("div"), r = O("img"), o = R(), s = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), p = U(f), d = R(), _ = U(g), m = R(), de(r.src, n = /*category*/
4057
+ t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), f = O("p"), p = U(c), d = R(), _ = U(g), m = R(), de(r.src, n = /*category*/
4056
4058
  e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4057
- e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", C = "Category " + /*activecategory*/
4059
+ e[23].name), A(r, "class", "CategoryImage"), A(o, "class", "CategoryTextContainer"), A(t, "class", H = "Category " + /*activecategory*/
4058
4060
  (e[0] === /*category*/
4059
4061
  e[23].id ? "Active" : ""));
4060
4062
  },
4061
- m(H, N) {
4062
- Y(H, t, N), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, _), v(t, m), B || (P = Ct(t, "click", S), B = !0);
4063
+ m(C, N) {
4064
+ Y(C, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, _), v(t, m), B || (P = At(t, "click", S), B = !0);
4063
4065
  },
4064
- p(H, N) {
4065
- e = H, N & /*otherCategories*/
4066
+ p(C, N) {
4067
+ e = C, N & /*otherCategories*/
4066
4068
  16 && !de(r.src, n = /*category*/
4067
4069
  e[23].icon) && A(r, "src", n), N & /*otherCategories*/
4068
4070
  16 && i !== (i = /*category*/
4069
4071
  e[23].name) && A(r, "alt", i), N & /*otherCategories*/
4070
4072
  16 && h !== (h = /*category*/
4071
4073
  e[23].name + "") && D(a, h), N & /*otherCategories*/
4072
- 16 && f !== (f = /*category*/
4073
- e[23].games.count + "") && D(p, f), N & /*$_*/
4074
+ 16 && c !== (c = /*category*/
4075
+ e[23].games.count + "") && D(p, c), N & /*$_*/
4074
4076
  32 && g !== (g = /*$_*/
4075
4077
  e[5]("games") + "") && D(_, g), N & /*activecategory, otherCategories*/
4076
- 17 && C !== (C = "Category " + /*activecategory*/
4078
+ 17 && H !== (H = "Category " + /*activecategory*/
4077
4079
  (e[0] === /*category*/
4078
- e[23].id ? "Active" : "")) && A(t, "class", C);
4080
+ e[23].id ? "Active" : "")) && A(t, "class", H);
4079
4081
  },
4080
- d(H) {
4081
- H && j(t), B = !1, P();
4082
+ d(C) {
4083
+ C && j(t), B = !1, P();
4082
4084
  }
4083
4085
  };
4084
4086
  }
4085
- function _i(e) {
4087
+ function vi(e) {
4086
4088
  let t;
4087
- function r(o, s) {
4089
+ function r(s, o) {
4088
4090
  return (
4089
4091
  /*isLoading*/
4090
- o[2] ? Ei : xi
4092
+ s[2] ? _i : Ei
4091
4093
  );
4092
4094
  }
4093
4095
  let n = r(e), i = n(e);
@@ -4095,72 +4097,72 @@ function _i(e) {
4095
4097
  c() {
4096
4098
  t = O("div"), i.c();
4097
4099
  },
4098
- m(o, s) {
4099
- Y(o, t, s), i.m(t, null), e[17](t);
4100
+ m(s, o) {
4101
+ Y(s, t, o), i.m(t, null), e[17](t);
4100
4102
  },
4101
- p(o, [s]) {
4102
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4103
+ p(s, [o]) {
4104
+ n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4103
4105
  },
4104
4106
  i: I,
4105
4107
  o: I,
4106
- d(o) {
4107
- o && j(t), i.d(), e[17](null);
4108
+ d(s) {
4109
+ s && j(t), i.d(), e[17](null);
4108
4110
  }
4109
4111
  };
4110
4112
  }
4111
- function vi(e, t, r) {
4113
+ function Ti(e, t, r) {
4112
4114
  let n;
4113
- ir(e, gi, (b) => r(5, n = b));
4114
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4115
+ or(e, mi, (b) => r(5, n = b));
4116
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
4115
4117
  const g = [];
4116
4118
  let _ = [], m = [];
4117
- Object.keys(dt).forEach((b) => {
4118
- pt(b, dt[b]);
4119
+ Object.keys(yt).forEach((b) => {
4120
+ bt(b, yt[b]);
4119
4121
  });
4120
- const C = () => {
4121
- fetch(c).then(($) => $.json()).then(($) => {
4122
+ const H = () => {
4123
+ fetch(f).then(($) => $.json()).then(($) => {
4122
4124
  Object.keys($).forEach((he) => {
4123
- pt(he, $[he]);
4125
+ bt(he, $[he]);
4124
4126
  });
4125
4127
  }).catch(($) => {
4126
4128
  console.log($);
4127
4129
  });
4128
4130
  }, B = () => {
4129
4131
  r(2, d = !0);
4130
- const b = new URL(`${i}/v1/casino/groups/${o}`);
4131
- b.searchParams.append("language", s), fetch(b).then(($) => $.json()).then(($) => {
4132
+ const b = new URL(`${i}/v1/casino/groups/${s}`);
4133
+ b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4132
4134
  r(2, d = !1);
4133
4135
  const he = h.split(",").map((F) => F.trim());
4134
4136
  g.push(...$.items);
4135
- const We = g.filter((F) => !he.some((qt) => {
4136
- var Ze;
4137
- return ((Ze = F.flags) == null ? void 0 : Ze.indexOf(qt)) >= 0;
4137
+ const Qe = g.filter((F) => !he.some((Kt) => {
4138
+ var Je;
4139
+ return ((Je = F.flags) == null ? void 0 : Je.indexOf(Kt)) >= 0;
4138
4140
  }));
4139
- r(3, _ = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
4141
+ r(3, _ = Qe.filter((F) => F.isTopCategory === !0)), r(4, m = Qe.filter((F) => F.isTopCategory === !1));
4140
4142
  });
4141
4143
  }, P = (b) => {
4142
4144
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4143
4145
  }, S = () => {
4144
- mi(s);
4146
+ pi(o);
4145
4147
  };
4146
- fr(() => () => {
4148
+ gr(() => () => {
4147
4149
  });
4148
- const H = (b) => P(b.id), N = (b) => P(b.id);
4149
- function Jt(b) {
4150
+ const C = (b) => P(b.id), N = (b) => P(b.id);
4151
+ function Yt(b) {
4150
4152
  Ne[b ? "unshift" : "push"](() => {
4151
4153
  p = b, r(1, p);
4152
4154
  });
4153
4155
  }
4154
4156
  return e.$$set = (b) => {
4155
- "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, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4157
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
4156
4158
  }, e.$$.update = () => {
4157
4159
  e.$$.dirty & /*endpoint, datasource*/
4158
- 384 && i && o && B(), e.$$.dirty & /*translationurl*/
4159
- 8192 && c && C(), e.$$.dirty & /*lang*/
4160
- 512 && s && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4161
- 2050 && a && p && pi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4162
- 4098 && l && p && di(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4163
- 16386 && f && p && bi(p, `${f}.Style`);
4160
+ 384 && i && s && B(), e.$$.dirty & /*translationurl*/
4161
+ 8192 && f && H(), e.$$.dirty & /*lang*/
4162
+ 512 && o && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4163
+ 2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4164
+ 4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4165
+ 16386 && c && p && yi(p, `${c}.Style`);
4164
4166
  }, [
4165
4167
  u,
4166
4168
  p,
@@ -4170,26 +4172,26 @@ function vi(e, t, r) {
4170
4172
  n,
4171
4173
  P,
4172
4174
  i,
4173
- o,
4174
4175
  s,
4176
+ o,
4175
4177
  h,
4176
4178
  a,
4177
4179
  l,
4178
- c,
4179
4180
  f,
4180
- H,
4181
+ c,
4182
+ C,
4181
4183
  N,
4182
- Jt
4184
+ Yt
4183
4185
  ];
4184
4186
  }
4185
- class Ti extends Tr {
4187
+ class Hi extends Cr {
4186
4188
  constructor(t) {
4187
- super(), _r(
4189
+ super(), Tr(
4188
4190
  this,
4189
4191
  t,
4192
+ Ti,
4190
4193
  vi,
4191
- _i,
4192
- vt,
4194
+ Ht,
4193
4195
  {
4194
4196
  endpoint: 7,
4195
4197
  datasource: 8,
@@ -4201,7 +4203,7 @@ class Ti extends Tr {
4201
4203
  translationurl: 13,
4202
4204
  mbsource: 14
4203
4205
  },
4204
- yi
4206
+ xi
4205
4207
  );
4206
4208
  }
4207
4209
  get endpoint() {
@@ -4259,7 +4261,7 @@ class Ti extends Tr {
4259
4261
  this.$$set({ mbsource: t }), M();
4260
4262
  }
4261
4263
  }
4262
- vr(Ti, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4264
+ Hr(Hi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4263
4265
  export {
4264
- Ti as default
4266
+ Hi as default
4265
4267
  };