@everymatrix/casino-categories-slider 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,53 +1,53 @@
1
- function B() {
1
+ function P() {
2
2
  }
3
- function It(e) {
3
+ function Ct(e) {
4
4
  return e();
5
5
  }
6
- function ht() {
6
+ function lt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ne(e) {
10
- e.forEach(It);
9
+ function re(e) {
10
+ e.forEach(Ct);
11
11
  }
12
12
  function Te(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ct(e, t) {
15
+ function Mt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let be;
19
- function hs(e, t) {
20
- return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
18
+ let pe;
19
+ function cs(e, t) {
20
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
- function Pr(e) {
22
+ function Br(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Mt(e, ...t) {
25
+ function Rt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return B;
29
+ return P;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Nr(e, t, r) {
35
- e.$$.on_destroy.push(Mt(t, r));
34
+ function Pr(e, t, r) {
35
+ e.$$.on_destroy.push(Rt(t, r));
36
36
  }
37
- function Or(e) {
38
- return e && Te(e.destroy) ? e.destroy : B;
37
+ function Nr(e) {
38
+ return e && Te(e.destroy) ? e.destroy : P;
39
39
  }
40
- function Rt(e, t) {
40
+ function Gt(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function Lr(e, t, r) {
44
- const n = Ir(e);
43
+ function Or(e, t, r) {
44
+ const n = Lr(e);
45
45
  if (!n.getElementById(t)) {
46
46
  const i = k("style");
47
- i.id = t, i.textContent = r, Cr(n, i);
47
+ i.id = t, i.textContent = r, Ir(n, i);
48
48
  }
49
49
  }
50
- function Ir(e) {
50
+ function Lr(e) {
51
51
  if (!e) return document;
52
52
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
53
53
  return t && /** @type {ShadowRoot} */
@@ -56,53 +56,53 @@ function Ir(e) {
56
56
  t
57
57
  ) : e.ownerDocument;
58
58
  }
59
- function Cr(e, t) {
60
- return Rt(
59
+ function Ir(e, t) {
60
+ return Gt(
61
61
  /** @type {Document} */
62
62
  e.head || e,
63
63
  t
64
64
  ), t.sheet;
65
65
  }
66
- function fe(e, t, r) {
66
+ function ce(e, t, r) {
67
67
  e.insertBefore(t, r || null);
68
68
  }
69
- function ie(e) {
69
+ function ne(e) {
70
70
  e.parentNode && e.parentNode.removeChild(e);
71
71
  }
72
- function ls(e, t) {
72
+ function fs(e, t) {
73
73
  for (let r = 0; r < e.length; r += 1)
74
74
  e[r] && e[r].d(t);
75
75
  }
76
76
  function k(e) {
77
77
  return document.createElement(e);
78
78
  }
79
- function Gt(e) {
79
+ function Ut(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function cs() {
83
- return Gt(" ");
82
+ function ms() {
83
+ return Ut(" ");
84
84
  }
85
- function fs() {
86
- return Gt("");
85
+ function ds() {
86
+ return Ut("");
87
87
  }
88
- function ms(e, t, r, n) {
88
+ function bs(e, t, r, n) {
89
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
90
90
  }
91
- function J(e, t, r) {
91
+ function fe(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
94
  function _(e, t, r) {
95
95
  const n = t.toLowerCase();
96
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : J(e, t, r);
96
+ 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);
97
97
  }
98
- function Mr(e) {
98
+ function Cr(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
- function ds(e, t) {
101
+ function ps(e, t) {
102
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
103
  t);
104
104
  }
105
- function Rr(e) {
105
+ function Mr(e) {
106
106
  const t = {};
107
107
  return e.childNodes.forEach(
108
108
  /** @param {Element} node */
@@ -111,127 +111,127 @@ function Rr(e) {
111
111
  }
112
112
  ), t;
113
113
  }
114
- let he;
115
- function ue(e) {
116
- he = e;
114
+ let ue;
115
+ function ae(e) {
116
+ ue = e;
117
117
  }
118
- function Gr() {
119
- if (!he) throw new Error("Function called outside component initialization");
120
- return he;
118
+ function Rr() {
119
+ if (!ue) throw new Error("Function called outside component initialization");
120
+ return ue;
121
121
  }
122
- function Ur(e) {
123
- Gr().$$.on_mount.push(e);
122
+ function Gr(e) {
123
+ Rr().$$.on_mount.push(e);
124
124
  }
125
- const Q = [], Fe = [];
125
+ const Q = [], $e = [];
126
126
  let Y = [];
127
- const lt = [], Ut = /* @__PURE__ */ Promise.resolve();
128
- let $e = !1;
129
- function Dt() {
130
- $e || ($e = !0, Ut.then(S));
127
+ const ct = [], Dt = /* @__PURE__ */ Promise.resolve();
128
+ let je = !1;
129
+ function Ft() {
130
+ je || (je = !0, Dt.then(S));
131
131
  }
132
- function Dr() {
133
- return Dt(), Ut;
132
+ function Ur() {
133
+ return Ft(), Dt;
134
134
  }
135
- function je(e) {
135
+ function ke(e) {
136
136
  Y.push(e);
137
137
  }
138
- const Ie = /* @__PURE__ */ new Set();
138
+ const Ce = /* @__PURE__ */ new Set();
139
139
  let z = 0;
140
140
  function S() {
141
141
  if (z !== 0)
142
142
  return;
143
- const e = he;
143
+ const e = ue;
144
144
  do {
145
145
  try {
146
146
  for (; z < Q.length; ) {
147
147
  const t = Q[z];
148
- z++, ue(t), Fr(t.$$);
148
+ z++, ae(t), Dr(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw Q.length = 0, z = 0, t;
152
152
  }
153
- for (ue(null), Q.length = 0, z = 0; Fe.length; ) Fe.pop()();
153
+ for (ae(null), Q.length = 0, z = 0; $e.length; ) $e.pop()();
154
154
  for (let t = 0; t < Y.length; t += 1) {
155
155
  const r = Y[t];
156
- Ie.has(r) || (Ie.add(r), r());
156
+ Ce.has(r) || (Ce.add(r), r());
157
157
  }
158
158
  Y.length = 0;
159
159
  } while (Q.length);
160
- for (; lt.length; )
161
- lt.pop()();
162
- $e = !1, Ie.clear(), ue(e);
160
+ for (; ct.length; )
161
+ ct.pop()();
162
+ je = !1, Ce.clear(), ae(e);
163
163
  }
164
- function Fr(e) {
164
+ function Dr(e) {
165
165
  if (e.fragment !== null) {
166
- e.update(), ne(e.before_update);
166
+ e.update(), re(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
169
169
  }
170
170
  }
171
- function $r(e) {
171
+ function Fr(e) {
172
172
  const t = [], r = [];
173
173
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
174
174
  }
175
- const jr = /* @__PURE__ */ new Set();
176
- function Ft(e, t) {
177
- e && e.i && (jr.delete(e), e.i(t));
175
+ const $r = /* @__PURE__ */ new Set();
176
+ function $t(e, t) {
177
+ e && e.i && ($r.delete(e), e.i(t));
178
178
  }
179
- function bs(e) {
179
+ function gs(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function ps(e, t) {
182
+ function ys(e, t) {
183
183
  e.d(1), t.delete(e.key);
184
184
  }
185
- function gs(e, t, r, n, i, s, o, a, h, u, l, m) {
185
+ function vs(e, t, r, n, i, s, o, a, h, u, l, m) {
186
186
  let c = e.length, d = s.length, b = c;
187
187
  const y = {};
188
188
  for (; b--; ) y[e[b].key] = b;
189
- const w = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
189
+ const T = [], C = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = [];
190
190
  for (b = d; b--; ) {
191
- const E = m(i, s, b), L = r(E);
192
- let I = o.get(L);
193
- I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[b] = I), L in y && P.set(L, Math.abs(b - y[L]));
191
+ const E = m(i, s, b), A = r(E);
192
+ let I = o.get(A);
193
+ I ? w.push(() => I.p(E, t)) : (I = u(A, E), I.c()), C.set(A, T[b] = I), A in y && N.set(A, Math.abs(b - y[A]));
194
194
  }
195
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
196
- function R(E) {
197
- Ft(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
195
+ const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
196
+ function M(E) {
197
+ $t(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
198
198
  }
199
199
  for (; c && d; ) {
200
- const E = w[d - 1], L = e[c - 1], I = E.key, M = L.key;
201
- E === L ? (l = E.first, c--, d--) : C.has(M) ? !o.has(I) || N.has(I) ? R(E) : O.has(M) ? c-- : P.get(I) > P.get(M) ? (O.add(I), R(E)) : (N.add(M), c--) : (h(L, o), c--);
200
+ const E = T[d - 1], A = e[c - 1], I = E.key, F = A.key;
201
+ E === A ? (l = E.first, c--, d--) : C.has(F) ? !o.has(I) || O.has(I) ? M(E) : L.has(F) ? c-- : N.get(I) > N.get(F) ? (L.add(I), M(E)) : (O.add(F), c--) : (h(A, o), c--);
202
202
  }
203
203
  for (; c--; ) {
204
204
  const E = e[c];
205
205
  C.has(E.key) || h(E, o);
206
206
  }
207
- for (; d; ) R(w[d - 1]);
208
- return ne(T), w;
207
+ for (; d; ) M(T[d - 1]);
208
+ return re(w), T;
209
209
  }
210
- function kr(e, t, r) {
210
+ function jr(e, t, r) {
211
211
  const { fragment: n, after_update: i } = e.$$;
212
- n && n.m(t, r), je(() => {
213
- const s = e.$$.on_mount.map(It).filter(Te);
214
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
215
- }), i.forEach(je);
212
+ n && n.m(t, r), ke(() => {
213
+ const s = e.$$.on_mount.map(Ct).filter(Te);
214
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
215
+ }), i.forEach(ke);
216
216
  }
217
- function Vr(e, t) {
217
+ function kr(e, t) {
218
218
  const r = e.$$;
219
- r.fragment !== null && ($r(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
+ r.fragment !== null && (Fr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
220
  }
221
- function Xr(e, t) {
222
- e.$$.dirty[0] === -1 && (Q.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
+ function Vr(e, t) {
222
+ e.$$.dirty[0] === -1 && (Q.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
223
223
  }
224
- function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
225
- const h = he;
226
- ue(e);
224
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
225
+ const h = ue;
226
+ ae(e);
227
227
  const u = e.$$ = {
228
228
  fragment: null,
229
229
  ctx: [],
230
230
  // state
231
231
  props: s,
232
- update: B,
232
+ update: P,
233
233
  not_equal: i,
234
- bound: ht(),
234
+ bound: lt(),
235
235
  // lifecycle
236
236
  on_mount: [],
237
237
  on_destroy: [],
@@ -240,7 +240,7 @@ function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
240
240
  after_update: [],
241
241
  context: new Map(t.context || (h ? h.$$.context : [])),
242
242
  // everything else
243
- callbacks: ht(),
243
+ callbacks: lt(),
244
244
  dirty: a,
245
245
  skip_bound: !1,
246
246
  root: t.target || h.$$.root
@@ -249,19 +249,19 @@ function Wr(e, t, r, n, i, s, o = null, a = [-1]) {
249
249
  let l = !1;
250
250
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
251
251
  const b = d.length ? d[0] : c;
252
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Xr(e, m)), c;
253
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
252
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
253
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
254
254
  if (t.hydrate) {
255
- const m = Mr(t.target);
256
- u.fragment && u.fragment.l(m), m.forEach(ie);
255
+ const m = Cr(t.target);
256
+ u.fragment && u.fragment.l(m), m.forEach(ne);
257
257
  } else
258
258
  u.fragment && u.fragment.c();
259
- t.intro && Ft(e.$$.fragment), kr(e, t.target, t.anchor), S();
259
+ t.intro && $t(e.$$.fragment), jr(e, t.target, t.anchor), S();
260
260
  }
261
- ue(h);
261
+ ae(h);
262
262
  }
263
- let $t;
264
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
263
+ let jt;
264
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
265
265
  /** The Svelte component constructor */
266
266
  $$ctor;
267
267
  /** Slots */
@@ -303,29 +303,29 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
303
303
  let s;
304
304
  return {
305
305
  c: function() {
306
- s = k("slot"), i !== "default" && J(s, "name", i);
306
+ s = k("slot"), i !== "default" && fe(s, "name", i);
307
307
  },
308
308
  /**
309
309
  * @param {HTMLElement} target
310
310
  * @param {HTMLElement} [anchor]
311
311
  */
312
312
  m: function(h, u) {
313
- fe(h, s, u);
313
+ ce(h, s, u);
314
314
  },
315
315
  d: function(h) {
316
- h && ie(s);
316
+ h && ne(s);
317
317
  }
318
318
  };
319
319
  };
320
320
  };
321
321
  if (await Promise.resolve(), !this.$$cn || this.$$c)
322
322
  return;
323
- const t = {}, r = Rr(this);
323
+ const t = {}, r = Mr(this);
324
324
  for (const i of this.$$s)
325
325
  i in r && (t[i] = [e(i)]);
326
326
  for (const i of this.attributes) {
327
327
  const s = this.$$g_p(i.name);
328
- s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
328
+ s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
329
329
  }
330
330
  for (const i in this.$$p_d)
331
331
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -343,7 +343,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
343
343
  this.$$r = !0;
344
344
  for (const i in this.$$p_d)
345
345
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
346
- const s = ye(
346
+ const s = ve(
347
347
  i,
348
348
  this.$$d[i],
349
349
  this.$$p_d,
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
365
365
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
366
366
  // and setting attributes through setAttribute etc, this is helpful
367
367
  attributeChangedCallback(e, t, r) {
368
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
368
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
369
369
  }
370
370
  disconnectedCallback() {
371
371
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
378
378
  ) || e;
379
379
  }
380
380
  });
381
- function ye(e, t, r, n) {
381
+ function ve(e, t, r, n) {
382
382
  const i = r[e]?.type;
383
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
384
384
  return t;
@@ -407,8 +407,8 @@ function ye(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function zr(e, t, r, n, i, s) {
411
- let o = class extends $t {
410
+ function Wr(e, t, r, n, i, s) {
411
+ let o = class extends jt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -424,7 +424,7 @@ function zr(e, t, r, n, i, s) {
424
424
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
425
425
  },
426
426
  set(h) {
427
- h = ye(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
427
+ h = ve(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
428
428
  }
429
429
  });
430
430
  }), n.forEach((a) => {
@@ -436,7 +436,7 @@ function zr(e, t, r, n, i, s) {
436
436
  }), e.element = /** @type {any} */
437
437
  o, o;
438
438
  }
439
- class Zr {
439
+ class zr {
440
440
  /**
441
441
  * ### PRIVATE API
442
442
  *
@@ -455,7 +455,7 @@ class Zr {
455
455
  $$set = void 0;
456
456
  /** @returns {void} */
457
457
  $destroy() {
458
- Vr(this, 1), this.$destroy = B;
458
+ kr(this, 1), this.$destroy = P;
459
459
  }
460
460
  /**
461
461
  * @template {Extract<keyof Events, string>} K
@@ -465,7 +465,7 @@ class Zr {
465
465
  */
466
466
  $on(t, r) {
467
467
  if (!Te(r))
468
- return B;
468
+ return P;
469
469
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
470
470
  return n.push(r), () => {
471
471
  const i = n.indexOf(r);
@@ -477,22 +477,22 @@ class Zr {
477
477
  * @returns {void}
478
478
  */
479
479
  $set(t) {
480
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
481
  }
482
482
  }
483
- const Qr = "4";
484
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
485
- var ke = function(e, t) {
486
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
483
+ const Zr = "4";
484
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
485
+ var Ve = function(e, t) {
486
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
487
487
  r.__proto__ = n;
488
488
  } || function(r, n) {
489
489
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
490
- }, ke(e, t);
490
+ }, Ve(e, t);
491
491
  };
492
492
  function U(e, t) {
493
493
  if (typeof t != "function" && t !== null)
494
494
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
495
- ke(e, t);
495
+ Ve(e, t);
496
496
  function r() {
497
497
  this.constructor = e;
498
498
  }
@@ -507,7 +507,7 @@ var v = function() {
507
507
  return t;
508
508
  }, v.apply(this, arguments);
509
509
  };
510
- function Yr(e, t) {
510
+ function Qr(e, t) {
511
511
  var r = {};
512
512
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
513
513
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -515,7 +515,7 @@ function Yr(e, t) {
515
515
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
516
516
  return r;
517
517
  }
518
- function Ve(e) {
518
+ function Xe(e) {
519
519
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
520
520
  if (r) return r.call(e);
521
521
  if (e && typeof e.length == "number") return {
@@ -525,7 +525,7 @@ function Ve(e) {
525
525
  };
526
526
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
527
527
  }
528
- function Xe(e, t) {
528
+ function We(e, t) {
529
529
  var r = typeof Symbol == "function" && e[Symbol.iterator];
530
530
  if (!r) return e;
531
531
  var n = r.call(e), i, s = [], o;
@@ -550,13 +550,13 @@ function q(e, t, r) {
550
550
  function G(e) {
551
551
  return typeof e == "function";
552
552
  }
553
- function jt(e) {
553
+ function kt(e) {
554
554
  var t = function(n) {
555
555
  Error.call(n), n.stack = new Error().stack;
556
556
  }, r = e(t);
557
557
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
558
558
  }
559
- var Ce = jt(function(e) {
559
+ var Me = kt(function(e) {
560
560
  return function(r) {
561
561
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
562
562
  ` + r.map(function(n, i) {
@@ -565,13 +565,13 @@ var Ce = jt(function(e) {
565
565
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
566
566
  };
567
567
  });
568
- function We(e, t) {
568
+ function ze(e, t) {
569
569
  if (e) {
570
570
  var r = e.indexOf(t);
571
571
  0 <= r && e.splice(r, 1);
572
572
  }
573
573
  }
574
- var we = function() {
574
+ var He = function() {
575
575
  function e(t) {
576
576
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
577
577
  }
@@ -583,7 +583,7 @@ var we = function() {
583
583
  if (o)
584
584
  if (this._parentage = null, Array.isArray(o))
585
585
  try {
586
- for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
586
+ for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
587
587
  var u = h.value;
588
588
  u.remove(this);
589
589
  }
@@ -603,18 +603,18 @@ var we = function() {
603
603
  try {
604
604
  l();
605
605
  } catch (y) {
606
- s = y instanceof Ce ? y.errors : [y];
606
+ s = y instanceof Me ? y.errors : [y];
607
607
  }
608
608
  var m = this._finalizers;
609
609
  if (m) {
610
610
  this._finalizers = null;
611
611
  try {
612
- for (var c = Ve(m), d = c.next(); !d.done; d = c.next()) {
612
+ for (var c = Xe(m), d = c.next(); !d.done; d = c.next()) {
613
613
  var b = d.value;
614
614
  try {
615
- ct(b);
615
+ ft(b);
616
616
  } catch (y) {
617
- s = s ?? [], y instanceof Ce ? s = q(q([], Xe(s)), Xe(y.errors)) : s.push(y);
617
+ s = s ?? [], y instanceof Me ? s = q(q([], We(s)), We(y.errors)) : s.push(y);
618
618
  }
619
619
  }
620
620
  } catch (y) {
@@ -628,13 +628,13 @@ var we = function() {
628
628
  }
629
629
  }
630
630
  if (s)
631
- throw new Ce(s);
631
+ throw new Me(s);
632
632
  }
633
633
  }, e.prototype.add = function(t) {
634
634
  var r;
635
635
  if (t && t !== this)
636
636
  if (this.closed)
637
- ct(t);
637
+ ft(t);
638
638
  else {
639
639
  if (t instanceof e) {
640
640
  if (t.closed || t._hasParent(this))
@@ -651,52 +651,52 @@ var we = function() {
651
651
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
652
652
  }, e.prototype._removeParent = function(t) {
653
653
  var r = this._parentage;
654
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
654
+ r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
655
655
  }, e.prototype.remove = function(t) {
656
656
  var r = this._finalizers;
657
- r && We(r, t), t instanceof e && t._removeParent(this);
657
+ r && ze(r, t), t instanceof e && t._removeParent(this);
658
658
  }, e.EMPTY = function() {
659
659
  var t = new e();
660
660
  return t.closed = !0, t;
661
661
  }(), e;
662
- }(), kt = we.EMPTY;
663
- function Vt(e) {
664
- return e instanceof we || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
662
+ }(), Vt = He.EMPTY;
663
+ function Xt(e) {
664
+ return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
665
665
  }
666
- function ct(e) {
666
+ function ft(e) {
667
667
  G(e) ? e() : e.unsubscribe();
668
668
  }
669
- var qr = {
669
+ var Yr = {
670
670
  Promise: void 0
671
- }, Jr = {
671
+ }, qr = {
672
672
  setTimeout: function(e, t) {
673
673
  for (var r = [], n = 2; n < arguments.length; n++)
674
674
  r[n - 2] = arguments[n];
675
- return setTimeout.apply(void 0, q([e, t], Xe(r)));
675
+ return setTimeout.apply(void 0, q([e, t], We(r)));
676
676
  },
677
677
  clearTimeout: function(e) {
678
678
  return clearTimeout(e);
679
679
  },
680
680
  delegate: void 0
681
681
  };
682
- function Kr(e) {
683
- Jr.setTimeout(function() {
682
+ function Jr(e) {
683
+ qr.setTimeout(function() {
684
684
  throw e;
685
685
  });
686
686
  }
687
- function ft() {
687
+ function mt() {
688
688
  }
689
- function ve(e) {
689
+ function _e(e) {
690
690
  e();
691
691
  }
692
- var Xt = function(e) {
692
+ var Wt = function(e) {
693
693
  U(t, e);
694
694
  function t(r) {
695
695
  var n = e.call(this) || this;
696
- return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = rn, n;
696
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = tn, n;
697
697
  }
698
698
  return t.create = function(r, n, i) {
699
- return new ze(r, n, i);
699
+ return new Ze(r, n, i);
700
700
  }, t.prototype.next = function(r) {
701
701
  this.isStopped || this._next(r);
702
702
  }, t.prototype.error = function(r) {
@@ -720,7 +720,7 @@ var Xt = function(e) {
720
720
  this.unsubscribe();
721
721
  }
722
722
  }, t;
723
- }(we), en = function() {
723
+ }(He), Kr = function() {
724
724
  function e(t) {
725
725
  this.partialObserver = t;
726
726
  }
@@ -730,7 +730,7 @@ var Xt = function(e) {
730
730
  try {
731
731
  r.next(t);
732
732
  } catch (n) {
733
- pe(n);
733
+ ge(n);
734
734
  }
735
735
  }, e.prototype.error = function(t) {
736
736
  var r = this.partialObserver;
@@ -738,20 +738,20 @@ var Xt = function(e) {
738
738
  try {
739
739
  r.error(t);
740
740
  } catch (n) {
741
- pe(n);
741
+ ge(n);
742
742
  }
743
743
  else
744
- pe(t);
744
+ ge(t);
745
745
  }, e.prototype.complete = function() {
746
746
  var t = this.partialObserver;
747
747
  if (t.complete)
748
748
  try {
749
749
  t.complete();
750
750
  } catch (r) {
751
- pe(r);
751
+ ge(r);
752
752
  }
753
753
  }, e;
754
- }(), ze = function(e) {
754
+ }(), Ze = function(e) {
755
755
  U(t, e);
756
756
  function t(r, n, i) {
757
757
  var s = e.call(this) || this, o;
@@ -759,35 +759,35 @@ var Xt = function(e) {
759
759
  next: r ?? void 0,
760
760
  error: n ?? void 0,
761
761
  complete: i ?? void 0
762
- } : o = r, s.destination = new en(o), s;
762
+ } : o = r, s.destination = new Kr(o), s;
763
763
  }
764
764
  return t;
765
- }(Xt);
766
- function pe(e) {
767
- Kr(e);
765
+ }(Wt);
766
+ function ge(e) {
767
+ Jr(e);
768
768
  }
769
- function tn(e) {
769
+ function en(e) {
770
770
  throw e;
771
771
  }
772
- var rn = {
772
+ var tn = {
773
773
  closed: !0,
774
- next: ft,
775
- error: tn,
776
- complete: ft
777
- }, nn = function() {
774
+ next: mt,
775
+ error: en,
776
+ complete: mt
777
+ }, rn = function() {
778
778
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
779
779
  }();
780
- function sn(e) {
780
+ function nn(e) {
781
781
  return e;
782
782
  }
783
- function on(e) {
784
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
783
+ function sn(e) {
784
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
785
785
  return e.reduce(function(n, i) {
786
786
  return i(n);
787
787
  }, r);
788
788
  };
789
789
  }
790
- var mt = function() {
790
+ var dt = function() {
791
791
  function e(t) {
792
792
  t && (this._subscribe = t);
793
793
  }
@@ -795,8 +795,8 @@ var mt = function() {
795
795
  var r = new e();
796
796
  return r.source = this, r.operator = t, r;
797
797
  }, e.prototype.subscribe = function(t, r, n) {
798
- var i = this, s = un(t) ? t : new ze(t, r, n);
799
- return ve(function() {
798
+ var i = this, s = an(t) ? t : new Ze(t, r, n);
799
+ return _e(function() {
800
800
  var o = i, a = o.operator, h = o.source;
801
801
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
802
802
  }), s;
@@ -808,8 +808,8 @@ var mt = function() {
808
808
  }
809
809
  }, e.prototype.forEach = function(t, r) {
810
810
  var n = this;
811
- return r = dt(r), new r(function(i, s) {
812
- var o = new ze({
811
+ return r = bt(r), new r(function(i, s) {
812
+ var o = new Ze({
813
813
  next: function(a) {
814
814
  try {
815
815
  t(a);
@@ -825,15 +825,15 @@ var mt = function() {
825
825
  }, e.prototype._subscribe = function(t) {
826
826
  var r;
827
827
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
828
- }, e.prototype[nn] = function() {
828
+ }, e.prototype[rn] = function() {
829
829
  return this;
830
830
  }, e.prototype.pipe = function() {
831
831
  for (var t = [], r = 0; r < arguments.length; r++)
832
832
  t[r] = arguments[r];
833
- return on(t)(this);
833
+ return sn(t)(this);
834
834
  }, e.prototype.toPromise = function(t) {
835
835
  var r = this;
836
- return t = dt(t), new t(function(n, i) {
836
+ return t = bt(t), new t(function(n, i) {
837
837
  var s;
838
838
  r.subscribe(function(o) {
839
839
  return s = o;
@@ -847,40 +847,40 @@ var mt = function() {
847
847
  return new e(t);
848
848
  }, e;
849
849
  }();
850
- function dt(e) {
850
+ function bt(e) {
851
851
  var t;
852
- return (t = e ?? qr.Promise) !== null && t !== void 0 ? t : Promise;
852
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
853
853
  }
854
- function an(e) {
854
+ function on(e) {
855
855
  return e && G(e.next) && G(e.error) && G(e.complete);
856
856
  }
857
- function un(e) {
858
- return e && e instanceof Xt || an(e) && Vt(e);
857
+ function an(e) {
858
+ return e && e instanceof Wt || on(e) && Xt(e);
859
859
  }
860
- var hn = jt(function(e) {
860
+ var un = kt(function(e) {
861
861
  return function() {
862
862
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
863
863
  };
864
- }), Wt = function(e) {
864
+ }), zt = function(e) {
865
865
  U(t, e);
866
866
  function t() {
867
867
  var r = e.call(this) || this;
868
868
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
869
869
  }
870
870
  return t.prototype.lift = function(r) {
871
- var n = new bt(this, this);
871
+ var n = new pt(this, this);
872
872
  return n.operator = r, n;
873
873
  }, t.prototype._throwIfClosed = function() {
874
874
  if (this.closed)
875
- throw new hn();
875
+ throw new un();
876
876
  }, t.prototype.next = function(r) {
877
877
  var n = this;
878
- ve(function() {
878
+ _e(function() {
879
879
  var i, s;
880
880
  if (n._throwIfClosed(), !n.isStopped) {
881
881
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
882
882
  try {
883
- for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
883
+ for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
884
884
  var h = a.value;
885
885
  h.next(r);
886
886
  }
@@ -897,7 +897,7 @@ var hn = jt(function(e) {
897
897
  });
898
898
  }, t.prototype.error = function(r) {
899
899
  var n = this;
900
- ve(function() {
900
+ _e(function() {
901
901
  if (n._throwIfClosed(), !n.isStopped) {
902
902
  n.hasError = n.isStopped = !0, n.thrownError = r;
903
903
  for (var i = n.observers; i.length; )
@@ -906,7 +906,7 @@ var hn = jt(function(e) {
906
906
  });
907
907
  }, t.prototype.complete = function() {
908
908
  var r = this;
909
- ve(function() {
909
+ _e(function() {
910
910
  if (r._throwIfClosed(), !r.isStopped) {
911
911
  r.isStopped = !0;
912
912
  for (var n = r.observers; n.length; )
@@ -928,19 +928,19 @@ var hn = jt(function(e) {
928
928
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
929
929
  }, t.prototype._innerSubscribe = function(r) {
930
930
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
931
- return s || o ? kt : (this.currentObservers = null, a.push(r), new we(function() {
932
- n.currentObservers = null, We(a, r);
931
+ return s || o ? Vt : (this.currentObservers = null, a.push(r), new He(function() {
932
+ n.currentObservers = null, ze(a, r);
933
933
  }));
934
934
  }, t.prototype._checkFinalizedStatuses = function(r) {
935
935
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
936
936
  i ? r.error(s) : o && r.complete();
937
937
  }, t.prototype.asObservable = function() {
938
- var r = new mt();
938
+ var r = new dt();
939
939
  return r.source = this, r;
940
940
  }, t.create = function(r, n) {
941
- return new bt(r, n);
941
+ return new pt(r, n);
942
942
  }, t;
943
- }(mt), bt = function(e) {
943
+ }(dt), pt = function(e) {
944
944
  U(t, e);
945
945
  function t(r, n) {
946
946
  var i = e.call(this) || this;
@@ -957,17 +957,17 @@ var hn = jt(function(e) {
957
957
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
958
958
  }, t.prototype._subscribe = function(r) {
959
959
  var n, i;
960
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : kt;
960
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
961
961
  }, t;
962
- }(Wt), zt = {
962
+ }(zt), Zt = {
963
963
  now: function() {
964
- return (zt.delegate || Date).now();
964
+ return (Zt.delegate || Date).now();
965
965
  },
966
966
  delegate: void 0
967
- }, ln = function(e) {
967
+ }, hn = function(e) {
968
968
  U(t, e);
969
969
  function t(r, n, i) {
970
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
970
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
971
971
  var s = e.call(this) || this;
972
972
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
973
973
  }
@@ -987,24 +987,24 @@ var hn = jt(function(e) {
987
987
  u && s.splice(0, u + 1);
988
988
  }
989
989
  }, t;
990
- }(Wt);
991
- const pt = [], gt = {}, cn = (e, t = 0) => {
992
- if (pt.indexOf(e) == -1) {
993
- const r = new ln(t);
994
- gt[e] = r, pt.push(e);
990
+ }(zt);
991
+ const gt = [], yt = {}, ln = (e, t = 0) => {
992
+ if (gt.indexOf(e) == -1) {
993
+ const r = new hn(t);
994
+ yt[e] = r, gt.push(e);
995
995
  }
996
- return gt[e];
996
+ return yt[e];
997
997
  }, Z = [];
998
- function fn(e, t) {
998
+ function cn(e, t) {
999
999
  return {
1000
- subscribe: He(e, t).subscribe
1000
+ subscribe: Ae(e, t).subscribe
1001
1001
  };
1002
1002
  }
1003
- function He(e, t = B) {
1003
+ function Ae(e, t = P) {
1004
1004
  let r;
1005
1005
  const n = /* @__PURE__ */ new Set();
1006
1006
  function i(a) {
1007
- if (Ct(e, a) && (e = a, r)) {
1007
+ if (Mt(e, a) && (e = a, r)) {
1008
1008
  const h = !Z.length;
1009
1009
  for (const u of n)
1010
1010
  u[1](), Z.push(u, e);
@@ -1018,34 +1018,34 @@ function He(e, t = B) {
1018
1018
  function s(a) {
1019
1019
  i(a(e));
1020
1020
  }
1021
- function o(a, h = B) {
1021
+ function o(a, h = P) {
1022
1022
  const u = [a, h];
1023
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
1023
+ return n.add(u), n.size === 1 && (r = t(i, s) || P), a(e), () => {
1024
1024
  n.delete(u), n.size === 0 && r && (r(), r = null);
1025
1025
  };
1026
1026
  }
1027
1027
  return { set: i, update: s, subscribe: o };
1028
1028
  }
1029
- function se(e, t, r) {
1029
+ function ie(e, t, r) {
1030
1030
  const n = !Array.isArray(e), i = n ? [e] : e;
1031
1031
  if (!i.every(Boolean))
1032
1032
  throw new Error("derived() expects stores as input, got a falsy value");
1033
1033
  const s = t.length < 2;
1034
- return fn(r, (o, a) => {
1034
+ return cn(r, (o, a) => {
1035
1035
  let h = !1;
1036
1036
  const u = [];
1037
- let l = 0, m = B;
1037
+ let l = 0, m = P;
1038
1038
  const c = () => {
1039
1039
  if (l)
1040
1040
  return;
1041
1041
  m();
1042
1042
  const b = t(n ? u[0] : u, o, a);
1043
- s ? o(b) : m = Te(b) ? b : B;
1043
+ s ? o(b) : m = Te(b) ? b : P;
1044
1044
  }, d = i.map(
1045
- (b, y) => Mt(
1045
+ (b, y) => Rt(
1046
1046
  b,
1047
- (w) => {
1048
- u[y] = w, l &= ~(1 << y), h && c();
1047
+ (T) => {
1048
+ u[y] = T, l &= ~(1 << y), h && c();
1049
1049
  },
1050
1050
  () => {
1051
1051
  l |= 1 << y;
@@ -1053,115 +1053,115 @@ function se(e, t, r) {
1053
1053
  )
1054
1054
  );
1055
1055
  return h = !0, c(), function() {
1056
- ne(d), m(), h = !1;
1056
+ re(d), m(), h = !1;
1057
1057
  };
1058
1058
  });
1059
1059
  }
1060
- function mn(e) {
1060
+ function fn(e) {
1061
1061
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1062
1062
  }
1063
- var dn = function(t) {
1064
- return bn(t) && !pn(t);
1063
+ var mn = function(t) {
1064
+ return dn(t) && !bn(t);
1065
1065
  };
1066
- function bn(e) {
1066
+ function dn(e) {
1067
1067
  return !!e && typeof e == "object";
1068
1068
  }
1069
- function pn(e) {
1069
+ function bn(e) {
1070
1070
  var t = Object.prototype.toString.call(e);
1071
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1071
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1072
1072
  }
1073
- var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
1074
- function vn(e) {
1075
- return e.$$typeof === yn;
1073
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
1074
+ function yn(e) {
1075
+ return e.$$typeof === gn;
1076
1076
  }
1077
- function _n(e) {
1077
+ function vn(e) {
1078
1078
  return Array.isArray(e) ? [] : {};
1079
1079
  }
1080
- function le(e, t) {
1081
- return t.clone !== !1 && t.isMergeableObject(e) ? K(_n(e), e, t) : e;
1080
+ function he(e, t) {
1081
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
1082
1082
  }
1083
- function En(e, t, r) {
1083
+ function _n(e, t, r) {
1084
1084
  return e.concat(t).map(function(n) {
1085
- return le(n, r);
1085
+ return he(n, r);
1086
1086
  });
1087
1087
  }
1088
- function xn(e, t) {
1088
+ function En(e, t) {
1089
1089
  if (!t.customMerge)
1090
- return K;
1090
+ return J;
1091
1091
  var r = t.customMerge(e);
1092
- return typeof r == "function" ? r : K;
1092
+ return typeof r == "function" ? r : J;
1093
1093
  }
1094
- function Sn(e) {
1094
+ function xn(e) {
1095
1095
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1096
1096
  return Object.propertyIsEnumerable.call(e, t);
1097
1097
  }) : [];
1098
1098
  }
1099
- function yt(e) {
1100
- return Object.keys(e).concat(Sn(e));
1099
+ function vt(e) {
1100
+ return Object.keys(e).concat(xn(e));
1101
1101
  }
1102
- function Zt(e, t) {
1102
+ function Qt(e, t) {
1103
1103
  try {
1104
1104
  return t in e;
1105
1105
  } catch {
1106
1106
  return !1;
1107
1107
  }
1108
1108
  }
1109
- function Tn(e, t) {
1110
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1109
+ function Sn(e, t) {
1110
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1111
1111
  }
1112
1112
  function wn(e, t, r) {
1113
1113
  var n = {};
1114
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1115
- n[i] = le(e[i], r);
1116
- }), yt(t).forEach(function(i) {
1117
- Tn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1114
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1115
+ n[i] = he(e[i], r);
1116
+ }), vt(t).forEach(function(i) {
1117
+ Sn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1118
1118
  }), n;
1119
1119
  }
1120
- function K(e, t, r) {
1121
- r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = le;
1120
+ function J(e, t, r) {
1121
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = he;
1122
1122
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1123
- return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : le(t, r);
1123
+ return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : he(t, r);
1124
1124
  }
1125
- K.all = function(t, r) {
1125
+ J.all = function(t, r) {
1126
1126
  if (!Array.isArray(t))
1127
1127
  throw new Error("first argument should be an array");
1128
1128
  return t.reduce(function(n, i) {
1129
- return K(n, i, r);
1129
+ return J(n, i, r);
1130
1130
  }, {});
1131
1131
  };
1132
- var Hn = K, An = Hn;
1133
- const Bn = /* @__PURE__ */ mn(An);
1134
- function Me(e, t) {
1135
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : On;
1132
+ var Tn = J, Hn = Tn;
1133
+ const An = /* @__PURE__ */ fn(Hn);
1134
+ function Re(e, t) {
1135
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Nn;
1136
1136
  return i(e, {
1137
1137
  cache: r,
1138
1138
  serializer: n
1139
1139
  });
1140
1140
  }
1141
- function Pn(e) {
1141
+ function Bn(e) {
1142
1142
  return e == null || typeof e == "number" || typeof e == "boolean";
1143
1143
  }
1144
- function Nn(e, t, r, n) {
1145
- var i = Pn(n) ? n : r(n), s = t.get(i);
1144
+ function Pn(e, t, r, n) {
1145
+ var i = Bn(n) ? n : r(n), s = t.get(i);
1146
1146
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1147
1147
  }
1148
- function Qt(e, t, r) {
1148
+ function Yt(e, t, r) {
1149
1149
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1150
1150
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1151
1151
  }
1152
- function Yt(e, t, r, n, i) {
1152
+ function qt(e, t, r, n, i) {
1153
1153
  return r.bind(t, e, n, i);
1154
1154
  }
1155
- function On(e, t) {
1156
- var r = e.length === 1 ? Nn : Qt;
1157
- return Yt(e, this, r, t.cache.create(), t.serializer);
1155
+ function Nn(e, t) {
1156
+ var r = e.length === 1 ? Pn : Yt;
1157
+ return qt(e, this, r, t.cache.create(), t.serializer);
1158
1158
  }
1159
- function Ln(e, t) {
1160
- return Yt(e, this, Qt, t.cache.create(), t.serializer);
1159
+ function On(e, t) {
1160
+ return qt(e, this, Yt, t.cache.create(), t.serializer);
1161
1161
  }
1162
- var In = function() {
1162
+ var Ln = function() {
1163
1163
  return JSON.stringify(arguments);
1164
- }, Cn = (
1164
+ }, In = (
1165
1165
  /** @class */
1166
1166
  function() {
1167
1167
  function e() {
@@ -1173,12 +1173,12 @@ var In = function() {
1173
1173
  this.cache[t] = r;
1174
1174
  }, e;
1175
1175
  }()
1176
- ), Mn = {
1176
+ ), Cn = {
1177
1177
  create: function() {
1178
- return new Cn();
1178
+ return new In();
1179
1179
  }
1180
- }, Re = {
1181
- variadic: Ln
1180
+ }, Ge = {
1181
+ variadic: On
1182
1182
  }, p;
1183
1183
  (function(e) {
1184
1184
  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";
@@ -1187,47 +1187,47 @@ var x;
1187
1187
  (function(e) {
1188
1188
  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";
1189
1189
  })(x || (x = {}));
1190
- var ee;
1190
+ var K;
1191
1191
  (function(e) {
1192
1192
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1193
- })(ee || (ee = {}));
1194
- function vt(e) {
1193
+ })(K || (K = {}));
1194
+ function _t(e) {
1195
1195
  return e.type === x.literal;
1196
1196
  }
1197
- function Rn(e) {
1197
+ function Mn(e) {
1198
1198
  return e.type === x.argument;
1199
1199
  }
1200
- function qt(e) {
1200
+ function Jt(e) {
1201
1201
  return e.type === x.number;
1202
1202
  }
1203
- function Jt(e) {
1203
+ function Kt(e) {
1204
1204
  return e.type === x.date;
1205
1205
  }
1206
- function Kt(e) {
1206
+ function er(e) {
1207
1207
  return e.type === x.time;
1208
1208
  }
1209
- function er(e) {
1209
+ function tr(e) {
1210
1210
  return e.type === x.select;
1211
1211
  }
1212
- function tr(e) {
1212
+ function rr(e) {
1213
1213
  return e.type === x.plural;
1214
1214
  }
1215
- function Gn(e) {
1215
+ function Rn(e) {
1216
1216
  return e.type === x.pound;
1217
1217
  }
1218
- function rr(e) {
1218
+ function nr(e) {
1219
1219
  return e.type === x.tag;
1220
1220
  }
1221
- function nr(e) {
1222
- return !!(e && typeof e == "object" && e.type === ee.number);
1221
+ function ir(e) {
1222
+ return !!(e && typeof e == "object" && e.type === K.number);
1223
1223
  }
1224
- function Ze(e) {
1225
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1224
+ function Qe(e) {
1225
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1226
1226
  }
1227
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1228
- function Dn(e) {
1227
+ var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1228
+ function Un(e) {
1229
1229
  var t = {};
1230
- return e.replace(Un, function(r) {
1230
+ return e.replace(Gn, function(r) {
1231
1231
  var n = r.length;
1232
1232
  switch (r[0]) {
1233
1233
  case "G":
@@ -1316,11 +1316,11 @@ function Dn(e) {
1316
1316
  return "";
1317
1317
  }), t;
1318
1318
  }
1319
- var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1320
- function $n(e) {
1319
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1320
+ function Fn(e) {
1321
1321
  if (e.length === 0)
1322
1322
  throw new Error("Number skeleton cannot be empty");
1323
- for (var t = e.split(Fn).filter(function(c) {
1323
+ for (var t = e.split(Dn).filter(function(c) {
1324
1324
  return c.length > 0;
1325
1325
  }), r = [], n = 0, i = t; n < i.length; n++) {
1326
1326
  var s = i[n], o = s.split("/");
@@ -1335,17 +1335,17 @@ function $n(e) {
1335
1335
  }
1336
1336
  return r;
1337
1337
  }
1338
- function jn(e) {
1338
+ function $n(e) {
1339
1339
  return e.replace(/^(.*?)-/, "");
1340
1340
  }
1341
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1342
- function Et(e) {
1341
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1342
+ function xt(e) {
1343
1343
  var t = {};
1344
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1344
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1345
1345
  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)), "";
1346
1346
  }), t;
1347
1347
  }
1348
- function ar(e) {
1348
+ function ur(e) {
1349
1349
  switch (e) {
1350
1350
  case "sign-auto":
1351
1351
  return {
@@ -1385,7 +1385,7 @@ function ar(e) {
1385
1385
  };
1386
1386
  }
1387
1387
  }
1388
- function Vn(e) {
1388
+ function kn(e) {
1389
1389
  var t;
1390
1390
  if (e[0] === "E" && e[1] === "E" ? (t = {
1391
1391
  notation: "engineering"
@@ -1393,17 +1393,17 @@ function Vn(e) {
1393
1393
  notation: "scientific"
1394
1394
  }, e = e.slice(1)), t) {
1395
1395
  var r = e.slice(0, 2);
1396
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1396
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1397
1397
  throw new Error("Malformed concise eng/scientific notation");
1398
1398
  t.minimumIntegerDigits = e.length;
1399
1399
  }
1400
1400
  return t;
1401
1401
  }
1402
- function xt(e) {
1403
- var t = {}, r = ar(e);
1402
+ function St(e) {
1403
+ var t = {}, r = ur(e);
1404
1404
  return r || t;
1405
1405
  }
1406
- function Xn(e) {
1406
+ function Vn(e) {
1407
1407
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1408
1408
  var i = n[r];
1409
1409
  switch (i.stem) {
@@ -1427,7 +1427,7 @@ function Xn(e) {
1427
1427
  continue;
1428
1428
  case "measure-unit":
1429
1429
  case "unit":
1430
- t.style = "unit", t.unit = jn(i.options[0]);
1430
+ t.style = "unit", t.unit = $n(i.options[0]);
1431
1431
  continue;
1432
1432
  case "compact-short":
1433
1433
  case "K":
@@ -1439,12 +1439,12 @@ function Xn(e) {
1439
1439
  continue;
1440
1440
  case "scientific":
1441
1441
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1442
- return v(v({}, h), xt(u));
1442
+ return v(v({}, h), St(u));
1443
1443
  }, {}));
1444
1444
  continue;
1445
1445
  case "engineering":
1446
1446
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1447
- return v(v({}, h), xt(u));
1447
+ return v(v({}, h), St(u));
1448
1448
  }, {}));
1449
1449
  continue;
1450
1450
  case "notation-simple":
@@ -1489,7 +1489,7 @@ function Xn(e) {
1489
1489
  case "integer-width":
1490
1490
  if (i.options.length > 1)
1491
1491
  throw new RangeError("integer-width stems only accept a single optional option");
1492
- i.options[0].replace(kn, function(h, u, l, m, c, d) {
1492
+ i.options[0].replace(jn, function(h, u, l, m, c, d) {
1493
1493
  if (u)
1494
1494
  t.minimumIntegerDigits = l.length;
1495
1495
  else {
@@ -1502,32 +1502,32 @@ function Xn(e) {
1502
1502
  });
1503
1503
  continue;
1504
1504
  }
1505
- if (or.test(i.stem)) {
1505
+ if (ar.test(i.stem)) {
1506
1506
  t.minimumIntegerDigits = i.stem.length;
1507
1507
  continue;
1508
1508
  }
1509
- if (_t.test(i.stem)) {
1509
+ if (Et.test(i.stem)) {
1510
1510
  if (i.options.length > 1)
1511
1511
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1512
- i.stem.replace(_t, function(h, u, l, m, c, d) {
1512
+ i.stem.replace(Et, function(h, u, l, m, c, d) {
1513
1513
  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), "";
1514
1514
  });
1515
1515
  var s = i.options[0];
1516
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Et(s)));
1516
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), xt(s)));
1517
1517
  continue;
1518
1518
  }
1519
- if (sr.test(i.stem)) {
1520
- t = v(v({}, t), Et(i.stem));
1519
+ if (or.test(i.stem)) {
1520
+ t = v(v({}, t), xt(i.stem));
1521
1521
  continue;
1522
1522
  }
1523
- var o = ar(i.stem);
1523
+ var o = ur(i.stem);
1524
1524
  o && (t = v(v({}, t), o));
1525
- var a = Vn(i.stem);
1525
+ var a = kn(i.stem);
1526
1526
  a && (t = v(v({}, t), a));
1527
1527
  }
1528
1528
  return t;
1529
1529
  }
1530
- var ge = {
1530
+ var ye = {
1531
1531
  "001": [
1532
1532
  "H",
1533
1533
  "h"
@@ -2942,13 +2942,13 @@ var ge = {
2942
2942
  "h"
2943
2943
  ]
2944
2944
  };
2945
- function Wn(e, t) {
2945
+ function Xn(e, t) {
2946
2946
  for (var r = "", n = 0; n < e.length; n++) {
2947
2947
  var i = e.charAt(n);
2948
2948
  if (i === "j") {
2949
2949
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2950
2950
  s++, n++;
2951
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = zn(t);
2951
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
2952
2952
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2953
2953
  r += h;
2954
2954
  for (; o-- > 0; )
@@ -2957,7 +2957,7 @@ function Wn(e, t) {
2957
2957
  }
2958
2958
  return r;
2959
2959
  }
2960
- function zn(e) {
2960
+ function Wn(e) {
2961
2961
  var t = e.hourCycle;
2962
2962
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2963
2963
  e.hourCycles && // @ts-ignore
@@ -2976,23 +2976,23 @@ function zn(e) {
2976
2976
  }
2977
2977
  var r = e.language, n;
2978
2978
  r !== "root" && (n = e.maximize().region);
2979
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2979
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2980
2980
  return i[0];
2981
2981
  }
2982
- var Ge, Zn = new RegExp("^".concat(ir.source, "*")), Qn = new RegExp("".concat(ir.source, "*$"));
2982
+ var Ue, zn = new RegExp("^".concat(sr.source, "*")), Zn = new RegExp("".concat(sr.source, "*$"));
2983
2983
  function g(e, t) {
2984
2984
  return { start: e, end: t };
2985
2985
  }
2986
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
2986
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
2987
2987
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2988
- }, Qe = !0;
2988
+ }, Ye = !0;
2989
2989
  try {
2990
- var ii = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2991
- Qe = ((Ge = ii.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2990
+ var ni = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2991
+ Ye = ((Ue = ni.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2992
2992
  } catch {
2993
- Qe = !1;
2993
+ Ye = !1;
2994
2994
  }
2995
- var St = Yn ? (
2995
+ var wt = Qn ? (
2996
2996
  // Native
2997
2997
  function(t, r, n) {
2998
2998
  return t.startsWith(r, n);
@@ -3002,7 +3002,7 @@ var St = Yn ? (
3002
3002
  function(t, r, n) {
3003
3003
  return t.slice(n, n + r.length) === r;
3004
3004
  }
3005
- ), Ye = qn ? String.fromCodePoint : (
3005
+ ), qe = Yn ? String.fromCodePoint : (
3006
3006
  // IE11
3007
3007
  function() {
3008
3008
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3016,7 +3016,7 @@ var St = Yn ? (
3016
3016
  }
3017
3017
  ), Tt = (
3018
3018
  // native
3019
- Jn ? Object.fromEntries : (
3019
+ qn ? Object.fromEntries : (
3020
3020
  // Ponyfill
3021
3021
  function(t) {
3022
3022
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3026,7 +3026,7 @@ var St = Yn ? (
3026
3026
  return r;
3027
3027
  }
3028
3028
  )
3029
- ), ur = Kn ? (
3029
+ ), hr = Jn ? (
3030
3030
  // Native
3031
3031
  function(t, r) {
3032
3032
  return t.codePointAt(r);
@@ -3040,7 +3040,7 @@ var St = Yn ? (
3040
3040
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3041
3041
  }
3042
3042
  }
3043
- ), si = ei ? (
3043
+ ), ii = Kn ? (
3044
3044
  // Native
3045
3045
  function(t) {
3046
3046
  return t.trimStart();
@@ -3048,9 +3048,9 @@ var St = Yn ? (
3048
3048
  ) : (
3049
3049
  // Ponyfill
3050
3050
  function(t) {
3051
- return t.replace(Zn, "");
3051
+ return t.replace(zn, "");
3052
3052
  }
3053
- ), oi = ti ? (
3053
+ ), si = ei ? (
3054
3054
  // Native
3055
3055
  function(t) {
3056
3056
  return t.trimEnd();
@@ -3058,32 +3058,32 @@ var St = Yn ? (
3058
3058
  ) : (
3059
3059
  // Ponyfill
3060
3060
  function(t) {
3061
- return t.replace(Qn, "");
3061
+ return t.replace(Zn, "");
3062
3062
  }
3063
3063
  );
3064
- function hr(e, t) {
3064
+ function lr(e, t) {
3065
3065
  return new RegExp(e, t);
3066
3066
  }
3067
- var qe;
3068
- if (Qe) {
3069
- var wt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3070
- qe = function(t, r) {
3067
+ var Je;
3068
+ if (Ye) {
3069
+ var Ht = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3070
+ Je = function(t, r) {
3071
3071
  var n;
3072
- wt.lastIndex = r;
3073
- var i = wt.exec(t);
3072
+ Ht.lastIndex = r;
3073
+ var i = Ht.exec(t);
3074
3074
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3075
3075
  };
3076
3076
  } else
3077
- qe = function(t, r) {
3077
+ Je = function(t, r) {
3078
3078
  for (var n = []; ; ) {
3079
- var i = ur(t, r);
3080
- if (i === void 0 || lr(i) || li(i))
3079
+ var i = hr(t, r);
3080
+ if (i === void 0 || cr(i) || hi(i))
3081
3081
  break;
3082
3082
  n.push(i), r += i >= 65536 ? 2 : 1;
3083
3083
  }
3084
- return Ye.apply(void 0, n);
3084
+ return qe.apply(void 0, n);
3085
3085
  };
3086
- var ai = (
3086
+ var oi = (
3087
3087
  /** @class */
3088
3088
  function() {
3089
3089
  function e(t, r) {
@@ -3114,7 +3114,7 @@ var ai = (
3114
3114
  if (n)
3115
3115
  break;
3116
3116
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3117
- } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3117
+ } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3118
3118
  var o = this.parseTag(t, r);
3119
3119
  if (o.err)
3120
3120
  return o;
@@ -3147,7 +3147,7 @@ var ai = (
3147
3147
  return s;
3148
3148
  var o = s.val, a = this.clonePosition();
3149
3149
  if (this.bumpIf("</")) {
3150
- if (this.isEOF() || !Je(this.char()))
3150
+ if (this.isEOF() || !Ke(this.char()))
3151
3151
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3152
3152
  var h = this.clonePosition(), u = this.parseTagName();
3153
3153
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3165,7 +3165,7 @@ var ai = (
3165
3165
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3166
3166
  }, e.prototype.parseTagName = function() {
3167
3167
  var t = this.offset();
3168
- for (this.bump(); !this.isEOF() && hi(this.char()); )
3168
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3169
3169
  this.bump();
3170
3170
  return this.message.slice(t, this.offset());
3171
3171
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3194,7 +3194,7 @@ var ai = (
3194
3194
  };
3195
3195
  }, e.prototype.tryParseLeftAngleBracket = function() {
3196
3196
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3197
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3197
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3198
3198
  }, e.prototype.tryParseQuote = function(t) {
3199
3199
  if (this.isEOF() || this.char() !== 39)
3200
3200
  return null;
@@ -3228,12 +3228,12 @@ var ai = (
3228
3228
  r.push(n);
3229
3229
  this.bump();
3230
3230
  }
3231
- return Ye.apply(void 0, r);
3231
+ return qe.apply(void 0, r);
3232
3232
  }, e.prototype.tryParseUnquoted = function(t, r) {
3233
3233
  if (this.isEOF())
3234
3234
  return null;
3235
3235
  var n = this.char();
3236
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3236
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3237
3237
  }, e.prototype.parseArgument = function(t, r) {
3238
3238
  var n = this.clonePosition();
3239
3239
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3262,7 +3262,7 @@ var ai = (
3262
3262
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3263
3263
  }
3264
3264
  }, e.prototype.parseIdentifierIfPossible = function() {
3265
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3265
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3266
3266
  this.bumpTo(i);
3267
3267
  var s = this.clonePosition(), o = g(t, s);
3268
3268
  return { value: n, location: o };
@@ -3281,7 +3281,7 @@ var ai = (
3281
3281
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3282
3282
  if (m.err)
3283
3283
  return m;
3284
- var c = oi(m.val);
3284
+ var c = si(m.val);
3285
3285
  if (c.length === 0)
3286
3286
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3287
3287
  var d = g(l, this.clonePosition());
@@ -3291,27 +3291,27 @@ var ai = (
3291
3291
  if (b.err)
3292
3292
  return b;
3293
3293
  var y = g(i, this.clonePosition());
3294
- if (u && St(u?.style, "::", 0)) {
3295
- var w = si(u.style.slice(2));
3294
+ if (u && wt(u?.style, "::", 0)) {
3295
+ var T = ii(u.style.slice(2));
3296
3296
  if (a === "number") {
3297
- var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3297
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3298
3298
  return m.err ? m : {
3299
3299
  val: { type: x.number, value: n, location: y, style: m.val },
3300
3300
  err: null
3301
3301
  };
3302
3302
  } else {
3303
- if (w.length === 0)
3303
+ if (T.length === 0)
3304
3304
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3305
- var C = w;
3306
- this.locale && (C = Wn(w, this.locale));
3305
+ var C = T;
3306
+ this.locale && (C = Xn(T, this.locale));
3307
3307
  var c = {
3308
- type: ee.dateTime,
3308
+ type: K.dateTime,
3309
3309
  pattern: C,
3310
3310
  location: u.styleLocation,
3311
- parsedOptions: this.shouldParseSkeletons ? Dn(C) : {}
3312
- }, P = a === "date" ? x.date : x.time;
3311
+ parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
3312
+ }, N = a === "date" ? x.date : x.time;
3313
3313
  return {
3314
- val: { type: P, value: n, location: y, style: c },
3314
+ val: { type: N, value: n, location: y, style: c },
3315
3315
  err: null
3316
3316
  };
3317
3317
  }
@@ -3329,23 +3329,23 @@ var ai = (
3329
3329
  case "plural":
3330
3330
  case "selectordinal":
3331
3331
  case "select": {
3332
- var T = this.clonePosition();
3332
+ var w = this.clonePosition();
3333
3333
  if (this.bumpSpace(), !this.bumpIf(","))
3334
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3334
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3335
3335
  this.bumpSpace();
3336
- var N = this.parseIdentifierIfPossible(), O = 0;
3337
- if (a !== "select" && N.value === "offset") {
3336
+ var O = this.parseIdentifierIfPossible(), L = 0;
3337
+ if (a !== "select" && O.value === "offset") {
3338
3338
  if (!this.bumpIf(":"))
3339
3339
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3340
3340
  this.bumpSpace();
3341
3341
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3342
3342
  if (m.err)
3343
3343
  return m;
3344
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3344
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
3345
3345
  }
3346
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
3347
- if (R.err)
3348
- return R;
3346
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
3347
+ if (M.err)
3348
+ return M;
3349
3349
  var b = this.tryParseArgumentClose(i);
3350
3350
  if (b.err)
3351
3351
  return b;
@@ -3354,7 +3354,7 @@ var ai = (
3354
3354
  val: {
3355
3355
  type: x.select,
3356
3356
  value: n,
3357
- options: Tt(R.val),
3357
+ options: Tt(M.val),
3358
3358
  location: E
3359
3359
  },
3360
3360
  err: null
@@ -3362,8 +3362,8 @@ var ai = (
3362
3362
  val: {
3363
3363
  type: x.plural,
3364
3364
  value: n,
3365
- options: Tt(R.val),
3366
- offset: O,
3365
+ options: Tt(M.val),
3366
+ offset: L,
3367
3367
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3368
3368
  location: E
3369
3369
  },
@@ -3413,16 +3413,16 @@ var ai = (
3413
3413
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3414
3414
  var n = [];
3415
3415
  try {
3416
- n = $n(t);
3416
+ n = Fn(t);
3417
3417
  } catch {
3418
3418
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3419
3419
  }
3420
3420
  return {
3421
3421
  val: {
3422
- type: ee.number,
3422
+ type: K.number,
3423
3423
  tokens: n,
3424
3424
  location: r,
3425
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3425
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3426
3426
  },
3427
3427
  err: null
3428
3428
  };
@@ -3470,7 +3470,7 @@ var ai = (
3470
3470
  break;
3471
3471
  }
3472
3472
  var h = g(i, this.clonePosition());
3473
- return s ? (o *= n, ni(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3473
+ return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3474
3474
  }, e.prototype.offset = function() {
3475
3475
  return this.position.offset;
3476
3476
  }, e.prototype.isEOF = function() {
@@ -3485,7 +3485,7 @@ var ai = (
3485
3485
  var t = this.position.offset;
3486
3486
  if (t >= this.message.length)
3487
3487
  throw Error("out of bound");
3488
- var r = ur(this.message, t);
3488
+ var r = hr(this.message, t);
3489
3489
  if (r === void 0)
3490
3490
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3491
3491
  return r;
@@ -3504,7 +3504,7 @@ var ai = (
3504
3504
  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);
3505
3505
  }
3506
3506
  }, e.prototype.bumpIf = function(t) {
3507
- if (St(this.message, t, this.offset())) {
3507
+ if (wt(this.message, t, this.offset())) {
3508
3508
  for (var r = 0; r < t.length; r++)
3509
3509
  this.bump();
3510
3510
  return !0;
@@ -3526,7 +3526,7 @@ var ai = (
3526
3526
  break;
3527
3527
  }
3528
3528
  }, e.prototype.bumpSpace = function() {
3529
- for (; !this.isEOF() && lr(this.char()); )
3529
+ for (; !this.isEOF() && cr(this.char()); )
3530
3530
  this.bump();
3531
3531
  }, e.prototype.peek = function() {
3532
3532
  if (this.isEOF())
@@ -3536,43 +3536,43 @@ var ai = (
3536
3536
  }, e;
3537
3537
  }()
3538
3538
  );
3539
- function Je(e) {
3539
+ function Ke(e) {
3540
3540
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3541
3541
  }
3542
- function ui(e) {
3543
- return Je(e) || e === 47;
3542
+ function ai(e) {
3543
+ return Ke(e) || e === 47;
3544
3544
  }
3545
- function hi(e) {
3545
+ function ui(e) {
3546
3546
  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;
3547
3547
  }
3548
- function lr(e) {
3548
+ function cr(e) {
3549
3549
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3550
3550
  }
3551
- function li(e) {
3551
+ function hi(e) {
3552
3552
  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;
3553
3553
  }
3554
- function Ke(e) {
3554
+ function et(e) {
3555
3555
  e.forEach(function(t) {
3556
- if (delete t.location, er(t) || tr(t))
3556
+ if (delete t.location, tr(t) || rr(t))
3557
3557
  for (var r in t.options)
3558
- delete t.options[r].location, Ke(t.options[r].value);
3559
- else qt(t) && nr(t.style) || (Jt(t) || Kt(t)) && Ze(t.style) ? delete t.style.location : rr(t) && Ke(t.children);
3558
+ delete t.options[r].location, et(t.options[r].value);
3559
+ else Jt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
3560
3560
  });
3561
3561
  }
3562
- function ci(e, t) {
3562
+ function li(e, t) {
3563
3563
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3564
- var r = new ai(e, t).parse();
3564
+ var r = new oi(e, t).parse();
3565
3565
  if (r.err) {
3566
3566
  var n = SyntaxError(p[r.err.kind]);
3567
3567
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3568
3568
  }
3569
- return t?.captureLocation || Ke(r.val), r.val;
3569
+ return t?.captureLocation || et(r.val), r.val;
3570
3570
  }
3571
- var te;
3571
+ var ee;
3572
3572
  (function(e) {
3573
3573
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3574
- })(te || (te = {}));
3575
- var Ae = (
3574
+ })(ee || (ee = {}));
3575
+ var Be = (
3576
3576
  /** @class */
3577
3577
  function(e) {
3578
3578
  U(t, e);
@@ -3584,155 +3584,155 @@ var Ae = (
3584
3584
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3585
3585
  }, t;
3586
3586
  }(Error)
3587
- ), Ht = (
3587
+ ), At = (
3588
3588
  /** @class */
3589
3589
  function(e) {
3590
3590
  U(t, e);
3591
3591
  function t(r, n, i, s) {
3592
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3592
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3593
3593
  }
3594
3594
  return t;
3595
- }(Ae)
3596
- ), fi = (
3595
+ }(Be)
3596
+ ), ci = (
3597
3597
  /** @class */
3598
3598
  function(e) {
3599
3599
  U(t, e);
3600
3600
  function t(r, n, i) {
3601
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3601
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3602
3602
  }
3603
3603
  return t;
3604
- }(Ae)
3605
- ), mi = (
3604
+ }(Be)
3605
+ ), fi = (
3606
3606
  /** @class */
3607
3607
  function(e) {
3608
3608
  U(t, e);
3609
3609
  function t(r, n) {
3610
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3610
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3611
3611
  }
3612
3612
  return t;
3613
- }(Ae)
3614
- ), A;
3613
+ }(Be)
3614
+ ), H;
3615
3615
  (function(e) {
3616
3616
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3617
- })(A || (A = {}));
3618
- function di(e) {
3617
+ })(H || (H = {}));
3618
+ function mi(e) {
3619
3619
  return e.length < 2 ? e : e.reduce(function(t, r) {
3620
3620
  var n = t[t.length - 1];
3621
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3621
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3622
3622
  }, []);
3623
3623
  }
3624
- function bi(e) {
3624
+ function di(e) {
3625
3625
  return typeof e == "function";
3626
3626
  }
3627
- function _e(e, t, r, n, i, s, o) {
3628
- if (e.length === 1 && vt(e[0]))
3627
+ function Ee(e, t, r, n, i, s, o) {
3628
+ if (e.length === 1 && _t(e[0]))
3629
3629
  return [
3630
3630
  {
3631
- type: A.literal,
3631
+ type: H.literal,
3632
3632
  value: e[0].value
3633
3633
  }
3634
3634
  ];
3635
3635
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3636
3636
  var l = u[h];
3637
- if (vt(l)) {
3637
+ if (_t(l)) {
3638
3638
  a.push({
3639
- type: A.literal,
3639
+ type: H.literal,
3640
3640
  value: l.value
3641
3641
  });
3642
3642
  continue;
3643
3643
  }
3644
- if (Gn(l)) {
3644
+ if (Rn(l)) {
3645
3645
  typeof s == "number" && a.push({
3646
- type: A.literal,
3646
+ type: H.literal,
3647
3647
  value: r.getNumberFormat(t).format(s)
3648
3648
  });
3649
3649
  continue;
3650
3650
  }
3651
3651
  var m = l.value;
3652
3652
  if (!(i && m in i))
3653
- throw new mi(m, o);
3653
+ throw new fi(m, o);
3654
3654
  var c = i[m];
3655
- if (Rn(l)) {
3655
+ if (Mn(l)) {
3656
3656
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3657
- type: typeof c == "string" ? A.literal : A.object,
3657
+ type: typeof c == "string" ? H.literal : H.object,
3658
3658
  value: c
3659
3659
  });
3660
3660
  continue;
3661
3661
  }
3662
- if (Jt(l)) {
3663
- var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3662
+ if (Kt(l)) {
3663
+ var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
3664
3664
  a.push({
3665
- type: A.literal,
3665
+ type: H.literal,
3666
3666
  value: r.getDateTimeFormat(t, d).format(c)
3667
3667
  });
3668
3668
  continue;
3669
3669
  }
3670
- if (Kt(l)) {
3671
- var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3670
+ if (er(l)) {
3671
+ var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
3672
3672
  a.push({
3673
- type: A.literal,
3673
+ type: H.literal,
3674
3674
  value: r.getDateTimeFormat(t, d).format(c)
3675
3675
  });
3676
3676
  continue;
3677
3677
  }
3678
- if (qt(l)) {
3679
- var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3678
+ if (Jt(l)) {
3679
+ var d = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3680
3680
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3681
- type: A.literal,
3681
+ type: H.literal,
3682
3682
  value: r.getNumberFormat(t, d).format(c)
3683
3683
  });
3684
3684
  continue;
3685
3685
  }
3686
- if (rr(l)) {
3687
- var b = l.children, y = l.value, w = i[y];
3688
- if (!bi(w))
3689
- throw new fi(y, "function", o);
3690
- var C = _e(b, t, r, n, i, s), P = w(C.map(function(O) {
3691
- return O.value;
3686
+ if (nr(l)) {
3687
+ var b = l.children, y = l.value, T = i[y];
3688
+ if (!di(T))
3689
+ throw new ci(y, "function", o);
3690
+ var C = Ee(b, t, r, n, i, s), N = T(C.map(function(L) {
3691
+ return L.value;
3692
3692
  }));
3693
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3693
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
3694
3694
  return {
3695
- type: typeof O == "string" ? A.literal : A.object,
3696
- value: O
3695
+ type: typeof L == "string" ? H.literal : H.object,
3696
+ value: L
3697
3697
  };
3698
3698
  }));
3699
3699
  }
3700
- if (er(l)) {
3701
- var T = l.options[c] || l.options.other;
3702
- if (!T)
3703
- throw new Ht(l.value, c, Object.keys(l.options), o);
3704
- a.push.apply(a, _e(T.value, t, r, n, i));
3700
+ if (tr(l)) {
3701
+ var w = l.options[c] || l.options.other;
3702
+ if (!w)
3703
+ throw new At(l.value, c, Object.keys(l.options), o);
3704
+ a.push.apply(a, Ee(w.value, t, r, n, i));
3705
3705
  continue;
3706
3706
  }
3707
- if (tr(l)) {
3708
- var T = l.options["=".concat(c)];
3709
- if (!T) {
3707
+ if (rr(l)) {
3708
+ var w = l.options["=".concat(c)];
3709
+ if (!w) {
3710
3710
  if (!Intl.PluralRules)
3711
- throw new Ae(`Intl.PluralRules is not available in this environment.
3711
+ throw new Be(`Intl.PluralRules is not available in this environment.
3712
3712
  Try polyfilling it using "@formatjs/intl-pluralrules"
3713
- `, te.MISSING_INTL_API, o);
3714
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3715
- T = l.options[N] || l.options.other;
3713
+ `, ee.MISSING_INTL_API, o);
3714
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3715
+ w = l.options[O] || l.options.other;
3716
3716
  }
3717
- if (!T)
3718
- throw new Ht(l.value, c, Object.keys(l.options), o);
3719
- a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
3717
+ if (!w)
3718
+ throw new At(l.value, c, Object.keys(l.options), o);
3719
+ a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
3720
3720
  continue;
3721
3721
  }
3722
3722
  }
3723
- return di(a);
3723
+ return mi(a);
3724
3724
  }
3725
- function pi(e, t) {
3725
+ function bi(e, t) {
3726
3726
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3727
3727
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3728
3728
  }, {})) : e;
3729
3729
  }
3730
- function gi(e, t) {
3730
+ function pi(e, t) {
3731
3731
  return t ? Object.keys(e).reduce(function(r, n) {
3732
- return r[n] = pi(e[n], t[n]), r;
3732
+ return r[n] = bi(e[n], t[n]), r;
3733
3733
  }, v({}, e)) : e;
3734
3734
  }
3735
- function Ue(e) {
3735
+ function De(e) {
3736
3736
  return {
3737
3737
  create: function() {
3738
3738
  return {
@@ -3746,39 +3746,39 @@ function Ue(e) {
3746
3746
  }
3747
3747
  };
3748
3748
  }
3749
- function yi(e) {
3749
+ function gi(e) {
3750
3750
  return e === void 0 && (e = {
3751
3751
  number: {},
3752
3752
  dateTime: {},
3753
3753
  pluralRules: {}
3754
3754
  }), {
3755
- getNumberFormat: Me(function() {
3755
+ getNumberFormat: Re(function() {
3756
3756
  for (var t, r = [], n = 0; n < arguments.length; n++)
3757
3757
  r[n] = arguments[n];
3758
3758
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3759
3759
  }, {
3760
- cache: Ue(e.number),
3761
- strategy: Re.variadic
3760
+ cache: De(e.number),
3761
+ strategy: Ge.variadic
3762
3762
  }),
3763
- getDateTimeFormat: Me(function() {
3763
+ getDateTimeFormat: Re(function() {
3764
3764
  for (var t, r = [], n = 0; n < arguments.length; n++)
3765
3765
  r[n] = arguments[n];
3766
3766
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3767
3767
  }, {
3768
- cache: Ue(e.dateTime),
3769
- strategy: Re.variadic
3768
+ cache: De(e.dateTime),
3769
+ strategy: Ge.variadic
3770
3770
  }),
3771
- getPluralRules: Me(function() {
3771
+ getPluralRules: Re(function() {
3772
3772
  for (var t, r = [], n = 0; n < arguments.length; n++)
3773
3773
  r[n] = arguments[n];
3774
3774
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3775
3775
  }, {
3776
- cache: Ue(e.pluralRules),
3777
- strategy: Re.variadic
3776
+ cache: De(e.pluralRules),
3777
+ strategy: Ge.variadic
3778
3778
  })
3779
3779
  };
3780
3780
  }
3781
- var vi = (
3781
+ var yi = (
3782
3782
  /** @class */
3783
3783
  function() {
3784
3784
  function e(t, r, n, i) {
@@ -3793,11 +3793,11 @@ var vi = (
3793
3793
  if (u.length === 1)
3794
3794
  return u[0].value;
3795
3795
  var l = u.reduce(function(m, c) {
3796
- return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3796
+ return !m.length || c.type !== H.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3797
3797
  }, []);
3798
3798
  return l.length <= 1 ? l[0] || "" : l;
3799
3799
  }, this.formatToParts = function(h) {
3800
- return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3800
+ return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3801
3801
  }, this.resolvedOptions = function() {
3802
3802
  var h;
3803
3803
  return {
@@ -3810,13 +3810,13 @@ var vi = (
3810
3810
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3811
3811
  var o = i || {};
3812
3812
  o.formatters;
3813
- var a = Yr(o, ["formatters"]);
3813
+ var a = Qr(o, ["formatters"]);
3814
3814
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3815
3815
  } else
3816
3816
  this.ast = t;
3817
3817
  if (!Array.isArray(this.ast))
3818
3818
  throw new TypeError("A message must be provided as a String or AST.");
3819
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3819
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3820
3820
  }
3821
3821
  return Object.defineProperty(e, "defaultLocale", {
3822
3822
  get: function() {
@@ -3829,7 +3829,7 @@ var vi = (
3829
3829
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3830
3830
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3831
3831
  }
3832
- }, e.__parse = ci, e.formats = {
3832
+ }, e.__parse = li, e.formats = {
3833
3833
  number: {
3834
3834
  integer: {
3835
3835
  maximumFractionDigits: 0
@@ -3890,7 +3890,7 @@ var vi = (
3890
3890
  }, e;
3891
3891
  }()
3892
3892
  );
3893
- function _i(e, t) {
3893
+ function vi(e, t) {
3894
3894
  if (t == null)
3895
3895
  return;
3896
3896
  if (t in e)
@@ -3911,92 +3911,92 @@ function _i(e, t) {
3911
3911
  n = void 0;
3912
3912
  return n;
3913
3913
  }
3914
- const F = {}, Ei = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
3914
+ const D = {}, _i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), fr = (e, t) => {
3915
3915
  if (t == null)
3916
3916
  return;
3917
- if (t in F && e in F[t])
3918
- return F[t][e];
3919
- const r = Be(t);
3917
+ if (t in D && e in D[t])
3918
+ return D[t][e];
3919
+ const r = Pe(t);
3920
3920
  for (let n = 0; n < r.length; n++) {
3921
- const i = r[n], s = Si(i, e);
3921
+ const i = r[n], s = xi(i, e);
3922
3922
  if (s)
3923
- return Ei(e, t, s);
3923
+ return _i(e, t, s);
3924
3924
  }
3925
3925
  };
3926
- let nt;
3927
- const me = He({});
3928
- function xi(e) {
3929
- return nt[e] || null;
3926
+ let it;
3927
+ const me = Ae({});
3928
+ function Ei(e) {
3929
+ return it[e] || null;
3930
3930
  }
3931
- function fr(e) {
3932
- return e in nt;
3931
+ function mr(e) {
3932
+ return e in it;
3933
3933
  }
3934
- function Si(e, t) {
3935
- if (!fr(e))
3934
+ function xi(e, t) {
3935
+ if (!mr(e))
3936
3936
  return null;
3937
- const r = xi(e);
3938
- return _i(r, t);
3937
+ const r = Ei(e);
3938
+ return vi(r, t);
3939
3939
  }
3940
- function Ti(e) {
3940
+ function Si(e) {
3941
3941
  if (e == null)
3942
3942
  return;
3943
- const t = Be(e);
3943
+ const t = Pe(e);
3944
3944
  for (let r = 0; r < t.length; r++) {
3945
3945
  const n = t[r];
3946
- if (fr(n))
3946
+ if (mr(n))
3947
3947
  return n;
3948
3948
  }
3949
3949
  }
3950
- function mr(e, ...t) {
3951
- delete F[e], me.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
3950
+ function dr(e, ...t) {
3951
+ delete D[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
3952
3952
  }
3953
- se(
3953
+ ie(
3954
3954
  [me],
3955
3955
  ([e]) => Object.keys(e)
3956
3956
  );
3957
- me.subscribe((e) => nt = e);
3958
- const Ee = {};
3957
+ me.subscribe((e) => it = e);
3958
+ const xe = {};
3959
3959
  function wi(e, t) {
3960
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3960
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3961
3961
  }
3962
- function dr(e) {
3963
- return Ee[e];
3962
+ function br(e) {
3963
+ return xe[e];
3964
3964
  }
3965
- function Hi(e) {
3966
- return Be(e).map((t) => {
3967
- const r = dr(t);
3965
+ function Ti(e) {
3966
+ return Pe(e).map((t) => {
3967
+ const r = br(t);
3968
3968
  return [t, r ? [...r] : []];
3969
3969
  }).filter(([, t]) => t.length > 0);
3970
3970
  }
3971
- function et(e) {
3972
- return e == null ? !1 : Be(e).some(
3971
+ function tt(e) {
3972
+ return e == null ? !1 : Pe(e).some(
3973
3973
  (t) => {
3974
3974
  var r;
3975
- return (r = dr(t)) == null ? void 0 : r.size;
3975
+ return (r = br(t)) == null ? void 0 : r.size;
3976
3976
  }
3977
3977
  );
3978
3978
  }
3979
- function Ai(e, t) {
3979
+ function Hi(e, t) {
3980
3980
  return Promise.all(
3981
3981
  t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
3982
- ).then((n) => mr(e, ...n));
3983
- }
3984
- const ae = {};
3985
- function br(e) {
3986
- if (!et(e))
3987
- return e in ae ? ae[e] : Promise.resolve();
3988
- const t = Hi(e);
3989
- return ae[e] = Promise.all(
3982
+ ).then((n) => dr(e, ...n));
3983
+ }
3984
+ const oe = {};
3985
+ function pr(e) {
3986
+ if (!tt(e))
3987
+ return e in oe ? oe[e] : Promise.resolve();
3988
+ const t = Ti(e);
3989
+ return oe[e] = Promise.all(
3990
3990
  t.map(
3991
- ([r, n]) => Ai(r, n)
3991
+ ([r, n]) => Hi(r, n)
3992
3992
  )
3993
3993
  ).then(() => {
3994
- if (et(e))
3995
- return br(e);
3996
- delete ae[e];
3997
- }), ae[e];
3994
+ if (tt(e))
3995
+ return pr(e);
3996
+ delete oe[e];
3997
+ }), oe[e];
3998
3998
  }
3999
- const Bi = {
3999
+ const Ai = {
4000
4000
  number: {
4001
4001
  scientific: { notation: "scientific" },
4002
4002
  engineering: { notation: "engineering" },
@@ -4025,135 +4025,135 @@ const Bi = {
4025
4025
  timeZoneName: "short"
4026
4026
  }
4027
4027
  }
4028
- }, Pi = {
4028
+ }, Bi = {
4029
4029
  fallbackLocale: null,
4030
4030
  loadingDelay: 200,
4031
- formats: Bi,
4031
+ formats: Ai,
4032
4032
  warnOnMissingMessages: !0,
4033
4033
  handleMissingMessage: void 0,
4034
4034
  ignoreTag: !0
4035
- }, Ni = Pi;
4036
- function re() {
4037
- return Ni;
4035
+ }, Pi = Bi;
4036
+ function te() {
4037
+ return Pi;
4038
4038
  }
4039
- const De = He(!1);
4040
- var Oi = Object.defineProperty, Li = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4039
+ const Fe = Ae(!1);
4040
+ var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4041
4041
  for (var r in t || (t = {}))
4042
- Ci.call(t, r) && Bt(e, r, t[r]);
4043
- if (At)
4044
- for (var r of At(t))
4045
- Mi.call(t, r) && Bt(e, r, t[r]);
4042
+ Ii.call(t, r) && Pt(e, r, t[r]);
4043
+ if (Bt)
4044
+ for (var r of Bt(t))
4045
+ Ci.call(t, r) && Pt(e, r, t[r]);
4046
4046
  return e;
4047
- }, Gi = (e, t) => Li(e, Ii(t));
4048
- let tt;
4049
- const xe = He(null);
4050
- function Pt(e) {
4047
+ }, Ri = (e, t) => Oi(e, Li(t));
4048
+ let rt;
4049
+ const Se = Ae(null);
4050
+ function Nt(e) {
4051
4051
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4052
4052
  }
4053
- function Be(e, t = re().fallbackLocale) {
4054
- const r = Pt(e);
4055
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4053
+ function Pe(e, t = te().fallbackLocale) {
4054
+ const r = Nt(e);
4055
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4056
4056
  }
4057
4057
  function V() {
4058
- return tt ?? void 0;
4058
+ return rt ?? void 0;
4059
4059
  }
4060
- xe.subscribe((e) => {
4061
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4060
+ Se.subscribe((e) => {
4061
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4062
4062
  });
4063
- const Ui = (e) => {
4064
- if (e && Ti(e) && et(e)) {
4065
- const { loadingDelay: t } = re();
4063
+ const Gi = (e) => {
4064
+ if (e && Si(e) && tt(e)) {
4065
+ const { loadingDelay: t } = te();
4066
4066
  let r;
4067
4067
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4068
- () => De.set(!0),
4068
+ () => Fe.set(!0),
4069
4069
  t
4070
- ) : De.set(!0), br(e).then(() => {
4071
- xe.set(e);
4070
+ ) : Fe.set(!0), pr(e).then(() => {
4071
+ Se.set(e);
4072
4072
  }).finally(() => {
4073
- clearTimeout(r), De.set(!1);
4073
+ clearTimeout(r), Fe.set(!1);
4074
4074
  });
4075
4075
  }
4076
- return xe.set(e);
4077
- }, de = Gi(Ri({}, xe), {
4078
- set: Ui
4079
- }), Pe = (e) => {
4076
+ return Se.set(e);
4077
+ }, de = Ri(Mi({}, Se), {
4078
+ set: Gi
4079
+ }), Ne = (e) => {
4080
4080
  const t = /* @__PURE__ */ Object.create(null);
4081
4081
  return (n) => {
4082
4082
  const i = JSON.stringify(n);
4083
4083
  return i in t ? t[i] : t[i] = e(n);
4084
4084
  };
4085
4085
  };
4086
- var Di = Object.defineProperty, Se = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4086
+ var Ui = Object.defineProperty, we = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4087
4087
  for (var r in t || (t = {}))
4088
- pr.call(t, r) && Nt(e, r, t[r]);
4089
- if (Se)
4090
- for (var r of Se(t))
4091
- gr.call(t, r) && Nt(e, r, t[r]);
4088
+ gr.call(t, r) && Ot(e, r, t[r]);
4089
+ if (we)
4090
+ for (var r of we(t))
4091
+ yr.call(t, r) && Ot(e, r, t[r]);
4092
4092
  return e;
4093
- }, oe = (e, t) => {
4093
+ }, se = (e, t) => {
4094
4094
  var r = {};
4095
4095
  for (var n in e)
4096
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4097
- if (e != null && Se)
4098
- for (var n of Se(e))
4099
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4096
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4097
+ if (e != null && we)
4098
+ for (var n of we(e))
4099
+ t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4100
4100
  return r;
4101
4101
  };
4102
- const ce = (e, t) => {
4103
- const { formats: r } = re();
4102
+ const le = (e, t) => {
4103
+ const { formats: r } = te();
4104
4104
  if (e in r && t in r[e])
4105
4105
  return r[e][t];
4106
4106
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4107
- }, Fi = Pe(
4107
+ }, Di = Ne(
4108
4108
  (e) => {
4109
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4109
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4110
4110
  if (r == null)
4111
4111
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4112
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4112
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4113
4113
  }
4114
- ), $i = Pe(
4114
+ ), Fi = Ne(
4115
4115
  (e) => {
4116
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4116
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4117
4117
  if (r == null)
4118
4118
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4119
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4119
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4120
4120
  }
4121
- ), ji = Pe(
4121
+ ), $i = Ne(
4122
4122
  (e) => {
4123
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4123
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4124
4124
  if (r == null)
4125
4125
  throw new Error(
4126
4126
  '[svelte-i18n] A "locale" must be set to format time values'
4127
4127
  );
4128
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4128
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4129
4129
  }
4130
- ), ki = (e = {}) => {
4130
+ ), ji = (e = {}) => {
4131
4131
  var t = e, {
4132
4132
  locale: r = V()
4133
- } = t, n = oe(t, [
4133
+ } = t, n = se(t, [
4134
4134
  "locale"
4135
4135
  ]);
4136
- return Fi(it({ locale: r }, n));
4137
- }, Vi = (e = {}) => {
4136
+ return Di(st({ locale: r }, n));
4137
+ }, ki = (e = {}) => {
4138
4138
  var t = e, {
4139
4139
  locale: r = V()
4140
- } = t, n = oe(t, [
4140
+ } = t, n = se(t, [
4141
4141
  "locale"
4142
4142
  ]);
4143
- return $i(it({ locale: r }, n));
4144
- }, Xi = (e = {}) => {
4143
+ return Fi(st({ locale: r }, n));
4144
+ }, Vi = (e = {}) => {
4145
4145
  var t = e, {
4146
4146
  locale: r = V()
4147
- } = t, n = oe(t, [
4147
+ } = t, n = se(t, [
4148
4148
  "locale"
4149
4149
  ]);
4150
- return ji(it({ locale: r }, n));
4151
- }, Wi = Pe(
4150
+ return $i(st({ locale: r }, n));
4151
+ }, Xi = Ne(
4152
4152
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4153
- (e, t = V()) => new vi(e, t, re().formats, {
4154
- ignoreTag: re().ignoreTag
4153
+ (e, t = V()) => new yi(e, t, te().formats, {
4154
+ ignoreTag: te().ignoreTag
4155
4155
  })
4156
- ), zi = (e, t = {}) => {
4156
+ ), Wi = (e, t = {}) => {
4157
4157
  var r, n, i, s;
4158
4158
  let o = t;
4159
4159
  typeof e == "object" && (o = e, e = o.id);
@@ -4166,9 +4166,9 @@ const ce = (e, t) => {
4166
4166
  throw new Error(
4167
4167
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4168
4168
  );
4169
- let l = cr(e, h);
4169
+ let l = fr(e, h);
4170
4170
  if (!l)
4171
- 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;
4171
+ 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;
4172
4172
  else if (typeof l != "string")
4173
4173
  return console.warn(
4174
4174
  `[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.`
@@ -4177,7 +4177,7 @@ const ce = (e, t) => {
4177
4177
  return l;
4178
4178
  let m = l;
4179
4179
  try {
4180
- m = Wi(l, h).format(a);
4180
+ m = Xi(l, h).format(a);
4181
4181
  } catch (c) {
4182
4182
  c instanceof Error && console.warn(
4183
4183
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4185,17 +4185,40 @@ const ce = (e, t) => {
4185
4185
  );
4186
4186
  }
4187
4187
  return m;
4188
- }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Yi = (e, t) => ki(t).format(e), qi = (e, t = V()) => cr(e, t), Ji = se([de, me], () => zi);
4189
- se([de], () => Zi);
4190
- se([de], () => Qi);
4191
- se([de], () => Yi);
4192
- se([de, me], () => qi);
4193
- window.emWidgets = { topic: cn };
4194
- const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4195
- function Ot(e, t) {
4196
- mr(e, t);
4197
- }
4198
- const Lt = {
4188
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => fr(e, t), qi = ie([de, me], () => Wi);
4189
+ ie([de], () => zi);
4190
+ ie([de], () => Zi);
4191
+ ie([de], () => Qi);
4192
+ ie([de, me], () => Yi);
4193
+ window.emWidgets = { topic: ln };
4194
+ const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4195
+ function Ki(e, t) {
4196
+ if (e) {
4197
+ const r = document.createElement("style");
4198
+ r.innerHTML = t, e.appendChild(r);
4199
+ }
4200
+ }
4201
+ function es(e, t) {
4202
+ const r = new URL(t);
4203
+ fetch(r.href).then((n) => n.text()).then((n) => {
4204
+ const i = document.createElement("style");
4205
+ i.innerHTML = n, e && e.appendChild(i);
4206
+ }).catch((n) => {
4207
+ console.error("There was an error while trying to load client styling from URL", n);
4208
+ });
4209
+ }
4210
+ function ts(e, t, r) {
4211
+ if (window.emMessageBus) {
4212
+ const n = document.createElement("style");
4213
+ window.emMessageBus.subscribe(t, (i) => {
4214
+ n.innerHTML = i, e && e.appendChild(n);
4215
+ });
4216
+ }
4217
+ }
4218
+ function Lt(e, t) {
4219
+ dr(e, t);
4220
+ }
4221
+ const It = {
4199
4222
  en: {
4200
4223
  lobbyName: "Lobby",
4201
4224
  myGamesName: "My games"
@@ -4281,14 +4304,14 @@ if (typeof window < "u") {
4281
4304
  }
4282
4305
  };
4283
4306
  };
4284
- customElements.define = e(customElements.define), import("./CasinoSlider-DjsPeF2Z.js").then(({ default: t }) => {
4307
+ customElements.define = e(customElements.define), import("./CasinoSlider-DPIZ5CnV.js").then(({ default: t }) => {
4285
4308
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4286
4309
  });
4287
4310
  }
4288
- function es(e) {
4289
- Lr(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
4311
+ function rs(e) {
4312
+ Or(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
4290
4313
  }
4291
- function ts(e) {
4314
+ function ns(e) {
4292
4315
  let t, r, n, i;
4293
4316
  return {
4294
4317
  c() {
@@ -4307,11 +4330,11 @@ function ts(e) {
4307
4330
  "endpoint",
4308
4331
  /*endpoint*/
4309
4332
  e[1]
4310
- ), _(r, "identity", rt), _(
4333
+ ), _(r, "identity", nt), _(
4311
4334
  r,
4312
4335
  "favoritesnumber",
4313
4336
  /*numberOfFavoredGames*/
4314
- e[15]
4337
+ e[16]
4315
4338
  ), _(
4316
4339
  r,
4317
4340
  "showsubgroups",
@@ -4327,6 +4350,11 @@ function ts(e) {
4327
4350
  "clientstylingurl",
4328
4351
  /*clientstylingurl*/
4329
4352
  e[5]
4353
+ ), _(
4354
+ r,
4355
+ "mbsource",
4356
+ /*mbsource*/
4357
+ e[12]
4330
4358
  ), _(
4331
4359
  r,
4332
4360
  "activeindex",
@@ -4357,12 +4385,12 @@ function ts(e) {
4357
4385
  "mygamesiconimage",
4358
4386
  /*mygamesiconimage*/
4359
4387
  e[11]
4360
- ), J(t, "class", "CasinoCategoriesContainer svelte-2g6deg"), J(t, "part", "CasinoCategoriesContainer");
4388
+ ), fe(t, "class", "CasinoCategoriesContainer svelte-2g6deg");
4361
4389
  },
4362
4390
  m(s, o) {
4363
- fe(s, t, o), Rt(t, r), n || (i = Or(
4391
+ ce(s, t, o), Gt(t, r), n || (i = Nr(
4364
4392
  /*sendSliderData*/
4365
- e[16].call(null, r)
4393
+ e[17].call(null, r)
4366
4394
  ), n = !0);
4367
4395
  },
4368
4396
  p(s, o) {
@@ -4385,11 +4413,11 @@ function ts(e) {
4385
4413
  /*endpoint*/
4386
4414
  s[1]
4387
4415
  ), o[0] & /*numberOfFavoredGames*/
4388
- 32768 && _(
4416
+ 65536 && _(
4389
4417
  r,
4390
4418
  "favoritesnumber",
4391
4419
  /*numberOfFavoredGames*/
4392
- s[15]
4420
+ s[16]
4393
4421
  ), o[0] & /*showsubgroups*/
4394
4422
  256 && _(
4395
4423
  r,
@@ -4408,6 +4436,12 @@ function ts(e) {
4408
4436
  "clientstylingurl",
4409
4437
  /*clientstylingurl*/
4410
4438
  s[5]
4439
+ ), o[0] & /*mbsource*/
4440
+ 4096 && _(
4441
+ r,
4442
+ "mbsource",
4443
+ /*mbsource*/
4444
+ s[12]
4411
4445
  ), o[0] & /*activecategory*/
4412
4446
  1 && _(
4413
4447
  r,
@@ -4447,48 +4481,48 @@ function ts(e) {
4447
4481
  );
4448
4482
  },
4449
4483
  d(s) {
4450
- s && ie(t), n = !1, i();
4484
+ s && ne(t), n = !1, i();
4451
4485
  }
4452
4486
  };
4453
4487
  }
4454
- function rs(e) {
4488
+ function is(e) {
4455
4489
  let t;
4456
4490
  return {
4457
4491
  c() {
4458
- t = k("p"), t.textContent = "500 Error - Internal Server Error.", J(t, "class", "SearchLoading svelte-2g6deg");
4492
+ t = k("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-2g6deg");
4459
4493
  },
4460
4494
  m(r, n) {
4461
- fe(r, t, n);
4495
+ ce(r, t, n);
4462
4496
  },
4463
- p: B,
4497
+ p: P,
4464
4498
  d(r) {
4465
- r && ie(t);
4499
+ r && ne(t);
4466
4500
  }
4467
4501
  };
4468
4502
  }
4469
- function ns(e) {
4503
+ function ss(e) {
4470
4504
  let t;
4471
4505
  return {
4472
4506
  c() {
4473
- t = k("div"), J(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
4507
+ t = k("div"), fe(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
4474
4508
  },
4475
4509
  m(r, n) {
4476
- fe(r, t, n);
4510
+ ce(r, t, n);
4477
4511
  },
4478
- p: B,
4512
+ p: P,
4479
4513
  d(r) {
4480
- r && ie(t);
4514
+ r && ne(t);
4481
4515
  }
4482
4516
  };
4483
4517
  }
4484
- function is(e) {
4518
+ function os(e) {
4485
4519
  let t;
4486
4520
  function r(s, o) {
4487
4521
  return (
4488
4522
  /*isLoading*/
4489
- s[12] || ss || os ? ns : (
4523
+ s[13] || as || us ? ss : (
4490
4524
  /*hasErrors*/
4491
- s[14] ? rs : ts
4525
+ s[15] ? is : ns
4492
4526
  )
4493
4527
  );
4494
4528
  }
@@ -4498,117 +4532,105 @@ function is(e) {
4498
4532
  t = k("div"), i.c();
4499
4533
  },
4500
4534
  m(s, o) {
4501
- fe(s, t, o), i.m(t, null), e[26](t);
4535
+ ce(s, t, o), i.m(t, null), e[27](t);
4502
4536
  },
4503
4537
  p(s, o) {
4504
4538
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4505
4539
  },
4506
- i: B,
4507
- o: B,
4540
+ i: P,
4541
+ o: P,
4508
4542
  d(s) {
4509
- s && ie(t), i.d(), e[26](null);
4543
+ s && ne(t), i.d(), e[27](null);
4510
4544
  }
4511
4545
  };
4512
4546
  }
4513
- let rt = "CasinoSliderData", ss = !1, os = !1;
4514
- function as(e, t, r) {
4547
+ let nt = "CasinoSliderData", as = !1, us = !1;
4548
+ function hs(e, t, r) {
4515
4549
  let n;
4516
- Nr(e, Ji, (f) => r(32, n = f));
4517
- 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: w = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: E = "" } = t, L, I, M = !0, X, W = [], $ = !1, yr = window.navigator.userAgent, j, st, ot = !1, Ne = !1;
4518
- const vr = () => {
4519
- fetch(N).then((H) => H.json()).then((H) => {
4520
- Object.keys(H).forEach((D) => {
4521
- Ot(D, H[D]);
4550
+ Pr(e, qi, (f) => r(33, n = f));
4551
+ 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: N = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, I, F, $ = !0, X, W = [], j = !1, vr = window.navigator.userAgent, R, ot, at = !1, Oe = !1;
4552
+ const _r = () => {
4553
+ fetch(O).then((B) => B.json()).then((B) => {
4554
+ Object.keys(B).forEach((be) => {
4555
+ Lt(be, B[be]);
4522
4556
  });
4523
- }).catch((H) => {
4524
- console.log(H);
4557
+ }).catch((B) => {
4558
+ console.log(B);
4525
4559
  });
4526
4560
  };
4527
- Object.keys(Lt).forEach((f) => {
4528
- Ot(f, Lt[f]);
4561
+ Object.keys(It).forEach((f) => {
4562
+ Lt(f, It[f]);
4529
4563
  });
4530
- const _r = () => {
4531
- ot == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4564
+ const Er = () => {
4565
+ at == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4532
4566
  // @ts-ignore
4533
4567
  id: "MYGAMES",
4534
- name: L,
4568
+ name: I,
4535
4569
  href: "",
4536
4570
  games: []
4537
- }), Dr(), ot = !0, r(25, Ne = !0), Oe();
4538
- }, Er = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(14, $ = !0), r(12, M = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(14, $ = !0), r(12, M = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(14, $ = !0), r(12, M = !1), console.error(X)), $), xr = () => {
4539
- if (L = n("myGamesName"), I = n("lobbyName"), !Er()) {
4571
+ }), Ur(), at = !0, r(26, Oe = !0), Le();
4572
+ }, xr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), Sr = () => {
4573
+ if (I = n("myGamesName"), F = n("lobbyName"), !xr()) {
4540
4574
  let f = new URL(`${i}/v1/casino/groups/${s}`);
4541
- f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", Ki(yr)), fetch(f).then((H) => H.json()).then(
4542
- (H) => {
4543
- let D = T.split(","), Ar = H.items.filter((ut) => {
4544
- let Le = !1;
4545
- if (ut.games.total > 0 && (Le = !0, T))
4546
- for (let Br of D)
4547
- ut.flags == Br && (Le = !1);
4548
- return Le;
4575
+ f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", Ji(vr)), fetch(f).then((B) => B.json()).then(
4576
+ (B) => {
4577
+ let be = w.split(","), Hr = B.items.filter((ht) => {
4578
+ let Ie = !1;
4579
+ if (ht.games.total > 0 && (Ie = !0, w))
4580
+ for (let Ar of be)
4581
+ ht.flags == Ar && (Ie = !1);
4582
+ return Ie;
4549
4583
  });
4550
- W = [], W = W.concat(Ar), W.unshift({
4584
+ W = [], W = W.concat(Hr), W.unshift({
4551
4585
  // @ts-ignore
4552
4586
  id: "LOBBY",
4553
- name: I,
4587
+ name: F,
4554
4588
  href: "",
4555
4589
  games: []
4556
- }), r(12, M = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4590
+ }), r(13, $ = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4557
4591
  },
4558
- (H) => {
4559
- r(14, $ = !0), console.error("There was an error while fetching the categories", H);
4592
+ (B) => {
4593
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4560
4594
  }
4561
- ).catch((H) => {
4562
- r(14, $ = !0), console.error("There was an error while fetching the categories", H);
4595
+ ).catch((B) => {
4596
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4563
4597
  });
4564
4598
  }
4565
- }, Sr = () => {
4599
+ }, wr = () => {
4566
4600
  let f = b.split("$");
4567
4601
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4568
- }, Tr = () => {
4569
- let f = document.createElement("style");
4570
- f.innerHTML = c, j.appendChild(f);
4571
- }, wr = () => {
4572
- let f = document.createElement("style"), H = new URL(d);
4573
- fetch(H.href).then((D) => D.text()).then((D) => {
4574
- f.innerHTML = D, setTimeout(
4575
- () => {
4576
- j.appendChild(f);
4577
- },
4578
- 1
4579
- );
4580
- });
4581
- }, Oe = () => {
4602
+ }, Le = () => {
4582
4603
  window.postMessage(
4583
4604
  {
4584
4605
  type: "SliderData",
4585
- identity: rt,
4606
+ identity: nt,
4586
4607
  data: W
4587
4608
  },
4588
4609
  window.location.href
4589
4610
  );
4590
- }, at = (f) => {
4591
- f.data && f.data.type == "SliderLoaded" && rt == f.data.identity && Oe();
4611
+ }, ut = (f) => {
4612
+ f.data && f.data.type == "SliderLoaded" && nt == f.data.identity && Le();
4592
4613
  };
4593
- Ur(() => (window.addEventListener("message", at, !1), () => {
4594
- window.removeEventListener("message", at);
4614
+ Gr(() => (window.addEventListener("message", ut, !1), () => {
4615
+ window.removeEventListener("message", ut);
4595
4616
  }));
4596
- function Hr(f) {
4597
- Fe[f ? "unshift" : "push"](() => {
4598
- j = f, r(13, j);
4617
+ function Tr(f) {
4618
+ $e[f ? "unshift" : "push"](() => {
4619
+ R = f, r(14, R);
4599
4620
  });
4600
4621
  }
4601
4622
  return e.$$set = (f) => {
4602
- "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, w = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, T = 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, E = f.mygamesiconimage);
4623
+ "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(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, 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(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, N = f.showsubgroups), "filteredcategories" in f && r(24, w = f.filteredcategories), "translationurl" in f && r(25, O = f.translationurl), "categoriesicon" in f && r(9, L = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4603
4624
  }, e.$$.update = () => {
4604
4625
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4605
- 14 && i && s && o && xr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4606
- 3936258 && i && h && (u || l || m) && !M && _r(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4607
- 33820673 && !M && b && (!h || Ne) && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4608
- 8208 && c && j && Tr(), e.$$.dirty[0] & /*translationurl*/
4609
- 16777216 && N && vr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4610
- 8224 && d && j && wr();
4611
- }, r(15, st = 0), [
4626
+ 14 && i && s && o && Sr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4627
+ 7872514 && i && h && (u || l || m) && !$ && Er(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4628
+ 67641345 && !$ && b && (!h || Oe) && wr(), e.$$.dirty[0] & /*translationurl*/
4629
+ 33554432 && O && _r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4630
+ 16400 && c && R && Ki(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4631
+ 16416 && d && R && es(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4632
+ 20480 && R && ts(R, `${A}.Style`);
4633
+ }, r(16, ot = 0), [
4612
4634
  b,
4613
4635
  i,
4614
4636
  s,
@@ -4617,58 +4639,60 @@ function as(e, t, r) {
4617
4639
  d,
4618
4640
  y,
4619
4641
  C,
4620
- P,
4621
- O,
4622
- R,
4623
- E,
4642
+ N,
4643
+ L,
4624
4644
  M,
4625
- j,
4645
+ E,
4646
+ A,
4626
4647
  $,
4627
- st,
4628
- Oe,
4648
+ R,
4649
+ j,
4650
+ ot,
4651
+ Le,
4629
4652
  a,
4630
4653
  h,
4631
4654
  u,
4632
4655
  l,
4633
4656
  m,
4634
- w,
4635
4657
  T,
4636
- N,
4637
- Ne,
4638
- Hr
4658
+ w,
4659
+ O,
4660
+ Oe,
4661
+ Tr
4639
4662
  ];
4640
4663
  }
4641
- class us extends Zr {
4664
+ class ls extends zr {
4642
4665
  constructor(t) {
4643
- super(), Wr(
4666
+ super(), Xr(
4644
4667
  this,
4645
4668
  t,
4646
- as,
4647
- is,
4648
- Ct,
4669
+ hs,
4670
+ os,
4671
+ Mt,
4649
4672
  {
4650
4673
  endpoint: 1,
4651
4674
  datasource: 2,
4652
4675
  lang: 3,
4653
- userid: 17,
4654
- session: 18,
4655
- mostplayed: 19,
4656
- lastplayed: 20,
4657
- favorites: 21,
4676
+ userid: 18,
4677
+ session: 19,
4678
+ mostplayed: 20,
4679
+ lastplayed: 21,
4680
+ favorites: 22,
4658
4681
  clientstyling: 4,
4659
4682
  clientstylingurl: 5,
4660
4683
  activecategory: 0,
4661
4684
  actionevent: 6,
4662
- sessioncheck: 22,
4685
+ sessioncheck: 23,
4663
4686
  location: 7,
4664
4687
  showsubgroups: 8,
4665
- filteredcategories: 23,
4666
- translationurl: 24,
4688
+ filteredcategories: 24,
4689
+ translationurl: 25,
4667
4690
  categoriesicon: 9,
4668
4691
  lobbyiconimage: 10,
4669
- mygamesiconimage: 11
4692
+ mygamesiconimage: 11,
4693
+ mbsource: 12
4670
4694
  },
4671
- es,
4695
+ rs,
4672
4696
  [-1, -1]
4673
4697
  );
4674
4698
  }
@@ -4691,31 +4715,31 @@ class us extends Zr {
4691
4715
  this.$$set({ lang: t }), S();
4692
4716
  }
4693
4717
  get userid() {
4694
- return this.$$.ctx[17];
4718
+ return this.$$.ctx[18];
4695
4719
  }
4696
4720
  set userid(t) {
4697
4721
  this.$$set({ userid: t }), S();
4698
4722
  }
4699
4723
  get session() {
4700
- return this.$$.ctx[18];
4724
+ return this.$$.ctx[19];
4701
4725
  }
4702
4726
  set session(t) {
4703
4727
  this.$$set({ session: t }), S();
4704
4728
  }
4705
4729
  get mostplayed() {
4706
- return this.$$.ctx[19];
4730
+ return this.$$.ctx[20];
4707
4731
  }
4708
4732
  set mostplayed(t) {
4709
4733
  this.$$set({ mostplayed: t }), S();
4710
4734
  }
4711
4735
  get lastplayed() {
4712
- return this.$$.ctx[20];
4736
+ return this.$$.ctx[21];
4713
4737
  }
4714
4738
  set lastplayed(t) {
4715
4739
  this.$$set({ lastplayed: t }), S();
4716
4740
  }
4717
4741
  get favorites() {
4718
- return this.$$.ctx[21];
4742
+ return this.$$.ctx[22];
4719
4743
  }
4720
4744
  set favorites(t) {
4721
4745
  this.$$set({ favorites: t }), S();
@@ -4745,7 +4769,7 @@ class us extends Zr {
4745
4769
  this.$$set({ actionevent: t }), S();
4746
4770
  }
4747
4771
  get sessioncheck() {
4748
- return this.$$.ctx[22];
4772
+ return this.$$.ctx[23];
4749
4773
  }
4750
4774
  set sessioncheck(t) {
4751
4775
  this.$$set({ sessioncheck: t }), S();
@@ -4763,13 +4787,13 @@ class us extends Zr {
4763
4787
  this.$$set({ showsubgroups: t }), S();
4764
4788
  }
4765
4789
  get filteredcategories() {
4766
- return this.$$.ctx[23];
4790
+ return this.$$.ctx[24];
4767
4791
  }
4768
4792
  set filteredcategories(t) {
4769
4793
  this.$$set({ filteredcategories: t }), S();
4770
4794
  }
4771
4795
  get translationurl() {
4772
- return this.$$.ctx[24];
4796
+ return this.$$.ctx[25];
4773
4797
  }
4774
4798
  set translationurl(t) {
4775
4799
  this.$$set({ translationurl: t }), S();
@@ -4792,36 +4816,45 @@ class us extends Zr {
4792
4816
  set mygamesiconimage(t) {
4793
4817
  this.$$set({ mygamesiconimage: t }), S();
4794
4818
  }
4819
+ get mbsource() {
4820
+ return this.$$.ctx[12];
4821
+ }
4822
+ set mbsource(t) {
4823
+ this.$$set({ mbsource: t }), S();
4824
+ }
4795
4825
  }
4796
- zr(us, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4826
+ Wr(ls, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4797
4827
  export {
4798
4828
  de as $,
4799
- us as C,
4800
- Zr as S,
4829
+ Ki as A,
4830
+ es as B,
4831
+ ts as C,
4832
+ ls as D,
4833
+ zr as S,
4801
4834
  me as a,
4802
- mr as b,
4803
- zr as c,
4804
- Lr as d,
4805
- ie as e,
4835
+ dr as b,
4836
+ Wr as c,
4837
+ Or as d,
4838
+ ne as e,
4806
4839
  S as f,
4807
- J as g,
4808
- fe as h,
4809
- Wr as i,
4810
- Rt as j,
4840
+ fe as g,
4841
+ ce as h,
4842
+ Xr as i,
4843
+ Gt as j,
4811
4844
  k,
4812
- ms as l,
4813
- cs as m,
4814
- B as n,
4815
- Ur as o,
4816
- bs as p,
4817
- fs as q,
4818
- ne as r,
4819
- Ct as s,
4820
- Fe as t,
4821
- gs as u,
4822
- hs as v,
4823
- ds as w,
4824
- Gt as x,
4825
- ls as y,
4826
- ps as z
4845
+ bs as l,
4846
+ ms as m,
4847
+ P as n,
4848
+ Gr as o,
4849
+ gs as p,
4850
+ ds as q,
4851
+ re as r,
4852
+ Mt as s,
4853
+ $e as t,
4854
+ vs as u,
4855
+ cs as v,
4856
+ ps as w,
4857
+ Ut as x,
4858
+ fs as y,
4859
+ ys as z
4827
4860
  };