@everymatrix/casino-random-game 1.60.2 → 1.61.0

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,6 +1,7 @@
1
+ import "../stencil/ui-image-BNrzgSpe.js";
1
2
  function M() {
2
3
  }
3
- function Ur(e, t) {
4
+ function Dr(e, t) {
4
5
  for (const r in t)
5
6
  e[r] = t[r];
6
7
  return (
@@ -8,29 +9,29 @@ function Ur(e, t) {
8
9
  e
9
10
  );
10
11
  }
11
- function $t(e) {
12
+ function jt(e) {
12
13
  return e();
13
14
  }
14
- function ht() {
15
+ function ct() {
15
16
  return /* @__PURE__ */ Object.create(null);
16
17
  }
17
- function z(e) {
18
- e.forEach($t);
18
+ function J(e) {
19
+ e.forEach(jt);
19
20
  }
20
- function it(e) {
21
+ function ot(e) {
21
22
  return typeof e == "function";
22
23
  }
23
- function jt(e, t) {
24
+ function kt(e, t) {
24
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
26
  }
26
- let ge;
27
- function ct(e, t) {
28
- return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
27
+ let ye;
28
+ function ft(e, t) {
29
+ return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
29
30
  }
30
- function Dr(e) {
31
+ function Fr(e) {
31
32
  return Object.keys(e).length === 0;
32
33
  }
33
- function kt(e, ...t) {
34
+ function Vt(e, ...t) {
34
35
  if (e == null) {
35
36
  for (const n of t)
36
37
  n(void 0);
@@ -39,19 +40,19 @@ function kt(e, ...t) {
39
40
  const r = e.subscribe(...t);
40
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
42
  }
42
- function Fr(e, t, r) {
43
- e.$$.on_destroy.push(kt(t, r));
43
+ function $r(e, t, r) {
44
+ e.$$.on_destroy.push(Vt(t, r));
44
45
  }
45
- function $r(e, t, r, n) {
46
+ function jr(e, t, r, n) {
46
47
  if (e) {
47
- const i = Vt(e, t, r, n);
48
+ const i = Wt(e, t, r, n);
48
49
  return e[0](i);
49
50
  }
50
51
  }
51
- function Vt(e, t, r, n) {
52
- return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Wt(e, t, r, n) {
53
+ return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
54
  }
54
- function jr(e, t, r, n) {
55
+ function kr(e, t, r, n) {
55
56
  if (e[2] && n) {
56
57
  const i = e[2](n(r));
57
58
  if (t.dirty === void 0)
@@ -66,13 +67,13 @@ function jr(e, t, r, n) {
66
67
  }
67
68
  return t.dirty;
68
69
  }
69
- function kr(e, t, r, n, i, o) {
70
+ function Vr(e, t, r, n, i, o) {
70
71
  if (i) {
71
- const a = Vt(t, r, n, o);
72
+ const a = Wt(t, r, n, o);
72
73
  e.p(a, i);
73
74
  }
74
75
  }
75
- function Vr(e) {
76
+ function Wr(e) {
76
77
  if (e.ctx.length > 32) {
77
78
  const t = [], r = e.ctx.length / 32;
78
79
  for (let n = 0; n < r; n++)
@@ -84,14 +85,14 @@ function Vr(e) {
84
85
  function x(e, t) {
85
86
  e.appendChild(t);
86
87
  }
87
- function Wr(e, t, r) {
88
- const n = Xr(e);
88
+ function Xr(e, t, r) {
89
+ const n = zr(e);
89
90
  if (!n.getElementById(t)) {
90
91
  const i = S("style");
91
- i.id = t, i.textContent = r, zr(n, i);
92
+ i.id = t, i.textContent = r, Jr(n, i);
92
93
  }
93
94
  }
94
- function Xr(e) {
95
+ function zr(e) {
95
96
  if (!e)
96
97
  return document;
97
98
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -101,7 +102,7 @@ function Xr(e) {
101
102
  t
102
103
  ) : e.ownerDocument;
103
104
  }
104
- function zr(e, t) {
105
+ function Jr(e, t) {
105
106
  return x(
106
107
  /** @type {Document} */
107
108
  e.head || e,
@@ -114,14 +115,14 @@ function I(e, t, r) {
114
115
  function R(e) {
115
116
  e.parentNode && e.parentNode.removeChild(e);
116
117
  }
117
- function Jr(e, t) {
118
+ function Zr(e, t) {
118
119
  for (let r = 0; r < e.length; r += 1)
119
120
  e[r] && e[r].d(t);
120
121
  }
121
122
  function S(e) {
122
123
  return document.createElement(e);
123
124
  }
124
- function ft(e) {
125
+ function mt(e) {
125
126
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
127
  }
127
128
  function j(e) {
@@ -130,20 +131,24 @@ function j(e) {
130
131
  function k() {
131
132
  return j(" ");
132
133
  }
133
- function Te(e, t, r, n) {
134
+ function He(e, t, r, n) {
134
135
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
135
136
  }
136
- function g(e, t, r) {
137
+ function _(e, t, r) {
137
138
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
138
139
  }
139
- function Zr(e) {
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
+ function Qr(e) {
140
145
  return Array.from(e.childNodes);
141
146
  }
142
- function X(e, t) {
147
+ function z(e, t) {
143
148
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
144
149
  t);
145
150
  }
146
- function Qr(e) {
151
+ function Yr(e) {
147
152
  const t = {};
148
153
  return e.childNodes.forEach(
149
154
  /** @param {Element} node */
@@ -152,115 +157,115 @@ function Qr(e) {
152
157
  }
153
158
  ), t;
154
159
  }
155
- let fe;
156
- function he(e) {
157
- fe = e;
160
+ let me;
161
+ function ce(e) {
162
+ me = e;
158
163
  }
159
- function Yr() {
160
- if (!fe)
164
+ function qr() {
165
+ if (!me)
161
166
  throw new Error("Function called outside component initialization");
162
- return fe;
167
+ return me;
163
168
  }
164
- function qr(e) {
165
- Yr().$$.on_mount.push(e);
169
+ function Kr(e) {
170
+ qr().$$.on_mount.push(e);
166
171
  }
167
- const q = [], He = [];
168
- let K = [];
169
- const mt = [], Wt = /* @__PURE__ */ Promise.resolve();
170
- let je = !1;
171
- function Xt() {
172
- je || (je = !0, Wt.then(O));
172
+ const K = [], Be = [];
173
+ let ee = [];
174
+ const dt = [], Xt = /* @__PURE__ */ Promise.resolve();
175
+ let ke = !1;
176
+ function zt() {
177
+ ke || (ke = !0, Xt.then(O));
173
178
  }
174
- function Kr() {
175
- return Xt(), Wt;
179
+ function en() {
180
+ return zt(), Xt;
176
181
  }
177
- function ke(e) {
178
- K.push(e);
182
+ function Ve(e) {
183
+ ee.push(e);
179
184
  }
180
- const Me = /* @__PURE__ */ new Set();
181
- let Q = 0;
185
+ const Ce = /* @__PURE__ */ new Set();
186
+ let Y = 0;
182
187
  function O() {
183
- if (Q !== 0)
188
+ if (Y !== 0)
184
189
  return;
185
- const e = fe;
190
+ const e = me;
186
191
  do {
187
192
  try {
188
- for (; Q < q.length; ) {
189
- const t = q[Q];
190
- Q++, he(t), en(t.$$);
193
+ for (; Y < K.length; ) {
194
+ const t = K[Y];
195
+ Y++, ce(t), tn(t.$$);
191
196
  }
192
197
  } catch (t) {
193
- throw q.length = 0, Q = 0, t;
198
+ throw K.length = 0, Y = 0, t;
194
199
  }
195
- for (he(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
- Me.has(r) || (Me.add(r), r());
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
+ Ce.has(r) || (Ce.add(r), r());
200
205
  }
201
- K.length = 0;
202
- } while (q.length);
203
- for (; mt.length; )
204
- mt.pop()();
205
- je = !1, Me.clear(), he(e);
206
+ ee.length = 0;
207
+ } while (K.length);
208
+ for (; dt.length; )
209
+ dt.pop()();
210
+ ke = !1, Ce.clear(), ce(e);
206
211
  }
207
- function en(e) {
212
+ function tn(e) {
208
213
  if (e.fragment !== null) {
209
- e.update(), z(e.before_update);
214
+ e.update(), J(e.before_update);
210
215
  const t = e.dirty;
211
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
216
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
212
217
  }
213
218
  }
214
- function tn(e) {
219
+ function rn(e) {
215
220
  const t = [], r = [];
216
- K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
221
+ ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
217
222
  }
218
- const _e = /* @__PURE__ */ new Set();
219
- let W;
220
- function rn() {
221
- W = {
223
+ const xe = /* @__PURE__ */ new Set();
224
+ let X;
225
+ function nn() {
226
+ X = {
222
227
  r: 0,
223
228
  c: [],
224
- p: W
229
+ p: X
225
230
  // parent group
226
231
  };
227
232
  }
228
- function nn() {
229
- W.r || z(W.c), W = W.p;
233
+ function on() {
234
+ X.r || J(X.c), X = X.p;
230
235
  }
231
- function ce(e, t) {
232
- e && e.i && (_e.delete(e), e.i(t));
236
+ function fe(e, t) {
237
+ e && e.i && (xe.delete(e), e.i(t));
233
238
  }
234
- function Ve(e, t, r, n) {
239
+ function We(e, t, r, n) {
235
240
  if (e && e.o) {
236
- if (_e.has(e))
241
+ if (xe.has(e))
237
242
  return;
238
- _e.add(e), W.c.push(() => {
239
- _e.delete(e), n && (r && e.d(1), n());
243
+ xe.add(e), X.c.push(() => {
244
+ xe.delete(e), n && (r && e.d(1), n());
240
245
  }), e.o(t);
241
246
  } else
242
247
  n && n();
243
248
  }
244
- function dt(e) {
249
+ function pt(e) {
245
250
  return e?.length !== void 0 ? e : Array.from(e);
246
251
  }
247
- function on(e, t, r) {
252
+ function an(e, t, r) {
248
253
  const { fragment: n, after_update: i } = e.$$;
249
- n && n.m(t, r), ke(() => {
250
- const o = e.$$.on_mount.map($t).filter(it);
251
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
252
- }), i.forEach(ke);
254
+ n && n.m(t, r), Ve(() => {
255
+ const o = e.$$.on_mount.map(jt).filter(ot);
256
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
257
+ }), i.forEach(Ve);
253
258
  }
254
- function an(e, t) {
259
+ function sn(e, t) {
255
260
  const r = e.$$;
256
- r.fragment !== null && (tn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
261
+ r.fragment !== null && (rn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
257
262
  }
258
- function sn(e, t) {
259
- e.$$.dirty[0] === -1 && (q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
+ function un(e, t) {
264
+ e.$$.dirty[0] === -1 && (K.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
260
265
  }
261
- function un(e, t, r, n, i, o, a = null, s = [-1]) {
262
- const h = fe;
263
- he(e);
266
+ function ln(e, t, r, n, i, o, a = null, s = [-1]) {
267
+ const h = me;
268
+ ce(e);
264
269
  const l = e.$$ = {
265
270
  fragment: null,
266
271
  ctx: [],
@@ -268,7 +273,7 @@ function un(e, t, r, n, i, o, a = null, s = [-1]) {
268
273
  props: o,
269
274
  update: M,
270
275
  not_equal: i,
271
- bound: ht(),
276
+ bound: ct(),
272
277
  // lifecycle
273
278
  on_mount: [],
274
279
  on_destroy: [],
@@ -277,7 +282,7 @@ function un(e, t, r, n, i, o, a = null, s = [-1]) {
277
282
  after_update: [],
278
283
  context: new Map(t.context || (h ? h.$$.context : [])),
279
284
  // everything else
280
- callbacks: ht(),
285
+ callbacks: ct(),
281
286
  dirty: s,
282
287
  skip_bound: !1,
283
288
  root: t.target || h.$$.root
@@ -286,19 +291,19 @@ function un(e, t, r, n, i, o, a = null, s = [-1]) {
286
291
  let u = !1;
287
292
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
288
293
  const d = m.length ? m[0] : c;
289
- return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && sn(e, f)), c;
290
- }) : [], l.update(), u = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
294
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && un(e, f)), c;
295
+ }) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
291
296
  if (t.hydrate) {
292
- const f = Zr(t.target);
297
+ const f = Qr(t.target);
293
298
  l.fragment && l.fragment.l(f), f.forEach(R);
294
299
  } else
295
300
  l.fragment && l.fragment.c();
296
- t.intro && ce(e.$$.fragment), on(e, t.target, t.anchor), O();
301
+ t.intro && fe(e.$$.fragment), an(e, t.target, t.anchor), O();
297
302
  }
298
- he(h);
303
+ ce(h);
299
304
  }
300
- let zt;
301
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
305
+ let Jt;
306
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
302
307
  /** The Svelte component constructor */
303
308
  $$ctor;
304
309
  /** Slots */
@@ -340,7 +345,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
340
345
  let o;
341
346
  return {
342
347
  c: function() {
343
- o = S("slot"), i !== "default" && g(o, "name", i);
348
+ o = S("slot"), i !== "default" && _(o, "name", i);
344
349
  },
345
350
  /**
346
351
  * @param {HTMLElement} target
@@ -357,12 +362,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
357
362
  };
358
363
  if (await Promise.resolve(), !this.$$cn || this.$$c)
359
364
  return;
360
- const t = {}, r = Qr(this);
365
+ const t = {}, r = Yr(this);
361
366
  for (const i of this.$$s)
362
367
  i in r && (t[i] = [e(i)]);
363
368
  for (const i of this.attributes) {
364
369
  const o = this.$$g_p(i.name);
365
- o in this.$$d || (this.$$d[o] = xe(o, i.value, this.$$p_d, "toProp"));
370
+ o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
366
371
  }
367
372
  for (const i in this.$$p_d)
368
373
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -380,7 +385,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
380
385
  this.$$r = !0;
381
386
  for (const i in this.$$p_d)
382
387
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
383
- const o = xe(
388
+ const o = Ee(
384
389
  i,
385
390
  this.$$d[i],
386
391
  this.$$p_d,
@@ -402,7 +407,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
402
407
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
403
408
  // and setting attributes through setAttribute etc, this is helpful
404
409
  attributeChangedCallback(e, t, r) {
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] }));
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] }));
406
411
  }
407
412
  disconnectedCallback() {
408
413
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -415,7 +420,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
415
420
  ) || e;
416
421
  }
417
422
  });
418
- function xe(e, t, r, n) {
423
+ function Ee(e, t, r, n) {
419
424
  const i = r[e]?.type;
420
425
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
421
426
  return t;
@@ -444,8 +449,8 @@ function xe(e, t, r, n) {
444
449
  return t;
445
450
  }
446
451
  }
447
- function ln(e, t, r, n, i, o) {
448
- let a = class extends zt {
452
+ function hn(e, t, r, n, i, o) {
453
+ let a = class extends Jt {
449
454
  constructor() {
450
455
  super(e, r, i), this.$$p_d = t;
451
456
  }
@@ -461,7 +466,7 @@ function ln(e, t, r, n, i, o) {
461
466
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
462
467
  },
463
468
  set(h) {
464
- h = xe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
469
+ h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
465
470
  }
466
471
  });
467
472
  }), n.forEach((s) => {
@@ -473,7 +478,7 @@ function ln(e, t, r, n, i, o) {
473
478
  }), e.element = /** @type {any} */
474
479
  a, a;
475
480
  }
476
- class hn {
481
+ class cn {
477
482
  /**
478
483
  * ### PRIVATE API
479
484
  *
@@ -492,7 +497,7 @@ class hn {
492
497
  $$set = void 0;
493
498
  /** @returns {void} */
494
499
  $destroy() {
495
- an(this, 1), this.$destroy = M;
500
+ sn(this, 1), this.$destroy = M;
496
501
  }
497
502
  /**
498
503
  * @template {Extract<keyof Events, string>} K
@@ -501,7 +506,7 @@ class hn {
501
506
  * @returns {() => void}
502
507
  */
503
508
  $on(t, r) {
504
- if (!it(r))
509
+ if (!ot(r))
505
510
  return M;
506
511
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
507
512
  return n.push(r), () => {
@@ -514,11 +519,11 @@ class hn {
514
519
  * @returns {void}
515
520
  */
516
521
  $set(t) {
517
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
522
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
523
  }
519
524
  }
520
- const cn = "4";
521
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
525
+ const fn = "4";
526
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
522
527
  /*! *****************************************************************************
523
528
  Copyright (c) Microsoft Corporation.
524
529
 
@@ -533,34 +538,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
533
538
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
534
539
  PERFORMANCE OF THIS SOFTWARE.
535
540
  ***************************************************************************** */
536
- var We = function(e, t) {
537
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
541
+ var Xe = function(e, t) {
542
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
538
543
  r.__proto__ = n;
539
544
  } || function(r, n) {
540
545
  for (var i in n)
541
546
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
542
- }, We(e, t);
547
+ }, Xe(e, t);
543
548
  };
544
549
  function F(e, t) {
545
550
  if (typeof t != "function" && t !== null)
546
551
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
547
- We(e, t);
552
+ Xe(e, t);
548
553
  function r() {
549
554
  this.constructor = e;
550
555
  }
551
556
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
552
557
  }
553
- var _ = function() {
554
- return _ = Object.assign || function(t) {
558
+ var v = function() {
559
+ return v = Object.assign || function(t) {
555
560
  for (var r, n = 1, i = arguments.length; n < i; n++) {
556
561
  r = arguments[n];
557
562
  for (var o in r)
558
563
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
559
564
  }
560
565
  return t;
561
- }, _.apply(this, arguments);
566
+ }, v.apply(this, arguments);
562
567
  };
563
- function fn(e, t) {
568
+ function mn(e, t) {
564
569
  var r = {};
565
570
  for (var n in e)
566
571
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -569,7 +574,7 @@ function fn(e, t) {
569
574
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
570
575
  return r;
571
576
  }
572
- function Xe(e) {
577
+ function ze(e) {
573
578
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
574
579
  if (r)
575
580
  return r.call(e);
@@ -581,7 +586,7 @@ function Xe(e) {
581
586
  };
582
587
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
583
588
  }
584
- function ze(e, t) {
589
+ function Je(e, t) {
585
590
  var r = typeof Symbol == "function" && e[Symbol.iterator];
586
591
  if (!r)
587
592
  return e;
@@ -601,7 +606,7 @@ function ze(e, t) {
601
606
  }
602
607
  return o;
603
608
  }
604
- function ee(e, t, r) {
609
+ function te(e, t, r) {
605
610
  if (r || arguments.length === 2)
606
611
  for (var n = 0, i = t.length, o; n < i; n++)
607
612
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -610,13 +615,13 @@ function ee(e, t, r) {
610
615
  function D(e) {
611
616
  return typeof e == "function";
612
617
  }
613
- function Jt(e) {
618
+ function Zt(e) {
614
619
  var t = function(n) {
615
620
  Error.call(n), n.stack = new Error().stack;
616
621
  }, r = e(t);
617
622
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
618
623
  }
619
- var Ce = Jt(function(e) {
624
+ var Ge = Zt(function(e) {
620
625
  return function(r) {
621
626
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
622
627
  ` + r.map(function(n, i) {
@@ -625,13 +630,13 @@ var Ce = Jt(function(e) {
625
630
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
626
631
  };
627
632
  });
628
- function Je(e, t) {
633
+ function Ze(e, t) {
629
634
  if (e) {
630
635
  var r = e.indexOf(t);
631
636
  0 <= r && e.splice(r, 1);
632
637
  }
633
638
  }
634
- var Pe = function() {
639
+ var Re = function() {
635
640
  function e(t) {
636
641
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
637
642
  }
@@ -643,7 +648,7 @@ var Pe = function() {
643
648
  if (a)
644
649
  if (this._parentage = null, Array.isArray(a))
645
650
  try {
646
- for (var s = Xe(a), h = s.next(); !h.done; h = s.next()) {
651
+ for (var s = ze(a), h = s.next(); !h.done; h = s.next()) {
647
652
  var l = h.value;
648
653
  l.remove(this);
649
654
  }
@@ -664,18 +669,18 @@ var Pe = function() {
664
669
  try {
665
670
  u();
666
671
  } catch (p) {
667
- o = p instanceof Ce ? p.errors : [p];
672
+ o = p instanceof Ge ? p.errors : [p];
668
673
  }
669
674
  var f = this._finalizers;
670
675
  if (f) {
671
676
  this._finalizers = null;
672
677
  try {
673
- for (var c = Xe(f), m = c.next(); !m.done; m = c.next()) {
678
+ for (var c = ze(f), m = c.next(); !m.done; m = c.next()) {
674
679
  var d = m.value;
675
680
  try {
676
- pt(d);
681
+ bt(d);
677
682
  } catch (p) {
678
- o = o ?? [], p instanceof Ce ? o = ee(ee([], ze(o)), ze(p.errors)) : o.push(p);
683
+ o = o ?? [], p instanceof Ge ? o = te(te([], Je(o)), Je(p.errors)) : o.push(p);
679
684
  }
680
685
  }
681
686
  } catch (p) {
@@ -690,13 +695,13 @@ var Pe = function() {
690
695
  }
691
696
  }
692
697
  if (o)
693
- throw new Ce(o);
698
+ throw new Ge(o);
694
699
  }
695
700
  }, e.prototype.add = function(t) {
696
701
  var r;
697
702
  if (t && t !== this)
698
703
  if (this.closed)
699
- pt(t);
704
+ bt(t);
700
705
  else {
701
706
  if (t instanceof e) {
702
707
  if (t.closed || t._hasParent(this))
@@ -713,52 +718,52 @@ var Pe = function() {
713
718
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
714
719
  }, e.prototype._removeParent = function(t) {
715
720
  var r = this._parentage;
716
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
721
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
717
722
  }, e.prototype.remove = function(t) {
718
723
  var r = this._finalizers;
719
- r && Je(r, t), t instanceof e && t._removeParent(this);
724
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
720
725
  }, e.EMPTY = function() {
721
726
  var t = new e();
722
727
  return t.closed = !0, t;
723
728
  }(), e;
724
- }(), Zt = Pe.EMPTY;
725
- function Qt(e) {
726
- return e instanceof Pe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
729
+ }(), Qt = Re.EMPTY;
730
+ function Yt(e) {
731
+ return e instanceof Re || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
727
732
  }
728
- function pt(e) {
733
+ function bt(e) {
729
734
  D(e) ? e() : e.unsubscribe();
730
735
  }
731
- var mn = {
736
+ var dn = {
732
737
  Promise: void 0
733
- }, dn = {
738
+ }, pn = {
734
739
  setTimeout: function(e, t) {
735
740
  for (var r = [], n = 2; n < arguments.length; n++)
736
741
  r[n - 2] = arguments[n];
737
- return setTimeout.apply(void 0, ee([e, t], ze(r)));
742
+ return setTimeout.apply(void 0, te([e, t], Je(r)));
738
743
  },
739
744
  clearTimeout: function(e) {
740
745
  return clearTimeout(e);
741
746
  },
742
747
  delegate: void 0
743
748
  };
744
- function pn(e) {
745
- dn.setTimeout(function() {
749
+ function bn(e) {
750
+ pn.setTimeout(function() {
746
751
  throw e;
747
752
  });
748
753
  }
749
- function bt() {
754
+ function gt() {
750
755
  }
751
- function Ee(e) {
756
+ function we(e) {
752
757
  e();
753
758
  }
754
- var Yt = function(e) {
759
+ var qt = function(e) {
755
760
  F(t, e);
756
761
  function t(r) {
757
762
  var n = e.call(this) || this;
758
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = yn, n;
763
+ return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = vn, n;
759
764
  }
760
765
  return t.create = function(r, n, i) {
761
- return new Ze(r, n, i);
766
+ return new Qe(r, n, i);
762
767
  }, t.prototype.next = function(r) {
763
768
  this.isStopped || this._next(r);
764
769
  }, t.prototype.error = function(r) {
@@ -782,7 +787,7 @@ var Yt = function(e) {
782
787
  this.unsubscribe();
783
788
  }
784
789
  }, t;
785
- }(Pe), bn = function() {
790
+ }(Re), gn = function() {
786
791
  function e(t) {
787
792
  this.partialObserver = t;
788
793
  }
@@ -792,7 +797,7 @@ var Yt = function(e) {
792
797
  try {
793
798
  r.next(t);
794
799
  } catch (n) {
795
- ye(n);
800
+ ve(n);
796
801
  }
797
802
  }, e.prototype.error = function(t) {
798
803
  var r = this.partialObserver;
@@ -800,20 +805,20 @@ var Yt = function(e) {
800
805
  try {
801
806
  r.error(t);
802
807
  } catch (n) {
803
- ye(n);
808
+ ve(n);
804
809
  }
805
810
  else
806
- ye(t);
811
+ ve(t);
807
812
  }, e.prototype.complete = function() {
808
813
  var t = this.partialObserver;
809
814
  if (t.complete)
810
815
  try {
811
816
  t.complete();
812
817
  } catch (r) {
813
- ye(r);
818
+ ve(r);
814
819
  }
815
820
  }, e;
816
- }(), Ze = function(e) {
821
+ }(), Qe = function(e) {
817
822
  F(t, e);
818
823
  function t(r, n, i) {
819
824
  var o = e.call(this) || this, a;
@@ -821,35 +826,35 @@ var Yt = function(e) {
821
826
  next: r ?? void 0,
822
827
  error: n ?? void 0,
823
828
  complete: i ?? void 0
824
- } : a = r, o.destination = new bn(a), o;
829
+ } : a = r, o.destination = new gn(a), o;
825
830
  }
826
831
  return t;
827
- }(Yt);
828
- function ye(e) {
829
- pn(e);
832
+ }(qt);
833
+ function ve(e) {
834
+ bn(e);
830
835
  }
831
- function gn(e) {
836
+ function yn(e) {
832
837
  throw e;
833
838
  }
834
- var yn = {
839
+ var vn = {
835
840
  closed: !0,
836
- next: bt,
837
- error: gn,
838
- complete: bt
839
- }, vn = function() {
841
+ next: gt,
842
+ error: yn,
843
+ complete: gt
844
+ }, _n = function() {
840
845
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
841
846
  }();
842
- function _n(e) {
847
+ function xn(e) {
843
848
  return e;
844
849
  }
845
- function xn(e) {
846
- return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
850
+ function En(e) {
851
+ return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
847
852
  return e.reduce(function(n, i) {
848
853
  return i(n);
849
854
  }, r);
850
855
  };
851
856
  }
852
- var gt = function() {
857
+ var yt = function() {
853
858
  function e(t) {
854
859
  t && (this._subscribe = t);
855
860
  }
@@ -857,8 +862,8 @@ var gt = function() {
857
862
  var r = new e();
858
863
  return r.source = this, r.operator = t, r;
859
864
  }, e.prototype.subscribe = function(t, r, n) {
860
- var i = this, o = wn(t) ? t : new Ze(t, r, n);
861
- return Ee(function() {
865
+ var i = this, o = Sn(t) ? t : new Qe(t, r, n);
866
+ return we(function() {
862
867
  var a = i, s = a.operator, h = a.source;
863
868
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
864
869
  }), o;
@@ -870,8 +875,8 @@ var gt = function() {
870
875
  }
871
876
  }, e.prototype.forEach = function(t, r) {
872
877
  var n = this;
873
- return r = yt(r), new r(function(i, o) {
874
- var a = new Ze({
878
+ return r = vt(r), new r(function(i, o) {
879
+ var a = new Qe({
875
880
  next: function(s) {
876
881
  try {
877
882
  t(s);
@@ -887,15 +892,15 @@ var gt = function() {
887
892
  }, e.prototype._subscribe = function(t) {
888
893
  var r;
889
894
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
890
- }, e.prototype[vn] = function() {
895
+ }, e.prototype[_n] = function() {
891
896
  return this;
892
897
  }, e.prototype.pipe = function() {
893
898
  for (var t = [], r = 0; r < arguments.length; r++)
894
899
  t[r] = arguments[r];
895
- return xn(t)(this);
900
+ return En(t)(this);
896
901
  }, e.prototype.toPromise = function(t) {
897
902
  var r = this;
898
- return t = yt(t), new t(function(n, i) {
903
+ return t = vt(t), new t(function(n, i) {
899
904
  var o;
900
905
  r.subscribe(function(a) {
901
906
  return o = a;
@@ -909,40 +914,40 @@ var gt = function() {
909
914
  return new e(t);
910
915
  }, e;
911
916
  }();
912
- function yt(e) {
917
+ function vt(e) {
913
918
  var t;
914
- return (t = e ?? mn.Promise) !== null && t !== void 0 ? t : Promise;
919
+ return (t = e ?? dn.Promise) !== null && t !== void 0 ? t : Promise;
915
920
  }
916
- function En(e) {
921
+ function wn(e) {
917
922
  return e && D(e.next) && D(e.error) && D(e.complete);
918
923
  }
919
- function wn(e) {
920
- return e && e instanceof Yt || En(e) && Qt(e);
924
+ function Sn(e) {
925
+ return e && e instanceof qt || wn(e) && Yt(e);
921
926
  }
922
- var Sn = Jt(function(e) {
927
+ var Tn = Zt(function(e) {
923
928
  return function() {
924
929
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
925
930
  };
926
- }), qt = function(e) {
931
+ }), Kt = function(e) {
927
932
  F(t, e);
928
933
  function t() {
929
934
  var r = e.call(this) || this;
930
935
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
931
936
  }
932
937
  return t.prototype.lift = function(r) {
933
- var n = new vt(this, this);
938
+ var n = new _t(this, this);
934
939
  return n.operator = r, n;
935
940
  }, t.prototype._throwIfClosed = function() {
936
941
  if (this.closed)
937
- throw new Sn();
942
+ throw new Tn();
938
943
  }, t.prototype.next = function(r) {
939
944
  var n = this;
940
- Ee(function() {
945
+ we(function() {
941
946
  var i, o;
942
947
  if (n._throwIfClosed(), !n.isStopped) {
943
948
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
944
949
  try {
945
- for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
950
+ for (var a = ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
946
951
  var h = s.value;
947
952
  h.next(r);
948
953
  }
@@ -960,7 +965,7 @@ var Sn = Jt(function(e) {
960
965
  });
961
966
  }, t.prototype.error = function(r) {
962
967
  var n = this;
963
- Ee(function() {
968
+ we(function() {
964
969
  if (n._throwIfClosed(), !n.isStopped) {
965
970
  n.hasError = n.isStopped = !0, n.thrownError = r;
966
971
  for (var i = n.observers; i.length; )
@@ -969,7 +974,7 @@ var Sn = Jt(function(e) {
969
974
  });
970
975
  }, t.prototype.complete = function() {
971
976
  var r = this;
972
- Ee(function() {
977
+ we(function() {
973
978
  if (r._throwIfClosed(), !r.isStopped) {
974
979
  r.isStopped = !0;
975
980
  for (var n = r.observers; n.length; )
@@ -991,19 +996,19 @@ var Sn = Jt(function(e) {
991
996
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
992
997
  }, t.prototype._innerSubscribe = function(r) {
993
998
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
994
- return o || a ? Zt : (this.currentObservers = null, s.push(r), new Pe(function() {
995
- n.currentObservers = null, Je(s, r);
999
+ return o || a ? Qt : (this.currentObservers = null, s.push(r), new Re(function() {
1000
+ n.currentObservers = null, Ze(s, r);
996
1001
  }));
997
1002
  }, t.prototype._checkFinalizedStatuses = function(r) {
998
1003
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
999
1004
  i ? r.error(o) : a && r.complete();
1000
1005
  }, t.prototype.asObservable = function() {
1001
- var r = new gt();
1006
+ var r = new yt();
1002
1007
  return r.source = this, r;
1003
1008
  }, t.create = function(r, n) {
1004
- return new vt(r, n);
1009
+ return new _t(r, n);
1005
1010
  }, t;
1006
- }(gt), vt = function(e) {
1011
+ }(yt), _t = function(e) {
1007
1012
  F(t, e);
1008
1013
  function t(r, n) {
1009
1014
  var i = e.call(this) || this;
@@ -1020,17 +1025,17 @@ var Sn = Jt(function(e) {
1020
1025
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1021
1026
  }, t.prototype._subscribe = function(r) {
1022
1027
  var n, i;
1023
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1028
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
1024
1029
  }, t;
1025
- }(qt), Kt = {
1030
+ }(Kt), er = {
1026
1031
  now: function() {
1027
- return (Kt.delegate || Date).now();
1032
+ return (er.delegate || Date).now();
1028
1033
  },
1029
1034
  delegate: void 0
1030
- }, Tn = function(e) {
1035
+ }, Hn = function(e) {
1031
1036
  F(t, e);
1032
1037
  function t(r, n, i) {
1033
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1038
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
1034
1039
  var o = e.call(this) || this;
1035
1040
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1036
1041
  }
@@ -1050,31 +1055,31 @@ var Sn = Jt(function(e) {
1050
1055
  l && o.splice(0, l + 1);
1051
1056
  }
1052
1057
  }, t;
1053
- }(qt);
1054
- const _t = [], xt = {}, Hn = (e, t = 0) => {
1055
- if (_t.indexOf(e) == -1) {
1056
- const r = new Tn(t);
1057
- xt[e] = r, _t.push(e);
1058
+ }(Kt);
1059
+ const xt = [], Et = {}, Bn = (e, t = 0) => {
1060
+ if (xt.indexOf(e) == -1) {
1061
+ const r = new Hn(t);
1062
+ Et[e] = r, xt.push(e);
1058
1063
  }
1059
- return xt[e];
1060
- }, Y = [];
1061
- function Bn(e, t) {
1064
+ return Et[e];
1065
+ }, q = [];
1066
+ function An(e, t) {
1062
1067
  return {
1063
- subscribe: Re(e, t).subscribe
1068
+ subscribe: Oe(e, t).subscribe
1064
1069
  };
1065
1070
  }
1066
- function Re(e, t = M) {
1071
+ function Oe(e, t = M) {
1067
1072
  let r;
1068
1073
  const n = /* @__PURE__ */ new Set();
1069
1074
  function i(s) {
1070
- if (jt(e, s) && (e = s, r)) {
1071
- const h = !Y.length;
1075
+ if (kt(e, s) && (e = s, r)) {
1076
+ const h = !q.length;
1072
1077
  for (const l of n)
1073
- l[1](), Y.push(l, e);
1078
+ l[1](), q.push(l, e);
1074
1079
  if (h) {
1075
- for (let l = 0; l < Y.length; l += 2)
1076
- Y[l][0](Y[l + 1]);
1077
- Y.length = 0;
1080
+ for (let l = 0; l < q.length; l += 2)
1081
+ q[l][0](q[l + 1]);
1082
+ q.length = 0;
1078
1083
  }
1079
1084
  }
1080
1085
  }
@@ -1089,12 +1094,12 @@ function Re(e, t = M) {
1089
1094
  }
1090
1095
  return { set: i, update: o, subscribe: a };
1091
1096
  }
1092
- function oe(e, t, r) {
1097
+ function ae(e, t, r) {
1093
1098
  const n = !Array.isArray(e), i = n ? [e] : e;
1094
1099
  if (!i.every(Boolean))
1095
1100
  throw new Error("derived() expects stores as input, got a falsy value");
1096
1101
  const o = t.length < 2;
1097
- return Bn(r, (a, s) => {
1102
+ return An(r, (a, s) => {
1098
1103
  let h = !1;
1099
1104
  const l = [];
1100
1105
  let u = 0, f = M;
@@ -1103,9 +1108,9 @@ function oe(e, t, r) {
1103
1108
  return;
1104
1109
  f();
1105
1110
  const d = t(n ? l[0] : l, a, s);
1106
- o ? a(d) : f = it(d) ? d : M;
1111
+ o ? a(d) : f = ot(d) ? d : M;
1107
1112
  }, m = i.map(
1108
- (d, p) => kt(
1113
+ (d, p) => Vt(
1109
1114
  d,
1110
1115
  (A) => {
1111
1116
  l[p] = A, u &= ~(1 << p), h && c();
@@ -1116,115 +1121,115 @@ function oe(e, t, r) {
1116
1121
  )
1117
1122
  );
1118
1123
  return h = !0, c(), function() {
1119
- z(m), f(), h = !1;
1124
+ J(m), f(), h = !1;
1120
1125
  };
1121
1126
  });
1122
1127
  }
1123
- function An(e) {
1128
+ function Pn(e) {
1124
1129
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1125
1130
  }
1126
- var Pn = function(t) {
1127
- return Rn(t) && !On(t);
1131
+ var Rn = function(t) {
1132
+ return On(t) && !In(t);
1128
1133
  };
1129
- function Rn(e) {
1134
+ function On(e) {
1130
1135
  return !!e && typeof e == "object";
1131
1136
  }
1132
- function On(e) {
1137
+ function In(e) {
1133
1138
  var t = Object.prototype.toString.call(e);
1134
- return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
1135
- }
1136
- var In = typeof Symbol == "function" && Symbol.for, Nn = In ? Symbol.for("react.element") : 60103;
1137
- function Ln(e) {
1138
- return e.$$typeof === Nn;
1139
+ return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1139
1140
  }
1141
+ var Nn = typeof Symbol == "function" && Symbol.for, Ln = Nn ? Symbol.for("react.element") : 60103;
1140
1142
  function Mn(e) {
1143
+ return e.$$typeof === Ln;
1144
+ }
1145
+ function Cn(e) {
1141
1146
  return Array.isArray(e) ? [] : {};
1142
1147
  }
1143
- function me(e, t) {
1144
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Mn(e), e, t) : e;
1148
+ function de(e, t) {
1149
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(Cn(e), e, t) : e;
1145
1150
  }
1146
- function Cn(e, t, r) {
1151
+ function Gn(e, t, r) {
1147
1152
  return e.concat(t).map(function(n) {
1148
- return me(n, r);
1153
+ return de(n, r);
1149
1154
  });
1150
1155
  }
1151
- function Gn(e, t) {
1156
+ function Un(e, t) {
1152
1157
  if (!t.customMerge)
1153
- return te;
1158
+ return re;
1154
1159
  var r = t.customMerge(e);
1155
- return typeof r == "function" ? r : te;
1160
+ return typeof r == "function" ? r : re;
1156
1161
  }
1157
- function Un(e) {
1162
+ function Dn(e) {
1158
1163
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1159
1164
  return Object.propertyIsEnumerable.call(e, t);
1160
1165
  }) : [];
1161
1166
  }
1162
- function Et(e) {
1163
- return Object.keys(e).concat(Un(e));
1167
+ function wt(e) {
1168
+ return Object.keys(e).concat(Dn(e));
1164
1169
  }
1165
- function er(e, t) {
1170
+ function tr(e, t) {
1166
1171
  try {
1167
1172
  return t in e;
1168
1173
  } catch {
1169
1174
  return !1;
1170
1175
  }
1171
1176
  }
1172
- function Dn(e, t) {
1173
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1177
+ function Fn(e, t) {
1178
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1174
1179
  }
1175
- function Fn(e, t, r) {
1180
+ function $n(e, t, r) {
1176
1181
  var n = {};
1177
- return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1178
- n[i] = me(e[i], r);
1179
- }), Et(t).forEach(function(i) {
1180
- Dn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1182
+ return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1183
+ n[i] = de(e[i], r);
1184
+ }), wt(t).forEach(function(i) {
1185
+ Fn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1181
1186
  }), n;
1182
1187
  }
1183
- function te(e, t, r) {
1184
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = me;
1188
+ function re(e, t, r) {
1189
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = de;
1185
1190
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1186
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : me(t, r);
1191
+ return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : de(t, r);
1187
1192
  }
1188
- te.all = function(t, r) {
1193
+ re.all = function(t, r) {
1189
1194
  if (!Array.isArray(t))
1190
1195
  throw new Error("first argument should be an array");
1191
1196
  return t.reduce(function(n, i) {
1192
- return te(n, i, r);
1197
+ return re(n, i, r);
1193
1198
  }, {});
1194
1199
  };
1195
- var $n = te, jn = $n;
1196
- const kn = /* @__PURE__ */ An(jn);
1197
- function Ge(e, t) {
1198
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Xn;
1200
+ var jn = re, kn = jn;
1201
+ const Vn = /* @__PURE__ */ Pn(kn);
1202
+ function Ue(e, t) {
1203
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : zn;
1199
1204
  return i(e, {
1200
1205
  cache: r,
1201
1206
  serializer: n
1202
1207
  });
1203
1208
  }
1204
- function Vn(e) {
1209
+ function Wn(e) {
1205
1210
  return e == null || typeof e == "number" || typeof e == "boolean";
1206
1211
  }
1207
- function Wn(e, t, r, n) {
1208
- var i = Vn(n) ? n : r(n), o = t.get(i);
1212
+ function Xn(e, t, r, n) {
1213
+ var i = Wn(n) ? n : r(n), o = t.get(i);
1209
1214
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1210
1215
  }
1211
- function tr(e, t, r) {
1216
+ function rr(e, t, r) {
1212
1217
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1213
1218
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1214
1219
  }
1215
- function rr(e, t, r, n, i) {
1220
+ function nr(e, t, r, n, i) {
1216
1221
  return r.bind(t, e, n, i);
1217
1222
  }
1218
- function Xn(e, t) {
1219
- var r = e.length === 1 ? Wn : tr;
1220
- return rr(e, this, r, t.cache.create(), t.serializer);
1221
- }
1222
1223
  function zn(e, t) {
1223
- return rr(e, this, tr, t.cache.create(), t.serializer);
1224
+ var r = e.length === 1 ? Xn : rr;
1225
+ return nr(e, this, r, t.cache.create(), t.serializer);
1226
+ }
1227
+ function Jn(e, t) {
1228
+ return nr(e, this, rr, t.cache.create(), t.serializer);
1224
1229
  }
1225
- var Jn = function() {
1230
+ var Zn = function() {
1226
1231
  return JSON.stringify(arguments);
1227
- }, Zn = (
1232
+ }, Qn = (
1228
1233
  /** @class */
1229
1234
  function() {
1230
1235
  function e() {
@@ -1236,61 +1241,61 @@ var Jn = function() {
1236
1241
  this.cache[t] = r;
1237
1242
  }, e;
1238
1243
  }()
1239
- ), Qn = {
1244
+ ), Yn = {
1240
1245
  create: function() {
1241
- return new Zn();
1246
+ return new Qn();
1242
1247
  }
1243
- }, Ue = {
1244
- variadic: zn
1245
- }, y;
1248
+ }, De = {
1249
+ variadic: Jn
1250
+ }, g;
1246
1251
  (function(e) {
1247
1252
  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";
1248
- })(y || (y = {}));
1253
+ })(g || (g = {}));
1249
1254
  var w;
1250
1255
  (function(e) {
1251
1256
  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";
1252
1257
  })(w || (w = {}));
1253
- var re;
1258
+ var ne;
1254
1259
  (function(e) {
1255
1260
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1256
- })(re || (re = {}));
1257
- function wt(e) {
1261
+ })(ne || (ne = {}));
1262
+ function St(e) {
1258
1263
  return e.type === w.literal;
1259
1264
  }
1260
- function Yn(e) {
1265
+ function qn(e) {
1261
1266
  return e.type === w.argument;
1262
1267
  }
1263
- function nr(e) {
1268
+ function ir(e) {
1264
1269
  return e.type === w.number;
1265
1270
  }
1266
- function ir(e) {
1271
+ function or(e) {
1267
1272
  return e.type === w.date;
1268
1273
  }
1269
- function or(e) {
1274
+ function ar(e) {
1270
1275
  return e.type === w.time;
1271
1276
  }
1272
- function ar(e) {
1277
+ function sr(e) {
1273
1278
  return e.type === w.select;
1274
1279
  }
1275
- function sr(e) {
1280
+ function ur(e) {
1276
1281
  return e.type === w.plural;
1277
1282
  }
1278
- function qn(e) {
1283
+ function Kn(e) {
1279
1284
  return e.type === w.pound;
1280
1285
  }
1281
- function ur(e) {
1286
+ function lr(e) {
1282
1287
  return e.type === w.tag;
1283
1288
  }
1284
- function lr(e) {
1285
- return !!(e && typeof e == "object" && e.type === re.number);
1289
+ function hr(e) {
1290
+ return !!(e && typeof e == "object" && e.type === ne.number);
1286
1291
  }
1287
- function Qe(e) {
1288
- return !!(e && typeof e == "object" && e.type === re.dateTime);
1292
+ function Ye(e) {
1293
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
1289
1294
  }
1290
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1291
- function ei(e) {
1295
+ var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1296
+ function ti(e) {
1292
1297
  var t = {};
1293
- return e.replace(Kn, function(r) {
1298
+ return e.replace(ei, function(r) {
1294
1299
  var n = r.length;
1295
1300
  switch (r[0]) {
1296
1301
  case "G":
@@ -1379,11 +1384,11 @@ function ei(e) {
1379
1384
  return "";
1380
1385
  }), t;
1381
1386
  }
1382
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1383
- function ri(e) {
1387
+ var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1388
+ function ni(e) {
1384
1389
  if (e.length === 0)
1385
1390
  throw new Error("Number skeleton cannot be empty");
1386
- for (var t = e.split(ti).filter(function(c) {
1391
+ for (var t = e.split(ri).filter(function(c) {
1387
1392
  return c.length > 0;
1388
1393
  }), r = [], n = 0, i = t; n < i.length; n++) {
1389
1394
  var o = i[n], a = o.split("/");
@@ -1398,17 +1403,17 @@ function ri(e) {
1398
1403
  }
1399
1404
  return r;
1400
1405
  }
1401
- function ni(e) {
1406
+ function ii(e) {
1402
1407
  return e.replace(/^(.*?)-/, "");
1403
1408
  }
1404
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1405
- function Tt(e) {
1409
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, oi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1410
+ function Ht(e) {
1406
1411
  var t = {};
1407
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1412
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
1408
1413
  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)), "";
1409
1414
  }), t;
1410
1415
  }
1411
- function mr(e) {
1416
+ function dr(e) {
1412
1417
  switch (e) {
1413
1418
  case "sign-auto":
1414
1419
  return {
@@ -1448,7 +1453,7 @@ function mr(e) {
1448
1453
  };
1449
1454
  }
1450
1455
  }
1451
- function oi(e) {
1456
+ function ai(e) {
1452
1457
  var t;
1453
1458
  if (e[0] === "E" && e[1] === "E" ? (t = {
1454
1459
  notation: "engineering"
@@ -1456,17 +1461,17 @@ function oi(e) {
1456
1461
  notation: "scientific"
1457
1462
  }, e = e.slice(1)), t) {
1458
1463
  var r = e.slice(0, 2);
1459
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1464
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1460
1465
  throw new Error("Malformed concise eng/scientific notation");
1461
1466
  t.minimumIntegerDigits = e.length;
1462
1467
  }
1463
1468
  return t;
1464
1469
  }
1465
- function Ht(e) {
1466
- var t = {}, r = mr(e);
1470
+ function Bt(e) {
1471
+ var t = {}, r = dr(e);
1467
1472
  return r || t;
1468
1473
  }
1469
- function ai(e) {
1474
+ function si(e) {
1470
1475
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1471
1476
  var i = n[r];
1472
1477
  switch (i.stem) {
@@ -1490,7 +1495,7 @@ function ai(e) {
1490
1495
  continue;
1491
1496
  case "measure-unit":
1492
1497
  case "unit":
1493
- t.style = "unit", t.unit = ni(i.options[0]);
1498
+ t.style = "unit", t.unit = ii(i.options[0]);
1494
1499
  continue;
1495
1500
  case "compact-short":
1496
1501
  case "K":
@@ -1501,13 +1506,13 @@ function ai(e) {
1501
1506
  t.notation = "compact", t.compactDisplay = "long";
1502
1507
  continue;
1503
1508
  case "scientific":
1504
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1505
- return _(_({}, h), Ht(l));
1509
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1510
+ return v(v({}, h), Bt(l));
1506
1511
  }, {}));
1507
1512
  continue;
1508
1513
  case "engineering":
1509
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1510
- return _(_({}, h), Ht(l));
1514
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1515
+ return v(v({}, h), Bt(l));
1511
1516
  }, {}));
1512
1517
  continue;
1513
1518
  case "notation-simple":
@@ -1552,7 +1557,7 @@ function ai(e) {
1552
1557
  case "integer-width":
1553
1558
  if (i.options.length > 1)
1554
1559
  throw new RangeError("integer-width stems only accept a single optional option");
1555
- i.options[0].replace(ii, function(h, l, u, f, c, m) {
1560
+ i.options[0].replace(oi, function(h, l, u, f, c, m) {
1556
1561
  if (l)
1557
1562
  t.minimumIntegerDigits = u.length;
1558
1563
  else {
@@ -1565,32 +1570,32 @@ function ai(e) {
1565
1570
  });
1566
1571
  continue;
1567
1572
  }
1568
- if (fr.test(i.stem)) {
1573
+ if (mr.test(i.stem)) {
1569
1574
  t.minimumIntegerDigits = i.stem.length;
1570
1575
  continue;
1571
1576
  }
1572
- if (St.test(i.stem)) {
1577
+ if (Tt.test(i.stem)) {
1573
1578
  if (i.options.length > 1)
1574
1579
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1575
- i.stem.replace(St, function(h, l, u, f, c, m) {
1580
+ i.stem.replace(Tt, function(h, l, u, f, c, m) {
1576
1581
  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), "";
1577
1582
  });
1578
1583
  var o = i.options[0];
1579
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1584
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), Ht(o)));
1580
1585
  continue;
1581
1586
  }
1582
- if (cr.test(i.stem)) {
1583
- t = _(_({}, t), Tt(i.stem));
1587
+ if (fr.test(i.stem)) {
1588
+ t = v(v({}, t), Ht(i.stem));
1584
1589
  continue;
1585
1590
  }
1586
- var a = mr(i.stem);
1587
- a && (t = _(_({}, t), a));
1588
- var s = oi(i.stem);
1589
- s && (t = _(_({}, t), s));
1591
+ var a = dr(i.stem);
1592
+ a && (t = v(v({}, t), a));
1593
+ var s = ai(i.stem);
1594
+ s && (t = v(v({}, t), s));
1590
1595
  }
1591
1596
  return t;
1592
1597
  }
1593
- var ve = {
1598
+ var _e = {
1594
1599
  "001": [
1595
1600
  "H",
1596
1601
  "h"
@@ -3005,13 +3010,13 @@ var ve = {
3005
3010
  "h"
3006
3011
  ]
3007
3012
  };
3008
- function si(e, t) {
3013
+ function ui(e, t) {
3009
3014
  for (var r = "", n = 0; n < e.length; n++) {
3010
3015
  var i = e.charAt(n);
3011
3016
  if (i === "j") {
3012
3017
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3013
3018
  o++, n++;
3014
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ui(t);
3019
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = li(t);
3015
3020
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3016
3021
  r += h;
3017
3022
  for (; a-- > 0; )
@@ -3021,7 +3026,7 @@ function si(e, t) {
3021
3026
  }
3022
3027
  return r;
3023
3028
  }
3024
- function ui(e) {
3029
+ function li(e) {
3025
3030
  var t = e.hourCycle;
3026
3031
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3027
3032
  e.hourCycles && // @ts-ignore
@@ -3040,23 +3045,23 @@ function ui(e) {
3040
3045
  }
3041
3046
  var r = e.language, n;
3042
3047
  r !== "root" && (n = e.maximize().region);
3043
- var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3048
+ var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3044
3049
  return i[0];
3045
3050
  }
3046
- var De, li = new RegExp("^".concat(hr.source, "*")), hi = new RegExp("".concat(hr.source, "*$"));
3047
- function v(e, t) {
3051
+ var Fe, hi = new RegExp("^".concat(cr.source, "*")), ci = new RegExp("".concat(cr.source, "*$"));
3052
+ function y(e, t) {
3048
3053
  return { start: e, end: t };
3049
3054
  }
3050
- var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, di = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3055
+ var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, di = !!Object.fromEntries, pi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, vi = yi ? Number.isSafeInteger : function(e) {
3051
3056
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3052
- }, Ye = !0;
3057
+ }, qe = !0;
3053
3058
  try {
3054
- var vi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3055
- Ye = ((De = vi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3059
+ var _i = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3060
+ qe = ((Fe = _i.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3056
3061
  } catch {
3057
- Ye = !1;
3062
+ qe = !1;
3058
3063
  }
3059
- var Bt = ci ? (
3064
+ var At = fi ? (
3060
3065
  // Native
3061
3066
  function(t, r, n) {
3062
3067
  return t.startsWith(r, n);
@@ -3066,7 +3071,7 @@ var Bt = ci ? (
3066
3071
  function(t, r, n) {
3067
3072
  return t.slice(n, n + r.length) === r;
3068
3073
  }
3069
- ), qe = fi ? String.fromCodePoint : (
3074
+ ), Ke = mi ? String.fromCodePoint : (
3070
3075
  // IE11
3071
3076
  function() {
3072
3077
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3078,9 +3083,9 @@ var Bt = ci ? (
3078
3083
  }
3079
3084
  return n;
3080
3085
  }
3081
- ), At = (
3086
+ ), Pt = (
3082
3087
  // native
3083
- mi ? Object.fromEntries : (
3088
+ di ? Object.fromEntries : (
3084
3089
  // Ponyfill
3085
3090
  function(t) {
3086
3091
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3090,7 +3095,7 @@ var Bt = ci ? (
3090
3095
  return r;
3091
3096
  }
3092
3097
  )
3093
- ), dr = di ? (
3098
+ ), pr = pi ? (
3094
3099
  // Native
3095
3100
  function(t, r) {
3096
3101
  return t.codePointAt(r);
@@ -3104,7 +3109,7 @@ var Bt = ci ? (
3104
3109
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3105
3110
  }
3106
3111
  }
3107
- ), _i = pi ? (
3112
+ ), xi = bi ? (
3108
3113
  // Native
3109
3114
  function(t) {
3110
3115
  return t.trimStart();
@@ -3112,9 +3117,9 @@ var Bt = ci ? (
3112
3117
  ) : (
3113
3118
  // Ponyfill
3114
3119
  function(t) {
3115
- return t.replace(li, "");
3120
+ return t.replace(hi, "");
3116
3121
  }
3117
- ), xi = bi ? (
3122
+ ), Ei = gi ? (
3118
3123
  // Native
3119
3124
  function(t) {
3120
3125
  return t.trimEnd();
@@ -3122,32 +3127,32 @@ var Bt = ci ? (
3122
3127
  ) : (
3123
3128
  // Ponyfill
3124
3129
  function(t) {
3125
- return t.replace(hi, "");
3130
+ return t.replace(ci, "");
3126
3131
  }
3127
3132
  );
3128
- function pr(e, t) {
3133
+ function br(e, t) {
3129
3134
  return new RegExp(e, t);
3130
3135
  }
3131
- var Ke;
3132
- if (Ye) {
3133
- var Pt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3134
- Ke = function(t, r) {
3136
+ var et;
3137
+ if (qe) {
3138
+ var Rt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3139
+ et = function(t, r) {
3135
3140
  var n;
3136
- Pt.lastIndex = r;
3137
- var i = Pt.exec(t);
3141
+ Rt.lastIndex = r;
3142
+ var i = Rt.exec(t);
3138
3143
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3139
3144
  };
3140
3145
  } else
3141
- Ke = function(t, r) {
3146
+ et = function(t, r) {
3142
3147
  for (var n = []; ; ) {
3143
- var i = dr(t, r);
3144
- if (i === void 0 || br(i) || Ti(i))
3148
+ var i = pr(t, r);
3149
+ if (i === void 0 || gr(i) || Hi(i))
3145
3150
  break;
3146
3151
  n.push(i), r += i >= 65536 ? 2 : 1;
3147
3152
  }
3148
- return qe.apply(void 0, n);
3153
+ return Ke.apply(void 0, n);
3149
3154
  };
3150
- var Ei = (
3155
+ var wi = (
3151
3156
  /** @class */
3152
3157
  function() {
3153
3158
  function e(t, r) {
@@ -3172,13 +3177,13 @@ var Ei = (
3172
3177
  var s = this.clonePosition();
3173
3178
  this.bump(), i.push({
3174
3179
  type: w.pound,
3175
- location: v(s, this.clonePosition())
3180
+ location: y(s, this.clonePosition())
3176
3181
  });
3177
3182
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3178
3183
  if (n)
3179
3184
  break;
3180
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3181
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3185
+ return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3186
+ } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3182
3187
  var a = this.parseTag(t, r);
3183
3188
  if (a.err)
3184
3189
  return a;
@@ -3201,7 +3206,7 @@ var Ei = (
3201
3206
  val: {
3202
3207
  type: w.literal,
3203
3208
  value: "<".concat(i, "/>"),
3204
- location: v(n, this.clonePosition())
3209
+ location: y(n, this.clonePosition())
3205
3210
  },
3206
3211
  err: null
3207
3212
  };
@@ -3211,25 +3216,25 @@ var Ei = (
3211
3216
  return o;
3212
3217
  var a = o.val, s = this.clonePosition();
3213
3218
  if (this.bumpIf("</")) {
3214
- if (this.isEOF() || !et(this.char()))
3215
- return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3219
+ if (this.isEOF() || !tt(this.char()))
3220
+ return this.error(g.INVALID_TAG, y(s, this.clonePosition()));
3216
3221
  var h = this.clonePosition(), l = this.parseTagName();
3217
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3222
+ return i !== l ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3218
3223
  val: {
3219
3224
  type: w.tag,
3220
3225
  value: i,
3221
3226
  children: a,
3222
- location: v(n, this.clonePosition())
3227
+ location: y(n, this.clonePosition())
3223
3228
  },
3224
3229
  err: null
3225
- } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3230
+ } : this.error(g.INVALID_TAG, y(s, this.clonePosition())));
3226
3231
  } else
3227
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3232
+ return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
3228
3233
  } else
3229
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3234
+ return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3230
3235
  }, e.prototype.parseTagName = function() {
3231
3236
  var t = this.offset();
3232
- for (this.bump(); !this.isEOF() && Si(this.char()); )
3237
+ for (this.bump(); !this.isEOF() && Ti(this.char()); )
3233
3238
  this.bump();
3234
3239
  return this.message.slice(t, this.offset());
3235
3240
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3251,14 +3256,14 @@ var Ei = (
3251
3256
  }
3252
3257
  break;
3253
3258
  }
3254
- var h = v(n, this.clonePosition());
3259
+ var h = y(n, this.clonePosition());
3255
3260
  return {
3256
3261
  val: { type: w.literal, value: i, location: h },
3257
3262
  err: null
3258
3263
  };
3259
3264
  }, e.prototype.tryParseLeftAngleBracket = function() {
3260
3265
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3261
- !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3266
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3262
3267
  }, e.prototype.tryParseQuote = function(t) {
3263
3268
  if (this.isEOF() || this.char() !== 39)
3264
3269
  return null;
@@ -3292,23 +3297,23 @@ var Ei = (
3292
3297
  r.push(n);
3293
3298
  this.bump();
3294
3299
  }
3295
- return qe.apply(void 0, r);
3300
+ return Ke.apply(void 0, r);
3296
3301
  }, e.prototype.tryParseUnquoted = function(t, r) {
3297
3302
  if (this.isEOF())
3298
3303
  return null;
3299
3304
  var n = this.char();
3300
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3305
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3301
3306
  }, e.prototype.parseArgument = function(t, r) {
3302
3307
  var n = this.clonePosition();
3303
3308
  if (this.bump(), this.bumpSpace(), this.isEOF())
3304
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3309
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3305
3310
  if (this.char() === 125)
3306
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3311
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3307
3312
  var i = this.parseIdentifierIfPossible().value;
3308
3313
  if (!i)
3309
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3314
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3310
3315
  if (this.bumpSpace(), this.isEOF())
3311
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3316
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3312
3317
  switch (this.char()) {
3313
3318
  case 125:
3314
3319
  return this.bump(), {
@@ -3316,25 +3321,25 @@ var Ei = (
3316
3321
  type: w.argument,
3317
3322
  // value does not include the opening and closing braces.
3318
3323
  value: i,
3319
- location: v(n, this.clonePosition())
3324
+ location: y(n, this.clonePosition())
3320
3325
  },
3321
3326
  err: null
3322
3327
  };
3323
3328
  case 44:
3324
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3329
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3325
3330
  default:
3326
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3331
+ return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3327
3332
  }
3328
3333
  }, e.prototype.parseIdentifierIfPossible = function() {
3329
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3334
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3330
3335
  this.bumpTo(i);
3331
- var o = this.clonePosition(), a = v(t, o);
3336
+ var o = this.clonePosition(), a = y(t, o);
3332
3337
  return { value: n, location: a };
3333
3338
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3334
3339
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3335
3340
  switch (s) {
3336
3341
  case "":
3337
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, h));
3342
+ return this.error(g.EXPECT_ARGUMENT_TYPE, y(a, h));
3338
3343
  case "number":
3339
3344
  case "date":
3340
3345
  case "time": {
@@ -3345,18 +3350,18 @@ var Ei = (
3345
3350
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3346
3351
  if (f.err)
3347
3352
  return f;
3348
- var c = xi(f.val);
3353
+ var c = Ei(f.val);
3349
3354
  if (c.length === 0)
3350
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3351
- var m = v(u, this.clonePosition());
3355
+ return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3356
+ var m = y(u, this.clonePosition());
3352
3357
  l = { style: c, styleLocation: m };
3353
3358
  }
3354
3359
  var d = this.tryParseArgumentClose(i);
3355
3360
  if (d.err)
3356
3361
  return d;
3357
- var p = v(i, this.clonePosition());
3358
- if (l && Bt(l?.style, "::", 0)) {
3359
- var A = _i(l.style.slice(2));
3362
+ var p = y(i, this.clonePosition());
3363
+ if (l && At(l?.style, "::", 0)) {
3364
+ var A = xi(l.style.slice(2));
3360
3365
  if (s === "number") {
3361
3366
  var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
3362
3367
  return f.err ? f : {
@@ -3365,14 +3370,14 @@ var Ei = (
3365
3370
  };
3366
3371
  } else {
3367
3372
  if (A.length === 0)
3368
- return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3373
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, p);
3369
3374
  var H = A;
3370
- this.locale && (H = si(A, this.locale));
3375
+ this.locale && (H = ui(A, this.locale));
3371
3376
  var c = {
3372
- type: re.dateTime,
3377
+ type: ne.dateTime,
3373
3378
  pattern: H,
3374
3379
  location: l.styleLocation,
3375
- parsedOptions: this.shouldParseSkeletons ? ei(H) : {}
3380
+ parsedOptions: this.shouldParseSkeletons ? ti(H) : {}
3376
3381
  }, T = s === "date" ? w.date : w.time;
3377
3382
  return {
3378
3383
  val: { type: T, value: n, location: p, style: c },
@@ -3395,14 +3400,14 @@ var Ei = (
3395
3400
  case "select": {
3396
3401
  var B = this.clonePosition();
3397
3402
  if (this.bumpSpace(), !this.bumpIf(","))
3398
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, _({}, B)));
3403
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(B, v({}, B)));
3399
3404
  this.bumpSpace();
3400
3405
  var N = this.parseIdentifierIfPossible(), L = 0;
3401
3406
  if (s !== "select" && N.value === "offset") {
3402
3407
  if (!this.bumpIf(":"))
3403
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3408
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3404
3409
  this.bumpSpace();
3405
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3410
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3406
3411
  if (f.err)
3407
3412
  return f;
3408
3413
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = f.val;
@@ -3413,32 +3418,32 @@ var Ei = (
3413
3418
  var d = this.tryParseArgumentClose(i);
3414
3419
  if (d.err)
3415
3420
  return d;
3416
- var pe = v(i, this.clonePosition());
3421
+ var be = y(i, this.clonePosition());
3417
3422
  return s === "select" ? {
3418
3423
  val: {
3419
3424
  type: w.select,
3420
3425
  value: n,
3421
- options: At(C.val),
3422
- location: pe
3426
+ options: Pt(C.val),
3427
+ location: be
3423
3428
  },
3424
3429
  err: null
3425
3430
  } : {
3426
3431
  val: {
3427
3432
  type: w.plural,
3428
3433
  value: n,
3429
- options: At(C.val),
3434
+ options: Pt(C.val),
3430
3435
  offset: L,
3431
3436
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3432
- location: pe
3437
+ location: be
3433
3438
  },
3434
3439
  err: null
3435
3440
  };
3436
3441
  }
3437
3442
  default:
3438
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, h));
3443
+ return this.error(g.INVALID_ARGUMENT_TYPE, y(a, h));
3439
3444
  }
3440
3445
  }, e.prototype.tryParseArgumentClose = function(t) {
3441
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3446
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3442
3447
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3443
3448
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3444
3449
  var n = this.char();
@@ -3447,7 +3452,7 @@ var Ei = (
3447
3452
  this.bump();
3448
3453
  var i = this.clonePosition();
3449
3454
  if (!this.bumpUntil("'"))
3450
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3455
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3451
3456
  this.bump();
3452
3457
  break;
3453
3458
  }
@@ -3477,16 +3482,16 @@ var Ei = (
3477
3482
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3478
3483
  var n = [];
3479
3484
  try {
3480
- n = ri(t);
3485
+ n = ni(t);
3481
3486
  } catch {
3482
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3487
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3483
3488
  }
3484
3489
  return {
3485
3490
  val: {
3486
- type: re.number,
3491
+ type: ne.number,
3487
3492
  tokens: n,
3488
3493
  location: r,
3489
- parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3494
+ parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3490
3495
  },
3491
3496
  err: null
3492
3497
  };
@@ -3495,19 +3500,19 @@ var Ei = (
3495
3500
  if (l.length === 0) {
3496
3501
  var f = this.clonePosition();
3497
3502
  if (r !== "select" && this.bumpIf("=")) {
3498
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3503
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3499
3504
  if (c.err)
3500
3505
  return c;
3501
- u = v(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3506
+ u = y(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3502
3507
  } else
3503
3508
  break;
3504
3509
  }
3505
3510
  if (h.has(l))
3506
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3511
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3507
3512
  l === "other" && (a = !0), this.bumpSpace();
3508
3513
  var m = this.clonePosition();
3509
3514
  if (!this.bumpIf("{"))
3510
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3515
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3511
3516
  var d = this.parseMessage(t + 1, r, n);
3512
3517
  if (d.err)
3513
3518
  return d;
@@ -3518,11 +3523,11 @@ var Ei = (
3518
3523
  l,
3519
3524
  {
3520
3525
  value: d.val,
3521
- location: v(m, this.clonePosition())
3526
+ location: y(m, this.clonePosition())
3522
3527
  }
3523
3528
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3524
3529
  }
3525
- 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 };
3530
+ 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 };
3526
3531
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3527
3532
  var n = 1, i = this.clonePosition();
3528
3533
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3533,8 +3538,8 @@ var Ei = (
3533
3538
  else
3534
3539
  break;
3535
3540
  }
3536
- var h = v(i, this.clonePosition());
3537
- return o ? (a *= n, yi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3541
+ var h = y(i, this.clonePosition());
3542
+ return o ? (a *= n, vi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3538
3543
  }, e.prototype.offset = function() {
3539
3544
  return this.position.offset;
3540
3545
  }, e.prototype.isEOF = function() {
@@ -3549,7 +3554,7 @@ var Ei = (
3549
3554
  var t = this.position.offset;
3550
3555
  if (t >= this.message.length)
3551
3556
  throw Error("out of bound");
3552
- var r = dr(this.message, t);
3557
+ var r = pr(this.message, t);
3553
3558
  if (r === void 0)
3554
3559
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3555
3560
  return r;
@@ -3568,7 +3573,7 @@ var Ei = (
3568
3573
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3569
3574
  }
3570
3575
  }, e.prototype.bumpIf = function(t) {
3571
- if (Bt(this.message, t, this.offset())) {
3576
+ if (At(this.message, t, this.offset())) {
3572
3577
  for (var r = 0; r < t.length; r++)
3573
3578
  this.bump();
3574
3579
  return !0;
@@ -3590,7 +3595,7 @@ var Ei = (
3590
3595
  break;
3591
3596
  }
3592
3597
  }, e.prototype.bumpSpace = function() {
3593
- for (; !this.isEOF() && br(this.char()); )
3598
+ for (; !this.isEOF() && gr(this.char()); )
3594
3599
  this.bump();
3595
3600
  }, e.prototype.peek = function() {
3596
3601
  if (this.isEOF())
@@ -3600,44 +3605,44 @@ var Ei = (
3600
3605
  }, e;
3601
3606
  }()
3602
3607
  );
3603
- function et(e) {
3608
+ function tt(e) {
3604
3609
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3605
3610
  }
3606
- function wi(e) {
3607
- return et(e) || e === 47;
3608
- }
3609
3611
  function Si(e) {
3612
+ return tt(e) || e === 47;
3613
+ }
3614
+ function Ti(e) {
3610
3615
  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;
3611
3616
  }
3612
- function br(e) {
3617
+ function gr(e) {
3613
3618
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3614
3619
  }
3615
- function Ti(e) {
3620
+ function Hi(e) {
3616
3621
  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;
3617
3622
  }
3618
- function tt(e) {
3623
+ function rt(e) {
3619
3624
  e.forEach(function(t) {
3620
- if (delete t.location, ar(t) || sr(t))
3625
+ if (delete t.location, sr(t) || ur(t))
3621
3626
  for (var r in t.options)
3622
- delete t.options[r].location, tt(t.options[r].value);
3627
+ delete t.options[r].location, rt(t.options[r].value);
3623
3628
  else
3624
- nr(t) && lr(t.style) || (ir(t) || or(t)) && Qe(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3629
+ ir(t) && hr(t.style) || (or(t) || ar(t)) && Ye(t.style) ? delete t.style.location : lr(t) && rt(t.children);
3625
3630
  });
3626
3631
  }
3627
- function Hi(e, t) {
3628
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3629
- var r = new Ei(e, t).parse();
3632
+ function Bi(e, t) {
3633
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3634
+ var r = new wi(e, t).parse();
3630
3635
  if (r.err) {
3631
- var n = SyntaxError(y[r.err.kind]);
3636
+ var n = SyntaxError(g[r.err.kind]);
3632
3637
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3633
3638
  }
3634
- return t?.captureLocation || tt(r.val), r.val;
3639
+ return t?.captureLocation || rt(r.val), r.val;
3635
3640
  }
3636
- var ne;
3641
+ var ie;
3637
3642
  (function(e) {
3638
3643
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3639
- })(ne || (ne = {}));
3640
- var Oe = (
3644
+ })(ie || (ie = {}));
3645
+ var Ie = (
3641
3646
  /** @class */
3642
3647
  function(e) {
3643
3648
  F(t, e);
@@ -3649,48 +3654,48 @@ var Oe = (
3649
3654
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3650
3655
  }, t;
3651
3656
  }(Error)
3652
- ), Rt = (
3657
+ ), Ot = (
3653
3658
  /** @class */
3654
3659
  function(e) {
3655
3660
  F(t, e);
3656
3661
  function t(r, n, i, o) {
3657
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3662
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3658
3663
  }
3659
3664
  return t;
3660
- }(Oe)
3661
- ), Bi = (
3665
+ }(Ie)
3666
+ ), Ai = (
3662
3667
  /** @class */
3663
3668
  function(e) {
3664
3669
  F(t, e);
3665
3670
  function t(r, n, i) {
3666
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3671
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3667
3672
  }
3668
3673
  return t;
3669
- }(Oe)
3670
- ), Ai = (
3674
+ }(Ie)
3675
+ ), Pi = (
3671
3676
  /** @class */
3672
3677
  function(e) {
3673
3678
  F(t, e);
3674
3679
  function t(r, n) {
3675
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3680
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3676
3681
  }
3677
3682
  return t;
3678
- }(Oe)
3683
+ }(Ie)
3679
3684
  ), P;
3680
3685
  (function(e) {
3681
3686
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3682
3687
  })(P || (P = {}));
3683
- function Pi(e) {
3688
+ function Ri(e) {
3684
3689
  return e.length < 2 ? e : e.reduce(function(t, r) {
3685
3690
  var n = t[t.length - 1];
3686
3691
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3687
3692
  }, []);
3688
3693
  }
3689
- function Ri(e) {
3694
+ function Oi(e) {
3690
3695
  return typeof e == "function";
3691
3696
  }
3692
- function we(e, t, r, n, i, o, a) {
3693
- if (e.length === 1 && wt(e[0]))
3697
+ function Se(e, t, r, n, i, o, a) {
3698
+ if (e.length === 1 && St(e[0]))
3694
3699
  return [
3695
3700
  {
3696
3701
  type: P.literal,
@@ -3699,14 +3704,14 @@ function we(e, t, r, n, i, o, a) {
3699
3704
  ];
3700
3705
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3701
3706
  var u = l[h];
3702
- if (wt(u)) {
3707
+ if (St(u)) {
3703
3708
  s.push({
3704
3709
  type: P.literal,
3705
3710
  value: u.value
3706
3711
  });
3707
3712
  continue;
3708
3713
  }
3709
- if (qn(u)) {
3714
+ if (Kn(u)) {
3710
3715
  typeof o == "number" && s.push({
3711
3716
  type: P.literal,
3712
3717
  value: r.getNumberFormat(t).format(o)
@@ -3715,44 +3720,44 @@ function we(e, t, r, n, i, o, a) {
3715
3720
  }
3716
3721
  var f = u.value;
3717
3722
  if (!(i && f in i))
3718
- throw new Ai(f, a);
3723
+ throw new Pi(f, a);
3719
3724
  var c = i[f];
3720
- if (Yn(u)) {
3725
+ if (qn(u)) {
3721
3726
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3722
3727
  type: typeof c == "string" ? P.literal : P.object,
3723
3728
  value: c
3724
3729
  });
3725
3730
  continue;
3726
3731
  }
3727
- if (ir(u)) {
3728
- var m = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3732
+ if (or(u)) {
3733
+ var m = typeof u.style == "string" ? n.date[u.style] : Ye(u.style) ? u.style.parsedOptions : void 0;
3729
3734
  s.push({
3730
3735
  type: P.literal,
3731
3736
  value: r.getDateTimeFormat(t, m).format(c)
3732
3737
  });
3733
3738
  continue;
3734
3739
  }
3735
- if (or(u)) {
3736
- var m = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3740
+ if (ar(u)) {
3741
+ var m = typeof u.style == "string" ? n.time[u.style] : Ye(u.style) ? u.style.parsedOptions : n.time.medium;
3737
3742
  s.push({
3738
3743
  type: P.literal,
3739
3744
  value: r.getDateTimeFormat(t, m).format(c)
3740
3745
  });
3741
3746
  continue;
3742
3747
  }
3743
- if (nr(u)) {
3744
- var m = typeof u.style == "string" ? n.number[u.style] : lr(u.style) ? u.style.parsedOptions : void 0;
3748
+ if (ir(u)) {
3749
+ var m = typeof u.style == "string" ? n.number[u.style] : hr(u.style) ? u.style.parsedOptions : void 0;
3745
3750
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3746
3751
  type: P.literal,
3747
3752
  value: r.getNumberFormat(t, m).format(c)
3748
3753
  });
3749
3754
  continue;
3750
3755
  }
3751
- if (ur(u)) {
3756
+ if (lr(u)) {
3752
3757
  var d = u.children, p = u.value, A = i[p];
3753
- if (!Ri(A))
3754
- throw new Bi(p, "function", a);
3755
- var H = we(d, t, r, n, i, o), T = A(H.map(function(L) {
3758
+ if (!Oi(A))
3759
+ throw new Ai(p, "function", a);
3760
+ var H = Se(d, t, r, n, i, o), T = A(H.map(function(L) {
3756
3761
  return L.value;
3757
3762
  }));
3758
3763
  Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(L) {
@@ -3762,42 +3767,42 @@ function we(e, t, r, n, i, o, a) {
3762
3767
  };
3763
3768
  }));
3764
3769
  }
3765
- if (ar(u)) {
3770
+ if (sr(u)) {
3766
3771
  var B = u.options[c] || u.options.other;
3767
3772
  if (!B)
3768
- throw new Rt(u.value, c, Object.keys(u.options), a);
3769
- s.push.apply(s, we(B.value, t, r, n, i));
3773
+ throw new Ot(u.value, c, Object.keys(u.options), a);
3774
+ s.push.apply(s, Se(B.value, t, r, n, i));
3770
3775
  continue;
3771
3776
  }
3772
- if (sr(u)) {
3777
+ if (ur(u)) {
3773
3778
  var B = u.options["=".concat(c)];
3774
3779
  if (!B) {
3775
3780
  if (!Intl.PluralRules)
3776
- throw new Oe(`Intl.PluralRules is not available in this environment.
3781
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3777
3782
  Try polyfilling it using "@formatjs/intl-pluralrules"
3778
- `, ne.MISSING_INTL_API, a);
3783
+ `, ie.MISSING_INTL_API, a);
3779
3784
  var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3780
3785
  B = u.options[N] || u.options.other;
3781
3786
  }
3782
3787
  if (!B)
3783
- throw new Rt(u.value, c, Object.keys(u.options), a);
3784
- s.push.apply(s, we(B.value, t, r, n, i, c - (u.offset || 0)));
3788
+ throw new Ot(u.value, c, Object.keys(u.options), a);
3789
+ s.push.apply(s, Se(B.value, t, r, n, i, c - (u.offset || 0)));
3785
3790
  continue;
3786
3791
  }
3787
3792
  }
3788
- return Pi(s);
3793
+ return Ri(s);
3789
3794
  }
3790
- function Oi(e, t) {
3791
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3792
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3795
+ function Ii(e, t) {
3796
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3797
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3793
3798
  }, {})) : e;
3794
3799
  }
3795
- function Ii(e, t) {
3800
+ function Ni(e, t) {
3796
3801
  return t ? Object.keys(e).reduce(function(r, n) {
3797
- return r[n] = Oi(e[n], t[n]), r;
3798
- }, _({}, e)) : e;
3802
+ return r[n] = Ii(e[n], t[n]), r;
3803
+ }, v({}, e)) : e;
3799
3804
  }
3800
- function Fe(e) {
3805
+ function $e(e) {
3801
3806
  return {
3802
3807
  create: function() {
3803
3808
  return {
@@ -3811,39 +3816,39 @@ function Fe(e) {
3811
3816
  }
3812
3817
  };
3813
3818
  }
3814
- function Ni(e) {
3819
+ function Li(e) {
3815
3820
  return e === void 0 && (e = {
3816
3821
  number: {},
3817
3822
  dateTime: {},
3818
3823
  pluralRules: {}
3819
3824
  }), {
3820
- getNumberFormat: Ge(function() {
3825
+ getNumberFormat: Ue(function() {
3821
3826
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3827
  r[n] = arguments[n];
3823
- return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3828
+ return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3824
3829
  }, {
3825
- cache: Fe(e.number),
3826
- strategy: Ue.variadic
3830
+ cache: $e(e.number),
3831
+ strategy: De.variadic
3827
3832
  }),
3828
- getDateTimeFormat: Ge(function() {
3833
+ getDateTimeFormat: Ue(function() {
3829
3834
  for (var t, r = [], n = 0; n < arguments.length; n++)
3830
3835
  r[n] = arguments[n];
3831
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3836
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3832
3837
  }, {
3833
- cache: Fe(e.dateTime),
3834
- strategy: Ue.variadic
3838
+ cache: $e(e.dateTime),
3839
+ strategy: De.variadic
3835
3840
  }),
3836
- getPluralRules: Ge(function() {
3841
+ getPluralRules: Ue(function() {
3837
3842
  for (var t, r = [], n = 0; n < arguments.length; n++)
3838
3843
  r[n] = arguments[n];
3839
- return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3844
+ return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3840
3845
  }, {
3841
- cache: Fe(e.pluralRules),
3842
- strategy: Ue.variadic
3846
+ cache: $e(e.pluralRules),
3847
+ strategy: De.variadic
3843
3848
  })
3844
3849
  };
3845
3850
  }
3846
- var Li = (
3851
+ var Mi = (
3847
3852
  /** @class */
3848
3853
  function() {
3849
3854
  function e(t, r, n, i) {
@@ -3862,7 +3867,7 @@ var Li = (
3862
3867
  }, []);
3863
3868
  return u.length <= 1 ? u[0] || "" : u;
3864
3869
  }, this.formatToParts = function(h) {
3865
- return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3870
+ return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3866
3871
  }, this.resolvedOptions = function() {
3867
3872
  var h;
3868
3873
  return {
@@ -3875,13 +3880,13 @@ var Li = (
3875
3880
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3876
3881
  var a = i || {};
3877
3882
  a.formatters;
3878
- var s = fn(a, ["formatters"]);
3879
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3883
+ var s = mn(a, ["formatters"]);
3884
+ this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3880
3885
  } else
3881
3886
  this.ast = t;
3882
3887
  if (!Array.isArray(this.ast))
3883
3888
  throw new TypeError("A message must be provided as a String or AST.");
3884
- this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3889
+ this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Li(this.formatterCache);
3885
3890
  }
3886
3891
  return Object.defineProperty(e, "defaultLocale", {
3887
3892
  get: function() {
@@ -3894,7 +3899,7 @@ var Li = (
3894
3899
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3895
3900
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3896
3901
  }
3897
- }, e.__parse = Hi, e.formats = {
3902
+ }, e.__parse = Bi, e.formats = {
3898
3903
  number: {
3899
3904
  integer: {
3900
3905
  maximumFractionDigits: 0
@@ -3955,7 +3960,7 @@ var Li = (
3955
3960
  }, e;
3956
3961
  }()
3957
3962
  );
3958
- function Mi(e, t) {
3963
+ function Ci(e, t) {
3959
3964
  if (t == null)
3960
3965
  return;
3961
3966
  if (t in e)
@@ -3976,92 +3981,92 @@ function Mi(e, t) {
3976
3981
  n = void 0;
3977
3982
  return n;
3978
3983
  }
3979
- const $ = {}, Ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
3984
+ const $ = {}, Gi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), yr = (e, t) => {
3980
3985
  if (t == null)
3981
3986
  return;
3982
3987
  if (t in $ && e in $[t])
3983
3988
  return $[t][e];
3984
- const r = Ie(t);
3989
+ const r = Ne(t);
3985
3990
  for (let n = 0; n < r.length; n++) {
3986
- const i = r[n], o = Ui(i, e);
3991
+ const i = r[n], o = Di(i, e);
3987
3992
  if (o)
3988
- return Ci(e, t, o);
3993
+ return Gi(e, t, o);
3989
3994
  }
3990
3995
  };
3991
- let ot;
3992
- const ae = Re({});
3993
- function Gi(e) {
3994
- return ot[e] || null;
3996
+ let at;
3997
+ const se = Oe({});
3998
+ function Ui(e) {
3999
+ return at[e] || null;
3995
4000
  }
3996
- function yr(e) {
3997
- return e in ot;
4001
+ function vr(e) {
4002
+ return e in at;
3998
4003
  }
3999
- function Ui(e, t) {
4000
- if (!yr(e))
4004
+ function Di(e, t) {
4005
+ if (!vr(e))
4001
4006
  return null;
4002
- const r = Gi(e);
4003
- return Mi(r, t);
4007
+ const r = Ui(e);
4008
+ return Ci(r, t);
4004
4009
  }
4005
- function Di(e) {
4010
+ function Fi(e) {
4006
4011
  if (e == null)
4007
4012
  return;
4008
- const t = Ie(e);
4013
+ const t = Ne(e);
4009
4014
  for (let r = 0; r < t.length; r++) {
4010
4015
  const n = t[r];
4011
- if (yr(n))
4016
+ if (vr(n))
4012
4017
  return n;
4013
4018
  }
4014
4019
  }
4015
- function vr(e, ...t) {
4016
- delete $[e], ae.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4020
+ function _r(e, ...t) {
4021
+ delete $[e], se.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4017
4022
  }
4018
- oe(
4019
- [ae],
4023
+ ae(
4024
+ [se],
4020
4025
  ([e]) => Object.keys(e)
4021
4026
  );
4022
- ae.subscribe((e) => ot = e);
4023
- const Se = {};
4024
- function Fi(e, t) {
4025
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4027
+ se.subscribe((e) => at = e);
4028
+ const Te = {};
4029
+ function $i(e, t) {
4030
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
4026
4031
  }
4027
- function _r(e) {
4028
- return Se[e];
4032
+ function xr(e) {
4033
+ return Te[e];
4029
4034
  }
4030
- function $i(e) {
4031
- return Ie(e).map((t) => {
4032
- const r = _r(t);
4035
+ function ji(e) {
4036
+ return Ne(e).map((t) => {
4037
+ const r = xr(t);
4033
4038
  return [t, r ? [...r] : []];
4034
4039
  }).filter(([, t]) => t.length > 0);
4035
4040
  }
4036
- function rt(e) {
4037
- return e == null ? !1 : Ie(e).some(
4041
+ function nt(e) {
4042
+ return e == null ? !1 : Ne(e).some(
4038
4043
  (t) => {
4039
4044
  var r;
4040
- return (r = _r(t)) == null ? void 0 : r.size;
4045
+ return (r = xr(t)) == null ? void 0 : r.size;
4041
4046
  }
4042
4047
  );
4043
4048
  }
4044
- function ji(e, t) {
4049
+ function ki(e, t) {
4045
4050
  return Promise.all(
4046
- t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4047
- ).then((n) => vr(e, ...n));
4048
- }
4049
- const le = {};
4050
- function xr(e) {
4051
- if (!rt(e))
4052
- return e in le ? le[e] : Promise.resolve();
4053
- const t = $i(e);
4054
- return le[e] = Promise.all(
4051
+ t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
4052
+ ).then((n) => _r(e, ...n));
4053
+ }
4054
+ const he = {};
4055
+ function Er(e) {
4056
+ if (!nt(e))
4057
+ return e in he ? he[e] : Promise.resolve();
4058
+ const t = ji(e);
4059
+ return he[e] = Promise.all(
4055
4060
  t.map(
4056
- ([r, n]) => ji(r, n)
4061
+ ([r, n]) => ki(r, n)
4057
4062
  )
4058
4063
  ).then(() => {
4059
- if (rt(e))
4060
- return xr(e);
4061
- delete le[e];
4062
- }), le[e];
4064
+ if (nt(e))
4065
+ return Er(e);
4066
+ delete he[e];
4067
+ }), he[e];
4063
4068
  }
4064
- const ki = {
4069
+ const Vi = {
4065
4070
  number: {
4066
4071
  scientific: { notation: "scientific" },
4067
4072
  engineering: { notation: "engineering" },
@@ -4090,150 +4095,150 @@ const ki = {
4090
4095
  timeZoneName: "short"
4091
4096
  }
4092
4097
  }
4093
- }, Vi = {
4098
+ }, Wi = {
4094
4099
  fallbackLocale: null,
4095
4100
  loadingDelay: 200,
4096
- formats: ki,
4101
+ formats: Vi,
4097
4102
  warnOnMissingMessages: !0,
4098
4103
  handleMissingMessage: void 0,
4099
4104
  ignoreTag: !0
4100
- }, Wi = Vi;
4101
- function ie() {
4102
- return Wi;
4105
+ }, Xi = Wi;
4106
+ function oe() {
4107
+ return Xi;
4103
4108
  }
4104
- const $e = Re(!1);
4105
- var Xi = Object.defineProperty, zi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yi = (e, t) => {
4109
+ const je = Oe(!1);
4110
+ var zi = Object.defineProperty, Ji = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4106
4111
  for (var r in t || (t = {}))
4107
- Zi.call(t, r) && It(e, r, t[r]);
4108
- if (Ot)
4109
- for (var r of Ot(t))
4110
- Qi.call(t, r) && It(e, r, t[r]);
4112
+ Qi.call(t, r) && Nt(e, r, t[r]);
4113
+ if (It)
4114
+ for (var r of It(t))
4115
+ Yi.call(t, r) && Nt(e, r, t[r]);
4111
4116
  return e;
4112
- }, qi = (e, t) => zi(e, Ji(t));
4113
- let nt;
4114
- const Be = Re(null);
4115
- function Nt(e) {
4117
+ }, Ki = (e, t) => Ji(e, Zi(t));
4118
+ let it;
4119
+ const Ae = Oe(null);
4120
+ function Lt(e) {
4116
4121
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4117
4122
  }
4118
- function Ie(e, t = ie().fallbackLocale) {
4119
- const r = Nt(e);
4120
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4123
+ function Ne(e, t = oe().fallbackLocale) {
4124
+ const r = Lt(e);
4125
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4121
4126
  }
4122
- function J() {
4123
- return nt ?? void 0;
4127
+ function Z() {
4128
+ return it ?? void 0;
4124
4129
  }
4125
- Be.subscribe((e) => {
4126
- nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4130
+ Ae.subscribe((e) => {
4131
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4127
4132
  });
4128
- const Ki = (e) => {
4129
- if (e && Di(e) && rt(e)) {
4130
- const { loadingDelay: t } = ie();
4133
+ const eo = (e) => {
4134
+ if (e && Fi(e) && nt(e)) {
4135
+ const { loadingDelay: t } = oe();
4131
4136
  let r;
4132
- return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4133
- () => $e.set(!0),
4137
+ return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4138
+ () => je.set(!0),
4134
4139
  t
4135
- ) : $e.set(!0), xr(e).then(() => {
4136
- Be.set(e);
4140
+ ) : je.set(!0), Er(e).then(() => {
4141
+ Ae.set(e);
4137
4142
  }).finally(() => {
4138
- clearTimeout(r), $e.set(!1);
4143
+ clearTimeout(r), je.set(!1);
4139
4144
  });
4140
4145
  }
4141
- return Be.set(e);
4142
- }, V = qi(Yi({}, Be), {
4143
- set: Ki
4144
- }), Ne = (e) => {
4146
+ return Ae.set(e);
4147
+ }, V = Ki(qi({}, Ae), {
4148
+ set: eo
4149
+ }), Le = (e) => {
4145
4150
  const t = /* @__PURE__ */ Object.create(null);
4146
4151
  return (n) => {
4147
4152
  const i = JSON.stringify(n);
4148
4153
  return i in t ? t[i] : t[i] = e(n);
4149
4154
  };
4150
4155
  };
4151
- var eo = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4156
+ var to = Object.defineProperty, Pe = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4152
4157
  for (var r in t || (t = {}))
4153
- Er.call(t, r) && Lt(e, r, t[r]);
4154
- if (Ae)
4155
- for (var r of Ae(t))
4156
- wr.call(t, r) && Lt(e, r, t[r]);
4158
+ wr.call(t, r) && Mt(e, r, t[r]);
4159
+ if (Pe)
4160
+ for (var r of Pe(t))
4161
+ Sr.call(t, r) && Mt(e, r, t[r]);
4157
4162
  return e;
4158
- }, se = (e, t) => {
4163
+ }, ue = (e, t) => {
4159
4164
  var r = {};
4160
4165
  for (var n in e)
4161
- Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4162
- if (e != null && Ae)
4163
- for (var n of Ae(e))
4164
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4166
+ wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4167
+ if (e != null && Pe)
4168
+ for (var n of Pe(e))
4169
+ t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4165
4170
  return r;
4166
4171
  };
4167
- const de = (e, t) => {
4168
- const { formats: r } = ie();
4172
+ const pe = (e, t) => {
4173
+ const { formats: r } = oe();
4169
4174
  if (e in r && t in r[e])
4170
4175
  return r[e][t];
4171
4176
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4172
- }, to = Ne(
4177
+ }, ro = Le(
4173
4178
  (e) => {
4174
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4179
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4175
4180
  if (r == null)
4176
4181
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4177
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4182
+ return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4178
4183
  }
4179
- ), ro = Ne(
4184
+ ), no = Le(
4180
4185
  (e) => {
4181
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4186
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4182
4187
  if (r == null)
4183
4188
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4184
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4189
+ return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4185
4190
  }
4186
- ), no = Ne(
4191
+ ), io = Le(
4187
4192
  (e) => {
4188
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4193
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4189
4194
  if (r == null)
4190
4195
  throw new Error(
4191
4196
  '[svelte-i18n] A "locale" must be set to format time values'
4192
4197
  );
4193
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4198
+ return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4194
4199
  }
4195
- ), io = (e = {}) => {
4200
+ ), oo = (e = {}) => {
4196
4201
  var t = e, {
4197
- locale: r = J()
4198
- } = t, n = se(t, [
4202
+ locale: r = Z()
4203
+ } = t, n = ue(t, [
4199
4204
  "locale"
4200
4205
  ]);
4201
- return to(at({ locale: r }, n));
4202
- }, oo = (e = {}) => {
4206
+ return ro(st({ locale: r }, n));
4207
+ }, ao = (e = {}) => {
4203
4208
  var t = e, {
4204
- locale: r = J()
4205
- } = t, n = se(t, [
4209
+ locale: r = Z()
4210
+ } = t, n = ue(t, [
4206
4211
  "locale"
4207
4212
  ]);
4208
- return ro(at({ locale: r }, n));
4209
- }, ao = (e = {}) => {
4213
+ return no(st({ locale: r }, n));
4214
+ }, so = (e = {}) => {
4210
4215
  var t = e, {
4211
- locale: r = J()
4212
- } = t, n = se(t, [
4216
+ locale: r = Z()
4217
+ } = t, n = ue(t, [
4213
4218
  "locale"
4214
4219
  ]);
4215
- return no(at({ locale: r }, n));
4216
- }, so = Ne(
4220
+ return io(st({ locale: r }, n));
4221
+ }, uo = Le(
4217
4222
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4218
- (e, t = J()) => new Li(e, t, ie().formats, {
4219
- ignoreTag: ie().ignoreTag
4223
+ (e, t = Z()) => new Mi(e, t, oe().formats, {
4224
+ ignoreTag: oe().ignoreTag
4220
4225
  })
4221
- ), uo = (e, t = {}) => {
4226
+ ), lo = (e, t = {}) => {
4222
4227
  var r, n, i, o;
4223
4228
  let a = t;
4224
4229
  typeof e == "object" && (a = e, e = a.id);
4225
4230
  const {
4226
4231
  values: s,
4227
- locale: h = J(),
4232
+ locale: h = Z(),
4228
4233
  default: l
4229
4234
  } = a;
4230
4235
  if (h == null)
4231
4236
  throw new Error(
4232
4237
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4233
4238
  );
4234
- let u = gr(e, h);
4239
+ let u = yr(e, h);
4235
4240
  if (!u)
4236
- u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4241
+ 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;
4237
4242
  else if (typeof u != "string")
4238
4243
  return console.warn(
4239
4244
  `[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.`
@@ -4242,7 +4247,7 @@ const de = (e, t) => {
4242
4247
  return u;
4243
4248
  let f = u;
4244
4249
  try {
4245
- f = so(u, h).format(s);
4250
+ f = uo(u, h).format(s);
4246
4251
  } catch (c) {
4247
4252
  c instanceof Error && console.warn(
4248
4253
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4250,20 +4255,20 @@ const de = (e, t) => {
4250
4255
  );
4251
4256
  }
4252
4257
  return f;
4253
- }, lo = (e, t) => ao(t).format(e), ho = (e, t) => oo(t).format(e), co = (e, t) => io(t).format(e), fo = (e, t = J()) => gr(e, t), mo = oe([V, ae], () => uo);
4254
- oe([V], () => lo);
4255
- oe([V], () => ho);
4256
- oe([V], () => co);
4257
- oe([V, ae], () => fo);
4258
- window.emWidgets = { topic: Hn };
4259
- const po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4260
- function bo(e, t) {
4258
+ }, ho = (e, t) => so(t).format(e), co = (e, t) => ao(t).format(e), fo = (e, t) => oo(t).format(e), mo = (e, t = Z()) => yr(e, t), po = ae([V, se], () => lo);
4259
+ ae([V], () => ho);
4260
+ ae([V], () => co);
4261
+ ae([V], () => fo);
4262
+ ae([V, se], () => mo);
4263
+ window.emWidgets = { topic: Bn };
4264
+ const bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4265
+ function go(e, t) {
4261
4266
  if (e) {
4262
4267
  const r = document.createElement("style");
4263
4268
  r.innerHTML = t, e.appendChild(r);
4264
4269
  }
4265
4270
  }
4266
- function go(e, t) {
4271
+ function yo(e, t) {
4267
4272
  const r = new URL(t);
4268
4273
  fetch(r.href).then((n) => n.text()).then((n) => {
4269
4274
  const i = document.createElement("style");
@@ -4272,7 +4277,7 @@ function go(e, t) {
4272
4277
  console.error("There was an error while trying to load client styling from URL", n);
4273
4278
  });
4274
4279
  }
4275
- function yo(e, t, r) {
4280
+ function vo(e, t, r) {
4276
4281
  if (window.emMessageBus) {
4277
4282
  const n = document.createElement("style");
4278
4283
  window.emMessageBus.subscribe(t, (i) => {
@@ -4280,18 +4285,18 @@ function yo(e, t, r) {
4280
4285
  });
4281
4286
  }
4282
4287
  }
4283
- function vo({ withLocale: e, translations: t }) {
4288
+ function _o({ withLocale: e, translations: t }) {
4284
4289
  V.subscribe((r) => {
4285
- r == null && (ae.set(t), V.set(e));
4290
+ r == null && (se.set(t), V.set(e));
4286
4291
  });
4287
4292
  }
4288
- function Mt(e, t) {
4289
- vr(e, t);
4293
+ function Ct(e, t) {
4294
+ _r(e, t);
4290
4295
  }
4291
- function _o(e) {
4296
+ function xo(e) {
4292
4297
  V.set(e);
4293
4298
  }
4294
- const Ct = {
4299
+ const Gt = {
4295
4300
  en: {
4296
4301
  playRandomGame: "Play a random game",
4297
4302
  randomGameLoading: "Selecting ...",
@@ -4365,39 +4370,39 @@ const Ct = {
4365
4370
  noGames: "There are no random games to play"
4366
4371
  }
4367
4372
  };
4368
- function xo(e) {
4369
- Wr(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}");
4373
+ function Eo(e) {
4374
+ Xr(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}");
4370
4375
  }
4371
- function Gt(e, t, r) {
4376
+ function Ut(e, t, r) {
4372
4377
  const n = e.slice();
4373
4378
  return n[41] = t[r], n;
4374
4379
  }
4375
- const Eo = (e) => ({}), Ut = (e) => ({});
4376
- function Dt(e) {
4380
+ const wo = (e) => ({}), Dt = (e) => ({});
4381
+ function Ft(e) {
4377
4382
  let t, r, n, i, o, a, s;
4378
4383
  const h = (
4379
4384
  /*#slots*/
4380
4385
  e[23].close
4381
- ), l = $r(
4386
+ ), l = jr(
4382
4387
  h,
4383
4388
  e,
4384
4389
  /*$$scope*/
4385
4390
  e[22],
4386
- Ut
4387
- ), u = l || wo();
4391
+ Dt
4392
+ ), u = l || So();
4388
4393
  function f(d, p) {
4389
4394
  return (
4390
4395
  /*hasRandomGames*/
4391
- d[7] ? To : So
4396
+ d[7] ? Ho : To
4392
4397
  );
4393
4398
  }
4394
4399
  let c = f(e), m = c(e);
4395
4400
  return {
4396
4401
  c() {
4397
- t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = k(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4402
+ 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");
4398
4403
  },
4399
4404
  m(d, p) {
4400
- I(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Te(
4405
+ I(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = He(
4401
4406
  n,
4402
4407
  "click",
4403
4408
  /*closeModal*/
@@ -4406,41 +4411,41 @@ function Dt(e) {
4406
4411
  },
4407
4412
  p(d, p) {
4408
4413
  l && l.p && (!o || p[0] & /*$$scope*/
4409
- 4194304) && kr(
4414
+ 4194304) && Vr(
4410
4415
  l,
4411
4416
  h,
4412
4417
  d,
4413
4418
  /*$$scope*/
4414
4419
  d[22],
4415
- o ? jr(
4420
+ o ? kr(
4416
4421
  h,
4417
4422
  /*$$scope*/
4418
4423
  d[22],
4419
4424
  p,
4420
- Eo
4421
- ) : Vr(
4425
+ wo
4426
+ ) : Wr(
4422
4427
  /*$$scope*/
4423
4428
  d[22]
4424
4429
  ),
4425
- Ut
4430
+ Dt
4426
4431
  ), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4427
4432
  },
4428
4433
  i(d) {
4429
- o || (ce(u, d), o = !0);
4434
+ o || (fe(u, d), o = !0);
4430
4435
  },
4431
4436
  o(d) {
4432
- Ve(u, d), o = !1;
4437
+ We(u, d), o = !1;
4433
4438
  },
4434
4439
  d(d) {
4435
4440
  d && R(t), u && u.d(d), m.d(), a = !1, s();
4436
4441
  }
4437
4442
  };
4438
4443
  }
4439
- function wo(e) {
4444
+ function So(e) {
4440
4445
  let t, r;
4441
4446
  return {
4442
4447
  c() {
4443
- t = ft("svg"), r = ft("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");
4448
+ t = mt("svg"), r = mt("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");
4444
4449
  },
4445
4450
  m(n, i) {
4446
4451
  I(n, t, i), x(t, r);
@@ -4451,14 +4456,14 @@ function wo(e) {
4451
4456
  }
4452
4457
  };
4453
4458
  }
4454
- function So(e) {
4459
+ function To(e) {
4455
4460
  let t, r = (
4456
4461
  /*$_*/
4457
4462
  e[9]("noGames") + ""
4458
4463
  ), n;
4459
4464
  return {
4460
4465
  c() {
4461
- t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4466
+ t = S("p"), n = j(r), _(t, "class", "RandomGameLoading");
4462
4467
  },
4463
4468
  m(i, o) {
4464
4469
  I(i, t, o), x(t, n);
@@ -4466,24 +4471,24 @@ function So(e) {
4466
4471
  p(i, o) {
4467
4472
  o[0] & /*$_*/
4468
4473
  512 && r !== (r = /*$_*/
4469
- i[9]("noGames") + "") && X(n, r);
4474
+ i[9]("noGames") + "") && z(n, r);
4470
4475
  },
4471
4476
  d(i) {
4472
4477
  i && R(t);
4473
4478
  }
4474
4479
  };
4475
4480
  }
4476
- function To(e) {
4477
- let t, r, n, i, o = dt(
4481
+ function Ho(e) {
4482
+ let t, r, n, i, o = pt(
4478
4483
  /*gamesToShow*/
4479
4484
  e[4]
4480
4485
  ), a = [];
4481
4486
  for (let u = 0; u < o.length; u += 1)
4482
- a[u] = Ft(Gt(e, o, u));
4487
+ a[u] = $t(Ut(e, o, u));
4483
4488
  function s(u, f) {
4484
4489
  return (
4485
4490
  /*animationDone*/
4486
- u[6] ? Bo : Ho
4491
+ u[6] ? Ao : Bo
4487
4492
  );
4488
4493
  }
4489
4494
  let h = s(e), l = h(e);
@@ -4492,7 +4497,7 @@ function To(e) {
4492
4497
  t = S("div"), r = S("main"), n = S("div");
4493
4498
  for (let u = 0; u < a.length; u += 1)
4494
4499
  a[u].c();
4495
- i = k(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4500
+ i = k(), l.c(), _(n, "class", "GamesContainer"), _(r, "class", "RandomGamesSliderWrapper"), _(t, "class", "RandomGameWrapper");
4496
4501
  },
4497
4502
  m(u, f) {
4498
4503
  I(u, t, f), x(t, r), x(r, n);
@@ -4503,14 +4508,14 @@ function To(e) {
4503
4508
  p(u, f) {
4504
4509
  if (f[0] & /*gamesToShow*/
4505
4510
  16) {
4506
- o = dt(
4511
+ o = pt(
4507
4512
  /*gamesToShow*/
4508
4513
  u[4]
4509
4514
  );
4510
4515
  let c;
4511
4516
  for (c = 0; c < o.length; c += 1) {
4512
- const m = Gt(u, o, c);
4513
- a[c] ? a[c].p(m, f) : (a[c] = Ft(m), a[c].c(), a[c].m(n, null));
4517
+ const m = Ut(u, o, c);
4518
+ a[c] ? a[c].p(m, f) : (a[c] = $t(m), a[c].c(), a[c].m(n, null));
4514
4519
  }
4515
4520
  for (; c < a.length; c += 1)
4516
4521
  a[c].d(1);
@@ -4519,44 +4524,44 @@ function To(e) {
4519
4524
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4520
4525
  },
4521
4526
  d(u) {
4522
- u && R(t), Jr(a, u), e[24](null), l.d();
4527
+ u && R(t), Zr(a, u), e[24](null), l.d();
4523
4528
  }
4524
4529
  };
4525
4530
  }
4526
- function Ft(e) {
4531
+ function $t(e) {
4527
4532
  let t, r, n, i, o, a;
4528
4533
  return {
4529
4534
  c() {
4530
- t = S("div"), r = S("img"), a = k(), g(r, "class", "RandomGameImage"), ct(r.src, n = /*game*/
4531
- e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4532
- e[41].name), g(r, "title", o = /*game*/
4533
- e[41].name), g(t, "class", "item");
4535
+ t = S("div"), r = S("ui-image"), a = k(), W(r, "imgClass", "RandomGameImage"), ft(r.src, n = /*game*/
4536
+ e[41].thumbnail) || W(r, "src", n), W(r, "alt", i = /*game*/
4537
+ e[41].name), W(r, "title", o = /*game*/
4538
+ e[41].name), _(t, "class", "item");
4534
4539
  },
4535
4540
  m(s, h) {
4536
4541
  I(s, t, h), x(t, r), x(t, a);
4537
4542
  },
4538
4543
  p(s, h) {
4539
4544
  h[0] & /*gamesToShow*/
4540
- 16 && !ct(r.src, n = /*game*/
4541
- s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4545
+ 16 && !ft(r.src, n = /*game*/
4546
+ s[41].thumbnail) && W(r, "src", n), h[0] & /*gamesToShow*/
4542
4547
  16 && i !== (i = /*game*/
4543
- s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
4548
+ s[41].name) && W(r, "alt", i), h[0] & /*gamesToShow*/
4544
4549
  16 && o !== (o = /*game*/
4545
- s[41].name) && g(r, "title", o);
4550
+ s[41].name) && W(r, "title", o);
4546
4551
  },
4547
4552
  d(s) {
4548
4553
  s && R(t);
4549
4554
  }
4550
4555
  };
4551
4556
  }
4552
- function Ho(e) {
4557
+ function Bo(e) {
4553
4558
  let t, r = (
4554
4559
  /*$_*/
4555
4560
  e[9]("randomGameLoading") + ""
4556
4561
  ), n;
4557
4562
  return {
4558
4563
  c() {
4559
- t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4564
+ t = S("p"), n = j(r), _(t, "class", "RandomGameLoading");
4560
4565
  },
4561
4566
  m(i, o) {
4562
4567
  I(i, t, o), x(t, n);
@@ -4564,14 +4569,14 @@ function Ho(e) {
4564
4569
  p(i, o) {
4565
4570
  o[0] & /*$_*/
4566
4571
  512 && r !== (r = /*$_*/
4567
- i[9]("randomGameLoading") + "") && X(n, r);
4572
+ i[9]("randomGameLoading") + "") && z(n, r);
4568
4573
  },
4569
4574
  d(i) {
4570
4575
  i && R(t);
4571
4576
  }
4572
4577
  };
4573
4578
  }
4574
- function Bo(e) {
4579
+ function Ao(e) {
4575
4580
  let t, r, n, i, o = (
4576
4581
  /*randomGame*/
4577
4582
  e[3].name + ""
@@ -4585,17 +4590,17 @@ function Bo(e) {
4585
4590
  return {
4586
4591
  c() {
4587
4592
  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));}
4588
- </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), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4593
+ </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");
4589
4594
  },
4590
4595
  m(H, T) {
4591
4596
  I(H, t, T), I(H, r, T), I(H, n, T), x(n, i), x(i, a), x(n, s), x(n, h), x(h, u), x(n, f), x(n, c), x(c, d), p || (A = [
4592
- Te(
4597
+ He(
4593
4598
  t,
4594
4599
  "click",
4595
4600
  /*click_handler*/
4596
4601
  e[25]
4597
4602
  ),
4598
- Te(
4603
+ He(
4599
4604
  c,
4600
4605
  "click",
4601
4606
  /*click_handler_1*/
@@ -4606,25 +4611,25 @@ function Bo(e) {
4606
4611
  p(H, T) {
4607
4612
  T[0] & /*randomGame*/
4608
4613
  8 && o !== (o = /*randomGame*/
4609
- H[3].name + "") && X(a, o), T[0] & /*randomGame*/
4614
+ H[3].name + "") && z(a, o), T[0] & /*randomGame*/
4610
4615
  8 && l !== (l = /*randomGame*/
4611
- H[3].vendor.name + "") && X(u, l), T[0] & /*$_*/
4616
+ H[3].vendor.name + "") && z(u, l), T[0] & /*$_*/
4612
4617
  512 && m !== (m = /*$_*/
4613
- H[9]("playNowRandomGame") + "") && X(d, m);
4618
+ H[9]("playNowRandomGame") + "") && z(d, m);
4614
4619
  },
4615
4620
  d(H) {
4616
- H && (R(t), R(r), R(n)), p = !1, z(A);
4621
+ H && (R(t), R(r), R(n)), p = !1, J(A);
4617
4622
  }
4618
4623
  };
4619
4624
  }
4620
- function Ao(e) {
4625
+ function Po(e) {
4621
4626
  let t, r = (
4622
4627
  /*$_*/
4623
4628
  e[9]("playRandomGame") + ""
4624
4629
  ), n;
4625
4630
  return {
4626
4631
  c() {
4627
- t = S("span"), n = j(r), g(t, "class", "RandomButtonText");
4632
+ t = S("span"), n = j(r), _(t, "class", "RandomButtonText");
4628
4633
  },
4629
4634
  m(i, o) {
4630
4635
  I(i, t, o), x(t, n);
@@ -4632,28 +4637,28 @@ function Ao(e) {
4632
4637
  p(i, o) {
4633
4638
  o[0] & /*$_*/
4634
4639
  512 && r !== (r = /*$_*/
4635
- i[9]("playRandomGame") + "") && X(n, r);
4640
+ i[9]("playRandomGame") + "") && z(n, r);
4636
4641
  },
4637
4642
  d(i) {
4638
4643
  i && R(t);
4639
4644
  }
4640
4645
  };
4641
4646
  }
4642
- function Po(e) {
4647
+ function Ro(e) {
4643
4648
  let t, r;
4644
4649
  return {
4645
4650
  c() {
4646
4651
  t = S("span"), r = j(
4647
4652
  /*buttontext*/
4648
4653
  e[1]
4649
- ), g(t, "class", "RandomButtonText");
4654
+ ), _(t, "class", "RandomButtonText");
4650
4655
  },
4651
4656
  m(n, i) {
4652
4657
  I(n, t, i), x(t, r);
4653
4658
  },
4654
4659
  p(n, i) {
4655
4660
  i[0] & /*buttontext*/
4656
- 2 && X(
4661
+ 2 && z(
4657
4662
  r,
4658
4663
  /*buttontext*/
4659
4664
  n[1]
@@ -4664,29 +4669,29 @@ function Po(e) {
4664
4669
  }
4665
4670
  };
4666
4671
  }
4667
- function Ro(e) {
4672
+ function Oo(e) {
4668
4673
  let t, r, n, i, o, a, s, h, l, u = (
4669
4674
  /*show*/
4670
- e[5] && Dt(e)
4675
+ e[5] && Ft(e)
4671
4676
  );
4672
4677
  function f(d, p) {
4673
4678
  if (
4674
4679
  /*buttontext*/
4675
4680
  d[1]
4676
4681
  )
4677
- return Po;
4682
+ return Ro;
4678
4683
  if (!/*buttontext*/
4679
4684
  d[1])
4680
- return Ao;
4685
+ return Po;
4681
4686
  }
4682
4687
  let c = f(e), m = c && c(e);
4683
4688
  return {
4684
4689
  c() {
4685
- t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
4690
+ 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");
4686
4691
  },
4687
4692
  m(d, p) {
4688
4693
  I(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
4689
- e[0], e[28](t), s = !0, h || (l = Te(
4694
+ e[0], e[28](t), s = !0, h || (l = He(
4690
4695
  i,
4691
4696
  "click",
4692
4697
  /*click_handler_2*/
@@ -4696,75 +4701,75 @@ function Ro(e) {
4696
4701
  p(d, p) {
4697
4702
  /*show*/
4698
4703
  d[5] ? u ? (u.p(d, p), p[0] & /*show*/
4699
- 32 && ce(u, 1)) : (u = Dt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (rn(), Ve(u, 1, 1, () => {
4704
+ 32 && fe(u, 1)) : (u = Ft(d), u.c(), fe(u, 1), u.m(t, r)) : u && (nn(), We(u, 1, 1, () => {
4700
4705
  u = null;
4701
- }), nn()), 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*/
4706
+ }), on()), 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*/
4702
4707
  1) && (a.innerHTML = /*randombuttonicon*/
4703
4708
  d[0]);
4704
4709
  },
4705
4710
  i(d) {
4706
- s || (ce(u), s = !0);
4711
+ s || (fe(u), s = !0);
4707
4712
  },
4708
4713
  o(d) {
4709
- Ve(u), s = !1;
4714
+ We(u), s = !1;
4710
4715
  },
4711
4716
  d(d) {
4712
4717
  d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4713
4718
  }
4714
4719
  };
4715
4720
  }
4716
- function Oo(e, t, r) {
4721
+ function Io(e, t, r) {
4717
4722
  let n;
4718
- Fr(e, mo, (b) => r(9, n = b));
4719
- 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, C = !1, pe = window.navigator.userAgent, G, Z, st, be, ut = null;
4720
- vo({ withLocale: "en", translations: {} });
4721
- const Sr = () => {
4723
+ $r(e, po, (b) => r(9, n = b));
4724
+ 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, C = !1, be = window.navigator.userAgent, G, Q, ut, ge, lt = null;
4725
+ _o({ withLocale: "en", translations: {} });
4726
+ const Tr = () => {
4722
4727
  fetch(c).then((E) => E.json()).then((E) => {
4723
4728
  Object.keys(E).forEach((U) => {
4724
- Mt(U, E[U]);
4729
+ Ct(U, E[U]);
4725
4730
  });
4726
4731
  }).catch((E) => {
4727
4732
  console.log(E);
4728
4733
  });
4729
4734
  };
4730
- Object.keys(Ct).forEach((b) => {
4731
- Mt(b, Ct[b]);
4735
+ Object.keys(Gt).forEach((b) => {
4736
+ Ct(b, Gt[b]);
4732
4737
  });
4733
- const Tr = () => {
4738
+ const Hr = () => {
4734
4739
  let b = new URL(`${a}/v1/casino/games`);
4735
- b.searchParams.append("platform", po(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((E) => E.json()).then((E) => {
4736
- H = E.items, H.length ? (r(4, B = Hr(H.slice(0, 19))), r(7, C = !0)) : (r(4, B = []), r(7, C = !1));
4740
+ b.searchParams.append("platform", bo(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) => {
4741
+ H = E.items, H.length ? (r(4, B = Br(H.slice(0, 19))), r(7, C = !0)) : (r(4, B = []), r(7, C = !1));
4737
4742
  }).catch((E) => {
4738
4743
  console.log(E), r(7, C = !1);
4739
4744
  });
4740
- }, Hr = (b) => {
4741
- const E = Ar(b);
4745
+ }, Br = (b) => {
4746
+ const E = Pr(b);
4742
4747
  return E.concat(E);
4743
- }, Br = async () => {
4744
- await Kr(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), st = Z.children[be];
4745
- }, Le = async () => {
4746
- r(6, L = !1), r(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Br();
4747
- const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (st.offsetHeight + E) * be, Cr = [
4748
+ }, Ar = async () => {
4749
+ await en(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), ut = Q.children[ge];
4750
+ }, Me = async () => {
4751
+ r(6, L = !1), r(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Ar();
4752
+ const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (ut.offsetHeight + E) * ge, Gr = [
4748
4753
  { transform: "translateX(0px)" },
4749
4754
  { filter: "blur(5px)" },
4750
4755
  {
4751
- transform: `translateY(-${ue}px)`
4756
+ transform: `translateY(-${le}px)`
4752
4757
  }
4753
- ], Gr = {
4758
+ ], Ur = {
4754
4759
  duration: 2e3,
4755
4760
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4756
4761
  fill: "forwards"
4757
4762
  };
4758
- ut = Z.animate(Cr, Gr), ut.onfinish = () => {
4763
+ lt = Q.animate(Gr, Ur), lt.onfinish = () => {
4759
4764
  r(6, L = !0);
4760
4765
  };
4761
- }, Ar = (b) => {
4766
+ }, Pr = (b) => {
4762
4767
  const E = structuredClone(b);
4763
- let U = E.length, ue;
4768
+ let U = E.length, le;
4764
4769
  for (; U != 0; )
4765
- ue = Math.floor(Math.random() * U), U--, [E[U], E[ue]] = [E[ue], E[U]];
4770
+ le = Math.floor(Math.random() * U), U--, [E[U], E[le]] = [E[le], E[U]];
4766
4771
  return E;
4767
- }, lt = () => {
4772
+ }, ht = () => {
4768
4773
  window.postMessage(
4769
4774
  {
4770
4775
  type: h,
@@ -4775,21 +4780,21 @@ function Oo(e, t, r) {
4775
4780
  context: "RandomGameWidget",
4776
4781
  gameId: `${T.gId || T.id}`
4777
4782
  });
4778
- }, Pr = () => {
4779
- r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
4780
4783
  }, Rr = () => {
4781
- _o(l);
4784
+ r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
4785
+ }, Or = () => {
4786
+ xo(l);
4782
4787
  };
4783
- qr(() => () => {
4788
+ Kr(() => () => {
4784
4789
  });
4785
- function Or(b) {
4786
- He[b ? "unshift" : "push"](() => {
4787
- Z = b, r(8, Z);
4790
+ function Ir(b) {
4791
+ Be[b ? "unshift" : "push"](() => {
4792
+ Q = b, r(8, Q);
4788
4793
  });
4789
4794
  }
4790
- const Ir = () => Le(), Nr = () => lt(), Lr = () => Le();
4791
- function Mr(b) {
4792
- He[b ? "unshift" : "push"](() => {
4795
+ const Nr = () => Me(), Lr = () => ht(), Mr = () => Me();
4796
+ function Cr(b) {
4797
+ Be[b ? "unshift" : "push"](() => {
4793
4798
  G = b, r(2, G);
4794
4799
  });
4795
4800
  }
@@ -4797,12 +4802,12 @@ function Oo(e, t, r) {
4797
4802
  "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);
4798
4803
  }, e.$$.update = () => {
4799
4804
  e.$$.dirty[0] & /*lang*/
4800
- 65536 && l && Rr(), e.$$.dirty[0] & /*translationurl*/
4801
- 131072 && c && Sr(), e.$$.dirty[0] & /*endpoint, datasource*/
4802
- 24576 && a && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4803
- 262148 && m && G && bo(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4804
- 524292 && d && G && go(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4805
- 2097156 && G && yo(G, `${A}.Style`);
4805
+ 65536 && l && Or(), e.$$.dirty[0] & /*translationurl*/
4806
+ 131072 && c && Tr(), e.$$.dirty[0] & /*endpoint, datasource*/
4807
+ 24576 && a && s && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4808
+ 262148 && m && G && go(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4809
+ 524292 && d && G && yo(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4810
+ 2097156 && G && vo(G, `${A}.Style`);
4806
4811
  }, [
4807
4812
  u,
4808
4813
  f,
@@ -4812,11 +4817,11 @@ function Oo(e, t, r) {
4812
4817
  N,
4813
4818
  L,
4814
4819
  C,
4815
- Z,
4820
+ Q,
4816
4821
  n,
4817
- Le,
4818
- lt,
4819
- Pr,
4822
+ Me,
4823
+ ht,
4824
+ Rr,
4820
4825
  a,
4821
4826
  s,
4822
4827
  h,
@@ -4828,21 +4833,21 @@ function Oo(e, t, r) {
4828
4833
  A,
4829
4834
  o,
4830
4835
  i,
4831
- Or,
4832
4836
  Ir,
4833
4837
  Nr,
4834
4838
  Lr,
4835
- Mr
4839
+ Mr,
4840
+ Cr
4836
4841
  ];
4837
4842
  }
4838
- class Io extends hn {
4843
+ class No extends cn {
4839
4844
  constructor(t) {
4840
- super(), un(
4845
+ super(), ln(
4841
4846
  this,
4842
4847
  t,
4848
+ Io,
4843
4849
  Oo,
4844
- Ro,
4845
- jt,
4850
+ kt,
4846
4851
  {
4847
4852
  endpoint: 13,
4848
4853
  datasource: 14,
@@ -4856,7 +4861,7 @@ class Io extends hn {
4856
4861
  filteredrandomgamecategories: 20,
4857
4862
  mbsource: 21
4858
4863
  },
4859
- xo,
4864
+ Eo,
4860
4865
  [-1, -1]
4861
4866
  );
4862
4867
  }
@@ -4927,7 +4932,7 @@ class Io extends hn {
4927
4932
  this.$$set({ mbsource: t }), O();
4928
4933
  }
4929
4934
  }
4930
- ln(Io, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4935
+ hn(No, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4931
4936
  export {
4932
- Io as C
4937
+ No as C
4933
4938
  };