@everymatrix/casino-categories-slider 1.61.1 → 1.62.1

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