@everymatrix/casino-tournaments-thumbnail-rule 1.67.3 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsThumbnailRule-BFCoiWBH.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailRule-Byaz8YYy.js → CasinoTournamentsThumbnailRule-BIy-sAuR.js} +969 -951
- package/components/{CasinoTournamentsThumbnailRule-_cF1ZG5C.js → CasinoTournamentsThumbnailRule-Be-FH1yg.js} +992 -974
- package/es2015/casino-tournaments-thumbnail-rule.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-rule.js +1 -1
- package/esnext/casino-tournaments-thumbnail-rule.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailRule-D8wPbvEL.cjs +0 -16
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function X() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Rt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function st() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Ee(e) {
|
|
10
|
+
e.forEach(Rt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function nt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function kt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function or(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Nt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return X;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
30
|
function ar(e, t, r) {
|
|
31
|
-
e.$$.on_destroy.push(
|
|
31
|
+
e.$$.on_destroy.push(Nt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function p(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function sr(e, t, r) {
|
|
37
|
+
const n = ur(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
39
|
+
const i = E("style");
|
|
40
|
+
i.id = t, i.textContent = r, lr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ur(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function sr(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function lr(e, t) {
|
|
54
54
|
return p(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -63,32 +63,32 @@ function M(e, t, r) {
|
|
|
63
63
|
function H(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function E(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function hr(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function V(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function L() {
|
|
76
|
+
return V(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
78
|
+
function ke() {
|
|
79
|
+
return V("");
|
|
80
80
|
}
|
|
81
81
|
function m(e, t, r) {
|
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function cr(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function J(e, t) {
|
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
89
89
|
t);
|
|
90
90
|
}
|
|
91
|
-
class
|
|
91
|
+
class Ne {
|
|
92
92
|
/**
|
|
93
93
|
* @private
|
|
94
94
|
* @default false
|
|
@@ -119,10 +119,10 @@ class Re {
|
|
|
119
119
|
* @returns {void}
|
|
120
120
|
*/
|
|
121
121
|
m(t, r, n = null) {
|
|
122
|
-
this.e || (this.is_svg ? this.e =
|
|
122
|
+
this.e || (this.is_svg ? this.e = hr(
|
|
123
123
|
/** @type {keyof SVGElementTagNameMap} */
|
|
124
124
|
r.nodeName
|
|
125
|
-
) : this.e =
|
|
125
|
+
) : this.e = E(
|
|
126
126
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
127
127
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
128
128
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -158,7 +158,7 @@ class Re {
|
|
|
158
158
|
this.n.forEach(H);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function fr(e) {
|
|
162
162
|
const t = {};
|
|
163
163
|
return e.childNodes.forEach(
|
|
164
164
|
/** @param {Element} node */
|
|
@@ -167,95 +167,95 @@ function cr(e) {
|
|
|
167
167
|
}
|
|
168
168
|
), t;
|
|
169
169
|
}
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
|
|
170
|
+
let ye;
|
|
171
|
+
function ge(e) {
|
|
172
|
+
ye = e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
if (!
|
|
174
|
+
function mr() {
|
|
175
|
+
if (!ye)
|
|
176
176
|
throw new Error("Function called outside component initialization");
|
|
177
|
-
return
|
|
177
|
+
return ye;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
|
|
179
|
+
function dr(e) {
|
|
180
|
+
mr().$$.on_mount.push(e);
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
let
|
|
184
|
-
const
|
|
185
|
-
let
|
|
186
|
-
function
|
|
187
|
-
|
|
182
|
+
const se = [], ze = [];
|
|
183
|
+
let ue = [];
|
|
184
|
+
const ut = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
185
|
+
let Xe = !1;
|
|
186
|
+
function br() {
|
|
187
|
+
Xe || (Xe = !0, pr.then(F));
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
|
|
189
|
+
function We(e) {
|
|
190
|
+
ue.push(e);
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
let
|
|
194
|
-
function
|
|
195
|
-
if (
|
|
192
|
+
const $e = /* @__PURE__ */ new Set();
|
|
193
|
+
let oe = 0;
|
|
194
|
+
function F() {
|
|
195
|
+
if (oe !== 0)
|
|
196
196
|
return;
|
|
197
|
-
const e =
|
|
197
|
+
const e = ye;
|
|
198
198
|
do {
|
|
199
199
|
try {
|
|
200
|
-
for (;
|
|
201
|
-
const t = oe
|
|
202
|
-
|
|
200
|
+
for (; oe < se.length; ) {
|
|
201
|
+
const t = se[oe];
|
|
202
|
+
oe++, ge(t), gr(t.$$);
|
|
203
203
|
}
|
|
204
204
|
} catch (t) {
|
|
205
|
-
throw
|
|
205
|
+
throw se.length = 0, oe = 0, t;
|
|
206
206
|
}
|
|
207
|
-
for (
|
|
208
|
-
|
|
209
|
-
for (let t = 0; t <
|
|
210
|
-
const r =
|
|
211
|
-
|
|
207
|
+
for (ge(null), se.length = 0, oe = 0; ze.length; )
|
|
208
|
+
ze.pop()();
|
|
209
|
+
for (let t = 0; t < ue.length; t += 1) {
|
|
210
|
+
const r = ue[t];
|
|
211
|
+
$e.has(r) || ($e.add(r), r());
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
} while (
|
|
215
|
-
for (;
|
|
216
|
-
|
|
217
|
-
|
|
213
|
+
ue.length = 0;
|
|
214
|
+
} while (se.length);
|
|
215
|
+
for (; ut.length; )
|
|
216
|
+
ut.pop()();
|
|
217
|
+
Xe = !1, $e.clear(), ge(e);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function gr(e) {
|
|
220
220
|
if (e.fragment !== null) {
|
|
221
|
-
e.update(),
|
|
221
|
+
e.update(), Ee(e.before_update);
|
|
222
222
|
const t = e.dirty;
|
|
223
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
223
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function yr(e) {
|
|
227
227
|
const t = [], r = [];
|
|
228
|
-
|
|
228
|
+
ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
|
|
229
229
|
}
|
|
230
|
-
const
|
|
231
|
-
function
|
|
232
|
-
e && e.i && (
|
|
230
|
+
const vr = /* @__PURE__ */ new Set();
|
|
231
|
+
function _r(e, t) {
|
|
232
|
+
e && e.i && (vr.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Er(e, t, r) {
|
|
235
235
|
const { fragment: n, after_update: i } = e.$$;
|
|
236
|
-
n && n.m(t, r),
|
|
237
|
-
const
|
|
238
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
239
|
-
}), i.forEach(
|
|
236
|
+
n && n.m(t, r), We(() => {
|
|
237
|
+
const o = e.$$.on_mount.map(Rt).filter(nt);
|
|
238
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
|
|
239
|
+
}), i.forEach(We);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function xr(e, t) {
|
|
242
242
|
const r = e.$$;
|
|
243
|
-
r.fragment !== null && (
|
|
243
|
+
r.fragment !== null && (yr(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
e.$$.dirty[0] === -1 && (
|
|
245
|
+
function Tr(e, t) {
|
|
246
|
+
e.$$.dirty[0] === -1 && (se.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
const h =
|
|
250
|
-
|
|
248
|
+
function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
249
|
+
const h = ye;
|
|
250
|
+
ge(e);
|
|
251
251
|
const u = e.$$ = {
|
|
252
252
|
fragment: null,
|
|
253
253
|
ctx: [],
|
|
254
254
|
// state
|
|
255
|
-
props:
|
|
256
|
-
update:
|
|
255
|
+
props: o,
|
|
256
|
+
update: X,
|
|
257
257
|
not_equal: i,
|
|
258
|
-
bound:
|
|
258
|
+
bound: st(),
|
|
259
259
|
// lifecycle
|
|
260
260
|
on_mount: [],
|
|
261
261
|
on_destroy: [],
|
|
@@ -264,28 +264,28 @@ function Tr(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
|
264
264
|
after_update: [],
|
|
265
265
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
266
266
|
// everything else
|
|
267
|
-
callbacks:
|
|
268
|
-
dirty:
|
|
267
|
+
callbacks: st(),
|
|
268
|
+
dirty: a,
|
|
269
269
|
skip_bound: !1,
|
|
270
270
|
root: t.target || h.$$.root
|
|
271
271
|
};
|
|
272
272
|
s && s(u.root);
|
|
273
273
|
let l = !1;
|
|
274
|
-
if (u.ctx = r(e, t.props || {}, (c, f, ...g) => {
|
|
275
|
-
const
|
|
276
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
277
|
-
}), u.update(), l = !0,
|
|
274
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
275
|
+
const v = g.length ? g[0] : f;
|
|
276
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Tr(e, c)), f;
|
|
277
|
+
}) : [], u.update(), l = !0, Ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
278
278
|
if (t.hydrate) {
|
|
279
|
-
const c =
|
|
279
|
+
const c = cr(t.target);
|
|
280
280
|
u.fragment && u.fragment.l(c), c.forEach(H);
|
|
281
281
|
} else
|
|
282
282
|
u.fragment && u.fragment.c();
|
|
283
|
-
t.intro &&
|
|
283
|
+
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), F();
|
|
284
284
|
}
|
|
285
|
-
|
|
285
|
+
ge(h);
|
|
286
286
|
}
|
|
287
|
-
let
|
|
288
|
-
typeof HTMLElement == "function" && (
|
|
287
|
+
let At;
|
|
288
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
289
289
|
/** The Svelte component constructor */
|
|
290
290
|
$$ctor;
|
|
291
291
|
/** Slots */
|
|
@@ -324,32 +324,32 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
324
324
|
if (this.$$cn = !0, !this.$$c) {
|
|
325
325
|
let e = function(i) {
|
|
326
326
|
return () => {
|
|
327
|
-
let
|
|
327
|
+
let o;
|
|
328
328
|
return {
|
|
329
329
|
c: function() {
|
|
330
|
-
|
|
330
|
+
o = E("slot"), i !== "default" && m(o, "name", i);
|
|
331
331
|
},
|
|
332
332
|
/**
|
|
333
333
|
* @param {HTMLElement} target
|
|
334
334
|
* @param {HTMLElement} [anchor]
|
|
335
335
|
*/
|
|
336
336
|
m: function(h, u) {
|
|
337
|
-
M(h,
|
|
337
|
+
M(h, o, u);
|
|
338
338
|
},
|
|
339
339
|
d: function(h) {
|
|
340
|
-
h && H(
|
|
340
|
+
h && H(o);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
345
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
346
346
|
return;
|
|
347
|
-
const t = {}, r =
|
|
347
|
+
const t = {}, r = fr(this);
|
|
348
348
|
for (const i of this.$$s)
|
|
349
349
|
i in r && (t[i] = [e(i)]);
|
|
350
350
|
for (const i of this.attributes) {
|
|
351
|
-
const
|
|
352
|
-
|
|
351
|
+
const o = this.$$g_p(i.name);
|
|
352
|
+
o in this.$$d || (this.$$d[o] = Be(o, i.value, this.$$p_d, "toProp"));
|
|
353
353
|
}
|
|
354
354
|
for (const i in this.$$p_d)
|
|
355
355
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -367,21 +367,21 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
|
|
|
367
367
|
this.$$r = !0;
|
|
368
368
|
for (const i in this.$$p_d)
|
|
369
369
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
370
|
-
const
|
|
370
|
+
const o = Be(
|
|
371
371
|
i,
|
|
372
372
|
this.$$d[i],
|
|
373
373
|
this.$$p_d,
|
|
374
374
|
"toAttribute"
|
|
375
375
|
);
|
|
376
|
-
|
|
376
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
377
377
|
}
|
|
378
378
|
this.$$r = !1;
|
|
379
379
|
};
|
|
380
380
|
this.$$c.$$.after_update.push(n), n();
|
|
381
381
|
for (const i in this.$$l)
|
|
382
|
-
for (const
|
|
383
|
-
const s = this.$$c.$on(i,
|
|
384
|
-
this.$$l_u.set(
|
|
382
|
+
for (const o of this.$$l[i]) {
|
|
383
|
+
const s = this.$$c.$on(i, o);
|
|
384
|
+
this.$$l_u.set(o, s);
|
|
385
385
|
}
|
|
386
386
|
this.$$l = {};
|
|
387
387
|
}
|
|
@@ -431,36 +431,36 @@ function Be(e, t, r, n) {
|
|
|
431
431
|
return t;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
function Br(e, t, r, n, i,
|
|
435
|
-
let s = class extends
|
|
434
|
+
function Br(e, t, r, n, i, o) {
|
|
435
|
+
let s = class extends At {
|
|
436
436
|
constructor() {
|
|
437
437
|
super(e, r, i), this.$$p_d = t;
|
|
438
438
|
}
|
|
439
439
|
static get observedAttributes() {
|
|
440
440
|
return Object.keys(t).map(
|
|
441
|
-
(
|
|
441
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
442
442
|
);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
|
-
return Object.keys(t).forEach((
|
|
446
|
-
Object.defineProperty(s.prototype,
|
|
445
|
+
return Object.keys(t).forEach((a) => {
|
|
446
|
+
Object.defineProperty(s.prototype, a, {
|
|
447
447
|
get() {
|
|
448
|
-
return this.$$c &&
|
|
448
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
449
449
|
},
|
|
450
450
|
set(h) {
|
|
451
|
-
h = Be(
|
|
451
|
+
h = Be(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
|
-
}), n.forEach((
|
|
455
|
-
Object.defineProperty(s.prototype,
|
|
454
|
+
}), n.forEach((a) => {
|
|
455
|
+
Object.defineProperty(s.prototype, a, {
|
|
456
456
|
get() {
|
|
457
|
-
return this.$$c?.[
|
|
457
|
+
return this.$$c?.[a];
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
}), e.element = /** @type {any} */
|
|
461
461
|
s, s;
|
|
462
462
|
}
|
|
463
|
-
class
|
|
463
|
+
class Sr {
|
|
464
464
|
/**
|
|
465
465
|
* ### PRIVATE API
|
|
466
466
|
*
|
|
@@ -479,7 +479,7 @@ class wr {
|
|
|
479
479
|
$$set = void 0;
|
|
480
480
|
/** @returns {void} */
|
|
481
481
|
$destroy() {
|
|
482
|
-
|
|
482
|
+
xr(this, 1), this.$destroy = X;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -488,8 +488,8 @@ class wr {
|
|
|
488
488
|
* @returns {() => void}
|
|
489
489
|
*/
|
|
490
490
|
$on(t, r) {
|
|
491
|
-
if (!
|
|
492
|
-
return
|
|
491
|
+
if (!nt(r))
|
|
492
|
+
return X;
|
|
493
493
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
494
494
|
return n.push(r), () => {
|
|
495
495
|
const i = n.indexOf(r);
|
|
@@ -501,7 +501,7 @@ class wr {
|
|
|
501
501
|
* @returns {void}
|
|
502
502
|
*/
|
|
503
503
|
$set(t) {
|
|
504
|
-
this.$$set && !
|
|
504
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
const Hr = "4";
|
|
@@ -509,14 +509,14 @@ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__
|
|
|
509
509
|
const ae = [];
|
|
510
510
|
function Cr(e, t) {
|
|
511
511
|
return {
|
|
512
|
-
subscribe:
|
|
512
|
+
subscribe: Ae(e, t).subscribe
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Ae(e, t = X) {
|
|
516
516
|
let r;
|
|
517
517
|
const n = /* @__PURE__ */ new Set();
|
|
518
|
-
function i(
|
|
519
|
-
if (
|
|
518
|
+
function i(a) {
|
|
519
|
+
if (kt(e, a) && (e = a, r)) {
|
|
520
520
|
const h = !ae.length;
|
|
521
521
|
for (const u of n)
|
|
522
522
|
u[1](), ae.push(u, e);
|
|
@@ -527,164 +527,150 @@ function ke(e, t = W) {
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function a
|
|
531
|
-
i(
|
|
530
|
+
function o(a) {
|
|
531
|
+
i(a(e));
|
|
532
532
|
}
|
|
533
|
-
function s(
|
|
534
|
-
const u = [
|
|
535
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
533
|
+
function s(a, h = X) {
|
|
534
|
+
const u = [a, h];
|
|
535
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || X), a(e), () => {
|
|
536
536
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
return { set: i, update:
|
|
539
|
+
return { set: i, update: o, subscribe: s };
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function me(e, t, r) {
|
|
542
542
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
543
543
|
if (!i.every(Boolean))
|
|
544
544
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
545
|
-
const
|
|
546
|
-
return Cr(r, (s,
|
|
545
|
+
const o = t.length < 2;
|
|
546
|
+
return Cr(r, (s, a) => {
|
|
547
547
|
let h = !1;
|
|
548
548
|
const u = [];
|
|
549
|
-
let l = 0, c =
|
|
549
|
+
let l = 0, c = X;
|
|
550
550
|
const f = () => {
|
|
551
551
|
if (l)
|
|
552
552
|
return;
|
|
553
553
|
c();
|
|
554
|
-
const
|
|
555
|
-
|
|
554
|
+
const v = t(n ? u[0] : u, s, a);
|
|
555
|
+
o ? s(v) : c = nt(v) ? v : X;
|
|
556
556
|
}, g = i.map(
|
|
557
|
-
(
|
|
558
|
-
|
|
559
|
-
(
|
|
560
|
-
u[
|
|
557
|
+
(v, x) => Nt(
|
|
558
|
+
v,
|
|
559
|
+
(S) => {
|
|
560
|
+
u[x] = S, l &= ~(1 << x), h && f();
|
|
561
561
|
},
|
|
562
562
|
() => {
|
|
563
|
-
l |= 1 <<
|
|
563
|
+
l |= 1 << x;
|
|
564
564
|
}
|
|
565
565
|
)
|
|
566
566
|
);
|
|
567
567
|
return h = !0, f(), function() {
|
|
568
|
-
|
|
568
|
+
Ee(g), c(), h = !1;
|
|
569
569
|
};
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
572
|
+
function Mr(e) {
|
|
573
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
return
|
|
575
|
+
var Rr = function(t) {
|
|
576
|
+
return kr(t) && !Nr(t);
|
|
577
577
|
};
|
|
578
|
-
function
|
|
578
|
+
function kr(e) {
|
|
579
579
|
return !!e && typeof e == "object";
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Nr(e) {
|
|
582
582
|
var t = Object.prototype.toString.call(e);
|
|
583
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
584
|
-
}
|
|
585
|
-
var Nr = typeof Symbol == "function" && Symbol.for, Ar = Nr ? Symbol.for("react.element") : 60103;
|
|
586
|
-
function Lr(e) {
|
|
587
|
-
return e.$$typeof === Ar;
|
|
583
|
+
return t === "[object RegExp]" || t === "[object Date]" || Pr(e);
|
|
588
584
|
}
|
|
585
|
+
var Ar = typeof Symbol == "function" && Symbol.for, Lr = Ar ? Symbol.for("react.element") : 60103;
|
|
589
586
|
function Pr(e) {
|
|
587
|
+
return e.$$typeof === Lr;
|
|
588
|
+
}
|
|
589
|
+
function Or(e) {
|
|
590
590
|
return Array.isArray(e) ? [] : {};
|
|
591
591
|
}
|
|
592
|
-
function
|
|
593
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
592
|
+
function ve(e, t) {
|
|
593
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(Or(e), e, t) : e;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Ir(e, t, r) {
|
|
596
596
|
return e.concat(t).map(function(n) {
|
|
597
|
-
return
|
|
597
|
+
return ve(n, r);
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function $r(e, t) {
|
|
601
601
|
if (!t.customMerge)
|
|
602
|
-
return
|
|
602
|
+
return le;
|
|
603
603
|
var r = t.customMerge(e);
|
|
604
|
-
return typeof r == "function" ? r :
|
|
604
|
+
return typeof r == "function" ? r : le;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Dr(e) {
|
|
607
607
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
608
608
|
return Object.propertyIsEnumerable.call(e, t);
|
|
609
609
|
}) : [];
|
|
610
610
|
}
|
|
611
|
-
function
|
|
612
|
-
return Object.keys(e).concat(
|
|
611
|
+
function lt(e) {
|
|
612
|
+
return Object.keys(e).concat(Dr(e));
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function Lt(e, t) {
|
|
615
615
|
try {
|
|
616
616
|
return t in e;
|
|
617
617
|
} catch {
|
|
618
618
|
return !1;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function Ur(e, t) {
|
|
622
|
+
return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Gr(e, t, r) {
|
|
625
625
|
var n = {};
|
|
626
|
-
return r.isMergeableObject(e) &&
|
|
627
|
-
n[i] =
|
|
628
|
-
}),
|
|
629
|
-
|
|
626
|
+
return r.isMergeableObject(e) && lt(e).forEach(function(i) {
|
|
627
|
+
n[i] = ve(e[i], r);
|
|
628
|
+
}), lt(t).forEach(function(i) {
|
|
629
|
+
Ur(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
|
|
630
630
|
}), n;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
634
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
635
|
-
return
|
|
632
|
+
function le(e, t, r) {
|
|
633
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = ve;
|
|
634
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
635
|
+
return o ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : ve(t, r);
|
|
636
636
|
}
|
|
637
|
-
|
|
637
|
+
le.all = function(t, r) {
|
|
638
638
|
if (!Array.isArray(t))
|
|
639
639
|
throw new Error("first argument should be an array");
|
|
640
640
|
return t.reduce(function(n, i) {
|
|
641
|
-
return
|
|
641
|
+
return le(n, i, r);
|
|
642
642
|
}, {});
|
|
643
643
|
};
|
|
644
|
-
var
|
|
645
|
-
const
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
650
|
-
purpose with or without fee is hereby granted.
|
|
651
|
-
|
|
652
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
653
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
654
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
655
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
656
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
657
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
658
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
659
|
-
***************************************************************************** */
|
|
660
|
-
var Xe = function(e, t) {
|
|
661
|
-
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
644
|
+
var Fr = le, jr = Fr;
|
|
645
|
+
const Vr = /* @__PURE__ */ Mr(jr);
|
|
646
|
+
var Ze = function(e, t) {
|
|
647
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
662
648
|
r.__proto__ = n;
|
|
663
649
|
} || function(r, n) {
|
|
664
650
|
for (var i in n)
|
|
665
651
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
666
|
-
},
|
|
652
|
+
}, Ze(e, t);
|
|
667
653
|
};
|
|
668
|
-
function
|
|
654
|
+
function Le(e, t) {
|
|
669
655
|
if (typeof t != "function" && t !== null)
|
|
670
656
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
671
|
-
|
|
657
|
+
Ze(e, t);
|
|
672
658
|
function r() {
|
|
673
659
|
this.constructor = e;
|
|
674
660
|
}
|
|
675
661
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
676
662
|
}
|
|
677
|
-
var
|
|
678
|
-
return
|
|
663
|
+
var Z = function() {
|
|
664
|
+
return Z = Object.assign || function(t) {
|
|
679
665
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
680
666
|
r = arguments[n];
|
|
681
|
-
for (var
|
|
682
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
667
|
+
for (var o in r)
|
|
668
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
683
669
|
}
|
|
684
670
|
return t;
|
|
685
|
-
},
|
|
671
|
+
}, Z.apply(this, arguments);
|
|
686
672
|
};
|
|
687
|
-
function
|
|
673
|
+
function zr(e, t) {
|
|
688
674
|
var r = {};
|
|
689
675
|
for (var n in e)
|
|
690
676
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -693,46 +679,43 @@ function Vr(e, t) {
|
|
|
693
679
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
694
680
|
return r;
|
|
695
681
|
}
|
|
696
|
-
function
|
|
697
|
-
if (arguments.length === 2)
|
|
698
|
-
for (var n = 0, i = t.length,
|
|
699
|
-
(
|
|
700
|
-
return e.concat(
|
|
682
|
+
function De(e, t, r) {
|
|
683
|
+
if (r || arguments.length === 2)
|
|
684
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
685
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
686
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
701
687
|
}
|
|
702
|
-
function
|
|
703
|
-
var r = t && t.cache ? t.cache :
|
|
688
|
+
function Ue(e, t) {
|
|
689
|
+
var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Zr;
|
|
704
690
|
return i(e, {
|
|
705
691
|
cache: r,
|
|
706
692
|
serializer: n
|
|
707
693
|
});
|
|
708
694
|
}
|
|
709
|
-
function
|
|
695
|
+
function Xr(e) {
|
|
710
696
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
711
697
|
}
|
|
712
|
-
function
|
|
713
|
-
var i =
|
|
714
|
-
return typeof
|
|
698
|
+
function Wr(e, t, r, n) {
|
|
699
|
+
var i = Xr(n) ? n : r(n), o = t.get(i);
|
|
700
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
715
701
|
}
|
|
716
702
|
function Pt(e, t, r) {
|
|
717
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
718
|
-
return typeof
|
|
703
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
704
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
719
705
|
}
|
|
720
|
-
function
|
|
706
|
+
function Ot(e, t, r, n, i) {
|
|
721
707
|
return r.bind(t, e, n, i);
|
|
722
708
|
}
|
|
723
|
-
function Xr(e, t) {
|
|
724
|
-
var r = e.length === 1 ? Lt : Pt;
|
|
725
|
-
return rt(e, this, r, t.cache.create(), t.serializer);
|
|
726
|
-
}
|
|
727
|
-
function Wr(e, t) {
|
|
728
|
-
return rt(e, this, Pt, t.cache.create(), t.serializer);
|
|
729
|
-
}
|
|
730
709
|
function Zr(e, t) {
|
|
731
|
-
|
|
710
|
+
var r = e.length === 1 ? Wr : Pt;
|
|
711
|
+
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
732
712
|
}
|
|
733
|
-
|
|
713
|
+
function Jr(e, t) {
|
|
714
|
+
return Ot(e, this, Pt, t.cache.create(), t.serializer);
|
|
715
|
+
}
|
|
716
|
+
var Yr = function() {
|
|
734
717
|
return JSON.stringify(arguments);
|
|
735
|
-
},
|
|
718
|
+
}, Kr = (
|
|
736
719
|
/** @class */
|
|
737
720
|
function() {
|
|
738
721
|
function e() {
|
|
@@ -744,62 +727,71 @@ var Jr = function() {
|
|
|
744
727
|
this.cache[t] = r;
|
|
745
728
|
}, e;
|
|
746
729
|
}()
|
|
747
|
-
),
|
|
730
|
+
), qr = {
|
|
748
731
|
create: function() {
|
|
749
|
-
return new
|
|
732
|
+
return new Kr();
|
|
750
733
|
}
|
|
751
|
-
},
|
|
752
|
-
variadic:
|
|
753
|
-
|
|
754
|
-
|
|
734
|
+
}, Ge = {
|
|
735
|
+
variadic: Jr
|
|
736
|
+
}, Ce = function() {
|
|
737
|
+
return Ce = Object.assign || function(t) {
|
|
738
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
739
|
+
r = arguments[n];
|
|
740
|
+
for (var o in r)
|
|
741
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
742
|
+
}
|
|
743
|
+
return t;
|
|
744
|
+
}, Ce.apply(this, arguments);
|
|
745
|
+
};
|
|
746
|
+
var b;
|
|
755
747
|
(function(e) {
|
|
756
748
|
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";
|
|
757
749
|
})(b || (b = {}));
|
|
758
|
-
var
|
|
750
|
+
var T;
|
|
759
751
|
(function(e) {
|
|
760
752
|
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";
|
|
761
|
-
})(
|
|
762
|
-
var
|
|
753
|
+
})(T || (T = {}));
|
|
754
|
+
var he;
|
|
763
755
|
(function(e) {
|
|
764
756
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
765
|
-
})(
|
|
766
|
-
function
|
|
767
|
-
return e.type ===
|
|
768
|
-
}
|
|
769
|
-
function qr(e) {
|
|
770
|
-
return e.type === B.argument;
|
|
757
|
+
})(he || (he = {}));
|
|
758
|
+
function ht(e) {
|
|
759
|
+
return e.type === T.literal;
|
|
771
760
|
}
|
|
772
|
-
function
|
|
773
|
-
return e.type ===
|
|
761
|
+
function Qr(e) {
|
|
762
|
+
return e.type === T.argument;
|
|
774
763
|
}
|
|
775
764
|
function It(e) {
|
|
776
|
-
return e.type ===
|
|
765
|
+
return e.type === T.number;
|
|
777
766
|
}
|
|
778
767
|
function $t(e) {
|
|
779
|
-
return e.type ===
|
|
768
|
+
return e.type === T.date;
|
|
780
769
|
}
|
|
781
770
|
function Dt(e) {
|
|
782
|
-
return e.type ===
|
|
771
|
+
return e.type === T.time;
|
|
783
772
|
}
|
|
784
773
|
function Ut(e) {
|
|
785
|
-
return e.type ===
|
|
786
|
-
}
|
|
787
|
-
function Qr(e) {
|
|
788
|
-
return e.type === B.pound;
|
|
774
|
+
return e.type === T.select;
|
|
789
775
|
}
|
|
790
776
|
function Gt(e) {
|
|
791
|
-
return e.type ===
|
|
777
|
+
return e.type === T.plural;
|
|
778
|
+
}
|
|
779
|
+
function en(e) {
|
|
780
|
+
return e.type === T.pound;
|
|
792
781
|
}
|
|
793
782
|
function Ft(e) {
|
|
794
|
-
return
|
|
783
|
+
return e.type === T.tag;
|
|
795
784
|
}
|
|
796
|
-
function
|
|
797
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
785
|
+
function jt(e) {
|
|
786
|
+
return !!(e && typeof e == "object" && e.type === he.number);
|
|
798
787
|
}
|
|
799
|
-
|
|
800
|
-
|
|
788
|
+
function Je(e) {
|
|
789
|
+
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
790
|
+
}
|
|
791
|
+
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[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;
|
|
792
|
+
function rn(e) {
|
|
801
793
|
var t = {};
|
|
802
|
-
return e.replace(
|
|
794
|
+
return e.replace(tn, function(r) {
|
|
803
795
|
var n = r.length;
|
|
804
796
|
switch (r[0]) {
|
|
805
797
|
case "G":
|
|
@@ -888,36 +880,46 @@ function tn(e) {
|
|
|
888
880
|
return "";
|
|
889
881
|
}), t;
|
|
890
882
|
}
|
|
891
|
-
var
|
|
892
|
-
function
|
|
883
|
+
var w = function() {
|
|
884
|
+
return w = Object.assign || function(t) {
|
|
885
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
886
|
+
r = arguments[n];
|
|
887
|
+
for (var o in r)
|
|
888
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
889
|
+
}
|
|
890
|
+
return t;
|
|
891
|
+
}, w.apply(this, arguments);
|
|
892
|
+
};
|
|
893
|
+
var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
894
|
+
function on(e) {
|
|
893
895
|
if (e.length === 0)
|
|
894
896
|
throw new Error("Number skeleton cannot be empty");
|
|
895
|
-
for (var t = e.split(
|
|
897
|
+
for (var t = e.split(nn).filter(function(f) {
|
|
896
898
|
return f.length > 0;
|
|
897
899
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
898
|
-
var
|
|
900
|
+
var o = i[n], s = o.split("/");
|
|
899
901
|
if (s.length === 0)
|
|
900
902
|
throw new Error("Invalid number skeleton");
|
|
901
|
-
for (var
|
|
903
|
+
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
902
904
|
var c = l[u];
|
|
903
905
|
if (c.length === 0)
|
|
904
906
|
throw new Error("Invalid number skeleton");
|
|
905
907
|
}
|
|
906
|
-
r.push({ stem:
|
|
908
|
+
r.push({ stem: a, options: h });
|
|
907
909
|
}
|
|
908
910
|
return r;
|
|
909
911
|
}
|
|
910
912
|
function an(e) {
|
|
911
913
|
return e.replace(/^(.*?)-/, "");
|
|
912
914
|
}
|
|
913
|
-
var
|
|
914
|
-
function
|
|
915
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
916
|
+
function ft(e) {
|
|
915
917
|
var t = {};
|
|
916
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
918
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
|
|
917
919
|
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)), "";
|
|
918
920
|
}), t;
|
|
919
921
|
}
|
|
920
|
-
function
|
|
922
|
+
function Wt(e) {
|
|
921
923
|
switch (e) {
|
|
922
924
|
case "sign-auto":
|
|
923
925
|
return {
|
|
@@ -957,7 +959,7 @@ function Xt(e) {
|
|
|
957
959
|
};
|
|
958
960
|
}
|
|
959
961
|
}
|
|
960
|
-
function
|
|
962
|
+
function un(e) {
|
|
961
963
|
var t;
|
|
962
964
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
963
965
|
notation: "engineering"
|
|
@@ -965,17 +967,17 @@ function sn(e) {
|
|
|
965
967
|
notation: "scientific"
|
|
966
968
|
}, e = e.slice(1)), t) {
|
|
967
969
|
var r = e.slice(0, 2);
|
|
968
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
970
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
|
|
969
971
|
throw new Error("Malformed concise eng/scientific notation");
|
|
970
972
|
t.minimumIntegerDigits = e.length;
|
|
971
973
|
}
|
|
972
974
|
return t;
|
|
973
975
|
}
|
|
974
|
-
function
|
|
975
|
-
var t = {}, r =
|
|
976
|
+
function mt(e) {
|
|
977
|
+
var t = {}, r = Wt(e);
|
|
976
978
|
return r || t;
|
|
977
979
|
}
|
|
978
|
-
function
|
|
980
|
+
function ln(e) {
|
|
979
981
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
980
982
|
var i = n[r];
|
|
981
983
|
switch (i.stem) {
|
|
@@ -1010,13 +1012,13 @@ function un(e) {
|
|
|
1010
1012
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1011
1013
|
continue;
|
|
1012
1014
|
case "scientific":
|
|
1013
|
-
t =
|
|
1014
|
-
return
|
|
1015
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1016
|
+
return w(w({}, h), mt(u));
|
|
1015
1017
|
}, {}));
|
|
1016
1018
|
continue;
|
|
1017
1019
|
case "engineering":
|
|
1018
|
-
t =
|
|
1019
|
-
return
|
|
1020
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1021
|
+
return w(w({}, h), mt(u));
|
|
1020
1022
|
}, {}));
|
|
1021
1023
|
continue;
|
|
1022
1024
|
case "notation-simple":
|
|
@@ -1061,7 +1063,7 @@ function un(e) {
|
|
|
1061
1063
|
case "integer-width":
|
|
1062
1064
|
if (i.options.length > 1)
|
|
1063
1065
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1064
|
-
i.options[0].replace(
|
|
1066
|
+
i.options[0].replace(sn, function(h, u, l, c, f, g) {
|
|
1065
1067
|
if (u)
|
|
1066
1068
|
t.minimumIntegerDigits = l.length;
|
|
1067
1069
|
else {
|
|
@@ -1074,32 +1076,32 @@ function un(e) {
|
|
|
1074
1076
|
});
|
|
1075
1077
|
continue;
|
|
1076
1078
|
}
|
|
1077
|
-
if (
|
|
1079
|
+
if (Xt.test(i.stem)) {
|
|
1078
1080
|
t.minimumIntegerDigits = i.stem.length;
|
|
1079
1081
|
continue;
|
|
1080
1082
|
}
|
|
1081
|
-
if (
|
|
1083
|
+
if (ct.test(i.stem)) {
|
|
1082
1084
|
if (i.options.length > 1)
|
|
1083
1085
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1084
|
-
i.stem.replace(
|
|
1086
|
+
i.stem.replace(ct, function(h, u, l, c, f, g) {
|
|
1085
1087
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1086
1088
|
});
|
|
1087
|
-
var
|
|
1088
|
-
|
|
1089
|
+
var o = i.options[0];
|
|
1090
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), ft(o)));
|
|
1089
1091
|
continue;
|
|
1090
1092
|
}
|
|
1091
|
-
if (
|
|
1092
|
-
t =
|
|
1093
|
+
if (zt.test(i.stem)) {
|
|
1094
|
+
t = w(w({}, t), ft(i.stem));
|
|
1093
1095
|
continue;
|
|
1094
1096
|
}
|
|
1095
|
-
var s =
|
|
1096
|
-
s && (t =
|
|
1097
|
-
var
|
|
1098
|
-
|
|
1097
|
+
var s = Wt(i.stem);
|
|
1098
|
+
s && (t = w(w({}, t), s));
|
|
1099
|
+
var a = un(i.stem);
|
|
1100
|
+
a && (t = w(w({}, t), a));
|
|
1099
1101
|
}
|
|
1100
1102
|
return t;
|
|
1101
1103
|
}
|
|
1102
|
-
var
|
|
1104
|
+
var we = {
|
|
1103
1105
|
"001": [
|
|
1104
1106
|
"H",
|
|
1105
1107
|
"h"
|
|
@@ -2514,14 +2516,14 @@ var Te = {
|
|
|
2514
2516
|
"h"
|
|
2515
2517
|
]
|
|
2516
2518
|
};
|
|
2517
|
-
function
|
|
2519
|
+
function hn(e, t) {
|
|
2518
2520
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2519
2521
|
var i = e.charAt(n);
|
|
2520
2522
|
if (i === "j") {
|
|
2521
|
-
for (var
|
|
2522
|
-
|
|
2523
|
-
var s = 1 + (
|
|
2524
|
-
for ((u == "H" || u == "k") && (
|
|
2523
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2524
|
+
o++, n++;
|
|
2525
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = cn(t);
|
|
2526
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2525
2527
|
r += h;
|
|
2526
2528
|
for (; s-- > 0; )
|
|
2527
2529
|
r = u + r;
|
|
@@ -2530,7 +2532,7 @@ function ln(e, t) {
|
|
|
2530
2532
|
}
|
|
2531
2533
|
return r;
|
|
2532
2534
|
}
|
|
2533
|
-
function
|
|
2535
|
+
function cn(e) {
|
|
2534
2536
|
var t = e.hourCycle;
|
|
2535
2537
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2536
2538
|
e.hourCycles && // @ts-ignore
|
|
@@ -2549,23 +2551,23 @@ function hn(e) {
|
|
|
2549
2551
|
}
|
|
2550
2552
|
var r = e.language, n;
|
|
2551
2553
|
r !== "root" && (n = e.maximize().region);
|
|
2552
|
-
var i =
|
|
2554
|
+
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
2553
2555
|
return i[0];
|
|
2554
2556
|
}
|
|
2555
|
-
var
|
|
2556
|
-
function
|
|
2557
|
+
var Fe, fn = new RegExp("^".concat(Vt.source, "*")), mn = new RegExp("".concat(Vt.source, "*$"));
|
|
2558
|
+
function y(e, t) {
|
|
2557
2559
|
return { start: e, end: t };
|
|
2558
2560
|
}
|
|
2559
|
-
var
|
|
2561
|
+
var dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), pn = !!String.fromCodePoint, bn = !!Object.fromEntries, gn = !!String.prototype.codePointAt, yn = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, En = _n ? Number.isSafeInteger : function(e) {
|
|
2560
2562
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2561
|
-
},
|
|
2563
|
+
}, Ye = !0;
|
|
2562
2564
|
try {
|
|
2563
|
-
var
|
|
2564
|
-
|
|
2565
|
+
var xn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2566
|
+
Ye = ((Fe = xn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
2565
2567
|
} catch {
|
|
2566
|
-
|
|
2568
|
+
Ye = !1;
|
|
2567
2569
|
}
|
|
2568
|
-
var
|
|
2570
|
+
var dt = dn ? (
|
|
2569
2571
|
// Native
|
|
2570
2572
|
function(t, r, n) {
|
|
2571
2573
|
return t.startsWith(r, n);
|
|
@@ -2575,31 +2577,31 @@ var mt = mn ? (
|
|
|
2575
2577
|
function(t, r, n) {
|
|
2576
2578
|
return t.slice(n, n + r.length) === r;
|
|
2577
2579
|
}
|
|
2578
|
-
),
|
|
2580
|
+
), Ke = pn ? String.fromCodePoint : (
|
|
2579
2581
|
// IE11
|
|
2580
2582
|
function() {
|
|
2581
2583
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2582
2584
|
t[r] = arguments[r];
|
|
2583
|
-
for (var n = "", i = t.length,
|
|
2584
|
-
if (s = t[
|
|
2585
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
2586
|
+
if (s = t[o++], s > 1114111)
|
|
2585
2587
|
throw RangeError(s + " is not a valid code point");
|
|
2586
2588
|
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2587
2589
|
}
|
|
2588
2590
|
return n;
|
|
2589
2591
|
}
|
|
2590
|
-
),
|
|
2592
|
+
), pt = (
|
|
2591
2593
|
// native
|
|
2592
|
-
|
|
2594
|
+
bn ? Object.fromEntries : (
|
|
2593
2595
|
// Ponyfill
|
|
2594
2596
|
function(t) {
|
|
2595
2597
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2596
|
-
var
|
|
2597
|
-
r[s] =
|
|
2598
|
+
var o = i[n], s = o[0], a = o[1];
|
|
2599
|
+
r[s] = a;
|
|
2598
2600
|
}
|
|
2599
2601
|
return r;
|
|
2600
2602
|
}
|
|
2601
2603
|
)
|
|
2602
|
-
),
|
|
2604
|
+
), Zt = gn ? (
|
|
2603
2605
|
// Native
|
|
2604
2606
|
function(t, r) {
|
|
2605
2607
|
return t.codePointAt(r);
|
|
@@ -2609,11 +2611,11 @@ var mt = mn ? (
|
|
|
2609
2611
|
function(t, r) {
|
|
2610
2612
|
var n = t.length;
|
|
2611
2613
|
if (!(r < 0 || r >= n)) {
|
|
2612
|
-
var i = t.charCodeAt(r),
|
|
2613
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2614
|
+
var i = t.charCodeAt(r), o;
|
|
2615
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2614
2616
|
}
|
|
2615
2617
|
}
|
|
2616
|
-
),
|
|
2618
|
+
), Tn = yn ? (
|
|
2617
2619
|
// Native
|
|
2618
2620
|
function(t) {
|
|
2619
2621
|
return t.trimStart();
|
|
@@ -2621,9 +2623,9 @@ var mt = mn ? (
|
|
|
2621
2623
|
) : (
|
|
2622
2624
|
// Ponyfill
|
|
2623
2625
|
function(t) {
|
|
2624
|
-
return t.replace(
|
|
2626
|
+
return t.replace(fn, "");
|
|
2625
2627
|
}
|
|
2626
|
-
),
|
|
2628
|
+
), wn = vn ? (
|
|
2627
2629
|
// Native
|
|
2628
2630
|
function(t) {
|
|
2629
2631
|
return t.trimEnd();
|
|
@@ -2631,30 +2633,30 @@ var mt = mn ? (
|
|
|
2631
2633
|
) : (
|
|
2632
2634
|
// Ponyfill
|
|
2633
2635
|
function(t) {
|
|
2634
|
-
return t.replace(
|
|
2636
|
+
return t.replace(mn, "");
|
|
2635
2637
|
}
|
|
2636
2638
|
);
|
|
2637
|
-
function
|
|
2639
|
+
function Jt(e, t) {
|
|
2638
2640
|
return new RegExp(e, t);
|
|
2639
2641
|
}
|
|
2640
|
-
var
|
|
2641
|
-
if (
|
|
2642
|
-
var
|
|
2643
|
-
|
|
2642
|
+
var qe;
|
|
2643
|
+
if (Ye) {
|
|
2644
|
+
var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2645
|
+
qe = function(t, r) {
|
|
2644
2646
|
var n;
|
|
2645
|
-
|
|
2646
|
-
var i =
|
|
2647
|
+
bt.lastIndex = r;
|
|
2648
|
+
var i = bt.exec(t);
|
|
2647
2649
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2648
2650
|
};
|
|
2649
2651
|
} else
|
|
2650
|
-
|
|
2652
|
+
qe = function(t, r) {
|
|
2651
2653
|
for (var n = []; ; ) {
|
|
2652
|
-
var i =
|
|
2653
|
-
if (i === void 0 ||
|
|
2654
|
+
var i = Zt(t, r);
|
|
2655
|
+
if (i === void 0 || Yt(i) || Cn(i))
|
|
2654
2656
|
break;
|
|
2655
2657
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2656
2658
|
}
|
|
2657
|
-
return
|
|
2659
|
+
return Ke.apply(void 0, n);
|
|
2658
2660
|
};
|
|
2659
2661
|
var Bn = (
|
|
2660
2662
|
/** @class */
|
|
@@ -2668,26 +2670,26 @@ var Bn = (
|
|
|
2668
2670
|
return this.parseMessage(0, "", !1);
|
|
2669
2671
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2670
2672
|
for (var i = []; !this.isEOF(); ) {
|
|
2671
|
-
var
|
|
2672
|
-
if (
|
|
2673
|
+
var o = this.char();
|
|
2674
|
+
if (o === 123) {
|
|
2673
2675
|
var s = this.parseArgument(t, n);
|
|
2674
2676
|
if (s.err)
|
|
2675
2677
|
return s;
|
|
2676
2678
|
i.push(s.val);
|
|
2677
2679
|
} else {
|
|
2678
|
-
if (
|
|
2680
|
+
if (o === 125 && t > 0)
|
|
2679
2681
|
break;
|
|
2680
|
-
if (
|
|
2681
|
-
var
|
|
2682
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2683
|
+
var a = this.clonePosition();
|
|
2682
2684
|
this.bump(), i.push({
|
|
2683
|
-
type:
|
|
2684
|
-
location:
|
|
2685
|
+
type: T.pound,
|
|
2686
|
+
location: y(a, this.clonePosition())
|
|
2685
2687
|
});
|
|
2686
|
-
} else if (
|
|
2688
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2687
2689
|
if (n)
|
|
2688
2690
|
break;
|
|
2689
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
2690
|
-
} else if (
|
|
2691
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2692
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
|
2691
2693
|
var s = this.parseTag(t, r);
|
|
2692
2694
|
if (s.err)
|
|
2693
2695
|
return s;
|
|
@@ -2708,34 +2710,34 @@ var Bn = (
|
|
|
2708
2710
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2709
2711
|
return {
|
|
2710
2712
|
val: {
|
|
2711
|
-
type:
|
|
2713
|
+
type: T.literal,
|
|
2712
2714
|
value: "<".concat(i, "/>"),
|
|
2713
|
-
location:
|
|
2715
|
+
location: y(n, this.clonePosition())
|
|
2714
2716
|
},
|
|
2715
2717
|
err: null
|
|
2716
2718
|
};
|
|
2717
2719
|
if (this.bumpIf(">")) {
|
|
2718
|
-
var
|
|
2719
|
-
if (
|
|
2720
|
-
return
|
|
2721
|
-
var s =
|
|
2720
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2721
|
+
if (o.err)
|
|
2722
|
+
return o;
|
|
2723
|
+
var s = o.val, a = this.clonePosition();
|
|
2722
2724
|
if (this.bumpIf("</")) {
|
|
2723
|
-
if (this.isEOF() || !
|
|
2724
|
-
return this.error(b.INVALID_TAG,
|
|
2725
|
+
if (this.isEOF() || !Qe(this.char()))
|
|
2726
|
+
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
2725
2727
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2726
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
2728
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2727
2729
|
val: {
|
|
2728
|
-
type:
|
|
2730
|
+
type: T.tag,
|
|
2729
2731
|
value: i,
|
|
2730
2732
|
children: s,
|
|
2731
|
-
location:
|
|
2733
|
+
location: y(n, this.clonePosition())
|
|
2732
2734
|
},
|
|
2733
2735
|
err: null
|
|
2734
|
-
} : this.error(b.INVALID_TAG,
|
|
2736
|
+
} : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
|
|
2735
2737
|
} else
|
|
2736
|
-
return this.error(b.UNCLOSED_TAG,
|
|
2738
|
+
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
2737
2739
|
} else
|
|
2738
|
-
return this.error(b.INVALID_TAG,
|
|
2740
|
+
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
2739
2741
|
}, e.prototype.parseTagName = function() {
|
|
2740
2742
|
var t = this.offset();
|
|
2741
2743
|
for (this.bump(); !this.isEOF() && Hn(this.char()); )
|
|
@@ -2743,9 +2745,9 @@ var Bn = (
|
|
|
2743
2745
|
return this.message.slice(t, this.offset());
|
|
2744
2746
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2745
2747
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2746
|
-
var
|
|
2747
|
-
if (
|
|
2748
|
-
i +=
|
|
2748
|
+
var o = this.tryParseQuote(r);
|
|
2749
|
+
if (o) {
|
|
2750
|
+
i += o;
|
|
2749
2751
|
continue;
|
|
2750
2752
|
}
|
|
2751
2753
|
var s = this.tryParseUnquoted(t, r);
|
|
@@ -2753,21 +2755,21 @@ var Bn = (
|
|
|
2753
2755
|
i += s;
|
|
2754
2756
|
continue;
|
|
2755
2757
|
}
|
|
2756
|
-
var
|
|
2757
|
-
if (
|
|
2758
|
-
i +=
|
|
2758
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2759
|
+
if (a) {
|
|
2760
|
+
i += a;
|
|
2759
2761
|
continue;
|
|
2760
2762
|
}
|
|
2761
2763
|
break;
|
|
2762
2764
|
}
|
|
2763
|
-
var h =
|
|
2765
|
+
var h = y(n, this.clonePosition());
|
|
2764
2766
|
return {
|
|
2765
|
-
val: { type:
|
|
2767
|
+
val: { type: T.literal, value: i, location: h },
|
|
2766
2768
|
err: null
|
|
2767
2769
|
};
|
|
2768
2770
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2769
2771
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2770
|
-
!
|
|
2772
|
+
!Sn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2771
2773
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2772
2774
|
if (this.isEOF() || this.char() !== 39)
|
|
2773
2775
|
return null;
|
|
@@ -2801,49 +2803,49 @@ var Bn = (
|
|
|
2801
2803
|
r.push(n);
|
|
2802
2804
|
this.bump();
|
|
2803
2805
|
}
|
|
2804
|
-
return
|
|
2806
|
+
return Ke.apply(void 0, r);
|
|
2805
2807
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2806
2808
|
if (this.isEOF())
|
|
2807
2809
|
return null;
|
|
2808
2810
|
var n = this.char();
|
|
2809
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2811
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
|
2810
2812
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2811
2813
|
var n = this.clonePosition();
|
|
2812
2814
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2813
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2815
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
2814
2816
|
if (this.char() === 125)
|
|
2815
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
2817
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
2816
2818
|
var i = this.parseIdentifierIfPossible().value;
|
|
2817
2819
|
if (!i)
|
|
2818
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2820
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
2819
2821
|
if (this.bumpSpace(), this.isEOF())
|
|
2820
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2822
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
2821
2823
|
switch (this.char()) {
|
|
2822
2824
|
case 125:
|
|
2823
2825
|
return this.bump(), {
|
|
2824
2826
|
val: {
|
|
2825
|
-
type:
|
|
2827
|
+
type: T.argument,
|
|
2826
2828
|
// value does not include the opening and closing braces.
|
|
2827
2829
|
value: i,
|
|
2828
|
-
location:
|
|
2830
|
+
location: y(n, this.clonePosition())
|
|
2829
2831
|
},
|
|
2830
2832
|
err: null
|
|
2831
2833
|
};
|
|
2832
2834
|
case 44:
|
|
2833
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2835
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2834
2836
|
default:
|
|
2835
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2837
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
2836
2838
|
}
|
|
2837
2839
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2838
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2840
|
+
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
|
2839
2841
|
this.bumpTo(i);
|
|
2840
|
-
var
|
|
2842
|
+
var o = this.clonePosition(), s = y(t, o);
|
|
2841
2843
|
return { value: n, location: s };
|
|
2842
2844
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2843
|
-
var
|
|
2844
|
-
switch (
|
|
2845
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2846
|
+
switch (a) {
|
|
2845
2847
|
case "":
|
|
2846
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
2848
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
|
|
2847
2849
|
case "number":
|
|
2848
2850
|
case "date":
|
|
2849
2851
|
case "time": {
|
|
@@ -2854,47 +2856,47 @@ var Bn = (
|
|
|
2854
2856
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2855
2857
|
if (c.err)
|
|
2856
2858
|
return c;
|
|
2857
|
-
var f =
|
|
2859
|
+
var f = wn(c.val);
|
|
2858
2860
|
if (f.length === 0)
|
|
2859
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
2860
|
-
var g =
|
|
2861
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
2862
|
+
var g = y(l, this.clonePosition());
|
|
2861
2863
|
u = { style: f, styleLocation: g };
|
|
2862
2864
|
}
|
|
2863
|
-
var
|
|
2864
|
-
if (
|
|
2865
|
-
return
|
|
2866
|
-
var
|
|
2867
|
-
if (u &&
|
|
2868
|
-
var
|
|
2869
|
-
if (
|
|
2870
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2865
|
+
var v = this.tryParseArgumentClose(i);
|
|
2866
|
+
if (v.err)
|
|
2867
|
+
return v;
|
|
2868
|
+
var x = y(i, this.clonePosition());
|
|
2869
|
+
if (u && dt(u?.style, "::", 0)) {
|
|
2870
|
+
var S = Tn(u.style.slice(2));
|
|
2871
|
+
if (a === "number") {
|
|
2872
|
+
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
2871
2873
|
return c.err ? c : {
|
|
2872
|
-
val: { type:
|
|
2874
|
+
val: { type: T.number, value: n, location: x, style: c.val },
|
|
2873
2875
|
err: null
|
|
2874
2876
|
};
|
|
2875
2877
|
} else {
|
|
2876
|
-
if (
|
|
2877
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
2878
|
-
var
|
|
2879
|
-
this.locale && (
|
|
2878
|
+
if (S.length === 0)
|
|
2879
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
|
|
2880
|
+
var B = S;
|
|
2881
|
+
this.locale && (B = hn(S, this.locale));
|
|
2880
2882
|
var f = {
|
|
2881
|
-
type:
|
|
2882
|
-
pattern:
|
|
2883
|
+
type: he.dateTime,
|
|
2884
|
+
pattern: B,
|
|
2883
2885
|
location: u.styleLocation,
|
|
2884
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2885
|
-
}, R =
|
|
2886
|
+
parsedOptions: this.shouldParseSkeletons ? rn(B) : {}
|
|
2887
|
+
}, R = a === "date" ? T.date : T.time;
|
|
2886
2888
|
return {
|
|
2887
|
-
val: { type: R, value: n, location:
|
|
2889
|
+
val: { type: R, value: n, location: x, style: f },
|
|
2888
2890
|
err: null
|
|
2889
2891
|
};
|
|
2890
2892
|
}
|
|
2891
2893
|
}
|
|
2892
2894
|
return {
|
|
2893
2895
|
val: {
|
|
2894
|
-
type:
|
|
2896
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
2895
2897
|
value: n,
|
|
2896
|
-
location:
|
|
2897
|
-
style: (
|
|
2898
|
+
location: x,
|
|
2899
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
2898
2900
|
},
|
|
2899
2901
|
err: null
|
|
2900
2902
|
};
|
|
@@ -2902,52 +2904,52 @@ var Bn = (
|
|
|
2902
2904
|
case "plural":
|
|
2903
2905
|
case "selectordinal":
|
|
2904
2906
|
case "select": {
|
|
2905
|
-
var
|
|
2907
|
+
var C = this.clonePosition();
|
|
2906
2908
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2907
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2909
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(C, Ce({}, C)));
|
|
2908
2910
|
this.bumpSpace();
|
|
2909
|
-
var
|
|
2910
|
-
if (
|
|
2911
|
+
var A = this.parseIdentifierIfPossible(), k = 0;
|
|
2912
|
+
if (a !== "select" && A.value === "offset") {
|
|
2911
2913
|
if (!this.bumpIf(":"))
|
|
2912
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2914
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
2913
2915
|
this.bumpSpace();
|
|
2914
2916
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2915
2917
|
if (c.err)
|
|
2916
2918
|
return c;
|
|
2917
|
-
this.bumpSpace(),
|
|
2919
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), k = c.val;
|
|
2918
2920
|
}
|
|
2919
|
-
var
|
|
2920
|
-
if (
|
|
2921
|
-
return
|
|
2922
|
-
var
|
|
2923
|
-
if (
|
|
2924
|
-
return
|
|
2925
|
-
var
|
|
2926
|
-
return
|
|
2921
|
+
var z = this.tryParsePluralOrSelectOptions(t, a, r, A);
|
|
2922
|
+
if (z.err)
|
|
2923
|
+
return z;
|
|
2924
|
+
var v = this.tryParseArgumentClose(i);
|
|
2925
|
+
if (v.err)
|
|
2926
|
+
return v;
|
|
2927
|
+
var te = y(i, this.clonePosition());
|
|
2928
|
+
return a === "select" ? {
|
|
2927
2929
|
val: {
|
|
2928
|
-
type:
|
|
2930
|
+
type: T.select,
|
|
2929
2931
|
value: n,
|
|
2930
|
-
options:
|
|
2931
|
-
location:
|
|
2932
|
+
options: pt(z.val),
|
|
2933
|
+
location: te
|
|
2932
2934
|
},
|
|
2933
2935
|
err: null
|
|
2934
2936
|
} : {
|
|
2935
2937
|
val: {
|
|
2936
|
-
type:
|
|
2938
|
+
type: T.plural,
|
|
2937
2939
|
value: n,
|
|
2938
|
-
options:
|
|
2939
|
-
offset:
|
|
2940
|
-
pluralType:
|
|
2941
|
-
location:
|
|
2940
|
+
options: pt(z.val),
|
|
2941
|
+
offset: k,
|
|
2942
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2943
|
+
location: te
|
|
2942
2944
|
},
|
|
2943
2945
|
err: null
|
|
2944
2946
|
};
|
|
2945
2947
|
}
|
|
2946
2948
|
default:
|
|
2947
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
2949
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
|
|
2948
2950
|
}
|
|
2949
2951
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2950
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2952
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2951
2953
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2952
2954
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2953
2955
|
var n = this.char();
|
|
@@ -2956,7 +2958,7 @@ var Bn = (
|
|
|
2956
2958
|
this.bump();
|
|
2957
2959
|
var i = this.clonePosition();
|
|
2958
2960
|
if (!this.bumpUntil("'"))
|
|
2959
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2961
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
2960
2962
|
this.bump();
|
|
2961
2963
|
break;
|
|
2962
2964
|
}
|
|
@@ -2986,28 +2988,28 @@ var Bn = (
|
|
|
2986
2988
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2987
2989
|
var n = [];
|
|
2988
2990
|
try {
|
|
2989
|
-
n =
|
|
2991
|
+
n = on(t);
|
|
2990
2992
|
} catch {
|
|
2991
2993
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
2992
2994
|
}
|
|
2993
2995
|
return {
|
|
2994
2996
|
val: {
|
|
2995
|
-
type:
|
|
2997
|
+
type: he.number,
|
|
2996
2998
|
tokens: n,
|
|
2997
2999
|
location: r,
|
|
2998
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3000
|
+
parsedOptions: this.shouldParseSkeletons ? ln(n) : {}
|
|
2999
3001
|
},
|
|
3000
3002
|
err: null
|
|
3001
3003
|
};
|
|
3002
3004
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3003
|
-
for (var
|
|
3005
|
+
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3004
3006
|
if (u.length === 0) {
|
|
3005
3007
|
var c = this.clonePosition();
|
|
3006
3008
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3007
3009
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3008
3010
|
if (f.err)
|
|
3009
3011
|
return f;
|
|
3010
|
-
l =
|
|
3012
|
+
l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3011
3013
|
} else
|
|
3012
3014
|
break;
|
|
3013
3015
|
}
|
|
@@ -3016,34 +3018,34 @@ var Bn = (
|
|
|
3016
3018
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3017
3019
|
var g = this.clonePosition();
|
|
3018
3020
|
if (!this.bumpIf("{"))
|
|
3019
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3020
|
-
var
|
|
3021
|
-
if (
|
|
3022
|
-
return
|
|
3023
|
-
var
|
|
3024
|
-
if (
|
|
3025
|
-
return
|
|
3026
|
-
|
|
3021
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3022
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3023
|
+
if (v.err)
|
|
3024
|
+
return v;
|
|
3025
|
+
var x = this.tryParseArgumentClose(g);
|
|
3026
|
+
if (x.err)
|
|
3027
|
+
return x;
|
|
3028
|
+
a.push([
|
|
3027
3029
|
u,
|
|
3028
3030
|
{
|
|
3029
|
-
value:
|
|
3030
|
-
location:
|
|
3031
|
+
value: v.val,
|
|
3032
|
+
location: y(g, this.clonePosition())
|
|
3031
3033
|
}
|
|
3032
|
-
]), h.add(u), this.bumpSpace(),
|
|
3034
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3033
3035
|
}
|
|
3034
|
-
return
|
|
3036
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3035
3037
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3036
3038
|
var n = 1, i = this.clonePosition();
|
|
3037
3039
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3038
|
-
for (var
|
|
3039
|
-
var
|
|
3040
|
-
if (
|
|
3041
|
-
|
|
3040
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3041
|
+
var a = this.char();
|
|
3042
|
+
if (a >= 48 && a <= 57)
|
|
3043
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3042
3044
|
else
|
|
3043
3045
|
break;
|
|
3044
3046
|
}
|
|
3045
|
-
var h =
|
|
3046
|
-
return
|
|
3047
|
+
var h = y(i, this.clonePosition());
|
|
3048
|
+
return o ? (s *= n, En(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3047
3049
|
}, e.prototype.offset = function() {
|
|
3048
3050
|
return this.position.offset;
|
|
3049
3051
|
}, e.prototype.isEOF = function() {
|
|
@@ -3058,7 +3060,7 @@ var Bn = (
|
|
|
3058
3060
|
var t = this.position.offset;
|
|
3059
3061
|
if (t >= this.message.length)
|
|
3060
3062
|
throw Error("out of bound");
|
|
3061
|
-
var r =
|
|
3063
|
+
var r = Zt(this.message, t);
|
|
3062
3064
|
if (r === void 0)
|
|
3063
3065
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3064
3066
|
return r;
|
|
@@ -3077,7 +3079,7 @@ var Bn = (
|
|
|
3077
3079
|
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);
|
|
3078
3080
|
}
|
|
3079
3081
|
}, e.prototype.bumpIf = function(t) {
|
|
3080
|
-
if (
|
|
3082
|
+
if (dt(this.message, t, this.offset())) {
|
|
3081
3083
|
for (var r = 0; r < t.length; r++)
|
|
3082
3084
|
this.bump();
|
|
3083
3085
|
return !0;
|
|
@@ -3099,7 +3101,7 @@ var Bn = (
|
|
|
3099
3101
|
break;
|
|
3100
3102
|
}
|
|
3101
3103
|
}, e.prototype.bumpSpace = function() {
|
|
3102
|
-
for (; !this.isEOF() &&
|
|
3104
|
+
for (; !this.isEOF() && Yt(this.char()); )
|
|
3103
3105
|
this.bump();
|
|
3104
3106
|
}, e.prototype.peek = function() {
|
|
3105
3107
|
if (this.isEOF())
|
|
@@ -3109,204 +3111,204 @@ var Bn = (
|
|
|
3109
3111
|
}, e;
|
|
3110
3112
|
}()
|
|
3111
3113
|
);
|
|
3112
|
-
function
|
|
3114
|
+
function Qe(e) {
|
|
3113
3115
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3114
3116
|
}
|
|
3115
|
-
function
|
|
3116
|
-
return
|
|
3117
|
+
function Sn(e) {
|
|
3118
|
+
return Qe(e) || e === 47;
|
|
3117
3119
|
}
|
|
3118
3120
|
function Hn(e) {
|
|
3119
3121
|
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;
|
|
3120
3122
|
}
|
|
3121
|
-
function
|
|
3123
|
+
function Yt(e) {
|
|
3122
3124
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3123
3125
|
}
|
|
3124
3126
|
function Cn(e) {
|
|
3125
3127
|
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;
|
|
3126
3128
|
}
|
|
3127
|
-
function
|
|
3129
|
+
function et(e) {
|
|
3128
3130
|
e.forEach(function(t) {
|
|
3129
|
-
if (delete t.location,
|
|
3131
|
+
if (delete t.location, Ut(t) || Gt(t))
|
|
3130
3132
|
for (var r in t.options)
|
|
3131
|
-
delete t.options[r].location,
|
|
3133
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3132
3134
|
else
|
|
3133
|
-
|
|
3135
|
+
It(t) && jt(t.style) || ($t(t) || Dt(t)) && Je(t.style) ? delete t.style.location : Ft(t) && et(t.children);
|
|
3134
3136
|
});
|
|
3135
3137
|
}
|
|
3136
|
-
function
|
|
3137
|
-
t === void 0 && (t = {}), t =
|
|
3138
|
+
function Mn(e, t) {
|
|
3139
|
+
t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3138
3140
|
var r = new Bn(e, t).parse();
|
|
3139
3141
|
if (r.err) {
|
|
3140
3142
|
var n = SyntaxError(b[r.err.kind]);
|
|
3141
3143
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3142
3144
|
}
|
|
3143
|
-
return t?.captureLocation ||
|
|
3145
|
+
return t?.captureLocation || et(r.val), r.val;
|
|
3144
3146
|
}
|
|
3145
|
-
var
|
|
3147
|
+
var ce;
|
|
3146
3148
|
(function(e) {
|
|
3147
3149
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3148
|
-
})(
|
|
3149
|
-
var
|
|
3150
|
+
})(ce || (ce = {}));
|
|
3151
|
+
var Pe = (
|
|
3150
3152
|
/** @class */
|
|
3151
3153
|
function(e) {
|
|
3152
|
-
|
|
3154
|
+
Le(t, e);
|
|
3153
3155
|
function t(r, n, i) {
|
|
3154
|
-
var
|
|
3155
|
-
return
|
|
3156
|
+
var o = e.call(this, r) || this;
|
|
3157
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3156
3158
|
}
|
|
3157
3159
|
return t.prototype.toString = function() {
|
|
3158
3160
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3159
3161
|
}, t;
|
|
3160
3162
|
}(Error)
|
|
3161
|
-
),
|
|
3163
|
+
), gt = (
|
|
3162
3164
|
/** @class */
|
|
3163
3165
|
function(e) {
|
|
3164
|
-
|
|
3165
|
-
function t(r, n, i,
|
|
3166
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3166
|
+
Le(t, e);
|
|
3167
|
+
function t(r, n, i, o) {
|
|
3168
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
|
|
3167
3169
|
}
|
|
3168
3170
|
return t;
|
|
3169
|
-
}(
|
|
3170
|
-
),
|
|
3171
|
+
}(Pe)
|
|
3172
|
+
), Rn = (
|
|
3171
3173
|
/** @class */
|
|
3172
3174
|
function(e) {
|
|
3173
|
-
|
|
3175
|
+
Le(t, e);
|
|
3174
3176
|
function t(r, n, i) {
|
|
3175
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3177
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
|
|
3176
3178
|
}
|
|
3177
3179
|
return t;
|
|
3178
|
-
}(
|
|
3179
|
-
),
|
|
3180
|
+
}(Pe)
|
|
3181
|
+
), kn = (
|
|
3180
3182
|
/** @class */
|
|
3181
3183
|
function(e) {
|
|
3182
|
-
|
|
3184
|
+
Le(t, e);
|
|
3183
3185
|
function t(r, n) {
|
|
3184
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3186
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
|
|
3185
3187
|
}
|
|
3186
3188
|
return t;
|
|
3187
|
-
}(
|
|
3188
|
-
),
|
|
3189
|
+
}(Pe)
|
|
3190
|
+
), P;
|
|
3189
3191
|
(function(e) {
|
|
3190
3192
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3191
|
-
})(
|
|
3192
|
-
function
|
|
3193
|
+
})(P || (P = {}));
|
|
3194
|
+
function Nn(e) {
|
|
3193
3195
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3194
3196
|
var n = t[t.length - 1];
|
|
3195
|
-
return !n || n.type !==
|
|
3197
|
+
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3196
3198
|
}, []);
|
|
3197
3199
|
}
|
|
3198
|
-
function
|
|
3200
|
+
function An(e) {
|
|
3199
3201
|
return typeof e == "function";
|
|
3200
3202
|
}
|
|
3201
|
-
function
|
|
3202
|
-
if (e.length === 1 &&
|
|
3203
|
+
function Se(e, t, r, n, i, o, s) {
|
|
3204
|
+
if (e.length === 1 && ht(e[0]))
|
|
3203
3205
|
return [
|
|
3204
3206
|
{
|
|
3205
|
-
type:
|
|
3207
|
+
type: P.literal,
|
|
3206
3208
|
value: e[0].value
|
|
3207
3209
|
}
|
|
3208
3210
|
];
|
|
3209
|
-
for (var
|
|
3211
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3210
3212
|
var l = u[h];
|
|
3211
|
-
if (
|
|
3212
|
-
|
|
3213
|
-
type:
|
|
3213
|
+
if (ht(l)) {
|
|
3214
|
+
a.push({
|
|
3215
|
+
type: P.literal,
|
|
3214
3216
|
value: l.value
|
|
3215
3217
|
});
|
|
3216
3218
|
continue;
|
|
3217
3219
|
}
|
|
3218
|
-
if (
|
|
3219
|
-
typeof
|
|
3220
|
-
type:
|
|
3221
|
-
value: r.getNumberFormat(t).format(
|
|
3220
|
+
if (en(l)) {
|
|
3221
|
+
typeof o == "number" && a.push({
|
|
3222
|
+
type: P.literal,
|
|
3223
|
+
value: r.getNumberFormat(t).format(o)
|
|
3222
3224
|
});
|
|
3223
3225
|
continue;
|
|
3224
3226
|
}
|
|
3225
3227
|
var c = l.value;
|
|
3226
3228
|
if (!(i && c in i))
|
|
3227
|
-
throw new
|
|
3229
|
+
throw new kn(c, s);
|
|
3228
3230
|
var f = i[c];
|
|
3229
|
-
if (
|
|
3230
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3231
|
-
type: typeof f == "string" ?
|
|
3231
|
+
if (Qr(l)) {
|
|
3232
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3233
|
+
type: typeof f == "string" ? P.literal : P.object,
|
|
3232
3234
|
value: f
|
|
3233
3235
|
});
|
|
3234
3236
|
continue;
|
|
3235
3237
|
}
|
|
3236
|
-
if (
|
|
3237
|
-
var g = typeof l.style == "string" ? n.date[l.style] :
|
|
3238
|
-
|
|
3239
|
-
type:
|
|
3238
|
+
if ($t(l)) {
|
|
3239
|
+
var g = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
|
|
3240
|
+
a.push({
|
|
3241
|
+
type: P.literal,
|
|
3240
3242
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3241
3243
|
});
|
|
3242
3244
|
continue;
|
|
3243
3245
|
}
|
|
3244
|
-
if (
|
|
3245
|
-
var g = typeof l.style == "string" ? n.time[l.style] :
|
|
3246
|
-
|
|
3247
|
-
type:
|
|
3246
|
+
if (Dt(l)) {
|
|
3247
|
+
var g = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3248
|
+
a.push({
|
|
3249
|
+
type: P.literal,
|
|
3248
3250
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3249
3251
|
});
|
|
3250
3252
|
continue;
|
|
3251
3253
|
}
|
|
3252
|
-
if (
|
|
3253
|
-
var g = typeof l.style == "string" ? n.number[l.style] :
|
|
3254
|
-
g && g.scale && (f = f * (g.scale || 1)),
|
|
3255
|
-
type:
|
|
3254
|
+
if (It(l)) {
|
|
3255
|
+
var g = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
|
|
3256
|
+
g && g.scale && (f = f * (g.scale || 1)), a.push({
|
|
3257
|
+
type: P.literal,
|
|
3256
3258
|
value: r.getNumberFormat(t, g).format(f)
|
|
3257
3259
|
});
|
|
3258
3260
|
continue;
|
|
3259
3261
|
}
|
|
3260
|
-
if (
|
|
3261
|
-
var
|
|
3262
|
-
if (!
|
|
3263
|
-
throw new
|
|
3264
|
-
var
|
|
3265
|
-
return
|
|
3262
|
+
if (Ft(l)) {
|
|
3263
|
+
var v = l.children, x = l.value, S = i[x];
|
|
3264
|
+
if (!An(S))
|
|
3265
|
+
throw new Rn(x, "function", s);
|
|
3266
|
+
var B = Se(v, t, r, n, i, o), R = S(B.map(function(k) {
|
|
3267
|
+
return k.value;
|
|
3266
3268
|
}));
|
|
3267
|
-
Array.isArray(R) || (R = [R]),
|
|
3269
|
+
Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(k) {
|
|
3268
3270
|
return {
|
|
3269
|
-
type: typeof
|
|
3270
|
-
value:
|
|
3271
|
+
type: typeof k == "string" ? P.literal : P.object,
|
|
3272
|
+
value: k
|
|
3271
3273
|
};
|
|
3272
3274
|
}));
|
|
3273
3275
|
}
|
|
3274
|
-
if (
|
|
3275
|
-
var
|
|
3276
|
-
if (!
|
|
3277
|
-
throw new
|
|
3278
|
-
|
|
3276
|
+
if (Ut(l)) {
|
|
3277
|
+
var C = l.options[f] || l.options.other;
|
|
3278
|
+
if (!C)
|
|
3279
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3280
|
+
a.push.apply(a, Se(C.value, t, r, n, i));
|
|
3279
3281
|
continue;
|
|
3280
3282
|
}
|
|
3281
|
-
if (
|
|
3282
|
-
var
|
|
3283
|
-
if (!
|
|
3283
|
+
if (Gt(l)) {
|
|
3284
|
+
var C = l.options["=".concat(f)];
|
|
3285
|
+
if (!C) {
|
|
3284
3286
|
if (!Intl.PluralRules)
|
|
3285
|
-
throw new
|
|
3287
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3286
3288
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3287
|
-
`,
|
|
3288
|
-
var
|
|
3289
|
-
|
|
3289
|
+
`, ce.MISSING_INTL_API, s);
|
|
3290
|
+
var A = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3291
|
+
C = l.options[A] || l.options.other;
|
|
3290
3292
|
}
|
|
3291
|
-
if (!
|
|
3292
|
-
throw new
|
|
3293
|
-
|
|
3293
|
+
if (!C)
|
|
3294
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3295
|
+
a.push.apply(a, Se(C.value, t, r, n, i, f - (l.offset || 0)));
|
|
3294
3296
|
continue;
|
|
3295
3297
|
}
|
|
3296
3298
|
}
|
|
3297
|
-
return
|
|
3299
|
+
return Nn(a);
|
|
3298
3300
|
}
|
|
3299
|
-
function
|
|
3300
|
-
return t ?
|
|
3301
|
-
return r[n] =
|
|
3301
|
+
function Ln(e, t) {
|
|
3302
|
+
return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3303
|
+
return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
|
|
3302
3304
|
}, {})) : e;
|
|
3303
3305
|
}
|
|
3304
|
-
function
|
|
3306
|
+
function Pn(e, t) {
|
|
3305
3307
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3306
|
-
return r[n] =
|
|
3307
|
-
},
|
|
3308
|
+
return r[n] = Ln(e[n], t[n]), r;
|
|
3309
|
+
}, Z({}, e)) : e;
|
|
3308
3310
|
}
|
|
3309
|
-
function
|
|
3311
|
+
function je(e) {
|
|
3310
3312
|
return {
|
|
3311
3313
|
create: function() {
|
|
3312
3314
|
return {
|
|
@@ -3320,77 +3322,77 @@ function Ge(e) {
|
|
|
3320
3322
|
}
|
|
3321
3323
|
};
|
|
3322
3324
|
}
|
|
3323
|
-
function
|
|
3325
|
+
function On(e) {
|
|
3324
3326
|
return e === void 0 && (e = {
|
|
3325
3327
|
number: {},
|
|
3326
3328
|
dateTime: {},
|
|
3327
3329
|
pluralRules: {}
|
|
3328
3330
|
}), {
|
|
3329
|
-
getNumberFormat:
|
|
3331
|
+
getNumberFormat: Ue(function() {
|
|
3330
3332
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3331
3333
|
r[n] = arguments[n];
|
|
3332
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3334
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3333
3335
|
}, {
|
|
3334
|
-
cache:
|
|
3335
|
-
strategy:
|
|
3336
|
+
cache: je(e.number),
|
|
3337
|
+
strategy: Ge.variadic
|
|
3336
3338
|
}),
|
|
3337
|
-
getDateTimeFormat:
|
|
3339
|
+
getDateTimeFormat: Ue(function() {
|
|
3338
3340
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3339
3341
|
r[n] = arguments[n];
|
|
3340
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3342
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3341
3343
|
}, {
|
|
3342
|
-
cache:
|
|
3343
|
-
strategy:
|
|
3344
|
+
cache: je(e.dateTime),
|
|
3345
|
+
strategy: Ge.variadic
|
|
3344
3346
|
}),
|
|
3345
|
-
getPluralRules:
|
|
3347
|
+
getPluralRules: Ue(function() {
|
|
3346
3348
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3347
3349
|
r[n] = arguments[n];
|
|
3348
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3350
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
|
3349
3351
|
}, {
|
|
3350
|
-
cache:
|
|
3351
|
-
strategy:
|
|
3352
|
+
cache: je(e.pluralRules),
|
|
3353
|
+
strategy: Ge.variadic
|
|
3352
3354
|
})
|
|
3353
3355
|
};
|
|
3354
3356
|
}
|
|
3355
|
-
var
|
|
3357
|
+
var In = (
|
|
3356
3358
|
/** @class */
|
|
3357
3359
|
function() {
|
|
3358
3360
|
function e(t, r, n, i) {
|
|
3359
3361
|
r === void 0 && (r = e.defaultLocale);
|
|
3360
|
-
var
|
|
3362
|
+
var o = this;
|
|
3361
3363
|
if (this.formatterCache = {
|
|
3362
3364
|
number: {},
|
|
3363
3365
|
dateTime: {},
|
|
3364
3366
|
pluralRules: {}
|
|
3365
3367
|
}, this.format = function(h) {
|
|
3366
|
-
var u =
|
|
3368
|
+
var u = o.formatToParts(h);
|
|
3367
3369
|
if (u.length === 1)
|
|
3368
3370
|
return u[0].value;
|
|
3369
3371
|
var l = u.reduce(function(c, f) {
|
|
3370
|
-
return !c.length || f.type !==
|
|
3372
|
+
return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3371
3373
|
}, []);
|
|
3372
3374
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3373
3375
|
}, this.formatToParts = function(h) {
|
|
3374
|
-
return
|
|
3376
|
+
return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3375
3377
|
}, this.resolvedOptions = function() {
|
|
3376
3378
|
var h;
|
|
3377
3379
|
return {
|
|
3378
|
-
locale: ((h =
|
|
3380
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3379
3381
|
};
|
|
3380
3382
|
}, this.getAst = function() {
|
|
3381
|
-
return
|
|
3383
|
+
return o.ast;
|
|
3382
3384
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3383
3385
|
if (this.message = t, !e.__parse)
|
|
3384
3386
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3385
3387
|
var s = i || {};
|
|
3386
3388
|
s.formatters;
|
|
3387
|
-
var
|
|
3388
|
-
this.ast = e.__parse(t,
|
|
3389
|
+
var a = zr(s, ["formatters"]);
|
|
3390
|
+
this.ast = e.__parse(t, Z(Z({}, a), { locale: this.resolvedLocale }));
|
|
3389
3391
|
} else
|
|
3390
3392
|
this.ast = t;
|
|
3391
3393
|
if (!Array.isArray(this.ast))
|
|
3392
3394
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3393
|
-
this.formats =
|
|
3395
|
+
this.formats = Pn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
|
|
3394
3396
|
}
|
|
3395
3397
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3396
3398
|
get: function() {
|
|
@@ -3403,7 +3405,7 @@ var On = (
|
|
|
3403
3405
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3404
3406
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3405
3407
|
}
|
|
3406
|
-
}, e.__parse =
|
|
3408
|
+
}, e.__parse = Mn, e.formats = {
|
|
3407
3409
|
number: {
|
|
3408
3410
|
integer: {
|
|
3409
3411
|
maximumFractionDigits: 0
|
|
@@ -3464,7 +3466,7 @@ var On = (
|
|
|
3464
3466
|
}, e;
|
|
3465
3467
|
}()
|
|
3466
3468
|
);
|
|
3467
|
-
function
|
|
3469
|
+
function $n(e, t) {
|
|
3468
3470
|
if (t == null)
|
|
3469
3471
|
return;
|
|
3470
3472
|
if (t in e)
|
|
@@ -3474,9 +3476,9 @@ function In(e, t) {
|
|
|
3474
3476
|
for (let i = 0; i < r.length; i++)
|
|
3475
3477
|
if (typeof n == "object") {
|
|
3476
3478
|
if (i > 0) {
|
|
3477
|
-
const
|
|
3478
|
-
if (
|
|
3479
|
-
n = n[
|
|
3479
|
+
const o = r.slice(i, r.length).join(".");
|
|
3480
|
+
if (o in n) {
|
|
3481
|
+
n = n[o];
|
|
3480
3482
|
break;
|
|
3481
3483
|
}
|
|
3482
3484
|
}
|
|
@@ -3485,92 +3487,92 @@ function In(e, t) {
|
|
|
3485
3487
|
n = void 0;
|
|
3486
3488
|
return n;
|
|
3487
3489
|
}
|
|
3488
|
-
const
|
|
3490
|
+
const Q = {}, Dn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Kt = (e, t) => {
|
|
3489
3491
|
if (t == null)
|
|
3490
3492
|
return;
|
|
3491
|
-
if (t in
|
|
3492
|
-
return
|
|
3493
|
-
const r =
|
|
3493
|
+
if (t in Q && e in Q[t])
|
|
3494
|
+
return Q[t][e];
|
|
3495
|
+
const r = Oe(t);
|
|
3494
3496
|
for (let n = 0; n < r.length; n++) {
|
|
3495
|
-
const i = r[n],
|
|
3496
|
-
if (
|
|
3497
|
-
return
|
|
3497
|
+
const i = r[n], o = Gn(i, e);
|
|
3498
|
+
if (o)
|
|
3499
|
+
return Dn(e, t, o);
|
|
3498
3500
|
}
|
|
3499
3501
|
};
|
|
3500
|
-
let
|
|
3501
|
-
const
|
|
3502
|
-
function
|
|
3503
|
-
return
|
|
3502
|
+
let it;
|
|
3503
|
+
const de = Ae({});
|
|
3504
|
+
function Un(e) {
|
|
3505
|
+
return it[e] || null;
|
|
3504
3506
|
}
|
|
3505
|
-
function
|
|
3506
|
-
return e in
|
|
3507
|
+
function qt(e) {
|
|
3508
|
+
return e in it;
|
|
3507
3509
|
}
|
|
3508
|
-
function
|
|
3509
|
-
if (!
|
|
3510
|
+
function Gn(e, t) {
|
|
3511
|
+
if (!qt(e))
|
|
3510
3512
|
return null;
|
|
3511
|
-
const r =
|
|
3512
|
-
return
|
|
3513
|
+
const r = Un(e);
|
|
3514
|
+
return $n(r, t);
|
|
3513
3515
|
}
|
|
3514
|
-
function
|
|
3516
|
+
function Fn(e) {
|
|
3515
3517
|
if (e == null)
|
|
3516
3518
|
return;
|
|
3517
|
-
const t =
|
|
3519
|
+
const t = Oe(e);
|
|
3518
3520
|
for (let r = 0; r < t.length; r++) {
|
|
3519
3521
|
const n = t[r];
|
|
3520
|
-
if (
|
|
3522
|
+
if (qt(n))
|
|
3521
3523
|
return n;
|
|
3522
3524
|
}
|
|
3523
3525
|
}
|
|
3524
|
-
function
|
|
3525
|
-
delete
|
|
3526
|
+
function Qt(e, ...t) {
|
|
3527
|
+
delete Q[e], de.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
|
|
3526
3528
|
}
|
|
3527
|
-
|
|
3528
|
-
[
|
|
3529
|
+
me(
|
|
3530
|
+
[de],
|
|
3529
3531
|
([e]) => Object.keys(e)
|
|
3530
3532
|
);
|
|
3531
|
-
|
|
3533
|
+
de.subscribe((e) => it = e);
|
|
3532
3534
|
const He = {};
|
|
3533
|
-
function
|
|
3535
|
+
function jn(e, t) {
|
|
3534
3536
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
3535
3537
|
}
|
|
3536
|
-
function
|
|
3538
|
+
function er(e) {
|
|
3537
3539
|
return He[e];
|
|
3538
3540
|
}
|
|
3539
|
-
function
|
|
3540
|
-
return
|
|
3541
|
-
const r =
|
|
3541
|
+
function Vn(e) {
|
|
3542
|
+
return Oe(e).map((t) => {
|
|
3543
|
+
const r = er(t);
|
|
3542
3544
|
return [t, r ? [...r] : []];
|
|
3543
3545
|
}).filter(([, t]) => t.length > 0);
|
|
3544
3546
|
}
|
|
3545
|
-
function
|
|
3546
|
-
return e == null ? !1 :
|
|
3547
|
+
function tt(e) {
|
|
3548
|
+
return e == null ? !1 : Oe(e).some(
|
|
3547
3549
|
(t) => {
|
|
3548
3550
|
var r;
|
|
3549
|
-
return (r =
|
|
3551
|
+
return (r = er(t)) == null ? void 0 : r.size;
|
|
3550
3552
|
}
|
|
3551
3553
|
);
|
|
3552
3554
|
}
|
|
3553
|
-
function
|
|
3555
|
+
function zn(e, t) {
|
|
3554
3556
|
return Promise.all(
|
|
3555
|
-
t.map((n) => (
|
|
3556
|
-
).then((n) =>
|
|
3557
|
-
}
|
|
3558
|
-
const
|
|
3559
|
-
function
|
|
3560
|
-
if (!
|
|
3561
|
-
return e in
|
|
3562
|
-
const t =
|
|
3563
|
-
return
|
|
3557
|
+
t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
|
|
3558
|
+
).then((n) => Qt(e, ...n));
|
|
3559
|
+
}
|
|
3560
|
+
const be = {};
|
|
3561
|
+
function tr(e) {
|
|
3562
|
+
if (!tt(e))
|
|
3563
|
+
return e in be ? be[e] : Promise.resolve();
|
|
3564
|
+
const t = Vn(e);
|
|
3565
|
+
return be[e] = Promise.all(
|
|
3564
3566
|
t.map(
|
|
3565
|
-
([r, n]) =>
|
|
3567
|
+
([r, n]) => zn(r, n)
|
|
3566
3568
|
)
|
|
3567
3569
|
).then(() => {
|
|
3568
|
-
if (
|
|
3569
|
-
return
|
|
3570
|
-
delete
|
|
3571
|
-
}),
|
|
3570
|
+
if (tt(e))
|
|
3571
|
+
return tr(e);
|
|
3572
|
+
delete be[e];
|
|
3573
|
+
}), be[e];
|
|
3572
3574
|
}
|
|
3573
|
-
const
|
|
3575
|
+
const Xn = {
|
|
3574
3576
|
number: {
|
|
3575
3577
|
scientific: { notation: "scientific" },
|
|
3576
3578
|
engineering: { notation: "engineering" },
|
|
@@ -3599,140 +3601,140 @@ const zn = {
|
|
|
3599
3601
|
timeZoneName: "short"
|
|
3600
3602
|
}
|
|
3601
3603
|
}
|
|
3602
|
-
},
|
|
3604
|
+
}, Wn = {
|
|
3603
3605
|
fallbackLocale: null,
|
|
3604
3606
|
loadingDelay: 200,
|
|
3605
|
-
formats:
|
|
3607
|
+
formats: Xn,
|
|
3606
3608
|
warnOnMissingMessages: !0,
|
|
3607
3609
|
handleMissingMessage: void 0,
|
|
3608
3610
|
ignoreTag: !0
|
|
3609
|
-
},
|
|
3610
|
-
function
|
|
3611
|
-
return
|
|
3612
|
-
}
|
|
3613
|
-
const
|
|
3614
|
-
var
|
|
3615
|
-
for (var r in t)
|
|
3616
|
-
|
|
3617
|
-
if (
|
|
3618
|
-
for (var r of
|
|
3619
|
-
|
|
3611
|
+
}, Zn = Wn;
|
|
3612
|
+
function fe() {
|
|
3613
|
+
return Zn;
|
|
3614
|
+
}
|
|
3615
|
+
const Ve = Ae(!1);
|
|
3616
|
+
var Jn = Object.defineProperty, Yn = Object.defineProperties, Kn = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ei = (e, t) => {
|
|
3617
|
+
for (var r in t || (t = {}))
|
|
3618
|
+
qn.call(t, r) && vt(e, r, t[r]);
|
|
3619
|
+
if (yt)
|
|
3620
|
+
for (var r of yt(t))
|
|
3621
|
+
Qn.call(t, r) && vt(e, r, t[r]);
|
|
3620
3622
|
return e;
|
|
3621
|
-
},
|
|
3622
|
-
let
|
|
3623
|
-
const
|
|
3624
|
-
function
|
|
3623
|
+
}, ti = (e, t) => Yn(e, Kn(t));
|
|
3624
|
+
let rt;
|
|
3625
|
+
const Me = Ae(null);
|
|
3626
|
+
function _t(e) {
|
|
3625
3627
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3626
3628
|
}
|
|
3627
|
-
function
|
|
3628
|
-
const r =
|
|
3629
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3629
|
+
function Oe(e, t = fe().fallbackLocale) {
|
|
3630
|
+
const r = _t(e);
|
|
3631
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
3630
3632
|
}
|
|
3631
3633
|
function ne() {
|
|
3632
|
-
return
|
|
3634
|
+
return rt ?? void 0;
|
|
3633
3635
|
}
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
+
Me.subscribe((e) => {
|
|
3637
|
+
rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3636
3638
|
});
|
|
3637
|
-
const
|
|
3638
|
-
if (e &&
|
|
3639
|
-
const { loadingDelay: t } =
|
|
3639
|
+
const ri = (e) => {
|
|
3640
|
+
if (e && Fn(e) && tt(e)) {
|
|
3641
|
+
const { loadingDelay: t } = fe();
|
|
3640
3642
|
let r;
|
|
3641
3643
|
return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
|
|
3642
|
-
() =>
|
|
3644
|
+
() => Ve.set(!0),
|
|
3643
3645
|
t
|
|
3644
|
-
) :
|
|
3645
|
-
|
|
3646
|
+
) : Ve.set(!0), tr(e).then(() => {
|
|
3647
|
+
Me.set(e);
|
|
3646
3648
|
}).finally(() => {
|
|
3647
|
-
clearTimeout(r),
|
|
3649
|
+
clearTimeout(r), Ve.set(!1);
|
|
3648
3650
|
});
|
|
3649
3651
|
}
|
|
3650
|
-
return
|
|
3651
|
-
},
|
|
3652
|
-
set:
|
|
3653
|
-
}),
|
|
3652
|
+
return Me.set(e);
|
|
3653
|
+
}, ee = ti(ei({}, Me), {
|
|
3654
|
+
set: ri
|
|
3655
|
+
}), Ie = (e) => {
|
|
3654
3656
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3655
3657
|
return (n) => {
|
|
3656
3658
|
const i = JSON.stringify(n);
|
|
3657
3659
|
return i in t ? t[i] : t[i] = e(n);
|
|
3658
3660
|
};
|
|
3659
3661
|
};
|
|
3660
|
-
var
|
|
3662
|
+
var ni = Object.defineProperty, Re = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
3661
3663
|
for (var r in t || (t = {}))
|
|
3662
|
-
|
|
3663
|
-
if (
|
|
3664
|
-
for (var r of
|
|
3665
|
-
|
|
3664
|
+
rr.call(t, r) && Et(e, r, t[r]);
|
|
3665
|
+
if (Re)
|
|
3666
|
+
for (var r of Re(t))
|
|
3667
|
+
nr.call(t, r) && Et(e, r, t[r]);
|
|
3666
3668
|
return e;
|
|
3667
|
-
},
|
|
3669
|
+
}, pe = (e, t) => {
|
|
3668
3670
|
var r = {};
|
|
3669
3671
|
for (var n in e)
|
|
3670
|
-
|
|
3671
|
-
if (e != null &&
|
|
3672
|
-
for (var n of
|
|
3673
|
-
t.indexOf(n) < 0 &&
|
|
3672
|
+
rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3673
|
+
if (e != null && Re)
|
|
3674
|
+
for (var n of Re(e))
|
|
3675
|
+
t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
|
|
3674
3676
|
return r;
|
|
3675
3677
|
};
|
|
3676
|
-
const
|
|
3677
|
-
const { formats: r } =
|
|
3678
|
+
const _e = (e, t) => {
|
|
3679
|
+
const { formats: r } = fe();
|
|
3678
3680
|
if (e in r && t in r[e])
|
|
3679
3681
|
return r[e][t];
|
|
3680
3682
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3681
|
-
},
|
|
3683
|
+
}, ii = Ie(
|
|
3682
3684
|
(e) => {
|
|
3683
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3685
|
+
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3684
3686
|
if (r == null)
|
|
3685
3687
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3686
|
-
return n && (i =
|
|
3688
|
+
return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
|
|
3687
3689
|
}
|
|
3688
|
-
),
|
|
3690
|
+
), oi = Ie(
|
|
3689
3691
|
(e) => {
|
|
3690
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3692
|
+
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3691
3693
|
if (r == null)
|
|
3692
3694
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3693
|
-
return n ? i =
|
|
3695
|
+
return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3694
3696
|
}
|
|
3695
|
-
), ai =
|
|
3697
|
+
), ai = Ie(
|
|
3696
3698
|
(e) => {
|
|
3697
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3699
|
+
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3698
3700
|
if (r == null)
|
|
3699
3701
|
throw new Error(
|
|
3700
3702
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3701
3703
|
);
|
|
3702
|
-
return n ? i =
|
|
3704
|
+
return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3703
3705
|
}
|
|
3704
|
-
),
|
|
3706
|
+
), si = (e = {}) => {
|
|
3705
3707
|
var t = e, {
|
|
3706
3708
|
locale: r = ne()
|
|
3707
|
-
} = t, n =
|
|
3709
|
+
} = t, n = pe(t, [
|
|
3708
3710
|
"locale"
|
|
3709
3711
|
]);
|
|
3710
|
-
return
|
|
3711
|
-
},
|
|
3712
|
+
return ii(ot({ locale: r }, n));
|
|
3713
|
+
}, ui = (e = {}) => {
|
|
3712
3714
|
var t = e, {
|
|
3713
3715
|
locale: r = ne()
|
|
3714
|
-
} = t, n =
|
|
3716
|
+
} = t, n = pe(t, [
|
|
3715
3717
|
"locale"
|
|
3716
3718
|
]);
|
|
3717
|
-
return
|
|
3718
|
-
},
|
|
3719
|
+
return oi(ot({ locale: r }, n));
|
|
3720
|
+
}, li = (e = {}) => {
|
|
3719
3721
|
var t = e, {
|
|
3720
3722
|
locale: r = ne()
|
|
3721
|
-
} = t, n =
|
|
3723
|
+
} = t, n = pe(t, [
|
|
3722
3724
|
"locale"
|
|
3723
3725
|
]);
|
|
3724
|
-
return ai(
|
|
3725
|
-
},
|
|
3726
|
+
return ai(ot({ locale: r }, n));
|
|
3727
|
+
}, hi = Ie(
|
|
3726
3728
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3727
|
-
(e, t = ne()) => new
|
|
3728
|
-
ignoreTag:
|
|
3729
|
+
(e, t = ne()) => new In(e, t, fe().formats, {
|
|
3730
|
+
ignoreTag: fe().ignoreTag
|
|
3729
3731
|
})
|
|
3730
|
-
),
|
|
3731
|
-
var r, n, i,
|
|
3732
|
+
), ci = (e, t = {}) => {
|
|
3733
|
+
var r, n, i, o;
|
|
3732
3734
|
let s = t;
|
|
3733
3735
|
typeof e == "object" && (s = e, e = s.id);
|
|
3734
3736
|
const {
|
|
3735
|
-
values:
|
|
3737
|
+
values: a,
|
|
3736
3738
|
locale: h = ne(),
|
|
3737
3739
|
default: u
|
|
3738
3740
|
} = s;
|
|
@@ -3740,18 +3742,18 @@ const ve = (e, t) => {
|
|
|
3740
3742
|
throw new Error(
|
|
3741
3743
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3742
3744
|
);
|
|
3743
|
-
let l =
|
|
3745
|
+
let l = Kt(e, h);
|
|
3744
3746
|
if (!l)
|
|
3745
|
-
l = (
|
|
3747
|
+
l = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3746
3748
|
else if (typeof l != "string")
|
|
3747
3749
|
return console.warn(
|
|
3748
3750
|
`[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.`
|
|
3749
3751
|
), l;
|
|
3750
|
-
if (!
|
|
3752
|
+
if (!a)
|
|
3751
3753
|
return l;
|
|
3752
3754
|
let c = l;
|
|
3753
3755
|
try {
|
|
3754
|
-
c =
|
|
3756
|
+
c = hi(l, h).format(a);
|
|
3755
3757
|
} catch (f) {
|
|
3756
3758
|
f instanceof Error && console.warn(
|
|
3757
3759
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3759,23 +3761,23 @@ const ve = (e, t) => {
|
|
|
3759
3761
|
);
|
|
3760
3762
|
}
|
|
3761
3763
|
return c;
|
|
3762
|
-
},
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
function
|
|
3768
|
-
|
|
3769
|
-
r == null && (
|
|
3764
|
+
}, fi = (e, t) => li(t).format(e), mi = (e, t) => ui(t).format(e), di = (e, t) => si(t).format(e), pi = (e, t = ne()) => Kt(e, t), bi = me([ee, de], () => ci);
|
|
3765
|
+
me([ee], () => fi);
|
|
3766
|
+
me([ee], () => mi);
|
|
3767
|
+
me([ee], () => di);
|
|
3768
|
+
me([ee, de], () => pi);
|
|
3769
|
+
function gi({ withLocale: e, translations: t }) {
|
|
3770
|
+
ee.subscribe((r) => {
|
|
3771
|
+
r == null && (de.set(t), ee.set(e));
|
|
3770
3772
|
});
|
|
3771
3773
|
}
|
|
3772
|
-
function
|
|
3773
|
-
|
|
3774
|
+
function xt(e, t) {
|
|
3775
|
+
Qt(e, t);
|
|
3774
3776
|
}
|
|
3775
|
-
function
|
|
3776
|
-
|
|
3777
|
+
function yi(e) {
|
|
3778
|
+
ee.set(e);
|
|
3777
3779
|
}
|
|
3778
|
-
const
|
|
3780
|
+
const Tt = {
|
|
3779
3781
|
en: {
|
|
3780
3782
|
scoreCriteriaType: {
|
|
3781
3783
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
@@ -3851,7 +3853,7 @@ const xt = {
|
|
|
3851
3853
|
productMinBet: "Para {productName}, o valor mínimo da aposta aceita é {minBet}.",
|
|
3852
3854
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3853
3855
|
}
|
|
3854
|
-
},
|
|
3856
|
+
}, N = {
|
|
3855
3857
|
AED: "د.إ",
|
|
3856
3858
|
AFN: "؋",
|
|
3857
3859
|
ALL: "L",
|
|
@@ -4022,24 +4024,48 @@ const xt = {
|
|
|
4022
4024
|
YER: "﷼",
|
|
4023
4025
|
ZAR: "R",
|
|
4024
4026
|
ZWD: "Z$"
|
|
4025
|
-
}
|
|
4026
|
-
function
|
|
4027
|
-
|
|
4027
|
+
};
|
|
4028
|
+
function vi(e, t) {
|
|
4029
|
+
if (e) {
|
|
4030
|
+
const r = document.createElement("style");
|
|
4031
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4032
|
+
}
|
|
4028
4033
|
}
|
|
4029
|
-
function
|
|
4034
|
+
function _i(e, t) {
|
|
4035
|
+
const r = new URL(t);
|
|
4036
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4037
|
+
const i = document.createElement("style");
|
|
4038
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4039
|
+
}).catch((n) => {
|
|
4040
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4041
|
+
});
|
|
4042
|
+
}
|
|
4043
|
+
function Ei(e, t, r) {
|
|
4044
|
+
if (window.emMessageBus) {
|
|
4045
|
+
const n = document.createElement("style");
|
|
4046
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4047
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4048
|
+
});
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
const xi = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ti = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ir = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", wi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Bi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
4052
|
+
function Si(e) {
|
|
4053
|
+
sr(e, "svelte-1aour49", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #424242}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
|
|
4054
|
+
}
|
|
4055
|
+
function wt(e) {
|
|
4030
4056
|
let t, r = (
|
|
4031
4057
|
/*$_*/
|
|
4032
4058
|
e[13]("scoreCriteriaType.mostRounds") + ""
|
|
4033
4059
|
), n;
|
|
4034
4060
|
return {
|
|
4035
4061
|
c() {
|
|
4036
|
-
t = new
|
|
4062
|
+
t = new Ne(!1), n = ke(), t.a = n;
|
|
4037
4063
|
},
|
|
4038
|
-
m(i,
|
|
4039
|
-
t.m(r, i,
|
|
4064
|
+
m(i, o) {
|
|
4065
|
+
t.m(r, i, o), M(i, n, o);
|
|
4040
4066
|
},
|
|
4041
|
-
p(i,
|
|
4042
|
-
|
|
4067
|
+
p(i, o) {
|
|
4068
|
+
o & /*$_*/
|
|
4043
4069
|
8192 && r !== (r = /*$_*/
|
|
4044
4070
|
i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
|
|
4045
4071
|
},
|
|
@@ -4055,13 +4081,13 @@ function Bt(e) {
|
|
|
4055
4081
|
), n;
|
|
4056
4082
|
return {
|
|
4057
4083
|
c() {
|
|
4058
|
-
t = new
|
|
4084
|
+
t = new Ne(!1), n = ke(), t.a = n;
|
|
4059
4085
|
},
|
|
4060
|
-
m(i,
|
|
4061
|
-
t.m(r, i,
|
|
4086
|
+
m(i, o) {
|
|
4087
|
+
t.m(r, i, o), M(i, n, o);
|
|
4062
4088
|
},
|
|
4063
|
-
p(i,
|
|
4064
|
-
|
|
4089
|
+
p(i, o) {
|
|
4090
|
+
o & /*$_*/
|
|
4065
4091
|
8192 && r !== (r = /*$_*/
|
|
4066
4092
|
i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
|
|
4067
4093
|
},
|
|
@@ -4070,20 +4096,20 @@ function Bt(e) {
|
|
|
4070
4096
|
}
|
|
4071
4097
|
};
|
|
4072
4098
|
}
|
|
4073
|
-
function
|
|
4099
|
+
function St(e) {
|
|
4074
4100
|
let t, r = (
|
|
4075
4101
|
/*$_*/
|
|
4076
4102
|
e[13]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
4077
4103
|
), n;
|
|
4078
4104
|
return {
|
|
4079
4105
|
c() {
|
|
4080
|
-
t = new
|
|
4106
|
+
t = new Ne(!1), n = ke(), t.a = n;
|
|
4081
4107
|
},
|
|
4082
|
-
m(i,
|
|
4083
|
-
t.m(r, i,
|
|
4108
|
+
m(i, o) {
|
|
4109
|
+
t.m(r, i, o), M(i, n, o);
|
|
4084
4110
|
},
|
|
4085
|
-
p(i,
|
|
4086
|
-
|
|
4111
|
+
p(i, o) {
|
|
4112
|
+
o & /*$_*/
|
|
4087
4113
|
8192 && r !== (r = /*$_*/
|
|
4088
4114
|
i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
|
|
4089
4115
|
},
|
|
@@ -4099,13 +4125,13 @@ function Ht(e) {
|
|
|
4099
4125
|
), n;
|
|
4100
4126
|
return {
|
|
4101
4127
|
c() {
|
|
4102
|
-
t = new
|
|
4128
|
+
t = new Ne(!1), n = ke(), t.a = n;
|
|
4103
4129
|
},
|
|
4104
|
-
m(i,
|
|
4105
|
-
t.m(r, i,
|
|
4130
|
+
m(i, o) {
|
|
4131
|
+
t.m(r, i, o), M(i, n, o);
|
|
4106
4132
|
},
|
|
4107
|
-
p(i,
|
|
4108
|
-
|
|
4133
|
+
p(i, o) {
|
|
4134
|
+
o & /*$_*/
|
|
4109
4135
|
8192 && r !== (r = /*$_*/
|
|
4110
4136
|
i[13]("scoreCriteriaType.stake") + "") && t.p(r);
|
|
4111
4137
|
},
|
|
@@ -4116,36 +4142,36 @@ function Ht(e) {
|
|
|
4116
4142
|
}
|
|
4117
4143
|
function Ct(e) {
|
|
4118
4144
|
let t, r, n;
|
|
4119
|
-
function i(
|
|
4145
|
+
function i(a, h) {
|
|
4120
4146
|
return (
|
|
4121
4147
|
/*noMinCasinoBet*/
|
|
4122
|
-
|
|
4123
|
-
|
|
4148
|
+
a[8] && /*noMaxCasinoBet*/
|
|
4149
|
+
a[9] ? Ri : (
|
|
4124
4150
|
/*noMinCasinoBet*/
|
|
4125
|
-
|
|
4151
|
+
a[8] ? Mi : (
|
|
4126
4152
|
/*noMaxCasinoBet*/
|
|
4127
|
-
|
|
4153
|
+
a[9] ? Ci : Hi
|
|
4128
4154
|
)
|
|
4129
4155
|
)
|
|
4130
4156
|
);
|
|
4131
4157
|
}
|
|
4132
|
-
let
|
|
4158
|
+
let o = i(e), s = o(e);
|
|
4133
4159
|
return {
|
|
4134
4160
|
c() {
|
|
4135
|
-
t =
|
|
4161
|
+
t = E("div"), r = E("div"), r.innerHTML = `<img src="${ir}"/>`, n = L(), s.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4136
4162
|
},
|
|
4137
|
-
m(
|
|
4138
|
-
M(
|
|
4163
|
+
m(a, h) {
|
|
4164
|
+
M(a, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4139
4165
|
},
|
|
4140
|
-
p(
|
|
4141
|
-
|
|
4166
|
+
p(a, h) {
|
|
4167
|
+
o === (o = i(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
4142
4168
|
},
|
|
4143
|
-
d(
|
|
4144
|
-
|
|
4169
|
+
d(a) {
|
|
4170
|
+
a && H(t), s.d();
|
|
4145
4171
|
}
|
|
4146
4172
|
};
|
|
4147
4173
|
}
|
|
4148
|
-
function
|
|
4174
|
+
function Hi(e) {
|
|
4149
4175
|
let t, r = (
|
|
4150
4176
|
/*$_*/
|
|
4151
4177
|
e[13]("productMinMaxBet", {
|
|
@@ -4158,7 +4184,7 @@ function Ti(e) {
|
|
|
4158
4184
|
e[14](
|
|
4159
4185
|
/*casino*/
|
|
4160
4186
|
e[6].minbet
|
|
4161
|
-
) ?
|
|
4187
|
+
) ? N[
|
|
4162
4188
|
/*currency*/
|
|
4163
4189
|
e[12]
|
|
4164
4190
|
] : ""}${/*casino*/
|
|
@@ -4167,7 +4193,7 @@ function Ti(e) {
|
|
|
4167
4193
|
e[14](
|
|
4168
4194
|
/*casino*/
|
|
4169
4195
|
e[6].maxbet
|
|
4170
|
-
) ?
|
|
4196
|
+
) ? N[
|
|
4171
4197
|
/*currency*/
|
|
4172
4198
|
e[12]
|
|
4173
4199
|
] : ""}${/*casino*/
|
|
@@ -4177,13 +4203,13 @@ function Ti(e) {
|
|
|
4177
4203
|
), n;
|
|
4178
4204
|
return {
|
|
4179
4205
|
c() {
|
|
4180
|
-
t =
|
|
4206
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4181
4207
|
},
|
|
4182
|
-
m(i,
|
|
4183
|
-
M(i, t,
|
|
4208
|
+
m(i, o) {
|
|
4209
|
+
M(i, t, o), p(t, n);
|
|
4184
4210
|
},
|
|
4185
|
-
p(i,
|
|
4186
|
-
|
|
4211
|
+
p(i, o) {
|
|
4212
|
+
o & /*$_, casino, currency*/
|
|
4187
4213
|
12352 && r !== (r = /*$_*/
|
|
4188
4214
|
i[13]("productMinMaxBet", {
|
|
4189
4215
|
values: {
|
|
@@ -4195,7 +4221,7 @@ function Ti(e) {
|
|
|
4195
4221
|
i[14](
|
|
4196
4222
|
/*casino*/
|
|
4197
4223
|
i[6].minbet
|
|
4198
|
-
) ?
|
|
4224
|
+
) ? N[
|
|
4199
4225
|
/*currency*/
|
|
4200
4226
|
i[12]
|
|
4201
4227
|
] : ""}${/*casino*/
|
|
@@ -4204,7 +4230,7 @@ function Ti(e) {
|
|
|
4204
4230
|
i[14](
|
|
4205
4231
|
/*casino*/
|
|
4206
4232
|
i[6].maxbet
|
|
4207
|
-
) ?
|
|
4233
|
+
) ? N[
|
|
4208
4234
|
/*currency*/
|
|
4209
4235
|
i[12]
|
|
4210
4236
|
] : ""}${/*casino*/
|
|
@@ -4217,7 +4243,7 @@ function Ti(e) {
|
|
|
4217
4243
|
}
|
|
4218
4244
|
};
|
|
4219
4245
|
}
|
|
4220
|
-
function
|
|
4246
|
+
function Ci(e) {
|
|
4221
4247
|
let t, r = (
|
|
4222
4248
|
/*$_*/
|
|
4223
4249
|
e[13]("productMinBet", {
|
|
@@ -4230,7 +4256,7 @@ function Bi(e) {
|
|
|
4230
4256
|
e[14](
|
|
4231
4257
|
/*casino*/
|
|
4232
4258
|
e[6].minbet
|
|
4233
|
-
) ?
|
|
4259
|
+
) ? N[
|
|
4234
4260
|
/*currency*/
|
|
4235
4261
|
e[12]
|
|
4236
4262
|
] : ""}${/*casino*/
|
|
@@ -4240,13 +4266,13 @@ function Bi(e) {
|
|
|
4240
4266
|
), n;
|
|
4241
4267
|
return {
|
|
4242
4268
|
c() {
|
|
4243
|
-
t =
|
|
4269
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4244
4270
|
},
|
|
4245
|
-
m(i,
|
|
4246
|
-
M(i, t,
|
|
4271
|
+
m(i, o) {
|
|
4272
|
+
M(i, t, o), p(t, n);
|
|
4247
4273
|
},
|
|
4248
|
-
p(i,
|
|
4249
|
-
|
|
4274
|
+
p(i, o) {
|
|
4275
|
+
o & /*$_, casino, currency*/
|
|
4250
4276
|
12352 && r !== (r = /*$_*/
|
|
4251
4277
|
i[13]("productMinBet", {
|
|
4252
4278
|
values: {
|
|
@@ -4258,7 +4284,7 @@ function Bi(e) {
|
|
|
4258
4284
|
i[14](
|
|
4259
4285
|
/*casino*/
|
|
4260
4286
|
i[6].minbet
|
|
4261
|
-
) ?
|
|
4287
|
+
) ? N[
|
|
4262
4288
|
/*currency*/
|
|
4263
4289
|
i[12]
|
|
4264
4290
|
] : ""}${/*casino*/
|
|
@@ -4271,7 +4297,7 @@ function Bi(e) {
|
|
|
4271
4297
|
}
|
|
4272
4298
|
};
|
|
4273
4299
|
}
|
|
4274
|
-
function
|
|
4300
|
+
function Mi(e) {
|
|
4275
4301
|
let t, r = (
|
|
4276
4302
|
/*$_*/
|
|
4277
4303
|
e[13]("productMaxBet", {
|
|
@@ -4284,7 +4310,7 @@ function wi(e) {
|
|
|
4284
4310
|
e[14](
|
|
4285
4311
|
/*casino*/
|
|
4286
4312
|
e[6].maxbet
|
|
4287
|
-
) ?
|
|
4313
|
+
) ? N[
|
|
4288
4314
|
/*currency*/
|
|
4289
4315
|
e[12]
|
|
4290
4316
|
] : ""}${/*casino*/
|
|
@@ -4294,13 +4320,13 @@ function wi(e) {
|
|
|
4294
4320
|
), n;
|
|
4295
4321
|
return {
|
|
4296
4322
|
c() {
|
|
4297
|
-
t =
|
|
4323
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4298
4324
|
},
|
|
4299
|
-
m(i,
|
|
4300
|
-
M(i, t,
|
|
4325
|
+
m(i, o) {
|
|
4326
|
+
M(i, t, o), p(t, n);
|
|
4301
4327
|
},
|
|
4302
|
-
p(i,
|
|
4303
|
-
|
|
4328
|
+
p(i, o) {
|
|
4329
|
+
o & /*$_, casino, currency*/
|
|
4304
4330
|
12352 && r !== (r = /*$_*/
|
|
4305
4331
|
i[13]("productMaxBet", {
|
|
4306
4332
|
values: {
|
|
@@ -4312,7 +4338,7 @@ function wi(e) {
|
|
|
4312
4338
|
i[14](
|
|
4313
4339
|
/*casino*/
|
|
4314
4340
|
i[6].maxbet
|
|
4315
|
-
) ?
|
|
4341
|
+
) ? N[
|
|
4316
4342
|
/*currency*/
|
|
4317
4343
|
i[12]
|
|
4318
4344
|
] : ""}${/*casino*/
|
|
@@ -4325,7 +4351,7 @@ function wi(e) {
|
|
|
4325
4351
|
}
|
|
4326
4352
|
};
|
|
4327
4353
|
}
|
|
4328
|
-
function
|
|
4354
|
+
function Ri(e) {
|
|
4329
4355
|
let t, r = (
|
|
4330
4356
|
/*$_*/
|
|
4331
4357
|
e[13]("productNoLimitsBet", {
|
|
@@ -4337,13 +4363,13 @@ function Hi(e) {
|
|
|
4337
4363
|
), n;
|
|
4338
4364
|
return {
|
|
4339
4365
|
c() {
|
|
4340
|
-
t =
|
|
4366
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4341
4367
|
},
|
|
4342
|
-
m(i,
|
|
4343
|
-
M(i, t,
|
|
4368
|
+
m(i, o) {
|
|
4369
|
+
M(i, t, o), p(t, n);
|
|
4344
4370
|
},
|
|
4345
|
-
p(i,
|
|
4346
|
-
|
|
4371
|
+
p(i, o) {
|
|
4372
|
+
o & /*$_, casino*/
|
|
4347
4373
|
8256 && r !== (r = /*$_*/
|
|
4348
4374
|
i[13]("productNoLimitsBet", {
|
|
4349
4375
|
values: { productName: (
|
|
@@ -4357,38 +4383,38 @@ function Hi(e) {
|
|
|
4357
4383
|
}
|
|
4358
4384
|
};
|
|
4359
4385
|
}
|
|
4360
|
-
function
|
|
4386
|
+
function Mt(e) {
|
|
4361
4387
|
let t, r, n;
|
|
4362
|
-
function i(
|
|
4388
|
+
function i(a, h) {
|
|
4363
4389
|
return (
|
|
4364
4390
|
/*noMinSportsBet*/
|
|
4365
|
-
|
|
4366
|
-
|
|
4391
|
+
a[10] && /*noMaxSportsBet*/
|
|
4392
|
+
a[11] ? Li : (
|
|
4367
4393
|
/*noMinSportsBet*/
|
|
4368
|
-
|
|
4394
|
+
a[10] ? Ai : (
|
|
4369
4395
|
/*noMaxSportsBet*/
|
|
4370
|
-
|
|
4396
|
+
a[11] ? Ni : ki
|
|
4371
4397
|
)
|
|
4372
4398
|
)
|
|
4373
4399
|
);
|
|
4374
4400
|
}
|
|
4375
|
-
let
|
|
4401
|
+
let o = i(e), s = o(e);
|
|
4376
4402
|
return {
|
|
4377
4403
|
c() {
|
|
4378
|
-
t =
|
|
4404
|
+
t = E("div"), r = E("div"), r.innerHTML = `<img src="${ir}"/>`, n = L(), s.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4379
4405
|
},
|
|
4380
|
-
m(
|
|
4381
|
-
M(
|
|
4406
|
+
m(a, h) {
|
|
4407
|
+
M(a, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4382
4408
|
},
|
|
4383
|
-
p(
|
|
4384
|
-
|
|
4409
|
+
p(a, h) {
|
|
4410
|
+
o === (o = i(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
4385
4411
|
},
|
|
4386
|
-
d(
|
|
4387
|
-
|
|
4412
|
+
d(a) {
|
|
4413
|
+
a && H(t), s.d();
|
|
4388
4414
|
}
|
|
4389
4415
|
};
|
|
4390
4416
|
}
|
|
4391
|
-
function
|
|
4417
|
+
function ki(e) {
|
|
4392
4418
|
let t, r = (
|
|
4393
4419
|
/*$_*/
|
|
4394
4420
|
e[13]("productMinMaxBet", {
|
|
@@ -4401,7 +4427,7 @@ function Ci(e) {
|
|
|
4401
4427
|
e[14](
|
|
4402
4428
|
/*sports*/
|
|
4403
4429
|
e[7].minbet
|
|
4404
|
-
) ?
|
|
4430
|
+
) ? N[
|
|
4405
4431
|
/*currency*/
|
|
4406
4432
|
e[12]
|
|
4407
4433
|
] : ""}${/*sports*/
|
|
@@ -4410,7 +4436,7 @@ function Ci(e) {
|
|
|
4410
4436
|
e[14](
|
|
4411
4437
|
/*sports*/
|
|
4412
4438
|
e[7].maxbet
|
|
4413
|
-
) ?
|
|
4439
|
+
) ? N[
|
|
4414
4440
|
/*currency*/
|
|
4415
4441
|
e[12]
|
|
4416
4442
|
] : ""}${/*sports*/
|
|
@@ -4420,13 +4446,13 @@ function Ci(e) {
|
|
|
4420
4446
|
), n;
|
|
4421
4447
|
return {
|
|
4422
4448
|
c() {
|
|
4423
|
-
t =
|
|
4449
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4424
4450
|
},
|
|
4425
|
-
m(i,
|
|
4426
|
-
M(i, t,
|
|
4451
|
+
m(i, o) {
|
|
4452
|
+
M(i, t, o), p(t, n);
|
|
4427
4453
|
},
|
|
4428
|
-
p(i,
|
|
4429
|
-
|
|
4454
|
+
p(i, o) {
|
|
4455
|
+
o & /*$_, sports, currency*/
|
|
4430
4456
|
12416 && r !== (r = /*$_*/
|
|
4431
4457
|
i[13]("productMinMaxBet", {
|
|
4432
4458
|
values: {
|
|
@@ -4438,7 +4464,7 @@ function Ci(e) {
|
|
|
4438
4464
|
i[14](
|
|
4439
4465
|
/*sports*/
|
|
4440
4466
|
i[7].minbet
|
|
4441
|
-
) ?
|
|
4467
|
+
) ? N[
|
|
4442
4468
|
/*currency*/
|
|
4443
4469
|
i[12]
|
|
4444
4470
|
] : ""}${/*sports*/
|
|
@@ -4447,7 +4473,7 @@ function Ci(e) {
|
|
|
4447
4473
|
i[14](
|
|
4448
4474
|
/*sports*/
|
|
4449
4475
|
i[7].maxbet
|
|
4450
|
-
) ?
|
|
4476
|
+
) ? N[
|
|
4451
4477
|
/*currency*/
|
|
4452
4478
|
i[12]
|
|
4453
4479
|
] : ""}${/*sports*/
|
|
@@ -4460,7 +4486,7 @@ function Ci(e) {
|
|
|
4460
4486
|
}
|
|
4461
4487
|
};
|
|
4462
4488
|
}
|
|
4463
|
-
function
|
|
4489
|
+
function Ni(e) {
|
|
4464
4490
|
let t, r = (
|
|
4465
4491
|
/*$_*/
|
|
4466
4492
|
e[13]("productMinBet", {
|
|
@@ -4473,7 +4499,7 @@ function Si(e) {
|
|
|
4473
4499
|
e[14](
|
|
4474
4500
|
/*sports*/
|
|
4475
4501
|
e[7].minbet
|
|
4476
|
-
) ?
|
|
4502
|
+
) ? N[
|
|
4477
4503
|
/*currency*/
|
|
4478
4504
|
e[12]
|
|
4479
4505
|
] : ""}${/*sports*/
|
|
@@ -4483,13 +4509,13 @@ function Si(e) {
|
|
|
4483
4509
|
), n;
|
|
4484
4510
|
return {
|
|
4485
4511
|
c() {
|
|
4486
|
-
t =
|
|
4512
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4487
4513
|
},
|
|
4488
|
-
m(i,
|
|
4489
|
-
M(i, t,
|
|
4514
|
+
m(i, o) {
|
|
4515
|
+
M(i, t, o), p(t, n);
|
|
4490
4516
|
},
|
|
4491
|
-
p(i,
|
|
4492
|
-
|
|
4517
|
+
p(i, o) {
|
|
4518
|
+
o & /*$_, sports, currency*/
|
|
4493
4519
|
12416 && r !== (r = /*$_*/
|
|
4494
4520
|
i[13]("productMinBet", {
|
|
4495
4521
|
values: {
|
|
@@ -4501,7 +4527,7 @@ function Si(e) {
|
|
|
4501
4527
|
i[14](
|
|
4502
4528
|
/*sports*/
|
|
4503
4529
|
i[7].minbet
|
|
4504
|
-
) ?
|
|
4530
|
+
) ? N[
|
|
4505
4531
|
/*currency*/
|
|
4506
4532
|
i[12]
|
|
4507
4533
|
] : ""}${/*sports*/
|
|
@@ -4514,7 +4540,7 @@ function Si(e) {
|
|
|
4514
4540
|
}
|
|
4515
4541
|
};
|
|
4516
4542
|
}
|
|
4517
|
-
function
|
|
4543
|
+
function Ai(e) {
|
|
4518
4544
|
let t, r = (
|
|
4519
4545
|
/*$_*/
|
|
4520
4546
|
e[13]("productMaxBet", {
|
|
@@ -4527,7 +4553,7 @@ function Mi(e) {
|
|
|
4527
4553
|
e[14](
|
|
4528
4554
|
/*sports*/
|
|
4529
4555
|
e[7].maxbet
|
|
4530
|
-
) ?
|
|
4556
|
+
) ? N[
|
|
4531
4557
|
/*currency*/
|
|
4532
4558
|
e[12]
|
|
4533
4559
|
] : ""}${/*sports*/
|
|
@@ -4537,13 +4563,13 @@ function Mi(e) {
|
|
|
4537
4563
|
), n;
|
|
4538
4564
|
return {
|
|
4539
4565
|
c() {
|
|
4540
|
-
t =
|
|
4566
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4541
4567
|
},
|
|
4542
|
-
m(i,
|
|
4543
|
-
M(i, t,
|
|
4568
|
+
m(i, o) {
|
|
4569
|
+
M(i, t, o), p(t, n);
|
|
4544
4570
|
},
|
|
4545
|
-
p(i,
|
|
4546
|
-
|
|
4571
|
+
p(i, o) {
|
|
4572
|
+
o & /*$_, sports, currency*/
|
|
4547
4573
|
12416 && r !== (r = /*$_*/
|
|
4548
4574
|
i[13]("productMaxBet", {
|
|
4549
4575
|
values: {
|
|
@@ -4555,7 +4581,7 @@ function Mi(e) {
|
|
|
4555
4581
|
i[14](
|
|
4556
4582
|
/*sports*/
|
|
4557
4583
|
i[7].maxbet
|
|
4558
|
-
) ?
|
|
4584
|
+
) ? N[
|
|
4559
4585
|
/*currency*/
|
|
4560
4586
|
i[12]
|
|
4561
4587
|
] : ""}${/*sports*/
|
|
@@ -4568,7 +4594,7 @@ function Mi(e) {
|
|
|
4568
4594
|
}
|
|
4569
4595
|
};
|
|
4570
4596
|
}
|
|
4571
|
-
function
|
|
4597
|
+
function Li(e) {
|
|
4572
4598
|
let t, r = (
|
|
4573
4599
|
/*$_*/
|
|
4574
4600
|
e[13]("productNoLimitsBet", {
|
|
@@ -4580,13 +4606,13 @@ function Ri(e) {
|
|
|
4580
4606
|
), n;
|
|
4581
4607
|
return {
|
|
4582
4608
|
c() {
|
|
4583
|
-
t =
|
|
4609
|
+
t = E("div"), n = V(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4584
4610
|
},
|
|
4585
|
-
m(i,
|
|
4586
|
-
M(i, t,
|
|
4611
|
+
m(i, o) {
|
|
4612
|
+
M(i, t, o), p(t, n);
|
|
4587
4613
|
},
|
|
4588
|
-
p(i,
|
|
4589
|
-
|
|
4614
|
+
p(i, o) {
|
|
4615
|
+
o & /*$_, sports*/
|
|
4590
4616
|
8320 && r !== (r = /*$_*/
|
|
4591
4617
|
i[13]("productNoLimitsBet", {
|
|
4592
4618
|
values: { productName: (
|
|
@@ -4600,8 +4626,8 @@ function Ri(e) {
|
|
|
4600
4626
|
}
|
|
4601
4627
|
};
|
|
4602
4628
|
}
|
|
4603
|
-
function
|
|
4604
|
-
let t, r, n, i,
|
|
4629
|
+
function Pi(e) {
|
|
4630
|
+
let t, r, n, i, o, s, a, h, u, l, c, f, g, v = (
|
|
4605
4631
|
/*$_*/
|
|
4606
4632
|
e[13]("miniBetCount", {
|
|
4607
4633
|
values: { betCount: (
|
|
@@ -4609,7 +4635,7 @@ function ki(e) {
|
|
|
4609
4635
|
e[1]
|
|
4610
4636
|
) }
|
|
4611
4637
|
}) + ""
|
|
4612
|
-
),
|
|
4638
|
+
), x, S, B, R, C, A, k = (
|
|
4613
4639
|
/*$_*/
|
|
4614
4640
|
e[13]("timePeriod", {
|
|
4615
4641
|
values: {
|
|
@@ -4623,176 +4649,161 @@ function ki(e) {
|
|
|
4623
4649
|
)
|
|
4624
4650
|
}
|
|
4625
4651
|
}) + ""
|
|
4626
|
-
),
|
|
4652
|
+
), z, te, Y, re, xe, K, ie = (
|
|
4627
4653
|
/*$_*/
|
|
4628
4654
|
e[13]("terms", { values: { tcUrl: (
|
|
4629
4655
|
/*tcurl*/
|
|
4630
4656
|
e[4]
|
|
4631
4657
|
) } }) + ""
|
|
4632
|
-
),
|
|
4658
|
+
), d, W, q, Te, at, O = (
|
|
4633
4659
|
/*scorecriterial*/
|
|
4634
|
-
e[0] == "BetCount" &&
|
|
4635
|
-
),
|
|
4660
|
+
e[0] == "BetCount" && wt(e)
|
|
4661
|
+
), I = (
|
|
4636
4662
|
/*scorecriterial*/
|
|
4637
4663
|
e[0] == "WinStakeRatio" && Bt(e)
|
|
4638
|
-
),
|
|
4664
|
+
), $ = (
|
|
4639
4665
|
/*scorecriterial*/
|
|
4640
|
-
e[0] == "MaxWinStakeRatio" &&
|
|
4641
|
-
),
|
|
4666
|
+
e[0] == "MaxWinStakeRatio" && St(e)
|
|
4667
|
+
), D = (
|
|
4642
4668
|
/*scorecriterial*/
|
|
4643
4669
|
e[0] == "Stake" && Ht(e)
|
|
4644
|
-
),
|
|
4670
|
+
), U = (
|
|
4645
4671
|
/*casino*/
|
|
4646
4672
|
e[6] && Ct(e)
|
|
4647
|
-
),
|
|
4673
|
+
), G = (
|
|
4648
4674
|
/*sports*/
|
|
4649
|
-
e[7] &&
|
|
4675
|
+
e[7] && Mt(e)
|
|
4650
4676
|
);
|
|
4651
4677
|
return {
|
|
4652
4678
|
c() {
|
|
4653
|
-
t =
|
|
4679
|
+
t = E("div"), r = E("div"), n = E("div"), n.innerHTML = `<img src="${Ti}"/>`, i = L(), o = E("div"), O && O.c(), s = L(), I && I.c(), a = L(), $ && $.c(), h = L(), D && D.c(), u = L(), l = E("div"), c = E("div"), c.innerHTML = `<img src="${xi}"/>`, f = L(), g = E("div"), x = V(v), S = L(), B = E("div"), R = E("div"), R.innerHTML = `<img src="${wi}"/>`, C = L(), A = E("div"), z = V(k), te = L(), Y = E("div"), re = E("div"), re.innerHTML = `<img src="${Bi}"/>`, xe = L(), K = E("div"), d = L(), U && U.c(), W = L(), q = E("span"), at = L(), G && G.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(o, "class", "RuleTxt"), m(o, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(l, "class", "RulesRow"), m(l, "part", "rule"), m(R, "class", "RuleIcon"), m(R, "part", "RuleIcon"), m(A, "class", "RuleTxt"), m(A, "part", "RuleTxt"), m(B, "class", "RulesRow"), m(B, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(Y, "class", "RulesRow"), m(Y, "part", "rule"), m(q, "type", "hidden"), m(q, "href", Te = { tcurl: (
|
|
4654
4680
|
/*tcurl*/
|
|
4655
4681
|
e[4]
|
|
4656
4682
|
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4657
4683
|
},
|
|
4658
|
-
m(
|
|
4659
|
-
M(
|
|
4684
|
+
m(_, j) {
|
|
4685
|
+
M(_, t, j), p(t, r), p(r, n), p(r, i), p(r, o), O && O.m(o, null), p(o, s), I && I.m(o, null), p(o, a), $ && $.m(o, null), p(o, h), D && D.m(o, null), p(t, u), p(t, l), p(l, c), p(l, f), p(l, g), p(g, x), p(t, S), p(t, B), p(B, R), p(B, C), p(B, A), p(A, z), p(t, te), p(t, Y), p(Y, re), p(Y, xe), p(Y, K), K.innerHTML = ie, p(t, d), U && U.m(t, null), p(t, W), p(t, q), p(t, at), G && G.m(t, null), e[21](t);
|
|
4660
4686
|
},
|
|
4661
|
-
p(
|
|
4687
|
+
p(_, [j]) {
|
|
4662
4688
|
/*scorecriterial*/
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
8194 &&
|
|
4668
|
-
|
|
4689
|
+
_[0] == "BetCount" ? O ? O.p(_, j) : (O = wt(_), O.c(), O.m(o, s)) : O && (O.d(1), O = null), /*scorecriterial*/
|
|
4690
|
+
_[0] == "WinStakeRatio" ? I ? I.p(_, j) : (I = Bt(_), I.c(), I.m(o, a)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4691
|
+
_[0] == "MaxWinStakeRatio" ? $ ? $.p(_, j) : ($ = St(_), $.c(), $.m(o, h)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4692
|
+
_[0] == "Stake" ? D ? D.p(_, j) : (D = Ht(_), D.c(), D.m(o, null)) : D && (D.d(1), D = null), j & /*$_, betcount*/
|
|
4693
|
+
8194 && v !== (v = /*$_*/
|
|
4694
|
+
_[13]("miniBetCount", {
|
|
4669
4695
|
values: { betCount: (
|
|
4670
4696
|
/*betcount*/
|
|
4671
|
-
|
|
4697
|
+
_[1]
|
|
4672
4698
|
) }
|
|
4673
|
-
}) + "") && J(
|
|
4674
|
-
8204 &&
|
|
4675
|
-
|
|
4699
|
+
}) + "") && J(x, v), j & /*$_, starttime, endtime*/
|
|
4700
|
+
8204 && k !== (k = /*$_*/
|
|
4701
|
+
_[13]("timePeriod", {
|
|
4676
4702
|
values: {
|
|
4677
4703
|
startTime: (
|
|
4678
4704
|
/*starttime*/
|
|
4679
|
-
|
|
4705
|
+
_[2]
|
|
4680
4706
|
),
|
|
4681
4707
|
endTime: (
|
|
4682
4708
|
/*endtime*/
|
|
4683
|
-
|
|
4709
|
+
_[3]
|
|
4684
4710
|
)
|
|
4685
4711
|
}
|
|
4686
|
-
}) + "") && J(
|
|
4687
|
-
8208 &&
|
|
4688
|
-
|
|
4712
|
+
}) + "") && J(z, k), j & /*$_, tcurl*/
|
|
4713
|
+
8208 && ie !== (ie = /*$_*/
|
|
4714
|
+
_[13]("terms", { values: { tcUrl: (
|
|
4689
4715
|
/*tcurl*/
|
|
4690
|
-
|
|
4691
|
-
) } }) + "") && (K.innerHTML =
|
|
4692
|
-
|
|
4693
|
-
16 &&
|
|
4716
|
+
_[4]
|
|
4717
|
+
) } }) + "") && (K.innerHTML = ie), /*casino*/
|
|
4718
|
+
_[6] ? U ? U.p(_, j) : (U = Ct(_), U.c(), U.m(t, W)) : U && (U.d(1), U = null), j & /*tcurl*/
|
|
4719
|
+
16 && Te !== (Te = { tcurl: (
|
|
4694
4720
|
/*tcurl*/
|
|
4695
|
-
|
|
4696
|
-
) }) && m(
|
|
4697
|
-
|
|
4721
|
+
_[4]
|
|
4722
|
+
) }) && m(q, "href", Te), /*sports*/
|
|
4723
|
+
_[7] ? G ? G.p(_, j) : (G = Mt(_), G.c(), G.m(t, null)) : G && (G.d(1), G = null);
|
|
4698
4724
|
},
|
|
4699
|
-
i:
|
|
4700
|
-
o:
|
|
4701
|
-
d(
|
|
4702
|
-
|
|
4725
|
+
i: X,
|
|
4726
|
+
o: X,
|
|
4727
|
+
d(_) {
|
|
4728
|
+
_ && H(t), O && O.d(), I && I.d(), $ && $.d(), D && D.d(), U && U.d(), G && G.d(), e[21](null);
|
|
4703
4729
|
}
|
|
4704
4730
|
};
|
|
4705
4731
|
}
|
|
4706
|
-
function
|
|
4732
|
+
function Oi(e, t, r) {
|
|
4707
4733
|
let n;
|
|
4708
|
-
ar(e,
|
|
4709
|
-
let { lang: i = "tr" } = t, { scorecriterial:
|
|
4710
|
-
|
|
4711
|
-
const
|
|
4712
|
-
fetch(g).then((
|
|
4713
|
-
Object.keys(
|
|
4714
|
-
|
|
4734
|
+
ar(e, bi, (d) => r(13, n = d));
|
|
4735
|
+
let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: s } = t, { starttime: a } = t, { endtime: h } = t, { tcurl: u } = t, { products: l = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: v } = t, x, S, B, R = !1, C = !1, A = !1, k = !1, z = "EUR";
|
|
4736
|
+
gi({ withLocale: "en", translations: {} });
|
|
4737
|
+
const te = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", Y = () => {
|
|
4738
|
+
fetch(g).then((W) => W.json()).then((W) => {
|
|
4739
|
+
Object.keys(W).forEach((q) => {
|
|
4740
|
+
xt(q, W[q]);
|
|
4715
4741
|
});
|
|
4716
|
-
}).catch((
|
|
4717
|
-
console.log(
|
|
4742
|
+
}).catch((W) => {
|
|
4743
|
+
console.log(W);
|
|
4718
4744
|
});
|
|
4719
4745
|
};
|
|
4720
|
-
Object.keys(
|
|
4721
|
-
|
|
4746
|
+
Object.keys(Tt).forEach((d) => {
|
|
4747
|
+
xt(d, Tt[d]);
|
|
4722
4748
|
});
|
|
4723
|
-
const
|
|
4724
|
-
d && (r(12,
|
|
4725
|
-
},
|
|
4726
|
-
|
|
4727
|
-
},
|
|
4728
|
-
let d = document.createElement("style");
|
|
4729
|
-
d.innerHTML = c, y.appendChild(d);
|
|
4730
|
-
}, K = () => {
|
|
4731
|
-
let d = new URL(f), L = document.createElement("style");
|
|
4732
|
-
fetch(d.href).then((X) => X.text()).then((X) => {
|
|
4733
|
-
L.innerHTML = X, setTimeout(
|
|
4734
|
-
() => {
|
|
4735
|
-
y.appendChild(L);
|
|
4736
|
-
},
|
|
4737
|
-
1
|
|
4738
|
-
), setTimeout(
|
|
4739
|
-
() => {
|
|
4740
|
-
},
|
|
4741
|
-
500
|
|
4742
|
-
);
|
|
4743
|
-
});
|
|
4744
|
-
}, re = (d) => {
|
|
4749
|
+
const re = (d) => {
|
|
4750
|
+
d && (r(12, z = d.currency), d.casino ? (r(6, S = d.casino), r(8, R = !(S.hasOwnProperty("minbet") && S.minbet != 0)), r(9, C = !(S.hasOwnProperty("maxbet") && S.maxbet != 0))) : (r(8, R = !0), r(9, C = !0)), d.sports ? (r(7, B = d.sports), r(10, A = !(B.hasOwnProperty("minbet") && B.minbet != 0)), r(11, k = !(B.hasOwnProperty("maxbet") && B.maxbet != 0))) : (r(10, A = !0), r(11, k = !0)));
|
|
4751
|
+
}, xe = () => {
|
|
4752
|
+
yi(i);
|
|
4753
|
+
}, K = (d) => {
|
|
4745
4754
|
d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, l = d.data.productInfo);
|
|
4746
4755
|
};
|
|
4747
|
-
|
|
4748
|
-
window.removeEventListener("message",
|
|
4756
|
+
dr(() => (window.addEventListener("message", K, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4757
|
+
window.removeEventListener("message", K);
|
|
4749
4758
|
}));
|
|
4750
|
-
function
|
|
4751
|
-
|
|
4752
|
-
|
|
4759
|
+
function ie(d) {
|
|
4760
|
+
ze[d ? "unshift" : "push"](() => {
|
|
4761
|
+
x = d, r(5, x);
|
|
4753
4762
|
});
|
|
4754
4763
|
}
|
|
4755
4764
|
return e.$$set = (d) => {
|
|
4756
|
-
"lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0,
|
|
4765
|
+
"lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, o = d.scorecriterial), "betcount" in d && r(1, s = d.betcount), "starttime" in d && r(2, a = d.starttime), "endtime" in d && r(3, h = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, l = d.products), "clientstyling" in d && r(17, c = d.clientstyling), "clientstylingurl" in d && r(18, f = d.clientstylingurl), "translationurl" in d && r(19, g = d.translationurl), "mbsource" in d && r(20, v = d.mbsource);
|
|
4757
4766
|
}, e.$$.update = () => {
|
|
4758
4767
|
e.$$.dirty & /*lang*/
|
|
4759
|
-
65536 && i &&
|
|
4760
|
-
32768 && l &&
|
|
4761
|
-
131104 && c &&
|
|
4762
|
-
262176 && f &&
|
|
4763
|
-
|
|
4768
|
+
65536 && i && xe(), e.$$.dirty & /*products*/
|
|
4769
|
+
32768 && l && re(l), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4770
|
+
131104 && c && x && vi(x, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4771
|
+
262176 && f && x && _i(x, f), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4772
|
+
1048608 && v && x && Ei(x, `${v}.Style`), e.$$.dirty & /*translationurl*/
|
|
4773
|
+
524288 && g && Y();
|
|
4764
4774
|
}, [
|
|
4765
|
-
a,
|
|
4766
|
-
s,
|
|
4767
4775
|
o,
|
|
4776
|
+
s,
|
|
4777
|
+
a,
|
|
4768
4778
|
h,
|
|
4769
4779
|
u,
|
|
4770
|
-
|
|
4771
|
-
T,
|
|
4772
|
-
w,
|
|
4773
|
-
C,
|
|
4774
|
-
R,
|
|
4780
|
+
x,
|
|
4775
4781
|
S,
|
|
4776
|
-
|
|
4782
|
+
B,
|
|
4783
|
+
R,
|
|
4784
|
+
C,
|
|
4777
4785
|
A,
|
|
4786
|
+
k,
|
|
4787
|
+
z,
|
|
4778
4788
|
n,
|
|
4779
|
-
|
|
4789
|
+
te,
|
|
4780
4790
|
l,
|
|
4781
4791
|
i,
|
|
4782
4792
|
c,
|
|
4783
4793
|
f,
|
|
4784
4794
|
g,
|
|
4785
|
-
|
|
4795
|
+
v,
|
|
4796
|
+
ie
|
|
4786
4797
|
];
|
|
4787
4798
|
}
|
|
4788
|
-
class
|
|
4799
|
+
class Ii extends Sr {
|
|
4789
4800
|
constructor(t) {
|
|
4790
|
-
super(),
|
|
4801
|
+
super(), wr(
|
|
4791
4802
|
this,
|
|
4792
4803
|
t,
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4804
|
+
Oi,
|
|
4805
|
+
Pi,
|
|
4806
|
+
kt,
|
|
4796
4807
|
{
|
|
4797
4808
|
lang: 16,
|
|
4798
4809
|
scorecriterial: 0,
|
|
@@ -4803,73 +4814,80 @@ class Ai extends wr {
|
|
|
4803
4814
|
products: 15,
|
|
4804
4815
|
clientstyling: 17,
|
|
4805
4816
|
clientstylingurl: 18,
|
|
4806
|
-
translationurl: 19
|
|
4817
|
+
translationurl: 19,
|
|
4818
|
+
mbsource: 20
|
|
4807
4819
|
},
|
|
4808
|
-
|
|
4820
|
+
Si
|
|
4809
4821
|
);
|
|
4810
4822
|
}
|
|
4811
4823
|
get lang() {
|
|
4812
4824
|
return this.$$.ctx[16];
|
|
4813
4825
|
}
|
|
4814
4826
|
set lang(t) {
|
|
4815
|
-
this.$$set({ lang: t }),
|
|
4827
|
+
this.$$set({ lang: t }), F();
|
|
4816
4828
|
}
|
|
4817
4829
|
get scorecriterial() {
|
|
4818
4830
|
return this.$$.ctx[0];
|
|
4819
4831
|
}
|
|
4820
4832
|
set scorecriterial(t) {
|
|
4821
|
-
this.$$set({ scorecriterial: t }),
|
|
4833
|
+
this.$$set({ scorecriterial: t }), F();
|
|
4822
4834
|
}
|
|
4823
4835
|
get betcount() {
|
|
4824
4836
|
return this.$$.ctx[1];
|
|
4825
4837
|
}
|
|
4826
4838
|
set betcount(t) {
|
|
4827
|
-
this.$$set({ betcount: t }),
|
|
4839
|
+
this.$$set({ betcount: t }), F();
|
|
4828
4840
|
}
|
|
4829
4841
|
get starttime() {
|
|
4830
4842
|
return this.$$.ctx[2];
|
|
4831
4843
|
}
|
|
4832
4844
|
set starttime(t) {
|
|
4833
|
-
this.$$set({ starttime: t }),
|
|
4845
|
+
this.$$set({ starttime: t }), F();
|
|
4834
4846
|
}
|
|
4835
4847
|
get endtime() {
|
|
4836
4848
|
return this.$$.ctx[3];
|
|
4837
4849
|
}
|
|
4838
4850
|
set endtime(t) {
|
|
4839
|
-
this.$$set({ endtime: t }),
|
|
4851
|
+
this.$$set({ endtime: t }), F();
|
|
4840
4852
|
}
|
|
4841
4853
|
get tcurl() {
|
|
4842
4854
|
return this.$$.ctx[4];
|
|
4843
4855
|
}
|
|
4844
4856
|
set tcurl(t) {
|
|
4845
|
-
this.$$set({ tcurl: t }),
|
|
4857
|
+
this.$$set({ tcurl: t }), F();
|
|
4846
4858
|
}
|
|
4847
4859
|
get products() {
|
|
4848
4860
|
return this.$$.ctx[15];
|
|
4849
4861
|
}
|
|
4850
4862
|
set products(t) {
|
|
4851
|
-
this.$$set({ products: t }),
|
|
4863
|
+
this.$$set({ products: t }), F();
|
|
4852
4864
|
}
|
|
4853
4865
|
get clientstyling() {
|
|
4854
4866
|
return this.$$.ctx[17];
|
|
4855
4867
|
}
|
|
4856
4868
|
set clientstyling(t) {
|
|
4857
|
-
this.$$set({ clientstyling: t }),
|
|
4869
|
+
this.$$set({ clientstyling: t }), F();
|
|
4858
4870
|
}
|
|
4859
4871
|
get clientstylingurl() {
|
|
4860
4872
|
return this.$$.ctx[18];
|
|
4861
4873
|
}
|
|
4862
4874
|
set clientstylingurl(t) {
|
|
4863
|
-
this.$$set({ clientstylingurl: t }),
|
|
4875
|
+
this.$$set({ clientstylingurl: t }), F();
|
|
4864
4876
|
}
|
|
4865
4877
|
get translationurl() {
|
|
4866
4878
|
return this.$$.ctx[19];
|
|
4867
4879
|
}
|
|
4868
4880
|
set translationurl(t) {
|
|
4869
|
-
this.$$set({ translationurl: t }),
|
|
4881
|
+
this.$$set({ translationurl: t }), F();
|
|
4882
|
+
}
|
|
4883
|
+
get mbsource() {
|
|
4884
|
+
return this.$$.ctx[20];
|
|
4885
|
+
}
|
|
4886
|
+
set mbsource(t) {
|
|
4887
|
+
this.$$set({ mbsource: t }), F();
|
|
4870
4888
|
}
|
|
4871
4889
|
}
|
|
4872
|
-
Br(
|
|
4890
|
+
Br(Ii, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4873
4891
|
export {
|
|
4874
|
-
|
|
4892
|
+
Ii as C
|
|
4875
4893
|
};
|