@everymatrix/casino-jackpot-banner 1.53.0 → 1.53.11

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,57 +1,28 @@
1
- var qr = Object.defineProperty, Kr = Object.defineProperties;
2
- var en = Object.getOwnPropertyDescriptors;
3
- var jt = Object.getOwnPropertySymbols;
4
- var tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable;
5
- var lt = (e, t, r) => t in e ? qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
6
- for (var r in t || (t = {}))
7
- tn.call(t, r) && lt(e, r, t[r]);
8
- if (jt)
9
- for (var r of jt(t))
10
- rn.call(t, r) && lt(e, r, t[r]);
11
- return e;
12
- }, kt = (e, t) => Kr(e, en(t));
13
- var j = (e, t, r) => lt(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Vt = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
16
- try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, o = (l) => {
22
- try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
- a((r = r.apply(e, t)).next());
29
- });
30
1
  function G() {
31
2
  }
32
- function yr(e) {
3
+ function hr(e) {
33
4
  return e();
34
5
  }
35
- function Wt() {
6
+ function Ut() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function Ge(e) {
39
- e.forEach(yr);
9
+ function Ue(e) {
10
+ e.forEach(hr);
40
11
  }
41
- function Nt(e) {
12
+ function Ot(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function vr(e, t) {
15
+ function cr(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let Xe;
48
- function F(e, t) {
49
- return e === t ? !0 : (Xe || (Xe = document.createElement("a")), Xe.href = t, e === Xe.href);
18
+ let Ve;
19
+ function k(e, t) {
20
+ return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
50
21
  }
51
- function nn(e) {
22
+ function Fr(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function sn(e, ...t) {
25
+ function Vr(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
@@ -63,14 +34,14 @@ function sn(e, ...t) {
63
34
  function m(e, t) {
64
35
  e.appendChild(t);
65
36
  }
66
- function on(e, t, r) {
67
- const n = an(e);
37
+ function Wr(e, t, r) {
38
+ const n = Xr(e);
68
39
  if (!n.getElementById(t)) {
69
- const i = b("style");
70
- i.id = t, i.textContent = r, un(n, i);
40
+ const i = g("style");
41
+ i.id = t, i.textContent = r, zr(n, i);
71
42
  }
72
43
  }
73
- function an(e) {
44
+ function Xr(e) {
74
45
  if (!e) return document;
75
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
47
  return t && /** @type {ShadowRoot} */
@@ -79,52 +50,52 @@ function an(e) {
79
50
  t
80
51
  ) : e.ownerDocument;
81
52
  }
82
- function un(e, t) {
53
+ function zr(e, t) {
83
54
  return m(
84
55
  /** @type {Document} */
85
56
  e.head || e,
86
57
  t
87
58
  ), t.sheet;
88
59
  }
89
- function Q(e, t, r) {
60
+ function Z(e, t, r) {
90
61
  e.insertBefore(t, r || null);
91
62
  }
92
- function W(e) {
63
+ function V(e) {
93
64
  e.parentNode && e.parentNode.removeChild(e);
94
65
  }
95
- function ln(e, t) {
66
+ function Jr(e, t) {
96
67
  for (let r = 0; r < e.length; r += 1)
97
68
  e[r] && e[r].d(t);
98
69
  }
99
- function b(e) {
70
+ function g(e) {
100
71
  return document.createElement(e);
101
72
  }
102
73
  function N(e) {
103
74
  return document.createTextNode(e);
104
75
  }
105
- function Z() {
76
+ function J() {
106
77
  return N(" ");
107
78
  }
108
- function hn() {
79
+ function Zr() {
109
80
  return N("");
110
81
  }
111
- function cn(e, t, r, n) {
82
+ function Qr(e, t, r, n) {
112
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
84
  }
114
85
  function d(e, t, r) {
115
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
87
  }
117
- function fn(e) {
88
+ function Yr(e) {
118
89
  return Array.from(e.childNodes);
119
90
  }
120
91
  function R(e, t) {
121
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
93
  t);
123
94
  }
124
- function ze(e, t, r, n) {
95
+ function We(e, t, r, n) {
125
96
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
126
97
  }
127
- function pn(e) {
98
+ function qr(e) {
128
99
  const t = {};
129
100
  return e.childNodes.forEach(
130
101
  /** @param {Element} node */
@@ -133,81 +104,81 @@ function pn(e) {
133
104
  }
134
105
  ), t;
135
106
  }
136
- let Mt;
137
- function Re(e) {
138
- Mt = e;
107
+ let Lt;
108
+ function Ne(e) {
109
+ Lt = e;
139
110
  }
140
- const _e = [], yt = [];
141
- let xe = [];
142
- const Xt = [], dn = /* @__PURE__ */ Promise.resolve();
143
- let vt = !1;
144
- function mn() {
145
- vt || (vt = !0, dn.then(O));
111
+ const ve = [], mt = [];
112
+ let _e = [];
113
+ const Dt = [], Kr = /* @__PURE__ */ Promise.resolve();
114
+ let bt = !1;
115
+ function en() {
116
+ bt || (bt = !0, Kr.then(I));
146
117
  }
147
- function _t(e) {
148
- xe.push(e);
118
+ function gt(e) {
119
+ _e.push(e);
149
120
  }
150
- const ht = /* @__PURE__ */ new Set();
151
- let ye = 0;
152
- function O() {
153
- if (ye !== 0)
121
+ const ut = /* @__PURE__ */ new Set();
122
+ let ge = 0;
123
+ function I() {
124
+ if (ge !== 0)
154
125
  return;
155
- const e = Mt;
126
+ const e = Lt;
156
127
  do {
157
128
  try {
158
- for (; ye < _e.length; ) {
159
- const t = _e[ye];
160
- ye++, Re(t), bn(t.$$);
129
+ for (; ge < ve.length; ) {
130
+ const t = ve[ge];
131
+ ge++, Ne(t), tn(t.$$);
161
132
  }
162
133
  } catch (t) {
163
- throw _e.length = 0, ye = 0, t;
134
+ throw ve.length = 0, ge = 0, t;
164
135
  }
165
- for (Re(null), _e.length = 0, ye = 0; yt.length; ) yt.pop()();
166
- for (let t = 0; t < xe.length; t += 1) {
167
- const r = xe[t];
168
- ht.has(r) || (ht.add(r), r());
136
+ for (Ne(null), ve.length = 0, ge = 0; mt.length; ) mt.pop()();
137
+ for (let t = 0; t < _e.length; t += 1) {
138
+ const r = _e[t];
139
+ ut.has(r) || (ut.add(r), r());
169
140
  }
170
- xe.length = 0;
171
- } while (_e.length);
172
- for (; Xt.length; )
173
- Xt.pop()();
174
- vt = !1, ht.clear(), Re(e);
141
+ _e.length = 0;
142
+ } while (ve.length);
143
+ for (; Dt.length; )
144
+ Dt.pop()();
145
+ bt = !1, ut.clear(), Ne(e);
175
146
  }
176
- function bn(e) {
147
+ function tn(e) {
177
148
  if (e.fragment !== null) {
178
- e.update(), Ge(e.before_update);
149
+ e.update(), Ue(e.before_update);
179
150
  const t = e.dirty;
180
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_t);
151
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
181
152
  }
182
153
  }
183
- function gn(e) {
154
+ function rn(e) {
184
155
  const t = [], r = [];
185
- xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), xe = t;
156
+ _e.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), _e = t;
186
157
  }
187
- const yn = /* @__PURE__ */ new Set();
188
- function vn(e, t) {
189
- e && e.i && (yn.delete(e), e.i(t));
158
+ const nn = /* @__PURE__ */ new Set();
159
+ function sn(e, t) {
160
+ e && e.i && (nn.delete(e), e.i(t));
190
161
  }
191
- function zt(e) {
192
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
162
+ function Gt(e) {
163
+ return e?.length !== void 0 ? e : Array.from(e);
193
164
  }
194
- function _n(e, t, r) {
165
+ function on(e, t, r) {
195
166
  const { fragment: n, after_update: i } = e.$$;
196
- n && n.m(t, r), _t(() => {
197
- const s = e.$$.on_mount.map(yr).filter(Nt);
198
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ge(s), e.$$.on_mount = [];
199
- }), i.forEach(_t);
167
+ n && n.m(t, r), gt(() => {
168
+ const s = e.$$.on_mount.map(hr).filter(Ot);
169
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ue(s), e.$$.on_mount = [];
170
+ }), i.forEach(gt);
200
171
  }
201
- function xn(e, t) {
172
+ function an(e, t) {
202
173
  const r = e.$$;
203
- r.fragment !== null && (gn(r.after_update), Ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
+ r.fragment !== null && (rn(r.after_update), Ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
175
  }
205
- function En(e, t) {
206
- e.$$.dirty[0] === -1 && (_e.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
+ function un(e, t) {
177
+ e.$$.dirty[0] === -1 && (ve.push(e), en(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
178
  }
208
- function Sn(e, t, r, n, i, s, o = null, a = [-1]) {
209
- const l = Mt;
210
- Re(e);
179
+ function ln(e, t, r, n, i, s, o = null, a = [-1]) {
180
+ const l = Lt;
181
+ Ne(e);
211
182
  const u = e.$$ = {
212
183
  fragment: null,
213
184
  ctx: [],
@@ -215,7 +186,7 @@ function Sn(e, t, r, n, i, s, o = null, a = [-1]) {
215
186
  props: s,
216
187
  update: G,
217
188
  not_equal: i,
218
- bound: Wt(),
189
+ bound: Ut(),
219
190
  // lifecycle
220
191
  on_mount: [],
221
192
  on_destroy: [],
@@ -224,150 +195,146 @@ function Sn(e, t, r, n, i, s, o = null, a = [-1]) {
224
195
  after_update: [],
225
196
  context: new Map(t.context || (l ? l.$$.context : [])),
226
197
  // everything else
227
- callbacks: Wt(),
198
+ callbacks: Ut(),
228
199
  dirty: a,
229
200
  skip_bound: !1,
230
201
  root: t.target || l.$$.root
231
202
  };
232
203
  o && o(u.root);
233
204
  let h = !1;
234
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ...g) => {
235
- const y = g.length ? g[0] : p;
236
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && En(e, c)), p;
237
- }) : [], u.update(), h = !0, Ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
+ if (u.ctx = r(e, t.props || {}, (c, f, ...y) => {
206
+ const v = y.length ? y[0] : f;
207
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && un(e, c)), f;
208
+ }), u.update(), h = !0, Ue(u.before_update), u.fragment = n(u.ctx), t.target) {
238
209
  if (t.hydrate) {
239
- const c = fn(t.target);
240
- u.fragment && u.fragment.l(c), c.forEach(W);
210
+ const c = Yr(t.target);
211
+ u.fragment && u.fragment.l(c), c.forEach(V);
241
212
  } else
242
213
  u.fragment && u.fragment.c();
243
- t.intro && vn(e.$$.fragment), _n(e, t.target, t.anchor), O();
214
+ t.intro && sn(e.$$.fragment), on(e, t.target, t.anchor), I();
244
215
  }
245
- Re(l);
246
- }
247
- let _r;
248
- typeof HTMLElement == "function" && (_r = class extends HTMLElement {
249
- constructor(t, r, n) {
250
- super();
251
- /** The Svelte component constructor */
252
- j(this, "$$ctor");
253
- /** Slots */
254
- j(this, "$$s");
255
- /** The Svelte component instance */
256
- j(this, "$$c");
257
- /** Whether or not the custom element is connected */
258
- j(this, "$$cn", !1);
259
- /** Component props data */
260
- j(this, "$$d", {});
261
- /** `true` if currently in the process of reflecting component props back to attributes */
262
- j(this, "$$r", !1);
263
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
264
- j(this, "$$p_d", {});
265
- /** @type {Record<string, Function[]>} Event listeners */
266
- j(this, "$$l", {});
267
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
268
- j(this, "$$l_u", /* @__PURE__ */ new Map());
269
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
216
+ Ne(l);
217
+ }
218
+ let fr;
219
+ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
220
+ /** The Svelte component constructor */
221
+ $$ctor;
222
+ /** Slots */
223
+ $$s;
224
+ /** The Svelte component instance */
225
+ $$c;
226
+ /** Whether or not the custom element is connected */
227
+ $$cn = !1;
228
+ /** Component props data */
229
+ $$d = {};
230
+ /** `true` if currently in the process of reflecting component props back to attributes */
231
+ $$r = !1;
232
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
233
+ $$p_d = {};
234
+ /** @type {Record<string, Function[]>} Event listeners */
235
+ $$l = {};
236
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
237
+ $$l_u = /* @__PURE__ */ new Map();
238
+ constructor(e, t, r) {
239
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
270
240
  }
271
- addEventListener(t, r, n) {
272
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
273
- const i = this.$$c.$on(t, r);
274
- this.$$l_u.set(r, i);
241
+ addEventListener(e, t, r) {
242
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
243
+ const n = this.$$c.$on(e, t);
244
+ this.$$l_u.set(t, n);
275
245
  }
276
- super.addEventListener(t, r, n);
246
+ super.addEventListener(e, t, r);
277
247
  }
278
- removeEventListener(t, r, n) {
279
- if (super.removeEventListener(t, r, n), this.$$c) {
280
- const i = this.$$l_u.get(r);
281
- i && (i(), this.$$l_u.delete(r));
248
+ removeEventListener(e, t, r) {
249
+ if (super.removeEventListener(e, t, r), this.$$c) {
250
+ const n = this.$$l_u.get(t);
251
+ n && (n(), this.$$l_u.delete(t));
282
252
  }
283
253
  }
284
- connectedCallback() {
285
- return Vt(this, null, function* () {
286
- if (this.$$cn = !0, !this.$$c) {
287
- let t = function(s) {
288
- return () => {
289
- let o;
290
- return {
291
- c: function() {
292
- o = b("slot"), s !== "default" && d(o, "name", s);
293
- },
294
- /**
295
- * @param {HTMLElement} target
296
- * @param {HTMLElement} [anchor]
297
- */
298
- m: function(u, h) {
299
- Q(u, o, h);
300
- },
301
- d: function(u) {
302
- u && W(o);
303
- }
304
- };
254
+ async connectedCallback() {
255
+ if (this.$$cn = !0, !this.$$c) {
256
+ let e = function(i) {
257
+ return () => {
258
+ let s;
259
+ return {
260
+ c: function() {
261
+ s = g("slot"), i !== "default" && d(s, "name", i);
262
+ },
263
+ /**
264
+ * @param {HTMLElement} target
265
+ * @param {HTMLElement} [anchor]
266
+ */
267
+ m: function(l, u) {
268
+ Z(l, s, u);
269
+ },
270
+ d: function(l) {
271
+ l && V(s);
272
+ }
305
273
  };
306
274
  };
307
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
- return;
309
- const r = {}, n = pn(this);
310
- for (const s of this.$$s)
311
- s in n && (r[s] = [t(s)]);
312
- for (const s of this.attributes) {
313
- const o = this.$$g_p(s.name);
314
- o in this.$$d || (this.$$d[o] = Qe(o, s.value, this.$$p_d, "toProp"));
275
+ };
276
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
277
+ return;
278
+ const t = {}, r = qr(this);
279
+ for (const i of this.$$s)
280
+ i in r && (t[i] = [e(i)]);
281
+ for (const i of this.attributes) {
282
+ const s = this.$$g_p(i.name);
283
+ s in this.$$d || (this.$$d[s] = Je(s, i.value, this.$$p_d, "toProp"));
284
+ }
285
+ for (const i in this.$$p_d)
286
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
287
+ this.$$c = new this.$$ctor({
288
+ target: this.shadowRoot || this,
289
+ props: {
290
+ ...this.$$d,
291
+ $$slots: t,
292
+ $$scope: {
293
+ ctx: []
294
+ }
315
295
  }
316
- for (const s in this.$$p_d)
317
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
318
- this.$$c = new this.$$ctor({
319
- target: this.shadowRoot || this,
320
- props: kt(Ft({}, this.$$d), {
321
- $$slots: r,
322
- $$scope: {
323
- ctx: []
324
- }
325
- })
326
- });
327
- const i = () => {
328
- this.$$r = !0;
329
- for (const s in this.$$p_d)
330
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
331
- const o = Qe(
332
- s,
333
- this.$$d[s],
334
- this.$$p_d,
335
- "toAttribute"
336
- );
337
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
338
- }
339
- this.$$r = !1;
340
- };
341
- this.$$c.$$.after_update.push(i), i();
342
- for (const s in this.$$l)
343
- for (const o of this.$$l[s]) {
344
- const a = this.$$c.$on(s, o);
345
- this.$$l_u.set(o, a);
296
+ });
297
+ const n = () => {
298
+ this.$$r = !0;
299
+ for (const i in this.$$p_d)
300
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
301
+ const s = Je(
302
+ i,
303
+ this.$$d[i],
304
+ this.$$p_d,
305
+ "toAttribute"
306
+ );
307
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
346
308
  }
347
- this.$$l = {};
348
- }
349
- });
309
+ this.$$r = !1;
310
+ };
311
+ this.$$c.$$.after_update.push(n), n();
312
+ for (const i in this.$$l)
313
+ for (const s of this.$$l[i]) {
314
+ const o = this.$$c.$on(i, s);
315
+ this.$$l_u.set(s, o);
316
+ }
317
+ this.$$l = {};
318
+ }
350
319
  }
351
320
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
352
321
  // and setting attributes through setAttribute etc, this is helpful
353
- attributeChangedCallback(t, r, n) {
354
- var i;
355
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Qe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
322
+ attributeChangedCallback(e, t, r) {
323
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Je(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
356
324
  }
357
325
  disconnectedCallback() {
358
326
  this.$$cn = !1, Promise.resolve().then(() => {
359
327
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
360
328
  });
361
329
  }
362
- $$g_p(t) {
330
+ $$g_p(e) {
363
331
  return Object.keys(this.$$p_d).find(
364
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
365
- ) || t;
332
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
333
+ ) || e;
366
334
  }
367
335
  });
368
- function Qe(e, t, r, n) {
369
- var s;
370
- const i = (s = r[e]) == null ? void 0 : s.type;
336
+ function Je(e, t, r, n) {
337
+ const i = r[e]?.type;
371
338
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
372
339
  return t;
373
340
  if (n === "toAttribute")
@@ -378,7 +345,7 @@ function Qe(e, t, r, n) {
378
345
  case "Boolean":
379
346
  return t ? "" : null;
380
347
  case "Number":
381
- return t == null ? null : t;
348
+ return t ?? null;
382
349
  default:
383
350
  return t;
384
351
  }
@@ -395,8 +362,8 @@ function Qe(e, t, r, n) {
395
362
  return t;
396
363
  }
397
364
  }
398
- function Tn(e, t, r, n, i, s) {
399
- let o = class extends _r {
365
+ function hn(e, t, r, n, i, s) {
366
+ let o = class extends fr {
400
367
  constructor() {
401
368
  super(e, r, i), this.$$p_d = t;
402
369
  }
@@ -412,42 +379,38 @@ function Tn(e, t, r, n, i, s) {
412
379
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
413
380
  },
414
381
  set(l) {
415
- var u;
416
- l = Qe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
382
+ l = Je(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
417
383
  }
418
384
  });
419
385
  }), n.forEach((a) => {
420
386
  Object.defineProperty(o.prototype, a, {
421
387
  get() {
422
- var l;
423
- return (l = this.$$c) == null ? void 0 : l[a];
388
+ return this.$$c?.[a];
424
389
  }
425
390
  });
426
391
  }), e.element = /** @type {any} */
427
392
  o, o;
428
393
  }
429
- class Hn {
430
- constructor() {
431
- /**
432
- * ### PRIVATE API
433
- *
434
- * Do not use, may change at any time
435
- *
436
- * @type {any}
437
- */
438
- j(this, "$$");
439
- /**
440
- * ### PRIVATE API
441
- *
442
- * Do not use, may change at any time
443
- *
444
- * @type {any}
445
- */
446
- j(this, "$$set");
447
- }
394
+ class cn {
395
+ /**
396
+ * ### PRIVATE API
397
+ *
398
+ * Do not use, may change at any time
399
+ *
400
+ * @type {any}
401
+ */
402
+ $$ = void 0;
403
+ /**
404
+ * ### PRIVATE API
405
+ *
406
+ * Do not use, may change at any time
407
+ *
408
+ * @type {any}
409
+ */
410
+ $$set = void 0;
448
411
  /** @returns {void} */
449
412
  $destroy() {
450
- xn(this, 1), this.$destroy = G;
413
+ an(this, 1), this.$destroy = G;
451
414
  }
452
415
  /**
453
416
  * @template {Extract<keyof Events, string>} K
@@ -456,7 +419,7 @@ class Hn {
456
419
  * @returns {() => void}
457
420
  */
458
421
  $on(t, r) {
459
- if (!Nt(r))
422
+ if (!Ot(r))
460
423
  return G;
461
424
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
425
  return n.push(r), () => {
@@ -469,37 +432,37 @@ class Hn {
469
432
  * @returns {void}
470
433
  */
471
434
  $set(t) {
472
- this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
436
  }
474
437
  }
475
- const wn = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
477
- var xt = function(e, t) {
478
- return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
438
+ const fn = "4";
439
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
440
+ var yt = function(e, t) {
441
+ return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
479
442
  r.__proto__ = n;
480
443
  } || function(r, n) {
481
444
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
482
- }, xt(e, t);
445
+ }, yt(e, t);
483
446
  };
484
- function ee(e, t) {
447
+ function K(e, t) {
485
448
  if (typeof t != "function" && t !== null)
486
449
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
487
- xt(e, t);
450
+ yt(e, t);
488
451
  function r() {
489
452
  this.constructor = e;
490
453
  }
491
454
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
492
455
  }
493
- var H = function() {
494
- return H = Object.assign || function(t) {
456
+ var S = function() {
457
+ return S = Object.assign || function(t) {
495
458
  for (var r, n = 1, i = arguments.length; n < i; n++) {
496
459
  r = arguments[n];
497
460
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
498
461
  }
499
462
  return t;
500
- }, H.apply(this, arguments);
463
+ }, S.apply(this, arguments);
501
464
  };
502
- function An(e, t) {
465
+ function pn(e, t) {
503
466
  var r = {};
504
467
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
505
468
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -507,7 +470,7 @@ function An(e, t) {
507
470
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
508
471
  return r;
509
472
  }
510
- function Et(e) {
473
+ function vt(e) {
511
474
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
512
475
  if (r) return r.call(e);
513
476
  if (e && typeof e.length == "number") return {
@@ -517,7 +480,7 @@ function Et(e) {
517
480
  };
518
481
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
519
482
  }
520
- function St(e, t) {
483
+ function _t(e, t) {
521
484
  var r = typeof Symbol == "function" && e[Symbol.iterator];
522
485
  if (!r) return e;
523
486
  var n = r.call(e), i, s = [], o;
@@ -534,21 +497,21 @@ function St(e, t) {
534
497
  }
535
498
  return s;
536
499
  }
537
- function Ee(e, t, r) {
500
+ function xe(e, t, r) {
538
501
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
539
502
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
540
503
  return e.concat(s || Array.prototype.slice.call(t));
541
504
  }
542
- function K(e) {
505
+ function q(e) {
543
506
  return typeof e == "function";
544
507
  }
545
- function xr(e) {
508
+ function pr(e) {
546
509
  var t = function(n) {
547
510
  Error.call(n), n.stack = new Error().stack;
548
511
  }, r = e(t);
549
512
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
550
513
  }
551
- var ct = xr(function(e) {
514
+ var lt = pr(function(e) {
552
515
  return function(r) {
553
516
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
554
517
  ` + r.map(function(n, i) {
@@ -557,13 +520,13 @@ var ct = xr(function(e) {
557
520
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
558
521
  };
559
522
  });
560
- function Tt(e, t) {
523
+ function xt(e, t) {
561
524
  if (e) {
562
525
  var r = e.indexOf(t);
563
526
  0 <= r && e.splice(r, 1);
564
527
  }
565
528
  }
566
- var rt = function() {
529
+ var et = function() {
567
530
  function e(t) {
568
531
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
569
532
  }
@@ -575,12 +538,12 @@ var rt = function() {
575
538
  if (o)
576
539
  if (this._parentage = null, Array.isArray(o))
577
540
  try {
578
- for (var a = Et(o), l = a.next(); !l.done; l = a.next()) {
541
+ for (var a = vt(o), l = a.next(); !l.done; l = a.next()) {
579
542
  var u = l.value;
580
543
  u.remove(this);
581
544
  }
582
- } catch (_) {
583
- t = { error: _ };
545
+ } catch (b) {
546
+ t = { error: b };
584
547
  } finally {
585
548
  try {
586
549
  l && !l.done && (r = a.return) && r.call(a);
@@ -591,42 +554,42 @@ var rt = function() {
591
554
  else
592
555
  o.remove(this);
593
556
  var h = this.initialTeardown;
594
- if (K(h))
557
+ if (q(h))
595
558
  try {
596
559
  h();
597
- } catch (_) {
598
- s = _ instanceof ct ? _.errors : [_];
560
+ } catch (b) {
561
+ s = b instanceof lt ? b.errors : [b];
599
562
  }
600
563
  var c = this._finalizers;
601
564
  if (c) {
602
565
  this._finalizers = null;
603
566
  try {
604
- for (var p = Et(c), g = p.next(); !g.done; g = p.next()) {
605
- var y = g.value;
567
+ for (var f = vt(c), y = f.next(); !y.done; y = f.next()) {
568
+ var v = y.value;
606
569
  try {
607
- Jt(y);
608
- } catch (_) {
609
- s = s != null ? s : [], _ instanceof ct ? s = Ee(Ee([], St(s)), St(_.errors)) : s.push(_);
570
+ jt(v);
571
+ } catch (b) {
572
+ s = s ?? [], b instanceof lt ? s = xe(xe([], _t(s)), _t(b.errors)) : s.push(b);
610
573
  }
611
574
  }
612
- } catch (_) {
613
- n = { error: _ };
575
+ } catch (b) {
576
+ n = { error: b };
614
577
  } finally {
615
578
  try {
616
- g && !g.done && (i = p.return) && i.call(p);
579
+ y && !y.done && (i = f.return) && i.call(f);
617
580
  } finally {
618
581
  if (n) throw n.error;
619
582
  }
620
583
  }
621
584
  }
622
585
  if (s)
623
- throw new ct(s);
586
+ throw new lt(s);
624
587
  }
625
588
  }, e.prototype.add = function(t) {
626
589
  var r;
627
590
  if (t && t !== this)
628
591
  if (this.closed)
629
- Jt(t);
592
+ jt(t);
630
593
  else {
631
594
  if (t instanceof e) {
632
595
  if (t.closed || t._hasParent(this))
@@ -643,56 +606,56 @@ var rt = function() {
643
606
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
644
607
  }, e.prototype._removeParent = function(t) {
645
608
  var r = this._parentage;
646
- r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
609
+ r === t ? this._parentage = null : Array.isArray(r) && xt(r, t);
647
610
  }, e.prototype.remove = function(t) {
648
611
  var r = this._finalizers;
649
- r && Tt(r, t), t instanceof e && t._removeParent(this);
612
+ r && xt(r, t), t instanceof e && t._removeParent(this);
650
613
  }, e.EMPTY = function() {
651
614
  var t = new e();
652
615
  return t.closed = !0, t;
653
616
  }(), e;
654
- }(), Er = rt.EMPTY;
655
- function Sr(e) {
656
- return e instanceof rt || e && "closed" in e && K(e.remove) && K(e.add) && K(e.unsubscribe);
617
+ }(), dr = et.EMPTY;
618
+ function mr(e) {
619
+ return e instanceof et || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
657
620
  }
658
- function Jt(e) {
659
- K(e) ? e() : e.unsubscribe();
621
+ function jt(e) {
622
+ q(e) ? e() : e.unsubscribe();
660
623
  }
661
- var Tr = {
624
+ var dn = {
662
625
  onUnhandledError: null,
663
626
  onStoppedNotification: null,
664
627
  Promise: void 0,
665
628
  useDeprecatedSynchronousErrorHandling: !1,
666
629
  useDeprecatedNextContext: !1
667
- }, Bn = {
630
+ }, mn = {
668
631
  setTimeout: function(e, t) {
669
632
  for (var r = [], n = 2; n < arguments.length; n++)
670
633
  r[n - 2] = arguments[n];
671
- return setTimeout.apply(void 0, Ee([e, t], St(r)));
634
+ return setTimeout.apply(void 0, xe([e, t], _t(r)));
672
635
  },
673
636
  clearTimeout: function(e) {
674
637
  return clearTimeout(e);
675
638
  },
676
639
  delegate: void 0
677
640
  };
678
- function Pn(e) {
679
- Bn.setTimeout(function() {
641
+ function bn(e) {
642
+ mn.setTimeout(function() {
680
643
  throw e;
681
644
  });
682
645
  }
683
- function Zt() {
646
+ function kt() {
684
647
  }
685
- function Ye(e) {
648
+ function Ze(e) {
686
649
  e();
687
650
  }
688
- var Hr = function(e) {
689
- ee(t, e);
651
+ var br = function(e) {
652
+ K(t, e);
690
653
  function t(r) {
691
654
  var n = e.call(this) || this;
692
- return n.isStopped = !1, r ? (n.destination = r, Sr(r) && r.add(n)) : n.destination = On, n;
655
+ return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = vn, n;
693
656
  }
694
657
  return t.create = function(r, n, i) {
695
- return new Ht(r, n, i);
658
+ return new Et(r, n, i);
696
659
  }, t.prototype.next = function(r) {
697
660
  this.isStopped || this._next(r);
698
661
  }, t.prototype.error = function(r) {
@@ -716,11 +679,7 @@ var Hr = function(e) {
716
679
  this.unsubscribe();
717
680
  }
718
681
  }, t;
719
- }(rt), Cn = Function.prototype.bind;
720
- function ft(e, t) {
721
- return Cn.call(e, t);
722
- }
723
- var In = function() {
682
+ }(et), gn = function() {
724
683
  function e(t) {
725
684
  this.partialObserver = t;
726
685
  }
@@ -730,7 +689,7 @@ var In = function() {
730
689
  try {
731
690
  r.next(t);
732
691
  } catch (n) {
733
- Je(n);
692
+ Xe(n);
734
693
  }
735
694
  }, e.prototype.error = function(t) {
736
695
  var r = this.partialObserver;
@@ -738,68 +697,56 @@ var In = function() {
738
697
  try {
739
698
  r.error(t);
740
699
  } catch (n) {
741
- Je(n);
700
+ Xe(n);
742
701
  }
743
702
  else
744
- Je(t);
703
+ Xe(t);
745
704
  }, e.prototype.complete = function() {
746
705
  var t = this.partialObserver;
747
706
  if (t.complete)
748
707
  try {
749
708
  t.complete();
750
709
  } catch (r) {
751
- Je(r);
710
+ Xe(r);
752
711
  }
753
712
  }, e;
754
- }(), Ht = function(e) {
755
- ee(t, e);
713
+ }(), Et = function(e) {
714
+ K(t, e);
756
715
  function t(r, n, i) {
757
716
  var s = e.call(this) || this, o;
758
- if (K(r) || !r)
759
- o = {
760
- next: r != null ? r : void 0,
761
- error: n != null ? n : void 0,
762
- complete: i != null ? i : void 0
763
- };
764
- else {
765
- var a;
766
- s && Tr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
767
- return s.unsubscribe();
768
- }, o = {
769
- next: r.next && ft(r.next, a),
770
- error: r.error && ft(r.error, a),
771
- complete: r.complete && ft(r.complete, a)
772
- }) : o = r;
773
- }
774
- return s.destination = new In(o), s;
717
+ return q(r) || !r ? o = {
718
+ next: r ?? void 0,
719
+ error: n ?? void 0,
720
+ complete: i ?? void 0
721
+ } : o = r, s.destination = new gn(o), s;
775
722
  }
776
723
  return t;
777
- }(Hr);
778
- function Je(e) {
779
- Pn(e);
724
+ }(br);
725
+ function Xe(e) {
726
+ bn(e);
780
727
  }
781
- function Ln(e) {
728
+ function yn(e) {
782
729
  throw e;
783
730
  }
784
- var On = {
731
+ var vn = {
785
732
  closed: !0,
786
- next: Zt,
787
- error: Ln,
788
- complete: Zt
789
- }, Nn = function() {
733
+ next: kt,
734
+ error: yn,
735
+ complete: kt
736
+ }, _n = function() {
790
737
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
791
738
  }();
792
- function Mn(e) {
739
+ function xn(e) {
793
740
  return e;
794
741
  }
795
- function Rn(e) {
796
- return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
742
+ function En(e) {
743
+ return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
797
744
  return e.reduce(function(n, i) {
798
745
  return i(n);
799
746
  }, r);
800
747
  };
801
748
  }
802
- var Qt = function() {
749
+ var $t = function() {
803
750
  function e(t) {
804
751
  t && (this._subscribe = t);
805
752
  }
@@ -807,8 +754,8 @@ var Qt = function() {
807
754
  var r = new e();
808
755
  return r.source = this, r.operator = t, r;
809
756
  }, e.prototype.subscribe = function(t, r, n) {
810
- var i = this, s = Dn(t) ? t : new Ht(t, r, n);
811
- return Ye(function() {
757
+ var i = this, s = Tn(t) ? t : new Et(t, r, n);
758
+ return Ze(function() {
812
759
  var o = i, a = o.operator, l = o.source;
813
760
  s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
814
761
  }), s;
@@ -820,8 +767,8 @@ var Qt = function() {
820
767
  }
821
768
  }, e.prototype.forEach = function(t, r) {
822
769
  var n = this;
823
- return r = Yt(r), new r(function(i, s) {
824
- var o = new Ht({
770
+ return r = Ft(r), new r(function(i, s) {
771
+ var o = new Et({
825
772
  next: function(a) {
826
773
  try {
827
774
  t(a);
@@ -837,15 +784,15 @@ var Qt = function() {
837
784
  }, e.prototype._subscribe = function(t) {
838
785
  var r;
839
786
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
840
- }, e.prototype[Nn] = function() {
787
+ }, e.prototype[_n] = function() {
841
788
  return this;
842
789
  }, e.prototype.pipe = function() {
843
790
  for (var t = [], r = 0; r < arguments.length; r++)
844
791
  t[r] = arguments[r];
845
- return Rn(t)(this);
792
+ return En(t)(this);
846
793
  }, e.prototype.toPromise = function(t) {
847
794
  var r = this;
848
- return t = Yt(t), new t(function(n, i) {
795
+ return t = Ft(t), new t(function(n, i) {
849
796
  var s;
850
797
  r.subscribe(function(o) {
851
798
  return s = o;
@@ -859,40 +806,40 @@ var Qt = function() {
859
806
  return new e(t);
860
807
  }, e;
861
808
  }();
862
- function Yt(e) {
809
+ function Ft(e) {
863
810
  var t;
864
- return (t = e != null ? e : Tr.Promise) !== null && t !== void 0 ? t : Promise;
811
+ return (t = e ?? dn.Promise) !== null && t !== void 0 ? t : Promise;
865
812
  }
866
- function Un(e) {
867
- return e && K(e.next) && K(e.error) && K(e.complete);
813
+ function Sn(e) {
814
+ return e && q(e.next) && q(e.error) && q(e.complete);
868
815
  }
869
- function Dn(e) {
870
- return e && e instanceof Hr || Un(e) && Sr(e);
816
+ function Tn(e) {
817
+ return e && e instanceof br || Sn(e) && mr(e);
871
818
  }
872
- var Gn = xr(function(e) {
819
+ var Hn = pr(function(e) {
873
820
  return function() {
874
821
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
875
822
  };
876
- }), wr = function(e) {
877
- ee(t, e);
823
+ }), gr = function(e) {
824
+ K(t, e);
878
825
  function t() {
879
826
  var r = e.call(this) || this;
880
827
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
881
828
  }
882
829
  return t.prototype.lift = function(r) {
883
- var n = new qt(this, this);
830
+ var n = new Vt(this, this);
884
831
  return n.operator = r, n;
885
832
  }, t.prototype._throwIfClosed = function() {
886
833
  if (this.closed)
887
- throw new Gn();
834
+ throw new Hn();
888
835
  }, t.prototype.next = function(r) {
889
836
  var n = this;
890
- Ye(function() {
837
+ Ze(function() {
891
838
  var i, s;
892
839
  if (n._throwIfClosed(), !n.isStopped) {
893
840
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
894
841
  try {
895
- for (var o = Et(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
842
+ for (var o = vt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
896
843
  var l = a.value;
897
844
  l.next(r);
898
845
  }
@@ -909,7 +856,7 @@ var Gn = xr(function(e) {
909
856
  });
910
857
  }, t.prototype.error = function(r) {
911
858
  var n = this;
912
- Ye(function() {
859
+ Ze(function() {
913
860
  if (n._throwIfClosed(), !n.isStopped) {
914
861
  n.hasError = n.isStopped = !0, n.thrownError = r;
915
862
  for (var i = n.observers; i.length; )
@@ -918,7 +865,7 @@ var Gn = xr(function(e) {
918
865
  });
919
866
  }, t.prototype.complete = function() {
920
867
  var r = this;
921
- Ye(function() {
868
+ Ze(function() {
922
869
  if (r._throwIfClosed(), !r.isStopped) {
923
870
  r.isStopped = !0;
924
871
  for (var n = r.observers; n.length; )
@@ -940,20 +887,20 @@ var Gn = xr(function(e) {
940
887
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
941
888
  }, t.prototype._innerSubscribe = function(r) {
942
889
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
943
- return s || o ? Er : (this.currentObservers = null, a.push(r), new rt(function() {
944
- n.currentObservers = null, Tt(a, r);
890
+ return s || o ? dr : (this.currentObservers = null, a.push(r), new et(function() {
891
+ n.currentObservers = null, xt(a, r);
945
892
  }));
946
893
  }, t.prototype._checkFinalizedStatuses = function(r) {
947
894
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
948
895
  i ? r.error(s) : o && r.complete();
949
896
  }, t.prototype.asObservable = function() {
950
- var r = new Qt();
897
+ var r = new $t();
951
898
  return r.source = this, r;
952
899
  }, t.create = function(r, n) {
953
- return new qt(r, n);
900
+ return new Vt(r, n);
954
901
  }, t;
955
- }(Qt), qt = function(e) {
956
- ee(t, e);
902
+ }($t), Vt = function(e) {
903
+ K(t, e);
957
904
  function t(r, n) {
958
905
  var i = e.call(this) || this;
959
906
  return i.destination = r, i.source = n, i;
@@ -969,17 +916,17 @@ var Gn = xr(function(e) {
969
916
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
970
917
  }, t.prototype._subscribe = function(r) {
971
918
  var n, i;
972
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Er;
919
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : dr;
973
920
  }, t;
974
- }(wr), Ar = {
921
+ }(gr), yr = {
975
922
  now: function() {
976
- return (Ar.delegate || Date).now();
923
+ return (yr.delegate || Date).now();
977
924
  },
978
925
  delegate: void 0
979
- }, $n = function(e) {
980
- ee(t, e);
926
+ }, wn = function(e) {
927
+ K(t, e);
981
928
  function t(r, n, i) {
982
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
929
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
983
930
  var s = e.call(this) || this;
984
931
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
985
932
  }
@@ -999,31 +946,31 @@ var Gn = xr(function(e) {
999
946
  u && s.splice(0, u + 1);
1000
947
  }
1001
948
  }, t;
1002
- }(wr);
1003
- const Kt = [], er = {}, jn = (e, t = 0) => {
1004
- if (Kt.indexOf(e) == -1) {
1005
- const r = new $n(t);
1006
- er[e] = r, Kt.push(e);
949
+ }(gr);
950
+ const Wt = [], Xt = {}, An = (e, t = 0) => {
951
+ if (Wt.indexOf(e) == -1) {
952
+ const r = new wn(t);
953
+ Xt[e] = r, Wt.push(e);
1007
954
  }
1008
- return er[e];
1009
- }, ve = [];
1010
- function Fn(e, t) {
955
+ return Xt[e];
956
+ }, ye = [];
957
+ function Bn(e, t) {
1011
958
  return {
1012
- subscribe: nt(e, t).subscribe
959
+ subscribe: tt(e, t).subscribe
1013
960
  };
1014
961
  }
1015
- function nt(e, t = G) {
962
+ function tt(e, t = G) {
1016
963
  let r;
1017
964
  const n = /* @__PURE__ */ new Set();
1018
965
  function i(a) {
1019
- if (vr(e, a) && (e = a, r)) {
1020
- const l = !ve.length;
966
+ if (cr(e, a) && (e = a, r)) {
967
+ const l = !ye.length;
1021
968
  for (const u of n)
1022
- u[1](), ve.push(u, e);
969
+ u[1](), ye.push(u, e);
1023
970
  if (l) {
1024
- for (let u = 0; u < ve.length; u += 2)
1025
- ve[u][0](ve[u + 1]);
1026
- ve.length = 0;
971
+ for (let u = 0; u < ye.length; u += 2)
972
+ ye[u][0](ye[u + 1]);
973
+ ye.length = 0;
1027
974
  }
1028
975
  }
1029
976
  }
@@ -1038,210 +985,212 @@ function nt(e, t = G) {
1038
985
  }
1039
986
  return { set: i, update: s, subscribe: o };
1040
987
  }
1041
- function Ae(e, t, r) {
988
+ function we(e, t, r) {
1042
989
  const n = !Array.isArray(e), i = n ? [e] : e;
1043
990
  if (!i.every(Boolean))
1044
991
  throw new Error("derived() expects stores as input, got a falsy value");
1045
992
  const s = t.length < 2;
1046
- return Fn(r, (o, a) => {
993
+ return Bn(r, (o, a) => {
1047
994
  let l = !1;
1048
995
  const u = [];
1049
996
  let h = 0, c = G;
1050
- const p = () => {
997
+ const f = () => {
1051
998
  if (h)
1052
999
  return;
1053
1000
  c();
1054
- const y = t(n ? u[0] : u, o, a);
1055
- s ? o(y) : c = Nt(y) ? y : G;
1056
- }, g = i.map(
1057
- (y, _) => sn(
1058
- y,
1059
- (T) => {
1060
- u[_] = T, h &= ~(1 << _), l && p();
1001
+ const v = t(n ? u[0] : u, o, a);
1002
+ s ? o(v) : c = Ot(v) ? v : G;
1003
+ }, y = i.map(
1004
+ (v, b) => Vr(
1005
+ v,
1006
+ (H) => {
1007
+ u[b] = H, h &= ~(1 << b), l && f();
1061
1008
  },
1062
1009
  () => {
1063
- h |= 1 << _;
1010
+ h |= 1 << b;
1064
1011
  }
1065
1012
  )
1066
1013
  );
1067
- return l = !0, p(), function() {
1068
- Ge(g), c(), l = !1;
1014
+ return l = !0, f(), function() {
1015
+ Ue(y), c(), l = !1;
1069
1016
  };
1070
1017
  });
1071
1018
  }
1072
- function kn(e) {
1073
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1019
+ function Pn(e) {
1020
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1074
1021
  }
1075
- var Vn = function(t) {
1076
- return Wn(t) && !Xn(t);
1022
+ var Cn = function(t) {
1023
+ return On(t) && !Ln(t);
1077
1024
  };
1078
- function Wn(e) {
1025
+ function On(e) {
1079
1026
  return !!e && typeof e == "object";
1080
1027
  }
1081
- function Xn(e) {
1028
+ function Ln(e) {
1082
1029
  var t = Object.prototype.toString.call(e);
1083
- return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
1030
+ return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1084
1031
  }
1085
- var zn = typeof Symbol == "function" && Symbol.for, Jn = zn ? Symbol.for("react.element") : 60103;
1086
- function Zn(e) {
1087
- return e.$$typeof === Jn;
1032
+ var In = typeof Symbol == "function" && Symbol.for, Nn = In ? Symbol.for("react.element") : 60103;
1033
+ function Mn(e) {
1034
+ return e.$$typeof === Nn;
1088
1035
  }
1089
- function Qn(e) {
1036
+ function Rn(e) {
1090
1037
  return Array.isArray(e) ? [] : {};
1091
1038
  }
1092
- function Ue(e, t) {
1093
- return t.clone !== !1 && t.isMergeableObject(e) ? Se(Qn(e), e, t) : e;
1039
+ function Me(e, t) {
1040
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(Rn(e), e, t) : e;
1094
1041
  }
1095
- function Yn(e, t, r) {
1042
+ function Un(e, t, r) {
1096
1043
  return e.concat(t).map(function(n) {
1097
- return Ue(n, r);
1044
+ return Me(n, r);
1098
1045
  });
1099
1046
  }
1100
- function qn(e, t) {
1047
+ function Dn(e, t) {
1101
1048
  if (!t.customMerge)
1102
- return Se;
1049
+ return Ee;
1103
1050
  var r = t.customMerge(e);
1104
- return typeof r == "function" ? r : Se;
1051
+ return typeof r == "function" ? r : Ee;
1105
1052
  }
1106
- function Kn(e) {
1053
+ function Gn(e) {
1107
1054
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1108
1055
  return Object.propertyIsEnumerable.call(e, t);
1109
1056
  }) : [];
1110
1057
  }
1111
- function tr(e) {
1112
- return Object.keys(e).concat(Kn(e));
1058
+ function zt(e) {
1059
+ return Object.keys(e).concat(Gn(e));
1113
1060
  }
1114
- function Br(e, t) {
1061
+ function vr(e, t) {
1115
1062
  try {
1116
1063
  return t in e;
1117
- } catch (r) {
1064
+ } catch {
1118
1065
  return !1;
1119
1066
  }
1120
1067
  }
1121
- function ei(e, t) {
1122
- return Br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1068
+ function jn(e, t) {
1069
+ return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1123
1070
  }
1124
- function ti(e, t, r) {
1071
+ function kn(e, t, r) {
1125
1072
  var n = {};
1126
- return r.isMergeableObject(e) && tr(e).forEach(function(i) {
1127
- n[i] = Ue(e[i], r);
1128
- }), tr(t).forEach(function(i) {
1129
- ei(e, i) || (Br(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = Ue(t[i], r));
1073
+ return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1074
+ n[i] = Me(e[i], r);
1075
+ }), zt(t).forEach(function(i) {
1076
+ jn(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
1130
1077
  }), n;
1131
1078
  }
1132
- function Se(e, t, r) {
1133
- r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = Ue;
1079
+ function Ee(e, t, r) {
1080
+ r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = Me;
1134
1081
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1135
- return s ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : Ue(t, r);
1082
+ return s ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : Me(t, r);
1136
1083
  }
1137
- Se.all = function(t, r) {
1084
+ Ee.all = function(t, r) {
1138
1085
  if (!Array.isArray(t))
1139
1086
  throw new Error("first argument should be an array");
1140
1087
  return t.reduce(function(n, i) {
1141
- return Se(n, i, r);
1088
+ return Ee(n, i, r);
1142
1089
  }, {});
1143
1090
  };
1144
- var ri = Se, ni = ri;
1145
- const ii = /* @__PURE__ */ kn(ni);
1146
- function pt(e, t) {
1147
- var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : oi;
1091
+ var $n = Ee, Fn = $n;
1092
+ const Vn = /* @__PURE__ */ Pn(Fn);
1093
+ function ht(e, t) {
1094
+ var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Xn;
1148
1095
  return i(e, {
1149
1096
  cache: r,
1150
1097
  serializer: n
1151
1098
  });
1152
1099
  }
1153
- function si(e) {
1100
+ function Wn(e) {
1154
1101
  return e == null || typeof e == "number" || typeof e == "boolean";
1155
1102
  }
1156
- function Pr(e, t, r, n) {
1157
- var i = si(n) ? n : r(n), s = t.get(i);
1158
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1103
+ function _r(e, t, r, n) {
1104
+ var i = Wn(n) ? n : r(n), s = t.get(i);
1105
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1159
1106
  }
1160
- function Cr(e, t, r) {
1107
+ function xr(e, t, r) {
1161
1108
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1162
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1109
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1163
1110
  }
1164
- function Rt(e, t, r, n, i) {
1111
+ function It(e, t, r, n, i) {
1165
1112
  return r.bind(t, e, n, i);
1166
1113
  }
1167
- function oi(e, t) {
1168
- var r = e.length === 1 ? Pr : Cr;
1169
- return Rt(e, this, r, t.cache.create(), t.serializer);
1114
+ function Xn(e, t) {
1115
+ var r = e.length === 1 ? _r : xr;
1116
+ return It(e, this, r, t.cache.create(), t.serializer);
1170
1117
  }
1171
- function ai(e, t) {
1172
- return Rt(e, this, Cr, t.cache.create(), t.serializer);
1118
+ function zn(e, t) {
1119
+ return It(e, this, xr, t.cache.create(), t.serializer);
1173
1120
  }
1174
- function ui(e, t) {
1175
- return Rt(e, this, Pr, t.cache.create(), t.serializer);
1121
+ function Jn(e, t) {
1122
+ return It(e, this, _r, t.cache.create(), t.serializer);
1176
1123
  }
1177
- var li = function() {
1124
+ var Zn = function() {
1178
1125
  return JSON.stringify(arguments);
1179
- };
1180
- function Ut() {
1181
- this.cache = /* @__PURE__ */ Object.create(null);
1182
- }
1183
- Ut.prototype.get = function(e) {
1184
- return this.cache[e];
1185
- };
1186
- Ut.prototype.set = function(e, t) {
1187
- this.cache[e] = t;
1188
- };
1189
- var hi = {
1126
+ }, Qn = (
1127
+ /** @class */
1128
+ function() {
1129
+ function e() {
1130
+ this.cache = /* @__PURE__ */ Object.create(null);
1131
+ }
1132
+ return e.prototype.get = function(t) {
1133
+ return this.cache[t];
1134
+ }, e.prototype.set = function(t, r) {
1135
+ this.cache[t] = r;
1136
+ }, e;
1137
+ }()
1138
+ ), Yn = {
1190
1139
  create: function() {
1191
- return new Ut();
1140
+ return new Qn();
1192
1141
  }
1193
- }, dt = {
1194
- variadic: ai,
1195
- monadic: ui
1142
+ }, ct = {
1143
+ variadic: zn,
1144
+ monadic: Jn
1196
1145
  }, x;
1197
1146
  (function(e) {
1198
1147
  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";
1199
1148
  })(x || (x = {}));
1200
- var B;
1149
+ var A;
1201
1150
  (function(e) {
1202
1151
  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";
1203
- })(B || (B = {}));
1204
- var Te;
1152
+ })(A || (A = {}));
1153
+ var Se;
1205
1154
  (function(e) {
1206
1155
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1207
- })(Te || (Te = {}));
1208
- function rr(e) {
1209
- return e.type === B.literal;
1156
+ })(Se || (Se = {}));
1157
+ function Jt(e) {
1158
+ return e.type === A.literal;
1210
1159
  }
1211
- function ci(e) {
1212
- return e.type === B.argument;
1160
+ function qn(e) {
1161
+ return e.type === A.argument;
1213
1162
  }
1214
- function Ir(e) {
1215
- return e.type === B.number;
1163
+ function Er(e) {
1164
+ return e.type === A.number;
1216
1165
  }
1217
- function Lr(e) {
1218
- return e.type === B.date;
1166
+ function Sr(e) {
1167
+ return e.type === A.date;
1219
1168
  }
1220
- function Or(e) {
1221
- return e.type === B.time;
1169
+ function Tr(e) {
1170
+ return e.type === A.time;
1222
1171
  }
1223
- function Nr(e) {
1224
- return e.type === B.select;
1172
+ function Hr(e) {
1173
+ return e.type === A.select;
1225
1174
  }
1226
- function Mr(e) {
1227
- return e.type === B.plural;
1175
+ function wr(e) {
1176
+ return e.type === A.plural;
1228
1177
  }
1229
- function fi(e) {
1230
- return e.type === B.pound;
1178
+ function Kn(e) {
1179
+ return e.type === A.pound;
1231
1180
  }
1232
- function Rr(e) {
1233
- return e.type === B.tag;
1181
+ function Ar(e) {
1182
+ return e.type === A.tag;
1234
1183
  }
1235
- function Ur(e) {
1236
- return !!(e && typeof e == "object" && e.type === Te.number);
1184
+ function Br(e) {
1185
+ return !!(e && typeof e == "object" && e.type === Se.number);
1237
1186
  }
1238
- function wt(e) {
1239
- return !!(e && typeof e == "object" && e.type === Te.dateTime);
1187
+ function St(e) {
1188
+ return !!(e && typeof e == "object" && e.type === Se.dateTime);
1240
1189
  }
1241
- var Dr = /[ \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;
1242
- function di(e) {
1190
+ var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1191
+ function ti(e) {
1243
1192
  var t = {};
1244
- return e.replace(pi, function(r) {
1193
+ return e.replace(ei, function(r) {
1245
1194
  var n = r.length;
1246
1195
  switch (r[0]) {
1247
1196
  case "G":
@@ -1330,12 +1279,12 @@ function di(e) {
1330
1279
  return "";
1331
1280
  }), t;
1332
1281
  }
1333
- var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1334
- function bi(e) {
1282
+ var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1283
+ function ni(e) {
1335
1284
  if (e.length === 0)
1336
1285
  throw new Error("Number skeleton cannot be empty");
1337
- for (var t = e.split(mi).filter(function(p) {
1338
- return p.length > 0;
1286
+ for (var t = e.split(ri).filter(function(f) {
1287
+ return f.length > 0;
1339
1288
  }), r = [], n = 0, i = t; n < i.length; n++) {
1340
1289
  var s = i[n], o = s.split("/");
1341
1290
  if (o.length === 0)
@@ -1349,17 +1298,17 @@ function bi(e) {
1349
1298
  }
1350
1299
  return r;
1351
1300
  }
1352
- function gi(e) {
1301
+ function ii(e) {
1353
1302
  return e.replace(/^(.*?)-/, "");
1354
1303
  }
1355
- var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
1356
- function ir(e) {
1304
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
1305
+ function Qt(e) {
1357
1306
  var t = {};
1358
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1307
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
1359
1308
  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)), "";
1360
1309
  }), t;
1361
1310
  }
1362
- function jr(e) {
1311
+ function Lr(e) {
1363
1312
  switch (e) {
1364
1313
  case "sign-auto":
1365
1314
  return {
@@ -1399,7 +1348,7 @@ function jr(e) {
1399
1348
  };
1400
1349
  }
1401
1350
  }
1402
- function vi(e) {
1351
+ function oi(e) {
1403
1352
  var t;
1404
1353
  if (e[0] === "E" && e[1] === "E" ? (t = {
1405
1354
  notation: "engineering"
@@ -1407,17 +1356,17 @@ function vi(e) {
1407
1356
  notation: "scientific"
1408
1357
  }, e = e.slice(1)), t) {
1409
1358
  var r = e.slice(0, 2);
1410
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$r.test(e))
1359
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
1411
1360
  throw new Error("Malformed concise eng/scientific notation");
1412
1361
  t.minimumIntegerDigits = e.length;
1413
1362
  }
1414
1363
  return t;
1415
1364
  }
1416
- function sr(e) {
1417
- var t = {}, r = jr(e);
1365
+ function Yt(e) {
1366
+ var t = {}, r = Lr(e);
1418
1367
  return r || t;
1419
1368
  }
1420
- function _i(e) {
1369
+ function ai(e) {
1421
1370
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1422
1371
  var i = n[r];
1423
1372
  switch (i.stem) {
@@ -1441,7 +1390,7 @@ function _i(e) {
1441
1390
  continue;
1442
1391
  case "measure-unit":
1443
1392
  case "unit":
1444
- t.style = "unit", t.unit = gi(i.options[0]);
1393
+ t.style = "unit", t.unit = ii(i.options[0]);
1445
1394
  continue;
1446
1395
  case "compact-short":
1447
1396
  case "K":
@@ -1452,13 +1401,13 @@ function _i(e) {
1452
1401
  t.notation = "compact", t.compactDisplay = "long";
1453
1402
  continue;
1454
1403
  case "scientific":
1455
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1456
- return H(H({}, l), sr(u));
1404
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1405
+ return S(S({}, l), Yt(u));
1457
1406
  }, {}));
1458
1407
  continue;
1459
1408
  case "engineering":
1460
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1461
- return H(H({}, l), sr(u));
1409
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1410
+ return S(S({}, l), Yt(u));
1462
1411
  }, {}));
1463
1412
  continue;
1464
1413
  case "notation-simple":
@@ -1503,45 +1452,45 @@ function _i(e) {
1503
1452
  case "integer-width":
1504
1453
  if (i.options.length > 1)
1505
1454
  throw new RangeError("integer-width stems only accept a single optional option");
1506
- i.options[0].replace(yi, function(l, u, h, c, p, g) {
1455
+ i.options[0].replace(si, function(l, u, h, c, f, y) {
1507
1456
  if (u)
1508
1457
  t.minimumIntegerDigits = h.length;
1509
1458
  else {
1510
- if (c && p)
1459
+ if (c && f)
1511
1460
  throw new Error("We currently do not support maximum integer digits");
1512
- if (g)
1461
+ if (y)
1513
1462
  throw new Error("We currently do not support exact integer digits");
1514
1463
  }
1515
1464
  return "";
1516
1465
  });
1517
1466
  continue;
1518
1467
  }
1519
- if ($r.test(i.stem)) {
1468
+ if (Or.test(i.stem)) {
1520
1469
  t.minimumIntegerDigits = i.stem.length;
1521
1470
  continue;
1522
1471
  }
1523
- if (nr.test(i.stem)) {
1472
+ if (Zt.test(i.stem)) {
1524
1473
  if (i.options.length > 1)
1525
1474
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1526
- i.stem.replace(nr, function(l, u, h, c, p, g) {
1527
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && g ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1475
+ i.stem.replace(Zt, function(l, u, h, c, f, y) {
1476
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && y ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1528
1477
  });
1529
1478
  var s = i.options[0];
1530
- s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), ir(s)));
1479
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Qt(s)));
1531
1480
  continue;
1532
1481
  }
1533
- if (Gr.test(i.stem)) {
1534
- t = H(H({}, t), ir(i.stem));
1482
+ if (Cr.test(i.stem)) {
1483
+ t = S(S({}, t), Qt(i.stem));
1535
1484
  continue;
1536
1485
  }
1537
- var o = jr(i.stem);
1538
- o && (t = H(H({}, t), o));
1539
- var a = vi(i.stem);
1540
- a && (t = H(H({}, t), a));
1486
+ var o = Lr(i.stem);
1487
+ o && (t = S(S({}, t), o));
1488
+ var a = oi(i.stem);
1489
+ a && (t = S(S({}, t), a));
1541
1490
  }
1542
1491
  return t;
1543
1492
  }
1544
- var Ze = {
1493
+ var ze = {
1545
1494
  "001": [
1546
1495
  "H",
1547
1496
  "h"
@@ -2956,13 +2905,13 @@ var Ze = {
2956
2905
  "h"
2957
2906
  ]
2958
2907
  };
2959
- function xi(e, t) {
2908
+ function ui(e, t) {
2960
2909
  for (var r = "", n = 0; n < e.length; n++) {
2961
2910
  var i = e.charAt(n);
2962
2911
  if (i === "j") {
2963
2912
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2964
2913
  s++, n++;
2965
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ei(t);
2914
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = li(t);
2966
2915
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2967
2916
  r += l;
2968
2917
  for (; o-- > 0; )
@@ -2971,7 +2920,7 @@ function xi(e, t) {
2971
2920
  }
2972
2921
  return r;
2973
2922
  }
2974
- function Ei(e) {
2923
+ function li(e) {
2975
2924
  var t = e.hourCycle;
2976
2925
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2977
2926
  e.hourCycles && // @ts-ignore
@@ -2990,23 +2939,23 @@ function Ei(e) {
2990
2939
  }
2991
2940
  var r = e.language, n;
2992
2941
  r !== "root" && (n = e.maximize().region);
2993
- var i = Ze[n || ""] || Ze[r || ""] || Ze["".concat(r, "-001")] || Ze["001"];
2942
+ var i = ze[n || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
2994
2943
  return i[0];
2995
2944
  }
2996
- var mt, Si = new RegExp("^".concat(Dr.source, "*")), Ti = new RegExp("".concat(Dr.source, "*$"));
2997
- function S(e, t) {
2945
+ var ft, hi = new RegExp("^".concat(Pr.source, "*")), ci = new RegExp("".concat(Pr.source, "*$"));
2946
+ function E(e, t) {
2998
2947
  return { start: e, end: t };
2999
2948
  }
3000
- var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Li = Ii ? Number.isSafeInteger : function(e) {
2949
+ var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, di = !!Object.fromEntries, mi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, vi = yi ? Number.isSafeInteger : function(e) {
3001
2950
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3002
- }, At = !0;
2951
+ }, Tt = !0;
3003
2952
  try {
3004
- var Oi = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3005
- At = ((mt = Oi.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
3006
- } catch (e) {
3007
- At = !1;
2953
+ var _i = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2954
+ Tt = ((ft = _i.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
2955
+ } catch {
2956
+ Tt = !1;
3008
2957
  }
3009
- var or = Hi ? (
2958
+ var qt = fi ? (
3010
2959
  // Native
3011
2960
  function(t, r, n) {
3012
2961
  return t.startsWith(r, n);
@@ -3016,7 +2965,7 @@ var or = Hi ? (
3016
2965
  function(t, r, n) {
3017
2966
  return t.slice(n, n + r.length) === r;
3018
2967
  }
3019
- ), Bt = wi ? String.fromCodePoint : (
2968
+ ), Ht = pi ? String.fromCodePoint : (
3020
2969
  // IE11
3021
2970
  function() {
3022
2971
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3028,9 +2977,9 @@ var or = Hi ? (
3028
2977
  }
3029
2978
  return n;
3030
2979
  }
3031
- ), ar = (
2980
+ ), Kt = (
3032
2981
  // native
3033
- Ai ? Object.fromEntries : (
2982
+ di ? Object.fromEntries : (
3034
2983
  // Ponyfill
3035
2984
  function(t) {
3036
2985
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3040,7 +2989,7 @@ var or = Hi ? (
3040
2989
  return r;
3041
2990
  }
3042
2991
  )
3043
- ), Fr = Bi ? (
2992
+ ), Ir = mi ? (
3044
2993
  // Native
3045
2994
  function(t, r) {
3046
2995
  return t.codePointAt(r);
@@ -3054,7 +3003,7 @@ var or = Hi ? (
3054
3003
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3055
3004
  }
3056
3005
  }
3057
- ), Ni = Pi ? (
3006
+ ), xi = bi ? (
3058
3007
  // Native
3059
3008
  function(t) {
3060
3009
  return t.trimStart();
@@ -3062,9 +3011,9 @@ var or = Hi ? (
3062
3011
  ) : (
3063
3012
  // Ponyfill
3064
3013
  function(t) {
3065
- return t.replace(Si, "");
3014
+ return t.replace(hi, "");
3066
3015
  }
3067
- ), Mi = Ci ? (
3016
+ ), Ei = gi ? (
3068
3017
  // Native
3069
3018
  function(t) {
3070
3019
  return t.trimEnd();
@@ -3072,32 +3021,32 @@ var or = Hi ? (
3072
3021
  ) : (
3073
3022
  // Ponyfill
3074
3023
  function(t) {
3075
- return t.replace(Ti, "");
3024
+ return t.replace(ci, "");
3076
3025
  }
3077
3026
  );
3078
- function kr(e, t) {
3027
+ function Nr(e, t) {
3079
3028
  return new RegExp(e, t);
3080
3029
  }
3081
- var Pt;
3082
- if (At) {
3083
- var ur = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3084
- Pt = function(t, r) {
3030
+ var wt;
3031
+ if (Tt) {
3032
+ var er = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3033
+ wt = function(t, r) {
3085
3034
  var n;
3086
- ur.lastIndex = r;
3087
- var i = ur.exec(t);
3035
+ er.lastIndex = r;
3036
+ var i = er.exec(t);
3088
3037
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3089
3038
  };
3090
3039
  } else
3091
- Pt = function(t, r) {
3040
+ wt = function(t, r) {
3092
3041
  for (var n = []; ; ) {
3093
- var i = Fr(t, r);
3094
- if (i === void 0 || Vr(i) || Gi(i))
3042
+ var i = Ir(t, r);
3043
+ if (i === void 0 || Mr(i) || wi(i))
3095
3044
  break;
3096
3045
  n.push(i), r += i >= 65536 ? 2 : 1;
3097
3046
  }
3098
- return Bt.apply(void 0, n);
3047
+ return Ht.apply(void 0, n);
3099
3048
  };
3100
- var Ri = (
3049
+ var Si = (
3101
3050
  /** @class */
3102
3051
  function() {
3103
3052
  function e(t, r) {
@@ -3121,14 +3070,14 @@ var Ri = (
3121
3070
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3122
3071
  var a = this.clonePosition();
3123
3072
  this.bump(), i.push({
3124
- type: B.pound,
3125
- location: S(a, this.clonePosition())
3073
+ type: A.pound,
3074
+ location: E(a, this.clonePosition())
3126
3075
  });
3127
3076
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3128
3077
  if (n)
3129
3078
  break;
3130
- return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3131
- } else if (s === 60 && !this.ignoreTag && Ct(this.peek() || 0)) {
3079
+ return this.error(x.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3080
+ } else if (s === 60 && !this.ignoreTag && At(this.peek() || 0)) {
3132
3081
  var o = this.parseTag(t, r);
3133
3082
  if (o.err)
3134
3083
  return o;
@@ -3149,9 +3098,9 @@ var Ri = (
3149
3098
  if (this.bumpSpace(), this.bumpIf("/>"))
3150
3099
  return {
3151
3100
  val: {
3152
- type: B.literal,
3101
+ type: A.literal,
3153
3102
  value: "<".concat(i, "/>"),
3154
- location: S(n, this.clonePosition())
3103
+ location: E(n, this.clonePosition())
3155
3104
  },
3156
3105
  err: null
3157
3106
  };
@@ -3161,25 +3110,25 @@ var Ri = (
3161
3110
  return s;
3162
3111
  var o = s.val, a = this.clonePosition();
3163
3112
  if (this.bumpIf("</")) {
3164
- if (this.isEOF() || !Ct(this.char()))
3165
- return this.error(x.INVALID_TAG, S(a, this.clonePosition()));
3113
+ if (this.isEOF() || !At(this.char()))
3114
+ return this.error(x.INVALID_TAG, E(a, this.clonePosition()));
3166
3115
  var l = this.clonePosition(), u = this.parseTagName();
3167
- return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3116
+ return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3168
3117
  val: {
3169
- type: B.tag,
3118
+ type: A.tag,
3170
3119
  value: i,
3171
3120
  children: o,
3172
- location: S(n, this.clonePosition())
3121
+ location: E(n, this.clonePosition())
3173
3122
  },
3174
3123
  err: null
3175
- } : this.error(x.INVALID_TAG, S(a, this.clonePosition())));
3124
+ } : this.error(x.INVALID_TAG, E(a, this.clonePosition())));
3176
3125
  } else
3177
- return this.error(x.UNCLOSED_TAG, S(n, this.clonePosition()));
3126
+ return this.error(x.UNCLOSED_TAG, E(n, this.clonePosition()));
3178
3127
  } else
3179
- return this.error(x.INVALID_TAG, S(n, this.clonePosition()));
3128
+ return this.error(x.INVALID_TAG, E(n, this.clonePosition()));
3180
3129
  }, e.prototype.parseTagName = function() {
3181
3130
  var t = this.offset();
3182
- for (this.bump(); !this.isEOF() && Di(this.char()); )
3131
+ for (this.bump(); !this.isEOF() && Hi(this.char()); )
3183
3132
  this.bump();
3184
3133
  return this.message.slice(t, this.offset());
3185
3134
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3201,14 +3150,14 @@ var Ri = (
3201
3150
  }
3202
3151
  break;
3203
3152
  }
3204
- var l = S(n, this.clonePosition());
3153
+ var l = E(n, this.clonePosition());
3205
3154
  return {
3206
- val: { type: B.literal, value: i, location: l },
3155
+ val: { type: A.literal, value: i, location: l },
3207
3156
  err: null
3208
3157
  };
3209
3158
  }, e.prototype.tryParseLeftAngleBracket = function() {
3210
3159
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3211
- !Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3160
+ !Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3212
3161
  }, e.prototype.tryParseQuote = function(t) {
3213
3162
  if (this.isEOF() || this.char() !== 39)
3214
3163
  return null;
@@ -3242,49 +3191,49 @@ var Ri = (
3242
3191
  r.push(n);
3243
3192
  this.bump();
3244
3193
  }
3245
- return Bt.apply(void 0, r);
3194
+ return Ht.apply(void 0, r);
3246
3195
  }, e.prototype.tryParseUnquoted = function(t, r) {
3247
3196
  if (this.isEOF())
3248
3197
  return null;
3249
3198
  var n = this.char();
3250
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Bt(n));
3199
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ht(n));
3251
3200
  }, e.prototype.parseArgument = function(t, r) {
3252
3201
  var n = this.clonePosition();
3253
3202
  if (this.bump(), this.bumpSpace(), this.isEOF())
3254
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3203
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3255
3204
  if (this.char() === 125)
3256
- return this.bump(), this.error(x.EMPTY_ARGUMENT, S(n, this.clonePosition()));
3205
+ return this.bump(), this.error(x.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3257
3206
  var i = this.parseIdentifierIfPossible().value;
3258
3207
  if (!i)
3259
- return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3208
+ return this.error(x.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3260
3209
  if (this.bumpSpace(), this.isEOF())
3261
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3210
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3262
3211
  switch (this.char()) {
3263
3212
  case 125:
3264
3213
  return this.bump(), {
3265
3214
  val: {
3266
- type: B.argument,
3215
+ type: A.argument,
3267
3216
  // value does not include the opening and closing braces.
3268
3217
  value: i,
3269
- location: S(n, this.clonePosition())
3218
+ location: E(n, this.clonePosition())
3270
3219
  },
3271
3220
  err: null
3272
3221
  };
3273
3222
  case 44:
3274
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3223
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3275
3224
  default:
3276
- return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3225
+ return this.error(x.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3277
3226
  }
3278
3227
  }, e.prototype.parseIdentifierIfPossible = function() {
3279
- var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
3228
+ var t = this.clonePosition(), r = this.offset(), n = wt(this.message, r), i = r + n.length;
3280
3229
  this.bumpTo(i);
3281
- var s = this.clonePosition(), o = S(t, s);
3230
+ var s = this.clonePosition(), o = E(t, s);
3282
3231
  return { value: n, location: o };
3283
3232
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3284
3233
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3285
3234
  switch (a) {
3286
3235
  case "":
3287
- return this.error(x.EXPECT_ARGUMENT_TYPE, S(o, l));
3236
+ return this.error(x.EXPECT_ARGUMENT_TYPE, E(o, l));
3288
3237
  case "number":
3289
3238
  case "date":
3290
3239
  case "time": {
@@ -3295,47 +3244,47 @@ var Ri = (
3295
3244
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3296
3245
  if (c.err)
3297
3246
  return c;
3298
- var p = Mi(c.val);
3299
- if (p.length === 0)
3300
- return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3301
- var g = S(h, this.clonePosition());
3302
- u = { style: p, styleLocation: g };
3247
+ var f = Ei(c.val);
3248
+ if (f.length === 0)
3249
+ return this.error(x.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3250
+ var y = E(h, this.clonePosition());
3251
+ u = { style: f, styleLocation: y };
3303
3252
  }
3304
- var y = this.tryParseArgumentClose(i);
3305
- if (y.err)
3306
- return y;
3307
- var _ = S(i, this.clonePosition());
3308
- if (u && or(u == null ? void 0 : u.style, "::", 0)) {
3309
- var T = Ni(u.style.slice(2));
3253
+ var v = this.tryParseArgumentClose(i);
3254
+ if (v.err)
3255
+ return v;
3256
+ var b = E(i, this.clonePosition());
3257
+ if (u && qt(u?.style, "::", 0)) {
3258
+ var H = xi(u.style.slice(2));
3310
3259
  if (a === "number") {
3311
- var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3260
+ var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
3312
3261
  return c.err ? c : {
3313
- val: { type: B.number, value: n, location: _, style: c.val },
3262
+ val: { type: A.number, value: n, location: b, style: c.val },
3314
3263
  err: null
3315
3264
  };
3316
3265
  } else {
3317
- if (T.length === 0)
3318
- return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
3319
- var w = T;
3320
- this.locale && (w = xi(T, this.locale));
3321
- var p = {
3322
- type: Te.dateTime,
3323
- pattern: w,
3266
+ if (H.length === 0)
3267
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, b);
3268
+ var C = H;
3269
+ this.locale && (C = ui(H, this.locale));
3270
+ var f = {
3271
+ type: Se.dateTime,
3272
+ pattern: C,
3324
3273
  location: u.styleLocation,
3325
- parsedOptions: this.shouldParseSkeletons ? di(w) : {}
3326
- }, E = a === "date" ? B.date : B.time;
3274
+ parsedOptions: this.shouldParseSkeletons ? ti(C) : {}
3275
+ }, T = a === "date" ? A.date : A.time;
3327
3276
  return {
3328
- val: { type: E, value: n, location: _, style: p },
3277
+ val: { type: T, value: n, location: b, style: f },
3329
3278
  err: null
3330
3279
  };
3331
3280
  }
3332
3281
  }
3333
3282
  return {
3334
3283
  val: {
3335
- type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3284
+ type: a === "number" ? A.number : a === "date" ? A.date : A.time,
3336
3285
  value: n,
3337
- location: _,
3338
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3286
+ location: b,
3287
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3339
3288
  },
3340
3289
  err: null
3341
3290
  };
@@ -3343,52 +3292,52 @@ var Ri = (
3343
3292
  case "plural":
3344
3293
  case "selectordinal":
3345
3294
  case "select": {
3346
- var v = this.clonePosition();
3295
+ var _ = this.clonePosition();
3347
3296
  if (this.bumpSpace(), !this.bumpIf(","))
3348
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(v, H({}, v)));
3297
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, E(_, S({}, _)));
3349
3298
  this.bumpSpace();
3350
- var P = this.parseIdentifierIfPossible(), M = 0;
3351
- if (a !== "select" && P.value === "offset") {
3299
+ var B = this.parseIdentifierIfPossible(), M = 0;
3300
+ if (a !== "select" && B.value === "offset") {
3352
3301
  if (!this.bumpIf(":"))
3353
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3302
+ return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3354
3303
  this.bumpSpace();
3355
3304
  var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3356
3305
  if (c.err)
3357
3306
  return c;
3358
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), M = c.val;
3307
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), M = c.val;
3359
3308
  }
3360
- var D = this.tryParsePluralOrSelectOptions(t, a, r, P);
3309
+ var D = this.tryParsePluralOrSelectOptions(t, a, r, B);
3361
3310
  if (D.err)
3362
3311
  return D;
3363
- var y = this.tryParseArgumentClose(i);
3364
- if (y.err)
3365
- return y;
3366
- var Y = S(i, this.clonePosition());
3312
+ var v = this.tryParseArgumentClose(i);
3313
+ if (v.err)
3314
+ return v;
3315
+ var Q = E(i, this.clonePosition());
3367
3316
  return a === "select" ? {
3368
3317
  val: {
3369
- type: B.select,
3318
+ type: A.select,
3370
3319
  value: n,
3371
- options: ar(D.val),
3372
- location: Y
3320
+ options: Kt(D.val),
3321
+ location: Q
3373
3322
  },
3374
3323
  err: null
3375
3324
  } : {
3376
3325
  val: {
3377
- type: B.plural,
3326
+ type: A.plural,
3378
3327
  value: n,
3379
- options: ar(D.val),
3328
+ options: Kt(D.val),
3380
3329
  offset: M,
3381
3330
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3382
- location: Y
3331
+ location: Q
3383
3332
  },
3384
3333
  err: null
3385
3334
  };
3386
3335
  }
3387
3336
  default:
3388
- return this.error(x.INVALID_ARGUMENT_TYPE, S(o, l));
3337
+ return this.error(x.INVALID_ARGUMENT_TYPE, E(o, l));
3389
3338
  }
3390
3339
  }, e.prototype.tryParseArgumentClose = function(t) {
3391
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3340
+ return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3392
3341
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3393
3342
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3394
3343
  var n = this.char();
@@ -3397,7 +3346,7 @@ var Ri = (
3397
3346
  this.bump();
3398
3347
  var i = this.clonePosition();
3399
3348
  if (!this.bumpUntil("'"))
3400
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3349
+ return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3401
3350
  this.bump();
3402
3351
  break;
3403
3352
  }
@@ -3427,16 +3376,16 @@ var Ri = (
3427
3376
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3428
3377
  var n = [];
3429
3378
  try {
3430
- n = bi(t);
3431
- } catch (i) {
3379
+ n = ni(t);
3380
+ } catch {
3432
3381
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3433
3382
  }
3434
3383
  return {
3435
3384
  val: {
3436
- type: Te.number,
3385
+ type: Se.number,
3437
3386
  tokens: n,
3438
3387
  location: r,
3439
- parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
3388
+ parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
3440
3389
  },
3441
3390
  err: null
3442
3391
  };
@@ -3445,34 +3394,34 @@ var Ri = (
3445
3394
  if (u.length === 0) {
3446
3395
  var c = this.clonePosition();
3447
3396
  if (r !== "select" && this.bumpIf("=")) {
3448
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3449
- if (p.err)
3450
- return p;
3451
- h = S(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3397
+ var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3398
+ if (f.err)
3399
+ return f;
3400
+ h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3452
3401
  } else
3453
3402
  break;
3454
3403
  }
3455
3404
  if (l.has(u))
3456
3405
  return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3457
3406
  u === "other" && (o = !0), this.bumpSpace();
3458
- var g = this.clonePosition();
3407
+ var y = this.clonePosition();
3459
3408
  if (!this.bumpIf("{"))
3460
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3461
- var y = this.parseMessage(t + 1, r, n);
3462
- if (y.err)
3463
- return y;
3464
- var _ = this.tryParseArgumentClose(g);
3465
- if (_.err)
3466
- return _;
3409
+ return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3410
+ var v = this.parseMessage(t + 1, r, n);
3411
+ if (v.err)
3412
+ return v;
3413
+ var b = this.tryParseArgumentClose(y);
3414
+ if (b.err)
3415
+ return b;
3467
3416
  a.push([
3468
3417
  u,
3469
3418
  {
3470
- value: y.val,
3471
- location: S(g, this.clonePosition())
3419
+ value: v.val,
3420
+ location: E(y, this.clonePosition())
3472
3421
  }
3473
3422
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3474
3423
  }
3475
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3424
+ return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(x.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3476
3425
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3477
3426
  var n = 1, i = this.clonePosition();
3478
3427
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3483,8 +3432,8 @@ var Ri = (
3483
3432
  else
3484
3433
  break;
3485
3434
  }
3486
- var l = S(i, this.clonePosition());
3487
- return s ? (o *= n, Li(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3435
+ var l = E(i, this.clonePosition());
3436
+ return s ? (o *= n, vi(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3488
3437
  }, e.prototype.offset = function() {
3489
3438
  return this.position.offset;
3490
3439
  }, e.prototype.isEOF = function() {
@@ -3499,7 +3448,7 @@ var Ri = (
3499
3448
  var t = this.position.offset;
3500
3449
  if (t >= this.message.length)
3501
3450
  throw Error("out of bound");
3502
- var r = Fr(this.message, t);
3451
+ var r = Ir(this.message, t);
3503
3452
  if (r === void 0)
3504
3453
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3505
3454
  return r;
@@ -3518,7 +3467,7 @@ var Ri = (
3518
3467
  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);
3519
3468
  }
3520
3469
  }, e.prototype.bumpIf = function(t) {
3521
- if (or(this.message, t, this.offset())) {
3470
+ if (qt(this.message, t, this.offset())) {
3522
3471
  for (var r = 0; r < t.length; r++)
3523
3472
  this.bump();
3524
3473
  return !0;
@@ -3540,56 +3489,56 @@ var Ri = (
3540
3489
  break;
3541
3490
  }
3542
3491
  }, e.prototype.bumpSpace = function() {
3543
- for (; !this.isEOF() && Vr(this.char()); )
3492
+ for (; !this.isEOF() && Mr(this.char()); )
3544
3493
  this.bump();
3545
3494
  }, e.prototype.peek = function() {
3546
3495
  if (this.isEOF())
3547
3496
  return null;
3548
3497
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3549
- return n != null ? n : null;
3498
+ return n ?? null;
3550
3499
  }, e;
3551
3500
  }()
3552
3501
  );
3553
- function Ct(e) {
3502
+ function At(e) {
3554
3503
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3555
3504
  }
3556
- function Ui(e) {
3557
- return Ct(e) || e === 47;
3505
+ function Ti(e) {
3506
+ return At(e) || e === 47;
3558
3507
  }
3559
- function Di(e) {
3508
+ function Hi(e) {
3560
3509
  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;
3561
3510
  }
3562
- function Vr(e) {
3511
+ function Mr(e) {
3563
3512
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3564
3513
  }
3565
- function Gi(e) {
3514
+ function wi(e) {
3566
3515
  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;
3567
3516
  }
3568
- function It(e) {
3517
+ function Bt(e) {
3569
3518
  e.forEach(function(t) {
3570
- if (delete t.location, Nr(t) || Mr(t))
3519
+ if (delete t.location, Hr(t) || wr(t))
3571
3520
  for (var r in t.options)
3572
- delete t.options[r].location, It(t.options[r].value);
3573
- else Ir(t) && Ur(t.style) || (Lr(t) || Or(t)) && wt(t.style) ? delete t.style.location : Rr(t) && It(t.children);
3521
+ delete t.options[r].location, Bt(t.options[r].value);
3522
+ else Er(t) && Br(t.style) || (Sr(t) || Tr(t)) && St(t.style) ? delete t.style.location : Ar(t) && Bt(t.children);
3574
3523
  });
3575
3524
  }
3576
- function $i(e, t) {
3577
- t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3578
- var r = new Ri(e, t).parse();
3525
+ function Ai(e, t) {
3526
+ t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3527
+ var r = new Si(e, t).parse();
3579
3528
  if (r.err) {
3580
3529
  var n = SyntaxError(x[r.err.kind]);
3581
3530
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3582
3531
  }
3583
- return t != null && t.captureLocation || It(r.val), r.val;
3532
+ return t?.captureLocation || Bt(r.val), r.val;
3584
3533
  }
3585
- var He;
3534
+ var Te;
3586
3535
  (function(e) {
3587
3536
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3588
- })(He || (He = {}));
3589
- var it = (
3537
+ })(Te || (Te = {}));
3538
+ var rt = (
3590
3539
  /** @class */
3591
3540
  function(e) {
3592
- ee(t, e);
3541
+ K(t, e);
3593
3542
  function t(r, n, i) {
3594
3543
  var s = e.call(this, r) || this;
3595
3544
  return s.code = n, s.originalMessage = i, s;
@@ -3598,48 +3547,48 @@ var it = (
3598
3547
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3599
3548
  }, t;
3600
3549
  }(Error)
3601
- ), lr = (
3550
+ ), tr = (
3602
3551
  /** @class */
3603
3552
  function(e) {
3604
- ee(t, e);
3553
+ K(t, e);
3605
3554
  function t(r, n, i, s) {
3606
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), He.INVALID_VALUE, s) || this;
3555
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3607
3556
  }
3608
3557
  return t;
3609
- }(it)
3610
- ), ji = (
3558
+ }(rt)
3559
+ ), Bi = (
3611
3560
  /** @class */
3612
3561
  function(e) {
3613
- ee(t, e);
3562
+ K(t, e);
3614
3563
  function t(r, n, i) {
3615
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), He.INVALID_VALUE, i) || this;
3564
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Te.INVALID_VALUE, i) || this;
3616
3565
  }
3617
3566
  return t;
3618
- }(it)
3619
- ), Fi = (
3567
+ }(rt)
3568
+ ), Pi = (
3620
3569
  /** @class */
3621
3570
  function(e) {
3622
- ee(t, e);
3571
+ K(t, e);
3623
3572
  function t(r, n) {
3624
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), He.MISSING_VALUE, n) || this;
3573
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Te.MISSING_VALUE, n) || this;
3625
3574
  }
3626
3575
  return t;
3627
- }(it)
3576
+ }(rt)
3628
3577
  ), U;
3629
3578
  (function(e) {
3630
3579
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3631
3580
  })(U || (U = {}));
3632
- function ki(e) {
3581
+ function Ci(e) {
3633
3582
  return e.length < 2 ? e : e.reduce(function(t, r) {
3634
3583
  var n = t[t.length - 1];
3635
3584
  return !n || n.type !== U.literal || r.type !== U.literal ? t.push(r) : n.value += r.value, t;
3636
3585
  }, []);
3637
3586
  }
3638
- function Vi(e) {
3587
+ function Oi(e) {
3639
3588
  return typeof e == "function";
3640
3589
  }
3641
- function qe(e, t, r, n, i, s, o) {
3642
- if (e.length === 1 && rr(e[0]))
3590
+ function Qe(e, t, r, n, i, s, o) {
3591
+ if (e.length === 1 && Jt(e[0]))
3643
3592
  return [
3644
3593
  {
3645
3594
  type: U.literal,
@@ -3648,14 +3597,14 @@ function qe(e, t, r, n, i, s, o) {
3648
3597
  ];
3649
3598
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3650
3599
  var h = u[l];
3651
- if (rr(h)) {
3600
+ if (Jt(h)) {
3652
3601
  a.push({
3653
3602
  type: U.literal,
3654
3603
  value: h.value
3655
3604
  });
3656
3605
  continue;
3657
3606
  }
3658
- if (fi(h)) {
3607
+ if (Kn(h)) {
3659
3608
  typeof s == "number" && a.push({
3660
3609
  type: U.literal,
3661
3610
  value: r.getNumberFormat(t).format(s)
@@ -3664,89 +3613,89 @@ function qe(e, t, r, n, i, s, o) {
3664
3613
  }
3665
3614
  var c = h.value;
3666
3615
  if (!(i && c in i))
3667
- throw new Fi(c, o);
3668
- var p = i[c];
3669
- if (ci(h)) {
3670
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3671
- type: typeof p == "string" ? U.literal : U.object,
3672
- value: p
3616
+ throw new Pi(c, o);
3617
+ var f = i[c];
3618
+ if (qn(h)) {
3619
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3620
+ type: typeof f == "string" ? U.literal : U.object,
3621
+ value: f
3673
3622
  });
3674
3623
  continue;
3675
3624
  }
3676
- if (Lr(h)) {
3677
- var g = typeof h.style == "string" ? n.date[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
3625
+ if (Sr(h)) {
3626
+ var y = typeof h.style == "string" ? n.date[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
3678
3627
  a.push({
3679
3628
  type: U.literal,
3680
- value: r.getDateTimeFormat(t, g).format(p)
3629
+ value: r.getDateTimeFormat(t, y).format(f)
3681
3630
  });
3682
3631
  continue;
3683
3632
  }
3684
- if (Or(h)) {
3685
- var g = typeof h.style == "string" ? n.time[h.style] : wt(h.style) ? h.style.parsedOptions : n.time.medium;
3633
+ if (Tr(h)) {
3634
+ var y = typeof h.style == "string" ? n.time[h.style] : St(h.style) ? h.style.parsedOptions : n.time.medium;
3686
3635
  a.push({
3687
3636
  type: U.literal,
3688
- value: r.getDateTimeFormat(t, g).format(p)
3637
+ value: r.getDateTimeFormat(t, y).format(f)
3689
3638
  });
3690
3639
  continue;
3691
3640
  }
3692
- if (Ir(h)) {
3693
- var g = typeof h.style == "string" ? n.number[h.style] : Ur(h.style) ? h.style.parsedOptions : void 0;
3694
- g && g.scale && (p = p * (g.scale || 1)), a.push({
3641
+ if (Er(h)) {
3642
+ var y = typeof h.style == "string" ? n.number[h.style] : Br(h.style) ? h.style.parsedOptions : void 0;
3643
+ y && y.scale && (f = f * (y.scale || 1)), a.push({
3695
3644
  type: U.literal,
3696
- value: r.getNumberFormat(t, g).format(p)
3645
+ value: r.getNumberFormat(t, y).format(f)
3697
3646
  });
3698
3647
  continue;
3699
3648
  }
3700
- if (Rr(h)) {
3701
- var y = h.children, _ = h.value, T = i[_];
3702
- if (!Vi(T))
3703
- throw new ji(_, "function", o);
3704
- var w = qe(y, t, r, n, i, s), E = T(w.map(function(M) {
3649
+ if (Ar(h)) {
3650
+ var v = h.children, b = h.value, H = i[b];
3651
+ if (!Oi(H))
3652
+ throw new Bi(b, "function", o);
3653
+ var C = Qe(v, t, r, n, i, s), T = H(C.map(function(M) {
3705
3654
  return M.value;
3706
3655
  }));
3707
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(M) {
3656
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(M) {
3708
3657
  return {
3709
3658
  type: typeof M == "string" ? U.literal : U.object,
3710
3659
  value: M
3711
3660
  };
3712
3661
  }));
3713
3662
  }
3714
- if (Nr(h)) {
3715
- var v = h.options[p] || h.options.other;
3716
- if (!v)
3717
- throw new lr(h.value, p, Object.keys(h.options), o);
3718
- a.push.apply(a, qe(v.value, t, r, n, i));
3663
+ if (Hr(h)) {
3664
+ var _ = h.options[f] || h.options.other;
3665
+ if (!_)
3666
+ throw new tr(h.value, f, Object.keys(h.options), o);
3667
+ a.push.apply(a, Qe(_.value, t, r, n, i));
3719
3668
  continue;
3720
3669
  }
3721
- if (Mr(h)) {
3722
- var v = h.options["=".concat(p)];
3723
- if (!v) {
3670
+ if (wr(h)) {
3671
+ var _ = h.options["=".concat(f)];
3672
+ if (!_) {
3724
3673
  if (!Intl.PluralRules)
3725
- throw new it(`Intl.PluralRules is not available in this environment.
3674
+ throw new rt(`Intl.PluralRules is not available in this environment.
3726
3675
  Try polyfilling it using "@formatjs/intl-pluralrules"
3727
- `, He.MISSING_INTL_API, o);
3728
- var P = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3729
- v = h.options[P] || h.options.other;
3676
+ `, Te.MISSING_INTL_API, o);
3677
+ var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3678
+ _ = h.options[B] || h.options.other;
3730
3679
  }
3731
- if (!v)
3732
- throw new lr(h.value, p, Object.keys(h.options), o);
3733
- a.push.apply(a, qe(v.value, t, r, n, i, p - (h.offset || 0)));
3680
+ if (!_)
3681
+ throw new tr(h.value, f, Object.keys(h.options), o);
3682
+ a.push.apply(a, Qe(_.value, t, r, n, i, f - (h.offset || 0)));
3734
3683
  continue;
3735
3684
  }
3736
3685
  }
3737
- return ki(a);
3686
+ return Ci(a);
3738
3687
  }
3739
- function Wi(e, t) {
3740
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3741
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
3688
+ function Li(e, t) {
3689
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3690
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3742
3691
  }, {})) : e;
3743
3692
  }
3744
- function Xi(e, t) {
3693
+ function Ii(e, t) {
3745
3694
  return t ? Object.keys(e).reduce(function(r, n) {
3746
- return r[n] = Wi(e[n], t[n]), r;
3747
- }, H({}, e)) : e;
3695
+ return r[n] = Li(e[n], t[n]), r;
3696
+ }, S({}, e)) : e;
3748
3697
  }
3749
- function bt(e) {
3698
+ function pt(e) {
3750
3699
  return {
3751
3700
  create: function() {
3752
3701
  return {
@@ -3760,39 +3709,39 @@ function bt(e) {
3760
3709
  }
3761
3710
  };
3762
3711
  }
3763
- function zi(e) {
3712
+ function Ni(e) {
3764
3713
  return e === void 0 && (e = {
3765
3714
  number: {},
3766
3715
  dateTime: {},
3767
3716
  pluralRules: {}
3768
3717
  }), {
3769
- getNumberFormat: pt(function() {
3718
+ getNumberFormat: ht(function() {
3770
3719
  for (var t, r = [], n = 0; n < arguments.length; n++)
3771
3720
  r[n] = arguments[n];
3772
- return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3721
+ return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
3773
3722
  }, {
3774
- cache: bt(e.number),
3775
- strategy: dt.variadic
3723
+ cache: pt(e.number),
3724
+ strategy: ct.variadic
3776
3725
  }),
3777
- getDateTimeFormat: pt(function() {
3726
+ getDateTimeFormat: ht(function() {
3778
3727
  for (var t, r = [], n = 0; n < arguments.length; n++)
3779
3728
  r[n] = arguments[n];
3780
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3729
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
3781
3730
  }, {
3782
- cache: bt(e.dateTime),
3783
- strategy: dt.variadic
3731
+ cache: pt(e.dateTime),
3732
+ strategy: ct.variadic
3784
3733
  }),
3785
- getPluralRules: pt(function() {
3734
+ getPluralRules: ht(function() {
3786
3735
  for (var t, r = [], n = 0; n < arguments.length; n++)
3787
3736
  r[n] = arguments[n];
3788
- return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3737
+ return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
3789
3738
  }, {
3790
- cache: bt(e.pluralRules),
3791
- strategy: dt.variadic
3739
+ cache: pt(e.pluralRules),
3740
+ strategy: ct.variadic
3792
3741
  })
3793
3742
  };
3794
3743
  }
3795
- var Ji = (
3744
+ var Mi = (
3796
3745
  /** @class */
3797
3746
  function() {
3798
3747
  function e(t, r, n, i) {
@@ -3806,12 +3755,12 @@ var Ji = (
3806
3755
  var u = s.formatToParts(l);
3807
3756
  if (u.length === 1)
3808
3757
  return u[0].value;
3809
- var h = u.reduce(function(c, p) {
3810
- return !c.length || p.type !== U.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3758
+ var h = u.reduce(function(c, f) {
3759
+ return !c.length || f.type !== U.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3811
3760
  }, []);
3812
3761
  return h.length <= 1 ? h[0] || "" : h;
3813
3762
  }, this.formatToParts = function(l) {
3814
- return qe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3763
+ return Qe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3815
3764
  }, this.resolvedOptions = function() {
3816
3765
  var l;
3817
3766
  return {
@@ -3824,13 +3773,13 @@ var Ji = (
3824
3773
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3825
3774
  var o = i || {};
3826
3775
  o.formatters;
3827
- var a = An(o, ["formatters"]);
3828
- this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3776
+ var a = pn(o, ["formatters"]);
3777
+ this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3829
3778
  } else
3830
3779
  this.ast = t;
3831
3780
  if (!Array.isArray(this.ast))
3832
3781
  throw new TypeError("A message must be provided as a String or AST.");
3833
- this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
3782
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
3834
3783
  }
3835
3784
  return Object.defineProperty(e, "defaultLocale", {
3836
3785
  get: function() {
@@ -3839,11 +3788,11 @@ var Ji = (
3839
3788
  enumerable: !1,
3840
3789
  configurable: !0
3841
3790
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3842
- if (typeof Intl.Locale != "undefined") {
3791
+ if (!(typeof Intl.Locale > "u")) {
3843
3792
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3844
3793
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3845
3794
  }
3846
- }, e.__parse = $i, e.formats = {
3795
+ }, e.__parse = Ai, e.formats = {
3847
3796
  number: {
3848
3797
  integer: {
3849
3798
  maximumFractionDigits: 0
@@ -3904,7 +3853,7 @@ var Ji = (
3904
3853
  }, e;
3905
3854
  }()
3906
3855
  );
3907
- function Zi(e, t) {
3856
+ function Ri(e, t) {
3908
3857
  if (t == null)
3909
3858
  return;
3910
3859
  if (t in e)
@@ -3925,92 +3874,92 @@ function Zi(e, t) {
3925
3874
  n = void 0;
3926
3875
  return n;
3927
3876
  }
3928
- const ie = {}, Qi = (e, t, r) => r && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = r), r), Wr = (e, t) => {
3877
+ const ne = {}, Ui = (e, t, r) => r && (t in ne || (ne[t] = {}), e in ne[t] || (ne[t][e] = r), r), Rr = (e, t) => {
3929
3878
  if (t == null)
3930
3879
  return;
3931
- if (t in ie && e in ie[t])
3932
- return ie[t][e];
3933
- const r = st(t);
3880
+ if (t in ne && e in ne[t])
3881
+ return ne[t][e];
3882
+ const r = nt(t);
3934
3883
  for (let n = 0; n < r.length; n++) {
3935
- const i = r[n], s = qi(i, e);
3884
+ const i = r[n], s = Gi(i, e);
3936
3885
  if (s)
3937
- return Qi(e, t, s);
3886
+ return Ui(e, t, s);
3938
3887
  }
3939
3888
  };
3940
- let Dt;
3941
- const $e = nt({});
3942
- function Yi(e) {
3943
- return Dt[e] || null;
3889
+ let Nt;
3890
+ const De = tt({});
3891
+ function Di(e) {
3892
+ return Nt[e] || null;
3944
3893
  }
3945
- function Xr(e) {
3946
- return e in Dt;
3894
+ function Ur(e) {
3895
+ return e in Nt;
3947
3896
  }
3948
- function qi(e, t) {
3949
- if (!Xr(e))
3897
+ function Gi(e, t) {
3898
+ if (!Ur(e))
3950
3899
  return null;
3951
- const r = Yi(e);
3952
- return Zi(r, t);
3900
+ const r = Di(e);
3901
+ return Ri(r, t);
3953
3902
  }
3954
- function Ki(e) {
3903
+ function ji(e) {
3955
3904
  if (e == null)
3956
3905
  return;
3957
- const t = st(e);
3906
+ const t = nt(e);
3958
3907
  for (let r = 0; r < t.length; r++) {
3959
3908
  const n = t[r];
3960
- if (Xr(n))
3909
+ if (Ur(n))
3961
3910
  return n;
3962
3911
  }
3963
3912
  }
3964
- function zr(e, ...t) {
3965
- delete ie[e], $e.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
3913
+ function Dr(e, ...t) {
3914
+ delete ne[e], De.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
3966
3915
  }
3967
- Ae(
3968
- [$e],
3916
+ we(
3917
+ [De],
3969
3918
  ([e]) => Object.keys(e)
3970
3919
  );
3971
- $e.subscribe((e) => Dt = e);
3972
- const Ke = {};
3973
- function es(e, t) {
3974
- Ke[e].delete(t), Ke[e].size === 0 && delete Ke[e];
3920
+ De.subscribe((e) => Nt = e);
3921
+ const Ye = {};
3922
+ function ki(e, t) {
3923
+ Ye[e].delete(t), Ye[e].size === 0 && delete Ye[e];
3975
3924
  }
3976
- function Jr(e) {
3977
- return Ke[e];
3925
+ function Gr(e) {
3926
+ return Ye[e];
3978
3927
  }
3979
- function ts(e) {
3980
- return st(e).map((t) => {
3981
- const r = Jr(t);
3928
+ function $i(e) {
3929
+ return nt(e).map((t) => {
3930
+ const r = Gr(t);
3982
3931
  return [t, r ? [...r] : []];
3983
3932
  }).filter(([, t]) => t.length > 0);
3984
3933
  }
3985
- function Lt(e) {
3986
- return e == null ? !1 : st(e).some(
3934
+ function Pt(e) {
3935
+ return e == null ? !1 : nt(e).some(
3987
3936
  (t) => {
3988
3937
  var r;
3989
- return (r = Jr(t)) == null ? void 0 : r.size;
3938
+ return (r = Gr(t)) == null ? void 0 : r.size;
3990
3939
  }
3991
3940
  );
3992
3941
  }
3993
- function rs(e, t) {
3942
+ function Fi(e, t) {
3994
3943
  return Promise.all(
3995
- t.map((n) => (es(e, n), n().then((i) => i.default || i)))
3996
- ).then((n) => zr(e, ...n));
3997
- }
3998
- const Me = {};
3999
- function Zr(e) {
4000
- if (!Lt(e))
4001
- return e in Me ? Me[e] : Promise.resolve();
4002
- const t = ts(e);
4003
- return Me[e] = Promise.all(
3944
+ t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
3945
+ ).then((n) => Dr(e, ...n));
3946
+ }
3947
+ const Ie = {};
3948
+ function jr(e) {
3949
+ if (!Pt(e))
3950
+ return e in Ie ? Ie[e] : Promise.resolve();
3951
+ const t = $i(e);
3952
+ return Ie[e] = Promise.all(
4004
3953
  t.map(
4005
- ([r, n]) => rs(r, n)
3954
+ ([r, n]) => Fi(r, n)
4006
3955
  )
4007
3956
  ).then(() => {
4008
- if (Lt(e))
4009
- return Zr(e);
4010
- delete Me[e];
4011
- }), Me[e];
3957
+ if (Pt(e))
3958
+ return jr(e);
3959
+ delete Ie[e];
3960
+ }), Ie[e];
4012
3961
  }
4013
- const ns = {
3962
+ const Vi = {
4014
3963
  number: {
4015
3964
  scientific: { notation: "scientific" },
4016
3965
  engineering: { notation: "engineering" },
@@ -4039,150 +3988,150 @@ const ns = {
4039
3988
  timeZoneName: "short"
4040
3989
  }
4041
3990
  }
4042
- }, is = {
3991
+ }, Wi = {
4043
3992
  fallbackLocale: null,
4044
3993
  loadingDelay: 200,
4045
- formats: ns,
3994
+ formats: Vi,
4046
3995
  warnOnMissingMessages: !0,
4047
3996
  handleMissingMessage: void 0,
4048
3997
  ignoreTag: !0
4049
- }, ss = is;
4050
- function we() {
4051
- return ss;
4052
- }
4053
- const gt = nt(!1);
4054
- var os = Object.defineProperty, as = Object.defineProperties, us = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, ls = Object.prototype.hasOwnProperty, hs = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, cs = (e, t) => {
4055
- for (var r in t || (t = {}))
4056
- ls.call(t, r) && cr(e, r, t[r]);
4057
- if (hr)
4058
- for (var r of hr(t))
4059
- hs.call(t, r) && cr(e, r, t[r]);
3998
+ }, Xi = Wi;
3999
+ function He() {
4000
+ return Xi;
4001
+ }
4002
+ const dt = tt(!1);
4003
+ var zi = Object.defineProperty, Ji = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, Qi = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
4004
+ for (var r in t)
4005
+ Qi.call(t, r) && nr(e, r, t[r]);
4006
+ if (rr)
4007
+ for (var r of rr(t))
4008
+ Yi.call(t, r) && nr(e, r, t[r]);
4060
4009
  return e;
4061
- }, fs = (e, t) => as(e, us(t));
4062
- let Ot;
4063
- const et = nt(null);
4064
- function fr(e) {
4010
+ }, Ki = (e, t) => Ji(e, Zi(t));
4011
+ let Ct;
4012
+ const qe = tt(null);
4013
+ function ir(e) {
4065
4014
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4066
4015
  }
4067
- function st(e, t = we().fallbackLocale) {
4068
- const r = fr(e);
4069
- return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
4016
+ function nt(e, t = He().fallbackLocale) {
4017
+ const r = ir(e);
4018
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4070
4019
  }
4071
- function he() {
4072
- return Ot != null ? Ot : void 0;
4020
+ function le() {
4021
+ return Ct ?? void 0;
4073
4022
  }
4074
- et.subscribe((e) => {
4075
- Ot = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4023
+ qe.subscribe((e) => {
4024
+ Ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4076
4025
  });
4077
- const ps = (e) => {
4078
- if (e && Ki(e) && Lt(e)) {
4079
- const { loadingDelay: t } = we();
4026
+ const es = (e) => {
4027
+ if (e && ji(e) && Pt(e)) {
4028
+ const { loadingDelay: t } = He();
4080
4029
  let r;
4081
- return typeof window != "undefined" && he() != null && t ? r = window.setTimeout(
4082
- () => gt.set(!0),
4030
+ return typeof window < "u" && le() != null && t ? r = window.setTimeout(
4031
+ () => dt.set(!0),
4083
4032
  t
4084
- ) : gt.set(!0), Zr(e).then(() => {
4085
- et.set(e);
4033
+ ) : dt.set(!0), jr(e).then(() => {
4034
+ qe.set(e);
4086
4035
  }).finally(() => {
4087
- clearTimeout(r), gt.set(!1);
4036
+ clearTimeout(r), dt.set(!1);
4088
4037
  });
4089
4038
  }
4090
- return et.set(e);
4091
- }, Be = fs(cs({}, et), {
4092
- set: ps
4093
- }), ot = (e) => {
4039
+ return qe.set(e);
4040
+ }, Ae = Ki(qi({}, qe), {
4041
+ set: es
4042
+ }), it = (e) => {
4094
4043
  const t = /* @__PURE__ */ Object.create(null);
4095
4044
  return (n) => {
4096
4045
  const i = JSON.stringify(n);
4097
4046
  return i in t ? t[i] : t[i] = e(n);
4098
4047
  };
4099
4048
  };
4100
- var ds = Object.defineProperty, tt = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? ds(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4049
+ var ts = Object.defineProperty, Ke = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mt = (e, t) => {
4101
4050
  for (var r in t || (t = {}))
4102
- Qr.call(t, r) && pr(e, r, t[r]);
4103
- if (tt)
4104
- for (var r of tt(t))
4105
- Yr.call(t, r) && pr(e, r, t[r]);
4051
+ kr.call(t, r) && sr(e, r, t[r]);
4052
+ if (Ke)
4053
+ for (var r of Ke(t))
4054
+ $r.call(t, r) && sr(e, r, t[r]);
4106
4055
  return e;
4107
- }, Pe = (e, t) => {
4056
+ }, Be = (e, t) => {
4108
4057
  var r = {};
4109
4058
  for (var n in e)
4110
- Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4111
- if (e != null && tt)
4112
- for (var n of tt(e))
4113
- t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
4059
+ kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4060
+ if (e != null && Ke)
4061
+ for (var n of Ke(e))
4062
+ t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
4114
4063
  return r;
4115
4064
  };
4116
- const De = (e, t) => {
4117
- const { formats: r } = we();
4065
+ const Re = (e, t) => {
4066
+ const { formats: r } = He();
4118
4067
  if (e in r && t in r[e])
4119
4068
  return r[e][t];
4120
4069
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4121
- }, ms = ot(
4070
+ }, rs = it(
4122
4071
  (e) => {
4123
- var t = e, { locale: r, format: n } = t, i = Pe(t, ["locale", "format"]);
4072
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4124
4073
  if (r == null)
4125
4074
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4126
- return n && (i = De("number", n)), new Intl.NumberFormat(r, i);
4075
+ return n && (i = Re("number", n)), new Intl.NumberFormat(r, i);
4127
4076
  }
4128
- ), bs = ot(
4077
+ ), ns = it(
4129
4078
  (e) => {
4130
- var t = e, { locale: r, format: n } = t, i = Pe(t, ["locale", "format"]);
4079
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4131
4080
  if (r == null)
4132
4081
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4133
- return n ? i = De("date", n) : Object.keys(i).length === 0 && (i = De("date", "short")), new Intl.DateTimeFormat(r, i);
4082
+ return n ? i = Re("date", n) : Object.keys(i).length === 0 && (i = Re("date", "short")), new Intl.DateTimeFormat(r, i);
4134
4083
  }
4135
- ), gs = ot(
4084
+ ), is = it(
4136
4085
  (e) => {
4137
- var t = e, { locale: r, format: n } = t, i = Pe(t, ["locale", "format"]);
4086
+ var t = e, { locale: r, format: n } = t, i = Be(t, ["locale", "format"]);
4138
4087
  if (r == null)
4139
4088
  throw new Error(
4140
4089
  '[svelte-i18n] A "locale" must be set to format time values'
4141
4090
  );
4142
- return n ? i = De("time", n) : Object.keys(i).length === 0 && (i = De("time", "short")), new Intl.DateTimeFormat(r, i);
4091
+ return n ? i = Re("time", n) : Object.keys(i).length === 0 && (i = Re("time", "short")), new Intl.DateTimeFormat(r, i);
4143
4092
  }
4144
- ), ys = (e = {}) => {
4093
+ ), ss = (e = {}) => {
4145
4094
  var t = e, {
4146
- locale: r = he()
4147
- } = t, n = Pe(t, [
4095
+ locale: r = le()
4096
+ } = t, n = Be(t, [
4148
4097
  "locale"
4149
4098
  ]);
4150
- return ms(Gt({ locale: r }, n));
4151
- }, vs = (e = {}) => {
4099
+ return rs(Mt({ locale: r }, n));
4100
+ }, os = (e = {}) => {
4152
4101
  var t = e, {
4153
- locale: r = he()
4154
- } = t, n = Pe(t, [
4102
+ locale: r = le()
4103
+ } = t, n = Be(t, [
4155
4104
  "locale"
4156
4105
  ]);
4157
- return bs(Gt({ locale: r }, n));
4158
- }, _s = (e = {}) => {
4106
+ return ns(Mt({ locale: r }, n));
4107
+ }, as = (e = {}) => {
4159
4108
  var t = e, {
4160
- locale: r = he()
4161
- } = t, n = Pe(t, [
4109
+ locale: r = le()
4110
+ } = t, n = Be(t, [
4162
4111
  "locale"
4163
4112
  ]);
4164
- return gs(Gt({ locale: r }, n));
4165
- }, xs = ot(
4113
+ return is(Mt({ locale: r }, n));
4114
+ }, us = it(
4166
4115
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4167
- (e, t = he()) => new Ji(e, t, we().formats, {
4168
- ignoreTag: we().ignoreTag
4116
+ (e, t = le()) => new Mi(e, t, He().formats, {
4117
+ ignoreTag: He().ignoreTag
4169
4118
  })
4170
- ), Es = (e, t = {}) => {
4119
+ ), ls = (e, t = {}) => {
4171
4120
  var r, n, i, s;
4172
4121
  let o = t;
4173
4122
  typeof e == "object" && (o = e, e = o.id);
4174
4123
  const {
4175
4124
  values: a,
4176
- locale: l = he(),
4125
+ locale: l = le(),
4177
4126
  default: u
4178
4127
  } = o;
4179
4128
  if (l == null)
4180
4129
  throw new Error(
4181
4130
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4182
4131
  );
4183
- let h = Wr(e, l);
4132
+ let h = Rr(e, l);
4184
4133
  if (!h)
4185
- h = (s = (i = (n = (r = we()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4134
+ h = (s = (i = (n = (r = He()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4186
4135
  else if (typeof h != "string")
4187
4136
  return console.warn(
4188
4137
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4191,29 +4140,29 @@ const De = (e, t) => {
4191
4140
  return h;
4192
4141
  let c = h;
4193
4142
  try {
4194
- c = xs(h, l).format(a);
4195
- } catch (p) {
4196
- p instanceof Error && console.warn(
4143
+ c = us(h, l).format(a);
4144
+ } catch (f) {
4145
+ f instanceof Error && console.warn(
4197
4146
  `[svelte-i18n] Message "${e}" has syntax error:`,
4198
- p.message
4147
+ f.message
4199
4148
  );
4200
4149
  }
4201
4150
  return c;
4202
- }, Ss = (e, t) => _s(t).format(e), Ts = (e, t) => vs(t).format(e), Hs = (e, t) => ys(t).format(e), ws = (e, t = he()) => Wr(e, t);
4203
- Ae([Be, $e], () => Es);
4204
- Ae([Be], () => Ss);
4205
- Ae([Be], () => Ts);
4206
- Ae([Be], () => Hs);
4207
- Ae([Be, $e], () => ws);
4208
- window.emWidgets = { topic: jn };
4209
- const As = (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));
4210
- function dr(e, t) {
4211
- zr(e, t);
4212
- }
4213
- function Bs(e) {
4214
- Be.set(e);
4215
- }
4216
- const mr = {
4151
+ }, hs = (e, t) => as(t).format(e), cs = (e, t) => os(t).format(e), fs = (e, t) => ss(t).format(e), ps = (e, t = le()) => Rr(e, t);
4152
+ we([Ae, De], () => ls);
4153
+ we([Ae], () => hs);
4154
+ we([Ae], () => cs);
4155
+ we([Ae], () => fs);
4156
+ we([Ae, De], () => ps);
4157
+ window.emWidgets = { topic: An };
4158
+ const ds = (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));
4159
+ function or(e, t) {
4160
+ Dr(e, t);
4161
+ }
4162
+ function ms(e) {
4163
+ Ae.set(e);
4164
+ }
4165
+ const ar = {
4217
4166
  en: {
4218
4167
  loadingText: "Loading, please wait..."
4219
4168
  },
@@ -4251,224 +4200,224 @@ const mr = {
4251
4200
  loadingText: "Loading, please wait..."
4252
4201
  }
4253
4202
  };
4254
- function Ps(e) {
4255
- on(e, "svelte-4fxl7w", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4203
+ function bs(e) {
4204
+ Wr(e, "svelte-4fxl7w", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4256
4205
  }
4257
- function br(e, t, r) {
4206
+ function ur(e, t, r) {
4258
4207
  const n = e.slice();
4259
4208
  return n[48] = t[r], n[50] = r, n;
4260
4209
  }
4261
- function Cs(e) {
4262
- let t, r, n, i, s, o, a, l, u, h, c, p, g, y, _;
4263
- function T(v, P) {
4210
+ function gs(e) {
4211
+ let t, r, n, i, s, o, a, l, u, h, c, f, y, v, b;
4212
+ function H(_, B) {
4264
4213
  return (
4265
4214
  /*tabletView*/
4266
- v[5] ? Os : Ns
4215
+ _[5] ? _s : xs
4267
4216
  );
4268
4217
  }
4269
- let w = T(e), E = w(e);
4218
+ let C = H(e), T = C(e);
4270
4219
  return {
4271
4220
  c() {
4272
- t = b("div"), r = b("div"), n = b("div"), i = b("div"), s = Z(), o = b("div"), E.c(), a = Z(), l = b("div"), u = b("img"), d(i, "class", "vendorLogo"), ze(i, "background-image", "url(" + /*vendorIcon*/
4273
- e[6] + ")"), d(o, "class", "displayContainer"), F(u.src, h = /*titleLogoImg*/
4221
+ t = g("div"), r = g("div"), n = g("div"), i = g("div"), s = J(), o = g("div"), T.c(), a = J(), l = g("div"), u = g("img"), d(i, "class", "vendorLogo"), We(i, "background-image", "url(" + /*vendorIcon*/
4222
+ e[6] + ")"), d(o, "class", "displayContainer"), k(u.src, h = /*titleLogoImg*/
4274
4223
  e[11]) || d(u, "src", h), d(u, "alt", ""), d(l, "class", "title"), d(n, "class", c = "mainWrapper " + /*visualstructure*/
4275
4224
  e[0] + " " + /*mobileView*/
4276
4225
  (e[4] && !/*tabletView*/
4277
4226
  e[5] ? "mobile" : (
4278
4227
  /*tabletView*/
4279
4228
  e[5] ? "tablet" : ""
4280
- ))), ze(n, "background", "url(" + /*backgroundImg*/
4281
- e[10] + ")"), d(r, "class", "jackpotBanner"), d(t, "class", p = /*displayNone*/
4282
- e[12] ? "DisplayNone" : ""), d(t, "part", g = /*displayNone*/
4229
+ ))), We(n, "background", "url(" + /*backgroundImg*/
4230
+ e[10] + ")"), d(r, "class", "jackpotBanner"), d(t, "class", f = /*displayNone*/
4231
+ e[12] ? "DisplayNone" : ""), d(t, "part", y = /*displayNone*/
4283
4232
  e[12] ? "DisplayNone" : "");
4284
4233
  },
4285
- m(v, P) {
4286
- Q(v, t, P), m(t, r), m(r, n), m(n, i), m(n, s), m(n, o), E.m(o, null), m(n, a), m(n, l), m(l, u), y || (_ = cn(
4234
+ m(_, B) {
4235
+ Z(_, t, B), m(t, r), m(r, n), m(n, i), m(n, s), m(n, o), T.m(o, null), m(n, a), m(n, l), m(l, u), v || (b = Qr(
4287
4236
  r,
4288
4237
  "click",
4289
4238
  /*click_handler*/
4290
4239
  e[31]
4291
- ), y = !0);
4240
+ ), v = !0);
4292
4241
  },
4293
- p(v, P) {
4294
- P[0] & /*vendorIcon*/
4295
- 64 && ze(i, "background-image", "url(" + /*vendorIcon*/
4296
- v[6] + ")"), w === (w = T(v)) && E ? E.p(v, P) : (E.d(1), E = w(v), E && (E.c(), E.m(o, null))), P[0] & /*titleLogoImg*/
4297
- 2048 && !F(u.src, h = /*titleLogoImg*/
4298
- v[11]) && d(u, "src", h), P[0] & /*visualstructure, mobileView, tabletView*/
4242
+ p(_, B) {
4243
+ B[0] & /*vendorIcon*/
4244
+ 64 && We(i, "background-image", "url(" + /*vendorIcon*/
4245
+ _[6] + ")"), C === (C = H(_)) && T ? T.p(_, B) : (T.d(1), T = C(_), T && (T.c(), T.m(o, null))), B[0] & /*titleLogoImg*/
4246
+ 2048 && !k(u.src, h = /*titleLogoImg*/
4247
+ _[11]) && d(u, "src", h), B[0] & /*visualstructure, mobileView, tabletView*/
4299
4248
  49 && c !== (c = "mainWrapper " + /*visualstructure*/
4300
- v[0] + " " + /*mobileView*/
4301
- (v[4] && !/*tabletView*/
4302
- v[5] ? "mobile" : (
4249
+ _[0] + " " + /*mobileView*/
4250
+ (_[4] && !/*tabletView*/
4251
+ _[5] ? "mobile" : (
4303
4252
  /*tabletView*/
4304
- v[5] ? "tablet" : ""
4305
- ))) && d(n, "class", c), P[0] & /*backgroundImg*/
4306
- 1024 && ze(n, "background", "url(" + /*backgroundImg*/
4307
- v[10] + ")"), P[0] & /*displayNone*/
4308
- 4096 && p !== (p = /*displayNone*/
4309
- v[12] ? "DisplayNone" : "") && d(t, "class", p), P[0] & /*displayNone*/
4310
- 4096 && g !== (g = /*displayNone*/
4311
- v[12] ? "DisplayNone" : "") && d(t, "part", g);
4253
+ _[5] ? "tablet" : ""
4254
+ ))) && d(n, "class", c), B[0] & /*backgroundImg*/
4255
+ 1024 && We(n, "background", "url(" + /*backgroundImg*/
4256
+ _[10] + ")"), B[0] & /*displayNone*/
4257
+ 4096 && f !== (f = /*displayNone*/
4258
+ _[12] ? "DisplayNone" : "") && d(t, "class", f), B[0] & /*displayNone*/
4259
+ 4096 && y !== (y = /*displayNone*/
4260
+ _[12] ? "DisplayNone" : "") && d(t, "part", y);
4312
4261
  },
4313
- d(v) {
4314
- v && W(t), E.d(), y = !1, _();
4262
+ d(_) {
4263
+ _ && V(t), T.d(), v = !1, b();
4315
4264
  }
4316
4265
  };
4317
4266
  }
4318
- function Is(e) {
4267
+ function ys(e) {
4319
4268
  let t;
4320
4269
  return {
4321
4270
  c() {
4322
- t = b("div"), d(t, "class", "LoadingSpinner"), d(t, "part", "LoadingSpinner");
4271
+ t = g("div"), d(t, "class", "LoadingSpinner"), d(t, "part", "LoadingSpinner");
4323
4272
  },
4324
4273
  m(r, n) {
4325
- Q(r, t, n);
4274
+ Z(r, t, n);
4326
4275
  },
4327
4276
  p: G,
4328
4277
  d(r) {
4329
- r && W(t);
4278
+ r && V(t);
4330
4279
  }
4331
4280
  };
4332
4281
  }
4333
- function Ls(e) {
4282
+ function vs(e) {
4334
4283
  let t;
4335
4284
  return {
4336
4285
  c() {
4337
- t = b("p"), t.textContent = "500 Server error";
4286
+ t = g("p"), t.textContent = "500 Server error";
4338
4287
  },
4339
4288
  m(r, n) {
4340
- Q(r, t, n);
4289
+ Z(r, t, n);
4341
4290
  },
4342
4291
  p: G,
4343
4292
  d(r) {
4344
- r && W(t);
4293
+ r && V(t);
4345
4294
  }
4346
4295
  };
4347
4296
  }
4348
- function Os(e) {
4297
+ function _s(e) {
4349
4298
  let t, r, n, i, s, o, a = (
4350
4299
  /*formattedLabels*/
4351
4300
  e[8][0] + ""
4352
4301
  ), l, u, h, c = (
4353
4302
  /*formattedJackpotValues*/
4354
4303
  e[7][0] + ""
4355
- ), p, g, y, _, T, w, E, v, P, M, D = (
4304
+ ), f, y, v, b, H, C, T, _, B, M, D = (
4356
4305
  /*formattedLabels*/
4357
4306
  e[8][1] + ""
4358
- ), Y, X, q, se = (
4307
+ ), Q, W, Y, ie = (
4359
4308
  /*formattedJackpotValues*/
4360
4309
  e[7][1] + ""
4361
- ), ce, Ce, oe, fe, k, V, z, te, $, pe, re, de = (
4310
+ ), he, Pe, se, ce, $, F, X, ee, j, fe, te, pe = (
4362
4311
  /*formattedLabels*/
4363
4312
  e[8][2] + ""
4364
- ), Ie, ne, me, be = (
4313
+ ), Ce, re, de, me = (
4365
4314
  /*formattedJackpotValues*/
4366
4315
  e[7][2] + ""
4367
- ), Le, je, ae, Oe, Fe, ue, le, J, f, A, I = (
4316
+ ), Oe, Ge, oe, Le, je, ae, ue, z, p, w, L = (
4368
4317
  /*formattedLabels*/
4369
4318
  e[8][3] + ""
4370
- ), Ne, ge, ke, Ve = (
4319
+ ), st, be, ke, $e = (
4371
4320
  /*formattedJackpotValues*/
4372
4321
  e[7][3] + ""
4373
- ), at, $t, We, ut;
4322
+ ), ot, Rt, Fe, at;
4374
4323
  return {
4375
4324
  c() {
4376
- t = b("div"), r = b("div"), n = b("div"), i = b("img"), o = b("span"), l = N(a), u = b("span"), h = b("span"), p = N(c), g = Z(), y = b("span"), _ = N(
4325
+ t = g("div"), r = g("div"), n = g("div"), i = g("img"), o = g("span"), l = N(a), u = g("span"), h = g("span"), f = N(c), y = J(), v = g("span"), b = N(
4377
4326
  /*currency*/
4378
4327
  e[1]
4379
- ), T = Z(), w = b("div"), E = b("div"), v = b("img"), M = b("span"), Y = N(D), X = b("span"), q = b("span"), ce = N(se), Ce = Z(), oe = b("span"), fe = N(
4328
+ ), H = J(), C = g("div"), T = g("div"), _ = g("img"), M = g("span"), Q = N(D), W = g("span"), Y = g("span"), he = N(ie), Pe = J(), se = g("span"), ce = N(
4380
4329
  /*currency*/
4381
4330
  e[1]
4382
- ), k = Z(), V = b("div"), z = b("div"), te = b("div"), $ = b("img"), re = b("span"), Ie = N(de), ne = b("span"), me = b("span"), Le = N(be), je = Z(), ae = b("span"), Oe = N(
4331
+ ), $ = J(), F = g("div"), X = g("div"), ee = g("div"), j = g("img"), te = g("span"), Ce = N(pe), re = g("span"), de = g("span"), Oe = N(me), Ge = J(), oe = g("span"), Le = N(
4383
4332
  /*currency*/
4384
4333
  e[1]
4385
- ), Fe = Z(), ue = b("div"), le = b("div"), J = b("img"), A = b("span"), Ne = N(I), ge = b("span"), ke = b("span"), at = N(Ve), $t = Z(), We = b("span"), ut = N(
4334
+ ), je = J(), ae = g("div"), ue = g("div"), z = g("img"), w = g("span"), st = N(L), be = g("span"), ke = g("span"), ot = N($e), Rt = J(), Fe = g("span"), at = N(
4386
4335
  /*currency*/
4387
4336
  e[1]
4388
- ), d(i, "class", "displayCardIcon"), F(i.src, s = /*caticons*/
4389
- e[9][0]) || d(i, "src", s), d(i, "alt", ""), d(o, "class", "cardLabel"), d(n, "class", "iconWrapper"), d(h, "class", "jackpotValue"), d(y, "class", "jackpot-currency"), d(u, "class", "cardTextWrapper"), d(r, "class", "displayCard"), d(v, "class", "displayCardIcon"), F(v.src, P = /*caticons*/
4390
- e[9][1]) || d(v, "src", P), d(v, "alt", ""), d(M, "class", "cardLabel"), d(E, "class", "iconWrapper"), d(q, "class", "jackpotValue"), d(oe, "class", "jackpot-currency"), d(X, "class", "cardTextWrapper"), d(w, "class", "displayCard"), d(t, "class", "pairWrapper"), d($, "class", "displayCardIcon"), F($.src, pe = /*caticons*/
4391
- e[9][2]) || d($, "src", pe), d($, "alt", ""), d(re, "class", "cardLabel"), d(te, "class", "iconWrapper"), d(me, "class", "jackpotValue"), d(ae, "class", "jackpot-currency"), d(ne, "class", "cardTextWrapper"), d(z, "class", "displayCard"), d(J, "class", "displayCardIcon"), F(J.src, f = /*caticons*/
4392
- e[9][3]) || d(J, "src", f), d(J, "alt", ""), d(A, "class", "cardLabel"), d(le, "class", "iconWrapper"), d(ke, "class", "jackpotValue"), d(We, "class", "jackpot-currency"), d(ge, "class", "cardTextWrapper"), d(ue, "class", "displayCard"), d(V, "class", "pairWrapper");
4337
+ ), d(i, "class", "displayCardIcon"), k(i.src, s = /*caticons*/
4338
+ e[9][0]) || d(i, "src", s), d(i, "alt", ""), d(o, "class", "cardLabel"), d(n, "class", "iconWrapper"), d(h, "class", "jackpotValue"), d(v, "class", "jackpot-currency"), d(u, "class", "cardTextWrapper"), d(r, "class", "displayCard"), d(_, "class", "displayCardIcon"), k(_.src, B = /*caticons*/
4339
+ e[9][1]) || d(_, "src", B), d(_, "alt", ""), d(M, "class", "cardLabel"), d(T, "class", "iconWrapper"), d(Y, "class", "jackpotValue"), d(se, "class", "jackpot-currency"), d(W, "class", "cardTextWrapper"), d(C, "class", "displayCard"), d(t, "class", "pairWrapper"), d(j, "class", "displayCardIcon"), k(j.src, fe = /*caticons*/
4340
+ e[9][2]) || d(j, "src", fe), d(j, "alt", ""), d(te, "class", "cardLabel"), d(ee, "class", "iconWrapper"), d(de, "class", "jackpotValue"), d(oe, "class", "jackpot-currency"), d(re, "class", "cardTextWrapper"), d(X, "class", "displayCard"), d(z, "class", "displayCardIcon"), k(z.src, p = /*caticons*/
4341
+ e[9][3]) || d(z, "src", p), d(z, "alt", ""), d(w, "class", "cardLabel"), d(ue, "class", "iconWrapper"), d(ke, "class", "jackpotValue"), d(Fe, "class", "jackpot-currency"), d(be, "class", "cardTextWrapper"), d(ae, "class", "displayCard"), d(F, "class", "pairWrapper");
4393
4342
  },
4394
- m(C, L) {
4395
- Q(C, t, L), m(t, r), m(r, n), m(n, i), m(n, o), m(o, l), m(r, u), m(u, h), m(h, p), m(u, g), m(u, y), m(y, _), m(t, T), m(t, w), m(w, E), m(E, v), m(E, M), m(M, Y), m(w, X), m(X, q), m(q, ce), m(X, Ce), m(X, oe), m(oe, fe), Q(C, k, L), Q(C, V, L), m(V, z), m(z, te), m(te, $), m(te, re), m(re, Ie), m(z, ne), m(ne, me), m(me, Le), m(ne, je), m(ne, ae), m(ae, Oe), m(V, Fe), m(V, ue), m(ue, le), m(le, J), m(le, A), m(A, Ne), m(ue, ge), m(ge, ke), m(ke, at), m(ge, $t), m(ge, We), m(We, ut);
4343
+ m(P, O) {
4344
+ Z(P, t, O), m(t, r), m(r, n), m(n, i), m(n, o), m(o, l), m(r, u), m(u, h), m(h, f), m(u, y), m(u, v), m(v, b), m(t, H), m(t, C), m(C, T), m(T, _), m(T, M), m(M, Q), m(C, W), m(W, Y), m(Y, he), m(W, Pe), m(W, se), m(se, ce), Z(P, $, O), Z(P, F, O), m(F, X), m(X, ee), m(ee, j), m(ee, te), m(te, Ce), m(X, re), m(re, de), m(de, Oe), m(re, Ge), m(re, oe), m(oe, Le), m(F, je), m(F, ae), m(ae, ue), m(ue, z), m(ue, w), m(w, st), m(ae, be), m(be, ke), m(ke, ot), m(be, Rt), m(be, Fe), m(Fe, at);
4396
4345
  },
4397
- p(C, L) {
4398
- L[0] & /*caticons*/
4399
- 512 && !F(i.src, s = /*caticons*/
4400
- C[9][0]) && d(i, "src", s), L[0] & /*formattedLabels*/
4346
+ p(P, O) {
4347
+ O[0] & /*caticons*/
4348
+ 512 && !k(i.src, s = /*caticons*/
4349
+ P[9][0]) && d(i, "src", s), O[0] & /*formattedLabels*/
4401
4350
  256 && a !== (a = /*formattedLabels*/
4402
- C[8][0] + "") && R(l, a), L[0] & /*formattedJackpotValues*/
4351
+ P[8][0] + "") && R(l, a), O[0] & /*formattedJackpotValues*/
4403
4352
  128 && c !== (c = /*formattedJackpotValues*/
4404
- C[7][0] + "") && R(p, c), L[0] & /*currency*/
4353
+ P[7][0] + "") && R(f, c), O[0] & /*currency*/
4405
4354
  2 && R(
4406
- _,
4355
+ b,
4407
4356
  /*currency*/
4408
- C[1]
4409
- ), L[0] & /*caticons*/
4410
- 512 && !F(v.src, P = /*caticons*/
4411
- C[9][1]) && d(v, "src", P), L[0] & /*formattedLabels*/
4357
+ P[1]
4358
+ ), O[0] & /*caticons*/
4359
+ 512 && !k(_.src, B = /*caticons*/
4360
+ P[9][1]) && d(_, "src", B), O[0] & /*formattedLabels*/
4412
4361
  256 && D !== (D = /*formattedLabels*/
4413
- C[8][1] + "") && R(Y, D), L[0] & /*formattedJackpotValues*/
4414
- 128 && se !== (se = /*formattedJackpotValues*/
4415
- C[7][1] + "") && R(ce, se), L[0] & /*currency*/
4362
+ P[8][1] + "") && R(Q, D), O[0] & /*formattedJackpotValues*/
4363
+ 128 && ie !== (ie = /*formattedJackpotValues*/
4364
+ P[7][1] + "") && R(he, ie), O[0] & /*currency*/
4416
4365
  2 && R(
4417
- fe,
4366
+ ce,
4418
4367
  /*currency*/
4419
- C[1]
4420
- ), L[0] & /*caticons*/
4421
- 512 && !F($.src, pe = /*caticons*/
4422
- C[9][2]) && d($, "src", pe), L[0] & /*formattedLabels*/
4423
- 256 && de !== (de = /*formattedLabels*/
4424
- C[8][2] + "") && R(Ie, de), L[0] & /*formattedJackpotValues*/
4425
- 128 && be !== (be = /*formattedJackpotValues*/
4426
- C[7][2] + "") && R(Le, be), L[0] & /*currency*/
4368
+ P[1]
4369
+ ), O[0] & /*caticons*/
4370
+ 512 && !k(j.src, fe = /*caticons*/
4371
+ P[9][2]) && d(j, "src", fe), O[0] & /*formattedLabels*/
4372
+ 256 && pe !== (pe = /*formattedLabels*/
4373
+ P[8][2] + "") && R(Ce, pe), O[0] & /*formattedJackpotValues*/
4374
+ 128 && me !== (me = /*formattedJackpotValues*/
4375
+ P[7][2] + "") && R(Oe, me), O[0] & /*currency*/
4427
4376
  2 && R(
4428
- Oe,
4377
+ Le,
4429
4378
  /*currency*/
4430
- C[1]
4431
- ), L[0] & /*caticons*/
4432
- 512 && !F(J.src, f = /*caticons*/
4433
- C[9][3]) && d(J, "src", f), L[0] & /*formattedLabels*/
4434
- 256 && I !== (I = /*formattedLabels*/
4435
- C[8][3] + "") && R(Ne, I), L[0] & /*formattedJackpotValues*/
4436
- 128 && Ve !== (Ve = /*formattedJackpotValues*/
4437
- C[7][3] + "") && R(at, Ve), L[0] & /*currency*/
4379
+ P[1]
4380
+ ), O[0] & /*caticons*/
4381
+ 512 && !k(z.src, p = /*caticons*/
4382
+ P[9][3]) && d(z, "src", p), O[0] & /*formattedLabels*/
4383
+ 256 && L !== (L = /*formattedLabels*/
4384
+ P[8][3] + "") && R(st, L), O[0] & /*formattedJackpotValues*/
4385
+ 128 && $e !== ($e = /*formattedJackpotValues*/
4386
+ P[7][3] + "") && R(ot, $e), O[0] & /*currency*/
4438
4387
  2 && R(
4439
- ut,
4388
+ at,
4440
4389
  /*currency*/
4441
- C[1]
4390
+ P[1]
4442
4391
  );
4443
4392
  },
4444
- d(C) {
4445
- C && (W(t), W(k), W(V));
4393
+ d(P) {
4394
+ P && (V(t), V($), V(F));
4446
4395
  }
4447
4396
  };
4448
4397
  }
4449
- function Ns(e) {
4450
- let t, r = zt(Array(4)), n = [];
4398
+ function xs(e) {
4399
+ let t, r = Gt(Array(4)), n = [];
4451
4400
  for (let i = 0; i < r.length; i += 1)
4452
- n[i] = gr(br(e, r, i));
4401
+ n[i] = lr(ur(e, r, i));
4453
4402
  return {
4454
4403
  c() {
4455
4404
  for (let i = 0; i < n.length; i += 1)
4456
4405
  n[i].c();
4457
- t = hn();
4406
+ t = Zr();
4458
4407
  },
4459
4408
  m(i, s) {
4460
4409
  for (let o = 0; o < n.length; o += 1)
4461
4410
  n[o] && n[o].m(i, s);
4462
- Q(i, t, s);
4411
+ Z(i, t, s);
4463
4412
  },
4464
4413
  p(i, s) {
4465
4414
  if (s[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
4466
4415
  898) {
4467
- r = zt(Array(4));
4416
+ r = Gt(Array(4));
4468
4417
  let o;
4469
4418
  for (o = 0; o < r.length; o += 1) {
4470
- const a = br(i, r, o);
4471
- n[o] ? n[o].p(a, s) : (n[o] = gr(a), n[o].c(), n[o].m(t.parentNode, t));
4419
+ const a = ur(i, r, o);
4420
+ n[o] ? n[o].p(a, s) : (n[o] = lr(a), n[o].c(), n[o].m(t.parentNode, t));
4472
4421
  }
4473
4422
  for (; o < n.length; o += 1)
4474
4423
  n[o].d(1);
@@ -4476,12 +4425,11 @@ function Ns(e) {
4476
4425
  }
4477
4426
  },
4478
4427
  d(i) {
4479
- i && W(t), ln(n, i);
4428
+ i && V(t), Jr(n, i);
4480
4429
  }
4481
4430
  };
4482
4431
  }
4483
- function gr(e) {
4484
- var _;
4432
+ function lr(e) {
4485
4433
  let t, r, n, i, s, o = (
4486
4434
  /*formattedLabels*/
4487
4435
  e[8][
@@ -4490,72 +4438,71 @@ function gr(e) {
4490
4438
  ] + ""
4491
4439
  ), a, l, u, h = (
4492
4440
  /*formattedJackpotValues*/
4493
- ((_ = e[7][
4441
+ (e[7][
4494
4442
  /*i*/
4495
4443
  e[50]
4496
- ]) != null ? _ : "") + ""
4497
- ), c, p, g, y;
4444
+ ] ?? "") + ""
4445
+ ), c, f, y, v;
4498
4446
  return {
4499
4447
  c() {
4500
- t = b("div"), r = b("div"), n = b("img"), s = b("span"), a = N(o), l = b("span"), u = b("span"), c = N(h), p = Z(), g = b("span"), y = N(
4448
+ t = g("div"), r = g("div"), n = g("img"), s = g("span"), a = N(o), l = g("span"), u = g("span"), c = N(h), f = J(), y = g("span"), v = N(
4501
4449
  /*currency*/
4502
4450
  e[1]
4503
- ), d(n, "class", "displayCardIcon"), F(n.src, i = /*caticons*/
4451
+ ), d(n, "class", "displayCardIcon"), k(n.src, i = /*caticons*/
4504
4452
  e[9][
4505
4453
  /*i*/
4506
4454
  e[50]
4507
- ]) || d(n, "src", i), d(n, "alt", ""), d(s, "class", "cardLabel"), d(r, "class", "iconWrapper"), d(u, "class", "jackpotValue"), d(g, "class", "jackpot-currency"), d(l, "class", "cardTextWrapper"), d(t, "class", "displayCard");
4455
+ ]) || d(n, "src", i), d(n, "alt", ""), d(s, "class", "cardLabel"), d(r, "class", "iconWrapper"), d(u, "class", "jackpotValue"), d(y, "class", "jackpot-currency"), d(l, "class", "cardTextWrapper"), d(t, "class", "displayCard");
4508
4456
  },
4509
- m(T, w) {
4510
- Q(T, t, w), m(t, r), m(r, n), m(r, s), m(s, a), m(t, l), m(l, u), m(u, c), m(l, p), m(l, g), m(g, y);
4457
+ m(b, H) {
4458
+ Z(b, t, H), m(t, r), m(r, n), m(r, s), m(s, a), m(t, l), m(l, u), m(u, c), m(l, f), m(l, y), m(y, v);
4511
4459
  },
4512
- p(T, w) {
4513
- var E;
4514
- w[0] & /*caticons*/
4515
- 512 && !F(n.src, i = /*caticons*/
4516
- T[9][
4460
+ p(b, H) {
4461
+ H[0] & /*caticons*/
4462
+ 512 && !k(n.src, i = /*caticons*/
4463
+ b[9][
4517
4464
  /*i*/
4518
- T[50]
4519
- ]) && d(n, "src", i), w[0] & /*formattedLabels*/
4465
+ b[50]
4466
+ ]) && d(n, "src", i), H[0] & /*formattedLabels*/
4520
4467
  256 && o !== (o = /*formattedLabels*/
4521
- T[8][
4468
+ b[8][
4522
4469
  /*i*/
4523
- T[50]
4524
- ] + "") && R(a, o), w[0] & /*formattedJackpotValues*/
4470
+ b[50]
4471
+ ] + "") && R(a, o), H[0] & /*formattedJackpotValues*/
4525
4472
  128 && h !== (h = /*formattedJackpotValues*/
4526
- ((E = T[7][
4473
+ (b[7][
4527
4474
  /*i*/
4528
- T[50]
4529
- ]) != null ? E : "") + "") && R(c, h), w[0] & /*currency*/
4475
+ b[50]
4476
+ ] ?? "") + "") && R(c, h), H[0] & /*currency*/
4530
4477
  2 && R(
4531
- y,
4478
+ v,
4532
4479
  /*currency*/
4533
- T[1]
4480
+ b[1]
4534
4481
  );
4535
4482
  },
4536
- d(T) {
4537
- T && W(t);
4483
+ d(b) {
4484
+ b && V(t);
4538
4485
  }
4539
4486
  };
4540
4487
  }
4541
- function Ms(e) {
4488
+ function Es(e) {
4542
4489
  let t;
4543
4490
  function r(s, o) {
4544
4491
  return (
4545
4492
  /*hasErrors*/
4546
- s[13] ? Ls : (
4493
+ s[13] ? vs : (
4547
4494
  /*isLoading*/
4548
- s[3] ? Is : Cs
4495
+ s[3] ? ys : gs
4549
4496
  )
4550
4497
  );
4551
4498
  }
4552
4499
  let n = r(e), i = n(e);
4553
4500
  return {
4554
4501
  c() {
4555
- t = b("div"), i.c();
4502
+ t = g("div"), i.c();
4556
4503
  },
4557
4504
  m(s, o) {
4558
- Q(s, t, o), i.m(t, null), e[32](t);
4505
+ Z(s, t, o), i.m(t, null), e[32](t);
4559
4506
  },
4560
4507
  p(s, o) {
4561
4508
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4563,109 +4510,107 @@ function Ms(e) {
4563
4510
  i: G,
4564
4511
  o: G,
4565
4512
  d(s) {
4566
- s && W(t), i.d(), e[32](null);
4513
+ s && V(t), i.d(), e[32](null);
4567
4514
  }
4568
4515
  };
4569
4516
  }
4570
- function Rs(e, t, r) {
4571
- let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: s = "" } = t, { caticon1: o = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: c = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: g = "" } = t, { lang: y = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: T = "" } = t, { translationurl: w = "" } = t, { endpoint: E = "" } = t, { gameid: v = "" } = t, P = window.navigator.userAgent, M = !1, D = !1, Y = "", X = [], q = [], se = [], ce = [], Ce = [], oe = "", fe = "", k, V = !1, z = !0, te = !1, $;
4572
- const pe = () => {
4573
- fetch(w).then((A) => A.json()).then((A) => {
4574
- Object.keys(A).forEach((I) => {
4575
- dr(I, A[I]);
4517
+ function Ss(e, t, r) {
4518
+ let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: s = "" } = t, { caticon1: o = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: c = "" } = t, { backgroundsrcmobile: f = "" } = t, { titlelogopath: y = "" } = t, { lang: v = "en" } = t, { clientstyling: b = "" } = t, { clientstylingurl: H = "" } = t, { translationurl: C = "" } = t, { endpoint: T = "" } = t, { gameid: _ = "" } = t, B = window.navigator.userAgent, M = !1, D = !1, Q = "", W = [], Y = [], ie = [], he = [], Pe = [], se = "", ce = "", $, F = !1, X = !0, ee = !1, j;
4519
+ const fe = () => {
4520
+ fetch(C).then((w) => w.json()).then((w) => {
4521
+ Object.keys(w).forEach((L) => {
4522
+ or(L, w[L]);
4576
4523
  });
4577
- }).catch((A) => {
4578
- console.log(A);
4524
+ }).catch((w) => {
4525
+ console.log(w);
4579
4526
  });
4580
4527
  };
4581
- Object.keys(mr).forEach((f) => {
4582
- dr(f, mr[f]);
4528
+ Object.keys(ar).forEach((p) => {
4529
+ or(p, ar[p]);
4583
4530
  });
4584
- const re = ["typeSpread", "typeLeft"], de = (f) => {
4585
- var I;
4586
- const A = (I = f == null ? void 0 : f.items[0]) == null ? void 0 : I.additionalData;
4587
- A && Object.values(A).forEach((Ne) => X.push(+Ne));
4588
- }, Ie = (f) => {
4589
- var A;
4590
- r(6, Y = ((A = f == null ? void 0 : f.items[0]) == null ? void 0 : A.vendorLogo) || "");
4591
- }, ne = () => {
4592
- if (E && y && c) {
4593
- let f = new URL(`${E}/v1/casino/jackpots`);
4594
- f.searchParams.append("filter", `id=${v}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((A) => A.json().then((I) => {
4595
- r(3, z = !1), $ = I, q.includes(v) && (de($), Ie($));
4596
- }).catch((I) => {
4597
- r(13, te = !0), r(3, z = !1), console.error(I);
4531
+ const te = ["typeSpread", "typeLeft"], pe = (p) => {
4532
+ const w = p?.items[0]?.additionalData;
4533
+ w && Object.values(w).forEach((L) => W.push(+L));
4534
+ }, Ce = (p) => {
4535
+ r(6, Q = p?.items[0]?.vendorLogo || "");
4536
+ }, re = () => {
4537
+ if (T && v && c) {
4538
+ let p = new URL(`${T}/v1/casino/jackpots`);
4539
+ p.searchParams.append("filter", `id=${_}`), p.searchParams.append("language", v), p.searchParams.append("additionalDataCurrency", c), fetch(p.href).then((w) => w.json().then((L) => {
4540
+ r(3, X = !1), j = L, Y.includes(_) && (pe(j), Ce(j));
4541
+ }).catch((L) => {
4542
+ r(13, ee = !0), r(3, X = !1), console.error(L);
4598
4543
  }));
4599
4544
  }
4600
- }, me = () => {
4601
- let f = new URL(`${E}/v1/casino/jackpots/config`);
4602
- fetch(f.href).then((A) => A.json()).then((A) => {
4603
- r(30, q = A.egtJackpotIds.map((I) => I));
4545
+ }, de = () => {
4546
+ let p = new URL(`${T}/v1/casino/jackpots/config`);
4547
+ fetch(p.href).then((w) => w.json()).then((w) => {
4548
+ r(30, Y = w.egtJackpotIds.map((L) => L));
4604
4549
  });
4605
- }, be = () => {
4606
- r(4, M = As(P) && window.innerHeight / window.innerWidth > 1), r(5, D = je()), X.length !== 0 && r(7, se = Le(X)), r(8, ce = u ? u.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), re.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${re[0]}"`), r(0, n = re[0])), r(10, oe = p && M && !D ? p : h), r(11, fe = g), r(9, Ce = [s, o, a, l]);
4607
- }, Le = (f) => f.map((A) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(A)), je = () => {
4608
- const f = window.innerHeight / window.innerWidth;
4609
- return 0.75 < f && f < 1.6;
4610
- }, ae = () => {
4611
- window.postMessage({ type: "JackpotBannerClicked", gameid: v }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
4550
+ }, me = () => {
4551
+ r(4, M = ds(B) && window.innerHeight / window.innerWidth > 1), r(5, D = Ge()), W.length !== 0 && r(7, ie = Oe(W)), r(8, he = u ? u.split(",").map((p) => p.trim().toUpperCase()) : new Array(4).fill("")), te.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${te[0]}"`), r(0, n = te[0])), r(10, se = f && M && !D ? f : h), r(11, ce = y), r(9, Pe = [s, o, a, l]);
4552
+ }, Oe = (p) => p.map((w) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(w)), Ge = () => {
4553
+ const p = window.innerHeight / window.innerWidth;
4554
+ return 0.75 < p && p < 1.6;
4555
+ }, oe = () => {
4556
+ window.postMessage({ type: "JackpotBannerClicked", gameid: _ }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
4612
4557
  context: "JackpotBanner",
4613
- gameId: `${v}`
4558
+ gameId: `${_}`
4614
4559
  });
4615
- }, Oe = () => {
4616
- let f = document.createElement("style");
4617
- f.innerHTML = _, k.appendChild(f);
4618
- }, Fe = () => {
4619
- r(12, V = !0);
4620
- let f = new URL(T), A = document.createElement("style");
4621
- fetch(f.href).then((I) => I.text()).then((I) => {
4622
- A.innerHTML = I, setTimeout(
4560
+ }, Le = () => {
4561
+ let p = document.createElement("style");
4562
+ p.innerHTML = b, $.appendChild(p);
4563
+ }, je = () => {
4564
+ r(12, F = !0);
4565
+ let p = new URL(H), w = document.createElement("style");
4566
+ fetch(p.href).then((L) => L.text()).then((L) => {
4567
+ w.innerHTML = L, setTimeout(
4623
4568
  () => {
4624
- k.appendChild(A);
4569
+ $.appendChild(w);
4625
4570
  },
4626
4571
  1
4627
4572
  ), setTimeout(
4628
4573
  () => {
4629
- r(12, V = !1);
4574
+ r(12, F = !1);
4630
4575
  },
4631
4576
  500
4632
4577
  );
4633
4578
  });
4634
- }, ue = () => {
4635
- Bs(y);
4636
- }, le = () => ae();
4637
- function J(f) {
4638
- yt[f ? "unshift" : "push"](() => {
4639
- k = f, r(2, k);
4579
+ }, ae = () => {
4580
+ ms(v);
4581
+ }, ue = () => oe();
4582
+ function z(p) {
4583
+ mt[p ? "unshift" : "push"](() => {
4584
+ $ = p, r(2, $);
4640
4585
  });
4641
4586
  }
4642
- return e.$$set = (f) => {
4643
- "visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(15, i = f.title), "caticon0" in f && r(16, s = f.caticon0), "caticon1" in f && r(17, o = f.caticon1), "caticon2" in f && r(18, a = f.caticon2), "caticon3" in f && r(19, l = f.caticon3), "iconlabels" in f && r(20, u = f.iconlabels), "backgroundsrc" in f && r(21, h = f.backgroundsrc), "currency" in f && r(1, c = f.currency), "backgroundsrcmobile" in f && r(22, p = f.backgroundsrcmobile), "titlelogopath" in f && r(23, g = f.titlelogopath), "lang" in f && r(24, y = f.lang), "clientstyling" in f && r(25, _ = f.clientstyling), "clientstylingurl" in f && r(26, T = f.clientstylingurl), "translationurl" in f && r(27, w = f.translationurl), "endpoint" in f && r(28, E = f.endpoint), "gameid" in f && r(29, v = f.gameid);
4587
+ return e.$$set = (p) => {
4588
+ "visualstructure" in p && r(0, n = p.visualstructure), "title" in p && r(15, i = p.title), "caticon0" in p && r(16, s = p.caticon0), "caticon1" in p && r(17, o = p.caticon1), "caticon2" in p && r(18, a = p.caticon2), "caticon3" in p && r(19, l = p.caticon3), "iconlabels" in p && r(20, u = p.iconlabels), "backgroundsrc" in p && r(21, h = p.backgroundsrc), "currency" in p && r(1, c = p.currency), "backgroundsrcmobile" in p && r(22, f = p.backgroundsrcmobile), "titlelogopath" in p && r(23, y = p.titlelogopath), "lang" in p && r(24, v = p.lang), "clientstyling" in p && r(25, b = p.clientstyling), "clientstylingurl" in p && r(26, H = p.clientstylingurl), "translationurl" in p && r(27, C = p.translationurl), "endpoint" in p && r(28, T = p.endpoint), "gameid" in p && r(29, _ = p.gameid);
4644
4589
  }, e.$$.update = () => {
4645
4590
  e.$$.dirty[0] & /*endpoint*/
4646
- 268435456 && E && me(), e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4647
- 33554436 && k && _ && Oe(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4648
- 67108868 && k && T && Fe(), e.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
4649
- 1358954498 && E && y && c && q.length > 0 && ne(), e.$$.dirty[0] & /*currency, lang, isLoading*/
4650
- 16777226 && c && y && !z && be(), e.$$.dirty[0] & /*lang*/
4651
- 16777216 && y && ue(), e.$$.dirty[0] & /*translationurl*/
4652
- 134217728 && w && pe();
4591
+ 268435456 && T && de(), e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4592
+ 33554436 && $ && b && Le(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4593
+ 67108868 && $ && H && je(), e.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
4594
+ 1358954498 && T && v && c && Y.length > 0 && re(), e.$$.dirty[0] & /*currency, lang, isLoading*/
4595
+ 16777226 && c && v && !X && me(), e.$$.dirty[0] & /*lang*/
4596
+ 16777216 && v && ae(), e.$$.dirty[0] & /*translationurl*/
4597
+ 134217728 && C && fe();
4653
4598
  }, [
4654
4599
  n,
4655
4600
  c,
4656
- k,
4657
- z,
4601
+ $,
4602
+ X,
4658
4603
  M,
4659
4604
  D,
4660
- Y,
4605
+ Q,
4606
+ ie,
4607
+ he,
4608
+ Pe,
4661
4609
  se,
4662
4610
  ce,
4663
- Ce,
4611
+ F,
4612
+ ee,
4664
4613
  oe,
4665
- fe,
4666
- V,
4667
- te,
4668
- ae,
4669
4614
  i,
4670
4615
  s,
4671
4616
  o,
@@ -4673,27 +4618,27 @@ function Rs(e, t, r) {
4673
4618
  l,
4674
4619
  u,
4675
4620
  h,
4676
- p,
4677
- g,
4621
+ f,
4678
4622
  y,
4679
- _,
4680
- T,
4681
- w,
4682
- E,
4683
4623
  v,
4684
- q,
4685
- le,
4686
- J
4624
+ b,
4625
+ H,
4626
+ C,
4627
+ T,
4628
+ _,
4629
+ Y,
4630
+ ue,
4631
+ z
4687
4632
  ];
4688
4633
  }
4689
- class Us extends Hn {
4634
+ class Ts extends cn {
4690
4635
  constructor(t) {
4691
- super(), Sn(
4636
+ super(), ln(
4692
4637
  this,
4693
4638
  t,
4694
- Rs,
4695
- Ms,
4696
- vr,
4639
+ Ss,
4640
+ Es,
4641
+ cr,
4697
4642
  {
4698
4643
  visualstructure: 0,
4699
4644
  title: 15,
@@ -4713,7 +4658,7 @@ class Us extends Hn {
4713
4658
  endpoint: 28,
4714
4659
  gameid: 29
4715
4660
  },
4716
- Ps,
4661
+ bs,
4717
4662
  [-1, -1]
4718
4663
  );
4719
4664
  }
@@ -4721,106 +4666,106 @@ class Us extends Hn {
4721
4666
  return this.$$.ctx[0];
4722
4667
  }
4723
4668
  set visualstructure(t) {
4724
- this.$$set({ visualstructure: t }), O();
4669
+ this.$$set({ visualstructure: t }), I();
4725
4670
  }
4726
4671
  get title() {
4727
4672
  return this.$$.ctx[15];
4728
4673
  }
4729
4674
  set title(t) {
4730
- this.$$set({ title: t }), O();
4675
+ this.$$set({ title: t }), I();
4731
4676
  }
4732
4677
  get caticon0() {
4733
4678
  return this.$$.ctx[16];
4734
4679
  }
4735
4680
  set caticon0(t) {
4736
- this.$$set({ caticon0: t }), O();
4681
+ this.$$set({ caticon0: t }), I();
4737
4682
  }
4738
4683
  get caticon1() {
4739
4684
  return this.$$.ctx[17];
4740
4685
  }
4741
4686
  set caticon1(t) {
4742
- this.$$set({ caticon1: t }), O();
4687
+ this.$$set({ caticon1: t }), I();
4743
4688
  }
4744
4689
  get caticon2() {
4745
4690
  return this.$$.ctx[18];
4746
4691
  }
4747
4692
  set caticon2(t) {
4748
- this.$$set({ caticon2: t }), O();
4693
+ this.$$set({ caticon2: t }), I();
4749
4694
  }
4750
4695
  get caticon3() {
4751
4696
  return this.$$.ctx[19];
4752
4697
  }
4753
4698
  set caticon3(t) {
4754
- this.$$set({ caticon3: t }), O();
4699
+ this.$$set({ caticon3: t }), I();
4755
4700
  }
4756
4701
  get iconlabels() {
4757
4702
  return this.$$.ctx[20];
4758
4703
  }
4759
4704
  set iconlabels(t) {
4760
- this.$$set({ iconlabels: t }), O();
4705
+ this.$$set({ iconlabels: t }), I();
4761
4706
  }
4762
4707
  get backgroundsrc() {
4763
4708
  return this.$$.ctx[21];
4764
4709
  }
4765
4710
  set backgroundsrc(t) {
4766
- this.$$set({ backgroundsrc: t }), O();
4711
+ this.$$set({ backgroundsrc: t }), I();
4767
4712
  }
4768
4713
  get currency() {
4769
4714
  return this.$$.ctx[1];
4770
4715
  }
4771
4716
  set currency(t) {
4772
- this.$$set({ currency: t }), O();
4717
+ this.$$set({ currency: t }), I();
4773
4718
  }
4774
4719
  get backgroundsrcmobile() {
4775
4720
  return this.$$.ctx[22];
4776
4721
  }
4777
4722
  set backgroundsrcmobile(t) {
4778
- this.$$set({ backgroundsrcmobile: t }), O();
4723
+ this.$$set({ backgroundsrcmobile: t }), I();
4779
4724
  }
4780
4725
  get titlelogopath() {
4781
4726
  return this.$$.ctx[23];
4782
4727
  }
4783
4728
  set titlelogopath(t) {
4784
- this.$$set({ titlelogopath: t }), O();
4729
+ this.$$set({ titlelogopath: t }), I();
4785
4730
  }
4786
4731
  get lang() {
4787
4732
  return this.$$.ctx[24];
4788
4733
  }
4789
4734
  set lang(t) {
4790
- this.$$set({ lang: t }), O();
4735
+ this.$$set({ lang: t }), I();
4791
4736
  }
4792
4737
  get clientstyling() {
4793
4738
  return this.$$.ctx[25];
4794
4739
  }
4795
4740
  set clientstyling(t) {
4796
- this.$$set({ clientstyling: t }), O();
4741
+ this.$$set({ clientstyling: t }), I();
4797
4742
  }
4798
4743
  get clientstylingurl() {
4799
4744
  return this.$$.ctx[26];
4800
4745
  }
4801
4746
  set clientstylingurl(t) {
4802
- this.$$set({ clientstylingurl: t }), O();
4747
+ this.$$set({ clientstylingurl: t }), I();
4803
4748
  }
4804
4749
  get translationurl() {
4805
4750
  return this.$$.ctx[27];
4806
4751
  }
4807
4752
  set translationurl(t) {
4808
- this.$$set({ translationurl: t }), O();
4753
+ this.$$set({ translationurl: t }), I();
4809
4754
  }
4810
4755
  get endpoint() {
4811
4756
  return this.$$.ctx[28];
4812
4757
  }
4813
4758
  set endpoint(t) {
4814
- this.$$set({ endpoint: t }), O();
4759
+ this.$$set({ endpoint: t }), I();
4815
4760
  }
4816
4761
  get gameid() {
4817
4762
  return this.$$.ctx[29];
4818
4763
  }
4819
4764
  set gameid(t) {
4820
- this.$$set({ gameid: t }), O();
4765
+ this.$$set({ gameid: t }), I();
4821
4766
  }
4822
4767
  }
4823
- Tn(Us, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
4768
+ hn(Ts, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
4824
4769
  export {
4825
- Us as default
4770
+ Ts as C
4826
4771
  };