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