@everymatrix/casino-sort 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function $() {
2
2
  }
3
- function yt(e) {
3
+ function vt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Ke() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ue(e) {
10
- e.forEach(yt);
9
+ function he(e) {
10
+ e.forEach(vt);
11
11
  }
12
12
  function Xe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function xt(e, t) {
15
+ function Et(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Zt(e) {
18
+ function Jt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function vt(e, ...t) {
21
+ function _t(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function vt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Wt(e, t, r) {
31
- e.$$.on_destroy.push(vt(t, r));
30
+ function Qt(e, t, r) {
31
+ e.$$.on_destroy.push(_t(t, r));
32
32
  }
33
33
  function v(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Jt(e, t, r) {
37
- const n = Qt(e);
36
+ function qt(e, t, r) {
37
+ const n = Yt(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = A("style");
40
- i.id = t, i.textContent = r, qt(n, i);
40
+ i.id = t, i.textContent = r, Kt(n, i);
41
41
  }
42
42
  }
43
- function Qt(e) {
43
+ function Yt(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,7 +49,7 @@ function Qt(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function qt(e, t) {
52
+ function Kt(e, t) {
53
53
  return v(
54
54
  /** @type {Document} */
55
55
  e.head || e,
@@ -62,14 +62,14 @@ function xe(e, t, r) {
62
62
  function ce(e) {
63
63
  e.parentNode && e.parentNode.removeChild(e);
64
64
  }
65
- function Yt(e, t) {
65
+ function er(e, t) {
66
66
  for (let r = 0; r < e.length; r += 1)
67
67
  e[r] && e[r].d(t);
68
68
  }
69
69
  function A(e) {
70
70
  return document.createElement(e);
71
71
  }
72
- function G(e) {
72
+ function j(e) {
73
73
  return document.createElementNS("http://www.w3.org/2000/svg", e);
74
74
  }
75
75
  function Ce(e) {
@@ -78,20 +78,20 @@ function Ce(e) {
78
78
  function k() {
79
79
  return Ce(" ");
80
80
  }
81
- function Et(e, t, r, n) {
81
+ function St(e, t, r, n) {
82
82
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
83
83
  }
84
- function p(e, t, r) {
84
+ function m(e, t, r) {
85
85
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
86
86
  }
87
- function Kt(e) {
87
+ function tr(e) {
88
88
  return Array.from(e.childNodes);
89
89
  }
90
- function Ye(e, t) {
90
+ function et(e, t) {
91
91
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
92
92
  t);
93
93
  }
94
- function er(e) {
94
+ function rr(e) {
95
95
  const t = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -104,26 +104,26 @@ let ae;
104
104
  function se(e) {
105
105
  ae = e;
106
106
  }
107
- function tr() {
107
+ function nr() {
108
108
  if (!ae) throw new Error("Function called outside component initialization");
109
109
  return ae;
110
110
  }
111
- function rr(e) {
112
- tr().$$.on_mount.push(e);
111
+ function ir(e) {
112
+ nr().$$.on_mount.push(e);
113
113
  }
114
114
  const Q = [], Le = [];
115
115
  let q = [];
116
- const Ke = [], nr = /* @__PURE__ */ Promise.resolve();
116
+ const tt = [], or = /* @__PURE__ */ Promise.resolve();
117
117
  let Me = !1;
118
- function ir() {
119
- Me || (Me = !0, nr.then(j));
118
+ function sr() {
119
+ Me || (Me = !0, or.then(F));
120
120
  }
121
121
  function Re(e) {
122
122
  q.push(e);
123
123
  }
124
124
  const Ae = /* @__PURE__ */ new Set();
125
125
  let W = 0;
126
- function j() {
126
+ function F() {
127
127
  if (W !== 0)
128
128
  return;
129
129
  const e = ae;
@@ -131,7 +131,7 @@ function j() {
131
131
  try {
132
132
  for (; W < Q.length; ) {
133
133
  const t = Q[W];
134
- W++, se(t), or(t.$$);
134
+ W++, se(t), ar(t.$$);
135
135
  }
136
136
  } catch (t) {
137
137
  throw Q.length = 0, W = 0, t;
@@ -143,44 +143,44 @@ function j() {
143
143
  }
144
144
  q.length = 0;
145
145
  } while (Q.length);
146
- for (; Ke.length; )
147
- Ke.pop()();
146
+ for (; tt.length; )
147
+ tt.pop()();
148
148
  Me = !1, Ae.clear(), se(e);
149
149
  }
150
- function or(e) {
150
+ function ar(e) {
151
151
  if (e.fragment !== null) {
152
- e.update(), ue(e.before_update);
152
+ e.update(), he(e.before_update);
153
153
  const t = e.dirty;
154
154
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
155
155
  }
156
156
  }
157
- function sr(e) {
157
+ function lr(e) {
158
158
  const t = [], r = [];
159
159
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
160
160
  }
161
- const ar = /* @__PURE__ */ new Set();
162
- function lr(e, t) {
163
- e && e.i && (ar.delete(e), e.i(t));
161
+ const ur = /* @__PURE__ */ new Set();
162
+ function hr(e, t) {
163
+ e && e.i && (ur.delete(e), e.i(t));
164
164
  }
165
- function et(e) {
165
+ function rt(e) {
166
166
  return e?.length !== void 0 ? e : Array.from(e);
167
167
  }
168
- function hr(e, t, r) {
168
+ function cr(e, t, r) {
169
169
  const { fragment: n, after_update: i } = e.$$;
170
170
  n && n.m(t, r), Re(() => {
171
- const o = e.$$.on_mount.map(yt).filter(Xe);
172
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
171
+ const o = e.$$.on_mount.map(vt).filter(Xe);
172
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
173
173
  }), i.forEach(Re);
174
174
  }
175
- function ur(e, t) {
175
+ function fr(e, t) {
176
176
  const r = e.$$;
177
- r.fragment !== null && (sr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
+ r.fragment !== null && (lr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
178
178
  }
179
- function cr(e, t) {
180
- e.$$.dirty[0] === -1 && (Q.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
179
+ function mr(e, t) {
180
+ e.$$.dirty[0] === -1 && (Q.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
181
181
  }
182
- function fr(e, t, r, n, i, o, s = null, a = [-1]) {
183
- const u = ae;
182
+ function pr(e, t, r, n, i, o, s = null, a = [-1]) {
183
+ const h = ae;
184
184
  se(e);
185
185
  const l = e.$$ = {
186
186
  fragment: null,
@@ -189,37 +189,37 @@ function fr(e, t, r, n, i, o, s = null, a = [-1]) {
189
189
  props: o,
190
190
  update: $,
191
191
  not_equal: i,
192
- bound: qe(),
192
+ bound: Ke(),
193
193
  // lifecycle
194
194
  on_mount: [],
195
195
  on_destroy: [],
196
196
  on_disconnect: [],
197
197
  before_update: [],
198
198
  after_update: [],
199
- context: new Map(t.context || (u ? u.$$.context : [])),
199
+ context: new Map(t.context || (h ? h.$$.context : [])),
200
200
  // everything else
201
- callbacks: qe(),
201
+ callbacks: Ke(),
202
202
  dirty: a,
203
203
  skip_bound: !1,
204
- root: t.target || u.$$.root
204
+ root: t.target || h.$$.root
205
205
  };
206
206
  s && s(l.root);
207
- let h = !1;
208
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
209
- const x = m.length ? m[0] : c;
210
- return l.ctx && i(l.ctx[f], l.ctx[f] = x) && (!l.skip_bound && l.bound[f] && l.bound[f](x), h && cr(e, f)), c;
211
- }) : [], l.update(), h = !0, ue(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
207
+ let u = !1;
208
+ if (l.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
209
+ const g = p.length ? p[0] : f;
210
+ return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && mr(e, c)), f;
211
+ }) : [], l.update(), u = !0, he(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
212
212
  if (t.hydrate) {
213
- const f = Kt(t.target);
214
- l.fragment && l.fragment.l(f), f.forEach(ce);
213
+ const c = tr(t.target);
214
+ l.fragment && l.fragment.l(c), c.forEach(ce);
215
215
  } else
216
216
  l.fragment && l.fragment.c();
217
- t.intro && lr(e.$$.fragment), hr(e, t.target, t.anchor), j();
217
+ t.intro && hr(e.$$.fragment), cr(e, t.target, t.anchor), F();
218
218
  }
219
- se(u);
219
+ se(h);
220
220
  }
221
- let _t;
222
- typeof HTMLElement == "function" && (_t = class extends HTMLElement {
221
+ let wt;
222
+ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
223
223
  /** The Svelte component constructor */
224
224
  $$ctor;
225
225
  /** Slots */
@@ -261,29 +261,29 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
261
261
  let o;
262
262
  return {
263
263
  c: function() {
264
- o = A("slot"), i !== "default" && p(o, "name", i);
264
+ o = A("slot"), i !== "default" && m(o, "name", i);
265
265
  },
266
266
  /**
267
267
  * @param {HTMLElement} target
268
268
  * @param {HTMLElement} [anchor]
269
269
  */
270
- m: function(u, l) {
271
- xe(u, o, l);
270
+ m: function(h, l) {
271
+ xe(h, o, l);
272
272
  },
273
- d: function(u) {
274
- u && ce(o);
273
+ d: function(h) {
274
+ h && ce(o);
275
275
  }
276
276
  };
277
277
  };
278
278
  };
279
279
  if (await Promise.resolve(), !this.$$cn || this.$$c)
280
280
  return;
281
- const t = {}, r = er(this);
281
+ const t = {}, r = rr(this);
282
282
  for (const i of this.$$s)
283
283
  i in r && (t[i] = [e(i)]);
284
284
  for (const i of this.attributes) {
285
285
  const o = this.$$g_p(i.name);
286
- o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
286
+ o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
287
287
  }
288
288
  for (const i in this.$$p_d)
289
289
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -301,7 +301,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
301
301
  this.$$r = !0;
302
302
  for (const i in this.$$p_d)
303
303
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
304
- const o = me(
304
+ const o = pe(
305
305
  i,
306
306
  this.$$d[i],
307
307
  this.$$p_d,
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
323
323
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
324
324
  // and setting attributes through setAttribute etc, this is helpful
325
325
  attributeChangedCallback(e, t, r) {
326
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
326
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
327
327
  }
328
328
  disconnectedCallback() {
329
329
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -336,7 +336,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
336
336
  ) || e;
337
337
  }
338
338
  });
339
- function me(e, t, r, n) {
339
+ function pe(e, t, r, n) {
340
340
  const i = r[e]?.type;
341
341
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
342
342
  return t;
@@ -365,8 +365,8 @@ function me(e, t, r, n) {
365
365
  return t;
366
366
  }
367
367
  }
368
- function pr(e, t, r, n, i, o) {
369
- let s = class extends _t {
368
+ function dr(e, t, r, n, i, o) {
369
+ let s = class extends wt {
370
370
  constructor() {
371
371
  super(e, r, i), this.$$p_d = t;
372
372
  }
@@ -381,8 +381,8 @@ function pr(e, t, r, n, i, o) {
381
381
  get() {
382
382
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
383
383
  },
384
- set(u) {
385
- u = me(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
384
+ set(h) {
385
+ h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
386
386
  }
387
387
  });
388
388
  }), n.forEach((a) => {
@@ -394,7 +394,7 @@ function pr(e, t, r, n, i, o) {
394
394
  }), e.element = /** @type {any} */
395
395
  s, s;
396
396
  }
397
- class mr {
397
+ class br {
398
398
  /**
399
399
  * ### PRIVATE API
400
400
  *
@@ -413,7 +413,7 @@ class mr {
413
413
  $$set = void 0;
414
414
  /** @returns {void} */
415
415
  $destroy() {
416
- ur(this, 1), this.$destroy = $;
416
+ fr(this, 1), this.$destroy = $;
417
417
  }
418
418
  /**
419
419
  * @template {Extract<keyof Events, string>} K
@@ -435,13 +435,36 @@ class mr {
435
435
  * @returns {void}
436
436
  */
437
437
  $set(t) {
438
- this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
+ this.$$set && !Jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
439
+ }
440
+ }
441
+ const gr = "4";
442
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gr);
443
+ function yr(e, t) {
444
+ if (e) {
445
+ const r = document.createElement("style");
446
+ r.innerHTML = t, e.appendChild(r);
447
+ }
448
+ }
449
+ function xr(e, t) {
450
+ const r = new URL(t);
451
+ fetch(r.href).then((n) => n.text()).then((n) => {
452
+ const i = document.createElement("style");
453
+ i.innerHTML = n, e && e.appendChild(i);
454
+ }).catch((n) => {
455
+ console.error("There was an error while trying to load client styling from URL", n);
456
+ });
457
+ }
458
+ function vr(e, t, r) {
459
+ if (window.emMessageBus) {
460
+ const n = document.createElement("style");
461
+ window.emMessageBus.subscribe(t, (i) => {
462
+ n.innerHTML = i, e && e.appendChild(n);
463
+ });
439
464
  }
440
465
  }
441
- const dr = "4";
442
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
443
466
  const J = [];
444
- function br(e, t) {
467
+ function Er(e, t) {
445
468
  return {
446
469
  subscribe: ve(e, t).subscribe
447
470
  };
@@ -450,11 +473,11 @@ function ve(e, t = $) {
450
473
  let r;
451
474
  const n = /* @__PURE__ */ new Set();
452
475
  function i(a) {
453
- if (xt(e, a) && (e = a, r)) {
454
- const u = !J.length;
476
+ if (Et(e, a) && (e = a, r)) {
477
+ const h = !J.length;
455
478
  for (const l of n)
456
479
  l[1](), J.push(l, e);
457
- if (u) {
480
+ if (h) {
458
481
  for (let l = 0; l < J.length; l += 2)
459
482
  J[l][0](J[l + 1]);
460
483
  J.length = 0;
@@ -464,8 +487,8 @@ function ve(e, t = $) {
464
487
  function o(a) {
465
488
  i(a(e));
466
489
  }
467
- function s(a, u = $) {
468
- const l = [a, u];
490
+ function s(a, h = $) {
491
+ const l = [a, h];
469
492
  return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
470
493
  n.delete(l), n.size === 0 && r && (r(), r = null);
471
494
  };
@@ -477,96 +500,96 @@ function re(e, t, r) {
477
500
  if (!i.every(Boolean))
478
501
  throw new Error("derived() expects stores as input, got a falsy value");
479
502
  const o = t.length < 2;
480
- return br(r, (s, a) => {
481
- let u = !1;
503
+ return Er(r, (s, a) => {
504
+ let h = !1;
482
505
  const l = [];
483
- let h = 0, f = $;
484
- const c = () => {
485
- if (h)
506
+ let u = 0, c = $;
507
+ const f = () => {
508
+ if (u)
486
509
  return;
487
- f();
488
- const x = t(n ? l[0] : l, s, a);
489
- o ? s(x) : f = Xe(x) ? x : $;
490
- }, m = i.map(
491
- (x, E) => vt(
492
- x,
510
+ c();
511
+ const g = t(n ? l[0] : l, s, a);
512
+ o ? s(g) : c = Xe(g) ? g : $;
513
+ }, p = i.map(
514
+ (g, E) => _t(
515
+ g,
493
516
  (N) => {
494
- l[E] = N, h &= ~(1 << E), u && c();
517
+ l[E] = N, u &= ~(1 << E), h && f();
495
518
  },
496
519
  () => {
497
- h |= 1 << E;
520
+ u |= 1 << E;
498
521
  }
499
522
  )
500
523
  );
501
- return u = !0, c(), function() {
502
- ue(m), f(), u = !1;
524
+ return h = !0, f(), function() {
525
+ he(p), c(), h = !1;
503
526
  };
504
527
  });
505
528
  }
506
- function gr(e) {
529
+ function _r(e) {
507
530
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
508
531
  }
509
- var yr = function(t) {
510
- return xr(t) && !vr(t);
532
+ var Sr = function(t) {
533
+ return wr(t) && !Hr(t);
511
534
  };
512
- function xr(e) {
535
+ function wr(e) {
513
536
  return !!e && typeof e == "object";
514
537
  }
515
- function vr(e) {
538
+ function Hr(e) {
516
539
  var t = Object.prototype.toString.call(e);
517
- return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
540
+ return t === "[object RegExp]" || t === "[object Date]" || Br(e);
518
541
  }
519
- var Er = typeof Symbol == "function" && Symbol.for, _r = Er ? Symbol.for("react.element") : 60103;
520
- function Sr(e) {
521
- return e.$$typeof === _r;
542
+ var Ar = typeof Symbol == "function" && Symbol.for, Tr = Ar ? Symbol.for("react.element") : 60103;
543
+ function Br(e) {
544
+ return e.$$typeof === Tr;
522
545
  }
523
- function wr(e) {
546
+ function Nr(e) {
524
547
  return Array.isArray(e) ? [] : {};
525
548
  }
526
549
  function le(e, t) {
527
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(wr(e), e, t) : e;
550
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(Nr(e), e, t) : e;
528
551
  }
529
- function Hr(e, t, r) {
552
+ function Pr(e, t, r) {
530
553
  return e.concat(t).map(function(n) {
531
554
  return le(n, r);
532
555
  });
533
556
  }
534
- function Ar(e, t) {
557
+ function Or(e, t) {
535
558
  if (!t.customMerge)
536
559
  return Y;
537
560
  var r = t.customMerge(e);
538
561
  return typeof r == "function" ? r : Y;
539
562
  }
540
- function Tr(e) {
563
+ function Ir(e) {
541
564
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
542
565
  return Object.propertyIsEnumerable.call(e, t);
543
566
  }) : [];
544
567
  }
545
- function tt(e) {
546
- return Object.keys(e).concat(Tr(e));
568
+ function nt(e) {
569
+ return Object.keys(e).concat(Ir(e));
547
570
  }
548
- function St(e, t) {
571
+ function Ht(e, t) {
549
572
  try {
550
573
  return t in e;
551
574
  } catch {
552
575
  return !1;
553
576
  }
554
577
  }
555
- function Br(e, t) {
556
- return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
578
+ function Cr(e, t) {
579
+ return Ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
557
580
  }
558
- function Nr(e, t, r) {
581
+ function Lr(e, t, r) {
559
582
  var n = {};
560
- return r.isMergeableObject(e) && tt(e).forEach(function(i) {
583
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
561
584
  n[i] = le(e[i], r);
562
- }), tt(t).forEach(function(i) {
563
- Br(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ar(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
585
+ }), nt(t).forEach(function(i) {
586
+ Cr(e, i) || (Ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = Or(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
564
587
  }), n;
565
588
  }
566
589
  function Y(e, t, r) {
567
- r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = le;
590
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || Sr, r.cloneUnlessOtherwiseSpecified = le;
568
591
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
569
- return o ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : le(t, r);
592
+ return o ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : le(t, r);
570
593
  }
571
594
  Y.all = function(t, r) {
572
595
  if (!Array.isArray(t))
@@ -575,8 +598,8 @@ Y.all = function(t, r) {
575
598
  return Y(n, i, r);
576
599
  }, {});
577
600
  };
578
- var Pr = Y, Or = Pr;
579
- const Ir = /* @__PURE__ */ gr(Or);
601
+ var Mr = Y, Rr = Mr;
602
+ const $r = /* @__PURE__ */ _r(Rr);
580
603
  var $e = function(e, t) {
581
604
  return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
582
605
  r.__proto__ = n;
@@ -593,16 +616,16 @@ function Ee(e, t) {
593
616
  }
594
617
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
595
618
  }
596
- var y = function() {
597
- return y = Object.assign || function(t) {
619
+ var x = function() {
620
+ return x = Object.assign || function(t) {
598
621
  for (var r, n = 1, i = arguments.length; n < i; n++) {
599
622
  r = arguments[n];
600
623
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
601
624
  }
602
625
  return t;
603
- }, y.apply(this, arguments);
626
+ }, x.apply(this, arguments);
604
627
  };
605
- function Cr(e, t) {
628
+ function Dr(e, t) {
606
629
  var r = {};
607
630
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
608
631
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -616,53 +639,55 @@ function Te(e, t, r) {
616
639
  return e.concat(o || Array.prototype.slice.call(t));
617
640
  }
618
641
  function Be(e, t) {
619
- var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : Rr;
642
+ var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
620
643
  return i(e, {
621
644
  cache: r,
622
645
  serializer: n
623
646
  });
624
647
  }
625
- function Lr(e) {
648
+ function Ur(e) {
626
649
  return e == null || typeof e == "number" || typeof e == "boolean";
627
650
  }
628
- function Mr(e, t, r, n) {
629
- var i = Lr(n) ? n : r(n), o = t.get(i);
651
+ function At(e, t, r, n) {
652
+ var i = Ur(n) ? n : r(n), o = t.get(i);
630
653
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
631
654
  }
632
- function wt(e, t, r) {
655
+ function Tt(e, t, r) {
633
656
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
634
657
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
635
658
  }
636
- function Ht(e, t, r, n, i) {
659
+ function Ze(e, t, r, n, i) {
637
660
  return r.bind(t, e, n, i);
638
661
  }
639
- function Rr(e, t) {
640
- var r = e.length === 1 ? Mr : wt;
641
- return Ht(e, this, r, t.cache.create(), t.serializer);
662
+ function Fr(e, t) {
663
+ var r = e.length === 1 ? At : Tt;
664
+ return Ze(e, this, r, t.cache.create(), t.serializer);
642
665
  }
643
- function $r(e, t) {
644
- return Ht(e, this, wt, t.cache.create(), t.serializer);
666
+ function Gr(e, t) {
667
+ return Ze(e, this, Tt, t.cache.create(), t.serializer);
645
668
  }
646
- var Dr = function() {
669
+ function jr(e, t) {
670
+ return Ze(e, this, At, t.cache.create(), t.serializer);
671
+ }
672
+ var kr = function() {
647
673
  return JSON.stringify(arguments);
648
- }, Ur = (
649
- /** @class */
650
- function() {
651
- function e() {
652
- this.cache = /* @__PURE__ */ Object.create(null);
653
- }
654
- return e.prototype.get = function(t) {
655
- return this.cache[t];
656
- }, e.prototype.set = function(t, r) {
657
- this.cache[t] = r;
658
- }, e;
659
- }()
660
- ), Fr = {
674
+ };
675
+ function We() {
676
+ this.cache = /* @__PURE__ */ Object.create(null);
677
+ }
678
+ We.prototype.get = function(e) {
679
+ return this.cache[e];
680
+ };
681
+ We.prototype.set = function(e, t) {
682
+ this.cache[e] = t;
683
+ };
684
+ var Vr = {
661
685
  create: function() {
662
- return new Ur();
686
+ return new We();
663
687
  }
664
688
  }, Ne = {
665
- variadic: $r
689
+ variadic: Gr,
690
+ monadic: jr
666
691
  }, b;
667
692
  (function(e) {
668
693
  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";
@@ -675,43 +700,43 @@ var K;
675
700
  (function(e) {
676
701
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
677
702
  })(K || (K = {}));
678
- function rt(e) {
703
+ function it(e) {
679
704
  return e.type === _.literal;
680
705
  }
681
- function Gr(e) {
706
+ function zr(e) {
682
707
  return e.type === _.argument;
683
708
  }
684
- function At(e) {
709
+ function Bt(e) {
685
710
  return e.type === _.number;
686
711
  }
687
- function Tt(e) {
712
+ function Nt(e) {
688
713
  return e.type === _.date;
689
714
  }
690
- function Bt(e) {
715
+ function Pt(e) {
691
716
  return e.type === _.time;
692
717
  }
693
- function Nt(e) {
718
+ function Ot(e) {
694
719
  return e.type === _.select;
695
720
  }
696
- function Pt(e) {
721
+ function It(e) {
697
722
  return e.type === _.plural;
698
723
  }
699
- function jr(e) {
724
+ function Xr(e) {
700
725
  return e.type === _.pound;
701
726
  }
702
- function Ot(e) {
727
+ function Ct(e) {
703
728
  return e.type === _.tag;
704
729
  }
705
- function It(e) {
730
+ function Lt(e) {
706
731
  return !!(e && typeof e == "object" && e.type === K.number);
707
732
  }
708
733
  function De(e) {
709
734
  return !!(e && typeof e == "object" && e.type === K.dateTime);
710
735
  }
711
- var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
712
- function Vr(e) {
736
+ var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
737
+ function Wr(e) {
713
738
  var t = {};
714
- return e.replace(kr, function(r) {
739
+ return e.replace(Zr, function(r) {
715
740
  var n = r.length;
716
741
  switch (r[0]) {
717
742
  case "G":
@@ -800,36 +825,36 @@ function Vr(e) {
800
825
  return "";
801
826
  }), t;
802
827
  }
803
- var zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
804
- function Xr(e) {
828
+ var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
829
+ function Qr(e) {
805
830
  if (e.length === 0)
806
831
  throw new Error("Number skeleton cannot be empty");
807
- for (var t = e.split(zr).filter(function(c) {
808
- return c.length > 0;
832
+ for (var t = e.split(Jr).filter(function(f) {
833
+ return f.length > 0;
809
834
  }), r = [], n = 0, i = t; n < i.length; n++) {
810
835
  var o = i[n], s = o.split("/");
811
836
  if (s.length === 0)
812
837
  throw new Error("Invalid number skeleton");
813
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
814
- var f = h[l];
815
- if (f.length === 0)
838
+ for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
839
+ var c = u[l];
840
+ if (c.length === 0)
816
841
  throw new Error("Invalid number skeleton");
817
842
  }
818
- r.push({ stem: a, options: u });
843
+ r.push({ stem: a, options: h });
819
844
  }
820
845
  return r;
821
846
  }
822
- function Zr(e) {
847
+ function qr(e) {
823
848
  return e.replace(/^(.*?)-/, "");
824
849
  }
825
- var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
826
- function it(e) {
850
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
851
+ function st(e) {
827
852
  var t = {};
828
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lt, function(r, n, i) {
853
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
829
854
  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)), "";
830
855
  }), t;
831
856
  }
832
- function Rt(e) {
857
+ function Dt(e) {
833
858
  switch (e) {
834
859
  case "sign-auto":
835
860
  return {
@@ -869,7 +894,7 @@ function Rt(e) {
869
894
  };
870
895
  }
871
896
  }
872
- function Jr(e) {
897
+ function Kr(e) {
873
898
  var t;
874
899
  if (e[0] === "E" && e[1] === "E" ? (t = {
875
900
  notation: "engineering"
@@ -877,17 +902,17 @@ function Jr(e) {
877
902
  notation: "scientific"
878
903
  }, e = e.slice(1)), t) {
879
904
  var r = e.slice(0, 2);
880
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
905
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
881
906
  throw new Error("Malformed concise eng/scientific notation");
882
907
  t.minimumIntegerDigits = e.length;
883
908
  }
884
909
  return t;
885
910
  }
886
- function ot(e) {
887
- var t = {}, r = Rt(e);
911
+ function at(e) {
912
+ var t = {}, r = Dt(e);
888
913
  return r || t;
889
914
  }
890
- function Qr(e) {
915
+ function en(e) {
891
916
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
892
917
  var i = n[r];
893
918
  switch (i.stem) {
@@ -911,7 +936,7 @@ function Qr(e) {
911
936
  continue;
912
937
  case "measure-unit":
913
938
  case "unit":
914
- t.style = "unit", t.unit = Zr(i.options[0]);
939
+ t.style = "unit", t.unit = qr(i.options[0]);
915
940
  continue;
916
941
  case "compact-short":
917
942
  case "K":
@@ -922,13 +947,13 @@ function Qr(e) {
922
947
  t.notation = "compact", t.compactDisplay = "long";
923
948
  continue;
924
949
  case "scientific":
925
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
926
- return y(y({}, u), ot(l));
950
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
951
+ return x(x({}, h), at(l));
927
952
  }, {}));
928
953
  continue;
929
954
  case "engineering":
930
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
931
- return y(y({}, u), ot(l));
955
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
956
+ return x(x({}, h), at(l));
932
957
  }, {}));
933
958
  continue;
934
959
  case "notation-simple":
@@ -973,45 +998,45 @@ function Qr(e) {
973
998
  case "integer-width":
974
999
  if (i.options.length > 1)
975
1000
  throw new RangeError("integer-width stems only accept a single optional option");
976
- i.options[0].replace(Wr, function(u, l, h, f, c, m) {
1001
+ i.options[0].replace(Yr, function(h, l, u, c, f, p) {
977
1002
  if (l)
978
- t.minimumIntegerDigits = h.length;
1003
+ t.minimumIntegerDigits = u.length;
979
1004
  else {
980
- if (f && c)
1005
+ if (c && f)
981
1006
  throw new Error("We currently do not support maximum integer digits");
982
- if (m)
1007
+ if (p)
983
1008
  throw new Error("We currently do not support exact integer digits");
984
1009
  }
985
1010
  return "";
986
1011
  });
987
1012
  continue;
988
1013
  }
989
- if (Mt.test(i.stem)) {
1014
+ if ($t.test(i.stem)) {
990
1015
  t.minimumIntegerDigits = i.stem.length;
991
1016
  continue;
992
1017
  }
993
- if (nt.test(i.stem)) {
1018
+ if (ot.test(i.stem)) {
994
1019
  if (i.options.length > 1)
995
1020
  throw new RangeError("Fraction-precision stems only accept a single optional option");
996
- i.stem.replace(nt, function(u, l, h, f, c, m) {
997
- return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1021
+ i.stem.replace(ot, function(h, l, u, c, f, p) {
1022
+ return u === "*" ? 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), "";
998
1023
  });
999
1024
  var o = i.options[0];
1000
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), it(o)));
1025
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), st(o)));
1001
1026
  continue;
1002
1027
  }
1003
- if (Lt.test(i.stem)) {
1004
- t = y(y({}, t), it(i.stem));
1028
+ if (Rt.test(i.stem)) {
1029
+ t = x(x({}, t), st(i.stem));
1005
1030
  continue;
1006
1031
  }
1007
- var s = Rt(i.stem);
1008
- s && (t = y(y({}, t), s));
1009
- var a = Jr(i.stem);
1010
- a && (t = y(y({}, t), a));
1032
+ var s = Dt(i.stem);
1033
+ s && (t = x(x({}, t), s));
1034
+ var a = Kr(i.stem);
1035
+ a && (t = x(x({}, t), a));
1011
1036
  }
1012
1037
  return t;
1013
1038
  }
1014
- var pe = {
1039
+ var me = {
1015
1040
  "001": [
1016
1041
  "H",
1017
1042
  "h"
@@ -2426,22 +2451,22 @@ var pe = {
2426
2451
  "h"
2427
2452
  ]
2428
2453
  };
2429
- function qr(e, t) {
2454
+ function tn(e, t) {
2430
2455
  for (var r = "", n = 0; n < e.length; n++) {
2431
2456
  var i = e.charAt(n);
2432
2457
  if (i === "j") {
2433
2458
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2434
2459
  o++, n++;
2435
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Yr(t);
2460
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = rn(t);
2436
2461
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2437
- r += u;
2462
+ r += h;
2438
2463
  for (; s-- > 0; )
2439
2464
  r = l + r;
2440
2465
  } else i === "J" ? r += "H" : r += i;
2441
2466
  }
2442
2467
  return r;
2443
2468
  }
2444
- function Yr(e) {
2469
+ function rn(e) {
2445
2470
  var t = e.hourCycle;
2446
2471
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2447
2472
  e.hourCycles && // @ts-ignore
@@ -2460,23 +2485,23 @@ function Yr(e) {
2460
2485
  }
2461
2486
  var r = e.language, n;
2462
2487
  r !== "root" && (n = e.maximize().region);
2463
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2488
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2464
2489
  return i[0];
2465
2490
  }
2466
- var Pe, Kr = new RegExp("^".concat(Ct.source, "*")), en = new RegExp("".concat(Ct.source, "*$"));
2467
- function g(e, t) {
2491
+ var Pe, nn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(Mt.source, "*$"));
2492
+ function y(e, t) {
2468
2493
  return { start: e, end: t };
2469
2494
  }
2470
- var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, on = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, ln = !!Number.isSafeInteger, hn = ln ? Number.isSafeInteger : function(e) {
2495
+ var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, ln = !!Object.fromEntries, un = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, mn = fn ? Number.isSafeInteger : function(e) {
2471
2496
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2472
2497
  }, Ue = !0;
2473
2498
  try {
2474
- var un = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2475
- Ue = ((Pe = un.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2499
+ var pn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2500
+ Ue = ((Pe = pn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2476
2501
  } catch {
2477
2502
  Ue = !1;
2478
2503
  }
2479
- var st = tn ? (
2504
+ var lt = sn ? (
2480
2505
  // Native
2481
2506
  function(t, r, n) {
2482
2507
  return t.startsWith(r, n);
@@ -2486,7 +2511,7 @@ var st = tn ? (
2486
2511
  function(t, r, n) {
2487
2512
  return t.slice(n, n + r.length) === r;
2488
2513
  }
2489
- ), Fe = rn ? String.fromCodePoint : (
2514
+ ), Fe = an ? String.fromCodePoint : (
2490
2515
  // IE11
2491
2516
  function() {
2492
2517
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2498,9 +2523,9 @@ var st = tn ? (
2498
2523
  }
2499
2524
  return n;
2500
2525
  }
2501
- ), at = (
2526
+ ), ut = (
2502
2527
  // native
2503
- nn ? Object.fromEntries : (
2528
+ ln ? Object.fromEntries : (
2504
2529
  // Ponyfill
2505
2530
  function(t) {
2506
2531
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2510,7 +2535,7 @@ var st = tn ? (
2510
2535
  return r;
2511
2536
  }
2512
2537
  )
2513
- ), $t = on ? (
2538
+ ), Ut = un ? (
2514
2539
  // Native
2515
2540
  function(t, r) {
2516
2541
  return t.codePointAt(r);
@@ -2524,7 +2549,7 @@ var st = tn ? (
2524
2549
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2525
2550
  }
2526
2551
  }
2527
- ), cn = sn ? (
2552
+ ), dn = hn ? (
2528
2553
  // Native
2529
2554
  function(t) {
2530
2555
  return t.trimStart();
@@ -2532,9 +2557,9 @@ var st = tn ? (
2532
2557
  ) : (
2533
2558
  // Ponyfill
2534
2559
  function(t) {
2535
- return t.replace(Kr, "");
2560
+ return t.replace(nn, "");
2536
2561
  }
2537
- ), fn = an ? (
2562
+ ), bn = cn ? (
2538
2563
  // Native
2539
2564
  function(t) {
2540
2565
  return t.trimEnd();
@@ -2542,32 +2567,32 @@ var st = tn ? (
2542
2567
  ) : (
2543
2568
  // Ponyfill
2544
2569
  function(t) {
2545
- return t.replace(en, "");
2570
+ return t.replace(on, "");
2546
2571
  }
2547
2572
  );
2548
- function Dt(e, t) {
2573
+ function Ft(e, t) {
2549
2574
  return new RegExp(e, t);
2550
2575
  }
2551
2576
  var Ge;
2552
2577
  if (Ue) {
2553
- var lt = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2578
+ var ht = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2554
2579
  Ge = function(t, r) {
2555
2580
  var n;
2556
- lt.lastIndex = r;
2557
- var i = lt.exec(t);
2581
+ ht.lastIndex = r;
2582
+ var i = ht.exec(t);
2558
2583
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2559
2584
  };
2560
2585
  } else
2561
2586
  Ge = function(t, r) {
2562
2587
  for (var n = []; ; ) {
2563
- var i = $t(t, r);
2564
- if (i === void 0 || Ut(i) || bn(i))
2588
+ var i = Ut(t, r);
2589
+ if (i === void 0 || Gt(i) || vn(i))
2565
2590
  break;
2566
2591
  n.push(i), r += i >= 65536 ? 2 : 1;
2567
2592
  }
2568
2593
  return Fe.apply(void 0, n);
2569
2594
  };
2570
- var pn = (
2595
+ var gn = (
2571
2596
  /** @class */
2572
2597
  function() {
2573
2598
  function e(t, r) {
@@ -2592,12 +2617,12 @@ var pn = (
2592
2617
  var a = this.clonePosition();
2593
2618
  this.bump(), i.push({
2594
2619
  type: _.pound,
2595
- location: g(a, this.clonePosition())
2620
+ location: y(a, this.clonePosition())
2596
2621
  });
2597
2622
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2598
2623
  if (n)
2599
2624
  break;
2600
- return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2625
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2601
2626
  } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2602
2627
  var s = this.parseTag(t, r);
2603
2628
  if (s.err)
@@ -2621,7 +2646,7 @@ var pn = (
2621
2646
  val: {
2622
2647
  type: _.literal,
2623
2648
  value: "<".concat(i, "/>"),
2624
- location: g(n, this.clonePosition())
2649
+ location: y(n, this.clonePosition())
2625
2650
  },
2626
2651
  err: null
2627
2652
  };
@@ -2632,24 +2657,24 @@ var pn = (
2632
2657
  var s = o.val, a = this.clonePosition();
2633
2658
  if (this.bumpIf("</")) {
2634
2659
  if (this.isEOF() || !je(this.char()))
2635
- return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
2636
- var u = this.clonePosition(), l = this.parseTagName();
2637
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2660
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2661
+ var h = this.clonePosition(), l = this.parseTagName();
2662
+ return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2638
2663
  val: {
2639
2664
  type: _.tag,
2640
2665
  value: i,
2641
2666
  children: s,
2642
- location: g(n, this.clonePosition())
2667
+ location: y(n, this.clonePosition())
2643
2668
  },
2644
2669
  err: null
2645
- } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
2670
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2646
2671
  } else
2647
- return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
2672
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2648
2673
  } else
2649
- return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
2674
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2650
2675
  }, e.prototype.parseTagName = function() {
2651
2676
  var t = this.offset();
2652
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2677
+ for (this.bump(); !this.isEOF() && xn(this.char()); )
2653
2678
  this.bump();
2654
2679
  return this.message.slice(t, this.offset());
2655
2680
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2671,14 +2696,14 @@ var pn = (
2671
2696
  }
2672
2697
  break;
2673
2698
  }
2674
- var u = g(n, this.clonePosition());
2699
+ var h = y(n, this.clonePosition());
2675
2700
  return {
2676
- val: { type: _.literal, value: i, location: u },
2701
+ val: { type: _.literal, value: i, location: h },
2677
2702
  err: null
2678
2703
  };
2679
2704
  }, e.prototype.tryParseLeftAngleBracket = function() {
2680
2705
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2681
- !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2706
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2682
2707
  }, e.prototype.tryParseQuote = function(t) {
2683
2708
  if (this.isEOF() || this.char() !== 39)
2684
2709
  return null;
@@ -2721,14 +2746,14 @@ var pn = (
2721
2746
  }, e.prototype.parseArgument = function(t, r) {
2722
2747
  var n = this.clonePosition();
2723
2748
  if (this.bump(), this.bumpSpace(), this.isEOF())
2724
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2749
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2725
2750
  if (this.char() === 125)
2726
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
2751
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2727
2752
  var i = this.parseIdentifierIfPossible().value;
2728
2753
  if (!i)
2729
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2754
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2730
2755
  if (this.bumpSpace(), this.isEOF())
2731
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2756
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2732
2757
  switch (this.char()) {
2733
2758
  case 125:
2734
2759
  return this.bump(), {
@@ -2736,25 +2761,25 @@ var pn = (
2736
2761
  type: _.argument,
2737
2762
  // value does not include the opening and closing braces.
2738
2763
  value: i,
2739
- location: g(n, this.clonePosition())
2764
+ location: y(n, this.clonePosition())
2740
2765
  },
2741
2766
  err: null
2742
2767
  };
2743
2768
  case 44:
2744
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2769
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2745
2770
  default:
2746
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2771
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2747
2772
  }
2748
2773
  }, e.prototype.parseIdentifierIfPossible = function() {
2749
2774
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2750
2775
  this.bumpTo(i);
2751
- var o = this.clonePosition(), s = g(t, o);
2776
+ var o = this.clonePosition(), s = y(t, o);
2752
2777
  return { value: n, location: s };
2753
2778
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2754
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2779
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2755
2780
  switch (a) {
2756
2781
  case "":
2757
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, u));
2782
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
2758
2783
  case "number":
2759
2784
  case "date":
2760
2785
  case "time": {
@@ -2762,40 +2787,40 @@ var pn = (
2762
2787
  var l = null;
2763
2788
  if (this.bumpIf(",")) {
2764
2789
  this.bumpSpace();
2765
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2766
- if (f.err)
2767
- return f;
2768
- var c = fn(f.val);
2769
- if (c.length === 0)
2770
- return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2771
- var m = g(h, this.clonePosition());
2772
- l = { style: c, styleLocation: m };
2790
+ var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2791
+ if (c.err)
2792
+ return c;
2793
+ var f = bn(c.val);
2794
+ if (f.length === 0)
2795
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2796
+ var p = y(u, this.clonePosition());
2797
+ l = { style: f, styleLocation: p };
2773
2798
  }
2774
- var x = this.tryParseArgumentClose(i);
2775
- if (x.err)
2776
- return x;
2777
- var E = g(i, this.clonePosition());
2778
- if (l && st(l?.style, "::", 0)) {
2779
- var N = cn(l.style.slice(2));
2799
+ var g = this.tryParseArgumentClose(i);
2800
+ if (g.err)
2801
+ return g;
2802
+ var E = y(i, this.clonePosition());
2803
+ if (l && lt(l?.style, "::", 0)) {
2804
+ var N = dn(l.style.slice(2));
2780
2805
  if (a === "number") {
2781
- var f = this.parseNumberSkeletonFromString(N, l.styleLocation);
2782
- return f.err ? f : {
2783
- val: { type: _.number, value: n, location: E, style: f.val },
2806
+ var c = this.parseNumberSkeletonFromString(N, l.styleLocation);
2807
+ return c.err ? c : {
2808
+ val: { type: _.number, value: n, location: E, style: c.val },
2784
2809
  err: null
2785
2810
  };
2786
2811
  } else {
2787
2812
  if (N.length === 0)
2788
2813
  return this.error(b.EXPECT_DATE_TIME_SKELETON, E);
2789
- var L = N;
2790
- this.locale && (L = qr(N, this.locale));
2791
- var c = {
2814
+ var P = N;
2815
+ this.locale && (P = tn(N, this.locale));
2816
+ var f = {
2792
2817
  type: K.dateTime,
2793
- pattern: L,
2818
+ pattern: P,
2794
2819
  location: l.styleLocation,
2795
- parsedOptions: this.shouldParseSkeletons ? Vr(L) : {}
2820
+ parsedOptions: this.shouldParseSkeletons ? Wr(P) : {}
2796
2821
  }, M = a === "date" ? _.date : _.time;
2797
2822
  return {
2798
- val: { type: M, value: n, location: E, style: c },
2823
+ val: { type: M, value: n, location: E, style: f },
2799
2824
  err: null
2800
2825
  };
2801
2826
  }
@@ -2815,30 +2840,30 @@ var pn = (
2815
2840
  case "select": {
2816
2841
  var B = this.clonePosition();
2817
2842
  if (this.bumpSpace(), !this.bumpIf(","))
2818
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, y({}, B)));
2843
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(B, x({}, B)));
2819
2844
  this.bumpSpace();
2820
- var I = this.parseIdentifierIfPossible(), H = 0;
2821
- if (a !== "select" && I.value === "offset") {
2845
+ var C = this.parseIdentifierIfPossible(), w = 0;
2846
+ if (a !== "select" && C.value === "offset") {
2822
2847
  if (!this.bumpIf(":"))
2823
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2848
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2824
2849
  this.bumpSpace();
2825
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2826
- if (f.err)
2827
- return f;
2828
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = f.val;
2850
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2851
+ if (c.err)
2852
+ return c;
2853
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), w = c.val;
2829
2854
  }
2830
- var C = this.tryParsePluralOrSelectOptions(t, a, r, I);
2831
- if (C.err)
2832
- return C;
2833
- var x = this.tryParseArgumentClose(i);
2834
- if (x.err)
2835
- return x;
2836
- var D = g(i, this.clonePosition());
2855
+ var L = this.tryParsePluralOrSelectOptions(t, a, r, C);
2856
+ if (L.err)
2857
+ return L;
2858
+ var g = this.tryParseArgumentClose(i);
2859
+ if (g.err)
2860
+ return g;
2861
+ var D = y(i, this.clonePosition());
2837
2862
  return a === "select" ? {
2838
2863
  val: {
2839
2864
  type: _.select,
2840
2865
  value: n,
2841
- options: at(C.val),
2866
+ options: ut(L.val),
2842
2867
  location: D
2843
2868
  },
2844
2869
  err: null
@@ -2846,8 +2871,8 @@ var pn = (
2846
2871
  val: {
2847
2872
  type: _.plural,
2848
2873
  value: n,
2849
- options: at(C.val),
2850
- offset: H,
2874
+ options: ut(L.val),
2875
+ offset: w,
2851
2876
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2852
2877
  location: D
2853
2878
  },
@@ -2855,10 +2880,10 @@ var pn = (
2855
2880
  };
2856
2881
  }
2857
2882
  default:
2858
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, u));
2883
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
2859
2884
  }
2860
2885
  }, e.prototype.tryParseArgumentClose = function(t) {
2861
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2886
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2862
2887
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2863
2888
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2864
2889
  var n = this.char();
@@ -2867,7 +2892,7 @@ var pn = (
2867
2892
  this.bump();
2868
2893
  var i = this.clonePosition();
2869
2894
  if (!this.bumpUntil("'"))
2870
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
2895
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2871
2896
  this.bump();
2872
2897
  break;
2873
2898
  }
@@ -2897,7 +2922,7 @@ var pn = (
2897
2922
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2898
2923
  var n = [];
2899
2924
  try {
2900
- n = Xr(t);
2925
+ n = Qr(t);
2901
2926
  } catch {
2902
2927
  return this.error(b.INVALID_NUMBER_SKELETON, r);
2903
2928
  }
@@ -2906,43 +2931,43 @@ var pn = (
2906
2931
  type: K.number,
2907
2932
  tokens: n,
2908
2933
  location: r,
2909
- parsedOptions: this.shouldParseSkeletons ? Qr(n) : {}
2934
+ parsedOptions: this.shouldParseSkeletons ? en(n) : {}
2910
2935
  },
2911
2936
  err: null
2912
2937
  };
2913
2938
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2914
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
2939
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2915
2940
  if (l.length === 0) {
2916
- var f = this.clonePosition();
2941
+ var c = this.clonePosition();
2917
2942
  if (r !== "select" && this.bumpIf("=")) {
2918
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
2919
- if (c.err)
2920
- return c;
2921
- h = g(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
2943
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
2944
+ if (f.err)
2945
+ return f;
2946
+ u = y(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2922
2947
  } else
2923
2948
  break;
2924
2949
  }
2925
- if (u.has(l))
2926
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2950
+ if (h.has(l))
2951
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2927
2952
  l === "other" && (s = !0), this.bumpSpace();
2928
- var m = this.clonePosition();
2953
+ var p = this.clonePosition();
2929
2954
  if (!this.bumpIf("{"))
2930
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2931
- var x = this.parseMessage(t + 1, r, n);
2932
- if (x.err)
2933
- return x;
2934
- var E = this.tryParseArgumentClose(m);
2955
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
2956
+ var g = this.parseMessage(t + 1, r, n);
2957
+ if (g.err)
2958
+ return g;
2959
+ var E = this.tryParseArgumentClose(p);
2935
2960
  if (E.err)
2936
2961
  return E;
2937
2962
  a.push([
2938
2963
  l,
2939
2964
  {
2940
- value: x.val,
2941
- location: g(m, this.clonePosition())
2965
+ value: g.val,
2966
+ location: y(p, this.clonePosition())
2942
2967
  }
2943
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
2968
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
2944
2969
  }
2945
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2970
+ 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 };
2946
2971
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2947
2972
  var n = 1, i = this.clonePosition();
2948
2973
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2953,8 +2978,8 @@ var pn = (
2953
2978
  else
2954
2979
  break;
2955
2980
  }
2956
- var u = g(i, this.clonePosition());
2957
- return o ? (s *= n, hn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2981
+ var h = y(i, this.clonePosition());
2982
+ return o ? (s *= n, mn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
2958
2983
  }, e.prototype.offset = function() {
2959
2984
  return this.position.offset;
2960
2985
  }, e.prototype.isEOF = function() {
@@ -2969,7 +2994,7 @@ var pn = (
2969
2994
  var t = this.position.offset;
2970
2995
  if (t >= this.message.length)
2971
2996
  throw Error("out of bound");
2972
- var r = $t(this.message, t);
2997
+ var r = Ut(this.message, t);
2973
2998
  if (r === void 0)
2974
2999
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2975
3000
  return r;
@@ -2988,7 +3013,7 @@ var pn = (
2988
3013
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2989
3014
  }
2990
3015
  }, e.prototype.bumpIf = function(t) {
2991
- if (st(this.message, t, this.offset())) {
3016
+ if (lt(this.message, t, this.offset())) {
2992
3017
  for (var r = 0; r < t.length; r++)
2993
3018
  this.bump();
2994
3019
  return !0;
@@ -3010,7 +3035,7 @@ var pn = (
3010
3035
  break;
3011
3036
  }
3012
3037
  }, e.prototype.bumpSpace = function() {
3013
- for (; !this.isEOF() && Ut(this.char()); )
3038
+ for (; !this.isEOF() && Gt(this.char()); )
3014
3039
  this.bump();
3015
3040
  }, e.prototype.peek = function() {
3016
3041
  if (this.isEOF())
@@ -3023,29 +3048,29 @@ var pn = (
3023
3048
  function je(e) {
3024
3049
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3025
3050
  }
3026
- function mn(e) {
3051
+ function yn(e) {
3027
3052
  return je(e) || e === 47;
3028
3053
  }
3029
- function dn(e) {
3054
+ function xn(e) {
3030
3055
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3031
3056
  }
3032
- function Ut(e) {
3057
+ function Gt(e) {
3033
3058
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3034
3059
  }
3035
- function bn(e) {
3060
+ function vn(e) {
3036
3061
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3037
3062
  }
3038
3063
  function ke(e) {
3039
3064
  e.forEach(function(t) {
3040
- if (delete t.location, Nt(t) || Pt(t))
3065
+ if (delete t.location, Ot(t) || It(t))
3041
3066
  for (var r in t.options)
3042
3067
  delete t.options[r].location, ke(t.options[r].value);
3043
- else At(t) && It(t.style) || (Tt(t) || Bt(t)) && De(t.style) ? delete t.style.location : Ot(t) && ke(t.children);
3068
+ else Bt(t) && Lt(t.style) || (Nt(t) || Pt(t)) && De(t.style) ? delete t.style.location : Ct(t) && ke(t.children);
3044
3069
  });
3045
3070
  }
3046
- function gn(e, t) {
3047
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3048
- var r = new pn(e, t).parse();
3071
+ function En(e, t) {
3072
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3073
+ var r = new gn(e, t).parse();
3049
3074
  if (r.err) {
3050
3075
  var n = SyntaxError(b[r.err.kind]);
3051
3076
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3068,7 +3093,7 @@ var _e = (
3068
3093
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3069
3094
  }, t;
3070
3095
  }(Error)
3071
- ), ht = (
3096
+ ), ct = (
3072
3097
  /** @class */
3073
3098
  function(e) {
3074
3099
  Ee(t, e);
@@ -3077,7 +3102,7 @@ var _e = (
3077
3102
  }
3078
3103
  return t;
3079
3104
  }(_e)
3080
- ), yn = (
3105
+ ), _n = (
3081
3106
  /** @class */
3082
3107
  function(e) {
3083
3108
  Ee(t, e);
@@ -3086,7 +3111,7 @@ var _e = (
3086
3111
  }
3087
3112
  return t;
3088
3113
  }(_e)
3089
- ), xn = (
3114
+ ), Sn = (
3090
3115
  /** @class */
3091
3116
  function(e) {
3092
3117
  Ee(t, e);
@@ -3095,126 +3120,126 @@ var _e = (
3095
3120
  }
3096
3121
  return t;
3097
3122
  }(_e)
3098
- ), O;
3123
+ ), I;
3099
3124
  (function(e) {
3100
3125
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3101
- })(O || (O = {}));
3102
- function vn(e) {
3126
+ })(I || (I = {}));
3127
+ function wn(e) {
3103
3128
  return e.length < 2 ? e : e.reduce(function(t, r) {
3104
3129
  var n = t[t.length - 1];
3105
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3130
+ return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3106
3131
  }, []);
3107
3132
  }
3108
- function En(e) {
3133
+ function Hn(e) {
3109
3134
  return typeof e == "function";
3110
3135
  }
3111
3136
  function de(e, t, r, n, i, o, s) {
3112
- if (e.length === 1 && rt(e[0]))
3137
+ if (e.length === 1 && it(e[0]))
3113
3138
  return [
3114
3139
  {
3115
- type: O.literal,
3140
+ type: I.literal,
3116
3141
  value: e[0].value
3117
3142
  }
3118
3143
  ];
3119
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3120
- var h = l[u];
3121
- if (rt(h)) {
3144
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3145
+ var u = l[h];
3146
+ if (it(u)) {
3122
3147
  a.push({
3123
- type: O.literal,
3124
- value: h.value
3148
+ type: I.literal,
3149
+ value: u.value
3125
3150
  });
3126
3151
  continue;
3127
3152
  }
3128
- if (jr(h)) {
3153
+ if (Xr(u)) {
3129
3154
  typeof o == "number" && a.push({
3130
- type: O.literal,
3155
+ type: I.literal,
3131
3156
  value: r.getNumberFormat(t).format(o)
3132
3157
  });
3133
3158
  continue;
3134
3159
  }
3135
- var f = h.value;
3136
- if (!(i && f in i))
3137
- throw new xn(f, s);
3138
- var c = i[f];
3139
- if (Gr(h)) {
3140
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3141
- type: typeof c == "string" ? O.literal : O.object,
3142
- value: c
3160
+ var c = u.value;
3161
+ if (!(i && c in i))
3162
+ throw new Sn(c, s);
3163
+ var f = i[c];
3164
+ if (zr(u)) {
3165
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3166
+ type: typeof f == "string" ? I.literal : I.object,
3167
+ value: f
3143
3168
  });
3144
3169
  continue;
3145
3170
  }
3146
- if (Tt(h)) {
3147
- var m = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3171
+ if (Nt(u)) {
3172
+ var p = typeof u.style == "string" ? n.date[u.style] : De(u.style) ? u.style.parsedOptions : void 0;
3148
3173
  a.push({
3149
- type: O.literal,
3150
- value: r.getDateTimeFormat(t, m).format(c)
3174
+ type: I.literal,
3175
+ value: r.getDateTimeFormat(t, p).format(f)
3151
3176
  });
3152
3177
  continue;
3153
3178
  }
3154
- if (Bt(h)) {
3155
- var m = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3179
+ if (Pt(u)) {
3180
+ var p = typeof u.style == "string" ? n.time[u.style] : De(u.style) ? u.style.parsedOptions : n.time.medium;
3156
3181
  a.push({
3157
- type: O.literal,
3158
- value: r.getDateTimeFormat(t, m).format(c)
3182
+ type: I.literal,
3183
+ value: r.getDateTimeFormat(t, p).format(f)
3159
3184
  });
3160
3185
  continue;
3161
3186
  }
3162
- if (At(h)) {
3163
- var m = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
3164
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3165
- type: O.literal,
3166
- value: r.getNumberFormat(t, m).format(c)
3187
+ if (Bt(u)) {
3188
+ var p = typeof u.style == "string" ? n.number[u.style] : Lt(u.style) ? u.style.parsedOptions : void 0;
3189
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3190
+ type: I.literal,
3191
+ value: r.getNumberFormat(t, p).format(f)
3167
3192
  });
3168
3193
  continue;
3169
3194
  }
3170
- if (Ot(h)) {
3171
- var x = h.children, E = h.value, N = i[E];
3172
- if (!En(N))
3173
- throw new yn(E, "function", s);
3174
- var L = de(x, t, r, n, i, o), M = N(L.map(function(H) {
3175
- return H.value;
3195
+ if (Ct(u)) {
3196
+ var g = u.children, E = u.value, N = i[E];
3197
+ if (!Hn(N))
3198
+ throw new _n(E, "function", s);
3199
+ var P = de(g, t, r, n, i, o), M = N(P.map(function(w) {
3200
+ return w.value;
3176
3201
  }));
3177
- Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(H) {
3202
+ Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(w) {
3178
3203
  return {
3179
- type: typeof H == "string" ? O.literal : O.object,
3180
- value: H
3204
+ type: typeof w == "string" ? I.literal : I.object,
3205
+ value: w
3181
3206
  };
3182
3207
  }));
3183
3208
  }
3184
- if (Nt(h)) {
3185
- var B = h.options[c] || h.options.other;
3209
+ if (Ot(u)) {
3210
+ var B = u.options[f] || u.options.other;
3186
3211
  if (!B)
3187
- throw new ht(h.value, c, Object.keys(h.options), s);
3212
+ throw new ct(u.value, f, Object.keys(u.options), s);
3188
3213
  a.push.apply(a, de(B.value, t, r, n, i));
3189
3214
  continue;
3190
3215
  }
3191
- if (Pt(h)) {
3192
- var B = h.options["=".concat(c)];
3216
+ if (It(u)) {
3217
+ var B = u.options["=".concat(f)];
3193
3218
  if (!B) {
3194
3219
  if (!Intl.PluralRules)
3195
3220
  throw new _e(`Intl.PluralRules is not available in this environment.
3196
3221
  Try polyfilling it using "@formatjs/intl-pluralrules"
3197
3222
  `, ee.MISSING_INTL_API, s);
3198
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3199
- B = h.options[I] || h.options.other;
3223
+ var C = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3224
+ B = u.options[C] || u.options.other;
3200
3225
  }
3201
3226
  if (!B)
3202
- throw new ht(h.value, c, Object.keys(h.options), s);
3203
- a.push.apply(a, de(B.value, t, r, n, i, c - (h.offset || 0)));
3227
+ throw new ct(u.value, f, Object.keys(u.options), s);
3228
+ a.push.apply(a, de(B.value, t, r, n, i, f - (u.offset || 0)));
3204
3229
  continue;
3205
3230
  }
3206
3231
  }
3207
- return vn(a);
3232
+ return wn(a);
3208
3233
  }
3209
- function _n(e, t) {
3210
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3211
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3234
+ function An(e, t) {
3235
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3236
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3212
3237
  }, {})) : e;
3213
3238
  }
3214
- function Sn(e, t) {
3239
+ function Tn(e, t) {
3215
3240
  return t ? Object.keys(e).reduce(function(r, n) {
3216
- return r[n] = _n(e[n], t[n]), r;
3217
- }, y({}, e)) : e;
3241
+ return r[n] = An(e[n], t[n]), r;
3242
+ }, x({}, e)) : e;
3218
3243
  }
3219
3244
  function Oe(e) {
3220
3245
  return {
@@ -3230,7 +3255,7 @@ function Oe(e) {
3230
3255
  }
3231
3256
  };
3232
3257
  }
3233
- function wn(e) {
3258
+ function Bn(e) {
3234
3259
  return e === void 0 && (e = {
3235
3260
  number: {},
3236
3261
  dateTime: {},
@@ -3262,7 +3287,7 @@ function wn(e) {
3262
3287
  })
3263
3288
  };
3264
3289
  }
3265
- var Hn = (
3290
+ var Nn = (
3266
3291
  /** @class */
3267
3292
  function() {
3268
3293
  function e(t, r, n, i) {
@@ -3272,20 +3297,20 @@ var Hn = (
3272
3297
  number: {},
3273
3298
  dateTime: {},
3274
3299
  pluralRules: {}
3275
- }, this.format = function(u) {
3276
- var l = o.formatToParts(u);
3300
+ }, this.format = function(h) {
3301
+ var l = o.formatToParts(h);
3277
3302
  if (l.length === 1)
3278
3303
  return l[0].value;
3279
- var h = l.reduce(function(f, c) {
3280
- return !f.length || c.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3304
+ var u = l.reduce(function(c, f) {
3305
+ return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3281
3306
  }, []);
3282
- return h.length <= 1 ? h[0] || "" : h;
3283
- }, this.formatToParts = function(u) {
3284
- return de(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3307
+ return u.length <= 1 ? u[0] || "" : u;
3308
+ }, this.formatToParts = function(h) {
3309
+ return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3285
3310
  }, this.resolvedOptions = function() {
3286
- var u;
3311
+ var h;
3287
3312
  return {
3288
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3313
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3289
3314
  };
3290
3315
  }, this.getAst = function() {
3291
3316
  return o.ast;
@@ -3294,13 +3319,13 @@ var Hn = (
3294
3319
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3295
3320
  var s = i || {};
3296
3321
  s.formatters;
3297
- var a = Cr(s, ["formatters"]);
3298
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3322
+ var a = Dr(s, ["formatters"]);
3323
+ this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3299
3324
  } else
3300
3325
  this.ast = t;
3301
3326
  if (!Array.isArray(this.ast))
3302
3327
  throw new TypeError("A message must be provided as a String or AST.");
3303
- this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || wn(this.formatterCache);
3328
+ this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Bn(this.formatterCache);
3304
3329
  }
3305
3330
  return Object.defineProperty(e, "defaultLocale", {
3306
3331
  get: function() {
@@ -3313,7 +3338,7 @@ var Hn = (
3313
3338
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3314
3339
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3315
3340
  }
3316
- }, e.__parse = gn, e.formats = {
3341
+ }, e.__parse = En, e.formats = {
3317
3342
  number: {
3318
3343
  integer: {
3319
3344
  maximumFractionDigits: 0
@@ -3374,7 +3399,7 @@ var Hn = (
3374
3399
  }, e;
3375
3400
  }()
3376
3401
  );
3377
- function An(e, t) {
3402
+ function Pn(e, t) {
3378
3403
  if (t == null)
3379
3404
  return;
3380
3405
  if (t in e)
@@ -3395,60 +3420,60 @@ function An(e, t) {
3395
3420
  n = void 0;
3396
3421
  return n;
3397
3422
  }
3398
- const F = {}, Tn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Ft = (e, t) => {
3423
+ const G = {}, On = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), jt = (e, t) => {
3399
3424
  if (t == null)
3400
3425
  return;
3401
- if (t in F && e in F[t])
3402
- return F[t][e];
3426
+ if (t in G && e in G[t])
3427
+ return G[t][e];
3403
3428
  const r = Se(t);
3404
3429
  for (let n = 0; n < r.length; n++) {
3405
- const i = r[n], o = Nn(i, e);
3430
+ const i = r[n], o = Cn(i, e);
3406
3431
  if (o)
3407
- return Tn(e, t, o);
3432
+ return On(e, t, o);
3408
3433
  }
3409
3434
  };
3410
- let Ze;
3435
+ let Je;
3411
3436
  const ne = ve({});
3412
- function Bn(e) {
3413
- return Ze[e] || null;
3437
+ function In(e) {
3438
+ return Je[e] || null;
3414
3439
  }
3415
- function Gt(e) {
3416
- return e in Ze;
3440
+ function kt(e) {
3441
+ return e in Je;
3417
3442
  }
3418
- function Nn(e, t) {
3419
- if (!Gt(e))
3443
+ function Cn(e, t) {
3444
+ if (!kt(e))
3420
3445
  return null;
3421
- const r = Bn(e);
3422
- return An(r, t);
3446
+ const r = In(e);
3447
+ return Pn(r, t);
3423
3448
  }
3424
- function Pn(e) {
3449
+ function Ln(e) {
3425
3450
  if (e == null)
3426
3451
  return;
3427
3452
  const t = Se(e);
3428
3453
  for (let r = 0; r < t.length; r++) {
3429
3454
  const n = t[r];
3430
- if (Gt(n))
3455
+ if (kt(n))
3431
3456
  return n;
3432
3457
  }
3433
3458
  }
3434
- function jt(e, ...t) {
3435
- delete F[e], ne.update((r) => (r[e] = Ir.all([r[e] || {}, ...t]), r));
3459
+ function Vt(e, ...t) {
3460
+ delete G[e], ne.update((r) => (r[e] = $r.all([r[e] || {}, ...t]), r));
3436
3461
  }
3437
3462
  re(
3438
3463
  [ne],
3439
3464
  ([e]) => Object.keys(e)
3440
3465
  );
3441
- ne.subscribe((e) => Ze = e);
3466
+ ne.subscribe((e) => Je = e);
3442
3467
  const be = {};
3443
- function On(e, t) {
3468
+ function Mn(e, t) {
3444
3469
  be[e].delete(t), be[e].size === 0 && delete be[e];
3445
3470
  }
3446
- function kt(e) {
3471
+ function zt(e) {
3447
3472
  return be[e];
3448
3473
  }
3449
- function In(e) {
3474
+ function Rn(e) {
3450
3475
  return Se(e).map((t) => {
3451
- const r = kt(t);
3476
+ const r = zt(t);
3452
3477
  return [t, r ? [...r] : []];
3453
3478
  }).filter(([, t]) => t.length > 0);
3454
3479
  }
@@ -3456,31 +3481,31 @@ function Ve(e) {
3456
3481
  return e == null ? !1 : Se(e).some(
3457
3482
  (t) => {
3458
3483
  var r;
3459
- return (r = kt(t)) == null ? void 0 : r.size;
3484
+ return (r = zt(t)) == null ? void 0 : r.size;
3460
3485
  }
3461
3486
  );
3462
3487
  }
3463
- function Cn(e, t) {
3488
+ function $n(e, t) {
3464
3489
  return Promise.all(
3465
- t.map((n) => (On(e, n), n().then((i) => i.default || i)))
3466
- ).then((n) => jt(e, ...n));
3490
+ t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3491
+ ).then((n) => Vt(e, ...n));
3467
3492
  }
3468
3493
  const oe = {};
3469
- function Vt(e) {
3494
+ function Xt(e) {
3470
3495
  if (!Ve(e))
3471
3496
  return e in oe ? oe[e] : Promise.resolve();
3472
- const t = In(e);
3497
+ const t = Rn(e);
3473
3498
  return oe[e] = Promise.all(
3474
3499
  t.map(
3475
- ([r, n]) => Cn(r, n)
3500
+ ([r, n]) => $n(r, n)
3476
3501
  )
3477
3502
  ).then(() => {
3478
3503
  if (Ve(e))
3479
- return Vt(e);
3504
+ return Xt(e);
3480
3505
  delete oe[e];
3481
3506
  }), oe[e];
3482
3507
  }
3483
- const Ln = {
3508
+ const Dn = {
3484
3509
  number: {
3485
3510
  scientific: { notation: "scientific" },
3486
3511
  engineering: { notation: "engineering" },
@@ -3509,34 +3534,34 @@ const Ln = {
3509
3534
  timeZoneName: "short"
3510
3535
  }
3511
3536
  }
3512
- }, Mn = {
3537
+ }, Un = {
3513
3538
  fallbackLocale: null,
3514
3539
  loadingDelay: 200,
3515
- formats: Ln,
3540
+ formats: Dn,
3516
3541
  warnOnMissingMessages: !0,
3517
3542
  handleMissingMessage: void 0,
3518
3543
  ignoreTag: !0
3519
- }, Rn = Mn;
3544
+ }, Fn = Un;
3520
3545
  function te() {
3521
- return Rn;
3546
+ return Fn;
3522
3547
  }
3523
3548
  const Ie = ve(!1);
3524
- var $n = Object.defineProperty, Dn = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3549
+ var Gn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
3525
3550
  for (var r in t || (t = {}))
3526
- Fn.call(t, r) && ct(e, r, t[r]);
3527
- if (ut)
3528
- for (var r of ut(t))
3529
- Gn.call(t, r) && ct(e, r, t[r]);
3551
+ Vn.call(t, r) && mt(e, r, t[r]);
3552
+ if (ft)
3553
+ for (var r of ft(t))
3554
+ zn.call(t, r) && mt(e, r, t[r]);
3530
3555
  return e;
3531
- }, kn = (e, t) => Dn(e, Un(t));
3556
+ }, Zn = (e, t) => jn(e, kn(t));
3532
3557
  let ze;
3533
3558
  const ge = ve(null);
3534
- function ft(e) {
3559
+ function pt(e) {
3535
3560
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3536
3561
  }
3537
3562
  function Se(e, t = te().fallbackLocale) {
3538
- const r = ft(e);
3539
- return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3563
+ const r = pt(e);
3564
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3540
3565
  }
3541
3566
  function z() {
3542
3567
  return ze ?? void 0;
@@ -3544,22 +3569,22 @@ function z() {
3544
3569
  ge.subscribe((e) => {
3545
3570
  ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3546
3571
  });
3547
- const Vn = (e) => {
3548
- if (e && Pn(e) && Ve(e)) {
3572
+ const Wn = (e) => {
3573
+ if (e && Ln(e) && Ve(e)) {
3549
3574
  const { loadingDelay: t } = te();
3550
3575
  let r;
3551
3576
  return typeof window < "u" && z() != null && t ? r = window.setTimeout(
3552
3577
  () => Ie.set(!0),
3553
3578
  t
3554
- ) : Ie.set(!0), Vt(e).then(() => {
3579
+ ) : Ie.set(!0), Xt(e).then(() => {
3555
3580
  ge.set(e);
3556
3581
  }).finally(() => {
3557
3582
  clearTimeout(r), Ie.set(!1);
3558
3583
  });
3559
3584
  }
3560
3585
  return ge.set(e);
3561
- }, V = kn(jn({}, ge), {
3562
- set: Vn
3586
+ }, V = Zn(Xn({}, ge), {
3587
+ set: Wn
3563
3588
  }), we = (e) => {
3564
3589
  const t = /* @__PURE__ */ Object.create(null);
3565
3590
  return (n) => {
@@ -3567,122 +3592,122 @@ const Vn = (e) => {
3567
3592
  return i in t ? t[i] : t[i] = e(n);
3568
3593
  };
3569
3594
  };
3570
- var zn = Object.defineProperty, ye = Object.getOwnPropertySymbols, zt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3595
+ var Jn = Object.defineProperty, ye = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3571
3596
  for (var r in t || (t = {}))
3572
- zt.call(t, r) && pt(e, r, t[r]);
3597
+ Zt.call(t, r) && dt(e, r, t[r]);
3573
3598
  if (ye)
3574
3599
  for (var r of ye(t))
3575
- Xt.call(t, r) && pt(e, r, t[r]);
3600
+ Wt.call(t, r) && dt(e, r, t[r]);
3576
3601
  return e;
3577
3602
  }, ie = (e, t) => {
3578
3603
  var r = {};
3579
3604
  for (var n in e)
3580
- zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3605
+ Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3581
3606
  if (e != null && ye)
3582
3607
  for (var n of ye(e))
3583
- t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3608
+ t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
3584
3609
  return r;
3585
3610
  };
3586
- const he = (e, t) => {
3611
+ const ue = (e, t) => {
3587
3612
  const { formats: r } = te();
3588
3613
  if (e in r && t in r[e])
3589
3614
  return r[e][t];
3590
3615
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3591
- }, Xn = we(
3616
+ }, Qn = we(
3592
3617
  (e) => {
3593
3618
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3594
3619
  if (r == null)
3595
3620
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3596
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3621
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3597
3622
  }
3598
- ), Zn = we(
3623
+ ), qn = we(
3599
3624
  (e) => {
3600
3625
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3601
3626
  if (r == null)
3602
3627
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3603
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3628
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3604
3629
  }
3605
- ), Wn = we(
3630
+ ), Yn = we(
3606
3631
  (e) => {
3607
3632
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3608
3633
  if (r == null)
3609
3634
  throw new Error(
3610
3635
  '[svelte-i18n] A "locale" must be set to format time values'
3611
3636
  );
3612
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3637
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3613
3638
  }
3614
- ), Jn = (e = {}) => {
3639
+ ), Kn = (e = {}) => {
3615
3640
  var t = e, {
3616
3641
  locale: r = z()
3617
3642
  } = t, n = ie(t, [
3618
3643
  "locale"
3619
3644
  ]);
3620
- return Xn(We({ locale: r }, n));
3621
- }, Qn = (e = {}) => {
3645
+ return Qn(Qe({ locale: r }, n));
3646
+ }, ei = (e = {}) => {
3622
3647
  var t = e, {
3623
3648
  locale: r = z()
3624
3649
  } = t, n = ie(t, [
3625
3650
  "locale"
3626
3651
  ]);
3627
- return Zn(We({ locale: r }, n));
3628
- }, qn = (e = {}) => {
3652
+ return qn(Qe({ locale: r }, n));
3653
+ }, ti = (e = {}) => {
3629
3654
  var t = e, {
3630
3655
  locale: r = z()
3631
3656
  } = t, n = ie(t, [
3632
3657
  "locale"
3633
3658
  ]);
3634
- return Wn(We({ locale: r }, n));
3635
- }, Yn = we(
3659
+ return Yn(Qe({ locale: r }, n));
3660
+ }, ri = we(
3636
3661
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3637
- (e, t = z()) => new Hn(e, t, te().formats, {
3662
+ (e, t = z()) => new Nn(e, t, te().formats, {
3638
3663
  ignoreTag: te().ignoreTag
3639
3664
  })
3640
- ), Kn = (e, t = {}) => {
3665
+ ), ni = (e, t = {}) => {
3641
3666
  var r, n, i, o;
3642
3667
  let s = t;
3643
3668
  typeof e == "object" && (s = e, e = s.id);
3644
3669
  const {
3645
3670
  values: a,
3646
- locale: u = z(),
3671
+ locale: h = z(),
3647
3672
  default: l
3648
3673
  } = s;
3649
- if (u == null)
3674
+ if (h == null)
3650
3675
  throw new Error(
3651
3676
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3652
3677
  );
3653
- let h = Ft(e, u);
3654
- if (!h)
3655
- 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;
3656
- else if (typeof h != "string")
3678
+ let u = jt(e, h);
3679
+ if (!u)
3680
+ u = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3681
+ else if (typeof u != "string")
3657
3682
  return console.warn(
3658
- `[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.`
3659
- ), h;
3683
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3684
+ ), u;
3660
3685
  if (!a)
3661
- return h;
3662
- let f = h;
3686
+ return u;
3687
+ let c = u;
3663
3688
  try {
3664
- f = Yn(h, u).format(a);
3665
- } catch (c) {
3666
- c instanceof Error && console.warn(
3689
+ c = ri(u, h).format(a);
3690
+ } catch (f) {
3691
+ f instanceof Error && console.warn(
3667
3692
  `[svelte-i18n] Message "${e}" has syntax error:`,
3668
- c.message
3693
+ f.message
3669
3694
  );
3670
3695
  }
3671
- return f;
3672
- }, ei = (e, t) => qn(t).format(e), ti = (e, t) => Qn(t).format(e), ri = (e, t) => Jn(t).format(e), ni = (e, t = z()) => Ft(e, t), ii = re([V, ne], () => Kn);
3673
- re([V], () => ei);
3674
- re([V], () => ti);
3675
- re([V], () => ri);
3676
- re([V, ne], () => ni);
3677
- function oi({ withLocale: e, translations: t }) {
3696
+ return c;
3697
+ }, ii = (e, t) => ti(t).format(e), oi = (e, t) => ei(t).format(e), si = (e, t) => Kn(t).format(e), ai = (e, t = z()) => jt(e, t), li = re([V, ne], () => ni);
3698
+ re([V], () => ii);
3699
+ re([V], () => oi);
3700
+ re([V], () => si);
3701
+ re([V, ne], () => ai);
3702
+ function ui({ withLocale: e, translations: t }) {
3678
3703
  V.subscribe((r) => {
3679
3704
  r == null && (ne.set(t), V.set(e));
3680
3705
  });
3681
3706
  }
3682
- function mt(e, t) {
3683
- jt(e, t);
3707
+ function bt(e, t) {
3708
+ Vt(e, t);
3684
3709
  }
3685
- const dt = {
3710
+ const gt = {
3686
3711
  en: {
3687
3712
  sortby: "Sort by:",
3688
3713
  all: "All",
@@ -3810,88 +3835,88 @@ const dt = {
3810
3835
  hottest: "Hottest"
3811
3836
  }
3812
3837
  };
3813
- function si(e) {
3814
- Jt(e, "svelte-kh3a1g", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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)}}');
3838
+ function hi(e) {
3839
+ qt(e, "svelte-kh3a1g", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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)}}');
3815
3840
  }
3816
- function bt(e, t, r) {
3841
+ function yt(e, t, r) {
3817
3842
  const n = e.slice();
3818
3843
  return n[23] = t[r], n;
3819
3844
  }
3820
- function ai(e) {
3821
- let t, r, n, i, o, s, a, u, l, h, f, c = (
3845
+ function ci(e) {
3846
+ let t, r, n, i, o, s, a, h, l, u, c, f = (
3822
3847
  /*$_*/
3823
3848
  e[4]("sortby") + ""
3824
- ), m, x, E, N, L = (
3849
+ ), p, g, E, N, P = (
3825
3850
  /*vendorSortingBy*/
3826
3851
  (e[3] || /*$_*/
3827
3852
  e[4]("all")) + ""
3828
- ), M, B, I, H, C, D, X, d, S, R, fe, He, Je, Z = et(Object.values(
3853
+ ), M, B, C, w, L, D, X, d, H, R, fe, He, qe, Z = rt(Object.values(
3829
3854
  /*vendorMap*/
3830
3855
  e[5]
3831
- )), P = [];
3832
- for (let w = 0; w < Z.length; w += 1)
3833
- P[w] = gt(bt(e, Z, w));
3856
+ )), O = [];
3857
+ for (let S = 0; S < Z.length; S += 1)
3858
+ O[S] = xt(yt(e, Z, S));
3834
3859
  return {
3835
3860
  c() {
3836
- t = A("div"), r = A("div"), n = A("div"), i = G("svg"), o = G("g"), s = G("path"), a = G("path"), u = G("path"), l = k(), h = A("div"), f = A("span"), m = Ce(c), x = k(), E = A("div"), N = A("span"), M = Ce(L), B = k(), I = A("span"), H = G("svg"), C = G("path"), d = k(), S = A("div"), R = A("ul");
3837
- for (let w = 0; w < P.length; w += 1)
3838
- P[w].c();
3839
- p(s, "id", "Path_5267"), p(s, "data-name", "Path 5267"), p(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"), p(s, "transform", "translate(-206.448 0)"), p(s, "fill", "#fff"), p(a, "id", "Path_5268"), p(a, "data-name", "Path 5268"), p(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"), p(a, "transform", "translate(0 0)"), p(a, "fill", "#fff"), p(u, "id", "Path_5269"), p(u, "data-name", "Path 5269"), p(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"), p(u, "transform", "translate(-412.896 0)"), p(u, "fill", "#fff"), p(o, "id", "sortby"), p(o, "transform", "translate(-306 -342)"), p(i, "xmlns", "http://www.w3.org/2000/svg"), p(i, "width", "20"), p(i, "height", "20"), p(i, "viewBox", "0 0 26.003 22.819"), p(f, "class", "SorterName"), p(E, "class", "SorterValueContainer"), p(h, "class", "SorterTextContainer"), p(n, "class", "SorterMainArea"), p(C, "id", "arrow"), p(C, "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"), p(C, "transform", "translate(-274.511 -441.088)"), p(C, "fill", "#d1d1d1"), p(H, "xmlns", "http://www.w3.org/2000/svg"), p(H, "width", "14"), p(H, "height", "6.835"), p(H, "viewBox", "0 0 14 6.835"), p(I, "class", D = "TriangleInactive " + /*isSorterActive*/
3840
- (e[1] ? "TriangleActive" : "")), p(r, "class", X = "SorterSelector " + /*isSorterActive*/
3841
- (e[1] ? "SorterSelectorOpen" : "")), p(R, "class", "SorterDropdown"), p(S, "class", fe = "SorterDropdownContainer " + /*isSorterActive*/
3842
- (e[1] ? "SorterOpen" : "")), p(t, "class", "SorterContainer");
3861
+ t = A("div"), r = A("div"), n = A("div"), i = j("svg"), o = j("g"), s = j("path"), a = j("path"), h = j("path"), l = k(), u = A("div"), c = A("span"), p = Ce(f), g = k(), E = A("div"), N = A("span"), M = Ce(P), B = k(), C = A("span"), w = j("svg"), L = j("path"), d = k(), H = A("div"), R = A("ul");
3862
+ for (let S = 0; S < O.length; S += 1)
3863
+ O[S].c();
3864
+ 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(h, "id", "Path_5269"), m(h, "data-name", "Path 5269"), m(h, "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(h, "transform", "translate(-412.896 0)"), m(h, "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(u, "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(w, "xmlns", "http://www.w3.org/2000/svg"), m(w, "width", "14"), m(w, "height", "6.835"), m(w, "viewBox", "0 0 14 6.835"), m(C, "class", D = "TriangleInactive " + /*isSorterActive*/
3865
+ (e[1] ? "TriangleActive" : "")), m(r, "class", X = "SorterSelector " + /*isSorterActive*/
3866
+ (e[1] ? "SorterSelectorOpen" : "")), m(R, "class", "SorterDropdown"), m(H, "class", fe = "SorterDropdownContainer " + /*isSorterActive*/
3867
+ (e[1] ? "SorterOpen" : "")), m(t, "class", "SorterContainer");
3843
3868
  },
3844
- m(w, U) {
3845
- xe(w, t, U), 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, f), v(f, m), v(h, x), v(h, E), v(E, N), v(N, M), v(r, B), v(r, I), v(I, H), v(H, C), v(t, d), v(t, S), v(S, R);
3846
- for (let T = 0; T < P.length; T += 1)
3847
- P[T] && P[T].m(R, null);
3848
- He || (Je = Et(
3869
+ m(S, U) {
3870
+ xe(S, t, U), v(t, r), v(r, n), v(n, i), v(i, o), v(o, s), v(o, a), v(o, h), v(n, l), v(n, u), v(u, c), v(c, p), v(u, g), v(u, E), v(E, N), v(N, M), v(r, B), v(r, C), v(C, w), v(w, L), v(t, d), v(t, H), v(H, R);
3871
+ for (let T = 0; T < O.length; T += 1)
3872
+ O[T] && O[T].m(R, null);
3873
+ He || (qe = St(
3849
3874
  r,
3850
3875
  "click",
3851
3876
  /*click_handler*/
3852
- e[13]
3877
+ e[14]
3853
3878
  ), He = !0);
3854
3879
  },
3855
- p(w, U) {
3880
+ p(S, U) {
3856
3881
  if (U & /*$_*/
3857
- 16 && c !== (c = /*$_*/
3858
- w[4]("sortby") + "") && Ye(m, c), U & /*vendorSortingBy, $_*/
3859
- 24 && L !== (L = /*vendorSortingBy*/
3860
- (w[3] || /*$_*/
3861
- w[4]("all")) + "") && Ye(M, L), U & /*isSorterActive*/
3882
+ 16 && f !== (f = /*$_*/
3883
+ S[4]("sortby") + "") && et(p, f), U & /*vendorSortingBy, $_*/
3884
+ 24 && P !== (P = /*vendorSortingBy*/
3885
+ (S[3] || /*$_*/
3886
+ S[4]("all")) + "") && et(M, P), U & /*isSorterActive*/
3862
3887
  2 && D !== (D = "TriangleInactive " + /*isSorterActive*/
3863
- (w[1] ? "TriangleActive" : "")) && p(I, "class", D), U & /*isSorterActive*/
3888
+ (S[1] ? "TriangleActive" : "")) && m(C, "class", D), U & /*isSorterActive*/
3864
3889
  2 && X !== (X = "SorterSelector " + /*isSorterActive*/
3865
- (w[1] ? "SorterSelectorOpen" : "")) && p(r, "class", X), U & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
3890
+ (S[1] ? "SorterSelectorOpen" : "")) && m(r, "class", X), U & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
3866
3891
  120) {
3867
- Z = et(Object.values(
3892
+ Z = rt(Object.values(
3868
3893
  /*vendorMap*/
3869
- w[5]
3894
+ S[5]
3870
3895
  ));
3871
3896
  let T;
3872
3897
  for (T = 0; T < Z.length; T += 1) {
3873
- const Qe = bt(w, Z, T);
3874
- P[T] ? P[T].p(Qe, U) : (P[T] = gt(Qe), P[T].c(), P[T].m(R, null));
3898
+ const Ye = yt(S, Z, T);
3899
+ O[T] ? O[T].p(Ye, U) : (O[T] = xt(Ye), O[T].c(), O[T].m(R, null));
3875
3900
  }
3876
- for (; T < P.length; T += 1)
3877
- P[T].d(1);
3878
- P.length = Z.length;
3901
+ for (; T < O.length; T += 1)
3902
+ O[T].d(1);
3903
+ O.length = Z.length;
3879
3904
  }
3880
3905
  U & /*isSorterActive*/
3881
3906
  2 && fe !== (fe = "SorterDropdownContainer " + /*isSorterActive*/
3882
- (w[1] ? "SorterOpen" : "")) && p(S, "class", fe);
3907
+ (S[1] ? "SorterOpen" : "")) && m(H, "class", fe);
3883
3908
  },
3884
- d(w) {
3885
- w && ce(t), Yt(P, w), He = !1, Je();
3909
+ d(S) {
3910
+ S && ce(t), er(O, S), He = !1, qe();
3886
3911
  }
3887
3912
  };
3888
3913
  }
3889
- function gt(e) {
3890
- let t, r, n, i, o, s, a, u, l, h, f;
3891
- function c() {
3914
+ function xt(e) {
3915
+ let t, r, n, i, o, s, a, h, l, u, c;
3916
+ function f() {
3892
3917
  return (
3893
3918
  /*click_handler_1*/
3894
- e[14](
3919
+ e[15](
3895
3920
  /*sort*/
3896
3921
  e[23]
3897
3922
  )
@@ -3899,8 +3924,8 @@ function gt(e) {
3899
3924
  }
3900
3925
  return {
3901
3926
  c() {
3902
- t = A("li"), r = A("label"), n = A("input"), o = k(), s = A("span"), a = k(), u = A("span"), u.textContent = `${/*sort*/
3903
- e[23]}`, l = k(), p(n, "type", "radio"), p(n, "name", "radio"), n.value = /*sort*/
3927
+ t = A("li"), r = A("label"), n = A("input"), o = k(), s = A("span"), a = k(), h = A("span"), h.textContent = `${/*sort*/
3928
+ e[23]}`, l = k(), m(n, "type", "radio"), m(n, "name", "radio"), n.value = /*sort*/
3904
3929
  e[23], n.checked = i = /*vendorSortingBy*/
3905
3930
  e[3] == /*sort*/
3906
3931
  e[23] ? !0 : (
@@ -3908,14 +3933,14 @@ function gt(e) {
3908
3933
  e[3] == null && /*sort*/
3909
3934
  e[23] == /*$_*/
3910
3935
  e[4]("all")
3911
- ), p(s, "class", "SortersCheckmark"), p(r, "class", "SorterLabel CustomRadioButton"), p(t, "class", "SorterItem"), t.value = /*sort*/
3936
+ ), m(s, "class", "SortersCheckmark"), m(r, "class", "SorterLabel CustomRadioButton"), m(t, "class", "SorterItem"), t.value = /*sort*/
3912
3937
  e[23];
3913
3938
  },
3914
- m(m, x) {
3915
- xe(m, t, x), v(t, r), v(r, n), v(r, o), v(r, s), v(r, a), v(r, u), v(t, l), h || (f = Et(n, "click", c), h = !0);
3939
+ m(p, g) {
3940
+ xe(p, t, g), v(t, r), v(r, n), v(r, o), v(r, s), v(r, a), v(r, h), v(t, l), u || (c = St(n, "click", f), u = !0);
3916
3941
  },
3917
- p(m, x) {
3918
- e = m, x & /*vendorSortingBy, $_*/
3942
+ p(p, g) {
3943
+ e = p, g & /*vendorSortingBy, $_*/
3919
3944
  24 && i !== (i = /*vendorSortingBy*/
3920
3945
  e[3] == /*sort*/
3921
3946
  e[23] ? !0 : (
@@ -3925,16 +3950,16 @@ function gt(e) {
3925
3950
  e[4]("all")
3926
3951
  )) && (n.checked = i);
3927
3952
  },
3928
- d(m) {
3929
- m && ce(t), h = !1, f();
3953
+ d(p) {
3954
+ p && ce(t), u = !1, c();
3930
3955
  }
3931
3956
  };
3932
3957
  }
3933
- function li(e) {
3958
+ function fi(e) {
3934
3959
  let t;
3935
3960
  function r(o, s) {
3936
3961
  if (!/*isLoading*/
3937
- o[2]) return ai;
3962
+ o[2]) return ci;
3938
3963
  }
3939
3964
  let n = r(e), i = n && n(e);
3940
3965
  return {
@@ -3942,7 +3967,7 @@ function li(e) {
3942
3967
  t = A("div"), i && i.c();
3943
3968
  },
3944
3969
  m(o, s) {
3945
- xe(o, t, s), i && i.m(t, null), e[15](t);
3970
+ xe(o, t, s), i && i.m(t, null), e[16](t);
3946
3971
  },
3947
3972
  p(o, [s]) {
3948
3973
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
@@ -3950,157 +3975,153 @@ function li(e) {
3950
3975
  i: $,
3951
3976
  o: $,
3952
3977
  d(o) {
3953
- o && ce(t), i && i.d(), e[15](null);
3978
+ o && ce(t), i && i.d(), e[16](null);
3954
3979
  }
3955
3980
  };
3956
3981
  }
3957
- function hi(e, t, r) {
3982
+ function mi(e, t, r) {
3958
3983
  let n;
3959
- Wt(e, ii, (d) => r(4, n = d));
3960
- let { lang: i = "" } = t, { translationurl: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { categoryid: u = "" } = t, l, h = !1, f = !0, c = "", m = "All";
3961
- oi({ withLocale: "en", translations: {} });
3962
- const x = () => {
3963
- fetch(o).then((S) => S.json()).then((S) => {
3964
- Object.keys(S).forEach((R) => {
3965
- mt(R, S[R]);
3984
+ Qt(e, li, (d) => r(4, n = d));
3985
+ let { lang: i = "" } = t, { translationurl: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { categoryid: h = "" } = t, { mbsource: l } = t, u, c, f = !1, p = !0, g = "", E = "All";
3986
+ ui({ withLocale: "en", translations: {} });
3987
+ const N = () => {
3988
+ fetch(o).then((H) => H.json()).then((H) => {
3989
+ Object.keys(H).forEach((R) => {
3990
+ bt(R, H[R]);
3966
3991
  });
3967
- }).catch((S) => {
3968
- console.log(S);
3992
+ }).catch((H) => {
3993
+ console.log(H);
3969
3994
  });
3970
3995
  };
3971
- Object.keys(dt).forEach((d) => {
3972
- mt(d, dt[d]);
3996
+ Object.keys(gt).forEach((d) => {
3997
+ bt(d, gt[d]);
3973
3998
  });
3974
- const E = {
3999
+ const P = {
3975
4000
  All: n("all"),
3976
4001
  name: n("az"),
3977
4002
  isNew: n("newest"),
3978
4003
  "advancedTags(name(hot))": n("hottest")
3979
- }, N = () => {
3980
- let d = document.createElement("style");
3981
- d.innerHTML = s, l.appendChild(d);
3982
- }, L = () => {
3983
- let d = document.createElement("style");
3984
- fetch(new URL(a)).then((S) => S.text()).then((S) => {
3985
- d.innerHTML = S, setTimeout(
3986
- () => {
3987
- l.appendChild(d);
3988
- },
3989
- 1
3990
- );
3991
- });
3992
4004
  }, M = () => {
3993
- r(3, m = "All"), r(2, f = !1), r(1, h = !1);
3994
- let d = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[u];
3995
- d ? r(3, m = d) : r(3, m = "All"), r(3, m = E[d]);
4005
+ r(3, E = "All"), r(2, p = !1), r(1, f = !1);
4006
+ let d = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[h];
4007
+ d ? r(3, E = d) : r(3, E = "All"), r(3, E = P[d]);
3996
4008
  }, B = (d) => {
3997
- r(3, m = d);
3998
- let S = localStorage.getItem("vendorSortingBy");
3999
- c = d;
4000
- for (let R in E)
4001
- if (E[R] === d) {
4002
- c = R;
4009
+ r(3, E = d);
4010
+ let H = localStorage.getItem("vendorSortingBy");
4011
+ g = d;
4012
+ for (let R in P)
4013
+ if (P[R] === d) {
4014
+ g = R;
4003
4015
  break;
4004
4016
  }
4005
- S == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [u]: c })) : (S = JSON.parse(S), S[u] = c, localStorage.setItem("vendorSortingBy", JSON.stringify(S))), window.postMessage(
4017
+ H == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [h]: g })) : (H = JSON.parse(H), H[h] = g, localStorage.setItem("vendorSortingBy", JSON.stringify(H))), window.postMessage(
4006
4018
  {
4007
4019
  type: "ApplySorter",
4008
- sortBy: c,
4009
- itemId: u
4020
+ sortBy: g,
4021
+ itemId: h
4010
4022
  },
4011
4023
  window.location.href
4012
- ), r(1, h = !h);
4013
- }, I = () => {
4014
- r(1, h = !h), window.postMessage({ type: "SortingOpened" }, window.location.href);
4015
- }, H = (d) => {
4016
- d.data.type == "FilterOpened" && r(1, h = !1);
4024
+ ), r(1, f = !f);
4025
+ }, C = () => {
4026
+ r(1, f = !f), window.postMessage({ type: "SortingOpened" }, window.location.href);
4027
+ }, w = (d) => {
4028
+ d.data.type == "FilterOpened" && r(1, f = !1);
4017
4029
  };
4018
- rr(() => (window.addEventListener("message", H, !1), () => {
4019
- window.removeEventListener("message", H);
4030
+ ir(() => (window.addEventListener("message", w, !1), () => {
4031
+ window.emMessageBus != null && u && u.unsubscribe(), window.removeEventListener("message", w);
4020
4032
  }));
4021
- const C = () => I(), D = (d) => B(d);
4033
+ const L = () => C(), D = (d) => B(d);
4022
4034
  function X(d) {
4023
4035
  Le[d ? "unshift" : "push"](() => {
4024
- l = d, r(0, l);
4036
+ c = d, r(0, c);
4025
4037
  });
4026
4038
  }
4027
4039
  return e.$$set = (d) => {
4028
- "lang" in d && r(8, i = d.lang), "translationurl" in d && r(9, o = d.translationurl), "clientstyling" in d && r(10, s = d.clientstyling), "clientstylingurl" in d && r(11, a = d.clientstylingurl), "categoryid" in d && r(12, u = d.categoryid);
4040
+ "lang" in d && r(8, i = d.lang), "translationurl" in d && r(9, o = d.translationurl), "clientstyling" in d && r(10, s = d.clientstyling), "clientstylingurl" in d && r(11, a = d.clientstylingurl), "categoryid" in d && r(12, h = d.categoryid), "mbsource" in d && r(13, l = d.mbsource);
4029
4041
  }, e.$$.update = () => {
4030
4042
  e.$$.dirty & /*categoryid*/
4031
- 4096 && u && M(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4032
- 1025 && s && l && N(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4033
- 2049 && a && l && L(), e.$$.dirty & /*translationurl*/
4034
- 512 && o && x();
4043
+ 4096 && h && M(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4044
+ 1025 && s && c && yr(c, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4045
+ 2049 && a && c && xr(c, a), e.$$.dirty & /*customStylingContainer, mbsource*/
4046
+ 8193 && c && vr(c, `${l}.Style`), e.$$.dirty & /*translationurl*/
4047
+ 512 && o && N();
4035
4048
  }, [
4036
- l,
4037
- h,
4049
+ c,
4038
4050
  f,
4039
- m,
4040
- n,
4051
+ p,
4041
4052
  E,
4053
+ n,
4054
+ P,
4042
4055
  B,
4043
- I,
4056
+ C,
4044
4057
  i,
4045
4058
  o,
4046
4059
  s,
4047
4060
  a,
4048
- u,
4049
- C,
4061
+ h,
4062
+ l,
4063
+ L,
4050
4064
  D,
4051
4065
  X
4052
4066
  ];
4053
4067
  }
4054
- class ui extends mr {
4068
+ class pi extends br {
4055
4069
  constructor(t) {
4056
- super(), fr(
4070
+ super(), pr(
4057
4071
  this,
4058
4072
  t,
4059
- hi,
4060
- li,
4061
- xt,
4073
+ mi,
4074
+ fi,
4075
+ Et,
4062
4076
  {
4063
4077
  lang: 8,
4064
4078
  translationurl: 9,
4065
4079
  clientstyling: 10,
4066
4080
  clientstylingurl: 11,
4067
- categoryid: 12
4081
+ categoryid: 12,
4082
+ mbsource: 13
4068
4083
  },
4069
- si
4084
+ hi
4070
4085
  );
4071
4086
  }
4072
4087
  get lang() {
4073
4088
  return this.$$.ctx[8];
4074
4089
  }
4075
4090
  set lang(t) {
4076
- this.$$set({ lang: t }), j();
4091
+ this.$$set({ lang: t }), F();
4077
4092
  }
4078
4093
  get translationurl() {
4079
4094
  return this.$$.ctx[9];
4080
4095
  }
4081
4096
  set translationurl(t) {
4082
- this.$$set({ translationurl: t }), j();
4097
+ this.$$set({ translationurl: t }), F();
4083
4098
  }
4084
4099
  get clientstyling() {
4085
4100
  return this.$$.ctx[10];
4086
4101
  }
4087
4102
  set clientstyling(t) {
4088
- this.$$set({ clientstyling: t }), j();
4103
+ this.$$set({ clientstyling: t }), F();
4089
4104
  }
4090
4105
  get clientstylingurl() {
4091
4106
  return this.$$.ctx[11];
4092
4107
  }
4093
4108
  set clientstylingurl(t) {
4094
- this.$$set({ clientstylingurl: t }), j();
4109
+ this.$$set({ clientstylingurl: t }), F();
4095
4110
  }
4096
4111
  get categoryid() {
4097
4112
  return this.$$.ctx[12];
4098
4113
  }
4099
4114
  set categoryid(t) {
4100
- this.$$set({ categoryid: t }), j();
4115
+ this.$$set({ categoryid: t }), F();
4116
+ }
4117
+ get mbsource() {
4118
+ return this.$$.ctx[13];
4119
+ }
4120
+ set mbsource(t) {
4121
+ this.$$set({ mbsource: t }), F();
4101
4122
  }
4102
4123
  }
4103
- pr(ui, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {} }, [], [], !0);
4124
+ dr(pi, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
4104
4125
  export {
4105
- ui as C
4126
+ pi as C
4106
4127
  };