@everymatrix/casino-tournaments-controller 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/components/CasinoTournamentsController-BgOnVyOd.cjs +14 -0
  2. package/components/{CasinoTournamentsController-IiQpyaxn.js → CasinoTournamentsController-Bh0F1F9j.js} +276 -270
  3. package/components/{CasinoTournamentsFilterController-Dbrfkq2-.js → CasinoTournamentsFilterController-Cms4Mj5a.js} +2 -2
  4. package/components/CasinoTournamentsFilterController-Ue-NUlO5.cjs +1 -0
  5. package/components/{CasinoTournamentsListController-Cz3RzF7g.cjs → CasinoTournamentsListController-COIcfqhk.cjs} +2 -2
  6. package/components/{CasinoTournamentsListController-O9NEqeZX.js → CasinoTournamentsListController-DT-ABEal.js} +2 -2
  7. package/components/{CasinoTournamentsThumbnail-DK3wUAm3.cjs → CasinoTournamentsThumbnail-BqchSYJX.cjs} +1 -1
  8. package/components/{CasinoTournamentsThumbnail-B4GIi0uV.js → CasinoTournamentsThumbnail-JPADMzmC.js} +48 -48
  9. package/components/{CasinoTournamentsThumbnailController-BprqRhe9.js → CasinoTournamentsThumbnailController-Cyz1tkwX.js} +7 -7
  10. package/components/CasinoTournamentsThumbnailController-DLec91GP.cjs +1 -0
  11. package/components/CasinoTournamentsThumbnailDuration-Df8PCRBm.cjs +1 -0
  12. package/components/{CasinoTournamentsThumbnailDuration-B878iC-A.js → CasinoTournamentsThumbnailDuration-Dq6XZBFw.js} +2 -2
  13. package/components/CasinoTournamentsThumbnailGamesSlider-BqLvv5tS.cjs +1 -0
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-DWphkxl-.js → CasinoTournamentsThumbnailGamesSlider-DUruRKxn.js} +2 -2
  15. package/components/{CasinoTournamentsThumbnailPrizes-Cxulhfsv.js → CasinoTournamentsThumbnailPrizes-ATuGyLaj.js} +3 -3
  16. package/components/CasinoTournamentsThumbnailPrizes-CmlKwpPW.cjs +1 -0
  17. package/es2015/casino-tournaments-controller.cjs +1 -1
  18. package/es2015/casino-tournaments-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoTournamentsController-C6cQLVlH.cjs +0 -14
  21. package/components/CasinoTournamentsFilterController-Bp_WEWVh.cjs +0 -1
  22. package/components/CasinoTournamentsThumbnailController-DacIsXf1.cjs +0 -1
  23. package/components/CasinoTournamentsThumbnailDuration-sxer-92L.cjs +0 -1
  24. package/components/CasinoTournamentsThumbnailGamesSlider-BfcE4fkD.cjs +0 -1
  25. package/components/CasinoTournamentsThumbnailPrizes-DSiUe4o4.cjs +0 -1
@@ -1,15 +1,15 @@
1
- var In = Object.defineProperty, Ln = Object.defineProperties;
2
- var Nn = Object.getOwnPropertyDescriptors;
1
+ var On = Object.defineProperty, In = Object.defineProperties;
2
+ var Ln = Object.getOwnPropertyDescriptors;
3
3
  var br = Object.getOwnPropertySymbols;
4
- var Mn = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable;
5
- var Rt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
4
+ var Nn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
+ var Rt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Mn.call(t, r) && Rt(e, r, t[r]);
7
+ Nn.call(t, r) && Rt(e, r, t[r]);
8
8
  if (br)
9
9
  for (var r of br(t))
10
- Rn.call(t, r) && Rt(e, r, t[r]);
10
+ Mn.call(t, r) && Rt(e, r, t[r]);
11
11
  return e;
12
- }, vr = (e, t) => Ln(e, Nn(t));
12
+ }, vr = (e, t) => In(e, Ln(t));
13
13
  var fe = (e, t, r) => Rt(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var Le = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
@@ -48,7 +48,7 @@ let mt;
48
48
  function ws(e, t) {
49
49
  return e === t ? !0 : (mt || (mt = document.createElement("a")), mt.href = t, e === mt.href);
50
50
  }
51
- function Dn(e) {
51
+ function Rn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
54
  function qr(e, ...t) {
@@ -60,7 +60,7 @@ function qr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Fn(e, t, r) {
63
+ function Dn(e, t, r) {
64
64
  e.$$.on_destroy.push(qr(t, r));
65
65
  }
66
66
  function Ts(e) {
@@ -69,14 +69,14 @@ function Ts(e) {
69
69
  function re(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function Un(e, t, r) {
73
- const n = Gn(e);
72
+ function Fn(e, t, r) {
73
+ const n = Un(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = z("style");
76
- i.id = t, i.textContent = r, jn(n, i);
76
+ i.id = t, i.textContent = r, Gn(n, i);
77
77
  }
78
78
  }
79
- function Gn(e) {
79
+ function Un(e) {
80
80
  if (!e) return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
82
  return t && /** @type {ShadowRoot} */
@@ -85,7 +85,7 @@ function Gn(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function jn(e, t) {
88
+ function Gn(e, t) {
89
89
  return re(
90
90
  /** @type {Document} */
91
91
  e.head || e,
@@ -114,7 +114,7 @@ function Ne(e) {
114
114
  function zt() {
115
115
  return Ne(" ");
116
116
  }
117
- function $n() {
117
+ function jn() {
118
118
  return Ne("");
119
119
  }
120
120
  function Wt(e, t, r, n) {
@@ -127,7 +127,7 @@ function w(e, t, r) {
127
127
  const n = t.toLowerCase();
128
128
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : U(e, t, r);
129
129
  }
130
- function kn(e) {
130
+ function $n(e) {
131
131
  return Array.from(e.childNodes);
132
132
  }
133
133
  function st(e, t) {
@@ -138,7 +138,7 @@ function Hs(e, t, r, n) {
138
138
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
139
139
  }
140
140
  let bt;
141
- function Vn() {
141
+ function kn() {
142
142
  if (bt === void 0) {
143
143
  bt = !1;
144
144
  try {
@@ -156,7 +156,7 @@ function Bs(e, t) {
156
156
  "style",
157
157
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
158
158
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
159
- const i = Vn();
159
+ const i = kn();
160
160
  let o;
161
161
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Wt(
162
162
  window,
@@ -174,7 +174,7 @@ function Bs(e, t) {
174
174
  function Ps(e, t, r) {
175
175
  e.classList.toggle(t, !!r);
176
176
  }
177
- function Xn(e) {
177
+ function Vn(e) {
178
178
  const t = {};
179
179
  return e.childNodes.forEach(
180
180
  /** @param {Element} node */
@@ -187,19 +187,19 @@ let at;
187
187
  function ot(e) {
188
188
  at = e;
189
189
  }
190
- function zn() {
190
+ function Xn() {
191
191
  if (!at) throw new Error("Function called outside component initialization");
192
192
  return at;
193
193
  }
194
- function Wn(e) {
195
- zn().$$.on_mount.push(e);
194
+ function zn(e) {
195
+ Xn().$$.on_mount.push(e);
196
196
  }
197
197
  const $e = [], qt = [];
198
198
  let ke = [];
199
- const Er = [], qn = /* @__PURE__ */ Promise.resolve();
199
+ const Er = [], Wn = /* @__PURE__ */ Promise.resolve();
200
200
  let Zt = !1;
201
- function Zn() {
202
- Zt || (Zt = !0, qn.then(F));
201
+ function qn() {
202
+ Zt || (Zt = !0, Wn.then(F));
203
203
  }
204
204
  function Jt(e) {
205
205
  ke.push(e);
@@ -214,7 +214,7 @@ function F() {
214
214
  try {
215
215
  for (; Ge < $e.length; ) {
216
216
  const t = $e[Ge];
217
- Ge++, ot(t), Jn(t.$$);
217
+ Ge++, ot(t), Zn(t.$$);
218
218
  }
219
219
  } catch (t) {
220
220
  throw $e.length = 0, Ge = 0, t;
@@ -230,39 +230,39 @@ function F() {
230
230
  Er.pop()();
231
231
  Zt = !1, Dt.clear(), ot(e);
232
232
  }
233
- function Jn(e) {
233
+ function Zn(e) {
234
234
  if (e.fragment !== null) {
235
235
  e.update(), ht(e.before_update);
236
236
  const t = e.dirty;
237
237
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Jt);
238
238
  }
239
239
  }
240
- function Qn(e) {
240
+ function Jn(e) {
241
241
  const t = [], r = [];
242
242
  ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
243
243
  }
244
- const Yn = /* @__PURE__ */ new Set();
245
- function Kn(e, t) {
246
- e && e.i && (Yn.delete(e), e.i(t));
244
+ const Qn = /* @__PURE__ */ new Set();
245
+ function Yn(e, t) {
246
+ e && e.i && (Qn.delete(e), e.i(t));
247
247
  }
248
248
  function Cs(e) {
249
249
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
250
250
  }
251
- function ei(e, t, r) {
251
+ function Kn(e, t, r) {
252
252
  const { fragment: n, after_update: i } = e.$$;
253
253
  n && n.m(t, r), Jt(() => {
254
254
  const o = e.$$.on_mount.map(zr).filter(St);
255
255
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ht(o), e.$$.on_mount = [];
256
256
  }), i.forEach(Jt);
257
257
  }
258
- function ti(e, t) {
258
+ function ei(e, t) {
259
259
  const r = e.$$;
260
- r.fragment !== null && (Qn(r.after_update), ht(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
+ r.fragment !== null && (Jn(r.after_update), ht(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
261
261
  }
262
- function ri(e, t) {
263
- e.$$.dirty[0] === -1 && ($e.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
262
+ function ti(e, t) {
263
+ e.$$.dirty[0] === -1 && ($e.push(e), qn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
264
264
  }
265
- function ni(e, t, r, n, i, o, s = null, a = [-1]) {
265
+ function ri(e, t, r, n, i, o, s = null, a = [-1]) {
266
266
  const l = at;
267
267
  ot(e);
268
268
  const u = e.$$ = {
@@ -290,14 +290,14 @@ function ni(e, t, r, n, i, o, s = null, a = [-1]) {
290
290
  let c = !1;
291
291
  if (u.ctx = r ? r(e, t.props || {}, (d, m, ..._) => {
292
292
  const O = _.length ? _[0] : m;
293
- return u.ctx && i(u.ctx[d], u.ctx[d] = O) && (!u.skip_bound && u.bound[d] && u.bound[d](O), c && ri(e, d)), m;
293
+ return u.ctx && i(u.ctx[d], u.ctx[d] = O) && (!u.skip_bound && u.bound[d] && u.bound[d](O), c && ti(e, d)), m;
294
294
  }) : [], u.update(), c = !0, ht(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
295
  if (t.hydrate) {
296
- const d = kn(t.target);
296
+ const d = $n(t.target);
297
297
  u.fragment && u.fragment.l(d), d.forEach(ne);
298
298
  } else
299
299
  u.fragment && u.fragment.c();
300
- t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), F();
300
+ t.intro && Yn(e.$$.fragment), Kn(e, t.target, t.anchor), F();
301
301
  }
302
302
  ot(l);
303
303
  }
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
363
363
  };
364
364
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
365
365
  return;
366
- const r = {}, n = Xn(this);
366
+ const r = {}, n = Vn(this);
367
367
  for (const o of this.$$s)
368
368
  o in n && (r[o] = [t(o)]);
369
369
  for (const o of this.attributes) {
@@ -452,7 +452,7 @@ function yt(e, t, r, n) {
452
452
  return t;
453
453
  }
454
454
  }
455
- function ii(e, t, r, n, i, o) {
455
+ function ni(e, t, r, n, i, o) {
456
456
  let s = class extends Zr {
457
457
  constructor() {
458
458
  super(e, r, i), this.$$p_d = t;
@@ -483,7 +483,7 @@ function ii(e, t, r, n, i, o) {
483
483
  }), e.element = /** @type {any} */
484
484
  s, s;
485
485
  }
486
- class oi {
486
+ class ii {
487
487
  constructor() {
488
488
  /**
489
489
  * ### PRIVATE API
@@ -504,7 +504,7 @@ class oi {
504
504
  }
505
505
  /** @returns {void} */
506
506
  $destroy() {
507
- ti(this, 1), this.$destroy = ce;
507
+ ei(this, 1), this.$destroy = ce;
508
508
  }
509
509
  /**
510
510
  * @template {Extract<keyof Events, string>} K
@@ -526,11 +526,11 @@ class oi {
526
526
  * @returns {void}
527
527
  */
528
528
  $set(t) {
529
- this.$$set && !Dn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
+ this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
530
530
  }
531
531
  }
532
- const si = "4";
533
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
532
+ const oi = "4";
533
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oi);
534
534
  var Qt = function(e, t) {
535
535
  return Qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
536
536
  r.__proto__ = n;
@@ -556,7 +556,7 @@ var P = function() {
556
556
  return t;
557
557
  }, P.apply(this, arguments);
558
558
  };
559
- function ai(e, t) {
559
+ function si(e, t) {
560
560
  var r = {};
561
561
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
562
562
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -721,20 +721,19 @@ var Kr = {
721
721
  Promise: void 0,
722
722
  useDeprecatedSynchronousErrorHandling: !1,
723
723
  useDeprecatedNextContext: !1
724
- }, en = {
724
+ }, ai = {
725
725
  setTimeout: function(e, t) {
726
726
  for (var r = [], n = 2; n < arguments.length; n++)
727
727
  r[n - 2] = arguments[n];
728
728
  return setTimeout.apply(void 0, Ve([e, t], Kt(r)));
729
729
  },
730
730
  clearTimeout: function(e) {
731
- var t = en.delegate;
732
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
731
+ return clearTimeout(e);
733
732
  },
734
733
  delegate: void 0
735
734
  };
736
735
  function ui(e) {
737
- en.setTimeout(function() {
736
+ ai.setTimeout(function() {
738
737
  throw e;
739
738
  });
740
739
  }
@@ -743,7 +742,7 @@ function xr() {
743
742
  function Et(e) {
744
743
  e();
745
744
  }
746
- var tn = function(e) {
745
+ var en = function(e) {
747
746
  we(t, e);
748
747
  function t(r) {
749
748
  var n = e.call(this) || this;
@@ -832,7 +831,7 @@ var hi = function() {
832
831
  return o.destination = new hi(s), o;
833
832
  }
834
833
  return t;
835
- }(tn);
834
+ }(en);
836
835
  function gt(e) {
837
836
  ui(e);
838
837
  }
@@ -925,13 +924,13 @@ function bi(e) {
925
924
  return e && xe(e.next) && xe(e.error) && xe(e.complete);
926
925
  }
927
926
  function gi(e) {
928
- return e && e instanceof tn || bi(e) && Yr(e);
927
+ return e && e instanceof en || bi(e) && Yr(e);
929
928
  }
930
929
  var vi = Jr(function(e) {
931
930
  return function() {
932
931
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
933
932
  };
934
- }), rn = function(e) {
933
+ }), tn = function(e) {
935
934
  we(t, e);
936
935
  function t() {
937
936
  var r = e.call(this) || this;
@@ -1029,15 +1028,15 @@ var vi = Jr(function(e) {
1029
1028
  var n, i;
1030
1029
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qr;
1031
1030
  }, t;
1032
- }(rn), nn = {
1031
+ }(tn), rn = {
1033
1032
  now: function() {
1034
- return (nn.delegate || Date).now();
1033
+ return (rn.delegate || Date).now();
1035
1034
  },
1036
1035
  delegate: void 0
1037
1036
  }, yi = function(e) {
1038
1037
  we(t, e);
1039
1038
  function t(r, n, i) {
1040
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nn);
1039
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rn);
1041
1040
  var o = e.call(this) || this;
1042
1041
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1043
1042
  }
@@ -1057,7 +1056,7 @@ var vi = Jr(function(e) {
1057
1056
  u && o.splice(0, u + 1);
1058
1057
  }
1059
1058
  }, t;
1060
- }(rn);
1059
+ }(tn);
1061
1060
  const Ar = [], Hr = {}, Ei = (e, t = 0) => {
1062
1061
  if (Ar.indexOf(e) == -1) {
1063
1062
  const r = new yi(t);
@@ -1170,7 +1169,7 @@ function Li(e) {
1170
1169
  function Br(e) {
1171
1170
  return Object.keys(e).concat(Li(e));
1172
1171
  }
1173
- function on(e, t) {
1172
+ function nn(e, t) {
1174
1173
  try {
1175
1174
  return t in e;
1176
1175
  } catch (r) {
@@ -1178,14 +1177,14 @@ function on(e, t) {
1178
1177
  }
1179
1178
  }
1180
1179
  function Ni(e, t) {
1181
- return on(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1180
+ return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1182
1181
  }
1183
1182
  function Mi(e, t, r) {
1184
1183
  var n = {};
1185
1184
  return r.isMergeableObject(e) && Br(e).forEach(function(i) {
1186
1185
  n[i] = ut(e[i], r);
1187
1186
  }), Br(t).forEach(function(i) {
1188
- Ni(e, i) || (on(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ii(i, r)(e[i], t[i], r) : n[i] = ut(t[i], r));
1187
+ Ni(e, i) || (nn(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ii(i, r)(e[i], t[i], r) : n[i] = ut(t[i], r));
1189
1188
  }), n;
1190
1189
  }
1191
1190
  function Xe(e, t, r) {
@@ -1202,7 +1201,57 @@ Xe.all = function(t, r) {
1202
1201
  };
1203
1202
  var Ri = Xe, Di = Ri;
1204
1203
  const Fi = /* @__PURE__ */ wi(Di);
1205
- var A;
1204
+ function Gt(e, t) {
1205
+ var r = t && t.cache ? t.cache : Vi, n = t && t.serializer ? t.serializer : ki, i = t && t.strategy ? t.strategy : Gi;
1206
+ return i(e, {
1207
+ cache: r,
1208
+ serializer: n
1209
+ });
1210
+ }
1211
+ function Ui(e) {
1212
+ return e == null || typeof e == "number" || typeof e == "boolean";
1213
+ }
1214
+ function on(e, t, r, n) {
1215
+ var i = Ui(n) ? n : r(n), o = t.get(i);
1216
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1217
+ }
1218
+ function sn(e, t, r) {
1219
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1220
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1221
+ }
1222
+ function fr(e, t, r, n, i) {
1223
+ return r.bind(t, e, n, i);
1224
+ }
1225
+ function Gi(e, t) {
1226
+ var r = e.length === 1 ? on : sn;
1227
+ return fr(e, this, r, t.cache.create(), t.serializer);
1228
+ }
1229
+ function ji(e, t) {
1230
+ return fr(e, this, sn, t.cache.create(), t.serializer);
1231
+ }
1232
+ function $i(e, t) {
1233
+ return fr(e, this, on, t.cache.create(), t.serializer);
1234
+ }
1235
+ var ki = function() {
1236
+ return JSON.stringify(arguments);
1237
+ };
1238
+ function cr() {
1239
+ this.cache = /* @__PURE__ */ Object.create(null);
1240
+ }
1241
+ cr.prototype.get = function(e) {
1242
+ return this.cache[e];
1243
+ };
1244
+ cr.prototype.set = function(e, t) {
1245
+ this.cache[e] = t;
1246
+ };
1247
+ var Vi = {
1248
+ create: function() {
1249
+ return new cr();
1250
+ }
1251
+ }, jt = {
1252
+ variadic: ji,
1253
+ monadic: $i
1254
+ }, A;
1206
1255
  (function(e) {
1207
1256
  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";
1208
1257
  })(A || (A = {}));
@@ -1217,40 +1266,40 @@ var ze;
1217
1266
  function Pr(e) {
1218
1267
  return e.type === D.literal;
1219
1268
  }
1220
- function Ui(e) {
1269
+ function Xi(e) {
1221
1270
  return e.type === D.argument;
1222
1271
  }
1223
- function sn(e) {
1272
+ function an(e) {
1224
1273
  return e.type === D.number;
1225
1274
  }
1226
- function an(e) {
1275
+ function un(e) {
1227
1276
  return e.type === D.date;
1228
1277
  }
1229
- function un(e) {
1278
+ function ln(e) {
1230
1279
  return e.type === D.time;
1231
1280
  }
1232
- function ln(e) {
1281
+ function hn(e) {
1233
1282
  return e.type === D.select;
1234
1283
  }
1235
- function hn(e) {
1284
+ function fn(e) {
1236
1285
  return e.type === D.plural;
1237
1286
  }
1238
- function Gi(e) {
1287
+ function zi(e) {
1239
1288
  return e.type === D.pound;
1240
1289
  }
1241
- function fn(e) {
1290
+ function cn(e) {
1242
1291
  return e.type === D.tag;
1243
1292
  }
1244
- function cn(e) {
1293
+ function dn(e) {
1245
1294
  return !!(e && typeof e == "object" && e.type === ze.number);
1246
1295
  }
1247
1296
  function rr(e) {
1248
1297
  return !!(e && typeof e == "object" && e.type === ze.dateTime);
1249
1298
  }
1250
- var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ji = /(?:[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;
1251
- function $i(e) {
1299
+ var pn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1300
+ function qi(e) {
1252
1301
  var t = {};
1253
- return e.replace(ji, function(r) {
1302
+ return e.replace(Wi, function(r) {
1254
1303
  var n = r.length;
1255
1304
  switch (r[0]) {
1256
1305
  case "G":
@@ -1339,11 +1388,11 @@ function $i(e) {
1339
1388
  return "";
1340
1389
  }), t;
1341
1390
  }
1342
- var ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
- function Vi(e) {
1391
+ var Zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1392
+ function Ji(e) {
1344
1393
  if (e.length === 0)
1345
1394
  throw new Error("Number skeleton cannot be empty");
1346
- for (var t = e.split(ki).filter(function(m) {
1395
+ for (var t = e.split(Zi).filter(function(m) {
1347
1396
  return m.length > 0;
1348
1397
  }), r = [], n = 0, i = t; n < i.length; n++) {
1349
1398
  var o = i[n], s = o.split("/");
@@ -1358,17 +1407,17 @@ function Vi(e) {
1358
1407
  }
1359
1408
  return r;
1360
1409
  }
1361
- function Xi(e) {
1410
+ function Qi(e) {
1362
1411
  return e.replace(/^(.*?)-/, "");
1363
1412
  }
1364
- var Cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, zi = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
1413
+ var Cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mn = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
1365
1414
  function Or(e) {
1366
1415
  var t = {};
1367
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(r, n, i) {
1416
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mn, function(r, n, i) {
1368
1417
  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)), "";
1369
1418
  }), t;
1370
1419
  }
1371
- function bn(e) {
1420
+ function gn(e) {
1372
1421
  switch (e) {
1373
1422
  case "sign-auto":
1374
1423
  return {
@@ -1408,7 +1457,7 @@ function bn(e) {
1408
1457
  };
1409
1458
  }
1410
1459
  }
1411
- function Wi(e) {
1460
+ function Ki(e) {
1412
1461
  var t;
1413
1462
  if (e[0] === "E" && e[1] === "E" ? (t = {
1414
1463
  notation: "engineering"
@@ -1416,17 +1465,17 @@ function Wi(e) {
1416
1465
  notation: "scientific"
1417
1466
  }, e = e.slice(1)), t) {
1418
1467
  var r = e.slice(0, 2);
1419
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
1468
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
1420
1469
  throw new Error("Malformed concise eng/scientific notation");
1421
1470
  t.minimumIntegerDigits = e.length;
1422
1471
  }
1423
1472
  return t;
1424
1473
  }
1425
1474
  function Ir(e) {
1426
- var t = {}, r = bn(e);
1475
+ var t = {}, r = gn(e);
1427
1476
  return r || t;
1428
1477
  }
1429
- function qi(e) {
1478
+ function eo(e) {
1430
1479
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1431
1480
  var i = n[r];
1432
1481
  switch (i.stem) {
@@ -1450,7 +1499,7 @@ function qi(e) {
1450
1499
  continue;
1451
1500
  case "measure-unit":
1452
1501
  case "unit":
1453
- t.style = "unit", t.unit = Xi(i.options[0]);
1502
+ t.style = "unit", t.unit = Qi(i.options[0]);
1454
1503
  continue;
1455
1504
  case "compact-short":
1456
1505
  case "K":
@@ -1512,7 +1561,7 @@ function qi(e) {
1512
1561
  case "integer-width":
1513
1562
  if (i.options.length > 1)
1514
1563
  throw new RangeError("integer-width stems only accept a single optional option");
1515
- i.options[0].replace(zi, function(l, u, c, d, m, _) {
1564
+ i.options[0].replace(Yi, function(l, u, c, d, m, _) {
1516
1565
  if (u)
1517
1566
  t.minimumIntegerDigits = c.length;
1518
1567
  else {
@@ -1525,7 +1574,7 @@ function qi(e) {
1525
1574
  });
1526
1575
  continue;
1527
1576
  }
1528
- if (mn.test(i.stem)) {
1577
+ if (bn.test(i.stem)) {
1529
1578
  t.minimumIntegerDigits = i.stem.length;
1530
1579
  continue;
1531
1580
  }
@@ -1539,13 +1588,13 @@ function qi(e) {
1539
1588
  o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Or(o)));
1540
1589
  continue;
1541
1590
  }
1542
- if (pn.test(i.stem)) {
1591
+ if (mn.test(i.stem)) {
1543
1592
  t = P(P({}, t), Or(i.stem));
1544
1593
  continue;
1545
1594
  }
1546
- var s = bn(i.stem);
1595
+ var s = gn(i.stem);
1547
1596
  s && (t = P(P({}, t), s));
1548
- var a = Wi(i.stem);
1597
+ var a = Ki(i.stem);
1549
1598
  a && (t = P(P({}, t), a));
1550
1599
  }
1551
1600
  return t;
@@ -1555,6 +1604,12 @@ var vt = {
1555
1604
  "H",
1556
1605
  "h"
1557
1606
  ],
1607
+ 419: [
1608
+ "h",
1609
+ "H",
1610
+ "hB",
1611
+ "hb"
1612
+ ],
1558
1613
  AC: [
1559
1614
  "H",
1560
1615
  "h",
@@ -1603,8 +1658,8 @@ var vt = {
1603
1658
  "hB"
1604
1659
  ],
1605
1660
  AR: [
1606
- "H",
1607
1661
  "h",
1662
+ "H",
1608
1663
  "hB",
1609
1664
  "hb"
1610
1665
  ],
@@ -1694,9 +1749,9 @@ var vt = {
1694
1749
  "H"
1695
1750
  ],
1696
1751
  BO: [
1752
+ "h",
1697
1753
  "H",
1698
1754
  "hB",
1699
- "h",
1700
1755
  "hb"
1701
1756
  ],
1702
1757
  BQ: [
@@ -1773,8 +1828,8 @@ var vt = {
1773
1828
  "hB"
1774
1829
  ],
1775
1830
  CL: [
1776
- "H",
1777
1831
  "h",
1832
+ "H",
1778
1833
  "hB",
1779
1834
  "hb"
1780
1835
  ],
@@ -1799,14 +1854,14 @@ var vt = {
1799
1854
  "H"
1800
1855
  ],
1801
1856
  CR: [
1802
- "H",
1803
1857
  "h",
1858
+ "H",
1804
1859
  "hB",
1805
1860
  "hb"
1806
1861
  ],
1807
1862
  CU: [
1808
- "H",
1809
1863
  "h",
1864
+ "H",
1810
1865
  "hB",
1811
1866
  "hb"
1812
1867
  ],
@@ -1875,9 +1930,9 @@ var vt = {
1875
1930
  "hb"
1876
1931
  ],
1877
1932
  EC: [
1933
+ "h",
1878
1934
  "H",
1879
1935
  "hB",
1880
- "h",
1881
1936
  "hb"
1882
1937
  ],
1883
1938
  EE: [
@@ -2013,8 +2068,8 @@ var vt = {
2013
2068
  "hB"
2014
2069
  ],
2015
2070
  GT: [
2016
- "H",
2017
2071
  "h",
2072
+ "H",
2018
2073
  "hB",
2019
2074
  "hb"
2020
2075
  ],
@@ -2041,8 +2096,8 @@ var vt = {
2041
2096
  "H"
2042
2097
  ],
2043
2098
  HN: [
2044
- "H",
2045
2099
  "h",
2100
+ "H",
2046
2101
  "hB",
2047
2102
  "hb"
2048
2103
  ],
@@ -2356,8 +2411,8 @@ var vt = {
2356
2411
  "hB"
2357
2412
  ],
2358
2413
  MX: [
2359
- "H",
2360
2414
  "h",
2415
+ "H",
2361
2416
  "hB",
2362
2417
  "hb"
2363
2418
  ],
@@ -2397,8 +2452,8 @@ var vt = {
2397
2452
  "hB"
2398
2453
  ],
2399
2454
  NI: [
2400
- "H",
2401
2455
  "h",
2456
+ "H",
2402
2457
  "hB",
2403
2458
  "hb"
2404
2459
  ],
@@ -2446,9 +2501,9 @@ var vt = {
2446
2501
  "hb"
2447
2502
  ],
2448
2503
  PE: [
2504
+ "h",
2449
2505
  "H",
2450
2506
  "hB",
2451
- "h",
2452
2507
  "hb"
2453
2508
  ],
2454
2509
  PF: [
@@ -2506,8 +2561,8 @@ var vt = {
2506
2561
  "H"
2507
2562
  ],
2508
2563
  PY: [
2509
- "H",
2510
2564
  "h",
2565
+ "H",
2511
2566
  "hB",
2512
2567
  "hb"
2513
2568
  ],
@@ -2620,8 +2675,8 @@ var vt = {
2620
2675
  "hB"
2621
2676
  ],
2622
2677
  SV: [
2623
- "H",
2624
2678
  "h",
2679
+ "H",
2625
2680
  "hB",
2626
2681
  "hb"
2627
2682
  ],
@@ -2743,8 +2798,8 @@ var vt = {
2743
2798
  "hB"
2744
2799
  ],
2745
2800
  UY: [
2746
- "H",
2747
2801
  "h",
2802
+ "H",
2748
2803
  "hB",
2749
2804
  "hb"
2750
2805
  ],
@@ -2852,37 +2907,37 @@ var vt = {
2852
2907
  "H",
2853
2908
  "hB"
2854
2909
  ],
2855
- "es-BO": [
2856
- "H",
2910
+ "en-HK": [
2857
2911
  "h",
2858
- "hB",
2859
- "hb"
2912
+ "hb",
2913
+ "H",
2914
+ "hB"
2860
2915
  ],
2861
- "es-BR": [
2916
+ "en-IL": [
2862
2917
  "H",
2863
2918
  "h",
2864
- "hB",
2865
- "hb"
2919
+ "hb",
2920
+ "hB"
2866
2921
  ],
2867
- "es-EC": [
2868
- "H",
2922
+ "en-MY": [
2869
2923
  "h",
2870
- "hB",
2871
- "hb"
2924
+ "hb",
2925
+ "H",
2926
+ "hB"
2872
2927
  ],
2873
- "es-ES": [
2928
+ "es-BR": [
2874
2929
  "H",
2875
2930
  "h",
2876
2931
  "hB",
2877
2932
  "hb"
2878
2933
  ],
2879
- "es-GQ": [
2934
+ "es-ES": [
2880
2935
  "H",
2881
2936
  "h",
2882
2937
  "hB",
2883
2938
  "hb"
2884
2939
  ],
2885
- "es-PE": [
2940
+ "es-GQ": [
2886
2941
  "H",
2887
2942
  "h",
2888
2943
  "hB",
@@ -2959,13 +3014,13 @@ var vt = {
2959
3014
  "h"
2960
3015
  ]
2961
3016
  };
2962
- function Zi(e, t) {
3017
+ function to(e, t) {
2963
3018
  for (var r = "", n = 0; n < e.length; n++) {
2964
3019
  var i = e.charAt(n);
2965
3020
  if (i === "j") {
2966
3021
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2967
3022
  o++, n++;
2968
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ji(t);
3023
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ro(t);
2969
3024
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2970
3025
  r += l;
2971
3026
  for (; s-- > 0; )
@@ -2974,7 +3029,7 @@ function Zi(e, t) {
2974
3029
  }
2975
3030
  return r;
2976
3031
  }
2977
- function Ji(e) {
3032
+ function ro(e) {
2978
3033
  var t = e.hourCycle;
2979
3034
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2980
3035
  e.hourCycles && // @ts-ignore
@@ -2996,20 +3051,20 @@ function Ji(e) {
2996
3051
  var i = vt[n || ""] || vt[r || ""] || vt["".concat(r, "-001")] || vt["001"];
2997
3052
  return i[0];
2998
3053
  }
2999
- var Gt, Qi = new RegExp("^".concat(dn.source, "*")), Yi = new RegExp("".concat(dn.source, "*$"));
3054
+ var $t, no = new RegExp("^".concat(pn.source, "*")), io = new RegExp("".concat(pn.source, "*$"));
3000
3055
  function H(e, t) {
3001
3056
  return { start: e, end: t };
3002
3057
  }
3003
- var Ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), eo = !!String.fromCodePoint, to = !!Object.fromEntries, ro = !!String.prototype.codePointAt, no = !!String.prototype.trimStart, io = !!String.prototype.trimEnd, oo = !!Number.isSafeInteger, so = oo ? Number.isSafeInteger : function(e) {
3058
+ var oo = !!String.prototype.startsWith && "_a".startsWith("a", 1), so = !!String.fromCodePoint, ao = !!Object.fromEntries, uo = !!String.prototype.codePointAt, lo = !!String.prototype.trimStart, ho = !!String.prototype.trimEnd, fo = !!Number.isSafeInteger, co = fo ? Number.isSafeInteger : function(e) {
3004
3059
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3005
3060
  }, nr = !0;
3006
3061
  try {
3007
- var ao = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
- nr = ((Gt = ao.exec("a")) === null || Gt === void 0 ? void 0 : Gt[0]) === "a";
3062
+ var po = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3063
+ nr = (($t = po.exec("a")) === null || $t === void 0 ? void 0 : $t[0]) === "a";
3009
3064
  } catch (e) {
3010
3065
  nr = !1;
3011
3066
  }
3012
- var Lr = Ki ? (
3067
+ var Lr = oo ? (
3013
3068
  // Native
3014
3069
  function(t, r, n) {
3015
3070
  return t.startsWith(r, n);
@@ -3019,7 +3074,7 @@ var Lr = Ki ? (
3019
3074
  function(t, r, n) {
3020
3075
  return t.slice(n, n + r.length) === r;
3021
3076
  }
3022
- ), ir = eo ? String.fromCodePoint : (
3077
+ ), ir = so ? String.fromCodePoint : (
3023
3078
  // IE11
3024
3079
  function() {
3025
3080
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3033,7 +3088,7 @@ var Lr = Ki ? (
3033
3088
  }
3034
3089
  ), Nr = (
3035
3090
  // native
3036
- to ? Object.fromEntries : (
3091
+ ao ? Object.fromEntries : (
3037
3092
  // Ponyfill
3038
3093
  function(t) {
3039
3094
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3043,7 +3098,7 @@ var Lr = Ki ? (
3043
3098
  return r;
3044
3099
  }
3045
3100
  )
3046
- ), gn = ro ? (
3101
+ ), vn = uo ? (
3047
3102
  // Native
3048
3103
  function(t, r) {
3049
3104
  return t.codePointAt(r);
@@ -3057,7 +3112,7 @@ var Lr = Ki ? (
3057
3112
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3058
3113
  }
3059
3114
  }
3060
- ), uo = no ? (
3115
+ ), mo = lo ? (
3061
3116
  // Native
3062
3117
  function(t) {
3063
3118
  return t.trimStart();
@@ -3065,9 +3120,9 @@ var Lr = Ki ? (
3065
3120
  ) : (
3066
3121
  // Ponyfill
3067
3122
  function(t) {
3068
- return t.replace(Qi, "");
3123
+ return t.replace(no, "");
3069
3124
  }
3070
- ), lo = io ? (
3125
+ ), bo = ho ? (
3071
3126
  // Native
3072
3127
  function(t) {
3073
3128
  return t.trimEnd();
@@ -3075,15 +3130,15 @@ var Lr = Ki ? (
3075
3130
  ) : (
3076
3131
  // Ponyfill
3077
3132
  function(t) {
3078
- return t.replace(Yi, "");
3133
+ return t.replace(io, "");
3079
3134
  }
3080
3135
  );
3081
- function vn(e, t) {
3136
+ function yn(e, t) {
3082
3137
  return new RegExp(e, t);
3083
3138
  }
3084
3139
  var or;
3085
3140
  if (nr) {
3086
- var Mr = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3141
+ var Mr = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
3142
  or = function(t, r) {
3088
3143
  var n;
3089
3144
  Mr.lastIndex = r;
@@ -3093,14 +3148,14 @@ if (nr) {
3093
3148
  } else
3094
3149
  or = function(t, r) {
3095
3150
  for (var n = []; ; ) {
3096
- var i = gn(t, r);
3097
- if (i === void 0 || yn(i) || po(i))
3151
+ var i = vn(t, r);
3152
+ if (i === void 0 || En(i) || Eo(i))
3098
3153
  break;
3099
3154
  n.push(i), r += i >= 65536 ? 2 : 1;
3100
3155
  }
3101
3156
  return ir.apply(void 0, n);
3102
3157
  };
3103
- var ho = (
3158
+ var go = (
3104
3159
  /** @class */
3105
3160
  function() {
3106
3161
  function e(t, r) {
@@ -3182,7 +3237,7 @@ var ho = (
3182
3237
  return this.error(A.INVALID_TAG, H(n, this.clonePosition()));
3183
3238
  }, e.prototype.parseTagName = function() {
3184
3239
  var t = this.offset();
3185
- for (this.bump(); !this.isEOF() && co(this.char()); )
3240
+ for (this.bump(); !this.isEOF() && yo(this.char()); )
3186
3241
  this.bump();
3187
3242
  return this.message.slice(t, this.offset());
3188
3243
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3211,7 +3266,7 @@ var ho = (
3211
3266
  };
3212
3267
  }, e.prototype.tryParseLeftAngleBracket = function() {
3213
3268
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3214
- !fo(this.peek() || 0)) ? (this.bump(), "<") : null;
3269
+ !vo(this.peek() || 0)) ? (this.bump(), "<") : null;
3215
3270
  }, e.prototype.tryParseQuote = function(t) {
3216
3271
  if (this.isEOF() || this.char() !== 39)
3217
3272
  return null;
@@ -3298,7 +3353,7 @@ var ho = (
3298
3353
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3299
3354
  if (d.err)
3300
3355
  return d;
3301
- var m = lo(d.val);
3356
+ var m = bo(d.val);
3302
3357
  if (m.length === 0)
3303
3358
  return this.error(A.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3304
3359
  var _ = H(c, this.clonePosition());
@@ -3309,7 +3364,7 @@ var ho = (
3309
3364
  return O;
3310
3365
  var B = H(i, this.clonePosition());
3311
3366
  if (u && Lr(u == null ? void 0 : u.style, "::", 0)) {
3312
- var ee = uo(u.style.slice(2));
3367
+ var ee = mo(u.style.slice(2));
3313
3368
  if (a === "number") {
3314
3369
  var d = this.parseNumberSkeletonFromString(ee, u.styleLocation);
3315
3370
  return d.err ? d : {
@@ -3320,12 +3375,12 @@ var ho = (
3320
3375
  if (ee.length === 0)
3321
3376
  return this.error(A.EXPECT_DATE_TIME_SKELETON, B);
3322
3377
  var pe = ee;
3323
- this.locale && (pe = Zi(ee, this.locale));
3378
+ this.locale && (pe = to(ee, this.locale));
3324
3379
  var m = {
3325
3380
  type: ze.dateTime,
3326
3381
  pattern: pe,
3327
3382
  location: u.styleLocation,
3328
- parsedOptions: this.shouldParseSkeletons ? $i(pe) : {}
3383
+ parsedOptions: this.shouldParseSkeletons ? qi(pe) : {}
3329
3384
  }, ie = a === "date" ? D.date : D.time;
3330
3385
  return {
3331
3386
  val: { type: ie, value: n, location: B, style: m },
@@ -3430,7 +3485,7 @@ var ho = (
3430
3485
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3431
3486
  var n = [];
3432
3487
  try {
3433
- n = Vi(t);
3488
+ n = Ji(t);
3434
3489
  } catch (i) {
3435
3490
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3436
3491
  }
@@ -3439,7 +3494,7 @@ var ho = (
3439
3494
  type: ze.number,
3440
3495
  tokens: n,
3441
3496
  location: r,
3442
- parsedOptions: this.shouldParseSkeletons ? qi(n) : {}
3497
+ parsedOptions: this.shouldParseSkeletons ? eo(n) : {}
3443
3498
  },
3444
3499
  err: null
3445
3500
  };
@@ -3487,7 +3542,7 @@ var ho = (
3487
3542
  break;
3488
3543
  }
3489
3544
  var l = H(i, this.clonePosition());
3490
- return o ? (s *= n, so(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3545
+ return o ? (s *= n, co(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3491
3546
  }, e.prototype.offset = function() {
3492
3547
  return this.position.offset;
3493
3548
  }, e.prototype.isEOF = function() {
@@ -3502,7 +3557,7 @@ var ho = (
3502
3557
  var t = this.position.offset;
3503
3558
  if (t >= this.message.length)
3504
3559
  throw Error("out of bound");
3505
- var r = gn(this.message, t);
3560
+ var r = vn(this.message, t);
3506
3561
  if (r === void 0)
3507
3562
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3508
3563
  return r;
@@ -3543,7 +3598,7 @@ var ho = (
3543
3598
  break;
3544
3599
  }
3545
3600
  }, e.prototype.bumpSpace = function() {
3546
- for (; !this.isEOF() && yn(this.char()); )
3601
+ for (; !this.isEOF() && En(this.char()); )
3547
3602
  this.bump();
3548
3603
  }, e.prototype.peek = function() {
3549
3604
  if (this.isEOF())
@@ -3556,86 +3611,36 @@ var ho = (
3556
3611
  function sr(e) {
3557
3612
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3558
3613
  }
3559
- function fo(e) {
3614
+ function vo(e) {
3560
3615
  return sr(e) || e === 47;
3561
3616
  }
3562
- function co(e) {
3617
+ function yo(e) {
3563
3618
  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;
3564
3619
  }
3565
- function yn(e) {
3620
+ function En(e) {
3566
3621
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3567
3622
  }
3568
- function po(e) {
3623
+ function Eo(e) {
3569
3624
  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;
3570
3625
  }
3571
3626
  function ar(e) {
3572
3627
  e.forEach(function(t) {
3573
- if (delete t.location, ln(t) || hn(t))
3628
+ if (delete t.location, hn(t) || fn(t))
3574
3629
  for (var r in t.options)
3575
3630
  delete t.options[r].location, ar(t.options[r].value);
3576
- else sn(t) && cn(t.style) || (an(t) || un(t)) && rr(t.style) ? delete t.style.location : fn(t) && ar(t.children);
3631
+ else an(t) && dn(t.style) || (un(t) || ln(t)) && rr(t.style) ? delete t.style.location : cn(t) && ar(t.children);
3577
3632
  });
3578
3633
  }
3579
- function mo(e, t) {
3634
+ function _o(e, t) {
3580
3635
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3581
- var r = new ho(e, t).parse();
3636
+ var r = new go(e, t).parse();
3582
3637
  if (r.err) {
3583
3638
  var n = SyntaxError(A[r.err.kind]);
3584
3639
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3585
3640
  }
3586
3641
  return t != null && t.captureLocation || ar(r.val), r.val;
3587
3642
  }
3588
- function jt(e, t) {
3589
- var r = t && t.cache ? t.cache : _o, n = t && t.serializer ? t.serializer : Eo, i = t && t.strategy ? t.strategy : go;
3590
- return i(e, {
3591
- cache: r,
3592
- serializer: n
3593
- });
3594
- }
3595
- function bo(e) {
3596
- return e == null || typeof e == "number" || typeof e == "boolean";
3597
- }
3598
- function En(e, t, r, n) {
3599
- var i = bo(n) ? n : r(n), o = t.get(i);
3600
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3601
- }
3602
- function _n(e, t, r) {
3603
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3604
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3605
- }
3606
- function fr(e, t, r, n, i) {
3607
- return r.bind(t, e, n, i);
3608
- }
3609
- function go(e, t) {
3610
- var r = e.length === 1 ? En : _n;
3611
- return fr(e, this, r, t.cache.create(), t.serializer);
3612
- }
3613
- function vo(e, t) {
3614
- return fr(e, this, _n, t.cache.create(), t.serializer);
3615
- }
3616
- function yo(e, t) {
3617
- return fr(e, this, En, t.cache.create(), t.serializer);
3618
- }
3619
- var Eo = function() {
3620
- return JSON.stringify(arguments);
3621
- };
3622
- function cr() {
3623
- this.cache = /* @__PURE__ */ Object.create(null);
3624
- }
3625
- cr.prototype.get = function(e) {
3626
- return this.cache[e];
3627
- };
3628
- cr.prototype.set = function(e, t) {
3629
- this.cache[e] = t;
3630
- };
3631
- var _o = {
3632
- create: function() {
3633
- return new cr();
3634
- }
3635
- }, $t = {
3636
- variadic: vo,
3637
- monadic: yo
3638
- }, We;
3643
+ var We;
3639
3644
  (function(e) {
3640
3645
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3641
3646
  })(We || (We = {}));
@@ -3708,7 +3713,7 @@ function _t(e, t, r, n, i, o, s) {
3708
3713
  });
3709
3714
  continue;
3710
3715
  }
3711
- if (Gi(c)) {
3716
+ if (zi(c)) {
3712
3717
  typeof o == "number" && a.push({
3713
3718
  type: K.literal,
3714
3719
  value: r.getNumberFormat(t).format(o)
@@ -3719,14 +3724,14 @@ function _t(e, t, r, n, i, o, s) {
3719
3724
  if (!(i && d in i))
3720
3725
  throw new wo(d, s);
3721
3726
  var m = i[d];
3722
- if (Ui(c)) {
3727
+ if (Xi(c)) {
3723
3728
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3724
3729
  type: typeof m == "string" ? K.literal : K.object,
3725
3730
  value: m
3726
3731
  });
3727
3732
  continue;
3728
3733
  }
3729
- if (an(c)) {
3734
+ if (un(c)) {
3730
3735
  var _ = typeof c.style == "string" ? n.date[c.style] : rr(c.style) ? c.style.parsedOptions : void 0;
3731
3736
  a.push({
3732
3737
  type: K.literal,
@@ -3734,7 +3739,7 @@ function _t(e, t, r, n, i, o, s) {
3734
3739
  });
3735
3740
  continue;
3736
3741
  }
3737
- if (un(c)) {
3742
+ if (ln(c)) {
3738
3743
  var _ = typeof c.style == "string" ? n.time[c.style] : rr(c.style) ? c.style.parsedOptions : n.time.medium;
3739
3744
  a.push({
3740
3745
  type: K.literal,
@@ -3742,15 +3747,15 @@ function _t(e, t, r, n, i, o, s) {
3742
3747
  });
3743
3748
  continue;
3744
3749
  }
3745
- if (sn(c)) {
3746
- var _ = typeof c.style == "string" ? n.number[c.style] : cn(c.style) ? c.style.parsedOptions : void 0;
3750
+ if (an(c)) {
3751
+ var _ = typeof c.style == "string" ? n.number[c.style] : dn(c.style) ? c.style.parsedOptions : void 0;
3747
3752
  _ && _.scale && (m = m * (_.scale || 1)), a.push({
3748
3753
  type: K.literal,
3749
3754
  value: r.getNumberFormat(t, _).format(m)
3750
3755
  });
3751
3756
  continue;
3752
3757
  }
3753
- if (fn(c)) {
3758
+ if (cn(c)) {
3754
3759
  var O = c.children, B = c.value, ee = i[B];
3755
3760
  if (!So(ee))
3756
3761
  throw new xo(B, "function", s);
@@ -3764,14 +3769,14 @@ function _t(e, t, r, n, i, o, s) {
3764
3769
  };
3765
3770
  }));
3766
3771
  }
3767
- if (ln(c)) {
3772
+ if (hn(c)) {
3768
3773
  var M = c.options[m] || c.options.other;
3769
3774
  if (!M)
3770
3775
  throw new Rr(c.value, m, Object.keys(c.options), s);
3771
3776
  a.push.apply(a, _t(M.value, t, r, n, i));
3772
3777
  continue;
3773
3778
  }
3774
- if (hn(c)) {
3779
+ if (fn(c)) {
3775
3780
  var M = c.options["=".concat(m)];
3776
3781
  if (!M) {
3777
3782
  if (!Intl.PluralRules)
@@ -3819,29 +3824,29 @@ function Bo(e) {
3819
3824
  dateTime: {},
3820
3825
  pluralRules: {}
3821
3826
  }), {
3822
- getNumberFormat: jt(function() {
3827
+ getNumberFormat: Gt(function() {
3823
3828
  for (var t, r = [], n = 0; n < arguments.length; n++)
3824
3829
  r[n] = arguments[n];
3825
3830
  return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3826
3831
  }, {
3827
3832
  cache: kt(e.number),
3828
- strategy: $t.variadic
3833
+ strategy: jt.variadic
3829
3834
  }),
3830
- getDateTimeFormat: jt(function() {
3835
+ getDateTimeFormat: Gt(function() {
3831
3836
  for (var t, r = [], n = 0; n < arguments.length; n++)
3832
3837
  r[n] = arguments[n];
3833
3838
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3834
3839
  }, {
3835
3840
  cache: kt(e.dateTime),
3836
- strategy: $t.variadic
3841
+ strategy: jt.variadic
3837
3842
  }),
3838
- getPluralRules: jt(function() {
3843
+ getPluralRules: Gt(function() {
3839
3844
  for (var t, r = [], n = 0; n < arguments.length; n++)
3840
3845
  r[n] = arguments[n];
3841
3846
  return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3842
3847
  }, {
3843
3848
  cache: kt(e.pluralRules),
3844
- strategy: $t.variadic
3849
+ strategy: jt.variadic
3845
3850
  })
3846
3851
  };
3847
3852
  }
@@ -3849,8 +3854,9 @@ var Po = (
3849
3854
  /** @class */
3850
3855
  function() {
3851
3856
  function e(t, r, n, i) {
3857
+ r === void 0 && (r = e.defaultLocale);
3852
3858
  var o = this;
3853
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3859
+ if (this.formatterCache = {
3854
3860
  number: {},
3855
3861
  dateTime: {},
3856
3862
  pluralRules: {}
@@ -3876,7 +3882,7 @@ var Po = (
3876
3882
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3877
3883
  var s = i || {};
3878
3884
  s.formatters;
3879
- var a = ai(s, ["formatters"]);
3885
+ var a = si(s, ["formatters"]);
3880
3886
  this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3881
3887
  } else
3882
3888
  this.ast = t;
@@ -3895,7 +3901,7 @@ var Po = (
3895
3901
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3896
3902
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3897
3903
  }
3898
- }, e.__parse = mo, e.formats = {
3904
+ }, e.__parse = _o, e.formats = {
3899
3905
  number: {
3900
3906
  integer: {
3901
3907
  maximumFractionDigits: 0
@@ -3977,7 +3983,7 @@ function Co(e, t) {
3977
3983
  n = void 0;
3978
3984
  return n;
3979
3985
  }
3980
- const Ae = {}, Oo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), xn = (e, t) => {
3986
+ const Ae = {}, Oo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), _n = (e, t) => {
3981
3987
  if (t == null)
3982
3988
  return;
3983
3989
  if (t in Ae && e in Ae[t])
@@ -3994,11 +4000,11 @@ const Je = Ht({});
3994
4000
  function Io(e) {
3995
4001
  return dr[e] || null;
3996
4002
  }
3997
- function wn(e) {
4003
+ function xn(e) {
3998
4004
  return e in dr;
3999
4005
  }
4000
4006
  function Lo(e, t) {
4001
- if (!wn(e))
4007
+ if (!xn(e))
4002
4008
  return null;
4003
4009
  const r = Io(e);
4004
4010
  return Co(r, t);
@@ -4009,11 +4015,11 @@ function No(e) {
4009
4015
  const t = Pt(e);
4010
4016
  for (let r = 0; r < t.length; r++) {
4011
4017
  const n = t[r];
4012
- if (wn(n))
4018
+ if (xn(n))
4013
4019
  return n;
4014
4020
  }
4015
4021
  }
4016
- function Tn(e, ...t) {
4022
+ function wn(e, ...t) {
4017
4023
  delete Ae[e], Je.update((r) => (r[e] = Fi.all([r[e] || {}, ...t]), r));
4018
4024
  }
4019
4025
  Ze(
@@ -4025,12 +4031,12 @@ const xt = {};
4025
4031
  function Mo(e, t) {
4026
4032
  xt[e].delete(t), xt[e].size === 0 && delete xt[e];
4027
4033
  }
4028
- function Sn(e) {
4034
+ function Tn(e) {
4029
4035
  return xt[e];
4030
4036
  }
4031
4037
  function Ro(e) {
4032
4038
  return Pt(e).map((t) => {
4033
- const r = Sn(t);
4039
+ const r = Tn(t);
4034
4040
  return [t, r ? [...r] : []];
4035
4041
  }).filter(([, t]) => t.length > 0);
4036
4042
  }
@@ -4038,17 +4044,17 @@ function ur(e) {
4038
4044
  return e == null ? !1 : Pt(e).some(
4039
4045
  (t) => {
4040
4046
  var r;
4041
- return (r = Sn(t)) == null ? void 0 : r.size;
4047
+ return (r = Tn(t)) == null ? void 0 : r.size;
4042
4048
  }
4043
4049
  );
4044
4050
  }
4045
4051
  function Do(e, t) {
4046
4052
  return Promise.all(
4047
4053
  t.map((n) => (Mo(e, n), n().then((i) => i.default || i)))
4048
- ).then((n) => Tn(e, ...n));
4054
+ ).then((n) => wn(e, ...n));
4049
4055
  }
4050
4056
  const it = {};
4051
- function An(e) {
4057
+ function Sn(e) {
4052
4058
  if (!ur(e))
4053
4059
  return e in it ? it[e] : Promise.resolve();
4054
4060
  const t = Ro(e);
@@ -4058,7 +4064,7 @@ function An(e) {
4058
4064
  )
4059
4065
  ).then(() => {
4060
4066
  if (ur(e))
4061
- return An(e);
4067
+ return Sn(e);
4062
4068
  delete it[e];
4063
4069
  }), it[e];
4064
4070
  }
@@ -4133,7 +4139,7 @@ const qo = (e) => {
4133
4139
  return typeof window != "undefined" && Me() != null && t ? r = window.setTimeout(
4134
4140
  () => Vt.set(!0),
4135
4141
  t
4136
- ) : Vt.set(!0), An(e).then(() => {
4142
+ ) : Vt.set(!0), Sn(e).then(() => {
4137
4143
  wt.set(e);
4138
4144
  }).finally(() => {
4139
4145
  clearTimeout(r), Vt.set(!1);
@@ -4149,20 +4155,20 @@ const qo = (e) => {
4149
4155
  return i in t ? t[i] : t[i] = e(n);
4150
4156
  };
4151
4157
  };
4152
- var Zo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pr = (e, t) => {
4158
+ var Zo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pr = (e, t) => {
4153
4159
  for (var r in t || (t = {}))
4154
- Hn.call(t, r) && Gr(e, r, t[r]);
4160
+ An.call(t, r) && Gr(e, r, t[r]);
4155
4161
  if (Tt)
4156
4162
  for (var r of Tt(t))
4157
- Bn.call(t, r) && Gr(e, r, t[r]);
4163
+ Hn.call(t, r) && Gr(e, r, t[r]);
4158
4164
  return e;
4159
4165
  }, Qe = (e, t) => {
4160
4166
  var r = {};
4161
4167
  for (var n in e)
4162
- Hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4168
+ An.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4163
4169
  if (e != null && Tt)
4164
4170
  for (var n of Tt(e))
4165
- t.indexOf(n) < 0 && Bn.call(e, n) && (r[n] = e[n]);
4171
+ t.indexOf(n) < 0 && Hn.call(e, n) && (r[n] = e[n]);
4166
4172
  return r;
4167
4173
  };
4168
4174
  const lt = (e, t) => {
@@ -4232,7 +4238,7 @@ const lt = (e, t) => {
4232
4238
  throw new Error(
4233
4239
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4234
4240
  );
4235
- let c = xn(e, l);
4241
+ let c = _n(e, l);
4236
4242
  if (!c)
4237
4243
  c = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4238
4244
  else if (typeof c != "string")
@@ -4251,7 +4257,7 @@ const lt = (e, t) => {
4251
4257
  );
4252
4258
  }
4253
4259
  return d;
4254
- }, is = (e, t) => ts(t).format(e), os = (e, t) => es(t).format(e), ss = (e, t) => Ko(t).format(e), as = (e, t = Me()) => xn(e, t), us = Ze([He, Je], () => ns);
4260
+ }, is = (e, t) => ts(t).format(e), os = (e, t) => es(t).format(e), ss = (e, t) => Ko(t).format(e), as = (e, t = Me()) => _n(e, t), us = Ze([He, Je], () => ns);
4255
4261
  Ze([He], () => is);
4256
4262
  Ze([He], () => os);
4257
4263
  Ze([He], () => ss);
@@ -4264,7 +4270,7 @@ function hs({ withLocale: e, translations: t }) {
4264
4270
  });
4265
4271
  }
4266
4272
  function Xt(e, t) {
4267
- Tn(e, t);
4273
+ wn(e, t);
4268
4274
  }
4269
4275
  function jr(e) {
4270
4276
  He.set(e);
@@ -4658,7 +4664,7 @@ var hr = { exports: {} };
4658
4664
  var Lt = d != null && m != null && "body" in m.prototype;
4659
4665
  function dt(h, b, g) {
4660
4666
  b = String(b);
4661
- var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = De(1e3), x = tt(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, f = g.Transport, S = Lt && f == null ? void 0 : new $(f != null ? new f() : It()), N = f != null && typeof f != "string" ? new f() : S == null ? new Be() : new ge(), I = void 0, k = 0, q = Oe, Se = "", rt = "", G = "", pt = "", Q = se, Nt = 0, Ie = 0, Cn = function(V, j, ae, ue) {
4667
+ var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = De(1e3), x = tt(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, f = g.Transport, S = Lt && f == null ? void 0 : new $(f != null ? new f() : It()), N = f != null && typeof f != "string" ? new f() : S == null ? new Be() : new ge(), I = void 0, k = 0, q = Oe, Se = "", rt = "", G = "", pt = "", Q = se, Nt = 0, Ie = 0, Pn = function(V, j, ae, ue) {
4662
4668
  if (q === W)
4663
4669
  if (V === 200 && ae != null && et.test(ae)) {
4664
4670
  q = he, C = Date.now(), T = v, h.readyState = he;
@@ -4678,7 +4684,7 @@ var hr = { exports: {} };
4678
4684
  });
4679
4685
  h.dispatchEvent(Y), Te(h, h.onerror, Y), console.error(X);
4680
4686
  }
4681
- }, On = function(V) {
4687
+ }, Cn = function(V) {
4682
4688
  if (q === he) {
4683
4689
  for (var j = -1, ae = 0; ae < V.length; ae += 1) {
4684
4690
  var ue = V.charCodeAt(ae);
@@ -4755,7 +4761,7 @@ var hr = { exports: {} };
4755
4761
  for (var Ee in X)
4756
4762
  Object.prototype.hasOwnProperty.call(X, Ee) && (Y[Ee] = X[Ee]);
4757
4763
  try {
4758
- I = N.open(S, Cn, On, mr, j, ue, Y);
4764
+ I = N.open(S, Pn, Cn, mr, j, ue, Y);
4759
4765
  } catch (_e) {
4760
4766
  throw Mt(), _e;
4761
4767
  }
@@ -4789,7 +4795,7 @@ if (typeof window != "undefined") {
4789
4795
  }
4790
4796
  };
4791
4797
  };
4792
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-Dbrfkq2-.js").then(({ default: t }) => {
4798
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-Cms4Mj5a.js").then(({ default: t }) => {
4793
4799
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4794
4800
  });
4795
4801
  }
@@ -4805,13 +4811,13 @@ if (typeof window != "undefined") {
4805
4811
  }
4806
4812
  };
4807
4813
  };
4808
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-O9NEqeZX.js").then(({ default: t }) => {
4814
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-DT-ABEal.js").then(({ default: t }) => {
4809
4815
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4810
4816
  });
4811
4817
  }
4812
4818
  const kr = (e) => e.length > 0 && e != "false";
4813
4819
  function cs(e) {
4814
- Un(e, "svelte-197w647", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emfe-w-color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emfe-w-color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4820
+ Fn(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4815
4821
  }
4816
4822
  function ds(e) {
4817
4823
  let t, r, n, i, o, s, a = (
@@ -5119,7 +5125,7 @@ function bs(e) {
5119
5125
  let n = r(e), i = n(e);
5120
5126
  return {
5121
5127
  c() {
5122
- i.c(), t = $n();
5128
+ i.c(), t = jn();
5123
5129
  },
5124
5130
  m(o, s) {
5125
5131
  i.m(o, s), de(o, t, s);
@@ -5232,7 +5238,7 @@ function ys(e) {
5232
5238
  let Es = "All,Scheduled,Ongoing,Finished";
5233
5239
  function _s(e, t, r) {
5234
5240
  let n;
5235
- Fn(e, us, (f) => r(22, n = f));
5241
+ Dn(e, us, (f) => r(22, n = f));
5236
5242
  let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: pe = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Re = 1e3 } = t, Be = !1, me = "", Pe = !1, te = "", ft = window.navigator.userAgent, Ce = !0, Ye = !1, Oe = !1, W, he = 0, ve = !1, oe = 6, se = !0, ye = [], Ke, be, et = !1, ct;
5237
5243
  hs({ withLocale: "en", translations: {} });
5238
5244
  const Ot = () => {
@@ -5374,7 +5380,7 @@ function _s(e, t, r) {
5374
5380
  );
5375
5381
  });
5376
5382
  };
5377
- Wn(() => (setTimeout(
5383
+ zn(() => (setTimeout(
5378
5384
  () => {
5379
5385
  r(31, ve = !0);
5380
5386
  },
@@ -5439,9 +5445,9 @@ function _s(e, t, r) {
5439
5445
  E
5440
5446
  ];
5441
5447
  }
5442
- class Pn extends oi {
5448
+ class Bn extends ii {
5443
5449
  constructor(t) {
5444
- super(), ni(
5450
+ super(), ri(
5445
5451
  this,
5446
5452
  t,
5447
5453
  _s,
@@ -5601,10 +5607,10 @@ class Pn extends oi {
5601
5607
  this.$$set({ delaybeforeload: t }), F();
5602
5608
  }
5603
5609
  }
5604
- ii(Pn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
5610
+ ni(Bn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
5605
5611
  const Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5606
5612
  __proto__: null,
5607
- default: Pn
5613
+ default: Bn
5608
5614
  }, Symbol.toStringTag, { value: "Module" }));
5609
5615
  export {
5610
5616
  us as $,
@@ -5619,18 +5625,18 @@ export {
5619
5625
  Bs as I,
5620
5626
  ws as J,
5621
5627
  Is as K,
5622
- oi as S,
5623
- Tn as a,
5624
- Un as b,
5625
- ii as c,
5628
+ ii as S,
5629
+ wn as a,
5630
+ Fn as b,
5631
+ ni as c,
5626
5632
  U as d,
5627
5633
  z as e,
5628
5634
  F as f,
5629
5635
  Os as g,
5630
5636
  de as h,
5631
- ni as i,
5637
+ ri as i,
5632
5638
  ne as j,
5633
- Fn as k,
5639
+ Dn as k,
5634
5640
  Cs as l,
5635
5641
  zt as m,
5636
5642
  ce as n,
@@ -5642,8 +5648,8 @@ export {
5642
5648
  Ne as t,
5643
5649
  qt as u,
5644
5650
  As as v,
5645
- Wn as w,
5646
- $n as x,
5651
+ zn as w,
5652
+ jn as x,
5647
5653
  w as y,
5648
5654
  He as z
5649
5655
  };