@everymatrix/casino-categories 1.56.0 → 1.56.2

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,28 +1,28 @@
1
1
  function L() {
2
2
  }
3
- function mt(e) {
3
+ function dt(e) {
4
4
  return e();
5
5
  }
6
- function ze() {
6
+ function Ze() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function se(e) {
10
- e.forEach(mt);
10
+ e.forEach(dt);
11
11
  }
12
12
  function je(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function pt(e, t) {
15
+ function bt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let he;
19
19
  function pe(e, t) {
20
20
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
21
21
  }
22
- function Xt(e) {
22
+ function Wt(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function dt(e, ...t) {
25
+ function yt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,21 +31,22 @@ function dt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function zt(e, t, r) {
35
- e.$$.on_destroy.push(dt(t, r));
34
+ function Zt(e, t, r) {
35
+ e.$$.on_destroy.push(yt(t, r));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Wt(e, t, r) {
41
- const n = Zt(e);
40
+ function Qt(e, t, r) {
41
+ const n = Jt(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = O("style");
44
- i.id = t, i.textContent = r, Qt(n, i);
44
+ i.id = t, i.textContent = r, qt(n, i);
45
45
  }
46
46
  }
47
- function Zt(e) {
48
- if (!e) return document;
47
+ function Jt(e) {
48
+ if (!e)
49
+ return document;
49
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
51
  return t && /** @type {ShadowRoot} */
51
52
  t.host ? (
@@ -53,7 +54,7 @@ function Zt(e) {
53
54
  t
54
55
  ) : e.ownerDocument;
55
56
  }
56
- function Qt(e, t) {
57
+ function qt(e, t) {
57
58
  return v(
58
59
  /** @type {Document} */
59
60
  e.head || e,
@@ -66,7 +67,7 @@ function q(e, t, r) {
66
67
  function F(e) {
67
68
  e.parentNode && e.parentNode.removeChild(e);
68
69
  }
69
- function We(e, t) {
70
+ function Qe(e, t) {
70
71
  for (let r = 0; r < e.length; r += 1)
71
72
  e[r] && e[r].d(t);
72
73
  }
@@ -79,20 +80,20 @@ function R(e) {
79
80
  function $() {
80
81
  return R(" ");
81
82
  }
82
- function bt(e, t, r, n) {
83
+ function _t(e, t, r, n) {
83
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
85
  }
85
86
  function A(e, t, r) {
86
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
88
  }
88
- function Jt(e) {
89
+ function Yt(e) {
89
90
  return Array.from(e.childNodes);
90
91
  }
91
92
  function G(e, t) {
92
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
94
  t);
94
95
  }
95
- function qt(e) {
96
+ function Kt(e) {
96
97
  const t = {};
97
98
  return e.childNodes.forEach(
98
99
  /** @param {Element} node */
@@ -105,19 +106,20 @@ let ne;
105
106
  function re(e) {
106
107
  ne = e;
107
108
  }
108
- function Yt() {
109
- if (!ne) throw new Error("Function called outside component initialization");
109
+ function er() {
110
+ if (!ne)
111
+ throw new Error("Function called outside component initialization");
110
112
  return ne;
111
113
  }
112
- function Kt(e) {
113
- Yt().$$.on_mount.push(e);
114
+ function tr(e) {
115
+ er().$$.on_mount.push(e);
114
116
  }
115
117
  const X = [], we = [];
116
118
  let z = [];
117
- const Ze = [], er = /* @__PURE__ */ Promise.resolve();
119
+ const Je = [], rr = /* @__PURE__ */ Promise.resolve();
118
120
  let Pe = !1;
119
- function tr() {
120
- Pe || (Pe = !0, er.then(I));
121
+ function nr() {
122
+ Pe || (Pe = !0, rr.then(I));
121
123
  }
122
124
  function Ne(e) {
123
125
  z.push(e);
@@ -132,55 +134,56 @@ function I() {
132
134
  try {
133
135
  for (; k < X.length; ) {
134
136
  const t = X[k];
135
- k++, re(t), rr(t.$$);
137
+ k++, re(t), ir(t.$$);
136
138
  }
137
139
  } catch (t) {
138
140
  throw X.length = 0, k = 0, t;
139
141
  }
140
- for (re(null), X.length = 0, k = 0; we.length; ) we.pop()();
142
+ for (re(null), X.length = 0, k = 0; we.length; )
143
+ we.pop()();
141
144
  for (let t = 0; t < z.length; t += 1) {
142
145
  const r = z[t];
143
146
  Te.has(r) || (Te.add(r), r());
144
147
  }
145
148
  z.length = 0;
146
149
  } while (X.length);
147
- for (; Ze.length; )
148
- Ze.pop()();
150
+ for (; Je.length; )
151
+ Je.pop()();
149
152
  Pe = !1, Te.clear(), re(e);
150
153
  }
151
- function rr(e) {
154
+ function ir(e) {
152
155
  if (e.fragment !== null) {
153
156
  e.update(), se(e.before_update);
154
157
  const t = e.dirty;
155
158
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
156
159
  }
157
160
  }
158
- function nr(e) {
161
+ function or(e) {
159
162
  const t = [], r = [];
160
163
  z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
161
164
  }
162
- const ir = /* @__PURE__ */ new Set();
163
- function or(e, t) {
164
- e && e.i && (ir.delete(e), e.i(t));
165
+ const sr = /* @__PURE__ */ new Set();
166
+ function ar(e, t) {
167
+ e && e.i && (sr.delete(e), e.i(t));
165
168
  }
166
169
  function le(e) {
167
170
  return e?.length !== void 0 ? e : Array.from(e);
168
171
  }
169
- function sr(e, t, r) {
172
+ function ur(e, t, r) {
170
173
  const { fragment: n, after_update: i } = e.$$;
171
174
  n && n.m(t, r), Ne(() => {
172
- const o = e.$$.on_mount.map(mt).filter(je);
175
+ const o = e.$$.on_mount.map(dt).filter(je);
173
176
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
174
177
  }), i.forEach(Ne);
175
178
  }
176
- function ar(e, t) {
179
+ function hr(e, t) {
177
180
  const r = e.$$;
178
- r.fragment !== null && (nr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
+ r.fragment !== null && (or(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
179
182
  }
180
- function ur(e, t) {
181
- e.$$.dirty[0] === -1 && (X.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
+ function lr(e, t) {
184
+ e.$$.dirty[0] === -1 && (X.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
182
185
  }
183
- function hr(e, t, r, n, i, o, s = null, u = [-1]) {
186
+ function cr(e, t, r, n, i, o, s = null, u = [-1]) {
184
187
  const l = ne;
185
188
  re(e);
186
189
  const a = e.$$ = {
@@ -190,7 +193,7 @@ function hr(e, t, r, n, i, o, s = null, u = [-1]) {
190
193
  props: o,
191
194
  update: L,
192
195
  not_equal: i,
193
- bound: ze(),
196
+ bound: Ze(),
194
197
  // lifecycle
195
198
  on_mount: [],
196
199
  on_destroy: [],
@@ -199,28 +202,28 @@ function hr(e, t, r, n, i, o, s = null, u = [-1]) {
199
202
  after_update: [],
200
203
  context: new Map(t.context || (l ? l.$$.context : [])),
201
204
  // everything else
202
- callbacks: ze(),
205
+ callbacks: Ze(),
203
206
  dirty: u,
204
207
  skip_bound: !1,
205
208
  root: t.target || l.$$.root
206
209
  };
207
210
  s && s(a.root);
208
211
  let h = !1;
209
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
210
- const d = p.length ? p[0] : f;
211
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && ur(e, c)), f;
212
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
213
+ const d = p.length ? p[0] : c;
214
+ return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), h && lr(e, f)), c;
212
215
  }) : [], a.update(), h = !0, se(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
213
216
  if (t.hydrate) {
214
- const c = Jt(t.target);
215
- a.fragment && a.fragment.l(c), c.forEach(F);
217
+ const f = Yt(t.target);
218
+ a.fragment && a.fragment.l(f), f.forEach(F);
216
219
  } else
217
220
  a.fragment && a.fragment.c();
218
- t.intro && or(e.$$.fragment), sr(e, t.target, t.anchor), I();
221
+ t.intro && ar(e.$$.fragment), ur(e, t.target, t.anchor), I();
219
222
  }
220
223
  re(l);
221
224
  }
222
- let yt;
223
- typeof HTMLElement == "function" && (yt = class extends HTMLElement {
225
+ let xt;
226
+ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
224
227
  /** The Svelte component constructor */
225
228
  $$ctor;
226
229
  /** Slots */
@@ -279,12 +282,12 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
279
282
  };
280
283
  if (await Promise.resolve(), !this.$$cn || this.$$c)
281
284
  return;
282
- const t = {}, r = qt(this);
285
+ const t = {}, r = Kt(this);
283
286
  for (const i of this.$$s)
284
287
  i in r && (t[i] = [e(i)]);
285
288
  for (const i of this.attributes) {
286
289
  const o = this.$$g_p(i.name);
287
- o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
290
+ o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
288
291
  }
289
292
  for (const i in this.$$p_d)
290
293
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -302,7 +305,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
302
305
  this.$$r = !0;
303
306
  for (const i in this.$$p_d)
304
307
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
305
- const o = ce(
308
+ const o = fe(
306
309
  i,
307
310
  this.$$d[i],
308
311
  this.$$p_d,
@@ -324,7 +327,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
324
327
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
325
328
  // and setting attributes through setAttribute etc, this is helpful
326
329
  attributeChangedCallback(e, t, r) {
327
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
330
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
328
331
  }
329
332
  disconnectedCallback() {
330
333
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -337,7 +340,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
337
340
  ) || e;
338
341
  }
339
342
  });
340
- function ce(e, t, r, n) {
343
+ function fe(e, t, r, n) {
341
344
  const i = r[e]?.type;
342
345
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
343
346
  return t;
@@ -366,8 +369,8 @@ function ce(e, t, r, n) {
366
369
  return t;
367
370
  }
368
371
  }
369
- function lr(e, t, r, n, i, o) {
370
- let s = class extends yt {
372
+ function fr(e, t, r, n, i, o) {
373
+ let s = class extends xt {
371
374
  constructor() {
372
375
  super(e, r, i), this.$$p_d = t;
373
376
  }
@@ -383,7 +386,7 @@ function lr(e, t, r, n, i, o) {
383
386
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
384
387
  },
385
388
  set(l) {
386
- l = ce(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
389
+ l = fe(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
387
390
  }
388
391
  });
389
392
  }), n.forEach((u) => {
@@ -395,7 +398,7 @@ function lr(e, t, r, n, i, o) {
395
398
  }), e.element = /** @type {any} */
396
399
  s, s;
397
400
  }
398
- class fr {
401
+ class gr {
399
402
  /**
400
403
  * ### PRIVATE API
401
404
  *
@@ -414,7 +417,7 @@ class fr {
414
417
  $$set = void 0;
415
418
  /** @returns {void} */
416
419
  $destroy() {
417
- ar(this, 1), this.$destroy = L;
420
+ hr(this, 1), this.$destroy = L;
418
421
  }
419
422
  /**
420
423
  * @template {Extract<keyof Events, string>} K
@@ -436,13 +439,13 @@ class fr {
436
439
  * @returns {void}
437
440
  */
438
441
  $set(t) {
439
- this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
+ this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
440
443
  }
441
444
  }
442
- const cr = "4";
443
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
445
+ const mr = "4";
446
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
444
447
  const V = [];
445
- function gr(e, t) {
448
+ function pr(e, t) {
446
449
  return {
447
450
  subscribe: ye(e, t).subscribe
448
451
  };
@@ -451,7 +454,7 @@ function ye(e, t = L) {
451
454
  let r;
452
455
  const n = /* @__PURE__ */ new Set();
453
456
  function i(u) {
454
- if (pt(e, u) && (e = u, r)) {
457
+ if (bt(e, u) && (e = u, r)) {
455
458
  const l = !V.length;
456
459
  for (const a of n)
457
460
  a[1](), V.push(a, e);
@@ -478,96 +481,96 @@ function Y(e, t, r) {
478
481
  if (!i.every(Boolean))
479
482
  throw new Error("derived() expects stores as input, got a falsy value");
480
483
  const o = t.length < 2;
481
- return gr(r, (s, u) => {
484
+ return pr(r, (s, u) => {
482
485
  let l = !1;
483
486
  const a = [];
484
- let h = 0, c = L;
485
- const f = () => {
487
+ let h = 0, f = L;
488
+ const c = () => {
486
489
  if (h)
487
490
  return;
488
- c();
491
+ f();
489
492
  const d = t(n ? a[0] : a, s, u);
490
- o ? s(d) : c = je(d) ? d : L;
493
+ o ? s(d) : f = je(d) ? d : L;
491
494
  }, p = i.map(
492
- (d, g) => dt(
495
+ (d, g) => yt(
493
496
  d,
494
- (x) => {
495
- a[g] = x, h &= ~(1 << g), l && f();
497
+ (E) => {
498
+ a[g] = E, h &= ~(1 << g), l && c();
496
499
  },
497
500
  () => {
498
501
  h |= 1 << g;
499
502
  }
500
503
  )
501
504
  );
502
- return l = !0, f(), function() {
503
- se(p), c(), l = !1;
505
+ return l = !0, c(), function() {
506
+ se(p), f(), l = !1;
504
507
  };
505
508
  });
506
509
  }
507
- function mr(e) {
510
+ function dr(e) {
508
511
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
509
512
  }
510
- var pr = function(t) {
511
- return dr(t) && !br(t);
513
+ var br = function(t) {
514
+ return yr(t) && !_r(t);
512
515
  };
513
- function dr(e) {
516
+ function yr(e) {
514
517
  return !!e && typeof e == "object";
515
518
  }
516
- function br(e) {
519
+ function _r(e) {
517
520
  var t = Object.prototype.toString.call(e);
518
- return t === "[object RegExp]" || t === "[object Date]" || Er(e);
521
+ return t === "[object RegExp]" || t === "[object Date]" || vr(e);
519
522
  }
520
- var yr = typeof Symbol == "function" && Symbol.for, _r = yr ? Symbol.for("react.element") : 60103;
521
- function Er(e) {
522
- return e.$$typeof === _r;
523
+ var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
524
+ function vr(e) {
525
+ return e.$$typeof === Er;
523
526
  }
524
- function xr(e) {
527
+ function Tr(e) {
525
528
  return Array.isArray(e) ? [] : {};
526
529
  }
527
530
  function ie(e, t) {
528
- return t.clone !== !1 && t.isMergeableObject(e) ? W(xr(e), e, t) : e;
531
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(Tr(e), e, t) : e;
529
532
  }
530
- function vr(e, t, r) {
533
+ function Cr(e, t, r) {
531
534
  return e.concat(t).map(function(n) {
532
535
  return ie(n, r);
533
536
  });
534
537
  }
535
- function Tr(e, t) {
538
+ function Hr(e, t) {
536
539
  if (!t.customMerge)
537
540
  return W;
538
541
  var r = t.customMerge(e);
539
542
  return typeof r == "function" ? r : W;
540
543
  }
541
- function Cr(e) {
544
+ function Ar(e) {
542
545
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
543
546
  return Object.propertyIsEnumerable.call(e, t);
544
547
  }) : [];
545
548
  }
546
- function Qe(e) {
547
- return Object.keys(e).concat(Cr(e));
549
+ function qe(e) {
550
+ return Object.keys(e).concat(Ar(e));
548
551
  }
549
- function _t(e, t) {
552
+ function Et(e, t) {
550
553
  try {
551
554
  return t in e;
552
555
  } catch {
553
556
  return !1;
554
557
  }
555
558
  }
556
- function Hr(e, t) {
557
- return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
559
+ function Br(e, t) {
560
+ return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
558
561
  }
559
- function Ar(e, t, r) {
562
+ function Sr(e, t, r) {
560
563
  var n = {};
561
- return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
564
+ return r.isMergeableObject(e) && qe(e).forEach(function(i) {
562
565
  n[i] = ie(e[i], r);
563
- }), Qe(t).forEach(function(i) {
564
- Hr(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
566
+ }), qe(t).forEach(function(i) {
567
+ Br(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
565
568
  }), n;
566
569
  }
567
570
  function W(e, t, r) {
568
- r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = ie;
571
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = ie;
569
572
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
570
- return o ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : ie(t, r);
573
+ return o ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ie(t, r);
571
574
  }
572
575
  W.all = function(t, r) {
573
576
  if (!Array.isArray(t))
@@ -576,13 +579,28 @@ W.all = function(t, r) {
576
579
  return W(n, i, r);
577
580
  }, {});
578
581
  };
579
- var Sr = W, Br = Sr;
580
- const Or = /* @__PURE__ */ mr(Br);
582
+ var Or = W, wr = Or;
583
+ const Pr = /* @__PURE__ */ dr(wr);
584
+ /*! *****************************************************************************
585
+ Copyright (c) Microsoft Corporation.
586
+
587
+ Permission to use, copy, modify, and/or distribute this software for any
588
+ purpose with or without fee is hereby granted.
589
+
590
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
591
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
592
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
593
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
594
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
595
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
596
+ PERFORMANCE OF THIS SOFTWARE.
597
+ ***************************************************************************** */
581
598
  var Le = function(e, t) {
582
599
  return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
583
600
  r.__proto__ = n;
584
601
  } || function(r, n) {
585
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
602
+ for (var i in n)
603
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
586
604
  }, Le(e, t);
587
605
  };
588
606
  function _e(e, t) {
@@ -594,76 +612,81 @@ function _e(e, t) {
594
612
  }
595
613
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
596
614
  }
597
- var E = function() {
598
- return E = Object.assign || function(t) {
615
+ var x = function() {
616
+ return x = Object.assign || function(t) {
599
617
  for (var r, n = 1, i = arguments.length; n < i; n++) {
600
618
  r = arguments[n];
601
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
619
+ for (var o in r)
620
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
602
621
  }
603
622
  return t;
604
- }, E.apply(this, arguments);
623
+ }, x.apply(this, arguments);
605
624
  };
606
- function wr(e, t) {
625
+ function Nr(e, t) {
607
626
  var r = {};
608
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
627
+ for (var n in e)
628
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
609
629
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
610
630
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
611
631
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
612
632
  return r;
613
633
  }
614
634
  function Ce(e, t, r) {
615
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
616
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
617
- return e.concat(o || Array.prototype.slice.call(t));
635
+ if (arguments.length === 2)
636
+ for (var n = 0, i = t.length, o; n < i; n++)
637
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
638
+ return e.concat(o || t);
618
639
  }
619
640
  function He(e, t) {
620
- var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Lr;
641
+ var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Ir;
621
642
  return i(e, {
622
643
  cache: r,
623
644
  serializer: n
624
645
  });
625
646
  }
626
- function Pr(e) {
647
+ function Lr(e) {
627
648
  return e == null || typeof e == "number" || typeof e == "boolean";
628
649
  }
629
- function Nr(e, t, r, n) {
630
- var i = Pr(n) ? n : r(n), o = t.get(i);
650
+ function vt(e, t, r, n) {
651
+ var i = Lr(n) ? n : r(n), o = t.get(i);
631
652
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
632
653
  }
633
- function Et(e, t, r) {
654
+ function Tt(e, t, r) {
634
655
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
635
656
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
636
657
  }
637
- function xt(e, t, r, n, i) {
658
+ function ke(e, t, r, n, i) {
638
659
  return r.bind(t, e, n, i);
639
660
  }
640
- function Lr(e, t) {
641
- var r = e.length === 1 ? Nr : Et;
642
- return xt(e, this, r, t.cache.create(), t.serializer);
643
- }
644
661
  function Ir(e, t) {
645
- return xt(e, this, Et, t.cache.create(), t.serializer);
662
+ var r = e.length === 1 ? vt : Tt;
663
+ return ke(e, this, r, t.cache.create(), t.serializer);
646
664
  }
647
- var Mr = function() {
665
+ function Mr(e, t) {
666
+ return ke(e, this, Tt, t.cache.create(), t.serializer);
667
+ }
668
+ function $r(e, t) {
669
+ return ke(e, this, vt, t.cache.create(), t.serializer);
670
+ }
671
+ var Rr = function() {
648
672
  return JSON.stringify(arguments);
649
- }, $r = (
650
- /** @class */
651
- function() {
652
- function e() {
653
- this.cache = /* @__PURE__ */ Object.create(null);
654
- }
655
- return e.prototype.get = function(t) {
656
- return this.cache[t];
657
- }, e.prototype.set = function(t, r) {
658
- this.cache[t] = r;
659
- }, e;
660
- }()
661
- ), Rr = {
673
+ };
674
+ function Ve() {
675
+ this.cache = /* @__PURE__ */ Object.create(null);
676
+ }
677
+ Ve.prototype.get = function(e) {
678
+ return this.cache[e];
679
+ };
680
+ Ve.prototype.set = function(e, t) {
681
+ this.cache[e] = t;
682
+ };
683
+ var Ur = {
662
684
  create: function() {
663
- return new $r();
685
+ return new Ve();
664
686
  }
665
687
  }, Ae = {
666
- variadic: Ir
688
+ variadic: Mr,
689
+ monadic: $r
667
690
  }, y;
668
691
  (function(e) {
669
692
  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";
@@ -676,43 +699,43 @@ var Z;
676
699
  (function(e) {
677
700
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
678
701
  })(Z || (Z = {}));
679
- function Je(e) {
702
+ function Ye(e) {
680
703
  return e.type === T.literal;
681
704
  }
682
- function Ur(e) {
705
+ function Gr(e) {
683
706
  return e.type === T.argument;
684
707
  }
685
- function vt(e) {
708
+ function Ct(e) {
686
709
  return e.type === T.number;
687
710
  }
688
- function Tt(e) {
711
+ function Ht(e) {
689
712
  return e.type === T.date;
690
713
  }
691
- function Ct(e) {
714
+ function At(e) {
692
715
  return e.type === T.time;
693
716
  }
694
- function Ht(e) {
717
+ function Bt(e) {
695
718
  return e.type === T.select;
696
719
  }
697
- function At(e) {
720
+ function St(e) {
698
721
  return e.type === T.plural;
699
722
  }
700
- function Gr(e) {
723
+ function Dr(e) {
701
724
  return e.type === T.pound;
702
725
  }
703
- function St(e) {
726
+ function Ot(e) {
704
727
  return e.type === T.tag;
705
728
  }
706
- function Bt(e) {
729
+ function wt(e) {
707
730
  return !!(e && typeof e == "object" && e.type === Z.number);
708
731
  }
709
732
  function Ie(e) {
710
733
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
711
734
  }
712
- var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
713
- function Fr(e) {
735
+ var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
736
+ function jr(e) {
714
737
  var t = {};
715
- return e.replace(Dr, function(r) {
738
+ return e.replace(Fr, function(r) {
716
739
  var n = r.length;
717
740
  switch (r[0]) {
718
741
  case "G":
@@ -801,36 +824,36 @@ function Fr(e) {
801
824
  return "";
802
825
  }), t;
803
826
  }
804
- var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
805
- function kr(e) {
827
+ var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
828
+ function Vr(e) {
806
829
  if (e.length === 0)
807
830
  throw new Error("Number skeleton cannot be empty");
808
- for (var t = e.split(jr).filter(function(f) {
809
- return f.length > 0;
831
+ for (var t = e.split(kr).filter(function(c) {
832
+ return c.length > 0;
810
833
  }), r = [], n = 0, i = t; n < i.length; n++) {
811
834
  var o = i[n], s = o.split("/");
812
835
  if (s.length === 0)
813
836
  throw new Error("Invalid number skeleton");
814
837
  for (var u = s[0], l = s.slice(1), a = 0, h = l; a < h.length; a++) {
815
- var c = h[a];
816
- if (c.length === 0)
838
+ var f = h[a];
839
+ if (f.length === 0)
817
840
  throw new Error("Invalid number skeleton");
818
841
  }
819
842
  r.push({ stem: u, options: l });
820
843
  }
821
844
  return r;
822
845
  }
823
- function Vr(e) {
846
+ function Xr(e) {
824
847
  return e.replace(/^(.*?)-/, "");
825
848
  }
826
- var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
827
- function Ye(e) {
849
+ var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Lt = /^(0+)$/;
850
+ function et(e) {
828
851
  var t = {};
829
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
852
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
830
853
  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)), "";
831
854
  }), t;
832
855
  }
833
- function Nt(e) {
856
+ function It(e) {
834
857
  switch (e) {
835
858
  case "sign-auto":
836
859
  return {
@@ -870,7 +893,7 @@ function Nt(e) {
870
893
  };
871
894
  }
872
895
  }
873
- function zr(e) {
896
+ function Wr(e) {
874
897
  var t;
875
898
  if (e[0] === "E" && e[1] === "E" ? (t = {
876
899
  notation: "engineering"
@@ -878,17 +901,17 @@ function zr(e) {
878
901
  notation: "scientific"
879
902
  }, e = e.slice(1)), t) {
880
903
  var r = e.slice(0, 2);
881
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pt.test(e))
904
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lt.test(e))
882
905
  throw new Error("Malformed concise eng/scientific notation");
883
906
  t.minimumIntegerDigits = e.length;
884
907
  }
885
908
  return t;
886
909
  }
887
- function Ke(e) {
888
- var t = {}, r = Nt(e);
910
+ function tt(e) {
911
+ var t = {}, r = It(e);
889
912
  return r || t;
890
913
  }
891
- function Wr(e) {
914
+ function Zr(e) {
892
915
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
893
916
  var i = n[r];
894
917
  switch (i.stem) {
@@ -912,7 +935,7 @@ function Wr(e) {
912
935
  continue;
913
936
  case "measure-unit":
914
937
  case "unit":
915
- t.style = "unit", t.unit = Vr(i.options[0]);
938
+ t.style = "unit", t.unit = Xr(i.options[0]);
916
939
  continue;
917
940
  case "compact-short":
918
941
  case "K":
@@ -923,13 +946,13 @@ function Wr(e) {
923
946
  t.notation = "compact", t.compactDisplay = "long";
924
947
  continue;
925
948
  case "scientific":
926
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
927
- return E(E({}, l), Ke(a));
949
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
950
+ return x(x({}, l), tt(a));
928
951
  }, {}));
929
952
  continue;
930
953
  case "engineering":
931
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
932
- return E(E({}, l), Ke(a));
954
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
955
+ return x(x({}, l), tt(a));
933
956
  }, {}));
934
957
  continue;
935
958
  case "notation-simple":
@@ -974,11 +997,11 @@ function Wr(e) {
974
997
  case "integer-width":
975
998
  if (i.options.length > 1)
976
999
  throw new RangeError("integer-width stems only accept a single optional option");
977
- i.options[0].replace(Xr, function(l, a, h, c, f, p) {
1000
+ i.options[0].replace(zr, function(l, a, h, f, c, p) {
978
1001
  if (a)
979
1002
  t.minimumIntegerDigits = h.length;
980
1003
  else {
981
- if (c && f)
1004
+ if (f && c)
982
1005
  throw new Error("We currently do not support maximum integer digits");
983
1006
  if (p)
984
1007
  throw new Error("We currently do not support exact integer digits");
@@ -987,32 +1010,32 @@ function Wr(e) {
987
1010
  });
988
1011
  continue;
989
1012
  }
990
- if (Pt.test(i.stem)) {
1013
+ if (Lt.test(i.stem)) {
991
1014
  t.minimumIntegerDigits = i.stem.length;
992
1015
  continue;
993
1016
  }
994
- if (qe.test(i.stem)) {
1017
+ if (Ke.test(i.stem)) {
995
1018
  if (i.options.length > 1)
996
1019
  throw new RangeError("Fraction-precision stems only accept a single optional option");
997
- i.stem.replace(qe, function(l, a, h, c, f, p) {
998
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1020
+ i.stem.replace(Ke, function(l, a, h, f, c, p) {
1021
+ return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
999
1022
  });
1000
1023
  var o = i.options[0];
1001
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ye(o)));
1024
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), et(o)));
1002
1025
  continue;
1003
1026
  }
1004
- if (wt.test(i.stem)) {
1005
- t = E(E({}, t), Ye(i.stem));
1027
+ if (Nt.test(i.stem)) {
1028
+ t = x(x({}, t), et(i.stem));
1006
1029
  continue;
1007
1030
  }
1008
- var s = Nt(i.stem);
1009
- s && (t = E(E({}, t), s));
1010
- var u = zr(i.stem);
1011
- u && (t = E(E({}, t), u));
1031
+ var s = It(i.stem);
1032
+ s && (t = x(x({}, t), s));
1033
+ var u = Wr(i.stem);
1034
+ u && (t = x(x({}, t), u));
1012
1035
  }
1013
1036
  return t;
1014
1037
  }
1015
- var fe = {
1038
+ var ce = {
1016
1039
  "001": [
1017
1040
  "H",
1018
1041
  "h"
@@ -2427,22 +2450,23 @@ var fe = {
2427
2450
  "h"
2428
2451
  ]
2429
2452
  };
2430
- function Zr(e, t) {
2453
+ function Qr(e, t) {
2431
2454
  for (var r = "", n = 0; n < e.length; n++) {
2432
2455
  var i = e.charAt(n);
2433
2456
  if (i === "j") {
2434
2457
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2435
2458
  o++, n++;
2436
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Qr(t);
2459
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Jr(t);
2437
2460
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2438
2461
  r += l;
2439
2462
  for (; s-- > 0; )
2440
2463
  r = a + r;
2441
- } else i === "J" ? r += "H" : r += i;
2464
+ } else
2465
+ i === "J" ? r += "H" : r += i;
2442
2466
  }
2443
2467
  return r;
2444
2468
  }
2445
- function Qr(e) {
2469
+ function Jr(e) {
2446
2470
  var t = e.hourCycle;
2447
2471
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2448
2472
  e.hourCycles && // @ts-ignore
@@ -2461,23 +2485,23 @@ function Qr(e) {
2461
2485
  }
2462
2486
  var r = e.language, n;
2463
2487
  r !== "root" && (n = e.maximize().region);
2464
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2488
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2465
2489
  return i[0];
2466
2490
  }
2467
- var Se, Jr = new RegExp("^".concat(Ot.source, "*")), qr = new RegExp("".concat(Ot.source, "*$"));
2491
+ var Be, qr = new RegExp("^".concat(Pt.source, "*")), Yr = new RegExp("".concat(Pt.source, "*$"));
2468
2492
  function _(e, t) {
2469
2493
  return { start: e, end: t };
2470
2494
  }
2471
- var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, sn = on ? Number.isSafeInteger : function(e) {
2495
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, an = sn ? Number.isSafeInteger : function(e) {
2472
2496
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2473
2497
  }, Me = !0;
2474
2498
  try {
2475
- var an = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2476
- Me = ((Se = an.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2499
+ var un = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2500
+ Me = ((Be = un.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2477
2501
  } catch {
2478
2502
  Me = !1;
2479
2503
  }
2480
- var et = Yr ? (
2504
+ var rt = Kr ? (
2481
2505
  // Native
2482
2506
  function(t, r, n) {
2483
2507
  return t.startsWith(r, n);
@@ -2487,7 +2511,7 @@ var et = Yr ? (
2487
2511
  function(t, r, n) {
2488
2512
  return t.slice(n, n + r.length) === r;
2489
2513
  }
2490
- ), $e = Kr ? String.fromCodePoint : (
2514
+ ), $e = en ? String.fromCodePoint : (
2491
2515
  // IE11
2492
2516
  function() {
2493
2517
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2499,9 +2523,9 @@ var et = Yr ? (
2499
2523
  }
2500
2524
  return n;
2501
2525
  }
2502
- ), tt = (
2526
+ ), nt = (
2503
2527
  // native
2504
- en ? Object.fromEntries : (
2528
+ tn ? Object.fromEntries : (
2505
2529
  // Ponyfill
2506
2530
  function(t) {
2507
2531
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2511,7 +2535,7 @@ var et = Yr ? (
2511
2535
  return r;
2512
2536
  }
2513
2537
  )
2514
- ), Lt = tn ? (
2538
+ ), Mt = rn ? (
2515
2539
  // Native
2516
2540
  function(t, r) {
2517
2541
  return t.codePointAt(r);
@@ -2525,7 +2549,7 @@ var et = Yr ? (
2525
2549
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2526
2550
  }
2527
2551
  }
2528
- ), un = rn ? (
2552
+ ), hn = nn ? (
2529
2553
  // Native
2530
2554
  function(t) {
2531
2555
  return t.trimStart();
@@ -2533,9 +2557,9 @@ var et = Yr ? (
2533
2557
  ) : (
2534
2558
  // Ponyfill
2535
2559
  function(t) {
2536
- return t.replace(Jr, "");
2560
+ return t.replace(qr, "");
2537
2561
  }
2538
- ), hn = nn ? (
2562
+ ), ln = on ? (
2539
2563
  // Native
2540
2564
  function(t) {
2541
2565
  return t.trimEnd();
@@ -2543,32 +2567,32 @@ var et = Yr ? (
2543
2567
  ) : (
2544
2568
  // Ponyfill
2545
2569
  function(t) {
2546
- return t.replace(qr, "");
2570
+ return t.replace(Yr, "");
2547
2571
  }
2548
2572
  );
2549
- function It(e, t) {
2573
+ function $t(e, t) {
2550
2574
  return new RegExp(e, t);
2551
2575
  }
2552
2576
  var Re;
2553
2577
  if (Me) {
2554
- var rt = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2578
+ var it = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2555
2579
  Re = function(t, r) {
2556
2580
  var n;
2557
- rt.lastIndex = r;
2558
- var i = rt.exec(t);
2581
+ it.lastIndex = r;
2582
+ var i = it.exec(t);
2559
2583
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2560
2584
  };
2561
2585
  } else
2562
2586
  Re = function(t, r) {
2563
2587
  for (var n = []; ; ) {
2564
- var i = Lt(t, r);
2565
- if (i === void 0 || Mt(i) || gn(i))
2588
+ var i = Mt(t, r);
2589
+ if (i === void 0 || Rt(i) || mn(i))
2566
2590
  break;
2567
2591
  n.push(i), r += i >= 65536 ? 2 : 1;
2568
2592
  }
2569
2593
  return $e.apply(void 0, n);
2570
2594
  };
2571
- var ln = (
2595
+ var cn = (
2572
2596
  /** @class */
2573
2597
  function() {
2574
2598
  function e(t, r) {
@@ -2650,7 +2674,7 @@ var ln = (
2650
2674
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2651
2675
  }, e.prototype.parseTagName = function() {
2652
2676
  var t = this.offset();
2653
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2677
+ for (this.bump(); !this.isEOF() && gn(this.char()); )
2654
2678
  this.bump();
2655
2679
  return this.message.slice(t, this.offset());
2656
2680
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2763,40 +2787,40 @@ var ln = (
2763
2787
  var a = null;
2764
2788
  if (this.bumpIf(",")) {
2765
2789
  this.bumpSpace();
2766
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2767
- if (c.err)
2768
- return c;
2769
- var f = hn(c.val);
2770
- if (f.length === 0)
2790
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2791
+ if (f.err)
2792
+ return f;
2793
+ var c = ln(f.val);
2794
+ if (c.length === 0)
2771
2795
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2772
2796
  var p = _(h, this.clonePosition());
2773
- a = { style: f, styleLocation: p };
2797
+ a = { style: c, styleLocation: p };
2774
2798
  }
2775
2799
  var d = this.tryParseArgumentClose(i);
2776
2800
  if (d.err)
2777
2801
  return d;
2778
2802
  var g = _(i, this.clonePosition());
2779
- if (a && et(a?.style, "::", 0)) {
2780
- var x = un(a.style.slice(2));
2803
+ if (a && rt(a?.style, "::", 0)) {
2804
+ var E = hn(a.style.slice(2));
2781
2805
  if (u === "number") {
2782
- var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
2783
- return c.err ? c : {
2784
- val: { type: T.number, value: n, location: g, style: c.val },
2806
+ var f = this.parseNumberSkeletonFromString(E, a.styleLocation);
2807
+ return f.err ? f : {
2808
+ val: { type: T.number, value: n, location: g, style: f.val },
2785
2809
  err: null
2786
2810
  };
2787
2811
  } else {
2788
- if (x.length === 0)
2812
+ if (E.length === 0)
2789
2813
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2790
- var m = x;
2791
- this.locale && (m = Zr(x, this.locale));
2792
- var f = {
2814
+ var m = E;
2815
+ this.locale && (m = Qr(E, this.locale));
2816
+ var c = {
2793
2817
  type: Z.dateTime,
2794
2818
  pattern: m,
2795
2819
  location: a.styleLocation,
2796
- parsedOptions: this.shouldParseSkeletons ? Fr(m) : {}
2820
+ parsedOptions: this.shouldParseSkeletons ? jr(m) : {}
2797
2821
  }, C = u === "date" ? T.date : T.time;
2798
2822
  return {
2799
- val: { type: C, value: n, location: g, style: f },
2823
+ val: { type: C, value: n, location: g, style: c },
2800
2824
  err: null
2801
2825
  };
2802
2826
  }
@@ -2814,19 +2838,19 @@ var ln = (
2814
2838
  case "plural":
2815
2839
  case "selectordinal":
2816
2840
  case "select": {
2817
- var S = this.clonePosition();
2841
+ var B = this.clonePosition();
2818
2842
  if (this.bumpSpace(), !this.bumpIf(","))
2819
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, E({}, S)));
2843
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, x({}, B)));
2820
2844
  this.bumpSpace();
2821
- var P = this.parseIdentifierIfPossible(), B = 0;
2845
+ var P = this.parseIdentifierIfPossible(), S = 0;
2822
2846
  if (u !== "select" && P.value === "offset") {
2823
2847
  if (!this.bumpIf(":"))
2824
2848
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2825
2849
  this.bumpSpace();
2826
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2827
- if (c.err)
2828
- return c;
2829
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), B = c.val;
2850
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2851
+ if (f.err)
2852
+ return f;
2853
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = f.val;
2830
2854
  }
2831
2855
  var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
2832
2856
  if (H.err)
@@ -2839,7 +2863,7 @@ var ln = (
2839
2863
  val: {
2840
2864
  type: T.select,
2841
2865
  value: n,
2842
- options: tt(H.val),
2866
+ options: nt(H.val),
2843
2867
  location: N
2844
2868
  },
2845
2869
  err: null
@@ -2847,8 +2871,8 @@ var ln = (
2847
2871
  val: {
2848
2872
  type: T.plural,
2849
2873
  value: n,
2850
- options: tt(H.val),
2851
- offset: B,
2874
+ options: nt(H.val),
2875
+ offset: S,
2852
2876
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2853
2877
  location: N
2854
2878
  },
@@ -2898,7 +2922,7 @@ var ln = (
2898
2922
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2899
2923
  var n = [];
2900
2924
  try {
2901
- n = kr(t);
2925
+ n = Vr(t);
2902
2926
  } catch {
2903
2927
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2904
2928
  }
@@ -2907,19 +2931,19 @@ var ln = (
2907
2931
  type: Z.number,
2908
2932
  tokens: n,
2909
2933
  location: r,
2910
- parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2934
+ parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2911
2935
  },
2912
2936
  err: null
2913
2937
  };
2914
2938
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2915
2939
  for (var o, s = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2916
2940
  if (a.length === 0) {
2917
- var c = this.clonePosition();
2941
+ var f = this.clonePosition();
2918
2942
  if (r !== "select" && this.bumpIf("=")) {
2919
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2920
- if (f.err)
2921
- return f;
2922
- h = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2943
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2944
+ if (c.err)
2945
+ return c;
2946
+ h = _(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2923
2947
  } else
2924
2948
  break;
2925
2949
  }
@@ -2955,7 +2979,7 @@ var ln = (
2955
2979
  break;
2956
2980
  }
2957
2981
  var l = _(i, this.clonePosition());
2958
- return o ? (s *= n, sn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2982
+ return o ? (s *= n, an(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2959
2983
  }, e.prototype.offset = function() {
2960
2984
  return this.position.offset;
2961
2985
  }, e.prototype.isEOF = function() {
@@ -2970,7 +2994,7 @@ var ln = (
2970
2994
  var t = this.position.offset;
2971
2995
  if (t >= this.message.length)
2972
2996
  throw Error("out of bound");
2973
- var r = Lt(this.message, t);
2997
+ var r = Mt(this.message, t);
2974
2998
  if (r === void 0)
2975
2999
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2976
3000
  return r;
@@ -2989,7 +3013,7 @@ var ln = (
2989
3013
  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);
2990
3014
  }
2991
3015
  }, e.prototype.bumpIf = function(t) {
2992
- if (et(this.message, t, this.offset())) {
3016
+ if (rt(this.message, t, this.offset())) {
2993
3017
  for (var r = 0; r < t.length; r++)
2994
3018
  this.bump();
2995
3019
  return !0;
@@ -3011,7 +3035,7 @@ var ln = (
3011
3035
  break;
3012
3036
  }
3013
3037
  }, e.prototype.bumpSpace = function() {
3014
- for (; !this.isEOF() && Mt(this.char()); )
3038
+ for (; !this.isEOF() && Rt(this.char()); )
3015
3039
  this.bump();
3016
3040
  }, e.prototype.peek = function() {
3017
3041
  if (this.isEOF())
@@ -3027,26 +3051,27 @@ function Ue(e) {
3027
3051
  function fn(e) {
3028
3052
  return Ue(e) || e === 47;
3029
3053
  }
3030
- function cn(e) {
3054
+ function gn(e) {
3031
3055
  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;
3032
3056
  }
3033
- function Mt(e) {
3057
+ function Rt(e) {
3034
3058
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3035
3059
  }
3036
- function gn(e) {
3060
+ function mn(e) {
3037
3061
  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;
3038
3062
  }
3039
3063
  function Ge(e) {
3040
3064
  e.forEach(function(t) {
3041
- if (delete t.location, Ht(t) || At(t))
3065
+ if (delete t.location, Bt(t) || St(t))
3042
3066
  for (var r in t.options)
3043
3067
  delete t.options[r].location, Ge(t.options[r].value);
3044
- else vt(t) && Bt(t.style) || (Tt(t) || Ct(t)) && Ie(t.style) ? delete t.style.location : St(t) && Ge(t.children);
3068
+ else
3069
+ Ct(t) && wt(t.style) || (Ht(t) || At(t)) && Ie(t.style) ? delete t.style.location : Ot(t) && Ge(t.children);
3045
3070
  });
3046
3071
  }
3047
- function mn(e, t) {
3048
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3049
- var r = new ln(e, t).parse();
3072
+ function pn(e, t) {
3073
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3074
+ var r = new cn(e, t).parse();
3050
3075
  if (r.err) {
3051
3076
  var n = SyntaxError(y[r.err.kind]);
3052
3077
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3057,7 +3082,7 @@ var Q;
3057
3082
  (function(e) {
3058
3083
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3059
3084
  })(Q || (Q = {}));
3060
- var Ee = (
3085
+ var xe = (
3061
3086
  /** @class */
3062
3087
  function(e) {
3063
3088
  _e(t, e);
@@ -3069,7 +3094,7 @@ var Ee = (
3069
3094
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3070
3095
  }, t;
3071
3096
  }(Error)
3072
- ), nt = (
3097
+ ), ot = (
3073
3098
  /** @class */
3074
3099
  function(e) {
3075
3100
  _e(t, e);
@@ -3077,8 +3102,8 @@ var Ee = (
3077
3102
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3078
3103
  }
3079
3104
  return t;
3080
- }(Ee)
3081
- ), pn = (
3105
+ }(xe)
3106
+ ), dn = (
3082
3107
  /** @class */
3083
3108
  function(e) {
3084
3109
  _e(t, e);
@@ -3086,8 +3111,8 @@ var Ee = (
3086
3111
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3087
3112
  }
3088
3113
  return t;
3089
- }(Ee)
3090
- ), dn = (
3114
+ }(xe)
3115
+ ), bn = (
3091
3116
  /** @class */
3092
3117
  function(e) {
3093
3118
  _e(t, e);
@@ -3095,22 +3120,22 @@ var Ee = (
3095
3120
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3096
3121
  }
3097
3122
  return t;
3098
- }(Ee)
3123
+ }(xe)
3099
3124
  ), w;
3100
3125
  (function(e) {
3101
3126
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3102
3127
  })(w || (w = {}));
3103
- function bn(e) {
3128
+ function yn(e) {
3104
3129
  return e.length < 2 ? e : e.reduce(function(t, r) {
3105
3130
  var n = t[t.length - 1];
3106
3131
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3107
3132
  }, []);
3108
3133
  }
3109
- function yn(e) {
3134
+ function _n(e) {
3110
3135
  return typeof e == "function";
3111
3136
  }
3112
3137
  function ge(e, t, r, n, i, o, s) {
3113
- if (e.length === 1 && Je(e[0]))
3138
+ if (e.length === 1 && Ye(e[0]))
3114
3139
  return [
3115
3140
  {
3116
3141
  type: w.literal,
@@ -3119,105 +3144,105 @@ function ge(e, t, r, n, i, o, s) {
3119
3144
  ];
3120
3145
  for (var u = [], l = 0, a = e; l < a.length; l++) {
3121
3146
  var h = a[l];
3122
- if (Je(h)) {
3147
+ if (Ye(h)) {
3123
3148
  u.push({
3124
3149
  type: w.literal,
3125
3150
  value: h.value
3126
3151
  });
3127
3152
  continue;
3128
3153
  }
3129
- if (Gr(h)) {
3154
+ if (Dr(h)) {
3130
3155
  typeof o == "number" && u.push({
3131
3156
  type: w.literal,
3132
3157
  value: r.getNumberFormat(t).format(o)
3133
3158
  });
3134
3159
  continue;
3135
3160
  }
3136
- var c = h.value;
3137
- if (!(i && c in i))
3138
- throw new dn(c, s);
3139
- var f = i[c];
3140
- if (Ur(h)) {
3141
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3142
- type: typeof f == "string" ? w.literal : w.object,
3143
- value: f
3161
+ var f = h.value;
3162
+ if (!(i && f in i))
3163
+ throw new bn(f, s);
3164
+ var c = i[f];
3165
+ if (Gr(h)) {
3166
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3167
+ type: typeof c == "string" ? w.literal : w.object,
3168
+ value: c
3144
3169
  });
3145
3170
  continue;
3146
3171
  }
3147
- if (Tt(h)) {
3172
+ if (Ht(h)) {
3148
3173
  var p = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
3149
3174
  u.push({
3150
3175
  type: w.literal,
3151
- value: r.getDateTimeFormat(t, p).format(f)
3176
+ value: r.getDateTimeFormat(t, p).format(c)
3152
3177
  });
3153
3178
  continue;
3154
3179
  }
3155
- if (Ct(h)) {
3180
+ if (At(h)) {
3156
3181
  var p = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
3157
3182
  u.push({
3158
3183
  type: w.literal,
3159
- value: r.getDateTimeFormat(t, p).format(f)
3184
+ value: r.getDateTimeFormat(t, p).format(c)
3160
3185
  });
3161
3186
  continue;
3162
3187
  }
3163
- if (vt(h)) {
3164
- var p = typeof h.style == "string" ? n.number[h.style] : Bt(h.style) ? h.style.parsedOptions : void 0;
3165
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3188
+ if (Ct(h)) {
3189
+ var p = typeof h.style == "string" ? n.number[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
3190
+ p && p.scale && (c = c * (p.scale || 1)), u.push({
3166
3191
  type: w.literal,
3167
- value: r.getNumberFormat(t, p).format(f)
3192
+ value: r.getNumberFormat(t, p).format(c)
3168
3193
  });
3169
3194
  continue;
3170
3195
  }
3171
- if (St(h)) {
3172
- var d = h.children, g = h.value, x = i[g];
3173
- if (!yn(x))
3174
- throw new pn(g, "function", s);
3175
- var m = ge(d, t, r, n, i, o), C = x(m.map(function(B) {
3176
- return B.value;
3196
+ if (Ot(h)) {
3197
+ var d = h.children, g = h.value, E = i[g];
3198
+ if (!_n(E))
3199
+ throw new dn(g, "function", s);
3200
+ var m = ge(d, t, r, n, i, o), C = E(m.map(function(S) {
3201
+ return S.value;
3177
3202
  }));
3178
- Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3203
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
3179
3204
  return {
3180
- type: typeof B == "string" ? w.literal : w.object,
3181
- value: B
3205
+ type: typeof S == "string" ? w.literal : w.object,
3206
+ value: S
3182
3207
  };
3183
3208
  }));
3184
3209
  }
3185
- if (Ht(h)) {
3186
- var S = h.options[f] || h.options.other;
3187
- if (!S)
3188
- throw new nt(h.value, f, Object.keys(h.options), s);
3189
- u.push.apply(u, ge(S.value, t, r, n, i));
3210
+ if (Bt(h)) {
3211
+ var B = h.options[c] || h.options.other;
3212
+ if (!B)
3213
+ throw new ot(h.value, c, Object.keys(h.options), s);
3214
+ u.push.apply(u, ge(B.value, t, r, n, i));
3190
3215
  continue;
3191
3216
  }
3192
- if (At(h)) {
3193
- var S = h.options["=".concat(f)];
3194
- if (!S) {
3217
+ if (St(h)) {
3218
+ var B = h.options["=".concat(c)];
3219
+ if (!B) {
3195
3220
  if (!Intl.PluralRules)
3196
- throw new Ee(`Intl.PluralRules is not available in this environment.
3221
+ throw new xe(`Intl.PluralRules is not available in this environment.
3197
3222
  Try polyfilling it using "@formatjs/intl-pluralrules"
3198
3223
  `, Q.MISSING_INTL_API, s);
3199
- var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3200
- S = h.options[P] || h.options.other;
3224
+ var P = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3225
+ B = h.options[P] || h.options.other;
3201
3226
  }
3202
- if (!S)
3203
- throw new nt(h.value, f, Object.keys(h.options), s);
3204
- u.push.apply(u, ge(S.value, t, r, n, i, f - (h.offset || 0)));
3227
+ if (!B)
3228
+ throw new ot(h.value, c, Object.keys(h.options), s);
3229
+ u.push.apply(u, ge(B.value, t, r, n, i, c - (h.offset || 0)));
3205
3230
  continue;
3206
3231
  }
3207
3232
  }
3208
- return bn(u);
3233
+ return yn(u);
3209
3234
  }
3210
- function _n(e, t) {
3211
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3212
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3235
+ function xn(e, t) {
3236
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3237
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3213
3238
  }, {})) : e;
3214
3239
  }
3215
3240
  function En(e, t) {
3216
3241
  return t ? Object.keys(e).reduce(function(r, n) {
3217
- return r[n] = _n(e[n], t[n]), r;
3218
- }, E({}, e)) : e;
3242
+ return r[n] = xn(e[n], t[n]), r;
3243
+ }, x({}, e)) : e;
3219
3244
  }
3220
- function Be(e) {
3245
+ function Se(e) {
3221
3246
  return {
3222
3247
  create: function() {
3223
3248
  return {
@@ -3231,7 +3256,7 @@ function Be(e) {
3231
3256
  }
3232
3257
  };
3233
3258
  }
3234
- function xn(e) {
3259
+ function vn(e) {
3235
3260
  return e === void 0 && (e = {
3236
3261
  number: {},
3237
3262
  dateTime: {},
@@ -3242,7 +3267,7 @@ function xn(e) {
3242
3267
  r[n] = arguments[n];
3243
3268
  return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3244
3269
  }, {
3245
- cache: Be(e.number),
3270
+ cache: Se(e.number),
3246
3271
  strategy: Ae.variadic
3247
3272
  }),
3248
3273
  getDateTimeFormat: He(function() {
@@ -3250,7 +3275,7 @@ function xn(e) {
3250
3275
  r[n] = arguments[n];
3251
3276
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3252
3277
  }, {
3253
- cache: Be(e.dateTime),
3278
+ cache: Se(e.dateTime),
3254
3279
  strategy: Ae.variadic
3255
3280
  }),
3256
3281
  getPluralRules: He(function() {
@@ -3258,12 +3283,12 @@ function xn(e) {
3258
3283
  r[n] = arguments[n];
3259
3284
  return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3260
3285
  }, {
3261
- cache: Be(e.pluralRules),
3286
+ cache: Se(e.pluralRules),
3262
3287
  strategy: Ae.variadic
3263
3288
  })
3264
3289
  };
3265
3290
  }
3266
- var vn = (
3291
+ var Tn = (
3267
3292
  /** @class */
3268
3293
  function() {
3269
3294
  function e(t, r, n, i) {
@@ -3277,8 +3302,8 @@ var vn = (
3277
3302
  var a = o.formatToParts(l);
3278
3303
  if (a.length === 1)
3279
3304
  return a[0].value;
3280
- var h = a.reduce(function(c, f) {
3281
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3305
+ var h = a.reduce(function(f, c) {
3306
+ return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3282
3307
  }, []);
3283
3308
  return h.length <= 1 ? h[0] || "" : h;
3284
3309
  }, this.formatToParts = function(l) {
@@ -3295,13 +3320,13 @@ var vn = (
3295
3320
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3296
3321
  var s = i || {};
3297
3322
  s.formatters;
3298
- var u = wr(s, ["formatters"]);
3299
- this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3323
+ var u = Nr(s, ["formatters"]);
3324
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3300
3325
  } else
3301
3326
  this.ast = t;
3302
3327
  if (!Array.isArray(this.ast))
3303
3328
  throw new TypeError("A message must be provided as a String or AST.");
3304
- this.formats = En(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3329
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3305
3330
  }
3306
3331
  return Object.defineProperty(e, "defaultLocale", {
3307
3332
  get: function() {
@@ -3314,7 +3339,7 @@ var vn = (
3314
3339
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3315
3340
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3316
3341
  }
3317
- }, e.__parse = mn, e.formats = {
3342
+ }, e.__parse = pn, e.formats = {
3318
3343
  number: {
3319
3344
  integer: {
3320
3345
  maximumFractionDigits: 0
@@ -3375,7 +3400,7 @@ var vn = (
3375
3400
  }, e;
3376
3401
  }()
3377
3402
  );
3378
- function Tn(e, t) {
3403
+ function Cn(e, t) {
3379
3404
  if (t == null)
3380
3405
  return;
3381
3406
  if (t in e)
@@ -3396,92 +3421,92 @@ function Tn(e, t) {
3396
3421
  n = void 0;
3397
3422
  return n;
3398
3423
  }
3399
- const U = {}, Cn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), $t = (e, t) => {
3424
+ const U = {}, Hn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), Ut = (e, t) => {
3400
3425
  if (t == null)
3401
3426
  return;
3402
3427
  if (t in U && e in U[t])
3403
3428
  return U[t][e];
3404
- const r = xe(t);
3429
+ const r = Ee(t);
3405
3430
  for (let n = 0; n < r.length; n++) {
3406
- const i = r[n], o = An(i, e);
3431
+ const i = r[n], o = Bn(i, e);
3407
3432
  if (o)
3408
- return Cn(e, t, o);
3433
+ return Hn(e, t, o);
3409
3434
  }
3410
3435
  };
3411
- let ke;
3436
+ let Xe;
3412
3437
  const ae = ye({});
3413
- function Hn(e) {
3414
- return ke[e] || null;
3438
+ function An(e) {
3439
+ return Xe[e] || null;
3415
3440
  }
3416
- function Rt(e) {
3417
- return e in ke;
3441
+ function Gt(e) {
3442
+ return e in Xe;
3418
3443
  }
3419
- function An(e, t) {
3420
- if (!Rt(e))
3444
+ function Bn(e, t) {
3445
+ if (!Gt(e))
3421
3446
  return null;
3422
- const r = Hn(e);
3423
- return Tn(r, t);
3447
+ const r = An(e);
3448
+ return Cn(r, t);
3424
3449
  }
3425
3450
  function Sn(e) {
3426
3451
  if (e == null)
3427
3452
  return;
3428
- const t = xe(e);
3453
+ const t = Ee(e);
3429
3454
  for (let r = 0; r < t.length; r++) {
3430
3455
  const n = t[r];
3431
- if (Rt(n))
3456
+ if (Gt(n))
3432
3457
  return n;
3433
3458
  }
3434
3459
  }
3435
- function Ut(e, ...t) {
3436
- delete U[e], ae.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3460
+ function Dt(e, ...t) {
3461
+ delete U[e], ae.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3437
3462
  }
3438
3463
  Y(
3439
3464
  [ae],
3440
3465
  ([e]) => Object.keys(e)
3441
3466
  );
3442
- ae.subscribe((e) => ke = e);
3467
+ ae.subscribe((e) => Xe = e);
3443
3468
  const me = {};
3444
- function Bn(e, t) {
3469
+ function On(e, t) {
3445
3470
  me[e].delete(t), me[e].size === 0 && delete me[e];
3446
3471
  }
3447
- function Gt(e) {
3472
+ function Ft(e) {
3448
3473
  return me[e];
3449
3474
  }
3450
- function On(e) {
3451
- return xe(e).map((t) => {
3452
- const r = Gt(t);
3475
+ function wn(e) {
3476
+ return Ee(e).map((t) => {
3477
+ const r = Ft(t);
3453
3478
  return [t, r ? [...r] : []];
3454
3479
  }).filter(([, t]) => t.length > 0);
3455
3480
  }
3456
3481
  function De(e) {
3457
- return e == null ? !1 : xe(e).some(
3482
+ return e == null ? !1 : Ee(e).some(
3458
3483
  (t) => {
3459
3484
  var r;
3460
- return (r = Gt(t)) == null ? void 0 : r.size;
3485
+ return (r = Ft(t)) == null ? void 0 : r.size;
3461
3486
  }
3462
3487
  );
3463
3488
  }
3464
- function wn(e, t) {
3489
+ function Pn(e, t) {
3465
3490
  return Promise.all(
3466
- t.map((n) => (Bn(e, n), n().then((i) => i.default || i)))
3467
- ).then((n) => Ut(e, ...n));
3491
+ t.map((n) => (On(e, n), n().then((i) => i.default || i)))
3492
+ ).then((n) => Dt(e, ...n));
3468
3493
  }
3469
3494
  const te = {};
3470
- function Dt(e) {
3495
+ function jt(e) {
3471
3496
  if (!De(e))
3472
3497
  return e in te ? te[e] : Promise.resolve();
3473
- const t = On(e);
3498
+ const t = wn(e);
3474
3499
  return te[e] = Promise.all(
3475
3500
  t.map(
3476
- ([r, n]) => wn(r, n)
3501
+ ([r, n]) => Pn(r, n)
3477
3502
  )
3478
3503
  ).then(() => {
3479
3504
  if (De(e))
3480
- return Dt(e);
3505
+ return jt(e);
3481
3506
  delete te[e];
3482
3507
  }), te[e];
3483
3508
  }
3484
- const Pn = {
3509
+ const Nn = {
3485
3510
  number: {
3486
3511
  scientific: { notation: "scientific" },
3487
3512
  engineering: { notation: "engineering" },
@@ -3510,34 +3535,34 @@ const Pn = {
3510
3535
  timeZoneName: "short"
3511
3536
  }
3512
3537
  }
3513
- }, Nn = {
3538
+ }, Ln = {
3514
3539
  fallbackLocale: null,
3515
3540
  loadingDelay: 200,
3516
- formats: Pn,
3541
+ formats: Nn,
3517
3542
  warnOnMissingMessages: !0,
3518
3543
  handleMissingMessage: void 0,
3519
3544
  ignoreTag: !0
3520
- }, Ln = Nn;
3545
+ }, In = Ln;
3521
3546
  function J() {
3522
- return Ln;
3547
+ return In;
3523
3548
  }
3524
3549
  const Oe = ye(!1);
3525
- var In = Object.defineProperty, Mn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
3550
+ var Mn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3526
3551
  for (var r in t || (t = {}))
3527
- Rn.call(t, r) && ot(e, r, t[r]);
3528
- if (it)
3529
- for (var r of it(t))
3530
- Un.call(t, r) && ot(e, r, t[r]);
3552
+ Un.call(t, r) && at(e, r, t[r]);
3553
+ if (st)
3554
+ for (var r of st(t))
3555
+ Gn.call(t, r) && at(e, r, t[r]);
3531
3556
  return e;
3532
- }, Dn = (e, t) => Mn(e, $n(t));
3557
+ }, Fn = (e, t) => $n(e, Rn(t));
3533
3558
  let Fe;
3534
3559
  const de = ye(null);
3535
- function st(e) {
3560
+ function ut(e) {
3536
3561
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3537
3562
  }
3538
- function xe(e, t = J().fallbackLocale) {
3539
- const r = st(e);
3540
- return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3563
+ function Ee(e, t = J().fallbackLocale) {
3564
+ const r = ut(e);
3565
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
3541
3566
  }
3542
3567
  function j() {
3543
3568
  return Fe ?? void 0;
@@ -3545,22 +3570,22 @@ function j() {
3545
3570
  de.subscribe((e) => {
3546
3571
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3547
3572
  });
3548
- const Fn = (e) => {
3573
+ const jn = (e) => {
3549
3574
  if (e && Sn(e) && De(e)) {
3550
3575
  const { loadingDelay: t } = J();
3551
3576
  let r;
3552
3577
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
3553
3578
  () => Oe.set(!0),
3554
3579
  t
3555
- ) : Oe.set(!0), Dt(e).then(() => {
3580
+ ) : Oe.set(!0), jt(e).then(() => {
3556
3581
  de.set(e);
3557
3582
  }).finally(() => {
3558
3583
  clearTimeout(r), Oe.set(!1);
3559
3584
  });
3560
3585
  }
3561
3586
  return de.set(e);
3562
- }, K = Dn(Gn({}, de), {
3563
- set: Fn
3587
+ }, K = Fn(Dn({}, de), {
3588
+ set: jn
3564
3589
  }), ve = (e) => {
3565
3590
  const t = /* @__PURE__ */ Object.create(null);
3566
3591
  return (n) => {
@@ -3568,20 +3593,20 @@ const Fn = (e) => {
3568
3593
  return i in t ? t[i] : t[i] = e(n);
3569
3594
  };
3570
3595
  };
3571
- var jn = Object.defineProperty, be = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
3596
+ var kn = Object.defineProperty, be = Object.getOwnPropertySymbols, kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3572
3597
  for (var r in t || (t = {}))
3573
- Ft.call(t, r) && at(e, r, t[r]);
3598
+ kt.call(t, r) && ht(e, r, t[r]);
3574
3599
  if (be)
3575
3600
  for (var r of be(t))
3576
- jt.call(t, r) && at(e, r, t[r]);
3601
+ Vt.call(t, r) && ht(e, r, t[r]);
3577
3602
  return e;
3578
3603
  }, ee = (e, t) => {
3579
3604
  var r = {};
3580
3605
  for (var n in e)
3581
- Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3606
+ kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3582
3607
  if (e != null && be)
3583
3608
  for (var n of be(e))
3584
- t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3609
+ t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
3585
3610
  return r;
3586
3611
  };
3587
3612
  const oe = (e, t) => {
@@ -3589,21 +3614,21 @@ const oe = (e, t) => {
3589
3614
  if (e in r && t in r[e])
3590
3615
  return r[e][t];
3591
3616
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3592
- }, kn = ve(
3617
+ }, Vn = ve(
3593
3618
  (e) => {
3594
3619
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3595
3620
  if (r == null)
3596
3621
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3597
3622
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3598
3623
  }
3599
- ), Vn = ve(
3624
+ ), Xn = ve(
3600
3625
  (e) => {
3601
3626
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3602
3627
  if (r == null)
3603
3628
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3604
3629
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3605
3630
  }
3606
- ), Xn = ve(
3631
+ ), zn = ve(
3607
3632
  (e) => {
3608
3633
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3609
3634
  if (r == null)
@@ -3612,33 +3637,33 @@ const oe = (e, t) => {
3612
3637
  );
3613
3638
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3614
3639
  }
3615
- ), zn = (e = {}) => {
3640
+ ), Wn = (e = {}) => {
3616
3641
  var t = e, {
3617
3642
  locale: r = j()
3618
3643
  } = t, n = ee(t, [
3619
3644
  "locale"
3620
3645
  ]);
3621
- return kn(Ve({ locale: r }, n));
3622
- }, Wn = (e = {}) => {
3646
+ return Vn(ze({ locale: r }, n));
3647
+ }, Zn = (e = {}) => {
3623
3648
  var t = e, {
3624
3649
  locale: r = j()
3625
3650
  } = t, n = ee(t, [
3626
3651
  "locale"
3627
3652
  ]);
3628
- return Vn(Ve({ locale: r }, n));
3629
- }, Zn = (e = {}) => {
3653
+ return Xn(ze({ locale: r }, n));
3654
+ }, Qn = (e = {}) => {
3630
3655
  var t = e, {
3631
3656
  locale: r = j()
3632
3657
  } = t, n = ee(t, [
3633
3658
  "locale"
3634
3659
  ]);
3635
- return Xn(Ve({ locale: r }, n));
3636
- }, Qn = ve(
3660
+ return zn(ze({ locale: r }, n));
3661
+ }, Jn = ve(
3637
3662
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3638
- (e, t = j()) => new vn(e, t, J().formats, {
3663
+ (e, t = j()) => new Tn(e, t, J().formats, {
3639
3664
  ignoreTag: J().ignoreTag
3640
3665
  })
3641
- ), Jn = (e, t = {}) => {
3666
+ ), qn = (e, t = {}) => {
3642
3667
  var r, n, i, o;
3643
3668
  let s = t;
3644
3669
  typeof e == "object" && (s = e, e = s.id);
@@ -3651,7 +3676,7 @@ const oe = (e, t) => {
3651
3676
  throw new Error(
3652
3677
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3653
3678
  );
3654
- let h = $t(e, l);
3679
+ let h = Ut(e, l);
3655
3680
  if (!h)
3656
3681
  h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3657
3682
  else if (typeof h != "string")
@@ -3660,28 +3685,28 @@ const oe = (e, t) => {
3660
3685
  ), h;
3661
3686
  if (!u)
3662
3687
  return h;
3663
- let c = h;
3688
+ let f = h;
3664
3689
  try {
3665
- c = Qn(h, l).format(u);
3666
- } catch (f) {
3667
- f instanceof Error && console.warn(
3690
+ f = Jn(h, l).format(u);
3691
+ } catch (c) {
3692
+ c instanceof Error && console.warn(
3668
3693
  `[svelte-i18n] Message "${e}" has syntax error:`,
3669
- f.message
3694
+ c.message
3670
3695
  );
3671
3696
  }
3672
- return c;
3673
- }, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = j()) => $t(e, t), ti = Y([K, ae], () => Jn);
3674
- Y([K], () => qn);
3697
+ return f;
3698
+ }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = j()) => Ut(e, t), ri = Y([K, ae], () => qn);
3675
3699
  Y([K], () => Yn);
3676
3700
  Y([K], () => Kn);
3677
- Y([K, ae], () => ei);
3678
- function ut(e, t) {
3679
- Ut(e, t);
3701
+ Y([K], () => ei);
3702
+ Y([K, ae], () => ti);
3703
+ function lt(e, t) {
3704
+ Dt(e, t);
3680
3705
  }
3681
- function ri(e) {
3706
+ function ni(e) {
3682
3707
  K.set(e);
3683
3708
  }
3684
- const ht = {
3709
+ const ct = {
3685
3710
  en: {
3686
3711
  topCategories: "Top Categories",
3687
3712
  otherCategories: "Other Categories",
@@ -3791,13 +3816,13 @@ const ht = {
3791
3816
  games: "games"
3792
3817
  }
3793
3818
  };
3794
- function ni(e, t) {
3819
+ function ii(e, t) {
3795
3820
  if (e) {
3796
3821
  const r = document.createElement("style");
3797
3822
  r.innerHTML = t, e.appendChild(r);
3798
3823
  }
3799
3824
  }
3800
- function ii(e, t) {
3825
+ function oi(e, t) {
3801
3826
  const r = new URL(t);
3802
3827
  fetch(r.href).then((n) => n.text()).then((n) => {
3803
3828
  const i = document.createElement("style");
@@ -3806,7 +3831,7 @@ function ii(e, t) {
3806
3831
  console.error("There was an error while trying to load client styling from URL", n);
3807
3832
  });
3808
3833
  }
3809
- function oi(e, t, r) {
3834
+ function si(e, t, r) {
3810
3835
  if (window.emMessageBus) {
3811
3836
  const n = document.createElement("style");
3812
3837
  window.emMessageBus.subscribe(t, (i) => {
@@ -3814,75 +3839,75 @@ function oi(e, t, r) {
3814
3839
  });
3815
3840
  }
3816
3841
  }
3817
- function si(e) {
3818
- Wt(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}");
3842
+ function ai(e) {
3843
+ Qt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3819
3844
  }
3820
- function lt(e, t, r) {
3845
+ function ft(e, t, r) {
3821
3846
  const n = e.slice();
3822
3847
  return n[23] = t[r], n;
3823
3848
  }
3824
- function ft(e, t, r) {
3849
+ function gt(e, t, r) {
3825
3850
  const n = e.slice();
3826
3851
  return n[23] = t[r], n;
3827
3852
  }
3828
- function ai(e) {
3853
+ function ui(e) {
3829
3854
  let t, r, n = (
3830
3855
  /*$_*/
3831
3856
  e[5]("topCategories") + ""
3832
3857
  ), i, o, s, u, l = (
3833
3858
  /*$_*/
3834
3859
  e[5]("otherCategories") + ""
3835
- ), a, h, c = le(
3860
+ ), a, h, f = le(
3836
3861
  /*topCategories*/
3837
3862
  e[3]
3838
- ), f = [];
3839
- for (let g = 0; g < c.length; g += 1)
3840
- f[g] = ct(ft(e, c, g));
3863
+ ), c = [];
3864
+ for (let g = 0; g < f.length; g += 1)
3865
+ c[g] = mt(gt(e, f, g));
3841
3866
  let p = le(
3842
3867
  /*otherCategories*/
3843
3868
  e[4]
3844
3869
  ), d = [];
3845
3870
  for (let g = 0; g < p.length; g += 1)
3846
- d[g] = gt(lt(e, p, g));
3871
+ d[g] = pt(ft(e, p, g));
3847
3872
  return {
3848
3873
  c() {
3849
3874
  t = O("div"), r = O("h4"), i = R(n), o = $();
3850
- for (let g = 0; g < f.length; g += 1)
3851
- f[g].c();
3875
+ for (let g = 0; g < c.length; g += 1)
3876
+ c[g].c();
3852
3877
  s = $(), u = O("h4"), a = R(l), h = $();
3853
3878
  for (let g = 0; g < d.length; g += 1)
3854
3879
  d[g].c();
3855
3880
  A(r, "class", "CategoryTitle"), A(u, "class", "CategoryTitle"), A(t, "class", "CasinoCategories");
3856
3881
  },
3857
- m(g, x) {
3858
- q(g, t, x), v(t, r), v(r, i), v(t, o);
3859
- for (let m = 0; m < f.length; m += 1)
3860
- f[m] && f[m].m(t, null);
3882
+ m(g, E) {
3883
+ q(g, t, E), v(t, r), v(r, i), v(t, o);
3884
+ for (let m = 0; m < c.length; m += 1)
3885
+ c[m] && c[m].m(t, null);
3861
3886
  v(t, s), v(t, u), v(u, a), v(t, h);
3862
3887
  for (let m = 0; m < d.length; m += 1)
3863
3888
  d[m] && d[m].m(t, null);
3864
3889
  },
3865
- p(g, x) {
3866
- if (x & /*$_*/
3890
+ p(g, E) {
3891
+ if (E & /*$_*/
3867
3892
  32 && n !== (n = /*$_*/
3868
- g[5]("topCategories") + "") && G(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
3893
+ g[5]("topCategories") + "") && G(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3869
3894
  105) {
3870
- c = le(
3895
+ f = le(
3871
3896
  /*topCategories*/
3872
3897
  g[3]
3873
3898
  );
3874
3899
  let m;
3875
- for (m = 0; m < c.length; m += 1) {
3876
- const C = ft(g, c, m);
3877
- f[m] ? f[m].p(C, x) : (f[m] = ct(C), f[m].c(), f[m].m(t, s));
3900
+ for (m = 0; m < f.length; m += 1) {
3901
+ const C = gt(g, f, m);
3902
+ c[m] ? c[m].p(C, E) : (c[m] = mt(C), c[m].c(), c[m].m(t, s));
3878
3903
  }
3879
- for (; m < f.length; m += 1)
3880
- f[m].d(1);
3881
- f.length = c.length;
3904
+ for (; m < c.length; m += 1)
3905
+ c[m].d(1);
3906
+ c.length = f.length;
3882
3907
  }
3883
- if (x & /*$_*/
3908
+ if (E & /*$_*/
3884
3909
  32 && l !== (l = /*$_*/
3885
- g[5]("otherCategories") + "") && G(a, l), x & /*activecategory, otherCategories, openGameCategory, $_*/
3910
+ g[5]("otherCategories") + "") && G(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3886
3911
  113) {
3887
3912
  p = le(
3888
3913
  /*otherCategories*/
@@ -3890,8 +3915,8 @@ function ai(e) {
3890
3915
  );
3891
3916
  let m;
3892
3917
  for (m = 0; m < p.length; m += 1) {
3893
- const C = lt(g, p, m);
3894
- d[m] ? d[m].p(C, x) : (d[m] = gt(C), d[m].c(), d[m].m(t, null));
3918
+ const C = ft(g, p, m);
3919
+ d[m] ? d[m].p(C, E) : (d[m] = pt(C), d[m].c(), d[m].m(t, null));
3895
3920
  }
3896
3921
  for (; m < d.length; m += 1)
3897
3922
  d[m].d(1);
@@ -3899,11 +3924,11 @@ function ai(e) {
3899
3924
  }
3900
3925
  },
3901
3926
  d(g) {
3902
- g && F(t), We(f, g), We(d, g);
3927
+ g && F(t), Qe(c, g), Qe(d, g);
3903
3928
  }
3904
3929
  };
3905
3930
  }
3906
- function ui(e) {
3931
+ function hi(e) {
3907
3932
  let t;
3908
3933
  return {
3909
3934
  c() {
@@ -3918,17 +3943,17 @@ function ui(e) {
3918
3943
  }
3919
3944
  };
3920
3945
  }
3921
- function ct(e) {
3946
+ function mt(e) {
3922
3947
  let t, r, n, i, o, s, u, l = (
3923
3948
  /*category*/
3924
3949
  e[23].name + ""
3925
- ), a, h, c, f = (
3950
+ ), a, h, f, c = (
3926
3951
  /*category*/
3927
3952
  e[23].games.count + ""
3928
3953
  ), p, d, g = (
3929
3954
  /*$_*/
3930
3955
  e[5]("games") + ""
3931
- ), x, m, C, S;
3956
+ ), E, m, C, B;
3932
3957
  function P() {
3933
3958
  return (
3934
3959
  /*click_handler*/
@@ -3940,48 +3965,48 @@ function ct(e) {
3940
3965
  }
3941
3966
  return {
3942
3967
  c() {
3943
- t = O("div"), r = O("img"), o = $(), s = O("div"), u = O("p"), a = R(l), h = $(), c = O("p"), p = R(f), d = $(), x = R(g), pe(r.src, n = /*category*/
3968
+ t = O("div"), r = O("img"), o = $(), s = O("div"), u = O("p"), a = R(l), h = $(), f = O("p"), p = R(c), d = $(), E = R(g), pe(r.src, n = /*category*/
3944
3969
  e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
3945
3970
  e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
3946
3971
  (e[0] === /*category*/
3947
3972
  e[23].id ? "Active" : ""));
3948
3973
  },
3949
- m(B, H) {
3950
- q(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, p), v(c, d), v(c, x), C || (S = bt(t, "click", P), C = !0);
3974
+ m(S, H) {
3975
+ q(S, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, f), v(f, p), v(f, d), v(f, E), C || (B = _t(t, "click", P), C = !0);
3951
3976
  },
3952
- p(B, H) {
3953
- e = B, H & /*topCategories*/
3977
+ p(S, H) {
3978
+ e = S, H & /*topCategories*/
3954
3979
  8 && !pe(r.src, n = /*category*/
3955
3980
  e[23].icon) && A(r, "src", n), H & /*topCategories*/
3956
3981
  8 && i !== (i = /*category*/
3957
3982
  e[23].name) && A(r, "alt", i), H & /*topCategories*/
3958
3983
  8 && l !== (l = /*category*/
3959
3984
  e[23].name + "") && G(a, l), H & /*topCategories*/
3960
- 8 && f !== (f = /*category*/
3961
- e[23].games.count + "") && G(p, f), H & /*$_*/
3985
+ 8 && c !== (c = /*category*/
3986
+ e[23].games.count + "") && G(p, c), H & /*$_*/
3962
3987
  32 && g !== (g = /*$_*/
3963
- e[5]("games") + "") && G(x, g), H & /*activecategory, topCategories*/
3988
+ e[5]("games") + "") && G(E, g), H & /*activecategory, topCategories*/
3964
3989
  9 && m !== (m = "Category " + /*activecategory*/
3965
3990
  (e[0] === /*category*/
3966
3991
  e[23].id ? "Active" : "")) && A(t, "class", m);
3967
3992
  },
3968
- d(B) {
3969
- B && F(t), C = !1, S();
3993
+ d(S) {
3994
+ S && F(t), C = !1, B();
3970
3995
  }
3971
3996
  };
3972
3997
  }
3973
- function gt(e) {
3998
+ function pt(e) {
3974
3999
  let t, r, n, i, o, s, u, l = (
3975
4000
  /*category*/
3976
4001
  e[23].name + ""
3977
- ), a, h, c, f = (
4002
+ ), a, h, f, c = (
3978
4003
  /*category*/
3979
4004
  e[23].games.count + ""
3980
4005
  ), p, d, g = (
3981
4006
  /*$_*/
3982
4007
  e[5]("games") + ""
3983
- ), x, m, C, S, P;
3984
- function B() {
4008
+ ), E, m, C, B, P;
4009
+ function S() {
3985
4010
  return (
3986
4011
  /*click_handler_1*/
3987
4012
  e[16](
@@ -3992,14 +4017,14 @@ function gt(e) {
3992
4017
  }
3993
4018
  return {
3994
4019
  c() {
3995
- t = O("div"), r = O("img"), o = $(), s = O("div"), u = O("p"), a = R(l), h = $(), c = O("p"), p = R(f), d = $(), x = R(g), m = $(), pe(r.src, n = /*category*/
4020
+ t = O("div"), r = O("img"), o = $(), s = O("div"), u = O("p"), a = R(l), h = $(), f = O("p"), p = R(c), d = $(), E = R(g), m = $(), pe(r.src, n = /*category*/
3996
4021
  e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
3997
4022
  e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", C = "Category " + /*activecategory*/
3998
4023
  (e[0] === /*category*/
3999
4024
  e[23].id ? "Active" : ""));
4000
4025
  },
4001
4026
  m(H, N) {
4002
- q(H, t, N), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, p), v(c, d), v(c, x), v(t, m), S || (P = bt(t, "click", B), S = !0);
4027
+ q(H, t, N), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, f), v(f, p), v(f, d), v(f, E), v(t, m), B || (P = _t(t, "click", S), B = !0);
4003
4028
  },
4004
4029
  p(H, N) {
4005
4030
  e = H, N & /*otherCategories*/
@@ -4009,25 +4034,25 @@ function gt(e) {
4009
4034
  e[23].name) && A(r, "alt", i), N & /*otherCategories*/
4010
4035
  16 && l !== (l = /*category*/
4011
4036
  e[23].name + "") && G(a, l), N & /*otherCategories*/
4012
- 16 && f !== (f = /*category*/
4013
- e[23].games.count + "") && G(p, f), N & /*$_*/
4037
+ 16 && c !== (c = /*category*/
4038
+ e[23].games.count + "") && G(p, c), N & /*$_*/
4014
4039
  32 && g !== (g = /*$_*/
4015
- e[5]("games") + "") && G(x, g), N & /*activecategory, otherCategories*/
4040
+ e[5]("games") + "") && G(E, g), N & /*activecategory, otherCategories*/
4016
4041
  17 && C !== (C = "Category " + /*activecategory*/
4017
4042
  (e[0] === /*category*/
4018
4043
  e[23].id ? "Active" : "")) && A(t, "class", C);
4019
4044
  },
4020
4045
  d(H) {
4021
- H && F(t), S = !1, P();
4046
+ H && F(t), B = !1, P();
4022
4047
  }
4023
4048
  };
4024
4049
  }
4025
- function hi(e) {
4050
+ function li(e) {
4026
4051
  let t;
4027
4052
  function r(o, s) {
4028
4053
  return (
4029
4054
  /*isLoading*/
4030
- o[2] ? ui : ai
4055
+ o[2] ? hi : ui
4031
4056
  );
4032
4057
  }
4033
4058
  let n = r(e), i = n(e);
@@ -4048,61 +4073,61 @@ function hi(e) {
4048
4073
  }
4049
4074
  };
4050
4075
  }
4051
- function li(e, t, r) {
4076
+ function ci(e, t, r) {
4052
4077
  let n;
4053
- zt(e, ti, (b) => r(5, n = b));
4054
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4078
+ Zt(e, ri, (b) => r(5, n = b));
4079
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
4055
4080
  const g = [];
4056
- let x = [], m = [];
4057
- Object.keys(ht).forEach((b) => {
4058
- ut(b, ht[b]);
4081
+ let E = [], m = [];
4082
+ Object.keys(ct).forEach((b) => {
4083
+ lt(b, ct[b]);
4059
4084
  });
4060
4085
  const C = () => {
4061
- fetch(c).then((M) => M.json()).then((M) => {
4086
+ fetch(f).then((M) => M.json()).then((M) => {
4062
4087
  Object.keys(M).forEach((ue) => {
4063
- ut(ue, M[ue]);
4088
+ lt(ue, M[ue]);
4064
4089
  });
4065
4090
  }).catch((M) => {
4066
4091
  console.log(M);
4067
4092
  });
4068
- }, S = () => {
4093
+ }, B = () => {
4069
4094
  r(2, d = !0);
4070
4095
  const b = new URL(`${i}/v1/casino/groups/${o}`);
4071
4096
  b.searchParams.append("language", s), fetch(b).then((M) => M.json()).then((M) => {
4072
4097
  r(2, d = !1);
4073
4098
  const ue = l.split(",").map((D) => D.trim());
4074
4099
  g.push(...M.items);
4075
- const Xe = g.filter((D) => !ue.some((Vt) => D.flags?.indexOf(Vt) >= 0));
4076
- r(3, x = Xe.filter((D) => D.isTopCategory === !0)), r(4, m = Xe.filter((D) => D.isTopCategory === !1));
4100
+ const We = g.filter((D) => !ue.some((zt) => D.flags?.indexOf(zt) >= 0));
4101
+ r(3, E = We.filter((D) => D.isTopCategory === !0)), r(4, m = We.filter((D) => D.isTopCategory === !1));
4077
4102
  });
4078
4103
  }, P = (b) => {
4079
4104
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4080
- }, B = () => {
4081
- ri(s);
4105
+ }, S = () => {
4106
+ ni(s);
4082
4107
  };
4083
- Kt(() => () => {
4108
+ tr(() => () => {
4084
4109
  });
4085
4110
  const H = (b) => P(b.id), N = (b) => P(b.id);
4086
- function kt(b) {
4111
+ function Xt(b) {
4087
4112
  we[b ? "unshift" : "push"](() => {
4088
4113
  p = b, r(1, p);
4089
4114
  });
4090
4115
  }
4091
4116
  return e.$$set = (b) => {
4092
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4117
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
4093
4118
  }, e.$$.update = () => {
4094
4119
  e.$$.dirty & /*endpoint, datasource*/
4095
- 384 && i && o && S(), e.$$.dirty & /*translationurl*/
4096
- 8192 && c && C(), e.$$.dirty & /*lang*/
4097
- 512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4098
- 2050 && a && p && ni(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4099
- 4098 && h && p && ii(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4100
- 16386 && f && p && oi(p, `${f}.Style`);
4120
+ 384 && i && o && B(), e.$$.dirty & /*translationurl*/
4121
+ 8192 && f && C(), e.$$.dirty & /*lang*/
4122
+ 512 && s && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4123
+ 2050 && a && p && ii(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4124
+ 4098 && h && p && oi(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4125
+ 16386 && c && p && si(p, `${c}.Style`);
4101
4126
  }, [
4102
4127
  u,
4103
4128
  p,
4104
4129
  d,
4105
- x,
4130
+ E,
4106
4131
  m,
4107
4132
  n,
4108
4133
  P,
@@ -4112,21 +4137,21 @@ function li(e, t, r) {
4112
4137
  l,
4113
4138
  a,
4114
4139
  h,
4115
- c,
4116
4140
  f,
4141
+ c,
4117
4142
  H,
4118
4143
  N,
4119
- kt
4144
+ Xt
4120
4145
  ];
4121
4146
  }
4122
- class fi extends fr {
4147
+ class fi extends gr {
4123
4148
  constructor(t) {
4124
- super(), hr(
4149
+ super(), cr(
4125
4150
  this,
4126
4151
  t,
4152
+ ci,
4127
4153
  li,
4128
- hi,
4129
- pt,
4154
+ bt,
4130
4155
  {
4131
4156
  endpoint: 7,
4132
4157
  datasource: 8,
@@ -4138,7 +4163,7 @@ class fi extends fr {
4138
4163
  translationurl: 13,
4139
4164
  mbsource: 14
4140
4165
  },
4141
- si
4166
+ ai
4142
4167
  );
4143
4168
  }
4144
4169
  get endpoint() {
@@ -4196,7 +4221,7 @@ class fi extends fr {
4196
4221
  this.$$set({ mbsource: t }), I();
4197
4222
  }
4198
4223
  }
4199
- lr(fi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4224
+ fr(fi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4200
4225
  export {
4201
4226
  fi as C
4202
4227
  };