@everymatrix/casino-random-game 1.77.20 → 1.77.21

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,16 +1,16 @@
1
- var Vr = Object.defineProperty, Wr = Object.defineProperties;
2
- var Xr = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
5
- var Ge = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
1
+ var Zr = Object.defineProperty, Qr = Object.defineProperties;
2
+ var Yr = Object.getOwnPropertyDescriptors;
3
+ var yt = Object.getOwnPropertySymbols;
4
+ var qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? Zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- zr.call(t, r) && Ge(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Jr.call(t, r) && Ge(e, r, t[r]);
7
+ qr.call(t, r) && $e(e, r, t[r]);
8
+ if (yt)
9
+ for (var r of yt(t))
10
+ Kr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, pt = (e, t) => Wr(e, Xr(t));
13
- var N = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, _t = (e, t) => Qr(e, Yr(t));
13
+ var N = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ye = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -27,9 +27,9 @@ var ye = (e, t, r) => new Promise((n, i) => {
27
27
  }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
- function C() {
30
+ function G() {
31
31
  }
32
- function Zr(e, t) {
32
+ function en(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,50 +37,50 @@ function Zr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function zt(e) {
40
+ function qt(e) {
41
41
  return e();
42
42
  }
43
- function bt() {
43
+ function xt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function J(e) {
47
- e.forEach(zt);
47
+ e.forEach(qt);
48
48
  }
49
- function st(e) {
49
+ function ft(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Jt(e, t) {
52
+ function Kt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let ve;
56
- function gt(e, t) {
56
+ function Et(e, t) {
57
57
  return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
58
58
  }
59
- function Qr(e) {
59
+ function tn(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function Zt(e, ...t) {
62
+ function er(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
66
- return C;
66
+ return G;
67
67
  }
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function Yr(e, t, r) {
72
- e.$$.on_destroy.push(Zt(t, r));
71
+ function rn(e, t, r) {
72
+ e.$$.on_destroy.push(er(t, r));
73
73
  }
74
- function qr(e, t, r, n) {
74
+ function nn(e, t, r, n) {
75
75
  if (e) {
76
- const i = Qt(e, t, r, n);
76
+ const i = tr(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function Qt(e, t, r, n) {
81
- return e[1] && n ? Zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function tr(e, t, r, n) {
81
+ return e[1] && n ? en(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function Kr(e, t, r, n) {
83
+ function on(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function Kr(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function en(e, t, r, n, i, o) {
98
+ function an(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = Qt(t, r, n, o);
100
+ const a = tr(t, r, n, o);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function tn(e) {
104
+ function sn(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,17 +110,17 @@ function tn(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function x(e, t) {
113
+ function _(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function rn(e, t, r) {
117
- const n = nn(e);
116
+ function un(e, t, r) {
117
+ const n = ln(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = S("style");
120
- i.id = t, i.textContent = r, on(n, i);
119
+ const i = w("style");
120
+ i.id = t, i.textContent = r, hn(n, i);
121
121
  }
122
122
  }
123
- function nn(e) {
123
+ function ln(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,8 +130,8 @@ function nn(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function on(e, t) {
134
- return x(
133
+ function hn(e, t) {
134
+ return _(
135
135
  /** @type {Document} */
136
136
  e.head || e,
137
137
  t
@@ -140,17 +140,17 @@ function on(e, t) {
140
140
  function I(e, t, r) {
141
141
  e.insertBefore(t, r || null);
142
142
  }
143
- function R(e) {
143
+ function O(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function an(e, t) {
146
+ function cn(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
150
- function S(e) {
150
+ function w(e) {
151
151
  return document.createElement(e);
152
152
  }
153
- function yt(e) {
153
+ function wt(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
156
  function k(e) {
@@ -165,14 +165,14 @@ function Be(e, t, r, n) {
165
165
  function g(e, t, r) {
166
166
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
167
167
  }
168
- function sn(e) {
168
+ function fn(e) {
169
169
  return Array.from(e.childNodes);
170
170
  }
171
171
  function z(e, t) {
172
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
173
173
  t);
174
174
  }
175
- function un(e) {
175
+ function mn(e) {
176
176
  const t = {};
177
177
  return e.childNodes.forEach(
178
178
  /** @param {Element} node */
@@ -181,72 +181,72 @@ function un(e) {
181
181
  }
182
182
  ), t;
183
183
  }
184
- let me;
185
- function ce(e) {
186
- me = e;
184
+ let fe;
185
+ function he(e) {
186
+ fe = e;
187
187
  }
188
- function ln() {
189
- if (!me)
188
+ function dn() {
189
+ if (!fe)
190
190
  throw new Error("Function called outside component initialization");
191
- return me;
191
+ return fe;
192
192
  }
193
- function hn(e) {
194
- ln().$$.on_mount.push(e);
193
+ function pn(e) {
194
+ dn().$$.on_mount.push(e);
195
195
  }
196
196
  const K = [], Ae = [];
197
197
  let ee = [];
198
- const vt = [], Yt = /* @__PURE__ */ Promise.resolve();
199
- let We = !1;
200
- function qt() {
201
- We || (We = !0, Yt.then(O));
198
+ const St = [], rr = /* @__PURE__ */ Promise.resolve();
199
+ let Je = !1;
200
+ function nr() {
201
+ Je || (Je = !0, rr.then(R));
202
202
  }
203
- function cn() {
204
- return qt(), Yt;
203
+ function bn() {
204
+ return nr(), rr;
205
205
  }
206
- function Xe(e) {
206
+ function Ze(e) {
207
207
  ee.push(e);
208
208
  }
209
- const Ue = /* @__PURE__ */ new Set();
209
+ const Fe = /* @__PURE__ */ new Set();
210
210
  let Y = 0;
211
- function O() {
211
+ function R() {
212
212
  if (Y !== 0)
213
213
  return;
214
- const e = me;
214
+ const e = fe;
215
215
  do {
216
216
  try {
217
217
  for (; Y < K.length; ) {
218
218
  const t = K[Y];
219
- Y++, ce(t), fn(t.$$);
219
+ Y++, he(t), gn(t.$$);
220
220
  }
221
221
  } catch (t) {
222
222
  throw K.length = 0, Y = 0, t;
223
223
  }
224
- for (ce(null), K.length = 0, Y = 0; Ae.length; )
224
+ for (he(null), K.length = 0, Y = 0; Ae.length; )
225
225
  Ae.pop()();
226
226
  for (let t = 0; t < ee.length; t += 1) {
227
227
  const r = ee[t];
228
- Ue.has(r) || (Ue.add(r), r());
228
+ Fe.has(r) || (Fe.add(r), r());
229
229
  }
230
230
  ee.length = 0;
231
231
  } while (K.length);
232
- for (; vt.length; )
233
- vt.pop()();
234
- We = !1, Ue.clear(), ce(e);
232
+ for (; St.length; )
233
+ St.pop()();
234
+ Je = !1, Fe.clear(), he(e);
235
235
  }
236
- function fn(e) {
236
+ function gn(e) {
237
237
  if (e.fragment !== null) {
238
238
  e.update(), J(e.before_update);
239
239
  const t = e.dirty;
240
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
241
241
  }
242
242
  }
243
- function mn(e) {
243
+ function yn(e) {
244
244
  const t = [], r = [];
245
245
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
246
246
  }
247
247
  const Ee = /* @__PURE__ */ new Set();
248
248
  let X;
249
- function dn() {
249
+ function vn() {
250
250
  X = {
251
251
  r: 0,
252
252
  c: [],
@@ -254,13 +254,13 @@ function dn() {
254
254
  // parent group
255
255
  };
256
256
  }
257
- function pn() {
257
+ function _n() {
258
258
  X.r || J(X.c), X = X.p;
259
259
  }
260
- function fe(e, t) {
260
+ function ce(e, t) {
261
261
  e && e.i && (Ee.delete(e), e.i(t));
262
262
  }
263
- function ze(e, t, r, n) {
263
+ function Qe(e, t, r, n) {
264
264
  if (e && e.o) {
265
265
  if (Ee.has(e))
266
266
  return;
@@ -270,34 +270,34 @@ function ze(e, t, r, n) {
270
270
  } else
271
271
  n && n();
272
272
  }
273
- function _t(e) {
273
+ function Tt(e) {
274
274
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
275
275
  }
276
- function bn(e, t, r) {
276
+ function xn(e, t, r) {
277
277
  const { fragment: n, after_update: i } = e.$$;
278
- n && n.m(t, r), Xe(() => {
279
- const o = e.$$.on_mount.map(zt).filter(st);
278
+ n && n.m(t, r), Ze(() => {
279
+ const o = e.$$.on_mount.map(qt).filter(ft);
280
280
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
281
- }), i.forEach(Xe);
281
+ }), i.forEach(Ze);
282
282
  }
283
- function gn(e, t) {
283
+ function En(e, t) {
284
284
  const r = e.$$;
285
- r.fragment !== null && (mn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
285
+ r.fragment !== null && (yn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
286
286
  }
287
- function yn(e, t) {
288
- e.$$.dirty[0] === -1 && (K.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
287
+ function wn(e, t) {
288
+ e.$$.dirty[0] === -1 && (K.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
289
289
  }
290
- function vn(e, t, r, n, i, o, a = null, s = [-1]) {
291
- const h = me;
292
- ce(e);
290
+ function Sn(e, t, r, n, i, o, a = null, s = [-1]) {
291
+ const h = fe;
292
+ he(e);
293
293
  const l = e.$$ = {
294
294
  fragment: null,
295
295
  ctx: [],
296
296
  // state
297
297
  props: o,
298
- update: C,
298
+ update: G,
299
299
  not_equal: i,
300
- bound: bt(),
300
+ bound: xt(),
301
301
  // lifecycle
302
302
  on_mount: [],
303
303
  on_destroy: [],
@@ -306,7 +306,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
306
306
  after_update: [],
307
307
  context: new Map(t.context || (h ? h.$$.context : [])),
308
308
  // everything else
309
- callbacks: bt(),
309
+ callbacks: xt(),
310
310
  dirty: s,
311
311
  skip_bound: !1,
312
312
  root: t.target || h.$$.root
@@ -315,19 +315,19 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
315
315
  let u = !1;
316
316
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
317
317
  const d = m.length ? m[0] : c;
318
- return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && yn(e, f)), c;
318
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && wn(e, f)), c;
319
319
  }) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
320
320
  if (t.hydrate) {
321
- const f = sn(t.target);
322
- l.fragment && l.fragment.l(f), f.forEach(R);
321
+ const f = fn(t.target);
322
+ l.fragment && l.fragment.l(f), f.forEach(O);
323
323
  } else
324
324
  l.fragment && l.fragment.c();
325
- t.intro && fe(e.$$.fragment), bn(e, t.target, t.anchor), O();
325
+ t.intro && ce(e.$$.fragment), xn(e, t.target, t.anchor), R();
326
326
  }
327
- ce(h);
327
+ he(h);
328
328
  }
329
- let Kt;
330
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
329
+ let ir;
330
+ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
331
331
  constructor(t, r, n) {
332
332
  super();
333
333
  /** The Svelte component constructor */
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
371
371
  let a;
372
372
  return {
373
373
  c: function() {
374
- a = S("slot"), o !== "default" && g(a, "name", o);
374
+ a = w("slot"), o !== "default" && g(a, "name", o);
375
375
  },
376
376
  /**
377
377
  * @param {HTMLElement} target
@@ -381,14 +381,14 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
381
381
  I(l, a, u);
382
382
  },
383
383
  d: function(l) {
384
- l && R(a);
384
+ l && O(a);
385
385
  }
386
386
  };
387
387
  };
388
388
  };
389
389
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
390
390
  return;
391
- const r = {}, n = un(this);
391
+ const r = {}, n = mn(this);
392
392
  for (const o of this.$$s)
393
393
  o in n && (r[o] = [t(o)]);
394
394
  for (const o of this.attributes) {
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
399
399
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
400
400
  this.$$c = new this.$$ctor({
401
401
  target: this.shadowRoot || this,
402
- props: pt(dt({}, this.$$d), {
402
+ props: _t(vt({}, this.$$d), {
403
403
  $$slots: r,
404
404
  $$scope: {
405
405
  ctx: []
@@ -477,8 +477,8 @@ function we(e, t, r, n) {
477
477
  return t;
478
478
  }
479
479
  }
480
- function _n(e, t, r, n, i, o) {
481
- let a = class extends Kt {
480
+ function Tn(e, t, r, n, i, o) {
481
+ let a = class extends ir {
482
482
  constructor() {
483
483
  super(e, r, i), this.$$p_d = t;
484
484
  }
@@ -508,7 +508,7 @@ function _n(e, t, r, n, i, o) {
508
508
  }), e.element = /** @type {any} */
509
509
  a, a;
510
510
  }
511
- class xn {
511
+ class Hn {
512
512
  constructor() {
513
513
  /**
514
514
  * ### PRIVATE API
@@ -529,7 +529,7 @@ class xn {
529
529
  }
530
530
  /** @returns {void} */
531
531
  $destroy() {
532
- gn(this, 1), this.$destroy = C;
532
+ En(this, 1), this.$destroy = G;
533
533
  }
534
534
  /**
535
535
  * @template {Extract<keyof Events, string>} K
@@ -538,8 +538,8 @@ class xn {
538
538
  * @returns {() => void}
539
539
  */
540
540
  $on(t, r) {
541
- if (!st(r))
542
- return C;
541
+ if (!ft(r))
542
+ return G;
543
543
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
544
544
  return n.push(r), () => {
545
545
  const i = n.indexOf(r);
@@ -551,11 +551,11 @@ class xn {
551
551
  * @returns {void}
552
552
  */
553
553
  $set(t) {
554
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
+ this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
555
  }
556
556
  }
557
- const En = "4";
558
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
557
+ const Bn = "4";
558
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
559
559
  /*! *****************************************************************************
560
560
  Copyright (c) Microsoft Corporation.
561
561
 
@@ -570,43 +570,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
570
570
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
571
571
  PERFORMANCE OF THIS SOFTWARE.
572
572
  ***************************************************************************** */
573
- var Je = function(e, t) {
574
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
573
+ var Ye = function(e, t) {
574
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
575
  r.__proto__ = n;
576
576
  } || function(r, n) {
577
577
  for (var i in n)
578
578
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
579
- }, Je(e, t);
579
+ }, Ye(e, t);
580
580
  };
581
- function $(e, t) {
581
+ function pe(e, t) {
582
582
  if (typeof t != "function" && t !== null)
583
583
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
584
- Je(e, t);
584
+ Ye(e, t);
585
585
  function r() {
586
586
  this.constructor = e;
587
587
  }
588
588
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
589
589
  }
590
- var _ = function() {
591
- return _ = Object.assign || function(t) {
592
- for (var r, n = 1, i = arguments.length; n < i; n++) {
593
- r = arguments[n];
594
- for (var o in r)
595
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
596
- }
597
- return t;
598
- }, _.apply(this, arguments);
599
- };
600
- function wn(e, t) {
601
- var r = {};
602
- for (var n in e)
603
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
604
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
605
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
606
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
607
- return r;
608
- }
609
- function Ze(e) {
590
+ function qe(e) {
610
591
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
611
592
  if (r)
612
593
  return r.call(e);
@@ -618,7 +599,7 @@ function Ze(e) {
618
599
  };
619
600
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
620
601
  }
621
- function Qe(e, t) {
602
+ function Ke(e, t) {
622
603
  var r = typeof Symbol == "function" && e[Symbol.iterator];
623
604
  if (!r)
624
605
  return e;
@@ -638,8 +619,8 @@ function Qe(e, t) {
638
619
  }
639
620
  return o;
640
621
  }
641
- function te(e, t, r) {
642
- if (r || arguments.length === 2)
622
+ function et(e, t, r) {
623
+ if (arguments.length === 2)
643
624
  for (var n = 0, i = t.length, o; n < i; n++)
644
625
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
645
626
  return e.concat(o || t);
@@ -647,13 +628,13 @@ function te(e, t, r) {
647
628
  function D(e) {
648
629
  return typeof e == "function";
649
630
  }
650
- function er(e) {
631
+ function or(e) {
651
632
  var t = function(n) {
652
633
  Error.call(n), n.stack = new Error().stack;
653
634
  }, r = e(t);
654
635
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
655
636
  }
656
- var Fe = er(function(e) {
637
+ var De = or(function(e) {
657
638
  return function(r) {
658
639
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
659
640
  ` + r.map(function(n, i) {
@@ -662,13 +643,13 @@ var Fe = er(function(e) {
662
643
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
663
644
  };
664
645
  });
665
- function Ye(e, t) {
646
+ function tt(e, t) {
666
647
  if (e) {
667
648
  var r = e.indexOf(t);
668
649
  0 <= r && e.splice(r, 1);
669
650
  }
670
651
  }
671
- var Oe = function() {
652
+ var Ie = function() {
672
653
  function e(t) {
673
654
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
674
655
  }
@@ -680,7 +661,7 @@ var Oe = function() {
680
661
  if (a)
681
662
  if (this._parentage = null, Array.isArray(a))
682
663
  try {
683
- for (var s = Ze(a), h = s.next(); !h.done; h = s.next()) {
664
+ for (var s = qe(a), h = s.next(); !h.done; h = s.next()) {
684
665
  var l = h.value;
685
666
  l.remove(this);
686
667
  }
@@ -701,18 +682,18 @@ var Oe = function() {
701
682
  try {
702
683
  u();
703
684
  } catch (p) {
704
- o = p instanceof Fe ? p.errors : [p];
685
+ o = p instanceof De ? p.errors : [p];
705
686
  }
706
687
  var f = this._finalizers;
707
688
  if (f) {
708
689
  this._finalizers = null;
709
690
  try {
710
- for (var c = Ze(f), m = c.next(); !m.done; m = c.next()) {
691
+ for (var c = qe(f), m = c.next(); !m.done; m = c.next()) {
711
692
  var d = m.value;
712
693
  try {
713
- xt(d);
694
+ Ht(d);
714
695
  } catch (p) {
715
- o = o != null ? o : [], p instanceof Fe ? o = te(te([], Qe(o)), Qe(p.errors)) : o.push(p);
696
+ o = o != null ? o : [], p instanceof De ? o = et(et([], Ke(o)), Ke(p.errors)) : o.push(p);
716
697
  }
717
698
  }
718
699
  } catch (p) {
@@ -727,13 +708,13 @@ var Oe = function() {
727
708
  }
728
709
  }
729
710
  if (o)
730
- throw new Fe(o);
711
+ throw new De(o);
731
712
  }
732
713
  }, e.prototype.add = function(t) {
733
714
  var r;
734
715
  if (t && t !== this)
735
716
  if (this.closed)
736
- xt(t);
717
+ Ht(t);
737
718
  else {
738
719
  if (t instanceof e) {
739
720
  if (t.closed || t._hasParent(this))
@@ -750,52 +731,52 @@ var Oe = function() {
750
731
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
751
732
  }, e.prototype._removeParent = function(t) {
752
733
  var r = this._parentage;
753
- r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
734
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
754
735
  }, e.prototype.remove = function(t) {
755
736
  var r = this._finalizers;
756
- r && Ye(r, t), t instanceof e && t._removeParent(this);
737
+ r && tt(r, t), t instanceof e && t._removeParent(this);
757
738
  }, e.EMPTY = function() {
758
739
  var t = new e();
759
740
  return t.closed = !0, t;
760
741
  }(), e;
761
- }(), tr = Oe.EMPTY;
762
- function rr(e) {
763
- return e instanceof Oe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
742
+ }(), ar = Ie.EMPTY;
743
+ function sr(e) {
744
+ return e instanceof Ie || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
764
745
  }
765
- function xt(e) {
746
+ function Ht(e) {
766
747
  D(e) ? e() : e.unsubscribe();
767
748
  }
768
- var Sn = {
749
+ var An = {
769
750
  Promise: void 0
770
- }, Tn = {
751
+ }, Pn = {
771
752
  setTimeout: function(e, t) {
772
753
  for (var r = [], n = 2; n < arguments.length; n++)
773
754
  r[n - 2] = arguments[n];
774
- return setTimeout.apply(void 0, te([e, t], Qe(r)));
755
+ return setTimeout.apply(void 0, et([e, t], Ke(r)));
775
756
  },
776
757
  clearTimeout: function(e) {
777
758
  return clearTimeout(e);
778
759
  },
779
760
  delegate: void 0
780
761
  };
781
- function Hn(e) {
782
- Tn.setTimeout(function() {
762
+ function On(e) {
763
+ Pn.setTimeout(function() {
783
764
  throw e;
784
765
  });
785
766
  }
786
- function Et() {
767
+ function Bt() {
787
768
  }
788
769
  function Se(e) {
789
770
  e();
790
771
  }
791
- var nr = function(e) {
792
- $(t, e);
772
+ var ur = function(e) {
773
+ pe(t, e);
793
774
  function t(r) {
794
775
  var n = e.call(this) || this;
795
- return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = Pn, n;
776
+ return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = Nn, n;
796
777
  }
797
778
  return t.create = function(r, n, i) {
798
- return new qe(r, n, i);
779
+ return new rt(r, n, i);
799
780
  }, t.prototype.next = function(r) {
800
781
  this.isStopped || this._next(r);
801
782
  }, t.prototype.error = function(r) {
@@ -819,7 +800,7 @@ var nr = function(e) {
819
800
  this.unsubscribe();
820
801
  }
821
802
  }, t;
822
- }(Oe), Bn = function() {
803
+ }(Ie), Rn = function() {
823
804
  function e(t) {
824
805
  this.partialObserver = t;
825
806
  }
@@ -850,43 +831,43 @@ var nr = function(e) {
850
831
  _e(r);
851
832
  }
852
833
  }, e;
853
- }(), qe = function(e) {
854
- $(t, e);
834
+ }(), rt = function(e) {
835
+ pe(t, e);
855
836
  function t(r, n, i) {
856
837
  var o = e.call(this) || this, a;
857
838
  return D(r) || !r ? a = {
858
839
  next: r != null ? r : void 0,
859
840
  error: n != null ? n : void 0,
860
841
  complete: i != null ? i : void 0
861
- } : a = r, o.destination = new Bn(a), o;
842
+ } : a = r, o.destination = new Rn(a), o;
862
843
  }
863
844
  return t;
864
- }(nr);
845
+ }(ur);
865
846
  function _e(e) {
866
- Hn(e);
847
+ On(e);
867
848
  }
868
- function An(e) {
849
+ function In(e) {
869
850
  throw e;
870
851
  }
871
- var Pn = {
852
+ var Nn = {
872
853
  closed: !0,
873
- next: Et,
874
- error: An,
875
- complete: Et
876
- }, Rn = function() {
854
+ next: Bt,
855
+ error: In,
856
+ complete: Bt
857
+ }, Ln = function() {
877
858
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
878
859
  }();
879
- function On(e) {
860
+ function Mn(e) {
880
861
  return e;
881
862
  }
882
- function In(e) {
883
- return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
863
+ function Cn(e) {
864
+ return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
884
865
  return e.reduce(function(n, i) {
885
866
  return i(n);
886
867
  }, r);
887
868
  };
888
869
  }
889
- var wt = function() {
870
+ var At = function() {
890
871
  function e(t) {
891
872
  t && (this._subscribe = t);
892
873
  }
@@ -894,7 +875,7 @@ var wt = function() {
894
875
  var r = new e();
895
876
  return r.source = this, r.operator = t, r;
896
877
  }, e.prototype.subscribe = function(t, r, n) {
897
- var i = this, o = Ln(t) ? t : new qe(t, r, n);
878
+ var i = this, o = Un(t) ? t : new rt(t, r, n);
898
879
  return Se(function() {
899
880
  var a = i, s = a.operator, h = a.source;
900
881
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -907,8 +888,8 @@ var wt = function() {
907
888
  }
908
889
  }, e.prototype.forEach = function(t, r) {
909
890
  var n = this;
910
- return r = St(r), new r(function(i, o) {
911
- var a = new qe({
891
+ return r = Pt(r), new r(function(i, o) {
892
+ var a = new rt({
912
893
  next: function(s) {
913
894
  try {
914
895
  t(s);
@@ -924,15 +905,15 @@ var wt = function() {
924
905
  }, e.prototype._subscribe = function(t) {
925
906
  var r;
926
907
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
927
- }, e.prototype[Rn] = function() {
908
+ }, e.prototype[Ln] = function() {
928
909
  return this;
929
910
  }, e.prototype.pipe = function() {
930
911
  for (var t = [], r = 0; r < arguments.length; r++)
931
912
  t[r] = arguments[r];
932
- return In(t)(this);
913
+ return Cn(t)(this);
933
914
  }, e.prototype.toPromise = function(t) {
934
915
  var r = this;
935
- return t = St(t), new t(function(n, i) {
916
+ return t = Pt(t), new t(function(n, i) {
936
917
  var o;
937
918
  r.subscribe(function(a) {
938
919
  return o = a;
@@ -946,32 +927,32 @@ var wt = function() {
946
927
  return new e(t);
947
928
  }, e;
948
929
  }();
949
- function St(e) {
930
+ function Pt(e) {
950
931
  var t;
951
- return (t = e != null ? e : Sn.Promise) !== null && t !== void 0 ? t : Promise;
932
+ return (t = e != null ? e : An.Promise) !== null && t !== void 0 ? t : Promise;
952
933
  }
953
- function Nn(e) {
934
+ function Gn(e) {
954
935
  return e && D(e.next) && D(e.error) && D(e.complete);
955
936
  }
956
- function Ln(e) {
957
- return e && e instanceof nr || Nn(e) && rr(e);
937
+ function Un(e) {
938
+ return e && e instanceof ur || Gn(e) && sr(e);
958
939
  }
959
- var Mn = er(function(e) {
940
+ var $n = or(function(e) {
960
941
  return function() {
961
942
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
962
943
  };
963
- }), ir = function(e) {
964
- $(t, e);
944
+ }), lr = function(e) {
945
+ pe(t, e);
965
946
  function t() {
966
947
  var r = e.call(this) || this;
967
948
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
968
949
  }
969
950
  return t.prototype.lift = function(r) {
970
- var n = new Tt(this, this);
951
+ var n = new Ot(this, this);
971
952
  return n.operator = r, n;
972
953
  }, t.prototype._throwIfClosed = function() {
973
954
  if (this.closed)
974
- throw new Mn();
955
+ throw new $n();
975
956
  }, t.prototype.next = function(r) {
976
957
  var n = this;
977
958
  Se(function() {
@@ -979,7 +960,7 @@ var Mn = er(function(e) {
979
960
  if (n._throwIfClosed(), !n.isStopped) {
980
961
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
981
962
  try {
982
- for (var a = Ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
963
+ for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
983
964
  var h = s.value;
984
965
  h.next(r);
985
966
  }
@@ -1028,20 +1009,20 @@ var Mn = er(function(e) {
1028
1009
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1029
1010
  }, t.prototype._innerSubscribe = function(r) {
1030
1011
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1031
- return o || a ? tr : (this.currentObservers = null, s.push(r), new Oe(function() {
1032
- n.currentObservers = null, Ye(s, r);
1012
+ return o || a ? ar : (this.currentObservers = null, s.push(r), new Ie(function() {
1013
+ n.currentObservers = null, tt(s, r);
1033
1014
  }));
1034
1015
  }, t.prototype._checkFinalizedStatuses = function(r) {
1035
1016
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1036
1017
  i ? r.error(o) : a && r.complete();
1037
1018
  }, t.prototype.asObservable = function() {
1038
- var r = new wt();
1019
+ var r = new At();
1039
1020
  return r.source = this, r;
1040
1021
  }, t.create = function(r, n) {
1041
- return new Tt(r, n);
1022
+ return new Ot(r, n);
1042
1023
  }, t;
1043
- }(wt), Tt = function(e) {
1044
- $(t, e);
1024
+ }(At), Ot = function(e) {
1025
+ pe(t, e);
1045
1026
  function t(r, n) {
1046
1027
  var i = e.call(this) || this;
1047
1028
  return i.destination = r, i.source = n, i;
@@ -1057,17 +1038,17 @@ var Mn = er(function(e) {
1057
1038
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1058
1039
  }, t.prototype._subscribe = function(r) {
1059
1040
  var n, i;
1060
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1041
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ar;
1061
1042
  }, t;
1062
- }(ir), or = {
1043
+ }(lr), hr = {
1063
1044
  now: function() {
1064
- return (or.delegate || Date).now();
1045
+ return (hr.delegate || Date).now();
1065
1046
  },
1066
1047
  delegate: void 0
1067
- }, Cn = function(e) {
1068
- $(t, e);
1048
+ }, Fn = function(e) {
1049
+ pe(t, e);
1069
1050
  function t(r, n, i) {
1070
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1051
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
1071
1052
  var o = e.call(this) || this;
1072
1053
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1073
1054
  }
@@ -1087,24 +1068,24 @@ var Mn = er(function(e) {
1087
1068
  l && o.splice(0, l + 1);
1088
1069
  }
1089
1070
  }, t;
1090
- }(ir);
1091
- const Ht = [], Bt = {}, Gn = (e, t = 0) => {
1092
- if (Ht.indexOf(e) == -1) {
1093
- const r = new Cn(t);
1094
- Bt[e] = r, Ht.push(e);
1071
+ }(lr);
1072
+ const Rt = [], It = {}, Dn = (e, t = 0) => {
1073
+ if (Rt.indexOf(e) == -1) {
1074
+ const r = new Fn(t);
1075
+ It[e] = r, Rt.push(e);
1095
1076
  }
1096
- return Bt[e];
1077
+ return It[e];
1097
1078
  }, q = [];
1098
- function Un(e, t) {
1079
+ function jn(e, t) {
1099
1080
  return {
1100
- subscribe: Ie(e, t).subscribe
1081
+ subscribe: Ne(e, t).subscribe
1101
1082
  };
1102
1083
  }
1103
- function Ie(e, t = C) {
1084
+ function Ne(e, t = G) {
1104
1085
  let r;
1105
1086
  const n = /* @__PURE__ */ new Set();
1106
1087
  function i(s) {
1107
- if (Jt(e, s) && (e = s, r)) {
1088
+ if (Kt(e, s) && (e = s, r)) {
1108
1089
  const h = !q.length;
1109
1090
  for (const l of n)
1110
1091
  l[1](), q.push(l, e);
@@ -1118,31 +1099,31 @@ function Ie(e, t = C) {
1118
1099
  function o(s) {
1119
1100
  i(s(e));
1120
1101
  }
1121
- function a(s, h = C) {
1102
+ function a(s, h = G) {
1122
1103
  const l = [s, h];
1123
- return n.add(l), n.size === 1 && (r = t(i, o) || C), s(e), () => {
1104
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), s(e), () => {
1124
1105
  n.delete(l), n.size === 0 && r && (r(), r = null);
1125
1106
  };
1126
1107
  }
1127
1108
  return { set: i, update: o, subscribe: a };
1128
1109
  }
1129
- function ae(e, t, r) {
1110
+ function oe(e, t, r) {
1130
1111
  const n = !Array.isArray(e), i = n ? [e] : e;
1131
1112
  if (!i.every(Boolean))
1132
1113
  throw new Error("derived() expects stores as input, got a falsy value");
1133
1114
  const o = t.length < 2;
1134
- return Un(r, (a, s) => {
1115
+ return jn(r, (a, s) => {
1135
1116
  let h = !1;
1136
1117
  const l = [];
1137
- let u = 0, f = C;
1118
+ let u = 0, f = G;
1138
1119
  const c = () => {
1139
1120
  if (u)
1140
1121
  return;
1141
1122
  f();
1142
1123
  const d = t(n ? l[0] : l, a, s);
1143
- o ? a(d) : f = st(d) ? d : C;
1124
+ o ? a(d) : f = ft(d) ? d : G;
1144
1125
  }, m = i.map(
1145
- (d, p) => Zt(
1126
+ (d, p) => er(
1146
1127
  d,
1147
1128
  (A) => {
1148
1129
  l[p] = A, u &= ~(1 << p), h && c();
@@ -1157,111 +1138,153 @@ function ae(e, t, r) {
1157
1138
  };
1158
1139
  });
1159
1140
  }
1160
- function Fn(e) {
1141
+ function kn(e) {
1161
1142
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1162
1143
  }
1163
- var Dn = function(t) {
1164
- return $n(t) && !jn(t);
1144
+ var Vn = function(t) {
1145
+ return Wn(t) && !Xn(t);
1165
1146
  };
1166
- function $n(e) {
1147
+ function Wn(e) {
1167
1148
  return !!e && typeof e == "object";
1168
1149
  }
1169
- function jn(e) {
1150
+ function Xn(e) {
1170
1151
  var t = Object.prototype.toString.call(e);
1171
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
1152
+ return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
1172
1153
  }
1173
- var kn = typeof Symbol == "function" && Symbol.for, Vn = kn ? Symbol.for("react.element") : 60103;
1174
- function Wn(e) {
1175
- return e.$$typeof === Vn;
1154
+ var zn = typeof Symbol == "function" && Symbol.for, Jn = zn ? Symbol.for("react.element") : 60103;
1155
+ function Zn(e) {
1156
+ return e.$$typeof === Jn;
1176
1157
  }
1177
- function Xn(e) {
1158
+ function Qn(e) {
1178
1159
  return Array.isArray(e) ? [] : {};
1179
1160
  }
1180
- function de(e, t) {
1181
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Xn(e), e, t) : e;
1161
+ function me(e, t) {
1162
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Qn(e), e, t) : e;
1182
1163
  }
1183
- function zn(e, t, r) {
1164
+ function Yn(e, t, r) {
1184
1165
  return e.concat(t).map(function(n) {
1185
- return de(n, r);
1166
+ return me(n, r);
1186
1167
  });
1187
1168
  }
1188
- function Jn(e, t) {
1169
+ function qn(e, t) {
1189
1170
  if (!t.customMerge)
1190
- return re;
1171
+ return te;
1191
1172
  var r = t.customMerge(e);
1192
- return typeof r == "function" ? r : re;
1173
+ return typeof r == "function" ? r : te;
1193
1174
  }
1194
- function Zn(e) {
1175
+ function Kn(e) {
1195
1176
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1196
1177
  return Object.propertyIsEnumerable.call(e, t);
1197
1178
  }) : [];
1198
1179
  }
1199
- function At(e) {
1200
- return Object.keys(e).concat(Zn(e));
1180
+ function Nt(e) {
1181
+ return Object.keys(e).concat(Kn(e));
1201
1182
  }
1202
- function ar(e, t) {
1183
+ function cr(e, t) {
1203
1184
  try {
1204
1185
  return t in e;
1205
1186
  } catch (r) {
1206
1187
  return !1;
1207
1188
  }
1208
1189
  }
1209
- function Qn(e, t) {
1210
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1190
+ function ei(e, t) {
1191
+ return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1211
1192
  }
1212
- function Yn(e, t, r) {
1193
+ function ti(e, t, r) {
1213
1194
  var n = {};
1214
- return r.isMergeableObject(e) && At(e).forEach(function(i) {
1215
- n[i] = de(e[i], r);
1216
- }), At(t).forEach(function(i) {
1217
- Qn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1195
+ return r.isMergeableObject(e) && Nt(e).forEach(function(i) {
1196
+ n[i] = me(e[i], r);
1197
+ }), Nt(t).forEach(function(i) {
1198
+ ei(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1218
1199
  }), n;
1219
1200
  }
1220
- function re(e, t, r) {
1221
- r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Dn, r.cloneUnlessOtherwiseSpecified = de;
1201
+ function te(e, t, r) {
1202
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = me;
1222
1203
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1223
- return o ? n ? r.arrayMerge(e, t, r) : Yn(e, t, r) : de(t, r);
1204
+ return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : me(t, r);
1224
1205
  }
1225
- re.all = function(t, r) {
1206
+ te.all = function(t, r) {
1226
1207
  if (!Array.isArray(t))
1227
1208
  throw new Error("first argument should be an array");
1228
1209
  return t.reduce(function(n, i) {
1229
- return re(n, i, r);
1210
+ return te(n, i, r);
1230
1211
  }, {});
1231
1212
  };
1232
- var qn = re, Kn = qn;
1233
- const ei = /* @__PURE__ */ Fn(Kn);
1234
- function De(e, t) {
1235
- var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : oi, i = t && t.strategy ? t.strategy : ni;
1213
+ var ri = te, ni = ri;
1214
+ const ii = /* @__PURE__ */ kn(ni);
1215
+ var nt = function(e, t) {
1216
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1217
+ r.__proto__ = n;
1218
+ } || function(r, n) {
1219
+ for (var i in n)
1220
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1221
+ }, nt(e, t);
1222
+ };
1223
+ function Le(e, t) {
1224
+ if (typeof t != "function" && t !== null)
1225
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1226
+ nt(e, t);
1227
+ function r() {
1228
+ this.constructor = e;
1229
+ }
1230
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1231
+ }
1232
+ var C = function() {
1233
+ return C = Object.assign || function(t) {
1234
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1235
+ r = arguments[n];
1236
+ for (var o in r)
1237
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1238
+ }
1239
+ return t;
1240
+ }, C.apply(this, arguments);
1241
+ };
1242
+ function oi(e, t) {
1243
+ var r = {};
1244
+ for (var n in e)
1245
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1246
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1247
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1248
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1249
+ return r;
1250
+ }
1251
+ function je(e, t, r) {
1252
+ if (r || arguments.length === 2)
1253
+ for (var n = 0, i = t.length, o; n < i; n++)
1254
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1255
+ return e.concat(o || Array.prototype.slice.call(t));
1256
+ }
1257
+ function ke(e, t) {
1258
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
1236
1259
  return i(e, {
1237
1260
  cache: r,
1238
1261
  serializer: n
1239
1262
  });
1240
1263
  }
1241
- function ti(e) {
1264
+ function ai(e) {
1242
1265
  return e == null || typeof e == "number" || typeof e == "boolean";
1243
1266
  }
1244
- function ri(e, t, r, n) {
1245
- var i = ti(n) ? n : r(n), o = t.get(i);
1267
+ function si(e, t, r, n) {
1268
+ var i = ai(n) ? n : r(n), o = t.get(i);
1246
1269
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1247
1270
  }
1248
- function sr(e, t, r) {
1271
+ function fr(e, t, r) {
1249
1272
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1250
1273
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1251
1274
  }
1252
- function ur(e, t, r, n, i) {
1275
+ function mr(e, t, r, n, i) {
1253
1276
  return r.bind(t, e, n, i);
1254
1277
  }
1255
- function ni(e, t) {
1256
- var r = e.length === 1 ? ri : sr;
1257
- return ur(e, this, r, t.cache.create(), t.serializer);
1278
+ function ui(e, t) {
1279
+ var r = e.length === 1 ? si : fr;
1280
+ return mr(e, this, r, t.cache.create(), t.serializer);
1258
1281
  }
1259
- function ii(e, t) {
1260
- return ur(e, this, sr, t.cache.create(), t.serializer);
1282
+ function li(e, t) {
1283
+ return mr(e, this, fr, t.cache.create(), t.serializer);
1261
1284
  }
1262
- var oi = function() {
1285
+ var hi = function() {
1263
1286
  return JSON.stringify(arguments);
1264
- }, ai = (
1287
+ }, ci = (
1265
1288
  /** @class */
1266
1289
  function() {
1267
1290
  function e() {
@@ -1273,61 +1296,71 @@ var oi = function() {
1273
1296
  this.cache[t] = r;
1274
1297
  }, e;
1275
1298
  }()
1276
- ), si = {
1299
+ ), fi = {
1277
1300
  create: function() {
1278
- return new ai();
1301
+ return new ci();
1279
1302
  }
1280
- }, $e = {
1281
- variadic: ii
1282
- }, y;
1303
+ }, Ve = {
1304
+ variadic: li
1305
+ }, Pe = function() {
1306
+ return Pe = Object.assign || function(t) {
1307
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1308
+ r = arguments[n];
1309
+ for (var o in r)
1310
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1311
+ }
1312
+ return t;
1313
+ }, Pe.apply(this, arguments);
1314
+ };
1315
+ var y;
1283
1316
  (function(e) {
1284
1317
  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";
1285
1318
  })(y || (y = {}));
1286
- var w;
1319
+ var E;
1287
1320
  (function(e) {
1288
1321
  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";
1289
- })(w || (w = {}));
1290
- var ne;
1322
+ })(E || (E = {}));
1323
+ var re;
1291
1324
  (function(e) {
1292
1325
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1293
- })(ne || (ne = {}));
1294
- function Pt(e) {
1295
- return e.type === w.literal;
1326
+ })(re || (re = {}));
1327
+ function Lt(e) {
1328
+ return e.type === E.literal;
1296
1329
  }
1297
- function ui(e) {
1298
- return e.type === w.argument;
1330
+ function mi(e) {
1331
+ return e.type === E.argument;
1299
1332
  }
1300
- function lr(e) {
1301
- return e.type === w.number;
1333
+ function dr(e) {
1334
+ return e.type === E.number;
1302
1335
  }
1303
- function hr(e) {
1304
- return e.type === w.date;
1336
+ function pr(e) {
1337
+ return e.type === E.date;
1305
1338
  }
1306
- function cr(e) {
1307
- return e.type === w.time;
1339
+ function br(e) {
1340
+ return e.type === E.time;
1308
1341
  }
1309
- function fr(e) {
1310
- return e.type === w.select;
1342
+ function gr(e) {
1343
+ return e.type === E.select;
1311
1344
  }
1312
- function mr(e) {
1313
- return e.type === w.plural;
1345
+ function yr(e) {
1346
+ return e.type === E.plural;
1314
1347
  }
1315
- function li(e) {
1316
- return e.type === w.pound;
1348
+ function di(e) {
1349
+ return e.type === E.pound;
1317
1350
  }
1318
- function dr(e) {
1319
- return e.type === w.tag;
1351
+ function vr(e) {
1352
+ return e.type === E.tag;
1320
1353
  }
1321
- function pr(e) {
1322
- return !!(e && typeof e == "object" && e.type === ne.number);
1354
+ function _r(e) {
1355
+ return !!(e && typeof e == "object" && e.type === re.number);
1323
1356
  }
1324
- function Ke(e) {
1325
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1357
+ function it(e) {
1358
+ return !!(e && typeof e == "object" && e.type === re.dateTime);
1326
1359
  }
1327
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[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;
1328
- function ci(e) {
1360
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1361
+ function bi(e) {
1329
1362
  var t = {};
1330
- return e.replace(hi, function(r) {
1363
+ return e.replace(pi, function(r) {
1331
1364
  var n = r.length;
1332
1365
  switch (r[0]) {
1333
1366
  case "G":
@@ -1416,11 +1449,21 @@ function ci(e) {
1416
1449
  return "";
1417
1450
  }), t;
1418
1451
  }
1419
- var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1420
- function mi(e) {
1452
+ var S = function() {
1453
+ return S = Object.assign || function(t) {
1454
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1455
+ r = arguments[n];
1456
+ for (var o in r)
1457
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1458
+ }
1459
+ return t;
1460
+ }, S.apply(this, arguments);
1461
+ };
1462
+ var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1463
+ function yi(e) {
1421
1464
  if (e.length === 0)
1422
1465
  throw new Error("Number skeleton cannot be empty");
1423
- for (var t = e.split(fi).filter(function(c) {
1466
+ for (var t = e.split(gi).filter(function(c) {
1424
1467
  return c.length > 0;
1425
1468
  }), r = [], n = 0, i = t; n < i.length; n++) {
1426
1469
  var o = i[n], a = o.split("/");
@@ -1435,17 +1478,17 @@ function mi(e) {
1435
1478
  }
1436
1479
  return r;
1437
1480
  }
1438
- function di(e) {
1481
+ function vi(e) {
1439
1482
  return e.replace(/^(.*?)-/, "");
1440
1483
  }
1441
- var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1442
- function Ot(e) {
1484
+ var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1485
+ function Ct(e) {
1443
1486
  var t = {};
1444
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1487
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
1445
1488
  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)), "";
1446
1489
  }), t;
1447
1490
  }
1448
- function vr(e) {
1491
+ function Sr(e) {
1449
1492
  switch (e) {
1450
1493
  case "sign-auto":
1451
1494
  return {
@@ -1485,7 +1528,7 @@ function vr(e) {
1485
1528
  };
1486
1529
  }
1487
1530
  }
1488
- function bi(e) {
1531
+ function xi(e) {
1489
1532
  var t;
1490
1533
  if (e[0] === "E" && e[1] === "E" ? (t = {
1491
1534
  notation: "engineering"
@@ -1493,17 +1536,17 @@ function bi(e) {
1493
1536
  notation: "scientific"
1494
1537
  }, e = e.slice(1)), t) {
1495
1538
  var r = e.slice(0, 2);
1496
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1539
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
1497
1540
  throw new Error("Malformed concise eng/scientific notation");
1498
1541
  t.minimumIntegerDigits = e.length;
1499
1542
  }
1500
1543
  return t;
1501
1544
  }
1502
- function It(e) {
1503
- var t = {}, r = vr(e);
1545
+ function Gt(e) {
1546
+ var t = {}, r = Sr(e);
1504
1547
  return r || t;
1505
1548
  }
1506
- function gi(e) {
1549
+ function Ei(e) {
1507
1550
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1508
1551
  var i = n[r];
1509
1552
  switch (i.stem) {
@@ -1527,7 +1570,7 @@ function gi(e) {
1527
1570
  continue;
1528
1571
  case "measure-unit":
1529
1572
  case "unit":
1530
- t.style = "unit", t.unit = di(i.options[0]);
1573
+ t.style = "unit", t.unit = vi(i.options[0]);
1531
1574
  continue;
1532
1575
  case "compact-short":
1533
1576
  case "K":
@@ -1538,13 +1581,13 @@ function gi(e) {
1538
1581
  t.notation = "compact", t.compactDisplay = "long";
1539
1582
  continue;
1540
1583
  case "scientific":
1541
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1542
- return _(_({}, h), It(l));
1584
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1585
+ return S(S({}, h), Gt(l));
1543
1586
  }, {}));
1544
1587
  continue;
1545
1588
  case "engineering":
1546
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1547
- return _(_({}, h), It(l));
1589
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1590
+ return S(S({}, h), Gt(l));
1548
1591
  }, {}));
1549
1592
  continue;
1550
1593
  case "notation-simple":
@@ -1589,7 +1632,7 @@ function gi(e) {
1589
1632
  case "integer-width":
1590
1633
  if (i.options.length > 1)
1591
1634
  throw new RangeError("integer-width stems only accept a single optional option");
1592
- i.options[0].replace(pi, function(h, l, u, f, c, m) {
1635
+ i.options[0].replace(_i, function(h, l, u, f, c, m) {
1593
1636
  if (l)
1594
1637
  t.minimumIntegerDigits = u.length;
1595
1638
  else {
@@ -1602,28 +1645,28 @@ function gi(e) {
1602
1645
  });
1603
1646
  continue;
1604
1647
  }
1605
- if (yr.test(i.stem)) {
1648
+ if (wr.test(i.stem)) {
1606
1649
  t.minimumIntegerDigits = i.stem.length;
1607
1650
  continue;
1608
1651
  }
1609
- if (Rt.test(i.stem)) {
1652
+ if (Mt.test(i.stem)) {
1610
1653
  if (i.options.length > 1)
1611
1654
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1612
- i.stem.replace(Rt, function(h, l, u, f, c, m) {
1655
+ i.stem.replace(Mt, function(h, l, u, f, c, m) {
1613
1656
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1614
1657
  });
1615
1658
  var o = i.options[0];
1616
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ot(o)));
1659
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ct(o)));
1617
1660
  continue;
1618
1661
  }
1619
- if (gr.test(i.stem)) {
1620
- t = _(_({}, t), Ot(i.stem));
1662
+ if (Er.test(i.stem)) {
1663
+ t = S(S({}, t), Ct(i.stem));
1621
1664
  continue;
1622
1665
  }
1623
- var a = vr(i.stem);
1624
- a && (t = _(_({}, t), a));
1625
- var s = bi(i.stem);
1626
- s && (t = _(_({}, t), s));
1666
+ var a = Sr(i.stem);
1667
+ a && (t = S(S({}, t), a));
1668
+ var s = xi(i.stem);
1669
+ s && (t = S(S({}, t), s));
1627
1670
  }
1628
1671
  return t;
1629
1672
  }
@@ -3042,13 +3085,13 @@ var xe = {
3042
3085
  "h"
3043
3086
  ]
3044
3087
  };
3045
- function yi(e, t) {
3088
+ function wi(e, t) {
3046
3089
  for (var r = "", n = 0; n < e.length; n++) {
3047
3090
  var i = e.charAt(n);
3048
3091
  if (i === "j") {
3049
3092
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3050
3093
  o++, n++;
3051
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = vi(t);
3094
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Si(t);
3052
3095
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3053
3096
  r += h;
3054
3097
  for (; a-- > 0; )
@@ -3058,7 +3101,7 @@ function yi(e, t) {
3058
3101
  }
3059
3102
  return r;
3060
3103
  }
3061
- function vi(e) {
3104
+ function Si(e) {
3062
3105
  var t = e.hourCycle;
3063
3106
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3064
3107
  e.hourCycles && // @ts-ignore
@@ -3080,20 +3123,20 @@ function vi(e) {
3080
3123
  var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
3081
3124
  return i[0];
3082
3125
  }
3083
- var je, _i = new RegExp("^".concat(br.source, "*")), xi = new RegExp("".concat(br.source, "*$"));
3126
+ var We, Ti = new RegExp("^".concat(xr.source, "*")), Hi = new RegExp("".concat(xr.source, "*$"));
3084
3127
  function v(e, t) {
3085
3128
  return { start: e, end: t };
3086
3129
  }
3087
- var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Pi = Ai ? Number.isSafeInteger : function(e) {
3130
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Pi = !!Object.fromEntries, Oi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Li = Ni ? Number.isSafeInteger : function(e) {
3088
3131
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3089
- }, et = !0;
3132
+ }, ot = !0;
3090
3133
  try {
3091
- var Ri = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3092
- et = ((je = Ri.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3134
+ var Mi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
+ ot = ((We = Mi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
3093
3136
  } catch (e) {
3094
- et = !1;
3137
+ ot = !1;
3095
3138
  }
3096
- var Nt = Ei ? (
3139
+ var Ut = Bi ? (
3097
3140
  // Native
3098
3141
  function(t, r, n) {
3099
3142
  return t.startsWith(r, n);
@@ -3103,7 +3146,7 @@ var Nt = Ei ? (
3103
3146
  function(t, r, n) {
3104
3147
  return t.slice(n, n + r.length) === r;
3105
3148
  }
3106
- ), tt = wi ? String.fromCodePoint : (
3149
+ ), at = Ai ? String.fromCodePoint : (
3107
3150
  // IE11
3108
3151
  function() {
3109
3152
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3115,9 +3158,9 @@ var Nt = Ei ? (
3115
3158
  }
3116
3159
  return n;
3117
3160
  }
3118
- ), Lt = (
3161
+ ), $t = (
3119
3162
  // native
3120
- Si ? Object.fromEntries : (
3163
+ Pi ? Object.fromEntries : (
3121
3164
  // Ponyfill
3122
3165
  function(t) {
3123
3166
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3127,7 +3170,7 @@ var Nt = Ei ? (
3127
3170
  return r;
3128
3171
  }
3129
3172
  )
3130
- ), _r = Ti ? (
3173
+ ), Tr = Oi ? (
3131
3174
  // Native
3132
3175
  function(t, r) {
3133
3176
  return t.codePointAt(r);
@@ -3141,7 +3184,7 @@ var Nt = Ei ? (
3141
3184
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3142
3185
  }
3143
3186
  }
3144
- ), Oi = Hi ? (
3187
+ ), Ci = Ri ? (
3145
3188
  // Native
3146
3189
  function(t) {
3147
3190
  return t.trimStart();
@@ -3149,9 +3192,9 @@ var Nt = Ei ? (
3149
3192
  ) : (
3150
3193
  // Ponyfill
3151
3194
  function(t) {
3152
- return t.replace(_i, "");
3195
+ return t.replace(Ti, "");
3153
3196
  }
3154
- ), Ii = Bi ? (
3197
+ ), Gi = Ii ? (
3155
3198
  // Native
3156
3199
  function(t) {
3157
3200
  return t.trimEnd();
@@ -3159,32 +3202,32 @@ var Nt = Ei ? (
3159
3202
  ) : (
3160
3203
  // Ponyfill
3161
3204
  function(t) {
3162
- return t.replace(xi, "");
3205
+ return t.replace(Hi, "");
3163
3206
  }
3164
3207
  );
3165
- function xr(e, t) {
3208
+ function Hr(e, t) {
3166
3209
  return new RegExp(e, t);
3167
3210
  }
3168
- var rt;
3169
- if (et) {
3170
- var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3171
- rt = function(t, r) {
3211
+ var st;
3212
+ if (ot) {
3213
+ var Ft = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3214
+ st = function(t, r) {
3172
3215
  var n;
3173
- Mt.lastIndex = r;
3174
- var i = Mt.exec(t);
3216
+ Ft.lastIndex = r;
3217
+ var i = Ft.exec(t);
3175
3218
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3176
3219
  };
3177
3220
  } else
3178
- rt = function(t, r) {
3221
+ st = function(t, r) {
3179
3222
  for (var n = []; ; ) {
3180
- var i = _r(t, r);
3181
- if (i === void 0 || Er(i) || Ci(i))
3223
+ var i = Tr(t, r);
3224
+ if (i === void 0 || Br(i) || Di(i))
3182
3225
  break;
3183
3226
  n.push(i), r += i >= 65536 ? 2 : 1;
3184
3227
  }
3185
- return tt.apply(void 0, n);
3228
+ return at.apply(void 0, n);
3186
3229
  };
3187
- var Ni = (
3230
+ var Ui = (
3188
3231
  /** @class */
3189
3232
  function() {
3190
3233
  function e(t, r) {
@@ -3208,14 +3251,14 @@ var Ni = (
3208
3251
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3209
3252
  var s = this.clonePosition();
3210
3253
  this.bump(), i.push({
3211
- type: w.pound,
3254
+ type: E.pound,
3212
3255
  location: v(s, this.clonePosition())
3213
3256
  });
3214
3257
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3215
3258
  if (n)
3216
3259
  break;
3217
3260
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3218
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3261
+ } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3219
3262
  var a = this.parseTag(t, r);
3220
3263
  if (a.err)
3221
3264
  return a;
@@ -3236,7 +3279,7 @@ var Ni = (
3236
3279
  if (this.bumpSpace(), this.bumpIf("/>"))
3237
3280
  return {
3238
3281
  val: {
3239
- type: w.literal,
3282
+ type: E.literal,
3240
3283
  value: "<".concat(i, "/>"),
3241
3284
  location: v(n, this.clonePosition())
3242
3285
  },
@@ -3248,12 +3291,12 @@ var Ni = (
3248
3291
  return o;
3249
3292
  var a = o.val, s = this.clonePosition();
3250
3293
  if (this.bumpIf("</")) {
3251
- if (this.isEOF() || !nt(this.char()))
3294
+ if (this.isEOF() || !ut(this.char()))
3252
3295
  return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3253
3296
  var h = this.clonePosition(), l = this.parseTagName();
3254
3297
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3255
3298
  val: {
3256
- type: w.tag,
3299
+ type: E.tag,
3257
3300
  value: i,
3258
3301
  children: a,
3259
3302
  location: v(n, this.clonePosition())
@@ -3266,7 +3309,7 @@ var Ni = (
3266
3309
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3267
3310
  }, e.prototype.parseTagName = function() {
3268
3311
  var t = this.offset();
3269
- for (this.bump(); !this.isEOF() && Mi(this.char()); )
3312
+ for (this.bump(); !this.isEOF() && Fi(this.char()); )
3270
3313
  this.bump();
3271
3314
  return this.message.slice(t, this.offset());
3272
3315
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3290,12 +3333,12 @@ var Ni = (
3290
3333
  }
3291
3334
  var h = v(n, this.clonePosition());
3292
3335
  return {
3293
- val: { type: w.literal, value: i, location: h },
3336
+ val: { type: E.literal, value: i, location: h },
3294
3337
  err: null
3295
3338
  };
3296
3339
  }, e.prototype.tryParseLeftAngleBracket = function() {
3297
3340
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3298
- !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3341
+ !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3299
3342
  }, e.prototype.tryParseQuote = function(t) {
3300
3343
  if (this.isEOF() || this.char() !== 39)
3301
3344
  return null;
@@ -3329,12 +3372,12 @@ var Ni = (
3329
3372
  r.push(n);
3330
3373
  this.bump();
3331
3374
  }
3332
- return tt.apply(void 0, r);
3375
+ return at.apply(void 0, r);
3333
3376
  }, e.prototype.tryParseUnquoted = function(t, r) {
3334
3377
  if (this.isEOF())
3335
3378
  return null;
3336
3379
  var n = this.char();
3337
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3380
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3338
3381
  }, e.prototype.parseArgument = function(t, r) {
3339
3382
  var n = this.clonePosition();
3340
3383
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3350,7 +3393,7 @@ var Ni = (
3350
3393
  case 125:
3351
3394
  return this.bump(), {
3352
3395
  val: {
3353
- type: w.argument,
3396
+ type: E.argument,
3354
3397
  // value does not include the opening and closing braces.
3355
3398
  value: i,
3356
3399
  location: v(n, this.clonePosition())
@@ -3363,7 +3406,7 @@ var Ni = (
3363
3406
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3364
3407
  }
3365
3408
  }, e.prototype.parseIdentifierIfPossible = function() {
3366
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3409
+ var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3367
3410
  this.bumpTo(i);
3368
3411
  var o = this.clonePosition(), a = v(t, o);
3369
3412
  return { value: n, location: a };
@@ -3382,7 +3425,7 @@ var Ni = (
3382
3425
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3383
3426
  if (f.err)
3384
3427
  return f;
3385
- var c = Ii(f.val);
3428
+ var c = Gi(f.val);
3386
3429
  if (c.length === 0)
3387
3430
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3388
3431
  var m = v(u, this.clonePosition());
@@ -3392,25 +3435,25 @@ var Ni = (
3392
3435
  if (d.err)
3393
3436
  return d;
3394
3437
  var p = v(i, this.clonePosition());
3395
- if (l && Nt(l == null ? void 0 : l.style, "::", 0)) {
3396
- var A = Oi(l.style.slice(2));
3438
+ if (l && Ut(l == null ? void 0 : l.style, "::", 0)) {
3439
+ var A = Ci(l.style.slice(2));
3397
3440
  if (s === "number") {
3398
3441
  var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
3399
3442
  return f.err ? f : {
3400
- val: { type: w.number, value: n, location: p, style: f.val },
3443
+ val: { type: E.number, value: n, location: p, style: f.val },
3401
3444
  err: null
3402
3445
  };
3403
3446
  } else {
3404
3447
  if (A.length === 0)
3405
3448
  return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3406
3449
  var H = A;
3407
- this.locale && (H = yi(A, this.locale));
3450
+ this.locale && (H = wi(A, this.locale));
3408
3451
  var c = {
3409
- type: ne.dateTime,
3452
+ type: re.dateTime,
3410
3453
  pattern: H,
3411
3454
  location: l.styleLocation,
3412
- parsedOptions: this.shouldParseSkeletons ? ci(H) : {}
3413
- }, T = s === "date" ? w.date : w.time;
3455
+ parsedOptions: this.shouldParseSkeletons ? bi(H) : {}
3456
+ }, T = s === "date" ? E.date : E.time;
3414
3457
  return {
3415
3458
  val: { type: T, value: n, location: p, style: c },
3416
3459
  err: null
@@ -3419,7 +3462,7 @@ var Ni = (
3419
3462
  }
3420
3463
  return {
3421
3464
  val: {
3422
- type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3465
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3423
3466
  value: n,
3424
3467
  location: p,
3425
3468
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3432,7 +3475,7 @@ var Ni = (
3432
3475
  case "select": {
3433
3476
  var B = this.clonePosition();
3434
3477
  if (this.bumpSpace(), !this.bumpIf(","))
3435
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, _({}, B)));
3478
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, Pe({}, B)));
3436
3479
  this.bumpSpace();
3437
3480
  var L = this.parseIdentifierIfPossible(), M = 0;
3438
3481
  if (s !== "select" && L.value === "offset") {
@@ -3444,26 +3487,26 @@ var Ni = (
3444
3487
  return f;
3445
3488
  this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = f.val;
3446
3489
  }
3447
- var G = this.tryParsePluralOrSelectOptions(t, s, r, L);
3448
- if (G.err)
3449
- return G;
3490
+ var U = this.tryParsePluralOrSelectOptions(t, s, r, L);
3491
+ if (U.err)
3492
+ return U;
3450
3493
  var d = this.tryParseArgumentClose(i);
3451
3494
  if (d.err)
3452
3495
  return d;
3453
3496
  var be = v(i, this.clonePosition());
3454
3497
  return s === "select" ? {
3455
3498
  val: {
3456
- type: w.select,
3499
+ type: E.select,
3457
3500
  value: n,
3458
- options: Lt(G.val),
3501
+ options: $t(U.val),
3459
3502
  location: be
3460
3503
  },
3461
3504
  err: null
3462
3505
  } : {
3463
3506
  val: {
3464
- type: w.plural,
3507
+ type: E.plural,
3465
3508
  value: n,
3466
- options: Lt(G.val),
3509
+ options: $t(U.val),
3467
3510
  offset: M,
3468
3511
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3469
3512
  location: be
@@ -3514,16 +3557,16 @@ var Ni = (
3514
3557
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3515
3558
  var n = [];
3516
3559
  try {
3517
- n = mi(t);
3560
+ n = yi(t);
3518
3561
  } catch (i) {
3519
3562
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3520
3563
  }
3521
3564
  return {
3522
3565
  val: {
3523
- type: ne.number,
3566
+ type: re.number,
3524
3567
  tokens: n,
3525
3568
  location: r,
3526
- parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3569
+ parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
3527
3570
  },
3528
3571
  err: null
3529
3572
  };
@@ -3571,7 +3614,7 @@ var Ni = (
3571
3614
  break;
3572
3615
  }
3573
3616
  var h = v(i, this.clonePosition());
3574
- return o ? (a *= n, Pi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3617
+ return o ? (a *= n, Li(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3575
3618
  }, e.prototype.offset = function() {
3576
3619
  return this.position.offset;
3577
3620
  }, e.prototype.isEOF = function() {
@@ -3586,7 +3629,7 @@ var Ni = (
3586
3629
  var t = this.position.offset;
3587
3630
  if (t >= this.message.length)
3588
3631
  throw Error("out of bound");
3589
- var r = _r(this.message, t);
3632
+ var r = Tr(this.message, t);
3590
3633
  if (r === void 0)
3591
3634
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3592
3635
  return r;
@@ -3605,7 +3648,7 @@ var Ni = (
3605
3648
  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);
3606
3649
  }
3607
3650
  }, e.prototype.bumpIf = function(t) {
3608
- if (Nt(this.message, t, this.offset())) {
3651
+ if (Ut(this.message, t, this.offset())) {
3609
3652
  for (var r = 0; r < t.length; r++)
3610
3653
  this.bump();
3611
3654
  return !0;
@@ -3627,7 +3670,7 @@ var Ni = (
3627
3670
  break;
3628
3671
  }
3629
3672
  }, e.prototype.bumpSpace = function() {
3630
- for (; !this.isEOF() && Er(this.char()); )
3673
+ for (; !this.isEOF() && Br(this.char()); )
3631
3674
  this.bump();
3632
3675
  }, e.prototype.peek = function() {
3633
3676
  if (this.isEOF())
@@ -3637,47 +3680,47 @@ var Ni = (
3637
3680
  }, e;
3638
3681
  }()
3639
3682
  );
3640
- function nt(e) {
3683
+ function ut(e) {
3641
3684
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3642
3685
  }
3643
- function Li(e) {
3644
- return nt(e) || e === 47;
3686
+ function $i(e) {
3687
+ return ut(e) || e === 47;
3645
3688
  }
3646
- function Mi(e) {
3689
+ function Fi(e) {
3647
3690
  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;
3648
3691
  }
3649
- function Er(e) {
3692
+ function Br(e) {
3650
3693
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3651
3694
  }
3652
- function Ci(e) {
3695
+ function Di(e) {
3653
3696
  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;
3654
3697
  }
3655
- function it(e) {
3698
+ function lt(e) {
3656
3699
  e.forEach(function(t) {
3657
- if (delete t.location, fr(t) || mr(t))
3700
+ if (delete t.location, gr(t) || yr(t))
3658
3701
  for (var r in t.options)
3659
- delete t.options[r].location, it(t.options[r].value);
3702
+ delete t.options[r].location, lt(t.options[r].value);
3660
3703
  else
3661
- lr(t) && pr(t.style) || (hr(t) || cr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
3704
+ dr(t) && _r(t.style) || (pr(t) || br(t)) && it(t.style) ? delete t.style.location : vr(t) && lt(t.children);
3662
3705
  });
3663
3706
  }
3664
- function Gi(e, t) {
3665
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3666
- var r = new Ni(e, t).parse();
3707
+ function ji(e, t) {
3708
+ t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3709
+ var r = new Ui(e, t).parse();
3667
3710
  if (r.err) {
3668
3711
  var n = SyntaxError(y[r.err.kind]);
3669
3712
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3670
3713
  }
3671
- return t != null && t.captureLocation || it(r.val), r.val;
3714
+ return t != null && t.captureLocation || lt(r.val), r.val;
3672
3715
  }
3673
- var ie;
3716
+ var ne;
3674
3717
  (function(e) {
3675
3718
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3676
- })(ie || (ie = {}));
3677
- var Ne = (
3719
+ })(ne || (ne = {}));
3720
+ var Me = (
3678
3721
  /** @class */
3679
3722
  function(e) {
3680
- $(t, e);
3723
+ Le(t, e);
3681
3724
  function t(r, n, i) {
3682
3725
  var o = e.call(this, r) || this;
3683
3726
  return o.code = n, o.originalMessage = i, o;
@@ -3686,48 +3729,48 @@ var Ne = (
3686
3729
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3687
3730
  }, t;
3688
3731
  }(Error)
3689
- ), Ct = (
3732
+ ), Dt = (
3690
3733
  /** @class */
3691
3734
  function(e) {
3692
- $(t, e);
3735
+ Le(t, e);
3693
3736
  function t(r, n, i, o) {
3694
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3737
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3695
3738
  }
3696
3739
  return t;
3697
- }(Ne)
3698
- ), Ui = (
3740
+ }(Me)
3741
+ ), ki = (
3699
3742
  /** @class */
3700
3743
  function(e) {
3701
- $(t, e);
3744
+ Le(t, e);
3702
3745
  function t(r, n, i) {
3703
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3746
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3704
3747
  }
3705
3748
  return t;
3706
- }(Ne)
3707
- ), Fi = (
3749
+ }(Me)
3750
+ ), Vi = (
3708
3751
  /** @class */
3709
3752
  function(e) {
3710
- $(t, e);
3753
+ Le(t, e);
3711
3754
  function t(r, n) {
3712
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3755
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3713
3756
  }
3714
3757
  return t;
3715
- }(Ne)
3758
+ }(Me)
3716
3759
  ), P;
3717
3760
  (function(e) {
3718
3761
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3719
3762
  })(P || (P = {}));
3720
- function Di(e) {
3763
+ function Wi(e) {
3721
3764
  return e.length < 2 ? e : e.reduce(function(t, r) {
3722
3765
  var n = t[t.length - 1];
3723
3766
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3724
3767
  }, []);
3725
3768
  }
3726
- function $i(e) {
3769
+ function Xi(e) {
3727
3770
  return typeof e == "function";
3728
3771
  }
3729
3772
  function Te(e, t, r, n, i, o, a) {
3730
- if (e.length === 1 && Pt(e[0]))
3773
+ if (e.length === 1 && Lt(e[0]))
3731
3774
  return [
3732
3775
  {
3733
3776
  type: P.literal,
@@ -3736,14 +3779,14 @@ function Te(e, t, r, n, i, o, a) {
3736
3779
  ];
3737
3780
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3738
3781
  var u = l[h];
3739
- if (Pt(u)) {
3782
+ if (Lt(u)) {
3740
3783
  s.push({
3741
3784
  type: P.literal,
3742
3785
  value: u.value
3743
3786
  });
3744
3787
  continue;
3745
3788
  }
3746
- if (li(u)) {
3789
+ if (di(u)) {
3747
3790
  typeof o == "number" && s.push({
3748
3791
  type: P.literal,
3749
3792
  value: r.getNumberFormat(t).format(o)
@@ -3752,43 +3795,43 @@ function Te(e, t, r, n, i, o, a) {
3752
3795
  }
3753
3796
  var f = u.value;
3754
3797
  if (!(i && f in i))
3755
- throw new Fi(f, a);
3798
+ throw new Vi(f, a);
3756
3799
  var c = i[f];
3757
- if (ui(u)) {
3800
+ if (mi(u)) {
3758
3801
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3759
3802
  type: typeof c == "string" ? P.literal : P.object,
3760
3803
  value: c
3761
3804
  });
3762
3805
  continue;
3763
3806
  }
3764
- if (hr(u)) {
3765
- var m = typeof u.style == "string" ? n.date[u.style] : Ke(u.style) ? u.style.parsedOptions : void 0;
3807
+ if (pr(u)) {
3808
+ var m = typeof u.style == "string" ? n.date[u.style] : it(u.style) ? u.style.parsedOptions : void 0;
3766
3809
  s.push({
3767
3810
  type: P.literal,
3768
3811
  value: r.getDateTimeFormat(t, m).format(c)
3769
3812
  });
3770
3813
  continue;
3771
3814
  }
3772
- if (cr(u)) {
3773
- var m = typeof u.style == "string" ? n.time[u.style] : Ke(u.style) ? u.style.parsedOptions : n.time.medium;
3815
+ if (br(u)) {
3816
+ var m = typeof u.style == "string" ? n.time[u.style] : it(u.style) ? u.style.parsedOptions : n.time.medium;
3774
3817
  s.push({
3775
3818
  type: P.literal,
3776
3819
  value: r.getDateTimeFormat(t, m).format(c)
3777
3820
  });
3778
3821
  continue;
3779
3822
  }
3780
- if (lr(u)) {
3781
- var m = typeof u.style == "string" ? n.number[u.style] : pr(u.style) ? u.style.parsedOptions : void 0;
3823
+ if (dr(u)) {
3824
+ var m = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
3782
3825
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3783
3826
  type: P.literal,
3784
3827
  value: r.getNumberFormat(t, m).format(c)
3785
3828
  });
3786
3829
  continue;
3787
3830
  }
3788
- if (dr(u)) {
3831
+ if (vr(u)) {
3789
3832
  var d = u.children, p = u.value, A = i[p];
3790
- if (!$i(A))
3791
- throw new Ui(p, "function", a);
3833
+ if (!Xi(A))
3834
+ throw new ki(p, "function", a);
3792
3835
  var H = Te(d, t, r, n, i, o), T = A(H.map(function(M) {
3793
3836
  return M.value;
3794
3837
  }));
@@ -3799,42 +3842,42 @@ function Te(e, t, r, n, i, o, a) {
3799
3842
  };
3800
3843
  }));
3801
3844
  }
3802
- if (fr(u)) {
3845
+ if (gr(u)) {
3803
3846
  var B = u.options[c] || u.options.other;
3804
3847
  if (!B)
3805
- throw new Ct(u.value, c, Object.keys(u.options), a);
3848
+ throw new Dt(u.value, c, Object.keys(u.options), a);
3806
3849
  s.push.apply(s, Te(B.value, t, r, n, i));
3807
3850
  continue;
3808
3851
  }
3809
- if (mr(u)) {
3852
+ if (yr(u)) {
3810
3853
  var B = u.options["=".concat(c)];
3811
3854
  if (!B) {
3812
3855
  if (!Intl.PluralRules)
3813
- throw new Ne(`Intl.PluralRules is not available in this environment.
3856
+ throw new Me(`Intl.PluralRules is not available in this environment.
3814
3857
  Try polyfilling it using "@formatjs/intl-pluralrules"
3815
- `, ie.MISSING_INTL_API, a);
3858
+ `, ne.MISSING_INTL_API, a);
3816
3859
  var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3817
3860
  B = u.options[L] || u.options.other;
3818
3861
  }
3819
3862
  if (!B)
3820
- throw new Ct(u.value, c, Object.keys(u.options), a);
3863
+ throw new Dt(u.value, c, Object.keys(u.options), a);
3821
3864
  s.push.apply(s, Te(B.value, t, r, n, i, c - (u.offset || 0)));
3822
3865
  continue;
3823
3866
  }
3824
3867
  }
3825
- return Di(s);
3868
+ return Wi(s);
3826
3869
  }
3827
- function ji(e, t) {
3828
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3829
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3870
+ function zi(e, t) {
3871
+ return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3872
+ return r[n] = C(C({}, e[n]), t[n] || {}), r;
3830
3873
  }, {})) : e;
3831
3874
  }
3832
- function ki(e, t) {
3875
+ function Ji(e, t) {
3833
3876
  return t ? Object.keys(e).reduce(function(r, n) {
3834
- return r[n] = ji(e[n], t[n]), r;
3835
- }, _({}, e)) : e;
3877
+ return r[n] = zi(e[n], t[n]), r;
3878
+ }, C({}, e)) : e;
3836
3879
  }
3837
- function ke(e) {
3880
+ function Xe(e) {
3838
3881
  return {
3839
3882
  create: function() {
3840
3883
  return {
@@ -3848,39 +3891,39 @@ function ke(e) {
3848
3891
  }
3849
3892
  };
3850
3893
  }
3851
- function Vi(e) {
3894
+ function Zi(e) {
3852
3895
  return e === void 0 && (e = {
3853
3896
  number: {},
3854
3897
  dateTime: {},
3855
3898
  pluralRules: {}
3856
3899
  }), {
3857
- getNumberFormat: De(function() {
3900
+ getNumberFormat: ke(function() {
3858
3901
  for (var t, r = [], n = 0; n < arguments.length; n++)
3859
3902
  r[n] = arguments[n];
3860
- return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3903
+ return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], r, !1)))();
3861
3904
  }, {
3862
- cache: ke(e.number),
3863
- strategy: $e.variadic
3905
+ cache: Xe(e.number),
3906
+ strategy: Ve.variadic
3864
3907
  }),
3865
- getDateTimeFormat: De(function() {
3908
+ getDateTimeFormat: ke(function() {
3866
3909
  for (var t, r = [], n = 0; n < arguments.length; n++)
3867
3910
  r[n] = arguments[n];
3868
- return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3911
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], r, !1)))();
3869
3912
  }, {
3870
- cache: ke(e.dateTime),
3871
- strategy: $e.variadic
3913
+ cache: Xe(e.dateTime),
3914
+ strategy: Ve.variadic
3872
3915
  }),
3873
- getPluralRules: De(function() {
3916
+ getPluralRules: ke(function() {
3874
3917
  for (var t, r = [], n = 0; n < arguments.length; n++)
3875
3918
  r[n] = arguments[n];
3876
- return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3919
+ return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], r, !1)))();
3877
3920
  }, {
3878
- cache: ke(e.pluralRules),
3879
- strategy: $e.variadic
3921
+ cache: Xe(e.pluralRules),
3922
+ strategy: Ve.variadic
3880
3923
  })
3881
3924
  };
3882
3925
  }
3883
- var Wi = (
3926
+ var Qi = (
3884
3927
  /** @class */
3885
3928
  function() {
3886
3929
  function e(t, r, n, i) {
@@ -3912,13 +3955,13 @@ var Wi = (
3912
3955
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3913
3956
  var a = i || {};
3914
3957
  a.formatters;
3915
- var s = wn(a, ["formatters"]);
3916
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3958
+ var s = oi(a, ["formatters"]);
3959
+ this.ast = e.__parse(t, C(C({}, s), { locale: this.resolvedLocale }));
3917
3960
  } else
3918
3961
  this.ast = t;
3919
3962
  if (!Array.isArray(this.ast))
3920
3963
  throw new TypeError("A message must be provided as a String or AST.");
3921
- this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
3964
+ this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
3922
3965
  }
3923
3966
  return Object.defineProperty(e, "defaultLocale", {
3924
3967
  get: function() {
@@ -3931,7 +3974,7 @@ var Wi = (
3931
3974
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3932
3975
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3933
3976
  }
3934
- }, e.__parse = Gi, e.formats = {
3977
+ }, e.__parse = ji, e.formats = {
3935
3978
  number: {
3936
3979
  integer: {
3937
3980
  maximumFractionDigits: 0
@@ -3992,7 +4035,7 @@ var Wi = (
3992
4035
  }, e;
3993
4036
  }()
3994
4037
  );
3995
- function Xi(e, t) {
4038
+ function Yi(e, t) {
3996
4039
  if (t == null)
3997
4040
  return;
3998
4041
  if (t in e)
@@ -4013,92 +4056,92 @@ function Xi(e, t) {
4013
4056
  n = void 0;
4014
4057
  return n;
4015
4058
  }
4016
- const j = {}, zi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), wr = (e, t) => {
4059
+ const j = {}, qi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Ar = (e, t) => {
4017
4060
  if (t == null)
4018
4061
  return;
4019
4062
  if (t in j && e in j[t])
4020
4063
  return j[t][e];
4021
- const r = Le(t);
4064
+ const r = Ce(t);
4022
4065
  for (let n = 0; n < r.length; n++) {
4023
- const i = r[n], o = Zi(i, e);
4066
+ const i = r[n], o = eo(i, e);
4024
4067
  if (o)
4025
- return zi(e, t, o);
4068
+ return qi(e, t, o);
4026
4069
  }
4027
4070
  };
4028
- let ut;
4029
- const se = Ie({});
4030
- function Ji(e) {
4031
- return ut[e] || null;
4071
+ let mt;
4072
+ const ae = Ne({});
4073
+ function Ki(e) {
4074
+ return mt[e] || null;
4032
4075
  }
4033
- function Sr(e) {
4034
- return e in ut;
4076
+ function Pr(e) {
4077
+ return e in mt;
4035
4078
  }
4036
- function Zi(e, t) {
4037
- if (!Sr(e))
4079
+ function eo(e, t) {
4080
+ if (!Pr(e))
4038
4081
  return null;
4039
- const r = Ji(e);
4040
- return Xi(r, t);
4082
+ const r = Ki(e);
4083
+ return Yi(r, t);
4041
4084
  }
4042
- function Qi(e) {
4085
+ function to(e) {
4043
4086
  if (e == null)
4044
4087
  return;
4045
- const t = Le(e);
4088
+ const t = Ce(e);
4046
4089
  for (let r = 0; r < t.length; r++) {
4047
4090
  const n = t[r];
4048
- if (Sr(n))
4091
+ if (Pr(n))
4049
4092
  return n;
4050
4093
  }
4051
4094
  }
4052
- function Tr(e, ...t) {
4053
- delete j[e], se.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
4095
+ function Or(e, ...t) {
4096
+ delete j[e], ae.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
4054
4097
  }
4055
- ae(
4056
- [se],
4098
+ oe(
4099
+ [ae],
4057
4100
  ([e]) => Object.keys(e)
4058
4101
  );
4059
- se.subscribe((e) => ut = e);
4102
+ ae.subscribe((e) => mt = e);
4060
4103
  const He = {};
4061
- function Yi(e, t) {
4104
+ function ro(e, t) {
4062
4105
  He[e].delete(t), He[e].size === 0 && delete He[e];
4063
4106
  }
4064
- function Hr(e) {
4107
+ function Rr(e) {
4065
4108
  return He[e];
4066
4109
  }
4067
- function qi(e) {
4068
- return Le(e).map((t) => {
4069
- const r = Hr(t);
4110
+ function no(e) {
4111
+ return Ce(e).map((t) => {
4112
+ const r = Rr(t);
4070
4113
  return [t, r ? [...r] : []];
4071
4114
  }).filter(([, t]) => t.length > 0);
4072
4115
  }
4073
- function ot(e) {
4074
- return e == null ? !1 : Le(e).some(
4116
+ function ht(e) {
4117
+ return e == null ? !1 : Ce(e).some(
4075
4118
  (t) => {
4076
4119
  var r;
4077
- return (r = Hr(t)) == null ? void 0 : r.size;
4120
+ return (r = Rr(t)) == null ? void 0 : r.size;
4078
4121
  }
4079
4122
  );
4080
4123
  }
4081
- function Ki(e, t) {
4124
+ function io(e, t) {
4082
4125
  return Promise.all(
4083
- t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
4084
- ).then((n) => Tr(e, ...n));
4085
- }
4086
- const he = {};
4087
- function Br(e) {
4088
- if (!ot(e))
4089
- return e in he ? he[e] : Promise.resolve();
4090
- const t = qi(e);
4091
- return he[e] = Promise.all(
4126
+ t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4127
+ ).then((n) => Or(e, ...n));
4128
+ }
4129
+ const le = {};
4130
+ function Ir(e) {
4131
+ if (!ht(e))
4132
+ return e in le ? le[e] : Promise.resolve();
4133
+ const t = no(e);
4134
+ return le[e] = Promise.all(
4092
4135
  t.map(
4093
- ([r, n]) => Ki(r, n)
4136
+ ([r, n]) => io(r, n)
4094
4137
  )
4095
4138
  ).then(() => {
4096
- if (ot(e))
4097
- return Br(e);
4098
- delete he[e];
4099
- }), he[e];
4139
+ if (ht(e))
4140
+ return Ir(e);
4141
+ delete le[e];
4142
+ }), le[e];
4100
4143
  }
4101
- const eo = {
4144
+ const oo = {
4102
4145
  number: {
4103
4146
  scientific: { notation: "scientific" },
4104
4147
  engineering: { notation: "engineering" },
@@ -4127,135 +4170,135 @@ const eo = {
4127
4170
  timeZoneName: "short"
4128
4171
  }
4129
4172
  }
4130
- }, to = {
4173
+ }, ao = {
4131
4174
  fallbackLocale: null,
4132
4175
  loadingDelay: 200,
4133
- formats: eo,
4176
+ formats: oo,
4134
4177
  warnOnMissingMessages: !0,
4135
4178
  handleMissingMessage: void 0,
4136
4179
  ignoreTag: !0
4137
- }, ro = to;
4138
- function oe() {
4139
- return ro;
4180
+ }, so = ao;
4181
+ function ie() {
4182
+ return so;
4140
4183
  }
4141
- const Ve = Ie(!1);
4142
- var no = Object.defineProperty, io = Object.defineProperties, oo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, uo = (e, t) => {
4184
+ const ze = Ne(!1);
4185
+ var uo = Object.defineProperty, lo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4143
4186
  for (var r in t || (t = {}))
4144
- ao.call(t, r) && Ut(e, r, t[r]);
4145
- if (Gt)
4146
- for (var r of Gt(t))
4147
- so.call(t, r) && Ut(e, r, t[r]);
4187
+ co.call(t, r) && kt(e, r, t[r]);
4188
+ if (jt)
4189
+ for (var r of jt(t))
4190
+ fo.call(t, r) && kt(e, r, t[r]);
4148
4191
  return e;
4149
- }, lo = (e, t) => io(e, oo(t));
4150
- let at;
4151
- const Pe = Ie(null);
4152
- function Ft(e) {
4192
+ }, po = (e, t) => lo(e, ho(t));
4193
+ let ct;
4194
+ const Oe = Ne(null);
4195
+ function Vt(e) {
4153
4196
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4154
4197
  }
4155
- function Le(e, t = oe().fallbackLocale) {
4156
- const r = Ft(e);
4157
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
4198
+ function Ce(e, t = ie().fallbackLocale) {
4199
+ const r = Vt(e);
4200
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4158
4201
  }
4159
4202
  function Z() {
4160
- return at != null ? at : void 0;
4203
+ return ct != null ? ct : void 0;
4161
4204
  }
4162
- Pe.subscribe((e) => {
4163
- at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4205
+ Oe.subscribe((e) => {
4206
+ ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4164
4207
  });
4165
- const ho = (e) => {
4166
- if (e && Qi(e) && ot(e)) {
4167
- const { loadingDelay: t } = oe();
4208
+ const bo = (e) => {
4209
+ if (e && to(e) && ht(e)) {
4210
+ const { loadingDelay: t } = ie();
4168
4211
  let r;
4169
4212
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4170
- () => Ve.set(!0),
4213
+ () => ze.set(!0),
4171
4214
  t
4172
- ) : Ve.set(!0), Br(e).then(() => {
4173
- Pe.set(e);
4215
+ ) : ze.set(!0), Ir(e).then(() => {
4216
+ Oe.set(e);
4174
4217
  }).finally(() => {
4175
- clearTimeout(r), Ve.set(!1);
4218
+ clearTimeout(r), ze.set(!1);
4176
4219
  });
4177
4220
  }
4178
- return Pe.set(e);
4179
- }, W = lo(uo({}, Pe), {
4180
- set: ho
4181
- }), Me = (e) => {
4221
+ return Oe.set(e);
4222
+ }, W = po(mo({}, Oe), {
4223
+ set: bo
4224
+ }), Ge = (e) => {
4182
4225
  const t = /* @__PURE__ */ Object.create(null);
4183
4226
  return (n) => {
4184
4227
  const i = JSON.stringify(n);
4185
4228
  return i in t ? t[i] : t[i] = e(n);
4186
4229
  };
4187
4230
  };
4188
- var co = Object.defineProperty, Re = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4231
+ var go = Object.defineProperty, Re = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
4189
4232
  for (var r in t || (t = {}))
4190
- Ar.call(t, r) && Dt(e, r, t[r]);
4233
+ Nr.call(t, r) && Wt(e, r, t[r]);
4191
4234
  if (Re)
4192
4235
  for (var r of Re(t))
4193
- Pr.call(t, r) && Dt(e, r, t[r]);
4236
+ Lr.call(t, r) && Wt(e, r, t[r]);
4194
4237
  return e;
4195
- }, ue = (e, t) => {
4238
+ }, se = (e, t) => {
4196
4239
  var r = {};
4197
4240
  for (var n in e)
4198
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4241
+ Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4199
4242
  if (e != null && Re)
4200
4243
  for (var n of Re(e))
4201
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4244
+ t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
4202
4245
  return r;
4203
4246
  };
4204
- const pe = (e, t) => {
4205
- const { formats: r } = oe();
4247
+ const de = (e, t) => {
4248
+ const { formats: r } = ie();
4206
4249
  if (e in r && t in r[e])
4207
4250
  return r[e][t];
4208
4251
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4209
- }, fo = Me(
4252
+ }, yo = Ge(
4210
4253
  (e) => {
4211
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4254
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4212
4255
  if (r == null)
4213
4256
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4214
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4257
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4215
4258
  }
4216
- ), mo = Me(
4259
+ ), vo = Ge(
4217
4260
  (e) => {
4218
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4261
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4219
4262
  if (r == null)
4220
4263
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4221
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4264
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4222
4265
  }
4223
- ), po = Me(
4266
+ ), _o = Ge(
4224
4267
  (e) => {
4225
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4268
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4226
4269
  if (r == null)
4227
4270
  throw new Error(
4228
4271
  '[svelte-i18n] A "locale" must be set to format time values'
4229
4272
  );
4230
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4273
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4231
4274
  }
4232
- ), bo = (e = {}) => {
4275
+ ), xo = (e = {}) => {
4233
4276
  var t = e, {
4234
4277
  locale: r = Z()
4235
- } = t, n = ue(t, [
4278
+ } = t, n = se(t, [
4236
4279
  "locale"
4237
4280
  ]);
4238
- return fo(lt({ locale: r }, n));
4239
- }, go = (e = {}) => {
4281
+ return yo(dt({ locale: r }, n));
4282
+ }, Eo = (e = {}) => {
4240
4283
  var t = e, {
4241
4284
  locale: r = Z()
4242
- } = t, n = ue(t, [
4285
+ } = t, n = se(t, [
4243
4286
  "locale"
4244
4287
  ]);
4245
- return mo(lt({ locale: r }, n));
4246
- }, yo = (e = {}) => {
4288
+ return vo(dt({ locale: r }, n));
4289
+ }, wo = (e = {}) => {
4247
4290
  var t = e, {
4248
4291
  locale: r = Z()
4249
- } = t, n = ue(t, [
4292
+ } = t, n = se(t, [
4250
4293
  "locale"
4251
4294
  ]);
4252
- return po(lt({ locale: r }, n));
4253
- }, vo = Me(
4295
+ return _o(dt({ locale: r }, n));
4296
+ }, So = Ge(
4254
4297
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4255
- (e, t = Z()) => new Wi(e, t, oe().formats, {
4256
- ignoreTag: oe().ignoreTag
4298
+ (e, t = Z()) => new Qi(e, t, ie().formats, {
4299
+ ignoreTag: ie().ignoreTag
4257
4300
  })
4258
- ), _o = (e, t = {}) => {
4301
+ ), To = (e, t = {}) => {
4259
4302
  var r, n, i, o;
4260
4303
  let a = t;
4261
4304
  typeof e == "object" && (a = e, e = a.id);
@@ -4268,9 +4311,9 @@ const pe = (e, t) => {
4268
4311
  throw new Error(
4269
4312
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4270
4313
  );
4271
- let u = wr(e, h);
4314
+ let u = Ar(e, h);
4272
4315
  if (!u)
4273
- u = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4316
+ u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4274
4317
  else if (typeof u != "string")
4275
4318
  return console.warn(
4276
4319
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4279,7 +4322,7 @@ const pe = (e, t) => {
4279
4322
  return u;
4280
4323
  let f = u;
4281
4324
  try {
4282
- f = vo(u, h).format(s);
4325
+ f = So(u, h).format(s);
4283
4326
  } catch (c) {
4284
4327
  c instanceof Error && console.warn(
4285
4328
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4287,20 +4330,20 @@ const pe = (e, t) => {
4287
4330
  );
4288
4331
  }
4289
4332
  return f;
4290
- }, xo = (e, t) => yo(t).format(e), Eo = (e, t) => go(t).format(e), wo = (e, t) => bo(t).format(e), So = (e, t = Z()) => wr(e, t), To = ae([W, se], () => _o);
4291
- ae([W], () => xo);
4292
- ae([W], () => Eo);
4293
- ae([W], () => wo);
4294
- ae([W, se], () => So);
4295
- window.emWidgets = { topic: Gn };
4296
- const Ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4297
- function Bo(e, t) {
4333
+ }, Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t) => xo(t).format(e), Po = (e, t = Z()) => Ar(e, t), Oo = oe([W, ae], () => To);
4334
+ oe([W], () => Ho);
4335
+ oe([W], () => Bo);
4336
+ oe([W], () => Ao);
4337
+ oe([W, ae], () => Po);
4338
+ window.emWidgets = { topic: Dn };
4339
+ const Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4340
+ function Io(e, t) {
4298
4341
  if (e) {
4299
4342
  const r = document.createElement("style");
4300
4343
  r.innerHTML = t, e.appendChild(r);
4301
4344
  }
4302
4345
  }
4303
- function Ao(e, t) {
4346
+ function No(e, t) {
4304
4347
  const r = new URL(t);
4305
4348
  fetch(r.href).then((n) => n.text()).then((n) => {
4306
4349
  const i = document.createElement("style");
@@ -4309,7 +4352,7 @@ function Ao(e, t) {
4309
4352
  console.error("There was an error while trying to load client styling from URL", n);
4310
4353
  });
4311
4354
  }
4312
- function Po(e, t, r) {
4355
+ function Lo(e, t, r) {
4313
4356
  if (window.emMessageBus) {
4314
4357
  const n = document.createElement("style");
4315
4358
  window.emMessageBus.subscribe(t, (i) => {
@@ -4317,18 +4360,18 @@ function Po(e, t, r) {
4317
4360
  });
4318
4361
  }
4319
4362
  }
4320
- function Ro({ withLocale: e, translations: t }) {
4363
+ function Mo({ withLocale: e, translations: t }) {
4321
4364
  W.subscribe((r) => {
4322
- r == null && (se.set(t), W.set(e));
4365
+ r == null && (ae.set(t), W.set(e));
4323
4366
  });
4324
4367
  }
4325
- function $t(e, t) {
4326
- Tr(e, t);
4368
+ function Xt(e, t) {
4369
+ Or(e, t);
4327
4370
  }
4328
- function Oo(e) {
4371
+ function Co(e) {
4329
4372
  W.set(e);
4330
4373
  }
4331
- const jt = {
4374
+ const zt = {
4332
4375
  en: {
4333
4376
  playRandomGame: "Play a random game",
4334
4377
  randomGameLoading: "Selecting ...",
@@ -4402,39 +4445,39 @@ const jt = {
4402
4445
  noGames: "There are no random games to play"
4403
4446
  }
4404
4447
  };
4405
- function Io(e) {
4406
- rn(e, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4448
+ function Go(e) {
4449
+ un(e, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4407
4450
  }
4408
- function kt(e, t, r) {
4451
+ function Jt(e, t, r) {
4409
4452
  const n = e.slice();
4410
4453
  return n[41] = t[r], n;
4411
4454
  }
4412
- const No = (e) => ({}), Vt = (e) => ({});
4413
- function Wt(e) {
4455
+ const Uo = (e) => ({}), Zt = (e) => ({});
4456
+ function Qt(e) {
4414
4457
  let t, r, n, i, o, a, s;
4415
4458
  const h = (
4416
4459
  /*#slots*/
4417
4460
  e[23].close
4418
- ), l = qr(
4461
+ ), l = nn(
4419
4462
  h,
4420
4463
  e,
4421
4464
  /*$$scope*/
4422
4465
  e[22],
4423
- Vt
4424
- ), u = l || Lo();
4466
+ Zt
4467
+ ), u = l || $o();
4425
4468
  function f(d, p) {
4426
4469
  return (
4427
4470
  /*hasRandomGames*/
4428
- d[7] ? Co : Mo
4471
+ d[7] ? Do : Fo
4429
4472
  );
4430
4473
  }
4431
4474
  let c = f(e), m = c(e);
4432
4475
  return {
4433
4476
  c() {
4434
- t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = V(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4477
+ t = w("div"), r = w("div"), n = w("span"), u && u.c(), i = V(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4435
4478
  },
4436
4479
  m(d, p) {
4437
- I(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Be(
4480
+ I(d, t, p), _(t, r), _(r, n), u && u.m(n, null), _(r, i), m.m(r, null), o = !0, a || (s = Be(
4438
4481
  n,
4439
4482
  "click",
4440
4483
  /*closeModal*/
@@ -4443,62 +4486,62 @@ function Wt(e) {
4443
4486
  },
4444
4487
  p(d, p) {
4445
4488
  l && l.p && (!o || p[0] & /*$$scope*/
4446
- 4194304) && en(
4489
+ 4194304) && an(
4447
4490
  l,
4448
4491
  h,
4449
4492
  d,
4450
4493
  /*$$scope*/
4451
4494
  d[22],
4452
- o ? Kr(
4495
+ o ? on(
4453
4496
  h,
4454
4497
  /*$$scope*/
4455
4498
  d[22],
4456
4499
  p,
4457
- No
4458
- ) : tn(
4500
+ Uo
4501
+ ) : sn(
4459
4502
  /*$$scope*/
4460
4503
  d[22]
4461
4504
  ),
4462
- Vt
4505
+ Zt
4463
4506
  ), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4464
4507
  },
4465
4508
  i(d) {
4466
- o || (fe(u, d), o = !0);
4509
+ o || (ce(u, d), o = !0);
4467
4510
  },
4468
4511
  o(d) {
4469
- ze(u, d), o = !1;
4512
+ Qe(u, d), o = !1;
4470
4513
  },
4471
4514
  d(d) {
4472
- d && R(t), u && u.d(d), m.d(), a = !1, s();
4515
+ d && O(t), u && u.d(d), m.d(), a = !1, s();
4473
4516
  }
4474
4517
  };
4475
4518
  }
4476
- function Lo(e) {
4519
+ function $o(e) {
4477
4520
  let t, r;
4478
4521
  return {
4479
4522
  c() {
4480
- t = yt("svg"), r = yt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4523
+ t = wt("svg"), r = wt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4481
4524
  },
4482
4525
  m(n, i) {
4483
- I(n, t, i), x(t, r);
4526
+ I(n, t, i), _(t, r);
4484
4527
  },
4485
- p: C,
4528
+ p: G,
4486
4529
  d(n) {
4487
- n && R(t);
4530
+ n && O(t);
4488
4531
  }
4489
4532
  };
4490
4533
  }
4491
- function Mo(e) {
4534
+ function Fo(e) {
4492
4535
  let t, r = (
4493
4536
  /*$_*/
4494
4537
  e[9]("noGames") + ""
4495
4538
  ), n;
4496
4539
  return {
4497
4540
  c() {
4498
- t = S("p"), n = k(r), g(t, "class", "RandomGameLoading");
4541
+ t = w("p"), n = k(r), g(t, "class", "RandomGameLoading");
4499
4542
  },
4500
4543
  m(i, o) {
4501
- I(i, t, o), x(t, n);
4544
+ I(i, t, o), _(t, n);
4502
4545
  },
4503
4546
  p(i, o) {
4504
4547
  o[0] & /*$_*/
@@ -4506,48 +4549,48 @@ function Mo(e) {
4506
4549
  i[9]("noGames") + "") && z(n, r);
4507
4550
  },
4508
4551
  d(i) {
4509
- i && R(t);
4552
+ i && O(t);
4510
4553
  }
4511
4554
  };
4512
4555
  }
4513
- function Co(e) {
4514
- let t, r, n, i, o = _t(
4556
+ function Do(e) {
4557
+ let t, r, n, i, o = Tt(
4515
4558
  /*gamesToShow*/
4516
4559
  e[4]
4517
4560
  ), a = [];
4518
4561
  for (let u = 0; u < o.length; u += 1)
4519
- a[u] = Xt(kt(e, o, u));
4562
+ a[u] = Yt(Jt(e, o, u));
4520
4563
  function s(u, f) {
4521
4564
  return (
4522
4565
  /*animationDone*/
4523
- u[6] ? Uo : Go
4566
+ u[6] ? ko : jo
4524
4567
  );
4525
4568
  }
4526
4569
  let h = s(e), l = h(e);
4527
4570
  return {
4528
4571
  c() {
4529
- t = S("div"), r = S("main"), n = S("div");
4572
+ t = w("div"), r = w("main"), n = w("div");
4530
4573
  for (let u = 0; u < a.length; u += 1)
4531
4574
  a[u].c();
4532
4575
  i = V(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4533
4576
  },
4534
4577
  m(u, f) {
4535
- I(u, t, f), x(t, r), x(r, n);
4578
+ I(u, t, f), _(t, r), _(r, n);
4536
4579
  for (let c = 0; c < a.length; c += 1)
4537
4580
  a[c] && a[c].m(n, null);
4538
- e[24](n), x(t, i), l.m(t, null);
4581
+ e[24](n), _(t, i), l.m(t, null);
4539
4582
  },
4540
4583
  p(u, f) {
4541
4584
  if (f[0] & /*gamesToShow*/
4542
4585
  16) {
4543
- o = _t(
4586
+ o = Tt(
4544
4587
  /*gamesToShow*/
4545
4588
  u[4]
4546
4589
  );
4547
4590
  let c;
4548
4591
  for (c = 0; c < o.length; c += 1) {
4549
- const m = kt(u, o, c);
4550
- a[c] ? a[c].p(m, f) : (a[c] = Xt(m), a[c].c(), a[c].m(n, null));
4592
+ const m = Jt(u, o, c);
4593
+ a[c] ? a[c].p(m, f) : (a[c] = Yt(m), a[c].c(), a[c].m(n, null));
4551
4594
  }
4552
4595
  for (; c < a.length; c += 1)
4553
4596
  a[c].d(1);
@@ -4556,25 +4599,25 @@ function Co(e) {
4556
4599
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4557
4600
  },
4558
4601
  d(u) {
4559
- u && R(t), an(a, u), e[24](null), l.d();
4602
+ u && O(t), cn(a, u), e[24](null), l.d();
4560
4603
  }
4561
4604
  };
4562
4605
  }
4563
- function Xt(e) {
4606
+ function Yt(e) {
4564
4607
  let t, r, n, i, o, a;
4565
4608
  return {
4566
4609
  c() {
4567
- t = S("div"), r = S("img"), a = V(), g(r, "class", "RandomGameImage"), gt(r.src, n = /*game*/
4610
+ t = w("div"), r = w("img"), a = V(), g(r, "class", "RandomGameImage"), Et(r.src, n = /*game*/
4568
4611
  e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4569
4612
  e[41].name), g(r, "title", o = /*game*/
4570
4613
  e[41].name), g(t, "class", "item");
4571
4614
  },
4572
4615
  m(s, h) {
4573
- I(s, t, h), x(t, r), x(t, a);
4616
+ I(s, t, h), _(t, r), _(t, a);
4574
4617
  },
4575
4618
  p(s, h) {
4576
4619
  h[0] & /*gamesToShow*/
4577
- 16 && !gt(r.src, n = /*game*/
4620
+ 16 && !Et(r.src, n = /*game*/
4578
4621
  s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4579
4622
  16 && i !== (i = /*game*/
4580
4623
  s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
@@ -4582,21 +4625,21 @@ function Xt(e) {
4582
4625
  s[41].name) && g(r, "title", o);
4583
4626
  },
4584
4627
  d(s) {
4585
- s && R(t);
4628
+ s && O(t);
4586
4629
  }
4587
4630
  };
4588
4631
  }
4589
- function Go(e) {
4632
+ function jo(e) {
4590
4633
  let t, r = (
4591
4634
  /*$_*/
4592
4635
  e[9]("randomGameLoading") + ""
4593
4636
  ), n;
4594
4637
  return {
4595
4638
  c() {
4596
- t = S("p"), n = k(r), g(t, "class", "RandomGameLoading");
4639
+ t = w("p"), n = k(r), g(t, "class", "RandomGameLoading");
4597
4640
  },
4598
4641
  m(i, o) {
4599
- I(i, t, o), x(t, n);
4642
+ I(i, t, o), _(t, n);
4600
4643
  },
4601
4644
  p(i, o) {
4602
4645
  o[0] & /*$_*/
@@ -4604,11 +4647,11 @@ function Go(e) {
4604
4647
  i[9]("randomGameLoading") + "") && z(n, r);
4605
4648
  },
4606
4649
  d(i) {
4607
- i && R(t);
4650
+ i && O(t);
4608
4651
  }
4609
4652
  };
4610
4653
  }
4611
- function Uo(e) {
4654
+ function ko(e) {
4612
4655
  let t, r, n, i, o = (
4613
4656
  /*randomGame*/
4614
4657
  e[3].name + ""
@@ -4621,11 +4664,11 @@ function Uo(e) {
4621
4664
  ), d, p, A;
4622
4665
  return {
4623
4666
  c() {
4624
- t = S("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
4625
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = V(), n = S("div"), i = S("p"), a = k(o), s = V(), h = S("p"), u = k(l), f = V(), c = S("button"), d = k(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4667
+ t = w("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
4668
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = V(), n = w("div"), i = w("p"), a = k(o), s = V(), h = w("p"), u = k(l), f = V(), c = w("button"), d = k(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4626
4669
  },
4627
4670
  m(H, T) {
4628
- I(H, t, T), I(H, r, T), I(H, n, T), x(n, i), x(i, a), x(n, s), x(n, h), x(h, u), x(n, f), x(n, c), x(c, d), p || (A = [
4671
+ I(H, t, T), I(H, r, T), I(H, n, T), _(n, i), _(i, a), _(n, s), _(n, h), _(h, u), _(n, f), _(n, c), _(c, d), p || (A = [
4629
4672
  Be(
4630
4673
  t,
4631
4674
  "click",
@@ -4650,21 +4693,21 @@ function Uo(e) {
4650
4693
  H[9]("playNowRandomGame") + "") && z(d, m);
4651
4694
  },
4652
4695
  d(H) {
4653
- H && (R(t), R(r), R(n)), p = !1, J(A);
4696
+ H && (O(t), O(r), O(n)), p = !1, J(A);
4654
4697
  }
4655
4698
  };
4656
4699
  }
4657
- function Fo(e) {
4700
+ function Vo(e) {
4658
4701
  let t, r = (
4659
4702
  /*$_*/
4660
4703
  e[9]("playRandomGame") + ""
4661
4704
  ), n;
4662
4705
  return {
4663
4706
  c() {
4664
- t = S("span"), n = k(r), g(t, "class", "RandomButtonText");
4707
+ t = w("span"), n = k(r), g(t, "class", "RandomButtonText");
4665
4708
  },
4666
4709
  m(i, o) {
4667
- I(i, t, o), x(t, n);
4710
+ I(i, t, o), _(t, n);
4668
4711
  },
4669
4712
  p(i, o) {
4670
4713
  o[0] & /*$_*/
@@ -4672,21 +4715,21 @@ function Fo(e) {
4672
4715
  i[9]("playRandomGame") + "") && z(n, r);
4673
4716
  },
4674
4717
  d(i) {
4675
- i && R(t);
4718
+ i && O(t);
4676
4719
  }
4677
4720
  };
4678
4721
  }
4679
- function Do(e) {
4722
+ function Wo(e) {
4680
4723
  let t, r;
4681
4724
  return {
4682
4725
  c() {
4683
- t = S("span"), r = k(
4726
+ t = w("span"), r = k(
4684
4727
  /*buttontext*/
4685
4728
  e[1]
4686
4729
  ), g(t, "class", "RandomButtonText");
4687
4730
  },
4688
4731
  m(n, i) {
4689
- I(n, t, i), x(t, r);
4732
+ I(n, t, i), _(t, r);
4690
4733
  },
4691
4734
  p(n, i) {
4692
4735
  i[0] & /*buttontext*/
@@ -4697,32 +4740,32 @@ function Do(e) {
4697
4740
  );
4698
4741
  },
4699
4742
  d(n) {
4700
- n && R(t);
4743
+ n && O(t);
4701
4744
  }
4702
4745
  };
4703
4746
  }
4704
- function $o(e) {
4747
+ function Xo(e) {
4705
4748
  let t, r, n, i, o, a, s, h, l, u = (
4706
4749
  /*show*/
4707
- e[5] && Wt(e)
4750
+ e[5] && Qt(e)
4708
4751
  );
4709
4752
  function f(d, p) {
4710
4753
  if (
4711
4754
  /*buttontext*/
4712
4755
  d[1]
4713
4756
  )
4714
- return Do;
4757
+ return Wo;
4715
4758
  if (!/*buttontext*/
4716
4759
  d[1])
4717
- return Fo;
4760
+ return Vo;
4718
4761
  }
4719
4762
  let c = f(e), m = c && c(e);
4720
4763
  return {
4721
4764
  c() {
4722
- t = S("div"), u && u.c(), r = V(), n = S("div"), i = S("button"), m && m.c(), o = V(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
4765
+ t = w("div"), u && u.c(), r = V(), n = w("div"), i = w("button"), m && m.c(), o = V(), a = w("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
4723
4766
  },
4724
4767
  m(d, p) {
4725
- I(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
4768
+ I(d, t, p), u && u.m(t, null), _(t, r), _(t, n), _(n, i), m && m.m(i, null), _(i, o), _(i, a), a.innerHTML = /*randombuttonicon*/
4726
4769
  e[0], e[28](t), s = !0, h || (l = Be(
4727
4770
  i,
4728
4771
  "click",
@@ -4733,75 +4776,75 @@ function $o(e) {
4733
4776
  p(d, p) {
4734
4777
  /*show*/
4735
4778
  d[5] ? u ? (u.p(d, p), p[0] & /*show*/
4736
- 32 && fe(u, 1)) : (u = Wt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (dn(), ze(u, 1, 1, () => {
4779
+ 32 && ce(u, 1)) : (u = Qt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (vn(), Qe(u, 1, 1, () => {
4737
4780
  u = null;
4738
- }), pn()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
4781
+ }), _n()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
4739
4782
  1) && (a.innerHTML = /*randombuttonicon*/
4740
4783
  d[0]);
4741
4784
  },
4742
4785
  i(d) {
4743
- s || (fe(u), s = !0);
4786
+ s || (ce(u), s = !0);
4744
4787
  },
4745
4788
  o(d) {
4746
- ze(u), s = !1;
4789
+ Qe(u), s = !1;
4747
4790
  },
4748
4791
  d(d) {
4749
- d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4792
+ d && O(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4750
4793
  }
4751
4794
  };
4752
4795
  }
4753
- function jo(e, t, r) {
4796
+ function zo(e, t, r) {
4754
4797
  let n;
4755
- Yr(e, To, (b) => r(9, n = b));
4756
- let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1, G = !1, be = window.navigator.userAgent, U, Q, ht, ge, ct = null;
4757
- Ro({ withLocale: "en", translations: {} });
4758
- const Rr = () => {
4759
- fetch(c).then((E) => E.json()).then((E) => {
4760
- Object.keys(E).forEach((F) => {
4761
- $t(F, E[F]);
4798
+ rn(e, Oo, (b) => r(9, n = b));
4799
+ let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1, U = !1, be = window.navigator.userAgent, $, Q, pt, ge, bt = null;
4800
+ Mo({ withLocale: "en", translations: {} });
4801
+ const Mr = () => {
4802
+ fetch(c).then((x) => x.json()).then((x) => {
4803
+ Object.keys(x).forEach((F) => {
4804
+ Xt(F, x[F]);
4762
4805
  });
4763
- }).catch((E) => {
4764
- console.log(E);
4806
+ }).catch((x) => {
4807
+ console.log(x);
4765
4808
  });
4766
4809
  };
4767
- Object.keys(jt).forEach((b) => {
4768
- $t(b, jt[b]);
4810
+ Object.keys(zt).forEach((b) => {
4811
+ Xt(b, zt[b]);
4769
4812
  });
4770
- const Or = () => {
4813
+ const Cr = () => {
4771
4814
  let b = new URL(`${a}/v1/casino/games`);
4772
- b.searchParams.append("platform", Ho(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
4773
- H = E.items, H.length ? (r(4, B = Ir(H.slice(0, 19))), r(7, G = !0)) : (r(4, B = []), r(7, G = !1));
4774
- }).catch((E) => {
4775
- console.log(E), r(7, G = !1);
4815
+ b.searchParams.append("platform", Ro(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((x) => x.json()).then((x) => {
4816
+ H = x.items, H.length ? (r(4, B = Gr(H.slice(0, 19))), r(7, U = !0)) : (r(4, B = []), r(7, U = !1));
4817
+ }).catch((x) => {
4818
+ console.log(x), r(7, U = !1);
4776
4819
  });
4777
- }, Ir = (b) => {
4778
- const E = Lr(b);
4779
- return E.concat(E);
4780
- }, Nr = () => ye(this, null, function* () {
4781
- yield cn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), ht = Q.children[ge];
4782
- }), Ce = () => ye(this, null, function* () {
4783
- r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Nr();
4784
- const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (ht.offsetHeight + E) * ge, jr = [
4820
+ }, Gr = (b) => {
4821
+ const x = $r(b);
4822
+ return x.concat(x);
4823
+ }, Ur = () => ye(this, null, function* () {
4824
+ yield bn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), pt = Q.children[ge];
4825
+ }), Ue = () => ye(this, null, function* () {
4826
+ r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Ur();
4827
+ const b = window.getComputedStyle(Q).getPropertyValue("gap"), x = parseInt(b, 10) || 0, ue = (pt.offsetHeight + x) * ge, zr = [
4785
4828
  { transform: "translateX(0px)" },
4786
4829
  { filter: "blur(5px)" },
4787
4830
  {
4788
- transform: `translateY(-${le}px)`
4831
+ transform: `translateY(-${ue}px)`
4789
4832
  }
4790
- ], kr = {
4833
+ ], Jr = {
4791
4834
  duration: 2e3,
4792
4835
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4793
4836
  fill: "forwards"
4794
4837
  };
4795
- ct = Q.animate(jr, kr), ct.onfinish = () => {
4838
+ bt = Q.animate(zr, Jr), bt.onfinish = () => {
4796
4839
  r(6, M = !0);
4797
4840
  };
4798
- }), Lr = (b) => {
4799
- const E = structuredClone(b);
4800
- let F = E.length, le;
4841
+ }), $r = (b) => {
4842
+ const x = structuredClone(b);
4843
+ let F = x.length, ue;
4801
4844
  for (; F != 0; )
4802
- le = Math.floor(Math.random() * F), F--, [E[F], E[le]] = [E[le], E[F]];
4803
- return E;
4804
- }, ft = () => {
4845
+ ue = Math.floor(Math.random() * F), F--, [x[F], x[ue]] = [x[ue], x[F]];
4846
+ return x;
4847
+ }, gt = () => {
4805
4848
  window.postMessage(
4806
4849
  {
4807
4850
  type: h,
@@ -4812,48 +4855,48 @@ function jo(e, t, r) {
4812
4855
  context: "RandomGameWidget",
4813
4856
  gameId: `${T.gId || T.id}`
4814
4857
  });
4815
- }, Mr = () => {
4858
+ }, Fr = () => {
4816
4859
  r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: L }, window.location.href);
4817
- }, Cr = () => {
4818
- Oo(l);
4860
+ }, Dr = () => {
4861
+ Co(l);
4819
4862
  };
4820
- hn(() => () => {
4863
+ pn(() => () => {
4821
4864
  });
4822
- function Gr(b) {
4865
+ function jr(b) {
4823
4866
  Ae[b ? "unshift" : "push"](() => {
4824
4867
  Q = b, r(8, Q);
4825
4868
  });
4826
4869
  }
4827
- const Ur = () => Ce(), Fr = () => ft(), Dr = () => Ce();
4828
- function $r(b) {
4870
+ const kr = () => Ue(), Vr = () => gt(), Wr = () => Ue();
4871
+ function Xr(b) {
4829
4872
  Ae[b ? "unshift" : "push"](() => {
4830
- U = b, r(2, U);
4873
+ $ = b, r(2, $);
4831
4874
  });
4832
4875
  }
4833
4876
  return e.$$set = (b) => {
4834
4877
  "endpoint" in b && r(13, a = b.endpoint), "datasource" in b && r(14, s = b.datasource), "gameevent" in b && r(15, h = b.gameevent), "lang" in b && r(16, l = b.lang), "randombuttonicon" in b && r(0, u = b.randombuttonicon), "buttontext" in b && r(1, f = b.buttontext), "translationurl" in b && r(17, c = b.translationurl), "clientstyling" in b && r(18, m = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "filteredrandomgamecategories" in b && r(20, p = b.filteredrandomgamecategories), "mbsource" in b && r(21, A = b.mbsource), "$$scope" in b && r(22, o = b.$$scope);
4835
4878
  }, e.$$.update = () => {
4836
4879
  e.$$.dirty[0] & /*lang*/
4837
- 65536 && l && Cr(), e.$$.dirty[0] & /*translationurl*/
4838
- 131072 && c && Rr(), e.$$.dirty[0] & /*endpoint, datasource*/
4839
- 24576 && a && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4840
- 262148 && m && U && Bo(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4841
- 524292 && d && U && Ao(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4842
- 2097156 && U && Po(U, `${A}.Style`);
4880
+ 65536 && l && Dr(), e.$$.dirty[0] & /*translationurl*/
4881
+ 131072 && c && Mr(), e.$$.dirty[0] & /*endpoint, datasource*/
4882
+ 24576 && a && s && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4883
+ 262148 && m && $ && Io($, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4884
+ 524292 && d && $ && No($, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4885
+ 2097156 && $ && Lo($, `${A}.Style`);
4843
4886
  }, [
4844
4887
  u,
4845
4888
  f,
4846
- U,
4889
+ $,
4847
4890
  T,
4848
4891
  B,
4849
4892
  L,
4850
4893
  M,
4851
- G,
4894
+ U,
4852
4895
  Q,
4853
4896
  n,
4854
- Ce,
4855
- ft,
4856
- Mr,
4897
+ Ue,
4898
+ gt,
4899
+ Fr,
4857
4900
  a,
4858
4901
  s,
4859
4902
  h,
@@ -4865,21 +4908,21 @@ function jo(e, t, r) {
4865
4908
  A,
4866
4909
  o,
4867
4910
  i,
4868
- Gr,
4869
- Ur,
4870
- Fr,
4871
- Dr,
4872
- $r
4911
+ jr,
4912
+ kr,
4913
+ Vr,
4914
+ Wr,
4915
+ Xr
4873
4916
  ];
4874
4917
  }
4875
- class ko extends xn {
4918
+ class Jo extends Hn {
4876
4919
  constructor(t) {
4877
- super(), vn(
4920
+ super(), Sn(
4878
4921
  this,
4879
4922
  t,
4880
- jo,
4881
- $o,
4882
- Jt,
4923
+ zo,
4924
+ Xo,
4925
+ Kt,
4883
4926
  {
4884
4927
  endpoint: 13,
4885
4928
  datasource: 14,
@@ -4893,7 +4936,7 @@ class ko extends xn {
4893
4936
  filteredrandomgamecategories: 20,
4894
4937
  mbsource: 21
4895
4938
  },
4896
- Io,
4939
+ Go,
4897
4940
  [-1, -1]
4898
4941
  );
4899
4942
  }
@@ -4901,70 +4944,70 @@ class ko extends xn {
4901
4944
  return this.$$.ctx[13];
4902
4945
  }
4903
4946
  set endpoint(t) {
4904
- this.$$set({ endpoint: t }), O();
4947
+ this.$$set({ endpoint: t }), R();
4905
4948
  }
4906
4949
  get datasource() {
4907
4950
  return this.$$.ctx[14];
4908
4951
  }
4909
4952
  set datasource(t) {
4910
- this.$$set({ datasource: t }), O();
4953
+ this.$$set({ datasource: t }), R();
4911
4954
  }
4912
4955
  get gameevent() {
4913
4956
  return this.$$.ctx[15];
4914
4957
  }
4915
4958
  set gameevent(t) {
4916
- this.$$set({ gameevent: t }), O();
4959
+ this.$$set({ gameevent: t }), R();
4917
4960
  }
4918
4961
  get lang() {
4919
4962
  return this.$$.ctx[16];
4920
4963
  }
4921
4964
  set lang(t) {
4922
- this.$$set({ lang: t }), O();
4965
+ this.$$set({ lang: t }), R();
4923
4966
  }
4924
4967
  get randombuttonicon() {
4925
4968
  return this.$$.ctx[0];
4926
4969
  }
4927
4970
  set randombuttonicon(t) {
4928
- this.$$set({ randombuttonicon: t }), O();
4971
+ this.$$set({ randombuttonicon: t }), R();
4929
4972
  }
4930
4973
  get buttontext() {
4931
4974
  return this.$$.ctx[1];
4932
4975
  }
4933
4976
  set buttontext(t) {
4934
- this.$$set({ buttontext: t }), O();
4977
+ this.$$set({ buttontext: t }), R();
4935
4978
  }
4936
4979
  get translationurl() {
4937
4980
  return this.$$.ctx[17];
4938
4981
  }
4939
4982
  set translationurl(t) {
4940
- this.$$set({ translationurl: t }), O();
4983
+ this.$$set({ translationurl: t }), R();
4941
4984
  }
4942
4985
  get clientstyling() {
4943
4986
  return this.$$.ctx[18];
4944
4987
  }
4945
4988
  set clientstyling(t) {
4946
- this.$$set({ clientstyling: t }), O();
4989
+ this.$$set({ clientstyling: t }), R();
4947
4990
  }
4948
4991
  get clientstylingurl() {
4949
4992
  return this.$$.ctx[19];
4950
4993
  }
4951
4994
  set clientstylingurl(t) {
4952
- this.$$set({ clientstylingurl: t }), O();
4995
+ this.$$set({ clientstylingurl: t }), R();
4953
4996
  }
4954
4997
  get filteredrandomgamecategories() {
4955
4998
  return this.$$.ctx[20];
4956
4999
  }
4957
5000
  set filteredrandomgamecategories(t) {
4958
- this.$$set({ filteredrandomgamecategories: t }), O();
5001
+ this.$$set({ filteredrandomgamecategories: t }), R();
4959
5002
  }
4960
5003
  get mbsource() {
4961
5004
  return this.$$.ctx[21];
4962
5005
  }
4963
5006
  set mbsource(t) {
4964
- this.$$set({ mbsource: t }), O();
5007
+ this.$$set({ mbsource: t }), R();
4965
5008
  }
4966
5009
  }
4967
- _n(ko, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
5010
+ Tn(Jo, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4968
5011
  export {
4969
- ko as default
5012
+ Jo as default
4970
5013
  };