@everymatrix/casino-header-bets-button 1.86.2 → 1.86.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,15 +2,15 @@ var $t = Object.defineProperty, Rt = Object.defineProperties;
2
2
  var Ut = Object.getOwnPropertyDescriptors;
3
3
  var De = Object.getOwnPropertySymbols;
4
4
  var Dt = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable;
5
- var me = (e, t, r) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
5
+ var fe = (e, t, r) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dt.call(t, r) && me(e, r, t[r]);
7
+ Dt.call(t, r) && fe(e, r, t[r]);
8
8
  if (De)
9
9
  for (var r of De(t))
10
- Gt.call(t, r) && me(e, r, t[r]);
10
+ Gt.call(t, r) && fe(e, r, t[r]);
11
11
  return e;
12
12
  }, Fe = (e, t) => Rt(e, Ut(t));
13
- var B = (e, t, r) => (me(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var B = (e, t, r) => (fe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var je = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
@@ -27,7 +27,7 @@ var je = (e, t, r) => new Promise((n, i) => {
27
27
  }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, a);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- function S() {
30
+ function T() {
31
31
  }
32
32
  function at(e) {
33
33
  return e();
@@ -35,10 +35,10 @@ function at(e) {
35
35
  function ke() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Y(e) {
38
+ function q(e) {
39
39
  e.forEach(at);
40
40
  }
41
- function Le(e) {
41
+ function we(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function ut(e, t) {
@@ -51,7 +51,7 @@ function ht(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return S;
54
+ return T;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -89,22 +89,22 @@ function Xt(e, t) {
89
89
  function lt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function Ce(e) {
92
+ function Ie(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function M(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function ve(e) {
98
+ function xe(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
101
  function Wt() {
102
- return ve(" ");
102
+ return xe(" ");
103
103
  }
104
104
  function zt(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
106
106
  }
107
- function R(e, t, r) {
107
+ function $(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
110
  function Zt(e) {
@@ -123,65 +123,65 @@ function Qt(e) {
123
123
  }
124
124
  ), t;
125
125
  }
126
- let Q;
127
- function Z(e) {
128
- Q = e;
126
+ let Z;
127
+ function z(e) {
128
+ Z = e;
129
129
  }
130
130
  function Jt() {
131
- if (!Q)
131
+ if (!Z)
132
132
  throw new Error("Function called outside component initialization");
133
- return Q;
133
+ return Z;
134
134
  }
135
135
  function qt(e) {
136
136
  Jt().$$.on_mount.push(e);
137
137
  }
138
- const U = [], _e = [];
139
- let D = [];
138
+ const R = [], Ee = [];
139
+ let U = [];
140
140
  const Xe = [], Yt = /* @__PURE__ */ Promise.resolve();
141
- let Be = !1;
141
+ let _e = !1;
142
142
  function Kt() {
143
- Be || (Be = !0, Yt.then(I));
143
+ _e || (_e = !0, Yt.then(w));
144
144
  }
145
- function He(e) {
146
- D.push(e);
145
+ function ve(e) {
146
+ U.push(e);
147
147
  }
148
- const pe = /* @__PURE__ */ new Set();
149
- let C = 0;
150
- function I() {
151
- if (C !== 0)
148
+ const ce = /* @__PURE__ */ new Set();
149
+ let L = 0;
150
+ function w() {
151
+ if (L !== 0)
152
152
  return;
153
- const e = Q;
153
+ const e = Z;
154
154
  do {
155
155
  try {
156
- for (; C < U.length; ) {
157
- const t = U[C];
158
- C++, Z(t), er(t.$$);
156
+ for (; L < R.length; ) {
157
+ const t = R[L];
158
+ L++, z(t), er(t.$$);
159
159
  }
160
160
  } catch (t) {
161
- throw U.length = 0, C = 0, t;
161
+ throw R.length = 0, L = 0, t;
162
162
  }
163
- for (Z(null), U.length = 0, C = 0; _e.length; )
164
- _e.pop()();
165
- for (let t = 0; t < D.length; t += 1) {
166
- const r = D[t];
167
- pe.has(r) || (pe.add(r), r());
163
+ for (z(null), R.length = 0, L = 0; Ee.length; )
164
+ Ee.pop()();
165
+ for (let t = 0; t < U.length; t += 1) {
166
+ const r = U[t];
167
+ ce.has(r) || (ce.add(r), r());
168
168
  }
169
- D.length = 0;
170
- } while (U.length);
169
+ U.length = 0;
170
+ } while (R.length);
171
171
  for (; Xe.length; )
172
172
  Xe.pop()();
173
- Be = !1, pe.clear(), Z(e);
173
+ _e = !1, ce.clear(), z(e);
174
174
  }
175
175
  function er(e) {
176
176
  if (e.fragment !== null) {
177
- e.update(), Y(e.before_update);
177
+ e.update(), q(e.before_update);
178
178
  const t = e.dirty;
179
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
179
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
180
180
  }
181
181
  }
182
182
  function tr(e) {
183
183
  const t = [], r = [];
184
- D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
184
+ U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
185
185
  }
186
186
  const rr = /* @__PURE__ */ new Set();
187
187
  function nr(e, t) {
@@ -189,27 +189,27 @@ function nr(e, t) {
189
189
  }
190
190
  function ir(e, t, r) {
191
191
  const { fragment: n, after_update: i } = e.$$;
192
- n && n.m(t, r), He(() => {
193
- const s = e.$$.on_mount.map(at).filter(Le);
194
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
195
- }), i.forEach(He);
192
+ n && n.m(t, r), ve(() => {
193
+ const s = e.$$.on_mount.map(at).filter(we);
194
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
195
+ }), i.forEach(ve);
196
196
  }
197
197
  function sr(e, t) {
198
198
  const r = e.$$;
199
- r.fragment !== null && (tr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
199
+ r.fragment !== null && (tr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
200
  }
201
201
  function or(e, t) {
202
- e.$$.dirty[0] === -1 && (U.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
202
+ e.$$.dirty[0] === -1 && (R.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
203
  }
204
204
  function ar(e, t, r, n, i, s, a = null, u = [-1]) {
205
- const h = Q;
206
- Z(e);
205
+ const h = Z;
206
+ z(e);
207
207
  const o = e.$$ = {
208
208
  fragment: null,
209
209
  ctx: [],
210
210
  // state
211
211
  props: s,
212
- update: S,
212
+ update: T,
213
213
  not_equal: i,
214
214
  bound: ke(),
215
215
  // lifecycle
@@ -227,18 +227,18 @@ function ar(e, t, r, n, i, s, a = null, u = [-1]) {
227
227
  };
228
228
  a && a(o.root);
229
229
  let l = !1;
230
- if (o.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
231
- const d = g.length ? g[0] : c;
232
- return o.ctx && i(o.ctx[f], o.ctx[f] = d) && (!o.skip_bound && o.bound[f] && o.bound[f](d), l && or(e, f)), c;
233
- }) : [], o.update(), l = !0, Y(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
230
+ if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
231
+ const g = y.length ? y[0] : c;
232
+ return o.ctx && i(o.ctx[f], o.ctx[f] = g) && (!o.skip_bound && o.bound[f] && o.bound[f](g), l && or(e, f)), c;
233
+ }) : [], o.update(), l = !0, q(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
234
234
  if (t.hydrate) {
235
235
  const f = Zt(t.target);
236
- o.fragment && o.fragment.l(f), f.forEach(Ce);
236
+ o.fragment && o.fragment.l(f), f.forEach(Ie);
237
237
  } else
238
238
  o.fragment && o.fragment.c();
239
- t.intro && nr(e.$$.fragment), ir(e, t.target, t.anchor), I();
239
+ t.intro && nr(e.$$.fragment), ir(e, t.target, t.anchor), w();
240
240
  }
241
- Z(h);
241
+ z(h);
242
242
  }
243
243
  let ft;
244
244
  typeof HTMLElement == "function" && (ft = class extends HTMLElement {
@@ -285,7 +285,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
285
285
  let a;
286
286
  return {
287
287
  c: function() {
288
- a = M("slot"), s !== "default" && R(a, "name", s);
288
+ a = M("slot"), s !== "default" && $(a, "name", s);
289
289
  },
290
290
  /**
291
291
  * @param {HTMLElement} target
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
295
295
  lt(o, a, l);
296
296
  },
297
297
  d: function(o) {
298
- o && Ce(a);
298
+ o && Ie(a);
299
299
  }
300
300
  };
301
301
  };
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
307
307
  s in n && (r[s] = [t(s)]);
308
308
  for (const s of this.attributes) {
309
309
  const a = this.$$g_p(s.name);
310
- a in this.$$d || (this.$$d[a] = re(a, s.value, this.$$p_d, "toProp"));
310
+ a in this.$$d || (this.$$d[a] = te(a, s.value, this.$$p_d, "toProp"));
311
311
  }
312
312
  for (const s in this.$$p_d)
313
313
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
324
324
  this.$$r = !0;
325
325
  for (const s in this.$$p_d)
326
326
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
327
- const a = re(
327
+ const a = te(
328
328
  s,
329
329
  this.$$d[s],
330
330
  this.$$p_d,
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
348
348
  // and setting attributes through setAttribute etc, this is helpful
349
349
  attributeChangedCallback(t, r, n) {
350
350
  var i;
351
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = re(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
351
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = te(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
352
352
  }
353
353
  disconnectedCallback() {
354
354
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
361
361
  ) || t;
362
362
  }
363
363
  });
364
- function re(e, t, r, n) {
364
+ function te(e, t, r, n) {
365
365
  var s;
366
366
  const i = (s = r[e]) == null ? void 0 : s.type;
367
367
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -409,7 +409,7 @@ function ur(e, t, r, n, i, s) {
409
409
  },
410
410
  set(h) {
411
411
  var o;
412
- h = re(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
412
+ h = te(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
413
413
  }
414
414
  });
415
415
  }), n.forEach((u) => {
@@ -443,7 +443,7 @@ class hr {
443
443
  }
444
444
  /** @returns {void} */
445
445
  $destroy() {
446
- sr(this, 1), this.$destroy = S;
446
+ sr(this, 1), this.$destroy = T;
447
447
  }
448
448
  /**
449
449
  * @template {Extract<keyof Events, string>} K
@@ -452,8 +452,8 @@ class hr {
452
452
  * @returns {() => void}
453
453
  */
454
454
  $on(t, r) {
455
- if (!Le(r))
456
- return S;
455
+ if (!we(r))
456
+ return T;
457
457
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
458
  return n.push(r), () => {
459
459
  const i = n.indexOf(r);
@@ -495,39 +495,39 @@ function mr(e, t, r) {
495
495
  });
496
496
  }
497
497
  }
498
- const $ = [];
498
+ const C = [];
499
499
  function pr(e, t) {
500
500
  return {
501
- subscribe: ue(e, t).subscribe
501
+ subscribe: oe(e, t).subscribe
502
502
  };
503
503
  }
504
- function ue(e, t = S) {
504
+ function oe(e, t = T) {
505
505
  let r;
506
506
  const n = /* @__PURE__ */ new Set();
507
507
  function i(u) {
508
508
  if (ut(e, u) && (e = u, r)) {
509
- const h = !$.length;
509
+ const h = !C.length;
510
510
  for (const o of n)
511
- o[1](), $.push(o, e);
511
+ o[1](), C.push(o, e);
512
512
  if (h) {
513
- for (let o = 0; o < $.length; o += 2)
514
- $[o][0]($[o + 1]);
515
- $.length = 0;
513
+ for (let o = 0; o < C.length; o += 2)
514
+ C[o][0](C[o + 1]);
515
+ C.length = 0;
516
516
  }
517
517
  }
518
518
  }
519
519
  function s(u) {
520
520
  i(u(e));
521
521
  }
522
- function a(u, h = S) {
522
+ function a(u, h = T) {
523
523
  const o = [u, h];
524
- return n.add(o), n.size === 1 && (r = t(i, s) || S), u(e), () => {
524
+ return n.add(o), n.size === 1 && (r = t(i, s) || T), u(e), () => {
525
525
  n.delete(o), n.size === 0 && r && (r(), r = null);
526
526
  };
527
527
  }
528
528
  return { set: i, update: s, subscribe: a };
529
529
  }
530
- function V(e, t, r) {
530
+ function k(e, t, r) {
531
531
  const n = !Array.isArray(e), i = n ? [e] : e;
532
532
  if (!i.every(Boolean))
533
533
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -535,16 +535,16 @@ function V(e, t, r) {
535
535
  return pr(r, (a, u) => {
536
536
  let h = !1;
537
537
  const o = [];
538
- let l = 0, f = S;
538
+ let l = 0, f = T;
539
539
  const c = () => {
540
540
  if (l)
541
541
  return;
542
542
  f();
543
- const d = t(n ? o[0] : o, a, u);
544
- s ? a(d) : f = Le(d) ? d : S;
545
- }, g = i.map(
546
- (d, E) => ht(
547
- d,
543
+ const g = t(n ? o[0] : o, a, u);
544
+ s ? a(g) : f = we(g) ? g : T;
545
+ }, y = i.map(
546
+ (g, E) => ht(
547
+ g,
548
548
  (H) => {
549
549
  o[E] = H, l &= ~(1 << E), h && c();
550
550
  },
@@ -554,7 +554,7 @@ function V(e, t, r) {
554
554
  )
555
555
  );
556
556
  return h = !0, c(), function() {
557
- Y(g), f(), h = !1;
557
+ q(y), f(), h = !1;
558
558
  };
559
559
  });
560
560
  }
@@ -569,36 +569,36 @@ function gr(e) {
569
569
  }
570
570
  function yr(e) {
571
571
  var t = Object.prototype.toString.call(e);
572
- return t === "[object RegExp]" || t === "[object Date]" || vr(e);
573
- }
574
- var Er = typeof Symbol == "function" && Symbol.for, xr = Er ? Symbol.for("react.element") : 60103;
575
- function vr(e) {
576
- return e.$$typeof === xr;
572
+ return t === "[object RegExp]" || t === "[object Date]" || _r(e);
577
573
  }
574
+ var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
578
575
  function _r(e) {
576
+ return e.$$typeof === Er;
577
+ }
578
+ function vr(e) {
579
579
  return Array.isArray(e) ? [] : {};
580
580
  }
581
- function J(e, t) {
582
- return t.clone !== !1 && t.isMergeableObject(e) ? G(_r(e), e, t) : e;
581
+ function Q(e, t) {
582
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(vr(e), e, t) : e;
583
583
  }
584
584
  function Br(e, t, r) {
585
585
  return e.concat(t).map(function(n) {
586
- return J(n, r);
586
+ return Q(n, r);
587
587
  });
588
588
  }
589
589
  function Hr(e, t) {
590
590
  if (!t.customMerge)
591
- return G;
591
+ return D;
592
592
  var r = t.customMerge(e);
593
- return typeof r == "function" ? r : G;
593
+ return typeof r == "function" ? r : D;
594
594
  }
595
- function Sr(e) {
595
+ function Tr(e) {
596
596
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
597
597
  return Object.propertyIsEnumerable.call(e, t);
598
598
  }) : [];
599
599
  }
600
600
  function We(e) {
601
- return Object.keys(e).concat(Sr(e));
601
+ return Object.keys(e).concat(Tr(e));
602
602
  }
603
603
  function ct(e, t) {
604
604
  try {
@@ -607,59 +607,73 @@ function ct(e, t) {
607
607
  return !1;
608
608
  }
609
609
  }
610
- function Tr(e, t) {
610
+ function Sr(e, t) {
611
611
  return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
612
  }
613
613
  function Ar(e, t, r) {
614
614
  var n = {};
615
615
  return r.isMergeableObject(e) && We(e).forEach(function(i) {
616
- n[i] = J(e[i], r);
616
+ n[i] = Q(e[i], r);
617
617
  }), We(t).forEach(function(i) {
618
- Tr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
618
+ Sr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = Q(t[i], r));
619
619
  }), n;
620
620
  }
621
- function G(e, t, r) {
622
- r = r || {}, r.arrayMerge = r.arrayMerge || Br, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = J;
621
+ function D(e, t, r) {
622
+ r = r || {}, r.arrayMerge = r.arrayMerge || Br, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = Q;
623
623
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
624
- return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : J(t, r);
624
+ return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : Q(t, r);
625
625
  }
626
- G.all = function(t, r) {
626
+ D.all = function(t, r) {
627
627
  if (!Array.isArray(t))
628
628
  throw new Error("first argument should be an array");
629
629
  return t.reduce(function(n, i) {
630
- return G(n, i, r);
630
+ return D(n, i, r);
631
631
  }, {});
632
632
  };
633
- var Pr = G, Mr = Pr;
634
- const Or = /* @__PURE__ */ br(Mr);
635
- var Se = function(e, t) {
636
- return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
633
+ var Mr = D, Pr = Mr;
634
+ const Nr = /* @__PURE__ */ br(Pr);
635
+ /*! *****************************************************************************
636
+ Copyright (c) Microsoft Corporation.
637
+
638
+ Permission to use, copy, modify, and/or distribute this software for any
639
+ purpose with or without fee is hereby granted.
640
+
641
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
642
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
643
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
644
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
645
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
646
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
647
+ PERFORMANCE OF THIS SOFTWARE.
648
+ ***************************************************************************** */
649
+ var Be = function(e, t) {
650
+ return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
637
651
  r.__proto__ = n;
638
652
  } || function(r, n) {
639
653
  for (var i in n)
640
654
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
641
- }, Se(e, t);
655
+ }, Be(e, t);
642
656
  };
643
- function he(e, t) {
657
+ function ae(e, t) {
644
658
  if (typeof t != "function" && t !== null)
645
659
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
646
- Se(e, t);
660
+ Be(e, t);
647
661
  function r() {
648
662
  this.constructor = e;
649
663
  }
650
664
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
651
665
  }
652
- var P = function() {
653
- return P = Object.assign || function(t) {
666
+ var d = function() {
667
+ return d = Object.assign || function(t) {
654
668
  for (var r, n = 1, i = arguments.length; n < i; n++) {
655
669
  r = arguments[n];
656
670
  for (var s in r)
657
671
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
658
672
  }
659
673
  return t;
660
- }, P.apply(this, arguments);
674
+ }, d.apply(this, arguments);
661
675
  };
662
- function Nr(e, t) {
676
+ function Or(e, t) {
663
677
  var r = {};
664
678
  for (var n in e)
665
679
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -668,14 +682,14 @@ function Nr(e, t) {
668
682
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
669
683
  return r;
670
684
  }
671
- function be(e, t, r) {
672
- if (r || arguments.length === 2)
685
+ function me(e, t, r) {
686
+ if (arguments.length === 2)
673
687
  for (var n = 0, i = t.length, s; n < i; n++)
674
688
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
675
- return e.concat(s || Array.prototype.slice.call(t));
689
+ return e.concat(s || t);
676
690
  }
677
- function de(e, t) {
678
- var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Lr;
691
+ function pe(e, t) {
692
+ var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Ir;
679
693
  return i(e, {
680
694
  cache: r,
681
695
  serializer: n
@@ -684,103 +698,95 @@ function de(e, t) {
684
698
  function wr(e) {
685
699
  return e == null || typeof e == "number" || typeof e == "boolean";
686
700
  }
687
- function Ir(e, t, r, n) {
701
+ function mt(e, t, r, n) {
688
702
  var i = wr(n) ? n : r(n), s = t.get(i);
689
703
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
690
704
  }
691
- function mt(e, t, r) {
705
+ function pt(e, t, r) {
692
706
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
693
707
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
694
708
  }
695
- function pt(e, t, r, n, i) {
709
+ function Le(e, t, r, n, i) {
696
710
  return r.bind(t, e, n, i);
697
711
  }
712
+ function Ir(e, t) {
713
+ var r = e.length === 1 ? mt : pt;
714
+ return Le(e, this, r, t.cache.create(), t.serializer);
715
+ }
698
716
  function Lr(e, t) {
699
- var r = e.length === 1 ? Ir : mt;
700
- return pt(e, this, r, t.cache.create(), t.serializer);
717
+ return Le(e, this, pt, t.cache.create(), t.serializer);
701
718
  }
702
719
  function Cr(e, t) {
703
- return pt(e, this, mt, t.cache.create(), t.serializer);
720
+ return Le(e, this, mt, t.cache.create(), t.serializer);
704
721
  }
705
722
  var $r = function() {
706
723
  return JSON.stringify(arguments);
707
- }, Rr = (
708
- /** @class */
709
- function() {
710
- function e() {
711
- this.cache = /* @__PURE__ */ Object.create(null);
712
- }
713
- return e.prototype.get = function(t) {
714
- return this.cache[t];
715
- }, e.prototype.set = function(t, r) {
716
- this.cache[t] = r;
717
- }, e;
718
- }()
719
- ), Ur = {
724
+ };
725
+ function Ce() {
726
+ this.cache = /* @__PURE__ */ Object.create(null);
727
+ }
728
+ Ce.prototype.get = function(e) {
729
+ return this.cache[e];
730
+ };
731
+ Ce.prototype.set = function(e, t) {
732
+ this.cache[e] = t;
733
+ };
734
+ var Rr = {
720
735
  create: function() {
721
- return new Rr();
736
+ return new Ce();
722
737
  }
723
- }, ge = {
724
- variadic: Cr
725
- }, se = function() {
726
- return se = Object.assign || function(t) {
727
- for (var r, n = 1, i = arguments.length; n < i; n++) {
728
- r = arguments[n];
729
- for (var s in r)
730
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
731
- }
732
- return t;
733
- }, se.apply(this, arguments);
734
- };
735
- var p;
738
+ }, be = {
739
+ variadic: Lr,
740
+ monadic: Cr
741
+ }, p;
736
742
  (function(e) {
737
743
  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";
738
744
  })(p || (p = {}));
739
- var y;
745
+ var x;
740
746
  (function(e) {
741
747
  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";
742
- })(y || (y = {}));
743
- var F;
748
+ })(x || (x = {}));
749
+ var G;
744
750
  (function(e) {
745
751
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
746
- })(F || (F = {}));
752
+ })(G || (G = {}));
747
753
  function ze(e) {
748
- return e.type === y.literal;
754
+ return e.type === x.literal;
749
755
  }
750
- function Dr(e) {
751
- return e.type === y.argument;
756
+ function Ur(e) {
757
+ return e.type === x.argument;
752
758
  }
753
759
  function bt(e) {
754
- return e.type === y.number;
760
+ return e.type === x.number;
755
761
  }
756
762
  function dt(e) {
757
- return e.type === y.date;
763
+ return e.type === x.date;
758
764
  }
759
765
  function gt(e) {
760
- return e.type === y.time;
766
+ return e.type === x.time;
761
767
  }
762
768
  function yt(e) {
763
- return e.type === y.select;
769
+ return e.type === x.select;
764
770
  }
765
- function Et(e) {
766
- return e.type === y.plural;
771
+ function xt(e) {
772
+ return e.type === x.plural;
767
773
  }
768
- function Gr(e) {
769
- return e.type === y.pound;
774
+ function Dr(e) {
775
+ return e.type === x.pound;
770
776
  }
771
- function xt(e) {
772
- return e.type === y.tag;
777
+ function Et(e) {
778
+ return e.type === x.tag;
773
779
  }
774
- function vt(e) {
775
- return !!(e && typeof e == "object" && e.type === F.number);
780
+ function _t(e) {
781
+ return !!(e && typeof e == "object" && e.type === G.number);
776
782
  }
777
- function Te(e) {
778
- return !!(e && typeof e == "object" && e.type === F.dateTime);
783
+ function He(e) {
784
+ return !!(e && typeof e == "object" && e.type === G.dateTime);
779
785
  }
780
- var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
781
- function jr(e) {
786
+ var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
787
+ function Fr(e) {
782
788
  var t = {};
783
- return e.replace(Fr, function(r) {
789
+ return e.replace(Gr, function(r) {
784
790
  var n = r.length;
785
791
  switch (r[0]) {
786
792
  case "G":
@@ -869,21 +875,11 @@ function jr(e) {
869
875
  return "";
870
876
  }), t;
871
877
  }
872
- var x = function() {
873
- return x = Object.assign || function(t) {
874
- for (var r, n = 1, i = arguments.length; n < i; n++) {
875
- r = arguments[n];
876
- for (var s in r)
877
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
878
- }
879
- return t;
880
- }, x.apply(this, arguments);
881
- };
882
- var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
883
- function Vr(e) {
878
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
879
+ function kr(e) {
884
880
  if (e.length === 0)
885
881
  throw new Error("Number skeleton cannot be empty");
886
- for (var t = e.split(kr).filter(function(c) {
882
+ for (var t = e.split(jr).filter(function(c) {
887
883
  return c.length > 0;
888
884
  }), r = [], n = 0, i = t; n < i.length; n++) {
889
885
  var s = i[n], a = s.split("/");
@@ -898,17 +894,17 @@ function Vr(e) {
898
894
  }
899
895
  return r;
900
896
  }
901
- function Xr(e) {
897
+ function Vr(e) {
902
898
  return e.replace(/^(.*?)-/, "");
903
899
  }
904
- var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
900
+ var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
905
901
  function Qe(e) {
906
902
  var t = {};
907
903
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(r, n, i) {
908
904
  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)), "";
909
905
  }), t;
910
906
  }
911
- function St(e) {
907
+ function Tt(e) {
912
908
  switch (e) {
913
909
  case "sign-auto":
914
910
  return {
@@ -948,7 +944,7 @@ function St(e) {
948
944
  };
949
945
  }
950
946
  }
951
- function zr(e) {
947
+ function Wr(e) {
952
948
  var t;
953
949
  if (e[0] === "E" && e[1] === "E" ? (t = {
954
950
  notation: "engineering"
@@ -963,10 +959,10 @@ function zr(e) {
963
959
  return t;
964
960
  }
965
961
  function Je(e) {
966
- var t = {}, r = St(e);
962
+ var t = {}, r = Tt(e);
967
963
  return r || t;
968
964
  }
969
- function Zr(e) {
965
+ function zr(e) {
970
966
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
971
967
  var i = n[r];
972
968
  switch (i.stem) {
@@ -990,7 +986,7 @@ function Zr(e) {
990
986
  continue;
991
987
  case "measure-unit":
992
988
  case "unit":
993
- t.style = "unit", t.unit = Xr(i.options[0]);
989
+ t.style = "unit", t.unit = Vr(i.options[0]);
994
990
  continue;
995
991
  case "compact-short":
996
992
  case "K":
@@ -1001,13 +997,13 @@ function Zr(e) {
1001
997
  t.notation = "compact", t.compactDisplay = "long";
1002
998
  continue;
1003
999
  case "scientific":
1004
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
1005
- return x(x({}, h), Je(o));
1000
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
1001
+ return d(d({}, h), Je(o));
1006
1002
  }, {}));
1007
1003
  continue;
1008
1004
  case "engineering":
1009
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
1010
- return x(x({}, h), Je(o));
1005
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
1006
+ return d(d({}, h), Je(o));
1011
1007
  }, {}));
1012
1008
  continue;
1013
1009
  case "notation-simple":
@@ -1052,13 +1048,13 @@ function Zr(e) {
1052
1048
  case "integer-width":
1053
1049
  if (i.options.length > 1)
1054
1050
  throw new RangeError("integer-width stems only accept a single optional option");
1055
- i.options[0].replace(Wr, function(h, o, l, f, c, g) {
1051
+ i.options[0].replace(Xr, function(h, o, l, f, c, y) {
1056
1052
  if (o)
1057
1053
  t.minimumIntegerDigits = l.length;
1058
1054
  else {
1059
1055
  if (f && c)
1060
1056
  throw new Error("We currently do not support maximum integer digits");
1061
- if (g)
1057
+ if (y)
1062
1058
  throw new Error("We currently do not support exact integer digits");
1063
1059
  }
1064
1060
  return "";
@@ -1072,25 +1068,25 @@ function Zr(e) {
1072
1068
  if (Ze.test(i.stem)) {
1073
1069
  if (i.options.length > 1)
1074
1070
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1075
- i.stem.replace(Ze, function(h, o, l, f, c, g) {
1076
- return l === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1071
+ i.stem.replace(Ze, function(h, o, l, f, c, y) {
1072
+ return l === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1077
1073
  });
1078
1074
  var s = i.options[0];
1079
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Qe(s)));
1075
+ s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Qe(s)));
1080
1076
  continue;
1081
1077
  }
1082
1078
  if (Bt.test(i.stem)) {
1083
- t = x(x({}, t), Qe(i.stem));
1079
+ t = d(d({}, t), Qe(i.stem));
1084
1080
  continue;
1085
1081
  }
1086
- var a = St(i.stem);
1087
- a && (t = x(x({}, t), a));
1088
- var u = zr(i.stem);
1089
- u && (t = x(x({}, t), u));
1082
+ var a = Tt(i.stem);
1083
+ a && (t = d(d({}, t), a));
1084
+ var u = Wr(i.stem);
1085
+ u && (t = d(d({}, t), u));
1090
1086
  }
1091
1087
  return t;
1092
1088
  }
1093
- var te = {
1089
+ var ee = {
1094
1090
  "001": [
1095
1091
  "H",
1096
1092
  "h"
@@ -2505,13 +2501,13 @@ var te = {
2505
2501
  "h"
2506
2502
  ]
2507
2503
  };
2508
- function Qr(e, t) {
2504
+ function Zr(e, t) {
2509
2505
  for (var r = "", n = 0; n < e.length; n++) {
2510
2506
  var i = e.charAt(n);
2511
2507
  if (i === "j") {
2512
2508
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2513
2509
  s++, n++;
2514
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Jr(t);
2510
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Qr(t);
2515
2511
  for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2516
2512
  r += h;
2517
2513
  for (; a-- > 0; )
@@ -2521,7 +2517,7 @@ function Qr(e, t) {
2521
2517
  }
2522
2518
  return r;
2523
2519
  }
2524
- function Jr(e) {
2520
+ function Qr(e) {
2525
2521
  var t = e.hourCycle;
2526
2522
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2527
2523
  e.hourCycles && // @ts-ignore
@@ -2540,23 +2536,23 @@ function Jr(e) {
2540
2536
  }
2541
2537
  var r = e.language, n;
2542
2538
  r !== "root" && (n = e.maximize().region);
2543
- var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2539
+ var i = ee[n || ""] || ee[r || ""] || ee["".concat(r, "-001")] || ee["001"];
2544
2540
  return i[0];
2545
2541
  }
2546
- var ye, qr = new RegExp("^".concat(_t.source, "*")), Yr = new RegExp("".concat(_t.source, "*$"));
2542
+ var de, Jr = new RegExp("^".concat(vt.source, "*")), qr = new RegExp("".concat(vt.source, "*$"));
2547
2543
  function b(e, t) {
2548
2544
  return { start: e, end: t };
2549
2545
  }
2550
- var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, sn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
2546
+ var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
2551
2547
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2552
- }, Ae = !0;
2548
+ }, Te = !0;
2553
2549
  try {
2554
- var un = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2555
- Ae = ((ye = un.exec("a")) === null || ye === void 0 ? void 0 : ye[0]) === "a";
2550
+ var an = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2551
+ Te = ((de = an.exec("a")) === null || de === void 0 ? void 0 : de[0]) === "a";
2556
2552
  } catch (e) {
2557
- Ae = !1;
2553
+ Te = !1;
2558
2554
  }
2559
- var qe = Kr ? (
2555
+ var qe = Yr ? (
2560
2556
  // Native
2561
2557
  function(t, r, n) {
2562
2558
  return t.startsWith(r, n);
@@ -2566,7 +2562,7 @@ var qe = Kr ? (
2566
2562
  function(t, r, n) {
2567
2563
  return t.slice(n, n + r.length) === r;
2568
2564
  }
2569
- ), Pe = en ? String.fromCodePoint : (
2565
+ ), Se = Kr ? String.fromCodePoint : (
2570
2566
  // IE11
2571
2567
  function() {
2572
2568
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2580,7 +2576,7 @@ var qe = Kr ? (
2580
2576
  }
2581
2577
  ), Ye = (
2582
2578
  // native
2583
- tn ? Object.fromEntries : (
2579
+ en ? Object.fromEntries : (
2584
2580
  // Ponyfill
2585
2581
  function(t) {
2586
2582
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2590,7 +2586,7 @@ var qe = Kr ? (
2590
2586
  return r;
2591
2587
  }
2592
2588
  )
2593
- ), Tt = rn ? (
2589
+ ), St = tn ? (
2594
2590
  // Native
2595
2591
  function(t, r) {
2596
2592
  return t.codePointAt(r);
@@ -2604,7 +2600,7 @@ var qe = Kr ? (
2604
2600
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2605
2601
  }
2606
2602
  }
2607
- ), hn = nn ? (
2603
+ ), un = rn ? (
2608
2604
  // Native
2609
2605
  function(t) {
2610
2606
  return t.trimStart();
@@ -2612,9 +2608,9 @@ var qe = Kr ? (
2612
2608
  ) : (
2613
2609
  // Ponyfill
2614
2610
  function(t) {
2615
- return t.replace(qr, "");
2611
+ return t.replace(Jr, "");
2616
2612
  }
2617
- ), ln = sn ? (
2613
+ ), hn = nn ? (
2618
2614
  // Native
2619
2615
  function(t) {
2620
2616
  return t.trimEnd();
@@ -2622,32 +2618,32 @@ var qe = Kr ? (
2622
2618
  ) : (
2623
2619
  // Ponyfill
2624
2620
  function(t) {
2625
- return t.replace(Yr, "");
2621
+ return t.replace(qr, "");
2626
2622
  }
2627
2623
  );
2628
2624
  function At(e, t) {
2629
2625
  return new RegExp(e, t);
2630
2626
  }
2631
- var Me;
2632
- if (Ae) {
2627
+ var Ae;
2628
+ if (Te) {
2633
2629
  var Ke = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2634
- Me = function(t, r) {
2630
+ Ae = function(t, r) {
2635
2631
  var n;
2636
2632
  Ke.lastIndex = r;
2637
2633
  var i = Ke.exec(t);
2638
2634
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2639
2635
  };
2640
2636
  } else
2641
- Me = function(t, r) {
2637
+ Ae = function(t, r) {
2642
2638
  for (var n = []; ; ) {
2643
- var i = Tt(t, r);
2644
- if (i === void 0 || Pt(i) || pn(i))
2639
+ var i = St(t, r);
2640
+ if (i === void 0 || Mt(i) || mn(i))
2645
2641
  break;
2646
2642
  n.push(i), r += i >= 65536 ? 2 : 1;
2647
2643
  }
2648
- return Pe.apply(void 0, n);
2644
+ return Se.apply(void 0, n);
2649
2645
  };
2650
- var fn = (
2646
+ var ln = (
2651
2647
  /** @class */
2652
2648
  function() {
2653
2649
  function e(t, r) {
@@ -2671,14 +2667,14 @@ var fn = (
2671
2667
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2672
2668
  var u = this.clonePosition();
2673
2669
  this.bump(), i.push({
2674
- type: y.pound,
2670
+ type: x.pound,
2675
2671
  location: b(u, this.clonePosition())
2676
2672
  });
2677
2673
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2678
2674
  if (n)
2679
2675
  break;
2680
2676
  return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2681
- } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2677
+ } else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
2682
2678
  var a = this.parseTag(t, r);
2683
2679
  if (a.err)
2684
2680
  return a;
@@ -2699,7 +2695,7 @@ var fn = (
2699
2695
  if (this.bumpSpace(), this.bumpIf("/>"))
2700
2696
  return {
2701
2697
  val: {
2702
- type: y.literal,
2698
+ type: x.literal,
2703
2699
  value: "<".concat(i, "/>"),
2704
2700
  location: b(n, this.clonePosition())
2705
2701
  },
@@ -2711,12 +2707,12 @@ var fn = (
2711
2707
  return s;
2712
2708
  var a = s.val, u = this.clonePosition();
2713
2709
  if (this.bumpIf("</")) {
2714
- if (this.isEOF() || !Oe(this.char()))
2710
+ if (this.isEOF() || !Me(this.char()))
2715
2711
  return this.error(p.INVALID_TAG, b(u, this.clonePosition()));
2716
2712
  var h = this.clonePosition(), o = this.parseTagName();
2717
2713
  return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2718
2714
  val: {
2719
- type: y.tag,
2715
+ type: x.tag,
2720
2716
  value: i,
2721
2717
  children: a,
2722
2718
  location: b(n, this.clonePosition())
@@ -2729,7 +2725,7 @@ var fn = (
2729
2725
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2730
2726
  }, e.prototype.parseTagName = function() {
2731
2727
  var t = this.offset();
2732
- for (this.bump(); !this.isEOF() && mn(this.char()); )
2728
+ for (this.bump(); !this.isEOF() && cn(this.char()); )
2733
2729
  this.bump();
2734
2730
  return this.message.slice(t, this.offset());
2735
2731
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2753,12 +2749,12 @@ var fn = (
2753
2749
  }
2754
2750
  var h = b(n, this.clonePosition());
2755
2751
  return {
2756
- val: { type: y.literal, value: i, location: h },
2752
+ val: { type: x.literal, value: i, location: h },
2757
2753
  err: null
2758
2754
  };
2759
2755
  }, e.prototype.tryParseLeftAngleBracket = function() {
2760
2756
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2761
- !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2757
+ !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2762
2758
  }, e.prototype.tryParseQuote = function(t) {
2763
2759
  if (this.isEOF() || this.char() !== 39)
2764
2760
  return null;
@@ -2792,12 +2788,12 @@ var fn = (
2792
2788
  r.push(n);
2793
2789
  this.bump();
2794
2790
  }
2795
- return Pe.apply(void 0, r);
2791
+ return Se.apply(void 0, r);
2796
2792
  }, e.prototype.tryParseUnquoted = function(t, r) {
2797
2793
  if (this.isEOF())
2798
2794
  return null;
2799
2795
  var n = this.char();
2800
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
2796
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Se(n));
2801
2797
  }, e.prototype.parseArgument = function(t, r) {
2802
2798
  var n = this.clonePosition();
2803
2799
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2813,7 +2809,7 @@ var fn = (
2813
2809
  case 125:
2814
2810
  return this.bump(), {
2815
2811
  val: {
2816
- type: y.argument,
2812
+ type: x.argument,
2817
2813
  // value does not include the opening and closing braces.
2818
2814
  value: i,
2819
2815
  location: b(n, this.clonePosition())
@@ -2826,7 +2822,7 @@ var fn = (
2826
2822
  return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2827
2823
  }
2828
2824
  }, e.prototype.parseIdentifierIfPossible = function() {
2829
- var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
2825
+ var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
2830
2826
  this.bumpTo(i);
2831
2827
  var s = this.clonePosition(), a = b(t, s);
2832
2828
  return { value: n, location: a };
@@ -2845,35 +2841,35 @@ var fn = (
2845
2841
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2846
2842
  if (f.err)
2847
2843
  return f;
2848
- var c = ln(f.val);
2844
+ var c = hn(f.val);
2849
2845
  if (c.length === 0)
2850
2846
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2851
- var g = b(l, this.clonePosition());
2852
- o = { style: c, styleLocation: g };
2847
+ var y = b(l, this.clonePosition());
2848
+ o = { style: c, styleLocation: y };
2853
2849
  }
2854
- var d = this.tryParseArgumentClose(i);
2855
- if (d.err)
2856
- return d;
2850
+ var g = this.tryParseArgumentClose(i);
2851
+ if (g.err)
2852
+ return g;
2857
2853
  var E = b(i, this.clonePosition());
2858
2854
  if (o && qe(o == null ? void 0 : o.style, "::", 0)) {
2859
- var H = hn(o.style.slice(2));
2855
+ var H = un(o.style.slice(2));
2860
2856
  if (u === "number") {
2861
2857
  var f = this.parseNumberSkeletonFromString(H, o.styleLocation);
2862
2858
  return f.err ? f : {
2863
- val: { type: y.number, value: n, location: E, style: f.val },
2859
+ val: { type: x.number, value: n, location: E, style: f.val },
2864
2860
  err: null
2865
2861
  };
2866
2862
  } else {
2867
2863
  if (H.length === 0)
2868
2864
  return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2869
2865
  var N = H;
2870
- this.locale && (N = Qr(H, this.locale));
2866
+ this.locale && (N = Zr(H, this.locale));
2871
2867
  var c = {
2872
- type: F.dateTime,
2868
+ type: G.dateTime,
2873
2869
  pattern: N,
2874
2870
  location: o.styleLocation,
2875
- parsedOptions: this.shouldParseSkeletons ? jr(N) : {}
2876
- }, m = u === "date" ? y.date : y.time;
2871
+ parsedOptions: this.shouldParseSkeletons ? Fr(N) : {}
2872
+ }, m = u === "date" ? x.date : x.time;
2877
2873
  return {
2878
2874
  val: { type: m, value: n, location: E, style: c },
2879
2875
  err: null
@@ -2882,7 +2878,7 @@ var fn = (
2882
2878
  }
2883
2879
  return {
2884
2880
  val: {
2885
- type: u === "number" ? y.number : u === "date" ? y.date : y.time,
2881
+ type: u === "number" ? x.number : u === "date" ? x.date : x.time,
2886
2882
  value: n,
2887
2883
  location: E,
2888
2884
  style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
@@ -2893,41 +2889,41 @@ var fn = (
2893
2889
  case "plural":
2894
2890
  case "selectordinal":
2895
2891
  case "select": {
2896
- var v = this.clonePosition();
2892
+ var _ = this.clonePosition();
2897
2893
  if (this.bumpSpace(), !this.bumpIf(","))
2898
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, se({}, v)));
2894
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(_, d({}, _)));
2899
2895
  this.bumpSpace();
2900
- var T = this.parseIdentifierIfPossible(), w = 0;
2901
- if (u !== "select" && T.value === "offset") {
2896
+ var S = this.parseIdentifierIfPossible(), O = 0;
2897
+ if (u !== "select" && S.value === "offset") {
2902
2898
  if (!this.bumpIf(":"))
2903
2899
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2904
2900
  this.bumpSpace();
2905
2901
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2906
2902
  if (f.err)
2907
2903
  return f;
2908
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), w = f.val;
2904
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), O = f.val;
2909
2905
  }
2910
- var ee = this.tryParsePluralOrSelectOptions(t, u, r, T);
2911
- if (ee.err)
2912
- return ee;
2913
- var d = this.tryParseArgumentClose(i);
2914
- if (d.err)
2915
- return d;
2906
+ var K = this.tryParsePluralOrSelectOptions(t, u, r, S);
2907
+ if (K.err)
2908
+ return K;
2909
+ var g = this.tryParseArgumentClose(i);
2910
+ if (g.err)
2911
+ return g;
2916
2912
  var Ue = b(i, this.clonePosition());
2917
2913
  return u === "select" ? {
2918
2914
  val: {
2919
- type: y.select,
2915
+ type: x.select,
2920
2916
  value: n,
2921
- options: Ye(ee.val),
2917
+ options: Ye(K.val),
2922
2918
  location: Ue
2923
2919
  },
2924
2920
  err: null
2925
2921
  } : {
2926
2922
  val: {
2927
- type: y.plural,
2923
+ type: x.plural,
2928
2924
  value: n,
2929
- options: Ye(ee.val),
2930
- offset: w,
2925
+ options: Ye(K.val),
2926
+ offset: O,
2931
2927
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2932
2928
  location: Ue
2933
2929
  },
@@ -2977,16 +2973,16 @@ var fn = (
2977
2973
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2978
2974
  var n = [];
2979
2975
  try {
2980
- n = Vr(t);
2976
+ n = kr(t);
2981
2977
  } catch (i) {
2982
2978
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2983
2979
  }
2984
2980
  return {
2985
2981
  val: {
2986
- type: F.number,
2982
+ type: G.number,
2987
2983
  tokens: n,
2988
2984
  location: r,
2989
- parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2985
+ parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
2990
2986
  },
2991
2987
  err: null
2992
2988
  };
@@ -3005,20 +3001,20 @@ var fn = (
3005
3001
  if (h.has(o))
3006
3002
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3007
3003
  o === "other" && (a = !0), this.bumpSpace();
3008
- var g = this.clonePosition();
3004
+ var y = this.clonePosition();
3009
3005
  if (!this.bumpIf("{"))
3010
3006
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3011
- var d = this.parseMessage(t + 1, r, n);
3012
- if (d.err)
3013
- return d;
3014
- var E = this.tryParseArgumentClose(g);
3007
+ var g = this.parseMessage(t + 1, r, n);
3008
+ if (g.err)
3009
+ return g;
3010
+ var E = this.tryParseArgumentClose(y);
3015
3011
  if (E.err)
3016
3012
  return E;
3017
3013
  u.push([
3018
3014
  o,
3019
3015
  {
3020
- value: d.val,
3021
- location: b(g, this.clonePosition())
3016
+ value: g.val,
3017
+ location: b(y, this.clonePosition())
3022
3018
  }
3023
3019
  ]), h.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, l = s.location;
3024
3020
  }
@@ -3034,7 +3030,7 @@ var fn = (
3034
3030
  break;
3035
3031
  }
3036
3032
  var h = b(i, this.clonePosition());
3037
- return s ? (a *= n, an(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3033
+ return s ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3038
3034
  }, e.prototype.offset = function() {
3039
3035
  return this.position.offset;
3040
3036
  }, e.prototype.isEOF = function() {
@@ -3049,7 +3045,7 @@ var fn = (
3049
3045
  var t = this.position.offset;
3050
3046
  if (t >= this.message.length)
3051
3047
  throw Error("out of bound");
3052
- var r = Tt(this.message, t);
3048
+ var r = St(this.message, t);
3053
3049
  if (r === void 0)
3054
3050
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3055
3051
  return r;
@@ -3090,7 +3086,7 @@ var fn = (
3090
3086
  break;
3091
3087
  }
3092
3088
  }, e.prototype.bumpSpace = function() {
3093
- for (; !this.isEOF() && Pt(this.char()); )
3089
+ for (; !this.isEOF() && Mt(this.char()); )
3094
3090
  this.bump();
3095
3091
  }, e.prototype.peek = function() {
3096
3092
  if (this.isEOF())
@@ -3100,47 +3096,47 @@ var fn = (
3100
3096
  }, e;
3101
3097
  }()
3102
3098
  );
3103
- function Oe(e) {
3099
+ function Me(e) {
3104
3100
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3105
3101
  }
3106
- function cn(e) {
3107
- return Oe(e) || e === 47;
3102
+ function fn(e) {
3103
+ return Me(e) || e === 47;
3108
3104
  }
3109
- function mn(e) {
3105
+ function cn(e) {
3110
3106
  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;
3111
3107
  }
3112
- function Pt(e) {
3108
+ function Mt(e) {
3113
3109
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3114
3110
  }
3115
- function pn(e) {
3111
+ function mn(e) {
3116
3112
  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;
3117
3113
  }
3118
- function Ne(e) {
3114
+ function Pe(e) {
3119
3115
  e.forEach(function(t) {
3120
- if (delete t.location, yt(t) || Et(t))
3116
+ if (delete t.location, yt(t) || xt(t))
3121
3117
  for (var r in t.options)
3122
- delete t.options[r].location, Ne(t.options[r].value);
3118
+ delete t.options[r].location, Pe(t.options[r].value);
3123
3119
  else
3124
- bt(t) && vt(t.style) || (dt(t) || gt(t)) && Te(t.style) ? delete t.style.location : xt(t) && Ne(t.children);
3120
+ bt(t) && _t(t.style) || (dt(t) || gt(t)) && He(t.style) ? delete t.style.location : Et(t) && Pe(t.children);
3125
3121
  });
3126
3122
  }
3127
- function bn(e, t) {
3128
- t === void 0 && (t = {}), t = se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3129
- var r = new fn(e, t).parse();
3123
+ function pn(e, t) {
3124
+ t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3125
+ var r = new ln(e, t).parse();
3130
3126
  if (r.err) {
3131
3127
  var n = SyntaxError(p[r.err.kind]);
3132
3128
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3133
3129
  }
3134
- return t != null && t.captureLocation || Ne(r.val), r.val;
3130
+ return t != null && t.captureLocation || Pe(r.val), r.val;
3135
3131
  }
3136
- var j;
3132
+ var F;
3137
3133
  (function(e) {
3138
3134
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3139
- })(j || (j = {}));
3140
- var le = (
3135
+ })(F || (F = {}));
3136
+ var ue = (
3141
3137
  /** @class */
3142
3138
  function(e) {
3143
- he(t, e);
3139
+ ae(t, e);
3144
3140
  function t(r, n, i) {
3145
3141
  var s = e.call(this, r) || this;
3146
3142
  return s.code = n, s.originalMessage = i, s;
@@ -3152,48 +3148,48 @@ var le = (
3152
3148
  ), et = (
3153
3149
  /** @class */
3154
3150
  function(e) {
3155
- he(t, e);
3151
+ ae(t, e);
3156
3152
  function t(r, n, i, s) {
3157
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3153
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, s) || this;
3158
3154
  }
3159
3155
  return t;
3160
- }(le)
3161
- ), dn = (
3156
+ }(ue)
3157
+ ), bn = (
3162
3158
  /** @class */
3163
3159
  function(e) {
3164
- he(t, e);
3160
+ ae(t, e);
3165
3161
  function t(r, n, i) {
3166
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3162
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3167
3163
  }
3168
3164
  return t;
3169
- }(le)
3170
- ), gn = (
3165
+ }(ue)
3166
+ ), dn = (
3171
3167
  /** @class */
3172
3168
  function(e) {
3173
- he(t, e);
3169
+ ae(t, e);
3174
3170
  function t(r, n) {
3175
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3171
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3176
3172
  }
3177
3173
  return t;
3178
- }(le)
3179
- ), _;
3174
+ }(ue)
3175
+ ), v;
3180
3176
  (function(e) {
3181
3177
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3182
- })(_ || (_ = {}));
3183
- function yn(e) {
3178
+ })(v || (v = {}));
3179
+ function gn(e) {
3184
3180
  return e.length < 2 ? e : e.reduce(function(t, r) {
3185
3181
  var n = t[t.length - 1];
3186
- return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3182
+ return !n || n.type !== v.literal || r.type !== v.literal ? t.push(r) : n.value += r.value, t;
3187
3183
  }, []);
3188
3184
  }
3189
- function En(e) {
3185
+ function yn(e) {
3190
3186
  return typeof e == "function";
3191
3187
  }
3192
- function ne(e, t, r, n, i, s, a) {
3188
+ function re(e, t, r, n, i, s, a) {
3193
3189
  if (e.length === 1 && ze(e[0]))
3194
3190
  return [
3195
3191
  {
3196
- type: _.literal,
3192
+ type: v.literal,
3197
3193
  value: e[0].value
3198
3194
  }
3199
3195
  ];
@@ -3201,103 +3197,103 @@ function ne(e, t, r, n, i, s, a) {
3201
3197
  var l = o[h];
3202
3198
  if (ze(l)) {
3203
3199
  u.push({
3204
- type: _.literal,
3200
+ type: v.literal,
3205
3201
  value: l.value
3206
3202
  });
3207
3203
  continue;
3208
3204
  }
3209
- if (Gr(l)) {
3205
+ if (Dr(l)) {
3210
3206
  typeof s == "number" && u.push({
3211
- type: _.literal,
3207
+ type: v.literal,
3212
3208
  value: r.getNumberFormat(t).format(s)
3213
3209
  });
3214
3210
  continue;
3215
3211
  }
3216
3212
  var f = l.value;
3217
3213
  if (!(i && f in i))
3218
- throw new gn(f, a);
3214
+ throw new dn(f, a);
3219
3215
  var c = i[f];
3220
- if (Dr(l)) {
3216
+ if (Ur(l)) {
3221
3217
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3222
- type: typeof c == "string" ? _.literal : _.object,
3218
+ type: typeof c == "string" ? v.literal : v.object,
3223
3219
  value: c
3224
3220
  });
3225
3221
  continue;
3226
3222
  }
3227
3223
  if (dt(l)) {
3228
- var g = typeof l.style == "string" ? n.date[l.style] : Te(l.style) ? l.style.parsedOptions : void 0;
3224
+ var y = typeof l.style == "string" ? n.date[l.style] : He(l.style) ? l.style.parsedOptions : void 0;
3229
3225
  u.push({
3230
- type: _.literal,
3231
- value: r.getDateTimeFormat(t, g).format(c)
3226
+ type: v.literal,
3227
+ value: r.getDateTimeFormat(t, y).format(c)
3232
3228
  });
3233
3229
  continue;
3234
3230
  }
3235
3231
  if (gt(l)) {
3236
- var g = typeof l.style == "string" ? n.time[l.style] : Te(l.style) ? l.style.parsedOptions : n.time.medium;
3232
+ var y = typeof l.style == "string" ? n.time[l.style] : He(l.style) ? l.style.parsedOptions : n.time.medium;
3237
3233
  u.push({
3238
- type: _.literal,
3239
- value: r.getDateTimeFormat(t, g).format(c)
3234
+ type: v.literal,
3235
+ value: r.getDateTimeFormat(t, y).format(c)
3240
3236
  });
3241
3237
  continue;
3242
3238
  }
3243
3239
  if (bt(l)) {
3244
- var g = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
3245
- g && g.scale && (c = c * (g.scale || 1)), u.push({
3246
- type: _.literal,
3247
- value: r.getNumberFormat(t, g).format(c)
3240
+ var y = typeof l.style == "string" ? n.number[l.style] : _t(l.style) ? l.style.parsedOptions : void 0;
3241
+ y && y.scale && (c = c * (y.scale || 1)), u.push({
3242
+ type: v.literal,
3243
+ value: r.getNumberFormat(t, y).format(c)
3248
3244
  });
3249
3245
  continue;
3250
3246
  }
3251
- if (xt(l)) {
3252
- var d = l.children, E = l.value, H = i[E];
3253
- if (!En(H))
3254
- throw new dn(E, "function", a);
3255
- var N = ne(d, t, r, n, i, s), m = H(N.map(function(w) {
3256
- return w.value;
3247
+ if (Et(l)) {
3248
+ var g = l.children, E = l.value, H = i[E];
3249
+ if (!yn(H))
3250
+ throw new bn(E, "function", a);
3251
+ var N = re(g, t, r, n, i, s), m = H(N.map(function(O) {
3252
+ return O.value;
3257
3253
  }));
3258
- Array.isArray(m) || (m = [m]), u.push.apply(u, m.map(function(w) {
3254
+ Array.isArray(m) || (m = [m]), u.push.apply(u, m.map(function(O) {
3259
3255
  return {
3260
- type: typeof w == "string" ? _.literal : _.object,
3261
- value: w
3256
+ type: typeof O == "string" ? v.literal : v.object,
3257
+ value: O
3262
3258
  };
3263
3259
  }));
3264
3260
  }
3265
3261
  if (yt(l)) {
3266
- var v = l.options[c] || l.options.other;
3267
- if (!v)
3262
+ var _ = l.options[c] || l.options.other;
3263
+ if (!_)
3268
3264
  throw new et(l.value, c, Object.keys(l.options), a);
3269
- u.push.apply(u, ne(v.value, t, r, n, i));
3265
+ u.push.apply(u, re(_.value, t, r, n, i));
3270
3266
  continue;
3271
3267
  }
3272
- if (Et(l)) {
3273
- var v = l.options["=".concat(c)];
3274
- if (!v) {
3268
+ if (xt(l)) {
3269
+ var _ = l.options["=".concat(c)];
3270
+ if (!_) {
3275
3271
  if (!Intl.PluralRules)
3276
- throw new le(`Intl.PluralRules is not available in this environment.
3272
+ throw new ue(`Intl.PluralRules is not available in this environment.
3277
3273
  Try polyfilling it using "@formatjs/intl-pluralrules"
3278
- `, j.MISSING_INTL_API, a);
3279
- var T = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3280
- v = l.options[T] || l.options.other;
3274
+ `, F.MISSING_INTL_API, a);
3275
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3276
+ _ = l.options[S] || l.options.other;
3281
3277
  }
3282
- if (!v)
3278
+ if (!_)
3283
3279
  throw new et(l.value, c, Object.keys(l.options), a);
3284
- u.push.apply(u, ne(v.value, t, r, n, i, c - (l.offset || 0)));
3280
+ u.push.apply(u, re(_.value, t, r, n, i, c - (l.offset || 0)));
3285
3281
  continue;
3286
3282
  }
3287
3283
  }
3288
- return yn(u);
3284
+ return gn(u);
3289
3285
  }
3290
3286
  function xn(e, t) {
3291
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3292
- return r[n] = P(P({}, e[n]), t[n] || {}), r;
3287
+ return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3288
+ return r[n] = d(d({}, e[n]), t[n] || {}), r;
3293
3289
  }, {})) : e;
3294
3290
  }
3295
- function vn(e, t) {
3291
+ function En(e, t) {
3296
3292
  return t ? Object.keys(e).reduce(function(r, n) {
3297
3293
  return r[n] = xn(e[n], t[n]), r;
3298
- }, P({}, e)) : e;
3294
+ }, d({}, e)) : e;
3299
3295
  }
3300
- function Ee(e) {
3296
+ function ge(e) {
3301
3297
  return {
3302
3298
  create: function() {
3303
3299
  return {
@@ -3317,33 +3313,33 @@ function _n(e) {
3317
3313
  dateTime: {},
3318
3314
  pluralRules: {}
3319
3315
  }), {
3320
- getNumberFormat: de(function() {
3316
+ getNumberFormat: pe(function() {
3321
3317
  for (var t, r = [], n = 0; n < arguments.length; n++)
3322
3318
  r[n] = arguments[n];
3323
- return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3319
+ return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3324
3320
  }, {
3325
- cache: Ee(e.number),
3326
- strategy: ge.variadic
3321
+ cache: ge(e.number),
3322
+ strategy: be.variadic
3327
3323
  }),
3328
- getDateTimeFormat: de(function() {
3324
+ getDateTimeFormat: pe(function() {
3329
3325
  for (var t, r = [], n = 0; n < arguments.length; n++)
3330
3326
  r[n] = arguments[n];
3331
- return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3327
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3332
3328
  }, {
3333
- cache: Ee(e.dateTime),
3334
- strategy: ge.variadic
3329
+ cache: ge(e.dateTime),
3330
+ strategy: be.variadic
3335
3331
  }),
3336
- getPluralRules: de(function() {
3332
+ getPluralRules: pe(function() {
3337
3333
  for (var t, r = [], n = 0; n < arguments.length; n++)
3338
3334
  r[n] = arguments[n];
3339
- return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3335
+ return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3340
3336
  }, {
3341
- cache: Ee(e.pluralRules),
3342
- strategy: ge.variadic
3337
+ cache: ge(e.pluralRules),
3338
+ strategy: be.variadic
3343
3339
  })
3344
3340
  };
3345
3341
  }
3346
- var Bn = (
3342
+ var vn = (
3347
3343
  /** @class */
3348
3344
  function() {
3349
3345
  function e(t, r, n, i) {
@@ -3358,11 +3354,11 @@ var Bn = (
3358
3354
  if (o.length === 1)
3359
3355
  return o[0].value;
3360
3356
  var l = o.reduce(function(f, c) {
3361
- return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3357
+ return !f.length || c.type !== v.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3362
3358
  }, []);
3363
3359
  return l.length <= 1 ? l[0] || "" : l;
3364
3360
  }, this.formatToParts = function(h) {
3365
- return ne(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3361
+ return re(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3366
3362
  }, this.resolvedOptions = function() {
3367
3363
  var h;
3368
3364
  return {
@@ -3375,13 +3371,13 @@ var Bn = (
3375
3371
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3376
3372
  var a = i || {};
3377
3373
  a.formatters;
3378
- var u = Nr(a, ["formatters"]);
3379
- this.ast = e.__parse(t, P(P({}, u), { locale: this.resolvedLocale }));
3374
+ var u = Or(a, ["formatters"]);
3375
+ this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
3380
3376
  } else
3381
3377
  this.ast = t;
3382
3378
  if (!Array.isArray(this.ast))
3383
3379
  throw new TypeError("A message must be provided as a String or AST.");
3384
- this.formats = vn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3380
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3385
3381
  }
3386
3382
  return Object.defineProperty(e, "defaultLocale", {
3387
3383
  get: function() {
@@ -3394,7 +3390,7 @@ var Bn = (
3394
3390
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3395
3391
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3396
3392
  }
3397
- }, e.__parse = bn, e.formats = {
3393
+ }, e.__parse = pn, e.formats = {
3398
3394
  number: {
3399
3395
  integer: {
3400
3396
  maximumFractionDigits: 0
@@ -3455,7 +3451,7 @@ var Bn = (
3455
3451
  }, e;
3456
3452
  }()
3457
3453
  );
3458
- function Hn(e, t) {
3454
+ function Bn(e, t) {
3459
3455
  if (t == null)
3460
3456
  return;
3461
3457
  if (t in e)
@@ -3476,65 +3472,65 @@ function Hn(e, t) {
3476
3472
  n = void 0;
3477
3473
  return n;
3478
3474
  }
3479
- const O = {}, Sn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Mt = (e, t) => {
3475
+ const P = {}, Hn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Pt = (e, t) => {
3480
3476
  if (t == null)
3481
3477
  return;
3482
- if (t in O && e in O[t])
3483
- return O[t][e];
3484
- const r = fe(t);
3478
+ if (t in P && e in P[t])
3479
+ return P[t][e];
3480
+ const r = he(t);
3485
3481
  for (let n = 0; n < r.length; n++) {
3486
- const i = r[n], s = An(i, e);
3482
+ const i = r[n], s = Sn(i, e);
3487
3483
  if (s)
3488
- return Sn(e, t, s);
3484
+ return Hn(e, t, s);
3489
3485
  }
3490
3486
  };
3491
3487
  let $e;
3492
- const K = ue({});
3488
+ const Y = oe({});
3493
3489
  function Tn(e) {
3494
3490
  return $e[e] || null;
3495
3491
  }
3496
- function Ot(e) {
3492
+ function Nt(e) {
3497
3493
  return e in $e;
3498
3494
  }
3499
- function An(e, t) {
3500
- if (!Ot(e))
3495
+ function Sn(e, t) {
3496
+ if (!Nt(e))
3501
3497
  return null;
3502
3498
  const r = Tn(e);
3503
- return Hn(r, t);
3499
+ return Bn(r, t);
3504
3500
  }
3505
- function Pn(e) {
3501
+ function An(e) {
3506
3502
  if (e == null)
3507
3503
  return;
3508
- const t = fe(e);
3504
+ const t = he(e);
3509
3505
  for (let r = 0; r < t.length; r++) {
3510
3506
  const n = t[r];
3511
- if (Ot(n))
3507
+ if (Nt(n))
3512
3508
  return n;
3513
3509
  }
3514
3510
  }
3515
- function Nt(e, ...t) {
3516
- delete O[e], K.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3511
+ function Ot(e, ...t) {
3512
+ delete P[e], Y.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
3517
3513
  }
3518
- V(
3519
- [K],
3514
+ k(
3515
+ [Y],
3520
3516
  ([e]) => Object.keys(e)
3521
3517
  );
3522
- K.subscribe((e) => $e = e);
3523
- const ie = {};
3518
+ Y.subscribe((e) => $e = e);
3519
+ const ne = {};
3524
3520
  function Mn(e, t) {
3525
- ie[e].delete(t), ie[e].size === 0 && delete ie[e];
3521
+ ne[e].delete(t), ne[e].size === 0 && delete ne[e];
3526
3522
  }
3527
3523
  function wt(e) {
3528
- return ie[e];
3524
+ return ne[e];
3529
3525
  }
3530
- function On(e) {
3531
- return fe(e).map((t) => {
3526
+ function Pn(e) {
3527
+ return he(e).map((t) => {
3532
3528
  const r = wt(t);
3533
3529
  return [t, r ? [...r] : []];
3534
3530
  }).filter(([, t]) => t.length > 0);
3535
3531
  }
3536
- function we(e) {
3537
- return e == null ? !1 : fe(e).some(
3532
+ function Ne(e) {
3533
+ return e == null ? !1 : he(e).some(
3538
3534
  (t) => {
3539
3535
  var r;
3540
3536
  return (r = wt(t)) == null ? void 0 : r.size;
@@ -3544,24 +3540,24 @@ function we(e) {
3544
3540
  function Nn(e, t) {
3545
3541
  return Promise.all(
3546
3542
  t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3547
- ).then((n) => Nt(e, ...n));
3543
+ ).then((n) => Ot(e, ...n));
3548
3544
  }
3549
- const z = {};
3545
+ const W = {};
3550
3546
  function It(e) {
3551
- if (!we(e))
3552
- return e in z ? z[e] : Promise.resolve();
3553
- const t = On(e);
3554
- return z[e] = Promise.all(
3547
+ if (!Ne(e))
3548
+ return e in W ? W[e] : Promise.resolve();
3549
+ const t = Pn(e);
3550
+ return W[e] = Promise.all(
3555
3551
  t.map(
3556
3552
  ([r, n]) => Nn(r, n)
3557
3553
  )
3558
3554
  ).then(() => {
3559
- if (we(e))
3555
+ if (Ne(e))
3560
3556
  return It(e);
3561
- delete z[e];
3562
- }), z[e];
3557
+ delete W[e];
3558
+ }), W[e];
3563
3559
  }
3564
- const wn = {
3560
+ const On = {
3565
3561
  number: {
3566
3562
  scientific: { notation: "scientific" },
3567
3563
  engineering: { notation: "engineering" },
@@ -3590,150 +3586,150 @@ const wn = {
3590
3586
  timeZoneName: "short"
3591
3587
  }
3592
3588
  }
3593
- }, In = {
3589
+ }, wn = {
3594
3590
  fallbackLocale: null,
3595
3591
  loadingDelay: 200,
3596
- formats: wn,
3592
+ formats: On,
3597
3593
  warnOnMissingMessages: !0,
3598
3594
  handleMissingMessage: void 0,
3599
3595
  ignoreTag: !0
3600
- }, Ln = In;
3601
- function k() {
3602
- return Ln;
3596
+ }, In = wn;
3597
+ function j() {
3598
+ return In;
3603
3599
  }
3604
- const xe = ue(!1);
3605
- var Cn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
3600
+ const ye = oe(!1);
3601
+ var Ln = Object.defineProperty, Cn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3606
3602
  for (var r in t || (t = {}))
3607
- Un.call(t, r) && rt(e, r, t[r]);
3603
+ Rn.call(t, r) && rt(e, r, t[r]);
3608
3604
  if (tt)
3609
3605
  for (var r of tt(t))
3610
- Dn.call(t, r) && rt(e, r, t[r]);
3606
+ Un.call(t, r) && rt(e, r, t[r]);
3611
3607
  return e;
3612
- }, Fn = (e, t) => $n(e, Rn(t));
3613
- let Ie;
3614
- const oe = ue(null);
3608
+ }, Gn = (e, t) => Cn(e, $n(t));
3609
+ let Oe;
3610
+ const ie = oe(null);
3615
3611
  function nt(e) {
3616
3612
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3617
3613
  }
3618
- function fe(e, t = k().fallbackLocale) {
3614
+ function he(e, t = j().fallbackLocale) {
3619
3615
  const r = nt(e);
3620
3616
  return t ? [.../* @__PURE__ */ new Set([...r, ...nt(t)])] : r;
3621
3617
  }
3622
- function L() {
3623
- return Ie != null ? Ie : void 0;
3618
+ function I() {
3619
+ return Oe != null ? Oe : void 0;
3624
3620
  }
3625
- oe.subscribe((e) => {
3626
- Ie = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
+ ie.subscribe((e) => {
3622
+ Oe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3627
3623
  });
3628
- const jn = (e) => {
3629
- if (e && Pn(e) && we(e)) {
3630
- const { loadingDelay: t } = k();
3624
+ const Fn = (e) => {
3625
+ if (e && An(e) && Ne(e)) {
3626
+ const { loadingDelay: t } = j();
3631
3627
  let r;
3632
- return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3633
- () => xe.set(!0),
3628
+ return typeof window != "undefined" && I() != null && t ? r = window.setTimeout(
3629
+ () => ye.set(!0),
3634
3630
  t
3635
- ) : xe.set(!0), It(e).then(() => {
3636
- oe.set(e);
3631
+ ) : ye.set(!0), It(e).then(() => {
3632
+ ie.set(e);
3637
3633
  }).finally(() => {
3638
- clearTimeout(r), xe.set(!1);
3634
+ clearTimeout(r), ye.set(!1);
3639
3635
  });
3640
3636
  }
3641
- return oe.set(e);
3642
- }, X = Fn(Gn({}, oe), {
3643
- set: jn
3644
- }), ce = (e) => {
3637
+ return ie.set(e);
3638
+ }, V = Gn(Dn({}, ie), {
3639
+ set: Fn
3640
+ }), le = (e) => {
3645
3641
  const t = /* @__PURE__ */ Object.create(null);
3646
3642
  return (n) => {
3647
3643
  const i = JSON.stringify(n);
3648
3644
  return i in t ? t[i] : t[i] = e(n);
3649
3645
  };
3650
3646
  };
3651
- var kn = Object.defineProperty, ae = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3647
+ var jn = Object.defineProperty, se = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3652
3648
  for (var r in t || (t = {}))
3653
3649
  Lt.call(t, r) && it(e, r, t[r]);
3654
- if (ae)
3655
- for (var r of ae(t))
3650
+ if (se)
3651
+ for (var r of se(t))
3656
3652
  Ct.call(t, r) && it(e, r, t[r]);
3657
3653
  return e;
3658
- }, W = (e, t) => {
3654
+ }, X = (e, t) => {
3659
3655
  var r = {};
3660
3656
  for (var n in e)
3661
3657
  Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3662
- if (e != null && ae)
3663
- for (var n of ae(e))
3658
+ if (e != null && se)
3659
+ for (var n of se(e))
3664
3660
  t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3665
3661
  return r;
3666
3662
  };
3667
- const q = (e, t) => {
3668
- const { formats: r } = k();
3663
+ const J = (e, t) => {
3664
+ const { formats: r } = j();
3669
3665
  if (e in r && t in r[e])
3670
3666
  return r[e][t];
3671
3667
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3672
- }, Vn = ce(
3668
+ }, kn = le(
3673
3669
  (e) => {
3674
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3670
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3675
3671
  if (r == null)
3676
3672
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3677
- return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
3673
+ return n && (i = J("number", n)), new Intl.NumberFormat(r, i);
3678
3674
  }
3679
- ), Xn = ce(
3675
+ ), Vn = le(
3680
3676
  (e) => {
3681
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3677
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3682
3678
  if (r == null)
3683
3679
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3684
- return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
3680
+ return n ? i = J("date", n) : Object.keys(i).length === 0 && (i = J("date", "short")), new Intl.DateTimeFormat(r, i);
3685
3681
  }
3686
- ), Wn = ce(
3682
+ ), Xn = le(
3687
3683
  (e) => {
3688
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3684
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3689
3685
  if (r == null)
3690
3686
  throw new Error(
3691
3687
  '[svelte-i18n] A "locale" must be set to format time values'
3692
3688
  );
3693
- return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
3689
+ return n ? i = J("time", n) : Object.keys(i).length === 0 && (i = J("time", "short")), new Intl.DateTimeFormat(r, i);
3694
3690
  }
3695
- ), zn = (e = {}) => {
3691
+ ), Wn = (e = {}) => {
3696
3692
  var t = e, {
3697
- locale: r = L()
3698
- } = t, n = W(t, [
3693
+ locale: r = I()
3694
+ } = t, n = X(t, [
3699
3695
  "locale"
3700
3696
  ]);
3701
- return Vn(Re({ locale: r }, n));
3702
- }, Zn = (e = {}) => {
3697
+ return kn(Re({ locale: r }, n));
3698
+ }, zn = (e = {}) => {
3703
3699
  var t = e, {
3704
- locale: r = L()
3705
- } = t, n = W(t, [
3700
+ locale: r = I()
3701
+ } = t, n = X(t, [
3706
3702
  "locale"
3707
3703
  ]);
3708
- return Xn(Re({ locale: r }, n));
3709
- }, Qn = (e = {}) => {
3704
+ return Vn(Re({ locale: r }, n));
3705
+ }, Zn = (e = {}) => {
3710
3706
  var t = e, {
3711
- locale: r = L()
3712
- } = t, n = W(t, [
3707
+ locale: r = I()
3708
+ } = t, n = X(t, [
3713
3709
  "locale"
3714
3710
  ]);
3715
- return Wn(Re({ locale: r }, n));
3716
- }, Jn = ce(
3711
+ return Xn(Re({ locale: r }, n));
3712
+ }, Qn = le(
3717
3713
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3718
- (e, t = L()) => new Bn(e, t, k().formats, {
3719
- ignoreTag: k().ignoreTag
3714
+ (e, t = I()) => new vn(e, t, j().formats, {
3715
+ ignoreTag: j().ignoreTag
3720
3716
  })
3721
- ), qn = (e, t = {}) => {
3717
+ ), Jn = (e, t = {}) => {
3722
3718
  var r, n, i, s;
3723
3719
  let a = t;
3724
3720
  typeof e == "object" && (a = e, e = a.id);
3725
3721
  const {
3726
3722
  values: u,
3727
- locale: h = L(),
3723
+ locale: h = I(),
3728
3724
  default: o
3729
3725
  } = a;
3730
3726
  if (h == null)
3731
3727
  throw new Error(
3732
3728
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3733
3729
  );
3734
- let l = Mt(e, h);
3730
+ let l = Pt(e, h);
3735
3731
  if (!l)
3736
- l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3732
+ l = (s = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3737
3733
  else if (typeof l != "string")
3738
3734
  return console.warn(
3739
3735
  `[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.`
@@ -3742,7 +3738,7 @@ const q = (e, t) => {
3742
3738
  return l;
3743
3739
  let f = l;
3744
3740
  try {
3745
- f = Jn(l, h).format(u);
3741
+ f = Qn(l, h).format(u);
3746
3742
  } catch (c) {
3747
3743
  c instanceof Error && console.warn(
3748
3744
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3750,16 +3746,16 @@ const q = (e, t) => {
3750
3746
  );
3751
3747
  }
3752
3748
  return f;
3753
- }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => zn(t).format(e), ti = (e, t = L()) => Mt(e, t), ri = V([X, K], () => qn);
3754
- V([X], () => Yn);
3755
- V([X], () => Kn);
3756
- V([X], () => ei);
3757
- V([X, K], () => ti);
3749
+ }, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => zn(t).format(e), Kn = (e, t) => Wn(t).format(e), ei = (e, t = I()) => Pt(e, t), ti = k([V, Y], () => Jn);
3750
+ k([V], () => qn);
3751
+ k([V], () => Yn);
3752
+ k([V], () => Kn);
3753
+ k([V, Y], () => ei);
3758
3754
  function st(e, t) {
3759
- Nt(e, t);
3755
+ Ot(e, t);
3760
3756
  }
3761
- function ni(e) {
3762
- X.set(e);
3757
+ function ri(e) {
3758
+ V.set(e);
3763
3759
  }
3764
3760
  const ot = {
3765
3761
  en: {
@@ -3802,92 +3798,92 @@ const ot = {
3802
3798
  betsButtonString: "My Bets"
3803
3799
  }
3804
3800
  };
3805
- function ii(e) {
3801
+ function ni(e) {
3806
3802
  kt(e, "svelte-ikpaqv", '.MyBetsButton{cursor:pointer}@container (min-width:991px){.MyBetsButton{margin:0 5px}}.MyBetsButton .MyBetsButtonWrapper{display:flex;align-content:center;justify-content:center;flex-direction:column;background-color:transparent;border:none;width:100%;min-width:60px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount{margin:auto}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber{background-color:var(--emw--button-contrast-background, #FD2839);height:21px;display:flex;justify-content:center;align-items:center;border-radius:100%;width:22px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber p{margin:0;font-size:12px;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle{margin-top:5px;text-align:center}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle p{margin:0;font-size:12px;text-transform:uppercase;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}');
3807
3803
  }
3808
- function si(e) {
3804
+ function ii(e) {
3809
3805
  let t, r, n, i, s, a, u, h, o, l = (
3810
3806
  /*$_*/
3811
3807
  e[2]("betsButtonString") + ""
3812
- ), f, c, g;
3808
+ ), f, c, y;
3813
3809
  return {
3814
3810
  c() {
3815
- t = M("div"), r = M("button"), n = M("div"), i = M("span"), s = M("p"), a = ve(
3811
+ t = M("div"), r = M("button"), n = M("div"), i = M("span"), s = M("p"), a = xe(
3816
3812
  /*betsData*/
3817
3813
  e[1]
3818
- ), u = Wt(), h = M("div"), o = M("p"), f = ve(l), R(i, "class", "MyBetsCountNumber"), R(n, "class", "MyBetsButtonCount"), R(h, "class", "MyBetsButtonTitle"), R(r, "class", "MyBetsButtonWrapper"), R(t, "class", "MyBetsButton");
3814
+ ), u = Wt(), h = M("div"), o = M("p"), f = xe(l), $(i, "class", "MyBetsCountNumber"), $(n, "class", "MyBetsButtonCount"), $(h, "class", "MyBetsButtonTitle"), $(r, "class", "MyBetsButtonWrapper"), $(t, "class", "MyBetsButton");
3819
3815
  },
3820
- m(d, E) {
3821
- lt(d, t, E), A(t, r), A(r, n), A(n, i), A(i, s), A(s, a), A(r, u), A(r, h), A(h, o), A(o, f), e[10](t), c || (g = zt(
3816
+ m(g, E) {
3817
+ lt(g, t, E), A(t, r), A(r, n), A(n, i), A(i, s), A(s, a), A(r, u), A(r, h), A(h, o), A(o, f), e[10](t), c || (y = zt(
3822
3818
  r,
3823
3819
  "click",
3824
3820
  /*click_handler*/
3825
3821
  e[9]
3826
3822
  ), c = !0);
3827
3823
  },
3828
- p(d, [E]) {
3824
+ p(g, [E]) {
3829
3825
  E & /*betsData*/
3830
3826
  2 && Ve(
3831
3827
  a,
3832
3828
  /*betsData*/
3833
- d[1]
3829
+ g[1]
3834
3830
  ), E & /*$_*/
3835
3831
  4 && l !== (l = /*$_*/
3836
- d[2]("betsButtonString") + "") && Ve(f, l);
3832
+ g[2]("betsButtonString") + "") && Ve(f, l);
3837
3833
  },
3838
- i: S,
3839
- o: S,
3840
- d(d) {
3841
- d && Ce(t), e[10](null), c = !1, g();
3834
+ i: T,
3835
+ o: T,
3836
+ d(g) {
3837
+ g && Ie(t), e[10](null), c = !1, y();
3842
3838
  }
3843
3839
  };
3844
3840
  }
3845
- function oi(e, t, r) {
3841
+ function si(e, t, r) {
3846
3842
  let n;
3847
- jt(e, ri, (m) => r(2, n = m));
3843
+ jt(e, ti, (m) => r(2, n = m));
3848
3844
  let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, o, l = 0;
3849
3845
  const f = () => {
3850
- fetch(h).then((v) => v.json()).then((v) => {
3851
- Object.keys(v).forEach((T) => {
3852
- st(T, v[T]);
3846
+ fetch(h).then((_) => _.json()).then((_) => {
3847
+ Object.keys(_).forEach((S) => {
3848
+ st(S, _[S]);
3853
3849
  });
3854
- }).catch((v) => {
3855
- console.log(v);
3850
+ }).catch((_) => {
3851
+ console.log(_);
3856
3852
  });
3857
3853
  }, c = () => {
3858
- ni(i);
3859
- }, g = (m, v) => {
3854
+ ri(i);
3855
+ }, y = (m, _) => {
3860
3856
  o.dispatchEvent(new CustomEvent(
3861
3857
  m,
3862
3858
  {
3863
- detail: v,
3859
+ detail: _,
3864
3860
  composed: !0,
3865
3861
  bubbles: !0
3866
3862
  // propagate across the shadow DOM
3867
3863
  }
3868
3864
  ));
3869
- }, d = () => {
3865
+ }, g = () => {
3870
3866
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
3871
3867
  }, E = (m) => {
3872
- const { type: v, payload: T } = m.data;
3868
+ const { type: _, payload: S } = m.data;
3873
3869
  if (m.data)
3874
- switch (v) {
3870
+ switch (_) {
3875
3871
  case "OMFE:betslipSelectionsCount":
3876
- r(1, l = T.count), localStorage.setItem("OMFE:betSlipCount", l.toString());
3872
+ r(1, l = S.count), localStorage.setItem("OMFE:betSlipCount", l.toString());
3877
3873
  break;
3878
3874
  }
3879
3875
  };
3880
3876
  qt(() => {
3881
3877
  const m = localStorage.getItem("OMFE:betSlipCount");
3882
- return r(1, l = m !== null ? Number(m) : 0), d(), window.addEventListener("message", E, !1), () => {
3878
+ return r(1, l = m !== null ? Number(m) : 0), g(), window.addEventListener("message", E, !1), () => {
3883
3879
  window.removeEventListener("message", E);
3884
3880
  };
3885
3881
  }), Object.keys(ot).forEach((m) => {
3886
3882
  st(m, ot[m]);
3887
3883
  });
3888
- const H = (m) => g("betslipClick", {});
3884
+ const H = (m) => y("betslipClick", {});
3889
3885
  function N(m) {
3890
- _e[m ? "unshift" : "push"](() => {
3886
+ Ee[m ? "unshift" : "push"](() => {
3891
3887
  o = m, r(0, o);
3892
3888
  });
3893
3889
  }
@@ -3904,7 +3900,7 @@ function oi(e, t, r) {
3904
3900
  o,
3905
3901
  l,
3906
3902
  n,
3907
- g,
3903
+ y,
3908
3904
  i,
3909
3905
  s,
3910
3906
  a,
@@ -3914,13 +3910,13 @@ function oi(e, t, r) {
3914
3910
  N
3915
3911
  ];
3916
3912
  }
3917
- class ai extends hr {
3913
+ class oi extends hr {
3918
3914
  constructor(t) {
3919
3915
  super(), ar(
3920
3916
  this,
3921
3917
  t,
3922
- oi,
3923
3918
  si,
3919
+ ii,
3924
3920
  ut,
3925
3921
  {
3926
3922
  lang: 4,
@@ -3929,41 +3925,41 @@ class ai extends hr {
3929
3925
  mbsource: 7,
3930
3926
  translationurl: 8
3931
3927
  },
3932
- ii
3928
+ ni
3933
3929
  );
3934
3930
  }
3935
3931
  get lang() {
3936
3932
  return this.$$.ctx[4];
3937
3933
  }
3938
3934
  set lang(t) {
3939
- this.$$set({ lang: t }), I();
3935
+ this.$$set({ lang: t }), w();
3940
3936
  }
3941
3937
  get clientstyling() {
3942
3938
  return this.$$.ctx[5];
3943
3939
  }
3944
3940
  set clientstyling(t) {
3945
- this.$$set({ clientstyling: t }), I();
3941
+ this.$$set({ clientstyling: t }), w();
3946
3942
  }
3947
3943
  get clientstylingurl() {
3948
3944
  return this.$$.ctx[6];
3949
3945
  }
3950
3946
  set clientstylingurl(t) {
3951
- this.$$set({ clientstylingurl: t }), I();
3947
+ this.$$set({ clientstylingurl: t }), w();
3952
3948
  }
3953
3949
  get mbsource() {
3954
3950
  return this.$$.ctx[7];
3955
3951
  }
3956
3952
  set mbsource(t) {
3957
- this.$$set({ mbsource: t }), I();
3953
+ this.$$set({ mbsource: t }), w();
3958
3954
  }
3959
3955
  get translationurl() {
3960
3956
  return this.$$.ctx[8];
3961
3957
  }
3962
3958
  set translationurl(t) {
3963
- this.$$set({ translationurl: t }), I();
3959
+ this.$$set({ translationurl: t }), w();
3964
3960
  }
3965
3961
  }
3966
- ur(ai, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3962
+ ur(oi, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3967
3963
  export {
3968
- ai as default
3964
+ oi as default
3969
3965
  };