@everymatrix/casino-random-game 1.86.2 → 1.86.4

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