@everymatrix/player-account-gaming-limits-wrapper-2 1.74.3 → 1.74.4
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/PlayerAccountGamingLimitsHistory2-CJC7ow27.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2-D18-oBtE.js → PlayerAccountGamingLimitsHistory2-IzKR8ALi.js} +916 -902
- package/components/{PlayerAccountGamingLimitsHistory2-D0vDUU9k.js → PlayerAccountGamingLimitsHistory2-fnp_hf0j.js} +848 -834
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CTGEioJz.js → PlayerAccountGamingLimitsPage2Gm16-BPo5joen.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPage2Gm16-D1HmEdWc.cjs → PlayerAccountGamingLimitsPage2Gm16-Bnkpdvk9.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Bj0JWzFU.js → PlayerAccountGamingLimitsPage2Gm16-DfTXIKEb.js} +39 -39
- package/components/{PlayerAccountGamingLimitsWrapper2-Bthc83mu.js → PlayerAccountGamingLimitsWrapper2-C2QBpZYS.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-M0gzGy0a.js → PlayerAccountGamingLimitsWrapper2-Ci-VYOja.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-DbUC6xSX.cjs → PlayerAccountGamingLimitsWrapper2-Dd5nJ0ng.cjs} +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-BbCeNxUG.js → index-b2193545-BtPvM93e.js} +176 -176
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/{index-b2193545-C9PH-6qK.js → index-b2193545-D_KBbaD-.js} +169 -169
- package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-CTnjW3xp.cjs +0 -18
- package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Dr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,25 +8,25 @@ function Nr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Ft(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function pt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function ie(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(Ft);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ut(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function jt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Ur(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function kt(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const i of t)
|
|
32
32
|
i(void 0);
|
|
@@ -35,40 +35,40 @@ function Ft(e, ...t) {
|
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function $r(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(kt(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function To(e, t, r, i) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const n =
|
|
43
|
+
const n = Vt(e, t, r, i);
|
|
44
44
|
return e[0](n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && i ?
|
|
47
|
+
function Vt(e, t, r, i) {
|
|
48
|
+
return e[1] && i ? Dr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Lo(e, t, r, i) {
|
|
51
51
|
if (e[2] && i) {
|
|
52
52
|
const n = e[2](i(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
54
54
|
return n;
|
|
55
55
|
if (typeof n == "object") {
|
|
56
|
-
const
|
|
57
|
-
for (let
|
|
58
|
-
s
|
|
59
|
-
return
|
|
56
|
+
const o = [], a = Math.max(t.dirty.length, n.length);
|
|
57
|
+
for (let s = 0; s < a; s += 1)
|
|
58
|
+
o[s] = t.dirty[s] | n[s];
|
|
59
|
+
return o;
|
|
60
60
|
}
|
|
61
61
|
return t.dirty | n;
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function So(e, t, r, i, n, o) {
|
|
66
66
|
if (n) {
|
|
67
|
-
const a =
|
|
67
|
+
const a = Vt(t, r, i, o);
|
|
68
68
|
e.p(a, n);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function wo(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let i = 0; i < r; i++)
|
|
@@ -77,20 +77,20 @@ function Ts(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return -1;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function dt(e) {
|
|
81
81
|
return e ?? "";
|
|
82
82
|
}
|
|
83
83
|
function T(e, t) {
|
|
84
84
|
e.appendChild(t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
const i =
|
|
86
|
+
function Gr(e, t, r) {
|
|
87
|
+
const i = Fr(e);
|
|
88
88
|
if (!i.getElementById(t)) {
|
|
89
89
|
const n = A("style");
|
|
90
|
-
n.id = t, n.textContent = r,
|
|
90
|
+
n.id = t, n.textContent = r, jr(i, n);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Fr(e) {
|
|
94
94
|
if (!e)
|
|
95
95
|
return document;
|
|
96
96
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -100,7 +100,7 @@ function Ur(e) {
|
|
|
100
100
|
t
|
|
101
101
|
) : e.ownerDocument;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function jr(e, t) {
|
|
104
104
|
return T(
|
|
105
105
|
/** @type {Document} */
|
|
106
106
|
e.head || e,
|
|
@@ -113,7 +113,7 @@ function V(e, t, r) {
|
|
|
113
113
|
function G(e) {
|
|
114
114
|
e.parentNode && e.parentNode.removeChild(e);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function kr(e, t) {
|
|
117
117
|
for (let r = 0; r < e.length; r += 1)
|
|
118
118
|
e[r] && e[r].d(t);
|
|
119
119
|
}
|
|
@@ -126,39 +126,39 @@ function _e(e) {
|
|
|
126
126
|
function M(e) {
|
|
127
127
|
return document.createTextNode(e);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Xe() {
|
|
130
130
|
return M(" ");
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Ao() {
|
|
133
133
|
return M("");
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Vr(e, t, r, i) {
|
|
136
136
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
137
137
|
}
|
|
138
138
|
function x(e, t, r) {
|
|
139
139
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Po(e, t, r) {
|
|
142
142
|
const i = t.toLowerCase();
|
|
143
143
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Ho(e) {
|
|
146
146
|
return e === "" ? null : +e;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Wr(e) {
|
|
149
149
|
return Array.from(e.childNodes);
|
|
150
150
|
}
|
|
151
151
|
function k(e, t) {
|
|
152
152
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
153
153
|
t);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Io(e, t) {
|
|
156
156
|
e.value = t ?? "";
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Bo(e, t, r, i) {
|
|
159
159
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Oo(e, t, r) {
|
|
162
162
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
163
163
|
const n = e.options[i];
|
|
164
164
|
if (n.__value === t) {
|
|
@@ -168,14 +168,14 @@ function Hs(e, t, r) {
|
|
|
168
168
|
}
|
|
169
169
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Co(e) {
|
|
172
172
|
const t = e.querySelector(":checked");
|
|
173
173
|
return t && t.__value;
|
|
174
174
|
}
|
|
175
175
|
function ge(e, t, r) {
|
|
176
176
|
e.classList.toggle(t, !!r);
|
|
177
177
|
}
|
|
178
|
-
class
|
|
178
|
+
class No {
|
|
179
179
|
/**
|
|
180
180
|
* @private
|
|
181
181
|
* @default false
|
|
@@ -245,7 +245,7 @@ class Bs {
|
|
|
245
245
|
this.n.forEach(G);
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Xr(e) {
|
|
249
249
|
const t = {};
|
|
250
250
|
return e.childNodes.forEach(
|
|
251
251
|
/** @param {Element} node */
|
|
@@ -258,22 +258,22 @@ let he;
|
|
|
258
258
|
function le(e) {
|
|
259
259
|
he = e;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function zr() {
|
|
262
262
|
if (!he)
|
|
263
263
|
throw new Error("Function called outside component initialization");
|
|
264
264
|
return he;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
266
|
+
function Zr(e) {
|
|
267
|
+
zr().$$.on_mount.push(e);
|
|
268
268
|
}
|
|
269
269
|
const Y = [], we = [];
|
|
270
270
|
let J = [];
|
|
271
|
-
const
|
|
272
|
-
let
|
|
273
|
-
function
|
|
274
|
-
|
|
271
|
+
const yt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
272
|
+
let ze = !1;
|
|
273
|
+
function Yr() {
|
|
274
|
+
ze || (ze = !0, Qr.then(O));
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Ze(e) {
|
|
277
277
|
J.push(e);
|
|
278
278
|
}
|
|
279
279
|
const De = /* @__PURE__ */ new Set();
|
|
@@ -286,7 +286,7 @@ function O() {
|
|
|
286
286
|
try {
|
|
287
287
|
for (; Z < Y.length; ) {
|
|
288
288
|
const t = Y[Z];
|
|
289
|
-
Z++, le(t),
|
|
289
|
+
Z++, le(t), Jr(t.$$);
|
|
290
290
|
}
|
|
291
291
|
} catch (t) {
|
|
292
292
|
throw Y.length = 0, Z = 0, t;
|
|
@@ -299,24 +299,24 @@ function O() {
|
|
|
299
299
|
}
|
|
300
300
|
J.length = 0;
|
|
301
301
|
} while (Y.length);
|
|
302
|
-
for (;
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
for (; yt.length; )
|
|
303
|
+
yt.pop()();
|
|
304
|
+
ze = !1, De.clear(), le(e);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function Jr(e) {
|
|
307
307
|
if (e.fragment !== null) {
|
|
308
308
|
e.update(), ie(e.before_update);
|
|
309
309
|
const t = e.dirty;
|
|
310
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
310
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function qr(e) {
|
|
314
314
|
const t = [], r = [];
|
|
315
315
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
316
316
|
}
|
|
317
317
|
const Ee = /* @__PURE__ */ new Set();
|
|
318
318
|
let X;
|
|
319
|
-
function
|
|
319
|
+
function Mo() {
|
|
320
320
|
X = {
|
|
321
321
|
r: 0,
|
|
322
322
|
c: [],
|
|
@@ -324,13 +324,13 @@ function Os() {
|
|
|
324
324
|
// parent group
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function Ro() {
|
|
328
328
|
X.r || ie(X.c), X = X.p;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Kr(e, t) {
|
|
331
331
|
e && e.i && (Ee.delete(e), e.i(t));
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function Do(e, t, r, i) {
|
|
334
334
|
if (e && e.o) {
|
|
335
335
|
if (Ee.has(e))
|
|
336
336
|
return;
|
|
@@ -340,34 +340,34 @@ function Ns(e, t, r, i) {
|
|
|
340
340
|
} else
|
|
341
341
|
i && i();
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function gt(e) {
|
|
344
344
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function ei(e, t, r) {
|
|
347
347
|
const { fragment: i, after_update: n } = e.$$;
|
|
348
|
-
i && i.m(t, r),
|
|
349
|
-
const
|
|
350
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
351
|
-
}), n.forEach(
|
|
348
|
+
i && i.m(t, r), Ze(() => {
|
|
349
|
+
const o = e.$$.on_mount.map(Ft).filter(ut);
|
|
350
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
351
|
+
}), n.forEach(Ze);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function ti(e, t) {
|
|
354
354
|
const r = e.$$;
|
|
355
|
-
r.fragment !== null && (
|
|
355
|
+
r.fragment !== null && (qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
357
|
+
function ri(e, t) {
|
|
358
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function ii(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
361
361
|
const h = he;
|
|
362
362
|
le(e);
|
|
363
363
|
const u = e.$$ = {
|
|
364
364
|
fragment: null,
|
|
365
365
|
ctx: [],
|
|
366
366
|
// state
|
|
367
|
-
props:
|
|
367
|
+
props: o,
|
|
368
368
|
update: B,
|
|
369
369
|
not_equal: n,
|
|
370
|
-
bound:
|
|
370
|
+
bound: pt(),
|
|
371
371
|
// lifecycle
|
|
372
372
|
on_mount: [],
|
|
373
373
|
on_destroy: [],
|
|
@@ -376,28 +376,28 @@ function ei(e, t, r, i, n, s, a = null, o = [-1]) {
|
|
|
376
376
|
after_update: [],
|
|
377
377
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
378
378
|
// everything else
|
|
379
|
-
callbacks:
|
|
380
|
-
dirty:
|
|
379
|
+
callbacks: pt(),
|
|
380
|
+
dirty: s,
|
|
381
381
|
skip_bound: !1,
|
|
382
382
|
root: t.target || h.$$.root
|
|
383
383
|
};
|
|
384
384
|
a && a(u.root);
|
|
385
385
|
let l = !1;
|
|
386
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
387
|
-
const y =
|
|
388
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
386
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
387
|
+
const y = p.length ? p[0] : f;
|
|
388
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ri(e, c)), f;
|
|
389
389
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
390
390
|
if (t.hydrate) {
|
|
391
|
-
const c =
|
|
391
|
+
const c = Wr(t.target);
|
|
392
392
|
u.fragment && u.fragment.l(c), c.forEach(G);
|
|
393
393
|
} else
|
|
394
394
|
u.fragment && u.fragment.c();
|
|
395
|
-
t.intro &&
|
|
395
|
+
t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), O();
|
|
396
396
|
}
|
|
397
397
|
le(h);
|
|
398
398
|
}
|
|
399
|
-
let
|
|
400
|
-
typeof HTMLElement == "function" && (
|
|
399
|
+
let Wt;
|
|
400
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
401
401
|
/** The Svelte component constructor */
|
|
402
402
|
$$ctor;
|
|
403
403
|
/** Slots */
|
|
@@ -436,32 +436,32 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
|
436
436
|
if (this.$$cn = !0, !this.$$c) {
|
|
437
437
|
let e = function(n) {
|
|
438
438
|
return () => {
|
|
439
|
-
let
|
|
439
|
+
let o;
|
|
440
440
|
return {
|
|
441
441
|
c: function() {
|
|
442
|
-
|
|
442
|
+
o = A("slot"), n !== "default" && x(o, "name", n);
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
445
|
* @param {HTMLElement} target
|
|
446
446
|
* @param {HTMLElement} [anchor]
|
|
447
447
|
*/
|
|
448
448
|
m: function(h, u) {
|
|
449
|
-
V(h,
|
|
449
|
+
V(h, o, u);
|
|
450
450
|
},
|
|
451
451
|
d: function(h) {
|
|
452
|
-
h && G(
|
|
452
|
+
h && G(o);
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
};
|
|
456
456
|
};
|
|
457
457
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
458
458
|
return;
|
|
459
|
-
const t = {}, r =
|
|
459
|
+
const t = {}, r = Xr(this);
|
|
460
460
|
for (const n of this.$$s)
|
|
461
461
|
n in r && (t[n] = [e(n)]);
|
|
462
462
|
for (const n of this.attributes) {
|
|
463
|
-
const
|
|
464
|
-
|
|
463
|
+
const o = this.$$g_p(n.name);
|
|
464
|
+
o in this.$$d || (this.$$d[o] = xe(o, n.value, this.$$p_d, "toProp"));
|
|
465
465
|
}
|
|
466
466
|
for (const n in this.$$p_d)
|
|
467
467
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -479,21 +479,21 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
|
479
479
|
this.$$r = !0;
|
|
480
480
|
for (const n in this.$$p_d)
|
|
481
481
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
482
|
-
const
|
|
482
|
+
const o = xe(
|
|
483
483
|
n,
|
|
484
484
|
this.$$d[n],
|
|
485
485
|
this.$$p_d,
|
|
486
486
|
"toAttribute"
|
|
487
487
|
);
|
|
488
|
-
|
|
488
|
+
o == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, o);
|
|
489
489
|
}
|
|
490
490
|
this.$$r = !1;
|
|
491
491
|
};
|
|
492
492
|
this.$$c.$$.after_update.push(i), i();
|
|
493
493
|
for (const n in this.$$l)
|
|
494
|
-
for (const
|
|
495
|
-
const a = this.$$c.$on(n,
|
|
496
|
-
this.$$l_u.set(
|
|
494
|
+
for (const o of this.$$l[n]) {
|
|
495
|
+
const a = this.$$c.$on(n, o);
|
|
496
|
+
this.$$l_u.set(o, a);
|
|
497
497
|
}
|
|
498
498
|
this.$$l = {};
|
|
499
499
|
}
|
|
@@ -543,36 +543,36 @@ function xe(e, t, r, i) {
|
|
|
543
543
|
return t;
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
function
|
|
547
|
-
let a = class extends
|
|
546
|
+
function ni(e, t, r, i, n, o) {
|
|
547
|
+
let a = class extends Wt {
|
|
548
548
|
constructor() {
|
|
549
549
|
super(e, r, n), this.$$p_d = t;
|
|
550
550
|
}
|
|
551
551
|
static get observedAttributes() {
|
|
552
552
|
return Object.keys(t).map(
|
|
553
|
-
(
|
|
553
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
554
554
|
);
|
|
555
555
|
}
|
|
556
556
|
};
|
|
557
|
-
return Object.keys(t).forEach((
|
|
558
|
-
Object.defineProperty(a.prototype,
|
|
557
|
+
return Object.keys(t).forEach((s) => {
|
|
558
|
+
Object.defineProperty(a.prototype, s, {
|
|
559
559
|
get() {
|
|
560
|
-
return this.$$c &&
|
|
560
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
561
561
|
},
|
|
562
562
|
set(h) {
|
|
563
|
-
h = xe(
|
|
563
|
+
h = xe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
|
|
564
564
|
}
|
|
565
565
|
});
|
|
566
|
-
}), i.forEach((
|
|
567
|
-
Object.defineProperty(a.prototype,
|
|
566
|
+
}), i.forEach((s) => {
|
|
567
|
+
Object.defineProperty(a.prototype, s, {
|
|
568
568
|
get() {
|
|
569
|
-
return this.$$c?.[
|
|
569
|
+
return this.$$c?.[s];
|
|
570
570
|
}
|
|
571
571
|
});
|
|
572
572
|
}), e.element = /** @type {any} */
|
|
573
573
|
a, a;
|
|
574
574
|
}
|
|
575
|
-
class
|
|
575
|
+
class oi {
|
|
576
576
|
/**
|
|
577
577
|
* ### PRIVATE API
|
|
578
578
|
*
|
|
@@ -591,7 +591,7 @@ class ri {
|
|
|
591
591
|
$$set = void 0;
|
|
592
592
|
/** @returns {void} */
|
|
593
593
|
$destroy() {
|
|
594
|
-
|
|
594
|
+
ti(this, 1), this.$destroy = B;
|
|
595
595
|
}
|
|
596
596
|
/**
|
|
597
597
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -600,7 +600,7 @@ class ri {
|
|
|
600
600
|
* @returns {() => void}
|
|
601
601
|
*/
|
|
602
602
|
$on(t, r) {
|
|
603
|
-
if (!
|
|
603
|
+
if (!ut(r))
|
|
604
604
|
return B;
|
|
605
605
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
606
606
|
return i.push(r), () => {
|
|
@@ -613,11 +613,11 @@ class ri {
|
|
|
613
613
|
* @returns {void}
|
|
614
614
|
*/
|
|
615
615
|
$set(t) {
|
|
616
|
-
this.$$set && !
|
|
616
|
+
this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
const
|
|
620
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
619
|
+
const si = "4";
|
|
620
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
|
|
621
621
|
/*! *****************************************************************************
|
|
622
622
|
Copyright (c) Microsoft Corporation.
|
|
623
623
|
|
|
@@ -632,18 +632,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
632
632
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
633
633
|
PERFORMANCE OF THIS SOFTWARE.
|
|
634
634
|
***************************************************************************** */
|
|
635
|
-
var
|
|
636
|
-
return
|
|
635
|
+
var Qe = function(e, t) {
|
|
636
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
637
637
|
r.__proto__ = i;
|
|
638
638
|
} || function(r, i) {
|
|
639
639
|
for (var n in i)
|
|
640
640
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
641
|
-
},
|
|
641
|
+
}, Qe(e, t);
|
|
642
642
|
};
|
|
643
643
|
function F(e, t) {
|
|
644
644
|
if (typeof t != "function" && t !== null)
|
|
645
645
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
646
|
-
|
|
646
|
+
Qe(e, t);
|
|
647
647
|
function r() {
|
|
648
648
|
this.constructor = e;
|
|
649
649
|
}
|
|
@@ -653,13 +653,13 @@ var E = function() {
|
|
|
653
653
|
return E = Object.assign || function(t) {
|
|
654
654
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
655
655
|
r = arguments[i];
|
|
656
|
-
for (var
|
|
657
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
656
|
+
for (var o in r)
|
|
657
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
658
658
|
}
|
|
659
659
|
return t;
|
|
660
660
|
}, E.apply(this, arguments);
|
|
661
661
|
};
|
|
662
|
-
function
|
|
662
|
+
function ai(e, t) {
|
|
663
663
|
var r = {};
|
|
664
664
|
for (var i in e)
|
|
665
665
|
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -668,7 +668,7 @@ function ni(e, t) {
|
|
|
668
668
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
669
669
|
return r;
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function Ye(e) {
|
|
672
672
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
673
673
|
if (r)
|
|
674
674
|
return r.call(e);
|
|
@@ -680,16 +680,16 @@ function Qe(e) {
|
|
|
680
680
|
};
|
|
681
681
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Je(e, t) {
|
|
684
684
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
685
685
|
if (!r)
|
|
686
686
|
return e;
|
|
687
|
-
var i = r.call(e), n,
|
|
687
|
+
var i = r.call(e), n, o = [], a;
|
|
688
688
|
try {
|
|
689
689
|
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
690
|
-
|
|
691
|
-
} catch (
|
|
692
|
-
a = { error:
|
|
690
|
+
o.push(n.value);
|
|
691
|
+
} catch (s) {
|
|
692
|
+
a = { error: s };
|
|
693
693
|
} finally {
|
|
694
694
|
try {
|
|
695
695
|
n && !n.done && (r = i.return) && r.call(i);
|
|
@@ -698,24 +698,24 @@ function Ye(e, t) {
|
|
|
698
698
|
throw a.error;
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
return
|
|
701
|
+
return o;
|
|
702
702
|
}
|
|
703
703
|
function q(e, t, r) {
|
|
704
704
|
if (r || arguments.length === 2)
|
|
705
|
-
for (var i = 0, n = t.length,
|
|
706
|
-
(
|
|
707
|
-
return e.concat(
|
|
705
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
706
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
707
|
+
return e.concat(o || t);
|
|
708
708
|
}
|
|
709
709
|
function $(e) {
|
|
710
710
|
return typeof e == "function";
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Xt(e) {
|
|
713
713
|
var t = function(i) {
|
|
714
714
|
Error.call(i), i.stack = new Error().stack;
|
|
715
715
|
}, r = e(t);
|
|
716
716
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
717
717
|
}
|
|
718
|
-
var Ue =
|
|
718
|
+
var Ue = Xt(function(e) {
|
|
719
719
|
return function(r) {
|
|
720
720
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
721
721
|
` + r.map(function(i, n) {
|
|
@@ -724,7 +724,7 @@ var Ue = Vt(function(e) {
|
|
|
724
724
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
725
725
|
};
|
|
726
726
|
});
|
|
727
|
-
function
|
|
727
|
+
function qe(e, t) {
|
|
728
728
|
if (e) {
|
|
729
729
|
var r = e.indexOf(t);
|
|
730
730
|
0 <= r && e.splice(r, 1);
|
|
@@ -735,22 +735,22 @@ var He = function() {
|
|
|
735
735
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
736
736
|
}
|
|
737
737
|
return e.prototype.unsubscribe = function() {
|
|
738
|
-
var t, r, i, n,
|
|
738
|
+
var t, r, i, n, o;
|
|
739
739
|
if (!this.closed) {
|
|
740
740
|
this.closed = !0;
|
|
741
741
|
var a = this._parentage;
|
|
742
742
|
if (a)
|
|
743
743
|
if (this._parentage = null, Array.isArray(a))
|
|
744
744
|
try {
|
|
745
|
-
for (var
|
|
745
|
+
for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
|
|
746
746
|
var u = h.value;
|
|
747
747
|
u.remove(this);
|
|
748
748
|
}
|
|
749
|
-
} catch (
|
|
750
|
-
t = { error:
|
|
749
|
+
} catch (d) {
|
|
750
|
+
t = { error: d };
|
|
751
751
|
} finally {
|
|
752
752
|
try {
|
|
753
|
-
h && !h.done && (r =
|
|
753
|
+
h && !h.done && (r = s.return) && r.call(s);
|
|
754
754
|
} finally {
|
|
755
755
|
if (t)
|
|
756
756
|
throw t.error;
|
|
@@ -762,40 +762,40 @@ var He = function() {
|
|
|
762
762
|
if ($(l))
|
|
763
763
|
try {
|
|
764
764
|
l();
|
|
765
|
-
} catch (
|
|
766
|
-
|
|
765
|
+
} catch (d) {
|
|
766
|
+
o = d instanceof Ue ? d.errors : [d];
|
|
767
767
|
}
|
|
768
768
|
var c = this._finalizers;
|
|
769
769
|
if (c) {
|
|
770
770
|
this._finalizers = null;
|
|
771
771
|
try {
|
|
772
|
-
for (var f =
|
|
773
|
-
var y =
|
|
772
|
+
for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
|
|
773
|
+
var y = p.value;
|
|
774
774
|
try {
|
|
775
|
-
|
|
776
|
-
} catch (
|
|
777
|
-
|
|
775
|
+
bt(y);
|
|
776
|
+
} catch (d) {
|
|
777
|
+
o = o ?? [], d instanceof Ue ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
|
-
} catch (
|
|
781
|
-
i = { error:
|
|
780
|
+
} catch (d) {
|
|
781
|
+
i = { error: d };
|
|
782
782
|
} finally {
|
|
783
783
|
try {
|
|
784
|
-
|
|
784
|
+
p && !p.done && (n = f.return) && n.call(f);
|
|
785
785
|
} finally {
|
|
786
786
|
if (i)
|
|
787
787
|
throw i.error;
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
if (
|
|
792
|
-
throw new Ue(
|
|
791
|
+
if (o)
|
|
792
|
+
throw new Ue(o);
|
|
793
793
|
}
|
|
794
794
|
}, e.prototype.add = function(t) {
|
|
795
795
|
var r;
|
|
796
796
|
if (t && t !== this)
|
|
797
797
|
if (this.closed)
|
|
798
|
-
|
|
798
|
+
bt(t);
|
|
799
799
|
else {
|
|
800
800
|
if (t instanceof e) {
|
|
801
801
|
if (t.closed || t._hasParent(this))
|
|
@@ -812,56 +812,56 @@ var He = function() {
|
|
|
812
812
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
813
813
|
}, e.prototype._removeParent = function(t) {
|
|
814
814
|
var r = this._parentage;
|
|
815
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
815
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
816
816
|
}, e.prototype.remove = function(t) {
|
|
817
817
|
var r = this._finalizers;
|
|
818
|
-
r &&
|
|
818
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
819
819
|
}, e.EMPTY = function() {
|
|
820
820
|
var t = new e();
|
|
821
821
|
return t.closed = !0, t;
|
|
822
822
|
}(), e;
|
|
823
|
-
}(),
|
|
824
|
-
function
|
|
823
|
+
}(), zt = He.EMPTY;
|
|
824
|
+
function Zt(e) {
|
|
825
825
|
return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function bt(e) {
|
|
828
828
|
$(e) ? e() : e.unsubscribe();
|
|
829
829
|
}
|
|
830
|
-
var
|
|
830
|
+
var Qt = {
|
|
831
831
|
onUnhandledError: null,
|
|
832
832
|
onStoppedNotification: null,
|
|
833
833
|
Promise: void 0,
|
|
834
834
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
835
835
|
useDeprecatedNextContext: !1
|
|
836
|
-
},
|
|
836
|
+
}, ui = {
|
|
837
837
|
setTimeout: function(e, t) {
|
|
838
838
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
839
839
|
r[i - 2] = arguments[i];
|
|
840
|
-
return setTimeout.apply(void 0, q([e, t],
|
|
840
|
+
return setTimeout.apply(void 0, q([e, t], Je(r)));
|
|
841
841
|
},
|
|
842
842
|
clearTimeout: function(e) {
|
|
843
843
|
return clearTimeout(e);
|
|
844
844
|
},
|
|
845
845
|
delegate: void 0
|
|
846
846
|
};
|
|
847
|
-
function
|
|
848
|
-
|
|
847
|
+
function li(e) {
|
|
848
|
+
ui.setTimeout(function() {
|
|
849
849
|
throw e;
|
|
850
850
|
});
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function vt() {
|
|
853
853
|
}
|
|
854
854
|
function Te(e) {
|
|
855
855
|
e();
|
|
856
856
|
}
|
|
857
|
-
var
|
|
857
|
+
var Yt = function(e) {
|
|
858
858
|
F(t, e);
|
|
859
859
|
function t(r) {
|
|
860
860
|
var i = e.call(this) || this;
|
|
861
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
861
|
+
return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = mi, i;
|
|
862
862
|
}
|
|
863
863
|
return t.create = function(r, i, n) {
|
|
864
|
-
return new
|
|
864
|
+
return new Ke(r, i, n);
|
|
865
865
|
}, t.prototype.next = function(r) {
|
|
866
866
|
this.isStopped || this._next(r);
|
|
867
867
|
}, t.prototype.error = function(r) {
|
|
@@ -885,7 +885,11 @@ var zt = function(e) {
|
|
|
885
885
|
this.unsubscribe();
|
|
886
886
|
}
|
|
887
887
|
}, t;
|
|
888
|
-
}(He),
|
|
888
|
+
}(He), hi = Function.prototype.bind;
|
|
889
|
+
function $e(e, t) {
|
|
890
|
+
return hi.call(e, t);
|
|
891
|
+
}
|
|
892
|
+
var ci = function() {
|
|
889
893
|
function e(t) {
|
|
890
894
|
this.partialObserver = t;
|
|
891
895
|
}
|
|
@@ -916,43 +920,55 @@ var zt = function(e) {
|
|
|
916
920
|
be(r);
|
|
917
921
|
}
|
|
918
922
|
}, e;
|
|
919
|
-
}(),
|
|
923
|
+
}(), Ke = function(e) {
|
|
920
924
|
F(t, e);
|
|
921
925
|
function t(r, i, n) {
|
|
922
|
-
var
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
926
|
+
var o = e.call(this) || this, a;
|
|
927
|
+
if ($(r) || !r)
|
|
928
|
+
a = {
|
|
929
|
+
next: r ?? void 0,
|
|
930
|
+
error: i ?? void 0,
|
|
931
|
+
complete: n ?? void 0
|
|
932
|
+
};
|
|
933
|
+
else {
|
|
934
|
+
var s;
|
|
935
|
+
o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
936
|
+
return o.unsubscribe();
|
|
937
|
+
}, a = {
|
|
938
|
+
next: r.next && $e(r.next, s),
|
|
939
|
+
error: r.error && $e(r.error, s),
|
|
940
|
+
complete: r.complete && $e(r.complete, s)
|
|
941
|
+
}) : a = r;
|
|
942
|
+
}
|
|
943
|
+
return o.destination = new ci(a), o;
|
|
928
944
|
}
|
|
929
945
|
return t;
|
|
930
|
-
}(
|
|
946
|
+
}(Yt);
|
|
931
947
|
function be(e) {
|
|
932
|
-
|
|
948
|
+
li(e);
|
|
933
949
|
}
|
|
934
|
-
function
|
|
950
|
+
function fi(e) {
|
|
935
951
|
throw e;
|
|
936
952
|
}
|
|
937
|
-
var
|
|
953
|
+
var mi = {
|
|
938
954
|
closed: !0,
|
|
939
|
-
next:
|
|
940
|
-
error:
|
|
941
|
-
complete:
|
|
942
|
-
},
|
|
955
|
+
next: vt,
|
|
956
|
+
error: fi,
|
|
957
|
+
complete: vt
|
|
958
|
+
}, pi = function() {
|
|
943
959
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
944
960
|
}();
|
|
945
|
-
function
|
|
961
|
+
function di(e) {
|
|
946
962
|
return e;
|
|
947
963
|
}
|
|
948
|
-
function
|
|
949
|
-
return e.length === 0 ?
|
|
964
|
+
function yi(e) {
|
|
965
|
+
return e.length === 0 ? di : e.length === 1 ? e[0] : function(r) {
|
|
950
966
|
return e.reduce(function(i, n) {
|
|
951
967
|
return n(i);
|
|
952
968
|
}, r);
|
|
953
969
|
};
|
|
954
970
|
}
|
|
955
|
-
var
|
|
971
|
+
var _t = function() {
|
|
956
972
|
function e(t) {
|
|
957
973
|
t && (this._subscribe = t);
|
|
958
974
|
}
|
|
@@ -960,11 +976,11 @@ var bt = function() {
|
|
|
960
976
|
var r = new e();
|
|
961
977
|
return r.source = this, r.operator = t, r;
|
|
962
978
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
963
|
-
var n = this,
|
|
979
|
+
var n = this, o = bi(t) ? t : new Ke(t, r, i);
|
|
964
980
|
return Te(function() {
|
|
965
|
-
var a = n,
|
|
966
|
-
|
|
967
|
-
}),
|
|
981
|
+
var a = n, s = a.operator, h = a.source;
|
|
982
|
+
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
983
|
+
}), o;
|
|
968
984
|
}, e.prototype._trySubscribe = function(t) {
|
|
969
985
|
try {
|
|
970
986
|
return this._subscribe(t);
|
|
@@ -973,16 +989,16 @@ var bt = function() {
|
|
|
973
989
|
}
|
|
974
990
|
}, e.prototype.forEach = function(t, r) {
|
|
975
991
|
var i = this;
|
|
976
|
-
return r =
|
|
977
|
-
var a = new
|
|
978
|
-
next: function(
|
|
992
|
+
return r = Et(r), new r(function(n, o) {
|
|
993
|
+
var a = new Ke({
|
|
994
|
+
next: function(s) {
|
|
979
995
|
try {
|
|
980
|
-
t(
|
|
996
|
+
t(s);
|
|
981
997
|
} catch (h) {
|
|
982
|
-
|
|
998
|
+
o(h), a.unsubscribe();
|
|
983
999
|
}
|
|
984
1000
|
},
|
|
985
|
-
error:
|
|
1001
|
+
error: o,
|
|
986
1002
|
complete: n
|
|
987
1003
|
});
|
|
988
1004
|
i.subscribe(a);
|
|
@@ -990,70 +1006,70 @@ var bt = function() {
|
|
|
990
1006
|
}, e.prototype._subscribe = function(t) {
|
|
991
1007
|
var r;
|
|
992
1008
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
993
|
-
}, e.prototype[
|
|
1009
|
+
}, e.prototype[pi] = function() {
|
|
994
1010
|
return this;
|
|
995
1011
|
}, e.prototype.pipe = function() {
|
|
996
1012
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
997
1013
|
t[r] = arguments[r];
|
|
998
|
-
return
|
|
1014
|
+
return yi(t)(this);
|
|
999
1015
|
}, e.prototype.toPromise = function(t) {
|
|
1000
1016
|
var r = this;
|
|
1001
|
-
return t =
|
|
1002
|
-
var
|
|
1017
|
+
return t = Et(t), new t(function(i, n) {
|
|
1018
|
+
var o;
|
|
1003
1019
|
r.subscribe(function(a) {
|
|
1004
|
-
return
|
|
1020
|
+
return o = a;
|
|
1005
1021
|
}, function(a) {
|
|
1006
1022
|
return n(a);
|
|
1007
1023
|
}, function() {
|
|
1008
|
-
return i(
|
|
1024
|
+
return i(o);
|
|
1009
1025
|
});
|
|
1010
1026
|
});
|
|
1011
1027
|
}, e.create = function(t) {
|
|
1012
1028
|
return new e(t);
|
|
1013
1029
|
}, e;
|
|
1014
1030
|
}();
|
|
1015
|
-
function
|
|
1031
|
+
function Et(e) {
|
|
1016
1032
|
var t;
|
|
1017
|
-
return (t = e ??
|
|
1033
|
+
return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1018
1034
|
}
|
|
1019
|
-
function
|
|
1035
|
+
function gi(e) {
|
|
1020
1036
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1021
1037
|
}
|
|
1022
|
-
function
|
|
1023
|
-
return e && e instanceof
|
|
1038
|
+
function bi(e) {
|
|
1039
|
+
return e && e instanceof Yt || gi(e) && Zt(e);
|
|
1024
1040
|
}
|
|
1025
|
-
var
|
|
1041
|
+
var vi = Xt(function(e) {
|
|
1026
1042
|
return function() {
|
|
1027
1043
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1028
1044
|
};
|
|
1029
|
-
}),
|
|
1045
|
+
}), Jt = function(e) {
|
|
1030
1046
|
F(t, e);
|
|
1031
1047
|
function t() {
|
|
1032
1048
|
var r = e.call(this) || this;
|
|
1033
1049
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1034
1050
|
}
|
|
1035
1051
|
return t.prototype.lift = function(r) {
|
|
1036
|
-
var i = new
|
|
1052
|
+
var i = new xt(this, this);
|
|
1037
1053
|
return i.operator = r, i;
|
|
1038
1054
|
}, t.prototype._throwIfClosed = function() {
|
|
1039
1055
|
if (this.closed)
|
|
1040
|
-
throw new
|
|
1056
|
+
throw new vi();
|
|
1041
1057
|
}, t.prototype.next = function(r) {
|
|
1042
1058
|
var i = this;
|
|
1043
1059
|
Te(function() {
|
|
1044
|
-
var n,
|
|
1060
|
+
var n, o;
|
|
1045
1061
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
1046
1062
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
1047
1063
|
try {
|
|
1048
|
-
for (var a =
|
|
1049
|
-
var h =
|
|
1064
|
+
for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1065
|
+
var h = s.value;
|
|
1050
1066
|
h.next(r);
|
|
1051
1067
|
}
|
|
1052
1068
|
} catch (u) {
|
|
1053
1069
|
n = { error: u };
|
|
1054
1070
|
} finally {
|
|
1055
1071
|
try {
|
|
1056
|
-
|
|
1072
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
1057
1073
|
} finally {
|
|
1058
1074
|
if (n)
|
|
1059
1075
|
throw n.error;
|
|
@@ -1093,20 +1109,20 @@ var yi = Vt(function(e) {
|
|
|
1093
1109
|
}, t.prototype._subscribe = function(r) {
|
|
1094
1110
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1095
1111
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1096
|
-
var i = this, n = this,
|
|
1097
|
-
return
|
|
1098
|
-
i.currentObservers = null,
|
|
1112
|
+
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1113
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1114
|
+
i.currentObservers = null, qe(s, r);
|
|
1099
1115
|
}));
|
|
1100
1116
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1101
|
-
var i = this, n = i.hasError,
|
|
1102
|
-
n ? r.error(
|
|
1117
|
+
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1118
|
+
n ? r.error(o) : a && r.complete();
|
|
1103
1119
|
}, t.prototype.asObservable = function() {
|
|
1104
|
-
var r = new
|
|
1120
|
+
var r = new _t();
|
|
1105
1121
|
return r.source = this, r;
|
|
1106
1122
|
}, t.create = function(r, i) {
|
|
1107
|
-
return new
|
|
1123
|
+
return new xt(r, i);
|
|
1108
1124
|
}, t;
|
|
1109
|
-
}(
|
|
1125
|
+
}(_t), xt = function(e) {
|
|
1110
1126
|
F(t, e);
|
|
1111
1127
|
function t(r, i) {
|
|
1112
1128
|
var n = e.call(this) || this;
|
|
@@ -1123,45 +1139,45 @@ var yi = Vt(function(e) {
|
|
|
1123
1139
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1124
1140
|
}, t.prototype._subscribe = function(r) {
|
|
1125
1141
|
var i, n;
|
|
1126
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1142
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : zt;
|
|
1127
1143
|
}, t;
|
|
1128
|
-
}(
|
|
1144
|
+
}(Jt), qt = {
|
|
1129
1145
|
now: function() {
|
|
1130
|
-
return (
|
|
1146
|
+
return (qt.delegate || Date).now();
|
|
1131
1147
|
},
|
|
1132
1148
|
delegate: void 0
|
|
1133
|
-
},
|
|
1149
|
+
}, _i = function(e) {
|
|
1134
1150
|
F(t, e);
|
|
1135
1151
|
function t(r, i, n) {
|
|
1136
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1137
|
-
var
|
|
1138
|
-
return
|
|
1152
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = qt);
|
|
1153
|
+
var o = e.call(this) || this;
|
|
1154
|
+
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
1139
1155
|
}
|
|
1140
1156
|
return t.prototype.next = function(r) {
|
|
1141
|
-
var i = this, n = i.isStopped,
|
|
1142
|
-
n || (
|
|
1157
|
+
var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, h = i._windowTime;
|
|
1158
|
+
n || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1143
1159
|
}, t.prototype._subscribe = function(r) {
|
|
1144
1160
|
this._throwIfClosed(), this._trimBuffer();
|
|
1145
|
-
for (var i = this._innerSubscribe(r), n = this,
|
|
1146
|
-
r.next(
|
|
1161
|
+
for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
|
|
1162
|
+
r.next(s[h]);
|
|
1147
1163
|
return this._checkFinalizedStatuses(r), i;
|
|
1148
1164
|
}, t.prototype._trimBuffer = function() {
|
|
1149
|
-
var r = this, i = r._bufferSize, n = r._timestampProvider,
|
|
1150
|
-
if (i < 1 / 0 &&
|
|
1151
|
-
for (var h = n.now(), u = 0, l = 1; l <
|
|
1165
|
+
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
|
|
1166
|
+
if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1167
|
+
for (var h = n.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
1152
1168
|
u = l;
|
|
1153
|
-
u &&
|
|
1169
|
+
u && o.splice(0, u + 1);
|
|
1154
1170
|
}
|
|
1155
1171
|
}, t;
|
|
1156
|
-
}(
|
|
1157
|
-
const
|
|
1158
|
-
if (
|
|
1159
|
-
const r = new
|
|
1160
|
-
|
|
1172
|
+
}(Jt);
|
|
1173
|
+
const Tt = [], Lt = {}, Ei = (e, t = 0) => {
|
|
1174
|
+
if (Tt.indexOf(e) == -1) {
|
|
1175
|
+
const r = new _i(t);
|
|
1176
|
+
Lt[e] = r, Tt.push(e);
|
|
1161
1177
|
}
|
|
1162
|
-
return
|
|
1178
|
+
return Lt[e];
|
|
1163
1179
|
}, Q = [];
|
|
1164
|
-
function
|
|
1180
|
+
function xi(e, t) {
|
|
1165
1181
|
return {
|
|
1166
1182
|
subscribe: Ie(e, t).subscribe
|
|
1167
1183
|
};
|
|
@@ -1169,8 +1185,8 @@ function vi(e, t) {
|
|
|
1169
1185
|
function Ie(e, t = B) {
|
|
1170
1186
|
let r;
|
|
1171
1187
|
const i = /* @__PURE__ */ new Set();
|
|
1172
|
-
function n(
|
|
1173
|
-
if (
|
|
1188
|
+
function n(s) {
|
|
1189
|
+
if (jt(e, s) && (e = s, r)) {
|
|
1174
1190
|
const h = !Q.length;
|
|
1175
1191
|
for (const u of i)
|
|
1176
1192
|
u[1](), Q.push(u, e);
|
|
@@ -1181,23 +1197,23 @@ function Ie(e, t = B) {
|
|
|
1181
1197
|
}
|
|
1182
1198
|
}
|
|
1183
1199
|
}
|
|
1184
|
-
function s
|
|
1185
|
-
n(
|
|
1200
|
+
function o(s) {
|
|
1201
|
+
n(s(e));
|
|
1186
1202
|
}
|
|
1187
|
-
function a(
|
|
1188
|
-
const u = [
|
|
1189
|
-
return i.add(u), i.size === 1 && (r = t(n,
|
|
1203
|
+
function a(s, h = B) {
|
|
1204
|
+
const u = [s, h];
|
|
1205
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
|
|
1190
1206
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1191
1207
|
};
|
|
1192
1208
|
}
|
|
1193
|
-
return { set: n, update:
|
|
1209
|
+
return { set: n, update: o, subscribe: a };
|
|
1194
1210
|
}
|
|
1195
1211
|
function ne(e, t, r) {
|
|
1196
1212
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1197
1213
|
if (!n.every(Boolean))
|
|
1198
1214
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1199
|
-
const
|
|
1200
|
-
return
|
|
1215
|
+
const o = t.length < 2;
|
|
1216
|
+
return xi(r, (a, s) => {
|
|
1201
1217
|
let h = !1;
|
|
1202
1218
|
const u = [];
|
|
1203
1219
|
let l = 0, c = B;
|
|
@@ -1205,88 +1221,88 @@ function ne(e, t, r) {
|
|
|
1205
1221
|
if (l)
|
|
1206
1222
|
return;
|
|
1207
1223
|
c();
|
|
1208
|
-
const y = t(i ? u[0] : u, a,
|
|
1209
|
-
|
|
1210
|
-
},
|
|
1211
|
-
(y,
|
|
1224
|
+
const y = t(i ? u[0] : u, a, s);
|
|
1225
|
+
o ? a(y) : c = ut(y) ? y : B;
|
|
1226
|
+
}, p = n.map(
|
|
1227
|
+
(y, d) => kt(
|
|
1212
1228
|
y,
|
|
1213
1229
|
(v) => {
|
|
1214
|
-
u[
|
|
1230
|
+
u[d] = v, l &= ~(1 << d), h && f();
|
|
1215
1231
|
},
|
|
1216
1232
|
() => {
|
|
1217
|
-
l |= 1 <<
|
|
1233
|
+
l |= 1 << d;
|
|
1218
1234
|
}
|
|
1219
1235
|
)
|
|
1220
1236
|
);
|
|
1221
1237
|
return h = !0, f(), function() {
|
|
1222
|
-
ie(
|
|
1238
|
+
ie(p), c(), h = !1;
|
|
1223
1239
|
};
|
|
1224
1240
|
});
|
|
1225
1241
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1242
|
+
function Ti(e) {
|
|
1243
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1228
1244
|
}
|
|
1229
|
-
var
|
|
1230
|
-
return
|
|
1245
|
+
var Li = function(t) {
|
|
1246
|
+
return Si(t) && !wi(t);
|
|
1231
1247
|
};
|
|
1232
|
-
function
|
|
1248
|
+
function Si(e) {
|
|
1233
1249
|
return !!e && typeof e == "object";
|
|
1234
1250
|
}
|
|
1235
|
-
function
|
|
1251
|
+
function wi(e) {
|
|
1236
1252
|
var t = Object.prototype.toString.call(e);
|
|
1237
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1253
|
+
return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
|
|
1238
1254
|
}
|
|
1239
|
-
var
|
|
1240
|
-
function
|
|
1241
|
-
return e.$$typeof ===
|
|
1255
|
+
var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.element") : 60103;
|
|
1256
|
+
function Hi(e) {
|
|
1257
|
+
return e.$$typeof === Pi;
|
|
1242
1258
|
}
|
|
1243
|
-
function
|
|
1259
|
+
function Ii(e) {
|
|
1244
1260
|
return Array.isArray(e) ? [] : {};
|
|
1245
1261
|
}
|
|
1246
1262
|
function ce(e, t) {
|
|
1247
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
|
1263
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Ii(e), e, t) : e;
|
|
1248
1264
|
}
|
|
1249
|
-
function
|
|
1265
|
+
function Bi(e, t, r) {
|
|
1250
1266
|
return e.concat(t).map(function(i) {
|
|
1251
1267
|
return ce(i, r);
|
|
1252
1268
|
});
|
|
1253
1269
|
}
|
|
1254
|
-
function
|
|
1270
|
+
function Oi(e, t) {
|
|
1255
1271
|
if (!t.customMerge)
|
|
1256
1272
|
return K;
|
|
1257
1273
|
var r = t.customMerge(e);
|
|
1258
1274
|
return typeof r == "function" ? r : K;
|
|
1259
1275
|
}
|
|
1260
|
-
function
|
|
1276
|
+
function Ci(e) {
|
|
1261
1277
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1262
1278
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1263
1279
|
}) : [];
|
|
1264
1280
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return Object.keys(e).concat(
|
|
1281
|
+
function St(e) {
|
|
1282
|
+
return Object.keys(e).concat(Ci(e));
|
|
1267
1283
|
}
|
|
1268
|
-
function
|
|
1284
|
+
function Kt(e, t) {
|
|
1269
1285
|
try {
|
|
1270
1286
|
return t in e;
|
|
1271
1287
|
} catch {
|
|
1272
1288
|
return !1;
|
|
1273
1289
|
}
|
|
1274
1290
|
}
|
|
1275
|
-
function
|
|
1276
|
-
return
|
|
1291
|
+
function Ni(e, t) {
|
|
1292
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1277
1293
|
}
|
|
1278
|
-
function
|
|
1294
|
+
function Mi(e, t, r) {
|
|
1279
1295
|
var i = {};
|
|
1280
|
-
return r.isMergeableObject(e) &&
|
|
1296
|
+
return r.isMergeableObject(e) && St(e).forEach(function(n) {
|
|
1281
1297
|
i[n] = ce(e[n], r);
|
|
1282
|
-
}),
|
|
1283
|
-
|
|
1298
|
+
}), St(t).forEach(function(n) {
|
|
1299
|
+
Ni(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Oi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
|
|
1284
1300
|
}), i;
|
|
1285
1301
|
}
|
|
1286
1302
|
function K(e, t, r) {
|
|
1287
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1288
|
-
var i = Array.isArray(t), n = Array.isArray(e),
|
|
1289
|
-
return
|
|
1303
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1304
|
+
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1305
|
+
return o ? i ? r.arrayMerge(e, t, r) : Mi(e, t, r) : ce(t, r);
|
|
1290
1306
|
}
|
|
1291
1307
|
K.all = function(t, r) {
|
|
1292
1308
|
if (!Array.isArray(t))
|
|
@@ -1295,60 +1311,58 @@ K.all = function(t, r) {
|
|
|
1295
1311
|
return K(i, n, r);
|
|
1296
1312
|
}, {});
|
|
1297
1313
|
};
|
|
1298
|
-
var
|
|
1299
|
-
const
|
|
1300
|
-
function
|
|
1301
|
-
var r = t && t.cache ? t.cache :
|
|
1314
|
+
var Ri = K, Di = Ri;
|
|
1315
|
+
const Ui = /* @__PURE__ */ Ti(Di);
|
|
1316
|
+
function Ge(e, t) {
|
|
1317
|
+
var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : ki, n = t && t.strategy ? t.strategy : Gi;
|
|
1302
1318
|
return n(e, {
|
|
1303
1319
|
cache: r,
|
|
1304
1320
|
serializer: i
|
|
1305
1321
|
});
|
|
1306
1322
|
}
|
|
1307
|
-
function
|
|
1323
|
+
function $i(e) {
|
|
1308
1324
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1309
1325
|
}
|
|
1310
|
-
function
|
|
1311
|
-
var n =
|
|
1312
|
-
return typeof
|
|
1326
|
+
function er(e, t, r, i) {
|
|
1327
|
+
var n = $i(i) ? i : r(i), o = t.get(n);
|
|
1328
|
+
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1313
1329
|
}
|
|
1314
|
-
function
|
|
1315
|
-
var i = Array.prototype.slice.call(arguments, 3), n = r(i),
|
|
1316
|
-
return typeof
|
|
1330
|
+
function tr(e, t, r) {
|
|
1331
|
+
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1332
|
+
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1317
1333
|
}
|
|
1318
|
-
function
|
|
1334
|
+
function lt(e, t, r, i, n) {
|
|
1319
1335
|
return r.bind(t, e, i, n);
|
|
1320
1336
|
}
|
|
1321
|
-
function
|
|
1322
|
-
var r = e.length === 1 ?
|
|
1323
|
-
return
|
|
1337
|
+
function Gi(e, t) {
|
|
1338
|
+
var r = e.length === 1 ? er : tr;
|
|
1339
|
+
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
1324
1340
|
}
|
|
1325
|
-
function
|
|
1326
|
-
return
|
|
1341
|
+
function Fi(e, t) {
|
|
1342
|
+
return lt(e, this, tr, t.cache.create(), t.serializer);
|
|
1327
1343
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return
|
|
1344
|
+
function ji(e, t) {
|
|
1345
|
+
return lt(e, this, er, t.cache.create(), t.serializer);
|
|
1330
1346
|
}
|
|
1331
|
-
var
|
|
1347
|
+
var ki = function() {
|
|
1332
1348
|
return JSON.stringify(arguments);
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
}()
|
|
1345
|
-
), ji = {
|
|
1349
|
+
};
|
|
1350
|
+
function ht() {
|
|
1351
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1352
|
+
}
|
|
1353
|
+
ht.prototype.get = function(e) {
|
|
1354
|
+
return this.cache[e];
|
|
1355
|
+
};
|
|
1356
|
+
ht.prototype.set = function(e, t) {
|
|
1357
|
+
this.cache[e] = t;
|
|
1358
|
+
};
|
|
1359
|
+
var Vi = {
|
|
1346
1360
|
create: function() {
|
|
1347
|
-
return new
|
|
1361
|
+
return new ht();
|
|
1348
1362
|
}
|
|
1349
|
-
},
|
|
1350
|
-
variadic:
|
|
1351
|
-
monadic:
|
|
1363
|
+
}, Fe = {
|
|
1364
|
+
variadic: Fi,
|
|
1365
|
+
monadic: ji
|
|
1352
1366
|
}, b;
|
|
1353
1367
|
(function(e) {
|
|
1354
1368
|
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";
|
|
@@ -1361,43 +1375,43 @@ var ee;
|
|
|
1361
1375
|
(function(e) {
|
|
1362
1376
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1363
1377
|
})(ee || (ee = {}));
|
|
1364
|
-
function
|
|
1378
|
+
function wt(e) {
|
|
1365
1379
|
return e.type === S.literal;
|
|
1366
1380
|
}
|
|
1367
|
-
function
|
|
1381
|
+
function Wi(e) {
|
|
1368
1382
|
return e.type === S.argument;
|
|
1369
1383
|
}
|
|
1370
|
-
function
|
|
1384
|
+
function rr(e) {
|
|
1371
1385
|
return e.type === S.number;
|
|
1372
1386
|
}
|
|
1373
|
-
function
|
|
1387
|
+
function ir(e) {
|
|
1374
1388
|
return e.type === S.date;
|
|
1375
1389
|
}
|
|
1376
|
-
function
|
|
1390
|
+
function nr(e) {
|
|
1377
1391
|
return e.type === S.time;
|
|
1378
1392
|
}
|
|
1379
|
-
function
|
|
1393
|
+
function or(e) {
|
|
1380
1394
|
return e.type === S.select;
|
|
1381
1395
|
}
|
|
1382
|
-
function
|
|
1396
|
+
function sr(e) {
|
|
1383
1397
|
return e.type === S.plural;
|
|
1384
1398
|
}
|
|
1385
|
-
function
|
|
1399
|
+
function Xi(e) {
|
|
1386
1400
|
return e.type === S.pound;
|
|
1387
1401
|
}
|
|
1388
|
-
function
|
|
1402
|
+
function ar(e) {
|
|
1389
1403
|
return e.type === S.tag;
|
|
1390
1404
|
}
|
|
1391
|
-
function
|
|
1405
|
+
function ur(e) {
|
|
1392
1406
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1393
1407
|
}
|
|
1394
|
-
function
|
|
1408
|
+
function et(e) {
|
|
1395
1409
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1396
1410
|
}
|
|
1397
|
-
var
|
|
1398
|
-
function
|
|
1411
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zi = /(?:[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;
|
|
1412
|
+
function Zi(e) {
|
|
1399
1413
|
var t = {};
|
|
1400
|
-
return e.replace(
|
|
1414
|
+
return e.replace(zi, function(r) {
|
|
1401
1415
|
var i = r.length;
|
|
1402
1416
|
switch (r[0]) {
|
|
1403
1417
|
case "G":
|
|
@@ -1486,36 +1500,36 @@ function Xi(e) {
|
|
|
1486
1500
|
return "";
|
|
1487
1501
|
}), t;
|
|
1488
1502
|
}
|
|
1489
|
-
var
|
|
1490
|
-
function
|
|
1503
|
+
var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1504
|
+
function Yi(e) {
|
|
1491
1505
|
if (e.length === 0)
|
|
1492
1506
|
throw new Error("Number skeleton cannot be empty");
|
|
1493
|
-
for (var t = e.split(
|
|
1507
|
+
for (var t = e.split(Qi).filter(function(f) {
|
|
1494
1508
|
return f.length > 0;
|
|
1495
1509
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1496
|
-
var
|
|
1510
|
+
var o = n[i], a = o.split("/");
|
|
1497
1511
|
if (a.length === 0)
|
|
1498
1512
|
throw new Error("Invalid number skeleton");
|
|
1499
|
-
for (var
|
|
1513
|
+
for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1500
1514
|
var c = l[u];
|
|
1501
1515
|
if (c.length === 0)
|
|
1502
1516
|
throw new Error("Invalid number skeleton");
|
|
1503
1517
|
}
|
|
1504
|
-
r.push({ stem:
|
|
1518
|
+
r.push({ stem: s, options: h });
|
|
1505
1519
|
}
|
|
1506
1520
|
return r;
|
|
1507
1521
|
}
|
|
1508
|
-
function
|
|
1522
|
+
function Ji(e) {
|
|
1509
1523
|
return e.replace(/^(.*?)-/, "");
|
|
1510
1524
|
}
|
|
1511
|
-
var
|
|
1512
|
-
function
|
|
1525
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1526
|
+
function Pt(e) {
|
|
1513
1527
|
var t = {};
|
|
1514
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1528
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
|
|
1515
1529
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1516
1530
|
}), t;
|
|
1517
1531
|
}
|
|
1518
|
-
function
|
|
1532
|
+
function fr(e) {
|
|
1519
1533
|
switch (e) {
|
|
1520
1534
|
case "sign-auto":
|
|
1521
1535
|
return {
|
|
@@ -1555,7 +1569,7 @@ function lr(e) {
|
|
|
1555
1569
|
};
|
|
1556
1570
|
}
|
|
1557
1571
|
}
|
|
1558
|
-
function
|
|
1572
|
+
function Ki(e) {
|
|
1559
1573
|
var t;
|
|
1560
1574
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1561
1575
|
notation: "engineering"
|
|
@@ -1563,17 +1577,17 @@ function Ji(e) {
|
|
|
1563
1577
|
notation: "scientific"
|
|
1564
1578
|
}, e = e.slice(1)), t) {
|
|
1565
1579
|
var r = e.slice(0, 2);
|
|
1566
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1580
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
1567
1581
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1568
1582
|
t.minimumIntegerDigits = e.length;
|
|
1569
1583
|
}
|
|
1570
1584
|
return t;
|
|
1571
1585
|
}
|
|
1572
|
-
function
|
|
1573
|
-
var t = {}, r =
|
|
1586
|
+
function Ht(e) {
|
|
1587
|
+
var t = {}, r = fr(e);
|
|
1574
1588
|
return r || t;
|
|
1575
1589
|
}
|
|
1576
|
-
function
|
|
1590
|
+
function en(e) {
|
|
1577
1591
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1578
1592
|
var n = i[r];
|
|
1579
1593
|
switch (n.stem) {
|
|
@@ -1597,7 +1611,7 @@ function qi(e) {
|
|
|
1597
1611
|
continue;
|
|
1598
1612
|
case "measure-unit":
|
|
1599
1613
|
case "unit":
|
|
1600
|
-
t.style = "unit", t.unit =
|
|
1614
|
+
t.style = "unit", t.unit = Ji(n.options[0]);
|
|
1601
1615
|
continue;
|
|
1602
1616
|
case "compact-short":
|
|
1603
1617
|
case "K":
|
|
@@ -1609,12 +1623,12 @@ function qi(e) {
|
|
|
1609
1623
|
continue;
|
|
1610
1624
|
case "scientific":
|
|
1611
1625
|
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1612
|
-
return E(E({}, h),
|
|
1626
|
+
return E(E({}, h), Ht(u));
|
|
1613
1627
|
}, {}));
|
|
1614
1628
|
continue;
|
|
1615
1629
|
case "engineering":
|
|
1616
1630
|
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1617
|
-
return E(E({}, h),
|
|
1631
|
+
return E(E({}, h), Ht(u));
|
|
1618
1632
|
}, {}));
|
|
1619
1633
|
continue;
|
|
1620
1634
|
case "notation-simple":
|
|
@@ -1659,41 +1673,41 @@ function qi(e) {
|
|
|
1659
1673
|
case "integer-width":
|
|
1660
1674
|
if (n.options.length > 1)
|
|
1661
1675
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1662
|
-
n.options[0].replace(
|
|
1676
|
+
n.options[0].replace(qi, function(h, u, l, c, f, p) {
|
|
1663
1677
|
if (u)
|
|
1664
1678
|
t.minimumIntegerDigits = l.length;
|
|
1665
1679
|
else {
|
|
1666
1680
|
if (c && f)
|
|
1667
1681
|
throw new Error("We currently do not support maximum integer digits");
|
|
1668
|
-
if (
|
|
1682
|
+
if (p)
|
|
1669
1683
|
throw new Error("We currently do not support exact integer digits");
|
|
1670
1684
|
}
|
|
1671
1685
|
return "";
|
|
1672
1686
|
});
|
|
1673
1687
|
continue;
|
|
1674
1688
|
}
|
|
1675
|
-
if (
|
|
1689
|
+
if (cr.test(n.stem)) {
|
|
1676
1690
|
t.minimumIntegerDigits = n.stem.length;
|
|
1677
1691
|
continue;
|
|
1678
1692
|
}
|
|
1679
|
-
if (
|
|
1693
|
+
if (At.test(n.stem)) {
|
|
1680
1694
|
if (n.options.length > 1)
|
|
1681
1695
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1682
|
-
n.stem.replace(
|
|
1683
|
-
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1696
|
+
n.stem.replace(At, function(h, u, l, c, f, p) {
|
|
1697
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1684
1698
|
});
|
|
1685
|
-
var
|
|
1686
|
-
|
|
1699
|
+
var o = n.options[0];
|
|
1700
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
|
1687
1701
|
continue;
|
|
1688
1702
|
}
|
|
1689
|
-
if (
|
|
1690
|
-
t = E(E({}, t),
|
|
1703
|
+
if (hr.test(n.stem)) {
|
|
1704
|
+
t = E(E({}, t), Pt(n.stem));
|
|
1691
1705
|
continue;
|
|
1692
1706
|
}
|
|
1693
|
-
var a =
|
|
1707
|
+
var a = fr(n.stem);
|
|
1694
1708
|
a && (t = E(E({}, t), a));
|
|
1695
|
-
var
|
|
1696
|
-
|
|
1709
|
+
var s = Ki(n.stem);
|
|
1710
|
+
s && (t = E(E({}, t), s));
|
|
1697
1711
|
}
|
|
1698
1712
|
return t;
|
|
1699
1713
|
}
|
|
@@ -3112,14 +3126,14 @@ var ve = {
|
|
|
3112
3126
|
"h"
|
|
3113
3127
|
]
|
|
3114
3128
|
};
|
|
3115
|
-
function
|
|
3129
|
+
function tn(e, t) {
|
|
3116
3130
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3117
3131
|
var n = e.charAt(i);
|
|
3118
3132
|
if (n === "j") {
|
|
3119
|
-
for (var
|
|
3120
|
-
|
|
3121
|
-
var a = 1 + (
|
|
3122
|
-
for ((u == "H" || u == "k") && (
|
|
3133
|
+
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3134
|
+
o++, i++;
|
|
3135
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = rn(t);
|
|
3136
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3123
3137
|
r += h;
|
|
3124
3138
|
for (; a-- > 0; )
|
|
3125
3139
|
r = u + r;
|
|
@@ -3128,7 +3142,7 @@ function Ki(e, t) {
|
|
|
3128
3142
|
}
|
|
3129
3143
|
return r;
|
|
3130
3144
|
}
|
|
3131
|
-
function
|
|
3145
|
+
function rn(e) {
|
|
3132
3146
|
var t = e.hourCycle;
|
|
3133
3147
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3134
3148
|
e.hourCycles && // @ts-ignore
|
|
@@ -3150,20 +3164,20 @@ function en(e) {
|
|
|
3150
3164
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3151
3165
|
return n[0];
|
|
3152
3166
|
}
|
|
3153
|
-
var
|
|
3167
|
+
var je, nn = new RegExp("^".concat(lr.source, "*")), on = new RegExp("".concat(lr.source, "*$"));
|
|
3154
3168
|
function _(e, t) {
|
|
3155
3169
|
return { start: e, end: t };
|
|
3156
3170
|
}
|
|
3157
|
-
var
|
|
3171
|
+
var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, ln = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, mn = fn ? Number.isSafeInteger : function(e) {
|
|
3158
3172
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3159
|
-
},
|
|
3173
|
+
}, tt = !0;
|
|
3160
3174
|
try {
|
|
3161
|
-
var
|
|
3162
|
-
|
|
3175
|
+
var pn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3176
|
+
tt = ((je = pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3163
3177
|
} catch {
|
|
3164
|
-
|
|
3178
|
+
tt = !1;
|
|
3165
3179
|
}
|
|
3166
|
-
var
|
|
3180
|
+
var It = sn ? (
|
|
3167
3181
|
// Native
|
|
3168
3182
|
function(t, r, i) {
|
|
3169
3183
|
return t.startsWith(r, i);
|
|
@@ -3173,31 +3187,31 @@ var Pt = nn ? (
|
|
|
3173
3187
|
function(t, r, i) {
|
|
3174
3188
|
return t.slice(i, i + r.length) === r;
|
|
3175
3189
|
}
|
|
3176
|
-
),
|
|
3190
|
+
), rt = an ? String.fromCodePoint : (
|
|
3177
3191
|
// IE11
|
|
3178
3192
|
function() {
|
|
3179
3193
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3180
3194
|
t[r] = arguments[r];
|
|
3181
|
-
for (var i = "", n = t.length,
|
|
3182
|
-
if (a = t[
|
|
3195
|
+
for (var i = "", n = t.length, o = 0, a; n > o; ) {
|
|
3196
|
+
if (a = t[o++], a > 1114111)
|
|
3183
3197
|
throw RangeError(a + " is not a valid code point");
|
|
3184
3198
|
i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3185
3199
|
}
|
|
3186
3200
|
return i;
|
|
3187
3201
|
}
|
|
3188
|
-
),
|
|
3202
|
+
), Bt = (
|
|
3189
3203
|
// native
|
|
3190
|
-
|
|
3204
|
+
un ? Object.fromEntries : (
|
|
3191
3205
|
// Ponyfill
|
|
3192
3206
|
function(t) {
|
|
3193
3207
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
3194
|
-
var
|
|
3195
|
-
r[a] =
|
|
3208
|
+
var o = n[i], a = o[0], s = o[1];
|
|
3209
|
+
r[a] = s;
|
|
3196
3210
|
}
|
|
3197
3211
|
return r;
|
|
3198
3212
|
}
|
|
3199
3213
|
)
|
|
3200
|
-
),
|
|
3214
|
+
), mr = ln ? (
|
|
3201
3215
|
// Native
|
|
3202
3216
|
function(t, r) {
|
|
3203
3217
|
return t.codePointAt(r);
|
|
@@ -3207,11 +3221,11 @@ var Pt = nn ? (
|
|
|
3207
3221
|
function(t, r) {
|
|
3208
3222
|
var i = t.length;
|
|
3209
3223
|
if (!(r < 0 || r >= i)) {
|
|
3210
|
-
var n = t.charCodeAt(r),
|
|
3211
|
-
return n < 55296 || n > 56319 || r + 1 === i || (
|
|
3224
|
+
var n = t.charCodeAt(r), o;
|
|
3225
|
+
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3212
3226
|
}
|
|
3213
3227
|
}
|
|
3214
|
-
),
|
|
3228
|
+
), dn = hn ? (
|
|
3215
3229
|
// Native
|
|
3216
3230
|
function(t) {
|
|
3217
3231
|
return t.trimStart();
|
|
@@ -3219,9 +3233,9 @@ var Pt = nn ? (
|
|
|
3219
3233
|
) : (
|
|
3220
3234
|
// Ponyfill
|
|
3221
3235
|
function(t) {
|
|
3222
|
-
return t.replace(
|
|
3236
|
+
return t.replace(nn, "");
|
|
3223
3237
|
}
|
|
3224
|
-
),
|
|
3238
|
+
), yn = cn ? (
|
|
3225
3239
|
// Native
|
|
3226
3240
|
function(t) {
|
|
3227
3241
|
return t.trimEnd();
|
|
@@ -3229,32 +3243,32 @@ var Pt = nn ? (
|
|
|
3229
3243
|
) : (
|
|
3230
3244
|
// Ponyfill
|
|
3231
3245
|
function(t) {
|
|
3232
|
-
return t.replace(
|
|
3246
|
+
return t.replace(on, "");
|
|
3233
3247
|
}
|
|
3234
3248
|
);
|
|
3235
|
-
function
|
|
3249
|
+
function pr(e, t) {
|
|
3236
3250
|
return new RegExp(e, t);
|
|
3237
3251
|
}
|
|
3238
|
-
var
|
|
3239
|
-
if (
|
|
3240
|
-
var
|
|
3241
|
-
|
|
3252
|
+
var it;
|
|
3253
|
+
if (tt) {
|
|
3254
|
+
var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3255
|
+
it = function(t, r) {
|
|
3242
3256
|
var i;
|
|
3243
|
-
|
|
3244
|
-
var n =
|
|
3257
|
+
Ot.lastIndex = r;
|
|
3258
|
+
var n = Ot.exec(t);
|
|
3245
3259
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3246
3260
|
};
|
|
3247
3261
|
} else
|
|
3248
|
-
|
|
3262
|
+
it = function(t, r) {
|
|
3249
3263
|
for (var i = []; ; ) {
|
|
3250
|
-
var n =
|
|
3251
|
-
if (n === void 0 ||
|
|
3264
|
+
var n = mr(t, r);
|
|
3265
|
+
if (n === void 0 || dr(n) || _n(n))
|
|
3252
3266
|
break;
|
|
3253
3267
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3254
3268
|
}
|
|
3255
|
-
return
|
|
3269
|
+
return rt.apply(void 0, i);
|
|
3256
3270
|
};
|
|
3257
|
-
var
|
|
3271
|
+
var gn = (
|
|
3258
3272
|
/** @class */
|
|
3259
3273
|
function() {
|
|
3260
3274
|
function e(t, r) {
|
|
@@ -3266,26 +3280,26 @@ var pn = (
|
|
|
3266
3280
|
return this.parseMessage(0, "", !1);
|
|
3267
3281
|
}, e.prototype.parseMessage = function(t, r, i) {
|
|
3268
3282
|
for (var n = []; !this.isEOF(); ) {
|
|
3269
|
-
var
|
|
3270
|
-
if (
|
|
3283
|
+
var o = this.char();
|
|
3284
|
+
if (o === 123) {
|
|
3271
3285
|
var a = this.parseArgument(t, i);
|
|
3272
3286
|
if (a.err)
|
|
3273
3287
|
return a;
|
|
3274
3288
|
n.push(a.val);
|
|
3275
3289
|
} else {
|
|
3276
|
-
if (
|
|
3290
|
+
if (o === 125 && t > 0)
|
|
3277
3291
|
break;
|
|
3278
|
-
if (
|
|
3279
|
-
var
|
|
3292
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3293
|
+
var s = this.clonePosition();
|
|
3280
3294
|
this.bump(), n.push({
|
|
3281
3295
|
type: S.pound,
|
|
3282
|
-
location: _(
|
|
3296
|
+
location: _(s, this.clonePosition())
|
|
3283
3297
|
});
|
|
3284
|
-
} else if (
|
|
3298
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3285
3299
|
if (i)
|
|
3286
3300
|
break;
|
|
3287
3301
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3288
|
-
} else if (
|
|
3302
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3289
3303
|
var a = this.parseTag(t, r);
|
|
3290
3304
|
if (a.err)
|
|
3291
3305
|
return a;
|
|
@@ -3313,13 +3327,13 @@ var pn = (
|
|
|
3313
3327
|
err: null
|
|
3314
3328
|
};
|
|
3315
3329
|
if (this.bumpIf(">")) {
|
|
3316
|
-
var
|
|
3317
|
-
if (
|
|
3318
|
-
return
|
|
3319
|
-
var a =
|
|
3330
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3331
|
+
if (o.err)
|
|
3332
|
+
return o;
|
|
3333
|
+
var a = o.val, s = this.clonePosition();
|
|
3320
3334
|
if (this.bumpIf("</")) {
|
|
3321
|
-
if (this.isEOF() || !
|
|
3322
|
-
return this.error(b.INVALID_TAG, _(
|
|
3335
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3336
|
+
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3323
3337
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3324
3338
|
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3325
3339
|
val: {
|
|
@@ -3329,21 +3343,21 @@ var pn = (
|
|
|
3329
3343
|
location: _(i, this.clonePosition())
|
|
3330
3344
|
},
|
|
3331
3345
|
err: null
|
|
3332
|
-
} : this.error(b.INVALID_TAG, _(
|
|
3346
|
+
} : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
|
|
3333
3347
|
} else
|
|
3334
3348
|
return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
|
|
3335
3349
|
} else
|
|
3336
3350
|
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3337
3351
|
}, e.prototype.parseTagName = function() {
|
|
3338
3352
|
var t = this.offset();
|
|
3339
|
-
for (this.bump(); !this.isEOF() &&
|
|
3353
|
+
for (this.bump(); !this.isEOF() && vn(this.char()); )
|
|
3340
3354
|
this.bump();
|
|
3341
3355
|
return this.message.slice(t, this.offset());
|
|
3342
3356
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3343
3357
|
for (var i = this.clonePosition(), n = ""; ; ) {
|
|
3344
|
-
var
|
|
3345
|
-
if (
|
|
3346
|
-
n +=
|
|
3358
|
+
var o = this.tryParseQuote(r);
|
|
3359
|
+
if (o) {
|
|
3360
|
+
n += o;
|
|
3347
3361
|
continue;
|
|
3348
3362
|
}
|
|
3349
3363
|
var a = this.tryParseUnquoted(t, r);
|
|
@@ -3351,9 +3365,9 @@ var pn = (
|
|
|
3351
3365
|
n += a;
|
|
3352
3366
|
continue;
|
|
3353
3367
|
}
|
|
3354
|
-
var
|
|
3355
|
-
if (
|
|
3356
|
-
n +=
|
|
3368
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3369
|
+
if (s) {
|
|
3370
|
+
n += s;
|
|
3357
3371
|
continue;
|
|
3358
3372
|
}
|
|
3359
3373
|
break;
|
|
@@ -3365,7 +3379,7 @@ var pn = (
|
|
|
3365
3379
|
};
|
|
3366
3380
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3367
3381
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3368
|
-
!
|
|
3382
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3369
3383
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3370
3384
|
if (this.isEOF() || this.char() !== 39)
|
|
3371
3385
|
return null;
|
|
@@ -3399,12 +3413,12 @@ var pn = (
|
|
|
3399
3413
|
r.push(i);
|
|
3400
3414
|
this.bump();
|
|
3401
3415
|
}
|
|
3402
|
-
return
|
|
3416
|
+
return rt.apply(void 0, r);
|
|
3403
3417
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3404
3418
|
if (this.isEOF())
|
|
3405
3419
|
return null;
|
|
3406
3420
|
var i = this.char();
|
|
3407
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3421
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
|
|
3408
3422
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3409
3423
|
var i = this.clonePosition();
|
|
3410
3424
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3433,13 +3447,13 @@ var pn = (
|
|
|
3433
3447
|
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3434
3448
|
}
|
|
3435
3449
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3436
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3450
|
+
var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
|
|
3437
3451
|
this.bumpTo(n);
|
|
3438
|
-
var
|
|
3452
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3439
3453
|
return { value: i, location: a };
|
|
3440
3454
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
3441
|
-
var
|
|
3442
|
-
switch (
|
|
3455
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3456
|
+
switch (s) {
|
|
3443
3457
|
case "":
|
|
3444
3458
|
return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
|
|
3445
3459
|
case "number":
|
|
@@ -3452,47 +3466,47 @@ var pn = (
|
|
|
3452
3466
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3453
3467
|
if (c.err)
|
|
3454
3468
|
return c;
|
|
3455
|
-
var f =
|
|
3469
|
+
var f = yn(c.val);
|
|
3456
3470
|
if (f.length === 0)
|
|
3457
3471
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3458
|
-
var
|
|
3459
|
-
u = { style: f, styleLocation:
|
|
3472
|
+
var p = _(l, this.clonePosition());
|
|
3473
|
+
u = { style: f, styleLocation: p };
|
|
3460
3474
|
}
|
|
3461
3475
|
var y = this.tryParseArgumentClose(n);
|
|
3462
3476
|
if (y.err)
|
|
3463
3477
|
return y;
|
|
3464
|
-
var
|
|
3465
|
-
if (u &&
|
|
3466
|
-
var v =
|
|
3467
|
-
if (
|
|
3478
|
+
var d = _(n, this.clonePosition());
|
|
3479
|
+
if (u && It(u?.style, "::", 0)) {
|
|
3480
|
+
var v = dn(u.style.slice(2));
|
|
3481
|
+
if (s === "number") {
|
|
3468
3482
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3469
3483
|
return c.err ? c : {
|
|
3470
|
-
val: { type: S.number, value: i, location:
|
|
3484
|
+
val: { type: S.number, value: i, location: d, style: c.val },
|
|
3471
3485
|
err: null
|
|
3472
3486
|
};
|
|
3473
3487
|
} else {
|
|
3474
3488
|
if (v.length === 0)
|
|
3475
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3489
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3476
3490
|
var H = v;
|
|
3477
|
-
this.locale && (H =
|
|
3491
|
+
this.locale && (H = tn(v, this.locale));
|
|
3478
3492
|
var f = {
|
|
3479
3493
|
type: ee.dateTime,
|
|
3480
3494
|
pattern: H,
|
|
3481
3495
|
location: u.styleLocation,
|
|
3482
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3483
|
-
}, g =
|
|
3496
|
+
parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
|
|
3497
|
+
}, g = s === "date" ? S.date : S.time;
|
|
3484
3498
|
return {
|
|
3485
|
-
val: { type: g, value: i, location:
|
|
3499
|
+
val: { type: g, value: i, location: d, style: f },
|
|
3486
3500
|
err: null
|
|
3487
3501
|
};
|
|
3488
3502
|
}
|
|
3489
3503
|
}
|
|
3490
3504
|
return {
|
|
3491
3505
|
val: {
|
|
3492
|
-
type:
|
|
3506
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3493
3507
|
value: i,
|
|
3494
|
-
location:
|
|
3495
|
-
style: (
|
|
3508
|
+
location: d,
|
|
3509
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3496
3510
|
},
|
|
3497
3511
|
err: null
|
|
3498
3512
|
};
|
|
@@ -3505,7 +3519,7 @@ var pn = (
|
|
|
3505
3519
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
|
|
3506
3520
|
this.bumpSpace();
|
|
3507
3521
|
var R = this.parseIdentifierIfPossible(), N = 0;
|
|
3508
|
-
if (
|
|
3522
|
+
if (s !== "select" && R.value === "offset") {
|
|
3509
3523
|
if (!this.bumpIf(":"))
|
|
3510
3524
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3511
3525
|
this.bumpSpace();
|
|
@@ -3514,18 +3528,18 @@ var pn = (
|
|
|
3514
3528
|
return c;
|
|
3515
3529
|
this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
|
|
3516
3530
|
}
|
|
3517
|
-
var D = this.tryParsePluralOrSelectOptions(t,
|
|
3531
|
+
var D = this.tryParsePluralOrSelectOptions(t, s, r, R);
|
|
3518
3532
|
if (D.err)
|
|
3519
3533
|
return D;
|
|
3520
3534
|
var y = this.tryParseArgumentClose(n);
|
|
3521
3535
|
if (y.err)
|
|
3522
3536
|
return y;
|
|
3523
3537
|
var W = _(n, this.clonePosition());
|
|
3524
|
-
return
|
|
3538
|
+
return s === "select" ? {
|
|
3525
3539
|
val: {
|
|
3526
3540
|
type: S.select,
|
|
3527
3541
|
value: i,
|
|
3528
|
-
options:
|
|
3542
|
+
options: Bt(D.val),
|
|
3529
3543
|
location: W
|
|
3530
3544
|
},
|
|
3531
3545
|
err: null
|
|
@@ -3533,9 +3547,9 @@ var pn = (
|
|
|
3533
3547
|
val: {
|
|
3534
3548
|
type: S.plural,
|
|
3535
3549
|
value: i,
|
|
3536
|
-
options:
|
|
3550
|
+
options: Bt(D.val),
|
|
3537
3551
|
offset: N,
|
|
3538
|
-
pluralType:
|
|
3552
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3539
3553
|
location: W
|
|
3540
3554
|
},
|
|
3541
3555
|
err: null
|
|
@@ -3584,7 +3598,7 @@ var pn = (
|
|
|
3584
3598
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3585
3599
|
var i = [];
|
|
3586
3600
|
try {
|
|
3587
|
-
i =
|
|
3601
|
+
i = Yi(t);
|
|
3588
3602
|
} catch {
|
|
3589
3603
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3590
3604
|
}
|
|
@@ -3593,12 +3607,12 @@ var pn = (
|
|
|
3593
3607
|
type: ee.number,
|
|
3594
3608
|
tokens: i,
|
|
3595
3609
|
location: r,
|
|
3596
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3610
|
+
parsedOptions: this.shouldParseSkeletons ? en(i) : {}
|
|
3597
3611
|
},
|
|
3598
3612
|
err: null
|
|
3599
3613
|
};
|
|
3600
3614
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3601
|
-
for (var
|
|
3615
|
+
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
|
|
3602
3616
|
if (u.length === 0) {
|
|
3603
3617
|
var c = this.clonePosition();
|
|
3604
3618
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3612,36 +3626,36 @@ var pn = (
|
|
|
3612
3626
|
if (h.has(u))
|
|
3613
3627
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3614
3628
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3615
|
-
var
|
|
3629
|
+
var p = this.clonePosition();
|
|
3616
3630
|
if (!this.bumpIf("{"))
|
|
3617
3631
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3618
3632
|
var y = this.parseMessage(t + 1, r, i);
|
|
3619
3633
|
if (y.err)
|
|
3620
3634
|
return y;
|
|
3621
|
-
var
|
|
3622
|
-
if (
|
|
3623
|
-
return
|
|
3624
|
-
|
|
3635
|
+
var d = this.tryParseArgumentClose(p);
|
|
3636
|
+
if (d.err)
|
|
3637
|
+
return d;
|
|
3638
|
+
s.push([
|
|
3625
3639
|
u,
|
|
3626
3640
|
{
|
|
3627
3641
|
value: y.val,
|
|
3628
|
-
location: _(
|
|
3642
|
+
location: _(p, this.clonePosition())
|
|
3629
3643
|
}
|
|
3630
|
-
]), h.add(u), this.bumpSpace(),
|
|
3644
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3631
3645
|
}
|
|
3632
|
-
return
|
|
3646
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3633
3647
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3634
3648
|
var i = 1, n = this.clonePosition();
|
|
3635
3649
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3636
|
-
for (var
|
|
3637
|
-
var
|
|
3638
|
-
if (
|
|
3639
|
-
|
|
3650
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3651
|
+
var s = this.char();
|
|
3652
|
+
if (s >= 48 && s <= 57)
|
|
3653
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3640
3654
|
else
|
|
3641
3655
|
break;
|
|
3642
3656
|
}
|
|
3643
3657
|
var h = _(n, this.clonePosition());
|
|
3644
|
-
return
|
|
3658
|
+
return o ? (a *= i, mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3645
3659
|
}, e.prototype.offset = function() {
|
|
3646
3660
|
return this.position.offset;
|
|
3647
3661
|
}, e.prototype.isEOF = function() {
|
|
@@ -3656,7 +3670,7 @@ var pn = (
|
|
|
3656
3670
|
var t = this.position.offset;
|
|
3657
3671
|
if (t >= this.message.length)
|
|
3658
3672
|
throw Error("out of bound");
|
|
3659
|
-
var r =
|
|
3673
|
+
var r = mr(this.message, t);
|
|
3660
3674
|
if (r === void 0)
|
|
3661
3675
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3662
3676
|
return r;
|
|
@@ -3675,7 +3689,7 @@ var pn = (
|
|
|
3675
3689
|
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);
|
|
3676
3690
|
}
|
|
3677
3691
|
}, e.prototype.bumpIf = function(t) {
|
|
3678
|
-
if (
|
|
3692
|
+
if (It(this.message, t, this.offset())) {
|
|
3679
3693
|
for (var r = 0; r < t.length; r++)
|
|
3680
3694
|
this.bump();
|
|
3681
3695
|
return !0;
|
|
@@ -3697,7 +3711,7 @@ var pn = (
|
|
|
3697
3711
|
break;
|
|
3698
3712
|
}
|
|
3699
3713
|
}, e.prototype.bumpSpace = function() {
|
|
3700
|
-
for (; !this.isEOF() &&
|
|
3714
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3701
3715
|
this.bump();
|
|
3702
3716
|
}, e.prototype.peek = function() {
|
|
3703
3717
|
if (this.isEOF())
|
|
@@ -3707,38 +3721,38 @@ var pn = (
|
|
|
3707
3721
|
}, e;
|
|
3708
3722
|
}()
|
|
3709
3723
|
);
|
|
3710
|
-
function
|
|
3724
|
+
function nt(e) {
|
|
3711
3725
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3712
3726
|
}
|
|
3713
|
-
function
|
|
3714
|
-
return
|
|
3727
|
+
function bn(e) {
|
|
3728
|
+
return nt(e) || e === 47;
|
|
3715
3729
|
}
|
|
3716
|
-
function
|
|
3730
|
+
function vn(e) {
|
|
3717
3731
|
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;
|
|
3718
3732
|
}
|
|
3719
|
-
function
|
|
3733
|
+
function dr(e) {
|
|
3720
3734
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3721
3735
|
}
|
|
3722
|
-
function
|
|
3736
|
+
function _n(e) {
|
|
3723
3737
|
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;
|
|
3724
3738
|
}
|
|
3725
|
-
function
|
|
3739
|
+
function ot(e) {
|
|
3726
3740
|
e.forEach(function(t) {
|
|
3727
|
-
if (delete t.location,
|
|
3741
|
+
if (delete t.location, or(t) || sr(t))
|
|
3728
3742
|
for (var r in t.options)
|
|
3729
|
-
delete t.options[r].location,
|
|
3743
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3730
3744
|
else
|
|
3731
|
-
|
|
3745
|
+
rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
|
|
3732
3746
|
});
|
|
3733
3747
|
}
|
|
3734
|
-
function
|
|
3748
|
+
function En(e, t) {
|
|
3735
3749
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3736
|
-
var r = new
|
|
3750
|
+
var r = new gn(e, t).parse();
|
|
3737
3751
|
if (r.err) {
|
|
3738
3752
|
var i = SyntaxError(b[r.err.kind]);
|
|
3739
3753
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3740
3754
|
}
|
|
3741
|
-
return t?.captureLocation ||
|
|
3755
|
+
return t?.captureLocation || ot(r.val), r.val;
|
|
3742
3756
|
}
|
|
3743
3757
|
var te;
|
|
3744
3758
|
(function(e) {
|
|
@@ -3749,23 +3763,23 @@ var Be = (
|
|
|
3749
3763
|
function(e) {
|
|
3750
3764
|
F(t, e);
|
|
3751
3765
|
function t(r, i, n) {
|
|
3752
|
-
var
|
|
3753
|
-
return
|
|
3766
|
+
var o = e.call(this, r) || this;
|
|
3767
|
+
return o.code = i, o.originalMessage = n, o;
|
|
3754
3768
|
}
|
|
3755
3769
|
return t.prototype.toString = function() {
|
|
3756
3770
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3757
3771
|
}, t;
|
|
3758
3772
|
}(Error)
|
|
3759
|
-
),
|
|
3773
|
+
), Ct = (
|
|
3760
3774
|
/** @class */
|
|
3761
3775
|
function(e) {
|
|
3762
3776
|
F(t, e);
|
|
3763
|
-
function t(r, i, n,
|
|
3764
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE,
|
|
3777
|
+
function t(r, i, n, o) {
|
|
3778
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
3765
3779
|
}
|
|
3766
3780
|
return t;
|
|
3767
3781
|
}(Be)
|
|
3768
|
-
),
|
|
3782
|
+
), xn = (
|
|
3769
3783
|
/** @class */
|
|
3770
3784
|
function(e) {
|
|
3771
3785
|
F(t, e);
|
|
@@ -3774,7 +3788,7 @@ var Be = (
|
|
|
3774
3788
|
}
|
|
3775
3789
|
return t;
|
|
3776
3790
|
}(Be)
|
|
3777
|
-
),
|
|
3791
|
+
), Tn = (
|
|
3778
3792
|
/** @class */
|
|
3779
3793
|
function(e) {
|
|
3780
3794
|
F(t, e);
|
|
@@ -3787,96 +3801,96 @@ var Be = (
|
|
|
3787
3801
|
(function(e) {
|
|
3788
3802
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3789
3803
|
})(I || (I = {}));
|
|
3790
|
-
function
|
|
3804
|
+
function Ln(e) {
|
|
3791
3805
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3792
3806
|
var i = t[t.length - 1];
|
|
3793
3807
|
return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
|
|
3794
3808
|
}, []);
|
|
3795
3809
|
}
|
|
3796
|
-
function
|
|
3810
|
+
function Sn(e) {
|
|
3797
3811
|
return typeof e == "function";
|
|
3798
3812
|
}
|
|
3799
|
-
function Le(e, t, r, i, n,
|
|
3800
|
-
if (e.length === 1 &&
|
|
3813
|
+
function Le(e, t, r, i, n, o, a) {
|
|
3814
|
+
if (e.length === 1 && wt(e[0]))
|
|
3801
3815
|
return [
|
|
3802
3816
|
{
|
|
3803
3817
|
type: I.literal,
|
|
3804
3818
|
value: e[0].value
|
|
3805
3819
|
}
|
|
3806
3820
|
];
|
|
3807
|
-
for (var
|
|
3821
|
+
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3808
3822
|
var l = u[h];
|
|
3809
|
-
if (
|
|
3810
|
-
|
|
3823
|
+
if (wt(l)) {
|
|
3824
|
+
s.push({
|
|
3811
3825
|
type: I.literal,
|
|
3812
3826
|
value: l.value
|
|
3813
3827
|
});
|
|
3814
3828
|
continue;
|
|
3815
3829
|
}
|
|
3816
|
-
if (
|
|
3817
|
-
typeof
|
|
3830
|
+
if (Xi(l)) {
|
|
3831
|
+
typeof o == "number" && s.push({
|
|
3818
3832
|
type: I.literal,
|
|
3819
|
-
value: r.getNumberFormat(t).format(
|
|
3833
|
+
value: r.getNumberFormat(t).format(o)
|
|
3820
3834
|
});
|
|
3821
3835
|
continue;
|
|
3822
3836
|
}
|
|
3823
3837
|
var c = l.value;
|
|
3824
3838
|
if (!(n && c in n))
|
|
3825
|
-
throw new
|
|
3839
|
+
throw new Tn(c, a);
|
|
3826
3840
|
var f = n[c];
|
|
3827
|
-
if (
|
|
3828
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3841
|
+
if (Wi(l)) {
|
|
3842
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3829
3843
|
type: typeof f == "string" ? I.literal : I.object,
|
|
3830
3844
|
value: f
|
|
3831
3845
|
});
|
|
3832
3846
|
continue;
|
|
3833
3847
|
}
|
|
3834
|
-
if (
|
|
3835
|
-
var
|
|
3836
|
-
|
|
3848
|
+
if (ir(l)) {
|
|
3849
|
+
var p = typeof l.style == "string" ? i.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
|
|
3850
|
+
s.push({
|
|
3837
3851
|
type: I.literal,
|
|
3838
|
-
value: r.getDateTimeFormat(t,
|
|
3852
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3839
3853
|
});
|
|
3840
3854
|
continue;
|
|
3841
3855
|
}
|
|
3842
|
-
if (
|
|
3843
|
-
var
|
|
3844
|
-
|
|
3856
|
+
if (nr(l)) {
|
|
3857
|
+
var p = typeof l.style == "string" ? i.time[l.style] : et(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3858
|
+
s.push({
|
|
3845
3859
|
type: I.literal,
|
|
3846
|
-
value: r.getDateTimeFormat(t,
|
|
3860
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3847
3861
|
});
|
|
3848
3862
|
continue;
|
|
3849
3863
|
}
|
|
3850
|
-
if (
|
|
3851
|
-
var
|
|
3852
|
-
|
|
3864
|
+
if (rr(l)) {
|
|
3865
|
+
var p = typeof l.style == "string" ? i.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
|
|
3866
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3853
3867
|
type: I.literal,
|
|
3854
|
-
value: r.getNumberFormat(t,
|
|
3868
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3855
3869
|
});
|
|
3856
3870
|
continue;
|
|
3857
3871
|
}
|
|
3858
|
-
if (
|
|
3859
|
-
var y = l.children,
|
|
3860
|
-
if (!
|
|
3861
|
-
throw new
|
|
3862
|
-
var H = Le(y, t, r, i, n,
|
|
3872
|
+
if (ar(l)) {
|
|
3873
|
+
var y = l.children, d = l.value, v = n[d];
|
|
3874
|
+
if (!Sn(v))
|
|
3875
|
+
throw new xn(d, "function", a);
|
|
3876
|
+
var H = Le(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3863
3877
|
return N.value;
|
|
3864
3878
|
}));
|
|
3865
|
-
Array.isArray(g) || (g = [g]),
|
|
3879
|
+
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
3866
3880
|
return {
|
|
3867
3881
|
type: typeof N == "string" ? I.literal : I.object,
|
|
3868
3882
|
value: N
|
|
3869
3883
|
};
|
|
3870
3884
|
}));
|
|
3871
3885
|
}
|
|
3872
|
-
if (
|
|
3886
|
+
if (or(l)) {
|
|
3873
3887
|
var w = l.options[f] || l.options.other;
|
|
3874
3888
|
if (!w)
|
|
3875
|
-
throw new
|
|
3876
|
-
|
|
3889
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3890
|
+
s.push.apply(s, Le(w.value, t, r, i, n));
|
|
3877
3891
|
continue;
|
|
3878
3892
|
}
|
|
3879
|
-
if (
|
|
3893
|
+
if (sr(l)) {
|
|
3880
3894
|
var w = l.options["=".concat(f)];
|
|
3881
3895
|
if (!w) {
|
|
3882
3896
|
if (!Intl.PluralRules)
|
|
@@ -3887,24 +3901,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3887
3901
|
w = l.options[R] || l.options.other;
|
|
3888
3902
|
}
|
|
3889
3903
|
if (!w)
|
|
3890
|
-
throw new
|
|
3891
|
-
|
|
3904
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3905
|
+
s.push.apply(s, Le(w.value, t, r, i, n, f - (l.offset || 0)));
|
|
3892
3906
|
continue;
|
|
3893
3907
|
}
|
|
3894
3908
|
}
|
|
3895
|
-
return
|
|
3909
|
+
return Ln(s);
|
|
3896
3910
|
}
|
|
3897
|
-
function
|
|
3911
|
+
function wn(e, t) {
|
|
3898
3912
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3899
3913
|
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3900
3914
|
}, {})) : e;
|
|
3901
3915
|
}
|
|
3902
|
-
function
|
|
3916
|
+
function An(e, t) {
|
|
3903
3917
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3904
|
-
return r[i] =
|
|
3918
|
+
return r[i] = wn(e[i], t[i]), r;
|
|
3905
3919
|
}, E({}, e)) : e;
|
|
3906
3920
|
}
|
|
3907
|
-
function
|
|
3921
|
+
function ke(e) {
|
|
3908
3922
|
return {
|
|
3909
3923
|
create: function() {
|
|
3910
3924
|
return {
|
|
@@ -3918,50 +3932,50 @@ function je(e) {
|
|
|
3918
3932
|
}
|
|
3919
3933
|
};
|
|
3920
3934
|
}
|
|
3921
|
-
function
|
|
3935
|
+
function Pn(e) {
|
|
3922
3936
|
return e === void 0 && (e = {
|
|
3923
3937
|
number: {},
|
|
3924
3938
|
dateTime: {},
|
|
3925
3939
|
pluralRules: {}
|
|
3926
3940
|
}), {
|
|
3927
|
-
getNumberFormat:
|
|
3941
|
+
getNumberFormat: Ge(function() {
|
|
3928
3942
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3929
3943
|
r[i] = arguments[i];
|
|
3930
3944
|
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3931
3945
|
}, {
|
|
3932
|
-
cache:
|
|
3933
|
-
strategy:
|
|
3946
|
+
cache: ke(e.number),
|
|
3947
|
+
strategy: Fe.variadic
|
|
3934
3948
|
}),
|
|
3935
|
-
getDateTimeFormat:
|
|
3949
|
+
getDateTimeFormat: Ge(function() {
|
|
3936
3950
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3937
3951
|
r[i] = arguments[i];
|
|
3938
3952
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3939
3953
|
}, {
|
|
3940
|
-
cache:
|
|
3941
|
-
strategy:
|
|
3954
|
+
cache: ke(e.dateTime),
|
|
3955
|
+
strategy: Fe.variadic
|
|
3942
3956
|
}),
|
|
3943
|
-
getPluralRules:
|
|
3957
|
+
getPluralRules: Ge(function() {
|
|
3944
3958
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3945
3959
|
r[i] = arguments[i];
|
|
3946
3960
|
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3947
3961
|
}, {
|
|
3948
|
-
cache:
|
|
3949
|
-
strategy:
|
|
3962
|
+
cache: ke(e.pluralRules),
|
|
3963
|
+
strategy: Fe.variadic
|
|
3950
3964
|
})
|
|
3951
3965
|
};
|
|
3952
3966
|
}
|
|
3953
|
-
var
|
|
3967
|
+
var Hn = (
|
|
3954
3968
|
/** @class */
|
|
3955
3969
|
function() {
|
|
3956
3970
|
function e(t, r, i, n) {
|
|
3957
3971
|
r === void 0 && (r = e.defaultLocale);
|
|
3958
|
-
var
|
|
3972
|
+
var o = this;
|
|
3959
3973
|
if (this.formatterCache = {
|
|
3960
3974
|
number: {},
|
|
3961
3975
|
dateTime: {},
|
|
3962
3976
|
pluralRules: {}
|
|
3963
3977
|
}, this.format = function(h) {
|
|
3964
|
-
var u =
|
|
3978
|
+
var u = o.formatToParts(h);
|
|
3965
3979
|
if (u.length === 1)
|
|
3966
3980
|
return u[0].value;
|
|
3967
3981
|
var l = u.reduce(function(c, f) {
|
|
@@ -3969,26 +3983,26 @@ var An = (
|
|
|
3969
3983
|
}, []);
|
|
3970
3984
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3971
3985
|
}, this.formatToParts = function(h) {
|
|
3972
|
-
return Le(
|
|
3986
|
+
return Le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3973
3987
|
}, this.resolvedOptions = function() {
|
|
3974
3988
|
var h;
|
|
3975
3989
|
return {
|
|
3976
|
-
locale: ((h =
|
|
3990
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3977
3991
|
};
|
|
3978
3992
|
}, this.getAst = function() {
|
|
3979
|
-
return
|
|
3993
|
+
return o.ast;
|
|
3980
3994
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3981
3995
|
if (this.message = t, !e.__parse)
|
|
3982
3996
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3983
3997
|
var a = n || {};
|
|
3984
3998
|
a.formatters;
|
|
3985
|
-
var
|
|
3986
|
-
this.ast = e.__parse(t, E(E({},
|
|
3999
|
+
var s = ai(a, ["formatters"]);
|
|
4000
|
+
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3987
4001
|
} else
|
|
3988
4002
|
this.ast = t;
|
|
3989
4003
|
if (!Array.isArray(this.ast))
|
|
3990
4004
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3991
|
-
this.formats =
|
|
4005
|
+
this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
|
|
3992
4006
|
}
|
|
3993
4007
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3994
4008
|
get: function() {
|
|
@@ -4001,7 +4015,7 @@ var An = (
|
|
|
4001
4015
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4002
4016
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4003
4017
|
}
|
|
4004
|
-
}, e.__parse =
|
|
4018
|
+
}, e.__parse = En, e.formats = {
|
|
4005
4019
|
number: {
|
|
4006
4020
|
integer: {
|
|
4007
4021
|
maximumFractionDigits: 0
|
|
@@ -4062,7 +4076,7 @@ var An = (
|
|
|
4062
4076
|
}, e;
|
|
4063
4077
|
}()
|
|
4064
4078
|
);
|
|
4065
|
-
function
|
|
4079
|
+
function In(e, t) {
|
|
4066
4080
|
if (t == null)
|
|
4067
4081
|
return;
|
|
4068
4082
|
if (t in e)
|
|
@@ -4072,9 +4086,9 @@ function Pn(e, t) {
|
|
|
4072
4086
|
for (let n = 0; n < r.length; n++)
|
|
4073
4087
|
if (typeof i == "object") {
|
|
4074
4088
|
if (n > 0) {
|
|
4075
|
-
const
|
|
4076
|
-
if (
|
|
4077
|
-
i = i[
|
|
4089
|
+
const o = r.slice(n, r.length).join(".");
|
|
4090
|
+
if (o in i) {
|
|
4091
|
+
i = i[o];
|
|
4078
4092
|
break;
|
|
4079
4093
|
}
|
|
4080
4094
|
}
|
|
@@ -4083,60 +4097,60 @@ function Pn(e, t) {
|
|
|
4083
4097
|
i = void 0;
|
|
4084
4098
|
return i;
|
|
4085
4099
|
}
|
|
4086
|
-
const j = {},
|
|
4100
|
+
const j = {}, Bn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), yr = (e, t) => {
|
|
4087
4101
|
if (t == null)
|
|
4088
4102
|
return;
|
|
4089
4103
|
if (t in j && e in j[t])
|
|
4090
4104
|
return j[t][e];
|
|
4091
4105
|
const r = Oe(t);
|
|
4092
4106
|
for (let i = 0; i < r.length; i++) {
|
|
4093
|
-
const n = r[i],
|
|
4094
|
-
if (
|
|
4095
|
-
return
|
|
4107
|
+
const n = r[i], o = Cn(n, e);
|
|
4108
|
+
if (o)
|
|
4109
|
+
return Bn(e, t, o);
|
|
4096
4110
|
}
|
|
4097
4111
|
};
|
|
4098
|
-
let
|
|
4112
|
+
let ct;
|
|
4099
4113
|
const me = Ie({});
|
|
4100
|
-
function
|
|
4101
|
-
return
|
|
4114
|
+
function On(e) {
|
|
4115
|
+
return ct[e] || null;
|
|
4102
4116
|
}
|
|
4103
|
-
function
|
|
4104
|
-
return e in
|
|
4117
|
+
function gr(e) {
|
|
4118
|
+
return e in ct;
|
|
4105
4119
|
}
|
|
4106
|
-
function
|
|
4107
|
-
if (!
|
|
4120
|
+
function Cn(e, t) {
|
|
4121
|
+
if (!gr(e))
|
|
4108
4122
|
return null;
|
|
4109
|
-
const r =
|
|
4110
|
-
return
|
|
4123
|
+
const r = On(e);
|
|
4124
|
+
return In(r, t);
|
|
4111
4125
|
}
|
|
4112
|
-
function
|
|
4126
|
+
function Nn(e) {
|
|
4113
4127
|
if (e == null)
|
|
4114
4128
|
return;
|
|
4115
4129
|
const t = Oe(e);
|
|
4116
4130
|
for (let r = 0; r < t.length; r++) {
|
|
4117
4131
|
const i = t[r];
|
|
4118
|
-
if (
|
|
4132
|
+
if (gr(i))
|
|
4119
4133
|
return i;
|
|
4120
4134
|
}
|
|
4121
4135
|
}
|
|
4122
|
-
function
|
|
4123
|
-
delete j[e], me.update((r) => (r[e] =
|
|
4136
|
+
function br(e, ...t) {
|
|
4137
|
+
delete j[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4124
4138
|
}
|
|
4125
4139
|
ne(
|
|
4126
4140
|
[me],
|
|
4127
4141
|
([e]) => Object.keys(e)
|
|
4128
4142
|
);
|
|
4129
|
-
me.subscribe((e) =>
|
|
4143
|
+
me.subscribe((e) => ct = e);
|
|
4130
4144
|
const Se = {};
|
|
4131
|
-
function
|
|
4145
|
+
function Mn(e, t) {
|
|
4132
4146
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4133
4147
|
}
|
|
4134
|
-
function
|
|
4148
|
+
function vr(e) {
|
|
4135
4149
|
return Se[e];
|
|
4136
4150
|
}
|
|
4137
|
-
function
|
|
4151
|
+
function Rn(e) {
|
|
4138
4152
|
return Oe(e).map((t) => {
|
|
4139
|
-
const r =
|
|
4153
|
+
const r = vr(t);
|
|
4140
4154
|
return [t, r ? [...r] : []];
|
|
4141
4155
|
}).filter(([, t]) => t.length > 0);
|
|
4142
4156
|
}
|
|
@@ -4144,31 +4158,31 @@ function st(e) {
|
|
|
4144
4158
|
return e == null ? !1 : Oe(e).some(
|
|
4145
4159
|
(t) => {
|
|
4146
4160
|
var r;
|
|
4147
|
-
return (r =
|
|
4161
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4148
4162
|
}
|
|
4149
4163
|
);
|
|
4150
4164
|
}
|
|
4151
|
-
function
|
|
4165
|
+
function Dn(e, t) {
|
|
4152
4166
|
return Promise.all(
|
|
4153
|
-
t.map((i) => (
|
|
4154
|
-
).then((i) =>
|
|
4167
|
+
t.map((i) => (Mn(e, i), i().then((n) => n.default || n)))
|
|
4168
|
+
).then((i) => br(e, ...i));
|
|
4155
4169
|
}
|
|
4156
4170
|
const ue = {};
|
|
4157
|
-
function
|
|
4171
|
+
function _r(e) {
|
|
4158
4172
|
if (!st(e))
|
|
4159
4173
|
return e in ue ? ue[e] : Promise.resolve();
|
|
4160
|
-
const t =
|
|
4174
|
+
const t = Rn(e);
|
|
4161
4175
|
return ue[e] = Promise.all(
|
|
4162
4176
|
t.map(
|
|
4163
|
-
([r, i]) =>
|
|
4177
|
+
([r, i]) => Dn(r, i)
|
|
4164
4178
|
)
|
|
4165
4179
|
).then(() => {
|
|
4166
4180
|
if (st(e))
|
|
4167
|
-
return
|
|
4181
|
+
return _r(e);
|
|
4168
4182
|
delete ue[e];
|
|
4169
4183
|
}), ue[e];
|
|
4170
4184
|
}
|
|
4171
|
-
const
|
|
4185
|
+
const Un = {
|
|
4172
4186
|
number: {
|
|
4173
4187
|
scientific: { notation: "scientific" },
|
|
4174
4188
|
engineering: { notation: "engineering" },
|
|
@@ -4197,57 +4211,57 @@ const Rn = {
|
|
|
4197
4211
|
timeZoneName: "short"
|
|
4198
4212
|
}
|
|
4199
4213
|
}
|
|
4200
|
-
},
|
|
4214
|
+
}, $n = {
|
|
4201
4215
|
fallbackLocale: null,
|
|
4202
4216
|
loadingDelay: 200,
|
|
4203
|
-
formats:
|
|
4217
|
+
formats: Un,
|
|
4204
4218
|
warnOnMissingMessages: !0,
|
|
4205
4219
|
handleMissingMessage: void 0,
|
|
4206
4220
|
ignoreTag: !0
|
|
4207
|
-
},
|
|
4221
|
+
}, Gn = $n;
|
|
4208
4222
|
function re() {
|
|
4209
|
-
return
|
|
4210
|
-
}
|
|
4211
|
-
const
|
|
4212
|
-
var
|
|
4213
|
-
for (var r in t)
|
|
4214
|
-
|
|
4215
|
-
if (
|
|
4216
|
-
for (var r of
|
|
4217
|
-
|
|
4223
|
+
return Gn;
|
|
4224
|
+
}
|
|
4225
|
+
const Ve = Ie(!1);
|
|
4226
|
+
var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
|
|
4227
|
+
for (var r in t || (t = {}))
|
|
4228
|
+
Vn.call(t, r) && Mt(e, r, t[r]);
|
|
4229
|
+
if (Nt)
|
|
4230
|
+
for (var r of Nt(t))
|
|
4231
|
+
Wn.call(t, r) && Mt(e, r, t[r]);
|
|
4218
4232
|
return e;
|
|
4219
|
-
},
|
|
4220
|
-
let
|
|
4233
|
+
}, zn = (e, t) => jn(e, kn(t));
|
|
4234
|
+
let at;
|
|
4221
4235
|
const Ae = Ie(null);
|
|
4222
|
-
function
|
|
4236
|
+
function Rt(e) {
|
|
4223
4237
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4224
4238
|
}
|
|
4225
4239
|
function Oe(e, t = re().fallbackLocale) {
|
|
4226
|
-
const r =
|
|
4227
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4240
|
+
const r = Rt(e);
|
|
4241
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
4228
4242
|
}
|
|
4229
4243
|
function z() {
|
|
4230
|
-
return
|
|
4244
|
+
return at ?? void 0;
|
|
4231
4245
|
}
|
|
4232
4246
|
Ae.subscribe((e) => {
|
|
4233
|
-
|
|
4247
|
+
at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4234
4248
|
});
|
|
4235
|
-
const
|
|
4236
|
-
if (e &&
|
|
4249
|
+
const Zn = (e) => {
|
|
4250
|
+
if (e && Nn(e) && st(e)) {
|
|
4237
4251
|
const { loadingDelay: t } = re();
|
|
4238
4252
|
let r;
|
|
4239
4253
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4240
|
-
() =>
|
|
4254
|
+
() => Ve.set(!0),
|
|
4241
4255
|
t
|
|
4242
|
-
) :
|
|
4256
|
+
) : Ve.set(!0), _r(e).then(() => {
|
|
4243
4257
|
Ae.set(e);
|
|
4244
4258
|
}).finally(() => {
|
|
4245
|
-
clearTimeout(r),
|
|
4259
|
+
clearTimeout(r), Ve.set(!1);
|
|
4246
4260
|
});
|
|
4247
4261
|
}
|
|
4248
4262
|
return Ae.set(e);
|
|
4249
|
-
},
|
|
4250
|
-
set:
|
|
4263
|
+
}, oe = zn(Xn({}, Ae), {
|
|
4264
|
+
set: Zn
|
|
4251
4265
|
}), Ce = (e) => {
|
|
4252
4266
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4253
4267
|
return (i) => {
|
|
@@ -4255,20 +4269,20 @@ const Xn = (e) => {
|
|
|
4255
4269
|
return n in t ? t[n] : t[n] = e(i);
|
|
4256
4270
|
};
|
|
4257
4271
|
};
|
|
4258
|
-
var
|
|
4272
|
+
var Qn = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
4259
4273
|
for (var r in t || (t = {}))
|
|
4260
|
-
|
|
4274
|
+
Er.call(t, r) && Dt(e, r, t[r]);
|
|
4261
4275
|
if (Pe)
|
|
4262
4276
|
for (var r of Pe(t))
|
|
4263
|
-
|
|
4277
|
+
xr.call(t, r) && Dt(e, r, t[r]);
|
|
4264
4278
|
return e;
|
|
4265
|
-
},
|
|
4279
|
+
}, se = (e, t) => {
|
|
4266
4280
|
var r = {};
|
|
4267
4281
|
for (var i in e)
|
|
4268
|
-
|
|
4282
|
+
Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4269
4283
|
if (e != null && Pe)
|
|
4270
4284
|
for (var i of Pe(e))
|
|
4271
|
-
t.indexOf(i) < 0 &&
|
|
4285
|
+
t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
|
|
4272
4286
|
return r;
|
|
4273
4287
|
};
|
|
4274
4288
|
const fe = (e, t) => {
|
|
@@ -4276,61 +4290,61 @@ const fe = (e, t) => {
|
|
|
4276
4290
|
if (e in r && t in r[e])
|
|
4277
4291
|
return r[e][t];
|
|
4278
4292
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4279
|
-
},
|
|
4293
|
+
}, Yn = Ce(
|
|
4280
4294
|
(e) => {
|
|
4281
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4295
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4282
4296
|
if (r == null)
|
|
4283
4297
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4284
4298
|
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
4285
4299
|
}
|
|
4286
|
-
),
|
|
4300
|
+
), Jn = Ce(
|
|
4287
4301
|
(e) => {
|
|
4288
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4302
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4289
4303
|
if (r == null)
|
|
4290
4304
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4291
4305
|
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4292
4306
|
}
|
|
4293
|
-
),
|
|
4307
|
+
), qn = Ce(
|
|
4294
4308
|
(e) => {
|
|
4295
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4309
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4296
4310
|
if (r == null)
|
|
4297
4311
|
throw new Error(
|
|
4298
4312
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4299
4313
|
);
|
|
4300
4314
|
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4301
4315
|
}
|
|
4302
|
-
),
|
|
4316
|
+
), Kn = (e = {}) => {
|
|
4303
4317
|
var t = e, {
|
|
4304
4318
|
locale: r = z()
|
|
4305
|
-
} = t, i =
|
|
4319
|
+
} = t, i = se(t, [
|
|
4306
4320
|
"locale"
|
|
4307
4321
|
]);
|
|
4308
|
-
return
|
|
4309
|
-
},
|
|
4322
|
+
return Yn(ft({ locale: r }, i));
|
|
4323
|
+
}, eo = (e = {}) => {
|
|
4310
4324
|
var t = e, {
|
|
4311
4325
|
locale: r = z()
|
|
4312
|
-
} = t, i =
|
|
4326
|
+
} = t, i = se(t, [
|
|
4313
4327
|
"locale"
|
|
4314
4328
|
]);
|
|
4315
|
-
return
|
|
4316
|
-
},
|
|
4329
|
+
return Jn(ft({ locale: r }, i));
|
|
4330
|
+
}, to = (e = {}) => {
|
|
4317
4331
|
var t = e, {
|
|
4318
4332
|
locale: r = z()
|
|
4319
|
-
} = t, i =
|
|
4333
|
+
} = t, i = se(t, [
|
|
4320
4334
|
"locale"
|
|
4321
4335
|
]);
|
|
4322
|
-
return
|
|
4323
|
-
},
|
|
4336
|
+
return qn(ft({ locale: r }, i));
|
|
4337
|
+
}, ro = Ce(
|
|
4324
4338
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4325
|
-
(e, t = z()) => new
|
|
4339
|
+
(e, t = z()) => new Hn(e, t, re().formats, {
|
|
4326
4340
|
ignoreTag: re().ignoreTag
|
|
4327
4341
|
})
|
|
4328
|
-
),
|
|
4329
|
-
var r, i, n,
|
|
4342
|
+
), io = (e, t = {}) => {
|
|
4343
|
+
var r, i, n, o;
|
|
4330
4344
|
let a = t;
|
|
4331
4345
|
typeof e == "object" && (a = e, e = a.id);
|
|
4332
4346
|
const {
|
|
4333
|
-
values:
|
|
4347
|
+
values: s,
|
|
4334
4348
|
locale: h = z(),
|
|
4335
4349
|
default: u
|
|
4336
4350
|
} = a;
|
|
@@ -4338,18 +4352,18 @@ const fe = (e, t) => {
|
|
|
4338
4352
|
throw new Error(
|
|
4339
4353
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4340
4354
|
);
|
|
4341
|
-
let l =
|
|
4355
|
+
let l = yr(e, h);
|
|
4342
4356
|
if (!l)
|
|
4343
|
-
l = (
|
|
4357
|
+
l = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4344
4358
|
else if (typeof l != "string")
|
|
4345
4359
|
return console.warn(
|
|
4346
4360
|
`[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.`
|
|
4347
4361
|
), l;
|
|
4348
|
-
if (!
|
|
4362
|
+
if (!s)
|
|
4349
4363
|
return l;
|
|
4350
4364
|
let c = l;
|
|
4351
4365
|
try {
|
|
4352
|
-
c =
|
|
4366
|
+
c = ro(l, h).format(s);
|
|
4353
4367
|
} catch (f) {
|
|
4354
4368
|
f instanceof Error && console.warn(
|
|
4355
4369
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4357,20 +4371,20 @@ const fe = (e, t) => {
|
|
|
4357
4371
|
);
|
|
4358
4372
|
}
|
|
4359
4373
|
return c;
|
|
4360
|
-
},
|
|
4361
|
-
ne([
|
|
4362
|
-
ne([
|
|
4363
|
-
ne([
|
|
4364
|
-
ne([
|
|
4365
|
-
window.emWidgets = { topic:
|
|
4366
|
-
const
|
|
4367
|
-
function
|
|
4374
|
+
}, no = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Kn(t).format(e), ao = (e, t = z()) => yr(e, t), uo = ne([oe, me], () => io);
|
|
4375
|
+
ne([oe], () => no);
|
|
4376
|
+
ne([oe], () => oo);
|
|
4377
|
+
ne([oe], () => so);
|
|
4378
|
+
ne([oe, me], () => ao);
|
|
4379
|
+
window.emWidgets = { topic: Ei };
|
|
4380
|
+
const lo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4381
|
+
function ho(e, t) {
|
|
4368
4382
|
if (e) {
|
|
4369
4383
|
const r = document.createElement("style");
|
|
4370
4384
|
r.innerHTML = t, e.appendChild(r);
|
|
4371
4385
|
}
|
|
4372
4386
|
}
|
|
4373
|
-
function
|
|
4387
|
+
function co(e, t) {
|
|
4374
4388
|
const r = new URL(t);
|
|
4375
4389
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4376
4390
|
const n = document.createElement("style");
|
|
@@ -4379,7 +4393,7 @@ function ls(e, t) {
|
|
|
4379
4393
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4380
4394
|
});
|
|
4381
4395
|
}
|
|
4382
|
-
function
|
|
4396
|
+
function fo(e, t, r) {
|
|
4383
4397
|
if (window.emMessageBus) {
|
|
4384
4398
|
const i = document.createElement("style");
|
|
4385
4399
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4387,13 +4401,13 @@ function hs(e, t, r) {
|
|
|
4387
4401
|
});
|
|
4388
4402
|
}
|
|
4389
4403
|
}
|
|
4390
|
-
function
|
|
4391
|
-
|
|
4404
|
+
function Ut(e, t) {
|
|
4405
|
+
br(e, t);
|
|
4392
4406
|
}
|
|
4393
|
-
function
|
|
4394
|
-
|
|
4407
|
+
function mo(e) {
|
|
4408
|
+
oe.set(e);
|
|
4395
4409
|
}
|
|
4396
|
-
const
|
|
4410
|
+
const We = {
|
|
4397
4411
|
en: {
|
|
4398
4412
|
expandLimits: "LIMIT HISTORY",
|
|
4399
4413
|
daily: "per day",
|
|
@@ -4644,30 +4658,30 @@ const Ve = {
|
|
|
4644
4658
|
historyLimitTypeLoss: "Loss Limit"
|
|
4645
4659
|
}
|
|
4646
4660
|
};
|
|
4647
|
-
function
|
|
4648
|
-
|
|
4661
|
+
function po(e) {
|
|
4662
|
+
Gr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4649
4663
|
}
|
|
4650
|
-
function
|
|
4664
|
+
function $t(e, t, r) {
|
|
4651
4665
|
const i = e.slice();
|
|
4652
4666
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4653
4667
|
}
|
|
4654
|
-
function
|
|
4668
|
+
function yo(e) {
|
|
4655
4669
|
let t, r, i, n = (
|
|
4656
4670
|
/*$_*/
|
|
4657
4671
|
e[9]("expandLimits") + ""
|
|
4658
|
-
),
|
|
4672
|
+
), o, a, s, h, u, l, c, f, p, y = gt(
|
|
4659
4673
|
/*lazyShowedHistoryArray*/
|
|
4660
4674
|
e[7]
|
|
4661
|
-
),
|
|
4675
|
+
), d = [];
|
|
4662
4676
|
for (let v = 0; v < y.length; v += 1)
|
|
4663
|
-
|
|
4677
|
+
d[v] = Gt($t(e, y, v));
|
|
4664
4678
|
return {
|
|
4665
4679
|
c() {
|
|
4666
|
-
t = A("div"), r = A("div"), i = A("button"),
|
|
4667
|
-
for (let v = 0; v <
|
|
4668
|
-
|
|
4669
|
-
x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(
|
|
4670
|
-
|
|
4680
|
+
t = A("div"), r = A("div"), i = A("button"), o = M(n), a = Xe(), s = _e("svg"), h = _e("path"), u = _e("path"), l = Xe(), c = A("div");
|
|
4681
|
+
for (let v = 0; v < d.length; v += 1)
|
|
4682
|
+
d[v].c();
|
|
4683
|
+
x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
|
|
4684
|
+
s,
|
|
4671
4685
|
"extended",
|
|
4672
4686
|
/*extended*/
|
|
4673
4687
|
e[8]
|
|
@@ -4680,10 +4694,10 @@ function ms(e) {
|
|
|
4680
4694
|
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4681
4695
|
},
|
|
4682
4696
|
m(v, H) {
|
|
4683
|
-
V(v, t, H), T(t, r), T(r, i), T(i,
|
|
4684
|
-
for (let g = 0; g <
|
|
4685
|
-
|
|
4686
|
-
f || (
|
|
4697
|
+
V(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
|
|
4698
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4699
|
+
d[g] && d[g].m(c, null);
|
|
4700
|
+
f || (p = Vr(
|
|
4687
4701
|
i,
|
|
4688
4702
|
"click",
|
|
4689
4703
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4693,26 +4707,26 @@ function ms(e) {
|
|
|
4693
4707
|
p(v, H) {
|
|
4694
4708
|
if (H[0] & /*$_*/
|
|
4695
4709
|
512 && n !== (n = /*$_*/
|
|
4696
|
-
v[9]("expandLimits") + "") && k(
|
|
4710
|
+
v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
|
|
4697
4711
|
256 && ge(
|
|
4698
|
-
|
|
4712
|
+
s,
|
|
4699
4713
|
"extended",
|
|
4700
4714
|
/*extended*/
|
|
4701
4715
|
v[8]
|
|
4702
4716
|
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4703
4717
|
650) {
|
|
4704
|
-
y =
|
|
4718
|
+
y = gt(
|
|
4705
4719
|
/*lazyShowedHistoryArray*/
|
|
4706
4720
|
v[7]
|
|
4707
4721
|
);
|
|
4708
4722
|
let g;
|
|
4709
4723
|
for (g = 0; g < y.length; g += 1) {
|
|
4710
|
-
const w =
|
|
4711
|
-
|
|
4724
|
+
const w = $t(v, y, g);
|
|
4725
|
+
d[g] ? d[g].p(w, H) : (d[g] = Gt(w), d[g].c(), d[g].m(c, null));
|
|
4712
4726
|
}
|
|
4713
|
-
for (; g <
|
|
4714
|
-
|
|
4715
|
-
|
|
4727
|
+
for (; g < d.length; g += 1)
|
|
4728
|
+
d[g].d(1);
|
|
4729
|
+
d.length = y.length;
|
|
4716
4730
|
}
|
|
4717
4731
|
H[0] & /*hidden*/
|
|
4718
4732
|
32 && ge(
|
|
@@ -4723,14 +4737,14 @@ function ms(e) {
|
|
|
4723
4737
|
);
|
|
4724
4738
|
},
|
|
4725
4739
|
d(v) {
|
|
4726
|
-
v && G(t),
|
|
4740
|
+
v && G(t), kr(d, v), f = !1, p();
|
|
4727
4741
|
}
|
|
4728
4742
|
};
|
|
4729
4743
|
}
|
|
4730
|
-
function
|
|
4744
|
+
function go(e) {
|
|
4731
4745
|
return { c: B, m: B, p: B, d: B };
|
|
4732
4746
|
}
|
|
4733
|
-
function
|
|
4747
|
+
function bo(e) {
|
|
4734
4748
|
let t, r = (
|
|
4735
4749
|
/*lang*/
|
|
4736
4750
|
(e[0] ? (
|
|
@@ -4742,11 +4756,11 @@ function ps(e) {
|
|
|
4742
4756
|
c() {
|
|
4743
4757
|
t = A("p"), i = M(r), x(t, "class", "svelte-19ml84y");
|
|
4744
4758
|
},
|
|
4745
|
-
m(n,
|
|
4746
|
-
V(n, t,
|
|
4759
|
+
m(n, o) {
|
|
4760
|
+
V(n, t, o), T(t, i);
|
|
4747
4761
|
},
|
|
4748
|
-
p(n,
|
|
4749
|
-
|
|
4762
|
+
p(n, o) {
|
|
4763
|
+
o[0] & /*lang, $_*/
|
|
4750
4764
|
513 && r !== (r = /*lang*/
|
|
4751
4765
|
(n[0] ? (
|
|
4752
4766
|
/*$_*/
|
|
@@ -4758,11 +4772,11 @@ function ps(e) {
|
|
|
4758
4772
|
}
|
|
4759
4773
|
};
|
|
4760
4774
|
}
|
|
4761
|
-
function
|
|
4775
|
+
function vo(e) {
|
|
4762
4776
|
let t, r, i, n = (
|
|
4763
4777
|
/*history*/
|
|
4764
4778
|
e[37].type + ""
|
|
4765
|
-
),
|
|
4779
|
+
), o, a, s = (
|
|
4766
4780
|
/*history*/
|
|
4767
4781
|
e[37].amount + ""
|
|
4768
4782
|
), h, u, l = (
|
|
@@ -4771,17 +4785,17 @@ function ys(e) {
|
|
|
4771
4785
|
), c;
|
|
4772
4786
|
return {
|
|
4773
4787
|
c() {
|
|
4774
|
-
t = A("div"), r = A("span"), i = A("span"),
|
|
4788
|
+
t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4775
4789
|
},
|
|
4776
|
-
m(f,
|
|
4777
|
-
V(f, t,
|
|
4790
|
+
m(f, p) {
|
|
4791
|
+
V(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
|
|
4778
4792
|
},
|
|
4779
|
-
p(f,
|
|
4780
|
-
|
|
4793
|
+
p(f, p) {
|
|
4794
|
+
p[0] & /*lazyShowedHistoryArray*/
|
|
4781
4795
|
128 && n !== (n = /*history*/
|
|
4782
|
-
f[37].type + "") && k(
|
|
4783
|
-
128 &&
|
|
4784
|
-
f[37].amount + "") && k(h,
|
|
4796
|
+
f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
|
|
4797
|
+
128 && s !== (s = /*history*/
|
|
4798
|
+
f[37].amount + "") && k(h, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4785
4799
|
128 && l !== (l = /*history*/
|
|
4786
4800
|
f[37].date + "") && k(c, l);
|
|
4787
4801
|
},
|
|
@@ -4790,11 +4804,11 @@ function ys(e) {
|
|
|
4790
4804
|
}
|
|
4791
4805
|
};
|
|
4792
4806
|
}
|
|
4793
|
-
function
|
|
4807
|
+
function _o(e) {
|
|
4794
4808
|
let t, r, i, n = (
|
|
4795
4809
|
/*history*/
|
|
4796
4810
|
e[37].type + ""
|
|
4797
|
-
),
|
|
4811
|
+
), o, a, s = (
|
|
4798
4812
|
/*$_*/
|
|
4799
4813
|
e[9]("limitRemoved") + ""
|
|
4800
4814
|
), h, u, l = (
|
|
@@ -4803,17 +4817,17 @@ function gs(e) {
|
|
|
4803
4817
|
), c;
|
|
4804
4818
|
return {
|
|
4805
4819
|
c() {
|
|
4806
|
-
t = A("div"), r = A("span"), i = A("span"),
|
|
4820
|
+
t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4807
4821
|
},
|
|
4808
|
-
m(f,
|
|
4809
|
-
V(f, t,
|
|
4822
|
+
m(f, p) {
|
|
4823
|
+
V(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
|
|
4810
4824
|
},
|
|
4811
|
-
p(f,
|
|
4812
|
-
|
|
4825
|
+
p(f, p) {
|
|
4826
|
+
p[0] & /*lazyShowedHistoryArray*/
|
|
4813
4827
|
128 && n !== (n = /*history*/
|
|
4814
|
-
f[37].type + "") && k(
|
|
4815
|
-
512 &&
|
|
4816
|
-
f[9]("limitRemoved") + "") && k(h,
|
|
4828
|
+
f[37].type + "") && k(o, n), p[0] & /*$_*/
|
|
4829
|
+
512 && s !== (s = /*$_*/
|
|
4830
|
+
f[9]("limitRemoved") + "") && k(h, s), p[0] & /*lazyShowedHistoryArray*/
|
|
4817
4831
|
128 && l !== (l = /*history*/
|
|
4818
4832
|
f[37].date + "") && k(c, l);
|
|
4819
4833
|
},
|
|
@@ -4822,18 +4836,18 @@ function gs(e) {
|
|
|
4822
4836
|
}
|
|
4823
4837
|
};
|
|
4824
4838
|
}
|
|
4825
|
-
function
|
|
4839
|
+
function Gt(e) {
|
|
4826
4840
|
let t, r, i, n = (
|
|
4827
4841
|
/*index*/
|
|
4828
4842
|
e[39]
|
|
4829
4843
|
);
|
|
4830
|
-
function
|
|
4844
|
+
function o(l, c) {
|
|
4831
4845
|
return (
|
|
4832
4846
|
/*history*/
|
|
4833
|
-
l[37].removed ?
|
|
4847
|
+
l[37].removed ? _o : vo
|
|
4834
4848
|
);
|
|
4835
4849
|
}
|
|
4836
|
-
let a =
|
|
4850
|
+
let a = o(e), s = a(e);
|
|
4837
4851
|
const h = () => (
|
|
4838
4852
|
/*div_binding*/
|
|
4839
4853
|
e[22](t, n)
|
|
@@ -4843,18 +4857,18 @@ function Ut(e) {
|
|
|
4843
4857
|
);
|
|
4844
4858
|
return {
|
|
4845
4859
|
c() {
|
|
4846
|
-
t = A("div"),
|
|
4860
|
+
t = A("div"), s.c(), r = Xe(), x(t, "class", i = dt(
|
|
4847
4861
|
/*index*/
|
|
4848
4862
|
e[39] > +/*numberofentries*/
|
|
4849
4863
|
e[1] ? "LimitContainer" : ""
|
|
4850
4864
|
) + " svelte-19ml84y");
|
|
4851
4865
|
},
|
|
4852
4866
|
m(l, c) {
|
|
4853
|
-
V(l, t, c),
|
|
4867
|
+
V(l, t, c), s.m(t, null), T(t, r), h();
|
|
4854
4868
|
},
|
|
4855
4869
|
p(l, c) {
|
|
4856
|
-
e = l, a === (a =
|
|
4857
|
-
2 && i !== (i =
|
|
4870
|
+
e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
|
|
4871
|
+
2 && i !== (i = dt(
|
|
4858
4872
|
/*index*/
|
|
4859
4873
|
e[39] > +/*numberofentries*/
|
|
4860
4874
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4863,18 +4877,18 @@ function Ut(e) {
|
|
|
4863
4877
|
e[39], h());
|
|
4864
4878
|
},
|
|
4865
4879
|
d(l) {
|
|
4866
|
-
l && G(t),
|
|
4880
|
+
l && G(t), s.d(), u();
|
|
4867
4881
|
}
|
|
4868
4882
|
};
|
|
4869
4883
|
}
|
|
4870
|
-
function
|
|
4884
|
+
function Eo(e) {
|
|
4871
4885
|
let t;
|
|
4872
|
-
function r(
|
|
4886
|
+
function r(o, a) {
|
|
4873
4887
|
return (
|
|
4874
4888
|
/*hasErrors*/
|
|
4875
|
-
|
|
4889
|
+
o[6] ? bo : (
|
|
4876
4890
|
/*isLoading*/
|
|
4877
|
-
|
|
4891
|
+
o[4] ? go : yo
|
|
4878
4892
|
)
|
|
4879
4893
|
);
|
|
4880
4894
|
}
|
|
@@ -4883,37 +4897,37 @@ function bs(e) {
|
|
|
4883
4897
|
c() {
|
|
4884
4898
|
t = A("div"), n.c(), x(t, "class", "svelte-19ml84y");
|
|
4885
4899
|
},
|
|
4886
|
-
m(
|
|
4887
|
-
V(
|
|
4900
|
+
m(o, a) {
|
|
4901
|
+
V(o, t, a), n.m(t, null), e[23](t);
|
|
4888
4902
|
},
|
|
4889
|
-
p(
|
|
4890
|
-
i === (i = r(
|
|
4903
|
+
p(o, a) {
|
|
4904
|
+
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4891
4905
|
},
|
|
4892
4906
|
i: B,
|
|
4893
4907
|
o: B,
|
|
4894
|
-
d(
|
|
4895
|
-
|
|
4908
|
+
d(o) {
|
|
4909
|
+
o && G(t), n.d(), e[23](null);
|
|
4896
4910
|
}
|
|
4897
4911
|
};
|
|
4898
4912
|
}
|
|
4899
|
-
function
|
|
4913
|
+
function xo(e, t, r) {
|
|
4900
4914
|
let i;
|
|
4901
|
-
|
|
4902
|
-
let n = window.navigator.userAgent,
|
|
4903
|
-
const
|
|
4915
|
+
$r(e, uo, (m) => r(9, i = m));
|
|
4916
|
+
let n = window.navigator.userAgent, o = !lo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), R = parseInt(c, 10), N = !1, D = !0, W = [], pe = [], de = !0, Ne = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4917
|
+
const Lr = () => {
|
|
4904
4918
|
fetch(H).then((L) => L.json()).then((L) => {
|
|
4905
4919
|
Object.keys(L).forEach((C) => {
|
|
4906
|
-
|
|
4920
|
+
Ut(C, L[C]);
|
|
4907
4921
|
});
|
|
4908
4922
|
}).catch((L) => {
|
|
4909
4923
|
console.log(L);
|
|
4910
4924
|
});
|
|
4911
4925
|
};
|
|
4912
|
-
Object.keys(
|
|
4913
|
-
|
|
4926
|
+
Object.keys(We).forEach((m) => {
|
|
4927
|
+
Ut(m, We[m]);
|
|
4914
4928
|
});
|
|
4915
|
-
const
|
|
4916
|
-
let m = l === "gmcore" ? `/v2/player/${
|
|
4929
|
+
const Sr = () => {
|
|
4930
|
+
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
|
|
4917
4931
|
L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
|
|
4918
4932
|
let C = {
|
|
4919
4933
|
method: "GET",
|
|
@@ -4925,14 +4939,14 @@ function vs(e, t, r) {
|
|
|
4925
4939
|
return P.json();
|
|
4926
4940
|
}).then(
|
|
4927
4941
|
(P) => {
|
|
4928
|
-
P.length && (W =
|
|
4942
|
+
P.length && (W = wr(P), r(7, pe = W.slice(0, R))), r(4, D = !1);
|
|
4929
4943
|
},
|
|
4930
4944
|
(P) => {
|
|
4931
4945
|
console.error("There was an error", P), r(6, N = !0);
|
|
4932
4946
|
}
|
|
4933
4947
|
);
|
|
4934
|
-
},
|
|
4935
|
-
const L = !!
|
|
4948
|
+
}, wr = (m) => {
|
|
4949
|
+
const L = !!We[a];
|
|
4936
4950
|
return m.map((P) => {
|
|
4937
4951
|
let U = {
|
|
4938
4952
|
amount: "",
|
|
@@ -4942,34 +4956,34 @@ function vs(e, t, r) {
|
|
|
4942
4956
|
type: "",
|
|
4943
4957
|
removed: !1
|
|
4944
4958
|
};
|
|
4945
|
-
return U.amount =
|
|
4959
|
+
return U.amount = Ar(P), U.currency = L ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), U.period = i(`${P.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), U.removed = P.limitAmount === -1, U;
|
|
4946
4960
|
});
|
|
4947
|
-
},
|
|
4948
|
-
let L =
|
|
4949
|
-
if (!
|
|
4950
|
-
let
|
|
4951
|
-
return `${L}${
|
|
4961
|
+
}, Ar = (m) => {
|
|
4962
|
+
let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4963
|
+
if (!p) {
|
|
4964
|
+
let Rr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4965
|
+
return `${L}${Rr}`;
|
|
4952
4966
|
}
|
|
4953
4967
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4954
4968
|
const C = L.match(/\{(\d+)decimals\}/), P = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4955
4969
|
let ye = parseFloat(m.limitAmount).toFixed(P);
|
|
4956
|
-
const [
|
|
4957
|
-
let [Re,
|
|
4958
|
-
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
4970
|
+
const [Nr, Me] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4971
|
+
let [Re, Mr] = ye.split(".");
|
|
4972
|
+
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), ye = `${Re}${Me}${Mr}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Me)[0]).replace(
|
|
4959
4973
|
U,
|
|
4960
4974
|
ye.split(Me)[1]
|
|
4961
4975
|
), L;
|
|
4962
|
-
},
|
|
4963
|
-
r(5,
|
|
4976
|
+
}, Pr = () => {
|
|
4977
|
+
r(5, de = !de), r(8, Ne = !Ne);
|
|
4964
4978
|
};
|
|
4965
|
-
let
|
|
4979
|
+
let mt = new IntersectionObserver((m) => {
|
|
4966
4980
|
m.forEach((L) => {
|
|
4967
|
-
L.isIntersecting && (R += parseInt(c, 10) || 10,
|
|
4981
|
+
L.isIntersecting && (R += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, R)));
|
|
4968
4982
|
});
|
|
4969
4983
|
});
|
|
4970
|
-
const
|
|
4971
|
-
|
|
4972
|
-
},
|
|
4984
|
+
const Hr = () => {
|
|
4985
|
+
mt.observe(w[w.length - 1]);
|
|
4986
|
+
}, Ir = () => {
|
|
4973
4987
|
if (!f)
|
|
4974
4988
|
return;
|
|
4975
4989
|
let m = {};
|
|
@@ -4977,69 +4991,69 @@ function vs(e, t, r) {
|
|
|
4977
4991
|
let C = L.split(":");
|
|
4978
4992
|
m[C[0].trim()] = C[1].trim();
|
|
4979
4993
|
}), ae = { ...ae, ...m };
|
|
4980
|
-
},
|
|
4981
|
-
|
|
4994
|
+
}, Br = () => {
|
|
4995
|
+
mo(a);
|
|
4982
4996
|
};
|
|
4983
|
-
|
|
4984
|
-
|
|
4997
|
+
Zr(() => () => {
|
|
4998
|
+
mt.unobserve(w[w.length - 1]);
|
|
4985
4999
|
});
|
|
4986
|
-
function
|
|
5000
|
+
function Or(m, L) {
|
|
4987
5001
|
we[m ? "unshift" : "push"](() => {
|
|
4988
5002
|
w[L] = m, r(3, w);
|
|
4989
5003
|
});
|
|
4990
5004
|
}
|
|
4991
|
-
function
|
|
5005
|
+
function Cr(m) {
|
|
4992
5006
|
we[m ? "unshift" : "push"](() => {
|
|
4993
5007
|
g = m, r(2, g);
|
|
4994
5008
|
});
|
|
4995
5009
|
}
|
|
4996
5010
|
return e.$$set = (m) => {
|
|
4997
|
-
"lang" in m && r(0, a = m.lang), "userid" in m && r(12,
|
|
5011
|
+
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
4998
5012
|
}, e.$$.update = () => {
|
|
4999
5013
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
5000
|
-
65536 && f &&
|
|
5001
|
-
61440 && u &&
|
|
5002
|
-
56 && w[0] && !D && !
|
|
5003
|
-
1 && a &&
|
|
5004
|
-
262148 && y && g &&
|
|
5005
|
-
524292 &&
|
|
5006
|
-
1048580 && v && g &&
|
|
5007
|
-
2097156 && H && g &&
|
|
5014
|
+
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
5015
|
+
61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
5016
|
+
56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
|
|
5017
|
+
1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5018
|
+
262148 && y && g && ho(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5019
|
+
524292 && d && g && co(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5020
|
+
1048580 && v && g && fo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
5021
|
+
2097156 && H && g && Lr();
|
|
5008
5022
|
}, [
|
|
5009
5023
|
a,
|
|
5010
5024
|
c,
|
|
5011
5025
|
g,
|
|
5012
5026
|
w,
|
|
5013
5027
|
D,
|
|
5014
|
-
pe,
|
|
5015
|
-
N,
|
|
5016
5028
|
de,
|
|
5029
|
+
N,
|
|
5030
|
+
pe,
|
|
5017
5031
|
Ne,
|
|
5018
5032
|
i,
|
|
5019
|
-
s,
|
|
5020
|
-
Sr,
|
|
5021
5033
|
o,
|
|
5034
|
+
Pr,
|
|
5035
|
+
s,
|
|
5022
5036
|
h,
|
|
5023
5037
|
u,
|
|
5024
5038
|
l,
|
|
5025
5039
|
f,
|
|
5026
|
-
d,
|
|
5027
|
-
y,
|
|
5028
5040
|
p,
|
|
5041
|
+
y,
|
|
5042
|
+
d,
|
|
5029
5043
|
v,
|
|
5030
5044
|
H,
|
|
5031
|
-
|
|
5032
|
-
|
|
5045
|
+
Or,
|
|
5046
|
+
Cr
|
|
5033
5047
|
];
|
|
5034
5048
|
}
|
|
5035
|
-
class
|
|
5049
|
+
class Tr extends oi {
|
|
5036
5050
|
constructor(t) {
|
|
5037
|
-
super(),
|
|
5051
|
+
super(), ii(
|
|
5038
5052
|
this,
|
|
5039
5053
|
t,
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5054
|
+
xo,
|
|
5055
|
+
Eo,
|
|
5056
|
+
jt,
|
|
5043
5057
|
{
|
|
5044
5058
|
lang: 0,
|
|
5045
5059
|
userid: 12,
|
|
@@ -5054,7 +5068,7 @@ class _r extends ri {
|
|
|
5054
5068
|
mbsource: 20,
|
|
5055
5069
|
translationurl: 21
|
|
5056
5070
|
},
|
|
5057
|
-
|
|
5071
|
+
po,
|
|
5058
5072
|
[-1, -1]
|
|
5059
5073
|
);
|
|
5060
5074
|
}
|
|
@@ -5131,59 +5145,59 @@ class _r extends ri {
|
|
|
5131
5145
|
this.$$set({ translationurl: t }), O();
|
|
5132
5146
|
}
|
|
5133
5147
|
}
|
|
5134
|
-
|
|
5135
|
-
const
|
|
5148
|
+
ni(Tr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5149
|
+
const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5136
5150
|
__proto__: null,
|
|
5137
|
-
default:
|
|
5151
|
+
default: Tr
|
|
5138
5152
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5139
5153
|
export {
|
|
5140
|
-
|
|
5141
|
-
|
|
5154
|
+
oe as $,
|
|
5155
|
+
Bo as A,
|
|
5142
5156
|
ie as B,
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5157
|
+
gt as C,
|
|
5158
|
+
Io as D,
|
|
5159
|
+
kr as E,
|
|
5160
|
+
Ze as F,
|
|
5161
|
+
Oo as G,
|
|
5162
|
+
uo as H,
|
|
5149
5163
|
_e as I,
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5164
|
+
Do as J,
|
|
5165
|
+
Ro as K,
|
|
5166
|
+
Kr as L,
|
|
5167
|
+
Uo as M,
|
|
5168
|
+
Mo as N,
|
|
5169
|
+
Po as O,
|
|
5170
|
+
No as P,
|
|
5171
|
+
To as Q,
|
|
5172
|
+
So as R,
|
|
5173
|
+
oi as S,
|
|
5174
|
+
wo as T,
|
|
5175
|
+
Lo as U,
|
|
5176
|
+
$o as V,
|
|
5177
|
+
br as a,
|
|
5178
|
+
Gr as b,
|
|
5179
|
+
ni as c,
|
|
5180
|
+
Xe as d,
|
|
5167
5181
|
A as e,
|
|
5168
5182
|
O as f,
|
|
5169
5183
|
V as g,
|
|
5170
5184
|
T as h,
|
|
5171
|
-
|
|
5185
|
+
ii as i,
|
|
5172
5186
|
G as j,
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5187
|
+
$r as k,
|
|
5188
|
+
lo as l,
|
|
5189
|
+
co as m,
|
|
5176
5190
|
B as n,
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5191
|
+
Zr as o,
|
|
5192
|
+
fo as p,
|
|
5193
|
+
x as q,
|
|
5194
|
+
Co as r,
|
|
5195
|
+
jt as s,
|
|
5196
|
+
Ho as t,
|
|
5197
|
+
we as u,
|
|
5198
|
+
ho as v,
|
|
5185
5199
|
M as w,
|
|
5186
|
-
|
|
5187
|
-
|
|
5200
|
+
Ao as x,
|
|
5201
|
+
Vr as y,
|
|
5188
5202
|
k as z
|
|
5189
5203
|
};
|