@everymatrix/casino-betslip-indicator 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,43 +1,43 @@
1
- function T() {
1
+ function w() {
2
2
  }
3
- function yt(e) {
3
+ function pt(e) {
4
4
  return e();
5
5
  }
6
- function Ze() {
6
+ function Xe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(yt);
9
+ function ee(e) {
10
+ e.forEach(pt);
11
11
  }
12
- function je(e) {
12
+ function Ge(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function vt(e, t) {
15
+ function dt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Yt(e) {
18
+ function zt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function qt(e, ...t) {
21
+ function Zt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return T;
25
+ return w;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function B(e, t) {
30
+ function T(e, t) {
31
31
  e.appendChild(t);
32
32
  }
33
- function Kt(e, t, r) {
34
- const n = er(e);
33
+ function Qt(e, t, r) {
34
+ const n = Jt(e);
35
35
  if (!n.getElementById(t)) {
36
36
  const i = D("style");
37
- i.id = t, i.textContent = r, tr(n, i);
37
+ i.id = t, i.textContent = r, Yt(n, i);
38
38
  }
39
39
  }
40
- function er(e) {
40
+ function Jt(e) {
41
41
  if (!e) return document;
42
42
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
43
43
  return t && /** @type {ShadowRoot} */
@@ -46,14 +46,14 @@ function er(e) {
46
46
  t
47
47
  ) : e.ownerDocument;
48
48
  }
49
- function tr(e, t) {
50
- return B(
49
+ function Yt(e, t) {
50
+ return T(
51
51
  /** @type {Document} */
52
52
  e.head || e,
53
53
  t
54
54
  ), t.sheet;
55
55
  }
56
- function ee(e, t, r) {
56
+ function te(e, t, r) {
57
57
  e.insertBefore(t, r || null);
58
58
  }
59
59
  function V(e) {
@@ -62,32 +62,32 @@ function V(e) {
62
62
  function D(e) {
63
63
  return document.createElement(e);
64
64
  }
65
- function C(e) {
65
+ function N(e) {
66
66
  return document.createElementNS("http://www.w3.org/2000/svg", e);
67
67
  }
68
- function gt(e) {
68
+ function bt(e) {
69
69
  return document.createTextNode(e);
70
70
  }
71
- function rr() {
72
- return gt(" ");
71
+ function qt() {
72
+ return bt(" ");
73
73
  }
74
- function nr(e, t, r, n) {
74
+ function Kt(e, t, r, n) {
75
75
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
76
76
  }
77
- function E(e, t, r) {
77
+ function _(e, t, r) {
78
78
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
79
79
  }
80
- function ir(e) {
80
+ function er(e) {
81
81
  return Array.from(e.childNodes);
82
82
  }
83
- function or(e, t) {
83
+ function tr(e, t) {
84
84
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
85
85
  t);
86
86
  }
87
- function sr(e, t, r, n) {
87
+ function rr(e, t, r, n) {
88
88
  e.style.setProperty(t, r, "");
89
89
  }
90
- function ar(e) {
90
+ function nr(e) {
91
91
  const t = {};
92
92
  return e.childNodes.forEach(
93
93
  /** @param {Element} node */
@@ -96,93 +96,93 @@ function ar(e) {
96
96
  }
97
97
  ), t;
98
98
  }
99
- let J;
99
+ let Y;
100
100
  function Q(e) {
101
- J = e;
101
+ Y = e;
102
102
  }
103
- function ur() {
104
- if (!J) throw new Error("Function called outside component initialization");
105
- return J;
103
+ function ir() {
104
+ if (!Y) throw new Error("Function called outside component initialization");
105
+ return Y;
106
106
  }
107
- function hr(e) {
108
- ur().$$.on_mount.push(e);
107
+ function or(e) {
108
+ ir().$$.on_mount.push(e);
109
109
  }
110
- const M = [], Te = [];
110
+ const $ = [], He = [];
111
111
  let R = [];
112
- const Qe = [], lr = /* @__PURE__ */ Promise.resolve();
113
- let Be = !1;
114
- function cr() {
115
- Be || (Be = !0, lr.then(le));
112
+ const We = [], sr = /* @__PURE__ */ Promise.resolve();
113
+ let Te = !1;
114
+ function ar() {
115
+ Te || (Te = !0, sr.then(J));
116
116
  }
117
- function Ae(e) {
117
+ function Be(e) {
118
118
  R.push(e);
119
119
  }
120
120
  const ve = /* @__PURE__ */ new Set();
121
121
  let L = 0;
122
- function le() {
122
+ function J() {
123
123
  if (L !== 0)
124
124
  return;
125
- const e = J;
125
+ const e = Y;
126
126
  do {
127
127
  try {
128
- for (; L < M.length; ) {
129
- const t = M[L];
130
- L++, Q(t), fr(t.$$);
128
+ for (; L < $.length; ) {
129
+ const t = $[L];
130
+ L++, Q(t), ur(t.$$);
131
131
  }
132
132
  } catch (t) {
133
- throw M.length = 0, L = 0, t;
133
+ throw $.length = 0, L = 0, t;
134
134
  }
135
- for (Q(null), M.length = 0, L = 0; Te.length; ) Te.pop()();
135
+ for (Q(null), $.length = 0, L = 0; He.length; ) He.pop()();
136
136
  for (let t = 0; t < R.length; t += 1) {
137
137
  const r = R[t];
138
138
  ve.has(r) || (ve.add(r), r());
139
139
  }
140
140
  R.length = 0;
141
- } while (M.length);
142
- for (; Qe.length; )
143
- Qe.pop()();
144
- Be = !1, ve.clear(), Q(e);
141
+ } while ($.length);
142
+ for (; We.length; )
143
+ We.pop()();
144
+ Te = !1, ve.clear(), Q(e);
145
145
  }
146
- function fr(e) {
146
+ function ur(e) {
147
147
  if (e.fragment !== null) {
148
- e.update(), K(e.before_update);
148
+ e.update(), ee(e.before_update);
149
149
  const t = e.dirty;
150
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
150
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
151
151
  }
152
152
  }
153
- function mr(e) {
153
+ function hr(e) {
154
154
  const t = [], r = [];
155
155
  R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
156
156
  }
157
- const pr = /* @__PURE__ */ new Set();
158
- function dr(e, t) {
159
- e && e.i && (pr.delete(e), e.i(t));
157
+ const lr = /* @__PURE__ */ new Set();
158
+ function cr(e, t) {
159
+ e && e.i && (lr.delete(e), e.i(t));
160
160
  }
161
- function br(e, t, r) {
161
+ function fr(e, t, r) {
162
162
  const { fragment: n, after_update: i } = e.$$;
163
- n && n.m(t, r), Ae(() => {
164
- const o = e.$$.on_mount.map(yt).filter(je);
165
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
166
- }), i.forEach(Ae);
163
+ n && n.m(t, r), Be(() => {
164
+ const o = e.$$.on_mount.map(pt).filter(Ge);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
166
+ }), i.forEach(Be);
167
167
  }
168
- function yr(e, t) {
168
+ function mr(e, t) {
169
169
  const r = e.$$;
170
- r.fragment !== null && (mr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (hr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
171
171
  }
172
- function vr(e, t) {
173
- e.$$.dirty[0] === -1 && (M.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function pr(e, t) {
173
+ e.$$.dirty[0] === -1 && ($.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
174
174
  }
175
- function gr(e, t, r, n, i, o, a = null, s = [-1]) {
176
- const h = J;
175
+ function dr(e, t, r, n, i, o, s = null, a = [-1]) {
176
+ const h = Y;
177
177
  Q(e);
178
178
  const u = e.$$ = {
179
179
  fragment: null,
180
180
  ctx: [],
181
181
  // state
182
182
  props: o,
183
- update: T,
183
+ update: w,
184
184
  not_equal: i,
185
- bound: Ze(),
185
+ bound: Xe(),
186
186
  // lifecycle
187
187
  on_mount: [],
188
188
  on_destroy: [],
@@ -191,28 +191,28 @@ function gr(e, t, r, n, i, o, a = null, s = [-1]) {
191
191
  after_update: [],
192
192
  context: new Map(t.context || (h ? h.$$.context : [])),
193
193
  // everything else
194
- callbacks: Ze(),
195
- dirty: s,
194
+ callbacks: Xe(),
195
+ dirty: a,
196
196
  skip_bound: !1,
197
197
  root: t.target || h.$$.root
198
198
  };
199
- a && a(u.root);
199
+ s && s(u.root);
200
200
  let l = !1;
201
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
202
- const v = d.length ? d[0] : f;
203
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && vr(e, c)), f;
204
- }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
201
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
202
+ const g = p.length ? p[0] : c;
203
+ return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && pr(e, f)), c;
204
+ }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
205
  if (t.hydrate) {
206
- const c = ir(t.target);
207
- u.fragment && u.fragment.l(c), c.forEach(V);
206
+ const f = er(t.target);
207
+ u.fragment && u.fragment.l(f), f.forEach(V);
208
208
  } else
209
209
  u.fragment && u.fragment.c();
210
- t.intro && dr(e.$$.fragment), br(e, t.target, t.anchor), le();
210
+ t.intro && cr(e.$$.fragment), fr(e, t.target, t.anchor), J();
211
211
  }
212
212
  Q(h);
213
213
  }
214
- let xt;
215
- typeof HTMLElement == "function" && (xt = class extends HTMLElement {
214
+ let yt;
215
+ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
216
216
  /** The Svelte component constructor */
217
217
  $$ctor;
218
218
  /** Slots */
@@ -254,14 +254,14 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
254
254
  let o;
255
255
  return {
256
256
  c: function() {
257
- o = D("slot"), i !== "default" && E(o, "name", i);
257
+ o = D("slot"), i !== "default" && _(o, "name", i);
258
258
  },
259
259
  /**
260
260
  * @param {HTMLElement} target
261
261
  * @param {HTMLElement} [anchor]
262
262
  */
263
263
  m: function(h, u) {
264
- ee(h, o, u);
264
+ te(h, o, u);
265
265
  },
266
266
  d: function(h) {
267
267
  h && V(o);
@@ -271,12 +271,12 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
271
271
  };
272
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
273
273
  return;
274
- const t = {}, r = ar(this);
274
+ const t = {}, r = nr(this);
275
275
  for (const i of this.$$s)
276
276
  i in r && (t[i] = [e(i)]);
277
277
  for (const i of this.attributes) {
278
278
  const o = this.$$g_p(i.name);
279
- o in this.$$d || (this.$$d[o] = se(o, i.value, this.$$p_d, "toProp"));
279
+ o in this.$$d || (this.$$d[o] = ae(o, i.value, this.$$p_d, "toProp"));
280
280
  }
281
281
  for (const i in this.$$p_d)
282
282
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
294
294
  this.$$r = !0;
295
295
  for (const i in this.$$p_d)
296
296
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
297
- const o = se(
297
+ const o = ae(
298
298
  i,
299
299
  this.$$d[i],
300
300
  this.$$p_d,
@@ -307,8 +307,8 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
307
307
  this.$$c.$$.after_update.push(n), n();
308
308
  for (const i in this.$$l)
309
309
  for (const o of this.$$l[i]) {
310
- const a = this.$$c.$on(i, o);
311
- this.$$l_u.set(o, a);
310
+ const s = this.$$c.$on(i, o);
311
+ this.$$l_u.set(o, s);
312
312
  }
313
313
  this.$$l = {};
314
314
  }
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
316
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
317
317
  // and setting attributes through setAttribute etc, this is helpful
318
318
  attributeChangedCallback(e, t, r) {
319
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
320
320
  }
321
321
  disconnectedCallback() {
322
322
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
329
329
  ) || e;
330
330
  }
331
331
  });
332
- function se(e, t, r, n) {
332
+ function ae(e, t, r, n) {
333
333
  const i = r[e]?.type;
334
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
335
335
  return t;
@@ -358,36 +358,36 @@ function se(e, t, r, n) {
358
358
  return t;
359
359
  }
360
360
  }
361
- function xr(e, t, r, n, i, o) {
362
- let a = class extends xt {
361
+ function br(e, t, r, n, i, o) {
362
+ let s = class extends yt {
363
363
  constructor() {
364
364
  super(e, r, i), this.$$p_d = t;
365
365
  }
366
366
  static get observedAttributes() {
367
367
  return Object.keys(t).map(
368
- (s) => (t[s].attribute || s).toLowerCase()
368
+ (a) => (t[a].attribute || a).toLowerCase()
369
369
  );
370
370
  }
371
371
  };
372
- return Object.keys(t).forEach((s) => {
373
- Object.defineProperty(a.prototype, s, {
372
+ return Object.keys(t).forEach((a) => {
373
+ Object.defineProperty(s.prototype, a, {
374
374
  get() {
375
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
375
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
376
376
  },
377
377
  set(h) {
378
- h = se(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
378
+ h = ae(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
379
379
  }
380
380
  });
381
- }), n.forEach((s) => {
382
- Object.defineProperty(a.prototype, s, {
381
+ }), n.forEach((a) => {
382
+ Object.defineProperty(s.prototype, a, {
383
383
  get() {
384
- return this.$$c?.[s];
384
+ return this.$$c?.[a];
385
385
  }
386
386
  });
387
387
  }), e.element = /** @type {any} */
388
- a, a;
388
+ s, s;
389
389
  }
390
- class _r {
390
+ class yr {
391
391
  /**
392
392
  * ### PRIVATE API
393
393
  *
@@ -406,7 +406,7 @@ class _r {
406
406
  $$set = void 0;
407
407
  /** @returns {void} */
408
408
  $destroy() {
409
- yr(this, 1), this.$destroy = T;
409
+ mr(this, 1), this.$destroy = w;
410
410
  }
411
411
  /**
412
412
  * @template {Extract<keyof Events, string>} K
@@ -415,8 +415,8 @@ class _r {
415
415
  * @returns {() => void}
416
416
  */
417
417
  $on(t, r) {
418
- if (!je(r))
419
- return T;
418
+ if (!Ge(r))
419
+ return w;
420
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
421
421
  return n.push(r), () => {
422
422
  const i = n.indexOf(r);
@@ -428,37 +428,37 @@ class _r {
428
428
  * @returns {void}
429
429
  */
430
430
  $set(t) {
431
- this.$$set && !Yt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
432
432
  }
433
433
  }
434
- const Er = "4";
435
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
436
- var Pe = function(e, t) {
437
- return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
434
+ const vr = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
436
+ var Ae = function(e, t) {
437
+ return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
438
438
  r.__proto__ = n;
439
439
  } || function(r, n) {
440
440
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
441
- }, Pe(e, t);
441
+ }, Ae(e, t);
442
442
  };
443
- function P(e, t) {
443
+ function A(e, t) {
444
444
  if (typeof t != "function" && t !== null)
445
445
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
446
- Pe(e, t);
446
+ Ae(e, t);
447
447
  function r() {
448
448
  this.constructor = e;
449
449
  }
450
450
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
451
451
  }
452
- var y = function() {
453
- return y = Object.assign || function(t) {
452
+ var v = function() {
453
+ return v = Object.assign || function(t) {
454
454
  for (var r, n = 1, i = arguments.length; n < i; n++) {
455
455
  r = arguments[n];
456
456
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
457
457
  }
458
458
  return t;
459
- }, y.apply(this, arguments);
459
+ }, v.apply(this, arguments);
460
460
  };
461
- function Sr(e, t) {
461
+ function gr(e, t) {
462
462
  var r = {};
463
463
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
464
464
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -466,7 +466,7 @@ function Sr(e, t) {
466
466
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
467
467
  return r;
468
468
  }
469
- function Oe(e) {
469
+ function Pe(e) {
470
470
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
471
471
  if (r) return r.call(e);
472
472
  if (e && typeof e.length == "number") return {
@@ -476,19 +476,19 @@ function Oe(e) {
476
476
  };
477
477
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
478
478
  }
479
- function Ie(e, t) {
479
+ function Oe(e, t) {
480
480
  var r = typeof Symbol == "function" && e[Symbol.iterator];
481
481
  if (!r) return e;
482
- var n = r.call(e), i, o = [], a;
482
+ var n = r.call(e), i, o = [], s;
483
483
  try {
484
484
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
485
- } catch (s) {
486
- a = { error: s };
485
+ } catch (a) {
486
+ s = { error: a };
487
487
  } finally {
488
488
  try {
489
489
  i && !i.done && (r = n.return) && r.call(n);
490
490
  } finally {
491
- if (a) throw a.error;
491
+ if (s) throw s.error;
492
492
  }
493
493
  }
494
494
  return o;
@@ -498,16 +498,16 @@ function U(e, t, r) {
498
498
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
499
499
  return e.concat(o || Array.prototype.slice.call(t));
500
500
  }
501
- function A(e) {
501
+ function B(e) {
502
502
  return typeof e == "function";
503
503
  }
504
- function _t(e) {
504
+ function vt(e) {
505
505
  var t = function(n) {
506
506
  Error.call(n), n.stack = new Error().stack;
507
507
  }, r = e(t);
508
508
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
509
509
  }
510
- var ge = _t(function(e) {
510
+ var ge = vt(function(e) {
511
511
  return function(r) {
512
512
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
513
513
  ` + r.map(function(n, i) {
@@ -516,7 +516,7 @@ var ge = _t(function(e) {
516
516
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
517
517
  };
518
518
  });
519
- function Ce(e, t) {
519
+ function Ie(e, t) {
520
520
  if (e) {
521
521
  var r = e.indexOf(t);
522
522
  0 <= r && e.splice(r, 1);
@@ -530,11 +530,11 @@ var me = function() {
530
530
  var t, r, n, i, o;
531
531
  if (!this.closed) {
532
532
  this.closed = !0;
533
- var a = this._parentage;
534
- if (a)
535
- if (this._parentage = null, Array.isArray(a))
533
+ var s = this._parentage;
534
+ if (s)
535
+ if (this._parentage = null, Array.isArray(s))
536
536
  try {
537
- for (var s = Oe(a), h = s.next(); !h.done; h = s.next()) {
537
+ for (var a = Pe(s), h = a.next(); !h.done; h = a.next()) {
538
538
  var u = h.value;
539
539
  u.remove(this);
540
540
  }
@@ -542,37 +542,37 @@ var me = function() {
542
542
  t = { error: m };
543
543
  } finally {
544
544
  try {
545
- h && !h.done && (r = s.return) && r.call(s);
545
+ h && !h.done && (r = a.return) && r.call(a);
546
546
  } finally {
547
547
  if (t) throw t.error;
548
548
  }
549
549
  }
550
550
  else
551
- a.remove(this);
551
+ s.remove(this);
552
552
  var l = this.initialTeardown;
553
- if (A(l))
553
+ if (B(l))
554
554
  try {
555
555
  l();
556
556
  } catch (m) {
557
557
  o = m instanceof ge ? m.errors : [m];
558
558
  }
559
- var c = this._finalizers;
560
- if (c) {
559
+ var f = this._finalizers;
560
+ if (f) {
561
561
  this._finalizers = null;
562
562
  try {
563
- for (var f = Oe(c), d = f.next(); !d.done; d = f.next()) {
564
- var v = d.value;
563
+ for (var c = Pe(f), p = c.next(); !p.done; p = c.next()) {
564
+ var g = p.value;
565
565
  try {
566
- Je(v);
566
+ ze(g);
567
567
  } catch (m) {
568
- o = o ?? [], m instanceof ge ? o = U(U([], Ie(o)), Ie(m.errors)) : o.push(m);
568
+ o = o ?? [], m instanceof ge ? o = U(U([], Oe(o)), Oe(m.errors)) : o.push(m);
569
569
  }
570
570
  }
571
571
  } catch (m) {
572
572
  n = { error: m };
573
573
  } finally {
574
574
  try {
575
- d && !d.done && (i = f.return) && i.call(f);
575
+ p && !p.done && (i = c.return) && i.call(c);
576
576
  } finally {
577
577
  if (n) throw n.error;
578
578
  }
@@ -585,7 +585,7 @@ var me = function() {
585
585
  var r;
586
586
  if (t && t !== this)
587
587
  if (this.closed)
588
- Je(t);
588
+ ze(t);
589
589
  else {
590
590
  if (t instanceof e) {
591
591
  if (t.closed || t._hasParent(this))
@@ -602,53 +602,49 @@ var me = function() {
602
602
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
603
603
  }, e.prototype._removeParent = function(t) {
604
604
  var r = this._parentage;
605
- r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
605
+ r === t ? this._parentage = null : Array.isArray(r) && Ie(r, t);
606
606
  }, e.prototype.remove = function(t) {
607
607
  var r = this._finalizers;
608
- r && Ce(r, t), t instanceof e && t._removeParent(this);
608
+ r && Ie(r, t), t instanceof e && t._removeParent(this);
609
609
  }, e.EMPTY = function() {
610
610
  var t = new e();
611
611
  return t.closed = !0, t;
612
612
  }(), e;
613
- }(), Et = me.EMPTY;
614
- function St(e) {
615
- return e instanceof me || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
613
+ }(), gt = me.EMPTY;
614
+ function xt(e) {
615
+ return e instanceof me || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
616
616
  }
617
- function Je(e) {
618
- A(e) ? e() : e.unsubscribe();
619
- }
620
- var wt = {
621
- onUnhandledError: null,
622
- onStoppedNotification: null,
623
- Promise: void 0,
624
- useDeprecatedSynchronousErrorHandling: !1,
625
- useDeprecatedNextContext: !1
626
- }, wr = {
617
+ function ze(e) {
618
+ B(e) ? e() : e.unsubscribe();
619
+ }
620
+ var xr = {
621
+ Promise: void 0
622
+ }, _r = {
627
623
  setTimeout: function(e, t) {
628
624
  for (var r = [], n = 2; n < arguments.length; n++)
629
625
  r[n - 2] = arguments[n];
630
- return setTimeout.apply(void 0, U([e, t], Ie(r)));
626
+ return setTimeout.apply(void 0, U([e, t], Oe(r)));
631
627
  },
632
628
  clearTimeout: function(e) {
633
629
  return clearTimeout(e);
634
630
  },
635
631
  delegate: void 0
636
632
  };
637
- function Hr(e) {
638
- wr.setTimeout(function() {
633
+ function Er(e) {
634
+ _r.setTimeout(function() {
639
635
  throw e;
640
636
  });
641
637
  }
642
- function Ye() {
638
+ function Ze() {
643
639
  }
644
- function ae(e) {
640
+ function ue(e) {
645
641
  e();
646
642
  }
647
- var Ht = function(e) {
648
- P(t, e);
643
+ var _t = function(e) {
644
+ A(t, e);
649
645
  function t(r) {
650
646
  var n = e.call(this) || this;
651
- return n.isStopped = !1, r ? (n.destination = r, St(r) && r.add(n)) : n.destination = Pr, n;
647
+ return n.isStopped = !1, r ? (n.destination = r, xt(r) && r.add(n)) : n.destination = Hr, n;
652
648
  }
653
649
  return t.create = function(r, n, i) {
654
650
  return new Ne(r, n, i);
@@ -675,11 +671,7 @@ var Ht = function(e) {
675
671
  this.unsubscribe();
676
672
  }
677
673
  }, t;
678
- }(me), Tr = Function.prototype.bind;
679
- function xe(e, t) {
680
- return Tr.call(e, t);
681
- }
682
- var Br = function() {
674
+ }(me), Sr = function() {
683
675
  function e(t) {
684
676
  this.partialObserver = t;
685
677
  }
@@ -689,7 +681,7 @@ var Br = function() {
689
681
  try {
690
682
  r.next(t);
691
683
  } catch (n) {
692
- ie(n);
684
+ oe(n);
693
685
  }
694
686
  }, e.prototype.error = function(t) {
695
687
  var r = this.partialObserver;
@@ -697,68 +689,56 @@ var Br = function() {
697
689
  try {
698
690
  r.error(t);
699
691
  } catch (n) {
700
- ie(n);
692
+ oe(n);
701
693
  }
702
694
  else
703
- ie(t);
695
+ oe(t);
704
696
  }, e.prototype.complete = function() {
705
697
  var t = this.partialObserver;
706
698
  if (t.complete)
707
699
  try {
708
700
  t.complete();
709
701
  } catch (r) {
710
- ie(r);
702
+ oe(r);
711
703
  }
712
704
  }, e;
713
705
  }(), Ne = function(e) {
714
- P(t, e);
706
+ A(t, e);
715
707
  function t(r, n, i) {
716
- var o = e.call(this) || this, a;
717
- if (A(r) || !r)
718
- a = {
719
- next: r ?? void 0,
720
- error: n ?? void 0,
721
- complete: i ?? void 0
722
- };
723
- else {
724
- var s;
725
- o && wt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
726
- return o.unsubscribe();
727
- }, a = {
728
- next: r.next && xe(r.next, s),
729
- error: r.error && xe(r.error, s),
730
- complete: r.complete && xe(r.complete, s)
731
- }) : a = r;
732
- }
733
- return o.destination = new Br(a), o;
708
+ var o = e.call(this) || this, s;
709
+ return B(r) || !r ? s = {
710
+ next: r ?? void 0,
711
+ error: n ?? void 0,
712
+ complete: i ?? void 0
713
+ } : s = r, o.destination = new Sr(s), o;
734
714
  }
735
715
  return t;
736
- }(Ht);
737
- function ie(e) {
738
- Hr(e);
716
+ }(_t);
717
+ function oe(e) {
718
+ Er(e);
739
719
  }
740
- function Ar(e) {
720
+ function wr(e) {
741
721
  throw e;
742
722
  }
743
- var Pr = {
723
+ var Hr = {
744
724
  closed: !0,
745
- next: Ye,
746
- error: Ar,
747
- complete: Ye
748
- }, Or = function() {
725
+ next: Ze,
726
+ error: wr,
727
+ complete: Ze
728
+ }, Tr = function() {
749
729
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
750
730
  }();
751
- function Ir(e) {
731
+ function Br(e) {
752
732
  return e;
753
733
  }
754
- function Cr(e) {
755
- return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(r) {
734
+ function Ar(e) {
735
+ return e.length === 0 ? Br : e.length === 1 ? e[0] : function(r) {
756
736
  return e.reduce(function(n, i) {
757
737
  return i(n);
758
738
  }, r);
759
739
  };
760
740
  }
761
- var qe = function() {
741
+ var Qe = function() {
762
742
  function e(t) {
763
743
  t && (this._subscribe = t);
764
744
  }
@@ -766,10 +746,10 @@ var qe = function() {
766
746
  var r = new e();
767
747
  return r.source = this, r.operator = t, r;
768
748
  }, e.prototype.subscribe = function(t, r, n) {
769
- var i = this, o = Lr(t) ? t : new Ne(t, r, n);
770
- return ae(function() {
771
- var a = i, s = a.operator, h = a.source;
772
- o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
749
+ var i = this, o = Or(t) ? t : new Ne(t, r, n);
750
+ return ue(function() {
751
+ var s = i, a = s.operator, h = s.source;
752
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
773
753
  }), o;
774
754
  }, e.prototype._trySubscribe = function(t) {
775
755
  try {
@@ -779,37 +759,37 @@ var qe = function() {
779
759
  }
780
760
  }, e.prototype.forEach = function(t, r) {
781
761
  var n = this;
782
- return r = Ke(r), new r(function(i, o) {
783
- var a = new Ne({
784
- next: function(s) {
762
+ return r = Je(r), new r(function(i, o) {
763
+ var s = new Ne({
764
+ next: function(a) {
785
765
  try {
786
- t(s);
766
+ t(a);
787
767
  } catch (h) {
788
- o(h), a.unsubscribe();
768
+ o(h), s.unsubscribe();
789
769
  }
790
770
  },
791
771
  error: o,
792
772
  complete: i
793
773
  });
794
- n.subscribe(a);
774
+ n.subscribe(s);
795
775
  });
796
776
  }, e.prototype._subscribe = function(t) {
797
777
  var r;
798
778
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
799
- }, e.prototype[Or] = function() {
779
+ }, e.prototype[Tr] = function() {
800
780
  return this;
801
781
  }, e.prototype.pipe = function() {
802
782
  for (var t = [], r = 0; r < arguments.length; r++)
803
783
  t[r] = arguments[r];
804
- return Cr(t)(this);
784
+ return Ar(t)(this);
805
785
  }, e.prototype.toPromise = function(t) {
806
786
  var r = this;
807
- return t = Ke(t), new t(function(n, i) {
787
+ return t = Je(t), new t(function(n, i) {
808
788
  var o;
809
- r.subscribe(function(a) {
810
- return o = a;
811
- }, function(a) {
812
- return i(a);
789
+ r.subscribe(function(s) {
790
+ return o = s;
791
+ }, function(s) {
792
+ return i(s);
813
793
  }, function() {
814
794
  return n(o);
815
795
  });
@@ -818,48 +798,48 @@ var qe = function() {
818
798
  return new e(t);
819
799
  }, e;
820
800
  }();
821
- function Ke(e) {
801
+ function Je(e) {
822
802
  var t;
823
- return (t = e ?? wt.Promise) !== null && t !== void 0 ? t : Promise;
803
+ return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
824
804
  }
825
- function Nr(e) {
826
- return e && A(e.next) && A(e.error) && A(e.complete);
805
+ function Pr(e) {
806
+ return e && B(e.next) && B(e.error) && B(e.complete);
827
807
  }
828
- function Lr(e) {
829
- return e && e instanceof Ht || Nr(e) && St(e);
808
+ function Or(e) {
809
+ return e && e instanceof _t || Pr(e) && xt(e);
830
810
  }
831
- var $r = _t(function(e) {
811
+ var Ir = vt(function(e) {
832
812
  return function() {
833
813
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
834
814
  };
835
- }), Tt = function(e) {
836
- P(t, e);
815
+ }), Et = function(e) {
816
+ A(t, e);
837
817
  function t() {
838
818
  var r = e.call(this) || this;
839
819
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
840
820
  }
841
821
  return t.prototype.lift = function(r) {
842
- var n = new et(this, this);
822
+ var n = new Ye(this, this);
843
823
  return n.operator = r, n;
844
824
  }, t.prototype._throwIfClosed = function() {
845
825
  if (this.closed)
846
- throw new $r();
826
+ throw new Ir();
847
827
  }, t.prototype.next = function(r) {
848
828
  var n = this;
849
- ae(function() {
829
+ ue(function() {
850
830
  var i, o;
851
831
  if (n._throwIfClosed(), !n.isStopped) {
852
832
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
853
833
  try {
854
- for (var a = Oe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
855
- var h = s.value;
834
+ for (var s = Pe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
835
+ var h = a.value;
856
836
  h.next(r);
857
837
  }
858
838
  } catch (u) {
859
839
  i = { error: u };
860
840
  } finally {
861
841
  try {
862
- s && !s.done && (o = a.return) && o.call(a);
842
+ a && !a.done && (o = s.return) && o.call(s);
863
843
  } finally {
864
844
  if (i) throw i.error;
865
845
  }
@@ -868,7 +848,7 @@ var $r = _t(function(e) {
868
848
  });
869
849
  }, t.prototype.error = function(r) {
870
850
  var n = this;
871
- ae(function() {
851
+ ue(function() {
872
852
  if (n._throwIfClosed(), !n.isStopped) {
873
853
  n.hasError = n.isStopped = !0, n.thrownError = r;
874
854
  for (var i = n.observers; i.length; )
@@ -877,7 +857,7 @@ var $r = _t(function(e) {
877
857
  });
878
858
  }, t.prototype.complete = function() {
879
859
  var r = this;
880
- ae(function() {
860
+ ue(function() {
881
861
  if (r._throwIfClosed(), !r.isStopped) {
882
862
  r.isStopped = !0;
883
863
  for (var n = r.observers; n.length; )
@@ -898,21 +878,21 @@ var $r = _t(function(e) {
898
878
  }, t.prototype._subscribe = function(r) {
899
879
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
900
880
  }, t.prototype._innerSubscribe = function(r) {
901
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
902
- return o || a ? Et : (this.currentObservers = null, s.push(r), new me(function() {
903
- n.currentObservers = null, Ce(s, r);
881
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
882
+ return o || s ? gt : (this.currentObservers = null, a.push(r), new me(function() {
883
+ n.currentObservers = null, Ie(a, r);
904
884
  }));
905
885
  }, t.prototype._checkFinalizedStatuses = function(r) {
906
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
907
- i ? r.error(o) : a && r.complete();
886
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
887
+ i ? r.error(o) : s && r.complete();
908
888
  }, t.prototype.asObservable = function() {
909
- var r = new qe();
889
+ var r = new Qe();
910
890
  return r.source = this, r;
911
891
  }, t.create = function(r, n) {
912
- return new et(r, n);
892
+ return new Ye(r, n);
913
893
  }, t;
914
- }(qe), et = function(e) {
915
- P(t, e);
894
+ }(Qe), Ye = function(e) {
895
+ A(t, e);
916
896
  function t(r, n) {
917
897
  var i = e.call(this) || this;
918
898
  return i.destination = r, i.source = n, i;
@@ -928,170 +908,170 @@ var $r = _t(function(e) {
928
908
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
929
909
  }, t.prototype._subscribe = function(r) {
930
910
  var n, i;
931
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Et;
911
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gt;
932
912
  }, t;
933
- }(Tt), Bt = {
913
+ }(Et), St = {
934
914
  now: function() {
935
- return (Bt.delegate || Date).now();
915
+ return (St.delegate || Date).now();
936
916
  },
937
917
  delegate: void 0
938
- }, Mr = function(e) {
939
- P(t, e);
918
+ }, Nr = function(e) {
919
+ A(t, e);
940
920
  function t(r, n, i) {
941
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Bt);
921
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = St);
942
922
  var o = e.call(this) || this;
943
923
  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;
944
924
  }
945
925
  return t.prototype.next = function(r) {
946
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
947
- i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
926
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
927
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
948
928
  }, t.prototype._subscribe = function(r) {
949
929
  this._throwIfClosed(), this._trimBuffer();
950
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
951
- r.next(s[h]);
930
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
931
+ r.next(a[h]);
952
932
  return this._checkFinalizedStatuses(r), n;
953
933
  }, t.prototype._trimBuffer = function() {
954
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
955
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
934
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
935
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
956
936
  for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
957
937
  u = l;
958
938
  u && o.splice(0, u + 1);
959
939
  }
960
940
  }, t;
961
- }(Tt);
962
- const tt = [], rt = {}, Rr = (e, t = 0) => {
963
- if (tt.indexOf(e) == -1) {
964
- const r = new Mr(t);
965
- rt[e] = r, tt.push(e);
941
+ }(Et);
942
+ const qe = [], Ke = {}, Cr = (e, t = 0) => {
943
+ if (qe.indexOf(e) == -1) {
944
+ const r = new Nr(t);
945
+ Ke[e] = r, qe.push(e);
966
946
  }
967
- return rt[e];
968
- }, $ = [];
969
- function Ur(e, t) {
947
+ return Ke[e];
948
+ }, M = [];
949
+ function Lr(e, t) {
970
950
  return {
971
951
  subscribe: pe(e, t).subscribe
972
952
  };
973
953
  }
974
- function pe(e, t = T) {
954
+ function pe(e, t = w) {
975
955
  let r;
976
956
  const n = /* @__PURE__ */ new Set();
977
- function i(s) {
978
- if (vt(e, s) && (e = s, r)) {
979
- const h = !$.length;
957
+ function i(a) {
958
+ if (dt(e, a) && (e = a, r)) {
959
+ const h = !M.length;
980
960
  for (const u of n)
981
- u[1](), $.push(u, e);
961
+ u[1](), M.push(u, e);
982
962
  if (h) {
983
- for (let u = 0; u < $.length; u += 2)
984
- $[u][0]($[u + 1]);
985
- $.length = 0;
963
+ for (let u = 0; u < M.length; u += 2)
964
+ M[u][0](M[u + 1]);
965
+ M.length = 0;
986
966
  }
987
967
  }
988
968
  }
989
- function o(s) {
990
- i(s(e));
969
+ function o(a) {
970
+ i(a(e));
991
971
  }
992
- function a(s, h = T) {
993
- const u = [s, h];
994
- return n.add(u), n.size === 1 && (r = t(i, o) || T), s(e), () => {
972
+ function s(a, h = w) {
973
+ const u = [a, h];
974
+ return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
995
975
  n.delete(u), n.size === 0 && r && (r(), r = null);
996
976
  };
997
977
  }
998
- return { set: i, update: o, subscribe: a };
978
+ return { set: i, update: o, subscribe: s };
999
979
  }
1000
980
  function X(e, t, r) {
1001
981
  const n = !Array.isArray(e), i = n ? [e] : e;
1002
982
  if (!i.every(Boolean))
1003
983
  throw new Error("derived() expects stores as input, got a falsy value");
1004
984
  const o = t.length < 2;
1005
- return Ur(r, (a, s) => {
985
+ return Lr(r, (s, a) => {
1006
986
  let h = !1;
1007
987
  const u = [];
1008
- let l = 0, c = T;
1009
- const f = () => {
988
+ let l = 0, f = w;
989
+ const c = () => {
1010
990
  if (l)
1011
991
  return;
1012
- c();
1013
- const v = t(n ? u[0] : u, a, s);
1014
- o ? a(v) : c = je(v) ? v : T;
1015
- }, d = i.map(
1016
- (v, m) => qt(
1017
- v,
1018
- (_) => {
1019
- u[m] = _, l &= ~(1 << m), h && f();
992
+ f();
993
+ const g = t(n ? u[0] : u, s, a);
994
+ o ? s(g) : f = Ge(g) ? g : w;
995
+ }, p = i.map(
996
+ (g, m) => Zt(
997
+ g,
998
+ (d) => {
999
+ u[m] = d, l &= ~(1 << m), h && c();
1020
1000
  },
1021
1001
  () => {
1022
1002
  l |= 1 << m;
1023
1003
  }
1024
1004
  )
1025
1005
  );
1026
- return h = !0, f(), function() {
1027
- K(d), c(), h = !1;
1006
+ return h = !0, c(), function() {
1007
+ ee(p), f(), h = !1;
1028
1008
  };
1029
1009
  });
1030
1010
  }
1031
- function Dr(e) {
1011
+ function Mr(e) {
1032
1012
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1033
1013
  }
1034
- var Fr = function(t) {
1035
- return Gr(t) && !jr(t);
1014
+ var $r = function(t) {
1015
+ return Rr(t) && !Ur(t);
1036
1016
  };
1037
- function Gr(e) {
1017
+ function Rr(e) {
1038
1018
  return !!e && typeof e == "object";
1039
1019
  }
1040
- function jr(e) {
1020
+ function Ur(e) {
1041
1021
  var t = Object.prototype.toString.call(e);
1042
- return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
1022
+ return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
1043
1023
  }
1044
- var kr = typeof Symbol == "function" && Symbol.for, Vr = kr ? Symbol.for("react.element") : 60103;
1045
- function Xr(e) {
1046
- return e.$$typeof === Vr;
1024
+ var Dr = typeof Symbol == "function" && Symbol.for, Fr = Dr ? Symbol.for("react.element") : 60103;
1025
+ function Gr(e) {
1026
+ return e.$$typeof === Fr;
1047
1027
  }
1048
- function Wr(e) {
1028
+ function jr(e) {
1049
1029
  return Array.isArray(e) ? [] : {};
1050
1030
  }
1051
- function Y(e, t) {
1052
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Wr(e), e, t) : e;
1031
+ function q(e, t) {
1032
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(jr(e), e, t) : e;
1053
1033
  }
1054
- function zr(e, t, r) {
1034
+ function kr(e, t, r) {
1055
1035
  return e.concat(t).map(function(n) {
1056
- return Y(n, r);
1036
+ return q(n, r);
1057
1037
  });
1058
1038
  }
1059
- function Zr(e, t) {
1039
+ function Vr(e, t) {
1060
1040
  if (!t.customMerge)
1061
1041
  return F;
1062
1042
  var r = t.customMerge(e);
1063
1043
  return typeof r == "function" ? r : F;
1064
1044
  }
1065
- function Qr(e) {
1045
+ function Xr(e) {
1066
1046
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1067
1047
  return Object.propertyIsEnumerable.call(e, t);
1068
1048
  }) : [];
1069
1049
  }
1070
- function nt(e) {
1071
- return Object.keys(e).concat(Qr(e));
1050
+ function et(e) {
1051
+ return Object.keys(e).concat(Xr(e));
1072
1052
  }
1073
- function At(e, t) {
1053
+ function wt(e, t) {
1074
1054
  try {
1075
1055
  return t in e;
1076
1056
  } catch {
1077
1057
  return !1;
1078
1058
  }
1079
1059
  }
1080
- function Jr(e, t) {
1081
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1060
+ function Wr(e, t) {
1061
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1082
1062
  }
1083
- function Yr(e, t, r) {
1063
+ function zr(e, t, r) {
1084
1064
  var n = {};
1085
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
1086
- n[i] = Y(e[i], r);
1087
- }), nt(t).forEach(function(i) {
1088
- Jr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1065
+ return r.isMergeableObject(e) && et(e).forEach(function(i) {
1066
+ n[i] = q(e[i], r);
1067
+ }), et(t).forEach(function(i) {
1068
+ Wr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1089
1069
  }), n;
1090
1070
  }
1091
1071
  function F(e, t, r) {
1092
- r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = Y;
1072
+ r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = q;
1093
1073
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1094
- return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : Y(t, r);
1074
+ return o ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : q(t, r);
1095
1075
  }
1096
1076
  F.all = function(t, r) {
1097
1077
  if (!Array.isArray(t))
@@ -1100,62 +1080,60 @@ F.all = function(t, r) {
1100
1080
  return F(n, i, r);
1101
1081
  }, {});
1102
1082
  };
1103
- var qr = F, Kr = qr;
1104
- const en = /* @__PURE__ */ Dr(Kr);
1105
- function _e(e, t) {
1106
- var r = t && t.cache ? t.cache : an, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : rn;
1083
+ var Zr = F, Qr = Zr;
1084
+ const Jr = /* @__PURE__ */ Mr(Qr);
1085
+ function xe(e, t) {
1086
+ var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
1107
1087
  return i(e, {
1108
1088
  cache: r,
1109
1089
  serializer: n
1110
1090
  });
1111
1091
  }
1112
- function tn(e) {
1092
+ function Yr(e) {
1113
1093
  return e == null || typeof e == "number" || typeof e == "boolean";
1114
1094
  }
1115
- function Pt(e, t, r, n) {
1116
- var i = tn(n) ? n : r(n), o = t.get(i);
1095
+ function qr(e, t, r, n) {
1096
+ var i = Yr(n) ? n : r(n), o = t.get(i);
1117
1097
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1118
1098
  }
1119
- function Ot(e, t, r) {
1099
+ function Ht(e, t, r) {
1120
1100
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1121
1101
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1122
1102
  }
1123
- function ke(e, t, r, n, i) {
1103
+ function Tt(e, t, r, n, i) {
1124
1104
  return r.bind(t, e, n, i);
1125
1105
  }
1126
- function rn(e, t) {
1127
- var r = e.length === 1 ? Pt : Ot;
1128
- return ke(e, this, r, t.cache.create(), t.serializer);
1106
+ function Kr(e, t) {
1107
+ var r = e.length === 1 ? qr : Ht;
1108
+ return Tt(e, this, r, t.cache.create(), t.serializer);
1129
1109
  }
1130
- function nn(e, t) {
1131
- return ke(e, this, Ot, t.cache.create(), t.serializer);
1110
+ function en(e, t) {
1111
+ return Tt(e, this, Ht, t.cache.create(), t.serializer);
1132
1112
  }
1133
- function on(e, t) {
1134
- return ke(e, this, Pt, t.cache.create(), t.serializer);
1135
- }
1136
- var sn = function() {
1113
+ var tn = function() {
1137
1114
  return JSON.stringify(arguments);
1138
- };
1139
- function Ve() {
1140
- this.cache = /* @__PURE__ */ Object.create(null);
1141
- }
1142
- Ve.prototype.get = function(e) {
1143
- return this.cache[e];
1144
- };
1145
- Ve.prototype.set = function(e, t) {
1146
- this.cache[e] = t;
1147
- };
1148
- var an = {
1115
+ }, rn = (
1116
+ /** @class */
1117
+ function() {
1118
+ function e() {
1119
+ this.cache = /* @__PURE__ */ Object.create(null);
1120
+ }
1121
+ return e.prototype.get = function(t) {
1122
+ return this.cache[t];
1123
+ }, e.prototype.set = function(t, r) {
1124
+ this.cache[t] = r;
1125
+ }, e;
1126
+ }()
1127
+ ), nn = {
1149
1128
  create: function() {
1150
- return new Ve();
1129
+ return new rn();
1151
1130
  }
1152
- }, Ee = {
1153
- variadic: nn,
1154
- monadic: on
1155
- }, p;
1131
+ }, _e = {
1132
+ variadic: en
1133
+ }, b;
1156
1134
  (function(e) {
1157
1135
  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";
1158
- })(p || (p = {}));
1136
+ })(b || (b = {}));
1159
1137
  var x;
1160
1138
  (function(e) {
1161
1139
  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";
@@ -1164,43 +1142,43 @@ var G;
1164
1142
  (function(e) {
1165
1143
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1166
1144
  })(G || (G = {}));
1167
- function it(e) {
1145
+ function tt(e) {
1168
1146
  return e.type === x.literal;
1169
1147
  }
1170
- function un(e) {
1148
+ function on(e) {
1171
1149
  return e.type === x.argument;
1172
1150
  }
1173
- function It(e) {
1151
+ function Bt(e) {
1174
1152
  return e.type === x.number;
1175
1153
  }
1176
- function Ct(e) {
1154
+ function At(e) {
1177
1155
  return e.type === x.date;
1178
1156
  }
1179
- function Nt(e) {
1157
+ function Pt(e) {
1180
1158
  return e.type === x.time;
1181
1159
  }
1182
- function Lt(e) {
1160
+ function Ot(e) {
1183
1161
  return e.type === x.select;
1184
1162
  }
1185
- function $t(e) {
1163
+ function It(e) {
1186
1164
  return e.type === x.plural;
1187
1165
  }
1188
- function hn(e) {
1166
+ function sn(e) {
1189
1167
  return e.type === x.pound;
1190
1168
  }
1191
- function Mt(e) {
1169
+ function Nt(e) {
1192
1170
  return e.type === x.tag;
1193
1171
  }
1194
- function Rt(e) {
1172
+ function Ct(e) {
1195
1173
  return !!(e && typeof e == "object" && e.type === G.number);
1196
1174
  }
1197
- function Le(e) {
1175
+ function Ce(e) {
1198
1176
  return !!(e && typeof e == "object" && e.type === G.dateTime);
1199
1177
  }
1200
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ln = /(?:[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;
1201
- function cn(e) {
1178
+ var Lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
1179
+ function un(e) {
1202
1180
  var t = {};
1203
- return e.replace(ln, function(r) {
1181
+ return e.replace(an, function(r) {
1204
1182
  var n = r.length;
1205
1183
  switch (r[0]) {
1206
1184
  case "G":
@@ -1289,36 +1267,36 @@ function cn(e) {
1289
1267
  return "";
1290
1268
  }), t;
1291
1269
  }
1292
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1293
- function mn(e) {
1270
+ var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1271
+ function ln(e) {
1294
1272
  if (e.length === 0)
1295
1273
  throw new Error("Number skeleton cannot be empty");
1296
- for (var t = e.split(fn).filter(function(f) {
1297
- return f.length > 0;
1274
+ for (var t = e.split(hn).filter(function(c) {
1275
+ return c.length > 0;
1298
1276
  }), r = [], n = 0, i = t; n < i.length; n++) {
1299
- var o = i[n], a = o.split("/");
1300
- if (a.length === 0)
1277
+ var o = i[n], s = o.split("/");
1278
+ if (s.length === 0)
1301
1279
  throw new Error("Invalid number skeleton");
1302
- for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1303
- var c = l[u];
1304
- if (c.length === 0)
1280
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1281
+ var f = l[u];
1282
+ if (f.length === 0)
1305
1283
  throw new Error("Invalid number skeleton");
1306
1284
  }
1307
- r.push({ stem: s, options: h });
1285
+ r.push({ stem: a, options: h });
1308
1286
  }
1309
1287
  return r;
1310
1288
  }
1311
- function pn(e) {
1289
+ function cn(e) {
1312
1290
  return e.replace(/^(.*?)-/, "");
1313
1291
  }
1314
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
1315
- function st(e) {
1292
+ var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
1293
+ function nt(e) {
1316
1294
  var t = {};
1317
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
1295
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
1318
1296
  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)), "";
1319
1297
  }), t;
1320
1298
  }
1321
- function Gt(e) {
1299
+ function Rt(e) {
1322
1300
  switch (e) {
1323
1301
  case "sign-auto":
1324
1302
  return {
@@ -1358,7 +1336,7 @@ function Gt(e) {
1358
1336
  };
1359
1337
  }
1360
1338
  }
1361
- function bn(e) {
1339
+ function mn(e) {
1362
1340
  var t;
1363
1341
  if (e[0] === "E" && e[1] === "E" ? (t = {
1364
1342
  notation: "engineering"
@@ -1366,17 +1344,17 @@ function bn(e) {
1366
1344
  notation: "scientific"
1367
1345
  }, e = e.slice(1)), t) {
1368
1346
  var r = e.slice(0, 2);
1369
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
1347
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
1370
1348
  throw new Error("Malformed concise eng/scientific notation");
1371
1349
  t.minimumIntegerDigits = e.length;
1372
1350
  }
1373
1351
  return t;
1374
1352
  }
1375
- function at(e) {
1376
- var t = {}, r = Gt(e);
1353
+ function it(e) {
1354
+ var t = {}, r = Rt(e);
1377
1355
  return r || t;
1378
1356
  }
1379
- function yn(e) {
1357
+ function pn(e) {
1380
1358
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1381
1359
  var i = n[r];
1382
1360
  switch (i.stem) {
@@ -1400,7 +1378,7 @@ function yn(e) {
1400
1378
  continue;
1401
1379
  case "measure-unit":
1402
1380
  case "unit":
1403
- t.style = "unit", t.unit = pn(i.options[0]);
1381
+ t.style = "unit", t.unit = cn(i.options[0]);
1404
1382
  continue;
1405
1383
  case "compact-short":
1406
1384
  case "K":
@@ -1411,13 +1389,13 @@ function yn(e) {
1411
1389
  t.notation = "compact", t.compactDisplay = "long";
1412
1390
  continue;
1413
1391
  case "scientific":
1414
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1415
- return y(y({}, h), at(u));
1392
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1393
+ return v(v({}, h), it(u));
1416
1394
  }, {}));
1417
1395
  continue;
1418
1396
  case "engineering":
1419
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1420
- return y(y({}, h), at(u));
1397
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1398
+ return v(v({}, h), it(u));
1421
1399
  }, {}));
1422
1400
  continue;
1423
1401
  case "notation-simple":
@@ -1462,45 +1440,45 @@ function yn(e) {
1462
1440
  case "integer-width":
1463
1441
  if (i.options.length > 1)
1464
1442
  throw new RangeError("integer-width stems only accept a single optional option");
1465
- i.options[0].replace(dn, function(h, u, l, c, f, d) {
1443
+ i.options[0].replace(fn, function(h, u, l, f, c, p) {
1466
1444
  if (u)
1467
1445
  t.minimumIntegerDigits = l.length;
1468
1446
  else {
1469
- if (c && f)
1447
+ if (f && c)
1470
1448
  throw new Error("We currently do not support maximum integer digits");
1471
- if (d)
1449
+ if (p)
1472
1450
  throw new Error("We currently do not support exact integer digits");
1473
1451
  }
1474
1452
  return "";
1475
1453
  });
1476
1454
  continue;
1477
1455
  }
1478
- if (Ft.test(i.stem)) {
1456
+ if ($t.test(i.stem)) {
1479
1457
  t.minimumIntegerDigits = i.stem.length;
1480
1458
  continue;
1481
1459
  }
1482
- if (ot.test(i.stem)) {
1460
+ if (rt.test(i.stem)) {
1483
1461
  if (i.options.length > 1)
1484
1462
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1485
- i.stem.replace(ot, function(h, u, l, c, f, d) {
1486
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1463
+ i.stem.replace(rt, function(h, u, l, f, c, p) {
1464
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1487
1465
  });
1488
1466
  var o = i.options[0];
1489
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), st(o)));
1467
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), nt(o)));
1490
1468
  continue;
1491
1469
  }
1492
- if (Dt.test(i.stem)) {
1493
- t = y(y({}, t), st(i.stem));
1470
+ if (Mt.test(i.stem)) {
1471
+ t = v(v({}, t), nt(i.stem));
1494
1472
  continue;
1495
1473
  }
1496
- var a = Gt(i.stem);
1497
- a && (t = y(y({}, t), a));
1498
- var s = bn(i.stem);
1499
- s && (t = y(y({}, t), s));
1474
+ var s = Rt(i.stem);
1475
+ s && (t = v(v({}, t), s));
1476
+ var a = mn(i.stem);
1477
+ a && (t = v(v({}, t), a));
1500
1478
  }
1501
1479
  return t;
1502
1480
  }
1503
- var oe = {
1481
+ var se = {
1504
1482
  "001": [
1505
1483
  "H",
1506
1484
  "h"
@@ -2915,22 +2893,22 @@ var oe = {
2915
2893
  "h"
2916
2894
  ]
2917
2895
  };
2918
- function vn(e, t) {
2896
+ function dn(e, t) {
2919
2897
  for (var r = "", n = 0; n < e.length; n++) {
2920
2898
  var i = e.charAt(n);
2921
2899
  if (i === "j") {
2922
2900
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2923
2901
  o++, n++;
2924
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = gn(t);
2925
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2902
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = bn(t);
2903
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2926
2904
  r += h;
2927
- for (; a-- > 0; )
2905
+ for (; s-- > 0; )
2928
2906
  r = u + r;
2929
2907
  } else i === "J" ? r += "H" : r += i;
2930
2908
  }
2931
2909
  return r;
2932
2910
  }
2933
- function gn(e) {
2911
+ function bn(e) {
2934
2912
  var t = e.hourCycle;
2935
2913
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2936
2914
  e.hourCycles && // @ts-ignore
@@ -2949,23 +2927,23 @@ function gn(e) {
2949
2927
  }
2950
2928
  var r = e.language, n;
2951
2929
  r !== "root" && (n = e.maximize().region);
2952
- var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2930
+ var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2953
2931
  return i[0];
2954
2932
  }
2955
- var Se, xn = new RegExp("^".concat(Ut.source, "*")), _n = new RegExp("".concat(Ut.source, "*$"));
2956
- function b(e, t) {
2933
+ var Ee, yn = new RegExp("^".concat(Lt.source, "*")), vn = new RegExp("".concat(Lt.source, "*$"));
2934
+ function y(e, t) {
2957
2935
  return { start: e, end: t };
2958
2936
  }
2959
- var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, wn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Pn = An ? Number.isSafeInteger : function(e) {
2937
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, _n = !!Object.fromEntries, En = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Tn = Hn ? Number.isSafeInteger : function(e) {
2960
2938
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2961
- }, $e = !0;
2939
+ }, Le = !0;
2962
2940
  try {
2963
- var On = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2964
- $e = ((Se = On.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2941
+ var Bn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2942
+ Le = ((Ee = Bn.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2965
2943
  } catch {
2966
- $e = !1;
2944
+ Le = !1;
2967
2945
  }
2968
- var ut = En ? (
2946
+ var ot = gn ? (
2969
2947
  // Native
2970
2948
  function(t, r, n) {
2971
2949
  return t.startsWith(r, n);
@@ -2975,31 +2953,31 @@ var ut = En ? (
2975
2953
  function(t, r, n) {
2976
2954
  return t.slice(n, n + r.length) === r;
2977
2955
  }
2978
- ), Me = Sn ? String.fromCodePoint : (
2956
+ ), Me = xn ? String.fromCodePoint : (
2979
2957
  // IE11
2980
2958
  function() {
2981
2959
  for (var t = [], r = 0; r < arguments.length; r++)
2982
2960
  t[r] = arguments[r];
2983
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
2984
- if (a = t[o++], a > 1114111)
2985
- throw RangeError(a + " is not a valid code point");
2986
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2961
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2962
+ if (s = t[o++], s > 1114111)
2963
+ throw RangeError(s + " is not a valid code point");
2964
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2987
2965
  }
2988
2966
  return n;
2989
2967
  }
2990
- ), ht = (
2968
+ ), st = (
2991
2969
  // native
2992
- wn ? Object.fromEntries : (
2970
+ _n ? Object.fromEntries : (
2993
2971
  // Ponyfill
2994
2972
  function(t) {
2995
2973
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2996
- var o = i[n], a = o[0], s = o[1];
2997
- r[a] = s;
2974
+ var o = i[n], s = o[0], a = o[1];
2975
+ r[s] = a;
2998
2976
  }
2999
2977
  return r;
3000
2978
  }
3001
2979
  )
3002
- ), jt = Hn ? (
2980
+ ), Ut = En ? (
3003
2981
  // Native
3004
2982
  function(t, r) {
3005
2983
  return t.codePointAt(r);
@@ -3013,7 +2991,7 @@ var ut = En ? (
3013
2991
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3014
2992
  }
3015
2993
  }
3016
- ), In = Tn ? (
2994
+ ), An = Sn ? (
3017
2995
  // Native
3018
2996
  function(t) {
3019
2997
  return t.trimStart();
@@ -3021,9 +2999,9 @@ var ut = En ? (
3021
2999
  ) : (
3022
3000
  // Ponyfill
3023
3001
  function(t) {
3024
- return t.replace(xn, "");
3002
+ return t.replace(yn, "");
3025
3003
  }
3026
- ), Cn = Bn ? (
3004
+ ), Pn = wn ? (
3027
3005
  // Native
3028
3006
  function(t) {
3029
3007
  return t.trimEnd();
@@ -3031,32 +3009,32 @@ var ut = En ? (
3031
3009
  ) : (
3032
3010
  // Ponyfill
3033
3011
  function(t) {
3034
- return t.replace(_n, "");
3012
+ return t.replace(vn, "");
3035
3013
  }
3036
3014
  );
3037
- function kt(e, t) {
3015
+ function Dt(e, t) {
3038
3016
  return new RegExp(e, t);
3039
3017
  }
3040
- var Re;
3041
- if ($e) {
3042
- var lt = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
- Re = function(t, r) {
3018
+ var $e;
3019
+ if (Le) {
3020
+ var at = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3021
+ $e = function(t, r) {
3044
3022
  var n;
3045
- lt.lastIndex = r;
3046
- var i = lt.exec(t);
3023
+ at.lastIndex = r;
3024
+ var i = at.exec(t);
3047
3025
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3048
3026
  };
3049
3027
  } else
3050
- Re = function(t, r) {
3028
+ $e = function(t, r) {
3051
3029
  for (var n = []; ; ) {
3052
- var i = jt(t, r);
3053
- if (i === void 0 || Vt(i) || Mn(i))
3030
+ var i = Ut(t, r);
3031
+ if (i === void 0 || Ft(i) || Cn(i))
3054
3032
  break;
3055
3033
  n.push(i), r += i >= 65536 ? 2 : 1;
3056
3034
  }
3057
3035
  return Me.apply(void 0, n);
3058
3036
  };
3059
- var Nn = (
3037
+ var On = (
3060
3038
  /** @class */
3061
3039
  function() {
3062
3040
  function e(t, r) {
@@ -3070,33 +3048,33 @@ var Nn = (
3070
3048
  for (var i = []; !this.isEOF(); ) {
3071
3049
  var o = this.char();
3072
3050
  if (o === 123) {
3073
- var a = this.parseArgument(t, n);
3074
- if (a.err)
3075
- return a;
3076
- i.push(a.val);
3051
+ var s = this.parseArgument(t, n);
3052
+ if (s.err)
3053
+ return s;
3054
+ i.push(s.val);
3077
3055
  } else {
3078
3056
  if (o === 125 && t > 0)
3079
3057
  break;
3080
3058
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3081
- var s = this.clonePosition();
3059
+ var a = this.clonePosition();
3082
3060
  this.bump(), i.push({
3083
3061
  type: x.pound,
3084
- location: b(s, this.clonePosition())
3062
+ location: y(a, this.clonePosition())
3085
3063
  });
3086
3064
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3087
3065
  if (n)
3088
3066
  break;
3089
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3090
- } else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
3091
- var a = this.parseTag(t, r);
3092
- if (a.err)
3093
- return a;
3094
- i.push(a.val);
3067
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3068
+ } else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
3069
+ var s = this.parseTag(t, r);
3070
+ if (s.err)
3071
+ return s;
3072
+ i.push(s.val);
3095
3073
  } else {
3096
- var a = this.parseLiteral(t, r);
3097
- if (a.err)
3098
- return a;
3099
- i.push(a.val);
3074
+ var s = this.parseLiteral(t, r);
3075
+ if (s.err)
3076
+ return s;
3077
+ i.push(s.val);
3100
3078
  }
3101
3079
  }
3102
3080
  }
@@ -3110,7 +3088,7 @@ var Nn = (
3110
3088
  val: {
3111
3089
  type: x.literal,
3112
3090
  value: "<".concat(i, "/>"),
3113
- location: b(n, this.clonePosition())
3091
+ location: y(n, this.clonePosition())
3114
3092
  },
3115
3093
  err: null
3116
3094
  };
@@ -3118,27 +3096,27 @@ var Nn = (
3118
3096
  var o = this.parseMessage(t + 1, r, !0);
3119
3097
  if (o.err)
3120
3098
  return o;
3121
- var a = o.val, s = this.clonePosition();
3099
+ var s = o.val, a = this.clonePosition();
3122
3100
  if (this.bumpIf("</")) {
3123
- if (this.isEOF() || !Ue(this.char()))
3124
- return this.error(p.INVALID_TAG, b(s, this.clonePosition()));
3101
+ if (this.isEOF() || !Re(this.char()))
3102
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3125
3103
  var h = this.clonePosition(), u = this.parseTagName();
3126
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3104
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3127
3105
  val: {
3128
3106
  type: x.tag,
3129
3107
  value: i,
3130
- children: a,
3131
- location: b(n, this.clonePosition())
3108
+ children: s,
3109
+ location: y(n, this.clonePosition())
3132
3110
  },
3133
3111
  err: null
3134
- } : this.error(p.INVALID_TAG, b(s, this.clonePosition())));
3112
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3135
3113
  } else
3136
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3114
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3137
3115
  } else
3138
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3116
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3139
3117
  }, e.prototype.parseTagName = function() {
3140
3118
  var t = this.offset();
3141
- for (this.bump(); !this.isEOF() && $n(this.char()); )
3119
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
3142
3120
  this.bump();
3143
3121
  return this.message.slice(t, this.offset());
3144
3122
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3148,26 +3126,26 @@ var Nn = (
3148
3126
  i += o;
3149
3127
  continue;
3150
3128
  }
3151
- var a = this.tryParseUnquoted(t, r);
3152
- if (a) {
3153
- i += a;
3154
- continue;
3155
- }
3156
- var s = this.tryParseLeftAngleBracket();
3129
+ var s = this.tryParseUnquoted(t, r);
3157
3130
  if (s) {
3158
3131
  i += s;
3159
3132
  continue;
3160
3133
  }
3134
+ var a = this.tryParseLeftAngleBracket();
3135
+ if (a) {
3136
+ i += a;
3137
+ continue;
3138
+ }
3161
3139
  break;
3162
3140
  }
3163
- var h = b(n, this.clonePosition());
3141
+ var h = y(n, this.clonePosition());
3164
3142
  return {
3165
3143
  val: { type: x.literal, value: i, location: h },
3166
3144
  err: null
3167
3145
  };
3168
3146
  }, e.prototype.tryParseLeftAngleBracket = function() {
3169
3147
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3170
- !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
3148
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
3171
3149
  }, e.prototype.tryParseQuote = function(t) {
3172
3150
  if (this.isEOF() || this.char() !== 39)
3173
3151
  return null;
@@ -3210,14 +3188,14 @@ var Nn = (
3210
3188
  }, e.prototype.parseArgument = function(t, r) {
3211
3189
  var n = this.clonePosition();
3212
3190
  if (this.bump(), this.bumpSpace(), this.isEOF())
3213
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3191
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3214
3192
  if (this.char() === 125)
3215
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3193
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3216
3194
  var i = this.parseIdentifierIfPossible().value;
3217
3195
  if (!i)
3218
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3196
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3219
3197
  if (this.bumpSpace(), this.isEOF())
3220
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3198
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3221
3199
  switch (this.char()) {
3222
3200
  case 125:
3223
3201
  return this.bump(), {
@@ -3225,25 +3203,25 @@ var Nn = (
3225
3203
  type: x.argument,
3226
3204
  // value does not include the opening and closing braces.
3227
3205
  value: i,
3228
- location: b(n, this.clonePosition())
3206
+ location: y(n, this.clonePosition())
3229
3207
  },
3230
3208
  err: null
3231
3209
  };
3232
3210
  case 44:
3233
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3211
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3234
3212
  default:
3235
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3213
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3236
3214
  }
3237
3215
  }, e.prototype.parseIdentifierIfPossible = function() {
3238
- var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
3216
+ var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
3239
3217
  this.bumpTo(i);
3240
- var o = this.clonePosition(), a = b(t, o);
3241
- return { value: n, location: a };
3218
+ var o = this.clonePosition(), s = y(t, o);
3219
+ return { value: n, location: s };
3242
3220
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3243
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3244
- switch (s) {
3221
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3222
+ switch (a) {
3245
3223
  case "":
3246
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(a, h));
3224
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
3247
3225
  case "number":
3248
3226
  case "date":
3249
3227
  case "time": {
@@ -3251,47 +3229,47 @@ var Nn = (
3251
3229
  var u = null;
3252
3230
  if (this.bumpIf(",")) {
3253
3231
  this.bumpSpace();
3254
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3255
- if (c.err)
3256
- return c;
3257
- var f = Cn(c.val);
3258
- if (f.length === 0)
3259
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3260
- var d = b(l, this.clonePosition());
3261
- u = { style: f, styleLocation: d };
3232
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3233
+ if (f.err)
3234
+ return f;
3235
+ var c = Pn(f.val);
3236
+ if (c.length === 0)
3237
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3238
+ var p = y(l, this.clonePosition());
3239
+ u = { style: c, styleLocation: p };
3262
3240
  }
3263
- var v = this.tryParseArgumentClose(i);
3264
- if (v.err)
3265
- return v;
3266
- var m = b(i, this.clonePosition());
3267
- if (u && ut(u?.style, "::", 0)) {
3268
- var _ = In(u.style.slice(2));
3269
- if (s === "number") {
3270
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3271
- return c.err ? c : {
3272
- val: { type: x.number, value: n, location: m, style: c.val },
3241
+ var g = this.tryParseArgumentClose(i);
3242
+ if (g.err)
3243
+ return g;
3244
+ var m = y(i, this.clonePosition());
3245
+ if (u && ot(u?.style, "::", 0)) {
3246
+ var d = An(u.style.slice(2));
3247
+ if (a === "number") {
3248
+ var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
3249
+ return f.err ? f : {
3250
+ val: { type: x.number, value: n, location: m, style: f.val },
3273
3251
  err: null
3274
3252
  };
3275
3253
  } else {
3276
- if (_.length === 0)
3277
- return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
3278
- var g = _;
3279
- this.locale && (g = vn(_, this.locale));
3280
- var f = {
3254
+ if (d.length === 0)
3255
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3256
+ var S = d;
3257
+ this.locale && (S = dn(d, this.locale));
3258
+ var c = {
3281
3259
  type: G.dateTime,
3282
- pattern: g,
3260
+ pattern: S,
3283
3261
  location: u.styleLocation,
3284
- parsedOptions: this.shouldParseSkeletons ? cn(g) : {}
3285
- }, H = s === "date" ? x.date : x.time;
3262
+ parsedOptions: this.shouldParseSkeletons ? un(S) : {}
3263
+ }, P = a === "date" ? x.date : x.time;
3286
3264
  return {
3287
- val: { type: H, value: n, location: m, style: f },
3265
+ val: { type: P, value: n, location: m, style: c },
3288
3266
  err: null
3289
3267
  };
3290
3268
  }
3291
3269
  }
3292
3270
  return {
3293
3271
  val: {
3294
- type: s === "number" ? x.number : s === "date" ? x.date : x.time,
3272
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3295
3273
  value: n,
3296
3274
  location: m,
3297
3275
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3302,52 +3280,52 @@ var Nn = (
3302
3280
  case "plural":
3303
3281
  case "selectordinal":
3304
3282
  case "select": {
3305
- var S = this.clonePosition();
3283
+ var H = this.clonePosition();
3306
3284
  if (this.bumpSpace(), !this.bumpIf(","))
3307
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3285
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, v({}, H)));
3308
3286
  this.bumpSpace();
3309
3287
  var z = this.parseIdentifierIfPossible(), I = 0;
3310
- if (s !== "select" && z.value === "offset") {
3288
+ if (a !== "select" && z.value === "offset") {
3311
3289
  if (!this.bumpIf(":"))
3312
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3290
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3313
3291
  this.bumpSpace();
3314
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3315
- if (c.err)
3316
- return c;
3317
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
3292
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3293
+ if (f.err)
3294
+ return f;
3295
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = f.val;
3318
3296
  }
3319
- var ne = this.tryParsePluralOrSelectOptions(t, s, r, z);
3320
- if (ne.err)
3321
- return ne;
3322
- var v = this.tryParseArgumentClose(i);
3323
- if (v.err)
3324
- return v;
3325
- var ze = b(i, this.clonePosition());
3326
- return s === "select" ? {
3297
+ var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
3298
+ if (ie.err)
3299
+ return ie;
3300
+ var g = this.tryParseArgumentClose(i);
3301
+ if (g.err)
3302
+ return g;
3303
+ var Ve = y(i, this.clonePosition());
3304
+ return a === "select" ? {
3327
3305
  val: {
3328
3306
  type: x.select,
3329
3307
  value: n,
3330
- options: ht(ne.val),
3331
- location: ze
3308
+ options: st(ie.val),
3309
+ location: Ve
3332
3310
  },
3333
3311
  err: null
3334
3312
  } : {
3335
3313
  val: {
3336
3314
  type: x.plural,
3337
3315
  value: n,
3338
- options: ht(ne.val),
3316
+ options: st(ie.val),
3339
3317
  offset: I,
3340
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3341
- location: ze
3318
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3319
+ location: Ve
3342
3320
  },
3343
3321
  err: null
3344
3322
  };
3345
3323
  }
3346
3324
  default:
3347
- return this.error(p.INVALID_ARGUMENT_TYPE, b(a, h));
3325
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
3348
3326
  }
3349
3327
  }, e.prototype.tryParseArgumentClose = function(t) {
3350
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3328
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3351
3329
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3352
3330
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3353
3331
  var n = this.char();
@@ -3356,7 +3334,7 @@ var Nn = (
3356
3334
  this.bump();
3357
3335
  var i = this.clonePosition();
3358
3336
  if (!this.bumpUntil("'"))
3359
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3337
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3360
3338
  this.bump();
3361
3339
  break;
3362
3340
  }
@@ -3386,64 +3364,64 @@ var Nn = (
3386
3364
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3387
3365
  var n = [];
3388
3366
  try {
3389
- n = mn(t);
3367
+ n = ln(t);
3390
3368
  } catch {
3391
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3369
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3392
3370
  }
3393
3371
  return {
3394
3372
  val: {
3395
3373
  type: G.number,
3396
3374
  tokens: n,
3397
3375
  location: r,
3398
- parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3376
+ parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
3399
3377
  },
3400
3378
  err: null
3401
3379
  };
3402
3380
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3403
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3381
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3404
3382
  if (u.length === 0) {
3405
- var c = this.clonePosition();
3383
+ var f = this.clonePosition();
3406
3384
  if (r !== "select" && this.bumpIf("=")) {
3407
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3408
- if (f.err)
3409
- return f;
3410
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3385
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3386
+ if (c.err)
3387
+ return c;
3388
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3411
3389
  } else
3412
3390
  break;
3413
3391
  }
3414
3392
  if (h.has(u))
3415
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3416
- u === "other" && (a = !0), this.bumpSpace();
3417
- var d = this.clonePosition();
3393
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3394
+ u === "other" && (s = !0), this.bumpSpace();
3395
+ var p = this.clonePosition();
3418
3396
  if (!this.bumpIf("{"))
3419
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3420
- var v = this.parseMessage(t + 1, r, n);
3421
- if (v.err)
3422
- return v;
3423
- var m = this.tryParseArgumentClose(d);
3397
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3398
+ var g = this.parseMessage(t + 1, r, n);
3399
+ if (g.err)
3400
+ return g;
3401
+ var m = this.tryParseArgumentClose(p);
3424
3402
  if (m.err)
3425
3403
  return m;
3426
- s.push([
3404
+ a.push([
3427
3405
  u,
3428
3406
  {
3429
- value: v.val,
3430
- location: b(d, this.clonePosition())
3407
+ value: g.val,
3408
+ location: y(p, this.clonePosition())
3431
3409
  }
3432
3410
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3433
3411
  }
3434
- return s.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3412
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3435
3413
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3436
3414
  var n = 1, i = this.clonePosition();
3437
3415
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3438
- for (var o = !1, a = 0; !this.isEOF(); ) {
3439
- var s = this.char();
3440
- if (s >= 48 && s <= 57)
3441
- o = !0, a = a * 10 + (s - 48), this.bump();
3416
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3417
+ var a = this.char();
3418
+ if (a >= 48 && a <= 57)
3419
+ o = !0, s = s * 10 + (a - 48), this.bump();
3442
3420
  else
3443
3421
  break;
3444
3422
  }
3445
- var h = b(i, this.clonePosition());
3446
- return o ? (a *= n, Pn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3423
+ var h = y(i, this.clonePosition());
3424
+ return o ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3447
3425
  }, e.prototype.offset = function() {
3448
3426
  return this.position.offset;
3449
3427
  }, e.prototype.isEOF = function() {
@@ -3458,7 +3436,7 @@ var Nn = (
3458
3436
  var t = this.position.offset;
3459
3437
  if (t >= this.message.length)
3460
3438
  throw Error("out of bound");
3461
- var r = jt(this.message, t);
3439
+ var r = Ut(this.message, t);
3462
3440
  if (r === void 0)
3463
3441
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3464
3442
  return r;
@@ -3477,7 +3455,7 @@ var Nn = (
3477
3455
  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);
3478
3456
  }
3479
3457
  }, e.prototype.bumpIf = function(t) {
3480
- if (ut(this.message, t, this.offset())) {
3458
+ if (ot(this.message, t, this.offset())) {
3481
3459
  for (var r = 0; r < t.length; r++)
3482
3460
  this.bump();
3483
3461
  return !0;
@@ -3499,7 +3477,7 @@ var Nn = (
3499
3477
  break;
3500
3478
  }
3501
3479
  }, e.prototype.bumpSpace = function() {
3502
- for (; !this.isEOF() && Vt(this.char()); )
3480
+ for (; !this.isEOF() && Ft(this.char()); )
3503
3481
  this.bump();
3504
3482
  }, e.prototype.peek = function() {
3505
3483
  if (this.isEOF())
@@ -3509,37 +3487,37 @@ var Nn = (
3509
3487
  }, e;
3510
3488
  }()
3511
3489
  );
3512
- function Ue(e) {
3490
+ function Re(e) {
3513
3491
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3514
3492
  }
3515
- function Ln(e) {
3516
- return Ue(e) || e === 47;
3493
+ function In(e) {
3494
+ return Re(e) || e === 47;
3517
3495
  }
3518
- function $n(e) {
3496
+ function Nn(e) {
3519
3497
  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;
3520
3498
  }
3521
- function Vt(e) {
3499
+ function Ft(e) {
3522
3500
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3523
3501
  }
3524
- function Mn(e) {
3502
+ function Cn(e) {
3525
3503
  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;
3526
3504
  }
3527
- function De(e) {
3505
+ function Ue(e) {
3528
3506
  e.forEach(function(t) {
3529
- if (delete t.location, Lt(t) || $t(t))
3507
+ if (delete t.location, Ot(t) || It(t))
3530
3508
  for (var r in t.options)
3531
- delete t.options[r].location, De(t.options[r].value);
3532
- else It(t) && Rt(t.style) || (Ct(t) || Nt(t)) && Le(t.style) ? delete t.style.location : Mt(t) && De(t.children);
3509
+ delete t.options[r].location, Ue(t.options[r].value);
3510
+ else Bt(t) && Ct(t.style) || (At(t) || Pt(t)) && Ce(t.style) ? delete t.style.location : Nt(t) && Ue(t.children);
3533
3511
  });
3534
3512
  }
3535
- function Rn(e, t) {
3536
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3537
- var r = new Nn(e, t).parse();
3513
+ function Ln(e, t) {
3514
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3515
+ var r = new On(e, t).parse();
3538
3516
  if (r.err) {
3539
- var n = SyntaxError(p[r.err.kind]);
3517
+ var n = SyntaxError(b[r.err.kind]);
3540
3518
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3541
3519
  }
3542
- return t?.captureLocation || De(r.val), r.val;
3520
+ return t?.captureLocation || Ue(r.val), r.val;
3543
3521
  }
3544
3522
  var j;
3545
3523
  (function(e) {
@@ -3548,7 +3526,7 @@ var j;
3548
3526
  var de = (
3549
3527
  /** @class */
3550
3528
  function(e) {
3551
- P(t, e);
3529
+ A(t, e);
3552
3530
  function t(r, n, i) {
3553
3531
  var o = e.call(this, r) || this;
3554
3532
  return o.code = n, o.originalMessage = i, o;
@@ -3557,155 +3535,155 @@ var de = (
3557
3535
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3558
3536
  }, t;
3559
3537
  }(Error)
3560
- ), ct = (
3538
+ ), ut = (
3561
3539
  /** @class */
3562
3540
  function(e) {
3563
- P(t, e);
3541
+ A(t, e);
3564
3542
  function t(r, n, i, o) {
3565
3543
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3566
3544
  }
3567
3545
  return t;
3568
3546
  }(de)
3569
- ), Un = (
3547
+ ), Mn = (
3570
3548
  /** @class */
3571
3549
  function(e) {
3572
- P(t, e);
3550
+ A(t, e);
3573
3551
  function t(r, n, i) {
3574
3552
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3575
3553
  }
3576
3554
  return t;
3577
3555
  }(de)
3578
- ), Dn = (
3556
+ ), $n = (
3579
3557
  /** @class */
3580
3558
  function(e) {
3581
- P(t, e);
3559
+ A(t, e);
3582
3560
  function t(r, n) {
3583
3561
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3584
3562
  }
3585
3563
  return t;
3586
3564
  }(de)
3587
- ), w;
3565
+ ), E;
3588
3566
  (function(e) {
3589
3567
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3590
- })(w || (w = {}));
3591
- function Fn(e) {
3568
+ })(E || (E = {}));
3569
+ function Rn(e) {
3592
3570
  return e.length < 2 ? e : e.reduce(function(t, r) {
3593
3571
  var n = t[t.length - 1];
3594
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3572
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3595
3573
  }, []);
3596
3574
  }
3597
- function Gn(e) {
3575
+ function Un(e) {
3598
3576
  return typeof e == "function";
3599
3577
  }
3600
- function ue(e, t, r, n, i, o, a) {
3601
- if (e.length === 1 && it(e[0]))
3578
+ function he(e, t, r, n, i, o, s) {
3579
+ if (e.length === 1 && tt(e[0]))
3602
3580
  return [
3603
3581
  {
3604
- type: w.literal,
3582
+ type: E.literal,
3605
3583
  value: e[0].value
3606
3584
  }
3607
3585
  ];
3608
- for (var s = [], h = 0, u = e; h < u.length; h++) {
3586
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3609
3587
  var l = u[h];
3610
- if (it(l)) {
3611
- s.push({
3612
- type: w.literal,
3588
+ if (tt(l)) {
3589
+ a.push({
3590
+ type: E.literal,
3613
3591
  value: l.value
3614
3592
  });
3615
3593
  continue;
3616
3594
  }
3617
- if (hn(l)) {
3618
- typeof o == "number" && s.push({
3619
- type: w.literal,
3595
+ if (sn(l)) {
3596
+ typeof o == "number" && a.push({
3597
+ type: E.literal,
3620
3598
  value: r.getNumberFormat(t).format(o)
3621
3599
  });
3622
3600
  continue;
3623
3601
  }
3624
- var c = l.value;
3625
- if (!(i && c in i))
3626
- throw new Dn(c, a);
3627
- var f = i[c];
3628
- if (un(l)) {
3629
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3630
- type: typeof f == "string" ? w.literal : w.object,
3631
- value: f
3602
+ var f = l.value;
3603
+ if (!(i && f in i))
3604
+ throw new $n(f, s);
3605
+ var c = i[f];
3606
+ if (on(l)) {
3607
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3608
+ type: typeof c == "string" ? E.literal : E.object,
3609
+ value: c
3632
3610
  });
3633
3611
  continue;
3634
3612
  }
3635
- if (Ct(l)) {
3636
- var d = typeof l.style == "string" ? n.date[l.style] : Le(l.style) ? l.style.parsedOptions : void 0;
3637
- s.push({
3638
- type: w.literal,
3639
- value: r.getDateTimeFormat(t, d).format(f)
3613
+ if (At(l)) {
3614
+ var p = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
3615
+ a.push({
3616
+ type: E.literal,
3617
+ value: r.getDateTimeFormat(t, p).format(c)
3640
3618
  });
3641
3619
  continue;
3642
3620
  }
3643
- if (Nt(l)) {
3644
- var d = typeof l.style == "string" ? n.time[l.style] : Le(l.style) ? l.style.parsedOptions : n.time.medium;
3645
- s.push({
3646
- type: w.literal,
3647
- value: r.getDateTimeFormat(t, d).format(f)
3621
+ if (Pt(l)) {
3622
+ var p = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
3623
+ a.push({
3624
+ type: E.literal,
3625
+ value: r.getDateTimeFormat(t, p).format(c)
3648
3626
  });
3649
3627
  continue;
3650
3628
  }
3651
- if (It(l)) {
3652
- var d = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3653
- d && d.scale && (f = f * (d.scale || 1)), s.push({
3654
- type: w.literal,
3655
- value: r.getNumberFormat(t, d).format(f)
3629
+ if (Bt(l)) {
3630
+ var p = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
3631
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3632
+ type: E.literal,
3633
+ value: r.getNumberFormat(t, p).format(c)
3656
3634
  });
3657
3635
  continue;
3658
3636
  }
3659
- if (Mt(l)) {
3660
- var v = l.children, m = l.value, _ = i[m];
3661
- if (!Gn(_))
3662
- throw new Un(m, "function", a);
3663
- var g = ue(v, t, r, n, i, o), H = _(g.map(function(I) {
3637
+ if (Nt(l)) {
3638
+ var g = l.children, m = l.value, d = i[m];
3639
+ if (!Un(d))
3640
+ throw new Mn(m, "function", s);
3641
+ var S = he(g, t, r, n, i, o), P = d(S.map(function(I) {
3664
3642
  return I.value;
3665
3643
  }));
3666
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(I) {
3644
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
3667
3645
  return {
3668
- type: typeof I == "string" ? w.literal : w.object,
3646
+ type: typeof I == "string" ? E.literal : E.object,
3669
3647
  value: I
3670
3648
  };
3671
3649
  }));
3672
3650
  }
3673
- if (Lt(l)) {
3674
- var S = l.options[f] || l.options.other;
3675
- if (!S)
3676
- throw new ct(l.value, f, Object.keys(l.options), a);
3677
- s.push.apply(s, ue(S.value, t, r, n, i));
3651
+ if (Ot(l)) {
3652
+ var H = l.options[c] || l.options.other;
3653
+ if (!H)
3654
+ throw new ut(l.value, c, Object.keys(l.options), s);
3655
+ a.push.apply(a, he(H.value, t, r, n, i));
3678
3656
  continue;
3679
3657
  }
3680
- if ($t(l)) {
3681
- var S = l.options["=".concat(f)];
3682
- if (!S) {
3658
+ if (It(l)) {
3659
+ var H = l.options["=".concat(c)];
3660
+ if (!H) {
3683
3661
  if (!Intl.PluralRules)
3684
3662
  throw new de(`Intl.PluralRules is not available in this environment.
3685
3663
  Try polyfilling it using "@formatjs/intl-pluralrules"
3686
- `, j.MISSING_INTL_API, a);
3687
- var z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3688
- S = l.options[z] || l.options.other;
3664
+ `, j.MISSING_INTL_API, s);
3665
+ var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3666
+ H = l.options[z] || l.options.other;
3689
3667
  }
3690
- if (!S)
3691
- throw new ct(l.value, f, Object.keys(l.options), a);
3692
- s.push.apply(s, ue(S.value, t, r, n, i, f - (l.offset || 0)));
3668
+ if (!H)
3669
+ throw new ut(l.value, c, Object.keys(l.options), s);
3670
+ a.push.apply(a, he(H.value, t, r, n, i, c - (l.offset || 0)));
3693
3671
  continue;
3694
3672
  }
3695
3673
  }
3696
- return Fn(s);
3674
+ return Rn(a);
3697
3675
  }
3698
- function jn(e, t) {
3699
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3700
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3676
+ function Dn(e, t) {
3677
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3678
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3701
3679
  }, {})) : e;
3702
3680
  }
3703
- function kn(e, t) {
3681
+ function Fn(e, t) {
3704
3682
  return t ? Object.keys(e).reduce(function(r, n) {
3705
- return r[n] = jn(e[n], t[n]), r;
3706
- }, y({}, e)) : e;
3683
+ return r[n] = Dn(e[n], t[n]), r;
3684
+ }, v({}, e)) : e;
3707
3685
  }
3708
- function we(e) {
3686
+ function Se(e) {
3709
3687
  return {
3710
3688
  create: function() {
3711
3689
  return {
@@ -3719,39 +3697,39 @@ function we(e) {
3719
3697
  }
3720
3698
  };
3721
3699
  }
3722
- function Vn(e) {
3700
+ function Gn(e) {
3723
3701
  return e === void 0 && (e = {
3724
3702
  number: {},
3725
3703
  dateTime: {},
3726
3704
  pluralRules: {}
3727
3705
  }), {
3728
- getNumberFormat: _e(function() {
3706
+ getNumberFormat: xe(function() {
3729
3707
  for (var t, r = [], n = 0; n < arguments.length; n++)
3730
3708
  r[n] = arguments[n];
3731
3709
  return new ((t = Intl.NumberFormat).bind.apply(t, U([void 0], r, !1)))();
3732
3710
  }, {
3733
- cache: we(e.number),
3734
- strategy: Ee.variadic
3711
+ cache: Se(e.number),
3712
+ strategy: _e.variadic
3735
3713
  }),
3736
- getDateTimeFormat: _e(function() {
3714
+ getDateTimeFormat: xe(function() {
3737
3715
  for (var t, r = [], n = 0; n < arguments.length; n++)
3738
3716
  r[n] = arguments[n];
3739
3717
  return new ((t = Intl.DateTimeFormat).bind.apply(t, U([void 0], r, !1)))();
3740
3718
  }, {
3741
- cache: we(e.dateTime),
3742
- strategy: Ee.variadic
3719
+ cache: Se(e.dateTime),
3720
+ strategy: _e.variadic
3743
3721
  }),
3744
- getPluralRules: _e(function() {
3722
+ getPluralRules: xe(function() {
3745
3723
  for (var t, r = [], n = 0; n < arguments.length; n++)
3746
3724
  r[n] = arguments[n];
3747
3725
  return new ((t = Intl.PluralRules).bind.apply(t, U([void 0], r, !1)))();
3748
3726
  }, {
3749
- cache: we(e.pluralRules),
3750
- strategy: Ee.variadic
3727
+ cache: Se(e.pluralRules),
3728
+ strategy: _e.variadic
3751
3729
  })
3752
3730
  };
3753
3731
  }
3754
- var Xn = (
3732
+ var jn = (
3755
3733
  /** @class */
3756
3734
  function() {
3757
3735
  function e(t, r, n, i) {
@@ -3765,12 +3743,12 @@ var Xn = (
3765
3743
  var u = o.formatToParts(h);
3766
3744
  if (u.length === 1)
3767
3745
  return u[0].value;
3768
- var l = u.reduce(function(c, f) {
3769
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3746
+ var l = u.reduce(function(f, c) {
3747
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3770
3748
  }, []);
3771
3749
  return l.length <= 1 ? l[0] || "" : l;
3772
3750
  }, this.formatToParts = function(h) {
3773
- return ue(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3751
+ return he(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3774
3752
  }, this.resolvedOptions = function() {
3775
3753
  var h;
3776
3754
  return {
@@ -3781,15 +3759,15 @@ var Xn = (
3781
3759
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3782
3760
  if (this.message = t, !e.__parse)
3783
3761
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3784
- var a = i || {};
3785
- a.formatters;
3786
- var s = Sr(a, ["formatters"]);
3787
- this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3762
+ var s = i || {};
3763
+ s.formatters;
3764
+ var a = gr(s, ["formatters"]);
3765
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3788
3766
  } else
3789
3767
  this.ast = t;
3790
3768
  if (!Array.isArray(this.ast))
3791
3769
  throw new TypeError("A message must be provided as a String or AST.");
3792
- this.formats = kn(e.formats, n), this.formatters = i && i.formatters || Vn(this.formatterCache);
3770
+ this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3793
3771
  }
3794
3772
  return Object.defineProperty(e, "defaultLocale", {
3795
3773
  get: function() {
@@ -3802,7 +3780,7 @@ var Xn = (
3802
3780
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3803
3781
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3804
3782
  }
3805
- }, e.__parse = Rn, e.formats = {
3783
+ }, e.__parse = Ln, e.formats = {
3806
3784
  number: {
3807
3785
  integer: {
3808
3786
  maximumFractionDigits: 0
@@ -3863,7 +3841,7 @@ var Xn = (
3863
3841
  }, e;
3864
3842
  }()
3865
3843
  );
3866
- function Wn(e, t) {
3844
+ function kn(e, t) {
3867
3845
  if (t == null)
3868
3846
  return;
3869
3847
  if (t in e)
@@ -3884,92 +3862,92 @@ function Wn(e, t) {
3884
3862
  n = void 0;
3885
3863
  return n;
3886
3864
  }
3887
- const O = {}, zn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Xt = (e, t) => {
3865
+ const O = {}, Vn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Gt = (e, t) => {
3888
3866
  if (t == null)
3889
3867
  return;
3890
3868
  if (t in O && e in O[t])
3891
3869
  return O[t][e];
3892
3870
  const r = be(t);
3893
3871
  for (let n = 0; n < r.length; n++) {
3894
- const i = r[n], o = Qn(i, e);
3872
+ const i = r[n], o = Wn(i, e);
3895
3873
  if (o)
3896
- return zn(e, t, o);
3874
+ return Vn(e, t, o);
3897
3875
  }
3898
3876
  };
3899
- let Xe;
3900
- const te = pe({});
3901
- function Zn(e) {
3902
- return Xe[e] || null;
3877
+ let je;
3878
+ const re = pe({});
3879
+ function Xn(e) {
3880
+ return je[e] || null;
3903
3881
  }
3904
- function Wt(e) {
3905
- return e in Xe;
3882
+ function jt(e) {
3883
+ return e in je;
3906
3884
  }
3907
- function Qn(e, t) {
3908
- if (!Wt(e))
3885
+ function Wn(e, t) {
3886
+ if (!jt(e))
3909
3887
  return null;
3910
- const r = Zn(e);
3911
- return Wn(r, t);
3888
+ const r = Xn(e);
3889
+ return kn(r, t);
3912
3890
  }
3913
- function Jn(e) {
3891
+ function zn(e) {
3914
3892
  if (e == null)
3915
3893
  return;
3916
3894
  const t = be(e);
3917
3895
  for (let r = 0; r < t.length; r++) {
3918
3896
  const n = t[r];
3919
- if (Wt(n))
3897
+ if (jt(n))
3920
3898
  return n;
3921
3899
  }
3922
3900
  }
3923
- function Yn(e, ...t) {
3924
- delete O[e], te.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3901
+ function Zn(e, ...t) {
3902
+ delete O[e], re.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3925
3903
  }
3926
3904
  X(
3927
- [te],
3905
+ [re],
3928
3906
  ([e]) => Object.keys(e)
3929
3907
  );
3930
- te.subscribe((e) => Xe = e);
3931
- const he = {};
3932
- function qn(e, t) {
3933
- he[e].delete(t), he[e].size === 0 && delete he[e];
3908
+ re.subscribe((e) => je = e);
3909
+ const le = {};
3910
+ function Qn(e, t) {
3911
+ le[e].delete(t), le[e].size === 0 && delete le[e];
3934
3912
  }
3935
- function zt(e) {
3936
- return he[e];
3913
+ function kt(e) {
3914
+ return le[e];
3937
3915
  }
3938
- function Kn(e) {
3916
+ function Jn(e) {
3939
3917
  return be(e).map((t) => {
3940
- const r = zt(t);
3918
+ const r = kt(t);
3941
3919
  return [t, r ? [...r] : []];
3942
3920
  }).filter(([, t]) => t.length > 0);
3943
3921
  }
3944
- function Fe(e) {
3922
+ function De(e) {
3945
3923
  return e == null ? !1 : be(e).some(
3946
3924
  (t) => {
3947
3925
  var r;
3948
- return (r = zt(t)) == null ? void 0 : r.size;
3926
+ return (r = kt(t)) == null ? void 0 : r.size;
3949
3927
  }
3950
3928
  );
3951
3929
  }
3952
- function ei(e, t) {
3930
+ function Yn(e, t) {
3953
3931
  return Promise.all(
3954
- t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3955
- ).then((n) => Yn(e, ...n));
3932
+ t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3933
+ ).then((n) => Zn(e, ...n));
3956
3934
  }
3957
3935
  const Z = {};
3958
- function Zt(e) {
3959
- if (!Fe(e))
3936
+ function Vt(e) {
3937
+ if (!De(e))
3960
3938
  return e in Z ? Z[e] : Promise.resolve();
3961
- const t = Kn(e);
3939
+ const t = Jn(e);
3962
3940
  return Z[e] = Promise.all(
3963
3941
  t.map(
3964
- ([r, n]) => ei(r, n)
3942
+ ([r, n]) => Yn(r, n)
3965
3943
  )
3966
3944
  ).then(() => {
3967
- if (Fe(e))
3968
- return Zt(e);
3945
+ if (De(e))
3946
+ return Vt(e);
3969
3947
  delete Z[e];
3970
3948
  }), Z[e];
3971
3949
  }
3972
- const ti = {
3950
+ const qn = {
3973
3951
  number: {
3974
3952
  scientific: { notation: "scientific" },
3975
3953
  engineering: { notation: "engineering" },
@@ -3998,57 +3976,57 @@ const ti = {
3998
3976
  timeZoneName: "short"
3999
3977
  }
4000
3978
  }
4001
- }, ri = {
3979
+ }, Kn = {
4002
3980
  fallbackLocale: null,
4003
3981
  loadingDelay: 200,
4004
- formats: ti,
3982
+ formats: qn,
4005
3983
  warnOnMissingMessages: !0,
4006
3984
  handleMissingMessage: void 0,
4007
3985
  ignoreTag: !0
4008
- }, ni = ri;
3986
+ }, ei = Kn;
4009
3987
  function k() {
4010
- return ni;
3988
+ return ei;
4011
3989
  }
4012
- const He = pe(!1);
4013
- var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3990
+ const we = pe(!1);
3991
+ var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
4014
3992
  for (var r in t || (t = {}))
4015
- ai.call(t, r) && mt(e, r, t[r]);
4016
- if (ft)
4017
- for (var r of ft(t))
4018
- ui.call(t, r) && mt(e, r, t[r]);
3993
+ ii.call(t, r) && lt(e, r, t[r]);
3994
+ if (ht)
3995
+ for (var r of ht(t))
3996
+ oi.call(t, r) && lt(e, r, t[r]);
4019
3997
  return e;
4020
- }, li = (e, t) => oi(e, si(t));
4021
- let Ge;
3998
+ }, ai = (e, t) => ri(e, ni(t));
3999
+ let Fe;
4022
4000
  const ce = pe(null);
4023
- function pt(e) {
4001
+ function ct(e) {
4024
4002
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4025
4003
  }
4026
4004
  function be(e, t = k().fallbackLocale) {
4027
- const r = pt(e);
4028
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
4005
+ const r = ct(e);
4006
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
4029
4007
  }
4030
- function N() {
4031
- return Ge ?? void 0;
4008
+ function C() {
4009
+ return Fe ?? void 0;
4032
4010
  }
4033
4011
  ce.subscribe((e) => {
4034
- Ge = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4012
+ Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4035
4013
  });
4036
- const ci = (e) => {
4037
- if (e && Jn(e) && Fe(e)) {
4014
+ const ui = (e) => {
4015
+ if (e && zn(e) && De(e)) {
4038
4016
  const { loadingDelay: t } = k();
4039
4017
  let r;
4040
- return typeof window < "u" && N() != null && t ? r = window.setTimeout(
4041
- () => He.set(!0),
4018
+ return typeof window < "u" && C() != null && t ? r = window.setTimeout(
4019
+ () => we.set(!0),
4042
4020
  t
4043
- ) : He.set(!0), Zt(e).then(() => {
4021
+ ) : we.set(!0), Vt(e).then(() => {
4044
4022
  ce.set(e);
4045
4023
  }).finally(() => {
4046
- clearTimeout(r), He.set(!1);
4024
+ clearTimeout(r), we.set(!1);
4047
4025
  });
4048
4026
  }
4049
4027
  return ce.set(e);
4050
- }, re = li(hi({}, ce), {
4051
- set: ci
4028
+ }, ne = ai(si({}, ce), {
4029
+ set: ui
4052
4030
  }), ye = (e) => {
4053
4031
  const t = /* @__PURE__ */ Object.create(null);
4054
4032
  return (n) => {
@@ -4056,148 +4034,171 @@ const ci = (e) => {
4056
4034
  return i in t ? t[i] : t[i] = e(n);
4057
4035
  };
4058
4036
  };
4059
- var fi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
4037
+ var hi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Xt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
4060
4038
  for (var r in t || (t = {}))
4061
- Qt.call(t, r) && dt(e, r, t[r]);
4039
+ Xt.call(t, r) && ft(e, r, t[r]);
4062
4040
  if (fe)
4063
4041
  for (var r of fe(t))
4064
- Jt.call(t, r) && dt(e, r, t[r]);
4042
+ Wt.call(t, r) && ft(e, r, t[r]);
4065
4043
  return e;
4066
4044
  }, W = (e, t) => {
4067
4045
  var r = {};
4068
4046
  for (var n in e)
4069
- Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4047
+ Xt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4070
4048
  if (e != null && fe)
4071
4049
  for (var n of fe(e))
4072
- t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
4050
+ t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
4073
4051
  return r;
4074
4052
  };
4075
- const q = (e, t) => {
4053
+ const K = (e, t) => {
4076
4054
  const { formats: r } = k();
4077
4055
  if (e in r && t in r[e])
4078
4056
  return r[e][t];
4079
4057
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4080
- }, mi = ye(
4058
+ }, li = ye(
4081
4059
  (e) => {
4082
4060
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4083
4061
  if (r == null)
4084
4062
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4085
- return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
4063
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4086
4064
  }
4087
- ), pi = ye(
4065
+ ), ci = ye(
4088
4066
  (e) => {
4089
4067
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4090
4068
  if (r == null)
4091
4069
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4092
- return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
4070
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4093
4071
  }
4094
- ), di = ye(
4072
+ ), fi = ye(
4095
4073
  (e) => {
4096
4074
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4097
4075
  if (r == null)
4098
4076
  throw new Error(
4099
4077
  '[svelte-i18n] A "locale" must be set to format time values'
4100
4078
  );
4101
- return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
4079
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4102
4080
  }
4103
- ), bi = (e = {}) => {
4081
+ ), mi = (e = {}) => {
4104
4082
  var t = e, {
4105
- locale: r = N()
4083
+ locale: r = C()
4106
4084
  } = t, n = W(t, [
4107
4085
  "locale"
4108
4086
  ]);
4109
- return mi(We({ locale: r }, n));
4110
- }, yi = (e = {}) => {
4087
+ return li(ke({ locale: r }, n));
4088
+ }, pi = (e = {}) => {
4111
4089
  var t = e, {
4112
- locale: r = N()
4090
+ locale: r = C()
4113
4091
  } = t, n = W(t, [
4114
4092
  "locale"
4115
4093
  ]);
4116
- return pi(We({ locale: r }, n));
4117
- }, vi = (e = {}) => {
4094
+ return ci(ke({ locale: r }, n));
4095
+ }, di = (e = {}) => {
4118
4096
  var t = e, {
4119
- locale: r = N()
4097
+ locale: r = C()
4120
4098
  } = t, n = W(t, [
4121
4099
  "locale"
4122
4100
  ]);
4123
- return di(We({ locale: r }, n));
4124
- }, gi = ye(
4101
+ return fi(ke({ locale: r }, n));
4102
+ }, bi = ye(
4125
4103
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4126
- (e, t = N()) => new Xn(e, t, k().formats, {
4104
+ (e, t = C()) => new jn(e, t, k().formats, {
4127
4105
  ignoreTag: k().ignoreTag
4128
4106
  })
4129
- ), xi = (e, t = {}) => {
4107
+ ), yi = (e, t = {}) => {
4130
4108
  var r, n, i, o;
4131
- let a = t;
4132
- typeof e == "object" && (a = e, e = a.id);
4109
+ let s = t;
4110
+ typeof e == "object" && (s = e, e = s.id);
4133
4111
  const {
4134
- values: s,
4135
- locale: h = N(),
4112
+ values: a,
4113
+ locale: h = C(),
4136
4114
  default: u
4137
- } = a;
4115
+ } = s;
4138
4116
  if (h == null)
4139
4117
  throw new Error(
4140
4118
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4141
4119
  );
4142
- let l = Xt(e, h);
4120
+ let l = Gt(e, h);
4143
4121
  if (!l)
4144
4122
  l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4145
4123
  else if (typeof l != "string")
4146
4124
  return console.warn(
4147
4125
  `[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.`
4148
4126
  ), l;
4149
- if (!s)
4127
+ if (!a)
4150
4128
  return l;
4151
- let c = l;
4129
+ let f = l;
4152
4130
  try {
4153
- c = gi(l, h).format(s);
4154
- } catch (f) {
4155
- f instanceof Error && console.warn(
4131
+ f = bi(l, h).format(a);
4132
+ } catch (c) {
4133
+ c instanceof Error && console.warn(
4156
4134
  `[svelte-i18n] Message "${e}" has syntax error:`,
4157
- f.message
4135
+ c.message
4158
4136
  );
4159
4137
  }
4160
- return c;
4161
- }, _i = (e, t) => vi(t).format(e), Ei = (e, t) => yi(t).format(e), Si = (e, t) => bi(t).format(e), wi = (e, t = N()) => Xt(e, t);
4162
- X([re, te], () => xi);
4163
- X([re], () => _i);
4164
- X([re], () => Ei);
4165
- X([re], () => Si);
4166
- X([re, te], () => wi);
4167
- window.emWidgets = { topic: Rr };
4168
- const Hi = (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));
4138
+ return f;
4139
+ }, vi = (e, t) => di(t).format(e), gi = (e, t) => pi(t).format(e), xi = (e, t) => mi(t).format(e), _i = (e, t = C()) => Gt(e, t);
4140
+ X([ne, re], () => yi);
4141
+ X([ne], () => vi);
4142
+ X([ne], () => gi);
4143
+ X([ne], () => xi);
4144
+ X([ne, re], () => _i);
4145
+ window.emWidgets = { topic: Cr };
4146
+ const Ei = (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));
4147
+ function Si(e, t) {
4148
+ if (e) {
4149
+ const r = document.createElement("style");
4150
+ r.innerHTML = t, e.appendChild(r);
4151
+ }
4152
+ }
4153
+ function wi(e, t) {
4154
+ const r = new URL(t);
4155
+ fetch(r.href).then((n) => n.text()).then((n) => {
4156
+ const i = document.createElement("style");
4157
+ i.innerHTML = n, e && e.appendChild(i);
4158
+ }).catch((n) => {
4159
+ console.error("There was an error while trying to load client styling from URL", n);
4160
+ });
4161
+ }
4162
+ function Hi(e, t, r) {
4163
+ if (window.emMessageBus) {
4164
+ const n = document.createElement("style");
4165
+ window.emMessageBus.subscribe(t, (i) => {
4166
+ n.innerHTML = i, e && e.appendChild(n);
4167
+ });
4168
+ }
4169
+ }
4169
4170
  function Ti(e) {
4170
- Kt(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4171
+ Qt(e, "svelte-mm6oz3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4171
4172
  }
4172
- function bt(e) {
4173
- let t, r, n, i, o, a, s, h, u, l, c, f;
4174
- function d(_, g) {
4173
+ function mt(e) {
4174
+ let t, r, n, i, o, s, a, h, u, l, f, c;
4175
+ function p(d, S) {
4175
4176
  return (
4176
4177
  /*isLoading*/
4177
- _[3] ? Ai : Bi
4178
+ d[3] ? Ai : Bi
4178
4179
  );
4179
4180
  }
4180
- let v = d(e), m = v(e);
4181
+ let g = p(e), m = g(e);
4181
4182
  return {
4182
4183
  c() {
4183
- t = D("button"), r = D("small"), m.c(), n = rr(), i = C("svg"), o = C("g"), a = C("path"), s = C("path"), h = C("path"), u = C("path"), l = C("path"), E(r, "class", "betslipIndicator__number"), E(a, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4184
+ t = D("button"), r = D("small"), m.c(), n = qt(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), _(r, "class", "betslipIndicator__number"), _(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4184
4185
  c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
4185
4186
  c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
4186
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(s, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), sr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4187
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), rr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4187
4188
  },
4188
- m(_, g) {
4189
- ee(_, t, g), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, a), B(o, s), B(o, h), B(o, u), B(o, l), c || (f = nr(
4189
+ m(d, S) {
4190
+ te(d, t, S), T(t, r), m.m(r, null), T(t, n), T(t, i), T(i, o), T(o, s), T(o, a), T(o, h), T(o, u), T(o, l), f || (c = Kt(
4190
4191
  t,
4191
4192
  "click",
4192
4193
  /*click_handler*/
4193
- e[7]
4194
- ), c = !0);
4194
+ e[8]
4195
+ ), f = !0);
4195
4196
  },
4196
- p(_, g) {
4197
- v === (v = d(_)) && m ? m.p(_, g) : (m.d(1), m = v(_), m && (m.c(), m.m(r, null)));
4197
+ p(d, S) {
4198
+ g === (g = p(d)) && m ? m.p(d, S) : (m.d(1), m = g(d), m && (m.c(), m.m(r, null)));
4198
4199
  },
4199
- d(_) {
4200
- _ && V(t), m.d(), c = !1, f();
4200
+ d(d) {
4201
+ d && V(t), m.d(), f = !1, c();
4201
4202
  }
4202
4203
  };
4203
4204
  }
@@ -4205,17 +4206,17 @@ function Bi(e) {
4205
4206
  let t;
4206
4207
  return {
4207
4208
  c() {
4208
- t = gt(
4209
+ t = bt(
4209
4210
  /*betNumber*/
4210
4211
  e[1]
4211
4212
  );
4212
4213
  },
4213
4214
  m(r, n) {
4214
- ee(r, t, n);
4215
+ te(r, t, n);
4215
4216
  },
4216
4217
  p(r, n) {
4217
4218
  n & /*betNumber*/
4218
- 2 && or(
4219
+ 2 && tr(
4219
4220
  t,
4220
4221
  /*betNumber*/
4221
4222
  r[1]
@@ -4230,12 +4231,12 @@ function Ai(e) {
4230
4231
  let t;
4231
4232
  return {
4232
4233
  c() {
4233
- t = D("div"), t.textContent = "Loading...", E(t, "class", "loader");
4234
+ t = D("div"), t.textContent = "Loading...", _(t, "class", "loader");
4234
4235
  },
4235
4236
  m(r, n) {
4236
- ee(r, t, n);
4237
+ te(r, t, n);
4237
4238
  },
4238
- p: T,
4239
+ p: w,
4239
4240
  d(r) {
4240
4241
  r && V(t);
4241
4242
  }
@@ -4245,108 +4246,115 @@ function Pi(e) {
4245
4246
  let t, r = (
4246
4247
  /*mobileView*/
4247
4248
  e[2] && /*betNumber*/
4248
- e[1] > 0 && bt(e)
4249
+ e[1] > 0 && mt(e)
4249
4250
  );
4250
4251
  return {
4251
4252
  c() {
4252
4253
  t = D("div"), r && r.c();
4253
4254
  },
4254
4255
  m(n, i) {
4255
- ee(n, t, i), r && r.m(t, null), e[8](t);
4256
+ te(n, t, i), r && r.m(t, null), e[9](t);
4256
4257
  },
4257
4258
  p(n, [i]) {
4258
4259
  /*mobileView*/
4259
4260
  n[2] && /*betNumber*/
4260
- n[1] > 0 ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4261
+ n[1] > 0 ? r ? r.p(n, i) : (r = mt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4261
4262
  },
4262
- i: T,
4263
- o: T,
4263
+ i: w,
4264
+ o: w,
4264
4265
  d(n) {
4265
- n && V(t), r && r.d(), e[8](null);
4266
+ n && V(t), r && r.d(), e[9](null);
4266
4267
  }
4267
4268
  };
4268
4269
  }
4269
4270
  function Oi(e, t, r) {
4270
- let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, a = window.navigator.userAgent, s = null, h = !1, u = !0;
4271
- const l = () => {
4271
+ let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
4272
+ const f = () => {
4272
4273
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4273
- }, c = (g, H) => {
4274
- o.dispatchEvent(new CustomEvent(
4275
- g,
4274
+ }, c = (d, S) => {
4275
+ s.dispatchEvent(new CustomEvent(
4276
+ d,
4276
4277
  {
4277
- detail: H,
4278
+ detail: S,
4278
4279
  composed: !0,
4279
4280
  bubbles: !0
4280
4281
  // propagate across the shadow DOM
4281
4282
  }
4282
4283
  ));
4283
- }, f = (g) => {
4284
- const { type: H, payload: S } = g.data;
4285
- if (g.data)
4286
- switch (H) {
4284
+ }, p = (d) => {
4285
+ const { type: S, payload: P } = d.data;
4286
+ if (d.data)
4287
+ switch (S) {
4287
4288
  case "OMFE:updateBetslipSelectionsCount":
4288
- r(1, s = S.count), r(3, u = !1);
4289
+ r(1, h = P.count), r(3, l = !1);
4289
4290
  break;
4290
4291
  }
4291
- }, d = () => {
4292
- let g = document.createElement("style");
4293
- g.innerHTML = n, o.appendChild(g);
4294
- }, v = () => {
4295
- let g = new URL(i), H = document.createElement("style");
4296
- fetch(g.href).then((S) => S.text()).then((S) => {
4297
- H.innerHTML = S, setTimeout(
4298
- () => {
4299
- o.appendChild(H);
4300
- },
4301
- 1
4302
- );
4303
- });
4304
4292
  };
4305
- hr(() => (l(), window.addEventListener("message", f, !1), Hi(a) && r(2, h = !0), () => {
4306
- window.removeEventListener("message", f);
4293
+ or(() => (f(), window.addEventListener("message", p, !1), Ei(a) && r(2, u = !0), () => {
4294
+ window.removeEventListener("message", p);
4307
4295
  }));
4308
- const m = (g) => c("betslipClick", {});
4309
- function _(g) {
4310
- Te[g ? "unshift" : "push"](() => {
4311
- o = g, r(0, o);
4296
+ const g = (d) => c("betslipClick", {});
4297
+ function m(d) {
4298
+ He[d ? "unshift" : "push"](() => {
4299
+ s = d, r(0, s);
4312
4300
  });
4313
4301
  }
4314
- return e.$$set = (g) => {
4315
- "clientstyling" in g && r(5, n = g.clientstyling), "clientstylingurl" in g && r(6, i = g.clientstylingurl);
4302
+ return e.$$set = (d) => {
4303
+ "clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
4316
4304
  }, e.$$.update = () => {
4317
- e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4318
- 65 && i && o && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4319
- 33 && n && o && d();
4305
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
4306
+ 33 && n && s && Si(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4307
+ 65 && i && s && wi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4308
+ 129 && o && s && Hi(s, `${o}.Style`);
4320
4309
  }, [
4321
- o,
4322
4310
  s,
4323
4311
  h,
4324
4312
  u,
4313
+ l,
4325
4314
  c,
4326
4315
  n,
4327
4316
  i,
4328
- m,
4329
- _
4317
+ o,
4318
+ g,
4319
+ m
4330
4320
  ];
4331
4321
  }
4332
- class Ii extends _r {
4322
+ class Ii extends yr {
4333
4323
  constructor(t) {
4334
- super(), gr(this, t, Oi, Pi, vt, { clientstyling: 5, clientstylingurl: 6 }, Ti);
4324
+ super(), dr(
4325
+ this,
4326
+ t,
4327
+ Oi,
4328
+ Pi,
4329
+ dt,
4330
+ {
4331
+ clientstyling: 5,
4332
+ clientstylingurl: 6,
4333
+ mbsource: 7
4334
+ },
4335
+ Ti
4336
+ );
4335
4337
  }
4336
4338
  get clientstyling() {
4337
4339
  return this.$$.ctx[5];
4338
4340
  }
4339
4341
  set clientstyling(t) {
4340
- this.$$set({ clientstyling: t }), le();
4342
+ this.$$set({ clientstyling: t }), J();
4341
4343
  }
4342
4344
  get clientstylingurl() {
4343
4345
  return this.$$.ctx[6];
4344
4346
  }
4345
4347
  set clientstylingurl(t) {
4346
- this.$$set({ clientstylingurl: t }), le();
4348
+ this.$$set({ clientstylingurl: t }), J();
4349
+ }
4350
+ get mbsource() {
4351
+ return this.$$.ctx[7];
4352
+ }
4353
+ set mbsource(t) {
4354
+ this.$$set({ mbsource: t }), J();
4347
4355
  }
4348
4356
  }
4349
- xr(Ii, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4357
+ br(Ii, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4350
4358
  export {
4351
4359
  Ii as C
4352
4360
  };