@everymatrix/player-account-gaming-limits-wrapper-2 1.59.0 → 1.59.2
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-9gtkrg2u.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +786 -764
- package/components/{PlayerAccountGamingLimitsHistory2-Es10aeT3.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +596 -574
- package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CjGfNrnJ.cjs → PlayerAccountGamingLimitsPage2Gm16-C9Ec_rtG.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CotSzAHN.js → PlayerAccountGamingLimitsPage2Gm16-DqrD-O7u.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-wzHsk3Hu.js → PlayerAccountGamingLimitsPage2Gm16-boMA00-7.js} +8 -8
- package/components/{PlayerAccountGamingLimitsWrapper2-CsWiuDsG.cjs → PlayerAccountGamingLimitsWrapper2-BzFrIrB9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-xFNCK-Dm.js → PlayerAccountGamingLimitsWrapper2-Ci2hyn9-.js} +124 -113
- package/components/{PlayerAccountGamingLimitsWrapper2-9pyNxaQI.js → PlayerAccountGamingLimitsWrapper2-UW0QZaKP.js} +86 -75
- 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 +3 -2
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-aUqlydFS.cjs +0 -18
- package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
- package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
- package/stencil/index-ae04a8b1-Dk7mk6oB.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 Cr(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,19 +35,19 @@ function Gt(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)
|
|
@@ -62,13 +62,13 @@ function Eo(e, t, r, i) {
|
|
|
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 To(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 = P("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 Dr(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 X(e, t, r) {
|
|
|
113
113
|
function k(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 Me(e) {
|
|
|
126
126
|
function R(e) {
|
|
127
127
|
return document.createTextNode(e);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Xe() {
|
|
130
130
|
return R(" ");
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Ao() {
|
|
133
133
|
return R("");
|
|
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 j(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 Ho(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
|
-
function
|
|
178
|
+
function Xr(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -188,22 +188,22 @@ let he;
|
|
|
188
188
|
function le(e) {
|
|
189
189
|
he = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function zr() {
|
|
192
192
|
if (!he)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
194
|
return he;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function Zr(e) {
|
|
197
|
+
zr().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
199
|
const Y = [], Se = [];
|
|
200
200
|
let J = [];
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
201
|
+
const yt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let ze = !1;
|
|
203
|
+
function Yr() {
|
|
204
|
+
ze || (ze = !0, Qr.then(O));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ze(e) {
|
|
207
207
|
J.push(e);
|
|
208
208
|
}
|
|
209
209
|
const De = /* @__PURE__ */ new Set();
|
|
@@ -216,7 +216,7 @@ function O() {
|
|
|
216
216
|
try {
|
|
217
217
|
for (; Z < Y.length; ) {
|
|
218
218
|
const t = Y[Z];
|
|
219
|
-
Z++, le(t),
|
|
219
|
+
Z++, le(t), Jr(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw Y.length = 0, Z = 0, t;
|
|
@@ -229,24 +229,24 @@ function O() {
|
|
|
229
229
|
}
|
|
230
230
|
J.length = 0;
|
|
231
231
|
} while (Y.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; yt.length; )
|
|
233
|
+
yt.pop()();
|
|
234
|
+
ze = !1, De.clear(), le(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Jr(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
238
|
e.update(), ie(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function qr(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
246
246
|
}
|
|
247
247
|
const _e = /* @__PURE__ */ new Set();
|
|
248
248
|
let W;
|
|
249
|
-
function
|
|
249
|
+
function No() {
|
|
250
250
|
W = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,13 +254,13 @@ function Bo() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Ro() {
|
|
258
258
|
W.r || ie(W.c), W = W.p;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Kr(e, t) {
|
|
261
261
|
e && e.i && (_e.delete(e), e.i(t));
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Mo(e, t, r, i) {
|
|
264
264
|
if (e && e.o) {
|
|
265
265
|
if (_e.has(e))
|
|
266
266
|
return;
|
|
@@ -270,24 +270,24 @@ function Co(e, t, r, i) {
|
|
|
270
270
|
} else
|
|
271
271
|
i && i();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function gt(e) {
|
|
274
274
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function ei(e, t, r) {
|
|
277
277
|
const { fragment: i, after_update: n } = e.$$;
|
|
278
|
-
i && i.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
278
|
+
i && i.m(t, r), Ze(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(Ft).filter(ut);
|
|
280
280
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
281
|
-
}), n.forEach(
|
|
281
|
+
}), n.forEach(Ze);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function ti(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
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 = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
287
|
+
function ri(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function ii(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
291
291
|
const h = he;
|
|
292
292
|
le(e);
|
|
293
293
|
const u = e.$$ = {
|
|
@@ -297,7 +297,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
297
297
|
props: o,
|
|
298
298
|
update: B,
|
|
299
299
|
not_equal: n,
|
|
300
|
-
bound:
|
|
300
|
+
bound: pt(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,7 +306,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: pt(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || h.$$.root
|
|
@@ -315,19 +315,19 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
315
315
|
let l = !1;
|
|
316
316
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
317
317
|
const y = p.length ? p[0] : f;
|
|
318
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
318
|
+
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;
|
|
319
319
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const c =
|
|
321
|
+
const c = Wr(t.target);
|
|
322
322
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
323
323
|
} else
|
|
324
324
|
u.fragment && u.fragment.c();
|
|
325
|
-
t.intro &&
|
|
325
|
+
t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), O();
|
|
326
326
|
}
|
|
327
327
|
le(h);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let Wt;
|
|
330
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
331
331
|
/** The Svelte component constructor */
|
|
332
332
|
$$ctor;
|
|
333
333
|
/** Slots */
|
|
@@ -386,7 +386,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
386
386
|
};
|
|
387
387
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
388
388
|
return;
|
|
389
|
-
const t = {}, r =
|
|
389
|
+
const t = {}, r = Xr(this);
|
|
390
390
|
for (const n of this.$$s)
|
|
391
391
|
n in r && (t[n] = [e(n)]);
|
|
392
392
|
for (const n of this.attributes) {
|
|
@@ -473,8 +473,8 @@ function Ee(e, t, r, i) {
|
|
|
473
473
|
return t;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
let a = class extends
|
|
476
|
+
function ni(e, t, r, i, n, o) {
|
|
477
|
+
let a = class extends Wt {
|
|
478
478
|
constructor() {
|
|
479
479
|
super(e, r, n), this.$$p_d = t;
|
|
480
480
|
}
|
|
@@ -502,7 +502,7 @@ function ei(e, t, r, i, n, o) {
|
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
503
503
|
a, a;
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class oi {
|
|
506
506
|
/**
|
|
507
507
|
* ### PRIVATE API
|
|
508
508
|
*
|
|
@@ -521,7 +521,7 @@ class ti {
|
|
|
521
521
|
$$set = void 0;
|
|
522
522
|
/** @returns {void} */
|
|
523
523
|
$destroy() {
|
|
524
|
-
|
|
524
|
+
ti(this, 1), this.$destroy = B;
|
|
525
525
|
}
|
|
526
526
|
/**
|
|
527
527
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -530,7 +530,7 @@ class ti {
|
|
|
530
530
|
* @returns {() => void}
|
|
531
531
|
*/
|
|
532
532
|
$on(t, r) {
|
|
533
|
-
if (!
|
|
533
|
+
if (!ut(r))
|
|
534
534
|
return B;
|
|
535
535
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
536
536
|
return i.push(r), () => {
|
|
@@ -543,11 +543,11 @@ class ti {
|
|
|
543
543
|
* @returns {void}
|
|
544
544
|
*/
|
|
545
545
|
$set(t) {
|
|
546
|
-
this.$$set && !
|
|
546
|
+
this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
const
|
|
550
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
549
|
+
const si = "4";
|
|
550
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
|
|
551
551
|
/*! *****************************************************************************
|
|
552
552
|
Copyright (c) Microsoft Corporation.
|
|
553
553
|
|
|
@@ -562,18 +562,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
562
562
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
563
563
|
PERFORMANCE OF THIS SOFTWARE.
|
|
564
564
|
***************************************************************************** */
|
|
565
|
-
var
|
|
566
|
-
return
|
|
565
|
+
var Qe = function(e, t) {
|
|
566
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
567
567
|
r.__proto__ = i;
|
|
568
568
|
} || function(r, i) {
|
|
569
569
|
for (var n in i)
|
|
570
570
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
571
|
-
},
|
|
571
|
+
}, Qe(e, t);
|
|
572
572
|
};
|
|
573
573
|
function G(e, t) {
|
|
574
574
|
if (typeof t != "function" && t !== null)
|
|
575
575
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
576
|
-
|
|
576
|
+
Qe(e, t);
|
|
577
577
|
function r() {
|
|
578
578
|
this.constructor = e;
|
|
579
579
|
}
|
|
@@ -589,7 +589,7 @@ var E = function() {
|
|
|
589
589
|
return t;
|
|
590
590
|
}, E.apply(this, arguments);
|
|
591
591
|
};
|
|
592
|
-
function
|
|
592
|
+
function ai(e, t) {
|
|
593
593
|
var r = {};
|
|
594
594
|
for (var i in e)
|
|
595
595
|
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -598,7 +598,7 @@ function ii(e, t) {
|
|
|
598
598
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
599
599
|
return r;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Ye(e) {
|
|
602
602
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
603
603
|
if (r)
|
|
604
604
|
return r.call(e);
|
|
@@ -610,7 +610,7 @@ function Qe(e) {
|
|
|
610
610
|
};
|
|
611
611
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function Je(e, t) {
|
|
614
614
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
615
615
|
if (!r)
|
|
616
616
|
return e;
|
|
@@ -639,13 +639,13 @@ function q(e, t, r) {
|
|
|
639
639
|
function $(e) {
|
|
640
640
|
return typeof e == "function";
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Xt(e) {
|
|
643
643
|
var t = function(i) {
|
|
644
644
|
Error.call(i), i.stack = new Error().stack;
|
|
645
645
|
}, r = e(t);
|
|
646
646
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
647
647
|
}
|
|
648
|
-
var Ue =
|
|
648
|
+
var Ue = Xt(function(e) {
|
|
649
649
|
return function(r) {
|
|
650
650
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
651
651
|
` + r.map(function(i, n) {
|
|
@@ -654,7 +654,7 @@ var Ue = kt(function(e) {
|
|
|
654
654
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
655
655
|
};
|
|
656
656
|
});
|
|
657
|
-
function
|
|
657
|
+
function qe(e, t) {
|
|
658
658
|
if (e) {
|
|
659
659
|
var r = e.indexOf(t);
|
|
660
660
|
0 <= r && e.splice(r, 1);
|
|
@@ -672,7 +672,7 @@ var Pe = function() {
|
|
|
672
672
|
if (a)
|
|
673
673
|
if (this._parentage = null, Array.isArray(a))
|
|
674
674
|
try {
|
|
675
|
-
for (var s =
|
|
675
|
+
for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
|
|
676
676
|
var u = h.value;
|
|
677
677
|
u.remove(this);
|
|
678
678
|
}
|
|
@@ -699,12 +699,12 @@ var Pe = function() {
|
|
|
699
699
|
if (c) {
|
|
700
700
|
this._finalizers = null;
|
|
701
701
|
try {
|
|
702
|
-
for (var f =
|
|
702
|
+
for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
|
|
703
703
|
var y = p.value;
|
|
704
704
|
try {
|
|
705
|
-
|
|
705
|
+
bt(y);
|
|
706
706
|
} catch (d) {
|
|
707
|
-
o = o ?? [], d instanceof Ue ? o = q(q([],
|
|
707
|
+
o = o ?? [], d instanceof Ue ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
} catch (d) {
|
|
@@ -725,7 +725,7 @@ var Pe = function() {
|
|
|
725
725
|
var r;
|
|
726
726
|
if (t && t !== this)
|
|
727
727
|
if (this.closed)
|
|
728
|
-
|
|
728
|
+
bt(t);
|
|
729
729
|
else {
|
|
730
730
|
if (t instanceof e) {
|
|
731
731
|
if (t.closed || t._hasParent(this))
|
|
@@ -742,52 +742,56 @@ var Pe = function() {
|
|
|
742
742
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
743
743
|
}, e.prototype._removeParent = function(t) {
|
|
744
744
|
var r = this._parentage;
|
|
745
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
745
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
746
746
|
}, e.prototype.remove = function(t) {
|
|
747
747
|
var r = this._finalizers;
|
|
748
|
-
r &&
|
|
748
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
749
749
|
}, e.EMPTY = function() {
|
|
750
750
|
var t = new e();
|
|
751
751
|
return t.closed = !0, t;
|
|
752
752
|
}(), e;
|
|
753
|
-
}(),
|
|
754
|
-
function
|
|
753
|
+
}(), zt = Pe.EMPTY;
|
|
754
|
+
function Zt(e) {
|
|
755
755
|
return e instanceof Pe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function bt(e) {
|
|
758
758
|
$(e) ? e() : e.unsubscribe();
|
|
759
759
|
}
|
|
760
|
-
var
|
|
761
|
-
|
|
762
|
-
|
|
760
|
+
var Qt = {
|
|
761
|
+
onUnhandledError: null,
|
|
762
|
+
onStoppedNotification: null,
|
|
763
|
+
Promise: void 0,
|
|
764
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
765
|
+
useDeprecatedNextContext: !1
|
|
766
|
+
}, ui = {
|
|
763
767
|
setTimeout: function(e, t) {
|
|
764
768
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
765
769
|
r[i - 2] = arguments[i];
|
|
766
|
-
return setTimeout.apply(void 0, q([e, t],
|
|
770
|
+
return setTimeout.apply(void 0, q([e, t], Je(r)));
|
|
767
771
|
},
|
|
768
772
|
clearTimeout: function(e) {
|
|
769
773
|
return clearTimeout(e);
|
|
770
774
|
},
|
|
771
775
|
delegate: void 0
|
|
772
776
|
};
|
|
773
|
-
function
|
|
774
|
-
|
|
777
|
+
function li(e) {
|
|
778
|
+
ui.setTimeout(function() {
|
|
775
779
|
throw e;
|
|
776
780
|
});
|
|
777
781
|
}
|
|
778
|
-
function
|
|
782
|
+
function vt() {
|
|
779
783
|
}
|
|
780
784
|
function xe(e) {
|
|
781
785
|
e();
|
|
782
786
|
}
|
|
783
|
-
var
|
|
787
|
+
var Yt = function(e) {
|
|
784
788
|
G(t, e);
|
|
785
789
|
function t(r) {
|
|
786
790
|
var i = e.call(this) || this;
|
|
787
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
791
|
+
return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = mi, i;
|
|
788
792
|
}
|
|
789
793
|
return t.create = function(r, i, n) {
|
|
790
|
-
return new
|
|
794
|
+
return new Ke(r, i, n);
|
|
791
795
|
}, t.prototype.next = function(r) {
|
|
792
796
|
this.isStopped || this._next(r);
|
|
793
797
|
}, t.prototype.error = function(r) {
|
|
@@ -811,7 +815,11 @@ var Xt = function(e) {
|
|
|
811
815
|
this.unsubscribe();
|
|
812
816
|
}
|
|
813
817
|
}, t;
|
|
814
|
-
}(Pe),
|
|
818
|
+
}(Pe), hi = Function.prototype.bind;
|
|
819
|
+
function $e(e, t) {
|
|
820
|
+
return hi.call(e, t);
|
|
821
|
+
}
|
|
822
|
+
var ci = function() {
|
|
815
823
|
function e(t) {
|
|
816
824
|
this.partialObserver = t;
|
|
817
825
|
}
|
|
@@ -842,43 +850,55 @@ var Xt = function(e) {
|
|
|
842
850
|
be(r);
|
|
843
851
|
}
|
|
844
852
|
}, e;
|
|
845
|
-
}(),
|
|
853
|
+
}(), Ke = function(e) {
|
|
846
854
|
G(t, e);
|
|
847
855
|
function t(r, i, n) {
|
|
848
856
|
var o = e.call(this) || this, a;
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
857
|
+
if ($(r) || !r)
|
|
858
|
+
a = {
|
|
859
|
+
next: r ?? void 0,
|
|
860
|
+
error: i ?? void 0,
|
|
861
|
+
complete: n ?? void 0
|
|
862
|
+
};
|
|
863
|
+
else {
|
|
864
|
+
var s;
|
|
865
|
+
o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
866
|
+
return o.unsubscribe();
|
|
867
|
+
}, a = {
|
|
868
|
+
next: r.next && $e(r.next, s),
|
|
869
|
+
error: r.error && $e(r.error, s),
|
|
870
|
+
complete: r.complete && $e(r.complete, s)
|
|
871
|
+
}) : a = r;
|
|
872
|
+
}
|
|
873
|
+
return o.destination = new ci(a), o;
|
|
854
874
|
}
|
|
855
875
|
return t;
|
|
856
|
-
}(
|
|
876
|
+
}(Yt);
|
|
857
877
|
function be(e) {
|
|
858
|
-
|
|
878
|
+
li(e);
|
|
859
879
|
}
|
|
860
|
-
function
|
|
880
|
+
function fi(e) {
|
|
861
881
|
throw e;
|
|
862
882
|
}
|
|
863
|
-
var
|
|
883
|
+
var mi = {
|
|
864
884
|
closed: !0,
|
|
865
|
-
next:
|
|
866
|
-
error:
|
|
867
|
-
complete:
|
|
868
|
-
},
|
|
885
|
+
next: vt,
|
|
886
|
+
error: fi,
|
|
887
|
+
complete: vt
|
|
888
|
+
}, pi = function() {
|
|
869
889
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
870
890
|
}();
|
|
871
|
-
function
|
|
891
|
+
function di(e) {
|
|
872
892
|
return e;
|
|
873
893
|
}
|
|
874
|
-
function
|
|
875
|
-
return e.length === 0 ?
|
|
894
|
+
function yi(e) {
|
|
895
|
+
return e.length === 0 ? di : e.length === 1 ? e[0] : function(r) {
|
|
876
896
|
return e.reduce(function(i, n) {
|
|
877
897
|
return n(i);
|
|
878
898
|
}, r);
|
|
879
899
|
};
|
|
880
900
|
}
|
|
881
|
-
var
|
|
901
|
+
var _t = function() {
|
|
882
902
|
function e(t) {
|
|
883
903
|
t && (this._subscribe = t);
|
|
884
904
|
}
|
|
@@ -886,7 +906,7 @@ var gt = function() {
|
|
|
886
906
|
var r = new e();
|
|
887
907
|
return r.source = this, r.operator = t, r;
|
|
888
908
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
889
|
-
var n = this, o =
|
|
909
|
+
var n = this, o = bi(t) ? t : new Ke(t, r, i);
|
|
890
910
|
return xe(function() {
|
|
891
911
|
var a = n, s = a.operator, h = a.source;
|
|
892
912
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -899,8 +919,8 @@ var gt = function() {
|
|
|
899
919
|
}
|
|
900
920
|
}, e.prototype.forEach = function(t, r) {
|
|
901
921
|
var i = this;
|
|
902
|
-
return r =
|
|
903
|
-
var a = new
|
|
922
|
+
return r = Et(r), new r(function(n, o) {
|
|
923
|
+
var a = new Ke({
|
|
904
924
|
next: function(s) {
|
|
905
925
|
try {
|
|
906
926
|
t(s);
|
|
@@ -916,15 +936,15 @@ var gt = function() {
|
|
|
916
936
|
}, e.prototype._subscribe = function(t) {
|
|
917
937
|
var r;
|
|
918
938
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
919
|
-
}, e.prototype[
|
|
939
|
+
}, e.prototype[pi] = function() {
|
|
920
940
|
return this;
|
|
921
941
|
}, e.prototype.pipe = function() {
|
|
922
942
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
923
943
|
t[r] = arguments[r];
|
|
924
|
-
return
|
|
944
|
+
return yi(t)(this);
|
|
925
945
|
}, e.prototype.toPromise = function(t) {
|
|
926
946
|
var r = this;
|
|
927
|
-
return t =
|
|
947
|
+
return t = Et(t), new t(function(i, n) {
|
|
928
948
|
var o;
|
|
929
949
|
r.subscribe(function(a) {
|
|
930
950
|
return o = a;
|
|
@@ -938,32 +958,32 @@ var gt = function() {
|
|
|
938
958
|
return new e(t);
|
|
939
959
|
}, e;
|
|
940
960
|
}();
|
|
941
|
-
function
|
|
961
|
+
function Et(e) {
|
|
942
962
|
var t;
|
|
943
|
-
return (t = e ??
|
|
963
|
+
return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
944
964
|
}
|
|
945
|
-
function
|
|
965
|
+
function gi(e) {
|
|
946
966
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
947
967
|
}
|
|
948
|
-
function
|
|
949
|
-
return e && e instanceof
|
|
968
|
+
function bi(e) {
|
|
969
|
+
return e && e instanceof Yt || gi(e) && Zt(e);
|
|
950
970
|
}
|
|
951
|
-
var
|
|
971
|
+
var vi = Xt(function(e) {
|
|
952
972
|
return function() {
|
|
953
973
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
954
974
|
};
|
|
955
|
-
}),
|
|
975
|
+
}), Jt = function(e) {
|
|
956
976
|
G(t, e);
|
|
957
977
|
function t() {
|
|
958
978
|
var r = e.call(this) || this;
|
|
959
979
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
960
980
|
}
|
|
961
981
|
return t.prototype.lift = function(r) {
|
|
962
|
-
var i = new
|
|
982
|
+
var i = new xt(this, this);
|
|
963
983
|
return i.operator = r, i;
|
|
964
984
|
}, t.prototype._throwIfClosed = function() {
|
|
965
985
|
if (this.closed)
|
|
966
|
-
throw new
|
|
986
|
+
throw new vi();
|
|
967
987
|
}, t.prototype.next = function(r) {
|
|
968
988
|
var i = this;
|
|
969
989
|
xe(function() {
|
|
@@ -971,7 +991,7 @@ var di = kt(function(e) {
|
|
|
971
991
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
972
992
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
973
993
|
try {
|
|
974
|
-
for (var a =
|
|
994
|
+
for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
975
995
|
var h = s.value;
|
|
976
996
|
h.next(r);
|
|
977
997
|
}
|
|
@@ -1020,19 +1040,19 @@ var di = kt(function(e) {
|
|
|
1020
1040
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1021
1041
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1022
1042
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1023
|
-
return o || a ?
|
|
1024
|
-
i.currentObservers = null,
|
|
1043
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new Pe(function() {
|
|
1044
|
+
i.currentObservers = null, qe(s, r);
|
|
1025
1045
|
}));
|
|
1026
1046
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1027
1047
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1028
1048
|
n ? r.error(o) : a && r.complete();
|
|
1029
1049
|
}, t.prototype.asObservable = function() {
|
|
1030
|
-
var r = new
|
|
1050
|
+
var r = new _t();
|
|
1031
1051
|
return r.source = this, r;
|
|
1032
1052
|
}, t.create = function(r, i) {
|
|
1033
|
-
return new
|
|
1053
|
+
return new xt(r, i);
|
|
1034
1054
|
}, t;
|
|
1035
|
-
}(
|
|
1055
|
+
}(_t), xt = function(e) {
|
|
1036
1056
|
G(t, e);
|
|
1037
1057
|
function t(r, i) {
|
|
1038
1058
|
var n = e.call(this) || this;
|
|
@@ -1049,17 +1069,17 @@ var di = kt(function(e) {
|
|
|
1049
1069
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1050
1070
|
}, t.prototype._subscribe = function(r) {
|
|
1051
1071
|
var i, n;
|
|
1052
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1072
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : zt;
|
|
1053
1073
|
}, t;
|
|
1054
|
-
}(
|
|
1074
|
+
}(Jt), qt = {
|
|
1055
1075
|
now: function() {
|
|
1056
|
-
return (
|
|
1076
|
+
return (qt.delegate || Date).now();
|
|
1057
1077
|
},
|
|
1058
1078
|
delegate: void 0
|
|
1059
|
-
},
|
|
1079
|
+
}, _i = function(e) {
|
|
1060
1080
|
G(t, e);
|
|
1061
1081
|
function t(r, i, n) {
|
|
1062
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1082
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = qt);
|
|
1063
1083
|
var o = e.call(this) || this;
|
|
1064
1084
|
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;
|
|
1065
1085
|
}
|
|
@@ -1079,15 +1099,15 @@ var di = kt(function(e) {
|
|
|
1079
1099
|
u && o.splice(0, u + 1);
|
|
1080
1100
|
}
|
|
1081
1101
|
}, t;
|
|
1082
|
-
}(
|
|
1083
|
-
const
|
|
1084
|
-
if (
|
|
1085
|
-
const r = new
|
|
1086
|
-
|
|
1102
|
+
}(Jt);
|
|
1103
|
+
const Tt = [], Lt = {}, Ei = (e, t = 0) => {
|
|
1104
|
+
if (Tt.indexOf(e) == -1) {
|
|
1105
|
+
const r = new _i(t);
|
|
1106
|
+
Lt[e] = r, Tt.push(e);
|
|
1087
1107
|
}
|
|
1088
|
-
return
|
|
1108
|
+
return Lt[e];
|
|
1089
1109
|
}, Q = [];
|
|
1090
|
-
function
|
|
1110
|
+
function xi(e, t) {
|
|
1091
1111
|
return {
|
|
1092
1112
|
subscribe: He(e, t).subscribe
|
|
1093
1113
|
};
|
|
@@ -1096,7 +1116,7 @@ function He(e, t = B) {
|
|
|
1096
1116
|
let r;
|
|
1097
1117
|
const i = /* @__PURE__ */ new Set();
|
|
1098
1118
|
function n(s) {
|
|
1099
|
-
if (
|
|
1119
|
+
if (jt(e, s) && (e = s, r)) {
|
|
1100
1120
|
const h = !Q.length;
|
|
1101
1121
|
for (const u of i)
|
|
1102
1122
|
u[1](), Q.push(u, e);
|
|
@@ -1123,7 +1143,7 @@ function ne(e, t, r) {
|
|
|
1123
1143
|
if (!n.every(Boolean))
|
|
1124
1144
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1125
1145
|
const o = t.length < 2;
|
|
1126
|
-
return
|
|
1146
|
+
return xi(r, (a, s) => {
|
|
1127
1147
|
let h = !1;
|
|
1128
1148
|
const u = [];
|
|
1129
1149
|
let l = 0, c = B;
|
|
@@ -1132,9 +1152,9 @@ function ne(e, t, r) {
|
|
|
1132
1152
|
return;
|
|
1133
1153
|
c();
|
|
1134
1154
|
const y = t(i ? u[0] : u, a, s);
|
|
1135
|
-
o ? a(y) : c =
|
|
1155
|
+
o ? a(y) : c = ut(y) ? y : B;
|
|
1136
1156
|
}, p = n.map(
|
|
1137
|
-
(y, d) =>
|
|
1157
|
+
(y, d) => kt(
|
|
1138
1158
|
y,
|
|
1139
1159
|
(v) => {
|
|
1140
1160
|
u[d] = v, l &= ~(1 << d), h && f();
|
|
@@ -1149,70 +1169,70 @@ function ne(e, t, r) {
|
|
|
1149
1169
|
};
|
|
1150
1170
|
});
|
|
1151
1171
|
}
|
|
1152
|
-
function
|
|
1172
|
+
function Ti(e) {
|
|
1153
1173
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1154
1174
|
}
|
|
1155
|
-
var
|
|
1156
|
-
return
|
|
1175
|
+
var Li = function(t) {
|
|
1176
|
+
return Si(t) && !wi(t);
|
|
1157
1177
|
};
|
|
1158
|
-
function
|
|
1178
|
+
function Si(e) {
|
|
1159
1179
|
return !!e && typeof e == "object";
|
|
1160
1180
|
}
|
|
1161
|
-
function
|
|
1181
|
+
function wi(e) {
|
|
1162
1182
|
var t = Object.prototype.toString.call(e);
|
|
1163
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1183
|
+
return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
|
|
1164
1184
|
}
|
|
1165
|
-
var
|
|
1166
|
-
function
|
|
1167
|
-
return e.$$typeof ===
|
|
1185
|
+
var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.element") : 60103;
|
|
1186
|
+
function Hi(e) {
|
|
1187
|
+
return e.$$typeof === Pi;
|
|
1168
1188
|
}
|
|
1169
|
-
function
|
|
1189
|
+
function Ii(e) {
|
|
1170
1190
|
return Array.isArray(e) ? [] : {};
|
|
1171
1191
|
}
|
|
1172
1192
|
function ce(e, t) {
|
|
1173
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
|
1193
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Ii(e), e, t) : e;
|
|
1174
1194
|
}
|
|
1175
|
-
function
|
|
1195
|
+
function Bi(e, t, r) {
|
|
1176
1196
|
return e.concat(t).map(function(i) {
|
|
1177
1197
|
return ce(i, r);
|
|
1178
1198
|
});
|
|
1179
1199
|
}
|
|
1180
|
-
function
|
|
1200
|
+
function Oi(e, t) {
|
|
1181
1201
|
if (!t.customMerge)
|
|
1182
1202
|
return K;
|
|
1183
1203
|
var r = t.customMerge(e);
|
|
1184
1204
|
return typeof r == "function" ? r : K;
|
|
1185
1205
|
}
|
|
1186
|
-
function
|
|
1206
|
+
function Ci(e) {
|
|
1187
1207
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1188
1208
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1189
1209
|
}) : [];
|
|
1190
1210
|
}
|
|
1191
|
-
function
|
|
1192
|
-
return Object.keys(e).concat(
|
|
1211
|
+
function St(e) {
|
|
1212
|
+
return Object.keys(e).concat(Ci(e));
|
|
1193
1213
|
}
|
|
1194
|
-
function
|
|
1214
|
+
function Kt(e, t) {
|
|
1195
1215
|
try {
|
|
1196
1216
|
return t in e;
|
|
1197
1217
|
} catch {
|
|
1198
1218
|
return !1;
|
|
1199
1219
|
}
|
|
1200
1220
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return
|
|
1221
|
+
function Ni(e, t) {
|
|
1222
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1203
1223
|
}
|
|
1204
|
-
function
|
|
1224
|
+
function Ri(e, t, r) {
|
|
1205
1225
|
var i = {};
|
|
1206
|
-
return r.isMergeableObject(e) &&
|
|
1226
|
+
return r.isMergeableObject(e) && St(e).forEach(function(n) {
|
|
1207
1227
|
i[n] = ce(e[n], r);
|
|
1208
|
-
}),
|
|
1209
|
-
|
|
1228
|
+
}), St(t).forEach(function(n) {
|
|
1229
|
+
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));
|
|
1210
1230
|
}), i;
|
|
1211
1231
|
}
|
|
1212
1232
|
function K(e, t, r) {
|
|
1213
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1233
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1214
1234
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1215
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
1235
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : ce(t, r);
|
|
1216
1236
|
}
|
|
1217
1237
|
K.all = function(t, r) {
|
|
1218
1238
|
if (!Array.isArray(t))
|
|
@@ -1221,56 +1241,58 @@ K.all = function(t, r) {
|
|
|
1221
1241
|
return K(i, n, r);
|
|
1222
1242
|
}, {});
|
|
1223
1243
|
};
|
|
1224
|
-
var
|
|
1225
|
-
const
|
|
1226
|
-
function
|
|
1227
|
-
var r = t && t.cache ? t.cache :
|
|
1244
|
+
var Mi = K, Di = Mi;
|
|
1245
|
+
const Ui = /* @__PURE__ */ Ti(Di);
|
|
1246
|
+
function Ge(e, t) {
|
|
1247
|
+
var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : ki, n = t && t.strategy ? t.strategy : Gi;
|
|
1228
1248
|
return n(e, {
|
|
1229
1249
|
cache: r,
|
|
1230
1250
|
serializer: i
|
|
1231
1251
|
});
|
|
1232
1252
|
}
|
|
1233
|
-
function
|
|
1253
|
+
function $i(e) {
|
|
1234
1254
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1235
1255
|
}
|
|
1236
|
-
function
|
|
1237
|
-
var n =
|
|
1256
|
+
function er(e, t, r, i) {
|
|
1257
|
+
var n = $i(i) ? i : r(i), o = t.get(n);
|
|
1238
1258
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1239
1259
|
}
|
|
1240
|
-
function
|
|
1260
|
+
function tr(e, t, r) {
|
|
1241
1261
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1242
1262
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1243
1263
|
}
|
|
1244
|
-
function
|
|
1264
|
+
function lt(e, t, r, i, n) {
|
|
1245
1265
|
return r.bind(t, e, i, n);
|
|
1246
1266
|
}
|
|
1247
|
-
function
|
|
1248
|
-
var r = e.length === 1 ?
|
|
1249
|
-
return
|
|
1267
|
+
function Gi(e, t) {
|
|
1268
|
+
var r = e.length === 1 ? er : tr;
|
|
1269
|
+
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
1270
|
+
}
|
|
1271
|
+
function Fi(e, t) {
|
|
1272
|
+
return lt(e, this, tr, t.cache.create(), t.serializer);
|
|
1250
1273
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return
|
|
1274
|
+
function ji(e, t) {
|
|
1275
|
+
return lt(e, this, er, t.cache.create(), t.serializer);
|
|
1253
1276
|
}
|
|
1254
|
-
var
|
|
1277
|
+
var ki = function() {
|
|
1255
1278
|
return JSON.stringify(arguments);
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
}()
|
|
1268
|
-
), Fi = {
|
|
1279
|
+
};
|
|
1280
|
+
function ht() {
|
|
1281
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1282
|
+
}
|
|
1283
|
+
ht.prototype.get = function(e) {
|
|
1284
|
+
return this.cache[e];
|
|
1285
|
+
};
|
|
1286
|
+
ht.prototype.set = function(e, t) {
|
|
1287
|
+
this.cache[e] = t;
|
|
1288
|
+
};
|
|
1289
|
+
var Vi = {
|
|
1269
1290
|
create: function() {
|
|
1270
|
-
return new
|
|
1291
|
+
return new ht();
|
|
1271
1292
|
}
|
|
1272
|
-
},
|
|
1273
|
-
variadic:
|
|
1293
|
+
}, Fe = {
|
|
1294
|
+
variadic: Fi,
|
|
1295
|
+
monadic: ji
|
|
1274
1296
|
}, b;
|
|
1275
1297
|
(function(e) {
|
|
1276
1298
|
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";
|
|
@@ -1283,43 +1305,43 @@ var ee;
|
|
|
1283
1305
|
(function(e) {
|
|
1284
1306
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1285
1307
|
})(ee || (ee = {}));
|
|
1286
|
-
function
|
|
1308
|
+
function wt(e) {
|
|
1287
1309
|
return e.type === S.literal;
|
|
1288
1310
|
}
|
|
1289
|
-
function
|
|
1311
|
+
function Wi(e) {
|
|
1290
1312
|
return e.type === S.argument;
|
|
1291
1313
|
}
|
|
1292
|
-
function
|
|
1314
|
+
function rr(e) {
|
|
1293
1315
|
return e.type === S.number;
|
|
1294
1316
|
}
|
|
1295
|
-
function
|
|
1317
|
+
function ir(e) {
|
|
1296
1318
|
return e.type === S.date;
|
|
1297
1319
|
}
|
|
1298
|
-
function
|
|
1320
|
+
function nr(e) {
|
|
1299
1321
|
return e.type === S.time;
|
|
1300
1322
|
}
|
|
1301
|
-
function
|
|
1323
|
+
function or(e) {
|
|
1302
1324
|
return e.type === S.select;
|
|
1303
1325
|
}
|
|
1304
|
-
function
|
|
1326
|
+
function sr(e) {
|
|
1305
1327
|
return e.type === S.plural;
|
|
1306
1328
|
}
|
|
1307
|
-
function
|
|
1329
|
+
function Xi(e) {
|
|
1308
1330
|
return e.type === S.pound;
|
|
1309
1331
|
}
|
|
1310
|
-
function
|
|
1332
|
+
function ar(e) {
|
|
1311
1333
|
return e.type === S.tag;
|
|
1312
1334
|
}
|
|
1313
|
-
function
|
|
1335
|
+
function ur(e) {
|
|
1314
1336
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1315
1337
|
}
|
|
1316
|
-
function
|
|
1338
|
+
function et(e) {
|
|
1317
1339
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1318
1340
|
}
|
|
1319
|
-
var
|
|
1320
|
-
function
|
|
1341
|
+
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;
|
|
1342
|
+
function Zi(e) {
|
|
1321
1343
|
var t = {};
|
|
1322
|
-
return e.replace(
|
|
1344
|
+
return e.replace(zi, function(r) {
|
|
1323
1345
|
var i = r.length;
|
|
1324
1346
|
switch (r[0]) {
|
|
1325
1347
|
case "G":
|
|
@@ -1408,11 +1430,11 @@ function Wi(e) {
|
|
|
1408
1430
|
return "";
|
|
1409
1431
|
}), t;
|
|
1410
1432
|
}
|
|
1411
|
-
var
|
|
1412
|
-
function
|
|
1433
|
+
var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1434
|
+
function Yi(e) {
|
|
1413
1435
|
if (e.length === 0)
|
|
1414
1436
|
throw new Error("Number skeleton cannot be empty");
|
|
1415
|
-
for (var t = e.split(
|
|
1437
|
+
for (var t = e.split(Qi).filter(function(f) {
|
|
1416
1438
|
return f.length > 0;
|
|
1417
1439
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1418
1440
|
var o = n[i], a = o.split("/");
|
|
@@ -1427,17 +1449,17 @@ function zi(e) {
|
|
|
1427
1449
|
}
|
|
1428
1450
|
return r;
|
|
1429
1451
|
}
|
|
1430
|
-
function
|
|
1452
|
+
function Ji(e) {
|
|
1431
1453
|
return e.replace(/^(.*?)-/, "");
|
|
1432
1454
|
}
|
|
1433
|
-
var
|
|
1434
|
-
function
|
|
1455
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1456
|
+
function Pt(e) {
|
|
1435
1457
|
var t = {};
|
|
1436
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1458
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
|
|
1437
1459
|
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)), "";
|
|
1438
1460
|
}), t;
|
|
1439
1461
|
}
|
|
1440
|
-
function
|
|
1462
|
+
function fr(e) {
|
|
1441
1463
|
switch (e) {
|
|
1442
1464
|
case "sign-auto":
|
|
1443
1465
|
return {
|
|
@@ -1477,7 +1499,7 @@ function ur(e) {
|
|
|
1477
1499
|
};
|
|
1478
1500
|
}
|
|
1479
1501
|
}
|
|
1480
|
-
function
|
|
1502
|
+
function Ki(e) {
|
|
1481
1503
|
var t;
|
|
1482
1504
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1483
1505
|
notation: "engineering"
|
|
@@ -1485,17 +1507,17 @@ function Yi(e) {
|
|
|
1485
1507
|
notation: "scientific"
|
|
1486
1508
|
}, e = e.slice(1)), t) {
|
|
1487
1509
|
var r = e.slice(0, 2);
|
|
1488
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1510
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
1489
1511
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1490
1512
|
t.minimumIntegerDigits = e.length;
|
|
1491
1513
|
}
|
|
1492
1514
|
return t;
|
|
1493
1515
|
}
|
|
1494
|
-
function
|
|
1495
|
-
var t = {}, r =
|
|
1516
|
+
function Ht(e) {
|
|
1517
|
+
var t = {}, r = fr(e);
|
|
1496
1518
|
return r || t;
|
|
1497
1519
|
}
|
|
1498
|
-
function
|
|
1520
|
+
function en(e) {
|
|
1499
1521
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1500
1522
|
var n = i[r];
|
|
1501
1523
|
switch (n.stem) {
|
|
@@ -1519,7 +1541,7 @@ function Ji(e) {
|
|
|
1519
1541
|
continue;
|
|
1520
1542
|
case "measure-unit":
|
|
1521
1543
|
case "unit":
|
|
1522
|
-
t.style = "unit", t.unit =
|
|
1544
|
+
t.style = "unit", t.unit = Ji(n.options[0]);
|
|
1523
1545
|
continue;
|
|
1524
1546
|
case "compact-short":
|
|
1525
1547
|
case "K":
|
|
@@ -1531,12 +1553,12 @@ function Ji(e) {
|
|
|
1531
1553
|
continue;
|
|
1532
1554
|
case "scientific":
|
|
1533
1555
|
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1534
|
-
return E(E({}, h),
|
|
1556
|
+
return E(E({}, h), Ht(u));
|
|
1535
1557
|
}, {}));
|
|
1536
1558
|
continue;
|
|
1537
1559
|
case "engineering":
|
|
1538
1560
|
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1539
|
-
return E(E({}, h),
|
|
1561
|
+
return E(E({}, h), Ht(u));
|
|
1540
1562
|
}, {}));
|
|
1541
1563
|
continue;
|
|
1542
1564
|
case "notation-simple":
|
|
@@ -1581,7 +1603,7 @@ function Ji(e) {
|
|
|
1581
1603
|
case "integer-width":
|
|
1582
1604
|
if (n.options.length > 1)
|
|
1583
1605
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1584
|
-
n.options[0].replace(
|
|
1606
|
+
n.options[0].replace(qi, function(h, u, l, c, f, p) {
|
|
1585
1607
|
if (u)
|
|
1586
1608
|
t.minimumIntegerDigits = l.length;
|
|
1587
1609
|
else {
|
|
@@ -1594,27 +1616,27 @@ function Ji(e) {
|
|
|
1594
1616
|
});
|
|
1595
1617
|
continue;
|
|
1596
1618
|
}
|
|
1597
|
-
if (
|
|
1619
|
+
if (cr.test(n.stem)) {
|
|
1598
1620
|
t.minimumIntegerDigits = n.stem.length;
|
|
1599
1621
|
continue;
|
|
1600
1622
|
}
|
|
1601
|
-
if (
|
|
1623
|
+
if (At.test(n.stem)) {
|
|
1602
1624
|
if (n.options.length > 1)
|
|
1603
1625
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1604
|
-
n.stem.replace(
|
|
1626
|
+
n.stem.replace(At, function(h, u, l, c, f, p) {
|
|
1605
1627
|
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), "";
|
|
1606
1628
|
});
|
|
1607
1629
|
var o = n.options[0];
|
|
1608
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1630
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
|
1609
1631
|
continue;
|
|
1610
1632
|
}
|
|
1611
|
-
if (
|
|
1612
|
-
t = E(E({}, t),
|
|
1633
|
+
if (hr.test(n.stem)) {
|
|
1634
|
+
t = E(E({}, t), Pt(n.stem));
|
|
1613
1635
|
continue;
|
|
1614
1636
|
}
|
|
1615
|
-
var a =
|
|
1637
|
+
var a = fr(n.stem);
|
|
1616
1638
|
a && (t = E(E({}, t), a));
|
|
1617
|
-
var s =
|
|
1639
|
+
var s = Ki(n.stem);
|
|
1618
1640
|
s && (t = E(E({}, t), s));
|
|
1619
1641
|
}
|
|
1620
1642
|
return t;
|
|
@@ -3034,13 +3056,13 @@ var ve = {
|
|
|
3034
3056
|
"h"
|
|
3035
3057
|
]
|
|
3036
3058
|
};
|
|
3037
|
-
function
|
|
3059
|
+
function tn(e, t) {
|
|
3038
3060
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3039
3061
|
var n = e.charAt(i);
|
|
3040
3062
|
if (n === "j") {
|
|
3041
3063
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3042
3064
|
o++, i++;
|
|
3043
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3065
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = rn(t);
|
|
3044
3066
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3045
3067
|
r += h;
|
|
3046
3068
|
for (; a-- > 0; )
|
|
@@ -3050,7 +3072,7 @@ function qi(e, t) {
|
|
|
3050
3072
|
}
|
|
3051
3073
|
return r;
|
|
3052
3074
|
}
|
|
3053
|
-
function
|
|
3075
|
+
function rn(e) {
|
|
3054
3076
|
var t = e.hourCycle;
|
|
3055
3077
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3056
3078
|
e.hourCycles && // @ts-ignore
|
|
@@ -3072,20 +3094,20 @@ function Ki(e) {
|
|
|
3072
3094
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3073
3095
|
return n[0];
|
|
3074
3096
|
}
|
|
3075
|
-
var
|
|
3097
|
+
var je, nn = new RegExp("^".concat(lr.source, "*")), on = new RegExp("".concat(lr.source, "*$"));
|
|
3076
3098
|
function _(e, t) {
|
|
3077
3099
|
return { start: e, end: t };
|
|
3078
3100
|
}
|
|
3079
|
-
var
|
|
3101
|
+
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) {
|
|
3080
3102
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3081
|
-
},
|
|
3103
|
+
}, tt = !0;
|
|
3082
3104
|
try {
|
|
3083
|
-
var
|
|
3084
|
-
|
|
3105
|
+
var pn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3106
|
+
tt = ((je = pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3085
3107
|
} catch {
|
|
3086
|
-
|
|
3108
|
+
tt = !1;
|
|
3087
3109
|
}
|
|
3088
|
-
var
|
|
3110
|
+
var It = sn ? (
|
|
3089
3111
|
// Native
|
|
3090
3112
|
function(t, r, i) {
|
|
3091
3113
|
return t.startsWith(r, i);
|
|
@@ -3095,7 +3117,7 @@ var At = rn ? (
|
|
|
3095
3117
|
function(t, r, i) {
|
|
3096
3118
|
return t.slice(i, i + r.length) === r;
|
|
3097
3119
|
}
|
|
3098
|
-
),
|
|
3120
|
+
), rt = an ? String.fromCodePoint : (
|
|
3099
3121
|
// IE11
|
|
3100
3122
|
function() {
|
|
3101
3123
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3107,9 +3129,9 @@ var At = rn ? (
|
|
|
3107
3129
|
}
|
|
3108
3130
|
return i;
|
|
3109
3131
|
}
|
|
3110
|
-
),
|
|
3132
|
+
), Bt = (
|
|
3111
3133
|
// native
|
|
3112
|
-
|
|
3134
|
+
un ? Object.fromEntries : (
|
|
3113
3135
|
// Ponyfill
|
|
3114
3136
|
function(t) {
|
|
3115
3137
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3119,7 +3141,7 @@ var At = rn ? (
|
|
|
3119
3141
|
return r;
|
|
3120
3142
|
}
|
|
3121
3143
|
)
|
|
3122
|
-
),
|
|
3144
|
+
), mr = ln ? (
|
|
3123
3145
|
// Native
|
|
3124
3146
|
function(t, r) {
|
|
3125
3147
|
return t.codePointAt(r);
|
|
@@ -3133,7 +3155,7 @@ var At = rn ? (
|
|
|
3133
3155
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3134
3156
|
}
|
|
3135
3157
|
}
|
|
3136
|
-
),
|
|
3158
|
+
), dn = hn ? (
|
|
3137
3159
|
// Native
|
|
3138
3160
|
function(t) {
|
|
3139
3161
|
return t.trimStart();
|
|
@@ -3141,9 +3163,9 @@ var At = rn ? (
|
|
|
3141
3163
|
) : (
|
|
3142
3164
|
// Ponyfill
|
|
3143
3165
|
function(t) {
|
|
3144
|
-
return t.replace(
|
|
3166
|
+
return t.replace(nn, "");
|
|
3145
3167
|
}
|
|
3146
|
-
),
|
|
3168
|
+
), yn = cn ? (
|
|
3147
3169
|
// Native
|
|
3148
3170
|
function(t) {
|
|
3149
3171
|
return t.trimEnd();
|
|
@@ -3151,32 +3173,32 @@ var At = rn ? (
|
|
|
3151
3173
|
) : (
|
|
3152
3174
|
// Ponyfill
|
|
3153
3175
|
function(t) {
|
|
3154
|
-
return t.replace(
|
|
3176
|
+
return t.replace(on, "");
|
|
3155
3177
|
}
|
|
3156
3178
|
);
|
|
3157
|
-
function
|
|
3179
|
+
function pr(e, t) {
|
|
3158
3180
|
return new RegExp(e, t);
|
|
3159
3181
|
}
|
|
3160
|
-
var
|
|
3161
|
-
if (
|
|
3162
|
-
var
|
|
3163
|
-
|
|
3182
|
+
var it;
|
|
3183
|
+
if (tt) {
|
|
3184
|
+
var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3185
|
+
it = function(t, r) {
|
|
3164
3186
|
var i;
|
|
3165
|
-
|
|
3166
|
-
var n =
|
|
3187
|
+
Ot.lastIndex = r;
|
|
3188
|
+
var n = Ot.exec(t);
|
|
3167
3189
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3168
3190
|
};
|
|
3169
3191
|
} else
|
|
3170
|
-
|
|
3192
|
+
it = function(t, r) {
|
|
3171
3193
|
for (var i = []; ; ) {
|
|
3172
|
-
var n =
|
|
3173
|
-
if (n === void 0 ||
|
|
3194
|
+
var n = mr(t, r);
|
|
3195
|
+
if (n === void 0 || dr(n) || _n(n))
|
|
3174
3196
|
break;
|
|
3175
3197
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3176
3198
|
}
|
|
3177
|
-
return
|
|
3199
|
+
return rt.apply(void 0, i);
|
|
3178
3200
|
};
|
|
3179
|
-
var
|
|
3201
|
+
var gn = (
|
|
3180
3202
|
/** @class */
|
|
3181
3203
|
function() {
|
|
3182
3204
|
function e(t, r) {
|
|
@@ -3207,7 +3229,7 @@ var pn = (
|
|
|
3207
3229
|
if (i)
|
|
3208
3230
|
break;
|
|
3209
3231
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3210
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3232
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3211
3233
|
var a = this.parseTag(t, r);
|
|
3212
3234
|
if (a.err)
|
|
3213
3235
|
return a;
|
|
@@ -3240,7 +3262,7 @@ var pn = (
|
|
|
3240
3262
|
return o;
|
|
3241
3263
|
var a = o.val, s = this.clonePosition();
|
|
3242
3264
|
if (this.bumpIf("</")) {
|
|
3243
|
-
if (this.isEOF() || !
|
|
3265
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3244
3266
|
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3245
3267
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3246
3268
|
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3258,7 +3280,7 @@ var pn = (
|
|
|
3258
3280
|
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3259
3281
|
}, e.prototype.parseTagName = function() {
|
|
3260
3282
|
var t = this.offset();
|
|
3261
|
-
for (this.bump(); !this.isEOF() &&
|
|
3283
|
+
for (this.bump(); !this.isEOF() && vn(this.char()); )
|
|
3262
3284
|
this.bump();
|
|
3263
3285
|
return this.message.slice(t, this.offset());
|
|
3264
3286
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3287,7 +3309,7 @@ var pn = (
|
|
|
3287
3309
|
};
|
|
3288
3310
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3289
3311
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3290
|
-
!
|
|
3312
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3291
3313
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3292
3314
|
if (this.isEOF() || this.char() !== 39)
|
|
3293
3315
|
return null;
|
|
@@ -3321,12 +3343,12 @@ var pn = (
|
|
|
3321
3343
|
r.push(i);
|
|
3322
3344
|
this.bump();
|
|
3323
3345
|
}
|
|
3324
|
-
return
|
|
3346
|
+
return rt.apply(void 0, r);
|
|
3325
3347
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3326
3348
|
if (this.isEOF())
|
|
3327
3349
|
return null;
|
|
3328
3350
|
var i = this.char();
|
|
3329
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3351
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
|
|
3330
3352
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3331
3353
|
var i = this.clonePosition();
|
|
3332
3354
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3355,7 +3377,7 @@ var pn = (
|
|
|
3355
3377
|
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3356
3378
|
}
|
|
3357
3379
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3358
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3380
|
+
var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
|
|
3359
3381
|
this.bumpTo(n);
|
|
3360
3382
|
var o = this.clonePosition(), a = _(t, o);
|
|
3361
3383
|
return { value: i, location: a };
|
|
@@ -3374,7 +3396,7 @@ var pn = (
|
|
|
3374
3396
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3375
3397
|
if (c.err)
|
|
3376
3398
|
return c;
|
|
3377
|
-
var f =
|
|
3399
|
+
var f = yn(c.val);
|
|
3378
3400
|
if (f.length === 0)
|
|
3379
3401
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3380
3402
|
var p = _(l, this.clonePosition());
|
|
@@ -3384,8 +3406,8 @@ var pn = (
|
|
|
3384
3406
|
if (y.err)
|
|
3385
3407
|
return y;
|
|
3386
3408
|
var d = _(n, this.clonePosition());
|
|
3387
|
-
if (u &&
|
|
3388
|
-
var v =
|
|
3409
|
+
if (u && It(u?.style, "::", 0)) {
|
|
3410
|
+
var v = dn(u.style.slice(2));
|
|
3389
3411
|
if (s === "number") {
|
|
3390
3412
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3391
3413
|
return c.err ? c : {
|
|
@@ -3396,12 +3418,12 @@ var pn = (
|
|
|
3396
3418
|
if (v.length === 0)
|
|
3397
3419
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3398
3420
|
var H = v;
|
|
3399
|
-
this.locale && (H =
|
|
3421
|
+
this.locale && (H = tn(v, this.locale));
|
|
3400
3422
|
var f = {
|
|
3401
3423
|
type: ee.dateTime,
|
|
3402
3424
|
pattern: H,
|
|
3403
3425
|
location: u.styleLocation,
|
|
3404
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3426
|
+
parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
|
|
3405
3427
|
}, g = s === "date" ? S.date : S.time;
|
|
3406
3428
|
return {
|
|
3407
3429
|
val: { type: g, value: i, location: d, style: f },
|
|
@@ -3447,7 +3469,7 @@ var pn = (
|
|
|
3447
3469
|
val: {
|
|
3448
3470
|
type: S.select,
|
|
3449
3471
|
value: i,
|
|
3450
|
-
options:
|
|
3472
|
+
options: Bt(D.val),
|
|
3451
3473
|
location: V
|
|
3452
3474
|
},
|
|
3453
3475
|
err: null
|
|
@@ -3455,7 +3477,7 @@ var pn = (
|
|
|
3455
3477
|
val: {
|
|
3456
3478
|
type: S.plural,
|
|
3457
3479
|
value: i,
|
|
3458
|
-
options:
|
|
3480
|
+
options: Bt(D.val),
|
|
3459
3481
|
offset: N,
|
|
3460
3482
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3461
3483
|
location: V
|
|
@@ -3506,7 +3528,7 @@ var pn = (
|
|
|
3506
3528
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3507
3529
|
var i = [];
|
|
3508
3530
|
try {
|
|
3509
|
-
i =
|
|
3531
|
+
i = Yi(t);
|
|
3510
3532
|
} catch {
|
|
3511
3533
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3512
3534
|
}
|
|
@@ -3515,7 +3537,7 @@ var pn = (
|
|
|
3515
3537
|
type: ee.number,
|
|
3516
3538
|
tokens: i,
|
|
3517
3539
|
location: r,
|
|
3518
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3540
|
+
parsedOptions: this.shouldParseSkeletons ? en(i) : {}
|
|
3519
3541
|
},
|
|
3520
3542
|
err: null
|
|
3521
3543
|
};
|
|
@@ -3563,7 +3585,7 @@ var pn = (
|
|
|
3563
3585
|
break;
|
|
3564
3586
|
}
|
|
3565
3587
|
var h = _(n, this.clonePosition());
|
|
3566
|
-
return o ? (a *= i,
|
|
3588
|
+
return o ? (a *= i, mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3567
3589
|
}, e.prototype.offset = function() {
|
|
3568
3590
|
return this.position.offset;
|
|
3569
3591
|
}, e.prototype.isEOF = function() {
|
|
@@ -3578,7 +3600,7 @@ var pn = (
|
|
|
3578
3600
|
var t = this.position.offset;
|
|
3579
3601
|
if (t >= this.message.length)
|
|
3580
3602
|
throw Error("out of bound");
|
|
3581
|
-
var r =
|
|
3603
|
+
var r = mr(this.message, t);
|
|
3582
3604
|
if (r === void 0)
|
|
3583
3605
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3584
3606
|
return r;
|
|
@@ -3597,7 +3619,7 @@ var pn = (
|
|
|
3597
3619
|
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);
|
|
3598
3620
|
}
|
|
3599
3621
|
}, e.prototype.bumpIf = function(t) {
|
|
3600
|
-
if (
|
|
3622
|
+
if (It(this.message, t, this.offset())) {
|
|
3601
3623
|
for (var r = 0; r < t.length; r++)
|
|
3602
3624
|
this.bump();
|
|
3603
3625
|
return !0;
|
|
@@ -3619,7 +3641,7 @@ var pn = (
|
|
|
3619
3641
|
break;
|
|
3620
3642
|
}
|
|
3621
3643
|
}, e.prototype.bumpSpace = function() {
|
|
3622
|
-
for (; !this.isEOF() &&
|
|
3644
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3623
3645
|
this.bump();
|
|
3624
3646
|
}, e.prototype.peek = function() {
|
|
3625
3647
|
if (this.isEOF())
|
|
@@ -3629,38 +3651,38 @@ var pn = (
|
|
|
3629
3651
|
}, e;
|
|
3630
3652
|
}()
|
|
3631
3653
|
);
|
|
3632
|
-
function
|
|
3654
|
+
function nt(e) {
|
|
3633
3655
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3634
3656
|
}
|
|
3635
|
-
function
|
|
3636
|
-
return
|
|
3657
|
+
function bn(e) {
|
|
3658
|
+
return nt(e) || e === 47;
|
|
3637
3659
|
}
|
|
3638
|
-
function
|
|
3660
|
+
function vn(e) {
|
|
3639
3661
|
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;
|
|
3640
3662
|
}
|
|
3641
|
-
function
|
|
3663
|
+
function dr(e) {
|
|
3642
3664
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3643
3665
|
}
|
|
3644
|
-
function
|
|
3666
|
+
function _n(e) {
|
|
3645
3667
|
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;
|
|
3646
3668
|
}
|
|
3647
|
-
function
|
|
3669
|
+
function ot(e) {
|
|
3648
3670
|
e.forEach(function(t) {
|
|
3649
|
-
if (delete t.location,
|
|
3671
|
+
if (delete t.location, or(t) || sr(t))
|
|
3650
3672
|
for (var r in t.options)
|
|
3651
|
-
delete t.options[r].location,
|
|
3673
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3652
3674
|
else
|
|
3653
|
-
|
|
3675
|
+
rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
|
|
3654
3676
|
});
|
|
3655
3677
|
}
|
|
3656
|
-
function
|
|
3678
|
+
function En(e, t) {
|
|
3657
3679
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3658
|
-
var r = new
|
|
3680
|
+
var r = new gn(e, t).parse();
|
|
3659
3681
|
if (r.err) {
|
|
3660
3682
|
var i = SyntaxError(b[r.err.kind]);
|
|
3661
3683
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3662
3684
|
}
|
|
3663
|
-
return t?.captureLocation ||
|
|
3685
|
+
return t?.captureLocation || ot(r.val), r.val;
|
|
3664
3686
|
}
|
|
3665
3687
|
var te;
|
|
3666
3688
|
(function(e) {
|
|
@@ -3678,7 +3700,7 @@ var Ie = (
|
|
|
3678
3700
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3679
3701
|
}, t;
|
|
3680
3702
|
}(Error)
|
|
3681
|
-
),
|
|
3703
|
+
), Ct = (
|
|
3682
3704
|
/** @class */
|
|
3683
3705
|
function(e) {
|
|
3684
3706
|
G(t, e);
|
|
@@ -3687,7 +3709,7 @@ var Ie = (
|
|
|
3687
3709
|
}
|
|
3688
3710
|
return t;
|
|
3689
3711
|
}(Ie)
|
|
3690
|
-
),
|
|
3712
|
+
), xn = (
|
|
3691
3713
|
/** @class */
|
|
3692
3714
|
function(e) {
|
|
3693
3715
|
G(t, e);
|
|
@@ -3696,7 +3718,7 @@ var Ie = (
|
|
|
3696
3718
|
}
|
|
3697
3719
|
return t;
|
|
3698
3720
|
}(Ie)
|
|
3699
|
-
),
|
|
3721
|
+
), Tn = (
|
|
3700
3722
|
/** @class */
|
|
3701
3723
|
function(e) {
|
|
3702
3724
|
G(t, e);
|
|
@@ -3709,17 +3731,17 @@ var Ie = (
|
|
|
3709
3731
|
(function(e) {
|
|
3710
3732
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3711
3733
|
})(I || (I = {}));
|
|
3712
|
-
function
|
|
3734
|
+
function Ln(e) {
|
|
3713
3735
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3714
3736
|
var i = t[t.length - 1];
|
|
3715
3737
|
return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
|
|
3716
3738
|
}, []);
|
|
3717
3739
|
}
|
|
3718
|
-
function
|
|
3740
|
+
function Sn(e) {
|
|
3719
3741
|
return typeof e == "function";
|
|
3720
3742
|
}
|
|
3721
3743
|
function Te(e, t, r, i, n, o, a) {
|
|
3722
|
-
if (e.length === 1 &&
|
|
3744
|
+
if (e.length === 1 && wt(e[0]))
|
|
3723
3745
|
return [
|
|
3724
3746
|
{
|
|
3725
3747
|
type: I.literal,
|
|
@@ -3728,14 +3750,14 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3728
3750
|
];
|
|
3729
3751
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3730
3752
|
var l = u[h];
|
|
3731
|
-
if (
|
|
3753
|
+
if (wt(l)) {
|
|
3732
3754
|
s.push({
|
|
3733
3755
|
type: I.literal,
|
|
3734
3756
|
value: l.value
|
|
3735
3757
|
});
|
|
3736
3758
|
continue;
|
|
3737
3759
|
}
|
|
3738
|
-
if (
|
|
3760
|
+
if (Xi(l)) {
|
|
3739
3761
|
typeof o == "number" && s.push({
|
|
3740
3762
|
type: I.literal,
|
|
3741
3763
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3744,43 +3766,43 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3744
3766
|
}
|
|
3745
3767
|
var c = l.value;
|
|
3746
3768
|
if (!(n && c in n))
|
|
3747
|
-
throw new
|
|
3769
|
+
throw new Tn(c, a);
|
|
3748
3770
|
var f = n[c];
|
|
3749
|
-
if (
|
|
3771
|
+
if (Wi(l)) {
|
|
3750
3772
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3751
3773
|
type: typeof f == "string" ? I.literal : I.object,
|
|
3752
3774
|
value: f
|
|
3753
3775
|
});
|
|
3754
3776
|
continue;
|
|
3755
3777
|
}
|
|
3756
|
-
if (
|
|
3757
|
-
var p = typeof l.style == "string" ? i.date[l.style] :
|
|
3778
|
+
if (ir(l)) {
|
|
3779
|
+
var p = typeof l.style == "string" ? i.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
|
|
3758
3780
|
s.push({
|
|
3759
3781
|
type: I.literal,
|
|
3760
3782
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3761
3783
|
});
|
|
3762
3784
|
continue;
|
|
3763
3785
|
}
|
|
3764
|
-
if (
|
|
3765
|
-
var p = typeof l.style == "string" ? i.time[l.style] :
|
|
3786
|
+
if (nr(l)) {
|
|
3787
|
+
var p = typeof l.style == "string" ? i.time[l.style] : et(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3766
3788
|
s.push({
|
|
3767
3789
|
type: I.literal,
|
|
3768
3790
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3769
3791
|
});
|
|
3770
3792
|
continue;
|
|
3771
3793
|
}
|
|
3772
|
-
if (
|
|
3773
|
-
var p = typeof l.style == "string" ? i.number[l.style] :
|
|
3794
|
+
if (rr(l)) {
|
|
3795
|
+
var p = typeof l.style == "string" ? i.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
|
|
3774
3796
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3775
3797
|
type: I.literal,
|
|
3776
3798
|
value: r.getNumberFormat(t, p).format(f)
|
|
3777
3799
|
});
|
|
3778
3800
|
continue;
|
|
3779
3801
|
}
|
|
3780
|
-
if (
|
|
3802
|
+
if (ar(l)) {
|
|
3781
3803
|
var y = l.children, d = l.value, v = n[d];
|
|
3782
|
-
if (!
|
|
3783
|
-
throw new
|
|
3804
|
+
if (!Sn(v))
|
|
3805
|
+
throw new xn(d, "function", a);
|
|
3784
3806
|
var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3785
3807
|
return N.value;
|
|
3786
3808
|
}));
|
|
@@ -3791,14 +3813,14 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3791
3813
|
};
|
|
3792
3814
|
}));
|
|
3793
3815
|
}
|
|
3794
|
-
if (
|
|
3816
|
+
if (or(l)) {
|
|
3795
3817
|
var w = l.options[f] || l.options.other;
|
|
3796
3818
|
if (!w)
|
|
3797
|
-
throw new
|
|
3819
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3798
3820
|
s.push.apply(s, Te(w.value, t, r, i, n));
|
|
3799
3821
|
continue;
|
|
3800
3822
|
}
|
|
3801
|
-
if (
|
|
3823
|
+
if (sr(l)) {
|
|
3802
3824
|
var w = l.options["=".concat(f)];
|
|
3803
3825
|
if (!w) {
|
|
3804
3826
|
if (!Intl.PluralRules)
|
|
@@ -3809,24 +3831,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3809
3831
|
w = l.options[M] || l.options.other;
|
|
3810
3832
|
}
|
|
3811
3833
|
if (!w)
|
|
3812
|
-
throw new
|
|
3834
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3813
3835
|
s.push.apply(s, Te(w.value, t, r, i, n, f - (l.offset || 0)));
|
|
3814
3836
|
continue;
|
|
3815
3837
|
}
|
|
3816
3838
|
}
|
|
3817
|
-
return
|
|
3839
|
+
return Ln(s);
|
|
3818
3840
|
}
|
|
3819
|
-
function
|
|
3841
|
+
function wn(e, t) {
|
|
3820
3842
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3821
3843
|
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3822
3844
|
}, {})) : e;
|
|
3823
3845
|
}
|
|
3824
|
-
function
|
|
3846
|
+
function An(e, t) {
|
|
3825
3847
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3826
|
-
return r[i] =
|
|
3848
|
+
return r[i] = wn(e[i], t[i]), r;
|
|
3827
3849
|
}, E({}, e)) : e;
|
|
3828
3850
|
}
|
|
3829
|
-
function
|
|
3851
|
+
function ke(e) {
|
|
3830
3852
|
return {
|
|
3831
3853
|
create: function() {
|
|
3832
3854
|
return {
|
|
@@ -3840,39 +3862,39 @@ function je(e) {
|
|
|
3840
3862
|
}
|
|
3841
3863
|
};
|
|
3842
3864
|
}
|
|
3843
|
-
function
|
|
3865
|
+
function Pn(e) {
|
|
3844
3866
|
return e === void 0 && (e = {
|
|
3845
3867
|
number: {},
|
|
3846
3868
|
dateTime: {},
|
|
3847
3869
|
pluralRules: {}
|
|
3848
3870
|
}), {
|
|
3849
|
-
getNumberFormat:
|
|
3871
|
+
getNumberFormat: Ge(function() {
|
|
3850
3872
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3851
3873
|
r[i] = arguments[i];
|
|
3852
3874
|
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3853
3875
|
}, {
|
|
3854
|
-
cache:
|
|
3855
|
-
strategy:
|
|
3876
|
+
cache: ke(e.number),
|
|
3877
|
+
strategy: Fe.variadic
|
|
3856
3878
|
}),
|
|
3857
|
-
getDateTimeFormat:
|
|
3879
|
+
getDateTimeFormat: Ge(function() {
|
|
3858
3880
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3859
3881
|
r[i] = arguments[i];
|
|
3860
3882
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3861
3883
|
}, {
|
|
3862
|
-
cache:
|
|
3863
|
-
strategy:
|
|
3884
|
+
cache: ke(e.dateTime),
|
|
3885
|
+
strategy: Fe.variadic
|
|
3864
3886
|
}),
|
|
3865
|
-
getPluralRules:
|
|
3887
|
+
getPluralRules: Ge(function() {
|
|
3866
3888
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3867
3889
|
r[i] = arguments[i];
|
|
3868
3890
|
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3869
3891
|
}, {
|
|
3870
|
-
cache:
|
|
3871
|
-
strategy:
|
|
3892
|
+
cache: ke(e.pluralRules),
|
|
3893
|
+
strategy: Fe.variadic
|
|
3872
3894
|
})
|
|
3873
3895
|
};
|
|
3874
3896
|
}
|
|
3875
|
-
var
|
|
3897
|
+
var Hn = (
|
|
3876
3898
|
/** @class */
|
|
3877
3899
|
function() {
|
|
3878
3900
|
function e(t, r, i, n) {
|
|
@@ -3904,13 +3926,13 @@ var wn = (
|
|
|
3904
3926
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3905
3927
|
var a = n || {};
|
|
3906
3928
|
a.formatters;
|
|
3907
|
-
var s =
|
|
3929
|
+
var s = ai(a, ["formatters"]);
|
|
3908
3930
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3909
3931
|
} else
|
|
3910
3932
|
this.ast = t;
|
|
3911
3933
|
if (!Array.isArray(this.ast))
|
|
3912
3934
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3913
|
-
this.formats =
|
|
3935
|
+
this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
|
|
3914
3936
|
}
|
|
3915
3937
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3916
3938
|
get: function() {
|
|
@@ -3923,7 +3945,7 @@ var wn = (
|
|
|
3923
3945
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3924
3946
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3925
3947
|
}
|
|
3926
|
-
}, e.__parse =
|
|
3948
|
+
}, e.__parse = En, e.formats = {
|
|
3927
3949
|
number: {
|
|
3928
3950
|
integer: {
|
|
3929
3951
|
maximumFractionDigits: 0
|
|
@@ -3984,7 +4006,7 @@ var wn = (
|
|
|
3984
4006
|
}, e;
|
|
3985
4007
|
}()
|
|
3986
4008
|
);
|
|
3987
|
-
function
|
|
4009
|
+
function In(e, t) {
|
|
3988
4010
|
if (t == null)
|
|
3989
4011
|
return;
|
|
3990
4012
|
if (t in e)
|
|
@@ -4005,92 +4027,92 @@ function An(e, t) {
|
|
|
4005
4027
|
i = void 0;
|
|
4006
4028
|
return i;
|
|
4007
4029
|
}
|
|
4008
|
-
const F = {},
|
|
4030
|
+
const F = {}, Bn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), yr = (e, t) => {
|
|
4009
4031
|
if (t == null)
|
|
4010
4032
|
return;
|
|
4011
4033
|
if (t in F && e in F[t])
|
|
4012
4034
|
return F[t][e];
|
|
4013
4035
|
const r = Be(t);
|
|
4014
4036
|
for (let i = 0; i < r.length; i++) {
|
|
4015
|
-
const n = r[i], o =
|
|
4037
|
+
const n = r[i], o = Cn(n, e);
|
|
4016
4038
|
if (o)
|
|
4017
|
-
return
|
|
4039
|
+
return Bn(e, t, o);
|
|
4018
4040
|
}
|
|
4019
4041
|
};
|
|
4020
|
-
let
|
|
4042
|
+
let ct;
|
|
4021
4043
|
const me = He({});
|
|
4022
|
-
function
|
|
4023
|
-
return
|
|
4044
|
+
function On(e) {
|
|
4045
|
+
return ct[e] || null;
|
|
4024
4046
|
}
|
|
4025
|
-
function
|
|
4026
|
-
return e in
|
|
4047
|
+
function gr(e) {
|
|
4048
|
+
return e in ct;
|
|
4027
4049
|
}
|
|
4028
|
-
function
|
|
4029
|
-
if (!
|
|
4050
|
+
function Cn(e, t) {
|
|
4051
|
+
if (!gr(e))
|
|
4030
4052
|
return null;
|
|
4031
|
-
const r =
|
|
4032
|
-
return
|
|
4053
|
+
const r = On(e);
|
|
4054
|
+
return In(r, t);
|
|
4033
4055
|
}
|
|
4034
|
-
function
|
|
4056
|
+
function Nn(e) {
|
|
4035
4057
|
if (e == null)
|
|
4036
4058
|
return;
|
|
4037
4059
|
const t = Be(e);
|
|
4038
4060
|
for (let r = 0; r < t.length; r++) {
|
|
4039
4061
|
const i = t[r];
|
|
4040
|
-
if (
|
|
4062
|
+
if (gr(i))
|
|
4041
4063
|
return i;
|
|
4042
4064
|
}
|
|
4043
4065
|
}
|
|
4044
|
-
function
|
|
4045
|
-
delete F[e], me.update((r) => (r[e] =
|
|
4066
|
+
function br(e, ...t) {
|
|
4067
|
+
delete F[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4046
4068
|
}
|
|
4047
4069
|
ne(
|
|
4048
4070
|
[me],
|
|
4049
4071
|
([e]) => Object.keys(e)
|
|
4050
4072
|
);
|
|
4051
|
-
me.subscribe((e) =>
|
|
4073
|
+
me.subscribe((e) => ct = e);
|
|
4052
4074
|
const Le = {};
|
|
4053
|
-
function
|
|
4075
|
+
function Rn(e, t) {
|
|
4054
4076
|
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
4055
4077
|
}
|
|
4056
|
-
function
|
|
4078
|
+
function vr(e) {
|
|
4057
4079
|
return Le[e];
|
|
4058
4080
|
}
|
|
4059
|
-
function
|
|
4081
|
+
function Mn(e) {
|
|
4060
4082
|
return Be(e).map((t) => {
|
|
4061
|
-
const r =
|
|
4083
|
+
const r = vr(t);
|
|
4062
4084
|
return [t, r ? [...r] : []];
|
|
4063
4085
|
}).filter(([, t]) => t.length > 0);
|
|
4064
4086
|
}
|
|
4065
|
-
function
|
|
4087
|
+
function st(e) {
|
|
4066
4088
|
return e == null ? !1 : Be(e).some(
|
|
4067
4089
|
(t) => {
|
|
4068
4090
|
var r;
|
|
4069
|
-
return (r =
|
|
4091
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4070
4092
|
}
|
|
4071
4093
|
);
|
|
4072
4094
|
}
|
|
4073
|
-
function
|
|
4095
|
+
function Dn(e, t) {
|
|
4074
4096
|
return Promise.all(
|
|
4075
|
-
t.map((i) => (
|
|
4076
|
-
).then((i) =>
|
|
4097
|
+
t.map((i) => (Rn(e, i), i().then((n) => n.default || n)))
|
|
4098
|
+
).then((i) => br(e, ...i));
|
|
4077
4099
|
}
|
|
4078
4100
|
const ue = {};
|
|
4079
|
-
function
|
|
4080
|
-
if (!
|
|
4101
|
+
function _r(e) {
|
|
4102
|
+
if (!st(e))
|
|
4081
4103
|
return e in ue ? ue[e] : Promise.resolve();
|
|
4082
|
-
const t =
|
|
4104
|
+
const t = Mn(e);
|
|
4083
4105
|
return ue[e] = Promise.all(
|
|
4084
4106
|
t.map(
|
|
4085
|
-
([r, i]) =>
|
|
4107
|
+
([r, i]) => Dn(r, i)
|
|
4086
4108
|
)
|
|
4087
4109
|
).then(() => {
|
|
4088
|
-
if (
|
|
4089
|
-
return
|
|
4110
|
+
if (st(e))
|
|
4111
|
+
return _r(e);
|
|
4090
4112
|
delete ue[e];
|
|
4091
4113
|
}), ue[e];
|
|
4092
4114
|
}
|
|
4093
|
-
const
|
|
4115
|
+
const Un = {
|
|
4094
4116
|
number: {
|
|
4095
4117
|
scientific: { notation: "scientific" },
|
|
4096
4118
|
engineering: { notation: "engineering" },
|
|
@@ -4119,57 +4141,57 @@ const Rn = {
|
|
|
4119
4141
|
timeZoneName: "short"
|
|
4120
4142
|
}
|
|
4121
4143
|
}
|
|
4122
|
-
},
|
|
4144
|
+
}, $n = {
|
|
4123
4145
|
fallbackLocale: null,
|
|
4124
4146
|
loadingDelay: 200,
|
|
4125
|
-
formats:
|
|
4147
|
+
formats: Un,
|
|
4126
4148
|
warnOnMissingMessages: !0,
|
|
4127
4149
|
handleMissingMessage: void 0,
|
|
4128
4150
|
ignoreTag: !0
|
|
4129
|
-
},
|
|
4151
|
+
}, Gn = $n;
|
|
4130
4152
|
function re() {
|
|
4131
|
-
return
|
|
4153
|
+
return Gn;
|
|
4132
4154
|
}
|
|
4133
|
-
const
|
|
4134
|
-
var
|
|
4155
|
+
const Ve = He(!1);
|
|
4156
|
+
var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
|
|
4135
4157
|
for (var r in t || (t = {}))
|
|
4136
|
-
|
|
4137
|
-
if (
|
|
4138
|
-
for (var r of
|
|
4139
|
-
|
|
4158
|
+
Vn.call(t, r) && Rt(e, r, t[r]);
|
|
4159
|
+
if (Nt)
|
|
4160
|
+
for (var r of Nt(t))
|
|
4161
|
+
Wn.call(t, r) && Rt(e, r, t[r]);
|
|
4140
4162
|
return e;
|
|
4141
|
-
},
|
|
4142
|
-
let
|
|
4163
|
+
}, zn = (e, t) => jn(e, kn(t));
|
|
4164
|
+
let at;
|
|
4143
4165
|
const we = He(null);
|
|
4144
|
-
function
|
|
4166
|
+
function Mt(e) {
|
|
4145
4167
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4146
4168
|
}
|
|
4147
4169
|
function Be(e, t = re().fallbackLocale) {
|
|
4148
|
-
const r =
|
|
4149
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4170
|
+
const r = Mt(e);
|
|
4171
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
|
4150
4172
|
}
|
|
4151
4173
|
function z() {
|
|
4152
|
-
return
|
|
4174
|
+
return at ?? void 0;
|
|
4153
4175
|
}
|
|
4154
4176
|
we.subscribe((e) => {
|
|
4155
|
-
|
|
4177
|
+
at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4156
4178
|
});
|
|
4157
|
-
const
|
|
4158
|
-
if (e &&
|
|
4179
|
+
const Zn = (e) => {
|
|
4180
|
+
if (e && Nn(e) && st(e)) {
|
|
4159
4181
|
const { loadingDelay: t } = re();
|
|
4160
4182
|
let r;
|
|
4161
4183
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4162
|
-
() =>
|
|
4184
|
+
() => Ve.set(!0),
|
|
4163
4185
|
t
|
|
4164
|
-
) :
|
|
4186
|
+
) : Ve.set(!0), _r(e).then(() => {
|
|
4165
4187
|
we.set(e);
|
|
4166
4188
|
}).finally(() => {
|
|
4167
|
-
clearTimeout(r),
|
|
4189
|
+
clearTimeout(r), Ve.set(!1);
|
|
4168
4190
|
});
|
|
4169
4191
|
}
|
|
4170
4192
|
return we.set(e);
|
|
4171
|
-
}, oe =
|
|
4172
|
-
set:
|
|
4193
|
+
}, oe = zn(Xn({}, we), {
|
|
4194
|
+
set: Zn
|
|
4173
4195
|
}), Oe = (e) => {
|
|
4174
4196
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4175
4197
|
return (i) => {
|
|
@@ -4177,20 +4199,20 @@ const Wn = (e) => {
|
|
|
4177
4199
|
return n in t ? t[n] : t[n] = e(i);
|
|
4178
4200
|
};
|
|
4179
4201
|
};
|
|
4180
|
-
var
|
|
4202
|
+
var Qn = Object.defineProperty, Ae = 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) => {
|
|
4181
4203
|
for (var r in t || (t = {}))
|
|
4182
|
-
|
|
4204
|
+
Er.call(t, r) && Dt(e, r, t[r]);
|
|
4183
4205
|
if (Ae)
|
|
4184
4206
|
for (var r of Ae(t))
|
|
4185
|
-
|
|
4207
|
+
xr.call(t, r) && Dt(e, r, t[r]);
|
|
4186
4208
|
return e;
|
|
4187
4209
|
}, se = (e, t) => {
|
|
4188
4210
|
var r = {};
|
|
4189
4211
|
for (var i in e)
|
|
4190
|
-
|
|
4212
|
+
Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4191
4213
|
if (e != null && Ae)
|
|
4192
4214
|
for (var i of Ae(e))
|
|
4193
|
-
t.indexOf(i) < 0 &&
|
|
4215
|
+
t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
|
|
4194
4216
|
return r;
|
|
4195
4217
|
};
|
|
4196
4218
|
const fe = (e, t) => {
|
|
@@ -4198,21 +4220,21 @@ const fe = (e, t) => {
|
|
|
4198
4220
|
if (e in r && t in r[e])
|
|
4199
4221
|
return r[e][t];
|
|
4200
4222
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4201
|
-
},
|
|
4223
|
+
}, Yn = Oe(
|
|
4202
4224
|
(e) => {
|
|
4203
4225
|
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4204
4226
|
if (r == null)
|
|
4205
4227
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4206
4228
|
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
4207
4229
|
}
|
|
4208
|
-
),
|
|
4230
|
+
), Jn = Oe(
|
|
4209
4231
|
(e) => {
|
|
4210
4232
|
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4211
4233
|
if (r == null)
|
|
4212
4234
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4213
4235
|
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4214
4236
|
}
|
|
4215
|
-
),
|
|
4237
|
+
), qn = Oe(
|
|
4216
4238
|
(e) => {
|
|
4217
4239
|
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4218
4240
|
if (r == null)
|
|
@@ -4221,33 +4243,33 @@ const fe = (e, t) => {
|
|
|
4221
4243
|
);
|
|
4222
4244
|
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4223
4245
|
}
|
|
4224
|
-
),
|
|
4246
|
+
), Kn = (e = {}) => {
|
|
4225
4247
|
var t = e, {
|
|
4226
4248
|
locale: r = z()
|
|
4227
4249
|
} = t, i = se(t, [
|
|
4228
4250
|
"locale"
|
|
4229
4251
|
]);
|
|
4230
|
-
return
|
|
4231
|
-
},
|
|
4252
|
+
return Yn(ft({ locale: r }, i));
|
|
4253
|
+
}, eo = (e = {}) => {
|
|
4232
4254
|
var t = e, {
|
|
4233
4255
|
locale: r = z()
|
|
4234
4256
|
} = t, i = se(t, [
|
|
4235
4257
|
"locale"
|
|
4236
4258
|
]);
|
|
4237
|
-
return
|
|
4238
|
-
},
|
|
4259
|
+
return Jn(ft({ locale: r }, i));
|
|
4260
|
+
}, to = (e = {}) => {
|
|
4239
4261
|
var t = e, {
|
|
4240
4262
|
locale: r = z()
|
|
4241
4263
|
} = t, i = se(t, [
|
|
4242
4264
|
"locale"
|
|
4243
4265
|
]);
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4266
|
+
return qn(ft({ locale: r }, i));
|
|
4267
|
+
}, ro = Oe(
|
|
4246
4268
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4247
|
-
(e, t = z()) => new
|
|
4269
|
+
(e, t = z()) => new Hn(e, t, re().formats, {
|
|
4248
4270
|
ignoreTag: re().ignoreTag
|
|
4249
4271
|
})
|
|
4250
|
-
),
|
|
4272
|
+
), io = (e, t = {}) => {
|
|
4251
4273
|
var r, i, n, o;
|
|
4252
4274
|
let a = t;
|
|
4253
4275
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4260,7 +4282,7 @@ const fe = (e, t) => {
|
|
|
4260
4282
|
throw new Error(
|
|
4261
4283
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4262
4284
|
);
|
|
4263
|
-
let l =
|
|
4285
|
+
let l = yr(e, h);
|
|
4264
4286
|
if (!l)
|
|
4265
4287
|
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;
|
|
4266
4288
|
else if (typeof l != "string")
|
|
@@ -4271,7 +4293,7 @@ const fe = (e, t) => {
|
|
|
4271
4293
|
return l;
|
|
4272
4294
|
let c = l;
|
|
4273
4295
|
try {
|
|
4274
|
-
c =
|
|
4296
|
+
c = ro(l, h).format(s);
|
|
4275
4297
|
} catch (f) {
|
|
4276
4298
|
f instanceof Error && console.warn(
|
|
4277
4299
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4279,20 +4301,20 @@ const fe = (e, t) => {
|
|
|
4279
4301
|
);
|
|
4280
4302
|
}
|
|
4281
4303
|
return c;
|
|
4282
|
-
},
|
|
4283
|
-
ne([oe], () =>
|
|
4284
|
-
ne([oe], () =>
|
|
4285
|
-
ne([oe], () =>
|
|
4286
|
-
ne([oe, me], () =>
|
|
4287
|
-
window.emWidgets = { topic:
|
|
4288
|
-
const
|
|
4289
|
-
function
|
|
4304
|
+
}, 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);
|
|
4305
|
+
ne([oe], () => no);
|
|
4306
|
+
ne([oe], () => oo);
|
|
4307
|
+
ne([oe], () => so);
|
|
4308
|
+
ne([oe, me], () => ao);
|
|
4309
|
+
window.emWidgets = { topic: Ei };
|
|
4310
|
+
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)), Do = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4311
|
+
function ho(e, t) {
|
|
4290
4312
|
if (e) {
|
|
4291
4313
|
const r = document.createElement("style");
|
|
4292
4314
|
r.innerHTML = t, e.appendChild(r);
|
|
4293
4315
|
}
|
|
4294
4316
|
}
|
|
4295
|
-
function
|
|
4317
|
+
function co(e, t) {
|
|
4296
4318
|
const r = new URL(t);
|
|
4297
4319
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4298
4320
|
const n = document.createElement("style");
|
|
@@ -4301,7 +4323,7 @@ function uo(e, t) {
|
|
|
4301
4323
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4302
4324
|
});
|
|
4303
4325
|
}
|
|
4304
|
-
function
|
|
4326
|
+
function fo(e, t, r) {
|
|
4305
4327
|
if (window.emMessageBus) {
|
|
4306
4328
|
const i = document.createElement("style");
|
|
4307
4329
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4309,13 +4331,13 @@ function lo(e, t, r) {
|
|
|
4309
4331
|
});
|
|
4310
4332
|
}
|
|
4311
4333
|
}
|
|
4312
|
-
function
|
|
4313
|
-
|
|
4334
|
+
function Ut(e, t) {
|
|
4335
|
+
br(e, t);
|
|
4314
4336
|
}
|
|
4315
|
-
function
|
|
4337
|
+
function mo(e) {
|
|
4316
4338
|
oe.set(e);
|
|
4317
4339
|
}
|
|
4318
|
-
const
|
|
4340
|
+
const We = {
|
|
4319
4341
|
en: {
|
|
4320
4342
|
expandLimits: "LIMIT HISTORY",
|
|
4321
4343
|
daily: "per day",
|
|
@@ -4566,26 +4588,26 @@ const Ve = {
|
|
|
4566
4588
|
historyLimitTypeLoss: "Loss Limit"
|
|
4567
4589
|
}
|
|
4568
4590
|
};
|
|
4569
|
-
function
|
|
4570
|
-
|
|
4591
|
+
function po(e) {
|
|
4592
|
+
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)}}');
|
|
4571
4593
|
}
|
|
4572
|
-
function
|
|
4594
|
+
function $t(e, t, r) {
|
|
4573
4595
|
const i = e.slice();
|
|
4574
4596
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4575
4597
|
}
|
|
4576
|
-
function
|
|
4598
|
+
function yo(e) {
|
|
4577
4599
|
let t, r, i, n = (
|
|
4578
4600
|
/*$_*/
|
|
4579
4601
|
e[9]("expandLimits") + ""
|
|
4580
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4602
|
+
), o, a, s, h, u, l, c, f, p, y = gt(
|
|
4581
4603
|
/*lazyShowedHistoryArray*/
|
|
4582
4604
|
e[7]
|
|
4583
4605
|
), d = [];
|
|
4584
4606
|
for (let v = 0; v < y.length; v += 1)
|
|
4585
|
-
d[v] =
|
|
4607
|
+
d[v] = Gt($t(e, y, v));
|
|
4586
4608
|
return {
|
|
4587
4609
|
c() {
|
|
4588
|
-
t = P("div"), r = P("div"), i = P("button"), o = R(n), a =
|
|
4610
|
+
t = P("div"), r = P("div"), i = P("button"), o = R(n), a = Xe(), s = Me("svg"), h = Me("path"), u = Me("path"), l = Xe(), c = P("div");
|
|
4589
4611
|
for (let v = 0; v < d.length; v += 1)
|
|
4590
4612
|
d[v].c();
|
|
4591
4613
|
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(
|
|
@@ -4605,7 +4627,7 @@ function fo(e) {
|
|
|
4605
4627
|
X(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);
|
|
4606
4628
|
for (let g = 0; g < d.length; g += 1)
|
|
4607
4629
|
d[g] && d[g].m(c, null);
|
|
4608
|
-
f || (p =
|
|
4630
|
+
f || (p = Vr(
|
|
4609
4631
|
i,
|
|
4610
4632
|
"click",
|
|
4611
4633
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4623,14 +4645,14 @@ function fo(e) {
|
|
|
4623
4645
|
v[8]
|
|
4624
4646
|
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4625
4647
|
650) {
|
|
4626
|
-
y =
|
|
4648
|
+
y = gt(
|
|
4627
4649
|
/*lazyShowedHistoryArray*/
|
|
4628
4650
|
v[7]
|
|
4629
4651
|
);
|
|
4630
4652
|
let g;
|
|
4631
4653
|
for (g = 0; g < y.length; g += 1) {
|
|
4632
|
-
const w =
|
|
4633
|
-
d[g] ? d[g].p(w, H) : (d[g] =
|
|
4654
|
+
const w = $t(v, y, g);
|
|
4655
|
+
d[g] ? d[g].p(w, H) : (d[g] = Gt(w), d[g].c(), d[g].m(c, null));
|
|
4634
4656
|
}
|
|
4635
4657
|
for (; g < d.length; g += 1)
|
|
4636
4658
|
d[g].d(1);
|
|
@@ -4645,14 +4667,14 @@ function fo(e) {
|
|
|
4645
4667
|
);
|
|
4646
4668
|
},
|
|
4647
4669
|
d(v) {
|
|
4648
|
-
v && k(t),
|
|
4670
|
+
v && k(t), kr(d, v), f = !1, p();
|
|
4649
4671
|
}
|
|
4650
4672
|
};
|
|
4651
4673
|
}
|
|
4652
|
-
function
|
|
4674
|
+
function go(e) {
|
|
4653
4675
|
return { c: B, m: B, p: B, d: B };
|
|
4654
4676
|
}
|
|
4655
|
-
function
|
|
4677
|
+
function bo(e) {
|
|
4656
4678
|
let t, r = (
|
|
4657
4679
|
/*lang*/
|
|
4658
4680
|
(e[0] ? (
|
|
@@ -4680,7 +4702,7 @@ function po(e) {
|
|
|
4680
4702
|
}
|
|
4681
4703
|
};
|
|
4682
4704
|
}
|
|
4683
|
-
function
|
|
4705
|
+
function vo(e) {
|
|
4684
4706
|
let t, r, i, n = (
|
|
4685
4707
|
/*history*/
|
|
4686
4708
|
e[37].type + ""
|
|
@@ -4712,7 +4734,7 @@ function yo(e) {
|
|
|
4712
4734
|
}
|
|
4713
4735
|
};
|
|
4714
4736
|
}
|
|
4715
|
-
function
|
|
4737
|
+
function _o(e) {
|
|
4716
4738
|
let t, r, i, n = (
|
|
4717
4739
|
/*history*/
|
|
4718
4740
|
e[37].type + ""
|
|
@@ -4744,7 +4766,7 @@ function go(e) {
|
|
|
4744
4766
|
}
|
|
4745
4767
|
};
|
|
4746
4768
|
}
|
|
4747
|
-
function
|
|
4769
|
+
function Gt(e) {
|
|
4748
4770
|
let t, r, i, n = (
|
|
4749
4771
|
/*index*/
|
|
4750
4772
|
e[39]
|
|
@@ -4752,7 +4774,7 @@ function Dt(e) {
|
|
|
4752
4774
|
function o(l, c) {
|
|
4753
4775
|
return (
|
|
4754
4776
|
/*history*/
|
|
4755
|
-
l[37].removed ?
|
|
4777
|
+
l[37].removed ? _o : vo
|
|
4756
4778
|
);
|
|
4757
4779
|
}
|
|
4758
4780
|
let a = o(e), s = a(e);
|
|
@@ -4765,7 +4787,7 @@ function Dt(e) {
|
|
|
4765
4787
|
);
|
|
4766
4788
|
return {
|
|
4767
4789
|
c() {
|
|
4768
|
-
t = P("div"), s.c(), r =
|
|
4790
|
+
t = P("div"), s.c(), r = Xe(), x(t, "class", i = dt(
|
|
4769
4791
|
/*index*/
|
|
4770
4792
|
e[39] > +/*numberofentries*/
|
|
4771
4793
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4776,7 +4798,7 @@ function Dt(e) {
|
|
|
4776
4798
|
},
|
|
4777
4799
|
p(l, c) {
|
|
4778
4800
|
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*/
|
|
4779
|
-
2 && i !== (i =
|
|
4801
|
+
2 && i !== (i = dt(
|
|
4780
4802
|
/*index*/
|
|
4781
4803
|
e[39] > +/*numberofentries*/
|
|
4782
4804
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4789,14 +4811,14 @@ function Dt(e) {
|
|
|
4789
4811
|
}
|
|
4790
4812
|
};
|
|
4791
4813
|
}
|
|
4792
|
-
function
|
|
4814
|
+
function Eo(e) {
|
|
4793
4815
|
let t;
|
|
4794
4816
|
function r(o, a) {
|
|
4795
4817
|
return (
|
|
4796
4818
|
/*hasErrors*/
|
|
4797
|
-
o[6] ?
|
|
4819
|
+
o[6] ? bo : (
|
|
4798
4820
|
/*isLoading*/
|
|
4799
|
-
o[4] ?
|
|
4821
|
+
o[4] ? go : yo
|
|
4800
4822
|
)
|
|
4801
4823
|
);
|
|
4802
4824
|
}
|
|
@@ -4818,23 +4840,23 @@ function bo(e) {
|
|
|
4818
4840
|
}
|
|
4819
4841
|
};
|
|
4820
4842
|
}
|
|
4821
|
-
function
|
|
4843
|
+
function xo(e, t, r) {
|
|
4822
4844
|
let i;
|
|
4823
|
-
|
|
4824
|
-
let n = window.navigator.userAgent, o = !
|
|
4825
|
-
const
|
|
4845
|
+
$r(e, uo, (m) => r(9, i = m));
|
|
4846
|
+
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(), M = parseInt(c, 10), N = !1, D = !0, V = [], pe = [], de = !0, Ce = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4847
|
+
const Lr = () => {
|
|
4826
4848
|
fetch(H).then((L) => L.json()).then((L) => {
|
|
4827
4849
|
Object.keys(L).forEach((C) => {
|
|
4828
|
-
|
|
4850
|
+
Ut(C, L[C]);
|
|
4829
4851
|
});
|
|
4830
4852
|
}).catch((L) => {
|
|
4831
4853
|
console.log(L);
|
|
4832
4854
|
});
|
|
4833
4855
|
};
|
|
4834
|
-
Object.keys(
|
|
4835
|
-
|
|
4856
|
+
Object.keys(We).forEach((m) => {
|
|
4857
|
+
Ut(m, We[m]);
|
|
4836
4858
|
});
|
|
4837
|
-
const
|
|
4859
|
+
const Sr = () => {
|
|
4838
4860
|
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
|
|
4839
4861
|
L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
|
|
4840
4862
|
let C = {
|
|
@@ -4847,14 +4869,14 @@ function vo(e, t, r) {
|
|
|
4847
4869
|
return A.json();
|
|
4848
4870
|
}).then(
|
|
4849
4871
|
(A) => {
|
|
4850
|
-
A.length && (V =
|
|
4872
|
+
A.length && (V = wr(A), r(7, pe = V.slice(0, M))), r(4, D = !1);
|
|
4851
4873
|
},
|
|
4852
4874
|
(A) => {
|
|
4853
4875
|
console.error("There was an error", A), r(6, N = !0);
|
|
4854
4876
|
}
|
|
4855
4877
|
);
|
|
4856
|
-
},
|
|
4857
|
-
const L = !!
|
|
4878
|
+
}, wr = (m) => {
|
|
4879
|
+
const L = !!We[a];
|
|
4858
4880
|
return m.map((A) => {
|
|
4859
4881
|
let U = {
|
|
4860
4882
|
amount: "",
|
|
@@ -4864,34 +4886,34 @@ function vo(e, t, r) {
|
|
|
4864
4886
|
type: "",
|
|
4865
4887
|
removed: !1
|
|
4866
4888
|
};
|
|
4867
|
-
return U.amount =
|
|
4889
|
+
return U.amount = Ar(A), U.currency = L ? ae[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
|
|
4868
4890
|
});
|
|
4869
|
-
},
|
|
4891
|
+
}, Ar = (m) => {
|
|
4870
4892
|
let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4871
4893
|
if (!p) {
|
|
4872
|
-
let
|
|
4873
|
-
return `${L}${
|
|
4894
|
+
let Mr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4895
|
+
return `${L}${Mr}`;
|
|
4874
4896
|
}
|
|
4875
4897
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4876
4898
|
const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4877
4899
|
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4878
|
-
const [
|
|
4879
|
-
let [Re,
|
|
4880
|
-
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
4900
|
+
const [Nr, Ne] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4901
|
+
let [Re, Rr] = ye.split(".");
|
|
4902
|
+
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), ye = `${Re}${Ne}${Rr}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
|
|
4881
4903
|
U,
|
|
4882
4904
|
ye.split(Ne)[1]
|
|
4883
4905
|
), L;
|
|
4884
|
-
},
|
|
4906
|
+
}, Pr = () => {
|
|
4885
4907
|
r(5, de = !de), r(8, Ce = !Ce);
|
|
4886
4908
|
};
|
|
4887
|
-
let
|
|
4909
|
+
let mt = new IntersectionObserver((m) => {
|
|
4888
4910
|
m.forEach((L) => {
|
|
4889
4911
|
L.isIntersecting && (M += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, M)));
|
|
4890
4912
|
});
|
|
4891
4913
|
});
|
|
4892
|
-
const
|
|
4893
|
-
|
|
4894
|
-
},
|
|
4914
|
+
const Hr = () => {
|
|
4915
|
+
mt.observe(w[w.length - 1]);
|
|
4916
|
+
}, Ir = () => {
|
|
4895
4917
|
if (!f)
|
|
4896
4918
|
return;
|
|
4897
4919
|
let m = {};
|
|
@@ -4899,18 +4921,18 @@ function vo(e, t, r) {
|
|
|
4899
4921
|
let C = L.split(":");
|
|
4900
4922
|
m[C[0].trim()] = C[1].trim();
|
|
4901
4923
|
}), ae = { ...ae, ...m };
|
|
4902
|
-
},
|
|
4903
|
-
|
|
4924
|
+
}, Br = () => {
|
|
4925
|
+
mo(a);
|
|
4904
4926
|
};
|
|
4905
|
-
|
|
4906
|
-
|
|
4927
|
+
Zr(() => () => {
|
|
4928
|
+
mt.unobserve(w[w.length - 1]);
|
|
4907
4929
|
});
|
|
4908
|
-
function
|
|
4930
|
+
function Or(m, L) {
|
|
4909
4931
|
Se[m ? "unshift" : "push"](() => {
|
|
4910
4932
|
w[L] = m, r(3, w);
|
|
4911
4933
|
});
|
|
4912
4934
|
}
|
|
4913
|
-
function
|
|
4935
|
+
function Cr(m) {
|
|
4914
4936
|
Se[m ? "unshift" : "push"](() => {
|
|
4915
4937
|
g = m, r(2, g);
|
|
4916
4938
|
});
|
|
@@ -4919,14 +4941,14 @@ function vo(e, t, r) {
|
|
|
4919
4941
|
"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);
|
|
4920
4942
|
}, e.$$.update = () => {
|
|
4921
4943
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4922
|
-
65536 && f &&
|
|
4923
|
-
61440 && u && s && h && l &&
|
|
4924
|
-
56 && w[0] && !D && !de &&
|
|
4925
|
-
1 && a &&
|
|
4926
|
-
262148 && y && g &&
|
|
4927
|
-
524292 && d && g &&
|
|
4928
|
-
1048580 && v && g &&
|
|
4929
|
-
2097156 && H && g &&
|
|
4944
|
+
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4945
|
+
61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4946
|
+
56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
|
|
4947
|
+
1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4948
|
+
262148 && y && g && ho(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4949
|
+
524292 && d && g && co(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4950
|
+
1048580 && v && g && fo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4951
|
+
2097156 && H && g && Lr();
|
|
4930
4952
|
}, [
|
|
4931
4953
|
a,
|
|
4932
4954
|
c,
|
|
@@ -4939,7 +4961,7 @@ function vo(e, t, r) {
|
|
|
4939
4961
|
Ce,
|
|
4940
4962
|
i,
|
|
4941
4963
|
o,
|
|
4942
|
-
|
|
4964
|
+
Pr,
|
|
4943
4965
|
s,
|
|
4944
4966
|
h,
|
|
4945
4967
|
u,
|
|
@@ -4950,18 +4972,18 @@ function vo(e, t, r) {
|
|
|
4950
4972
|
d,
|
|
4951
4973
|
v,
|
|
4952
4974
|
H,
|
|
4953
|
-
|
|
4954
|
-
|
|
4975
|
+
Or,
|
|
4976
|
+
Cr
|
|
4955
4977
|
];
|
|
4956
4978
|
}
|
|
4957
|
-
class
|
|
4979
|
+
class Tr extends oi {
|
|
4958
4980
|
constructor(t) {
|
|
4959
|
-
super(),
|
|
4981
|
+
super(), ii(
|
|
4960
4982
|
this,
|
|
4961
4983
|
t,
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4984
|
+
xo,
|
|
4985
|
+
Eo,
|
|
4986
|
+
jt,
|
|
4965
4987
|
{
|
|
4966
4988
|
lang: 0,
|
|
4967
4989
|
userid: 12,
|
|
@@ -4976,7 +4998,7 @@ class vr extends ti {
|
|
|
4976
4998
|
mbsource: 20,
|
|
4977
4999
|
translationurl: 21
|
|
4978
5000
|
},
|
|
4979
|
-
|
|
5001
|
+
po,
|
|
4980
5002
|
[-1, -1]
|
|
4981
5003
|
);
|
|
4982
5004
|
}
|
|
@@ -5053,59 +5075,59 @@ class vr extends ti {
|
|
|
5053
5075
|
this.$$set({ translationurl: t }), O();
|
|
5054
5076
|
}
|
|
5055
5077
|
}
|
|
5056
|
-
|
|
5057
|
-
const
|
|
5078
|
+
ni(Tr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5079
|
+
const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5058
5080
|
__proto__: null,
|
|
5059
|
-
default:
|
|
5081
|
+
default: Tr
|
|
5060
5082
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5061
5083
|
export {
|
|
5062
5084
|
oe as $,
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5085
|
+
gt as A,
|
|
5086
|
+
Io as B,
|
|
5087
|
+
kr as C,
|
|
5088
|
+
ie as D,
|
|
5089
|
+
Ze as E,
|
|
5090
|
+
Oo as F,
|
|
5091
|
+
uo as G,
|
|
5092
|
+
Me as H,
|
|
5093
|
+
Bo as I,
|
|
5072
5094
|
me as J,
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5095
|
+
Mo as K,
|
|
5096
|
+
Ro as L,
|
|
5097
|
+
Kr as M,
|
|
5098
|
+
Do as N,
|
|
5099
|
+
No as O,
|
|
5100
|
+
Po as P,
|
|
5101
|
+
To as Q,
|
|
5102
|
+
So as R,
|
|
5103
|
+
oi as S,
|
|
5104
|
+
wo as T,
|
|
5105
|
+
Lo as U,
|
|
5106
|
+
Uo as V,
|
|
5107
|
+
br as a,
|
|
5108
|
+
Gr as b,
|
|
5109
|
+
ni as c,
|
|
5110
|
+
Xe as d,
|
|
5111
|
+
P as e,
|
|
5090
5112
|
O as f,
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5113
|
+
x as g,
|
|
5114
|
+
T as h,
|
|
5115
|
+
ii as i,
|
|
5116
|
+
X as j,
|
|
5117
|
+
k,
|
|
5118
|
+
$r as l,
|
|
5119
|
+
lo as m,
|
|
5098
5120
|
B as n,
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5121
|
+
Zr as o,
|
|
5122
|
+
co as p,
|
|
5123
|
+
fo as q,
|
|
5124
|
+
Co as r,
|
|
5125
|
+
jt as s,
|
|
5126
|
+
Ho as t,
|
|
5127
|
+
Se as u,
|
|
5128
|
+
ho as v,
|
|
5129
|
+
R as w,
|
|
5108
5130
|
Ao as x,
|
|
5109
|
-
|
|
5110
|
-
|
|
5131
|
+
Vr as y,
|
|
5132
|
+
j as z
|
|
5111
5133
|
};
|