@everymatrix/casino-categories-slider 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Rr = Object.defineProperty, Gr = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
1
+ var Fr = Object.defineProperty, $r = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var pt = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dr.call(t, r) && Ie(e, r, t[r]);
8
- if (ct)
9
- for (var r of ct(t))
10
- Fr.call(t, r) && Ie(e, r, t[r]);
7
+ kr.call(t, r) && Me(e, r, t[r]);
8
+ if (pt)
9
+ for (var r of pt(t))
10
+ Vr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, mt = (e, t) => Gr(e, Ur(t));
13
- var R = (e, t, r) => Ie(e, typeof t != "symbol" ? t + "" : t, r);
14
- var dt = (e, t, r) => new Promise((n, i) => {
12
+ }, yt = (e, t) => $r(e, jr(t));
13
+ var M = (e, t, r) => Me(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var vt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,56 +27,56 @@ var dt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function B() {
30
+ function P() {
31
31
  }
32
- function Dt(e) {
32
+ function Vt(e) {
33
33
  return e();
34
34
  }
35
- function bt() {
35
+ function Et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ie(e) {
39
- e.forEach(Dt);
39
+ e.forEach(Vt);
40
40
  }
41
- function we(e) {
41
+ function He(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ft(e, t) {
44
+ function Xt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let pe;
48
- function _s(e, t) {
49
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
47
+ let ge;
48
+ function As(e, t) {
49
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
- function $r(e) {
51
+ function Xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function $t(e, ...t) {
54
+ function Wt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return B;
58
+ return P;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function jr(e, t, r) {
64
- e.$$.on_destroy.push($t(t, r));
63
+ function Wr(e, t, r) {
64
+ e.$$.on_destroy.push(Wt(t, r));
65
65
  }
66
- function kr(e) {
67
- return e && we(e.destroy) ? e.destroy : B;
66
+ function zr(e) {
67
+ return e && He(e.destroy) ? e.destroy : P;
68
68
  }
69
- function jt(e, t) {
69
+ function zt(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function Vr(e, t, r) {
73
- const n = Xr(e);
72
+ function Zr(e, t, r) {
73
+ const n = Qr(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = V("style");
76
- i.id = t, i.textContent = r, Wr(n, i);
76
+ i.id = t, i.textContent = r, Yr(n, i);
77
77
  }
78
78
  }
79
- function Xr(e) {
79
+ function Qr(e) {
80
80
  if (!e) return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
82
  return t && /** @type {ShadowRoot} */
@@ -85,8 +85,8 @@ function Xr(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function Wr(e, t) {
89
- return jt(
88
+ function Yr(e, t) {
89
+ return zt(
90
90
  /** @type {Document} */
91
91
  e.head || e,
92
92
  t
@@ -98,23 +98,23 @@ function me(e, t, r) {
98
98
  function se(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
- function xs(e, t) {
101
+ function Bs(e, t) {
102
102
  for (let r = 0; r < e.length; r += 1)
103
103
  e[r] && e[r].d(t);
104
104
  }
105
105
  function V(e) {
106
106
  return document.createElement(e);
107
107
  }
108
- function kt(e) {
108
+ function Zt(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function Ss() {
112
- return kt(" ");
111
+ function Ps() {
112
+ return Zt(" ");
113
113
  }
114
- function Ts() {
115
- return kt("");
114
+ function Ns() {
115
+ return Zt("");
116
116
  }
117
- function ws(e, t, r, n) {
117
+ function Os(e, t, r, n) {
118
118
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
119
  }
120
120
  function K(e, t, r) {
@@ -124,14 +124,14 @@ function E(e, t, r) {
124
124
  const n = t.toLowerCase();
125
125
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
126
126
  }
127
- function zr(e) {
127
+ function qr(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
- function Hs(e, t) {
130
+ function Ls(e, t) {
131
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
132
  t);
133
133
  }
134
- function Zr(e) {
134
+ function Jr(e) {
135
135
  const t = {};
136
136
  return e.childNodes.forEach(
137
137
  /** @param {Element} node */
@@ -144,27 +144,27 @@ let le;
144
144
  function he(e) {
145
145
  le = e;
146
146
  }
147
- function Qr() {
147
+ function Kr() {
148
148
  if (!le) throw new Error("Function called outside component initialization");
149
149
  return le;
150
150
  }
151
- function Yr(e) {
152
- Qr().$$.on_mount.push(e);
151
+ function en(e) {
152
+ Kr().$$.on_mount.push(e);
153
153
  }
154
- const Y = [], je = [];
154
+ const Y = [], Ve = [];
155
155
  let q = [];
156
- const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
157
- let ke = !1;
158
- function Xt() {
159
- ke || (ke = !0, Vt.then(S));
156
+ const _t = [], Qt = /* @__PURE__ */ Promise.resolve();
157
+ let Xe = !1;
158
+ function Yt() {
159
+ Xe || (Xe = !0, Qt.then(S));
160
160
  }
161
- function qr() {
162
- return Xt(), Vt;
161
+ function tn() {
162
+ return Yt(), Qt;
163
163
  }
164
- function Ve(e) {
164
+ function We(e) {
165
165
  q.push(e);
166
166
  }
167
- const Me = /* @__PURE__ */ new Set();
167
+ const Re = /* @__PURE__ */ new Set();
168
168
  let Z = 0;
169
169
  function S() {
170
170
  if (Z !== 0)
@@ -174,83 +174,83 @@ function S() {
174
174
  try {
175
175
  for (; Z < Y.length; ) {
176
176
  const t = Y[Z];
177
- Z++, he(t), Jr(t.$$);
177
+ Z++, he(t), rn(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw Y.length = 0, Z = 0, t;
181
181
  }
182
- for (he(null), Y.length = 0, Z = 0; je.length; ) je.pop()();
182
+ for (he(null), Y.length = 0, Z = 0; Ve.length; ) Ve.pop()();
183
183
  for (let t = 0; t < q.length; t += 1) {
184
184
  const r = q[t];
185
- Me.has(r) || (Me.add(r), r());
185
+ Re.has(r) || (Re.add(r), r());
186
186
  }
187
187
  q.length = 0;
188
188
  } while (Y.length);
189
- for (; pt.length; )
190
- pt.pop()();
191
- ke = !1, Me.clear(), he(e);
189
+ for (; _t.length; )
190
+ _t.pop()();
191
+ Xe = !1, Re.clear(), he(e);
192
192
  }
193
- function Jr(e) {
193
+ function rn(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), ie(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
198
198
  }
199
199
  }
200
- function Kr(e) {
200
+ function nn(e) {
201
201
  const t = [], r = [];
202
202
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
203
203
  }
204
- const en = /* @__PURE__ */ new Set();
205
- function Wt(e, t) {
206
- e && e.i && (en.delete(e), e.i(t));
204
+ const sn = /* @__PURE__ */ new Set();
205
+ function qt(e, t) {
206
+ e && e.i && (sn.delete(e), e.i(t));
207
207
  }
208
- function As(e) {
208
+ function Cs(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Bs(e, t) {
211
+ function Is(e, t) {
212
212
  e.d(1), t.delete(e.key);
213
213
  }
214
- function Ps(e, t, r, n, i, s, o, a, h, u, l, m) {
214
+ function Ms(e, t, r, n, i, s, o, a, h, u, l, m) {
215
215
  let c = e.length, d = s.length, b = c;
216
216
  const y = {};
217
217
  for (; b--; ) y[e[b].key] = b;
218
- const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
218
+ const T = [], I = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = [];
219
219
  for (b = d; b--; ) {
220
- const _ = m(i, s, b), L = r(_);
221
- let C = o.get(L);
222
- C ? T.push(() => C.p(_, t)) : (C = u(L, _), C.c()), I.set(L, w[b] = C), L in y && P.set(L, Math.abs(b - y[L]));
220
+ const _ = m(i, s, b), A = r(_);
221
+ let C = o.get(A);
222
+ C ? w.push(() => C.p(_, t)) : (C = u(A, _), C.c()), I.set(A, T[b] = C), A in y && N.set(A, Math.abs(b - y[A]));
223
223
  }
224
- const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
225
- function G(_) {
226
- Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
224
+ const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
225
+ function R(_) {
226
+ qt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
227
227
  }
228
228
  for (; c && d; ) {
229
- const _ = w[d - 1], L = e[c - 1], C = _.key, M = L.key;
230
- _ === L ? (l = _.first, c--, d--) : I.has(M) ? !o.has(C) || N.has(C) ? G(_) : O.has(M) ? c-- : P.get(C) > P.get(M) ? (O.add(C), G(_)) : (N.add(M), c--) : (h(L, o), c--);
229
+ const _ = T[d - 1], A = e[c - 1], C = _.key, $ = A.key;
230
+ _ === A ? (l = _.first, c--, d--) : I.has($) ? !o.has(C) || O.has(C) ? R(_) : L.has($) ? c-- : N.get(C) > N.get($) ? (L.add(C), R(_)) : (O.add($), c--) : (h(A, o), c--);
231
231
  }
232
232
  for (; c--; ) {
233
233
  const _ = e[c];
234
234
  I.has(_.key) || h(_, o);
235
235
  }
236
- for (; d; ) G(w[d - 1]);
237
- return ie(T), w;
236
+ for (; d; ) R(T[d - 1]);
237
+ return ie(w), T;
238
238
  }
239
- function tn(e, t, r) {
239
+ function on(e, t, r) {
240
240
  const { fragment: n, after_update: i } = e.$$;
241
- n && n.m(t, r), Ve(() => {
242
- const s = e.$$.on_mount.map(Dt).filter(we);
241
+ n && n.m(t, r), We(() => {
242
+ const s = e.$$.on_mount.map(Vt).filter(He);
243
243
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
244
- }), i.forEach(Ve);
244
+ }), i.forEach(We);
245
245
  }
246
- function rn(e, t) {
246
+ function an(e, t) {
247
247
  const r = e.$$;
248
- r.fragment !== null && (Kr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
248
+ r.fragment !== null && (nn(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
249
249
  }
250
- function nn(e, t) {
251
- e.$$.dirty[0] === -1 && (Y.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
250
+ function un(e, t) {
251
+ e.$$.dirty[0] === -1 && (Y.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
252
252
  }
253
- function sn(e, t, r, n, i, s, o = null, a = [-1]) {
253
+ function hn(e, t, r, n, i, s, o = null, a = [-1]) {
254
254
  const h = le;
255
255
  he(e);
256
256
  const u = e.$$ = {
@@ -258,9 +258,9 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
258
258
  ctx: [],
259
259
  // state
260
260
  props: s,
261
- update: B,
261
+ update: P,
262
262
  not_equal: i,
263
- bound: bt(),
263
+ bound: Et(),
264
264
  // lifecycle
265
265
  on_mount: [],
266
266
  on_destroy: [],
@@ -269,7 +269,7 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
269
269
  after_update: [],
270
270
  context: new Map(t.context || (h ? h.$$.context : [])),
271
271
  // everything else
272
- callbacks: bt(),
272
+ callbacks: Et(),
273
273
  dirty: a,
274
274
  skip_bound: !1,
275
275
  root: t.target || h.$$.root
@@ -278,39 +278,39 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
278
278
  let l = !1;
279
279
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
280
280
  const b = d.length ? d[0] : c;
281
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && nn(e, m)), c;
281
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && un(e, m)), c;
282
282
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
283
283
  if (t.hydrate) {
284
- const m = zr(t.target);
284
+ const m = qr(t.target);
285
285
  u.fragment && u.fragment.l(m), m.forEach(se);
286
286
  } else
287
287
  u.fragment && u.fragment.c();
288
- t.intro && Wt(e.$$.fragment), tn(e, t.target, t.anchor), S();
288
+ t.intro && qt(e.$$.fragment), on(e, t.target, t.anchor), S();
289
289
  }
290
290
  he(h);
291
291
  }
292
- let zt;
293
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
292
+ let Jt;
293
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
294
294
  constructor(t, r, n) {
295
295
  super();
296
296
  /** The Svelte component constructor */
297
- R(this, "$$ctor");
297
+ M(this, "$$ctor");
298
298
  /** Slots */
299
- R(this, "$$s");
299
+ M(this, "$$s");
300
300
  /** The Svelte component instance */
301
- R(this, "$$c");
301
+ M(this, "$$c");
302
302
  /** Whether or not the custom element is connected */
303
- R(this, "$$cn", !1);
303
+ M(this, "$$cn", !1);
304
304
  /** Component props data */
305
- R(this, "$$d", {});
305
+ M(this, "$$d", {});
306
306
  /** `true` if currently in the process of reflecting component props back to attributes */
307
- R(this, "$$r", !1);
307
+ M(this, "$$r", !1);
308
308
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
309
- R(this, "$$p_d", {});
309
+ M(this, "$$p_d", {});
310
310
  /** @type {Record<string, Function[]>} Event listeners */
311
- R(this, "$$l", {});
311
+ M(this, "$$l", {});
312
312
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
313
- R(this, "$$l_u", /* @__PURE__ */ new Map());
313
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
314
314
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
315
315
  }
316
316
  addEventListener(t, r, n) {
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
327
327
  }
328
328
  }
329
329
  connectedCallback() {
330
- return dt(this, null, function* () {
330
+ return vt(this, null, function* () {
331
331
  if (this.$$cn = !0, !this.$$c) {
332
332
  let t = function(s) {
333
333
  return () => {
@@ -351,18 +351,18 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
351
351
  };
352
352
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
353
353
  return;
354
- const r = {}, n = Zr(this);
354
+ const r = {}, n = Jr(this);
355
355
  for (const s of this.$$s)
356
356
  s in n && (r[s] = [t(s)]);
357
357
  for (const s of this.attributes) {
358
358
  const o = this.$$g_p(s.name);
359
- o in this.$$d || (this.$$d[o] = ve(o, s.value, this.$$p_d, "toProp"));
359
+ o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
360
360
  }
361
361
  for (const s in this.$$p_d)
362
362
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
363
363
  this.$$c = new this.$$ctor({
364
364
  target: this.shadowRoot || this,
365
- props: mt(ft({}, this.$$d), {
365
+ props: yt(gt({}, this.$$d), {
366
366
  $$slots: r,
367
367
  $$scope: {
368
368
  ctx: []
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
373
373
  this.$$r = !0;
374
374
  for (const s in this.$$p_d)
375
375
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
376
- const o = ve(
376
+ const o = Ee(
377
377
  s,
378
378
  this.$$d[s],
379
379
  this.$$p_d,
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
397
397
  // and setting attributes through setAttribute etc, this is helpful
398
398
  attributeChangedCallback(t, r, n) {
399
399
  var i;
400
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
400
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
401
401
  }
402
402
  disconnectedCallback() {
403
403
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
410
410
  ) || t;
411
411
  }
412
412
  });
413
- function ve(e, t, r, n) {
413
+ function Ee(e, t, r, n) {
414
414
  var s;
415
415
  const i = (s = r[e]) == null ? void 0 : s.type;
416
416
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -440,8 +440,8 @@ function ve(e, t, r, n) {
440
440
  return t;
441
441
  }
442
442
  }
443
- function on(e, t, r, n, i, s) {
444
- let o = class extends zt {
443
+ function ln(e, t, r, n, i, s) {
444
+ let o = class extends Jt {
445
445
  constructor() {
446
446
  super(e, r, i), this.$$p_d = t;
447
447
  }
@@ -458,7 +458,7 @@ function on(e, t, r, n, i, s) {
458
458
  },
459
459
  set(h) {
460
460
  var u;
461
- h = ve(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
461
+ h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
462
462
  }
463
463
  });
464
464
  }), n.forEach((a) => {
@@ -471,7 +471,7 @@ function on(e, t, r, n, i, s) {
471
471
  }), e.element = /** @type {any} */
472
472
  o, o;
473
473
  }
474
- class an {
474
+ class cn {
475
475
  constructor() {
476
476
  /**
477
477
  * ### PRIVATE API
@@ -480,7 +480,7 @@ class an {
480
480
  *
481
481
  * @type {any}
482
482
  */
483
- R(this, "$$");
483
+ M(this, "$$");
484
484
  /**
485
485
  * ### PRIVATE API
486
486
  *
@@ -488,11 +488,11 @@ class an {
488
488
  *
489
489
  * @type {any}
490
490
  */
491
- R(this, "$$set");
491
+ M(this, "$$set");
492
492
  }
493
493
  /** @returns {void} */
494
494
  $destroy() {
495
- rn(this, 1), this.$destroy = B;
495
+ an(this, 1), this.$destroy = P;
496
496
  }
497
497
  /**
498
498
  * @template {Extract<keyof Events, string>} K
@@ -501,8 +501,8 @@ class an {
501
501
  * @returns {() => void}
502
502
  */
503
503
  $on(t, r) {
504
- if (!we(r))
505
- return B;
504
+ if (!He(r))
505
+ return P;
506
506
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
507
507
  return n.push(r), () => {
508
508
  const i = n.indexOf(r);
@@ -514,22 +514,22 @@ class an {
514
514
  * @returns {void}
515
515
  */
516
516
  $set(t) {
517
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
518
  }
519
519
  }
520
- const un = "4";
521
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
522
- var Xe = function(e, t) {
523
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
520
+ const fn = "4";
521
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
522
+ var ze = function(e, t) {
523
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
524
524
  r.__proto__ = n;
525
525
  } || function(r, n) {
526
526
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
527
- }, Xe(e, t);
527
+ }, ze(e, t);
528
528
  };
529
529
  function D(e, t) {
530
530
  if (typeof t != "function" && t !== null)
531
531
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
532
- Xe(e, t);
532
+ ze(e, t);
533
533
  function r() {
534
534
  this.constructor = e;
535
535
  }
@@ -544,7 +544,7 @@ var v = function() {
544
544
  return t;
545
545
  }, v.apply(this, arguments);
546
546
  };
547
- function hn(e, t) {
547
+ function mn(e, t) {
548
548
  var r = {};
549
549
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
550
550
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -552,7 +552,7 @@ function hn(e, t) {
552
552
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
553
553
  return r;
554
554
  }
555
- function We(e) {
555
+ function Ze(e) {
556
556
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
557
557
  if (r) return r.call(e);
558
558
  if (e && typeof e.length == "number") return {
@@ -562,7 +562,7 @@ function We(e) {
562
562
  };
563
563
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
564
564
  }
565
- function ze(e, t) {
565
+ function Qe(e, t) {
566
566
  var r = typeof Symbol == "function" && e[Symbol.iterator];
567
567
  if (!r) return e;
568
568
  var n = r.call(e), i, s = [], o;
@@ -587,13 +587,13 @@ function J(e, t, r) {
587
587
  function U(e) {
588
588
  return typeof e == "function";
589
589
  }
590
- function Zt(e) {
590
+ function Kt(e) {
591
591
  var t = function(n) {
592
592
  Error.call(n), n.stack = new Error().stack;
593
593
  }, r = e(t);
594
594
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
595
595
  }
596
- var Re = Zt(function(e) {
596
+ var Ge = Kt(function(e) {
597
597
  return function(r) {
598
598
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
599
599
  ` + r.map(function(n, i) {
@@ -602,13 +602,13 @@ var Re = Zt(function(e) {
602
602
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
603
603
  };
604
604
  });
605
- function Ze(e, t) {
605
+ function Ye(e, t) {
606
606
  if (e) {
607
607
  var r = e.indexOf(t);
608
608
  0 <= r && e.splice(r, 1);
609
609
  }
610
610
  }
611
- var He = function() {
611
+ var Ae = function() {
612
612
  function e(t) {
613
613
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
614
614
  }
@@ -620,7 +620,7 @@ var He = function() {
620
620
  if (o)
621
621
  if (this._parentage = null, Array.isArray(o))
622
622
  try {
623
- for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
623
+ for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
624
624
  var u = h.value;
625
625
  u.remove(this);
626
626
  }
@@ -640,18 +640,18 @@ var He = function() {
640
640
  try {
641
641
  l();
642
642
  } catch (y) {
643
- s = y instanceof Re ? y.errors : [y];
643
+ s = y instanceof Ge ? y.errors : [y];
644
644
  }
645
645
  var m = this._finalizers;
646
646
  if (m) {
647
647
  this._finalizers = null;
648
648
  try {
649
- for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
649
+ for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
650
650
  var b = d.value;
651
651
  try {
652
- gt(b);
652
+ xt(b);
653
653
  } catch (y) {
654
- s = s != null ? s : [], y instanceof Re ? s = J(J([], ze(s)), ze(y.errors)) : s.push(y);
654
+ s = s != null ? s : [], y instanceof Ge ? s = J(J([], Qe(s)), Qe(y.errors)) : s.push(y);
655
655
  }
656
656
  }
657
657
  } catch (y) {
@@ -665,13 +665,13 @@ var He = function() {
665
665
  }
666
666
  }
667
667
  if (s)
668
- throw new Re(s);
668
+ throw new Ge(s);
669
669
  }
670
670
  }, e.prototype.add = function(t) {
671
671
  var r;
672
672
  if (t && t !== this)
673
673
  if (this.closed)
674
- gt(t);
674
+ xt(t);
675
675
  else {
676
676
  if (t instanceof e) {
677
677
  if (t.closed || t._hasParent(this))
@@ -688,52 +688,56 @@ var He = function() {
688
688
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
689
689
  }, e.prototype._removeParent = function(t) {
690
690
  var r = this._parentage;
691
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
691
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
692
692
  }, e.prototype.remove = function(t) {
693
693
  var r = this._finalizers;
694
- r && Ze(r, t), t instanceof e && t._removeParent(this);
694
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
695
695
  }, e.EMPTY = function() {
696
696
  var t = new e();
697
697
  return t.closed = !0, t;
698
698
  }(), e;
699
- }(), Qt = He.EMPTY;
700
- function Yt(e) {
701
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
699
+ }(), er = Ae.EMPTY;
700
+ function tr(e) {
701
+ return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
702
702
  }
703
- function gt(e) {
703
+ function xt(e) {
704
704
  U(e) ? e() : e.unsubscribe();
705
705
  }
706
- var ln = {
707
- Promise: void 0
708
- }, cn = {
706
+ var rr = {
707
+ onUnhandledError: null,
708
+ onStoppedNotification: null,
709
+ Promise: void 0,
710
+ useDeprecatedSynchronousErrorHandling: !1,
711
+ useDeprecatedNextContext: !1
712
+ }, dn = {
709
713
  setTimeout: function(e, t) {
710
714
  for (var r = [], n = 2; n < arguments.length; n++)
711
715
  r[n - 2] = arguments[n];
712
- return setTimeout.apply(void 0, J([e, t], ze(r)));
716
+ return setTimeout.apply(void 0, J([e, t], Qe(r)));
713
717
  },
714
718
  clearTimeout: function(e) {
715
719
  return clearTimeout(e);
716
720
  },
717
721
  delegate: void 0
718
722
  };
719
- function fn(e) {
720
- cn.setTimeout(function() {
723
+ function bn(e) {
724
+ dn.setTimeout(function() {
721
725
  throw e;
722
726
  });
723
727
  }
724
- function yt() {
728
+ function St() {
725
729
  }
726
- function Ee(e) {
730
+ function _e(e) {
727
731
  e();
728
732
  }
729
- var qt = function(e) {
733
+ var nr = function(e) {
730
734
  D(t, e);
731
735
  function t(r) {
732
736
  var n = e.call(this) || this;
733
- return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = bn, n;
737
+ return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = vn, n;
734
738
  }
735
739
  return t.create = function(r, n, i) {
736
- return new Qe(r, n, i);
740
+ return new qe(r, n, i);
737
741
  }, t.prototype.next = function(r) {
738
742
  this.isStopped || this._next(r);
739
743
  }, t.prototype.error = function(r) {
@@ -757,7 +761,11 @@ var qt = function(e) {
757
761
  this.unsubscribe();
758
762
  }
759
763
  }, t;
760
- }(He), mn = function() {
764
+ }(Ae), pn = Function.prototype.bind;
765
+ function Ue(e, t) {
766
+ return pn.call(e, t);
767
+ }
768
+ var gn = function() {
761
769
  function e(t) {
762
770
  this.partialObserver = t;
763
771
  }
@@ -767,7 +775,7 @@ var qt = function(e) {
767
775
  try {
768
776
  r.next(t);
769
777
  } catch (n) {
770
- ge(n);
778
+ ye(n);
771
779
  }
772
780
  }, e.prototype.error = function(t) {
773
781
  var r = this.partialObserver;
@@ -775,56 +783,68 @@ var qt = function(e) {
775
783
  try {
776
784
  r.error(t);
777
785
  } catch (n) {
778
- ge(n);
786
+ ye(n);
779
787
  }
780
788
  else
781
- ge(t);
789
+ ye(t);
782
790
  }, e.prototype.complete = function() {
783
791
  var t = this.partialObserver;
784
792
  if (t.complete)
785
793
  try {
786
794
  t.complete();
787
795
  } catch (r) {
788
- ge(r);
796
+ ye(r);
789
797
  }
790
798
  }, e;
791
- }(), Qe = function(e) {
799
+ }(), qe = function(e) {
792
800
  D(t, e);
793
801
  function t(r, n, i) {
794
802
  var s = e.call(this) || this, o;
795
- return U(r) || !r ? o = {
796
- next: r != null ? r : void 0,
797
- error: n != null ? n : void 0,
798
- complete: i != null ? i : void 0
799
- } : o = r, s.destination = new mn(o), s;
803
+ if (U(r) || !r)
804
+ o = {
805
+ next: r != null ? r : void 0,
806
+ error: n != null ? n : void 0,
807
+ complete: i != null ? i : void 0
808
+ };
809
+ else {
810
+ var a;
811
+ s && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
812
+ return s.unsubscribe();
813
+ }, o = {
814
+ next: r.next && Ue(r.next, a),
815
+ error: r.error && Ue(r.error, a),
816
+ complete: r.complete && Ue(r.complete, a)
817
+ }) : o = r;
818
+ }
819
+ return s.destination = new gn(o), s;
800
820
  }
801
821
  return t;
802
- }(qt);
803
- function ge(e) {
804
- fn(e);
822
+ }(nr);
823
+ function ye(e) {
824
+ bn(e);
805
825
  }
806
- function dn(e) {
826
+ function yn(e) {
807
827
  throw e;
808
828
  }
809
- var bn = {
829
+ var vn = {
810
830
  closed: !0,
811
- next: yt,
812
- error: dn,
813
- complete: yt
814
- }, pn = function() {
831
+ next: St,
832
+ error: yn,
833
+ complete: St
834
+ }, En = function() {
815
835
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
816
836
  }();
817
- function gn(e) {
837
+ function _n(e) {
818
838
  return e;
819
839
  }
820
- function yn(e) {
821
- return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
840
+ function xn(e) {
841
+ return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
822
842
  return e.reduce(function(n, i) {
823
843
  return i(n);
824
844
  }, r);
825
845
  };
826
846
  }
827
- var vt = function() {
847
+ var wt = function() {
828
848
  function e(t) {
829
849
  t && (this._subscribe = t);
830
850
  }
@@ -832,8 +852,8 @@ var vt = function() {
832
852
  var r = new e();
833
853
  return r.source = this, r.operator = t, r;
834
854
  }, e.prototype.subscribe = function(t, r, n) {
835
- var i = this, s = En(t) ? t : new Qe(t, r, n);
836
- return Ee(function() {
855
+ var i = this, s = wn(t) ? t : new qe(t, r, n);
856
+ return _e(function() {
837
857
  var o = i, a = o.operator, h = o.source;
838
858
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
839
859
  }), s;
@@ -845,8 +865,8 @@ var vt = function() {
845
865
  }
846
866
  }, e.prototype.forEach = function(t, r) {
847
867
  var n = this;
848
- return r = Et(r), new r(function(i, s) {
849
- var o = new Qe({
868
+ return r = Tt(r), new r(function(i, s) {
869
+ var o = new qe({
850
870
  next: function(a) {
851
871
  try {
852
872
  t(a);
@@ -862,15 +882,15 @@ var vt = function() {
862
882
  }, e.prototype._subscribe = function(t) {
863
883
  var r;
864
884
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
865
- }, e.prototype[pn] = function() {
885
+ }, e.prototype[En] = function() {
866
886
  return this;
867
887
  }, e.prototype.pipe = function() {
868
888
  for (var t = [], r = 0; r < arguments.length; r++)
869
889
  t[r] = arguments[r];
870
- return yn(t)(this);
890
+ return xn(t)(this);
871
891
  }, e.prototype.toPromise = function(t) {
872
892
  var r = this;
873
- return t = Et(t), new t(function(n, i) {
893
+ return t = Tt(t), new t(function(n, i) {
874
894
  var s;
875
895
  r.subscribe(function(o) {
876
896
  return s = o;
@@ -884,40 +904,40 @@ var vt = function() {
884
904
  return new e(t);
885
905
  }, e;
886
906
  }();
887
- function Et(e) {
907
+ function Tt(e) {
888
908
  var t;
889
- return (t = e != null ? e : ln.Promise) !== null && t !== void 0 ? t : Promise;
909
+ return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
890
910
  }
891
- function vn(e) {
911
+ function Sn(e) {
892
912
  return e && U(e.next) && U(e.error) && U(e.complete);
893
913
  }
894
- function En(e) {
895
- return e && e instanceof qt || vn(e) && Yt(e);
914
+ function wn(e) {
915
+ return e && e instanceof nr || Sn(e) && tr(e);
896
916
  }
897
- var _n = Zt(function(e) {
917
+ var Tn = Kt(function(e) {
898
918
  return function() {
899
919
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
900
920
  };
901
- }), Jt = function(e) {
921
+ }), ir = function(e) {
902
922
  D(t, e);
903
923
  function t() {
904
924
  var r = e.call(this) || this;
905
925
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
906
926
  }
907
927
  return t.prototype.lift = function(r) {
908
- var n = new _t(this, this);
928
+ var n = new Ht(this, this);
909
929
  return n.operator = r, n;
910
930
  }, t.prototype._throwIfClosed = function() {
911
931
  if (this.closed)
912
- throw new _n();
932
+ throw new Tn();
913
933
  }, t.prototype.next = function(r) {
914
934
  var n = this;
915
- Ee(function() {
935
+ _e(function() {
916
936
  var i, s;
917
937
  if (n._throwIfClosed(), !n.isStopped) {
918
938
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
919
939
  try {
920
- for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
940
+ for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
921
941
  var h = a.value;
922
942
  h.next(r);
923
943
  }
@@ -934,7 +954,7 @@ var _n = Zt(function(e) {
934
954
  });
935
955
  }, t.prototype.error = function(r) {
936
956
  var n = this;
937
- Ee(function() {
957
+ _e(function() {
938
958
  if (n._throwIfClosed(), !n.isStopped) {
939
959
  n.hasError = n.isStopped = !0, n.thrownError = r;
940
960
  for (var i = n.observers; i.length; )
@@ -943,7 +963,7 @@ var _n = Zt(function(e) {
943
963
  });
944
964
  }, t.prototype.complete = function() {
945
965
  var r = this;
946
- Ee(function() {
966
+ _e(function() {
947
967
  if (r._throwIfClosed(), !r.isStopped) {
948
968
  r.isStopped = !0;
949
969
  for (var n = r.observers; n.length; )
@@ -965,19 +985,19 @@ var _n = Zt(function(e) {
965
985
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
966
986
  }, t.prototype._innerSubscribe = function(r) {
967
987
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
968
- return s || o ? Qt : (this.currentObservers = null, a.push(r), new He(function() {
969
- n.currentObservers = null, Ze(a, r);
988
+ return s || o ? er : (this.currentObservers = null, a.push(r), new Ae(function() {
989
+ n.currentObservers = null, Ye(a, r);
970
990
  }));
971
991
  }, t.prototype._checkFinalizedStatuses = function(r) {
972
992
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
973
993
  i ? r.error(s) : o && r.complete();
974
994
  }, t.prototype.asObservable = function() {
975
- var r = new vt();
995
+ var r = new wt();
976
996
  return r.source = this, r;
977
997
  }, t.create = function(r, n) {
978
- return new _t(r, n);
998
+ return new Ht(r, n);
979
999
  }, t;
980
- }(vt), _t = function(e) {
1000
+ }(wt), Ht = function(e) {
981
1001
  D(t, e);
982
1002
  function t(r, n) {
983
1003
  var i = e.call(this) || this;
@@ -994,17 +1014,17 @@ var _n = Zt(function(e) {
994
1014
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
995
1015
  }, t.prototype._subscribe = function(r) {
996
1016
  var n, i;
997
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
1017
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
998
1018
  }, t;
999
- }(Jt), Kt = {
1019
+ }(ir), sr = {
1000
1020
  now: function() {
1001
- return (Kt.delegate || Date).now();
1021
+ return (sr.delegate || Date).now();
1002
1022
  },
1003
1023
  delegate: void 0
1004
- }, xn = function(e) {
1024
+ }, Hn = function(e) {
1005
1025
  D(t, e);
1006
1026
  function t(r, n, i) {
1007
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1027
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1008
1028
  var s = e.call(this) || this;
1009
1029
  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;
1010
1030
  }
@@ -1024,24 +1044,24 @@ var _n = Zt(function(e) {
1024
1044
  u && s.splice(0, u + 1);
1025
1045
  }
1026
1046
  }, t;
1027
- }(Jt);
1028
- const xt = [], St = {}, Sn = (e, t = 0) => {
1029
- if (xt.indexOf(e) == -1) {
1030
- const r = new xn(t);
1031
- St[e] = r, xt.push(e);
1047
+ }(ir);
1048
+ const At = [], Bt = {}, An = (e, t = 0) => {
1049
+ if (At.indexOf(e) == -1) {
1050
+ const r = new Hn(t);
1051
+ Bt[e] = r, At.push(e);
1032
1052
  }
1033
- return St[e];
1053
+ return Bt[e];
1034
1054
  }, Q = [];
1035
- function Tn(e, t) {
1055
+ function Bn(e, t) {
1036
1056
  return {
1037
- subscribe: Ae(e, t).subscribe
1057
+ subscribe: Be(e, t).subscribe
1038
1058
  };
1039
1059
  }
1040
- function Ae(e, t = B) {
1060
+ function Be(e, t = P) {
1041
1061
  let r;
1042
1062
  const n = /* @__PURE__ */ new Set();
1043
1063
  function i(a) {
1044
- if (Ft(e, a) && (e = a, r)) {
1064
+ if (Xt(e, a) && (e = a, r)) {
1045
1065
  const h = !Q.length;
1046
1066
  for (const u of n)
1047
1067
  u[1](), Q.push(u, e);
@@ -1055,9 +1075,9 @@ function Ae(e, t = B) {
1055
1075
  function s(a) {
1056
1076
  i(a(e));
1057
1077
  }
1058
- function o(a, h = B) {
1078
+ function o(a, h = P) {
1059
1079
  const u = [a, h];
1060
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
1080
+ return n.add(u), n.size === 1 && (r = t(i, s) || P), a(e), () => {
1061
1081
  n.delete(u), n.size === 0 && r && (r(), r = null);
1062
1082
  };
1063
1083
  }
@@ -1068,21 +1088,21 @@ function oe(e, t, r) {
1068
1088
  if (!i.every(Boolean))
1069
1089
  throw new Error("derived() expects stores as input, got a falsy value");
1070
1090
  const s = t.length < 2;
1071
- return Tn(r, (o, a) => {
1091
+ return Bn(r, (o, a) => {
1072
1092
  let h = !1;
1073
1093
  const u = [];
1074
- let l = 0, m = B;
1094
+ let l = 0, m = P;
1075
1095
  const c = () => {
1076
1096
  if (l)
1077
1097
  return;
1078
1098
  m();
1079
1099
  const b = t(n ? u[0] : u, o, a);
1080
- s ? o(b) : m = we(b) ? b : B;
1100
+ s ? o(b) : m = He(b) ? b : P;
1081
1101
  }, d = i.map(
1082
- (b, y) => $t(
1102
+ (b, y) => Wt(
1083
1103
  b,
1084
- (w) => {
1085
- u[y] = w, l &= ~(1 << y), h && c();
1104
+ (T) => {
1105
+ u[y] = T, l &= ~(1 << y), h && c();
1086
1106
  },
1087
1107
  () => {
1088
1108
  l |= 1 << y;
@@ -1094,70 +1114,70 @@ function oe(e, t, r) {
1094
1114
  };
1095
1115
  });
1096
1116
  }
1097
- function wn(e) {
1117
+ function Pn(e) {
1098
1118
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1099
1119
  }
1100
- var Hn = function(t) {
1101
- return An(t) && !Bn(t);
1120
+ var Nn = function(t) {
1121
+ return On(t) && !Ln(t);
1102
1122
  };
1103
- function An(e) {
1123
+ function On(e) {
1104
1124
  return !!e && typeof e == "object";
1105
1125
  }
1106
- function Bn(e) {
1126
+ function Ln(e) {
1107
1127
  var t = Object.prototype.toString.call(e);
1108
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1128
+ return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1109
1129
  }
1110
- var Pn = typeof Symbol == "function" && Symbol.for, Nn = Pn ? Symbol.for("react.element") : 60103;
1111
- function On(e) {
1112
- return e.$$typeof === Nn;
1130
+ var Cn = typeof Symbol == "function" && Symbol.for, In = Cn ? Symbol.for("react.element") : 60103;
1131
+ function Mn(e) {
1132
+ return e.$$typeof === In;
1113
1133
  }
1114
- function Ln(e) {
1134
+ function Rn(e) {
1115
1135
  return Array.isArray(e) ? [] : {};
1116
1136
  }
1117
1137
  function ce(e, t) {
1118
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ln(e), e, t) : e;
1138
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Rn(e), e, t) : e;
1119
1139
  }
1120
- function Cn(e, t, r) {
1140
+ function Gn(e, t, r) {
1121
1141
  return e.concat(t).map(function(n) {
1122
1142
  return ce(n, r);
1123
1143
  });
1124
1144
  }
1125
- function In(e, t) {
1145
+ function Un(e, t) {
1126
1146
  if (!t.customMerge)
1127
1147
  return ee;
1128
1148
  var r = t.customMerge(e);
1129
1149
  return typeof r == "function" ? r : ee;
1130
1150
  }
1131
- function Mn(e) {
1151
+ function Dn(e) {
1132
1152
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1133
1153
  return Object.propertyIsEnumerable.call(e, t);
1134
1154
  }) : [];
1135
1155
  }
1136
- function Tt(e) {
1137
- return Object.keys(e).concat(Mn(e));
1156
+ function Pt(e) {
1157
+ return Object.keys(e).concat(Dn(e));
1138
1158
  }
1139
- function er(e, t) {
1159
+ function or(e, t) {
1140
1160
  try {
1141
1161
  return t in e;
1142
1162
  } catch (r) {
1143
1163
  return !1;
1144
1164
  }
1145
1165
  }
1146
- function Rn(e, t) {
1147
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
+ function Fn(e, t) {
1167
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1148
1168
  }
1149
- function Gn(e, t, r) {
1169
+ function $n(e, t, r) {
1150
1170
  var n = {};
1151
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1171
+ return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1152
1172
  n[i] = ce(e[i], r);
1153
- }), Tt(t).forEach(function(i) {
1154
- Rn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1173
+ }), Pt(t).forEach(function(i) {
1174
+ Fn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1155
1175
  }), n;
1156
1176
  }
1157
1177
  function ee(e, t, r) {
1158
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ce;
1178
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = ce;
1159
1179
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1160
- return s ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : ce(t, r);
1180
+ return s ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : ce(t, r);
1161
1181
  }
1162
1182
  ee.all = function(t, r) {
1163
1183
  if (!Array.isArray(t))
@@ -1166,56 +1186,58 @@ ee.all = function(t, r) {
1166
1186
  return ee(n, i, r);
1167
1187
  }, {});
1168
1188
  };
1169
- var Un = ee, Dn = Un;
1170
- const Fn = /* @__PURE__ */ wn(Dn);
1171
- function Ge(e, t) {
1172
- var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : kn;
1189
+ var jn = ee, kn = jn;
1190
+ const Vn = /* @__PURE__ */ Pn(kn);
1191
+ function De(e, t) {
1192
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : Wn;
1173
1193
  return i(e, {
1174
1194
  cache: r,
1175
1195
  serializer: n
1176
1196
  });
1177
1197
  }
1178
- function $n(e) {
1198
+ function Xn(e) {
1179
1199
  return e == null || typeof e == "number" || typeof e == "boolean";
1180
1200
  }
1181
- function jn(e, t, r, n) {
1182
- var i = $n(n) ? n : r(n), s = t.get(i);
1201
+ function ar(e, t, r, n) {
1202
+ var i = Xn(n) ? n : r(n), s = t.get(i);
1183
1203
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1184
1204
  }
1185
- function tr(e, t, r) {
1205
+ function ur(e, t, r) {
1186
1206
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1187
1207
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1188
1208
  }
1189
- function rr(e, t, r, n, i) {
1209
+ function at(e, t, r, n, i) {
1190
1210
  return r.bind(t, e, n, i);
1191
1211
  }
1192
- function kn(e, t) {
1193
- var r = e.length === 1 ? jn : tr;
1194
- return rr(e, this, r, t.cache.create(), t.serializer);
1212
+ function Wn(e, t) {
1213
+ var r = e.length === 1 ? ar : ur;
1214
+ return at(e, this, r, t.cache.create(), t.serializer);
1195
1215
  }
1196
- function Vn(e, t) {
1197
- return rr(e, this, tr, t.cache.create(), t.serializer);
1216
+ function zn(e, t) {
1217
+ return at(e, this, ur, t.cache.create(), t.serializer);
1198
1218
  }
1199
- var Xn = function() {
1219
+ function Zn(e, t) {
1220
+ return at(e, this, ar, t.cache.create(), t.serializer);
1221
+ }
1222
+ var Qn = function() {
1200
1223
  return JSON.stringify(arguments);
1201
- }, Wn = (
1202
- /** @class */
1203
- function() {
1204
- function e() {
1205
- this.cache = /* @__PURE__ */ Object.create(null);
1206
- }
1207
- return e.prototype.get = function(t) {
1208
- return this.cache[t];
1209
- }, e.prototype.set = function(t, r) {
1210
- this.cache[t] = r;
1211
- }, e;
1212
- }()
1213
- ), zn = {
1224
+ };
1225
+ function ut() {
1226
+ this.cache = /* @__PURE__ */ Object.create(null);
1227
+ }
1228
+ ut.prototype.get = function(e) {
1229
+ return this.cache[e];
1230
+ };
1231
+ ut.prototype.set = function(e, t) {
1232
+ this.cache[e] = t;
1233
+ };
1234
+ var Yn = {
1214
1235
  create: function() {
1215
- return new Wn();
1236
+ return new ut();
1216
1237
  }
1217
- }, Ue = {
1218
- variadic: Vn
1238
+ }, Fe = {
1239
+ variadic: zn,
1240
+ monadic: Zn
1219
1241
  }, p;
1220
1242
  (function(e) {
1221
1243
  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";
@@ -1228,43 +1250,43 @@ var te;
1228
1250
  (function(e) {
1229
1251
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1230
1252
  })(te || (te = {}));
1231
- function wt(e) {
1253
+ function Nt(e) {
1232
1254
  return e.type === x.literal;
1233
1255
  }
1234
- function Zn(e) {
1256
+ function qn(e) {
1235
1257
  return e.type === x.argument;
1236
1258
  }
1237
- function nr(e) {
1259
+ function hr(e) {
1238
1260
  return e.type === x.number;
1239
1261
  }
1240
- function ir(e) {
1262
+ function lr(e) {
1241
1263
  return e.type === x.date;
1242
1264
  }
1243
- function sr(e) {
1265
+ function cr(e) {
1244
1266
  return e.type === x.time;
1245
1267
  }
1246
- function or(e) {
1268
+ function fr(e) {
1247
1269
  return e.type === x.select;
1248
1270
  }
1249
- function ar(e) {
1271
+ function mr(e) {
1250
1272
  return e.type === x.plural;
1251
1273
  }
1252
- function Qn(e) {
1274
+ function Jn(e) {
1253
1275
  return e.type === x.pound;
1254
1276
  }
1255
- function ur(e) {
1277
+ function dr(e) {
1256
1278
  return e.type === x.tag;
1257
1279
  }
1258
- function hr(e) {
1280
+ function br(e) {
1259
1281
  return !!(e && typeof e == "object" && e.type === te.number);
1260
1282
  }
1261
- function Ye(e) {
1283
+ function Je(e) {
1262
1284
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1263
1285
  }
1264
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
1265
- function qn(e) {
1286
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1287
+ function ei(e) {
1266
1288
  var t = {};
1267
- return e.replace(Yn, function(r) {
1289
+ return e.replace(Kn, function(r) {
1268
1290
  var n = r.length;
1269
1291
  switch (r[0]) {
1270
1292
  case "G":
@@ -1353,11 +1375,11 @@ function qn(e) {
1353
1375
  return "";
1354
1376
  }), t;
1355
1377
  }
1356
- var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
- function Kn(e) {
1378
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
+ function ri(e) {
1358
1380
  if (e.length === 0)
1359
1381
  throw new Error("Number skeleton cannot be empty");
1360
- for (var t = e.split(Jn).filter(function(c) {
1382
+ for (var t = e.split(ti).filter(function(c) {
1361
1383
  return c.length > 0;
1362
1384
  }), r = [], n = 0, i = t; n < i.length; n++) {
1363
1385
  var s = i[n], o = s.split("/");
@@ -1372,17 +1394,17 @@ function Kn(e) {
1372
1394
  }
1373
1395
  return r;
1374
1396
  }
1375
- function ei(e) {
1397
+ function ni(e) {
1376
1398
  return e.replace(/^(.*?)-/, "");
1377
1399
  }
1378
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1379
- function At(e) {
1400
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1401
+ function Lt(e) {
1380
1402
  var t = {};
1381
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1403
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1382
1404
  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)), "";
1383
1405
  }), t;
1384
1406
  }
1385
- function mr(e) {
1407
+ function vr(e) {
1386
1408
  switch (e) {
1387
1409
  case "sign-auto":
1388
1410
  return {
@@ -1422,7 +1444,7 @@ function mr(e) {
1422
1444
  };
1423
1445
  }
1424
1446
  }
1425
- function ri(e) {
1447
+ function si(e) {
1426
1448
  var t;
1427
1449
  if (e[0] === "E" && e[1] === "E" ? (t = {
1428
1450
  notation: "engineering"
@@ -1430,17 +1452,17 @@ function ri(e) {
1430
1452
  notation: "scientific"
1431
1453
  }, e = e.slice(1)), t) {
1432
1454
  var r = e.slice(0, 2);
1433
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1455
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1434
1456
  throw new Error("Malformed concise eng/scientific notation");
1435
1457
  t.minimumIntegerDigits = e.length;
1436
1458
  }
1437
1459
  return t;
1438
1460
  }
1439
- function Bt(e) {
1440
- var t = {}, r = mr(e);
1461
+ function Ct(e) {
1462
+ var t = {}, r = vr(e);
1441
1463
  return r || t;
1442
1464
  }
1443
- function ni(e) {
1465
+ function oi(e) {
1444
1466
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1445
1467
  var i = n[r];
1446
1468
  switch (i.stem) {
@@ -1464,7 +1486,7 @@ function ni(e) {
1464
1486
  continue;
1465
1487
  case "measure-unit":
1466
1488
  case "unit":
1467
- t.style = "unit", t.unit = ei(i.options[0]);
1489
+ t.style = "unit", t.unit = ni(i.options[0]);
1468
1490
  continue;
1469
1491
  case "compact-short":
1470
1492
  case "K":
@@ -1476,12 +1498,12 @@ function ni(e) {
1476
1498
  continue;
1477
1499
  case "scientific":
1478
1500
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1479
- return v(v({}, h), Bt(u));
1501
+ return v(v({}, h), Ct(u));
1480
1502
  }, {}));
1481
1503
  continue;
1482
1504
  case "engineering":
1483
1505
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1484
- return v(v({}, h), Bt(u));
1506
+ return v(v({}, h), Ct(u));
1485
1507
  }, {}));
1486
1508
  continue;
1487
1509
  case "notation-simple":
@@ -1526,7 +1548,7 @@ function ni(e) {
1526
1548
  case "integer-width":
1527
1549
  if (i.options.length > 1)
1528
1550
  throw new RangeError("integer-width stems only accept a single optional option");
1529
- i.options[0].replace(ti, function(h, u, l, m, c, d) {
1551
+ i.options[0].replace(ii, function(h, u, l, m, c, d) {
1530
1552
  if (u)
1531
1553
  t.minimumIntegerDigits = l.length;
1532
1554
  else {
@@ -1539,32 +1561,32 @@ function ni(e) {
1539
1561
  });
1540
1562
  continue;
1541
1563
  }
1542
- if (fr.test(i.stem)) {
1564
+ if (yr.test(i.stem)) {
1543
1565
  t.minimumIntegerDigits = i.stem.length;
1544
1566
  continue;
1545
1567
  }
1546
- if (Ht.test(i.stem)) {
1568
+ if (Ot.test(i.stem)) {
1547
1569
  if (i.options.length > 1)
1548
1570
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1549
- i.stem.replace(Ht, function(h, u, l, m, c, d) {
1571
+ i.stem.replace(Ot, function(h, u, l, m, c, d) {
1550
1572
  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), "";
1551
1573
  });
1552
1574
  var s = i.options[0];
1553
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), At(s)));
1575
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Lt(s)));
1554
1576
  continue;
1555
1577
  }
1556
- if (cr.test(i.stem)) {
1557
- t = v(v({}, t), At(i.stem));
1578
+ if (gr.test(i.stem)) {
1579
+ t = v(v({}, t), Lt(i.stem));
1558
1580
  continue;
1559
1581
  }
1560
- var o = mr(i.stem);
1582
+ var o = vr(i.stem);
1561
1583
  o && (t = v(v({}, t), o));
1562
- var a = ri(i.stem);
1584
+ var a = si(i.stem);
1563
1585
  a && (t = v(v({}, t), a));
1564
1586
  }
1565
1587
  return t;
1566
1588
  }
1567
- var ye = {
1589
+ var ve = {
1568
1590
  "001": [
1569
1591
  "H",
1570
1592
  "h"
@@ -2979,13 +3001,13 @@ var ye = {
2979
3001
  "h"
2980
3002
  ]
2981
3003
  };
2982
- function ii(e, t) {
3004
+ function ai(e, t) {
2983
3005
  for (var r = "", n = 0; n < e.length; n++) {
2984
3006
  var i = e.charAt(n);
2985
3007
  if (i === "j") {
2986
3008
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2987
3009
  s++, n++;
2988
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = si(t);
3010
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ui(t);
2989
3011
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2990
3012
  r += h;
2991
3013
  for (; o-- > 0; )
@@ -2994,7 +3016,7 @@ function ii(e, t) {
2994
3016
  }
2995
3017
  return r;
2996
3018
  }
2997
- function si(e) {
3019
+ function ui(e) {
2998
3020
  var t = e.hourCycle;
2999
3021
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3000
3022
  e.hourCycles && // @ts-ignore
@@ -3013,23 +3035,23 @@ function si(e) {
3013
3035
  }
3014
3036
  var r = e.language, n;
3015
3037
  r !== "root" && (n = e.maximize().region);
3016
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3038
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3017
3039
  return i[0];
3018
3040
  }
3019
- var De, oi = new RegExp("^".concat(lr.source, "*")), ai = new RegExp("".concat(lr.source, "*$"));
3041
+ var $e, hi = new RegExp("^".concat(pr.source, "*")), li = new RegExp("".concat(pr.source, "*$"));
3020
3042
  function g(e, t) {
3021
3043
  return { start: e, end: t };
3022
3044
  }
3023
- var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, li = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, bi = di ? Number.isSafeInteger : function(e) {
3045
+ var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, di = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3024
3046
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3025
- }, qe = !0;
3047
+ }, Ke = !0;
3026
3048
  try {
3027
- var pi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3028
- qe = ((De = pi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3049
+ var vi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3050
+ Ke = (($e = vi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3029
3051
  } catch (e) {
3030
- qe = !1;
3052
+ Ke = !1;
3031
3053
  }
3032
- var Pt = ui ? (
3054
+ var It = ci ? (
3033
3055
  // Native
3034
3056
  function(t, r, n) {
3035
3057
  return t.startsWith(r, n);
@@ -3039,7 +3061,7 @@ var Pt = ui ? (
3039
3061
  function(t, r, n) {
3040
3062
  return t.slice(n, n + r.length) === r;
3041
3063
  }
3042
- ), Je = hi ? String.fromCodePoint : (
3064
+ ), et = fi ? String.fromCodePoint : (
3043
3065
  // IE11
3044
3066
  function() {
3045
3067
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3051,9 +3073,9 @@ var Pt = ui ? (
3051
3073
  }
3052
3074
  return n;
3053
3075
  }
3054
- ), Nt = (
3076
+ ), Mt = (
3055
3077
  // native
3056
- li ? Object.fromEntries : (
3078
+ mi ? Object.fromEntries : (
3057
3079
  // Ponyfill
3058
3080
  function(t) {
3059
3081
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3063,7 +3085,7 @@ var Pt = ui ? (
3063
3085
  return r;
3064
3086
  }
3065
3087
  )
3066
- ), dr = ci ? (
3088
+ ), Er = di ? (
3067
3089
  // Native
3068
3090
  function(t, r) {
3069
3091
  return t.codePointAt(r);
@@ -3077,7 +3099,7 @@ var Pt = ui ? (
3077
3099
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3078
3100
  }
3079
3101
  }
3080
- ), gi = fi ? (
3102
+ ), Ei = bi ? (
3081
3103
  // Native
3082
3104
  function(t) {
3083
3105
  return t.trimStart();
@@ -3085,9 +3107,9 @@ var Pt = ui ? (
3085
3107
  ) : (
3086
3108
  // Ponyfill
3087
3109
  function(t) {
3088
- return t.replace(oi, "");
3110
+ return t.replace(hi, "");
3089
3111
  }
3090
- ), yi = mi ? (
3112
+ ), _i = pi ? (
3091
3113
  // Native
3092
3114
  function(t) {
3093
3115
  return t.trimEnd();
@@ -3095,32 +3117,32 @@ var Pt = ui ? (
3095
3117
  ) : (
3096
3118
  // Ponyfill
3097
3119
  function(t) {
3098
- return t.replace(ai, "");
3120
+ return t.replace(li, "");
3099
3121
  }
3100
3122
  );
3101
- function br(e, t) {
3123
+ function _r(e, t) {
3102
3124
  return new RegExp(e, t);
3103
3125
  }
3104
- var Ke;
3105
- if (qe) {
3106
- var Ot = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
- Ke = function(t, r) {
3126
+ var tt;
3127
+ if (Ke) {
3128
+ var Rt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3129
+ tt = function(t, r) {
3108
3130
  var n;
3109
- Ot.lastIndex = r;
3110
- var i = Ot.exec(t);
3131
+ Rt.lastIndex = r;
3132
+ var i = Rt.exec(t);
3111
3133
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3112
3134
  };
3113
3135
  } else
3114
- Ke = function(t, r) {
3136
+ tt = function(t, r) {
3115
3137
  for (var n = []; ; ) {
3116
- var i = dr(t, r);
3117
- if (i === void 0 || pr(i) || xi(i))
3138
+ var i = Er(t, r);
3139
+ if (i === void 0 || xr(i) || Ti(i))
3118
3140
  break;
3119
3141
  n.push(i), r += i >= 65536 ? 2 : 1;
3120
3142
  }
3121
- return Je.apply(void 0, n);
3143
+ return et.apply(void 0, n);
3122
3144
  };
3123
- var vi = (
3145
+ var xi = (
3124
3146
  /** @class */
3125
3147
  function() {
3126
3148
  function e(t, r) {
@@ -3151,7 +3173,7 @@ var vi = (
3151
3173
  if (n)
3152
3174
  break;
3153
3175
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3154
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3176
+ } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3155
3177
  var o = this.parseTag(t, r);
3156
3178
  if (o.err)
3157
3179
  return o;
@@ -3184,7 +3206,7 @@ var vi = (
3184
3206
  return s;
3185
3207
  var o = s.val, a = this.clonePosition();
3186
3208
  if (this.bumpIf("</")) {
3187
- if (this.isEOF() || !et(this.char()))
3209
+ if (this.isEOF() || !rt(this.char()))
3188
3210
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3189
3211
  var h = this.clonePosition(), u = this.parseTagName();
3190
3212
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3202,7 +3224,7 @@ var vi = (
3202
3224
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3203
3225
  }, e.prototype.parseTagName = function() {
3204
3226
  var t = this.offset();
3205
- for (this.bump(); !this.isEOF() && _i(this.char()); )
3227
+ for (this.bump(); !this.isEOF() && wi(this.char()); )
3206
3228
  this.bump();
3207
3229
  return this.message.slice(t, this.offset());
3208
3230
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3231,7 +3253,7 @@ var vi = (
3231
3253
  };
3232
3254
  }, e.prototype.tryParseLeftAngleBracket = function() {
3233
3255
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3234
- !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3256
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3235
3257
  }, e.prototype.tryParseQuote = function(t) {
3236
3258
  if (this.isEOF() || this.char() !== 39)
3237
3259
  return null;
@@ -3265,12 +3287,12 @@ var vi = (
3265
3287
  r.push(n);
3266
3288
  this.bump();
3267
3289
  }
3268
- return Je.apply(void 0, r);
3290
+ return et.apply(void 0, r);
3269
3291
  }, e.prototype.tryParseUnquoted = function(t, r) {
3270
3292
  if (this.isEOF())
3271
3293
  return null;
3272
3294
  var n = this.char();
3273
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3295
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3274
3296
  }, e.prototype.parseArgument = function(t, r) {
3275
3297
  var n = this.clonePosition();
3276
3298
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3299,7 +3321,7 @@ var vi = (
3299
3321
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3300
3322
  }
3301
3323
  }, e.prototype.parseIdentifierIfPossible = function() {
3302
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3324
+ var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3303
3325
  this.bumpTo(i);
3304
3326
  var s = this.clonePosition(), o = g(t, s);
3305
3327
  return { value: n, location: o };
@@ -3318,7 +3340,7 @@ var vi = (
3318
3340
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3319
3341
  if (m.err)
3320
3342
  return m;
3321
- var c = yi(m.val);
3343
+ var c = _i(m.val);
3322
3344
  if (c.length === 0)
3323
3345
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3324
3346
  var d = g(l, this.clonePosition());
@@ -3328,27 +3350,27 @@ var vi = (
3328
3350
  if (b.err)
3329
3351
  return b;
3330
3352
  var y = g(i, this.clonePosition());
3331
- if (u && Pt(u == null ? void 0 : u.style, "::", 0)) {
3332
- var w = gi(u.style.slice(2));
3353
+ if (u && It(u == null ? void 0 : u.style, "::", 0)) {
3354
+ var T = Ei(u.style.slice(2));
3333
3355
  if (a === "number") {
3334
- var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
3356
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3335
3357
  return m.err ? m : {
3336
3358
  val: { type: x.number, value: n, location: y, style: m.val },
3337
3359
  err: null
3338
3360
  };
3339
3361
  } else {
3340
- if (w.length === 0)
3362
+ if (T.length === 0)
3341
3363
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3342
- var I = w;
3343
- this.locale && (I = ii(w, this.locale));
3364
+ var I = T;
3365
+ this.locale && (I = ai(T, this.locale));
3344
3366
  var c = {
3345
3367
  type: te.dateTime,
3346
3368
  pattern: I,
3347
3369
  location: u.styleLocation,
3348
- parsedOptions: this.shouldParseSkeletons ? qn(I) : {}
3349
- }, P = a === "date" ? x.date : x.time;
3370
+ parsedOptions: this.shouldParseSkeletons ? ei(I) : {}
3371
+ }, N = a === "date" ? x.date : x.time;
3350
3372
  return {
3351
- val: { type: P, value: n, location: y, style: c },
3373
+ val: { type: N, value: n, location: y, style: c },
3352
3374
  err: null
3353
3375
  };
3354
3376
  }
@@ -3366,23 +3388,23 @@ var vi = (
3366
3388
  case "plural":
3367
3389
  case "selectordinal":
3368
3390
  case "select": {
3369
- var T = this.clonePosition();
3391
+ var w = this.clonePosition();
3370
3392
  if (this.bumpSpace(), !this.bumpIf(","))
3371
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3393
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
3372
3394
  this.bumpSpace();
3373
- var N = this.parseIdentifierIfPossible(), O = 0;
3374
- if (a !== "select" && N.value === "offset") {
3395
+ var O = this.parseIdentifierIfPossible(), L = 0;
3396
+ if (a !== "select" && O.value === "offset") {
3375
3397
  if (!this.bumpIf(":"))
3376
3398
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3377
3399
  this.bumpSpace();
3378
3400
  var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3379
3401
  if (m.err)
3380
3402
  return m;
3381
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3403
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
3382
3404
  }
3383
- var G = this.tryParsePluralOrSelectOptions(t, a, r, N);
3384
- if (G.err)
3385
- return G;
3405
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
3406
+ if (R.err)
3407
+ return R;
3386
3408
  var b = this.tryParseArgumentClose(i);
3387
3409
  if (b.err)
3388
3410
  return b;
@@ -3391,7 +3413,7 @@ var vi = (
3391
3413
  val: {
3392
3414
  type: x.select,
3393
3415
  value: n,
3394
- options: Nt(G.val),
3416
+ options: Mt(R.val),
3395
3417
  location: _
3396
3418
  },
3397
3419
  err: null
@@ -3399,8 +3421,8 @@ var vi = (
3399
3421
  val: {
3400
3422
  type: x.plural,
3401
3423
  value: n,
3402
- options: Nt(G.val),
3403
- offset: O,
3424
+ options: Mt(R.val),
3425
+ offset: L,
3404
3426
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3405
3427
  location: _
3406
3428
  },
@@ -3450,7 +3472,7 @@ var vi = (
3450
3472
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3451
3473
  var n = [];
3452
3474
  try {
3453
- n = Kn(t);
3475
+ n = ri(t);
3454
3476
  } catch (i) {
3455
3477
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3456
3478
  }
@@ -3459,7 +3481,7 @@ var vi = (
3459
3481
  type: te.number,
3460
3482
  tokens: n,
3461
3483
  location: r,
3462
- parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
3484
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3463
3485
  },
3464
3486
  err: null
3465
3487
  };
@@ -3507,7 +3529,7 @@ var vi = (
3507
3529
  break;
3508
3530
  }
3509
3531
  var h = g(i, this.clonePosition());
3510
- return s ? (o *= n, bi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3532
+ return s ? (o *= n, yi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3511
3533
  }, e.prototype.offset = function() {
3512
3534
  return this.position.offset;
3513
3535
  }, e.prototype.isEOF = function() {
@@ -3522,7 +3544,7 @@ var vi = (
3522
3544
  var t = this.position.offset;
3523
3545
  if (t >= this.message.length)
3524
3546
  throw Error("out of bound");
3525
- var r = dr(this.message, t);
3547
+ var r = Er(this.message, t);
3526
3548
  if (r === void 0)
3527
3549
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3528
3550
  return r;
@@ -3541,7 +3563,7 @@ var vi = (
3541
3563
  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);
3542
3564
  }
3543
3565
  }, e.prototype.bumpIf = function(t) {
3544
- if (Pt(this.message, t, this.offset())) {
3566
+ if (It(this.message, t, this.offset())) {
3545
3567
  for (var r = 0; r < t.length; r++)
3546
3568
  this.bump();
3547
3569
  return !0;
@@ -3563,7 +3585,7 @@ var vi = (
3563
3585
  break;
3564
3586
  }
3565
3587
  }, e.prototype.bumpSpace = function() {
3566
- for (; !this.isEOF() && pr(this.char()); )
3588
+ for (; !this.isEOF() && xr(this.char()); )
3567
3589
  this.bump();
3568
3590
  }, e.prototype.peek = function() {
3569
3591
  if (this.isEOF())
@@ -3573,43 +3595,43 @@ var vi = (
3573
3595
  }, e;
3574
3596
  }()
3575
3597
  );
3576
- function et(e) {
3598
+ function rt(e) {
3577
3599
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3578
3600
  }
3579
- function Ei(e) {
3580
- return et(e) || e === 47;
3601
+ function Si(e) {
3602
+ return rt(e) || e === 47;
3581
3603
  }
3582
- function _i(e) {
3604
+ function wi(e) {
3583
3605
  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;
3584
3606
  }
3585
- function pr(e) {
3607
+ function xr(e) {
3586
3608
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3587
3609
  }
3588
- function xi(e) {
3610
+ function Ti(e) {
3589
3611
  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;
3590
3612
  }
3591
- function tt(e) {
3613
+ function nt(e) {
3592
3614
  e.forEach(function(t) {
3593
- if (delete t.location, or(t) || ar(t))
3615
+ if (delete t.location, fr(t) || mr(t))
3594
3616
  for (var r in t.options)
3595
- delete t.options[r].location, tt(t.options[r].value);
3596
- else nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ye(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3617
+ delete t.options[r].location, nt(t.options[r].value);
3618
+ else hr(t) && br(t.style) || (lr(t) || cr(t)) && Je(t.style) ? delete t.style.location : dr(t) && nt(t.children);
3597
3619
  });
3598
3620
  }
3599
- function Si(e, t) {
3621
+ function Hi(e, t) {
3600
3622
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3601
- var r = new vi(e, t).parse();
3623
+ var r = new xi(e, t).parse();
3602
3624
  if (r.err) {
3603
3625
  var n = SyntaxError(p[r.err.kind]);
3604
3626
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3605
3627
  }
3606
- return t != null && t.captureLocation || tt(r.val), r.val;
3628
+ return t != null && t.captureLocation || nt(r.val), r.val;
3607
3629
  }
3608
3630
  var re;
3609
3631
  (function(e) {
3610
3632
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3611
3633
  })(re || (re = {}));
3612
- var Be = (
3634
+ var Pe = (
3613
3635
  /** @class */
3614
3636
  function(e) {
3615
3637
  D(t, e);
@@ -3621,7 +3643,7 @@ var Be = (
3621
3643
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3622
3644
  }, t;
3623
3645
  }(Error)
3624
- ), Lt = (
3646
+ ), Gt = (
3625
3647
  /** @class */
3626
3648
  function(e) {
3627
3649
  D(t, e);
@@ -3629,8 +3651,8 @@ var Be = (
3629
3651
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3630
3652
  }
3631
3653
  return t;
3632
- }(Be)
3633
- ), Ti = (
3654
+ }(Pe)
3655
+ ), Ai = (
3634
3656
  /** @class */
3635
3657
  function(e) {
3636
3658
  D(t, e);
@@ -3638,8 +3660,8 @@ var Be = (
3638
3660
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3639
3661
  }
3640
3662
  return t;
3641
- }(Be)
3642
- ), wi = (
3663
+ }(Pe)
3664
+ ), Bi = (
3643
3665
  /** @class */
3644
3666
  function(e) {
3645
3667
  D(t, e);
@@ -3647,129 +3669,129 @@ var Be = (
3647
3669
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3648
3670
  }
3649
3671
  return t;
3650
- }(Be)
3651
- ), A;
3672
+ }(Pe)
3673
+ ), H;
3652
3674
  (function(e) {
3653
3675
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3654
- })(A || (A = {}));
3655
- function Hi(e) {
3676
+ })(H || (H = {}));
3677
+ function Pi(e) {
3656
3678
  return e.length < 2 ? e : e.reduce(function(t, r) {
3657
3679
  var n = t[t.length - 1];
3658
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3680
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3659
3681
  }, []);
3660
3682
  }
3661
- function Ai(e) {
3683
+ function Ni(e) {
3662
3684
  return typeof e == "function";
3663
3685
  }
3664
- function _e(e, t, r, n, i, s, o) {
3665
- if (e.length === 1 && wt(e[0]))
3686
+ function xe(e, t, r, n, i, s, o) {
3687
+ if (e.length === 1 && Nt(e[0]))
3666
3688
  return [
3667
3689
  {
3668
- type: A.literal,
3690
+ type: H.literal,
3669
3691
  value: e[0].value
3670
3692
  }
3671
3693
  ];
3672
3694
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3673
3695
  var l = u[h];
3674
- if (wt(l)) {
3696
+ if (Nt(l)) {
3675
3697
  a.push({
3676
- type: A.literal,
3698
+ type: H.literal,
3677
3699
  value: l.value
3678
3700
  });
3679
3701
  continue;
3680
3702
  }
3681
- if (Qn(l)) {
3703
+ if (Jn(l)) {
3682
3704
  typeof s == "number" && a.push({
3683
- type: A.literal,
3705
+ type: H.literal,
3684
3706
  value: r.getNumberFormat(t).format(s)
3685
3707
  });
3686
3708
  continue;
3687
3709
  }
3688
3710
  var m = l.value;
3689
3711
  if (!(i && m in i))
3690
- throw new wi(m, o);
3712
+ throw new Bi(m, o);
3691
3713
  var c = i[m];
3692
- if (Zn(l)) {
3714
+ if (qn(l)) {
3693
3715
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3694
- type: typeof c == "string" ? A.literal : A.object,
3716
+ type: typeof c == "string" ? H.literal : H.object,
3695
3717
  value: c
3696
3718
  });
3697
3719
  continue;
3698
3720
  }
3699
- if (ir(l)) {
3700
- var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3721
+ if (lr(l)) {
3722
+ var d = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
3701
3723
  a.push({
3702
- type: A.literal,
3724
+ type: H.literal,
3703
3725
  value: r.getDateTimeFormat(t, d).format(c)
3704
3726
  });
3705
3727
  continue;
3706
3728
  }
3707
- if (sr(l)) {
3708
- var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3729
+ if (cr(l)) {
3730
+ var d = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
3709
3731
  a.push({
3710
- type: A.literal,
3732
+ type: H.literal,
3711
3733
  value: r.getDateTimeFormat(t, d).format(c)
3712
3734
  });
3713
3735
  continue;
3714
3736
  }
3715
- if (nr(l)) {
3716
- var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3737
+ if (hr(l)) {
3738
+ var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
3717
3739
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3718
- type: A.literal,
3740
+ type: H.literal,
3719
3741
  value: r.getNumberFormat(t, d).format(c)
3720
3742
  });
3721
3743
  continue;
3722
3744
  }
3723
- if (ur(l)) {
3724
- var b = l.children, y = l.value, w = i[y];
3725
- if (!Ai(w))
3726
- throw new Ti(y, "function", o);
3727
- var I = _e(b, t, r, n, i, s), P = w(I.map(function(O) {
3728
- return O.value;
3745
+ if (dr(l)) {
3746
+ var b = l.children, y = l.value, T = i[y];
3747
+ if (!Ni(T))
3748
+ throw new Ai(y, "function", o);
3749
+ var I = xe(b, t, r, n, i, s), N = T(I.map(function(L) {
3750
+ return L.value;
3729
3751
  }));
3730
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3752
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
3731
3753
  return {
3732
- type: typeof O == "string" ? A.literal : A.object,
3733
- value: O
3754
+ type: typeof L == "string" ? H.literal : H.object,
3755
+ value: L
3734
3756
  };
3735
3757
  }));
3736
3758
  }
3737
- if (or(l)) {
3738
- var T = l.options[c] || l.options.other;
3739
- if (!T)
3740
- throw new Lt(l.value, c, Object.keys(l.options), o);
3741
- a.push.apply(a, _e(T.value, t, r, n, i));
3759
+ if (fr(l)) {
3760
+ var w = l.options[c] || l.options.other;
3761
+ if (!w)
3762
+ throw new Gt(l.value, c, Object.keys(l.options), o);
3763
+ a.push.apply(a, xe(w.value, t, r, n, i));
3742
3764
  continue;
3743
3765
  }
3744
- if (ar(l)) {
3745
- var T = l.options["=".concat(c)];
3746
- if (!T) {
3766
+ if (mr(l)) {
3767
+ var w = l.options["=".concat(c)];
3768
+ if (!w) {
3747
3769
  if (!Intl.PluralRules)
3748
- throw new Be(`Intl.PluralRules is not available in this environment.
3770
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3749
3771
  Try polyfilling it using "@formatjs/intl-pluralrules"
3750
3772
  `, re.MISSING_INTL_API, o);
3751
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3752
- T = l.options[N] || l.options.other;
3773
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3774
+ w = l.options[O] || l.options.other;
3753
3775
  }
3754
- if (!T)
3755
- throw new Lt(l.value, c, Object.keys(l.options), o);
3756
- a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
3776
+ if (!w)
3777
+ throw new Gt(l.value, c, Object.keys(l.options), o);
3778
+ a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
3757
3779
  continue;
3758
3780
  }
3759
3781
  }
3760
- return Hi(a);
3782
+ return Pi(a);
3761
3783
  }
3762
- function Bi(e, t) {
3784
+ function Oi(e, t) {
3763
3785
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3764
3786
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3765
3787
  }, {})) : e;
3766
3788
  }
3767
- function Pi(e, t) {
3789
+ function Li(e, t) {
3768
3790
  return t ? Object.keys(e).reduce(function(r, n) {
3769
- return r[n] = Bi(e[n], t[n]), r;
3791
+ return r[n] = Oi(e[n], t[n]), r;
3770
3792
  }, v({}, e)) : e;
3771
3793
  }
3772
- function Fe(e) {
3794
+ function je(e) {
3773
3795
  return {
3774
3796
  create: function() {
3775
3797
  return {
@@ -3783,39 +3805,39 @@ function Fe(e) {
3783
3805
  }
3784
3806
  };
3785
3807
  }
3786
- function Ni(e) {
3808
+ function Ci(e) {
3787
3809
  return e === void 0 && (e = {
3788
3810
  number: {},
3789
3811
  dateTime: {},
3790
3812
  pluralRules: {}
3791
3813
  }), {
3792
- getNumberFormat: Ge(function() {
3814
+ getNumberFormat: De(function() {
3793
3815
  for (var t, r = [], n = 0; n < arguments.length; n++)
3794
3816
  r[n] = arguments[n];
3795
3817
  return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3796
3818
  }, {
3797
- cache: Fe(e.number),
3798
- strategy: Ue.variadic
3819
+ cache: je(e.number),
3820
+ strategy: Fe.variadic
3799
3821
  }),
3800
- getDateTimeFormat: Ge(function() {
3822
+ getDateTimeFormat: De(function() {
3801
3823
  for (var t, r = [], n = 0; n < arguments.length; n++)
3802
3824
  r[n] = arguments[n];
3803
3825
  return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3804
3826
  }, {
3805
- cache: Fe(e.dateTime),
3806
- strategy: Ue.variadic
3827
+ cache: je(e.dateTime),
3828
+ strategy: Fe.variadic
3807
3829
  }),
3808
- getPluralRules: Ge(function() {
3830
+ getPluralRules: De(function() {
3809
3831
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3832
  r[n] = arguments[n];
3811
3833
  return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3812
3834
  }, {
3813
- cache: Fe(e.pluralRules),
3814
- strategy: Ue.variadic
3835
+ cache: je(e.pluralRules),
3836
+ strategy: Fe.variadic
3815
3837
  })
3816
3838
  };
3817
3839
  }
3818
- var Oi = (
3840
+ var Ii = (
3819
3841
  /** @class */
3820
3842
  function() {
3821
3843
  function e(t, r, n, i) {
@@ -3830,11 +3852,11 @@ var Oi = (
3830
3852
  if (u.length === 1)
3831
3853
  return u[0].value;
3832
3854
  var l = u.reduce(function(m, c) {
3833
- return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3855
+ return !m.length || c.type !== H.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3834
3856
  }, []);
3835
3857
  return l.length <= 1 ? l[0] || "" : l;
3836
3858
  }, this.formatToParts = function(h) {
3837
- return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3859
+ return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3838
3860
  }, this.resolvedOptions = function() {
3839
3861
  var h;
3840
3862
  return {
@@ -3847,13 +3869,13 @@ var Oi = (
3847
3869
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3848
3870
  var o = i || {};
3849
3871
  o.formatters;
3850
- var a = hn(o, ["formatters"]);
3872
+ var a = mn(o, ["formatters"]);
3851
3873
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3852
3874
  } else
3853
3875
  this.ast = t;
3854
3876
  if (!Array.isArray(this.ast))
3855
3877
  throw new TypeError("A message must be provided as a String or AST.");
3856
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3878
+ this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
3857
3879
  }
3858
3880
  return Object.defineProperty(e, "defaultLocale", {
3859
3881
  get: function() {
@@ -3866,7 +3888,7 @@ var Oi = (
3866
3888
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3867
3889
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3868
3890
  }
3869
- }, e.__parse = Si, e.formats = {
3891
+ }, e.__parse = Hi, e.formats = {
3870
3892
  number: {
3871
3893
  integer: {
3872
3894
  maximumFractionDigits: 0
@@ -3927,7 +3949,7 @@ var Oi = (
3927
3949
  }, e;
3928
3950
  }()
3929
3951
  );
3930
- function Li(e, t) {
3952
+ function Mi(e, t) {
3931
3953
  if (t == null)
3932
3954
  return;
3933
3955
  if (t in e)
@@ -3948,92 +3970,92 @@ function Li(e, t) {
3948
3970
  n = void 0;
3949
3971
  return n;
3950
3972
  }
3951
- const $ = {}, Ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
3973
+ const F = {}, Ri = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Sr = (e, t) => {
3952
3974
  if (t == null)
3953
3975
  return;
3954
- if (t in $ && e in $[t])
3955
- return $[t][e];
3956
- const r = Pe(t);
3976
+ if (t in F && e in F[t])
3977
+ return F[t][e];
3978
+ const r = Ne(t);
3957
3979
  for (let n = 0; n < r.length; n++) {
3958
- const i = r[n], s = Mi(i, e);
3980
+ const i = r[n], s = Ui(i, e);
3959
3981
  if (s)
3960
- return Ci(e, t, s);
3982
+ return Ri(e, t, s);
3961
3983
  }
3962
3984
  };
3963
- let st;
3964
- const de = Ae({});
3965
- function Ii(e) {
3966
- return st[e] || null;
3985
+ let ht;
3986
+ const de = Be({});
3987
+ function Gi(e) {
3988
+ return ht[e] || null;
3967
3989
  }
3968
- function yr(e) {
3969
- return e in st;
3990
+ function wr(e) {
3991
+ return e in ht;
3970
3992
  }
3971
- function Mi(e, t) {
3972
- if (!yr(e))
3993
+ function Ui(e, t) {
3994
+ if (!wr(e))
3973
3995
  return null;
3974
- const r = Ii(e);
3975
- return Li(r, t);
3996
+ const r = Gi(e);
3997
+ return Mi(r, t);
3976
3998
  }
3977
- function Ri(e) {
3999
+ function Di(e) {
3978
4000
  if (e == null)
3979
4001
  return;
3980
- const t = Pe(e);
4002
+ const t = Ne(e);
3981
4003
  for (let r = 0; r < t.length; r++) {
3982
4004
  const n = t[r];
3983
- if (yr(n))
4005
+ if (wr(n))
3984
4006
  return n;
3985
4007
  }
3986
4008
  }
3987
- function vr(e, ...t) {
3988
- delete $[e], de.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
4009
+ function Tr(e, ...t) {
4010
+ delete F[e], de.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
3989
4011
  }
3990
4012
  oe(
3991
4013
  [de],
3992
4014
  ([e]) => Object.keys(e)
3993
4015
  );
3994
- de.subscribe((e) => st = e);
3995
- const xe = {};
3996
- function Gi(e, t) {
3997
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4016
+ de.subscribe((e) => ht = e);
4017
+ const Se = {};
4018
+ function Fi(e, t) {
4019
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3998
4020
  }
3999
- function Er(e) {
4000
- return xe[e];
4021
+ function Hr(e) {
4022
+ return Se[e];
4001
4023
  }
4002
- function Ui(e) {
4003
- return Pe(e).map((t) => {
4004
- const r = Er(t);
4024
+ function $i(e) {
4025
+ return Ne(e).map((t) => {
4026
+ const r = Hr(t);
4005
4027
  return [t, r ? [...r] : []];
4006
4028
  }).filter(([, t]) => t.length > 0);
4007
4029
  }
4008
- function rt(e) {
4009
- return e == null ? !1 : Pe(e).some(
4030
+ function it(e) {
4031
+ return e == null ? !1 : Ne(e).some(
4010
4032
  (t) => {
4011
4033
  var r;
4012
- return (r = Er(t)) == null ? void 0 : r.size;
4034
+ return (r = Hr(t)) == null ? void 0 : r.size;
4013
4035
  }
4014
4036
  );
4015
4037
  }
4016
- function Di(e, t) {
4038
+ function ji(e, t) {
4017
4039
  return Promise.all(
4018
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4019
- ).then((n) => vr(e, ...n));
4040
+ t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4041
+ ).then((n) => Tr(e, ...n));
4020
4042
  }
4021
4043
  const ue = {};
4022
- function _r(e) {
4023
- if (!rt(e))
4044
+ function Ar(e) {
4045
+ if (!it(e))
4024
4046
  return e in ue ? ue[e] : Promise.resolve();
4025
- const t = Ui(e);
4047
+ const t = $i(e);
4026
4048
  return ue[e] = Promise.all(
4027
4049
  t.map(
4028
- ([r, n]) => Di(r, n)
4050
+ ([r, n]) => ji(r, n)
4029
4051
  )
4030
4052
  ).then(() => {
4031
- if (rt(e))
4032
- return _r(e);
4053
+ if (it(e))
4054
+ return Ar(e);
4033
4055
  delete ue[e];
4034
4056
  }), ue[e];
4035
4057
  }
4036
- const Fi = {
4058
+ const ki = {
4037
4059
  number: {
4038
4060
  scientific: { notation: "scientific" },
4039
4061
  engineering: { notation: "engineering" },
@@ -4062,78 +4084,78 @@ const Fi = {
4062
4084
  timeZoneName: "short"
4063
4085
  }
4064
4086
  }
4065
- }, $i = {
4087
+ }, Vi = {
4066
4088
  fallbackLocale: null,
4067
4089
  loadingDelay: 200,
4068
- formats: Fi,
4090
+ formats: ki,
4069
4091
  warnOnMissingMessages: !0,
4070
4092
  handleMissingMessage: void 0,
4071
4093
  ignoreTag: !0
4072
- }, ji = $i;
4094
+ }, Xi = Vi;
4073
4095
  function ne() {
4074
- return ji;
4096
+ return Xi;
4075
4097
  }
4076
- const $e = Ae(!1);
4077
- var ki = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
4098
+ const ke = Be(!1);
4099
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4078
4100
  for (var r in t || (t = {}))
4079
- Wi.call(t, r) && It(e, r, t[r]);
4080
- if (Ct)
4081
- for (var r of Ct(t))
4082
- zi.call(t, r) && It(e, r, t[r]);
4101
+ Qi.call(t, r) && Dt(e, r, t[r]);
4102
+ if (Ut)
4103
+ for (var r of Ut(t))
4104
+ Yi.call(t, r) && Dt(e, r, t[r]);
4083
4105
  return e;
4084
- }, Qi = (e, t) => Vi(e, Xi(t));
4085
- let nt;
4086
- const Se = Ae(null);
4087
- function Mt(e) {
4106
+ }, Ji = (e, t) => zi(e, Zi(t));
4107
+ let st;
4108
+ const we = Be(null);
4109
+ function Ft(e) {
4088
4110
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4089
4111
  }
4090
- function Pe(e, t = ne().fallbackLocale) {
4091
- const r = Mt(e);
4092
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4112
+ function Ne(e, t = ne().fallbackLocale) {
4113
+ const r = Ft(e);
4114
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4093
4115
  }
4094
4116
  function X() {
4095
- return nt != null ? nt : void 0;
4117
+ return st != null ? st : void 0;
4096
4118
  }
4097
- Se.subscribe((e) => {
4098
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4119
+ we.subscribe((e) => {
4120
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4099
4121
  });
4100
- const Yi = (e) => {
4101
- if (e && Ri(e) && rt(e)) {
4122
+ const Ki = (e) => {
4123
+ if (e && Di(e) && it(e)) {
4102
4124
  const { loadingDelay: t } = ne();
4103
4125
  let r;
4104
4126
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4105
- () => $e.set(!0),
4127
+ () => ke.set(!0),
4106
4128
  t
4107
- ) : $e.set(!0), _r(e).then(() => {
4108
- Se.set(e);
4129
+ ) : ke.set(!0), Ar(e).then(() => {
4130
+ we.set(e);
4109
4131
  }).finally(() => {
4110
- clearTimeout(r), $e.set(!1);
4132
+ clearTimeout(r), ke.set(!1);
4111
4133
  });
4112
4134
  }
4113
- return Se.set(e);
4114
- }, be = Qi(Zi({}, Se), {
4115
- set: Yi
4116
- }), Ne = (e) => {
4135
+ return we.set(e);
4136
+ }, be = Ji(qi({}, we), {
4137
+ set: Ki
4138
+ }), Oe = (e) => {
4117
4139
  const t = /* @__PURE__ */ Object.create(null);
4118
4140
  return (n) => {
4119
4141
  const i = JSON.stringify(n);
4120
4142
  return i in t ? t[i] : t[i] = e(n);
4121
4143
  };
4122
4144
  };
4123
- var qi = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4145
+ var es = Object.defineProperty, Te = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4124
4146
  for (var r in t || (t = {}))
4125
- xr.call(t, r) && Rt(e, r, t[r]);
4147
+ Br.call(t, r) && $t(e, r, t[r]);
4126
4148
  if (Te)
4127
4149
  for (var r of Te(t))
4128
- Sr.call(t, r) && Rt(e, r, t[r]);
4150
+ Pr.call(t, r) && $t(e, r, t[r]);
4129
4151
  return e;
4130
4152
  }, ae = (e, t) => {
4131
4153
  var r = {};
4132
4154
  for (var n in e)
4133
- xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4155
+ Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4134
4156
  if (e != null && Te)
4135
4157
  for (var n of Te(e))
4136
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4158
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4137
4159
  return r;
4138
4160
  };
4139
4161
  const fe = (e, t) => {
@@ -4141,21 +4163,21 @@ const fe = (e, t) => {
4141
4163
  if (e in r && t in r[e])
4142
4164
  return r[e][t];
4143
4165
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4144
- }, Ji = Ne(
4166
+ }, ts = Oe(
4145
4167
  (e) => {
4146
4168
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4147
4169
  if (r == null)
4148
4170
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4149
4171
  return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4150
4172
  }
4151
- ), Ki = Ne(
4173
+ ), rs = Oe(
4152
4174
  (e) => {
4153
4175
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4154
4176
  if (r == null)
4155
4177
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4156
4178
  return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4157
4179
  }
4158
- ), es = Ne(
4180
+ ), ns = Oe(
4159
4181
  (e) => {
4160
4182
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4161
4183
  if (r == null)
@@ -4164,33 +4186,33 @@ const fe = (e, t) => {
4164
4186
  );
4165
4187
  return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4166
4188
  }
4167
- ), ts = (e = {}) => {
4189
+ ), is = (e = {}) => {
4168
4190
  var t = e, {
4169
4191
  locale: r = X()
4170
4192
  } = t, n = ae(t, [
4171
4193
  "locale"
4172
4194
  ]);
4173
- return Ji(ot({ locale: r }, n));
4174
- }, rs = (e = {}) => {
4195
+ return ts(lt({ locale: r }, n));
4196
+ }, ss = (e = {}) => {
4175
4197
  var t = e, {
4176
4198
  locale: r = X()
4177
4199
  } = t, n = ae(t, [
4178
4200
  "locale"
4179
4201
  ]);
4180
- return Ki(ot({ locale: r }, n));
4181
- }, ns = (e = {}) => {
4202
+ return rs(lt({ locale: r }, n));
4203
+ }, os = (e = {}) => {
4182
4204
  var t = e, {
4183
4205
  locale: r = X()
4184
4206
  } = t, n = ae(t, [
4185
4207
  "locale"
4186
4208
  ]);
4187
- return es(ot({ locale: r }, n));
4188
- }, is = Ne(
4209
+ return ns(lt({ locale: r }, n));
4210
+ }, as = Oe(
4189
4211
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4190
- (e, t = X()) => new Oi(e, t, ne().formats, {
4212
+ (e, t = X()) => new Ii(e, t, ne().formats, {
4191
4213
  ignoreTag: ne().ignoreTag
4192
4214
  })
4193
- ), ss = (e, t = {}) => {
4215
+ ), us = (e, t = {}) => {
4194
4216
  var r, n, i, s;
4195
4217
  let o = t;
4196
4218
  typeof e == "object" && (o = e, e = o.id);
@@ -4203,7 +4225,7 @@ const fe = (e, t) => {
4203
4225
  throw new Error(
4204
4226
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4205
4227
  );
4206
- let l = gr(e, h);
4228
+ let l = Sr(e, h);
4207
4229
  if (!l)
4208
4230
  l = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4209
4231
  else if (typeof l != "string")
@@ -4214,7 +4236,7 @@ const fe = (e, t) => {
4214
4236
  return l;
4215
4237
  let m = l;
4216
4238
  try {
4217
- m = is(l, h).format(a);
4239
+ m = as(l, h).format(a);
4218
4240
  } catch (c) {
4219
4241
  c instanceof Error && console.warn(
4220
4242
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4222,17 +4244,40 @@ const fe = (e, t) => {
4222
4244
  );
4223
4245
  }
4224
4246
  return m;
4225
- }, os = (e, t) => ns(t).format(e), as = (e, t) => rs(t).format(e), us = (e, t) => ts(t).format(e), hs = (e, t = X()) => gr(e, t), ls = oe([be, de], () => ss);
4226
- oe([be], () => os);
4227
- oe([be], () => as);
4228
- oe([be], () => us);
4229
- oe([be, de], () => hs);
4230
- window.emWidgets = { topic: Sn };
4231
- const cs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4232
- function Gt(e, t) {
4233
- vr(e, t);
4234
- }
4235
- const Ut = {
4247
+ }, hs = (e, t) => os(t).format(e), ls = (e, t) => ss(t).format(e), cs = (e, t) => is(t).format(e), fs = (e, t = X()) => Sr(e, t), ms = oe([be, de], () => us);
4248
+ oe([be], () => hs);
4249
+ oe([be], () => ls);
4250
+ oe([be], () => cs);
4251
+ oe([be, de], () => fs);
4252
+ window.emWidgets = { topic: An };
4253
+ const ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4254
+ function bs(e, t) {
4255
+ if (e) {
4256
+ const r = document.createElement("style");
4257
+ r.innerHTML = t, e.appendChild(r);
4258
+ }
4259
+ }
4260
+ function ps(e, t) {
4261
+ const r = new URL(t);
4262
+ fetch(r.href).then((n) => n.text()).then((n) => {
4263
+ const i = document.createElement("style");
4264
+ i.innerHTML = n, e && e.appendChild(i);
4265
+ }).catch((n) => {
4266
+ console.error("There was an error while trying to load client styling from URL", n);
4267
+ });
4268
+ }
4269
+ function gs(e, t, r) {
4270
+ if (window.emMessageBus) {
4271
+ const n = document.createElement("style");
4272
+ window.emMessageBus.subscribe(t, (i) => {
4273
+ n.innerHTML = i, e && e.appendChild(n);
4274
+ });
4275
+ }
4276
+ }
4277
+ function jt(e, t) {
4278
+ Tr(e, t);
4279
+ }
4280
+ const kt = {
4236
4281
  en: {
4237
4282
  lobbyName: "Lobby",
4238
4283
  myGamesName: "My games"
@@ -4318,14 +4363,14 @@ if (typeof window != "undefined") {
4318
4363
  }
4319
4364
  };
4320
4365
  };
4321
- customElements.define = e(customElements.define), import("./CasinoSlider-Mt6fzaYh.js").then(({ default: t }) => {
4366
+ customElements.define = e(customElements.define), import("./CasinoSlider-BU4oCDAl.js").then(({ default: t }) => {
4322
4367
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4323
4368
  });
4324
4369
  }
4325
- function fs(e) {
4326
- Vr(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))}");
4370
+ function ys(e) {
4371
+ Zr(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))}");
4327
4372
  }
4328
- function ms(e) {
4373
+ function vs(e) {
4329
4374
  let t, r, n, i;
4330
4375
  return {
4331
4376
  c() {
@@ -4344,11 +4389,11 @@ function ms(e) {
4344
4389
  "endpoint",
4345
4390
  /*endpoint*/
4346
4391
  e[1]
4347
- ), E(r, "identity", it), E(
4392
+ ), E(r, "identity", ot), E(
4348
4393
  r,
4349
4394
  "favoritesnumber",
4350
4395
  /*numberOfFavoredGames*/
4351
- e[15]
4396
+ e[16]
4352
4397
  ), E(
4353
4398
  r,
4354
4399
  "showsubgroups",
@@ -4364,6 +4409,11 @@ function ms(e) {
4364
4409
  "clientstylingurl",
4365
4410
  /*clientstylingurl*/
4366
4411
  e[5]
4412
+ ), E(
4413
+ r,
4414
+ "mbsource",
4415
+ /*mbsource*/
4416
+ e[12]
4367
4417
  ), E(
4368
4418
  r,
4369
4419
  "activeindex",
@@ -4397,9 +4447,9 @@ function ms(e) {
4397
4447
  ), K(t, "class", "CasinoCategoriesContainer svelte-2g6deg"), K(t, "part", "CasinoCategoriesContainer");
4398
4448
  },
4399
4449
  m(s, o) {
4400
- me(s, t, o), jt(t, r), n || (i = kr(
4450
+ me(s, t, o), zt(t, r), n || (i = zr(
4401
4451
  /*sendSliderData*/
4402
- e[16].call(null, r)
4452
+ e[17].call(null, r)
4403
4453
  ), n = !0);
4404
4454
  },
4405
4455
  p(s, o) {
@@ -4422,11 +4472,11 @@ function ms(e) {
4422
4472
  /*endpoint*/
4423
4473
  s[1]
4424
4474
  ), o[0] & /*numberOfFavoredGames*/
4425
- 32768 && E(
4475
+ 65536 && E(
4426
4476
  r,
4427
4477
  "favoritesnumber",
4428
4478
  /*numberOfFavoredGames*/
4429
- s[15]
4479
+ s[16]
4430
4480
  ), o[0] & /*showsubgroups*/
4431
4481
  256 && E(
4432
4482
  r,
@@ -4445,6 +4495,12 @@ function ms(e) {
4445
4495
  "clientstylingurl",
4446
4496
  /*clientstylingurl*/
4447
4497
  s[5]
4498
+ ), o[0] & /*mbsource*/
4499
+ 4096 && E(
4500
+ r,
4501
+ "mbsource",
4502
+ /*mbsource*/
4503
+ s[12]
4448
4504
  ), o[0] & /*activecategory*/
4449
4505
  1 && E(
4450
4506
  r,
@@ -4488,7 +4544,7 @@ function ms(e) {
4488
4544
  }
4489
4545
  };
4490
4546
  }
4491
- function ds(e) {
4547
+ function Es(e) {
4492
4548
  let t;
4493
4549
  return {
4494
4550
  c() {
@@ -4497,13 +4553,13 @@ function ds(e) {
4497
4553
  m(r, n) {
4498
4554
  me(r, t, n);
4499
4555
  },
4500
- p: B,
4556
+ p: P,
4501
4557
  d(r) {
4502
4558
  r && se(t);
4503
4559
  }
4504
4560
  };
4505
4561
  }
4506
- function bs(e) {
4562
+ function _s(e) {
4507
4563
  let t;
4508
4564
  return {
4509
4565
  c() {
@@ -4512,20 +4568,20 @@ function bs(e) {
4512
4568
  m(r, n) {
4513
4569
  me(r, t, n);
4514
4570
  },
4515
- p: B,
4571
+ p: P,
4516
4572
  d(r) {
4517
4573
  r && se(t);
4518
4574
  }
4519
4575
  };
4520
4576
  }
4521
- function ps(e) {
4577
+ function xs(e) {
4522
4578
  let t;
4523
4579
  function r(s, o) {
4524
4580
  return (
4525
4581
  /*isLoading*/
4526
- s[12] || gs || ys ? bs : (
4582
+ s[13] || Ss || ws ? _s : (
4527
4583
  /*hasErrors*/
4528
- s[14] ? ds : ms
4584
+ s[15] ? Es : vs
4529
4585
  )
4530
4586
  );
4531
4587
  }
@@ -4535,117 +4591,105 @@ function ps(e) {
4535
4591
  t = V("div"), i.c();
4536
4592
  },
4537
4593
  m(s, o) {
4538
- me(s, t, o), i.m(t, null), e[26](t);
4594
+ me(s, t, o), i.m(t, null), e[27](t);
4539
4595
  },
4540
4596
  p(s, o) {
4541
4597
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
4542
4598
  },
4543
- i: B,
4544
- o: B,
4599
+ i: P,
4600
+ o: P,
4545
4601
  d(s) {
4546
- s && se(t), i.d(), e[26](null);
4602
+ s && se(t), i.d(), e[27](null);
4547
4603
  }
4548
4604
  };
4549
4605
  }
4550
- let it = "CasinoSliderData", gs = !1, ys = !1;
4551
- function vs(e, t, r) {
4606
+ let ot = "CasinoSliderData", Ss = !1, ws = !1;
4607
+ function Ts(e, t, r) {
4552
4608
  let n;
4553
- jr(e, ls, (f) => r(32, n = f));
4554
- 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: I = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: T = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: G = "" } = t, { mygamesiconimage: _ = "" } = t, L, C, M = !0, W, z = [], j = !1, wr = window.navigator.userAgent, k, at, ut = !1, Oe = !1;
4555
- const Hr = () => {
4556
- fetch(N).then((H) => H.json()).then((H) => {
4557
- Object.keys(H).forEach((F) => {
4558
- Gt(F, H[F]);
4609
+ Wr(e, ms, (f) => r(33, n = f));
4610
+ 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: I = "secondaryMenu" } = t, { showsubgroups: N = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, C, $, ct, j = !0, W, z = [], k = !1, Or = window.navigator.userAgent, G, ft, mt = !1, Le = !1;
4611
+ const Lr = () => {
4612
+ fetch(O).then((B) => B.json()).then((B) => {
4613
+ Object.keys(B).forEach((pe) => {
4614
+ jt(pe, B[pe]);
4559
4615
  });
4560
- }).catch((H) => {
4561
- console.log(H);
4616
+ }).catch((B) => {
4617
+ console.log(B);
4562
4618
  });
4563
4619
  };
4564
- Object.keys(Ut).forEach((f) => {
4565
- Gt(f, Ut[f]);
4620
+ Object.keys(kt).forEach((f) => {
4621
+ jt(f, kt[f]);
4566
4622
  });
4567
- const Ar = () => {
4568
- ut == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4623
+ const Cr = () => {
4624
+ mt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
4569
4625
  // @ts-ignore
4570
4626
  id: "MYGAMES",
4571
- name: L,
4627
+ name: $,
4572
4628
  href: "",
4573
4629
  games: []
4574
- }), qr(), ut = !0, r(25, Oe = !0), Le();
4575
- }, Br = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(14, j = !0), r(12, M = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(14, j = !0), r(12, M = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(14, j = !0), r(12, M = !1), console.error(W)), j), Pr = () => {
4576
- if (L = n("myGamesName"), C = n("lobbyName"), !Br()) {
4630
+ }), tn(), mt = !0, r(26, Le = !0), Ce();
4631
+ }, Ir = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
4632
+ if ($ = n("myGamesName"), ct = n("lobbyName"), !Ir()) {
4577
4633
  let f = new URL(`${i}/v1/casino/groups/${s}`);
4578
- f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", cs(wr)), fetch(f).then((H) => H.json()).then(
4579
- (H) => {
4580
- let F = T.split(","), Ir = H.items.filter((lt) => {
4581
- let Ce = !1;
4582
- if (lt.games.total > 0 && (Ce = !0, T))
4583
- for (let Mr of F)
4584
- lt.flags == Mr && (Ce = !1);
4585
- return Ce;
4634
+ f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", ds(Or)), fetch(f).then((B) => B.json()).then(
4635
+ (B) => {
4636
+ let pe = w.split(","), Ur = B.items.filter((bt) => {
4637
+ let Ie = !1;
4638
+ if (bt.games.total > 0 && (Ie = !0, w))
4639
+ for (let Dr of pe)
4640
+ bt.flags == Dr && (Ie = !1);
4641
+ return Ie;
4586
4642
  });
4587
- z = [], z = z.concat(Ir), z.unshift({
4643
+ z = [], z = z.concat(Ur), z.unshift({
4588
4644
  // @ts-ignore
4589
4645
  id: "LOBBY",
4590
- name: C,
4646
+ name: ct,
4591
4647
  href: "",
4592
4648
  games: []
4593
- }), r(12, M = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4649
+ }), r(13, j = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
4594
4650
  },
4595
- (H) => {
4596
- r(14, j = !0), console.error("There was an error while fetching the categories", H);
4651
+ (B) => {
4652
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4597
4653
  }
4598
- ).catch((H) => {
4599
- r(14, j = !0), console.error("There was an error while fetching the categories", H);
4654
+ ).catch((B) => {
4655
+ r(15, k = !0), console.error("There was an error while fetching the categories", B);
4600
4656
  });
4601
4657
  }
4602
- }, Nr = () => {
4658
+ }, Rr = () => {
4603
4659
  let f = b.split("$");
4604
4660
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4605
- }, Or = () => {
4606
- let f = document.createElement("style");
4607
- f.innerHTML = c, k.appendChild(f);
4608
- }, Lr = () => {
4609
- let f = document.createElement("style"), H = new URL(d);
4610
- fetch(H.href).then((F) => F.text()).then((F) => {
4611
- f.innerHTML = F, setTimeout(
4612
- () => {
4613
- k.appendChild(f);
4614
- },
4615
- 1
4616
- );
4617
- });
4618
- }, Le = () => {
4661
+ }, Ce = () => {
4619
4662
  window.postMessage(
4620
4663
  {
4621
4664
  type: "SliderData",
4622
- identity: it,
4665
+ identity: ot,
4623
4666
  data: z
4624
4667
  },
4625
4668
  window.location.href
4626
4669
  );
4627
- }, ht = (f) => {
4628
- f.data && f.data.type == "SliderLoaded" && it == f.data.identity && Le();
4670
+ }, dt = (f) => {
4671
+ f.data && f.data.type == "SliderLoaded" && ot == f.data.identity && Ce();
4629
4672
  };
4630
- Yr(() => (window.addEventListener("message", ht, !1), () => {
4631
- window.removeEventListener("message", ht);
4673
+ en(() => (window.addEventListener("message", dt, !1), () => {
4674
+ window.emMessageBus && C && C.unsubscribe(), window.removeEventListener("message", dt);
4632
4675
  }));
4633
- function Cr(f) {
4634
- je[f ? "unshift" : "push"](() => {
4635
- k = f, r(13, k);
4676
+ function Gr(f) {
4677
+ Ve[f ? "unshift" : "push"](() => {
4678
+ G = f, r(14, G);
4636
4679
  });
4637
4680
  }
4638
4681
  return e.$$set = (f) => {
4639
- "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, I = 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, G = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage);
4682
+ "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, I = 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, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4640
4683
  }, e.$$.update = () => {
4641
4684
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4642
- 14 && i && s && o && Pr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4643
- 3936258 && i && h && (u || l || m) && !M && Ar(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4644
- 33820673 && !M && b && (!h || Oe) && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4645
- 8208 && c && k && Or(), e.$$.dirty[0] & /*translationurl*/
4646
- 16777216 && N && Hr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4647
- 8224 && d && k && Lr();
4648
- }, r(15, at = 0), [
4685
+ 14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4686
+ 7872514 && i && h && (u || l || m) && !j && Cr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4687
+ 67641345 && !j && b && (!h || Le) && Rr(), e.$$.dirty[0] & /*translationurl*/
4688
+ 33554432 && O && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4689
+ 16400 && c && G && bs(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4690
+ 16416 && d && G && ps(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4691
+ 20480 && G && gs(G, `${A}.Style`);
4692
+ }, r(16, ft = 0), [
4649
4693
  b,
4650
4694
  i,
4651
4695
  s,
@@ -4654,58 +4698,60 @@ function vs(e, t, r) {
4654
4698
  d,
4655
4699
  y,
4656
4700
  I,
4657
- P,
4658
- O,
4659
- G,
4701
+ N,
4702
+ L,
4703
+ R,
4660
4704
  _,
4661
- M,
4662
- k,
4705
+ A,
4663
4706
  j,
4664
- at,
4665
- Le,
4707
+ G,
4708
+ k,
4709
+ ft,
4710
+ Ce,
4666
4711
  a,
4667
4712
  h,
4668
4713
  u,
4669
4714
  l,
4670
4715
  m,
4671
- w,
4672
4716
  T,
4673
- N,
4674
- Oe,
4675
- Cr
4717
+ w,
4718
+ O,
4719
+ Le,
4720
+ Gr
4676
4721
  ];
4677
4722
  }
4678
- class Tr extends an {
4723
+ class Nr extends cn {
4679
4724
  constructor(t) {
4680
- super(), sn(
4725
+ super(), hn(
4681
4726
  this,
4682
4727
  t,
4683
- vs,
4684
- ps,
4685
- Ft,
4728
+ Ts,
4729
+ xs,
4730
+ Xt,
4686
4731
  {
4687
4732
  endpoint: 1,
4688
4733
  datasource: 2,
4689
4734
  lang: 3,
4690
- userid: 17,
4691
- session: 18,
4692
- mostplayed: 19,
4693
- lastplayed: 20,
4694
- favorites: 21,
4735
+ userid: 18,
4736
+ session: 19,
4737
+ mostplayed: 20,
4738
+ lastplayed: 21,
4739
+ favorites: 22,
4695
4740
  clientstyling: 4,
4696
4741
  clientstylingurl: 5,
4697
4742
  activecategory: 0,
4698
4743
  actionevent: 6,
4699
- sessioncheck: 22,
4744
+ sessioncheck: 23,
4700
4745
  location: 7,
4701
4746
  showsubgroups: 8,
4702
- filteredcategories: 23,
4703
- translationurl: 24,
4747
+ filteredcategories: 24,
4748
+ translationurl: 25,
4704
4749
  categoriesicon: 9,
4705
4750
  lobbyiconimage: 10,
4706
- mygamesiconimage: 11
4751
+ mygamesiconimage: 11,
4752
+ mbsource: 12
4707
4753
  },
4708
- fs,
4754
+ ys,
4709
4755
  [-1, -1]
4710
4756
  );
4711
4757
  }
@@ -4728,31 +4774,31 @@ class Tr extends an {
4728
4774
  this.$$set({ lang: t }), S();
4729
4775
  }
4730
4776
  get userid() {
4731
- return this.$$.ctx[17];
4777
+ return this.$$.ctx[18];
4732
4778
  }
4733
4779
  set userid(t) {
4734
4780
  this.$$set({ userid: t }), S();
4735
4781
  }
4736
4782
  get session() {
4737
- return this.$$.ctx[18];
4783
+ return this.$$.ctx[19];
4738
4784
  }
4739
4785
  set session(t) {
4740
4786
  this.$$set({ session: t }), S();
4741
4787
  }
4742
4788
  get mostplayed() {
4743
- return this.$$.ctx[19];
4789
+ return this.$$.ctx[20];
4744
4790
  }
4745
4791
  set mostplayed(t) {
4746
4792
  this.$$set({ mostplayed: t }), S();
4747
4793
  }
4748
4794
  get lastplayed() {
4749
- return this.$$.ctx[20];
4795
+ return this.$$.ctx[21];
4750
4796
  }
4751
4797
  set lastplayed(t) {
4752
4798
  this.$$set({ lastplayed: t }), S();
4753
4799
  }
4754
4800
  get favorites() {
4755
- return this.$$.ctx[21];
4801
+ return this.$$.ctx[22];
4756
4802
  }
4757
4803
  set favorites(t) {
4758
4804
  this.$$set({ favorites: t }), S();
@@ -4782,7 +4828,7 @@ class Tr extends an {
4782
4828
  this.$$set({ actionevent: t }), S();
4783
4829
  }
4784
4830
  get sessioncheck() {
4785
- return this.$$.ctx[22];
4831
+ return this.$$.ctx[23];
4786
4832
  }
4787
4833
  set sessioncheck(t) {
4788
4834
  this.$$set({ sessioncheck: t }), S();
@@ -4800,13 +4846,13 @@ class Tr extends an {
4800
4846
  this.$$set({ showsubgroups: t }), S();
4801
4847
  }
4802
4848
  get filteredcategories() {
4803
- return this.$$.ctx[23];
4849
+ return this.$$.ctx[24];
4804
4850
  }
4805
4851
  set filteredcategories(t) {
4806
4852
  this.$$set({ filteredcategories: t }), S();
4807
4853
  }
4808
4854
  get translationurl() {
4809
- return this.$$.ctx[24];
4855
+ return this.$$.ctx[25];
4810
4856
  }
4811
4857
  set translationurl(t) {
4812
4858
  this.$$set({ translationurl: t }), S();
@@ -4829,40 +4875,49 @@ class Tr extends an {
4829
4875
  set mygamesiconimage(t) {
4830
4876
  this.$$set({ mygamesiconimage: t }), S();
4831
4877
  }
4878
+ get mbsource() {
4879
+ return this.$$.ctx[12];
4880
+ }
4881
+ set mbsource(t) {
4882
+ this.$$set({ mbsource: t }), S();
4883
+ }
4832
4884
  }
4833
- on(Tr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4834
- const Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4885
+ ln(Nr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4886
+ const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4835
4887
  __proto__: null,
4836
- default: Tr
4888
+ default: Nr
4837
4889
  }, Symbol.toStringTag, { value: "Module" }));
4838
4890
  export {
4839
4891
  be as $,
4840
- Ns as C,
4841
- an as S,
4892
+ Bs as A,
4893
+ Zt as B,
4894
+ Ls as C,
4895
+ Rs as D,
4896
+ cn as S,
4842
4897
  de as a,
4843
- vr as b,
4844
- Vr as c,
4845
- se as d,
4846
- K as e,
4898
+ Tr as b,
4899
+ ln as c,
4900
+ Zr as d,
4901
+ V as e,
4847
4902
  S as f,
4848
- me as g,
4849
- jt as h,
4850
- sn as i,
4851
- V as j,
4852
- Ss as k,
4853
- ws as l,
4854
- As as m,
4855
- B as n,
4856
- Yr as o,
4857
- Ts as p,
4858
- je as q,
4903
+ Ps as g,
4904
+ K as h,
4905
+ hn as i,
4906
+ me as j,
4907
+ zt as k,
4908
+ Os as l,
4909
+ se as m,
4910
+ P as n,
4911
+ en as o,
4912
+ ps as p,
4913
+ gs as q,
4859
4914
  ie as r,
4860
- Ft as s,
4861
- _s as t,
4862
- Ps as u,
4863
- Hs as v,
4864
- kt as w,
4865
- xs as x,
4866
- Bs as y,
4867
- on as z
4915
+ Xt as s,
4916
+ Cs as t,
4917
+ Ns as u,
4918
+ Ms as v,
4919
+ As as w,
4920
+ Ve as x,
4921
+ bs as y,
4922
+ Is as z
4868
4923
  };