@everymatrix/casino-categories-slider 1.65.0 → 1.65.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Fr = Object.defineProperty, $r = Object.defineProperties;
1
+ var $r = Object.defineProperty, Fr = Object.defineProperties;
2
2
  var jr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
3
+ var gt = Object.getOwnPropertySymbols;
4
4
  var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
5
+ var Me = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kr.call(t, r) && Ie(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- Vr.call(t, r) && Ie(e, r, t[r]);
7
+ kr.call(t, r) && Me(e, r, t[r]);
8
+ if (gt)
9
+ for (var r of gt(t))
10
+ Vr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, yt = (e, t) => $r(e, jr(t));
13
- var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var vt = (e, t, r) => new Promise((n, i) => {
12
+ }, vt = (e, t) => Fr(e, jr(t));
13
+ var M = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var _t = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var vt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function Vt(e) {
32
+ function Xt(e) {
33
33
  return e();
34
34
  }
35
35
  function Et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach(Vt);
38
+ function re(e) {
39
+ e.forEach(Xt);
40
40
  }
41
- function st(e) {
41
+ function ht(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Xt(e, t) {
44
+ function Wt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ge;
48
- function Hs(e, t) {
48
+ function As(e, t) {
49
49
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
51
  function Xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Wt(e, ...t) {
54
+ function zt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -61,9 +61,9 @@ function Wt(e, ...t) {
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
63
  function Wr(e, t, r) {
64
- e.$$.on_destroy.push(Wt(t, r));
64
+ e.$$.on_destroy.push(zt(t, r));
65
65
  }
66
- function zt(e, t) {
66
+ function Zt(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
69
  function zr(e, t, r) {
@@ -84,16 +84,16 @@ function Zr(e) {
84
84
  ) : e.ownerDocument;
85
85
  }
86
86
  function Qr(e, t) {
87
- return zt(
87
+ return Zt(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function fe(e, t, r) {
93
+ function ce(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function ie(e) {
96
+ function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
99
  function Bs(e, t) {
@@ -103,29 +103,29 @@ function Bs(e, t) {
103
103
  function V(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Zt(e) {
106
+ function Qt(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
- function As() {
110
- return Zt(" ");
111
- }
112
109
  function Ps() {
113
- return Zt("");
110
+ return Qt(" ");
111
+ }
112
+ function Os() {
113
+ return Qt("");
114
114
  }
115
115
  function Ns(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function me(e, t, r) {
118
+ function fe(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
- function E(e, t, r) {
121
+ function v(e, t, r) {
122
122
  const n = t.toLowerCase();
123
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
123
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
124
124
  }
125
125
  function Yr(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
- function Os(e, t) {
128
+ function Ls(e, t) {
129
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
130
130
  t);
131
131
  }
@@ -138,63 +138,63 @@ function qr(e) {
138
138
  }
139
139
  ), t;
140
140
  }
141
- let he;
142
- function ue(e) {
143
- he = e;
141
+ let ue;
142
+ function ae(e) {
143
+ ue = e;
144
144
  }
145
145
  function Jr() {
146
- if (!he)
146
+ if (!ue)
147
147
  throw new Error("Function called outside component initialization");
148
- return he;
148
+ return ue;
149
149
  }
150
150
  function Kr(e) {
151
151
  Jr().$$.on_mount.push(e);
152
152
  }
153
- const Y = [], je = [];
153
+ const Y = [], Ve = [];
154
154
  let q = [];
155
- const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
156
- let ke = !1;
157
- function Yt() {
158
- ke || (ke = !0, Qt.then(S));
155
+ const xt = [], Yt = /* @__PURE__ */ Promise.resolve();
156
+ let Xe = !1;
157
+ function qt() {
158
+ Xe || (Xe = !0, Yt.then(x));
159
159
  }
160
160
  function en() {
161
- return Yt(), Qt;
161
+ return qt(), Yt;
162
162
  }
163
- function Ve(e) {
163
+ function We(e) {
164
164
  q.push(e);
165
165
  }
166
- const Ce = /* @__PURE__ */ new Set();
166
+ const Re = /* @__PURE__ */ new Set();
167
167
  let Z = 0;
168
- function S() {
168
+ function x() {
169
169
  if (Z !== 0)
170
170
  return;
171
- const e = he;
171
+ const e = ue;
172
172
  do {
173
173
  try {
174
174
  for (; Z < Y.length; ) {
175
175
  const t = Y[Z];
176
- Z++, ue(t), tn(t.$$);
176
+ Z++, ae(t), tn(t.$$);
177
177
  }
178
178
  } catch (t) {
179
179
  throw Y.length = 0, Z = 0, t;
180
180
  }
181
- for (ue(null), Y.length = 0, Z = 0; je.length; )
182
- je.pop()();
181
+ for (ae(null), Y.length = 0, Z = 0; Ve.length; )
182
+ Ve.pop()();
183
183
  for (let t = 0; t < q.length; t += 1) {
184
184
  const r = q[t];
185
- Ce.has(r) || (Ce.add(r), r());
185
+ Re.has(r) || (Re.add(r), r());
186
186
  }
187
187
  q.length = 0;
188
188
  } while (Y.length);
189
- for (; _t.length; )
190
- _t.pop()();
191
- ke = !1, Ce.clear(), ue(e);
189
+ for (; xt.length; )
190
+ xt.pop()();
191
+ Xe = !1, Re.clear(), ae(e);
192
192
  }
193
193
  function tn(e) {
194
194
  if (e.fragment !== null) {
195
- e.update(), ne(e.before_update);
195
+ e.update(), re(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
198
198
  }
199
199
  }
200
200
  function rn(e) {
@@ -202,33 +202,33 @@ function rn(e) {
202
202
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
203
203
  }
204
204
  const nn = /* @__PURE__ */ new Set();
205
- function qt(e, t) {
205
+ function Jt(e, t) {
206
206
  e && e.i && (nn.delete(e), e.i(t));
207
207
  }
208
- function Ls(e) {
208
+ function Is(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Is(e, t) {
211
+ function Cs(e, t) {
212
212
  e.d(1), t.delete(e.key);
213
213
  }
214
- function Cs(e, t, r, n, i, s, o, a, h, u, l, m) {
214
+ function Ms(e, t, r, n, i, s, o, a, h, u, l, m) {
215
215
  let c = e.length, d = s.length, b = c;
216
216
  const y = {};
217
217
  for (; b--; )
218
218
  y[e[b].key] = b;
219
219
  const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
220
220
  for (b = d; b--; ) {
221
- const _ = m(i, s, b), B = r(_);
222
- let L = o.get(B);
223
- L ? w.push(() => L.p(_, t)) : (L = u(B, _), L.c()), C.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
221
+ const _ = m(i, s, b), A = r(_);
222
+ let L = o.get(A);
223
+ L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
224
224
  }
225
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
225
+ const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
226
226
  function R(_) {
227
- qt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
227
+ Jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
228
228
  }
229
229
  for (; c && d; ) {
230
- const _ = T[d - 1], B = e[c - 1], L = _.key, $ = B.key;
231
- _ === B ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(_)) : (N.add($), c--) : (h(B, o), c--);
230
+ const _ = T[d - 1], A = e[c - 1], L = _.key, F = A.key;
231
+ _ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(L) || O.has(L) ? R(_) : N.has(F) ? c-- : P.get(L) > P.get(F) ? (N.add(L), R(_)) : (O.add(F), c--) : (h(A, o), c--);
232
232
  }
233
233
  for (; c--; ) {
234
234
  const _ = e[c];
@@ -236,25 +236,25 @@ function Cs(e, t, r, n, i, s, o, a, h, u, l, m) {
236
236
  }
237
237
  for (; d; )
238
238
  R(T[d - 1]);
239
- return ne(w), T;
239
+ return re(w), T;
240
240
  }
241
241
  function sn(e, t, r) {
242
242
  const { fragment: n, after_update: i } = e.$$;
243
- n && n.m(t, r), Ve(() => {
244
- const s = e.$$.on_mount.map(Vt).filter(st);
245
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
246
- }), i.forEach(Ve);
243
+ n && n.m(t, r), We(() => {
244
+ const s = e.$$.on_mount.map(Xt).filter(ht);
245
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
246
+ }), i.forEach(We);
247
247
  }
248
248
  function on(e, t) {
249
249
  const r = e.$$;
250
- r.fragment !== null && (rn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
+ r.fragment !== null && (rn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
251
  }
252
252
  function an(e, t) {
253
- e.$$.dirty[0] === -1 && (Y.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
+ e.$$.dirty[0] === -1 && (Y.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
254
254
  }
255
255
  function un(e, t, r, n, i, s, o = null, a = [-1]) {
256
- const h = he;
257
- ue(e);
256
+ const h = ue;
257
+ ae(e);
258
258
  const u = e.$$ = {
259
259
  fragment: null,
260
260
  ctx: [],
@@ -281,18 +281,18 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
281
281
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
282
282
  const b = d.length ? d[0] : c;
283
283
  return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && an(e, m)), c;
284
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
284
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
285
285
  if (t.hydrate) {
286
286
  const m = Yr(t.target);
287
- u.fragment && u.fragment.l(m), m.forEach(ie);
287
+ u.fragment && u.fragment.l(m), m.forEach(ne);
288
288
  } else
289
289
  u.fragment && u.fragment.c();
290
- t.intro && qt(e.$$.fragment), sn(e, t.target, t.anchor), S();
290
+ t.intro && Jt(e.$$.fragment), sn(e, t.target, t.anchor), x();
291
291
  }
292
- ue(h);
292
+ ae(h);
293
293
  }
294
- let Jt;
295
- typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
294
+ let Kt;
295
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
296
296
  constructor(t, r, n) {
297
297
  super();
298
298
  /** The Svelte component constructor */
@@ -329,24 +329,24 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
329
329
  }
330
330
  }
331
331
  connectedCallback() {
332
- return vt(this, null, function* () {
332
+ return _t(this, null, function* () {
333
333
  if (this.$$cn = !0, !this.$$c) {
334
334
  let t = function(s) {
335
335
  return () => {
336
336
  let o;
337
337
  return {
338
338
  c: function() {
339
- o = V("slot"), s !== "default" && me(o, "name", s);
339
+ o = V("slot"), s !== "default" && fe(o, "name", s);
340
340
  },
341
341
  /**
342
342
  * @param {HTMLElement} target
343
343
  * @param {HTMLElement} [anchor]
344
344
  */
345
345
  m: function(u, l) {
346
- fe(u, o, l);
346
+ ce(u, o, l);
347
347
  },
348
348
  d: function(u) {
349
- u && ie(o);
349
+ u && ne(o);
350
350
  }
351
351
  };
352
352
  };
@@ -358,13 +358,13 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
358
358
  s in n && (r[s] = [t(s)]);
359
359
  for (const s of this.attributes) {
360
360
  const o = this.$$g_p(s.name);
361
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
361
+ o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
362
362
  }
363
363
  for (const s in this.$$p_d)
364
364
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
365
365
  this.$$c = new this.$$ctor({
366
366
  target: this.shadowRoot || this,
367
- props: yt(gt({}, this.$$d), {
367
+ props: vt(yt({}, this.$$d), {
368
368
  $$slots: r,
369
369
  $$scope: {
370
370
  ctx: []
@@ -375,7 +375,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
375
375
  this.$$r = !0;
376
376
  for (const s in this.$$p_d)
377
377
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
378
- const o = Ee(
378
+ const o = _e(
379
379
  s,
380
380
  this.$$d[s],
381
381
  this.$$p_d,
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
399
399
  // and setting attributes through setAttribute etc, this is helpful
400
400
  attributeChangedCallback(t, r, n) {
401
401
  var i;
402
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
402
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
403
403
  }
404
404
  disconnectedCallback() {
405
405
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -412,7 +412,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
412
412
  ) || t;
413
413
  }
414
414
  });
415
- function Ee(e, t, r, n) {
415
+ function _e(e, t, r, n) {
416
416
  var s;
417
417
  const i = (s = r[e]) == null ? void 0 : s.type;
418
418
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -443,7 +443,7 @@ function Ee(e, t, r, n) {
443
443
  }
444
444
  }
445
445
  function hn(e, t, r, n, i, s) {
446
- let o = class extends Jt {
446
+ let o = class extends Kt {
447
447
  constructor() {
448
448
  super(e, r, i), this.$$p_d = t;
449
449
  }
@@ -460,7 +460,7 @@ function hn(e, t, r, n, i, s) {
460
460
  },
461
461
  set(h) {
462
462
  var u;
463
- h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
463
+ h = _e(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
464
464
  }
465
465
  });
466
466
  }), n.forEach((a) => {
@@ -503,7 +503,7 @@ class ln {
503
503
  * @returns {() => void}
504
504
  */
505
505
  $on(t, r) {
506
- if (!st(r))
506
+ if (!ht(r))
507
507
  return I;
508
508
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
509
509
  return n.push(r), () => {
@@ -535,43 +535,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
535
535
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
536
536
  PERFORMANCE OF THIS SOFTWARE.
537
537
  ***************************************************************************** */
538
- var Xe = function(e, t) {
539
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
538
+ var ze = function(e, t) {
539
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
540
540
  r.__proto__ = n;
541
541
  } || function(r, n) {
542
542
  for (var i in n)
543
543
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
544
- }, Xe(e, t);
544
+ }, ze(e, t);
545
545
  };
546
- function D(e, t) {
546
+ function me(e, t) {
547
547
  if (typeof t != "function" && t !== null)
548
548
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
549
- Xe(e, t);
549
+ ze(e, t);
550
550
  function r() {
551
551
  this.constructor = e;
552
552
  }
553
553
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
554
554
  }
555
- var v = function() {
556
- return v = Object.assign || function(t) {
557
- for (var r, n = 1, i = arguments.length; n < i; n++) {
558
- r = arguments[n];
559
- for (var s in r)
560
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
561
- }
562
- return t;
563
- }, v.apply(this, arguments);
564
- };
565
- function fn(e, t) {
566
- var r = {};
567
- for (var n in e)
568
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
569
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
570
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
571
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
572
- return r;
573
- }
574
- function We(e) {
555
+ function Ze(e) {
575
556
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
576
557
  if (r)
577
558
  return r.call(e);
@@ -583,7 +564,7 @@ function We(e) {
583
564
  };
584
565
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
585
566
  }
586
- function ze(e, t) {
567
+ function Qe(e, t) {
587
568
  var r = typeof Symbol == "function" && e[Symbol.iterator];
588
569
  if (!r)
589
570
  return e;
@@ -603,22 +584,22 @@ function ze(e, t) {
603
584
  }
604
585
  return s;
605
586
  }
606
- function J(e, t, r) {
607
- if (r || arguments.length === 2)
587
+ function Ye(e, t, r) {
588
+ if (arguments.length === 2)
608
589
  for (var n = 0, i = t.length, s; n < i; n++)
609
590
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
610
591
  return e.concat(s || t);
611
592
  }
612
- function U(e) {
593
+ function D(e) {
613
594
  return typeof e == "function";
614
595
  }
615
- function Kt(e) {
596
+ function er(e) {
616
597
  var t = function(n) {
617
598
  Error.call(n), n.stack = new Error().stack;
618
599
  }, r = e(t);
619
600
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
620
601
  }
621
- var Me = Kt(function(e) {
602
+ var Ge = er(function(e) {
622
603
  return function(r) {
623
604
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
624
605
  ` + r.map(function(n, i) {
@@ -627,13 +608,13 @@ var Me = Kt(function(e) {
627
608
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
628
609
  };
629
610
  });
630
- function Ze(e, t) {
611
+ function qe(e, t) {
631
612
  if (e) {
632
613
  var r = e.indexOf(t);
633
614
  0 <= r && e.splice(r, 1);
634
615
  }
635
616
  }
636
- var He = function() {
617
+ var Ae = function() {
637
618
  function e(t) {
638
619
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
639
620
  }
@@ -645,7 +626,7 @@ var He = function() {
645
626
  if (o)
646
627
  if (this._parentage = null, Array.isArray(o))
647
628
  try {
648
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
629
+ for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
649
630
  var u = h.value;
650
631
  u.remove(this);
651
632
  }
@@ -662,22 +643,22 @@ var He = function() {
662
643
  else
663
644
  o.remove(this);
664
645
  var l = this.initialTeardown;
665
- if (U(l))
646
+ if (D(l))
666
647
  try {
667
648
  l();
668
649
  } catch (y) {
669
- s = y instanceof Me ? y.errors : [y];
650
+ s = y instanceof Ge ? y.errors : [y];
670
651
  }
671
652
  var m = this._finalizers;
672
653
  if (m) {
673
654
  this._finalizers = null;
674
655
  try {
675
- for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
656
+ for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
676
657
  var b = d.value;
677
658
  try {
678
- xt(b);
659
+ St(b);
679
660
  } catch (y) {
680
- s = s != null ? s : [], y instanceof Me ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
661
+ s = s != null ? s : [], y instanceof Ge ? s = Ye(Ye([], Qe(s)), Qe(y.errors)) : s.push(y);
681
662
  }
682
663
  }
683
664
  } catch (y) {
@@ -692,13 +673,13 @@ var He = function() {
692
673
  }
693
674
  }
694
675
  if (s)
695
- throw new Me(s);
676
+ throw new Ge(s);
696
677
  }
697
678
  }, e.prototype.add = function(t) {
698
679
  var r;
699
680
  if (t && t !== this)
700
681
  if (this.closed)
701
- xt(t);
682
+ St(t);
702
683
  else {
703
684
  if (t instanceof e) {
704
685
  if (t.closed || t._hasParent(this))
@@ -715,32 +696,28 @@ var He = function() {
715
696
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
716
697
  }, e.prototype._removeParent = function(t) {
717
698
  var r = this._parentage;
718
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
699
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
719
700
  }, e.prototype.remove = function(t) {
720
701
  var r = this._finalizers;
721
- r && Ze(r, t), t instanceof e && t._removeParent(this);
702
+ r && qe(r, t), t instanceof e && t._removeParent(this);
722
703
  }, e.EMPTY = function() {
723
704
  var t = new e();
724
705
  return t.closed = !0, t;
725
706
  }(), e;
726
- }(), er = He.EMPTY;
727
- function tr(e) {
728
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
729
- }
730
- function xt(e) {
731
- U(e) ? e() : e.unsubscribe();
732
- }
733
- var rr = {
734
- onUnhandledError: null,
735
- onStoppedNotification: null,
736
- Promise: void 0,
737
- useDeprecatedSynchronousErrorHandling: !1,
738
- useDeprecatedNextContext: !1
707
+ }(), tr = Ae.EMPTY;
708
+ function rr(e) {
709
+ return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
710
+ }
711
+ function St(e) {
712
+ D(e) ? e() : e.unsubscribe();
713
+ }
714
+ var fn = {
715
+ Promise: void 0
739
716
  }, mn = {
740
717
  setTimeout: function(e, t) {
741
718
  for (var r = [], n = 2; n < arguments.length; n++)
742
719
  r[n - 2] = arguments[n];
743
- return setTimeout.apply(void 0, J([e, t], ze(r)));
720
+ return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
744
721
  },
745
722
  clearTimeout: function(e) {
746
723
  return clearTimeout(e);
@@ -752,19 +729,19 @@ function dn(e) {
752
729
  throw e;
753
730
  });
754
731
  }
755
- function St() {
732
+ function wt() {
756
733
  }
757
- function _e(e) {
734
+ function Ee(e) {
758
735
  e();
759
736
  }
760
737
  var nr = function(e) {
761
- D(t, e);
738
+ me(t, e);
762
739
  function t(r) {
763
740
  var n = e.call(this) || this;
764
- return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = yn, n;
741
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = gn, n;
765
742
  }
766
743
  return t.create = function(r, n, i) {
767
- return new Qe(r, n, i);
744
+ return new Je(r, n, i);
768
745
  }, t.prototype.next = function(r) {
769
746
  this.isStopped || this._next(r);
770
747
  }, t.prototype.error = function(r) {
@@ -788,11 +765,7 @@ var nr = function(e) {
788
765
  this.unsubscribe();
789
766
  }
790
767
  }, t;
791
- }(He), bn = Function.prototype.bind;
792
- function Re(e, t) {
793
- return bn.call(e, t);
794
- }
795
- var pn = function() {
768
+ }(Ae), bn = function() {
796
769
  function e(t) {
797
770
  this.partialObserver = t;
798
771
  }
@@ -823,55 +796,43 @@ var pn = function() {
823
796
  ye(r);
824
797
  }
825
798
  }, e;
826
- }(), Qe = function(e) {
827
- D(t, e);
799
+ }(), Je = function(e) {
800
+ me(t, e);
828
801
  function t(r, n, i) {
829
802
  var s = e.call(this) || this, o;
830
- if (U(r) || !r)
831
- o = {
832
- next: r != null ? r : void 0,
833
- error: n != null ? n : void 0,
834
- complete: i != null ? i : void 0
835
- };
836
- else {
837
- var a;
838
- s && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
839
- return s.unsubscribe();
840
- }, o = {
841
- next: r.next && Re(r.next, a),
842
- error: r.error && Re(r.error, a),
843
- complete: r.complete && Re(r.complete, a)
844
- }) : o = r;
845
- }
846
- return s.destination = new pn(o), s;
803
+ return D(r) || !r ? o = {
804
+ next: r != null ? r : void 0,
805
+ error: n != null ? n : void 0,
806
+ complete: i != null ? i : void 0
807
+ } : o = r, s.destination = new bn(o), s;
847
808
  }
848
809
  return t;
849
810
  }(nr);
850
811
  function ye(e) {
851
812
  dn(e);
852
813
  }
853
- function gn(e) {
814
+ function pn(e) {
854
815
  throw e;
855
816
  }
856
- var yn = {
817
+ var gn = {
857
818
  closed: !0,
858
- next: St,
859
- error: gn,
860
- complete: St
861
- }, vn = function() {
819
+ next: wt,
820
+ error: pn,
821
+ complete: wt
822
+ }, yn = function() {
862
823
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
863
824
  }();
864
- function En(e) {
825
+ function vn(e) {
865
826
  return e;
866
827
  }
867
828
  function _n(e) {
868
- return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
829
+ return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
869
830
  return e.reduce(function(n, i) {
870
831
  return i(n);
871
832
  }, r);
872
833
  };
873
834
  }
874
- var wt = function() {
835
+ var Tt = function() {
875
836
  function e(t) {
876
837
  t && (this._subscribe = t);
877
838
  }
@@ -879,8 +840,8 @@ var wt = function() {
879
840
  var r = new e();
880
841
  return r.source = this, r.operator = t, r;
881
842
  }, e.prototype.subscribe = function(t, r, n) {
882
- var i = this, s = Sn(t) ? t : new Qe(t, r, n);
883
- return _e(function() {
843
+ var i = this, s = xn(t) ? t : new Je(t, r, n);
844
+ return Ee(function() {
884
845
  var o = i, a = o.operator, h = o.source;
885
846
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
886
847
  }), s;
@@ -892,8 +853,8 @@ var wt = function() {
892
853
  }
893
854
  }, e.prototype.forEach = function(t, r) {
894
855
  var n = this;
895
- return r = Tt(r), new r(function(i, s) {
896
- var o = new Qe({
856
+ return r = Ht(r), new r(function(i, s) {
857
+ var o = new Je({
897
858
  next: function(a) {
898
859
  try {
899
860
  t(a);
@@ -909,7 +870,7 @@ var wt = function() {
909
870
  }, e.prototype._subscribe = function(t) {
910
871
  var r;
911
872
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
912
- }, e.prototype[vn] = function() {
873
+ }, e.prototype[yn] = function() {
913
874
  return this;
914
875
  }, e.prototype.pipe = function() {
915
876
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -917,7 +878,7 @@ var wt = function() {
917
878
  return _n(t)(this);
918
879
  }, e.prototype.toPromise = function(t) {
919
880
  var r = this;
920
- return t = Tt(t), new t(function(n, i) {
881
+ return t = Ht(t), new t(function(n, i) {
921
882
  var s;
922
883
  r.subscribe(function(o) {
923
884
  return s = o;
@@ -931,40 +892,40 @@ var wt = function() {
931
892
  return new e(t);
932
893
  }, e;
933
894
  }();
934
- function Tt(e) {
895
+ function Ht(e) {
935
896
  var t;
936
- return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
897
+ return (t = e != null ? e : fn.Promise) !== null && t !== void 0 ? t : Promise;
937
898
  }
938
- function xn(e) {
939
- return e && U(e.next) && U(e.error) && U(e.complete);
899
+ function En(e) {
900
+ return e && D(e.next) && D(e.error) && D(e.complete);
940
901
  }
941
- function Sn(e) {
942
- return e && e instanceof nr || xn(e) && tr(e);
902
+ function xn(e) {
903
+ return e && e instanceof nr || En(e) && rr(e);
943
904
  }
944
- var wn = Kt(function(e) {
905
+ var Sn = er(function(e) {
945
906
  return function() {
946
907
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
947
908
  };
948
909
  }), ir = function(e) {
949
- D(t, e);
910
+ me(t, e);
950
911
  function t() {
951
912
  var r = e.call(this) || this;
952
913
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
953
914
  }
954
915
  return t.prototype.lift = function(r) {
955
- var n = new Ht(this, this);
916
+ var n = new At(this, this);
956
917
  return n.operator = r, n;
957
918
  }, t.prototype._throwIfClosed = function() {
958
919
  if (this.closed)
959
- throw new wn();
920
+ throw new Sn();
960
921
  }, t.prototype.next = function(r) {
961
922
  var n = this;
962
- _e(function() {
923
+ Ee(function() {
963
924
  var i, s;
964
925
  if (n._throwIfClosed(), !n.isStopped) {
965
926
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
966
927
  try {
967
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
928
+ for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
968
929
  var h = a.value;
969
930
  h.next(r);
970
931
  }
@@ -982,7 +943,7 @@ var wn = Kt(function(e) {
982
943
  });
983
944
  }, t.prototype.error = function(r) {
984
945
  var n = this;
985
- _e(function() {
946
+ Ee(function() {
986
947
  if (n._throwIfClosed(), !n.isStopped) {
987
948
  n.hasError = n.isStopped = !0, n.thrownError = r;
988
949
  for (var i = n.observers; i.length; )
@@ -991,7 +952,7 @@ var wn = Kt(function(e) {
991
952
  });
992
953
  }, t.prototype.complete = function() {
993
954
  var r = this;
994
- _e(function() {
955
+ Ee(function() {
995
956
  if (r._throwIfClosed(), !r.isStopped) {
996
957
  r.isStopped = !0;
997
958
  for (var n = r.observers; n.length; )
@@ -1013,20 +974,20 @@ var wn = Kt(function(e) {
1013
974
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1014
975
  }, t.prototype._innerSubscribe = function(r) {
1015
976
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
1016
- return s || o ? er : (this.currentObservers = null, a.push(r), new He(function() {
1017
- n.currentObservers = null, Ze(a, r);
977
+ return s || o ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
978
+ n.currentObservers = null, qe(a, r);
1018
979
  }));
1019
980
  }, t.prototype._checkFinalizedStatuses = function(r) {
1020
981
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
1021
982
  i ? r.error(s) : o && r.complete();
1022
983
  }, t.prototype.asObservable = function() {
1023
- var r = new wt();
984
+ var r = new Tt();
1024
985
  return r.source = this, r;
1025
986
  }, t.create = function(r, n) {
1026
- return new Ht(r, n);
987
+ return new At(r, n);
1027
988
  }, t;
1028
- }(wt), Ht = function(e) {
1029
- D(t, e);
989
+ }(Tt), At = function(e) {
990
+ me(t, e);
1030
991
  function t(r, n) {
1031
992
  var i = e.call(this) || this;
1032
993
  return i.destination = r, i.source = n, i;
@@ -1042,15 +1003,15 @@ var wn = Kt(function(e) {
1042
1003
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1043
1004
  }, t.prototype._subscribe = function(r) {
1044
1005
  var n, i;
1045
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1006
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1046
1007
  }, t;
1047
1008
  }(ir), sr = {
1048
1009
  now: function() {
1049
1010
  return (sr.delegate || Date).now();
1050
1011
  },
1051
1012
  delegate: void 0
1052
- }, Tn = function(e) {
1053
- D(t, e);
1013
+ }, wn = function(e) {
1014
+ me(t, e);
1054
1015
  function t(r, n, i) {
1055
1016
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1056
1017
  var s = e.call(this) || this;
@@ -1073,14 +1034,14 @@ var wn = Kt(function(e) {
1073
1034
  }
1074
1035
  }, t;
1075
1036
  }(ir);
1076
- const Bt = [], At = {}, Hn = (e, t = 0) => {
1037
+ const Bt = [], Pt = {}, Tn = (e, t = 0) => {
1077
1038
  if (Bt.indexOf(e) == -1) {
1078
- const r = new Tn(t);
1079
- At[e] = r, Bt.push(e);
1039
+ const r = new wn(t);
1040
+ Pt[e] = r, Bt.push(e);
1080
1041
  }
1081
- return At[e];
1042
+ return Pt[e];
1082
1043
  }, Q = [];
1083
- function Bn(e, t) {
1044
+ function Hn(e, t) {
1084
1045
  return {
1085
1046
  subscribe: Be(e, t).subscribe
1086
1047
  };
@@ -1089,7 +1050,7 @@ function Be(e, t = I) {
1089
1050
  let r;
1090
1051
  const n = /* @__PURE__ */ new Set();
1091
1052
  function i(a) {
1092
- if (Xt(e, a) && (e = a, r)) {
1053
+ if (Wt(e, a) && (e = a, r)) {
1093
1054
  const h = !Q.length;
1094
1055
  for (const u of n)
1095
1056
  u[1](), Q.push(u, e);
@@ -1111,12 +1072,12 @@ function Be(e, t = I) {
1111
1072
  }
1112
1073
  return { set: i, update: s, subscribe: o };
1113
1074
  }
1114
- function se(e, t, r) {
1075
+ function ie(e, t, r) {
1115
1076
  const n = !Array.isArray(e), i = n ? [e] : e;
1116
1077
  if (!i.every(Boolean))
1117
1078
  throw new Error("derived() expects stores as input, got a falsy value");
1118
1079
  const s = t.length < 2;
1119
- return Bn(r, (o, a) => {
1080
+ return Hn(r, (o, a) => {
1120
1081
  let h = !1;
1121
1082
  const u = [];
1122
1083
  let l = 0, m = I;
@@ -1125,9 +1086,9 @@ function se(e, t, r) {
1125
1086
  return;
1126
1087
  m();
1127
1088
  const b = t(n ? u[0] : u, o, a);
1128
- s ? o(b) : m = st(b) ? b : I;
1089
+ s ? o(b) : m = ht(b) ? b : I;
1129
1090
  }, d = i.map(
1130
- (b, y) => Wt(
1091
+ (b, y) => zt(
1131
1092
  b,
1132
1093
  (T) => {
1133
1094
  u[y] = T, l &= ~(1 << y), h && c();
@@ -1138,51 +1099,51 @@ function se(e, t, r) {
1138
1099
  )
1139
1100
  );
1140
1101
  return h = !0, c(), function() {
1141
- ne(d), m(), h = !1;
1102
+ re(d), m(), h = !1;
1142
1103
  };
1143
1104
  });
1144
1105
  }
1145
1106
  function An(e) {
1146
1107
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1147
1108
  }
1148
- var Pn = function(t) {
1149
- return Nn(t) && !On(t);
1109
+ var Bn = function(t) {
1110
+ return Pn(t) && !On(t);
1150
1111
  };
1151
- function Nn(e) {
1112
+ function Pn(e) {
1152
1113
  return !!e && typeof e == "object";
1153
1114
  }
1154
1115
  function On(e) {
1155
1116
  var t = Object.prototype.toString.call(e);
1156
- return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
1117
+ return t === "[object RegExp]" || t === "[object Date]" || In(e);
1157
1118
  }
1158
- var Ln = typeof Symbol == "function" && Symbol.for, In = Ln ? Symbol.for("react.element") : 60103;
1159
- function Cn(e) {
1160
- return e.$$typeof === In;
1119
+ var Nn = typeof Symbol == "function" && Symbol.for, Ln = Nn ? Symbol.for("react.element") : 60103;
1120
+ function In(e) {
1121
+ return e.$$typeof === Ln;
1161
1122
  }
1162
- function Mn(e) {
1123
+ function Cn(e) {
1163
1124
  return Array.isArray(e) ? [] : {};
1164
1125
  }
1165
- function le(e, t) {
1166
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Mn(e), e, t) : e;
1126
+ function he(e, t) {
1127
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(Cn(e), e, t) : e;
1167
1128
  }
1168
- function Rn(e, t, r) {
1129
+ function Mn(e, t, r) {
1169
1130
  return e.concat(t).map(function(n) {
1170
- return le(n, r);
1131
+ return he(n, r);
1171
1132
  });
1172
1133
  }
1173
- function Gn(e, t) {
1134
+ function Rn(e, t) {
1174
1135
  if (!t.customMerge)
1175
- return K;
1136
+ return J;
1176
1137
  var r = t.customMerge(e);
1177
- return typeof r == "function" ? r : K;
1138
+ return typeof r == "function" ? r : J;
1178
1139
  }
1179
- function Un(e) {
1140
+ function Gn(e) {
1180
1141
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1181
1142
  return Object.propertyIsEnumerable.call(e, t);
1182
1143
  }) : [];
1183
1144
  }
1184
- function Pt(e) {
1185
- return Object.keys(e).concat(Un(e));
1145
+ function Ot(e) {
1146
+ return Object.keys(e).concat(Gn(e));
1186
1147
  }
1187
1148
  function or(e, t) {
1188
1149
  try {
@@ -1191,33 +1152,75 @@ function or(e, t) {
1191
1152
  return !1;
1192
1153
  }
1193
1154
  }
1194
- function Dn(e, t) {
1155
+ function Un(e, t) {
1195
1156
  return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1196
1157
  }
1197
- function Fn(e, t, r) {
1158
+ function Dn(e, t, r) {
1198
1159
  var n = {};
1199
- return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1200
- n[i] = le(e[i], r);
1201
- }), Pt(t).forEach(function(i) {
1202
- Dn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1160
+ return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1161
+ n[i] = he(e[i], r);
1162
+ }), Ot(t).forEach(function(i) {
1163
+ Un(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1203
1164
  }), n;
1204
1165
  }
1205
- function K(e, t, r) {
1206
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = le;
1166
+ function J(e, t, r) {
1167
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = he;
1207
1168
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1208
- return s ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : le(t, r);
1169
+ return s ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : he(t, r);
1209
1170
  }
1210
- K.all = function(t, r) {
1171
+ J.all = function(t, r) {
1211
1172
  if (!Array.isArray(t))
1212
1173
  throw new Error("first argument should be an array");
1213
1174
  return t.reduce(function(n, i) {
1214
- return K(n, i, r);
1175
+ return J(n, i, r);
1215
1176
  }, {});
1216
1177
  };
1217
- var $n = K, jn = $n;
1218
- const kn = /* @__PURE__ */ An(jn);
1219
- function Ge(e, t) {
1220
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
1178
+ var $n = J, Fn = $n;
1179
+ const jn = /* @__PURE__ */ An(Fn);
1180
+ var Ke = function(e, t) {
1181
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1182
+ r.__proto__ = n;
1183
+ } || function(r, n) {
1184
+ for (var i in n)
1185
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1186
+ }, Ke(e, t);
1187
+ };
1188
+ function Pe(e, t) {
1189
+ if (typeof t != "function" && t !== null)
1190
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1191
+ Ke(e, t);
1192
+ function r() {
1193
+ this.constructor = e;
1194
+ }
1195
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1196
+ }
1197
+ var G = function() {
1198
+ return G = Object.assign || function(t) {
1199
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1200
+ r = arguments[n];
1201
+ for (var s in r)
1202
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1203
+ }
1204
+ return t;
1205
+ }, G.apply(this, arguments);
1206
+ };
1207
+ function kn(e, t) {
1208
+ var r = {};
1209
+ for (var n in e)
1210
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1211
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1212
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1213
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1214
+ return r;
1215
+ }
1216
+ function Ue(e, t, r) {
1217
+ if (r || arguments.length === 2)
1218
+ for (var n = 0, i = t.length, s; n < i; n++)
1219
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
1220
+ return e.concat(s || Array.prototype.slice.call(t));
1221
+ }
1222
+ function De(e, t) {
1223
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Wn;
1221
1224
  return i(e, {
1222
1225
  cache: r,
1223
1226
  serializer: n
@@ -1226,95 +1229,103 @@ function Ge(e, t) {
1226
1229
  function Vn(e) {
1227
1230
  return e == null || typeof e == "number" || typeof e == "boolean";
1228
1231
  }
1229
- function ar(e, t, r, n) {
1232
+ function Xn(e, t, r, n) {
1230
1233
  var i = Vn(n) ? n : r(n), s = t.get(i);
1231
1234
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1232
1235
  }
1233
- function ur(e, t, r) {
1236
+ function ar(e, t, r) {
1234
1237
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1235
1238
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1236
1239
  }
1237
- function ot(e, t, r, n, i) {
1240
+ function ur(e, t, r, n, i) {
1238
1241
  return r.bind(t, e, n, i);
1239
1242
  }
1240
- function Xn(e, t) {
1241
- var r = e.length === 1 ? ar : ur;
1242
- return ot(e, this, r, t.cache.create(), t.serializer);
1243
- }
1244
1243
  function Wn(e, t) {
1245
- return ot(e, this, ur, t.cache.create(), t.serializer);
1244
+ var r = e.length === 1 ? Xn : ar;
1245
+ return ur(e, this, r, t.cache.create(), t.serializer);
1246
1246
  }
1247
1247
  function zn(e, t) {
1248
- return ot(e, this, ar, t.cache.create(), t.serializer);
1248
+ return ur(e, this, ar, t.cache.create(), t.serializer);
1249
1249
  }
1250
1250
  var Zn = function() {
1251
1251
  return JSON.stringify(arguments);
1252
- };
1253
- function at() {
1254
- this.cache = /* @__PURE__ */ Object.create(null);
1255
- }
1256
- at.prototype.get = function(e) {
1257
- return this.cache[e];
1258
- };
1259
- at.prototype.set = function(e, t) {
1260
- this.cache[e] = t;
1261
- };
1262
- var Qn = {
1252
+ }, Qn = (
1253
+ /** @class */
1254
+ function() {
1255
+ function e() {
1256
+ this.cache = /* @__PURE__ */ Object.create(null);
1257
+ }
1258
+ return e.prototype.get = function(t) {
1259
+ return this.cache[t];
1260
+ }, e.prototype.set = function(t, r) {
1261
+ this.cache[t] = r;
1262
+ }, e;
1263
+ }()
1264
+ ), Yn = {
1263
1265
  create: function() {
1264
- return new at();
1266
+ return new Qn();
1265
1267
  }
1266
- }, Ue = {
1267
- variadic: Wn,
1268
- monadic: zn
1269
- }, p;
1268
+ }, $e = {
1269
+ variadic: zn
1270
+ }, we = function() {
1271
+ return we = Object.assign || function(t) {
1272
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1273
+ r = arguments[n];
1274
+ for (var s in r)
1275
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1276
+ }
1277
+ return t;
1278
+ }, we.apply(this, arguments);
1279
+ };
1280
+ var p;
1270
1281
  (function(e) {
1271
1282
  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";
1272
1283
  })(p || (p = {}));
1273
- var x;
1284
+ var E;
1274
1285
  (function(e) {
1275
1286
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1276
- })(x || (x = {}));
1277
- var ee;
1287
+ })(E || (E = {}));
1288
+ var K;
1278
1289
  (function(e) {
1279
1290
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1280
- })(ee || (ee = {}));
1291
+ })(K || (K = {}));
1281
1292
  function Nt(e) {
1282
- return e.type === x.literal;
1293
+ return e.type === E.literal;
1283
1294
  }
1284
- function Yn(e) {
1285
- return e.type === x.argument;
1295
+ function qn(e) {
1296
+ return e.type === E.argument;
1286
1297
  }
1287
1298
  function hr(e) {
1288
- return e.type === x.number;
1299
+ return e.type === E.number;
1289
1300
  }
1290
1301
  function lr(e) {
1291
- return e.type === x.date;
1302
+ return e.type === E.date;
1292
1303
  }
1293
1304
  function cr(e) {
1294
- return e.type === x.time;
1305
+ return e.type === E.time;
1295
1306
  }
1296
1307
  function fr(e) {
1297
- return e.type === x.select;
1308
+ return e.type === E.select;
1298
1309
  }
1299
1310
  function mr(e) {
1300
- return e.type === x.plural;
1311
+ return e.type === E.plural;
1301
1312
  }
1302
- function qn(e) {
1303
- return e.type === x.pound;
1313
+ function Jn(e) {
1314
+ return e.type === E.pound;
1304
1315
  }
1305
1316
  function dr(e) {
1306
- return e.type === x.tag;
1317
+ return e.type === E.tag;
1307
1318
  }
1308
1319
  function br(e) {
1309
- return !!(e && typeof e == "object" && e.type === ee.number);
1320
+ return !!(e && typeof e == "object" && e.type === K.number);
1310
1321
  }
1311
- function Ye(e) {
1312
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1322
+ function et(e) {
1323
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1313
1324
  }
1314
- var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
1315
- function Kn(e) {
1325
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
1326
+ function ei(e) {
1316
1327
  var t = {};
1317
- return e.replace(Jn, function(r) {
1328
+ return e.replace(Kn, function(r) {
1318
1329
  var n = r.length;
1319
1330
  switch (r[0]) {
1320
1331
  case "G":
@@ -1403,11 +1414,21 @@ function Kn(e) {
1403
1414
  return "";
1404
1415
  }), t;
1405
1416
  }
1406
- var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1407
- function ti(e) {
1417
+ var S = function() {
1418
+ return S = Object.assign || function(t) {
1419
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1420
+ r = arguments[n];
1421
+ for (var s in r)
1422
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1423
+ }
1424
+ return t;
1425
+ }, S.apply(this, arguments);
1426
+ };
1427
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1428
+ function ri(e) {
1408
1429
  if (e.length === 0)
1409
1430
  throw new Error("Number skeleton cannot be empty");
1410
- for (var t = e.split(ei).filter(function(c) {
1431
+ for (var t = e.split(ti).filter(function(c) {
1411
1432
  return c.length > 0;
1412
1433
  }), r = [], n = 0, i = t; n < i.length; n++) {
1413
1434
  var s = i[n], o = s.split("/");
@@ -1422,11 +1443,11 @@ function ti(e) {
1422
1443
  }
1423
1444
  return r;
1424
1445
  }
1425
- function ri(e) {
1446
+ function ni(e) {
1426
1447
  return e.replace(/^(.*?)-/, "");
1427
1448
  }
1428
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1429
- function Lt(e) {
1449
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1450
+ function It(e) {
1430
1451
  var t = {};
1431
1452
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1432
1453
  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)), "";
@@ -1472,7 +1493,7 @@ function vr(e) {
1472
1493
  };
1473
1494
  }
1474
1495
  }
1475
- function ii(e) {
1496
+ function si(e) {
1476
1497
  var t;
1477
1498
  if (e[0] === "E" && e[1] === "E" ? (t = {
1478
1499
  notation: "engineering"
@@ -1486,11 +1507,11 @@ function ii(e) {
1486
1507
  }
1487
1508
  return t;
1488
1509
  }
1489
- function It(e) {
1510
+ function Ct(e) {
1490
1511
  var t = {}, r = vr(e);
1491
1512
  return r || t;
1492
1513
  }
1493
- function si(e) {
1514
+ function oi(e) {
1494
1515
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1495
1516
  var i = n[r];
1496
1517
  switch (i.stem) {
@@ -1514,7 +1535,7 @@ function si(e) {
1514
1535
  continue;
1515
1536
  case "measure-unit":
1516
1537
  case "unit":
1517
- t.style = "unit", t.unit = ri(i.options[0]);
1538
+ t.style = "unit", t.unit = ni(i.options[0]);
1518
1539
  continue;
1519
1540
  case "compact-short":
1520
1541
  case "K":
@@ -1525,13 +1546,13 @@ function si(e) {
1525
1546
  t.notation = "compact", t.compactDisplay = "long";
1526
1547
  continue;
1527
1548
  case "scientific":
1528
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1529
- return v(v({}, h), It(u));
1549
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1550
+ return S(S({}, h), Ct(u));
1530
1551
  }, {}));
1531
1552
  continue;
1532
1553
  case "engineering":
1533
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1534
- return v(v({}, h), It(u));
1554
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1555
+ return S(S({}, h), Ct(u));
1535
1556
  }, {}));
1536
1557
  continue;
1537
1558
  case "notation-simple":
@@ -1576,7 +1597,7 @@ function si(e) {
1576
1597
  case "integer-width":
1577
1598
  if (i.options.length > 1)
1578
1599
  throw new RangeError("integer-width stems only accept a single optional option");
1579
- i.options[0].replace(ni, function(h, u, l, m, c, d) {
1600
+ i.options[0].replace(ii, function(h, u, l, m, c, d) {
1580
1601
  if (u)
1581
1602
  t.minimumIntegerDigits = l.length;
1582
1603
  else {
@@ -1593,24 +1614,24 @@ function si(e) {
1593
1614
  t.minimumIntegerDigits = i.stem.length;
1594
1615
  continue;
1595
1616
  }
1596
- if (Ot.test(i.stem)) {
1617
+ if (Lt.test(i.stem)) {
1597
1618
  if (i.options.length > 1)
1598
1619
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1599
- i.stem.replace(Ot, function(h, u, l, m, c, d) {
1620
+ i.stem.replace(Lt, function(h, u, l, m, c, d) {
1600
1621
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1601
1622
  });
1602
1623
  var s = i.options[0];
1603
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Lt(s)));
1624
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), It(s)));
1604
1625
  continue;
1605
1626
  }
1606
1627
  if (gr.test(i.stem)) {
1607
- t = v(v({}, t), Lt(i.stem));
1628
+ t = S(S({}, t), It(i.stem));
1608
1629
  continue;
1609
1630
  }
1610
1631
  var o = vr(i.stem);
1611
- o && (t = v(v({}, t), o));
1612
- var a = ii(i.stem);
1613
- a && (t = v(v({}, t), a));
1632
+ o && (t = S(S({}, t), o));
1633
+ var a = si(i.stem);
1634
+ a && (t = S(S({}, t), a));
1614
1635
  }
1615
1636
  return t;
1616
1637
  }
@@ -3029,13 +3050,13 @@ var ve = {
3029
3050
  "h"
3030
3051
  ]
3031
3052
  };
3032
- function oi(e, t) {
3053
+ function ai(e, t) {
3033
3054
  for (var r = "", n = 0; n < e.length; n++) {
3034
3055
  var i = e.charAt(n);
3035
3056
  if (i === "j") {
3036
3057
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3037
3058
  s++, n++;
3038
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ai(t);
3059
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ui(t);
3039
3060
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3040
3061
  r += h;
3041
3062
  for (; o-- > 0; )
@@ -3045,7 +3066,7 @@ function oi(e, t) {
3045
3066
  }
3046
3067
  return r;
3047
3068
  }
3048
- function ai(e) {
3069
+ function ui(e) {
3049
3070
  var t = e.hourCycle;
3050
3071
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3051
3072
  e.hourCycles && // @ts-ignore
@@ -3067,20 +3088,20 @@ function ai(e) {
3067
3088
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3068
3089
  return i[0];
3069
3090
  }
3070
- var De, ui = new RegExp("^".concat(pr.source, "*")), hi = new RegExp("".concat(pr.source, "*$"));
3091
+ var Fe, hi = new RegExp("^".concat(pr.source, "*")), li = new RegExp("".concat(pr.source, "*$"));
3071
3092
  function g(e, t) {
3072
3093
  return { start: e, end: t };
3073
3094
  }
3074
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, gi = pi ? Number.isSafeInteger : function(e) {
3095
+ var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, di = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3075
3096
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3076
- }, qe = !0;
3097
+ }, tt = !0;
3077
3098
  try {
3078
- var yi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3079
- qe = ((De = yi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3099
+ var vi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
+ tt = ((Fe = vi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3080
3101
  } catch (e) {
3081
- qe = !1;
3102
+ tt = !1;
3082
3103
  }
3083
- var Ct = li ? (
3104
+ var Mt = ci ? (
3084
3105
  // Native
3085
3106
  function(t, r, n) {
3086
3107
  return t.startsWith(r, n);
@@ -3090,7 +3111,7 @@ var Ct = li ? (
3090
3111
  function(t, r, n) {
3091
3112
  return t.slice(n, n + r.length) === r;
3092
3113
  }
3093
- ), Je = ci ? String.fromCodePoint : (
3114
+ ), rt = fi ? String.fromCodePoint : (
3094
3115
  // IE11
3095
3116
  function() {
3096
3117
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3102,9 +3123,9 @@ var Ct = li ? (
3102
3123
  }
3103
3124
  return n;
3104
3125
  }
3105
- ), Mt = (
3126
+ ), Rt = (
3106
3127
  // native
3107
- fi ? Object.fromEntries : (
3128
+ mi ? Object.fromEntries : (
3108
3129
  // Ponyfill
3109
3130
  function(t) {
3110
3131
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3114,7 +3135,7 @@ var Ct = li ? (
3114
3135
  return r;
3115
3136
  }
3116
3137
  )
3117
- ), Er = mi ? (
3138
+ ), _r = di ? (
3118
3139
  // Native
3119
3140
  function(t, r) {
3120
3141
  return t.codePointAt(r);
@@ -3128,7 +3149,7 @@ var Ct = li ? (
3128
3149
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3129
3150
  }
3130
3151
  }
3131
- ), vi = di ? (
3152
+ ), _i = bi ? (
3132
3153
  // Native
3133
3154
  function(t) {
3134
3155
  return t.trimStart();
@@ -3136,9 +3157,9 @@ var Ct = li ? (
3136
3157
  ) : (
3137
3158
  // Ponyfill
3138
3159
  function(t) {
3139
- return t.replace(ui, "");
3160
+ return t.replace(hi, "");
3140
3161
  }
3141
- ), Ei = bi ? (
3162
+ ), Ei = pi ? (
3142
3163
  // Native
3143
3164
  function(t) {
3144
3165
  return t.trimEnd();
@@ -3146,32 +3167,32 @@ var Ct = li ? (
3146
3167
  ) : (
3147
3168
  // Ponyfill
3148
3169
  function(t) {
3149
- return t.replace(hi, "");
3170
+ return t.replace(li, "");
3150
3171
  }
3151
3172
  );
3152
- function _r(e, t) {
3173
+ function Er(e, t) {
3153
3174
  return new RegExp(e, t);
3154
3175
  }
3155
- var Ke;
3156
- if (qe) {
3157
- var Rt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3158
- Ke = function(t, r) {
3176
+ var nt;
3177
+ if (tt) {
3178
+ var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3179
+ nt = function(t, r) {
3159
3180
  var n;
3160
- Rt.lastIndex = r;
3161
- var i = Rt.exec(t);
3181
+ Gt.lastIndex = r;
3182
+ var i = Gt.exec(t);
3162
3183
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3163
3184
  };
3164
3185
  } else
3165
- Ke = function(t, r) {
3186
+ nt = function(t, r) {
3166
3187
  for (var n = []; ; ) {
3167
- var i = Er(t, r);
3168
- if (i === void 0 || xr(i) || wi(i))
3188
+ var i = _r(t, r);
3189
+ if (i === void 0 || xr(i) || Ti(i))
3169
3190
  break;
3170
3191
  n.push(i), r += i >= 65536 ? 2 : 1;
3171
3192
  }
3172
- return Je.apply(void 0, n);
3193
+ return rt.apply(void 0, n);
3173
3194
  };
3174
- var _i = (
3195
+ var xi = (
3175
3196
  /** @class */
3176
3197
  function() {
3177
3198
  function e(t, r) {
@@ -3195,14 +3216,14 @@ var _i = (
3195
3216
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3196
3217
  var a = this.clonePosition();
3197
3218
  this.bump(), i.push({
3198
- type: x.pound,
3219
+ type: E.pound,
3199
3220
  location: g(a, this.clonePosition())
3200
3221
  });
3201
3222
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3202
3223
  if (n)
3203
3224
  break;
3204
3225
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3205
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3226
+ } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3206
3227
  var o = this.parseTag(t, r);
3207
3228
  if (o.err)
3208
3229
  return o;
@@ -3223,7 +3244,7 @@ var _i = (
3223
3244
  if (this.bumpSpace(), this.bumpIf("/>"))
3224
3245
  return {
3225
3246
  val: {
3226
- type: x.literal,
3247
+ type: E.literal,
3227
3248
  value: "<".concat(i, "/>"),
3228
3249
  location: g(n, this.clonePosition())
3229
3250
  },
@@ -3235,12 +3256,12 @@ var _i = (
3235
3256
  return s;
3236
3257
  var o = s.val, a = this.clonePosition();
3237
3258
  if (this.bumpIf("</")) {
3238
- if (this.isEOF() || !et(this.char()))
3259
+ if (this.isEOF() || !it(this.char()))
3239
3260
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3240
3261
  var h = this.clonePosition(), u = this.parseTagName();
3241
3262
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3242
3263
  val: {
3243
- type: x.tag,
3264
+ type: E.tag,
3244
3265
  value: i,
3245
3266
  children: o,
3246
3267
  location: g(n, this.clonePosition())
@@ -3253,7 +3274,7 @@ var _i = (
3253
3274
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3254
3275
  }, e.prototype.parseTagName = function() {
3255
3276
  var t = this.offset();
3256
- for (this.bump(); !this.isEOF() && Si(this.char()); )
3277
+ for (this.bump(); !this.isEOF() && wi(this.char()); )
3257
3278
  this.bump();
3258
3279
  return this.message.slice(t, this.offset());
3259
3280
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3277,12 +3298,12 @@ var _i = (
3277
3298
  }
3278
3299
  var h = g(n, this.clonePosition());
3279
3300
  return {
3280
- val: { type: x.literal, value: i, location: h },
3301
+ val: { type: E.literal, value: i, location: h },
3281
3302
  err: null
3282
3303
  };
3283
3304
  }, e.prototype.tryParseLeftAngleBracket = function() {
3284
3305
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3285
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3306
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3286
3307
  }, e.prototype.tryParseQuote = function(t) {
3287
3308
  if (this.isEOF() || this.char() !== 39)
3288
3309
  return null;
@@ -3316,12 +3337,12 @@ var _i = (
3316
3337
  r.push(n);
3317
3338
  this.bump();
3318
3339
  }
3319
- return Je.apply(void 0, r);
3340
+ return rt.apply(void 0, r);
3320
3341
  }, e.prototype.tryParseUnquoted = function(t, r) {
3321
3342
  if (this.isEOF())
3322
3343
  return null;
3323
3344
  var n = this.char();
3324
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3345
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3325
3346
  }, e.prototype.parseArgument = function(t, r) {
3326
3347
  var n = this.clonePosition();
3327
3348
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3337,7 +3358,7 @@ var _i = (
3337
3358
  case 125:
3338
3359
  return this.bump(), {
3339
3360
  val: {
3340
- type: x.argument,
3361
+ type: E.argument,
3341
3362
  // value does not include the opening and closing braces.
3342
3363
  value: i,
3343
3364
  location: g(n, this.clonePosition())
@@ -3350,7 +3371,7 @@ var _i = (
3350
3371
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3351
3372
  }
3352
3373
  }, e.prototype.parseIdentifierIfPossible = function() {
3353
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3374
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3354
3375
  this.bumpTo(i);
3355
3376
  var s = this.clonePosition(), o = g(t, s);
3356
3377
  return { value: n, location: o };
@@ -3379,25 +3400,25 @@ var _i = (
3379
3400
  if (b.err)
3380
3401
  return b;
3381
3402
  var y = g(i, this.clonePosition());
3382
- if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3383
- var T = vi(u.style.slice(2));
3403
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3404
+ var T = _i(u.style.slice(2));
3384
3405
  if (a === "number") {
3385
3406
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3386
3407
  return m.err ? m : {
3387
- val: { type: x.number, value: n, location: y, style: m.val },
3408
+ val: { type: E.number, value: n, location: y, style: m.val },
3388
3409
  err: null
3389
3410
  };
3390
3411
  } else {
3391
3412
  if (T.length === 0)
3392
3413
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3393
3414
  var C = T;
3394
- this.locale && (C = oi(T, this.locale));
3415
+ this.locale && (C = ai(T, this.locale));
3395
3416
  var c = {
3396
- type: ee.dateTime,
3417
+ type: K.dateTime,
3397
3418
  pattern: C,
3398
3419
  location: u.styleLocation,
3399
- parsedOptions: this.shouldParseSkeletons ? Kn(C) : {}
3400
- }, P = a === "date" ? x.date : x.time;
3420
+ parsedOptions: this.shouldParseSkeletons ? ei(C) : {}
3421
+ }, P = a === "date" ? E.date : E.time;
3401
3422
  return {
3402
3423
  val: { type: P, value: n, location: y, style: c },
3403
3424
  err: null
@@ -3406,7 +3427,7 @@ var _i = (
3406
3427
  }
3407
3428
  return {
3408
3429
  val: {
3409
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3430
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3410
3431
  value: n,
3411
3432
  location: y,
3412
3433
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3419,19 +3440,19 @@ var _i = (
3419
3440
  case "select": {
3420
3441
  var w = this.clonePosition();
3421
3442
  if (this.bumpSpace(), !this.bumpIf(","))
3422
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3443
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, we({}, w)));
3423
3444
  this.bumpSpace();
3424
- var N = this.parseIdentifierIfPossible(), O = 0;
3425
- if (a !== "select" && N.value === "offset") {
3445
+ var O = this.parseIdentifierIfPossible(), N = 0;
3446
+ if (a !== "select" && O.value === "offset") {
3426
3447
  if (!this.bumpIf(":"))
3427
3448
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3428
3449
  this.bumpSpace();
3429
3450
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3430
3451
  if (m.err)
3431
3452
  return m;
3432
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3453
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
3433
3454
  }
3434
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
3455
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3435
3456
  if (R.err)
3436
3457
  return R;
3437
3458
  var b = this.tryParseArgumentClose(i);
@@ -3440,18 +3461,18 @@ var _i = (
3440
3461
  var _ = g(i, this.clonePosition());
3441
3462
  return a === "select" ? {
3442
3463
  val: {
3443
- type: x.select,
3464
+ type: E.select,
3444
3465
  value: n,
3445
- options: Mt(R.val),
3466
+ options: Rt(R.val),
3446
3467
  location: _
3447
3468
  },
3448
3469
  err: null
3449
3470
  } : {
3450
3471
  val: {
3451
- type: x.plural,
3472
+ type: E.plural,
3452
3473
  value: n,
3453
- options: Mt(R.val),
3454
- offset: O,
3474
+ options: Rt(R.val),
3475
+ offset: N,
3455
3476
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3456
3477
  location: _
3457
3478
  },
@@ -3501,16 +3522,16 @@ var _i = (
3501
3522
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3502
3523
  var n = [];
3503
3524
  try {
3504
- n = ti(t);
3525
+ n = ri(t);
3505
3526
  } catch (i) {
3506
3527
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3507
3528
  }
3508
3529
  return {
3509
3530
  val: {
3510
- type: ee.number,
3531
+ type: K.number,
3511
3532
  tokens: n,
3512
3533
  location: r,
3513
- parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3534
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3514
3535
  },
3515
3536
  err: null
3516
3537
  };
@@ -3558,7 +3579,7 @@ var _i = (
3558
3579
  break;
3559
3580
  }
3560
3581
  var h = g(i, this.clonePosition());
3561
- return s ? (o *= n, gi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3582
+ return s ? (o *= n, yi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3562
3583
  }, e.prototype.offset = function() {
3563
3584
  return this.position.offset;
3564
3585
  }, e.prototype.isEOF = function() {
@@ -3573,7 +3594,7 @@ var _i = (
3573
3594
  var t = this.position.offset;
3574
3595
  if (t >= this.message.length)
3575
3596
  throw Error("out of bound");
3576
- var r = Er(this.message, t);
3597
+ var r = _r(this.message, t);
3577
3598
  if (r === void 0)
3578
3599
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3579
3600
  return r;
@@ -3592,7 +3613,7 @@ var _i = (
3592
3613
  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);
3593
3614
  }
3594
3615
  }, e.prototype.bumpIf = function(t) {
3595
- if (Ct(this.message, t, this.offset())) {
3616
+ if (Mt(this.message, t, this.offset())) {
3596
3617
  for (var r = 0; r < t.length; r++)
3597
3618
  this.bump();
3598
3619
  return !0;
@@ -3624,47 +3645,47 @@ var _i = (
3624
3645
  }, e;
3625
3646
  }()
3626
3647
  );
3627
- function et(e) {
3648
+ function it(e) {
3628
3649
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3629
3650
  }
3630
- function xi(e) {
3631
- return et(e) || e === 47;
3632
- }
3633
3651
  function Si(e) {
3652
+ return it(e) || e === 47;
3653
+ }
3654
+ function wi(e) {
3634
3655
  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;
3635
3656
  }
3636
3657
  function xr(e) {
3637
3658
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3638
3659
  }
3639
- function wi(e) {
3660
+ function Ti(e) {
3640
3661
  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;
3641
3662
  }
3642
- function tt(e) {
3663
+ function st(e) {
3643
3664
  e.forEach(function(t) {
3644
3665
  if (delete t.location, fr(t) || mr(t))
3645
3666
  for (var r in t.options)
3646
- delete t.options[r].location, tt(t.options[r].value);
3667
+ delete t.options[r].location, st(t.options[r].value);
3647
3668
  else
3648
- hr(t) && br(t.style) || (lr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : dr(t) && tt(t.children);
3669
+ hr(t) && br(t.style) || (lr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && st(t.children);
3649
3670
  });
3650
3671
  }
3651
- function Ti(e, t) {
3652
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3653
- var r = new _i(e, t).parse();
3672
+ function Hi(e, t) {
3673
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3674
+ var r = new xi(e, t).parse();
3654
3675
  if (r.err) {
3655
3676
  var n = SyntaxError(p[r.err.kind]);
3656
3677
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3657
3678
  }
3658
- return t != null && t.captureLocation || tt(r.val), r.val;
3679
+ return t != null && t.captureLocation || st(r.val), r.val;
3659
3680
  }
3660
- var te;
3681
+ var ee;
3661
3682
  (function(e) {
3662
3683
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3663
- })(te || (te = {}));
3664
- var Ae = (
3684
+ })(ee || (ee = {}));
3685
+ var Oe = (
3665
3686
  /** @class */
3666
3687
  function(e) {
3667
- D(t, e);
3688
+ Pe(t, e);
3668
3689
  function t(r, n, i) {
3669
3690
  var s = e.call(this, r) || this;
3670
3691
  return s.code = n, s.originalMessage = i, s;
@@ -3673,44 +3694,44 @@ var Ae = (
3673
3694
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3674
3695
  }, t;
3675
3696
  }(Error)
3676
- ), Gt = (
3697
+ ), Ut = (
3677
3698
  /** @class */
3678
3699
  function(e) {
3679
- D(t, e);
3700
+ Pe(t, e);
3680
3701
  function t(r, n, i, s) {
3681
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3702
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3682
3703
  }
3683
3704
  return t;
3684
- }(Ae)
3685
- ), Hi = (
3705
+ }(Oe)
3706
+ ), Ai = (
3686
3707
  /** @class */
3687
3708
  function(e) {
3688
- D(t, e);
3709
+ Pe(t, e);
3689
3710
  function t(r, n, i) {
3690
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3711
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3691
3712
  }
3692
3713
  return t;
3693
- }(Ae)
3714
+ }(Oe)
3694
3715
  ), Bi = (
3695
3716
  /** @class */
3696
3717
  function(e) {
3697
- D(t, e);
3718
+ Pe(t, e);
3698
3719
  function t(r, n) {
3699
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3720
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3700
3721
  }
3701
3722
  return t;
3702
- }(Ae)
3723
+ }(Oe)
3703
3724
  ), H;
3704
3725
  (function(e) {
3705
3726
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3706
3727
  })(H || (H = {}));
3707
- function Ai(e) {
3728
+ function Pi(e) {
3708
3729
  return e.length < 2 ? e : e.reduce(function(t, r) {
3709
3730
  var n = t[t.length - 1];
3710
3731
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3711
3732
  }, []);
3712
3733
  }
3713
- function Pi(e) {
3734
+ function Oi(e) {
3714
3735
  return typeof e == "function";
3715
3736
  }
3716
3737
  function xe(e, t, r, n, i, s, o) {
@@ -3730,7 +3751,7 @@ function xe(e, t, r, n, i, s, o) {
3730
3751
  });
3731
3752
  continue;
3732
3753
  }
3733
- if (qn(l)) {
3754
+ if (Jn(l)) {
3734
3755
  typeof s == "number" && a.push({
3735
3756
  type: H.literal,
3736
3757
  value: r.getNumberFormat(t).format(s)
@@ -3741,7 +3762,7 @@ function xe(e, t, r, n, i, s, o) {
3741
3762
  if (!(i && m in i))
3742
3763
  throw new Bi(m, o);
3743
3764
  var c = i[m];
3744
- if (Yn(l)) {
3765
+ if (qn(l)) {
3745
3766
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3746
3767
  type: typeof c == "string" ? H.literal : H.object,
3747
3768
  value: c
@@ -3749,7 +3770,7 @@ function xe(e, t, r, n, i, s, o) {
3749
3770
  continue;
3750
3771
  }
3751
3772
  if (lr(l)) {
3752
- var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3773
+ var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3753
3774
  a.push({
3754
3775
  type: H.literal,
3755
3776
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3757,7 +3778,7 @@ function xe(e, t, r, n, i, s, o) {
3757
3778
  continue;
3758
3779
  }
3759
3780
  if (cr(l)) {
3760
- var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3781
+ var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
3761
3782
  a.push({
3762
3783
  type: H.literal,
3763
3784
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3774,22 +3795,22 @@ function xe(e, t, r, n, i, s, o) {
3774
3795
  }
3775
3796
  if (dr(l)) {
3776
3797
  var b = l.children, y = l.value, T = i[y];
3777
- if (!Pi(T))
3778
- throw new Hi(y, "function", o);
3779
- var C = xe(b, t, r, n, i, s), P = T(C.map(function(O) {
3780
- return O.value;
3798
+ if (!Oi(T))
3799
+ throw new Ai(y, "function", o);
3800
+ var C = xe(b, t, r, n, i, s), P = T(C.map(function(N) {
3801
+ return N.value;
3781
3802
  }));
3782
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3803
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
3783
3804
  return {
3784
- type: typeof O == "string" ? H.literal : H.object,
3785
- value: O
3805
+ type: typeof N == "string" ? H.literal : H.object,
3806
+ value: N
3786
3807
  };
3787
3808
  }));
3788
3809
  }
3789
3810
  if (fr(l)) {
3790
3811
  var w = l.options[c] || l.options.other;
3791
3812
  if (!w)
3792
- throw new Gt(l.value, c, Object.keys(l.options), o);
3813
+ throw new Ut(l.value, c, Object.keys(l.options), o);
3793
3814
  a.push.apply(a, xe(w.value, t, r, n, i));
3794
3815
  continue;
3795
3816
  }
@@ -3797,31 +3818,31 @@ function xe(e, t, r, n, i, s, o) {
3797
3818
  var w = l.options["=".concat(c)];
3798
3819
  if (!w) {
3799
3820
  if (!Intl.PluralRules)
3800
- throw new Ae(`Intl.PluralRules is not available in this environment.
3821
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3801
3822
  Try polyfilling it using "@formatjs/intl-pluralrules"
3802
- `, te.MISSING_INTL_API, o);
3803
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3804
- w = l.options[N] || l.options.other;
3823
+ `, ee.MISSING_INTL_API, o);
3824
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3825
+ w = l.options[O] || l.options.other;
3805
3826
  }
3806
3827
  if (!w)
3807
- throw new Gt(l.value, c, Object.keys(l.options), o);
3828
+ throw new Ut(l.value, c, Object.keys(l.options), o);
3808
3829
  a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
3809
3830
  continue;
3810
3831
  }
3811
3832
  }
3812
- return Ai(a);
3833
+ return Pi(a);
3813
3834
  }
3814
3835
  function Ni(e, t) {
3815
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3816
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3836
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3837
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3817
3838
  }, {})) : e;
3818
3839
  }
3819
- function Oi(e, t) {
3840
+ function Li(e, t) {
3820
3841
  return t ? Object.keys(e).reduce(function(r, n) {
3821
3842
  return r[n] = Ni(e[n], t[n]), r;
3822
- }, v({}, e)) : e;
3843
+ }, G({}, e)) : e;
3823
3844
  }
3824
- function Fe(e) {
3845
+ function je(e) {
3825
3846
  return {
3826
3847
  create: function() {
3827
3848
  return {
@@ -3835,39 +3856,39 @@ function Fe(e) {
3835
3856
  }
3836
3857
  };
3837
3858
  }
3838
- function Li(e) {
3859
+ function Ii(e) {
3839
3860
  return e === void 0 && (e = {
3840
3861
  number: {},
3841
3862
  dateTime: {},
3842
3863
  pluralRules: {}
3843
3864
  }), {
3844
- getNumberFormat: Ge(function() {
3865
+ getNumberFormat: De(function() {
3845
3866
  for (var t, r = [], n = 0; n < arguments.length; n++)
3846
3867
  r[n] = arguments[n];
3847
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3868
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3848
3869
  }, {
3849
- cache: Fe(e.number),
3850
- strategy: Ue.variadic
3870
+ cache: je(e.number),
3871
+ strategy: $e.variadic
3851
3872
  }),
3852
- getDateTimeFormat: Ge(function() {
3873
+ getDateTimeFormat: De(function() {
3853
3874
  for (var t, r = [], n = 0; n < arguments.length; n++)
3854
3875
  r[n] = arguments[n];
3855
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3876
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3856
3877
  }, {
3857
- cache: Fe(e.dateTime),
3858
- strategy: Ue.variadic
3878
+ cache: je(e.dateTime),
3879
+ strategy: $e.variadic
3859
3880
  }),
3860
- getPluralRules: Ge(function() {
3881
+ getPluralRules: De(function() {
3861
3882
  for (var t, r = [], n = 0; n < arguments.length; n++)
3862
3883
  r[n] = arguments[n];
3863
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3884
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3864
3885
  }, {
3865
- cache: Fe(e.pluralRules),
3866
- strategy: Ue.variadic
3886
+ cache: je(e.pluralRules),
3887
+ strategy: $e.variadic
3867
3888
  })
3868
3889
  };
3869
3890
  }
3870
- var Ii = (
3891
+ var Ci = (
3871
3892
  /** @class */
3872
3893
  function() {
3873
3894
  function e(t, r, n, i) {
@@ -3899,13 +3920,13 @@ var Ii = (
3899
3920
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3900
3921
  var o = i || {};
3901
3922
  o.formatters;
3902
- var a = fn(o, ["formatters"]);
3903
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3923
+ var a = kn(o, ["formatters"]);
3924
+ this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3904
3925
  } else
3905
3926
  this.ast = t;
3906
3927
  if (!Array.isArray(this.ast))
3907
3928
  throw new TypeError("A message must be provided as a String or AST.");
3908
- this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
3929
+ this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3909
3930
  }
3910
3931
  return Object.defineProperty(e, "defaultLocale", {
3911
3932
  get: function() {
@@ -3918,7 +3939,7 @@ var Ii = (
3918
3939
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3919
3940
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3920
3941
  }
3921
- }, e.__parse = Ti, e.formats = {
3942
+ }, e.__parse = Hi, e.formats = {
3922
3943
  number: {
3923
3944
  integer: {
3924
3945
  maximumFractionDigits: 0
@@ -3979,7 +4000,7 @@ var Ii = (
3979
4000
  }, e;
3980
4001
  }()
3981
4002
  );
3982
- function Ci(e, t) {
4003
+ function Mi(e, t) {
3983
4004
  if (t == null)
3984
4005
  return;
3985
4006
  if (t in e)
@@ -4000,36 +4021,36 @@ function Ci(e, t) {
4000
4021
  n = void 0;
4001
4022
  return n;
4002
4023
  }
4003
- const F = {}, Mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Sr = (e, t) => {
4024
+ const $ = {}, Ri = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Sr = (e, t) => {
4004
4025
  if (t == null)
4005
4026
  return;
4006
- if (t in F && e in F[t])
4007
- return F[t][e];
4008
- const r = Pe(t);
4027
+ if (t in $ && e in $[t])
4028
+ return $[t][e];
4029
+ const r = Ne(t);
4009
4030
  for (let n = 0; n < r.length; n++) {
4010
- const i = r[n], s = Gi(i, e);
4031
+ const i = r[n], s = Ui(i, e);
4011
4032
  if (s)
4012
- return Mi(e, t, s);
4033
+ return Ri(e, t, s);
4013
4034
  }
4014
4035
  };
4015
- let ut;
4036
+ let lt;
4016
4037
  const de = Be({});
4017
- function Ri(e) {
4018
- return ut[e] || null;
4038
+ function Gi(e) {
4039
+ return lt[e] || null;
4019
4040
  }
4020
4041
  function wr(e) {
4021
- return e in ut;
4042
+ return e in lt;
4022
4043
  }
4023
- function Gi(e, t) {
4044
+ function Ui(e, t) {
4024
4045
  if (!wr(e))
4025
4046
  return null;
4026
- const r = Ri(e);
4027
- return Ci(r, t);
4047
+ const r = Gi(e);
4048
+ return Mi(r, t);
4028
4049
  }
4029
- function Ui(e) {
4050
+ function Di(e) {
4030
4051
  if (e == null)
4031
4052
  return;
4032
- const t = Pe(e);
4053
+ const t = Ne(e);
4033
4054
  for (let r = 0; r < t.length; r++) {
4034
4055
  const n = t[r];
4035
4056
  if (wr(n))
@@ -4037,55 +4058,55 @@ function Ui(e) {
4037
4058
  }
4038
4059
  }
4039
4060
  function Tr(e, ...t) {
4040
- delete F[e], de.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4061
+ delete $[e], de.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
4041
4062
  }
4042
- se(
4063
+ ie(
4043
4064
  [de],
4044
4065
  ([e]) => Object.keys(e)
4045
4066
  );
4046
- de.subscribe((e) => ut = e);
4067
+ de.subscribe((e) => lt = e);
4047
4068
  const Se = {};
4048
- function Di(e, t) {
4069
+ function $i(e, t) {
4049
4070
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4050
4071
  }
4051
4072
  function Hr(e) {
4052
4073
  return Se[e];
4053
4074
  }
4054
4075
  function Fi(e) {
4055
- return Pe(e).map((t) => {
4076
+ return Ne(e).map((t) => {
4056
4077
  const r = Hr(t);
4057
4078
  return [t, r ? [...r] : []];
4058
4079
  }).filter(([, t]) => t.length > 0);
4059
4080
  }
4060
- function rt(e) {
4061
- return e == null ? !1 : Pe(e).some(
4081
+ function ot(e) {
4082
+ return e == null ? !1 : Ne(e).some(
4062
4083
  (t) => {
4063
4084
  var r;
4064
4085
  return (r = Hr(t)) == null ? void 0 : r.size;
4065
4086
  }
4066
4087
  );
4067
4088
  }
4068
- function $i(e, t) {
4089
+ function ji(e, t) {
4069
4090
  return Promise.all(
4070
- t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
4091
+ t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
4071
4092
  ).then((n) => Tr(e, ...n));
4072
4093
  }
4073
- const ae = {};
4074
- function Br(e) {
4075
- if (!rt(e))
4076
- return e in ae ? ae[e] : Promise.resolve();
4094
+ const oe = {};
4095
+ function Ar(e) {
4096
+ if (!ot(e))
4097
+ return e in oe ? oe[e] : Promise.resolve();
4077
4098
  const t = Fi(e);
4078
- return ae[e] = Promise.all(
4099
+ return oe[e] = Promise.all(
4079
4100
  t.map(
4080
- ([r, n]) => $i(r, n)
4101
+ ([r, n]) => ji(r, n)
4081
4102
  )
4082
4103
  ).then(() => {
4083
- if (rt(e))
4084
- return Br(e);
4085
- delete ae[e];
4086
- }), ae[e];
4104
+ if (ot(e))
4105
+ return Ar(e);
4106
+ delete oe[e];
4107
+ }), oe[e];
4087
4108
  }
4088
- const ji = {
4109
+ const ki = {
4089
4110
  number: {
4090
4111
  scientific: { notation: "scientific" },
4091
4112
  engineering: { notation: "engineering" },
@@ -4114,135 +4135,135 @@ const ji = {
4114
4135
  timeZoneName: "short"
4115
4136
  }
4116
4137
  }
4117
- }, ki = {
4138
+ }, Vi = {
4118
4139
  fallbackLocale: null,
4119
4140
  loadingDelay: 200,
4120
- formats: ji,
4141
+ formats: ki,
4121
4142
  warnOnMissingMessages: !0,
4122
4143
  handleMissingMessage: void 0,
4123
4144
  ignoreTag: !0
4124
- }, Vi = ki;
4125
- function re() {
4126
- return Vi;
4145
+ }, Xi = Vi;
4146
+ function te() {
4147
+ return Xi;
4127
4148
  }
4128
- const $e = Be(!1);
4129
- var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4149
+ const ke = Be(!1);
4150
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4130
4151
  for (var r in t || (t = {}))
4131
- Zi.call(t, r) && Dt(e, r, t[r]);
4132
- if (Ut)
4133
- for (var r of Ut(t))
4134
- Qi.call(t, r) && Dt(e, r, t[r]);
4152
+ Qi.call(t, r) && $t(e, r, t[r]);
4153
+ if (Dt)
4154
+ for (var r of Dt(t))
4155
+ Yi.call(t, r) && $t(e, r, t[r]);
4135
4156
  return e;
4136
- }, qi = (e, t) => Wi(e, zi(t));
4137
- let nt;
4138
- const we = Be(null);
4157
+ }, Ji = (e, t) => zi(e, Zi(t));
4158
+ let at;
4159
+ const Te = Be(null);
4139
4160
  function Ft(e) {
4140
4161
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4141
4162
  }
4142
- function Pe(e, t = re().fallbackLocale) {
4163
+ function Ne(e, t = te().fallbackLocale) {
4143
4164
  const r = Ft(e);
4144
4165
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4145
4166
  }
4146
4167
  function X() {
4147
- return nt != null ? nt : void 0;
4168
+ return at != null ? at : void 0;
4148
4169
  }
4149
- we.subscribe((e) => {
4150
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4170
+ Te.subscribe((e) => {
4171
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4151
4172
  });
4152
- const Ji = (e) => {
4153
- if (e && Ui(e) && rt(e)) {
4154
- const { loadingDelay: t } = re();
4173
+ const Ki = (e) => {
4174
+ if (e && Di(e) && ot(e)) {
4175
+ const { loadingDelay: t } = te();
4155
4176
  let r;
4156
4177
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4157
- () => $e.set(!0),
4178
+ () => ke.set(!0),
4158
4179
  t
4159
- ) : $e.set(!0), Br(e).then(() => {
4160
- we.set(e);
4180
+ ) : ke.set(!0), Ar(e).then(() => {
4181
+ Te.set(e);
4161
4182
  }).finally(() => {
4162
- clearTimeout(r), $e.set(!1);
4183
+ clearTimeout(r), ke.set(!1);
4163
4184
  });
4164
4185
  }
4165
- return we.set(e);
4166
- }, be = qi(Yi({}, we), {
4167
- set: Ji
4168
- }), Ne = (e) => {
4186
+ return Te.set(e);
4187
+ }, be = Ji(qi({}, Te), {
4188
+ set: Ki
4189
+ }), Le = (e) => {
4169
4190
  const t = /* @__PURE__ */ Object.create(null);
4170
4191
  return (n) => {
4171
4192
  const i = JSON.stringify(n);
4172
4193
  return i in t ? t[i] : t[i] = e(n);
4173
4194
  };
4174
4195
  };
4175
- var Ki = Object.defineProperty, Te = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4196
+ var es = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4176
4197
  for (var r in t || (t = {}))
4177
- Ar.call(t, r) && $t(e, r, t[r]);
4178
- if (Te)
4179
- for (var r of Te(t))
4180
- Pr.call(t, r) && $t(e, r, t[r]);
4198
+ Br.call(t, r) && jt(e, r, t[r]);
4199
+ if (He)
4200
+ for (var r of He(t))
4201
+ Pr.call(t, r) && jt(e, r, t[r]);
4181
4202
  return e;
4182
- }, oe = (e, t) => {
4203
+ }, se = (e, t) => {
4183
4204
  var r = {};
4184
4205
  for (var n in e)
4185
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4186
- if (e != null && Te)
4187
- for (var n of Te(e))
4206
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4207
+ if (e != null && He)
4208
+ for (var n of He(e))
4188
4209
  t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4189
4210
  return r;
4190
4211
  };
4191
- const ce = (e, t) => {
4192
- const { formats: r } = re();
4212
+ const le = (e, t) => {
4213
+ const { formats: r } = te();
4193
4214
  if (e in r && t in r[e])
4194
4215
  return r[e][t];
4195
4216
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4196
- }, es = Ne(
4217
+ }, ts = Le(
4197
4218
  (e) => {
4198
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4219
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4199
4220
  if (r == null)
4200
4221
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4201
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4222
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4202
4223
  }
4203
- ), ts = Ne(
4224
+ ), rs = Le(
4204
4225
  (e) => {
4205
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4226
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4206
4227
  if (r == null)
4207
4228
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4208
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4229
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4209
4230
  }
4210
- ), rs = Ne(
4231
+ ), ns = Le(
4211
4232
  (e) => {
4212
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4213
4234
  if (r == null)
4214
4235
  throw new Error(
4215
4236
  '[svelte-i18n] A "locale" must be set to format time values'
4216
4237
  );
4217
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4238
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4218
4239
  }
4219
- ), ns = (e = {}) => {
4240
+ ), is = (e = {}) => {
4220
4241
  var t = e, {
4221
4242
  locale: r = X()
4222
- } = t, n = oe(t, [
4243
+ } = t, n = se(t, [
4223
4244
  "locale"
4224
4245
  ]);
4225
- return es(ht({ locale: r }, n));
4226
- }, is = (e = {}) => {
4246
+ return ts(ct({ locale: r }, n));
4247
+ }, ss = (e = {}) => {
4227
4248
  var t = e, {
4228
4249
  locale: r = X()
4229
- } = t, n = oe(t, [
4250
+ } = t, n = se(t, [
4230
4251
  "locale"
4231
4252
  ]);
4232
- return ts(ht({ locale: r }, n));
4233
- }, ss = (e = {}) => {
4253
+ return rs(ct({ locale: r }, n));
4254
+ }, os = (e = {}) => {
4234
4255
  var t = e, {
4235
4256
  locale: r = X()
4236
- } = t, n = oe(t, [
4257
+ } = t, n = se(t, [
4237
4258
  "locale"
4238
4259
  ]);
4239
- return rs(ht({ locale: r }, n));
4240
- }, os = Ne(
4260
+ return ns(ct({ locale: r }, n));
4261
+ }, as = Le(
4241
4262
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4242
- (e, t = X()) => new Ii(e, t, re().formats, {
4243
- ignoreTag: re().ignoreTag
4263
+ (e, t = X()) => new Ci(e, t, te().formats, {
4264
+ ignoreTag: te().ignoreTag
4244
4265
  })
4245
- ), as = (e, t = {}) => {
4266
+ ), us = (e, t = {}) => {
4246
4267
  var r, n, i, s;
4247
4268
  let o = t;
4248
4269
  typeof e == "object" && (o = e, e = o.id);
@@ -4257,7 +4278,7 @@ const ce = (e, t) => {
4257
4278
  );
4258
4279
  let l = Sr(e, h);
4259
4280
  if (!l)
4260
- l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4281
+ l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4261
4282
  else if (typeof l != "string")
4262
4283
  return console.warn(
4263
4284
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4266,7 +4287,7 @@ const ce = (e, t) => {
4266
4287
  return l;
4267
4288
  let m = l;
4268
4289
  try {
4269
- m = os(l, h).format(a);
4290
+ m = as(l, h).format(a);
4270
4291
  } catch (c) {
4271
4292
  c instanceof Error && console.warn(
4272
4293
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4274,20 +4295,20 @@ const ce = (e, t) => {
4274
4295
  );
4275
4296
  }
4276
4297
  return m;
4277
- }, us = (e, t) => ss(t).format(e), hs = (e, t) => is(t).format(e), ls = (e, t) => ns(t).format(e), cs = (e, t = X()) => Sr(e, t), fs = se([be, de], () => as);
4278
- se([be], () => us);
4279
- se([be], () => hs);
4280
- se([be], () => ls);
4281
- se([be, de], () => cs);
4282
- window.emWidgets = { topic: Hn };
4283
- const ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4284
- function ds(e, t) {
4298
+ }, hs = (e, t) => os(t).format(e), ls = (e, t) => ss(t).format(e), cs = (e, t) => is(t).format(e), fs = (e, t = X()) => Sr(e, t), ms = ie([be, de], () => us);
4299
+ ie([be], () => hs);
4300
+ ie([be], () => ls);
4301
+ ie([be], () => cs);
4302
+ ie([be, de], () => fs);
4303
+ window.emWidgets = { topic: Tn };
4304
+ const ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4305
+ function bs(e, t) {
4285
4306
  if (e) {
4286
4307
  const r = document.createElement("style");
4287
4308
  r.innerHTML = t, e.appendChild(r);
4288
4309
  }
4289
4310
  }
4290
- function bs(e, t) {
4311
+ function ps(e, t) {
4291
4312
  const r = new URL(t);
4292
4313
  fetch(r.href).then((n) => n.text()).then((n) => {
4293
4314
  const i = document.createElement("style");
@@ -4296,7 +4317,7 @@ function bs(e, t) {
4296
4317
  console.error("There was an error while trying to load client styling from URL", n);
4297
4318
  });
4298
4319
  }
4299
- function ps(e, t, r) {
4320
+ function gs(e, t, r) {
4300
4321
  if (window.emMessageBus) {
4301
4322
  const n = document.createElement("style");
4302
4323
  window.emMessageBus.subscribe(t, (i) => {
@@ -4304,10 +4325,10 @@ function ps(e, t, r) {
4304
4325
  });
4305
4326
  }
4306
4327
  }
4307
- function jt(e, t) {
4328
+ function kt(e, t) {
4308
4329
  Tr(e, t);
4309
4330
  }
4310
- const kt = {
4331
+ const Vt = {
4311
4332
  en: {
4312
4333
  lobbyName: "Lobby",
4313
4334
  myGamesName: "My games"
@@ -4393,173 +4414,173 @@ if (typeof window != "undefined") {
4393
4414
  }
4394
4415
  };
4395
4416
  };
4396
- customElements.define = e(customElements.define), import("./CasinoSlider-BvhhIhXx.js").then(({ default: t }) => {
4417
+ customElements.define = e(customElements.define), import("./CasinoSlider-4oZFStFQ.js").then(({ default: t }) => {
4397
4418
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4398
4419
  });
4399
4420
  }
4400
- function gs(e) {
4421
+ function ys(e) {
4401
4422
  zr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4402
4423
  }
4403
- function ys(e) {
4424
+ function vs(e) {
4404
4425
  let t, r;
4405
4426
  return {
4406
4427
  c() {
4407
- t = V("div"), r = V("casino-slider"), E(
4428
+ t = V("div"), r = V("casino-slider"), v(
4408
4429
  r,
4409
4430
  "lang",
4410
4431
  /*lang*/
4411
4432
  e[3]
4412
- ), E(
4433
+ ), v(
4413
4434
  r,
4414
4435
  "datasource",
4415
4436
  /*datasource*/
4416
4437
  e[2]
4417
- ), E(
4438
+ ), v(
4418
4439
  r,
4419
4440
  "endpoint",
4420
4441
  /*endpoint*/
4421
4442
  e[1]
4422
- ), E(r, "identity", it), E(
4443
+ ), v(r, "identity", ut), v(
4423
4444
  r,
4424
4445
  "favoritesnumber",
4425
4446
  /*numberOfFavoredGames*/
4426
4447
  e[16]
4427
- ), E(
4448
+ ), v(
4428
4449
  r,
4429
4450
  "showsubgroups",
4430
4451
  /*showsubgroups*/
4431
4452
  e[8]
4432
- ), E(
4453
+ ), v(
4433
4454
  r,
4434
4455
  "clientstyling",
4435
4456
  /*clientstyling*/
4436
4457
  e[4]
4437
- ), E(
4458
+ ), v(
4438
4459
  r,
4439
4460
  "clientstylingurl",
4440
4461
  /*clientstylingurl*/
4441
4462
  e[5]
4442
- ), E(
4463
+ ), v(
4443
4464
  r,
4444
4465
  "mbsource",
4445
4466
  /*mbsource*/
4446
4467
  e[12]
4447
- ), E(
4468
+ ), v(
4448
4469
  r,
4449
4470
  "activeindex",
4450
4471
  /*activecategory*/
4451
4472
  e[0]
4452
- ), E(
4473
+ ), v(
4453
4474
  r,
4454
4475
  "actionevent",
4455
4476
  /*actionevent*/
4456
4477
  e[6]
4457
- ), E(
4478
+ ), v(
4458
4479
  r,
4459
4480
  "location",
4460
4481
  /*location*/
4461
4482
  e[7]
4462
- ), E(
4483
+ ), v(
4463
4484
  r,
4464
4485
  "categoriesicon",
4465
4486
  /*categoriesicon*/
4466
4487
  e[9]
4467
- ), E(
4488
+ ), v(
4468
4489
  r,
4469
4490
  "lobbyiconimage",
4470
4491
  /*lobbyiconimage*/
4471
4492
  e[10]
4472
- ), E(
4493
+ ), v(
4473
4494
  r,
4474
4495
  "mygamesiconimage",
4475
4496
  /*mygamesiconimage*/
4476
4497
  e[11]
4477
- ), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4498
+ ), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4478
4499
  },
4479
4500
  m(n, i) {
4480
- fe(n, t, i), zt(t, r);
4501
+ ce(n, t, i), Zt(t, r);
4481
4502
  },
4482
4503
  p(n, i) {
4483
4504
  i[0] & /*lang*/
4484
- 8 && E(
4505
+ 8 && v(
4485
4506
  r,
4486
4507
  "lang",
4487
4508
  /*lang*/
4488
4509
  n[3]
4489
4510
  ), i[0] & /*datasource*/
4490
- 4 && E(
4511
+ 4 && v(
4491
4512
  r,
4492
4513
  "datasource",
4493
4514
  /*datasource*/
4494
4515
  n[2]
4495
4516
  ), i[0] & /*endpoint*/
4496
- 2 && E(
4517
+ 2 && v(
4497
4518
  r,
4498
4519
  "endpoint",
4499
4520
  /*endpoint*/
4500
4521
  n[1]
4501
4522
  ), i[0] & /*numberOfFavoredGames*/
4502
- 65536 && E(
4523
+ 65536 && v(
4503
4524
  r,
4504
4525
  "favoritesnumber",
4505
4526
  /*numberOfFavoredGames*/
4506
4527
  n[16]
4507
4528
  ), i[0] & /*showsubgroups*/
4508
- 256 && E(
4529
+ 256 && v(
4509
4530
  r,
4510
4531
  "showsubgroups",
4511
4532
  /*showsubgroups*/
4512
4533
  n[8]
4513
4534
  ), i[0] & /*clientstyling*/
4514
- 16 && E(
4535
+ 16 && v(
4515
4536
  r,
4516
4537
  "clientstyling",
4517
4538
  /*clientstyling*/
4518
4539
  n[4]
4519
4540
  ), i[0] & /*clientstylingurl*/
4520
- 32 && E(
4541
+ 32 && v(
4521
4542
  r,
4522
4543
  "clientstylingurl",
4523
4544
  /*clientstylingurl*/
4524
4545
  n[5]
4525
4546
  ), i[0] & /*mbsource*/
4526
- 4096 && E(
4547
+ 4096 && v(
4527
4548
  r,
4528
4549
  "mbsource",
4529
4550
  /*mbsource*/
4530
4551
  n[12]
4531
4552
  ), i[0] & /*activecategory*/
4532
- 1 && E(
4553
+ 1 && v(
4533
4554
  r,
4534
4555
  "activeindex",
4535
4556
  /*activecategory*/
4536
4557
  n[0]
4537
4558
  ), i[0] & /*actionevent*/
4538
- 64 && E(
4559
+ 64 && v(
4539
4560
  r,
4540
4561
  "actionevent",
4541
4562
  /*actionevent*/
4542
4563
  n[6]
4543
4564
  ), i[0] & /*location*/
4544
- 128 && E(
4565
+ 128 && v(
4545
4566
  r,
4546
4567
  "location",
4547
4568
  /*location*/
4548
4569
  n[7]
4549
4570
  ), i[0] & /*categoriesicon*/
4550
- 512 && E(
4571
+ 512 && v(
4551
4572
  r,
4552
4573
  "categoriesicon",
4553
4574
  /*categoriesicon*/
4554
4575
  n[9]
4555
4576
  ), i[0] & /*lobbyiconimage*/
4556
- 1024 && E(
4577
+ 1024 && v(
4557
4578
  r,
4558
4579
  "lobbyiconimage",
4559
4580
  /*lobbyiconimage*/
4560
4581
  n[10]
4561
4582
  ), i[0] & /*mygamesiconimage*/
4562
- 2048 && E(
4583
+ 2048 && v(
4563
4584
  r,
4564
4585
  "mygamesiconimage",
4565
4586
  /*mygamesiconimage*/
@@ -4567,22 +4588,22 @@ function ys(e) {
4567
4588
  );
4568
4589
  },
4569
4590
  d(n) {
4570
- n && ie(t);
4591
+ n && ne(t);
4571
4592
  }
4572
4593
  };
4573
4594
  }
4574
- function vs(e) {
4595
+ function _s(e) {
4575
4596
  let t;
4576
4597
  return {
4577
4598
  c() {
4578
- t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-1my2wow");
4599
+ t = V("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
4579
4600
  },
4580
4601
  m(r, n) {
4581
- fe(r, t, n);
4602
+ ce(r, t, n);
4582
4603
  },
4583
4604
  p: I,
4584
4605
  d(r) {
4585
- r && ie(t);
4606
+ r && ne(t);
4586
4607
  }
4587
4608
  };
4588
4609
  }
@@ -4590,25 +4611,25 @@ function Es(e) {
4590
4611
  let t;
4591
4612
  return {
4592
4613
  c() {
4593
- t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4614
+ t = V("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
4594
4615
  },
4595
4616
  m(r, n) {
4596
- fe(r, t, n);
4617
+ ce(r, t, n);
4597
4618
  },
4598
4619
  p: I,
4599
4620
  d(r) {
4600
- r && ie(t);
4621
+ r && ne(t);
4601
4622
  }
4602
4623
  };
4603
4624
  }
4604
- function _s(e) {
4625
+ function xs(e) {
4605
4626
  let t;
4606
4627
  function r(s, o) {
4607
4628
  return (
4608
4629
  /*isLoading*/
4609
- s[13] || xs || Ss ? Es : (
4630
+ s[13] || Ss || ws ? Es : (
4610
4631
  /*hasErrors*/
4611
- s[15] ? vs : ys
4632
+ s[15] ? _s : vs
4612
4633
  )
4613
4634
  );
4614
4635
  }
@@ -4618,7 +4639,7 @@ function _s(e) {
4618
4639
  t = V("div"), i.c();
4619
4640
  },
4620
4641
  m(s, o) {
4621
- fe(s, t, o), i.m(t, null), e[26](t);
4642
+ ce(s, t, o), i.m(t, null), e[26](t);
4622
4643
  },
4623
4644
  p(s, o) {
4624
4645
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4626,97 +4647,97 @@ function _s(e) {
4626
4647
  i: I,
4627
4648
  o: I,
4628
4649
  d(s) {
4629
- s && ie(t), i.d(), e[26](null);
4650
+ s && ne(t), i.d(), e[26](null);
4630
4651
  }
4631
4652
  };
4632
4653
  }
4633
- let it = "CasinoSliderData", xs = !1, Ss = !1;
4634
- function ws(e, t, r) {
4654
+ let ut = "CasinoSliderData", Ss = !1, ws = !1;
4655
+ function Ts(e, t, r) {
4635
4656
  let n;
4636
- Wr(e, fs, (f) => r(32, n = f));
4637
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: B } = t, L, $, lt, j = !0, W, z = [], k = !1, Or = window.navigator.userAgent, G, ct, ft = !1, Oe = !1;
4657
+ Wr(e, ms, (f) => r(32, n = f));
4658
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, F, j = !0, W, z = [], k = !1, Nr = window.navigator.userAgent, U, ft, mt = !1, Ie = !1;
4638
4659
  const Lr = () => {
4639
- fetch(N).then((A) => A.json()).then((A) => {
4640
- Object.keys(A).forEach((pe) => {
4641
- jt(pe, A[pe]);
4660
+ fetch(O).then((B) => B.json()).then((B) => {
4661
+ Object.keys(B).forEach((pe) => {
4662
+ kt(pe, B[pe]);
4642
4663
  });
4643
- }).catch((A) => {
4644
- console.log(A);
4664
+ }).catch((B) => {
4665
+ console.log(B);
4645
4666
  });
4646
4667
  };
4647
- Object.keys(kt).forEach((f) => {
4648
- jt(f, kt[f]);
4668
+ Object.keys(Vt).forEach((f) => {
4669
+ kt(f, Vt[f]);
4649
4670
  });
4650
4671
  const Ir = () => {
4651
- ft == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4672
+ mt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4652
4673
  // @ts-ignore
4653
4674
  id: "MYGAMES",
4654
- name: $,
4675
+ name: L,
4655
4676
  href: "",
4656
4677
  games: []
4657
- }), en(), ft = !0, r(25, Oe = !0), mt();
4678
+ }), en(), mt = !0, r(25, Ie = !0), dt();
4658
4679
  }, Cr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
4659
- if ($ = n("myGamesName"), lt = n("lobbyName"), !Cr()) {
4680
+ if (L = n("myGamesName"), F = n("lobbyName"), !Cr()) {
4660
4681
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4661
- f.searchParams.append("language", o), f.searchParams.append("platform", ms(Or)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
4662
- (A) => {
4663
- let pe = w.split(","), Ur = A.items.filter((bt) => {
4664
- let Le = !1;
4665
- if (bt.games.total > 0 && (Le = !0, w))
4682
+ f.searchParams.append("language", o), f.searchParams.append("platform", ds(Nr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4683
+ (B) => {
4684
+ let pe = w.split(","), Ur = B.items.filter((pt) => {
4685
+ let Ce = !1;
4686
+ if (pt.games.total > 0 && (Ce = !0, w))
4666
4687
  for (let Dr of pe)
4667
- bt.flags == Dr && (Le = !1);
4668
- return Le;
4688
+ pt.flags == Dr && (Ce = !1);
4689
+ return Ce;
4669
4690
  });
4670
4691
  z = [], z = z.concat(Ur), z.unshift({
4671
4692
  // @ts-ignore
4672
4693
  id: "LOBBY",
4673
- name: lt,
4694
+ name: F,
4674
4695
  href: "",
4675
4696
  games: []
4676
4697
  }), r(13, j = !1);
4677
4698
  },
4678
- (A) => {
4679
- r(15, k = !0), console.error("There was an error while fetching the categories", A);
4699
+ (B) => {
4700
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4680
4701
  }
4681
- ).catch((A) => {
4682
- r(15, k = !0), console.error("There was an error while fetching the categories", A);
4702
+ ).catch((B) => {
4703
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4683
4704
  });
4684
4705
  }
4685
4706
  }, Rr = () => {
4686
4707
  let f = b.split("$");
4687
4708
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4688
- }, mt = () => {
4709
+ }, dt = () => {
4689
4710
  window.postMessage(
4690
4711
  {
4691
4712
  type: "SliderData",
4692
- identity: it,
4713
+ identity: ut,
4693
4714
  data: z
4694
4715
  },
4695
4716
  window.location.href
4696
4717
  );
4697
- }, dt = (f) => {
4698
- f.data && f.data.type == "SliderLoaded" && it == f.data.identity && mt();
4718
+ }, bt = (f) => {
4719
+ f.data && f.data.type == "SliderLoaded" && ut == f.data.identity && dt();
4699
4720
  };
4700
- Kr(() => (window.addEventListener("message", dt, !1), () => {
4701
- window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", dt);
4721
+ Kr(() => (window.addEventListener("message", bt, !1), () => {
4722
+ window.removeEventListener("message", bt);
4702
4723
  }));
4703
4724
  function Gr(f) {
4704
- je[f ? "unshift" : "push"](() => {
4705
- G = f, r(14, G);
4725
+ Ve[f ? "unshift" : "push"](() => {
4726
+ U = f, r(14, U);
4706
4727
  });
4707
4728
  }
4708
4729
  return e.$$set = (f) => {
4709
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
4730
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4710
4731
  }, e.$$.update = () => {
4711
4732
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4712
4733
  14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4713
4734
  3940354 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4714
- 33824769 && !j && b && (!h || Oe) && Rr(), e.$$.dirty[0] & /*translationurl*/
4715
- 16777216 && N && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4716
- 16400 && c && G && ds(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4717
- 16416 && d && G && bs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4718
- 20480 && G && ps(G, `${B}.Style`);
4719
- }, r(16, ct = 0), [
4735
+ 33824769 && !j && b && (!h || Ie) && Rr(), e.$$.dirty[0] & /*translationurl*/
4736
+ 16777216 && O && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4737
+ 16400 && c && U && bs(U, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4738
+ 16416 && d && U && ps(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4739
+ 20480 && U && gs(U, `${A}.Style`);
4740
+ }, r(16, ft = 0), [
4720
4741
  b,
4721
4742
  i,
4722
4743
  s,
@@ -4726,14 +4747,14 @@ function ws(e, t, r) {
4726
4747
  y,
4727
4748
  C,
4728
4749
  P,
4729
- O,
4750
+ N,
4730
4751
  R,
4731
4752
  _,
4732
- B,
4753
+ A,
4733
4754
  j,
4734
- G,
4755
+ U,
4735
4756
  k,
4736
- ct,
4757
+ ft,
4737
4758
  a,
4738
4759
  h,
4739
4760
  u,
@@ -4741,19 +4762,19 @@ function ws(e, t, r) {
4741
4762
  m,
4742
4763
  T,
4743
4764
  w,
4744
- N,
4745
- Oe,
4765
+ O,
4766
+ Ie,
4746
4767
  Gr
4747
4768
  ];
4748
4769
  }
4749
- class Nr extends ln {
4770
+ class Or extends ln {
4750
4771
  constructor(t) {
4751
4772
  super(), un(
4752
4773
  this,
4753
4774
  t,
4754
- ws,
4755
- _s,
4756
- Xt,
4775
+ Ts,
4776
+ xs,
4777
+ Wt,
4757
4778
  {
4758
4779
  endpoint: 1,
4759
4780
  datasource: 2,
@@ -4777,7 +4798,7 @@ class Nr extends ln {
4777
4798
  mygamesiconimage: 11,
4778
4799
  mbsource: 12
4779
4800
  },
4780
- gs,
4801
+ ys,
4781
4802
  [-1, -1]
4782
4803
  );
4783
4804
  }
@@ -4785,165 +4806,165 @@ class Nr extends ln {
4785
4806
  return this.$$.ctx[1];
4786
4807
  }
4787
4808
  set endpoint(t) {
4788
- this.$$set({ endpoint: t }), S();
4809
+ this.$$set({ endpoint: t }), x();
4789
4810
  }
4790
4811
  get datasource() {
4791
4812
  return this.$$.ctx[2];
4792
4813
  }
4793
4814
  set datasource(t) {
4794
- this.$$set({ datasource: t }), S();
4815
+ this.$$set({ datasource: t }), x();
4795
4816
  }
4796
4817
  get lang() {
4797
4818
  return this.$$.ctx[3];
4798
4819
  }
4799
4820
  set lang(t) {
4800
- this.$$set({ lang: t }), S();
4821
+ this.$$set({ lang: t }), x();
4801
4822
  }
4802
4823
  get userid() {
4803
4824
  return this.$$.ctx[17];
4804
4825
  }
4805
4826
  set userid(t) {
4806
- this.$$set({ userid: t }), S();
4827
+ this.$$set({ userid: t }), x();
4807
4828
  }
4808
4829
  get session() {
4809
4830
  return this.$$.ctx[18];
4810
4831
  }
4811
4832
  set session(t) {
4812
- this.$$set({ session: t }), S();
4833
+ this.$$set({ session: t }), x();
4813
4834
  }
4814
4835
  get mostplayed() {
4815
4836
  return this.$$.ctx[19];
4816
4837
  }
4817
4838
  set mostplayed(t) {
4818
- this.$$set({ mostplayed: t }), S();
4839
+ this.$$set({ mostplayed: t }), x();
4819
4840
  }
4820
4841
  get lastplayed() {
4821
4842
  return this.$$.ctx[20];
4822
4843
  }
4823
4844
  set lastplayed(t) {
4824
- this.$$set({ lastplayed: t }), S();
4845
+ this.$$set({ lastplayed: t }), x();
4825
4846
  }
4826
4847
  get favorites() {
4827
4848
  return this.$$.ctx[21];
4828
4849
  }
4829
4850
  set favorites(t) {
4830
- this.$$set({ favorites: t }), S();
4851
+ this.$$set({ favorites: t }), x();
4831
4852
  }
4832
4853
  get clientstyling() {
4833
4854
  return this.$$.ctx[4];
4834
4855
  }
4835
4856
  set clientstyling(t) {
4836
- this.$$set({ clientstyling: t }), S();
4857
+ this.$$set({ clientstyling: t }), x();
4837
4858
  }
4838
4859
  get clientstylingurl() {
4839
4860
  return this.$$.ctx[5];
4840
4861
  }
4841
4862
  set clientstylingurl(t) {
4842
- this.$$set({ clientstylingurl: t }), S();
4863
+ this.$$set({ clientstylingurl: t }), x();
4843
4864
  }
4844
4865
  get activecategory() {
4845
4866
  return this.$$.ctx[0];
4846
4867
  }
4847
4868
  set activecategory(t) {
4848
- this.$$set({ activecategory: t }), S();
4869
+ this.$$set({ activecategory: t }), x();
4849
4870
  }
4850
4871
  get actionevent() {
4851
4872
  return this.$$.ctx[6];
4852
4873
  }
4853
4874
  set actionevent(t) {
4854
- this.$$set({ actionevent: t }), S();
4875
+ this.$$set({ actionevent: t }), x();
4855
4876
  }
4856
4877
  get sessioncheck() {
4857
4878
  return this.$$.ctx[22];
4858
4879
  }
4859
4880
  set sessioncheck(t) {
4860
- this.$$set({ sessioncheck: t }), S();
4881
+ this.$$set({ sessioncheck: t }), x();
4861
4882
  }
4862
4883
  get location() {
4863
4884
  return this.$$.ctx[7];
4864
4885
  }
4865
4886
  set location(t) {
4866
- this.$$set({ location: t }), S();
4887
+ this.$$set({ location: t }), x();
4867
4888
  }
4868
4889
  get showsubgroups() {
4869
4890
  return this.$$.ctx[8];
4870
4891
  }
4871
4892
  set showsubgroups(t) {
4872
- this.$$set({ showsubgroups: t }), S();
4893
+ this.$$set({ showsubgroups: t }), x();
4873
4894
  }
4874
4895
  get filteredcategories() {
4875
4896
  return this.$$.ctx[23];
4876
4897
  }
4877
4898
  set filteredcategories(t) {
4878
- this.$$set({ filteredcategories: t }), S();
4899
+ this.$$set({ filteredcategories: t }), x();
4879
4900
  }
4880
4901
  get translationurl() {
4881
4902
  return this.$$.ctx[24];
4882
4903
  }
4883
4904
  set translationurl(t) {
4884
- this.$$set({ translationurl: t }), S();
4905
+ this.$$set({ translationurl: t }), x();
4885
4906
  }
4886
4907
  get categoriesicon() {
4887
4908
  return this.$$.ctx[9];
4888
4909
  }
4889
4910
  set categoriesicon(t) {
4890
- this.$$set({ categoriesicon: t }), S();
4911
+ this.$$set({ categoriesicon: t }), x();
4891
4912
  }
4892
4913
  get lobbyiconimage() {
4893
4914
  return this.$$.ctx[10];
4894
4915
  }
4895
4916
  set lobbyiconimage(t) {
4896
- this.$$set({ lobbyiconimage: t }), S();
4917
+ this.$$set({ lobbyiconimage: t }), x();
4897
4918
  }
4898
4919
  get mygamesiconimage() {
4899
4920
  return this.$$.ctx[11];
4900
4921
  }
4901
4922
  set mygamesiconimage(t) {
4902
- this.$$set({ mygamesiconimage: t }), S();
4923
+ this.$$set({ mygamesiconimage: t }), x();
4903
4924
  }
4904
4925
  get mbsource() {
4905
4926
  return this.$$.ctx[12];
4906
4927
  }
4907
4928
  set mbsource(t) {
4908
- this.$$set({ mbsource: t }), S();
4929
+ this.$$set({ mbsource: t }), x();
4909
4930
  }
4910
4931
  }
4911
- hn(Nr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4912
- const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4932
+ hn(Or, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4933
+ const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4913
4934
  __proto__: null,
4914
- default: Nr
4935
+ default: Or
4915
4936
  }, Symbol.toStringTag, { value: "Module" }));
4916
4937
  export {
4917
4938
  be as $,
4918
- Bs as A,
4919
- Zt as B,
4920
- Os as C,
4921
- Ms as D,
4939
+ ps as A,
4940
+ gs as B,
4941
+ hn as C,
4942
+ Rs as D,
4922
4943
  ln as S,
4923
4944
  de as a,
4924
4945
  Tr as b,
4925
- hn as c,
4926
- zr as d,
4927
- V as e,
4928
- S as f,
4929
- As as g,
4930
- me as h,
4946
+ zr as c,
4947
+ ne as d,
4948
+ fe as e,
4949
+ x as f,
4950
+ ce as g,
4951
+ Zt as h,
4931
4952
  un as i,
4932
- fe as j,
4933
- zt as k,
4953
+ V as j,
4954
+ Ps as k,
4934
4955
  Ns as l,
4935
- ie as m,
4956
+ Is as m,
4936
4957
  I as n,
4937
4958
  Kr as o,
4938
- bs as p,
4939
- ps as q,
4940
- ne as r,
4941
- Xt as s,
4942
- Ls as t,
4943
- Ps as u,
4944
- Cs as v,
4945
- Hs as w,
4946
- je as x,
4947
- ds as y,
4948
- Is as z
4959
+ Os as p,
4960
+ Ve as q,
4961
+ re as r,
4962
+ Wt as s,
4963
+ As as t,
4964
+ Ms as u,
4965
+ Ls as v,
4966
+ Qt as w,
4967
+ Bs as x,
4968
+ Cs as y,
4969
+ bs as z
4949
4970
  };