@everymatrix/casino-categories-slider 1.65.2 → 1.65.3

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