@everymatrix/player-account-gaming-limits-wrapper-2 1.64.7 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountGamingLimitsHistory2-C-Rfp8PF.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2-DrjkyFQ_.js → PlayerAccountGamingLimitsHistory2-Ro8l6AKR.js} +987 -1008
- package/components/{PlayerAccountGamingLimitsHistory2-GArV24bp.js → PlayerAccountGamingLimitsHistory2-Uv67939E.js} +817 -838
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DLX58h4T.js → PlayerAccountGamingLimitsPage2Gm16-8tSES8zY.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DviV4_mb.js → PlayerAccountGamingLimitsPage2Gm16-V3HqwiwH.js} +87 -87
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DVWlVHyp.cjs → PlayerAccountGamingLimitsPage2Gm16-s3JkQLAA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-RZwb1Aj0.cjs → PlayerAccountGamingLimitsWrapper2-Aaiw3Xmk.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-N-KDOrZU.js → PlayerAccountGamingLimitsWrapper2-C8UESZbU.js} +40 -40
- package/components/{PlayerAccountGamingLimitsWrapper2-BvCmyyWg.js → PlayerAccountGamingLimitsWrapper2-D1z_3IBl.js} +64 -64
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CmHRXrte.cjs +1 -0
- package/stencil/index-b2193545-Dsw4OOA0.js +503 -0
- package/stencil/index-b2193545-b7FTTZLk.js +519 -0
- package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-1cb75d00-BNH09c7f.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CUSs6C3A.cjs → ui-skeleton-1cb75d00-CZaAqtpv.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-1cb75d00-D5-2p-WB.js} +1 -1
- package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-AIPVdsFJ.js} +2 -2
- package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-CrET-Yki.js} +2 -2
- package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-DeVqZ9-c.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-DRH0naic.cjs +0 -18
- package/stencil/index-b2193545-BcYyCldH.js +0 -519
- package/stencil/index-b2193545-CPztmidm.js +0 -503
- package/stencil/index-b2193545-D1Z0k4-D.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Dr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function Ur(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Ft(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function pt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function ie(e) {
|
|
18
|
+
e.forEach(Ft);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ut(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function jt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Ur(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function kt(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const i of t)
|
|
32
32
|
i(void 0);
|
|
33
|
-
return
|
|
33
|
+
return B;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function $r(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(kt(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function To(e, t, r, i) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const n =
|
|
43
|
+
const n = Vt(e, t, r, i);
|
|
44
44
|
return e[0](n);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && i ?
|
|
47
|
+
function Vt(e, t, r, i) {
|
|
48
|
+
return e[1] && i ? Dr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Lo(e, t, r, i) {
|
|
51
51
|
if (e[2] && i) {
|
|
52
52
|
const n = e[2](i(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
@@ -62,13 +62,13 @@ function wo(e, t, r, i) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function So(e, t, r, i, n, o) {
|
|
66
66
|
if (n) {
|
|
67
|
-
const a =
|
|
67
|
+
const a = Vt(t, r, i, o);
|
|
68
68
|
e.p(a, n);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function wo(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let i = 0; i < r; i++)
|
|
@@ -77,20 +77,20 @@ function Po(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return -1;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function dt(e) {
|
|
81
81
|
return e ?? "";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function T(e, t) {
|
|
84
84
|
e.appendChild(t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
const i =
|
|
86
|
+
function Gr(e, t, r) {
|
|
87
|
+
const i = Fr(e);
|
|
88
88
|
if (!i.getElementById(t)) {
|
|
89
89
|
const n = P("style");
|
|
90
|
-
n.id = t, n.textContent = r,
|
|
90
|
+
n.id = t, n.textContent = r, jr(i, n);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Fr(e) {
|
|
94
94
|
if (!e)
|
|
95
95
|
return document;
|
|
96
96
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -100,8 +100,8 @@ function jr(e) {
|
|
|
100
100
|
t
|
|
101
101
|
) : e.ownerDocument;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
return
|
|
103
|
+
function jr(e, t) {
|
|
104
|
+
return T(
|
|
105
105
|
/** @type {Document} */
|
|
106
106
|
e.head || e,
|
|
107
107
|
t
|
|
@@ -113,52 +113,52 @@ function X(e, t, r) {
|
|
|
113
113
|
function k(e) {
|
|
114
114
|
e.parentNode && e.parentNode.removeChild(e);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function kr(e, t) {
|
|
117
117
|
for (let r = 0; r < e.length; r += 1)
|
|
118
118
|
e[r] && e[r].d(t);
|
|
119
119
|
}
|
|
120
120
|
function P(e) {
|
|
121
121
|
return document.createElement(e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Me(e) {
|
|
124
124
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function R(e) {
|
|
127
127
|
return document.createTextNode(e);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
return
|
|
129
|
+
function Xe() {
|
|
130
|
+
return R(" ");
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
return
|
|
132
|
+
function Ao() {
|
|
133
|
+
return R("");
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Vr(e, t, r, i) {
|
|
136
136
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function x(e, t, r) {
|
|
139
139
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Po(e, t, r) {
|
|
142
142
|
const i = t.toLowerCase();
|
|
143
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
143
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Ho(e) {
|
|
146
146
|
return e === "" ? null : +e;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Wr(e) {
|
|
149
149
|
return Array.from(e.childNodes);
|
|
150
150
|
}
|
|
151
151
|
function j(e, t) {
|
|
152
152
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
153
153
|
t);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Io(e, t) {
|
|
156
156
|
e.value = t ?? "";
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Bo(e, t, r, i) {
|
|
159
159
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Oo(e, t, r) {
|
|
162
162
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
163
163
|
const n = e.options[i];
|
|
164
164
|
if (n.__value === t) {
|
|
@@ -168,14 +168,14 @@ function No(e, t, r) {
|
|
|
168
168
|
}
|
|
169
169
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Co(e) {
|
|
172
172
|
const t = e.querySelector(":checked");
|
|
173
173
|
return t && t.__value;
|
|
174
174
|
}
|
|
175
175
|
function ge(e, t, r) {
|
|
176
176
|
e.classList.toggle(t, !!r);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Xr(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -184,69 +184,69 @@ function zr(e) {
|
|
|
184
184
|
}
|
|
185
185
|
), t;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
let he;
|
|
188
|
+
function le(e) {
|
|
189
|
+
he = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
191
|
+
function zr() {
|
|
192
|
+
if (!he)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
194
|
+
return he;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function Zr(e) {
|
|
197
|
+
zr().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
199
|
const Y = [], Se = [];
|
|
200
200
|
let J = [];
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
201
|
+
const yt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let ze = !1;
|
|
203
|
+
function Yr() {
|
|
204
|
+
ze || (ze = !0, Qr.then(O));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ze(e) {
|
|
207
207
|
J.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const De = /* @__PURE__ */ new Set();
|
|
210
210
|
let Z = 0;
|
|
211
|
-
function
|
|
211
|
+
function O() {
|
|
212
212
|
if (Z !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = he;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; Z < Y.length; ) {
|
|
218
218
|
const t = Y[Z];
|
|
219
|
-
Z++,
|
|
219
|
+
Z++, le(t), Jr(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw Y.length = 0, Z = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
224
|
+
for (le(null), Y.length = 0, Z = 0; Se.length; )
|
|
225
225
|
Se.pop()();
|
|
226
226
|
for (let t = 0; t < J.length; t += 1) {
|
|
227
227
|
const r = J[t];
|
|
228
|
-
|
|
228
|
+
De.has(r) || (De.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
J.length = 0;
|
|
231
231
|
} while (Y.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; yt.length; )
|
|
233
|
+
yt.pop()();
|
|
234
|
+
ze = !1, De.clear(), le(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Jr(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
|
-
e.update(),
|
|
238
|
+
e.update(), ie(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function qr(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
|
|
246
246
|
}
|
|
247
247
|
const _e = /* @__PURE__ */ new Set();
|
|
248
248
|
let W;
|
|
249
|
-
function
|
|
249
|
+
function No() {
|
|
250
250
|
W = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,13 +254,13 @@ function Mo() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
W.r ||
|
|
257
|
+
function Ro() {
|
|
258
|
+
W.r || ie(W.c), W = W.p;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Kr(e, t) {
|
|
261
261
|
e && e.i && (_e.delete(e), e.i(t));
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Mo(e, t, r, i) {
|
|
264
264
|
if (e && e.o) {
|
|
265
265
|
if (_e.has(e))
|
|
266
266
|
return;
|
|
@@ -270,34 +270,34 @@ function Uo(e, t, r, i) {
|
|
|
270
270
|
} else
|
|
271
271
|
i && i();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function gt(e) {
|
|
274
274
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function ei(e, t, r) {
|
|
277
277
|
const { fragment: i, after_update: n } = e.$$;
|
|
278
|
-
i && i.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
280
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
281
|
-
}), n.forEach(
|
|
278
|
+
i && i.m(t, r), Ze(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(Ft).filter(ut);
|
|
280
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
281
|
+
}), n.forEach(Ze);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function ti(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
287
|
+
function ri(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const h =
|
|
292
|
-
|
|
290
|
+
function ii(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
291
|
+
const h = he;
|
|
292
|
+
le(e);
|
|
293
293
|
const u = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
296
296
|
// state
|
|
297
297
|
props: o,
|
|
298
|
-
update:
|
|
298
|
+
update: B,
|
|
299
299
|
not_equal: n,
|
|
300
|
-
bound:
|
|
300
|
+
bound: pt(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,7 +306,7 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: pt(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || h.$$.root
|
|
@@ -315,19 +315,19 @@ function ni(e, t, r, i, n, o, a = null, s = [-1]) {
|
|
|
315
315
|
let l = !1;
|
|
316
316
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
317
317
|
const y = p.length ? p[0] : f;
|
|
318
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
319
|
-
}) : [], u.update(), l = !0,
|
|
318
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ri(e, c)), f;
|
|
319
|
+
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const c =
|
|
321
|
+
const c = Wr(t.target);
|
|
322
322
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
323
323
|
} else
|
|
324
324
|
u.fragment && u.fragment.c();
|
|
325
|
-
t.intro &&
|
|
325
|
+
t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), O();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
le(h);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let Wt;
|
|
330
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
331
331
|
/** The Svelte component constructor */
|
|
332
332
|
$$ctor;
|
|
333
333
|
/** Slots */
|
|
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
369
369
|
let o;
|
|
370
370
|
return {
|
|
371
371
|
c: function() {
|
|
372
|
-
o = P("slot"), n !== "default" &&
|
|
372
|
+
o = P("slot"), n !== "default" && x(o, "name", n);
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
375
|
* @param {HTMLElement} target
|
|
@@ -386,7 +386,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
386
386
|
};
|
|
387
387
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
388
388
|
return;
|
|
389
|
-
const t = {}, r =
|
|
389
|
+
const t = {}, r = Xr(this);
|
|
390
390
|
for (const n of this.$$s)
|
|
391
391
|
n in r && (t[n] = [e(n)]);
|
|
392
392
|
for (const n of this.attributes) {
|
|
@@ -473,8 +473,8 @@ function Ee(e, t, r, i) {
|
|
|
473
473
|
return t;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
let a = class extends
|
|
476
|
+
function ni(e, t, r, i, n, o) {
|
|
477
|
+
let a = class extends Wt {
|
|
478
478
|
constructor() {
|
|
479
479
|
super(e, r, n), this.$$p_d = t;
|
|
480
480
|
}
|
|
@@ -502,7 +502,7 @@ function oi(e, t, r, i, n, o) {
|
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
503
503
|
a, a;
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class oi {
|
|
506
506
|
/**
|
|
507
507
|
* ### PRIVATE API
|
|
508
508
|
*
|
|
@@ -521,7 +521,7 @@ class si {
|
|
|
521
521
|
$$set = void 0;
|
|
522
522
|
/** @returns {void} */
|
|
523
523
|
$destroy() {
|
|
524
|
-
|
|
524
|
+
ti(this, 1), this.$destroy = B;
|
|
525
525
|
}
|
|
526
526
|
/**
|
|
527
527
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -530,8 +530,8 @@ class si {
|
|
|
530
530
|
* @returns {() => void}
|
|
531
531
|
*/
|
|
532
532
|
$on(t, r) {
|
|
533
|
-
if (!
|
|
534
|
-
return
|
|
533
|
+
if (!ut(r))
|
|
534
|
+
return B;
|
|
535
535
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
536
536
|
return i.push(r), () => {
|
|
537
537
|
const n = i.indexOf(r);
|
|
@@ -543,11 +543,11 @@ class si {
|
|
|
543
543
|
* @returns {void}
|
|
544
544
|
*/
|
|
545
545
|
$set(t) {
|
|
546
|
-
this.$$set &&
|
|
546
|
+
this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
const
|
|
550
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
549
|
+
const si = "4";
|
|
550
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
|
|
551
551
|
/*! *****************************************************************************
|
|
552
552
|
Copyright (c) Microsoft Corporation.
|
|
553
553
|
|
|
@@ -562,24 +562,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
562
562
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
563
563
|
PERFORMANCE OF THIS SOFTWARE.
|
|
564
564
|
***************************************************************************** */
|
|
565
|
-
var
|
|
566
|
-
return
|
|
565
|
+
var Qe = function(e, t) {
|
|
566
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
567
567
|
r.__proto__ = i;
|
|
568
568
|
} || function(r, i) {
|
|
569
569
|
for (var n in i)
|
|
570
570
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
571
|
-
},
|
|
571
|
+
}, Qe(e, t);
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function G(e, t) {
|
|
574
574
|
if (typeof t != "function" && t !== null)
|
|
575
575
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
576
|
-
|
|
576
|
+
Qe(e, t);
|
|
577
577
|
function r() {
|
|
578
578
|
this.constructor = e;
|
|
579
579
|
}
|
|
580
580
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
var E = function() {
|
|
583
|
+
return E = Object.assign || function(t) {
|
|
584
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
585
|
+
r = arguments[i];
|
|
586
|
+
for (var o in r)
|
|
587
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
588
|
+
}
|
|
589
|
+
return t;
|
|
590
|
+
}, E.apply(this, arguments);
|
|
591
|
+
};
|
|
592
|
+
function ai(e, t) {
|
|
593
|
+
var r = {};
|
|
594
|
+
for (var i in e)
|
|
595
|
+
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
596
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
597
|
+
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
598
|
+
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
599
|
+
return r;
|
|
600
|
+
}
|
|
601
|
+
function Ye(e) {
|
|
583
602
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
584
603
|
if (r)
|
|
585
604
|
return r.call(e);
|
|
@@ -591,7 +610,7 @@ function qe(e) {
|
|
|
591
610
|
};
|
|
592
611
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
593
612
|
}
|
|
594
|
-
function
|
|
613
|
+
function Je(e, t) {
|
|
595
614
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
596
615
|
if (!r)
|
|
597
616
|
return e;
|
|
@@ -611,22 +630,22 @@ function Ke(e, t) {
|
|
|
611
630
|
}
|
|
612
631
|
return o;
|
|
613
632
|
}
|
|
614
|
-
function
|
|
615
|
-
if (arguments.length === 2)
|
|
633
|
+
function q(e, t, r) {
|
|
634
|
+
if (r || arguments.length === 2)
|
|
616
635
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
617
636
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
618
637
|
return e.concat(o || t);
|
|
619
638
|
}
|
|
620
|
-
function
|
|
639
|
+
function $(e) {
|
|
621
640
|
return typeof e == "function";
|
|
622
641
|
}
|
|
623
|
-
function
|
|
642
|
+
function Xt(e) {
|
|
624
643
|
var t = function(i) {
|
|
625
644
|
Error.call(i), i.stack = new Error().stack;
|
|
626
645
|
}, r = e(t);
|
|
627
646
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
628
647
|
}
|
|
629
|
-
var
|
|
648
|
+
var Ue = Xt(function(e) {
|
|
630
649
|
return function(r) {
|
|
631
650
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
632
651
|
` + r.map(function(i, n) {
|
|
@@ -635,13 +654,13 @@ var Ge = Zt(function(e) {
|
|
|
635
654
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
636
655
|
};
|
|
637
656
|
});
|
|
638
|
-
function
|
|
657
|
+
function qe(e, t) {
|
|
639
658
|
if (e) {
|
|
640
659
|
var r = e.indexOf(t);
|
|
641
660
|
0 <= r && e.splice(r, 1);
|
|
642
661
|
}
|
|
643
662
|
}
|
|
644
|
-
var
|
|
663
|
+
var Pe = function() {
|
|
645
664
|
function e(t) {
|
|
646
665
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
647
666
|
}
|
|
@@ -653,7 +672,7 @@ var He = function() {
|
|
|
653
672
|
if (a)
|
|
654
673
|
if (this._parentage = null, Array.isArray(a))
|
|
655
674
|
try {
|
|
656
|
-
for (var s =
|
|
675
|
+
for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
|
|
657
676
|
var u = h.value;
|
|
658
677
|
u.remove(this);
|
|
659
678
|
}
|
|
@@ -670,22 +689,22 @@ var He = function() {
|
|
|
670
689
|
else
|
|
671
690
|
a.remove(this);
|
|
672
691
|
var l = this.initialTeardown;
|
|
673
|
-
if (
|
|
692
|
+
if ($(l))
|
|
674
693
|
try {
|
|
675
694
|
l();
|
|
676
695
|
} catch (d) {
|
|
677
|
-
o = d instanceof
|
|
696
|
+
o = d instanceof Ue ? d.errors : [d];
|
|
678
697
|
}
|
|
679
698
|
var c = this._finalizers;
|
|
680
699
|
if (c) {
|
|
681
700
|
this._finalizers = null;
|
|
682
701
|
try {
|
|
683
|
-
for (var f =
|
|
702
|
+
for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
|
|
684
703
|
var y = p.value;
|
|
685
704
|
try {
|
|
686
|
-
|
|
705
|
+
bt(y);
|
|
687
706
|
} catch (d) {
|
|
688
|
-
o = o ?? [], d instanceof
|
|
707
|
+
o = o ?? [], d instanceof Ue ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
|
|
689
708
|
}
|
|
690
709
|
}
|
|
691
710
|
} catch (d) {
|
|
@@ -700,13 +719,13 @@ var He = function() {
|
|
|
700
719
|
}
|
|
701
720
|
}
|
|
702
721
|
if (o)
|
|
703
|
-
throw new
|
|
722
|
+
throw new Ue(o);
|
|
704
723
|
}
|
|
705
724
|
}, e.prototype.add = function(t) {
|
|
706
725
|
var r;
|
|
707
726
|
if (t && t !== this)
|
|
708
727
|
if (this.closed)
|
|
709
|
-
|
|
728
|
+
bt(t);
|
|
710
729
|
else {
|
|
711
730
|
if (t instanceof e) {
|
|
712
731
|
if (t.closed || t._hasParent(this))
|
|
@@ -723,52 +742,56 @@ var He = function() {
|
|
|
723
742
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
724
743
|
}, e.prototype._removeParent = function(t) {
|
|
725
744
|
var r = this._parentage;
|
|
726
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
745
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
727
746
|
}, e.prototype.remove = function(t) {
|
|
728
747
|
var r = this._finalizers;
|
|
729
|
-
r &&
|
|
748
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
730
749
|
}, e.EMPTY = function() {
|
|
731
750
|
var t = new e();
|
|
732
751
|
return t.closed = !0, t;
|
|
733
752
|
}(), e;
|
|
734
|
-
}(),
|
|
735
|
-
function
|
|
736
|
-
return e instanceof
|
|
737
|
-
}
|
|
738
|
-
function
|
|
739
|
-
|
|
740
|
-
}
|
|
741
|
-
var
|
|
742
|
-
|
|
743
|
-
|
|
753
|
+
}(), zt = Pe.EMPTY;
|
|
754
|
+
function Zt(e) {
|
|
755
|
+
return e instanceof Pe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
756
|
+
}
|
|
757
|
+
function bt(e) {
|
|
758
|
+
$(e) ? e() : e.unsubscribe();
|
|
759
|
+
}
|
|
760
|
+
var Qt = {
|
|
761
|
+
onUnhandledError: null,
|
|
762
|
+
onStoppedNotification: null,
|
|
763
|
+
Promise: void 0,
|
|
764
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
765
|
+
useDeprecatedNextContext: !1
|
|
766
|
+
}, ui = {
|
|
744
767
|
setTimeout: function(e, t) {
|
|
745
768
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
746
769
|
r[i - 2] = arguments[i];
|
|
747
|
-
return setTimeout.apply(void 0,
|
|
770
|
+
return setTimeout.apply(void 0, q([e, t], Je(r)));
|
|
748
771
|
},
|
|
749
772
|
clearTimeout: function(e) {
|
|
750
773
|
return clearTimeout(e);
|
|
751
774
|
},
|
|
752
775
|
delegate: void 0
|
|
753
776
|
};
|
|
754
|
-
function
|
|
755
|
-
|
|
777
|
+
function li(e) {
|
|
778
|
+
ui.setTimeout(function() {
|
|
756
779
|
throw e;
|
|
757
780
|
});
|
|
758
781
|
}
|
|
759
|
-
function
|
|
782
|
+
function vt() {
|
|
760
783
|
}
|
|
761
784
|
function xe(e) {
|
|
762
785
|
e();
|
|
763
786
|
}
|
|
764
|
-
var
|
|
765
|
-
|
|
787
|
+
var Yt = function(e) {
|
|
788
|
+
G(t, e);
|
|
766
789
|
function t(r) {
|
|
767
790
|
var i = e.call(this) || this;
|
|
768
|
-
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;
|
|
769
792
|
}
|
|
770
793
|
return t.create = function(r, i, n) {
|
|
771
|
-
return new
|
|
794
|
+
return new Ke(r, i, n);
|
|
772
795
|
}, t.prototype.next = function(r) {
|
|
773
796
|
this.isStopped || this._next(r);
|
|
774
797
|
}, t.prototype.error = function(r) {
|
|
@@ -792,7 +815,11 @@ var Jt = function(e) {
|
|
|
792
815
|
this.unsubscribe();
|
|
793
816
|
}
|
|
794
817
|
}, t;
|
|
795
|
-
}(
|
|
818
|
+
}(Pe), hi = Function.prototype.bind;
|
|
819
|
+
function $e(e, t) {
|
|
820
|
+
return hi.call(e, t);
|
|
821
|
+
}
|
|
822
|
+
var ci = function() {
|
|
796
823
|
function e(t) {
|
|
797
824
|
this.partialObserver = t;
|
|
798
825
|
}
|
|
@@ -823,29 +850,41 @@ var Jt = function(e) {
|
|
|
823
850
|
be(r);
|
|
824
851
|
}
|
|
825
852
|
}, e;
|
|
826
|
-
}(),
|
|
827
|
-
|
|
853
|
+
}(), Ke = function(e) {
|
|
854
|
+
G(t, e);
|
|
828
855
|
function t(r, i, n) {
|
|
829
856
|
var o = e.call(this) || this, a;
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
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;
|
|
835
874
|
}
|
|
836
875
|
return t;
|
|
837
|
-
}(
|
|
876
|
+
}(Yt);
|
|
838
877
|
function be(e) {
|
|
839
|
-
|
|
878
|
+
li(e);
|
|
840
879
|
}
|
|
841
880
|
function fi(e) {
|
|
842
881
|
throw e;
|
|
843
882
|
}
|
|
844
883
|
var mi = {
|
|
845
884
|
closed: !0,
|
|
846
|
-
next:
|
|
885
|
+
next: vt,
|
|
847
886
|
error: fi,
|
|
848
|
-
complete:
|
|
887
|
+
complete: vt
|
|
849
888
|
}, pi = function() {
|
|
850
889
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
851
890
|
}();
|
|
@@ -859,7 +898,7 @@ function yi(e) {
|
|
|
859
898
|
}, r);
|
|
860
899
|
};
|
|
861
900
|
}
|
|
862
|
-
var
|
|
901
|
+
var _t = function() {
|
|
863
902
|
function e(t) {
|
|
864
903
|
t && (this._subscribe = t);
|
|
865
904
|
}
|
|
@@ -867,7 +906,7 @@ var xt = function() {
|
|
|
867
906
|
var r = new e();
|
|
868
907
|
return r.source = this, r.operator = t, r;
|
|
869
908
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
870
|
-
var n = this, o = bi(t) ? t : new
|
|
909
|
+
var n = this, o = bi(t) ? t : new Ke(t, r, i);
|
|
871
910
|
return xe(function() {
|
|
872
911
|
var a = n, s = a.operator, h = a.source;
|
|
873
912
|
o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -880,8 +919,8 @@ var xt = function() {
|
|
|
880
919
|
}
|
|
881
920
|
}, e.prototype.forEach = function(t, r) {
|
|
882
921
|
var i = this;
|
|
883
|
-
return r =
|
|
884
|
-
var a = new
|
|
922
|
+
return r = Et(r), new r(function(n, o) {
|
|
923
|
+
var a = new Ke({
|
|
885
924
|
next: function(s) {
|
|
886
925
|
try {
|
|
887
926
|
t(s);
|
|
@@ -905,7 +944,7 @@ var xt = function() {
|
|
|
905
944
|
return yi(t)(this);
|
|
906
945
|
}, e.prototype.toPromise = function(t) {
|
|
907
946
|
var r = this;
|
|
908
|
-
return t =
|
|
947
|
+
return t = Et(t), new t(function(i, n) {
|
|
909
948
|
var o;
|
|
910
949
|
r.subscribe(function(a) {
|
|
911
950
|
return o = a;
|
|
@@ -919,28 +958,28 @@ var xt = function() {
|
|
|
919
958
|
return new e(t);
|
|
920
959
|
}, e;
|
|
921
960
|
}();
|
|
922
|
-
function
|
|
961
|
+
function Et(e) {
|
|
923
962
|
var t;
|
|
924
|
-
return (t = e ??
|
|
963
|
+
return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
925
964
|
}
|
|
926
965
|
function gi(e) {
|
|
927
|
-
return e &&
|
|
966
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
928
967
|
}
|
|
929
968
|
function bi(e) {
|
|
930
|
-
return e && e instanceof
|
|
969
|
+
return e && e instanceof Yt || gi(e) && Zt(e);
|
|
931
970
|
}
|
|
932
|
-
var vi =
|
|
971
|
+
var vi = Xt(function(e) {
|
|
933
972
|
return function() {
|
|
934
973
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
935
974
|
};
|
|
936
|
-
}),
|
|
937
|
-
|
|
975
|
+
}), Jt = function(e) {
|
|
976
|
+
G(t, e);
|
|
938
977
|
function t() {
|
|
939
978
|
var r = e.call(this) || this;
|
|
940
979
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
941
980
|
}
|
|
942
981
|
return t.prototype.lift = function(r) {
|
|
943
|
-
var i = new
|
|
982
|
+
var i = new xt(this, this);
|
|
944
983
|
return i.operator = r, i;
|
|
945
984
|
}, t.prototype._throwIfClosed = function() {
|
|
946
985
|
if (this.closed)
|
|
@@ -952,7 +991,7 @@ var vi = Zt(function(e) {
|
|
|
952
991
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
953
992
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
954
993
|
try {
|
|
955
|
-
for (var a =
|
|
994
|
+
for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
956
995
|
var h = s.value;
|
|
957
996
|
h.next(r);
|
|
958
997
|
}
|
|
@@ -1001,20 +1040,20 @@ var vi = Zt(function(e) {
|
|
|
1001
1040
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1002
1041
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1003
1042
|
var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
|
|
1004
|
-
return o || a ?
|
|
1005
|
-
i.currentObservers = null,
|
|
1043
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new Pe(function() {
|
|
1044
|
+
i.currentObservers = null, qe(s, r);
|
|
1006
1045
|
}));
|
|
1007
1046
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1008
1047
|
var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
|
|
1009
1048
|
n ? r.error(o) : a && r.complete();
|
|
1010
1049
|
}, t.prototype.asObservable = function() {
|
|
1011
|
-
var r = new
|
|
1050
|
+
var r = new _t();
|
|
1012
1051
|
return r.source = this, r;
|
|
1013
1052
|
}, t.create = function(r, i) {
|
|
1014
|
-
return new
|
|
1053
|
+
return new xt(r, i);
|
|
1015
1054
|
}, t;
|
|
1016
|
-
}(
|
|
1017
|
-
|
|
1055
|
+
}(_t), xt = function(e) {
|
|
1056
|
+
G(t, e);
|
|
1018
1057
|
function t(r, i) {
|
|
1019
1058
|
var n = e.call(this) || this;
|
|
1020
1059
|
return n.destination = r, n.source = i, n;
|
|
@@ -1030,17 +1069,17 @@ var vi = Zt(function(e) {
|
|
|
1030
1069
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1031
1070
|
}, t.prototype._subscribe = function(r) {
|
|
1032
1071
|
var i, n;
|
|
1033
|
-
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;
|
|
1034
1073
|
}, t;
|
|
1035
|
-
}(
|
|
1074
|
+
}(Jt), qt = {
|
|
1036
1075
|
now: function() {
|
|
1037
|
-
return (
|
|
1076
|
+
return (qt.delegate || Date).now();
|
|
1038
1077
|
},
|
|
1039
1078
|
delegate: void 0
|
|
1040
1079
|
}, _i = function(e) {
|
|
1041
|
-
|
|
1080
|
+
G(t, e);
|
|
1042
1081
|
function t(r, i, n) {
|
|
1043
|
-
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);
|
|
1044
1083
|
var o = e.call(this) || this;
|
|
1045
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;
|
|
1046
1085
|
}
|
|
@@ -1060,24 +1099,24 @@ var vi = Zt(function(e) {
|
|
|
1060
1099
|
u && o.splice(0, u + 1);
|
|
1061
1100
|
}
|
|
1062
1101
|
}, t;
|
|
1063
|
-
}(
|
|
1064
|
-
const
|
|
1065
|
-
if (
|
|
1102
|
+
}(Jt);
|
|
1103
|
+
const Tt = [], Lt = {}, Ei = (e, t = 0) => {
|
|
1104
|
+
if (Tt.indexOf(e) == -1) {
|
|
1066
1105
|
const r = new _i(t);
|
|
1067
|
-
|
|
1106
|
+
Lt[e] = r, Tt.push(e);
|
|
1068
1107
|
}
|
|
1069
|
-
return
|
|
1108
|
+
return Lt[e];
|
|
1070
1109
|
}, Q = [];
|
|
1071
1110
|
function xi(e, t) {
|
|
1072
1111
|
return {
|
|
1073
|
-
subscribe:
|
|
1112
|
+
subscribe: He(e, t).subscribe
|
|
1074
1113
|
};
|
|
1075
1114
|
}
|
|
1076
|
-
function
|
|
1115
|
+
function He(e, t = B) {
|
|
1077
1116
|
let r;
|
|
1078
1117
|
const i = /* @__PURE__ */ new Set();
|
|
1079
1118
|
function n(s) {
|
|
1080
|
-
if (
|
|
1119
|
+
if (jt(e, s) && (e = s, r)) {
|
|
1081
1120
|
const h = !Q.length;
|
|
1082
1121
|
for (const u of i)
|
|
1083
1122
|
u[1](), Q.push(u, e);
|
|
@@ -1091,15 +1130,15 @@ function Oe(e, t = I) {
|
|
|
1091
1130
|
function o(s) {
|
|
1092
1131
|
n(s(e));
|
|
1093
1132
|
}
|
|
1094
|
-
function a(s, h =
|
|
1133
|
+
function a(s, h = B) {
|
|
1095
1134
|
const u = [s, h];
|
|
1096
|
-
return i.add(u), i.size === 1 && (r = t(n, o) ||
|
|
1135
|
+
return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
|
|
1097
1136
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
1098
1137
|
};
|
|
1099
1138
|
}
|
|
1100
1139
|
return { set: n, update: o, subscribe: a };
|
|
1101
1140
|
}
|
|
1102
|
-
function
|
|
1141
|
+
function ne(e, t, r) {
|
|
1103
1142
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1104
1143
|
if (!n.every(Boolean))
|
|
1105
1144
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1107,15 +1146,15 @@ function ie(e, t, r) {
|
|
|
1107
1146
|
return xi(r, (a, s) => {
|
|
1108
1147
|
let h = !1;
|
|
1109
1148
|
const u = [];
|
|
1110
|
-
let l = 0, c =
|
|
1149
|
+
let l = 0, c = B;
|
|
1111
1150
|
const f = () => {
|
|
1112
1151
|
if (l)
|
|
1113
1152
|
return;
|
|
1114
1153
|
c();
|
|
1115
1154
|
const y = t(i ? u[0] : u, a, s);
|
|
1116
|
-
o ? a(y) : c =
|
|
1155
|
+
o ? a(y) : c = ut(y) ? y : B;
|
|
1117
1156
|
}, p = n.map(
|
|
1118
|
-
(y, d) =>
|
|
1157
|
+
(y, d) => kt(
|
|
1119
1158
|
y,
|
|
1120
1159
|
(v) => {
|
|
1121
1160
|
u[d] = v, l &= ~(1 << d), h && f();
|
|
@@ -1126,7 +1165,7 @@ function ie(e, t, r) {
|
|
|
1126
1165
|
)
|
|
1127
1166
|
);
|
|
1128
1167
|
return h = !0, f(), function() {
|
|
1129
|
-
|
|
1168
|
+
ie(p), c(), h = !1;
|
|
1130
1169
|
};
|
|
1131
1170
|
});
|
|
1132
1171
|
}
|
|
@@ -1147,32 +1186,32 @@ var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.
|
|
|
1147
1186
|
function Hi(e) {
|
|
1148
1187
|
return e.$$typeof === Pi;
|
|
1149
1188
|
}
|
|
1150
|
-
function
|
|
1189
|
+
function Ii(e) {
|
|
1151
1190
|
return Array.isArray(e) ? [] : {};
|
|
1152
1191
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1192
|
+
function ce(e, t) {
|
|
1193
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Ii(e), e, t) : e;
|
|
1155
1194
|
}
|
|
1156
|
-
function
|
|
1195
|
+
function Bi(e, t, r) {
|
|
1157
1196
|
return e.concat(t).map(function(i) {
|
|
1158
|
-
return
|
|
1197
|
+
return ce(i, r);
|
|
1159
1198
|
});
|
|
1160
1199
|
}
|
|
1161
|
-
function
|
|
1200
|
+
function Oi(e, t) {
|
|
1162
1201
|
if (!t.customMerge)
|
|
1163
|
-
return
|
|
1202
|
+
return K;
|
|
1164
1203
|
var r = t.customMerge(e);
|
|
1165
|
-
return typeof r == "function" ? r :
|
|
1204
|
+
return typeof r == "function" ? r : K;
|
|
1166
1205
|
}
|
|
1167
1206
|
function Ci(e) {
|
|
1168
1207
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1169
1208
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1170
1209
|
}) : [];
|
|
1171
1210
|
}
|
|
1172
|
-
function
|
|
1211
|
+
function St(e) {
|
|
1173
1212
|
return Object.keys(e).concat(Ci(e));
|
|
1174
1213
|
}
|
|
1175
|
-
function
|
|
1214
|
+
function Kt(e, t) {
|
|
1176
1215
|
try {
|
|
1177
1216
|
return t in e;
|
|
1178
1217
|
} catch {
|
|
@@ -1180,179 +1219,129 @@ function er(e, t) {
|
|
|
1180
1219
|
}
|
|
1181
1220
|
}
|
|
1182
1221
|
function Ni(e, t) {
|
|
1183
|
-
return
|
|
1222
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1184
1223
|
}
|
|
1185
1224
|
function Ri(e, t, r) {
|
|
1186
1225
|
var i = {};
|
|
1187
|
-
return r.isMergeableObject(e) &&
|
|
1188
|
-
i[n] =
|
|
1189
|
-
}),
|
|
1190
|
-
Ni(e, n) || (
|
|
1226
|
+
return r.isMergeableObject(e) && St(e).forEach(function(n) {
|
|
1227
|
+
i[n] = ce(e[n], r);
|
|
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));
|
|
1191
1230
|
}), i;
|
|
1192
1231
|
}
|
|
1193
|
-
function
|
|
1194
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1232
|
+
function K(e, t, r) {
|
|
1233
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1195
1234
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
1196
|
-
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) :
|
|
1235
|
+
return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : ce(t, r);
|
|
1197
1236
|
}
|
|
1198
|
-
|
|
1237
|
+
K.all = function(t, r) {
|
|
1199
1238
|
if (!Array.isArray(t))
|
|
1200
1239
|
throw new Error("first argument should be an array");
|
|
1201
1240
|
return t.reduce(function(i, n) {
|
|
1202
|
-
return
|
|
1241
|
+
return K(i, n, r);
|
|
1203
1242
|
}, {});
|
|
1204
1243
|
};
|
|
1205
|
-
var Mi =
|
|
1244
|
+
var Mi = K, Di = Mi;
|
|
1206
1245
|
const Ui = /* @__PURE__ */ Ti(Di);
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
r.__proto__ = i;
|
|
1210
|
-
} || function(r, i) {
|
|
1211
|
-
for (var n in i)
|
|
1212
|
-
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
1213
|
-
}, it(e, t);
|
|
1214
|
-
};
|
|
1215
|
-
function Ie(e, t) {
|
|
1216
|
-
if (typeof t != "function" && t !== null)
|
|
1217
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1218
|
-
it(e, t);
|
|
1219
|
-
function r() {
|
|
1220
|
-
this.constructor = e;
|
|
1221
|
-
}
|
|
1222
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1223
|
-
}
|
|
1224
|
-
var R = function() {
|
|
1225
|
-
return R = Object.assign || function(t) {
|
|
1226
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1227
|
-
r = arguments[i];
|
|
1228
|
-
for (var o in r)
|
|
1229
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1230
|
-
}
|
|
1231
|
-
return t;
|
|
1232
|
-
}, R.apply(this, arguments);
|
|
1233
|
-
};
|
|
1234
|
-
function $i(e, t) {
|
|
1235
|
-
var r = {};
|
|
1236
|
-
for (var i in e)
|
|
1237
|
-
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
1238
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1239
|
-
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
1240
|
-
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
1241
|
-
return r;
|
|
1242
|
-
}
|
|
1243
|
-
function Fe(e, t, r) {
|
|
1244
|
-
if (r || arguments.length === 2)
|
|
1245
|
-
for (var i = 0, n = t.length, o; i < n; i++)
|
|
1246
|
-
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
1247
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1248
|
-
}
|
|
1249
|
-
function je(e, t) {
|
|
1250
|
-
var r = t && t.cache ? t.cache : Xi, i = t && t.serializer ? t.serializer : Vi, n = t && t.strategy ? t.strategy : ji;
|
|
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;
|
|
1251
1248
|
return n(e, {
|
|
1252
1249
|
cache: r,
|
|
1253
1250
|
serializer: i
|
|
1254
1251
|
});
|
|
1255
1252
|
}
|
|
1256
|
-
function
|
|
1253
|
+
function $i(e) {
|
|
1257
1254
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1258
1255
|
}
|
|
1259
|
-
function
|
|
1260
|
-
var n =
|
|
1256
|
+
function er(e, t, r, i) {
|
|
1257
|
+
var n = $i(i) ? i : r(i), o = t.get(n);
|
|
1261
1258
|
return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
|
|
1262
1259
|
}
|
|
1263
1260
|
function tr(e, t, r) {
|
|
1264
1261
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
1265
1262
|
return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
1266
1263
|
}
|
|
1267
|
-
function
|
|
1264
|
+
function lt(e, t, r, i, n) {
|
|
1268
1265
|
return r.bind(t, e, i, n);
|
|
1269
1266
|
}
|
|
1270
|
-
function
|
|
1271
|
-
var r = e.length === 1 ?
|
|
1272
|
-
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);
|
|
1273
1270
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return
|
|
1271
|
+
function Fi(e, t) {
|
|
1272
|
+
return lt(e, this, tr, t.cache.create(), t.serializer);
|
|
1276
1273
|
}
|
|
1277
|
-
|
|
1274
|
+
function ji(e, t) {
|
|
1275
|
+
return lt(e, this, er, t.cache.create(), t.serializer);
|
|
1276
|
+
}
|
|
1277
|
+
var ki = function() {
|
|
1278
1278
|
return JSON.stringify(arguments);
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
}()
|
|
1291
|
-
), Xi = {
|
|
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 = {
|
|
1292
1290
|
create: function() {
|
|
1293
|
-
return new
|
|
1291
|
+
return new ht();
|
|
1294
1292
|
}
|
|
1295
|
-
},
|
|
1296
|
-
variadic:
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1300
|
-
r = arguments[i];
|
|
1301
|
-
for (var o in r)
|
|
1302
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1303
|
-
}
|
|
1304
|
-
return t;
|
|
1305
|
-
}, we.apply(this, arguments);
|
|
1306
|
-
};
|
|
1307
|
-
var b;
|
|
1293
|
+
}, Fe = {
|
|
1294
|
+
variadic: Fi,
|
|
1295
|
+
monadic: ji
|
|
1296
|
+
}, b;
|
|
1308
1297
|
(function(e) {
|
|
1309
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";
|
|
1310
1299
|
})(b || (b = {}));
|
|
1311
|
-
var
|
|
1300
|
+
var S;
|
|
1312
1301
|
(function(e) {
|
|
1313
1302
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1314
|
-
})(
|
|
1315
|
-
var
|
|
1303
|
+
})(S || (S = {}));
|
|
1304
|
+
var ee;
|
|
1316
1305
|
(function(e) {
|
|
1317
1306
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1318
|
-
})(
|
|
1319
|
-
function
|
|
1320
|
-
return e.type ===
|
|
1307
|
+
})(ee || (ee = {}));
|
|
1308
|
+
function wt(e) {
|
|
1309
|
+
return e.type === S.literal;
|
|
1310
|
+
}
|
|
1311
|
+
function Wi(e) {
|
|
1312
|
+
return e.type === S.argument;
|
|
1321
1313
|
}
|
|
1322
|
-
function
|
|
1323
|
-
return e.type ===
|
|
1314
|
+
function rr(e) {
|
|
1315
|
+
return e.type === S.number;
|
|
1324
1316
|
}
|
|
1325
1317
|
function ir(e) {
|
|
1326
|
-
return e.type ===
|
|
1318
|
+
return e.type === S.date;
|
|
1327
1319
|
}
|
|
1328
1320
|
function nr(e) {
|
|
1329
|
-
return e.type ===
|
|
1321
|
+
return e.type === S.time;
|
|
1330
1322
|
}
|
|
1331
1323
|
function or(e) {
|
|
1332
|
-
return e.type ===
|
|
1324
|
+
return e.type === S.select;
|
|
1333
1325
|
}
|
|
1334
1326
|
function sr(e) {
|
|
1335
|
-
return e.type ===
|
|
1327
|
+
return e.type === S.plural;
|
|
1336
1328
|
}
|
|
1337
|
-
function
|
|
1338
|
-
return e.type ===
|
|
1329
|
+
function Xi(e) {
|
|
1330
|
+
return e.type === S.pound;
|
|
1339
1331
|
}
|
|
1340
|
-
function
|
|
1341
|
-
return e.type ===
|
|
1332
|
+
function ar(e) {
|
|
1333
|
+
return e.type === S.tag;
|
|
1342
1334
|
}
|
|
1343
1335
|
function ur(e) {
|
|
1344
|
-
return e.type ===
|
|
1336
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1345
1337
|
}
|
|
1346
|
-
function
|
|
1347
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1338
|
+
function et(e) {
|
|
1339
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1348
1340
|
}
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
}
|
|
1352
|
-
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qi = /(?:[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;
|
|
1353
|
-
function Yi(e) {
|
|
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) {
|
|
1354
1343
|
var t = {};
|
|
1355
|
-
return e.replace(
|
|
1344
|
+
return e.replace(zi, function(r) {
|
|
1356
1345
|
var i = r.length;
|
|
1357
1346
|
switch (r[0]) {
|
|
1358
1347
|
case "G":
|
|
@@ -1441,21 +1430,11 @@ function Yi(e) {
|
|
|
1441
1430
|
return "";
|
|
1442
1431
|
}), t;
|
|
1443
1432
|
}
|
|
1444
|
-
var
|
|
1445
|
-
|
|
1446
|
-
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
1447
|
-
r = arguments[i];
|
|
1448
|
-
for (var o in r)
|
|
1449
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1450
|
-
}
|
|
1451
|
-
return t;
|
|
1452
|
-
}, w.apply(this, arguments);
|
|
1453
|
-
};
|
|
1454
|
-
var Ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1455
|
-
function qi(e) {
|
|
1433
|
+
var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1434
|
+
function Yi(e) {
|
|
1456
1435
|
if (e.length === 0)
|
|
1457
1436
|
throw new Error("Number skeleton cannot be empty");
|
|
1458
|
-
for (var t = e.split(
|
|
1437
|
+
for (var t = e.split(Qi).filter(function(f) {
|
|
1459
1438
|
return f.length > 0;
|
|
1460
1439
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1461
1440
|
var o = n[i], a = o.split("/");
|
|
@@ -1470,17 +1449,17 @@ function qi(e) {
|
|
|
1470
1449
|
}
|
|
1471
1450
|
return r;
|
|
1472
1451
|
}
|
|
1473
|
-
function
|
|
1452
|
+
function Ji(e) {
|
|
1474
1453
|
return e.replace(/^(.*?)-/, "");
|
|
1475
1454
|
}
|
|
1476
|
-
var
|
|
1477
|
-
function
|
|
1455
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1456
|
+
function Pt(e) {
|
|
1478
1457
|
var t = {};
|
|
1479
|
-
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) {
|
|
1480
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)), "";
|
|
1481
1460
|
}), t;
|
|
1482
1461
|
}
|
|
1483
|
-
function
|
|
1462
|
+
function fr(e) {
|
|
1484
1463
|
switch (e) {
|
|
1485
1464
|
case "sign-auto":
|
|
1486
1465
|
return {
|
|
@@ -1520,7 +1499,7 @@ function mr(e) {
|
|
|
1520
1499
|
};
|
|
1521
1500
|
}
|
|
1522
1501
|
}
|
|
1523
|
-
function
|
|
1502
|
+
function Ki(e) {
|
|
1524
1503
|
var t;
|
|
1525
1504
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1526
1505
|
notation: "engineering"
|
|
@@ -1528,17 +1507,17 @@ function tn(e) {
|
|
|
1528
1507
|
notation: "scientific"
|
|
1529
1508
|
}, e = e.slice(1)), t) {
|
|
1530
1509
|
var r = e.slice(0, 2);
|
|
1531
|
-
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))
|
|
1532
1511
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1533
1512
|
t.minimumIntegerDigits = e.length;
|
|
1534
1513
|
}
|
|
1535
1514
|
return t;
|
|
1536
1515
|
}
|
|
1537
|
-
function
|
|
1538
|
-
var t = {}, r =
|
|
1516
|
+
function Ht(e) {
|
|
1517
|
+
var t = {}, r = fr(e);
|
|
1539
1518
|
return r || t;
|
|
1540
1519
|
}
|
|
1541
|
-
function
|
|
1520
|
+
function en(e) {
|
|
1542
1521
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1543
1522
|
var n = i[r];
|
|
1544
1523
|
switch (n.stem) {
|
|
@@ -1562,7 +1541,7 @@ function rn(e) {
|
|
|
1562
1541
|
continue;
|
|
1563
1542
|
case "measure-unit":
|
|
1564
1543
|
case "unit":
|
|
1565
|
-
t.style = "unit", t.unit =
|
|
1544
|
+
t.style = "unit", t.unit = Ji(n.options[0]);
|
|
1566
1545
|
continue;
|
|
1567
1546
|
case "compact-short":
|
|
1568
1547
|
case "K":
|
|
@@ -1573,13 +1552,13 @@ function rn(e) {
|
|
|
1573
1552
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1574
1553
|
continue;
|
|
1575
1554
|
case "scientific":
|
|
1576
|
-
t =
|
|
1577
|
-
return
|
|
1555
|
+
t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
|
|
1556
|
+
return E(E({}, h), Ht(u));
|
|
1578
1557
|
}, {}));
|
|
1579
1558
|
continue;
|
|
1580
1559
|
case "engineering":
|
|
1581
|
-
t =
|
|
1582
|
-
return
|
|
1560
|
+
t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
|
|
1561
|
+
return E(E({}, h), Ht(u));
|
|
1583
1562
|
}, {}));
|
|
1584
1563
|
continue;
|
|
1585
1564
|
case "notation-simple":
|
|
@@ -1624,7 +1603,7 @@ function rn(e) {
|
|
|
1624
1603
|
case "integer-width":
|
|
1625
1604
|
if (n.options.length > 1)
|
|
1626
1605
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1627
|
-
n.options[0].replace(
|
|
1606
|
+
n.options[0].replace(qi, function(h, u, l, c, f, p) {
|
|
1628
1607
|
if (u)
|
|
1629
1608
|
t.minimumIntegerDigits = l.length;
|
|
1630
1609
|
else {
|
|
@@ -1637,28 +1616,28 @@ function rn(e) {
|
|
|
1637
1616
|
});
|
|
1638
1617
|
continue;
|
|
1639
1618
|
}
|
|
1640
|
-
if (
|
|
1619
|
+
if (cr.test(n.stem)) {
|
|
1641
1620
|
t.minimumIntegerDigits = n.stem.length;
|
|
1642
1621
|
continue;
|
|
1643
1622
|
}
|
|
1644
|
-
if (
|
|
1623
|
+
if (At.test(n.stem)) {
|
|
1645
1624
|
if (n.options.length > 1)
|
|
1646
1625
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1647
|
-
n.stem.replace(
|
|
1626
|
+
n.stem.replace(At, function(h, u, l, c, f, p) {
|
|
1648
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), "";
|
|
1649
1628
|
});
|
|
1650
1629
|
var o = n.options[0];
|
|
1651
|
-
o === "w" ? t =
|
|
1630
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
|
|
1652
1631
|
continue;
|
|
1653
1632
|
}
|
|
1654
|
-
if (
|
|
1655
|
-
t =
|
|
1633
|
+
if (hr.test(n.stem)) {
|
|
1634
|
+
t = E(E({}, t), Pt(n.stem));
|
|
1656
1635
|
continue;
|
|
1657
1636
|
}
|
|
1658
|
-
var a =
|
|
1659
|
-
a && (t =
|
|
1660
|
-
var s =
|
|
1661
|
-
s && (t =
|
|
1637
|
+
var a = fr(n.stem);
|
|
1638
|
+
a && (t = E(E({}, t), a));
|
|
1639
|
+
var s = Ki(n.stem);
|
|
1640
|
+
s && (t = E(E({}, t), s));
|
|
1662
1641
|
}
|
|
1663
1642
|
return t;
|
|
1664
1643
|
}
|
|
@@ -3077,13 +3056,13 @@ var ve = {
|
|
|
3077
3056
|
"h"
|
|
3078
3057
|
]
|
|
3079
3058
|
};
|
|
3080
|
-
function
|
|
3059
|
+
function tn(e, t) {
|
|
3081
3060
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3082
3061
|
var n = e.charAt(i);
|
|
3083
3062
|
if (n === "j") {
|
|
3084
3063
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3085
3064
|
o++, i++;
|
|
3086
|
-
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);
|
|
3087
3066
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3088
3067
|
r += h;
|
|
3089
3068
|
for (; a-- > 0; )
|
|
@@ -3093,7 +3072,7 @@ function nn(e, t) {
|
|
|
3093
3072
|
}
|
|
3094
3073
|
return r;
|
|
3095
3074
|
}
|
|
3096
|
-
function
|
|
3075
|
+
function rn(e) {
|
|
3097
3076
|
var t = e.hourCycle;
|
|
3098
3077
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3099
3078
|
e.hourCycles && // @ts-ignore
|
|
@@ -3115,20 +3094,20 @@ function on(e) {
|
|
|
3115
3094
|
var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3116
3095
|
return n[0];
|
|
3117
3096
|
}
|
|
3118
|
-
var
|
|
3097
|
+
var je, nn = new RegExp("^".concat(lr.source, "*")), on = new RegExp("".concat(lr.source, "*$"));
|
|
3119
3098
|
function _(e, t) {
|
|
3120
3099
|
return { start: e, end: t };
|
|
3121
3100
|
}
|
|
3122
|
-
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) {
|
|
3123
3102
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3124
|
-
},
|
|
3103
|
+
}, tt = !0;
|
|
3125
3104
|
try {
|
|
3126
|
-
var
|
|
3127
|
-
|
|
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";
|
|
3128
3107
|
} catch {
|
|
3129
|
-
|
|
3108
|
+
tt = !1;
|
|
3130
3109
|
}
|
|
3131
|
-
var
|
|
3110
|
+
var It = sn ? (
|
|
3132
3111
|
// Native
|
|
3133
3112
|
function(t, r, i) {
|
|
3134
3113
|
return t.startsWith(r, i);
|
|
@@ -3138,7 +3117,7 @@ var Bt = un ? (
|
|
|
3138
3117
|
function(t, r, i) {
|
|
3139
3118
|
return t.slice(i, i + r.length) === r;
|
|
3140
3119
|
}
|
|
3141
|
-
),
|
|
3120
|
+
), rt = an ? String.fromCodePoint : (
|
|
3142
3121
|
// IE11
|
|
3143
3122
|
function() {
|
|
3144
3123
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3150,9 +3129,9 @@ var Bt = un ? (
|
|
|
3150
3129
|
}
|
|
3151
3130
|
return i;
|
|
3152
3131
|
}
|
|
3153
|
-
),
|
|
3132
|
+
), Bt = (
|
|
3154
3133
|
// native
|
|
3155
|
-
|
|
3134
|
+
un ? Object.fromEntries : (
|
|
3156
3135
|
// Ponyfill
|
|
3157
3136
|
function(t) {
|
|
3158
3137
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3162,7 +3141,7 @@ var Bt = un ? (
|
|
|
3162
3141
|
return r;
|
|
3163
3142
|
}
|
|
3164
3143
|
)
|
|
3165
|
-
),
|
|
3144
|
+
), mr = ln ? (
|
|
3166
3145
|
// Native
|
|
3167
3146
|
function(t, r) {
|
|
3168
3147
|
return t.codePointAt(r);
|
|
@@ -3176,7 +3155,7 @@ var Bt = un ? (
|
|
|
3176
3155
|
return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3177
3156
|
}
|
|
3178
3157
|
}
|
|
3179
|
-
),
|
|
3158
|
+
), dn = hn ? (
|
|
3180
3159
|
// Native
|
|
3181
3160
|
function(t) {
|
|
3182
3161
|
return t.trimStart();
|
|
@@ -3184,9 +3163,9 @@ var Bt = un ? (
|
|
|
3184
3163
|
) : (
|
|
3185
3164
|
// Ponyfill
|
|
3186
3165
|
function(t) {
|
|
3187
|
-
return t.replace(
|
|
3166
|
+
return t.replace(nn, "");
|
|
3188
3167
|
}
|
|
3189
|
-
),
|
|
3168
|
+
), yn = cn ? (
|
|
3190
3169
|
// Native
|
|
3191
3170
|
function(t) {
|
|
3192
3171
|
return t.trimEnd();
|
|
@@ -3194,32 +3173,32 @@ var Bt = un ? (
|
|
|
3194
3173
|
) : (
|
|
3195
3174
|
// Ponyfill
|
|
3196
3175
|
function(t) {
|
|
3197
|
-
return t.replace(
|
|
3176
|
+
return t.replace(on, "");
|
|
3198
3177
|
}
|
|
3199
3178
|
);
|
|
3200
|
-
function
|
|
3179
|
+
function pr(e, t) {
|
|
3201
3180
|
return new RegExp(e, t);
|
|
3202
3181
|
}
|
|
3203
|
-
var
|
|
3204
|
-
if (
|
|
3205
|
-
var
|
|
3206
|
-
|
|
3182
|
+
var it;
|
|
3183
|
+
if (tt) {
|
|
3184
|
+
var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3185
|
+
it = function(t, r) {
|
|
3207
3186
|
var i;
|
|
3208
|
-
|
|
3209
|
-
var n =
|
|
3187
|
+
Ot.lastIndex = r;
|
|
3188
|
+
var n = Ot.exec(t);
|
|
3210
3189
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3211
3190
|
};
|
|
3212
3191
|
} else
|
|
3213
|
-
|
|
3192
|
+
it = function(t, r) {
|
|
3214
3193
|
for (var i = []; ; ) {
|
|
3215
|
-
var n =
|
|
3216
|
-
if (n === void 0 ||
|
|
3194
|
+
var n = mr(t, r);
|
|
3195
|
+
if (n === void 0 || dr(n) || _n(n))
|
|
3217
3196
|
break;
|
|
3218
3197
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3219
3198
|
}
|
|
3220
|
-
return
|
|
3199
|
+
return rt.apply(void 0, i);
|
|
3221
3200
|
};
|
|
3222
|
-
var
|
|
3201
|
+
var gn = (
|
|
3223
3202
|
/** @class */
|
|
3224
3203
|
function() {
|
|
3225
3204
|
function e(t, r) {
|
|
@@ -3243,14 +3222,14 @@ var vn = (
|
|
|
3243
3222
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3244
3223
|
var s = this.clonePosition();
|
|
3245
3224
|
this.bump(), n.push({
|
|
3246
|
-
type:
|
|
3225
|
+
type: S.pound,
|
|
3247
3226
|
location: _(s, this.clonePosition())
|
|
3248
3227
|
});
|
|
3249
3228
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3250
3229
|
if (i)
|
|
3251
3230
|
break;
|
|
3252
3231
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3253
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3232
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3254
3233
|
var a = this.parseTag(t, r);
|
|
3255
3234
|
if (a.err)
|
|
3256
3235
|
return a;
|
|
@@ -3271,7 +3250,7 @@ var vn = (
|
|
|
3271
3250
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3272
3251
|
return {
|
|
3273
3252
|
val: {
|
|
3274
|
-
type:
|
|
3253
|
+
type: S.literal,
|
|
3275
3254
|
value: "<".concat(n, "/>"),
|
|
3276
3255
|
location: _(i, this.clonePosition())
|
|
3277
3256
|
},
|
|
@@ -3283,12 +3262,12 @@ var vn = (
|
|
|
3283
3262
|
return o;
|
|
3284
3263
|
var a = o.val, s = this.clonePosition();
|
|
3285
3264
|
if (this.bumpIf("</")) {
|
|
3286
|
-
if (this.isEOF() || !
|
|
3265
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3287
3266
|
return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
|
|
3288
3267
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3289
3268
|
return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3290
3269
|
val: {
|
|
3291
|
-
type:
|
|
3270
|
+
type: S.tag,
|
|
3292
3271
|
value: n,
|
|
3293
3272
|
children: a,
|
|
3294
3273
|
location: _(i, this.clonePosition())
|
|
@@ -3301,7 +3280,7 @@ var vn = (
|
|
|
3301
3280
|
return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
|
|
3302
3281
|
}, e.prototype.parseTagName = function() {
|
|
3303
3282
|
var t = this.offset();
|
|
3304
|
-
for (this.bump(); !this.isEOF() &&
|
|
3283
|
+
for (this.bump(); !this.isEOF() && vn(this.char()); )
|
|
3305
3284
|
this.bump();
|
|
3306
3285
|
return this.message.slice(t, this.offset());
|
|
3307
3286
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3325,12 +3304,12 @@ var vn = (
|
|
|
3325
3304
|
}
|
|
3326
3305
|
var h = _(i, this.clonePosition());
|
|
3327
3306
|
return {
|
|
3328
|
-
val: { type:
|
|
3307
|
+
val: { type: S.literal, value: n, location: h },
|
|
3329
3308
|
err: null
|
|
3330
3309
|
};
|
|
3331
3310
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3332
3311
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3333
|
-
!
|
|
3312
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3334
3313
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3335
3314
|
if (this.isEOF() || this.char() !== 39)
|
|
3336
3315
|
return null;
|
|
@@ -3364,12 +3343,12 @@ var vn = (
|
|
|
3364
3343
|
r.push(i);
|
|
3365
3344
|
this.bump();
|
|
3366
3345
|
}
|
|
3367
|
-
return
|
|
3346
|
+
return rt.apply(void 0, r);
|
|
3368
3347
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3369
3348
|
if (this.isEOF())
|
|
3370
3349
|
return null;
|
|
3371
3350
|
var i = this.char();
|
|
3372
|
-
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));
|
|
3373
3352
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3374
3353
|
var i = this.clonePosition();
|
|
3375
3354
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3385,7 +3364,7 @@ var vn = (
|
|
|
3385
3364
|
case 125:
|
|
3386
3365
|
return this.bump(), {
|
|
3387
3366
|
val: {
|
|
3388
|
-
type:
|
|
3367
|
+
type: S.argument,
|
|
3389
3368
|
// value does not include the opening and closing braces.
|
|
3390
3369
|
value: n,
|
|
3391
3370
|
location: _(i, this.clonePosition())
|
|
@@ -3398,7 +3377,7 @@ var vn = (
|
|
|
3398
3377
|
return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
|
|
3399
3378
|
}
|
|
3400
3379
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3401
|
-
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;
|
|
3402
3381
|
this.bumpTo(n);
|
|
3403
3382
|
var o = this.clonePosition(), a = _(t, o);
|
|
3404
3383
|
return { value: i, location: a };
|
|
@@ -3417,7 +3396,7 @@ var vn = (
|
|
|
3417
3396
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3418
3397
|
if (c.err)
|
|
3419
3398
|
return c;
|
|
3420
|
-
var f =
|
|
3399
|
+
var f = yn(c.val);
|
|
3421
3400
|
if (f.length === 0)
|
|
3422
3401
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3423
3402
|
var p = _(l, this.clonePosition());
|
|
@@ -3427,25 +3406,25 @@ var vn = (
|
|
|
3427
3406
|
if (y.err)
|
|
3428
3407
|
return y;
|
|
3429
3408
|
var d = _(n, this.clonePosition());
|
|
3430
|
-
if (u &&
|
|
3431
|
-
var v =
|
|
3409
|
+
if (u && It(u?.style, "::", 0)) {
|
|
3410
|
+
var v = dn(u.style.slice(2));
|
|
3432
3411
|
if (s === "number") {
|
|
3433
3412
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3434
3413
|
return c.err ? c : {
|
|
3435
|
-
val: { type:
|
|
3414
|
+
val: { type: S.number, value: i, location: d, style: c.val },
|
|
3436
3415
|
err: null
|
|
3437
3416
|
};
|
|
3438
3417
|
} else {
|
|
3439
3418
|
if (v.length === 0)
|
|
3440
3419
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3441
3420
|
var H = v;
|
|
3442
|
-
this.locale && (H =
|
|
3421
|
+
this.locale && (H = tn(v, this.locale));
|
|
3443
3422
|
var f = {
|
|
3444
|
-
type:
|
|
3423
|
+
type: ee.dateTime,
|
|
3445
3424
|
pattern: H,
|
|
3446
3425
|
location: u.styleLocation,
|
|
3447
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3448
|
-
}, g = s === "date" ?
|
|
3426
|
+
parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
|
|
3427
|
+
}, g = s === "date" ? S.date : S.time;
|
|
3449
3428
|
return {
|
|
3450
3429
|
val: { type: g, value: i, location: d, style: f },
|
|
3451
3430
|
err: null
|
|
@@ -3454,7 +3433,7 @@ var vn = (
|
|
|
3454
3433
|
}
|
|
3455
3434
|
return {
|
|
3456
3435
|
val: {
|
|
3457
|
-
type: s === "number" ?
|
|
3436
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3458
3437
|
value: i,
|
|
3459
3438
|
location: d,
|
|
3460
3439
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3465,40 +3444,40 @@ var vn = (
|
|
|
3465
3444
|
case "plural":
|
|
3466
3445
|
case "selectordinal":
|
|
3467
3446
|
case "select": {
|
|
3468
|
-
var
|
|
3447
|
+
var w = this.clonePosition();
|
|
3469
3448
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3470
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3449
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
|
|
3471
3450
|
this.bumpSpace();
|
|
3472
|
-
var
|
|
3473
|
-
if (s !== "select" &&
|
|
3451
|
+
var M = this.parseIdentifierIfPossible(), N = 0;
|
|
3452
|
+
if (s !== "select" && M.value === "offset") {
|
|
3474
3453
|
if (!this.bumpIf(":"))
|
|
3475
3454
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3476
3455
|
this.bumpSpace();
|
|
3477
3456
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3478
3457
|
if (c.err)
|
|
3479
3458
|
return c;
|
|
3480
|
-
this.bumpSpace(),
|
|
3459
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
|
|
3481
3460
|
}
|
|
3482
|
-
var
|
|
3483
|
-
if (
|
|
3484
|
-
return
|
|
3461
|
+
var D = this.tryParsePluralOrSelectOptions(t, s, r, M);
|
|
3462
|
+
if (D.err)
|
|
3463
|
+
return D;
|
|
3485
3464
|
var y = this.tryParseArgumentClose(n);
|
|
3486
3465
|
if (y.err)
|
|
3487
3466
|
return y;
|
|
3488
3467
|
var V = _(n, this.clonePosition());
|
|
3489
3468
|
return s === "select" ? {
|
|
3490
3469
|
val: {
|
|
3491
|
-
type:
|
|
3470
|
+
type: S.select,
|
|
3492
3471
|
value: i,
|
|
3493
|
-
options:
|
|
3472
|
+
options: Bt(D.val),
|
|
3494
3473
|
location: V
|
|
3495
3474
|
},
|
|
3496
3475
|
err: null
|
|
3497
3476
|
} : {
|
|
3498
3477
|
val: {
|
|
3499
|
-
type:
|
|
3478
|
+
type: S.plural,
|
|
3500
3479
|
value: i,
|
|
3501
|
-
options:
|
|
3480
|
+
options: Bt(D.val),
|
|
3502
3481
|
offset: N,
|
|
3503
3482
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3504
3483
|
location: V
|
|
@@ -3549,16 +3528,16 @@ var vn = (
|
|
|
3549
3528
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3550
3529
|
var i = [];
|
|
3551
3530
|
try {
|
|
3552
|
-
i =
|
|
3531
|
+
i = Yi(t);
|
|
3553
3532
|
} catch {
|
|
3554
3533
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3555
3534
|
}
|
|
3556
3535
|
return {
|
|
3557
3536
|
val: {
|
|
3558
|
-
type:
|
|
3537
|
+
type: ee.number,
|
|
3559
3538
|
tokens: i,
|
|
3560
3539
|
location: r,
|
|
3561
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3540
|
+
parsedOptions: this.shouldParseSkeletons ? en(i) : {}
|
|
3562
3541
|
},
|
|
3563
3542
|
err: null
|
|
3564
3543
|
};
|
|
@@ -3606,7 +3585,7 @@ var vn = (
|
|
|
3606
3585
|
break;
|
|
3607
3586
|
}
|
|
3608
3587
|
var h = _(n, this.clonePosition());
|
|
3609
|
-
return o ? (a *= i,
|
|
3588
|
+
return o ? (a *= i, mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3610
3589
|
}, e.prototype.offset = function() {
|
|
3611
3590
|
return this.position.offset;
|
|
3612
3591
|
}, e.prototype.isEOF = function() {
|
|
@@ -3621,7 +3600,7 @@ var vn = (
|
|
|
3621
3600
|
var t = this.position.offset;
|
|
3622
3601
|
if (t >= this.message.length)
|
|
3623
3602
|
throw Error("out of bound");
|
|
3624
|
-
var r =
|
|
3603
|
+
var r = mr(this.message, t);
|
|
3625
3604
|
if (r === void 0)
|
|
3626
3605
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3627
3606
|
return r;
|
|
@@ -3640,7 +3619,7 @@ var vn = (
|
|
|
3640
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);
|
|
3641
3620
|
}
|
|
3642
3621
|
}, e.prototype.bumpIf = function(t) {
|
|
3643
|
-
if (
|
|
3622
|
+
if (It(this.message, t, this.offset())) {
|
|
3644
3623
|
for (var r = 0; r < t.length; r++)
|
|
3645
3624
|
this.bump();
|
|
3646
3625
|
return !0;
|
|
@@ -3662,7 +3641,7 @@ var vn = (
|
|
|
3662
3641
|
break;
|
|
3663
3642
|
}
|
|
3664
3643
|
}, e.prototype.bumpSpace = function() {
|
|
3665
|
-
for (; !this.isEOF() &&
|
|
3644
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3666
3645
|
this.bump();
|
|
3667
3646
|
}, e.prototype.peek = function() {
|
|
3668
3647
|
if (this.isEOF())
|
|
@@ -3672,47 +3651,47 @@ var vn = (
|
|
|
3672
3651
|
}, e;
|
|
3673
3652
|
}()
|
|
3674
3653
|
);
|
|
3675
|
-
function
|
|
3654
|
+
function nt(e) {
|
|
3676
3655
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3677
3656
|
}
|
|
3678
|
-
function
|
|
3679
|
-
return
|
|
3657
|
+
function bn(e) {
|
|
3658
|
+
return nt(e) || e === 47;
|
|
3680
3659
|
}
|
|
3681
|
-
function
|
|
3660
|
+
function vn(e) {
|
|
3682
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;
|
|
3683
3662
|
}
|
|
3684
|
-
function
|
|
3663
|
+
function dr(e) {
|
|
3685
3664
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3686
3665
|
}
|
|
3687
|
-
function
|
|
3666
|
+
function _n(e) {
|
|
3688
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;
|
|
3689
3668
|
}
|
|
3690
|
-
function
|
|
3669
|
+
function ot(e) {
|
|
3691
3670
|
e.forEach(function(t) {
|
|
3692
|
-
if (delete t.location,
|
|
3671
|
+
if (delete t.location, or(t) || sr(t))
|
|
3693
3672
|
for (var r in t.options)
|
|
3694
|
-
delete t.options[r].location,
|
|
3673
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3695
3674
|
else
|
|
3696
|
-
|
|
3675
|
+
rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
|
|
3697
3676
|
});
|
|
3698
3677
|
}
|
|
3699
|
-
function
|
|
3700
|
-
t === void 0 && (t = {}), t =
|
|
3701
|
-
var r = new
|
|
3678
|
+
function En(e, t) {
|
|
3679
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3680
|
+
var r = new gn(e, t).parse();
|
|
3702
3681
|
if (r.err) {
|
|
3703
3682
|
var i = SyntaxError(b[r.err.kind]);
|
|
3704
3683
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3705
3684
|
}
|
|
3706
|
-
return t?.captureLocation ||
|
|
3685
|
+
return t?.captureLocation || ot(r.val), r.val;
|
|
3707
3686
|
}
|
|
3708
|
-
var
|
|
3687
|
+
var te;
|
|
3709
3688
|
(function(e) {
|
|
3710
3689
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3711
|
-
})(
|
|
3712
|
-
var
|
|
3690
|
+
})(te || (te = {}));
|
|
3691
|
+
var Ie = (
|
|
3713
3692
|
/** @class */
|
|
3714
3693
|
function(e) {
|
|
3715
|
-
|
|
3694
|
+
G(t, e);
|
|
3716
3695
|
function t(r, i, n) {
|
|
3717
3696
|
var o = e.call(this, r) || this;
|
|
3718
3697
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -3721,155 +3700,155 @@ var Be = (
|
|
|
3721
3700
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3722
3701
|
}, t;
|
|
3723
3702
|
}(Error)
|
|
3724
|
-
),
|
|
3703
|
+
), Ct = (
|
|
3725
3704
|
/** @class */
|
|
3726
3705
|
function(e) {
|
|
3727
|
-
|
|
3706
|
+
G(t, e);
|
|
3728
3707
|
function t(r, i, n, o) {
|
|
3729
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3708
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
3730
3709
|
}
|
|
3731
3710
|
return t;
|
|
3732
|
-
}(
|
|
3733
|
-
),
|
|
3711
|
+
}(Ie)
|
|
3712
|
+
), xn = (
|
|
3734
3713
|
/** @class */
|
|
3735
3714
|
function(e) {
|
|
3736
|
-
|
|
3715
|
+
G(t, e);
|
|
3737
3716
|
function t(r, i, n) {
|
|
3738
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3717
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
|
|
3739
3718
|
}
|
|
3740
3719
|
return t;
|
|
3741
|
-
}(
|
|
3742
|
-
),
|
|
3720
|
+
}(Ie)
|
|
3721
|
+
), Tn = (
|
|
3743
3722
|
/** @class */
|
|
3744
3723
|
function(e) {
|
|
3745
|
-
|
|
3724
|
+
G(t, e);
|
|
3746
3725
|
function t(r, i) {
|
|
3747
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3726
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
|
|
3748
3727
|
}
|
|
3749
3728
|
return t;
|
|
3750
|
-
}(
|
|
3751
|
-
),
|
|
3729
|
+
}(Ie)
|
|
3730
|
+
), I;
|
|
3752
3731
|
(function(e) {
|
|
3753
3732
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3754
|
-
})(
|
|
3755
|
-
function
|
|
3733
|
+
})(I || (I = {}));
|
|
3734
|
+
function Ln(e) {
|
|
3756
3735
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3757
3736
|
var i = t[t.length - 1];
|
|
3758
|
-
return !i || i.type !==
|
|
3737
|
+
return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
|
|
3759
3738
|
}, []);
|
|
3760
3739
|
}
|
|
3761
|
-
function
|
|
3740
|
+
function Sn(e) {
|
|
3762
3741
|
return typeof e == "function";
|
|
3763
3742
|
}
|
|
3764
3743
|
function Te(e, t, r, i, n, o, a) {
|
|
3765
|
-
if (e.length === 1 &&
|
|
3744
|
+
if (e.length === 1 && wt(e[0]))
|
|
3766
3745
|
return [
|
|
3767
3746
|
{
|
|
3768
|
-
type:
|
|
3747
|
+
type: I.literal,
|
|
3769
3748
|
value: e[0].value
|
|
3770
3749
|
}
|
|
3771
3750
|
];
|
|
3772
3751
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3773
3752
|
var l = u[h];
|
|
3774
|
-
if (
|
|
3753
|
+
if (wt(l)) {
|
|
3775
3754
|
s.push({
|
|
3776
|
-
type:
|
|
3755
|
+
type: I.literal,
|
|
3777
3756
|
value: l.value
|
|
3778
3757
|
});
|
|
3779
3758
|
continue;
|
|
3780
3759
|
}
|
|
3781
|
-
if (
|
|
3760
|
+
if (Xi(l)) {
|
|
3782
3761
|
typeof o == "number" && s.push({
|
|
3783
|
-
type:
|
|
3762
|
+
type: I.literal,
|
|
3784
3763
|
value: r.getNumberFormat(t).format(o)
|
|
3785
3764
|
});
|
|
3786
3765
|
continue;
|
|
3787
3766
|
}
|
|
3788
3767
|
var c = l.value;
|
|
3789
3768
|
if (!(n && c in n))
|
|
3790
|
-
throw new
|
|
3769
|
+
throw new Tn(c, a);
|
|
3791
3770
|
var f = n[c];
|
|
3792
|
-
if (
|
|
3771
|
+
if (Wi(l)) {
|
|
3793
3772
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3794
|
-
type: typeof f == "string" ?
|
|
3773
|
+
type: typeof f == "string" ? I.literal : I.object,
|
|
3795
3774
|
value: f
|
|
3796
3775
|
});
|
|
3797
3776
|
continue;
|
|
3798
3777
|
}
|
|
3799
|
-
if (
|
|
3800
|
-
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;
|
|
3801
3780
|
s.push({
|
|
3802
|
-
type:
|
|
3781
|
+
type: I.literal,
|
|
3803
3782
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3804
3783
|
});
|
|
3805
3784
|
continue;
|
|
3806
3785
|
}
|
|
3807
|
-
if (
|
|
3808
|
-
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;
|
|
3809
3788
|
s.push({
|
|
3810
|
-
type:
|
|
3789
|
+
type: I.literal,
|
|
3811
3790
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3812
3791
|
});
|
|
3813
3792
|
continue;
|
|
3814
3793
|
}
|
|
3815
|
-
if (
|
|
3816
|
-
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;
|
|
3817
3796
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3818
|
-
type:
|
|
3797
|
+
type: I.literal,
|
|
3819
3798
|
value: r.getNumberFormat(t, p).format(f)
|
|
3820
3799
|
});
|
|
3821
3800
|
continue;
|
|
3822
3801
|
}
|
|
3823
|
-
if (
|
|
3802
|
+
if (ar(l)) {
|
|
3824
3803
|
var y = l.children, d = l.value, v = n[d];
|
|
3825
|
-
if (!
|
|
3826
|
-
throw new
|
|
3804
|
+
if (!Sn(v))
|
|
3805
|
+
throw new xn(d, "function", a);
|
|
3827
3806
|
var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
|
|
3828
3807
|
return N.value;
|
|
3829
3808
|
}));
|
|
3830
3809
|
Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
|
|
3831
3810
|
return {
|
|
3832
|
-
type: typeof N == "string" ?
|
|
3811
|
+
type: typeof N == "string" ? I.literal : I.object,
|
|
3833
3812
|
value: N
|
|
3834
3813
|
};
|
|
3835
3814
|
}));
|
|
3836
3815
|
}
|
|
3837
|
-
if (
|
|
3838
|
-
var
|
|
3839
|
-
if (!
|
|
3840
|
-
throw new
|
|
3841
|
-
s.push.apply(s, Te(
|
|
3816
|
+
if (or(l)) {
|
|
3817
|
+
var w = l.options[f] || l.options.other;
|
|
3818
|
+
if (!w)
|
|
3819
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3820
|
+
s.push.apply(s, Te(w.value, t, r, i, n));
|
|
3842
3821
|
continue;
|
|
3843
3822
|
}
|
|
3844
|
-
if (
|
|
3845
|
-
var
|
|
3846
|
-
if (!
|
|
3823
|
+
if (sr(l)) {
|
|
3824
|
+
var w = l.options["=".concat(f)];
|
|
3825
|
+
if (!w) {
|
|
3847
3826
|
if (!Intl.PluralRules)
|
|
3848
|
-
throw new
|
|
3827
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3849
3828
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3850
|
-
`,
|
|
3851
|
-
var
|
|
3852
|
-
|
|
3829
|
+
`, te.MISSING_INTL_API, a);
|
|
3830
|
+
var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3831
|
+
w = l.options[M] || l.options.other;
|
|
3853
3832
|
}
|
|
3854
|
-
if (!
|
|
3855
|
-
throw new
|
|
3856
|
-
s.push.apply(s, Te(
|
|
3833
|
+
if (!w)
|
|
3834
|
+
throw new Ct(l.value, f, Object.keys(l.options), a);
|
|
3835
|
+
s.push.apply(s, Te(w.value, t, r, i, n, f - (l.offset || 0)));
|
|
3857
3836
|
continue;
|
|
3858
3837
|
}
|
|
3859
3838
|
}
|
|
3860
|
-
return
|
|
3839
|
+
return Ln(s);
|
|
3861
3840
|
}
|
|
3862
|
-
function
|
|
3863
|
-
return t ?
|
|
3864
|
-
return r[i] =
|
|
3841
|
+
function wn(e, t) {
|
|
3842
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3843
|
+
return r[i] = E(E({}, e[i]), t[i] || {}), r;
|
|
3865
3844
|
}, {})) : e;
|
|
3866
3845
|
}
|
|
3867
|
-
function
|
|
3846
|
+
function An(e, t) {
|
|
3868
3847
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3869
|
-
return r[i] =
|
|
3870
|
-
},
|
|
3848
|
+
return r[i] = wn(e[i], t[i]), r;
|
|
3849
|
+
}, E({}, e)) : e;
|
|
3871
3850
|
}
|
|
3872
|
-
function
|
|
3851
|
+
function ke(e) {
|
|
3873
3852
|
return {
|
|
3874
3853
|
create: function() {
|
|
3875
3854
|
return {
|
|
@@ -3883,39 +3862,39 @@ function We(e) {
|
|
|
3883
3862
|
}
|
|
3884
3863
|
};
|
|
3885
3864
|
}
|
|
3886
|
-
function
|
|
3865
|
+
function Pn(e) {
|
|
3887
3866
|
return e === void 0 && (e = {
|
|
3888
3867
|
number: {},
|
|
3889
3868
|
dateTime: {},
|
|
3890
3869
|
pluralRules: {}
|
|
3891
3870
|
}), {
|
|
3892
|
-
getNumberFormat:
|
|
3871
|
+
getNumberFormat: Ge(function() {
|
|
3893
3872
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3894
3873
|
r[i] = arguments[i];
|
|
3895
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3874
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3896
3875
|
}, {
|
|
3897
|
-
cache:
|
|
3898
|
-
strategy:
|
|
3876
|
+
cache: ke(e.number),
|
|
3877
|
+
strategy: Fe.variadic
|
|
3899
3878
|
}),
|
|
3900
|
-
getDateTimeFormat:
|
|
3879
|
+
getDateTimeFormat: Ge(function() {
|
|
3901
3880
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3902
3881
|
r[i] = arguments[i];
|
|
3903
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3882
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
3904
3883
|
}, {
|
|
3905
|
-
cache:
|
|
3906
|
-
strategy:
|
|
3884
|
+
cache: ke(e.dateTime),
|
|
3885
|
+
strategy: Fe.variadic
|
|
3907
3886
|
}),
|
|
3908
|
-
getPluralRules:
|
|
3887
|
+
getPluralRules: Ge(function() {
|
|
3909
3888
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3910
3889
|
r[i] = arguments[i];
|
|
3911
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3890
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
3912
3891
|
}, {
|
|
3913
|
-
cache:
|
|
3914
|
-
strategy:
|
|
3892
|
+
cache: ke(e.pluralRules),
|
|
3893
|
+
strategy: Fe.variadic
|
|
3915
3894
|
})
|
|
3916
3895
|
};
|
|
3917
3896
|
}
|
|
3918
|
-
var
|
|
3897
|
+
var Hn = (
|
|
3919
3898
|
/** @class */
|
|
3920
3899
|
function() {
|
|
3921
3900
|
function e(t, r, i, n) {
|
|
@@ -3930,7 +3909,7 @@ var In = (
|
|
|
3930
3909
|
if (u.length === 1)
|
|
3931
3910
|
return u[0].value;
|
|
3932
3911
|
var l = u.reduce(function(c, f) {
|
|
3933
|
-
return !c.length || f.type !==
|
|
3912
|
+
return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3934
3913
|
}, []);
|
|
3935
3914
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3936
3915
|
}, this.formatToParts = function(h) {
|
|
@@ -3947,13 +3926,13 @@ var In = (
|
|
|
3947
3926
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3948
3927
|
var a = n || {};
|
|
3949
3928
|
a.formatters;
|
|
3950
|
-
var s =
|
|
3951
|
-
this.ast = e.__parse(t,
|
|
3929
|
+
var s = ai(a, ["formatters"]);
|
|
3930
|
+
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
3952
3931
|
} else
|
|
3953
3932
|
this.ast = t;
|
|
3954
3933
|
if (!Array.isArray(this.ast))
|
|
3955
3934
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3956
|
-
this.formats =
|
|
3935
|
+
this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
|
|
3957
3936
|
}
|
|
3958
3937
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3959
3938
|
get: function() {
|
|
@@ -3966,7 +3945,7 @@ var In = (
|
|
|
3966
3945
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3967
3946
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3968
3947
|
}
|
|
3969
|
-
}, e.__parse =
|
|
3948
|
+
}, e.__parse = En, e.formats = {
|
|
3970
3949
|
number: {
|
|
3971
3950
|
integer: {
|
|
3972
3951
|
maximumFractionDigits: 0
|
|
@@ -4027,7 +4006,7 @@ var In = (
|
|
|
4027
4006
|
}, e;
|
|
4028
4007
|
}()
|
|
4029
4008
|
);
|
|
4030
|
-
function
|
|
4009
|
+
function In(e, t) {
|
|
4031
4010
|
if (t == null)
|
|
4032
4011
|
return;
|
|
4033
4012
|
if (t in e)
|
|
@@ -4048,92 +4027,92 @@ function Bn(e, t) {
|
|
|
4048
4027
|
i = void 0;
|
|
4049
4028
|
return i;
|
|
4050
4029
|
}
|
|
4051
|
-
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) => {
|
|
4052
4031
|
if (t == null)
|
|
4053
4032
|
return;
|
|
4054
4033
|
if (t in F && e in F[t])
|
|
4055
4034
|
return F[t][e];
|
|
4056
|
-
const r =
|
|
4035
|
+
const r = Be(t);
|
|
4057
4036
|
for (let i = 0; i < r.length; i++) {
|
|
4058
|
-
const n = r[i], o =
|
|
4037
|
+
const n = r[i], o = Cn(n, e);
|
|
4059
4038
|
if (o)
|
|
4060
|
-
return
|
|
4039
|
+
return Bn(e, t, o);
|
|
4061
4040
|
}
|
|
4062
4041
|
};
|
|
4063
|
-
let
|
|
4064
|
-
const me =
|
|
4065
|
-
function
|
|
4066
|
-
return
|
|
4042
|
+
let ct;
|
|
4043
|
+
const me = He({});
|
|
4044
|
+
function On(e) {
|
|
4045
|
+
return ct[e] || null;
|
|
4067
4046
|
}
|
|
4068
|
-
function
|
|
4069
|
-
return e in
|
|
4047
|
+
function gr(e) {
|
|
4048
|
+
return e in ct;
|
|
4070
4049
|
}
|
|
4071
|
-
function
|
|
4072
|
-
if (!
|
|
4050
|
+
function Cn(e, t) {
|
|
4051
|
+
if (!gr(e))
|
|
4073
4052
|
return null;
|
|
4074
|
-
const r =
|
|
4075
|
-
return
|
|
4053
|
+
const r = On(e);
|
|
4054
|
+
return In(r, t);
|
|
4076
4055
|
}
|
|
4077
|
-
function
|
|
4056
|
+
function Nn(e) {
|
|
4078
4057
|
if (e == null)
|
|
4079
4058
|
return;
|
|
4080
|
-
const t =
|
|
4059
|
+
const t = Be(e);
|
|
4081
4060
|
for (let r = 0; r < t.length; r++) {
|
|
4082
4061
|
const i = t[r];
|
|
4083
|
-
if (
|
|
4062
|
+
if (gr(i))
|
|
4084
4063
|
return i;
|
|
4085
4064
|
}
|
|
4086
4065
|
}
|
|
4087
|
-
function
|
|
4066
|
+
function br(e, ...t) {
|
|
4088
4067
|
delete F[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
|
|
4089
4068
|
}
|
|
4090
|
-
|
|
4069
|
+
ne(
|
|
4091
4070
|
[me],
|
|
4092
4071
|
([e]) => Object.keys(e)
|
|
4093
4072
|
);
|
|
4094
|
-
me.subscribe((e) =>
|
|
4073
|
+
me.subscribe((e) => ct = e);
|
|
4095
4074
|
const Le = {};
|
|
4096
|
-
function
|
|
4075
|
+
function Rn(e, t) {
|
|
4097
4076
|
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
4098
4077
|
}
|
|
4099
|
-
function
|
|
4078
|
+
function vr(e) {
|
|
4100
4079
|
return Le[e];
|
|
4101
4080
|
}
|
|
4102
|
-
function
|
|
4103
|
-
return
|
|
4104
|
-
const r =
|
|
4081
|
+
function Mn(e) {
|
|
4082
|
+
return Be(e).map((t) => {
|
|
4083
|
+
const r = vr(t);
|
|
4105
4084
|
return [t, r ? [...r] : []];
|
|
4106
4085
|
}).filter(([, t]) => t.length > 0);
|
|
4107
4086
|
}
|
|
4108
|
-
function
|
|
4109
|
-
return e == null ? !1 :
|
|
4087
|
+
function st(e) {
|
|
4088
|
+
return e == null ? !1 : Be(e).some(
|
|
4110
4089
|
(t) => {
|
|
4111
4090
|
var r;
|
|
4112
|
-
return (r =
|
|
4091
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4113
4092
|
}
|
|
4114
4093
|
);
|
|
4115
4094
|
}
|
|
4116
|
-
function
|
|
4095
|
+
function Dn(e, t) {
|
|
4117
4096
|
return Promise.all(
|
|
4118
|
-
t.map((i) => (
|
|
4119
|
-
).then((i) =>
|
|
4120
|
-
}
|
|
4121
|
-
const
|
|
4122
|
-
function
|
|
4123
|
-
if (!
|
|
4124
|
-
return e in
|
|
4125
|
-
const t =
|
|
4126
|
-
return
|
|
4097
|
+
t.map((i) => (Rn(e, i), i().then((n) => n.default || n)))
|
|
4098
|
+
).then((i) => br(e, ...i));
|
|
4099
|
+
}
|
|
4100
|
+
const ue = {};
|
|
4101
|
+
function _r(e) {
|
|
4102
|
+
if (!st(e))
|
|
4103
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
4104
|
+
const t = Mn(e);
|
|
4105
|
+
return ue[e] = Promise.all(
|
|
4127
4106
|
t.map(
|
|
4128
|
-
([r, i]) =>
|
|
4107
|
+
([r, i]) => Dn(r, i)
|
|
4129
4108
|
)
|
|
4130
4109
|
).then(() => {
|
|
4131
|
-
if (
|
|
4132
|
-
return
|
|
4133
|
-
delete
|
|
4134
|
-
}),
|
|
4110
|
+
if (st(e))
|
|
4111
|
+
return _r(e);
|
|
4112
|
+
delete ue[e];
|
|
4113
|
+
}), ue[e];
|
|
4135
4114
|
}
|
|
4136
|
-
const
|
|
4115
|
+
const Un = {
|
|
4137
4116
|
number: {
|
|
4138
4117
|
scientific: { notation: "scientific" },
|
|
4139
4118
|
engineering: { notation: "engineering" },
|
|
@@ -4162,135 +4141,135 @@ const Gn = {
|
|
|
4162
4141
|
timeZoneName: "short"
|
|
4163
4142
|
}
|
|
4164
4143
|
}
|
|
4165
|
-
},
|
|
4144
|
+
}, $n = {
|
|
4166
4145
|
fallbackLocale: null,
|
|
4167
4146
|
loadingDelay: 200,
|
|
4168
|
-
formats:
|
|
4147
|
+
formats: Un,
|
|
4169
4148
|
warnOnMissingMessages: !0,
|
|
4170
4149
|
handleMissingMessage: void 0,
|
|
4171
4150
|
ignoreTag: !0
|
|
4172
|
-
},
|
|
4173
|
-
function
|
|
4174
|
-
return
|
|
4151
|
+
}, Gn = $n;
|
|
4152
|
+
function re() {
|
|
4153
|
+
return Gn;
|
|
4175
4154
|
}
|
|
4176
|
-
const
|
|
4177
|
-
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) => {
|
|
4178
4157
|
for (var r in t || (t = {}))
|
|
4179
|
-
|
|
4180
|
-
if (
|
|
4181
|
-
for (var r of
|
|
4182
|
-
|
|
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]);
|
|
4183
4162
|
return e;
|
|
4184
|
-
},
|
|
4185
|
-
let
|
|
4186
|
-
const
|
|
4187
|
-
function
|
|
4163
|
+
}, zn = (e, t) => jn(e, kn(t));
|
|
4164
|
+
let at;
|
|
4165
|
+
const we = He(null);
|
|
4166
|
+
function Mt(e) {
|
|
4188
4167
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4189
4168
|
}
|
|
4190
|
-
function
|
|
4191
|
-
const r =
|
|
4192
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4169
|
+
function Be(e, t = re().fallbackLocale) {
|
|
4170
|
+
const r = Mt(e);
|
|
4171
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
|
4193
4172
|
}
|
|
4194
4173
|
function z() {
|
|
4195
|
-
return
|
|
4174
|
+
return at ?? void 0;
|
|
4196
4175
|
}
|
|
4197
|
-
|
|
4198
|
-
|
|
4176
|
+
we.subscribe((e) => {
|
|
4177
|
+
at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4199
4178
|
});
|
|
4200
|
-
const
|
|
4201
|
-
if (e &&
|
|
4202
|
-
const { loadingDelay: t } =
|
|
4179
|
+
const Zn = (e) => {
|
|
4180
|
+
if (e && Nn(e) && st(e)) {
|
|
4181
|
+
const { loadingDelay: t } = re();
|
|
4203
4182
|
let r;
|
|
4204
4183
|
return typeof window < "u" && z() != null && t ? r = window.setTimeout(
|
|
4205
|
-
() =>
|
|
4184
|
+
() => Ve.set(!0),
|
|
4206
4185
|
t
|
|
4207
|
-
) :
|
|
4208
|
-
|
|
4186
|
+
) : Ve.set(!0), _r(e).then(() => {
|
|
4187
|
+
we.set(e);
|
|
4209
4188
|
}).finally(() => {
|
|
4210
|
-
clearTimeout(r),
|
|
4189
|
+
clearTimeout(r), Ve.set(!1);
|
|
4211
4190
|
});
|
|
4212
4191
|
}
|
|
4213
|
-
return
|
|
4214
|
-
},
|
|
4215
|
-
set:
|
|
4216
|
-
}),
|
|
4192
|
+
return we.set(e);
|
|
4193
|
+
}, oe = zn(Xn({}, we), {
|
|
4194
|
+
set: Zn
|
|
4195
|
+
}), Oe = (e) => {
|
|
4217
4196
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4218
4197
|
return (i) => {
|
|
4219
4198
|
const n = JSON.stringify(i);
|
|
4220
4199
|
return n in t ? t[n] : t[n] = e(i);
|
|
4221
4200
|
};
|
|
4222
4201
|
};
|
|
4223
|
-
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) => {
|
|
4224
4203
|
for (var r in t || (t = {}))
|
|
4225
|
-
|
|
4226
|
-
if (
|
|
4227
|
-
for (var r of
|
|
4228
|
-
|
|
4204
|
+
Er.call(t, r) && Dt(e, r, t[r]);
|
|
4205
|
+
if (Ae)
|
|
4206
|
+
for (var r of Ae(t))
|
|
4207
|
+
xr.call(t, r) && Dt(e, r, t[r]);
|
|
4229
4208
|
return e;
|
|
4230
|
-
},
|
|
4209
|
+
}, se = (e, t) => {
|
|
4231
4210
|
var r = {};
|
|
4232
4211
|
for (var i in e)
|
|
4233
|
-
|
|
4234
|
-
if (e != null &&
|
|
4235
|
-
for (var i of
|
|
4236
|
-
t.indexOf(i) < 0 &&
|
|
4212
|
+
Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4213
|
+
if (e != null && Ae)
|
|
4214
|
+
for (var i of Ae(e))
|
|
4215
|
+
t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
|
|
4237
4216
|
return r;
|
|
4238
4217
|
};
|
|
4239
|
-
const
|
|
4240
|
-
const { formats: r } =
|
|
4218
|
+
const fe = (e, t) => {
|
|
4219
|
+
const { formats: r } = re();
|
|
4241
4220
|
if (e in r && t in r[e])
|
|
4242
4221
|
return r[e][t];
|
|
4243
4222
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4244
|
-
},
|
|
4223
|
+
}, Yn = Oe(
|
|
4245
4224
|
(e) => {
|
|
4246
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4225
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4247
4226
|
if (r == null)
|
|
4248
4227
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4249
|
-
return i && (n =
|
|
4228
|
+
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
4250
4229
|
}
|
|
4251
|
-
),
|
|
4230
|
+
), Jn = Oe(
|
|
4252
4231
|
(e) => {
|
|
4253
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4232
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4254
4233
|
if (r == null)
|
|
4255
4234
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4256
|
-
return i ? n =
|
|
4235
|
+
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4257
4236
|
}
|
|
4258
|
-
),
|
|
4237
|
+
), qn = Oe(
|
|
4259
4238
|
(e) => {
|
|
4260
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4239
|
+
var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
|
|
4261
4240
|
if (r == null)
|
|
4262
4241
|
throw new Error(
|
|
4263
4242
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4264
4243
|
);
|
|
4265
|
-
return i ? n =
|
|
4244
|
+
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4266
4245
|
}
|
|
4267
|
-
),
|
|
4246
|
+
), Kn = (e = {}) => {
|
|
4268
4247
|
var t = e, {
|
|
4269
4248
|
locale: r = z()
|
|
4270
|
-
} = t, i =
|
|
4249
|
+
} = t, i = se(t, [
|
|
4271
4250
|
"locale"
|
|
4272
4251
|
]);
|
|
4273
|
-
return
|
|
4274
|
-
},
|
|
4252
|
+
return Yn(ft({ locale: r }, i));
|
|
4253
|
+
}, eo = (e = {}) => {
|
|
4275
4254
|
var t = e, {
|
|
4276
4255
|
locale: r = z()
|
|
4277
|
-
} = t, i =
|
|
4256
|
+
} = t, i = se(t, [
|
|
4278
4257
|
"locale"
|
|
4279
4258
|
]);
|
|
4280
|
-
return
|
|
4281
|
-
},
|
|
4259
|
+
return Jn(ft({ locale: r }, i));
|
|
4260
|
+
}, to = (e = {}) => {
|
|
4282
4261
|
var t = e, {
|
|
4283
4262
|
locale: r = z()
|
|
4284
|
-
} = t, i =
|
|
4263
|
+
} = t, i = se(t, [
|
|
4285
4264
|
"locale"
|
|
4286
4265
|
]);
|
|
4287
|
-
return
|
|
4288
|
-
},
|
|
4266
|
+
return qn(ft({ locale: r }, i));
|
|
4267
|
+
}, ro = Oe(
|
|
4289
4268
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4290
|
-
(e, t = z()) => new
|
|
4291
|
-
ignoreTag:
|
|
4269
|
+
(e, t = z()) => new Hn(e, t, re().formats, {
|
|
4270
|
+
ignoreTag: re().ignoreTag
|
|
4292
4271
|
})
|
|
4293
|
-
),
|
|
4272
|
+
), io = (e, t = {}) => {
|
|
4294
4273
|
var r, i, n, o;
|
|
4295
4274
|
let a = t;
|
|
4296
4275
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4303,9 +4282,9 @@ const ce = (e, t) => {
|
|
|
4303
4282
|
throw new Error(
|
|
4304
4283
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4305
4284
|
);
|
|
4306
|
-
let l =
|
|
4285
|
+
let l = yr(e, h);
|
|
4307
4286
|
if (!l)
|
|
4308
|
-
l = (o = (n = (i = (r =
|
|
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;
|
|
4309
4288
|
else if (typeof l != "string")
|
|
4310
4289
|
return console.warn(
|
|
4311
4290
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4314,7 +4293,7 @@ const ce = (e, t) => {
|
|
|
4314
4293
|
return l;
|
|
4315
4294
|
let c = l;
|
|
4316
4295
|
try {
|
|
4317
|
-
c =
|
|
4296
|
+
c = ro(l, h).format(s);
|
|
4318
4297
|
} catch (f) {
|
|
4319
4298
|
f instanceof Error && console.warn(
|
|
4320
4299
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4322,20 +4301,20 @@ const ce = (e, t) => {
|
|
|
4322
4301
|
);
|
|
4323
4302
|
}
|
|
4324
4303
|
return c;
|
|
4325
|
-
},
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
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);
|
|
4330
4309
|
window.emWidgets = { topic: Ei };
|
|
4331
|
-
const
|
|
4332
|
-
function
|
|
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) {
|
|
4333
4312
|
if (e) {
|
|
4334
4313
|
const r = document.createElement("style");
|
|
4335
4314
|
r.innerHTML = t, e.appendChild(r);
|
|
4336
4315
|
}
|
|
4337
4316
|
}
|
|
4338
|
-
function
|
|
4317
|
+
function co(e, t) {
|
|
4339
4318
|
const r = new URL(t);
|
|
4340
4319
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4341
4320
|
const n = document.createElement("style");
|
|
@@ -4344,7 +4323,7 @@ function mo(e, t) {
|
|
|
4344
4323
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4345
4324
|
});
|
|
4346
4325
|
}
|
|
4347
|
-
function
|
|
4326
|
+
function fo(e, t, r) {
|
|
4348
4327
|
if (window.emMessageBus) {
|
|
4349
4328
|
const i = document.createElement("style");
|
|
4350
4329
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4352,13 +4331,13 @@ function po(e, t, r) {
|
|
|
4352
4331
|
});
|
|
4353
4332
|
}
|
|
4354
4333
|
}
|
|
4355
|
-
function
|
|
4356
|
-
|
|
4334
|
+
function Ut(e, t) {
|
|
4335
|
+
br(e, t);
|
|
4357
4336
|
}
|
|
4358
|
-
function
|
|
4359
|
-
|
|
4337
|
+
function mo(e) {
|
|
4338
|
+
oe.set(e);
|
|
4360
4339
|
}
|
|
4361
|
-
const
|
|
4340
|
+
const We = {
|
|
4362
4341
|
en: {
|
|
4363
4342
|
expandLimits: "LIMIT HISTORY",
|
|
4364
4343
|
daily: "per day",
|
|
@@ -4609,46 +4588,46 @@ const ze = {
|
|
|
4609
4588
|
historyLimitTypeLoss: "Loss Limit"
|
|
4610
4589
|
}
|
|
4611
4590
|
};
|
|
4612
|
-
function
|
|
4613
|
-
|
|
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)}}');
|
|
4614
4593
|
}
|
|
4615
|
-
function
|
|
4594
|
+
function $t(e, t, r) {
|
|
4616
4595
|
const i = e.slice();
|
|
4617
4596
|
return i[37] = t[r], i[38] = t, i[39] = r, i;
|
|
4618
4597
|
}
|
|
4619
|
-
function
|
|
4598
|
+
function yo(e) {
|
|
4620
4599
|
let t, r, i, n = (
|
|
4621
4600
|
/*$_*/
|
|
4622
4601
|
e[9]("expandLimits") + ""
|
|
4623
|
-
), o, a, s, h, u, l, c, f, p, y =
|
|
4602
|
+
), o, a, s, h, u, l, c, f, p, y = gt(
|
|
4624
4603
|
/*lazyShowedHistoryArray*/
|
|
4625
4604
|
e[7]
|
|
4626
4605
|
), d = [];
|
|
4627
4606
|
for (let v = 0; v < y.length; v += 1)
|
|
4628
|
-
d[v] =
|
|
4607
|
+
d[v] = Gt($t(e, y, v));
|
|
4629
4608
|
return {
|
|
4630
4609
|
c() {
|
|
4631
|
-
t = P("div"), r = P("div"), i = P("button"), o =
|
|
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");
|
|
4632
4611
|
for (let v = 0; v < d.length; v += 1)
|
|
4633
4612
|
d[v].c();
|
|
4634
|
-
|
|
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(
|
|
4635
4614
|
s,
|
|
4636
4615
|
"extended",
|
|
4637
4616
|
/*extended*/
|
|
4638
4617
|
e[8]
|
|
4639
|
-
),
|
|
4618
|
+
), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ge(
|
|
4640
4619
|
c,
|
|
4641
4620
|
"hidden",
|
|
4642
4621
|
/*hidden*/
|
|
4643
4622
|
e[5]
|
|
4644
|
-
),
|
|
4645
|
-
(e[10] ? "Desktop" : "") + " svelte-19ml84y"),
|
|
4623
|
+
), x(r, "class", "HistoryWrapper " + /*isDesktop*/
|
|
4624
|
+
(e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
|
|
4646
4625
|
},
|
|
4647
4626
|
m(v, H) {
|
|
4648
|
-
X(v, t, H),
|
|
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);
|
|
4649
4628
|
for (let g = 0; g < d.length; g += 1)
|
|
4650
4629
|
d[g] && d[g].m(c, null);
|
|
4651
|
-
f || (p =
|
|
4630
|
+
f || (p = Vr(
|
|
4652
4631
|
i,
|
|
4653
4632
|
"click",
|
|
4654
4633
|
/*toggleHistoryDisplayArea*/
|
|
@@ -4666,14 +4645,14 @@ function bo(e) {
|
|
|
4666
4645
|
v[8]
|
|
4667
4646
|
), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
|
|
4668
4647
|
650) {
|
|
4669
|
-
y =
|
|
4648
|
+
y = gt(
|
|
4670
4649
|
/*lazyShowedHistoryArray*/
|
|
4671
4650
|
v[7]
|
|
4672
4651
|
);
|
|
4673
4652
|
let g;
|
|
4674
4653
|
for (g = 0; g < y.length; g += 1) {
|
|
4675
|
-
const
|
|
4676
|
-
d[g] ? d[g].p(
|
|
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));
|
|
4677
4656
|
}
|
|
4678
4657
|
for (; g < d.length; g += 1)
|
|
4679
4658
|
d[g].d(1);
|
|
@@ -4688,14 +4667,14 @@ function bo(e) {
|
|
|
4688
4667
|
);
|
|
4689
4668
|
},
|
|
4690
4669
|
d(v) {
|
|
4691
|
-
v && k(t),
|
|
4670
|
+
v && k(t), kr(d, v), f = !1, p();
|
|
4692
4671
|
}
|
|
4693
4672
|
};
|
|
4694
4673
|
}
|
|
4695
|
-
function
|
|
4696
|
-
return { c:
|
|
4674
|
+
function go(e) {
|
|
4675
|
+
return { c: B, m: B, p: B, d: B };
|
|
4697
4676
|
}
|
|
4698
|
-
function
|
|
4677
|
+
function bo(e) {
|
|
4699
4678
|
let t, r = (
|
|
4700
4679
|
/*lang*/
|
|
4701
4680
|
(e[0] ? (
|
|
@@ -4705,10 +4684,10 @@ function _o(e) {
|
|
|
4705
4684
|
), i;
|
|
4706
4685
|
return {
|
|
4707
4686
|
c() {
|
|
4708
|
-
t = P("p"), i =
|
|
4687
|
+
t = P("p"), i = R(r), x(t, "class", "svelte-19ml84y");
|
|
4709
4688
|
},
|
|
4710
4689
|
m(n, o) {
|
|
4711
|
-
X(n, t, o),
|
|
4690
|
+
X(n, t, o), T(t, i);
|
|
4712
4691
|
},
|
|
4713
4692
|
p(n, o) {
|
|
4714
4693
|
o[0] & /*lang, $_*/
|
|
@@ -4723,7 +4702,7 @@ function _o(e) {
|
|
|
4723
4702
|
}
|
|
4724
4703
|
};
|
|
4725
4704
|
}
|
|
4726
|
-
function
|
|
4705
|
+
function vo(e) {
|
|
4727
4706
|
let t, r, i, n = (
|
|
4728
4707
|
/*history*/
|
|
4729
4708
|
e[37].type + ""
|
|
@@ -4736,10 +4715,10 @@ function Eo(e) {
|
|
|
4736
4715
|
), c;
|
|
4737
4716
|
return {
|
|
4738
4717
|
c() {
|
|
4739
|
-
t = P("div"), r = P("span"), i = P("span"), o =
|
|
4718
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4740
4719
|
},
|
|
4741
4720
|
m(f, p) {
|
|
4742
|
-
X(f, t, p),
|
|
4721
|
+
X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
|
|
4743
4722
|
},
|
|
4744
4723
|
p(f, p) {
|
|
4745
4724
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4755,7 +4734,7 @@ function Eo(e) {
|
|
|
4755
4734
|
}
|
|
4756
4735
|
};
|
|
4757
4736
|
}
|
|
4758
|
-
function
|
|
4737
|
+
function _o(e) {
|
|
4759
4738
|
let t, r, i, n = (
|
|
4760
4739
|
/*history*/
|
|
4761
4740
|
e[37].type + ""
|
|
@@ -4768,10 +4747,10 @@ function xo(e) {
|
|
|
4768
4747
|
), c;
|
|
4769
4748
|
return {
|
|
4770
4749
|
c() {
|
|
4771
|
-
t = P("div"), r = P("span"), i = P("span"), o =
|
|
4750
|
+
t = P("div"), r = P("span"), i = P("span"), o = R(n), a = P("span"), h = R(s), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
|
|
4772
4751
|
},
|
|
4773
4752
|
m(f, p) {
|
|
4774
|
-
X(f, t, p),
|
|
4753
|
+
X(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
|
|
4775
4754
|
},
|
|
4776
4755
|
p(f, p) {
|
|
4777
4756
|
p[0] & /*lazyShowedHistoryArray*/
|
|
@@ -4787,7 +4766,7 @@ function xo(e) {
|
|
|
4787
4766
|
}
|
|
4788
4767
|
};
|
|
4789
4768
|
}
|
|
4790
|
-
function
|
|
4769
|
+
function Gt(e) {
|
|
4791
4770
|
let t, r, i, n = (
|
|
4792
4771
|
/*index*/
|
|
4793
4772
|
e[39]
|
|
@@ -4795,7 +4774,7 @@ function jt(e) {
|
|
|
4795
4774
|
function o(l, c) {
|
|
4796
4775
|
return (
|
|
4797
4776
|
/*history*/
|
|
4798
|
-
l[37].removed ?
|
|
4777
|
+
l[37].removed ? _o : vo
|
|
4799
4778
|
);
|
|
4800
4779
|
}
|
|
4801
4780
|
let a = o(e), s = a(e);
|
|
@@ -4808,22 +4787,22 @@ function jt(e) {
|
|
|
4808
4787
|
);
|
|
4809
4788
|
return {
|
|
4810
4789
|
c() {
|
|
4811
|
-
t = P("div"), s.c(), r =
|
|
4790
|
+
t = P("div"), s.c(), r = Xe(), x(t, "class", i = dt(
|
|
4812
4791
|
/*index*/
|
|
4813
4792
|
e[39] > +/*numberofentries*/
|
|
4814
4793
|
e[1] ? "LimitContainer" : ""
|
|
4815
4794
|
) + " svelte-19ml84y");
|
|
4816
4795
|
},
|
|
4817
4796
|
m(l, c) {
|
|
4818
|
-
X(l, t, c), s.m(t, null),
|
|
4797
|
+
X(l, t, c), s.m(t, null), T(t, r), h();
|
|
4819
4798
|
},
|
|
4820
4799
|
p(l, c) {
|
|
4821
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*/
|
|
4822
|
-
2 && i !== (i =
|
|
4801
|
+
2 && i !== (i = dt(
|
|
4823
4802
|
/*index*/
|
|
4824
4803
|
e[39] > +/*numberofentries*/
|
|
4825
4804
|
e[1] ? "LimitContainer" : ""
|
|
4826
|
-
) + " svelte-19ml84y") &&
|
|
4805
|
+
) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
|
|
4827
4806
|
e[39] && (u(), n = /*index*/
|
|
4828
4807
|
e[39], h());
|
|
4829
4808
|
},
|
|
@@ -4832,21 +4811,21 @@ function jt(e) {
|
|
|
4832
4811
|
}
|
|
4833
4812
|
};
|
|
4834
4813
|
}
|
|
4835
|
-
function
|
|
4814
|
+
function Eo(e) {
|
|
4836
4815
|
let t;
|
|
4837
4816
|
function r(o, a) {
|
|
4838
4817
|
return (
|
|
4839
4818
|
/*hasErrors*/
|
|
4840
|
-
o[6] ?
|
|
4819
|
+
o[6] ? bo : (
|
|
4841
4820
|
/*isLoading*/
|
|
4842
|
-
o[4] ?
|
|
4821
|
+
o[4] ? go : yo
|
|
4843
4822
|
)
|
|
4844
4823
|
);
|
|
4845
4824
|
}
|
|
4846
4825
|
let i = r(e), n = i(e);
|
|
4847
4826
|
return {
|
|
4848
4827
|
c() {
|
|
4849
|
-
t = P("div"), n.c(),
|
|
4828
|
+
t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
|
|
4850
4829
|
},
|
|
4851
4830
|
m(o, a) {
|
|
4852
4831
|
X(o, t, a), n.m(t, null), e[23](t);
|
|
@@ -4854,52 +4833,52 @@ function To(e) {
|
|
|
4854
4833
|
p(o, a) {
|
|
4855
4834
|
i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
|
|
4856
4835
|
},
|
|
4857
|
-
i:
|
|
4858
|
-
o:
|
|
4836
|
+
i: B,
|
|
4837
|
+
o: B,
|
|
4859
4838
|
d(o) {
|
|
4860
4839
|
o && k(t), n.d(), e[23](null);
|
|
4861
4840
|
}
|
|
4862
4841
|
};
|
|
4863
4842
|
}
|
|
4864
|
-
function
|
|
4843
|
+
function xo(e, t, r) {
|
|
4865
4844
|
let i;
|
|
4866
|
-
|
|
4867
|
-
let n = window.navigator.userAgent, o = !
|
|
4868
|
-
const
|
|
4869
|
-
fetch(H).then((
|
|
4870
|
-
Object.keys(
|
|
4871
|
-
|
|
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 = () => {
|
|
4848
|
+
fetch(H).then((L) => L.json()).then((L) => {
|
|
4849
|
+
Object.keys(L).forEach((C) => {
|
|
4850
|
+
Ut(C, L[C]);
|
|
4872
4851
|
});
|
|
4873
|
-
}).catch((
|
|
4874
|
-
console.log(
|
|
4852
|
+
}).catch((L) => {
|
|
4853
|
+
console.log(L);
|
|
4875
4854
|
});
|
|
4876
4855
|
};
|
|
4877
|
-
Object.keys(
|
|
4878
|
-
|
|
4856
|
+
Object.keys(We).forEach((m) => {
|
|
4857
|
+
Ut(m, We[m]);
|
|
4879
4858
|
});
|
|
4880
|
-
const
|
|
4881
|
-
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`,
|
|
4882
|
-
|
|
4859
|
+
const Sr = () => {
|
|
4860
|
+
let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
|
|
4861
|
+
L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
|
|
4883
4862
|
let C = {
|
|
4884
4863
|
method: "GET",
|
|
4885
4864
|
headers: { "X-SessionID": h }
|
|
4886
4865
|
};
|
|
4887
|
-
fetch(
|
|
4866
|
+
fetch(L.href, C).then((A) => {
|
|
4888
4867
|
if (A.status >= 300)
|
|
4889
|
-
throw r(4,
|
|
4868
|
+
throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
|
|
4890
4869
|
return A.json();
|
|
4891
4870
|
}).then(
|
|
4892
4871
|
(A) => {
|
|
4893
|
-
A.length && (V =
|
|
4872
|
+
A.length && (V = wr(A), r(7, pe = V.slice(0, M))), r(4, D = !1);
|
|
4894
4873
|
},
|
|
4895
4874
|
(A) => {
|
|
4896
4875
|
console.error("There was an error", A), r(6, N = !0);
|
|
4897
4876
|
}
|
|
4898
4877
|
);
|
|
4899
|
-
},
|
|
4900
|
-
const
|
|
4878
|
+
}, wr = (m) => {
|
|
4879
|
+
const L = !!We[a];
|
|
4901
4880
|
return m.map((A) => {
|
|
4902
|
-
let
|
|
4881
|
+
let U = {
|
|
4903
4882
|
amount: "",
|
|
4904
4883
|
currency: "",
|
|
4905
4884
|
date: "",
|
|
@@ -4907,53 +4886,53 @@ function Lo(e, t, r) {
|
|
|
4907
4886
|
type: "",
|
|
4908
4887
|
removed: !1
|
|
4909
4888
|
};
|
|
4910
|
-
return
|
|
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;
|
|
4911
4890
|
});
|
|
4912
|
-
},
|
|
4913
|
-
let
|
|
4891
|
+
}, Ar = (m) => {
|
|
4892
|
+
let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
|
|
4914
4893
|
if (!p) {
|
|
4915
|
-
let
|
|
4916
|
-
return `${
|
|
4894
|
+
let Mr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
|
|
4895
|
+
return `${L}${Mr}`;
|
|
4917
4896
|
}
|
|
4918
4897
|
typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
|
|
4919
|
-
const C =
|
|
4898
|
+
const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
|
|
4920
4899
|
let ye = parseFloat(m.limitAmount).toFixed(A);
|
|
4921
|
-
const [
|
|
4922
|
-
let [
|
|
4923
|
-
return
|
|
4924
|
-
|
|
4925
|
-
ye.split(
|
|
4926
|
-
),
|
|
4927
|
-
},
|
|
4928
|
-
r(5, de = !de), r(8,
|
|
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(
|
|
4903
|
+
U,
|
|
4904
|
+
ye.split(Ne)[1]
|
|
4905
|
+
), L;
|
|
4906
|
+
}, Pr = () => {
|
|
4907
|
+
r(5, de = !de), r(8, Ce = !Ce);
|
|
4929
4908
|
};
|
|
4930
|
-
let
|
|
4931
|
-
m.forEach((
|
|
4932
|
-
|
|
4909
|
+
let mt = new IntersectionObserver((m) => {
|
|
4910
|
+
m.forEach((L) => {
|
|
4911
|
+
L.isIntersecting && (M += parseInt(c, 10) || 10, pe.length < V.length && r(7, pe = V.slice(0, M)));
|
|
4933
4912
|
});
|
|
4934
4913
|
});
|
|
4935
|
-
const
|
|
4936
|
-
|
|
4914
|
+
const Hr = () => {
|
|
4915
|
+
mt.observe(w[w.length - 1]);
|
|
4937
4916
|
}, Ir = () => {
|
|
4938
4917
|
if (!f)
|
|
4939
4918
|
return;
|
|
4940
4919
|
let m = {};
|
|
4941
|
-
f.split(",").forEach((
|
|
4942
|
-
let C =
|
|
4920
|
+
f.split(",").forEach((L) => {
|
|
4921
|
+
let C = L.split(":");
|
|
4943
4922
|
m[C[0].trim()] = C[1].trim();
|
|
4944
|
-
}),
|
|
4923
|
+
}), ae = { ...ae, ...m };
|
|
4945
4924
|
}, Br = () => {
|
|
4946
|
-
|
|
4925
|
+
mo(a);
|
|
4947
4926
|
};
|
|
4948
|
-
|
|
4949
|
-
|
|
4927
|
+
Zr(() => () => {
|
|
4928
|
+
mt.unobserve(w[w.length - 1]);
|
|
4950
4929
|
});
|
|
4951
|
-
function
|
|
4930
|
+
function Or(m, L) {
|
|
4952
4931
|
Se[m ? "unshift" : "push"](() => {
|
|
4953
|
-
|
|
4932
|
+
w[L] = m, r(3, w);
|
|
4954
4933
|
});
|
|
4955
4934
|
}
|
|
4956
|
-
function
|
|
4935
|
+
function Cr(m) {
|
|
4957
4936
|
Se[m ? "unshift" : "push"](() => {
|
|
4958
4937
|
g = m, r(2, g);
|
|
4959
4938
|
});
|
|
@@ -4963,26 +4942,26 @@ function Lo(e, t, r) {
|
|
|
4963
4942
|
}, e.$$.update = () => {
|
|
4964
4943
|
e.$$.dirty[0] & /*customcurrencysymbols*/
|
|
4965
4944
|
65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
|
|
4966
|
-
61440 && u && s && h && l &&
|
|
4967
|
-
56 &&
|
|
4945
|
+
61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
|
|
4946
|
+
56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
|
|
4968
4947
|
1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4969
|
-
262148 && y && g &&
|
|
4970
|
-
524292 && d && g &&
|
|
4971
|
-
1048580 && v && g &&
|
|
4972
|
-
2097156 && H && g &&
|
|
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();
|
|
4973
4952
|
}, [
|
|
4974
4953
|
a,
|
|
4975
4954
|
c,
|
|
4976
4955
|
g,
|
|
4977
|
-
|
|
4978
|
-
|
|
4956
|
+
w,
|
|
4957
|
+
D,
|
|
4979
4958
|
de,
|
|
4980
4959
|
N,
|
|
4981
4960
|
pe,
|
|
4982
|
-
|
|
4961
|
+
Ce,
|
|
4983
4962
|
i,
|
|
4984
4963
|
o,
|
|
4985
|
-
|
|
4964
|
+
Pr,
|
|
4986
4965
|
s,
|
|
4987
4966
|
h,
|
|
4988
4967
|
u,
|
|
@@ -4993,18 +4972,18 @@ function Lo(e, t, r) {
|
|
|
4993
4972
|
d,
|
|
4994
4973
|
v,
|
|
4995
4974
|
H,
|
|
4996
|
-
|
|
4997
|
-
|
|
4975
|
+
Or,
|
|
4976
|
+
Cr
|
|
4998
4977
|
];
|
|
4999
4978
|
}
|
|
5000
|
-
class
|
|
4979
|
+
class Tr extends oi {
|
|
5001
4980
|
constructor(t) {
|
|
5002
|
-
super(),
|
|
4981
|
+
super(), ii(
|
|
5003
4982
|
this,
|
|
5004
4983
|
t,
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
4984
|
+
xo,
|
|
4985
|
+
Eo,
|
|
4986
|
+
jt,
|
|
5008
4987
|
{
|
|
5009
4988
|
lang: 0,
|
|
5010
4989
|
userid: 12,
|
|
@@ -5019,7 +4998,7 @@ class Lr extends si {
|
|
|
5019
4998
|
mbsource: 20,
|
|
5020
4999
|
translationurl: 21
|
|
5021
5000
|
},
|
|
5022
|
-
|
|
5001
|
+
po,
|
|
5023
5002
|
[-1, -1]
|
|
5024
5003
|
);
|
|
5025
5004
|
}
|
|
@@ -5027,127 +5006,127 @@ class Lr extends si {
|
|
|
5027
5006
|
return this.$$.ctx[0];
|
|
5028
5007
|
}
|
|
5029
5008
|
set lang(t) {
|
|
5030
|
-
this.$$set({ lang: t }),
|
|
5009
|
+
this.$$set({ lang: t }), O();
|
|
5031
5010
|
}
|
|
5032
5011
|
get userid() {
|
|
5033
5012
|
return this.$$.ctx[12];
|
|
5034
5013
|
}
|
|
5035
5014
|
set userid(t) {
|
|
5036
|
-
this.$$set({ userid: t }),
|
|
5015
|
+
this.$$set({ userid: t }), O();
|
|
5037
5016
|
}
|
|
5038
5017
|
get session() {
|
|
5039
5018
|
return this.$$.ctx[13];
|
|
5040
5019
|
}
|
|
5041
5020
|
set session(t) {
|
|
5042
|
-
this.$$set({ session: t }),
|
|
5021
|
+
this.$$set({ session: t }), O();
|
|
5043
5022
|
}
|
|
5044
5023
|
get endpoint() {
|
|
5045
5024
|
return this.$$.ctx[14];
|
|
5046
5025
|
}
|
|
5047
5026
|
set endpoint(t) {
|
|
5048
|
-
this.$$set({ endpoint: t }),
|
|
5027
|
+
this.$$set({ endpoint: t }), O();
|
|
5049
5028
|
}
|
|
5050
5029
|
get apiversion() {
|
|
5051
5030
|
return this.$$.ctx[15];
|
|
5052
5031
|
}
|
|
5053
5032
|
set apiversion(t) {
|
|
5054
|
-
this.$$set({ apiversion: t }),
|
|
5033
|
+
this.$$set({ apiversion: t }), O();
|
|
5055
5034
|
}
|
|
5056
5035
|
get numberofentries() {
|
|
5057
5036
|
return this.$$.ctx[1];
|
|
5058
5037
|
}
|
|
5059
5038
|
set numberofentries(t) {
|
|
5060
|
-
this.$$set({ numberofentries: t }),
|
|
5039
|
+
this.$$set({ numberofentries: t }), O();
|
|
5061
5040
|
}
|
|
5062
5041
|
get customcurrencysymbols() {
|
|
5063
5042
|
return this.$$.ctx[16];
|
|
5064
5043
|
}
|
|
5065
5044
|
set customcurrencysymbols(t) {
|
|
5066
|
-
this.$$set({ customcurrencysymbols: t }),
|
|
5045
|
+
this.$$set({ customcurrencysymbols: t }), O();
|
|
5067
5046
|
}
|
|
5068
5047
|
get limitformat() {
|
|
5069
5048
|
return this.$$.ctx[17];
|
|
5070
5049
|
}
|
|
5071
5050
|
set limitformat(t) {
|
|
5072
|
-
this.$$set({ limitformat: t }),
|
|
5051
|
+
this.$$set({ limitformat: t }), O();
|
|
5073
5052
|
}
|
|
5074
5053
|
get clientstyling() {
|
|
5075
5054
|
return this.$$.ctx[18];
|
|
5076
5055
|
}
|
|
5077
5056
|
set clientstyling(t) {
|
|
5078
|
-
this.$$set({ clientstyling: t }),
|
|
5057
|
+
this.$$set({ clientstyling: t }), O();
|
|
5079
5058
|
}
|
|
5080
5059
|
get clientstylingurl() {
|
|
5081
5060
|
return this.$$.ctx[19];
|
|
5082
5061
|
}
|
|
5083
5062
|
set clientstylingurl(t) {
|
|
5084
|
-
this.$$set({ clientstylingurl: t }),
|
|
5063
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
5085
5064
|
}
|
|
5086
5065
|
get mbsource() {
|
|
5087
5066
|
return this.$$.ctx[20];
|
|
5088
5067
|
}
|
|
5089
5068
|
set mbsource(t) {
|
|
5090
|
-
this.$$set({ mbsource: t }),
|
|
5069
|
+
this.$$set({ mbsource: t }), O();
|
|
5091
5070
|
}
|
|
5092
5071
|
get translationurl() {
|
|
5093
5072
|
return this.$$.ctx[21];
|
|
5094
5073
|
}
|
|
5095
5074
|
set translationurl(t) {
|
|
5096
|
-
this.$$set({ translationurl: t }),
|
|
5075
|
+
this.$$set({ translationurl: t }), O();
|
|
5097
5076
|
}
|
|
5098
5077
|
}
|
|
5099
|
-
|
|
5100
|
-
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({
|
|
5101
5080
|
__proto__: null,
|
|
5102
|
-
default:
|
|
5081
|
+
default: Tr
|
|
5103
5082
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5104
5083
|
export {
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5084
|
+
oe as $,
|
|
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,
|
|
5094
|
+
Mo as J,
|
|
5095
|
+
Ro as K,
|
|
5096
|
+
Kr as L,
|
|
5097
|
+
Do as M,
|
|
5098
|
+
No as N,
|
|
5099
|
+
Po as O,
|
|
5100
|
+
To as P,
|
|
5101
|
+
So as Q,
|
|
5102
|
+
wo as R,
|
|
5103
|
+
oi as S,
|
|
5104
|
+
Lo as T,
|
|
5105
|
+
Uo as U,
|
|
5106
|
+
br as a,
|
|
5107
|
+
Gr as b,
|
|
5108
|
+
ni as c,
|
|
5109
|
+
Xe as d,
|
|
5110
|
+
P as e,
|
|
5111
|
+
O as f,
|
|
5112
|
+
X as g,
|
|
5113
|
+
T as h,
|
|
5114
|
+
ii as i,
|
|
5115
|
+
k as j,
|
|
5116
|
+
$r as k,
|
|
5117
|
+
lo as l,
|
|
5118
|
+
co as m,
|
|
5119
|
+
B as n,
|
|
5120
|
+
Zr as o,
|
|
5121
|
+
fo as p,
|
|
5122
|
+
x as q,
|
|
5123
|
+
Co as r,
|
|
5124
|
+
jt as s,
|
|
5125
|
+
Ho as t,
|
|
5126
|
+
Se as u,
|
|
5127
|
+
ho as v,
|
|
5128
|
+
R as w,
|
|
5129
|
+
Ao as x,
|
|
5130
|
+
Vr as y,
|
|
5131
|
+
j as z
|
|
5153
5132
|
};
|