@everymatrix/casino-random-game 1.56.0 → 1.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,56 +1,57 @@
1
- function M() {
1
+ function N() {
2
2
  }
3
- function Ur(e, t) {
4
- for (const r in t) e[r] = t[r];
3
+ function jr(e, t) {
4
+ for (const r in t)
5
+ e[r] = t[r];
5
6
  return (
6
7
  /** @type {T & S} */
7
8
  e
8
9
  );
9
10
  }
10
- function $t(e) {
11
+ function Vt(e) {
11
12
  return e();
12
13
  }
13
- function ht() {
14
+ function mt() {
14
15
  return /* @__PURE__ */ Object.create(null);
15
16
  }
16
17
  function z(e) {
17
- e.forEach($t);
18
+ e.forEach(Vt);
18
19
  }
19
- function it(e) {
20
+ function ot(e) {
20
21
  return typeof e == "function";
21
22
  }
22
- function jt(e, t) {
23
+ function Wt(e, t) {
23
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
25
  }
25
26
  let ge;
26
- function ct(e, t) {
27
+ function dt(e, t) {
27
28
  return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
28
29
  }
29
- function Dr(e) {
30
+ function kr(e) {
30
31
  return Object.keys(e).length === 0;
31
32
  }
32
- function kt(e, ...t) {
33
+ function Xt(e, ...t) {
33
34
  if (e == null) {
34
35
  for (const n of t)
35
36
  n(void 0);
36
- return M;
37
+ return N;
37
38
  }
38
39
  const r = e.subscribe(...t);
39
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
41
  }
41
- function Fr(e, t, r) {
42
- e.$$.on_destroy.push(kt(t, r));
42
+ function Vr(e, t, r) {
43
+ e.$$.on_destroy.push(Xt(t, r));
43
44
  }
44
- function $r(e, t, r, n) {
45
+ function Wr(e, t, r, n) {
45
46
  if (e) {
46
- const i = Vt(e, t, r, n);
47
+ const i = zt(e, t, r, n);
47
48
  return e[0](i);
48
49
  }
49
50
  }
50
- function Vt(e, t, r, n) {
51
- return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function zt(e, t, r, n) {
52
+ return e[1] && n ? jr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
53
  }
53
- function jr(e, t, r, n) {
54
+ function Xr(e, t, r, n) {
54
55
  if (e[2] && n) {
55
56
  const i = e[2](n(r));
56
57
  if (t.dirty === void 0)
@@ -65,13 +66,13 @@ function jr(e, t, r, n) {
65
66
  }
66
67
  return t.dirty;
67
68
  }
68
- function kr(e, t, r, n, i, o) {
69
+ function zr(e, t, r, n, i, o) {
69
70
  if (i) {
70
- const a = Vt(t, r, n, o);
71
+ const a = zt(t, r, n, o);
71
72
  e.p(a, i);
72
73
  }
73
74
  }
74
- function Vr(e) {
75
+ function Jr(e) {
75
76
  if (e.ctx.length > 32) {
76
77
  const t = [], r = e.ctx.length / 32;
77
78
  for (let n = 0; n < r; n++)
@@ -83,15 +84,16 @@ function Vr(e) {
83
84
  function x(e, t) {
84
85
  e.appendChild(t);
85
86
  }
86
- function Wr(e, t, r) {
87
- const n = Xr(e);
87
+ function Zr(e, t, r) {
88
+ const n = Qr(e);
88
89
  if (!n.getElementById(t)) {
89
90
  const i = S("style");
90
- i.id = t, i.textContent = r, zr(n, i);
91
+ i.id = t, i.textContent = r, Yr(n, i);
91
92
  }
92
93
  }
93
- function Xr(e) {
94
- if (!e) return document;
94
+ function Qr(e) {
95
+ if (!e)
96
+ return document;
95
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
98
  return t && /** @type {ShadowRoot} */
97
99
  t.host ? (
@@ -99,27 +101,27 @@ function Xr(e) {
99
101
  t
100
102
  ) : e.ownerDocument;
101
103
  }
102
- function zr(e, t) {
104
+ function Yr(e, t) {
103
105
  return x(
104
106
  /** @type {Document} */
105
107
  e.head || e,
106
108
  t
107
109
  ), t.sheet;
108
110
  }
109
- function I(e, t, r) {
111
+ function O(e, t, r) {
110
112
  e.insertBefore(t, r || null);
111
113
  }
112
114
  function R(e) {
113
115
  e.parentNode && e.parentNode.removeChild(e);
114
116
  }
115
- function Jr(e, t) {
117
+ function qr(e, t) {
116
118
  for (let r = 0; r < e.length; r += 1)
117
119
  e[r] && e[r].d(t);
118
120
  }
119
121
  function S(e) {
120
122
  return document.createElement(e);
121
123
  }
122
- function ft(e) {
124
+ function pt(e) {
123
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
124
126
  }
125
127
  function j(e) {
@@ -134,14 +136,14 @@ function Te(e, t, r, n) {
134
136
  function g(e, t, r) {
135
137
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
136
138
  }
137
- function Zr(e) {
139
+ function Kr(e) {
138
140
  return Array.from(e.childNodes);
139
141
  }
140
142
  function X(e, t) {
141
143
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
144
  t);
143
145
  }
144
- function Qr(e) {
146
+ function en(e) {
145
147
  const t = {};
146
148
  return e.childNodes.forEach(
147
149
  /** @param {Element} node */
@@ -154,29 +156,30 @@ let fe;
154
156
  function he(e) {
155
157
  fe = e;
156
158
  }
157
- function Yr() {
158
- if (!fe) throw new Error("Function called outside component initialization");
159
+ function tn() {
160
+ if (!fe)
161
+ throw new Error("Function called outside component initialization");
159
162
  return fe;
160
163
  }
161
- function qr(e) {
162
- Yr().$$.on_mount.push(e);
164
+ function rn(e) {
165
+ tn().$$.on_mount.push(e);
163
166
  }
164
167
  const q = [], He = [];
165
168
  let K = [];
166
- const mt = [], Wt = /* @__PURE__ */ Promise.resolve();
167
- let je = !1;
168
- function Xt() {
169
- je || (je = !0, Wt.then(O));
169
+ const bt = [], Jt = /* @__PURE__ */ Promise.resolve();
170
+ let ke = !1;
171
+ function Zt() {
172
+ ke || (ke = !0, Jt.then(I));
170
173
  }
171
- function Kr() {
172
- return Xt(), Wt;
174
+ function nn() {
175
+ return Zt(), Jt;
173
176
  }
174
- function ke(e) {
177
+ function Ve(e) {
175
178
  K.push(e);
176
179
  }
177
- const Me = /* @__PURE__ */ new Set();
180
+ const Ne = /* @__PURE__ */ new Set();
178
181
  let Q = 0;
179
- function O() {
182
+ function I() {
180
183
  if (Q !== 0)
181
184
  return;
182
185
  const e = fe;
@@ -184,36 +187,37 @@ function O() {
184
187
  try {
185
188
  for (; Q < q.length; ) {
186
189
  const t = q[Q];
187
- Q++, he(t), en(t.$$);
190
+ Q++, he(t), on(t.$$);
188
191
  }
189
192
  } catch (t) {
190
193
  throw q.length = 0, Q = 0, t;
191
194
  }
192
- for (he(null), q.length = 0, Q = 0; He.length; ) He.pop()();
195
+ for (he(null), q.length = 0, Q = 0; He.length; )
196
+ He.pop()();
193
197
  for (let t = 0; t < K.length; t += 1) {
194
198
  const r = K[t];
195
- Me.has(r) || (Me.add(r), r());
199
+ Ne.has(r) || (Ne.add(r), r());
196
200
  }
197
201
  K.length = 0;
198
202
  } while (q.length);
199
- for (; mt.length; )
200
- mt.pop()();
201
- je = !1, Me.clear(), he(e);
203
+ for (; bt.length; )
204
+ bt.pop()();
205
+ ke = !1, Ne.clear(), he(e);
202
206
  }
203
- function en(e) {
207
+ function on(e) {
204
208
  if (e.fragment !== null) {
205
209
  e.update(), z(e.before_update);
206
210
  const t = e.dirty;
207
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
211
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
208
212
  }
209
213
  }
210
- function tn(e) {
214
+ function an(e) {
211
215
  const t = [], r = [];
212
216
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
213
217
  }
214
218
  const _e = /* @__PURE__ */ new Set();
215
219
  let W;
216
- function rn() {
220
+ function sn() {
217
221
  W = {
218
222
  r: 0,
219
223
  c: [],
@@ -221,38 +225,40 @@ function rn() {
221
225
  // parent group
222
226
  };
223
227
  }
224
- function nn() {
228
+ function un() {
225
229
  W.r || z(W.c), W = W.p;
226
230
  }
227
231
  function ce(e, t) {
228
232
  e && e.i && (_e.delete(e), e.i(t));
229
233
  }
230
- function Ve(e, t, r, n) {
234
+ function We(e, t, r, n) {
231
235
  if (e && e.o) {
232
- if (_e.has(e)) return;
236
+ if (_e.has(e))
237
+ return;
233
238
  _e.add(e), W.c.push(() => {
234
239
  _e.delete(e), n && (r && e.d(1), n());
235
240
  }), e.o(t);
236
- } else n && n();
241
+ } else
242
+ n && n();
237
243
  }
238
- function dt(e) {
244
+ function gt(e) {
239
245
  return e?.length !== void 0 ? e : Array.from(e);
240
246
  }
241
- function on(e, t, r) {
247
+ function ln(e, t, r) {
242
248
  const { fragment: n, after_update: i } = e.$$;
243
- n && n.m(t, r), ke(() => {
244
- const o = e.$$.on_mount.map($t).filter(it);
249
+ n && n.m(t, r), Ve(() => {
250
+ const o = e.$$.on_mount.map(Vt).filter(ot);
245
251
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
246
- }), i.forEach(ke);
252
+ }), i.forEach(Ve);
247
253
  }
248
- function an(e, t) {
254
+ function hn(e, t) {
249
255
  const r = e.$$;
250
- 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 = []);
256
+ r.fragment !== null && (an(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
257
  }
252
- function sn(e, t) {
253
- e.$$.dirty[0] === -1 && (q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
258
+ function cn(e, t) {
259
+ e.$$.dirty[0] === -1 && (q.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
254
260
  }
255
- function un(e, t, r, n, i, o, a = null, s = [-1]) {
261
+ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
256
262
  const h = fe;
257
263
  he(e);
258
264
  const l = e.$$ = {
@@ -260,9 +266,9 @@ function un(e, t, r, n, i, o, a = null, s = [-1]) {
260
266
  ctx: [],
261
267
  // state
262
268
  props: o,
263
- update: M,
269
+ update: N,
264
270
  not_equal: i,
265
- bound: ht(),
271
+ bound: mt(),
266
272
  // lifecycle
267
273
  on_mount: [],
268
274
  on_destroy: [],
@@ -271,7 +277,7 @@ function un(e, t, r, n, i, o, a = null, s = [-1]) {
271
277
  after_update: [],
272
278
  context: new Map(t.context || (h ? h.$$.context : [])),
273
279
  // everything else
274
- callbacks: ht(),
280
+ callbacks: mt(),
275
281
  dirty: s,
276
282
  skip_bound: !1,
277
283
  root: t.target || h.$$.root
@@ -280,19 +286,19 @@ function un(e, t, r, n, i, o, a = null, s = [-1]) {
280
286
  let u = !1;
281
287
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
282
288
  const d = m.length ? m[0] : c;
283
- 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;
289
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && cn(e, f)), c;
284
290
  }) : [], l.update(), u = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
285
291
  if (t.hydrate) {
286
- const f = Zr(t.target);
292
+ const f = Kr(t.target);
287
293
  l.fragment && l.fragment.l(f), f.forEach(R);
288
294
  } else
289
295
  l.fragment && l.fragment.c();
290
- t.intro && ce(e.$$.fragment), on(e, t.target, t.anchor), O();
296
+ t.intro && ce(e.$$.fragment), ln(e, t.target, t.anchor), I();
291
297
  }
292
298
  he(h);
293
299
  }
294
- let zt;
295
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
300
+ let Qt;
301
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
296
302
  /** The Svelte component constructor */
297
303
  $$ctor;
298
304
  /** Slots */
@@ -341,7 +347,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
341
347
  * @param {HTMLElement} [anchor]
342
348
  */
343
349
  m: function(h, l) {
344
- I(h, o, l);
350
+ O(h, o, l);
345
351
  },
346
352
  d: function(h) {
347
353
  h && R(o);
@@ -351,7 +357,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
351
357
  };
352
358
  if (await Promise.resolve(), !this.$$cn || this.$$c)
353
359
  return;
354
- const t = {}, r = Qr(this);
360
+ const t = {}, r = en(this);
355
361
  for (const i of this.$$s)
356
362
  i in r && (t[i] = [e(i)]);
357
363
  for (const i of this.attributes) {
@@ -438,8 +444,8 @@ function xe(e, t, r, n) {
438
444
  return t;
439
445
  }
440
446
  }
441
- function ln(e, t, r, n, i, o) {
442
- let a = class extends zt {
447
+ function mn(e, t, r, n, i, o) {
448
+ let a = class extends Qt {
443
449
  constructor() {
444
450
  super(e, r, i), this.$$p_d = t;
445
451
  }
@@ -467,7 +473,7 @@ function ln(e, t, r, n, i, o) {
467
473
  }), e.element = /** @type {any} */
468
474
  a, a;
469
475
  }
470
- class hn {
476
+ class dn {
471
477
  /**
472
478
  * ### PRIVATE API
473
479
  *
@@ -486,7 +492,7 @@ class hn {
486
492
  $$set = void 0;
487
493
  /** @returns {void} */
488
494
  $destroy() {
489
- an(this, 1), this.$destroy = M;
495
+ hn(this, 1), this.$destroy = N;
490
496
  }
491
497
  /**
492
498
  * @template {Extract<keyof Events, string>} K
@@ -495,8 +501,8 @@ class hn {
495
501
  * @returns {() => void}
496
502
  */
497
503
  $on(t, r) {
498
- if (!it(r))
499
- return M;
504
+ if (!ot(r))
505
+ return N;
500
506
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
501
507
  return n.push(r), () => {
502
508
  const i = n.indexOf(r);
@@ -508,22 +514,37 @@ class hn {
508
514
  * @returns {void}
509
515
  */
510
516
  $set(t) {
511
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
+ this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
512
518
  }
513
519
  }
514
- const cn = "4";
515
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
516
- var We = function(e, t) {
517
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
520
+ const pn = "4";
521
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
522
+ /*! *****************************************************************************
523
+ Copyright (c) Microsoft Corporation.
524
+
525
+ Permission to use, copy, modify, and/or distribute this software for any
526
+ purpose with or without fee is hereby granted.
527
+
528
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
529
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
530
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
531
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
532
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
533
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
534
+ PERFORMANCE OF THIS SOFTWARE.
535
+ ***************************************************************************** */
536
+ var Xe = function(e, t) {
537
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
538
  r.__proto__ = n;
519
539
  } || function(r, n) {
520
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
521
- }, We(e, t);
540
+ for (var i in n)
541
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
542
+ }, Xe(e, t);
522
543
  };
523
544
  function F(e, t) {
524
545
  if (typeof t != "function" && t !== null)
525
546
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
526
- We(e, t);
547
+ Xe(e, t);
527
548
  function r() {
528
549
  this.constructor = e;
529
550
  }
@@ -533,61 +554,69 @@ var _ = function() {
533
554
  return _ = Object.assign || function(t) {
534
555
  for (var r, n = 1, i = arguments.length; n < i; n++) {
535
556
  r = arguments[n];
536
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
557
+ for (var o in r)
558
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
537
559
  }
538
560
  return t;
539
561
  }, _.apply(this, arguments);
540
562
  };
541
- function fn(e, t) {
563
+ function bn(e, t) {
542
564
  var r = {};
543
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
565
+ for (var n in e)
566
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
544
567
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
545
568
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
546
569
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
547
570
  return r;
548
571
  }
549
- function Xe(e) {
572
+ function ze(e) {
550
573
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
551
- if (r) return r.call(e);
552
- if (e && typeof e.length == "number") return {
553
- next: function() {
554
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
555
- }
556
- };
574
+ if (r)
575
+ return r.call(e);
576
+ if (e && typeof e.length == "number")
577
+ return {
578
+ next: function() {
579
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
580
+ }
581
+ };
557
582
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
558
583
  }
559
- function ze(e, t) {
584
+ function Je(e, t) {
560
585
  var r = typeof Symbol == "function" && e[Symbol.iterator];
561
- if (!r) return e;
586
+ if (!r)
587
+ return e;
562
588
  var n = r.call(e), i, o = [], a;
563
589
  try {
564
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
590
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
591
+ o.push(i.value);
565
592
  } catch (s) {
566
593
  a = { error: s };
567
594
  } finally {
568
595
  try {
569
596
  i && !i.done && (r = n.return) && r.call(n);
570
597
  } finally {
571
- if (a) throw a.error;
598
+ if (a)
599
+ throw a.error;
572
600
  }
573
601
  }
574
602
  return o;
575
603
  }
576
604
  function ee(e, t, r) {
577
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
578
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
579
- return e.concat(o || Array.prototype.slice.call(t));
605
+ if (r || arguments.length === 2)
606
+ for (var n = 0, i = t.length, o; n < i; n++)
607
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
608
+ return e.concat(o || t);
580
609
  }
581
610
  function D(e) {
582
611
  return typeof e == "function";
583
612
  }
584
- function Jt(e) {
613
+ function Yt(e) {
585
614
  var t = function(n) {
586
615
  Error.call(n), n.stack = new Error().stack;
587
616
  }, r = e(t);
588
617
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
618
  }
590
- var Ce = Jt(function(e) {
619
+ var Ce = Yt(function(e) {
591
620
  return function(r) {
592
621
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
622
  ` + r.map(function(n, i) {
@@ -596,7 +625,7 @@ var Ce = Jt(function(e) {
596
625
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
626
  };
598
627
  });
599
- function Je(e, t) {
628
+ function Ze(e, t) {
600
629
  if (e) {
601
630
  var r = e.indexOf(t);
602
631
  0 <= r && e.splice(r, 1);
@@ -614,7 +643,7 @@ var Pe = function() {
614
643
  if (a)
615
644
  if (this._parentage = null, Array.isArray(a))
616
645
  try {
617
- for (var s = Xe(a), h = s.next(); !h.done; h = s.next()) {
646
+ for (var s = ze(a), h = s.next(); !h.done; h = s.next()) {
618
647
  var l = h.value;
619
648
  l.remove(this);
620
649
  }
@@ -624,7 +653,8 @@ var Pe = function() {
624
653
  try {
625
654
  h && !h.done && (r = s.return) && r.call(s);
626
655
  } finally {
627
- if (t) throw t.error;
656
+ if (t)
657
+ throw t.error;
628
658
  }
629
659
  }
630
660
  else
@@ -640,12 +670,12 @@ var Pe = function() {
640
670
  if (f) {
641
671
  this._finalizers = null;
642
672
  try {
643
- for (var c = Xe(f), m = c.next(); !m.done; m = c.next()) {
673
+ for (var c = ze(f), m = c.next(); !m.done; m = c.next()) {
644
674
  var d = m.value;
645
675
  try {
646
- pt(d);
676
+ yt(d);
647
677
  } catch (p) {
648
- o = o ?? [], p instanceof Ce ? o = ee(ee([], ze(o)), ze(p.errors)) : o.push(p);
678
+ o = o ?? [], p instanceof Ce ? o = ee(ee([], Je(o)), Je(p.errors)) : o.push(p);
649
679
  }
650
680
  }
651
681
  } catch (p) {
@@ -654,7 +684,8 @@ var Pe = function() {
654
684
  try {
655
685
  m && !m.done && (i = c.return) && i.call(c);
656
686
  } finally {
657
- if (n) throw n.error;
687
+ if (n)
688
+ throw n.error;
658
689
  }
659
690
  }
660
691
  }
@@ -665,7 +696,7 @@ var Pe = function() {
665
696
  var r;
666
697
  if (t && t !== this)
667
698
  if (this.closed)
668
- pt(t);
699
+ yt(t);
669
700
  else {
670
701
  if (t instanceof e) {
671
702
  if (t.closed || t._hasParent(this))
@@ -682,52 +713,56 @@ var Pe = function() {
682
713
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
683
714
  }, e.prototype._removeParent = function(t) {
684
715
  var r = this._parentage;
685
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
716
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
686
717
  }, e.prototype.remove = function(t) {
687
718
  var r = this._finalizers;
688
- r && Je(r, t), t instanceof e && t._removeParent(this);
719
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
689
720
  }, e.EMPTY = function() {
690
721
  var t = new e();
691
722
  return t.closed = !0, t;
692
723
  }(), e;
693
- }(), Zt = Pe.EMPTY;
694
- function Qt(e) {
724
+ }(), qt = Pe.EMPTY;
725
+ function Kt(e) {
695
726
  return e instanceof Pe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
696
727
  }
697
- function pt(e) {
728
+ function yt(e) {
698
729
  D(e) ? e() : e.unsubscribe();
699
730
  }
700
- var mn = {
701
- Promise: void 0
702
- }, dn = {
731
+ var er = {
732
+ onUnhandledError: null,
733
+ onStoppedNotification: null,
734
+ Promise: void 0,
735
+ useDeprecatedSynchronousErrorHandling: !1,
736
+ useDeprecatedNextContext: !1
737
+ }, gn = {
703
738
  setTimeout: function(e, t) {
704
739
  for (var r = [], n = 2; n < arguments.length; n++)
705
740
  r[n - 2] = arguments[n];
706
- return setTimeout.apply(void 0, ee([e, t], ze(r)));
741
+ return setTimeout.apply(void 0, ee([e, t], Je(r)));
707
742
  },
708
743
  clearTimeout: function(e) {
709
744
  return clearTimeout(e);
710
745
  },
711
746
  delegate: void 0
712
747
  };
713
- function pn(e) {
714
- dn.setTimeout(function() {
748
+ function yn(e) {
749
+ gn.setTimeout(function() {
715
750
  throw e;
716
751
  });
717
752
  }
718
- function bt() {
753
+ function vt() {
719
754
  }
720
755
  function Ee(e) {
721
756
  e();
722
757
  }
723
- var Yt = function(e) {
758
+ var tr = function(e) {
724
759
  F(t, e);
725
760
  function t(r) {
726
761
  var n = e.call(this) || this;
727
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = yn, n;
762
+ return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = En, n;
728
763
  }
729
764
  return t.create = function(r, n, i) {
730
- return new Ze(r, n, i);
765
+ return new Qe(r, n, i);
731
766
  }, t.prototype.next = function(r) {
732
767
  this.isStopped || this._next(r);
733
768
  }, t.prototype.error = function(r) {
@@ -751,7 +786,11 @@ var Yt = function(e) {
751
786
  this.unsubscribe();
752
787
  }
753
788
  }, t;
754
- }(Pe), bn = function() {
789
+ }(Pe), vn = Function.prototype.bind;
790
+ function Ge(e, t) {
791
+ return vn.call(e, t);
792
+ }
793
+ var _n = function() {
755
794
  function e(t) {
756
795
  this.partialObserver = t;
757
796
  }
@@ -782,43 +821,55 @@ var Yt = function(e) {
782
821
  ye(r);
783
822
  }
784
823
  }, e;
785
- }(), Ze = function(e) {
824
+ }(), Qe = function(e) {
786
825
  F(t, e);
787
826
  function t(r, n, i) {
788
827
  var o = e.call(this) || this, a;
789
- return D(r) || !r ? a = {
790
- next: r ?? void 0,
791
- error: n ?? void 0,
792
- complete: i ?? void 0
793
- } : a = r, o.destination = new bn(a), o;
828
+ if (D(r) || !r)
829
+ a = {
830
+ next: r ?? void 0,
831
+ error: n ?? void 0,
832
+ complete: i ?? void 0
833
+ };
834
+ else {
835
+ var s;
836
+ o && er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
837
+ return o.unsubscribe();
838
+ }, a = {
839
+ next: r.next && Ge(r.next, s),
840
+ error: r.error && Ge(r.error, s),
841
+ complete: r.complete && Ge(r.complete, s)
842
+ }) : a = r;
843
+ }
844
+ return o.destination = new _n(a), o;
794
845
  }
795
846
  return t;
796
- }(Yt);
847
+ }(tr);
797
848
  function ye(e) {
798
- pn(e);
849
+ yn(e);
799
850
  }
800
- function gn(e) {
851
+ function xn(e) {
801
852
  throw e;
802
853
  }
803
- var yn = {
854
+ var En = {
804
855
  closed: !0,
805
- next: bt,
806
- error: gn,
807
- complete: bt
808
- }, vn = function() {
856
+ next: vt,
857
+ error: xn,
858
+ complete: vt
859
+ }, wn = function() {
809
860
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
810
861
  }();
811
- function _n(e) {
862
+ function Sn(e) {
812
863
  return e;
813
864
  }
814
- function xn(e) {
815
- return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
865
+ function Tn(e) {
866
+ return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
816
867
  return e.reduce(function(n, i) {
817
868
  return i(n);
818
869
  }, r);
819
870
  };
820
871
  }
821
- var gt = function() {
872
+ var _t = function() {
822
873
  function e(t) {
823
874
  t && (this._subscribe = t);
824
875
  }
@@ -826,7 +877,7 @@ var gt = function() {
826
877
  var r = new e();
827
878
  return r.source = this, r.operator = t, r;
828
879
  }, e.prototype.subscribe = function(t, r, n) {
829
- var i = this, o = wn(t) ? t : new Ze(t, r, n);
880
+ var i = this, o = Bn(t) ? t : new Qe(t, r, n);
830
881
  return Ee(function() {
831
882
  var a = i, s = a.operator, h = a.source;
832
883
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -839,8 +890,8 @@ var gt = function() {
839
890
  }
840
891
  }, e.prototype.forEach = function(t, r) {
841
892
  var n = this;
842
- return r = yt(r), new r(function(i, o) {
843
- var a = new Ze({
893
+ return r = xt(r), new r(function(i, o) {
894
+ var a = new Qe({
844
895
  next: function(s) {
845
896
  try {
846
897
  t(s);
@@ -856,15 +907,15 @@ var gt = function() {
856
907
  }, e.prototype._subscribe = function(t) {
857
908
  var r;
858
909
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
859
- }, e.prototype[vn] = function() {
910
+ }, e.prototype[wn] = function() {
860
911
  return this;
861
912
  }, e.prototype.pipe = function() {
862
913
  for (var t = [], r = 0; r < arguments.length; r++)
863
914
  t[r] = arguments[r];
864
- return xn(t)(this);
915
+ return Tn(t)(this);
865
916
  }, e.prototype.toPromise = function(t) {
866
917
  var r = this;
867
- return t = yt(t), new t(function(n, i) {
918
+ return t = xt(t), new t(function(n, i) {
868
919
  var o;
869
920
  r.subscribe(function(a) {
870
921
  return o = a;
@@ -878,32 +929,32 @@ var gt = function() {
878
929
  return new e(t);
879
930
  }, e;
880
931
  }();
881
- function yt(e) {
932
+ function xt(e) {
882
933
  var t;
883
- return (t = e ?? mn.Promise) !== null && t !== void 0 ? t : Promise;
934
+ return (t = e ?? er.Promise) !== null && t !== void 0 ? t : Promise;
884
935
  }
885
- function En(e) {
936
+ function Hn(e) {
886
937
  return e && D(e.next) && D(e.error) && D(e.complete);
887
938
  }
888
- function wn(e) {
889
- return e && e instanceof Yt || En(e) && Qt(e);
939
+ function Bn(e) {
940
+ return e && e instanceof tr || Hn(e) && Kt(e);
890
941
  }
891
- var Sn = Jt(function(e) {
942
+ var An = Yt(function(e) {
892
943
  return function() {
893
944
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
894
945
  };
895
- }), qt = function(e) {
946
+ }), rr = function(e) {
896
947
  F(t, e);
897
948
  function t() {
898
949
  var r = e.call(this) || this;
899
950
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
900
951
  }
901
952
  return t.prototype.lift = function(r) {
902
- var n = new vt(this, this);
953
+ var n = new Et(this, this);
903
954
  return n.operator = r, n;
904
955
  }, t.prototype._throwIfClosed = function() {
905
956
  if (this.closed)
906
- throw new Sn();
957
+ throw new An();
907
958
  }, t.prototype.next = function(r) {
908
959
  var n = this;
909
960
  Ee(function() {
@@ -911,7 +962,7 @@ var Sn = Jt(function(e) {
911
962
  if (n._throwIfClosed(), !n.isStopped) {
912
963
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
913
964
  try {
914
- for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
965
+ for (var a = ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
915
966
  var h = s.value;
916
967
  h.next(r);
917
968
  }
@@ -921,7 +972,8 @@ var Sn = Jt(function(e) {
921
972
  try {
922
973
  s && !s.done && (o = a.return) && o.call(a);
923
974
  } finally {
924
- if (i) throw i.error;
975
+ if (i)
976
+ throw i.error;
925
977
  }
926
978
  }
927
979
  }
@@ -959,19 +1011,19 @@ var Sn = Jt(function(e) {
959
1011
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
960
1012
  }, t.prototype._innerSubscribe = function(r) {
961
1013
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
962
- return o || a ? Zt : (this.currentObservers = null, s.push(r), new Pe(function() {
963
- n.currentObservers = null, Je(s, r);
1014
+ return o || a ? qt : (this.currentObservers = null, s.push(r), new Pe(function() {
1015
+ n.currentObservers = null, Ze(s, r);
964
1016
  }));
965
1017
  }, t.prototype._checkFinalizedStatuses = function(r) {
966
1018
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
967
1019
  i ? r.error(o) : a && r.complete();
968
1020
  }, t.prototype.asObservable = function() {
969
- var r = new gt();
1021
+ var r = new _t();
970
1022
  return r.source = this, r;
971
1023
  }, t.create = function(r, n) {
972
- return new vt(r, n);
1024
+ return new Et(r, n);
973
1025
  }, t;
974
- }(gt), vt = function(e) {
1026
+ }(_t), Et = function(e) {
975
1027
  F(t, e);
976
1028
  function t(r, n) {
977
1029
  var i = e.call(this) || this;
@@ -988,17 +1040,17 @@ var Sn = Jt(function(e) {
988
1040
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
989
1041
  }, t.prototype._subscribe = function(r) {
990
1042
  var n, i;
991
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1043
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
992
1044
  }, t;
993
- }(qt), Kt = {
1045
+ }(rr), nr = {
994
1046
  now: function() {
995
- return (Kt.delegate || Date).now();
1047
+ return (nr.delegate || Date).now();
996
1048
  },
997
1049
  delegate: void 0
998
- }, Tn = function(e) {
1050
+ }, Pn = function(e) {
999
1051
  F(t, e);
1000
1052
  function t(r, n, i) {
1001
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1053
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
1002
1054
  var o = e.call(this) || this;
1003
1055
  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;
1004
1056
  }
@@ -1018,24 +1070,24 @@ var Sn = Jt(function(e) {
1018
1070
  l && o.splice(0, l + 1);
1019
1071
  }
1020
1072
  }, t;
1021
- }(qt);
1022
- const _t = [], xt = {}, Hn = (e, t = 0) => {
1023
- if (_t.indexOf(e) == -1) {
1024
- const r = new Tn(t);
1025
- xt[e] = r, _t.push(e);
1073
+ }(rr);
1074
+ const wt = [], St = {}, Rn = (e, t = 0) => {
1075
+ if (wt.indexOf(e) == -1) {
1076
+ const r = new Pn(t);
1077
+ St[e] = r, wt.push(e);
1026
1078
  }
1027
- return xt[e];
1079
+ return St[e];
1028
1080
  }, Y = [];
1029
- function Bn(e, t) {
1081
+ function In(e, t) {
1030
1082
  return {
1031
1083
  subscribe: Re(e, t).subscribe
1032
1084
  };
1033
1085
  }
1034
- function Re(e, t = M) {
1086
+ function Re(e, t = N) {
1035
1087
  let r;
1036
1088
  const n = /* @__PURE__ */ new Set();
1037
1089
  function i(s) {
1038
- if (jt(e, s) && (e = s, r)) {
1090
+ if (Wt(e, s) && (e = s, r)) {
1039
1091
  const h = !Y.length;
1040
1092
  for (const l of n)
1041
1093
  l[1](), Y.push(l, e);
@@ -1049,9 +1101,9 @@ function Re(e, t = M) {
1049
1101
  function o(s) {
1050
1102
  i(s(e));
1051
1103
  }
1052
- function a(s, h = M) {
1104
+ function a(s, h = N) {
1053
1105
  const l = [s, h];
1054
- return n.add(l), n.size === 1 && (r = t(i, o) || M), s(e), () => {
1106
+ return n.add(l), n.size === 1 && (r = t(i, o) || N), s(e), () => {
1055
1107
  n.delete(l), n.size === 0 && r && (r(), r = null);
1056
1108
  };
1057
1109
  }
@@ -1062,18 +1114,18 @@ function oe(e, t, r) {
1062
1114
  if (!i.every(Boolean))
1063
1115
  throw new Error("derived() expects stores as input, got a falsy value");
1064
1116
  const o = t.length < 2;
1065
- return Bn(r, (a, s) => {
1117
+ return In(r, (a, s) => {
1066
1118
  let h = !1;
1067
1119
  const l = [];
1068
- let u = 0, f = M;
1120
+ let u = 0, f = N;
1069
1121
  const c = () => {
1070
1122
  if (u)
1071
1123
  return;
1072
1124
  f();
1073
1125
  const d = t(n ? l[0] : l, a, s);
1074
- o ? a(d) : f = it(d) ? d : M;
1126
+ o ? a(d) : f = ot(d) ? d : N;
1075
1127
  }, m = i.map(
1076
- (d, p) => kt(
1128
+ (d, p) => Xt(
1077
1129
  d,
1078
1130
  (A) => {
1079
1131
  l[p] = A, u &= ~(1 << p), h && c();
@@ -1088,70 +1140,70 @@ function oe(e, t, r) {
1088
1140
  };
1089
1141
  });
1090
1142
  }
1091
- function An(e) {
1143
+ function On(e) {
1092
1144
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1093
1145
  }
1094
- var Pn = function(t) {
1095
- return Rn(t) && !On(t);
1146
+ var Mn = function(t) {
1147
+ return Ln(t) && !Nn(t);
1096
1148
  };
1097
- function Rn(e) {
1149
+ function Ln(e) {
1098
1150
  return !!e && typeof e == "object";
1099
1151
  }
1100
- function On(e) {
1152
+ function Nn(e) {
1101
1153
  var t = Object.prototype.toString.call(e);
1102
- return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
1154
+ return t === "[object RegExp]" || t === "[object Date]" || Un(e);
1103
1155
  }
1104
- var In = typeof Symbol == "function" && Symbol.for, Nn = In ? Symbol.for("react.element") : 60103;
1105
- function Ln(e) {
1106
- return e.$$typeof === Nn;
1156
+ var Cn = typeof Symbol == "function" && Symbol.for, Gn = Cn ? Symbol.for("react.element") : 60103;
1157
+ function Un(e) {
1158
+ return e.$$typeof === Gn;
1107
1159
  }
1108
- function Mn(e) {
1160
+ function Dn(e) {
1109
1161
  return Array.isArray(e) ? [] : {};
1110
1162
  }
1111
1163
  function me(e, t) {
1112
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Mn(e), e, t) : e;
1164
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Dn(e), e, t) : e;
1113
1165
  }
1114
- function Cn(e, t, r) {
1166
+ function Fn(e, t, r) {
1115
1167
  return e.concat(t).map(function(n) {
1116
1168
  return me(n, r);
1117
1169
  });
1118
1170
  }
1119
- function Gn(e, t) {
1171
+ function $n(e, t) {
1120
1172
  if (!t.customMerge)
1121
1173
  return te;
1122
1174
  var r = t.customMerge(e);
1123
1175
  return typeof r == "function" ? r : te;
1124
1176
  }
1125
- function Un(e) {
1177
+ function jn(e) {
1126
1178
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1127
1179
  return Object.propertyIsEnumerable.call(e, t);
1128
1180
  }) : [];
1129
1181
  }
1130
- function Et(e) {
1131
- return Object.keys(e).concat(Un(e));
1182
+ function Tt(e) {
1183
+ return Object.keys(e).concat(jn(e));
1132
1184
  }
1133
- function er(e, t) {
1185
+ function ir(e, t) {
1134
1186
  try {
1135
1187
  return t in e;
1136
1188
  } catch {
1137
1189
  return !1;
1138
1190
  }
1139
1191
  }
1140
- function Dn(e, t) {
1141
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1192
+ function kn(e, t) {
1193
+ return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1142
1194
  }
1143
- function Fn(e, t, r) {
1195
+ function Vn(e, t, r) {
1144
1196
  var n = {};
1145
- return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1197
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1146
1198
  n[i] = me(e[i], r);
1147
- }), Et(t).forEach(function(i) {
1148
- 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));
1199
+ }), Tt(t).forEach(function(i) {
1200
+ kn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1149
1201
  }), n;
1150
1202
  }
1151
1203
  function te(e, t, r) {
1152
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = me;
1204
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Mn, r.cloneUnlessOtherwiseSpecified = me;
1153
1205
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1154
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : me(t, r);
1206
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : me(t, r);
1155
1207
  }
1156
1208
  te.all = function(t, r) {
1157
1209
  if (!Array.isArray(t))
@@ -1160,56 +1212,58 @@ te.all = function(t, r) {
1160
1212
  return te(n, i, r);
1161
1213
  }, {});
1162
1214
  };
1163
- var $n = te, jn = $n;
1164
- const kn = /* @__PURE__ */ An(jn);
1165
- function Ge(e, t) {
1166
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Xn;
1215
+ var Wn = te, Xn = Wn;
1216
+ const zn = /* @__PURE__ */ On(Xn);
1217
+ function Ue(e, t) {
1218
+ var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
1167
1219
  return i(e, {
1168
1220
  cache: r,
1169
1221
  serializer: n
1170
1222
  });
1171
1223
  }
1172
- function Vn(e) {
1224
+ function Jn(e) {
1173
1225
  return e == null || typeof e == "number" || typeof e == "boolean";
1174
1226
  }
1175
- function Wn(e, t, r, n) {
1176
- var i = Vn(n) ? n : r(n), o = t.get(i);
1227
+ function or(e, t, r, n) {
1228
+ var i = Jn(n) ? n : r(n), o = t.get(i);
1177
1229
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1178
1230
  }
1179
- function tr(e, t, r) {
1231
+ function ar(e, t, r) {
1180
1232
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1181
1233
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1182
1234
  }
1183
- function rr(e, t, r, n, i) {
1235
+ function at(e, t, r, n, i) {
1184
1236
  return r.bind(t, e, n, i);
1185
1237
  }
1186
- function Xn(e, t) {
1187
- var r = e.length === 1 ? Wn : tr;
1188
- return rr(e, this, r, t.cache.create(), t.serializer);
1238
+ function Zn(e, t) {
1239
+ var r = e.length === 1 ? or : ar;
1240
+ return at(e, this, r, t.cache.create(), t.serializer);
1241
+ }
1242
+ function Qn(e, t) {
1243
+ return at(e, this, ar, t.cache.create(), t.serializer);
1189
1244
  }
1190
- function zn(e, t) {
1191
- return rr(e, this, tr, t.cache.create(), t.serializer);
1245
+ function Yn(e, t) {
1246
+ return at(e, this, or, t.cache.create(), t.serializer);
1192
1247
  }
1193
- var Jn = function() {
1248
+ var qn = function() {
1194
1249
  return JSON.stringify(arguments);
1195
- }, Zn = (
1196
- /** @class */
1197
- function() {
1198
- function e() {
1199
- this.cache = /* @__PURE__ */ Object.create(null);
1200
- }
1201
- return e.prototype.get = function(t) {
1202
- return this.cache[t];
1203
- }, e.prototype.set = function(t, r) {
1204
- this.cache[t] = r;
1205
- }, e;
1206
- }()
1207
- ), Qn = {
1250
+ };
1251
+ function st() {
1252
+ this.cache = /* @__PURE__ */ Object.create(null);
1253
+ }
1254
+ st.prototype.get = function(e) {
1255
+ return this.cache[e];
1256
+ };
1257
+ st.prototype.set = function(e, t) {
1258
+ this.cache[e] = t;
1259
+ };
1260
+ var Kn = {
1208
1261
  create: function() {
1209
- return new Zn();
1262
+ return new st();
1210
1263
  }
1211
- }, Ue = {
1212
- variadic: zn
1264
+ }, De = {
1265
+ variadic: Qn,
1266
+ monadic: Yn
1213
1267
  }, y;
1214
1268
  (function(e) {
1215
1269
  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";
@@ -1222,43 +1276,43 @@ var re;
1222
1276
  (function(e) {
1223
1277
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1224
1278
  })(re || (re = {}));
1225
- function wt(e) {
1279
+ function Ht(e) {
1226
1280
  return e.type === w.literal;
1227
1281
  }
1228
- function Yn(e) {
1282
+ function ei(e) {
1229
1283
  return e.type === w.argument;
1230
1284
  }
1231
- function nr(e) {
1285
+ function sr(e) {
1232
1286
  return e.type === w.number;
1233
1287
  }
1234
- function ir(e) {
1288
+ function ur(e) {
1235
1289
  return e.type === w.date;
1236
1290
  }
1237
- function or(e) {
1291
+ function lr(e) {
1238
1292
  return e.type === w.time;
1239
1293
  }
1240
- function ar(e) {
1294
+ function hr(e) {
1241
1295
  return e.type === w.select;
1242
1296
  }
1243
- function sr(e) {
1297
+ function cr(e) {
1244
1298
  return e.type === w.plural;
1245
1299
  }
1246
- function qn(e) {
1300
+ function ti(e) {
1247
1301
  return e.type === w.pound;
1248
1302
  }
1249
- function ur(e) {
1303
+ function fr(e) {
1250
1304
  return e.type === w.tag;
1251
1305
  }
1252
- function lr(e) {
1306
+ function mr(e) {
1253
1307
  return !!(e && typeof e == "object" && e.type === re.number);
1254
1308
  }
1255
- function Qe(e) {
1309
+ function Ye(e) {
1256
1310
  return !!(e && typeof e == "object" && e.type === re.dateTime);
1257
1311
  }
1258
- 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;
1259
- function ei(e) {
1312
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
1313
+ function ni(e) {
1260
1314
  var t = {};
1261
- return e.replace(Kn, function(r) {
1315
+ return e.replace(ri, function(r) {
1262
1316
  var n = r.length;
1263
1317
  switch (r[0]) {
1264
1318
  case "G":
@@ -1347,11 +1401,11 @@ function ei(e) {
1347
1401
  return "";
1348
1402
  }), t;
1349
1403
  }
1350
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1351
- function ri(e) {
1404
+ var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
+ function oi(e) {
1352
1406
  if (e.length === 0)
1353
1407
  throw new Error("Number skeleton cannot be empty");
1354
- for (var t = e.split(ti).filter(function(c) {
1408
+ for (var t = e.split(ii).filter(function(c) {
1355
1409
  return c.length > 0;
1356
1410
  }), r = [], n = 0, i = t; n < i.length; n++) {
1357
1411
  var o = i[n], a = o.split("/");
@@ -1366,17 +1420,17 @@ function ri(e) {
1366
1420
  }
1367
1421
  return r;
1368
1422
  }
1369
- function ni(e) {
1423
+ function ai(e) {
1370
1424
  return e.replace(/^(.*?)-/, "");
1371
1425
  }
1372
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1373
- function Tt(e) {
1426
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1427
+ function At(e) {
1374
1428
  var t = {};
1375
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1429
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1376
1430
  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)), "";
1377
1431
  }), t;
1378
1432
  }
1379
- function mr(e) {
1433
+ function gr(e) {
1380
1434
  switch (e) {
1381
1435
  case "sign-auto":
1382
1436
  return {
@@ -1416,7 +1470,7 @@ function mr(e) {
1416
1470
  };
1417
1471
  }
1418
1472
  }
1419
- function oi(e) {
1473
+ function ui(e) {
1420
1474
  var t;
1421
1475
  if (e[0] === "E" && e[1] === "E" ? (t = {
1422
1476
  notation: "engineering"
@@ -1424,17 +1478,17 @@ function oi(e) {
1424
1478
  notation: "scientific"
1425
1479
  }, e = e.slice(1)), t) {
1426
1480
  var r = e.slice(0, 2);
1427
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1481
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1428
1482
  throw new Error("Malformed concise eng/scientific notation");
1429
1483
  t.minimumIntegerDigits = e.length;
1430
1484
  }
1431
1485
  return t;
1432
1486
  }
1433
- function Ht(e) {
1434
- var t = {}, r = mr(e);
1487
+ function Pt(e) {
1488
+ var t = {}, r = gr(e);
1435
1489
  return r || t;
1436
1490
  }
1437
- function ai(e) {
1491
+ function li(e) {
1438
1492
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1439
1493
  var i = n[r];
1440
1494
  switch (i.stem) {
@@ -1458,7 +1512,7 @@ function ai(e) {
1458
1512
  continue;
1459
1513
  case "measure-unit":
1460
1514
  case "unit":
1461
- t.style = "unit", t.unit = ni(i.options[0]);
1515
+ t.style = "unit", t.unit = ai(i.options[0]);
1462
1516
  continue;
1463
1517
  case "compact-short":
1464
1518
  case "K":
@@ -1470,12 +1524,12 @@ function ai(e) {
1470
1524
  continue;
1471
1525
  case "scientific":
1472
1526
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1473
- return _(_({}, h), Ht(l));
1527
+ return _(_({}, h), Pt(l));
1474
1528
  }, {}));
1475
1529
  continue;
1476
1530
  case "engineering":
1477
1531
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1478
- return _(_({}, h), Ht(l));
1532
+ return _(_({}, h), Pt(l));
1479
1533
  }, {}));
1480
1534
  continue;
1481
1535
  case "notation-simple":
@@ -1520,7 +1574,7 @@ function ai(e) {
1520
1574
  case "integer-width":
1521
1575
  if (i.options.length > 1)
1522
1576
  throw new RangeError("integer-width stems only accept a single optional option");
1523
- i.options[0].replace(ii, function(h, l, u, f, c, m) {
1577
+ i.options[0].replace(si, function(h, l, u, f, c, m) {
1524
1578
  if (l)
1525
1579
  t.minimumIntegerDigits = u.length;
1526
1580
  else {
@@ -1533,27 +1587,27 @@ function ai(e) {
1533
1587
  });
1534
1588
  continue;
1535
1589
  }
1536
- if (fr.test(i.stem)) {
1590
+ if (br.test(i.stem)) {
1537
1591
  t.minimumIntegerDigits = i.stem.length;
1538
1592
  continue;
1539
1593
  }
1540
- if (St.test(i.stem)) {
1594
+ if (Bt.test(i.stem)) {
1541
1595
  if (i.options.length > 1)
1542
1596
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1543
- i.stem.replace(St, function(h, l, u, f, c, m) {
1597
+ i.stem.replace(Bt, function(h, l, u, f, c, m) {
1544
1598
  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), "";
1545
1599
  });
1546
1600
  var o = i.options[0];
1547
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1601
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), At(o)));
1548
1602
  continue;
1549
1603
  }
1550
- if (cr.test(i.stem)) {
1551
- t = _(_({}, t), Tt(i.stem));
1604
+ if (pr.test(i.stem)) {
1605
+ t = _(_({}, t), At(i.stem));
1552
1606
  continue;
1553
1607
  }
1554
- var a = mr(i.stem);
1608
+ var a = gr(i.stem);
1555
1609
  a && (t = _(_({}, t), a));
1556
- var s = oi(i.stem);
1610
+ var s = ui(i.stem);
1557
1611
  s && (t = _(_({}, t), s));
1558
1612
  }
1559
1613
  return t;
@@ -2973,22 +3027,23 @@ var ve = {
2973
3027
  "h"
2974
3028
  ]
2975
3029
  };
2976
- function si(e, t) {
3030
+ function hi(e, t) {
2977
3031
  for (var r = "", n = 0; n < e.length; n++) {
2978
3032
  var i = e.charAt(n);
2979
3033
  if (i === "j") {
2980
3034
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2981
3035
  o++, n++;
2982
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ui(t);
3036
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ci(t);
2983
3037
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2984
3038
  r += h;
2985
3039
  for (; a-- > 0; )
2986
3040
  r = l + r;
2987
- } else i === "J" ? r += "H" : r += i;
3041
+ } else
3042
+ i === "J" ? r += "H" : r += i;
2988
3043
  }
2989
3044
  return r;
2990
3045
  }
2991
- function ui(e) {
3046
+ function ci(e) {
2992
3047
  var t = e.hourCycle;
2993
3048
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2994
3049
  e.hourCycles && // @ts-ignore
@@ -3010,20 +3065,20 @@ function ui(e) {
3010
3065
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3011
3066
  return i[0];
3012
3067
  }
3013
- var De, li = new RegExp("^".concat(hr.source, "*")), hi = new RegExp("".concat(hr.source, "*$"));
3068
+ var Fe, fi = new RegExp("^".concat(dr.source, "*")), mi = new RegExp("".concat(dr.source, "*$"));
3014
3069
  function v(e, t) {
3015
3070
  return { start: e, end: t };
3016
3071
  }
3017
- 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) {
3072
+ var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, xi = _i ? Number.isSafeInteger : function(e) {
3018
3073
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3019
- }, Ye = !0;
3074
+ }, qe = !0;
3020
3075
  try {
3021
- var vi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
- Ye = ((De = vi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3076
+ var Ei = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
+ qe = ((Fe = Ei.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3023
3078
  } catch {
3024
- Ye = !1;
3079
+ qe = !1;
3025
3080
  }
3026
- var Bt = ci ? (
3081
+ var Rt = di ? (
3027
3082
  // Native
3028
3083
  function(t, r, n) {
3029
3084
  return t.startsWith(r, n);
@@ -3033,7 +3088,7 @@ var Bt = ci ? (
3033
3088
  function(t, r, n) {
3034
3089
  return t.slice(n, n + r.length) === r;
3035
3090
  }
3036
- ), qe = fi ? String.fromCodePoint : (
3091
+ ), Ke = pi ? String.fromCodePoint : (
3037
3092
  // IE11
3038
3093
  function() {
3039
3094
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3045,9 +3100,9 @@ var Bt = ci ? (
3045
3100
  }
3046
3101
  return n;
3047
3102
  }
3048
- ), At = (
3103
+ ), It = (
3049
3104
  // native
3050
- mi ? Object.fromEntries : (
3105
+ bi ? Object.fromEntries : (
3051
3106
  // Ponyfill
3052
3107
  function(t) {
3053
3108
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3057,7 +3112,7 @@ var Bt = ci ? (
3057
3112
  return r;
3058
3113
  }
3059
3114
  )
3060
- ), dr = di ? (
3115
+ ), yr = gi ? (
3061
3116
  // Native
3062
3117
  function(t, r) {
3063
3118
  return t.codePointAt(r);
@@ -3071,7 +3126,7 @@ var Bt = ci ? (
3071
3126
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3072
3127
  }
3073
3128
  }
3074
- ), _i = pi ? (
3129
+ ), wi = yi ? (
3075
3130
  // Native
3076
3131
  function(t) {
3077
3132
  return t.trimStart();
@@ -3079,9 +3134,9 @@ var Bt = ci ? (
3079
3134
  ) : (
3080
3135
  // Ponyfill
3081
3136
  function(t) {
3082
- return t.replace(li, "");
3137
+ return t.replace(fi, "");
3083
3138
  }
3084
- ), xi = bi ? (
3139
+ ), Si = vi ? (
3085
3140
  // Native
3086
3141
  function(t) {
3087
3142
  return t.trimEnd();
@@ -3089,32 +3144,32 @@ var Bt = ci ? (
3089
3144
  ) : (
3090
3145
  // Ponyfill
3091
3146
  function(t) {
3092
- return t.replace(hi, "");
3147
+ return t.replace(mi, "");
3093
3148
  }
3094
3149
  );
3095
- function pr(e, t) {
3150
+ function vr(e, t) {
3096
3151
  return new RegExp(e, t);
3097
3152
  }
3098
- var Ke;
3099
- if (Ye) {
3100
- var Pt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
- Ke = function(t, r) {
3153
+ var et;
3154
+ if (qe) {
3155
+ var Ot = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3156
+ et = function(t, r) {
3102
3157
  var n;
3103
- Pt.lastIndex = r;
3104
- var i = Pt.exec(t);
3158
+ Ot.lastIndex = r;
3159
+ var i = Ot.exec(t);
3105
3160
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3106
3161
  };
3107
3162
  } else
3108
- Ke = function(t, r) {
3163
+ et = function(t, r) {
3109
3164
  for (var n = []; ; ) {
3110
- var i = dr(t, r);
3111
- if (i === void 0 || br(i) || Ti(i))
3165
+ var i = yr(t, r);
3166
+ if (i === void 0 || _r(i) || Ai(i))
3112
3167
  break;
3113
3168
  n.push(i), r += i >= 65536 ? 2 : 1;
3114
3169
  }
3115
- return qe.apply(void 0, n);
3170
+ return Ke.apply(void 0, n);
3116
3171
  };
3117
- var Ei = (
3172
+ var Ti = (
3118
3173
  /** @class */
3119
3174
  function() {
3120
3175
  function e(t, r) {
@@ -3145,7 +3200,7 @@ var Ei = (
3145
3200
  if (n)
3146
3201
  break;
3147
3202
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3148
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3203
+ } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3149
3204
  var a = this.parseTag(t, r);
3150
3205
  if (a.err)
3151
3206
  return a;
@@ -3178,7 +3233,7 @@ var Ei = (
3178
3233
  return o;
3179
3234
  var a = o.val, s = this.clonePosition();
3180
3235
  if (this.bumpIf("</")) {
3181
- if (this.isEOF() || !et(this.char()))
3236
+ if (this.isEOF() || !tt(this.char()))
3182
3237
  return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3183
3238
  var h = this.clonePosition(), l = this.parseTagName();
3184
3239
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3196,7 +3251,7 @@ var Ei = (
3196
3251
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3197
3252
  }, e.prototype.parseTagName = function() {
3198
3253
  var t = this.offset();
3199
- for (this.bump(); !this.isEOF() && Si(this.char()); )
3254
+ for (this.bump(); !this.isEOF() && Bi(this.char()); )
3200
3255
  this.bump();
3201
3256
  return this.message.slice(t, this.offset());
3202
3257
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3225,7 +3280,7 @@ var Ei = (
3225
3280
  };
3226
3281
  }, e.prototype.tryParseLeftAngleBracket = function() {
3227
3282
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3228
- !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3283
+ !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3229
3284
  }, e.prototype.tryParseQuote = function(t) {
3230
3285
  if (this.isEOF() || this.char() !== 39)
3231
3286
  return null;
@@ -3259,12 +3314,12 @@ var Ei = (
3259
3314
  r.push(n);
3260
3315
  this.bump();
3261
3316
  }
3262
- return qe.apply(void 0, r);
3317
+ return Ke.apply(void 0, r);
3263
3318
  }, e.prototype.tryParseUnquoted = function(t, r) {
3264
3319
  if (this.isEOF())
3265
3320
  return null;
3266
3321
  var n = this.char();
3267
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3322
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3268
3323
  }, e.prototype.parseArgument = function(t, r) {
3269
3324
  var n = this.clonePosition();
3270
3325
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3293,7 +3348,7 @@ var Ei = (
3293
3348
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3294
3349
  }
3295
3350
  }, e.prototype.parseIdentifierIfPossible = function() {
3296
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3351
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3297
3352
  this.bumpTo(i);
3298
3353
  var o = this.clonePosition(), a = v(t, o);
3299
3354
  return { value: n, location: a };
@@ -3312,7 +3367,7 @@ var Ei = (
3312
3367
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3313
3368
  if (f.err)
3314
3369
  return f;
3315
- var c = xi(f.val);
3370
+ var c = Si(f.val);
3316
3371
  if (c.length === 0)
3317
3372
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3318
3373
  var m = v(u, this.clonePosition());
@@ -3322,8 +3377,8 @@ var Ei = (
3322
3377
  if (d.err)
3323
3378
  return d;
3324
3379
  var p = v(i, this.clonePosition());
3325
- if (l && Bt(l?.style, "::", 0)) {
3326
- var A = _i(l.style.slice(2));
3380
+ if (l && Rt(l?.style, "::", 0)) {
3381
+ var A = wi(l.style.slice(2));
3327
3382
  if (s === "number") {
3328
3383
  var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
3329
3384
  return f.err ? f : {
@@ -3334,12 +3389,12 @@ var Ei = (
3334
3389
  if (A.length === 0)
3335
3390
  return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3336
3391
  var H = A;
3337
- this.locale && (H = si(A, this.locale));
3392
+ this.locale && (H = hi(A, this.locale));
3338
3393
  var c = {
3339
3394
  type: re.dateTime,
3340
3395
  pattern: H,
3341
3396
  location: l.styleLocation,
3342
- parsedOptions: this.shouldParseSkeletons ? ei(H) : {}
3397
+ parsedOptions: this.shouldParseSkeletons ? ni(H) : {}
3343
3398
  }, T = s === "date" ? w.date : w.time;
3344
3399
  return {
3345
3400
  val: { type: T, value: n, location: p, style: c },
@@ -3364,17 +3419,17 @@ var Ei = (
3364
3419
  if (this.bumpSpace(), !this.bumpIf(","))
3365
3420
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, _({}, B)));
3366
3421
  this.bumpSpace();
3367
- var N = this.parseIdentifierIfPossible(), L = 0;
3368
- if (s !== "select" && N.value === "offset") {
3422
+ var M = this.parseIdentifierIfPossible(), L = 0;
3423
+ if (s !== "select" && M.value === "offset") {
3369
3424
  if (!this.bumpIf(":"))
3370
3425
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3371
3426
  this.bumpSpace();
3372
3427
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3373
3428
  if (f.err)
3374
3429
  return f;
3375
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = f.val;
3430
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), L = f.val;
3376
3431
  }
3377
- var C = this.tryParsePluralOrSelectOptions(t, s, r, N);
3432
+ var C = this.tryParsePluralOrSelectOptions(t, s, r, M);
3378
3433
  if (C.err)
3379
3434
  return C;
3380
3435
  var d = this.tryParseArgumentClose(i);
@@ -3385,7 +3440,7 @@ var Ei = (
3385
3440
  val: {
3386
3441
  type: w.select,
3387
3442
  value: n,
3388
- options: At(C.val),
3443
+ options: It(C.val),
3389
3444
  location: pe
3390
3445
  },
3391
3446
  err: null
@@ -3393,7 +3448,7 @@ var Ei = (
3393
3448
  val: {
3394
3449
  type: w.plural,
3395
3450
  value: n,
3396
- options: At(C.val),
3451
+ options: It(C.val),
3397
3452
  offset: L,
3398
3453
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3399
3454
  location: pe
@@ -3444,7 +3499,7 @@ var Ei = (
3444
3499
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3445
3500
  var n = [];
3446
3501
  try {
3447
- n = ri(t);
3502
+ n = oi(t);
3448
3503
  } catch {
3449
3504
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3450
3505
  }
@@ -3453,7 +3508,7 @@ var Ei = (
3453
3508
  type: re.number,
3454
3509
  tokens: n,
3455
3510
  location: r,
3456
- parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3511
+ parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3457
3512
  },
3458
3513
  err: null
3459
3514
  };
@@ -3501,7 +3556,7 @@ var Ei = (
3501
3556
  break;
3502
3557
  }
3503
3558
  var h = v(i, this.clonePosition());
3504
- return o ? (a *= n, yi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3559
+ return o ? (a *= n, xi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3505
3560
  }, e.prototype.offset = function() {
3506
3561
  return this.position.offset;
3507
3562
  }, e.prototype.isEOF = function() {
@@ -3516,7 +3571,7 @@ var Ei = (
3516
3571
  var t = this.position.offset;
3517
3572
  if (t >= this.message.length)
3518
3573
  throw Error("out of bound");
3519
- var r = dr(this.message, t);
3574
+ var r = yr(this.message, t);
3520
3575
  if (r === void 0)
3521
3576
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3522
3577
  return r;
@@ -3535,7 +3590,7 @@ var Ei = (
3535
3590
  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);
3536
3591
  }
3537
3592
  }, e.prototype.bumpIf = function(t) {
3538
- if (Bt(this.message, t, this.offset())) {
3593
+ if (Rt(this.message, t, this.offset())) {
3539
3594
  for (var r = 0; r < t.length; r++)
3540
3595
  this.bump();
3541
3596
  return !0;
@@ -3557,7 +3612,7 @@ var Ei = (
3557
3612
  break;
3558
3613
  }
3559
3614
  }, e.prototype.bumpSpace = function() {
3560
- for (; !this.isEOF() && br(this.char()); )
3615
+ for (; !this.isEOF() && _r(this.char()); )
3561
3616
  this.bump();
3562
3617
  }, e.prototype.peek = function() {
3563
3618
  if (this.isEOF())
@@ -3567,43 +3622,44 @@ var Ei = (
3567
3622
  }, e;
3568
3623
  }()
3569
3624
  );
3570
- function et(e) {
3625
+ function tt(e) {
3571
3626
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3572
3627
  }
3573
- function wi(e) {
3574
- return et(e) || e === 47;
3628
+ function Hi(e) {
3629
+ return tt(e) || e === 47;
3575
3630
  }
3576
- function Si(e) {
3631
+ function Bi(e) {
3577
3632
  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;
3578
3633
  }
3579
- function br(e) {
3634
+ function _r(e) {
3580
3635
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3581
3636
  }
3582
- function Ti(e) {
3637
+ function Ai(e) {
3583
3638
  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;
3584
3639
  }
3585
- function tt(e) {
3640
+ function rt(e) {
3586
3641
  e.forEach(function(t) {
3587
- if (delete t.location, ar(t) || sr(t))
3642
+ if (delete t.location, hr(t) || cr(t))
3588
3643
  for (var r in t.options)
3589
- delete t.options[r].location, tt(t.options[r].value);
3590
- else nr(t) && lr(t.style) || (ir(t) || or(t)) && Qe(t.style) ? delete t.style.location : ur(t) && tt(t.children);
3644
+ delete t.options[r].location, rt(t.options[r].value);
3645
+ else
3646
+ sr(t) && mr(t.style) || (ur(t) || lr(t)) && Ye(t.style) ? delete t.style.location : fr(t) && rt(t.children);
3591
3647
  });
3592
3648
  }
3593
- function Hi(e, t) {
3649
+ function Pi(e, t) {
3594
3650
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3595
- var r = new Ei(e, t).parse();
3651
+ var r = new Ti(e, t).parse();
3596
3652
  if (r.err) {
3597
3653
  var n = SyntaxError(y[r.err.kind]);
3598
3654
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3599
3655
  }
3600
- return t?.captureLocation || tt(r.val), r.val;
3656
+ return t?.captureLocation || rt(r.val), r.val;
3601
3657
  }
3602
3658
  var ne;
3603
3659
  (function(e) {
3604
3660
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3605
3661
  })(ne || (ne = {}));
3606
- var Oe = (
3662
+ var Ie = (
3607
3663
  /** @class */
3608
3664
  function(e) {
3609
3665
  F(t, e);
@@ -3615,7 +3671,7 @@ var Oe = (
3615
3671
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3616
3672
  }, t;
3617
3673
  }(Error)
3618
- ), Rt = (
3674
+ ), Mt = (
3619
3675
  /** @class */
3620
3676
  function(e) {
3621
3677
  F(t, e);
@@ -3623,8 +3679,8 @@ var Oe = (
3623
3679
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3624
3680
  }
3625
3681
  return t;
3626
- }(Oe)
3627
- ), Bi = (
3682
+ }(Ie)
3683
+ ), Ri = (
3628
3684
  /** @class */
3629
3685
  function(e) {
3630
3686
  F(t, e);
@@ -3632,8 +3688,8 @@ var Oe = (
3632
3688
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3633
3689
  }
3634
3690
  return t;
3635
- }(Oe)
3636
- ), Ai = (
3691
+ }(Ie)
3692
+ ), Ii = (
3637
3693
  /** @class */
3638
3694
  function(e) {
3639
3695
  F(t, e);
@@ -3641,22 +3697,22 @@ var Oe = (
3641
3697
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3642
3698
  }
3643
3699
  return t;
3644
- }(Oe)
3700
+ }(Ie)
3645
3701
  ), P;
3646
3702
  (function(e) {
3647
3703
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3648
3704
  })(P || (P = {}));
3649
- function Pi(e) {
3705
+ function Oi(e) {
3650
3706
  return e.length < 2 ? e : e.reduce(function(t, r) {
3651
3707
  var n = t[t.length - 1];
3652
3708
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3653
3709
  }, []);
3654
3710
  }
3655
- function Ri(e) {
3711
+ function Mi(e) {
3656
3712
  return typeof e == "function";
3657
3713
  }
3658
3714
  function we(e, t, r, n, i, o, a) {
3659
- if (e.length === 1 && wt(e[0]))
3715
+ if (e.length === 1 && Ht(e[0]))
3660
3716
  return [
3661
3717
  {
3662
3718
  type: P.literal,
@@ -3665,14 +3721,14 @@ function we(e, t, r, n, i, o, a) {
3665
3721
  ];
3666
3722
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3667
3723
  var u = l[h];
3668
- if (wt(u)) {
3724
+ if (Ht(u)) {
3669
3725
  s.push({
3670
3726
  type: P.literal,
3671
3727
  value: u.value
3672
3728
  });
3673
3729
  continue;
3674
3730
  }
3675
- if (qn(u)) {
3731
+ if (ti(u)) {
3676
3732
  typeof o == "number" && s.push({
3677
3733
  type: P.literal,
3678
3734
  value: r.getNumberFormat(t).format(o)
@@ -3681,43 +3737,43 @@ function we(e, t, r, n, i, o, a) {
3681
3737
  }
3682
3738
  var f = u.value;
3683
3739
  if (!(i && f in i))
3684
- throw new Ai(f, a);
3740
+ throw new Ii(f, a);
3685
3741
  var c = i[f];
3686
- if (Yn(u)) {
3742
+ if (ei(u)) {
3687
3743
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3688
3744
  type: typeof c == "string" ? P.literal : P.object,
3689
3745
  value: c
3690
3746
  });
3691
3747
  continue;
3692
3748
  }
3693
- if (ir(u)) {
3694
- var m = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3749
+ if (ur(u)) {
3750
+ var m = typeof u.style == "string" ? n.date[u.style] : Ye(u.style) ? u.style.parsedOptions : void 0;
3695
3751
  s.push({
3696
3752
  type: P.literal,
3697
3753
  value: r.getDateTimeFormat(t, m).format(c)
3698
3754
  });
3699
3755
  continue;
3700
3756
  }
3701
- if (or(u)) {
3702
- var m = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3757
+ if (lr(u)) {
3758
+ var m = typeof u.style == "string" ? n.time[u.style] : Ye(u.style) ? u.style.parsedOptions : n.time.medium;
3703
3759
  s.push({
3704
3760
  type: P.literal,
3705
3761
  value: r.getDateTimeFormat(t, m).format(c)
3706
3762
  });
3707
3763
  continue;
3708
3764
  }
3709
- if (nr(u)) {
3710
- var m = typeof u.style == "string" ? n.number[u.style] : lr(u.style) ? u.style.parsedOptions : void 0;
3765
+ if (sr(u)) {
3766
+ var m = typeof u.style == "string" ? n.number[u.style] : mr(u.style) ? u.style.parsedOptions : void 0;
3711
3767
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3712
3768
  type: P.literal,
3713
3769
  value: r.getNumberFormat(t, m).format(c)
3714
3770
  });
3715
3771
  continue;
3716
3772
  }
3717
- if (ur(u)) {
3773
+ if (fr(u)) {
3718
3774
  var d = u.children, p = u.value, A = i[p];
3719
- if (!Ri(A))
3720
- throw new Bi(p, "function", a);
3775
+ if (!Mi(A))
3776
+ throw new Ri(p, "function", a);
3721
3777
  var H = we(d, t, r, n, i, o), T = A(H.map(function(L) {
3722
3778
  return L.value;
3723
3779
  }));
@@ -3728,42 +3784,42 @@ function we(e, t, r, n, i, o, a) {
3728
3784
  };
3729
3785
  }));
3730
3786
  }
3731
- if (ar(u)) {
3787
+ if (hr(u)) {
3732
3788
  var B = u.options[c] || u.options.other;
3733
3789
  if (!B)
3734
- throw new Rt(u.value, c, Object.keys(u.options), a);
3790
+ throw new Mt(u.value, c, Object.keys(u.options), a);
3735
3791
  s.push.apply(s, we(B.value, t, r, n, i));
3736
3792
  continue;
3737
3793
  }
3738
- if (sr(u)) {
3794
+ if (cr(u)) {
3739
3795
  var B = u.options["=".concat(c)];
3740
3796
  if (!B) {
3741
3797
  if (!Intl.PluralRules)
3742
- throw new Oe(`Intl.PluralRules is not available in this environment.
3798
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3743
3799
  Try polyfilling it using "@formatjs/intl-pluralrules"
3744
3800
  `, ne.MISSING_INTL_API, a);
3745
- var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3746
- B = u.options[N] || u.options.other;
3801
+ var M = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3802
+ B = u.options[M] || u.options.other;
3747
3803
  }
3748
3804
  if (!B)
3749
- throw new Rt(u.value, c, Object.keys(u.options), a);
3805
+ throw new Mt(u.value, c, Object.keys(u.options), a);
3750
3806
  s.push.apply(s, we(B.value, t, r, n, i, c - (u.offset || 0)));
3751
3807
  continue;
3752
3808
  }
3753
3809
  }
3754
- return Pi(s);
3810
+ return Oi(s);
3755
3811
  }
3756
- function Oi(e, t) {
3812
+ function Li(e, t) {
3757
3813
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3758
3814
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3759
3815
  }, {})) : e;
3760
3816
  }
3761
- function Ii(e, t) {
3817
+ function Ni(e, t) {
3762
3818
  return t ? Object.keys(e).reduce(function(r, n) {
3763
- return r[n] = Oi(e[n], t[n]), r;
3819
+ return r[n] = Li(e[n], t[n]), r;
3764
3820
  }, _({}, e)) : e;
3765
3821
  }
3766
- function Fe(e) {
3822
+ function $e(e) {
3767
3823
  return {
3768
3824
  create: function() {
3769
3825
  return {
@@ -3777,39 +3833,39 @@ function Fe(e) {
3777
3833
  }
3778
3834
  };
3779
3835
  }
3780
- function Ni(e) {
3836
+ function Ci(e) {
3781
3837
  return e === void 0 && (e = {
3782
3838
  number: {},
3783
3839
  dateTime: {},
3784
3840
  pluralRules: {}
3785
3841
  }), {
3786
- getNumberFormat: Ge(function() {
3842
+ getNumberFormat: Ue(function() {
3787
3843
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3844
  r[n] = arguments[n];
3789
3845
  return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3790
3846
  }, {
3791
- cache: Fe(e.number),
3792
- strategy: Ue.variadic
3847
+ cache: $e(e.number),
3848
+ strategy: De.variadic
3793
3849
  }),
3794
- getDateTimeFormat: Ge(function() {
3850
+ getDateTimeFormat: Ue(function() {
3795
3851
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3852
  r[n] = arguments[n];
3797
3853
  return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3798
3854
  }, {
3799
- cache: Fe(e.dateTime),
3800
- strategy: Ue.variadic
3855
+ cache: $e(e.dateTime),
3856
+ strategy: De.variadic
3801
3857
  }),
3802
- getPluralRules: Ge(function() {
3858
+ getPluralRules: Ue(function() {
3803
3859
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3860
  r[n] = arguments[n];
3805
3861
  return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3806
3862
  }, {
3807
- cache: Fe(e.pluralRules),
3808
- strategy: Ue.variadic
3863
+ cache: $e(e.pluralRules),
3864
+ strategy: De.variadic
3809
3865
  })
3810
3866
  };
3811
3867
  }
3812
- var Li = (
3868
+ var Gi = (
3813
3869
  /** @class */
3814
3870
  function() {
3815
3871
  function e(t, r, n, i) {
@@ -3841,13 +3897,13 @@ var Li = (
3841
3897
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3842
3898
  var a = i || {};
3843
3899
  a.formatters;
3844
- var s = fn(a, ["formatters"]);
3900
+ var s = bn(a, ["formatters"]);
3845
3901
  this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3846
3902
  } else
3847
3903
  this.ast = t;
3848
3904
  if (!Array.isArray(this.ast))
3849
3905
  throw new TypeError("A message must be provided as a String or AST.");
3850
- this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3906
+ this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
3851
3907
  }
3852
3908
  return Object.defineProperty(e, "defaultLocale", {
3853
3909
  get: function() {
@@ -3860,7 +3916,7 @@ var Li = (
3860
3916
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3861
3917
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3862
3918
  }
3863
- }, e.__parse = Hi, e.formats = {
3919
+ }, e.__parse = Pi, e.formats = {
3864
3920
  number: {
3865
3921
  integer: {
3866
3922
  maximumFractionDigits: 0
@@ -3921,7 +3977,7 @@ var Li = (
3921
3977
  }, e;
3922
3978
  }()
3923
3979
  );
3924
- function Mi(e, t) {
3980
+ function Ui(e, t) {
3925
3981
  if (t == null)
3926
3982
  return;
3927
3983
  if (t in e)
@@ -3942,92 +3998,92 @@ function Mi(e, t) {
3942
3998
  n = void 0;
3943
3999
  return n;
3944
4000
  }
3945
- const $ = {}, Ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
4001
+ const $ = {}, Di = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), xr = (e, t) => {
3946
4002
  if (t == null)
3947
4003
  return;
3948
4004
  if (t in $ && e in $[t])
3949
4005
  return $[t][e];
3950
- const r = Ie(t);
4006
+ const r = Oe(t);
3951
4007
  for (let n = 0; n < r.length; n++) {
3952
- const i = r[n], o = Ui(i, e);
4008
+ const i = r[n], o = $i(i, e);
3953
4009
  if (o)
3954
- return Ci(e, t, o);
4010
+ return Di(e, t, o);
3955
4011
  }
3956
4012
  };
3957
- let ot;
4013
+ let ut;
3958
4014
  const ae = Re({});
3959
- function Gi(e) {
3960
- return ot[e] || null;
4015
+ function Fi(e) {
4016
+ return ut[e] || null;
3961
4017
  }
3962
- function yr(e) {
3963
- return e in ot;
4018
+ function Er(e) {
4019
+ return e in ut;
3964
4020
  }
3965
- function Ui(e, t) {
3966
- if (!yr(e))
4021
+ function $i(e, t) {
4022
+ if (!Er(e))
3967
4023
  return null;
3968
- const r = Gi(e);
3969
- return Mi(r, t);
4024
+ const r = Fi(e);
4025
+ return Ui(r, t);
3970
4026
  }
3971
- function Di(e) {
4027
+ function ji(e) {
3972
4028
  if (e == null)
3973
4029
  return;
3974
- const t = Ie(e);
4030
+ const t = Oe(e);
3975
4031
  for (let r = 0; r < t.length; r++) {
3976
4032
  const n = t[r];
3977
- if (yr(n))
4033
+ if (Er(n))
3978
4034
  return n;
3979
4035
  }
3980
4036
  }
3981
- function vr(e, ...t) {
3982
- delete $[e], ae.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4037
+ function wr(e, ...t) {
4038
+ delete $[e], ae.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3983
4039
  }
3984
4040
  oe(
3985
4041
  [ae],
3986
4042
  ([e]) => Object.keys(e)
3987
4043
  );
3988
- ae.subscribe((e) => ot = e);
4044
+ ae.subscribe((e) => ut = e);
3989
4045
  const Se = {};
3990
- function Fi(e, t) {
4046
+ function ki(e, t) {
3991
4047
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3992
4048
  }
3993
- function _r(e) {
4049
+ function Sr(e) {
3994
4050
  return Se[e];
3995
4051
  }
3996
- function $i(e) {
3997
- return Ie(e).map((t) => {
3998
- const r = _r(t);
4052
+ function Vi(e) {
4053
+ return Oe(e).map((t) => {
4054
+ const r = Sr(t);
3999
4055
  return [t, r ? [...r] : []];
4000
4056
  }).filter(([, t]) => t.length > 0);
4001
4057
  }
4002
- function rt(e) {
4003
- return e == null ? !1 : Ie(e).some(
4058
+ function nt(e) {
4059
+ return e == null ? !1 : Oe(e).some(
4004
4060
  (t) => {
4005
4061
  var r;
4006
- return (r = _r(t)) == null ? void 0 : r.size;
4062
+ return (r = Sr(t)) == null ? void 0 : r.size;
4007
4063
  }
4008
4064
  );
4009
4065
  }
4010
- function ji(e, t) {
4066
+ function Wi(e, t) {
4011
4067
  return Promise.all(
4012
- t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
4013
- ).then((n) => vr(e, ...n));
4068
+ t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4069
+ ).then((n) => wr(e, ...n));
4014
4070
  }
4015
4071
  const le = {};
4016
- function xr(e) {
4017
- if (!rt(e))
4072
+ function Tr(e) {
4073
+ if (!nt(e))
4018
4074
  return e in le ? le[e] : Promise.resolve();
4019
- const t = $i(e);
4075
+ const t = Vi(e);
4020
4076
  return le[e] = Promise.all(
4021
4077
  t.map(
4022
- ([r, n]) => ji(r, n)
4078
+ ([r, n]) => Wi(r, n)
4023
4079
  )
4024
4080
  ).then(() => {
4025
- if (rt(e))
4026
- return xr(e);
4081
+ if (nt(e))
4082
+ return Tr(e);
4027
4083
  delete le[e];
4028
4084
  }), le[e];
4029
4085
  }
4030
- const ki = {
4086
+ const Xi = {
4031
4087
  number: {
4032
4088
  scientific: { notation: "scientific" },
4033
4089
  engineering: { notation: "engineering" },
@@ -4056,78 +4112,78 @@ const ki = {
4056
4112
  timeZoneName: "short"
4057
4113
  }
4058
4114
  }
4059
- }, Vi = {
4115
+ }, zi = {
4060
4116
  fallbackLocale: null,
4061
4117
  loadingDelay: 200,
4062
- formats: ki,
4118
+ formats: Xi,
4063
4119
  warnOnMissingMessages: !0,
4064
4120
  handleMissingMessage: void 0,
4065
4121
  ignoreTag: !0
4066
- }, Wi = Vi;
4122
+ }, Ji = zi;
4067
4123
  function ie() {
4068
- return Wi;
4124
+ return Ji;
4069
4125
  }
4070
- const $e = Re(!1);
4071
- 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) => {
4126
+ const je = Re(!1);
4127
+ var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4072
4128
  for (var r in t || (t = {}))
4073
- Zi.call(t, r) && It(e, r, t[r]);
4074
- if (Ot)
4075
- for (var r of Ot(t))
4076
- Qi.call(t, r) && It(e, r, t[r]);
4129
+ qi.call(t, r) && Nt(e, r, t[r]);
4130
+ if (Lt)
4131
+ for (var r of Lt(t))
4132
+ Ki.call(t, r) && Nt(e, r, t[r]);
4077
4133
  return e;
4078
- }, qi = (e, t) => zi(e, Ji(t));
4079
- let nt;
4134
+ }, to = (e, t) => Qi(e, Yi(t));
4135
+ let it;
4080
4136
  const Be = Re(null);
4081
- function Nt(e) {
4137
+ function Ct(e) {
4082
4138
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4083
4139
  }
4084
- function Ie(e, t = ie().fallbackLocale) {
4085
- const r = Nt(e);
4086
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4140
+ function Oe(e, t = ie().fallbackLocale) {
4141
+ const r = Ct(e);
4142
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4087
4143
  }
4088
4144
  function J() {
4089
- return nt ?? void 0;
4145
+ return it ?? void 0;
4090
4146
  }
4091
4147
  Be.subscribe((e) => {
4092
- nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4148
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4093
4149
  });
4094
- const Ki = (e) => {
4095
- if (e && Di(e) && rt(e)) {
4150
+ const ro = (e) => {
4151
+ if (e && ji(e) && nt(e)) {
4096
4152
  const { loadingDelay: t } = ie();
4097
4153
  let r;
4098
4154
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4099
- () => $e.set(!0),
4155
+ () => je.set(!0),
4100
4156
  t
4101
- ) : $e.set(!0), xr(e).then(() => {
4157
+ ) : je.set(!0), Tr(e).then(() => {
4102
4158
  Be.set(e);
4103
4159
  }).finally(() => {
4104
- clearTimeout(r), $e.set(!1);
4160
+ clearTimeout(r), je.set(!1);
4105
4161
  });
4106
4162
  }
4107
4163
  return Be.set(e);
4108
- }, V = qi(Yi({}, Be), {
4109
- set: Ki
4110
- }), Ne = (e) => {
4164
+ }, V = to(eo({}, Be), {
4165
+ set: ro
4166
+ }), Me = (e) => {
4111
4167
  const t = /* @__PURE__ */ Object.create(null);
4112
4168
  return (n) => {
4113
4169
  const i = JSON.stringify(n);
4114
4170
  return i in t ? t[i] : t[i] = e(n);
4115
4171
  };
4116
4172
  };
4117
- 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) => {
4173
+ var no = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4118
4174
  for (var r in t || (t = {}))
4119
- Er.call(t, r) && Lt(e, r, t[r]);
4175
+ Hr.call(t, r) && Gt(e, r, t[r]);
4120
4176
  if (Ae)
4121
4177
  for (var r of Ae(t))
4122
- wr.call(t, r) && Lt(e, r, t[r]);
4178
+ Br.call(t, r) && Gt(e, r, t[r]);
4123
4179
  return e;
4124
4180
  }, se = (e, t) => {
4125
4181
  var r = {};
4126
4182
  for (var n in e)
4127
- Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4183
+ Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4128
4184
  if (e != null && Ae)
4129
4185
  for (var n of Ae(e))
4130
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
4186
+ t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
4131
4187
  return r;
4132
4188
  };
4133
4189
  const de = (e, t) => {
@@ -4135,21 +4191,21 @@ const de = (e, t) => {
4135
4191
  if (e in r && t in r[e])
4136
4192
  return r[e][t];
4137
4193
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4138
- }, to = Ne(
4194
+ }, io = Me(
4139
4195
  (e) => {
4140
4196
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4141
4197
  if (r == null)
4142
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4143
4199
  return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4144
4200
  }
4145
- ), ro = Ne(
4201
+ ), oo = Me(
4146
4202
  (e) => {
4147
4203
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4148
4204
  if (r == null)
4149
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4150
4206
  return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4151
4207
  }
4152
- ), no = Ne(
4208
+ ), ao = Me(
4153
4209
  (e) => {
4154
4210
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4155
4211
  if (r == null)
@@ -4158,33 +4214,33 @@ const de = (e, t) => {
4158
4214
  );
4159
4215
  return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4160
4216
  }
4161
- ), io = (e = {}) => {
4217
+ ), so = (e = {}) => {
4162
4218
  var t = e, {
4163
4219
  locale: r = J()
4164
4220
  } = t, n = se(t, [
4165
4221
  "locale"
4166
4222
  ]);
4167
- return to(at({ locale: r }, n));
4168
- }, oo = (e = {}) => {
4223
+ return io(lt({ locale: r }, n));
4224
+ }, uo = (e = {}) => {
4169
4225
  var t = e, {
4170
4226
  locale: r = J()
4171
4227
  } = t, n = se(t, [
4172
4228
  "locale"
4173
4229
  ]);
4174
- return ro(at({ locale: r }, n));
4175
- }, ao = (e = {}) => {
4230
+ return oo(lt({ locale: r }, n));
4231
+ }, lo = (e = {}) => {
4176
4232
  var t = e, {
4177
4233
  locale: r = J()
4178
4234
  } = t, n = se(t, [
4179
4235
  "locale"
4180
4236
  ]);
4181
- return no(at({ locale: r }, n));
4182
- }, so = Ne(
4237
+ return ao(lt({ locale: r }, n));
4238
+ }, ho = Me(
4183
4239
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4184
- (e, t = J()) => new Li(e, t, ie().formats, {
4240
+ (e, t = J()) => new Gi(e, t, ie().formats, {
4185
4241
  ignoreTag: ie().ignoreTag
4186
4242
  })
4187
- ), uo = (e, t = {}) => {
4243
+ ), co = (e, t = {}) => {
4188
4244
  var r, n, i, o;
4189
4245
  let a = t;
4190
4246
  typeof e == "object" && (a = e, e = a.id);
@@ -4197,7 +4253,7 @@ const de = (e, t) => {
4197
4253
  throw new Error(
4198
4254
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4199
4255
  );
4200
- let u = gr(e, h);
4256
+ let u = xr(e, h);
4201
4257
  if (!u)
4202
4258
  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;
4203
4259
  else if (typeof u != "string")
@@ -4208,7 +4264,7 @@ const de = (e, t) => {
4208
4264
  return u;
4209
4265
  let f = u;
4210
4266
  try {
4211
- f = so(u, h).format(s);
4267
+ f = ho(u, h).format(s);
4212
4268
  } catch (c) {
4213
4269
  c instanceof Error && console.warn(
4214
4270
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4216,20 +4272,20 @@ const de = (e, t) => {
4216
4272
  );
4217
4273
  }
4218
4274
  return f;
4219
- }, 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);
4220
- oe([V], () => lo);
4221
- oe([V], () => ho);
4222
- oe([V], () => co);
4223
- oe([V, ae], () => fo);
4224
- window.emWidgets = { topic: Hn };
4225
- const po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4226
- function bo(e, t) {
4275
+ }, fo = (e, t) => lo(t).format(e), mo = (e, t) => uo(t).format(e), po = (e, t) => so(t).format(e), bo = (e, t = J()) => xr(e, t), go = oe([V, ae], () => co);
4276
+ oe([V], () => fo);
4277
+ oe([V], () => mo);
4278
+ oe([V], () => po);
4279
+ oe([V, ae], () => bo);
4280
+ window.emWidgets = { topic: Rn };
4281
+ const yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
+ function vo(e, t) {
4227
4283
  if (e) {
4228
4284
  const r = document.createElement("style");
4229
4285
  r.innerHTML = t, e.appendChild(r);
4230
4286
  }
4231
4287
  }
4232
- function go(e, t) {
4288
+ function _o(e, t) {
4233
4289
  const r = new URL(t);
4234
4290
  fetch(r.href).then((n) => n.text()).then((n) => {
4235
4291
  const i = document.createElement("style");
@@ -4238,7 +4294,7 @@ function go(e, t) {
4238
4294
  console.error("There was an error while trying to load client styling from URL", n);
4239
4295
  });
4240
4296
  }
4241
- function yo(e, t, r) {
4297
+ function xo(e, t, r) {
4242
4298
  if (window.emMessageBus) {
4243
4299
  const n = document.createElement("style");
4244
4300
  window.emMessageBus.subscribe(t, (i) => {
@@ -4246,18 +4302,18 @@ function yo(e, t, r) {
4246
4302
  });
4247
4303
  }
4248
4304
  }
4249
- function vo({ withLocale: e, translations: t }) {
4305
+ function Eo({ withLocale: e, translations: t }) {
4250
4306
  V.subscribe((r) => {
4251
4307
  r == null && (ae.set(t), V.set(e));
4252
4308
  });
4253
4309
  }
4254
- function Mt(e, t) {
4255
- vr(e, t);
4310
+ function Ut(e, t) {
4311
+ wr(e, t);
4256
4312
  }
4257
- function _o(e) {
4313
+ function wo(e) {
4258
4314
  V.set(e);
4259
4315
  }
4260
- const Ct = {
4316
+ const Dt = {
4261
4317
  en: {
4262
4318
  playRandomGame: "Play a random game",
4263
4319
  randomGameLoading: "Selecting ...",
@@ -4331,30 +4387,30 @@ const Ct = {
4331
4387
  noGames: "There are no random games to play"
4332
4388
  }
4333
4389
  };
4334
- function xo(e) {
4335
- 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}");
4390
+ function So(e) {
4391
+ Zr(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}");
4336
4392
  }
4337
- function Gt(e, t, r) {
4393
+ function Ft(e, t, r) {
4338
4394
  const n = e.slice();
4339
4395
  return n[41] = t[r], n;
4340
4396
  }
4341
- const Eo = (e) => ({}), Ut = (e) => ({});
4342
- function Dt(e) {
4397
+ const To = (e) => ({}), $t = (e) => ({});
4398
+ function jt(e) {
4343
4399
  let t, r, n, i, o, a, s;
4344
4400
  const h = (
4345
4401
  /*#slots*/
4346
4402
  e[23].close
4347
- ), l = $r(
4403
+ ), l = Wr(
4348
4404
  h,
4349
4405
  e,
4350
4406
  /*$$scope*/
4351
4407
  e[22],
4352
- Ut
4353
- ), u = l || wo();
4408
+ $t
4409
+ ), u = l || Ho();
4354
4410
  function f(d, p) {
4355
4411
  return (
4356
4412
  /*hasRandomGames*/
4357
- d[7] ? To : So
4413
+ d[7] ? Ao : Bo
4358
4414
  );
4359
4415
  }
4360
4416
  let c = f(e), m = c(e);
@@ -4363,7 +4419,7 @@ function Dt(e) {
4363
4419
  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");
4364
4420
  },
4365
4421
  m(d, p) {
4366
- 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(
4422
+ O(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Te(
4367
4423
  n,
4368
4424
  "click",
4369
4425
  /*closeModal*/
@@ -4372,52 +4428,52 @@ function Dt(e) {
4372
4428
  },
4373
4429
  p(d, p) {
4374
4430
  l && l.p && (!o || p[0] & /*$$scope*/
4375
- 4194304) && kr(
4431
+ 4194304) && zr(
4376
4432
  l,
4377
4433
  h,
4378
4434
  d,
4379
4435
  /*$$scope*/
4380
4436
  d[22],
4381
- o ? jr(
4437
+ o ? Xr(
4382
4438
  h,
4383
4439
  /*$$scope*/
4384
4440
  d[22],
4385
4441
  p,
4386
- Eo
4387
- ) : Vr(
4442
+ To
4443
+ ) : Jr(
4388
4444
  /*$$scope*/
4389
4445
  d[22]
4390
4446
  ),
4391
- Ut
4447
+ $t
4392
4448
  ), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4393
4449
  },
4394
4450
  i(d) {
4395
4451
  o || (ce(u, d), o = !0);
4396
4452
  },
4397
4453
  o(d) {
4398
- Ve(u, d), o = !1;
4454
+ We(u, d), o = !1;
4399
4455
  },
4400
4456
  d(d) {
4401
4457
  d && R(t), u && u.d(d), m.d(), a = !1, s();
4402
4458
  }
4403
4459
  };
4404
4460
  }
4405
- function wo(e) {
4461
+ function Ho(e) {
4406
4462
  let t, r;
4407
4463
  return {
4408
4464
  c() {
4409
- 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");
4465
+ t = pt("svg"), r = pt("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");
4410
4466
  },
4411
4467
  m(n, i) {
4412
- I(n, t, i), x(t, r);
4468
+ O(n, t, i), x(t, r);
4413
4469
  },
4414
- p: M,
4470
+ p: N,
4415
4471
  d(n) {
4416
4472
  n && R(t);
4417
4473
  }
4418
4474
  };
4419
4475
  }
4420
- function So(e) {
4476
+ function Bo(e) {
4421
4477
  let t, r = (
4422
4478
  /*$_*/
4423
4479
  e[9]("noGames") + ""
@@ -4427,7 +4483,7 @@ function So(e) {
4427
4483
  t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4428
4484
  },
4429
4485
  m(i, o) {
4430
- I(i, t, o), x(t, n);
4486
+ O(i, t, o), x(t, n);
4431
4487
  },
4432
4488
  p(i, o) {
4433
4489
  o[0] & /*$_*/
@@ -4439,17 +4495,17 @@ function So(e) {
4439
4495
  }
4440
4496
  };
4441
4497
  }
4442
- function To(e) {
4443
- let t, r, n, i, o = dt(
4498
+ function Ao(e) {
4499
+ let t, r, n, i, o = gt(
4444
4500
  /*gamesToShow*/
4445
4501
  e[4]
4446
4502
  ), a = [];
4447
4503
  for (let u = 0; u < o.length; u += 1)
4448
- a[u] = Ft(Gt(e, o, u));
4504
+ a[u] = kt(Ft(e, o, u));
4449
4505
  function s(u, f) {
4450
4506
  return (
4451
4507
  /*animationDone*/
4452
- u[6] ? Bo : Ho
4508
+ u[6] ? Ro : Po
4453
4509
  );
4454
4510
  }
4455
4511
  let h = s(e), l = h(e);
@@ -4461,7 +4517,7 @@ function To(e) {
4461
4517
  i = k(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4462
4518
  },
4463
4519
  m(u, f) {
4464
- I(u, t, f), x(t, r), x(r, n);
4520
+ O(u, t, f), x(t, r), x(r, n);
4465
4521
  for (let c = 0; c < a.length; c += 1)
4466
4522
  a[c] && a[c].m(n, null);
4467
4523
  e[24](n), x(t, i), l.m(t, null);
@@ -4469,14 +4525,14 @@ function To(e) {
4469
4525
  p(u, f) {
4470
4526
  if (f[0] & /*gamesToShow*/
4471
4527
  16) {
4472
- o = dt(
4528
+ o = gt(
4473
4529
  /*gamesToShow*/
4474
4530
  u[4]
4475
4531
  );
4476
4532
  let c;
4477
4533
  for (c = 0; c < o.length; c += 1) {
4478
- const m = Gt(u, o, c);
4479
- a[c] ? a[c].p(m, f) : (a[c] = Ft(m), a[c].c(), a[c].m(n, null));
4534
+ const m = Ft(u, o, c);
4535
+ a[c] ? a[c].p(m, f) : (a[c] = kt(m), a[c].c(), a[c].m(n, null));
4480
4536
  }
4481
4537
  for (; c < a.length; c += 1)
4482
4538
  a[c].d(1);
@@ -4485,25 +4541,25 @@ function To(e) {
4485
4541
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4486
4542
  },
4487
4543
  d(u) {
4488
- u && R(t), Jr(a, u), e[24](null), l.d();
4544
+ u && R(t), qr(a, u), e[24](null), l.d();
4489
4545
  }
4490
4546
  };
4491
4547
  }
4492
- function Ft(e) {
4548
+ function kt(e) {
4493
4549
  let t, r, n, i, o, a;
4494
4550
  return {
4495
4551
  c() {
4496
- t = S("div"), r = S("img"), a = k(), g(r, "class", "RandomGameImage"), ct(r.src, n = /*game*/
4552
+ t = S("div"), r = S("img"), a = k(), g(r, "class", "RandomGameImage"), dt(r.src, n = /*game*/
4497
4553
  e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4498
4554
  e[41].name), g(r, "title", o = /*game*/
4499
4555
  e[41].name), g(t, "class", "item");
4500
4556
  },
4501
4557
  m(s, h) {
4502
- I(s, t, h), x(t, r), x(t, a);
4558
+ O(s, t, h), x(t, r), x(t, a);
4503
4559
  },
4504
4560
  p(s, h) {
4505
4561
  h[0] & /*gamesToShow*/
4506
- 16 && !ct(r.src, n = /*game*/
4562
+ 16 && !dt(r.src, n = /*game*/
4507
4563
  s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4508
4564
  16 && i !== (i = /*game*/
4509
4565
  s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
@@ -4515,7 +4571,7 @@ function Ft(e) {
4515
4571
  }
4516
4572
  };
4517
4573
  }
4518
- function Ho(e) {
4574
+ function Po(e) {
4519
4575
  let t, r = (
4520
4576
  /*$_*/
4521
4577
  e[9]("randomGameLoading") + ""
@@ -4525,7 +4581,7 @@ function Ho(e) {
4525
4581
  t = S("p"), n = j(r), g(t, "class", "RandomGameLoading");
4526
4582
  },
4527
4583
  m(i, o) {
4528
- I(i, t, o), x(t, n);
4584
+ O(i, t, o), x(t, n);
4529
4585
  },
4530
4586
  p(i, o) {
4531
4587
  o[0] & /*$_*/
@@ -4537,7 +4593,7 @@ function Ho(e) {
4537
4593
  }
4538
4594
  };
4539
4595
  }
4540
- function Bo(e) {
4596
+ function Ro(e) {
4541
4597
  let t, r, n, i, o = (
4542
4598
  /*randomGame*/
4543
4599
  e[3].name + ""
@@ -4554,7 +4610,7 @@ function Bo(e) {
4554
4610
  </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");
4555
4611
  },
4556
4612
  m(H, T) {
4557
- 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 = [
4613
+ O(H, t, T), O(H, r, T), O(H, n, T), x(n, i), x(i, a), x(n, s), x(n, h), x(h, u), x(n, f), x(n, c), x(c, d), p || (A = [
4558
4614
  Te(
4559
4615
  t,
4560
4616
  "click",
@@ -4583,7 +4639,7 @@ function Bo(e) {
4583
4639
  }
4584
4640
  };
4585
4641
  }
4586
- function Ao(e) {
4642
+ function Io(e) {
4587
4643
  let t, r = (
4588
4644
  /*$_*/
4589
4645
  e[9]("playRandomGame") + ""
@@ -4593,7 +4649,7 @@ function Ao(e) {
4593
4649
  t = S("span"), n = j(r), g(t, "class", "RandomButtonText");
4594
4650
  },
4595
4651
  m(i, o) {
4596
- I(i, t, o), x(t, n);
4652
+ O(i, t, o), x(t, n);
4597
4653
  },
4598
4654
  p(i, o) {
4599
4655
  o[0] & /*$_*/
@@ -4605,7 +4661,7 @@ function Ao(e) {
4605
4661
  }
4606
4662
  };
4607
4663
  }
4608
- function Po(e) {
4664
+ function Oo(e) {
4609
4665
  let t, r;
4610
4666
  return {
4611
4667
  c() {
@@ -4615,7 +4671,7 @@ function Po(e) {
4615
4671
  ), g(t, "class", "RandomButtonText");
4616
4672
  },
4617
4673
  m(n, i) {
4618
- I(n, t, i), x(t, r);
4674
+ O(n, t, i), x(t, r);
4619
4675
  },
4620
4676
  p(n, i) {
4621
4677
  i[0] & /*buttontext*/
@@ -4630,18 +4686,20 @@ function Po(e) {
4630
4686
  }
4631
4687
  };
4632
4688
  }
4633
- function Ro(e) {
4689
+ function Mo(e) {
4634
4690
  let t, r, n, i, o, a, s, h, l, u = (
4635
4691
  /*show*/
4636
- e[5] && Dt(e)
4692
+ e[5] && jt(e)
4637
4693
  );
4638
4694
  function f(d, p) {
4639
4695
  if (
4640
4696
  /*buttontext*/
4641
4697
  d[1]
4642
- ) return Po;
4698
+ )
4699
+ return Oo;
4643
4700
  if (!/*buttontext*/
4644
- d[1]) return Ao;
4701
+ d[1])
4702
+ return Io;
4645
4703
  }
4646
4704
  let c = f(e), m = c && c(e);
4647
4705
  return {
@@ -4649,7 +4707,7 @@ function Ro(e) {
4649
4707
  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");
4650
4708
  },
4651
4709
  m(d, p) {
4652
- 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*/
4710
+ O(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
4653
4711
  e[0], e[28](t), s = !0, h || (l = Te(
4654
4712
  i,
4655
4713
  "click",
@@ -4660,9 +4718,9 @@ function Ro(e) {
4660
4718
  p(d, p) {
4661
4719
  /*show*/
4662
4720
  d[5] ? u ? (u.p(d, p), p[0] & /*show*/
4663
- 32 && ce(u, 1)) : (u = Dt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (rn(), Ve(u, 1, 1, () => {
4721
+ 32 && ce(u, 1)) : (u = jt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (sn(), We(u, 1, 1, () => {
4664
4722
  u = null;
4665
- }), 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*/
4723
+ }), un()), 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*/
4666
4724
  1) && (a.innerHTML = /*randombuttonicon*/
4667
4725
  d[0]);
4668
4726
  },
@@ -4670,89 +4728,89 @@ function Ro(e) {
4670
4728
  s || (ce(u), s = !0);
4671
4729
  },
4672
4730
  o(d) {
4673
- Ve(u), s = !1;
4731
+ We(u), s = !1;
4674
4732
  },
4675
4733
  d(d) {
4676
4734
  d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4677
4735
  }
4678
4736
  };
4679
4737
  }
4680
- function Oo(e, t, r) {
4738
+ function Lo(e, t, r) {
4681
4739
  let n;
4682
- Fr(e, mo, (b) => r(9, n = b));
4683
- 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;
4684
- vo({ withLocale: "en", translations: {} });
4685
- const Sr = () => {
4740
+ Vr(e, go, (b) => r(9, n = b));
4741
+ let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, M = !1, L = !1, C = !1, pe = window.navigator.userAgent, G, Z, ht, be, ct = null;
4742
+ Eo({ withLocale: "en", translations: {} });
4743
+ const Ar = () => {
4686
4744
  fetch(c).then((E) => E.json()).then((E) => {
4687
4745
  Object.keys(E).forEach((U) => {
4688
- Mt(U, E[U]);
4746
+ Ut(U, E[U]);
4689
4747
  });
4690
4748
  }).catch((E) => {
4691
4749
  console.log(E);
4692
4750
  });
4693
4751
  };
4694
- Object.keys(Ct).forEach((b) => {
4695
- Mt(b, Ct[b]);
4752
+ Object.keys(Dt).forEach((b) => {
4753
+ Ut(b, Dt[b]);
4696
4754
  });
4697
- const Tr = () => {
4755
+ const Pr = () => {
4698
4756
  let b = new URL(`${a}/v1/casino/games`);
4699
- 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) => {
4700
- H = E.items, H.length ? (r(4, B = Hr(H.slice(0, 19))), r(7, C = !0)) : (r(4, B = []), r(7, C = !1));
4757
+ b.searchParams.append("platform", yo(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) => {
4758
+ H = E.items, H.length ? (r(4, B = Rr(H.slice(0, 19))), r(7, C = !0)) : (r(4, B = []), r(7, C = !1));
4701
4759
  }).catch((E) => {
4702
4760
  console.log(E), r(7, C = !1);
4703
4761
  });
4704
- }, Hr = (b) => {
4705
- const E = Ar(b);
4762
+ }, Rr = (b) => {
4763
+ const E = Or(b);
4706
4764
  return E.concat(E);
4707
- }, Br = async () => {
4708
- await Kr(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), st = Z.children[be];
4765
+ }, Ir = async () => {
4766
+ await nn(), be = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[be]), ht = Z.children[be];
4709
4767
  }, Le = async () => {
4710
- r(6, L = !1), r(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Br();
4711
- const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (st.offsetHeight + E) * be, Cr = [
4768
+ r(6, L = !1), r(5, M = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await Ir();
4769
+ const b = window.getComputedStyle(Z).getPropertyValue("gap"), E = parseInt(b, 10) || 0, ue = (ht.offsetHeight + E) * be, Fr = [
4712
4770
  { transform: "translateX(0px)" },
4713
4771
  { filter: "blur(5px)" },
4714
4772
  {
4715
4773
  transform: `translateY(-${ue}px)`
4716
4774
  }
4717
- ], Gr = {
4775
+ ], $r = {
4718
4776
  duration: 2e3,
4719
4777
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4720
4778
  fill: "forwards"
4721
4779
  };
4722
- ut = Z.animate(Cr, Gr), ut.onfinish = () => {
4780
+ ct = Z.animate(Fr, $r), ct.onfinish = () => {
4723
4781
  r(6, L = !0);
4724
4782
  };
4725
- }, Ar = (b) => {
4783
+ }, Or = (b) => {
4726
4784
  const E = structuredClone(b);
4727
4785
  let U = E.length, ue;
4728
4786
  for (; U != 0; )
4729
4787
  ue = Math.floor(Math.random() * U), U--, [E[U], E[ue]] = [E[ue], E[U]];
4730
4788
  return E;
4731
- }, lt = () => {
4789
+ }, ft = () => {
4732
4790
  window.postMessage(
4733
4791
  {
4734
4792
  type: h,
4735
4793
  gameId: T.gId || T.id
4736
4794
  },
4737
4795
  window.location.href
4738
- ), r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4796
+ ), r(5, M = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
4739
4797
  context: "RandomGameWidget",
4740
4798
  gameId: `${T.gId || T.id}`
4741
4799
  });
4742
- }, Pr = () => {
4743
- r(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
4744
- }, Rr = () => {
4745
- _o(l);
4800
+ }, Mr = () => {
4801
+ r(5, M = !1), window.postMessage({ type: "RandomWidgetState", state: M }, window.location.href);
4802
+ }, Lr = () => {
4803
+ wo(l);
4746
4804
  };
4747
- qr(() => () => {
4805
+ rn(() => () => {
4748
4806
  });
4749
- function Or(b) {
4807
+ function Nr(b) {
4750
4808
  He[b ? "unshift" : "push"](() => {
4751
4809
  Z = b, r(8, Z);
4752
4810
  });
4753
4811
  }
4754
- const Ir = () => Le(), Nr = () => lt(), Lr = () => Le();
4755
- function Mr(b) {
4812
+ const Cr = () => Le(), Gr = () => ft(), Ur = () => Le();
4813
+ function Dr(b) {
4756
4814
  He[b ? "unshift" : "push"](() => {
4757
4815
  G = b, r(2, G);
4758
4816
  });
@@ -4761,26 +4819,26 @@ function Oo(e, t, r) {
4761
4819
  "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);
4762
4820
  }, e.$$.update = () => {
4763
4821
  e.$$.dirty[0] & /*lang*/
4764
- 65536 && l && Rr(), e.$$.dirty[0] & /*translationurl*/
4765
- 131072 && c && Sr(), e.$$.dirty[0] & /*endpoint, datasource*/
4766
- 24576 && a && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4767
- 262148 && m && G && bo(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4768
- 524292 && d && G && go(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4769
- 2097156 && G && yo(G, `${A}.Style`);
4822
+ 65536 && l && Lr(), e.$$.dirty[0] & /*translationurl*/
4823
+ 131072 && c && Ar(), e.$$.dirty[0] & /*endpoint, datasource*/
4824
+ 24576 && a && s && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4825
+ 262148 && m && G && vo(G, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4826
+ 524292 && d && G && _o(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4827
+ 2097156 && G && xo(G, `${A}.Style`);
4770
4828
  }, [
4771
4829
  u,
4772
4830
  f,
4773
4831
  G,
4774
4832
  T,
4775
4833
  B,
4776
- N,
4834
+ M,
4777
4835
  L,
4778
4836
  C,
4779
4837
  Z,
4780
4838
  n,
4781
4839
  Le,
4782
- lt,
4783
- Pr,
4840
+ ft,
4841
+ Mr,
4784
4842
  a,
4785
4843
  s,
4786
4844
  h,
@@ -4792,21 +4850,21 @@ function Oo(e, t, r) {
4792
4850
  A,
4793
4851
  o,
4794
4852
  i,
4795
- Or,
4796
- Ir,
4797
4853
  Nr,
4798
- Lr,
4799
- Mr
4854
+ Cr,
4855
+ Gr,
4856
+ Ur,
4857
+ Dr
4800
4858
  ];
4801
4859
  }
4802
- class Io extends hn {
4860
+ class No extends dn {
4803
4861
  constructor(t) {
4804
- super(), un(
4862
+ super(), fn(
4805
4863
  this,
4806
4864
  t,
4807
- Oo,
4808
- Ro,
4809
- jt,
4865
+ Lo,
4866
+ Mo,
4867
+ Wt,
4810
4868
  {
4811
4869
  endpoint: 13,
4812
4870
  datasource: 14,
@@ -4820,7 +4878,7 @@ class Io extends hn {
4820
4878
  filteredrandomgamecategories: 20,
4821
4879
  mbsource: 21
4822
4880
  },
4823
- xo,
4881
+ So,
4824
4882
  [-1, -1]
4825
4883
  );
4826
4884
  }
@@ -4828,70 +4886,70 @@ class Io extends hn {
4828
4886
  return this.$$.ctx[13];
4829
4887
  }
4830
4888
  set endpoint(t) {
4831
- this.$$set({ endpoint: t }), O();
4889
+ this.$$set({ endpoint: t }), I();
4832
4890
  }
4833
4891
  get datasource() {
4834
4892
  return this.$$.ctx[14];
4835
4893
  }
4836
4894
  set datasource(t) {
4837
- this.$$set({ datasource: t }), O();
4895
+ this.$$set({ datasource: t }), I();
4838
4896
  }
4839
4897
  get gameevent() {
4840
4898
  return this.$$.ctx[15];
4841
4899
  }
4842
4900
  set gameevent(t) {
4843
- this.$$set({ gameevent: t }), O();
4901
+ this.$$set({ gameevent: t }), I();
4844
4902
  }
4845
4903
  get lang() {
4846
4904
  return this.$$.ctx[16];
4847
4905
  }
4848
4906
  set lang(t) {
4849
- this.$$set({ lang: t }), O();
4907
+ this.$$set({ lang: t }), I();
4850
4908
  }
4851
4909
  get randombuttonicon() {
4852
4910
  return this.$$.ctx[0];
4853
4911
  }
4854
4912
  set randombuttonicon(t) {
4855
- this.$$set({ randombuttonicon: t }), O();
4913
+ this.$$set({ randombuttonicon: t }), I();
4856
4914
  }
4857
4915
  get buttontext() {
4858
4916
  return this.$$.ctx[1];
4859
4917
  }
4860
4918
  set buttontext(t) {
4861
- this.$$set({ buttontext: t }), O();
4919
+ this.$$set({ buttontext: t }), I();
4862
4920
  }
4863
4921
  get translationurl() {
4864
4922
  return this.$$.ctx[17];
4865
4923
  }
4866
4924
  set translationurl(t) {
4867
- this.$$set({ translationurl: t }), O();
4925
+ this.$$set({ translationurl: t }), I();
4868
4926
  }
4869
4927
  get clientstyling() {
4870
4928
  return this.$$.ctx[18];
4871
4929
  }
4872
4930
  set clientstyling(t) {
4873
- this.$$set({ clientstyling: t }), O();
4931
+ this.$$set({ clientstyling: t }), I();
4874
4932
  }
4875
4933
  get clientstylingurl() {
4876
4934
  return this.$$.ctx[19];
4877
4935
  }
4878
4936
  set clientstylingurl(t) {
4879
- this.$$set({ clientstylingurl: t }), O();
4937
+ this.$$set({ clientstylingurl: t }), I();
4880
4938
  }
4881
4939
  get filteredrandomgamecategories() {
4882
4940
  return this.$$.ctx[20];
4883
4941
  }
4884
4942
  set filteredrandomgamecategories(t) {
4885
- this.$$set({ filteredrandomgamecategories: t }), O();
4943
+ this.$$set({ filteredrandomgamecategories: t }), I();
4886
4944
  }
4887
4945
  get mbsource() {
4888
4946
  return this.$$.ctx[21];
4889
4947
  }
4890
4948
  set mbsource(t) {
4891
- this.$$set({ mbsource: t }), O();
4949
+ this.$$set({ mbsource: t }), I();
4892
4950
  }
4893
4951
  }
4894
- ln(Io, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4952
+ mn(No, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4895
4953
  export {
4896
- Io as C
4954
+ No as C
4897
4955
  };