@everymatrix/casino-header-bets-button 1.77.26 → 1.77.27

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