@everymatrix/casino-tournaments-tab 1.77.19 → 1.77.20
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-BQT-Juiu.js → CasinoTournamentsTab-Bppn0K6D.js} +751 -794
- package/components/CasinoTournamentsTab-Cklr4z-E.cjs +18 -0
- package/components/{CasinoTournamentsTab-C-Grp7d1.js → CasinoTournamentsTab-xNGf8RnD.js} +755 -798
- 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-CyZTeyoM.cjs +0 -18
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ur = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var lr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var se = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var Je = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ee = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, R = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Je.call(t, r) && Ee(e, r, t[r]);
|
|
8
8
|
if (se)
|
|
9
9
|
for (var r of se(t))
|
|
10
|
-
|
|
10
|
+
Ye.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, ae = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, ae = (e, t) => hr(e, lr(t));
|
|
13
|
+
var qe = (e, t) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var n in e)
|
|
16
|
-
|
|
16
|
+
Je.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
17
17
|
if (e != null && se)
|
|
18
18
|
for (var n of se(e))
|
|
19
|
-
t.indexOf(n) < 0 &&
|
|
19
|
+
t.indexOf(n) < 0 && Ye.call(e, n) && (r[n] = e[n]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
var x = (e, t, r) => (
|
|
23
|
-
var
|
|
22
|
+
var x = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
23
|
+
var Ke = (e, t, r) => new Promise((n, i) => {
|
|
24
24
|
var o = (h) => {
|
|
25
25
|
try {
|
|
26
26
|
a(r.next(h));
|
|
@@ -38,25 +38,25 @@ var it = (e, t, r) => new Promise((n, i) => {
|
|
|
38
38
|
});
|
|
39
39
|
function w() {
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function At(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function et() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
e.forEach(
|
|
47
|
+
function te(e) {
|
|
48
|
+
e.forEach(At);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Xe(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Pt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function fr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function cr(e, ...t) {
|
|
60
60
|
if (e == null) {
|
|
61
61
|
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
@@ -68,14 +68,14 @@ function gr(e, ...t) {
|
|
|
68
68
|
function C(e, t) {
|
|
69
69
|
e.appendChild(t);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
const n =
|
|
71
|
+
function pr(e, t, r) {
|
|
72
|
+
const n = mr(e);
|
|
73
73
|
if (!n.getElementById(t)) {
|
|
74
74
|
const i = I("style");
|
|
75
|
-
i.id = t, i.textContent = r,
|
|
75
|
+
i.id = t, i.textContent = r, br(n, i);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function mr(e) {
|
|
79
79
|
if (!e)
|
|
80
80
|
return document;
|
|
81
81
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -85,46 +85,46 @@ function yr(e) {
|
|
|
85
85
|
t
|
|
86
86
|
) : e.ownerDocument;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function br(e, t) {
|
|
89
89
|
return C(
|
|
90
90
|
/** @type {Document} */
|
|
91
91
|
e.head || e,
|
|
92
92
|
t
|
|
93
93
|
), t.sheet;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function re(e, t, r) {
|
|
96
96
|
e.insertBefore(t, r || null);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function z(e) {
|
|
99
99
|
e.parentNode && e.parentNode.removeChild(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function dr(e, t) {
|
|
102
102
|
for (let r = 0; r < e.length; r += 1)
|
|
103
103
|
e[r] && e[r].d(t);
|
|
104
104
|
}
|
|
105
105
|
function I(e) {
|
|
106
106
|
return document.createElement(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function ze(e) {
|
|
109
109
|
return document.createTextNode(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function tt() {
|
|
112
|
+
return ze(" ");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function vr(e, t, r, n) {
|
|
115
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function S(e, t, r) {
|
|
118
118
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function gr(e) {
|
|
121
121
|
return Array.from(e.childNodes);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Ot(e, t) {
|
|
124
124
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
125
125
|
t);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function yr(e) {
|
|
128
128
|
const t = {};
|
|
129
129
|
return e.childNodes.forEach(
|
|
130
130
|
/** @param {Element} node */
|
|
@@ -133,90 +133,90 @@ function Tr(e) {
|
|
|
133
133
|
}
|
|
134
134
|
), t;
|
|
135
135
|
}
|
|
136
|
-
let
|
|
137
|
-
function
|
|
138
|
-
|
|
136
|
+
let q;
|
|
137
|
+
function Y(e) {
|
|
138
|
+
q = e;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
if (!
|
|
140
|
+
function _r() {
|
|
141
|
+
if (!q)
|
|
142
142
|
throw new Error("Function called outside component initialization");
|
|
143
|
-
return
|
|
143
|
+
return q;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
145
|
+
function It(e) {
|
|
146
|
+
_r().$$.on_mount.push(e);
|
|
147
147
|
}
|
|
148
|
-
const D = [],
|
|
148
|
+
const D = [], Pe = [];
|
|
149
149
|
let G = [];
|
|
150
|
-
const
|
|
151
|
-
let
|
|
152
|
-
function
|
|
153
|
-
|
|
150
|
+
const rt = [], Er = /* @__PURE__ */ Promise.resolve();
|
|
151
|
+
let Oe = !1;
|
|
152
|
+
function xr() {
|
|
153
|
+
Oe || (Oe = !0, Er.then(P));
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Ie(e) {
|
|
156
156
|
G.push(e);
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
let
|
|
158
|
+
const xe = /* @__PURE__ */ new Set();
|
|
159
|
+
let $ = 0;
|
|
160
160
|
function P() {
|
|
161
|
-
if (
|
|
161
|
+
if ($ !== 0)
|
|
162
162
|
return;
|
|
163
|
-
const e =
|
|
163
|
+
const e = q;
|
|
164
164
|
do {
|
|
165
165
|
try {
|
|
166
|
-
for (;
|
|
167
|
-
const t = D[
|
|
168
|
-
|
|
166
|
+
for (; $ < D.length; ) {
|
|
167
|
+
const t = D[$];
|
|
168
|
+
$++, Y(t), Tr(t.$$);
|
|
169
169
|
}
|
|
170
170
|
} catch (t) {
|
|
171
|
-
throw D.length = 0,
|
|
171
|
+
throw D.length = 0, $ = 0, t;
|
|
172
172
|
}
|
|
173
|
-
for (
|
|
174
|
-
|
|
173
|
+
for (Y(null), D.length = 0, $ = 0; Pe.length; )
|
|
174
|
+
Pe.pop()();
|
|
175
175
|
for (let t = 0; t < G.length; t += 1) {
|
|
176
176
|
const r = G[t];
|
|
177
|
-
|
|
177
|
+
xe.has(r) || (xe.add(r), r());
|
|
178
178
|
}
|
|
179
179
|
G.length = 0;
|
|
180
180
|
} while (D.length);
|
|
181
|
-
for (;
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
for (; rt.length; )
|
|
182
|
+
rt.pop()();
|
|
183
|
+
Oe = !1, xe.clear(), Y(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Tr(e) {
|
|
186
186
|
if (e.fragment !== null) {
|
|
187
|
-
e.update(),
|
|
187
|
+
e.update(), te(e.before_update);
|
|
188
188
|
const t = e.dirty;
|
|
189
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
189
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Sr(e) {
|
|
193
193
|
const t = [], r = [];
|
|
194
194
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
function
|
|
198
|
-
e && e.i && (
|
|
196
|
+
const wr = /* @__PURE__ */ new Set();
|
|
197
|
+
function Hr(e, t) {
|
|
198
|
+
e && e.i && (wr.delete(e), e.i(t));
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function nt(e) {
|
|
201
201
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Br(e, t, r) {
|
|
204
204
|
const { fragment: n, after_update: i } = e.$$;
|
|
205
|
-
n && n.m(t, r),
|
|
206
|
-
const o = e.$$.on_mount.map(
|
|
207
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
208
|
-
}), i.forEach(
|
|
205
|
+
n && n.m(t, r), Ie(() => {
|
|
206
|
+
const o = e.$$.on_mount.map(At).filter(Xe);
|
|
207
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
208
|
+
}), i.forEach(Ie);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Ar(e, t) {
|
|
211
211
|
const r = e.$$;
|
|
212
|
-
r.fragment !== null && (
|
|
212
|
+
r.fragment !== null && (Sr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
214
|
+
function Pr(e, t) {
|
|
215
|
+
e.$$.dirty[0] === -1 && (D.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
const h =
|
|
219
|
-
|
|
217
|
+
function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
218
|
+
const h = q;
|
|
219
|
+
Y(e);
|
|
220
220
|
const u = e.$$ = {
|
|
221
221
|
fragment: null,
|
|
222
222
|
ctx: [],
|
|
@@ -224,7 +224,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
224
224
|
props: o,
|
|
225
225
|
update: w,
|
|
226
226
|
not_equal: i,
|
|
227
|
-
bound:
|
|
227
|
+
bound: et(),
|
|
228
228
|
// lifecycle
|
|
229
229
|
on_mount: [],
|
|
230
230
|
on_destroy: [],
|
|
@@ -233,7 +233,7 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
233
233
|
after_update: [],
|
|
234
234
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
235
235
|
// everything else
|
|
236
|
-
callbacks:
|
|
236
|
+
callbacks: et(),
|
|
237
237
|
dirty: a,
|
|
238
238
|
skip_bound: !1,
|
|
239
239
|
root: t.target || h.$$.root
|
|
@@ -241,20 +241,20 @@ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
241
241
|
s && s(u.root);
|
|
242
242
|
let l = !1;
|
|
243
243
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
244
|
-
const
|
|
245
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
246
|
-
}) : [], u.update(), l = !0,
|
|
244
|
+
const b = p.length ? p[0] : c;
|
|
245
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Pr(e, f)), c;
|
|
246
|
+
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
247
247
|
if (t.hydrate) {
|
|
248
|
-
const f =
|
|
249
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
248
|
+
const f = gr(t.target);
|
|
249
|
+
u.fragment && u.fragment.l(f), f.forEach(z);
|
|
250
250
|
} else
|
|
251
251
|
u.fragment && u.fragment.c();
|
|
252
|
-
t.intro &&
|
|
252
|
+
t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), P();
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
Y(h);
|
|
255
255
|
}
|
|
256
|
-
let
|
|
257
|
-
typeof HTMLElement == "function" && (
|
|
256
|
+
let Lt;
|
|
257
|
+
typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
258
258
|
constructor(t, r, n) {
|
|
259
259
|
super();
|
|
260
260
|
/** The Svelte component constructor */
|
|
@@ -291,31 +291,31 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
connectedCallback() {
|
|
294
|
-
return
|
|
294
|
+
return Ke(this, null, function* () {
|
|
295
295
|
if (this.$$cn = !0, !this.$$c) {
|
|
296
296
|
let t = function(o) {
|
|
297
297
|
return () => {
|
|
298
298
|
let s;
|
|
299
299
|
return {
|
|
300
300
|
c: function() {
|
|
301
|
-
s = I("slot"), o !== "default" &&
|
|
301
|
+
s = I("slot"), o !== "default" && S(s, "name", o);
|
|
302
302
|
},
|
|
303
303
|
/**
|
|
304
304
|
* @param {HTMLElement} target
|
|
305
305
|
* @param {HTMLElement} [anchor]
|
|
306
306
|
*/
|
|
307
307
|
m: function(u, l) {
|
|
308
|
-
|
|
308
|
+
re(u, s, l);
|
|
309
309
|
},
|
|
310
310
|
d: function(u) {
|
|
311
|
-
u &&
|
|
311
|
+
u && z(s);
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
317
317
|
return;
|
|
318
|
-
const r = {}, n =
|
|
318
|
+
const r = {}, n = yr(this);
|
|
319
319
|
for (const o of this.$$s)
|
|
320
320
|
o in n && (r[o] = [t(o)]);
|
|
321
321
|
for (const o of this.attributes) {
|
|
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
|
|
|
326
326
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
327
327
|
this.$$c = new this.$$ctor({
|
|
328
328
|
target: this.shadowRoot || this,
|
|
329
|
-
props: ae(
|
|
329
|
+
props: ae(R({}, this.$$d), {
|
|
330
330
|
$$slots: r,
|
|
331
331
|
$$scope: {
|
|
332
332
|
ctx: []
|
|
@@ -404,8 +404,8 @@ function le(e, t, r, n) {
|
|
|
404
404
|
return t;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
let s = class extends
|
|
407
|
+
function Ir(e, t, r, n, i, o) {
|
|
408
|
+
let s = class extends Lt {
|
|
409
409
|
constructor() {
|
|
410
410
|
super(e, r, i), this.$$p_d = t;
|
|
411
411
|
}
|
|
@@ -435,7 +435,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
435
435
|
}), e.element = /** @type {any} */
|
|
436
436
|
s, s;
|
|
437
437
|
}
|
|
438
|
-
class
|
|
438
|
+
class Lr {
|
|
439
439
|
constructor() {
|
|
440
440
|
/**
|
|
441
441
|
* ### PRIVATE API
|
|
@@ -456,7 +456,7 @@ class Rr {
|
|
|
456
456
|
}
|
|
457
457
|
/** @returns {void} */
|
|
458
458
|
$destroy() {
|
|
459
|
-
|
|
459
|
+
Ar(this, 1), this.$destroy = w;
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
462
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -465,7 +465,7 @@ class Rr {
|
|
|
465
465
|
* @returns {() => void}
|
|
466
466
|
*/
|
|
467
467
|
$on(t, r) {
|
|
468
|
-
if (!
|
|
468
|
+
if (!Xe(r))
|
|
469
469
|
return w;
|
|
470
470
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
471
471
|
return n.push(r), () => {
|
|
@@ -478,21 +478,21 @@ class Rr {
|
|
|
478
478
|
* @returns {void}
|
|
479
479
|
*/
|
|
480
480
|
$set(t) {
|
|
481
|
-
this.$$set && !
|
|
481
|
+
this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
const
|
|
485
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
486
|
-
const
|
|
484
|
+
const Nr = "4";
|
|
485
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
|
|
486
|
+
const Cr = (e) => (r) => {
|
|
487
487
|
Object.keys(e).map((n) => {
|
|
488
488
|
if (r.data && r.data.type == n) {
|
|
489
|
-
const i = r.data, { type: o } = i, s =
|
|
489
|
+
const i = r.data, { type: o } = i, s = qe(i, ["type"]);
|
|
490
490
|
e[n](s);
|
|
491
491
|
}
|
|
492
492
|
});
|
|
493
|
-
},
|
|
494
|
-
const t =
|
|
495
|
-
|
|
493
|
+
}, Mr = (e) => {
|
|
494
|
+
const t = Cr(e);
|
|
495
|
+
It(() => (window.addEventListener("message", t, !1), () => {
|
|
496
496
|
window.removeEventListener("message", t);
|
|
497
497
|
}));
|
|
498
498
|
};
|
|
@@ -510,24 +510,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
510
510
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
511
511
|
PERFORMANCE OF THIS SOFTWARE.
|
|
512
512
|
***************************************************************************** */
|
|
513
|
-
var
|
|
514
|
-
return
|
|
513
|
+
var Le = function(e, t) {
|
|
514
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
515
515
|
r.__proto__ = n;
|
|
516
516
|
} || function(r, n) {
|
|
517
517
|
for (var i in n)
|
|
518
518
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
519
|
-
},
|
|
519
|
+
}, Le(e, t);
|
|
520
520
|
};
|
|
521
|
-
function
|
|
521
|
+
function A(e, t) {
|
|
522
522
|
if (typeof t != "function" && t !== null)
|
|
523
523
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
524
|
-
|
|
524
|
+
Le(e, t);
|
|
525
525
|
function r() {
|
|
526
526
|
this.constructor = e;
|
|
527
527
|
}
|
|
528
528
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
var y = function() {
|
|
531
|
+
return y = Object.assign || function(t) {
|
|
532
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
533
|
+
r = arguments[n];
|
|
534
|
+
for (var o in r)
|
|
535
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
536
|
+
}
|
|
537
|
+
return t;
|
|
538
|
+
}, y.apply(this, arguments);
|
|
539
|
+
};
|
|
540
|
+
function Rr(e, t) {
|
|
541
|
+
var r = {};
|
|
542
|
+
for (var n in e)
|
|
543
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
544
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
545
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
546
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
547
|
+
return r;
|
|
548
|
+
}
|
|
549
|
+
function Ne(e) {
|
|
531
550
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
532
551
|
if (r)
|
|
533
552
|
return r.call(e);
|
|
@@ -539,7 +558,7 @@ function $e(e) {
|
|
|
539
558
|
};
|
|
540
559
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
541
560
|
}
|
|
542
|
-
function
|
|
561
|
+
function Ce(e, t) {
|
|
543
562
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
544
563
|
if (!r)
|
|
545
564
|
return e;
|
|
@@ -559,22 +578,22 @@ function Re(e, t) {
|
|
|
559
578
|
}
|
|
560
579
|
return o;
|
|
561
580
|
}
|
|
562
|
-
function
|
|
563
|
-
if (arguments.length === 2)
|
|
581
|
+
function F(e, t, r) {
|
|
582
|
+
if (r || arguments.length === 2)
|
|
564
583
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
565
584
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
566
585
|
return e.concat(o || t);
|
|
567
586
|
}
|
|
568
|
-
function
|
|
587
|
+
function B(e) {
|
|
569
588
|
return typeof e == "function";
|
|
570
589
|
}
|
|
571
|
-
function
|
|
590
|
+
function Nt(e) {
|
|
572
591
|
var t = function(n) {
|
|
573
592
|
Error.call(n), n.stack = new Error().stack;
|
|
574
593
|
}, r = e(t);
|
|
575
594
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
576
595
|
}
|
|
577
|
-
var
|
|
596
|
+
var Te = Nt(function(e) {
|
|
578
597
|
return function(r) {
|
|
579
598
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
580
599
|
` + r.map(function(n, i) {
|
|
@@ -583,13 +602,13 @@ var we = Ut(function(e) {
|
|
|
583
602
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
584
603
|
};
|
|
585
604
|
});
|
|
586
|
-
function
|
|
605
|
+
function Me(e, t) {
|
|
587
606
|
if (e) {
|
|
588
607
|
var r = e.indexOf(t);
|
|
589
608
|
0 <= r && e.splice(r, 1);
|
|
590
609
|
}
|
|
591
610
|
}
|
|
592
|
-
var
|
|
611
|
+
var de = function() {
|
|
593
612
|
function e(t) {
|
|
594
613
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
595
614
|
}
|
|
@@ -601,12 +620,12 @@ var ge = function() {
|
|
|
601
620
|
if (s)
|
|
602
621
|
if (this._parentage = null, Array.isArray(s))
|
|
603
622
|
try {
|
|
604
|
-
for (var a =
|
|
623
|
+
for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
|
|
605
624
|
var u = h.value;
|
|
606
625
|
u.remove(this);
|
|
607
626
|
}
|
|
608
|
-
} catch (
|
|
609
|
-
t = { error:
|
|
627
|
+
} catch (g) {
|
|
628
|
+
t = { error: g };
|
|
610
629
|
} finally {
|
|
611
630
|
try {
|
|
612
631
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -618,26 +637,26 @@ var ge = function() {
|
|
|
618
637
|
else
|
|
619
638
|
s.remove(this);
|
|
620
639
|
var l = this.initialTeardown;
|
|
621
|
-
if (
|
|
640
|
+
if (B(l))
|
|
622
641
|
try {
|
|
623
642
|
l();
|
|
624
|
-
} catch (
|
|
625
|
-
o =
|
|
643
|
+
} catch (g) {
|
|
644
|
+
o = g instanceof Te ? g.errors : [g];
|
|
626
645
|
}
|
|
627
646
|
var f = this._finalizers;
|
|
628
647
|
if (f) {
|
|
629
648
|
this._finalizers = null;
|
|
630
649
|
try {
|
|
631
|
-
for (var c =
|
|
632
|
-
var
|
|
650
|
+
for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
|
|
651
|
+
var b = p.value;
|
|
633
652
|
try {
|
|
634
|
-
|
|
635
|
-
} catch (
|
|
636
|
-
o = o != null ? o : [],
|
|
653
|
+
it(b);
|
|
654
|
+
} catch (g) {
|
|
655
|
+
o = o != null ? o : [], g instanceof Te ? o = F(F([], Ce(o)), Ce(g.errors)) : o.push(g);
|
|
637
656
|
}
|
|
638
657
|
}
|
|
639
|
-
} catch (
|
|
640
|
-
n = { error:
|
|
658
|
+
} catch (g) {
|
|
659
|
+
n = { error: g };
|
|
641
660
|
} finally {
|
|
642
661
|
try {
|
|
643
662
|
p && !p.done && (i = c.return) && i.call(c);
|
|
@@ -648,13 +667,13 @@ var ge = function() {
|
|
|
648
667
|
}
|
|
649
668
|
}
|
|
650
669
|
if (o)
|
|
651
|
-
throw new
|
|
670
|
+
throw new Te(o);
|
|
652
671
|
}
|
|
653
672
|
}, e.prototype.add = function(t) {
|
|
654
673
|
var r;
|
|
655
674
|
if (t && t !== this)
|
|
656
675
|
if (this.closed)
|
|
657
|
-
|
|
676
|
+
it(t);
|
|
658
677
|
else {
|
|
659
678
|
if (t instanceof e) {
|
|
660
679
|
if (t.closed || t._hasParent(this))
|
|
@@ -671,52 +690,52 @@ var ge = function() {
|
|
|
671
690
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
672
691
|
}, e.prototype._removeParent = function(t) {
|
|
673
692
|
var r = this._parentage;
|
|
674
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
693
|
+
r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
|
|
675
694
|
}, e.prototype.remove = function(t) {
|
|
676
695
|
var r = this._finalizers;
|
|
677
|
-
r &&
|
|
696
|
+
r && Me(r, t), t instanceof e && t._removeParent(this);
|
|
678
697
|
}, e.EMPTY = function() {
|
|
679
698
|
var t = new e();
|
|
680
699
|
return t.closed = !0, t;
|
|
681
700
|
}(), e;
|
|
682
|
-
}(),
|
|
683
|
-
function
|
|
684
|
-
return e instanceof
|
|
701
|
+
}(), Ct = de.EMPTY;
|
|
702
|
+
function Mt(e) {
|
|
703
|
+
return e instanceof de || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
|
|
685
704
|
}
|
|
686
|
-
function
|
|
687
|
-
|
|
705
|
+
function it(e) {
|
|
706
|
+
B(e) ? e() : e.unsubscribe();
|
|
688
707
|
}
|
|
689
|
-
var
|
|
708
|
+
var $r = {
|
|
690
709
|
Promise: void 0
|
|
691
|
-
},
|
|
710
|
+
}, Ur = {
|
|
692
711
|
setTimeout: function(e, t) {
|
|
693
712
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
694
713
|
r[n - 2] = arguments[n];
|
|
695
|
-
return setTimeout.apply(void 0,
|
|
714
|
+
return setTimeout.apply(void 0, F([e, t], Ce(r)));
|
|
696
715
|
},
|
|
697
716
|
clearTimeout: function(e) {
|
|
698
717
|
return clearTimeout(e);
|
|
699
718
|
},
|
|
700
719
|
delegate: void 0
|
|
701
720
|
};
|
|
702
|
-
function
|
|
703
|
-
|
|
721
|
+
function Dr(e) {
|
|
722
|
+
Ur.setTimeout(function() {
|
|
704
723
|
throw e;
|
|
705
724
|
});
|
|
706
725
|
}
|
|
707
|
-
function
|
|
726
|
+
function ot() {
|
|
708
727
|
}
|
|
709
728
|
function fe(e) {
|
|
710
729
|
e();
|
|
711
730
|
}
|
|
712
|
-
var
|
|
713
|
-
|
|
731
|
+
var Rt = function(e) {
|
|
732
|
+
A(t, e);
|
|
714
733
|
function t(r) {
|
|
715
734
|
var n = e.call(this) || this;
|
|
716
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
735
|
+
return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = jr, n;
|
|
717
736
|
}
|
|
718
737
|
return t.create = function(r, n, i) {
|
|
719
|
-
return new
|
|
738
|
+
return new Re(r, n, i);
|
|
720
739
|
}, t.prototype.next = function(r) {
|
|
721
740
|
this.isStopped || this._next(r);
|
|
722
741
|
}, t.prototype.error = function(r) {
|
|
@@ -740,7 +759,7 @@ var Ft = function(e) {
|
|
|
740
759
|
this.unsubscribe();
|
|
741
760
|
}
|
|
742
761
|
}, t;
|
|
743
|
-
}(
|
|
762
|
+
}(de), Gr = function() {
|
|
744
763
|
function e(t) {
|
|
745
764
|
this.partialObserver = t;
|
|
746
765
|
}
|
|
@@ -771,43 +790,43 @@ var Ft = function(e) {
|
|
|
771
790
|
ue(r);
|
|
772
791
|
}
|
|
773
792
|
}, e;
|
|
774
|
-
}(),
|
|
775
|
-
|
|
793
|
+
}(), Re = function(e) {
|
|
794
|
+
A(t, e);
|
|
776
795
|
function t(r, n, i) {
|
|
777
796
|
var o = e.call(this) || this, s;
|
|
778
|
-
return
|
|
797
|
+
return B(r) || !r ? s = {
|
|
779
798
|
next: r != null ? r : void 0,
|
|
780
799
|
error: n != null ? n : void 0,
|
|
781
800
|
complete: i != null ? i : void 0
|
|
782
|
-
} : s = r, o.destination = new
|
|
801
|
+
} : s = r, o.destination = new Gr(s), o;
|
|
783
802
|
}
|
|
784
803
|
return t;
|
|
785
|
-
}(
|
|
804
|
+
}(Rt);
|
|
786
805
|
function ue(e) {
|
|
787
|
-
|
|
806
|
+
Dr(e);
|
|
788
807
|
}
|
|
789
|
-
function
|
|
808
|
+
function Fr(e) {
|
|
790
809
|
throw e;
|
|
791
810
|
}
|
|
792
|
-
var
|
|
811
|
+
var jr = {
|
|
793
812
|
closed: !0,
|
|
794
|
-
next:
|
|
795
|
-
error:
|
|
796
|
-
complete:
|
|
797
|
-
},
|
|
813
|
+
next: ot,
|
|
814
|
+
error: Fr,
|
|
815
|
+
complete: ot
|
|
816
|
+
}, kr = function() {
|
|
798
817
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
799
818
|
}();
|
|
800
|
-
function
|
|
819
|
+
function Vr(e) {
|
|
801
820
|
return e;
|
|
802
821
|
}
|
|
803
|
-
function
|
|
804
|
-
return e.length === 0 ?
|
|
822
|
+
function Xr(e) {
|
|
823
|
+
return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
|
|
805
824
|
return e.reduce(function(n, i) {
|
|
806
825
|
return i(n);
|
|
807
826
|
}, r);
|
|
808
827
|
};
|
|
809
828
|
}
|
|
810
|
-
var
|
|
829
|
+
var st = function() {
|
|
811
830
|
function e(t) {
|
|
812
831
|
t && (this._subscribe = t);
|
|
813
832
|
}
|
|
@@ -815,7 +834,7 @@ var ft = function() {
|
|
|
815
834
|
var r = new e();
|
|
816
835
|
return r.source = this, r.operator = t, r;
|
|
817
836
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
818
|
-
var i = this, o =
|
|
837
|
+
var i = this, o = Wr(t) ? t : new Re(t, r, n);
|
|
819
838
|
return fe(function() {
|
|
820
839
|
var s = i, a = s.operator, h = s.source;
|
|
821
840
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -828,8 +847,8 @@ var ft = function() {
|
|
|
828
847
|
}
|
|
829
848
|
}, e.prototype.forEach = function(t, r) {
|
|
830
849
|
var n = this;
|
|
831
|
-
return r =
|
|
832
|
-
var s = new
|
|
850
|
+
return r = at(r), new r(function(i, o) {
|
|
851
|
+
var s = new Re({
|
|
833
852
|
next: function(a) {
|
|
834
853
|
try {
|
|
835
854
|
t(a);
|
|
@@ -845,15 +864,15 @@ var ft = function() {
|
|
|
845
864
|
}, e.prototype._subscribe = function(t) {
|
|
846
865
|
var r;
|
|
847
866
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
848
|
-
}, e.prototype[
|
|
867
|
+
}, e.prototype[kr] = function() {
|
|
849
868
|
return this;
|
|
850
869
|
}, e.prototype.pipe = function() {
|
|
851
870
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
852
871
|
t[r] = arguments[r];
|
|
853
|
-
return
|
|
872
|
+
return Xr(t)(this);
|
|
854
873
|
}, e.prototype.toPromise = function(t) {
|
|
855
874
|
var r = this;
|
|
856
|
-
return t =
|
|
875
|
+
return t = at(t), new t(function(n, i) {
|
|
857
876
|
var o;
|
|
858
877
|
r.subscribe(function(s) {
|
|
859
878
|
return o = s;
|
|
@@ -867,32 +886,32 @@ var ft = function() {
|
|
|
867
886
|
return new e(t);
|
|
868
887
|
}, e;
|
|
869
888
|
}();
|
|
870
|
-
function
|
|
889
|
+
function at(e) {
|
|
871
890
|
var t;
|
|
872
|
-
return (t = e != null ? e :
|
|
891
|
+
return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
873
892
|
}
|
|
874
|
-
function
|
|
875
|
-
return e &&
|
|
893
|
+
function zr(e) {
|
|
894
|
+
return e && B(e.next) && B(e.error) && B(e.complete);
|
|
876
895
|
}
|
|
877
|
-
function
|
|
878
|
-
return e && e instanceof
|
|
896
|
+
function Wr(e) {
|
|
897
|
+
return e && e instanceof Rt || zr(e) && Mt(e);
|
|
879
898
|
}
|
|
880
|
-
var
|
|
899
|
+
var Zr = Nt(function(e) {
|
|
881
900
|
return function() {
|
|
882
901
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
883
902
|
};
|
|
884
|
-
}),
|
|
885
|
-
|
|
903
|
+
}), $t = function(e) {
|
|
904
|
+
A(t, e);
|
|
886
905
|
function t() {
|
|
887
906
|
var r = e.call(this) || this;
|
|
888
907
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
889
908
|
}
|
|
890
909
|
return t.prototype.lift = function(r) {
|
|
891
|
-
var n = new
|
|
910
|
+
var n = new ut(this, this);
|
|
892
911
|
return n.operator = r, n;
|
|
893
912
|
}, t.prototype._throwIfClosed = function() {
|
|
894
913
|
if (this.closed)
|
|
895
|
-
throw new
|
|
914
|
+
throw new Zr();
|
|
896
915
|
}, t.prototype.next = function(r) {
|
|
897
916
|
var n = this;
|
|
898
917
|
fe(function() {
|
|
@@ -900,7 +919,7 @@ var qr = Ut(function(e) {
|
|
|
900
919
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
901
920
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
902
921
|
try {
|
|
903
|
-
for (var s =
|
|
922
|
+
for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
904
923
|
var h = a.value;
|
|
905
924
|
h.next(r);
|
|
906
925
|
}
|
|
@@ -949,20 +968,20 @@ var qr = Ut(function(e) {
|
|
|
949
968
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
950
969
|
}, t.prototype._innerSubscribe = function(r) {
|
|
951
970
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
952
|
-
return o || s ?
|
|
953
|
-
n.currentObservers = null,
|
|
971
|
+
return o || s ? Ct : (this.currentObservers = null, a.push(r), new de(function() {
|
|
972
|
+
n.currentObservers = null, Me(a, r);
|
|
954
973
|
}));
|
|
955
974
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
956
975
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
957
976
|
i ? r.error(o) : s && r.complete();
|
|
958
977
|
}, t.prototype.asObservable = function() {
|
|
959
|
-
var r = new
|
|
978
|
+
var r = new st();
|
|
960
979
|
return r.source = this, r;
|
|
961
980
|
}, t.create = function(r, n) {
|
|
962
|
-
return new
|
|
981
|
+
return new ut(r, n);
|
|
963
982
|
}, t;
|
|
964
|
-
}(
|
|
965
|
-
|
|
983
|
+
}(st), ut = function(e) {
|
|
984
|
+
A(t, e);
|
|
966
985
|
function t(r, n) {
|
|
967
986
|
var i = e.call(this) || this;
|
|
968
987
|
return i.destination = r, i.source = n, i;
|
|
@@ -978,17 +997,17 @@ var qr = Ut(function(e) {
|
|
|
978
997
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
979
998
|
}, t.prototype._subscribe = function(r) {
|
|
980
999
|
var n, i;
|
|
981
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1000
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
|
|
982
1001
|
}, t;
|
|
983
|
-
}(
|
|
1002
|
+
}($t), Ut = {
|
|
984
1003
|
now: function() {
|
|
985
|
-
return (
|
|
1004
|
+
return (Ut.delegate || Date).now();
|
|
986
1005
|
},
|
|
987
1006
|
delegate: void 0
|
|
988
|
-
},
|
|
989
|
-
|
|
1007
|
+
}, Qr = function(e) {
|
|
1008
|
+
A(t, e);
|
|
990
1009
|
function t(r, n, i) {
|
|
991
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1010
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
992
1011
|
var o = e.call(this) || this;
|
|
993
1012
|
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;
|
|
994
1013
|
}
|
|
@@ -1008,15 +1027,15 @@ var qr = Ut(function(e) {
|
|
|
1008
1027
|
u && o.splice(0, u + 1);
|
|
1009
1028
|
}
|
|
1010
1029
|
}, t;
|
|
1011
|
-
}(
|
|
1012
|
-
const
|
|
1013
|
-
if (
|
|
1014
|
-
const r = new
|
|
1015
|
-
|
|
1030
|
+
}($t);
|
|
1031
|
+
const ht = [], lt = {}, Jr = (e, t = 0) => {
|
|
1032
|
+
if (ht.indexOf(e) == -1) {
|
|
1033
|
+
const r = new Qr(t);
|
|
1034
|
+
lt[e] = r, ht.push(e);
|
|
1016
1035
|
}
|
|
1017
|
-
return
|
|
1036
|
+
return lt[e];
|
|
1018
1037
|
}, U = [];
|
|
1019
|
-
function
|
|
1038
|
+
function Yr(e, t) {
|
|
1020
1039
|
return {
|
|
1021
1040
|
subscribe: ve(e, t).subscribe
|
|
1022
1041
|
};
|
|
@@ -1025,7 +1044,7 @@ function ve(e, t = w) {
|
|
|
1025
1044
|
let r;
|
|
1026
1045
|
const n = /* @__PURE__ */ new Set();
|
|
1027
1046
|
function i(a) {
|
|
1028
|
-
if (
|
|
1047
|
+
if (Pt(e, a) && (e = a, r)) {
|
|
1029
1048
|
const h = !U.length;
|
|
1030
1049
|
for (const u of n)
|
|
1031
1050
|
u[1](), U.push(u, e);
|
|
@@ -1047,12 +1066,12 @@ function ve(e, t = w) {
|
|
|
1047
1066
|
}
|
|
1048
1067
|
return { set: i, update: o, subscribe: s };
|
|
1049
1068
|
}
|
|
1050
|
-
function
|
|
1069
|
+
function W(e, t, r) {
|
|
1051
1070
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1052
1071
|
if (!i.every(Boolean))
|
|
1053
1072
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1054
1073
|
const o = t.length < 2;
|
|
1055
|
-
return
|
|
1074
|
+
return Yr(r, (s, a) => {
|
|
1056
1075
|
let h = !1;
|
|
1057
1076
|
const u = [];
|
|
1058
1077
|
let l = 0, f = w;
|
|
@@ -1060,171 +1079,129 @@ function z(e, t, r) {
|
|
|
1060
1079
|
if (l)
|
|
1061
1080
|
return;
|
|
1062
1081
|
f();
|
|
1063
|
-
const
|
|
1064
|
-
o ? s(
|
|
1082
|
+
const b = t(n ? u[0] : u, s, a);
|
|
1083
|
+
o ? s(b) : f = Xe(b) ? b : w;
|
|
1065
1084
|
}, p = i.map(
|
|
1066
|
-
(
|
|
1067
|
-
|
|
1068
|
-
(
|
|
1069
|
-
u[
|
|
1085
|
+
(b, g) => cr(
|
|
1086
|
+
b,
|
|
1087
|
+
(T) => {
|
|
1088
|
+
u[g] = T, l &= ~(1 << g), h && c();
|
|
1070
1089
|
},
|
|
1071
1090
|
() => {
|
|
1072
|
-
l |= 1 <<
|
|
1091
|
+
l |= 1 << g;
|
|
1073
1092
|
}
|
|
1074
1093
|
)
|
|
1075
1094
|
);
|
|
1076
1095
|
return h = !0, c(), function() {
|
|
1077
|
-
|
|
1096
|
+
te(p), f(), h = !1;
|
|
1078
1097
|
};
|
|
1079
1098
|
});
|
|
1080
1099
|
}
|
|
1081
|
-
function
|
|
1100
|
+
function qr(e) {
|
|
1082
1101
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1083
1102
|
}
|
|
1084
|
-
var
|
|
1085
|
-
return
|
|
1103
|
+
var Kr = function(t) {
|
|
1104
|
+
return en(t) && !tn(t);
|
|
1086
1105
|
};
|
|
1087
|
-
function
|
|
1106
|
+
function en(e) {
|
|
1088
1107
|
return !!e && typeof e == "object";
|
|
1089
1108
|
}
|
|
1090
|
-
function
|
|
1109
|
+
function tn(e) {
|
|
1091
1110
|
var t = Object.prototype.toString.call(e);
|
|
1092
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1111
|
+
return t === "[object RegExp]" || t === "[object Date]" || on(e);
|
|
1093
1112
|
}
|
|
1094
|
-
var
|
|
1095
|
-
function
|
|
1096
|
-
return e.$$typeof ===
|
|
1113
|
+
var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
|
|
1114
|
+
function on(e) {
|
|
1115
|
+
return e.$$typeof === nn;
|
|
1097
1116
|
}
|
|
1098
|
-
function
|
|
1117
|
+
function sn(e) {
|
|
1099
1118
|
return Array.isArray(e) ? [] : {};
|
|
1100
1119
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1120
|
+
function K(e, t) {
|
|
1121
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(sn(e), e, t) : e;
|
|
1103
1122
|
}
|
|
1104
|
-
function
|
|
1123
|
+
function an(e, t, r) {
|
|
1105
1124
|
return e.concat(t).map(function(n) {
|
|
1106
|
-
return
|
|
1125
|
+
return K(n, r);
|
|
1107
1126
|
});
|
|
1108
1127
|
}
|
|
1109
|
-
function
|
|
1128
|
+
function un(e, t) {
|
|
1110
1129
|
if (!t.customMerge)
|
|
1111
|
-
return
|
|
1130
|
+
return j;
|
|
1112
1131
|
var r = t.customMerge(e);
|
|
1113
|
-
return typeof r == "function" ? r :
|
|
1132
|
+
return typeof r == "function" ? r : j;
|
|
1114
1133
|
}
|
|
1115
|
-
function
|
|
1134
|
+
function hn(e) {
|
|
1116
1135
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1117
1136
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1118
1137
|
}) : [];
|
|
1119
1138
|
}
|
|
1120
|
-
function
|
|
1121
|
-
return Object.keys(e).concat(
|
|
1139
|
+
function ft(e) {
|
|
1140
|
+
return Object.keys(e).concat(hn(e));
|
|
1122
1141
|
}
|
|
1123
|
-
function
|
|
1142
|
+
function Dt(e, t) {
|
|
1124
1143
|
try {
|
|
1125
1144
|
return t in e;
|
|
1126
1145
|
} catch (r) {
|
|
1127
1146
|
return !1;
|
|
1128
1147
|
}
|
|
1129
1148
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return
|
|
1149
|
+
function ln(e, t) {
|
|
1150
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1132
1151
|
}
|
|
1133
|
-
function
|
|
1152
|
+
function fn(e, t, r) {
|
|
1134
1153
|
var n = {};
|
|
1135
|
-
return r.isMergeableObject(e) &&
|
|
1136
|
-
n[i] =
|
|
1137
|
-
}),
|
|
1138
|
-
|
|
1154
|
+
return r.isMergeableObject(e) && ft(e).forEach(function(i) {
|
|
1155
|
+
n[i] = K(e[i], r);
|
|
1156
|
+
}), ft(t).forEach(function(i) {
|
|
1157
|
+
ln(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
1139
1158
|
}), n;
|
|
1140
1159
|
}
|
|
1141
|
-
function
|
|
1142
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1160
|
+
function j(e, t, r) {
|
|
1161
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = K;
|
|
1143
1162
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1144
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1163
|
+
return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : K(t, r);
|
|
1145
1164
|
}
|
|
1146
|
-
|
|
1165
|
+
j.all = function(t, r) {
|
|
1147
1166
|
if (!Array.isArray(t))
|
|
1148
1167
|
throw new Error("first argument should be an array");
|
|
1149
1168
|
return t.reduce(function(n, i) {
|
|
1150
|
-
return
|
|
1169
|
+
return j(n, i, r);
|
|
1151
1170
|
}, {});
|
|
1152
1171
|
};
|
|
1153
|
-
var
|
|
1154
|
-
const
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
r.__proto__ = n;
|
|
1158
|
-
} || function(r, n) {
|
|
1159
|
-
for (var i in n)
|
|
1160
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1161
|
-
}, Fe(e, t);
|
|
1162
|
-
};
|
|
1163
|
-
function ye(e, t) {
|
|
1164
|
-
if (typeof t != "function" && t !== null)
|
|
1165
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1166
|
-
Fe(e, t);
|
|
1167
|
-
function r() {
|
|
1168
|
-
this.constructor = e;
|
|
1169
|
-
}
|
|
1170
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1171
|
-
}
|
|
1172
|
-
var B = function() {
|
|
1173
|
-
return B = Object.assign || function(t) {
|
|
1174
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1175
|
-
r = arguments[n];
|
|
1176
|
-
for (var o in r)
|
|
1177
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1178
|
-
}
|
|
1179
|
-
return t;
|
|
1180
|
-
}, B.apply(this, arguments);
|
|
1181
|
-
};
|
|
1182
|
-
function yn(e, t) {
|
|
1183
|
-
var r = {};
|
|
1184
|
-
for (var n in e)
|
|
1185
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1186
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1187
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1188
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1189
|
-
return r;
|
|
1190
|
-
}
|
|
1191
|
-
function He(e, t, r) {
|
|
1192
|
-
if (r || arguments.length === 2)
|
|
1193
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1194
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1195
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1196
|
-
}
|
|
1197
|
-
function Be(e, t) {
|
|
1198
|
-
var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
|
|
1172
|
+
var cn = j, pn = cn;
|
|
1173
|
+
const mn = /* @__PURE__ */ qr(pn);
|
|
1174
|
+
function Se(e, t) {
|
|
1175
|
+
var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : vn;
|
|
1199
1176
|
return i(e, {
|
|
1200
1177
|
cache: r,
|
|
1201
1178
|
serializer: n
|
|
1202
1179
|
});
|
|
1203
1180
|
}
|
|
1204
|
-
function
|
|
1181
|
+
function bn(e) {
|
|
1205
1182
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1206
1183
|
}
|
|
1207
|
-
function
|
|
1208
|
-
var i =
|
|
1184
|
+
function dn(e, t, r, n) {
|
|
1185
|
+
var i = bn(n) ? n : r(n), o = t.get(i);
|
|
1209
1186
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1210
1187
|
}
|
|
1211
|
-
function
|
|
1188
|
+
function Gt(e, t, r) {
|
|
1212
1189
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1213
1190
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1214
1191
|
}
|
|
1215
|
-
function
|
|
1192
|
+
function Ft(e, t, r, n, i) {
|
|
1216
1193
|
return r.bind(t, e, n, i);
|
|
1217
1194
|
}
|
|
1218
|
-
function
|
|
1219
|
-
var r = e.length === 1 ?
|
|
1220
|
-
return
|
|
1195
|
+
function vn(e, t) {
|
|
1196
|
+
var r = e.length === 1 ? dn : Gt;
|
|
1197
|
+
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
1221
1198
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return
|
|
1199
|
+
function gn(e, t) {
|
|
1200
|
+
return Ft(e, this, Gt, t.cache.create(), t.serializer);
|
|
1224
1201
|
}
|
|
1225
|
-
var
|
|
1202
|
+
var yn = function() {
|
|
1226
1203
|
return JSON.stringify(arguments);
|
|
1227
|
-
},
|
|
1204
|
+
}, _n = (
|
|
1228
1205
|
/** @class */
|
|
1229
1206
|
function() {
|
|
1230
1207
|
function e() {
|
|
@@ -1236,71 +1213,61 @@ var Tn = function() {
|
|
|
1236
1213
|
this.cache[t] = r;
|
|
1237
1214
|
}, e;
|
|
1238
1215
|
}()
|
|
1239
|
-
),
|
|
1216
|
+
), En = {
|
|
1240
1217
|
create: function() {
|
|
1241
|
-
return new
|
|
1218
|
+
return new _n();
|
|
1242
1219
|
}
|
|
1243
|
-
},
|
|
1244
|
-
variadic:
|
|
1245
|
-
},
|
|
1246
|
-
return me = Object.assign || function(t) {
|
|
1247
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1248
|
-
r = arguments[n];
|
|
1249
|
-
for (var o in r)
|
|
1250
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1251
|
-
}
|
|
1252
|
-
return t;
|
|
1253
|
-
}, me.apply(this, arguments);
|
|
1254
|
-
};
|
|
1255
|
-
var m;
|
|
1220
|
+
}, we = {
|
|
1221
|
+
variadic: gn
|
|
1222
|
+
}, m;
|
|
1256
1223
|
(function(e) {
|
|
1257
1224
|
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";
|
|
1258
1225
|
})(m || (m = {}));
|
|
1259
|
-
var
|
|
1226
|
+
var _;
|
|
1260
1227
|
(function(e) {
|
|
1261
1228
|
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";
|
|
1262
|
-
})(
|
|
1263
|
-
var
|
|
1229
|
+
})(_ || (_ = {}));
|
|
1230
|
+
var k;
|
|
1264
1231
|
(function(e) {
|
|
1265
1232
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1266
|
-
})(
|
|
1267
|
-
function
|
|
1268
|
-
return e.type ===
|
|
1233
|
+
})(k || (k = {}));
|
|
1234
|
+
function ct(e) {
|
|
1235
|
+
return e.type === _.literal;
|
|
1269
1236
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return e.type ===
|
|
1237
|
+
function xn(e) {
|
|
1238
|
+
return e.type === _.argument;
|
|
1272
1239
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return e.type ===
|
|
1240
|
+
function jt(e) {
|
|
1241
|
+
return e.type === _.number;
|
|
1275
1242
|
}
|
|
1276
|
-
function
|
|
1277
|
-
return e.type ===
|
|
1243
|
+
function kt(e) {
|
|
1244
|
+
return e.type === _.date;
|
|
1278
1245
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return e.type ===
|
|
1246
|
+
function Vt(e) {
|
|
1247
|
+
return e.type === _.time;
|
|
1281
1248
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return e.type ===
|
|
1249
|
+
function Xt(e) {
|
|
1250
|
+
return e.type === _.select;
|
|
1284
1251
|
}
|
|
1285
|
-
function
|
|
1286
|
-
return e.type ===
|
|
1252
|
+
function zt(e) {
|
|
1253
|
+
return e.type === _.plural;
|
|
1287
1254
|
}
|
|
1288
|
-
function
|
|
1289
|
-
return e.type ===
|
|
1255
|
+
function Tn(e) {
|
|
1256
|
+
return e.type === _.pound;
|
|
1290
1257
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return e.type ===
|
|
1258
|
+
function Wt(e) {
|
|
1259
|
+
return e.type === _.tag;
|
|
1293
1260
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1261
|
+
function Zt(e) {
|
|
1262
|
+
return !!(e && typeof e == "object" && e.type === k.number);
|
|
1296
1263
|
}
|
|
1297
|
-
function
|
|
1298
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1264
|
+
function $e(e) {
|
|
1265
|
+
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
1299
1266
|
}
|
|
1300
|
-
var
|
|
1301
|
-
function
|
|
1267
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
1268
|
+
function wn(e) {
|
|
1302
1269
|
var t = {};
|
|
1303
|
-
return e.replace(
|
|
1270
|
+
return e.replace(Sn, function(r) {
|
|
1304
1271
|
var n = r.length;
|
|
1305
1272
|
switch (r[0]) {
|
|
1306
1273
|
case "G":
|
|
@@ -1389,21 +1356,11 @@ function On(e) {
|
|
|
1389
1356
|
return "";
|
|
1390
1357
|
}), t;
|
|
1391
1358
|
}
|
|
1392
|
-
var
|
|
1393
|
-
|
|
1394
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1395
|
-
r = arguments[n];
|
|
1396
|
-
for (var o in r)
|
|
1397
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1398
|
-
}
|
|
1399
|
-
return t;
|
|
1400
|
-
}, _.apply(this, arguments);
|
|
1401
|
-
};
|
|
1402
|
-
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1403
|
-
function Ln(e) {
|
|
1359
|
+
var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1360
|
+
function Bn(e) {
|
|
1404
1361
|
if (e.length === 0)
|
|
1405
1362
|
throw new Error("Number skeleton cannot be empty");
|
|
1406
|
-
for (var t = e.split(
|
|
1363
|
+
for (var t = e.split(Hn).filter(function(c) {
|
|
1407
1364
|
return c.length > 0;
|
|
1408
1365
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1409
1366
|
var o = i[n], s = o.split("/");
|
|
@@ -1418,17 +1375,17 @@ function Ln(e) {
|
|
|
1418
1375
|
}
|
|
1419
1376
|
return r;
|
|
1420
1377
|
}
|
|
1421
|
-
function
|
|
1378
|
+
function An(e) {
|
|
1422
1379
|
return e.replace(/^(.*?)-/, "");
|
|
1423
1380
|
}
|
|
1424
|
-
var
|
|
1425
|
-
function
|
|
1381
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
1382
|
+
function mt(e) {
|
|
1426
1383
|
var t = {};
|
|
1427
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1384
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1428
1385
|
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)), "";
|
|
1429
1386
|
}), t;
|
|
1430
1387
|
}
|
|
1431
|
-
function
|
|
1388
|
+
function qt(e) {
|
|
1432
1389
|
switch (e) {
|
|
1433
1390
|
case "sign-auto":
|
|
1434
1391
|
return {
|
|
@@ -1468,7 +1425,7 @@ function nr(e) {
|
|
|
1468
1425
|
};
|
|
1469
1426
|
}
|
|
1470
1427
|
}
|
|
1471
|
-
function
|
|
1428
|
+
function On(e) {
|
|
1472
1429
|
var t;
|
|
1473
1430
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1474
1431
|
notation: "engineering"
|
|
@@ -1476,17 +1433,17 @@ function Mn(e) {
|
|
|
1476
1433
|
notation: "scientific"
|
|
1477
1434
|
}, e = e.slice(1)), t) {
|
|
1478
1435
|
var r = e.slice(0, 2);
|
|
1479
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1436
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
1480
1437
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1481
1438
|
t.minimumIntegerDigits = e.length;
|
|
1482
1439
|
}
|
|
1483
1440
|
return t;
|
|
1484
1441
|
}
|
|
1485
|
-
function
|
|
1486
|
-
var t = {}, r =
|
|
1442
|
+
function bt(e) {
|
|
1443
|
+
var t = {}, r = qt(e);
|
|
1487
1444
|
return r || t;
|
|
1488
1445
|
}
|
|
1489
|
-
function
|
|
1446
|
+
function In(e) {
|
|
1490
1447
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1491
1448
|
var i = n[r];
|
|
1492
1449
|
switch (i.stem) {
|
|
@@ -1510,7 +1467,7 @@ function $n(e) {
|
|
|
1510
1467
|
continue;
|
|
1511
1468
|
case "measure-unit":
|
|
1512
1469
|
case "unit":
|
|
1513
|
-
t.style = "unit", t.unit =
|
|
1470
|
+
t.style = "unit", t.unit = An(i.options[0]);
|
|
1514
1471
|
continue;
|
|
1515
1472
|
case "compact-short":
|
|
1516
1473
|
case "K":
|
|
@@ -1521,13 +1478,13 @@ function $n(e) {
|
|
|
1521
1478
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1522
1479
|
continue;
|
|
1523
1480
|
case "scientific":
|
|
1524
|
-
t =
|
|
1525
|
-
return
|
|
1481
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1482
|
+
return y(y({}, h), bt(u));
|
|
1526
1483
|
}, {}));
|
|
1527
1484
|
continue;
|
|
1528
1485
|
case "engineering":
|
|
1529
|
-
t =
|
|
1530
|
-
return
|
|
1486
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1487
|
+
return y(y({}, h), bt(u));
|
|
1531
1488
|
}, {}));
|
|
1532
1489
|
continue;
|
|
1533
1490
|
case "notation-simple":
|
|
@@ -1572,7 +1529,7 @@ function $n(e) {
|
|
|
1572
1529
|
case "integer-width":
|
|
1573
1530
|
if (i.options.length > 1)
|
|
1574
1531
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1575
|
-
i.options[0].replace(
|
|
1532
|
+
i.options[0].replace(Pn, function(h, u, l, f, c, p) {
|
|
1576
1533
|
if (u)
|
|
1577
1534
|
t.minimumIntegerDigits = l.length;
|
|
1578
1535
|
else {
|
|
@@ -1585,28 +1542,28 @@ function $n(e) {
|
|
|
1585
1542
|
});
|
|
1586
1543
|
continue;
|
|
1587
1544
|
}
|
|
1588
|
-
if (
|
|
1545
|
+
if (Yt.test(i.stem)) {
|
|
1589
1546
|
t.minimumIntegerDigits = i.stem.length;
|
|
1590
1547
|
continue;
|
|
1591
1548
|
}
|
|
1592
|
-
if (
|
|
1549
|
+
if (pt.test(i.stem)) {
|
|
1593
1550
|
if (i.options.length > 1)
|
|
1594
1551
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1595
|
-
i.stem.replace(
|
|
1552
|
+
i.stem.replace(pt, function(h, u, l, f, c, p) {
|
|
1596
1553
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1597
1554
|
});
|
|
1598
1555
|
var o = i.options[0];
|
|
1599
|
-
o === "w" ? t =
|
|
1556
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), mt(o)));
|
|
1600
1557
|
continue;
|
|
1601
1558
|
}
|
|
1602
|
-
if (
|
|
1603
|
-
t =
|
|
1559
|
+
if (Jt.test(i.stem)) {
|
|
1560
|
+
t = y(y({}, t), mt(i.stem));
|
|
1604
1561
|
continue;
|
|
1605
1562
|
}
|
|
1606
|
-
var s =
|
|
1607
|
-
s && (t =
|
|
1608
|
-
var a =
|
|
1609
|
-
a && (t =
|
|
1563
|
+
var s = qt(i.stem);
|
|
1564
|
+
s && (t = y(y({}, t), s));
|
|
1565
|
+
var a = On(i.stem);
|
|
1566
|
+
a && (t = y(y({}, t), a));
|
|
1610
1567
|
}
|
|
1611
1568
|
return t;
|
|
1612
1569
|
}
|
|
@@ -3025,13 +2982,13 @@ var he = {
|
|
|
3025
2982
|
"h"
|
|
3026
2983
|
]
|
|
3027
2984
|
};
|
|
3028
|
-
function
|
|
2985
|
+
function Ln(e, t) {
|
|
3029
2986
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3030
2987
|
var i = e.charAt(n);
|
|
3031
2988
|
if (i === "j") {
|
|
3032
2989
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3033
2990
|
o++, n++;
|
|
3034
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2991
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
|
|
3035
2992
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3036
2993
|
r += h;
|
|
3037
2994
|
for (; s-- > 0; )
|
|
@@ -3041,7 +2998,7 @@ function Rn(e, t) {
|
|
|
3041
2998
|
}
|
|
3042
2999
|
return r;
|
|
3043
3000
|
}
|
|
3044
|
-
function
|
|
3001
|
+
function Nn(e) {
|
|
3045
3002
|
var t = e.hourCycle;
|
|
3046
3003
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3047
3004
|
e.hourCycles && // @ts-ignore
|
|
@@ -3063,20 +3020,20 @@ function Un(e) {
|
|
|
3063
3020
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
3064
3021
|
return i[0];
|
|
3065
3022
|
}
|
|
3066
|
-
var
|
|
3067
|
-
function
|
|
3023
|
+
var He, Cn = new RegExp("^".concat(Qt.source, "*")), Mn = new RegExp("".concat(Qt.source, "*$"));
|
|
3024
|
+
function d(e, t) {
|
|
3068
3025
|
return { start: e, end: t };
|
|
3069
3026
|
}
|
|
3070
|
-
var
|
|
3027
|
+
var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
|
|
3071
3028
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3072
|
-
},
|
|
3029
|
+
}, Ue = !0;
|
|
3073
3030
|
try {
|
|
3074
|
-
var
|
|
3075
|
-
|
|
3031
|
+
var Vn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3032
|
+
Ue = ((He = Vn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
3076
3033
|
} catch (e) {
|
|
3077
|
-
|
|
3034
|
+
Ue = !1;
|
|
3078
3035
|
}
|
|
3079
|
-
var
|
|
3036
|
+
var dt = Rn ? (
|
|
3080
3037
|
// Native
|
|
3081
3038
|
function(t, r, n) {
|
|
3082
3039
|
return t.startsWith(r, n);
|
|
@@ -3086,7 +3043,7 @@ var Et = Fn ? (
|
|
|
3086
3043
|
function(t, r, n) {
|
|
3087
3044
|
return t.slice(n, n + r.length) === r;
|
|
3088
3045
|
}
|
|
3089
|
-
),
|
|
3046
|
+
), De = $n ? String.fromCodePoint : (
|
|
3090
3047
|
// IE11
|
|
3091
3048
|
function() {
|
|
3092
3049
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3098,9 +3055,9 @@ var Et = Fn ? (
|
|
|
3098
3055
|
}
|
|
3099
3056
|
return n;
|
|
3100
3057
|
}
|
|
3101
|
-
),
|
|
3058
|
+
), vt = (
|
|
3102
3059
|
// native
|
|
3103
|
-
|
|
3060
|
+
Un ? Object.fromEntries : (
|
|
3104
3061
|
// Ponyfill
|
|
3105
3062
|
function(t) {
|
|
3106
3063
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3110,7 +3067,7 @@ var Et = Fn ? (
|
|
|
3110
3067
|
return r;
|
|
3111
3068
|
}
|
|
3112
3069
|
)
|
|
3113
|
-
),
|
|
3070
|
+
), Kt = Dn ? (
|
|
3114
3071
|
// Native
|
|
3115
3072
|
function(t, r) {
|
|
3116
3073
|
return t.codePointAt(r);
|
|
@@ -3124,7 +3081,7 @@ var Et = Fn ? (
|
|
|
3124
3081
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3125
3082
|
}
|
|
3126
3083
|
}
|
|
3127
|
-
),
|
|
3084
|
+
), Xn = Gn ? (
|
|
3128
3085
|
// Native
|
|
3129
3086
|
function(t) {
|
|
3130
3087
|
return t.trimStart();
|
|
@@ -3132,9 +3089,9 @@ var Et = Fn ? (
|
|
|
3132
3089
|
) : (
|
|
3133
3090
|
// Ponyfill
|
|
3134
3091
|
function(t) {
|
|
3135
|
-
return t.replace(
|
|
3092
|
+
return t.replace(Cn, "");
|
|
3136
3093
|
}
|
|
3137
|
-
),
|
|
3094
|
+
), zn = Fn ? (
|
|
3138
3095
|
// Native
|
|
3139
3096
|
function(t) {
|
|
3140
3097
|
return t.trimEnd();
|
|
@@ -3142,32 +3099,32 @@ var Et = Fn ? (
|
|
|
3142
3099
|
) : (
|
|
3143
3100
|
// Ponyfill
|
|
3144
3101
|
function(t) {
|
|
3145
|
-
return t.replace(
|
|
3102
|
+
return t.replace(Mn, "");
|
|
3146
3103
|
}
|
|
3147
3104
|
);
|
|
3148
|
-
function
|
|
3105
|
+
function er(e, t) {
|
|
3149
3106
|
return new RegExp(e, t);
|
|
3150
3107
|
}
|
|
3151
|
-
var
|
|
3152
|
-
if (
|
|
3153
|
-
var
|
|
3154
|
-
|
|
3108
|
+
var Ge;
|
|
3109
|
+
if (Ue) {
|
|
3110
|
+
var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3111
|
+
Ge = function(t, r) {
|
|
3155
3112
|
var n;
|
|
3156
|
-
|
|
3157
|
-
var i =
|
|
3113
|
+
gt.lastIndex = r;
|
|
3114
|
+
var i = gt.exec(t);
|
|
3158
3115
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3159
3116
|
};
|
|
3160
3117
|
} else
|
|
3161
|
-
|
|
3118
|
+
Ge = function(t, r) {
|
|
3162
3119
|
for (var n = []; ; ) {
|
|
3163
|
-
var i =
|
|
3164
|
-
if (i === void 0 ||
|
|
3120
|
+
var i = Kt(t, r);
|
|
3121
|
+
if (i === void 0 || tr(i) || Jn(i))
|
|
3165
3122
|
break;
|
|
3166
3123
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3167
3124
|
}
|
|
3168
|
-
return
|
|
3125
|
+
return De.apply(void 0, n);
|
|
3169
3126
|
};
|
|
3170
|
-
var
|
|
3127
|
+
var Wn = (
|
|
3171
3128
|
/** @class */
|
|
3172
3129
|
function() {
|
|
3173
3130
|
function e(t, r) {
|
|
@@ -3191,14 +3148,14 @@ var qn = (
|
|
|
3191
3148
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3192
3149
|
var a = this.clonePosition();
|
|
3193
3150
|
this.bump(), i.push({
|
|
3194
|
-
type:
|
|
3195
|
-
location:
|
|
3151
|
+
type: _.pound,
|
|
3152
|
+
location: d(a, this.clonePosition())
|
|
3196
3153
|
});
|
|
3197
3154
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3198
3155
|
if (n)
|
|
3199
3156
|
break;
|
|
3200
|
-
return this.error(m.UNMATCHED_CLOSING_TAG,
|
|
3201
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3157
|
+
return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
3158
|
+
} else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
3202
3159
|
var s = this.parseTag(t, r);
|
|
3203
3160
|
if (s.err)
|
|
3204
3161
|
return s;
|
|
@@ -3219,9 +3176,9 @@ var qn = (
|
|
|
3219
3176
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3220
3177
|
return {
|
|
3221
3178
|
val: {
|
|
3222
|
-
type:
|
|
3179
|
+
type: _.literal,
|
|
3223
3180
|
value: "<".concat(i, "/>"),
|
|
3224
|
-
location:
|
|
3181
|
+
location: d(n, this.clonePosition())
|
|
3225
3182
|
},
|
|
3226
3183
|
err: null
|
|
3227
3184
|
};
|
|
@@ -3231,25 +3188,25 @@ var qn = (
|
|
|
3231
3188
|
return o;
|
|
3232
3189
|
var s = o.val, a = this.clonePosition();
|
|
3233
3190
|
if (this.bumpIf("</")) {
|
|
3234
|
-
if (this.isEOF() || !
|
|
3235
|
-
return this.error(m.INVALID_TAG,
|
|
3191
|
+
if (this.isEOF() || !Fe(this.char()))
|
|
3192
|
+
return this.error(m.INVALID_TAG, d(a, this.clonePosition()));
|
|
3236
3193
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3237
|
-
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG,
|
|
3194
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3238
3195
|
val: {
|
|
3239
|
-
type:
|
|
3196
|
+
type: _.tag,
|
|
3240
3197
|
value: i,
|
|
3241
3198
|
children: s,
|
|
3242
|
-
location:
|
|
3199
|
+
location: d(n, this.clonePosition())
|
|
3243
3200
|
},
|
|
3244
3201
|
err: null
|
|
3245
|
-
} : this.error(m.INVALID_TAG,
|
|
3202
|
+
} : this.error(m.INVALID_TAG, d(a, this.clonePosition())));
|
|
3246
3203
|
} else
|
|
3247
|
-
return this.error(m.UNCLOSED_TAG,
|
|
3204
|
+
return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
|
|
3248
3205
|
} else
|
|
3249
|
-
return this.error(m.INVALID_TAG,
|
|
3206
|
+
return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
|
|
3250
3207
|
}, e.prototype.parseTagName = function() {
|
|
3251
3208
|
var t = this.offset();
|
|
3252
|
-
for (this.bump(); !this.isEOF() &&
|
|
3209
|
+
for (this.bump(); !this.isEOF() && Qn(this.char()); )
|
|
3253
3210
|
this.bump();
|
|
3254
3211
|
return this.message.slice(t, this.offset());
|
|
3255
3212
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3271,14 +3228,14 @@ var qn = (
|
|
|
3271
3228
|
}
|
|
3272
3229
|
break;
|
|
3273
3230
|
}
|
|
3274
|
-
var h =
|
|
3231
|
+
var h = d(n, this.clonePosition());
|
|
3275
3232
|
return {
|
|
3276
|
-
val: { type:
|
|
3233
|
+
val: { type: _.literal, value: i, location: h },
|
|
3277
3234
|
err: null
|
|
3278
3235
|
};
|
|
3279
3236
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3280
3237
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3281
|
-
!
|
|
3238
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3282
3239
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3283
3240
|
if (this.isEOF() || this.char() !== 39)
|
|
3284
3241
|
return null;
|
|
@@ -3312,49 +3269,49 @@ var qn = (
|
|
|
3312
3269
|
r.push(n);
|
|
3313
3270
|
this.bump();
|
|
3314
3271
|
}
|
|
3315
|
-
return
|
|
3272
|
+
return De.apply(void 0, r);
|
|
3316
3273
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3317
3274
|
if (this.isEOF())
|
|
3318
3275
|
return null;
|
|
3319
3276
|
var n = this.char();
|
|
3320
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3277
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
|
|
3321
3278
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3322
3279
|
var n = this.clonePosition();
|
|
3323
3280
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3324
|
-
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3281
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3325
3282
|
if (this.char() === 125)
|
|
3326
|
-
return this.bump(), this.error(m.EMPTY_ARGUMENT,
|
|
3283
|
+
return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
|
|
3327
3284
|
var i = this.parseIdentifierIfPossible().value;
|
|
3328
3285
|
if (!i)
|
|
3329
|
-
return this.error(m.MALFORMED_ARGUMENT,
|
|
3286
|
+
return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3330
3287
|
if (this.bumpSpace(), this.isEOF())
|
|
3331
|
-
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3288
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3332
3289
|
switch (this.char()) {
|
|
3333
3290
|
case 125:
|
|
3334
3291
|
return this.bump(), {
|
|
3335
3292
|
val: {
|
|
3336
|
-
type:
|
|
3293
|
+
type: _.argument,
|
|
3337
3294
|
// value does not include the opening and closing braces.
|
|
3338
3295
|
value: i,
|
|
3339
|
-
location:
|
|
3296
|
+
location: d(n, this.clonePosition())
|
|
3340
3297
|
},
|
|
3341
3298
|
err: null
|
|
3342
3299
|
};
|
|
3343
3300
|
case 44:
|
|
3344
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3301
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3345
3302
|
default:
|
|
3346
|
-
return this.error(m.MALFORMED_ARGUMENT,
|
|
3303
|
+
return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3347
3304
|
}
|
|
3348
3305
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3349
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3306
|
+
var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
|
|
3350
3307
|
this.bumpTo(i);
|
|
3351
|
-
var o = this.clonePosition(), s =
|
|
3308
|
+
var o = this.clonePosition(), s = d(t, o);
|
|
3352
3309
|
return { value: n, location: s };
|
|
3353
3310
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3354
3311
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3355
3312
|
switch (a) {
|
|
3356
3313
|
case "":
|
|
3357
|
-
return this.error(m.EXPECT_ARGUMENT_TYPE,
|
|
3314
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, d(s, h));
|
|
3358
3315
|
case "number":
|
|
3359
3316
|
case "date":
|
|
3360
3317
|
case "time": {
|
|
@@ -3365,46 +3322,46 @@ var qn = (
|
|
|
3365
3322
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3366
3323
|
if (f.err)
|
|
3367
3324
|
return f;
|
|
3368
|
-
var c =
|
|
3325
|
+
var c = zn(f.val);
|
|
3369
3326
|
if (c.length === 0)
|
|
3370
|
-
return this.error(m.EXPECT_ARGUMENT_STYLE,
|
|
3371
|
-
var p =
|
|
3327
|
+
return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3328
|
+
var p = d(l, this.clonePosition());
|
|
3372
3329
|
u = { style: c, styleLocation: p };
|
|
3373
3330
|
}
|
|
3374
|
-
var
|
|
3375
|
-
if (
|
|
3376
|
-
return
|
|
3377
|
-
var
|
|
3378
|
-
if (u &&
|
|
3379
|
-
var
|
|
3331
|
+
var b = this.tryParseArgumentClose(i);
|
|
3332
|
+
if (b.err)
|
|
3333
|
+
return b;
|
|
3334
|
+
var g = d(i, this.clonePosition());
|
|
3335
|
+
if (u && dt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3336
|
+
var T = Xn(u.style.slice(2));
|
|
3380
3337
|
if (a === "number") {
|
|
3381
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3338
|
+
var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
3382
3339
|
return f.err ? f : {
|
|
3383
|
-
val: { type:
|
|
3340
|
+
val: { type: _.number, value: n, location: g, style: f.val },
|
|
3384
3341
|
err: null
|
|
3385
3342
|
};
|
|
3386
3343
|
} else {
|
|
3387
|
-
if (
|
|
3388
|
-
return this.error(m.EXPECT_DATE_TIME_SKELETON,
|
|
3389
|
-
var L =
|
|
3390
|
-
this.locale && (L =
|
|
3344
|
+
if (T.length === 0)
|
|
3345
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
|
|
3346
|
+
var L = T;
|
|
3347
|
+
this.locale && (L = Ln(T, this.locale));
|
|
3391
3348
|
var c = {
|
|
3392
|
-
type:
|
|
3349
|
+
type: k.dateTime,
|
|
3393
3350
|
pattern: L,
|
|
3394
3351
|
location: u.styleLocation,
|
|
3395
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3396
|
-
},
|
|
3352
|
+
parsedOptions: this.shouldParseSkeletons ? wn(L) : {}
|
|
3353
|
+
}, v = a === "date" ? _.date : _.time;
|
|
3397
3354
|
return {
|
|
3398
|
-
val: { type:
|
|
3355
|
+
val: { type: v, value: n, location: g, style: c },
|
|
3399
3356
|
err: null
|
|
3400
3357
|
};
|
|
3401
3358
|
}
|
|
3402
3359
|
}
|
|
3403
3360
|
return {
|
|
3404
3361
|
val: {
|
|
3405
|
-
type: a === "number" ?
|
|
3362
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3406
3363
|
value: n,
|
|
3407
|
-
location:
|
|
3364
|
+
location: g,
|
|
3408
3365
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3409
3366
|
},
|
|
3410
3367
|
err: null
|
|
@@ -3415,50 +3372,50 @@ var qn = (
|
|
|
3415
3372
|
case "select": {
|
|
3416
3373
|
var H = this.clonePosition();
|
|
3417
3374
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3418
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3375
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(H, y({}, H)));
|
|
3419
3376
|
this.bumpSpace();
|
|
3420
|
-
var
|
|
3421
|
-
if (a !== "select" &&
|
|
3377
|
+
var Q = this.parseIdentifierIfPossible(), N = 0;
|
|
3378
|
+
if (a !== "select" && Q.value === "offset") {
|
|
3422
3379
|
if (!this.bumpIf(":"))
|
|
3423
|
-
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3380
|
+
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
3424
3381
|
this.bumpSpace();
|
|
3425
3382
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3426
3383
|
if (f.err)
|
|
3427
3384
|
return f;
|
|
3428
|
-
this.bumpSpace(),
|
|
3385
|
+
this.bumpSpace(), Q = this.parseIdentifierIfPossible(), N = f.val;
|
|
3429
3386
|
}
|
|
3430
|
-
var oe = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3387
|
+
var oe = this.tryParsePluralOrSelectOptions(t, a, r, Q);
|
|
3431
3388
|
if (oe.err)
|
|
3432
3389
|
return oe;
|
|
3433
|
-
var
|
|
3434
|
-
if (
|
|
3435
|
-
return
|
|
3436
|
-
var
|
|
3390
|
+
var b = this.tryParseArgumentClose(i);
|
|
3391
|
+
if (b.err)
|
|
3392
|
+
return b;
|
|
3393
|
+
var Qe = d(i, this.clonePosition());
|
|
3437
3394
|
return a === "select" ? {
|
|
3438
3395
|
val: {
|
|
3439
|
-
type:
|
|
3396
|
+
type: _.select,
|
|
3440
3397
|
value: n,
|
|
3441
|
-
options:
|
|
3442
|
-
location:
|
|
3398
|
+
options: vt(oe.val),
|
|
3399
|
+
location: Qe
|
|
3443
3400
|
},
|
|
3444
3401
|
err: null
|
|
3445
3402
|
} : {
|
|
3446
3403
|
val: {
|
|
3447
|
-
type:
|
|
3404
|
+
type: _.plural,
|
|
3448
3405
|
value: n,
|
|
3449
|
-
options:
|
|
3406
|
+
options: vt(oe.val),
|
|
3450
3407
|
offset: N,
|
|
3451
3408
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3452
|
-
location:
|
|
3409
|
+
location: Qe
|
|
3453
3410
|
},
|
|
3454
3411
|
err: null
|
|
3455
3412
|
};
|
|
3456
3413
|
}
|
|
3457
3414
|
default:
|
|
3458
|
-
return this.error(m.INVALID_ARGUMENT_TYPE,
|
|
3415
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, d(s, h));
|
|
3459
3416
|
}
|
|
3460
3417
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3461
|
-
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3418
|
+
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3462
3419
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3463
3420
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3464
3421
|
var n = this.char();
|
|
@@ -3467,7 +3424,7 @@ var qn = (
|
|
|
3467
3424
|
this.bump();
|
|
3468
3425
|
var i = this.clonePosition();
|
|
3469
3426
|
if (!this.bumpUntil("'"))
|
|
3470
|
-
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3427
|
+
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
|
|
3471
3428
|
this.bump();
|
|
3472
3429
|
break;
|
|
3473
3430
|
}
|
|
@@ -3497,16 +3454,16 @@ var qn = (
|
|
|
3497
3454
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3498
3455
|
var n = [];
|
|
3499
3456
|
try {
|
|
3500
|
-
n =
|
|
3457
|
+
n = Bn(t);
|
|
3501
3458
|
} catch (i) {
|
|
3502
3459
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3503
3460
|
}
|
|
3504
3461
|
return {
|
|
3505
3462
|
val: {
|
|
3506
|
-
type:
|
|
3463
|
+
type: k.number,
|
|
3507
3464
|
tokens: n,
|
|
3508
3465
|
location: r,
|
|
3509
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3466
|
+
parsedOptions: this.shouldParseSkeletons ? In(n) : {}
|
|
3510
3467
|
},
|
|
3511
3468
|
err: null
|
|
3512
3469
|
};
|
|
@@ -3518,7 +3475,7 @@ var qn = (
|
|
|
3518
3475
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3519
3476
|
if (c.err)
|
|
3520
3477
|
return c;
|
|
3521
|
-
l =
|
|
3478
|
+
l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3522
3479
|
} else
|
|
3523
3480
|
break;
|
|
3524
3481
|
}
|
|
@@ -3527,22 +3484,22 @@ var qn = (
|
|
|
3527
3484
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3528
3485
|
var p = this.clonePosition();
|
|
3529
3486
|
if (!this.bumpIf("{"))
|
|
3530
|
-
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3531
|
-
var
|
|
3532
|
-
if (
|
|
3533
|
-
return
|
|
3534
|
-
var
|
|
3535
|
-
if (
|
|
3536
|
-
return
|
|
3487
|
+
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3488
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3489
|
+
if (b.err)
|
|
3490
|
+
return b;
|
|
3491
|
+
var g = this.tryParseArgumentClose(p);
|
|
3492
|
+
if (g.err)
|
|
3493
|
+
return g;
|
|
3537
3494
|
a.push([
|
|
3538
3495
|
u,
|
|
3539
3496
|
{
|
|
3540
|
-
value:
|
|
3541
|
-
location:
|
|
3497
|
+
value: b.val,
|
|
3498
|
+
location: d(p, this.clonePosition())
|
|
3542
3499
|
}
|
|
3543
3500
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3544
3501
|
}
|
|
3545
|
-
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3502
|
+
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3546
3503
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3547
3504
|
var n = 1, i = this.clonePosition();
|
|
3548
3505
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3553,8 +3510,8 @@ var qn = (
|
|
|
3553
3510
|
else
|
|
3554
3511
|
break;
|
|
3555
3512
|
}
|
|
3556
|
-
var h =
|
|
3557
|
-
return o ? (s *= n,
|
|
3513
|
+
var h = d(i, this.clonePosition());
|
|
3514
|
+
return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3558
3515
|
}, e.prototype.offset = function() {
|
|
3559
3516
|
return this.position.offset;
|
|
3560
3517
|
}, e.prototype.isEOF = function() {
|
|
@@ -3569,7 +3526,7 @@ var qn = (
|
|
|
3569
3526
|
var t = this.position.offset;
|
|
3570
3527
|
if (t >= this.message.length)
|
|
3571
3528
|
throw Error("out of bound");
|
|
3572
|
-
var r =
|
|
3529
|
+
var r = Kt(this.message, t);
|
|
3573
3530
|
if (r === void 0)
|
|
3574
3531
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3575
3532
|
return r;
|
|
@@ -3588,7 +3545,7 @@ var qn = (
|
|
|
3588
3545
|
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);
|
|
3589
3546
|
}
|
|
3590
3547
|
}, e.prototype.bumpIf = function(t) {
|
|
3591
|
-
if (
|
|
3548
|
+
if (dt(this.message, t, this.offset())) {
|
|
3592
3549
|
for (var r = 0; r < t.length; r++)
|
|
3593
3550
|
this.bump();
|
|
3594
3551
|
return !0;
|
|
@@ -3610,7 +3567,7 @@ var qn = (
|
|
|
3610
3567
|
break;
|
|
3611
3568
|
}
|
|
3612
3569
|
}, e.prototype.bumpSpace = function() {
|
|
3613
|
-
for (; !this.isEOF() &&
|
|
3570
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3614
3571
|
this.bump();
|
|
3615
3572
|
}, e.prototype.peek = function() {
|
|
3616
3573
|
if (this.isEOF())
|
|
@@ -3620,47 +3577,47 @@ var qn = (
|
|
|
3620
3577
|
}, e;
|
|
3621
3578
|
}()
|
|
3622
3579
|
);
|
|
3623
|
-
function
|
|
3580
|
+
function Fe(e) {
|
|
3624
3581
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3625
3582
|
}
|
|
3626
|
-
function
|
|
3627
|
-
return
|
|
3583
|
+
function Zn(e) {
|
|
3584
|
+
return Fe(e) || e === 47;
|
|
3628
3585
|
}
|
|
3629
|
-
function
|
|
3586
|
+
function Qn(e) {
|
|
3630
3587
|
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;
|
|
3631
3588
|
}
|
|
3632
|
-
function
|
|
3589
|
+
function tr(e) {
|
|
3633
3590
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3634
3591
|
}
|
|
3635
|
-
function
|
|
3592
|
+
function Jn(e) {
|
|
3636
3593
|
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;
|
|
3637
3594
|
}
|
|
3638
|
-
function
|
|
3595
|
+
function je(e) {
|
|
3639
3596
|
e.forEach(function(t) {
|
|
3640
|
-
if (delete t.location,
|
|
3597
|
+
if (delete t.location, Xt(t) || zt(t))
|
|
3641
3598
|
for (var r in t.options)
|
|
3642
|
-
delete t.options[r].location,
|
|
3599
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3643
3600
|
else
|
|
3644
|
-
|
|
3601
|
+
jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && $e(t.style) ? delete t.style.location : Wt(t) && je(t.children);
|
|
3645
3602
|
});
|
|
3646
3603
|
}
|
|
3647
|
-
function
|
|
3648
|
-
t === void 0 && (t = {}), t =
|
|
3649
|
-
var r = new
|
|
3604
|
+
function Yn(e, t) {
|
|
3605
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3606
|
+
var r = new Wn(e, t).parse();
|
|
3650
3607
|
if (r.err) {
|
|
3651
3608
|
var n = SyntaxError(m[r.err.kind]);
|
|
3652
3609
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3653
3610
|
}
|
|
3654
|
-
return t != null && t.captureLocation ||
|
|
3611
|
+
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3655
3612
|
}
|
|
3656
|
-
var
|
|
3613
|
+
var V;
|
|
3657
3614
|
(function(e) {
|
|
3658
3615
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3659
|
-
})(
|
|
3660
|
-
var
|
|
3616
|
+
})(V || (V = {}));
|
|
3617
|
+
var ge = (
|
|
3661
3618
|
/** @class */
|
|
3662
3619
|
function(e) {
|
|
3663
|
-
|
|
3620
|
+
A(t, e);
|
|
3664
3621
|
function t(r, n, i) {
|
|
3665
3622
|
var o = e.call(this, r) || this;
|
|
3666
3623
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3669,48 +3626,48 @@ var _e = (
|
|
|
3669
3626
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3670
3627
|
}, t;
|
|
3671
3628
|
}(Error)
|
|
3672
|
-
),
|
|
3629
|
+
), yt = (
|
|
3673
3630
|
/** @class */
|
|
3674
3631
|
function(e) {
|
|
3675
|
-
|
|
3632
|
+
A(t, e);
|
|
3676
3633
|
function t(r, n, i, o) {
|
|
3677
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3634
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
|
|
3678
3635
|
}
|
|
3679
3636
|
return t;
|
|
3680
|
-
}(
|
|
3681
|
-
),
|
|
3637
|
+
}(ge)
|
|
3638
|
+
), qn = (
|
|
3682
3639
|
/** @class */
|
|
3683
3640
|
function(e) {
|
|
3684
|
-
|
|
3641
|
+
A(t, e);
|
|
3685
3642
|
function t(r, n, i) {
|
|
3686
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3643
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
|
3687
3644
|
}
|
|
3688
3645
|
return t;
|
|
3689
|
-
}(
|
|
3690
|
-
),
|
|
3646
|
+
}(ge)
|
|
3647
|
+
), Kn = (
|
|
3691
3648
|
/** @class */
|
|
3692
3649
|
function(e) {
|
|
3693
|
-
|
|
3650
|
+
A(t, e);
|
|
3694
3651
|
function t(r, n) {
|
|
3695
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3652
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
|
3696
3653
|
}
|
|
3697
3654
|
return t;
|
|
3698
|
-
}(
|
|
3655
|
+
}(ge)
|
|
3699
3656
|
), E;
|
|
3700
3657
|
(function(e) {
|
|
3701
3658
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3702
3659
|
})(E || (E = {}));
|
|
3703
|
-
function
|
|
3660
|
+
function ei(e) {
|
|
3704
3661
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3705
3662
|
var n = t[t.length - 1];
|
|
3706
3663
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3707
3664
|
}, []);
|
|
3708
3665
|
}
|
|
3709
|
-
function
|
|
3666
|
+
function ti(e) {
|
|
3710
3667
|
return typeof e == "function";
|
|
3711
3668
|
}
|
|
3712
3669
|
function ce(e, t, r, n, i, o, s) {
|
|
3713
|
-
if (e.length === 1 &&
|
|
3670
|
+
if (e.length === 1 && ct(e[0]))
|
|
3714
3671
|
return [
|
|
3715
3672
|
{
|
|
3716
3673
|
type: E.literal,
|
|
@@ -3719,14 +3676,14 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3719
3676
|
];
|
|
3720
3677
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3721
3678
|
var l = u[h];
|
|
3722
|
-
if (
|
|
3679
|
+
if (ct(l)) {
|
|
3723
3680
|
a.push({
|
|
3724
3681
|
type: E.literal,
|
|
3725
3682
|
value: l.value
|
|
3726
3683
|
});
|
|
3727
3684
|
continue;
|
|
3728
3685
|
}
|
|
3729
|
-
if (
|
|
3686
|
+
if (Tn(l)) {
|
|
3730
3687
|
typeof o == "number" && a.push({
|
|
3731
3688
|
type: E.literal,
|
|
3732
3689
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3735,89 +3692,89 @@ function ce(e, t, r, n, i, o, s) {
|
|
|
3735
3692
|
}
|
|
3736
3693
|
var f = l.value;
|
|
3737
3694
|
if (!(i && f in i))
|
|
3738
|
-
throw new
|
|
3695
|
+
throw new Kn(f, s);
|
|
3739
3696
|
var c = i[f];
|
|
3740
|
-
if (
|
|
3697
|
+
if (xn(l)) {
|
|
3741
3698
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3742
3699
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3743
3700
|
value: c
|
|
3744
3701
|
});
|
|
3745
3702
|
continue;
|
|
3746
3703
|
}
|
|
3747
|
-
if (
|
|
3748
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3704
|
+
if (kt(l)) {
|
|
3705
|
+
var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
|
|
3749
3706
|
a.push({
|
|
3750
3707
|
type: E.literal,
|
|
3751
3708
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3752
3709
|
});
|
|
3753
3710
|
continue;
|
|
3754
3711
|
}
|
|
3755
|
-
if (
|
|
3756
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3712
|
+
if (Vt(l)) {
|
|
3713
|
+
var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3757
3714
|
a.push({
|
|
3758
3715
|
type: E.literal,
|
|
3759
3716
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3760
3717
|
});
|
|
3761
3718
|
continue;
|
|
3762
3719
|
}
|
|
3763
|
-
if (
|
|
3764
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3720
|
+
if (jt(l)) {
|
|
3721
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3765
3722
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3766
3723
|
type: E.literal,
|
|
3767
3724
|
value: r.getNumberFormat(t, p).format(c)
|
|
3768
3725
|
});
|
|
3769
3726
|
continue;
|
|
3770
3727
|
}
|
|
3771
|
-
if (
|
|
3772
|
-
var
|
|
3773
|
-
if (!
|
|
3774
|
-
throw new
|
|
3775
|
-
var L = ce(
|
|
3728
|
+
if (Wt(l)) {
|
|
3729
|
+
var b = l.children, g = l.value, T = i[g];
|
|
3730
|
+
if (!ti(T))
|
|
3731
|
+
throw new qn(g, "function", s);
|
|
3732
|
+
var L = ce(b, t, r, n, i, o), v = T(L.map(function(N) {
|
|
3776
3733
|
return N.value;
|
|
3777
3734
|
}));
|
|
3778
|
-
Array.isArray(
|
|
3735
|
+
Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(N) {
|
|
3779
3736
|
return {
|
|
3780
3737
|
type: typeof N == "string" ? E.literal : E.object,
|
|
3781
3738
|
value: N
|
|
3782
3739
|
};
|
|
3783
3740
|
}));
|
|
3784
3741
|
}
|
|
3785
|
-
if (
|
|
3742
|
+
if (Xt(l)) {
|
|
3786
3743
|
var H = l.options[c] || l.options.other;
|
|
3787
3744
|
if (!H)
|
|
3788
|
-
throw new
|
|
3745
|
+
throw new yt(l.value, c, Object.keys(l.options), s);
|
|
3789
3746
|
a.push.apply(a, ce(H.value, t, r, n, i));
|
|
3790
3747
|
continue;
|
|
3791
3748
|
}
|
|
3792
|
-
if (
|
|
3749
|
+
if (zt(l)) {
|
|
3793
3750
|
var H = l.options["=".concat(c)];
|
|
3794
3751
|
if (!H) {
|
|
3795
3752
|
if (!Intl.PluralRules)
|
|
3796
|
-
throw new
|
|
3753
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3797
3754
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3798
|
-
`,
|
|
3799
|
-
var
|
|
3800
|
-
H = l.options[
|
|
3755
|
+
`, V.MISSING_INTL_API, s);
|
|
3756
|
+
var Q = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3757
|
+
H = l.options[Q] || l.options.other;
|
|
3801
3758
|
}
|
|
3802
3759
|
if (!H)
|
|
3803
|
-
throw new
|
|
3760
|
+
throw new yt(l.value, c, Object.keys(l.options), s);
|
|
3804
3761
|
a.push.apply(a, ce(H.value, t, r, n, i, c - (l.offset || 0)));
|
|
3805
3762
|
continue;
|
|
3806
3763
|
}
|
|
3807
3764
|
}
|
|
3808
|
-
return
|
|
3765
|
+
return ei(a);
|
|
3809
3766
|
}
|
|
3810
|
-
function
|
|
3811
|
-
return t ?
|
|
3812
|
-
return r[n] =
|
|
3767
|
+
function ri(e, t) {
|
|
3768
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3769
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3813
3770
|
}, {})) : e;
|
|
3814
3771
|
}
|
|
3815
|
-
function
|
|
3772
|
+
function ni(e, t) {
|
|
3816
3773
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3817
|
-
return r[n] =
|
|
3818
|
-
},
|
|
3774
|
+
return r[n] = ri(e[n], t[n]), r;
|
|
3775
|
+
}, y({}, e)) : e;
|
|
3819
3776
|
}
|
|
3820
|
-
function
|
|
3777
|
+
function Be(e) {
|
|
3821
3778
|
return {
|
|
3822
3779
|
create: function() {
|
|
3823
3780
|
return {
|
|
@@ -3831,39 +3788,39 @@ function Oe(e) {
|
|
|
3831
3788
|
}
|
|
3832
3789
|
};
|
|
3833
3790
|
}
|
|
3834
|
-
function
|
|
3791
|
+
function ii(e) {
|
|
3835
3792
|
return e === void 0 && (e = {
|
|
3836
3793
|
number: {},
|
|
3837
3794
|
dateTime: {},
|
|
3838
3795
|
pluralRules: {}
|
|
3839
3796
|
}), {
|
|
3840
|
-
getNumberFormat:
|
|
3797
|
+
getNumberFormat: Se(function() {
|
|
3841
3798
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3842
3799
|
r[n] = arguments[n];
|
|
3843
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3800
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
|
|
3844
3801
|
}, {
|
|
3845
|
-
cache:
|
|
3846
|
-
strategy:
|
|
3802
|
+
cache: Be(e.number),
|
|
3803
|
+
strategy: we.variadic
|
|
3847
3804
|
}),
|
|
3848
|
-
getDateTimeFormat:
|
|
3805
|
+
getDateTimeFormat: Se(function() {
|
|
3849
3806
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3850
3807
|
r[n] = arguments[n];
|
|
3851
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3808
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
|
|
3852
3809
|
}, {
|
|
3853
|
-
cache:
|
|
3854
|
-
strategy:
|
|
3810
|
+
cache: Be(e.dateTime),
|
|
3811
|
+
strategy: we.variadic
|
|
3855
3812
|
}),
|
|
3856
|
-
getPluralRules:
|
|
3813
|
+
getPluralRules: Se(function() {
|
|
3857
3814
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3858
3815
|
r[n] = arguments[n];
|
|
3859
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3816
|
+
return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
|
|
3860
3817
|
}, {
|
|
3861
|
-
cache:
|
|
3862
|
-
strategy:
|
|
3818
|
+
cache: Be(e.pluralRules),
|
|
3819
|
+
strategy: we.variadic
|
|
3863
3820
|
})
|
|
3864
3821
|
};
|
|
3865
3822
|
}
|
|
3866
|
-
var
|
|
3823
|
+
var oi = (
|
|
3867
3824
|
/** @class */
|
|
3868
3825
|
function() {
|
|
3869
3826
|
function e(t, r, n, i) {
|
|
@@ -3895,13 +3852,13 @@ var li = (
|
|
|
3895
3852
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3896
3853
|
var s = i || {};
|
|
3897
3854
|
s.formatters;
|
|
3898
|
-
var a =
|
|
3899
|
-
this.ast = e.__parse(t,
|
|
3855
|
+
var a = Rr(s, ["formatters"]);
|
|
3856
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3900
3857
|
} else
|
|
3901
3858
|
this.ast = t;
|
|
3902
3859
|
if (!Array.isArray(this.ast))
|
|
3903
3860
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3904
|
-
this.formats =
|
|
3861
|
+
this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
|
|
3905
3862
|
}
|
|
3906
3863
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3907
3864
|
get: function() {
|
|
@@ -3914,7 +3871,7 @@ var li = (
|
|
|
3914
3871
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3915
3872
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3916
3873
|
}
|
|
3917
|
-
}, e.__parse =
|
|
3874
|
+
}, e.__parse = Yn, e.formats = {
|
|
3918
3875
|
number: {
|
|
3919
3876
|
integer: {
|
|
3920
3877
|
maximumFractionDigits: 0
|
|
@@ -3975,7 +3932,7 @@ var li = (
|
|
|
3975
3932
|
}, e;
|
|
3976
3933
|
}()
|
|
3977
3934
|
);
|
|
3978
|
-
function
|
|
3935
|
+
function si(e, t) {
|
|
3979
3936
|
if (t == null)
|
|
3980
3937
|
return;
|
|
3981
3938
|
if (t in e)
|
|
@@ -3996,92 +3953,92 @@ function fi(e, t) {
|
|
|
3996
3953
|
n = void 0;
|
|
3997
3954
|
return n;
|
|
3998
3955
|
}
|
|
3999
|
-
const O = {},
|
|
3956
|
+
const O = {}, ai = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), rr = (e, t) => {
|
|
4000
3957
|
if (t == null)
|
|
4001
3958
|
return;
|
|
4002
3959
|
if (t in O && e in O[t])
|
|
4003
3960
|
return O[t][e];
|
|
4004
|
-
const r =
|
|
3961
|
+
const r = ye(t);
|
|
4005
3962
|
for (let n = 0; n < r.length; n++) {
|
|
4006
|
-
const i = r[n], o =
|
|
3963
|
+
const i = r[n], o = hi(i, e);
|
|
4007
3964
|
if (o)
|
|
4008
|
-
return
|
|
3965
|
+
return ai(e, t, o);
|
|
4009
3966
|
}
|
|
4010
3967
|
};
|
|
4011
|
-
let
|
|
3968
|
+
let We;
|
|
4012
3969
|
const ne = ve({});
|
|
4013
|
-
function
|
|
4014
|
-
return
|
|
3970
|
+
function ui(e) {
|
|
3971
|
+
return We[e] || null;
|
|
4015
3972
|
}
|
|
4016
|
-
function
|
|
4017
|
-
return e in
|
|
3973
|
+
function nr(e) {
|
|
3974
|
+
return e in We;
|
|
4018
3975
|
}
|
|
4019
|
-
function
|
|
4020
|
-
if (!
|
|
3976
|
+
function hi(e, t) {
|
|
3977
|
+
if (!nr(e))
|
|
4021
3978
|
return null;
|
|
4022
|
-
const r =
|
|
4023
|
-
return
|
|
3979
|
+
const r = ui(e);
|
|
3980
|
+
return si(r, t);
|
|
4024
3981
|
}
|
|
4025
|
-
function
|
|
3982
|
+
function li(e) {
|
|
4026
3983
|
if (e == null)
|
|
4027
3984
|
return;
|
|
4028
|
-
const t =
|
|
3985
|
+
const t = ye(e);
|
|
4029
3986
|
for (let r = 0; r < t.length; r++) {
|
|
4030
3987
|
const n = t[r];
|
|
4031
|
-
if (
|
|
3988
|
+
if (nr(n))
|
|
4032
3989
|
return n;
|
|
4033
3990
|
}
|
|
4034
3991
|
}
|
|
4035
|
-
function
|
|
4036
|
-
delete O[e], ne.update((r) => (r[e] =
|
|
3992
|
+
function fi(e, ...t) {
|
|
3993
|
+
delete O[e], ne.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
|
|
4037
3994
|
}
|
|
4038
|
-
|
|
3995
|
+
W(
|
|
4039
3996
|
[ne],
|
|
4040
3997
|
([e]) => Object.keys(e)
|
|
4041
3998
|
);
|
|
4042
|
-
ne.subscribe((e) =>
|
|
3999
|
+
ne.subscribe((e) => We = e);
|
|
4043
4000
|
const pe = {};
|
|
4044
|
-
function
|
|
4001
|
+
function ci(e, t) {
|
|
4045
4002
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
4046
4003
|
}
|
|
4047
|
-
function
|
|
4004
|
+
function ir(e) {
|
|
4048
4005
|
return pe[e];
|
|
4049
4006
|
}
|
|
4050
|
-
function
|
|
4051
|
-
return
|
|
4052
|
-
const r =
|
|
4007
|
+
function pi(e) {
|
|
4008
|
+
return ye(e).map((t) => {
|
|
4009
|
+
const r = ir(t);
|
|
4053
4010
|
return [t, r ? [...r] : []];
|
|
4054
4011
|
}).filter(([, t]) => t.length > 0);
|
|
4055
4012
|
}
|
|
4056
|
-
function
|
|
4057
|
-
return e == null ? !1 :
|
|
4013
|
+
function ke(e) {
|
|
4014
|
+
return e == null ? !1 : ye(e).some(
|
|
4058
4015
|
(t) => {
|
|
4059
4016
|
var r;
|
|
4060
|
-
return (r =
|
|
4017
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
4061
4018
|
}
|
|
4062
4019
|
);
|
|
4063
4020
|
}
|
|
4064
|
-
function
|
|
4021
|
+
function mi(e, t) {
|
|
4065
4022
|
return Promise.all(
|
|
4066
|
-
t.map((n) => (
|
|
4067
|
-
).then((n) =>
|
|
4068
|
-
}
|
|
4069
|
-
const
|
|
4070
|
-
function
|
|
4071
|
-
if (!
|
|
4072
|
-
return e in
|
|
4073
|
-
const t =
|
|
4074
|
-
return
|
|
4023
|
+
t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
|
|
4024
|
+
).then((n) => fi(e, ...n));
|
|
4025
|
+
}
|
|
4026
|
+
const J = {};
|
|
4027
|
+
function or(e) {
|
|
4028
|
+
if (!ke(e))
|
|
4029
|
+
return e in J ? J[e] : Promise.resolve();
|
|
4030
|
+
const t = pi(e);
|
|
4031
|
+
return J[e] = Promise.all(
|
|
4075
4032
|
t.map(
|
|
4076
|
-
([r, n]) =>
|
|
4033
|
+
([r, n]) => mi(r, n)
|
|
4077
4034
|
)
|
|
4078
4035
|
).then(() => {
|
|
4079
|
-
if (
|
|
4080
|
-
return
|
|
4081
|
-
delete
|
|
4082
|
-
}),
|
|
4036
|
+
if (ke(e))
|
|
4037
|
+
return or(e);
|
|
4038
|
+
delete J[e];
|
|
4039
|
+
}), J[e];
|
|
4083
4040
|
}
|
|
4084
|
-
const
|
|
4041
|
+
const bi = {
|
|
4085
4042
|
number: {
|
|
4086
4043
|
scientific: { notation: "scientific" },
|
|
4087
4044
|
engineering: { notation: "engineering" },
|
|
@@ -4110,135 +4067,135 @@ const _i = {
|
|
|
4110
4067
|
timeZoneName: "short"
|
|
4111
4068
|
}
|
|
4112
4069
|
}
|
|
4113
|
-
},
|
|
4070
|
+
}, di = {
|
|
4114
4071
|
fallbackLocale: null,
|
|
4115
4072
|
loadingDelay: 200,
|
|
4116
|
-
formats:
|
|
4073
|
+
formats: bi,
|
|
4117
4074
|
warnOnMissingMessages: !0,
|
|
4118
4075
|
handleMissingMessage: void 0,
|
|
4119
4076
|
ignoreTag: !0
|
|
4120
|
-
},
|
|
4121
|
-
function
|
|
4122
|
-
return
|
|
4077
|
+
}, vi = di;
|
|
4078
|
+
function X() {
|
|
4079
|
+
return vi;
|
|
4123
4080
|
}
|
|
4124
|
-
const
|
|
4125
|
-
var
|
|
4081
|
+
const Ae = ve(!1);
|
|
4082
|
+
var gi = Object.defineProperty, yi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
|
|
4126
4083
|
for (var r in t || (t = {}))
|
|
4127
|
-
|
|
4128
|
-
if (
|
|
4129
|
-
for (var r of
|
|
4130
|
-
|
|
4084
|
+
Ei.call(t, r) && Et(e, r, t[r]);
|
|
4085
|
+
if (_t)
|
|
4086
|
+
for (var r of _t(t))
|
|
4087
|
+
xi.call(t, r) && Et(e, r, t[r]);
|
|
4131
4088
|
return e;
|
|
4132
|
-
},
|
|
4133
|
-
let
|
|
4134
|
-
const
|
|
4135
|
-
function
|
|
4089
|
+
}, Si = (e, t) => yi(e, _i(t));
|
|
4090
|
+
let Ve;
|
|
4091
|
+
const me = ve(null);
|
|
4092
|
+
function xt(e) {
|
|
4136
4093
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4137
4094
|
}
|
|
4138
|
-
function
|
|
4139
|
-
const r =
|
|
4140
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4095
|
+
function ye(e, t = X().fallbackLocale) {
|
|
4096
|
+
const r = xt(e);
|
|
4097
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
|
|
4141
4098
|
}
|
|
4142
4099
|
function M() {
|
|
4143
|
-
return
|
|
4100
|
+
return Ve != null ? Ve : void 0;
|
|
4144
4101
|
}
|
|
4145
|
-
|
|
4146
|
-
|
|
4102
|
+
me.subscribe((e) => {
|
|
4103
|
+
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4147
4104
|
});
|
|
4148
|
-
const
|
|
4149
|
-
if (e &&
|
|
4150
|
-
const { loadingDelay: t } =
|
|
4105
|
+
const wi = (e) => {
|
|
4106
|
+
if (e && li(e) && ke(e)) {
|
|
4107
|
+
const { loadingDelay: t } = X();
|
|
4151
4108
|
let r;
|
|
4152
4109
|
return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
|
|
4153
|
-
() =>
|
|
4110
|
+
() => Ae.set(!0),
|
|
4154
4111
|
t
|
|
4155
|
-
) :
|
|
4156
|
-
|
|
4112
|
+
) : Ae.set(!0), or(e).then(() => {
|
|
4113
|
+
me.set(e);
|
|
4157
4114
|
}).finally(() => {
|
|
4158
|
-
clearTimeout(r),
|
|
4115
|
+
clearTimeout(r), Ae.set(!1);
|
|
4159
4116
|
});
|
|
4160
4117
|
}
|
|
4161
|
-
return
|
|
4162
|
-
}, ie =
|
|
4163
|
-
set:
|
|
4164
|
-
}),
|
|
4118
|
+
return me.set(e);
|
|
4119
|
+
}, ie = Si(Ti({}, me), {
|
|
4120
|
+
set: wi
|
|
4121
|
+
}), _e = (e) => {
|
|
4165
4122
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4166
4123
|
return (n) => {
|
|
4167
4124
|
const i = JSON.stringify(n);
|
|
4168
4125
|
return i in t ? t[i] : t[i] = e(n);
|
|
4169
4126
|
};
|
|
4170
4127
|
};
|
|
4171
|
-
var
|
|
4128
|
+
var Hi = Object.defineProperty, be = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
4172
4129
|
for (var r in t || (t = {}))
|
|
4173
|
-
|
|
4130
|
+
sr.call(t, r) && Tt(e, r, t[r]);
|
|
4174
4131
|
if (be)
|
|
4175
4132
|
for (var r of be(t))
|
|
4176
|
-
|
|
4133
|
+
ar.call(t, r) && Tt(e, r, t[r]);
|
|
4177
4134
|
return e;
|
|
4178
|
-
},
|
|
4135
|
+
}, Z = (e, t) => {
|
|
4179
4136
|
var r = {};
|
|
4180
4137
|
for (var n in e)
|
|
4181
|
-
|
|
4138
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4182
4139
|
if (e != null && be)
|
|
4183
4140
|
for (var n of be(e))
|
|
4184
|
-
t.indexOf(n) < 0 &&
|
|
4141
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4185
4142
|
return r;
|
|
4186
4143
|
};
|
|
4187
|
-
const
|
|
4188
|
-
const { formats: r } =
|
|
4144
|
+
const ee = (e, t) => {
|
|
4145
|
+
const { formats: r } = X();
|
|
4189
4146
|
if (e in r && t in r[e])
|
|
4190
4147
|
return r[e][t];
|
|
4191
4148
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4192
|
-
},
|
|
4149
|
+
}, Bi = _e(
|
|
4193
4150
|
(e) => {
|
|
4194
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4151
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
4195
4152
|
if (r == null)
|
|
4196
4153
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4197
|
-
return n && (i =
|
|
4154
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4198
4155
|
}
|
|
4199
|
-
),
|
|
4156
|
+
), Ai = _e(
|
|
4200
4157
|
(e) => {
|
|
4201
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4158
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
4202
4159
|
if (r == null)
|
|
4203
4160
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4204
|
-
return n ? i =
|
|
4161
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4205
4162
|
}
|
|
4206
|
-
),
|
|
4163
|
+
), Pi = _e(
|
|
4207
4164
|
(e) => {
|
|
4208
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4165
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
4209
4166
|
if (r == null)
|
|
4210
4167
|
throw new Error(
|
|
4211
4168
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4212
4169
|
);
|
|
4213
|
-
return n ? i =
|
|
4170
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4214
4171
|
}
|
|
4215
|
-
),
|
|
4172
|
+
), Oi = (e = {}) => {
|
|
4216
4173
|
var t = e, {
|
|
4217
4174
|
locale: r = M()
|
|
4218
|
-
} = t, n =
|
|
4175
|
+
} = t, n = Z(t, [
|
|
4219
4176
|
"locale"
|
|
4220
4177
|
]);
|
|
4221
|
-
return
|
|
4222
|
-
},
|
|
4178
|
+
return Bi(Ze({ locale: r }, n));
|
|
4179
|
+
}, Ii = (e = {}) => {
|
|
4223
4180
|
var t = e, {
|
|
4224
4181
|
locale: r = M()
|
|
4225
|
-
} = t, n =
|
|
4182
|
+
} = t, n = Z(t, [
|
|
4226
4183
|
"locale"
|
|
4227
4184
|
]);
|
|
4228
|
-
return
|
|
4229
|
-
},
|
|
4185
|
+
return Ai(Ze({ locale: r }, n));
|
|
4186
|
+
}, Li = (e = {}) => {
|
|
4230
4187
|
var t = e, {
|
|
4231
4188
|
locale: r = M()
|
|
4232
|
-
} = t, n =
|
|
4189
|
+
} = t, n = Z(t, [
|
|
4233
4190
|
"locale"
|
|
4234
4191
|
]);
|
|
4235
|
-
return
|
|
4236
|
-
},
|
|
4192
|
+
return Pi(Ze({ locale: r }, n));
|
|
4193
|
+
}, Ni = _e(
|
|
4237
4194
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4238
|
-
(e, t = M()) => new
|
|
4239
|
-
ignoreTag:
|
|
4195
|
+
(e, t = M()) => new oi(e, t, X().formats, {
|
|
4196
|
+
ignoreTag: X().ignoreTag
|
|
4240
4197
|
})
|
|
4241
|
-
),
|
|
4198
|
+
), Ci = (e, t = {}) => {
|
|
4242
4199
|
var r, n, i, o;
|
|
4243
4200
|
let s = t;
|
|
4244
4201
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4251,9 +4208,9 @@ const K = (e, t) => {
|
|
|
4251
4208
|
throw new Error(
|
|
4252
4209
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4253
4210
|
);
|
|
4254
|
-
let l =
|
|
4211
|
+
let l = rr(e, h);
|
|
4255
4212
|
if (!l)
|
|
4256
|
-
l = (o = (i = (n = (r =
|
|
4213
|
+
l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4257
4214
|
else if (typeof l != "string")
|
|
4258
4215
|
return console.warn(
|
|
4259
4216
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4262,7 +4219,7 @@ const K = (e, t) => {
|
|
|
4262
4219
|
return l;
|
|
4263
4220
|
let f = l;
|
|
4264
4221
|
try {
|
|
4265
|
-
f =
|
|
4222
|
+
f = Ni(l, h).format(a);
|
|
4266
4223
|
} catch (c) {
|
|
4267
4224
|
c instanceof Error && console.warn(
|
|
4268
4225
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4270,21 +4227,21 @@ const K = (e, t) => {
|
|
|
4270
4227
|
);
|
|
4271
4228
|
}
|
|
4272
4229
|
return f;
|
|
4273
|
-
},
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
window.emWidgets = { topic:
|
|
4280
|
-
const
|
|
4281
|
-
function
|
|
4230
|
+
}, Mi = (e, t) => Li(t).format(e), Ri = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Ui = (e, t = M()) => rr(e, t);
|
|
4231
|
+
W([ie, ne], () => Ci);
|
|
4232
|
+
W([ie], () => Mi);
|
|
4233
|
+
W([ie], () => Ri);
|
|
4234
|
+
W([ie], () => $i);
|
|
4235
|
+
W([ie, ne], () => Ui);
|
|
4236
|
+
window.emWidgets = { topic: Jr };
|
|
4237
|
+
const Di = (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));
|
|
4238
|
+
function Gi(e, t) {
|
|
4282
4239
|
if (e) {
|
|
4283
4240
|
const r = document.createElement("style");
|
|
4284
4241
|
r.innerHTML = t, e.appendChild(r);
|
|
4285
4242
|
}
|
|
4286
4243
|
}
|
|
4287
|
-
function
|
|
4244
|
+
function Fi(e, t) {
|
|
4288
4245
|
const r = new URL(t);
|
|
4289
4246
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4290
4247
|
const i = document.createElement("style");
|
|
@@ -4293,7 +4250,7 @@ function zi(e, t) {
|
|
|
4293
4250
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4294
4251
|
});
|
|
4295
4252
|
}
|
|
4296
|
-
function
|
|
4253
|
+
function ji(e, t, r) {
|
|
4297
4254
|
if (window.emMessageBus) {
|
|
4298
4255
|
const n = document.createElement("style");
|
|
4299
4256
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4301,43 +4258,43 @@ function Wi(e, t, r) {
|
|
|
4301
4258
|
});
|
|
4302
4259
|
}
|
|
4303
4260
|
}
|
|
4304
|
-
function
|
|
4305
|
-
|
|
4261
|
+
function ki(e) {
|
|
4262
|
+
pr(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}");
|
|
4306
4263
|
}
|
|
4307
|
-
function
|
|
4264
|
+
function St(e, t, r) {
|
|
4308
4265
|
const n = e.slice();
|
|
4309
4266
|
return n[16] = t[r], n;
|
|
4310
4267
|
}
|
|
4311
|
-
function
|
|
4312
|
-
let t, r =
|
|
4268
|
+
function wt(e) {
|
|
4269
|
+
let t, r = nt(
|
|
4313
4270
|
/*__tabs*/
|
|
4314
4271
|
e[6]
|
|
4315
4272
|
), n = [];
|
|
4316
4273
|
for (let i = 0; i < r.length; i += 1)
|
|
4317
|
-
n[i] =
|
|
4274
|
+
n[i] = Bt(St(e, r, i));
|
|
4318
4275
|
return {
|
|
4319
4276
|
c() {
|
|
4320
4277
|
t = I("ul");
|
|
4321
4278
|
for (let i = 0; i < n.length; i += 1)
|
|
4322
4279
|
n[i].c();
|
|
4323
|
-
|
|
4280
|
+
S(t, "part", "ul");
|
|
4324
4281
|
},
|
|
4325
4282
|
m(i, o) {
|
|
4326
|
-
|
|
4283
|
+
re(i, t, o);
|
|
4327
4284
|
for (let s = 0; s < n.length; s += 1)
|
|
4328
4285
|
n[s] && n[s].m(t, null);
|
|
4329
4286
|
},
|
|
4330
4287
|
p(i, o) {
|
|
4331
4288
|
if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
|
|
4332
4289
|
121) {
|
|
4333
|
-
r =
|
|
4290
|
+
r = nt(
|
|
4334
4291
|
/*__tabs*/
|
|
4335
4292
|
i[6]
|
|
4336
4293
|
);
|
|
4337
4294
|
let s;
|
|
4338
4295
|
for (s = 0; s < r.length; s += 1) {
|
|
4339
|
-
const a =
|
|
4340
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4296
|
+
const a = St(i, r, s);
|
|
4297
|
+
n[s] ? n[s].p(a, o) : (n[s] = Bt(a), n[s].c(), n[s].m(t, null));
|
|
4341
4298
|
}
|
|
4342
4299
|
for (; s < n.length; s += 1)
|
|
4343
4300
|
n[s].d(1);
|
|
@@ -4345,11 +4302,11 @@ function Ot(e) {
|
|
|
4345
4302
|
}
|
|
4346
4303
|
},
|
|
4347
4304
|
d(i) {
|
|
4348
|
-
i &&
|
|
4305
|
+
i && z(t), dr(n, i);
|
|
4349
4306
|
}
|
|
4350
4307
|
};
|
|
4351
4308
|
}
|
|
4352
|
-
function
|
|
4309
|
+
function Ht(e) {
|
|
4353
4310
|
let t, r, n = (
|
|
4354
4311
|
/*totalReceiver*/
|
|
4355
4312
|
e[3][
|
|
@@ -4359,10 +4316,10 @@ function It(e) {
|
|
|
4359
4316
|
), i;
|
|
4360
4317
|
return {
|
|
4361
4318
|
c() {
|
|
4362
|
-
t = I("sup"), r = I("span"), i =
|
|
4319
|
+
t = I("sup"), r = I("span"), i = ze(n), S(r, "part", "SupText"), S(t, "part", "sup");
|
|
4363
4320
|
},
|
|
4364
4321
|
m(o, s) {
|
|
4365
|
-
|
|
4322
|
+
re(o, t, s), C(t, r), C(r, i);
|
|
4366
4323
|
},
|
|
4367
4324
|
p(o, s) {
|
|
4368
4325
|
s & /*totalReceiver, __tabs*/
|
|
@@ -4370,14 +4327,14 @@ function It(e) {
|
|
|
4370
4327
|
o[3][
|
|
4371
4328
|
/*_tab*/
|
|
4372
4329
|
o[16]
|
|
4373
|
-
] + "") &&
|
|
4330
|
+
] + "") && Ot(i, n);
|
|
4374
4331
|
},
|
|
4375
4332
|
d(o) {
|
|
4376
|
-
o &&
|
|
4333
|
+
o && z(t);
|
|
4377
4334
|
}
|
|
4378
4335
|
};
|
|
4379
4336
|
}
|
|
4380
|
-
function
|
|
4337
|
+
function Bt(e) {
|
|
4381
4338
|
let t, r, n = (
|
|
4382
4339
|
/*textReceiver*/
|
|
4383
4340
|
e[4][
|
|
@@ -4389,7 +4346,7 @@ function Lt(e) {
|
|
|
4389
4346
|
e[3][
|
|
4390
4347
|
/*_tab*/
|
|
4391
4348
|
e[16]
|
|
4392
|
-
] >= 0 &&
|
|
4349
|
+
] >= 0 && Ht(e)
|
|
4393
4350
|
);
|
|
4394
4351
|
function c() {
|
|
4395
4352
|
return (
|
|
@@ -4402,83 +4359,83 @@ function Lt(e) {
|
|
|
4402
4359
|
}
|
|
4403
4360
|
return {
|
|
4404
4361
|
c() {
|
|
4405
|
-
t = I("li"), r = I("span"), i =
|
|
4362
|
+
t = I("li"), r = I("span"), i = ze(n), o = tt(), f && f.c(), s = tt(), S(r, "part", "LiText"), S(t, "class", a = /*__tab*/
|
|
4406
4363
|
e[5] === /*_tab*/
|
|
4407
|
-
e[16] ? "active" : ""),
|
|
4364
|
+
e[16] ? "active" : ""), S(t, "part", h = `${/*_tab*/
|
|
4408
4365
|
e[16]} li ` + /*__tab*/
|
|
4409
4366
|
(e[5] === /*_tab*/
|
|
4410
4367
|
e[16] ? "active" : ""));
|
|
4411
4368
|
},
|
|
4412
|
-
m(p,
|
|
4413
|
-
|
|
4369
|
+
m(p, b) {
|
|
4370
|
+
re(p, t, b), C(t, r), C(r, i), C(t, o), f && f.m(t, null), C(t, s), u || (l = vr(t, "click", c), u = !0);
|
|
4414
4371
|
},
|
|
4415
|
-
p(p,
|
|
4416
|
-
e = p,
|
|
4372
|
+
p(p, b) {
|
|
4373
|
+
e = p, b & /*textReceiver, __tabs*/
|
|
4417
4374
|
80 && n !== (n = /*textReceiver*/
|
|
4418
4375
|
e[4][
|
|
4419
4376
|
/*_tab*/
|
|
4420
4377
|
e[16]
|
|
4421
|
-
] + "") &&
|
|
4378
|
+
] + "") && Ot(i, n), /*totalReceiver*/
|
|
4422
4379
|
e[3][
|
|
4423
4380
|
/*_tab*/
|
|
4424
4381
|
e[16]
|
|
4425
|
-
] >= 0 ? f ? f.p(e,
|
|
4382
|
+
] >= 0 ? f ? f.p(e, b) : (f = Ht(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), b & /*__tab, __tabs*/
|
|
4426
4383
|
96 && a !== (a = /*__tab*/
|
|
4427
4384
|
e[5] === /*_tab*/
|
|
4428
|
-
e[16] ? "active" : "") &&
|
|
4385
|
+
e[16] ? "active" : "") && S(t, "class", a), b & /*__tabs, __tab*/
|
|
4429
4386
|
96 && h !== (h = `${/*_tab*/
|
|
4430
4387
|
e[16]} li ` + /*__tab*/
|
|
4431
4388
|
(e[5] === /*_tab*/
|
|
4432
|
-
e[16] ? "active" : "")) &&
|
|
4389
|
+
e[16] ? "active" : "")) && S(t, "part", h);
|
|
4433
4390
|
},
|
|
4434
4391
|
d(p) {
|
|
4435
|
-
p &&
|
|
4392
|
+
p && z(t), f && f.d(), u = !1, l();
|
|
4436
4393
|
}
|
|
4437
4394
|
};
|
|
4438
4395
|
}
|
|
4439
|
-
function
|
|
4396
|
+
function Vi(e) {
|
|
4440
4397
|
let t, r = (
|
|
4441
4398
|
/*isTitleInited*/
|
|
4442
|
-
e[2] &&
|
|
4399
|
+
e[2] && wt(e)
|
|
4443
4400
|
);
|
|
4444
4401
|
return {
|
|
4445
4402
|
c() {
|
|
4446
|
-
t = I("div"), r && r.c(),
|
|
4403
|
+
t = I("div"), r && r.c(), S(t, "class", "casino-tournaments-tab " + (Di(
|
|
4447
4404
|
/*userAgent*/
|
|
4448
4405
|
e[7]
|
|
4449
|
-
) ? "TabMobile" : "TabDesktop")),
|
|
4406
|
+
) ? "TabMobile" : "TabDesktop")), S(t, "part", "CustomStylingContainer");
|
|
4450
4407
|
},
|
|
4451
4408
|
m(n, i) {
|
|
4452
|
-
|
|
4409
|
+
re(n, t, i), r && r.m(t, null), e[14](t);
|
|
4453
4410
|
},
|
|
4454
4411
|
p(n, [i]) {
|
|
4455
4412
|
/*isTitleInited*/
|
|
4456
|
-
n[2] ? r ? r.p(n, i) : (r =
|
|
4413
|
+
n[2] ? r ? r.p(n, i) : (r = wt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4457
4414
|
},
|
|
4458
4415
|
i: w,
|
|
4459
4416
|
o: w,
|
|
4460
4417
|
d(n) {
|
|
4461
|
-
n &&
|
|
4418
|
+
n && z(t), r && r.d(), e[14](null);
|
|
4462
4419
|
}
|
|
4463
4420
|
};
|
|
4464
4421
|
}
|
|
4465
|
-
function
|
|
4422
|
+
function Xi(e, t, r) {
|
|
4466
4423
|
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;
|
|
4467
4424
|
const p = window.navigator.userAgent;
|
|
4468
|
-
let
|
|
4469
|
-
|
|
4470
|
-
TournamentsTabTotalUpdate: (
|
|
4471
|
-
r(3,
|
|
4472
|
-
[
|
|
4425
|
+
let b = {}, g = {};
|
|
4426
|
+
Mr({
|
|
4427
|
+
TournamentsTabTotalUpdate: (v) => {
|
|
4428
|
+
r(3, b = ae(R({}, b), {
|
|
4429
|
+
[v.state]: v.total
|
|
4473
4430
|
}));
|
|
4474
4431
|
},
|
|
4475
|
-
TournamentsTabsLocalize: (
|
|
4476
|
-
r(2, c = !0), r(4,
|
|
4432
|
+
TournamentsTabsLocalize: (v) => {
|
|
4433
|
+
r(2, c = !0), r(4, g = R(R({}, g), v.tabTitleTranslations));
|
|
4477
4434
|
},
|
|
4478
|
-
TournamentsTabLocaleTextUpdate: (
|
|
4479
|
-
r(2, c = !0), r(4,
|
|
4435
|
+
TournamentsTabLocaleTextUpdate: (v) => {
|
|
4436
|
+
r(2, c = !0), r(4, g = ae(R({}, g), { [v.state]: v.text }));
|
|
4480
4437
|
}
|
|
4481
|
-
}),
|
|
4438
|
+
}), It(() => (window.postMessage(
|
|
4482
4439
|
{
|
|
4483
4440
|
type: "TournamentsTabListenerLoaded",
|
|
4484
4441
|
tid: l
|
|
@@ -4486,36 +4443,36 @@ function Ji(e, t, r) {
|
|
|
4486
4443
|
window.location.href
|
|
4487
4444
|
), () => {
|
|
4488
4445
|
}));
|
|
4489
|
-
const
|
|
4490
|
-
r(5, i =
|
|
4446
|
+
const T = (v) => {
|
|
4447
|
+
r(5, i = v), window.postMessage(
|
|
4491
4448
|
{
|
|
4492
4449
|
type: "TournamentsTabSwitch",
|
|
4493
|
-
tab:
|
|
4450
|
+
tab: v,
|
|
4494
4451
|
tid: l
|
|
4495
4452
|
},
|
|
4496
4453
|
window.location.href
|
|
4497
4454
|
);
|
|
4498
4455
|
};
|
|
4499
|
-
function L(
|
|
4500
|
-
|
|
4501
|
-
f =
|
|
4456
|
+
function L(v) {
|
|
4457
|
+
Pe[v ? "unshift" : "push"](() => {
|
|
4458
|
+
f = v, r(1, f);
|
|
4502
4459
|
});
|
|
4503
4460
|
}
|
|
4504
|
-
return e.$$set = (
|
|
4505
|
-
"tabs" in
|
|
4461
|
+
return e.$$set = (v) => {
|
|
4462
|
+
"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);
|
|
4506
4463
|
}, e.$$.update = () => {
|
|
4507
4464
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4508
|
-
1026 && a && f &&
|
|
4509
|
-
2050 && h && f &&
|
|
4510
|
-
4098 && u && f &&
|
|
4465
|
+
1026 && a && f && Gi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4466
|
+
2050 && h && f && Fi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4467
|
+
4098 && u && f && ji(f, `${u}.Style`), e.$$.dirty & /*tabs*/
|
|
4511
4468
|
256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
|
|
4512
4469
|
512 && r(5, i = s);
|
|
4513
4470
|
}, [
|
|
4514
4471
|
l,
|
|
4515
4472
|
f,
|
|
4516
4473
|
c,
|
|
4517
|
-
|
|
4518
|
-
|
|
4474
|
+
b,
|
|
4475
|
+
g,
|
|
4519
4476
|
i,
|
|
4520
4477
|
n,
|
|
4521
4478
|
p,
|
|
@@ -4524,18 +4481,18 @@ function Ji(e, t, r) {
|
|
|
4524
4481
|
a,
|
|
4525
4482
|
h,
|
|
4526
4483
|
u,
|
|
4527
|
-
|
|
4484
|
+
T,
|
|
4528
4485
|
L
|
|
4529
4486
|
];
|
|
4530
4487
|
}
|
|
4531
|
-
class
|
|
4488
|
+
class zi extends Lr {
|
|
4532
4489
|
constructor(t) {
|
|
4533
|
-
super(),
|
|
4490
|
+
super(), Or(
|
|
4534
4491
|
this,
|
|
4535
4492
|
t,
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4493
|
+
Xi,
|
|
4494
|
+
Vi,
|
|
4495
|
+
Pt,
|
|
4539
4496
|
{
|
|
4540
4497
|
tabs: 8,
|
|
4541
4498
|
tab: 9,
|
|
@@ -4544,7 +4501,7 @@ class Yi extends Rr {
|
|
|
4544
4501
|
mbsource: 12,
|
|
4545
4502
|
tid: 0
|
|
4546
4503
|
},
|
|
4547
|
-
|
|
4504
|
+
ki
|
|
4548
4505
|
);
|
|
4549
4506
|
}
|
|
4550
4507
|
get tabs() {
|
|
@@ -4584,7 +4541,7 @@ class Yi extends Rr {
|
|
|
4584
4541
|
this.$$set({ tid: t }), P();
|
|
4585
4542
|
}
|
|
4586
4543
|
}
|
|
4587
|
-
|
|
4544
|
+
Ir(zi, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
|
|
4588
4545
|
export {
|
|
4589
|
-
|
|
4546
|
+
zi as default
|
|
4590
4547
|
};
|