@everymatrix/casino-sort 1.60.0 → 1.60.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,17 +1,17 @@
1
- var tr = Object.defineProperty, rr = Object.defineProperties;
2
- var nr = Object.getOwnPropertyDescriptors;
3
- var tt = Object.getOwnPropertySymbols;
4
- var ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
1
+ var Kt = Object.defineProperty, er = Object.defineProperties;
2
+ var tr = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ir.call(t, r) && Te(e, r, t[r]);
8
- if (tt)
9
- for (var r of tt(t))
10
- or.call(t, r) && Te(e, r, t[r]);
7
+ rr.call(t, r) && Te(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ nr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => rr(e, nr(t));
12
+ }, tt = (e, t) => er(e, tr(t));
13
13
  var R = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var it = (e, t, r) => new Promise((n, i) => {
14
+ var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,25 +29,25 @@ var it = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function D() {
31
31
  }
32
- function At(e) {
32
+ function wt(e) {
33
33
  return e();
34
34
  }
35
- function ot() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ce(e) {
39
- e.forEach(At);
39
+ e.forEach(wt);
40
40
  }
41
41
  function We(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Tt(e, t) {
44
+ function Ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function sr(e) {
47
+ function ir(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Bt(e, ...t) {
50
+ function At(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Bt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function ar(e, t, r) {
60
- e.$$.on_destroy.push(Bt(t, r));
59
+ function or(e, t, r) {
60
+ e.$$.on_destroy.push(At(t, r));
61
61
  }
62
62
  function v(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function lr(e, t, r) {
66
- const n = ur(e);
65
+ function sr(e, t, r) {
66
+ const n = ar(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = A("style");
69
- i.id = t, i.textContent = r, hr(n, i);
69
+ i.id = t, i.textContent = r, lr(n, i);
70
70
  }
71
71
  }
72
- function ur(e) {
72
+ function ar(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function ur(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function hr(e, t) {
82
+ function lr(e, t) {
83
83
  return v(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -92,7 +92,7 @@ function ve(e, t, r) {
92
92
  function fe(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function cr(e, t) {
95
+ function hr(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
@@ -108,20 +108,20 @@ function Me(e) {
108
108
  function V() {
109
109
  return Me(" ");
110
110
  }
111
- function Nt(e, t, r, n) {
111
+ function Tt(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function m(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function fr(e) {
117
+ function ur(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function st(e, t) {
120
+ function it(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function mr(e) {
124
+ function cr(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -134,84 +134,84 @@ let le;
134
134
  function ae(e) {
135
135
  le = e;
136
136
  }
137
- function pr() {
137
+ function fr() {
138
138
  if (!le)
139
139
  throw new Error("Function called outside component initialization");
140
140
  return le;
141
141
  }
142
- function dr(e) {
143
- pr().$$.on_mount.push(e);
142
+ function mr(e) {
143
+ fr().$$.on_mount.push(e);
144
144
  }
145
- const q = [], Re = [];
146
- let Y = [];
147
- const at = [], br = /* @__PURE__ */ Promise.resolve();
145
+ const Q = [], Re = [];
146
+ let q = [];
147
+ const ot = [], pr = /* @__PURE__ */ Promise.resolve();
148
148
  let $e = !1;
149
- function gr() {
150
- $e || ($e = !0, br.then(G));
149
+ function dr() {
150
+ $e || ($e = !0, pr.then(G));
151
151
  }
152
152
  function De(e) {
153
- Y.push(e);
153
+ q.push(e);
154
154
  }
155
155
  const Be = /* @__PURE__ */ new Set();
156
- let J = 0;
156
+ let W = 0;
157
157
  function G() {
158
- if (J !== 0)
158
+ if (W !== 0)
159
159
  return;
160
160
  const e = le;
161
161
  do {
162
162
  try {
163
- for (; J < q.length; ) {
164
- const t = q[J];
165
- J++, ae(t), yr(t.$$);
163
+ for (; W < Q.length; ) {
164
+ const t = Q[W];
165
+ W++, ae(t), br(t.$$);
166
166
  }
167
167
  } catch (t) {
168
- throw q.length = 0, J = 0, t;
168
+ throw Q.length = 0, W = 0, t;
169
169
  }
170
- for (ae(null), q.length = 0, J = 0; Re.length; )
170
+ for (ae(null), Q.length = 0, W = 0; Re.length; )
171
171
  Re.pop()();
172
- for (let t = 0; t < Y.length; t += 1) {
173
- const r = Y[t];
172
+ for (let t = 0; t < q.length; t += 1) {
173
+ const r = q[t];
174
174
  Be.has(r) || (Be.add(r), r());
175
175
  }
176
- Y.length = 0;
177
- } while (q.length);
178
- for (; at.length; )
179
- at.pop()();
176
+ q.length = 0;
177
+ } while (Q.length);
178
+ for (; ot.length; )
179
+ ot.pop()();
180
180
  $e = !1, Be.clear(), ae(e);
181
181
  }
182
- function yr(e) {
182
+ function br(e) {
183
183
  if (e.fragment !== null) {
184
184
  e.update(), ce(e.before_update);
185
185
  const t = e.dirty;
186
186
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
187
187
  }
188
188
  }
189
- function xr(e) {
189
+ function gr(e) {
190
190
  const t = [], r = [];
191
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
191
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
192
192
  }
193
- const vr = /* @__PURE__ */ new Set();
194
- function Er(e, t) {
195
- e && e.i && (vr.delete(e), e.i(t));
193
+ const yr = /* @__PURE__ */ new Set();
194
+ function xr(e, t) {
195
+ e && e.i && (yr.delete(e), e.i(t));
196
196
  }
197
- function lt(e) {
197
+ function st(e) {
198
198
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
199
199
  }
200
- function _r(e, t, r) {
200
+ function vr(e, t, r) {
201
201
  const { fragment: n, after_update: i } = e.$$;
202
202
  n && n.m(t, r), De(() => {
203
- const o = e.$$.on_mount.map(At).filter(We);
203
+ const o = e.$$.on_mount.map(wt).filter(We);
204
204
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
205
205
  }), i.forEach(De);
206
206
  }
207
- function Sr(e, t) {
207
+ function Er(e, t) {
208
208
  const r = e.$$;
209
- r.fragment !== null && (xr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (gr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
210
  }
211
- function wr(e, t) {
212
- e.$$.dirty[0] === -1 && (q.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
+ function _r(e, t) {
212
+ e.$$.dirty[0] === -1 && (Q.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
214
+ function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
215
215
  const u = le;
216
216
  ae(e);
217
217
  const l = e.$$ = {
@@ -221,7 +221,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
221
221
  props: o,
222
222
  update: D,
223
223
  not_equal: i,
224
- bound: ot(),
224
+ bound: nt(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,7 +230,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (u ? u.$$.context : [])),
232
232
  // everything else
233
- callbacks: ot(),
233
+ callbacks: nt(),
234
234
  dirty: a,
235
235
  skip_bound: !1,
236
236
  root: t.target || u.$$.root
@@ -238,20 +238,20 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
238
238
  s && s(l.root);
239
239
  let h = !1;
240
240
  if (l.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
241
- const g = p.length ? p[0] : f;
242
- return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && wr(e, c)), f;
241
+ const b = p.length ? p[0] : f;
242
+ return l.ctx && i(l.ctx[c], l.ctx[c] = b) && (!l.skip_bound && l.bound[c] && l.bound[c](b), h && _r(e, c)), f;
243
243
  }) : [], l.update(), h = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
244
244
  if (t.hydrate) {
245
- const c = fr(t.target);
245
+ const c = ur(t.target);
246
246
  l.fragment && l.fragment.l(c), c.forEach(fe);
247
247
  } else
248
248
  l.fragment && l.fragment.c();
249
- t.intro && Er(e.$$.fragment), _r(e, t.target, t.anchor), G();
249
+ t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), G();
250
250
  }
251
251
  ae(u);
252
252
  }
253
- let Pt;
254
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
253
+ let Bt;
254
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
255
255
  constructor(t, r, n) {
256
256
  super();
257
257
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return it(this, null, function* () {
291
+ return rt(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
293
  let t = function(o) {
294
294
  return () => {
@@ -312,7 +312,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
312
312
  };
313
313
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const r = {}, n = mr(this);
315
+ const r = {}, n = cr(this);
316
316
  for (const o of this.$$s)
317
317
  o in n && (r[o] = [t(o)]);
318
318
  for (const o of this.attributes) {
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
323
323
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: nt(rt({}, this.$$d), {
326
+ props: tt(et({}, this.$$d), {
327
327
  $$slots: r,
328
328
  $$scope: {
329
329
  ctx: []
@@ -401,8 +401,8 @@ function de(e, t, r, n) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function Ar(e, t, r, n, i, o) {
405
- let s = class extends Pt {
404
+ function wr(e, t, r, n, i, o) {
405
+ let s = class extends Bt {
406
406
  constructor() {
407
407
  super(e, r, i), this.$$p_d = t;
408
408
  }
@@ -432,7 +432,7 @@ function Ar(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class Tr {
435
+ class Hr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -453,7 +453,7 @@ class Tr {
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- Sr(this, 1), this.$destroy = D;
456
+ Er(this, 1), this.$destroy = D;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -475,18 +475,18 @@ class Tr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Br = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
483
- function Nr(e, t) {
481
+ const Ar = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
483
+ function Tr(e, t) {
484
484
  if (e) {
485
485
  const r = document.createElement("style");
486
486
  r.innerHTML = t, e.appendChild(r);
487
487
  }
488
488
  }
489
- function Pr(e, t) {
489
+ function Br(e, t) {
490
490
  const r = new URL(t);
491
491
  fetch(r.href).then((n) => n.text()).then((n) => {
492
492
  const i = document.createElement("style");
@@ -495,7 +495,7 @@ function Pr(e, t) {
495
495
  console.error("There was an error while trying to load client styling from URL", n);
496
496
  });
497
497
  }
498
- function Or(e, t, r) {
498
+ function Nr(e, t, r) {
499
499
  if (window.emMessageBus) {
500
500
  const n = document.createElement("style");
501
501
  window.emMessageBus.subscribe(t, (i) => {
@@ -503,8 +503,8 @@ function Or(e, t, r) {
503
503
  });
504
504
  }
505
505
  }
506
- const Q = [];
507
- function Ir(e, t) {
506
+ const J = [];
507
+ function Pr(e, t) {
508
508
  return {
509
509
  subscribe: Ee(e, t).subscribe
510
510
  };
@@ -513,14 +513,14 @@ function Ee(e, t = D) {
513
513
  let r;
514
514
  const n = /* @__PURE__ */ new Set();
515
515
  function i(a) {
516
- if (Tt(e, a) && (e = a, r)) {
517
- const u = !Q.length;
516
+ if (Ht(e, a) && (e = a, r)) {
517
+ const u = !J.length;
518
518
  for (const l of n)
519
- l[1](), Q.push(l, e);
519
+ l[1](), J.push(l, e);
520
520
  if (u) {
521
- for (let l = 0; l < Q.length; l += 2)
522
- Q[l][0](Q[l + 1]);
523
- Q.length = 0;
521
+ for (let l = 0; l < J.length; l += 2)
522
+ J[l][0](J[l + 1]);
523
+ J.length = 0;
524
524
  }
525
525
  }
526
526
  }
@@ -535,12 +535,12 @@ function Ee(e, t = D) {
535
535
  }
536
536
  return { set: i, update: o, subscribe: s };
537
537
  }
538
- function ne(e, t, r) {
538
+ function re(e, t, r) {
539
539
  const n = !Array.isArray(e), i = n ? [e] : e;
540
540
  if (!i.every(Boolean))
541
541
  throw new Error("derived() expects stores as input, got a falsy value");
542
542
  const o = t.length < 2;
543
- return Ir(r, (s, a) => {
543
+ return Pr(r, (s, a) => {
544
544
  let u = !1;
545
545
  const l = [];
546
546
  let h = 0, c = D;
@@ -548,16 +548,16 @@ function ne(e, t, r) {
548
548
  if (h)
549
549
  return;
550
550
  c();
551
- const g = t(n ? l[0] : l, s, a);
552
- o ? s(g) : c = We(g) ? g : D;
551
+ const b = t(n ? l[0] : l, s, a);
552
+ o ? s(b) : c = We(b) ? b : D;
553
553
  }, p = i.map(
554
- (g, E) => Bt(
555
- g,
556
- (N) => {
557
- l[E] = N, h &= ~(1 << E), u && f();
554
+ (b, S) => At(
555
+ b,
556
+ (w) => {
557
+ l[S] = w, h &= ~(1 << S), u && f();
558
558
  },
559
559
  () => {
560
- h |= 1 << E;
560
+ h |= 1 << S;
561
561
  }
562
562
  )
563
563
  );
@@ -566,80 +566,80 @@ function ne(e, t, r) {
566
566
  };
567
567
  });
568
568
  }
569
- function Cr(e) {
569
+ function Or(e) {
570
570
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
571
571
  }
572
- var Lr = function(t) {
573
- return Mr(t) && !Rr(t);
572
+ var Ir = function(t) {
573
+ return Cr(t) && !Lr(t);
574
574
  };
575
- function Mr(e) {
575
+ function Cr(e) {
576
576
  return !!e && typeof e == "object";
577
577
  }
578
- function Rr(e) {
578
+ function Lr(e) {
579
579
  var t = Object.prototype.toString.call(e);
580
- return t === "[object RegExp]" || t === "[object Date]" || Ur(e);
580
+ return t === "[object RegExp]" || t === "[object Date]" || $r(e);
581
581
  }
582
- var $r = typeof Symbol == "function" && Symbol.for, Dr = $r ? Symbol.for("react.element") : 60103;
583
- function Ur(e) {
584
- return e.$$typeof === Dr;
582
+ var Mr = typeof Symbol == "function" && Symbol.for, Rr = Mr ? Symbol.for("react.element") : 60103;
583
+ function $r(e) {
584
+ return e.$$typeof === Rr;
585
585
  }
586
- function Fr(e) {
586
+ function Dr(e) {
587
587
  return Array.isArray(e) ? [] : {};
588
588
  }
589
- function ue(e, t) {
590
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Fr(e), e, t) : e;
589
+ function he(e, t) {
590
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(Dr(e), e, t) : e;
591
591
  }
592
- function Gr(e, t, r) {
592
+ function Ur(e, t, r) {
593
593
  return e.concat(t).map(function(n) {
594
- return ue(n, r);
594
+ return he(n, r);
595
595
  });
596
596
  }
597
- function jr(e, t) {
597
+ function Fr(e, t) {
598
598
  if (!t.customMerge)
599
- return K;
599
+ return Y;
600
600
  var r = t.customMerge(e);
601
- return typeof r == "function" ? r : K;
601
+ return typeof r == "function" ? r : Y;
602
602
  }
603
- function kr(e) {
603
+ function Gr(e) {
604
604
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
605
605
  return Object.propertyIsEnumerable.call(e, t);
606
606
  }) : [];
607
607
  }
608
- function ut(e) {
609
- return Object.keys(e).concat(kr(e));
608
+ function at(e) {
609
+ return Object.keys(e).concat(Gr(e));
610
610
  }
611
- function Ot(e, t) {
611
+ function Nt(e, t) {
612
612
  try {
613
613
  return t in e;
614
614
  } catch (r) {
615
615
  return !1;
616
616
  }
617
617
  }
618
- function Vr(e, t) {
619
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
618
+ function jr(e, t) {
619
+ return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
620
620
  }
621
- function zr(e, t, r) {
621
+ function kr(e, t, r) {
622
622
  var n = {};
623
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
624
- n[i] = ue(e[i], r);
625
- }), ut(t).forEach(function(i) {
626
- Vr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
623
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
624
+ n[i] = he(e[i], r);
625
+ }), at(t).forEach(function(i) {
626
+ jr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fr(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
627
627
  }), n;
628
628
  }
629
- function K(e, t, r) {
630
- r = r || {}, r.arrayMerge = r.arrayMerge || Gr, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ue;
629
+ function Y(e, t, r) {
630
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = he;
631
631
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
632
- return o ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : ue(t, r);
632
+ return o ? n ? r.arrayMerge(e, t, r) : kr(e, t, r) : he(t, r);
633
633
  }
634
- K.all = function(t, r) {
634
+ Y.all = function(t, r) {
635
635
  if (!Array.isArray(t))
636
636
  throw new Error("first argument should be an array");
637
637
  return t.reduce(function(n, i) {
638
- return K(n, i, r);
638
+ return Y(n, i, r);
639
639
  }, {});
640
640
  };
641
- var Xr = K, Zr = Xr;
642
- const Wr = /* @__PURE__ */ Cr(Zr);
641
+ var Vr = Y, zr = Vr;
642
+ const Xr = /* @__PURE__ */ Or(zr);
643
643
  /*! *****************************************************************************
644
644
  Copyright (c) Microsoft Corporation.
645
645
 
@@ -681,7 +681,7 @@ var x = function() {
681
681
  return t;
682
682
  }, x.apply(this, arguments);
683
683
  };
684
- function Jr(e, t) {
684
+ function Zr(e, t) {
685
685
  var r = {};
686
686
  for (var n in e)
687
687
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -697,104 +697,102 @@ function Ne(e, t, r) {
697
697
  return e.concat(o || t);
698
698
  }
699
699
  function Pe(e, t) {
700
- var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
700
+ var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Qr;
701
701
  return i(e, {
702
702
  cache: r,
703
703
  serializer: n
704
704
  });
705
705
  }
706
- function Qr(e) {
706
+ function Wr(e) {
707
707
  return e == null || typeof e == "number" || typeof e == "boolean";
708
708
  }
709
- function It(e, t, r, n) {
710
- var i = Qr(n) ? n : r(n), o = t.get(i);
709
+ function Jr(e, t, r, n) {
710
+ var i = Wr(n) ? n : r(n), o = t.get(i);
711
711
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
712
712
  }
713
- function Ct(e, t, r) {
713
+ function Pt(e, t, r) {
714
714
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
715
715
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
716
716
  }
717
- function Je(e, t, r, n, i) {
717
+ function Ot(e, t, r, n, i) {
718
718
  return r.bind(t, e, n, i);
719
719
  }
720
- function qr(e, t) {
721
- var r = e.length === 1 ? It : Ct;
722
- return Je(e, this, r, t.cache.create(), t.serializer);
720
+ function Qr(e, t) {
721
+ var r = e.length === 1 ? Jr : Pt;
722
+ return Ot(e, this, r, t.cache.create(), t.serializer);
723
723
  }
724
- function Yr(e, t) {
725
- return Je(e, this, Ct, t.cache.create(), t.serializer);
726
- }
727
- function Kr(e, t) {
728
- return Je(e, this, It, t.cache.create(), t.serializer);
724
+ function qr(e, t) {
725
+ return Ot(e, this, Pt, t.cache.create(), t.serializer);
729
726
  }
730
- var en = function() {
727
+ var Yr = function() {
731
728
  return JSON.stringify(arguments);
732
- };
733
- function Qe() {
734
- this.cache = /* @__PURE__ */ Object.create(null);
735
- }
736
- Qe.prototype.get = function(e) {
737
- return this.cache[e];
738
- };
739
- Qe.prototype.set = function(e, t) {
740
- this.cache[e] = t;
741
- };
742
- var tn = {
729
+ }, Kr = (
730
+ /** @class */
731
+ function() {
732
+ function e() {
733
+ this.cache = /* @__PURE__ */ Object.create(null);
734
+ }
735
+ return e.prototype.get = function(t) {
736
+ return this.cache[t];
737
+ }, e.prototype.set = function(t, r) {
738
+ this.cache[t] = r;
739
+ }, e;
740
+ }()
741
+ ), en = {
743
742
  create: function() {
744
- return new Qe();
743
+ return new Kr();
745
744
  }
746
745
  }, Oe = {
747
- variadic: Yr,
748
- monadic: Kr
749
- }, b;
746
+ variadic: qr
747
+ }, g;
750
748
  (function(e) {
751
749
  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";
752
- })(b || (b = {}));
753
- var _;
750
+ })(g || (g = {}));
751
+ var E;
754
752
  (function(e) {
755
753
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
756
- })(_ || (_ = {}));
757
- var ee;
754
+ })(E || (E = {}));
755
+ var K;
758
756
  (function(e) {
759
757
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
760
- })(ee || (ee = {}));
761
- function ht(e) {
762
- return e.type === _.literal;
758
+ })(K || (K = {}));
759
+ function lt(e) {
760
+ return e.type === E.literal;
763
761
  }
764
- function rn(e) {
765
- return e.type === _.argument;
762
+ function tn(e) {
763
+ return e.type === E.argument;
764
+ }
765
+ function It(e) {
766
+ return e.type === E.number;
767
+ }
768
+ function Ct(e) {
769
+ return e.type === E.date;
766
770
  }
767
771
  function Lt(e) {
768
- return e.type === _.number;
772
+ return e.type === E.time;
769
773
  }
770
774
  function Mt(e) {
771
- return e.type === _.date;
775
+ return e.type === E.select;
772
776
  }
773
777
  function Rt(e) {
774
- return e.type === _.time;
778
+ return e.type === E.plural;
779
+ }
780
+ function rn(e) {
781
+ return e.type === E.pound;
775
782
  }
776
783
  function $t(e) {
777
- return e.type === _.select;
784
+ return e.type === E.tag;
778
785
  }
779
786
  function Dt(e) {
780
- return e.type === _.plural;
781
- }
782
- function nn(e) {
783
- return e.type === _.pound;
784
- }
785
- function Ut(e) {
786
- return e.type === _.tag;
787
- }
788
- function Ft(e) {
789
- return !!(e && typeof e == "object" && e.type === ee.number);
787
+ return !!(e && typeof e == "object" && e.type === K.number);
790
788
  }
791
789
  function Fe(e) {
792
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
790
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
793
791
  }
794
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
795
- function sn(e) {
792
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
793
+ function on(e) {
796
794
  var t = {};
797
- return e.replace(on, function(r) {
795
+ return e.replace(nn, function(r) {
798
796
  var n = r.length;
799
797
  switch (r[0]) {
800
798
  case "G":
@@ -883,11 +881,11 @@ function sn(e) {
883
881
  return "";
884
882
  }), t;
885
883
  }
886
- var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
887
- function ln(e) {
884
+ var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
885
+ function an(e) {
888
886
  if (e.length === 0)
889
887
  throw new Error("Number skeleton cannot be empty");
890
- for (var t = e.split(an).filter(function(f) {
888
+ for (var t = e.split(sn).filter(function(f) {
891
889
  return f.length > 0;
892
890
  }), r = [], n = 0, i = t; n < i.length; n++) {
893
891
  var o = i[n], s = o.split("/");
@@ -902,17 +900,17 @@ function ln(e) {
902
900
  }
903
901
  return r;
904
902
  }
905
- function un(e) {
903
+ function ln(e) {
906
904
  return e.replace(/^(.*?)-/, "");
907
905
  }
908
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
909
- function ft(e) {
906
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
907
+ function ut(e) {
910
908
  var t = {};
911
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
909
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
912
910
  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)), "";
913
911
  }), t;
914
912
  }
915
- function Vt(e) {
913
+ function jt(e) {
916
914
  switch (e) {
917
915
  case "sign-auto":
918
916
  return {
@@ -952,7 +950,7 @@ function Vt(e) {
952
950
  };
953
951
  }
954
952
  }
955
- function cn(e) {
953
+ function un(e) {
956
954
  var t;
957
955
  if (e[0] === "E" && e[1] === "E" ? (t = {
958
956
  notation: "engineering"
@@ -960,17 +958,17 @@ function cn(e) {
960
958
  notation: "scientific"
961
959
  }, e = e.slice(1)), t) {
962
960
  var r = e.slice(0, 2);
963
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
961
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
964
962
  throw new Error("Malformed concise eng/scientific notation");
965
963
  t.minimumIntegerDigits = e.length;
966
964
  }
967
965
  return t;
968
966
  }
969
- function mt(e) {
970
- var t = {}, r = Vt(e);
967
+ function ct(e) {
968
+ var t = {}, r = jt(e);
971
969
  return r || t;
972
970
  }
973
- function fn(e) {
971
+ function cn(e) {
974
972
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
975
973
  var i = n[r];
976
974
  switch (i.stem) {
@@ -994,7 +992,7 @@ function fn(e) {
994
992
  continue;
995
993
  case "measure-unit":
996
994
  case "unit":
997
- t.style = "unit", t.unit = un(i.options[0]);
995
+ t.style = "unit", t.unit = ln(i.options[0]);
998
996
  continue;
999
997
  case "compact-short":
1000
998
  case "K":
@@ -1006,12 +1004,12 @@ function fn(e) {
1006
1004
  continue;
1007
1005
  case "scientific":
1008
1006
  t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1009
- return x(x({}, u), mt(l));
1007
+ return x(x({}, u), ct(l));
1010
1008
  }, {}));
1011
1009
  continue;
1012
1010
  case "engineering":
1013
1011
  t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1014
- return x(x({}, u), mt(l));
1012
+ return x(x({}, u), ct(l));
1015
1013
  }, {}));
1016
1014
  continue;
1017
1015
  case "notation-simple":
@@ -1069,27 +1067,27 @@ function fn(e) {
1069
1067
  });
1070
1068
  continue;
1071
1069
  }
1072
- if (kt.test(i.stem)) {
1070
+ if (Gt.test(i.stem)) {
1073
1071
  t.minimumIntegerDigits = i.stem.length;
1074
1072
  continue;
1075
1073
  }
1076
- if (ct.test(i.stem)) {
1074
+ if (ht.test(i.stem)) {
1077
1075
  if (i.options.length > 1)
1078
1076
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1079
- i.stem.replace(ct, function(u, l, h, c, f, p) {
1077
+ i.stem.replace(ht, function(u, l, h, c, f, p) {
1080
1078
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1081
1079
  });
1082
1080
  var o = i.options[0];
1083
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), ft(o)));
1081
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), ut(o)));
1084
1082
  continue;
1085
1083
  }
1086
- if (jt.test(i.stem)) {
1087
- t = x(x({}, t), ft(i.stem));
1084
+ if (Ft.test(i.stem)) {
1085
+ t = x(x({}, t), ut(i.stem));
1088
1086
  continue;
1089
1087
  }
1090
- var s = Vt(i.stem);
1088
+ var s = jt(i.stem);
1091
1089
  s && (t = x(x({}, t), s));
1092
- var a = cn(i.stem);
1090
+ var a = un(i.stem);
1093
1091
  a && (t = x(x({}, t), a));
1094
1092
  }
1095
1093
  return t;
@@ -2509,13 +2507,13 @@ var pe = {
2509
2507
  "h"
2510
2508
  ]
2511
2509
  };
2512
- function mn(e, t) {
2510
+ function fn(e, t) {
2513
2511
  for (var r = "", n = 0; n < e.length; n++) {
2514
2512
  var i = e.charAt(n);
2515
2513
  if (i === "j") {
2516
2514
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2517
2515
  o++, n++;
2518
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = pn(t);
2516
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = mn(t);
2519
2517
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2520
2518
  r += u;
2521
2519
  for (; s-- > 0; )
@@ -2525,7 +2523,7 @@ function mn(e, t) {
2525
2523
  }
2526
2524
  return r;
2527
2525
  }
2528
- function pn(e) {
2526
+ function mn(e) {
2529
2527
  var t = e.hourCycle;
2530
2528
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2531
2529
  e.hourCycles && // @ts-ignore
@@ -2547,20 +2545,20 @@ function pn(e) {
2547
2545
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2548
2546
  return i[0];
2549
2547
  }
2550
- var Ie, dn = new RegExp("^".concat(Gt.source, "*")), bn = new RegExp("".concat(Gt.source, "*$"));
2548
+ var Ie, pn = new RegExp("^".concat(Ut.source, "*")), dn = new RegExp("".concat(Ut.source, "*$"));
2551
2549
  function y(e, t) {
2552
2550
  return { start: e, end: t };
2553
2551
  }
2554
- var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, xn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, wn = Sn ? Number.isSafeInteger : function(e) {
2552
+ var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, yn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, Sn = _n ? Number.isSafeInteger : function(e) {
2555
2553
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2556
2554
  }, Ge = !0;
2557
2555
  try {
2558
- var Hn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2559
- Ge = ((Ie = Hn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2556
+ var wn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2557
+ Ge = ((Ie = wn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2560
2558
  } catch (e) {
2561
2559
  Ge = !1;
2562
2560
  }
2563
- var pt = gn ? (
2561
+ var ft = bn ? (
2564
2562
  // Native
2565
2563
  function(t, r, n) {
2566
2564
  return t.startsWith(r, n);
@@ -2570,7 +2568,7 @@ var pt = gn ? (
2570
2568
  function(t, r, n) {
2571
2569
  return t.slice(n, n + r.length) === r;
2572
2570
  }
2573
- ), je = yn ? String.fromCodePoint : (
2571
+ ), je = gn ? String.fromCodePoint : (
2574
2572
  // IE11
2575
2573
  function() {
2576
2574
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2582,9 +2580,9 @@ var pt = gn ? (
2582
2580
  }
2583
2581
  return n;
2584
2582
  }
2585
- ), dt = (
2583
+ ), mt = (
2586
2584
  // native
2587
- xn ? Object.fromEntries : (
2585
+ yn ? Object.fromEntries : (
2588
2586
  // Ponyfill
2589
2587
  function(t) {
2590
2588
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2594,7 +2592,7 @@ var pt = gn ? (
2594
2592
  return r;
2595
2593
  }
2596
2594
  )
2597
- ), zt = vn ? (
2595
+ ), kt = xn ? (
2598
2596
  // Native
2599
2597
  function(t, r) {
2600
2598
  return t.codePointAt(r);
@@ -2608,7 +2606,7 @@ var pt = gn ? (
2608
2606
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2609
2607
  }
2610
2608
  }
2611
- ), An = En ? (
2609
+ ), Hn = vn ? (
2612
2610
  // Native
2613
2611
  function(t) {
2614
2612
  return t.trimStart();
@@ -2616,9 +2614,9 @@ var pt = gn ? (
2616
2614
  ) : (
2617
2615
  // Ponyfill
2618
2616
  function(t) {
2619
- return t.replace(dn, "");
2617
+ return t.replace(pn, "");
2620
2618
  }
2621
- ), Tn = _n ? (
2619
+ ), An = En ? (
2622
2620
  // Native
2623
2621
  function(t) {
2624
2622
  return t.trimEnd();
@@ -2626,32 +2624,32 @@ var pt = gn ? (
2626
2624
  ) : (
2627
2625
  // Ponyfill
2628
2626
  function(t) {
2629
- return t.replace(bn, "");
2627
+ return t.replace(dn, "");
2630
2628
  }
2631
2629
  );
2632
- function Xt(e, t) {
2630
+ function Vt(e, t) {
2633
2631
  return new RegExp(e, t);
2634
2632
  }
2635
2633
  var ke;
2636
2634
  if (Ge) {
2637
- var bt = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2635
+ var pt = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2638
2636
  ke = function(t, r) {
2639
2637
  var n;
2640
- bt.lastIndex = r;
2641
- var i = bt.exec(t);
2638
+ pt.lastIndex = r;
2639
+ var i = pt.exec(t);
2642
2640
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2643
2641
  };
2644
2642
  } else
2645
2643
  ke = function(t, r) {
2646
2644
  for (var n = []; ; ) {
2647
- var i = zt(t, r);
2648
- if (i === void 0 || Zt(i) || On(i))
2645
+ var i = kt(t, r);
2646
+ if (i === void 0 || zt(i) || Pn(i))
2649
2647
  break;
2650
2648
  n.push(i), r += i >= 65536 ? 2 : 1;
2651
2649
  }
2652
2650
  return je.apply(void 0, n);
2653
2651
  };
2654
- var Bn = (
2652
+ var Tn = (
2655
2653
  /** @class */
2656
2654
  function() {
2657
2655
  function e(t, r) {
@@ -2675,13 +2673,13 @@ var Bn = (
2675
2673
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2676
2674
  var a = this.clonePosition();
2677
2675
  this.bump(), i.push({
2678
- type: _.pound,
2676
+ type: E.pound,
2679
2677
  location: y(a, this.clonePosition())
2680
2678
  });
2681
2679
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2682
2680
  if (n)
2683
2681
  break;
2684
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2682
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2685
2683
  } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2686
2684
  var s = this.parseTag(t, r);
2687
2685
  if (s.err)
@@ -2703,7 +2701,7 @@ var Bn = (
2703
2701
  if (this.bumpSpace(), this.bumpIf("/>"))
2704
2702
  return {
2705
2703
  val: {
2706
- type: _.literal,
2704
+ type: E.literal,
2707
2705
  value: "<".concat(i, "/>"),
2708
2706
  location: y(n, this.clonePosition())
2709
2707
  },
@@ -2716,24 +2714,24 @@ var Bn = (
2716
2714
  var s = o.val, a = this.clonePosition();
2717
2715
  if (this.bumpIf("</")) {
2718
2716
  if (this.isEOF() || !Ve(this.char()))
2719
- return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2717
+ return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
2720
2718
  var u = this.clonePosition(), l = this.parseTagName();
2721
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2719
+ return i !== l ? this.error(g.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2722
2720
  val: {
2723
- type: _.tag,
2721
+ type: E.tag,
2724
2722
  value: i,
2725
2723
  children: s,
2726
2724
  location: y(n, this.clonePosition())
2727
2725
  },
2728
2726
  err: null
2729
- } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2727
+ } : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
2730
2728
  } else
2731
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2729
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
2732
2730
  } else
2733
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2731
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
2734
2732
  }, e.prototype.parseTagName = function() {
2735
2733
  var t = this.offset();
2736
- for (this.bump(); !this.isEOF() && Pn(this.char()); )
2734
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
2737
2735
  this.bump();
2738
2736
  return this.message.slice(t, this.offset());
2739
2737
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2757,12 +2755,12 @@ var Bn = (
2757
2755
  }
2758
2756
  var u = y(n, this.clonePosition());
2759
2757
  return {
2760
- val: { type: _.literal, value: i, location: u },
2758
+ val: { type: E.literal, value: i, location: u },
2761
2759
  err: null
2762
2760
  };
2763
2761
  }, e.prototype.tryParseLeftAngleBracket = function() {
2764
2762
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2765
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2763
+ !Bn(this.peek() || 0)) ? (this.bump(), "<") : null;
2766
2764
  }, e.prototype.tryParseQuote = function(t) {
2767
2765
  if (this.isEOF() || this.char() !== 39)
2768
2766
  return null;
@@ -2805,19 +2803,19 @@ var Bn = (
2805
2803
  }, e.prototype.parseArgument = function(t, r) {
2806
2804
  var n = this.clonePosition();
2807
2805
  if (this.bump(), this.bumpSpace(), this.isEOF())
2808
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2806
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2809
2807
  if (this.char() === 125)
2810
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2808
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2811
2809
  var i = this.parseIdentifierIfPossible().value;
2812
2810
  if (!i)
2813
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2811
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2814
2812
  if (this.bumpSpace(), this.isEOF())
2815
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2813
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2816
2814
  switch (this.char()) {
2817
2815
  case 125:
2818
2816
  return this.bump(), {
2819
2817
  val: {
2820
- type: _.argument,
2818
+ type: E.argument,
2821
2819
  // value does not include the opening and closing braces.
2822
2820
  value: i,
2823
2821
  location: y(n, this.clonePosition())
@@ -2825,9 +2823,9 @@ var Bn = (
2825
2823
  err: null
2826
2824
  };
2827
2825
  case 44:
2828
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2826
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2829
2827
  default:
2830
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2828
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2831
2829
  }
2832
2830
  }, e.prototype.parseIdentifierIfPossible = function() {
2833
2831
  var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
@@ -2838,7 +2836,7 @@ var Bn = (
2838
2836
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2839
2837
  switch (a) {
2840
2838
  case "":
2841
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, u));
2839
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(s, u));
2842
2840
  case "number":
2843
2841
  case "date":
2844
2842
  case "time": {
@@ -2849,46 +2847,46 @@ var Bn = (
2849
2847
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2850
2848
  if (c.err)
2851
2849
  return c;
2852
- var f = Tn(c.val);
2850
+ var f = An(c.val);
2853
2851
  if (f.length === 0)
2854
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2852
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2855
2853
  var p = y(h, this.clonePosition());
2856
2854
  l = { style: f, styleLocation: p };
2857
2855
  }
2858
- var g = this.tryParseArgumentClose(i);
2859
- if (g.err)
2860
- return g;
2861
- var E = y(i, this.clonePosition());
2862
- if (l && pt(l == null ? void 0 : l.style, "::", 0)) {
2863
- var N = An(l.style.slice(2));
2856
+ var b = this.tryParseArgumentClose(i);
2857
+ if (b.err)
2858
+ return b;
2859
+ var S = y(i, this.clonePosition());
2860
+ if (l && ft(l == null ? void 0 : l.style, "::", 0)) {
2861
+ var w = Hn(l.style.slice(2));
2864
2862
  if (a === "number") {
2865
- var c = this.parseNumberSkeletonFromString(N, l.styleLocation);
2863
+ var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
2866
2864
  return c.err ? c : {
2867
- val: { type: _.number, value: n, location: E, style: c.val },
2865
+ val: { type: E.number, value: n, location: S, style: c.val },
2868
2866
  err: null
2869
2867
  };
2870
2868
  } else {
2871
- if (N.length === 0)
2872
- return this.error(b.EXPECT_DATE_TIME_SKELETON, E);
2873
- var P = N;
2874
- this.locale && (P = mn(N, this.locale));
2869
+ if (w.length === 0)
2870
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, S);
2871
+ var M = w;
2872
+ this.locale && (M = fn(w, this.locale));
2875
2873
  var f = {
2876
- type: ee.dateTime,
2877
- pattern: P,
2874
+ type: K.dateTime,
2875
+ pattern: M,
2878
2876
  location: l.styleLocation,
2879
- parsedOptions: this.shouldParseSkeletons ? sn(P) : {}
2880
- }, M = a === "date" ? _.date : _.time;
2877
+ parsedOptions: this.shouldParseSkeletons ? on(M) : {}
2878
+ }, C = a === "date" ? E.date : E.time;
2881
2879
  return {
2882
- val: { type: M, value: n, location: E, style: f },
2880
+ val: { type: C, value: n, location: S, style: f },
2883
2881
  err: null
2884
2882
  };
2885
2883
  }
2886
2884
  }
2887
2885
  return {
2888
2886
  val: {
2889
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
2887
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
2890
2888
  value: n,
2891
- location: E,
2889
+ location: S,
2892
2890
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2893
2891
  },
2894
2892
  err: null
@@ -2897,41 +2895,41 @@ var Bn = (
2897
2895
  case "plural":
2898
2896
  case "selectordinal":
2899
2897
  case "select": {
2900
- var B = this.clonePosition();
2898
+ var N = this.clonePosition();
2901
2899
  if (this.bumpSpace(), !this.bumpIf(","))
2902
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(B, x({}, B)));
2900
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(N, x({}, N)));
2903
2901
  this.bumpSpace();
2904
- var C = this.parseIdentifierIfPossible(), H = 0;
2905
- if (a !== "select" && C.value === "offset") {
2902
+ var I = this.parseIdentifierIfPossible(), T = 0;
2903
+ if (a !== "select" && I.value === "offset") {
2906
2904
  if (!this.bumpIf(":"))
2907
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2905
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2908
2906
  this.bumpSpace();
2909
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2907
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2910
2908
  if (c.err)
2911
2909
  return c;
2912
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), H = c.val;
2910
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), T = c.val;
2913
2911
  }
2914
- var L = this.tryParsePluralOrSelectOptions(t, a, r, C);
2912
+ var L = this.tryParsePluralOrSelectOptions(t, a, r, I);
2915
2913
  if (L.err)
2916
2914
  return L;
2917
- var g = this.tryParseArgumentClose(i);
2918
- if (g.err)
2919
- return g;
2915
+ var b = this.tryParseArgumentClose(i);
2916
+ if (b.err)
2917
+ return b;
2920
2918
  var U = y(i, this.clonePosition());
2921
2919
  return a === "select" ? {
2922
2920
  val: {
2923
- type: _.select,
2921
+ type: E.select,
2924
2922
  value: n,
2925
- options: dt(L.val),
2923
+ options: mt(L.val),
2926
2924
  location: U
2927
2925
  },
2928
2926
  err: null
2929
2927
  } : {
2930
2928
  val: {
2931
- type: _.plural,
2929
+ type: E.plural,
2932
2930
  value: n,
2933
- options: dt(L.val),
2934
- offset: H,
2931
+ options: mt(L.val),
2932
+ offset: T,
2935
2933
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2936
2934
  location: U
2937
2935
  },
@@ -2939,10 +2937,10 @@ var Bn = (
2939
2937
  };
2940
2938
  }
2941
2939
  default:
2942
- return this.error(b.INVALID_ARGUMENT_TYPE, y(s, u));
2940
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(s, u));
2943
2941
  }
2944
2942
  }, e.prototype.tryParseArgumentClose = function(t) {
2945
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2943
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2946
2944
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2947
2945
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2948
2946
  var n = this.char();
@@ -2951,7 +2949,7 @@ var Bn = (
2951
2949
  this.bump();
2952
2950
  var i = this.clonePosition();
2953
2951
  if (!this.bumpUntil("'"))
2954
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2952
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2955
2953
  this.bump();
2956
2954
  break;
2957
2955
  }
@@ -2981,16 +2979,16 @@ var Bn = (
2981
2979
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2982
2980
  var n = [];
2983
2981
  try {
2984
- n = ln(t);
2982
+ n = an(t);
2985
2983
  } catch (i) {
2986
- return this.error(b.INVALID_NUMBER_SKELETON, r);
2984
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
2987
2985
  }
2988
2986
  return {
2989
2987
  val: {
2990
- type: ee.number,
2988
+ type: K.number,
2991
2989
  tokens: n,
2992
2990
  location: r,
2993
- parsedOptions: this.shouldParseSkeletons ? fn(n) : {}
2991
+ parsedOptions: this.shouldParseSkeletons ? cn(n) : {}
2994
2992
  },
2995
2993
  err: null
2996
2994
  };
@@ -2999,7 +2997,7 @@ var Bn = (
2999
2997
  if (l.length === 0) {
3000
2998
  var c = this.clonePosition();
3001
2999
  if (r !== "select" && this.bumpIf("=")) {
3002
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3000
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3003
3001
  if (f.err)
3004
3002
  return f;
3005
3003
  h = y(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
@@ -3007,26 +3005,26 @@ var Bn = (
3007
3005
  break;
3008
3006
  }
3009
3007
  if (u.has(l))
3010
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3008
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3011
3009
  l === "other" && (s = !0), this.bumpSpace();
3012
3010
  var p = this.clonePosition();
3013
3011
  if (!this.bumpIf("{"))
3014
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3015
- var g = this.parseMessage(t + 1, r, n);
3016
- if (g.err)
3017
- return g;
3018
- var E = this.tryParseArgumentClose(p);
3019
- if (E.err)
3020
- return E;
3012
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3013
+ var b = this.parseMessage(t + 1, r, n);
3014
+ if (b.err)
3015
+ return b;
3016
+ var S = this.tryParseArgumentClose(p);
3017
+ if (S.err)
3018
+ return S;
3021
3019
  a.push([
3022
3020
  l,
3023
3021
  {
3024
- value: g.val,
3022
+ value: b.val,
3025
3023
  location: y(p, this.clonePosition())
3026
3024
  }
3027
3025
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3028
3026
  }
3029
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3027
+ return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3030
3028
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3031
3029
  var n = 1, i = this.clonePosition();
3032
3030
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3038,7 +3036,7 @@ var Bn = (
3038
3036
  break;
3039
3037
  }
3040
3038
  var u = y(i, this.clonePosition());
3041
- return o ? (s *= n, wn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3039
+ return o ? (s *= n, Sn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3042
3040
  }, e.prototype.offset = function() {
3043
3041
  return this.position.offset;
3044
3042
  }, e.prototype.isEOF = function() {
@@ -3053,7 +3051,7 @@ var Bn = (
3053
3051
  var t = this.position.offset;
3054
3052
  if (t >= this.message.length)
3055
3053
  throw Error("out of bound");
3056
- var r = zt(this.message, t);
3054
+ var r = kt(this.message, t);
3057
3055
  if (r === void 0)
3058
3056
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3059
3057
  return r;
@@ -3072,7 +3070,7 @@ var Bn = (
3072
3070
  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);
3073
3071
  }
3074
3072
  }, e.prototype.bumpIf = function(t) {
3075
- if (pt(this.message, t, this.offset())) {
3073
+ if (ft(this.message, t, this.offset())) {
3076
3074
  for (var r = 0; r < t.length; r++)
3077
3075
  this.bump();
3078
3076
  return !0;
@@ -3094,7 +3092,7 @@ var Bn = (
3094
3092
  break;
3095
3093
  }
3096
3094
  }, e.prototype.bumpSpace = function() {
3097
- for (; !this.isEOF() && Zt(this.char()); )
3095
+ for (; !this.isEOF() && zt(this.char()); )
3098
3096
  this.bump();
3099
3097
  }, e.prototype.peek = function() {
3100
3098
  if (this.isEOF())
@@ -3107,40 +3105,40 @@ var Bn = (
3107
3105
  function Ve(e) {
3108
3106
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3109
3107
  }
3110
- function Nn(e) {
3108
+ function Bn(e) {
3111
3109
  return Ve(e) || e === 47;
3112
3110
  }
3113
- function Pn(e) {
3111
+ function Nn(e) {
3114
3112
  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;
3115
3113
  }
3116
- function Zt(e) {
3114
+ function zt(e) {
3117
3115
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3118
3116
  }
3119
- function On(e) {
3117
+ function Pn(e) {
3120
3118
  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;
3121
3119
  }
3122
3120
  function ze(e) {
3123
3121
  e.forEach(function(t) {
3124
- if (delete t.location, $t(t) || Dt(t))
3122
+ if (delete t.location, Mt(t) || Rt(t))
3125
3123
  for (var r in t.options)
3126
3124
  delete t.options[r].location, ze(t.options[r].value);
3127
3125
  else
3128
- Lt(t) && Ft(t.style) || (Mt(t) || Rt(t)) && Fe(t.style) ? delete t.style.location : Ut(t) && ze(t.children);
3126
+ It(t) && Dt(t.style) || (Ct(t) || Lt(t)) && Fe(t.style) ? delete t.style.location : $t(t) && ze(t.children);
3129
3127
  });
3130
3128
  }
3131
- function In(e, t) {
3129
+ function On(e, t) {
3132
3130
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3133
- var r = new Bn(e, t).parse();
3131
+ var r = new Tn(e, t).parse();
3134
3132
  if (r.err) {
3135
- var n = SyntaxError(b[r.err.kind]);
3133
+ var n = SyntaxError(g[r.err.kind]);
3136
3134
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3137
3135
  }
3138
3136
  return t != null && t.captureLocation || ze(r.val), r.val;
3139
3137
  }
3140
- var te;
3138
+ var ee;
3141
3139
  (function(e) {
3142
3140
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3143
- })(te || (te = {}));
3141
+ })(ee || (ee = {}));
3144
3142
  var Se = (
3145
3143
  /** @class */
3146
3144
  function(e) {
@@ -3153,152 +3151,152 @@ var Se = (
3153
3151
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3154
3152
  }, t;
3155
3153
  }(Error)
3156
- ), gt = (
3154
+ ), dt = (
3157
3155
  /** @class */
3158
3156
  function(e) {
3159
3157
  _e(t, e);
3160
3158
  function t(r, n, i, o) {
3161
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3159
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3162
3160
  }
3163
3161
  return t;
3164
3162
  }(Se)
3165
- ), Cn = (
3163
+ ), In = (
3166
3164
  /** @class */
3167
3165
  function(e) {
3168
3166
  _e(t, e);
3169
3167
  function t(r, n, i) {
3170
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3168
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3171
3169
  }
3172
3170
  return t;
3173
3171
  }(Se)
3174
- ), Ln = (
3172
+ ), Cn = (
3175
3173
  /** @class */
3176
3174
  function(e) {
3177
3175
  _e(t, e);
3178
3176
  function t(r, n) {
3179
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3177
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3180
3178
  }
3181
3179
  return t;
3182
3180
  }(Se)
3183
- ), I;
3181
+ ), O;
3184
3182
  (function(e) {
3185
3183
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3186
- })(I || (I = {}));
3187
- function Mn(e) {
3184
+ })(O || (O = {}));
3185
+ function Ln(e) {
3188
3186
  return e.length < 2 ? e : e.reduce(function(t, r) {
3189
3187
  var n = t[t.length - 1];
3190
- return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3188
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3191
3189
  }, []);
3192
3190
  }
3193
- function Rn(e) {
3191
+ function Mn(e) {
3194
3192
  return typeof e == "function";
3195
3193
  }
3196
3194
  function be(e, t, r, n, i, o, s) {
3197
- if (e.length === 1 && ht(e[0]))
3195
+ if (e.length === 1 && lt(e[0]))
3198
3196
  return [
3199
3197
  {
3200
- type: I.literal,
3198
+ type: O.literal,
3201
3199
  value: e[0].value
3202
3200
  }
3203
3201
  ];
3204
3202
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3205
3203
  var h = l[u];
3206
- if (ht(h)) {
3204
+ if (lt(h)) {
3207
3205
  a.push({
3208
- type: I.literal,
3206
+ type: O.literal,
3209
3207
  value: h.value
3210
3208
  });
3211
3209
  continue;
3212
3210
  }
3213
- if (nn(h)) {
3211
+ if (rn(h)) {
3214
3212
  typeof o == "number" && a.push({
3215
- type: I.literal,
3213
+ type: O.literal,
3216
3214
  value: r.getNumberFormat(t).format(o)
3217
3215
  });
3218
3216
  continue;
3219
3217
  }
3220
3218
  var c = h.value;
3221
3219
  if (!(i && c in i))
3222
- throw new Ln(c, s);
3220
+ throw new Cn(c, s);
3223
3221
  var f = i[c];
3224
- if (rn(h)) {
3222
+ if (tn(h)) {
3225
3223
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3226
- type: typeof f == "string" ? I.literal : I.object,
3224
+ type: typeof f == "string" ? O.literal : O.object,
3227
3225
  value: f
3228
3226
  });
3229
3227
  continue;
3230
3228
  }
3231
- if (Mt(h)) {
3229
+ if (Ct(h)) {
3232
3230
  var p = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3233
3231
  a.push({
3234
- type: I.literal,
3232
+ type: O.literal,
3235
3233
  value: r.getDateTimeFormat(t, p).format(f)
3236
3234
  });
3237
3235
  continue;
3238
3236
  }
3239
- if (Rt(h)) {
3237
+ if (Lt(h)) {
3240
3238
  var p = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3241
3239
  a.push({
3242
- type: I.literal,
3240
+ type: O.literal,
3243
3241
  value: r.getDateTimeFormat(t, p).format(f)
3244
3242
  });
3245
3243
  continue;
3246
3244
  }
3247
- if (Lt(h)) {
3248
- var p = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3245
+ if (It(h)) {
3246
+ var p = typeof h.style == "string" ? n.number[h.style] : Dt(h.style) ? h.style.parsedOptions : void 0;
3249
3247
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3250
- type: I.literal,
3248
+ type: O.literal,
3251
3249
  value: r.getNumberFormat(t, p).format(f)
3252
3250
  });
3253
3251
  continue;
3254
3252
  }
3255
- if (Ut(h)) {
3256
- var g = h.children, E = h.value, N = i[E];
3257
- if (!Rn(N))
3258
- throw new Cn(E, "function", s);
3259
- var P = be(g, t, r, n, i, o), M = N(P.map(function(H) {
3260
- return H.value;
3253
+ if ($t(h)) {
3254
+ var b = h.children, S = h.value, w = i[S];
3255
+ if (!Mn(w))
3256
+ throw new In(S, "function", s);
3257
+ var M = be(b, t, r, n, i, o), C = w(M.map(function(T) {
3258
+ return T.value;
3261
3259
  }));
3262
- Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(H) {
3260
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(T) {
3263
3261
  return {
3264
- type: typeof H == "string" ? I.literal : I.object,
3265
- value: H
3262
+ type: typeof T == "string" ? O.literal : O.object,
3263
+ value: T
3266
3264
  };
3267
3265
  }));
3268
3266
  }
3269
- if ($t(h)) {
3270
- var B = h.options[f] || h.options.other;
3271
- if (!B)
3272
- throw new gt(h.value, f, Object.keys(h.options), s);
3273
- a.push.apply(a, be(B.value, t, r, n, i));
3267
+ if (Mt(h)) {
3268
+ var N = h.options[f] || h.options.other;
3269
+ if (!N)
3270
+ throw new dt(h.value, f, Object.keys(h.options), s);
3271
+ a.push.apply(a, be(N.value, t, r, n, i));
3274
3272
  continue;
3275
3273
  }
3276
- if (Dt(h)) {
3277
- var B = h.options["=".concat(f)];
3278
- if (!B) {
3274
+ if (Rt(h)) {
3275
+ var N = h.options["=".concat(f)];
3276
+ if (!N) {
3279
3277
  if (!Intl.PluralRules)
3280
3278
  throw new Se(`Intl.PluralRules is not available in this environment.
3281
3279
  Try polyfilling it using "@formatjs/intl-pluralrules"
3282
- `, te.MISSING_INTL_API, s);
3283
- var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3284
- B = h.options[C] || h.options.other;
3280
+ `, ee.MISSING_INTL_API, s);
3281
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3282
+ N = h.options[I] || h.options.other;
3285
3283
  }
3286
- if (!B)
3287
- throw new gt(h.value, f, Object.keys(h.options), s);
3288
- a.push.apply(a, be(B.value, t, r, n, i, f - (h.offset || 0)));
3284
+ if (!N)
3285
+ throw new dt(h.value, f, Object.keys(h.options), s);
3286
+ a.push.apply(a, be(N.value, t, r, n, i, f - (h.offset || 0)));
3289
3287
  continue;
3290
3288
  }
3291
3289
  }
3292
- return Mn(a);
3290
+ return Ln(a);
3293
3291
  }
3294
- function $n(e, t) {
3292
+ function Rn(e, t) {
3295
3293
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3296
3294
  return r[n] = x(x({}, e[n]), t[n] || {}), r;
3297
3295
  }, {})) : e;
3298
3296
  }
3299
- function Dn(e, t) {
3297
+ function $n(e, t) {
3300
3298
  return t ? Object.keys(e).reduce(function(r, n) {
3301
- return r[n] = $n(e[n], t[n]), r;
3299
+ return r[n] = Rn(e[n], t[n]), r;
3302
3300
  }, x({}, e)) : e;
3303
3301
  }
3304
3302
  function Ce(e) {
@@ -3315,7 +3313,7 @@ function Ce(e) {
3315
3313
  }
3316
3314
  };
3317
3315
  }
3318
- function Un(e) {
3316
+ function Dn(e) {
3319
3317
  return e === void 0 && (e = {
3320
3318
  number: {},
3321
3319
  dateTime: {},
@@ -3347,7 +3345,7 @@ function Un(e) {
3347
3345
  })
3348
3346
  };
3349
3347
  }
3350
- var Fn = (
3348
+ var Un = (
3351
3349
  /** @class */
3352
3350
  function() {
3353
3351
  function e(t, r, n, i) {
@@ -3362,7 +3360,7 @@ var Fn = (
3362
3360
  if (l.length === 1)
3363
3361
  return l[0].value;
3364
3362
  var h = l.reduce(function(c, f) {
3365
- return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3363
+ return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3366
3364
  }, []);
3367
3365
  return h.length <= 1 ? h[0] || "" : h;
3368
3366
  }, this.formatToParts = function(u) {
@@ -3379,13 +3377,13 @@ var Fn = (
3379
3377
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3380
3378
  var s = i || {};
3381
3379
  s.formatters;
3382
- var a = Jr(s, ["formatters"]);
3380
+ var a = Zr(s, ["formatters"]);
3383
3381
  this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3384
3382
  } else
3385
3383
  this.ast = t;
3386
3384
  if (!Array.isArray(this.ast))
3387
3385
  throw new TypeError("A message must be provided as a String or AST.");
3388
- this.formats = Dn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
3386
+ this.formats = $n(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3389
3387
  }
3390
3388
  return Object.defineProperty(e, "defaultLocale", {
3391
3389
  get: function() {
@@ -3398,7 +3396,7 @@ var Fn = (
3398
3396
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3399
3397
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3400
3398
  }
3401
- }, e.__parse = In, e.formats = {
3399
+ }, e.__parse = On, e.formats = {
3402
3400
  number: {
3403
3401
  integer: {
3404
3402
  maximumFractionDigits: 0
@@ -3459,7 +3457,7 @@ var Fn = (
3459
3457
  }, e;
3460
3458
  }()
3461
3459
  );
3462
- function Gn(e, t) {
3460
+ function Fn(e, t) {
3463
3461
  if (t == null)
3464
3462
  return;
3465
3463
  if (t in e)
@@ -3480,60 +3478,60 @@ function Gn(e, t) {
3480
3478
  n = void 0;
3481
3479
  return n;
3482
3480
  }
3483
- const j = {}, jn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Wt = (e, t) => {
3481
+ const j = {}, Gn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Xt = (e, t) => {
3484
3482
  if (t == null)
3485
3483
  return;
3486
3484
  if (t in j && e in j[t])
3487
3485
  return j[t][e];
3488
3486
  const r = we(t);
3489
3487
  for (let n = 0; n < r.length; n++) {
3490
- const i = r[n], o = Vn(i, e);
3488
+ const i = r[n], o = kn(i, e);
3491
3489
  if (o)
3492
- return jn(e, t, o);
3490
+ return Gn(e, t, o);
3493
3491
  }
3494
3492
  };
3495
- let qe;
3496
- const ie = Ee({});
3497
- function kn(e) {
3498
- return qe[e] || null;
3493
+ let Je;
3494
+ const ne = Ee({});
3495
+ function jn(e) {
3496
+ return Je[e] || null;
3499
3497
  }
3500
- function Jt(e) {
3501
- return e in qe;
3498
+ function Zt(e) {
3499
+ return e in Je;
3502
3500
  }
3503
- function Vn(e, t) {
3504
- if (!Jt(e))
3501
+ function kn(e, t) {
3502
+ if (!Zt(e))
3505
3503
  return null;
3506
- const r = kn(e);
3507
- return Gn(r, t);
3504
+ const r = jn(e);
3505
+ return Fn(r, t);
3508
3506
  }
3509
- function zn(e) {
3507
+ function Vn(e) {
3510
3508
  if (e == null)
3511
3509
  return;
3512
3510
  const t = we(e);
3513
3511
  for (let r = 0; r < t.length; r++) {
3514
3512
  const n = t[r];
3515
- if (Jt(n))
3513
+ if (Zt(n))
3516
3514
  return n;
3517
3515
  }
3518
3516
  }
3519
- function Qt(e, ...t) {
3520
- delete j[e], ie.update((r) => (r[e] = Wr.all([r[e] || {}, ...t]), r));
3517
+ function Wt(e, ...t) {
3518
+ delete j[e], ne.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3521
3519
  }
3522
- ne(
3523
- [ie],
3520
+ re(
3521
+ [ne],
3524
3522
  ([e]) => Object.keys(e)
3525
3523
  );
3526
- ie.subscribe((e) => qe = e);
3524
+ ne.subscribe((e) => Je = e);
3527
3525
  const ge = {};
3528
- function Xn(e, t) {
3526
+ function zn(e, t) {
3529
3527
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3530
3528
  }
3531
- function qt(e) {
3529
+ function Jt(e) {
3532
3530
  return ge[e];
3533
3531
  }
3534
- function Zn(e) {
3532
+ function Xn(e) {
3535
3533
  return we(e).map((t) => {
3536
- const r = qt(t);
3534
+ const r = Jt(t);
3537
3535
  return [t, r ? [...r] : []];
3538
3536
  }).filter(([, t]) => t.length > 0);
3539
3537
  }
@@ -3541,31 +3539,31 @@ function Xe(e) {
3541
3539
  return e == null ? !1 : we(e).some(
3542
3540
  (t) => {
3543
3541
  var r;
3544
- return (r = qt(t)) == null ? void 0 : r.size;
3542
+ return (r = Jt(t)) == null ? void 0 : r.size;
3545
3543
  }
3546
3544
  );
3547
3545
  }
3548
- function Wn(e, t) {
3546
+ function Zn(e, t) {
3549
3547
  return Promise.all(
3550
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3551
- ).then((n) => Qt(e, ...n));
3548
+ t.map((n) => (zn(e, n), n().then((i) => i.default || i)))
3549
+ ).then((n) => Wt(e, ...n));
3552
3550
  }
3553
3551
  const se = {};
3554
- function Yt(e) {
3552
+ function Qt(e) {
3555
3553
  if (!Xe(e))
3556
3554
  return e in se ? se[e] : Promise.resolve();
3557
- const t = Zn(e);
3555
+ const t = Xn(e);
3558
3556
  return se[e] = Promise.all(
3559
3557
  t.map(
3560
- ([r, n]) => Wn(r, n)
3558
+ ([r, n]) => Zn(r, n)
3561
3559
  )
3562
3560
  ).then(() => {
3563
3561
  if (Xe(e))
3564
- return Yt(e);
3562
+ return Qt(e);
3565
3563
  delete se[e];
3566
3564
  }), se[e];
3567
3565
  }
3568
- const Jn = {
3566
+ const Wn = {
3569
3567
  number: {
3570
3568
  scientific: { notation: "scientific" },
3571
3569
  engineering: { notation: "engineering" },
@@ -3594,34 +3592,34 @@ const Jn = {
3594
3592
  timeZoneName: "short"
3595
3593
  }
3596
3594
  }
3597
- }, Qn = {
3595
+ }, Jn = {
3598
3596
  fallbackLocale: null,
3599
3597
  loadingDelay: 200,
3600
- formats: Jn,
3598
+ formats: Wn,
3601
3599
  warnOnMissingMessages: !0,
3602
3600
  handleMissingMessage: void 0,
3603
3601
  ignoreTag: !0
3604
- }, qn = Qn;
3605
- function re() {
3606
- return qn;
3602
+ }, Qn = Jn;
3603
+ function te() {
3604
+ return Qn;
3607
3605
  }
3608
3606
  const Le = Ee(!1);
3609
- var Yn = Object.defineProperty, Kn = Object.defineProperties, ei = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, ti = Object.prototype.hasOwnProperty, ri = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ni = (e, t) => {
3607
+ var qn = Object.defineProperty, Yn = Object.defineProperties, Kn = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ri = (e, t) => {
3610
3608
  for (var r in t || (t = {}))
3611
- ti.call(t, r) && xt(e, r, t[r]);
3612
- if (yt)
3613
- for (var r of yt(t))
3614
- ri.call(t, r) && xt(e, r, t[r]);
3609
+ ei.call(t, r) && gt(e, r, t[r]);
3610
+ if (bt)
3611
+ for (var r of bt(t))
3612
+ ti.call(t, r) && gt(e, r, t[r]);
3615
3613
  return e;
3616
- }, ii = (e, t) => Kn(e, ei(t));
3614
+ }, ni = (e, t) => Yn(e, Kn(t));
3617
3615
  let Ze;
3618
3616
  const ye = Ee(null);
3619
- function vt(e) {
3617
+ function yt(e) {
3620
3618
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3621
3619
  }
3622
- function we(e, t = re().fallbackLocale) {
3623
- const r = vt(e);
3624
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
3620
+ function we(e, t = te().fallbackLocale) {
3621
+ const r = yt(e);
3622
+ return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
3625
3623
  }
3626
3624
  function X() {
3627
3625
  return Ze != null ? Ze : void 0;
@@ -3629,22 +3627,22 @@ function X() {
3629
3627
  ye.subscribe((e) => {
3630
3628
  Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3631
3629
  });
3632
- const oi = (e) => {
3633
- if (e && zn(e) && Xe(e)) {
3634
- const { loadingDelay: t } = re();
3630
+ const ii = (e) => {
3631
+ if (e && Vn(e) && Xe(e)) {
3632
+ const { loadingDelay: t } = te();
3635
3633
  let r;
3636
3634
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3637
3635
  () => Le.set(!0),
3638
3636
  t
3639
- ) : Le.set(!0), Yt(e).then(() => {
3637
+ ) : Le.set(!0), Qt(e).then(() => {
3640
3638
  ye.set(e);
3641
3639
  }).finally(() => {
3642
3640
  clearTimeout(r), Le.set(!1);
3643
3641
  });
3644
3642
  }
3645
3643
  return ye.set(e);
3646
- }, z = ii(ni({}, ye), {
3647
- set: oi
3644
+ }, z = ni(ri({}, ye), {
3645
+ set: ii
3648
3646
  }), He = (e) => {
3649
3647
  const t = /* @__PURE__ */ Object.create(null);
3650
3648
  return (n) => {
@@ -3652,77 +3650,77 @@ const oi = (e) => {
3652
3650
  return i in t ? t[i] : t[i] = e(n);
3653
3651
  };
3654
3652
  };
3655
- var si = Object.defineProperty, xe = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
3653
+ var oi = Object.defineProperty, xe = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3656
3654
  for (var r in t || (t = {}))
3657
- Kt.call(t, r) && Et(e, r, t[r]);
3655
+ qt.call(t, r) && xt(e, r, t[r]);
3658
3656
  if (xe)
3659
3657
  for (var r of xe(t))
3660
- er.call(t, r) && Et(e, r, t[r]);
3658
+ Yt.call(t, r) && xt(e, r, t[r]);
3661
3659
  return e;
3662
- }, oe = (e, t) => {
3660
+ }, ie = (e, t) => {
3663
3661
  var r = {};
3664
3662
  for (var n in e)
3665
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3663
+ qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3666
3664
  if (e != null && xe)
3667
3665
  for (var n of xe(e))
3668
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3666
+ t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
3669
3667
  return r;
3670
3668
  };
3671
- const he = (e, t) => {
3672
- const { formats: r } = re();
3669
+ const ue = (e, t) => {
3670
+ const { formats: r } = te();
3673
3671
  if (e in r && t in r[e])
3674
3672
  return r[e][t];
3675
3673
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3676
- }, ai = He(
3674
+ }, si = He(
3677
3675
  (e) => {
3678
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3676
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3679
3677
  if (r == null)
3680
3678
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3681
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3679
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3682
3680
  }
3683
- ), li = He(
3681
+ ), ai = He(
3684
3682
  (e) => {
3685
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3683
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3686
3684
  if (r == null)
3687
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3688
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3686
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3689
3687
  }
3690
- ), ui = He(
3688
+ ), li = He(
3691
3689
  (e) => {
3692
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3690
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3693
3691
  if (r == null)
3694
3692
  throw new Error(
3695
3693
  '[svelte-i18n] A "locale" must be set to format time values'
3696
3694
  );
3697
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3695
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3698
3696
  }
3699
3697
  ), hi = (e = {}) => {
3700
3698
  var t = e, {
3701
3699
  locale: r = X()
3702
- } = t, n = oe(t, [
3700
+ } = t, n = ie(t, [
3703
3701
  "locale"
3704
3702
  ]);
3705
- return ai(Ye({ locale: r }, n));
3706
- }, ci = (e = {}) => {
3703
+ return si(Qe({ locale: r }, n));
3704
+ }, ui = (e = {}) => {
3707
3705
  var t = e, {
3708
3706
  locale: r = X()
3709
- } = t, n = oe(t, [
3707
+ } = t, n = ie(t, [
3710
3708
  "locale"
3711
3709
  ]);
3712
- return li(Ye({ locale: r }, n));
3713
- }, fi = (e = {}) => {
3710
+ return ai(Qe({ locale: r }, n));
3711
+ }, ci = (e = {}) => {
3714
3712
  var t = e, {
3715
3713
  locale: r = X()
3716
- } = t, n = oe(t, [
3714
+ } = t, n = ie(t, [
3717
3715
  "locale"
3718
3716
  ]);
3719
- return ui(Ye({ locale: r }, n));
3720
- }, mi = He(
3717
+ return li(Qe({ locale: r }, n));
3718
+ }, fi = He(
3721
3719
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3722
- (e, t = X()) => new Fn(e, t, re().formats, {
3723
- ignoreTag: re().ignoreTag
3720
+ (e, t = X()) => new Un(e, t, te().formats, {
3721
+ ignoreTag: te().ignoreTag
3724
3722
  })
3725
- ), pi = (e, t = {}) => {
3723
+ ), mi = (e, t = {}) => {
3726
3724
  var r, n, i, o;
3727
3725
  let s = t;
3728
3726
  typeof e == "object" && (s = e, e = s.id);
@@ -3735,9 +3733,9 @@ const he = (e, t) => {
3735
3733
  throw new Error(
3736
3734
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3737
3735
  );
3738
- let h = Wt(e, u);
3736
+ let h = Xt(e, u);
3739
3737
  if (!h)
3740
- h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3738
+ h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3741
3739
  else if (typeof h != "string")
3742
3740
  return console.warn(
3743
3741
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3746,7 +3744,7 @@ const he = (e, t) => {
3746
3744
  return h;
3747
3745
  let c = h;
3748
3746
  try {
3749
- c = mi(h, u).format(a);
3747
+ c = fi(h, u).format(a);
3750
3748
  } catch (f) {
3751
3749
  f instanceof Error && console.warn(
3752
3750
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3754,20 +3752,20 @@ const he = (e, t) => {
3754
3752
  );
3755
3753
  }
3756
3754
  return c;
3757
- }, di = (e, t) => fi(t).format(e), bi = (e, t) => ci(t).format(e), gi = (e, t) => hi(t).format(e), yi = (e, t = X()) => Wt(e, t), xi = ne([z, ie], () => pi);
3758
- ne([z], () => di);
3759
- ne([z], () => bi);
3760
- ne([z], () => gi);
3761
- ne([z, ie], () => yi);
3762
- function vi({ withLocale: e, translations: t }) {
3755
+ }, pi = (e, t) => ci(t).format(e), di = (e, t) => ui(t).format(e), bi = (e, t) => hi(t).format(e), gi = (e, t = X()) => Xt(e, t), yi = re([z, ne], () => mi);
3756
+ re([z], () => pi);
3757
+ re([z], () => di);
3758
+ re([z], () => bi);
3759
+ re([z, ne], () => gi);
3760
+ function xi({ withLocale: e, translations: t }) {
3763
3761
  z.subscribe((r) => {
3764
- r == null && (ie.set(t), z.set(e));
3762
+ r == null && (ne.set(t), z.set(e));
3765
3763
  });
3766
3764
  }
3767
- function _t(e, t) {
3768
- Qt(e, t);
3765
+ function vt(e, t) {
3766
+ Wt(e, t);
3769
3767
  }
3770
- const St = {
3768
+ const Et = {
3771
3769
  en: {
3772
3770
  sortby: "Sort by:",
3773
3771
  all: "All",
@@ -3895,83 +3893,83 @@ const St = {
3895
3893
  hottest: "Hottest"
3896
3894
  }
3897
3895
  };
3898
- function Ei(e) {
3899
- lr(e, "svelte-54zse8", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
3896
+ function vi(e) {
3897
+ sr(e, "svelte-54zse8", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
3900
3898
  }
3901
- function wt(e, t, r) {
3899
+ function _t(e, t, r) {
3902
3900
  const n = e.slice();
3903
3901
  return n[23] = t[r], n;
3904
3902
  }
3905
- function _i(e) {
3903
+ function Ei(e) {
3906
3904
  let t, r, n, i, o, s, a, u, l, h, c, f = (
3907
3905
  /*$_*/
3908
3906
  e[4]("sortby") + ""
3909
- ), p, g, E, N, P = (
3907
+ ), p, b, S, w, M = (
3910
3908
  /*vendorSortingBy*/
3911
3909
  (e[3] || /*$_*/
3912
3910
  e[4]("all")) + ""
3913
- ), M, B, C, H, L, U, Z, d, w, $, me, Ae, Ke, W = lt(Object.values(
3911
+ ), C, N, I, T, L, U, d, H, $, oe, me, Ae, qe, Z = st(Object.values(
3914
3912
  /*vendorMap*/
3915
3913
  e[5]
3916
- )), O = [];
3917
- for (let S = 0; S < W.length; S += 1)
3918
- O[S] = Ht(wt(e, W, S));
3914
+ )), P = [];
3915
+ for (let _ = 0; _ < Z.length; _ += 1)
3916
+ P[_] = St(_t(e, Z, _));
3919
3917
  return {
3920
3918
  c() {
3921
- t = A("div"), r = A("div"), n = A("div"), i = k("svg"), o = k("g"), s = k("path"), a = k("path"), u = k("path"), l = V(), h = A("div"), c = A("span"), p = Me(f), g = V(), E = A("div"), N = A("span"), M = Me(P), B = V(), C = A("span"), H = k("svg"), L = k("path"), d = V(), w = A("div"), $ = A("ul");
3922
- for (let S = 0; S < O.length; S += 1)
3923
- O[S].c();
3924
- m(s, "id", "Path_5267"), m(s, "data-name", "Path 5267"), m(s, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), m(s, "transform", "translate(-206.448 0)"), m(s, "fill", "#fff"), m(a, "id", "Path_5268"), m(a, "data-name", "Path 5268"), m(a, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), m(a, "transform", "translate(0 0)"), m(a, "fill", "#fff"), m(u, "id", "Path_5269"), m(u, "data-name", "Path 5269"), m(u, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), m(u, "transform", "translate(-412.896 0)"), m(u, "fill", "#fff"), m(o, "id", "sortby"), m(o, "transform", "translate(-306 -342)"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "20"), m(i, "height", "20"), m(i, "viewBox", "0 0 26.003 22.819"), m(c, "class", "SorterName"), m(E, "class", "SorterValueContainer"), m(h, "class", "SorterTextContainer"), m(n, "class", "SorterMainArea"), m(L, "id", "arrow"), m(L, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(L, "transform", "translate(-274.511 -441.088)"), m(L, "fill", "#d1d1d1"), m(H, "xmlns", "http://www.w3.org/2000/svg"), m(H, "width", "14"), m(H, "height", "6.835"), m(H, "viewBox", "0 0 14 6.835"), m(C, "class", U = "TriangleInactive " + /*isSorterActive*/
3925
- (e[1] ? "TriangleActive" : "")), m(r, "class", Z = "SorterSelector " + /*isSorterActive*/
3926
- (e[1] ? "SorterSelectorOpen" : "")), m($, "class", "SorterDropdown"), m(w, "class", me = "SorterDropdownContainer " + /*isSorterActive*/
3919
+ t = A("div"), r = A("div"), n = A("div"), i = k("svg"), o = k("g"), s = k("path"), a = k("path"), u = k("path"), l = V(), h = A("div"), c = A("span"), p = Me(f), b = V(), S = A("div"), w = A("span"), C = Me(M), N = V(), I = A("span"), T = k("svg"), L = k("path"), H = V(), $ = A("div"), oe = A("ul");
3920
+ for (let _ = 0; _ < P.length; _ += 1)
3921
+ P[_].c();
3922
+ m(s, "id", "Path_5267"), m(s, "data-name", "Path 5267"), m(s, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), m(s, "transform", "translate(-206.448 0)"), m(s, "fill", "#fff"), m(a, "id", "Path_5268"), m(a, "data-name", "Path 5268"), m(a, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), m(a, "transform", "translate(0 0)"), m(a, "fill", "#fff"), m(u, "id", "Path_5269"), m(u, "data-name", "Path 5269"), m(u, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), m(u, "transform", "translate(-412.896 0)"), m(u, "fill", "#fff"), m(o, "id", "sortby"), m(o, "transform", "translate(-306 -342)"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "20"), m(i, "height", "20"), m(i, "viewBox", "0 0 26.003 22.819"), m(c, "class", "SorterName"), m(S, "class", "SorterValueContainer"), m(h, "class", "SorterTextContainer"), m(n, "class", "SorterMainArea"), m(L, "id", "arrow"), m(L, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(L, "transform", "translate(-274.511 -441.088)"), m(L, "fill", "#d1d1d1"), m(T, "xmlns", "http://www.w3.org/2000/svg"), m(T, "width", "14"), m(T, "height", "6.835"), m(T, "viewBox", "0 0 14 6.835"), m(I, "class", U = "TriangleInactive " + /*isSorterActive*/
3923
+ (e[1] ? "TriangleActive" : "")), m(r, "class", d = "SorterSelector " + /*isSorterActive*/
3924
+ (e[1] ? "SorterSelectorOpen" : "")), m(oe, "class", "SorterDropdown"), m($, "class", me = "SorterDropdownContainer " + /*isSorterActive*/
3927
3925
  (e[1] ? "SorterOpen" : "")), m(t, "class", "SorterContainer");
3928
3926
  },
3929
- m(S, F) {
3930
- ve(S, t, F), v(t, r), v(r, n), v(n, i), v(i, o), v(o, s), v(o, a), v(o, u), v(n, l), v(n, h), v(h, c), v(c, p), v(h, g), v(h, E), v(E, N), v(N, M), v(r, B), v(r, C), v(C, H), v(H, L), v(t, d), v(t, w), v(w, $);
3931
- for (let T = 0; T < O.length; T += 1)
3932
- O[T] && O[T].m($, null);
3933
- Ae || (Ke = Nt(
3927
+ m(_, F) {
3928
+ ve(_, t, F), v(t, r), v(r, n), v(n, i), v(i, o), v(o, s), v(o, a), v(o, u), v(n, l), v(n, h), v(h, c), v(c, p), v(h, b), v(h, S), v(S, w), v(w, C), v(r, N), v(r, I), v(I, T), v(T, L), v(t, H), v(t, $), v($, oe);
3929
+ for (let B = 0; B < P.length; B += 1)
3930
+ P[B] && P[B].m(oe, null);
3931
+ Ae || (qe = Tt(
3934
3932
  r,
3935
3933
  "click",
3936
3934
  /*click_handler*/
3937
3935
  e[14]
3938
3936
  ), Ae = !0);
3939
3937
  },
3940
- p(S, F) {
3938
+ p(_, F) {
3941
3939
  if (F & /*$_*/
3942
3940
  16 && f !== (f = /*$_*/
3943
- S[4]("sortby") + "") && st(p, f), F & /*vendorSortingBy, $_*/
3944
- 24 && P !== (P = /*vendorSortingBy*/
3945
- (S[3] || /*$_*/
3946
- S[4]("all")) + "") && st(M, P), F & /*isSorterActive*/
3941
+ _[4]("sortby") + "") && it(p, f), F & /*vendorSortingBy, $_*/
3942
+ 24 && M !== (M = /*vendorSortingBy*/
3943
+ (_[3] || /*$_*/
3944
+ _[4]("all")) + "") && it(C, M), F & /*isSorterActive*/
3947
3945
  2 && U !== (U = "TriangleInactive " + /*isSorterActive*/
3948
- (S[1] ? "TriangleActive" : "")) && m(C, "class", U), F & /*isSorterActive*/
3949
- 2 && Z !== (Z = "SorterSelector " + /*isSorterActive*/
3950
- (S[1] ? "SorterSelectorOpen" : "")) && m(r, "class", Z), F & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
3946
+ (_[1] ? "TriangleActive" : "")) && m(I, "class", U), F & /*isSorterActive*/
3947
+ 2 && d !== (d = "SorterSelector " + /*isSorterActive*/
3948
+ (_[1] ? "SorterSelectorOpen" : "")) && m(r, "class", d), F & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
3951
3949
  120) {
3952
- W = lt(Object.values(
3950
+ Z = st(Object.values(
3953
3951
  /*vendorMap*/
3954
- S[5]
3952
+ _[5]
3955
3953
  ));
3956
- let T;
3957
- for (T = 0; T < W.length; T += 1) {
3958
- const et = wt(S, W, T);
3959
- O[T] ? O[T].p(et, F) : (O[T] = Ht(et), O[T].c(), O[T].m($, null));
3954
+ let B;
3955
+ for (B = 0; B < Z.length; B += 1) {
3956
+ const Ye = _t(_, Z, B);
3957
+ P[B] ? P[B].p(Ye, F) : (P[B] = St(Ye), P[B].c(), P[B].m(oe, null));
3960
3958
  }
3961
- for (; T < O.length; T += 1)
3962
- O[T].d(1);
3963
- O.length = W.length;
3959
+ for (; B < P.length; B += 1)
3960
+ P[B].d(1);
3961
+ P.length = Z.length;
3964
3962
  }
3965
3963
  F & /*isSorterActive*/
3966
3964
  2 && me !== (me = "SorterDropdownContainer " + /*isSorterActive*/
3967
- (S[1] ? "SorterOpen" : "")) && m(w, "class", me);
3965
+ (_[1] ? "SorterOpen" : "")) && m($, "class", me);
3968
3966
  },
3969
- d(S) {
3970
- S && fe(t), cr(O, S), Ae = !1, Ke();
3967
+ d(_) {
3968
+ _ && fe(t), hr(P, _), Ae = !1, qe();
3971
3969
  }
3972
3970
  };
3973
3971
  }
3974
- function Ht(e) {
3972
+ function St(e) {
3975
3973
  let t, r, n, i, o, s, a, u, l, h, c;
3976
3974
  function f() {
3977
3975
  return (
@@ -3996,11 +3994,11 @@ function Ht(e) {
3996
3994
  ), m(s, "class", "SortersCheckmark"), m(r, "class", "SorterLabel CustomRadioButton"), m(t, "class", "SorterItem"), t.value = /*sort*/
3997
3995
  e[23];
3998
3996
  },
3999
- m(p, g) {
4000
- ve(p, t, g), v(t, r), v(r, n), v(r, o), v(r, s), v(r, a), v(r, u), v(t, l), h || (c = Nt(n, "click", f), h = !0);
3997
+ m(p, b) {
3998
+ ve(p, t, b), v(t, r), v(r, n), v(r, o), v(r, s), v(r, a), v(r, u), v(t, l), h || (c = Tt(n, "click", f), h = !0);
4001
3999
  },
4002
- p(p, g) {
4003
- e = p, g & /*vendorSortingBy, $_*/
4000
+ p(p, b) {
4001
+ e = p, b & /*vendorSortingBy, $_*/
4004
4002
  24 && i !== (i = /*vendorSortingBy*/
4005
4003
  e[3] == /*sort*/
4006
4004
  e[23] ? !0 : (
@@ -4015,12 +4013,12 @@ function Ht(e) {
4015
4013
  }
4016
4014
  };
4017
4015
  }
4018
- function Si(e) {
4016
+ function _i(e) {
4019
4017
  let t;
4020
4018
  function r(o, s) {
4021
4019
  if (!/*isLoading*/
4022
4020
  o[2])
4023
- return _i;
4021
+ return Ei;
4024
4022
  }
4025
4023
  let n = r(e), i = n && n(e);
4026
4024
  return {
@@ -4040,62 +4038,62 @@ function Si(e) {
4040
4038
  }
4041
4039
  };
4042
4040
  }
4043
- function wi(e, t, r) {
4041
+ function Si(e, t, r) {
4044
4042
  let n;
4045
- ar(e, xi, (d) => r(4, n = d));
4046
- let { lang: i = "" } = t, { translationurl: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { categoryid: u = "" } = t, { mbsource: l } = t, h, c, f = !1, p = !0, g = "", E = "All";
4047
- vi({ withLocale: "en", translations: {} });
4048
- const N = () => {
4049
- fetch(o).then((w) => w.json()).then((w) => {
4050
- Object.keys(w).forEach(($) => {
4051
- _t($, w[$]);
4043
+ or(e, yi, (d) => r(4, n = d));
4044
+ let { lang: i = "" } = t, { translationurl: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { categoryid: u = "" } = t, { mbsource: l } = t, h, c = !1, f = !0, p = "", b = "All";
4045
+ xi({ withLocale: "en", translations: {} });
4046
+ const S = () => {
4047
+ fetch(o).then((H) => H.json()).then((H) => {
4048
+ Object.keys(H).forEach(($) => {
4049
+ vt($, H[$]);
4052
4050
  });
4053
- }).catch((w) => {
4054
- console.log(w);
4051
+ }).catch((H) => {
4052
+ console.log(H);
4055
4053
  });
4056
4054
  };
4057
- Object.keys(St).forEach((d) => {
4058
- _t(d, St[d]);
4055
+ Object.keys(Et).forEach((d) => {
4056
+ vt(d, Et[d]);
4059
4057
  });
4060
- const P = {
4058
+ const w = {
4061
4059
  All: n("all"),
4062
4060
  name: n("az"),
4063
4061
  isNew: n("newest"),
4064
4062
  "advancedTags(name(hot))": n("hottest")
4065
4063
  }, M = () => {
4066
- var w;
4067
- r(3, E = "All"), r(2, p = !1), r(1, f = !1);
4068
- let d = (w = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : w[u];
4069
- d ? r(3, E = d) : r(3, E = "All"), r(3, E = P[d]);
4070
- }, B = (d) => {
4071
- r(3, E = d);
4072
- let w = localStorage.getItem("vendorSortingBy");
4073
- g = d;
4074
- for (let $ in P)
4075
- if (P[$] === d) {
4076
- g = $;
4064
+ var H;
4065
+ r(3, b = "All"), r(2, f = !1), r(1, c = !1);
4066
+ let d = (H = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : H[u];
4067
+ d ? r(3, b = d) : r(3, b = "All"), r(3, b = w[d]);
4068
+ }, C = (d) => {
4069
+ r(3, b = d);
4070
+ let H = localStorage.getItem("vendorSortingBy");
4071
+ p = d;
4072
+ for (let $ in w)
4073
+ if (w[$] === d) {
4074
+ p = $;
4077
4075
  break;
4078
4076
  }
4079
- w == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [u]: g })) : (w = JSON.parse(w), w[u] = g, localStorage.setItem("vendorSortingBy", JSON.stringify(w))), window.postMessage(
4077
+ H == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [u]: p })) : (H = JSON.parse(H), H[u] = p, localStorage.setItem("vendorSortingBy", JSON.stringify(H))), window.postMessage(
4080
4078
  {
4081
4079
  type: "ApplySorter",
4082
- sortBy: g,
4080
+ sortBy: p,
4083
4081
  itemId: u
4084
4082
  },
4085
4083
  window.location.href
4086
- ), r(1, f = !f);
4087
- }, C = () => {
4088
- r(1, f = !f), window.postMessage({ type: "SortingOpened" }, window.location.href);
4089
- }, H = (d) => {
4090
- d.data.type == "FilterOpened" && r(1, f = !1);
4084
+ ), r(1, c = !c);
4085
+ }, N = () => {
4086
+ r(1, c = !c), window.postMessage({ type: "SortingOpened" }, window.location.href);
4087
+ }, I = (d) => {
4088
+ d.data.type == "FilterOpened" && r(1, c = !1);
4091
4089
  };
4092
- dr(() => (window.addEventListener("message", H, !1), () => {
4093
- window.emMessageBus != null && h && h.unsubscribe(), window.removeEventListener("message", H);
4090
+ mr(() => (window.addEventListener("message", I, !1), () => {
4091
+ window.removeEventListener("message", I);
4094
4092
  }));
4095
- const L = () => C(), U = (d) => B(d);
4096
- function Z(d) {
4093
+ const T = () => N(), L = (d) => C(d);
4094
+ function U(d) {
4097
4095
  Re[d ? "unshift" : "push"](() => {
4098
- c = d, r(0, c);
4096
+ h = d, r(0, h);
4099
4097
  });
4100
4098
  }
4101
4099
  return e.$$set = (d) => {
@@ -4103,38 +4101,38 @@ function wi(e, t, r) {
4103
4101
  }, e.$$.update = () => {
4104
4102
  e.$$.dirty & /*categoryid*/
4105
4103
  4096 && u && M(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4106
- 1025 && s && c && Nr(c, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4107
- 2049 && a && c && Pr(c, a), e.$$.dirty & /*customStylingContainer, mbsource*/
4108
- 8193 && c && Or(c, `${l}.Style`), e.$$.dirty & /*translationurl*/
4109
- 512 && o && N();
4104
+ 1025 && s && h && Tr(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4105
+ 2049 && a && h && Br(h, a), e.$$.dirty & /*customStylingContainer, mbsource*/
4106
+ 8193 && h && Nr(h, `${l}.Style`), e.$$.dirty & /*translationurl*/
4107
+ 512 && o && S();
4110
4108
  }, [
4109
+ h,
4111
4110
  c,
4112
4111
  f,
4113
- p,
4114
- E,
4112
+ b,
4115
4113
  n,
4116
- P,
4117
- B,
4114
+ w,
4118
4115
  C,
4116
+ N,
4119
4117
  i,
4120
4118
  o,
4121
4119
  s,
4122
4120
  a,
4123
4121
  u,
4124
4122
  l,
4123
+ T,
4125
4124
  L,
4126
- U,
4127
- Z
4125
+ U
4128
4126
  ];
4129
4127
  }
4130
- class Hi extends Tr {
4128
+ class wi extends Hr {
4131
4129
  constructor(t) {
4132
- super(), Hr(
4130
+ super(), Sr(
4133
4131
  this,
4134
4132
  t,
4135
- wi,
4136
4133
  Si,
4137
- Tt,
4134
+ _i,
4135
+ Ht,
4138
4136
  {
4139
4137
  lang: 8,
4140
4138
  translationurl: 9,
@@ -4143,7 +4141,7 @@ class Hi extends Tr {
4143
4141
  categoryid: 12,
4144
4142
  mbsource: 13
4145
4143
  },
4146
- Ei
4144
+ vi
4147
4145
  );
4148
4146
  }
4149
4147
  get lang() {
@@ -4183,7 +4181,7 @@ class Hi extends Tr {
4183
4181
  this.$$set({ mbsource: t }), G();
4184
4182
  }
4185
4183
  }
4186
- Ar(Hi, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
4184
+ wr(wi, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
4187
4185
  export {
4188
- Hi as default
4186
+ wi as default
4189
4187
  };