@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,16 +1,16 @@
1
- var Vr = Object.defineProperty, Wr = Object.defineProperties;
2
- var Xr = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
5
- var Ge = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
1
+ var Jr = Object.defineProperty, Zr = Object.defineProperties;
2
+ var Qr = Object.getOwnPropertyDescriptors;
3
+ var bt = Object.getOwnPropertySymbols;
4
+ var Yr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
5
+ var Ge = (e, t, r) => t in e ? Jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- zr.call(t, r) && Ge(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Jr.call(t, r) && Ge(e, r, t[r]);
7
+ Yr.call(t, r) && Ge(e, r, t[r]);
8
+ if (bt)
9
+ for (var r of bt(t))
10
+ qr.call(t, r) && Ge(e, r, t[r]);
11
11
  return e;
12
- }, pt = (e, t) => Wr(e, Xr(t));
13
- var N = (e, t, r) => Ge(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, yt = (e, t) => Zr(e, Qr(t));
13
+ var M = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ye = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -29,36 +29,37 @@ var ye = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function C() {
31
31
  }
32
- function Zr(e, t) {
33
- for (const r in t) e[r] = t[r];
32
+ function Kr(e, t) {
33
+ for (const r in t)
34
+ e[r] = t[r];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  e
37
38
  );
38
39
  }
39
- function zt(e) {
40
+ function Qt(e) {
40
41
  return e();
41
42
  }
42
- function bt() {
43
+ function vt() {
43
44
  return /* @__PURE__ */ Object.create(null);
44
45
  }
45
46
  function J(e) {
46
- e.forEach(zt);
47
+ e.forEach(Qt);
47
48
  }
48
- function st(e) {
49
+ function ut(e) {
49
50
  return typeof e == "function";
50
51
  }
51
- function Jt(e, t) {
52
+ function Yt(e, t) {
52
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
54
  }
54
55
  let ve;
55
- function gt(e, t) {
56
+ function _t(e, t) {
56
57
  return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
57
58
  }
58
- function Qr(e) {
59
+ function en(e) {
59
60
  return Object.keys(e).length === 0;
60
61
  }
61
- function Zt(e, ...t) {
62
+ function qt(e, ...t) {
62
63
  if (e == null) {
63
64
  for (const n of t)
64
65
  n(void 0);
@@ -67,19 +68,19 @@ function Zt(e, ...t) {
67
68
  const r = e.subscribe(...t);
68
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
70
  }
70
- function Yr(e, t, r) {
71
- e.$$.on_destroy.push(Zt(t, r));
71
+ function tn(e, t, r) {
72
+ e.$$.on_destroy.push(qt(t, r));
72
73
  }
73
- function qr(e, t, r, n) {
74
+ function rn(e, t, r, n) {
74
75
  if (e) {
75
- const i = Qt(e, t, r, n);
76
+ const i = Kt(e, t, r, n);
76
77
  return e[0](i);
77
78
  }
78
79
  }
79
- function Qt(e, t, r, n) {
80
- return e[1] && n ? Zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Kt(e, t, r, n) {
81
+ return e[1] && n ? Kr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
82
  }
82
- function Kr(e, t, r, n) {
83
+ function nn(e, t, r, n) {
83
84
  if (e[2] && n) {
84
85
  const i = e[2](n(r));
85
86
  if (t.dirty === void 0)
@@ -94,13 +95,13 @@ function Kr(e, t, r, n) {
94
95
  }
95
96
  return t.dirty;
96
97
  }
97
- function en(e, t, r, n, i, o) {
98
+ function on(e, t, r, n, i, o) {
98
99
  if (i) {
99
- const a = Qt(t, r, n, o);
100
+ const a = Kt(t, r, n, o);
100
101
  e.p(a, i);
101
102
  }
102
103
  }
103
- function tn(e) {
104
+ function an(e) {
104
105
  if (e.ctx.length > 32) {
105
106
  const t = [], r = e.ctx.length / 32;
106
107
  for (let n = 0; n < r; n++)
@@ -112,15 +113,16 @@ function tn(e) {
112
113
  function x(e, t) {
113
114
  e.appendChild(t);
114
115
  }
115
- function rn(e, t, r) {
116
- const n = nn(e);
116
+ function sn(e, t, r) {
117
+ const n = un(e);
117
118
  if (!n.getElementById(t)) {
118
119
  const i = S("style");
119
- i.id = t, i.textContent = r, on(n, i);
120
+ i.id = t, i.textContent = r, ln(n, i);
120
121
  }
121
122
  }
122
- function nn(e) {
123
- if (!e) return document;
123
+ function un(e) {
124
+ if (!e)
125
+ return document;
124
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
125
127
  return t && /** @type {ShadowRoot} */
126
128
  t.host ? (
@@ -128,27 +130,27 @@ function nn(e) {
128
130
  t
129
131
  ) : e.ownerDocument;
130
132
  }
131
- function on(e, t) {
133
+ function ln(e, t) {
132
134
  return x(
133
135
  /** @type {Document} */
134
136
  e.head || e,
135
137
  t
136
138
  ), t.sheet;
137
139
  }
138
- function I(e, t, r) {
140
+ function O(e, t, r) {
139
141
  e.insertBefore(t, r || null);
140
142
  }
141
143
  function R(e) {
142
144
  e.parentNode && e.parentNode.removeChild(e);
143
145
  }
144
- function an(e, t) {
146
+ function hn(e, t) {
145
147
  for (let r = 0; r < e.length; r += 1)
146
148
  e[r] && e[r].d(t);
147
149
  }
148
150
  function S(e) {
149
151
  return document.createElement(e);
150
152
  }
151
- function yt(e) {
153
+ function xt(e) {
152
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
155
  }
154
156
  function k(e) {
@@ -163,14 +165,14 @@ function Be(e, t, r, n) {
163
165
  function g(e, t, r) {
164
166
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
165
167
  }
166
- function sn(e) {
168
+ function cn(e) {
167
169
  return Array.from(e.childNodes);
168
170
  }
169
171
  function z(e, t) {
170
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
173
  t);
172
174
  }
173
- function un(e) {
175
+ function fn(e) {
174
176
  const t = {};
175
177
  return e.childNodes.forEach(
176
178
  /** @param {Element} node */
@@ -183,29 +185,30 @@ let me;
183
185
  function ce(e) {
184
186
  me = e;
185
187
  }
186
- function ln() {
187
- if (!me) throw new Error("Function called outside component initialization");
188
+ function mn() {
189
+ if (!me)
190
+ throw new Error("Function called outside component initialization");
188
191
  return me;
189
192
  }
190
- function hn(e) {
191
- ln().$$.on_mount.push(e);
193
+ function dn(e) {
194
+ mn().$$.on_mount.push(e);
192
195
  }
193
196
  const K = [], Ae = [];
194
197
  let ee = [];
195
- const vt = [], Yt = /* @__PURE__ */ Promise.resolve();
196
- let We = !1;
197
- function qt() {
198
- We || (We = !0, Yt.then(O));
198
+ const Et = [], er = /* @__PURE__ */ Promise.resolve();
199
+ let Xe = !1;
200
+ function tr() {
201
+ Xe || (Xe = !0, er.then(I));
199
202
  }
200
- function cn() {
201
- return qt(), Yt;
203
+ function pn() {
204
+ return tr(), er;
202
205
  }
203
- function Xe(e) {
206
+ function ze(e) {
204
207
  ee.push(e);
205
208
  }
206
209
  const Ue = /* @__PURE__ */ new Set();
207
210
  let Y = 0;
208
- function O() {
211
+ function I() {
209
212
  if (Y !== 0)
210
213
  return;
211
214
  const e = me;
@@ -213,36 +216,37 @@ function O() {
213
216
  try {
214
217
  for (; Y < K.length; ) {
215
218
  const t = K[Y];
216
- Y++, ce(t), fn(t.$$);
219
+ Y++, ce(t), bn(t.$$);
217
220
  }
218
221
  } catch (t) {
219
222
  throw K.length = 0, Y = 0, t;
220
223
  }
221
- for (ce(null), K.length = 0, Y = 0; Ae.length; ) Ae.pop()();
224
+ for (ce(null), K.length = 0, Y = 0; Ae.length; )
225
+ Ae.pop()();
222
226
  for (let t = 0; t < ee.length; t += 1) {
223
227
  const r = ee[t];
224
228
  Ue.has(r) || (Ue.add(r), r());
225
229
  }
226
230
  ee.length = 0;
227
231
  } while (K.length);
228
- for (; vt.length; )
229
- vt.pop()();
230
- We = !1, Ue.clear(), ce(e);
232
+ for (; Et.length; )
233
+ Et.pop()();
234
+ Xe = !1, Ue.clear(), ce(e);
231
235
  }
232
- function fn(e) {
236
+ function bn(e) {
233
237
  if (e.fragment !== null) {
234
238
  e.update(), J(e.before_update);
235
239
  const t = e.dirty;
236
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
237
241
  }
238
242
  }
239
- function mn(e) {
243
+ function gn(e) {
240
244
  const t = [], r = [];
241
245
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
242
246
  }
243
247
  const Ee = /* @__PURE__ */ new Set();
244
248
  let X;
245
- function dn() {
249
+ function yn() {
246
250
  X = {
247
251
  r: 0,
248
252
  c: [],
@@ -250,38 +254,40 @@ function dn() {
250
254
  // parent group
251
255
  };
252
256
  }
253
- function pn() {
257
+ function vn() {
254
258
  X.r || J(X.c), X = X.p;
255
259
  }
256
260
  function fe(e, t) {
257
261
  e && e.i && (Ee.delete(e), e.i(t));
258
262
  }
259
- function ze(e, t, r, n) {
263
+ function Je(e, t, r, n) {
260
264
  if (e && e.o) {
261
- if (Ee.has(e)) return;
265
+ if (Ee.has(e))
266
+ return;
262
267
  Ee.add(e), X.c.push(() => {
263
268
  Ee.delete(e), n && (r && e.d(1), n());
264
269
  }), e.o(t);
265
- } else n && n();
270
+ } else
271
+ n && n();
266
272
  }
267
- function _t(e) {
273
+ function wt(e) {
268
274
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
269
275
  }
270
- function bn(e, t, r) {
276
+ function _n(e, t, r) {
271
277
  const { fragment: n, after_update: i } = e.$$;
272
- n && n.m(t, r), Xe(() => {
273
- const o = e.$$.on_mount.map(zt).filter(st);
278
+ n && n.m(t, r), ze(() => {
279
+ const o = e.$$.on_mount.map(Qt).filter(ut);
274
280
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
275
- }), i.forEach(Xe);
281
+ }), i.forEach(ze);
276
282
  }
277
- function gn(e, t) {
283
+ function xn(e, t) {
278
284
  const r = e.$$;
279
- r.fragment !== null && (mn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
285
+ r.fragment !== null && (gn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
280
286
  }
281
- function yn(e, t) {
282
- e.$$.dirty[0] === -1 && (K.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
287
+ function En(e, t) {
288
+ e.$$.dirty[0] === -1 && (K.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
283
289
  }
284
- function vn(e, t, r, n, i, o, a = null, s = [-1]) {
290
+ function wn(e, t, r, n, i, o, a = null, s = [-1]) {
285
291
  const h = me;
286
292
  ce(e);
287
293
  const l = e.$$ = {
@@ -291,7 +297,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
291
297
  props: o,
292
298
  update: C,
293
299
  not_equal: i,
294
- bound: bt(),
300
+ bound: vt(),
295
301
  // lifecycle
296
302
  on_mount: [],
297
303
  on_destroy: [],
@@ -300,7 +306,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
300
306
  after_update: [],
301
307
  context: new Map(t.context || (h ? h.$$.context : [])),
302
308
  // everything else
303
- callbacks: bt(),
309
+ callbacks: vt(),
304
310
  dirty: s,
305
311
  skip_bound: !1,
306
312
  root: t.target || h.$$.root
@@ -309,39 +315,39 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
309
315
  let u = !1;
310
316
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
311
317
  const d = m.length ? m[0] : c;
312
- return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && yn(e, f)), c;
318
+ return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && En(e, f)), c;
313
319
  }) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
314
320
  if (t.hydrate) {
315
- const f = sn(t.target);
321
+ const f = cn(t.target);
316
322
  l.fragment && l.fragment.l(f), f.forEach(R);
317
323
  } else
318
324
  l.fragment && l.fragment.c();
319
- t.intro && fe(e.$$.fragment), bn(e, t.target, t.anchor), O();
325
+ t.intro && fe(e.$$.fragment), _n(e, t.target, t.anchor), I();
320
326
  }
321
327
  ce(h);
322
328
  }
323
- let Kt;
324
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
329
+ let rr;
330
+ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
325
331
  constructor(t, r, n) {
326
332
  super();
327
333
  /** The Svelte component constructor */
328
- N(this, "$$ctor");
334
+ M(this, "$$ctor");
329
335
  /** Slots */
330
- N(this, "$$s");
336
+ M(this, "$$s");
331
337
  /** The Svelte component instance */
332
- N(this, "$$c");
338
+ M(this, "$$c");
333
339
  /** Whether or not the custom element is connected */
334
- N(this, "$$cn", !1);
340
+ M(this, "$$cn", !1);
335
341
  /** Component props data */
336
- N(this, "$$d", {});
342
+ M(this, "$$d", {});
337
343
  /** `true` if currently in the process of reflecting component props back to attributes */
338
- N(this, "$$r", !1);
344
+ M(this, "$$r", !1);
339
345
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
340
- N(this, "$$p_d", {});
346
+ M(this, "$$p_d", {});
341
347
  /** @type {Record<string, Function[]>} Event listeners */
342
- N(this, "$$l", {});
348
+ M(this, "$$l", {});
343
349
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
344
- N(this, "$$l_u", /* @__PURE__ */ new Map());
350
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
345
351
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
346
352
  }
347
353
  addEventListener(t, r, n) {
@@ -372,7 +378,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
372
378
  * @param {HTMLElement} [anchor]
373
379
  */
374
380
  m: function(l, u) {
375
- I(l, a, u);
381
+ O(l, a, u);
376
382
  },
377
383
  d: function(l) {
378
384
  l && R(a);
@@ -382,7 +388,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
382
388
  };
383
389
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
384
390
  return;
385
- const r = {}, n = un(this);
391
+ const r = {}, n = fn(this);
386
392
  for (const o of this.$$s)
387
393
  o in n && (r[o] = [t(o)]);
388
394
  for (const o of this.attributes) {
@@ -393,7 +399,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
393
399
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
394
400
  this.$$c = new this.$$ctor({
395
401
  target: this.shadowRoot || this,
396
- props: pt(dt({}, this.$$d), {
402
+ props: yt(gt({}, this.$$d), {
397
403
  $$slots: r,
398
404
  $$scope: {
399
405
  ctx: []
@@ -471,8 +477,8 @@ function we(e, t, r, n) {
471
477
  return t;
472
478
  }
473
479
  }
474
- function _n(e, t, r, n, i, o) {
475
- let a = class extends Kt {
480
+ function Sn(e, t, r, n, i, o) {
481
+ let a = class extends rr {
476
482
  constructor() {
477
483
  super(e, r, i), this.$$p_d = t;
478
484
  }
@@ -502,7 +508,7 @@ function _n(e, t, r, n, i, o) {
502
508
  }), e.element = /** @type {any} */
503
509
  a, a;
504
510
  }
505
- class xn {
511
+ class Tn {
506
512
  constructor() {
507
513
  /**
508
514
  * ### PRIVATE API
@@ -511,7 +517,7 @@ class xn {
511
517
  *
512
518
  * @type {any}
513
519
  */
514
- N(this, "$$");
520
+ M(this, "$$");
515
521
  /**
516
522
  * ### PRIVATE API
517
523
  *
@@ -519,11 +525,11 @@ class xn {
519
525
  *
520
526
  * @type {any}
521
527
  */
522
- N(this, "$$set");
528
+ M(this, "$$set");
523
529
  }
524
530
  /** @returns {void} */
525
531
  $destroy() {
526
- gn(this, 1), this.$destroy = C;
532
+ xn(this, 1), this.$destroy = C;
527
533
  }
528
534
  /**
529
535
  * @template {Extract<keyof Events, string>} K
@@ -532,7 +538,7 @@ class xn {
532
538
  * @returns {() => void}
533
539
  */
534
540
  $on(t, r) {
535
- if (!st(r))
541
+ if (!ut(r))
536
542
  return C;
537
543
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
538
544
  return n.push(r), () => {
@@ -545,22 +551,37 @@ class xn {
545
551
  * @returns {void}
546
552
  */
547
553
  $set(t) {
548
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
+ this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
549
555
  }
550
556
  }
551
- const En = "4";
552
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
553
- var Je = function(e, t) {
554
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
557
+ const Hn = "4";
558
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
559
+ /*! *****************************************************************************
560
+ Copyright (c) Microsoft Corporation.
561
+
562
+ Permission to use, copy, modify, and/or distribute this software for any
563
+ purpose with or without fee is hereby granted.
564
+
565
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
566
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
567
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
568
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
569
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
570
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
571
+ PERFORMANCE OF THIS SOFTWARE.
572
+ ***************************************************************************** */
573
+ var Ze = function(e, t) {
574
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
555
575
  r.__proto__ = n;
556
576
  } || function(r, n) {
557
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
558
- }, Je(e, t);
577
+ for (var i in n)
578
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
579
+ }, Ze(e, t);
559
580
  };
560
581
  function $(e, t) {
561
582
  if (typeof t != "function" && t !== null)
562
583
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
563
- Je(e, t);
584
+ Ze(e, t);
564
585
  function r() {
565
586
  this.constructor = e;
566
587
  }
@@ -570,61 +591,69 @@ var _ = function() {
570
591
  return _ = Object.assign || function(t) {
571
592
  for (var r, n = 1, i = arguments.length; n < i; n++) {
572
593
  r = arguments[n];
573
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
594
+ for (var o in r)
595
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
574
596
  }
575
597
  return t;
576
598
  }, _.apply(this, arguments);
577
599
  };
578
- function wn(e, t) {
600
+ function Bn(e, t) {
579
601
  var r = {};
580
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
602
+ for (var n in e)
603
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
581
604
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
582
605
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
583
606
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
584
607
  return r;
585
608
  }
586
- function Ze(e) {
609
+ function Qe(e) {
587
610
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
588
- if (r) return r.call(e);
589
- if (e && typeof e.length == "number") return {
590
- next: function() {
591
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
592
- }
593
- };
611
+ if (r)
612
+ return r.call(e);
613
+ if (e && typeof e.length == "number")
614
+ return {
615
+ next: function() {
616
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
617
+ }
618
+ };
594
619
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
595
620
  }
596
- function Qe(e, t) {
621
+ function Ye(e, t) {
597
622
  var r = typeof Symbol == "function" && e[Symbol.iterator];
598
- if (!r) return e;
623
+ if (!r)
624
+ return e;
599
625
  var n = r.call(e), i, o = [], a;
600
626
  try {
601
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
627
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
628
+ o.push(i.value);
602
629
  } catch (s) {
603
630
  a = { error: s };
604
631
  } finally {
605
632
  try {
606
633
  i && !i.done && (r = n.return) && r.call(n);
607
634
  } finally {
608
- if (a) throw a.error;
635
+ if (a)
636
+ throw a.error;
609
637
  }
610
638
  }
611
639
  return o;
612
640
  }
613
641
  function te(e, t, r) {
614
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
615
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
616
- return e.concat(o || Array.prototype.slice.call(t));
642
+ if (r || arguments.length === 2)
643
+ for (var n = 0, i = t.length, o; n < i; n++)
644
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
645
+ return e.concat(o || t);
617
646
  }
618
647
  function F(e) {
619
648
  return typeof e == "function";
620
649
  }
621
- function er(e) {
650
+ function nr(e) {
622
651
  var t = function(n) {
623
652
  Error.call(n), n.stack = new Error().stack;
624
653
  }, r = e(t);
625
654
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
626
655
  }
627
- var De = er(function(e) {
656
+ var De = nr(function(e) {
628
657
  return function(r) {
629
658
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
630
659
  ` + r.map(function(n, i) {
@@ -633,13 +662,13 @@ var De = er(function(e) {
633
662
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
634
663
  };
635
664
  });
636
- function Ye(e, t) {
665
+ function qe(e, t) {
637
666
  if (e) {
638
667
  var r = e.indexOf(t);
639
668
  0 <= r && e.splice(r, 1);
640
669
  }
641
670
  }
642
- var Oe = function() {
671
+ var Ie = function() {
643
672
  function e(t) {
644
673
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
645
674
  }
@@ -651,7 +680,7 @@ var Oe = function() {
651
680
  if (a)
652
681
  if (this._parentage = null, Array.isArray(a))
653
682
  try {
654
- for (var s = Ze(a), h = s.next(); !h.done; h = s.next()) {
683
+ for (var s = Qe(a), h = s.next(); !h.done; h = s.next()) {
655
684
  var l = h.value;
656
685
  l.remove(this);
657
686
  }
@@ -661,7 +690,8 @@ var Oe = function() {
661
690
  try {
662
691
  h && !h.done && (r = s.return) && r.call(s);
663
692
  } finally {
664
- if (t) throw t.error;
693
+ if (t)
694
+ throw t.error;
665
695
  }
666
696
  }
667
697
  else
@@ -677,12 +707,12 @@ var Oe = function() {
677
707
  if (f) {
678
708
  this._finalizers = null;
679
709
  try {
680
- for (var c = Ze(f), m = c.next(); !m.done; m = c.next()) {
710
+ for (var c = Qe(f), m = c.next(); !m.done; m = c.next()) {
681
711
  var d = m.value;
682
712
  try {
683
- xt(d);
713
+ St(d);
684
714
  } catch (p) {
685
- o = o != null ? o : [], p instanceof De ? o = te(te([], Qe(o)), Qe(p.errors)) : o.push(p);
715
+ o = o != null ? o : [], p instanceof De ? o = te(te([], Ye(o)), Ye(p.errors)) : o.push(p);
686
716
  }
687
717
  }
688
718
  } catch (p) {
@@ -691,7 +721,8 @@ var Oe = function() {
691
721
  try {
692
722
  m && !m.done && (i = c.return) && i.call(c);
693
723
  } finally {
694
- if (n) throw n.error;
724
+ if (n)
725
+ throw n.error;
695
726
  }
696
727
  }
697
728
  }
@@ -702,7 +733,7 @@ var Oe = function() {
702
733
  var r;
703
734
  if (t && t !== this)
704
735
  if (this.closed)
705
- xt(t);
736
+ St(t);
706
737
  else {
707
738
  if (t instanceof e) {
708
739
  if (t.closed || t._hasParent(this))
@@ -719,52 +750,56 @@ var Oe = function() {
719
750
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
720
751
  }, e.prototype._removeParent = function(t) {
721
752
  var r = this._parentage;
722
- r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
753
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
723
754
  }, e.prototype.remove = function(t) {
724
755
  var r = this._finalizers;
725
- r && Ye(r, t), t instanceof e && t._removeParent(this);
756
+ r && qe(r, t), t instanceof e && t._removeParent(this);
726
757
  }, e.EMPTY = function() {
727
758
  var t = new e();
728
759
  return t.closed = !0, t;
729
760
  }(), e;
730
- }(), tr = Oe.EMPTY;
731
- function rr(e) {
732
- return e instanceof Oe || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
761
+ }(), ir = Ie.EMPTY;
762
+ function or(e) {
763
+ return e instanceof Ie || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
733
764
  }
734
- function xt(e) {
765
+ function St(e) {
735
766
  F(e) ? e() : e.unsubscribe();
736
767
  }
737
- var Sn = {
738
- Promise: void 0
739
- }, Tn = {
768
+ var ar = {
769
+ onUnhandledError: null,
770
+ onStoppedNotification: null,
771
+ Promise: void 0,
772
+ useDeprecatedSynchronousErrorHandling: !1,
773
+ useDeprecatedNextContext: !1
774
+ }, An = {
740
775
  setTimeout: function(e, t) {
741
776
  for (var r = [], n = 2; n < arguments.length; n++)
742
777
  r[n - 2] = arguments[n];
743
- return setTimeout.apply(void 0, te([e, t], Qe(r)));
778
+ return setTimeout.apply(void 0, te([e, t], Ye(r)));
744
779
  },
745
780
  clearTimeout: function(e) {
746
781
  return clearTimeout(e);
747
782
  },
748
783
  delegate: void 0
749
784
  };
750
- function Hn(e) {
751
- Tn.setTimeout(function() {
785
+ function Pn(e) {
786
+ An.setTimeout(function() {
752
787
  throw e;
753
788
  });
754
789
  }
755
- function Et() {
790
+ function Tt() {
756
791
  }
757
792
  function Se(e) {
758
793
  e();
759
794
  }
760
- var nr = function(e) {
795
+ var sr = function(e) {
761
796
  $(t, e);
762
797
  function t(r) {
763
798
  var n = e.call(this) || this;
764
- return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = Pn, n;
799
+ return n.isStopped = !1, r ? (n.destination = r, or(r) && r.add(n)) : n.destination = Mn, n;
765
800
  }
766
801
  return t.create = function(r, n, i) {
767
- return new qe(r, n, i);
802
+ return new Ke(r, n, i);
768
803
  }, t.prototype.next = function(r) {
769
804
  this.isStopped || this._next(r);
770
805
  }, t.prototype.error = function(r) {
@@ -788,7 +823,11 @@ var nr = function(e) {
788
823
  this.unsubscribe();
789
824
  }
790
825
  }, t;
791
- }(Oe), Bn = function() {
826
+ }(Ie), Rn = Function.prototype.bind;
827
+ function Fe(e, t) {
828
+ return Rn.call(e, t);
829
+ }
830
+ var In = function() {
792
831
  function e(t) {
793
832
  this.partialObserver = t;
794
833
  }
@@ -819,43 +858,55 @@ var nr = function(e) {
819
858
  _e(r);
820
859
  }
821
860
  }, e;
822
- }(), qe = function(e) {
861
+ }(), Ke = function(e) {
823
862
  $(t, e);
824
863
  function t(r, n, i) {
825
864
  var o = e.call(this) || this, a;
826
- return F(r) || !r ? a = {
827
- next: r != null ? r : void 0,
828
- error: n != null ? n : void 0,
829
- complete: i != null ? i : void 0
830
- } : a = r, o.destination = new Bn(a), o;
865
+ if (F(r) || !r)
866
+ a = {
867
+ next: r != null ? r : void 0,
868
+ error: n != null ? n : void 0,
869
+ complete: i != null ? i : void 0
870
+ };
871
+ else {
872
+ var s;
873
+ o && ar.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
874
+ return o.unsubscribe();
875
+ }, a = {
876
+ next: r.next && Fe(r.next, s),
877
+ error: r.error && Fe(r.error, s),
878
+ complete: r.complete && Fe(r.complete, s)
879
+ }) : a = r;
880
+ }
881
+ return o.destination = new In(a), o;
831
882
  }
832
883
  return t;
833
- }(nr);
884
+ }(sr);
834
885
  function _e(e) {
835
- Hn(e);
886
+ Pn(e);
836
887
  }
837
- function An(e) {
888
+ function On(e) {
838
889
  throw e;
839
890
  }
840
- var Pn = {
891
+ var Mn = {
841
892
  closed: !0,
842
- next: Et,
843
- error: An,
844
- complete: Et
845
- }, Rn = function() {
893
+ next: Tt,
894
+ error: On,
895
+ complete: Tt
896
+ }, Ln = function() {
846
897
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
847
898
  }();
848
- function On(e) {
899
+ function Nn(e) {
849
900
  return e;
850
901
  }
851
- function In(e) {
852
- return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
902
+ function Cn(e) {
903
+ return e.length === 0 ? Nn : e.length === 1 ? e[0] : function(r) {
853
904
  return e.reduce(function(n, i) {
854
905
  return i(n);
855
906
  }, r);
856
907
  };
857
908
  }
858
- var wt = function() {
909
+ var Ht = function() {
859
910
  function e(t) {
860
911
  t && (this._subscribe = t);
861
912
  }
@@ -863,7 +914,7 @@ var wt = function() {
863
914
  var r = new e();
864
915
  return r.source = this, r.operator = t, r;
865
916
  }, e.prototype.subscribe = function(t, r, n) {
866
- var i = this, o = Ln(t) ? t : new qe(t, r, n);
917
+ var i = this, o = Un(t) ? t : new Ke(t, r, n);
867
918
  return Se(function() {
868
919
  var a = i, s = a.operator, h = a.source;
869
920
  o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -876,8 +927,8 @@ var wt = function() {
876
927
  }
877
928
  }, e.prototype.forEach = function(t, r) {
878
929
  var n = this;
879
- return r = St(r), new r(function(i, o) {
880
- var a = new qe({
930
+ return r = Bt(r), new r(function(i, o) {
931
+ var a = new Ke({
881
932
  next: function(s) {
882
933
  try {
883
934
  t(s);
@@ -893,15 +944,15 @@ var wt = function() {
893
944
  }, e.prototype._subscribe = function(t) {
894
945
  var r;
895
946
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
896
- }, e.prototype[Rn] = function() {
947
+ }, e.prototype[Ln] = function() {
897
948
  return this;
898
949
  }, e.prototype.pipe = function() {
899
950
  for (var t = [], r = 0; r < arguments.length; r++)
900
951
  t[r] = arguments[r];
901
- return In(t)(this);
952
+ return Cn(t)(this);
902
953
  }, e.prototype.toPromise = function(t) {
903
954
  var r = this;
904
- return t = St(t), new t(function(n, i) {
955
+ return t = Bt(t), new t(function(n, i) {
905
956
  var o;
906
957
  r.subscribe(function(a) {
907
958
  return o = a;
@@ -915,32 +966,32 @@ var wt = function() {
915
966
  return new e(t);
916
967
  }, e;
917
968
  }();
918
- function St(e) {
969
+ function Bt(e) {
919
970
  var t;
920
- return (t = e != null ? e : Sn.Promise) !== null && t !== void 0 ? t : Promise;
971
+ return (t = e != null ? e : ar.Promise) !== null && t !== void 0 ? t : Promise;
921
972
  }
922
- function Nn(e) {
973
+ function Gn(e) {
923
974
  return e && F(e.next) && F(e.error) && F(e.complete);
924
975
  }
925
- function Ln(e) {
926
- return e && e instanceof nr || Nn(e) && rr(e);
976
+ function Un(e) {
977
+ return e && e instanceof sr || Gn(e) && or(e);
927
978
  }
928
- var Mn = er(function(e) {
979
+ var Dn = nr(function(e) {
929
980
  return function() {
930
981
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
931
982
  };
932
- }), ir = function(e) {
983
+ }), ur = function(e) {
933
984
  $(t, e);
934
985
  function t() {
935
986
  var r = e.call(this) || this;
936
987
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
937
988
  }
938
989
  return t.prototype.lift = function(r) {
939
- var n = new Tt(this, this);
990
+ var n = new At(this, this);
940
991
  return n.operator = r, n;
941
992
  }, t.prototype._throwIfClosed = function() {
942
993
  if (this.closed)
943
- throw new Mn();
994
+ throw new Dn();
944
995
  }, t.prototype.next = function(r) {
945
996
  var n = this;
946
997
  Se(function() {
@@ -948,7 +999,7 @@ var Mn = er(function(e) {
948
999
  if (n._throwIfClosed(), !n.isStopped) {
949
1000
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
950
1001
  try {
951
- for (var a = Ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1002
+ for (var a = Qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
952
1003
  var h = s.value;
953
1004
  h.next(r);
954
1005
  }
@@ -958,7 +1009,8 @@ var Mn = er(function(e) {
958
1009
  try {
959
1010
  s && !s.done && (o = a.return) && o.call(a);
960
1011
  } finally {
961
- if (i) throw i.error;
1012
+ if (i)
1013
+ throw i.error;
962
1014
  }
963
1015
  }
964
1016
  }
@@ -996,19 +1048,19 @@ var Mn = er(function(e) {
996
1048
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
997
1049
  }, t.prototype._innerSubscribe = function(r) {
998
1050
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
999
- return o || a ? tr : (this.currentObservers = null, s.push(r), new Oe(function() {
1000
- n.currentObservers = null, Ye(s, r);
1051
+ return o || a ? ir : (this.currentObservers = null, s.push(r), new Ie(function() {
1052
+ n.currentObservers = null, qe(s, r);
1001
1053
  }));
1002
1054
  }, t.prototype._checkFinalizedStatuses = function(r) {
1003
1055
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1004
1056
  i ? r.error(o) : a && r.complete();
1005
1057
  }, t.prototype.asObservable = function() {
1006
- var r = new wt();
1058
+ var r = new Ht();
1007
1059
  return r.source = this, r;
1008
1060
  }, t.create = function(r, n) {
1009
- return new Tt(r, n);
1061
+ return new At(r, n);
1010
1062
  }, t;
1011
- }(wt), Tt = function(e) {
1063
+ }(Ht), At = function(e) {
1012
1064
  $(t, e);
1013
1065
  function t(r, n) {
1014
1066
  var i = e.call(this) || this;
@@ -1025,17 +1077,17 @@ var Mn = er(function(e) {
1025
1077
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1026
1078
  }, t.prototype._subscribe = function(r) {
1027
1079
  var n, i;
1028
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1080
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ir;
1029
1081
  }, t;
1030
- }(ir), or = {
1082
+ }(ur), lr = {
1031
1083
  now: function() {
1032
- return (or.delegate || Date).now();
1084
+ return (lr.delegate || Date).now();
1033
1085
  },
1034
1086
  delegate: void 0
1035
- }, Cn = function(e) {
1087
+ }, Fn = function(e) {
1036
1088
  $(t, e);
1037
1089
  function t(r, n, i) {
1038
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1090
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lr);
1039
1091
  var o = e.call(this) || this;
1040
1092
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1041
1093
  }
@@ -1055,24 +1107,24 @@ var Mn = er(function(e) {
1055
1107
  l && o.splice(0, l + 1);
1056
1108
  }
1057
1109
  }, t;
1058
- }(ir);
1059
- const Ht = [], Bt = {}, Gn = (e, t = 0) => {
1060
- if (Ht.indexOf(e) == -1) {
1061
- const r = new Cn(t);
1062
- Bt[e] = r, Ht.push(e);
1110
+ }(ur);
1111
+ const Pt = [], Rt = {}, $n = (e, t = 0) => {
1112
+ if (Pt.indexOf(e) == -1) {
1113
+ const r = new Fn(t);
1114
+ Rt[e] = r, Pt.push(e);
1063
1115
  }
1064
- return Bt[e];
1116
+ return Rt[e];
1065
1117
  }, q = [];
1066
- function Un(e, t) {
1118
+ function jn(e, t) {
1067
1119
  return {
1068
- subscribe: Ie(e, t).subscribe
1120
+ subscribe: Oe(e, t).subscribe
1069
1121
  };
1070
1122
  }
1071
- function Ie(e, t = C) {
1123
+ function Oe(e, t = C) {
1072
1124
  let r;
1073
1125
  const n = /* @__PURE__ */ new Set();
1074
1126
  function i(s) {
1075
- if (Jt(e, s) && (e = s, r)) {
1127
+ if (Yt(e, s) && (e = s, r)) {
1076
1128
  const h = !q.length;
1077
1129
  for (const l of n)
1078
1130
  l[1](), q.push(l, e);
@@ -1099,7 +1151,7 @@ function ae(e, t, r) {
1099
1151
  if (!i.every(Boolean))
1100
1152
  throw new Error("derived() expects stores as input, got a falsy value");
1101
1153
  const o = t.length < 2;
1102
- return Un(r, (a, s) => {
1154
+ return jn(r, (a, s) => {
1103
1155
  let h = !1;
1104
1156
  const l = [];
1105
1157
  let u = 0, f = C;
@@ -1108,9 +1160,9 @@ function ae(e, t, r) {
1108
1160
  return;
1109
1161
  f();
1110
1162
  const d = t(n ? l[0] : l, a, s);
1111
- o ? a(d) : f = st(d) ? d : C;
1163
+ o ? a(d) : f = ut(d) ? d : C;
1112
1164
  }, m = i.map(
1113
- (d, p) => Zt(
1165
+ (d, p) => qt(
1114
1166
  d,
1115
1167
  (A) => {
1116
1168
  l[p] = A, u &= ~(1 << p), h && c();
@@ -1125,70 +1177,70 @@ function ae(e, t, r) {
1125
1177
  };
1126
1178
  });
1127
1179
  }
1128
- function Dn(e) {
1180
+ function kn(e) {
1129
1181
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1130
1182
  }
1131
- var Fn = function(t) {
1132
- return $n(t) && !jn(t);
1183
+ var Vn = function(t) {
1184
+ return Wn(t) && !Xn(t);
1133
1185
  };
1134
- function $n(e) {
1186
+ function Wn(e) {
1135
1187
  return !!e && typeof e == "object";
1136
1188
  }
1137
- function jn(e) {
1189
+ function Xn(e) {
1138
1190
  var t = Object.prototype.toString.call(e);
1139
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
1191
+ return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
1140
1192
  }
1141
- var kn = typeof Symbol == "function" && Symbol.for, Vn = kn ? Symbol.for("react.element") : 60103;
1142
- function Wn(e) {
1143
- return e.$$typeof === Vn;
1193
+ var zn = typeof Symbol == "function" && Symbol.for, Jn = zn ? Symbol.for("react.element") : 60103;
1194
+ function Zn(e) {
1195
+ return e.$$typeof === Jn;
1144
1196
  }
1145
- function Xn(e) {
1197
+ function Qn(e) {
1146
1198
  return Array.isArray(e) ? [] : {};
1147
1199
  }
1148
1200
  function de(e, t) {
1149
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Xn(e), e, t) : e;
1201
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(Qn(e), e, t) : e;
1150
1202
  }
1151
- function zn(e, t, r) {
1203
+ function Yn(e, t, r) {
1152
1204
  return e.concat(t).map(function(n) {
1153
1205
  return de(n, r);
1154
1206
  });
1155
1207
  }
1156
- function Jn(e, t) {
1208
+ function qn(e, t) {
1157
1209
  if (!t.customMerge)
1158
1210
  return re;
1159
1211
  var r = t.customMerge(e);
1160
1212
  return typeof r == "function" ? r : re;
1161
1213
  }
1162
- function Zn(e) {
1214
+ function Kn(e) {
1163
1215
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1164
1216
  return Object.propertyIsEnumerable.call(e, t);
1165
1217
  }) : [];
1166
1218
  }
1167
- function At(e) {
1168
- return Object.keys(e).concat(Zn(e));
1219
+ function It(e) {
1220
+ return Object.keys(e).concat(Kn(e));
1169
1221
  }
1170
- function ar(e, t) {
1222
+ function hr(e, t) {
1171
1223
  try {
1172
1224
  return t in e;
1173
1225
  } catch (r) {
1174
1226
  return !1;
1175
1227
  }
1176
1228
  }
1177
- function Qn(e, t) {
1178
- return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1229
+ function ei(e, t) {
1230
+ return hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1179
1231
  }
1180
- function Yn(e, t, r) {
1232
+ function ti(e, t, r) {
1181
1233
  var n = {};
1182
- return r.isMergeableObject(e) && At(e).forEach(function(i) {
1234
+ return r.isMergeableObject(e) && It(e).forEach(function(i) {
1183
1235
  n[i] = de(e[i], r);
1184
- }), At(t).forEach(function(i) {
1185
- Qn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1236
+ }), It(t).forEach(function(i) {
1237
+ ei(e, i) || (hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1186
1238
  }), n;
1187
1239
  }
1188
1240
  function re(e, t, r) {
1189
- r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = de;
1241
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = de;
1190
1242
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1191
- return o ? n ? r.arrayMerge(e, t, r) : Yn(e, t, r) : de(t, r);
1243
+ return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : de(t, r);
1192
1244
  }
1193
1245
  re.all = function(t, r) {
1194
1246
  if (!Array.isArray(t))
@@ -1197,56 +1249,58 @@ re.all = function(t, r) {
1197
1249
  return re(n, i, r);
1198
1250
  }, {});
1199
1251
  };
1200
- var qn = re, Kn = qn;
1201
- const ei = /* @__PURE__ */ Dn(Kn);
1202
- function Fe(e, t) {
1203
- var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : oi, i = t && t.strategy ? t.strategy : ni;
1252
+ var ri = re, ni = ri;
1253
+ const ii = /* @__PURE__ */ kn(ni);
1254
+ function $e(e, t) {
1255
+ var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : ai;
1204
1256
  return i(e, {
1205
1257
  cache: r,
1206
1258
  serializer: n
1207
1259
  });
1208
1260
  }
1209
- function ti(e) {
1261
+ function oi(e) {
1210
1262
  return e == null || typeof e == "number" || typeof e == "boolean";
1211
1263
  }
1212
- function ri(e, t, r, n) {
1213
- var i = ti(n) ? n : r(n), o = t.get(i);
1264
+ function cr(e, t, r, n) {
1265
+ var i = oi(n) ? n : r(n), o = t.get(i);
1214
1266
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1215
1267
  }
1216
- function sr(e, t, r) {
1268
+ function fr(e, t, r) {
1217
1269
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1218
1270
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1219
1271
  }
1220
- function ur(e, t, r, n, i) {
1272
+ function lt(e, t, r, n, i) {
1221
1273
  return r.bind(t, e, n, i);
1222
1274
  }
1223
- function ni(e, t) {
1224
- var r = e.length === 1 ? ri : sr;
1225
- return ur(e, this, r, t.cache.create(), t.serializer);
1275
+ function ai(e, t) {
1276
+ var r = e.length === 1 ? cr : fr;
1277
+ return lt(e, this, r, t.cache.create(), t.serializer);
1278
+ }
1279
+ function si(e, t) {
1280
+ return lt(e, this, fr, t.cache.create(), t.serializer);
1226
1281
  }
1227
- function ii(e, t) {
1228
- return ur(e, this, sr, t.cache.create(), t.serializer);
1282
+ function ui(e, t) {
1283
+ return lt(e, this, cr, t.cache.create(), t.serializer);
1229
1284
  }
1230
- var oi = function() {
1285
+ var li = function() {
1231
1286
  return JSON.stringify(arguments);
1232
- }, ai = (
1233
- /** @class */
1234
- function() {
1235
- function e() {
1236
- this.cache = /* @__PURE__ */ Object.create(null);
1237
- }
1238
- return e.prototype.get = function(t) {
1239
- return this.cache[t];
1240
- }, e.prototype.set = function(t, r) {
1241
- this.cache[t] = r;
1242
- }, e;
1243
- }()
1244
- ), si = {
1287
+ };
1288
+ function ht() {
1289
+ this.cache = /* @__PURE__ */ Object.create(null);
1290
+ }
1291
+ ht.prototype.get = function(e) {
1292
+ return this.cache[e];
1293
+ };
1294
+ ht.prototype.set = function(e, t) {
1295
+ this.cache[e] = t;
1296
+ };
1297
+ var hi = {
1245
1298
  create: function() {
1246
- return new ai();
1299
+ return new ht();
1247
1300
  }
1248
- }, $e = {
1249
- variadic: ii
1301
+ }, je = {
1302
+ variadic: si,
1303
+ monadic: ui
1250
1304
  }, y;
1251
1305
  (function(e) {
1252
1306
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1259,43 +1313,43 @@ var ne;
1259
1313
  (function(e) {
1260
1314
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1261
1315
  })(ne || (ne = {}));
1262
- function Pt(e) {
1316
+ function Ot(e) {
1263
1317
  return e.type === w.literal;
1264
1318
  }
1265
- function ui(e) {
1319
+ function ci(e) {
1266
1320
  return e.type === w.argument;
1267
1321
  }
1268
- function lr(e) {
1322
+ function mr(e) {
1269
1323
  return e.type === w.number;
1270
1324
  }
1271
- function hr(e) {
1325
+ function dr(e) {
1272
1326
  return e.type === w.date;
1273
1327
  }
1274
- function cr(e) {
1328
+ function pr(e) {
1275
1329
  return e.type === w.time;
1276
1330
  }
1277
- function fr(e) {
1331
+ function br(e) {
1278
1332
  return e.type === w.select;
1279
1333
  }
1280
- function mr(e) {
1334
+ function gr(e) {
1281
1335
  return e.type === w.plural;
1282
1336
  }
1283
- function li(e) {
1337
+ function fi(e) {
1284
1338
  return e.type === w.pound;
1285
1339
  }
1286
- function dr(e) {
1340
+ function yr(e) {
1287
1341
  return e.type === w.tag;
1288
1342
  }
1289
- function pr(e) {
1343
+ function vr(e) {
1290
1344
  return !!(e && typeof e == "object" && e.type === ne.number);
1291
1345
  }
1292
- function Ke(e) {
1346
+ function et(e) {
1293
1347
  return !!(e && typeof e == "object" && e.type === ne.dateTime);
1294
1348
  }
1295
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1296
- function ci(e) {
1349
+ var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1350
+ function di(e) {
1297
1351
  var t = {};
1298
- return e.replace(hi, function(r) {
1352
+ return e.replace(mi, function(r) {
1299
1353
  var n = r.length;
1300
1354
  switch (r[0]) {
1301
1355
  case "G":
@@ -1384,11 +1438,11 @@ function ci(e) {
1384
1438
  return "";
1385
1439
  }), t;
1386
1440
  }
1387
- var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1388
- function mi(e) {
1441
+ var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1442
+ function bi(e) {
1389
1443
  if (e.length === 0)
1390
1444
  throw new Error("Number skeleton cannot be empty");
1391
- for (var t = e.split(fi).filter(function(c) {
1445
+ for (var t = e.split(pi).filter(function(c) {
1392
1446
  return c.length > 0;
1393
1447
  }), r = [], n = 0, i = t; n < i.length; n++) {
1394
1448
  var o = i[n], a = o.split("/");
@@ -1403,17 +1457,17 @@ function mi(e) {
1403
1457
  }
1404
1458
  return r;
1405
1459
  }
1406
- function di(e) {
1460
+ function gi(e) {
1407
1461
  return e.replace(/^(.*?)-/, "");
1408
1462
  }
1409
- var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1410
- function Ot(e) {
1463
+ var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
1464
+ function Lt(e) {
1411
1465
  var t = {};
1412
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1466
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xr, function(r, n, i) {
1413
1467
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1414
1468
  }), t;
1415
1469
  }
1416
- function vr(e) {
1470
+ function wr(e) {
1417
1471
  switch (e) {
1418
1472
  case "sign-auto":
1419
1473
  return {
@@ -1453,7 +1507,7 @@ function vr(e) {
1453
1507
  };
1454
1508
  }
1455
1509
  }
1456
- function bi(e) {
1510
+ function vi(e) {
1457
1511
  var t;
1458
1512
  if (e[0] === "E" && e[1] === "E" ? (t = {
1459
1513
  notation: "engineering"
@@ -1461,17 +1515,17 @@ function bi(e) {
1461
1515
  notation: "scientific"
1462
1516
  }, e = e.slice(1)), t) {
1463
1517
  var r = e.slice(0, 2);
1464
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1518
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Er.test(e))
1465
1519
  throw new Error("Malformed concise eng/scientific notation");
1466
1520
  t.minimumIntegerDigits = e.length;
1467
1521
  }
1468
1522
  return t;
1469
1523
  }
1470
- function It(e) {
1471
- var t = {}, r = vr(e);
1524
+ function Nt(e) {
1525
+ var t = {}, r = wr(e);
1472
1526
  return r || t;
1473
1527
  }
1474
- function gi(e) {
1528
+ function _i(e) {
1475
1529
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1476
1530
  var i = n[r];
1477
1531
  switch (i.stem) {
@@ -1495,7 +1549,7 @@ function gi(e) {
1495
1549
  continue;
1496
1550
  case "measure-unit":
1497
1551
  case "unit":
1498
- t.style = "unit", t.unit = di(i.options[0]);
1552
+ t.style = "unit", t.unit = gi(i.options[0]);
1499
1553
  continue;
1500
1554
  case "compact-short":
1501
1555
  case "K":
@@ -1507,12 +1561,12 @@ function gi(e) {
1507
1561
  continue;
1508
1562
  case "scientific":
1509
1563
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1510
- return _(_({}, h), It(l));
1564
+ return _(_({}, h), Nt(l));
1511
1565
  }, {}));
1512
1566
  continue;
1513
1567
  case "engineering":
1514
1568
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1515
- return _(_({}, h), It(l));
1569
+ return _(_({}, h), Nt(l));
1516
1570
  }, {}));
1517
1571
  continue;
1518
1572
  case "notation-simple":
@@ -1557,7 +1611,7 @@ function gi(e) {
1557
1611
  case "integer-width":
1558
1612
  if (i.options.length > 1)
1559
1613
  throw new RangeError("integer-width stems only accept a single optional option");
1560
- i.options[0].replace(pi, function(h, l, u, f, c, m) {
1614
+ i.options[0].replace(yi, function(h, l, u, f, c, m) {
1561
1615
  if (l)
1562
1616
  t.minimumIntegerDigits = u.length;
1563
1617
  else {
@@ -1570,27 +1624,27 @@ function gi(e) {
1570
1624
  });
1571
1625
  continue;
1572
1626
  }
1573
- if (yr.test(i.stem)) {
1627
+ if (Er.test(i.stem)) {
1574
1628
  t.minimumIntegerDigits = i.stem.length;
1575
1629
  continue;
1576
1630
  }
1577
- if (Rt.test(i.stem)) {
1631
+ if (Mt.test(i.stem)) {
1578
1632
  if (i.options.length > 1)
1579
1633
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1580
- i.stem.replace(Rt, function(h, l, u, f, c, m) {
1634
+ i.stem.replace(Mt, function(h, l, u, f, c, m) {
1581
1635
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1582
1636
  });
1583
1637
  var o = i.options[0];
1584
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ot(o)));
1638
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Lt(o)));
1585
1639
  continue;
1586
1640
  }
1587
- if (gr.test(i.stem)) {
1588
- t = _(_({}, t), Ot(i.stem));
1641
+ if (xr.test(i.stem)) {
1642
+ t = _(_({}, t), Lt(i.stem));
1589
1643
  continue;
1590
1644
  }
1591
- var a = vr(i.stem);
1645
+ var a = wr(i.stem);
1592
1646
  a && (t = _(_({}, t), a));
1593
- var s = bi(i.stem);
1647
+ var s = vi(i.stem);
1594
1648
  s && (t = _(_({}, t), s));
1595
1649
  }
1596
1650
  return t;
@@ -3010,22 +3064,23 @@ var xe = {
3010
3064
  "h"
3011
3065
  ]
3012
3066
  };
3013
- function yi(e, t) {
3067
+ function xi(e, t) {
3014
3068
  for (var r = "", n = 0; n < e.length; n++) {
3015
3069
  var i = e.charAt(n);
3016
3070
  if (i === "j") {
3017
3071
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3018
3072
  o++, n++;
3019
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = vi(t);
3073
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Ei(t);
3020
3074
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3021
3075
  r += h;
3022
3076
  for (; a-- > 0; )
3023
3077
  r = l + r;
3024
- } else i === "J" ? r += "H" : r += i;
3078
+ } else
3079
+ i === "J" ? r += "H" : r += i;
3025
3080
  }
3026
3081
  return r;
3027
3082
  }
3028
- function vi(e) {
3083
+ function Ei(e) {
3029
3084
  var t = e.hourCycle;
3030
3085
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3031
3086
  e.hourCycles && // @ts-ignore
@@ -3047,20 +3102,20 @@ function vi(e) {
3047
3102
  var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
3048
3103
  return i[0];
3049
3104
  }
3050
- var je, _i = new RegExp("^".concat(br.source, "*")), xi = new RegExp("".concat(br.source, "*$"));
3105
+ var ke, wi = new RegExp("^".concat(_r.source, "*")), Si = new RegExp("".concat(_r.source, "*$"));
3051
3106
  function v(e, t) {
3052
3107
  return { start: e, end: t };
3053
3108
  }
3054
- var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Pi = Ai ? Number.isSafeInteger : function(e) {
3109
+ var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Bi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Oi = Ii ? Number.isSafeInteger : function(e) {
3055
3110
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3056
- }, et = !0;
3111
+ }, tt = !0;
3057
3112
  try {
3058
- var Ri = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3059
- et = ((je = Ri.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3113
+ var Mi = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ tt = ((ke = Mi.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
3060
3115
  } catch (e) {
3061
- et = !1;
3116
+ tt = !1;
3062
3117
  }
3063
- var Nt = Ei ? (
3118
+ var Ct = Ti ? (
3064
3119
  // Native
3065
3120
  function(t, r, n) {
3066
3121
  return t.startsWith(r, n);
@@ -3070,7 +3125,7 @@ var Nt = Ei ? (
3070
3125
  function(t, r, n) {
3071
3126
  return t.slice(n, n + r.length) === r;
3072
3127
  }
3073
- ), tt = wi ? String.fromCodePoint : (
3128
+ ), rt = Hi ? String.fromCodePoint : (
3074
3129
  // IE11
3075
3130
  function() {
3076
3131
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3082,9 +3137,9 @@ var Nt = Ei ? (
3082
3137
  }
3083
3138
  return n;
3084
3139
  }
3085
- ), Lt = (
3140
+ ), Gt = (
3086
3141
  // native
3087
- Si ? Object.fromEntries : (
3142
+ Bi ? Object.fromEntries : (
3088
3143
  // Ponyfill
3089
3144
  function(t) {
3090
3145
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3094,7 +3149,7 @@ var Nt = Ei ? (
3094
3149
  return r;
3095
3150
  }
3096
3151
  )
3097
- ), _r = Ti ? (
3152
+ ), Sr = Ai ? (
3098
3153
  // Native
3099
3154
  function(t, r) {
3100
3155
  return t.codePointAt(r);
@@ -3108,7 +3163,7 @@ var Nt = Ei ? (
3108
3163
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3109
3164
  }
3110
3165
  }
3111
- ), Oi = Hi ? (
3166
+ ), Li = Pi ? (
3112
3167
  // Native
3113
3168
  function(t) {
3114
3169
  return t.trimStart();
@@ -3116,9 +3171,9 @@ var Nt = Ei ? (
3116
3171
  ) : (
3117
3172
  // Ponyfill
3118
3173
  function(t) {
3119
- return t.replace(_i, "");
3174
+ return t.replace(wi, "");
3120
3175
  }
3121
- ), Ii = Bi ? (
3176
+ ), Ni = Ri ? (
3122
3177
  // Native
3123
3178
  function(t) {
3124
3179
  return t.trimEnd();
@@ -3126,32 +3181,32 @@ var Nt = Ei ? (
3126
3181
  ) : (
3127
3182
  // Ponyfill
3128
3183
  function(t) {
3129
- return t.replace(xi, "");
3184
+ return t.replace(Si, "");
3130
3185
  }
3131
3186
  );
3132
- function xr(e, t) {
3187
+ function Tr(e, t) {
3133
3188
  return new RegExp(e, t);
3134
3189
  }
3135
- var rt;
3136
- if (et) {
3137
- var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3138
- rt = function(t, r) {
3190
+ var nt;
3191
+ if (tt) {
3192
+ var Ut = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3193
+ nt = function(t, r) {
3139
3194
  var n;
3140
- Mt.lastIndex = r;
3141
- var i = Mt.exec(t);
3195
+ Ut.lastIndex = r;
3196
+ var i = Ut.exec(t);
3142
3197
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3143
3198
  };
3144
3199
  } else
3145
- rt = function(t, r) {
3200
+ nt = function(t, r) {
3146
3201
  for (var n = []; ; ) {
3147
- var i = _r(t, r);
3148
- if (i === void 0 || Er(i) || Ci(i))
3202
+ var i = Sr(t, r);
3203
+ if (i === void 0 || Hr(i) || Di(i))
3149
3204
  break;
3150
3205
  n.push(i), r += i >= 65536 ? 2 : 1;
3151
3206
  }
3152
- return tt.apply(void 0, n);
3207
+ return rt.apply(void 0, n);
3153
3208
  };
3154
- var Ni = (
3209
+ var Ci = (
3155
3210
  /** @class */
3156
3211
  function() {
3157
3212
  function e(t, r) {
@@ -3182,7 +3237,7 @@ var Ni = (
3182
3237
  if (n)
3183
3238
  break;
3184
3239
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3185
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3240
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3186
3241
  var a = this.parseTag(t, r);
3187
3242
  if (a.err)
3188
3243
  return a;
@@ -3215,7 +3270,7 @@ var Ni = (
3215
3270
  return o;
3216
3271
  var a = o.val, s = this.clonePosition();
3217
3272
  if (this.bumpIf("</")) {
3218
- if (this.isEOF() || !nt(this.char()))
3273
+ if (this.isEOF() || !it(this.char()))
3219
3274
  return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3220
3275
  var h = this.clonePosition(), l = this.parseTagName();
3221
3276
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3233,7 +3288,7 @@ var Ni = (
3233
3288
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3234
3289
  }, e.prototype.parseTagName = function() {
3235
3290
  var t = this.offset();
3236
- for (this.bump(); !this.isEOF() && Mi(this.char()); )
3291
+ for (this.bump(); !this.isEOF() && Ui(this.char()); )
3237
3292
  this.bump();
3238
3293
  return this.message.slice(t, this.offset());
3239
3294
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3262,7 +3317,7 @@ var Ni = (
3262
3317
  };
3263
3318
  }, e.prototype.tryParseLeftAngleBracket = function() {
3264
3319
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3265
- !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3320
+ !Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3266
3321
  }, e.prototype.tryParseQuote = function(t) {
3267
3322
  if (this.isEOF() || this.char() !== 39)
3268
3323
  return null;
@@ -3296,12 +3351,12 @@ var Ni = (
3296
3351
  r.push(n);
3297
3352
  this.bump();
3298
3353
  }
3299
- return tt.apply(void 0, r);
3354
+ return rt.apply(void 0, r);
3300
3355
  }, e.prototype.tryParseUnquoted = function(t, r) {
3301
3356
  if (this.isEOF())
3302
3357
  return null;
3303
3358
  var n = this.char();
3304
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3359
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3305
3360
  }, e.prototype.parseArgument = function(t, r) {
3306
3361
  var n = this.clonePosition();
3307
3362
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3330,7 +3385,7 @@ var Ni = (
3330
3385
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3331
3386
  }
3332
3387
  }, e.prototype.parseIdentifierIfPossible = function() {
3333
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3388
+ var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3334
3389
  this.bumpTo(i);
3335
3390
  var o = this.clonePosition(), a = v(t, o);
3336
3391
  return { value: n, location: a };
@@ -3349,7 +3404,7 @@ var Ni = (
3349
3404
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3350
3405
  if (f.err)
3351
3406
  return f;
3352
- var c = Ii(f.val);
3407
+ var c = Ni(f.val);
3353
3408
  if (c.length === 0)
3354
3409
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3355
3410
  var m = v(u, this.clonePosition());
@@ -3359,8 +3414,8 @@ var Ni = (
3359
3414
  if (d.err)
3360
3415
  return d;
3361
3416
  var p = v(i, this.clonePosition());
3362
- if (l && Nt(l == null ? void 0 : l.style, "::", 0)) {
3363
- var A = Oi(l.style.slice(2));
3417
+ if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
3418
+ var A = Li(l.style.slice(2));
3364
3419
  if (s === "number") {
3365
3420
  var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
3366
3421
  return f.err ? f : {
@@ -3371,12 +3426,12 @@ var Ni = (
3371
3426
  if (A.length === 0)
3372
3427
  return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
3373
3428
  var H = A;
3374
- this.locale && (H = yi(A, this.locale));
3429
+ this.locale && (H = xi(A, this.locale));
3375
3430
  var c = {
3376
3431
  type: ne.dateTime,
3377
3432
  pattern: H,
3378
3433
  location: l.styleLocation,
3379
- parsedOptions: this.shouldParseSkeletons ? ci(H) : {}
3434
+ parsedOptions: this.shouldParseSkeletons ? di(H) : {}
3380
3435
  }, T = s === "date" ? w.date : w.time;
3381
3436
  return {
3382
3437
  val: { type: T, value: n, location: p, style: c },
@@ -3401,7 +3456,7 @@ var Ni = (
3401
3456
  if (this.bumpSpace(), !this.bumpIf(","))
3402
3457
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, _({}, B)));
3403
3458
  this.bumpSpace();
3404
- var L = this.parseIdentifierIfPossible(), M = 0;
3459
+ var L = this.parseIdentifierIfPossible(), N = 0;
3405
3460
  if (s !== "select" && L.value === "offset") {
3406
3461
  if (!this.bumpIf(":"))
3407
3462
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -3409,7 +3464,7 @@ var Ni = (
3409
3464
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3410
3465
  if (f.err)
3411
3466
  return f;
3412
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = f.val;
3467
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = f.val;
3413
3468
  }
3414
3469
  var G = this.tryParsePluralOrSelectOptions(t, s, r, L);
3415
3470
  if (G.err)
@@ -3422,7 +3477,7 @@ var Ni = (
3422
3477
  val: {
3423
3478
  type: w.select,
3424
3479
  value: n,
3425
- options: Lt(G.val),
3480
+ options: Gt(G.val),
3426
3481
  location: be
3427
3482
  },
3428
3483
  err: null
@@ -3430,8 +3485,8 @@ var Ni = (
3430
3485
  val: {
3431
3486
  type: w.plural,
3432
3487
  value: n,
3433
- options: Lt(G.val),
3434
- offset: M,
3488
+ options: Gt(G.val),
3489
+ offset: N,
3435
3490
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3436
3491
  location: be
3437
3492
  },
@@ -3481,7 +3536,7 @@ var Ni = (
3481
3536
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3482
3537
  var n = [];
3483
3538
  try {
3484
- n = mi(t);
3539
+ n = bi(t);
3485
3540
  } catch (i) {
3486
3541
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3487
3542
  }
@@ -3490,7 +3545,7 @@ var Ni = (
3490
3545
  type: ne.number,
3491
3546
  tokens: n,
3492
3547
  location: r,
3493
- parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3548
+ parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
3494
3549
  },
3495
3550
  err: null
3496
3551
  };
@@ -3538,7 +3593,7 @@ var Ni = (
3538
3593
  break;
3539
3594
  }
3540
3595
  var h = v(i, this.clonePosition());
3541
- return o ? (a *= n, Pi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3596
+ return o ? (a *= n, Oi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3542
3597
  }, e.prototype.offset = function() {
3543
3598
  return this.position.offset;
3544
3599
  }, e.prototype.isEOF = function() {
@@ -3553,7 +3608,7 @@ var Ni = (
3553
3608
  var t = this.position.offset;
3554
3609
  if (t >= this.message.length)
3555
3610
  throw Error("out of bound");
3556
- var r = _r(this.message, t);
3611
+ var r = Sr(this.message, t);
3557
3612
  if (r === void 0)
3558
3613
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3559
3614
  return r;
@@ -3572,7 +3627,7 @@ var Ni = (
3572
3627
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3573
3628
  }
3574
3629
  }, e.prototype.bumpIf = function(t) {
3575
- if (Nt(this.message, t, this.offset())) {
3630
+ if (Ct(this.message, t, this.offset())) {
3576
3631
  for (var r = 0; r < t.length; r++)
3577
3632
  this.bump();
3578
3633
  return !0;
@@ -3594,7 +3649,7 @@ var Ni = (
3594
3649
  break;
3595
3650
  }
3596
3651
  }, e.prototype.bumpSpace = function() {
3597
- for (; !this.isEOF() && Er(this.char()); )
3652
+ for (; !this.isEOF() && Hr(this.char()); )
3598
3653
  this.bump();
3599
3654
  }, e.prototype.peek = function() {
3600
3655
  if (this.isEOF())
@@ -3604,43 +3659,44 @@ var Ni = (
3604
3659
  }, e;
3605
3660
  }()
3606
3661
  );
3607
- function nt(e) {
3662
+ function it(e) {
3608
3663
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3609
3664
  }
3610
- function Li(e) {
3611
- return nt(e) || e === 47;
3665
+ function Gi(e) {
3666
+ return it(e) || e === 47;
3612
3667
  }
3613
- function Mi(e) {
3668
+ function Ui(e) {
3614
3669
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3615
3670
  }
3616
- function Er(e) {
3671
+ function Hr(e) {
3617
3672
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3618
3673
  }
3619
- function Ci(e) {
3674
+ function Di(e) {
3620
3675
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3621
3676
  }
3622
- function it(e) {
3677
+ function ot(e) {
3623
3678
  e.forEach(function(t) {
3624
- if (delete t.location, fr(t) || mr(t))
3679
+ if (delete t.location, br(t) || gr(t))
3625
3680
  for (var r in t.options)
3626
- delete t.options[r].location, it(t.options[r].value);
3627
- else lr(t) && pr(t.style) || (hr(t) || cr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
3681
+ delete t.options[r].location, ot(t.options[r].value);
3682
+ else
3683
+ mr(t) && vr(t.style) || (dr(t) || pr(t)) && et(t.style) ? delete t.style.location : yr(t) && ot(t.children);
3628
3684
  });
3629
3685
  }
3630
- function Gi(e, t) {
3686
+ function Fi(e, t) {
3631
3687
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3632
- var r = new Ni(e, t).parse();
3688
+ var r = new Ci(e, t).parse();
3633
3689
  if (r.err) {
3634
3690
  var n = SyntaxError(y[r.err.kind]);
3635
3691
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3636
3692
  }
3637
- return t != null && t.captureLocation || it(r.val), r.val;
3693
+ return t != null && t.captureLocation || ot(r.val), r.val;
3638
3694
  }
3639
3695
  var ie;
3640
3696
  (function(e) {
3641
3697
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3642
3698
  })(ie || (ie = {}));
3643
- var Ne = (
3699
+ var Me = (
3644
3700
  /** @class */
3645
3701
  function(e) {
3646
3702
  $(t, e);
@@ -3652,7 +3708,7 @@ var Ne = (
3652
3708
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3653
3709
  }, t;
3654
3710
  }(Error)
3655
- ), Ct = (
3711
+ ), Dt = (
3656
3712
  /** @class */
3657
3713
  function(e) {
3658
3714
  $(t, e);
@@ -3660,8 +3716,8 @@ var Ne = (
3660
3716
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3661
3717
  }
3662
3718
  return t;
3663
- }(Ne)
3664
- ), Ui = (
3719
+ }(Me)
3720
+ ), $i = (
3665
3721
  /** @class */
3666
3722
  function(e) {
3667
3723
  $(t, e);
@@ -3669,8 +3725,8 @@ var Ne = (
3669
3725
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3670
3726
  }
3671
3727
  return t;
3672
- }(Ne)
3673
- ), Di = (
3728
+ }(Me)
3729
+ ), ji = (
3674
3730
  /** @class */
3675
3731
  function(e) {
3676
3732
  $(t, e);
@@ -3678,22 +3734,22 @@ var Ne = (
3678
3734
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3679
3735
  }
3680
3736
  return t;
3681
- }(Ne)
3737
+ }(Me)
3682
3738
  ), P;
3683
3739
  (function(e) {
3684
3740
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3685
3741
  })(P || (P = {}));
3686
- function Fi(e) {
3742
+ function ki(e) {
3687
3743
  return e.length < 2 ? e : e.reduce(function(t, r) {
3688
3744
  var n = t[t.length - 1];
3689
3745
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3690
3746
  }, []);
3691
3747
  }
3692
- function $i(e) {
3748
+ function Vi(e) {
3693
3749
  return typeof e == "function";
3694
3750
  }
3695
3751
  function Te(e, t, r, n, i, o, a) {
3696
- if (e.length === 1 && Pt(e[0]))
3752
+ if (e.length === 1 && Ot(e[0]))
3697
3753
  return [
3698
3754
  {
3699
3755
  type: P.literal,
@@ -3702,14 +3758,14 @@ function Te(e, t, r, n, i, o, a) {
3702
3758
  ];
3703
3759
  for (var s = [], h = 0, l = e; h < l.length; h++) {
3704
3760
  var u = l[h];
3705
- if (Pt(u)) {
3761
+ if (Ot(u)) {
3706
3762
  s.push({
3707
3763
  type: P.literal,
3708
3764
  value: u.value
3709
3765
  });
3710
3766
  continue;
3711
3767
  }
3712
- if (li(u)) {
3768
+ if (fi(u)) {
3713
3769
  typeof o == "number" && s.push({
3714
3770
  type: P.literal,
3715
3771
  value: r.getNumberFormat(t).format(o)
@@ -3718,89 +3774,89 @@ function Te(e, t, r, n, i, o, a) {
3718
3774
  }
3719
3775
  var f = u.value;
3720
3776
  if (!(i && f in i))
3721
- throw new Di(f, a);
3777
+ throw new ji(f, a);
3722
3778
  var c = i[f];
3723
- if (ui(u)) {
3779
+ if (ci(u)) {
3724
3780
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3725
3781
  type: typeof c == "string" ? P.literal : P.object,
3726
3782
  value: c
3727
3783
  });
3728
3784
  continue;
3729
3785
  }
3730
- if (hr(u)) {
3731
- var m = typeof u.style == "string" ? n.date[u.style] : Ke(u.style) ? u.style.parsedOptions : void 0;
3786
+ if (dr(u)) {
3787
+ var m = typeof u.style == "string" ? n.date[u.style] : et(u.style) ? u.style.parsedOptions : void 0;
3732
3788
  s.push({
3733
3789
  type: P.literal,
3734
3790
  value: r.getDateTimeFormat(t, m).format(c)
3735
3791
  });
3736
3792
  continue;
3737
3793
  }
3738
- if (cr(u)) {
3739
- var m = typeof u.style == "string" ? n.time[u.style] : Ke(u.style) ? u.style.parsedOptions : n.time.medium;
3794
+ if (pr(u)) {
3795
+ var m = typeof u.style == "string" ? n.time[u.style] : et(u.style) ? u.style.parsedOptions : n.time.medium;
3740
3796
  s.push({
3741
3797
  type: P.literal,
3742
3798
  value: r.getDateTimeFormat(t, m).format(c)
3743
3799
  });
3744
3800
  continue;
3745
3801
  }
3746
- if (lr(u)) {
3747
- var m = typeof u.style == "string" ? n.number[u.style] : pr(u.style) ? u.style.parsedOptions : void 0;
3802
+ if (mr(u)) {
3803
+ var m = typeof u.style == "string" ? n.number[u.style] : vr(u.style) ? u.style.parsedOptions : void 0;
3748
3804
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3749
3805
  type: P.literal,
3750
3806
  value: r.getNumberFormat(t, m).format(c)
3751
3807
  });
3752
3808
  continue;
3753
3809
  }
3754
- if (dr(u)) {
3810
+ if (yr(u)) {
3755
3811
  var d = u.children, p = u.value, A = i[p];
3756
- if (!$i(A))
3757
- throw new Ui(p, "function", a);
3758
- var H = Te(d, t, r, n, i, o), T = A(H.map(function(M) {
3759
- return M.value;
3812
+ if (!Vi(A))
3813
+ throw new $i(p, "function", a);
3814
+ var H = Te(d, t, r, n, i, o), T = A(H.map(function(N) {
3815
+ return N.value;
3760
3816
  }));
3761
- Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(M) {
3817
+ Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(N) {
3762
3818
  return {
3763
- type: typeof M == "string" ? P.literal : P.object,
3764
- value: M
3819
+ type: typeof N == "string" ? P.literal : P.object,
3820
+ value: N
3765
3821
  };
3766
3822
  }));
3767
3823
  }
3768
- if (fr(u)) {
3824
+ if (br(u)) {
3769
3825
  var B = u.options[c] || u.options.other;
3770
3826
  if (!B)
3771
- throw new Ct(u.value, c, Object.keys(u.options), a);
3827
+ throw new Dt(u.value, c, Object.keys(u.options), a);
3772
3828
  s.push.apply(s, Te(B.value, t, r, n, i));
3773
3829
  continue;
3774
3830
  }
3775
- if (mr(u)) {
3831
+ if (gr(u)) {
3776
3832
  var B = u.options["=".concat(c)];
3777
3833
  if (!B) {
3778
3834
  if (!Intl.PluralRules)
3779
- throw new Ne(`Intl.PluralRules is not available in this environment.
3835
+ throw new Me(`Intl.PluralRules is not available in this environment.
3780
3836
  Try polyfilling it using "@formatjs/intl-pluralrules"
3781
3837
  `, ie.MISSING_INTL_API, a);
3782
3838
  var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3783
3839
  B = u.options[L] || u.options.other;
3784
3840
  }
3785
3841
  if (!B)
3786
- throw new Ct(u.value, c, Object.keys(u.options), a);
3842
+ throw new Dt(u.value, c, Object.keys(u.options), a);
3787
3843
  s.push.apply(s, Te(B.value, t, r, n, i, c - (u.offset || 0)));
3788
3844
  continue;
3789
3845
  }
3790
3846
  }
3791
- return Fi(s);
3847
+ return ki(s);
3792
3848
  }
3793
- function ji(e, t) {
3849
+ function Wi(e, t) {
3794
3850
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3795
3851
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3796
3852
  }, {})) : e;
3797
3853
  }
3798
- function ki(e, t) {
3854
+ function Xi(e, t) {
3799
3855
  return t ? Object.keys(e).reduce(function(r, n) {
3800
- return r[n] = ji(e[n], t[n]), r;
3856
+ return r[n] = Wi(e[n], t[n]), r;
3801
3857
  }, _({}, e)) : e;
3802
3858
  }
3803
- function ke(e) {
3859
+ function Ve(e) {
3804
3860
  return {
3805
3861
  create: function() {
3806
3862
  return {
@@ -3814,39 +3870,39 @@ function ke(e) {
3814
3870
  }
3815
3871
  };
3816
3872
  }
3817
- function Vi(e) {
3873
+ function zi(e) {
3818
3874
  return e === void 0 && (e = {
3819
3875
  number: {},
3820
3876
  dateTime: {},
3821
3877
  pluralRules: {}
3822
3878
  }), {
3823
- getNumberFormat: Fe(function() {
3879
+ getNumberFormat: $e(function() {
3824
3880
  for (var t, r = [], n = 0; n < arguments.length; n++)
3825
3881
  r[n] = arguments[n];
3826
3882
  return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3827
3883
  }, {
3828
- cache: ke(e.number),
3829
- strategy: $e.variadic
3884
+ cache: Ve(e.number),
3885
+ strategy: je.variadic
3830
3886
  }),
3831
- getDateTimeFormat: Fe(function() {
3887
+ getDateTimeFormat: $e(function() {
3832
3888
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3889
  r[n] = arguments[n];
3834
3890
  return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3835
3891
  }, {
3836
- cache: ke(e.dateTime),
3837
- strategy: $e.variadic
3892
+ cache: Ve(e.dateTime),
3893
+ strategy: je.variadic
3838
3894
  }),
3839
- getPluralRules: Fe(function() {
3895
+ getPluralRules: $e(function() {
3840
3896
  for (var t, r = [], n = 0; n < arguments.length; n++)
3841
3897
  r[n] = arguments[n];
3842
3898
  return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3843
3899
  }, {
3844
- cache: ke(e.pluralRules),
3845
- strategy: $e.variadic
3900
+ cache: Ve(e.pluralRules),
3901
+ strategy: je.variadic
3846
3902
  })
3847
3903
  };
3848
3904
  }
3849
- var Wi = (
3905
+ var Ji = (
3850
3906
  /** @class */
3851
3907
  function() {
3852
3908
  function e(t, r, n, i) {
@@ -3878,13 +3934,13 @@ var Wi = (
3878
3934
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3879
3935
  var a = i || {};
3880
3936
  a.formatters;
3881
- var s = wn(a, ["formatters"]);
3937
+ var s = Bn(a, ["formatters"]);
3882
3938
  this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3883
3939
  } else
3884
3940
  this.ast = t;
3885
3941
  if (!Array.isArray(this.ast))
3886
3942
  throw new TypeError("A message must be provided as a String or AST.");
3887
- this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
3943
+ this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
3888
3944
  }
3889
3945
  return Object.defineProperty(e, "defaultLocale", {
3890
3946
  get: function() {
@@ -3897,7 +3953,7 @@ var Wi = (
3897
3953
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3898
3954
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3899
3955
  }
3900
- }, e.__parse = Gi, e.formats = {
3956
+ }, e.__parse = Fi, e.formats = {
3901
3957
  number: {
3902
3958
  integer: {
3903
3959
  maximumFractionDigits: 0
@@ -3958,7 +4014,7 @@ var Wi = (
3958
4014
  }, e;
3959
4015
  }()
3960
4016
  );
3961
- function Xi(e, t) {
4017
+ function Zi(e, t) {
3962
4018
  if (t == null)
3963
4019
  return;
3964
4020
  if (t in e)
@@ -3979,92 +4035,92 @@ function Xi(e, t) {
3979
4035
  n = void 0;
3980
4036
  return n;
3981
4037
  }
3982
- const j = {}, zi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), wr = (e, t) => {
4038
+ const j = {}, Qi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Br = (e, t) => {
3983
4039
  if (t == null)
3984
4040
  return;
3985
4041
  if (t in j && e in j[t])
3986
4042
  return j[t][e];
3987
4043
  const r = Le(t);
3988
4044
  for (let n = 0; n < r.length; n++) {
3989
- const i = r[n], o = Zi(i, e);
4045
+ const i = r[n], o = qi(i, e);
3990
4046
  if (o)
3991
- return zi(e, t, o);
4047
+ return Qi(e, t, o);
3992
4048
  }
3993
4049
  };
3994
- let ut;
3995
- const se = Ie({});
3996
- function Ji(e) {
3997
- return ut[e] || null;
4050
+ let ct;
4051
+ const se = Oe({});
4052
+ function Yi(e) {
4053
+ return ct[e] || null;
3998
4054
  }
3999
- function Sr(e) {
4000
- return e in ut;
4055
+ function Ar(e) {
4056
+ return e in ct;
4001
4057
  }
4002
- function Zi(e, t) {
4003
- if (!Sr(e))
4058
+ function qi(e, t) {
4059
+ if (!Ar(e))
4004
4060
  return null;
4005
- const r = Ji(e);
4006
- return Xi(r, t);
4061
+ const r = Yi(e);
4062
+ return Zi(r, t);
4007
4063
  }
4008
- function Qi(e) {
4064
+ function Ki(e) {
4009
4065
  if (e == null)
4010
4066
  return;
4011
4067
  const t = Le(e);
4012
4068
  for (let r = 0; r < t.length; r++) {
4013
4069
  const n = t[r];
4014
- if (Sr(n))
4070
+ if (Ar(n))
4015
4071
  return n;
4016
4072
  }
4017
4073
  }
4018
- function Tr(e, ...t) {
4019
- delete j[e], se.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
4074
+ function Pr(e, ...t) {
4075
+ delete j[e], se.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
4020
4076
  }
4021
4077
  ae(
4022
4078
  [se],
4023
4079
  ([e]) => Object.keys(e)
4024
4080
  );
4025
- se.subscribe((e) => ut = e);
4081
+ se.subscribe((e) => ct = e);
4026
4082
  const He = {};
4027
- function Yi(e, t) {
4083
+ function eo(e, t) {
4028
4084
  He[e].delete(t), He[e].size === 0 && delete He[e];
4029
4085
  }
4030
- function Hr(e) {
4086
+ function Rr(e) {
4031
4087
  return He[e];
4032
4088
  }
4033
- function qi(e) {
4089
+ function to(e) {
4034
4090
  return Le(e).map((t) => {
4035
- const r = Hr(t);
4091
+ const r = Rr(t);
4036
4092
  return [t, r ? [...r] : []];
4037
4093
  }).filter(([, t]) => t.length > 0);
4038
4094
  }
4039
- function ot(e) {
4095
+ function at(e) {
4040
4096
  return e == null ? !1 : Le(e).some(
4041
4097
  (t) => {
4042
4098
  var r;
4043
- return (r = Hr(t)) == null ? void 0 : r.size;
4099
+ return (r = Rr(t)) == null ? void 0 : r.size;
4044
4100
  }
4045
4101
  );
4046
4102
  }
4047
- function Ki(e, t) {
4103
+ function ro(e, t) {
4048
4104
  return Promise.all(
4049
- t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
4050
- ).then((n) => Tr(e, ...n));
4105
+ t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
4106
+ ).then((n) => Pr(e, ...n));
4051
4107
  }
4052
4108
  const he = {};
4053
- function Br(e) {
4054
- if (!ot(e))
4109
+ function Ir(e) {
4110
+ if (!at(e))
4055
4111
  return e in he ? he[e] : Promise.resolve();
4056
- const t = qi(e);
4112
+ const t = to(e);
4057
4113
  return he[e] = Promise.all(
4058
4114
  t.map(
4059
- ([r, n]) => Ki(r, n)
4115
+ ([r, n]) => ro(r, n)
4060
4116
  )
4061
4117
  ).then(() => {
4062
- if (ot(e))
4063
- return Br(e);
4118
+ if (at(e))
4119
+ return Ir(e);
4064
4120
  delete he[e];
4065
4121
  }), he[e];
4066
4122
  }
4067
- const eo = {
4123
+ const no = {
4068
4124
  number: {
4069
4125
  scientific: { notation: "scientific" },
4070
4126
  engineering: { notation: "engineering" },
@@ -4093,78 +4149,78 @@ const eo = {
4093
4149
  timeZoneName: "short"
4094
4150
  }
4095
4151
  }
4096
- }, to = {
4152
+ }, io = {
4097
4153
  fallbackLocale: null,
4098
4154
  loadingDelay: 200,
4099
- formats: eo,
4155
+ formats: no,
4100
4156
  warnOnMissingMessages: !0,
4101
4157
  handleMissingMessage: void 0,
4102
4158
  ignoreTag: !0
4103
- }, ro = to;
4159
+ }, oo = io;
4104
4160
  function oe() {
4105
- return ro;
4161
+ return oo;
4106
4162
  }
4107
- const Ve = Ie(!1);
4108
- var no = Object.defineProperty, io = Object.defineProperties, oo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, uo = (e, t) => {
4163
+ const We = Oe(!1);
4164
+ var ao = Object.defineProperty, so = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4109
4165
  for (var r in t || (t = {}))
4110
- ao.call(t, r) && Ut(e, r, t[r]);
4111
- if (Gt)
4112
- for (var r of Gt(t))
4113
- so.call(t, r) && Ut(e, r, t[r]);
4166
+ lo.call(t, r) && $t(e, r, t[r]);
4167
+ if (Ft)
4168
+ for (var r of Ft(t))
4169
+ ho.call(t, r) && $t(e, r, t[r]);
4114
4170
  return e;
4115
- }, lo = (e, t) => io(e, oo(t));
4116
- let at;
4117
- const Pe = Ie(null);
4118
- function Dt(e) {
4171
+ }, fo = (e, t) => so(e, uo(t));
4172
+ let st;
4173
+ const Pe = Oe(null);
4174
+ function jt(e) {
4119
4175
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4120
4176
  }
4121
4177
  function Le(e, t = oe().fallbackLocale) {
4122
- const r = Dt(e);
4123
- return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
4178
+ const r = jt(e);
4179
+ return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
4124
4180
  }
4125
4181
  function Z() {
4126
- return at != null ? at : void 0;
4182
+ return st != null ? st : void 0;
4127
4183
  }
4128
4184
  Pe.subscribe((e) => {
4129
- at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4185
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4130
4186
  });
4131
- const ho = (e) => {
4132
- if (e && Qi(e) && ot(e)) {
4187
+ const mo = (e) => {
4188
+ if (e && Ki(e) && at(e)) {
4133
4189
  const { loadingDelay: t } = oe();
4134
4190
  let r;
4135
4191
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4136
- () => Ve.set(!0),
4192
+ () => We.set(!0),
4137
4193
  t
4138
- ) : Ve.set(!0), Br(e).then(() => {
4194
+ ) : We.set(!0), Ir(e).then(() => {
4139
4195
  Pe.set(e);
4140
4196
  }).finally(() => {
4141
- clearTimeout(r), Ve.set(!1);
4197
+ clearTimeout(r), We.set(!1);
4142
4198
  });
4143
4199
  }
4144
4200
  return Pe.set(e);
4145
- }, W = lo(uo({}, Pe), {
4146
- set: ho
4147
- }), Me = (e) => {
4201
+ }, W = fo(co({}, Pe), {
4202
+ set: mo
4203
+ }), Ne = (e) => {
4148
4204
  const t = /* @__PURE__ */ Object.create(null);
4149
4205
  return (n) => {
4150
4206
  const i = JSON.stringify(n);
4151
4207
  return i in t ? t[i] : t[i] = e(n);
4152
4208
  };
4153
4209
  };
4154
- var co = Object.defineProperty, Re = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4210
+ var po = Object.defineProperty, Re = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4155
4211
  for (var r in t || (t = {}))
4156
- Ar.call(t, r) && Ft(e, r, t[r]);
4212
+ Or.call(t, r) && kt(e, r, t[r]);
4157
4213
  if (Re)
4158
4214
  for (var r of Re(t))
4159
- Pr.call(t, r) && Ft(e, r, t[r]);
4215
+ Mr.call(t, r) && kt(e, r, t[r]);
4160
4216
  return e;
4161
4217
  }, ue = (e, t) => {
4162
4218
  var r = {};
4163
4219
  for (var n in e)
4164
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4220
+ Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4165
4221
  if (e != null && Re)
4166
4222
  for (var n of Re(e))
4167
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4223
+ t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
4168
4224
  return r;
4169
4225
  };
4170
4226
  const pe = (e, t) => {
@@ -4172,21 +4228,21 @@ const pe = (e, t) => {
4172
4228
  if (e in r && t in r[e])
4173
4229
  return r[e][t];
4174
4230
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4175
- }, fo = Me(
4231
+ }, bo = Ne(
4176
4232
  (e) => {
4177
4233
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4178
4234
  if (r == null)
4179
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4180
4236
  return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4181
4237
  }
4182
- ), mo = Me(
4238
+ ), go = Ne(
4183
4239
  (e) => {
4184
4240
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4185
4241
  if (r == null)
4186
4242
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4187
4243
  return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4188
4244
  }
4189
- ), po = Me(
4245
+ ), yo = Ne(
4190
4246
  (e) => {
4191
4247
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4192
4248
  if (r == null)
@@ -4195,33 +4251,33 @@ const pe = (e, t) => {
4195
4251
  );
4196
4252
  return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4197
4253
  }
4198
- ), bo = (e = {}) => {
4254
+ ), vo = (e = {}) => {
4199
4255
  var t = e, {
4200
4256
  locale: r = Z()
4201
4257
  } = t, n = ue(t, [
4202
4258
  "locale"
4203
4259
  ]);
4204
- return fo(lt({ locale: r }, n));
4205
- }, go = (e = {}) => {
4260
+ return bo(ft({ locale: r }, n));
4261
+ }, _o = (e = {}) => {
4206
4262
  var t = e, {
4207
4263
  locale: r = Z()
4208
4264
  } = t, n = ue(t, [
4209
4265
  "locale"
4210
4266
  ]);
4211
- return mo(lt({ locale: r }, n));
4212
- }, yo = (e = {}) => {
4267
+ return go(ft({ locale: r }, n));
4268
+ }, xo = (e = {}) => {
4213
4269
  var t = e, {
4214
4270
  locale: r = Z()
4215
4271
  } = t, n = ue(t, [
4216
4272
  "locale"
4217
4273
  ]);
4218
- return po(lt({ locale: r }, n));
4219
- }, vo = Me(
4274
+ return yo(ft({ locale: r }, n));
4275
+ }, Eo = Ne(
4220
4276
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4221
- (e, t = Z()) => new Wi(e, t, oe().formats, {
4277
+ (e, t = Z()) => new Ji(e, t, oe().formats, {
4222
4278
  ignoreTag: oe().ignoreTag
4223
4279
  })
4224
- ), _o = (e, t = {}) => {
4280
+ ), wo = (e, t = {}) => {
4225
4281
  var r, n, i, o;
4226
4282
  let a = t;
4227
4283
  typeof e == "object" && (a = e, e = a.id);
@@ -4234,7 +4290,7 @@ const pe = (e, t) => {
4234
4290
  throw new Error(
4235
4291
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4236
4292
  );
4237
- let u = wr(e, h);
4293
+ let u = Br(e, h);
4238
4294
  if (!u)
4239
4295
  u = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4240
4296
  else if (typeof u != "string")
@@ -4245,7 +4301,7 @@ const pe = (e, t) => {
4245
4301
  return u;
4246
4302
  let f = u;
4247
4303
  try {
4248
- f = vo(u, h).format(s);
4304
+ f = Eo(u, h).format(s);
4249
4305
  } catch (c) {
4250
4306
  c instanceof Error && console.warn(
4251
4307
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4253,20 +4309,20 @@ const pe = (e, t) => {
4253
4309
  );
4254
4310
  }
4255
4311
  return f;
4256
- }, xo = (e, t) => yo(t).format(e), Eo = (e, t) => go(t).format(e), wo = (e, t) => bo(t).format(e), So = (e, t = Z()) => wr(e, t), To = ae([W, se], () => _o);
4257
- ae([W], () => xo);
4258
- ae([W], () => Eo);
4259
- ae([W], () => wo);
4260
- ae([W, se], () => So);
4261
- window.emWidgets = { topic: Gn };
4262
- const Ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4263
- function Bo(e, t) {
4312
+ }, So = (e, t) => xo(t).format(e), To = (e, t) => _o(t).format(e), Ho = (e, t) => vo(t).format(e), Bo = (e, t = Z()) => Br(e, t), Ao = ae([W, se], () => wo);
4313
+ ae([W], () => So);
4314
+ ae([W], () => To);
4315
+ ae([W], () => Ho);
4316
+ ae([W, se], () => Bo);
4317
+ window.emWidgets = { topic: $n };
4318
+ const Po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4319
+ function Ro(e, t) {
4264
4320
  if (e) {
4265
4321
  const r = document.createElement("style");
4266
4322
  r.innerHTML = t, e.appendChild(r);
4267
4323
  }
4268
4324
  }
4269
- function Ao(e, t) {
4325
+ function Io(e, t) {
4270
4326
  const r = new URL(t);
4271
4327
  fetch(r.href).then((n) => n.text()).then((n) => {
4272
4328
  const i = document.createElement("style");
@@ -4275,7 +4331,7 @@ function Ao(e, t) {
4275
4331
  console.error("There was an error while trying to load client styling from URL", n);
4276
4332
  });
4277
4333
  }
4278
- function Po(e, t, r) {
4334
+ function Oo(e, t, r) {
4279
4335
  if (window.emMessageBus) {
4280
4336
  const n = document.createElement("style");
4281
4337
  window.emMessageBus.subscribe(t, (i) => {
@@ -4283,18 +4339,18 @@ function Po(e, t, r) {
4283
4339
  });
4284
4340
  }
4285
4341
  }
4286
- function Ro({ withLocale: e, translations: t }) {
4342
+ function Mo({ withLocale: e, translations: t }) {
4287
4343
  W.subscribe((r) => {
4288
4344
  r == null && (se.set(t), W.set(e));
4289
4345
  });
4290
4346
  }
4291
- function $t(e, t) {
4292
- Tr(e, t);
4347
+ function Vt(e, t) {
4348
+ Pr(e, t);
4293
4349
  }
4294
- function Oo(e) {
4350
+ function Lo(e) {
4295
4351
  W.set(e);
4296
4352
  }
4297
- const jt = {
4353
+ const Wt = {
4298
4354
  en: {
4299
4355
  playRandomGame: "Play a random game",
4300
4356
  randomGameLoading: "Selecting ...",
@@ -4368,30 +4424,30 @@ const jt = {
4368
4424
  noGames: "There are no random games to play"
4369
4425
  }
4370
4426
  };
4371
- function Io(e) {
4372
- rn(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}");
4427
+ function No(e) {
4428
+ sn(e, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
4373
4429
  }
4374
- function kt(e, t, r) {
4430
+ function Xt(e, t, r) {
4375
4431
  const n = e.slice();
4376
4432
  return n[41] = t[r], n;
4377
4433
  }
4378
- const No = (e) => ({}), Vt = (e) => ({});
4379
- function Wt(e) {
4434
+ const Co = (e) => ({}), zt = (e) => ({});
4435
+ function Jt(e) {
4380
4436
  let t, r, n, i, o, a, s;
4381
4437
  const h = (
4382
4438
  /*#slots*/
4383
4439
  e[23].close
4384
- ), l = qr(
4440
+ ), l = rn(
4385
4441
  h,
4386
4442
  e,
4387
4443
  /*$$scope*/
4388
4444
  e[22],
4389
- Vt
4390
- ), u = l || Lo();
4445
+ zt
4446
+ ), u = l || Go();
4391
4447
  function f(d, p) {
4392
4448
  return (
4393
4449
  /*hasRandomGames*/
4394
- d[7] ? Co : Mo
4450
+ d[7] ? Do : Uo
4395
4451
  );
4396
4452
  }
4397
4453
  let c = f(e), m = c(e);
@@ -4400,7 +4456,7 @@ function Wt(e) {
4400
4456
  t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = V(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
4401
4457
  },
4402
4458
  m(d, p) {
4403
- I(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Be(
4459
+ O(d, t, p), x(t, r), x(r, n), u && u.m(n, null), x(r, i), m.m(r, null), o = !0, a || (s = Be(
4404
4460
  n,
4405
4461
  "click",
4406
4462
  /*closeModal*/
@@ -4409,44 +4465,44 @@ function Wt(e) {
4409
4465
  },
4410
4466
  p(d, p) {
4411
4467
  l && l.p && (!o || p[0] & /*$$scope*/
4412
- 4194304) && en(
4468
+ 4194304) && on(
4413
4469
  l,
4414
4470
  h,
4415
4471
  d,
4416
4472
  /*$$scope*/
4417
4473
  d[22],
4418
- o ? Kr(
4474
+ o ? nn(
4419
4475
  h,
4420
4476
  /*$$scope*/
4421
4477
  d[22],
4422
4478
  p,
4423
- No
4424
- ) : tn(
4479
+ Co
4480
+ ) : an(
4425
4481
  /*$$scope*/
4426
4482
  d[22]
4427
4483
  ),
4428
- Vt
4484
+ zt
4429
4485
  ), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
4430
4486
  },
4431
4487
  i(d) {
4432
4488
  o || (fe(u, d), o = !0);
4433
4489
  },
4434
4490
  o(d) {
4435
- ze(u, d), o = !1;
4491
+ Je(u, d), o = !1;
4436
4492
  },
4437
4493
  d(d) {
4438
4494
  d && R(t), u && u.d(d), m.d(), a = !1, s();
4439
4495
  }
4440
4496
  };
4441
4497
  }
4442
- function Lo(e) {
4498
+ function Go(e) {
4443
4499
  let t, r;
4444
4500
  return {
4445
4501
  c() {
4446
- t = yt("svg"), r = yt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4502
+ t = xt("svg"), r = xt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4447
4503
  },
4448
4504
  m(n, i) {
4449
- I(n, t, i), x(t, r);
4505
+ O(n, t, i), x(t, r);
4450
4506
  },
4451
4507
  p: C,
4452
4508
  d(n) {
@@ -4454,7 +4510,7 @@ function Lo(e) {
4454
4510
  }
4455
4511
  };
4456
4512
  }
4457
- function Mo(e) {
4513
+ function Uo(e) {
4458
4514
  let t, r = (
4459
4515
  /*$_*/
4460
4516
  e[9]("noGames") + ""
@@ -4464,7 +4520,7 @@ function Mo(e) {
4464
4520
  t = S("p"), n = k(r), g(t, "class", "RandomGameLoading");
4465
4521
  },
4466
4522
  m(i, o) {
4467
- I(i, t, o), x(t, n);
4523
+ O(i, t, o), x(t, n);
4468
4524
  },
4469
4525
  p(i, o) {
4470
4526
  o[0] & /*$_*/
@@ -4476,17 +4532,17 @@ function Mo(e) {
4476
4532
  }
4477
4533
  };
4478
4534
  }
4479
- function Co(e) {
4480
- let t, r, n, i, o = _t(
4535
+ function Do(e) {
4536
+ let t, r, n, i, o = wt(
4481
4537
  /*gamesToShow*/
4482
4538
  e[4]
4483
4539
  ), a = [];
4484
4540
  for (let u = 0; u < o.length; u += 1)
4485
- a[u] = Xt(kt(e, o, u));
4541
+ a[u] = Zt(Xt(e, o, u));
4486
4542
  function s(u, f) {
4487
4543
  return (
4488
4544
  /*animationDone*/
4489
- u[6] ? Uo : Go
4545
+ u[6] ? $o : Fo
4490
4546
  );
4491
4547
  }
4492
4548
  let h = s(e), l = h(e);
@@ -4498,7 +4554,7 @@ function Co(e) {
4498
4554
  i = V(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
4499
4555
  },
4500
4556
  m(u, f) {
4501
- I(u, t, f), x(t, r), x(r, n);
4557
+ O(u, t, f), x(t, r), x(r, n);
4502
4558
  for (let c = 0; c < a.length; c += 1)
4503
4559
  a[c] && a[c].m(n, null);
4504
4560
  e[24](n), x(t, i), l.m(t, null);
@@ -4506,14 +4562,14 @@ function Co(e) {
4506
4562
  p(u, f) {
4507
4563
  if (f[0] & /*gamesToShow*/
4508
4564
  16) {
4509
- o = _t(
4565
+ o = wt(
4510
4566
  /*gamesToShow*/
4511
4567
  u[4]
4512
4568
  );
4513
4569
  let c;
4514
4570
  for (c = 0; c < o.length; c += 1) {
4515
- const m = kt(u, o, c);
4516
- a[c] ? a[c].p(m, f) : (a[c] = Xt(m), a[c].c(), a[c].m(n, null));
4571
+ const m = Xt(u, o, c);
4572
+ a[c] ? a[c].p(m, f) : (a[c] = Zt(m), a[c].c(), a[c].m(n, null));
4517
4573
  }
4518
4574
  for (; c < a.length; c += 1)
4519
4575
  a[c].d(1);
@@ -4522,25 +4578,25 @@ function Co(e) {
4522
4578
  h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
4523
4579
  },
4524
4580
  d(u) {
4525
- u && R(t), an(a, u), e[24](null), l.d();
4581
+ u && R(t), hn(a, u), e[24](null), l.d();
4526
4582
  }
4527
4583
  };
4528
4584
  }
4529
- function Xt(e) {
4585
+ function Zt(e) {
4530
4586
  let t, r, n, i, o, a;
4531
4587
  return {
4532
4588
  c() {
4533
- t = S("div"), r = S("img"), a = V(), g(r, "class", "RandomGameImage"), gt(r.src, n = /*game*/
4589
+ t = S("div"), r = S("img"), a = V(), g(r, "class", "RandomGameImage"), _t(r.src, n = /*game*/
4534
4590
  e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
4535
4591
  e[41].name), g(r, "title", o = /*game*/
4536
4592
  e[41].name), g(t, "class", "item");
4537
4593
  },
4538
4594
  m(s, h) {
4539
- I(s, t, h), x(t, r), x(t, a);
4595
+ O(s, t, h), x(t, r), x(t, a);
4540
4596
  },
4541
4597
  p(s, h) {
4542
4598
  h[0] & /*gamesToShow*/
4543
- 16 && !gt(r.src, n = /*game*/
4599
+ 16 && !_t(r.src, n = /*game*/
4544
4600
  s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
4545
4601
  16 && i !== (i = /*game*/
4546
4602
  s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
@@ -4552,7 +4608,7 @@ function Xt(e) {
4552
4608
  }
4553
4609
  };
4554
4610
  }
4555
- function Go(e) {
4611
+ function Fo(e) {
4556
4612
  let t, r = (
4557
4613
  /*$_*/
4558
4614
  e[9]("randomGameLoading") + ""
@@ -4562,7 +4618,7 @@ function Go(e) {
4562
4618
  t = S("p"), n = k(r), g(t, "class", "RandomGameLoading");
4563
4619
  },
4564
4620
  m(i, o) {
4565
- I(i, t, o), x(t, n);
4621
+ O(i, t, o), x(t, n);
4566
4622
  },
4567
4623
  p(i, o) {
4568
4624
  o[0] & /*$_*/
@@ -4574,7 +4630,7 @@ function Go(e) {
4574
4630
  }
4575
4631
  };
4576
4632
  }
4577
- function Uo(e) {
4633
+ function $o(e) {
4578
4634
  let t, r, n, i, o = (
4579
4635
  /*randomGame*/
4580
4636
  e[3].name + ""
@@ -4591,7 +4647,7 @@ function Uo(e) {
4591
4647
  </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = V(), n = S("div"), i = S("p"), a = k(o), s = V(), h = S("p"), u = k(l), f = V(), c = S("button"), d = k(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
4592
4648
  },
4593
4649
  m(H, T) {
4594
- 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 = [
4650
+ 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 = [
4595
4651
  Be(
4596
4652
  t,
4597
4653
  "click",
@@ -4620,7 +4676,7 @@ function Uo(e) {
4620
4676
  }
4621
4677
  };
4622
4678
  }
4623
- function Do(e) {
4679
+ function jo(e) {
4624
4680
  let t, r = (
4625
4681
  /*$_*/
4626
4682
  e[9]("playRandomGame") + ""
@@ -4630,7 +4686,7 @@ function Do(e) {
4630
4686
  t = S("span"), n = k(r), g(t, "class", "RandomButtonText");
4631
4687
  },
4632
4688
  m(i, o) {
4633
- I(i, t, o), x(t, n);
4689
+ O(i, t, o), x(t, n);
4634
4690
  },
4635
4691
  p(i, o) {
4636
4692
  o[0] & /*$_*/
@@ -4642,7 +4698,7 @@ function Do(e) {
4642
4698
  }
4643
4699
  };
4644
4700
  }
4645
- function Fo(e) {
4701
+ function ko(e) {
4646
4702
  let t, r;
4647
4703
  return {
4648
4704
  c() {
@@ -4652,7 +4708,7 @@ function Fo(e) {
4652
4708
  ), g(t, "class", "RandomButtonText");
4653
4709
  },
4654
4710
  m(n, i) {
4655
- I(n, t, i), x(t, r);
4711
+ O(n, t, i), x(t, r);
4656
4712
  },
4657
4713
  p(n, i) {
4658
4714
  i[0] & /*buttontext*/
@@ -4667,18 +4723,20 @@ function Fo(e) {
4667
4723
  }
4668
4724
  };
4669
4725
  }
4670
- function $o(e) {
4726
+ function Vo(e) {
4671
4727
  let t, r, n, i, o, a, s, h, l, u = (
4672
4728
  /*show*/
4673
- e[5] && Wt(e)
4729
+ e[5] && Jt(e)
4674
4730
  );
4675
4731
  function f(d, p) {
4676
4732
  if (
4677
4733
  /*buttontext*/
4678
4734
  d[1]
4679
- ) return Fo;
4735
+ )
4736
+ return ko;
4680
4737
  if (!/*buttontext*/
4681
- d[1]) return Do;
4738
+ d[1])
4739
+ return jo;
4682
4740
  }
4683
4741
  let c = f(e), m = c && c(e);
4684
4742
  return {
@@ -4686,7 +4744,7 @@ function $o(e) {
4686
4744
  t = S("div"), u && u.c(), r = V(), n = S("div"), i = S("button"), m && m.c(), o = V(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
4687
4745
  },
4688
4746
  m(d, p) {
4689
- 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*/
4747
+ 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*/
4690
4748
  e[0], e[28](t), s = !0, h || (l = Be(
4691
4749
  i,
4692
4750
  "click",
@@ -4697,9 +4755,9 @@ function $o(e) {
4697
4755
  p(d, p) {
4698
4756
  /*show*/
4699
4757
  d[5] ? u ? (u.p(d, p), p[0] & /*show*/
4700
- 32 && fe(u, 1)) : (u = Wt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (dn(), ze(u, 1, 1, () => {
4758
+ 32 && fe(u, 1)) : (u = Jt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (yn(), Je(u, 1, 1, () => {
4701
4759
  u = null;
4702
- }), pn()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
4760
+ }), vn()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
4703
4761
  1) && (a.innerHTML = /*randombuttonicon*/
4704
4762
  d[0]);
4705
4763
  },
@@ -4707,65 +4765,65 @@ function $o(e) {
4707
4765
  s || (fe(u), s = !0);
4708
4766
  },
4709
4767
  o(d) {
4710
- ze(u), s = !1;
4768
+ Je(u), s = !1;
4711
4769
  },
4712
4770
  d(d) {
4713
4771
  d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
4714
4772
  }
4715
4773
  };
4716
4774
  }
4717
- function jo(e, t, r) {
4775
+ function Wo(e, t, r) {
4718
4776
  let n;
4719
- Yr(e, To, (b) => r(9, n = b));
4720
- let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1, G = !1, be = window.navigator.userAgent, U, Q, ht, ge, ct = null;
4721
- Ro({ withLocale: "en", translations: {} });
4722
- const Rr = () => {
4777
+ tn(e, Ao, (b) => r(9, n = b));
4778
+ let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, N = !1, G = !1, be = window.navigator.userAgent, U, Q, mt, ge, dt = null;
4779
+ Mo({ withLocale: "en", translations: {} });
4780
+ const Lr = () => {
4723
4781
  fetch(c).then((E) => E.json()).then((E) => {
4724
4782
  Object.keys(E).forEach((D) => {
4725
- $t(D, E[D]);
4783
+ Vt(D, E[D]);
4726
4784
  });
4727
4785
  }).catch((E) => {
4728
4786
  console.log(E);
4729
4787
  });
4730
4788
  };
4731
- Object.keys(jt).forEach((b) => {
4732
- $t(b, jt[b]);
4789
+ Object.keys(Wt).forEach((b) => {
4790
+ Vt(b, Wt[b]);
4733
4791
  });
4734
- const Or = () => {
4792
+ const Nr = () => {
4735
4793
  let b = new URL(`${a}/v1/casino/games`);
4736
- b.searchParams.append("platform", Ho(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
4737
- H = E.items, H.length ? (r(4, B = Ir(H.slice(0, 19))), r(7, G = !0)) : (r(4, B = []), r(7, G = !1));
4794
+ b.searchParams.append("platform", Po(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((E) => E.json()).then((E) => {
4795
+ H = E.items, H.length ? (r(4, B = Cr(H.slice(0, 19))), r(7, G = !0)) : (r(4, B = []), r(7, G = !1));
4738
4796
  }).catch((E) => {
4739
4797
  console.log(E), r(7, G = !1);
4740
4798
  });
4741
- }, Ir = (b) => {
4742
- const E = Lr(b);
4799
+ }, Cr = (b) => {
4800
+ const E = Ur(b);
4743
4801
  return E.concat(E);
4744
- }, Nr = () => ye(this, null, function* () {
4745
- yield cn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), ht = Q.children[ge];
4802
+ }, Gr = () => ye(this, null, function* () {
4803
+ yield pn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), mt = Q.children[ge];
4746
4804
  }), Ce = () => ye(this, null, function* () {
4747
- r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Nr();
4748
- const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (ht.offsetHeight + E) * ge, jr = [
4805
+ r(6, N = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Gr();
4806
+ const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (mt.offsetHeight + E) * ge, Xr = [
4749
4807
  { transform: "translateX(0px)" },
4750
4808
  { filter: "blur(5px)" },
4751
4809
  {
4752
4810
  transform: `translateY(-${le}px)`
4753
4811
  }
4754
- ], kr = {
4812
+ ], zr = {
4755
4813
  duration: 2e3,
4756
4814
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
4757
4815
  fill: "forwards"
4758
4816
  };
4759
- ct = Q.animate(jr, kr), ct.onfinish = () => {
4760
- r(6, M = !0);
4817
+ dt = Q.animate(Xr, zr), dt.onfinish = () => {
4818
+ r(6, N = !0);
4761
4819
  };
4762
- }), Lr = (b) => {
4820
+ }), Ur = (b) => {
4763
4821
  const E = structuredClone(b);
4764
4822
  let D = E.length, le;
4765
4823
  for (; D != 0; )
4766
4824
  le = Math.floor(Math.random() * D), D--, [E[D], E[le]] = [E[le], E[D]];
4767
4825
  return E;
4768
- }, ft = () => {
4826
+ }, pt = () => {
4769
4827
  window.postMessage(
4770
4828
  {
4771
4829
  type: h,
@@ -4776,20 +4834,20 @@ function jo(e, t, r) {
4776
4834
  context: "RandomGameWidget",
4777
4835
  gameId: `${T.gId || T.id}`
4778
4836
  });
4779
- }, Mr = () => {
4837
+ }, Dr = () => {
4780
4838
  r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: L }, window.location.href);
4781
- }, Cr = () => {
4782
- Oo(l);
4839
+ }, Fr = () => {
4840
+ Lo(l);
4783
4841
  };
4784
- hn(() => () => {
4842
+ dn(() => () => {
4785
4843
  });
4786
- function Gr(b) {
4844
+ function $r(b) {
4787
4845
  Ae[b ? "unshift" : "push"](() => {
4788
4846
  Q = b, r(8, Q);
4789
4847
  });
4790
4848
  }
4791
- const Ur = () => Ce(), Dr = () => ft(), Fr = () => Ce();
4792
- function $r(b) {
4849
+ const jr = () => Ce(), kr = () => pt(), Vr = () => Ce();
4850
+ function Wr(b) {
4793
4851
  Ae[b ? "unshift" : "push"](() => {
4794
4852
  U = b, r(2, U);
4795
4853
  });
@@ -4798,12 +4856,12 @@ function jo(e, t, r) {
4798
4856
  "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);
4799
4857
  }, e.$$.update = () => {
4800
4858
  e.$$.dirty[0] & /*lang*/
4801
- 65536 && l && Cr(), e.$$.dirty[0] & /*translationurl*/
4802
- 131072 && c && Rr(), e.$$.dirty[0] & /*endpoint, datasource*/
4803
- 24576 && a && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4804
- 262148 && m && U && Bo(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4805
- 524292 && d && U && Ao(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4806
- 2097156 && U && Po(U, `${A}.Style`);
4859
+ 65536 && l && Fr(), e.$$.dirty[0] & /*translationurl*/
4860
+ 131072 && c && Lr(), e.$$.dirty[0] & /*endpoint, datasource*/
4861
+ 24576 && a && s && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4862
+ 262148 && m && U && Ro(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4863
+ 524292 && d && U && Io(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4864
+ 2097156 && U && Oo(U, `${A}.Style`);
4807
4865
  }, [
4808
4866
  u,
4809
4867
  f,
@@ -4811,13 +4869,13 @@ function jo(e, t, r) {
4811
4869
  T,
4812
4870
  B,
4813
4871
  L,
4814
- M,
4872
+ N,
4815
4873
  G,
4816
4874
  Q,
4817
4875
  n,
4818
4876
  Ce,
4819
- ft,
4820
- Mr,
4877
+ pt,
4878
+ Dr,
4821
4879
  a,
4822
4880
  s,
4823
4881
  h,
@@ -4829,21 +4887,21 @@ function jo(e, t, r) {
4829
4887
  A,
4830
4888
  o,
4831
4889
  i,
4832
- Gr,
4833
- Ur,
4834
- Dr,
4835
- Fr,
4836
- $r
4890
+ $r,
4891
+ jr,
4892
+ kr,
4893
+ Vr,
4894
+ Wr
4837
4895
  ];
4838
4896
  }
4839
- class ko extends xn {
4897
+ class Xo extends Tn {
4840
4898
  constructor(t) {
4841
- super(), vn(
4899
+ super(), wn(
4842
4900
  this,
4843
4901
  t,
4844
- jo,
4845
- $o,
4846
- Jt,
4902
+ Wo,
4903
+ Vo,
4904
+ Yt,
4847
4905
  {
4848
4906
  endpoint: 13,
4849
4907
  datasource: 14,
@@ -4857,7 +4915,7 @@ class ko extends xn {
4857
4915
  filteredrandomgamecategories: 20,
4858
4916
  mbsource: 21
4859
4917
  },
4860
- Io,
4918
+ No,
4861
4919
  [-1, -1]
4862
4920
  );
4863
4921
  }
@@ -4865,70 +4923,70 @@ class ko extends xn {
4865
4923
  return this.$$.ctx[13];
4866
4924
  }
4867
4925
  set endpoint(t) {
4868
- this.$$set({ endpoint: t }), O();
4926
+ this.$$set({ endpoint: t }), I();
4869
4927
  }
4870
4928
  get datasource() {
4871
4929
  return this.$$.ctx[14];
4872
4930
  }
4873
4931
  set datasource(t) {
4874
- this.$$set({ datasource: t }), O();
4932
+ this.$$set({ datasource: t }), I();
4875
4933
  }
4876
4934
  get gameevent() {
4877
4935
  return this.$$.ctx[15];
4878
4936
  }
4879
4937
  set gameevent(t) {
4880
- this.$$set({ gameevent: t }), O();
4938
+ this.$$set({ gameevent: t }), I();
4881
4939
  }
4882
4940
  get lang() {
4883
4941
  return this.$$.ctx[16];
4884
4942
  }
4885
4943
  set lang(t) {
4886
- this.$$set({ lang: t }), O();
4944
+ this.$$set({ lang: t }), I();
4887
4945
  }
4888
4946
  get randombuttonicon() {
4889
4947
  return this.$$.ctx[0];
4890
4948
  }
4891
4949
  set randombuttonicon(t) {
4892
- this.$$set({ randombuttonicon: t }), O();
4950
+ this.$$set({ randombuttonicon: t }), I();
4893
4951
  }
4894
4952
  get buttontext() {
4895
4953
  return this.$$.ctx[1];
4896
4954
  }
4897
4955
  set buttontext(t) {
4898
- this.$$set({ buttontext: t }), O();
4956
+ this.$$set({ buttontext: t }), I();
4899
4957
  }
4900
4958
  get translationurl() {
4901
4959
  return this.$$.ctx[17];
4902
4960
  }
4903
4961
  set translationurl(t) {
4904
- this.$$set({ translationurl: t }), O();
4962
+ this.$$set({ translationurl: t }), I();
4905
4963
  }
4906
4964
  get clientstyling() {
4907
4965
  return this.$$.ctx[18];
4908
4966
  }
4909
4967
  set clientstyling(t) {
4910
- this.$$set({ clientstyling: t }), O();
4968
+ this.$$set({ clientstyling: t }), I();
4911
4969
  }
4912
4970
  get clientstylingurl() {
4913
4971
  return this.$$.ctx[19];
4914
4972
  }
4915
4973
  set clientstylingurl(t) {
4916
- this.$$set({ clientstylingurl: t }), O();
4974
+ this.$$set({ clientstylingurl: t }), I();
4917
4975
  }
4918
4976
  get filteredrandomgamecategories() {
4919
4977
  return this.$$.ctx[20];
4920
4978
  }
4921
4979
  set filteredrandomgamecategories(t) {
4922
- this.$$set({ filteredrandomgamecategories: t }), O();
4980
+ this.$$set({ filteredrandomgamecategories: t }), I();
4923
4981
  }
4924
4982
  get mbsource() {
4925
4983
  return this.$$.ctx[21];
4926
4984
  }
4927
4985
  set mbsource(t) {
4928
- this.$$set({ mbsource: t }), O();
4986
+ this.$$set({ mbsource: t }), I();
4929
4987
  }
4930
4988
  }
4931
- _n(ko, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4989
+ Sn(Xo, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
4932
4990
  export {
4933
- ko as default
4991
+ Xo as default
4934
4992
  };