@everymatrix/casino-winners 1.86.2 → 1.86.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,50 @@
1
1
  function $() {
2
2
  }
3
- function gr(e) {
3
+ function gn(e) {
4
4
  return e();
5
5
  }
6
- function Gt() {
6
+ function Ut() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ce(e) {
10
- e.forEach(gr);
9
+ function fe(e) {
10
+ e.forEach(gn);
11
11
  }
12
- function Tt(e) {
12
+ function Et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function yr(e, t) {
15
+ function yn(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Ae;
19
- function Dt(e, t) {
19
+ function Gt(e, t) {
20
20
  return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
21
21
  }
22
- function En(e) {
22
+ function Er(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function vr(e, ...t) {
25
+ function vn(e, ...t) {
26
26
  if (e == null) {
27
- for (const n of t)
28
- n(void 0);
27
+ for (const r of t)
28
+ r(void 0);
29
29
  return $;
30
30
  }
31
- const r = e.subscribe(...t);
32
- return r.unsubscribe ? () => r.unsubscribe() : r;
31
+ const n = e.subscribe(...t);
32
+ return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function xn(e, t, r) {
35
- e.$$.on_destroy.push(vr(t, r));
34
+ function xr(e, t, n) {
35
+ e.$$.on_destroy.push(vn(t, n));
36
36
  }
37
- function w(e, t) {
37
+ function S(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function wn(e, t, r) {
41
- const n = Sn(e);
42
- if (!n.getElementById(t)) {
43
- const i = M("style");
44
- i.id = t, i.textContent = r, Tn(n, i);
40
+ function wr(e, t, n) {
41
+ const r = Sr(e);
42
+ if (!r.getElementById(t)) {
43
+ const i = O("style");
44
+ i.id = t, i.textContent = n, Tr(r, i);
45
45
  }
46
46
  }
47
- function Sn(e) {
47
+ function Sr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,24 +54,24 @@ function Sn(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Tn(e, t) {
58
- return w(
57
+ function Tr(e, t) {
58
+ return S(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function j(e, t, r) {
65
- e.insertBefore(t, r || null);
64
+ function k(e, t, n) {
65
+ e.insertBefore(t, n || null);
66
66
  }
67
67
  function D(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function _r(e, t) {
71
- for (let r = 0; r < e.length; r += 1)
72
- e[r] && e[r].d(t);
70
+ function _n(e, t) {
71
+ for (let n = 0; n < e.length; n += 1)
72
+ e[n] && e[n].d(t);
73
73
  }
74
- function M(e) {
74
+ function O(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function Pe(e) {
@@ -83,122 +83,122 @@ function Y(e) {
83
83
  function X() {
84
84
  return Y(" ");
85
85
  }
86
- function Bt() {
86
+ function xt() {
87
87
  return Y("");
88
88
  }
89
- function Ee(e, t, r, n) {
90
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
+ function xe(e, t, n, r) {
90
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
91
91
  }
92
- function p(e, t, r) {
93
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
+ function d(e, t, n) {
93
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
94
94
  }
95
- function V(e, t, r) {
96
- const n = t.toLowerCase();
97
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
95
+ function V(e, t, n) {
96
+ const r = t.toLowerCase();
97
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : d(e, t, n);
98
98
  }
99
- function Bn(e) {
99
+ function Br(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function oe(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Hn(e) {
106
+ function Hr(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
110
- (r) => {
111
- t[r.slot || "default"] = !0;
110
+ (n) => {
111
+ t[n.slot || "default"] = !0;
112
112
  }
113
113
  ), t;
114
114
  }
115
- let xe;
116
- function ve(e) {
117
- xe = e;
115
+ let we;
116
+ function _e(e) {
117
+ we = e;
118
118
  }
119
- function An() {
120
- if (!xe)
119
+ function Ar() {
120
+ if (!we)
121
121
  throw new Error("Function called outside component initialization");
122
- return xe;
122
+ return we;
123
123
  }
124
- function Pn(e) {
125
- An().$$.on_mount.push(e);
124
+ function Pr(e) {
125
+ Ar().$$.on_mount.push(e);
126
126
  }
127
- const ie = [], _e = [];
127
+ const ie = [], Ee = [];
128
128
  let se = [];
129
- const jt = [], Er = /* @__PURE__ */ Promise.resolve();
130
- let ut = !1;
131
- function xr() {
132
- ut || (ut = !0, Er.then(T));
129
+ const Dt = [], En = /* @__PURE__ */ Promise.resolve();
130
+ let st = !1;
131
+ function xn() {
132
+ st || (st = !0, En.then(B));
133
133
  }
134
134
  function kt() {
135
- return xr(), Er;
135
+ return xn(), En;
136
136
  }
137
- function lt(e) {
137
+ function at(e) {
138
138
  se.push(e);
139
139
  }
140
- const et = /* @__PURE__ */ new Set();
141
- let re = 0;
142
- function T() {
143
- if (re !== 0)
140
+ const Ye = /* @__PURE__ */ new Set();
141
+ let ne = 0;
142
+ function B() {
143
+ if (ne !== 0)
144
144
  return;
145
- const e = xe;
145
+ const e = we;
146
146
  do {
147
147
  try {
148
- for (; re < ie.length; ) {
149
- const t = ie[re];
150
- re++, ve(t), On(t.$$);
148
+ for (; ne < ie.length; ) {
149
+ const t = ie[ne];
150
+ ne++, _e(t), Cr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw ie.length = 0, re = 0, t;
153
+ throw ie.length = 0, ne = 0, t;
154
154
  }
155
- for (ve(null), ie.length = 0, re = 0; _e.length; )
156
- _e.pop()();
155
+ for (_e(null), ie.length = 0, ne = 0; Ee.length; )
156
+ Ee.pop()();
157
157
  for (let t = 0; t < se.length; t += 1) {
158
- const r = se[t];
159
- et.has(r) || (et.add(r), r());
158
+ const n = se[t];
159
+ Ye.has(n) || (Ye.add(n), n());
160
160
  }
161
161
  se.length = 0;
162
162
  } while (ie.length);
163
- for (; jt.length; )
164
- jt.pop()();
165
- ut = !1, et.clear(), ve(e);
163
+ for (; Dt.length; )
164
+ Dt.pop()();
165
+ st = !1, Ye.clear(), _e(e);
166
166
  }
167
- function On(e) {
167
+ function Cr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), ce(e.before_update);
169
+ e.update(), fe(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
172
172
  }
173
173
  }
174
- function Cn(e) {
175
- const t = [], r = [];
176
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
174
+ function Mr(e) {
175
+ const t = [], n = [];
176
+ se.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), se = t;
177
177
  }
178
- const Mn = /* @__PURE__ */ new Set();
179
- function Nn(e, t) {
180
- e && e.i && (Mn.delete(e), e.i(t));
178
+ const Or = /* @__PURE__ */ new Set();
179
+ function Ir(e, t) {
180
+ e && e.i && (Or.delete(e), e.i(t));
181
181
  }
182
182
  function Re(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function In(e, t, r) {
186
- const { fragment: n, after_update: i } = e.$$;
187
- n && n.m(t, r), lt(() => {
188
- const o = e.$$.on_mount.map(gr).filter(Tt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
190
- }), i.forEach(lt);
185
+ function Nr(e, t, n) {
186
+ const { fragment: r, after_update: i } = e.$$;
187
+ r && r.m(t, n), at(() => {
188
+ const o = e.$$.on_mount.map(gn).filter(Et);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
190
+ }), i.forEach(at);
191
191
  }
192
- function Ln(e, t) {
193
- const r = e.$$;
194
- r.fragment !== null && (Cn(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
+ function Lr(e, t) {
193
+ const n = e.$$;
194
+ n.fragment !== null && (Mr(n.after_update), fe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
195
195
  }
196
- function Rn(e, t) {
197
- e.$$.dirty[0] === -1 && (ie.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Rr(e, t) {
197
+ e.$$.dirty[0] === -1 && (ie.push(e), xn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
200
- const u = xe;
201
- ve(e);
199
+ function Wr(e, t, n, r, i, o, s = null, a = [-1]) {
200
+ const u = we;
201
+ _e(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
@@ -206,7 +206,7 @@ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  props: o,
207
207
  update: $,
208
208
  not_equal: i,
209
- bound: Gt(),
209
+ bound: Ut(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,28 +215,28 @@ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (u ? u.$$.context : [])),
217
217
  // everything else
218
- callbacks: Gt(),
218
+ callbacks: Ut(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || u.$$.root
222
222
  };
223
223
  s && s(l.root);
224
224
  let c = !1;
225
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...d) => {
226
- const g = d.length ? d[0] : f;
227
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && Rn(e, m)), f;
228
- }) : [], l.update(), c = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
225
+ if (l.ctx = n ? n(e, t.props || {}, (m, f, ...p) => {
226
+ const g = p.length ? p[0] : f;
227
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && Rr(e, m)), f;
228
+ }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const m = Bn(t.target);
230
+ const m = Br(t.target);
231
231
  l.fragment && l.fragment.l(m), m.forEach(D);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && Nn(e.$$.fragment), In(e, t.target, t.anchor), T();
234
+ t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), B();
235
235
  }
236
- ve(u);
236
+ _e(u);
237
237
  }
238
- let wr;
239
- typeof HTMLElement == "function" && (wr = class extends HTMLElement {
238
+ let wn;
239
+ typeof HTMLElement == "function" && (wn = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -255,20 +255,20 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
255
255
  $$l = {};
256
256
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
257
257
  $$l_u = /* @__PURE__ */ new Map();
258
- constructor(e, t, r) {
259
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
258
+ constructor(e, t, n) {
259
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
260
260
  }
261
- addEventListener(e, t, r) {
261
+ addEventListener(e, t, n) {
262
262
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
263
- const n = this.$$c.$on(e, t);
264
- this.$$l_u.set(t, n);
263
+ const r = this.$$c.$on(e, t);
264
+ this.$$l_u.set(t, r);
265
265
  }
266
- super.addEventListener(e, t, r);
266
+ super.addEventListener(e, t, n);
267
267
  }
268
- removeEventListener(e, t, r) {
269
- if (super.removeEventListener(e, t, r), this.$$c) {
270
- const n = this.$$l_u.get(t);
271
- n && (n(), this.$$l_u.delete(t));
268
+ removeEventListener(e, t, n) {
269
+ if (super.removeEventListener(e, t, n), this.$$c) {
270
+ const r = this.$$l_u.get(t);
271
+ r && (r(), this.$$l_u.delete(t));
272
272
  }
273
273
  }
274
274
  async connectedCallback() {
@@ -278,14 +278,14 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
278
278
  let o;
279
279
  return {
280
280
  c: function() {
281
- o = M("slot"), i !== "default" && p(o, "name", i);
281
+ o = O("slot"), i !== "default" && d(o, "name", i);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(u, l) {
288
- j(u, o, l);
288
+ k(u, o, l);
289
289
  },
290
290
  d: function(u) {
291
291
  u && D(o);
@@ -295,12 +295,12 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Hn(this);
298
+ const t = {}, n = Hr(this);
299
299
  for (const i of this.$$s)
300
- i in r && (t[i] = [e(i)]);
300
+ i in n && (t[i] = [e(i)]);
301
301
  for (const i of this.attributes) {
302
302
  const o = this.$$g_p(i.name);
303
- o in this.$$d || (this.$$d[o] = Me(o, i.value, this.$$p_d, "toProp"));
303
+ o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const i in this.$$p_d)
306
306
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -314,11 +314,11 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
314
314
  }
315
315
  }
316
316
  });
317
- const n = () => {
317
+ const r = () => {
318
318
  this.$$r = !0;
319
319
  for (const i in this.$$p_d)
320
320
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
321
- const o = Me(
321
+ const o = Oe(
322
322
  i,
323
323
  this.$$d[i],
324
324
  this.$$p_d,
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
328
328
  }
329
329
  this.$$r = !1;
330
330
  };
331
- this.$$c.$$.after_update.push(n), n();
331
+ this.$$c.$$.after_update.push(r), r();
332
332
  for (const i in this.$$l)
333
333
  for (const o of this.$$l[i]) {
334
334
  const s = this.$$c.$on(i, o);
@@ -339,8 +339,8 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
339
339
  }
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
- attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
342
+ attributeChangedCallback(e, t, n) {
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,11 +353,11 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Me(e, t, r, n) {
357
- const i = r[e]?.type;
358
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
356
+ function Oe(e, t, n, r) {
357
+ const i = n[e]?.type;
358
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
359
359
  return t;
360
- if (n === "toAttribute")
360
+ if (r === "toAttribute")
361
361
  switch (i) {
362
362
  case "Object":
363
363
  case "Array":
@@ -382,10 +382,10 @@ function Me(e, t, r, n) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Fn(e, t, r, n, i, o) {
386
- let s = class extends wr {
385
+ function Fr(e, t, n, r, i, o) {
386
+ let s = class extends wn {
387
387
  constructor() {
388
- super(e, r, i), this.$$p_d = t;
388
+ super(e, n, i), this.$$p_d = t;
389
389
  }
390
390
  static get observedAttributes() {
391
391
  return Object.keys(t).map(
@@ -399,10 +399,10 @@ function Fn(e, t, r, n, i, o) {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(u) {
402
- u = Me(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
402
+ u = Oe(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
403
403
  }
404
404
  });
405
- }), n.forEach((a) => {
405
+ }), r.forEach((a) => {
406
406
  Object.defineProperty(s.prototype, a, {
407
407
  get() {
408
408
  return this.$$c?.[a];
@@ -411,7 +411,7 @@ function Fn(e, t, r, n, i, o) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class Un {
414
+ class Ur {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Un {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Ln(this, 1), this.$destroy = $;
433
+ Lr(this, 1), this.$destroy = $;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -438,13 +438,13 @@ class Un {
438
438
  * @param {((e: Events[K]) => void) | null | undefined} callback
439
439
  * @returns {() => void}
440
440
  */
441
- $on(t, r) {
442
- if (!Tt(r))
441
+ $on(t, n) {
442
+ if (!Et(n))
443
443
  return $;
444
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
- return n.push(r), () => {
446
- const i = n.indexOf(r);
447
- i !== -1 && n.splice(i, 1);
444
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
+ return r.push(n), () => {
446
+ const i = r.indexOf(n);
447
+ i !== -1 && r.splice(i, 1);
448
448
  };
449
449
  }
450
450
  /**
@@ -452,29 +452,29 @@ class Un {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const Gn = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
460
- const ne = [];
461
- function Dn(e, t) {
458
+ const Gr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
460
+ const re = [];
461
+ function Dr(e, t) {
462
462
  return {
463
- subscribe: Ge(e, t).subscribe
463
+ subscribe: Ue(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ge(e, t = $) {
467
- let r;
468
- const n = /* @__PURE__ */ new Set();
466
+ function Ue(e, t = $) {
467
+ let n;
468
+ const r = /* @__PURE__ */ new Set();
469
469
  function i(a) {
470
- if (yr(e, a) && (e = a, r)) {
471
- const u = !ne.length;
472
- for (const l of n)
473
- l[1](), ne.push(l, e);
470
+ if (yn(e, a) && (e = a, n)) {
471
+ const u = !re.length;
472
+ for (const l of r)
473
+ l[1](), re.push(l, e);
474
474
  if (u) {
475
- for (let l = 0; l < ne.length; l += 2)
476
- ne[l][0](ne[l + 1]);
477
- ne.length = 0;
475
+ for (let l = 0; l < re.length; l += 2)
476
+ re[l][0](re[l + 1]);
477
+ re.length = 0;
478
478
  }
479
479
  }
480
480
  }
@@ -483,18 +483,18 @@ function Ge(e, t = $) {
483
483
  }
484
484
  function s(a, u = $) {
485
485
  const l = [a, u];
486
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
487
- n.delete(l), n.size === 0 && r && (r(), r = null);
486
+ return r.add(l), r.size === 1 && (n = t(i, o) || $), a(e), () => {
487
+ r.delete(l), r.size === 0 && n && (n(), n = null);
488
488
  };
489
489
  }
490
490
  return { set: i, update: o, subscribe: s };
491
491
  }
492
- function fe(e, t, r) {
493
- const n = !Array.isArray(e), i = n ? [e] : e;
492
+ function me(e, t, n) {
493
+ const r = !Array.isArray(e), i = r ? [e] : e;
494
494
  if (!i.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const o = t.length < 2;
497
- return Dn(r, (s, a) => {
497
+ return Dr(n, (s, a) => {
498
498
  let u = !1;
499
499
  const l = [];
500
500
  let c = 0, m = $;
@@ -502,13 +502,13 @@ function fe(e, t, r) {
502
502
  if (c)
503
503
  return;
504
504
  m();
505
- const g = t(n ? l[0] : l, s, a);
506
- o ? s(g) : m = Tt(g) ? g : $;
507
- }, d = i.map(
508
- (g, b) => vr(
505
+ const g = t(r ? l[0] : l, s, a);
506
+ o ? s(g) : m = Et(g) ? g : $;
507
+ }, p = i.map(
508
+ (g, b) => vn(
509
509
  g,
510
- (A) => {
511
- l[b] = A, c &= ~(1 << b), u && f();
510
+ (P) => {
511
+ l[b] = P, c &= ~(1 << b), u && f();
512
512
  },
513
513
  () => {
514
514
  c |= 1 << b;
@@ -516,240 +516,278 @@ function fe(e, t, r) {
516
516
  )
517
517
  );
518
518
  return u = !0, f(), function() {
519
- ce(d), m(), u = !1;
519
+ fe(p), m(), u = !1;
520
520
  };
521
521
  });
522
522
  }
523
- function jn(e) {
523
+ function kr(e) {
524
524
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
525
525
  }
526
- var kn = function(t) {
527
- return $n(t) && !Vn(t);
526
+ var jr = function(t) {
527
+ return $r(t) && !Vr(t);
528
528
  };
529
- function $n(e) {
529
+ function $r(e) {
530
530
  return !!e && typeof e == "object";
531
531
  }
532
- function Vn(e) {
532
+ function Vr(e) {
533
533
  var t = Object.prototype.toString.call(e);
534
- return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
534
+ return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
535
535
  }
536
- var Xn = typeof Symbol == "function" && Symbol.for, zn = Xn ? Symbol.for("react.element") : 60103;
537
- function Zn(e) {
538
- return e.$$typeof === zn;
536
+ var Xr = typeof Symbol == "function" && Symbol.for, zr = Xr ? Symbol.for("react.element") : 60103;
537
+ function Zr(e) {
538
+ return e.$$typeof === zr;
539
539
  }
540
- function Qn(e) {
540
+ function Qr(e) {
541
541
  return Array.isArray(e) ? [] : {};
542
542
  }
543
- function we(e, t) {
544
- return t.clone !== !1 && t.isMergeableObject(e) ? ae(Qn(e), e, t) : e;
543
+ function Se(e, t) {
544
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Qr(e), e, t) : e;
545
545
  }
546
- function Jn(e, t, r) {
547
- return e.concat(t).map(function(n) {
548
- return we(n, r);
546
+ function Jr(e, t, n) {
547
+ return e.concat(t).map(function(r) {
548
+ return Se(r, n);
549
549
  });
550
550
  }
551
- function qn(e, t) {
551
+ function qr(e, t) {
552
552
  if (!t.customMerge)
553
- return ae;
554
- var r = t.customMerge(e);
555
- return typeof r == "function" ? r : ae;
553
+ return ue;
554
+ var n = t.customMerge(e);
555
+ return typeof n == "function" ? n : ue;
556
556
  }
557
- function Yn(e) {
557
+ function Yr(e) {
558
558
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
559
559
  return Object.propertyIsEnumerable.call(e, t);
560
560
  }) : [];
561
561
  }
562
- function $t(e) {
563
- return Object.keys(e).concat(Yn(e));
562
+ function jt(e) {
563
+ return Object.keys(e).concat(Yr(e));
564
564
  }
565
- function Sr(e, t) {
565
+ function Sn(e, t) {
566
566
  try {
567
567
  return t in e;
568
568
  } catch {
569
569
  return !1;
570
570
  }
571
571
  }
572
- function Kn(e, t) {
573
- return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
+ function Kr(e, t) {
573
+ return Sn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
574
574
  }
575
- function ei(e, t, r) {
576
- var n = {};
577
- return r.isMergeableObject(e) && $t(e).forEach(function(i) {
578
- n[i] = we(e[i], r);
579
- }), $t(t).forEach(function(i) {
580
- Kn(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
581
- }), n;
582
- }
583
- function ae(e, t, r) {
584
- r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || kn, r.cloneUnlessOtherwiseSpecified = we;
585
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
586
- return o ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : we(t, r);
587
- }
588
- ae.all = function(t, r) {
575
+ function ei(e, t, n) {
576
+ var r = {};
577
+ return n.isMergeableObject(e) && jt(e).forEach(function(i) {
578
+ r[i] = Se(e[i], n);
579
+ }), jt(t).forEach(function(i) {
580
+ Kr(e, i) || (Sn(e, i) && n.isMergeableObject(t[i]) ? r[i] = qr(i, n)(e[i], t[i], n) : r[i] = Se(t[i], n));
581
+ }), r;
582
+ }
583
+ function ue(e, t, n) {
584
+ n = n || {}, n.arrayMerge = n.arrayMerge || Jr, n.isMergeableObject = n.isMergeableObject || jr, n.cloneUnlessOtherwiseSpecified = Se;
585
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
586
+ return o ? r ? n.arrayMerge(e, t, n) : ei(e, t, n) : Se(t, n);
587
+ }
588
+ ue.all = function(t, n) {
589
589
  if (!Array.isArray(t))
590
590
  throw new Error("first argument should be an array");
591
- return t.reduce(function(n, i) {
592
- return ae(n, i, r);
591
+ return t.reduce(function(r, i) {
592
+ return ue(r, i, n);
593
593
  }, {});
594
594
  };
595
- var ti = ae, ri = ti;
596
- const ni = /* @__PURE__ */ jn(ri);
597
- var ht = function(e, t) {
598
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
599
- r.__proto__ = n;
600
- } || function(r, n) {
601
- for (var i in n)
602
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
603
- }, ht(e, t);
595
+ var ti = ue, ni = ti;
596
+ const ri = /* @__PURE__ */ kr(ni);
597
+ /*! *****************************************************************************
598
+ Copyright (c) Microsoft Corporation.
599
+
600
+ Permission to use, copy, modify, and/or distribute this software for any
601
+ purpose with or without fee is hereby granted.
602
+
603
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
604
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
605
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
606
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
607
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
608
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
609
+ PERFORMANCE OF THIS SOFTWARE.
610
+ ***************************************************************************** */
611
+ var ut = function(e, t) {
612
+ return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
613
+ n.__proto__ = r;
614
+ } || function(n, r) {
615
+ for (var i in r)
616
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
617
+ }, ut(e, t);
604
618
  };
605
- function De(e, t) {
619
+ function Q(e, t) {
606
620
  if (typeof t != "function" && t !== null)
607
621
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
608
- ht(e, t);
609
- function r() {
622
+ ut(e, t);
623
+ function n() {
610
624
  this.constructor = e;
611
625
  }
612
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
613
- }
614
- var z = function() {
615
- return z = Object.assign || function(t) {
616
- for (var r, n = 1, i = arguments.length; n < i; n++) {
617
- r = arguments[n];
618
- for (var o in r)
619
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
626
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
627
+ }
628
+ var w = function() {
629
+ return w = Object.assign || function(t) {
630
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
631
+ n = arguments[r];
632
+ for (var o in n)
633
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
620
634
  }
621
635
  return t;
622
- }, z.apply(this, arguments);
636
+ }, w.apply(this, arguments);
623
637
  };
624
638
  function ii(e, t) {
625
- var r = {};
626
- for (var n in e)
627
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
639
+ var n = {};
640
+ for (var r in e)
641
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
628
642
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
629
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
630
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
631
- return r;
643
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
644
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
645
+ return n;
646
+ }
647
+ function lt(e) {
648
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
649
+ if (n)
650
+ return n.call(e);
651
+ if (e && typeof e.length == "number")
652
+ return {
653
+ next: function() {
654
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
655
+ }
656
+ };
657
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
658
+ }
659
+ function ht(e, t) {
660
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
661
+ if (!n)
662
+ return e;
663
+ var r = n.call(e), i, o = [], s;
664
+ try {
665
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
666
+ o.push(i.value);
667
+ } catch (a) {
668
+ s = { error: a };
669
+ } finally {
670
+ try {
671
+ i && !i.done && (n = r.return) && n.call(r);
672
+ } finally {
673
+ if (s)
674
+ throw s.error;
675
+ }
676
+ }
677
+ return o;
632
678
  }
633
- function tt(e, t, r) {
634
- if (r || arguments.length === 2)
635
- for (var n = 0, i = t.length, o; n < i; n++)
636
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
637
- return e.concat(o || Array.prototype.slice.call(t));
679
+ function ae(e, t, n) {
680
+ if (n || arguments.length === 2)
681
+ for (var r = 0, i = t.length, o; r < i; r++)
682
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
683
+ return e.concat(o || t);
638
684
  }
639
- function rt(e, t) {
640
- var r = t && t.cache ? t.cache : ci, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : ai;
685
+ function Ke(e, t) {
686
+ var n = t && t.cache ? t.cache : hi, r = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : si;
641
687
  return i(e, {
642
- cache: r,
643
- serializer: n
688
+ cache: n,
689
+ serializer: r
644
690
  });
645
691
  }
646
692
  function oi(e) {
647
693
  return e == null || typeof e == "number" || typeof e == "boolean";
648
694
  }
649
- function si(e, t, r, n) {
650
- var i = oi(n) ? n : r(n), o = t.get(i);
651
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
695
+ function Tn(e, t, n, r) {
696
+ var i = oi(r) ? r : n(r), o = t.get(i);
697
+ return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
698
+ }
699
+ function Bn(e, t, n) {
700
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
701
+ return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
652
702
  }
653
- function Tr(e, t, r) {
654
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
655
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
703
+ function wt(e, t, n, r, i) {
704
+ return n.bind(t, e, r, i);
656
705
  }
657
- function Br(e, t, r, n, i) {
658
- return r.bind(t, e, n, i);
706
+ function si(e, t) {
707
+ var n = e.length === 1 ? Tn : Bn;
708
+ return wt(e, this, n, t.cache.create(), t.serializer);
659
709
  }
660
710
  function ai(e, t) {
661
- var r = e.length === 1 ? si : Tr;
662
- return Br(e, this, r, t.cache.create(), t.serializer);
711
+ return wt(e, this, Bn, t.cache.create(), t.serializer);
663
712
  }
664
713
  function ui(e, t) {
665
- return Br(e, this, Tr, t.cache.create(), t.serializer);
714
+ return wt(e, this, Tn, t.cache.create(), t.serializer);
666
715
  }
667
716
  var li = function() {
668
717
  return JSON.stringify(arguments);
669
- }, hi = (
670
- /** @class */
671
- function() {
672
- function e() {
673
- this.cache = /* @__PURE__ */ Object.create(null);
674
- }
675
- return e.prototype.get = function(t) {
676
- return this.cache[t];
677
- }, e.prototype.set = function(t, r) {
678
- this.cache[t] = r;
679
- }, e;
680
- }()
681
- ), ci = {
718
+ };
719
+ function St() {
720
+ this.cache = /* @__PURE__ */ Object.create(null);
721
+ }
722
+ St.prototype.get = function(e) {
723
+ return this.cache[e];
724
+ };
725
+ St.prototype.set = function(e, t) {
726
+ this.cache[e] = t;
727
+ };
728
+ var hi = {
682
729
  create: function() {
683
- return new hi();
730
+ return new St();
684
731
  }
685
- }, nt = {
686
- variadic: ui
687
- }, We = function() {
688
- return We = Object.assign || function(t) {
689
- for (var r, n = 1, i = arguments.length; n < i; n++) {
690
- r = arguments[n];
691
- for (var o in r)
692
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
693
- }
694
- return t;
695
- }, We.apply(this, arguments);
696
- };
697
- var y;
732
+ }, et = {
733
+ variadic: ai,
734
+ monadic: ui
735
+ }, y;
698
736
  (function(e) {
699
737
  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";
700
738
  })(y || (y = {}));
701
- var H;
739
+ var A;
702
740
  (function(e) {
703
741
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
704
- })(H || (H = {}));
705
- var ue;
742
+ })(A || (A = {}));
743
+ var le;
706
744
  (function(e) {
707
745
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
708
- })(ue || (ue = {}));
709
- function Vt(e) {
710
- return e.type === H.literal;
746
+ })(le || (le = {}));
747
+ function $t(e) {
748
+ return e.type === A.literal;
711
749
  }
712
- function fi(e) {
713
- return e.type === H.argument;
750
+ function ci(e) {
751
+ return e.type === A.argument;
714
752
  }
715
- function Hr(e) {
716
- return e.type === H.number;
753
+ function Hn(e) {
754
+ return e.type === A.number;
717
755
  }
718
- function Ar(e) {
719
- return e.type === H.date;
756
+ function An(e) {
757
+ return e.type === A.date;
720
758
  }
721
- function Pr(e) {
722
- return e.type === H.time;
759
+ function Pn(e) {
760
+ return e.type === A.time;
723
761
  }
724
- function Or(e) {
725
- return e.type === H.select;
762
+ function Cn(e) {
763
+ return e.type === A.select;
726
764
  }
727
- function Cr(e) {
728
- return e.type === H.plural;
765
+ function Mn(e) {
766
+ return e.type === A.plural;
729
767
  }
730
- function mi(e) {
731
- return e.type === H.pound;
768
+ function fi(e) {
769
+ return e.type === A.pound;
732
770
  }
733
- function Mr(e) {
734
- return e.type === H.tag;
771
+ function On(e) {
772
+ return e.type === A.tag;
735
773
  }
736
- function Nr(e) {
737
- return !!(e && typeof e == "object" && e.type === ue.number);
774
+ function In(e) {
775
+ return !!(e && typeof e == "object" && e.type === le.number);
738
776
  }
739
777
  function ct(e) {
740
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
778
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
741
779
  }
742
- var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
780
+ var Nn = /[ \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;
743
781
  function di(e) {
744
782
  var t = {};
745
- return e.replace(pi, function(r) {
746
- var n = r.length;
747
- switch (r[0]) {
783
+ return e.replace(mi, function(n) {
784
+ var r = n.length;
785
+ switch (n[0]) {
748
786
  case "G":
749
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
787
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
750
788
  break;
751
789
  case "y":
752
- t.year = n === 2 ? "2-digit" : "numeric";
790
+ t.year = r === 2 ? "2-digit" : "numeric";
753
791
  break;
754
792
  case "Y":
755
793
  case "u":
@@ -761,30 +799,30 @@ function di(e) {
761
799
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
762
800
  case "M":
763
801
  case "L":
764
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
802
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
765
803
  break;
766
804
  case "w":
767
805
  case "W":
768
806
  throw new RangeError("`w/W` (week) patterns are not supported");
769
807
  case "d":
770
- t.day = ["numeric", "2-digit"][n - 1];
808
+ t.day = ["numeric", "2-digit"][r - 1];
771
809
  break;
772
810
  case "D":
773
811
  case "F":
774
812
  case "g":
775
813
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
776
814
  case "E":
777
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
815
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
778
816
  break;
779
817
  case "e":
780
- if (n < 4)
818
+ if (r < 4)
781
819
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
782
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
820
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
783
821
  break;
784
822
  case "c":
785
- if (n < 4)
823
+ if (r < 4)
786
824
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
787
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
825
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
788
826
  break;
789
827
  case "a":
790
828
  t.hour12 = !0;
@@ -793,32 +831,32 @@ function di(e) {
793
831
  case "B":
794
832
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
795
833
  case "h":
796
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
834
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
797
835
  break;
798
836
  case "H":
799
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
837
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
800
838
  break;
801
839
  case "K":
802
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
840
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
803
841
  break;
804
842
  case "k":
805
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
843
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
806
844
  break;
807
845
  case "j":
808
846
  case "J":
809
847
  case "C":
810
848
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
811
849
  case "m":
812
- t.minute = ["numeric", "2-digit"][n - 1];
850
+ t.minute = ["numeric", "2-digit"][r - 1];
813
851
  break;
814
852
  case "s":
815
- t.second = ["numeric", "2-digit"][n - 1];
853
+ t.second = ["numeric", "2-digit"][r - 1];
816
854
  break;
817
855
  case "S":
818
856
  case "A":
819
857
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
820
858
  case "z":
821
- t.timeZoneName = n < 4 ? "short" : "long";
859
+ t.timeZoneName = r < 4 ? "short" : "long";
822
860
  break;
823
861
  case "Z":
824
862
  case "O":
@@ -831,24 +869,14 @@ function di(e) {
831
869
  return "";
832
870
  }), t;
833
871
  }
834
- var C = function() {
835
- return C = Object.assign || function(t) {
836
- for (var r, n = 1, i = arguments.length; n < i; n++) {
837
- r = arguments[n];
838
- for (var o in r)
839
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
840
- }
841
- return t;
842
- }, C.apply(this, arguments);
843
- };
844
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
845
- function gi(e) {
872
+ var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
873
+ function bi(e) {
846
874
  if (e.length === 0)
847
875
  throw new Error("Number skeleton cannot be empty");
848
- for (var t = e.split(bi).filter(function(f) {
876
+ for (var t = e.split(pi).filter(function(f) {
849
877
  return f.length > 0;
850
- }), r = [], n = 0, i = t; n < i.length; n++) {
851
- var o = i[n], s = o.split("/");
878
+ }), n = [], r = 0, i = t; r < i.length; r++) {
879
+ var o = i[r], s = o.split("/");
852
880
  if (s.length === 0)
853
881
  throw new Error("Invalid number skeleton");
854
882
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -856,21 +884,21 @@ function gi(e) {
856
884
  if (m.length === 0)
857
885
  throw new Error("Invalid number skeleton");
858
886
  }
859
- r.push({ stem: a, options: u });
887
+ n.push({ stem: a, options: u });
860
888
  }
861
- return r;
889
+ return n;
862
890
  }
863
- function yi(e) {
891
+ function gi(e) {
864
892
  return e.replace(/^(.*?)-/, "");
865
893
  }
866
- var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
867
- function zt(e) {
894
+ var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ln = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Rn = /^(0+)$/;
895
+ function Xt(e) {
868
896
  var t = {};
869
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
870
- 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)), "";
897
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ln, function(n, r, i) {
898
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
871
899
  }), t;
872
900
  }
873
- function Wr(e) {
901
+ function Wn(e) {
874
902
  switch (e) {
875
903
  case "sign-auto":
876
904
  return {
@@ -910,27 +938,27 @@ function Wr(e) {
910
938
  };
911
939
  }
912
940
  }
913
- function _i(e) {
941
+ function vi(e) {
914
942
  var t;
915
943
  if (e[0] === "E" && e[1] === "E" ? (t = {
916
944
  notation: "engineering"
917
945
  }, e = e.slice(2)) : e[0] === "E" && (t = {
918
946
  notation: "scientific"
919
947
  }, e = e.slice(1)), t) {
920
- var r = e.slice(0, 2);
921
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
948
+ var n = e.slice(0, 2);
949
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rn.test(e))
922
950
  throw new Error("Malformed concise eng/scientific notation");
923
951
  t.minimumIntegerDigits = e.length;
924
952
  }
925
953
  return t;
926
954
  }
927
- function Zt(e) {
928
- var t = {}, r = Wr(e);
929
- return r || t;
955
+ function zt(e) {
956
+ var t = {}, n = Wn(e);
957
+ return n || t;
930
958
  }
931
- function Ei(e) {
932
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
933
- var i = n[r];
959
+ function _i(e) {
960
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
961
+ var i = r[n];
934
962
  switch (i.stem) {
935
963
  case "percent":
936
964
  case "%":
@@ -952,7 +980,7 @@ function Ei(e) {
952
980
  continue;
953
981
  case "measure-unit":
954
982
  case "unit":
955
- t.style = "unit", t.unit = yi(i.options[0]);
983
+ t.style = "unit", t.unit = gi(i.options[0]);
956
984
  continue;
957
985
  case "compact-short":
958
986
  case "K":
@@ -963,13 +991,13 @@ function Ei(e) {
963
991
  t.notation = "compact", t.compactDisplay = "long";
964
992
  continue;
965
993
  case "scientific":
966
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
967
- return C(C({}, u), Zt(l));
994
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
995
+ return w(w({}, u), zt(l));
968
996
  }, {}));
969
997
  continue;
970
998
  case "engineering":
971
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
972
- return C(C({}, u), Zt(l));
999
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1000
+ return w(w({}, u), zt(l));
973
1001
  }, {}));
974
1002
  continue;
975
1003
  case "notation-simple":
@@ -1014,45 +1042,45 @@ function Ei(e) {
1014
1042
  case "integer-width":
1015
1043
  if (i.options.length > 1)
1016
1044
  throw new RangeError("integer-width stems only accept a single optional option");
1017
- i.options[0].replace(vi, function(u, l, c, m, f, d) {
1045
+ i.options[0].replace(yi, function(u, l, c, m, f, p) {
1018
1046
  if (l)
1019
1047
  t.minimumIntegerDigits = c.length;
1020
1048
  else {
1021
1049
  if (m && f)
1022
1050
  throw new Error("We currently do not support maximum integer digits");
1023
- if (d)
1051
+ if (p)
1024
1052
  throw new Error("We currently do not support exact integer digits");
1025
1053
  }
1026
1054
  return "";
1027
1055
  });
1028
1056
  continue;
1029
1057
  }
1030
- if (Rr.test(i.stem)) {
1058
+ if (Rn.test(i.stem)) {
1031
1059
  t.minimumIntegerDigits = i.stem.length;
1032
1060
  continue;
1033
1061
  }
1034
- if (Xt.test(i.stem)) {
1062
+ if (Vt.test(i.stem)) {
1035
1063
  if (i.options.length > 1)
1036
1064
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1037
- i.stem.replace(Xt, function(u, l, c, m, f, d) {
1038
- return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1065
+ i.stem.replace(Vt, function(u, l, c, m, f, p) {
1066
+ return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1039
1067
  });
1040
1068
  var o = i.options[0];
1041
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), zt(o)));
1069
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Xt(o)));
1042
1070
  continue;
1043
1071
  }
1044
- if (Lr.test(i.stem)) {
1045
- t = C(C({}, t), zt(i.stem));
1072
+ if (Ln.test(i.stem)) {
1073
+ t = w(w({}, t), Xt(i.stem));
1046
1074
  continue;
1047
1075
  }
1048
- var s = Wr(i.stem);
1049
- s && (t = C(C({}, t), s));
1050
- var a = _i(i.stem);
1051
- a && (t = C(C({}, t), a));
1076
+ var s = Wn(i.stem);
1077
+ s && (t = w(w({}, t), s));
1078
+ var a = vi(i.stem);
1079
+ a && (t = w(w({}, t), a));
1052
1080
  }
1053
1081
  return t;
1054
1082
  }
1055
- var Oe = {
1083
+ var Ce = {
1056
1084
  "001": [
1057
1085
  "H",
1058
1086
  "h"
@@ -2467,23 +2495,23 @@ var Oe = {
2467
2495
  "h"
2468
2496
  ]
2469
2497
  };
2470
- function xi(e, t) {
2471
- for (var r = "", n = 0; n < e.length; n++) {
2472
- var i = e.charAt(n);
2498
+ function Ei(e, t) {
2499
+ for (var n = "", r = 0; r < e.length; r++) {
2500
+ var i = e.charAt(r);
2473
2501
  if (i === "j") {
2474
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2475
- o++, n++;
2476
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = wi(t);
2502
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2503
+ o++, r++;
2504
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xi(t);
2477
2505
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2478
- r += u;
2506
+ n += u;
2479
2507
  for (; s-- > 0; )
2480
- r = l + r;
2508
+ n = l + n;
2481
2509
  } else
2482
- i === "J" ? r += "H" : r += i;
2510
+ i === "J" ? n += "H" : n += i;
2483
2511
  }
2484
- return r;
2512
+ return n;
2485
2513
  }
2486
- function wi(e) {
2514
+ function xi(e) {
2487
2515
  var t = e.hourCycle;
2488
2516
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2489
2517
  e.hourCycles && // @ts-ignore
@@ -2500,73 +2528,73 @@ function wi(e) {
2500
2528
  default:
2501
2529
  throw new Error("Invalid hourCycle");
2502
2530
  }
2503
- var r = e.language, n;
2504
- r !== "root" && (n = e.maximize().region);
2505
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
2531
+ var n = e.language, r;
2532
+ n !== "root" && (r = e.maximize().region);
2533
+ var i = Ce[r || ""] || Ce[n || ""] || Ce["".concat(n, "-001")] || Ce["001"];
2506
2534
  return i[0];
2507
2535
  }
2508
- var it, Si = new RegExp("^".concat(Ir.source, "*")), Ti = new RegExp("".concat(Ir.source, "*$"));
2536
+ var tt, wi = new RegExp("^".concat(Nn.source, "*")), Si = new RegExp("".concat(Nn.source, "*$"));
2509
2537
  function _(e, t) {
2510
2538
  return { start: e, end: t };
2511
2539
  }
2512
- var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ni = Mi ? Number.isSafeInteger : function(e) {
2540
+ var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Hi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Oi = Mi ? Number.isSafeInteger : function(e) {
2513
2541
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2514
2542
  }, ft = !0;
2515
2543
  try {
2516
- var Ii = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2517
- ft = ((it = Ii.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
2544
+ var Ii = Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
+ ft = ((tt = Ii.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2518
2546
  } catch {
2519
2547
  ft = !1;
2520
2548
  }
2521
- var Qt = Bi ? (
2549
+ var Zt = Ti ? (
2522
2550
  // Native
2523
- function(t, r, n) {
2524
- return t.startsWith(r, n);
2551
+ function(t, n, r) {
2552
+ return t.startsWith(n, r);
2525
2553
  }
2526
2554
  ) : (
2527
2555
  // For IE11
2528
- function(t, r, n) {
2529
- return t.slice(n, n + r.length) === r;
2556
+ function(t, n, r) {
2557
+ return t.slice(r, r + n.length) === n;
2530
2558
  }
2531
- ), mt = Hi ? String.fromCodePoint : (
2559
+ ), mt = Bi ? String.fromCodePoint : (
2532
2560
  // IE11
2533
2561
  function() {
2534
- for (var t = [], r = 0; r < arguments.length; r++)
2535
- t[r] = arguments[r];
2536
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2562
+ for (var t = [], n = 0; n < arguments.length; n++)
2563
+ t[n] = arguments[n];
2564
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
2537
2565
  if (s = t[o++], s > 1114111)
2538
2566
  throw RangeError(s + " is not a valid code point");
2539
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2567
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2540
2568
  }
2541
- return n;
2569
+ return r;
2542
2570
  }
2543
- ), Jt = (
2571
+ ), Qt = (
2544
2572
  // native
2545
- Ai ? Object.fromEntries : (
2573
+ Hi ? Object.fromEntries : (
2546
2574
  // Ponyfill
2547
2575
  function(t) {
2548
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2549
- var o = i[n], s = o[0], a = o[1];
2550
- r[s] = a;
2576
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2577
+ var o = i[r], s = o[0], a = o[1];
2578
+ n[s] = a;
2551
2579
  }
2552
- return r;
2580
+ return n;
2553
2581
  }
2554
2582
  )
2555
- ), Fr = Pi ? (
2583
+ ), Fn = Ai ? (
2556
2584
  // Native
2557
- function(t, r) {
2558
- return t.codePointAt(r);
2585
+ function(t, n) {
2586
+ return t.codePointAt(n);
2559
2587
  }
2560
2588
  ) : (
2561
2589
  // IE 11
2562
- function(t, r) {
2563
- var n = t.length;
2564
- if (!(r < 0 || r >= n)) {
2565
- var i = t.charCodeAt(r), o;
2566
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2590
+ function(t, n) {
2591
+ var r = t.length;
2592
+ if (!(n < 0 || n >= r)) {
2593
+ var i = t.charCodeAt(n), o;
2594
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2567
2595
  }
2568
2596
  }
2569
- ), Li = Oi ? (
2597
+ ), Ni = Pi ? (
2570
2598
  // Native
2571
2599
  function(t) {
2572
2600
  return t.trimStart();
@@ -2574,9 +2602,9 @@ var Qt = Bi ? (
2574
2602
  ) : (
2575
2603
  // Ponyfill
2576
2604
  function(t) {
2577
- return t.replace(Si, "");
2605
+ return t.replace(wi, "");
2578
2606
  }
2579
- ), Ri = Ci ? (
2607
+ ), Li = Ci ? (
2580
2608
  // Native
2581
2609
  function(t) {
2582
2610
  return t.trimEnd();
@@ -2584,69 +2612,69 @@ var Qt = Bi ? (
2584
2612
  ) : (
2585
2613
  // Ponyfill
2586
2614
  function(t) {
2587
- return t.replace(Ti, "");
2615
+ return t.replace(Si, "");
2588
2616
  }
2589
2617
  );
2590
- function Ur(e, t) {
2618
+ function Un(e, t) {
2591
2619
  return new RegExp(e, t);
2592
2620
  }
2593
- var pt;
2621
+ var dt;
2594
2622
  if (ft) {
2595
- var qt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
- pt = function(t, r) {
2597
- var n;
2598
- qt.lastIndex = r;
2599
- var i = qt.exec(t);
2600
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2623
+ var Jt = Un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
+ dt = function(t, n) {
2625
+ var r;
2626
+ Jt.lastIndex = n;
2627
+ var i = Jt.exec(t);
2628
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2601
2629
  };
2602
2630
  } else
2603
- pt = function(t, r) {
2604
- for (var n = []; ; ) {
2605
- var i = Fr(t, r);
2606
- if (i === void 0 || Gr(i) || Gi(i))
2631
+ dt = function(t, n) {
2632
+ for (var r = []; ; ) {
2633
+ var i = Fn(t, n);
2634
+ if (i === void 0 || Gn(i) || Ui(i))
2607
2635
  break;
2608
- n.push(i), r += i >= 65536 ? 2 : 1;
2636
+ r.push(i), n += i >= 65536 ? 2 : 1;
2609
2637
  }
2610
- return mt.apply(void 0, n);
2638
+ return mt.apply(void 0, r);
2611
2639
  };
2612
- var Wi = (
2640
+ var Ri = (
2613
2641
  /** @class */
2614
2642
  function() {
2615
- function e(t, r) {
2616
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2643
+ function e(t, n) {
2644
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2617
2645
  }
2618
2646
  return e.prototype.parse = function() {
2619
2647
  if (this.offset() !== 0)
2620
2648
  throw Error("parser can only be used once");
2621
2649
  return this.parseMessage(0, "", !1);
2622
- }, e.prototype.parseMessage = function(t, r, n) {
2650
+ }, e.prototype.parseMessage = function(t, n, r) {
2623
2651
  for (var i = []; !this.isEOF(); ) {
2624
2652
  var o = this.char();
2625
2653
  if (o === 123) {
2626
- var s = this.parseArgument(t, n);
2654
+ var s = this.parseArgument(t, r);
2627
2655
  if (s.err)
2628
2656
  return s;
2629
2657
  i.push(s.val);
2630
2658
  } else {
2631
2659
  if (o === 125 && t > 0)
2632
2660
  break;
2633
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2661
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2634
2662
  var a = this.clonePosition();
2635
2663
  this.bump(), i.push({
2636
- type: H.pound,
2664
+ type: A.pound,
2637
2665
  location: _(a, this.clonePosition())
2638
2666
  });
2639
2667
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2640
- if (n)
2668
+ if (r)
2641
2669
  break;
2642
2670
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2643
- } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2644
- var s = this.parseTag(t, r);
2671
+ } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2672
+ var s = this.parseTag(t, n);
2645
2673
  if (s.err)
2646
2674
  return s;
2647
2675
  i.push(s.val);
2648
2676
  } else {
2649
- var s = this.parseLiteral(t, r);
2677
+ var s = this.parseLiteral(t, n);
2650
2678
  if (s.err)
2651
2679
  return s;
2652
2680
  i.push(s.val);
@@ -2654,54 +2682,54 @@ var Wi = (
2654
2682
  }
2655
2683
  }
2656
2684
  return { val: i, err: null };
2657
- }, e.prototype.parseTag = function(t, r) {
2658
- var n = this.clonePosition();
2685
+ }, e.prototype.parseTag = function(t, n) {
2686
+ var r = this.clonePosition();
2659
2687
  this.bump();
2660
2688
  var i = this.parseTagName();
2661
2689
  if (this.bumpSpace(), this.bumpIf("/>"))
2662
2690
  return {
2663
2691
  val: {
2664
- type: H.literal,
2692
+ type: A.literal,
2665
2693
  value: "<".concat(i, "/>"),
2666
- location: _(n, this.clonePosition())
2694
+ location: _(r, this.clonePosition())
2667
2695
  },
2668
2696
  err: null
2669
2697
  };
2670
2698
  if (this.bumpIf(">")) {
2671
- var o = this.parseMessage(t + 1, r, !0);
2699
+ var o = this.parseMessage(t + 1, n, !0);
2672
2700
  if (o.err)
2673
2701
  return o;
2674
2702
  var s = o.val, a = this.clonePosition();
2675
2703
  if (this.bumpIf("</")) {
2676
- if (this.isEOF() || !dt(this.char()))
2704
+ if (this.isEOF() || !pt(this.char()))
2677
2705
  return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2678
2706
  var u = this.clonePosition(), l = this.parseTagName();
2679
2707
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2680
2708
  val: {
2681
- type: H.tag,
2709
+ type: A.tag,
2682
2710
  value: i,
2683
2711
  children: s,
2684
- location: _(n, this.clonePosition())
2712
+ location: _(r, this.clonePosition())
2685
2713
  },
2686
2714
  err: null
2687
2715
  } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2688
2716
  } else
2689
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2717
+ return this.error(y.UNCLOSED_TAG, _(r, this.clonePosition()));
2690
2718
  } else
2691
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2719
+ return this.error(y.INVALID_TAG, _(r, this.clonePosition()));
2692
2720
  }, e.prototype.parseTagName = function() {
2693
2721
  var t = this.offset();
2694
- for (this.bump(); !this.isEOF() && Ui(this.char()); )
2722
+ for (this.bump(); !this.isEOF() && Fi(this.char()); )
2695
2723
  this.bump();
2696
2724
  return this.message.slice(t, this.offset());
2697
- }, e.prototype.parseLiteral = function(t, r) {
2698
- for (var n = this.clonePosition(), i = ""; ; ) {
2699
- var o = this.tryParseQuote(r);
2725
+ }, e.prototype.parseLiteral = function(t, n) {
2726
+ for (var r = this.clonePosition(), i = ""; ; ) {
2727
+ var o = this.tryParseQuote(n);
2700
2728
  if (o) {
2701
2729
  i += o;
2702
2730
  continue;
2703
2731
  }
2704
- var s = this.tryParseUnquoted(t, r);
2732
+ var s = this.tryParseUnquoted(t, n);
2705
2733
  if (s) {
2706
2734
  i += s;
2707
2735
  continue;
@@ -2713,14 +2741,14 @@ var Wi = (
2713
2741
  }
2714
2742
  break;
2715
2743
  }
2716
- var u = _(n, this.clonePosition());
2744
+ var u = _(r, this.clonePosition());
2717
2745
  return {
2718
- val: { type: H.literal, value: i, location: u },
2746
+ val: { type: A.literal, value: i, location: u },
2719
2747
  err: null
2720
2748
  };
2721
2749
  }, e.prototype.tryParseLeftAngleBracket = function() {
2722
2750
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2723
- !Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
2751
+ !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
2752
  }, e.prototype.tryParseQuote = function(t) {
2725
2753
  if (this.isEOF() || this.char() !== 39)
2726
2754
  return null;
@@ -2740,59 +2768,59 @@ var Wi = (
2740
2768
  return null;
2741
2769
  }
2742
2770
  this.bump();
2743
- var r = [this.char()];
2771
+ var n = [this.char()];
2744
2772
  for (this.bump(); !this.isEOF(); ) {
2745
- var n = this.char();
2746
- if (n === 39)
2773
+ var r = this.char();
2774
+ if (r === 39)
2747
2775
  if (this.peek() === 39)
2748
- r.push(39), this.bump();
2776
+ n.push(39), this.bump();
2749
2777
  else {
2750
2778
  this.bump();
2751
2779
  break;
2752
2780
  }
2753
2781
  else
2754
- r.push(n);
2782
+ n.push(r);
2755
2783
  this.bump();
2756
2784
  }
2757
- return mt.apply(void 0, r);
2758
- }, e.prototype.tryParseUnquoted = function(t, r) {
2785
+ return mt.apply(void 0, n);
2786
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2759
2787
  if (this.isEOF())
2760
2788
  return null;
2761
- var n = this.char();
2762
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
2763
- }, e.prototype.parseArgument = function(t, r) {
2764
- var n = this.clonePosition();
2789
+ var r = this.char();
2790
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), mt(r));
2791
+ }, e.prototype.parseArgument = function(t, n) {
2792
+ var r = this.clonePosition();
2765
2793
  if (this.bump(), this.bumpSpace(), this.isEOF())
2766
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2794
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
2767
2795
  if (this.char() === 125)
2768
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2796
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(r, this.clonePosition()));
2769
2797
  var i = this.parseIdentifierIfPossible().value;
2770
2798
  if (!i)
2771
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2799
+ return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
2772
2800
  if (this.bumpSpace(), this.isEOF())
2773
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2801
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
2774
2802
  switch (this.char()) {
2775
2803
  case 125:
2776
2804
  return this.bump(), {
2777
2805
  val: {
2778
- type: H.argument,
2806
+ type: A.argument,
2779
2807
  // value does not include the opening and closing braces.
2780
2808
  value: i,
2781
- location: _(n, this.clonePosition())
2809
+ location: _(r, this.clonePosition())
2782
2810
  },
2783
2811
  err: null
2784
2812
  };
2785
2813
  case 44:
2786
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2814
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2787
2815
  default:
2788
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2816
+ return this.error(y.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
2789
2817
  }
2790
2818
  }, e.prototype.parseIdentifierIfPossible = function() {
2791
- var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
2819
+ var t = this.clonePosition(), n = this.offset(), r = dt(this.message, n), i = n + r.length;
2792
2820
  this.bumpTo(i);
2793
2821
  var o = this.clonePosition(), s = _(t, o);
2794
- return { value: n, location: s };
2795
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2822
+ return { value: r, location: s };
2823
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2796
2824
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2797
2825
  switch (a) {
2798
2826
  case "":
@@ -2807,45 +2835,45 @@ var Wi = (
2807
2835
  var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2808
2836
  if (m.err)
2809
2837
  return m;
2810
- var f = Ri(m.val);
2838
+ var f = Li(m.val);
2811
2839
  if (f.length === 0)
2812
2840
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2813
- var d = _(c, this.clonePosition());
2814
- l = { style: f, styleLocation: d };
2841
+ var p = _(c, this.clonePosition());
2842
+ l = { style: f, styleLocation: p };
2815
2843
  }
2816
2844
  var g = this.tryParseArgumentClose(i);
2817
2845
  if (g.err)
2818
2846
  return g;
2819
2847
  var b = _(i, this.clonePosition());
2820
- if (l && Qt(l?.style, "::", 0)) {
2821
- var A = Li(l.style.slice(2));
2848
+ if (l && Zt(l?.style, "::", 0)) {
2849
+ var P = Ni(l.style.slice(2));
2822
2850
  if (a === "number") {
2823
- var m = this.parseNumberSkeletonFromString(A, l.styleLocation);
2851
+ var m = this.parseNumberSkeletonFromString(P, l.styleLocation);
2824
2852
  return m.err ? m : {
2825
- val: { type: H.number, value: n, location: b, style: m.val },
2853
+ val: { type: A.number, value: r, location: b, style: m.val },
2826
2854
  err: null
2827
2855
  };
2828
2856
  } else {
2829
- if (A.length === 0)
2857
+ if (P.length === 0)
2830
2858
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2831
- var N = A;
2832
- this.locale && (N = xi(A, this.locale));
2859
+ var I = P;
2860
+ this.locale && (I = Ei(P, this.locale));
2833
2861
  var f = {
2834
- type: ue.dateTime,
2835
- pattern: N,
2862
+ type: le.dateTime,
2863
+ pattern: I,
2836
2864
  location: l.styleLocation,
2837
- parsedOptions: this.shouldParseSkeletons ? di(N) : {}
2838
- }, L = a === "date" ? H.date : H.time;
2865
+ parsedOptions: this.shouldParseSkeletons ? di(I) : {}
2866
+ }, L = a === "date" ? A.date : A.time;
2839
2867
  return {
2840
- val: { type: L, value: n, location: b, style: f },
2868
+ val: { type: L, value: r, location: b, style: f },
2841
2869
  err: null
2842
2870
  };
2843
2871
  }
2844
2872
  }
2845
2873
  return {
2846
2874
  val: {
2847
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2848
- value: n,
2875
+ type: a === "number" ? A.number : a === "date" ? A.date : A.time,
2876
+ value: r,
2849
2877
  location: b,
2850
2878
  style: (o = l?.style) !== null && o !== void 0 ? o : null
2851
2879
  },
@@ -2855,21 +2883,21 @@ var Wi = (
2855
2883
  case "plural":
2856
2884
  case "selectordinal":
2857
2885
  case "select": {
2858
- var S = this.clonePosition();
2886
+ var T = this.clonePosition();
2859
2887
  if (this.bumpSpace(), !this.bumpIf(","))
2860
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, We({}, S)));
2888
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, w({}, T)));
2861
2889
  this.bumpSpace();
2862
- var B = this.parseIdentifierIfPossible(), E = 0;
2863
- if (a !== "select" && B.value === "offset") {
2890
+ var H = this.parseIdentifierIfPossible(), E = 0;
2891
+ if (a !== "select" && H.value === "offset") {
2864
2892
  if (!this.bumpIf(":"))
2865
2893
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2866
2894
  this.bumpSpace();
2867
2895
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2868
2896
  if (m.err)
2869
2897
  return m;
2870
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), E = m.val;
2898
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = m.val;
2871
2899
  }
2872
- var R = this.tryParsePluralOrSelectOptions(t, a, r, B);
2900
+ var R = this.tryParsePluralOrSelectOptions(t, a, n, H);
2873
2901
  if (R.err)
2874
2902
  return R;
2875
2903
  var g = this.tryParseArgumentClose(i);
@@ -2878,17 +2906,17 @@ var Wi = (
2878
2906
  var W = _(i, this.clonePosition());
2879
2907
  return a === "select" ? {
2880
2908
  val: {
2881
- type: H.select,
2882
- value: n,
2883
- options: Jt(R.val),
2909
+ type: A.select,
2910
+ value: r,
2911
+ options: Qt(R.val),
2884
2912
  location: W
2885
2913
  },
2886
2914
  err: null
2887
2915
  } : {
2888
2916
  val: {
2889
- type: H.plural,
2890
- value: n,
2891
- options: Jt(R.val),
2917
+ type: A.plural,
2918
+ value: r,
2919
+ options: Qt(R.val),
2892
2920
  offset: E,
2893
2921
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2894
2922
  location: W
@@ -2902,9 +2930,9 @@ var Wi = (
2902
2930
  }, e.prototype.tryParseArgumentClose = function(t) {
2903
2931
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2904
2932
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2905
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2906
- var n = this.char();
2907
- switch (n) {
2933
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2934
+ var r = this.char();
2935
+ switch (r) {
2908
2936
  case 39: {
2909
2937
  this.bump();
2910
2938
  var i = this.clonePosition();
@@ -2922,7 +2950,7 @@ var Wi = (
2922
2950
  t -= 1;
2923
2951
  else
2924
2952
  return {
2925
- val: this.message.slice(r.offset, this.offset()),
2953
+ val: this.message.slice(n.offset, this.offset()),
2926
2954
  err: null
2927
2955
  };
2928
2956
  break;
@@ -2933,30 +2961,30 @@ var Wi = (
2933
2961
  }
2934
2962
  }
2935
2963
  return {
2936
- val: this.message.slice(r.offset, this.offset()),
2964
+ val: this.message.slice(n.offset, this.offset()),
2937
2965
  err: null
2938
2966
  };
2939
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2940
- var n = [];
2967
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2968
+ var r = [];
2941
2969
  try {
2942
- n = gi(t);
2970
+ r = bi(t);
2943
2971
  } catch {
2944
- return this.error(y.INVALID_NUMBER_SKELETON, r);
2972
+ return this.error(y.INVALID_NUMBER_SKELETON, n);
2945
2973
  }
2946
2974
  return {
2947
2975
  val: {
2948
- type: ue.number,
2949
- tokens: n,
2950
- location: r,
2951
- parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
2976
+ type: le.number,
2977
+ tokens: r,
2978
+ location: n,
2979
+ parsedOptions: this.shouldParseSkeletons ? _i(r) : {}
2952
2980
  },
2953
2981
  err: null
2954
2982
  };
2955
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2983
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2956
2984
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
2957
2985
  if (l.length === 0) {
2958
2986
  var m = this.clonePosition();
2959
- if (r !== "select" && this.bumpIf("=")) {
2987
+ if (n !== "select" && this.bumpIf("=")) {
2960
2988
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2961
2989
  if (f.err)
2962
2990
  return f;
@@ -2965,29 +2993,29 @@ var Wi = (
2965
2993
  break;
2966
2994
  }
2967
2995
  if (u.has(l))
2968
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2996
+ return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2969
2997
  l === "other" && (s = !0), this.bumpSpace();
2970
- var d = this.clonePosition();
2998
+ var p = this.clonePosition();
2971
2999
  if (!this.bumpIf("{"))
2972
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2973
- var g = this.parseMessage(t + 1, r, n);
3000
+ return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3001
+ var g = this.parseMessage(t + 1, n, r);
2974
3002
  if (g.err)
2975
3003
  return g;
2976
- var b = this.tryParseArgumentClose(d);
3004
+ var b = this.tryParseArgumentClose(p);
2977
3005
  if (b.err)
2978
3006
  return b;
2979
3007
  a.push([
2980
3008
  l,
2981
3009
  {
2982
3010
  value: g.val,
2983
- location: _(d, this.clonePosition())
3011
+ location: _(p, this.clonePosition())
2984
3012
  }
2985
3013
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
2986
3014
  }
2987
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2988
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
2989
- var n = 1, i = this.clonePosition();
2990
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3015
+ return a.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3016
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3017
+ var r = 1, i = this.clonePosition();
3018
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
2991
3019
  for (var o = !1, s = 0; !this.isEOF(); ) {
2992
3020
  var a = this.char();
2993
3021
  if (a >= 48 && a <= 57)
@@ -2996,7 +3024,7 @@ var Wi = (
2996
3024
  break;
2997
3025
  }
2998
3026
  var u = _(i, this.clonePosition());
2999
- return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3027
+ return o ? (s *= r, Oi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3000
3028
  }, e.prototype.offset = function() {
3001
3029
  return this.position.offset;
3002
3030
  }, e.prototype.isEOF = function() {
@@ -3011,17 +3039,17 @@ var Wi = (
3011
3039
  var t = this.position.offset;
3012
3040
  if (t >= this.message.length)
3013
3041
  throw Error("out of bound");
3014
- var r = Fr(this.message, t);
3015
- if (r === void 0)
3042
+ var n = Fn(this.message, t);
3043
+ if (n === void 0)
3016
3044
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3017
- return r;
3018
- }, e.prototype.error = function(t, r) {
3045
+ return n;
3046
+ }, e.prototype.error = function(t, n) {
3019
3047
  return {
3020
3048
  val: null,
3021
3049
  err: {
3022
3050
  kind: t,
3023
3051
  message: this.message,
3024
- location: r
3052
+ location: n
3025
3053
  }
3026
3054
  };
3027
3055
  }, e.prototype.bump = function() {
@@ -3030,129 +3058,129 @@ var Wi = (
3030
3058
  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);
3031
3059
  }
3032
3060
  }, e.prototype.bumpIf = function(t) {
3033
- if (Qt(this.message, t, this.offset())) {
3034
- for (var r = 0; r < t.length; r++)
3061
+ if (Zt(this.message, t, this.offset())) {
3062
+ for (var n = 0; n < t.length; n++)
3035
3063
  this.bump();
3036
3064
  return !0;
3037
3065
  }
3038
3066
  return !1;
3039
3067
  }, e.prototype.bumpUntil = function(t) {
3040
- var r = this.offset(), n = this.message.indexOf(t, r);
3041
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3068
+ var n = this.offset(), r = this.message.indexOf(t, n);
3069
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3042
3070
  }, e.prototype.bumpTo = function(t) {
3043
3071
  if (this.offset() > t)
3044
3072
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3045
3073
  for (t = Math.min(t, this.message.length); ; ) {
3046
- var r = this.offset();
3047
- if (r === t)
3074
+ var n = this.offset();
3075
+ if (n === t)
3048
3076
  break;
3049
- if (r > t)
3077
+ if (n > t)
3050
3078
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3051
3079
  if (this.bump(), this.isEOF())
3052
3080
  break;
3053
3081
  }
3054
3082
  }, e.prototype.bumpSpace = function() {
3055
- for (; !this.isEOF() && Gr(this.char()); )
3083
+ for (; !this.isEOF() && Gn(this.char()); )
3056
3084
  this.bump();
3057
3085
  }, e.prototype.peek = function() {
3058
3086
  if (this.isEOF())
3059
3087
  return null;
3060
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3061
- return n ?? null;
3088
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3089
+ return r ?? null;
3062
3090
  }, e;
3063
3091
  }()
3064
3092
  );
3065
- function dt(e) {
3093
+ function pt(e) {
3066
3094
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3067
3095
  }
3068
- function Fi(e) {
3069
- return dt(e) || e === 47;
3096
+ function Wi(e) {
3097
+ return pt(e) || e === 47;
3070
3098
  }
3071
- function Ui(e) {
3099
+ function Fi(e) {
3072
3100
  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;
3073
3101
  }
3074
- function Gr(e) {
3102
+ function Gn(e) {
3075
3103
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3076
3104
  }
3077
- function Gi(e) {
3105
+ function Ui(e) {
3078
3106
  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;
3079
3107
  }
3080
3108
  function bt(e) {
3081
3109
  e.forEach(function(t) {
3082
- if (delete t.location, Or(t) || Cr(t))
3083
- for (var r in t.options)
3084
- delete t.options[r].location, bt(t.options[r].value);
3110
+ if (delete t.location, Cn(t) || Mn(t))
3111
+ for (var n in t.options)
3112
+ delete t.options[n].location, bt(t.options[n].value);
3085
3113
  else
3086
- Hr(t) && Nr(t.style) || (Ar(t) || Pr(t)) && ct(t.style) ? delete t.style.location : Mr(t) && bt(t.children);
3114
+ Hn(t) && In(t.style) || (An(t) || Pn(t)) && ct(t.style) ? delete t.style.location : On(t) && bt(t.children);
3087
3115
  });
3088
3116
  }
3089
- function Di(e, t) {
3090
- t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3091
- var r = new Wi(e, t).parse();
3092
- if (r.err) {
3093
- var n = SyntaxError(y[r.err.kind]);
3094
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3117
+ function Gi(e, t) {
3118
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3119
+ var n = new Ri(e, t).parse();
3120
+ if (n.err) {
3121
+ var r = SyntaxError(y[n.err.kind]);
3122
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3095
3123
  }
3096
- return t?.captureLocation || bt(r.val), r.val;
3124
+ return t?.captureLocation || bt(n.val), n.val;
3097
3125
  }
3098
- var le;
3126
+ var he;
3099
3127
  (function(e) {
3100
3128
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3101
- })(le || (le = {}));
3102
- var je = (
3129
+ })(he || (he = {}));
3130
+ var Ge = (
3103
3131
  /** @class */
3104
3132
  function(e) {
3105
- De(t, e);
3106
- function t(r, n, i) {
3107
- var o = e.call(this, r) || this;
3108
- return o.code = n, o.originalMessage = i, o;
3133
+ Q(t, e);
3134
+ function t(n, r, i) {
3135
+ var o = e.call(this, n) || this;
3136
+ return o.code = r, o.originalMessage = i, o;
3109
3137
  }
3110
3138
  return t.prototype.toString = function() {
3111
3139
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3112
3140
  }, t;
3113
3141
  }(Error)
3114
- ), Yt = (
3142
+ ), qt = (
3115
3143
  /** @class */
3116
3144
  function(e) {
3117
- De(t, e);
3118
- function t(r, n, i, o) {
3119
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3145
+ Q(t, e);
3146
+ function t(n, r, i, o) {
3147
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3120
3148
  }
3121
3149
  return t;
3122
- }(je)
3123
- ), ji = (
3150
+ }(Ge)
3151
+ ), Di = (
3124
3152
  /** @class */
3125
3153
  function(e) {
3126
- De(t, e);
3127
- function t(r, n, i) {
3128
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3154
+ Q(t, e);
3155
+ function t(n, r, i) {
3156
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), he.INVALID_VALUE, i) || this;
3129
3157
  }
3130
3158
  return t;
3131
- }(je)
3159
+ }(Ge)
3132
3160
  ), ki = (
3133
3161
  /** @class */
3134
3162
  function(e) {
3135
- De(t, e);
3136
- function t(r, n) {
3137
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3163
+ Q(t, e);
3164
+ function t(n, r) {
3165
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), he.MISSING_VALUE, r) || this;
3138
3166
  }
3139
3167
  return t;
3140
- }(je)
3168
+ }(Ge)
3141
3169
  ), G;
3142
3170
  (function(e) {
3143
3171
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3144
3172
  })(G || (G = {}));
3145
- function $i(e) {
3146
- return e.length < 2 ? e : e.reduce(function(t, r) {
3147
- var n = t[t.length - 1];
3148
- return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3173
+ function ji(e) {
3174
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3175
+ var r = t[t.length - 1];
3176
+ return !r || r.type !== G.literal || n.type !== G.literal ? t.push(n) : r.value += n.value, t;
3149
3177
  }, []);
3150
3178
  }
3151
- function Vi(e) {
3179
+ function $i(e) {
3152
3180
  return typeof e == "function";
3153
3181
  }
3154
- function Ne(e, t, r, n, i, o, s) {
3155
- if (e.length === 1 && Vt(e[0]))
3182
+ function Ie(e, t, n, r, i, o, s) {
3183
+ if (e.length === 1 && $t(e[0]))
3156
3184
  return [
3157
3185
  {
3158
3186
  type: G.literal,
@@ -3161,17 +3189,17 @@ function Ne(e, t, r, n, i, o, s) {
3161
3189
  ];
3162
3190
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3163
3191
  var c = l[u];
3164
- if (Vt(c)) {
3192
+ if ($t(c)) {
3165
3193
  a.push({
3166
3194
  type: G.literal,
3167
3195
  value: c.value
3168
3196
  });
3169
3197
  continue;
3170
3198
  }
3171
- if (mi(c)) {
3199
+ if (fi(c)) {
3172
3200
  typeof o == "number" && a.push({
3173
3201
  type: G.literal,
3174
- value: r.getNumberFormat(t).format(o)
3202
+ value: n.getNumberFormat(t).format(o)
3175
3203
  });
3176
3204
  continue;
3177
3205
  }
@@ -3179,42 +3207,42 @@ function Ne(e, t, r, n, i, o, s) {
3179
3207
  if (!(i && m in i))
3180
3208
  throw new ki(m, s);
3181
3209
  var f = i[m];
3182
- if (fi(c)) {
3210
+ if (ci(c)) {
3183
3211
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3184
3212
  type: typeof f == "string" ? G.literal : G.object,
3185
3213
  value: f
3186
3214
  });
3187
3215
  continue;
3188
3216
  }
3189
- if (Ar(c)) {
3190
- var d = typeof c.style == "string" ? n.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3217
+ if (An(c)) {
3218
+ var p = typeof c.style == "string" ? r.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3191
3219
  a.push({
3192
3220
  type: G.literal,
3193
- value: r.getDateTimeFormat(t, d).format(f)
3221
+ value: n.getDateTimeFormat(t, p).format(f)
3194
3222
  });
3195
3223
  continue;
3196
3224
  }
3197
- if (Pr(c)) {
3198
- var d = typeof c.style == "string" ? n.time[c.style] : ct(c.style) ? c.style.parsedOptions : n.time.medium;
3225
+ if (Pn(c)) {
3226
+ var p = typeof c.style == "string" ? r.time[c.style] : ct(c.style) ? c.style.parsedOptions : r.time.medium;
3199
3227
  a.push({
3200
3228
  type: G.literal,
3201
- value: r.getDateTimeFormat(t, d).format(f)
3229
+ value: n.getDateTimeFormat(t, p).format(f)
3202
3230
  });
3203
3231
  continue;
3204
3232
  }
3205
- if (Hr(c)) {
3206
- var d = typeof c.style == "string" ? n.number[c.style] : Nr(c.style) ? c.style.parsedOptions : void 0;
3207
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3233
+ if (Hn(c)) {
3234
+ var p = typeof c.style == "string" ? r.number[c.style] : In(c.style) ? c.style.parsedOptions : void 0;
3235
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3208
3236
  type: G.literal,
3209
- value: r.getNumberFormat(t, d).format(f)
3237
+ value: n.getNumberFormat(t, p).format(f)
3210
3238
  });
3211
3239
  continue;
3212
3240
  }
3213
- if (Mr(c)) {
3214
- var g = c.children, b = c.value, A = i[b];
3215
- if (!Vi(A))
3216
- throw new ji(b, "function", s);
3217
- var N = Ne(g, t, r, n, i, o), L = A(N.map(function(E) {
3241
+ if (On(c)) {
3242
+ var g = c.children, b = c.value, P = i[b];
3243
+ if (!$i(P))
3244
+ throw new Di(b, "function", s);
3245
+ var I = Ie(g, t, n, r, i, o), L = P(I.map(function(E) {
3218
3246
  return E.value;
3219
3247
  }));
3220
3248
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(E) {
@@ -3224,92 +3252,92 @@ function Ne(e, t, r, n, i, o, s) {
3224
3252
  };
3225
3253
  }));
3226
3254
  }
3227
- if (Or(c)) {
3228
- var S = c.options[f] || c.options.other;
3229
- if (!S)
3230
- throw new Yt(c.value, f, Object.keys(c.options), s);
3231
- a.push.apply(a, Ne(S.value, t, r, n, i));
3255
+ if (Cn(c)) {
3256
+ var T = c.options[f] || c.options.other;
3257
+ if (!T)
3258
+ throw new qt(c.value, f, Object.keys(c.options), s);
3259
+ a.push.apply(a, Ie(T.value, t, n, r, i));
3232
3260
  continue;
3233
3261
  }
3234
- if (Cr(c)) {
3235
- var S = c.options["=".concat(f)];
3236
- if (!S) {
3262
+ if (Mn(c)) {
3263
+ var T = c.options["=".concat(f)];
3264
+ if (!T) {
3237
3265
  if (!Intl.PluralRules)
3238
- throw new je(`Intl.PluralRules is not available in this environment.
3266
+ throw new Ge(`Intl.PluralRules is not available in this environment.
3239
3267
  Try polyfilling it using "@formatjs/intl-pluralrules"
3240
- `, le.MISSING_INTL_API, s);
3241
- var B = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3242
- S = c.options[B] || c.options.other;
3268
+ `, he.MISSING_INTL_API, s);
3269
+ var H = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3270
+ T = c.options[H] || c.options.other;
3243
3271
  }
3244
- if (!S)
3245
- throw new Yt(c.value, f, Object.keys(c.options), s);
3246
- a.push.apply(a, Ne(S.value, t, r, n, i, f - (c.offset || 0)));
3272
+ if (!T)
3273
+ throw new qt(c.value, f, Object.keys(c.options), s);
3274
+ a.push.apply(a, Ie(T.value, t, n, r, i, f - (c.offset || 0)));
3247
3275
  continue;
3248
3276
  }
3249
3277
  }
3250
- return $i(a);
3278
+ return ji(a);
3251
3279
  }
3252
- function Xi(e, t) {
3253
- return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3254
- return r[n] = z(z({}, e[n]), t[n] || {}), r;
3280
+ function Vi(e, t) {
3281
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3282
+ return n[r] = w(w({}, e[r]), t[r] || {}), n;
3255
3283
  }, {})) : e;
3256
3284
  }
3257
- function zi(e, t) {
3258
- return t ? Object.keys(e).reduce(function(r, n) {
3259
- return r[n] = Xi(e[n], t[n]), r;
3260
- }, z({}, e)) : e;
3285
+ function Xi(e, t) {
3286
+ return t ? Object.keys(e).reduce(function(n, r) {
3287
+ return n[r] = Vi(e[r], t[r]), n;
3288
+ }, w({}, e)) : e;
3261
3289
  }
3262
- function ot(e) {
3290
+ function nt(e) {
3263
3291
  return {
3264
3292
  create: function() {
3265
3293
  return {
3266
3294
  get: function(t) {
3267
3295
  return e[t];
3268
3296
  },
3269
- set: function(t, r) {
3270
- e[t] = r;
3297
+ set: function(t, n) {
3298
+ e[t] = n;
3271
3299
  }
3272
3300
  };
3273
3301
  }
3274
3302
  };
3275
3303
  }
3276
- function Zi(e) {
3304
+ function zi(e) {
3277
3305
  return e === void 0 && (e = {
3278
3306
  number: {},
3279
3307
  dateTime: {},
3280
3308
  pluralRules: {}
3281
3309
  }), {
3282
- getNumberFormat: rt(function() {
3283
- for (var t, r = [], n = 0; n < arguments.length; n++)
3284
- r[n] = arguments[n];
3285
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3310
+ getNumberFormat: Ke(function() {
3311
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3312
+ n[r] = arguments[r];
3313
+ return new ((t = Intl.NumberFormat).bind.apply(t, ae([void 0], n, !1)))();
3286
3314
  }, {
3287
- cache: ot(e.number),
3288
- strategy: nt.variadic
3315
+ cache: nt(e.number),
3316
+ strategy: et.variadic
3289
3317
  }),
3290
- getDateTimeFormat: rt(function() {
3291
- for (var t, r = [], n = 0; n < arguments.length; n++)
3292
- r[n] = arguments[n];
3293
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3318
+ getDateTimeFormat: Ke(function() {
3319
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3320
+ n[r] = arguments[r];
3321
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ae([void 0], n, !1)))();
3294
3322
  }, {
3295
- cache: ot(e.dateTime),
3296
- strategy: nt.variadic
3323
+ cache: nt(e.dateTime),
3324
+ strategy: et.variadic
3297
3325
  }),
3298
- getPluralRules: rt(function() {
3299
- for (var t, r = [], n = 0; n < arguments.length; n++)
3300
- r[n] = arguments[n];
3301
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3326
+ getPluralRules: Ke(function() {
3327
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3328
+ n[r] = arguments[r];
3329
+ return new ((t = Intl.PluralRules).bind.apply(t, ae([void 0], n, !1)))();
3302
3330
  }, {
3303
- cache: ot(e.pluralRules),
3304
- strategy: nt.variadic
3331
+ cache: nt(e.pluralRules),
3332
+ strategy: et.variadic
3305
3333
  })
3306
3334
  };
3307
3335
  }
3308
- var Qi = (
3336
+ var Zi = (
3309
3337
  /** @class */
3310
3338
  function() {
3311
- function e(t, r, n, i) {
3312
- r === void 0 && (r = e.defaultLocale);
3339
+ function e(t, n, r, i) {
3340
+ n === void 0 && (n = e.defaultLocale);
3313
3341
  var o = this;
3314
3342
  if (this.formatterCache = {
3315
3343
  number: {},
@@ -3324,7 +3352,7 @@ var Qi = (
3324
3352
  }, []);
3325
3353
  return c.length <= 1 ? c[0] || "" : c;
3326
3354
  }, this.formatToParts = function(u) {
3327
- return Ne(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3355
+ return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3328
3356
  }, this.resolvedOptions = function() {
3329
3357
  var u;
3330
3358
  return {
@@ -3332,18 +3360,18 @@ var Qi = (
3332
3360
  };
3333
3361
  }, this.getAst = function() {
3334
3362
  return o.ast;
3335
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3363
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3336
3364
  if (this.message = t, !e.__parse)
3337
3365
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3338
3366
  var s = i || {};
3339
3367
  s.formatters;
3340
3368
  var a = ii(s, ["formatters"]);
3341
- this.ast = e.__parse(t, z(z({}, a), { locale: this.resolvedLocale }));
3369
+ this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3342
3370
  } else
3343
3371
  this.ast = t;
3344
3372
  if (!Array.isArray(this.ast))
3345
3373
  throw new TypeError("A message must be provided as a String or AST.");
3346
- this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
3374
+ this.formats = Xi(e.formats, r), this.formatters = i && i.formatters || zi(this.formatterCache);
3347
3375
  }
3348
3376
  return Object.defineProperty(e, "defaultLocale", {
3349
3377
  get: function() {
@@ -3353,10 +3381,10 @@ var Qi = (
3353
3381
  configurable: !0
3354
3382
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3355
3383
  if (!(typeof Intl.Locale > "u")) {
3356
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3357
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3384
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3385
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3358
3386
  }
3359
- }, e.__parse = Di, e.formats = {
3387
+ }, e.__parse = Gi, e.formats = {
3360
3388
  number: {
3361
3389
  integer: {
3362
3390
  maximumFractionDigits: 0
@@ -3417,113 +3445,113 @@ var Qi = (
3417
3445
  }, e;
3418
3446
  }()
3419
3447
  );
3420
- function Ji(e, t) {
3448
+ function Qi(e, t) {
3421
3449
  if (t == null)
3422
3450
  return;
3423
3451
  if (t in e)
3424
3452
  return e[t];
3425
- const r = t.split(".");
3426
- let n = e;
3427
- for (let i = 0; i < r.length; i++)
3428
- if (typeof n == "object") {
3453
+ const n = t.split(".");
3454
+ let r = e;
3455
+ for (let i = 0; i < n.length; i++)
3456
+ if (typeof r == "object") {
3429
3457
  if (i > 0) {
3430
- const o = r.slice(i, r.length).join(".");
3431
- if (o in n) {
3432
- n = n[o];
3458
+ const o = n.slice(i, n.length).join(".");
3459
+ if (o in r) {
3460
+ r = r[o];
3433
3461
  break;
3434
3462
  }
3435
3463
  }
3436
- n = n[r[i]];
3464
+ r = r[n[i]];
3437
3465
  } else
3438
- n = void 0;
3439
- return n;
3466
+ r = void 0;
3467
+ return r;
3440
3468
  }
3441
- const q = {}, qi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Dr = (e, t) => {
3469
+ const q = {}, Ji = (e, t, n) => n && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = n), n), Dn = (e, t) => {
3442
3470
  if (t == null)
3443
3471
  return;
3444
3472
  if (t in q && e in q[t])
3445
3473
  return q[t][e];
3446
- const r = ke(t);
3447
- for (let n = 0; n < r.length; n++) {
3448
- const i = r[n], o = Ki(i, e);
3474
+ const n = De(t);
3475
+ for (let r = 0; r < n.length; r++) {
3476
+ const i = n[r], o = Yi(i, e);
3449
3477
  if (o)
3450
- return qi(e, t, o);
3478
+ return Ji(e, t, o);
3451
3479
  }
3452
3480
  };
3453
- let Ht;
3454
- const Te = Ge({});
3455
- function Yi(e) {
3456
- return Ht[e] || null;
3481
+ let Tt;
3482
+ const Be = Ue({});
3483
+ function qi(e) {
3484
+ return Tt[e] || null;
3457
3485
  }
3458
- function jr(e) {
3459
- return e in Ht;
3486
+ function kn(e) {
3487
+ return e in Tt;
3460
3488
  }
3461
- function Ki(e, t) {
3462
- if (!jr(e))
3489
+ function Yi(e, t) {
3490
+ if (!kn(e))
3463
3491
  return null;
3464
- const r = Yi(e);
3465
- return Ji(r, t);
3492
+ const n = qi(e);
3493
+ return Qi(n, t);
3466
3494
  }
3467
- function eo(e) {
3495
+ function Ki(e) {
3468
3496
  if (e == null)
3469
3497
  return;
3470
- const t = ke(e);
3471
- for (let r = 0; r < t.length; r++) {
3472
- const n = t[r];
3473
- if (jr(n))
3474
- return n;
3498
+ const t = De(e);
3499
+ for (let n = 0; n < t.length; n++) {
3500
+ const r = t[n];
3501
+ if (kn(r))
3502
+ return r;
3475
3503
  }
3476
3504
  }
3477
- function kr(e, ...t) {
3478
- delete q[e], Te.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
3505
+ function jn(e, ...t) {
3506
+ delete q[e], Be.update((n) => (n[e] = ri.all([n[e] || {}, ...t]), n));
3479
3507
  }
3480
- fe(
3481
- [Te],
3508
+ me(
3509
+ [Be],
3482
3510
  ([e]) => Object.keys(e)
3483
3511
  );
3484
- Te.subscribe((e) => Ht = e);
3485
- const Ie = {};
3486
- function to(e, t) {
3487
- Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3512
+ Be.subscribe((e) => Tt = e);
3513
+ const Ne = {};
3514
+ function eo(e, t) {
3515
+ Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3488
3516
  }
3489
- function $r(e) {
3490
- return Ie[e];
3517
+ function $n(e) {
3518
+ return Ne[e];
3491
3519
  }
3492
- function ro(e) {
3493
- return ke(e).map((t) => {
3494
- const r = $r(t);
3495
- return [t, r ? [...r] : []];
3520
+ function to(e) {
3521
+ return De(e).map((t) => {
3522
+ const n = $n(t);
3523
+ return [t, n ? [...n] : []];
3496
3524
  }).filter(([, t]) => t.length > 0);
3497
3525
  }
3498
3526
  function gt(e) {
3499
- return e == null ? !1 : ke(e).some(
3527
+ return e == null ? !1 : De(e).some(
3500
3528
  (t) => {
3501
- var r;
3502
- return (r = $r(t)) == null ? void 0 : r.size;
3529
+ var n;
3530
+ return (n = $n(t)) == null ? void 0 : n.size;
3503
3531
  }
3504
3532
  );
3505
3533
  }
3506
3534
  function no(e, t) {
3507
3535
  return Promise.all(
3508
- t.map((n) => (to(e, n), n().then((i) => i.default || i)))
3509
- ).then((n) => kr(e, ...n));
3536
+ t.map((r) => (eo(e, r), r().then((i) => i.default || i)))
3537
+ ).then((r) => jn(e, ...r));
3510
3538
  }
3511
- const ye = {};
3512
- function Vr(e) {
3539
+ const ve = {};
3540
+ function Vn(e) {
3513
3541
  if (!gt(e))
3514
- return e in ye ? ye[e] : Promise.resolve();
3515
- const t = ro(e);
3516
- return ye[e] = Promise.all(
3542
+ return e in ve ? ve[e] : Promise.resolve();
3543
+ const t = to(e);
3544
+ return ve[e] = Promise.all(
3517
3545
  t.map(
3518
- ([r, n]) => no(r, n)
3546
+ ([n, r]) => no(n, r)
3519
3547
  )
3520
3548
  ).then(() => {
3521
3549
  if (gt(e))
3522
- return Vr(e);
3523
- delete ye[e];
3524
- }), ye[e];
3550
+ return Vn(e);
3551
+ delete ve[e];
3552
+ }), ve[e];
3525
3553
  }
3526
- const io = {
3554
+ const ro = {
3527
3555
  number: {
3528
3556
  scientific: { notation: "scientific" },
3529
3557
  engineering: { notation: "engineering" },
@@ -3552,136 +3580,136 @@ const io = {
3552
3580
  timeZoneName: "short"
3553
3581
  }
3554
3582
  }
3555
- }, oo = {
3583
+ }, io = {
3556
3584
  fallbackLocale: null,
3557
3585
  loadingDelay: 200,
3558
- formats: io,
3586
+ formats: ro,
3559
3587
  warnOnMissingMessages: !0,
3560
3588
  handleMissingMessage: void 0,
3561
3589
  ignoreTag: !0
3562
- }, so = oo;
3563
- function he() {
3564
- return so;
3565
- }
3566
- const st = Ge(!1);
3567
- var ao = Object.defineProperty, uo = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fo = (e, t) => {
3568
- for (var r in t || (t = {}))
3569
- ho.call(t, r) && er(e, r, t[r]);
3570
- if (Kt)
3571
- for (var r of Kt(t))
3572
- co.call(t, r) && er(e, r, t[r]);
3590
+ }, oo = io;
3591
+ function ce() {
3592
+ return oo;
3593
+ }
3594
+ const rt = Ue(!1);
3595
+ var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, Kt = (e, t, n) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, co = (e, t) => {
3596
+ for (var n in t || (t = {}))
3597
+ lo.call(t, n) && Kt(e, n, t[n]);
3598
+ if (Yt)
3599
+ for (var n of Yt(t))
3600
+ ho.call(t, n) && Kt(e, n, t[n]);
3573
3601
  return e;
3574
- }, mo = (e, t) => uo(e, lo(t));
3602
+ }, fo = (e, t) => ao(e, uo(t));
3575
3603
  let yt;
3576
- const Fe = Ge(null);
3577
- function tr(e) {
3578
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3604
+ const We = Ue(null);
3605
+ function en(e) {
3606
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3579
3607
  }
3580
- function ke(e, t = he().fallbackLocale) {
3581
- const r = tr(e);
3582
- return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
3608
+ function De(e, t = ce().fallbackLocale) {
3609
+ const n = en(e);
3610
+ return t ? [.../* @__PURE__ */ new Set([...n, ...en(t)])] : n;
3583
3611
  }
3584
3612
  function ee() {
3585
3613
  return yt ?? void 0;
3586
3614
  }
3587
- Fe.subscribe((e) => {
3615
+ We.subscribe((e) => {
3588
3616
  yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3589
3617
  });
3590
- const po = (e) => {
3591
- if (e && eo(e) && gt(e)) {
3592
- const { loadingDelay: t } = he();
3593
- let r;
3594
- return typeof window < "u" && ee() != null && t ? r = window.setTimeout(
3595
- () => st.set(!0),
3618
+ const mo = (e) => {
3619
+ if (e && Ki(e) && gt(e)) {
3620
+ const { loadingDelay: t } = ce();
3621
+ let n;
3622
+ return typeof window < "u" && ee() != null && t ? n = window.setTimeout(
3623
+ () => rt.set(!0),
3596
3624
  t
3597
- ) : st.set(!0), Vr(e).then(() => {
3598
- Fe.set(e);
3625
+ ) : rt.set(!0), Vn(e).then(() => {
3626
+ We.set(e);
3599
3627
  }).finally(() => {
3600
- clearTimeout(r), st.set(!1);
3628
+ clearTimeout(n), rt.set(!1);
3601
3629
  });
3602
3630
  }
3603
- return Fe.set(e);
3604
- }, me = mo(fo({}, Fe), {
3605
- set: po
3606
- }), $e = (e) => {
3631
+ return We.set(e);
3632
+ }, de = fo(co({}, We), {
3633
+ set: mo
3634
+ }), ke = (e) => {
3607
3635
  const t = /* @__PURE__ */ Object.create(null);
3608
- return (n) => {
3609
- const i = JSON.stringify(n);
3610
- return i in t ? t[i] : t[i] = e(n);
3636
+ return (r) => {
3637
+ const i = JSON.stringify(r);
3638
+ return i in t ? t[i] : t[i] = e(r);
3611
3639
  };
3612
3640
  };
3613
- var bo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
3614
- for (var r in t || (t = {}))
3615
- Xr.call(t, r) && rr(e, r, t[r]);
3616
- if (Ue)
3617
- for (var r of Ue(t))
3618
- zr.call(t, r) && rr(e, r, t[r]);
3641
+ var po = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, tn = (e, t, n) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bt = (e, t) => {
3642
+ for (var n in t || (t = {}))
3643
+ Xn.call(t, n) && tn(e, n, t[n]);
3644
+ if (Fe)
3645
+ for (var n of Fe(t))
3646
+ zn.call(t, n) && tn(e, n, t[n]);
3619
3647
  return e;
3620
3648
  }, pe = (e, t) => {
3621
- var r = {};
3622
- for (var n in e)
3623
- Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3624
- if (e != null && Ue)
3625
- for (var n of Ue(e))
3626
- t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
3627
- return r;
3649
+ var n = {};
3650
+ for (var r in e)
3651
+ Xn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3652
+ if (e != null && Fe)
3653
+ for (var r of Fe(e))
3654
+ t.indexOf(r) < 0 && zn.call(e, r) && (n[r] = e[r]);
3655
+ return n;
3628
3656
  };
3629
- const Se = (e, t) => {
3630
- const { formats: r } = he();
3631
- if (e in r && t in r[e])
3632
- return r[e][t];
3657
+ const Te = (e, t) => {
3658
+ const { formats: n } = ce();
3659
+ if (e in n && t in n[e])
3660
+ return n[e][t];
3633
3661
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3634
- }, go = $e(
3662
+ }, bo = ke(
3635
3663
  (e) => {
3636
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3637
- if (r == null)
3664
+ var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
3665
+ if (n == null)
3638
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3639
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
3667
+ return r && (i = Te("number", r)), new Intl.NumberFormat(n, i);
3640
3668
  }
3641
- ), yo = $e(
3669
+ ), go = ke(
3642
3670
  (e) => {
3643
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3644
- if (r == null)
3671
+ var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
3672
+ if (n == null)
3645
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3646
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
3674
+ return r ? i = Te("date", r) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(n, i);
3647
3675
  }
3648
- ), vo = $e(
3676
+ ), yo = ke(
3649
3677
  (e) => {
3650
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3651
- if (r == null)
3678
+ var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
3679
+ if (n == null)
3652
3680
  throw new Error(
3653
3681
  '[svelte-i18n] A "locale" must be set to format time values'
3654
3682
  );
3655
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3683
+ return r ? i = Te("time", r) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(n, i);
3656
3684
  }
3657
- ), _o = (e = {}) => {
3685
+ ), vo = (e = {}) => {
3658
3686
  var t = e, {
3659
- locale: r = ee()
3660
- } = t, n = pe(t, [
3687
+ locale: n = ee()
3688
+ } = t, r = pe(t, [
3661
3689
  "locale"
3662
3690
  ]);
3663
- return go(At({ locale: r }, n));
3664
- }, Eo = (e = {}) => {
3691
+ return bo(Bt({ locale: n }, r));
3692
+ }, _o = (e = {}) => {
3665
3693
  var t = e, {
3666
- locale: r = ee()
3667
- } = t, n = pe(t, [
3694
+ locale: n = ee()
3695
+ } = t, r = pe(t, [
3668
3696
  "locale"
3669
3697
  ]);
3670
- return yo(At({ locale: r }, n));
3671
- }, xo = (e = {}) => {
3698
+ return go(Bt({ locale: n }, r));
3699
+ }, Eo = (e = {}) => {
3672
3700
  var t = e, {
3673
- locale: r = ee()
3674
- } = t, n = pe(t, [
3701
+ locale: n = ee()
3702
+ } = t, r = pe(t, [
3675
3703
  "locale"
3676
3704
  ]);
3677
- return vo(At({ locale: r }, n));
3678
- }, wo = $e(
3705
+ return yo(Bt({ locale: n }, r));
3706
+ }, xo = ke(
3679
3707
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3680
- (e, t = ee()) => new Qi(e, t, he().formats, {
3681
- ignoreTag: he().ignoreTag
3708
+ (e, t = ee()) => new Zi(e, t, ce().formats, {
3709
+ ignoreTag: ce().ignoreTag
3682
3710
  })
3683
- ), So = (e, t = {}) => {
3684
- var r, n, i, o;
3711
+ ), wo = (e, t = {}) => {
3712
+ var n, r, i, o;
3685
3713
  let s = t;
3686
3714
  typeof e == "object" && (s = e, e = s.id);
3687
3715
  const {
@@ -3693,9 +3721,9 @@ const Se = (e, t) => {
3693
3721
  throw new Error(
3694
3722
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3695
3723
  );
3696
- let c = Dr(e, u);
3724
+ let c = Dn(e, u);
3697
3725
  if (!c)
3698
- c = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3726
+ c = (o = (i = (r = (n = ce()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3699
3727
  else if (typeof c != "string")
3700
3728
  return console.warn(
3701
3729
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3704,7 +3732,7 @@ const Se = (e, t) => {
3704
3732
  return c;
3705
3733
  let m = c;
3706
3734
  try {
3707
- m = wo(c, u).format(a);
3735
+ m = xo(c, u).format(a);
3708
3736
  } catch (f) {
3709
3737
  f instanceof Error && console.warn(
3710
3738
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3712,16 +3740,16 @@ const Se = (e, t) => {
3712
3740
  );
3713
3741
  }
3714
3742
  return m;
3715
- }, To = (e, t) => xo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ho = (e, t) => _o(t).format(e), Ao = (e, t = ee()) => Dr(e, t), Po = fe([me, Te], () => So);
3716
- fe([me], () => To);
3717
- fe([me], () => Bo);
3718
- fe([me], () => Ho);
3719
- fe([me, Te], () => Ao);
3720
- function Oo(e, t) {
3721
- kr(e, t);
3743
+ }, So = (e, t) => Eo(t).format(e), To = (e, t) => _o(t).format(e), Bo = (e, t) => vo(t).format(e), Ho = (e, t = ee()) => Dn(e, t), Ao = me([de, Be], () => wo);
3744
+ me([de], () => So);
3745
+ me([de], () => To);
3746
+ me([de], () => Bo);
3747
+ me([de, Be], () => Ho);
3748
+ function Po(e, t) {
3749
+ jn(e, t);
3722
3750
  }
3723
3751
  function Co(e) {
3724
- me.set(e);
3752
+ de.set(e);
3725
3753
  }
3726
3754
  const Mo = {
3727
3755
  en: {
@@ -3839,112 +3867,43 @@ const Mo = {
3839
3867
  noWinnersMessage: "Currently there are no winners."
3840
3868
  }
3841
3869
  };
3842
- /*! *****************************************************************************
3843
- Copyright (c) Microsoft Corporation.
3844
-
3845
- Permission to use, copy, modify, and/or distribute this software for any
3846
- purpose with or without fee is hereby granted.
3847
-
3848
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3849
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3850
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3851
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3852
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3853
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3854
- PERFORMANCE OF THIS SOFTWARE.
3855
- ***************************************************************************** */
3856
- var vt = function(e, t) {
3857
- return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3858
- r.__proto__ = n;
3859
- } || function(r, n) {
3860
- for (var i in n)
3861
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3862
- }, vt(e, t);
3863
- };
3864
- function Be(e, t) {
3865
- if (typeof t != "function" && t !== null)
3866
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3867
- vt(e, t);
3868
- function r() {
3869
- this.constructor = e;
3870
- }
3871
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3872
- }
3873
- function _t(e) {
3874
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3875
- if (r)
3876
- return r.call(e);
3877
- if (e && typeof e.length == "number")
3878
- return {
3879
- next: function() {
3880
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3881
- }
3882
- };
3883
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3884
- }
3885
- function Et(e, t) {
3886
- var r = typeof Symbol == "function" && e[Symbol.iterator];
3887
- if (!r)
3888
- return e;
3889
- var n = r.call(e), i, o = [], s;
3890
- try {
3891
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3892
- o.push(i.value);
3893
- } catch (a) {
3894
- s = { error: a };
3895
- } finally {
3896
- try {
3897
- i && !i.done && (r = n.return) && r.call(n);
3898
- } finally {
3899
- if (s)
3900
- throw s.error;
3901
- }
3902
- }
3903
- return o;
3904
- }
3905
- function xt(e, t, r) {
3906
- if (arguments.length === 2)
3907
- for (var n = 0, i = t.length, o; n < i; n++)
3908
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3909
- return e.concat(o || t);
3910
- }
3911
- function Q(e) {
3870
+ function Z(e) {
3912
3871
  return typeof e == "function";
3913
3872
  }
3914
- function Zr(e) {
3915
- var t = function(n) {
3916
- Error.call(n), n.stack = new Error().stack;
3917
- }, r = e(t);
3918
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3919
- }
3920
- var at = Zr(function(e) {
3921
- return function(r) {
3922
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3923
- ` + r.map(function(n, i) {
3924
- return i + 1 + ") " + n.toString();
3873
+ function Zn(e) {
3874
+ var t = function(r) {
3875
+ Error.call(r), r.stack = new Error().stack;
3876
+ }, n = e(t);
3877
+ return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
3878
+ }
3879
+ var it = Zn(function(e) {
3880
+ return function(n) {
3881
+ e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
3882
+ ` + n.map(function(r, i) {
3883
+ return i + 1 + ") " + r.toString();
3925
3884
  }).join(`
3926
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
3885
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
3927
3886
  };
3928
3887
  });
3929
- function wt(e, t) {
3888
+ function vt(e, t) {
3930
3889
  if (e) {
3931
- var r = e.indexOf(t);
3932
- 0 <= r && e.splice(r, 1);
3890
+ var n = e.indexOf(t);
3891
+ 0 <= n && e.splice(n, 1);
3933
3892
  }
3934
3893
  }
3935
- var Ve = function() {
3894
+ var je = function() {
3936
3895
  function e(t) {
3937
3896
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3938
3897
  }
3939
3898
  return e.prototype.unsubscribe = function() {
3940
- var t, r, n, i, o;
3899
+ var t, n, r, i, o;
3941
3900
  if (!this.closed) {
3942
3901
  this.closed = !0;
3943
3902
  var s = this._parentage;
3944
3903
  if (s)
3945
3904
  if (this._parentage = null, Array.isArray(s))
3946
3905
  try {
3947
- for (var a = _t(s), u = a.next(); !u.done; u = a.next()) {
3906
+ for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
3948
3907
  var l = u.value;
3949
3908
  l.remove(this);
3950
3909
  }
@@ -3952,7 +3911,7 @@ var Ve = function() {
3952
3911
  t = { error: b };
3953
3912
  } finally {
3954
3913
  try {
3955
- u && !u.done && (r = a.return) && r.call(a);
3914
+ u && !u.done && (n = a.return) && n.call(a);
3956
3915
  } finally {
3957
3916
  if (t)
3958
3917
  throw t.error;
@@ -3961,118 +3920,122 @@ var Ve = function() {
3961
3920
  else
3962
3921
  s.remove(this);
3963
3922
  var c = this.initialTeardown;
3964
- if (Q(c))
3923
+ if (Z(c))
3965
3924
  try {
3966
3925
  c();
3967
3926
  } catch (b) {
3968
- o = b instanceof at ? b.errors : [b];
3927
+ o = b instanceof it ? b.errors : [b];
3969
3928
  }
3970
3929
  var m = this._finalizers;
3971
3930
  if (m) {
3972
3931
  this._finalizers = null;
3973
3932
  try {
3974
- for (var f = _t(m), d = f.next(); !d.done; d = f.next()) {
3975
- var g = d.value;
3933
+ for (var f = lt(m), p = f.next(); !p.done; p = f.next()) {
3934
+ var g = p.value;
3976
3935
  try {
3977
- nr(g);
3936
+ nn(g);
3978
3937
  } catch (b) {
3979
- o = o ?? [], b instanceof at ? o = xt(xt([], Et(o)), Et(b.errors)) : o.push(b);
3938
+ o = o ?? [], b instanceof it ? o = ae(ae([], ht(o)), ht(b.errors)) : o.push(b);
3980
3939
  }
3981
3940
  }
3982
3941
  } catch (b) {
3983
- n = { error: b };
3942
+ r = { error: b };
3984
3943
  } finally {
3985
3944
  try {
3986
- d && !d.done && (i = f.return) && i.call(f);
3945
+ p && !p.done && (i = f.return) && i.call(f);
3987
3946
  } finally {
3988
- if (n)
3989
- throw n.error;
3947
+ if (r)
3948
+ throw r.error;
3990
3949
  }
3991
3950
  }
3992
3951
  }
3993
3952
  if (o)
3994
- throw new at(o);
3953
+ throw new it(o);
3995
3954
  }
3996
3955
  }, e.prototype.add = function(t) {
3997
- var r;
3956
+ var n;
3998
3957
  if (t && t !== this)
3999
3958
  if (this.closed)
4000
- nr(t);
3959
+ nn(t);
4001
3960
  else {
4002
3961
  if (t instanceof e) {
4003
3962
  if (t.closed || t._hasParent(this))
4004
3963
  return;
4005
3964
  t._addParent(this);
4006
3965
  }
4007
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
3966
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
4008
3967
  }
4009
3968
  }, e.prototype._hasParent = function(t) {
4010
- var r = this._parentage;
4011
- return r === t || Array.isArray(r) && r.includes(t);
3969
+ var n = this._parentage;
3970
+ return n === t || Array.isArray(n) && n.includes(t);
4012
3971
  }, e.prototype._addParent = function(t) {
4013
- var r = this._parentage;
4014
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3972
+ var n = this._parentage;
3973
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
4015
3974
  }, e.prototype._removeParent = function(t) {
4016
- var r = this._parentage;
4017
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
3975
+ var n = this._parentage;
3976
+ n === t ? this._parentage = null : Array.isArray(n) && vt(n, t);
4018
3977
  }, e.prototype.remove = function(t) {
4019
- var r = this._finalizers;
4020
- r && wt(r, t), t instanceof e && t._removeParent(this);
3978
+ var n = this._finalizers;
3979
+ n && vt(n, t), t instanceof e && t._removeParent(this);
4021
3980
  }, e.EMPTY = function() {
4022
3981
  var t = new e();
4023
3982
  return t.closed = !0, t;
4024
3983
  }(), e;
4025
- }(), Qr = Ve.EMPTY;
4026
- function Jr(e) {
4027
- return e instanceof Ve || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
4028
- }
4029
- function nr(e) {
4030
- Q(e) ? e() : e.unsubscribe();
4031
- }
4032
- var No = {
4033
- Promise: void 0
4034
- }, Io = {
3984
+ }(), Qn = je.EMPTY;
3985
+ function Jn(e) {
3986
+ return e instanceof je || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
3987
+ }
3988
+ function nn(e) {
3989
+ Z(e) ? e() : e.unsubscribe();
3990
+ }
3991
+ var qn = {
3992
+ onUnhandledError: null,
3993
+ onStoppedNotification: null,
3994
+ Promise: void 0,
3995
+ useDeprecatedSynchronousErrorHandling: !1,
3996
+ useDeprecatedNextContext: !1
3997
+ }, Oo = {
4035
3998
  setTimeout: function(e, t) {
4036
- for (var r = [], n = 2; n < arguments.length; n++)
4037
- r[n - 2] = arguments[n];
4038
- return setTimeout.apply(void 0, xt([e, t], Et(r)));
3999
+ for (var n = [], r = 2; r < arguments.length; r++)
4000
+ n[r - 2] = arguments[r];
4001
+ return setTimeout.apply(void 0, ae([e, t], ht(n)));
4039
4002
  },
4040
4003
  clearTimeout: function(e) {
4041
4004
  return clearTimeout(e);
4042
4005
  },
4043
4006
  delegate: void 0
4044
4007
  };
4045
- function Lo(e) {
4046
- Io.setTimeout(function() {
4008
+ function Io(e) {
4009
+ Oo.setTimeout(function() {
4047
4010
  throw e;
4048
4011
  });
4049
4012
  }
4050
- function ir() {
4013
+ function rn() {
4051
4014
  }
4052
4015
  function Le(e) {
4053
4016
  e();
4054
4017
  }
4055
- var qr = function(e) {
4056
- Be(t, e);
4057
- function t(r) {
4058
- var n = e.call(this) || this;
4059
- return n.isStopped = !1, r ? (n.destination = r, Jr(r) && r.add(n)) : n.destination = Fo, n;
4018
+ var Yn = function(e) {
4019
+ Q(t, e);
4020
+ function t(n) {
4021
+ var r = e.call(this) || this;
4022
+ return r.isStopped = !1, n ? (r.destination = n, Jn(n) && n.add(r)) : r.destination = Wo, r;
4060
4023
  }
4061
- return t.create = function(r, n, i) {
4062
- return new St(r, n, i);
4063
- }, t.prototype.next = function(r) {
4064
- this.isStopped || this._next(r);
4065
- }, t.prototype.error = function(r) {
4066
- this.isStopped || (this.isStopped = !0, this._error(r));
4024
+ return t.create = function(n, r, i) {
4025
+ return new _t(n, r, i);
4026
+ }, t.prototype.next = function(n) {
4027
+ this.isStopped || this._next(n);
4028
+ }, t.prototype.error = function(n) {
4029
+ this.isStopped || (this.isStopped = !0, this._error(n));
4067
4030
  }, t.prototype.complete = function() {
4068
4031
  this.isStopped || (this.isStopped = !0, this._complete());
4069
4032
  }, t.prototype.unsubscribe = function() {
4070
4033
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
4071
- }, t.prototype._next = function(r) {
4072
- this.destination.next(r);
4073
- }, t.prototype._error = function(r) {
4034
+ }, t.prototype._next = function(n) {
4035
+ this.destination.next(n);
4036
+ }, t.prototype._error = function(n) {
4074
4037
  try {
4075
- this.destination.error(r);
4038
+ this.destination.error(n);
4076
4039
  } finally {
4077
4040
  this.unsubscribe();
4078
4041
  }
@@ -4083,82 +4046,98 @@ var qr = function(e) {
4083
4046
  this.unsubscribe();
4084
4047
  }
4085
4048
  }, t;
4086
- }(Ve), Ro = function() {
4049
+ }(je), No = Function.prototype.bind;
4050
+ function ot(e, t) {
4051
+ return No.call(e, t);
4052
+ }
4053
+ var Lo = function() {
4087
4054
  function e(t) {
4088
4055
  this.partialObserver = t;
4089
4056
  }
4090
4057
  return e.prototype.next = function(t) {
4091
- var r = this.partialObserver;
4092
- if (r.next)
4058
+ var n = this.partialObserver;
4059
+ if (n.next)
4093
4060
  try {
4094
- r.next(t);
4095
- } catch (n) {
4096
- Ce(n);
4061
+ n.next(t);
4062
+ } catch (r) {
4063
+ Me(r);
4097
4064
  }
4098
4065
  }, e.prototype.error = function(t) {
4099
- var r = this.partialObserver;
4100
- if (r.error)
4066
+ var n = this.partialObserver;
4067
+ if (n.error)
4101
4068
  try {
4102
- r.error(t);
4103
- } catch (n) {
4104
- Ce(n);
4069
+ n.error(t);
4070
+ } catch (r) {
4071
+ Me(r);
4105
4072
  }
4106
4073
  else
4107
- Ce(t);
4074
+ Me(t);
4108
4075
  }, e.prototype.complete = function() {
4109
4076
  var t = this.partialObserver;
4110
4077
  if (t.complete)
4111
4078
  try {
4112
4079
  t.complete();
4113
- } catch (r) {
4114
- Ce(r);
4080
+ } catch (n) {
4081
+ Me(n);
4115
4082
  }
4116
4083
  }, e;
4117
- }(), St = function(e) {
4118
- Be(t, e);
4119
- function t(r, n, i) {
4084
+ }(), _t = function(e) {
4085
+ Q(t, e);
4086
+ function t(n, r, i) {
4120
4087
  var o = e.call(this) || this, s;
4121
- return Q(r) || !r ? s = {
4122
- next: r ?? void 0,
4123
- error: n ?? void 0,
4124
- complete: i ?? void 0
4125
- } : s = r, o.destination = new Ro(s), o;
4088
+ if (Z(n) || !n)
4089
+ s = {
4090
+ next: n ?? void 0,
4091
+ error: r ?? void 0,
4092
+ complete: i ?? void 0
4093
+ };
4094
+ else {
4095
+ var a;
4096
+ o && qn.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
4097
+ return o.unsubscribe();
4098
+ }, s = {
4099
+ next: n.next && ot(n.next, a),
4100
+ error: n.error && ot(n.error, a),
4101
+ complete: n.complete && ot(n.complete, a)
4102
+ }) : s = n;
4103
+ }
4104
+ return o.destination = new Lo(s), o;
4126
4105
  }
4127
4106
  return t;
4128
- }(qr);
4129
- function Ce(e) {
4130
- Lo(e);
4107
+ }(Yn);
4108
+ function Me(e) {
4109
+ Io(e);
4131
4110
  }
4132
- function Wo(e) {
4111
+ function Ro(e) {
4133
4112
  throw e;
4134
4113
  }
4135
- var Fo = {
4114
+ var Wo = {
4136
4115
  closed: !0,
4137
- next: ir,
4138
- error: Wo,
4139
- complete: ir
4140
- }, Uo = function() {
4116
+ next: rn,
4117
+ error: Ro,
4118
+ complete: rn
4119
+ }, Fo = function() {
4141
4120
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4142
4121
  }();
4143
- function Go(e) {
4122
+ function Uo(e) {
4144
4123
  return e;
4145
4124
  }
4146
- function Do(e) {
4147
- return e.length === 0 ? Go : e.length === 1 ? e[0] : function(r) {
4148
- return e.reduce(function(n, i) {
4149
- return i(n);
4150
- }, r);
4125
+ function Go(e) {
4126
+ return e.length === 0 ? Uo : e.length === 1 ? e[0] : function(n) {
4127
+ return e.reduce(function(r, i) {
4128
+ return i(r);
4129
+ }, n);
4151
4130
  };
4152
4131
  }
4153
- var or = function() {
4132
+ var on = function() {
4154
4133
  function e(t) {
4155
4134
  t && (this._subscribe = t);
4156
4135
  }
4157
4136
  return e.prototype.lift = function(t) {
4158
- var r = new e();
4159
- return r.source = this, r.operator = t, r;
4160
- }, e.prototype.subscribe = function(t, r, n) {
4161
- var i = this, o = ko(t) ? t : new St(t, r, n);
4137
+ var n = new e();
4138
+ return n.source = this, n.operator = t, n;
4139
+ }, e.prototype.subscribe = function(t, n, r) {
4140
+ var i = this, o = ko(t) ? t : new _t(t, n, r);
4162
4141
  return Le(function() {
4163
4142
  var s = i, a = s.operator, u = s.source;
4164
4143
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -4166,13 +4145,13 @@ var or = function() {
4166
4145
  }, e.prototype._trySubscribe = function(t) {
4167
4146
  try {
4168
4147
  return this._subscribe(t);
4169
- } catch (r) {
4170
- t.error(r);
4148
+ } catch (n) {
4149
+ t.error(n);
4171
4150
  }
4172
- }, e.prototype.forEach = function(t, r) {
4173
- var n = this;
4174
- return r = sr(r), new r(function(i, o) {
4175
- var s = new St({
4151
+ }, e.prototype.forEach = function(t, n) {
4152
+ var r = this;
4153
+ return n = sn(n), new n(function(i, o) {
4154
+ var s = new _t({
4176
4155
  next: function(a) {
4177
4156
  try {
4178
4157
  t(a);
@@ -4183,69 +4162,69 @@ var or = function() {
4183
4162
  error: o,
4184
4163
  complete: i
4185
4164
  });
4186
- n.subscribe(s);
4165
+ r.subscribe(s);
4187
4166
  });
4188
4167
  }, e.prototype._subscribe = function(t) {
4189
- var r;
4190
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4191
- }, e.prototype[Uo] = function() {
4168
+ var n;
4169
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
4170
+ }, e.prototype[Fo] = function() {
4192
4171
  return this;
4193
4172
  }, e.prototype.pipe = function() {
4194
- for (var t = [], r = 0; r < arguments.length; r++)
4195
- t[r] = arguments[r];
4196
- return Do(t)(this);
4173
+ for (var t = [], n = 0; n < arguments.length; n++)
4174
+ t[n] = arguments[n];
4175
+ return Go(t)(this);
4197
4176
  }, e.prototype.toPromise = function(t) {
4198
- var r = this;
4199
- return t = sr(t), new t(function(n, i) {
4177
+ var n = this;
4178
+ return t = sn(t), new t(function(r, i) {
4200
4179
  var o;
4201
- r.subscribe(function(s) {
4180
+ n.subscribe(function(s) {
4202
4181
  return o = s;
4203
4182
  }, function(s) {
4204
4183
  return i(s);
4205
4184
  }, function() {
4206
- return n(o);
4185
+ return r(o);
4207
4186
  });
4208
4187
  });
4209
4188
  }, e.create = function(t) {
4210
4189
  return new e(t);
4211
4190
  }, e;
4212
4191
  }();
4213
- function sr(e) {
4192
+ function sn(e) {
4214
4193
  var t;
4215
- return (t = e ?? No.Promise) !== null && t !== void 0 ? t : Promise;
4194
+ return (t = e ?? qn.Promise) !== null && t !== void 0 ? t : Promise;
4216
4195
  }
4217
- function jo(e) {
4218
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
4196
+ function Do(e) {
4197
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
4219
4198
  }
4220
4199
  function ko(e) {
4221
- return e && e instanceof qr || jo(e) && Jr(e);
4200
+ return e && e instanceof Yn || Do(e) && Jn(e);
4222
4201
  }
4223
- var $o = Zr(function(e) {
4202
+ var jo = Zn(function(e) {
4224
4203
  return function() {
4225
4204
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4226
4205
  };
4227
- }), Yr = function(e) {
4228
- Be(t, e);
4206
+ }), Kn = function(e) {
4207
+ Q(t, e);
4229
4208
  function t() {
4230
- var r = e.call(this) || this;
4231
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4209
+ var n = e.call(this) || this;
4210
+ return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
4232
4211
  }
4233
- return t.prototype.lift = function(r) {
4234
- var n = new ar(this, this);
4235
- return n.operator = r, n;
4212
+ return t.prototype.lift = function(n) {
4213
+ var r = new an(this, this);
4214
+ return r.operator = n, r;
4236
4215
  }, t.prototype._throwIfClosed = function() {
4237
4216
  if (this.closed)
4238
- throw new $o();
4239
- }, t.prototype.next = function(r) {
4240
- var n = this;
4217
+ throw new jo();
4218
+ }, t.prototype.next = function(n) {
4219
+ var r = this;
4241
4220
  Le(function() {
4242
4221
  var i, o;
4243
- if (n._throwIfClosed(), !n.isStopped) {
4244
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
4222
+ if (r._throwIfClosed(), !r.isStopped) {
4223
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
4245
4224
  try {
4246
- for (var s = _t(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4225
+ for (var s = lt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4247
4226
  var u = a.value;
4248
- u.next(r);
4227
+ u.next(n);
4249
4228
  }
4250
4229
  } catch (l) {
4251
4230
  i = { error: l };
@@ -4259,203 +4238,203 @@ var $o = Zr(function(e) {
4259
4238
  }
4260
4239
  }
4261
4240
  });
4262
- }, t.prototype.error = function(r) {
4263
- var n = this;
4241
+ }, t.prototype.error = function(n) {
4242
+ var r = this;
4264
4243
  Le(function() {
4265
- if (n._throwIfClosed(), !n.isStopped) {
4266
- n.hasError = n.isStopped = !0, n.thrownError = r;
4267
- for (var i = n.observers; i.length; )
4268
- i.shift().error(r);
4244
+ if (r._throwIfClosed(), !r.isStopped) {
4245
+ r.hasError = r.isStopped = !0, r.thrownError = n;
4246
+ for (var i = r.observers; i.length; )
4247
+ i.shift().error(n);
4269
4248
  }
4270
4249
  });
4271
4250
  }, t.prototype.complete = function() {
4272
- var r = this;
4251
+ var n = this;
4273
4252
  Le(function() {
4274
- if (r._throwIfClosed(), !r.isStopped) {
4275
- r.isStopped = !0;
4276
- for (var n = r.observers; n.length; )
4277
- n.shift().complete();
4253
+ if (n._throwIfClosed(), !n.isStopped) {
4254
+ n.isStopped = !0;
4255
+ for (var r = n.observers; r.length; )
4256
+ r.shift().complete();
4278
4257
  }
4279
4258
  });
4280
4259
  }, t.prototype.unsubscribe = function() {
4281
4260
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
4282
4261
  }, Object.defineProperty(t.prototype, "observed", {
4283
4262
  get: function() {
4284
- var r;
4285
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
4263
+ var n;
4264
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
4286
4265
  },
4287
4266
  enumerable: !1,
4288
4267
  configurable: !0
4289
- }), t.prototype._trySubscribe = function(r) {
4290
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
4291
- }, t.prototype._subscribe = function(r) {
4292
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4293
- }, t.prototype._innerSubscribe = function(r) {
4294
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4295
- return o || s ? Qr : (this.currentObservers = null, a.push(r), new Ve(function() {
4296
- n.currentObservers = null, wt(a, r);
4268
+ }), t.prototype._trySubscribe = function(n) {
4269
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
4270
+ }, t.prototype._subscribe = function(n) {
4271
+ return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
4272
+ }, t.prototype._innerSubscribe = function(n) {
4273
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4274
+ return o || s ? Qn : (this.currentObservers = null, a.push(n), new je(function() {
4275
+ r.currentObservers = null, vt(a, n);
4297
4276
  }));
4298
- }, t.prototype._checkFinalizedStatuses = function(r) {
4299
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4300
- i ? r.error(o) : s && r.complete();
4277
+ }, t.prototype._checkFinalizedStatuses = function(n) {
4278
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
4279
+ i ? n.error(o) : s && n.complete();
4301
4280
  }, t.prototype.asObservable = function() {
4302
- var r = new or();
4303
- return r.source = this, r;
4304
- }, t.create = function(r, n) {
4305
- return new ar(r, n);
4281
+ var n = new on();
4282
+ return n.source = this, n;
4283
+ }, t.create = function(n, r) {
4284
+ return new an(n, r);
4306
4285
  }, t;
4307
- }(or), ar = function(e) {
4308
- Be(t, e);
4309
- function t(r, n) {
4286
+ }(on), an = function(e) {
4287
+ Q(t, e);
4288
+ function t(n, r) {
4310
4289
  var i = e.call(this) || this;
4311
- return i.destination = r, i.source = n, i;
4290
+ return i.destination = n, i.source = r, i;
4312
4291
  }
4313
- return t.prototype.next = function(r) {
4314
- var n, i;
4315
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
4316
- }, t.prototype.error = function(r) {
4317
- var n, i;
4318
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
4292
+ return t.prototype.next = function(n) {
4293
+ var r, i;
4294
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
4295
+ }, t.prototype.error = function(n) {
4296
+ var r, i;
4297
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
4319
4298
  }, t.prototype.complete = function() {
4320
- var r, n;
4321
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4322
- }, t.prototype._subscribe = function(r) {
4323
- var n, i;
4324
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qr;
4299
+ var n, r;
4300
+ (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
4301
+ }, t.prototype._subscribe = function(n) {
4302
+ var r, i;
4303
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Qn;
4325
4304
  }, t;
4326
- }(Yr), Kr = {
4305
+ }(Kn), er = {
4327
4306
  now: function() {
4328
- return (Kr.delegate || Date).now();
4307
+ return (er.delegate || Date).now();
4329
4308
  },
4330
4309
  delegate: void 0
4331
- }, Vo = function(e) {
4332
- Be(t, e);
4333
- function t(r, n, i) {
4334
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kr);
4310
+ }, $o = function(e) {
4311
+ Q(t, e);
4312
+ function t(n, r, i) {
4313
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = er);
4335
4314
  var o = e.call(this) || this;
4336
- 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;
4315
+ return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
4337
4316
  }
4338
- return t.prototype.next = function(r) {
4339
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4340
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4341
- }, t.prototype._subscribe = function(r) {
4317
+ return t.prototype.next = function(n) {
4318
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
4319
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
4320
+ }, t.prototype._subscribe = function(n) {
4342
4321
  this._throwIfClosed(), this._trimBuffer();
4343
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
4344
- r.next(a[u]);
4345
- return this._checkFinalizedStatuses(r), n;
4322
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
4323
+ n.next(a[u]);
4324
+ return this._checkFinalizedStatuses(n), r;
4346
4325
  }, t.prototype._trimBuffer = function() {
4347
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4348
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4326
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4327
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4349
4328
  for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4350
4329
  l = c;
4351
4330
  l && o.splice(0, l + 1);
4352
4331
  }
4353
4332
  }, t;
4354
- }(Yr);
4355
- const ur = [], lr = {}, Xo = (e, t = 0) => {
4356
- if (ur.indexOf(e) == -1) {
4357
- const r = new Vo(t);
4358
- lr[e] = r, ur.push(e);
4333
+ }(Kn);
4334
+ const un = [], ln = {}, Vo = (e, t = 0) => {
4335
+ if (un.indexOf(e) == -1) {
4336
+ const n = new $o(t);
4337
+ ln[e] = n, un.push(e);
4359
4338
  }
4360
- return lr[e];
4339
+ return ln[e];
4361
4340
  };
4362
- window.emWidgets = { topic: Xo };
4363
- const zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4341
+ window.emWidgets = { topic: Vo };
4342
+ const Xo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4364
4343
  String(Number.MAX_SAFE_INTEGER).length;
4365
- function Zo(e, t) {
4344
+ function zo(e, t) {
4366
4345
  if (e) {
4367
- const r = document.createElement("style");
4368
- r.innerHTML = t, e.appendChild(r);
4346
+ const n = document.createElement("style");
4347
+ n.innerHTML = t, e.appendChild(n);
4369
4348
  }
4370
4349
  }
4371
- function Qo(e, t) {
4350
+ function Zo(e, t) {
4372
4351
  if (!e || !t)
4373
4352
  return;
4374
- const r = new URL(t);
4375
- fetch(r.href).then((n) => n.text()).then((n) => {
4353
+ const n = new URL(t);
4354
+ fetch(n.href).then((r) => r.text()).then((r) => {
4376
4355
  const i = document.createElement("style");
4377
- i.innerHTML = n, e && e.appendChild(i);
4378
- }).catch((n) => {
4379
- console.error("There was an error while trying to load client styling from URL", n);
4356
+ i.innerHTML = r, e && e.appendChild(i);
4357
+ }).catch((r) => {
4358
+ console.error("There was an error while trying to load client styling from URL", r);
4380
4359
  });
4381
4360
  }
4382
- function Jo(e, t, r) {
4361
+ function Qo(e, t, n) {
4383
4362
  if (window.emMessageBus) {
4384
- const n = document.createElement("style");
4363
+ const r = document.createElement("style");
4385
4364
  window.emMessageBus.subscribe(t, (i) => {
4386
- n.innerHTML = i, e && e.appendChild(n);
4365
+ r.innerHTML = i, e && e.appendChild(r);
4387
4366
  });
4388
4367
  }
4389
4368
  }
4390
- function qo(e, t, r) {
4391
- window.emMessageBus && window.emMessageBus.subscribe(e, r);
4369
+ function Jo(e, t, n) {
4370
+ window.emMessageBus && window.emMessageBus.subscribe(e, n);
4392
4371
  }
4393
4372
  if (typeof window < "u") {
4394
4373
  let e = function(t) {
4395
- return function(...r) {
4374
+ return function(...n) {
4396
4375
  try {
4397
- return t.apply(this, r);
4398
- } catch (n) {
4399
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4376
+ return t.apply(this, n);
4377
+ } catch (r) {
4378
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
4400
4379
  return !1;
4401
- throw n;
4380
+ throw r;
4402
4381
  }
4403
4382
  };
4404
4383
  };
4405
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-JfziNlW6.js").then(({ default: t }) => {
4384
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-CLDo_ewC.js").then(({ default: t }) => {
4406
4385
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4407
4386
  });
4408
4387
  }
4409
- function Yo(e) {
4410
- wn(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4388
+ function qo(e) {
4389
+ wr(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4411
4390
  }
4412
- function hr(e, t, r) {
4413
- const n = e.slice();
4414
- return n[74] = t[r], n;
4391
+ function hn(e, t, n) {
4392
+ const r = e.slice();
4393
+ return r[74] = t[n], r;
4415
4394
  }
4416
- function cr(e, t, r) {
4417
- const n = e.slice();
4418
- return n[77] = t[r], n;
4395
+ function cn(e, t, n) {
4396
+ const r = e.slice();
4397
+ return r[77] = t[n], r;
4419
4398
  }
4420
- function Ko(e) {
4421
- let t, r, n, i, o, s, a, u, l, c, m, f, d, g, b, A, N, L, S, B = Re(
4399
+ function Yo(e) {
4400
+ let t, n, r, i, o, s, a, u, l, c, m, f, p, g, b, P, I, L, T, H = Re(
4422
4401
  /*tabs*/
4423
4402
  e[16]
4424
4403
  ), E = [];
4425
- for (let v = 0; v < B.length; v += 1)
4426
- E[v] = dr(cr(e, B, v));
4427
- function R(v, O) {
4404
+ for (let v = 0; v < H.length; v += 1)
4405
+ E[v] = pn(cn(e, H, v));
4406
+ function R(v, M) {
4428
4407
  return (
4429
4408
  /*isLoadingDelayed*/
4430
- v[17] ? rs : ts
4409
+ v[17] ? ts : es
4431
4410
  );
4432
4411
  }
4433
- let W = R(e), I = W(e);
4412
+ let W = R(e), N = W(e);
4434
4413
  return {
4435
4414
  c() {
4436
- t = M("div"), r = M("div"), n = M("div");
4415
+ t = O("div"), n = O("div"), r = O("div");
4437
4416
  for (let v = 0; v < E.length; v += 1)
4438
4417
  E[v].c();
4439
- i = X(), o = M("div"), s = M("button"), a = Pe("svg"), u = Pe("path"), c = X(), m = M("button"), f = Pe("svg"), d = Pe("path"), A = X(), I.c(), p(n, "class", "WinnerButtonsContainer"), p(u, "style", l = /*numberOfVisibleSlides*/
4418
+ i = X(), o = O("div"), s = O("button"), a = Pe("svg"), u = Pe("path"), c = X(), m = O("button"), f = Pe("svg"), p = Pe("path"), P = X(), N.c(), d(r, "class", "WinnerButtonsContainer"), d(u, "style", l = /*numberOfVisibleSlides*/
4440
4419
  e[11] >= /*winners*/
4441
- e[10].length ? "fill:#F6F6F62E" : ""), p(u, "id", "Path_36"), p(u, "data-name", "Path 36"), p(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), p(u, "transform", "translate(14.656 0) rotate(90)"), p(u, "fill", "#fff"), p(a, "id", "Component_46_2"), p(a, "data-name", "Component 46 – 2"), p(a, "xmlns", "http://www.w3.org/2000/svg"), p(a, "width", "15"), p(a, "height", "15"), p(a, "viewBox", "0 0 16 24.656"), p(s, "class", "SliderButton"), p(d, "style", g = /*numberOfVisibleSlides*/
4420
+ e[10].length ? "fill:#F6F6F62E" : ""), d(u, "id", "Path_36"), d(u, "data-name", "Path 36"), d(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(u, "transform", "translate(14.656 0) rotate(90)"), d(u, "fill", "#fff"), d(a, "id", "Component_46_2"), d(a, "data-name", "Component 46 – 2"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 16 24.656"), d(s, "class", "SliderButton"), d(p, "style", g = /*numberOfVisibleSlides*/
4442
4421
  e[11] >= /*winners*/
4443
- e[10].length ? "fill:#F6F6F62E" : ""), p(d, "id", "Path_36"), p(d, "data-name", "Path 36"), p(d, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), p(d, "transform", "translate(0 24.656) rotate(-90)"), p(d, "fill", "#fff"), p(f, "id", "Component_46_2"), p(f, "data-name", "Component 46 – 2"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "width", "15"), p(f, "height", "15"), p(f, "viewBox", "0 0 16 24.656"), p(m, "class", "SliderButton"), p(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4444
- (e[4] == "true" ? "ButtonsContainerNone" : "")), p(r, "class", "WinnersHeader"), p(t, "class", N = "CasinoWinners " + /*mobile*/
4422
+ e[10].length ? "fill:#F6F6F62E" : ""), d(p, "id", "Path_36"), d(p, "data-name", "Path 36"), d(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(p, "transform", "translate(0 24.656) rotate(-90)"), d(p, "fill", "#fff"), d(f, "id", "Component_46_2"), d(f, "data-name", "Component 46 – 2"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "15"), d(f, "height", "15"), d(f, "viewBox", "0 0 16 24.656"), d(m, "class", "SliderButton"), d(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
4423
+ (e[4] == "true" ? "ButtonsContainerNone" : "")), d(n, "class", "WinnersHeader"), d(t, "class", I = "CasinoWinners " + /*mobile*/
4445
4424
  (e[12] ? "Mobile" : ""));
4446
4425
  },
4447
- m(v, O) {
4448
- j(v, t, O), w(t, r), w(r, n);
4426
+ m(v, M) {
4427
+ k(v, t, M), S(t, n), S(n, r);
4449
4428
  for (let x = 0; x < E.length; x += 1)
4450
- E[x] && E[x].m(n, null);
4451
- w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o, m), w(m, f), w(f, d), w(t, A), I.m(t, null), L || (S = [
4452
- Ee(
4429
+ E[x] && E[x].m(r, null);
4430
+ S(n, i), S(n, o), S(o, s), S(s, a), S(a, u), S(o, c), S(o, m), S(m, f), S(f, p), S(t, P), N.m(t, null), L || (T = [
4431
+ xe(
4453
4432
  s,
4454
4433
  "click",
4455
4434
  /*click_handler_2*/
4456
4435
  e[47]
4457
4436
  ),
4458
- Ee(
4437
+ xe(
4459
4438
  m,
4460
4439
  "click",
4461
4440
  /*click_handler_3*/
@@ -4463,44 +4442,44 @@ function Ko(e) {
4463
4442
  )
4464
4443
  ], L = !0);
4465
4444
  },
4466
- p(v, O) {
4467
- if (O[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4445
+ p(v, M) {
4446
+ if (M[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
4468
4447
  852483) {
4469
- B = Re(
4448
+ H = Re(
4470
4449
  /*tabs*/
4471
4450
  v[16]
4472
4451
  );
4473
4452
  let x;
4474
- for (x = 0; x < B.length; x += 1) {
4475
- const Z = cr(v, B, x);
4476
- E[x] ? E[x].p(Z, O) : (E[x] = dr(Z), E[x].c(), E[x].m(n, null));
4453
+ for (x = 0; x < H.length; x += 1) {
4454
+ const z = cn(v, H, x);
4455
+ E[x] ? E[x].p(z, M) : (E[x] = pn(z), E[x].c(), E[x].m(r, null));
4477
4456
  }
4478
4457
  for (; x < E.length; x += 1)
4479
4458
  E[x].d(1);
4480
- E.length = B.length;
4459
+ E.length = H.length;
4481
4460
  }
4482
- O[0] & /*numberOfVisibleSlides, winners*/
4461
+ M[0] & /*numberOfVisibleSlides, winners*/
4483
4462
  3072 && l !== (l = /*numberOfVisibleSlides*/
4484
4463
  v[11] >= /*winners*/
4485
- v[10].length ? "fill:#F6F6F62E" : "") && p(u, "style", l), O[0] & /*numberOfVisibleSlides, winners*/
4464
+ v[10].length ? "fill:#F6F6F62E" : "") && d(u, "style", l), M[0] & /*numberOfVisibleSlides, winners*/
4486
4465
  3072 && g !== (g = /*numberOfVisibleSlides*/
4487
4466
  v[11] >= /*winners*/
4488
- v[10].length ? "fill:#F6F6F62E" : "") && p(d, "style", g), O[0] & /*enableautoscroll*/
4467
+ v[10].length ? "fill:#F6F6F62E" : "") && d(p, "style", g), M[0] & /*enableautoscroll*/
4489
4468
  16 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
4490
- (v[4] == "true" ? "ButtonsContainerNone" : "")) && p(o, "class", b), W === (W = R(v)) && I ? I.p(v, O) : (I.d(1), I = W(v), I && (I.c(), I.m(t, null))), O[0] & /*mobile*/
4491
- 4096 && N !== (N = "CasinoWinners " + /*mobile*/
4492
- (v[12] ? "Mobile" : "")) && p(t, "class", N);
4469
+ (v[4] == "true" ? "ButtonsContainerNone" : "")) && d(o, "class", b), W === (W = R(v)) && N ? N.p(v, M) : (N.d(1), N = W(v), N && (N.c(), N.m(t, null))), M[0] & /*mobile*/
4470
+ 4096 && I !== (I = "CasinoWinners " + /*mobile*/
4471
+ (v[12] ? "Mobile" : "")) && d(t, "class", I);
4493
4472
  },
4494
4473
  d(v) {
4495
- v && D(t), _r(E, v), I.d(), L = !1, ce(S);
4474
+ v && D(t), _n(E, v), N.d(), L = !1, fe(T);
4496
4475
  }
4497
4476
  };
4498
4477
  }
4499
- function es(e) {
4478
+ function Ko(e) {
4500
4479
  let t;
4501
4480
  return {
4502
4481
  c() {
4503
- t = M("general-animation-loading"), V(
4482
+ t = O("general-animation-loading"), V(
4504
4483
  t,
4505
4484
  "clientstyling",
4506
4485
  /*clientstyling*/
@@ -4512,62 +4491,62 @@ function es(e) {
4512
4491
  e[3]
4513
4492
  );
4514
4493
  },
4515
- m(r, n) {
4516
- j(r, t, n);
4494
+ m(n, r) {
4495
+ k(n, t, r);
4517
4496
  },
4518
- p(r, n) {
4519
- n[0] & /*clientstyling*/
4497
+ p(n, r) {
4498
+ r[0] & /*clientstyling*/
4520
4499
  4 && V(
4521
4500
  t,
4522
4501
  "clientstyling",
4523
4502
  /*clientstyling*/
4524
- r[2]
4525
- ), n[0] & /*clientstylingurl*/
4503
+ n[2]
4504
+ ), r[0] & /*clientstylingurl*/
4526
4505
  8 && V(
4527
4506
  t,
4528
4507
  "clientstylingurl",
4529
4508
  /*clientstylingurl*/
4530
- r[3]
4509
+ n[3]
4531
4510
  );
4532
4511
  },
4533
- d(r) {
4534
- r && D(t);
4512
+ d(n) {
4513
+ n && D(t);
4535
4514
  }
4536
4515
  };
4537
4516
  }
4538
- function fr(e) {
4539
- let t, r = (
4517
+ function fn(e) {
4518
+ let t, n = (
4540
4519
  /*isrecentavailable*/
4541
- e[0] === "true" && mr(e)
4520
+ e[0] === "true" && mn(e)
4542
4521
  );
4543
4522
  return {
4544
4523
  c() {
4545
- r && r.c(), t = Bt();
4524
+ n && n.c(), t = xt();
4546
4525
  },
4547
- m(n, i) {
4548
- r && r.m(n, i), j(n, t, i);
4526
+ m(r, i) {
4527
+ n && n.m(r, i), k(r, t, i);
4549
4528
  },
4550
- p(n, i) {
4529
+ p(r, i) {
4551
4530
  /*isrecentavailable*/
4552
- n[0] === "true" ? r ? r.p(n, i) : (r = mr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4531
+ r[0] === "true" ? n ? n.p(r, i) : (n = mn(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4553
4532
  },
4554
- d(n) {
4555
- n && D(t), r && r.d(n);
4533
+ d(r) {
4534
+ r && D(t), n && n.d(r);
4556
4535
  }
4557
4536
  };
4558
4537
  }
4559
- function mr(e) {
4560
- let t, r = (
4538
+ function mn(e) {
4539
+ let t, n = (
4561
4540
  /*$_*/
4562
4541
  e[18]("recentWinners") + ""
4563
- ), n, i, o, s;
4542
+ ), r, i, o, s;
4564
4543
  return {
4565
4544
  c() {
4566
- t = M("button"), n = Y(r), p(t, "class", i = "WinnersButton " + /*winnersType*/
4545
+ t = O("button"), r = Y(n), d(t, "class", i = "WinnersButton " + /*winnersType*/
4567
4546
  (e[9] == "recent" ? "Active" : ""));
4568
4547
  },
4569
4548
  m(a, u) {
4570
- j(a, t, u), w(t, n), o || (s = Ee(
4549
+ k(a, t, u), S(t, r), o || (s = xe(
4571
4550
  t,
4572
4551
  "click",
4573
4552
  /*click_handler*/
@@ -4576,29 +4555,29 @@ function mr(e) {
4576
4555
  },
4577
4556
  p(a, u) {
4578
4557
  u[0] & /*$_*/
4579
- 262144 && r !== (r = /*$_*/
4580
- a[18]("recentWinners") + "") && oe(n, r), u[0] & /*winnersType*/
4558
+ 262144 && n !== (n = /*$_*/
4559
+ a[18]("recentWinners") + "") && oe(r, n), u[0] & /*winnersType*/
4581
4560
  512 && i !== (i = "WinnersButton " + /*winnersType*/
4582
- (a[9] == "recent" ? "Active" : "")) && p(t, "class", i);
4561
+ (a[9] == "recent" ? "Active" : "")) && d(t, "class", i);
4583
4562
  },
4584
4563
  d(a) {
4585
4564
  a && D(t), o = !1, s();
4586
4565
  }
4587
4566
  };
4588
4567
  }
4589
- function pr(e) {
4590
- let t, r = (
4568
+ function dn(e) {
4569
+ let t, n = (
4591
4570
  /*$_*/
4592
4571
  e[18]("topWinners") + ""
4593
- ), n, i, o, s, a;
4572
+ ), r, i, o, s, a;
4594
4573
  return {
4595
4574
  c() {
4596
- t = M("button"), n = Y(r), i = X(), p(t, "class", o = "WinnersButton " + /*winnersType*/
4575
+ t = O("button"), r = Y(n), i = X(), d(t, "class", o = "WinnersButton " + /*winnersType*/
4597
4576
  (e[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4598
4577
  (e[1] == "false" ? "Off" : ""));
4599
4578
  },
4600
4579
  m(u, l) {
4601
- j(u, t, l), w(t, n), w(t, i), s || (a = Ee(
4580
+ k(u, t, l), S(t, r), S(t, i), s || (a = xe(
4602
4581
  t,
4603
4582
  "click",
4604
4583
  /*click_handler_1*/
@@ -4607,71 +4586,71 @@ function pr(e) {
4607
4586
  },
4608
4587
  p(u, l) {
4609
4588
  l[0] & /*$_*/
4610
- 262144 && r !== (r = /*$_*/
4611
- u[18]("topWinners") + "") && oe(n, r), l[0] & /*winnersType, istopavailable*/
4589
+ 262144 && n !== (n = /*$_*/
4590
+ u[18]("topWinners") + "") && oe(r, n), l[0] & /*winnersType, istopavailable*/
4612
4591
  514 && o !== (o = "WinnersButton " + /*winnersType*/
4613
4592
  (u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
4614
- (u[1] == "false" ? "Off" : "")) && p(t, "class", o);
4593
+ (u[1] == "false" ? "Off" : "")) && d(t, "class", o);
4615
4594
  },
4616
4595
  d(u) {
4617
4596
  u && D(t), s = !1, a();
4618
4597
  }
4619
4598
  };
4620
4599
  }
4621
- function dr(e) {
4622
- let t, r, n = (
4600
+ function pn(e) {
4601
+ let t, n, r = (
4623
4602
  /*tab*/
4624
- e[77] == "recent" && fr(e)
4603
+ e[77] == "recent" && fn(e)
4625
4604
  ), i = (
4626
4605
  /*tab*/
4627
- e[77] == "top" && pr(e)
4606
+ e[77] == "top" && dn(e)
4628
4607
  );
4629
4608
  return {
4630
4609
  c() {
4631
- n && n.c(), t = X(), i && i.c(), r = Bt();
4610
+ r && r.c(), t = X(), i && i.c(), n = xt();
4632
4611
  },
4633
4612
  m(o, s) {
4634
- n && n.m(o, s), j(o, t, s), i && i.m(o, s), j(o, r, s);
4613
+ r && r.m(o, s), k(o, t, s), i && i.m(o, s), k(o, n, s);
4635
4614
  },
4636
4615
  p(o, s) {
4637
4616
  /*tab*/
4638
- o[77] == "recent" ? n ? n.p(o, s) : (n = fr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
4639
- o[77] == "top" ? i ? i.p(o, s) : (i = pr(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4617
+ o[77] == "recent" ? r ? r.p(o, s) : (r = fn(o), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), /*tab*/
4618
+ o[77] == "top" ? i ? i.p(o, s) : (i = dn(o), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4640
4619
  },
4641
4620
  d(o) {
4642
- o && (D(t), D(r)), n && n.d(o), i && i.d(o);
4621
+ o && (D(t), D(n)), r && r.d(o), i && i.d(o);
4643
4622
  }
4644
4623
  };
4645
4624
  }
4646
- function ts(e) {
4625
+ function es(e) {
4647
4626
  let t;
4648
- function r(o, s) {
4627
+ function n(o, s) {
4649
4628
  return (
4650
4629
  /*winners*/
4651
- o[10].length !== 0 ? is : ns
4630
+ o[10].length !== 0 ? rs : ns
4652
4631
  );
4653
4632
  }
4654
- let n = r(e), i = n(e);
4633
+ let r = n(e), i = r(e);
4655
4634
  return {
4656
4635
  c() {
4657
- t = M("div"), i.c(), p(t, "class", "WinnersSlider");
4636
+ t = O("div"), i.c(), d(t, "class", "WinnersSlider");
4658
4637
  },
4659
4638
  m(o, s) {
4660
- j(o, t, s), i.m(t, null), e[51](t);
4639
+ k(o, t, s), i.m(t, null), e[51](t);
4661
4640
  },
4662
4641
  p(o, s) {
4663
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4642
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4664
4643
  },
4665
4644
  d(o) {
4666
4645
  o && D(t), i.d(), e[51](null);
4667
4646
  }
4668
4647
  };
4669
4648
  }
4670
- function rs(e) {
4649
+ function ts(e) {
4671
4650
  let t;
4672
4651
  return {
4673
4652
  c() {
4674
- t = M("general-animation-loading"), V(
4653
+ t = O("general-animation-loading"), V(
4675
4654
  t,
4676
4655
  "clientstyling",
4677
4656
  /*clientstyling*/
@@ -4688,99 +4667,99 @@ function rs(e) {
4688
4667
  e[5]
4689
4668
  );
4690
4669
  },
4691
- m(r, n) {
4692
- j(r, t, n);
4670
+ m(n, r) {
4671
+ k(n, t, r);
4693
4672
  },
4694
- p(r, n) {
4695
- n[0] & /*clientstyling*/
4673
+ p(n, r) {
4674
+ r[0] & /*clientstyling*/
4696
4675
  4 && V(
4697
4676
  t,
4698
4677
  "clientstyling",
4699
4678
  /*clientstyling*/
4700
- r[2]
4701
- ), n[0] & /*clientstylingurl*/
4679
+ n[2]
4680
+ ), r[0] & /*clientstylingurl*/
4702
4681
  8 && V(
4703
4682
  t,
4704
4683
  "clientstylingurl",
4705
4684
  /*clientstylingurl*/
4706
- r[3]
4707
- ), n[0] & /*mbsource*/
4685
+ n[3]
4686
+ ), r[0] & /*mbsource*/
4708
4687
  32 && V(
4709
4688
  t,
4710
4689
  "mbsource",
4711
4690
  /*mbsource*/
4712
- r[5]
4691
+ n[5]
4713
4692
  );
4714
4693
  },
4715
- d(r) {
4716
- r && D(t);
4694
+ d(n) {
4695
+ n && D(t);
4717
4696
  }
4718
4697
  };
4719
4698
  }
4720
4699
  function ns(e) {
4721
- let t, r = (
4700
+ let t, n = (
4722
4701
  /*$_*/
4723
4702
  e[18]("noWinnersMessage") + ""
4724
- ), n;
4703
+ ), r;
4725
4704
  return {
4726
4705
  c() {
4727
- t = M("p"), n = Y(r), p(t, "class", "NoWinnersMessage");
4706
+ t = O("p"), r = Y(n), d(t, "class", "NoWinnersMessage");
4728
4707
  },
4729
4708
  m(i, o) {
4730
- j(i, t, o), w(t, n);
4709
+ k(i, t, o), S(t, r);
4731
4710
  },
4732
4711
  p(i, o) {
4733
4712
  o[0] & /*$_*/
4734
- 262144 && r !== (r = /*$_*/
4735
- i[18]("noWinnersMessage") + "") && oe(n, r);
4713
+ 262144 && n !== (n = /*$_*/
4714
+ i[18]("noWinnersMessage") + "") && oe(r, n);
4736
4715
  },
4737
4716
  d(i) {
4738
4717
  i && D(t);
4739
4718
  }
4740
4719
  };
4741
4720
  }
4742
- function is(e) {
4743
- let t, r = Re(
4721
+ function rs(e) {
4722
+ let t, n = Re(
4744
4723
  /*winners*/
4745
4724
  e[10]
4746
- ), n = [];
4747
- for (let i = 0; i < r.length; i += 1)
4748
- n[i] = br(hr(e, r, i));
4725
+ ), r = [];
4726
+ for (let i = 0; i < n.length; i += 1)
4727
+ r[i] = bn(hn(e, n, i));
4749
4728
  return {
4750
4729
  c() {
4751
- for (let i = 0; i < n.length; i += 1)
4752
- n[i].c();
4753
- t = Bt();
4730
+ for (let i = 0; i < r.length; i += 1)
4731
+ r[i].c();
4732
+ t = xt();
4754
4733
  },
4755
4734
  m(i, o) {
4756
- for (let s = 0; s < n.length; s += 1)
4757
- n[s] && n[s].m(i, o);
4758
- j(i, t, o);
4735
+ for (let s = 0; s < r.length; s += 1)
4736
+ r[s] && r[s].m(i, o);
4737
+ k(i, t, o);
4759
4738
  },
4760
4739
  p(i, o) {
4761
4740
  if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
4762
4741
  20219136) {
4763
- r = Re(
4742
+ n = Re(
4764
4743
  /*winners*/
4765
4744
  i[10]
4766
4745
  );
4767
4746
  let s;
4768
- for (s = 0; s < r.length; s += 1) {
4769
- const a = hr(i, r, s);
4770
- n[s] ? n[s].p(a, o) : (n[s] = br(a), n[s].c(), n[s].m(t.parentNode, t));
4747
+ for (s = 0; s < n.length; s += 1) {
4748
+ const a = hn(i, n, s);
4749
+ r[s] ? r[s].p(a, o) : (r[s] = bn(a), r[s].c(), r[s].m(t.parentNode, t));
4771
4750
  }
4772
- for (; s < n.length; s += 1)
4773
- n[s].d(1);
4774
- n.length = r.length;
4751
+ for (; s < r.length; s += 1)
4752
+ r[s].d(1);
4753
+ r.length = n.length;
4775
4754
  }
4776
4755
  },
4777
4756
  d(i) {
4778
- i && D(t), _r(n, i);
4757
+ i && D(t), _n(r, i);
4779
4758
  }
4780
4759
  };
4781
4760
  }
4782
- function br(e) {
4783
- let t, r, n, i, o, s, a, u = (
4761
+ function bn(e) {
4762
+ let t, n, r, i, o, s, a, u = (
4784
4763
  /*winner*/
4785
4764
  e[74].gameName + ""
4786
4765
  ), l, c, m, f = (
@@ -4789,16 +4768,16 @@ function br(e) {
4789
4768
  /*winner*/
4790
4769
  e[74].username
4791
4770
  ) + ""
4792
- ), d, g, b, A = (
4771
+ ), p, g, b, P = (
4793
4772
  /*$_*/
4794
4773
  e[18]("won") + ""
4795
- ), N, L, S, B = (
4774
+ ), I, L, T, H = (
4796
4775
  /*getAmount*/
4797
4776
  e[24](
4798
4777
  /*winner*/
4799
4778
  e[74].specifiedCurrencyAmount
4800
4779
  ) + ""
4801
- ), E, R, W, I;
4780
+ ), E, R, W, N;
4802
4781
  function v() {
4803
4782
  return (
4804
4783
  /*click_handler_4*/
@@ -4810,61 +4789,61 @@ function br(e) {
4810
4789
  }
4811
4790
  return {
4812
4791
  c() {
4813
- t = M("div"), r = M("div"), n = M("img"), s = X(), a = M("p"), l = Y(u), c = X(), m = M("p"), d = Y(f), g = X(), b = M("p"), N = Y(A), L = X(), S = M("p"), E = X(), Dt(n.src, i = /*winner*/
4814
- e[74]?.gameModel?.thumbnail) || p(n, "src", i), p(n, "alt", o = /*winner*/
4815
- e[74]?.gameModel?.thumbnail), p(n, "class", "WinnersImage"), p(b, "class", "WinnerUsername"), p(S, "class", "WinnerAmount"), p(r, "class", "WinnerCard"), p(t, "class", R = "CardWrapper " + /*addAnimation*/
4792
+ t = O("div"), n = O("div"), r = O("img"), s = X(), a = O("p"), l = Y(u), c = X(), m = O("p"), p = Y(f), g = X(), b = O("p"), I = Y(P), L = X(), T = O("p"), E = X(), Gt(r.src, i = /*winner*/
4793
+ e[74]?.gameModel?.thumbnail) || d(r, "src", i), d(r, "alt", o = /*winner*/
4794
+ e[74]?.gameModel?.thumbnail), d(r, "class", "WinnersImage"), d(b, "class", "WinnerUsername"), d(T, "class", "WinnerAmount"), d(n, "class", "WinnerCard"), d(t, "class", R = "CardWrapper " + /*addAnimation*/
4816
4795
  (e[15] ? "CardWrapperAnimation" : ""));
4817
4796
  },
4818
- m(O, x) {
4819
- j(O, t, x), w(t, r), w(r, n), w(r, s), w(r, a), w(a, l), w(r, c), w(r, m), w(m, d), w(r, g), w(r, b), w(b, N), w(r, L), w(r, S), S.innerHTML = B, e[50](r), w(t, E), W || (I = Ee(n, "click", v), W = !0);
4797
+ m(M, x) {
4798
+ k(M, t, x), S(t, n), S(n, r), S(n, s), S(n, a), S(a, l), S(n, c), S(n, m), S(m, p), S(n, g), S(n, b), S(b, I), S(n, L), S(n, T), T.innerHTML = H, e[50](n), S(t, E), W || (N = xe(r, "click", v), W = !0);
4820
4799
  },
4821
- p(O, x) {
4822
- e = O, x[0] & /*winners*/
4823
- 1024 && !Dt(n.src, i = /*winner*/
4824
- e[74]?.gameModel?.thumbnail) && p(n, "src", i), x[0] & /*winners*/
4800
+ p(M, x) {
4801
+ e = M, x[0] & /*winners*/
4802
+ 1024 && !Gt(r.src, i = /*winner*/
4803
+ e[74]?.gameModel?.thumbnail) && d(r, "src", i), x[0] & /*winners*/
4825
4804
  1024 && o !== (o = /*winner*/
4826
- e[74]?.gameModel?.thumbnail) && p(n, "alt", o), x[0] & /*winners*/
4805
+ e[74]?.gameModel?.thumbnail) && d(r, "alt", o), x[0] & /*winners*/
4827
4806
  1024 && u !== (u = /*winner*/
4828
4807
  e[74].gameName + "") && oe(l, u), x[0] & /*winners*/
4829
4808
  1024 && f !== (f = /*maskUsername*/
4830
4809
  e[20](
4831
4810
  /*winner*/
4832
4811
  e[74].username
4833
- ) + "") && oe(d, f), x[0] & /*$_*/
4834
- 262144 && A !== (A = /*$_*/
4835
- e[18]("won") + "") && oe(N, A), x[0] & /*winners*/
4836
- 1024 && B !== (B = /*getAmount*/
4812
+ ) + "") && oe(p, f), x[0] & /*$_*/
4813
+ 262144 && P !== (P = /*$_*/
4814
+ e[18]("won") + "") && oe(I, P), x[0] & /*winners*/
4815
+ 1024 && H !== (H = /*getAmount*/
4837
4816
  e[24](
4838
4817
  /*winner*/
4839
4818
  e[74].specifiedCurrencyAmount
4840
- ) + "") && (S.innerHTML = B), x[0] & /*addAnimation*/
4819
+ ) + "") && (T.innerHTML = H), x[0] & /*addAnimation*/
4841
4820
  32768 && R !== (R = "CardWrapper " + /*addAnimation*/
4842
- (e[15] ? "CardWrapperAnimation" : "")) && p(t, "class", R);
4821
+ (e[15] ? "CardWrapperAnimation" : "")) && d(t, "class", R);
4843
4822
  },
4844
- d(O) {
4845
- O && D(t), e[50](null), W = !1, I();
4823
+ d(M) {
4824
+ M && D(t), e[50](null), W = !1, N();
4846
4825
  }
4847
4826
  };
4848
4827
  }
4849
- function os(e) {
4828
+ function is(e) {
4850
4829
  let t;
4851
- function r(o, s) {
4830
+ function n(o, s) {
4852
4831
  return (
4853
4832
  /*isLoading*/
4854
4833
  o[13] || /*isLoadingCustomStyling*/
4855
- o[14] ? es : Ko
4834
+ o[14] ? Ko : Yo
4856
4835
  );
4857
4836
  }
4858
- let n = r(e), i = n(e);
4837
+ let r = n(e), i = r(e);
4859
4838
  return {
4860
4839
  c() {
4861
- t = M("div"), i.c();
4840
+ t = O("div"), i.c();
4862
4841
  },
4863
4842
  m(o, s) {
4864
- j(o, t, s), i.m(t, null), e[52](t);
4843
+ k(o, t, s), i.m(t, null), e[52](t);
4865
4844
  },
4866
4845
  p(o, s) {
4867
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4846
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4868
4847
  },
4869
4848
  i: $,
4870
4849
  o: $,
@@ -4873,174 +4852,174 @@ function os(e) {
4873
4852
  }
4874
4853
  };
4875
4854
  }
4876
- function ss(e, t, r) {
4877
- let n;
4878
- xn(e, Po, (h) => r(18, n = h));
4879
- let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: m = "1" } = t, { vendorCategory: f = "All" } = t, { lang: d = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: A = "" } = t, { usercurrency: N = "" } = t, { customcurrencysymbol: L } = t, { clientstyling: S = "" } = t, { clientstylingurl: B = "" } = t, { enableautoscroll: E = "" } = t, { tabsorder: R = "" } = t, { translationurl: W = "" } = t, { winnersdatasources: I = "" } = t, { hascustomstyling: v = "false" } = t, { mbsource: O } = t, { currencylocale: x = "" } = t, Z, de, K, J = [], F = 0, U = 0, en = window.navigator.userAgent, Pt, be, Xe, k, ze = !0, Ot = !1, Ct = !1, Mt, He, Ze, ge, Nt = [], Qe = !1, tn;
4880
- const Je = (h) => {
4881
- Object.keys(h).forEach((P) => {
4882
- Oo(P, h[P]);
4855
+ function os(e, t, n) {
4856
+ let r;
4857
+ xr(e, Ao, (h) => n(18, r = h));
4858
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: m = "1" } = t, { vendorCategory: f = "All" } = t, { lang: p = "en" } = t, { isrecentavailable: g = "true" } = t, { istopavailable: b = "true" } = t, { defaultcurrency: P = "" } = t, { usercurrency: I = "" } = t, { customcurrencysymbol: L } = t, { clientstyling: T = "" } = t, { clientstylingurl: H = "" } = t, { enableautoscroll: E = "" } = t, { tabsorder: R = "" } = t, { translationurl: W = "" } = t, { winnersdatasources: N = "" } = t, { hascustomstyling: v = "false" } = t, { mbsource: M } = t, { currencylocale: x = "" } = t, z, be, K, J = [], F = 0, U = 0, tr = window.navigator.userAgent, Ht, ge, $e, j, Ve = !0, At = !1, Pt = !1, Ct, He, Xe, ye, Mt = [], ze = !1, Ot, nr;
4859
+ const Ze = (h) => {
4860
+ Object.keys(h).forEach((C) => {
4861
+ Po(C, h[C]);
4883
4862
  });
4884
- }, rn = () => {
4863
+ }, rr = () => {
4885
4864
  let h = new URL(W);
4886
- fetch(h.href).then((P) => P.json()).then((P) => {
4887
- Je(P);
4888
- }).catch((P) => {
4889
- console.log(P);
4865
+ fetch(h.href).then((C) => C.json()).then((C) => {
4866
+ Ze(C);
4867
+ }).catch((C) => {
4868
+ console.log(C);
4890
4869
  });
4891
4870
  };
4892
- Je(Mo);
4871
+ Ze(Mo);
4893
4872
  const It = () => {
4894
- Nt = I.split(",").map(function(P) {
4895
- return P.trim();
4873
+ Mt = N.split(",").map(function(C) {
4874
+ return C.trim();
4896
4875
  });
4897
4876
  const h = new URL(`${i}/v1/casino/${K}-winners`);
4898
- r(17, Qe = !0), h.searchParams.append("limit", K == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ge), h.searchParams.append("period", K == "recent" ? a : u), h.searchParams.append("language", d), h.searchParams.append("amountLimit", m), h.searchParams.append("vendorCategory", f), Nt.forEach((P) => {
4899
- h.searchParams.append("dataSource", P);
4877
+ n(17, ze = !0), h.searchParams.append("limit", K == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ye), h.searchParams.append("period", K == "recent" ? a : u), h.searchParams.append("language", p), h.searchParams.append("amountLimit", m), h.searchParams.append("vendorCategory", f), Mt.forEach((C) => {
4878
+ h.searchParams.append("dataSource", C);
4900
4879
  }), setTimeout(
4901
4880
  () => {
4902
- fetch(h.href).then((P) => P.json()).then(async (P) => {
4903
- r(10, J = []), r(10, J = P.items.map((te) => te)), r(17, Qe = !1), await kt(), an(), Rt(), E == "true" && (clearInterval(He), sn()), r(13, ze = !1), nn();
4881
+ fetch(h.href).then((C) => C.json()).then(async (C) => {
4882
+ n(10, J = []), n(10, J = C.items.map((te) => te)), n(17, ze = !1), await kt(), ar(), Lt(), E == "true" && (clearInterval(He), sr()), n(13, Ve = !1), ir();
4904
4883
  });
4905
4884
  },
4906
4885
  1e3
4907
4886
  );
4908
- }, nn = () => {
4909
- const h = k.getRootNode().host;
4887
+ }, ir = () => {
4888
+ const h = j.getRootNode().host;
4910
4889
  h.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: h } }));
4911
- }, qe = (h) => {
4912
- K !== h && (r(10, J = []), r(9, K = h), It());
4913
- }, on = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Lt = (h, P, te, Ke) => {
4890
+ }, Qe = (h) => {
4891
+ K !== h && (n(10, J = []), n(9, K = h), It());
4892
+ }, or = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Nt = (h, C, te, qe) => {
4914
4893
  window.postMessage(
4915
4894
  {
4916
4895
  type: "OpenCasinoWinnersGame",
4917
4896
  gameId: h,
4918
- launchUrl: P,
4897
+ launchUrl: C,
4919
4898
  gameName: te,
4920
- subVendor: Ke
4899
+ subVendor: qe
4921
4900
  },
4922
4901
  window.location.href
4923
4902
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4924
4903
  context: "WinnersWidget",
4925
4904
  gameId: `${h}`,
4926
- userId: `${Xe || "Not logged in"}`
4905
+ userId: `${$e || "Not logged in"}`
4927
4906
  });
4928
- }, Rt = (h = 0) => {
4929
- const P = [...Z.children];
4930
- Mt = P.length, P.forEach((te, Ke) => {
4931
- te.style.transform = `translateX(${100 * (Ke - h)}%)`;
4907
+ }, Lt = (h = 0) => {
4908
+ const C = [...z.children];
4909
+ Ct = C.length, C.forEach((te, qe) => {
4910
+ te.style.transform = `translateX(${100 * (qe - h)}%)`;
4932
4911
  }), setTimeout(
4933
4912
  () => {
4934
- r(15, Ct = !0);
4913
+ n(15, Pt = !0);
4935
4914
  },
4936
4915
  10
4937
4916
  );
4938
- }, sn = () => {
4939
- F = 0, U < Mt ? He = setInterval(
4917
+ }, sr = () => {
4918
+ F = 0, U < Ct ? He = setInterval(
4940
4919
  () => {
4941
- Ye();
4920
+ Je();
4942
4921
  },
4943
4922
  3e3
4944
4923
  ) : clearInterval(He);
4945
- }, Wt = () => {
4946
- Rt(F);
4947
- }, an = async () => {
4924
+ }, Rt = () => {
4925
+ Lt(F);
4926
+ }, ar = async () => {
4948
4927
  await kt(), requestAnimationFrame(() => {
4949
- const h = de ? de.offsetWidth : 0;
4950
- Z.offsetWidth && h ? r(11, U = Math.round(Z.offsetWidth / h)) : r(11, U = 0);
4928
+ const h = be ? be.offsetWidth : 0;
4929
+ z.offsetWidth && h ? n(11, U = Math.round(z.offsetWidth / h)) : n(11, U = 0);
4951
4930
  });
4952
- }, Ft = () => {
4931
+ }, Wt = () => {
4953
4932
  if (U >= J.length)
4954
4933
  return;
4955
4934
  const h = J.length;
4956
- F === 0 ? F = h - U : F - U < 0 ? F = 0 : F = F - U, Wt();
4957
- }, Ye = () => {
4935
+ F === 0 ? F = h - U : F - U < 0 ? F = 0 : F = F - U, Rt();
4936
+ }, Je = () => {
4958
4937
  if (U >= J.length)
4959
4938
  return;
4960
4939
  const h = J.length;
4961
- E == "true" && (F === h - U ? F = 0 : F++), E == "false" && (F === h - U ? F = 0 : h - U < F + U ? F = h - U : F += U), Wt();
4962
- }, un = () => {
4963
- Co(d);
4964
- }, ln = () => {
4965
- r(43, be = !0), Xe = s;
4966
- }, Ut = () => {
4967
- r(44, ge = be ? N : A);
4968
- }, hn = (h) => {
4969
- const P = L ?? (be ? N : A);
4940
+ E == "true" && (F === h - U ? F = 0 : F++), E == "false" && (F === h - U ? F = 0 : h - U < F + U ? F = h - U : F += U), Rt();
4941
+ }, ur = () => {
4942
+ Co(p);
4943
+ }, lr = () => {
4944
+ n(43, ge = !0), $e = s;
4945
+ }, Ft = () => {
4946
+ n(44, ye = ge ? I : P);
4947
+ }, hr = (h) => {
4948
+ const C = L ?? (ge ? I : P);
4970
4949
  return `${x ? Intl.NumberFormat(x, {
4971
4950
  minimumFractionDigits: 2,
4972
4951
  maximumFractionDigits: 2,
4973
4952
  style: "currency",
4974
- currency: ge
4975
- }).format(h).replace(/\s/g, "") : h.toFixed(2)}<span class="CurrencySymbol">${P}</span>`;
4976
- }, cn = () => {
4977
- v === "true" && (!S && !B && k && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !S && B && r(14, Ot = !0));
4978
- }, fn = () => {
4979
- r(16, Ze = R.split(",")), r(9, K = Ze[0]), Ut(), r(13, ze = !1);
4953
+ currency: ye
4954
+ }).format(h).replace(/\s/g, "") : h.toFixed(2)}<span class="CurrencySymbol">${C}</span>`;
4955
+ }, cr = () => {
4956
+ v === "true" && (!T && !H && j && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !T && H && n(14, At = !0));
4957
+ }, fr = () => {
4958
+ n(16, Xe = R.split(",")), n(9, K = Xe[0]), Ft(), n(13, Ve = !1);
4980
4959
  };
4981
- Pn(() => (r(12, Pt = zo(en)), () => {
4982
- clearInterval(He);
4960
+ Pr(() => (n(12, Ht = Xo(tr)), () => {
4961
+ window.emMessageBus && Ot && Ot.unsubscribe(), clearInterval(He);
4983
4962
  }));
4984
- const mn = () => qe("recent"), pn = () => qe("top"), dn = () => Ft(), bn = () => Ye(), gn = (h) => Lt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4985
- function yn(h) {
4986
- _e[h ? "unshift" : "push"](() => {
4987
- de = h, r(8, de);
4963
+ const mr = () => Qe("recent"), dr = () => Qe("top"), pr = () => Wt(), br = () => Je(), gr = (h) => Nt(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
4964
+ function yr(h) {
4965
+ Ee[h ? "unshift" : "push"](() => {
4966
+ be = h, n(8, be);
4988
4967
  });
4989
4968
  }
4990
- function vn(h) {
4991
- _e[h ? "unshift" : "push"](() => {
4992
- Z = h, r(7, Z);
4969
+ function vr(h) {
4970
+ Ee[h ? "unshift" : "push"](() => {
4971
+ z = h, n(7, z);
4993
4972
  });
4994
4973
  }
4995
- function _n(h) {
4996
- _e[h ? "unshift" : "push"](() => {
4997
- k = h, r(6, k);
4974
+ function _r(h) {
4975
+ Ee[h ? "unshift" : "push"](() => {
4976
+ j = h, n(6, j);
4998
4977
  });
4999
4978
  }
5000
4979
  return e.$$set = (h) => {
5001
- "endpoint" in h && r(25, i = h.endpoint), "session" in h && r(26, o = h.session), "userid" in h && r(27, s = h.userid), "periodrecent" in h && r(28, a = h.periodrecent), "periodtop" in h && r(29, u = h.periodtop), "numberusersrecent" in h && r(30, l = h.numberusersrecent), "numberuserstop" in h && r(31, c = h.numberuserstop), "amountlimit" in h && r(32, m = h.amountlimit), "vendorCategory" in h && r(33, f = h.vendorCategory), "lang" in h && r(34, d = h.lang), "isrecentavailable" in h && r(0, g = h.isrecentavailable), "istopavailable" in h && r(1, b = h.istopavailable), "defaultcurrency" in h && r(35, A = h.defaultcurrency), "usercurrency" in h && r(36, N = h.usercurrency), "customcurrencysymbol" in h && r(37, L = h.customcurrencysymbol), "clientstyling" in h && r(2, S = h.clientstyling), "clientstylingurl" in h && r(3, B = h.clientstylingurl), "enableautoscroll" in h && r(4, E = h.enableautoscroll), "tabsorder" in h && r(38, R = h.tabsorder), "translationurl" in h && r(39, W = h.translationurl), "winnersdatasources" in h && r(40, I = h.winnersdatasources), "hascustomstyling" in h && r(41, v = h.hascustomstyling), "mbsource" in h && r(5, O = h.mbsource), "currencylocale" in h && r(42, x = h.currencylocale);
4980
+ "endpoint" in h && n(25, i = h.endpoint), "session" in h && n(26, o = h.session), "userid" in h && n(27, s = h.userid), "periodrecent" in h && n(28, a = h.periodrecent), "periodtop" in h && n(29, u = h.periodtop), "numberusersrecent" in h && n(30, l = h.numberusersrecent), "numberuserstop" in h && n(31, c = h.numberuserstop), "amountlimit" in h && n(32, m = h.amountlimit), "vendorCategory" in h && n(33, f = h.vendorCategory), "lang" in h && n(34, p = h.lang), "isrecentavailable" in h && n(0, g = h.isrecentavailable), "istopavailable" in h && n(1, b = h.istopavailable), "defaultcurrency" in h && n(35, P = h.defaultcurrency), "usercurrency" in h && n(36, I = h.usercurrency), "customcurrencysymbol" in h && n(37, L = h.customcurrencysymbol), "clientstyling" in h && n(2, T = h.clientstyling), "clientstylingurl" in h && n(3, H = h.clientstylingurl), "enableautoscroll" in h && n(4, E = h.enableautoscroll), "tabsorder" in h && n(38, R = h.tabsorder), "translationurl" in h && n(39, W = h.translationurl), "winnersdatasources" in h && n(40, N = h.winnersdatasources), "hascustomstyling" in h && n(41, v = h.hascustomstyling), "mbsource" in h && n(5, M = h.mbsource), "currencylocale" in h && n(42, x = h.currencylocale);
5002
4981
  }, e.$$.update = () => {
5003
4982
  e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
5004
4983
  1879048195 | e.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
5005
- 143 && g && b && a && u && l && c && m && f && d && R && fn(), e.$$.dirty[0] & /*session*/
5006
- 67108864 && o && ln(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
5007
- 4144 && be && (N || A) && Ut(), e.$$.dirty[0] & /*endpoint*/
4984
+ 143 && g && b && a && u && l && c && m && f && p && R && fr(), e.$$.dirty[0] & /*session*/
4985
+ 67108864 && o && lr(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
4986
+ 4144 && ge && (I || P) && Ft(), e.$$.dirty[0] & /*endpoint*/
5008
4987
  33554432 | e.$$.dirty[1] & /*winnersdatasources, currency*/
5009
- 8704 && i && I && ge && It(), e.$$.dirty[1] & /*lang*/
5010
- 8 && d && un(), e.$$.dirty[1] & /*translationurl*/
5011
- 256 && W && rn(), e.$$.dirty[0] & /*mbsource*/
4988
+ 8704 && i && N && ye && It(), e.$$.dirty[1] & /*lang*/
4989
+ 8 && p && ur(), e.$$.dirty[1] & /*translationurl*/
4990
+ 256 && W && rr(), e.$$.dirty[0] & /*mbsource*/
5012
4991
  32 | e.$$.dirty[1] & /*translationurl*/
5013
- 256 && O && !W && qo(`${O}.Translation`, tn, Je), e.$$.dirty[1] & /*hascustomstyling*/
5014
- 1024 && v && cn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5015
- 68 && S && k && Zo(k, S), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5016
- 72 && B && k && Qo(k, B), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5017
- 96 && k && Jo(k, `${O}.Style`);
4992
+ 256 && M && !W && Jo(`${M}.Translation`, nr, Ze), e.$$.dirty[1] & /*hascustomstyling*/
4993
+ 1024 && v && cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4994
+ 68 && T && j && zo(j, T), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4995
+ 72 && H && j && Zo(j, H), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4996
+ 96 && j && Qo(j, `${M}.Style`);
5018
4997
  }, [
5019
4998
  g,
5020
4999
  b,
5021
- S,
5022
- B,
5000
+ T,
5001
+ H,
5023
5002
  E,
5024
- O,
5025
- k,
5026
- Z,
5027
- de,
5003
+ M,
5004
+ j,
5005
+ z,
5006
+ be,
5028
5007
  K,
5029
5008
  J,
5030
5009
  U,
5010
+ Ht,
5011
+ Ve,
5012
+ At,
5031
5013
  Pt,
5014
+ Xe,
5032
5015
  ze,
5033
- Ot,
5034
- Ct,
5035
- Ze,
5016
+ r,
5036
5017
  Qe,
5037
- n,
5038
- qe,
5039
- on,
5040
- Lt,
5041
- Ft,
5042
- Ye,
5043
- hn,
5018
+ or,
5019
+ Nt,
5020
+ Wt,
5021
+ Je,
5022
+ hr,
5044
5023
  i,
5045
5024
  o,
5046
5025
  s,
@@ -5050,35 +5029,35 @@ function ss(e, t, r) {
5050
5029
  c,
5051
5030
  m,
5052
5031
  f,
5053
- d,
5054
- A,
5055
- N,
5032
+ p,
5033
+ P,
5034
+ I,
5056
5035
  L,
5057
5036
  R,
5058
5037
  W,
5059
- I,
5038
+ N,
5060
5039
  v,
5061
5040
  x,
5062
- be,
5063
5041
  ge,
5064
- mn,
5065
- pn,
5066
- dn,
5067
- bn,
5068
- gn,
5069
- yn,
5070
- vn,
5071
- _n
5042
+ ye,
5043
+ mr,
5044
+ dr,
5045
+ pr,
5046
+ br,
5047
+ gr,
5048
+ yr,
5049
+ vr,
5050
+ _r
5072
5051
  ];
5073
5052
  }
5074
- class as extends Un {
5053
+ class ss extends Ur {
5075
5054
  constructor(t) {
5076
- super(), Wn(
5055
+ super(), Wr(
5077
5056
  this,
5078
5057
  t,
5079
- ss,
5080
5058
  os,
5081
- yr,
5059
+ is,
5060
+ yn,
5082
5061
  {
5083
5062
  endpoint: 25,
5084
5063
  session: 26,
@@ -5105,7 +5084,7 @@ class as extends Un {
5105
5084
  mbsource: 5,
5106
5085
  currencylocale: 42
5107
5086
  },
5108
- Yo,
5087
+ qo,
5109
5088
  [-1, -1, -1]
5110
5089
  );
5111
5090
  }
@@ -5113,163 +5092,163 @@ class as extends Un {
5113
5092
  return this.$$.ctx[25];
5114
5093
  }
5115
5094
  set endpoint(t) {
5116
- this.$$set({ endpoint: t }), T();
5095
+ this.$$set({ endpoint: t }), B();
5117
5096
  }
5118
5097
  get session() {
5119
5098
  return this.$$.ctx[26];
5120
5099
  }
5121
5100
  set session(t) {
5122
- this.$$set({ session: t }), T();
5101
+ this.$$set({ session: t }), B();
5123
5102
  }
5124
5103
  get userid() {
5125
5104
  return this.$$.ctx[27];
5126
5105
  }
5127
5106
  set userid(t) {
5128
- this.$$set({ userid: t }), T();
5107
+ this.$$set({ userid: t }), B();
5129
5108
  }
5130
5109
  get periodrecent() {
5131
5110
  return this.$$.ctx[28];
5132
5111
  }
5133
5112
  set periodrecent(t) {
5134
- this.$$set({ periodrecent: t }), T();
5113
+ this.$$set({ periodrecent: t }), B();
5135
5114
  }
5136
5115
  get periodtop() {
5137
5116
  return this.$$.ctx[29];
5138
5117
  }
5139
5118
  set periodtop(t) {
5140
- this.$$set({ periodtop: t }), T();
5119
+ this.$$set({ periodtop: t }), B();
5141
5120
  }
5142
5121
  get numberusersrecent() {
5143
5122
  return this.$$.ctx[30];
5144
5123
  }
5145
5124
  set numberusersrecent(t) {
5146
- this.$$set({ numberusersrecent: t }), T();
5125
+ this.$$set({ numberusersrecent: t }), B();
5147
5126
  }
5148
5127
  get numberuserstop() {
5149
5128
  return this.$$.ctx[31];
5150
5129
  }
5151
5130
  set numberuserstop(t) {
5152
- this.$$set({ numberuserstop: t }), T();
5131
+ this.$$set({ numberuserstop: t }), B();
5153
5132
  }
5154
5133
  get amountlimit() {
5155
5134
  return this.$$.ctx[32];
5156
5135
  }
5157
5136
  set amountlimit(t) {
5158
- this.$$set({ amountlimit: t }), T();
5137
+ this.$$set({ amountlimit: t }), B();
5159
5138
  }
5160
5139
  get vendorCategory() {
5161
5140
  return this.$$.ctx[33];
5162
5141
  }
5163
5142
  set vendorCategory(t) {
5164
- this.$$set({ vendorCategory: t }), T();
5143
+ this.$$set({ vendorCategory: t }), B();
5165
5144
  }
5166
5145
  get lang() {
5167
5146
  return this.$$.ctx[34];
5168
5147
  }
5169
5148
  set lang(t) {
5170
- this.$$set({ lang: t }), T();
5149
+ this.$$set({ lang: t }), B();
5171
5150
  }
5172
5151
  get isrecentavailable() {
5173
5152
  return this.$$.ctx[0];
5174
5153
  }
5175
5154
  set isrecentavailable(t) {
5176
- this.$$set({ isrecentavailable: t }), T();
5155
+ this.$$set({ isrecentavailable: t }), B();
5177
5156
  }
5178
5157
  get istopavailable() {
5179
5158
  return this.$$.ctx[1];
5180
5159
  }
5181
5160
  set istopavailable(t) {
5182
- this.$$set({ istopavailable: t }), T();
5161
+ this.$$set({ istopavailable: t }), B();
5183
5162
  }
5184
5163
  get defaultcurrency() {
5185
5164
  return this.$$.ctx[35];
5186
5165
  }
5187
5166
  set defaultcurrency(t) {
5188
- this.$$set({ defaultcurrency: t }), T();
5167
+ this.$$set({ defaultcurrency: t }), B();
5189
5168
  }
5190
5169
  get usercurrency() {
5191
5170
  return this.$$.ctx[36];
5192
5171
  }
5193
5172
  set usercurrency(t) {
5194
- this.$$set({ usercurrency: t }), T();
5173
+ this.$$set({ usercurrency: t }), B();
5195
5174
  }
5196
5175
  get customcurrencysymbol() {
5197
5176
  return this.$$.ctx[37];
5198
5177
  }
5199
5178
  set customcurrencysymbol(t) {
5200
- this.$$set({ customcurrencysymbol: t }), T();
5179
+ this.$$set({ customcurrencysymbol: t }), B();
5201
5180
  }
5202
5181
  get clientstyling() {
5203
5182
  return this.$$.ctx[2];
5204
5183
  }
5205
5184
  set clientstyling(t) {
5206
- this.$$set({ clientstyling: t }), T();
5185
+ this.$$set({ clientstyling: t }), B();
5207
5186
  }
5208
5187
  get clientstylingurl() {
5209
5188
  return this.$$.ctx[3];
5210
5189
  }
5211
5190
  set clientstylingurl(t) {
5212
- this.$$set({ clientstylingurl: t }), T();
5191
+ this.$$set({ clientstylingurl: t }), B();
5213
5192
  }
5214
5193
  get enableautoscroll() {
5215
5194
  return this.$$.ctx[4];
5216
5195
  }
5217
5196
  set enableautoscroll(t) {
5218
- this.$$set({ enableautoscroll: t }), T();
5197
+ this.$$set({ enableautoscroll: t }), B();
5219
5198
  }
5220
5199
  get tabsorder() {
5221
5200
  return this.$$.ctx[38];
5222
5201
  }
5223
5202
  set tabsorder(t) {
5224
- this.$$set({ tabsorder: t }), T();
5203
+ this.$$set({ tabsorder: t }), B();
5225
5204
  }
5226
5205
  get translationurl() {
5227
5206
  return this.$$.ctx[39];
5228
5207
  }
5229
5208
  set translationurl(t) {
5230
- this.$$set({ translationurl: t }), T();
5209
+ this.$$set({ translationurl: t }), B();
5231
5210
  }
5232
5211
  get winnersdatasources() {
5233
5212
  return this.$$.ctx[40];
5234
5213
  }
5235
5214
  set winnersdatasources(t) {
5236
- this.$$set({ winnersdatasources: t }), T();
5215
+ this.$$set({ winnersdatasources: t }), B();
5237
5216
  }
5238
5217
  get hascustomstyling() {
5239
5218
  return this.$$.ctx[41];
5240
5219
  }
5241
5220
  set hascustomstyling(t) {
5242
- this.$$set({ hascustomstyling: t }), T();
5221
+ this.$$set({ hascustomstyling: t }), B();
5243
5222
  }
5244
5223
  get mbsource() {
5245
5224
  return this.$$.ctx[5];
5246
5225
  }
5247
5226
  set mbsource(t) {
5248
- this.$$set({ mbsource: t }), T();
5227
+ this.$$set({ mbsource: t }), B();
5249
5228
  }
5250
5229
  get currencylocale() {
5251
5230
  return this.$$.ctx[42];
5252
5231
  }
5253
5232
  set currencylocale(t) {
5254
- this.$$set({ currencylocale: t }), T();
5233
+ this.$$set({ currencylocale: t }), B();
5255
5234
  }
5256
5235
  }
5257
- Fn(as, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5236
+ Fr(ss, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
5258
5237
  export {
5259
- as as C,
5260
- Un as S,
5261
- wn as a,
5262
- j as b,
5263
- Fn as c,
5238
+ ss as C,
5239
+ Ur as S,
5240
+ wr as a,
5241
+ k as b,
5242
+ Fr as c,
5264
5243
  D as d,
5265
- M as e,
5266
- T as f,
5267
- _e as g,
5268
- Zo as h,
5269
- Wn as i,
5270
- Qo as j,
5271
- Jo as k,
5244
+ O as e,
5245
+ B as f,
5246
+ Qo as g,
5247
+ Ee as h,
5248
+ Wr as i,
5249
+ zo as j,
5250
+ Zo as k,
5272
5251
  $ as n,
5273
- Pn as o,
5274
- yr as s
5252
+ Pr as o,
5253
+ yn as s
5275
5254
  };