@everymatrix/casino-random-game 1.62.0 → 1.62.2

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,4 +1,3 @@
1
- import "../stencil/ui-image-BQa5UbqU.js";
2
1
  function C() {
3
2
  }
4
3
  function kr(e, t) {
@@ -9,29 +8,29 @@ function kr(e, t) {
9
8
  e
10
9
  );
11
10
  }
12
- function Wt(e) {
11
+ function Xt(e) {
13
12
  return e();
14
13
  }
15
- function dt() {
14
+ function pt() {
16
15
  return /* @__PURE__ */ Object.create(null);
17
16
  }
18
- function J(e) {
19
- e.forEach(Wt);
17
+ function z(e) {
18
+ e.forEach(Xt);
20
19
  }
21
- function at(e) {
20
+ function lt(e) {
22
21
  return typeof e == "function";
23
22
  }
24
- function Xt(e, t) {
23
+ function zt(e, t) {
25
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
25
  }
27
- let ye;
28
- function pt(e, t) {
29
- return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
26
+ let ge;
27
+ function bt(e, t) {
28
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
30
29
  }
31
30
  function Vr(e) {
32
31
  return Object.keys(e).length === 0;
33
32
  }
34
- function zt(e, ...t) {
33
+ function Jt(e, ...t) {
35
34
  if (e == null) {
36
35
  for (const n of t)
37
36
  n(void 0);
@@ -41,15 +40,15 @@ function zt(e, ...t) {
41
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
41
  }
43
42
  function Wr(e, t, r) {
44
- e.$$.on_destroy.push(zt(t, r));
43
+ e.$$.on_destroy.push(Jt(t, r));
45
44
  }
46
45
  function Xr(e, t, r, n) {
47
46
  if (e) {
48
- const i = Jt(e, t, r, n);
47
+ const i = Zt(e, t, r, n);
49
48
  return e[0](i);
50
49
  }
51
50
  }
52
- function Jt(e, t, r, n) {
51
+ function Zt(e, t, r, n) {
53
52
  return e[1] && n ? kr(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
53
  }
55
54
  function zr(e, t, r, n) {
@@ -69,7 +68,7 @@ function zr(e, t, r, n) {
69
68
  }
70
69
  function Jr(e, t, r, n, i, o) {
71
70
  if (i) {
72
- const a = Jt(t, r, n, o);
71
+ const a = Zt(t, r, n, o);
73
72
  e.p(a, i);
74
73
  }
75
74
  }
@@ -82,13 +81,13 @@ function Zr(e) {
82
81
  }
83
82
  return -1;
84
83
  }
85
- function x(e, t) {
84
+ function _(e, t) {
86
85
  e.appendChild(t);
87
86
  }
88
87
  function Qr(e, t, r) {
89
88
  const n = Yr(e);
90
89
  if (!n.getElementById(t)) {
91
- const i = S("style");
90
+ const i = w("style");
92
91
  i.id = t, i.textContent = r, qr(n, i);
93
92
  }
94
93
  }
@@ -103,26 +102,26 @@ function Yr(e) {
103
102
  ) : e.ownerDocument;
104
103
  }
105
104
  function qr(e, t) {
106
- return x(
105
+ return _(
107
106
  /** @type {Document} */
108
107
  e.head || e,
109
108
  t
110
109
  ), t.sheet;
111
110
  }
112
- function O(e, t, r) {
111
+ function I(e, t, r) {
113
112
  e.insertBefore(t, r || null);
114
113
  }
115
- function R(e) {
114
+ function O(e) {
116
115
  e.parentNode && e.parentNode.removeChild(e);
117
116
  }
118
117
  function Kr(e, t) {
119
118
  for (let r = 0; r < e.length; r += 1)
120
119
  e[r] && e[r].d(t);
121
120
  }
122
- function S(e) {
121
+ function w(e) {
123
122
  return document.createElement(e);
124
123
  }
125
- function bt(e) {
124
+ function gt(e) {
126
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
127
126
  }
128
127
  function j(e) {
@@ -131,20 +130,16 @@ function j(e) {
131
130
  function k() {
132
131
  return j(" ");
133
132
  }
134
- function He(e, t, r, n) {
133
+ function Te(e, t, r, n) {
135
134
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
136
135
  }
137
- function _(e, t, r) {
136
+ function g(e, t, r) {
138
137
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
139
138
  }
140
- function W(e, t, r) {
141
- const n = t.toLowerCase();
142
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
143
- }
144
139
  function en(e) {
145
140
  return Array.from(e.childNodes);
146
141
  }
147
- function z(e, t) {
142
+ function X(e, t) {
148
143
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
149
144
  t);
150
145
  }
@@ -157,115 +152,115 @@ function tn(e) {
157
152
  }
158
153
  ), t;
159
154
  }
160
- let me;
161
- function ce(e) {
162
- me = e;
155
+ let ce;
156
+ function le(e) {
157
+ ce = e;
163
158
  }
164
159
  function rn() {
165
- if (!me)
160
+ if (!ce)
166
161
  throw new Error("Function called outside component initialization");
167
- return me;
162
+ return ce;
168
163
  }
169
164
  function nn(e) {
170
165
  rn().$$.on_mount.push(e);
171
166
  }
172
- const K = [], Be = [];
173
- let ee = [];
174
- const gt = [], Zt = /* @__PURE__ */ Promise.resolve();
175
- let Ve = !1;
176
- function Qt() {
177
- Ve || (Ve = !0, Zt.then(I));
167
+ const q = [], He = [];
168
+ let K = [];
169
+ const yt = [], Qt = /* @__PURE__ */ Promise.resolve();
170
+ let We = !1;
171
+ function Yt() {
172
+ We || (We = !0, Qt.then(R));
178
173
  }
179
174
  function on() {
180
- return Qt(), Zt;
175
+ return Yt(), Qt;
181
176
  }
182
- function We(e) {
183
- ee.push(e);
177
+ function Xe(e) {
178
+ K.push(e);
184
179
  }
185
- const Ne = /* @__PURE__ */ new Set();
186
- let Y = 0;
187
- function I() {
188
- if (Y !== 0)
180
+ const Ge = /* @__PURE__ */ new Set();
181
+ let Q = 0;
182
+ function R() {
183
+ if (Q !== 0)
189
184
  return;
190
- const e = me;
185
+ const e = ce;
191
186
  do {
192
187
  try {
193
- for (; Y < K.length; ) {
194
- const t = K[Y];
195
- Y++, ce(t), an(t.$$);
188
+ for (; Q < q.length; ) {
189
+ const t = q[Q];
190
+ Q++, le(t), an(t.$$);
196
191
  }
197
192
  } catch (t) {
198
- throw K.length = 0, Y = 0, t;
193
+ throw q.length = 0, Q = 0, t;
199
194
  }
200
- for (ce(null), K.length = 0, Y = 0; Be.length; )
201
- Be.pop()();
202
- for (let t = 0; t < ee.length; t += 1) {
203
- const r = ee[t];
204
- Ne.has(r) || (Ne.add(r), r());
195
+ for (le(null), q.length = 0, Q = 0; He.length; )
196
+ He.pop()();
197
+ for (let t = 0; t < K.length; t += 1) {
198
+ const r = K[t];
199
+ Ge.has(r) || (Ge.add(r), r());
205
200
  }
206
- ee.length = 0;
207
- } while (K.length);
208
- for (; gt.length; )
209
- gt.pop()();
210
- Ve = !1, Ne.clear(), ce(e);
201
+ K.length = 0;
202
+ } while (q.length);
203
+ for (; yt.length; )
204
+ yt.pop()();
205
+ We = !1, Ge.clear(), le(e);
211
206
  }
212
207
  function an(e) {
213
208
  if (e.fragment !== null) {
214
- e.update(), J(e.before_update);
209
+ e.update(), z(e.before_update);
215
210
  const t = e.dirty;
216
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
211
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
217
212
  }
218
213
  }
219
214
  function sn(e) {
220
215
  const t = [], r = [];
221
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
216
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
222
217
  }
223
- const xe = /* @__PURE__ */ new Set();
224
- let X;
218
+ const _e = /* @__PURE__ */ new Set();
219
+ let W;
225
220
  function un() {
226
- X = {
221
+ W = {
227
222
  r: 0,
228
223
  c: [],
229
- p: X
224
+ p: W
230
225
  // parent group
231
226
  };
232
227
  }
233
228
  function ln() {
234
- X.r || J(X.c), X = X.p;
229
+ W.r || z(W.c), W = W.p;
235
230
  }
236
- function fe(e, t) {
237
- e && e.i && (xe.delete(e), e.i(t));
231
+ function he(e, t) {
232
+ e && e.i && (_e.delete(e), e.i(t));
238
233
  }
239
- function Xe(e, t, r, n) {
234
+ function ze(e, t, r, n) {
240
235
  if (e && e.o) {
241
- if (xe.has(e))
236
+ if (_e.has(e))
242
237
  return;
243
- xe.add(e), X.c.push(() => {
244
- xe.delete(e), n && (r && e.d(1), n());
238
+ _e.add(e), W.c.push(() => {
239
+ _e.delete(e), n && (r && e.d(1), n());
245
240
  }), e.o(t);
246
241
  } else
247
242
  n && n();
248
243
  }
249
- function yt(e) {
244
+ function vt(e) {
250
245
  return e?.length !== void 0 ? e : Array.from(e);
251
246
  }
252
247
  function hn(e, t, r) {
253
248
  const { fragment: n, after_update: i } = e.$$;
254
- n && n.m(t, r), We(() => {
255
- const o = e.$$.on_mount.map(Wt).filter(at);
256
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
257
- }), i.forEach(We);
249
+ n && n.m(t, r), Xe(() => {
250
+ const o = e.$$.on_mount.map(Xt).filter(lt);
251
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
252
+ }), i.forEach(Xe);
258
253
  }
259
254
  function cn(e, t) {
260
255
  const r = e.$$;
261
- r.fragment !== null && (sn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
+ r.fragment !== null && (sn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
262
257
  }
263
258
  function fn(e, t) {
264
- e.$$.dirty[0] === -1 && (K.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
259
+ e.$$.dirty[0] === -1 && (q.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
265
260
  }
266
261
  function mn(e, t, r, n, i, o, a = null, s = [-1]) {
267
- const h = me;
268
- ce(e);
262
+ const h = ce;
263
+ le(e);
269
264
  const l = e.$$ = {
270
265
  fragment: null,
271
266
  ctx: [],
@@ -273,7 +268,7 @@ function mn(e, t, r, n, i, o, a = null, s = [-1]) {
273
268
  props: o,
274
269
  update: C,
275
270
  not_equal: i,
276
- bound: dt(),
271
+ bound: pt(),
277
272
  // lifecycle
278
273
  on_mount: [],
279
274
  on_destroy: [],
@@ -282,7 +277,7 @@ function mn(e, t, r, n, i, o, a = null, s = [-1]) {
282
277
  after_update: [],
283
278
  context: new Map(t.context || (h ? h.$$.context : [])),
284
279
  // everything else
285
- callbacks: dt(),
280
+ callbacks: pt(),
286
281
  dirty: s,
287
282
  skip_bound: !1,
288
283
  root: t.target || h.$$.root
@@ -292,18 +287,18 @@ function mn(e, t, r, n, i, o, a = null, s = [-1]) {
292
287
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
293
288
  const d = m.length ? m[0] : c;
294
289
  return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && fn(e, f)), c;
295
- }) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
290
+ }) : [], l.update(), u = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
296
291
  if (t.hydrate) {
297
292
  const f = en(t.target);
298
- l.fragment && l.fragment.l(f), f.forEach(R);
293
+ l.fragment && l.fragment.l(f), f.forEach(O);
299
294
  } else
300
295
  l.fragment && l.fragment.c();
301
- t.intro && fe(e.$$.fragment), hn(e, t.target, t.anchor), I();
296
+ t.intro && he(e.$$.fragment), hn(e, t.target, t.anchor), R();
302
297
  }
303
- ce(h);
298
+ le(h);
304
299
  }
305
- let Yt;
306
- typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
300
+ let qt;
301
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
307
302
  /** The Svelte component constructor */
308
303
  $$ctor;
309
304
  /** Slots */
@@ -345,17 +340,17 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
345
340
  let o;
346
341
  return {
347
342
  c: function() {
348
- o = S("slot"), i !== "default" && _(o, "name", i);
343
+ o = w("slot"), i !== "default" && g(o, "name", i);
349
344
  },
350
345
  /**
351
346
  * @param {HTMLElement} target
352
347
  * @param {HTMLElement} [anchor]
353
348
  */
354
349
  m: function(h, l) {
355
- O(h, o, l);
350
+ I(h, o, l);
356
351
  },
357
352
  d: function(h) {
358
- h && R(o);
353
+ h && O(o);
359
354
  }
360
355
  };
361
356
  };
@@ -367,7 +362,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
367
362
  i in r && (t[i] = [e(i)]);
368
363
  for (const i of this.attributes) {
369
364
  const o = this.$$g_p(i.name);
370
- o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
365
+ o in this.$$d || (this.$$d[o] = xe(o, i.value, this.$$p_d, "toProp"));
371
366
  }
372
367
  for (const i in this.$$p_d)
373
368
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -385,7 +380,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
385
380
  this.$$r = !0;
386
381
  for (const i in this.$$p_d)
387
382
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
388
- const o = Ee(
383
+ const o = xe(
389
384
  i,
390
385
  this.$$d[i],
391
386
  this.$$p_d,
@@ -407,7 +402,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
407
402
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
408
403
  // and setting attributes through setAttribute etc, this is helpful
409
404
  attributeChangedCallback(e, t, r) {
410
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
405
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
411
406
  }
412
407
  disconnectedCallback() {
413
408
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -420,7 +415,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
420
415
  ) || e;
421
416
  }
422
417
  });
423
- function Ee(e, t, r, n) {
418
+ function xe(e, t, r, n) {
424
419
  const i = r[e]?.type;
425
420
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
426
421
  return t;
@@ -450,7 +445,7 @@ function Ee(e, t, r, n) {
450
445
  }
451
446
  }
452
447
  function dn(e, t, r, n, i, o) {
453
- let a = class extends Yt {
448
+ let a = class extends qt {
454
449
  constructor() {
455
450
  super(e, r, i), this.$$p_d = t;
456
451
  }
@@ -466,7 +461,7 @@ function dn(e, t, r, n, i, o) {
466
461
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
467
462
  },
468
463
  set(h) {
469
- h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
464
+ h = xe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
470
465
  }
471
466
  });
472
467
  }), n.forEach((s) => {
@@ -506,7 +501,7 @@ class pn {
506
501
  * @returns {() => void}
507
502
  */
508
503
  $on(t, r) {
509
- if (!at(r))
504
+ if (!lt(r))
510
505
  return C;
511
506
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
512
507
  return n.push(r), () => {
@@ -538,43 +533,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
538
533
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
539
534
  PERFORMANCE OF THIS SOFTWARE.
540
535
  ***************************************************************************** */
541
- var ze = function(e, t) {
542
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
536
+ var Je = function(e, t) {
537
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
543
538
  r.__proto__ = n;
544
539
  } || function(r, n) {
545
540
  for (var i in n)
546
541
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
547
- }, ze(e, t);
542
+ }, Je(e, t);
548
543
  };
549
- function F(e, t) {
544
+ function de(e, t) {
550
545
  if (typeof t != "function" && t !== null)
551
546
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
552
- ze(e, t);
547
+ Je(e, t);
553
548
  function r() {
554
549
  this.constructor = e;
555
550
  }
556
551
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
557
552
  }
558
- var v = function() {
559
- return v = Object.assign || function(t) {
560
- for (var r, n = 1, i = arguments.length; n < i; n++) {
561
- r = arguments[n];
562
- for (var o in r)
563
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
564
- }
565
- return t;
566
- }, v.apply(this, arguments);
567
- };
568
- function gn(e, t) {
569
- var r = {};
570
- for (var n in e)
571
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
572
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
573
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
574
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
575
- return r;
576
- }
577
- function Je(e) {
553
+ function Ze(e) {
578
554
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
579
555
  if (r)
580
556
  return r.call(e);
@@ -586,7 +562,7 @@ function Je(e) {
586
562
  };
587
563
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
588
564
  }
589
- function Ze(e, t) {
565
+ function Qe(e, t) {
590
566
  var r = typeof Symbol == "function" && e[Symbol.iterator];
591
567
  if (!r)
592
568
  return e;
@@ -606,8 +582,8 @@ function Ze(e, t) {
606
582
  }
607
583
  return o;
608
584
  }
609
- function te(e, t, r) {
610
- if (r || arguments.length === 2)
585
+ function Ye(e, t, r) {
586
+ if (arguments.length === 2)
611
587
  for (var n = 0, i = t.length, o; n < i; n++)
612
588
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
613
589
  return e.concat(o || t);
@@ -615,13 +591,13 @@ function te(e, t, r) {
615
591
  function D(e) {
616
592
  return typeof e == "function";
617
593
  }
618
- function qt(e) {
594
+ function Kt(e) {
619
595
  var t = function(n) {
620
596
  Error.call(n), n.stack = new Error().stack;
621
597
  }, r = e(t);
622
598
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
623
599
  }
624
- var Ge = qt(function(e) {
600
+ var Ue = Kt(function(e) {
625
601
  return function(r) {
626
602
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
627
603
  ` + r.map(function(n, i) {
@@ -630,13 +606,13 @@ var Ge = qt(function(e) {
630
606
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
631
607
  };
632
608
  });
633
- function Qe(e, t) {
609
+ function qe(e, t) {
634
610
  if (e) {
635
611
  var r = e.indexOf(t);
636
612
  0 <= r && e.splice(r, 1);
637
613
  }
638
614
  }
639
- var Re = function() {
615
+ var Oe = function() {
640
616
  function e(t) {
641
617
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
642
618
  }
@@ -648,7 +624,7 @@ var Re = function() {
648
624
  if (a)
649
625
  if (this._parentage = null, Array.isArray(a))
650
626
  try {
651
- for (var s = Je(a), h = s.next(); !h.done; h = s.next()) {
627
+ for (var s = Ze(a), h = s.next(); !h.done; h = s.next()) {
652
628
  var l = h.value;
653
629
  l.remove(this);
654
630
  }
@@ -669,18 +645,18 @@ var Re = function() {
669
645
  try {
670
646
  u();
671
647
  } catch (p) {
672
- o = p instanceof Ge ? p.errors : [p];
648
+ o = p instanceof Ue ? p.errors : [p];
673
649
  }
674
650
  var f = this._finalizers;
675
651
  if (f) {
676
652
  this._finalizers = null;
677
653
  try {
678
- for (var c = Je(f), m = c.next(); !m.done; m = c.next()) {
654
+ for (var c = Ze(f), m = c.next(); !m.done; m = c.next()) {
679
655
  var d = m.value;
680
656
  try {
681
- vt(d);
657
+ _t(d);
682
658
  } catch (p) {
683
- o = o ?? [], p instanceof Ge ? o = te(te([], Ze(o)), Ze(p.errors)) : o.push(p);
659
+ o = o ?? [], p instanceof Ue ? o = Ye(Ye([], Qe(o)), Qe(p.errors)) : o.push(p);
684
660
  }
685
661
  }
686
662
  } catch (p) {
@@ -695,13 +671,13 @@ var Re = function() {
695
671
  }
696
672
  }
697
673
  if (o)
698
- throw new Ge(o);
674
+ throw new Ue(o);
699
675
  }
700
676
  }, e.prototype.add = function(t) {
701
677
  var r;
702
678
  if (t && t !== this)
703
679
  if (this.closed)
704
- vt(t);
680
+ _t(t);
705
681
  else {
706
682
  if (t instanceof e) {
707
683
  if (t.closed || t._hasParent(this))
@@ -718,32 +694,28 @@ var Re = function() {
718
694
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
719
695
  }, e.prototype._removeParent = function(t) {
720
696
  var r = this._parentage;
721
- r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
697
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
722
698
  }, e.prototype.remove = function(t) {
723
699
  var r = this._finalizers;
724
- r && Qe(r, t), t instanceof e && t._removeParent(this);
700
+ r && qe(r, t), t instanceof e && t._removeParent(this);
725
701
  }, e.EMPTY = function() {
726
702
  var t = new e();
727
703
  return t.closed = !0, t;
728
704
  }(), e;
729
- }(), Kt = Re.EMPTY;
730
- function er(e) {
731
- return e instanceof Re || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
705
+ }(), er = Oe.EMPTY;
706
+ function tr(e) {
707
+ return e instanceof Oe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
732
708
  }
733
- function vt(e) {
709
+ function _t(e) {
734
710
  D(e) ? e() : e.unsubscribe();
735
711
  }
736
- var tr = {
737
- onUnhandledError: null,
738
- onStoppedNotification: null,
739
- Promise: void 0,
740
- useDeprecatedSynchronousErrorHandling: !1,
741
- useDeprecatedNextContext: !1
712
+ var gn = {
713
+ Promise: void 0
742
714
  }, yn = {
743
715
  setTimeout: function(e, t) {
744
716
  for (var r = [], n = 2; n < arguments.length; n++)
745
717
  r[n - 2] = arguments[n];
746
- return setTimeout.apply(void 0, te([e, t], Ze(r)));
718
+ return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
747
719
  },
748
720
  clearTimeout: function(e) {
749
721
  return clearTimeout(e);
@@ -755,19 +727,19 @@ function vn(e) {
755
727
  throw e;
756
728
  });
757
729
  }
758
- function _t() {
730
+ function xt() {
759
731
  }
760
- function we(e) {
732
+ function Ee(e) {
761
733
  e();
762
734
  }
763
735
  var rr = function(e) {
764
- F(t, e);
736
+ de(t, e);
765
737
  function t(r) {
766
738
  var n = e.call(this) || this;
767
- return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = wn, n;
739
+ return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = En, n;
768
740
  }
769
741
  return t.create = function(r, n, i) {
770
- return new Ye(r, n, i);
742
+ return new Ke(r, n, i);
771
743
  }, t.prototype.next = function(r) {
772
744
  this.isStopped || this._next(r);
773
745
  }, t.prototype.error = function(r) {
@@ -791,11 +763,7 @@ var rr = function(e) {
791
763
  this.unsubscribe();
792
764
  }
793
765
  }, t;
794
- }(Re), _n = Function.prototype.bind;
795
- function Ue(e, t) {
796
- return _n.call(e, t);
797
- }
798
- var xn = function() {
766
+ }(Oe), _n = function() {
799
767
  function e(t) {
800
768
  this.partialObserver = t;
801
769
  }
@@ -805,7 +773,7 @@ var xn = function() {
805
773
  try {
806
774
  r.next(t);
807
775
  } catch (n) {
808
- ve(n);
776
+ ye(n);
809
777
  }
810
778
  }, e.prototype.error = function(t) {
811
779
  var r = this.partialObserver;
@@ -813,68 +781,56 @@ var xn = function() {
813
781
  try {
814
782
  r.error(t);
815
783
  } catch (n) {
816
- ve(n);
784
+ ye(n);
817
785
  }
818
786
  else
819
- ve(t);
787
+ ye(t);
820
788
  }, e.prototype.complete = function() {
821
789
  var t = this.partialObserver;
822
790
  if (t.complete)
823
791
  try {
824
792
  t.complete();
825
793
  } catch (r) {
826
- ve(r);
794
+ ye(r);
827
795
  }
828
796
  }, e;
829
- }(), Ye = function(e) {
830
- F(t, e);
797
+ }(), Ke = function(e) {
798
+ de(t, e);
831
799
  function t(r, n, i) {
832
800
  var o = e.call(this) || this, a;
833
- if (D(r) || !r)
834
- a = {
835
- next: r ?? void 0,
836
- error: n ?? void 0,
837
- complete: i ?? void 0
838
- };
839
- else {
840
- var s;
841
- o && tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
842
- return o.unsubscribe();
843
- }, a = {
844
- next: r.next && Ue(r.next, s),
845
- error: r.error && Ue(r.error, s),
846
- complete: r.complete && Ue(r.complete, s)
847
- }) : a = r;
848
- }
849
- return o.destination = new xn(a), o;
801
+ return D(r) || !r ? a = {
802
+ next: r ?? void 0,
803
+ error: n ?? void 0,
804
+ complete: i ?? void 0
805
+ } : a = r, o.destination = new _n(a), o;
850
806
  }
851
807
  return t;
852
808
  }(rr);
853
- function ve(e) {
809
+ function ye(e) {
854
810
  vn(e);
855
811
  }
856
- function En(e) {
812
+ function xn(e) {
857
813
  throw e;
858
814
  }
859
- var wn = {
815
+ var En = {
860
816
  closed: !0,
861
- next: _t,
862
- error: En,
863
- complete: _t
864
- }, Sn = function() {
817
+ next: xt,
818
+ error: xn,
819
+ complete: xt
820
+ }, wn = function() {
865
821
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
866
822
  }();
867
- function Tn(e) {
823
+ function Sn(e) {
868
824
  return e;
869
825
  }
870
- function Hn(e) {
871
- return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
826
+ function Tn(e) {
827
+ return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
872
828
  return e.reduce(function(n, i) {
873
829
  return i(n);
874
830
  }, r);
875
831
  };
876
832
  }
877
- var xt = function() {
833
+ var Et = function() {
878
834
  function e(t) {
879
835
  t && (this._subscribe = t);
880
836
  }
@@ -882,8 +838,8 @@ var xt = function() {
882
838
  var r = new e();
883
839
  return r.source = this, r.operator = t, r;
884
840
  }, e.prototype.subscribe = function(t, r, n) {
885
- var i = this, o = An(t) ? t : new Ye(t, r, n);
886
- return we(function() {
841
+ var i = this, o = Bn(t) ? t : new Ke(t, r, n);
842
+ return Ee(function() {
887
843
  var a = i, s = a.operator, h = a.source;
888
844
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
889
845
  }), o;
@@ -895,8 +851,8 @@ var xt = function() {
895
851
  }
896
852
  }, e.prototype.forEach = function(t, r) {
897
853
  var n = this;
898
- return r = Et(r), new r(function(i, o) {
899
- var a = new Ye({
854
+ return r = wt(r), new r(function(i, o) {
855
+ var a = new Ke({
900
856
  next: function(s) {
901
857
  try {
902
858
  t(s);
@@ -912,15 +868,15 @@ var xt = function() {
912
868
  }, e.prototype._subscribe = function(t) {
913
869
  var r;
914
870
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
915
- }, e.prototype[Sn] = function() {
871
+ }, e.prototype[wn] = function() {
916
872
  return this;
917
873
  }, e.prototype.pipe = function() {
918
874
  for (var t = [], r = 0; r < arguments.length; r++)
919
875
  t[r] = arguments[r];
920
- return Hn(t)(this);
876
+ return Tn(t)(this);
921
877
  }, e.prototype.toPromise = function(t) {
922
878
  var r = this;
923
- return t = Et(t), new t(function(n, i) {
879
+ return t = wt(t), new t(function(n, i) {
924
880
  var o;
925
881
  r.subscribe(function(a) {
926
882
  return o = a;
@@ -934,40 +890,40 @@ var xt = function() {
934
890
  return new e(t);
935
891
  }, e;
936
892
  }();
937
- function Et(e) {
893
+ function wt(e) {
938
894
  var t;
939
- return (t = e ?? tr.Promise) !== null && t !== void 0 ? t : Promise;
895
+ return (t = e ?? gn.Promise) !== null && t !== void 0 ? t : Promise;
940
896
  }
941
- function Bn(e) {
897
+ function Hn(e) {
942
898
  return e && D(e.next) && D(e.error) && D(e.complete);
943
899
  }
944
- function An(e) {
945
- return e && e instanceof rr || Bn(e) && er(e);
900
+ function Bn(e) {
901
+ return e && e instanceof rr || Hn(e) && tr(e);
946
902
  }
947
- var Pn = qt(function(e) {
903
+ var An = Kt(function(e) {
948
904
  return function() {
949
905
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
950
906
  };
951
907
  }), nr = function(e) {
952
- F(t, e);
908
+ de(t, e);
953
909
  function t() {
954
910
  var r = e.call(this) || this;
955
911
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
956
912
  }
957
913
  return t.prototype.lift = function(r) {
958
- var n = new wt(this, this);
914
+ var n = new St(this, this);
959
915
  return n.operator = r, n;
960
916
  }, t.prototype._throwIfClosed = function() {
961
917
  if (this.closed)
962
- throw new Pn();
918
+ throw new An();
963
919
  }, t.prototype.next = function(r) {
964
920
  var n = this;
965
- we(function() {
921
+ Ee(function() {
966
922
  var i, o;
967
923
  if (n._throwIfClosed(), !n.isStopped) {
968
924
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
969
925
  try {
970
- for (var a = Je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
926
+ for (var a = Ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
971
927
  var h = s.value;
972
928
  h.next(r);
973
929
  }
@@ -985,7 +941,7 @@ var Pn = qt(function(e) {
985
941
  });
986
942
  }, t.prototype.error = function(r) {
987
943
  var n = this;
988
- we(function() {
944
+ Ee(function() {
989
945
  if (n._throwIfClosed(), !n.isStopped) {
990
946
  n.hasError = n.isStopped = !0, n.thrownError = r;
991
947
  for (var i = n.observers; i.length; )
@@ -994,7 +950,7 @@ var Pn = qt(function(e) {
994
950
  });
995
951
  }, t.prototype.complete = function() {
996
952
  var r = this;
997
- we(function() {
953
+ Ee(function() {
998
954
  if (r._throwIfClosed(), !r.isStopped) {
999
955
  r.isStopped = !0;
1000
956
  for (var n = r.observers; n.length; )
@@ -1016,20 +972,20 @@ var Pn = qt(function(e) {
1016
972
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1017
973
  }, t.prototype._innerSubscribe = function(r) {
1018
974
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1019
- return o || a ? Kt : (this.currentObservers = null, s.push(r), new Re(function() {
1020
- n.currentObservers = null, Qe(s, r);
975
+ return o || a ? er : (this.currentObservers = null, s.push(r), new Oe(function() {
976
+ n.currentObservers = null, qe(s, r);
1021
977
  }));
1022
978
  }, t.prototype._checkFinalizedStatuses = function(r) {
1023
979
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1024
980
  i ? r.error(o) : a && r.complete();
1025
981
  }, t.prototype.asObservable = function() {
1026
- var r = new xt();
982
+ var r = new Et();
1027
983
  return r.source = this, r;
1028
984
  }, t.create = function(r, n) {
1029
- return new wt(r, n);
985
+ return new St(r, n);
1030
986
  }, t;
1031
- }(xt), wt = function(e) {
1032
- F(t, e);
987
+ }(Et), St = function(e) {
988
+ de(t, e);
1033
989
  function t(r, n) {
1034
990
  var i = e.call(this) || this;
1035
991
  return i.destination = r, i.source = n, i;
@@ -1045,15 +1001,15 @@ var Pn = qt(function(e) {
1045
1001
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1046
1002
  }, t.prototype._subscribe = function(r) {
1047
1003
  var n, i;
1048
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
1004
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
1049
1005
  }, t;
1050
1006
  }(nr), ir = {
1051
1007
  now: function() {
1052
1008
  return (ir.delegate || Date).now();
1053
1009
  },
1054
1010
  delegate: void 0
1055
- }, Rn = function(e) {
1056
- F(t, e);
1011
+ }, Pn = function(e) {
1012
+ de(t, e);
1057
1013
  function t(r, n, i) {
1058
1014
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
1059
1015
  var o = e.call(this) || this;
@@ -1076,30 +1032,30 @@ var Pn = qt(function(e) {
1076
1032
  }
1077
1033
  }, t;
1078
1034
  }(nr);
1079
- const St = [], Tt = {}, In = (e, t = 0) => {
1080
- if (St.indexOf(e) == -1) {
1081
- const r = new Rn(t);
1082
- Tt[e] = r, St.push(e);
1035
+ const Tt = [], Ht = {}, On = (e, t = 0) => {
1036
+ if (Tt.indexOf(e) == -1) {
1037
+ const r = new Pn(t);
1038
+ Ht[e] = r, Tt.push(e);
1083
1039
  }
1084
- return Tt[e];
1085
- }, q = [];
1086
- function On(e, t) {
1040
+ return Ht[e];
1041
+ }, Y = [];
1042
+ function Rn(e, t) {
1087
1043
  return {
1088
- subscribe: Ie(e, t).subscribe
1044
+ subscribe: Re(e, t).subscribe
1089
1045
  };
1090
1046
  }
1091
- function Ie(e, t = C) {
1047
+ function Re(e, t = C) {
1092
1048
  let r;
1093
1049
  const n = /* @__PURE__ */ new Set();
1094
1050
  function i(s) {
1095
- if (Xt(e, s) && (e = s, r)) {
1096
- const h = !q.length;
1051
+ if (zt(e, s) && (e = s, r)) {
1052
+ const h = !Y.length;
1097
1053
  for (const l of n)
1098
- l[1](), q.push(l, e);
1054
+ l[1](), Y.push(l, e);
1099
1055
  if (h) {
1100
- for (let l = 0; l < q.length; l += 2)
1101
- q[l][0](q[l + 1]);
1102
- q.length = 0;
1056
+ for (let l = 0; l < Y.length; l += 2)
1057
+ Y[l][0](Y[l + 1]);
1058
+ Y.length = 0;
1103
1059
  }
1104
1060
  }
1105
1061
  }
@@ -1114,12 +1070,12 @@ function Ie(e, t = C) {
1114
1070
  }
1115
1071
  return { set: i, update: o, subscribe: a };
1116
1072
  }
1117
- function ae(e, t, r) {
1073
+ function ie(e, t, r) {
1118
1074
  const n = !Array.isArray(e), i = n ? [e] : e;
1119
1075
  if (!i.every(Boolean))
1120
1076
  throw new Error("derived() expects stores as input, got a falsy value");
1121
1077
  const o = t.length < 2;
1122
- return On(r, (a, s) => {
1078
+ return Rn(r, (a, s) => {
1123
1079
  let h = !1;
1124
1080
  const l = [];
1125
1081
  let u = 0, f = C;
@@ -1128,9 +1084,9 @@ function ae(e, t, r) {
1128
1084
  return;
1129
1085
  f();
1130
1086
  const d = t(n ? l[0] : l, a, s);
1131
- o ? a(d) : f = at(d) ? d : C;
1087
+ o ? a(d) : f = lt(d) ? d : C;
1132
1088
  }, m = i.map(
1133
- (d, p) => zt(
1089
+ (d, p) => Jt(
1134
1090
  d,
1135
1091
  (A) => {
1136
1092
  l[p] = A, u &= ~(1 << p), h && c();
@@ -1141,51 +1097,51 @@ function ae(e, t, r) {
1141
1097
  )
1142
1098
  );
1143
1099
  return h = !0, c(), function() {
1144
- J(m), f(), h = !1;
1100
+ z(m), f(), h = !1;
1145
1101
  };
1146
1102
  });
1147
1103
  }
1148
- function Ln(e) {
1104
+ function In(e) {
1149
1105
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1150
1106
  }
1151
- var Mn = function(t) {
1152
- return Cn(t) && !Nn(t);
1107
+ var Nn = function(t) {
1108
+ return Ln(t) && !Mn(t);
1153
1109
  };
1154
- function Cn(e) {
1110
+ function Ln(e) {
1155
1111
  return !!e && typeof e == "object";
1156
1112
  }
1157
- function Nn(e) {
1113
+ function Mn(e) {
1158
1114
  var t = Object.prototype.toString.call(e);
1159
- return t === "[object RegExp]" || t === "[object Date]" || Dn(e);
1115
+ return t === "[object RegExp]" || t === "[object Date]" || Un(e);
1160
1116
  }
1161
- var Gn = typeof Symbol == "function" && Symbol.for, Un = Gn ? Symbol.for("react.element") : 60103;
1162
- function Dn(e) {
1163
- return e.$$typeof === Un;
1117
+ var Cn = typeof Symbol == "function" && Symbol.for, Gn = Cn ? Symbol.for("react.element") : 60103;
1118
+ function Un(e) {
1119
+ return e.$$typeof === Gn;
1164
1120
  }
1165
- function Fn(e) {
1121
+ function $n(e) {
1166
1122
  return Array.isArray(e) ? [] : {};
1167
1123
  }
1168
- function de(e, t) {
1169
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Fn(e), e, t) : e;
1124
+ function fe(e, t) {
1125
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee($n(e), e, t) : e;
1170
1126
  }
1171
- function $n(e, t, r) {
1127
+ function Dn(e, t, r) {
1172
1128
  return e.concat(t).map(function(n) {
1173
- return de(n, r);
1129
+ return fe(n, r);
1174
1130
  });
1175
1131
  }
1176
- function jn(e, t) {
1132
+ function Fn(e, t) {
1177
1133
  if (!t.customMerge)
1178
- return re;
1134
+ return ee;
1179
1135
  var r = t.customMerge(e);
1180
- return typeof r == "function" ? r : re;
1136
+ return typeof r == "function" ? r : ee;
1181
1137
  }
1182
- function kn(e) {
1138
+ function jn(e) {
1183
1139
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1184
1140
  return Object.propertyIsEnumerable.call(e, t);
1185
1141
  }) : [];
1186
1142
  }
1187
- function Ht(e) {
1188
- return Object.keys(e).concat(kn(e));
1143
+ function Bt(e) {
1144
+ return Object.keys(e).concat(jn(e));
1189
1145
  }
1190
1146
  function or(e, t) {
1191
1147
  try {
@@ -1194,33 +1150,75 @@ function or(e, t) {
1194
1150
  return !1;
1195
1151
  }
1196
1152
  }
1197
- function Vn(e, t) {
1153
+ function kn(e, t) {
1198
1154
  return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1199
1155
  }
1200
- function Wn(e, t, r) {
1156
+ function Vn(e, t, r) {
1201
1157
  var n = {};
1202
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1203
- n[i] = de(e[i], r);
1204
- }), Ht(t).forEach(function(i) {
1205
- Vn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1158
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1159
+ n[i] = fe(e[i], r);
1160
+ }), Bt(t).forEach(function(i) {
1161
+ kn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1206
1162
  }), n;
1207
1163
  }
1208
- function re(e, t, r) {
1209
- r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || Mn, r.cloneUnlessOtherwiseSpecified = de;
1164
+ function ee(e, t, r) {
1165
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = fe;
1210
1166
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1211
- return o ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : de(t, r);
1167
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : fe(t, r);
1212
1168
  }
1213
- re.all = function(t, r) {
1169
+ ee.all = function(t, r) {
1214
1170
  if (!Array.isArray(t))
1215
1171
  throw new Error("first argument should be an array");
1216
1172
  return t.reduce(function(n, i) {
1217
- return re(n, i, r);
1173
+ return ee(n, i, r);
1218
1174
  }, {});
1219
1175
  };
1220
- var Xn = re, zn = Xn;
1221
- const Jn = /* @__PURE__ */ Ln(zn);
1176
+ var Wn = ee, Xn = Wn;
1177
+ const zn = /* @__PURE__ */ In(Xn);
1178
+ var et = function(e, t) {
1179
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1180
+ r.__proto__ = n;
1181
+ } || function(r, n) {
1182
+ for (var i in n)
1183
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1184
+ }, et(e, t);
1185
+ };
1186
+ function Ie(e, t) {
1187
+ if (typeof t != "function" && t !== null)
1188
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1189
+ et(e, t);
1190
+ function r() {
1191
+ this.constructor = e;
1192
+ }
1193
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1194
+ }
1195
+ var M = function() {
1196
+ return M = Object.assign || function(t) {
1197
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1198
+ r = arguments[n];
1199
+ for (var o in r)
1200
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1201
+ }
1202
+ return t;
1203
+ }, M.apply(this, arguments);
1204
+ };
1205
+ function Jn(e, t) {
1206
+ var r = {};
1207
+ for (var n in e)
1208
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1209
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1210
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1211
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1212
+ return r;
1213
+ }
1214
+ function $e(e, t, r) {
1215
+ if (r || arguments.length === 2)
1216
+ for (var n = 0, i = t.length, o; n < i; n++)
1217
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1218
+ return e.concat(o || Array.prototype.slice.call(t));
1219
+ }
1222
1220
  function De(e, t) {
1223
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Qn;
1221
+ var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Yn;
1224
1222
  return i(e, {
1225
1223
  cache: r,
1226
1224
  serializer: n
@@ -1229,95 +1227,103 @@ function De(e, t) {
1229
1227
  function Zn(e) {
1230
1228
  return e == null || typeof e == "number" || typeof e == "boolean";
1231
1229
  }
1232
- function ar(e, t, r, n) {
1230
+ function Qn(e, t, r, n) {
1233
1231
  var i = Zn(n) ? n : r(n), o = t.get(i);
1234
1232
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1235
1233
  }
1236
- function sr(e, t, r) {
1234
+ function ar(e, t, r) {
1237
1235
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1238
1236
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1239
1237
  }
1240
- function st(e, t, r, n, i) {
1238
+ function sr(e, t, r, n, i) {
1241
1239
  return r.bind(t, e, n, i);
1242
1240
  }
1243
- function Qn(e, t) {
1244
- var r = e.length === 1 ? ar : sr;
1245
- return st(e, this, r, t.cache.create(), t.serializer);
1246
- }
1247
1241
  function Yn(e, t) {
1248
- return st(e, this, sr, t.cache.create(), t.serializer);
1242
+ var r = e.length === 1 ? Qn : ar;
1243
+ return sr(e, this, r, t.cache.create(), t.serializer);
1249
1244
  }
1250
1245
  function qn(e, t) {
1251
- return st(e, this, ar, t.cache.create(), t.serializer);
1246
+ return sr(e, this, ar, t.cache.create(), t.serializer);
1252
1247
  }
1253
1248
  var Kn = function() {
1254
1249
  return JSON.stringify(arguments);
1255
- };
1256
- function ut() {
1257
- this.cache = /* @__PURE__ */ Object.create(null);
1258
- }
1259
- ut.prototype.get = function(e) {
1260
- return this.cache[e];
1261
- };
1262
- ut.prototype.set = function(e, t) {
1263
- this.cache[e] = t;
1264
- };
1265
- var ei = {
1250
+ }, ei = (
1251
+ /** @class */
1252
+ function() {
1253
+ function e() {
1254
+ this.cache = /* @__PURE__ */ Object.create(null);
1255
+ }
1256
+ return e.prototype.get = function(t) {
1257
+ return this.cache[t];
1258
+ }, e.prototype.set = function(t, r) {
1259
+ this.cache[t] = r;
1260
+ }, e;
1261
+ }()
1262
+ ), ti = {
1266
1263
  create: function() {
1267
- return new ut();
1264
+ return new ei();
1268
1265
  }
1269
1266
  }, Fe = {
1270
- variadic: Yn,
1271
- monadic: qn
1272
- }, g;
1267
+ variadic: qn
1268
+ }, Be = function() {
1269
+ return Be = Object.assign || function(t) {
1270
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1271
+ r = arguments[n];
1272
+ for (var o in r)
1273
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1274
+ }
1275
+ return t;
1276
+ }, Be.apply(this, arguments);
1277
+ };
1278
+ var y;
1273
1279
  (function(e) {
1274
1280
  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";
1275
- })(g || (g = {}));
1276
- var w;
1281
+ })(y || (y = {}));
1282
+ var E;
1277
1283
  (function(e) {
1278
1284
  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";
1279
- })(w || (w = {}));
1280
- var ne;
1285
+ })(E || (E = {}));
1286
+ var te;
1281
1287
  (function(e) {
1282
1288
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1283
- })(ne || (ne = {}));
1284
- function Bt(e) {
1285
- return e.type === w.literal;
1289
+ })(te || (te = {}));
1290
+ function At(e) {
1291
+ return e.type === E.literal;
1286
1292
  }
1287
- function ti(e) {
1288
- return e.type === w.argument;
1293
+ function ri(e) {
1294
+ return e.type === E.argument;
1289
1295
  }
1290
1296
  function ur(e) {
1291
- return e.type === w.number;
1297
+ return e.type === E.number;
1292
1298
  }
1293
1299
  function lr(e) {
1294
- return e.type === w.date;
1300
+ return e.type === E.date;
1295
1301
  }
1296
1302
  function hr(e) {
1297
- return e.type === w.time;
1303
+ return e.type === E.time;
1298
1304
  }
1299
1305
  function cr(e) {
1300
- return e.type === w.select;
1306
+ return e.type === E.select;
1301
1307
  }
1302
1308
  function fr(e) {
1303
- return e.type === w.plural;
1309
+ return e.type === E.plural;
1304
1310
  }
1305
- function ri(e) {
1306
- return e.type === w.pound;
1311
+ function ni(e) {
1312
+ return e.type === E.pound;
1307
1313
  }
1308
1314
  function mr(e) {
1309
- return e.type === w.tag;
1315
+ return e.type === E.tag;
1310
1316
  }
1311
1317
  function dr(e) {
1312
- return !!(e && typeof e == "object" && e.type === ne.number);
1318
+ return !!(e && typeof e == "object" && e.type === te.number);
1313
1319
  }
1314
- function qe(e) {
1315
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1320
+ function tt(e) {
1321
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1316
1322
  }
1317
- var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1318
- function ii(e) {
1323
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
1324
+ function oi(e) {
1319
1325
  var t = {};
1320
- return e.replace(ni, function(r) {
1326
+ return e.replace(ii, function(r) {
1321
1327
  var n = r.length;
1322
1328
  switch (r[0]) {
1323
1329
  case "G":
@@ -1406,11 +1412,21 @@ function ii(e) {
1406
1412
  return "";
1407
1413
  }), t;
1408
1414
  }
1409
- var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1410
- function ai(e) {
1415
+ var S = function() {
1416
+ return S = Object.assign || function(t) {
1417
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1418
+ r = arguments[n];
1419
+ for (var o in r)
1420
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1421
+ }
1422
+ return t;
1423
+ }, S.apply(this, arguments);
1424
+ };
1425
+ var ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1426
+ function si(e) {
1411
1427
  if (e.length === 0)
1412
1428
  throw new Error("Number skeleton cannot be empty");
1413
- for (var t = e.split(oi).filter(function(c) {
1429
+ for (var t = e.split(ai).filter(function(c) {
1414
1430
  return c.length > 0;
1415
1431
  }), r = [], n = 0, i = t; n < i.length; n++) {
1416
1432
  var o = i[n], a = o.split("/");
@@ -1425,11 +1441,11 @@ function ai(e) {
1425
1441
  }
1426
1442
  return r;
1427
1443
  }
1428
- function si(e) {
1444
+ function ui(e) {
1429
1445
  return e.replace(/^(.*?)-/, "");
1430
1446
  }
1431
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
1432
- function Pt(e) {
1447
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
1448
+ function Ot(e) {
1433
1449
  var t = {};
1434
1450
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
1435
1451
  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)), "";
@@ -1475,7 +1491,7 @@ function yr(e) {
1475
1491
  };
1476
1492
  }
1477
1493
  }
1478
- function li(e) {
1494
+ function hi(e) {
1479
1495
  var t;
1480
1496
  if (e[0] === "E" && e[1] === "E" ? (t = {
1481
1497
  notation: "engineering"
@@ -1493,7 +1509,7 @@ function Rt(e) {
1493
1509
  var t = {}, r = yr(e);
1494
1510
  return r || t;
1495
1511
  }
1496
- function hi(e) {
1512
+ function ci(e) {
1497
1513
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1498
1514
  var i = n[r];
1499
1515
  switch (i.stem) {
@@ -1517,7 +1533,7 @@ function hi(e) {
1517
1533
  continue;
1518
1534
  case "measure-unit":
1519
1535
  case "unit":
1520
- t.style = "unit", t.unit = si(i.options[0]);
1536
+ t.style = "unit", t.unit = ui(i.options[0]);
1521
1537
  continue;
1522
1538
  case "compact-short":
1523
1539
  case "K":
@@ -1528,13 +1544,13 @@ function hi(e) {
1528
1544
  t.notation = "compact", t.compactDisplay = "long";
1529
1545
  continue;
1530
1546
  case "scientific":
1531
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1532
- return v(v({}, h), Rt(l));
1547
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1548
+ return S(S({}, h), Rt(l));
1533
1549
  }, {}));
1534
1550
  continue;
1535
1551
  case "engineering":
1536
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1537
- return v(v({}, h), Rt(l));
1552
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1553
+ return S(S({}, h), Rt(l));
1538
1554
  }, {}));
1539
1555
  continue;
1540
1556
  case "notation-simple":
@@ -1579,7 +1595,7 @@ function hi(e) {
1579
1595
  case "integer-width":
1580
1596
  if (i.options.length > 1)
1581
1597
  throw new RangeError("integer-width stems only accept a single optional option");
1582
- i.options[0].replace(ui, function(h, l, u, f, c, m) {
1598
+ i.options[0].replace(li, function(h, l, u, f, c, m) {
1583
1599
  if (l)
1584
1600
  t.minimumIntegerDigits = u.length;
1585
1601
  else {
@@ -1596,28 +1612,28 @@ function hi(e) {
1596
1612
  t.minimumIntegerDigits = i.stem.length;
1597
1613
  continue;
1598
1614
  }
1599
- if (At.test(i.stem)) {
1615
+ if (Pt.test(i.stem)) {
1600
1616
  if (i.options.length > 1)
1601
1617
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1602
- i.stem.replace(At, function(h, l, u, f, c, m) {
1618
+ i.stem.replace(Pt, function(h, l, u, f, c, m) {
1603
1619
  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), "";
1604
1620
  });
1605
1621
  var o = i.options[0];
1606
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), Pt(o)));
1622
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1607
1623
  continue;
1608
1624
  }
1609
1625
  if (br.test(i.stem)) {
1610
- t = v(v({}, t), Pt(i.stem));
1626
+ t = S(S({}, t), Ot(i.stem));
1611
1627
  continue;
1612
1628
  }
1613
1629
  var a = yr(i.stem);
1614
- a && (t = v(v({}, t), a));
1615
- var s = li(i.stem);
1616
- s && (t = v(v({}, t), s));
1630
+ a && (t = S(S({}, t), a));
1631
+ var s = hi(i.stem);
1632
+ s && (t = S(S({}, t), s));
1617
1633
  }
1618
1634
  return t;
1619
1635
  }
1620
- var _e = {
1636
+ var ve = {
1621
1637
  "001": [
1622
1638
  "H",
1623
1639
  "h"
@@ -3032,13 +3048,13 @@ var _e = {
3032
3048
  "h"
3033
3049
  ]
3034
3050
  };
3035
- function ci(e, t) {
3051
+ function fi(e, t) {
3036
3052
  for (var r = "", n = 0; n < e.length; n++) {
3037
3053
  var i = e.charAt(n);
3038
3054
  if (i === "j") {
3039
3055
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3040
3056
  o++, n++;
3041
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = fi(t);
3057
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = mi(t);
3042
3058
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3043
3059
  r += h;
3044
3060
  for (; a-- > 0; )
@@ -3048,7 +3064,7 @@ function ci(e, t) {
3048
3064
  }
3049
3065
  return r;
3050
3066
  }
3051
- function fi(e) {
3067
+ function mi(e) {
3052
3068
  var t = e.hourCycle;
3053
3069
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3054
3070
  e.hourCycles && // @ts-ignore
@@ -3067,23 +3083,23 @@ function fi(e) {
3067
3083
  }
3068
3084
  var r = e.language, n;
3069
3085
  r !== "root" && (n = e.maximize().region);
3070
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3086
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3071
3087
  return i[0];
3072
3088
  }
3073
- var $e, mi = new RegExp("^".concat(pr.source, "*")), di = new RegExp("".concat(pr.source, "*$"));
3074
- function y(e, t) {
3089
+ var je, di = new RegExp("^".concat(pr.source, "*")), pi = new RegExp("".concat(pr.source, "*$"));
3090
+ function v(e, t) {
3075
3091
  return { start: e, end: t };
3076
3092
  }
3077
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, Ei = xi ? Number.isSafeInteger : function(e) {
3093
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
3078
3094
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3079
- }, Ke = !0;
3095
+ }, rt = !0;
3080
3096
  try {
3081
- var wi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3082
- Ke = (($e = wi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3097
+ var Si = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
+ rt = ((je = Si.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3083
3099
  } catch {
3084
- Ke = !1;
3100
+ rt = !1;
3085
3101
  }
3086
- var It = pi ? (
3102
+ var It = bi ? (
3087
3103
  // Native
3088
3104
  function(t, r, n) {
3089
3105
  return t.startsWith(r, n);
@@ -3093,7 +3109,7 @@ var It = pi ? (
3093
3109
  function(t, r, n) {
3094
3110
  return t.slice(n, n + r.length) === r;
3095
3111
  }
3096
- ), et = bi ? String.fromCodePoint : (
3112
+ ), nt = gi ? String.fromCodePoint : (
3097
3113
  // IE11
3098
3114
  function() {
3099
3115
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3105,9 +3121,9 @@ var It = pi ? (
3105
3121
  }
3106
3122
  return n;
3107
3123
  }
3108
- ), Ot = (
3124
+ ), Nt = (
3109
3125
  // native
3110
- gi ? Object.fromEntries : (
3126
+ yi ? Object.fromEntries : (
3111
3127
  // Ponyfill
3112
3128
  function(t) {
3113
3129
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3117,7 +3133,7 @@ var It = pi ? (
3117
3133
  return r;
3118
3134
  }
3119
3135
  )
3120
- ), vr = yi ? (
3136
+ ), vr = vi ? (
3121
3137
  // Native
3122
3138
  function(t, r) {
3123
3139
  return t.codePointAt(r);
@@ -3131,7 +3147,7 @@ var It = pi ? (
3131
3147
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3132
3148
  }
3133
3149
  }
3134
- ), Si = vi ? (
3150
+ ), Ti = _i ? (
3135
3151
  // Native
3136
3152
  function(t) {
3137
3153
  return t.trimStart();
@@ -3139,9 +3155,9 @@ var It = pi ? (
3139
3155
  ) : (
3140
3156
  // Ponyfill
3141
3157
  function(t) {
3142
- return t.replace(mi, "");
3158
+ return t.replace(di, "");
3143
3159
  }
3144
- ), Ti = _i ? (
3160
+ ), Hi = xi ? (
3145
3161
  // Native
3146
3162
  function(t) {
3147
3163
  return t.trimEnd();
@@ -3149,32 +3165,32 @@ var It = pi ? (
3149
3165
  ) : (
3150
3166
  // Ponyfill
3151
3167
  function(t) {
3152
- return t.replace(di, "");
3168
+ return t.replace(pi, "");
3153
3169
  }
3154
3170
  );
3155
3171
  function _r(e, t) {
3156
3172
  return new RegExp(e, t);
3157
3173
  }
3158
- var tt;
3159
- if (Ke) {
3174
+ var it;
3175
+ if (rt) {
3160
3176
  var Lt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3161
- tt = function(t, r) {
3177
+ it = function(t, r) {
3162
3178
  var n;
3163
3179
  Lt.lastIndex = r;
3164
3180
  var i = Lt.exec(t);
3165
3181
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3166
3182
  };
3167
3183
  } else
3168
- tt = function(t, r) {
3184
+ it = function(t, r) {
3169
3185
  for (var n = []; ; ) {
3170
3186
  var i = vr(t, r);
3171
- if (i === void 0 || xr(i) || Pi(i))
3187
+ if (i === void 0 || xr(i) || Oi(i))
3172
3188
  break;
3173
3189
  n.push(i), r += i >= 65536 ? 2 : 1;
3174
3190
  }
3175
- return et.apply(void 0, n);
3191
+ return nt.apply(void 0, n);
3176
3192
  };
3177
- var Hi = (
3193
+ var Bi = (
3178
3194
  /** @class */
3179
3195
  function() {
3180
3196
  function e(t, r) {
@@ -3198,14 +3214,14 @@ var Hi = (
3198
3214
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3199
3215
  var s = this.clonePosition();
3200
3216
  this.bump(), i.push({
3201
- type: w.pound,
3202
- location: y(s, this.clonePosition())
3217
+ type: E.pound,
3218
+ location: v(s, this.clonePosition())
3203
3219
  });
3204
3220
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3205
3221
  if (n)
3206
3222
  break;
3207
- return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3208
- } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3223
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3224
+ } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3209
3225
  var a = this.parseTag(t, r);
3210
3226
  if (a.err)
3211
3227
  return a;
@@ -3226,9 +3242,9 @@ var Hi = (
3226
3242
  if (this.bumpSpace(), this.bumpIf("/>"))
3227
3243
  return {
3228
3244
  val: {
3229
- type: w.literal,
3245
+ type: E.literal,
3230
3246
  value: "<".concat(i, "/>"),
3231
- location: y(n, this.clonePosition())
3247
+ location: v(n, this.clonePosition())
3232
3248
  },
3233
3249
  err: null
3234
3250
  };
@@ -3238,25 +3254,25 @@ var Hi = (
3238
3254
  return o;
3239
3255
  var a = o.val, s = this.clonePosition();
3240
3256
  if (this.bumpIf("</")) {
3241
- if (this.isEOF() || !rt(this.char()))
3242
- return this.error(g.INVALID_TAG, y(s, this.clonePosition()));
3257
+ if (this.isEOF() || !ot(this.char()))
3258
+ return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3243
3259
  var h = this.clonePosition(), l = this.parseTagName();
3244
- return i !== l ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3260
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3245
3261
  val: {
3246
- type: w.tag,
3262
+ type: E.tag,
3247
3263
  value: i,
3248
3264
  children: a,
3249
- location: y(n, this.clonePosition())
3265
+ location: v(n, this.clonePosition())
3250
3266
  },
3251
3267
  err: null
3252
- } : this.error(g.INVALID_TAG, y(s, this.clonePosition())));
3268
+ } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3253
3269
  } else
3254
- return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3270
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3255
3271
  } else
3256
- return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3272
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3257
3273
  }, e.prototype.parseTagName = function() {
3258
3274
  var t = this.offset();
3259
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
3275
+ for (this.bump(); !this.isEOF() && Pi(this.char()); )
3260
3276
  this.bump();
3261
3277
  return this.message.slice(t, this.offset());
3262
3278
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3278,14 +3294,14 @@ var Hi = (
3278
3294
  }
3279
3295
  break;
3280
3296
  }
3281
- var h = y(n, this.clonePosition());
3297
+ var h = v(n, this.clonePosition());
3282
3298
  return {
3283
- val: { type: w.literal, value: i, location: h },
3299
+ val: { type: E.literal, value: i, location: h },
3284
3300
  err: null
3285
3301
  };
3286
3302
  }, e.prototype.tryParseLeftAngleBracket = function() {
3287
3303
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3288
- !Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3304
+ !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3289
3305
  }, e.prototype.tryParseQuote = function(t) {
3290
3306
  if (this.isEOF() || this.char() !== 39)
3291
3307
  return null;
@@ -3319,49 +3335,49 @@ var Hi = (
3319
3335
  r.push(n);
3320
3336
  this.bump();
3321
3337
  }
3322
- return et.apply(void 0, r);
3338
+ return nt.apply(void 0, r);
3323
3339
  }, e.prototype.tryParseUnquoted = function(t, r) {
3324
3340
  if (this.isEOF())
3325
3341
  return null;
3326
3342
  var n = this.char();
3327
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3343
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3328
3344
  }, e.prototype.parseArgument = function(t, r) {
3329
3345
  var n = this.clonePosition();
3330
3346
  if (this.bump(), this.bumpSpace(), this.isEOF())
3331
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3347
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3332
3348
  if (this.char() === 125)
3333
- return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3349
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3334
3350
  var i = this.parseIdentifierIfPossible().value;
3335
3351
  if (!i)
3336
- return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3352
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3337
3353
  if (this.bumpSpace(), this.isEOF())
3338
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3354
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3339
3355
  switch (this.char()) {
3340
3356
  case 125:
3341
3357
  return this.bump(), {
3342
3358
  val: {
3343
- type: w.argument,
3359
+ type: E.argument,
3344
3360
  // value does not include the opening and closing braces.
3345
3361
  value: i,
3346
- location: y(n, this.clonePosition())
3362
+ location: v(n, this.clonePosition())
3347
3363
  },
3348
3364
  err: null
3349
3365
  };
3350
3366
  case 44:
3351
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3367
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3352
3368
  default:
3353
- return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3369
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3354
3370
  }
3355
3371
  }, e.prototype.parseIdentifierIfPossible = function() {
3356
- var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3372
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3357
3373
  this.bumpTo(i);
3358
- var o = this.clonePosition(), a = y(t, o);
3374
+ var o = this.clonePosition(), a = v(t, o);
3359
3375
  return { value: n, location: a };
3360
3376
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3361
3377
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3362
3378
  switch (s) {
3363
3379
  case "":
3364
- return this.error(g.EXPECT_ARGUMENT_TYPE, y(a, h));
3380
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, h));
3365
3381
  case "number":
3366
3382
  case "date":
3367
3383
  case "time": {
@@ -3372,35 +3388,35 @@ var Hi = (
3372
3388
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3373
3389
  if (f.err)
3374
3390
  return f;
3375
- var c = Ti(f.val);
3391
+ var c = Hi(f.val);
3376
3392
  if (c.length === 0)
3377
- return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3378
- var m = y(u, this.clonePosition());
3393
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3394
+ var m = v(u, this.clonePosition());
3379
3395
  l = { style: c, styleLocation: m };
3380
3396
  }
3381
3397
  var d = this.tryParseArgumentClose(i);
3382
3398
  if (d.err)
3383
3399
  return d;
3384
- var p = y(i, this.clonePosition());
3400
+ var p = v(i, this.clonePosition());
3385
3401
  if (l && It(l?.style, "::", 0)) {
3386
- var A = Si(l.style.slice(2));
3402
+ var A = Ti(l.style.slice(2));
3387
3403
  if (s === "number") {
3388
3404
  var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
3389
3405
  return f.err ? f : {
3390
- val: { type: w.number, value: n, location: p, style: f.val },
3406
+ val: { type: E.number, value: n, location: p, style: f.val },
3391
3407
  err: null
3392
3408
  };
3393
3409
  } else {
3394
3410
  if (A.length === 0)
3395
- return this.error(g.EXPECT_DATE_TIME_SKELETON, p);
3411
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3396
3412
  var H = A;
3397
- this.locale && (H = ci(A, this.locale));
3413
+ this.locale && (H = fi(A, this.locale));
3398
3414
  var c = {
3399
- type: ne.dateTime,
3415
+ type: te.dateTime,
3400
3416
  pattern: H,
3401
3417
  location: l.styleLocation,
3402
- parsedOptions: this.shouldParseSkeletons ? ii(H) : {}
3403
- }, T = s === "date" ? w.date : w.time;
3418
+ parsedOptions: this.shouldParseSkeletons ? oi(H) : {}
3419
+ }, T = s === "date" ? E.date : E.time;
3404
3420
  return {
3405
3421
  val: { type: T, value: n, location: p, style: c },
3406
3422
  err: null
@@ -3409,7 +3425,7 @@ var Hi = (
3409
3425
  }
3410
3426
  return {
3411
3427
  val: {
3412
- type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3428
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3413
3429
  value: n,
3414
3430
  location: p,
3415
3431
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3422,50 +3438,50 @@ var Hi = (
3422
3438
  case "select": {
3423
3439
  var B = this.clonePosition();
3424
3440
  if (this.bumpSpace(), !this.bumpIf(","))
3425
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(B, v({}, B)));
3441
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, Be({}, B)));
3426
3442
  this.bumpSpace();
3427
- var L = this.parseIdentifierIfPossible(), M = 0;
3428
- if (s !== "select" && L.value === "offset") {
3443
+ var N = this.parseIdentifierIfPossible(), L = 0;
3444
+ if (s !== "select" && N.value === "offset") {
3429
3445
  if (!this.bumpIf(":"))
3430
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3446
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3431
3447
  this.bumpSpace();
3432
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3448
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3433
3449
  if (f.err)
3434
3450
  return f;
3435
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = f.val;
3451
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = f.val;
3436
3452
  }
3437
- var N = this.tryParsePluralOrSelectOptions(t, s, r, L);
3438
- if (N.err)
3439
- return N;
3453
+ var G = this.tryParsePluralOrSelectOptions(t, s, r, N);
3454
+ if (G.err)
3455
+ return G;
3440
3456
  var d = this.tryParseArgumentClose(i);
3441
3457
  if (d.err)
3442
3458
  return d;
3443
- var be = y(i, this.clonePosition());
3459
+ var pe = v(i, this.clonePosition());
3444
3460
  return s === "select" ? {
3445
3461
  val: {
3446
- type: w.select,
3462
+ type: E.select,
3447
3463
  value: n,
3448
- options: Ot(N.val),
3449
- location: be
3464
+ options: Nt(G.val),
3465
+ location: pe
3450
3466
  },
3451
3467
  err: null
3452
3468
  } : {
3453
3469
  val: {
3454
- type: w.plural,
3470
+ type: E.plural,
3455
3471
  value: n,
3456
- options: Ot(N.val),
3457
- offset: M,
3472
+ options: Nt(G.val),
3473
+ offset: L,
3458
3474
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3459
- location: be
3475
+ location: pe
3460
3476
  },
3461
3477
  err: null
3462
3478
  };
3463
3479
  }
3464
3480
  default:
3465
- return this.error(g.INVALID_ARGUMENT_TYPE, y(a, h));
3481
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, h));
3466
3482
  }
3467
3483
  }, e.prototype.tryParseArgumentClose = function(t) {
3468
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3484
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3469
3485
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3470
3486
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3471
3487
  var n = this.char();
@@ -3474,7 +3490,7 @@ var Hi = (
3474
3490
  this.bump();
3475
3491
  var i = this.clonePosition();
3476
3492
  if (!this.bumpUntil("'"))
3477
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3493
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3478
3494
  this.bump();
3479
3495
  break;
3480
3496
  }
@@ -3504,16 +3520,16 @@ var Hi = (
3504
3520
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3505
3521
  var n = [];
3506
3522
  try {
3507
- n = ai(t);
3523
+ n = si(t);
3508
3524
  } catch {
3509
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3525
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3510
3526
  }
3511
3527
  return {
3512
3528
  val: {
3513
- type: ne.number,
3529
+ type: te.number,
3514
3530
  tokens: n,
3515
3531
  location: r,
3516
- parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3532
+ parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
3517
3533
  },
3518
3534
  err: null
3519
3535
  };
@@ -3522,19 +3538,19 @@ var Hi = (
3522
3538
  if (l.length === 0) {
3523
3539
  var f = this.clonePosition();
3524
3540
  if (r !== "select" && this.bumpIf("=")) {
3525
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3541
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3526
3542
  if (c.err)
3527
3543
  return c;
3528
- u = y(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3544
+ u = v(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3529
3545
  } else
3530
3546
  break;
3531
3547
  }
3532
3548
  if (h.has(l))
3533
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3549
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3534
3550
  l === "other" && (a = !0), this.bumpSpace();
3535
3551
  var m = this.clonePosition();
3536
3552
  if (!this.bumpIf("{"))
3537
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3553
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3538
3554
  var d = this.parseMessage(t + 1, r, n);
3539
3555
  if (d.err)
3540
3556
  return d;
@@ -3545,11 +3561,11 @@ var Hi = (
3545
3561
  l,
3546
3562
  {
3547
3563
  value: d.val,
3548
- location: y(m, this.clonePosition())
3564
+ location: v(m, this.clonePosition())
3549
3565
  }
3550
3566
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3551
3567
  }
3552
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3568
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3553
3569
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3554
3570
  var n = 1, i = this.clonePosition();
3555
3571
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3560,8 +3576,8 @@ var Hi = (
3560
3576
  else
3561
3577
  break;
3562
3578
  }
3563
- var h = y(i, this.clonePosition());
3564
- return o ? (a *= n, Ei(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3579
+ var h = v(i, this.clonePosition());
3580
+ return o ? (a *= n, wi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3565
3581
  }, e.prototype.offset = function() {
3566
3582
  return this.position.offset;
3567
3583
  }, e.prototype.isEOF = function() {
@@ -3627,47 +3643,47 @@ var Hi = (
3627
3643
  }, e;
3628
3644
  }()
3629
3645
  );
3630
- function rt(e) {
3646
+ function ot(e) {
3631
3647
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3632
3648
  }
3633
- function Bi(e) {
3634
- return rt(e) || e === 47;
3635
- }
3636
3649
  function Ai(e) {
3650
+ return ot(e) || e === 47;
3651
+ }
3652
+ function Pi(e) {
3637
3653
  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;
3638
3654
  }
3639
3655
  function xr(e) {
3640
3656
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3641
3657
  }
3642
- function Pi(e) {
3658
+ function Oi(e) {
3643
3659
  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;
3644
3660
  }
3645
- function nt(e) {
3661
+ function at(e) {
3646
3662
  e.forEach(function(t) {
3647
3663
  if (delete t.location, cr(t) || fr(t))
3648
3664
  for (var r in t.options)
3649
- delete t.options[r].location, nt(t.options[r].value);
3665
+ delete t.options[r].location, at(t.options[r].value);
3650
3666
  else
3651
- ur(t) && dr(t.style) || (lr(t) || hr(t)) && qe(t.style) ? delete t.style.location : mr(t) && nt(t.children);
3667
+ ur(t) && dr(t.style) || (lr(t) || hr(t)) && tt(t.style) ? delete t.style.location : mr(t) && at(t.children);
3652
3668
  });
3653
3669
  }
3654
3670
  function Ri(e, t) {
3655
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3656
- var r = new Hi(e, t).parse();
3671
+ t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3672
+ var r = new Bi(e, t).parse();
3657
3673
  if (r.err) {
3658
- var n = SyntaxError(g[r.err.kind]);
3674
+ var n = SyntaxError(y[r.err.kind]);
3659
3675
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3660
3676
  }
3661
- return t?.captureLocation || nt(r.val), r.val;
3677
+ return t?.captureLocation || at(r.val), r.val;
3662
3678
  }
3663
- var ie;
3679
+ var re;
3664
3680
  (function(e) {
3665
3681
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3666
- })(ie || (ie = {}));
3667
- var Oe = (
3682
+ })(re || (re = {}));
3683
+ var Ne = (
3668
3684
  /** @class */
3669
3685
  function(e) {
3670
- F(t, e);
3686
+ Ie(t, e);
3671
3687
  function t(r, n, i) {
3672
3688
  var o = e.call(this, r) || this;
3673
3689
  return o.code = n, o.originalMessage = i, o;
@@ -3679,30 +3695,30 @@ var Oe = (
3679
3695
  ), Mt = (
3680
3696
  /** @class */
3681
3697
  function(e) {
3682
- F(t, e);
3698
+ Ie(t, e);
3683
3699
  function t(r, n, i, o) {
3684
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3700
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3685
3701
  }
3686
3702
  return t;
3687
- }(Oe)
3703
+ }(Ne)
3688
3704
  ), Ii = (
3689
3705
  /** @class */
3690
3706
  function(e) {
3691
- F(t, e);
3707
+ Ie(t, e);
3692
3708
  function t(r, n, i) {
3693
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3709
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3694
3710
  }
3695
3711
  return t;
3696
- }(Oe)
3697
- ), Oi = (
3712
+ }(Ne)
3713
+ ), Ni = (
3698
3714
  /** @class */
3699
3715
  function(e) {
3700
- F(t, e);
3716
+ Ie(t, e);
3701
3717
  function t(r, n) {
3702
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3718
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3703
3719
  }
3704
3720
  return t;
3705
- }(Oe)
3721
+ }(Ne)
3706
3722
  ), P;
3707
3723
  (function(e) {
3708
3724
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3716,8 +3732,8 @@ function Li(e) {
3716
3732
  function Mi(e) {
3717
3733
  return typeof e == "function";
3718
3734
  }
3719
- function Se(e, t, r, n, i, o, a) {
3720
- if (e.length === 1 && Bt(e[0]))
3735
+ function we(e, t, r, n, i, o, a) {
3736
+ if (e.length === 1 && At(e[0]))
3721
3737
  return [
3722
3738
  {
3723
3739
  type: P.literal,
@@ -3726,14 +3742,14 @@ function Se(e, t, r, n, i, o, a) {
3726
3742
  ];
3727
3743
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3728
3744
  var u = l[h];
3729
- if (Bt(u)) {
3745
+ if (At(u)) {
3730
3746
  s.push({
3731
3747
  type: P.literal,
3732
3748
  value: u.value
3733
3749
  });
3734
3750
  continue;
3735
3751
  }
3736
- if (ri(u)) {
3752
+ if (ni(u)) {
3737
3753
  typeof o == "number" && s.push({
3738
3754
  type: P.literal,
3739
3755
  value: r.getNumberFormat(t).format(o)
@@ -3742,9 +3758,9 @@ function Se(e, t, r, n, i, o, a) {
3742
3758
  }
3743
3759
  var f = u.value;
3744
3760
  if (!(i && f in i))
3745
- throw new Oi(f, a);
3761
+ throw new Ni(f, a);
3746
3762
  var c = i[f];
3747
- if (ti(u)) {
3763
+ if (ri(u)) {
3748
3764
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3749
3765
  type: typeof c == "string" ? P.literal : P.object,
3750
3766
  value: c
@@ -3752,7 +3768,7 @@ function Se(e, t, r, n, i, o, a) {
3752
3768
  continue;
3753
3769
  }
3754
3770
  if (lr(u)) {
3755
- var m = typeof u.style == "string" ? n.date[u.style] : qe(u.style) ? u.style.parsedOptions : void 0;
3771
+ var m = typeof u.style == "string" ? n.date[u.style] : tt(u.style) ? u.style.parsedOptions : void 0;
3756
3772
  s.push({
3757
3773
  type: P.literal,
3758
3774
  value: r.getDateTimeFormat(t, m).format(c)
@@ -3760,7 +3776,7 @@ function Se(e, t, r, n, i, o, a) {
3760
3776
  continue;
3761
3777
  }
3762
3778
  if (hr(u)) {
3763
- var m = typeof u.style == "string" ? n.time[u.style] : qe(u.style) ? u.style.parsedOptions : n.time.medium;
3779
+ var m = typeof u.style == "string" ? n.time[u.style] : tt(u.style) ? u.style.parsedOptions : n.time.medium;
3764
3780
  s.push({
3765
3781
  type: P.literal,
3766
3782
  value: r.getDateTimeFormat(t, m).format(c)
@@ -3779,13 +3795,13 @@ function Se(e, t, r, n, i, o, a) {
3779
3795
  var d = u.children, p = u.value, A = i[p];
3780
3796
  if (!Mi(A))
3781
3797
  throw new Ii(p, "function", a);
3782
- var H = Se(d, t, r, n, i, o), T = A(H.map(function(M) {
3783
- return M.value;
3798
+ var H = we(d, t, r, n, i, o), T = A(H.map(function(L) {
3799
+ return L.value;
3784
3800
  }));
3785
- Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(M) {
3801
+ Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(L) {
3786
3802
  return {
3787
- type: typeof M == "string" ? P.literal : P.object,
3788
- value: M
3803
+ type: typeof L == "string" ? P.literal : P.object,
3804
+ value: L
3789
3805
  };
3790
3806
  }));
3791
3807
  }
@@ -3793,38 +3809,38 @@ function Se(e, t, r, n, i, o, a) {
3793
3809
  var B = u.options[c] || u.options.other;
3794
3810
  if (!B)
3795
3811
  throw new Mt(u.value, c, Object.keys(u.options), a);
3796
- s.push.apply(s, Se(B.value, t, r, n, i));
3812
+ s.push.apply(s, we(B.value, t, r, n, i));
3797
3813
  continue;
3798
3814
  }
3799
3815
  if (fr(u)) {
3800
3816
  var B = u.options["=".concat(c)];
3801
3817
  if (!B) {
3802
3818
  if (!Intl.PluralRules)
3803
- throw new Oe(`Intl.PluralRules is not available in this environment.
3819
+ throw new Ne(`Intl.PluralRules is not available in this environment.
3804
3820
  Try polyfilling it using "@formatjs/intl-pluralrules"
3805
- `, ie.MISSING_INTL_API, a);
3806
- var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3807
- B = u.options[L] || u.options.other;
3821
+ `, re.MISSING_INTL_API, a);
3822
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3823
+ B = u.options[N] || u.options.other;
3808
3824
  }
3809
3825
  if (!B)
3810
3826
  throw new Mt(u.value, c, Object.keys(u.options), a);
3811
- s.push.apply(s, Se(B.value, t, r, n, i, c - (u.offset || 0)));
3827
+ s.push.apply(s, we(B.value, t, r, n, i, c - (u.offset || 0)));
3812
3828
  continue;
3813
3829
  }
3814
3830
  }
3815
3831
  return Li(s);
3816
3832
  }
3817
3833
  function Ci(e, t) {
3818
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3819
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3834
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3835
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3820
3836
  }, {})) : e;
3821
3837
  }
3822
- function Ni(e, t) {
3838
+ function Gi(e, t) {
3823
3839
  return t ? Object.keys(e).reduce(function(r, n) {
3824
3840
  return r[n] = Ci(e[n], t[n]), r;
3825
- }, v({}, e)) : e;
3841
+ }, M({}, e)) : e;
3826
3842
  }
3827
- function je(e) {
3843
+ function ke(e) {
3828
3844
  return {
3829
3845
  create: function() {
3830
3846
  return {
@@ -3838,7 +3854,7 @@ function je(e) {
3838
3854
  }
3839
3855
  };
3840
3856
  }
3841
- function Gi(e) {
3857
+ function Ui(e) {
3842
3858
  return e === void 0 && (e = {
3843
3859
  number: {},
3844
3860
  dateTime: {},
@@ -3847,30 +3863,30 @@ function Gi(e) {
3847
3863
  getNumberFormat: De(function() {
3848
3864
  for (var t, r = [], n = 0; n < arguments.length; n++)
3849
3865
  r[n] = arguments[n];
3850
- return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3866
+ return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3851
3867
  }, {
3852
- cache: je(e.number),
3868
+ cache: ke(e.number),
3853
3869
  strategy: Fe.variadic
3854
3870
  }),
3855
3871
  getDateTimeFormat: De(function() {
3856
3872
  for (var t, r = [], n = 0; n < arguments.length; n++)
3857
3873
  r[n] = arguments[n];
3858
- return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3874
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3859
3875
  }, {
3860
- cache: je(e.dateTime),
3876
+ cache: ke(e.dateTime),
3861
3877
  strategy: Fe.variadic
3862
3878
  }),
3863
3879
  getPluralRules: De(function() {
3864
3880
  for (var t, r = [], n = 0; n < arguments.length; n++)
3865
3881
  r[n] = arguments[n];
3866
- return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3882
+ return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3867
3883
  }, {
3868
- cache: je(e.pluralRules),
3884
+ cache: ke(e.pluralRules),
3869
3885
  strategy: Fe.variadic
3870
3886
  })
3871
3887
  };
3872
3888
  }
3873
- var Ui = (
3889
+ var $i = (
3874
3890
  /** @class */
3875
3891
  function() {
3876
3892
  function e(t, r, n, i) {
@@ -3889,7 +3905,7 @@ var Ui = (
3889
3905
  }, []);
3890
3906
  return u.length <= 1 ? u[0] || "" : u;
3891
3907
  }, this.formatToParts = function(h) {
3892
- return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3908
+ return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3893
3909
  }, this.resolvedOptions = function() {
3894
3910
  var h;
3895
3911
  return {
@@ -3902,13 +3918,13 @@ var Ui = (
3902
3918
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3903
3919
  var a = i || {};
3904
3920
  a.formatters;
3905
- var s = gn(a, ["formatters"]);
3906
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3921
+ var s = Jn(a, ["formatters"]);
3922
+ this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
3907
3923
  } else
3908
3924
  this.ast = t;
3909
3925
  if (!Array.isArray(this.ast))
3910
3926
  throw new TypeError("A message must be provided as a String or AST.");
3911
- this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
3927
+ this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || Ui(this.formatterCache);
3912
3928
  }
3913
3929
  return Object.defineProperty(e, "defaultLocale", {
3914
3930
  get: function() {
@@ -4003,33 +4019,33 @@ function Di(e, t) {
4003
4019
  n = void 0;
4004
4020
  return n;
4005
4021
  }
4006
- const $ = {}, Fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Er = (e, t) => {
4022
+ const F = {}, Fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Er = (e, t) => {
4007
4023
  if (t == null)
4008
4024
  return;
4009
- if (t in $ && e in $[t])
4010
- return $[t][e];
4025
+ if (t in F && e in F[t])
4026
+ return F[t][e];
4011
4027
  const r = Le(t);
4012
4028
  for (let n = 0; n < r.length; n++) {
4013
- const i = r[n], o = ji(i, e);
4029
+ const i = r[n], o = ki(i, e);
4014
4030
  if (o)
4015
4031
  return Fi(e, t, o);
4016
4032
  }
4017
4033
  };
4018
- let lt;
4019
- const se = Ie({});
4020
- function $i(e) {
4021
- return lt[e] || null;
4034
+ let ht;
4035
+ const oe = Re({});
4036
+ function ji(e) {
4037
+ return ht[e] || null;
4022
4038
  }
4023
4039
  function wr(e) {
4024
- return e in lt;
4040
+ return e in ht;
4025
4041
  }
4026
- function ji(e, t) {
4042
+ function ki(e, t) {
4027
4043
  if (!wr(e))
4028
4044
  return null;
4029
- const r = $i(e);
4045
+ const r = ji(e);
4030
4046
  return Di(r, t);
4031
4047
  }
4032
- function ki(e) {
4048
+ function Vi(e) {
4033
4049
  if (e == null)
4034
4050
  return;
4035
4051
  const t = Le(e);
@@ -4040,27 +4056,27 @@ function ki(e) {
4040
4056
  }
4041
4057
  }
4042
4058
  function Sr(e, ...t) {
4043
- delete $[e], se.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
4059
+ delete F[e], oe.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
4044
4060
  }
4045
- ae(
4046
- [se],
4061
+ ie(
4062
+ [oe],
4047
4063
  ([e]) => Object.keys(e)
4048
4064
  );
4049
- se.subscribe((e) => lt = e);
4050
- const Te = {};
4051
- function Vi(e, t) {
4052
- Te[e].delete(t), Te[e].size === 0 && delete Te[e];
4065
+ oe.subscribe((e) => ht = e);
4066
+ const Se = {};
4067
+ function Wi(e, t) {
4068
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4053
4069
  }
4054
4070
  function Tr(e) {
4055
- return Te[e];
4071
+ return Se[e];
4056
4072
  }
4057
- function Wi(e) {
4073
+ function Xi(e) {
4058
4074
  return Le(e).map((t) => {
4059
4075
  const r = Tr(t);
4060
4076
  return [t, r ? [...r] : []];
4061
4077
  }).filter(([, t]) => t.length > 0);
4062
4078
  }
4063
- function it(e) {
4079
+ function st(e) {
4064
4080
  return e == null ? !1 : Le(e).some(
4065
4081
  (t) => {
4066
4082
  var r;
@@ -4068,27 +4084,27 @@ function it(e) {
4068
4084
  }
4069
4085
  );
4070
4086
  }
4071
- function Xi(e, t) {
4087
+ function zi(e, t) {
4072
4088
  return Promise.all(
4073
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4089
+ t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
4074
4090
  ).then((n) => Sr(e, ...n));
4075
4091
  }
4076
- const he = {};
4092
+ const ue = {};
4077
4093
  function Hr(e) {
4078
- if (!it(e))
4079
- return e in he ? he[e] : Promise.resolve();
4080
- const t = Wi(e);
4081
- return he[e] = Promise.all(
4094
+ if (!st(e))
4095
+ return e in ue ? ue[e] : Promise.resolve();
4096
+ const t = Xi(e);
4097
+ return ue[e] = Promise.all(
4082
4098
  t.map(
4083
- ([r, n]) => Xi(r, n)
4099
+ ([r, n]) => zi(r, n)
4084
4100
  )
4085
4101
  ).then(() => {
4086
- if (it(e))
4102
+ if (st(e))
4087
4103
  return Hr(e);
4088
- delete he[e];
4089
- }), he[e];
4104
+ delete ue[e];
4105
+ }), ue[e];
4090
4106
  }
4091
- const zi = {
4107
+ const Ji = {
4092
4108
  number: {
4093
4109
  scientific: { notation: "scientific" },
4094
4110
  engineering: { notation: "engineering" },
@@ -4117,57 +4133,57 @@ const zi = {
4117
4133
  timeZoneName: "short"
4118
4134
  }
4119
4135
  }
4120
- }, Ji = {
4136
+ }, Zi = {
4121
4137
  fallbackLocale: null,
4122
4138
  loadingDelay: 200,
4123
- formats: zi,
4139
+ formats: Ji,
4124
4140
  warnOnMissingMessages: !0,
4125
4141
  handleMissingMessage: void 0,
4126
4142
  ignoreTag: !0
4127
- }, Zi = Ji;
4128
- function oe() {
4129
- return Zi;
4143
+ }, Qi = Zi;
4144
+ function ne() {
4145
+ return Qi;
4130
4146
  }
4131
- const ke = Ie(!1);
4132
- var Qi = Object.defineProperty, Yi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4147
+ const Ve = Re(!1);
4148
+ var Yi = Object.defineProperty, qi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
4133
4149
  for (var r in t || (t = {}))
4134
- Ki.call(t, r) && Nt(e, r, t[r]);
4150
+ eo.call(t, r) && Gt(e, r, t[r]);
4135
4151
  if (Ct)
4136
4152
  for (var r of Ct(t))
4137
- eo.call(t, r) && Nt(e, r, t[r]);
4153
+ to.call(t, r) && Gt(e, r, t[r]);
4138
4154
  return e;
4139
- }, ro = (e, t) => Yi(e, qi(t));
4140
- let ot;
4141
- const Ae = Ie(null);
4142
- function Gt(e) {
4155
+ }, no = (e, t) => qi(e, Ki(t));
4156
+ let ut;
4157
+ const Ae = Re(null);
4158
+ function Ut(e) {
4143
4159
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4144
4160
  }
4145
- function Le(e, t = oe().fallbackLocale) {
4146
- const r = Gt(e);
4147
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4161
+ function Le(e, t = ne().fallbackLocale) {
4162
+ const r = Ut(e);
4163
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4148
4164
  }
4149
- function Z() {
4150
- return ot ?? void 0;
4165
+ function J() {
4166
+ return ut ?? void 0;
4151
4167
  }
4152
4168
  Ae.subscribe((e) => {
4153
- ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4169
+ ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4154
4170
  });
4155
- const no = (e) => {
4156
- if (e && ki(e) && it(e)) {
4157
- const { loadingDelay: t } = oe();
4171
+ const io = (e) => {
4172
+ if (e && Vi(e) && st(e)) {
4173
+ const { loadingDelay: t } = ne();
4158
4174
  let r;
4159
- return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4160
- () => ke.set(!0),
4175
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4176
+ () => Ve.set(!0),
4161
4177
  t
4162
- ) : ke.set(!0), Hr(e).then(() => {
4178
+ ) : Ve.set(!0), Hr(e).then(() => {
4163
4179
  Ae.set(e);
4164
4180
  }).finally(() => {
4165
- clearTimeout(r), ke.set(!1);
4181
+ clearTimeout(r), Ve.set(!1);
4166
4182
  });
4167
4183
  }
4168
4184
  return Ae.set(e);
4169
- }, V = ro(to({}, Ae), {
4170
- set: no
4185
+ }, V = no(ro({}, Ae), {
4186
+ set: io
4171
4187
  }), Me = (e) => {
4172
4188
  const t = /* @__PURE__ */ Object.create(null);
4173
4189
  return (n) => {
@@ -4175,14 +4191,14 @@ const no = (e) => {
4175
4191
  return i in t ? t[i] : t[i] = e(n);
4176
4192
  };
4177
4193
  };
4178
- var io = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4194
+ var oo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4179
4195
  for (var r in t || (t = {}))
4180
- Br.call(t, r) && Ut(e, r, t[r]);
4196
+ Br.call(t, r) && $t(e, r, t[r]);
4181
4197
  if (Pe)
4182
4198
  for (var r of Pe(t))
4183
- Ar.call(t, r) && Ut(e, r, t[r]);
4199
+ Ar.call(t, r) && $t(e, r, t[r]);
4184
4200
  return e;
4185
- }, ue = (e, t) => {
4201
+ }, ae = (e, t) => {
4186
4202
  var r = {};
4187
4203
  for (var n in e)
4188
4204
  Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -4191,67 +4207,67 @@ var io = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Br = Object.p
4191
4207
  t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
4192
4208
  return r;
4193
4209
  };
4194
- const pe = (e, t) => {
4195
- const { formats: r } = oe();
4210
+ const me = (e, t) => {
4211
+ const { formats: r } = ne();
4196
4212
  if (e in r && t in r[e])
4197
4213
  return r[e][t];
4198
4214
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4199
- }, oo = Me(
4215
+ }, ao = Me(
4200
4216
  (e) => {
4201
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4217
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4202
4218
  if (r == null)
4203
4219
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4204
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4220
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
4205
4221
  }
4206
- ), ao = Me(
4222
+ ), so = Me(
4207
4223
  (e) => {
4208
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4224
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4209
4225
  if (r == null)
4210
4226
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4211
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4227
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
4212
4228
  }
4213
- ), so = Me(
4229
+ ), uo = Me(
4214
4230
  (e) => {
4215
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4231
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4216
4232
  if (r == null)
4217
4233
  throw new Error(
4218
4234
  '[svelte-i18n] A "locale" must be set to format time values'
4219
4235
  );
4220
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4236
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
4221
4237
  }
4222
- ), uo = (e = {}) => {
4238
+ ), lo = (e = {}) => {
4223
4239
  var t = e, {
4224
- locale: r = Z()
4225
- } = t, n = ue(t, [
4240
+ locale: r = J()
4241
+ } = t, n = ae(t, [
4226
4242
  "locale"
4227
4243
  ]);
4228
- return oo(ht({ locale: r }, n));
4229
- }, lo = (e = {}) => {
4244
+ return ao(ct({ locale: r }, n));
4245
+ }, ho = (e = {}) => {
4230
4246
  var t = e, {
4231
- locale: r = Z()
4232
- } = t, n = ue(t, [
4247
+ locale: r = J()
4248
+ } = t, n = ae(t, [
4233
4249
  "locale"
4234
4250
  ]);
4235
- return ao(ht({ locale: r }, n));
4236
- }, ho = (e = {}) => {
4251
+ return so(ct({ locale: r }, n));
4252
+ }, co = (e = {}) => {
4237
4253
  var t = e, {
4238
- locale: r = Z()
4239
- } = t, n = ue(t, [
4254
+ locale: r = J()
4255
+ } = t, n = ae(t, [
4240
4256
  "locale"
4241
4257
  ]);
4242
- return so(ht({ locale: r }, n));
4243
- }, co = Me(
4258
+ return uo(ct({ locale: r }, n));
4259
+ }, fo = Me(
4244
4260
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4245
- (e, t = Z()) => new Ui(e, t, oe().formats, {
4246
- ignoreTag: oe().ignoreTag
4261
+ (e, t = J()) => new $i(e, t, ne().formats, {
4262
+ ignoreTag: ne().ignoreTag
4247
4263
  })
4248
- ), fo = (e, t = {}) => {
4264
+ ), mo = (e, t = {}) => {
4249
4265
  var r, n, i, o;
4250
4266
  let a = t;
4251
4267
  typeof e == "object" && (a = e, e = a.id);
4252
4268
  const {
4253
4269
  values: s,
4254
- locale: h = Z(),
4270
+ locale: h = J(),
4255
4271
  default: l
4256
4272
  } = a;
4257
4273
  if (h == null)
@@ -4260,7 +4276,7 @@ const pe = (e, t) => {
4260
4276
  );
4261
4277
  let u = Er(e, h);
4262
4278
  if (!u)
4263
- 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;
4279
+ u = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4264
4280
  else if (typeof u != "string")
4265
4281
  return console.warn(
4266
4282
  `[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.`
@@ -4269,7 +4285,7 @@ const pe = (e, t) => {
4269
4285
  return u;
4270
4286
  let f = u;
4271
4287
  try {
4272
- f = co(u, h).format(s);
4288
+ f = fo(u, h).format(s);
4273
4289
  } catch (c) {
4274
4290
  c instanceof Error && console.warn(
4275
4291
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4277,20 +4293,20 @@ const pe = (e, t) => {
4277
4293
  );
4278
4294
  }
4279
4295
  return f;
4280
- }, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = Z()) => Er(e, t), yo = ae([V, se], () => fo);
4281
- ae([V], () => mo);
4282
- ae([V], () => po);
4283
- ae([V], () => bo);
4284
- ae([V, se], () => go);
4285
- window.emWidgets = { topic: In };
4286
- const vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4287
- function _o(e, t) {
4296
+ }, po = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), yo = (e, t = J()) => Er(e, t), vo = ie([V, oe], () => mo);
4297
+ ie([V], () => po);
4298
+ ie([V], () => bo);
4299
+ ie([V], () => go);
4300
+ ie([V, oe], () => yo);
4301
+ window.emWidgets = { topic: On };
4302
+ const _o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4303
+ function xo(e, t) {
4288
4304
  if (e) {
4289
4305
  const r = document.createElement("style");
4290
4306
  r.innerHTML = t, e.appendChild(r);
4291
4307
  }
4292
4308
  }
4293
- function xo(e, t) {
4309
+ function Eo(e, t) {
4294
4310
  const r = new URL(t);
4295
4311
  fetch(r.href).then((n) => n.text()).then((n) => {
4296
4312
  const i = document.createElement("style");
@@ -4299,7 +4315,7 @@ function xo(e, t) {
4299
4315
  console.error("There was an error while trying to load client styling from URL", n);
4300
4316
  });
4301
4317
  }
4302
- function Eo(e, t, r) {
4318
+ function wo(e, t, r) {
4303
4319
  if (window.emMessageBus) {
4304
4320
  const n = document.createElement("style");
4305
4321
  window.emMessageBus.subscribe(t, (i) => {
@@ -4307,15 +4323,15 @@ function Eo(e, t, r) {
4307
4323
  });
4308
4324
  }
4309
4325
  }
4310
- function wo({ withLocale: e, translations: t }) {
4326
+ function So({ withLocale: e, translations: t }) {
4311
4327
  V.subscribe((r) => {
4312
- r == null && (se.set(t), V.set(e));
4328
+ r == null && (oe.set(t), V.set(e));
4313
4329
  });
4314
4330
  }
4315
4331
  function Dt(e, t) {
4316
4332
  Sr(e, t);
4317
4333
  }
4318
- function So(e) {
4334
+ function To(e) {
4319
4335
  V.set(e);
4320
4336
  }
4321
4337
  const Ft = {
@@ -4392,15 +4408,15 @@ const Ft = {
4392
4408
  noGames: "There are no random games to play"
4393
4409
  }
4394
4410
  };
4395
- function To(e) {
4411
+ function Ho(e) {
4396
4412
  Qr(e, "svelte-fd0a5p", "*,*::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}.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, #D0046C));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{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, #D0046C));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, #D0046C));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}");
4397
4413
  }
4398
- function $t(e, t, r) {
4414
+ function jt(e, t, r) {
4399
4415
  const n = e.slice();
4400
4416
  return n[41] = t[r], n;
4401
4417
  }
4402
- const Ho = (e) => ({}), jt = (e) => ({});
4403
- function kt(e) {
4418
+ const Bo = (e) => ({}), kt = (e) => ({});
4419
+ function Vt(e) {
4404
4420
  let t, r, n, i, o, a, s;
4405
4421
  const h = (
4406
4422
  /*#slots*/
@@ -4410,21 +4426,21 @@ function kt(e) {
4410
4426
  e,
4411
4427
  /*$$scope*/
4412
4428
  e[22],
4413
- jt
4414
- ), u = l || Bo();
4429
+ kt
4430
+ ), u = l || Ao();
4415
4431
  function f(d, p) {
4416
4432
  return (
4417
4433
  /*hasRandomGames*/
4418
- d[7] ? Po : Ao
4434
+ d[7] ? Oo : Po
4419
4435
  );
4420
4436
  }
4421
4437
  let c = f(e), m = c(e);
4422
4438
  return {
4423
4439
  c() {
4424
- t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = k(), m.c(), _(n, "class", "ModalCloseBtn"), _(n, "role", "button"), _(r, "class", "ModalContainer"), _(t, "class", "ModalWindow");
4440
+ t = w("div"), r = w("div"), n = w("span"), u && u.c(), i = k(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4425
4441
  },
4426
4442
  m(d, p) {
4427
- 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 = He(
4443
+ I(d, t, p), _(t, r), _(r, n), u && u.m(n, null), _(r, i), m.m(r, null), o = !0, a || (s = Te(
4428
4444
  n,
4429
4445
  "click",
4430
4446
  /*closeModal*/
@@ -4444,69 +4460,69 @@ function kt(e) {
4444
4460
  /*$$scope*/
4445
4461
  d[22],
4446
4462
  p,
4447
- Ho
4463
+ Bo
4448
4464
  ) : Zr(
4449
4465
  /*$$scope*/
4450
4466
  d[22]
4451
4467
  ),
4452
- jt
4468
+ kt
4453
4469
  ), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4454
4470
  },
4455
4471
  i(d) {
4456
- o || (fe(u, d), o = !0);
4472
+ o || (he(u, d), o = !0);
4457
4473
  },
4458
4474
  o(d) {
4459
- Xe(u, d), o = !1;
4475
+ ze(u, d), o = !1;
4460
4476
  },
4461
4477
  d(d) {
4462
- d && R(t), u && u.d(d), m.d(), a = !1, s();
4478
+ d && O(t), u && u.d(d), m.d(), a = !1, s();
4463
4479
  }
4464
4480
  };
4465
4481
  }
4466
- function Bo(e) {
4482
+ function Ao(e) {
4467
4483
  let t, r;
4468
4484
  return {
4469
4485
  c() {
4470
- t = bt("svg"), r = bt("path"), _(r, "stroke-linecap", "round"), _(r, "stroke-linejoin", "round"), _(r, "stroke-width", "2"), _(r, "d", "M6 18L18 6M6 6l12 12"), _(t, "class", "w-6 h-6"), _(t, "fill", "none"), _(t, "stroke", "currentColor"), _(t, "viewBox", "0 0 24 24"), _(t, "xmlns", "http://www.w3.org/2000/svg");
4486
+ t = gt("svg"), r = gt("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");
4471
4487
  },
4472
4488
  m(n, i) {
4473
- O(n, t, i), x(t, r);
4489
+ I(n, t, i), _(t, r);
4474
4490
  },
4475
4491
  p: C,
4476
4492
  d(n) {
4477
- n && R(t);
4493
+ n && O(t);
4478
4494
  }
4479
4495
  };
4480
4496
  }
4481
- function Ao(e) {
4497
+ function Po(e) {
4482
4498
  let t, r = (
4483
4499
  /*$_*/
4484
4500
  e[9]("noGames") + ""
4485
4501
  ), n;
4486
4502
  return {
4487
4503
  c() {
4488
- t = S("p"), n = j(r), _(t, "class", "RandomGameLoading");
4504
+ t = w("p"), n = j(r), g(t, "class", "RandomGameLoading");
4489
4505
  },
4490
4506
  m(i, o) {
4491
- O(i, t, o), x(t, n);
4507
+ I(i, t, o), _(t, n);
4492
4508
  },
4493
4509
  p(i, o) {
4494
4510
  o[0] & /*$_*/
4495
4511
  512 && r !== (r = /*$_*/
4496
- i[9]("noGames") + "") && z(n, r);
4512
+ i[9]("noGames") + "") && X(n, r);
4497
4513
  },
4498
4514
  d(i) {
4499
- i && R(t);
4515
+ i && O(t);
4500
4516
  }
4501
4517
  };
4502
4518
  }
4503
- function Po(e) {
4504
- let t, r, n, i, o = yt(
4519
+ function Oo(e) {
4520
+ let t, r, n, i, o = vt(
4505
4521
  /*gamesToShow*/
4506
4522
  e[4]
4507
4523
  ), a = [];
4508
4524
  for (let u = 0; u < o.length; u += 1)
4509
- a[u] = Vt($t(e, o, u));
4525
+ a[u] = Wt(jt(e, o, u));
4510
4526
  function s(u, f) {
4511
4527
  return (
4512
4528
  /*animationDone*/
@@ -4516,28 +4532,28 @@ function Po(e) {
4516
4532
  let h = s(e), l = h(e);
4517
4533
  return {
4518
4534
  c() {
4519
- t = S("div"), r = S("main"), n = S("div");
4535
+ t = w("div"), r = w("main"), n = w("div");
4520
4536
  for (let u = 0; u < a.length; u += 1)
4521
4537
  a[u].c();
4522
- i = k(), l.c(), _(n, "class", "GamesContainer"), _(r, "class", "RandomGamesSliderWrapper"), _(t, "class", "RandomGameWrapper");
4538
+ i = k(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4523
4539
  },
4524
4540
  m(u, f) {
4525
- O(u, t, f), x(t, r), x(r, n);
4541
+ I(u, t, f), _(t, r), _(r, n);
4526
4542
  for (let c = 0; c < a.length; c += 1)
4527
4543
  a[c] && a[c].m(n, null);
4528
- e[24](n), x(t, i), l.m(t, null);
4544
+ e[24](n), _(t, i), l.m(t, null);
4529
4545
  },
4530
4546
  p(u, f) {
4531
4547
  if (f[0] & /*gamesToShow*/
4532
4548
  16) {
4533
- o = yt(
4549
+ o = vt(
4534
4550
  /*gamesToShow*/
4535
4551
  u[4]
4536
4552
  );
4537
4553
  let c;
4538
4554
  for (c = 0; c < o.length; c += 1) {
4539
- const m = $t(u, o, c);
4540
- a[c] ? a[c].p(m, f) : (a[c] = Vt(m), a[c].c(), a[c].m(n, null));
4555
+ const m = jt(u, o, c);
4556
+ a[c] ? a[c].p(m, f) : (a[c] = Wt(m), a[c].c(), a[c].m(n, null));
4541
4557
  }
4542
4558
  for (; c < a.length; c += 1)
4543
4559
  a[c].d(1);
@@ -4546,33 +4562,33 @@ function Po(e) {
4546
4562
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4547
4563
  },
4548
4564
  d(u) {
4549
- u && R(t), Kr(a, u), e[24](null), l.d();
4565
+ u && O(t), Kr(a, u), e[24](null), l.d();
4550
4566
  }
4551
4567
  };
4552
4568
  }
4553
- function Vt(e) {
4569
+ function Wt(e) {
4554
4570
  let t, r, n, i, o, a;
4555
4571
  return {
4556
4572
  c() {
4557
- t = S("div"), r = S("ui-image"), a = k(), W(r, "imgClass", "RandomGameImage"), pt(r.src, n = /*game*/
4558
- e[41].thumbnail) || W(r, "src", n), W(r, "alt", i = /*game*/
4559
- e[41].name), W(r, "title", o = /*game*/
4560
- e[41].name), _(t, "class", "item");
4573
+ t = w("div"), r = w("img"), a = k(), g(r, "class", "RandomGameImage"), bt(r.src, n = /*game*/
4574
+ e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4575
+ e[41].name), g(r, "title", o = /*game*/
4576
+ e[41].name), g(t, "class", "item");
4561
4577
  },
4562
4578
  m(s, h) {
4563
- O(s, t, h), x(t, r), x(t, a);
4579
+ I(s, t, h), _(t, r), _(t, a);
4564
4580
  },
4565
4581
  p(s, h) {
4566
4582
  h[0] & /*gamesToShow*/
4567
- 16 && !pt(r.src, n = /*game*/
4568
- s[41].thumbnail) && W(r, "src", n), h[0] & /*gamesToShow*/
4583
+ 16 && !bt(r.src, n = /*game*/
4584
+ s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4569
4585
  16 && i !== (i = /*game*/
4570
- s[41].name) && W(r, "alt", i), h[0] & /*gamesToShow*/
4586
+ s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
4571
4587
  16 && o !== (o = /*game*/
4572
- s[41].name) && W(r, "title", o);
4588
+ s[41].name) && g(r, "title", o);
4573
4589
  },
4574
4590
  d(s) {
4575
- s && R(t);
4591
+ s && O(t);
4576
4592
  }
4577
4593
  };
4578
4594
  }
@@ -4583,18 +4599,18 @@ function Ro(e) {
4583
4599
  ), n;
4584
4600
  return {
4585
4601
  c() {
4586
- t = S("p"), n = j(r), _(t, "class", "RandomGameLoading");
4602
+ t = w("p"), n = j(r), g(t, "class", "RandomGameLoading");
4587
4603
  },
4588
4604
  m(i, o) {
4589
- O(i, t, o), x(t, n);
4605
+ I(i, t, o), _(t, n);
4590
4606
  },
4591
4607
  p(i, o) {
4592
4608
  o[0] & /*$_*/
4593
4609
  512 && r !== (r = /*$_*/
4594
- i[9]("randomGameLoading") + "") && z(n, r);
4610
+ i[9]("randomGameLoading") + "") && X(n, r);
4595
4611
  },
4596
4612
  d(i) {
4597
- i && R(t);
4613
+ i && O(t);
4598
4614
  }
4599
4615
  };
4600
4616
  }
@@ -4611,18 +4627,18 @@ function Io(e) {
4611
4627
  ), d, p, A;
4612
4628
  return {
4613
4629
  c() {
4614
- 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));}
4615
- </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 = k(), n = S("div"), i = S("p"), a = j(o), s = k(), h = S("p"), u = j(l), f = k(), c = S("button"), d = j(m), _(t, "class", "RandomTryAgain"), _(i, "class", "RandomGameTitle"), _(h, "class", "RandomGameVendor"), _(c, "class", "RandomGamePlay"), _(n, "class", "RandomGameDetails");
4630
+ 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));}
4631
+ </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 = k(), n = w("div"), i = w("p"), a = j(o), s = k(), h = w("p"), u = j(l), f = k(), c = w("button"), d = j(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4616
4632
  },
4617
4633
  m(H, T) {
4618
- 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 = [
4619
- He(
4634
+ 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 = [
4635
+ Te(
4620
4636
  t,
4621
4637
  "click",
4622
4638
  /*click_handler*/
4623
4639
  e[25]
4624
4640
  ),
4625
- He(
4641
+ Te(
4626
4642
  c,
4627
4643
  "click",
4628
4644
  /*click_handler_1*/
@@ -4633,36 +4649,36 @@ function Io(e) {
4633
4649
  p(H, T) {
4634
4650
  T[0] & /*randomGame*/
4635
4651
  8 && o !== (o = /*randomGame*/
4636
- H[3].name + "") && z(a, o), T[0] & /*randomGame*/
4652
+ H[3].name + "") && X(a, o), T[0] & /*randomGame*/
4637
4653
  8 && l !== (l = /*randomGame*/
4638
- H[3].vendor.name + "") && z(u, l), T[0] & /*$_*/
4654
+ H[3].vendor.name + "") && X(u, l), T[0] & /*$_*/
4639
4655
  512 && m !== (m = /*$_*/
4640
- H[9]("playNowRandomGame") + "") && z(d, m);
4656
+ H[9]("playNowRandomGame") + "") && X(d, m);
4641
4657
  },
4642
4658
  d(H) {
4643
- H && (R(t), R(r), R(n)), p = !1, J(A);
4659
+ H && (O(t), O(r), O(n)), p = !1, z(A);
4644
4660
  }
4645
4661
  };
4646
4662
  }
4647
- function Oo(e) {
4663
+ function No(e) {
4648
4664
  let t, r = (
4649
4665
  /*$_*/
4650
4666
  e[9]("playRandomGame") + ""
4651
4667
  ), n;
4652
4668
  return {
4653
4669
  c() {
4654
- t = S("span"), n = j(r), _(t, "class", "RandomButtonText");
4670
+ t = w("span"), n = j(r), g(t, "class", "RandomButtonText");
4655
4671
  },
4656
4672
  m(i, o) {
4657
- O(i, t, o), x(t, n);
4673
+ I(i, t, o), _(t, n);
4658
4674
  },
4659
4675
  p(i, o) {
4660
4676
  o[0] & /*$_*/
4661
4677
  512 && r !== (r = /*$_*/
4662
- i[9]("playRandomGame") + "") && z(n, r);
4678
+ i[9]("playRandomGame") + "") && X(n, r);
4663
4679
  },
4664
4680
  d(i) {
4665
- i && R(t);
4681
+ i && O(t);
4666
4682
  }
4667
4683
  };
4668
4684
  }
@@ -4670,31 +4686,31 @@ function Lo(e) {
4670
4686
  let t, r;
4671
4687
  return {
4672
4688
  c() {
4673
- t = S("span"), r = j(
4689
+ t = w("span"), r = j(
4674
4690
  /*buttontext*/
4675
4691
  e[1]
4676
- ), _(t, "class", "RandomButtonText");
4692
+ ), g(t, "class", "RandomButtonText");
4677
4693
  },
4678
4694
  m(n, i) {
4679
- O(n, t, i), x(t, r);
4695
+ I(n, t, i), _(t, r);
4680
4696
  },
4681
4697
  p(n, i) {
4682
4698
  i[0] & /*buttontext*/
4683
- 2 && z(
4699
+ 2 && X(
4684
4700
  r,
4685
4701
  /*buttontext*/
4686
4702
  n[1]
4687
4703
  );
4688
4704
  },
4689
4705
  d(n) {
4690
- n && R(t);
4706
+ n && O(t);
4691
4707
  }
4692
4708
  };
4693
4709
  }
4694
4710
  function Mo(e) {
4695
4711
  let t, r, n, i, o, a, s, h, l, u = (
4696
4712
  /*show*/
4697
- e[5] && kt(e)
4713
+ e[5] && Vt(e)
4698
4714
  );
4699
4715
  function f(d, p) {
4700
4716
  if (
@@ -4704,16 +4720,16 @@ function Mo(e) {
4704
4720
  return Lo;
4705
4721
  if (!/*buttontext*/
4706
4722
  d[1])
4707
- return Oo;
4723
+ return No;
4708
4724
  }
4709
4725
  let c = f(e), m = c && c(e);
4710
4726
  return {
4711
4727
  c() {
4712
- t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), _(a, "class", "RandomButtonIcon"), _(i, "class", "RandomButton"), _(n, "class", "RandomButtonWrapper");
4728
+ t = w("div"), u && u.c(), r = k(), n = w("div"), i = w("button"), m && m.c(), o = k(), a = w("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
4713
4729
  },
4714
4730
  m(d, p) {
4715
- 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*/
4716
- e[0], e[28](t), s = !0, h || (l = He(
4731
+ 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*/
4732
+ e[0], e[28](t), s = !0, h || (l = Te(
4717
4733
  i,
4718
4734
  "click",
4719
4735
  /*click_handler_2*/
@@ -4723,127 +4739,127 @@ function Mo(e) {
4723
4739
  p(d, p) {
4724
4740
  /*show*/
4725
4741
  d[5] ? u ? (u.p(d, p), p[0] & /*show*/
4726
- 32 && fe(u, 1)) : (u = kt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (un(), Xe(u, 1, 1, () => {
4742
+ 32 && he(u, 1)) : (u = Vt(d), u.c(), he(u, 1), u.m(t, r)) : u && (un(), ze(u, 1, 1, () => {
4727
4743
  u = null;
4728
4744
  }), ln()), 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*/
4729
4745
  1) && (a.innerHTML = /*randombuttonicon*/
4730
4746
  d[0]);
4731
4747
  },
4732
4748
  i(d) {
4733
- s || (fe(u), s = !0);
4749
+ s || (he(u), s = !0);
4734
4750
  },
4735
4751
  o(d) {
4736
- Xe(u), s = !1;
4752
+ ze(u), s = !1;
4737
4753
  },
4738
4754
  d(d) {
4739
- d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4755
+ d && O(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4740
4756
  }
4741
4757
  };
4742
4758
  }
4743
4759
  function Co(e, t, r) {
4744
4760
  let n;
4745
- Wr(e, yo, (b) => r(9, n = b));
4746
- let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1, N = !1, be = window.navigator.userAgent, G, Q, ct, ge, ft = null;
4747
- wo({ withLocale: "en", translations: {} });
4761
+ Wr(e, vo, (b) => r(9, n = b));
4762
+ 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, N = !1, L = !1, G = !1, pe = window.navigator.userAgent, U, Z, ft, be, mt = null;
4763
+ So({ withLocale: "en", translations: {} });
4748
4764
  const Pr = () => {
4749
- fetch(c).then((E) => E.json()).then((E) => {
4750
- Object.keys(E).forEach((U) => {
4751
- Dt(U, E[U]);
4765
+ fetch(c).then((x) => x.json()).then((x) => {
4766
+ Object.keys(x).forEach(($) => {
4767
+ Dt($, x[$]);
4752
4768
  });
4753
- }).catch((E) => {
4754
- console.log(E);
4769
+ }).catch((x) => {
4770
+ console.log(x);
4755
4771
  });
4756
4772
  };
4757
4773
  Object.keys(Ft).forEach((b) => {
4758
4774
  Dt(b, Ft[b]);
4759
4775
  });
4760
- const Rr = () => {
4776
+ const Or = () => {
4761
4777
  let b = new URL(`${a}/v1/casino/games`);
4762
- b.searchParams.append("platform", vo(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) => {
4763
- H = E.items, H.length ? (r(4, B = Ir(H.slice(0, 19))), r(7, N = !0)) : (r(4, B = []), r(7, N = !1));
4764
- }).catch((E) => {
4765
- console.log(E), r(7, N = !1);
4778
+ b.searchParams.append("platform", _o(pe)), 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) => {
4779
+ H = x.items, H.length ? (r(4, B = Rr(H.slice(0, 19))), r(7, G = !0)) : (r(4, B = []), r(7, G = !1));
4780
+ }).catch((x) => {
4781
+ console.log(x), r(7, G = !1);
4766
4782
  });
4767
- }, Ir = (b) => {
4768
- const E = Lr(b);
4769
- return E.concat(E);
4770
- }, Or = async () => {
4771
- await on(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), ct = Q.children[ge];
4783
+ }, Rr = (b) => {
4784
+ const x = Nr(b);
4785
+ return x.concat(x);
4786
+ }, Ir = async () => {
4787
+ await on(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), ft = Z.children[be];
4772
4788
  }, Ce = async () => {
4773
- r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Or();
4774
- const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (ct.offsetHeight + E) * ge, $r = [
4789
+ r(6, L = !1), r(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Ir();
4790
+ const b = window.getComputedStyle(Z).getPropertyValue("gap"), x = parseInt(b, 10) || 0, se = (ft.offsetHeight + x) * be, Fr = [
4775
4791
  { transform: "translateX(0px)" },
4776
4792
  { filter: "blur(5px)" },
4777
4793
  {
4778
- transform: `translateY(-${le}px)`
4794
+ transform: `translateY(-${se}px)`
4779
4795
  }
4780
4796
  ], jr = {
4781
4797
  duration: 2e3,
4782
4798
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4783
4799
  fill: "forwards"
4784
4800
  };
4785
- ft = Q.animate($r, jr), ft.onfinish = () => {
4786
- r(6, M = !0);
4801
+ mt = Z.animate(Fr, jr), mt.onfinish = () => {
4802
+ r(6, L = !0);
4787
4803
  };
4788
- }, Lr = (b) => {
4789
- const E = structuredClone(b);
4790
- let U = E.length, le;
4791
- for (; U != 0; )
4792
- le = Math.floor(Math.random() * U), U--, [E[U], E[le]] = [E[le], E[U]];
4793
- return E;
4794
- }, mt = () => {
4804
+ }, Nr = (b) => {
4805
+ const x = structuredClone(b);
4806
+ let $ = x.length, se;
4807
+ for (; $ != 0; )
4808
+ se = Math.floor(Math.random() * $), $--, [x[$], x[se]] = [x[se], x[$]];
4809
+ return x;
4810
+ }, dt = () => {
4795
4811
  window.postMessage(
4796
4812
  {
4797
4813
  type: h,
4798
4814
  gameId: T.gId || T.id
4799
4815
  },
4800
4816
  window.location.href
4801
- ), r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4817
+ ), r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4802
4818
  context: "RandomGameWidget",
4803
4819
  gameId: `${T.gId || T.id}`
4804
4820
  });
4821
+ }, Lr = () => {
4822
+ r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
4805
4823
  }, Mr = () => {
4806
- r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: L }, window.location.href);
4807
- }, Cr = () => {
4808
- So(l);
4824
+ To(l);
4809
4825
  };
4810
4826
  nn(() => () => {
4811
4827
  });
4812
- function Nr(b) {
4813
- Be[b ? "unshift" : "push"](() => {
4814
- Q = b, r(8, Q);
4828
+ function Cr(b) {
4829
+ He[b ? "unshift" : "push"](() => {
4830
+ Z = b, r(8, Z);
4815
4831
  });
4816
4832
  }
4817
- const Gr = () => Ce(), Ur = () => mt(), Dr = () => Ce();
4818
- function Fr(b) {
4819
- Be[b ? "unshift" : "push"](() => {
4820
- G = b, r(2, G);
4833
+ const Gr = () => Ce(), Ur = () => dt(), $r = () => Ce();
4834
+ function Dr(b) {
4835
+ He[b ? "unshift" : "push"](() => {
4836
+ U = b, r(2, U);
4821
4837
  });
4822
4838
  }
4823
4839
  return e.$$set = (b) => {
4824
4840
  "endpoint" in b && r(13, a = b.endpoint), "datasource" in b && r(14, s = b.datasource), "gameevent" in b && r(15, h = b.gameevent), "lang" in b && r(16, l = b.lang), "randombuttonicon" in b && r(0, u = b.randombuttonicon), "buttontext" in b && r(1, f = b.buttontext), "translationurl" in b && r(17, c = b.translationurl), "clientstyling" in b && r(18, m = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "filteredrandomgamecategories" in b && r(20, p = b.filteredrandomgamecategories), "mbsource" in b && r(21, A = b.mbsource), "$$scope" in b && r(22, o = b.$$scope);
4825
4841
  }, e.$$.update = () => {
4826
4842
  e.$$.dirty[0] & /*lang*/
4827
- 65536 && l && Cr(), e.$$.dirty[0] & /*translationurl*/
4843
+ 65536 && l && Mr(), e.$$.dirty[0] & /*translationurl*/
4828
4844
  131072 && c && Pr(), e.$$.dirty[0] & /*endpoint, datasource*/
4829
- 24576 && a && s && Rr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4830
- 262148 && m && G && _o(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4831
- 524292 && d && G && xo(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4832
- 2097156 && G && Eo(G, `${A}.Style`);
4845
+ 24576 && a && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4846
+ 262148 && m && U && xo(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4847
+ 524292 && d && U && Eo(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4848
+ 2097156 && U && wo(U, `${A}.Style`);
4833
4849
  }, [
4834
4850
  u,
4835
4851
  f,
4836
- G,
4852
+ U,
4837
4853
  T,
4838
4854
  B,
4839
- L,
4840
- M,
4841
4855
  N,
4842
- Q,
4856
+ L,
4857
+ G,
4858
+ Z,
4843
4859
  n,
4844
4860
  Ce,
4845
- mt,
4846
- Mr,
4861
+ dt,
4862
+ Lr,
4847
4863
  a,
4848
4864
  s,
4849
4865
  h,
@@ -4855,21 +4871,21 @@ function Co(e, t, r) {
4855
4871
  A,
4856
4872
  o,
4857
4873
  i,
4858
- Nr,
4874
+ Cr,
4859
4875
  Gr,
4860
4876
  Ur,
4861
- Dr,
4862
- Fr
4877
+ $r,
4878
+ Dr
4863
4879
  ];
4864
4880
  }
4865
- class No extends pn {
4881
+ class Go extends pn {
4866
4882
  constructor(t) {
4867
4883
  super(), mn(
4868
4884
  this,
4869
4885
  t,
4870
4886
  Co,
4871
4887
  Mo,
4872
- Xt,
4888
+ zt,
4873
4889
  {
4874
4890
  endpoint: 13,
4875
4891
  datasource: 14,
@@ -4883,7 +4899,7 @@ class No extends pn {
4883
4899
  filteredrandomgamecategories: 20,
4884
4900
  mbsource: 21
4885
4901
  },
4886
- To,
4902
+ Ho,
4887
4903
  [-1, -1]
4888
4904
  );
4889
4905
  }
@@ -4891,70 +4907,70 @@ class No extends pn {
4891
4907
  return this.$$.ctx[13];
4892
4908
  }
4893
4909
  set endpoint(t) {
4894
- this.$$set({ endpoint: t }), I();
4910
+ this.$$set({ endpoint: t }), R();
4895
4911
  }
4896
4912
  get datasource() {
4897
4913
  return this.$$.ctx[14];
4898
4914
  }
4899
4915
  set datasource(t) {
4900
- this.$$set({ datasource: t }), I();
4916
+ this.$$set({ datasource: t }), R();
4901
4917
  }
4902
4918
  get gameevent() {
4903
4919
  return this.$$.ctx[15];
4904
4920
  }
4905
4921
  set gameevent(t) {
4906
- this.$$set({ gameevent: t }), I();
4922
+ this.$$set({ gameevent: t }), R();
4907
4923
  }
4908
4924
  get lang() {
4909
4925
  return this.$$.ctx[16];
4910
4926
  }
4911
4927
  set lang(t) {
4912
- this.$$set({ lang: t }), I();
4928
+ this.$$set({ lang: t }), R();
4913
4929
  }
4914
4930
  get randombuttonicon() {
4915
4931
  return this.$$.ctx[0];
4916
4932
  }
4917
4933
  set randombuttonicon(t) {
4918
- this.$$set({ randombuttonicon: t }), I();
4934
+ this.$$set({ randombuttonicon: t }), R();
4919
4935
  }
4920
4936
  get buttontext() {
4921
4937
  return this.$$.ctx[1];
4922
4938
  }
4923
4939
  set buttontext(t) {
4924
- this.$$set({ buttontext: t }), I();
4940
+ this.$$set({ buttontext: t }), R();
4925
4941
  }
4926
4942
  get translationurl() {
4927
4943
  return this.$$.ctx[17];
4928
4944
  }
4929
4945
  set translationurl(t) {
4930
- this.$$set({ translationurl: t }), I();
4946
+ this.$$set({ translationurl: t }), R();
4931
4947
  }
4932
4948
  get clientstyling() {
4933
4949
  return this.$$.ctx[18];
4934
4950
  }
4935
4951
  set clientstyling(t) {
4936
- this.$$set({ clientstyling: t }), I();
4952
+ this.$$set({ clientstyling: t }), R();
4937
4953
  }
4938
4954
  get clientstylingurl() {
4939
4955
  return this.$$.ctx[19];
4940
4956
  }
4941
4957
  set clientstylingurl(t) {
4942
- this.$$set({ clientstylingurl: t }), I();
4958
+ this.$$set({ clientstylingurl: t }), R();
4943
4959
  }
4944
4960
  get filteredrandomgamecategories() {
4945
4961
  return this.$$.ctx[20];
4946
4962
  }
4947
4963
  set filteredrandomgamecategories(t) {
4948
- this.$$set({ filteredrandomgamecategories: t }), I();
4964
+ this.$$set({ filteredrandomgamecategories: t }), R();
4949
4965
  }
4950
4966
  get mbsource() {
4951
4967
  return this.$$.ctx[21];
4952
4968
  }
4953
4969
  set mbsource(t) {
4954
- this.$$set({ mbsource: t }), I();
4970
+ this.$$set({ mbsource: t }), R();
4955
4971
  }
4956
4972
  }
4957
- dn(No, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4973
+ dn(Go, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4958
4974
  export {
4959
- No as C
4975
+ Go as C
4960
4976
  };