@everymatrix/casino-tournaments-slider-controller 1.87.25 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4438 +0,0 @@
1
- import { i as Vr, n as Ve, s as gr, a as Zr, r as vr, b as qr, c as Yr, S as Wr, d as Kr, f as Ae, e as $r, g as Ye, t as zt, h as It, j as h, k as en, x as xt, l as We, m as C, o as st, p as Y, q as se, u as ge, v as tn, w as rn, y as Er, z as j, A as br, B as nn, C as Vt, D as on, E as Zt, F as an, G as ot, H as sn, I as un, J as ln, K as qt } from "./CasinoTournamentsRank-9iTIINaq.js";
2
- function Yt(e, { delay: t = 0, duration: r = 400, easing: n = Vr } = {}) {
3
- const i = +getComputedStyle(e).opacity;
4
- return {
5
- delay: t,
6
- duration: r,
7
- easing: n,
8
- css: (o) => `opacity: ${o * i}`
9
- };
10
- }
11
- const Me = [];
12
- function hn(e, t) {
13
- return {
14
- subscribe: dt(e, t).subscribe
15
- };
16
- }
17
- function dt(e, t = Ve) {
18
- let r;
19
- const n = /* @__PURE__ */ new Set();
20
- function i(c) {
21
- if (gr(e, c) && (e = c, r)) {
22
- const d = !Me.length;
23
- for (const u of n)
24
- u[1](), Me.push(u, e);
25
- if (d) {
26
- for (let u = 0; u < Me.length; u += 2)
27
- Me[u][0](Me[u + 1]);
28
- Me.length = 0;
29
- }
30
- }
31
- }
32
- function o(c) {
33
- i(c(e));
34
- }
35
- function f(c, d = Ve) {
36
- const u = [c, d];
37
- return n.add(u), n.size === 1 && (r = t(i, o) || Ve), c(e), () => {
38
- n.delete(u), n.size === 0 && r && (r(), r = null);
39
- };
40
- }
41
- return { set: i, update: o, subscribe: f };
42
- }
43
- function _e(e, t, r) {
44
- const n = !Array.isArray(e), i = n ? [e] : e;
45
- if (!i.every(Boolean))
46
- throw new Error("derived() expects stores as input, got a falsy value");
47
- const o = t.length < 2;
48
- return hn(r, (f, c) => {
49
- let d = !1;
50
- const u = [];
51
- let l = 0, m = Ve;
52
- const g = () => {
53
- if (l)
54
- return;
55
- m();
56
- const U = t(n ? u[0] : u, f, c);
57
- o ? f(U) : m = qr(U) ? U : Ve;
58
- }, S = i.map(
59
- (U, T) => Zr(
60
- U,
61
- (O) => {
62
- u[T] = O, l &= ~(1 << T), d && g();
63
- },
64
- () => {
65
- l |= 1 << T;
66
- }
67
- )
68
- );
69
- return d = !0, g(), function() {
70
- vr(S), m(), d = !1;
71
- };
72
- });
73
- }
74
- var fn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
75
- function cn(e) {
76
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
77
- }
78
- var dn = function(t) {
79
- return pn(t) && !An(t);
80
- };
81
- function pn(e) {
82
- return !!e && typeof e == "object";
83
- }
84
- function An(e) {
85
- var t = Object.prototype.toString.call(e);
86
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
87
- }
88
- var mn = typeof Symbol == "function" && Symbol.for, gn = mn ? Symbol.for("react.element") : 60103;
89
- function vn(e) {
90
- return e.$$typeof === gn;
91
- }
92
- function En(e) {
93
- return Array.isArray(e) ? [] : {};
94
- }
95
- function Ze(e, t) {
96
- return t.clone !== !1 && t.isMergeableObject(e) ? ke(En(e), e, t) : e;
97
- }
98
- function bn(e, t, r) {
99
- return e.concat(t).map(function(n) {
100
- return Ze(n, r);
101
- });
102
- }
103
- function yn(e, t) {
104
- if (!t.customMerge)
105
- return ke;
106
- var r = t.customMerge(e);
107
- return typeof r == "function" ? r : ke;
108
- }
109
- function wn(e) {
110
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
111
- return Object.propertyIsEnumerable.call(e, t);
112
- }) : [];
113
- }
114
- function Wt(e) {
115
- return Object.keys(e).concat(wn(e));
116
- }
117
- function yr(e, t) {
118
- try {
119
- return t in e;
120
- } catch {
121
- return !1;
122
- }
123
- }
124
- function In(e, t) {
125
- return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
126
- }
127
- function xn(e, t, r) {
128
- var n = {};
129
- return r.isMergeableObject(e) && Wt(e).forEach(function(i) {
130
- n[i] = Ze(e[i], r);
131
- }), Wt(t).forEach(function(i) {
132
- In(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
133
- }), n;
134
- }
135
- function ke(e, t, r) {
136
- r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || dn, 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) : xn(e, t, r) : Ze(t, r);
139
- }
140
- ke.all = function(t, r) {
141
- if (!Array.isArray(t))
142
- throw new Error("first argument should be an array");
143
- return t.reduce(function(n, i) {
144
- return ke(n, i, r);
145
- }, {});
146
- };
147
- var Bn = ke, Tn = Bn;
148
- const Hn = /* @__PURE__ */ cn(Tn);
149
- var Lt = function(e, t) {
150
- return Lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
151
- r.__proto__ = n;
152
- } || function(r, n) {
153
- for (var i in n)
154
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
155
- }, Lt(e, t);
156
- };
157
- function pt(e, t) {
158
- if (typeof t != "function" && t !== null)
159
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
160
- Lt(e, t);
161
- function r() {
162
- this.constructor = e;
163
- }
164
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
165
- }
166
- var ve = function() {
167
- return ve = Object.assign || function(t) {
168
- for (var r, n = 1, i = arguments.length; n < i; n++) {
169
- r = arguments[n];
170
- for (var o in r)
171
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
172
- }
173
- return t;
174
- }, ve.apply(this, arguments);
175
- };
176
- function Cn(e, t) {
177
- var r = {};
178
- for (var n in e)
179
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
180
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
181
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
182
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
183
- return r;
184
- }
185
- function Bt(e, t, r) {
186
- if (r || arguments.length === 2)
187
- for (var n = 0, i = t.length, o; n < i; n++)
188
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
189
- return e.concat(o || Array.prototype.slice.call(t));
190
- }
191
- function Tt(e, t) {
192
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : On;
193
- return i(e, {
194
- cache: r,
195
- serializer: n
196
- });
197
- }
198
- function Rn(e) {
199
- return e == null || typeof e == "number" || typeof e == "boolean";
200
- }
201
- function Sn(e, t, r, n) {
202
- var i = Rn(n) ? n : r(n), o = t.get(i);
203
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
204
- }
205
- function wr(e, t, r) {
206
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
207
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
208
- }
209
- function Ir(e, t, r, n, i) {
210
- return r.bind(t, e, n, i);
211
- }
212
- function On(e, t) {
213
- var r = e.length === 1 ? Sn : wr;
214
- return Ir(e, this, r, t.cache.create(), t.serializer);
215
- }
216
- function Nn(e, t) {
217
- return Ir(e, this, wr, t.cache.create(), t.serializer);
218
- }
219
- var Ln = function() {
220
- return JSON.stringify(arguments);
221
- }, Dn = (
222
- /** @class */
223
- function() {
224
- function e() {
225
- this.cache = /* @__PURE__ */ Object.create(null);
226
- }
227
- return e.prototype.get = function(t) {
228
- return this.cache[t];
229
- }, e.prototype.set = function(t, r) {
230
- this.cache[t] = r;
231
- }, e;
232
- }()
233
- ), Pn = {
234
- create: function() {
235
- return new Dn();
236
- }
237
- }, Ht = {
238
- variadic: Nn
239
- }, ht = function() {
240
- return ht = Object.assign || function(t) {
241
- for (var r, n = 1, i = arguments.length; n < i; n++) {
242
- r = arguments[n];
243
- for (var o in r)
244
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
245
- }
246
- return t;
247
- }, ht.apply(this, arguments);
248
- };
249
- var M;
250
- (function(e) {
251
- 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";
252
- })(M || (M = {}));
253
- var z;
254
- (function(e) {
255
- e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
256
- })(z || (z = {}));
257
- var Ue;
258
- (function(e) {
259
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
260
- })(Ue || (Ue = {}));
261
- function Kt(e) {
262
- return e.type === z.literal;
263
- }
264
- function Mn(e) {
265
- return e.type === z.argument;
266
- }
267
- function xr(e) {
268
- return e.type === z.number;
269
- }
270
- function Br(e) {
271
- return e.type === z.date;
272
- }
273
- function Tr(e) {
274
- return e.type === z.time;
275
- }
276
- function Hr(e) {
277
- return e.type === z.select;
278
- }
279
- function Cr(e) {
280
- return e.type === z.plural;
281
- }
282
- function kn(e) {
283
- return e.type === z.pound;
284
- }
285
- function Rr(e) {
286
- return e.type === z.tag;
287
- }
288
- function Sr(e) {
289
- return !!(e && typeof e == "object" && e.type === Ue.number);
290
- }
291
- function Dt(e) {
292
- return !!(e && typeof e == "object" && e.type === Ue.dateTime);
293
- }
294
- var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
295
- function Gn(e) {
296
- var t = {};
297
- return e.replace(Un, function(r) {
298
- var n = r.length;
299
- switch (r[0]) {
300
- case "G":
301
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
302
- break;
303
- case "y":
304
- t.year = n === 2 ? "2-digit" : "numeric";
305
- break;
306
- case "Y":
307
- case "u":
308
- case "U":
309
- case "r":
310
- throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
311
- case "q":
312
- case "Q":
313
- throw new RangeError("`q/Q` (quarter) patterns are not supported");
314
- case "M":
315
- case "L":
316
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
317
- break;
318
- case "w":
319
- case "W":
320
- throw new RangeError("`w/W` (week) patterns are not supported");
321
- case "d":
322
- t.day = ["numeric", "2-digit"][n - 1];
323
- break;
324
- case "D":
325
- case "F":
326
- case "g":
327
- throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
328
- case "E":
329
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
330
- break;
331
- case "e":
332
- if (n < 4)
333
- throw new RangeError("`e..eee` (weekday) patterns are not supported");
334
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
335
- break;
336
- case "c":
337
- if (n < 4)
338
- throw new RangeError("`c..ccc` (weekday) patterns are not supported");
339
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
340
- break;
341
- case "a":
342
- t.hour12 = !0;
343
- break;
344
- case "b":
345
- case "B":
346
- throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
347
- case "h":
348
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
349
- break;
350
- case "H":
351
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
352
- break;
353
- case "K":
354
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
355
- break;
356
- case "k":
357
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
358
- break;
359
- case "j":
360
- case "J":
361
- case "C":
362
- throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
363
- case "m":
364
- t.minute = ["numeric", "2-digit"][n - 1];
365
- break;
366
- case "s":
367
- t.second = ["numeric", "2-digit"][n - 1];
368
- break;
369
- case "S":
370
- case "A":
371
- throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
372
- case "z":
373
- t.timeZoneName = n < 4 ? "short" : "long";
374
- break;
375
- case "Z":
376
- case "O":
377
- case "v":
378
- case "V":
379
- case "X":
380
- case "x":
381
- throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
382
- }
383
- return "";
384
- }), t;
385
- }
386
- var V = function() {
387
- return V = Object.assign || function(t) {
388
- for (var r, n = 1, i = arguments.length; n < i; n++) {
389
- r = arguments[n];
390
- for (var o in r)
391
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
392
- }
393
- return t;
394
- }, V.apply(this, arguments);
395
- };
396
- var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
397
- function _n(e) {
398
- if (e.length === 0)
399
- throw new Error("Number skeleton cannot be empty");
400
- for (var t = e.split(Fn).filter(function(g) {
401
- return g.length > 0;
402
- }), r = [], n = 0, i = t; n < i.length; n++) {
403
- var o = i[n], f = o.split("/");
404
- if (f.length === 0)
405
- throw new Error("Invalid number skeleton");
406
- for (var c = f[0], d = f.slice(1), u = 0, l = d; u < l.length; u++) {
407
- var m = l[u];
408
- if (m.length === 0)
409
- throw new Error("Invalid number skeleton");
410
- }
411
- r.push({ stem: c, options: d });
412
- }
413
- return r;
414
- }
415
- function Qn(e) {
416
- return e.replace(/^(.*?)-/, "");
417
- }
418
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
419
- function er(e) {
420
- var t = {};
421
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
422
- 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)), "";
423
- }), t;
424
- }
425
- function Dr(e) {
426
- switch (e) {
427
- case "sign-auto":
428
- return {
429
- signDisplay: "auto"
430
- };
431
- case "sign-accounting":
432
- case "()":
433
- return {
434
- currencySign: "accounting"
435
- };
436
- case "sign-always":
437
- case "+!":
438
- return {
439
- signDisplay: "always"
440
- };
441
- case "sign-accounting-always":
442
- case "()!":
443
- return {
444
- signDisplay: "always",
445
- currencySign: "accounting"
446
- };
447
- case "sign-except-zero":
448
- case "+?":
449
- return {
450
- signDisplay: "exceptZero"
451
- };
452
- case "sign-accounting-except-zero":
453
- case "()?":
454
- return {
455
- signDisplay: "exceptZero",
456
- currencySign: "accounting"
457
- };
458
- case "sign-never":
459
- case "+_":
460
- return {
461
- signDisplay: "never"
462
- };
463
- }
464
- }
465
- function Jn(e) {
466
- var t;
467
- if (e[0] === "E" && e[1] === "E" ? (t = {
468
- notation: "engineering"
469
- }, e = e.slice(2)) : e[0] === "E" && (t = {
470
- notation: "scientific"
471
- }, e = e.slice(1)), t) {
472
- var r = e.slice(0, 2);
473
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
474
- throw new Error("Malformed concise eng/scientific notation");
475
- t.minimumIntegerDigits = e.length;
476
- }
477
- return t;
478
- }
479
- function tr(e) {
480
- var t = {}, r = Dr(e);
481
- return r || t;
482
- }
483
- function Xn(e) {
484
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
485
- var i = n[r];
486
- switch (i.stem) {
487
- case "percent":
488
- case "%":
489
- t.style = "percent";
490
- continue;
491
- case "%x100":
492
- t.style = "percent", t.scale = 100;
493
- continue;
494
- case "currency":
495
- t.style = "currency", t.currency = i.options[0];
496
- continue;
497
- case "group-off":
498
- case ",_":
499
- t.useGrouping = !1;
500
- continue;
501
- case "precision-integer":
502
- case ".":
503
- t.maximumFractionDigits = 0;
504
- continue;
505
- case "measure-unit":
506
- case "unit":
507
- t.style = "unit", t.unit = Qn(i.options[0]);
508
- continue;
509
- case "compact-short":
510
- case "K":
511
- t.notation = "compact", t.compactDisplay = "short";
512
- continue;
513
- case "compact-long":
514
- case "KK":
515
- t.notation = "compact", t.compactDisplay = "long";
516
- continue;
517
- case "scientific":
518
- t = V(V(V({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
519
- return V(V({}, d), tr(u));
520
- }, {}));
521
- continue;
522
- case "engineering":
523
- t = V(V(V({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
524
- return V(V({}, d), tr(u));
525
- }, {}));
526
- continue;
527
- case "notation-simple":
528
- t.notation = "standard";
529
- continue;
530
- case "unit-width-narrow":
531
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
532
- continue;
533
- case "unit-width-short":
534
- t.currencyDisplay = "code", t.unitDisplay = "short";
535
- continue;
536
- case "unit-width-full-name":
537
- t.currencyDisplay = "name", t.unitDisplay = "long";
538
- continue;
539
- case "unit-width-iso-code":
540
- t.currencyDisplay = "symbol";
541
- continue;
542
- case "scale":
543
- t.scale = parseFloat(i.options[0]);
544
- continue;
545
- case "rounding-mode-floor":
546
- t.roundingMode = "floor";
547
- continue;
548
- case "rounding-mode-ceiling":
549
- t.roundingMode = "ceil";
550
- continue;
551
- case "rounding-mode-down":
552
- t.roundingMode = "trunc";
553
- continue;
554
- case "rounding-mode-up":
555
- t.roundingMode = "expand";
556
- continue;
557
- case "rounding-mode-half-even":
558
- t.roundingMode = "halfEven";
559
- continue;
560
- case "rounding-mode-half-down":
561
- t.roundingMode = "halfTrunc";
562
- continue;
563
- case "rounding-mode-half-up":
564
- t.roundingMode = "halfExpand";
565
- continue;
566
- case "integer-width":
567
- if (i.options.length > 1)
568
- throw new RangeError("integer-width stems only accept a single optional option");
569
- i.options[0].replace(jn, function(d, u, l, m, g, S) {
570
- if (u)
571
- t.minimumIntegerDigits = l.length;
572
- else {
573
- if (m && g)
574
- throw new Error("We currently do not support maximum integer digits");
575
- if (S)
576
- throw new Error("We currently do not support exact integer digits");
577
- }
578
- return "";
579
- });
580
- continue;
581
- }
582
- if (Lr.test(i.stem)) {
583
- t.minimumIntegerDigits = i.stem.length;
584
- continue;
585
- }
586
- if ($t.test(i.stem)) {
587
- if (i.options.length > 1)
588
- throw new RangeError("Fraction-precision stems only accept a single optional option");
589
- i.stem.replace($t, function(d, u, l, m, g, S) {
590
- return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : g && S ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
591
- });
592
- var o = i.options[0];
593
- o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), er(o)));
594
- continue;
595
- }
596
- if (Nr.test(i.stem)) {
597
- t = V(V({}, t), er(i.stem));
598
- continue;
599
- }
600
- var f = Dr(i.stem);
601
- f && (t = V(V({}, t), f));
602
- var c = Jn(i.stem);
603
- c && (t = V(V({}, t), c));
604
- }
605
- return t;
606
- }
607
- var at = {
608
- "001": [
609
- "H",
610
- "h"
611
- ],
612
- 419: [
613
- "h",
614
- "H",
615
- "hB",
616
- "hb"
617
- ],
618
- AC: [
619
- "H",
620
- "h",
621
- "hb",
622
- "hB"
623
- ],
624
- AD: [
625
- "H",
626
- "hB"
627
- ],
628
- AE: [
629
- "h",
630
- "hB",
631
- "hb",
632
- "H"
633
- ],
634
- AF: [
635
- "H",
636
- "hb",
637
- "hB",
638
- "h"
639
- ],
640
- AG: [
641
- "h",
642
- "hb",
643
- "H",
644
- "hB"
645
- ],
646
- AI: [
647
- "H",
648
- "h",
649
- "hb",
650
- "hB"
651
- ],
652
- AL: [
653
- "h",
654
- "H",
655
- "hB"
656
- ],
657
- AM: [
658
- "H",
659
- "hB"
660
- ],
661
- AO: [
662
- "H",
663
- "hB"
664
- ],
665
- AR: [
666
- "h",
667
- "H",
668
- "hB",
669
- "hb"
670
- ],
671
- AS: [
672
- "h",
673
- "H"
674
- ],
675
- AT: [
676
- "H",
677
- "hB"
678
- ],
679
- AU: [
680
- "h",
681
- "hb",
682
- "H",
683
- "hB"
684
- ],
685
- AW: [
686
- "H",
687
- "hB"
688
- ],
689
- AX: [
690
- "H"
691
- ],
692
- AZ: [
693
- "H",
694
- "hB",
695
- "h"
696
- ],
697
- BA: [
698
- "H",
699
- "hB",
700
- "h"
701
- ],
702
- BB: [
703
- "h",
704
- "hb",
705
- "H",
706
- "hB"
707
- ],
708
- BD: [
709
- "h",
710
- "hB",
711
- "H"
712
- ],
713
- BE: [
714
- "H",
715
- "hB"
716
- ],
717
- BF: [
718
- "H",
719
- "hB"
720
- ],
721
- BG: [
722
- "H",
723
- "hB",
724
- "h"
725
- ],
726
- BH: [
727
- "h",
728
- "hB",
729
- "hb",
730
- "H"
731
- ],
732
- BI: [
733
- "H",
734
- "h"
735
- ],
736
- BJ: [
737
- "H",
738
- "hB"
739
- ],
740
- BL: [
741
- "H",
742
- "hB"
743
- ],
744
- BM: [
745
- "h",
746
- "hb",
747
- "H",
748
- "hB"
749
- ],
750
- BN: [
751
- "hb",
752
- "hB",
753
- "h",
754
- "H"
755
- ],
756
- BO: [
757
- "h",
758
- "H",
759
- "hB",
760
- "hb"
761
- ],
762
- BQ: [
763
- "H"
764
- ],
765
- BR: [
766
- "H",
767
- "hB"
768
- ],
769
- BS: [
770
- "h",
771
- "hb",
772
- "H",
773
- "hB"
774
- ],
775
- BT: [
776
- "h",
777
- "H"
778
- ],
779
- BW: [
780
- "H",
781
- "h",
782
- "hb",
783
- "hB"
784
- ],
785
- BY: [
786
- "H",
787
- "h"
788
- ],
789
- BZ: [
790
- "H",
791
- "h",
792
- "hb",
793
- "hB"
794
- ],
795
- CA: [
796
- "h",
797
- "hb",
798
- "H",
799
- "hB"
800
- ],
801
- CC: [
802
- "H",
803
- "h",
804
- "hb",
805
- "hB"
806
- ],
807
- CD: [
808
- "hB",
809
- "H"
810
- ],
811
- CF: [
812
- "H",
813
- "h",
814
- "hB"
815
- ],
816
- CG: [
817
- "H",
818
- "hB"
819
- ],
820
- CH: [
821
- "H",
822
- "hB",
823
- "h"
824
- ],
825
- CI: [
826
- "H",
827
- "hB"
828
- ],
829
- CK: [
830
- "H",
831
- "h",
832
- "hb",
833
- "hB"
834
- ],
835
- CL: [
836
- "h",
837
- "H",
838
- "hB",
839
- "hb"
840
- ],
841
- CM: [
842
- "H",
843
- "h",
844
- "hB"
845
- ],
846
- CN: [
847
- "H",
848
- "hB",
849
- "hb",
850
- "h"
851
- ],
852
- CO: [
853
- "h",
854
- "H",
855
- "hB",
856
- "hb"
857
- ],
858
- CP: [
859
- "H"
860
- ],
861
- CR: [
862
- "h",
863
- "H",
864
- "hB",
865
- "hb"
866
- ],
867
- CU: [
868
- "h",
869
- "H",
870
- "hB",
871
- "hb"
872
- ],
873
- CV: [
874
- "H",
875
- "hB"
876
- ],
877
- CW: [
878
- "H",
879
- "hB"
880
- ],
881
- CX: [
882
- "H",
883
- "h",
884
- "hb",
885
- "hB"
886
- ],
887
- CY: [
888
- "h",
889
- "H",
890
- "hb",
891
- "hB"
892
- ],
893
- CZ: [
894
- "H"
895
- ],
896
- DE: [
897
- "H",
898
- "hB"
899
- ],
900
- DG: [
901
- "H",
902
- "h",
903
- "hb",
904
- "hB"
905
- ],
906
- DJ: [
907
- "h",
908
- "H"
909
- ],
910
- DK: [
911
- "H"
912
- ],
913
- DM: [
914
- "h",
915
- "hb",
916
- "H",
917
- "hB"
918
- ],
919
- DO: [
920
- "h",
921
- "H",
922
- "hB",
923
- "hb"
924
- ],
925
- DZ: [
926
- "h",
927
- "hB",
928
- "hb",
929
- "H"
930
- ],
931
- EA: [
932
- "H",
933
- "h",
934
- "hB",
935
- "hb"
936
- ],
937
- EC: [
938
- "h",
939
- "H",
940
- "hB",
941
- "hb"
942
- ],
943
- EE: [
944
- "H",
945
- "hB"
946
- ],
947
- EG: [
948
- "h",
949
- "hB",
950
- "hb",
951
- "H"
952
- ],
953
- EH: [
954
- "h",
955
- "hB",
956
- "hb",
957
- "H"
958
- ],
959
- ER: [
960
- "h",
961
- "H"
962
- ],
963
- ES: [
964
- "H",
965
- "hB",
966
- "h",
967
- "hb"
968
- ],
969
- ET: [
970
- "hB",
971
- "hb",
972
- "h",
973
- "H"
974
- ],
975
- FI: [
976
- "H"
977
- ],
978
- FJ: [
979
- "h",
980
- "hb",
981
- "H",
982
- "hB"
983
- ],
984
- FK: [
985
- "H",
986
- "h",
987
- "hb",
988
- "hB"
989
- ],
990
- FM: [
991
- "h",
992
- "hb",
993
- "H",
994
- "hB"
995
- ],
996
- FO: [
997
- "H",
998
- "h"
999
- ],
1000
- FR: [
1001
- "H",
1002
- "hB"
1003
- ],
1004
- GA: [
1005
- "H",
1006
- "hB"
1007
- ],
1008
- GB: [
1009
- "H",
1010
- "h",
1011
- "hb",
1012
- "hB"
1013
- ],
1014
- GD: [
1015
- "h",
1016
- "hb",
1017
- "H",
1018
- "hB"
1019
- ],
1020
- GE: [
1021
- "H",
1022
- "hB",
1023
- "h"
1024
- ],
1025
- GF: [
1026
- "H",
1027
- "hB"
1028
- ],
1029
- GG: [
1030
- "H",
1031
- "h",
1032
- "hb",
1033
- "hB"
1034
- ],
1035
- GH: [
1036
- "h",
1037
- "H"
1038
- ],
1039
- GI: [
1040
- "H",
1041
- "h",
1042
- "hb",
1043
- "hB"
1044
- ],
1045
- GL: [
1046
- "H",
1047
- "h"
1048
- ],
1049
- GM: [
1050
- "h",
1051
- "hb",
1052
- "H",
1053
- "hB"
1054
- ],
1055
- GN: [
1056
- "H",
1057
- "hB"
1058
- ],
1059
- GP: [
1060
- "H",
1061
- "hB"
1062
- ],
1063
- GQ: [
1064
- "H",
1065
- "hB",
1066
- "h",
1067
- "hb"
1068
- ],
1069
- GR: [
1070
- "h",
1071
- "H",
1072
- "hb",
1073
- "hB"
1074
- ],
1075
- GT: [
1076
- "h",
1077
- "H",
1078
- "hB",
1079
- "hb"
1080
- ],
1081
- GU: [
1082
- "h",
1083
- "hb",
1084
- "H",
1085
- "hB"
1086
- ],
1087
- GW: [
1088
- "H",
1089
- "hB"
1090
- ],
1091
- GY: [
1092
- "h",
1093
- "hb",
1094
- "H",
1095
- "hB"
1096
- ],
1097
- HK: [
1098
- "h",
1099
- "hB",
1100
- "hb",
1101
- "H"
1102
- ],
1103
- HN: [
1104
- "h",
1105
- "H",
1106
- "hB",
1107
- "hb"
1108
- ],
1109
- HR: [
1110
- "H",
1111
- "hB"
1112
- ],
1113
- HU: [
1114
- "H",
1115
- "h"
1116
- ],
1117
- IC: [
1118
- "H",
1119
- "h",
1120
- "hB",
1121
- "hb"
1122
- ],
1123
- ID: [
1124
- "H"
1125
- ],
1126
- IE: [
1127
- "H",
1128
- "h",
1129
- "hb",
1130
- "hB"
1131
- ],
1132
- IL: [
1133
- "H",
1134
- "hB"
1135
- ],
1136
- IM: [
1137
- "H",
1138
- "h",
1139
- "hb",
1140
- "hB"
1141
- ],
1142
- IN: [
1143
- "h",
1144
- "H"
1145
- ],
1146
- IO: [
1147
- "H",
1148
- "h",
1149
- "hb",
1150
- "hB"
1151
- ],
1152
- IQ: [
1153
- "h",
1154
- "hB",
1155
- "hb",
1156
- "H"
1157
- ],
1158
- IR: [
1159
- "hB",
1160
- "H"
1161
- ],
1162
- IS: [
1163
- "H"
1164
- ],
1165
- IT: [
1166
- "H",
1167
- "hB"
1168
- ],
1169
- JE: [
1170
- "H",
1171
- "h",
1172
- "hb",
1173
- "hB"
1174
- ],
1175
- JM: [
1176
- "h",
1177
- "hb",
1178
- "H",
1179
- "hB"
1180
- ],
1181
- JO: [
1182
- "h",
1183
- "hB",
1184
- "hb",
1185
- "H"
1186
- ],
1187
- JP: [
1188
- "H",
1189
- "K",
1190
- "h"
1191
- ],
1192
- KE: [
1193
- "hB",
1194
- "hb",
1195
- "H",
1196
- "h"
1197
- ],
1198
- KG: [
1199
- "H",
1200
- "h",
1201
- "hB",
1202
- "hb"
1203
- ],
1204
- KH: [
1205
- "hB",
1206
- "h",
1207
- "H",
1208
- "hb"
1209
- ],
1210
- KI: [
1211
- "h",
1212
- "hb",
1213
- "H",
1214
- "hB"
1215
- ],
1216
- KM: [
1217
- "H",
1218
- "h",
1219
- "hB",
1220
- "hb"
1221
- ],
1222
- KN: [
1223
- "h",
1224
- "hb",
1225
- "H",
1226
- "hB"
1227
- ],
1228
- KP: [
1229
- "h",
1230
- "H",
1231
- "hB",
1232
- "hb"
1233
- ],
1234
- KR: [
1235
- "h",
1236
- "H",
1237
- "hB",
1238
- "hb"
1239
- ],
1240
- KW: [
1241
- "h",
1242
- "hB",
1243
- "hb",
1244
- "H"
1245
- ],
1246
- KY: [
1247
- "h",
1248
- "hb",
1249
- "H",
1250
- "hB"
1251
- ],
1252
- KZ: [
1253
- "H",
1254
- "hB"
1255
- ],
1256
- LA: [
1257
- "H",
1258
- "hb",
1259
- "hB",
1260
- "h"
1261
- ],
1262
- LB: [
1263
- "h",
1264
- "hB",
1265
- "hb",
1266
- "H"
1267
- ],
1268
- LC: [
1269
- "h",
1270
- "hb",
1271
- "H",
1272
- "hB"
1273
- ],
1274
- LI: [
1275
- "H",
1276
- "hB",
1277
- "h"
1278
- ],
1279
- LK: [
1280
- "H",
1281
- "h",
1282
- "hB",
1283
- "hb"
1284
- ],
1285
- LR: [
1286
- "h",
1287
- "hb",
1288
- "H",
1289
- "hB"
1290
- ],
1291
- LS: [
1292
- "h",
1293
- "H"
1294
- ],
1295
- LT: [
1296
- "H",
1297
- "h",
1298
- "hb",
1299
- "hB"
1300
- ],
1301
- LU: [
1302
- "H",
1303
- "h",
1304
- "hB"
1305
- ],
1306
- LV: [
1307
- "H",
1308
- "hB",
1309
- "hb",
1310
- "h"
1311
- ],
1312
- LY: [
1313
- "h",
1314
- "hB",
1315
- "hb",
1316
- "H"
1317
- ],
1318
- MA: [
1319
- "H",
1320
- "h",
1321
- "hB",
1322
- "hb"
1323
- ],
1324
- MC: [
1325
- "H",
1326
- "hB"
1327
- ],
1328
- MD: [
1329
- "H",
1330
- "hB"
1331
- ],
1332
- ME: [
1333
- "H",
1334
- "hB",
1335
- "h"
1336
- ],
1337
- MF: [
1338
- "H",
1339
- "hB"
1340
- ],
1341
- MG: [
1342
- "H",
1343
- "h"
1344
- ],
1345
- MH: [
1346
- "h",
1347
- "hb",
1348
- "H",
1349
- "hB"
1350
- ],
1351
- MK: [
1352
- "H",
1353
- "h",
1354
- "hb",
1355
- "hB"
1356
- ],
1357
- ML: [
1358
- "H"
1359
- ],
1360
- MM: [
1361
- "hB",
1362
- "hb",
1363
- "H",
1364
- "h"
1365
- ],
1366
- MN: [
1367
- "H",
1368
- "h",
1369
- "hb",
1370
- "hB"
1371
- ],
1372
- MO: [
1373
- "h",
1374
- "hB",
1375
- "hb",
1376
- "H"
1377
- ],
1378
- MP: [
1379
- "h",
1380
- "hb",
1381
- "H",
1382
- "hB"
1383
- ],
1384
- MQ: [
1385
- "H",
1386
- "hB"
1387
- ],
1388
- MR: [
1389
- "h",
1390
- "hB",
1391
- "hb",
1392
- "H"
1393
- ],
1394
- MS: [
1395
- "H",
1396
- "h",
1397
- "hb",
1398
- "hB"
1399
- ],
1400
- MT: [
1401
- "H",
1402
- "h"
1403
- ],
1404
- MU: [
1405
- "H",
1406
- "h"
1407
- ],
1408
- MV: [
1409
- "H",
1410
- "h"
1411
- ],
1412
- MW: [
1413
- "h",
1414
- "hb",
1415
- "H",
1416
- "hB"
1417
- ],
1418
- MX: [
1419
- "h",
1420
- "H",
1421
- "hB",
1422
- "hb"
1423
- ],
1424
- MY: [
1425
- "hb",
1426
- "hB",
1427
- "h",
1428
- "H"
1429
- ],
1430
- MZ: [
1431
- "H",
1432
- "hB"
1433
- ],
1434
- NA: [
1435
- "h",
1436
- "H",
1437
- "hB",
1438
- "hb"
1439
- ],
1440
- NC: [
1441
- "H",
1442
- "hB"
1443
- ],
1444
- NE: [
1445
- "H"
1446
- ],
1447
- NF: [
1448
- "H",
1449
- "h",
1450
- "hb",
1451
- "hB"
1452
- ],
1453
- NG: [
1454
- "H",
1455
- "h",
1456
- "hb",
1457
- "hB"
1458
- ],
1459
- NI: [
1460
- "h",
1461
- "H",
1462
- "hB",
1463
- "hb"
1464
- ],
1465
- NL: [
1466
- "H",
1467
- "hB"
1468
- ],
1469
- NO: [
1470
- "H",
1471
- "h"
1472
- ],
1473
- NP: [
1474
- "H",
1475
- "h",
1476
- "hB"
1477
- ],
1478
- NR: [
1479
- "H",
1480
- "h",
1481
- "hb",
1482
- "hB"
1483
- ],
1484
- NU: [
1485
- "H",
1486
- "h",
1487
- "hb",
1488
- "hB"
1489
- ],
1490
- NZ: [
1491
- "h",
1492
- "hb",
1493
- "H",
1494
- "hB"
1495
- ],
1496
- OM: [
1497
- "h",
1498
- "hB",
1499
- "hb",
1500
- "H"
1501
- ],
1502
- PA: [
1503
- "h",
1504
- "H",
1505
- "hB",
1506
- "hb"
1507
- ],
1508
- PE: [
1509
- "h",
1510
- "H",
1511
- "hB",
1512
- "hb"
1513
- ],
1514
- PF: [
1515
- "H",
1516
- "h",
1517
- "hB"
1518
- ],
1519
- PG: [
1520
- "h",
1521
- "H"
1522
- ],
1523
- PH: [
1524
- "h",
1525
- "hB",
1526
- "hb",
1527
- "H"
1528
- ],
1529
- PK: [
1530
- "h",
1531
- "hB",
1532
- "H"
1533
- ],
1534
- PL: [
1535
- "H",
1536
- "h"
1537
- ],
1538
- PM: [
1539
- "H",
1540
- "hB"
1541
- ],
1542
- PN: [
1543
- "H",
1544
- "h",
1545
- "hb",
1546
- "hB"
1547
- ],
1548
- PR: [
1549
- "h",
1550
- "H",
1551
- "hB",
1552
- "hb"
1553
- ],
1554
- PS: [
1555
- "h",
1556
- "hB",
1557
- "hb",
1558
- "H"
1559
- ],
1560
- PT: [
1561
- "H",
1562
- "hB"
1563
- ],
1564
- PW: [
1565
- "h",
1566
- "H"
1567
- ],
1568
- PY: [
1569
- "h",
1570
- "H",
1571
- "hB",
1572
- "hb"
1573
- ],
1574
- QA: [
1575
- "h",
1576
- "hB",
1577
- "hb",
1578
- "H"
1579
- ],
1580
- RE: [
1581
- "H",
1582
- "hB"
1583
- ],
1584
- RO: [
1585
- "H",
1586
- "hB"
1587
- ],
1588
- RS: [
1589
- "H",
1590
- "hB",
1591
- "h"
1592
- ],
1593
- RU: [
1594
- "H"
1595
- ],
1596
- RW: [
1597
- "H",
1598
- "h"
1599
- ],
1600
- SA: [
1601
- "h",
1602
- "hB",
1603
- "hb",
1604
- "H"
1605
- ],
1606
- SB: [
1607
- "h",
1608
- "hb",
1609
- "H",
1610
- "hB"
1611
- ],
1612
- SC: [
1613
- "H",
1614
- "h",
1615
- "hB"
1616
- ],
1617
- SD: [
1618
- "h",
1619
- "hB",
1620
- "hb",
1621
- "H"
1622
- ],
1623
- SE: [
1624
- "H"
1625
- ],
1626
- SG: [
1627
- "h",
1628
- "hb",
1629
- "H",
1630
- "hB"
1631
- ],
1632
- SH: [
1633
- "H",
1634
- "h",
1635
- "hb",
1636
- "hB"
1637
- ],
1638
- SI: [
1639
- "H",
1640
- "hB"
1641
- ],
1642
- SJ: [
1643
- "H"
1644
- ],
1645
- SK: [
1646
- "H"
1647
- ],
1648
- SL: [
1649
- "h",
1650
- "hb",
1651
- "H",
1652
- "hB"
1653
- ],
1654
- SM: [
1655
- "H",
1656
- "h",
1657
- "hB"
1658
- ],
1659
- SN: [
1660
- "H",
1661
- "h",
1662
- "hB"
1663
- ],
1664
- SO: [
1665
- "h",
1666
- "H"
1667
- ],
1668
- SR: [
1669
- "H",
1670
- "hB"
1671
- ],
1672
- SS: [
1673
- "h",
1674
- "hb",
1675
- "H",
1676
- "hB"
1677
- ],
1678
- ST: [
1679
- "H",
1680
- "hB"
1681
- ],
1682
- SV: [
1683
- "h",
1684
- "H",
1685
- "hB",
1686
- "hb"
1687
- ],
1688
- SX: [
1689
- "H",
1690
- "h",
1691
- "hb",
1692
- "hB"
1693
- ],
1694
- SY: [
1695
- "h",
1696
- "hB",
1697
- "hb",
1698
- "H"
1699
- ],
1700
- SZ: [
1701
- "h",
1702
- "hb",
1703
- "H",
1704
- "hB"
1705
- ],
1706
- TA: [
1707
- "H",
1708
- "h",
1709
- "hb",
1710
- "hB"
1711
- ],
1712
- TC: [
1713
- "h",
1714
- "hb",
1715
- "H",
1716
- "hB"
1717
- ],
1718
- TD: [
1719
- "h",
1720
- "H",
1721
- "hB"
1722
- ],
1723
- TF: [
1724
- "H",
1725
- "h",
1726
- "hB"
1727
- ],
1728
- TG: [
1729
- "H",
1730
- "hB"
1731
- ],
1732
- TH: [
1733
- "H",
1734
- "h"
1735
- ],
1736
- TJ: [
1737
- "H",
1738
- "h"
1739
- ],
1740
- TL: [
1741
- "H",
1742
- "hB",
1743
- "hb",
1744
- "h"
1745
- ],
1746
- TM: [
1747
- "H",
1748
- "h"
1749
- ],
1750
- TN: [
1751
- "h",
1752
- "hB",
1753
- "hb",
1754
- "H"
1755
- ],
1756
- TO: [
1757
- "h",
1758
- "H"
1759
- ],
1760
- TR: [
1761
- "H",
1762
- "hB"
1763
- ],
1764
- TT: [
1765
- "h",
1766
- "hb",
1767
- "H",
1768
- "hB"
1769
- ],
1770
- TW: [
1771
- "hB",
1772
- "hb",
1773
- "h",
1774
- "H"
1775
- ],
1776
- TZ: [
1777
- "hB",
1778
- "hb",
1779
- "H",
1780
- "h"
1781
- ],
1782
- UA: [
1783
- "H",
1784
- "hB",
1785
- "h"
1786
- ],
1787
- UG: [
1788
- "hB",
1789
- "hb",
1790
- "H",
1791
- "h"
1792
- ],
1793
- UM: [
1794
- "h",
1795
- "hb",
1796
- "H",
1797
- "hB"
1798
- ],
1799
- US: [
1800
- "h",
1801
- "hb",
1802
- "H",
1803
- "hB"
1804
- ],
1805
- UY: [
1806
- "h",
1807
- "H",
1808
- "hB",
1809
- "hb"
1810
- ],
1811
- UZ: [
1812
- "H",
1813
- "hB",
1814
- "h"
1815
- ],
1816
- VA: [
1817
- "H",
1818
- "h",
1819
- "hB"
1820
- ],
1821
- VC: [
1822
- "h",
1823
- "hb",
1824
- "H",
1825
- "hB"
1826
- ],
1827
- VE: [
1828
- "h",
1829
- "H",
1830
- "hB",
1831
- "hb"
1832
- ],
1833
- VG: [
1834
- "h",
1835
- "hb",
1836
- "H",
1837
- "hB"
1838
- ],
1839
- VI: [
1840
- "h",
1841
- "hb",
1842
- "H",
1843
- "hB"
1844
- ],
1845
- VN: [
1846
- "H",
1847
- "h"
1848
- ],
1849
- VU: [
1850
- "h",
1851
- "H"
1852
- ],
1853
- WF: [
1854
- "H",
1855
- "hB"
1856
- ],
1857
- WS: [
1858
- "h",
1859
- "H"
1860
- ],
1861
- XK: [
1862
- "H",
1863
- "hB",
1864
- "h"
1865
- ],
1866
- YE: [
1867
- "h",
1868
- "hB",
1869
- "hb",
1870
- "H"
1871
- ],
1872
- YT: [
1873
- "H",
1874
- "hB"
1875
- ],
1876
- ZA: [
1877
- "H",
1878
- "h",
1879
- "hb",
1880
- "hB"
1881
- ],
1882
- ZM: [
1883
- "h",
1884
- "hb",
1885
- "H",
1886
- "hB"
1887
- ],
1888
- ZW: [
1889
- "H",
1890
- "h"
1891
- ],
1892
- "af-ZA": [
1893
- "H",
1894
- "h",
1895
- "hB",
1896
- "hb"
1897
- ],
1898
- "ar-001": [
1899
- "h",
1900
- "hB",
1901
- "hb",
1902
- "H"
1903
- ],
1904
- "ca-ES": [
1905
- "H",
1906
- "h",
1907
- "hB"
1908
- ],
1909
- "en-001": [
1910
- "h",
1911
- "hb",
1912
- "H",
1913
- "hB"
1914
- ],
1915
- "en-HK": [
1916
- "h",
1917
- "hb",
1918
- "H",
1919
- "hB"
1920
- ],
1921
- "en-IL": [
1922
- "H",
1923
- "h",
1924
- "hb",
1925
- "hB"
1926
- ],
1927
- "en-MY": [
1928
- "h",
1929
- "hb",
1930
- "H",
1931
- "hB"
1932
- ],
1933
- "es-BR": [
1934
- "H",
1935
- "h",
1936
- "hB",
1937
- "hb"
1938
- ],
1939
- "es-ES": [
1940
- "H",
1941
- "h",
1942
- "hB",
1943
- "hb"
1944
- ],
1945
- "es-GQ": [
1946
- "H",
1947
- "h",
1948
- "hB",
1949
- "hb"
1950
- ],
1951
- "fr-CA": [
1952
- "H",
1953
- "h",
1954
- "hB"
1955
- ],
1956
- "gl-ES": [
1957
- "H",
1958
- "h",
1959
- "hB"
1960
- ],
1961
- "gu-IN": [
1962
- "hB",
1963
- "hb",
1964
- "h",
1965
- "H"
1966
- ],
1967
- "hi-IN": [
1968
- "hB",
1969
- "h",
1970
- "H"
1971
- ],
1972
- "it-CH": [
1973
- "H",
1974
- "h",
1975
- "hB"
1976
- ],
1977
- "it-IT": [
1978
- "H",
1979
- "h",
1980
- "hB"
1981
- ],
1982
- "kn-IN": [
1983
- "hB",
1984
- "h",
1985
- "H"
1986
- ],
1987
- "ml-IN": [
1988
- "hB",
1989
- "h",
1990
- "H"
1991
- ],
1992
- "mr-IN": [
1993
- "hB",
1994
- "hb",
1995
- "h",
1996
- "H"
1997
- ],
1998
- "pa-IN": [
1999
- "hB",
2000
- "hb",
2001
- "h",
2002
- "H"
2003
- ],
2004
- "ta-IN": [
2005
- "hB",
2006
- "h",
2007
- "hb",
2008
- "H"
2009
- ],
2010
- "te-IN": [
2011
- "hB",
2012
- "h",
2013
- "H"
2014
- ],
2015
- "zu-ZA": [
2016
- "H",
2017
- "hB",
2018
- "hb",
2019
- "h"
2020
- ]
2021
- };
2022
- function zn(e, t) {
2023
- for (var r = "", n = 0; n < e.length; n++) {
2024
- var i = e.charAt(n);
2025
- if (i === "j") {
2026
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2027
- o++, n++;
2028
- var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = Vn(t);
2029
- for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
2030
- r += d;
2031
- for (; f-- > 0; )
2032
- r = u + r;
2033
- } else
2034
- i === "J" ? r += "H" : r += i;
2035
- }
2036
- return r;
2037
- }
2038
- function Vn(e) {
2039
- var t = e.hourCycle;
2040
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2041
- e.hourCycles && // @ts-ignore
2042
- e.hourCycles.length && (t = e.hourCycles[0]), t)
2043
- switch (t) {
2044
- case "h24":
2045
- return "k";
2046
- case "h23":
2047
- return "H";
2048
- case "h12":
2049
- return "h";
2050
- case "h11":
2051
- return "K";
2052
- default:
2053
- throw new Error("Invalid hourCycle");
2054
- }
2055
- var r = e.language, n;
2056
- r !== "root" && (n = e.maximize().region);
2057
- var i = at[n || ""] || at[r || ""] || at["".concat(r, "-001")] || at["001"];
2058
- return i[0];
2059
- }
2060
- var Ct, Zn = new RegExp("^".concat(Or.source, "*")), qn = new RegExp("".concat(Or.source, "*$"));
2061
- function k(e, t) {
2062
- return { start: e, end: t };
2063
- }
2064
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, Kn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
2065
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2066
- }, Pt = !0;
2067
- try {
2068
- var ii = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2069
- Pt = ((Ct = ii.exec("a")) === null || Ct === void 0 ? void 0 : Ct[0]) === "a";
2070
- } catch {
2071
- Pt = !1;
2072
- }
2073
- var rr = Yn ? (
2074
- // Native
2075
- function(t, r, n) {
2076
- return t.startsWith(r, n);
2077
- }
2078
- ) : (
2079
- // For IE11
2080
- function(t, r, n) {
2081
- return t.slice(n, n + r.length) === r;
2082
- }
2083
- ), Mt = Wn ? String.fromCodePoint : (
2084
- // IE11
2085
- function() {
2086
- for (var t = [], r = 0; r < arguments.length; r++)
2087
- t[r] = arguments[r];
2088
- for (var n = "", i = t.length, o = 0, f; i > o; ) {
2089
- if (f = t[o++], f > 1114111)
2090
- throw RangeError(f + " is not a valid code point");
2091
- n += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2092
- }
2093
- return n;
2094
- }
2095
- ), nr = (
2096
- // native
2097
- Kn ? Object.fromEntries : (
2098
- // Ponyfill
2099
- function(t) {
2100
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2101
- var o = i[n], f = o[0], c = o[1];
2102
- r[f] = c;
2103
- }
2104
- return r;
2105
- }
2106
- )
2107
- ), Pr = $n ? (
2108
- // Native
2109
- function(t, r) {
2110
- return t.codePointAt(r);
2111
- }
2112
- ) : (
2113
- // IE 11
2114
- function(t, r) {
2115
- var n = t.length;
2116
- if (!(r < 0 || r >= n)) {
2117
- var i = t.charCodeAt(r), o;
2118
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2119
- }
2120
- }
2121
- ), oi = ei ? (
2122
- // Native
2123
- function(t) {
2124
- return t.trimStart();
2125
- }
2126
- ) : (
2127
- // Ponyfill
2128
- function(t) {
2129
- return t.replace(Zn, "");
2130
- }
2131
- ), ai = ti ? (
2132
- // Native
2133
- function(t) {
2134
- return t.trimEnd();
2135
- }
2136
- ) : (
2137
- // Ponyfill
2138
- function(t) {
2139
- return t.replace(qn, "");
2140
- }
2141
- );
2142
- function Mr(e, t) {
2143
- return new RegExp(e, t);
2144
- }
2145
- var kt;
2146
- if (Pt) {
2147
- var ir = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2148
- kt = function(t, r) {
2149
- var n;
2150
- ir.lastIndex = r;
2151
- var i = ir.exec(t);
2152
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2153
- };
2154
- } else
2155
- kt = function(t, r) {
2156
- for (var n = []; ; ) {
2157
- var i = Pr(t, r);
2158
- if (i === void 0 || kr(i) || hi(i))
2159
- break;
2160
- n.push(i), r += i >= 65536 ? 2 : 1;
2161
- }
2162
- return Mt.apply(void 0, n);
2163
- };
2164
- var si = (
2165
- /** @class */
2166
- function() {
2167
- function e(t, r) {
2168
- 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;
2169
- }
2170
- return e.prototype.parse = function() {
2171
- if (this.offset() !== 0)
2172
- throw Error("parser can only be used once");
2173
- return this.parseMessage(0, "", !1);
2174
- }, e.prototype.parseMessage = function(t, r, n) {
2175
- for (var i = []; !this.isEOF(); ) {
2176
- var o = this.char();
2177
- if (o === 123) {
2178
- var f = this.parseArgument(t, n);
2179
- if (f.err)
2180
- return f;
2181
- i.push(f.val);
2182
- } else {
2183
- if (o === 125 && t > 0)
2184
- break;
2185
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2186
- var c = this.clonePosition();
2187
- this.bump(), i.push({
2188
- type: z.pound,
2189
- location: k(c, this.clonePosition())
2190
- });
2191
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2192
- if (n)
2193
- break;
2194
- return this.error(M.UNMATCHED_CLOSING_TAG, k(this.clonePosition(), this.clonePosition()));
2195
- } else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
2196
- var f = this.parseTag(t, r);
2197
- if (f.err)
2198
- return f;
2199
- i.push(f.val);
2200
- } else {
2201
- var f = this.parseLiteral(t, r);
2202
- if (f.err)
2203
- return f;
2204
- i.push(f.val);
2205
- }
2206
- }
2207
- }
2208
- return { val: i, err: null };
2209
- }, e.prototype.parseTag = function(t, r) {
2210
- var n = this.clonePosition();
2211
- this.bump();
2212
- var i = this.parseTagName();
2213
- if (this.bumpSpace(), this.bumpIf("/>"))
2214
- return {
2215
- val: {
2216
- type: z.literal,
2217
- value: "<".concat(i, "/>"),
2218
- location: k(n, this.clonePosition())
2219
- },
2220
- err: null
2221
- };
2222
- if (this.bumpIf(">")) {
2223
- var o = this.parseMessage(t + 1, r, !0);
2224
- if (o.err)
2225
- return o;
2226
- var f = o.val, c = this.clonePosition();
2227
- if (this.bumpIf("</")) {
2228
- if (this.isEOF() || !Ut(this.char()))
2229
- return this.error(M.INVALID_TAG, k(c, this.clonePosition()));
2230
- var d = this.clonePosition(), u = this.parseTagName();
2231
- return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, k(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2232
- val: {
2233
- type: z.tag,
2234
- value: i,
2235
- children: f,
2236
- location: k(n, this.clonePosition())
2237
- },
2238
- err: null
2239
- } : this.error(M.INVALID_TAG, k(c, this.clonePosition())));
2240
- } else
2241
- return this.error(M.UNCLOSED_TAG, k(n, this.clonePosition()));
2242
- } else
2243
- return this.error(M.INVALID_TAG, k(n, this.clonePosition()));
2244
- }, e.prototype.parseTagName = function() {
2245
- var t = this.offset();
2246
- for (this.bump(); !this.isEOF() && li(this.char()); )
2247
- this.bump();
2248
- return this.message.slice(t, this.offset());
2249
- }, e.prototype.parseLiteral = function(t, r) {
2250
- for (var n = this.clonePosition(), i = ""; ; ) {
2251
- var o = this.tryParseQuote(r);
2252
- if (o) {
2253
- i += o;
2254
- continue;
2255
- }
2256
- var f = this.tryParseUnquoted(t, r);
2257
- if (f) {
2258
- i += f;
2259
- continue;
2260
- }
2261
- var c = this.tryParseLeftAngleBracket();
2262
- if (c) {
2263
- i += c;
2264
- continue;
2265
- }
2266
- break;
2267
- }
2268
- var d = k(n, this.clonePosition());
2269
- return {
2270
- val: { type: z.literal, value: i, location: d },
2271
- err: null
2272
- };
2273
- }, e.prototype.tryParseLeftAngleBracket = function() {
2274
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2275
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2276
- }, e.prototype.tryParseQuote = function(t) {
2277
- if (this.isEOF() || this.char() !== 39)
2278
- return null;
2279
- switch (this.peek()) {
2280
- case 39:
2281
- return this.bump(), this.bump(), "'";
2282
- case 123:
2283
- case 60:
2284
- case 62:
2285
- case 125:
2286
- break;
2287
- case 35:
2288
- if (t === "plural" || t === "selectordinal")
2289
- break;
2290
- return null;
2291
- default:
2292
- return null;
2293
- }
2294
- this.bump();
2295
- var r = [this.char()];
2296
- for (this.bump(); !this.isEOF(); ) {
2297
- var n = this.char();
2298
- if (n === 39)
2299
- if (this.peek() === 39)
2300
- r.push(39), this.bump();
2301
- else {
2302
- this.bump();
2303
- break;
2304
- }
2305
- else
2306
- r.push(n);
2307
- this.bump();
2308
- }
2309
- return Mt.apply(void 0, r);
2310
- }, e.prototype.tryParseUnquoted = function(t, r) {
2311
- if (this.isEOF())
2312
- return null;
2313
- var n = this.char();
2314
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
2315
- }, e.prototype.parseArgument = function(t, r) {
2316
- var n = this.clonePosition();
2317
- if (this.bump(), this.bumpSpace(), this.isEOF())
2318
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition()));
2319
- if (this.char() === 125)
2320
- return this.bump(), this.error(M.EMPTY_ARGUMENT, k(n, this.clonePosition()));
2321
- var i = this.parseIdentifierIfPossible().value;
2322
- if (!i)
2323
- return this.error(M.MALFORMED_ARGUMENT, k(n, this.clonePosition()));
2324
- if (this.bumpSpace(), this.isEOF())
2325
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition()));
2326
- switch (this.char()) {
2327
- case 125:
2328
- return this.bump(), {
2329
- val: {
2330
- type: z.argument,
2331
- // value does not include the opening and closing braces.
2332
- value: i,
2333
- location: k(n, this.clonePosition())
2334
- },
2335
- err: null
2336
- };
2337
- case 44:
2338
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2339
- default:
2340
- return this.error(M.MALFORMED_ARGUMENT, k(n, this.clonePosition()));
2341
- }
2342
- }, e.prototype.parseIdentifierIfPossible = function() {
2343
- var t = this.clonePosition(), r = this.offset(), n = kt(this.message, r), i = r + n.length;
2344
- this.bumpTo(i);
2345
- var o = this.clonePosition(), f = k(t, o);
2346
- return { value: n, location: f };
2347
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2348
- var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2349
- switch (c) {
2350
- case "":
2351
- return this.error(M.EXPECT_ARGUMENT_TYPE, k(f, d));
2352
- case "number":
2353
- case "date":
2354
- case "time": {
2355
- this.bumpSpace();
2356
- var u = null;
2357
- if (this.bumpIf(",")) {
2358
- this.bumpSpace();
2359
- var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2360
- if (m.err)
2361
- return m;
2362
- var g = ai(m.val);
2363
- if (g.length === 0)
2364
- return this.error(M.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
2365
- var S = k(l, this.clonePosition());
2366
- u = { style: g, styleLocation: S };
2367
- }
2368
- var U = this.tryParseArgumentClose(i);
2369
- if (U.err)
2370
- return U;
2371
- var T = k(i, this.clonePosition());
2372
- if (u && rr(u?.style, "::", 0)) {
2373
- var O = oi(u.style.slice(2));
2374
- if (c === "number") {
2375
- var m = this.parseNumberSkeletonFromString(O, u.styleLocation);
2376
- return m.err ? m : {
2377
- val: { type: z.number, value: n, location: T, style: m.val },
2378
- err: null
2379
- };
2380
- } else {
2381
- if (O.length === 0)
2382
- return this.error(M.EXPECT_DATE_TIME_SKELETON, T);
2383
- var I = O;
2384
- this.locale && (I = zn(O, this.locale));
2385
- var g = {
2386
- type: Ue.dateTime,
2387
- pattern: I,
2388
- location: u.styleLocation,
2389
- parsedOptions: this.shouldParseSkeletons ? Gn(I) : {}
2390
- }, J = c === "date" ? z.date : z.time;
2391
- return {
2392
- val: { type: J, value: n, location: T, style: g },
2393
- err: null
2394
- };
2395
- }
2396
- }
2397
- return {
2398
- val: {
2399
- type: c === "number" ? z.number : c === "date" ? z.date : z.time,
2400
- value: n,
2401
- location: T,
2402
- style: (o = u?.style) !== null && o !== void 0 ? o : null
2403
- },
2404
- err: null
2405
- };
2406
- }
2407
- case "plural":
2408
- case "selectordinal":
2409
- case "select": {
2410
- var H = this.clonePosition();
2411
- if (this.bumpSpace(), !this.bumpIf(","))
2412
- return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, k(H, ht({}, H)));
2413
- this.bumpSpace();
2414
- var G = this.parseIdentifierIfPossible(), N = 0;
2415
- if (c !== "select" && G.value === "offset") {
2416
- if (!this.bumpIf(":"))
2417
- return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
2418
- this.bumpSpace();
2419
- var m = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2420
- if (m.err)
2421
- return m;
2422
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), N = m.val;
2423
- }
2424
- var b = this.tryParsePluralOrSelectOptions(t, c, r, G);
2425
- if (b.err)
2426
- return b;
2427
- var U = this.tryParseArgumentClose(i);
2428
- if (U.err)
2429
- return U;
2430
- var B = k(i, this.clonePosition());
2431
- return c === "select" ? {
2432
- val: {
2433
- type: z.select,
2434
- value: n,
2435
- options: nr(b.val),
2436
- location: B
2437
- },
2438
- err: null
2439
- } : {
2440
- val: {
2441
- type: z.plural,
2442
- value: n,
2443
- options: nr(b.val),
2444
- offset: N,
2445
- pluralType: c === "plural" ? "cardinal" : "ordinal",
2446
- location: B
2447
- },
2448
- err: null
2449
- };
2450
- }
2451
- default:
2452
- return this.error(M.INVALID_ARGUMENT_TYPE, k(f, d));
2453
- }
2454
- }, e.prototype.tryParseArgumentClose = function(t) {
2455
- return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, k(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2456
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2457
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2458
- var n = this.char();
2459
- switch (n) {
2460
- case 39: {
2461
- this.bump();
2462
- var i = this.clonePosition();
2463
- if (!this.bumpUntil("'"))
2464
- return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, k(i, this.clonePosition()));
2465
- this.bump();
2466
- break;
2467
- }
2468
- case 123: {
2469
- t += 1, this.bump();
2470
- break;
2471
- }
2472
- case 125: {
2473
- if (t > 0)
2474
- t -= 1;
2475
- else
2476
- return {
2477
- val: this.message.slice(r.offset, this.offset()),
2478
- err: null
2479
- };
2480
- break;
2481
- }
2482
- default:
2483
- this.bump();
2484
- break;
2485
- }
2486
- }
2487
- return {
2488
- val: this.message.slice(r.offset, this.offset()),
2489
- err: null
2490
- };
2491
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2492
- var n = [];
2493
- try {
2494
- n = _n(t);
2495
- } catch {
2496
- return this.error(M.INVALID_NUMBER_SKELETON, r);
2497
- }
2498
- return {
2499
- val: {
2500
- type: Ue.number,
2501
- tokens: n,
2502
- location: r,
2503
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
2504
- },
2505
- err: null
2506
- };
2507
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2508
- for (var o, f = !1, c = [], d = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2509
- if (u.length === 0) {
2510
- var m = this.clonePosition();
2511
- if (r !== "select" && this.bumpIf("=")) {
2512
- var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2513
- if (g.err)
2514
- return g;
2515
- l = k(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2516
- } else
2517
- break;
2518
- }
2519
- if (d.has(u))
2520
- return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2521
- u === "other" && (f = !0), this.bumpSpace();
2522
- var S = this.clonePosition();
2523
- if (!this.bumpIf("{"))
2524
- return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
2525
- var U = this.parseMessage(t + 1, r, n);
2526
- if (U.err)
2527
- return U;
2528
- var T = this.tryParseArgumentClose(S);
2529
- if (T.err)
2530
- return T;
2531
- c.push([
2532
- u,
2533
- {
2534
- value: U.val,
2535
- location: k(S, this.clonePosition())
2536
- }
2537
- ]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2538
- }
2539
- return c.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(M.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2540
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
2541
- var n = 1, i = this.clonePosition();
2542
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2543
- for (var o = !1, f = 0; !this.isEOF(); ) {
2544
- var c = this.char();
2545
- if (c >= 48 && c <= 57)
2546
- o = !0, f = f * 10 + (c - 48), this.bump();
2547
- else
2548
- break;
2549
- }
2550
- var d = k(i, this.clonePosition());
2551
- return o ? (f *= n, ni(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2552
- }, e.prototype.offset = function() {
2553
- return this.position.offset;
2554
- }, e.prototype.isEOF = function() {
2555
- return this.offset() === this.message.length;
2556
- }, e.prototype.clonePosition = function() {
2557
- return {
2558
- offset: this.position.offset,
2559
- line: this.position.line,
2560
- column: this.position.column
2561
- };
2562
- }, e.prototype.char = function() {
2563
- var t = this.position.offset;
2564
- if (t >= this.message.length)
2565
- throw Error("out of bound");
2566
- var r = Pr(this.message, t);
2567
- if (r === void 0)
2568
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2569
- return r;
2570
- }, e.prototype.error = function(t, r) {
2571
- return {
2572
- val: null,
2573
- err: {
2574
- kind: t,
2575
- message: this.message,
2576
- location: r
2577
- }
2578
- };
2579
- }, e.prototype.bump = function() {
2580
- if (!this.isEOF()) {
2581
- var t = this.char();
2582
- 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);
2583
- }
2584
- }, e.prototype.bumpIf = function(t) {
2585
- if (rr(this.message, t, this.offset())) {
2586
- for (var r = 0; r < t.length; r++)
2587
- this.bump();
2588
- return !0;
2589
- }
2590
- return !1;
2591
- }, e.prototype.bumpUntil = function(t) {
2592
- var r = this.offset(), n = this.message.indexOf(t, r);
2593
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2594
- }, e.prototype.bumpTo = function(t) {
2595
- if (this.offset() > t)
2596
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
2597
- for (t = Math.min(t, this.message.length); ; ) {
2598
- var r = this.offset();
2599
- if (r === t)
2600
- break;
2601
- if (r > t)
2602
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2603
- if (this.bump(), this.isEOF())
2604
- break;
2605
- }
2606
- }, e.prototype.bumpSpace = function() {
2607
- for (; !this.isEOF() && kr(this.char()); )
2608
- this.bump();
2609
- }, e.prototype.peek = function() {
2610
- if (this.isEOF())
2611
- return null;
2612
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
2613
- return n ?? null;
2614
- }, e;
2615
- }()
2616
- );
2617
- function Ut(e) {
2618
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2619
- }
2620
- function ui(e) {
2621
- return Ut(e) || e === 47;
2622
- }
2623
- function li(e) {
2624
- 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;
2625
- }
2626
- function kr(e) {
2627
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2628
- }
2629
- function hi(e) {
2630
- return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
2631
- }
2632
- function Gt(e) {
2633
- e.forEach(function(t) {
2634
- if (delete t.location, Hr(t) || Cr(t))
2635
- for (var r in t.options)
2636
- delete t.options[r].location, Gt(t.options[r].value);
2637
- else
2638
- xr(t) && Sr(t.style) || (Br(t) || Tr(t)) && Dt(t.style) ? delete t.style.location : Rr(t) && Gt(t.children);
2639
- });
2640
- }
2641
- function fi(e, t) {
2642
- t === void 0 && (t = {}), t = ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2643
- var r = new si(e, t).parse();
2644
- if (r.err) {
2645
- var n = SyntaxError(M[r.err.kind]);
2646
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2647
- }
2648
- return t?.captureLocation || Gt(r.val), r.val;
2649
- }
2650
- var Ge;
2651
- (function(e) {
2652
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2653
- })(Ge || (Ge = {}));
2654
- var At = (
2655
- /** @class */
2656
- function(e) {
2657
- pt(t, e);
2658
- function t(r, n, i) {
2659
- var o = e.call(this, r) || this;
2660
- return o.code = n, o.originalMessage = i, o;
2661
- }
2662
- return t.prototype.toString = function() {
2663
- return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2664
- }, t;
2665
- }(Error)
2666
- ), or = (
2667
- /** @class */
2668
- function(e) {
2669
- pt(t, e);
2670
- function t(r, n, i, o) {
2671
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ge.INVALID_VALUE, o) || this;
2672
- }
2673
- return t;
2674
- }(At)
2675
- ), ci = (
2676
- /** @class */
2677
- function(e) {
2678
- pt(t, e);
2679
- function t(r, n, i) {
2680
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ge.INVALID_VALUE, i) || this;
2681
- }
2682
- return t;
2683
- }(At)
2684
- ), di = (
2685
- /** @class */
2686
- function(e) {
2687
- pt(t, e);
2688
- function t(r, n) {
2689
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ge.MISSING_VALUE, n) || this;
2690
- }
2691
- return t;
2692
- }(At)
2693
- ), ie;
2694
- (function(e) {
2695
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2696
- })(ie || (ie = {}));
2697
- function pi(e) {
2698
- return e.length < 2 ? e : e.reduce(function(t, r) {
2699
- var n = t[t.length - 1];
2700
- return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
2701
- }, []);
2702
- }
2703
- function Ai(e) {
2704
- return typeof e == "function";
2705
- }
2706
- function ut(e, t, r, n, i, o, f) {
2707
- if (e.length === 1 && Kt(e[0]))
2708
- return [
2709
- {
2710
- type: ie.literal,
2711
- value: e[0].value
2712
- }
2713
- ];
2714
- for (var c = [], d = 0, u = e; d < u.length; d++) {
2715
- var l = u[d];
2716
- if (Kt(l)) {
2717
- c.push({
2718
- type: ie.literal,
2719
- value: l.value
2720
- });
2721
- continue;
2722
- }
2723
- if (kn(l)) {
2724
- typeof o == "number" && c.push({
2725
- type: ie.literal,
2726
- value: r.getNumberFormat(t).format(o)
2727
- });
2728
- continue;
2729
- }
2730
- var m = l.value;
2731
- if (!(i && m in i))
2732
- throw new di(m, f);
2733
- var g = i[m];
2734
- if (Mn(l)) {
2735
- (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), c.push({
2736
- type: typeof g == "string" ? ie.literal : ie.object,
2737
- value: g
2738
- });
2739
- continue;
2740
- }
2741
- if (Br(l)) {
2742
- var S = typeof l.style == "string" ? n.date[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
2743
- c.push({
2744
- type: ie.literal,
2745
- value: r.getDateTimeFormat(t, S).format(g)
2746
- });
2747
- continue;
2748
- }
2749
- if (Tr(l)) {
2750
- var S = typeof l.style == "string" ? n.time[l.style] : Dt(l.style) ? l.style.parsedOptions : n.time.medium;
2751
- c.push({
2752
- type: ie.literal,
2753
- value: r.getDateTimeFormat(t, S).format(g)
2754
- });
2755
- continue;
2756
- }
2757
- if (xr(l)) {
2758
- var S = typeof l.style == "string" ? n.number[l.style] : Sr(l.style) ? l.style.parsedOptions : void 0;
2759
- S && S.scale && (g = g * (S.scale || 1)), c.push({
2760
- type: ie.literal,
2761
- value: r.getNumberFormat(t, S).format(g)
2762
- });
2763
- continue;
2764
- }
2765
- if (Rr(l)) {
2766
- var U = l.children, T = l.value, O = i[T];
2767
- if (!Ai(O))
2768
- throw new ci(T, "function", f);
2769
- var I = ut(U, t, r, n, i, o), J = O(I.map(function(N) {
2770
- return N.value;
2771
- }));
2772
- Array.isArray(J) || (J = [J]), c.push.apply(c, J.map(function(N) {
2773
- return {
2774
- type: typeof N == "string" ? ie.literal : ie.object,
2775
- value: N
2776
- };
2777
- }));
2778
- }
2779
- if (Hr(l)) {
2780
- var H = l.options[g] || l.options.other;
2781
- if (!H)
2782
- throw new or(l.value, g, Object.keys(l.options), f);
2783
- c.push.apply(c, ut(H.value, t, r, n, i));
2784
- continue;
2785
- }
2786
- if (Cr(l)) {
2787
- var H = l.options["=".concat(g)];
2788
- if (!H) {
2789
- if (!Intl.PluralRules)
2790
- throw new At(`Intl.PluralRules is not available in this environment.
2791
- Try polyfilling it using "@formatjs/intl-pluralrules"
2792
- `, Ge.MISSING_INTL_API, f);
2793
- var G = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
2794
- H = l.options[G] || l.options.other;
2795
- }
2796
- if (!H)
2797
- throw new or(l.value, g, Object.keys(l.options), f);
2798
- c.push.apply(c, ut(H.value, t, r, n, i, g - (l.offset || 0)));
2799
- continue;
2800
- }
2801
- }
2802
- return pi(c);
2803
- }
2804
- function mi(e, t) {
2805
- return t ? ve(ve(ve({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2806
- return r[n] = ve(ve({}, e[n]), t[n] || {}), r;
2807
- }, {})) : e;
2808
- }
2809
- function gi(e, t) {
2810
- return t ? Object.keys(e).reduce(function(r, n) {
2811
- return r[n] = mi(e[n], t[n]), r;
2812
- }, ve({}, e)) : e;
2813
- }
2814
- function Rt(e) {
2815
- return {
2816
- create: function() {
2817
- return {
2818
- get: function(t) {
2819
- return e[t];
2820
- },
2821
- set: function(t, r) {
2822
- e[t] = r;
2823
- }
2824
- };
2825
- }
2826
- };
2827
- }
2828
- function vi(e) {
2829
- return e === void 0 && (e = {
2830
- number: {},
2831
- dateTime: {},
2832
- pluralRules: {}
2833
- }), {
2834
- getNumberFormat: Tt(function() {
2835
- for (var t, r = [], n = 0; n < arguments.length; n++)
2836
- r[n] = arguments[n];
2837
- return new ((t = Intl.NumberFormat).bind.apply(t, Bt([void 0], r, !1)))();
2838
- }, {
2839
- cache: Rt(e.number),
2840
- strategy: Ht.variadic
2841
- }),
2842
- getDateTimeFormat: Tt(function() {
2843
- for (var t, r = [], n = 0; n < arguments.length; n++)
2844
- r[n] = arguments[n];
2845
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Bt([void 0], r, !1)))();
2846
- }, {
2847
- cache: Rt(e.dateTime),
2848
- strategy: Ht.variadic
2849
- }),
2850
- getPluralRules: Tt(function() {
2851
- for (var t, r = [], n = 0; n < arguments.length; n++)
2852
- r[n] = arguments[n];
2853
- return new ((t = Intl.PluralRules).bind.apply(t, Bt([void 0], r, !1)))();
2854
- }, {
2855
- cache: Rt(e.pluralRules),
2856
- strategy: Ht.variadic
2857
- })
2858
- };
2859
- }
2860
- var Ei = (
2861
- /** @class */
2862
- function() {
2863
- function e(t, r, n, i) {
2864
- r === void 0 && (r = e.defaultLocale);
2865
- var o = this;
2866
- if (this.formatterCache = {
2867
- number: {},
2868
- dateTime: {},
2869
- pluralRules: {}
2870
- }, this.format = function(d) {
2871
- var u = o.formatToParts(d);
2872
- if (u.length === 1)
2873
- return u[0].value;
2874
- var l = u.reduce(function(m, g) {
2875
- return !m.length || g.type !== ie.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
2876
- }, []);
2877
- return l.length <= 1 ? l[0] || "" : l;
2878
- }, this.formatToParts = function(d) {
2879
- return ut(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
2880
- }, this.resolvedOptions = function() {
2881
- var d;
2882
- return {
2883
- locale: ((d = o.resolvedLocale) === null || d === void 0 ? void 0 : d.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2884
- };
2885
- }, this.getAst = function() {
2886
- return o.ast;
2887
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
2888
- if (this.message = t, !e.__parse)
2889
- throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2890
- var f = i || {};
2891
- f.formatters;
2892
- var c = Cn(f, ["formatters"]);
2893
- this.ast = e.__parse(t, ve(ve({}, c), { locale: this.resolvedLocale }));
2894
- } else
2895
- this.ast = t;
2896
- if (!Array.isArray(this.ast))
2897
- throw new TypeError("A message must be provided as a String or AST.");
2898
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
2899
- }
2900
- return Object.defineProperty(e, "defaultLocale", {
2901
- get: function() {
2902
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
2903
- },
2904
- enumerable: !1,
2905
- configurable: !0
2906
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
2907
- if (!(typeof Intl.Locale > "u")) {
2908
- var r = Intl.NumberFormat.supportedLocalesOf(t);
2909
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2910
- }
2911
- }, e.__parse = fi, e.formats = {
2912
- number: {
2913
- integer: {
2914
- maximumFractionDigits: 0
2915
- },
2916
- currency: {
2917
- style: "currency"
2918
- },
2919
- percent: {
2920
- style: "percent"
2921
- }
2922
- },
2923
- date: {
2924
- short: {
2925
- month: "numeric",
2926
- day: "numeric",
2927
- year: "2-digit"
2928
- },
2929
- medium: {
2930
- month: "short",
2931
- day: "numeric",
2932
- year: "numeric"
2933
- },
2934
- long: {
2935
- month: "long",
2936
- day: "numeric",
2937
- year: "numeric"
2938
- },
2939
- full: {
2940
- weekday: "long",
2941
- month: "long",
2942
- day: "numeric",
2943
- year: "numeric"
2944
- }
2945
- },
2946
- time: {
2947
- short: {
2948
- hour: "numeric",
2949
- minute: "numeric"
2950
- },
2951
- medium: {
2952
- hour: "numeric",
2953
- minute: "numeric",
2954
- second: "numeric"
2955
- },
2956
- long: {
2957
- hour: "numeric",
2958
- minute: "numeric",
2959
- second: "numeric",
2960
- timeZoneName: "short"
2961
- },
2962
- full: {
2963
- hour: "numeric",
2964
- minute: "numeric",
2965
- second: "numeric",
2966
- timeZoneName: "short"
2967
- }
2968
- }
2969
- }, e;
2970
- }()
2971
- );
2972
- function bi(e, t) {
2973
- if (t == null)
2974
- return;
2975
- if (t in e)
2976
- return e[t];
2977
- const r = t.split(".");
2978
- let n = e;
2979
- for (let i = 0; i < r.length; i++)
2980
- if (typeof n == "object") {
2981
- if (i > 0) {
2982
- const o = r.slice(i, r.length).join(".");
2983
- if (o in n) {
2984
- n = n[o];
2985
- break;
2986
- }
2987
- }
2988
- n = n[r[i]];
2989
- } else
2990
- n = void 0;
2991
- return n;
2992
- }
2993
- const He = {}, yi = (e, t, r) => r && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = r), r), Ur = (e, t) => {
2994
- if (t == null)
2995
- return;
2996
- if (t in He && e in He[t])
2997
- return He[t][e];
2998
- const r = mt(t);
2999
- for (let n = 0; n < r.length; n++) {
3000
- const i = r[n], o = Ii(i, e);
3001
- if (o)
3002
- return yi(e, t, o);
3003
- }
3004
- };
3005
- let jt;
3006
- const Qe = dt({});
3007
- function wi(e) {
3008
- return jt[e] || null;
3009
- }
3010
- function Gr(e) {
3011
- return e in jt;
3012
- }
3013
- function Ii(e, t) {
3014
- if (!Gr(e))
3015
- return null;
3016
- const r = wi(e);
3017
- return bi(r, t);
3018
- }
3019
- function xi(e) {
3020
- if (e == null)
3021
- return;
3022
- const t = mt(e);
3023
- for (let r = 0; r < t.length; r++) {
3024
- const n = t[r];
3025
- if (Gr(n))
3026
- return n;
3027
- }
3028
- }
3029
- function Fr(e, ...t) {
3030
- delete He[e], Qe.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3031
- }
3032
- _e(
3033
- [Qe],
3034
- ([e]) => Object.keys(e)
3035
- );
3036
- Qe.subscribe((e) => jt = e);
3037
- const lt = {};
3038
- function Bi(e, t) {
3039
- lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3040
- }
3041
- function _r(e) {
3042
- return lt[e];
3043
- }
3044
- function Ti(e) {
3045
- return mt(e).map((t) => {
3046
- const r = _r(t);
3047
- return [t, r ? [...r] : []];
3048
- }).filter(([, t]) => t.length > 0);
3049
- }
3050
- function Ft(e) {
3051
- return e == null ? !1 : mt(e).some(
3052
- (t) => {
3053
- var r;
3054
- return (r = _r(t)) == null ? void 0 : r.size;
3055
- }
3056
- );
3057
- }
3058
- function Hi(e, t) {
3059
- return Promise.all(
3060
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
3061
- ).then((n) => Fr(e, ...n));
3062
- }
3063
- const ze = {};
3064
- function Qr(e) {
3065
- if (!Ft(e))
3066
- return e in ze ? ze[e] : Promise.resolve();
3067
- const t = Ti(e);
3068
- return ze[e] = Promise.all(
3069
- t.map(
3070
- ([r, n]) => Hi(r, n)
3071
- )
3072
- ).then(() => {
3073
- if (Ft(e))
3074
- return Qr(e);
3075
- delete ze[e];
3076
- }), ze[e];
3077
- }
3078
- const Ci = {
3079
- number: {
3080
- scientific: { notation: "scientific" },
3081
- engineering: { notation: "engineering" },
3082
- compactLong: { notation: "compact", compactDisplay: "long" },
3083
- compactShort: { notation: "compact", compactDisplay: "short" }
3084
- },
3085
- date: {
3086
- short: { month: "numeric", day: "numeric", year: "2-digit" },
3087
- medium: { month: "short", day: "numeric", year: "numeric" },
3088
- long: { month: "long", day: "numeric", year: "numeric" },
3089
- full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
3090
- },
3091
- time: {
3092
- short: { hour: "numeric", minute: "numeric" },
3093
- medium: { hour: "numeric", minute: "numeric", second: "numeric" },
3094
- long: {
3095
- hour: "numeric",
3096
- minute: "numeric",
3097
- second: "numeric",
3098
- timeZoneName: "short"
3099
- },
3100
- full: {
3101
- hour: "numeric",
3102
- minute: "numeric",
3103
- second: "numeric",
3104
- timeZoneName: "short"
3105
- }
3106
- }
3107
- }, Ri = {
3108
- fallbackLocale: null,
3109
- loadingDelay: 200,
3110
- formats: Ci,
3111
- warnOnMissingMessages: !0,
3112
- handleMissingMessage: void 0,
3113
- ignoreTag: !0
3114
- }, Si = Ri;
3115
- function Fe() {
3116
- return Si;
3117
- }
3118
- const St = dt(!1);
3119
- var Oi = Object.defineProperty, Ni = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
3120
- for (var r in t || (t = {}))
3121
- Di.call(t, r) && sr(e, r, t[r]);
3122
- if (ar)
3123
- for (var r of ar(t))
3124
- Pi.call(t, r) && sr(e, r, t[r]);
3125
- return e;
3126
- }, ki = (e, t) => Ni(e, Li(t));
3127
- let _t;
3128
- const ft = dt(null);
3129
- function ur(e) {
3130
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3131
- }
3132
- function mt(e, t = Fe().fallbackLocale) {
3133
- const r = ur(e);
3134
- return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
3135
- }
3136
- function Ne() {
3137
- return _t ?? void 0;
3138
- }
3139
- ft.subscribe((e) => {
3140
- _t = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3141
- });
3142
- const Ui = (e) => {
3143
- if (e && xi(e) && Ft(e)) {
3144
- const { loadingDelay: t } = Fe();
3145
- let r;
3146
- return typeof window < "u" && Ne() != null && t ? r = window.setTimeout(
3147
- () => St.set(!0),
3148
- t
3149
- ) : St.set(!0), Qr(e).then(() => {
3150
- ft.set(e);
3151
- }).finally(() => {
3152
- clearTimeout(r), St.set(!1);
3153
- });
3154
- }
3155
- return ft.set(e);
3156
- }, Ce = ki(Mi({}, ft), {
3157
- set: Ui
3158
- }), gt = (e) => {
3159
- const t = /* @__PURE__ */ Object.create(null);
3160
- return (n) => {
3161
- const i = JSON.stringify(n);
3162
- return i in t ? t[i] : t[i] = e(n);
3163
- };
3164
- };
3165
- var Gi = Object.defineProperty, ct = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
3166
- for (var r in t || (t = {}))
3167
- jr.call(t, r) && lr(e, r, t[r]);
3168
- if (ct)
3169
- for (var r of ct(t))
3170
- Jr.call(t, r) && lr(e, r, t[r]);
3171
- return e;
3172
- }, je = (e, t) => {
3173
- var r = {};
3174
- for (var n in e)
3175
- jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3176
- if (e != null && ct)
3177
- for (var n of ct(e))
3178
- t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
3179
- return r;
3180
- };
3181
- const qe = (e, t) => {
3182
- const { formats: r } = Fe();
3183
- if (e in r && t in r[e])
3184
- return r[e][t];
3185
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3186
- }, Fi = gt(
3187
- (e) => {
3188
- var t = e, { locale: r, format: n } = t, i = je(t, ["locale", "format"]);
3189
- if (r == null)
3190
- throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3191
- return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
3192
- }
3193
- ), _i = gt(
3194
- (e) => {
3195
- var t = e, { locale: r, format: n } = t, i = je(t, ["locale", "format"]);
3196
- if (r == null)
3197
- throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3198
- return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
3199
- }
3200
- ), Qi = gt(
3201
- (e) => {
3202
- var t = e, { locale: r, format: n } = t, i = je(t, ["locale", "format"]);
3203
- if (r == null)
3204
- throw new Error(
3205
- '[svelte-i18n] A "locale" must be set to format time values'
3206
- );
3207
- return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
3208
- }
3209
- ), ji = (e = {}) => {
3210
- var t = e, {
3211
- locale: r = Ne()
3212
- } = t, n = je(t, [
3213
- "locale"
3214
- ]);
3215
- return Fi(Jt({ locale: r }, n));
3216
- }, Ji = (e = {}) => {
3217
- var t = e, {
3218
- locale: r = Ne()
3219
- } = t, n = je(t, [
3220
- "locale"
3221
- ]);
3222
- return _i(Jt({ locale: r }, n));
3223
- }, Xi = (e = {}) => {
3224
- var t = e, {
3225
- locale: r = Ne()
3226
- } = t, n = je(t, [
3227
- "locale"
3228
- ]);
3229
- return Qi(Jt({ locale: r }, n));
3230
- }, zi = gt(
3231
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3232
- (e, t = Ne()) => new Ei(e, t, Fe().formats, {
3233
- ignoreTag: Fe().ignoreTag
3234
- })
3235
- ), Vi = (e, t = {}) => {
3236
- var r, n, i, o;
3237
- let f = t;
3238
- typeof e == "object" && (f = e, e = f.id);
3239
- const {
3240
- values: c,
3241
- locale: d = Ne(),
3242
- default: u
3243
- } = f;
3244
- if (d == null)
3245
- throw new Error(
3246
- "[svelte-i18n] Cannot format a message without first setting the initial locale."
3247
- );
3248
- let l = Ur(e, d);
3249
- if (!l)
3250
- l = (o = (i = (n = (r = Fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3251
- else if (typeof l != "string")
3252
- return console.warn(
3253
- `[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.`
3254
- ), l;
3255
- if (!c)
3256
- return l;
3257
- let m = l;
3258
- try {
3259
- m = zi(l, d).format(c);
3260
- } catch (g) {
3261
- g instanceof Error && console.warn(
3262
- `[svelte-i18n] Message "${e}" has syntax error:`,
3263
- g.message
3264
- );
3265
- }
3266
- return m;
3267
- }, Zi = (e, t) => Xi(t).format(e), qi = (e, t) => Ji(t).format(e), Yi = (e, t) => ji(t).format(e), Wi = (e, t = Ne()) => Ur(e, t), Ki = _e([Ce, Qe], () => Vi);
3268
- _e([Ce], () => Zi);
3269
- _e([Ce], () => qi);
3270
- _e([Ce], () => Yi);
3271
- _e([Ce, Qe], () => Wi);
3272
- function $i({ withLocale: e, translations: t }) {
3273
- Ce.subscribe((r) => {
3274
- r == null && (Qe.set(t), Ce.set(e));
3275
- });
3276
- }
3277
- function hr(e, t) {
3278
- Fr(e, t);
3279
- }
3280
- function eo(e) {
3281
- Ce.set(e);
3282
- }
3283
- const fr = {
3284
- en: {
3285
- loading: "Loading"
3286
- },
3287
- hr: {
3288
- loading: "Učitavanje"
3289
- },
3290
- ro: {
3291
- loading: "Se încarcă"
3292
- },
3293
- tr: {
3294
- loading: "Yükleniyor"
3295
- },
3296
- el: {
3297
- loading: "Φο’ρτωση"
3298
- },
3299
- es: {
3300
- loading: "Cargando"
3301
- },
3302
- hu: {
3303
- loading: "Betöltés"
3304
- },
3305
- "en-us": {
3306
- loading: "Loading"
3307
- }
3308
- };
3309
- var Qt = { exports: {} };
3310
- /** @license
3311
- * eventsource.js
3312
- * Available under MIT License (MIT)
3313
- * https://github.com/Yaffle/EventSource/
3314
- */
3315
- (function(e, t) {
3316
- (function(r) {
3317
- 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, m = r.fetch, g = r.Response, S = r.TextDecoder, U = r.TextEncoder, T = r.AbortController;
3318
- if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
3319
- u.readyState = "complete";
3320
- }, !1)), o == null && c != null && (o = function() {
3321
- return new c("Microsoft.XMLHTTP");
3322
- }), Object.create == null && (Object.create = function(a) {
3323
- function A() {
3324
- }
3325
- return A.prototype = a, new A();
3326
- }), Date.now || (Date.now = function() {
3327
- return (/* @__PURE__ */ new Date()).getTime();
3328
- }), T == null) {
3329
- var O = m;
3330
- m = function(a, A) {
3331
- var v = A.signal;
3332
- return O(a, { headers: A.headers, credentials: A.credentials, cache: A.cache }).then(function(p) {
3333
- var x = p.body.getReader();
3334
- return v._reader = x, v._aborted && v._reader.cancel(), {
3335
- status: p.status,
3336
- statusText: p.statusText,
3337
- headers: p.headers,
3338
- body: {
3339
- getReader: function() {
3340
- return x;
3341
- }
3342
- }
3343
- };
3344
- });
3345
- }, T = function() {
3346
- this.signal = {
3347
- _reader: null,
3348
- _aborted: !1
3349
- }, this.abort = function() {
3350
- this.signal._reader != null && this.signal._reader.cancel(), this.signal._aborted = !0;
3351
- };
3352
- };
3353
- }
3354
- function I() {
3355
- this.bitsNeeded = 0, this.codePoint = 0;
3356
- }
3357
- I.prototype.decode = function(a) {
3358
- function A(s, y, E) {
3359
- if (E === 1)
3360
- return s >= 128 >> y && s << y <= 2047;
3361
- if (E === 2)
3362
- return s >= 2048 >> y && s << y <= 55295 || s >= 57344 >> y && s << y <= 65535;
3363
- if (E === 3)
3364
- return s >= 65536 >> y && s << y <= 1114111;
3365
- throw new Error();
3366
- }
3367
- function v(s, y) {
3368
- if (s === 6 * 1)
3369
- return y >> 6 > 15 ? 3 : y > 31 ? 2 : 1;
3370
- if (s === 6 * 2)
3371
- return y > 15 ? 3 : 2;
3372
- if (s === 6 * 3)
3373
- return 3;
3374
- throw new Error();
3375
- }
3376
- for (var p = 65533, x = "", w = this.bitsNeeded, R = this.codePoint, X = 0; X < a.length; X += 1) {
3377
- var L = a[X];
3378
- w !== 0 && (L < 128 || L > 191 || !A(R << 6 | L & 63, w - 6, v(w, R))) && (w = 0, R = p, x += String.fromCharCode(R)), w === 0 ? (L >= 0 && L <= 127 ? (w = 0, R = L) : L >= 192 && L <= 223 ? (w = 6 * 1, R = L & 31) : L >= 224 && L <= 239 ? (w = 6 * 2, R = L & 15) : L >= 240 && L <= 247 ? (w = 6 * 3, R = L & 7) : (w = 0, R = p), w !== 0 && !A(R, w, v(w, R)) && (w = 0, R = p)) : (w -= 6, R = R << 6 | L & 63), w === 0 && (R <= 65535 ? x += String.fromCharCode(R) : (x += String.fromCharCode(55296 + (R - 65535 - 1 >> 10)), x += String.fromCharCode(56320 + (R - 65535 - 1 & 1023))));
3379
- }
3380
- return this.bitsNeeded = w, this.codePoint = R, x;
3381
- };
3382
- var J = function() {
3383
- try {
3384
- return new S().decode(new U().encode("test"), { stream: !0 }) === "test";
3385
- } catch (a) {
3386
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
3387
- }
3388
- return !1;
3389
- };
3390
- (S == null || U == null || !J()) && (S = I);
3391
- var H = function() {
3392
- };
3393
- function G(a) {
3394
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = H, this.onload = H, this.onerror = H, this.onreadystatechange = H, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = H;
3395
- }
3396
- G.prototype.open = function(a, A) {
3397
- this._abort(!0);
3398
- var v = this, p = this._xhr, x = 1, w = 0;
3399
- this._abort = function(E) {
3400
- v._sendTimeout !== 0 && (i(v._sendTimeout), v._sendTimeout = 0), (x === 1 || x === 2 || x === 3) && (x = 4, p.onload = H, p.onerror = H, p.onabort = H, p.onprogress = H, p.onreadystatechange = H, p.abort(), w !== 0 && (i(w), w = 0), E || (v.readyState = 4, v.onabort(null), v.onreadystatechange())), x = 0;
3401
- };
3402
- var R = function() {
3403
- if (x === 1) {
3404
- var E = 0, P = "", le = void 0;
3405
- if ("contentType" in p)
3406
- E = 200, P = "OK", le = p.contentType;
3407
- else
3408
- try {
3409
- E = p.status, P = p.statusText, le = p.getResponseHeader("Content-Type");
3410
- } catch {
3411
- E = 0, P = "", le = void 0;
3412
- }
3413
- E !== 0 && (x = 2, v.readyState = 2, v.status = E, v.statusText = P, v._contentType = le, v.onreadystatechange());
3414
- }
3415
- }, X = function() {
3416
- if (R(), x === 2 || x === 3) {
3417
- x = 3;
3418
- var E = "";
3419
- try {
3420
- E = p.responseText;
3421
- } catch {
3422
- }
3423
- v.readyState = 3, v.responseText = E, v.onprogress();
3424
- }
3425
- }, L = function(E, P) {
3426
- if ((P == null || P.preventDefault == null) && (P = {
3427
- preventDefault: H
3428
- }), X(), x === 1 || x === 2 || x === 3) {
3429
- if (x = 4, w !== 0 && (i(w), w = 0), v.readyState = 4, E === "load")
3430
- v.onload(P);
3431
- else if (E === "error")
3432
- v.onerror(P);
3433
- else if (E === "abort")
3434
- v.onabort(P);
3435
- else
3436
- throw new TypeError();
3437
- v.onreadystatechange();
3438
- }
3439
- }, s = function(E) {
3440
- p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && L(p.responseText === "" ? "error" : "load", E) : p.readyState === 3 ? "onprogress" in p || X() : p.readyState === 2 && R());
3441
- }, y = function() {
3442
- w = n(function() {
3443
- y();
3444
- }, 500), p.readyState === 3 && X();
3445
- };
3446
- "onload" in p && (p.onload = function(E) {
3447
- L("load", E);
3448
- }), "onerror" in p && (p.onerror = function(E) {
3449
- L("error", E);
3450
- }), "onabort" in p && (p.onabort = function(E) {
3451
- L("abort", E);
3452
- }), "onprogress" in p && (p.onprogress = X), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
3453
- s(E);
3454
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (A += (A.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(a, A, !0), "readyState" in p && (w = n(function() {
3455
- y();
3456
- }, 0));
3457
- }, G.prototype.abort = function() {
3458
- this._abort(!1);
3459
- }, G.prototype.getResponseHeader = function(a) {
3460
- return this._contentType;
3461
- }, G.prototype.setRequestHeader = function(a, A) {
3462
- var v = this._xhr;
3463
- "setRequestHeader" in v && v.setRequestHeader(a, A);
3464
- }, G.prototype.getAllResponseHeaders = function() {
3465
- return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
3466
- }, G.prototype.send = function() {
3467
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
3468
- var a = this;
3469
- a._sendTimeout = n(function() {
3470
- a._sendTimeout = 0, a.send();
3471
- }, 4);
3472
- return;
3473
- }
3474
- var A = this._xhr;
3475
- "withCredentials" in A && (A.withCredentials = this.withCredentials);
3476
- try {
3477
- A.send(void 0);
3478
- } catch (v) {
3479
- throw v;
3480
- }
3481
- };
3482
- function N(a) {
3483
- return a.replace(/[A-Z]/g, function(A) {
3484
- return String.fromCharCode(A.charCodeAt(0) + 32);
3485
- });
3486
- }
3487
- function b(a) {
3488
- for (var A = /* @__PURE__ */ Object.create(null), v = a.split(`\r
3489
- `), p = 0; p < v.length; p += 1) {
3490
- var x = v[p], w = x.split(": "), R = w.shift(), X = w.join(": ");
3491
- A[N(R)] = X;
3492
- }
3493
- this._map = A;
3494
- }
3495
- b.prototype.get = function(a) {
3496
- return this._map[N(a)];
3497
- }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
3498
- function B() {
3499
- }
3500
- B.prototype.open = function(a, A, v, p, x, w, R) {
3501
- a.open("GET", x);
3502
- var X = 0;
3503
- a.onprogress = function() {
3504
- var s = a.responseText, y = s.slice(X);
3505
- X += y.length, v(y);
3506
- }, a.onerror = function(s) {
3507
- s.preventDefault(), p(new Error("NetworkError"));
3508
- }, a.onload = function() {
3509
- p(null);
3510
- }, a.onabort = function() {
3511
- p(null);
3512
- }, a.onreadystatechange = function() {
3513
- if (a.readyState === o.HEADERS_RECEIVED) {
3514
- var s = a.status, y = a.statusText, E = a.getResponseHeader("Content-Type"), P = a.getAllResponseHeaders();
3515
- A(s, y, E, new b(P));
3516
- }
3517
- }, a.withCredentials = w;
3518
- for (var L in R)
3519
- Object.prototype.hasOwnProperty.call(R, L) && a.setRequestHeader(L, R[L]);
3520
- return a.send(), a;
3521
- };
3522
- function _(a) {
3523
- this._headers = a;
3524
- }
3525
- _.prototype.get = function(a) {
3526
- return this._headers.get(a);
3527
- };
3528
- function ee() {
3529
- }
3530
- ee.prototype.open = function(a, A, v, p, x, w, R) {
3531
- var X = null, L = new T(), s = L.signal, y = new S();
3532
- return m(x, {
3533
- headers: R,
3534
- credentials: w ? "include" : "same-origin",
3535
- signal: s,
3536
- cache: "no-store"
3537
- }).then(function(E) {
3538
- return X = E.body.getReader(), A(E.status, E.statusText, E.headers.get("Content-Type"), new _(E.headers)), new l(function(P, le) {
3539
- var Se = function() {
3540
- X.read().then(function(ae) {
3541
- if (ae.done)
3542
- P(void 0);
3543
- else {
3544
- var te = y.decode(ae.value, { stream: !0 });
3545
- v(te), Se();
3546
- }
3547
- }).catch(function(ae) {
3548
- le(ae);
3549
- });
3550
- };
3551
- Se();
3552
- });
3553
- }).catch(function(E) {
3554
- if (E.name !== "AbortError")
3555
- return E;
3556
- }).then(function(E) {
3557
- p(E);
3558
- }), {
3559
- abort: function() {
3560
- X?.cancel(), L.abort();
3561
- }
3562
- };
3563
- };
3564
- function ue() {
3565
- this._listeners = /* @__PURE__ */ Object.create(null);
3566
- }
3567
- function Ee(a) {
3568
- n(function() {
3569
- throw a;
3570
- }, 0);
3571
- }
3572
- ue.prototype.dispatchEvent = function(a) {
3573
- a.target = this;
3574
- var A = this._listeners[a.type];
3575
- if (A != null)
3576
- for (var v = A.length, p = 0; p < v; p += 1) {
3577
- var x = A[p];
3578
- try {
3579
- typeof x.handleEvent == "function" ? x.handleEvent(a) : x.call(this, a);
3580
- } catch (w) {
3581
- Ee(w);
3582
- }
3583
- }
3584
- }, ue.prototype.addEventListener = function(a, A) {
3585
- a = String(a);
3586
- var v = this._listeners, p = v[a];
3587
- p == null && (p = [], v[a] = p);
3588
- for (var x = !1, w = 0; w < p.length; w += 1)
3589
- p[w] === A && (x = !0);
3590
- x || p.push(A);
3591
- }, ue.prototype.removeEventListener = function(a, A) {
3592
- a = String(a);
3593
- var v = this._listeners, p = v[a];
3594
- if (p != null) {
3595
- for (var x = [], w = 0; w < p.length; w += 1)
3596
- p[w] !== A && x.push(p[w]);
3597
- x.length === 0 ? delete v[a] : v[a] = x;
3598
- }
3599
- };
3600
- function D(a) {
3601
- this.type = a, this.target = void 0;
3602
- }
3603
- function F(a, A) {
3604
- D.call(this, a), this.data = A.data, this.lastEventId = A.lastEventId;
3605
- }
3606
- F.prototype = Object.create(D.prototype);
3607
- function Z(a, A) {
3608
- D.call(this, a), this.status = A.status, this.statusText = A.statusText, this.headers = A.headers;
3609
- }
3610
- Z.prototype = Object.create(D.prototype);
3611
- function Q(a, A) {
3612
- D.call(this, a), this.error = A.error;
3613
- }
3614
- Q.prototype = Object.create(D.prototype);
3615
- var W = -1, me = 0, xe = 1, Be = 2, be = -1, de = 0, ce = 1, Je = 2, vt = 3, Ke = /^text\/event\-stream(;.*)?$/i, $e = 1e3, et = 18e6, Le = function(a, A) {
3616
- var v = a == null ? A : parseInt(a, 10);
3617
- return v !== v && (v = A), Re(v);
3618
- }, Re = function(a) {
3619
- return Math.min(Math.max(a, $e), et);
3620
- }, Te = function(a, A, v) {
3621
- try {
3622
- typeof A == "function" && A.call(a, v);
3623
- } catch (p) {
3624
- Ee(p);
3625
- }
3626
- };
3627
- function oe(a, A) {
3628
- ue.call(this), A = A || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, bt(this, a, A);
3629
- }
3630
- function tt() {
3631
- return o != null && "withCredentials" in o.prototype || f == null ? new o() : new f();
3632
- }
3633
- var Et = m != null && g != null && "body" in g.prototype;
3634
- function bt(a, A, v) {
3635
- A = String(A);
3636
- var p = !!v.withCredentials, x = v.lastEventIdQueryParameterName || "lastEventId", w = Re(1e3), R = Le(v.heartbeatTimeout, 45e3), X = "", L = w, s = !1, y = 0, E = v.headers || {}, P = v.Transport, le = Et && P == null ? void 0 : new G(P != null ? new P() : tt()), Se = P != null && typeof P != "string" ? new P() : le == null ? new ee() : new B(), ae = void 0, te = 0, pe = W, De = "", nt = "", ye = "", it = "", re = de, yt = 0, Oe = 0, Xr = function(K, q, he, fe) {
3637
- if (pe === me)
3638
- if (K === 200 && he != null && Ke.test(he)) {
3639
- pe = xe, s = Date.now(), L = w, a.readyState = xe;
3640
- var ne = new Z("open", {
3641
- status: K,
3642
- statusText: q,
3643
- headers: fe
3644
- });
3645
- a.dispatchEvent(ne), Te(a, a.onopen, ne);
3646
- } else {
3647
- var $ = "";
3648
- K !== 200 ? (q && (q = q.replace(/\s+/g, " ")), $ = "EventSource's response has a status " + K + " " + q + " that is not 200. Aborting the connection.") : $ = "EventSource's response has a Content-Type specifying an unsupported type: " + (he == null ? "-" : he.replace(/\s+/g, " ")) + ". Aborting the connection.", wt();
3649
- var ne = new Z("error", {
3650
- status: K,
3651
- statusText: q,
3652
- headers: fe
3653
- });
3654
- a.dispatchEvent(ne), Te(a, a.onerror, ne), console.error($);
3655
- }
3656
- }, zr = function(K) {
3657
- if (pe === xe) {
3658
- for (var q = -1, he = 0; he < K.length; he += 1) {
3659
- var fe = K.charCodeAt(he);
3660
- (fe === 10 || fe === 13) && (q = he);
3661
- }
3662
- var ne = (q !== -1 ? it : "") + K.slice(0, q + 1);
3663
- it = (q === -1 ? it : "") + K.slice(q + 1), K !== "" && (s = Date.now(), y += K.length);
3664
- for (var $ = 0; $ < ne.length; $ += 1) {
3665
- var fe = ne.charCodeAt($);
3666
- if (re === be && fe === 10)
3667
- re = de;
3668
- else if (re === be && (re = de), fe === 13 || fe === 10) {
3669
- if (re !== de) {
3670
- re === ce && (Oe = $ + 1);
3671
- var we = ne.slice(yt, Oe - 1), Ie = ne.slice(Oe + (Oe < $ && ne.charCodeAt(Oe) === 32 ? 1 : 0), $);
3672
- we === "data" ? (De += `
3673
- `, De += Ie) : we === "id" ? nt = Ie : we === "event" ? ye = Ie : we === "retry" ? (w = Le(Ie, w), L = w) : we === "heartbeatTimeout" && (R = Le(Ie, R), te !== 0 && (i(te), te = n(function() {
3674
- Xe();
3675
- }, R)));
3676
- }
3677
- if (re === de) {
3678
- if (De !== "") {
3679
- X = nt, ye === "" && (ye = "message");
3680
- var Pe = new F(ye, {
3681
- data: De.slice(1),
3682
- lastEventId: nt
3683
- });
3684
- if (a.dispatchEvent(Pe), ye === "open" ? Te(a, a.onopen, Pe) : ye === "message" ? Te(a, a.onmessage, Pe) : ye === "error" && Te(a, a.onerror, Pe), pe === Be)
3685
- return;
3686
- }
3687
- De = "", ye = "";
3688
- }
3689
- re = fe === 13 ? be : de;
3690
- } else
3691
- re === de && (yt = $, re = ce), re === ce ? fe === 58 && (Oe = $ + 1, re = Je) : re === Je && (re = vt);
3692
- }
3693
- }
3694
- }, Xt = function(K) {
3695
- if (pe === xe || pe === me) {
3696
- pe = W, te !== 0 && (i(te), te = 0), te = n(function() {
3697
- Xe();
3698
- }, L), L = Re(Math.min(w * 16, L * 2)), a.readyState = me;
3699
- var q = new Q("error", { error: K });
3700
- a.dispatchEvent(q), Te(a, a.onerror, q), K != null && console.error(K);
3701
- }
3702
- }, wt = function() {
3703
- pe = Be, ae != null && (ae.abort(), ae = void 0), te !== 0 && (i(te), te = 0), a.readyState = Be;
3704
- }, Xe = function() {
3705
- if (te = 0, pe !== W) {
3706
- if (!s && ae != null)
3707
- Xt(new Error("No activity within " + R + " milliseconds. " + (pe === me ? "No response received." : y + " chars received.") + " Reconnecting.")), ae != null && (ae.abort(), ae = void 0);
3708
- else {
3709
- var K = Math.max((s || Date.now()) + R - Date.now(), 1);
3710
- s = !1, te = n(function() {
3711
- Xe();
3712
- }, K);
3713
- }
3714
- return;
3715
- }
3716
- s = !1, y = 0, te = n(function() {
3717
- Xe();
3718
- }, R), pe = me, De = "", ye = "", nt = X, it = "", yt = 0, Oe = 0, re = de;
3719
- var q = A;
3720
- if (A.slice(0, 5) !== "data:" && A.slice(0, 5) !== "blob:" && X !== "") {
3721
- var he = A.indexOf("?");
3722
- q = he === -1 ? A : A.slice(0, he + 1) + A.slice(he + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ie, Pe) {
3723
- return Pe === x ? "" : Ie;
3724
- }), q += (A.indexOf("?") === -1 ? "?" : "&") + x + "=" + encodeURIComponent(X);
3725
- }
3726
- var fe = a.withCredentials, ne = {};
3727
- ne.Accept = "text/event-stream";
3728
- var $ = a.headers;
3729
- if ($ != null)
3730
- for (var we in $)
3731
- Object.prototype.hasOwnProperty.call($, we) && (ne[we] = $[we]);
3732
- try {
3733
- ae = Se.open(le, Xr, zr, Xt, q, fe, ne);
3734
- } catch (Ie) {
3735
- throw wt(), Ie;
3736
- }
3737
- };
3738
- a.url = A, a.readyState = me, a.withCredentials = p, a.headers = E, a._close = wt, Xe();
3739
- }
3740
- oe.prototype = Object.create(ue.prototype), oe.prototype.CONNECTING = me, oe.prototype.OPEN = xe, oe.prototype.CLOSED = Be, oe.prototype.close = function() {
3741
- this._close();
3742
- }, oe.CONNECTING = me, oe.OPEN = xe, oe.CLOSED = Be, oe.prototype.withCredentials = void 0;
3743
- var rt = d;
3744
- o != null && (d == null || !("withCredentials" in d.prototype)) && (rt = oe), function(a) {
3745
- {
3746
- var A = a(t);
3747
- A !== void 0 && (e.exports = A);
3748
- }
3749
- }(function(a) {
3750
- a.EventSourcePolyfill = oe, a.NativeEventSource = d, a.EventSource = rt;
3751
- });
3752
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : fn : globalThis);
3753
- })(Qt, Qt.exports);
3754
- var to = Qt.exports;
3755
- const ro = `
3756
- data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d13uF1Vnf/x93fvc25PIYAQmorYCCTBUBVSqJbBNlZ0sI3+1BkLguKMo8Yyo0IAxdFnnLGPZewgKlLTIIQSQxK6SE8hJJB+29l7/f64QQMkN7fsc7577/N5PQ+PSu7d6wMmd3/OWmuvbUimwtxJXcTxywmcDkwFDgTGA+abTGQnbr8Dkpp3CpFniuNApdJDS8sqqtXfkFTPtzMfXesdq0x0U8pImDv5AKLwObAzgDbvPCJDogIgRWEGXV330NF6hr1p3RLvOGWgAjBKYe7MCvHjnyNwFtDunUdkWFQApGiiCMZ0LSSZcKq964Ee7zhFFnkHKLKwaNIEosf/SOBf0c1fRKT+0hQ2bjqB2to14Zf7vcg7TpGpAIxQuPqwfeiPFwMneWcREWk6PdvGsX7dsvDDfQ7zjlJUKgAjEG6f1EI1+jnwfO8sIiJNq6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uedFQfeMUtH/mWXy0hufC0z0jiEi5dPXX4vuP/Co471zSHZUAMqkagd7RxCR8kqS9DjvDJIdFYAySUxv9BOR+knCPt4RJDsqAGUSpS3eEUSkvIKFdu8Mkh0VABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
3757
- `;
3758
- if (typeof window < "u") {
3759
- let e = function(t) {
3760
- return function(...r) {
3761
- try {
3762
- return t.apply(this, r);
3763
- } catch (n) {
3764
- 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"))
3765
- return !1;
3766
- throw n;
3767
- }
3768
- };
3769
- };
3770
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-9iTIINaq.js").then((t) => t.L).then(({ default: t }) => {
3771
- !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3772
- });
3773
- }
3774
- function no(e) {
3775
- $r(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}");
3776
- }
3777
- function cr(e, t, r) {
3778
- const n = e.slice();
3779
- return n[63] = t[r], n[65] = r, n;
3780
- }
3781
- function dr(e) {
3782
- let t, r, n, i = (
3783
- /*$_*/
3784
- e[14]("loading") + ""
3785
- ), o, f, c, d, u, l;
3786
- return {
3787
- c() {
3788
- t = Y("div"), r = Y("div"), n = Y("span"), o = br(i), f = ge(), c = Y("div"), d = Y("casino-tournaments-rank"), u = ge(), l = Y("div"), l.innerHTML = "", h(n, "part", "TournamentInfo_Name_link"), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), j(d, "displayin", "col"), j(d, "showicon", "false"), j(d, "userrank", "-"), j(d, "prize", "-"), j(d, "overallrank", "-"), j(d, "tournamentid", ""), j(
3789
- d,
3790
- "mbsource",
3791
- /*mbsource*/
3792
- e[3]
3793
- ), j(
3794
- d,
3795
- "clientstyling",
3796
- /*clientstyling*/
3797
- e[1]
3798
- ), j(
3799
- d,
3800
- "clientstylingurl",
3801
- /*clientstylingurl*/
3802
- e[2]
3803
- ), 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"), nn(t, "height", "200px");
3804
- },
3805
- m(m, g) {
3806
- We(m, t, g), C(t, r), C(r, n), C(n, o), C(t, f), C(t, c), C(c, d), C(t, u), C(t, l);
3807
- },
3808
- p(m, g) {
3809
- g[0] & /*$_*/
3810
- 16384 && i !== (i = /*$_*/
3811
- m[14]("loading") + "") && Er(o, i), g[0] & /*mbsource*/
3812
- 8 && j(
3813
- d,
3814
- "mbsource",
3815
- /*mbsource*/
3816
- m[3]
3817
- ), g[0] & /*clientstyling*/
3818
- 2 && j(
3819
- d,
3820
- "clientstyling",
3821
- /*clientstyling*/
3822
- m[1]
3823
- ), g[0] & /*clientstylingurl*/
3824
- 4 && j(
3825
- d,
3826
- "clientstylingurl",
3827
- /*clientstylingurl*/
3828
- m[2]
3829
- );
3830
- },
3831
- d(m) {
3832
- m && Ye(t);
3833
- }
3834
- };
3835
- }
3836
- function pr(e) {
3837
- let t, r, n, i = (
3838
- /*currentTournament*/
3839
- e[8].name + ""
3840
- ), o, f, c, d, u, l, m, g, S, U, T, O, I, J, H, G = Vt(
3841
- /*tournamentList*/
3842
- e[5]
3843
- ), N = [];
3844
- for (let b = 0; b < G.length; b += 1)
3845
- N[b] = Ar(cr(e, G, b));
3846
- return {
3847
- c() {
3848
- t = Y("div"), r = Y("div"), n = Y("span"), o = br(i), c = ge(), d = Y("div"), u = Y("casino-tournaments-rank"), U = ge(), T = Y("div");
3849
- for (let b = 0; b < N.length; b += 1)
3850
- N[b].c();
3851
- h(n, "part", "TournamentInfo_Name_link"), h(n, "class", "TournamentNameLink"), h(n, "title", f = /*currentTournament*/
3852
- e[8].name), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), j(u, "displayin", "col"), j(u, "showicon", "false"), j(u, "userrank", l = /*currentTournament*/
3853
- e[8].rank), j(
3854
- u,
3855
- "mbsource",
3856
- /*mbsource*/
3857
- e[3]
3858
- ), j(u, "prize", m = /*currentTournament*/
3859
- e[8].prize), j(u, "overallrank", g = /*currentTournament*/
3860
- e[8].overallRank), j(u, "tournamentid", S = /*currentTournament*/
3861
- e[8].id), j(
3862
- u,
3863
- "clientstyling",
3864
- /*clientstyling*/
3865
- e[1]
3866
- ), j(
3867
- u,
3868
- "clientstylingurl",
3869
- /*clientstylingurl*/
3870
- e[2]
3871
- ), h(d, "part", "TournamentInfo_Rank"), h(d, "class", "rank"), h(T, "part", "TournamentInfo_Points"), h(T, "class", "circle"), h(t, "part", "TournamentInfo"), h(t, "class", "TournamentInfo");
3872
- },
3873
- m(b, B) {
3874
- We(b, t, B), C(t, r), C(r, n), C(n, o), C(t, c), C(t, d), C(d, u), C(t, U), C(t, T);
3875
- for (let _ = 0; _ < N.length; _ += 1)
3876
- N[_] && N[_].m(T, null);
3877
- e[28](t), I = !0, J || (H = st(
3878
- n,
3879
- "click",
3880
- /*click_handler_1*/
3881
- e[27]
3882
- ), J = !0);
3883
- },
3884
- p(b, B) {
3885
- if ((!I || B[0] & /*currentTournament*/
3886
- 256) && i !== (i = /*currentTournament*/
3887
- b[8].name + "") && Er(o, i), (!I || B[0] & /*currentTournament*/
3888
- 256 && f !== (f = /*currentTournament*/
3889
- b[8].name)) && h(n, "title", f), (!I || B[0] & /*currentTournament*/
3890
- 256 && l !== (l = /*currentTournament*/
3891
- b[8].rank)) && j(u, "userrank", l), (!I || B[0] & /*mbsource*/
3892
- 8) && j(
3893
- u,
3894
- "mbsource",
3895
- /*mbsource*/
3896
- b[3]
3897
- ), (!I || B[0] & /*currentTournament*/
3898
- 256 && m !== (m = /*currentTournament*/
3899
- b[8].prize)) && j(u, "prize", m), (!I || B[0] & /*currentTournament*/
3900
- 256 && g !== (g = /*currentTournament*/
3901
- b[8].overallRank)) && j(u, "overallrank", g), (!I || B[0] & /*currentTournament*/
3902
- 256 && S !== (S = /*currentTournament*/
3903
- b[8].id)) && j(u, "tournamentid", S), (!I || B[0] & /*clientstyling*/
3904
- 2) && j(
3905
- u,
3906
- "clientstyling",
3907
- /*clientstyling*/
3908
- b[1]
3909
- ), (!I || B[0] & /*clientstylingurl*/
3910
- 4) && j(
3911
- u,
3912
- "clientstylingurl",
3913
- /*clientstylingurl*/
3914
- b[2]
3915
- ), B[0] & /*currentTournamentIdx, tournamentList*/
3916
- 96) {
3917
- G = Vt(
3918
- /*tournamentList*/
3919
- b[5]
3920
- );
3921
- let _;
3922
- for (_ = 0; _ < G.length; _ += 1) {
3923
- const ee = cr(b, G, _);
3924
- N[_] ? N[_].p(ee, B) : (N[_] = Ar(ee), N[_].c(), N[_].m(T, null));
3925
- }
3926
- for (; _ < N.length; _ += 1)
3927
- N[_].d(1);
3928
- N.length = G.length;
3929
- }
3930
- },
3931
- i(b) {
3932
- I || (b && an(() => {
3933
- I && (O || (O = Zt(t, Yt, { delay: 250, duration: 300 }, !0)), O.run(1));
3934
- }), I = !0);
3935
- },
3936
- o(b) {
3937
- b && (O || (O = Zt(t, Yt, { delay: 250, duration: 300 }, !1)), O.run(0)), I = !1;
3938
- },
3939
- d(b) {
3940
- b && Ye(t), on(N, b), e[28](null), b && O && O.end(), J = !1, H();
3941
- }
3942
- };
3943
- }
3944
- function Ar(e) {
3945
- let t, r, n;
3946
- return {
3947
- c() {
3948
- t = se("svg"), r = se("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*/
3949
- e[6] == /*idx*/
3950
- e[65] ? "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");
3951
- },
3952
- m(i, o) {
3953
- We(i, t, o), C(t, r);
3954
- },
3955
- p(i, o) {
3956
- o[0] & /*currentTournamentIdx*/
3957
- 64 && n !== (n = /*currentTournamentIdx*/
3958
- i[6] == /*idx*/
3959
- i[65] ? "active" : "") && h(t, "class", n);
3960
- },
3961
- d(i) {
3962
- i && Ye(t);
3963
- }
3964
- };
3965
- }
3966
- function mr(e) {
3967
- let t, r;
3968
- return {
3969
- c() {
3970
- t = se("svg"), r = se("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");
3971
- },
3972
- m(n, i) {
3973
- We(n, t, i), C(t, r);
3974
- },
3975
- d(n) {
3976
- n && Ye(t);
3977
- }
3978
- };
3979
- }
3980
- function io(e) {
3981
- let t, r, n, i, o, f, c, d, u, l, m, g, S, U, T, O, I, J, H, G, N, b, B, _, ee, ue, Ee, D = !/*tournamentList*/
3982
- e[5] && dr(e), F = (
3983
- /*tournamentList*/
3984
- e[5] && /*tournamentList*/
3985
- e[5].length > 0 && pr(e)
3986
- ), Z = (
3987
- /*isLast*/
3988
- e[10] && mr()
3989
- );
3990
- return {
3991
- c() {
3992
- t = Y("div"), r = Y("div"), n = Y("div"), i = se("svg"), o = se("path"), c = ge(), D && D.c(), d = ge(), F && F.c(), u = ge(), l = Y("div"), m = se("svg"), g = se("path"), S = ge(), Z && Z.c(), U = ge(), T = Y("section"), O = Y("div"), I = se("svg"), J = se("rect"), H = se("defs"), G = se("pattern"), N = se("use"), b = se("image"), _ = ge(), ee = Y("div"), ee.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*/
3993
- (e[9] ? "Disabled" : "")), h(g, "fill-rule", "evenodd"), h(g, "clip-rule", "evenodd"), h(g, "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(m, "width", "6"), h(m, "height", "10"), h(m, "fill", "currentColor"), h(m, "viewBox", "0 0 6 10"), h(m, "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(
3994
- J,
3995
- "width",
3996
- /*iconsize*/
3997
- e[0]
3998
- ), h(
3999
- J,
4000
- "height",
4001
- /*iconsize*/
4002
- e[0]
4003
- ), h(J, "fill", "url(#pattern0)"), xt(N, "xlink:href", "#image0_2606_356"), h(N, "transform", "scale(0.00195312)"), h(G, "id", "pattern0"), h(G, "patternContentUnits", "objectBoundingBox"), h(G, "width", "1"), h(G, "height", "1"), h(b, "id", "image0_2606_356"), h(b, "width", "512"), h(b, "height", "512"), xt(
4004
- b,
4005
- "xlink:href",
4006
- /*iconHref*/
4007
- e[13]
4008
- ), h(
4009
- I,
4010
- "width",
4011
- /*iconsize*/
4012
- e[0]
4013
- ), h(
4014
- I,
4015
- "height",
4016
- /*iconsize*/
4017
- e[0]
4018
- ), h(I, "viewBox", B = `0 0 ${/*iconsize*/
4019
- e[0]} ${/*iconsize*/
4020
- e[0]}`), h(I, "fill", "none"), h(I, "xmlns", "http://www.w3.org/2000/svg"), h(I, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(O, "class", "svg"), h(O, "part", "Icon"), h(ee, "class", "restoreButton"), h(ee, "part", "RestoreButton"), h(T, "id", "animator"), h(T, "part", "Animator");
4021
- },
4022
- m(Q, W) {
4023
- We(Q, t, W), C(t, r), C(r, n), C(n, i), C(i, o), C(r, c), D && D.m(r, null), C(r, d), F && F.m(r, null), C(r, u), C(r, l), C(l, m), C(m, g), C(l, S), Z && Z.m(l, null), e[30](r), C(t, U), C(t, T), C(T, O), C(O, I), C(I, J), C(I, H), C(H, G), C(G, N), C(H, b), C(T, _), C(T, ee), e[31](T), e[33](t), ue || (Ee = [
4024
- st(
4025
- n,
4026
- "click",
4027
- /*click_handler*/
4028
- e[26]
4029
- ),
4030
- st(
4031
- l,
4032
- "click",
4033
- /*click_handler_2*/
4034
- e[29]
4035
- ),
4036
- st(
4037
- T,
4038
- "click",
4039
- /*click_handler_3*/
4040
- e[32]
4041
- )
4042
- ], ue = !0);
4043
- },
4044
- p(Q, W) {
4045
- W[0] & /*isFirst*/
4046
- 512 && f !== (f = "ArrowLeft " + /*isFirst*/
4047
- (Q[9] ? "Disabled" : "")) && h(n, "class", f), /*tournamentList*/
4048
- Q[5] ? D && (D.d(1), D = null) : D ? D.p(Q, W) : (D = dr(Q), D.c(), D.m(r, d)), /*tournamentList*/
4049
- Q[5] && /*tournamentList*/
4050
- Q[5].length > 0 ? F ? (F.p(Q, W), W[0] & /*tournamentList*/
4051
- 32 && It(F, 1)) : (F = pr(Q), F.c(), It(F, 1), F.m(r, u)) : F && (sn(), zt(F, 1, 1, () => {
4052
- F = null;
4053
- }), en()), /*isLast*/
4054
- Q[10] ? Z || (Z = mr(), Z.c(), Z.m(l, null)) : Z && (Z.d(1), Z = null), W[0] & /*iconsize*/
4055
- 1 && h(
4056
- J,
4057
- "width",
4058
- /*iconsize*/
4059
- Q[0]
4060
- ), W[0] & /*iconsize*/
4061
- 1 && h(
4062
- J,
4063
- "height",
4064
- /*iconsize*/
4065
- Q[0]
4066
- ), W[0] & /*iconHref*/
4067
- 8192 && xt(
4068
- b,
4069
- "xlink:href",
4070
- /*iconHref*/
4071
- Q[13]
4072
- ), W[0] & /*iconsize*/
4073
- 1 && h(
4074
- I,
4075
- "width",
4076
- /*iconsize*/
4077
- Q[0]
4078
- ), W[0] & /*iconsize*/
4079
- 1 && h(
4080
- I,
4081
- "height",
4082
- /*iconsize*/
4083
- Q[0]
4084
- ), W[0] & /*iconsize*/
4085
- 1 && B !== (B = `0 0 ${/*iconsize*/
4086
- Q[0]} ${/*iconsize*/
4087
- Q[0]}`) && h(I, "viewBox", B);
4088
- },
4089
- i(Q) {
4090
- It(F);
4091
- },
4092
- o(Q) {
4093
- zt(F);
4094
- },
4095
- d(Q) {
4096
- Q && Ye(t), D && D.d(), F && F.d(), Z && Z.d(), e[30](null), e[31](null), e[33](null), ue = !1, vr(Ee);
4097
- }
4098
- };
4099
- }
4100
- let Ot = 1, Nt = 300;
4101
- function oo(e, t, r) {
4102
- let n, i;
4103
- tn(e, Ki, (s) => r(14, i = s));
4104
- let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: m = "" } = t, { clientstyling: g = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: U = "" } = t, { mbsource: T } = t, O, I = [], J, H = 0, G = !0, N = !1, b, B, _ = null, ee = null, ue, Ee = !1, D, F;
4105
- $i({ withLocale: "en", translations: {} });
4106
- const Z = () => {
4107
- fetch(U).then((y) => y.json()).then((y) => {
4108
- Object.keys(y).forEach((E) => {
4109
- hr(E, y[E]);
4110
- });
4111
- }).catch((y) => {
4112
- console.log(y);
4113
- });
4114
- };
4115
- Object.keys(fr).forEach((s) => {
4116
- hr(s, fr[s]);
4117
- });
4118
- const Q = (s) => {
4119
- s.data && s.data.type == "TournamentList" && r(5, I = s.data.tournamentList);
4120
- }, W = () => {
4121
- o.length > 0 && o != "false";
4122
- }, me = () => {
4123
- eo(c);
4124
- }, xe = () => {
4125
- I.length !== 0 && (ce.curTournament.hide(), setTimeout(
4126
- () => {
4127
- r(6, H = (H + 1) % I.length), ce.curTournament.show();
4128
- },
4129
- Nt * 1.5
4130
- ));
4131
- }, Be = () => {
4132
- clearInterval(ue), ue = setInterval(
4133
- () => {
4134
- Ee || xe();
4135
- },
4136
- Number(u) * 1e3
4137
- );
4138
- }, be = (s) => {
4139
- ce.curTournament.hide(), Be(), s > 0 && N && vt(), !(s > 0 && N || s < 0 && G) && setTimeout(
4140
- () => {
4141
- r(6, H = H + s), ce.curTournament.show();
4142
- },
4143
- Nt * 1.5
4144
- );
4145
- }, de = (s) => setTimeout(() => s(), Ot * 1e3), ce = {
4146
- icon: {
4147
- init() {
4148
- r(11, D.style.transition = `all ${Ot}s ease-in-out`, D);
4149
- },
4150
- show() {
4151
- r(11, D.style.display = "flex", D), de(() => r(11, D.style.opacity = "1", D));
4152
- },
4153
- hide() {
4154
- r(11, D.style.display = "none", D), r(11, D.style.opacity = "0", D);
4155
- }
4156
- },
4157
- slider: {
4158
- init() {
4159
- r(7, B.style.transition = `all ${Ot}s ease-in-out`, B);
4160
- },
4161
- show() {
4162
- r(7, B.style.opacity = "1", B), r(7, B.style.transform = null, B), document.querySelector("body").style["overflow-x"] = "hidden";
4163
- },
4164
- hide() {
4165
- this.init(), r(7, B.style.opacity = "0", B), r(7, B.style.transform = `translateX(${B.clientWidth + 20}px)`, B), de(() => document.querySelector("body").setAttribute("style", null));
4166
- }
4167
- },
4168
- curTournament: {
4169
- init() {
4170
- r(12, F.style.transition = `all ${Nt}ms linear`, F);
4171
- },
4172
- show() {
4173
- r(12, F.style.opacity = "1", F);
4174
- },
4175
- hide() {
4176
- this.init(), r(12, F.style.opacity = "0", F);
4177
- }
4178
- }
4179
- }, Je = () => {
4180
- ce.slider.show(), ce.icon.hide(), Ee = !1;
4181
- }, vt = () => {
4182
- ce.slider.hide(), ce.icon.show(), Ee = !0;
4183
- }, Ke = (s) => ({
4184
- id: s.tournament.id,
4185
- name: s.tournament.nameOrTitle,
4186
- rank: s.leaderBoard ? s.leaderBoard.rank : "-",
4187
- overallRank: s.endRank,
4188
- prize: s.leaderBoard && s.leaderBoard.prizeName ? s.leaderBoard.prizeName : "-"
4189
- }), $e = (s) => {
4190
- window.postMessage(
4191
- {
4192
- type: "MyTournamentFromNavClicked",
4193
- tournamentid: s,
4194
- showLeaderboard: !0
4195
- },
4196
- window.location.href
4197
- );
4198
- }, et = (s, y, E) => (s.append("pagination", `offset=${y},limit=${E}`), s.append("sortField", "StartTime"), s.append("sortOrder", "desc"), s.append("fields", "id,nameOrTitle,state"), s.append("language", c), s.append("filter", "state=Running"), s), Le = (s) => {
4199
- let y = Ke(s), E = I.findIndex((P) => P.id == y.id);
4200
- H == E && window.postMessage(
4201
- {
4202
- type: `TournamentRankInfo_${y.id}}`,
4203
- rankInfo: {
4204
- rank: y.rank,
4205
- overallRank: y.overallRank,
4206
- prize: y.prize
4207
- }
4208
- },
4209
- window.location.href
4210
- ), r(5, I[E] = y, I);
4211
- }, Re = (s) => {
4212
- if (s.data)
4213
- try {
4214
- let y = s.data, E = JSON.parse(y);
4215
- E.messageType == "PlayerLeaderBoardsUpdate" && E.items ? E.items.forEach((P, le) => {
4216
- Le(P);
4217
- }) : E.messageType == "PlayerLeaderBoardUpdate" && E.item && Le(E.item);
4218
- } catch (y) {
4219
- console.log(y);
4220
- }
4221
- }, Te = (s) => s.touches || s.originalEvent.touches, oe = (s) => {
4222
- const y = Te(s)[0];
4223
- _ = y.clientX, ee = y.clientY;
4224
- }, tt = (s) => {
4225
- if (!_ || !ee)
4226
- return;
4227
- let y = s.touches[0].clientX, E = s.touches[0].clientY, P = _ - y, le = ee - E;
4228
- Math.abs(P) > Math.abs(le) && (P > 0 ? be(1) : be(-1)), _ = null, ee = null;
4229
- }, Et = () => {
4230
- B.addEventListener("touchstart", oe, { passive: !0 }), B.addEventListener("touchmove", tt, { passive: !0 });
4231
- }, bt = () => {
4232
- if (!f)
4233
- return;
4234
- b && (b.removeEventListener("message", Re), b.close());
4235
- let s = new URL(`${f}/v1/tournaments/leaderboard/player/updates`);
4236
- et(s.searchParams, 0, d), b = new to.EventSourcePolyfill(
4237
- s.href,
4238
- {
4239
- headers: {
4240
- accept: "text/event-stream",
4241
- "X-SessionId": o
4242
- }
4243
- }
4244
- ), typeof b < "u" && b.addEventListener("message", Re);
4245
- }, rt = () => {
4246
- if (!f || !o)
4247
- return;
4248
- let s = new URL(`${f}/v1/tournaments/leaderboard/player`), y = new Headers();
4249
- et(s.searchParams, 0, d), o && y.append("X-SessionID", o), fetch(s, { method: "GET", headers: y }).then((P) => P.json()).then((P) => {
4250
- if (!P.items)
4251
- return;
4252
- r(5, I = []), P.items.forEach((Se, ae) => {
4253
- I.push(Ke(Se));
4254
- }), r(8, J = I[H]), bt(), Be();
4255
- });
4256
- };
4257
- let a = !1;
4258
- rn(() => (r(25, a = !0), window.addEventListener("message", Q, !1), setTimeout(
4259
- () => {
4260
- r(18, c = "tr");
4261
- },
4262
- 5e3
4263
- ), () => {
4264
- clearInterval(ue), window.removeEventListener("message", Q), b && b.removeEventListener("message", Re), B.removeEventListener("touchstart", oe), B.removeEventListener("touchmove", tt);
4265
- }));
4266
- const A = () => be(-1), v = () => $e(J.id);
4267
- function p(s) {
4268
- ot[s ? "unshift" : "push"](() => {
4269
- F = s, r(12, F);
4270
- });
4271
- }
4272
- const x = () => be(1);
4273
- function w(s) {
4274
- ot[s ? "unshift" : "push"](() => {
4275
- B = s, r(7, B);
4276
- });
4277
- }
4278
- function R(s) {
4279
- ot[s ? "unshift" : "push"](() => {
4280
- D = s, r(11, D);
4281
- });
4282
- }
4283
- const X = () => Je();
4284
- function L(s) {
4285
- ot[s ? "unshift" : "push"](() => {
4286
- O = s, r(4, O);
4287
- });
4288
- }
4289
- return e.$$set = (s) => {
4290
- "session" in s && r(19, o = s.session), "endpoint" in s && r(20, f = s.endpoint), "lang" in s && r(18, c = s.lang), "tournamentsshownnumber" in s && r(21, d = s.tournamentsshownnumber), "looptime" in s && r(22, u = s.looptime), "iconsize" in s && r(0, l = s.iconsize), "icon" in s && r(23, m = s.icon), "clientstyling" in s && r(1, g = s.clientstyling), "clientstylingurl" in s && r(2, S = s.clientstylingurl), "translationurl" in s && r(24, U = s.translationurl), "mbsource" in s && r(3, T = s.mbsource);
4291
- }, e.$$.update = () => {
4292
- e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4293
- 18 && g && O && un(O, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4294
- 20 && S && O && ln(O, S), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4295
- 24 && T && O && qt(O, `${T}.Style`), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4296
- 24 && T && O && qt(O, `${T}.Style`), e.$$.dirty[0] & /*icon*/
4297
- 8388608 && r(13, n = m || ro), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4298
- 36962304 && a && f && d && c && rt(), e.$$.dirty[0] & /*tourSlider*/
4299
- 128 && B && Et(), e.$$.dirty[0] & /*session*/
4300
- 524288 && o && W(), e.$$.dirty[0] & /*lang*/
4301
- 262144 && c && me(), e.$$.dirty[0] & /*translationurl*/
4302
- 16777216 && U && Z(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
4303
- 96 && r(8, J = I[H]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4304
- 96 && r(10, N = H == I.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4305
- 64 && r(9, G = H == 0);
4306
- }, [
4307
- l,
4308
- g,
4309
- S,
4310
- T,
4311
- O,
4312
- I,
4313
- H,
4314
- B,
4315
- J,
4316
- G,
4317
- N,
4318
- D,
4319
- F,
4320
- n,
4321
- i,
4322
- be,
4323
- Je,
4324
- $e,
4325
- c,
4326
- o,
4327
- f,
4328
- d,
4329
- u,
4330
- m,
4331
- U,
4332
- a,
4333
- A,
4334
- v,
4335
- p,
4336
- x,
4337
- w,
4338
- R,
4339
- X,
4340
- L
4341
- ];
4342
- }
4343
- class ao extends Wr {
4344
- constructor(t) {
4345
- super(), Kr(
4346
- this,
4347
- t,
4348
- oo,
4349
- io,
4350
- gr,
4351
- {
4352
- session: 19,
4353
- endpoint: 20,
4354
- lang: 18,
4355
- tournamentsshownnumber: 21,
4356
- looptime: 22,
4357
- iconsize: 0,
4358
- icon: 23,
4359
- clientstyling: 1,
4360
- clientstylingurl: 2,
4361
- translationurl: 24,
4362
- mbsource: 3
4363
- },
4364
- no,
4365
- [-1, -1, -1]
4366
- );
4367
- }
4368
- get session() {
4369
- return this.$$.ctx[19];
4370
- }
4371
- set session(t) {
4372
- this.$$set({ session: t }), Ae();
4373
- }
4374
- get endpoint() {
4375
- return this.$$.ctx[20];
4376
- }
4377
- set endpoint(t) {
4378
- this.$$set({ endpoint: t }), Ae();
4379
- }
4380
- get lang() {
4381
- return this.$$.ctx[18];
4382
- }
4383
- set lang(t) {
4384
- this.$$set({ lang: t }), Ae();
4385
- }
4386
- get tournamentsshownnumber() {
4387
- return this.$$.ctx[21];
4388
- }
4389
- set tournamentsshownnumber(t) {
4390
- this.$$set({ tournamentsshownnumber: t }), Ae();
4391
- }
4392
- get looptime() {
4393
- return this.$$.ctx[22];
4394
- }
4395
- set looptime(t) {
4396
- this.$$set({ looptime: t }), Ae();
4397
- }
4398
- get iconsize() {
4399
- return this.$$.ctx[0];
4400
- }
4401
- set iconsize(t) {
4402
- this.$$set({ iconsize: t }), Ae();
4403
- }
4404
- get icon() {
4405
- return this.$$.ctx[23];
4406
- }
4407
- set icon(t) {
4408
- this.$$set({ icon: t }), Ae();
4409
- }
4410
- get clientstyling() {
4411
- return this.$$.ctx[1];
4412
- }
4413
- set clientstyling(t) {
4414
- this.$$set({ clientstyling: t }), Ae();
4415
- }
4416
- get clientstylingurl() {
4417
- return this.$$.ctx[2];
4418
- }
4419
- set clientstylingurl(t) {
4420
- this.$$set({ clientstylingurl: t }), Ae();
4421
- }
4422
- get translationurl() {
4423
- return this.$$.ctx[24];
4424
- }
4425
- set translationurl(t) {
4426
- this.$$set({ translationurl: t }), Ae();
4427
- }
4428
- get mbsource() {
4429
- return this.$$.ctx[3];
4430
- }
4431
- set mbsource(t) {
4432
- this.$$set({ mbsource: t }), Ae();
4433
- }
4434
- }
4435
- Yr(ao, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4436
- export {
4437
- ao as C
4438
- };