@everymatrix/casino-tournaments-thumbnail-games 0.1.1 → 0.2.1

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.
Files changed (23) hide show
  1. package/components/{CasinoTournamentsThumbnailGames-D43E19h7.js → CasinoTournamentsThumbnailGames-5E9pnyA4.js} +966 -940
  2. package/components/{CasinoTournamentsThumbnailGames-DFFae1JH.js → CasinoTournamentsThumbnailGames-BoNXtTGv.js} +895 -870
  3. package/components/CasinoTournamentsThumbnailGames-f1oC-a5z.cjs +18 -0
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  9. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  10. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  11. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
  12. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
  13. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  17. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  18. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  19. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
  20. package/components/CasinoTournamentsThumbnailGames-CnRVIK-8.cjs +0 -18
  21. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  22. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  23. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
@@ -1,17 +1,17 @@
1
- var xr = Object.defineProperty, Sr = Object.defineProperties;
1
+ var Er = Object.defineProperty, xr = Object.defineProperties;
2
2
  var Tr = Object.getOwnPropertyDescriptors;
3
- var at = Object.getOwnPropertySymbols;
4
- var wr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
- var Ae = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- wr.call(t, r) && Ae(e, r, t[r]);
8
- if (at)
9
- for (var r of at(t))
10
- Hr.call(t, r) && Ae(e, r, t[r]);
7
+ Sr.call(t, r) && Ae(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ wr.call(t, r) && Ae(e, r, t[r]);
11
11
  return e;
12
- }, ht = (e, t) => Sr(e, Tr(t));
13
- var N = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var lt = (e, t, r) => new Promise((n, i) => {
12
+ }, at = (e, t) => xr(e, Tr(t));
13
+ var I = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ut = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -27,32 +27,32 @@ var lt = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-C7s6Uvn5.js";
30
+ import "../stencil/ui-image-CX3MBBZL.js";
31
31
  function C() {
32
32
  }
33
- function jt(e) {
33
+ function Ut(e) {
34
34
  return e();
35
35
  }
36
- function ct() {
36
+ function ht() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function oe(e) {
40
- e.forEach(jt);
39
+ function he(e) {
40
+ e.forEach(Ut);
41
41
  }
42
- function Ee(e) {
42
+ function xe(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function kt(e, t) {
45
+ function Dt(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- let he;
49
- function ft(e, t) {
50
- return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
48
+ let ce;
49
+ function lt(e, t) {
50
+ return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
51
51
  }
52
- function Br(e) {
52
+ function Hr(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function Vt(e, ...t) {
55
+ function Ft(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -61,20 +61,20 @@ function Vt(e, ...t) {
61
61
  const r = e.subscribe(...t);
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
- function Ar(e, t, r) {
65
- e.$$.on_destroy.push(Vt(t, r));
64
+ function Br(e, t, r) {
65
+ e.$$.on_destroy.push(Ft(t, r));
66
66
  }
67
- function H(e, t) {
67
+ function A(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
- function Pr(e, t, r) {
71
- const n = Or(e);
70
+ function Ar(e, t, r) {
71
+ const n = Pr(e);
72
72
  if (!n.getElementById(t)) {
73
73
  const i = O("style");
74
- i.id = t, i.textContent = r, Ir(n, i);
74
+ i.id = t, i.textContent = r, Or(n, i);
75
75
  }
76
76
  }
77
- function Or(e) {
77
+ function Pr(e) {
78
78
  if (!e)
79
79
  return document;
80
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,46 +84,49 @@ function Or(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function Ir(e, t) {
88
- return H(
87
+ function Or(e, t) {
88
+ return A(
89
89
  /** @type {Document} */
90
90
  e.head || e,
91
91
  t
92
92
  ), t.sheet;
93
93
  }
94
- function se(e, t, r) {
94
+ function F(e, t, r) {
95
95
  e.insertBefore(t, r || null);
96
96
  }
97
- function Q(e) {
97
+ function U(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function pt(e, t) {
100
+ function jt(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
104
104
  function O(e) {
105
105
  return document.createElement(e);
106
106
  }
107
- function ge(e) {
107
+ function Z(e) {
108
108
  return document.createTextNode(e);
109
109
  }
110
- function te() {
111
- return ge(" ");
110
+ function oe() {
111
+ return Z(" ");
112
+ }
113
+ function Ir() {
114
+ return Z("");
112
115
  }
113
116
  function Nr(e, t, r, n) {
114
117
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
115
118
  }
116
- function w(e, t, r) {
119
+ function B(e, t, r) {
117
120
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
118
121
  }
119
- function T(e, t, r) {
122
+ function H(e, t, r) {
120
123
  const n = t.toLowerCase();
121
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : w(e, t, r);
124
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
122
125
  }
123
126
  function Lr(e) {
124
127
  return Array.from(e.childNodes);
125
128
  }
126
- function Re(e, t) {
129
+ function ve(e, t) {
127
130
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
131
  t);
129
132
  }
@@ -136,90 +139,90 @@ function Cr(e) {
136
139
  }
137
140
  ), t;
138
141
  }
139
- let re;
140
- function ee(e) {
141
- re = e;
142
+ let se;
143
+ function ie(e) {
144
+ se = e;
142
145
  }
143
146
  function Mr() {
144
- if (!re)
147
+ if (!se)
145
148
  throw new Error("Function called outside component initialization");
146
- return re;
149
+ return se;
147
150
  }
148
151
  function $r(e) {
149
152
  Mr().$$.on_mount.push(e);
150
153
  }
151
- const k = [], Ge = [];
152
- let V = [];
153
- const mt = [], Rr = /* @__PURE__ */ Promise.resolve();
154
- let Ue = !1;
154
+ const X = [], Re = [];
155
+ let W = [];
156
+ const ct = [], Rr = /* @__PURE__ */ Promise.resolve();
157
+ let Ge = !1;
155
158
  function Gr() {
156
- Ue || (Ue = !0, Rr.then(U));
159
+ Ge || (Ge = !0, Rr.then(D));
157
160
  }
158
- function De(e) {
159
- V.push(e);
161
+ function Ue(e) {
162
+ W.push(e);
160
163
  }
161
164
  const Pe = /* @__PURE__ */ new Set();
162
- let F = 0;
163
- function U() {
164
- if (F !== 0)
165
+ let k = 0;
166
+ function D() {
167
+ if (k !== 0)
165
168
  return;
166
- const e = re;
169
+ const e = se;
167
170
  do {
168
171
  try {
169
- for (; F < k.length; ) {
170
- const t = k[F];
171
- F++, ee(t), Ur(t.$$);
172
+ for (; k < X.length; ) {
173
+ const t = X[k];
174
+ k++, ie(t), Ur(t.$$);
172
175
  }
173
176
  } catch (t) {
174
- throw k.length = 0, F = 0, t;
177
+ throw X.length = 0, k = 0, t;
175
178
  }
176
- for (ee(null), k.length = 0, F = 0; Ge.length; )
177
- Ge.pop()();
178
- for (let t = 0; t < V.length; t += 1) {
179
- const r = V[t];
179
+ for (ie(null), X.length = 0, k = 0; Re.length; )
180
+ Re.pop()();
181
+ for (let t = 0; t < W.length; t += 1) {
182
+ const r = W[t];
180
183
  Pe.has(r) || (Pe.add(r), r());
181
184
  }
182
- V.length = 0;
183
- } while (k.length);
184
- for (; mt.length; )
185
- mt.pop()();
186
- Ue = !1, Pe.clear(), ee(e);
185
+ W.length = 0;
186
+ } while (X.length);
187
+ for (; ct.length; )
188
+ ct.pop()();
189
+ Ge = !1, Pe.clear(), ie(e);
187
190
  }
188
191
  function Ur(e) {
189
192
  if (e.fragment !== null) {
190
- e.update(), oe(e.before_update);
193
+ e.update(), he(e.before_update);
191
194
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
193
196
  }
194
197
  }
195
198
  function Dr(e) {
196
199
  const t = [], r = [];
197
- V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
200
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
198
201
  }
199
202
  const Fr = /* @__PURE__ */ new Set();
200
203
  function jr(e, t) {
201
204
  e && e.i && (Fr.delete(e), e.i(t));
202
205
  }
203
- function le(e) {
206
+ function ye(e) {
204
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
208
  }
206
209
  function kr(e, t, r) {
207
210
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), De(() => {
209
- const o = e.$$.on_mount.map(jt).filter(Ee);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
211
- }), i.forEach(De);
211
+ n && n.m(t, r), Ue(() => {
212
+ const o = e.$$.on_mount.map(Ut).filter(xe);
213
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
214
+ }), i.forEach(Ue);
212
215
  }
213
216
  function Vr(e, t) {
214
217
  const r = e.$$;
215
- r.fragment !== null && (Dr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (Dr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
219
  }
217
220
  function Xr(e, t) {
218
- e.$$.dirty[0] === -1 && (k.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
+ e.$$.dirty[0] === -1 && (X.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
222
  }
220
223
  function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
221
- const u = re;
222
- ee(e);
224
+ const u = se;
225
+ ie(e);
223
226
  const h = e.$$ = {
224
227
  fragment: null,
225
228
  ctx: [],
@@ -227,7 +230,7 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
227
230
  props: o,
228
231
  update: C,
229
232
  not_equal: i,
230
- bound: ct(),
233
+ bound: ht(),
231
234
  // lifecycle
232
235
  on_mount: [],
233
236
  on_destroy: [],
@@ -236,48 +239,48 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
236
239
  after_update: [],
237
240
  context: new Map(t.context || (u ? u.$$.context : [])),
238
241
  // everything else
239
- callbacks: ct(),
242
+ callbacks: ht(),
240
243
  dirty: a,
241
244
  skip_bound: !1,
242
245
  root: t.target || u.$$.root
243
246
  };
244
247
  s && s(h.root);
245
248
  let l = !1;
246
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
247
- const d = m.length ? m[0] : f;
248
- return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && Xr(e, c)), f;
249
- }) : [], h.update(), l = !0, oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
249
+ if (h.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
250
+ const p = d.length ? d[0] : f;
251
+ return h.ctx && i(h.ctx[c], h.ctx[c] = p) && (!h.skip_bound && h.bound[c] && h.bound[c](p), l && Xr(e, c)), f;
252
+ }) : [], h.update(), l = !0, he(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
250
253
  if (t.hydrate) {
251
254
  const c = Lr(t.target);
252
- h.fragment && h.fragment.l(c), c.forEach(Q);
255
+ h.fragment && h.fragment.l(c), c.forEach(U);
253
256
  } else
254
257
  h.fragment && h.fragment.c();
255
- t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), U();
258
+ t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), D();
256
259
  }
257
- ee(u);
260
+ ie(u);
258
261
  }
259
- let Xt;
260
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
262
+ let kt;
263
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
261
264
  constructor(t, r, n) {
262
265
  super();
263
266
  /** The Svelte component constructor */
264
- N(this, "$$ctor");
267
+ I(this, "$$ctor");
265
268
  /** Slots */
266
- N(this, "$$s");
269
+ I(this, "$$s");
267
270
  /** The Svelte component instance */
268
- N(this, "$$c");
271
+ I(this, "$$c");
269
272
  /** Whether or not the custom element is connected */
270
- N(this, "$$cn", !1);
273
+ I(this, "$$cn", !1);
271
274
  /** Component props data */
272
- N(this, "$$d", {});
275
+ I(this, "$$d", {});
273
276
  /** `true` if currently in the process of reflecting component props back to attributes */
274
- N(this, "$$r", !1);
277
+ I(this, "$$r", !1);
275
278
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
276
- N(this, "$$p_d", {});
279
+ I(this, "$$p_d", {});
277
280
  /** @type {Record<string, Function[]>} Event listeners */
278
- N(this, "$$l", {});
281
+ I(this, "$$l", {});
279
282
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
280
- N(this, "$$l_u", /* @__PURE__ */ new Map());
283
+ I(this, "$$l_u", /* @__PURE__ */ new Map());
281
284
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
282
285
  }
283
286
  addEventListener(t, r, n) {
@@ -294,24 +297,24 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
294
297
  }
295
298
  }
296
299
  connectedCallback() {
297
- return lt(this, null, function* () {
300
+ return ut(this, null, function* () {
298
301
  if (this.$$cn = !0, !this.$$c) {
299
302
  let t = function(o) {
300
303
  return () => {
301
304
  let s;
302
305
  return {
303
306
  c: function() {
304
- s = O("slot"), o !== "default" && w(s, "name", o);
307
+ s = O("slot"), o !== "default" && B(s, "name", o);
305
308
  },
306
309
  /**
307
310
  * @param {HTMLElement} target
308
311
  * @param {HTMLElement} [anchor]
309
312
  */
310
313
  m: function(h, l) {
311
- se(h, s, l);
314
+ F(h, s, l);
312
315
  },
313
316
  d: function(h) {
314
- h && Q(s);
317
+ h && U(s);
315
318
  }
316
319
  };
317
320
  };
@@ -323,13 +326,13 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
323
326
  o in n && (r[o] = [t(o)]);
324
327
  for (const o of this.attributes) {
325
328
  const s = this.$$g_p(o.name);
326
- s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
329
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
327
330
  }
328
331
  for (const o in this.$$p_d)
329
332
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
330
333
  this.$$c = new this.$$ctor({
331
334
  target: this.shadowRoot || this,
332
- props: ht(ut({}, this.$$d), {
335
+ props: at(st({}, this.$$d), {
333
336
  $$slots: r,
334
337
  $$scope: {
335
338
  ctx: []
@@ -340,7 +343,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
340
343
  this.$$r = !0;
341
344
  for (const o in this.$$p_d)
342
345
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
343
- const s = pe(
346
+ const s = me(
344
347
  o,
345
348
  this.$$d[o],
346
349
  this.$$p_d,
@@ -364,7 +367,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
364
367
  // and setting attributes through setAttribute etc, this is helpful
365
368
  attributeChangedCallback(t, r, n) {
366
369
  var i;
367
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
370
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
368
371
  }
369
372
  disconnectedCallback() {
370
373
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -377,7 +380,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
377
380
  ) || t;
378
381
  }
379
382
  });
380
- function pe(e, t, r, n) {
383
+ function me(e, t, r, n) {
381
384
  var o;
382
385
  const i = (o = r[e]) == null ? void 0 : o.type;
383
386
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -408,7 +411,7 @@ function pe(e, t, r, n) {
408
411
  }
409
412
  }
410
413
  function zr(e, t, r, n, i, o) {
411
- let s = class extends Xt {
414
+ let s = class extends kt {
412
415
  constructor() {
413
416
  super(e, r, i), this.$$p_d = t;
414
417
  }
@@ -425,7 +428,7 @@ function zr(e, t, r, n, i, o) {
425
428
  },
426
429
  set(u) {
427
430
  var h;
428
- u = pe(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
431
+ u = me(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
429
432
  }
430
433
  });
431
434
  }), n.forEach((a) => {
@@ -447,7 +450,7 @@ class Zr {
447
450
  *
448
451
  * @type {any}
449
452
  */
450
- N(this, "$$");
453
+ I(this, "$$");
451
454
  /**
452
455
  * ### PRIVATE API
453
456
  *
@@ -455,7 +458,7 @@ class Zr {
455
458
  *
456
459
  * @type {any}
457
460
  */
458
- N(this, "$$set");
461
+ I(this, "$$set");
459
462
  }
460
463
  /** @returns {void} */
461
464
  $destroy() {
@@ -468,7 +471,7 @@ class Zr {
468
471
  * @returns {() => void}
469
472
  */
470
473
  $on(t, r) {
471
- if (!Ee(r))
474
+ if (!xe(r))
472
475
  return C;
473
476
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
477
  return n.push(r), () => {
@@ -481,7 +484,7 @@ class Zr {
481
484
  * @returns {void}
482
485
  */
483
486
  $set(t) {
484
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
488
  }
486
489
  }
487
490
  const Qr = "4";
@@ -523,24 +526,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
523
526
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
524
527
  PERFORMANCE OF THIS SOFTWARE.
525
528
  ***************************************************************************** */
526
- var Fe = function(e, t) {
527
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
529
+ var De = function(e, t) {
530
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
528
531
  r.__proto__ = n;
529
532
  } || function(r, n) {
530
533
  for (var i in n)
531
534
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
532
- }, Fe(e, t);
535
+ }, De(e, t);
533
536
  };
534
- function ae(e, t) {
537
+ function $(e, t) {
535
538
  if (typeof t != "function" && t !== null)
536
539
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
537
- Fe(e, t);
540
+ De(e, t);
538
541
  function r() {
539
542
  this.constructor = e;
540
543
  }
541
544
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
542
545
  }
543
- function je(e) {
546
+ var _ = function() {
547
+ return _ = Object.assign || function(t) {
548
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
549
+ r = arguments[n];
550
+ for (var o in r)
551
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
552
+ }
553
+ return t;
554
+ }, _.apply(this, arguments);
555
+ };
556
+ function Kr(e, t) {
557
+ var r = {};
558
+ for (var n in e)
559
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
560
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
561
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
562
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
563
+ return r;
564
+ }
565
+ function Fe(e) {
544
566
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
545
567
  if (r)
546
568
  return r.call(e);
@@ -552,7 +574,7 @@ function je(e) {
552
574
  };
553
575
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
554
576
  }
555
- function ke(e, t) {
577
+ function je(e, t) {
556
578
  var r = typeof Symbol == "function" && e[Symbol.iterator];
557
579
  if (!r)
558
580
  return e;
@@ -572,22 +594,22 @@ function ke(e, t) {
572
594
  }
573
595
  return o;
574
596
  }
575
- function Ve(e, t, r) {
576
- if (arguments.length === 2)
597
+ function z(e, t, r) {
598
+ if (r || arguments.length === 2)
577
599
  for (var n = 0, i = t.length, o; n < i; n++)
578
600
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
579
601
  return e.concat(o || t);
580
602
  }
581
- function $(e) {
603
+ function M(e) {
582
604
  return typeof e == "function";
583
605
  }
584
- function Wt(e) {
606
+ function Vt(e) {
585
607
  var t = function(n) {
586
608
  Error.call(n), n.stack = new Error().stack;
587
609
  }, r = e(t);
588
610
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
611
  }
590
- var Oe = Wt(function(e) {
612
+ var Oe = Vt(function(e) {
591
613
  return function(r) {
592
614
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
615
  ` + r.map(function(n, i) {
@@ -596,13 +618,13 @@ var Oe = Wt(function(e) {
596
618
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
619
  };
598
620
  });
599
- function Xe(e, t) {
621
+ function ke(e, t) {
600
622
  if (e) {
601
623
  var r = e.indexOf(t);
602
624
  0 <= r && e.splice(r, 1);
603
625
  }
604
626
  }
605
- var xe = function() {
627
+ var Te = function() {
606
628
  function e(t) {
607
629
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
608
630
  }
@@ -614,12 +636,12 @@ var xe = function() {
614
636
  if (s)
615
637
  if (this._parentage = null, Array.isArray(s))
616
638
  try {
617
- for (var a = je(s), u = a.next(); !u.done; u = a.next()) {
639
+ for (var a = Fe(s), u = a.next(); !u.done; u = a.next()) {
618
640
  var h = u.value;
619
641
  h.remove(this);
620
642
  }
621
- } catch (b) {
622
- t = { error: b };
643
+ } catch (g) {
644
+ t = { error: g };
623
645
  } finally {
624
646
  try {
625
647
  u && !u.done && (r = a.return) && r.call(a);
@@ -631,29 +653,29 @@ var xe = function() {
631
653
  else
632
654
  s.remove(this);
633
655
  var l = this.initialTeardown;
634
- if ($(l))
656
+ if (M(l))
635
657
  try {
636
658
  l();
637
- } catch (b) {
638
- o = b instanceof Oe ? b.errors : [b];
659
+ } catch (g) {
660
+ o = g instanceof Oe ? g.errors : [g];
639
661
  }
640
662
  var c = this._finalizers;
641
663
  if (c) {
642
664
  this._finalizers = null;
643
665
  try {
644
- for (var f = je(c), m = f.next(); !m.done; m = f.next()) {
645
- var d = m.value;
666
+ for (var f = Fe(c), d = f.next(); !d.done; d = f.next()) {
667
+ var p = d.value;
646
668
  try {
647
- dt(d);
648
- } catch (b) {
649
- o = o != null ? o : [], b instanceof Oe ? o = Ve(Ve([], ke(o)), ke(b.errors)) : o.push(b);
669
+ ft(p);
670
+ } catch (g) {
671
+ o = o != null ? o : [], g instanceof Oe ? o = z(z([], je(o)), je(g.errors)) : o.push(g);
650
672
  }
651
673
  }
652
- } catch (b) {
653
- n = { error: b };
674
+ } catch (g) {
675
+ n = { error: g };
654
676
  } finally {
655
677
  try {
656
- m && !m.done && (i = f.return) && i.call(f);
678
+ d && !d.done && (i = f.return) && i.call(f);
657
679
  } finally {
658
680
  if (n)
659
681
  throw n.error;
@@ -667,7 +689,7 @@ var xe = function() {
667
689
  var r;
668
690
  if (t && t !== this)
669
691
  if (this.closed)
670
- dt(t);
692
+ ft(t);
671
693
  else {
672
694
  if (t instanceof e) {
673
695
  if (t.closed || t._hasParent(this))
@@ -684,28 +706,32 @@ var xe = function() {
684
706
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
685
707
  }, e.prototype._removeParent = function(t) {
686
708
  var r = this._parentage;
687
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
709
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
688
710
  }, e.prototype.remove = function(t) {
689
711
  var r = this._finalizers;
690
- r && Xe(r, t), t instanceof e && t._removeParent(this);
712
+ r && ke(r, t), t instanceof e && t._removeParent(this);
691
713
  }, e.EMPTY = function() {
692
714
  var t = new e();
693
715
  return t.closed = !0, t;
694
716
  }(), e;
695
- }(), zt = xe.EMPTY;
696
- function Zt(e) {
697
- return e instanceof xe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
717
+ }(), Xt = Te.EMPTY;
718
+ function Wt(e) {
719
+ return e instanceof Te || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
698
720
  }
699
- function dt(e) {
700
- $(e) ? e() : e.unsubscribe();
721
+ function ft(e) {
722
+ M(e) ? e() : e.unsubscribe();
701
723
  }
702
- var Kr = {
703
- Promise: void 0
724
+ var zt = {
725
+ onUnhandledError: null,
726
+ onStoppedNotification: null,
727
+ Promise: void 0,
728
+ useDeprecatedSynchronousErrorHandling: !1,
729
+ useDeprecatedNextContext: !1
704
730
  }, en = {
705
731
  setTimeout: function(e, t) {
706
732
  for (var r = [], n = 2; n < arguments.length; n++)
707
733
  r[n - 2] = arguments[n];
708
- return setTimeout.apply(void 0, Ve([e, t], ke(r)));
734
+ return setTimeout.apply(void 0, z([e, t], je(r)));
709
735
  },
710
736
  clearTimeout: function(e) {
711
737
  return clearTimeout(e);
@@ -717,19 +743,19 @@ function tn(e) {
717
743
  throw e;
718
744
  });
719
745
  }
720
- function bt() {
746
+ function pt() {
721
747
  }
722
- function me(e) {
748
+ function de(e) {
723
749
  e();
724
750
  }
725
- var Qt = function(e) {
726
- ae(t, e);
751
+ var Zt = function(e) {
752
+ $(t, e);
727
753
  function t(r) {
728
754
  var n = e.call(this) || this;
729
- return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = on, n;
755
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = sn, n;
730
756
  }
731
757
  return t.create = function(r, n, i) {
732
- return new We(r, n, i);
758
+ return new Ve(r, n, i);
733
759
  }, t.prototype.next = function(r) {
734
760
  this.isStopped || this._next(r);
735
761
  }, t.prototype.error = function(r) {
@@ -753,7 +779,11 @@ var Qt = function(e) {
753
779
  this.unsubscribe();
754
780
  }
755
781
  }, t;
756
- }(xe), rn = function() {
782
+ }(Te), rn = Function.prototype.bind;
783
+ function Ie(e, t) {
784
+ return rn.call(e, t);
785
+ }
786
+ var nn = function() {
757
787
  function e(t) {
758
788
  this.partialObserver = t;
759
789
  }
@@ -763,7 +793,7 @@ var Qt = function(e) {
763
793
  try {
764
794
  r.next(t);
765
795
  } catch (n) {
766
- ce(n);
796
+ fe(n);
767
797
  }
768
798
  }, e.prototype.error = function(t) {
769
799
  var r = this.partialObserver;
@@ -771,56 +801,68 @@ var Qt = function(e) {
771
801
  try {
772
802
  r.error(t);
773
803
  } catch (n) {
774
- ce(n);
804
+ fe(n);
775
805
  }
776
806
  else
777
- ce(t);
807
+ fe(t);
778
808
  }, e.prototype.complete = function() {
779
809
  var t = this.partialObserver;
780
810
  if (t.complete)
781
811
  try {
782
812
  t.complete();
783
813
  } catch (r) {
784
- ce(r);
814
+ fe(r);
785
815
  }
786
816
  }, e;
787
- }(), We = function(e) {
788
- ae(t, e);
817
+ }(), Ve = function(e) {
818
+ $(t, e);
789
819
  function t(r, n, i) {
790
820
  var o = e.call(this) || this, s;
791
- return $(r) || !r ? s = {
792
- next: r != null ? r : void 0,
793
- error: n != null ? n : void 0,
794
- complete: i != null ? i : void 0
795
- } : s = r, o.destination = new rn(s), o;
821
+ if (M(r) || !r)
822
+ s = {
823
+ next: r != null ? r : void 0,
824
+ error: n != null ? n : void 0,
825
+ complete: i != null ? i : void 0
826
+ };
827
+ else {
828
+ var a;
829
+ o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
830
+ return o.unsubscribe();
831
+ }, s = {
832
+ next: r.next && Ie(r.next, a),
833
+ error: r.error && Ie(r.error, a),
834
+ complete: r.complete && Ie(r.complete, a)
835
+ }) : s = r;
836
+ }
837
+ return o.destination = new nn(s), o;
796
838
  }
797
839
  return t;
798
- }(Qt);
799
- function ce(e) {
840
+ }(Zt);
841
+ function fe(e) {
800
842
  tn(e);
801
843
  }
802
- function nn(e) {
844
+ function on(e) {
803
845
  throw e;
804
846
  }
805
- var on = {
847
+ var sn = {
806
848
  closed: !0,
807
- next: bt,
808
- error: nn,
809
- complete: bt
810
- }, sn = function() {
849
+ next: pt,
850
+ error: on,
851
+ complete: pt
852
+ }, an = function() {
811
853
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
812
854
  }();
813
- function an(e) {
855
+ function un(e) {
814
856
  return e;
815
857
  }
816
- function un(e) {
817
- return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
858
+ function hn(e) {
859
+ return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
818
860
  return e.reduce(function(n, i) {
819
861
  return i(n);
820
862
  }, r);
821
863
  };
822
864
  }
823
- var gt = function() {
865
+ var mt = function() {
824
866
  function e(t) {
825
867
  t && (this._subscribe = t);
826
868
  }
@@ -828,8 +870,8 @@ var gt = function() {
828
870
  var r = new e();
829
871
  return r.source = this, r.operator = t, r;
830
872
  }, e.prototype.subscribe = function(t, r, n) {
831
- var i = this, o = ln(t) ? t : new We(t, r, n);
832
- return me(function() {
873
+ var i = this, o = cn(t) ? t : new Ve(t, r, n);
874
+ return de(function() {
833
875
  var s = i, a = s.operator, u = s.source;
834
876
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
835
877
  }), o;
@@ -841,8 +883,8 @@ var gt = function() {
841
883
  }
842
884
  }, e.prototype.forEach = function(t, r) {
843
885
  var n = this;
844
- return r = yt(r), new r(function(i, o) {
845
- var s = new We({
886
+ return r = dt(r), new r(function(i, o) {
887
+ var s = new Ve({
846
888
  next: function(a) {
847
889
  try {
848
890
  t(a);
@@ -858,15 +900,15 @@ var gt = function() {
858
900
  }, e.prototype._subscribe = function(t) {
859
901
  var r;
860
902
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
861
- }, e.prototype[sn] = function() {
903
+ }, e.prototype[an] = function() {
862
904
  return this;
863
905
  }, e.prototype.pipe = function() {
864
906
  for (var t = [], r = 0; r < arguments.length; r++)
865
907
  t[r] = arguments[r];
866
- return un(t)(this);
908
+ return hn(t)(this);
867
909
  }, e.prototype.toPromise = function(t) {
868
910
  var r = this;
869
- return t = yt(t), new t(function(n, i) {
911
+ return t = dt(t), new t(function(n, i) {
870
912
  var o;
871
913
  r.subscribe(function(s) {
872
914
  return o = s;
@@ -880,40 +922,40 @@ var gt = function() {
880
922
  return new e(t);
881
923
  }, e;
882
924
  }();
883
- function yt(e) {
925
+ function dt(e) {
884
926
  var t;
885
- return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
886
- }
887
- function hn(e) {
888
- return e && $(e.next) && $(e.error) && $(e.complete);
927
+ return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
889
928
  }
890
929
  function ln(e) {
891
- return e && e instanceof Qt || hn(e) && Zt(e);
930
+ return e && M(e.next) && M(e.error) && M(e.complete);
931
+ }
932
+ function cn(e) {
933
+ return e && e instanceof Zt || ln(e) && Wt(e);
892
934
  }
893
- var cn = Wt(function(e) {
935
+ var fn = Vt(function(e) {
894
936
  return function() {
895
937
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
896
938
  };
897
- }), Jt = function(e) {
898
- ae(t, e);
939
+ }), Qt = function(e) {
940
+ $(t, e);
899
941
  function t() {
900
942
  var r = e.call(this) || this;
901
943
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
902
944
  }
903
945
  return t.prototype.lift = function(r) {
904
- var n = new vt(this, this);
946
+ var n = new bt(this, this);
905
947
  return n.operator = r, n;
906
948
  }, t.prototype._throwIfClosed = function() {
907
949
  if (this.closed)
908
- throw new cn();
950
+ throw new fn();
909
951
  }, t.prototype.next = function(r) {
910
952
  var n = this;
911
- me(function() {
953
+ de(function() {
912
954
  var i, o;
913
955
  if (n._throwIfClosed(), !n.isStopped) {
914
956
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
915
957
  try {
916
- for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
958
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
917
959
  var u = a.value;
918
960
  u.next(r);
919
961
  }
@@ -931,7 +973,7 @@ var cn = Wt(function(e) {
931
973
  });
932
974
  }, t.prototype.error = function(r) {
933
975
  var n = this;
934
- me(function() {
976
+ de(function() {
935
977
  if (n._throwIfClosed(), !n.isStopped) {
936
978
  n.hasError = n.isStopped = !0, n.thrownError = r;
937
979
  for (var i = n.observers; i.length; )
@@ -940,7 +982,7 @@ var cn = Wt(function(e) {
940
982
  });
941
983
  }, t.prototype.complete = function() {
942
984
  var r = this;
943
- me(function() {
985
+ de(function() {
944
986
  if (r._throwIfClosed(), !r.isStopped) {
945
987
  r.isStopped = !0;
946
988
  for (var n = r.observers; n.length; )
@@ -962,20 +1004,20 @@ var cn = Wt(function(e) {
962
1004
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
963
1005
  }, t.prototype._innerSubscribe = function(r) {
964
1006
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
965
- return o || s ? zt : (this.currentObservers = null, a.push(r), new xe(function() {
966
- n.currentObservers = null, Xe(a, r);
1007
+ return o || s ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
1008
+ n.currentObservers = null, ke(a, r);
967
1009
  }));
968
1010
  }, t.prototype._checkFinalizedStatuses = function(r) {
969
1011
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
970
1012
  i ? r.error(o) : s && r.complete();
971
1013
  }, t.prototype.asObservable = function() {
972
- var r = new gt();
1014
+ var r = new mt();
973
1015
  return r.source = this, r;
974
1016
  }, t.create = function(r, n) {
975
- return new vt(r, n);
1017
+ return new bt(r, n);
976
1018
  }, t;
977
- }(gt), vt = function(e) {
978
- ae(t, e);
1019
+ }(mt), bt = function(e) {
1020
+ $(t, e);
979
1021
  function t(r, n) {
980
1022
  var i = e.call(this) || this;
981
1023
  return i.destination = r, i.source = n, i;
@@ -991,17 +1033,17 @@ var cn = Wt(function(e) {
991
1033
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
992
1034
  }, t.prototype._subscribe = function(r) {
993
1035
  var n, i;
994
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1036
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
995
1037
  }, t;
996
- }(Jt), qt = {
1038
+ }(Qt), Jt = {
997
1039
  now: function() {
998
- return (qt.delegate || Date).now();
1040
+ return (Jt.delegate || Date).now();
999
1041
  },
1000
1042
  delegate: void 0
1001
- }, fn = function(e) {
1002
- ae(t, e);
1043
+ }, pn = function(e) {
1044
+ $(t, e);
1003
1045
  function t(r, n, i) {
1004
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
1046
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1005
1047
  var o = e.call(this) || this;
1006
1048
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1007
1049
  }
@@ -1021,15 +1063,15 @@ var cn = Wt(function(e) {
1021
1063
  h && o.splice(0, h + 1);
1022
1064
  }
1023
1065
  }, t;
1024
- }(Jt);
1025
- const _t = [], Et = {}, pn = (e, t = 0) => {
1026
- if (_t.indexOf(e) == -1) {
1027
- const r = new fn(t);
1028
- Et[e] = r, _t.push(e);
1066
+ }(Qt);
1067
+ const gt = [], vt = {}, mn = (e, t = 0) => {
1068
+ if (gt.indexOf(e) == -1) {
1069
+ const r = new pn(t);
1070
+ vt[e] = r, gt.push(e);
1029
1071
  }
1030
- return Et[e];
1031
- }, j = [];
1032
- function mn(e, t) {
1072
+ return vt[e];
1073
+ }, V = [];
1074
+ function dn(e, t) {
1033
1075
  return {
1034
1076
  subscribe: Se(e, t).subscribe
1035
1077
  };
@@ -1038,14 +1080,14 @@ function Se(e, t = C) {
1038
1080
  let r;
1039
1081
  const n = /* @__PURE__ */ new Set();
1040
1082
  function i(a) {
1041
- if (kt(e, a) && (e = a, r)) {
1042
- const u = !j.length;
1083
+ if (Dt(e, a) && (e = a, r)) {
1084
+ const u = !V.length;
1043
1085
  for (const h of n)
1044
- h[1](), j.push(h, e);
1086
+ h[1](), V.push(h, e);
1045
1087
  if (u) {
1046
- for (let h = 0; h < j.length; h += 2)
1047
- j[h][0](j[h + 1]);
1048
- j.length = 0;
1088
+ for (let h = 0; h < V.length; h += 2)
1089
+ V[h][0](V[h + 1]);
1090
+ V.length = 0;
1049
1091
  }
1050
1092
  }
1051
1093
  }
@@ -1060,12 +1102,12 @@ function Se(e, t = C) {
1060
1102
  }
1061
1103
  return { set: i, update: o, subscribe: s };
1062
1104
  }
1063
- function J(e, t, r) {
1105
+ function K(e, t, r) {
1064
1106
  const n = !Array.isArray(e), i = n ? [e] : e;
1065
1107
  if (!i.every(Boolean))
1066
1108
  throw new Error("derived() expects stores as input, got a falsy value");
1067
1109
  const o = t.length < 2;
1068
- return mn(r, (s, a) => {
1110
+ return dn(r, (s, a) => {
1069
1111
  let u = !1;
1070
1112
  const h = [];
1071
1113
  let l = 0, c = C;
@@ -1073,142 +1115,100 @@ function J(e, t, r) {
1073
1115
  if (l)
1074
1116
  return;
1075
1117
  c();
1076
- const d = t(n ? h[0] : h, s, a);
1077
- o ? s(d) : c = Ee(d) ? d : C;
1078
- }, m = i.map(
1079
- (d, b) => Vt(
1080
- d,
1081
- (P) => {
1082
- h[b] = P, l &= ~(1 << b), u && f();
1118
+ const p = t(n ? h[0] : h, s, a);
1119
+ o ? s(p) : c = xe(p) ? p : C;
1120
+ }, d = i.map(
1121
+ (p, g) => Ft(
1122
+ p,
1123
+ (E) => {
1124
+ h[g] = E, l &= ~(1 << g), u && f();
1083
1125
  },
1084
1126
  () => {
1085
- l |= 1 << b;
1127
+ l |= 1 << g;
1086
1128
  }
1087
1129
  )
1088
1130
  );
1089
1131
  return u = !0, f(), function() {
1090
- oe(m), c(), u = !1;
1132
+ he(d), c(), u = !1;
1091
1133
  };
1092
1134
  });
1093
1135
  }
1094
- function dn(e) {
1136
+ function bn(e) {
1095
1137
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1096
1138
  }
1097
- var bn = function(t) {
1098
- return gn(t) && !yn(t);
1139
+ var gn = function(t) {
1140
+ return vn(t) && !yn(t);
1099
1141
  };
1100
- function gn(e) {
1142
+ function vn(e) {
1101
1143
  return !!e && typeof e == "object";
1102
1144
  }
1103
1145
  function yn(e) {
1104
1146
  var t = Object.prototype.toString.call(e);
1105
- return t === "[object RegExp]" || t === "[object Date]" || En(e);
1106
- }
1107
- var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
1108
- function En(e) {
1109
- return e.$$typeof === _n;
1147
+ return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1110
1148
  }
1149
+ var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1111
1150
  function xn(e) {
1151
+ return e.$$typeof === En;
1152
+ }
1153
+ function Tn(e) {
1112
1154
  return Array.isArray(e) ? [] : {};
1113
1155
  }
1114
- function ne(e, t) {
1115
- return t.clone !== !1 && t.isMergeableObject(e) ? X(xn(e), e, t) : e;
1156
+ function ae(e, t) {
1157
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Tn(e), e, t) : e;
1116
1158
  }
1117
1159
  function Sn(e, t, r) {
1118
1160
  return e.concat(t).map(function(n) {
1119
- return ne(n, r);
1161
+ return ae(n, r);
1120
1162
  });
1121
1163
  }
1122
- function Tn(e, t) {
1164
+ function wn(e, t) {
1123
1165
  if (!t.customMerge)
1124
- return X;
1166
+ return Q;
1125
1167
  var r = t.customMerge(e);
1126
- return typeof r == "function" ? r : X;
1168
+ return typeof r == "function" ? r : Q;
1127
1169
  }
1128
- function wn(e) {
1170
+ function Hn(e) {
1129
1171
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1130
1172
  return Object.propertyIsEnumerable.call(e, t);
1131
1173
  }) : [];
1132
1174
  }
1133
- function xt(e) {
1134
- return Object.keys(e).concat(wn(e));
1175
+ function yt(e) {
1176
+ return Object.keys(e).concat(Hn(e));
1135
1177
  }
1136
- function Yt(e, t) {
1178
+ function qt(e, t) {
1137
1179
  try {
1138
1180
  return t in e;
1139
1181
  } catch (r) {
1140
1182
  return !1;
1141
1183
  }
1142
1184
  }
1143
- function Hn(e, t) {
1144
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1185
+ function Bn(e, t) {
1186
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1145
1187
  }
1146
- function Bn(e, t, r) {
1188
+ function An(e, t, r) {
1147
1189
  var n = {};
1148
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1149
- n[i] = ne(e[i], r);
1150
- }), xt(t).forEach(function(i) {
1151
- Hn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1190
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1191
+ n[i] = ae(e[i], r);
1192
+ }), yt(t).forEach(function(i) {
1193
+ Bn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1152
1194
  }), n;
1153
1195
  }
1154
- function X(e, t, r) {
1155
- r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = ne;
1196
+ function Q(e, t, r) {
1197
+ r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ae;
1156
1198
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1157
- return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : ne(t, r);
1199
+ return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ae(t, r);
1158
1200
  }
1159
- X.all = function(t, r) {
1201
+ Q.all = function(t, r) {
1160
1202
  if (!Array.isArray(t))
1161
1203
  throw new Error("first argument should be an array");
1162
1204
  return t.reduce(function(n, i) {
1163
- return X(n, i, r);
1205
+ return Q(n, i, r);
1164
1206
  }, {});
1165
1207
  };
1166
- var An = X, Pn = An;
1167
- const On = /* @__PURE__ */ dn(Pn);
1168
- var ze = function(e, t) {
1169
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1170
- r.__proto__ = n;
1171
- } || function(r, n) {
1172
- for (var i in n)
1173
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1174
- }, ze(e, t);
1175
- };
1176
- function Te(e, t) {
1177
- if (typeof t != "function" && t !== null)
1178
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1179
- ze(e, t);
1180
- function r() {
1181
- this.constructor = e;
1182
- }
1183
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1184
- }
1185
- var M = function() {
1186
- return M = Object.assign || function(t) {
1187
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1188
- r = arguments[n];
1189
- for (var o in r)
1190
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1191
- }
1192
- return t;
1193
- }, M.apply(this, arguments);
1194
- };
1195
- function In(e, t) {
1196
- var r = {};
1197
- for (var n in e)
1198
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1199
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1200
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1201
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1202
- return r;
1203
- }
1204
- function Ie(e, t, r) {
1205
- if (r || arguments.length === 2)
1206
- for (var n = 0, i = t.length, o; n < i; n++)
1207
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1208
- return e.concat(o || Array.prototype.slice.call(t));
1209
- }
1208
+ var Pn = Q, On = Pn;
1209
+ const In = /* @__PURE__ */ bn(On);
1210
1210
  function Ne(e, t) {
1211
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Cn;
1211
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
1212
1212
  return i(e, {
1213
1213
  cache: r,
1214
1214
  serializer: n
@@ -1217,7 +1217,7 @@ function Ne(e, t) {
1217
1217
  function Nn(e) {
1218
1218
  return e == null || typeof e == "number" || typeof e == "boolean";
1219
1219
  }
1220
- function Ln(e, t, r, n) {
1220
+ function Yt(e, t, r, n) {
1221
1221
  var i = Nn(n) ? n : r(n), o = t.get(i);
1222
1222
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1223
1223
  }
@@ -1225,95 +1225,87 @@ function Kt(e, t, r) {
1225
1225
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1226
1226
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1227
1227
  }
1228
- function er(e, t, r, n, i) {
1228
+ function et(e, t, r, n, i) {
1229
1229
  return r.bind(t, e, n, i);
1230
1230
  }
1231
+ function Ln(e, t) {
1232
+ var r = e.length === 1 ? Yt : Kt;
1233
+ return et(e, this, r, t.cache.create(), t.serializer);
1234
+ }
1231
1235
  function Cn(e, t) {
1232
- var r = e.length === 1 ? Ln : Kt;
1233
- return er(e, this, r, t.cache.create(), t.serializer);
1236
+ return et(e, this, Kt, t.cache.create(), t.serializer);
1234
1237
  }
1235
1238
  function Mn(e, t) {
1236
- return er(e, this, Kt, t.cache.create(), t.serializer);
1239
+ return et(e, this, Yt, t.cache.create(), t.serializer);
1237
1240
  }
1238
1241
  var $n = function() {
1239
1242
  return JSON.stringify(arguments);
1240
- }, Rn = (
1241
- /** @class */
1242
- function() {
1243
- function e() {
1244
- this.cache = /* @__PURE__ */ Object.create(null);
1245
- }
1246
- return e.prototype.get = function(t) {
1247
- return this.cache[t];
1248
- }, e.prototype.set = function(t, r) {
1249
- this.cache[t] = r;
1250
- }, e;
1251
- }()
1252
- ), Gn = {
1243
+ };
1244
+ function tt() {
1245
+ this.cache = /* @__PURE__ */ Object.create(null);
1246
+ }
1247
+ tt.prototype.get = function(e) {
1248
+ return this.cache[e];
1249
+ };
1250
+ tt.prototype.set = function(e, t) {
1251
+ this.cache[e] = t;
1252
+ };
1253
+ var Rn = {
1253
1254
  create: function() {
1254
- return new Rn();
1255
+ return new tt();
1255
1256
  }
1256
1257
  }, Le = {
1257
- variadic: Mn
1258
- }, ye = function() {
1259
- return ye = Object.assign || function(t) {
1260
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1261
- r = arguments[n];
1262
- for (var o in r)
1263
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1264
- }
1265
- return t;
1266
- }, ye.apply(this, arguments);
1267
- };
1268
- var y;
1258
+ variadic: Cn,
1259
+ monadic: Mn
1260
+ }, v;
1269
1261
  (function(e) {
1270
1262
  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";
1271
- })(y || (y = {}));
1272
- var _;
1263
+ })(v || (v = {}));
1264
+ var x;
1273
1265
  (function(e) {
1274
1266
  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";
1275
- })(_ || (_ = {}));
1276
- var W;
1267
+ })(x || (x = {}));
1268
+ var J;
1277
1269
  (function(e) {
1278
1270
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1279
- })(W || (W = {}));
1280
- function St(e) {
1281
- return e.type === _.literal;
1271
+ })(J || (J = {}));
1272
+ function _t(e) {
1273
+ return e.type === x.literal;
1282
1274
  }
1283
- function Un(e) {
1284
- return e.type === _.argument;
1275
+ function Gn(e) {
1276
+ return e.type === x.argument;
1277
+ }
1278
+ function er(e) {
1279
+ return e.type === x.number;
1285
1280
  }
1286
1281
  function tr(e) {
1287
- return e.type === _.number;
1282
+ return e.type === x.date;
1288
1283
  }
1289
1284
  function rr(e) {
1290
- return e.type === _.date;
1285
+ return e.type === x.time;
1291
1286
  }
1292
1287
  function nr(e) {
1293
- return e.type === _.time;
1288
+ return e.type === x.select;
1294
1289
  }
1295
1290
  function ir(e) {
1296
- return e.type === _.select;
1291
+ return e.type === x.plural;
1297
1292
  }
1298
- function or(e) {
1299
- return e.type === _.plural;
1293
+ function Un(e) {
1294
+ return e.type === x.pound;
1300
1295
  }
1301
- function Dn(e) {
1302
- return e.type === _.pound;
1296
+ function or(e) {
1297
+ return e.type === x.tag;
1303
1298
  }
1304
1299
  function sr(e) {
1305
- return e.type === _.tag;
1306
- }
1307
- function ar(e) {
1308
- return !!(e && typeof e == "object" && e.type === W.number);
1300
+ return !!(e && typeof e == "object" && e.type === J.number);
1309
1301
  }
1310
- function Ze(e) {
1311
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1302
+ function Xe(e) {
1303
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1312
1304
  }
1313
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
1314
- function jn(e) {
1305
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
1306
+ function Fn(e) {
1315
1307
  var t = {};
1316
- return e.replace(Fn, function(r) {
1308
+ return e.replace(Dn, function(r) {
1317
1309
  var n = r.length;
1318
1310
  switch (r[0]) {
1319
1311
  case "G":
@@ -1402,21 +1394,11 @@ function jn(e) {
1402
1394
  return "";
1403
1395
  }), t;
1404
1396
  }
1405
- var x = function() {
1406
- return x = Object.assign || function(t) {
1407
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1408
- r = arguments[n];
1409
- for (var o in r)
1410
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1411
- }
1412
- return t;
1413
- }, x.apply(this, arguments);
1414
- };
1415
- var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1416
- function Vn(e) {
1397
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1398
+ function kn(e) {
1417
1399
  if (e.length === 0)
1418
1400
  throw new Error("Number skeleton cannot be empty");
1419
- for (var t = e.split(kn).filter(function(f) {
1401
+ for (var t = e.split(jn).filter(function(f) {
1420
1402
  return f.length > 0;
1421
1403
  }), r = [], n = 0, i = t; n < i.length; n++) {
1422
1404
  var o = i[n], s = o.split("/");
@@ -1431,17 +1413,17 @@ function Vn(e) {
1431
1413
  }
1432
1414
  return r;
1433
1415
  }
1434
- function Xn(e) {
1416
+ function Vn(e) {
1435
1417
  return e.replace(/^(.*?)-/, "");
1436
1418
  }
1437
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1438
- function wt(e) {
1419
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1420
+ function xt(e) {
1439
1421
  var t = {};
1440
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
1422
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1441
1423
  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)), "";
1442
1424
  }), t;
1443
1425
  }
1444
- function cr(e) {
1426
+ function lr(e) {
1445
1427
  switch (e) {
1446
1428
  case "sign-auto":
1447
1429
  return {
@@ -1481,7 +1463,7 @@ function cr(e) {
1481
1463
  };
1482
1464
  }
1483
1465
  }
1484
- function zn(e) {
1466
+ function Wn(e) {
1485
1467
  var t;
1486
1468
  if (e[0] === "E" && e[1] === "E" ? (t = {
1487
1469
  notation: "engineering"
@@ -1489,17 +1471,17 @@ function zn(e) {
1489
1471
  notation: "scientific"
1490
1472
  }, e = e.slice(1)), t) {
1491
1473
  var r = e.slice(0, 2);
1492
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1474
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1493
1475
  throw new Error("Malformed concise eng/scientific notation");
1494
1476
  t.minimumIntegerDigits = e.length;
1495
1477
  }
1496
1478
  return t;
1497
1479
  }
1498
- function Ht(e) {
1499
- var t = {}, r = cr(e);
1480
+ function Tt(e) {
1481
+ var t = {}, r = lr(e);
1500
1482
  return r || t;
1501
1483
  }
1502
- function Zn(e) {
1484
+ function zn(e) {
1503
1485
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1504
1486
  var i = n[r];
1505
1487
  switch (i.stem) {
@@ -1523,7 +1505,7 @@ function Zn(e) {
1523
1505
  continue;
1524
1506
  case "measure-unit":
1525
1507
  case "unit":
1526
- t.style = "unit", t.unit = Xn(i.options[0]);
1508
+ t.style = "unit", t.unit = Vn(i.options[0]);
1527
1509
  continue;
1528
1510
  case "compact-short":
1529
1511
  case "K":
@@ -1534,13 +1516,13 @@ function Zn(e) {
1534
1516
  t.notation = "compact", t.compactDisplay = "long";
1535
1517
  continue;
1536
1518
  case "scientific":
1537
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1538
- return x(x({}, u), Ht(h));
1519
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1520
+ return _(_({}, u), Tt(h));
1539
1521
  }, {}));
1540
1522
  continue;
1541
1523
  case "engineering":
1542
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1543
- return x(x({}, u), Ht(h));
1524
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1525
+ return _(_({}, u), Tt(h));
1544
1526
  }, {}));
1545
1527
  continue;
1546
1528
  case "notation-simple":
@@ -1585,45 +1567,45 @@ function Zn(e) {
1585
1567
  case "integer-width":
1586
1568
  if (i.options.length > 1)
1587
1569
  throw new RangeError("integer-width stems only accept a single optional option");
1588
- i.options[0].replace(Wn, function(u, h, l, c, f, m) {
1570
+ i.options[0].replace(Xn, function(u, h, l, c, f, d) {
1589
1571
  if (h)
1590
1572
  t.minimumIntegerDigits = l.length;
1591
1573
  else {
1592
1574
  if (c && f)
1593
1575
  throw new Error("We currently do not support maximum integer digits");
1594
- if (m)
1576
+ if (d)
1595
1577
  throw new Error("We currently do not support exact integer digits");
1596
1578
  }
1597
1579
  return "";
1598
1580
  });
1599
1581
  continue;
1600
1582
  }
1601
- if (lr.test(i.stem)) {
1583
+ if (hr.test(i.stem)) {
1602
1584
  t.minimumIntegerDigits = i.stem.length;
1603
1585
  continue;
1604
1586
  }
1605
- if (Tt.test(i.stem)) {
1587
+ if (Et.test(i.stem)) {
1606
1588
  if (i.options.length > 1)
1607
1589
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1608
- i.stem.replace(Tt, function(u, h, l, c, f, m) {
1609
- return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1590
+ i.stem.replace(Et, function(u, h, l, c, f, d) {
1591
+ return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1610
1592
  });
1611
1593
  var o = i.options[0];
1612
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), wt(o)));
1594
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
1613
1595
  continue;
1614
1596
  }
1615
- if (hr.test(i.stem)) {
1616
- t = x(x({}, t), wt(i.stem));
1597
+ if (ur.test(i.stem)) {
1598
+ t = _(_({}, t), xt(i.stem));
1617
1599
  continue;
1618
1600
  }
1619
- var s = cr(i.stem);
1620
- s && (t = x(x({}, t), s));
1621
- var a = zn(i.stem);
1622
- a && (t = x(x({}, t), a));
1601
+ var s = lr(i.stem);
1602
+ s && (t = _(_({}, t), s));
1603
+ var a = Wn(i.stem);
1604
+ a && (t = _(_({}, t), a));
1623
1605
  }
1624
1606
  return t;
1625
1607
  }
1626
- var fe = {
1608
+ var pe = {
1627
1609
  "001": [
1628
1610
  "H",
1629
1611
  "h"
@@ -3038,13 +3020,13 @@ var fe = {
3038
3020
  "h"
3039
3021
  ]
3040
3022
  };
3041
- function Qn(e, t) {
3023
+ function Zn(e, t) {
3042
3024
  for (var r = "", n = 0; n < e.length; n++) {
3043
3025
  var i = e.charAt(n);
3044
3026
  if (i === "j") {
3045
3027
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3046
3028
  o++, n++;
3047
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Jn(t);
3029
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Qn(t);
3048
3030
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3049
3031
  r += u;
3050
3032
  for (; s-- > 0; )
@@ -3054,7 +3036,7 @@ function Qn(e, t) {
3054
3036
  }
3055
3037
  return r;
3056
3038
  }
3057
- function Jn(e) {
3039
+ function Qn(e) {
3058
3040
  var t = e.hourCycle;
3059
3041
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3060
3042
  e.hourCycles && // @ts-ignore
@@ -3073,23 +3055,23 @@ function Jn(e) {
3073
3055
  }
3074
3056
  var r = e.language, n;
3075
3057
  r !== "root" && (n = e.maximize().region);
3076
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3058
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3077
3059
  return i[0];
3078
3060
  }
3079
- var Ce, qn = new RegExp("^".concat(ur.source, "*")), Yn = new RegExp("".concat(ur.source, "*$"));
3080
- function v(e, t) {
3061
+ var Ce, Jn = new RegExp("^".concat(ar.source, "*")), qn = new RegExp("".concat(ar.source, "*$"));
3062
+ function y(e, t) {
3081
3063
  return { start: e, end: t };
3082
3064
  }
3083
- var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, si = oi ? Number.isSafeInteger : function(e) {
3065
+ var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3084
3066
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3085
- }, Qe = !0;
3067
+ }, We = !0;
3086
3068
  try {
3087
- var ai = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3088
- Qe = ((Ce = ai.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3069
+ var si = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3070
+ We = ((Ce = si.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3089
3071
  } catch (e) {
3090
- Qe = !1;
3072
+ We = !1;
3091
3073
  }
3092
- var Bt = Kn ? (
3074
+ var St = Yn ? (
3093
3075
  // Native
3094
3076
  function(t, r, n) {
3095
3077
  return t.startsWith(r, n);
@@ -3099,7 +3081,7 @@ var Bt = Kn ? (
3099
3081
  function(t, r, n) {
3100
3082
  return t.slice(n, n + r.length) === r;
3101
3083
  }
3102
- ), Je = ei ? String.fromCodePoint : (
3084
+ ), ze = Kn ? String.fromCodePoint : (
3103
3085
  // IE11
3104
3086
  function() {
3105
3087
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3111,9 +3093,9 @@ var Bt = Kn ? (
3111
3093
  }
3112
3094
  return n;
3113
3095
  }
3114
- ), At = (
3096
+ ), wt = (
3115
3097
  // native
3116
- ti ? Object.fromEntries : (
3098
+ ei ? Object.fromEntries : (
3117
3099
  // Ponyfill
3118
3100
  function(t) {
3119
3101
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3123,7 +3105,7 @@ var Bt = Kn ? (
3123
3105
  return r;
3124
3106
  }
3125
3107
  )
3126
- ), fr = ri ? (
3108
+ ), cr = ti ? (
3127
3109
  // Native
3128
3110
  function(t, r) {
3129
3111
  return t.codePointAt(r);
@@ -3137,7 +3119,7 @@ var Bt = Kn ? (
3137
3119
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3138
3120
  }
3139
3121
  }
3140
- ), ui = ni ? (
3122
+ ), ai = ri ? (
3141
3123
  // Native
3142
3124
  function(t) {
3143
3125
  return t.trimStart();
@@ -3145,9 +3127,9 @@ var Bt = Kn ? (
3145
3127
  ) : (
3146
3128
  // Ponyfill
3147
3129
  function(t) {
3148
- return t.replace(qn, "");
3130
+ return t.replace(Jn, "");
3149
3131
  }
3150
- ), hi = ii ? (
3132
+ ), ui = ni ? (
3151
3133
  // Native
3152
3134
  function(t) {
3153
3135
  return t.trimEnd();
@@ -3155,32 +3137,32 @@ var Bt = Kn ? (
3155
3137
  ) : (
3156
3138
  // Ponyfill
3157
3139
  function(t) {
3158
- return t.replace(Yn, "");
3140
+ return t.replace(qn, "");
3159
3141
  }
3160
3142
  );
3161
- function pr(e, t) {
3143
+ function fr(e, t) {
3162
3144
  return new RegExp(e, t);
3163
3145
  }
3164
- var qe;
3165
- if (Qe) {
3166
- var Pt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3167
- qe = function(t, r) {
3146
+ var Ze;
3147
+ if (We) {
3148
+ var Ht = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3149
+ Ze = function(t, r) {
3168
3150
  var n;
3169
- Pt.lastIndex = r;
3170
- var i = Pt.exec(t);
3151
+ Ht.lastIndex = r;
3152
+ var i = Ht.exec(t);
3171
3153
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3172
3154
  };
3173
3155
  } else
3174
- qe = function(t, r) {
3156
+ Ze = function(t, r) {
3175
3157
  for (var n = []; ; ) {
3176
- var i = fr(t, r);
3177
- if (i === void 0 || mr(i) || pi(i))
3158
+ var i = cr(t, r);
3159
+ if (i === void 0 || pr(i) || fi(i))
3178
3160
  break;
3179
3161
  n.push(i), r += i >= 65536 ? 2 : 1;
3180
3162
  }
3181
- return Je.apply(void 0, n);
3163
+ return ze.apply(void 0, n);
3182
3164
  };
3183
- var li = (
3165
+ var hi = (
3184
3166
  /** @class */
3185
3167
  function() {
3186
3168
  function e(t, r) {
@@ -3204,14 +3186,14 @@ var li = (
3204
3186
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3205
3187
  var a = this.clonePosition();
3206
3188
  this.bump(), i.push({
3207
- type: _.pound,
3208
- location: v(a, this.clonePosition())
3189
+ type: x.pound,
3190
+ location: y(a, this.clonePosition())
3209
3191
  });
3210
3192
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3211
3193
  if (n)
3212
3194
  break;
3213
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3214
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3195
+ return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3196
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3215
3197
  var s = this.parseTag(t, r);
3216
3198
  if (s.err)
3217
3199
  return s;
@@ -3232,9 +3214,9 @@ var li = (
3232
3214
  if (this.bumpSpace(), this.bumpIf("/>"))
3233
3215
  return {
3234
3216
  val: {
3235
- type: _.literal,
3217
+ type: x.literal,
3236
3218
  value: "<".concat(i, "/>"),
3237
- location: v(n, this.clonePosition())
3219
+ location: y(n, this.clonePosition())
3238
3220
  },
3239
3221
  err: null
3240
3222
  };
@@ -3244,25 +3226,25 @@ var li = (
3244
3226
  return o;
3245
3227
  var s = o.val, a = this.clonePosition();
3246
3228
  if (this.bumpIf("</")) {
3247
- if (this.isEOF() || !Ye(this.char()))
3248
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3229
+ if (this.isEOF() || !Qe(this.char()))
3230
+ return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
3249
3231
  var u = this.clonePosition(), h = this.parseTagName();
3250
- return i !== h ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3232
+ return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3251
3233
  val: {
3252
- type: _.tag,
3234
+ type: x.tag,
3253
3235
  value: i,
3254
3236
  children: s,
3255
- location: v(n, this.clonePosition())
3237
+ location: y(n, this.clonePosition())
3256
3238
  },
3257
3239
  err: null
3258
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3240
+ } : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
3259
3241
  } else
3260
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3242
+ return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
3261
3243
  } else
3262
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3244
+ return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
3263
3245
  }, e.prototype.parseTagName = function() {
3264
3246
  var t = this.offset();
3265
- for (this.bump(); !this.isEOF() && fi(this.char()); )
3247
+ for (this.bump(); !this.isEOF() && ci(this.char()); )
3266
3248
  this.bump();
3267
3249
  return this.message.slice(t, this.offset());
3268
3250
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3284,14 +3266,14 @@ var li = (
3284
3266
  }
3285
3267
  break;
3286
3268
  }
3287
- var u = v(n, this.clonePosition());
3269
+ var u = y(n, this.clonePosition());
3288
3270
  return {
3289
- val: { type: _.literal, value: i, location: u },
3271
+ val: { type: x.literal, value: i, location: u },
3290
3272
  err: null
3291
3273
  };
3292
3274
  }, e.prototype.tryParseLeftAngleBracket = function() {
3293
3275
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3294
- !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3276
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3295
3277
  }, e.prototype.tryParseQuote = function(t) {
3296
3278
  if (this.isEOF() || this.char() !== 39)
3297
3279
  return null;
@@ -3325,49 +3307,49 @@ var li = (
3325
3307
  r.push(n);
3326
3308
  this.bump();
3327
3309
  }
3328
- return Je.apply(void 0, r);
3310
+ return ze.apply(void 0, r);
3329
3311
  }, e.prototype.tryParseUnquoted = function(t, r) {
3330
3312
  if (this.isEOF())
3331
3313
  return null;
3332
3314
  var n = this.char();
3333
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3315
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3334
3316
  }, e.prototype.parseArgument = function(t, r) {
3335
3317
  var n = this.clonePosition();
3336
3318
  if (this.bump(), this.bumpSpace(), this.isEOF())
3337
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3319
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3338
3320
  if (this.char() === 125)
3339
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3321
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3340
3322
  var i = this.parseIdentifierIfPossible().value;
3341
3323
  if (!i)
3342
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3324
+ return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3343
3325
  if (this.bumpSpace(), this.isEOF())
3344
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3326
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3345
3327
  switch (this.char()) {
3346
3328
  case 125:
3347
3329
  return this.bump(), {
3348
3330
  val: {
3349
- type: _.argument,
3331
+ type: x.argument,
3350
3332
  // value does not include the opening and closing braces.
3351
3333
  value: i,
3352
- location: v(n, this.clonePosition())
3334
+ location: y(n, this.clonePosition())
3353
3335
  },
3354
3336
  err: null
3355
3337
  };
3356
3338
  case 44:
3357
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3339
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3358
3340
  default:
3359
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3341
+ return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3360
3342
  }
3361
3343
  }, e.prototype.parseIdentifierIfPossible = function() {
3362
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3344
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3363
3345
  this.bumpTo(i);
3364
- var o = this.clonePosition(), s = v(t, o);
3346
+ var o = this.clonePosition(), s = y(t, o);
3365
3347
  return { value: n, location: s };
3366
3348
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3367
3349
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3368
3350
  switch (a) {
3369
3351
  case "":
3370
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, u));
3352
+ return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, u));
3371
3353
  case "number":
3372
3354
  case "date":
3373
3355
  case "time": {
@@ -3378,46 +3360,46 @@ var li = (
3378
3360
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3379
3361
  if (c.err)
3380
3362
  return c;
3381
- var f = hi(c.val);
3363
+ var f = ui(c.val);
3382
3364
  if (f.length === 0)
3383
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3384
- var m = v(l, this.clonePosition());
3385
- h = { style: f, styleLocation: m };
3365
+ return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3366
+ var d = y(l, this.clonePosition());
3367
+ h = { style: f, styleLocation: d };
3386
3368
  }
3387
- var d = this.tryParseArgumentClose(i);
3388
- if (d.err)
3389
- return d;
3390
- var b = v(i, this.clonePosition());
3391
- if (h && Bt(h == null ? void 0 : h.style, "::", 0)) {
3392
- var P = ui(h.style.slice(2));
3369
+ var p = this.tryParseArgumentClose(i);
3370
+ if (p.err)
3371
+ return p;
3372
+ var g = y(i, this.clonePosition());
3373
+ if (h && St(h == null ? void 0 : h.style, "::", 0)) {
3374
+ var E = ai(h.style.slice(2));
3393
3375
  if (a === "number") {
3394
- var c = this.parseNumberSkeletonFromString(P, h.styleLocation);
3376
+ var c = this.parseNumberSkeletonFromString(E, h.styleLocation);
3395
3377
  return c.err ? c : {
3396
- val: { type: _.number, value: n, location: b, style: c.val },
3378
+ val: { type: x.number, value: n, location: g, style: c.val },
3397
3379
  err: null
3398
3380
  };
3399
3381
  } else {
3400
- if (P.length === 0)
3401
- return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3402
- var L = P;
3403
- this.locale && (L = Qn(P, this.locale));
3382
+ if (E.length === 0)
3383
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
3384
+ var N = E;
3385
+ this.locale && (N = Zn(E, this.locale));
3404
3386
  var f = {
3405
- type: W.dateTime,
3406
- pattern: L,
3387
+ type: J.dateTime,
3388
+ pattern: N,
3407
3389
  location: h.styleLocation,
3408
- parsedOptions: this.shouldParseSkeletons ? jn(L) : {}
3409
- }, g = a === "date" ? _.date : _.time;
3390
+ parsedOptions: this.shouldParseSkeletons ? Fn(N) : {}
3391
+ }, L = a === "date" ? x.date : x.time;
3410
3392
  return {
3411
- val: { type: g, value: n, location: b, style: f },
3393
+ val: { type: L, value: n, location: g, style: f },
3412
3394
  err: null
3413
3395
  };
3414
3396
  }
3415
3397
  }
3416
3398
  return {
3417
3399
  val: {
3418
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3400
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3419
3401
  value: n,
3420
- location: b,
3402
+ location: g,
3421
3403
  style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3422
3404
  },
3423
3405
  err: null
@@ -3426,52 +3408,52 @@ var li = (
3426
3408
  case "plural":
3427
3409
  case "selectordinal":
3428
3410
  case "select": {
3429
- var E = this.clonePosition();
3411
+ var b = this.clonePosition();
3430
3412
  if (this.bumpSpace(), !this.bumpIf(","))
3431
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(E, ye({}, E)));
3413
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(b, _({}, b)));
3432
3414
  this.bumpSpace();
3433
- var S = this.parseIdentifierIfPossible(), I = 0;
3434
- if (a !== "select" && S.value === "offset") {
3415
+ var w = this.parseIdentifierIfPossible(), S = 0;
3416
+ if (a !== "select" && w.value === "offset") {
3435
3417
  if (!this.bumpIf(":"))
3436
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3418
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3437
3419
  this.bumpSpace();
3438
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3420
+ var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3439
3421
  if (c.err)
3440
3422
  return c;
3441
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), I = c.val;
3423
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), S = c.val;
3442
3424
  }
3443
- var p = this.tryParsePluralOrSelectOptions(t, a, r, S);
3425
+ var m = this.tryParsePluralOrSelectOptions(t, a, r, w);
3426
+ if (m.err)
3427
+ return m;
3428
+ var p = this.tryParseArgumentClose(i);
3444
3429
  if (p.err)
3445
3430
  return p;
3446
- var d = this.tryParseArgumentClose(i);
3447
- if (d.err)
3448
- return d;
3449
- var B = v(i, this.clonePosition());
3431
+ var T = y(i, this.clonePosition());
3450
3432
  return a === "select" ? {
3451
3433
  val: {
3452
- type: _.select,
3434
+ type: x.select,
3453
3435
  value: n,
3454
- options: At(p.val),
3455
- location: B
3436
+ options: wt(m.val),
3437
+ location: T
3456
3438
  },
3457
3439
  err: null
3458
3440
  } : {
3459
3441
  val: {
3460
- type: _.plural,
3442
+ type: x.plural,
3461
3443
  value: n,
3462
- options: At(p.val),
3463
- offset: I,
3444
+ options: wt(m.val),
3445
+ offset: S,
3464
3446
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3465
- location: B
3447
+ location: T
3466
3448
  },
3467
3449
  err: null
3468
3450
  };
3469
3451
  }
3470
3452
  default:
3471
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, u));
3453
+ return this.error(v.INVALID_ARGUMENT_TYPE, y(s, u));
3472
3454
  }
3473
3455
  }, e.prototype.tryParseArgumentClose = function(t) {
3474
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3456
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3475
3457
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3476
3458
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3477
3459
  var n = this.char();
@@ -3480,7 +3462,7 @@ var li = (
3480
3462
  this.bump();
3481
3463
  var i = this.clonePosition();
3482
3464
  if (!this.bumpUntil("'"))
3483
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3465
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3484
3466
  this.bump();
3485
3467
  break;
3486
3468
  }
@@ -3510,16 +3492,16 @@ var li = (
3510
3492
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3511
3493
  var n = [];
3512
3494
  try {
3513
- n = Vn(t);
3495
+ n = kn(t);
3514
3496
  } catch (i) {
3515
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3497
+ return this.error(v.INVALID_NUMBER_SKELETON, r);
3516
3498
  }
3517
3499
  return {
3518
3500
  val: {
3519
- type: W.number,
3501
+ type: J.number,
3520
3502
  tokens: n,
3521
3503
  location: r,
3522
- parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
3504
+ parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3523
3505
  },
3524
3506
  err: null
3525
3507
  };
@@ -3528,34 +3510,34 @@ var li = (
3528
3510
  if (h.length === 0) {
3529
3511
  var c = this.clonePosition();
3530
3512
  if (r !== "select" && this.bumpIf("=")) {
3531
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3513
+ var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3532
3514
  if (f.err)
3533
3515
  return f;
3534
- l = v(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3516
+ l = y(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3535
3517
  } else
3536
3518
  break;
3537
3519
  }
3538
3520
  if (u.has(h))
3539
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3521
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3540
3522
  h === "other" && (s = !0), this.bumpSpace();
3541
- var m = this.clonePosition();
3523
+ var d = this.clonePosition();
3542
3524
  if (!this.bumpIf("{"))
3543
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3544
- var d = this.parseMessage(t + 1, r, n);
3545
- if (d.err)
3546
- return d;
3547
- var b = this.tryParseArgumentClose(m);
3548
- if (b.err)
3549
- return b;
3525
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3526
+ var p = this.parseMessage(t + 1, r, n);
3527
+ if (p.err)
3528
+ return p;
3529
+ var g = this.tryParseArgumentClose(d);
3530
+ if (g.err)
3531
+ return g;
3550
3532
  a.push([
3551
3533
  h,
3552
3534
  {
3553
- value: d.val,
3554
- location: v(m, this.clonePosition())
3535
+ value: p.val,
3536
+ location: y(d, this.clonePosition())
3555
3537
  }
3556
3538
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3557
3539
  }
3558
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3540
+ return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3559
3541
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3560
3542
  var n = 1, i = this.clonePosition();
3561
3543
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3566,8 +3548,8 @@ var li = (
3566
3548
  else
3567
3549
  break;
3568
3550
  }
3569
- var u = v(i, this.clonePosition());
3570
- return o ? (s *= n, si(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3551
+ var u = y(i, this.clonePosition());
3552
+ return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3571
3553
  }, e.prototype.offset = function() {
3572
3554
  return this.position.offset;
3573
3555
  }, e.prototype.isEOF = function() {
@@ -3582,7 +3564,7 @@ var li = (
3582
3564
  var t = this.position.offset;
3583
3565
  if (t >= this.message.length)
3584
3566
  throw Error("out of bound");
3585
- var r = fr(this.message, t);
3567
+ var r = cr(this.message, t);
3586
3568
  if (r === void 0)
3587
3569
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3588
3570
  return r;
@@ -3601,7 +3583,7 @@ var li = (
3601
3583
  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);
3602
3584
  }
3603
3585
  }, e.prototype.bumpIf = function(t) {
3604
- if (Bt(this.message, t, this.offset())) {
3586
+ if (St(this.message, t, this.offset())) {
3605
3587
  for (var r = 0; r < t.length; r++)
3606
3588
  this.bump();
3607
3589
  return !0;
@@ -3623,7 +3605,7 @@ var li = (
3623
3605
  break;
3624
3606
  }
3625
3607
  }, e.prototype.bumpSpace = function() {
3626
- for (; !this.isEOF() && mr(this.char()); )
3608
+ for (; !this.isEOF() && pr(this.char()); )
3627
3609
  this.bump();
3628
3610
  }, e.prototype.peek = function() {
3629
3611
  if (this.isEOF())
@@ -3633,47 +3615,47 @@ var li = (
3633
3615
  }, e;
3634
3616
  }()
3635
3617
  );
3636
- function Ye(e) {
3618
+ function Qe(e) {
3637
3619
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3638
3620
  }
3639
- function ci(e) {
3640
- return Ye(e) || e === 47;
3621
+ function li(e) {
3622
+ return Qe(e) || e === 47;
3641
3623
  }
3642
- function fi(e) {
3624
+ function ci(e) {
3643
3625
  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;
3644
3626
  }
3645
- function mr(e) {
3627
+ function pr(e) {
3646
3628
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3647
3629
  }
3648
- function pi(e) {
3630
+ function fi(e) {
3649
3631
  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;
3650
3632
  }
3651
- function Ke(e) {
3633
+ function Je(e) {
3652
3634
  e.forEach(function(t) {
3653
- if (delete t.location, ir(t) || or(t))
3635
+ if (delete t.location, nr(t) || ir(t))
3654
3636
  for (var r in t.options)
3655
- delete t.options[r].location, Ke(t.options[r].value);
3637
+ delete t.options[r].location, Je(t.options[r].value);
3656
3638
  else
3657
- tr(t) && ar(t.style) || (rr(t) || nr(t)) && Ze(t.style) ? delete t.style.location : sr(t) && Ke(t.children);
3639
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && Xe(t.style) ? delete t.style.location : or(t) && Je(t.children);
3658
3640
  });
3659
3641
  }
3660
- function mi(e, t) {
3661
- t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3662
- var r = new li(e, t).parse();
3642
+ function pi(e, t) {
3643
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3644
+ var r = new hi(e, t).parse();
3663
3645
  if (r.err) {
3664
- var n = SyntaxError(y[r.err.kind]);
3646
+ var n = SyntaxError(v[r.err.kind]);
3665
3647
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3666
3648
  }
3667
- return t != null && t.captureLocation || Ke(r.val), r.val;
3649
+ return t != null && t.captureLocation || Je(r.val), r.val;
3668
3650
  }
3669
- var z;
3651
+ var q;
3670
3652
  (function(e) {
3671
3653
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3672
- })(z || (z = {}));
3654
+ })(q || (q = {}));
3673
3655
  var we = (
3674
3656
  /** @class */
3675
3657
  function(e) {
3676
- Te(t, e);
3658
+ $(t, e);
3677
3659
  function t(r, n, i) {
3678
3660
  var o = e.call(this, r) || this;
3679
3661
  return o.code = n, o.originalMessage = i, o;
@@ -3682,153 +3664,153 @@ var we = (
3682
3664
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3683
3665
  }, t;
3684
3666
  }(Error)
3685
- ), Ot = (
3667
+ ), Bt = (
3686
3668
  /** @class */
3687
3669
  function(e) {
3688
- Te(t, e);
3670
+ $(t, e);
3689
3671
  function t(r, n, i, o) {
3690
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3672
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3691
3673
  }
3692
3674
  return t;
3693
3675
  }(we)
3694
- ), di = (
3676
+ ), mi = (
3695
3677
  /** @class */
3696
3678
  function(e) {
3697
- Te(t, e);
3679
+ $(t, e);
3698
3680
  function t(r, n, i) {
3699
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3681
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3700
3682
  }
3701
3683
  return t;
3702
3684
  }(we)
3703
- ), bi = (
3685
+ ), di = (
3704
3686
  /** @class */
3705
3687
  function(e) {
3706
- Te(t, e);
3688
+ $(t, e);
3707
3689
  function t(r, n) {
3708
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3690
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3709
3691
  }
3710
3692
  return t;
3711
3693
  }(we)
3712
- ), A;
3694
+ ), P;
3713
3695
  (function(e) {
3714
3696
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3715
- })(A || (A = {}));
3716
- function gi(e) {
3697
+ })(P || (P = {}));
3698
+ function bi(e) {
3717
3699
  return e.length < 2 ? e : e.reduce(function(t, r) {
3718
3700
  var n = t[t.length - 1];
3719
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3701
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3720
3702
  }, []);
3721
3703
  }
3722
- function yi(e) {
3704
+ function gi(e) {
3723
3705
  return typeof e == "function";
3724
3706
  }
3725
- function de(e, t, r, n, i, o, s) {
3726
- if (e.length === 1 && St(e[0]))
3707
+ function be(e, t, r, n, i, o, s) {
3708
+ if (e.length === 1 && _t(e[0]))
3727
3709
  return [
3728
3710
  {
3729
- type: A.literal,
3711
+ type: P.literal,
3730
3712
  value: e[0].value
3731
3713
  }
3732
3714
  ];
3733
3715
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3734
3716
  var l = h[u];
3735
- if (St(l)) {
3717
+ if (_t(l)) {
3736
3718
  a.push({
3737
- type: A.literal,
3719
+ type: P.literal,
3738
3720
  value: l.value
3739
3721
  });
3740
3722
  continue;
3741
3723
  }
3742
- if (Dn(l)) {
3724
+ if (Un(l)) {
3743
3725
  typeof o == "number" && a.push({
3744
- type: A.literal,
3726
+ type: P.literal,
3745
3727
  value: r.getNumberFormat(t).format(o)
3746
3728
  });
3747
3729
  continue;
3748
3730
  }
3749
3731
  var c = l.value;
3750
3732
  if (!(i && c in i))
3751
- throw new bi(c, s);
3733
+ throw new di(c, s);
3752
3734
  var f = i[c];
3753
- if (Un(l)) {
3735
+ if (Gn(l)) {
3754
3736
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3755
- type: typeof f == "string" ? A.literal : A.object,
3737
+ type: typeof f == "string" ? P.literal : P.object,
3756
3738
  value: f
3757
3739
  });
3758
3740
  continue;
3759
3741
  }
3760
- if (rr(l)) {
3761
- var m = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3742
+ if (tr(l)) {
3743
+ var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3762
3744
  a.push({
3763
- type: A.literal,
3764
- value: r.getDateTimeFormat(t, m).format(f)
3745
+ type: P.literal,
3746
+ value: r.getDateTimeFormat(t, d).format(f)
3765
3747
  });
3766
3748
  continue;
3767
3749
  }
3768
- if (nr(l)) {
3769
- var m = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3750
+ if (rr(l)) {
3751
+ var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3770
3752
  a.push({
3771
- type: A.literal,
3772
- value: r.getDateTimeFormat(t, m).format(f)
3753
+ type: P.literal,
3754
+ value: r.getDateTimeFormat(t, d).format(f)
3773
3755
  });
3774
3756
  continue;
3775
3757
  }
3776
- if (tr(l)) {
3777
- var m = typeof l.style == "string" ? n.number[l.style] : ar(l.style) ? l.style.parsedOptions : void 0;
3778
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3779
- type: A.literal,
3780
- value: r.getNumberFormat(t, m).format(f)
3758
+ if (er(l)) {
3759
+ var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3760
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3761
+ type: P.literal,
3762
+ value: r.getNumberFormat(t, d).format(f)
3781
3763
  });
3782
3764
  continue;
3783
3765
  }
3784
- if (sr(l)) {
3785
- var d = l.children, b = l.value, P = i[b];
3786
- if (!yi(P))
3787
- throw new di(b, "function", s);
3788
- var L = de(d, t, r, n, i, o), g = P(L.map(function(I) {
3789
- return I.value;
3766
+ if (or(l)) {
3767
+ var p = l.children, g = l.value, E = i[g];
3768
+ if (!gi(E))
3769
+ throw new mi(g, "function", s);
3770
+ var N = be(p, t, r, n, i, o), L = E(N.map(function(S) {
3771
+ return S.value;
3790
3772
  }));
3791
- Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(I) {
3773
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(S) {
3792
3774
  return {
3793
- type: typeof I == "string" ? A.literal : A.object,
3794
- value: I
3775
+ type: typeof S == "string" ? P.literal : P.object,
3776
+ value: S
3795
3777
  };
3796
3778
  }));
3797
3779
  }
3798
- if (ir(l)) {
3799
- var E = l.options[f] || l.options.other;
3800
- if (!E)
3801
- throw new Ot(l.value, f, Object.keys(l.options), s);
3802
- a.push.apply(a, de(E.value, t, r, n, i));
3780
+ if (nr(l)) {
3781
+ var b = l.options[f] || l.options.other;
3782
+ if (!b)
3783
+ throw new Bt(l.value, f, Object.keys(l.options), s);
3784
+ a.push.apply(a, be(b.value, t, r, n, i));
3803
3785
  continue;
3804
3786
  }
3805
- if (or(l)) {
3806
- var E = l.options["=".concat(f)];
3807
- if (!E) {
3787
+ if (ir(l)) {
3788
+ var b = l.options["=".concat(f)];
3789
+ if (!b) {
3808
3790
  if (!Intl.PluralRules)
3809
3791
  throw new we(`Intl.PluralRules is not available in this environment.
3810
3792
  Try polyfilling it using "@formatjs/intl-pluralrules"
3811
- `, z.MISSING_INTL_API, s);
3812
- var S = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3813
- E = l.options[S] || l.options.other;
3793
+ `, q.MISSING_INTL_API, s);
3794
+ var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3795
+ b = l.options[w] || l.options.other;
3814
3796
  }
3815
- if (!E)
3816
- throw new Ot(l.value, f, Object.keys(l.options), s);
3817
- a.push.apply(a, de(E.value, t, r, n, i, f - (l.offset || 0)));
3797
+ if (!b)
3798
+ throw new Bt(l.value, f, Object.keys(l.options), s);
3799
+ a.push.apply(a, be(b.value, t, r, n, i, f - (l.offset || 0)));
3818
3800
  continue;
3819
3801
  }
3820
3802
  }
3821
- return gi(a);
3803
+ return bi(a);
3822
3804
  }
3823
3805
  function vi(e, t) {
3824
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3825
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
3806
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3807
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3826
3808
  }, {})) : e;
3827
3809
  }
3828
- function _i(e, t) {
3810
+ function yi(e, t) {
3829
3811
  return t ? Object.keys(e).reduce(function(r, n) {
3830
3812
  return r[n] = vi(e[n], t[n]), r;
3831
- }, M({}, e)) : e;
3813
+ }, _({}, e)) : e;
3832
3814
  }
3833
3815
  function Me(e) {
3834
3816
  return {
@@ -3844,7 +3826,7 @@ function Me(e) {
3844
3826
  }
3845
3827
  };
3846
3828
  }
3847
- function Ei(e) {
3829
+ function _i(e) {
3848
3830
  return e === void 0 && (e = {
3849
3831
  number: {},
3850
3832
  dateTime: {},
@@ -3853,7 +3835,7 @@ function Ei(e) {
3853
3835
  getNumberFormat: Ne(function() {
3854
3836
  for (var t, r = [], n = 0; n < arguments.length; n++)
3855
3837
  r[n] = arguments[n];
3856
- return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3838
+ return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3857
3839
  }, {
3858
3840
  cache: Me(e.number),
3859
3841
  strategy: Le.variadic
@@ -3861,7 +3843,7 @@ function Ei(e) {
3861
3843
  getDateTimeFormat: Ne(function() {
3862
3844
  for (var t, r = [], n = 0; n < arguments.length; n++)
3863
3845
  r[n] = arguments[n];
3864
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3846
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3865
3847
  }, {
3866
3848
  cache: Me(e.dateTime),
3867
3849
  strategy: Le.variadic
@@ -3869,14 +3851,14 @@ function Ei(e) {
3869
3851
  getPluralRules: Ne(function() {
3870
3852
  for (var t, r = [], n = 0; n < arguments.length; n++)
3871
3853
  r[n] = arguments[n];
3872
- return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3854
+ return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3873
3855
  }, {
3874
3856
  cache: Me(e.pluralRules),
3875
3857
  strategy: Le.variadic
3876
3858
  })
3877
3859
  };
3878
3860
  }
3879
- var xi = (
3861
+ var Ei = (
3880
3862
  /** @class */
3881
3863
  function() {
3882
3864
  function e(t, r, n, i) {
@@ -3891,11 +3873,11 @@ var xi = (
3891
3873
  if (h.length === 1)
3892
3874
  return h[0].value;
3893
3875
  var l = h.reduce(function(c, f) {
3894
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3876
+ return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3895
3877
  }, []);
3896
3878
  return l.length <= 1 ? l[0] || "" : l;
3897
3879
  }, this.formatToParts = function(u) {
3898
- return de(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3880
+ return be(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3899
3881
  }, this.resolvedOptions = function() {
3900
3882
  var u;
3901
3883
  return {
@@ -3908,13 +3890,13 @@ var xi = (
3908
3890
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3909
3891
  var s = i || {};
3910
3892
  s.formatters;
3911
- var a = In(s, ["formatters"]);
3912
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3893
+ var a = Kr(s, ["formatters"]);
3894
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3913
3895
  } else
3914
3896
  this.ast = t;
3915
3897
  if (!Array.isArray(this.ast))
3916
3898
  throw new TypeError("A message must be provided as a String or AST.");
3917
- this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3899
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
3918
3900
  }
3919
3901
  return Object.defineProperty(e, "defaultLocale", {
3920
3902
  get: function() {
@@ -3927,7 +3909,7 @@ var xi = (
3927
3909
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3928
3910
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3929
3911
  }
3930
- }, e.__parse = mi, e.formats = {
3912
+ }, e.__parse = pi, e.formats = {
3931
3913
  number: {
3932
3914
  integer: {
3933
3915
  maximumFractionDigits: 0
@@ -3988,7 +3970,7 @@ var xi = (
3988
3970
  }, e;
3989
3971
  }()
3990
3972
  );
3991
- function Si(e, t) {
3973
+ function xi(e, t) {
3992
3974
  if (t == null)
3993
3975
  return;
3994
3976
  if (t in e)
@@ -4009,92 +3991,92 @@ function Si(e, t) {
4009
3991
  n = void 0;
4010
3992
  return n;
4011
3993
  }
4012
- const R = {}, Ti = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), dr = (e, t) => {
3994
+ const R = {}, Ti = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), mr = (e, t) => {
4013
3995
  if (t == null)
4014
3996
  return;
4015
3997
  if (t in R && e in R[t])
4016
3998
  return R[t][e];
4017
3999
  const r = He(t);
4018
4000
  for (let n = 0; n < r.length; n++) {
4019
- const i = r[n], o = Hi(i, e);
4001
+ const i = r[n], o = wi(i, e);
4020
4002
  if (o)
4021
4003
  return Ti(e, t, o);
4022
4004
  }
4023
4005
  };
4024
- let nt;
4025
- const q = Se({});
4026
- function wi(e) {
4027
- return nt[e] || null;
4006
+ let rt;
4007
+ const ee = Se({});
4008
+ function Si(e) {
4009
+ return rt[e] || null;
4028
4010
  }
4029
- function br(e) {
4030
- return e in nt;
4011
+ function dr(e) {
4012
+ return e in rt;
4031
4013
  }
4032
- function Hi(e, t) {
4033
- if (!br(e))
4014
+ function wi(e, t) {
4015
+ if (!dr(e))
4034
4016
  return null;
4035
- const r = wi(e);
4036
- return Si(r, t);
4017
+ const r = Si(e);
4018
+ return xi(r, t);
4037
4019
  }
4038
- function Bi(e) {
4020
+ function Hi(e) {
4039
4021
  if (e == null)
4040
4022
  return;
4041
4023
  const t = He(e);
4042
4024
  for (let r = 0; r < t.length; r++) {
4043
4025
  const n = t[r];
4044
- if (br(n))
4026
+ if (dr(n))
4045
4027
  return n;
4046
4028
  }
4047
4029
  }
4048
- function gr(e, ...t) {
4049
- delete R[e], q.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4030
+ function br(e, ...t) {
4031
+ delete R[e], ee.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4050
4032
  }
4051
- J(
4052
- [q],
4033
+ K(
4034
+ [ee],
4053
4035
  ([e]) => Object.keys(e)
4054
4036
  );
4055
- q.subscribe((e) => nt = e);
4056
- const be = {};
4057
- function Ai(e, t) {
4058
- be[e].delete(t), be[e].size === 0 && delete be[e];
4037
+ ee.subscribe((e) => rt = e);
4038
+ const ge = {};
4039
+ function Bi(e, t) {
4040
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4059
4041
  }
4060
- function yr(e) {
4061
- return be[e];
4042
+ function gr(e) {
4043
+ return ge[e];
4062
4044
  }
4063
- function Pi(e) {
4045
+ function Ai(e) {
4064
4046
  return He(e).map((t) => {
4065
- const r = yr(t);
4047
+ const r = gr(t);
4066
4048
  return [t, r ? [...r] : []];
4067
4049
  }).filter(([, t]) => t.length > 0);
4068
4050
  }
4069
- function et(e) {
4051
+ function qe(e) {
4070
4052
  return e == null ? !1 : He(e).some(
4071
4053
  (t) => {
4072
4054
  var r;
4073
- return (r = yr(t)) == null ? void 0 : r.size;
4055
+ return (r = gr(t)) == null ? void 0 : r.size;
4074
4056
  }
4075
4057
  );
4076
4058
  }
4077
- function Oi(e, t) {
4059
+ function Pi(e, t) {
4078
4060
  return Promise.all(
4079
- t.map((n) => (Ai(e, n), n().then((i) => i.default || i)))
4080
- ).then((n) => gr(e, ...n));
4061
+ t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4062
+ ).then((n) => br(e, ...n));
4081
4063
  }
4082
- const K = {};
4064
+ const ne = {};
4083
4065
  function vr(e) {
4084
- if (!et(e))
4085
- return e in K ? K[e] : Promise.resolve();
4086
- const t = Pi(e);
4087
- return K[e] = Promise.all(
4066
+ if (!qe(e))
4067
+ return e in ne ? ne[e] : Promise.resolve();
4068
+ const t = Ai(e);
4069
+ return ne[e] = Promise.all(
4088
4070
  t.map(
4089
- ([r, n]) => Oi(r, n)
4071
+ ([r, n]) => Pi(r, n)
4090
4072
  )
4091
4073
  ).then(() => {
4092
- if (et(e))
4074
+ if (qe(e))
4093
4075
  return vr(e);
4094
- delete K[e];
4095
- }), K[e];
4076
+ delete ne[e];
4077
+ }), ne[e];
4096
4078
  }
4097
- const Ii = {
4079
+ const Oi = {
4098
4080
  number: {
4099
4081
  scientific: { notation: "scientific" },
4100
4082
  engineering: { notation: "engineering" },
@@ -4123,57 +4105,57 @@ const Ii = {
4123
4105
  timeZoneName: "short"
4124
4106
  }
4125
4107
  }
4126
- }, Ni = {
4108
+ }, Ii = {
4127
4109
  fallbackLocale: null,
4128
4110
  loadingDelay: 200,
4129
- formats: Ii,
4111
+ formats: Oi,
4130
4112
  warnOnMissingMessages: !0,
4131
4113
  handleMissingMessage: void 0,
4132
4114
  ignoreTag: !0
4133
- }, Li = Ni;
4134
- function Z() {
4135
- return Li;
4115
+ }, Ni = Ii;
4116
+ function Y() {
4117
+ return Ni;
4136
4118
  }
4137
4119
  const $e = Se(!1);
4138
- var Ci = Object.defineProperty, Mi = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
4120
+ var Li = Object.defineProperty, Ci = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4139
4121
  for (var r in t || (t = {}))
4140
- Ri.call(t, r) && Nt(e, r, t[r]);
4141
- if (It)
4142
- for (var r of It(t))
4143
- Gi.call(t, r) && Nt(e, r, t[r]);
4122
+ $i.call(t, r) && Pt(e, r, t[r]);
4123
+ if (At)
4124
+ for (var r of At(t))
4125
+ Ri.call(t, r) && Pt(e, r, t[r]);
4144
4126
  return e;
4145
- }, Di = (e, t) => Mi(e, $i(t));
4146
- let tt;
4147
- const ve = Se(null);
4148
- function Lt(e) {
4127
+ }, Ui = (e, t) => Ci(e, Mi(t));
4128
+ let Ye;
4129
+ const _e = Se(null);
4130
+ function Ot(e) {
4149
4131
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4150
4132
  }
4151
- function He(e, t = Z().fallbackLocale) {
4152
- const r = Lt(e);
4153
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4133
+ function He(e, t = Y().fallbackLocale) {
4134
+ const r = Ot(e);
4135
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4154
4136
  }
4155
- function D() {
4156
- return tt != null ? tt : void 0;
4137
+ function j() {
4138
+ return Ye != null ? Ye : void 0;
4157
4139
  }
4158
- ve.subscribe((e) => {
4159
- tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4140
+ _e.subscribe((e) => {
4141
+ Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4160
4142
  });
4161
- const Fi = (e) => {
4162
- if (e && Bi(e) && et(e)) {
4163
- const { loadingDelay: t } = Z();
4143
+ const Di = (e) => {
4144
+ if (e && Hi(e) && qe(e)) {
4145
+ const { loadingDelay: t } = Y();
4164
4146
  let r;
4165
- return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4147
+ return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4166
4148
  () => $e.set(!0),
4167
4149
  t
4168
4150
  ) : $e.set(!0), vr(e).then(() => {
4169
- ve.set(e);
4151
+ _e.set(e);
4170
4152
  }).finally(() => {
4171
4153
  clearTimeout(r), $e.set(!1);
4172
4154
  });
4173
4155
  }
4174
- return ve.set(e);
4175
- }, G = Di(Ui({}, ve), {
4176
- set: Fi
4156
+ return _e.set(e);
4157
+ }, G = Ui(Gi({}, _e), {
4158
+ set: Di
4177
4159
  }), Be = (e) => {
4178
4160
  const t = /* @__PURE__ */ Object.create(null);
4179
4161
  return (n) => {
@@ -4181,92 +4163,92 @@ const Fi = (e) => {
4181
4163
  return i in t ? t[i] : t[i] = e(n);
4182
4164
  };
4183
4165
  };
4184
- var ji = Object.defineProperty, _e = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4166
+ var Fi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4185
4167
  for (var r in t || (t = {}))
4186
- _r.call(t, r) && Ct(e, r, t[r]);
4187
- if (_e)
4188
- for (var r of _e(t))
4189
- Er.call(t, r) && Ct(e, r, t[r]);
4168
+ yr.call(t, r) && It(e, r, t[r]);
4169
+ if (Ee)
4170
+ for (var r of Ee(t))
4171
+ _r.call(t, r) && It(e, r, t[r]);
4190
4172
  return e;
4191
- }, Y = (e, t) => {
4173
+ }, te = (e, t) => {
4192
4174
  var r = {};
4193
4175
  for (var n in e)
4194
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4195
- if (e != null && _e)
4196
- for (var n of _e(e))
4197
- t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
4176
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4177
+ if (e != null && Ee)
4178
+ for (var n of Ee(e))
4179
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4198
4180
  return r;
4199
4181
  };
4200
- const ie = (e, t) => {
4201
- const { formats: r } = Z();
4182
+ const ue = (e, t) => {
4183
+ const { formats: r } = Y();
4202
4184
  if (e in r && t in r[e])
4203
4185
  return r[e][t];
4204
4186
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4205
- }, ki = Be(
4187
+ }, ji = Be(
4206
4188
  (e) => {
4207
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4189
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4208
4190
  if (r == null)
4209
4191
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4210
- return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4192
+ return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4211
4193
  }
4212
- ), Vi = Be(
4194
+ ), ki = Be(
4213
4195
  (e) => {
4214
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4215
4197
  if (r == null)
4216
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4217
- return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4199
+ return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4218
4200
  }
4219
- ), Xi = Be(
4201
+ ), Vi = Be(
4220
4202
  (e) => {
4221
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4203
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4222
4204
  if (r == null)
4223
4205
  throw new Error(
4224
4206
  '[svelte-i18n] A "locale" must be set to format time values'
4225
4207
  );
4226
- return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4208
+ return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4227
4209
  }
4228
- ), Wi = (e = {}) => {
4210
+ ), Xi = (e = {}) => {
4229
4211
  var t = e, {
4230
- locale: r = D()
4231
- } = t, n = Y(t, [
4212
+ locale: r = j()
4213
+ } = t, n = te(t, [
4232
4214
  "locale"
4233
4215
  ]);
4234
- return ki(it({ locale: r }, n));
4235
- }, zi = (e = {}) => {
4216
+ return ji(nt({ locale: r }, n));
4217
+ }, Wi = (e = {}) => {
4236
4218
  var t = e, {
4237
- locale: r = D()
4238
- } = t, n = Y(t, [
4219
+ locale: r = j()
4220
+ } = t, n = te(t, [
4239
4221
  "locale"
4240
4222
  ]);
4241
- return Vi(it({ locale: r }, n));
4242
- }, Zi = (e = {}) => {
4223
+ return ki(nt({ locale: r }, n));
4224
+ }, zi = (e = {}) => {
4243
4225
  var t = e, {
4244
- locale: r = D()
4245
- } = t, n = Y(t, [
4226
+ locale: r = j()
4227
+ } = t, n = te(t, [
4246
4228
  "locale"
4247
4229
  ]);
4248
- return Xi(it({ locale: r }, n));
4249
- }, Qi = Be(
4230
+ return Vi(nt({ locale: r }, n));
4231
+ }, Zi = Be(
4250
4232
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4251
- (e, t = D()) => new xi(e, t, Z().formats, {
4252
- ignoreTag: Z().ignoreTag
4233
+ (e, t = j()) => new Ei(e, t, Y().formats, {
4234
+ ignoreTag: Y().ignoreTag
4253
4235
  })
4254
- ), Ji = (e, t = {}) => {
4236
+ ), Qi = (e, t = {}) => {
4255
4237
  var r, n, i, o;
4256
4238
  let s = t;
4257
4239
  typeof e == "object" && (s = e, e = s.id);
4258
4240
  const {
4259
4241
  values: a,
4260
- locale: u = D(),
4242
+ locale: u = j(),
4261
4243
  default: h
4262
4244
  } = s;
4263
4245
  if (u == null)
4264
4246
  throw new Error(
4265
4247
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4266
4248
  );
4267
- let l = dr(e, u);
4249
+ let l = mr(e, u);
4268
4250
  if (!l)
4269
- l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4251
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4270
4252
  else if (typeof l != "string")
4271
4253
  return console.warn(
4272
4254
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4275,7 +4257,7 @@ const ie = (e, t) => {
4275
4257
  return l;
4276
4258
  let c = l;
4277
4259
  try {
4278
- c = Qi(l, u).format(a);
4260
+ c = Zi(l, u).format(a);
4279
4261
  } catch (f) {
4280
4262
  f instanceof Error && console.warn(
4281
4263
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4283,83 +4265,84 @@ const ie = (e, t) => {
4283
4265
  );
4284
4266
  }
4285
4267
  return c;
4286
- }, qi = (e, t) => Zi(t).format(e), Yi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = D()) => dr(e, t), to = J([G, q], () => Ji);
4287
- J([G], () => qi);
4288
- J([G], () => Yi);
4289
- J([G], () => Ki);
4290
- J([G, q], () => eo);
4291
- window.emWidgets = { topic: pn };
4292
- const ro = (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));
4293
- function no({ withLocale: e, translations: t }) {
4268
+ }, Ji = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => mr(e, t), eo = K([G, ee], () => Qi);
4269
+ K([G], () => Ji);
4270
+ K([G], () => qi);
4271
+ K([G], () => Yi);
4272
+ K([G, ee], () => Ki);
4273
+ window.emWidgets = { topic: mn };
4274
+ const to = (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));
4275
+ function ro({ withLocale: e, translations: t }) {
4294
4276
  G.subscribe((r) => {
4295
- r == null && (q.set(t), G.set(e));
4277
+ r == null && (ee.set(t), G.set(e));
4296
4278
  });
4297
4279
  }
4298
- function Mt(e, t) {
4299
- gr(e, t);
4280
+ function Nt(e, t) {
4281
+ br(e, t);
4300
4282
  }
4301
- function io(e) {
4283
+ function no(e) {
4302
4284
  G.set(e);
4303
4285
  }
4304
- const $t = {
4286
+ const Lt = {
4305
4287
  en: {
4306
4288
  loading: "Loading, please wait ...",
4307
4289
  playNow: "Play Now",
4308
4290
  casino: "CASINO",
4309
4291
  sports: "SPORTSBOOK",
4310
- contribution: "Contribution"
4292
+ contribution: "Contribution",
4293
+ noGamesAvailable: "No games have been configured yet!"
4311
4294
  }
4312
4295
  };
4313
- function oo(e) {
4314
- Pr(e, "svelte-1wi4vit", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .SportsPage{padding:30px 30px;color:var(--emw--color-gray-100, #B5B5B5)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4296
+ function io(e) {
4297
+ Ar(e, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4315
4298
  }
4316
- function Rt(e, t, r) {
4299
+ function Ct(e, t, r) {
4317
4300
  const n = e.slice();
4318
4301
  return n[20] = t[r], n;
4319
4302
  }
4320
- function Gt(e, t, r) {
4303
+ function Mt(e, t, r) {
4321
4304
  const n = e.slice();
4322
4305
  return n[20] = t[r], n;
4323
4306
  }
4324
- function Ut(e) {
4307
+ function $t(e) {
4325
4308
  let t, r;
4326
4309
  return {
4327
4310
  c() {
4328
- t = O("div"), r = O("casino-tournaments-tab"), T(r, "part", "TournamentGames"), T(r, "tabs", "casino,sports"), T(r, "tab", "casino"), T(r, "tid", rt), T(
4311
+ t = O("div"), r = O("casino-tournaments-tab"), H(r, "part", "TournamentGames"), H(r, "tabs", "casino,sports"), H(r, "tab", "casino"), H(r, "tid", Ke), H(
4329
4312
  r,
4330
4313
  "clientstyling",
4331
4314
  /*clientstyling*/
4332
4315
  e[0]
4333
- ), T(
4316
+ ), H(
4334
4317
  r,
4335
4318
  "clientstylingurl",
4336
4319
  /*clientstylingurl*/
4337
4320
  e[1]
4338
- ), T(
4321
+ ), H(
4339
4322
  r,
4340
4323
  "mbsource",
4341
4324
  /*mbsource*/
4342
4325
  e[2]
4343
- ), w(t, "class", "GamesTabNav");
4326
+ ), B(t, "class", "GamesTabNav");
4344
4327
  },
4345
4328
  m(n, i) {
4346
- se(n, t, i), H(t, r);
4329
+ F(n, t, i), A(t, r);
4347
4330
  },
4348
4331
  p(n, i) {
4349
4332
  i & /*clientstyling*/
4350
- 1 && T(
4333
+ 1 && H(
4351
4334
  r,
4352
4335
  "clientstyling",
4353
4336
  /*clientstyling*/
4354
4337
  n[0]
4355
4338
  ), i & /*clientstylingurl*/
4356
- 2 && T(
4339
+ 2 && H(
4357
4340
  r,
4358
4341
  "clientstylingurl",
4359
4342
  /*clientstylingurl*/
4360
4343
  n[1]
4361
4344
  ), i & /*mbsource*/
4362
- 4 && T(
4345
+ 4 && H(
4363
4346
  r,
4364
4347
  "mbsource",
4365
4348
  /*mbsource*/
@@ -4367,25 +4350,87 @@ function Ut(e) {
4367
4350
  );
4368
4351
  },
4369
4352
  d(n) {
4370
- n && Q(t);
4353
+ n && U(t);
4354
+ }
4355
+ };
4356
+ }
4357
+ function oo(e) {
4358
+ let t, r = (
4359
+ /*$_*/
4360
+ e[8]("noGamesAvailable") + ""
4361
+ ), n;
4362
+ return {
4363
+ c() {
4364
+ t = O("div"), n = Z(r), B(t, "class", "NoGames");
4365
+ },
4366
+ m(i, o) {
4367
+ F(i, t, o), A(t, n);
4368
+ },
4369
+ p(i, o) {
4370
+ o & /*$_*/
4371
+ 256 && r !== (r = /*$_*/
4372
+ i[8]("noGamesAvailable") + "") && ve(n, r);
4373
+ },
4374
+ d(i) {
4375
+ i && U(t);
4371
4376
  }
4372
4377
  };
4373
4378
  }
4374
- function Dt(e) {
4379
+ function so(e) {
4380
+ let t, r = ye(
4381
+ /*casinoGames*/
4382
+ e[7]
4383
+ ), n = [];
4384
+ for (let i = 0; i < r.length; i += 1)
4385
+ n[i] = Rt(Mt(e, r, i));
4386
+ return {
4387
+ c() {
4388
+ for (let i = 0; i < n.length; i += 1)
4389
+ n[i].c();
4390
+ t = Ir();
4391
+ },
4392
+ m(i, o) {
4393
+ for (let s = 0; s < n.length; s += 1)
4394
+ n[s] && n[s].m(i, o);
4395
+ F(i, t, o);
4396
+ },
4397
+ p(i, o) {
4398
+ if (o & /*gameClicked, casinoGames, $_*/
4399
+ 1408) {
4400
+ r = ye(
4401
+ /*casinoGames*/
4402
+ i[7]
4403
+ );
4404
+ let s;
4405
+ for (s = 0; s < r.length; s += 1) {
4406
+ const a = Mt(i, r, s);
4407
+ n[s] ? n[s].p(a, o) : (n[s] = Rt(a), n[s].c(), n[s].m(t.parentNode, t));
4408
+ }
4409
+ for (; s < n.length; s += 1)
4410
+ n[s].d(1);
4411
+ n.length = r.length;
4412
+ }
4413
+ },
4414
+ d(i) {
4415
+ i && U(t), jt(n, i);
4416
+ }
4417
+ };
4418
+ }
4419
+ function Rt(e) {
4375
4420
  let t, r, n = (
4376
4421
  /*$_*/
4377
4422
  e[8]("playNow") + ""
4378
4423
  ), i, o, s, a, u, h, l, c, f;
4379
4424
  return {
4380
4425
  c() {
4381
- t = O("div"), r = O("span"), i = ge(n), o = te(), s = O("ui-image"), l = te(), w(r, "class", "PlayNowButton"), ft(s.src, a = /*item*/
4382
- e[20].thumbnail) || T(s, "src", a), T(s, "width", "132px"), T(s, "height", "100px"), T(s, "alt", u = /*item*/
4383
- e[20].name), T(s, "title", h = /*item*/
4384
- e[20].name), w(t, "class", "item"), w(t, "role", "button"), w(t, "tabindex", "0");
4426
+ t = O("div"), r = O("span"), i = Z(n), o = oe(), s = O("ui-image"), l = oe(), B(r, "class", "PlayNowButton"), lt(s.src, a = /*item*/
4427
+ e[20].thumbnail) || H(s, "src", a), H(s, "width", "132px"), H(s, "height", "100px"), H(s, "alt", u = /*item*/
4428
+ e[20].name), H(s, "title", h = /*item*/
4429
+ e[20].name), B(t, "class", "item"), B(t, "role", "button"), B(t, "tabindex", "0");
4385
4430
  },
4386
- m(m, d) {
4387
- se(m, t, d), H(t, r), H(r, i), H(t, o), H(t, s), H(t, l), c || (f = Nr(t, "click", function() {
4388
- Ee(
4431
+ m(d, p) {
4432
+ F(d, t, p), A(t, r), A(r, i), A(t, o), A(t, s), A(t, l), c || (f = Nr(t, "click", function() {
4433
+ xe(
4389
4434
  /*gameClicked*/
4390
4435
  e[10](
4391
4436
  /*item*/
@@ -4397,23 +4442,23 @@ function Dt(e) {
4397
4442
  ).apply(this, arguments);
4398
4443
  }), c = !0);
4399
4444
  },
4400
- p(m, d) {
4401
- e = m, d & /*$_*/
4445
+ p(d, p) {
4446
+ e = d, p & /*$_*/
4402
4447
  256 && n !== (n = /*$_*/
4403
- e[8]("playNow") + "") && Re(i, n), d & /*casinoGames*/
4404
- 128 && !ft(s.src, a = /*item*/
4405
- e[20].thumbnail) && T(s, "src", a), d & /*casinoGames*/
4448
+ e[8]("playNow") + "") && ve(i, n), p & /*casinoGames*/
4449
+ 128 && !lt(s.src, a = /*item*/
4450
+ e[20].thumbnail) && H(s, "src", a), p & /*casinoGames*/
4406
4451
  128 && u !== (u = /*item*/
4407
- e[20].name) && T(s, "alt", u), d & /*casinoGames*/
4452
+ e[20].name) && H(s, "alt", u), p & /*casinoGames*/
4408
4453
  128 && h !== (h = /*item*/
4409
- e[20].name) && T(s, "title", h);
4454
+ e[20].name) && H(s, "title", h);
4410
4455
  },
4411
- d(m) {
4412
- m && Q(t), c = !1, f();
4456
+ d(d) {
4457
+ d && U(t), c = !1, f();
4413
4458
  }
4414
4459
  };
4415
4460
  }
4416
- function Ft(e) {
4461
+ function Gt(e) {
4417
4462
  let t, r = (
4418
4463
  /*item*/
4419
4464
  e[20].rule + ""
@@ -4423,140 +4468,121 @@ function Ft(e) {
4423
4468
  ), s;
4424
4469
  return {
4425
4470
  c() {
4426
- t = O("li"), n = ge(r), i = te(), s = ge(o), w(t, "part", "li"), w(t, "class", "Market");
4471
+ t = O("li"), n = Z(r), i = oe(), s = Z(o), B(t, "part", "li"), B(t, "class", "Market");
4427
4472
  },
4428
4473
  m(a, u) {
4429
- se(a, t, u), H(t, n), H(t, i), H(t, s);
4474
+ F(a, t, u), A(t, n), A(t, i), A(t, s);
4430
4475
  },
4431
4476
  p(a, u) {
4432
4477
  u & /*sportsRules*/
4433
4478
  64 && r !== (r = /*item*/
4434
- a[20].rule + "") && Re(n, r), u & /*$_*/
4479
+ a[20].rule + "") && ve(n, r), u & /*$_*/
4435
4480
  256 && o !== (o = /*$_*/
4436
- a[8]("contribution") + "") && Re(s, o);
4481
+ a[8]("contribution") + "") && ve(s, o);
4437
4482
  },
4438
4483
  d(a) {
4439
- a && Q(t);
4484
+ a && U(t);
4440
4485
  }
4441
4486
  };
4442
4487
  }
4443
- function so(e) {
4444
- var P, L;
4488
+ function ao(e) {
4489
+ var N, L;
4445
4490
  let t, r, n, i, o, s, a, u, h, l, c = (
4446
4491
  /*tournamentdetails*/
4447
4492
  e[3] && /*tournamentdetails*/
4448
- ((P = e[3].wallet) == null ? void 0 : P.sports) && /*tournamentdetails*/
4449
- ((L = e[3].wallet) == null ? void 0 : L.casino) && Ut(e)
4450
- ), f = le(
4451
- /*casinoGames*/
4452
- e[7]
4453
- ), m = [];
4454
- for (let g = 0; g < f.length; g += 1)
4455
- m[g] = Dt(Gt(e, f, g));
4456
- let d = le(
4493
+ ((N = e[3].wallet) == null ? void 0 : N.sports) && /*tournamentdetails*/
4494
+ ((L = e[3].wallet) == null ? void 0 : L.casino) && $t(e)
4495
+ );
4496
+ function f(b, w) {
4497
+ var S;
4498
+ return (
4499
+ /*casinoGames*/
4500
+ (S = b[7]) != null && S.length ? so : oo
4501
+ );
4502
+ }
4503
+ let d = f(e), p = d(e), g = ye(
4457
4504
  /*sportsRules*/
4458
4505
  e[6]
4459
- ), b = [];
4460
- for (let g = 0; g < d.length; g += 1)
4461
- b[g] = Ft(Rt(e, d, g));
4506
+ ), E = [];
4507
+ for (let b = 0; b < g.length; b += 1)
4508
+ E[b] = Gt(Ct(e, g, b));
4462
4509
  return {
4463
4510
  c() {
4464
- t = O("div"), c && c.c(), r = te(), n = O("div"), i = O("div"), o = O("div");
4465
- for (let g = 0; g < m.length; g += 1)
4466
- m[g].c();
4467
- a = te(), u = O("div"), h = O("ul");
4468
- for (let g = 0; g < b.length; g += 1)
4469
- b[g].c();
4470
- w(o, "class", "GameList items"), w(i, "class", s = "TabContent GamesContent " + /*activeTab*/
4471
- (e[5] != "casino" ? "hidden" : "")), w(h, "class", "SportsPage"), w(u, "class", l = "TabContent GamesContent " + /*activeTab*/
4472
- (e[5] != "sports" ? "hidden" : "")), w(n, "class", "GamesWrapper"), w(t, "class", ro(
4511
+ t = O("div"), c && c.c(), r = oe(), n = O("div"), i = O("div"), o = O("div"), p.c(), a = oe(), u = O("div"), h = O("ul");
4512
+ for (let b = 0; b < E.length; b += 1)
4513
+ E[b].c();
4514
+ B(o, "class", "GameList items"), B(i, "class", s = "TabContent GamesContent " + /*activeTab*/
4515
+ (e[5] != "casino" ? "hidden" : "")), B(h, "class", "SportsPage"), B(u, "class", l = "TabContent GamesContent " + /*activeTab*/
4516
+ (e[5] != "sports" ? "hidden" : "")), B(n, "class", "GamesWrapper"), B(t, "class", to(
4473
4517
  /*userAgent*/
4474
4518
  e[9]
4475
4519
  ) ? "MobileClass" : "");
4476
4520
  },
4477
- m(g, E) {
4478
- se(g, t, E), c && c.m(t, null), H(t, r), H(t, n), H(n, i), H(i, o);
4479
- for (let S = 0; S < m.length; S += 1)
4480
- m[S] && m[S].m(o, null);
4481
- H(n, a), H(n, u), H(u, h);
4482
- for (let S = 0; S < b.length; S += 1)
4483
- b[S] && b[S].m(h, null);
4521
+ m(b, w) {
4522
+ F(b, t, w), c && c.m(t, null), A(t, r), A(t, n), A(n, i), A(i, o), p.m(o, null), A(n, a), A(n, u), A(u, h);
4523
+ for (let S = 0; S < E.length; S += 1)
4524
+ E[S] && E[S].m(h, null);
4484
4525
  e[13](t);
4485
4526
  },
4486
- p(g, [E]) {
4487
- var S, I;
4527
+ p(b, [w]) {
4528
+ var S, m;
4488
4529
  if (/*tournamentdetails*/
4489
- g[3] && /*tournamentdetails*/
4490
- ((S = g[3].wallet) != null && S.sports) && /*tournamentdetails*/
4491
- ((I = g[3].wallet) != null && I.casino) ? c ? c.p(g, E) : (c = Ut(g), c.c(), c.m(t, r)) : c && (c.d(1), c = null), E & /*gameClicked, casinoGames, $_*/
4492
- 1408) {
4493
- f = le(
4494
- /*casinoGames*/
4495
- g[7]
4496
- );
4497
- let p;
4498
- for (p = 0; p < f.length; p += 1) {
4499
- const B = Gt(g, f, p);
4500
- m[p] ? m[p].p(B, E) : (m[p] = Dt(B), m[p].c(), m[p].m(o, null));
4501
- }
4502
- for (; p < m.length; p += 1)
4503
- m[p].d(1);
4504
- m.length = f.length;
4505
- }
4506
- if (E & /*activeTab*/
4530
+ b[3] && /*tournamentdetails*/
4531
+ ((S = b[3].wallet) != null && S.sports) && /*tournamentdetails*/
4532
+ ((m = b[3].wallet) != null && m.casino) ? c ? c.p(b, w) : (c = $t(b), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = f(b)) && p ? p.p(b, w) : (p.d(1), p = d(b), p && (p.c(), p.m(o, null))), w & /*activeTab*/
4507
4533
  32 && s !== (s = "TabContent GamesContent " + /*activeTab*/
4508
- (g[5] != "casino" ? "hidden" : "")) && w(i, "class", s), E & /*$_, sportsRules*/
4534
+ (b[5] != "casino" ? "hidden" : "")) && B(i, "class", s), w & /*$_, sportsRules*/
4509
4535
  320) {
4510
- d = le(
4536
+ g = ye(
4511
4537
  /*sportsRules*/
4512
- g[6]
4538
+ b[6]
4513
4539
  );
4514
- let p;
4515
- for (p = 0; p < d.length; p += 1) {
4516
- const B = Rt(g, d, p);
4517
- b[p] ? b[p].p(B, E) : (b[p] = Ft(B), b[p].c(), b[p].m(h, null));
4540
+ let T;
4541
+ for (T = 0; T < g.length; T += 1) {
4542
+ const re = Ct(b, g, T);
4543
+ E[T] ? E[T].p(re, w) : (E[T] = Gt(re), E[T].c(), E[T].m(h, null));
4518
4544
  }
4519
- for (; p < b.length; p += 1)
4520
- b[p].d(1);
4521
- b.length = d.length;
4545
+ for (; T < E.length; T += 1)
4546
+ E[T].d(1);
4547
+ E.length = g.length;
4522
4548
  }
4523
- E & /*activeTab*/
4549
+ w & /*activeTab*/
4524
4550
  32 && l !== (l = "TabContent GamesContent " + /*activeTab*/
4525
- (g[5] != "sports" ? "hidden" : "")) && w(u, "class", l);
4551
+ (b[5] != "sports" ? "hidden" : "")) && B(u, "class", l);
4526
4552
  },
4527
4553
  i: C,
4528
4554
  o: C,
4529
- d(g) {
4530
- g && Q(t), c && c.d(), pt(m, g), pt(b, g), e[13](null);
4555
+ d(b) {
4556
+ b && U(t), c && c.d(), p.d(), jt(E, b), e[13](null);
4531
4557
  }
4532
4558
  };
4533
4559
  }
4534
- let rt = "gameTab";
4535
- function ao(e, t, r) {
4560
+ let Ke = "gameTab";
4561
+ function uo(e, t, r) {
4536
4562
  let n;
4537
- Ar(e, to, (p) => r(8, n = p));
4538
- let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: u = "en" } = t, h = "casino", l = [], c = [], f, m = window.navigator.userAgent, d;
4539
- no({ withLocale: "en", translations: {} });
4540
- const b = () => {
4541
- fetch(a).then((p) => p.json()).then((p) => {
4542
- Object.keys(p).forEach((B) => {
4543
- Mt(B, p[B]);
4563
+ Br(e, eo, (m) => r(8, n = m));
4564
+ let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: u = "en" } = t, h = "casino", l = [], c = [], f, d = window.navigator.userAgent, p;
4565
+ ro({ withLocale: "en", translations: {} });
4566
+ const g = () => {
4567
+ fetch(a).then((m) => m.json()).then((m) => {
4568
+ Object.keys(m).forEach((T) => {
4569
+ Nt(T, m[T]);
4544
4570
  });
4545
- }).catch((p) => {
4546
- console.log(p);
4571
+ }).catch((m) => {
4572
+ console.log(m);
4547
4573
  });
4548
4574
  };
4549
- Object.keys($t).forEach((p) => {
4550
- Mt(p, $t[p]);
4575
+ Object.keys(Lt).forEach((m) => {
4576
+ Nt(m, Lt[m]);
4551
4577
  });
4552
- const P = () => {
4553
- io(u), setTimeout(
4578
+ const E = () => {
4579
+ no(u), setTimeout(
4554
4580
  () => {
4555
- L();
4581
+ N();
4556
4582
  },
4557
4583
  10
4558
4584
  );
4559
- }, L = () => {
4585
+ }, N = () => {
4560
4586
  window.postMessage(
4561
4587
  {
4562
4588
  type: "TournamentsTabsLocalize",
@@ -4567,97 +4593,97 @@ function ao(e, t, r) {
4567
4593
  },
4568
4594
  window.location.href
4569
4595
  );
4570
- }, g = (p) => {
4596
+ }, L = (m) => {
4571
4597
  window.postMessage(
4572
4598
  {
4573
4599
  type: "TournamentGameAction",
4574
- gameId: p.id,
4575
- name: p.name,
4576
- launchUrl: p.launchUrl
4600
+ gameId: m.id,
4601
+ name: m.name,
4602
+ launchUrl: m.launchUrl
4577
4603
  },
4578
4604
  window.location.href
4579
4605
  );
4580
- }, E = () => {
4581
- var B, ot, st;
4582
- r(7, c = ((B = f.games) == null ? void 0 : B.items) || []);
4583
- const p = (st = (ot = f.metadata) == null ? void 0 : ot.sports) == null ? void 0 : st.rules;
4584
- if (p) {
4606
+ }, b = () => {
4607
+ var T, re, it;
4608
+ r(7, c = ((T = f.games) == null ? void 0 : T.items) || []);
4609
+ const m = (it = (re = f.metadata) == null ? void 0 : re.sports) == null ? void 0 : it.rules;
4610
+ if (m) {
4585
4611
  r(5, h = f.wallet.casino ? "casino" : "sports");
4586
4612
  try {
4587
- const ue = JSON.parse(p);
4588
- r(6, l = ue[u] || ue["*"]);
4589
- } catch (ue) {
4590
- console.error("Error parsing tournament rules", ue);
4613
+ const le = JSON.parse(m);
4614
+ r(6, l = le[u] || le["*"]);
4615
+ } catch (le) {
4616
+ console.error("Error parsing tournament rules", le);
4591
4617
  }
4592
4618
  }
4593
- }, S = (p) => {
4594
- if (!p.data || !p.data.type)
4619
+ }, w = (m) => {
4620
+ if (!m.data || !m.data.type)
4595
4621
  return;
4596
- const B = p.data.tid || "";
4597
- switch (p.data.type) {
4622
+ const T = m.data.tid || "";
4623
+ switch (m.data.type) {
4598
4624
  case "TournamentsTabSwitch":
4599
- B === rt && r(5, h = p.data.tab);
4625
+ T === Ke && r(5, h = m.data.tab);
4600
4626
  break;
4601
4627
  case "TournamentsTabListenerLoaded":
4602
- L();
4628
+ N();
4603
4629
  break;
4604
4630
  case "TournamentsGamesUpdate":
4605
- r(3, f = p.data.details), E();
4631
+ r(3, f = m.data.details), b();
4606
4632
  break;
4607
4633
  default:
4608
- console.warn(`Unhandled message type: ${p.data.type}`);
4634
+ console.warn(`Unhandled message type: ${m.data.type}`);
4609
4635
  break;
4610
4636
  }
4611
4637
  };
4612
4638
  $r(() => (window.postMessage(
4613
4639
  {
4614
4640
  type: "TournamentsGamesListenerLoaded",
4615
- gamesTabTid: rt
4641
+ gamesTabTid: Ke
4616
4642
  },
4617
4643
  window.location.href
4618
- ), window.addEventListener("message", S, !1), () => {
4619
- window.removeEventListener("message", S);
4644
+ ), window.addEventListener("message", w, !1), () => {
4645
+ window.removeEventListener("message", w);
4620
4646
  }));
4621
- function I(p) {
4622
- Ge[p ? "unshift" : "push"](() => {
4623
- d = p, r(4, d);
4647
+ function S(m) {
4648
+ Re[m ? "unshift" : "push"](() => {
4649
+ p = m, r(4, p);
4624
4650
  });
4625
4651
  }
4626
- return e.$$set = (p) => {
4627
- "clientstyling" in p && r(0, i = p.clientstyling), "clientstylingurl" in p && r(1, o = p.clientstylingurl), "mbsource" in p && r(2, s = p.mbsource), "translationurl" in p && r(11, a = p.translationurl), "lang" in p && r(12, u = p.lang);
4652
+ return e.$$set = (m) => {
4653
+ "clientstyling" in m && r(0, i = m.clientstyling), "clientstylingurl" in m && r(1, o = m.clientstylingurl), "mbsource" in m && r(2, s = m.mbsource), "translationurl" in m && r(11, a = m.translationurl), "lang" in m && r(12, u = m.lang);
4628
4654
  }, e.$$.update = () => {
4629
4655
  e.$$.dirty & /*tournamentdetails*/
4630
- 8 && f && E(), e.$$.dirty & /*lang*/
4631
- 4096 && u && P(), e.$$.dirty & /*translationurl*/
4632
- 2048 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4633
- 17 && i && d && Jr(d, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4634
- 18 && o && d && qr(d, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4635
- 20 && s && d && Yr(d, `${s}.Style`);
4656
+ 8 && f && b(), e.$$.dirty & /*lang*/
4657
+ 4096 && u && E(), e.$$.dirty & /*translationurl*/
4658
+ 2048 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4659
+ 17 && i && p && Jr(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4660
+ 18 && o && p && qr(p, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4661
+ 20 && s && p && Yr(p, `${s}.Style`);
4636
4662
  }, [
4637
4663
  i,
4638
4664
  o,
4639
4665
  s,
4640
4666
  f,
4641
- d,
4667
+ p,
4642
4668
  h,
4643
4669
  l,
4644
4670
  c,
4645
4671
  n,
4646
- m,
4647
- g,
4672
+ d,
4673
+ L,
4648
4674
  a,
4649
4675
  u,
4650
- I
4676
+ S
4651
4677
  ];
4652
4678
  }
4653
- class uo extends Zr {
4679
+ class ho extends Zr {
4654
4680
  constructor(t) {
4655
4681
  super(), Wr(
4656
4682
  this,
4657
4683
  t,
4684
+ uo,
4658
4685
  ao,
4659
- so,
4660
- kt,
4686
+ Dt,
4661
4687
  {
4662
4688
  clientstyling: 0,
4663
4689
  clientstylingurl: 1,
@@ -4665,41 +4691,41 @@ class uo extends Zr {
4665
4691
  translationurl: 11,
4666
4692
  lang: 12
4667
4693
  },
4668
- oo
4694
+ io
4669
4695
  );
4670
4696
  }
4671
4697
  get clientstyling() {
4672
4698
  return this.$$.ctx[0];
4673
4699
  }
4674
4700
  set clientstyling(t) {
4675
- this.$$set({ clientstyling: t }), U();
4701
+ this.$$set({ clientstyling: t }), D();
4676
4702
  }
4677
4703
  get clientstylingurl() {
4678
4704
  return this.$$.ctx[1];
4679
4705
  }
4680
4706
  set clientstylingurl(t) {
4681
- this.$$set({ clientstylingurl: t }), U();
4707
+ this.$$set({ clientstylingurl: t }), D();
4682
4708
  }
4683
4709
  get mbsource() {
4684
4710
  return this.$$.ctx[2];
4685
4711
  }
4686
4712
  set mbsource(t) {
4687
- this.$$set({ mbsource: t }), U();
4713
+ this.$$set({ mbsource: t }), D();
4688
4714
  }
4689
4715
  get translationurl() {
4690
4716
  return this.$$.ctx[11];
4691
4717
  }
4692
4718
  set translationurl(t) {
4693
- this.$$set({ translationurl: t }), U();
4719
+ this.$$set({ translationurl: t }), D();
4694
4720
  }
4695
4721
  get lang() {
4696
4722
  return this.$$.ctx[12];
4697
4723
  }
4698
4724
  set lang(t) {
4699
- this.$$set({ lang: t }), U();
4725
+ this.$$set({ lang: t }), D();
4700
4726
  }
4701
4727
  }
4702
- zr(uo, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4728
+ zr(ho, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4703
4729
  export {
4704
- uo as default
4730
+ ho as default
4705
4731
  };