@everymatrix/casino-tournaments-tab 1.74.7 → 1.74.10
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/{CasinoTournamentsTab-FpJocnPT.js → CasinoTournamentsTab-BEAfjge4.js} +652 -666
- package/components/{CasinoTournamentsTab-Dn32vmMJ.js → CasinoTournamentsTab-CW-afgeL.js} +616 -630
- package/components/CasinoTournamentsTab-CtJV1gll.cjs +18 -0
- package/es2015/casino-tournaments-tab.cjs +1 -1
- package/es2015/casino-tournaments-tab.js +1 -1
- package/esnext/casino-tournaments-tab.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsTab-BrSstAfx.cjs +0 -18
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function S() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function _t(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function K(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(_t);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ge(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Et(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function er(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function tr(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,17 +27,17 @@ function ir(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function L(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const n =
|
|
33
|
+
function rr(e, t, r) {
|
|
34
|
+
const n = nr(e);
|
|
35
35
|
if (!n.getElementById(t)) {
|
|
36
36
|
const i = O("style");
|
|
37
|
-
i.id = t, i.textContent = r,
|
|
37
|
+
i.id = t, i.textContent = r, ir(n, i);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function nr(e) {
|
|
41
41
|
if (!e)
|
|
42
42
|
return document;
|
|
43
43
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -47,8 +47,8 @@ function sr(e) {
|
|
|
47
47
|
t
|
|
48
48
|
) : e.ownerDocument;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
50
|
+
function ir(e, t) {
|
|
51
|
+
return L(
|
|
52
52
|
/** @type {Document} */
|
|
53
53
|
e.head || e,
|
|
54
54
|
t
|
|
@@ -60,33 +60,33 @@ function ee(e, t, r) {
|
|
|
60
60
|
function V(e) {
|
|
61
61
|
e.parentNode && e.parentNode.removeChild(e);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function or(e, t) {
|
|
64
64
|
for (let r = 0; r < e.length; r += 1)
|
|
65
65
|
e[r] && e[r].d(t);
|
|
66
66
|
}
|
|
67
67
|
function O(e) {
|
|
68
68
|
return document.createElement(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Fe(e) {
|
|
71
71
|
return document.createTextNode(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return
|
|
73
|
+
function We() {
|
|
74
|
+
return Fe(" ");
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function sr(e, t, r, n) {
|
|
77
77
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
78
78
|
}
|
|
79
79
|
function T(e, t, r) {
|
|
80
80
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ar(e) {
|
|
83
83
|
return Array.from(e.childNodes);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function xt(e, t) {
|
|
86
86
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
87
87
|
t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ur(e) {
|
|
90
90
|
const t = {};
|
|
91
91
|
return e.childNodes.forEach(
|
|
92
92
|
/** @param {Element} node */
|
|
@@ -99,22 +99,22 @@ let J;
|
|
|
99
99
|
function Q(e) {
|
|
100
100
|
J = e;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function hr() {
|
|
103
103
|
if (!J)
|
|
104
104
|
throw new Error("Function called outside component initialization");
|
|
105
105
|
return J;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
107
|
+
function Tt(e) {
|
|
108
|
+
hr().$$.on_mount.push(e);
|
|
109
109
|
}
|
|
110
|
-
const R = [],
|
|
110
|
+
const R = [], Se = [];
|
|
111
111
|
let U = [];
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
112
|
+
const Ze = [], lr = /* @__PURE__ */ Promise.resolve();
|
|
113
|
+
let we = !1;
|
|
114
|
+
function fr() {
|
|
115
|
+
we || (we = !0, lr.then(A));
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function He(e) {
|
|
118
118
|
U.push(e);
|
|
119
119
|
}
|
|
120
120
|
const ge = /* @__PURE__ */ new Set();
|
|
@@ -127,56 +127,56 @@ function A() {
|
|
|
127
127
|
try {
|
|
128
128
|
for (; M < R.length; ) {
|
|
129
129
|
const t = R[M];
|
|
130
|
-
M++, Q(t),
|
|
130
|
+
M++, Q(t), cr(t.$$);
|
|
131
131
|
}
|
|
132
132
|
} catch (t) {
|
|
133
133
|
throw R.length = 0, M = 0, t;
|
|
134
134
|
}
|
|
135
|
-
for (Q(null), R.length = 0, M = 0;
|
|
136
|
-
|
|
135
|
+
for (Q(null), R.length = 0, M = 0; Se.length; )
|
|
136
|
+
Se.pop()();
|
|
137
137
|
for (let t = 0; t < U.length; t += 1) {
|
|
138
138
|
const r = U[t];
|
|
139
139
|
ge.has(r) || (ge.add(r), r());
|
|
140
140
|
}
|
|
141
141
|
U.length = 0;
|
|
142
142
|
} while (R.length);
|
|
143
|
-
for (;
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
for (; Ze.length; )
|
|
144
|
+
Ze.pop()();
|
|
145
|
+
we = !1, ge.clear(), Q(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function cr(e) {
|
|
148
148
|
if (e.fragment !== null) {
|
|
149
149
|
e.update(), K(e.before_update);
|
|
150
150
|
const t = e.dirty;
|
|
151
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
151
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function dr(e) {
|
|
155
155
|
const t = [], r = [];
|
|
156
156
|
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
function
|
|
160
|
-
e && e.i && (
|
|
158
|
+
const pr = /* @__PURE__ */ new Set();
|
|
159
|
+
function mr(e, t) {
|
|
160
|
+
e && e.i && (pr.delete(e), e.i(t));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Qe(e) {
|
|
163
163
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function br(e, t, r) {
|
|
166
166
|
const { fragment: n, after_update: i } = e.$$;
|
|
167
|
-
n && n.m(t, r),
|
|
168
|
-
const o = e.$$.on_mount.map(
|
|
167
|
+
n && n.m(t, r), He(() => {
|
|
168
|
+
const o = e.$$.on_mount.map(_t).filter(Ge);
|
|
169
169
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
|
170
|
-
}), i.forEach(
|
|
170
|
+
}), i.forEach(He);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function gr(e, t) {
|
|
173
173
|
const r = e.$$;
|
|
174
|
-
r.fragment !== null && (
|
|
174
|
+
r.fragment !== null && (dr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
e.$$.dirty[0] === -1 && (R.push(e),
|
|
176
|
+
function yr(e, t) {
|
|
177
|
+
e.$$.dirty[0] === -1 && (R.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
180
180
|
const h = J;
|
|
181
181
|
Q(e);
|
|
182
182
|
const u = e.$$ = {
|
|
@@ -186,7 +186,7 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
186
186
|
props: o,
|
|
187
187
|
update: S,
|
|
188
188
|
not_equal: i,
|
|
189
|
-
bound:
|
|
189
|
+
bound: ze(),
|
|
190
190
|
// lifecycle
|
|
191
191
|
on_mount: [],
|
|
192
192
|
on_destroy: [],
|
|
@@ -195,28 +195,28 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
195
195
|
after_update: [],
|
|
196
196
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
197
197
|
// everything else
|
|
198
|
-
callbacks:
|
|
198
|
+
callbacks: ze(),
|
|
199
199
|
dirty: a,
|
|
200
200
|
skip_bound: !1,
|
|
201
201
|
root: t.target || h.$$.root
|
|
202
202
|
};
|
|
203
203
|
s && s(u.root);
|
|
204
204
|
let l = !1;
|
|
205
|
-
if (u.ctx = r
|
|
206
|
-
const
|
|
207
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
208
|
-
})
|
|
205
|
+
if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
|
|
206
|
+
const m = d.length ? d[0] : c;
|
|
207
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && yr(e, f)), c;
|
|
208
|
+
}), u.update(), l = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
209
209
|
if (t.hydrate) {
|
|
210
|
-
const f =
|
|
210
|
+
const f = ar(t.target);
|
|
211
211
|
u.fragment && u.fragment.l(f), f.forEach(V);
|
|
212
212
|
} else
|
|
213
213
|
u.fragment && u.fragment.c();
|
|
214
|
-
t.intro &&
|
|
214
|
+
t.intro && mr(e.$$.fragment), br(e, t.target, t.anchor), A();
|
|
215
215
|
}
|
|
216
216
|
Q(h);
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
218
|
+
let St;
|
|
219
|
+
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
220
220
|
/** The Svelte component constructor */
|
|
221
221
|
$$ctor;
|
|
222
222
|
/** Slots */
|
|
@@ -275,7 +275,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
275
275
|
};
|
|
276
276
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
277
277
|
return;
|
|
278
|
-
const t = {}, r =
|
|
278
|
+
const t = {}, r = ur(this);
|
|
279
279
|
for (const i of this.$$s)
|
|
280
280
|
i in r && (t[i] = [e(i)]);
|
|
281
281
|
for (const i of this.attributes) {
|
|
@@ -362,8 +362,8 @@ function se(e, t, r, n) {
|
|
|
362
362
|
return t;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
let s = class extends
|
|
365
|
+
function _r(e, t, r, n, i, o) {
|
|
366
|
+
let s = class extends St {
|
|
367
367
|
constructor() {
|
|
368
368
|
super(e, r, i), this.$$p_d = t;
|
|
369
369
|
}
|
|
@@ -391,7 +391,7 @@ function Tr(e, t, r, n, i, o) {
|
|
|
391
391
|
}), e.element = /** @type {any} */
|
|
392
392
|
s, s;
|
|
393
393
|
}
|
|
394
|
-
class
|
|
394
|
+
class Er {
|
|
395
395
|
/**
|
|
396
396
|
* ### PRIVATE API
|
|
397
397
|
*
|
|
@@ -410,7 +410,7 @@ class Sr {
|
|
|
410
410
|
$$set = void 0;
|
|
411
411
|
/** @returns {void} */
|
|
412
412
|
$destroy() {
|
|
413
|
-
|
|
413
|
+
gr(this, 1), this.$destroy = S;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -419,7 +419,7 @@ class Sr {
|
|
|
419
419
|
* @returns {() => void}
|
|
420
420
|
*/
|
|
421
421
|
$on(t, r) {
|
|
422
|
-
if (!
|
|
422
|
+
if (!Ge(r))
|
|
423
423
|
return S;
|
|
424
424
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
425
425
|
return n.push(r), () => {
|
|
@@ -432,21 +432,21 @@ class Sr {
|
|
|
432
432
|
* @returns {void}
|
|
433
433
|
*/
|
|
434
434
|
$set(t) {
|
|
435
|
-
this.$$set && !
|
|
435
|
+
this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
const
|
|
439
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
440
|
-
const
|
|
438
|
+
const xr = "4";
|
|
439
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
|
|
440
|
+
const Tr = (e) => (r) => {
|
|
441
441
|
Object.keys(e).map((n) => {
|
|
442
442
|
if (r.data && r.data.type == n) {
|
|
443
443
|
const { type: i, ...o } = r.data;
|
|
444
444
|
e[n](o);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
|
-
},
|
|
448
|
-
const t =
|
|
449
|
-
|
|
447
|
+
}, Sr = (e) => {
|
|
448
|
+
const t = Tr(e);
|
|
449
|
+
Tt(() => (window.addEventListener("message", t, !1), () => {
|
|
450
450
|
window.removeEventListener("message", t);
|
|
451
451
|
}));
|
|
452
452
|
};
|
|
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
464
464
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
465
|
PERFORMANCE OF THIS SOFTWARE.
|
|
466
466
|
***************************************************************************** */
|
|
467
|
-
var
|
|
468
|
-
return
|
|
467
|
+
var Be = function(e, t) {
|
|
468
|
+
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n)
|
|
472
472
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
-
},
|
|
473
|
+
}, Be(e, t);
|
|
474
474
|
};
|
|
475
475
|
function B(e, t) {
|
|
476
476
|
if (typeof t != "function" && t !== null)
|
|
477
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
478
|
+
Be(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
@@ -491,7 +491,7 @@ var g = function() {
|
|
|
491
491
|
return t;
|
|
492
492
|
}, g.apply(this, arguments);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function wr(e, t) {
|
|
495
495
|
var r = {};
|
|
496
496
|
for (var n in e)
|
|
497
497
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -500,7 +500,7 @@ function Ar(e, t) {
|
|
|
500
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
501
|
return r;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ae(e) {
|
|
504
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
505
505
|
if (r)
|
|
506
506
|
return r.call(e);
|
|
@@ -512,7 +512,7 @@ function Pe(e) {
|
|
|
512
512
|
};
|
|
513
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Pe(e, t) {
|
|
516
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
517
517
|
if (!r)
|
|
518
518
|
return e;
|
|
@@ -541,13 +541,13 @@ function D(e, t, r) {
|
|
|
541
541
|
function H(e) {
|
|
542
542
|
return typeof e == "function";
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function wt(e) {
|
|
545
545
|
var t = function(n) {
|
|
546
546
|
Error.call(n), n.stack = new Error().stack;
|
|
547
547
|
}, r = e(t);
|
|
548
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
549
549
|
}
|
|
550
|
-
var
|
|
550
|
+
var ye = wt(function(e) {
|
|
551
551
|
return function(r) {
|
|
552
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
553
553
|
` + r.map(function(n, i) {
|
|
@@ -556,7 +556,7 @@ var ve = Bt(function(e) {
|
|
|
556
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
|
-
function
|
|
559
|
+
function Oe(e, t) {
|
|
560
560
|
if (e) {
|
|
561
561
|
var r = e.indexOf(t);
|
|
562
562
|
0 <= r && e.splice(r, 1);
|
|
@@ -574,12 +574,12 @@ var ce = function() {
|
|
|
574
574
|
if (s)
|
|
575
575
|
if (this._parentage = null, Array.isArray(s))
|
|
576
576
|
try {
|
|
577
|
-
for (var a =
|
|
577
|
+
for (var a = Ae(s), h = a.next(); !h.done; h = a.next()) {
|
|
578
578
|
var u = h.value;
|
|
579
579
|
u.remove(this);
|
|
580
580
|
}
|
|
581
|
-
} catch (
|
|
582
|
-
t = { error:
|
|
581
|
+
} catch (y) {
|
|
582
|
+
t = { error: y };
|
|
583
583
|
} finally {
|
|
584
584
|
try {
|
|
585
585
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -594,26 +594,26 @@ var ce = function() {
|
|
|
594
594
|
if (H(l))
|
|
595
595
|
try {
|
|
596
596
|
l();
|
|
597
|
-
} catch (
|
|
598
|
-
o =
|
|
597
|
+
} catch (y) {
|
|
598
|
+
o = y instanceof ye ? y.errors : [y];
|
|
599
599
|
}
|
|
600
600
|
var f = this._finalizers;
|
|
601
601
|
if (f) {
|
|
602
602
|
this._finalizers = null;
|
|
603
603
|
try {
|
|
604
|
-
for (var c =
|
|
605
|
-
var
|
|
604
|
+
for (var c = Ae(f), d = c.next(); !d.done; d = c.next()) {
|
|
605
|
+
var m = d.value;
|
|
606
606
|
try {
|
|
607
|
-
|
|
608
|
-
} catch (
|
|
609
|
-
o = o ?? [],
|
|
607
|
+
Je(m);
|
|
608
|
+
} catch (y) {
|
|
609
|
+
o = o ?? [], y instanceof ye ? o = D(D([], Pe(o)), Pe(y.errors)) : o.push(y);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
} catch (
|
|
613
|
-
n = { error:
|
|
612
|
+
} catch (y) {
|
|
613
|
+
n = { error: y };
|
|
614
614
|
} finally {
|
|
615
615
|
try {
|
|
616
|
-
|
|
616
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
617
617
|
} finally {
|
|
618
618
|
if (n)
|
|
619
619
|
throw n.error;
|
|
@@ -621,13 +621,13 @@ var ce = function() {
|
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
if (o)
|
|
624
|
-
throw new
|
|
624
|
+
throw new ye(o);
|
|
625
625
|
}
|
|
626
626
|
}, e.prototype.add = function(t) {
|
|
627
627
|
var r;
|
|
628
628
|
if (t && t !== this)
|
|
629
629
|
if (this.closed)
|
|
630
|
-
|
|
630
|
+
Je(t);
|
|
631
631
|
else {
|
|
632
632
|
if (t instanceof e) {
|
|
633
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,56 +644,56 @@ var ce = function() {
|
|
|
644
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
645
|
}, e.prototype._removeParent = function(t) {
|
|
646
646
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && Oe(r, t);
|
|
648
648
|
}, e.prototype.remove = function(t) {
|
|
649
649
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
650
|
+
r && Oe(r, t), t instanceof e && t._removeParent(this);
|
|
651
651
|
}, e.EMPTY = function() {
|
|
652
652
|
var t = new e();
|
|
653
653
|
return t.closed = !0, t;
|
|
654
654
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
655
|
+
}(), Ht = ce.EMPTY;
|
|
656
|
+
function Bt(e) {
|
|
657
657
|
return e instanceof ce || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Je(e) {
|
|
660
660
|
H(e) ? e() : e.unsubscribe();
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var Hr = {
|
|
663
663
|
onUnhandledError: null,
|
|
664
664
|
onStoppedNotification: null,
|
|
665
665
|
Promise: void 0,
|
|
666
666
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
667
|
useDeprecatedNextContext: !1
|
|
668
|
-
},
|
|
668
|
+
}, Br = {
|
|
669
669
|
setTimeout: function(e, t) {
|
|
670
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
671
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0, D([e, t],
|
|
672
|
+
return setTimeout.apply(void 0, D([e, t], Pe(r)));
|
|
673
673
|
},
|
|
674
674
|
clearTimeout: function(e) {
|
|
675
675
|
return clearTimeout(e);
|
|
676
676
|
},
|
|
677
677
|
delegate: void 0
|
|
678
678
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
679
|
+
function Ar(e) {
|
|
680
|
+
Br.setTimeout(function() {
|
|
681
681
|
throw e;
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Ye() {
|
|
685
685
|
}
|
|
686
686
|
function ae(e) {
|
|
687
687
|
e();
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var At = function(e) {
|
|
690
690
|
B(t, e);
|
|
691
691
|
function t(r) {
|
|
692
692
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
693
|
+
return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = Ir, n;
|
|
694
694
|
}
|
|
695
695
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
696
|
+
return new Ie(r, n, i);
|
|
697
697
|
}, t.prototype.next = function(r) {
|
|
698
698
|
this.isStopped || this._next(r);
|
|
699
699
|
}, t.prototype.error = function(r) {
|
|
@@ -717,11 +717,7 @@ var It = function(e) {
|
|
|
717
717
|
this.unsubscribe();
|
|
718
718
|
}
|
|
719
719
|
}, t;
|
|
720
|
-
}(ce),
|
|
721
|
-
function ye(e, t) {
|
|
722
|
-
return Ir.call(e, t);
|
|
723
|
-
}
|
|
724
|
-
var Lr = function() {
|
|
720
|
+
}(ce), Pr = function() {
|
|
725
721
|
function e(t) {
|
|
726
722
|
this.partialObserver = t;
|
|
727
723
|
}
|
|
@@ -752,55 +748,43 @@ var Lr = function() {
|
|
|
752
748
|
ie(r);
|
|
753
749
|
}
|
|
754
750
|
}, e;
|
|
755
|
-
}(),
|
|
751
|
+
}(), Ie = function(e) {
|
|
756
752
|
B(t, e);
|
|
757
753
|
function t(r, n, i) {
|
|
758
754
|
var o = e.call(this) || this, s;
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
};
|
|
765
|
-
else {
|
|
766
|
-
var a;
|
|
767
|
-
o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
768
|
-
return o.unsubscribe();
|
|
769
|
-
}, s = {
|
|
770
|
-
next: r.next && ye(r.next, a),
|
|
771
|
-
error: r.error && ye(r.error, a),
|
|
772
|
-
complete: r.complete && ye(r.complete, a)
|
|
773
|
-
}) : s = r;
|
|
774
|
-
}
|
|
775
|
-
return o.destination = new Lr(s), o;
|
|
755
|
+
return H(r) || !r ? s = {
|
|
756
|
+
next: r ?? void 0,
|
|
757
|
+
error: n ?? void 0,
|
|
758
|
+
complete: i ?? void 0
|
|
759
|
+
} : s = r, o.destination = new Pr(s), o;
|
|
776
760
|
}
|
|
777
761
|
return t;
|
|
778
|
-
}(
|
|
762
|
+
}(At);
|
|
779
763
|
function ie(e) {
|
|
780
|
-
|
|
764
|
+
Ar(e);
|
|
781
765
|
}
|
|
782
|
-
function
|
|
766
|
+
function Or(e) {
|
|
783
767
|
throw e;
|
|
784
768
|
}
|
|
785
|
-
var
|
|
769
|
+
var Ir = {
|
|
786
770
|
closed: !0,
|
|
787
|
-
next:
|
|
788
|
-
error:
|
|
789
|
-
complete:
|
|
790
|
-
},
|
|
771
|
+
next: Ye,
|
|
772
|
+
error: Or,
|
|
773
|
+
complete: Ye
|
|
774
|
+
}, Nr = function() {
|
|
791
775
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
792
776
|
}();
|
|
793
|
-
function
|
|
777
|
+
function Lr(e) {
|
|
794
778
|
return e;
|
|
795
779
|
}
|
|
796
|
-
function
|
|
797
|
-
return e.length === 0 ?
|
|
780
|
+
function Cr(e) {
|
|
781
|
+
return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
|
|
798
782
|
return e.reduce(function(n, i) {
|
|
799
783
|
return i(n);
|
|
800
784
|
}, r);
|
|
801
785
|
};
|
|
802
786
|
}
|
|
803
|
-
var
|
|
787
|
+
var qe = function() {
|
|
804
788
|
function e(t) {
|
|
805
789
|
t && (this._subscribe = t);
|
|
806
790
|
}
|
|
@@ -808,7 +792,7 @@ var et = function() {
|
|
|
808
792
|
var r = new e();
|
|
809
793
|
return r.source = this, r.operator = t, r;
|
|
810
794
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
811
|
-
var i = this, o =
|
|
795
|
+
var i = this, o = $r(t) ? t : new Ie(t, r, n);
|
|
812
796
|
return ae(function() {
|
|
813
797
|
var s = i, a = s.operator, h = s.source;
|
|
814
798
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -821,8 +805,8 @@ var et = function() {
|
|
|
821
805
|
}
|
|
822
806
|
}, e.prototype.forEach = function(t, r) {
|
|
823
807
|
var n = this;
|
|
824
|
-
return r =
|
|
825
|
-
var s = new
|
|
808
|
+
return r = Ke(r), new r(function(i, o) {
|
|
809
|
+
var s = new Ie({
|
|
826
810
|
next: function(a) {
|
|
827
811
|
try {
|
|
828
812
|
t(a);
|
|
@@ -838,15 +822,15 @@ var et = function() {
|
|
|
838
822
|
}, e.prototype._subscribe = function(t) {
|
|
839
823
|
var r;
|
|
840
824
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
841
|
-
}, e.prototype[
|
|
825
|
+
}, e.prototype[Nr] = function() {
|
|
842
826
|
return this;
|
|
843
827
|
}, e.prototype.pipe = function() {
|
|
844
828
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
845
829
|
t[r] = arguments[r];
|
|
846
|
-
return
|
|
830
|
+
return Cr(t)(this);
|
|
847
831
|
}, e.prototype.toPromise = function(t) {
|
|
848
832
|
var r = this;
|
|
849
|
-
return t =
|
|
833
|
+
return t = Ke(t), new t(function(n, i) {
|
|
850
834
|
var o;
|
|
851
835
|
r.subscribe(function(s) {
|
|
852
836
|
return o = s;
|
|
@@ -860,32 +844,32 @@ var et = function() {
|
|
|
860
844
|
return new e(t);
|
|
861
845
|
}, e;
|
|
862
846
|
}();
|
|
863
|
-
function
|
|
847
|
+
function Ke(e) {
|
|
864
848
|
var t;
|
|
865
|
-
return (t = e ??
|
|
849
|
+
return (t = e ?? Hr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
866
850
|
}
|
|
867
|
-
function
|
|
851
|
+
function Mr(e) {
|
|
868
852
|
return e && H(e.next) && H(e.error) && H(e.complete);
|
|
869
853
|
}
|
|
870
|
-
function
|
|
871
|
-
return e && e instanceof
|
|
854
|
+
function $r(e) {
|
|
855
|
+
return e && e instanceof At || Mr(e) && Bt(e);
|
|
872
856
|
}
|
|
873
|
-
var
|
|
857
|
+
var Rr = wt(function(e) {
|
|
874
858
|
return function() {
|
|
875
859
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
876
860
|
};
|
|
877
|
-
}),
|
|
861
|
+
}), Pt = function(e) {
|
|
878
862
|
B(t, e);
|
|
879
863
|
function t() {
|
|
880
864
|
var r = e.call(this) || this;
|
|
881
865
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
882
866
|
}
|
|
883
867
|
return t.prototype.lift = function(r) {
|
|
884
|
-
var n = new
|
|
868
|
+
var n = new et(this, this);
|
|
885
869
|
return n.operator = r, n;
|
|
886
870
|
}, t.prototype._throwIfClosed = function() {
|
|
887
871
|
if (this.closed)
|
|
888
|
-
throw new
|
|
872
|
+
throw new Rr();
|
|
889
873
|
}, t.prototype.next = function(r) {
|
|
890
874
|
var n = this;
|
|
891
875
|
ae(function() {
|
|
@@ -893,7 +877,7 @@ var Gr = Bt(function(e) {
|
|
|
893
877
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
894
878
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
895
879
|
try {
|
|
896
|
-
for (var s =
|
|
880
|
+
for (var s = Ae(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
897
881
|
var h = a.value;
|
|
898
882
|
h.next(r);
|
|
899
883
|
}
|
|
@@ -942,19 +926,19 @@ var Gr = Bt(function(e) {
|
|
|
942
926
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
943
927
|
}, t.prototype._innerSubscribe = function(r) {
|
|
944
928
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
945
|
-
return o || s ?
|
|
946
|
-
n.currentObservers = null,
|
|
929
|
+
return o || s ? Ht : (this.currentObservers = null, a.push(r), new ce(function() {
|
|
930
|
+
n.currentObservers = null, Oe(a, r);
|
|
947
931
|
}));
|
|
948
932
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
949
933
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
950
934
|
i ? r.error(o) : s && r.complete();
|
|
951
935
|
}, t.prototype.asObservable = function() {
|
|
952
|
-
var r = new
|
|
936
|
+
var r = new qe();
|
|
953
937
|
return r.source = this, r;
|
|
954
938
|
}, t.create = function(r, n) {
|
|
955
|
-
return new
|
|
939
|
+
return new et(r, n);
|
|
956
940
|
}, t;
|
|
957
|
-
}(
|
|
941
|
+
}(qe), et = function(e) {
|
|
958
942
|
B(t, e);
|
|
959
943
|
function t(r, n) {
|
|
960
944
|
var i = e.call(this) || this;
|
|
@@ -971,17 +955,17 @@ var Gr = Bt(function(e) {
|
|
|
971
955
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
972
956
|
}, t.prototype._subscribe = function(r) {
|
|
973
957
|
var n, i;
|
|
974
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
958
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
|
|
975
959
|
}, t;
|
|
976
|
-
}(
|
|
960
|
+
}(Pt), Ot = {
|
|
977
961
|
now: function() {
|
|
978
|
-
return (
|
|
962
|
+
return (Ot.delegate || Date).now();
|
|
979
963
|
},
|
|
980
964
|
delegate: void 0
|
|
981
|
-
},
|
|
965
|
+
}, Ur = function(e) {
|
|
982
966
|
B(t, e);
|
|
983
967
|
function t(r, n, i) {
|
|
984
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
968
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
|
|
985
969
|
var o = e.call(this) || this;
|
|
986
970
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
987
971
|
}
|
|
@@ -1001,24 +985,24 @@ var Gr = Bt(function(e) {
|
|
|
1001
985
|
u && o.splice(0, u + 1);
|
|
1002
986
|
}
|
|
1003
987
|
}, t;
|
|
1004
|
-
}(
|
|
1005
|
-
const
|
|
1006
|
-
if (
|
|
1007
|
-
const r = new
|
|
1008
|
-
|
|
988
|
+
}(Pt);
|
|
989
|
+
const tt = [], rt = {}, Dr = (e, t = 0) => {
|
|
990
|
+
if (tt.indexOf(e) == -1) {
|
|
991
|
+
const r = new Ur(t);
|
|
992
|
+
rt[e] = r, tt.push(e);
|
|
1009
993
|
}
|
|
1010
|
-
return
|
|
994
|
+
return rt[e];
|
|
1011
995
|
}, $ = [];
|
|
1012
|
-
function
|
|
996
|
+
function Gr(e, t) {
|
|
1013
997
|
return {
|
|
1014
|
-
subscribe:
|
|
998
|
+
subscribe: de(e, t).subscribe
|
|
1015
999
|
};
|
|
1016
1000
|
}
|
|
1017
|
-
function
|
|
1001
|
+
function de(e, t = S) {
|
|
1018
1002
|
let r;
|
|
1019
1003
|
const n = /* @__PURE__ */ new Set();
|
|
1020
1004
|
function i(a) {
|
|
1021
|
-
if (
|
|
1005
|
+
if (Et(e, a) && (e = a, r)) {
|
|
1022
1006
|
const h = !$.length;
|
|
1023
1007
|
for (const u of n)
|
|
1024
1008
|
u[1](), $.push(u, e);
|
|
@@ -1045,7 +1029,7 @@ function X(e, t, r) {
|
|
|
1045
1029
|
if (!i.every(Boolean))
|
|
1046
1030
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1047
1031
|
const o = t.length < 2;
|
|
1048
|
-
return
|
|
1032
|
+
return Gr(r, (s, a) => {
|
|
1049
1033
|
let h = !1;
|
|
1050
1034
|
const u = [];
|
|
1051
1035
|
let l = 0, f = S;
|
|
@@ -1053,88 +1037,88 @@ function X(e, t, r) {
|
|
|
1053
1037
|
if (l)
|
|
1054
1038
|
return;
|
|
1055
1039
|
f();
|
|
1056
|
-
const
|
|
1057
|
-
o ? s(
|
|
1058
|
-
},
|
|
1059
|
-
(
|
|
1060
|
-
|
|
1040
|
+
const m = t(n ? u[0] : u, s, a);
|
|
1041
|
+
o ? s(m) : f = Ge(m) ? m : S;
|
|
1042
|
+
}, d = i.map(
|
|
1043
|
+
(m, y) => tr(
|
|
1044
|
+
m,
|
|
1061
1045
|
(x) => {
|
|
1062
|
-
u[
|
|
1046
|
+
u[y] = x, l &= ~(1 << y), h && c();
|
|
1063
1047
|
},
|
|
1064
1048
|
() => {
|
|
1065
|
-
l |= 1 <<
|
|
1049
|
+
l |= 1 << y;
|
|
1066
1050
|
}
|
|
1067
1051
|
)
|
|
1068
1052
|
);
|
|
1069
1053
|
return h = !0, c(), function() {
|
|
1070
|
-
K(
|
|
1054
|
+
K(d), f(), h = !1;
|
|
1071
1055
|
};
|
|
1072
1056
|
});
|
|
1073
1057
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return e
|
|
1058
|
+
function Fr(e) {
|
|
1059
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1076
1060
|
}
|
|
1077
|
-
var
|
|
1078
|
-
return
|
|
1061
|
+
var jr = function(t) {
|
|
1062
|
+
return kr(t) && !Vr(t);
|
|
1079
1063
|
};
|
|
1080
|
-
function
|
|
1064
|
+
function kr(e) {
|
|
1081
1065
|
return !!e && typeof e == "object";
|
|
1082
1066
|
}
|
|
1083
|
-
function
|
|
1067
|
+
function Vr(e) {
|
|
1084
1068
|
var t = Object.prototype.toString.call(e);
|
|
1085
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1069
|
+
return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
|
|
1086
1070
|
}
|
|
1087
|
-
var
|
|
1088
|
-
function
|
|
1089
|
-
return e.$$typeof ===
|
|
1071
|
+
var Xr = typeof Symbol == "function" && Symbol.for, zr = Xr ? Symbol.for("react.element") : 60103;
|
|
1072
|
+
function Wr(e) {
|
|
1073
|
+
return e.$$typeof === zr;
|
|
1090
1074
|
}
|
|
1091
|
-
function
|
|
1075
|
+
function Zr(e) {
|
|
1092
1076
|
return Array.isArray(e) ? [] : {};
|
|
1093
1077
|
}
|
|
1094
1078
|
function Y(e, t) {
|
|
1095
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? G(
|
|
1079
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(Zr(e), e, t) : e;
|
|
1096
1080
|
}
|
|
1097
|
-
function
|
|
1081
|
+
function Qr(e, t, r) {
|
|
1098
1082
|
return e.concat(t).map(function(n) {
|
|
1099
1083
|
return Y(n, r);
|
|
1100
1084
|
});
|
|
1101
1085
|
}
|
|
1102
|
-
function
|
|
1086
|
+
function Jr(e, t) {
|
|
1103
1087
|
if (!t.customMerge)
|
|
1104
1088
|
return G;
|
|
1105
1089
|
var r = t.customMerge(e);
|
|
1106
1090
|
return typeof r == "function" ? r : G;
|
|
1107
1091
|
}
|
|
1108
|
-
function
|
|
1092
|
+
function Yr(e) {
|
|
1109
1093
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1110
1094
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1111
1095
|
}) : [];
|
|
1112
1096
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return Object.keys(e).concat(
|
|
1097
|
+
function nt(e) {
|
|
1098
|
+
return Object.keys(e).concat(Yr(e));
|
|
1115
1099
|
}
|
|
1116
|
-
function
|
|
1100
|
+
function It(e, t) {
|
|
1117
1101
|
try {
|
|
1118
1102
|
return t in e;
|
|
1119
1103
|
} catch {
|
|
1120
1104
|
return !1;
|
|
1121
1105
|
}
|
|
1122
1106
|
}
|
|
1123
|
-
function
|
|
1124
|
-
return
|
|
1107
|
+
function qr(e, t) {
|
|
1108
|
+
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1125
1109
|
}
|
|
1126
|
-
function
|
|
1110
|
+
function Kr(e, t, r) {
|
|
1127
1111
|
var n = {};
|
|
1128
|
-
return r.isMergeableObject(e) &&
|
|
1112
|
+
return r.isMergeableObject(e) && nt(e).forEach(function(i) {
|
|
1129
1113
|
n[i] = Y(e[i], r);
|
|
1130
|
-
}),
|
|
1131
|
-
|
|
1114
|
+
}), nt(t).forEach(function(i) {
|
|
1115
|
+
qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
1132
1116
|
}), n;
|
|
1133
1117
|
}
|
|
1134
1118
|
function G(e, t, r) {
|
|
1135
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1119
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
1136
1120
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1137
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1121
|
+
return o ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : Y(t, r);
|
|
1138
1122
|
}
|
|
1139
1123
|
G.all = function(t, r) {
|
|
1140
1124
|
if (!Array.isArray(t))
|
|
@@ -1143,62 +1127,64 @@ G.all = function(t, r) {
|
|
|
1143
1127
|
return G(n, i, r);
|
|
1144
1128
|
}, {});
|
|
1145
1129
|
};
|
|
1146
|
-
var
|
|
1147
|
-
const
|
|
1148
|
-
function
|
|
1149
|
-
var r = t && t.cache ? t.cache :
|
|
1130
|
+
var en = G, tn = en;
|
|
1131
|
+
const rn = /* @__PURE__ */ Fr(tn);
|
|
1132
|
+
function ve(e, t) {
|
|
1133
|
+
var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
|
|
1150
1134
|
return i(e, {
|
|
1151
1135
|
cache: r,
|
|
1152
1136
|
serializer: n
|
|
1153
1137
|
});
|
|
1154
1138
|
}
|
|
1155
|
-
function
|
|
1139
|
+
function nn(e) {
|
|
1156
1140
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1157
1141
|
}
|
|
1158
|
-
function
|
|
1159
|
-
var i =
|
|
1142
|
+
function Nt(e, t, r, n) {
|
|
1143
|
+
var i = nn(n) ? n : r(n), o = t.get(i);
|
|
1160
1144
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1161
1145
|
}
|
|
1162
|
-
function
|
|
1146
|
+
function Lt(e, t, r) {
|
|
1163
1147
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1164
1148
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1165
1149
|
}
|
|
1166
|
-
function
|
|
1150
|
+
function je(e, t, r, n, i) {
|
|
1167
1151
|
return r.bind(t, e, n, i);
|
|
1168
1152
|
}
|
|
1169
|
-
function
|
|
1170
|
-
var r = e.length === 1 ?
|
|
1171
|
-
return
|
|
1153
|
+
function on(e, t) {
|
|
1154
|
+
var r = e.length === 1 ? Nt : Lt;
|
|
1155
|
+
return je(e, this, r, t.cache.create(), t.serializer);
|
|
1172
1156
|
}
|
|
1173
|
-
function
|
|
1174
|
-
return
|
|
1157
|
+
function sn(e, t) {
|
|
1158
|
+
return je(e, this, Lt, t.cache.create(), t.serializer);
|
|
1175
1159
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return
|
|
1160
|
+
function an(e, t) {
|
|
1161
|
+
return je(e, this, Nt, t.cache.create(), t.serializer);
|
|
1178
1162
|
}
|
|
1179
|
-
var
|
|
1163
|
+
var un = function() {
|
|
1180
1164
|
return JSON.stringify(arguments);
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1165
|
+
}, hn = (
|
|
1166
|
+
/** @class */
|
|
1167
|
+
function() {
|
|
1168
|
+
function e() {
|
|
1169
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1170
|
+
}
|
|
1171
|
+
return e.prototype.get = function(t) {
|
|
1172
|
+
return this.cache[t];
|
|
1173
|
+
}, e.prototype.set = function(t, r) {
|
|
1174
|
+
this.cache[t] = r;
|
|
1175
|
+
}, e;
|
|
1176
|
+
}()
|
|
1177
|
+
), ln = {
|
|
1192
1178
|
create: function() {
|
|
1193
|
-
return new
|
|
1179
|
+
return new hn();
|
|
1194
1180
|
}
|
|
1195
|
-
},
|
|
1196
|
-
variadic:
|
|
1197
|
-
monadic:
|
|
1198
|
-
},
|
|
1181
|
+
}, _e = {
|
|
1182
|
+
variadic: sn,
|
|
1183
|
+
monadic: an
|
|
1184
|
+
}, p;
|
|
1199
1185
|
(function(e) {
|
|
1200
1186
|
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";
|
|
1201
|
-
})(
|
|
1187
|
+
})(p || (p = {}));
|
|
1202
1188
|
var _;
|
|
1203
1189
|
(function(e) {
|
|
1204
1190
|
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";
|
|
@@ -1207,41 +1193,41 @@ var F;
|
|
|
1207
1193
|
(function(e) {
|
|
1208
1194
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1209
1195
|
})(F || (F = {}));
|
|
1210
|
-
function
|
|
1196
|
+
function it(e) {
|
|
1211
1197
|
return e.type === _.literal;
|
|
1212
1198
|
}
|
|
1213
|
-
function
|
|
1199
|
+
function fn(e) {
|
|
1214
1200
|
return e.type === _.argument;
|
|
1215
1201
|
}
|
|
1216
|
-
function
|
|
1202
|
+
function Ct(e) {
|
|
1217
1203
|
return e.type === _.number;
|
|
1218
1204
|
}
|
|
1219
|
-
function
|
|
1205
|
+
function Mt(e) {
|
|
1220
1206
|
return e.type === _.date;
|
|
1221
1207
|
}
|
|
1222
|
-
function
|
|
1208
|
+
function $t(e) {
|
|
1223
1209
|
return e.type === _.time;
|
|
1224
1210
|
}
|
|
1225
|
-
function
|
|
1211
|
+
function Rt(e) {
|
|
1226
1212
|
return e.type === _.select;
|
|
1227
1213
|
}
|
|
1228
|
-
function
|
|
1214
|
+
function Ut(e) {
|
|
1229
1215
|
return e.type === _.plural;
|
|
1230
1216
|
}
|
|
1231
|
-
function
|
|
1217
|
+
function cn(e) {
|
|
1232
1218
|
return e.type === _.pound;
|
|
1233
1219
|
}
|
|
1234
|
-
function
|
|
1220
|
+
function Dt(e) {
|
|
1235
1221
|
return e.type === _.tag;
|
|
1236
1222
|
}
|
|
1237
|
-
function
|
|
1223
|
+
function Gt(e) {
|
|
1238
1224
|
return !!(e && typeof e == "object" && e.type === F.number);
|
|
1239
1225
|
}
|
|
1240
1226
|
function Ne(e) {
|
|
1241
1227
|
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
1242
1228
|
}
|
|
1243
|
-
var
|
|
1244
|
-
function
|
|
1229
|
+
var Ft = /[ \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;
|
|
1230
|
+
function pn(e) {
|
|
1245
1231
|
var t = {};
|
|
1246
1232
|
return e.replace(dn, function(r) {
|
|
1247
1233
|
var n = r.length;
|
|
@@ -1332,11 +1318,11 @@ function bn(e) {
|
|
|
1332
1318
|
return "";
|
|
1333
1319
|
}), t;
|
|
1334
1320
|
}
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1321
|
+
var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1322
|
+
function bn(e) {
|
|
1337
1323
|
if (e.length === 0)
|
|
1338
1324
|
throw new Error("Number skeleton cannot be empty");
|
|
1339
|
-
for (var t = e.split(
|
|
1325
|
+
for (var t = e.split(mn).filter(function(c) {
|
|
1340
1326
|
return c.length > 0;
|
|
1341
1327
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1342
1328
|
var o = i[n], s = o.split("/");
|
|
@@ -1351,17 +1337,17 @@ function vn(e) {
|
|
|
1351
1337
|
}
|
|
1352
1338
|
return r;
|
|
1353
1339
|
}
|
|
1354
|
-
function
|
|
1340
|
+
function gn(e) {
|
|
1355
1341
|
return e.replace(/^(.*?)-/, "");
|
|
1356
1342
|
}
|
|
1357
|
-
var
|
|
1358
|
-
function
|
|
1343
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
|
|
1344
|
+
function st(e) {
|
|
1359
1345
|
var t = {};
|
|
1360
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1346
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
|
|
1361
1347
|
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)), "";
|
|
1362
1348
|
}), t;
|
|
1363
1349
|
}
|
|
1364
|
-
function
|
|
1350
|
+
function Vt(e) {
|
|
1365
1351
|
switch (e) {
|
|
1366
1352
|
case "sign-auto":
|
|
1367
1353
|
return {
|
|
@@ -1401,7 +1387,7 @@ function Wt(e) {
|
|
|
1401
1387
|
};
|
|
1402
1388
|
}
|
|
1403
1389
|
}
|
|
1404
|
-
function
|
|
1390
|
+
function vn(e) {
|
|
1405
1391
|
var t;
|
|
1406
1392
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1407
1393
|
notation: "engineering"
|
|
@@ -1409,17 +1395,17 @@ function En(e) {
|
|
|
1409
1395
|
notation: "scientific"
|
|
1410
1396
|
}, e = e.slice(1)), t) {
|
|
1411
1397
|
var r = e.slice(0, 2);
|
|
1412
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1398
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
|
|
1413
1399
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1414
1400
|
t.minimumIntegerDigits = e.length;
|
|
1415
1401
|
}
|
|
1416
1402
|
return t;
|
|
1417
1403
|
}
|
|
1418
|
-
function
|
|
1419
|
-
var t = {}, r =
|
|
1404
|
+
function at(e) {
|
|
1405
|
+
var t = {}, r = Vt(e);
|
|
1420
1406
|
return r || t;
|
|
1421
1407
|
}
|
|
1422
|
-
function
|
|
1408
|
+
function _n(e) {
|
|
1423
1409
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1424
1410
|
var i = n[r];
|
|
1425
1411
|
switch (i.stem) {
|
|
@@ -1443,7 +1429,7 @@ function xn(e) {
|
|
|
1443
1429
|
continue;
|
|
1444
1430
|
case "measure-unit":
|
|
1445
1431
|
case "unit":
|
|
1446
|
-
t.style = "unit", t.unit =
|
|
1432
|
+
t.style = "unit", t.unit = gn(i.options[0]);
|
|
1447
1433
|
continue;
|
|
1448
1434
|
case "compact-short":
|
|
1449
1435
|
case "K":
|
|
@@ -1455,12 +1441,12 @@ function xn(e) {
|
|
|
1455
1441
|
continue;
|
|
1456
1442
|
case "scientific":
|
|
1457
1443
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1458
|
-
return g(g({}, h),
|
|
1444
|
+
return g(g({}, h), at(u));
|
|
1459
1445
|
}, {}));
|
|
1460
1446
|
continue;
|
|
1461
1447
|
case "engineering":
|
|
1462
1448
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1463
|
-
return g(g({}, h),
|
|
1449
|
+
return g(g({}, h), at(u));
|
|
1464
1450
|
}, {}));
|
|
1465
1451
|
continue;
|
|
1466
1452
|
case "notation-simple":
|
|
@@ -1505,40 +1491,40 @@ function xn(e) {
|
|
|
1505
1491
|
case "integer-width":
|
|
1506
1492
|
if (i.options.length > 1)
|
|
1507
1493
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1508
|
-
i.options[0].replace(
|
|
1494
|
+
i.options[0].replace(yn, function(h, u, l, f, c, d) {
|
|
1509
1495
|
if (u)
|
|
1510
1496
|
t.minimumIntegerDigits = l.length;
|
|
1511
1497
|
else {
|
|
1512
1498
|
if (f && c)
|
|
1513
1499
|
throw new Error("We currently do not support maximum integer digits");
|
|
1514
|
-
if (
|
|
1500
|
+
if (d)
|
|
1515
1501
|
throw new Error("We currently do not support exact integer digits");
|
|
1516
1502
|
}
|
|
1517
1503
|
return "";
|
|
1518
1504
|
});
|
|
1519
1505
|
continue;
|
|
1520
1506
|
}
|
|
1521
|
-
if (
|
|
1507
|
+
if (kt.test(i.stem)) {
|
|
1522
1508
|
t.minimumIntegerDigits = i.stem.length;
|
|
1523
1509
|
continue;
|
|
1524
1510
|
}
|
|
1525
|
-
if (
|
|
1511
|
+
if (ot.test(i.stem)) {
|
|
1526
1512
|
if (i.options.length > 1)
|
|
1527
1513
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1528
|
-
i.stem.replace(
|
|
1529
|
-
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1514
|
+
i.stem.replace(ot, function(h, u, l, f, c, d) {
|
|
1515
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1530
1516
|
});
|
|
1531
1517
|
var o = i.options[0];
|
|
1532
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1518
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), st(o)));
|
|
1533
1519
|
continue;
|
|
1534
1520
|
}
|
|
1535
|
-
if (
|
|
1536
|
-
t = g(g({}, t),
|
|
1521
|
+
if (jt.test(i.stem)) {
|
|
1522
|
+
t = g(g({}, t), st(i.stem));
|
|
1537
1523
|
continue;
|
|
1538
1524
|
}
|
|
1539
|
-
var s =
|
|
1525
|
+
var s = Vt(i.stem);
|
|
1540
1526
|
s && (t = g(g({}, t), s));
|
|
1541
|
-
var a =
|
|
1527
|
+
var a = vn(i.stem);
|
|
1542
1528
|
a && (t = g(g({}, t), a));
|
|
1543
1529
|
}
|
|
1544
1530
|
return t;
|
|
@@ -2958,13 +2944,13 @@ var oe = {
|
|
|
2958
2944
|
"h"
|
|
2959
2945
|
]
|
|
2960
2946
|
};
|
|
2961
|
-
function
|
|
2947
|
+
function En(e, t) {
|
|
2962
2948
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2963
2949
|
var i = e.charAt(n);
|
|
2964
2950
|
if (i === "j") {
|
|
2965
2951
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2966
2952
|
o++, n++;
|
|
2967
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2953
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = xn(t);
|
|
2968
2954
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2969
2955
|
r += h;
|
|
2970
2956
|
for (; s-- > 0; )
|
|
@@ -2974,7 +2960,7 @@ function Tn(e, t) {
|
|
|
2974
2960
|
}
|
|
2975
2961
|
return r;
|
|
2976
2962
|
}
|
|
2977
|
-
function
|
|
2963
|
+
function xn(e) {
|
|
2978
2964
|
var t = e.hourCycle;
|
|
2979
2965
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2980
2966
|
e.hourCycles && // @ts-ignore
|
|
@@ -2996,20 +2982,20 @@ function Sn(e) {
|
|
|
2996
2982
|
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
2997
2983
|
return i[0];
|
|
2998
2984
|
}
|
|
2999
|
-
var
|
|
2985
|
+
var Ee, Tn = new RegExp("^".concat(Ft.source, "*")), Sn = new RegExp("".concat(Ft.source, "*$"));
|
|
3000
2986
|
function b(e, t) {
|
|
3001
2987
|
return { start: e, end: t };
|
|
3002
2988
|
}
|
|
3003
|
-
var
|
|
2989
|
+
var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, Bn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Nn = In ? Number.isSafeInteger : function(e) {
|
|
3004
2990
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3005
|
-
},
|
|
2991
|
+
}, Le = !0;
|
|
3006
2992
|
try {
|
|
3007
|
-
var
|
|
3008
|
-
|
|
2993
|
+
var Ln = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2994
|
+
Le = ((Ee = Ln.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
|
3009
2995
|
} catch {
|
|
3010
|
-
|
|
2996
|
+
Le = !1;
|
|
3011
2997
|
}
|
|
3012
|
-
var
|
|
2998
|
+
var ut = wn ? (
|
|
3013
2999
|
// Native
|
|
3014
3000
|
function(t, r, n) {
|
|
3015
3001
|
return t.startsWith(r, n);
|
|
@@ -3019,7 +3005,7 @@ var lt = Bn ? (
|
|
|
3019
3005
|
function(t, r, n) {
|
|
3020
3006
|
return t.slice(n, n + r.length) === r;
|
|
3021
3007
|
}
|
|
3022
|
-
),
|
|
3008
|
+
), Ce = Hn ? String.fromCodePoint : (
|
|
3023
3009
|
// IE11
|
|
3024
3010
|
function() {
|
|
3025
3011
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3031,9 +3017,9 @@ var lt = Bn ? (
|
|
|
3031
3017
|
}
|
|
3032
3018
|
return n;
|
|
3033
3019
|
}
|
|
3034
|
-
),
|
|
3020
|
+
), ht = (
|
|
3035
3021
|
// native
|
|
3036
|
-
|
|
3022
|
+
Bn ? Object.fromEntries : (
|
|
3037
3023
|
// Ponyfill
|
|
3038
3024
|
function(t) {
|
|
3039
3025
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3043,7 +3029,7 @@ var lt = Bn ? (
|
|
|
3043
3029
|
return r;
|
|
3044
3030
|
}
|
|
3045
3031
|
)
|
|
3046
|
-
),
|
|
3032
|
+
), Xt = An ? (
|
|
3047
3033
|
// Native
|
|
3048
3034
|
function(t, r) {
|
|
3049
3035
|
return t.codePointAt(r);
|
|
@@ -3057,7 +3043,7 @@ var lt = Bn ? (
|
|
|
3057
3043
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3058
3044
|
}
|
|
3059
3045
|
}
|
|
3060
|
-
),
|
|
3046
|
+
), Cn = Pn ? (
|
|
3061
3047
|
// Native
|
|
3062
3048
|
function(t) {
|
|
3063
3049
|
return t.trimStart();
|
|
@@ -3065,9 +3051,9 @@ var lt = Bn ? (
|
|
|
3065
3051
|
) : (
|
|
3066
3052
|
// Ponyfill
|
|
3067
3053
|
function(t) {
|
|
3068
|
-
return t.replace(
|
|
3054
|
+
return t.replace(Tn, "");
|
|
3069
3055
|
}
|
|
3070
|
-
),
|
|
3056
|
+
), Mn = On ? (
|
|
3071
3057
|
// Native
|
|
3072
3058
|
function(t) {
|
|
3073
3059
|
return t.trimEnd();
|
|
@@ -3075,32 +3061,32 @@ var lt = Bn ? (
|
|
|
3075
3061
|
) : (
|
|
3076
3062
|
// Ponyfill
|
|
3077
3063
|
function(t) {
|
|
3078
|
-
return t.replace(
|
|
3064
|
+
return t.replace(Sn, "");
|
|
3079
3065
|
}
|
|
3080
3066
|
);
|
|
3081
|
-
function
|
|
3067
|
+
function zt(e, t) {
|
|
3082
3068
|
return new RegExp(e, t);
|
|
3083
3069
|
}
|
|
3084
|
-
var
|
|
3085
|
-
if (
|
|
3086
|
-
var
|
|
3087
|
-
|
|
3070
|
+
var Me;
|
|
3071
|
+
if (Le) {
|
|
3072
|
+
var lt = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3073
|
+
Me = function(t, r) {
|
|
3088
3074
|
var n;
|
|
3089
|
-
|
|
3090
|
-
var i =
|
|
3075
|
+
lt.lastIndex = r;
|
|
3076
|
+
var i = lt.exec(t);
|
|
3091
3077
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3092
3078
|
};
|
|
3093
3079
|
} else
|
|
3094
|
-
|
|
3080
|
+
Me = function(t, r) {
|
|
3095
3081
|
for (var n = []; ; ) {
|
|
3096
|
-
var i =
|
|
3097
|
-
if (i === void 0 ||
|
|
3082
|
+
var i = Xt(t, r);
|
|
3083
|
+
if (i === void 0 || Wt(i) || Dn(i))
|
|
3098
3084
|
break;
|
|
3099
3085
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3100
3086
|
}
|
|
3101
|
-
return
|
|
3087
|
+
return Ce.apply(void 0, n);
|
|
3102
3088
|
};
|
|
3103
|
-
var
|
|
3089
|
+
var $n = (
|
|
3104
3090
|
/** @class */
|
|
3105
3091
|
function() {
|
|
3106
3092
|
function e(t, r) {
|
|
@@ -3130,8 +3116,8 @@ var Un = (
|
|
|
3130
3116
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3131
3117
|
if (n)
|
|
3132
3118
|
break;
|
|
3133
|
-
return this.error(
|
|
3134
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3119
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3120
|
+
} else if (o === 60 && !this.ignoreTag && $e(this.peek() || 0)) {
|
|
3135
3121
|
var s = this.parseTag(t, r);
|
|
3136
3122
|
if (s.err)
|
|
3137
3123
|
return s;
|
|
@@ -3164,10 +3150,10 @@ var Un = (
|
|
|
3164
3150
|
return o;
|
|
3165
3151
|
var s = o.val, a = this.clonePosition();
|
|
3166
3152
|
if (this.bumpIf("</")) {
|
|
3167
|
-
if (this.isEOF() ||
|
|
3168
|
-
return this.error(
|
|
3153
|
+
if (this.isEOF() || !$e(this.char()))
|
|
3154
|
+
return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
|
|
3169
3155
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3170
|
-
return i !== u ? this.error(
|
|
3156
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3171
3157
|
val: {
|
|
3172
3158
|
type: _.tag,
|
|
3173
3159
|
value: i,
|
|
@@ -3175,14 +3161,14 @@ var Un = (
|
|
|
3175
3161
|
location: b(n, this.clonePosition())
|
|
3176
3162
|
},
|
|
3177
3163
|
err: null
|
|
3178
|
-
} : this.error(
|
|
3164
|
+
} : this.error(p.INVALID_TAG, b(a, this.clonePosition())));
|
|
3179
3165
|
} else
|
|
3180
|
-
return this.error(
|
|
3166
|
+
return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
3181
3167
|
} else
|
|
3182
|
-
return this.error(
|
|
3168
|
+
return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
|
|
3183
3169
|
}, e.prototype.parseTagName = function() {
|
|
3184
3170
|
var t = this.offset();
|
|
3185
|
-
for (this.bump(); !this.isEOF() &&
|
|
3171
|
+
for (this.bump(); !this.isEOF() && Un(this.char()); )
|
|
3186
3172
|
this.bump();
|
|
3187
3173
|
return this.message.slice(t, this.offset());
|
|
3188
3174
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3211,7 +3197,7 @@ var Un = (
|
|
|
3211
3197
|
};
|
|
3212
3198
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3213
3199
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3214
|
-
!
|
|
3200
|
+
!Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3215
3201
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3216
3202
|
if (this.isEOF() || this.char() !== 39)
|
|
3217
3203
|
return null;
|
|
@@ -3245,23 +3231,23 @@ var Un = (
|
|
|
3245
3231
|
r.push(n);
|
|
3246
3232
|
this.bump();
|
|
3247
3233
|
}
|
|
3248
|
-
return
|
|
3234
|
+
return Ce.apply(void 0, r);
|
|
3249
3235
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3250
3236
|
if (this.isEOF())
|
|
3251
3237
|
return null;
|
|
3252
3238
|
var n = this.char();
|
|
3253
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3239
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ce(n));
|
|
3254
3240
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3255
3241
|
var n = this.clonePosition();
|
|
3256
3242
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3257
|
-
return this.error(
|
|
3243
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3258
3244
|
if (this.char() === 125)
|
|
3259
|
-
return this.bump(), this.error(
|
|
3245
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
3260
3246
|
var i = this.parseIdentifierIfPossible().value;
|
|
3261
3247
|
if (!i)
|
|
3262
|
-
return this.error(
|
|
3248
|
+
return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3263
3249
|
if (this.bumpSpace(), this.isEOF())
|
|
3264
|
-
return this.error(
|
|
3250
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3265
3251
|
switch (this.char()) {
|
|
3266
3252
|
case 125:
|
|
3267
3253
|
return this.bump(), {
|
|
@@ -3274,12 +3260,12 @@ var Un = (
|
|
|
3274
3260
|
err: null
|
|
3275
3261
|
};
|
|
3276
3262
|
case 44:
|
|
3277
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3263
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3278
3264
|
default:
|
|
3279
|
-
return this.error(
|
|
3265
|
+
return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3280
3266
|
}
|
|
3281
3267
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3282
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3268
|
+
var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
|
|
3283
3269
|
this.bumpTo(i);
|
|
3284
3270
|
var o = this.clonePosition(), s = b(t, o);
|
|
3285
3271
|
return { value: n, location: s };
|
|
@@ -3287,7 +3273,7 @@ var Un = (
|
|
|
3287
3273
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3288
3274
|
switch (a) {
|
|
3289
3275
|
case "":
|
|
3290
|
-
return this.error(
|
|
3276
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, h));
|
|
3291
3277
|
case "number":
|
|
3292
3278
|
case "date":
|
|
3293
3279
|
case "time": {
|
|
@@ -3298,37 +3284,37 @@ var Un = (
|
|
|
3298
3284
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3299
3285
|
if (f.err)
|
|
3300
3286
|
return f;
|
|
3301
|
-
var c =
|
|
3287
|
+
var c = Mn(f.val);
|
|
3302
3288
|
if (c.length === 0)
|
|
3303
|
-
return this.error(
|
|
3304
|
-
var
|
|
3305
|
-
u = { style: c, styleLocation:
|
|
3289
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3290
|
+
var d = b(l, this.clonePosition());
|
|
3291
|
+
u = { style: c, styleLocation: d };
|
|
3306
3292
|
}
|
|
3307
|
-
var
|
|
3308
|
-
if (
|
|
3309
|
-
return
|
|
3310
|
-
var
|
|
3311
|
-
if (u &&
|
|
3312
|
-
var x =
|
|
3293
|
+
var m = this.tryParseArgumentClose(i);
|
|
3294
|
+
if (m.err)
|
|
3295
|
+
return m;
|
|
3296
|
+
var y = b(i, this.clonePosition());
|
|
3297
|
+
if (u && ut(u?.style, "::", 0)) {
|
|
3298
|
+
var x = Cn(u.style.slice(2));
|
|
3313
3299
|
if (a === "number") {
|
|
3314
3300
|
var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3315
3301
|
return f.err ? f : {
|
|
3316
|
-
val: { type: _.number, value: n, location:
|
|
3302
|
+
val: { type: _.number, value: n, location: y, style: f.val },
|
|
3317
3303
|
err: null
|
|
3318
3304
|
};
|
|
3319
3305
|
} else {
|
|
3320
3306
|
if (x.length === 0)
|
|
3321
|
-
return this.error(
|
|
3307
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
|
3322
3308
|
var I = x;
|
|
3323
|
-
this.locale && (I =
|
|
3309
|
+
this.locale && (I = En(x, this.locale));
|
|
3324
3310
|
var c = {
|
|
3325
3311
|
type: F.dateTime,
|
|
3326
3312
|
pattern: I,
|
|
3327
3313
|
location: u.styleLocation,
|
|
3328
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3329
|
-
},
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? pn(I) : {}
|
|
3315
|
+
}, v = a === "date" ? _.date : _.time;
|
|
3330
3316
|
return {
|
|
3331
|
-
val: { type:
|
|
3317
|
+
val: { type: v, value: n, location: y, style: c },
|
|
3332
3318
|
err: null
|
|
3333
3319
|
};
|
|
3334
3320
|
}
|
|
@@ -3337,7 +3323,7 @@ var Un = (
|
|
|
3337
3323
|
val: {
|
|
3338
3324
|
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3339
3325
|
value: n,
|
|
3340
|
-
location:
|
|
3326
|
+
location: y,
|
|
3341
3327
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3342
3328
|
},
|
|
3343
3329
|
err: null
|
|
@@ -3348,50 +3334,50 @@ var Un = (
|
|
|
3348
3334
|
case "select": {
|
|
3349
3335
|
var w = this.clonePosition();
|
|
3350
3336
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3351
|
-
return this.error(
|
|
3337
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, g({}, w)));
|
|
3352
3338
|
this.bumpSpace();
|
|
3353
|
-
var W = this.parseIdentifierIfPossible(),
|
|
3339
|
+
var W = this.parseIdentifierIfPossible(), N = 0;
|
|
3354
3340
|
if (a !== "select" && W.value === "offset") {
|
|
3355
3341
|
if (!this.bumpIf(":"))
|
|
3356
|
-
return this.error(
|
|
3342
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3357
3343
|
this.bumpSpace();
|
|
3358
|
-
var f = this.tryParseDecimalInteger(
|
|
3344
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3359
3345
|
if (f.err)
|
|
3360
3346
|
return f;
|
|
3361
|
-
this.bumpSpace(), W = this.parseIdentifierIfPossible(),
|
|
3347
|
+
this.bumpSpace(), W = this.parseIdentifierIfPossible(), N = f.val;
|
|
3362
3348
|
}
|
|
3363
3349
|
var ne = this.tryParsePluralOrSelectOptions(t, a, r, W);
|
|
3364
3350
|
if (ne.err)
|
|
3365
3351
|
return ne;
|
|
3366
|
-
var
|
|
3367
|
-
if (
|
|
3368
|
-
return
|
|
3369
|
-
var
|
|
3352
|
+
var m = this.tryParseArgumentClose(i);
|
|
3353
|
+
if (m.err)
|
|
3354
|
+
return m;
|
|
3355
|
+
var Xe = b(i, this.clonePosition());
|
|
3370
3356
|
return a === "select" ? {
|
|
3371
3357
|
val: {
|
|
3372
3358
|
type: _.select,
|
|
3373
3359
|
value: n,
|
|
3374
|
-
options:
|
|
3375
|
-
location:
|
|
3360
|
+
options: ht(ne.val),
|
|
3361
|
+
location: Xe
|
|
3376
3362
|
},
|
|
3377
3363
|
err: null
|
|
3378
3364
|
} : {
|
|
3379
3365
|
val: {
|
|
3380
3366
|
type: _.plural,
|
|
3381
3367
|
value: n,
|
|
3382
|
-
options:
|
|
3383
|
-
offset:
|
|
3368
|
+
options: ht(ne.val),
|
|
3369
|
+
offset: N,
|
|
3384
3370
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3385
|
-
location:
|
|
3371
|
+
location: Xe
|
|
3386
3372
|
},
|
|
3387
3373
|
err: null
|
|
3388
3374
|
};
|
|
3389
3375
|
}
|
|
3390
3376
|
default:
|
|
3391
|
-
return this.error(
|
|
3377
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, b(s, h));
|
|
3392
3378
|
}
|
|
3393
3379
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3394
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3380
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3395
3381
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3396
3382
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3397
3383
|
var n = this.char();
|
|
@@ -3400,7 +3386,7 @@ var Un = (
|
|
|
3400
3386
|
this.bump();
|
|
3401
3387
|
var i = this.clonePosition();
|
|
3402
3388
|
if (!this.bumpUntil("'"))
|
|
3403
|
-
return this.error(
|
|
3389
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
3404
3390
|
this.bump();
|
|
3405
3391
|
break;
|
|
3406
3392
|
}
|
|
@@ -3430,16 +3416,16 @@ var Un = (
|
|
|
3430
3416
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3431
3417
|
var n = [];
|
|
3432
3418
|
try {
|
|
3433
|
-
n =
|
|
3419
|
+
n = bn(t);
|
|
3434
3420
|
} catch {
|
|
3435
|
-
return this.error(
|
|
3421
|
+
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3436
3422
|
}
|
|
3437
3423
|
return {
|
|
3438
3424
|
val: {
|
|
3439
3425
|
type: F.number,
|
|
3440
3426
|
tokens: n,
|
|
3441
3427
|
location: r,
|
|
3442
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3428
|
+
parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
|
|
3443
3429
|
},
|
|
3444
3430
|
err: null
|
|
3445
3431
|
};
|
|
@@ -3448,7 +3434,7 @@ var Un = (
|
|
|
3448
3434
|
if (u.length === 0) {
|
|
3449
3435
|
var f = this.clonePosition();
|
|
3450
3436
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3451
|
-
var c = this.tryParseDecimalInteger(
|
|
3437
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3452
3438
|
if (c.err)
|
|
3453
3439
|
return c;
|
|
3454
3440
|
l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
@@ -3456,26 +3442,26 @@ var Un = (
|
|
|
3456
3442
|
break;
|
|
3457
3443
|
}
|
|
3458
3444
|
if (h.has(u))
|
|
3459
|
-
return this.error(r === "select" ?
|
|
3445
|
+
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3460
3446
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3461
|
-
var
|
|
3447
|
+
var d = this.clonePosition();
|
|
3462
3448
|
if (!this.bumpIf("{"))
|
|
3463
|
-
return this.error(r === "select" ?
|
|
3464
|
-
var
|
|
3465
|
-
if (
|
|
3466
|
-
return
|
|
3467
|
-
var
|
|
3468
|
-
if (
|
|
3469
|
-
return
|
|
3449
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3450
|
+
var m = this.parseMessage(t + 1, r, n);
|
|
3451
|
+
if (m.err)
|
|
3452
|
+
return m;
|
|
3453
|
+
var y = this.tryParseArgumentClose(d);
|
|
3454
|
+
if (y.err)
|
|
3455
|
+
return y;
|
|
3470
3456
|
a.push([
|
|
3471
3457
|
u,
|
|
3472
3458
|
{
|
|
3473
|
-
value:
|
|
3474
|
-
location: b(
|
|
3459
|
+
value: m.val,
|
|
3460
|
+
location: b(d, this.clonePosition())
|
|
3475
3461
|
}
|
|
3476
3462
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3477
3463
|
}
|
|
3478
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3464
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3479
3465
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3480
3466
|
var n = 1, i = this.clonePosition();
|
|
3481
3467
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3487,7 +3473,7 @@ var Un = (
|
|
|
3487
3473
|
break;
|
|
3488
3474
|
}
|
|
3489
3475
|
var h = b(i, this.clonePosition());
|
|
3490
|
-
return o ? (s *= n,
|
|
3476
|
+
return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3491
3477
|
}, e.prototype.offset = function() {
|
|
3492
3478
|
return this.position.offset;
|
|
3493
3479
|
}, e.prototype.isEOF = function() {
|
|
@@ -3502,7 +3488,7 @@ var Un = (
|
|
|
3502
3488
|
var t = this.position.offset;
|
|
3503
3489
|
if (t >= this.message.length)
|
|
3504
3490
|
throw Error("out of bound");
|
|
3505
|
-
var r =
|
|
3491
|
+
var r = Xt(this.message, t);
|
|
3506
3492
|
if (r === void 0)
|
|
3507
3493
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3508
3494
|
return r;
|
|
@@ -3521,7 +3507,7 @@ var Un = (
|
|
|
3521
3507
|
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);
|
|
3522
3508
|
}
|
|
3523
3509
|
}, e.prototype.bumpIf = function(t) {
|
|
3524
|
-
if (
|
|
3510
|
+
if (ut(this.message, t, this.offset())) {
|
|
3525
3511
|
for (var r = 0; r < t.length; r++)
|
|
3526
3512
|
this.bump();
|
|
3527
3513
|
return !0;
|
|
@@ -3543,7 +3529,7 @@ var Un = (
|
|
|
3543
3529
|
break;
|
|
3544
3530
|
}
|
|
3545
3531
|
}, e.prototype.bumpSpace = function() {
|
|
3546
|
-
for (; !this.isEOF() &&
|
|
3532
|
+
for (; !this.isEOF() && Wt(this.char()); )
|
|
3547
3533
|
this.bump();
|
|
3548
3534
|
}, e.prototype.peek = function() {
|
|
3549
3535
|
if (this.isEOF())
|
|
@@ -3553,44 +3539,44 @@ var Un = (
|
|
|
3553
3539
|
}, e;
|
|
3554
3540
|
}()
|
|
3555
3541
|
);
|
|
3556
|
-
function
|
|
3542
|
+
function $e(e) {
|
|
3557
3543
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3558
3544
|
}
|
|
3559
|
-
function
|
|
3560
|
-
return
|
|
3545
|
+
function Rn(e) {
|
|
3546
|
+
return $e(e) || e === 47;
|
|
3561
3547
|
}
|
|
3562
|
-
function
|
|
3548
|
+
function Un(e) {
|
|
3563
3549
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3564
3550
|
}
|
|
3565
|
-
function
|
|
3551
|
+
function Wt(e) {
|
|
3566
3552
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3567
3553
|
}
|
|
3568
|
-
function
|
|
3554
|
+
function Dn(e) {
|
|
3569
3555
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3570
3556
|
}
|
|
3571
|
-
function
|
|
3557
|
+
function Re(e) {
|
|
3572
3558
|
e.forEach(function(t) {
|
|
3573
|
-
if (delete t.location,
|
|
3559
|
+
if (delete t.location, Rt(t) || Ut(t))
|
|
3574
3560
|
for (var r in t.options)
|
|
3575
|
-
delete t.options[r].location,
|
|
3561
|
+
delete t.options[r].location, Re(t.options[r].value);
|
|
3576
3562
|
else
|
|
3577
|
-
|
|
3563
|
+
Ct(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ne(t.style) ? delete t.style.location : Dt(t) && Re(t.children);
|
|
3578
3564
|
});
|
|
3579
3565
|
}
|
|
3580
|
-
function
|
|
3566
|
+
function Gn(e, t) {
|
|
3581
3567
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3582
|
-
var r = new
|
|
3568
|
+
var r = new $n(e, t).parse();
|
|
3583
3569
|
if (r.err) {
|
|
3584
|
-
var n = SyntaxError(
|
|
3570
|
+
var n = SyntaxError(p[r.err.kind]);
|
|
3585
3571
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3586
3572
|
}
|
|
3587
|
-
return t?.captureLocation ||
|
|
3573
|
+
return t?.captureLocation || Re(r.val), r.val;
|
|
3588
3574
|
}
|
|
3589
3575
|
var j;
|
|
3590
3576
|
(function(e) {
|
|
3591
3577
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3592
3578
|
})(j || (j = {}));
|
|
3593
|
-
var
|
|
3579
|
+
var pe = (
|
|
3594
3580
|
/** @class */
|
|
3595
3581
|
function(e) {
|
|
3596
3582
|
B(t, e);
|
|
@@ -3602,7 +3588,7 @@ var me = (
|
|
|
3602
3588
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3603
3589
|
}, t;
|
|
3604
3590
|
}(Error)
|
|
3605
|
-
),
|
|
3591
|
+
), ft = (
|
|
3606
3592
|
/** @class */
|
|
3607
3593
|
function(e) {
|
|
3608
3594
|
B(t, e);
|
|
@@ -3610,8 +3596,8 @@ var me = (
|
|
|
3610
3596
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3611
3597
|
}
|
|
3612
3598
|
return t;
|
|
3613
|
-
}(
|
|
3614
|
-
),
|
|
3599
|
+
}(pe)
|
|
3600
|
+
), Fn = (
|
|
3615
3601
|
/** @class */
|
|
3616
3602
|
function(e) {
|
|
3617
3603
|
B(t, e);
|
|
@@ -3619,8 +3605,8 @@ var me = (
|
|
|
3619
3605
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3620
3606
|
}
|
|
3621
3607
|
return t;
|
|
3622
|
-
}(
|
|
3623
|
-
),
|
|
3608
|
+
}(pe)
|
|
3609
|
+
), jn = (
|
|
3624
3610
|
/** @class */
|
|
3625
3611
|
function(e) {
|
|
3626
3612
|
B(t, e);
|
|
@@ -3628,22 +3614,22 @@ var me = (
|
|
|
3628
3614
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3629
3615
|
}
|
|
3630
3616
|
return t;
|
|
3631
|
-
}(
|
|
3617
|
+
}(pe)
|
|
3632
3618
|
), E;
|
|
3633
3619
|
(function(e) {
|
|
3634
3620
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3635
3621
|
})(E || (E = {}));
|
|
3636
|
-
function
|
|
3622
|
+
function kn(e) {
|
|
3637
3623
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3638
3624
|
var n = t[t.length - 1];
|
|
3639
3625
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3640
3626
|
}, []);
|
|
3641
3627
|
}
|
|
3642
|
-
function
|
|
3628
|
+
function Vn(e) {
|
|
3643
3629
|
return typeof e == "function";
|
|
3644
3630
|
}
|
|
3645
3631
|
function ue(e, t, r, n, i, o, s) {
|
|
3646
|
-
if (e.length === 1 &&
|
|
3632
|
+
if (e.length === 1 && it(e[0]))
|
|
3647
3633
|
return [
|
|
3648
3634
|
{
|
|
3649
3635
|
type: E.literal,
|
|
@@ -3652,14 +3638,14 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3652
3638
|
];
|
|
3653
3639
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3654
3640
|
var l = u[h];
|
|
3655
|
-
if (
|
|
3641
|
+
if (it(l)) {
|
|
3656
3642
|
a.push({
|
|
3657
3643
|
type: E.literal,
|
|
3658
3644
|
value: l.value
|
|
3659
3645
|
});
|
|
3660
3646
|
continue;
|
|
3661
3647
|
}
|
|
3662
|
-
if (
|
|
3648
|
+
if (cn(l)) {
|
|
3663
3649
|
typeof o == "number" && a.push({
|
|
3664
3650
|
type: E.literal,
|
|
3665
3651
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3668,89 +3654,89 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3668
3654
|
}
|
|
3669
3655
|
var f = l.value;
|
|
3670
3656
|
if (!(i && f in i))
|
|
3671
|
-
throw new
|
|
3657
|
+
throw new jn(f, s);
|
|
3672
3658
|
var c = i[f];
|
|
3673
|
-
if (
|
|
3659
|
+
if (fn(l)) {
|
|
3674
3660
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3675
3661
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3676
3662
|
value: c
|
|
3677
3663
|
});
|
|
3678
3664
|
continue;
|
|
3679
3665
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var
|
|
3666
|
+
if (Mt(l)) {
|
|
3667
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ne(l.style) ? l.style.parsedOptions : void 0;
|
|
3682
3668
|
a.push({
|
|
3683
3669
|
type: E.literal,
|
|
3684
|
-
value: r.getDateTimeFormat(t,
|
|
3670
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3685
3671
|
});
|
|
3686
3672
|
continue;
|
|
3687
3673
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var
|
|
3674
|
+
if ($t(l)) {
|
|
3675
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ne(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3690
3676
|
a.push({
|
|
3691
3677
|
type: E.literal,
|
|
3692
|
-
value: r.getDateTimeFormat(t,
|
|
3678
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3693
3679
|
});
|
|
3694
3680
|
continue;
|
|
3695
3681
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var
|
|
3698
|
-
|
|
3682
|
+
if (Ct(l)) {
|
|
3683
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3684
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3699
3685
|
type: E.literal,
|
|
3700
|
-
value: r.getNumberFormat(t,
|
|
3686
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3701
3687
|
});
|
|
3702
3688
|
continue;
|
|
3703
3689
|
}
|
|
3704
|
-
if (
|
|
3705
|
-
var
|
|
3706
|
-
if (!
|
|
3707
|
-
throw new
|
|
3708
|
-
var I = ue(
|
|
3709
|
-
return
|
|
3690
|
+
if (Dt(l)) {
|
|
3691
|
+
var m = l.children, y = l.value, x = i[y];
|
|
3692
|
+
if (!Vn(x))
|
|
3693
|
+
throw new Fn(y, "function", s);
|
|
3694
|
+
var I = ue(m, t, r, n, i, o), v = x(I.map(function(N) {
|
|
3695
|
+
return N.value;
|
|
3710
3696
|
}));
|
|
3711
|
-
Array.isArray(
|
|
3697
|
+
Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(N) {
|
|
3712
3698
|
return {
|
|
3713
|
-
type: typeof
|
|
3714
|
-
value:
|
|
3699
|
+
type: typeof N == "string" ? E.literal : E.object,
|
|
3700
|
+
value: N
|
|
3715
3701
|
};
|
|
3716
3702
|
}));
|
|
3717
3703
|
}
|
|
3718
|
-
if (
|
|
3704
|
+
if (Rt(l)) {
|
|
3719
3705
|
var w = l.options[c] || l.options.other;
|
|
3720
3706
|
if (!w)
|
|
3721
|
-
throw new
|
|
3707
|
+
throw new ft(l.value, c, Object.keys(l.options), s);
|
|
3722
3708
|
a.push.apply(a, ue(w.value, t, r, n, i));
|
|
3723
3709
|
continue;
|
|
3724
3710
|
}
|
|
3725
|
-
if (
|
|
3711
|
+
if (Ut(l)) {
|
|
3726
3712
|
var w = l.options["=".concat(c)];
|
|
3727
3713
|
if (!w) {
|
|
3728
3714
|
if (!Intl.PluralRules)
|
|
3729
|
-
throw new
|
|
3715
|
+
throw new pe(`Intl.PluralRules is not available in this environment.
|
|
3730
3716
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3731
3717
|
`, j.MISSING_INTL_API, s);
|
|
3732
3718
|
var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3733
3719
|
w = l.options[W] || l.options.other;
|
|
3734
3720
|
}
|
|
3735
3721
|
if (!w)
|
|
3736
|
-
throw new
|
|
3722
|
+
throw new ft(l.value, c, Object.keys(l.options), s);
|
|
3737
3723
|
a.push.apply(a, ue(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3738
3724
|
continue;
|
|
3739
3725
|
}
|
|
3740
3726
|
}
|
|
3741
|
-
return
|
|
3727
|
+
return kn(a);
|
|
3742
3728
|
}
|
|
3743
|
-
function
|
|
3729
|
+
function Xn(e, t) {
|
|
3744
3730
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3745
3731
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3746
3732
|
}, {})) : e;
|
|
3747
3733
|
}
|
|
3748
|
-
function
|
|
3734
|
+
function zn(e, t) {
|
|
3749
3735
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3750
|
-
return r[n] =
|
|
3736
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
3751
3737
|
}, g({}, e)) : e;
|
|
3752
3738
|
}
|
|
3753
|
-
function
|
|
3739
|
+
function xe(e) {
|
|
3754
3740
|
return {
|
|
3755
3741
|
create: function() {
|
|
3756
3742
|
return {
|
|
@@ -3764,39 +3750,39 @@ function Te(e) {
|
|
|
3764
3750
|
}
|
|
3765
3751
|
};
|
|
3766
3752
|
}
|
|
3767
|
-
function
|
|
3753
|
+
function Wn(e) {
|
|
3768
3754
|
return e === void 0 && (e = {
|
|
3769
3755
|
number: {},
|
|
3770
3756
|
dateTime: {},
|
|
3771
3757
|
pluralRules: {}
|
|
3772
3758
|
}), {
|
|
3773
|
-
getNumberFormat:
|
|
3759
|
+
getNumberFormat: ve(function() {
|
|
3774
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3761
|
r[n] = arguments[n];
|
|
3776
3762
|
return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3777
3763
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3764
|
+
cache: xe(e.number),
|
|
3765
|
+
strategy: _e.variadic
|
|
3780
3766
|
}),
|
|
3781
|
-
getDateTimeFormat:
|
|
3767
|
+
getDateTimeFormat: ve(function() {
|
|
3782
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3769
|
r[n] = arguments[n];
|
|
3784
3770
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3785
3771
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3772
|
+
cache: xe(e.dateTime),
|
|
3773
|
+
strategy: _e.variadic
|
|
3788
3774
|
}),
|
|
3789
|
-
getPluralRules:
|
|
3775
|
+
getPluralRules: ve(function() {
|
|
3790
3776
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3791
3777
|
r[n] = arguments[n];
|
|
3792
3778
|
return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
|
|
3793
3779
|
}, {
|
|
3794
|
-
cache:
|
|
3795
|
-
strategy:
|
|
3780
|
+
cache: xe(e.pluralRules),
|
|
3781
|
+
strategy: _e.variadic
|
|
3796
3782
|
})
|
|
3797
3783
|
};
|
|
3798
3784
|
}
|
|
3799
|
-
var
|
|
3785
|
+
var Zn = (
|
|
3800
3786
|
/** @class */
|
|
3801
3787
|
function() {
|
|
3802
3788
|
function e(t, r, n, i) {
|
|
@@ -3828,13 +3814,13 @@ var Jn = (
|
|
|
3828
3814
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3829
3815
|
var s = i || {};
|
|
3830
3816
|
s.formatters;
|
|
3831
|
-
var a =
|
|
3817
|
+
var a = wr(s, ["formatters"]);
|
|
3832
3818
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3833
3819
|
} else
|
|
3834
3820
|
this.ast = t;
|
|
3835
3821
|
if (!Array.isArray(this.ast))
|
|
3836
3822
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3837
|
-
this.formats =
|
|
3823
|
+
this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
|
|
3838
3824
|
}
|
|
3839
3825
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3840
3826
|
get: function() {
|
|
@@ -3847,7 +3833,7 @@ var Jn = (
|
|
|
3847
3833
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3848
3834
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3849
3835
|
}
|
|
3850
|
-
}, e.__parse =
|
|
3836
|
+
}, e.__parse = Gn, e.formats = {
|
|
3851
3837
|
number: {
|
|
3852
3838
|
integer: {
|
|
3853
3839
|
maximumFractionDigits: 0
|
|
@@ -3908,7 +3894,7 @@ var Jn = (
|
|
|
3908
3894
|
}, e;
|
|
3909
3895
|
}()
|
|
3910
3896
|
);
|
|
3911
|
-
function
|
|
3897
|
+
function Qn(e, t) {
|
|
3912
3898
|
if (t == null)
|
|
3913
3899
|
return;
|
|
3914
3900
|
if (t in e)
|
|
@@ -3929,92 +3915,92 @@ function Yn(e, t) {
|
|
|
3929
3915
|
n = void 0;
|
|
3930
3916
|
return n;
|
|
3931
3917
|
}
|
|
3932
|
-
const P = {},
|
|
3918
|
+
const P = {}, Jn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Zt = (e, t) => {
|
|
3933
3919
|
if (t == null)
|
|
3934
3920
|
return;
|
|
3935
3921
|
if (t in P && e in P[t])
|
|
3936
3922
|
return P[t][e];
|
|
3937
|
-
const r =
|
|
3923
|
+
const r = me(t);
|
|
3938
3924
|
for (let n = 0; n < r.length; n++) {
|
|
3939
|
-
const i = r[n], o =
|
|
3925
|
+
const i = r[n], o = qn(i, e);
|
|
3940
3926
|
if (o)
|
|
3941
|
-
return
|
|
3927
|
+
return Jn(e, t, o);
|
|
3942
3928
|
}
|
|
3943
3929
|
};
|
|
3944
|
-
let
|
|
3945
|
-
const te =
|
|
3946
|
-
function
|
|
3947
|
-
return
|
|
3930
|
+
let ke;
|
|
3931
|
+
const te = de({});
|
|
3932
|
+
function Yn(e) {
|
|
3933
|
+
return ke[e] || null;
|
|
3948
3934
|
}
|
|
3949
|
-
function
|
|
3950
|
-
return e in
|
|
3935
|
+
function Qt(e) {
|
|
3936
|
+
return e in ke;
|
|
3951
3937
|
}
|
|
3952
|
-
function
|
|
3953
|
-
if (!
|
|
3938
|
+
function qn(e, t) {
|
|
3939
|
+
if (!Qt(e))
|
|
3954
3940
|
return null;
|
|
3955
|
-
const r =
|
|
3956
|
-
return
|
|
3941
|
+
const r = Yn(e);
|
|
3942
|
+
return Qn(r, t);
|
|
3957
3943
|
}
|
|
3958
|
-
function
|
|
3944
|
+
function Kn(e) {
|
|
3959
3945
|
if (e == null)
|
|
3960
3946
|
return;
|
|
3961
|
-
const t =
|
|
3947
|
+
const t = me(e);
|
|
3962
3948
|
for (let r = 0; r < t.length; r++) {
|
|
3963
3949
|
const n = t[r];
|
|
3964
|
-
if (
|
|
3950
|
+
if (Qt(n))
|
|
3965
3951
|
return n;
|
|
3966
3952
|
}
|
|
3967
3953
|
}
|
|
3968
|
-
function
|
|
3969
|
-
delete P[e], te.update((r) => (r[e] =
|
|
3954
|
+
function ei(e, ...t) {
|
|
3955
|
+
delete P[e], te.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
|
|
3970
3956
|
}
|
|
3971
3957
|
X(
|
|
3972
3958
|
[te],
|
|
3973
3959
|
([e]) => Object.keys(e)
|
|
3974
3960
|
);
|
|
3975
|
-
te.subscribe((e) =>
|
|
3961
|
+
te.subscribe((e) => ke = e);
|
|
3976
3962
|
const he = {};
|
|
3977
|
-
function
|
|
3963
|
+
function ti(e, t) {
|
|
3978
3964
|
he[e].delete(t), he[e].size === 0 && delete he[e];
|
|
3979
3965
|
}
|
|
3980
|
-
function
|
|
3966
|
+
function Jt(e) {
|
|
3981
3967
|
return he[e];
|
|
3982
3968
|
}
|
|
3983
|
-
function
|
|
3984
|
-
return
|
|
3985
|
-
const r =
|
|
3969
|
+
function ri(e) {
|
|
3970
|
+
return me(e).map((t) => {
|
|
3971
|
+
const r = Jt(t);
|
|
3986
3972
|
return [t, r ? [...r] : []];
|
|
3987
3973
|
}).filter(([, t]) => t.length > 0);
|
|
3988
3974
|
}
|
|
3989
|
-
function
|
|
3990
|
-
return e == null ? !1 :
|
|
3975
|
+
function Ue(e) {
|
|
3976
|
+
return e == null ? !1 : me(e).some(
|
|
3991
3977
|
(t) => {
|
|
3992
3978
|
var r;
|
|
3993
|
-
return (r =
|
|
3979
|
+
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
3994
3980
|
}
|
|
3995
3981
|
);
|
|
3996
3982
|
}
|
|
3997
|
-
function
|
|
3983
|
+
function ni(e, t) {
|
|
3998
3984
|
return Promise.all(
|
|
3999
|
-
t.map((n) => (
|
|
4000
|
-
).then((n) =>
|
|
3985
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
3986
|
+
).then((n) => ei(e, ...n));
|
|
4001
3987
|
}
|
|
4002
3988
|
const Z = {};
|
|
4003
|
-
function
|
|
4004
|
-
if (!
|
|
3989
|
+
function Yt(e) {
|
|
3990
|
+
if (!Ue(e))
|
|
4005
3991
|
return e in Z ? Z[e] : Promise.resolve();
|
|
4006
|
-
const t =
|
|
3992
|
+
const t = ri(e);
|
|
4007
3993
|
return Z[e] = Promise.all(
|
|
4008
3994
|
t.map(
|
|
4009
|
-
([r, n]) =>
|
|
3995
|
+
([r, n]) => ni(r, n)
|
|
4010
3996
|
)
|
|
4011
3997
|
).then(() => {
|
|
4012
|
-
if (
|
|
4013
|
-
return
|
|
3998
|
+
if (Ue(e))
|
|
3999
|
+
return Yt(e);
|
|
4014
4000
|
delete Z[e];
|
|
4015
4001
|
}), Z[e];
|
|
4016
4002
|
}
|
|
4017
|
-
const
|
|
4003
|
+
const ii = {
|
|
4018
4004
|
number: {
|
|
4019
4005
|
scientific: { notation: "scientific" },
|
|
4020
4006
|
engineering: { notation: "engineering" },
|
|
@@ -4043,57 +4029,57 @@ const si = {
|
|
|
4043
4029
|
timeZoneName: "short"
|
|
4044
4030
|
}
|
|
4045
4031
|
}
|
|
4046
|
-
},
|
|
4032
|
+
}, oi = {
|
|
4047
4033
|
fallbackLocale: null,
|
|
4048
4034
|
loadingDelay: 200,
|
|
4049
|
-
formats:
|
|
4035
|
+
formats: ii,
|
|
4050
4036
|
warnOnMissingMessages: !0,
|
|
4051
4037
|
handleMissingMessage: void 0,
|
|
4052
4038
|
ignoreTag: !0
|
|
4053
|
-
},
|
|
4039
|
+
}, si = oi;
|
|
4054
4040
|
function k() {
|
|
4055
|
-
return
|
|
4056
|
-
}
|
|
4057
|
-
const
|
|
4058
|
-
var
|
|
4059
|
-
for (var r in t
|
|
4060
|
-
|
|
4061
|
-
if (
|
|
4062
|
-
for (var r of
|
|
4063
|
-
|
|
4041
|
+
return si;
|
|
4042
|
+
}
|
|
4043
|
+
const Te = de(!1);
|
|
4044
|
+
var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
|
|
4045
|
+
for (var r in t)
|
|
4046
|
+
li.call(t, r) && dt(e, r, t[r]);
|
|
4047
|
+
if (ct)
|
|
4048
|
+
for (var r of ct(t))
|
|
4049
|
+
fi.call(t, r) && dt(e, r, t[r]);
|
|
4064
4050
|
return e;
|
|
4065
|
-
}, di = (e, t) =>
|
|
4066
|
-
let
|
|
4067
|
-
const le =
|
|
4068
|
-
function
|
|
4051
|
+
}, di = (e, t) => ui(e, hi(t));
|
|
4052
|
+
let De;
|
|
4053
|
+
const le = de(null);
|
|
4054
|
+
function pt(e) {
|
|
4069
4055
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4070
4056
|
}
|
|
4071
|
-
function
|
|
4072
|
-
const r =
|
|
4073
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4057
|
+
function me(e, t = k().fallbackLocale) {
|
|
4058
|
+
const r = pt(e);
|
|
4059
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
4074
4060
|
}
|
|
4075
4061
|
function C() {
|
|
4076
|
-
return
|
|
4062
|
+
return De ?? void 0;
|
|
4077
4063
|
}
|
|
4078
4064
|
le.subscribe((e) => {
|
|
4079
|
-
|
|
4065
|
+
De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4080
4066
|
});
|
|
4081
|
-
const
|
|
4082
|
-
if (e &&
|
|
4067
|
+
const pi = (e) => {
|
|
4068
|
+
if (e && Kn(e) && Ue(e)) {
|
|
4083
4069
|
const { loadingDelay: t } = k();
|
|
4084
4070
|
let r;
|
|
4085
4071
|
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
|
4086
|
-
() =>
|
|
4072
|
+
() => Te.set(!0),
|
|
4087
4073
|
t
|
|
4088
|
-
) :
|
|
4074
|
+
) : Te.set(!0), Yt(e).then(() => {
|
|
4089
4075
|
le.set(e);
|
|
4090
4076
|
}).finally(() => {
|
|
4091
|
-
clearTimeout(r),
|
|
4077
|
+
clearTimeout(r), Te.set(!1);
|
|
4092
4078
|
});
|
|
4093
4079
|
}
|
|
4094
4080
|
return le.set(e);
|
|
4095
|
-
}, re = di(
|
|
4096
|
-
set:
|
|
4081
|
+
}, re = di(ci({}, le), {
|
|
4082
|
+
set: pi
|
|
4097
4083
|
}), be = (e) => {
|
|
4098
4084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4099
4085
|
return (n) => {
|
|
@@ -4101,20 +4087,20 @@ const bi = (e) => {
|
|
|
4101
4087
|
return i in t ? t[i] : t[i] = e(n);
|
|
4102
4088
|
};
|
|
4103
4089
|
};
|
|
4104
|
-
var
|
|
4090
|
+
var mi = Object.defineProperty, fe = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
|
|
4105
4091
|
for (var r in t || (t = {}))
|
|
4106
|
-
|
|
4092
|
+
qt.call(t, r) && mt(e, r, t[r]);
|
|
4107
4093
|
if (fe)
|
|
4108
4094
|
for (var r of fe(t))
|
|
4109
|
-
|
|
4095
|
+
Kt.call(t, r) && mt(e, r, t[r]);
|
|
4110
4096
|
return e;
|
|
4111
4097
|
}, z = (e, t) => {
|
|
4112
4098
|
var r = {};
|
|
4113
4099
|
for (var n in e)
|
|
4114
|
-
|
|
4100
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4115
4101
|
if (e != null && fe)
|
|
4116
4102
|
for (var n of fe(e))
|
|
4117
|
-
t.indexOf(n) < 0 &&
|
|
4103
|
+
t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
|
|
4118
4104
|
return r;
|
|
4119
4105
|
};
|
|
4120
4106
|
const q = (e, t) => {
|
|
@@ -4122,21 +4108,21 @@ const q = (e, t) => {
|
|
|
4122
4108
|
if (e in r && t in r[e])
|
|
4123
4109
|
return r[e][t];
|
|
4124
4110
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4125
|
-
},
|
|
4111
|
+
}, bi = be(
|
|
4126
4112
|
(e) => {
|
|
4127
4113
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4128
4114
|
if (r == null)
|
|
4129
4115
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4130
4116
|
return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
|
|
4131
4117
|
}
|
|
4132
|
-
),
|
|
4118
|
+
), gi = be(
|
|
4133
4119
|
(e) => {
|
|
4134
4120
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4135
4121
|
if (r == null)
|
|
4136
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4137
4123
|
return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4138
4124
|
}
|
|
4139
|
-
),
|
|
4125
|
+
), yi = be(
|
|
4140
4126
|
(e) => {
|
|
4141
4127
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4142
4128
|
if (r == null)
|
|
@@ -4145,33 +4131,33 @@ const q = (e, t) => {
|
|
|
4145
4131
|
);
|
|
4146
4132
|
return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4147
4133
|
}
|
|
4148
|
-
),
|
|
4134
|
+
), vi = (e = {}) => {
|
|
4149
4135
|
var t = e, {
|
|
4150
4136
|
locale: r = C()
|
|
4151
4137
|
} = t, n = z(t, [
|
|
4152
4138
|
"locale"
|
|
4153
4139
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4140
|
+
return bi(Ve({ locale: r }, n));
|
|
4141
|
+
}, _i = (e = {}) => {
|
|
4156
4142
|
var t = e, {
|
|
4157
4143
|
locale: r = C()
|
|
4158
4144
|
} = t, n = z(t, [
|
|
4159
4145
|
"locale"
|
|
4160
4146
|
]);
|
|
4161
|
-
return
|
|
4162
|
-
},
|
|
4147
|
+
return gi(Ve({ locale: r }, n));
|
|
4148
|
+
}, Ei = (e = {}) => {
|
|
4163
4149
|
var t = e, {
|
|
4164
4150
|
locale: r = C()
|
|
4165
4151
|
} = t, n = z(t, [
|
|
4166
4152
|
"locale"
|
|
4167
4153
|
]);
|
|
4168
|
-
return
|
|
4169
|
-
},
|
|
4154
|
+
return yi(Ve({ locale: r }, n));
|
|
4155
|
+
}, xi = be(
|
|
4170
4156
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4171
|
-
(e, t = C()) => new
|
|
4157
|
+
(e, t = C()) => new Zn(e, t, k().formats, {
|
|
4172
4158
|
ignoreTag: k().ignoreTag
|
|
4173
4159
|
})
|
|
4174
|
-
),
|
|
4160
|
+
), Ti = (e, t = {}) => {
|
|
4175
4161
|
var r, n, i, o;
|
|
4176
4162
|
let s = t;
|
|
4177
4163
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4184,7 +4170,7 @@ const q = (e, t) => {
|
|
|
4184
4170
|
throw new Error(
|
|
4185
4171
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4186
4172
|
);
|
|
4187
|
-
let l =
|
|
4173
|
+
let l = Zt(e, h);
|
|
4188
4174
|
if (!l)
|
|
4189
4175
|
l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4190
4176
|
else if (typeof l != "string")
|
|
@@ -4195,7 +4181,7 @@ const q = (e, t) => {
|
|
|
4195
4181
|
return l;
|
|
4196
4182
|
let f = l;
|
|
4197
4183
|
try {
|
|
4198
|
-
f =
|
|
4184
|
+
f = xi(l, h).format(a);
|
|
4199
4185
|
} catch (c) {
|
|
4200
4186
|
c instanceof Error && console.warn(
|
|
4201
4187
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4203,21 +4189,21 @@ const q = (e, t) => {
|
|
|
4203
4189
|
);
|
|
4204
4190
|
}
|
|
4205
4191
|
return f;
|
|
4206
|
-
},
|
|
4207
|
-
X([re, te], () =>
|
|
4192
|
+
}, Si = (e, t) => Ei(t).format(e), wi = (e, t) => _i(t).format(e), Hi = (e, t) => vi(t).format(e), Bi = (e, t = C()) => Zt(e, t);
|
|
4193
|
+
X([re, te], () => Ti);
|
|
4194
|
+
X([re], () => Si);
|
|
4195
|
+
X([re], () => wi);
|
|
4208
4196
|
X([re], () => Hi);
|
|
4209
|
-
X([re], () => Bi);
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
const Oi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4214
|
-
function Ii(e, t) {
|
|
4197
|
+
X([re, te], () => Bi);
|
|
4198
|
+
window.emWidgets = { topic: Dr };
|
|
4199
|
+
const Ai = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4200
|
+
function Pi(e, t) {
|
|
4215
4201
|
if (e) {
|
|
4216
4202
|
const r = document.createElement("style");
|
|
4217
4203
|
r.innerHTML = t, e.appendChild(r);
|
|
4218
4204
|
}
|
|
4219
4205
|
}
|
|
4220
|
-
function
|
|
4206
|
+
function Oi(e, t) {
|
|
4221
4207
|
const r = new URL(t);
|
|
4222
4208
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4223
4209
|
const i = document.createElement("style");
|
|
@@ -4226,7 +4212,7 @@ function Li(e, t) {
|
|
|
4226
4212
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4227
4213
|
});
|
|
4228
4214
|
}
|
|
4229
|
-
function
|
|
4215
|
+
function Ii(e, t, r) {
|
|
4230
4216
|
if (window.emMessageBus) {
|
|
4231
4217
|
const n = document.createElement("style");
|
|
4232
4218
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4234,20 +4220,20 @@ function Ni(e, t, r) {
|
|
|
4234
4220
|
});
|
|
4235
4221
|
}
|
|
4236
4222
|
}
|
|
4237
|
-
function
|
|
4238
|
-
|
|
4223
|
+
function Ni(e) {
|
|
4224
|
+
rr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
|
|
4239
4225
|
}
|
|
4240
|
-
function
|
|
4226
|
+
function bt(e, t, r) {
|
|
4241
4227
|
const n = e.slice();
|
|
4242
4228
|
return n[16] = t[r], n;
|
|
4243
4229
|
}
|
|
4244
|
-
function
|
|
4245
|
-
let t, r =
|
|
4230
|
+
function gt(e) {
|
|
4231
|
+
let t, r = Qe(
|
|
4246
4232
|
/*__tabs*/
|
|
4247
4233
|
e[6]
|
|
4248
4234
|
), n = [];
|
|
4249
4235
|
for (let i = 0; i < r.length; i += 1)
|
|
4250
|
-
n[i] =
|
|
4236
|
+
n[i] = vt(bt(e, r, i));
|
|
4251
4237
|
return {
|
|
4252
4238
|
c() {
|
|
4253
4239
|
t = O("ul");
|
|
@@ -4263,14 +4249,14 @@ function yt(e) {
|
|
|
4263
4249
|
p(i, o) {
|
|
4264
4250
|
if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
|
|
4265
4251
|
121) {
|
|
4266
|
-
r =
|
|
4252
|
+
r = Qe(
|
|
4267
4253
|
/*__tabs*/
|
|
4268
4254
|
i[6]
|
|
4269
4255
|
);
|
|
4270
4256
|
let s;
|
|
4271
4257
|
for (s = 0; s < r.length; s += 1) {
|
|
4272
|
-
const a =
|
|
4273
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4258
|
+
const a = bt(i, r, s);
|
|
4259
|
+
n[s] ? n[s].p(a, o) : (n[s] = vt(a), n[s].c(), n[s].m(t, null));
|
|
4274
4260
|
}
|
|
4275
4261
|
for (; s < n.length; s += 1)
|
|
4276
4262
|
n[s].d(1);
|
|
@@ -4278,11 +4264,11 @@ function yt(e) {
|
|
|
4278
4264
|
}
|
|
4279
4265
|
},
|
|
4280
4266
|
d(i) {
|
|
4281
|
-
i && V(t),
|
|
4267
|
+
i && V(t), or(n, i);
|
|
4282
4268
|
}
|
|
4283
4269
|
};
|
|
4284
4270
|
}
|
|
4285
|
-
function
|
|
4271
|
+
function yt(e) {
|
|
4286
4272
|
let t, r, n = (
|
|
4287
4273
|
/*totalReceiver*/
|
|
4288
4274
|
e[3][
|
|
@@ -4292,10 +4278,10 @@ function _t(e) {
|
|
|
4292
4278
|
), i;
|
|
4293
4279
|
return {
|
|
4294
4280
|
c() {
|
|
4295
|
-
t = O("sup"), r = O("span"), i =
|
|
4281
|
+
t = O("sup"), r = O("span"), i = Fe(n), T(r, "part", "SupText"), T(t, "part", "sup");
|
|
4296
4282
|
},
|
|
4297
4283
|
m(o, s) {
|
|
4298
|
-
ee(o, t, s),
|
|
4284
|
+
ee(o, t, s), L(t, r), L(r, i);
|
|
4299
4285
|
},
|
|
4300
4286
|
p(o, s) {
|
|
4301
4287
|
s & /*totalReceiver, __tabs*/
|
|
@@ -4303,14 +4289,14 @@ function _t(e) {
|
|
|
4303
4289
|
o[3][
|
|
4304
4290
|
/*_tab*/
|
|
4305
4291
|
o[16]
|
|
4306
|
-
] + "") &&
|
|
4292
|
+
] + "") && xt(i, n);
|
|
4307
4293
|
},
|
|
4308
4294
|
d(o) {
|
|
4309
4295
|
o && V(t);
|
|
4310
4296
|
}
|
|
4311
4297
|
};
|
|
4312
4298
|
}
|
|
4313
|
-
function
|
|
4299
|
+
function vt(e) {
|
|
4314
4300
|
let t, r, n = (
|
|
4315
4301
|
/*textReceiver*/
|
|
4316
4302
|
e[4][
|
|
@@ -4322,7 +4308,7 @@ function Et(e) {
|
|
|
4322
4308
|
e[3][
|
|
4323
4309
|
/*_tab*/
|
|
4324
4310
|
e[16]
|
|
4325
|
-
] >= 0 &&
|
|
4311
|
+
] >= 0 && yt(e)
|
|
4326
4312
|
);
|
|
4327
4313
|
function c() {
|
|
4328
4314
|
return (
|
|
@@ -4335,48 +4321,48 @@ function Et(e) {
|
|
|
4335
4321
|
}
|
|
4336
4322
|
return {
|
|
4337
4323
|
c() {
|
|
4338
|
-
t = O("li"), r = O("span"), i =
|
|
4324
|
+
t = O("li"), r = O("span"), i = Fe(n), o = We(), f && f.c(), s = We(), T(r, "part", "LiText"), T(t, "class", a = /*__tab*/
|
|
4339
4325
|
e[5] === /*_tab*/
|
|
4340
4326
|
e[16] ? "active" : ""), T(t, "part", h = `${/*_tab*/
|
|
4341
4327
|
e[16]} li ` + /*__tab*/
|
|
4342
4328
|
(e[5] === /*_tab*/
|
|
4343
4329
|
e[16] ? "active" : ""));
|
|
4344
4330
|
},
|
|
4345
|
-
m(
|
|
4346
|
-
ee(
|
|
4331
|
+
m(d, m) {
|
|
4332
|
+
ee(d, t, m), L(t, r), L(r, i), L(t, o), f && f.m(t, null), L(t, s), u || (l = sr(t, "click", c), u = !0);
|
|
4347
4333
|
},
|
|
4348
|
-
p(
|
|
4349
|
-
e =
|
|
4334
|
+
p(d, m) {
|
|
4335
|
+
e = d, m & /*textReceiver, __tabs*/
|
|
4350
4336
|
80 && n !== (n = /*textReceiver*/
|
|
4351
4337
|
e[4][
|
|
4352
4338
|
/*_tab*/
|
|
4353
4339
|
e[16]
|
|
4354
|
-
] + "") &&
|
|
4340
|
+
] + "") && xt(i, n), /*totalReceiver*/
|
|
4355
4341
|
e[3][
|
|
4356
4342
|
/*_tab*/
|
|
4357
4343
|
e[16]
|
|
4358
|
-
] >= 0 ? f ? f.p(e,
|
|
4344
|
+
] >= 0 ? f ? f.p(e, m) : (f = yt(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), m & /*__tab, __tabs*/
|
|
4359
4345
|
96 && a !== (a = /*__tab*/
|
|
4360
4346
|
e[5] === /*_tab*/
|
|
4361
|
-
e[16] ? "active" : "") && T(t, "class", a),
|
|
4347
|
+
e[16] ? "active" : "") && T(t, "class", a), m & /*__tabs, __tab*/
|
|
4362
4348
|
96 && h !== (h = `${/*_tab*/
|
|
4363
4349
|
e[16]} li ` + /*__tab*/
|
|
4364
4350
|
(e[5] === /*_tab*/
|
|
4365
4351
|
e[16] ? "active" : "")) && T(t, "part", h);
|
|
4366
4352
|
},
|
|
4367
|
-
d(
|
|
4368
|
-
|
|
4353
|
+
d(d) {
|
|
4354
|
+
d && V(t), f && f.d(), u = !1, l();
|
|
4369
4355
|
}
|
|
4370
4356
|
};
|
|
4371
4357
|
}
|
|
4372
|
-
function
|
|
4358
|
+
function Li(e) {
|
|
4373
4359
|
let t, r = (
|
|
4374
4360
|
/*isTitleInited*/
|
|
4375
|
-
e[2] &&
|
|
4361
|
+
e[2] && gt(e)
|
|
4376
4362
|
);
|
|
4377
4363
|
return {
|
|
4378
4364
|
c() {
|
|
4379
|
-
t = O("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (
|
|
4365
|
+
t = O("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (Ai(
|
|
4380
4366
|
/*userAgent*/
|
|
4381
4367
|
e[7]
|
|
4382
4368
|
) ? "TabMobile" : "TabDesktop")), T(t, "part", "CustomStylingContainer");
|
|
@@ -4386,7 +4372,7 @@ function Mi(e) {
|
|
|
4386
4372
|
},
|
|
4387
4373
|
p(n, [i]) {
|
|
4388
4374
|
/*isTitleInited*/
|
|
4389
|
-
n[2] ? r ? r.p(n, i) : (r =
|
|
4375
|
+
n[2] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4390
4376
|
},
|
|
4391
4377
|
i: S,
|
|
4392
4378
|
o: S,
|
|
@@ -4395,24 +4381,24 @@ function Mi(e) {
|
|
|
4395
4381
|
}
|
|
4396
4382
|
};
|
|
4397
4383
|
}
|
|
4398
|
-
function
|
|
4384
|
+
function Ci(e, t, r) {
|
|
4399
4385
|
let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
|
|
4400
|
-
const
|
|
4401
|
-
let
|
|
4402
|
-
|
|
4403
|
-
TournamentsTabTotalUpdate: (
|
|
4404
|
-
r(3,
|
|
4405
|
-
...
|
|
4406
|
-
[
|
|
4386
|
+
const d = window.navigator.userAgent;
|
|
4387
|
+
let m = {}, y = {};
|
|
4388
|
+
Sr({
|
|
4389
|
+
TournamentsTabTotalUpdate: (v) => {
|
|
4390
|
+
r(3, m = {
|
|
4391
|
+
...m,
|
|
4392
|
+
[v.state]: v.total
|
|
4407
4393
|
});
|
|
4408
4394
|
},
|
|
4409
|
-
TournamentsTabsLocalize: (
|
|
4410
|
-
r(2, c = !0), r(4,
|
|
4411
|
-
...
|
|
4412
|
-
...
|
|
4395
|
+
TournamentsTabsLocalize: (v) => {
|
|
4396
|
+
r(2, c = !0), r(4, y = {
|
|
4397
|
+
...y,
|
|
4398
|
+
...v.tabTitleTranslations
|
|
4413
4399
|
});
|
|
4414
4400
|
}
|
|
4415
|
-
}),
|
|
4401
|
+
}), Tt(() => (window.postMessage(
|
|
4416
4402
|
{
|
|
4417
4403
|
type: "TournamentsTabListenerLoaded",
|
|
4418
4404
|
tid: l
|
|
@@ -4420,39 +4406,39 @@ function $i(e, t, r) {
|
|
|
4420
4406
|
window.location.href
|
|
4421
4407
|
), () => {
|
|
4422
4408
|
}));
|
|
4423
|
-
const x = (
|
|
4424
|
-
r(5, i =
|
|
4409
|
+
const x = (v) => {
|
|
4410
|
+
r(5, i = v), window.postMessage(
|
|
4425
4411
|
{
|
|
4426
4412
|
type: "TournamentsTabSwitch",
|
|
4427
|
-
tab:
|
|
4413
|
+
tab: v,
|
|
4428
4414
|
tid: l
|
|
4429
4415
|
},
|
|
4430
4416
|
window.location.href
|
|
4431
4417
|
);
|
|
4432
4418
|
};
|
|
4433
|
-
function I(
|
|
4434
|
-
|
|
4435
|
-
f =
|
|
4419
|
+
function I(v) {
|
|
4420
|
+
Se[v ? "unshift" : "push"](() => {
|
|
4421
|
+
f = v, r(1, f);
|
|
4436
4422
|
});
|
|
4437
4423
|
}
|
|
4438
|
-
return e.$$set = (
|
|
4439
|
-
"tabs" in
|
|
4424
|
+
return e.$$set = (v) => {
|
|
4425
|
+
"tabs" in v && r(8, o = v.tabs), "tab" in v && r(9, s = v.tab), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource), "tid" in v && r(0, l = v.tid);
|
|
4440
4426
|
}, e.$$.update = () => {
|
|
4441
4427
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4442
|
-
1026 && a && f &&
|
|
4443
|
-
2050 && h && f &&
|
|
4444
|
-
4098 && u && f &&
|
|
4428
|
+
1026 && a && f && Pi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4429
|
+
2050 && h && f && Oi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4430
|
+
4098 && u && f && Ii(f, `${u}.Style`), e.$$.dirty & /*tabs*/
|
|
4445
4431
|
256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
|
|
4446
4432
|
512 && r(5, i = s);
|
|
4447
4433
|
}, [
|
|
4448
4434
|
l,
|
|
4449
4435
|
f,
|
|
4450
4436
|
c,
|
|
4451
|
-
|
|
4452
|
-
|
|
4437
|
+
m,
|
|
4438
|
+
y,
|
|
4453
4439
|
i,
|
|
4454
4440
|
n,
|
|
4455
|
-
|
|
4441
|
+
d,
|
|
4456
4442
|
o,
|
|
4457
4443
|
s,
|
|
4458
4444
|
a,
|
|
@@ -4462,14 +4448,14 @@ function $i(e, t, r) {
|
|
|
4462
4448
|
I
|
|
4463
4449
|
];
|
|
4464
4450
|
}
|
|
4465
|
-
class
|
|
4451
|
+
class Mi extends Er {
|
|
4466
4452
|
constructor(t) {
|
|
4467
|
-
super(),
|
|
4453
|
+
super(), vr(
|
|
4468
4454
|
this,
|
|
4469
4455
|
t,
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4456
|
+
Ci,
|
|
4457
|
+
Li,
|
|
4458
|
+
Et,
|
|
4473
4459
|
{
|
|
4474
4460
|
tabs: 8,
|
|
4475
4461
|
tab: 9,
|
|
@@ -4478,7 +4464,7 @@ class Ri extends Sr {
|
|
|
4478
4464
|
mbsource: 12,
|
|
4479
4465
|
tid: 0
|
|
4480
4466
|
},
|
|
4481
|
-
|
|
4467
|
+
Ni
|
|
4482
4468
|
);
|
|
4483
4469
|
}
|
|
4484
4470
|
get tabs() {
|
|
@@ -4518,7 +4504,7 @@ class Ri extends Sr {
|
|
|
4518
4504
|
this.$$set({ tid: t }), A();
|
|
4519
4505
|
}
|
|
4520
4506
|
}
|
|
4521
|
-
|
|
4507
|
+
_r(Mi, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
|
|
4522
4508
|
export {
|
|
4523
|
-
|
|
4509
|
+
Mi as C
|
|
4524
4510
|
};
|