@everymatrix/player-account-gaming-limits-wrapper-2 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsHistory2-CiXyC3tt.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +846 -789
- package/components/{PlayerAccountGamingLimitsHistory2-B_EpYgGO.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +657 -600
- package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-dOdpXKWp.js → PlayerAccountGamingLimitsPage2Gm16-CVQA1OzN.js} +34 -21
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Ag6s1IrL.js → PlayerAccountGamingLimitsPage2Gm16-DAO9xs8v.js} +35 -22
- package/components/{PlayerAccountGamingLimitsPage2Gm16-qB_iYvGo.cjs → PlayerAccountGamingLimitsPage2Gm16-YT7q0L2x.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Ba3KSOs3.js → PlayerAccountGamingLimitsWrapper2-BI1e7Suv.js} +19 -19
- package/components/{PlayerAccountGamingLimitsWrapper2-CzYC-JDk.cjs → PlayerAccountGamingLimitsWrapper2-D6BtA2Oq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CYkP1B3_.js → PlayerAccountGamingLimitsWrapper2-T9cBmOrL.js} +32 -32
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
- package/components/PlayerAccountGamingLimitsHistory2-BzyxDCHg.cjs +0 -5
- package/stencil/index-db5752f9--Bvt52z2.js +0 -610
- package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
4
|
-
for (const r in t)
|
|
3
|
+
function Dr(e, t) {
|
|
4
|
+
for (const r in t)
|
|
5
|
+
e[r] = t[r];
|
|
5
6
|
return (
|
|
6
7
|
/** @type {T & S} */
|
|
7
8
|
e
|
|
8
9
|
);
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
+
function Ft(e) {
|
|
11
12
|
return e();
|
|
12
13
|
}
|
|
13
|
-
function
|
|
14
|
+
function pt() {
|
|
14
15
|
return /* @__PURE__ */ Object.create(null);
|
|
15
16
|
}
|
|
16
17
|
function ie(e) {
|
|
17
|
-
e.forEach(
|
|
18
|
+
e.forEach(Ft);
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function ut(e) {
|
|
20
21
|
return typeof e == "function";
|
|
21
22
|
}
|
|
22
|
-
function
|
|
23
|
+
function jt(e, t) {
|
|
23
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
+
function Ur(e) {
|
|
26
27
|
return Object.keys(e).length === 0;
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
+
function kt(e, ...t) {
|
|
29
30
|
if (e == null) {
|
|
30
31
|
for (const i of t)
|
|
31
32
|
i(void 0);
|
|
@@ -34,19 +35,19 @@ function Gt(e, ...t) {
|
|
|
34
35
|
const r = e.subscribe(...t);
|
|
35
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function $r(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(kt(t, r));
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function To(e, t, r, i) {
|
|
41
42
|
if (e) {
|
|
42
|
-
const n =
|
|
43
|
+
const n = Vt(e, t, r, i);
|
|
43
44
|
return e[0](n);
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
function
|
|
47
|
-
return e[1] && i ?
|
|
47
|
+
function Vt(e, t, r, i) {
|
|
48
|
+
return e[1] && i ? Dr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
48
49
|
}
|
|
49
|
-
function
|
|
50
|
+
function Lo(e, t, r, i) {
|
|
50
51
|
if (e[2] && i) {
|
|
51
52
|
const n = e[2](i(r));
|
|
52
53
|
if (t.dirty === void 0)
|
|
@@ -61,13 +62,13 @@ function Eo(e, t, r, i) {
|
|
|
61
62
|
}
|
|
62
63
|
return t.dirty;
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
+
function So(e, t, r, i, n, o) {
|
|
65
66
|
if (n) {
|
|
66
|
-
const a =
|
|
67
|
+
const a = Vt(t, r, i, o);
|
|
67
68
|
e.p(a, n);
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
|
-
function
|
|
71
|
+
function wo(e) {
|
|
71
72
|
if (e.ctx.length > 32) {
|
|
72
73
|
const t = [], r = e.ctx.length / 32;
|
|
73
74
|
for (let i = 0; i < r; i++)
|
|
@@ -76,21 +77,22 @@ function To(e) {
|
|
|
76
77
|
}
|
|
77
78
|
return -1;
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function dt(e) {
|
|
80
81
|
return e ?? "";
|
|
81
82
|
}
|
|
82
83
|
function T(e, t) {
|
|
83
84
|
e.appendChild(t);
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
-
const i =
|
|
86
|
+
function Gr(e, t, r) {
|
|
87
|
+
const i = Fr(e);
|
|
87
88
|
if (!i.getElementById(t)) {
|
|
88
89
|
const n = P("style");
|
|
89
|
-
n.id = t, n.textContent = r,
|
|
90
|
+
n.id = t, n.textContent = r, jr(i, n);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
-
if (!e)
|
|
93
|
+
function Fr(e) {
|
|
94
|
+
if (!e)
|
|
95
|
+
return document;
|
|
94
96
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
95
97
|
return t && /** @type {ShadowRoot} */
|
|
96
98
|
t.host ? (
|
|
@@ -98,7 +100,7 @@ function Dr(e) {
|
|
|
98
100
|
t
|
|
99
101
|
) : e.ownerDocument;
|
|
100
102
|
}
|
|
101
|
-
function
|
|
103
|
+
function jr(e, t) {
|
|
102
104
|
return T(
|
|
103
105
|
/** @type {Document} */
|
|
104
106
|
e.head || e,
|
|
@@ -111,7 +113,7 @@ function X(e, t, r) {
|
|
|
111
113
|
function k(e) {
|
|
112
114
|
e.parentNode && e.parentNode.removeChild(e);
|
|
113
115
|
}
|
|
114
|
-
function
|
|
116
|
+
function kr(e, t) {
|
|
115
117
|
for (let r = 0; r < e.length; r += 1)
|
|
116
118
|
e[r] && e[r].d(t);
|
|
117
119
|
}
|
|
@@ -124,39 +126,39 @@ function Me(e) {
|
|
|
124
126
|
function R(e) {
|
|
125
127
|
return document.createTextNode(e);
|
|
126
128
|
}
|
|
127
|
-
function
|
|
129
|
+
function Xe() {
|
|
128
130
|
return R(" ");
|
|
129
131
|
}
|
|
130
|
-
function
|
|
132
|
+
function Ao() {
|
|
131
133
|
return R("");
|
|
132
134
|
}
|
|
133
|
-
function
|
|
135
|
+
function Vr(e, t, r, i) {
|
|
134
136
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
135
137
|
}
|
|
136
138
|
function x(e, t, r) {
|
|
137
139
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
138
140
|
}
|
|
139
|
-
function
|
|
141
|
+
function Po(e, t, r) {
|
|
140
142
|
const i = t.toLowerCase();
|
|
141
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);
|
|
142
144
|
}
|
|
143
|
-
function
|
|
145
|
+
function Ho(e) {
|
|
144
146
|
return e === "" ? null : +e;
|
|
145
147
|
}
|
|
146
|
-
function
|
|
148
|
+
function Wr(e) {
|
|
147
149
|
return Array.from(e.childNodes);
|
|
148
150
|
}
|
|
149
151
|
function j(e, t) {
|
|
150
152
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
151
153
|
t);
|
|
152
154
|
}
|
|
153
|
-
function
|
|
155
|
+
function Io(e, t) {
|
|
154
156
|
e.value = t ?? "";
|
|
155
157
|
}
|
|
156
|
-
function
|
|
158
|
+
function Bo(e, t, r, i) {
|
|
157
159
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
158
160
|
}
|
|
159
|
-
function
|
|
161
|
+
function Oo(e, t, r) {
|
|
160
162
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
161
163
|
const n = e.options[i];
|
|
162
164
|
if (n.__value === t) {
|
|
@@ -166,14 +168,14 @@ function Ho(e, t, r) {
|
|
|
166
168
|
}
|
|
167
169
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
168
170
|
}
|
|
169
|
-
function
|
|
171
|
+
function Co(e) {
|
|
170
172
|
const t = e.querySelector(":checked");
|
|
171
173
|
return t && t.__value;
|
|
172
174
|
}
|
|
173
175
|
function ge(e, t, r) {
|
|
174
176
|
e.classList.toggle(t, !!r);
|
|
175
177
|
}
|
|
176
|
-
function
|
|
178
|
+
function Xr(e) {
|
|
177
179
|
const t = {};
|
|
178
180
|
return e.childNodes.forEach(
|
|
179
181
|
/** @param {Element} node */
|
|
@@ -186,21 +188,22 @@ let he;
|
|
|
186
188
|
function le(e) {
|
|
187
189
|
he = e;
|
|
188
190
|
}
|
|
189
|
-
function
|
|
190
|
-
if (!he)
|
|
191
|
+
function zr() {
|
|
192
|
+
if (!he)
|
|
193
|
+
throw new Error("Function called outside component initialization");
|
|
191
194
|
return he;
|
|
192
195
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
196
|
+
function Zr(e) {
|
|
197
|
+
zr().$$.on_mount.push(e);
|
|
195
198
|
}
|
|
196
199
|
const Y = [], Se = [];
|
|
197
200
|
let J = [];
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
|
|
201
|
+
const yt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let ze = !1;
|
|
203
|
+
function Yr() {
|
|
204
|
+
ze || (ze = !0, Qr.then(O));
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function Ze(e) {
|
|
204
207
|
J.push(e);
|
|
205
208
|
}
|
|
206
209
|
const De = /* @__PURE__ */ new Set();
|
|
@@ -213,36 +216,37 @@ function O() {
|
|
|
213
216
|
try {
|
|
214
217
|
for (; Z < Y.length; ) {
|
|
215
218
|
const t = Y[Z];
|
|
216
|
-
Z++, le(t),
|
|
219
|
+
Z++, le(t), Jr(t.$$);
|
|
217
220
|
}
|
|
218
221
|
} catch (t) {
|
|
219
222
|
throw Y.length = 0, Z = 0, t;
|
|
220
223
|
}
|
|
221
|
-
for (le(null), Y.length = 0, Z = 0; Se.length; )
|
|
224
|
+
for (le(null), Y.length = 0, Z = 0; Se.length; )
|
|
225
|
+
Se.pop()();
|
|
222
226
|
for (let t = 0; t < J.length; t += 1) {
|
|
223
227
|
const r = J[t];
|
|
224
228
|
De.has(r) || (De.add(r), r());
|
|
225
229
|
}
|
|
226
230
|
J.length = 0;
|
|
227
231
|
} while (Y.length);
|
|
228
|
-
for (;
|
|
229
|
-
|
|
230
|
-
|
|
232
|
+
for (; yt.length; )
|
|
233
|
+
yt.pop()();
|
|
234
|
+
ze = !1, De.clear(), le(e);
|
|
231
235
|
}
|
|
232
|
-
function
|
|
236
|
+
function Jr(e) {
|
|
233
237
|
if (e.fragment !== null) {
|
|
234
238
|
e.update(), ie(e.before_update);
|
|
235
239
|
const t = e.dirty;
|
|
236
|
-
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);
|
|
237
241
|
}
|
|
238
242
|
}
|
|
239
|
-
function
|
|
243
|
+
function qr(e) {
|
|
240
244
|
const t = [], r = [];
|
|
241
245
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
242
246
|
}
|
|
243
247
|
const _e = /* @__PURE__ */ new Set();
|
|
244
248
|
let W;
|
|
245
|
-
function
|
|
249
|
+
function No() {
|
|
246
250
|
W = {
|
|
247
251
|
r: 0,
|
|
248
252
|
c: [],
|
|
@@ -250,38 +254,40 @@ function Bo() {
|
|
|
250
254
|
// parent group
|
|
251
255
|
};
|
|
252
256
|
}
|
|
253
|
-
function
|
|
257
|
+
function Ro() {
|
|
254
258
|
W.r || ie(W.c), W = W.p;
|
|
255
259
|
}
|
|
256
|
-
function
|
|
260
|
+
function Kr(e, t) {
|
|
257
261
|
e && e.i && (_e.delete(e), e.i(t));
|
|
258
262
|
}
|
|
259
|
-
function
|
|
263
|
+
function Mo(e, t, r, i) {
|
|
260
264
|
if (e && e.o) {
|
|
261
|
-
if (_e.has(e))
|
|
265
|
+
if (_e.has(e))
|
|
266
|
+
return;
|
|
262
267
|
_e.add(e), W.c.push(() => {
|
|
263
268
|
_e.delete(e), i && (r && e.d(1), i());
|
|
264
269
|
}), e.o(t);
|
|
265
|
-
} else
|
|
270
|
+
} else
|
|
271
|
+
i && i();
|
|
266
272
|
}
|
|
267
|
-
function
|
|
273
|
+
function gt(e) {
|
|
268
274
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
269
275
|
}
|
|
270
|
-
function
|
|
276
|
+
function ei(e, t, r) {
|
|
271
277
|
const { fragment: i, after_update: n } = e.$$;
|
|
272
|
-
i && i.m(t, r),
|
|
273
|
-
const o = e.$$.on_mount.map(
|
|
278
|
+
i && i.m(t, r), Ze(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(Ft).filter(ut);
|
|
274
280
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
275
|
-
}), n.forEach(
|
|
281
|
+
}), n.forEach(Ze);
|
|
276
282
|
}
|
|
277
|
-
function
|
|
283
|
+
function ti(e, t) {
|
|
278
284
|
const r = e.$$;
|
|
279
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
280
286
|
}
|
|
281
|
-
function
|
|
282
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
287
|
+
function ri(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
289
|
}
|
|
284
|
-
function
|
|
290
|
+
function ii(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
285
291
|
const h = he;
|
|
286
292
|
le(e);
|
|
287
293
|
const u = e.$$ = {
|
|
@@ -291,7 +297,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
291
297
|
props: o,
|
|
292
298
|
update: B,
|
|
293
299
|
not_equal: n,
|
|
294
|
-
bound:
|
|
300
|
+
bound: pt(),
|
|
295
301
|
// lifecycle
|
|
296
302
|
on_mount: [],
|
|
297
303
|
on_destroy: [],
|
|
@@ -300,7 +306,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
300
306
|
after_update: [],
|
|
301
307
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
302
308
|
// everything else
|
|
303
|
-
callbacks:
|
|
309
|
+
callbacks: pt(),
|
|
304
310
|
dirty: s,
|
|
305
311
|
skip_bound: !1,
|
|
306
312
|
root: t.target || h.$$.root
|
|
@@ -309,19 +315,19 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
309
315
|
let l = !1;
|
|
310
316
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
311
317
|
const y = p.length ? p[0] : f;
|
|
312
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
318
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ri(e, c)), f;
|
|
313
319
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
314
320
|
if (t.hydrate) {
|
|
315
|
-
const c =
|
|
321
|
+
const c = Wr(t.target);
|
|
316
322
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
317
323
|
} else
|
|
318
324
|
u.fragment && u.fragment.c();
|
|
319
|
-
t.intro &&
|
|
325
|
+
t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), O();
|
|
320
326
|
}
|
|
321
327
|
le(h);
|
|
322
328
|
}
|
|
323
|
-
let
|
|
324
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let Wt;
|
|
330
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
325
331
|
/** The Svelte component constructor */
|
|
326
332
|
$$ctor;
|
|
327
333
|
/** Slots */
|
|
@@ -380,7 +386,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
380
386
|
};
|
|
381
387
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
382
388
|
return;
|
|
383
|
-
const t = {}, r =
|
|
389
|
+
const t = {}, r = Xr(this);
|
|
384
390
|
for (const n of this.$$s)
|
|
385
391
|
n in r && (t[n] = [e(n)]);
|
|
386
392
|
for (const n of this.attributes) {
|
|
@@ -467,8 +473,8 @@ function Ee(e, t, r, i) {
|
|
|
467
473
|
return t;
|
|
468
474
|
}
|
|
469
475
|
}
|
|
470
|
-
function
|
|
471
|
-
let a = class extends
|
|
476
|
+
function ni(e, t, r, i, n, o) {
|
|
477
|
+
let a = class extends Wt {
|
|
472
478
|
constructor() {
|
|
473
479
|
super(e, r, n), this.$$p_d = t;
|
|
474
480
|
}
|
|
@@ -496,7 +502,7 @@ function ei(e, t, r, i, n, o) {
|
|
|
496
502
|
}), e.element = /** @type {any} */
|
|
497
503
|
a, a;
|
|
498
504
|
}
|
|
499
|
-
class
|
|
505
|
+
class oi {
|
|
500
506
|
/**
|
|
501
507
|
* ### PRIVATE API
|
|
502
508
|
*
|
|
@@ -515,7 +521,7 @@ class ti {
|
|
|
515
521
|
$$set = void 0;
|
|
516
522
|
/** @returns {void} */
|
|
517
523
|
$destroy() {
|
|
518
|
-
|
|
524
|
+
ti(this, 1), this.$destroy = B;
|
|
519
525
|
}
|
|
520
526
|
/**
|
|
521
527
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -524,7 +530,7 @@ class ti {
|
|
|
524
530
|
* @returns {() => void}
|
|
525
531
|
*/
|
|
526
532
|
$on(t, r) {
|
|
527
|
-
if (!
|
|
533
|
+
if (!ut(r))
|
|
528
534
|
return B;
|
|
529
535
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
530
536
|
return i.push(r), () => {
|
|
@@ -537,22 +543,37 @@ class ti {
|
|
|
537
543
|
* @returns {void}
|
|
538
544
|
*/
|
|
539
545
|
$set(t) {
|
|
540
|
-
this.$$set && !
|
|
546
|
+
this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
541
547
|
}
|
|
542
548
|
}
|
|
543
|
-
const
|
|
544
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
545
|
-
|
|
546
|
-
|
|
549
|
+
const si = "4";
|
|
550
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
|
|
551
|
+
/*! *****************************************************************************
|
|
552
|
+
Copyright (c) Microsoft Corporation.
|
|
553
|
+
|
|
554
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
555
|
+
purpose with or without fee is hereby granted.
|
|
556
|
+
|
|
557
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
558
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
559
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
560
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
561
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
562
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
563
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
564
|
+
***************************************************************************** */
|
|
565
|
+
var Qe = function(e, t) {
|
|
566
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
547
567
|
r.__proto__ = i;
|
|
548
568
|
} || function(r, i) {
|
|
549
|
-
for (var n in i)
|
|
550
|
-
|
|
569
|
+
for (var n in i)
|
|
570
|
+
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
571
|
+
}, Qe(e, t);
|
|
551
572
|
};
|
|
552
573
|
function G(e, t) {
|
|
553
574
|
if (typeof t != "function" && t !== null)
|
|
554
575
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
555
|
-
|
|
576
|
+
Qe(e, t);
|
|
556
577
|
function r() {
|
|
557
578
|
this.constructor = e;
|
|
558
579
|
}
|
|
@@ -562,61 +583,69 @@ var E = function() {
|
|
|
562
583
|
return E = Object.assign || function(t) {
|
|
563
584
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
564
585
|
r = arguments[i];
|
|
565
|
-
for (var o in r)
|
|
586
|
+
for (var o in r)
|
|
587
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
566
588
|
}
|
|
567
589
|
return t;
|
|
568
590
|
}, E.apply(this, arguments);
|
|
569
591
|
};
|
|
570
|
-
function
|
|
592
|
+
function ai(e, t) {
|
|
571
593
|
var r = {};
|
|
572
|
-
for (var i in e)
|
|
594
|
+
for (var i in e)
|
|
595
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
573
596
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
574
597
|
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
575
598
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
576
599
|
return r;
|
|
577
600
|
}
|
|
578
|
-
function
|
|
601
|
+
function Ye(e) {
|
|
579
602
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
580
|
-
if (r)
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
603
|
+
if (r)
|
|
604
|
+
return r.call(e);
|
|
605
|
+
if (e && typeof e.length == "number")
|
|
606
|
+
return {
|
|
607
|
+
next: function() {
|
|
608
|
+
return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
|
|
609
|
+
}
|
|
610
|
+
};
|
|
586
611
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
587
612
|
}
|
|
588
|
-
function
|
|
613
|
+
function Je(e, t) {
|
|
589
614
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
590
|
-
if (!r)
|
|
615
|
+
if (!r)
|
|
616
|
+
return e;
|
|
591
617
|
var i = r.call(e), n, o = [], a;
|
|
592
618
|
try {
|
|
593
|
-
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
619
|
+
for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
|
|
620
|
+
o.push(n.value);
|
|
594
621
|
} catch (s) {
|
|
595
622
|
a = { error: s };
|
|
596
623
|
} finally {
|
|
597
624
|
try {
|
|
598
625
|
n && !n.done && (r = i.return) && r.call(i);
|
|
599
626
|
} finally {
|
|
600
|
-
if (a)
|
|
627
|
+
if (a)
|
|
628
|
+
throw a.error;
|
|
601
629
|
}
|
|
602
630
|
}
|
|
603
631
|
return o;
|
|
604
632
|
}
|
|
605
633
|
function q(e, t, r) {
|
|
606
|
-
if (r || arguments.length === 2)
|
|
607
|
-
(
|
|
608
|
-
|
|
634
|
+
if (r || arguments.length === 2)
|
|
635
|
+
for (var i = 0, n = t.length, o; i < n; i++)
|
|
636
|
+
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
637
|
+
return e.concat(o || t);
|
|
609
638
|
}
|
|
610
639
|
function $(e) {
|
|
611
640
|
return typeof e == "function";
|
|
612
641
|
}
|
|
613
|
-
function
|
|
642
|
+
function Xt(e) {
|
|
614
643
|
var t = function(i) {
|
|
615
644
|
Error.call(i), i.stack = new Error().stack;
|
|
616
645
|
}, r = e(t);
|
|
617
646
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
618
647
|
}
|
|
619
|
-
var Ue =
|
|
648
|
+
var Ue = Xt(function(e) {
|
|
620
649
|
return function(r) {
|
|
621
650
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
622
651
|
` + r.map(function(i, n) {
|
|
@@ -625,7 +654,7 @@ var Ue = kt(function(e) {
|
|
|
625
654
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
626
655
|
};
|
|
627
656
|
});
|
|
628
|
-
function
|
|
657
|
+
function qe(e, t) {
|
|
629
658
|
if (e) {
|
|
630
659
|
var r = e.indexOf(t);
|
|
631
660
|
0 <= r && e.splice(r, 1);
|
|
@@ -643,7 +672,7 @@ var Pe = function() {
|
|
|
643
672
|
if (a)
|
|
644
673
|
if (this._parentage = null, Array.isArray(a))
|
|
645
674
|
try {
|
|
646
|
-
for (var s =
|
|
675
|
+
for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
|
|
647
676
|
var u = h.value;
|
|
648
677
|
u.remove(this);
|
|
649
678
|
}
|
|
@@ -653,7 +682,8 @@ var Pe = function() {
|
|
|
653
682
|
try {
|
|
654
683
|
h && !h.done && (r = s.return) && r.call(s);
|
|
655
684
|
} finally {
|
|
656
|
-
if (t)
|
|
685
|
+
if (t)
|
|
686
|
+
throw t.error;
|
|
657
687
|
}
|
|
658
688
|
}
|
|
659
689
|
else
|
|
@@ -669,12 +699,12 @@ var Pe = function() {
|
|
|
669
699
|
if (c) {
|
|
670
700
|
this._finalizers = null;
|
|
671
701
|
try {
|
|
672
|
-
for (var f =
|
|
702
|
+
for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
|
|
673
703
|
var y = p.value;
|
|
674
704
|
try {
|
|
675
|
-
|
|
705
|
+
bt(y);
|
|
676
706
|
} catch (d) {
|
|
677
|
-
o = o ?? [], d instanceof Ue ? o = q(q([],
|
|
707
|
+
o = o ?? [], d instanceof Ue ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
|
|
678
708
|
}
|
|
679
709
|
}
|
|
680
710
|
} catch (d) {
|
|
@@ -683,7 +713,8 @@ var Pe = function() {
|
|
|
683
713
|
try {
|
|
684
714
|
p && !p.done && (n = f.return) && n.call(f);
|
|
685
715
|
} finally {
|
|
686
|
-
if (i)
|
|
716
|
+
if (i)
|
|
717
|
+
throw i.error;
|
|
687
718
|
}
|
|
688
719
|
}
|
|
689
720
|
}
|
|
@@ -694,7 +725,7 @@ var Pe = function() {
|
|
|
694
725
|
var r;
|
|
695
726
|
if (t && t !== this)
|
|
696
727
|
if (this.closed)
|
|
697
|
-
|
|
728
|
+
bt(t);
|
|
698
729
|
else {
|
|
699
730
|
if (t instanceof e) {
|
|
700
731
|
if (t.closed || t._hasParent(this))
|
|
@@ -711,52 +742,56 @@ var Pe = function() {
|
|
|
711
742
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
712
743
|
}, e.prototype._removeParent = function(t) {
|
|
713
744
|
var r = this._parentage;
|
|
714
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
745
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
715
746
|
}, e.prototype.remove = function(t) {
|
|
716
747
|
var r = this._finalizers;
|
|
717
|
-
r &&
|
|
748
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
718
749
|
}, e.EMPTY = function() {
|
|
719
750
|
var t = new e();
|
|
720
751
|
return t.closed = !0, t;
|
|
721
752
|
}(), e;
|
|
722
|
-
}(),
|
|
723
|
-
function
|
|
753
|
+
}(), zt = Pe.EMPTY;
|
|
754
|
+
function Zt(e) {
|
|
724
755
|
return e instanceof Pe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
725
756
|
}
|
|
726
|
-
function
|
|
757
|
+
function bt(e) {
|
|
727
758
|
$(e) ? e() : e.unsubscribe();
|
|
728
759
|
}
|
|
729
|
-
var
|
|
730
|
-
|
|
731
|
-
|
|
760
|
+
var Qt = {
|
|
761
|
+
onUnhandledError: null,
|
|
762
|
+
onStoppedNotification: null,
|
|
763
|
+
Promise: void 0,
|
|
764
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
765
|
+
useDeprecatedNextContext: !1
|
|
766
|
+
}, ui = {
|
|
732
767
|
setTimeout: function(e, t) {
|
|
733
768
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
734
769
|
r[i - 2] = arguments[i];
|
|
735
|
-
return setTimeout.apply(void 0, q([e, t],
|
|
770
|
+
return setTimeout.apply(void 0, q([e, t], Je(r)));
|
|
736
771
|
},
|
|
737
772
|
clearTimeout: function(e) {
|
|
738
773
|
return clearTimeout(e);
|
|
739
774
|
},
|
|
740
775
|
delegate: void 0
|
|
741
776
|
};
|
|
742
|
-
function
|
|
743
|
-
|
|
777
|
+
function li(e) {
|
|
778
|
+
ui.setTimeout(function() {
|
|
744
779
|
throw e;
|
|
745
780
|
});
|
|
746
781
|
}
|
|
747
|
-
function
|
|
782
|
+
function vt() {
|
|
748
783
|
}
|
|
749
784
|
function xe(e) {
|
|
750
785
|
e();
|
|
751
786
|
}
|
|
752
|
-
var
|
|
787
|
+
var Yt = function(e) {
|
|
753
788
|
G(t, e);
|
|
754
789
|
function t(r) {
|
|
755
790
|
var i = e.call(this) || this;
|
|
756
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
791
|
+
return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = mi, i;
|
|
757
792
|
}
|
|
758
793
|
return t.create = function(r, i, n) {
|
|
759
|
-
return new
|
|
794
|
+
return new Ke(r, i, n);
|
|
760
795
|
}, t.prototype.next = function(r) {
|
|
761
796
|
this.isStopped || this._next(r);
|
|
762
797
|
}, t.prototype.error = function(r) {
|
|
@@ -780,7 +815,11 @@ var Xt = function(e) {
|
|
|
780
815
|
this.unsubscribe();
|
|
781
816
|
}
|
|
782
817
|
}, t;
|
|
783
|
-
}(Pe),
|
|
818
|
+
}(Pe), hi = Function.prototype.bind;
|
|
819
|
+
function $e(e, t) {
|
|
820
|
+
return hi.call(e, t);
|
|
821
|
+
}
|
|
822
|
+
var ci = function() {
|
|
784
823
|
function e(t) {
|
|
785
824
|
this.partialObserver = t;
|
|
786
825
|
}
|
|
@@ -811,43 +850,55 @@ var Xt = function(e) {
|
|
|
811
850
|
be(r);
|
|
812
851
|
}
|
|
813
852
|
}, e;
|
|
814
|
-
}(),
|
|
853
|
+
}(), Ke = function(e) {
|
|
815
854
|
G(t, e);
|
|
816
855
|
function t(r, i, n) {
|
|
817
856
|
var o = e.call(this) || this, a;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
857
|
+
if ($(r) || !r)
|
|
858
|
+
a = {
|
|
859
|
+
next: r ?? void 0,
|
|
860
|
+
error: i ?? void 0,
|
|
861
|
+
complete: n ?? void 0
|
|
862
|
+
};
|
|
863
|
+
else {
|
|
864
|
+
var s;
|
|
865
|
+
o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
866
|
+
return o.unsubscribe();
|
|
867
|
+
}, a = {
|
|
868
|
+
next: r.next && $e(r.next, s),
|
|
869
|
+
error: r.error && $e(r.error, s),
|
|
870
|
+
complete: r.complete && $e(r.complete, s)
|
|
871
|
+
}) : a = r;
|
|
872
|
+
}
|
|
873
|
+
return o.destination = new ci(a), o;
|
|
823
874
|
}
|
|
824
875
|
return t;
|
|
825
|
-
}(
|
|
876
|
+
}(Yt);
|
|
826
877
|
function be(e) {
|
|
827
|
-
|
|
878
|
+
li(e);
|
|
828
879
|
}
|
|
829
|
-
function
|
|
880
|
+
function fi(e) {
|
|
830
881
|
throw e;
|
|
831
882
|
}
|
|
832
|
-
var
|
|
883
|
+
var mi = {
|
|
833
884
|
closed: !0,
|
|
834
|
-
next:
|
|
835
|
-
error:
|
|
836
|
-
complete:
|
|
837
|
-
},
|
|
885
|
+
next: vt,
|
|
886
|
+
error: fi,
|
|
887
|
+
complete: vt
|
|
888
|
+
}, pi = function() {
|
|
838
889
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
839
890
|
}();
|
|
840
|
-
function
|
|
891
|
+
function di(e) {
|
|
841
892
|
return e;
|
|
842
893
|
}
|
|
843
|
-
function
|
|
844
|
-
return e.length === 0 ?
|
|
894
|
+
function yi(e) {
|
|
895
|
+
return e.length === 0 ? di : e.length === 1 ? e[0] : function(r) {
|
|
845
896
|
return e.reduce(function(i, n) {
|
|
846
897
|
return n(i);
|
|
847
898
|
}, r);
|
|
848
899
|
};
|
|
849
900
|
}
|
|
850
|
-
var
|
|
901
|
+
var _t = function() {
|
|
851
902
|
function e(t) {
|
|
852
903
|
t && (this._subscribe = t);
|
|
853
904
|
}
|
|
@@ -855,7 +906,7 @@ var gt = function() {
|
|
|
855
906
|
var r = new e();
|
|
856
907
|
return r.source = this, r.operator = t, r;
|
|
857
908
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
858
|
-
var n = this, o =
|
|
909
|
+
var n = this, o = bi(t) ? t : new Ke(t, r, i);
|
|
859
910
|
return xe(function() {
|
|
860
911
|
var a = n, s = a.operator, h = a.source;
|
|
861
912
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -868,8 +919,8 @@ var gt = function() {
|
|
|
868
919
|
}
|
|
869
920
|
}, e.prototype.forEach = function(t, r) {
|
|
870
921
|
var i = this;
|
|
871
|
-
return r =
|
|
872
|
-
var a = new
|
|
922
|
+
return r = Et(r), new r(function(n, o) {
|
|
923
|
+
var a = new Ke({
|
|
873
924
|
next: function(s) {
|
|
874
925
|
try {
|
|
875
926
|
t(s);
|
|
@@ -885,15 +936,15 @@ var gt = function() {
|
|
|
885
936
|
}, e.prototype._subscribe = function(t) {
|
|
886
937
|
var r;
|
|
887
938
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
888
|
-
}, e.prototype[
|
|
939
|
+
}, e.prototype[pi] = function() {
|
|
889
940
|
return this;
|
|
890
941
|
}, e.prototype.pipe = function() {
|
|
891
942
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
892
943
|
t[r] = arguments[r];
|
|
893
|
-
return
|
|
944
|
+
return yi(t)(this);
|
|
894
945
|
}, e.prototype.toPromise = function(t) {
|
|
895
946
|
var r = this;
|
|
896
|
-
return t =
|
|
947
|
+
return t = Et(t), new t(function(i, n) {
|
|
897
948
|
var o;
|
|
898
949
|
r.subscribe(function(a) {
|
|
899
950
|
return o = a;
|
|
@@ -907,32 +958,32 @@ var gt = function() {
|
|
|
907
958
|
return new e(t);
|
|
908
959
|
}, e;
|
|
909
960
|
}();
|
|
910
|
-
function
|
|
961
|
+
function Et(e) {
|
|
911
962
|
var t;
|
|
912
|
-
return (t = e ??
|
|
963
|
+
return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
913
964
|
}
|
|
914
|
-
function
|
|
965
|
+
function gi(e) {
|
|
915
966
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
916
967
|
}
|
|
917
|
-
function
|
|
918
|
-
return e && e instanceof
|
|
968
|
+
function bi(e) {
|
|
969
|
+
return e && e instanceof Yt || gi(e) && Zt(e);
|
|
919
970
|
}
|
|
920
|
-
var
|
|
971
|
+
var vi = Xt(function(e) {
|
|
921
972
|
return function() {
|
|
922
973
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
923
974
|
};
|
|
924
|
-
}),
|
|
975
|
+
}), Jt = function(e) {
|
|
925
976
|
G(t, e);
|
|
926
977
|
function t() {
|
|
927
978
|
var r = e.call(this) || this;
|
|
928
979
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
929
980
|
}
|
|
930
981
|
return t.prototype.lift = function(r) {
|
|
931
|
-
var i = new
|
|
982
|
+
var i = new xt(this, this);
|
|
932
983
|
return i.operator = r, i;
|
|
933
984
|
}, t.prototype._throwIfClosed = function() {
|
|
934
985
|
if (this.closed)
|
|
935
|
-
throw new
|
|
986
|
+
throw new vi();
|
|
936
987
|
}, t.prototype.next = function(r) {
|
|
937
988
|
var i = this;
|
|
938
989
|
xe(function() {
|
|
@@ -940,7 +991,7 @@ var di = kt(function(e) {
|
|
|
940
991
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
941
992
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
942
993
|
try {
|
|
943
|
-
for (var a =
|
|
994
|
+
for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
944
995
|
var h = s.value;
|
|
945
996
|
h.next(r);
|
|
946
997
|
}
|
|
@@ -950,7 +1001,8 @@ var di = kt(function(e) {
|
|
|
950
1001
|
try {
|
|
951
1002
|
s && !s.done && (o = a.return) && o.call(a);
|
|
952
1003
|
} finally {
|
|
953
|
-
if (n)
|
|
1004
|
+
if (n)
|
|
1005
|
+
throw n.error;
|
|
954
1006
|
}
|
|
955
1007
|
}
|
|
956
1008
|
}
|
|
@@ -988,19 +1040,19 @@ var di = kt(function(e) {
|
|
|
988
1040
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
989
1041
|
}, t.prototype._innerSubscribe = function(r) {
|
|
990
1042
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
991
|
-
return o || a ?
|
|
992
|
-
i.currentObservers = null,
|
|
1043
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new Pe(function() {
|
|
1044
|
+
i.currentObservers = null, qe(s, r);
|
|
993
1045
|
}));
|
|
994
1046
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
995
1047
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
996
1048
|
n ? r.error(o) : a && r.complete();
|
|
997
1049
|
}, t.prototype.asObservable = function() {
|
|
998
|
-
var r = new
|
|
1050
|
+
var r = new _t();
|
|
999
1051
|
return r.source = this, r;
|
|
1000
1052
|
}, t.create = function(r, i) {
|
|
1001
|
-
return new
|
|
1053
|
+
return new xt(r, i);
|
|
1002
1054
|
}, t;
|
|
1003
|
-
}(
|
|
1055
|
+
}(_t), xt = function(e) {
|
|
1004
1056
|
G(t, e);
|
|
1005
1057
|
function t(r, i) {
|
|
1006
1058
|
var n = e.call(this) || this;
|
|
@@ -1017,17 +1069,17 @@ var di = kt(function(e) {
|
|
|
1017
1069
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1018
1070
|
}, t.prototype._subscribe = function(r) {
|
|
1019
1071
|
var i, n;
|
|
1020
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1072
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : zt;
|
|
1021
1073
|
}, t;
|
|
1022
|
-
}(
|
|
1074
|
+
}(Jt), qt = {
|
|
1023
1075
|
now: function() {
|
|
1024
|
-
return (
|
|
1076
|
+
return (qt.delegate || Date).now();
|
|
1025
1077
|
},
|
|
1026
1078
|
delegate: void 0
|
|
1027
|
-
},
|
|
1079
|
+
}, _i = function(e) {
|
|
1028
1080
|
G(t, e);
|
|
1029
1081
|
function t(r, i, n) {
|
|
1030
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1082
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = qt);
|
|
1031
1083
|
var o = e.call(this) || this;
|
|
1032
1084
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
1033
1085
|
}
|
|
@@ -1047,15 +1099,15 @@ var di = kt(function(e) {
|
|
|
1047
1099
|
u && o.splice(0, u + 1);
|
|
1048
1100
|
}
|
|
1049
1101
|
}, t;
|
|
1050
|
-
}(
|
|
1051
|
-
const
|
|
1052
|
-
if (
|
|
1053
|
-
const r = new
|
|
1054
|
-
|
|
1102
|
+
}(Jt);
|
|
1103
|
+
const Tt = [], Lt = {}, Ei = (e, t = 0) => {
|
|
1104
|
+
if (Tt.indexOf(e) == -1) {
|
|
1105
|
+
const r = new _i(t);
|
|
1106
|
+
Lt[e] = r, Tt.push(e);
|
|
1055
1107
|
}
|
|
1056
|
-
return
|
|
1108
|
+
return Lt[e];
|
|
1057
1109
|
}, Q = [];
|
|
1058
|
-
function
|
|
1110
|
+
function xi(e, t) {
|
|
1059
1111
|
return {
|
|
1060
1112
|
subscribe: He(e, t).subscribe
|
|
1061
1113
|
};
|
|
@@ -1064,7 +1116,7 @@ function He(e, t = B) {
|
|
|
1064
1116
|
let r;
|
|
1065
1117
|
const i = /* @__PURE__ */ new Set();
|
|
1066
1118
|
function n(s) {
|
|
1067
|
-
if (
|
|
1119
|
+
if (jt(e, s) && (e = s, r)) {
|
|
1068
1120
|
const h = !Q.length;
|
|
1069
1121
|
for (const u of i)
|
|
1070
1122
|
u[1](), Q.push(u, e);
|
|
@@ -1091,7 +1143,7 @@ function ne(e, t, r) {
|
|
|
1091
1143
|
if (!n.every(Boolean))
|
|
1092
1144
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1093
1145
|
const o = t.length < 2;
|
|
1094
|
-
return
|
|
1146
|
+
return xi(r, (a, s) => {
|
|
1095
1147
|
let h = !1;
|
|
1096
1148
|
const u = [];
|
|
1097
1149
|
let l = 0, c = B;
|
|
@@ -1100,9 +1152,9 @@ function ne(e, t, r) {
|
|
|
1100
1152
|
return;
|
|
1101
1153
|
c();
|
|
1102
1154
|
const y = t(i ? u[0] : u, a, s);
|
|
1103
|
-
o ? a(y) : c =
|
|
1155
|
+
o ? a(y) : c = ut(y) ? y : B;
|
|
1104
1156
|
}, p = n.map(
|
|
1105
|
-
(y, d) =>
|
|
1157
|
+
(y, d) => kt(
|
|
1106
1158
|
y,
|
|
1107
1159
|
(v) => {
|
|
1108
1160
|
u[d] = v, l &= ~(1 << d), h && f();
|
|
@@ -1117,70 +1169,70 @@ function ne(e, t, r) {
|
|
|
1117
1169
|
};
|
|
1118
1170
|
});
|
|
1119
1171
|
}
|
|
1120
|
-
function
|
|
1172
|
+
function Ti(e) {
|
|
1121
1173
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1122
1174
|
}
|
|
1123
|
-
var
|
|
1124
|
-
return
|
|
1175
|
+
var Li = function(t) {
|
|
1176
|
+
return Si(t) && !wi(t);
|
|
1125
1177
|
};
|
|
1126
|
-
function
|
|
1178
|
+
function Si(e) {
|
|
1127
1179
|
return !!e && typeof e == "object";
|
|
1128
1180
|
}
|
|
1129
|
-
function
|
|
1181
|
+
function wi(e) {
|
|
1130
1182
|
var t = Object.prototype.toString.call(e);
|
|
1131
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1183
|
+
return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
|
|
1132
1184
|
}
|
|
1133
|
-
var
|
|
1134
|
-
function
|
|
1135
|
-
return e.$$typeof ===
|
|
1185
|
+
var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.element") : 60103;
|
|
1186
|
+
function Hi(e) {
|
|
1187
|
+
return e.$$typeof === Pi;
|
|
1136
1188
|
}
|
|
1137
|
-
function
|
|
1189
|
+
function Ii(e) {
|
|
1138
1190
|
return Array.isArray(e) ? [] : {};
|
|
1139
1191
|
}
|
|
1140
1192
|
function ce(e, t) {
|
|
1141
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
|
1193
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Ii(e), e, t) : e;
|
|
1142
1194
|
}
|
|
1143
|
-
function
|
|
1195
|
+
function Bi(e, t, r) {
|
|
1144
1196
|
return e.concat(t).map(function(i) {
|
|
1145
1197
|
return ce(i, r);
|
|
1146
1198
|
});
|
|
1147
1199
|
}
|
|
1148
|
-
function
|
|
1200
|
+
function Oi(e, t) {
|
|
1149
1201
|
if (!t.customMerge)
|
|
1150
1202
|
return K;
|
|
1151
1203
|
var r = t.customMerge(e);
|
|
1152
1204
|
return typeof r == "function" ? r : K;
|
|
1153
1205
|
}
|
|
1154
|
-
function
|
|
1206
|
+
function Ci(e) {
|
|
1155
1207
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1156
1208
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1157
1209
|
}) : [];
|
|
1158
1210
|
}
|
|
1159
|
-
function
|
|
1160
|
-
return Object.keys(e).concat(
|
|
1211
|
+
function St(e) {
|
|
1212
|
+
return Object.keys(e).concat(Ci(e));
|
|
1161
1213
|
}
|
|
1162
|
-
function
|
|
1214
|
+
function Kt(e, t) {
|
|
1163
1215
|
try {
|
|
1164
1216
|
return t in e;
|
|
1165
1217
|
} catch {
|
|
1166
1218
|
return !1;
|
|
1167
1219
|
}
|
|
1168
1220
|
}
|
|
1169
|
-
function
|
|
1170
|
-
return
|
|
1221
|
+
function Ni(e, t) {
|
|
1222
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1171
1223
|
}
|
|
1172
|
-
function
|
|
1224
|
+
function Ri(e, t, r) {
|
|
1173
1225
|
var i = {};
|
|
1174
|
-
return r.isMergeableObject(e) &&
|
|
1226
|
+
return r.isMergeableObject(e) && St(e).forEach(function(n) {
|
|
1175
1227
|
i[n] = ce(e[n], r);
|
|
1176
|
-
}),
|
|
1177
|
-
|
|
1228
|
+
}), St(t).forEach(function(n) {
|
|
1229
|
+
Ni(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Oi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
|
|
1178
1230
|
}), i;
|
|
1179
1231
|
}
|
|
1180
1232
|
function K(e, t, r) {
|
|
1181
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1233
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1182
1234
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1183
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
1235
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : ce(t, r);
|
|
1184
1236
|
}
|
|
1185
1237
|
K.all = function(t, r) {
|
|
1186
1238
|
if (!Array.isArray(t))
|
|
@@ -1189,56 +1241,58 @@ K.all = function(t, r) {
|
|
|
1189
1241
|
return K(i, n, r);
|
|
1190
1242
|
}, {});
|
|
1191
1243
|
};
|
|
1192
|
-
var
|
|
1193
|
-
const
|
|
1194
|
-
function
|
|
1195
|
-
var r = t && t.cache ? t.cache :
|
|
1244
|
+
var Mi = K, Di = Mi;
|
|
1245
|
+
const Ui = /* @__PURE__ */ Ti(Di);
|
|
1246
|
+
function Ge(e, t) {
|
|
1247
|
+
var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : ki, n = t && t.strategy ? t.strategy : Gi;
|
|
1196
1248
|
return n(e, {
|
|
1197
1249
|
cache: r,
|
|
1198
1250
|
serializer: i
|
|
1199
1251
|
});
|
|
1200
1252
|
}
|
|
1201
|
-
function
|
|
1253
|
+
function $i(e) {
|
|
1202
1254
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1203
1255
|
}
|
|
1204
|
-
function
|
|
1205
|
-
var n =
|
|
1256
|
+
function er(e, t, r, i) {
|
|
1257
|
+
var n = $i(i) ? i : r(i), o = t.get(n);
|
|
1206
1258
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1207
1259
|
}
|
|
1208
|
-
function
|
|
1260
|
+
function tr(e, t, r) {
|
|
1209
1261
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1210
1262
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1211
1263
|
}
|
|
1212
|
-
function
|
|
1264
|
+
function lt(e, t, r, i, n) {
|
|
1213
1265
|
return r.bind(t, e, i, n);
|
|
1214
1266
|
}
|
|
1215
|
-
function
|
|
1216
|
-
var r = e.length === 1 ?
|
|
1217
|
-
return
|
|
1267
|
+
function Gi(e, t) {
|
|
1268
|
+
var r = e.length === 1 ? er : tr;
|
|
1269
|
+
return lt(e, this, r, t.cache.create(), t.serializer);
|
|
1270
|
+
}
|
|
1271
|
+
function Fi(e, t) {
|
|
1272
|
+
return lt(e, this, tr, t.cache.create(), t.serializer);
|
|
1218
1273
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return
|
|
1274
|
+
function ji(e, t) {
|
|
1275
|
+
return lt(e, this, er, t.cache.create(), t.serializer);
|
|
1221
1276
|
}
|
|
1222
|
-
var
|
|
1277
|
+
var ki = function() {
|
|
1223
1278
|
return JSON.stringify(arguments);
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
}()
|
|
1236
|
-
), Fi = {
|
|
1279
|
+
};
|
|
1280
|
+
function ht() {
|
|
1281
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1282
|
+
}
|
|
1283
|
+
ht.prototype.get = function(e) {
|
|
1284
|
+
return this.cache[e];
|
|
1285
|
+
};
|
|
1286
|
+
ht.prototype.set = function(e, t) {
|
|
1287
|
+
this.cache[e] = t;
|
|
1288
|
+
};
|
|
1289
|
+
var Vi = {
|
|
1237
1290
|
create: function() {
|
|
1238
|
-
return new
|
|
1291
|
+
return new ht();
|
|
1239
1292
|
}
|
|
1240
|
-
},
|
|
1241
|
-
variadic:
|
|
1293
|
+
}, Fe = {
|
|
1294
|
+
variadic: Fi,
|
|
1295
|
+
monadic: ji
|
|
1242
1296
|
}, b;
|
|
1243
1297
|
(function(e) {
|
|
1244
1298
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -1251,43 +1305,43 @@ var ee;
|
|
|
1251
1305
|
(function(e) {
|
|
1252
1306
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1253
1307
|
})(ee || (ee = {}));
|
|
1254
|
-
function
|
|
1308
|
+
function wt(e) {
|
|
1255
1309
|
return e.type === S.literal;
|
|
1256
1310
|
}
|
|
1257
|
-
function
|
|
1311
|
+
function Wi(e) {
|
|
1258
1312
|
return e.type === S.argument;
|
|
1259
1313
|
}
|
|
1260
|
-
function
|
|
1314
|
+
function rr(e) {
|
|
1261
1315
|
return e.type === S.number;
|
|
1262
1316
|
}
|
|
1263
|
-
function
|
|
1317
|
+
function ir(e) {
|
|
1264
1318
|
return e.type === S.date;
|
|
1265
1319
|
}
|
|
1266
|
-
function
|
|
1320
|
+
function nr(e) {
|
|
1267
1321
|
return e.type === S.time;
|
|
1268
1322
|
}
|
|
1269
|
-
function
|
|
1323
|
+
function or(e) {
|
|
1270
1324
|
return e.type === S.select;
|
|
1271
1325
|
}
|
|
1272
|
-
function
|
|
1326
|
+
function sr(e) {
|
|
1273
1327
|
return e.type === S.plural;
|
|
1274
1328
|
}
|
|
1275
|
-
function
|
|
1329
|
+
function Xi(e) {
|
|
1276
1330
|
return e.type === S.pound;
|
|
1277
1331
|
}
|
|
1278
|
-
function
|
|
1332
|
+
function ar(e) {
|
|
1279
1333
|
return e.type === S.tag;
|
|
1280
1334
|
}
|
|
1281
|
-
function
|
|
1335
|
+
function ur(e) {
|
|
1282
1336
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1283
1337
|
}
|
|
1284
|
-
function
|
|
1338
|
+
function et(e) {
|
|
1285
1339
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1286
1340
|
}
|
|
1287
|
-
var
|
|
1288
|
-
function
|
|
1341
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1342
|
+
function Zi(e) {
|
|
1289
1343
|
var t = {};
|
|
1290
|
-
return e.replace(
|
|
1344
|
+
return e.replace(zi, function(r) {
|
|
1291
1345
|
var i = r.length;
|
|
1292
1346
|
switch (r[0]) {
|
|
1293
1347
|
case "G":
|
|
@@ -1376,11 +1430,11 @@ function Wi(e) {
|
|
|
1376
1430
|
return "";
|
|
1377
1431
|
}), t;
|
|
1378
1432
|
}
|
|
1379
|
-
var
|
|
1380
|
-
function
|
|
1433
|
+
var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1434
|
+
function Yi(e) {
|
|
1381
1435
|
if (e.length === 0)
|
|
1382
1436
|
throw new Error("Number skeleton cannot be empty");
|
|
1383
|
-
for (var t = e.split(
|
|
1437
|
+
for (var t = e.split(Qi).filter(function(f) {
|
|
1384
1438
|
return f.length > 0;
|
|
1385
1439
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1386
1440
|
var o = n[i], a = o.split("/");
|
|
@@ -1395,17 +1449,17 @@ function zi(e) {
|
|
|
1395
1449
|
}
|
|
1396
1450
|
return r;
|
|
1397
1451
|
}
|
|
1398
|
-
function
|
|
1452
|
+
function Ji(e) {
|
|
1399
1453
|
return e.replace(/^(.*?)-/, "");
|
|
1400
1454
|
}
|
|
1401
|
-
var
|
|
1402
|
-
function
|
|
1455
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1456
|
+
function Pt(e) {
|
|
1403
1457
|
var t = {};
|
|
1404
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1458
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
|
|
1405
1459
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1406
1460
|
}), t;
|
|
1407
1461
|
}
|
|
1408
|
-
function
|
|
1462
|
+
function fr(e) {
|
|
1409
1463
|
switch (e) {
|
|
1410
1464
|
case "sign-auto":
|
|
1411
1465
|
return {
|
|
@@ -1445,7 +1499,7 @@ function ur(e) {
|
|
|
1445
1499
|
};
|
|
1446
1500
|
}
|
|
1447
1501
|
}
|
|
1448
|
-
function
|
|
1502
|
+
function Ki(e) {
|
|
1449
1503
|
var t;
|
|
1450
1504
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1451
1505
|
notation: "engineering"
|
|
@@ -1453,17 +1507,17 @@ function Yi(e) {
|
|
|
1453
1507
|
notation: "scientific"
|
|
1454
1508
|
}, e = e.slice(1)), t) {
|
|
1455
1509
|
var r = e.slice(0, 2);
|
|
1456
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1510
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
1457
1511
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1458
1512
|
t.minimumIntegerDigits = e.length;
|
|
1459
1513
|
}
|
|
1460
1514
|
return t;
|
|
1461
1515
|
}
|
|
1462
|
-
function
|
|
1463
|
-
var t = {}, r =
|
|
1516
|
+
function Ht(e) {
|
|
1517
|
+
var t = {}, r = fr(e);
|
|
1464
1518
|
return r || t;
|
|
1465
1519
|
}
|
|
1466
|
-
function
|
|
1520
|
+
function en(e) {
|
|
1467
1521
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1468
1522
|
var n = i[r];
|
|
1469
1523
|
switch (n.stem) {
|
|
@@ -1487,7 +1541,7 @@ function Ji(e) {
|
|
|
1487
1541
|
continue;
|
|
1488
1542
|
case "measure-unit":
|
|
1489
1543
|
case "unit":
|
|
1490
|
-
t.style = "unit", t.unit =
|
|
1544
|
+
t.style = "unit", t.unit = Ji(n.options[0]);
|
|
1491
1545
|
continue;
|
|
1492
1546
|
case "compact-short":
|
|
1493
1547
|
case "K":
|
|
@@ -1499,12 +1553,12 @@ function Ji(e) {
|
|
|
1499
1553
|
continue;
|
|
1500
1554
|
case "scientific":
|
|
1501
1555
|
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1502
|
-
return E(E({}, h),
|
|
1556
|
+
return E(E({}, h), Ht(u));
|
|
1503
1557
|
}, {}));
|
|
1504
1558
|
continue;
|
|
1505
1559
|
case "engineering":
|
|
1506
1560
|
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1507
|
-
return E(E({}, h),
|
|
1561
|
+
return E(E({}, h), Ht(u));
|
|
1508
1562
|
}, {}));
|
|
1509
1563
|
continue;
|
|
1510
1564
|
case "notation-simple":
|
|
@@ -1549,7 +1603,7 @@ function Ji(e) {
|
|
|
1549
1603
|
case "integer-width":
|
|
1550
1604
|
if (n.options.length > 1)
|
|
1551
1605
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1552
|
-
n.options[0].replace(
|
|
1606
|
+
n.options[0].replace(qi, function(h, u, l, c, f, p) {
|
|
1553
1607
|
if (u)
|
|
1554
1608
|
t.minimumIntegerDigits = l.length;
|
|
1555
1609
|
else {
|
|
@@ -1562,27 +1616,27 @@ function Ji(e) {
|
|
|
1562
1616
|
});
|
|
1563
1617
|
continue;
|
|
1564
1618
|
}
|
|
1565
|
-
if (
|
|
1619
|
+
if (cr.test(n.stem)) {
|
|
1566
1620
|
t.minimumIntegerDigits = n.stem.length;
|
|
1567
1621
|
continue;
|
|
1568
1622
|
}
|
|
1569
|
-
if (
|
|
1623
|
+
if (At.test(n.stem)) {
|
|
1570
1624
|
if (n.options.length > 1)
|
|
1571
1625
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1572
|
-
n.stem.replace(
|
|
1626
|
+
n.stem.replace(At, function(h, u, l, c, f, p) {
|
|
1573
1627
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1574
1628
|
});
|
|
1575
1629
|
var o = n.options[0];
|
|
1576
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1630
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
|
1577
1631
|
continue;
|
|
1578
1632
|
}
|
|
1579
|
-
if (
|
|
1580
|
-
t = E(E({}, t),
|
|
1633
|
+
if (hr.test(n.stem)) {
|
|
1634
|
+
t = E(E({}, t), Pt(n.stem));
|
|
1581
1635
|
continue;
|
|
1582
1636
|
}
|
|
1583
|
-
var a =
|
|
1637
|
+
var a = fr(n.stem);
|
|
1584
1638
|
a && (t = E(E({}, t), a));
|
|
1585
|
-
var s =
|
|
1639
|
+
var s = Ki(n.stem);
|
|
1586
1640
|
s && (t = E(E({}, t), s));
|
|
1587
1641
|
}
|
|
1588
1642
|
return t;
|
|
@@ -3002,22 +3056,23 @@ var ve = {
|
|
|
3002
3056
|
"h"
|
|
3003
3057
|
]
|
|
3004
3058
|
};
|
|
3005
|
-
function
|
|
3059
|
+
function tn(e, t) {
|
|
3006
3060
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3007
3061
|
var n = e.charAt(i);
|
|
3008
3062
|
if (n === "j") {
|
|
3009
3063
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3010
3064
|
o++, i++;
|
|
3011
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
3065
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = rn(t);
|
|
3012
3066
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3013
3067
|
r += h;
|
|
3014
3068
|
for (; a-- > 0; )
|
|
3015
3069
|
r = u + r;
|
|
3016
|
-
} else
|
|
3070
|
+
} else
|
|
3071
|
+
n === "J" ? r += "H" : r += n;
|
|
3017
3072
|
}
|
|
3018
3073
|
return r;
|
|
3019
3074
|
}
|
|
3020
|
-
function
|
|
3075
|
+
function rn(e) {
|
|
3021
3076
|
var t = e.hourCycle;
|
|
3022
3077
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3023
3078
|
e.hourCycles && // @ts-ignore
|
|
@@ -3039,20 +3094,20 @@ function Ki(e) {
|
|
|
3039
3094
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3040
3095
|
return n[0];
|
|
3041
3096
|
}
|
|
3042
|
-
var
|
|
3097
|
+
var je, nn = new RegExp("^".concat(lr.source, "*")), on = new RegExp("".concat(lr.source, "*$"));
|
|
3043
3098
|
function _(e, t) {
|
|
3044
3099
|
return { start: e, end: t };
|
|
3045
3100
|
}
|
|
3046
|
-
var
|
|
3101
|
+
var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, ln = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, mn = fn ? Number.isSafeInteger : function(e) {
|
|
3047
3102
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3048
|
-
},
|
|
3103
|
+
}, tt = !0;
|
|
3049
3104
|
try {
|
|
3050
|
-
var
|
|
3051
|
-
|
|
3105
|
+
var pn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3106
|
+
tt = ((je = pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3052
3107
|
} catch {
|
|
3053
|
-
|
|
3108
|
+
tt = !1;
|
|
3054
3109
|
}
|
|
3055
|
-
var
|
|
3110
|
+
var It = sn ? (
|
|
3056
3111
|
// Native
|
|
3057
3112
|
function(t, r, i) {
|
|
3058
3113
|
return t.startsWith(r, i);
|
|
@@ -3062,7 +3117,7 @@ var At = rn ? (
|
|
|
3062
3117
|
function(t, r, i) {
|
|
3063
3118
|
return t.slice(i, i + r.length) === r;
|
|
3064
3119
|
}
|
|
3065
|
-
),
|
|
3120
|
+
), rt = an ? String.fromCodePoint : (
|
|
3066
3121
|
// IE11
|
|
3067
3122
|
function() {
|
|
3068
3123
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3074,9 +3129,9 @@ var At = rn ? (
|
|
|
3074
3129
|
}
|
|
3075
3130
|
return i;
|
|
3076
3131
|
}
|
|
3077
|
-
),
|
|
3132
|
+
), Bt = (
|
|
3078
3133
|
// native
|
|
3079
|
-
|
|
3134
|
+
un ? Object.fromEntries : (
|
|
3080
3135
|
// Ponyfill
|
|
3081
3136
|
function(t) {
|
|
3082
3137
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3086,7 +3141,7 @@ var At = rn ? (
|
|
|
3086
3141
|
return r;
|
|
3087
3142
|
}
|
|
3088
3143
|
)
|
|
3089
|
-
),
|
|
3144
|
+
), mr = ln ? (
|
|
3090
3145
|
// Native
|
|
3091
3146
|
function(t, r) {
|
|
3092
3147
|
return t.codePointAt(r);
|
|
@@ -3100,7 +3155,7 @@ var At = rn ? (
|
|
|
3100
3155
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3101
3156
|
}
|
|
3102
3157
|
}
|
|
3103
|
-
),
|
|
3158
|
+
), dn = hn ? (
|
|
3104
3159
|
// Native
|
|
3105
3160
|
function(t) {
|
|
3106
3161
|
return t.trimStart();
|
|
@@ -3108,9 +3163,9 @@ var At = rn ? (
|
|
|
3108
3163
|
) : (
|
|
3109
3164
|
// Ponyfill
|
|
3110
3165
|
function(t) {
|
|
3111
|
-
return t.replace(
|
|
3166
|
+
return t.replace(nn, "");
|
|
3112
3167
|
}
|
|
3113
|
-
),
|
|
3168
|
+
), yn = cn ? (
|
|
3114
3169
|
// Native
|
|
3115
3170
|
function(t) {
|
|
3116
3171
|
return t.trimEnd();
|
|
@@ -3118,32 +3173,32 @@ var At = rn ? (
|
|
|
3118
3173
|
) : (
|
|
3119
3174
|
// Ponyfill
|
|
3120
3175
|
function(t) {
|
|
3121
|
-
return t.replace(
|
|
3176
|
+
return t.replace(on, "");
|
|
3122
3177
|
}
|
|
3123
3178
|
);
|
|
3124
|
-
function
|
|
3179
|
+
function pr(e, t) {
|
|
3125
3180
|
return new RegExp(e, t);
|
|
3126
3181
|
}
|
|
3127
|
-
var
|
|
3128
|
-
if (
|
|
3129
|
-
var
|
|
3130
|
-
|
|
3182
|
+
var it;
|
|
3183
|
+
if (tt) {
|
|
3184
|
+
var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3185
|
+
it = function(t, r) {
|
|
3131
3186
|
var i;
|
|
3132
|
-
|
|
3133
|
-
var n =
|
|
3187
|
+
Ot.lastIndex = r;
|
|
3188
|
+
var n = Ot.exec(t);
|
|
3134
3189
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3135
3190
|
};
|
|
3136
3191
|
} else
|
|
3137
|
-
|
|
3192
|
+
it = function(t, r) {
|
|
3138
3193
|
for (var i = []; ; ) {
|
|
3139
|
-
var n =
|
|
3140
|
-
if (n === void 0 ||
|
|
3194
|
+
var n = mr(t, r);
|
|
3195
|
+
if (n === void 0 || dr(n) || _n(n))
|
|
3141
3196
|
break;
|
|
3142
3197
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3143
3198
|
}
|
|
3144
|
-
return
|
|
3199
|
+
return rt.apply(void 0, i);
|
|
3145
3200
|
};
|
|
3146
|
-
var
|
|
3201
|
+
var gn = (
|
|
3147
3202
|
/** @class */
|
|
3148
3203
|
function() {
|
|
3149
3204
|
function e(t, r) {
|
|
@@ -3174,7 +3229,7 @@ var pn = (
|
|
|
3174
3229
|
if (i)
|
|
3175
3230
|
break;
|
|
3176
3231
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3177
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3232
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3178
3233
|
var a = this.parseTag(t, r);
|
|
3179
3234
|
if (a.err)
|
|
3180
3235
|
return a;
|
|
@@ -3207,7 +3262,7 @@ var pn = (
|
|
|
3207
3262
|
return o;
|
|
3208
3263
|
var a = o.val, s = this.clonePosition();
|
|
3209
3264
|
if (this.bumpIf("</")) {
|
|
3210
|
-
if (this.isEOF() || !
|
|
3265
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3211
3266
|
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3212
3267
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3213
3268
|
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3225,7 +3280,7 @@ var pn = (
|
|
|
3225
3280
|
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3226
3281
|
}, e.prototype.parseTagName = function() {
|
|
3227
3282
|
var t = this.offset();
|
|
3228
|
-
for (this.bump(); !this.isEOF() &&
|
|
3283
|
+
for (this.bump(); !this.isEOF() && vn(this.char()); )
|
|
3229
3284
|
this.bump();
|
|
3230
3285
|
return this.message.slice(t, this.offset());
|
|
3231
3286
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3254,7 +3309,7 @@ var pn = (
|
|
|
3254
3309
|
};
|
|
3255
3310
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3256
3311
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3257
|
-
!
|
|
3312
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3258
3313
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3259
3314
|
if (this.isEOF() || this.char() !== 39)
|
|
3260
3315
|
return null;
|
|
@@ -3288,12 +3343,12 @@ var pn = (
|
|
|
3288
3343
|
r.push(i);
|
|
3289
3344
|
this.bump();
|
|
3290
3345
|
}
|
|
3291
|
-
return
|
|
3346
|
+
return rt.apply(void 0, r);
|
|
3292
3347
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3293
3348
|
if (this.isEOF())
|
|
3294
3349
|
return null;
|
|
3295
3350
|
var i = this.char();
|
|
3296
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3351
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
|
|
3297
3352
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3298
3353
|
var i = this.clonePosition();
|
|
3299
3354
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3322,7 +3377,7 @@ var pn = (
|
|
|
3322
3377
|
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3323
3378
|
}
|
|
3324
3379
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3325
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3380
|
+
var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
|
|
3326
3381
|
this.bumpTo(n);
|
|
3327
3382
|
var o = this.clonePosition(), a = _(t, o);
|
|
3328
3383
|
return { value: i, location: a };
|
|
@@ -3341,7 +3396,7 @@ var pn = (
|
|
|
3341
3396
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3342
3397
|
if (c.err)
|
|
3343
3398
|
return c;
|
|
3344
|
-
var f =
|
|
3399
|
+
var f = yn(c.val);
|
|
3345
3400
|
if (f.length === 0)
|
|
3346
3401
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3347
3402
|
var p = _(l, this.clonePosition());
|
|
@@ -3351,8 +3406,8 @@ var pn = (
|
|
|
3351
3406
|
if (y.err)
|
|
3352
3407
|
return y;
|
|
3353
3408
|
var d = _(n, this.clonePosition());
|
|
3354
|
-
if (u &&
|
|
3355
|
-
var v =
|
|
3409
|
+
if (u && It(u?.style, "::", 0)) {
|
|
3410
|
+
var v = dn(u.style.slice(2));
|
|
3356
3411
|
if (s === "number") {
|
|
3357
3412
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3358
3413
|
return c.err ? c : {
|
|
@@ -3363,12 +3418,12 @@ var pn = (
|
|
|
3363
3418
|
if (v.length === 0)
|
|
3364
3419
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3365
3420
|
var H = v;
|
|
3366
|
-
this.locale && (H =
|
|
3421
|
+
this.locale && (H = tn(v, this.locale));
|
|
3367
3422
|
var f = {
|
|
3368
3423
|
type: ee.dateTime,
|
|
3369
3424
|
pattern: H,
|
|
3370
3425
|
location: u.styleLocation,
|
|
3371
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3426
|
+
parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
|
|
3372
3427
|
}, g = s === "date" ? S.date : S.time;
|
|
3373
3428
|
return {
|
|
3374
3429
|
val: { type: g, value: i, location: d, style: f },
|
|
@@ -3414,7 +3469,7 @@ var pn = (
|
|
|
3414
3469
|
val: {
|
|
3415
3470
|
type: S.select,
|
|
3416
3471
|
value: i,
|
|
3417
|
-
options:
|
|
3472
|
+
options: Bt(D.val),
|
|
3418
3473
|
location: V
|
|
3419
3474
|
},
|
|
3420
3475
|
err: null
|
|
@@ -3422,7 +3477,7 @@ var pn = (
|
|
|
3422
3477
|
val: {
|
|
3423
3478
|
type: S.plural,
|
|
3424
3479
|
value: i,
|
|
3425
|
-
options:
|
|
3480
|
+
options: Bt(D.val),
|
|
3426
3481
|
offset: N,
|
|
3427
3482
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3428
3483
|
location: V
|
|
@@ -3473,7 +3528,7 @@ var pn = (
|
|
|
3473
3528
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3474
3529
|
var i = [];
|
|
3475
3530
|
try {
|
|
3476
|
-
i =
|
|
3531
|
+
i = Yi(t);
|
|
3477
3532
|
} catch {
|
|
3478
3533
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3479
3534
|
}
|
|
@@ -3482,7 +3537,7 @@ var pn = (
|
|
|
3482
3537
|
type: ee.number,
|
|
3483
3538
|
tokens: i,
|
|
3484
3539
|
location: r,
|
|
3485
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3540
|
+
parsedOptions: this.shouldParseSkeletons ? en(i) : {}
|
|
3486
3541
|
},
|
|
3487
3542
|
err: null
|
|
3488
3543
|
};
|
|
@@ -3530,7 +3585,7 @@ var pn = (
|
|
|
3530
3585
|
break;
|
|
3531
3586
|
}
|
|
3532
3587
|
var h = _(n, this.clonePosition());
|
|
3533
|
-
return o ? (a *= i,
|
|
3588
|
+
return o ? (a *= i, mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3534
3589
|
}, e.prototype.offset = function() {
|
|
3535
3590
|
return this.position.offset;
|
|
3536
3591
|
}, e.prototype.isEOF = function() {
|
|
@@ -3545,7 +3600,7 @@ var pn = (
|
|
|
3545
3600
|
var t = this.position.offset;
|
|
3546
3601
|
if (t >= this.message.length)
|
|
3547
3602
|
throw Error("out of bound");
|
|
3548
|
-
var r =
|
|
3603
|
+
var r = mr(this.message, t);
|
|
3549
3604
|
if (r === void 0)
|
|
3550
3605
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3551
3606
|
return r;
|
|
@@ -3564,7 +3619,7 @@ var pn = (
|
|
|
3564
3619
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3565
3620
|
}
|
|
3566
3621
|
}, e.prototype.bumpIf = function(t) {
|
|
3567
|
-
if (
|
|
3622
|
+
if (It(this.message, t, this.offset())) {
|
|
3568
3623
|
for (var r = 0; r < t.length; r++)
|
|
3569
3624
|
this.bump();
|
|
3570
3625
|
return !0;
|
|
@@ -3586,7 +3641,7 @@ var pn = (
|
|
|
3586
3641
|
break;
|
|
3587
3642
|
}
|
|
3588
3643
|
}, e.prototype.bumpSpace = function() {
|
|
3589
|
-
for (; !this.isEOF() &&
|
|
3644
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3590
3645
|
this.bump();
|
|
3591
3646
|
}, e.prototype.peek = function() {
|
|
3592
3647
|
if (this.isEOF())
|
|
@@ -3596,37 +3651,38 @@ var pn = (
|
|
|
3596
3651
|
}, e;
|
|
3597
3652
|
}()
|
|
3598
3653
|
);
|
|
3599
|
-
function
|
|
3654
|
+
function nt(e) {
|
|
3600
3655
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3601
3656
|
}
|
|
3602
|
-
function
|
|
3603
|
-
return
|
|
3657
|
+
function bn(e) {
|
|
3658
|
+
return nt(e) || e === 47;
|
|
3604
3659
|
}
|
|
3605
|
-
function
|
|
3660
|
+
function vn(e) {
|
|
3606
3661
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3607
3662
|
}
|
|
3608
|
-
function
|
|
3663
|
+
function dr(e) {
|
|
3609
3664
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3610
3665
|
}
|
|
3611
|
-
function
|
|
3666
|
+
function _n(e) {
|
|
3612
3667
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3613
3668
|
}
|
|
3614
|
-
function
|
|
3669
|
+
function ot(e) {
|
|
3615
3670
|
e.forEach(function(t) {
|
|
3616
|
-
if (delete t.location,
|
|
3671
|
+
if (delete t.location, or(t) || sr(t))
|
|
3617
3672
|
for (var r in t.options)
|
|
3618
|
-
delete t.options[r].location,
|
|
3619
|
-
else
|
|
3673
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3674
|
+
else
|
|
3675
|
+
rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
|
|
3620
3676
|
});
|
|
3621
3677
|
}
|
|
3622
|
-
function
|
|
3678
|
+
function En(e, t) {
|
|
3623
3679
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3624
|
-
var r = new
|
|
3680
|
+
var r = new gn(e, t).parse();
|
|
3625
3681
|
if (r.err) {
|
|
3626
3682
|
var i = SyntaxError(b[r.err.kind]);
|
|
3627
3683
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3628
3684
|
}
|
|
3629
|
-
return t?.captureLocation ||
|
|
3685
|
+
return t?.captureLocation || ot(r.val), r.val;
|
|
3630
3686
|
}
|
|
3631
3687
|
var te;
|
|
3632
3688
|
(function(e) {
|
|
@@ -3644,7 +3700,7 @@ var Ie = (
|
|
|
3644
3700
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3645
3701
|
}, t;
|
|
3646
3702
|
}(Error)
|
|
3647
|
-
),
|
|
3703
|
+
), Ct = (
|
|
3648
3704
|
/** @class */
|
|
3649
3705
|
function(e) {
|
|
3650
3706
|
G(t, e);
|
|
@@ -3653,7 +3709,7 @@ var Ie = (
|
|
|
3653
3709
|
}
|
|
3654
3710
|
return t;
|
|
3655
3711
|
}(Ie)
|
|
3656
|
-
),
|
|
3712
|
+
), xn = (
|
|
3657
3713
|
/** @class */
|
|
3658
3714
|
function(e) {
|
|
3659
3715
|
G(t, e);
|
|
@@ -3662,7 +3718,7 @@ var Ie = (
|
|
|
3662
3718
|
}
|
|
3663
3719
|
return t;
|
|
3664
3720
|
}(Ie)
|
|
3665
|
-
),
|
|
3721
|
+
), Tn = (
|
|
3666
3722
|
/** @class */
|
|
3667
3723
|
function(e) {
|
|
3668
3724
|
G(t, e);
|
|
@@ -3675,17 +3731,17 @@ var Ie = (
|
|
|
3675
3731
|
(function(e) {
|
|
3676
3732
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3677
3733
|
})(I || (I = {}));
|
|
3678
|
-
function
|
|
3734
|
+
function Ln(e) {
|
|
3679
3735
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3680
3736
|
var i = t[t.length - 1];
|
|
3681
3737
|
return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
|
|
3682
3738
|
}, []);
|
|
3683
3739
|
}
|
|
3684
|
-
function
|
|
3740
|
+
function Sn(e) {
|
|
3685
3741
|
return typeof e == "function";
|
|
3686
3742
|
}
|
|
3687
3743
|
function Te(e, t, r, i, n, o, a) {
|
|
3688
|
-
if (e.length === 1 &&
|
|
3744
|
+
if (e.length === 1 && wt(e[0]))
|
|
3689
3745
|
return [
|
|
3690
3746
|
{
|
|
3691
3747
|
type: I.literal,
|
|
@@ -3694,14 +3750,14 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3694
3750
|
];
|
|
3695
3751
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3696
3752
|
var l = u[h];
|
|
3697
|
-
if (
|
|
3753
|
+
if (wt(l)) {
|
|
3698
3754
|
s.push({
|
|
3699
3755
|
type: I.literal,
|
|
3700
3756
|
value: l.value
|
|
3701
3757
|
});
|
|
3702
3758
|
continue;
|
|
3703
3759
|
}
|
|
3704
|
-
if (
|
|
3760
|
+
if (Xi(l)) {
|
|
3705
3761
|
typeof o == "number" && s.push({
|
|
3706
3762
|
type: I.literal,
|
|
3707
3763
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3710,43 +3766,43 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3710
3766
|
}
|
|
3711
3767
|
var c = l.value;
|
|
3712
3768
|
if (!(n && c in n))
|
|
3713
|
-
throw new
|
|
3769
|
+
throw new Tn(c, a);
|
|
3714
3770
|
var f = n[c];
|
|
3715
|
-
if (
|
|
3771
|
+
if (Wi(l)) {
|
|
3716
3772
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3717
3773
|
type: typeof f == "string" ? I.literal : I.object,
|
|
3718
3774
|
value: f
|
|
3719
3775
|
});
|
|
3720
3776
|
continue;
|
|
3721
3777
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var p = typeof l.style == "string" ? i.date[l.style] :
|
|
3778
|
+
if (ir(l)) {
|
|
3779
|
+
var p = typeof l.style == "string" ? i.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
|
|
3724
3780
|
s.push({
|
|
3725
3781
|
type: I.literal,
|
|
3726
3782
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3727
3783
|
});
|
|
3728
3784
|
continue;
|
|
3729
3785
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var p = typeof l.style == "string" ? i.time[l.style] :
|
|
3786
|
+
if (nr(l)) {
|
|
3787
|
+
var p = typeof l.style == "string" ? i.time[l.style] : et(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3732
3788
|
s.push({
|
|
3733
3789
|
type: I.literal,
|
|
3734
3790
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3735
3791
|
});
|
|
3736
3792
|
continue;
|
|
3737
3793
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var p = typeof l.style == "string" ? i.number[l.style] :
|
|
3794
|
+
if (rr(l)) {
|
|
3795
|
+
var p = typeof l.style == "string" ? i.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
|
|
3740
3796
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3741
3797
|
type: I.literal,
|
|
3742
3798
|
value: r.getNumberFormat(t, p).format(f)
|
|
3743
3799
|
});
|
|
3744
3800
|
continue;
|
|
3745
3801
|
}
|
|
3746
|
-
if (
|
|
3802
|
+
if (ar(l)) {
|
|
3747
3803
|
var y = l.children, d = l.value, v = n[d];
|
|
3748
|
-
if (!
|
|
3749
|
-
throw new
|
|
3804
|
+
if (!Sn(v))
|
|
3805
|
+
throw new xn(d, "function", a);
|
|
3750
3806
|
var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3751
3807
|
return N.value;
|
|
3752
3808
|
}));
|
|
@@ -3757,14 +3813,14 @@ function Te(e, t, r, i, n, o, a) {
|
|
|
3757
3813
|
};
|
|
3758
3814
|
}));
|
|
3759
3815
|
}
|
|
3760
|
-
if (
|
|
3816
|
+
if (or(l)) {
|
|
3761
3817
|
var w = l.options[f] || l.options.other;
|
|
3762
3818
|
if (!w)
|
|
3763
|
-
throw new
|
|
3819
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3764
3820
|
s.push.apply(s, Te(w.value, t, r, i, n));
|
|
3765
3821
|
continue;
|
|
3766
3822
|
}
|
|
3767
|
-
if (
|
|
3823
|
+
if (sr(l)) {
|
|
3768
3824
|
var w = l.options["=".concat(f)];
|
|
3769
3825
|
if (!w) {
|
|
3770
3826
|
if (!Intl.PluralRules)
|
|
@@ -3775,24 +3831,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3775
3831
|
w = l.options[M] || l.options.other;
|
|
3776
3832
|
}
|
|
3777
3833
|
if (!w)
|
|
3778
|
-
throw new
|
|
3834
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3779
3835
|
s.push.apply(s, Te(w.value, t, r, i, n, f - (l.offset || 0)));
|
|
3780
3836
|
continue;
|
|
3781
3837
|
}
|
|
3782
3838
|
}
|
|
3783
|
-
return
|
|
3839
|
+
return Ln(s);
|
|
3784
3840
|
}
|
|
3785
|
-
function
|
|
3841
|
+
function wn(e, t) {
|
|
3786
3842
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3787
3843
|
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3788
3844
|
}, {})) : e;
|
|
3789
3845
|
}
|
|
3790
|
-
function
|
|
3846
|
+
function An(e, t) {
|
|
3791
3847
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3792
|
-
return r[i] =
|
|
3848
|
+
return r[i] = wn(e[i], t[i]), r;
|
|
3793
3849
|
}, E({}, e)) : e;
|
|
3794
3850
|
}
|
|
3795
|
-
function
|
|
3851
|
+
function ke(e) {
|
|
3796
3852
|
return {
|
|
3797
3853
|
create: function() {
|
|
3798
3854
|
return {
|
|
@@ -3806,39 +3862,39 @@ function je(e) {
|
|
|
3806
3862
|
}
|
|
3807
3863
|
};
|
|
3808
3864
|
}
|
|
3809
|
-
function
|
|
3865
|
+
function Pn(e) {
|
|
3810
3866
|
return e === void 0 && (e = {
|
|
3811
3867
|
number: {},
|
|
3812
3868
|
dateTime: {},
|
|
3813
3869
|
pluralRules: {}
|
|
3814
3870
|
}), {
|
|
3815
|
-
getNumberFormat:
|
|
3871
|
+
getNumberFormat: Ge(function() {
|
|
3816
3872
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3817
3873
|
r[i] = arguments[i];
|
|
3818
3874
|
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3819
3875
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3876
|
+
cache: ke(e.number),
|
|
3877
|
+
strategy: Fe.variadic
|
|
3822
3878
|
}),
|
|
3823
|
-
getDateTimeFormat:
|
|
3879
|
+
getDateTimeFormat: Ge(function() {
|
|
3824
3880
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3825
3881
|
r[i] = arguments[i];
|
|
3826
3882
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3827
3883
|
}, {
|
|
3828
|
-
cache:
|
|
3829
|
-
strategy:
|
|
3884
|
+
cache: ke(e.dateTime),
|
|
3885
|
+
strategy: Fe.variadic
|
|
3830
3886
|
}),
|
|
3831
|
-
getPluralRules:
|
|
3887
|
+
getPluralRules: Ge(function() {
|
|
3832
3888
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3833
3889
|
r[i] = arguments[i];
|
|
3834
3890
|
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3835
3891
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3892
|
+
cache: ke(e.pluralRules),
|
|
3893
|
+
strategy: Fe.variadic
|
|
3838
3894
|
})
|
|
3839
3895
|
};
|
|
3840
3896
|
}
|
|
3841
|
-
var
|
|
3897
|
+
var Hn = (
|
|
3842
3898
|
/** @class */
|
|
3843
3899
|
function() {
|
|
3844
3900
|
function e(t, r, i, n) {
|
|
@@ -3870,13 +3926,13 @@ var wn = (
|
|
|
3870
3926
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3871
3927
|
var a = n || {};
|
|
3872
3928
|
a.formatters;
|
|
3873
|
-
var s =
|
|
3929
|
+
var s = ai(a, ["formatters"]);
|
|
3874
3930
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3875
3931
|
} else
|
|
3876
3932
|
this.ast = t;
|
|
3877
3933
|
if (!Array.isArray(this.ast))
|
|
3878
3934
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3879
|
-
this.formats =
|
|
3935
|
+
this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
|
|
3880
3936
|
}
|
|
3881
3937
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3882
3938
|
get: function() {
|
|
@@ -3889,7 +3945,7 @@ var wn = (
|
|
|
3889
3945
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3890
3946
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3891
3947
|
}
|
|
3892
|
-
}, e.__parse =
|
|
3948
|
+
}, e.__parse = En, e.formats = {
|
|
3893
3949
|
number: {
|
|
3894
3950
|
integer: {
|
|
3895
3951
|
maximumFractionDigits: 0
|
|
@@ -3950,7 +4006,7 @@ var wn = (
|
|
|
3950
4006
|
}, e;
|
|
3951
4007
|
}()
|
|
3952
4008
|
);
|
|
3953
|
-
function
|
|
4009
|
+
function In(e, t) {
|
|
3954
4010
|
if (t == null)
|
|
3955
4011
|
return;
|
|
3956
4012
|
if (t in e)
|
|
@@ -3971,92 +4027,92 @@ function An(e, t) {
|
|
|
3971
4027
|
i = void 0;
|
|
3972
4028
|
return i;
|
|
3973
4029
|
}
|
|
3974
|
-
const F = {},
|
|
4030
|
+
const F = {}, Bn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), yr = (e, t) => {
|
|
3975
4031
|
if (t == null)
|
|
3976
4032
|
return;
|
|
3977
4033
|
if (t in F && e in F[t])
|
|
3978
4034
|
return F[t][e];
|
|
3979
4035
|
const r = Be(t);
|
|
3980
4036
|
for (let i = 0; i < r.length; i++) {
|
|
3981
|
-
const n = r[i], o =
|
|
4037
|
+
const n = r[i], o = Cn(n, e);
|
|
3982
4038
|
if (o)
|
|
3983
|
-
return
|
|
4039
|
+
return Bn(e, t, o);
|
|
3984
4040
|
}
|
|
3985
4041
|
};
|
|
3986
|
-
let
|
|
4042
|
+
let ct;
|
|
3987
4043
|
const me = He({});
|
|
3988
|
-
function
|
|
3989
|
-
return
|
|
4044
|
+
function On(e) {
|
|
4045
|
+
return ct[e] || null;
|
|
3990
4046
|
}
|
|
3991
|
-
function
|
|
3992
|
-
return e in
|
|
4047
|
+
function gr(e) {
|
|
4048
|
+
return e in ct;
|
|
3993
4049
|
}
|
|
3994
|
-
function
|
|
3995
|
-
if (!
|
|
4050
|
+
function Cn(e, t) {
|
|
4051
|
+
if (!gr(e))
|
|
3996
4052
|
return null;
|
|
3997
|
-
const r =
|
|
3998
|
-
return
|
|
4053
|
+
const r = On(e);
|
|
4054
|
+
return In(r, t);
|
|
3999
4055
|
}
|
|
4000
|
-
function
|
|
4056
|
+
function Nn(e) {
|
|
4001
4057
|
if (e == null)
|
|
4002
4058
|
return;
|
|
4003
4059
|
const t = Be(e);
|
|
4004
4060
|
for (let r = 0; r < t.length; r++) {
|
|
4005
4061
|
const i = t[r];
|
|
4006
|
-
if (
|
|
4062
|
+
if (gr(i))
|
|
4007
4063
|
return i;
|
|
4008
4064
|
}
|
|
4009
4065
|
}
|
|
4010
|
-
function
|
|
4011
|
-
delete F[e], me.update((r) => (r[e] =
|
|
4066
|
+
function br(e, ...t) {
|
|
4067
|
+
delete F[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4012
4068
|
}
|
|
4013
4069
|
ne(
|
|
4014
4070
|
[me],
|
|
4015
4071
|
([e]) => Object.keys(e)
|
|
4016
4072
|
);
|
|
4017
|
-
me.subscribe((e) =>
|
|
4073
|
+
me.subscribe((e) => ct = e);
|
|
4018
4074
|
const Le = {};
|
|
4019
|
-
function
|
|
4075
|
+
function Rn(e, t) {
|
|
4020
4076
|
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
4021
4077
|
}
|
|
4022
|
-
function
|
|
4078
|
+
function vr(e) {
|
|
4023
4079
|
return Le[e];
|
|
4024
4080
|
}
|
|
4025
|
-
function
|
|
4081
|
+
function Mn(e) {
|
|
4026
4082
|
return Be(e).map((t) => {
|
|
4027
|
-
const r =
|
|
4083
|
+
const r = vr(t);
|
|
4028
4084
|
return [t, r ? [...r] : []];
|
|
4029
4085
|
}).filter(([, t]) => t.length > 0);
|
|
4030
4086
|
}
|
|
4031
|
-
function
|
|
4087
|
+
function st(e) {
|
|
4032
4088
|
return e == null ? !1 : Be(e).some(
|
|
4033
4089
|
(t) => {
|
|
4034
4090
|
var r;
|
|
4035
|
-
return (r =
|
|
4091
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4036
4092
|
}
|
|
4037
4093
|
);
|
|
4038
4094
|
}
|
|
4039
|
-
function
|
|
4095
|
+
function Dn(e, t) {
|
|
4040
4096
|
return Promise.all(
|
|
4041
|
-
t.map((i) => (
|
|
4042
|
-
).then((i) =>
|
|
4097
|
+
t.map((i) => (Rn(e, i), i().then((n) => n.default || n)))
|
|
4098
|
+
).then((i) => br(e, ...i));
|
|
4043
4099
|
}
|
|
4044
4100
|
const ue = {};
|
|
4045
|
-
function
|
|
4046
|
-
if (!
|
|
4101
|
+
function _r(e) {
|
|
4102
|
+
if (!st(e))
|
|
4047
4103
|
return e in ue ? ue[e] : Promise.resolve();
|
|
4048
|
-
const t =
|
|
4104
|
+
const t = Mn(e);
|
|
4049
4105
|
return ue[e] = Promise.all(
|
|
4050
4106
|
t.map(
|
|
4051
|
-
([r, i]) =>
|
|
4107
|
+
([r, i]) => Dn(r, i)
|
|
4052
4108
|
)
|
|
4053
4109
|
).then(() => {
|
|
4054
|
-
if (
|
|
4055
|
-
return
|
|
4110
|
+
if (st(e))
|
|
4111
|
+
return _r(e);
|
|
4056
4112
|
delete ue[e];
|
|
4057
4113
|
}), ue[e];
|
|
4058
4114
|
}
|
|
4059
|
-
const
|
|
4115
|
+
const Un = {
|
|
4060
4116
|
number: {
|
|
4061
4117
|
scientific: { notation: "scientific" },
|
|
4062
4118
|
engineering: { notation: "engineering" },
|
|
@@ -4085,57 +4141,57 @@ const Rn = {
|
|
|
4085
4141
|
timeZoneName: "short"
|
|
4086
4142
|
}
|
|
4087
4143
|
}
|
|
4088
|
-
},
|
|
4144
|
+
}, $n = {
|
|
4089
4145
|
fallbackLocale: null,
|
|
4090
4146
|
loadingDelay: 200,
|
|
4091
|
-
formats:
|
|
4147
|
+
formats: Un,
|
|
4092
4148
|
warnOnMissingMessages: !0,
|
|
4093
4149
|
handleMissingMessage: void 0,
|
|
4094
4150
|
ignoreTag: !0
|
|
4095
|
-
},
|
|
4151
|
+
}, Gn = $n;
|
|
4096
4152
|
function re() {
|
|
4097
|
-
return
|
|
4153
|
+
return Gn;
|
|
4098
4154
|
}
|
|
4099
|
-
const
|
|
4100
|
-
var
|
|
4155
|
+
const Ve = He(!1);
|
|
4156
|
+
var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
|
|
4101
4157
|
for (var r in t || (t = {}))
|
|
4102
|
-
|
|
4103
|
-
if (
|
|
4104
|
-
for (var r of
|
|
4105
|
-
|
|
4158
|
+
Vn.call(t, r) && Rt(e, r, t[r]);
|
|
4159
|
+
if (Nt)
|
|
4160
|
+
for (var r of Nt(t))
|
|
4161
|
+
Wn.call(t, r) && Rt(e, r, t[r]);
|
|
4106
4162
|
return e;
|
|
4107
|
-
},
|
|
4108
|
-
let
|
|
4163
|
+
}, zn = (e, t) => jn(e, kn(t));
|
|
4164
|
+
let at;
|
|
4109
4165
|
const we = He(null);
|
|
4110
|
-
function
|
|
4166
|
+
function Mt(e) {
|
|
4111
4167
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4112
4168
|
}
|
|
4113
4169
|
function Be(e, t = re().fallbackLocale) {
|
|
4114
|
-
const r =
|
|
4115
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4170
|
+
const r = Mt(e);
|
|
4171
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
|
4116
4172
|
}
|
|
4117
4173
|
function z() {
|
|
4118
|
-
return
|
|
4174
|
+
return at ?? void 0;
|
|
4119
4175
|
}
|
|
4120
4176
|
we.subscribe((e) => {
|
|
4121
|
-
|
|
4177
|
+
at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4122
4178
|
});
|
|
4123
|
-
const
|
|
4124
|
-
if (e &&
|
|
4179
|
+
const Zn = (e) => {
|
|
4180
|
+
if (e && Nn(e) && st(e)) {
|
|
4125
4181
|
const { loadingDelay: t } = re();
|
|
4126
4182
|
let r;
|
|
4127
4183
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4128
|
-
() =>
|
|
4184
|
+
() => Ve.set(!0),
|
|
4129
4185
|
t
|
|
4130
|
-
) :
|
|
4186
|
+
) : Ve.set(!0), _r(e).then(() => {
|
|
4131
4187
|
we.set(e);
|
|
4132
4188
|
}).finally(() => {
|
|
4133
|
-
clearTimeout(r),
|
|
4189
|
+
clearTimeout(r), Ve.set(!1);
|
|
4134
4190
|
});
|
|
4135
4191
|
}
|
|
4136
4192
|
return we.set(e);
|
|
4137
|
-
}, oe =
|
|
4138
|
-
set:
|
|
4193
|
+
}, oe = zn(Xn({}, we), {
|
|
4194
|
+
set: Zn
|
|
4139
4195
|
}), Oe = (e) => {
|
|
4140
4196
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4141
4197
|
return (i) => {
|
|
@@ -4143,20 +4199,20 @@ const Wn = (e) => {
|
|
|
4143
4199
|
return n in t ? t[n] : t[n] = e(i);
|
|
4144
4200
|
};
|
|
4145
4201
|
};
|
|
4146
|
-
var
|
|
4202
|
+
var Qn = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
4147
4203
|
for (var r in t || (t = {}))
|
|
4148
|
-
|
|
4204
|
+
Er.call(t, r) && Dt(e, r, t[r]);
|
|
4149
4205
|
if (Ae)
|
|
4150
4206
|
for (var r of Ae(t))
|
|
4151
|
-
|
|
4207
|
+
xr.call(t, r) && Dt(e, r, t[r]);
|
|
4152
4208
|
return e;
|
|
4153
4209
|
}, se = (e, t) => {
|
|
4154
4210
|
var r = {};
|
|
4155
4211
|
for (var i in e)
|
|
4156
|
-
|
|
4212
|
+
Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4157
4213
|
if (e != null && Ae)
|
|
4158
4214
|
for (var i of Ae(e))
|
|
4159
|
-
t.indexOf(i) < 0 &&
|
|
4215
|
+
t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
|
|
4160
4216
|
return r;
|
|
4161
4217
|
};
|
|
4162
4218
|
const fe = (e, t) => {
|
|
@@ -4164,21 +4220,21 @@ const fe = (e, t) => {
|
|
|
4164
4220
|
if (e in r && t in r[e])
|
|
4165
4221
|
return r[e][t];
|
|
4166
4222
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4167
|
-
},
|
|
4223
|
+
}, Yn = Oe(
|
|
4168
4224
|
(e) => {
|
|
4169
4225
|
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4170
4226
|
if (r == null)
|
|
4171
4227
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4172
4228
|
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
4173
4229
|
}
|
|
4174
|
-
),
|
|
4230
|
+
), Jn = Oe(
|
|
4175
4231
|
(e) => {
|
|
4176
4232
|
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4177
4233
|
if (r == null)
|
|
4178
4234
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4179
4235
|
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4180
4236
|
}
|
|
4181
|
-
),
|
|
4237
|
+
), qn = Oe(
|
|
4182
4238
|
(e) => {
|
|
4183
4239
|
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4184
4240
|
if (r == null)
|
|
@@ -4187,33 +4243,33 @@ const fe = (e, t) => {
|
|
|
4187
4243
|
);
|
|
4188
4244
|
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4189
4245
|
}
|
|
4190
|
-
),
|
|
4246
|
+
), Kn = (e = {}) => {
|
|
4191
4247
|
var t = e, {
|
|
4192
4248
|
locale: r = z()
|
|
4193
4249
|
} = t, i = se(t, [
|
|
4194
4250
|
"locale"
|
|
4195
4251
|
]);
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4252
|
+
return Yn(ft({ locale: r }, i));
|
|
4253
|
+
}, eo = (e = {}) => {
|
|
4198
4254
|
var t = e, {
|
|
4199
4255
|
locale: r = z()
|
|
4200
4256
|
} = t, i = se(t, [
|
|
4201
4257
|
"locale"
|
|
4202
4258
|
]);
|
|
4203
|
-
return
|
|
4204
|
-
},
|
|
4259
|
+
return Jn(ft({ locale: r }, i));
|
|
4260
|
+
}, to = (e = {}) => {
|
|
4205
4261
|
var t = e, {
|
|
4206
4262
|
locale: r = z()
|
|
4207
4263
|
} = t, i = se(t, [
|
|
4208
4264
|
"locale"
|
|
4209
4265
|
]);
|
|
4210
|
-
return
|
|
4211
|
-
},
|
|
4266
|
+
return qn(ft({ locale: r }, i));
|
|
4267
|
+
}, ro = Oe(
|
|
4212
4268
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4213
|
-
(e, t = z()) => new
|
|
4269
|
+
(e, t = z()) => new Hn(e, t, re().formats, {
|
|
4214
4270
|
ignoreTag: re().ignoreTag
|
|
4215
4271
|
})
|
|
4216
|
-
),
|
|
4272
|
+
), io = (e, t = {}) => {
|
|
4217
4273
|
var r, i, n, o;
|
|
4218
4274
|
let a = t;
|
|
4219
4275
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4226,7 +4282,7 @@ const fe = (e, t) => {
|
|
|
4226
4282
|
throw new Error(
|
|
4227
4283
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4228
4284
|
);
|
|
4229
|
-
let l =
|
|
4285
|
+
let l = yr(e, h);
|
|
4230
4286
|
if (!l)
|
|
4231
4287
|
l = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
|
|
4232
4288
|
else if (typeof l != "string")
|
|
@@ -4237,7 +4293,7 @@ const fe = (e, t) => {
|
|
|
4237
4293
|
return l;
|
|
4238
4294
|
let c = l;
|
|
4239
4295
|
try {
|
|
4240
|
-
c =
|
|
4296
|
+
c = ro(l, h).format(s);
|
|
4241
4297
|
} catch (f) {
|
|
4242
4298
|
f instanceof Error && console.warn(
|
|
4243
4299
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4245,20 +4301,20 @@ const fe = (e, t) => {
|
|
|
4245
4301
|
);
|
|
4246
4302
|
}
|
|
4247
4303
|
return c;
|
|
4248
|
-
},
|
|
4249
|
-
ne([oe], () =>
|
|
4250
|
-
ne([oe], () =>
|
|
4251
|
-
ne([oe], () =>
|
|
4252
|
-
ne([oe, me], () =>
|
|
4253
|
-
window.emWidgets = { topic:
|
|
4254
|
-
const
|
|
4255
|
-
function
|
|
4304
|
+
}, no = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Kn(t).format(e), ao = (e, t = z()) => yr(e, t), uo = ne([oe, me], () => io);
|
|
4305
|
+
ne([oe], () => no);
|
|
4306
|
+
ne([oe], () => oo);
|
|
4307
|
+
ne([oe], () => so);
|
|
4308
|
+
ne([oe, me], () => ao);
|
|
4309
|
+
window.emWidgets = { topic: Ei };
|
|
4310
|
+
const lo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Do = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4311
|
+
function ho(e, t) {
|
|
4256
4312
|
if (e) {
|
|
4257
4313
|
const r = document.createElement("style");
|
|
4258
4314
|
r.innerHTML = t, e.appendChild(r);
|
|
4259
4315
|
}
|
|
4260
4316
|
}
|
|
4261
|
-
function
|
|
4317
|
+
function co(e, t) {
|
|
4262
4318
|
const r = new URL(t);
|
|
4263
4319
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4264
4320
|
const n = document.createElement("style");
|
|
@@ -4267,7 +4323,7 @@ function uo(e, t) {
|
|
|
4267
4323
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4268
4324
|
});
|
|
4269
4325
|
}
|
|
4270
|
-
function
|
|
4326
|
+
function fo(e, t, r) {
|
|
4271
4327
|
if (window.emMessageBus) {
|
|
4272
4328
|
const i = document.createElement("style");
|
|
4273
4329
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4275,13 +4331,13 @@ function lo(e, t, r) {
|
|
|
4275
4331
|
});
|
|
4276
4332
|
}
|
|
4277
4333
|
}
|
|
4278
|
-
function
|
|
4279
|
-
|
|
4334
|
+
function Ut(e, t) {
|
|
4335
|
+
br(e, t);
|
|
4280
4336
|
}
|
|
4281
|
-
function
|
|
4337
|
+
function mo(e) {
|
|
4282
4338
|
oe.set(e);
|
|
4283
4339
|
}
|
|
4284
|
-
const
|
|
4340
|
+
const We = {
|
|
4285
4341
|
en: {
|
|
4286
4342
|
expandLimits: "LIMIT HISTORY",
|
|
4287
4343
|
daily: "per day",
|
|
@@ -4532,26 +4588,26 @@ const Ve = {
|
|
|
4532
4588
|
historyLimitTypeLoss: "Loss Limit"
|
|
4533
4589
|
}
|
|
4534
4590
|
};
|
|
4535
|
-
function
|
|
4536
|
-
|
|
4591
|
+
function po(e) {
|
|
4592
|
+
Gr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
|
|
4537
4593
|
}
|
|
4538
|
-
function
|
|
4594
|
+
function $t(e, t, r) {
|
|
4539
4595
|
const i = e.slice();
|
|
4540
4596
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4541
4597
|
}
|
|
4542
|
-
function
|
|
4598
|
+
function yo(e) {
|
|
4543
4599
|
let t, r, i, n = (
|
|
4544
4600
|
/*$_*/
|
|
4545
4601
|
e[9]("expandLimits") + ""
|
|
4546
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4602
|
+
), o, a, s, h, u, l, c, f, p, y = gt(
|
|
4547
4603
|
/*lazyShowedHistoryArray*/
|
|
4548
4604
|
e[7]
|
|
4549
4605
|
), d = [];
|
|
4550
4606
|
for (let v = 0; v < y.length; v += 1)
|
|
4551
|
-
d[v] =
|
|
4607
|
+
d[v] = Gt($t(e, y, v));
|
|
4552
4608
|
return {
|
|
4553
4609
|
c() {
|
|
4554
|
-
t = P("div"), r = P("div"), i = P("button"), o = R(n), a =
|
|
4610
|
+
t = P("div"), r = P("div"), i = P("button"), o = R(n), a = Xe(), s = Me("svg"), h = Me("path"), u = Me("path"), l = Xe(), c = P("div");
|
|
4555
4611
|
for (let v = 0; v < d.length; v += 1)
|
|
4556
4612
|
d[v].c();
|
|
4557
4613
|
x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
|
|
@@ -4571,7 +4627,7 @@ function fo(e) {
|
|
|
4571
4627
|
X(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
|
|
4572
4628
|
for (let g = 0; g < d.length; g += 1)
|
|
4573
4629
|
d[g] && d[g].m(c, null);
|
|
4574
|
-
f || (p =
|
|
4630
|
+
f || (p = Vr(
|
|
4575
4631
|
i,
|
|
4576
4632
|
"click",
|
|
4577
4633
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4589,14 +4645,14 @@ function fo(e) {
|
|
|
4589
4645
|
v[8]
|
|
4590
4646
|
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4591
4647
|
650) {
|
|
4592
|
-
y =
|
|
4648
|
+
y = gt(
|
|
4593
4649
|
/*lazyShowedHistoryArray*/
|
|
4594
4650
|
v[7]
|
|
4595
4651
|
);
|
|
4596
4652
|
let g;
|
|
4597
4653
|
for (g = 0; g < y.length; g += 1) {
|
|
4598
|
-
const w =
|
|
4599
|
-
d[g] ? d[g].p(w, H) : (d[g] =
|
|
4654
|
+
const w = $t(v, y, g);
|
|
4655
|
+
d[g] ? d[g].p(w, H) : (d[g] = Gt(w), d[g].c(), d[g].m(c, null));
|
|
4600
4656
|
}
|
|
4601
4657
|
for (; g < d.length; g += 1)
|
|
4602
4658
|
d[g].d(1);
|
|
@@ -4611,14 +4667,14 @@ function fo(e) {
|
|
|
4611
4667
|
);
|
|
4612
4668
|
},
|
|
4613
4669
|
d(v) {
|
|
4614
|
-
v && k(t),
|
|
4670
|
+
v && k(t), kr(d, v), f = !1, p();
|
|
4615
4671
|
}
|
|
4616
4672
|
};
|
|
4617
4673
|
}
|
|
4618
|
-
function
|
|
4674
|
+
function go(e) {
|
|
4619
4675
|
return { c: B, m: B, p: B, d: B };
|
|
4620
4676
|
}
|
|
4621
|
-
function
|
|
4677
|
+
function bo(e) {
|
|
4622
4678
|
let t, r = (
|
|
4623
4679
|
/*lang*/
|
|
4624
4680
|
(e[0] ? (
|
|
@@ -4646,7 +4702,7 @@ function po(e) {
|
|
|
4646
4702
|
}
|
|
4647
4703
|
};
|
|
4648
4704
|
}
|
|
4649
|
-
function
|
|
4705
|
+
function vo(e) {
|
|
4650
4706
|
let t, r, i, n = (
|
|
4651
4707
|
/*history*/
|
|
4652
4708
|
e[37].type + ""
|
|
@@ -4678,7 +4734,7 @@ function yo(e) {
|
|
|
4678
4734
|
}
|
|
4679
4735
|
};
|
|
4680
4736
|
}
|
|
4681
|
-
function
|
|
4737
|
+
function _o(e) {
|
|
4682
4738
|
let t, r, i, n = (
|
|
4683
4739
|
/*history*/
|
|
4684
4740
|
e[37].type + ""
|
|
@@ -4710,7 +4766,7 @@ function go(e) {
|
|
|
4710
4766
|
}
|
|
4711
4767
|
};
|
|
4712
4768
|
}
|
|
4713
|
-
function
|
|
4769
|
+
function Gt(e) {
|
|
4714
4770
|
let t, r, i, n = (
|
|
4715
4771
|
/*index*/
|
|
4716
4772
|
e[39]
|
|
@@ -4718,7 +4774,7 @@ function Dt(e) {
|
|
|
4718
4774
|
function o(l, c) {
|
|
4719
4775
|
return (
|
|
4720
4776
|
/*history*/
|
|
4721
|
-
l[37].removed ?
|
|
4777
|
+
l[37].removed ? _o : vo
|
|
4722
4778
|
);
|
|
4723
4779
|
}
|
|
4724
4780
|
let a = o(e), s = a(e);
|
|
@@ -4731,7 +4787,7 @@ function Dt(e) {
|
|
|
4731
4787
|
);
|
|
4732
4788
|
return {
|
|
4733
4789
|
c() {
|
|
4734
|
-
t = P("div"), s.c(), r =
|
|
4790
|
+
t = P("div"), s.c(), r = Xe(), x(t, "class", i = dt(
|
|
4735
4791
|
/*index*/
|
|
4736
4792
|
e[39] > +/*numberofentries*/
|
|
4737
4793
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4742,7 +4798,7 @@ function Dt(e) {
|
|
|
4742
4798
|
},
|
|
4743
4799
|
p(l, c) {
|
|
4744
4800
|
e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
|
|
4745
|
-
2 && i !== (i =
|
|
4801
|
+
2 && i !== (i = dt(
|
|
4746
4802
|
/*index*/
|
|
4747
4803
|
e[39] > +/*numberofentries*/
|
|
4748
4804
|
e[1] ? "LimitContainer" : ""
|
|
@@ -4755,14 +4811,14 @@ function Dt(e) {
|
|
|
4755
4811
|
}
|
|
4756
4812
|
};
|
|
4757
4813
|
}
|
|
4758
|
-
function
|
|
4814
|
+
function Eo(e) {
|
|
4759
4815
|
let t;
|
|
4760
4816
|
function r(o, a) {
|
|
4761
4817
|
return (
|
|
4762
4818
|
/*hasErrors*/
|
|
4763
|
-
o[6] ?
|
|
4819
|
+
o[6] ? bo : (
|
|
4764
4820
|
/*isLoading*/
|
|
4765
|
-
o[4] ?
|
|
4821
|
+
o[4] ? go : yo
|
|
4766
4822
|
)
|
|
4767
4823
|
);
|
|
4768
4824
|
}
|
|
@@ -4784,23 +4840,23 @@ function bo(e) {
|
|
|
4784
4840
|
}
|
|
4785
4841
|
};
|
|
4786
4842
|
}
|
|
4787
|
-
function
|
|
4843
|
+
function xo(e, t, r) {
|
|
4788
4844
|
let i;
|
|
4789
|
-
|
|
4790
|
-
let n = window.navigator.userAgent, o = !
|
|
4791
|
-
const
|
|
4845
|
+
$r(e, uo, (m) => r(9, i = m));
|
|
4846
|
+
let n = window.navigator.userAgent, o = !lo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), M = parseInt(c, 10), N = !1, D = !0, V = [], pe = [], de = !0, Ce = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
|
|
4847
|
+
const Lr = () => {
|
|
4792
4848
|
fetch(H).then((L) => L.json()).then((L) => {
|
|
4793
4849
|
Object.keys(L).forEach((C) => {
|
|
4794
|
-
|
|
4850
|
+
Ut(C, L[C]);
|
|
4795
4851
|
});
|
|
4796
4852
|
}).catch((L) => {
|
|
4797
4853
|
console.log(L);
|
|
4798
4854
|
});
|
|
4799
4855
|
};
|
|
4800
|
-
Object.keys(
|
|
4801
|
-
|
|
4856
|
+
Object.keys(We).forEach((m) => {
|
|
4857
|
+
Ut(m, We[m]);
|
|
4802
4858
|
});
|
|
4803
|
-
const
|
|
4859
|
+
const Sr = () => {
|
|
4804
4860
|
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
|
|
4805
4861
|
L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
|
|
4806
4862
|
let C = {
|
|
@@ -4813,14 +4869,14 @@ function vo(e, t, r) {
|
|
|
4813
4869
|
return A.json();
|
|
4814
4870
|
}).then(
|
|
4815
4871
|
(A) => {
|
|
4816
|
-
A.length && (V =
|
|
4872
|
+
A.length && (V = wr(A), r(7, pe = V.slice(0, M))), r(4, D = !1);
|
|
4817
4873
|
},
|
|
4818
4874
|
(A) => {
|
|
4819
4875
|
console.error("There was an error", A), r(6, N = !0);
|
|
4820
4876
|
}
|
|
4821
4877
|
);
|
|
4822
|
-
},
|
|
4823
|
-
const L = !!
|
|
4878
|
+
}, wr = (m) => {
|
|
4879
|
+
const L = !!We[a];
|
|
4824
4880
|
return m.map((A) => {
|
|
4825
4881
|
let U = {
|
|
4826
4882
|
amount: "",
|
|
@@ -4830,52 +4886,53 @@ function vo(e, t, r) {
|
|
|
4830
4886
|
type: "",
|
|
4831
4887
|
removed: !1
|
|
4832
4888
|
};
|
|
4833
|
-
return U.amount =
|
|
4889
|
+
return U.amount = Ar(A), U.currency = L ? ae[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
|
|
4834
4890
|
});
|
|
4835
|
-
},
|
|
4891
|
+
}, Ar = (m) => {
|
|
4836
4892
|
let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4837
4893
|
if (!p) {
|
|
4838
|
-
let
|
|
4839
|
-
return `${L}${
|
|
4894
|
+
let Mr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4895
|
+
return `${L}${Mr}`;
|
|
4840
4896
|
}
|
|
4841
4897
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4842
4898
|
const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4843
4899
|
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4844
|
-
const [
|
|
4845
|
-
let [Re,
|
|
4846
|
-
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
4900
|
+
const [Nr, Ne] = p.includes(".") ? [",", "."] : [".", ","];
|
|
4901
|
+
let [Re, Rr] = ye.split(".");
|
|
4902
|
+
return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), ye = `${Re}${Ne}${Rr}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
|
|
4847
4903
|
U,
|
|
4848
4904
|
ye.split(Ne)[1]
|
|
4849
4905
|
), L;
|
|
4850
|
-
},
|
|
4906
|
+
}, Pr = () => {
|
|
4851
4907
|
r(5, de = !de), r(8, Ce = !Ce);
|
|
4852
4908
|
};
|
|
4853
|
-
let
|
|
4909
|
+
let mt = new IntersectionObserver((m) => {
|
|
4854
4910
|
m.forEach((L) => {
|
|
4855
4911
|
L.isIntersecting && (M += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, M)));
|
|
4856
4912
|
});
|
|
4857
4913
|
});
|
|
4858
|
-
const
|
|
4859
|
-
|
|
4860
|
-
},
|
|
4861
|
-
if (!f)
|
|
4914
|
+
const Hr = () => {
|
|
4915
|
+
mt.observe(w[w.length - 1]);
|
|
4916
|
+
}, Ir = () => {
|
|
4917
|
+
if (!f)
|
|
4918
|
+
return;
|
|
4862
4919
|
let m = {};
|
|
4863
4920
|
f.split(",").forEach((L) => {
|
|
4864
4921
|
let C = L.split(":");
|
|
4865
4922
|
m[C[0].trim()] = C[1].trim();
|
|
4866
4923
|
}), ae = { ...ae, ...m };
|
|
4867
|
-
},
|
|
4868
|
-
|
|
4924
|
+
}, Br = () => {
|
|
4925
|
+
mo(a);
|
|
4869
4926
|
};
|
|
4870
|
-
|
|
4871
|
-
|
|
4927
|
+
Zr(() => () => {
|
|
4928
|
+
mt.unobserve(w[w.length - 1]);
|
|
4872
4929
|
});
|
|
4873
|
-
function
|
|
4930
|
+
function Or(m, L) {
|
|
4874
4931
|
Se[m ? "unshift" : "push"](() => {
|
|
4875
4932
|
w[L] = m, r(3, w);
|
|
4876
4933
|
});
|
|
4877
4934
|
}
|
|
4878
|
-
function
|
|
4935
|
+
function Cr(m) {
|
|
4879
4936
|
Se[m ? "unshift" : "push"](() => {
|
|
4880
4937
|
g = m, r(2, g);
|
|
4881
4938
|
});
|
|
@@ -4884,14 +4941,14 @@ function vo(e, t, r) {
|
|
|
4884
4941
|
"lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
|
|
4885
4942
|
}, e.$$.update = () => {
|
|
4886
4943
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4887
|
-
65536 && f &&
|
|
4888
|
-
61440 && u && s && h && l &&
|
|
4889
|
-
56 && w[0] && !D && !de &&
|
|
4890
|
-
1 && a &&
|
|
4891
|
-
262148 && y && g &&
|
|
4892
|
-
524292 && d && g &&
|
|
4893
|
-
1048580 && v && g &&
|
|
4894
|
-
2097156 && H && g &&
|
|
4944
|
+
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4945
|
+
61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4946
|
+
56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
|
|
4947
|
+
1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4948
|
+
262148 && y && g && ho(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4949
|
+
524292 && d && g && co(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4950
|
+
1048580 && v && g && fo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
|
|
4951
|
+
2097156 && H && g && Lr();
|
|
4895
4952
|
}, [
|
|
4896
4953
|
a,
|
|
4897
4954
|
c,
|
|
@@ -4904,7 +4961,7 @@ function vo(e, t, r) {
|
|
|
4904
4961
|
Ce,
|
|
4905
4962
|
i,
|
|
4906
4963
|
o,
|
|
4907
|
-
|
|
4964
|
+
Pr,
|
|
4908
4965
|
s,
|
|
4909
4966
|
h,
|
|
4910
4967
|
u,
|
|
@@ -4915,18 +4972,18 @@ function vo(e, t, r) {
|
|
|
4915
4972
|
d,
|
|
4916
4973
|
v,
|
|
4917
4974
|
H,
|
|
4918
|
-
|
|
4919
|
-
|
|
4975
|
+
Or,
|
|
4976
|
+
Cr
|
|
4920
4977
|
];
|
|
4921
4978
|
}
|
|
4922
|
-
class
|
|
4979
|
+
class Tr extends oi {
|
|
4923
4980
|
constructor(t) {
|
|
4924
|
-
super(),
|
|
4981
|
+
super(), ii(
|
|
4925
4982
|
this,
|
|
4926
4983
|
t,
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4984
|
+
xo,
|
|
4985
|
+
Eo,
|
|
4986
|
+
jt,
|
|
4930
4987
|
{
|
|
4931
4988
|
lang: 0,
|
|
4932
4989
|
userid: 12,
|
|
@@ -4941,7 +4998,7 @@ class vr extends ti {
|
|
|
4941
4998
|
mbsource: 20,
|
|
4942
4999
|
translationurl: 21
|
|
4943
5000
|
},
|
|
4944
|
-
|
|
5001
|
+
po,
|
|
4945
5002
|
[-1, -1]
|
|
4946
5003
|
);
|
|
4947
5004
|
}
|
|
@@ -5018,59 +5075,59 @@ class vr extends ti {
|
|
|
5018
5075
|
this.$$set({ translationurl: t }), O();
|
|
5019
5076
|
}
|
|
5020
5077
|
}
|
|
5021
|
-
|
|
5022
|
-
const
|
|
5078
|
+
ni(Tr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5079
|
+
const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5023
5080
|
__proto__: null,
|
|
5024
|
-
default:
|
|
5081
|
+
default: Tr
|
|
5025
5082
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5026
5083
|
export {
|
|
5027
5084
|
oe as $,
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5085
|
+
gt as A,
|
|
5086
|
+
Io as B,
|
|
5087
|
+
kr as C,
|
|
5088
|
+
ie as D,
|
|
5089
|
+
Ze as E,
|
|
5090
|
+
Oo as F,
|
|
5091
|
+
uo as G,
|
|
5092
|
+
Me as H,
|
|
5093
|
+
Bo as I,
|
|
5037
5094
|
me as J,
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5095
|
+
Mo as K,
|
|
5096
|
+
Ro as L,
|
|
5097
|
+
Kr as M,
|
|
5098
|
+
Do as N,
|
|
5099
|
+
No as O,
|
|
5100
|
+
Po as P,
|
|
5101
|
+
To as Q,
|
|
5102
|
+
So as R,
|
|
5103
|
+
oi as S,
|
|
5104
|
+
wo as T,
|
|
5105
|
+
Lo as U,
|
|
5106
|
+
Uo as V,
|
|
5107
|
+
br as a,
|
|
5108
|
+
Gr as b,
|
|
5109
|
+
ni as c,
|
|
5110
|
+
Xe as d,
|
|
5111
|
+
P as e,
|
|
5055
5112
|
O as f,
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5113
|
+
x as g,
|
|
5114
|
+
T as h,
|
|
5115
|
+
ii as i,
|
|
5116
|
+
X as j,
|
|
5117
|
+
k,
|
|
5118
|
+
$r as l,
|
|
5119
|
+
lo as m,
|
|
5063
5120
|
B as n,
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5121
|
+
Zr as o,
|
|
5122
|
+
co as p,
|
|
5123
|
+
fo as q,
|
|
5124
|
+
Co as r,
|
|
5125
|
+
jt as s,
|
|
5126
|
+
Ho as t,
|
|
5127
|
+
Se as u,
|
|
5128
|
+
ho as v,
|
|
5129
|
+
R as w,
|
|
5073
5130
|
Ao as x,
|
|
5074
|
-
|
|
5075
|
-
|
|
5131
|
+
Vr as y,
|
|
5132
|
+
j as z
|
|
5076
5133
|
};
|