@everymatrix/casino-tournaments-slider-controller 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- import { i as zr, n as Xe, s as Vr, r as mr, a as gr, b as Zr, S as qr, c as Yr, f as ge, d as Wr, e as Kr, g as K, h as he, j as ve, k as h, x as yt, l as Ze, m as H, o as at, t as wt, p as zt, q as $r, u as qe, v as en, w as tn, y as vr, z as X, A as rn, B as Er, C as Vt, D as nn, E as Zt, F as on, G as an, H as it } from "./CasinoTournamentsRank-fGRg2Pw3.js";
2
- function qt(e, { delay: t = 0, duration: r = 400, easing: n = zr } = {}) {
1
+ import { i as Vn, n as Xe, s as Zn, r as gn, a as vn, b as qn, S as Yn, c as Wn, f as ge, d as Kn, e as $n, g as K, h as he, j as ve, k as h, x as yt, l as Ze, m as H, o as at, t as wt, p as zt, q as er, u as qe, v as tr, w as nr, y as En, z as X, A as rr, B as bn, C as Vt, D as ir, E as Zt, F as or, G as ar, H as it } from "./CasinoTournamentsRank-CHfNbZ5M.js";
2
+ function qt(e, { delay: t = 0, duration: n = 400, easing: r = Vn } = {}) {
3
3
  const i = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
6
- duration: r,
7
- easing: n,
6
+ duration: n,
7
+ easing: r,
8
8
  css: (o) => `opacity: ${o * i}`
9
9
  };
10
10
  }
11
11
  const De = [];
12
- function sn(e, t) {
12
+ function sr(e, t) {
13
13
  return {
14
14
  subscribe: ft(e, t).subscribe
15
15
  };
16
16
  }
17
17
  function ft(e, t = Xe) {
18
- let r;
19
- const n = /* @__PURE__ */ new Set();
18
+ let n;
19
+ const r = /* @__PURE__ */ new Set();
20
20
  function i(c) {
21
- if (gr(e, c) && (e = c, r)) {
21
+ if (vn(e, c) && (e = c, n)) {
22
22
  const d = !De.length;
23
- for (const u of n)
23
+ for (const u of r)
24
24
  u[1](), De.push(u, e);
25
25
  if (d) {
26
26
  for (let u = 0; u < De.length; u += 2)
@@ -34,18 +34,18 @@ function ft(e, t = Xe) {
34
34
  }
35
35
  function f(c, d = Xe) {
36
36
  const u = [c, d];
37
- return n.add(u), n.size === 1 && (r = t(i, o) || Xe), c(e), () => {
38
- n.delete(u), n.size === 0 && r && (r(), r = null);
37
+ return r.add(u), r.size === 1 && (n = t(i, o) || Xe), c(e), () => {
38
+ r.delete(u), r.size === 0 && n && (n(), n = null);
39
39
  };
40
40
  }
41
41
  return { set: i, update: o, subscribe: f };
42
42
  }
43
- function Ge(e, t, r) {
44
- const n = !Array.isArray(e), i = n ? [e] : e;
43
+ function Ge(e, t, n) {
44
+ const r = !Array.isArray(e), i = r ? [e] : e;
45
45
  if (!i.every(Boolean))
46
46
  throw new Error("derived() expects stores as input, got a falsy value");
47
47
  const o = t.length < 2;
48
- return sn(r, (f, c) => {
48
+ return sr(n, (f, c) => {
49
49
  let d = !1;
50
50
  const u = [];
51
51
  let l = 0, g = Xe;
@@ -53,10 +53,10 @@ function Ge(e, t, r) {
53
53
  if (l)
54
54
  return;
55
55
  g();
56
- const M = t(n ? u[0] : u, f, c);
57
- o ? f(M) : g = Zr(M) ? M : Xe;
56
+ const M = t(r ? u[0] : u, f, c);
57
+ o ? f(M) : g = qn(M) ? M : Xe;
58
58
  }, S = i.map(
59
- (M, x) => Vr(
59
+ (M, x) => Zn(
60
60
  M,
61
61
  (C) => {
62
62
  u[x] = C, l &= ~(1 << x), d && v();
@@ -67,155 +67,173 @@ function Ge(e, t, r) {
67
67
  )
68
68
  );
69
69
  return d = !0, v(), function() {
70
- mr(S), g(), d = !1;
70
+ gn(S), g(), d = !1;
71
71
  };
72
72
  });
73
73
  }
74
- var un = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
75
- function ln(e) {
74
+ var ur = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
75
+ function lr(e) {
76
76
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
77
77
  }
78
- var hn = function(t) {
79
- return fn(t) && !cn(t);
78
+ var hr = function(t) {
79
+ return fr(t) && !cr(t);
80
80
  };
81
- function fn(e) {
81
+ function fr(e) {
82
82
  return !!e && typeof e == "object";
83
83
  }
84
- function cn(e) {
84
+ function cr(e) {
85
85
  var t = Object.prototype.toString.call(e);
86
- return t === "[object RegExp]" || t === "[object Date]" || An(e);
86
+ return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
87
87
  }
88
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
89
- function An(e) {
90
- return e.$$typeof === pn;
88
+ var dr = typeof Symbol == "function" && Symbol.for, pr = dr ? Symbol.for("react.element") : 60103;
89
+ function Ar(e) {
90
+ return e.$$typeof === pr;
91
91
  }
92
- function mn(e) {
92
+ function mr(e) {
93
93
  return Array.isArray(e) ? [] : {};
94
94
  }
95
95
  function ze(e, t) {
96
- return t.clone !== !1 && t.isMergeableObject(e) ? Pe(mn(e), e, t) : e;
96
+ return t.clone !== !1 && t.isMergeableObject(e) ? Pe(mr(e), e, t) : e;
97
97
  }
98
- function gn(e, t, r) {
99
- return e.concat(t).map(function(n) {
100
- return ze(n, r);
98
+ function gr(e, t, n) {
99
+ return e.concat(t).map(function(r) {
100
+ return ze(r, n);
101
101
  });
102
102
  }
103
- function vn(e, t) {
103
+ function vr(e, t) {
104
104
  if (!t.customMerge)
105
105
  return Pe;
106
- var r = t.customMerge(e);
107
- return typeof r == "function" ? r : Pe;
106
+ var n = t.customMerge(e);
107
+ return typeof n == "function" ? n : Pe;
108
108
  }
109
- function En(e) {
109
+ function Er(e) {
110
110
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
111
111
  return Object.propertyIsEnumerable.call(e, t);
112
112
  }) : [];
113
113
  }
114
114
  function Yt(e) {
115
- return Object.keys(e).concat(En(e));
115
+ return Object.keys(e).concat(Er(e));
116
116
  }
117
- function br(e, t) {
117
+ function yn(e, t) {
118
118
  try {
119
119
  return t in e;
120
- } catch (r) {
120
+ } catch (n) {
121
121
  return !1;
122
122
  }
123
123
  }
124
- function bn(e, t) {
125
- return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
124
+ function br(e, t) {
125
+ return yn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
126
126
  }
127
- function yn(e, t, r) {
128
- var n = {};
129
- return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
130
- n[i] = ze(e[i], r);
127
+ function yr(e, t, n) {
128
+ var r = {};
129
+ return n.isMergeableObject(e) && Yt(e).forEach(function(i) {
130
+ r[i] = ze(e[i], n);
131
131
  }), Yt(t).forEach(function(i) {
132
- bn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
133
- }), n;
132
+ br(e, i) || (yn(e, i) && n.isMergeableObject(t[i]) ? r[i] = vr(i, n)(e[i], t[i], n) : r[i] = ze(t[i], n));
133
+ }), r;
134
134
  }
135
- function Pe(e, t, r) {
136
- r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = ze;
137
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
138
- return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : ze(t, r);
135
+ function Pe(e, t, n) {
136
+ n = n || {}, n.arrayMerge = n.arrayMerge || gr, n.isMergeableObject = n.isMergeableObject || hr, n.cloneUnlessOtherwiseSpecified = ze;
137
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
138
+ return o ? r ? n.arrayMerge(e, t, n) : yr(e, t, n) : ze(t, n);
139
139
  }
140
- Pe.all = function(t, r) {
140
+ Pe.all = function(t, n) {
141
141
  if (!Array.isArray(t))
142
142
  throw new Error("first argument should be an array");
143
- return t.reduce(function(n, i) {
144
- return Pe(n, i, r);
143
+ return t.reduce(function(r, i) {
144
+ return Pe(r, i, n);
145
145
  }, {});
146
146
  };
147
- var wn = Pe, In = wn;
148
- const xn = /* @__PURE__ */ ln(In);
147
+ var wr = Pe, Ir = wr;
148
+ const xr = /* @__PURE__ */ lr(Ir);
149
+ /*! *****************************************************************************
150
+ Copyright (c) Microsoft Corporation.
151
+
152
+ Permission to use, copy, modify, and/or distribute this software for any
153
+ purpose with or without fee is hereby granted.
154
+
155
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
156
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
157
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
158
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
159
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
160
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
161
+ PERFORMANCE OF THIS SOFTWARE.
162
+ ***************************************************************************** */
149
163
  var Ot = function(e, t) {
150
- return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
151
- r.__proto__ = n;
152
- } || function(r, n) {
153
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
164
+ return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
165
+ n.__proto__ = r;
166
+ } || function(n, r) {
167
+ for (var i in r)
168
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
154
169
  }, Ot(e, t);
155
170
  };
156
171
  function ct(e, t) {
157
172
  if (typeof t != "function" && t !== null)
158
173
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
159
174
  Ot(e, t);
160
- function r() {
175
+ function n() {
161
176
  this.constructor = e;
162
177
  }
163
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
178
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
164
179
  }
165
180
  var k = function() {
166
181
  return k = Object.assign || function(t) {
167
- for (var r, n = 1, i = arguments.length; n < i; n++) {
168
- r = arguments[n];
169
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
182
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
183
+ n = arguments[r];
184
+ for (var o in n)
185
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
170
186
  }
171
187
  return t;
172
188
  }, k.apply(this, arguments);
173
189
  };
174
- function Bn(e, t) {
175
- var r = {};
176
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
190
+ function Br(e, t) {
191
+ var n = {};
192
+ for (var r in e)
193
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
177
194
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
178
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
179
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
180
- return r;
195
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
196
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
197
+ return n;
181
198
  }
182
- function It(e, t, r) {
183
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
184
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
185
- return e.concat(o || Array.prototype.slice.call(t));
199
+ function It(e, t, n) {
200
+ if (arguments.length === 2)
201
+ for (var r = 0, i = t.length, o; r < i; r++)
202
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
203
+ return e.concat(o || t);
186
204
  }
187
205
  function xt(e, t) {
188
- var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : Hn;
206
+ var n = t && t.cache ? t.cache : Or, r = t && t.serializer ? t.serializer : Sr, i = t && t.strategy ? t.strategy : Hr;
189
207
  return i(e, {
190
- cache: r,
191
- serializer: n
208
+ cache: n,
209
+ serializer: r
192
210
  });
193
211
  }
194
- function Tn(e) {
212
+ function Tr(e) {
195
213
  return e == null || typeof e == "number" || typeof e == "boolean";
196
214
  }
197
- function yr(e, t, r, n) {
198
- var i = Tn(n) ? n : r(n), o = t.get(i);
199
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
215
+ function wn(e, t, n, r) {
216
+ var i = Tr(r) ? r : n(r), o = t.get(i);
217
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
200
218
  }
201
- function wr(e, t, r) {
202
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
203
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
219
+ function In(e, t, n) {
220
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
221
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
204
222
  }
205
- function _t(e, t, r, n, i) {
206
- return r.bind(t, e, n, i);
223
+ function _t(e, t, n, r, i) {
224
+ return n.bind(t, e, r, i);
207
225
  }
208
- function Hn(e, t) {
209
- var r = e.length === 1 ? yr : wr;
210
- return _t(e, this, r, t.cache.create(), t.serializer);
226
+ function Hr(e, t) {
227
+ var n = e.length === 1 ? wn : In;
228
+ return _t(e, this, n, t.cache.create(), t.serializer);
211
229
  }
212
- function Cn(e, t) {
213
- return _t(e, this, wr, t.cache.create(), t.serializer);
230
+ function Cr(e, t) {
231
+ return _t(e, this, In, t.cache.create(), t.serializer);
214
232
  }
215
- function Rn(e, t) {
216
- return _t(e, this, yr, t.cache.create(), t.serializer);
233
+ function Rr(e, t) {
234
+ return _t(e, this, wn, t.cache.create(), t.serializer);
217
235
  }
218
- var Sn = function() {
236
+ var Sr = function() {
219
237
  return JSON.stringify(arguments);
220
238
  };
221
239
  function Qt() {
@@ -227,13 +245,13 @@ Qt.prototype.get = function(e) {
227
245
  Qt.prototype.set = function(e, t) {
228
246
  this.cache[e] = t;
229
247
  };
230
- var On = {
248
+ var Or = {
231
249
  create: function() {
232
250
  return new Qt();
233
251
  }
234
252
  }, Bt = {
235
- variadic: Cn,
236
- monadic: Rn
253
+ variadic: Cr,
254
+ monadic: Rr
237
255
  }, L;
238
256
  (function(e) {
239
257
  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";
@@ -249,47 +267,47 @@ var Me;
249
267
  function Wt(e) {
250
268
  return e.type === z.literal;
251
269
  }
252
- function Ln(e) {
270
+ function Lr(e) {
253
271
  return e.type === z.argument;
254
272
  }
255
- function Ir(e) {
273
+ function xn(e) {
256
274
  return e.type === z.number;
257
275
  }
258
- function xr(e) {
276
+ function Bn(e) {
259
277
  return e.type === z.date;
260
278
  }
261
- function Br(e) {
279
+ function Tn(e) {
262
280
  return e.type === z.time;
263
281
  }
264
- function Tr(e) {
282
+ function Hn(e) {
265
283
  return e.type === z.select;
266
284
  }
267
- function Hr(e) {
285
+ function Cn(e) {
268
286
  return e.type === z.plural;
269
287
  }
270
- function Nn(e) {
288
+ function Nr(e) {
271
289
  return e.type === z.pound;
272
290
  }
273
- function Cr(e) {
291
+ function Rn(e) {
274
292
  return e.type === z.tag;
275
293
  }
276
- function Rr(e) {
294
+ function Sn(e) {
277
295
  return !!(e && typeof e == "object" && e.type === Me.number);
278
296
  }
279
297
  function Lt(e) {
280
298
  return !!(e && typeof e == "object" && e.type === Me.dateTime);
281
299
  }
282
- var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
283
- function Pn(e) {
300
+ var On = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
301
+ function Pr(e) {
284
302
  var t = {};
285
- return e.replace(Dn, function(r) {
286
- var n = r.length;
287
- switch (r[0]) {
303
+ return e.replace(Dr, function(n) {
304
+ var r = n.length;
305
+ switch (n[0]) {
288
306
  case "G":
289
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
307
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
290
308
  break;
291
309
  case "y":
292
- t.year = n === 2 ? "2-digit" : "numeric";
310
+ t.year = r === 2 ? "2-digit" : "numeric";
293
311
  break;
294
312
  case "Y":
295
313
  case "u":
@@ -301,30 +319,30 @@ function Pn(e) {
301
319
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
302
320
  case "M":
303
321
  case "L":
304
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
322
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
305
323
  break;
306
324
  case "w":
307
325
  case "W":
308
326
  throw new RangeError("`w/W` (week) patterns are not supported");
309
327
  case "d":
310
- t.day = ["numeric", "2-digit"][n - 1];
328
+ t.day = ["numeric", "2-digit"][r - 1];
311
329
  break;
312
330
  case "D":
313
331
  case "F":
314
332
  case "g":
315
333
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
316
334
  case "E":
317
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
335
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
318
336
  break;
319
337
  case "e":
320
- if (n < 4)
338
+ if (r < 4)
321
339
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
322
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
340
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
323
341
  break;
324
342
  case "c":
325
- if (n < 4)
343
+ if (r < 4)
326
344
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
327
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
345
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
328
346
  break;
329
347
  case "a":
330
348
  t.hour12 = !0;
@@ -333,32 +351,32 @@ function Pn(e) {
333
351
  case "B":
334
352
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
335
353
  case "h":
336
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
354
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
337
355
  break;
338
356
  case "H":
339
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
357
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
340
358
  break;
341
359
  case "K":
342
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
360
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
343
361
  break;
344
362
  case "k":
345
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
363
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
346
364
  break;
347
365
  case "j":
348
366
  case "J":
349
367
  case "C":
350
368
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
351
369
  case "m":
352
- t.minute = ["numeric", "2-digit"][n - 1];
370
+ t.minute = ["numeric", "2-digit"][r - 1];
353
371
  break;
354
372
  case "s":
355
- t.second = ["numeric", "2-digit"][n - 1];
373
+ t.second = ["numeric", "2-digit"][r - 1];
356
374
  break;
357
375
  case "S":
358
376
  case "A":
359
377
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
360
378
  case "z":
361
- t.timeZoneName = n < 4 ? "short" : "long";
379
+ t.timeZoneName = r < 4 ? "short" : "long";
362
380
  break;
363
381
  case "Z":
364
382
  case "O":
@@ -371,14 +389,14 @@ function Pn(e) {
371
389
  return "";
372
390
  }), t;
373
391
  }
374
- var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
375
- function kn(e) {
392
+ var Mr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
393
+ function kr(e) {
376
394
  if (e.length === 0)
377
395
  throw new Error("Number skeleton cannot be empty");
378
- for (var t = e.split(Mn).filter(function(v) {
396
+ for (var t = e.split(Mr).filter(function(v) {
379
397
  return v.length > 0;
380
- }), r = [], n = 0, i = t; n < i.length; n++) {
381
- var o = i[n], f = o.split("/");
398
+ }), n = [], r = 0, i = t; r < i.length; r++) {
399
+ var o = i[r], f = o.split("/");
382
400
  if (f.length === 0)
383
401
  throw new Error("Invalid number skeleton");
384
402
  for (var c = f[0], d = f.slice(1), u = 0, l = d; u < l.length; u++) {
@@ -386,21 +404,21 @@ function kn(e) {
386
404
  if (g.length === 0)
387
405
  throw new Error("Invalid number skeleton");
388
406
  }
389
- r.push({ stem: c, options: d });
407
+ n.push({ stem: c, options: d });
390
408
  }
391
- return r;
409
+ return n;
392
410
  }
393
- function Un(e) {
411
+ function Ur(e) {
394
412
  return e.replace(/^(.*?)-/, "");
395
413
  }
396
- var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
414
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ln = /^(@+)?(\+|#+)?[rs]?$/g, Gr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nn = /^(0+)$/;
397
415
  function $t(e) {
398
416
  var t = {};
399
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
400
- 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)), "";
417
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ln, function(n, r, i) {
418
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
401
419
  }), t;
402
420
  }
403
- function Nr(e) {
421
+ function Dn(e) {
404
422
  switch (e) {
405
423
  case "sign-auto":
406
424
  return {
@@ -440,27 +458,27 @@ function Nr(e) {
440
458
  };
441
459
  }
442
460
  }
443
- function Fn(e) {
461
+ function Fr(e) {
444
462
  var t;
445
463
  if (e[0] === "E" && e[1] === "E" ? (t = {
446
464
  notation: "engineering"
447
465
  }, e = e.slice(2)) : e[0] === "E" && (t = {
448
466
  notation: "scientific"
449
467
  }, e = e.slice(1)), t) {
450
- var r = e.slice(0, 2);
451
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
468
+ var n = e.slice(0, 2);
469
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nn.test(e))
452
470
  throw new Error("Malformed concise eng/scientific notation");
453
471
  t.minimumIntegerDigits = e.length;
454
472
  }
455
473
  return t;
456
474
  }
457
- function er(e) {
458
- var t = {}, r = Nr(e);
459
- return r || t;
475
+ function en(e) {
476
+ var t = {}, n = Dn(e);
477
+ return n || t;
460
478
  }
461
- function _n(e) {
462
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
463
- var i = n[r];
479
+ function _r(e) {
480
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
481
+ var i = r[n];
464
482
  switch (i.stem) {
465
483
  case "percent":
466
484
  case "%":
@@ -482,7 +500,7 @@ function _n(e) {
482
500
  continue;
483
501
  case "measure-unit":
484
502
  case "unit":
485
- t.style = "unit", t.unit = Un(i.options[0]);
503
+ t.style = "unit", t.unit = Ur(i.options[0]);
486
504
  continue;
487
505
  case "compact-short":
488
506
  case "K":
@@ -494,12 +512,12 @@ function _n(e) {
494
512
  continue;
495
513
  case "scientific":
496
514
  t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
497
- return k(k({}, d), er(u));
515
+ return k(k({}, d), en(u));
498
516
  }, {}));
499
517
  continue;
500
518
  case "engineering":
501
519
  t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
502
- return k(k({}, d), er(u));
520
+ return k(k({}, d), en(u));
503
521
  }, {}));
504
522
  continue;
505
523
  case "notation-simple":
@@ -544,7 +562,7 @@ function _n(e) {
544
562
  case "integer-width":
545
563
  if (i.options.length > 1)
546
564
  throw new RangeError("integer-width stems only accept a single optional option");
547
- i.options[0].replace(Gn, function(d, u, l, g, v, S) {
565
+ i.options[0].replace(Gr, function(d, u, l, g, v, S) {
548
566
  if (u)
549
567
  t.minimumIntegerDigits = l.length;
550
568
  else {
@@ -557,7 +575,7 @@ function _n(e) {
557
575
  });
558
576
  continue;
559
577
  }
560
- if (Lr.test(i.stem)) {
578
+ if (Nn.test(i.stem)) {
561
579
  t.minimumIntegerDigits = i.stem.length;
562
580
  continue;
563
581
  }
@@ -571,13 +589,13 @@ function _n(e) {
571
589
  o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), $t(o)));
572
590
  continue;
573
591
  }
574
- if (Or.test(i.stem)) {
592
+ if (Ln.test(i.stem)) {
575
593
  t = k(k({}, t), $t(i.stem));
576
594
  continue;
577
595
  }
578
- var f = Nr(i.stem);
596
+ var f = Dn(i.stem);
579
597
  f && (t = k(k({}, t), f));
580
- var c = Fn(i.stem);
598
+ var c = Fr(i.stem);
581
599
  c && (t = k(k({}, t), c));
582
600
  }
583
601
  return t;
@@ -1997,22 +2015,23 @@ var ot = {
1997
2015
  "h"
1998
2016
  ]
1999
2017
  };
2000
- function Qn(e, t) {
2001
- for (var r = "", n = 0; n < e.length; n++) {
2002
- var i = e.charAt(n);
2018
+ function Qr(e, t) {
2019
+ for (var n = "", r = 0; r < e.length; r++) {
2020
+ var i = e.charAt(r);
2003
2021
  if (i === "j") {
2004
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2005
- o++, n++;
2006
- var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = jn(t);
2022
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2023
+ o++, r++;
2024
+ var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = jr(t);
2007
2025
  for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
2008
- r += d;
2026
+ n += d;
2009
2027
  for (; f-- > 0; )
2010
- r = u + r;
2011
- } else i === "J" ? r += "H" : r += i;
2028
+ n = u + n;
2029
+ } else
2030
+ i === "J" ? n += "H" : n += i;
2012
2031
  }
2013
- return r;
2032
+ return n;
2014
2033
  }
2015
- function jn(e) {
2034
+ function jr(e) {
2016
2035
  var t = e.hourCycle;
2017
2036
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2018
2037
  e.hourCycles && // @ts-ignore
@@ -2029,73 +2048,73 @@ function jn(e) {
2029
2048
  default:
2030
2049
  throw new Error("Invalid hourCycle");
2031
2050
  }
2032
- var r = e.language, n;
2033
- r !== "root" && (n = e.maximize().region);
2034
- var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
2051
+ var n = e.language, r;
2052
+ n !== "root" && (r = e.maximize().region);
2053
+ var i = ot[r || ""] || ot[n || ""] || ot["".concat(n, "-001")] || ot["001"];
2035
2054
  return i[0];
2036
2055
  }
2037
- var Tt, Jn = new RegExp("^".concat(Sr.source, "*")), Xn = new RegExp("".concat(Sr.source, "*$"));
2056
+ var Tt, Jr = new RegExp("^".concat(On.source, "*")), Xr = new RegExp("".concat(On.source, "*$"));
2038
2057
  function D(e, t) {
2039
2058
  return { start: e, end: t };
2040
2059
  }
2041
- var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Zn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, $n = Kn ? Number.isSafeInteger : function(e) {
2060
+ var zr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vr = !!String.fromCodePoint, Zr = !!Object.fromEntries, qr = !!String.prototype.codePointAt, Yr = !!String.prototype.trimStart, Wr = !!String.prototype.trimEnd, Kr = !!Number.isSafeInteger, $r = Kr ? Number.isSafeInteger : function(e) {
2042
2061
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2043
2062
  }, Nt = !0;
2044
2063
  try {
2045
- var ei = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2064
+ var ei = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2046
2065
  Nt = ((Tt = ei.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2047
2066
  } catch (e) {
2048
2067
  Nt = !1;
2049
2068
  }
2050
- var tr = zn ? (
2069
+ var tn = zr ? (
2051
2070
  // Native
2052
- function(t, r, n) {
2053
- return t.startsWith(r, n);
2071
+ function(t, n, r) {
2072
+ return t.startsWith(n, r);
2054
2073
  }
2055
2074
  ) : (
2056
2075
  // For IE11
2057
- function(t, r, n) {
2058
- return t.slice(n, n + r.length) === r;
2076
+ function(t, n, r) {
2077
+ return t.slice(r, r + n.length) === n;
2059
2078
  }
2060
- ), Dt = Vn ? String.fromCodePoint : (
2079
+ ), Dt = Vr ? String.fromCodePoint : (
2061
2080
  // IE11
2062
2081
  function() {
2063
- for (var t = [], r = 0; r < arguments.length; r++)
2064
- t[r] = arguments[r];
2065
- for (var n = "", i = t.length, o = 0, f; i > o; ) {
2082
+ for (var t = [], n = 0; n < arguments.length; n++)
2083
+ t[n] = arguments[n];
2084
+ for (var r = "", i = t.length, o = 0, f; i > o; ) {
2066
2085
  if (f = t[o++], f > 1114111)
2067
2086
  throw RangeError(f + " is not a valid code point");
2068
- n += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2087
+ r += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2069
2088
  }
2070
- return n;
2089
+ return r;
2071
2090
  }
2072
- ), rr = (
2091
+ ), nn = (
2073
2092
  // native
2074
- Zn ? Object.fromEntries : (
2093
+ Zr ? Object.fromEntries : (
2075
2094
  // Ponyfill
2076
2095
  function(t) {
2077
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2078
- var o = i[n], f = o[0], c = o[1];
2079
- r[f] = c;
2096
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2097
+ var o = i[r], f = o[0], c = o[1];
2098
+ n[f] = c;
2080
2099
  }
2081
- return r;
2100
+ return n;
2082
2101
  }
2083
2102
  )
2084
- ), Dr = qn ? (
2103
+ ), Pn = qr ? (
2085
2104
  // Native
2086
- function(t, r) {
2087
- return t.codePointAt(r);
2105
+ function(t, n) {
2106
+ return t.codePointAt(n);
2088
2107
  }
2089
2108
  ) : (
2090
2109
  // IE 11
2091
- function(t, r) {
2092
- var n = t.length;
2093
- if (!(r < 0 || r >= n)) {
2094
- var i = t.charCodeAt(r), o;
2095
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2110
+ function(t, n) {
2111
+ var r = t.length;
2112
+ if (!(n < 0 || n >= r)) {
2113
+ var i = t.charCodeAt(n), o;
2114
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2096
2115
  }
2097
2116
  }
2098
- ), ti = Yn ? (
2117
+ ), ti = Yr ? (
2099
2118
  // Native
2100
2119
  function(t) {
2101
2120
  return t.trimStart();
@@ -2103,9 +2122,9 @@ var tr = zn ? (
2103
2122
  ) : (
2104
2123
  // Ponyfill
2105
2124
  function(t) {
2106
- return t.replace(Jn, "");
2125
+ return t.replace(Jr, "");
2107
2126
  }
2108
- ), ri = Wn ? (
2127
+ ), ni = Wr ? (
2109
2128
  // Native
2110
2129
  function(t) {
2111
2130
  return t.trimEnd();
@@ -2113,69 +2132,69 @@ var tr = zn ? (
2113
2132
  ) : (
2114
2133
  // Ponyfill
2115
2134
  function(t) {
2116
- return t.replace(Xn, "");
2135
+ return t.replace(Xr, "");
2117
2136
  }
2118
2137
  );
2119
- function Pr(e, t) {
2138
+ function Mn(e, t) {
2120
2139
  return new RegExp(e, t);
2121
2140
  }
2122
2141
  var Pt;
2123
2142
  if (Nt) {
2124
- var nr = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2125
- Pt = function(t, r) {
2126
- var n;
2127
- nr.lastIndex = r;
2128
- var i = nr.exec(t);
2129
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2143
+ var rn = Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2144
+ Pt = function(t, n) {
2145
+ var r;
2146
+ rn.lastIndex = n;
2147
+ var i = rn.exec(t);
2148
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2130
2149
  };
2131
2150
  } else
2132
- Pt = function(t, r) {
2133
- for (var n = []; ; ) {
2134
- var i = Dr(t, r);
2135
- if (i === void 0 || Mr(i) || ai(i))
2151
+ Pt = function(t, n) {
2152
+ for (var r = []; ; ) {
2153
+ var i = Pn(t, n);
2154
+ if (i === void 0 || kn(i) || ai(i))
2136
2155
  break;
2137
- n.push(i), r += i >= 65536 ? 2 : 1;
2156
+ r.push(i), n += i >= 65536 ? 2 : 1;
2138
2157
  }
2139
- return Dt.apply(void 0, n);
2158
+ return Dt.apply(void 0, r);
2140
2159
  };
2141
- var ni = (
2160
+ var ri = (
2142
2161
  /** @class */
2143
2162
  function() {
2144
- function e(t, r) {
2145
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2163
+ function e(t, n) {
2164
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2146
2165
  }
2147
2166
  return e.prototype.parse = function() {
2148
2167
  if (this.offset() !== 0)
2149
2168
  throw Error("parser can only be used once");
2150
2169
  return this.parseMessage(0, "", !1);
2151
- }, e.prototype.parseMessage = function(t, r, n) {
2170
+ }, e.prototype.parseMessage = function(t, n, r) {
2152
2171
  for (var i = []; !this.isEOF(); ) {
2153
2172
  var o = this.char();
2154
2173
  if (o === 123) {
2155
- var f = this.parseArgument(t, n);
2174
+ var f = this.parseArgument(t, r);
2156
2175
  if (f.err)
2157
2176
  return f;
2158
2177
  i.push(f.val);
2159
2178
  } else {
2160
2179
  if (o === 125 && t > 0)
2161
2180
  break;
2162
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2181
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2163
2182
  var c = this.clonePosition();
2164
2183
  this.bump(), i.push({
2165
2184
  type: z.pound,
2166
2185
  location: D(c, this.clonePosition())
2167
2186
  });
2168
2187
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2169
- if (n)
2188
+ if (r)
2170
2189
  break;
2171
2190
  return this.error(L.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
2172
2191
  } else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
2173
- var f = this.parseTag(t, r);
2192
+ var f = this.parseTag(t, n);
2174
2193
  if (f.err)
2175
2194
  return f;
2176
2195
  i.push(f.val);
2177
2196
  } else {
2178
- var f = this.parseLiteral(t, r);
2197
+ var f = this.parseLiteral(t, n);
2179
2198
  if (f.err)
2180
2199
  return f;
2181
2200
  i.push(f.val);
@@ -2183,8 +2202,8 @@ var ni = (
2183
2202
  }
2184
2203
  }
2185
2204
  return { val: i, err: null };
2186
- }, e.prototype.parseTag = function(t, r) {
2187
- var n = this.clonePosition();
2205
+ }, e.prototype.parseTag = function(t, n) {
2206
+ var r = this.clonePosition();
2188
2207
  this.bump();
2189
2208
  var i = this.parseTagName();
2190
2209
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2192,12 +2211,12 @@ var ni = (
2192
2211
  val: {
2193
2212
  type: z.literal,
2194
2213
  value: "<".concat(i, "/>"),
2195
- location: D(n, this.clonePosition())
2214
+ location: D(r, this.clonePosition())
2196
2215
  },
2197
2216
  err: null
2198
2217
  };
2199
2218
  if (this.bumpIf(">")) {
2200
- var o = this.parseMessage(t + 1, r, !0);
2219
+ var o = this.parseMessage(t + 1, n, !0);
2201
2220
  if (o.err)
2202
2221
  return o;
2203
2222
  var f = o.val, c = this.clonePosition();
@@ -2210,27 +2229,27 @@ var ni = (
2210
2229
  type: z.tag,
2211
2230
  value: i,
2212
2231
  children: f,
2213
- location: D(n, this.clonePosition())
2232
+ location: D(r, this.clonePosition())
2214
2233
  },
2215
2234
  err: null
2216
2235
  } : this.error(L.INVALID_TAG, D(c, this.clonePosition())));
2217
2236
  } else
2218
- return this.error(L.UNCLOSED_TAG, D(n, this.clonePosition()));
2237
+ return this.error(L.UNCLOSED_TAG, D(r, this.clonePosition()));
2219
2238
  } else
2220
- return this.error(L.INVALID_TAG, D(n, this.clonePosition()));
2239
+ return this.error(L.INVALID_TAG, D(r, this.clonePosition()));
2221
2240
  }, e.prototype.parseTagName = function() {
2222
2241
  var t = this.offset();
2223
2242
  for (this.bump(); !this.isEOF() && oi(this.char()); )
2224
2243
  this.bump();
2225
2244
  return this.message.slice(t, this.offset());
2226
- }, e.prototype.parseLiteral = function(t, r) {
2227
- for (var n = this.clonePosition(), i = ""; ; ) {
2228
- var o = this.tryParseQuote(r);
2245
+ }, e.prototype.parseLiteral = function(t, n) {
2246
+ for (var r = this.clonePosition(), i = ""; ; ) {
2247
+ var o = this.tryParseQuote(n);
2229
2248
  if (o) {
2230
2249
  i += o;
2231
2250
  continue;
2232
2251
  }
2233
- var f = this.tryParseUnquoted(t, r);
2252
+ var f = this.tryParseUnquoted(t, n);
2234
2253
  if (f) {
2235
2254
  i += f;
2236
2255
  continue;
@@ -2242,7 +2261,7 @@ var ni = (
2242
2261
  }
2243
2262
  break;
2244
2263
  }
2245
- var d = D(n, this.clonePosition());
2264
+ var d = D(r, this.clonePosition());
2246
2265
  return {
2247
2266
  val: { type: z.literal, value: i, location: d },
2248
2267
  err: null
@@ -2269,37 +2288,37 @@ var ni = (
2269
2288
  return null;
2270
2289
  }
2271
2290
  this.bump();
2272
- var r = [this.char()];
2291
+ var n = [this.char()];
2273
2292
  for (this.bump(); !this.isEOF(); ) {
2274
- var n = this.char();
2275
- if (n === 39)
2293
+ var r = this.char();
2294
+ if (r === 39)
2276
2295
  if (this.peek() === 39)
2277
- r.push(39), this.bump();
2296
+ n.push(39), this.bump();
2278
2297
  else {
2279
2298
  this.bump();
2280
2299
  break;
2281
2300
  }
2282
2301
  else
2283
- r.push(n);
2302
+ n.push(r);
2284
2303
  this.bump();
2285
2304
  }
2286
- return Dt.apply(void 0, r);
2287
- }, e.prototype.tryParseUnquoted = function(t, r) {
2305
+ return Dt.apply(void 0, n);
2306
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2288
2307
  if (this.isEOF())
2289
2308
  return null;
2290
- var n = this.char();
2291
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
2292
- }, e.prototype.parseArgument = function(t, r) {
2293
- var n = this.clonePosition();
2309
+ var r = this.char();
2310
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Dt(r));
2311
+ }, e.prototype.parseArgument = function(t, n) {
2312
+ var r = this.clonePosition();
2294
2313
  if (this.bump(), this.bumpSpace(), this.isEOF())
2295
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2314
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(r, this.clonePosition()));
2296
2315
  if (this.char() === 125)
2297
- return this.bump(), this.error(L.EMPTY_ARGUMENT, D(n, this.clonePosition()));
2316
+ return this.bump(), this.error(L.EMPTY_ARGUMENT, D(r, this.clonePosition()));
2298
2317
  var i = this.parseIdentifierIfPossible().value;
2299
2318
  if (!i)
2300
- return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2319
+ return this.error(L.MALFORMED_ARGUMENT, D(r, this.clonePosition()));
2301
2320
  if (this.bumpSpace(), this.isEOF())
2302
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2321
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(r, this.clonePosition()));
2303
2322
  switch (this.char()) {
2304
2323
  case 125:
2305
2324
  return this.bump(), {
@@ -2307,21 +2326,21 @@ var ni = (
2307
2326
  type: z.argument,
2308
2327
  // value does not include the opening and closing braces.
2309
2328
  value: i,
2310
- location: D(n, this.clonePosition())
2329
+ location: D(r, this.clonePosition())
2311
2330
  },
2312
2331
  err: null
2313
2332
  };
2314
2333
  case 44:
2315
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2334
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2316
2335
  default:
2317
- return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2336
+ return this.error(L.MALFORMED_ARGUMENT, D(r, this.clonePosition()));
2318
2337
  }
2319
2338
  }, e.prototype.parseIdentifierIfPossible = function() {
2320
- var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
2339
+ var t = this.clonePosition(), n = this.offset(), r = Pt(this.message, n), i = n + r.length;
2321
2340
  this.bumpTo(i);
2322
2341
  var o = this.clonePosition(), f = D(t, o);
2323
- return { value: n, location: f };
2324
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2342
+ return { value: r, location: f };
2343
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2325
2344
  var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2326
2345
  switch (c) {
2327
2346
  case "":
@@ -2336,7 +2355,7 @@ var ni = (
2336
2355
  var l = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2337
2356
  if (g.err)
2338
2357
  return g;
2339
- var v = ri(g.val);
2358
+ var v = ni(g.val);
2340
2359
  if (v.length === 0)
2341
2360
  return this.error(L.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
2342
2361
  var S = D(l, this.clonePosition());
@@ -2346,27 +2365,27 @@ var ni = (
2346
2365
  if (M.err)
2347
2366
  return M;
2348
2367
  var x = D(i, this.clonePosition());
2349
- if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
2368
+ if (u && tn(u == null ? void 0 : u.style, "::", 0)) {
2350
2369
  var C = ti(u.style.slice(2));
2351
2370
  if (c === "number") {
2352
2371
  var g = this.parseNumberSkeletonFromString(C, u.styleLocation);
2353
2372
  return g.err ? g : {
2354
- val: { type: z.number, value: n, location: x, style: g.val },
2373
+ val: { type: z.number, value: r, location: x, style: g.val },
2355
2374
  err: null
2356
2375
  };
2357
2376
  } else {
2358
2377
  if (C.length === 0)
2359
2378
  return this.error(L.EXPECT_DATE_TIME_SKELETON, x);
2360
2379
  var B = C;
2361
- this.locale && (B = Qn(C, this.locale));
2380
+ this.locale && (B = Qr(C, this.locale));
2362
2381
  var v = {
2363
2382
  type: Me.dateTime,
2364
2383
  pattern: B,
2365
2384
  location: u.styleLocation,
2366
- parsedOptions: this.shouldParseSkeletons ? Pn(B) : {}
2385
+ parsedOptions: this.shouldParseSkeletons ? Pr(B) : {}
2367
2386
  }, U = c === "date" ? z.date : z.time;
2368
2387
  return {
2369
- val: { type: U, value: n, location: x, style: v },
2388
+ val: { type: U, value: r, location: x, style: v },
2370
2389
  err: null
2371
2390
  };
2372
2391
  }
@@ -2374,7 +2393,7 @@ var ni = (
2374
2393
  return {
2375
2394
  val: {
2376
2395
  type: c === "number" ? z.number : c === "date" ? z.date : z.time,
2377
- value: n,
2396
+ value: r,
2378
2397
  location: x,
2379
2398
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2380
2399
  },
@@ -2398,7 +2417,7 @@ var ni = (
2398
2417
  return g;
2399
2418
  this.bumpSpace(), P = this.parseIdentifierIfPossible(), T = g.val;
2400
2419
  }
2401
- var E = this.tryParsePluralOrSelectOptions(t, c, r, P);
2420
+ var E = this.tryParsePluralOrSelectOptions(t, c, n, P);
2402
2421
  if (E.err)
2403
2422
  return E;
2404
2423
  var M = this.tryParseArgumentClose(i);
@@ -2408,16 +2427,16 @@ var ni = (
2408
2427
  return c === "select" ? {
2409
2428
  val: {
2410
2429
  type: z.select,
2411
- value: n,
2412
- options: rr(E.val),
2430
+ value: r,
2431
+ options: nn(E.val),
2413
2432
  location: _
2414
2433
  },
2415
2434
  err: null
2416
2435
  } : {
2417
2436
  val: {
2418
2437
  type: z.plural,
2419
- value: n,
2420
- options: rr(E.val),
2438
+ value: r,
2439
+ options: nn(E.val),
2421
2440
  offset: T,
2422
2441
  pluralType: c === "plural" ? "cardinal" : "ordinal",
2423
2442
  location: _
@@ -2431,9 +2450,9 @@ var ni = (
2431
2450
  }, e.prototype.tryParseArgumentClose = function(t) {
2432
2451
  return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2433
2452
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2434
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2435
- var n = this.char();
2436
- switch (n) {
2453
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2454
+ var r = this.char();
2455
+ switch (r) {
2437
2456
  case 39: {
2438
2457
  this.bump();
2439
2458
  var i = this.clonePosition();
@@ -2451,7 +2470,7 @@ var ni = (
2451
2470
  t -= 1;
2452
2471
  else
2453
2472
  return {
2454
- val: this.message.slice(r.offset, this.offset()),
2473
+ val: this.message.slice(n.offset, this.offset()),
2455
2474
  err: null
2456
2475
  };
2457
2476
  break;
@@ -2462,30 +2481,30 @@ var ni = (
2462
2481
  }
2463
2482
  }
2464
2483
  return {
2465
- val: this.message.slice(r.offset, this.offset()),
2484
+ val: this.message.slice(n.offset, this.offset()),
2466
2485
  err: null
2467
2486
  };
2468
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2469
- var n = [];
2487
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2488
+ var r = [];
2470
2489
  try {
2471
- n = kn(t);
2490
+ r = kr(t);
2472
2491
  } catch (i) {
2473
- return this.error(L.INVALID_NUMBER_SKELETON, r);
2492
+ return this.error(L.INVALID_NUMBER_SKELETON, n);
2474
2493
  }
2475
2494
  return {
2476
2495
  val: {
2477
2496
  type: Me.number,
2478
- tokens: n,
2479
- location: r,
2480
- parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
2497
+ tokens: r,
2498
+ location: n,
2499
+ parsedOptions: this.shouldParseSkeletons ? _r(r) : {}
2481
2500
  },
2482
2501
  err: null
2483
2502
  };
2484
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2503
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2485
2504
  for (var o, f = !1, c = [], d = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2486
2505
  if (u.length === 0) {
2487
2506
  var g = this.clonePosition();
2488
- if (r !== "select" && this.bumpIf("=")) {
2507
+ if (n !== "select" && this.bumpIf("=")) {
2489
2508
  var v = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
2490
2509
  if (v.err)
2491
2510
  return v;
@@ -2494,12 +2513,12 @@ var ni = (
2494
2513
  break;
2495
2514
  }
2496
2515
  if (d.has(u))
2497
- return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2516
+ return this.error(n === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2498
2517
  u === "other" && (f = !0), this.bumpSpace();
2499
2518
  var S = this.clonePosition();
2500
2519
  if (!this.bumpIf("{"))
2501
- return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2502
- var M = this.parseMessage(t + 1, r, n);
2520
+ return this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2521
+ var M = this.parseMessage(t + 1, n, r);
2503
2522
  if (M.err)
2504
2523
  return M;
2505
2524
  var x = this.tryParseArgumentClose(S);
@@ -2513,10 +2532,10 @@ var ni = (
2513
2532
  }
2514
2533
  ]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2515
2534
  }
2516
- return c.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2517
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
2518
- var n = 1, i = this.clonePosition();
2519
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2535
+ return c.length === 0 ? this.error(n === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2536
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
2537
+ var r = 1, i = this.clonePosition();
2538
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
2520
2539
  for (var o = !1, f = 0; !this.isEOF(); ) {
2521
2540
  var c = this.char();
2522
2541
  if (c >= 48 && c <= 57)
@@ -2525,7 +2544,7 @@ var ni = (
2525
2544
  break;
2526
2545
  }
2527
2546
  var d = D(i, this.clonePosition());
2528
- return o ? (f *= n, $n(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2547
+ return o ? (f *= r, $r(f) ? { val: f, err: null } : this.error(n, d)) : this.error(t, d);
2529
2548
  }, e.prototype.offset = function() {
2530
2549
  return this.position.offset;
2531
2550
  }, e.prototype.isEOF = function() {
@@ -2540,17 +2559,17 @@ var ni = (
2540
2559
  var t = this.position.offset;
2541
2560
  if (t >= this.message.length)
2542
2561
  throw Error("out of bound");
2543
- var r = Dr(this.message, t);
2544
- if (r === void 0)
2562
+ var n = Pn(this.message, t);
2563
+ if (n === void 0)
2545
2564
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2546
- return r;
2547
- }, e.prototype.error = function(t, r) {
2565
+ return n;
2566
+ }, e.prototype.error = function(t, n) {
2548
2567
  return {
2549
2568
  val: null,
2550
2569
  err: {
2551
2570
  kind: t,
2552
2571
  message: this.message,
2553
- location: r
2572
+ location: n
2554
2573
  }
2555
2574
  };
2556
2575
  }, e.prototype.bump = function() {
@@ -2559,35 +2578,35 @@ var ni = (
2559
2578
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2560
2579
  }
2561
2580
  }, e.prototype.bumpIf = function(t) {
2562
- if (tr(this.message, t, this.offset())) {
2563
- for (var r = 0; r < t.length; r++)
2581
+ if (tn(this.message, t, this.offset())) {
2582
+ for (var n = 0; n < t.length; n++)
2564
2583
  this.bump();
2565
2584
  return !0;
2566
2585
  }
2567
2586
  return !1;
2568
2587
  }, e.prototype.bumpUntil = function(t) {
2569
- var r = this.offset(), n = this.message.indexOf(t, r);
2570
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2588
+ var n = this.offset(), r = this.message.indexOf(t, n);
2589
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
2571
2590
  }, e.prototype.bumpTo = function(t) {
2572
2591
  if (this.offset() > t)
2573
2592
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
2574
2593
  for (t = Math.min(t, this.message.length); ; ) {
2575
- var r = this.offset();
2576
- if (r === t)
2594
+ var n = this.offset();
2595
+ if (n === t)
2577
2596
  break;
2578
- if (r > t)
2597
+ if (n > t)
2579
2598
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2580
2599
  if (this.bump(), this.isEOF())
2581
2600
  break;
2582
2601
  }
2583
2602
  }, e.prototype.bumpSpace = function() {
2584
- for (; !this.isEOF() && Mr(this.char()); )
2603
+ for (; !this.isEOF() && kn(this.char()); )
2585
2604
  this.bump();
2586
2605
  }, e.prototype.peek = function() {
2587
2606
  if (this.isEOF())
2588
2607
  return null;
2589
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
2590
- return n != null ? n : null;
2608
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
2609
+ return r != null ? r : null;
2591
2610
  }, e;
2592
2611
  }()
2593
2612
  );
@@ -2600,7 +2619,7 @@ function ii(e) {
2600
2619
  function oi(e) {
2601
2620
  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;
2602
2621
  }
2603
- function Mr(e) {
2622
+ function kn(e) {
2604
2623
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2605
2624
  }
2606
2625
  function ai(e) {
@@ -2608,20 +2627,21 @@ function ai(e) {
2608
2627
  }
2609
2628
  function kt(e) {
2610
2629
  e.forEach(function(t) {
2611
- if (delete t.location, Tr(t) || Hr(t))
2612
- for (var r in t.options)
2613
- delete t.options[r].location, kt(t.options[r].value);
2614
- else Ir(t) && Rr(t.style) || (xr(t) || Br(t)) && Lt(t.style) ? delete t.style.location : Cr(t) && kt(t.children);
2630
+ if (delete t.location, Hn(t) || Cn(t))
2631
+ for (var n in t.options)
2632
+ delete t.options[n].location, kt(t.options[n].value);
2633
+ else
2634
+ xn(t) && Sn(t.style) || (Bn(t) || Tn(t)) && Lt(t.style) ? delete t.style.location : Rn(t) && kt(t.children);
2615
2635
  });
2616
2636
  }
2617
2637
  function si(e, t) {
2618
2638
  t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2619
- var r = new ni(e, t).parse();
2620
- if (r.err) {
2621
- var n = SyntaxError(L[r.err.kind]);
2622
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2639
+ var n = new ri(e, t).parse();
2640
+ if (n.err) {
2641
+ var r = SyntaxError(L[n.err.kind]);
2642
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
2623
2643
  }
2624
- return t != null && t.captureLocation || kt(r.val), r.val;
2644
+ return t != null && t.captureLocation || kt(n.val), n.val;
2625
2645
  }
2626
2646
  var ke;
2627
2647
  (function(e) {
@@ -2631,20 +2651,20 @@ var dt = (
2631
2651
  /** @class */
2632
2652
  function(e) {
2633
2653
  ct(t, e);
2634
- function t(r, n, i) {
2635
- var o = e.call(this, r) || this;
2636
- return o.code = n, o.originalMessage = i, o;
2654
+ function t(n, r, i) {
2655
+ var o = e.call(this, n) || this;
2656
+ return o.code = r, o.originalMessage = i, o;
2637
2657
  }
2638
2658
  return t.prototype.toString = function() {
2639
2659
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2640
2660
  }, t;
2641
2661
  }(Error)
2642
- ), ir = (
2662
+ ), on = (
2643
2663
  /** @class */
2644
2664
  function(e) {
2645
2665
  ct(t, e);
2646
- function t(r, n, i, o) {
2647
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, o) || this;
2666
+ function t(n, r, i, o) {
2667
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, o) || this;
2648
2668
  }
2649
2669
  return t;
2650
2670
  }(dt)
@@ -2652,8 +2672,8 @@ var dt = (
2652
2672
  /** @class */
2653
2673
  function(e) {
2654
2674
  ct(t, e);
2655
- function t(r, n, i) {
2656
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ke.INVALID_VALUE, i) || this;
2675
+ function t(n, r, i) {
2676
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ke.INVALID_VALUE, i) || this;
2657
2677
  }
2658
2678
  return t;
2659
2679
  }(dt)
@@ -2661,8 +2681,8 @@ var dt = (
2661
2681
  /** @class */
2662
2682
  function(e) {
2663
2683
  ct(t, e);
2664
- function t(r, n) {
2665
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ke.MISSING_VALUE, n) || this;
2684
+ function t(n, r) {
2685
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ke.MISSING_VALUE, r) || this;
2666
2686
  }
2667
2687
  return t;
2668
2688
  }(dt)
@@ -2671,15 +2691,15 @@ var dt = (
2671
2691
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2672
2692
  })(ue || (ue = {}));
2673
2693
  function hi(e) {
2674
- return e.length < 2 ? e : e.reduce(function(t, r) {
2675
- var n = t[t.length - 1];
2676
- return !n || n.type !== ue.literal || r.type !== ue.literal ? t.push(r) : n.value += r.value, t;
2694
+ return e.length < 2 ? e : e.reduce(function(t, n) {
2695
+ var r = t[t.length - 1];
2696
+ return !r || r.type !== ue.literal || n.type !== ue.literal ? t.push(n) : r.value += n.value, t;
2677
2697
  }, []);
2678
2698
  }
2679
2699
  function fi(e) {
2680
2700
  return typeof e == "function";
2681
2701
  }
2682
- function st(e, t, r, n, i, o, f) {
2702
+ function st(e, t, n, r, i, o, f) {
2683
2703
  if (e.length === 1 && Wt(e[0]))
2684
2704
  return [
2685
2705
  {
@@ -2696,10 +2716,10 @@ function st(e, t, r, n, i, o, f) {
2696
2716
  });
2697
2717
  continue;
2698
2718
  }
2699
- if (Nn(l)) {
2719
+ if (Nr(l)) {
2700
2720
  typeof o == "number" && c.push({
2701
2721
  type: ue.literal,
2702
- value: r.getNumberFormat(t).format(o)
2722
+ value: n.getNumberFormat(t).format(o)
2703
2723
  });
2704
2724
  continue;
2705
2725
  }
@@ -2707,42 +2727,42 @@ function st(e, t, r, n, i, o, f) {
2707
2727
  if (!(i && g in i))
2708
2728
  throw new li(g, f);
2709
2729
  var v = i[g];
2710
- if (Ln(l)) {
2730
+ if (Lr(l)) {
2711
2731
  (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
2712
2732
  type: typeof v == "string" ? ue.literal : ue.object,
2713
2733
  value: v
2714
2734
  });
2715
2735
  continue;
2716
2736
  }
2717
- if (xr(l)) {
2718
- var S = typeof l.style == "string" ? n.date[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
2737
+ if (Bn(l)) {
2738
+ var S = typeof l.style == "string" ? r.date[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
2719
2739
  c.push({
2720
2740
  type: ue.literal,
2721
- value: r.getDateTimeFormat(t, S).format(v)
2741
+ value: n.getDateTimeFormat(t, S).format(v)
2722
2742
  });
2723
2743
  continue;
2724
2744
  }
2725
- if (Br(l)) {
2726
- var S = typeof l.style == "string" ? n.time[l.style] : Lt(l.style) ? l.style.parsedOptions : n.time.medium;
2745
+ if (Tn(l)) {
2746
+ var S = typeof l.style == "string" ? r.time[l.style] : Lt(l.style) ? l.style.parsedOptions : r.time.medium;
2727
2747
  c.push({
2728
2748
  type: ue.literal,
2729
- value: r.getDateTimeFormat(t, S).format(v)
2749
+ value: n.getDateTimeFormat(t, S).format(v)
2730
2750
  });
2731
2751
  continue;
2732
2752
  }
2733
- if (Ir(l)) {
2734
- var S = typeof l.style == "string" ? n.number[l.style] : Rr(l.style) ? l.style.parsedOptions : void 0;
2753
+ if (xn(l)) {
2754
+ var S = typeof l.style == "string" ? r.number[l.style] : Sn(l.style) ? l.style.parsedOptions : void 0;
2735
2755
  S && S.scale && (v = v * (S.scale || 1)), c.push({
2736
2756
  type: ue.literal,
2737
- value: r.getNumberFormat(t, S).format(v)
2757
+ value: n.getNumberFormat(t, S).format(v)
2738
2758
  });
2739
2759
  continue;
2740
2760
  }
2741
- if (Cr(l)) {
2761
+ if (Rn(l)) {
2742
2762
  var M = l.children, x = l.value, C = i[x];
2743
2763
  if (!fi(C))
2744
2764
  throw new ui(x, "function", f);
2745
- var B = st(M, t, r, n, i, o), U = C(B.map(function(T) {
2765
+ var B = st(M, t, n, r, i, o), U = C(B.map(function(T) {
2746
2766
  return T.value;
2747
2767
  }));
2748
2768
  Array.isArray(U) || (U = [U]), c.push.apply(c, U.map(function(T) {
@@ -2752,39 +2772,39 @@ function st(e, t, r, n, i, o, f) {
2752
2772
  };
2753
2773
  }));
2754
2774
  }
2755
- if (Tr(l)) {
2775
+ if (Hn(l)) {
2756
2776
  var N = l.options[v] || l.options.other;
2757
2777
  if (!N)
2758
- throw new ir(l.value, v, Object.keys(l.options), f);
2759
- c.push.apply(c, st(N.value, t, r, n, i));
2778
+ throw new on(l.value, v, Object.keys(l.options), f);
2779
+ c.push.apply(c, st(N.value, t, n, r, i));
2760
2780
  continue;
2761
2781
  }
2762
- if (Hr(l)) {
2782
+ if (Cn(l)) {
2763
2783
  var N = l.options["=".concat(v)];
2764
2784
  if (!N) {
2765
2785
  if (!Intl.PluralRules)
2766
2786
  throw new dt(`Intl.PluralRules is not available in this environment.
2767
2787
  Try polyfilling it using "@formatjs/intl-pluralrules"
2768
2788
  `, ke.MISSING_INTL_API, f);
2769
- var P = r.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
2789
+ var P = n.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
2770
2790
  N = l.options[P] || l.options.other;
2771
2791
  }
2772
2792
  if (!N)
2773
- throw new ir(l.value, v, Object.keys(l.options), f);
2774
- c.push.apply(c, st(N.value, t, r, n, i, v - (l.offset || 0)));
2793
+ throw new on(l.value, v, Object.keys(l.options), f);
2794
+ c.push.apply(c, st(N.value, t, n, r, i, v - (l.offset || 0)));
2775
2795
  continue;
2776
2796
  }
2777
2797
  }
2778
2798
  return hi(c);
2779
2799
  }
2780
2800
  function ci(e, t) {
2781
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2782
- return r[n] = k(k({}, e[n]), t[n] || {}), r;
2801
+ return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
2802
+ return n[r] = k(k({}, e[r]), t[r] || {}), n;
2783
2803
  }, {})) : e;
2784
2804
  }
2785
2805
  function di(e, t) {
2786
- return t ? Object.keys(e).reduce(function(r, n) {
2787
- return r[n] = ci(e[n], t[n]), r;
2806
+ return t ? Object.keys(e).reduce(function(n, r) {
2807
+ return n[r] = ci(e[r], t[r]), n;
2788
2808
  }, k({}, e)) : e;
2789
2809
  }
2790
2810
  function Ht(e) {
@@ -2794,8 +2814,8 @@ function Ht(e) {
2794
2814
  get: function(t) {
2795
2815
  return e[t];
2796
2816
  },
2797
- set: function(t, r) {
2798
- e[t] = r;
2817
+ set: function(t, n) {
2818
+ e[t] = n;
2799
2819
  }
2800
2820
  };
2801
2821
  }
@@ -2808,25 +2828,25 @@ function pi(e) {
2808
2828
  pluralRules: {}
2809
2829
  }), {
2810
2830
  getNumberFormat: xt(function() {
2811
- for (var t, r = [], n = 0; n < arguments.length; n++)
2812
- r[n] = arguments[n];
2813
- return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
2831
+ for (var t, n = [], r = 0; r < arguments.length; r++)
2832
+ n[r] = arguments[r];
2833
+ return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], n, !1)))();
2814
2834
  }, {
2815
2835
  cache: Ht(e.number),
2816
2836
  strategy: Bt.variadic
2817
2837
  }),
2818
2838
  getDateTimeFormat: xt(function() {
2819
- for (var t, r = [], n = 0; n < arguments.length; n++)
2820
- r[n] = arguments[n];
2821
- return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
2839
+ for (var t, n = [], r = 0; r < arguments.length; r++)
2840
+ n[r] = arguments[r];
2841
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], n, !1)))();
2822
2842
  }, {
2823
2843
  cache: Ht(e.dateTime),
2824
2844
  strategy: Bt.variadic
2825
2845
  }),
2826
2846
  getPluralRules: xt(function() {
2827
- for (var t, r = [], n = 0; n < arguments.length; n++)
2828
- r[n] = arguments[n];
2829
- return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
2847
+ for (var t, n = [], r = 0; r < arguments.length; r++)
2848
+ n[r] = arguments[r];
2849
+ return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], n, !1)))();
2830
2850
  }, {
2831
2851
  cache: Ht(e.pluralRules),
2832
2852
  strategy: Bt.variadic
@@ -2836,8 +2856,8 @@ function pi(e) {
2836
2856
  var Ai = (
2837
2857
  /** @class */
2838
2858
  function() {
2839
- function e(t, r, n, i) {
2840
- r === void 0 && (r = e.defaultLocale);
2859
+ function e(t, n, r, i) {
2860
+ n === void 0 && (n = e.defaultLocale);
2841
2861
  var o = this;
2842
2862
  if (this.formatterCache = {
2843
2863
  number: {},
@@ -2860,18 +2880,18 @@ var Ai = (
2860
2880
  };
2861
2881
  }, this.getAst = function() {
2862
2882
  return o.ast;
2863
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
2883
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
2864
2884
  if (this.message = t, !e.__parse)
2865
2885
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2866
2886
  var f = i || {};
2867
2887
  f.formatters;
2868
- var c = Bn(f, ["formatters"]);
2888
+ var c = Br(f, ["formatters"]);
2869
2889
  this.ast = e.__parse(t, k(k({}, c), { locale: this.resolvedLocale }));
2870
2890
  } else
2871
2891
  this.ast = t;
2872
2892
  if (!Array.isArray(this.ast))
2873
2893
  throw new TypeError("A message must be provided as a String or AST.");
2874
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
2894
+ this.formats = di(e.formats, r), this.formatters = i && i.formatters || pi(this.formatterCache);
2875
2895
  }
2876
2896
  return Object.defineProperty(e, "defaultLocale", {
2877
2897
  get: function() {
@@ -2881,8 +2901,8 @@ var Ai = (
2881
2901
  configurable: !0
2882
2902
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
2883
2903
  if (typeof Intl.Locale != "undefined") {
2884
- var r = Intl.NumberFormat.supportedLocalesOf(t);
2885
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2904
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
2905
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2886
2906
  }
2887
2907
  }, e.__parse = si, e.formats = {
2888
2908
  number: {
@@ -2950,30 +2970,30 @@ function mi(e, t) {
2950
2970
  return;
2951
2971
  if (t in e)
2952
2972
  return e[t];
2953
- const r = t.split(".");
2954
- let n = e;
2955
- for (let i = 0; i < r.length; i++)
2956
- if (typeof n == "object") {
2973
+ const n = t.split(".");
2974
+ let r = e;
2975
+ for (let i = 0; i < n.length; i++)
2976
+ if (typeof r == "object") {
2957
2977
  if (i > 0) {
2958
- const o = r.slice(i, r.length).join(".");
2959
- if (o in n) {
2960
- n = n[o];
2978
+ const o = n.slice(i, n.length).join(".");
2979
+ if (o in r) {
2980
+ r = r[o];
2961
2981
  break;
2962
2982
  }
2963
2983
  }
2964
- n = n[r[i]];
2984
+ r = r[n[i]];
2965
2985
  } else
2966
- n = void 0;
2967
- return n;
2986
+ r = void 0;
2987
+ return r;
2968
2988
  }
2969
- const Be = {}, gi = (e, t, r) => r && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = r), r), kr = (e, t) => {
2989
+ const Be = {}, gi = (e, t, n) => n && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = n), n), Un = (e, t) => {
2970
2990
  if (t == null)
2971
2991
  return;
2972
2992
  if (t in Be && e in Be[t])
2973
2993
  return Be[t][e];
2974
- const r = pt(t);
2975
- for (let n = 0; n < r.length; n++) {
2976
- const i = r[n], o = Ei(i, e);
2994
+ const n = pt(t);
2995
+ for (let r = 0; r < n.length; r++) {
2996
+ const i = n[r], o = Ei(i, e);
2977
2997
  if (o)
2978
2998
  return gi(e, t, o);
2979
2999
  }
@@ -2983,27 +3003,27 @@ const Fe = ft({});
2983
3003
  function vi(e) {
2984
3004
  return jt[e] || null;
2985
3005
  }
2986
- function Ur(e) {
3006
+ function Gn(e) {
2987
3007
  return e in jt;
2988
3008
  }
2989
3009
  function Ei(e, t) {
2990
- if (!Ur(e))
3010
+ if (!Gn(e))
2991
3011
  return null;
2992
- const r = vi(e);
2993
- return mi(r, t);
3012
+ const n = vi(e);
3013
+ return mi(n, t);
2994
3014
  }
2995
3015
  function bi(e) {
2996
3016
  if (e == null)
2997
3017
  return;
2998
3018
  const t = pt(e);
2999
- for (let r = 0; r < t.length; r++) {
3000
- const n = t[r];
3001
- if (Ur(n))
3002
- return n;
3019
+ for (let n = 0; n < t.length; n++) {
3020
+ const r = t[n];
3021
+ if (Gn(r))
3022
+ return r;
3003
3023
  }
3004
3024
  }
3005
- function Gr(e, ...t) {
3006
- delete Be[e], Fe.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3025
+ function Fn(e, ...t) {
3026
+ delete Be[e], Fe.update((n) => (n[e] = xr.all([n[e] || {}, ...t]), n));
3007
3027
  }
3008
3028
  Ge(
3009
3029
  [Fe],
@@ -3014,40 +3034,40 @@ const ut = {};
3014
3034
  function yi(e, t) {
3015
3035
  ut[e].delete(t), ut[e].size === 0 && delete ut[e];
3016
3036
  }
3017
- function Fr(e) {
3037
+ function _n(e) {
3018
3038
  return ut[e];
3019
3039
  }
3020
3040
  function wi(e) {
3021
3041
  return pt(e).map((t) => {
3022
- const r = Fr(t);
3023
- return [t, r ? [...r] : []];
3042
+ const n = _n(t);
3043
+ return [t, n ? [...n] : []];
3024
3044
  }).filter(([, t]) => t.length > 0);
3025
3045
  }
3026
3046
  function Ut(e) {
3027
3047
  return e == null ? !1 : pt(e).some(
3028
3048
  (t) => {
3029
- var r;
3030
- return (r = Fr(t)) == null ? void 0 : r.size;
3049
+ var n;
3050
+ return (n = _n(t)) == null ? void 0 : n.size;
3031
3051
  }
3032
3052
  );
3033
3053
  }
3034
3054
  function Ii(e, t) {
3035
3055
  return Promise.all(
3036
- t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
3037
- ).then((n) => Gr(e, ...n));
3056
+ t.map((r) => (yi(e, r), r().then((i) => i.default || i)))
3057
+ ).then((r) => Fn(e, ...r));
3038
3058
  }
3039
3059
  const Je = {};
3040
- function _r(e) {
3060
+ function Qn(e) {
3041
3061
  if (!Ut(e))
3042
3062
  return e in Je ? Je[e] : Promise.resolve();
3043
3063
  const t = wi(e);
3044
3064
  return Je[e] = Promise.all(
3045
3065
  t.map(
3046
- ([r, n]) => Ii(r, n)
3066
+ ([n, r]) => Ii(n, r)
3047
3067
  )
3048
3068
  ).then(() => {
3049
3069
  if (Ut(e))
3050
- return _r(e);
3070
+ return Qn(e);
3051
3071
  delete Je[e];
3052
3072
  }), Je[e];
3053
3073
  }
@@ -3092,22 +3112,22 @@ function Ue() {
3092
3112
  return Ti;
3093
3113
  }
3094
3114
  const Ct = ft(!1);
3095
- var Hi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3096
- for (var r in t || (t = {}))
3097
- Si.call(t, r) && ar(e, r, t[r]);
3098
- if (or)
3099
- for (var r of or(t))
3100
- Oi.call(t, r) && ar(e, r, t[r]);
3115
+ var Hi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, an = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, sn = (e, t, n) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Li = (e, t) => {
3116
+ for (var n in t || (t = {}))
3117
+ Si.call(t, n) && sn(e, n, t[n]);
3118
+ if (an)
3119
+ for (var n of an(t))
3120
+ Oi.call(t, n) && sn(e, n, t[n]);
3101
3121
  return e;
3102
3122
  }, Ni = (e, t) => Ci(e, Ri(t));
3103
3123
  let Gt;
3104
3124
  const lt = ft(null);
3105
- function sr(e) {
3106
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3125
+ function un(e) {
3126
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3107
3127
  }
3108
3128
  function pt(e, t = Ue().fallbackLocale) {
3109
- const r = sr(e);
3110
- return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
3129
+ const n = un(e);
3130
+ return t ? [.../* @__PURE__ */ new Set([...n, ...un(t)])] : n;
3111
3131
  }
3112
3132
  function Re() {
3113
3133
  return Gt != null ? Gt : void 0;
@@ -3118,14 +3138,14 @@ lt.subscribe((e) => {
3118
3138
  const Di = (e) => {
3119
3139
  if (e && bi(e) && Ut(e)) {
3120
3140
  const { loadingDelay: t } = Ue();
3121
- let r;
3122
- return typeof window != "undefined" && Re() != null && t ? r = window.setTimeout(
3141
+ let n;
3142
+ return typeof window != "undefined" && Re() != null && t ? n = window.setTimeout(
3123
3143
  () => Ct.set(!0),
3124
3144
  t
3125
- ) : Ct.set(!0), _r(e).then(() => {
3145
+ ) : Ct.set(!0), Qn(e).then(() => {
3126
3146
  lt.set(e);
3127
3147
  }).finally(() => {
3128
- clearTimeout(r), Ct.set(!1);
3148
+ clearTimeout(n), Ct.set(!1);
3129
3149
  });
3130
3150
  }
3131
3151
  return lt.set(e);
@@ -3133,83 +3153,83 @@ const Di = (e) => {
3133
3153
  set: Di
3134
3154
  }), At = (e) => {
3135
3155
  const t = /* @__PURE__ */ Object.create(null);
3136
- return (n) => {
3137
- const i = JSON.stringify(n);
3138
- return i in t ? t[i] : t[i] = e(n);
3156
+ return (r) => {
3157
+ const i = JSON.stringify(r);
3158
+ return i in t ? t[i] : t[i] = e(r);
3139
3159
  };
3140
3160
  };
3141
- var Pi = Object.defineProperty, ht = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
3142
- for (var r in t || (t = {}))
3143
- Qr.call(t, r) && ur(e, r, t[r]);
3161
+ var Pi = Object.defineProperty, ht = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, ln = (e, t, n) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Jt = (e, t) => {
3162
+ for (var n in t || (t = {}))
3163
+ jn.call(t, n) && ln(e, n, t[n]);
3144
3164
  if (ht)
3145
- for (var r of ht(t))
3146
- jr.call(t, r) && ur(e, r, t[r]);
3165
+ for (var n of ht(t))
3166
+ Jn.call(t, n) && ln(e, n, t[n]);
3147
3167
  return e;
3148
3168
  }, _e = (e, t) => {
3149
- var r = {};
3150
- for (var n in e)
3151
- Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3169
+ var n = {};
3170
+ for (var r in e)
3171
+ jn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3152
3172
  if (e != null && ht)
3153
- for (var n of ht(e))
3154
- t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
3155
- return r;
3173
+ for (var r of ht(e))
3174
+ t.indexOf(r) < 0 && Jn.call(e, r) && (n[r] = e[r]);
3175
+ return n;
3156
3176
  };
3157
3177
  const Ve = (e, t) => {
3158
- const { formats: r } = Ue();
3159
- if (e in r && t in r[e])
3160
- return r[e][t];
3178
+ const { formats: n } = Ue();
3179
+ if (e in n && t in n[e])
3180
+ return n[e][t];
3161
3181
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3162
3182
  }, Mi = At(
3163
3183
  (e) => {
3164
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3165
- if (r == null)
3184
+ var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
3185
+ if (n == null)
3166
3186
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3167
- return n && (i = Ve("number", n)), new Intl.NumberFormat(r, i);
3187
+ return r && (i = Ve("number", r)), new Intl.NumberFormat(n, i);
3168
3188
  }
3169
3189
  ), ki = At(
3170
3190
  (e) => {
3171
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3172
- if (r == null)
3191
+ var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
3192
+ if (n == null)
3173
3193
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3174
- return n ? i = Ve("date", n) : Object.keys(i).length === 0 && (i = Ve("date", "short")), new Intl.DateTimeFormat(r, i);
3194
+ return r ? i = Ve("date", r) : Object.keys(i).length === 0 && (i = Ve("date", "short")), new Intl.DateTimeFormat(n, i);
3175
3195
  }
3176
3196
  ), Ui = At(
3177
3197
  (e) => {
3178
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3179
- if (r == null)
3198
+ var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
3199
+ if (n == null)
3180
3200
  throw new Error(
3181
3201
  '[svelte-i18n] A "locale" must be set to format time values'
3182
3202
  );
3183
- return n ? i = Ve("time", n) : Object.keys(i).length === 0 && (i = Ve("time", "short")), new Intl.DateTimeFormat(r, i);
3203
+ return r ? i = Ve("time", r) : Object.keys(i).length === 0 && (i = Ve("time", "short")), new Intl.DateTimeFormat(n, i);
3184
3204
  }
3185
3205
  ), Gi = (e = {}) => {
3186
3206
  var t = e, {
3187
- locale: r = Re()
3188
- } = t, n = _e(t, [
3207
+ locale: n = Re()
3208
+ } = t, r = _e(t, [
3189
3209
  "locale"
3190
3210
  ]);
3191
- return Mi(Jt({ locale: r }, n));
3211
+ return Mi(Jt({ locale: n }, r));
3192
3212
  }, Fi = (e = {}) => {
3193
3213
  var t = e, {
3194
- locale: r = Re()
3195
- } = t, n = _e(t, [
3214
+ locale: n = Re()
3215
+ } = t, r = _e(t, [
3196
3216
  "locale"
3197
3217
  ]);
3198
- return ki(Jt({ locale: r }, n));
3218
+ return ki(Jt({ locale: n }, r));
3199
3219
  }, _i = (e = {}) => {
3200
3220
  var t = e, {
3201
- locale: r = Re()
3202
- } = t, n = _e(t, [
3221
+ locale: n = Re()
3222
+ } = t, r = _e(t, [
3203
3223
  "locale"
3204
3224
  ]);
3205
- return Ui(Jt({ locale: r }, n));
3225
+ return Ui(Jt({ locale: n }, r));
3206
3226
  }, Qi = At(
3207
3227
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3208
3228
  (e, t = Re()) => new Ai(e, t, Ue().formats, {
3209
3229
  ignoreTag: Ue().ignoreTag
3210
3230
  })
3211
3231
  ), ji = (e, t = {}) => {
3212
- var r, n, i, o;
3232
+ var n, r, i, o;
3213
3233
  let f = t;
3214
3234
  typeof e == "object" && (f = e, e = f.id);
3215
3235
  const {
@@ -3221,9 +3241,9 @@ const Ve = (e, t) => {
3221
3241
  throw new Error(
3222
3242
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3223
3243
  );
3224
- let l = kr(e, d);
3244
+ let l = Un(e, d);
3225
3245
  if (!l)
3226
- l = (o = (i = (n = (r = Ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3246
+ l = (o = (i = (r = (n = Ue()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3227
3247
  else if (typeof l != "string")
3228
3248
  return console.warn(
3229
3249
  `[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.`
@@ -3240,23 +3260,23 @@ const Ve = (e, t) => {
3240
3260
  );
3241
3261
  }
3242
3262
  return g;
3243
- }, Ji = (e, t) => _i(t).format(e), Xi = (e, t) => Fi(t).format(e), zi = (e, t) => Gi(t).format(e), Vi = (e, t = Re()) => kr(e, t), Zi = Ge([Te, Fe], () => ji);
3263
+ }, Ji = (e, t) => _i(t).format(e), Xi = (e, t) => Fi(t).format(e), zi = (e, t) => Gi(t).format(e), Vi = (e, t = Re()) => Un(e, t), Zi = Ge([Te, Fe], () => ji);
3244
3264
  Ge([Te], () => Ji);
3245
3265
  Ge([Te], () => Xi);
3246
3266
  Ge([Te], () => zi);
3247
3267
  Ge([Te, Fe], () => Vi);
3248
3268
  function qi({ withLocale: e, translations: t }) {
3249
- Te.subscribe((r) => {
3250
- r == null && (Fe.set(t), Te.set(e));
3269
+ Te.subscribe((n) => {
3270
+ n == null && (Fe.set(t), Te.set(e));
3251
3271
  });
3252
3272
  }
3253
- function lr(e, t) {
3254
- Gr(e, t);
3273
+ function hn(e, t) {
3274
+ Fn(e, t);
3255
3275
  }
3256
3276
  function Yi(e) {
3257
3277
  Te.set(e);
3258
3278
  }
3259
- const hr = {
3279
+ const fn = {
3260
3280
  en: {
3261
3281
  loading: "Loading"
3262
3282
  },
@@ -3289,8 +3309,8 @@ var Ft = { exports: {} };
3289
3309
  * https://github.com/Yaffle/EventSource/
3290
3310
  */
3291
3311
  (function(e, t) {
3292
- (function(r) {
3293
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, f = r.XDomainRequest, c = r.ActiveXObject, d = r.EventSource, u = r.document, l = r.Promise, g = r.fetch, v = r.Response, S = r.TextDecoder, M = r.TextEncoder, x = r.AbortController;
3312
+ (function(n) {
3313
+ var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, f = n.XDomainRequest, c = n.ActiveXObject, d = n.EventSource, u = n.document, l = n.Promise, g = n.fetch, v = n.Response, S = n.TextDecoder, M = n.TextEncoder, x = n.AbortController;
3294
3314
  if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
3295
3315
  u.readyState = "complete";
3296
3316
  }, !1)), o == null && c != null && (o = function() {
@@ -3415,7 +3435,7 @@ var Ft = { exports: {} };
3415
3435
  }, F = function(m) {
3416
3436
  A != null && (A.readyState === 4 ? (!("onload" in A) || !("onerror" in A) || !("onabort" in A)) && O(A.responseText === "" ? "error" : "load", m) : A.readyState === 3 ? "onprogress" in A || J() : A.readyState === 2 && R());
3417
3437
  }, s = function() {
3418
- y = n(function() {
3438
+ y = r(function() {
3419
3439
  s();
3420
3440
  }, 500), A.readyState === 3 && J();
3421
3441
  };
@@ -3427,7 +3447,7 @@ var Ft = { exports: {} };
3427
3447
  O("abort", m);
3428
3448
  }), "onprogress" in A && (A.onprogress = J), "onreadystatechange" in A && (A.onreadystatechange = function(m) {
3429
3449
  F(m);
3430
- }), ("contentType" in A || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), A.open(a, p, !0), "readyState" in A && (y = n(function() {
3450
+ }), ("contentType" in A || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), A.open(a, p, !0), "readyState" in A && (y = r(function() {
3431
3451
  s();
3432
3452
  }, 0));
3433
3453
  }, P.prototype.abort = function() {
@@ -3442,7 +3462,7 @@ var Ft = { exports: {} };
3442
3462
  }, P.prototype.send = function() {
3443
3463
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
3444
3464
  var a = this;
3445
- a._sendTimeout = n(function() {
3465
+ a._sendTimeout = r(function() {
3446
3466
  a._sendTimeout = 0, a.send();
3447
3467
  }, 4);
3448
3468
  return;
@@ -3517,8 +3537,8 @@ var Ft = { exports: {} };
3517
3537
  if (oe.done)
3518
3538
  I(void 0);
3519
3539
  else {
3520
- var ne = s.decode(oe.value, { stream: !0 });
3521
- b(ne), ye();
3540
+ var re = s.decode(oe.value, { stream: !0 });
3541
+ b(re), ye();
3522
3542
  }
3523
3543
  }).catch(function(oe) {
3524
3544
  Z(oe);
@@ -3541,7 +3561,7 @@ var Ft = { exports: {} };
3541
3561
  this._listeners = /* @__PURE__ */ Object.create(null);
3542
3562
  }
3543
3563
  function Y(a) {
3544
- n(function() {
3564
+ r(function() {
3545
3565
  throw a;
3546
3566
  }, 0);
3547
3567
  }
@@ -3609,7 +3629,7 @@ var Ft = { exports: {} };
3609
3629
  var gt = g != null && v != null && "body" in v.prototype;
3610
3630
  function vt(a, p, b) {
3611
3631
  p = String(p);
3612
- var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, ne = 0, Ae = $, Le = "", rt = "", we = "", nt = "", ae = te, Et = 0, Ce = 0, Jr = function(ee, W, ce, de) {
3632
+ var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, re = 0, Ae = $, Le = "", nt = "", we = "", rt = "", ae = te, Et = 0, Ce = 0, Xn = function(ee, W, ce, de) {
3613
3633
  if (Ae === me)
3614
3634
  if (ee === 200 && ce != null && Ke.test(ce)) {
3615
3635
  Ae = Ee, F = Date.now(), O = y, a.readyState = Ee;
@@ -3620,42 +3640,42 @@ var Ft = { exports: {} };
3620
3640
  });
3621
3641
  a.dispatchEvent(se), be(a, a.onopen, se);
3622
3642
  } else {
3623
- var re = "";
3624
- ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")), re = "EventSource's response has a status " + ee + " " + W + " that is not 200. Aborting the connection.") : re = "EventSource's response has a Content-Type specifying an unsupported type: " + (ce == null ? "-" : ce.replace(/\s+/g, " ")) + ". Aborting the connection.", bt();
3643
+ var ne = "";
3644
+ ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")), ne = "EventSource's response has a status " + ee + " " + W + " that is not 200. Aborting the connection.") : ne = "EventSource's response has a Content-Type specifying an unsupported type: " + (ce == null ? "-" : ce.replace(/\s+/g, " ")) + ". Aborting the connection.", bt();
3625
3645
  var se = new q("error", {
3626
3646
  status: ee,
3627
3647
  statusText: W,
3628
3648
  headers: de
3629
3649
  });
3630
- a.dispatchEvent(se), be(a, a.onerror, se), console.error(re);
3650
+ a.dispatchEvent(se), be(a, a.onerror, se), console.error(ne);
3631
3651
  }
3632
- }, Xr = function(ee) {
3652
+ }, zn = function(ee) {
3633
3653
  if (Ae === Ee) {
3634
3654
  for (var W = -1, ce = 0; ce < ee.length; ce += 1) {
3635
3655
  var de = ee.charCodeAt(ce);
3636
3656
  (de === 10 || de === 13) && (W = ce);
3637
3657
  }
3638
- var se = (W !== -1 ? nt : "") + ee.slice(0, W + 1);
3639
- nt = (W === -1 ? nt : "") + ee.slice(W + 1), ee !== "" && (F = Date.now(), s += ee.length);
3640
- for (var re = 0; re < se.length; re += 1) {
3641
- var de = se.charCodeAt(re);
3658
+ var se = (W !== -1 ? rt : "") + ee.slice(0, W + 1);
3659
+ rt = (W === -1 ? rt : "") + ee.slice(W + 1), ee !== "" && (F = Date.now(), s += ee.length);
3660
+ for (var ne = 0; ne < se.length; ne += 1) {
3661
+ var de = se.charCodeAt(ne);
3642
3662
  if (ae === Se && de === 10)
3643
3663
  ae = te;
3644
3664
  else if (ae === Se && (ae = te), de === 13 || de === 10) {
3645
3665
  if (ae !== te) {
3646
- ae === Oe && (Ce = re + 1);
3647
- var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < re && se.charCodeAt(Ce) === 32 ? 1 : 0), re);
3666
+ ae === Oe && (Ce = ne + 1);
3667
+ var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < ne && se.charCodeAt(Ce) === 32 ? 1 : 0), ne);
3648
3668
  Ie === "data" ? (Le += `
3649
- `, Le += xe) : Ie === "id" ? rt = xe : Ie === "event" ? we = xe : Ie === "retry" ? (y = He(xe, y), O = y) : Ie === "heartbeatTimeout" && (R = He(xe, R), ne !== 0 && (i(ne), ne = n(function() {
3669
+ `, Le += xe) : Ie === "id" ? nt = xe : Ie === "event" ? we = xe : Ie === "retry" ? (y = He(xe, y), O = y) : Ie === "heartbeatTimeout" && (R = He(xe, R), re !== 0 && (i(re), re = r(function() {
3650
3670
  je();
3651
3671
  }, R)));
3652
3672
  }
3653
3673
  if (ae === te) {
3654
3674
  if (Le !== "") {
3655
- J = rt, we === "" && (we = "message");
3675
+ J = nt, we === "" && (we = "message");
3656
3676
  var Ne = new V(we, {
3657
3677
  data: Le.slice(1),
3658
- lastEventId: rt
3678
+ lastEventId: nt
3659
3679
  });
3660
3680
  if (a.dispatchEvent(Ne), we === "open" ? be(a, a.onopen, Ne) : we === "message" ? be(a, a.onmessage, Ne) : we === "error" && be(a, a.onerror, Ne), Ae === pe)
3661
3681
  return;
@@ -3664,34 +3684,34 @@ var Ft = { exports: {} };
3664
3684
  }
3665
3685
  ae = de === 13 ? Se : te;
3666
3686
  } else
3667
- ae === te && (Et = re, ae = Oe), ae === Oe ? de === 58 && (Ce = re + 1, ae = Ye) : ae === Ye && (ae = We);
3687
+ ae === te && (Et = ne, ae = Oe), ae === Oe ? de === 58 && (Ce = ne + 1, ae = Ye) : ae === Ye && (ae = We);
3668
3688
  }
3669
3689
  }
3670
3690
  }, Xt = function(ee) {
3671
3691
  if (Ae === Ee || Ae === me) {
3672
- Ae = $, ne !== 0 && (i(ne), ne = 0), ne = n(function() {
3692
+ Ae = $, re !== 0 && (i(re), re = 0), re = r(function() {
3673
3693
  je();
3674
3694
  }, O), O = Qe(Math.min(y * 16, O * 2)), a.readyState = me;
3675
3695
  var W = new j("error", { error: ee });
3676
3696
  a.dispatchEvent(W), be(a, a.onerror, W), ee != null && console.error(ee);
3677
3697
  }
3678
3698
  }, bt = function() {
3679
- Ae = pe, oe != null && (oe.abort(), oe = void 0), ne !== 0 && (i(ne), ne = 0), a.readyState = pe;
3699
+ Ae = pe, oe != null && (oe.abort(), oe = void 0), re !== 0 && (i(re), re = 0), a.readyState = pe;
3680
3700
  }, je = function() {
3681
- if (ne = 0, Ae !== $) {
3701
+ if (re = 0, Ae !== $) {
3682
3702
  if (!F && oe != null)
3683
3703
  Xt(new Error("No activity within " + R + " milliseconds. " + (Ae === me ? "No response received." : s + " chars received.") + " Reconnecting.")), oe != null && (oe.abort(), oe = void 0);
3684
3704
  else {
3685
3705
  var ee = Math.max((F || Date.now()) + R - Date.now(), 1);
3686
- F = !1, ne = n(function() {
3706
+ F = !1, re = r(function() {
3687
3707
  je();
3688
3708
  }, ee);
3689
3709
  }
3690
3710
  return;
3691
3711
  }
3692
- F = !1, s = 0, ne = n(function() {
3712
+ F = !1, s = 0, re = r(function() {
3693
3713
  je();
3694
- }, R), Ae = me, Le = "", we = "", rt = J, nt = "", Et = 0, Ce = 0, ae = te;
3714
+ }, R), Ae = me, Le = "", we = "", nt = J, rt = "", Et = 0, Ce = 0, ae = te;
3695
3715
  var W = p;
3696
3716
  if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && J !== "") {
3697
3717
  var ce = p.indexOf("?");
@@ -3701,12 +3721,12 @@ var Ft = { exports: {} };
3701
3721
  }
3702
3722
  var de = a.withCredentials, se = {};
3703
3723
  se.Accept = "text/event-stream";
3704
- var re = a.headers;
3705
- if (re != null)
3706
- for (var Ie in re)
3707
- Object.prototype.hasOwnProperty.call(re, Ie) && (se[Ie] = re[Ie]);
3724
+ var ne = a.headers;
3725
+ if (ne != null)
3726
+ for (var Ie in ne)
3727
+ Object.prototype.hasOwnProperty.call(ne, Ie) && (se[Ie] = ne[Ie]);
3708
3728
  try {
3709
- oe = ye.open(Z, Jr, Xr, Xt, W, de, se);
3729
+ oe = ye.open(Z, Xn, zn, Xt, W, de, se);
3710
3730
  } catch (xe) {
3711
3731
  throw bt(), xe;
3712
3732
  }
@@ -3725,7 +3745,7 @@ var Ft = { exports: {} };
3725
3745
  }(function(a) {
3726
3746
  a.EventSourcePolyfill = le, a.NativeEventSource = d, a.EventSource = tt;
3727
3747
  });
3728
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : un : globalThis);
3748
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : ur : globalThis);
3729
3749
  })(Ft, Ft.exports);
3730
3750
  var Wi = Ft.exports;
3731
3751
  const Ki = `
@@ -3733,35 +3753,35 @@ const Ki = `
3733
3753
  `;
3734
3754
  if (typeof window != "undefined") {
3735
3755
  let e = function(t) {
3736
- return function(...r) {
3756
+ return function(...n) {
3737
3757
  try {
3738
- return t.apply(this, r);
3739
- } catch (n) {
3740
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3758
+ return t.apply(this, n);
3759
+ } catch (r) {
3760
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
3741
3761
  return !1;
3742
- throw n;
3762
+ throw r;
3743
3763
  }
3744
3764
  };
3745
3765
  };
3746
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-fGRg2Pw3.js").then((t) => t.I).then(({ default: t }) => {
3766
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-CHfNbZ5M.js").then((t) => t.I).then(({ default: t }) => {
3747
3767
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3748
3768
  });
3749
3769
  }
3750
3770
  function $i(e) {
3751
- Kr(e, "svelte-8x54mj", ".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}");
3771
+ $n(e, "svelte-8x54mj", ".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}");
3752
3772
  }
3753
- function fr(e, t, r) {
3754
- const n = e.slice();
3755
- return n[64] = t[r], n[66] = r, n;
3773
+ function cn(e, t, n) {
3774
+ const r = e.slice();
3775
+ return r[64] = t[n], r[66] = n, r;
3756
3776
  }
3757
- function cr(e) {
3758
- let t, r, n, i = (
3777
+ function dn(e) {
3778
+ let t, n, r, i = (
3759
3779
  /*$_*/
3760
3780
  e[13]("loading") + ""
3761
3781
  ), o, f, c, d, u, l;
3762
3782
  return {
3763
3783
  c() {
3764
- t = K("div"), r = K("div"), n = K("span"), o = vr(i), f = ve(), c = K("div"), d = K("casino-tournaments-rank"), u = ve(), l = K("div"), l.innerHTML = "", h(n, "part", "TournamentInfo_Name_link"), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), X(d, "displayin", "col"), X(d, "showicon", "false"), X(d, "userrank", "-"), X(d, "prize", "-"), X(d, "overallrank", "-"), X(d, "tournamentid", ""), X(
3784
+ t = K("div"), n = K("div"), r = K("span"), o = En(i), f = ve(), c = K("div"), d = K("casino-tournaments-rank"), u = ve(), l = K("div"), l.innerHTML = "", h(r, "part", "TournamentInfo_Name_link"), h(n, "part", "TournamentInfo_Name"), h(n, "class", "name"), X(d, "displayin", "col"), X(d, "showicon", "false"), X(d, "userrank", "-"), X(d, "prize", "-"), X(d, "overallrank", "-"), X(d, "tournamentid", ""), X(
3765
3785
  d,
3766
3786
  "clientstyling",
3767
3787
  /*clientstyling*/
@@ -3771,15 +3791,15 @@ function cr(e) {
3771
3791
  "clientstylingurl",
3772
3792
  /*clientstylingurl*/
3773
3793
  e[2]
3774
- ), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"), rn(t, "height", "200px");
3794
+ ), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"), rr(t, "height", "200px");
3775
3795
  },
3776
3796
  m(g, v) {
3777
- Ze(g, t, v), H(t, r), H(r, n), H(n, o), H(t, f), H(t, c), H(c, d), H(t, u), H(t, l);
3797
+ Ze(g, t, v), H(t, n), H(n, r), H(r, o), H(t, f), H(t, c), H(c, d), H(t, u), H(t, l);
3778
3798
  },
3779
3799
  p(g, v) {
3780
3800
  v[0] & /*$_*/
3781
3801
  8192 && i !== (i = /*$_*/
3782
- g[13]("loading") + "") && Er(o, i), v[0] & /*clientstyling*/
3802
+ g[13]("loading") + "") && bn(o, i), v[0] & /*clientstyling*/
3783
3803
  2 && X(
3784
3804
  d,
3785
3805
  "clientstyling",
@@ -3798,8 +3818,8 @@ function cr(e) {
3798
3818
  }
3799
3819
  };
3800
3820
  }
3801
- function dr(e) {
3802
- let t, r, n, i = (
3821
+ function pn(e) {
3822
+ let t, n, r, i = (
3803
3823
  /*currentTournament*/
3804
3824
  e[7].name + ""
3805
3825
  ), o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P = Vt(
@@ -3807,14 +3827,14 @@ function dr(e) {
3807
3827
  e[4]
3808
3828
  ), T = [];
3809
3829
  for (let E = 0; E < P.length; E += 1)
3810
- T[E] = pr(fr(e, P, E));
3830
+ T[E] = An(cn(e, P, E));
3811
3831
  return {
3812
3832
  c() {
3813
- t = K("div"), r = K("div"), n = K("span"), o = vr(i), c = ve(), d = K("div"), u = K("casino-tournaments-rank"), M = ve(), x = K("div");
3833
+ t = K("div"), n = K("div"), r = K("span"), o = En(i), c = ve(), d = K("div"), u = K("casino-tournaments-rank"), M = ve(), x = K("div");
3814
3834
  for (let E = 0; E < T.length; E += 1)
3815
3835
  T[E].c();
3816
- h(n, "part", "TournamentInfo_Name_link"), h(n, "class", "TournamentNameLink"), h(n, "title", f = /*currentTournament*/
3817
- e[7].name), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), X(u, "displayin", "col"), X(u, "showicon", "false"), X(u, "userrank", l = /*currentTournament*/
3836
+ h(r, "part", "TournamentInfo_Name_link"), h(r, "class", "TournamentNameLink"), h(r, "title", f = /*currentTournament*/
3837
+ e[7].name), h(n, "part", "TournamentInfo_Name"), h(n, "class", "name"), X(u, "displayin", "col"), X(u, "showicon", "false"), X(u, "userrank", l = /*currentTournament*/
3818
3838
  e[7].rank), X(u, "prize", g = /*currentTournament*/
3819
3839
  e[7].prize), X(u, "overallrank", v = /*currentTournament*/
3820
3840
  e[7].overallRank), X(u, "tournamentid", S = /*currentTournament*/
@@ -3831,11 +3851,11 @@ function dr(e) {
3831
3851
  ), h(d, "part", "TournamentInfo_Rank"), h(d, "class", "rank"), h(x, "part", "TournamentInfo_Points"), h(x, "class", "circle"), h(t, "part", "TournamentInfo"), h(t, "class", "TournamentInfo");
3832
3852
  },
3833
3853
  m(E, _) {
3834
- Ze(E, t, _), H(t, r), H(r, n), H(n, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
3854
+ Ze(E, t, _), H(t, n), H(n, r), H(r, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
3835
3855
  for (let Q = 0; Q < T.length; Q += 1)
3836
3856
  T[Q] && T[Q].m(x, null);
3837
3857
  e[27](t), B = !0, U || (N = at(
3838
- n,
3858
+ r,
3839
3859
  "click",
3840
3860
  /*click_handler_1*/
3841
3861
  e[26]
@@ -3844,9 +3864,9 @@ function dr(e) {
3844
3864
  p(E, _) {
3845
3865
  if ((!B || _[0] & /*currentTournament*/
3846
3866
  128) && i !== (i = /*currentTournament*/
3847
- E[7].name + "") && Er(o, i), (!B || _[0] & /*currentTournament*/
3867
+ E[7].name + "") && bn(o, i), (!B || _[0] & /*currentTournament*/
3848
3868
  128 && f !== (f = /*currentTournament*/
3849
- E[7].name)) && h(n, "title", f), (!B || _[0] & /*currentTournament*/
3869
+ E[7].name)) && h(r, "title", f), (!B || _[0] & /*currentTournament*/
3850
3870
  128 && l !== (l = /*currentTournament*/
3851
3871
  E[7].rank)) && X(u, "userrank", l), (!B || _[0] & /*currentTournament*/
3852
3872
  128 && g !== (g = /*currentTournament*/
@@ -3874,8 +3894,8 @@ function dr(e) {
3874
3894
  );
3875
3895
  let Q;
3876
3896
  for (Q = 0; Q < P.length; Q += 1) {
3877
- const ie = fr(E, P, Q);
3878
- T[Q] ? T[Q].p(ie, _) : (T[Q] = pr(ie), T[Q].c(), T[Q].m(x, null));
3897
+ const ie = cn(E, P, Q);
3898
+ T[Q] ? T[Q].p(ie, _) : (T[Q] = An(ie), T[Q].c(), T[Q].m(x, null));
3879
3899
  }
3880
3900
  for (; Q < T.length; Q += 1)
3881
3901
  T[Q].d(1);
@@ -3883,7 +3903,7 @@ function dr(e) {
3883
3903
  }
3884
3904
  },
3885
3905
  i(E) {
3886
- B || (E && nn(() => {
3906
+ B || (E && ir(() => {
3887
3907
  B && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !0)), C.run(1));
3888
3908
  }), B = !0);
3889
3909
  },
@@ -3891,60 +3911,60 @@ function dr(e) {
3891
3911
  E && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !1)), C.run(0)), B = !1;
3892
3912
  },
3893
3913
  d(E) {
3894
- E && qe(t), on(T, E), e[27](null), E && C && C.end(), U = !1, N();
3914
+ E && qe(t), or(T, E), e[27](null), E && C && C.end(), U = !1, N();
3895
3915
  }
3896
3916
  };
3897
3917
  }
3898
- function pr(e) {
3899
- let t, r, n;
3918
+ function An(e) {
3919
+ let t, n, r;
3900
3920
  return {
3901
3921
  c() {
3902
- t = he("svg"), r = he("circle"), h(r, "cx", "2.77888"), h(r, "cy", "2.50837"), h(r, "r", "2.28571"), h(r, "fill", "currentColor"), h(r, "stroke", "currentColor"), h(t, "class", n = /*currentTournamentIdx*/
3922
+ t = he("svg"), n = he("circle"), h(n, "cx", "2.77888"), h(n, "cy", "2.50837"), h(n, "r", "2.28571"), h(n, "fill", "currentColor"), h(n, "stroke", "currentColor"), h(t, "class", r = /*currentTournamentIdx*/
3903
3923
  e[5] == /*idx*/
3904
3924
  e[66] ? "active" : ""), h(t, "width", "6"), h(t, "height", "5"), h(t, "viewBox", "0 0 6 5"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3905
3925
  },
3906
3926
  m(i, o) {
3907
- Ze(i, t, o), H(t, r);
3927
+ Ze(i, t, o), H(t, n);
3908
3928
  },
3909
3929
  p(i, o) {
3910
3930
  o[0] & /*currentTournamentIdx*/
3911
- 32 && n !== (n = /*currentTournamentIdx*/
3931
+ 32 && r !== (r = /*currentTournamentIdx*/
3912
3932
  i[5] == /*idx*/
3913
- i[66] ? "active" : "") && h(t, "class", n);
3933
+ i[66] ? "active" : "") && h(t, "class", r);
3914
3934
  },
3915
3935
  d(i) {
3916
3936
  i && qe(t);
3917
3937
  }
3918
3938
  };
3919
3939
  }
3920
- function Ar(e) {
3921
- let t, r;
3940
+ function mn(e) {
3941
+ let t, n;
3922
3942
  return {
3923
3943
  c() {
3924
- t = he("svg"), r = he("path"), h(r, "fill-rule", "evenodd"), h(r, "clip-rule", "evenodd"), h(r, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(t, "width", "6"), h(t, "height", "10"), h(t, "fill", "currentColor"), h(t, "viewBox", "0 0 6 10"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3944
+ t = he("svg"), n = he("path"), h(n, "fill-rule", "evenodd"), h(n, "clip-rule", "evenodd"), h(n, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(t, "width", "6"), h(t, "height", "10"), h(t, "fill", "currentColor"), h(t, "viewBox", "0 0 6 10"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3925
3945
  },
3926
- m(n, i) {
3927
- Ze(n, t, i), H(t, r);
3946
+ m(r, i) {
3947
+ Ze(r, t, i), H(t, n);
3928
3948
  },
3929
- d(n) {
3930
- n && qe(t);
3949
+ d(r) {
3950
+ r && qe(t);
3931
3951
  }
3932
3952
  };
3933
3953
  }
3934
3954
  function eo(e) {
3935
- let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
3936
- e[4] && cr(e), V = (
3955
+ let t, n, r, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
3956
+ e[4] && dn(e), V = (
3937
3957
  /*tournamentList*/
3938
3958
  e[4] && /*tournamentList*/
3939
- e[4].length > 0 && dr(e)
3959
+ e[4].length > 0 && pn(e)
3940
3960
  ), q = (
3941
3961
  /*isLast*/
3942
- e[9] && Ar()
3962
+ e[9] && mn()
3943
3963
  );
3944
3964
  return {
3945
3965
  c() {
3946
- t = K("div"), r = K("div"), n = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"), N = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), Q = ve(), ie = K("div"), ie.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(n, "part", "Tournaments_ArrowLeft"), h(n, "class", f = "ArrowLeft " + /*isFirst*/
3947
- (e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(r, "part", "Tournaments"), h(r, "class", "casino-tournaments-slider-controller"), h(
3966
+ t = K("div"), n = K("div"), r = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"), N = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), Q = ve(), ie = K("div"), ie.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(r, "part", "Tournaments_ArrowLeft"), h(r, "class", f = "ArrowLeft " + /*isFirst*/
3967
+ (e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(n, "part", "Tournaments"), h(n, "class", "casino-tournaments-slider-controller"), h(
3948
3968
  U,
3949
3969
  "width",
3950
3970
  /*iconsize*/
@@ -3974,9 +3994,9 @@ function eo(e) {
3974
3994
  e[0]}`), h(B, "fill", "none"), h(B, "xmlns", "http://www.w3.org/2000/svg"), h(B, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(C, "class", "svg"), h(C, "part", "Icon"), h(ie, "class", "restoreButton"), h(ie, "part", "RestoreButton"), h(x, "id", "animator"), h(x, "part", "Animator");
3975
3995
  },
3976
3996
  m(j, $) {
3977
- Ze(j, t, $), H(t, r), H(r, n), H(n, i), H(i, o), H(r, c), G && G.m(r, null), H(r, d), V && V.m(r, null), H(r, u), H(r, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](r), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B, N), H(N, P), H(P, T), H(N, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
3997
+ Ze(j, t, $), H(t, n), H(n, r), H(r, i), H(i, o), H(n, c), G && G.m(n, null), H(n, d), V && V.m(n, null), H(n, u), H(n, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](n), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B, N), H(N, P), H(P, T), H(N, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
3978
3998
  at(
3979
- n,
3999
+ r,
3980
4000
  "click",
3981
4001
  /*click_handler*/
3982
4002
  e[25]
@@ -3998,14 +4018,14 @@ function eo(e) {
3998
4018
  p(j, $) {
3999
4019
  $[0] & /*isFirst*/
4000
4020
  256 && f !== (f = "ArrowLeft " + /*isFirst*/
4001
- (j[8] ? "Disabled" : "")) && h(n, "class", f), /*tournamentList*/
4002
- j[4] ? G && (G.d(1), G = null) : G ? G.p(j, $) : (G = cr(j), G.c(), G.m(r, d)), /*tournamentList*/
4021
+ (j[8] ? "Disabled" : "")) && h(r, "class", f), /*tournamentList*/
4022
+ j[4] ? G && (G.d(1), G = null) : G ? G.p(j, $) : (G = dn(j), G.c(), G.m(n, d)), /*tournamentList*/
4003
4023
  j[4] && /*tournamentList*/
4004
4024
  j[4].length > 0 ? V ? (V.p(j, $), $[0] & /*tournamentList*/
4005
- 16 && wt(V, 1)) : (V = dr(j), V.c(), wt(V, 1), V.m(r, u)) : V && (an(), zt(V, 1, 1, () => {
4025
+ 16 && wt(V, 1)) : (V = pn(j), V.c(), wt(V, 1), V.m(n, u)) : V && (ar(), zt(V, 1, 1, () => {
4006
4026
  V = null;
4007
- }), $r()), /*isLast*/
4008
- j[9] ? q || (q = Ar(), q.c(), q.m(l, null)) : q && (q.d(1), q = null), $[0] & /*iconsize*/
4027
+ }), er()), /*isLast*/
4028
+ j[9] ? q || (q = mn(), q.c(), q.m(l, null)) : q && (q.d(1), q = null), $[0] & /*iconsize*/
4009
4029
  1 && h(
4010
4030
  U,
4011
4031
  "width",
@@ -4047,30 +4067,30 @@ function eo(e) {
4047
4067
  zt(V);
4048
4068
  },
4049
4069
  d(j) {
4050
- j && qe(t), G && G.d(), V && V.d(), q && q.d(), e[29](null), e[30](null), e[32](null), fe = !1, mr(Y);
4070
+ j && qe(t), G && G.d(), V && V.d(), q && q.d(), e[29](null), e[30](null), e[32](null), fe = !1, gn(Y);
4051
4071
  }
4052
4072
  };
4053
4073
  }
4054
4074
  let Rt = 1, St = 300;
4055
- function to(e, t, r) {
4056
- let n, i;
4057
- en(e, Zi, (s) => r(13, i = s));
4075
+ function to(e, t, n) {
4076
+ let r, i;
4077
+ tr(e, Zi, (s) => n(13, i = s));
4058
4078
  let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: g = "" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: M = "" } = t, x, C = [], B, U = 0, N = !0, P = !1, T, E, _ = null, Q = null, ie, fe = !1, Y, G;
4059
4079
  qi({ withLocale: "en", translations: {} });
4060
4080
  const V = () => {
4061
4081
  fetch(M).then((m) => m.json()).then((m) => {
4062
4082
  Object.keys(m).forEach((I) => {
4063
- lr(I, m[I]);
4083
+ hn(I, m[I]);
4064
4084
  });
4065
4085
  }).catch((m) => {
4066
4086
  console.log(m);
4067
4087
  });
4068
4088
  };
4069
- Object.keys(hr).forEach((s) => {
4070
- lr(s, hr[s]);
4089
+ Object.keys(fn).forEach((s) => {
4090
+ hn(s, fn[s]);
4071
4091
  });
4072
4092
  const q = (s) => {
4073
- s.data && s.data.type == "TournamentList" && r(4, C = s.data.tournamentList);
4093
+ s.data && s.data.type == "TournamentList" && n(4, C = s.data.tournamentList);
4074
4094
  }, j = () => {
4075
4095
  o.length > 0 && o != "false";
4076
4096
  }, $ = () => {
@@ -4078,7 +4098,7 @@ function to(e, t, r) {
4078
4098
  }, me = () => {
4079
4099
  C.length !== 0 && (te.curTournament.hide(), setTimeout(
4080
4100
  () => {
4081
- r(5, U = (U + 1) % C.length), te.curTournament.show();
4101
+ n(5, U = (U + 1) % C.length), te.curTournament.show();
4082
4102
  },
4083
4103
  St * 1.5
4084
4104
  ));
@@ -4092,42 +4112,42 @@ function to(e, t, r) {
4092
4112
  }, pe = (s) => {
4093
4113
  te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 && N) && setTimeout(
4094
4114
  () => {
4095
- r(5, U = U + s), te.curTournament.show();
4115
+ n(5, U = U + s), te.curTournament.show();
4096
4116
  },
4097
4117
  St * 1.5
4098
4118
  );
4099
4119
  }, Se = (s) => setTimeout(() => s(), Rt * 1e3), te = {
4100
4120
  icon: {
4101
4121
  init() {
4102
- r(10, Y.style.transition = `all ${Rt}s ease-in-out`, Y);
4122
+ n(10, Y.style.transition = `all ${Rt}s ease-in-out`, Y);
4103
4123
  },
4104
4124
  show() {
4105
- r(10, Y.style.display = "flex", Y), Se(() => r(10, Y.style.opacity = "1", Y));
4125
+ n(10, Y.style.display = "flex", Y), Se(() => n(10, Y.style.opacity = "1", Y));
4106
4126
  },
4107
4127
  hide() {
4108
- r(10, Y.style.display = "none", Y), r(10, Y.style.opacity = "0", Y);
4128
+ n(10, Y.style.display = "none", Y), n(10, Y.style.opacity = "0", Y);
4109
4129
  }
4110
4130
  },
4111
4131
  slider: {
4112
4132
  init() {
4113
- r(6, E.style.transition = `all ${Rt}s ease-in-out`, E);
4133
+ n(6, E.style.transition = `all ${Rt}s ease-in-out`, E);
4114
4134
  },
4115
4135
  show() {
4116
- r(6, E.style.opacity = "1", E), r(6, E.style.transform = null, E), document.querySelector("body").style["overflow-x"] = "hidden";
4136
+ n(6, E.style.opacity = "1", E), n(6, E.style.transform = null, E), document.querySelector("body").style["overflow-x"] = "hidden";
4117
4137
  },
4118
4138
  hide() {
4119
- this.init(), r(6, E.style.opacity = "0", E), r(6, E.style.transform = `translateX(${E.clientWidth + 20}px)`, E), Se(() => document.querySelector("body").setAttribute("style", null));
4139
+ this.init(), n(6, E.style.opacity = "0", E), n(6, E.style.transform = `translateX(${E.clientWidth + 20}px)`, E), Se(() => document.querySelector("body").setAttribute("style", null));
4120
4140
  }
4121
4141
  },
4122
4142
  curTournament: {
4123
4143
  init() {
4124
- r(11, G.style.transition = `all ${St}ms linear`, G);
4144
+ n(11, G.style.transition = `all ${St}ms linear`, G);
4125
4145
  },
4126
4146
  show() {
4127
- r(11, G.style.opacity = "1", G);
4147
+ n(11, G.style.opacity = "1", G);
4128
4148
  },
4129
4149
  hide() {
4130
- this.init(), r(11, G.style.opacity = "0", G);
4150
+ this.init(), n(11, G.style.opacity = "0", G);
4131
4151
  }
4132
4152
  }
4133
4153
  }, Oe = () => {
@@ -4161,7 +4181,7 @@ function to(e, t, r) {
4161
4181
  }
4162
4182
  },
4163
4183
  window.location.href
4164
- ), r(4, C[I] = m, C);
4184
+ ), n(4, C[I] = m, C);
4165
4185
  }, He = (s) => {
4166
4186
  if (s.data)
4167
4187
  try {
@@ -4176,7 +4196,8 @@ function to(e, t, r) {
4176
4196
  const m = Qe(s)[0];
4177
4197
  _ = m.clientX, Q = m.clientY;
4178
4198
  }, le = (s) => {
4179
- if (!_ || !Q) return;
4199
+ if (!_ || !Q)
4200
+ return;
4180
4201
  let m = s.touches[0].clientX, I = s.touches[0].clientY, Z = _ - m, ye = Q - I;
4181
4202
  Math.abs(Z) > Math.abs(ye) && (Z > 0 ? pe(1) : pe(-1)), _ = null, Q = null;
4182
4203
  }, mt = () => {
@@ -4219,15 +4240,15 @@ function to(e, t, r) {
4219
4240
  $e(s.searchParams, 0, d), o && m.append("X-SessionID", o), fetch(s, { method: "GET", headers: m }).then((Z) => Z.json()).then((Z) => {
4220
4241
  if (!Z.items)
4221
4242
  return;
4222
- r(4, C = []), Z.items.forEach((oe, ne) => {
4243
+ n(4, C = []), Z.items.forEach((oe, re) => {
4223
4244
  C.push(We(oe));
4224
- }), r(7, B = C[U]), gt(), Ee();
4245
+ }), n(7, B = C[U]), gt(), Ee();
4225
4246
  });
4226
4247
  };
4227
4248
  let p = !1;
4228
- tn(() => (r(24, p = !0), window.addEventListener("message", q, !1), setTimeout(
4249
+ nr(() => (n(24, p = !0), window.addEventListener("message", q, !1), setTimeout(
4229
4250
  () => {
4230
- r(17, c = "tr");
4251
+ n(17, c = "tr");
4231
4252
  },
4232
4253
  5e3
4233
4254
  ), () => {
@@ -4236,41 +4257,41 @@ function to(e, t, r) {
4236
4257
  const b = () => pe(-1), A = () => Ke(B.id);
4237
4258
  function w(s) {
4238
4259
  it[s ? "unshift" : "push"](() => {
4239
- G = s, r(11, G);
4260
+ G = s, n(11, G);
4240
4261
  });
4241
4262
  }
4242
4263
  const y = () => pe(1);
4243
4264
  function R(s) {
4244
4265
  it[s ? "unshift" : "push"](() => {
4245
- E = s, r(6, E);
4266
+ E = s, n(6, E);
4246
4267
  });
4247
4268
  }
4248
4269
  function J(s) {
4249
4270
  it[s ? "unshift" : "push"](() => {
4250
- Y = s, r(10, Y);
4271
+ Y = s, n(10, Y);
4251
4272
  });
4252
4273
  }
4253
4274
  const O = () => Oe();
4254
4275
  function F(s) {
4255
4276
  it[s ? "unshift" : "push"](() => {
4256
- x = s, r(3, x);
4277
+ x = s, n(3, x);
4257
4278
  });
4258
4279
  }
4259
4280
  return e.$$set = (s) => {
4260
- "session" in s && r(18, o = s.session), "endpoint" in s && r(19, f = s.endpoint), "lang" in s && r(17, c = s.lang), "tournamentsshownnumber" in s && r(20, d = s.tournamentsshownnumber), "looptime" in s && r(21, u = s.looptime), "iconsize" in s && r(0, l = s.iconsize), "icon" in s && r(22, g = s.icon), "clientstyling" in s && r(1, v = s.clientstyling), "clientstylingurl" in s && r(2, S = s.clientstylingurl), "translationurl" in s && r(23, M = s.translationurl);
4281
+ "session" in s && n(18, o = s.session), "endpoint" in s && n(19, f = s.endpoint), "lang" in s && n(17, c = s.lang), "tournamentsshownnumber" in s && n(20, d = s.tournamentsshownnumber), "looptime" in s && n(21, u = s.looptime), "iconsize" in s && n(0, l = s.iconsize), "icon" in s && n(22, g = s.icon), "clientstyling" in s && n(1, v = s.clientstyling), "clientstylingurl" in s && n(2, S = s.clientstylingurl), "translationurl" in s && n(23, M = s.translationurl);
4261
4282
  }, e.$$.update = () => {
4262
4283
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4263
4284
  10 && x && v && vt(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4264
4285
  12 && x && S && tt(), e.$$.dirty[0] & /*icon*/
4265
- 4194304 && r(12, n = g || Ki), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4286
+ 4194304 && n(12, r = g || Ki), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4266
4287
  18481152 && p && f && d && c && a(), e.$$.dirty[0] & /*tourSlider*/
4267
4288
  64 && E && mt(), e.$$.dirty[0] & /*session*/
4268
4289
  262144 && o && j(), e.$$.dirty[0] & /*lang*/
4269
4290
  131072 && c && $(), e.$$.dirty[0] & /*translationurl*/
4270
4291
  8388608 && M && V(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
4271
- 48 && r(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4272
- 48 && r(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4273
- 32 && r(8, N = U == 0);
4292
+ 48 && n(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4293
+ 48 && n(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4294
+ 32 && n(8, N = U == 0);
4274
4295
  }, [
4275
4296
  l,
4276
4297
  v,
@@ -4284,7 +4305,7 @@ function to(e, t, r) {
4284
4305
  P,
4285
4306
  Y,
4286
4307
  G,
4287
- n,
4308
+ r,
4288
4309
  i,
4289
4310
  pe,
4290
4311
  Oe,
@@ -4307,14 +4328,14 @@ function to(e, t, r) {
4307
4328
  F
4308
4329
  ];
4309
4330
  }
4310
- class ro extends qr {
4331
+ class no extends Yn {
4311
4332
  constructor(t) {
4312
- super(), Yr(
4333
+ super(), Wn(
4313
4334
  this,
4314
4335
  t,
4315
4336
  to,
4316
4337
  eo,
4317
- gr,
4338
+ vn,
4318
4339
  {
4319
4340
  session: 18,
4320
4341
  endpoint: 19,
@@ -4392,7 +4413,7 @@ class ro extends qr {
4392
4413
  this.$$set({ translationurl: t }), ge();
4393
4414
  }
4394
4415
  }
4395
- Wr(ro, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4416
+ Kn(no, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4396
4417
  export {
4397
- ro as default
4418
+ no as default
4398
4419
  };