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

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