@everymatrix/casino-tournaments-slider-controller 1.50.0 → 1.51.0
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.
- package/components/{CasinoTournamentsSliderController-C1esjnt_.js → CasinoTournamentsSliderController-7MaUhgX-.js} +246 -236
- package/components/{CasinoTournamentsSliderController-ougwR1W0.cjs → CasinoTournamentsSliderController-DX1aylfU.cjs} +5 -5
- package/es2015/casino-tournaments-slider-controller.cjs +1 -1
- package/es2015/casino-tournaments-slider-controller.js +1 -1
- package/package.json +1 -1
|
@@ -184,10 +184,60 @@ function It(e, t, r) {
|
|
|
184
184
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
185
185
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
function xt(e, t) {
|
|
188
|
+
var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : Hn;
|
|
189
|
+
return i(e, {
|
|
190
|
+
cache: r,
|
|
191
|
+
serializer: n
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function Tn(e) {
|
|
195
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
196
|
+
}
|
|
197
|
+
function yr(e, t, r, n) {
|
|
198
|
+
var i = Tn(n) ? n : r(n), o = t.get(i);
|
|
199
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
200
|
+
}
|
|
201
|
+
function wr(e, t, r) {
|
|
202
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
203
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
204
|
+
}
|
|
205
|
+
function _t(e, t, r, n, i) {
|
|
206
|
+
return r.bind(t, e, n, i);
|
|
207
|
+
}
|
|
208
|
+
function Hn(e, t) {
|
|
209
|
+
var r = e.length === 1 ? yr : wr;
|
|
210
|
+
return _t(e, this, r, t.cache.create(), t.serializer);
|
|
211
|
+
}
|
|
212
|
+
function Cn(e, t) {
|
|
213
|
+
return _t(e, this, wr, t.cache.create(), t.serializer);
|
|
214
|
+
}
|
|
215
|
+
function Rn(e, t) {
|
|
216
|
+
return _t(e, this, yr, t.cache.create(), t.serializer);
|
|
217
|
+
}
|
|
218
|
+
var Sn = function() {
|
|
219
|
+
return JSON.stringify(arguments);
|
|
220
|
+
};
|
|
221
|
+
function Qt() {
|
|
222
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
223
|
+
}
|
|
224
|
+
Qt.prototype.get = function(e) {
|
|
225
|
+
return this.cache[e];
|
|
226
|
+
};
|
|
227
|
+
Qt.prototype.set = function(e, t) {
|
|
228
|
+
this.cache[e] = t;
|
|
229
|
+
};
|
|
230
|
+
var On = {
|
|
231
|
+
create: function() {
|
|
232
|
+
return new Qt();
|
|
233
|
+
}
|
|
234
|
+
}, Bt = {
|
|
235
|
+
variadic: Cn,
|
|
236
|
+
monadic: Rn
|
|
237
|
+
}, L;
|
|
188
238
|
(function(e) {
|
|
189
239
|
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";
|
|
190
|
-
})(
|
|
240
|
+
})(L || (L = {}));
|
|
191
241
|
var z;
|
|
192
242
|
(function(e) {
|
|
193
243
|
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";
|
|
@@ -199,40 +249,40 @@ var Me;
|
|
|
199
249
|
function Wt(e) {
|
|
200
250
|
return e.type === z.literal;
|
|
201
251
|
}
|
|
202
|
-
function
|
|
252
|
+
function Ln(e) {
|
|
203
253
|
return e.type === z.argument;
|
|
204
254
|
}
|
|
205
|
-
function
|
|
255
|
+
function Ir(e) {
|
|
206
256
|
return e.type === z.number;
|
|
207
257
|
}
|
|
208
|
-
function
|
|
258
|
+
function xr(e) {
|
|
209
259
|
return e.type === z.date;
|
|
210
260
|
}
|
|
211
|
-
function
|
|
261
|
+
function Br(e) {
|
|
212
262
|
return e.type === z.time;
|
|
213
263
|
}
|
|
214
|
-
function
|
|
264
|
+
function Tr(e) {
|
|
215
265
|
return e.type === z.select;
|
|
216
266
|
}
|
|
217
|
-
function
|
|
267
|
+
function Hr(e) {
|
|
218
268
|
return e.type === z.plural;
|
|
219
269
|
}
|
|
220
|
-
function
|
|
270
|
+
function Nn(e) {
|
|
221
271
|
return e.type === z.pound;
|
|
222
272
|
}
|
|
223
|
-
function
|
|
273
|
+
function Cr(e) {
|
|
224
274
|
return e.type === z.tag;
|
|
225
275
|
}
|
|
226
|
-
function
|
|
276
|
+
function Rr(e) {
|
|
227
277
|
return !!(e && typeof e == "object" && e.type === Me.number);
|
|
228
278
|
}
|
|
229
|
-
function
|
|
279
|
+
function Lt(e) {
|
|
230
280
|
return !!(e && typeof e == "object" && e.type === Me.dateTime);
|
|
231
281
|
}
|
|
232
|
-
var
|
|
233
|
-
function
|
|
282
|
+
var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
283
|
+
function Pn(e) {
|
|
234
284
|
var t = {};
|
|
235
|
-
return e.replace(
|
|
285
|
+
return e.replace(Dn, function(r) {
|
|
236
286
|
var n = r.length;
|
|
237
287
|
switch (r[0]) {
|
|
238
288
|
case "G":
|
|
@@ -321,11 +371,11 @@ function Rn(e) {
|
|
|
321
371
|
return "";
|
|
322
372
|
}), t;
|
|
323
373
|
}
|
|
324
|
-
var
|
|
325
|
-
function
|
|
374
|
+
var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
375
|
+
function kn(e) {
|
|
326
376
|
if (e.length === 0)
|
|
327
377
|
throw new Error("Number skeleton cannot be empty");
|
|
328
|
-
for (var t = e.split(
|
|
378
|
+
for (var t = e.split(Mn).filter(function(v) {
|
|
329
379
|
return v.length > 0;
|
|
330
380
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
331
381
|
var o = i[n], f = o.split("/");
|
|
@@ -340,17 +390,17 @@ function On(e) {
|
|
|
340
390
|
}
|
|
341
391
|
return r;
|
|
342
392
|
}
|
|
343
|
-
function
|
|
393
|
+
function Un(e) {
|
|
344
394
|
return e.replace(/^(.*?)-/, "");
|
|
345
395
|
}
|
|
346
|
-
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
396
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
|
|
347
397
|
function $t(e) {
|
|
348
398
|
var t = {};
|
|
349
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
399
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
|
|
350
400
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
351
401
|
}), t;
|
|
352
402
|
}
|
|
353
|
-
function
|
|
403
|
+
function Nr(e) {
|
|
354
404
|
switch (e) {
|
|
355
405
|
case "sign-auto":
|
|
356
406
|
return {
|
|
@@ -390,7 +440,7 @@ function Or(e) {
|
|
|
390
440
|
};
|
|
391
441
|
}
|
|
392
442
|
}
|
|
393
|
-
function
|
|
443
|
+
function Fn(e) {
|
|
394
444
|
var t;
|
|
395
445
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
396
446
|
notation: "engineering"
|
|
@@ -398,17 +448,17 @@ function Dn(e) {
|
|
|
398
448
|
notation: "scientific"
|
|
399
449
|
}, e = e.slice(1)), t) {
|
|
400
450
|
var r = e.slice(0, 2);
|
|
401
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
451
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
|
|
402
452
|
throw new Error("Malformed concise eng/scientific notation");
|
|
403
453
|
t.minimumIntegerDigits = e.length;
|
|
404
454
|
}
|
|
405
455
|
return t;
|
|
406
456
|
}
|
|
407
457
|
function er(e) {
|
|
408
|
-
var t = {}, r =
|
|
458
|
+
var t = {}, r = Nr(e);
|
|
409
459
|
return r || t;
|
|
410
460
|
}
|
|
411
|
-
function
|
|
461
|
+
function _n(e) {
|
|
412
462
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
413
463
|
var i = n[r];
|
|
414
464
|
switch (i.stem) {
|
|
@@ -432,7 +482,7 @@ function Pn(e) {
|
|
|
432
482
|
continue;
|
|
433
483
|
case "measure-unit":
|
|
434
484
|
case "unit":
|
|
435
|
-
t.style = "unit", t.unit =
|
|
485
|
+
t.style = "unit", t.unit = Un(i.options[0]);
|
|
436
486
|
continue;
|
|
437
487
|
case "compact-short":
|
|
438
488
|
case "K":
|
|
@@ -494,7 +544,7 @@ function Pn(e) {
|
|
|
494
544
|
case "integer-width":
|
|
495
545
|
if (i.options.length > 1)
|
|
496
546
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
497
|
-
i.options[0].replace(
|
|
547
|
+
i.options[0].replace(Gn, function(d, u, l, g, v, S) {
|
|
498
548
|
if (u)
|
|
499
549
|
t.minimumIntegerDigits = l.length;
|
|
500
550
|
else {
|
|
@@ -507,7 +557,7 @@ function Pn(e) {
|
|
|
507
557
|
});
|
|
508
558
|
continue;
|
|
509
559
|
}
|
|
510
|
-
if (
|
|
560
|
+
if (Lr.test(i.stem)) {
|
|
511
561
|
t.minimumIntegerDigits = i.stem.length;
|
|
512
562
|
continue;
|
|
513
563
|
}
|
|
@@ -521,13 +571,13 @@ function Pn(e) {
|
|
|
521
571
|
o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), $t(o)));
|
|
522
572
|
continue;
|
|
523
573
|
}
|
|
524
|
-
if (
|
|
574
|
+
if (Or.test(i.stem)) {
|
|
525
575
|
t = k(k({}, t), $t(i.stem));
|
|
526
576
|
continue;
|
|
527
577
|
}
|
|
528
|
-
var f =
|
|
578
|
+
var f = Nr(i.stem);
|
|
529
579
|
f && (t = k(k({}, t), f));
|
|
530
|
-
var c =
|
|
580
|
+
var c = Fn(i.stem);
|
|
531
581
|
c && (t = k(k({}, t), c));
|
|
532
582
|
}
|
|
533
583
|
return t;
|
|
@@ -537,6 +587,12 @@ var ot = {
|
|
|
537
587
|
"H",
|
|
538
588
|
"h"
|
|
539
589
|
],
|
|
590
|
+
419: [
|
|
591
|
+
"h",
|
|
592
|
+
"H",
|
|
593
|
+
"hB",
|
|
594
|
+
"hb"
|
|
595
|
+
],
|
|
540
596
|
AC: [
|
|
541
597
|
"H",
|
|
542
598
|
"h",
|
|
@@ -585,8 +641,8 @@ var ot = {
|
|
|
585
641
|
"hB"
|
|
586
642
|
],
|
|
587
643
|
AR: [
|
|
588
|
-
"H",
|
|
589
644
|
"h",
|
|
645
|
+
"H",
|
|
590
646
|
"hB",
|
|
591
647
|
"hb"
|
|
592
648
|
],
|
|
@@ -676,9 +732,9 @@ var ot = {
|
|
|
676
732
|
"H"
|
|
677
733
|
],
|
|
678
734
|
BO: [
|
|
735
|
+
"h",
|
|
679
736
|
"H",
|
|
680
737
|
"hB",
|
|
681
|
-
"h",
|
|
682
738
|
"hb"
|
|
683
739
|
],
|
|
684
740
|
BQ: [
|
|
@@ -755,8 +811,8 @@ var ot = {
|
|
|
755
811
|
"hB"
|
|
756
812
|
],
|
|
757
813
|
CL: [
|
|
758
|
-
"H",
|
|
759
814
|
"h",
|
|
815
|
+
"H",
|
|
760
816
|
"hB",
|
|
761
817
|
"hb"
|
|
762
818
|
],
|
|
@@ -781,14 +837,14 @@ var ot = {
|
|
|
781
837
|
"H"
|
|
782
838
|
],
|
|
783
839
|
CR: [
|
|
784
|
-
"H",
|
|
785
840
|
"h",
|
|
841
|
+
"H",
|
|
786
842
|
"hB",
|
|
787
843
|
"hb"
|
|
788
844
|
],
|
|
789
845
|
CU: [
|
|
790
|
-
"H",
|
|
791
846
|
"h",
|
|
847
|
+
"H",
|
|
792
848
|
"hB",
|
|
793
849
|
"hb"
|
|
794
850
|
],
|
|
@@ -857,9 +913,9 @@ var ot = {
|
|
|
857
913
|
"hb"
|
|
858
914
|
],
|
|
859
915
|
EC: [
|
|
916
|
+
"h",
|
|
860
917
|
"H",
|
|
861
918
|
"hB",
|
|
862
|
-
"h",
|
|
863
919
|
"hb"
|
|
864
920
|
],
|
|
865
921
|
EE: [
|
|
@@ -995,8 +1051,8 @@ var ot = {
|
|
|
995
1051
|
"hB"
|
|
996
1052
|
],
|
|
997
1053
|
GT: [
|
|
998
|
-
"H",
|
|
999
1054
|
"h",
|
|
1055
|
+
"H",
|
|
1000
1056
|
"hB",
|
|
1001
1057
|
"hb"
|
|
1002
1058
|
],
|
|
@@ -1023,8 +1079,8 @@ var ot = {
|
|
|
1023
1079
|
"H"
|
|
1024
1080
|
],
|
|
1025
1081
|
HN: [
|
|
1026
|
-
"H",
|
|
1027
1082
|
"h",
|
|
1083
|
+
"H",
|
|
1028
1084
|
"hB",
|
|
1029
1085
|
"hb"
|
|
1030
1086
|
],
|
|
@@ -1338,8 +1394,8 @@ var ot = {
|
|
|
1338
1394
|
"hB"
|
|
1339
1395
|
],
|
|
1340
1396
|
MX: [
|
|
1341
|
-
"H",
|
|
1342
1397
|
"h",
|
|
1398
|
+
"H",
|
|
1343
1399
|
"hB",
|
|
1344
1400
|
"hb"
|
|
1345
1401
|
],
|
|
@@ -1379,8 +1435,8 @@ var ot = {
|
|
|
1379
1435
|
"hB"
|
|
1380
1436
|
],
|
|
1381
1437
|
NI: [
|
|
1382
|
-
"H",
|
|
1383
1438
|
"h",
|
|
1439
|
+
"H",
|
|
1384
1440
|
"hB",
|
|
1385
1441
|
"hb"
|
|
1386
1442
|
],
|
|
@@ -1428,9 +1484,9 @@ var ot = {
|
|
|
1428
1484
|
"hb"
|
|
1429
1485
|
],
|
|
1430
1486
|
PE: [
|
|
1487
|
+
"h",
|
|
1431
1488
|
"H",
|
|
1432
1489
|
"hB",
|
|
1433
|
-
"h",
|
|
1434
1490
|
"hb"
|
|
1435
1491
|
],
|
|
1436
1492
|
PF: [
|
|
@@ -1488,8 +1544,8 @@ var ot = {
|
|
|
1488
1544
|
"H"
|
|
1489
1545
|
],
|
|
1490
1546
|
PY: [
|
|
1491
|
-
"H",
|
|
1492
1547
|
"h",
|
|
1548
|
+
"H",
|
|
1493
1549
|
"hB",
|
|
1494
1550
|
"hb"
|
|
1495
1551
|
],
|
|
@@ -1602,8 +1658,8 @@ var ot = {
|
|
|
1602
1658
|
"hB"
|
|
1603
1659
|
],
|
|
1604
1660
|
SV: [
|
|
1605
|
-
"H",
|
|
1606
1661
|
"h",
|
|
1662
|
+
"H",
|
|
1607
1663
|
"hB",
|
|
1608
1664
|
"hb"
|
|
1609
1665
|
],
|
|
@@ -1725,8 +1781,8 @@ var ot = {
|
|
|
1725
1781
|
"hB"
|
|
1726
1782
|
],
|
|
1727
1783
|
UY: [
|
|
1728
|
-
"H",
|
|
1729
1784
|
"h",
|
|
1785
|
+
"H",
|
|
1730
1786
|
"hB",
|
|
1731
1787
|
"hb"
|
|
1732
1788
|
],
|
|
@@ -1834,37 +1890,37 @@ var ot = {
|
|
|
1834
1890
|
"H",
|
|
1835
1891
|
"hB"
|
|
1836
1892
|
],
|
|
1837
|
-
"
|
|
1838
|
-
"H",
|
|
1893
|
+
"en-HK": [
|
|
1839
1894
|
"h",
|
|
1840
|
-
"
|
|
1841
|
-
"
|
|
1895
|
+
"hb",
|
|
1896
|
+
"H",
|
|
1897
|
+
"hB"
|
|
1842
1898
|
],
|
|
1843
|
-
"
|
|
1899
|
+
"en-IL": [
|
|
1844
1900
|
"H",
|
|
1845
1901
|
"h",
|
|
1846
|
-
"
|
|
1847
|
-
"
|
|
1902
|
+
"hb",
|
|
1903
|
+
"hB"
|
|
1848
1904
|
],
|
|
1849
|
-
"
|
|
1850
|
-
"H",
|
|
1905
|
+
"en-MY": [
|
|
1851
1906
|
"h",
|
|
1852
|
-
"
|
|
1853
|
-
"
|
|
1907
|
+
"hb",
|
|
1908
|
+
"H",
|
|
1909
|
+
"hB"
|
|
1854
1910
|
],
|
|
1855
|
-
"es-
|
|
1911
|
+
"es-BR": [
|
|
1856
1912
|
"H",
|
|
1857
1913
|
"h",
|
|
1858
1914
|
"hB",
|
|
1859
1915
|
"hb"
|
|
1860
1916
|
],
|
|
1861
|
-
"es-
|
|
1917
|
+
"es-ES": [
|
|
1862
1918
|
"H",
|
|
1863
1919
|
"h",
|
|
1864
1920
|
"hB",
|
|
1865
1921
|
"hb"
|
|
1866
1922
|
],
|
|
1867
|
-
"es-
|
|
1923
|
+
"es-GQ": [
|
|
1868
1924
|
"H",
|
|
1869
1925
|
"h",
|
|
1870
1926
|
"hB",
|
|
@@ -1941,13 +1997,13 @@ var ot = {
|
|
|
1941
1997
|
"h"
|
|
1942
1998
|
]
|
|
1943
1999
|
};
|
|
1944
|
-
function
|
|
2000
|
+
function Qn(e, t) {
|
|
1945
2001
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
1946
2002
|
var i = e.charAt(n);
|
|
1947
2003
|
if (i === "j") {
|
|
1948
2004
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
1949
2005
|
o++, n++;
|
|
1950
|
-
var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u =
|
|
2006
|
+
var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = jn(t);
|
|
1951
2007
|
for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
|
|
1952
2008
|
r += d;
|
|
1953
2009
|
for (; f-- > 0; )
|
|
@@ -1956,7 +2012,7 @@ function Mn(e, t) {
|
|
|
1956
2012
|
}
|
|
1957
2013
|
return r;
|
|
1958
2014
|
}
|
|
1959
|
-
function
|
|
2015
|
+
function jn(e) {
|
|
1960
2016
|
var t = e.hourCycle;
|
|
1961
2017
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
1962
2018
|
e.hourCycles && // @ts-ignore
|
|
@@ -1978,20 +2034,20 @@ function kn(e) {
|
|
|
1978
2034
|
var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
|
|
1979
2035
|
return i[0];
|
|
1980
2036
|
}
|
|
1981
|
-
var
|
|
2037
|
+
var Tt, Jn = new RegExp("^".concat(Sr.source, "*")), Xn = new RegExp("".concat(Sr.source, "*$"));
|
|
1982
2038
|
function D(e, t) {
|
|
1983
2039
|
return { start: e, end: t };
|
|
1984
2040
|
}
|
|
1985
|
-
var
|
|
2041
|
+
var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Zn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, $n = Kn ? Number.isSafeInteger : function(e) {
|
|
1986
2042
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
1987
|
-
},
|
|
2043
|
+
}, Nt = !0;
|
|
1988
2044
|
try {
|
|
1989
|
-
var
|
|
1990
|
-
|
|
2045
|
+
var ei = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2046
|
+
Nt = ((Tt = ei.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
|
|
1991
2047
|
} catch (e) {
|
|
1992
|
-
|
|
2048
|
+
Nt = !1;
|
|
1993
2049
|
}
|
|
1994
|
-
var tr =
|
|
2050
|
+
var tr = zn ? (
|
|
1995
2051
|
// Native
|
|
1996
2052
|
function(t, r, n) {
|
|
1997
2053
|
return t.startsWith(r, n);
|
|
@@ -2001,7 +2057,7 @@ var tr = Fn ? (
|
|
|
2001
2057
|
function(t, r, n) {
|
|
2002
2058
|
return t.slice(n, n + r.length) === r;
|
|
2003
2059
|
}
|
|
2004
|
-
), Dt =
|
|
2060
|
+
), Dt = Vn ? String.fromCodePoint : (
|
|
2005
2061
|
// IE11
|
|
2006
2062
|
function() {
|
|
2007
2063
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2015,7 +2071,7 @@ var tr = Fn ? (
|
|
|
2015
2071
|
}
|
|
2016
2072
|
), rr = (
|
|
2017
2073
|
// native
|
|
2018
|
-
|
|
2074
|
+
Zn ? Object.fromEntries : (
|
|
2019
2075
|
// Ponyfill
|
|
2020
2076
|
function(t) {
|
|
2021
2077
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2025,7 +2081,7 @@ var tr = Fn ? (
|
|
|
2025
2081
|
return r;
|
|
2026
2082
|
}
|
|
2027
2083
|
)
|
|
2028
|
-
),
|
|
2084
|
+
), Dr = qn ? (
|
|
2029
2085
|
// Native
|
|
2030
2086
|
function(t, r) {
|
|
2031
2087
|
return t.codePointAt(r);
|
|
@@ -2039,7 +2095,7 @@ var tr = Fn ? (
|
|
|
2039
2095
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2040
2096
|
}
|
|
2041
2097
|
}
|
|
2042
|
-
),
|
|
2098
|
+
), ti = Yn ? (
|
|
2043
2099
|
// Native
|
|
2044
2100
|
function(t) {
|
|
2045
2101
|
return t.trimStart();
|
|
@@ -2047,9 +2103,9 @@ var tr = Fn ? (
|
|
|
2047
2103
|
) : (
|
|
2048
2104
|
// Ponyfill
|
|
2049
2105
|
function(t) {
|
|
2050
|
-
return t.replace(
|
|
2106
|
+
return t.replace(Jn, "");
|
|
2051
2107
|
}
|
|
2052
|
-
),
|
|
2108
|
+
), ri = Wn ? (
|
|
2053
2109
|
// Native
|
|
2054
2110
|
function(t) {
|
|
2055
2111
|
return t.trimEnd();
|
|
@@ -2057,15 +2113,15 @@ var tr = Fn ? (
|
|
|
2057
2113
|
) : (
|
|
2058
2114
|
// Ponyfill
|
|
2059
2115
|
function(t) {
|
|
2060
|
-
return t.replace(
|
|
2116
|
+
return t.replace(Xn, "");
|
|
2061
2117
|
}
|
|
2062
2118
|
);
|
|
2063
|
-
function
|
|
2119
|
+
function Pr(e, t) {
|
|
2064
2120
|
return new RegExp(e, t);
|
|
2065
2121
|
}
|
|
2066
2122
|
var Pt;
|
|
2067
|
-
if (
|
|
2068
|
-
var nr =
|
|
2123
|
+
if (Nt) {
|
|
2124
|
+
var nr = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2069
2125
|
Pt = function(t, r) {
|
|
2070
2126
|
var n;
|
|
2071
2127
|
nr.lastIndex = r;
|
|
@@ -2075,14 +2131,14 @@ if (Lt) {
|
|
|
2075
2131
|
} else
|
|
2076
2132
|
Pt = function(t, r) {
|
|
2077
2133
|
for (var n = []; ; ) {
|
|
2078
|
-
var i =
|
|
2079
|
-
if (i === void 0 ||
|
|
2134
|
+
var i = Dr(t, r);
|
|
2135
|
+
if (i === void 0 || Mr(i) || ai(i))
|
|
2080
2136
|
break;
|
|
2081
2137
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2082
2138
|
}
|
|
2083
2139
|
return Dt.apply(void 0, n);
|
|
2084
2140
|
};
|
|
2085
|
-
var
|
|
2141
|
+
var ni = (
|
|
2086
2142
|
/** @class */
|
|
2087
2143
|
function() {
|
|
2088
2144
|
function e(t, r) {
|
|
@@ -2112,7 +2168,7 @@ var Wn = (
|
|
|
2112
2168
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2113
2169
|
if (n)
|
|
2114
2170
|
break;
|
|
2115
|
-
return this.error(
|
|
2171
|
+
return this.error(L.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
|
|
2116
2172
|
} else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
|
|
2117
2173
|
var f = this.parseTag(t, r);
|
|
2118
2174
|
if (f.err)
|
|
@@ -2147,9 +2203,9 @@ var Wn = (
|
|
|
2147
2203
|
var f = o.val, c = this.clonePosition();
|
|
2148
2204
|
if (this.bumpIf("</")) {
|
|
2149
2205
|
if (this.isEOF() || !Mt(this.char()))
|
|
2150
|
-
return this.error(
|
|
2206
|
+
return this.error(L.INVALID_TAG, D(c, this.clonePosition()));
|
|
2151
2207
|
var d = this.clonePosition(), u = this.parseTagName();
|
|
2152
|
-
return i !== u ? this.error(
|
|
2208
|
+
return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, D(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2153
2209
|
val: {
|
|
2154
2210
|
type: z.tag,
|
|
2155
2211
|
value: i,
|
|
@@ -2157,14 +2213,14 @@ var Wn = (
|
|
|
2157
2213
|
location: D(n, this.clonePosition())
|
|
2158
2214
|
},
|
|
2159
2215
|
err: null
|
|
2160
|
-
} : this.error(
|
|
2216
|
+
} : this.error(L.INVALID_TAG, D(c, this.clonePosition())));
|
|
2161
2217
|
} else
|
|
2162
|
-
return this.error(
|
|
2218
|
+
return this.error(L.UNCLOSED_TAG, D(n, this.clonePosition()));
|
|
2163
2219
|
} else
|
|
2164
|
-
return this.error(
|
|
2220
|
+
return this.error(L.INVALID_TAG, D(n, this.clonePosition()));
|
|
2165
2221
|
}, e.prototype.parseTagName = function() {
|
|
2166
2222
|
var t = this.offset();
|
|
2167
|
-
for (this.bump(); !this.isEOF() &&
|
|
2223
|
+
for (this.bump(); !this.isEOF() && oi(this.char()); )
|
|
2168
2224
|
this.bump();
|
|
2169
2225
|
return this.message.slice(t, this.offset());
|
|
2170
2226
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2193,7 +2249,7 @@ var Wn = (
|
|
|
2193
2249
|
};
|
|
2194
2250
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2195
2251
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2196
|
-
!
|
|
2252
|
+
!ii(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2197
2253
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2198
2254
|
if (this.isEOF() || this.char() !== 39)
|
|
2199
2255
|
return null;
|
|
@@ -2236,14 +2292,14 @@ var Wn = (
|
|
|
2236
2292
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2237
2293
|
var n = this.clonePosition();
|
|
2238
2294
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2239
|
-
return this.error(
|
|
2295
|
+
return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
|
|
2240
2296
|
if (this.char() === 125)
|
|
2241
|
-
return this.bump(), this.error(
|
|
2297
|
+
return this.bump(), this.error(L.EMPTY_ARGUMENT, D(n, this.clonePosition()));
|
|
2242
2298
|
var i = this.parseIdentifierIfPossible().value;
|
|
2243
2299
|
if (!i)
|
|
2244
|
-
return this.error(
|
|
2300
|
+
return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
|
|
2245
2301
|
if (this.bumpSpace(), this.isEOF())
|
|
2246
|
-
return this.error(
|
|
2302
|
+
return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
|
|
2247
2303
|
switch (this.char()) {
|
|
2248
2304
|
case 125:
|
|
2249
2305
|
return this.bump(), {
|
|
@@ -2256,9 +2312,9 @@ var Wn = (
|
|
|
2256
2312
|
err: null
|
|
2257
2313
|
};
|
|
2258
2314
|
case 44:
|
|
2259
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2315
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2260
2316
|
default:
|
|
2261
|
-
return this.error(
|
|
2317
|
+
return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
|
|
2262
2318
|
}
|
|
2263
2319
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2264
2320
|
var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
|
|
@@ -2269,7 +2325,7 @@ var Wn = (
|
|
|
2269
2325
|
var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
|
|
2270
2326
|
switch (c) {
|
|
2271
2327
|
case "":
|
|
2272
|
-
return this.error(
|
|
2328
|
+
return this.error(L.EXPECT_ARGUMENT_TYPE, D(f, d));
|
|
2273
2329
|
case "number":
|
|
2274
2330
|
case "date":
|
|
2275
2331
|
case "time": {
|
|
@@ -2280,9 +2336,9 @@ var Wn = (
|
|
|
2280
2336
|
var l = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
2281
2337
|
if (g.err)
|
|
2282
2338
|
return g;
|
|
2283
|
-
var v =
|
|
2339
|
+
var v = ri(g.val);
|
|
2284
2340
|
if (v.length === 0)
|
|
2285
|
-
return this.error(
|
|
2341
|
+
return this.error(L.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
|
|
2286
2342
|
var S = D(l, this.clonePosition());
|
|
2287
2343
|
u = { style: v, styleLocation: S };
|
|
2288
2344
|
}
|
|
@@ -2291,7 +2347,7 @@ var Wn = (
|
|
|
2291
2347
|
return M;
|
|
2292
2348
|
var x = D(i, this.clonePosition());
|
|
2293
2349
|
if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
|
|
2294
|
-
var C =
|
|
2350
|
+
var C = ti(u.style.slice(2));
|
|
2295
2351
|
if (c === "number") {
|
|
2296
2352
|
var g = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
2297
2353
|
return g.err ? g : {
|
|
@@ -2300,14 +2356,14 @@ var Wn = (
|
|
|
2300
2356
|
};
|
|
2301
2357
|
} else {
|
|
2302
2358
|
if (C.length === 0)
|
|
2303
|
-
return this.error(
|
|
2359
|
+
return this.error(L.EXPECT_DATE_TIME_SKELETON, x);
|
|
2304
2360
|
var B = C;
|
|
2305
|
-
this.locale && (B =
|
|
2361
|
+
this.locale && (B = Qn(C, this.locale));
|
|
2306
2362
|
var v = {
|
|
2307
2363
|
type: Me.dateTime,
|
|
2308
2364
|
pattern: B,
|
|
2309
2365
|
location: u.styleLocation,
|
|
2310
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2366
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(B) : {}
|
|
2311
2367
|
}, U = c === "date" ? z.date : z.time;
|
|
2312
2368
|
return {
|
|
2313
2369
|
val: { type: U, value: n, location: x, style: v },
|
|
@@ -2328,16 +2384,16 @@ var Wn = (
|
|
|
2328
2384
|
case "plural":
|
|
2329
2385
|
case "selectordinal":
|
|
2330
2386
|
case "select": {
|
|
2331
|
-
var
|
|
2387
|
+
var N = this.clonePosition();
|
|
2332
2388
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2333
|
-
return this.error(
|
|
2389
|
+
return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, D(N, k({}, N)));
|
|
2334
2390
|
this.bumpSpace();
|
|
2335
2391
|
var P = this.parseIdentifierIfPossible(), T = 0;
|
|
2336
2392
|
if (c !== "select" && P.value === "offset") {
|
|
2337
2393
|
if (!this.bumpIf(":"))
|
|
2338
|
-
return this.error(
|
|
2394
|
+
return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D(this.clonePosition(), this.clonePosition()));
|
|
2339
2395
|
this.bumpSpace();
|
|
2340
|
-
var g = this.tryParseDecimalInteger(
|
|
2396
|
+
var g = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2341
2397
|
if (g.err)
|
|
2342
2398
|
return g;
|
|
2343
2399
|
this.bumpSpace(), P = this.parseIdentifierIfPossible(), T = g.val;
|
|
@@ -2370,10 +2426,10 @@ var Wn = (
|
|
|
2370
2426
|
};
|
|
2371
2427
|
}
|
|
2372
2428
|
default:
|
|
2373
|
-
return this.error(
|
|
2429
|
+
return this.error(L.INVALID_ARGUMENT_TYPE, D(f, d));
|
|
2374
2430
|
}
|
|
2375
2431
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2376
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2432
|
+
return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2377
2433
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2378
2434
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2379
2435
|
var n = this.char();
|
|
@@ -2382,7 +2438,7 @@ var Wn = (
|
|
|
2382
2438
|
this.bump();
|
|
2383
2439
|
var i = this.clonePosition();
|
|
2384
2440
|
if (!this.bumpUntil("'"))
|
|
2385
|
-
return this.error(
|
|
2441
|
+
return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, D(i, this.clonePosition()));
|
|
2386
2442
|
this.bump();
|
|
2387
2443
|
break;
|
|
2388
2444
|
}
|
|
@@ -2412,16 +2468,16 @@ var Wn = (
|
|
|
2412
2468
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2413
2469
|
var n = [];
|
|
2414
2470
|
try {
|
|
2415
|
-
n =
|
|
2471
|
+
n = kn(t);
|
|
2416
2472
|
} catch (i) {
|
|
2417
|
-
return this.error(
|
|
2473
|
+
return this.error(L.INVALID_NUMBER_SKELETON, r);
|
|
2418
2474
|
}
|
|
2419
2475
|
return {
|
|
2420
2476
|
val: {
|
|
2421
2477
|
type: Me.number,
|
|
2422
2478
|
tokens: n,
|
|
2423
2479
|
location: r,
|
|
2424
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2480
|
+
parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
|
|
2425
2481
|
},
|
|
2426
2482
|
err: null
|
|
2427
2483
|
};
|
|
@@ -2430,7 +2486,7 @@ var Wn = (
|
|
|
2430
2486
|
if (u.length === 0) {
|
|
2431
2487
|
var g = this.clonePosition();
|
|
2432
2488
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2433
|
-
var v = this.tryParseDecimalInteger(
|
|
2489
|
+
var v = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2434
2490
|
if (v.err)
|
|
2435
2491
|
return v;
|
|
2436
2492
|
l = D(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
|
|
@@ -2438,11 +2494,11 @@ var Wn = (
|
|
|
2438
2494
|
break;
|
|
2439
2495
|
}
|
|
2440
2496
|
if (d.has(u))
|
|
2441
|
-
return this.error(r === "select" ?
|
|
2497
|
+
return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2442
2498
|
u === "other" && (f = !0), this.bumpSpace();
|
|
2443
2499
|
var S = this.clonePosition();
|
|
2444
2500
|
if (!this.bumpIf("{"))
|
|
2445
|
-
return this.error(r === "select" ?
|
|
2501
|
+
return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
|
|
2446
2502
|
var M = this.parseMessage(t + 1, r, n);
|
|
2447
2503
|
if (M.err)
|
|
2448
2504
|
return M;
|
|
@@ -2457,7 +2513,7 @@ var Wn = (
|
|
|
2457
2513
|
}
|
|
2458
2514
|
]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
2459
2515
|
}
|
|
2460
|
-
return c.length === 0 ? this.error(r === "select" ?
|
|
2516
|
+
return c.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
|
|
2461
2517
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2462
2518
|
var n = 1, i = this.clonePosition();
|
|
2463
2519
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2469,7 +2525,7 @@ var Wn = (
|
|
|
2469
2525
|
break;
|
|
2470
2526
|
}
|
|
2471
2527
|
var d = D(i, this.clonePosition());
|
|
2472
|
-
return o ? (f *= n,
|
|
2528
|
+
return o ? (f *= n, $n(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
|
|
2473
2529
|
}, e.prototype.offset = function() {
|
|
2474
2530
|
return this.position.offset;
|
|
2475
2531
|
}, e.prototype.isEOF = function() {
|
|
@@ -2484,7 +2540,7 @@ var Wn = (
|
|
|
2484
2540
|
var t = this.position.offset;
|
|
2485
2541
|
if (t >= this.message.length)
|
|
2486
2542
|
throw Error("out of bound");
|
|
2487
|
-
var r =
|
|
2543
|
+
var r = Dr(this.message, t);
|
|
2488
2544
|
if (r === void 0)
|
|
2489
2545
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2490
2546
|
return r;
|
|
@@ -2525,7 +2581,7 @@ var Wn = (
|
|
|
2525
2581
|
break;
|
|
2526
2582
|
}
|
|
2527
2583
|
}, e.prototype.bumpSpace = function() {
|
|
2528
|
-
for (; !this.isEOF() &&
|
|
2584
|
+
for (; !this.isEOF() && Mr(this.char()); )
|
|
2529
2585
|
this.bump();
|
|
2530
2586
|
}, e.prototype.peek = function() {
|
|
2531
2587
|
if (this.isEOF())
|
|
@@ -2538,86 +2594,36 @@ var Wn = (
|
|
|
2538
2594
|
function Mt(e) {
|
|
2539
2595
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2540
2596
|
}
|
|
2541
|
-
function
|
|
2597
|
+
function ii(e) {
|
|
2542
2598
|
return Mt(e) || e === 47;
|
|
2543
2599
|
}
|
|
2544
|
-
function
|
|
2600
|
+
function oi(e) {
|
|
2545
2601
|
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;
|
|
2546
2602
|
}
|
|
2547
|
-
function
|
|
2603
|
+
function Mr(e) {
|
|
2548
2604
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2549
2605
|
}
|
|
2550
|
-
function
|
|
2606
|
+
function ai(e) {
|
|
2551
2607
|
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;
|
|
2552
2608
|
}
|
|
2553
2609
|
function kt(e) {
|
|
2554
2610
|
e.forEach(function(t) {
|
|
2555
|
-
if (delete t.location,
|
|
2611
|
+
if (delete t.location, Tr(t) || Hr(t))
|
|
2556
2612
|
for (var r in t.options)
|
|
2557
2613
|
delete t.options[r].location, kt(t.options[r].value);
|
|
2558
|
-
else
|
|
2614
|
+
else Ir(t) && Rr(t.style) || (xr(t) || Br(t)) && Lt(t.style) ? delete t.style.location : Cr(t) && kt(t.children);
|
|
2559
2615
|
});
|
|
2560
2616
|
}
|
|
2561
|
-
function
|
|
2617
|
+
function si(e, t) {
|
|
2562
2618
|
t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2563
|
-
var r = new
|
|
2619
|
+
var r = new ni(e, t).parse();
|
|
2564
2620
|
if (r.err) {
|
|
2565
|
-
var n = SyntaxError(
|
|
2621
|
+
var n = SyntaxError(L[r.err.kind]);
|
|
2566
2622
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
2567
2623
|
}
|
|
2568
2624
|
return t != null && t.captureLocation || kt(r.val), r.val;
|
|
2569
2625
|
}
|
|
2570
|
-
|
|
2571
|
-
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ni;
|
|
2572
|
-
return i(e, {
|
|
2573
|
-
cache: r,
|
|
2574
|
-
serializer: n
|
|
2575
|
-
});
|
|
2576
|
-
}
|
|
2577
|
-
function ri(e) {
|
|
2578
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
2579
|
-
}
|
|
2580
|
-
function Pr(e, t, r, n) {
|
|
2581
|
-
var i = ri(n) ? n : r(n), o = t.get(i);
|
|
2582
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
2583
|
-
}
|
|
2584
|
-
function Mr(e, t, r) {
|
|
2585
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
2586
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
2587
|
-
}
|
|
2588
|
-
function _t(e, t, r, n, i) {
|
|
2589
|
-
return r.bind(t, e, n, i);
|
|
2590
|
-
}
|
|
2591
|
-
function ni(e, t) {
|
|
2592
|
-
var r = e.length === 1 ? Pr : Mr;
|
|
2593
|
-
return _t(e, this, r, t.cache.create(), t.serializer);
|
|
2594
|
-
}
|
|
2595
|
-
function ii(e, t) {
|
|
2596
|
-
return _t(e, this, Mr, t.cache.create(), t.serializer);
|
|
2597
|
-
}
|
|
2598
|
-
function oi(e, t) {
|
|
2599
|
-
return _t(e, this, Pr, t.cache.create(), t.serializer);
|
|
2600
|
-
}
|
|
2601
|
-
var ai = function() {
|
|
2602
|
-
return JSON.stringify(arguments);
|
|
2603
|
-
};
|
|
2604
|
-
function Qt() {
|
|
2605
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
2606
|
-
}
|
|
2607
|
-
Qt.prototype.get = function(e) {
|
|
2608
|
-
return this.cache[e];
|
|
2609
|
-
};
|
|
2610
|
-
Qt.prototype.set = function(e, t) {
|
|
2611
|
-
this.cache[e] = t;
|
|
2612
|
-
};
|
|
2613
|
-
var si = {
|
|
2614
|
-
create: function() {
|
|
2615
|
-
return new Qt();
|
|
2616
|
-
}
|
|
2617
|
-
}, Tt = {
|
|
2618
|
-
variadic: ii,
|
|
2619
|
-
monadic: oi
|
|
2620
|
-
}, ke;
|
|
2626
|
+
var ke;
|
|
2621
2627
|
(function(e) {
|
|
2622
2628
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
2623
2629
|
})(ke || (ke = {}));
|
|
@@ -2690,7 +2696,7 @@ function st(e, t, r, n, i, o, f) {
|
|
|
2690
2696
|
});
|
|
2691
2697
|
continue;
|
|
2692
2698
|
}
|
|
2693
|
-
if (
|
|
2699
|
+
if (Nn(l)) {
|
|
2694
2700
|
typeof o == "number" && c.push({
|
|
2695
2701
|
type: ue.literal,
|
|
2696
2702
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -2701,38 +2707,38 @@ function st(e, t, r, n, i, o, f) {
|
|
|
2701
2707
|
if (!(i && g in i))
|
|
2702
2708
|
throw new li(g, f);
|
|
2703
2709
|
var v = i[g];
|
|
2704
|
-
if (
|
|
2710
|
+
if (Ln(l)) {
|
|
2705
2711
|
(!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
|
|
2706
2712
|
type: typeof v == "string" ? ue.literal : ue.object,
|
|
2707
2713
|
value: v
|
|
2708
2714
|
});
|
|
2709
2715
|
continue;
|
|
2710
2716
|
}
|
|
2711
|
-
if (
|
|
2712
|
-
var S = typeof l.style == "string" ? n.date[l.style] :
|
|
2717
|
+
if (xr(l)) {
|
|
2718
|
+
var S = typeof l.style == "string" ? n.date[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
|
|
2713
2719
|
c.push({
|
|
2714
2720
|
type: ue.literal,
|
|
2715
2721
|
value: r.getDateTimeFormat(t, S).format(v)
|
|
2716
2722
|
});
|
|
2717
2723
|
continue;
|
|
2718
2724
|
}
|
|
2719
|
-
if (
|
|
2720
|
-
var S = typeof l.style == "string" ? n.time[l.style] :
|
|
2725
|
+
if (Br(l)) {
|
|
2726
|
+
var S = typeof l.style == "string" ? n.time[l.style] : Lt(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
2721
2727
|
c.push({
|
|
2722
2728
|
type: ue.literal,
|
|
2723
2729
|
value: r.getDateTimeFormat(t, S).format(v)
|
|
2724
2730
|
});
|
|
2725
2731
|
continue;
|
|
2726
2732
|
}
|
|
2727
|
-
if (
|
|
2728
|
-
var S = typeof l.style == "string" ? n.number[l.style] :
|
|
2733
|
+
if (Ir(l)) {
|
|
2734
|
+
var S = typeof l.style == "string" ? n.number[l.style] : Rr(l.style) ? l.style.parsedOptions : void 0;
|
|
2729
2735
|
S && S.scale && (v = v * (S.scale || 1)), c.push({
|
|
2730
2736
|
type: ue.literal,
|
|
2731
2737
|
value: r.getNumberFormat(t, S).format(v)
|
|
2732
2738
|
});
|
|
2733
2739
|
continue;
|
|
2734
2740
|
}
|
|
2735
|
-
if (
|
|
2741
|
+
if (Cr(l)) {
|
|
2736
2742
|
var M = l.children, x = l.value, C = i[x];
|
|
2737
2743
|
if (!fi(C))
|
|
2738
2744
|
throw new ui(x, "function", f);
|
|
@@ -2746,26 +2752,26 @@ function st(e, t, r, n, i, o, f) {
|
|
|
2746
2752
|
};
|
|
2747
2753
|
}));
|
|
2748
2754
|
}
|
|
2749
|
-
if (
|
|
2750
|
-
var
|
|
2751
|
-
if (!
|
|
2755
|
+
if (Tr(l)) {
|
|
2756
|
+
var N = l.options[v] || l.options.other;
|
|
2757
|
+
if (!N)
|
|
2752
2758
|
throw new ir(l.value, v, Object.keys(l.options), f);
|
|
2753
|
-
c.push.apply(c, st(
|
|
2759
|
+
c.push.apply(c, st(N.value, t, r, n, i));
|
|
2754
2760
|
continue;
|
|
2755
2761
|
}
|
|
2756
|
-
if (
|
|
2757
|
-
var
|
|
2758
|
-
if (!
|
|
2762
|
+
if (Hr(l)) {
|
|
2763
|
+
var N = l.options["=".concat(v)];
|
|
2764
|
+
if (!N) {
|
|
2759
2765
|
if (!Intl.PluralRules)
|
|
2760
2766
|
throw new dt(`Intl.PluralRules is not available in this environment.
|
|
2761
2767
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2762
2768
|
`, ke.MISSING_INTL_API, f);
|
|
2763
2769
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
|
|
2764
|
-
|
|
2770
|
+
N = l.options[P] || l.options.other;
|
|
2765
2771
|
}
|
|
2766
|
-
if (!
|
|
2772
|
+
if (!N)
|
|
2767
2773
|
throw new ir(l.value, v, Object.keys(l.options), f);
|
|
2768
|
-
c.push.apply(c, st(
|
|
2774
|
+
c.push.apply(c, st(N.value, t, r, n, i, v - (l.offset || 0)));
|
|
2769
2775
|
continue;
|
|
2770
2776
|
}
|
|
2771
2777
|
}
|
|
@@ -2801,29 +2807,29 @@ function pi(e) {
|
|
|
2801
2807
|
dateTime: {},
|
|
2802
2808
|
pluralRules: {}
|
|
2803
2809
|
}), {
|
|
2804
|
-
getNumberFormat:
|
|
2810
|
+
getNumberFormat: xt(function() {
|
|
2805
2811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2806
2812
|
r[n] = arguments[n];
|
|
2807
2813
|
return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
|
|
2808
2814
|
}, {
|
|
2809
2815
|
cache: Ht(e.number),
|
|
2810
|
-
strategy:
|
|
2816
|
+
strategy: Bt.variadic
|
|
2811
2817
|
}),
|
|
2812
|
-
getDateTimeFormat:
|
|
2818
|
+
getDateTimeFormat: xt(function() {
|
|
2813
2819
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2814
2820
|
r[n] = arguments[n];
|
|
2815
2821
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
|
|
2816
2822
|
}, {
|
|
2817
2823
|
cache: Ht(e.dateTime),
|
|
2818
|
-
strategy:
|
|
2824
|
+
strategy: Bt.variadic
|
|
2819
2825
|
}),
|
|
2820
|
-
getPluralRules:
|
|
2826
|
+
getPluralRules: xt(function() {
|
|
2821
2827
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2822
2828
|
r[n] = arguments[n];
|
|
2823
2829
|
return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
|
|
2824
2830
|
}, {
|
|
2825
2831
|
cache: Ht(e.pluralRules),
|
|
2826
|
-
strategy:
|
|
2832
|
+
strategy: Bt.variadic
|
|
2827
2833
|
})
|
|
2828
2834
|
};
|
|
2829
2835
|
}
|
|
@@ -2831,8 +2837,9 @@ var Ai = (
|
|
|
2831
2837
|
/** @class */
|
|
2832
2838
|
function() {
|
|
2833
2839
|
function e(t, r, n, i) {
|
|
2840
|
+
r === void 0 && (r = e.defaultLocale);
|
|
2834
2841
|
var o = this;
|
|
2835
|
-
if (
|
|
2842
|
+
if (this.formatterCache = {
|
|
2836
2843
|
number: {},
|
|
2837
2844
|
dateTime: {},
|
|
2838
2845
|
pluralRules: {}
|
|
@@ -2877,7 +2884,7 @@ var Ai = (
|
|
|
2877
2884
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
2878
2885
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
2879
2886
|
}
|
|
2880
|
-
}, e.__parse =
|
|
2887
|
+
}, e.__parse = si, e.formats = {
|
|
2881
2888
|
number: {
|
|
2882
2889
|
integer: {
|
|
2883
2890
|
maximumFractionDigits: 0
|
|
@@ -3085,14 +3092,14 @@ function Ue() {
|
|
|
3085
3092
|
return Ti;
|
|
3086
3093
|
}
|
|
3087
3094
|
const Ct = ft(!1);
|
|
3088
|
-
var Hi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
3095
|
+
var Hi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
|
|
3089
3096
|
for (var r in t || (t = {}))
|
|
3090
3097
|
Si.call(t, r) && ar(e, r, t[r]);
|
|
3091
3098
|
if (or)
|
|
3092
3099
|
for (var r of or(t))
|
|
3093
3100
|
Oi.call(t, r) && ar(e, r, t[r]);
|
|
3094
3101
|
return e;
|
|
3095
|
-
},
|
|
3102
|
+
}, Ni = (e, t) => Ci(e, Ri(t));
|
|
3096
3103
|
let Gt;
|
|
3097
3104
|
const lt = ft(null);
|
|
3098
3105
|
function sr(e) {
|
|
@@ -3122,7 +3129,7 @@ const Di = (e) => {
|
|
|
3122
3129
|
});
|
|
3123
3130
|
}
|
|
3124
3131
|
return lt.set(e);
|
|
3125
|
-
}, Te = Li(
|
|
3132
|
+
}, Te = Ni(Li({}, lt), {
|
|
3126
3133
|
set: Di
|
|
3127
3134
|
}), At = (e) => {
|
|
3128
3135
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3270,6 +3277,9 @@ const hr = {
|
|
|
3270
3277
|
},
|
|
3271
3278
|
hu: {
|
|
3272
3279
|
loading: "Betöltés"
|
|
3280
|
+
},
|
|
3281
|
+
"en-us": {
|
|
3282
|
+
loading: "Loading"
|
|
3273
3283
|
}
|
|
3274
3284
|
};
|
|
3275
3285
|
var Ft = { exports: {} };
|
|
@@ -3354,16 +3364,16 @@ var Ft = { exports: {} };
|
|
|
3354
3364
|
return !1;
|
|
3355
3365
|
};
|
|
3356
3366
|
(S == null || M == null || !U()) && (S = B);
|
|
3357
|
-
var
|
|
3367
|
+
var N = function() {
|
|
3358
3368
|
};
|
|
3359
3369
|
function P(a) {
|
|
3360
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
|
3370
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = N;
|
|
3361
3371
|
}
|
|
3362
3372
|
P.prototype.open = function(a, p) {
|
|
3363
3373
|
this._abort(!0);
|
|
3364
3374
|
var b = this, A = this._xhr, w = 1, y = 0;
|
|
3365
3375
|
this._abort = function(m) {
|
|
3366
|
-
b._sendTimeout !== 0 && (i(b._sendTimeout), b._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, A.onload =
|
|
3376
|
+
b._sendTimeout !== 0 && (i(b._sendTimeout), b._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, A.onload = N, A.onerror = N, A.onabort = N, A.onprogress = N, A.onreadystatechange = N, A.abort(), y !== 0 && (i(y), y = 0), m || (b.readyState = 4, b.onabort(null), b.onreadystatechange())), w = 0;
|
|
3367
3377
|
};
|
|
3368
3378
|
var R = function() {
|
|
3369
3379
|
if (w === 1) {
|
|
@@ -3390,7 +3400,7 @@ var Ft = { exports: {} };
|
|
|
3390
3400
|
}
|
|
3391
3401
|
}, O = function(m, I) {
|
|
3392
3402
|
if ((I == null || I.preventDefault == null) && (I = {
|
|
3393
|
-
preventDefault:
|
|
3403
|
+
preventDefault: N
|
|
3394
3404
|
}), J(), w === 1 || w === 2 || w === 3) {
|
|
3395
3405
|
if (w = 4, y !== 0 && (i(y), y = 0), b.readyState = 4, m === "load")
|
|
3396
3406
|
b.onload(I);
|
|
@@ -3599,7 +3609,7 @@ var Ft = { exports: {} };
|
|
|
3599
3609
|
var gt = g != null && v != null && "body" in v.prototype;
|
|
3600
3610
|
function vt(a, p, b) {
|
|
3601
3611
|
p = String(p);
|
|
3602
|
-
var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, ne = 0, Ae = $,
|
|
3612
|
+
var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, ne = 0, Ae = $, Le = "", rt = "", we = "", nt = "", ae = te, Et = 0, Ce = 0, Jr = function(ee, W, ce, de) {
|
|
3603
3613
|
if (Ae === me)
|
|
3604
3614
|
if (ee === 200 && ce != null && Ke.test(ce)) {
|
|
3605
3615
|
Ae = Ee, F = Date.now(), O = y, a.readyState = Ee;
|
|
@@ -3635,22 +3645,22 @@ var Ft = { exports: {} };
|
|
|
3635
3645
|
if (ae !== te) {
|
|
3636
3646
|
ae === Oe && (Ce = re + 1);
|
|
3637
3647
|
var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < re && se.charCodeAt(Ce) === 32 ? 1 : 0), re);
|
|
3638
|
-
Ie === "data" ? (
|
|
3639
|
-
`,
|
|
3648
|
+
Ie === "data" ? (Le += `
|
|
3649
|
+
`, Le += xe) : Ie === "id" ? rt = xe : Ie === "event" ? we = xe : Ie === "retry" ? (y = He(xe, y), O = y) : Ie === "heartbeatTimeout" && (R = He(xe, R), ne !== 0 && (i(ne), ne = n(function() {
|
|
3640
3650
|
je();
|
|
3641
3651
|
}, R)));
|
|
3642
3652
|
}
|
|
3643
3653
|
if (ae === te) {
|
|
3644
|
-
if (
|
|
3654
|
+
if (Le !== "") {
|
|
3645
3655
|
J = rt, we === "" && (we = "message");
|
|
3646
|
-
var
|
|
3647
|
-
data:
|
|
3656
|
+
var Ne = new V(we, {
|
|
3657
|
+
data: Le.slice(1),
|
|
3648
3658
|
lastEventId: rt
|
|
3649
3659
|
});
|
|
3650
|
-
if (a.dispatchEvent(
|
|
3660
|
+
if (a.dispatchEvent(Ne), we === "open" ? be(a, a.onopen, Ne) : we === "message" ? be(a, a.onmessage, Ne) : we === "error" && be(a, a.onerror, Ne), Ae === pe)
|
|
3651
3661
|
return;
|
|
3652
3662
|
}
|
|
3653
|
-
|
|
3663
|
+
Le = "", we = "";
|
|
3654
3664
|
}
|
|
3655
3665
|
ae = de === 13 ? Se : te;
|
|
3656
3666
|
} else
|
|
@@ -3681,12 +3691,12 @@ var Ft = { exports: {} };
|
|
|
3681
3691
|
}
|
|
3682
3692
|
F = !1, s = 0, ne = n(function() {
|
|
3683
3693
|
je();
|
|
3684
|
-
}, R), Ae = me,
|
|
3694
|
+
}, R), Ae = me, Le = "", we = "", rt = J, nt = "", Et = 0, Ce = 0, ae = te;
|
|
3685
3695
|
var W = p;
|
|
3686
3696
|
if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && J !== "") {
|
|
3687
3697
|
var ce = p.indexOf("?");
|
|
3688
|
-
W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe,
|
|
3689
|
-
return
|
|
3698
|
+
W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ne) {
|
|
3699
|
+
return Ne === w ? "" : xe;
|
|
3690
3700
|
}), W += (p.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent(J);
|
|
3691
3701
|
}
|
|
3692
3702
|
var de = a.withCredentials, se = {};
|
|
@@ -3792,7 +3802,7 @@ function dr(e) {
|
|
|
3792
3802
|
let t, r, n, i = (
|
|
3793
3803
|
/*currentTournament*/
|
|
3794
3804
|
e[7].name + ""
|
|
3795
|
-
), o, f, c, d, u, l, g, v, S, M, x, C, B, U,
|
|
3805
|
+
), o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P = Vt(
|
|
3796
3806
|
/*tournamentList*/
|
|
3797
3807
|
e[4]
|
|
3798
3808
|
), T = [];
|
|
@@ -3824,7 +3834,7 @@ function dr(e) {
|
|
|
3824
3834
|
Ze(E, t, _), H(t, r), H(r, n), H(n, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
|
|
3825
3835
|
for (let Q = 0; Q < T.length; Q += 1)
|
|
3826
3836
|
T[Q] && T[Q].m(x, null);
|
|
3827
|
-
e[27](t), B = !0, U || (
|
|
3837
|
+
e[27](t), B = !0, U || (N = at(
|
|
3828
3838
|
n,
|
|
3829
3839
|
"click",
|
|
3830
3840
|
/*click_handler_1*/
|
|
@@ -3881,7 +3891,7 @@ function dr(e) {
|
|
|
3881
3891
|
E && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !1)), C.run(0)), B = !1;
|
|
3882
3892
|
},
|
|
3883
3893
|
d(E) {
|
|
3884
|
-
E && qe(t), on(T, E), e[27](null), E && C && C.end(), U = !1,
|
|
3894
|
+
E && qe(t), on(T, E), e[27](null), E && C && C.end(), U = !1, N();
|
|
3885
3895
|
}
|
|
3886
3896
|
};
|
|
3887
3897
|
}
|
|
@@ -3922,7 +3932,7 @@ function Ar(e) {
|
|
|
3922
3932
|
};
|
|
3923
3933
|
}
|
|
3924
3934
|
function eo(e) {
|
|
3925
|
-
let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U,
|
|
3935
|
+
let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
|
|
3926
3936
|
e[4] && cr(e), V = (
|
|
3927
3937
|
/*tournamentList*/
|
|
3928
3938
|
e[4] && /*tournamentList*/
|
|
@@ -3933,7 +3943,7 @@ function eo(e) {
|
|
|
3933
3943
|
);
|
|
3934
3944
|
return {
|
|
3935
3945
|
c() {
|
|
3936
|
-
t = K("div"), r = K("div"), n = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"),
|
|
3946
|
+
t = K("div"), r = K("div"), n = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"), N = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), Q = ve(), ie = K("div"), ie.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(n, "part", "Tournaments_ArrowLeft"), h(n, "class", f = "ArrowLeft " + /*isFirst*/
|
|
3937
3947
|
(e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(r, "part", "Tournaments"), h(r, "class", "casino-tournaments-slider-controller"), h(
|
|
3938
3948
|
U,
|
|
3939
3949
|
"width",
|
|
@@ -3964,7 +3974,7 @@ function eo(e) {
|
|
|
3964
3974
|
e[0]}`), h(B, "fill", "none"), h(B, "xmlns", "http://www.w3.org/2000/svg"), h(B, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(C, "class", "svg"), h(C, "part", "Icon"), h(ie, "class", "restoreButton"), h(ie, "part", "RestoreButton"), h(x, "id", "animator"), h(x, "part", "Animator");
|
|
3965
3975
|
},
|
|
3966
3976
|
m(j, $) {
|
|
3967
|
-
Ze(j, t, $), H(t, r), H(r, n), H(n, i), H(i, o), H(r, c), G && G.m(r, null), H(r, d), V && V.m(r, null), H(r, u), H(r, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](r), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B,
|
|
3977
|
+
Ze(j, t, $), H(t, r), H(r, n), H(n, i), H(i, o), H(r, c), G && G.m(r, null), H(r, d), V && V.m(r, null), H(r, u), H(r, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](r), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B, N), H(N, P), H(P, T), H(N, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
|
|
3968
3978
|
at(
|
|
3969
3979
|
n,
|
|
3970
3980
|
"click",
|
|
@@ -4045,7 +4055,7 @@ let Rt = 1, St = 300;
|
|
|
4045
4055
|
function to(e, t, r) {
|
|
4046
4056
|
let n, i;
|
|
4047
4057
|
en(e, Zi, (s) => r(13, i = s));
|
|
4048
|
-
let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: g = "" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: M = "" } = t, x, C = [], B, U = 0,
|
|
4058
|
+
let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: g = "" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: M = "" } = t, x, C = [], B, U = 0, N = !0, P = !1, T, E, _ = null, Q = null, ie, fe = !1, Y, G;
|
|
4049
4059
|
qi({ withLocale: "en", translations: {} });
|
|
4050
4060
|
const V = () => {
|
|
4051
4061
|
fetch(M).then((m) => m.json()).then((m) => {
|
|
@@ -4080,7 +4090,7 @@ function to(e, t, r) {
|
|
|
4080
4090
|
Number(u) * 1e3
|
|
4081
4091
|
);
|
|
4082
4092
|
}, pe = (s) => {
|
|
4083
|
-
te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 &&
|
|
4093
|
+
te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 && N) && setTimeout(
|
|
4084
4094
|
() => {
|
|
4085
4095
|
r(5, U = U + s), te.curTournament.show();
|
|
4086
4096
|
},
|
|
@@ -4260,7 +4270,7 @@ function to(e, t, r) {
|
|
|
4260
4270
|
8388608 && M && V(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
|
|
4261
4271
|
48 && r(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
|
|
4262
4272
|
48 && r(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
|
|
4263
|
-
32 && r(8,
|
|
4273
|
+
32 && r(8, N = U == 0);
|
|
4264
4274
|
}, [
|
|
4265
4275
|
l,
|
|
4266
4276
|
v,
|
|
@@ -4270,7 +4280,7 @@ function to(e, t, r) {
|
|
|
4270
4280
|
U,
|
|
4271
4281
|
E,
|
|
4272
4282
|
B,
|
|
4273
|
-
|
|
4283
|
+
N,
|
|
4274
4284
|
P,
|
|
4275
4285
|
Y,
|
|
4276
4286
|
G,
|