@everymatrix/player-account-gaming-limits 1.59.0 → 1.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimits-r3cpbvJA.js → PlayerAccountGamingLimits-Bh8EwTof.js} +759 -737
- package/components/PlayerAccountGamingLimits-BqLq1i9W.cjs +21 -0
- package/components/{PlayerAccountGamingLimits-CObExMkX.js → PlayerAccountGamingLimits-DJwAgxDZ.js} +762 -740
- package/components/{PlayerAccountGamingLimitsConfirmationModal-C_n8aKaH.js → PlayerAccountGamingLimitsConfirmationModal-BrK3ih8-.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-VrxUCLgj.cjs → PlayerAccountGamingLimitsConfirmationModal-De0veplf.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BWGgh8YV.js → PlayerAccountGamingLimitsConfirmationModal-qi--p4xc.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-BGOCu5tY.js → PlayerAccountGamingLimitsGroupEdit-BCV5tBEw.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dw4oTIPc.js → PlayerAccountGamingLimitsGroupEdit-BYPsU6nW.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DYaPufHQ.cjs → PlayerAccountGamingLimitsGroupEdit-e9wAbpW0.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsInfoCard-GSUPR8rP.js → PlayerAccountGamingLimitsInfoCard-BI5cYNPR.js} +89 -89
- package/components/{PlayerAccountGamingLimitsInfoCard-CrZKpqCj.js → PlayerAccountGamingLimitsInfoCard-DysHm-__.js} +93 -93
- package/components/{PlayerAccountGamingLimitsInfoCard-DpgkRers.cjs → PlayerAccountGamingLimitsInfoCard-egs2fLrJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DKnPPbEd.js → PlayerAccountGamingLimitsPopup-DMlc8Rv5.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-Bymhiq2d.js → PlayerAccountGamingLimitsPopup-Dsx9c_g0.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-MW02UVRj.cjs → PlayerAccountGamingLimitsPopup-JB8pfr3Q.cjs} +1 -1
- package/components/{PlayerAccountModal-BDL1uzVv.cjs → PlayerAccountModal-BNs_9Jv-.cjs} +1 -1
- package/components/{PlayerAccountModal-ChAUXqU3.js → PlayerAccountModal-BXcsEMAW.js} +33 -33
- package/components/{PlayerAccountModal-rlVGArhk.js → PlayerAccountModal-vqu1EmXb.js} +33 -33
- package/es2015/player-account-gaming-limits.cjs +1 -1
- package/es2015/player-account-gaming-limits.js +1 -1
- package/esnext/player-account-gaming-limits.js +1 -1
- package/package.json +3 -2
- package/components/PlayerAccountGamingLimits-B3pD6GJ8.cjs +0 -21
package/components/{PlayerAccountGamingLimits-r3cpbvJA.js → PlayerAccountGamingLimits-Bh8EwTof.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function
|
|
1
|
+
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Ar = (e) => e;
|
|
4
|
+
function Pr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,46 +9,46 @@ function Lr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Gt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function mt() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function F(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Gt);
|
|
20
20
|
}
|
|
21
21
|
function Se(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Ut(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Br(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function $t(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const i of t)
|
|
33
33
|
i(void 0);
|
|
34
|
-
return
|
|
34
|
+
return M;
|
|
35
35
|
}
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.$$.on_destroy.push(
|
|
39
|
+
function Or(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push($t(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Ts(e, t, r, i) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const n =
|
|
44
|
+
const n = Ft(e, t, r, i);
|
|
45
45
|
return e[0](n);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && i ?
|
|
48
|
+
function Ft(e, t, r, i) {
|
|
49
|
+
return e[1] && i ? Pr(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Ss(e, t, r, i) {
|
|
52
52
|
if (e[2] && i) {
|
|
53
53
|
const n = e[2](i(r));
|
|
54
54
|
if (t.dirty === void 0)
|
|
@@ -63,13 +63,13 @@ function xs(e, t, r, i) {
|
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Hs(e, t, r, i, n, s) {
|
|
67
67
|
if (n) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = Ft(t, r, i, s);
|
|
69
69
|
e.p(a, n);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function As(e) {
|
|
73
73
|
if (e.ctx.length > 32) {
|
|
74
74
|
const t = [], r = e.ctx.length / 32;
|
|
75
75
|
for (let i = 0; i < r; i++)
|
|
@@ -78,36 +78,36 @@ function Ls(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
83
|
-
const
|
|
84
|
-
function
|
|
85
|
-
|
|
86
|
-
t.c(e) || (
|
|
87
|
-
}),
|
|
81
|
+
const jt = typeof window < "u";
|
|
82
|
+
let Mr = jt ? () => window.performance.now() : () => Date.now(), nt = jt ? (e) => requestAnimationFrame(e) : M;
|
|
83
|
+
const Z = /* @__PURE__ */ new Set();
|
|
84
|
+
function kt(e) {
|
|
85
|
+
Z.forEach((t) => {
|
|
86
|
+
t.c(e) || (Z.delete(t), t.f());
|
|
87
|
+
}), Z.size !== 0 && nt(kt);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ir(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return
|
|
91
|
+
return Z.size === 0 && nt(kt), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
|
-
|
|
93
|
+
Z.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
95
95
|
abort() {
|
|
96
|
-
|
|
96
|
+
Z.delete(t);
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
function L(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const i =
|
|
103
|
+
function Cr(e, t, r) {
|
|
104
|
+
const i = st(e);
|
|
105
105
|
if (!i.getElementById(t)) {
|
|
106
|
-
const n =
|
|
107
|
-
n.id = t, n.textContent = r,
|
|
106
|
+
const n = B("style");
|
|
107
|
+
n.id = t, n.textContent = r, Vt(i, n);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function st(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,46 +117,46 @@ function it(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
121
|
-
const t =
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
120
|
+
function Nr(e) {
|
|
121
|
+
const t = B("style");
|
|
122
|
+
return t.textContent = "/* empty */", Vt(st(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Vt(e, t) {
|
|
125
125
|
return L(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function te(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
134
|
function $(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Ps(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function B(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function k(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
147
|
function le(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function W() {
|
|
151
151
|
return le(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Bs() {
|
|
154
154
|
return le("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Rr(e, t, r, i) {
|
|
157
157
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Os(e) {
|
|
160
160
|
return function(t) {
|
|
161
161
|
return t.preventDefault(), e.call(this, t);
|
|
162
162
|
};
|
|
@@ -168,20 +168,20 @@ function m(e, t, r) {
|
|
|
168
168
|
const i = t.toLowerCase();
|
|
169
169
|
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ms(e) {
|
|
172
172
|
return e === "" ? null : +e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Dr(e) {
|
|
175
175
|
return Array.from(e.childNodes);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Xt(e, t) {
|
|
178
178
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
179
179
|
t);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Is(e, t) {
|
|
182
182
|
e.value = t ?? "";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Cs(e, t, r) {
|
|
185
185
|
for (let i = 0; i < e.options.length; i += 1) {
|
|
186
186
|
const n = e.options[i];
|
|
187
187
|
if (n.__value === t) {
|
|
@@ -191,14 +191,14 @@ function Bs(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ns(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Gr(e, t, { bubbles: r = !1, cancelable: i = !1 } = {}) {
|
|
199
199
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: i });
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Ur(e) {
|
|
202
202
|
const t = {};
|
|
203
203
|
return e.childNodes.forEach(
|
|
204
204
|
/** @param {Element} node */
|
|
@@ -209,17 +209,17 @@ function Nr(e) {
|
|
|
209
209
|
}
|
|
210
210
|
const Ee = /* @__PURE__ */ new Map();
|
|
211
211
|
let xe = 0;
|
|
212
|
-
function
|
|
212
|
+
function $r(e) {
|
|
213
213
|
let t = 5381, r = e.length;
|
|
214
214
|
for (; r--; )
|
|
215
215
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
216
216
|
return t >>> 0;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
const r = { stylesheet:
|
|
218
|
+
function Fr(e, t) {
|
|
219
|
+
const r = { stylesheet: Nr(t), rules: {} };
|
|
220
220
|
return Ee.set(e, r), r;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function pt(e, t, r, i, n, s, a, o = 0) {
|
|
223
223
|
const u = 16.666 / i;
|
|
224
224
|
let h = `{
|
|
225
225
|
`;
|
|
@@ -229,20 +229,20 @@ function ht(e, t, r, i, n, s, a, o = 0) {
|
|
|
229
229
|
`;
|
|
230
230
|
}
|
|
231
231
|
const l = h + `100% {${a(r, 1 - r)}}
|
|
232
|
-
}`, f = `__svelte_${
|
|
232
|
+
}`, f = `__svelte_${$r(l)}_${o}`, c = st(e), { stylesheet: b, rules: p } = Ee.get(c) || Fr(c, e);
|
|
233
233
|
p[f] || (p[f] = !0, b.insertRule(`@keyframes ${f} ${l}`, b.cssRules.length));
|
|
234
234
|
const g = e.style.animation || "";
|
|
235
235
|
return e.style.animation = `${g ? `${g}, ` : ""}${f} ${i}ms linear ${n}ms 1 both`, xe += 1, f;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function jr(e, t) {
|
|
238
238
|
const r = (e.style.animation || "").split(", "), i = r.filter(
|
|
239
239
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
240
240
|
// remove all Svelte animations
|
|
241
241
|
), n = r.length - i.length;
|
|
242
|
-
n && (e.style.animation = i.join(", "), xe -= n, xe ||
|
|
242
|
+
n && (e.style.animation = i.join(", "), xe -= n, xe || kr());
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
244
|
+
function kr() {
|
|
245
|
+
nt(() => {
|
|
246
246
|
xe || (Ee.forEach((e) => {
|
|
247
247
|
const { ownerNode: t } = e.stylesheet;
|
|
248
248
|
t && $(t);
|
|
@@ -253,102 +253,102 @@ let he;
|
|
|
253
253
|
function ue(e) {
|
|
254
254
|
he = e;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Vr() {
|
|
257
257
|
if (!he)
|
|
258
258
|
throw new Error("Function called outside component initialization");
|
|
259
259
|
return he;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
261
|
+
function Xr(e) {
|
|
262
|
+
Vr().$$.on_mount.push(e);
|
|
263
263
|
}
|
|
264
|
-
const
|
|
265
|
-
let
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
function
|
|
269
|
-
|
|
264
|
+
const z = [], ke = [];
|
|
265
|
+
let Q = [];
|
|
266
|
+
const dt = [], Wr = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let Ve = !1;
|
|
268
|
+
function zr() {
|
|
269
|
+
Ve || (Ve = !0, Wr.then(A));
|
|
270
270
|
}
|
|
271
271
|
function we(e) {
|
|
272
|
-
|
|
272
|
+
Q.push(e);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
275
|
-
let
|
|
276
|
-
function
|
|
277
|
-
if (
|
|
274
|
+
const Ce = /* @__PURE__ */ new Set();
|
|
275
|
+
let V = 0;
|
|
276
|
+
function A() {
|
|
277
|
+
if (V !== 0)
|
|
278
278
|
return;
|
|
279
279
|
const e = he;
|
|
280
280
|
do {
|
|
281
281
|
try {
|
|
282
|
-
for (;
|
|
283
|
-
const t =
|
|
284
|
-
|
|
282
|
+
for (; V < z.length; ) {
|
|
283
|
+
const t = z[V];
|
|
284
|
+
V++, ue(t), Zr(t.$$);
|
|
285
285
|
}
|
|
286
286
|
} catch (t) {
|
|
287
|
-
throw
|
|
287
|
+
throw z.length = 0, V = 0, t;
|
|
288
288
|
}
|
|
289
|
-
for (ue(null),
|
|
290
|
-
|
|
291
|
-
for (let t = 0; t <
|
|
292
|
-
const r =
|
|
293
|
-
|
|
289
|
+
for (ue(null), z.length = 0, V = 0; ke.length; )
|
|
290
|
+
ke.pop()();
|
|
291
|
+
for (let t = 0; t < Q.length; t += 1) {
|
|
292
|
+
const r = Q[t];
|
|
293
|
+
Ce.has(r) || (Ce.add(r), r());
|
|
294
294
|
}
|
|
295
|
-
|
|
296
|
-
} while (
|
|
297
|
-
for (;
|
|
298
|
-
|
|
299
|
-
|
|
295
|
+
Q.length = 0;
|
|
296
|
+
} while (z.length);
|
|
297
|
+
for (; dt.length; )
|
|
298
|
+
dt.pop()();
|
|
299
|
+
Ve = !1, Ce.clear(), ue(e);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Zr(e) {
|
|
302
302
|
if (e.fragment !== null) {
|
|
303
303
|
e.update(), F(e.before_update);
|
|
304
304
|
const t = e.dirty;
|
|
305
305
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Qr(e) {
|
|
309
309
|
const t = [], r = [];
|
|
310
|
-
|
|
310
|
+
Q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Q = t;
|
|
311
311
|
}
|
|
312
312
|
let oe;
|
|
313
|
-
function
|
|
313
|
+
function Jr() {
|
|
314
314
|
return oe || (oe = Promise.resolve(), oe.then(() => {
|
|
315
315
|
oe = null;
|
|
316
316
|
})), oe;
|
|
317
317
|
}
|
|
318
318
|
function Ne(e, t, r) {
|
|
319
|
-
e.dispatchEvent(
|
|
319
|
+
e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
|
|
320
320
|
}
|
|
321
321
|
const ge = /* @__PURE__ */ new Set();
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
|
|
322
|
+
let N;
|
|
323
|
+
function Rs() {
|
|
324
|
+
N = {
|
|
325
325
|
r: 0,
|
|
326
326
|
c: [],
|
|
327
|
-
p:
|
|
327
|
+
p: N
|
|
328
328
|
// parent group
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function Ds() {
|
|
332
|
+
N.r || F(N.c), N = N.p;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function qr(e, t) {
|
|
335
335
|
e && e.i && (ge.delete(e), e.i(t));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Gs(e, t, r, i) {
|
|
338
338
|
if (e && e.o) {
|
|
339
339
|
if (ge.has(e))
|
|
340
340
|
return;
|
|
341
|
-
ge.add(e),
|
|
341
|
+
ge.add(e), N.c.push(() => {
|
|
342
342
|
ge.delete(e), i && (r && e.d(1), i());
|
|
343
343
|
}), e.o(t);
|
|
344
344
|
} else
|
|
345
345
|
i && i();
|
|
346
346
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
347
|
+
const Yr = { duration: 0 };
|
|
348
|
+
function Us(e, t, r, i) {
|
|
349
349
|
let s = t(e, r, { direction: "both" }), a = i ? 0 : 1, o = null, u = null, h = null, l;
|
|
350
350
|
function f() {
|
|
351
|
-
h &&
|
|
351
|
+
h && jr(e, h);
|
|
352
352
|
}
|
|
353
353
|
function c(p, g) {
|
|
354
354
|
const d = (
|
|
@@ -369,16 +369,16 @@ function Cs(e, t, r, i) {
|
|
|
369
369
|
const {
|
|
370
370
|
delay: g = 0,
|
|
371
371
|
duration: d = 300,
|
|
372
|
-
easing: v =
|
|
373
|
-
tick: T =
|
|
372
|
+
easing: v = Ar,
|
|
373
|
+
tick: T = M,
|
|
374
374
|
css: S
|
|
375
|
-
} = s ||
|
|
376
|
-
start:
|
|
375
|
+
} = s || Yr, I = {
|
|
376
|
+
start: Mr() + g,
|
|
377
377
|
b: p
|
|
378
378
|
};
|
|
379
|
-
p || (
|
|
380
|
-
e.inert, e.inert = !0)), o || u ? u =
|
|
381
|
-
if (u &&
|
|
379
|
+
p || (I.group = N, N.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
|
|
380
|
+
e.inert, e.inert = !0)), o || u ? u = I : (S && (f(), h = pt(e, a, p, d, g, v, S)), p && T(0, 1), o = c(I, d), we(() => Ne(e, p, "start")), Ir((O) => {
|
|
381
|
+
if (u && O > u.start && (o = c(u, d), u = null, Ne(e, o.b, "start"), S && (f(), h = pt(
|
|
382
382
|
e,
|
|
383
383
|
a,
|
|
384
384
|
o.b,
|
|
@@ -387,11 +387,11 @@ function Cs(e, t, r, i) {
|
|
|
387
387
|
v,
|
|
388
388
|
s.css
|
|
389
389
|
))), o) {
|
|
390
|
-
if (
|
|
390
|
+
if (O >= o.end)
|
|
391
391
|
T(a = o.b, 1 - a), Ne(e, o.b, "end"), u || (o.b ? f() : --o.group.r || F(o.group.c)), o = null;
|
|
392
|
-
else if (
|
|
393
|
-
const
|
|
394
|
-
a = o.a + o.d * v(
|
|
392
|
+
else if (O >= o.start) {
|
|
393
|
+
const C = O - o.start;
|
|
394
|
+
a = o.a + o.d * v(C / o.duration), T(a, 1 - a);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
return !!(o || u);
|
|
@@ -399,7 +399,7 @@ function Cs(e, t, r, i) {
|
|
|
399
399
|
}
|
|
400
400
|
return {
|
|
401
401
|
run(p) {
|
|
402
|
-
Se(s) ?
|
|
402
|
+
Se(s) ? Jr().then(() => {
|
|
403
403
|
s = s({ direction: p ? "in" : "out" }), b(p);
|
|
404
404
|
}) : b(p);
|
|
405
405
|
},
|
|
@@ -408,24 +408,24 @@ function Cs(e, t, r, i) {
|
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function $s(e) {
|
|
412
412
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Kr(e, t, r) {
|
|
415
415
|
const { fragment: i, after_update: n } = e.$$;
|
|
416
416
|
i && i.m(t, r), we(() => {
|
|
417
|
-
const s = e.$$.on_mount.map(
|
|
417
|
+
const s = e.$$.on_mount.map(Gt).filter(Se);
|
|
418
418
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : F(s), e.$$.on_mount = [];
|
|
419
419
|
}), n.forEach(we);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function ei(e, t) {
|
|
422
422
|
const r = e.$$;
|
|
423
|
-
r.fragment !== null && (
|
|
423
|
+
r.fragment !== null && (Qr(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
e.$$.dirty[0] === -1 && (
|
|
425
|
+
function ti(e, t) {
|
|
426
|
+
e.$$.dirty[0] === -1 && (z.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function ri(e, t, r, i, n, s, a = null, o = [-1]) {
|
|
429
429
|
const u = he;
|
|
430
430
|
ue(e);
|
|
431
431
|
const h = e.$$ = {
|
|
@@ -433,9 +433,9 @@ function qr(e, t, r, i, n, s, a = null, o = [-1]) {
|
|
|
433
433
|
ctx: [],
|
|
434
434
|
// state
|
|
435
435
|
props: s,
|
|
436
|
-
update:
|
|
436
|
+
update: M,
|
|
437
437
|
not_equal: n,
|
|
438
|
-
bound:
|
|
438
|
+
bound: mt(),
|
|
439
439
|
// lifecycle
|
|
440
440
|
on_mount: [],
|
|
441
441
|
on_destroy: [],
|
|
@@ -444,7 +444,7 @@ function qr(e, t, r, i, n, s, a = null, o = [-1]) {
|
|
|
444
444
|
after_update: [],
|
|
445
445
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
446
446
|
// everything else
|
|
447
|
-
callbacks:
|
|
447
|
+
callbacks: mt(),
|
|
448
448
|
dirty: o,
|
|
449
449
|
skip_bound: !1,
|
|
450
450
|
root: t.target || u.$$.root
|
|
@@ -453,19 +453,19 @@ function qr(e, t, r, i, n, s, a = null, o = [-1]) {
|
|
|
453
453
|
let l = !1;
|
|
454
454
|
if (h.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
|
|
455
455
|
const p = b.length ? b[0] : c;
|
|
456
|
-
return h.ctx && n(h.ctx[f], h.ctx[f] = p) && (!h.skip_bound && h.bound[f] && h.bound[f](p), l &&
|
|
456
|
+
return h.ctx && n(h.ctx[f], h.ctx[f] = p) && (!h.skip_bound && h.bound[f] && h.bound[f](p), l && ti(e, f)), c;
|
|
457
457
|
}) : [], h.update(), l = !0, F(h.before_update), h.fragment = i ? i(h.ctx) : !1, t.target) {
|
|
458
458
|
if (t.hydrate) {
|
|
459
|
-
const f =
|
|
459
|
+
const f = Dr(t.target);
|
|
460
460
|
h.fragment && h.fragment.l(f), f.forEach($);
|
|
461
461
|
} else
|
|
462
462
|
h.fragment && h.fragment.c();
|
|
463
|
-
t.intro &&
|
|
463
|
+
t.intro && qr(e.$$.fragment), Kr(e, t.target, t.anchor), A();
|
|
464
464
|
}
|
|
465
465
|
ue(u);
|
|
466
466
|
}
|
|
467
|
-
let
|
|
468
|
-
typeof HTMLElement == "function" && (
|
|
467
|
+
let Wt;
|
|
468
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
469
469
|
/** The Svelte component constructor */
|
|
470
470
|
$$ctor;
|
|
471
471
|
/** Slots */
|
|
@@ -507,14 +507,14 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
507
507
|
let s;
|
|
508
508
|
return {
|
|
509
509
|
c: function() {
|
|
510
|
-
s =
|
|
510
|
+
s = B("slot"), n !== "default" && H(s, "name", n);
|
|
511
511
|
},
|
|
512
512
|
/**
|
|
513
513
|
* @param {HTMLElement} target
|
|
514
514
|
* @param {HTMLElement} [anchor]
|
|
515
515
|
*/
|
|
516
516
|
m: function(u, h) {
|
|
517
|
-
|
|
517
|
+
te(u, s, h);
|
|
518
518
|
},
|
|
519
519
|
d: function(u) {
|
|
520
520
|
u && $(s);
|
|
@@ -524,7 +524,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
524
524
|
};
|
|
525
525
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
526
526
|
return;
|
|
527
|
-
const t = {}, r =
|
|
527
|
+
const t = {}, r = Ur(this);
|
|
528
528
|
for (const n of this.$$s)
|
|
529
529
|
n in r && (t[n] = [e(n)]);
|
|
530
530
|
for (const n of this.attributes) {
|
|
@@ -611,8 +611,8 @@ function be(e, t, r, i) {
|
|
|
611
611
|
return t;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
let a = class extends
|
|
614
|
+
function ii(e, t, r, i, n, s) {
|
|
615
|
+
let a = class extends Wt {
|
|
616
616
|
constructor() {
|
|
617
617
|
super(e, r, n), this.$$p_d = t;
|
|
618
618
|
}
|
|
@@ -640,7 +640,7 @@ function Yr(e, t, r, i, n, s) {
|
|
|
640
640
|
}), e.element = /** @type {any} */
|
|
641
641
|
a, a;
|
|
642
642
|
}
|
|
643
|
-
class
|
|
643
|
+
class ni {
|
|
644
644
|
/**
|
|
645
645
|
* ### PRIVATE API
|
|
646
646
|
*
|
|
@@ -659,7 +659,7 @@ class Kr {
|
|
|
659
659
|
$$set = void 0;
|
|
660
660
|
/** @returns {void} */
|
|
661
661
|
$destroy() {
|
|
662
|
-
|
|
662
|
+
ei(this, 1), this.$destroy = M;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -669,7 +669,7 @@ class Kr {
|
|
|
669
669
|
*/
|
|
670
670
|
$on(t, r) {
|
|
671
671
|
if (!Se(r))
|
|
672
|
-
return
|
|
672
|
+
return M;
|
|
673
673
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
674
674
|
return i.push(r), () => {
|
|
675
675
|
const n = i.indexOf(r);
|
|
@@ -681,11 +681,11 @@ class Kr {
|
|
|
681
681
|
* @returns {void}
|
|
682
682
|
*/
|
|
683
683
|
$set(t) {
|
|
684
|
-
this.$$set && !
|
|
684
|
+
this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
const
|
|
688
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
687
|
+
const si = "4";
|
|
688
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
|
|
689
689
|
/*! *****************************************************************************
|
|
690
690
|
Copyright (c) Microsoft Corporation.
|
|
691
691
|
|
|
@@ -700,18 +700,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
700
700
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
701
701
|
PERFORMANCE OF THIS SOFTWARE.
|
|
702
702
|
***************************************************************************** */
|
|
703
|
-
var
|
|
704
|
-
return
|
|
703
|
+
var Xe = function(e, t) {
|
|
704
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
705
705
|
r.__proto__ = i;
|
|
706
706
|
} || function(r, i) {
|
|
707
707
|
for (var n in i)
|
|
708
708
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
709
|
-
},
|
|
709
|
+
}, Xe(e, t);
|
|
710
710
|
};
|
|
711
711
|
function D(e, t) {
|
|
712
712
|
if (typeof t != "function" && t !== null)
|
|
713
713
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
714
|
-
|
|
714
|
+
Xe(e, t);
|
|
715
715
|
function r() {
|
|
716
716
|
this.constructor = e;
|
|
717
717
|
}
|
|
@@ -727,7 +727,7 @@ var x = function() {
|
|
|
727
727
|
return t;
|
|
728
728
|
}, x.apply(this, arguments);
|
|
729
729
|
};
|
|
730
|
-
function
|
|
730
|
+
function oi(e, t) {
|
|
731
731
|
var r = {};
|
|
732
732
|
for (var i in e)
|
|
733
733
|
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -736,7 +736,7 @@ function ti(e, t) {
|
|
|
736
736
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
737
737
|
return r;
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function We(e) {
|
|
740
740
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
741
741
|
if (r)
|
|
742
742
|
return r.call(e);
|
|
@@ -748,7 +748,7 @@ function Ve(e) {
|
|
|
748
748
|
};
|
|
749
749
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function ze(e, t) {
|
|
752
752
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
753
753
|
if (!r)
|
|
754
754
|
return e;
|
|
@@ -768,7 +768,7 @@ function Xe(e, t) {
|
|
|
768
768
|
}
|
|
769
769
|
return s;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function J(e, t, r) {
|
|
772
772
|
if (r || arguments.length === 2)
|
|
773
773
|
for (var i = 0, n = t.length, s; i < n; i++)
|
|
774
774
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
@@ -777,13 +777,13 @@ function q(e, t, r) {
|
|
|
777
777
|
function R(e) {
|
|
778
778
|
return typeof e == "function";
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function zt(e) {
|
|
781
781
|
var t = function(i) {
|
|
782
782
|
Error.call(i), i.stack = new Error().stack;
|
|
783
783
|
}, r = e(t);
|
|
784
784
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
785
785
|
}
|
|
786
|
-
var
|
|
786
|
+
var Re = zt(function(e) {
|
|
787
787
|
return function(r) {
|
|
788
788
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
789
789
|
` + r.map(function(i, n) {
|
|
@@ -792,7 +792,7 @@ var Ce = kt(function(e) {
|
|
|
792
792
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
793
793
|
};
|
|
794
794
|
});
|
|
795
|
-
function
|
|
795
|
+
function Ze(e, t) {
|
|
796
796
|
if (e) {
|
|
797
797
|
var r = e.indexOf(t);
|
|
798
798
|
0 <= r && e.splice(r, 1);
|
|
@@ -810,7 +810,7 @@ var He = function() {
|
|
|
810
810
|
if (a)
|
|
811
811
|
if (this._parentage = null, Array.isArray(a))
|
|
812
812
|
try {
|
|
813
|
-
for (var o =
|
|
813
|
+
for (var o = We(a), u = o.next(); !u.done; u = o.next()) {
|
|
814
814
|
var h = u.value;
|
|
815
815
|
h.remove(this);
|
|
816
816
|
}
|
|
@@ -831,18 +831,18 @@ var He = function() {
|
|
|
831
831
|
try {
|
|
832
832
|
l();
|
|
833
833
|
} catch (g) {
|
|
834
|
-
s = g instanceof
|
|
834
|
+
s = g instanceof Re ? g.errors : [g];
|
|
835
835
|
}
|
|
836
836
|
var f = this._finalizers;
|
|
837
837
|
if (f) {
|
|
838
838
|
this._finalizers = null;
|
|
839
839
|
try {
|
|
840
|
-
for (var c =
|
|
840
|
+
for (var c = We(f), b = c.next(); !b.done; b = c.next()) {
|
|
841
841
|
var p = b.value;
|
|
842
842
|
try {
|
|
843
|
-
|
|
843
|
+
gt(p);
|
|
844
844
|
} catch (g) {
|
|
845
|
-
s = s ?? [], g instanceof
|
|
845
|
+
s = s ?? [], g instanceof Re ? s = J(J([], ze(s)), ze(g.errors)) : s.push(g);
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
848
|
} catch (g) {
|
|
@@ -857,13 +857,13 @@ var He = function() {
|
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
859
|
if (s)
|
|
860
|
-
throw new
|
|
860
|
+
throw new Re(s);
|
|
861
861
|
}
|
|
862
862
|
}, e.prototype.add = function(t) {
|
|
863
863
|
var r;
|
|
864
864
|
if (t && t !== this)
|
|
865
865
|
if (this.closed)
|
|
866
|
-
|
|
866
|
+
gt(t);
|
|
867
867
|
else {
|
|
868
868
|
if (t instanceof e) {
|
|
869
869
|
if (t.closed || t._hasParent(this))
|
|
@@ -880,52 +880,56 @@ var He = function() {
|
|
|
880
880
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
881
881
|
}, e.prototype._removeParent = function(t) {
|
|
882
882
|
var r = this._parentage;
|
|
883
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
883
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
884
884
|
}, e.prototype.remove = function(t) {
|
|
885
885
|
var r = this._finalizers;
|
|
886
|
-
r &&
|
|
886
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
887
887
|
}, e.EMPTY = function() {
|
|
888
888
|
var t = new e();
|
|
889
889
|
return t.closed = !0, t;
|
|
890
890
|
}(), e;
|
|
891
|
-
}(),
|
|
892
|
-
function
|
|
891
|
+
}(), Zt = He.EMPTY;
|
|
892
|
+
function Qt(e) {
|
|
893
893
|
return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function gt(e) {
|
|
896
896
|
R(e) ? e() : e.unsubscribe();
|
|
897
897
|
}
|
|
898
|
-
var
|
|
899
|
-
|
|
900
|
-
|
|
898
|
+
var Jt = {
|
|
899
|
+
onUnhandledError: null,
|
|
900
|
+
onStoppedNotification: null,
|
|
901
|
+
Promise: void 0,
|
|
902
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
903
|
+
useDeprecatedNextContext: !1
|
|
904
|
+
}, ai = {
|
|
901
905
|
setTimeout: function(e, t) {
|
|
902
906
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
903
907
|
r[i - 2] = arguments[i];
|
|
904
|
-
return setTimeout.apply(void 0,
|
|
908
|
+
return setTimeout.apply(void 0, J([e, t], ze(r)));
|
|
905
909
|
},
|
|
906
910
|
clearTimeout: function(e) {
|
|
907
911
|
return clearTimeout(e);
|
|
908
912
|
},
|
|
909
913
|
delegate: void 0
|
|
910
914
|
};
|
|
911
|
-
function
|
|
912
|
-
|
|
915
|
+
function ui(e) {
|
|
916
|
+
ai.setTimeout(function() {
|
|
913
917
|
throw e;
|
|
914
918
|
});
|
|
915
919
|
}
|
|
916
|
-
function
|
|
920
|
+
function bt() {
|
|
917
921
|
}
|
|
918
922
|
function ye(e) {
|
|
919
923
|
e();
|
|
920
924
|
}
|
|
921
|
-
var
|
|
925
|
+
var qt = function(e) {
|
|
922
926
|
D(t, e);
|
|
923
927
|
function t(r) {
|
|
924
928
|
var i = e.call(this) || this;
|
|
925
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
929
|
+
return i.isStopped = !1, r ? (i.destination = r, Qt(r) && r.add(i)) : i.destination = fi, i;
|
|
926
930
|
}
|
|
927
931
|
return t.create = function(r, i, n) {
|
|
928
|
-
return new
|
|
932
|
+
return new Qe(r, i, n);
|
|
929
933
|
}, t.prototype.next = function(r) {
|
|
930
934
|
this.isStopped || this._next(r);
|
|
931
935
|
}, t.prototype.error = function(r) {
|
|
@@ -949,7 +953,11 @@ var Wt = function(e) {
|
|
|
949
953
|
this.unsubscribe();
|
|
950
954
|
}
|
|
951
955
|
}, t;
|
|
952
|
-
}(He),
|
|
956
|
+
}(He), li = Function.prototype.bind;
|
|
957
|
+
function De(e, t) {
|
|
958
|
+
return li.call(e, t);
|
|
959
|
+
}
|
|
960
|
+
var hi = function() {
|
|
953
961
|
function e(t) {
|
|
954
962
|
this.partialObserver = t;
|
|
955
963
|
}
|
|
@@ -980,43 +988,55 @@ var Wt = function(e) {
|
|
|
980
988
|
pe(r);
|
|
981
989
|
}
|
|
982
990
|
}, e;
|
|
983
|
-
}(),
|
|
991
|
+
}(), Qe = function(e) {
|
|
984
992
|
D(t, e);
|
|
985
993
|
function t(r, i, n) {
|
|
986
994
|
var s = e.call(this) || this, a;
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
995
|
+
if (R(r) || !r)
|
|
996
|
+
a = {
|
|
997
|
+
next: r ?? void 0,
|
|
998
|
+
error: i ?? void 0,
|
|
999
|
+
complete: n ?? void 0
|
|
1000
|
+
};
|
|
1001
|
+
else {
|
|
1002
|
+
var o;
|
|
1003
|
+
s && Jt.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
1004
|
+
return s.unsubscribe();
|
|
1005
|
+
}, a = {
|
|
1006
|
+
next: r.next && De(r.next, o),
|
|
1007
|
+
error: r.error && De(r.error, o),
|
|
1008
|
+
complete: r.complete && De(r.complete, o)
|
|
1009
|
+
}) : a = r;
|
|
1010
|
+
}
|
|
1011
|
+
return s.destination = new hi(a), s;
|
|
992
1012
|
}
|
|
993
1013
|
return t;
|
|
994
|
-
}(
|
|
1014
|
+
}(qt);
|
|
995
1015
|
function pe(e) {
|
|
996
|
-
|
|
1016
|
+
ui(e);
|
|
997
1017
|
}
|
|
998
|
-
function
|
|
1018
|
+
function ci(e) {
|
|
999
1019
|
throw e;
|
|
1000
1020
|
}
|
|
1001
|
-
var
|
|
1021
|
+
var fi = {
|
|
1002
1022
|
closed: !0,
|
|
1003
|
-
next:
|
|
1004
|
-
error:
|
|
1005
|
-
complete:
|
|
1006
|
-
},
|
|
1023
|
+
next: bt,
|
|
1024
|
+
error: ci,
|
|
1025
|
+
complete: bt
|
|
1026
|
+
}, mi = function() {
|
|
1007
1027
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1008
1028
|
}();
|
|
1009
|
-
function
|
|
1029
|
+
function pi(e) {
|
|
1010
1030
|
return e;
|
|
1011
1031
|
}
|
|
1012
|
-
function
|
|
1013
|
-
return e.length === 0 ?
|
|
1032
|
+
function di(e) {
|
|
1033
|
+
return e.length === 0 ? pi : e.length === 1 ? e[0] : function(r) {
|
|
1014
1034
|
return e.reduce(function(i, n) {
|
|
1015
1035
|
return n(i);
|
|
1016
1036
|
}, r);
|
|
1017
1037
|
};
|
|
1018
1038
|
}
|
|
1019
|
-
var
|
|
1039
|
+
var yt = function() {
|
|
1020
1040
|
function e(t) {
|
|
1021
1041
|
t && (this._subscribe = t);
|
|
1022
1042
|
}
|
|
@@ -1024,7 +1044,7 @@ var pt = function() {
|
|
|
1024
1044
|
var r = new e();
|
|
1025
1045
|
return r.source = this, r.operator = t, r;
|
|
1026
1046
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
1027
|
-
var n = this, s =
|
|
1047
|
+
var n = this, s = bi(t) ? t : new Qe(t, r, i);
|
|
1028
1048
|
return ye(function() {
|
|
1029
1049
|
var a = n, o = a.operator, u = a.source;
|
|
1030
1050
|
s.add(o ? o.call(s, u) : u ? n._subscribe(s) : n._trySubscribe(s));
|
|
@@ -1037,8 +1057,8 @@ var pt = function() {
|
|
|
1037
1057
|
}
|
|
1038
1058
|
}, e.prototype.forEach = function(t, r) {
|
|
1039
1059
|
var i = this;
|
|
1040
|
-
return r =
|
|
1041
|
-
var a = new
|
|
1060
|
+
return r = vt(r), new r(function(n, s) {
|
|
1061
|
+
var a = new Qe({
|
|
1042
1062
|
next: function(o) {
|
|
1043
1063
|
try {
|
|
1044
1064
|
t(o);
|
|
@@ -1054,15 +1074,15 @@ var pt = function() {
|
|
|
1054
1074
|
}, e.prototype._subscribe = function(t) {
|
|
1055
1075
|
var r;
|
|
1056
1076
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1057
|
-
}, e.prototype[
|
|
1077
|
+
}, e.prototype[mi] = function() {
|
|
1058
1078
|
return this;
|
|
1059
1079
|
}, e.prototype.pipe = function() {
|
|
1060
1080
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1061
1081
|
t[r] = arguments[r];
|
|
1062
|
-
return
|
|
1082
|
+
return di(t)(this);
|
|
1063
1083
|
}, e.prototype.toPromise = function(t) {
|
|
1064
1084
|
var r = this;
|
|
1065
|
-
return t =
|
|
1085
|
+
return t = vt(t), new t(function(i, n) {
|
|
1066
1086
|
var s;
|
|
1067
1087
|
r.subscribe(function(a) {
|
|
1068
1088
|
return s = a;
|
|
@@ -1076,32 +1096,32 @@ var pt = function() {
|
|
|
1076
1096
|
return new e(t);
|
|
1077
1097
|
}, e;
|
|
1078
1098
|
}();
|
|
1079
|
-
function
|
|
1099
|
+
function vt(e) {
|
|
1080
1100
|
var t;
|
|
1081
|
-
return (t = e ??
|
|
1101
|
+
return (t = e ?? Jt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1082
1102
|
}
|
|
1083
|
-
function
|
|
1103
|
+
function gi(e) {
|
|
1084
1104
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1085
1105
|
}
|
|
1086
|
-
function
|
|
1087
|
-
return e && e instanceof
|
|
1106
|
+
function bi(e) {
|
|
1107
|
+
return e && e instanceof qt || gi(e) && Qt(e);
|
|
1088
1108
|
}
|
|
1089
|
-
var
|
|
1109
|
+
var yi = zt(function(e) {
|
|
1090
1110
|
return function() {
|
|
1091
1111
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1092
1112
|
};
|
|
1093
|
-
}),
|
|
1113
|
+
}), Yt = function(e) {
|
|
1094
1114
|
D(t, e);
|
|
1095
1115
|
function t() {
|
|
1096
1116
|
var r = e.call(this) || this;
|
|
1097
1117
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1098
1118
|
}
|
|
1099
1119
|
return t.prototype.lift = function(r) {
|
|
1100
|
-
var i = new
|
|
1120
|
+
var i = new _t(this, this);
|
|
1101
1121
|
return i.operator = r, i;
|
|
1102
1122
|
}, t.prototype._throwIfClosed = function() {
|
|
1103
1123
|
if (this.closed)
|
|
1104
|
-
throw new
|
|
1124
|
+
throw new yi();
|
|
1105
1125
|
}, t.prototype.next = function(r) {
|
|
1106
1126
|
var i = this;
|
|
1107
1127
|
ye(function() {
|
|
@@ -1109,7 +1129,7 @@ var mi = kt(function(e) {
|
|
|
1109
1129
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
1110
1130
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
1111
1131
|
try {
|
|
1112
|
-
for (var a =
|
|
1132
|
+
for (var a = We(i.currentObservers), o = a.next(); !o.done; o = a.next()) {
|
|
1113
1133
|
var u = o.value;
|
|
1114
1134
|
u.next(r);
|
|
1115
1135
|
}
|
|
@@ -1158,19 +1178,19 @@ var mi = kt(function(e) {
|
|
|
1158
1178
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1159
1179
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1160
1180
|
var i = this, n = this, s = n.hasError, a = n.isStopped, o = n.observers;
|
|
1161
|
-
return s || a ?
|
|
1162
|
-
i.currentObservers = null,
|
|
1181
|
+
return s || a ? Zt : (this.currentObservers = null, o.push(r), new He(function() {
|
|
1182
|
+
i.currentObservers = null, Ze(o, r);
|
|
1163
1183
|
}));
|
|
1164
1184
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1165
1185
|
var i = this, n = i.hasError, s = i.thrownError, a = i.isStopped;
|
|
1166
1186
|
n ? r.error(s) : a && r.complete();
|
|
1167
1187
|
}, t.prototype.asObservable = function() {
|
|
1168
|
-
var r = new
|
|
1188
|
+
var r = new yt();
|
|
1169
1189
|
return r.source = this, r;
|
|
1170
1190
|
}, t.create = function(r, i) {
|
|
1171
|
-
return new
|
|
1191
|
+
return new _t(r, i);
|
|
1172
1192
|
}, t;
|
|
1173
|
-
}(
|
|
1193
|
+
}(yt), _t = function(e) {
|
|
1174
1194
|
D(t, e);
|
|
1175
1195
|
function t(r, i) {
|
|
1176
1196
|
var n = e.call(this) || this;
|
|
@@ -1187,17 +1207,17 @@ var mi = kt(function(e) {
|
|
|
1187
1207
|
(i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
|
|
1188
1208
|
}, t.prototype._subscribe = function(r) {
|
|
1189
1209
|
var i, n;
|
|
1190
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n :
|
|
1210
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Zt;
|
|
1191
1211
|
}, t;
|
|
1192
|
-
}(
|
|
1212
|
+
}(Yt), Kt = {
|
|
1193
1213
|
now: function() {
|
|
1194
|
-
return (
|
|
1214
|
+
return (Kt.delegate || Date).now();
|
|
1195
1215
|
},
|
|
1196
1216
|
delegate: void 0
|
|
1197
|
-
},
|
|
1217
|
+
}, vi = function(e) {
|
|
1198
1218
|
D(t, e);
|
|
1199
1219
|
function t(r, i, n) {
|
|
1200
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
1220
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Kt);
|
|
1201
1221
|
var s = e.call(this) || this;
|
|
1202
1222
|
return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
|
|
1203
1223
|
}
|
|
@@ -1217,62 +1237,62 @@ var mi = kt(function(e) {
|
|
|
1217
1237
|
h && s.splice(0, h + 1);
|
|
1218
1238
|
}
|
|
1219
1239
|
}, t;
|
|
1220
|
-
}(
|
|
1221
|
-
const
|
|
1222
|
-
if (
|
|
1223
|
-
const r = new
|
|
1224
|
-
|
|
1240
|
+
}(Yt);
|
|
1241
|
+
const Et = [], xt = {}, _i = (e, t = 0) => {
|
|
1242
|
+
if (Et.indexOf(e) == -1) {
|
|
1243
|
+
const r = new vi(t);
|
|
1244
|
+
xt[e] = r, Et.push(e);
|
|
1225
1245
|
}
|
|
1226
|
-
return
|
|
1227
|
-
},
|
|
1228
|
-
function
|
|
1246
|
+
return xt[e];
|
|
1247
|
+
}, X = [];
|
|
1248
|
+
function Ei(e, t) {
|
|
1229
1249
|
return {
|
|
1230
1250
|
subscribe: Ae(e, t).subscribe
|
|
1231
1251
|
};
|
|
1232
1252
|
}
|
|
1233
|
-
function Ae(e, t =
|
|
1253
|
+
function Ae(e, t = M) {
|
|
1234
1254
|
let r;
|
|
1235
1255
|
const i = /* @__PURE__ */ new Set();
|
|
1236
1256
|
function n(o) {
|
|
1237
|
-
if (
|
|
1238
|
-
const u = !
|
|
1257
|
+
if (Ut(e, o) && (e = o, r)) {
|
|
1258
|
+
const u = !X.length;
|
|
1239
1259
|
for (const h of i)
|
|
1240
|
-
h[1](),
|
|
1260
|
+
h[1](), X.push(h, e);
|
|
1241
1261
|
if (u) {
|
|
1242
|
-
for (let h = 0; h <
|
|
1243
|
-
|
|
1244
|
-
|
|
1262
|
+
for (let h = 0; h < X.length; h += 2)
|
|
1263
|
+
X[h][0](X[h + 1]);
|
|
1264
|
+
X.length = 0;
|
|
1245
1265
|
}
|
|
1246
1266
|
}
|
|
1247
1267
|
}
|
|
1248
1268
|
function s(o) {
|
|
1249
1269
|
n(o(e));
|
|
1250
1270
|
}
|
|
1251
|
-
function a(o, u =
|
|
1271
|
+
function a(o, u = M) {
|
|
1252
1272
|
const h = [o, u];
|
|
1253
|
-
return i.add(h), i.size === 1 && (r = t(n, s) ||
|
|
1273
|
+
return i.add(h), i.size === 1 && (r = t(n, s) || M), o(e), () => {
|
|
1254
1274
|
i.delete(h), i.size === 0 && r && (r(), r = null);
|
|
1255
1275
|
};
|
|
1256
1276
|
}
|
|
1257
1277
|
return { set: n, update: s, subscribe: a };
|
|
1258
1278
|
}
|
|
1259
|
-
function
|
|
1279
|
+
function re(e, t, r) {
|
|
1260
1280
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
1261
1281
|
if (!n.every(Boolean))
|
|
1262
1282
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1263
1283
|
const s = t.length < 2;
|
|
1264
|
-
return
|
|
1284
|
+
return Ei(r, (a, o) => {
|
|
1265
1285
|
let u = !1;
|
|
1266
1286
|
const h = [];
|
|
1267
|
-
let l = 0, f =
|
|
1287
|
+
let l = 0, f = M;
|
|
1268
1288
|
const c = () => {
|
|
1269
1289
|
if (l)
|
|
1270
1290
|
return;
|
|
1271
1291
|
f();
|
|
1272
1292
|
const p = t(i ? h[0] : h, a, o);
|
|
1273
|
-
s ? a(p) : f = Se(p) ? p :
|
|
1293
|
+
s ? a(p) : f = Se(p) ? p : M;
|
|
1274
1294
|
}, b = n.map(
|
|
1275
|
-
(p, g) =>
|
|
1295
|
+
(p, g) => $t(
|
|
1276
1296
|
p,
|
|
1277
1297
|
(d) => {
|
|
1278
1298
|
h[g] = d, l &= ~(1 << g), u && c();
|
|
@@ -1287,128 +1307,130 @@ function ie(e, t, r) {
|
|
|
1287
1307
|
};
|
|
1288
1308
|
});
|
|
1289
1309
|
}
|
|
1290
|
-
function
|
|
1310
|
+
function xi(e) {
|
|
1291
1311
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1292
1312
|
}
|
|
1293
|
-
var
|
|
1294
|
-
return
|
|
1313
|
+
var wi = function(t) {
|
|
1314
|
+
return Li(t) && !Ti(t);
|
|
1295
1315
|
};
|
|
1296
|
-
function
|
|
1316
|
+
function Li(e) {
|
|
1297
1317
|
return !!e && typeof e == "object";
|
|
1298
1318
|
}
|
|
1299
|
-
function
|
|
1319
|
+
function Ti(e) {
|
|
1300
1320
|
var t = Object.prototype.toString.call(e);
|
|
1301
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1321
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ai(e);
|
|
1302
1322
|
}
|
|
1303
|
-
var
|
|
1304
|
-
function
|
|
1305
|
-
return e.$$typeof ===
|
|
1323
|
+
var Si = typeof Symbol == "function" && Symbol.for, Hi = Si ? Symbol.for("react.element") : 60103;
|
|
1324
|
+
function Ai(e) {
|
|
1325
|
+
return e.$$typeof === Hi;
|
|
1306
1326
|
}
|
|
1307
|
-
function
|
|
1327
|
+
function Pi(e) {
|
|
1308
1328
|
return Array.isArray(e) ? [] : {};
|
|
1309
1329
|
}
|
|
1310
1330
|
function ce(e, t) {
|
|
1311
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1331
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Pi(e), e, t) : e;
|
|
1312
1332
|
}
|
|
1313
|
-
function
|
|
1333
|
+
function Bi(e, t, r) {
|
|
1314
1334
|
return e.concat(t).map(function(i) {
|
|
1315
1335
|
return ce(i, r);
|
|
1316
1336
|
});
|
|
1317
1337
|
}
|
|
1318
|
-
function
|
|
1338
|
+
function Oi(e, t) {
|
|
1319
1339
|
if (!t.customMerge)
|
|
1320
|
-
return
|
|
1340
|
+
return q;
|
|
1321
1341
|
var r = t.customMerge(e);
|
|
1322
|
-
return typeof r == "function" ? r :
|
|
1342
|
+
return typeof r == "function" ? r : q;
|
|
1323
1343
|
}
|
|
1324
|
-
function
|
|
1344
|
+
function Mi(e) {
|
|
1325
1345
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1326
1346
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1327
1347
|
}) : [];
|
|
1328
1348
|
}
|
|
1329
|
-
function
|
|
1330
|
-
return Object.keys(e).concat(
|
|
1349
|
+
function wt(e) {
|
|
1350
|
+
return Object.keys(e).concat(Mi(e));
|
|
1331
1351
|
}
|
|
1332
|
-
function
|
|
1352
|
+
function er(e, t) {
|
|
1333
1353
|
try {
|
|
1334
1354
|
return t in e;
|
|
1335
1355
|
} catch {
|
|
1336
1356
|
return !1;
|
|
1337
1357
|
}
|
|
1338
1358
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return
|
|
1359
|
+
function Ii(e, t) {
|
|
1360
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1341
1361
|
}
|
|
1342
|
-
function
|
|
1362
|
+
function Ci(e, t, r) {
|
|
1343
1363
|
var i = {};
|
|
1344
|
-
return r.isMergeableObject(e) &&
|
|
1364
|
+
return r.isMergeableObject(e) && wt(e).forEach(function(n) {
|
|
1345
1365
|
i[n] = ce(e[n], r);
|
|
1346
|
-
}),
|
|
1347
|
-
|
|
1366
|
+
}), wt(t).forEach(function(n) {
|
|
1367
|
+
Ii(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = Oi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
|
|
1348
1368
|
}), i;
|
|
1349
1369
|
}
|
|
1350
|
-
function
|
|
1351
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1370
|
+
function q(e, t, r) {
|
|
1371
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || wi, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1352
1372
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
1353
|
-
return s ? i ? r.arrayMerge(e, t, r) :
|
|
1373
|
+
return s ? i ? r.arrayMerge(e, t, r) : Ci(e, t, r) : ce(t, r);
|
|
1354
1374
|
}
|
|
1355
|
-
|
|
1375
|
+
q.all = function(t, r) {
|
|
1356
1376
|
if (!Array.isArray(t))
|
|
1357
1377
|
throw new Error("first argument should be an array");
|
|
1358
1378
|
return t.reduce(function(i, n) {
|
|
1359
|
-
return
|
|
1379
|
+
return q(i, n, r);
|
|
1360
1380
|
}, {});
|
|
1361
1381
|
};
|
|
1362
|
-
var
|
|
1363
|
-
const
|
|
1364
|
-
function
|
|
1365
|
-
var r = t && t.cache ? t.cache :
|
|
1382
|
+
var Ni = q, Ri = Ni;
|
|
1383
|
+
const Di = /* @__PURE__ */ xi(Ri);
|
|
1384
|
+
function Ge(e, t) {
|
|
1385
|
+
var r = t && t.cache ? t.cache : ki, i = t && t.serializer ? t.serializer : ji, n = t && t.strategy ? t.strategy : Ui;
|
|
1366
1386
|
return n(e, {
|
|
1367
1387
|
cache: r,
|
|
1368
1388
|
serializer: i
|
|
1369
1389
|
});
|
|
1370
1390
|
}
|
|
1371
|
-
function
|
|
1391
|
+
function Gi(e) {
|
|
1372
1392
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1373
1393
|
}
|
|
1374
|
-
function
|
|
1375
|
-
var n =
|
|
1394
|
+
function tr(e, t, r, i) {
|
|
1395
|
+
var n = Gi(i) ? i : r(i), s = t.get(n);
|
|
1376
1396
|
return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
|
|
1377
1397
|
}
|
|
1378
|
-
function
|
|
1398
|
+
function rr(e, t, r) {
|
|
1379
1399
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
1380
1400
|
return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
1381
1401
|
}
|
|
1382
|
-
function
|
|
1402
|
+
function ot(e, t, r, i, n) {
|
|
1383
1403
|
return r.bind(t, e, i, n);
|
|
1384
1404
|
}
|
|
1385
|
-
function
|
|
1386
|
-
var r = e.length === 1 ?
|
|
1387
|
-
return
|
|
1405
|
+
function Ui(e, t) {
|
|
1406
|
+
var r = e.length === 1 ? tr : rr;
|
|
1407
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
|
1408
|
+
}
|
|
1409
|
+
function $i(e, t) {
|
|
1410
|
+
return ot(e, this, rr, t.cache.create(), t.serializer);
|
|
1388
1411
|
}
|
|
1389
|
-
function
|
|
1390
|
-
return
|
|
1412
|
+
function Fi(e, t) {
|
|
1413
|
+
return ot(e, this, tr, t.cache.create(), t.serializer);
|
|
1391
1414
|
}
|
|
1392
|
-
var
|
|
1415
|
+
var ji = function() {
|
|
1393
1416
|
return JSON.stringify(arguments);
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
}()
|
|
1406
|
-
), Ui = {
|
|
1417
|
+
};
|
|
1418
|
+
function at() {
|
|
1419
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1420
|
+
}
|
|
1421
|
+
at.prototype.get = function(e) {
|
|
1422
|
+
return this.cache[e];
|
|
1423
|
+
};
|
|
1424
|
+
at.prototype.set = function(e, t) {
|
|
1425
|
+
this.cache[e] = t;
|
|
1426
|
+
};
|
|
1427
|
+
var ki = {
|
|
1407
1428
|
create: function() {
|
|
1408
|
-
return new
|
|
1429
|
+
return new at();
|
|
1409
1430
|
}
|
|
1410
|
-
},
|
|
1411
|
-
variadic:
|
|
1431
|
+
}, Ue = {
|
|
1432
|
+
variadic: $i,
|
|
1433
|
+
monadic: Fi
|
|
1412
1434
|
}, _;
|
|
1413
1435
|
(function(e) {
|
|
1414
1436
|
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";
|
|
@@ -1417,47 +1439,47 @@ var w;
|
|
|
1417
1439
|
(function(e) {
|
|
1418
1440
|
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";
|
|
1419
1441
|
})(w || (w = {}));
|
|
1420
|
-
var
|
|
1442
|
+
var Y;
|
|
1421
1443
|
(function(e) {
|
|
1422
1444
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1423
|
-
})(
|
|
1424
|
-
function
|
|
1445
|
+
})(Y || (Y = {}));
|
|
1446
|
+
function Lt(e) {
|
|
1425
1447
|
return e.type === w.literal;
|
|
1426
1448
|
}
|
|
1427
|
-
function
|
|
1449
|
+
function Vi(e) {
|
|
1428
1450
|
return e.type === w.argument;
|
|
1429
1451
|
}
|
|
1430
|
-
function
|
|
1452
|
+
function ir(e) {
|
|
1431
1453
|
return e.type === w.number;
|
|
1432
1454
|
}
|
|
1433
|
-
function
|
|
1455
|
+
function nr(e) {
|
|
1434
1456
|
return e.type === w.date;
|
|
1435
1457
|
}
|
|
1436
|
-
function
|
|
1458
|
+
function sr(e) {
|
|
1437
1459
|
return e.type === w.time;
|
|
1438
1460
|
}
|
|
1439
|
-
function
|
|
1461
|
+
function or(e) {
|
|
1440
1462
|
return e.type === w.select;
|
|
1441
1463
|
}
|
|
1442
|
-
function
|
|
1464
|
+
function ar(e) {
|
|
1443
1465
|
return e.type === w.plural;
|
|
1444
1466
|
}
|
|
1445
|
-
function
|
|
1467
|
+
function Xi(e) {
|
|
1446
1468
|
return e.type === w.pound;
|
|
1447
1469
|
}
|
|
1448
|
-
function
|
|
1470
|
+
function ur(e) {
|
|
1449
1471
|
return e.type === w.tag;
|
|
1450
1472
|
}
|
|
1451
|
-
function
|
|
1452
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1473
|
+
function lr(e) {
|
|
1474
|
+
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1453
1475
|
}
|
|
1454
|
-
function
|
|
1455
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1476
|
+
function Je(e) {
|
|
1477
|
+
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1456
1478
|
}
|
|
1457
|
-
var
|
|
1458
|
-
function
|
|
1479
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
|
|
1480
|
+
function zi(e) {
|
|
1459
1481
|
var t = {};
|
|
1460
|
-
return e.replace(
|
|
1482
|
+
return e.replace(Wi, function(r) {
|
|
1461
1483
|
var i = r.length;
|
|
1462
1484
|
switch (r[0]) {
|
|
1463
1485
|
case "G":
|
|
@@ -1546,11 +1568,11 @@ function ki(e) {
|
|
|
1546
1568
|
return "";
|
|
1547
1569
|
}), t;
|
|
1548
1570
|
}
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1571
|
+
var Zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1572
|
+
function Qi(e) {
|
|
1551
1573
|
if (e.length === 0)
|
|
1552
1574
|
throw new Error("Number skeleton cannot be empty");
|
|
1553
|
-
for (var t = e.split(
|
|
1575
|
+
for (var t = e.split(Zi).filter(function(c) {
|
|
1554
1576
|
return c.length > 0;
|
|
1555
1577
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
1556
1578
|
var s = n[i], a = s.split("/");
|
|
@@ -1565,17 +1587,17 @@ function Xi(e) {
|
|
|
1565
1587
|
}
|
|
1566
1588
|
return r;
|
|
1567
1589
|
}
|
|
1568
|
-
function
|
|
1590
|
+
function Ji(e) {
|
|
1569
1591
|
return e.replace(/^(.*?)-/, "");
|
|
1570
1592
|
}
|
|
1571
|
-
var
|
|
1572
|
-
function
|
|
1593
|
+
var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
1594
|
+
function St(e) {
|
|
1573
1595
|
var t = {};
|
|
1574
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1596
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
|
|
1575
1597
|
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)), "";
|
|
1576
1598
|
}), t;
|
|
1577
1599
|
}
|
|
1578
|
-
function
|
|
1600
|
+
function mr(e) {
|
|
1579
1601
|
switch (e) {
|
|
1580
1602
|
case "sign-auto":
|
|
1581
1603
|
return {
|
|
@@ -1615,7 +1637,7 @@ function ur(e) {
|
|
|
1615
1637
|
};
|
|
1616
1638
|
}
|
|
1617
1639
|
}
|
|
1618
|
-
function
|
|
1640
|
+
function Yi(e) {
|
|
1619
1641
|
var t;
|
|
1620
1642
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1621
1643
|
notation: "engineering"
|
|
@@ -1623,17 +1645,17 @@ function Zi(e) {
|
|
|
1623
1645
|
notation: "scientific"
|
|
1624
1646
|
}, e = e.slice(1)), t) {
|
|
1625
1647
|
var r = e.slice(0, 2);
|
|
1626
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1648
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
1627
1649
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1628
1650
|
t.minimumIntegerDigits = e.length;
|
|
1629
1651
|
}
|
|
1630
1652
|
return t;
|
|
1631
1653
|
}
|
|
1632
|
-
function
|
|
1633
|
-
var t = {}, r =
|
|
1654
|
+
function Ht(e) {
|
|
1655
|
+
var t = {}, r = mr(e);
|
|
1634
1656
|
return r || t;
|
|
1635
1657
|
}
|
|
1636
|
-
function
|
|
1658
|
+
function Ki(e) {
|
|
1637
1659
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1638
1660
|
var n = i[r];
|
|
1639
1661
|
switch (n.stem) {
|
|
@@ -1657,7 +1679,7 @@ function Qi(e) {
|
|
|
1657
1679
|
continue;
|
|
1658
1680
|
case "measure-unit":
|
|
1659
1681
|
case "unit":
|
|
1660
|
-
t.style = "unit", t.unit =
|
|
1682
|
+
t.style = "unit", t.unit = Ji(n.options[0]);
|
|
1661
1683
|
continue;
|
|
1662
1684
|
case "compact-short":
|
|
1663
1685
|
case "K":
|
|
@@ -1669,12 +1691,12 @@ function Qi(e) {
|
|
|
1669
1691
|
continue;
|
|
1670
1692
|
case "scientific":
|
|
1671
1693
|
t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
|
|
1672
|
-
return x(x({}, u),
|
|
1694
|
+
return x(x({}, u), Ht(h));
|
|
1673
1695
|
}, {}));
|
|
1674
1696
|
continue;
|
|
1675
1697
|
case "engineering":
|
|
1676
1698
|
t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
|
|
1677
|
-
return x(x({}, u),
|
|
1699
|
+
return x(x({}, u), Ht(h));
|
|
1678
1700
|
}, {}));
|
|
1679
1701
|
continue;
|
|
1680
1702
|
case "notation-simple":
|
|
@@ -1719,7 +1741,7 @@ function Qi(e) {
|
|
|
1719
1741
|
case "integer-width":
|
|
1720
1742
|
if (n.options.length > 1)
|
|
1721
1743
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1722
|
-
n.options[0].replace(
|
|
1744
|
+
n.options[0].replace(qi, function(u, h, l, f, c, b) {
|
|
1723
1745
|
if (h)
|
|
1724
1746
|
t.minimumIntegerDigits = l.length;
|
|
1725
1747
|
else {
|
|
@@ -1732,27 +1754,27 @@ function Qi(e) {
|
|
|
1732
1754
|
});
|
|
1733
1755
|
continue;
|
|
1734
1756
|
}
|
|
1735
|
-
if (
|
|
1757
|
+
if (fr.test(n.stem)) {
|
|
1736
1758
|
t.minimumIntegerDigits = n.stem.length;
|
|
1737
1759
|
continue;
|
|
1738
1760
|
}
|
|
1739
|
-
if (
|
|
1761
|
+
if (Tt.test(n.stem)) {
|
|
1740
1762
|
if (n.options.length > 1)
|
|
1741
1763
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1742
|
-
n.stem.replace(
|
|
1764
|
+
n.stem.replace(Tt, function(u, h, l, f, c, b) {
|
|
1743
1765
|
return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1744
1766
|
});
|
|
1745
1767
|
var s = n.options[0];
|
|
1746
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1768
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), St(s)));
|
|
1747
1769
|
continue;
|
|
1748
1770
|
}
|
|
1749
|
-
if (
|
|
1750
|
-
t = x(x({}, t),
|
|
1771
|
+
if (cr.test(n.stem)) {
|
|
1772
|
+
t = x(x({}, t), St(n.stem));
|
|
1751
1773
|
continue;
|
|
1752
1774
|
}
|
|
1753
|
-
var a =
|
|
1775
|
+
var a = mr(n.stem);
|
|
1754
1776
|
a && (t = x(x({}, t), a));
|
|
1755
|
-
var o =
|
|
1777
|
+
var o = Yi(n.stem);
|
|
1756
1778
|
o && (t = x(x({}, t), o));
|
|
1757
1779
|
}
|
|
1758
1780
|
return t;
|
|
@@ -3172,13 +3194,13 @@ var de = {
|
|
|
3172
3194
|
"h"
|
|
3173
3195
|
]
|
|
3174
3196
|
};
|
|
3175
|
-
function
|
|
3197
|
+
function en(e, t) {
|
|
3176
3198
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
3177
3199
|
var n = e.charAt(i);
|
|
3178
3200
|
if (n === "j") {
|
|
3179
3201
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
3180
3202
|
s++, i++;
|
|
3181
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), u = "a", h =
|
|
3203
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = tn(t);
|
|
3182
3204
|
for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
|
|
3183
3205
|
r += u;
|
|
3184
3206
|
for (; a-- > 0; )
|
|
@@ -3188,7 +3210,7 @@ function Ji(e, t) {
|
|
|
3188
3210
|
}
|
|
3189
3211
|
return r;
|
|
3190
3212
|
}
|
|
3191
|
-
function
|
|
3213
|
+
function tn(e) {
|
|
3192
3214
|
var t = e.hourCycle;
|
|
3193
3215
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3194
3216
|
e.hourCycles && // @ts-ignore
|
|
@@ -3210,20 +3232,20 @@ function qi(e) {
|
|
|
3210
3232
|
var n = de[i || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3211
3233
|
return n[0];
|
|
3212
3234
|
}
|
|
3213
|
-
var
|
|
3235
|
+
var $e, rn = new RegExp("^".concat(hr.source, "*")), nn = new RegExp("".concat(hr.source, "*$"));
|
|
3214
3236
|
function E(e, t) {
|
|
3215
3237
|
return { start: e, end: t };
|
|
3216
3238
|
}
|
|
3217
|
-
var
|
|
3239
|
+
var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, hn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, fn = cn ? Number.isSafeInteger : function(e) {
|
|
3218
3240
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3219
|
-
},
|
|
3241
|
+
}, qe = !0;
|
|
3220
3242
|
try {
|
|
3221
|
-
var
|
|
3222
|
-
|
|
3243
|
+
var mn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3244
|
+
qe = (($e = mn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
|
3223
3245
|
} catch {
|
|
3224
|
-
|
|
3246
|
+
qe = !1;
|
|
3225
3247
|
}
|
|
3226
|
-
var
|
|
3248
|
+
var At = sn ? (
|
|
3227
3249
|
// Native
|
|
3228
3250
|
function(t, r, i) {
|
|
3229
3251
|
return t.startsWith(r, i);
|
|
@@ -3233,7 +3255,7 @@ var Lt = en ? (
|
|
|
3233
3255
|
function(t, r, i) {
|
|
3234
3256
|
return t.slice(i, i + r.length) === r;
|
|
3235
3257
|
}
|
|
3236
|
-
),
|
|
3258
|
+
), Ye = on ? String.fromCodePoint : (
|
|
3237
3259
|
// IE11
|
|
3238
3260
|
function() {
|
|
3239
3261
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3245,9 +3267,9 @@ var Lt = en ? (
|
|
|
3245
3267
|
}
|
|
3246
3268
|
return i;
|
|
3247
3269
|
}
|
|
3248
|
-
),
|
|
3270
|
+
), Pt = (
|
|
3249
3271
|
// native
|
|
3250
|
-
|
|
3272
|
+
an ? Object.fromEntries : (
|
|
3251
3273
|
// Ponyfill
|
|
3252
3274
|
function(t) {
|
|
3253
3275
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -3257,7 +3279,7 @@ var Lt = en ? (
|
|
|
3257
3279
|
return r;
|
|
3258
3280
|
}
|
|
3259
3281
|
)
|
|
3260
|
-
),
|
|
3282
|
+
), pr = un ? (
|
|
3261
3283
|
// Native
|
|
3262
3284
|
function(t, r) {
|
|
3263
3285
|
return t.codePointAt(r);
|
|
@@ -3271,7 +3293,7 @@ var Lt = en ? (
|
|
|
3271
3293
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
3272
3294
|
}
|
|
3273
3295
|
}
|
|
3274
|
-
),
|
|
3296
|
+
), pn = ln ? (
|
|
3275
3297
|
// Native
|
|
3276
3298
|
function(t) {
|
|
3277
3299
|
return t.trimStart();
|
|
@@ -3279,9 +3301,9 @@ var Lt = en ? (
|
|
|
3279
3301
|
) : (
|
|
3280
3302
|
// Ponyfill
|
|
3281
3303
|
function(t) {
|
|
3282
|
-
return t.replace(
|
|
3304
|
+
return t.replace(rn, "");
|
|
3283
3305
|
}
|
|
3284
|
-
),
|
|
3306
|
+
), dn = hn ? (
|
|
3285
3307
|
// Native
|
|
3286
3308
|
function(t) {
|
|
3287
3309
|
return t.trimEnd();
|
|
@@ -3289,32 +3311,32 @@ var Lt = en ? (
|
|
|
3289
3311
|
) : (
|
|
3290
3312
|
// Ponyfill
|
|
3291
3313
|
function(t) {
|
|
3292
|
-
return t.replace(
|
|
3314
|
+
return t.replace(nn, "");
|
|
3293
3315
|
}
|
|
3294
3316
|
);
|
|
3295
|
-
function
|
|
3317
|
+
function dr(e, t) {
|
|
3296
3318
|
return new RegExp(e, t);
|
|
3297
3319
|
}
|
|
3298
|
-
var
|
|
3299
|
-
if (
|
|
3300
|
-
var
|
|
3301
|
-
|
|
3320
|
+
var Ke;
|
|
3321
|
+
if (qe) {
|
|
3322
|
+
var Bt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3323
|
+
Ke = function(t, r) {
|
|
3302
3324
|
var i;
|
|
3303
|
-
|
|
3304
|
-
var n =
|
|
3325
|
+
Bt.lastIndex = r;
|
|
3326
|
+
var n = Bt.exec(t);
|
|
3305
3327
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
3306
3328
|
};
|
|
3307
3329
|
} else
|
|
3308
|
-
|
|
3330
|
+
Ke = function(t, r) {
|
|
3309
3331
|
for (var i = []; ; ) {
|
|
3310
|
-
var n =
|
|
3311
|
-
if (n === void 0 ||
|
|
3332
|
+
var n = pr(t, r);
|
|
3333
|
+
if (n === void 0 || gr(n) || vn(n))
|
|
3312
3334
|
break;
|
|
3313
3335
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
3314
3336
|
}
|
|
3315
|
-
return
|
|
3337
|
+
return Ye.apply(void 0, i);
|
|
3316
3338
|
};
|
|
3317
|
-
var
|
|
3339
|
+
var gn = (
|
|
3318
3340
|
/** @class */
|
|
3319
3341
|
function() {
|
|
3320
3342
|
function e(t, r) {
|
|
@@ -3345,7 +3367,7 @@ var fn = (
|
|
|
3345
3367
|
if (i)
|
|
3346
3368
|
break;
|
|
3347
3369
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3348
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3370
|
+
} else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3349
3371
|
var a = this.parseTag(t, r);
|
|
3350
3372
|
if (a.err)
|
|
3351
3373
|
return a;
|
|
@@ -3378,7 +3400,7 @@ var fn = (
|
|
|
3378
3400
|
return s;
|
|
3379
3401
|
var a = s.val, o = this.clonePosition();
|
|
3380
3402
|
if (this.bumpIf("</")) {
|
|
3381
|
-
if (this.isEOF() || !
|
|
3403
|
+
if (this.isEOF() || !et(this.char()))
|
|
3382
3404
|
return this.error(_.INVALID_TAG, E(o, this.clonePosition()));
|
|
3383
3405
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3384
3406
|
return n !== h ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3396,7 +3418,7 @@ var fn = (
|
|
|
3396
3418
|
return this.error(_.INVALID_TAG, E(i, this.clonePosition()));
|
|
3397
3419
|
}, e.prototype.parseTagName = function() {
|
|
3398
3420
|
var t = this.offset();
|
|
3399
|
-
for (this.bump(); !this.isEOF() &&
|
|
3421
|
+
for (this.bump(); !this.isEOF() && yn(this.char()); )
|
|
3400
3422
|
this.bump();
|
|
3401
3423
|
return this.message.slice(t, this.offset());
|
|
3402
3424
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3425,7 +3447,7 @@ var fn = (
|
|
|
3425
3447
|
};
|
|
3426
3448
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3427
3449
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3428
|
-
!
|
|
3450
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3429
3451
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3430
3452
|
if (this.isEOF() || this.char() !== 39)
|
|
3431
3453
|
return null;
|
|
@@ -3459,12 +3481,12 @@ var fn = (
|
|
|
3459
3481
|
r.push(i);
|
|
3460
3482
|
this.bump();
|
|
3461
3483
|
}
|
|
3462
|
-
return
|
|
3484
|
+
return Ye.apply(void 0, r);
|
|
3463
3485
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3464
3486
|
if (this.isEOF())
|
|
3465
3487
|
return null;
|
|
3466
3488
|
var i = this.char();
|
|
3467
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
3489
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), Ye(i));
|
|
3468
3490
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3469
3491
|
var i = this.clonePosition();
|
|
3470
3492
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3493,7 +3515,7 @@ var fn = (
|
|
|
3493
3515
|
return this.error(_.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
|
|
3494
3516
|
}
|
|
3495
3517
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3496
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
3518
|
+
var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
|
|
3497
3519
|
this.bumpTo(n);
|
|
3498
3520
|
var s = this.clonePosition(), a = E(t, s);
|
|
3499
3521
|
return { value: i, location: a };
|
|
@@ -3512,7 +3534,7 @@ var fn = (
|
|
|
3512
3534
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3513
3535
|
if (f.err)
|
|
3514
3536
|
return f;
|
|
3515
|
-
var c =
|
|
3537
|
+
var c = dn(f.val);
|
|
3516
3538
|
if (c.length === 0)
|
|
3517
3539
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3518
3540
|
var b = E(l, this.clonePosition());
|
|
@@ -3522,8 +3544,8 @@ var fn = (
|
|
|
3522
3544
|
if (p.err)
|
|
3523
3545
|
return p;
|
|
3524
3546
|
var g = E(n, this.clonePosition());
|
|
3525
|
-
if (h &&
|
|
3526
|
-
var d =
|
|
3547
|
+
if (h && At(h?.style, "::", 0)) {
|
|
3548
|
+
var d = pn(h.style.slice(2));
|
|
3527
3549
|
if (o === "number") {
|
|
3528
3550
|
var f = this.parseNumberSkeletonFromString(d, h.styleLocation);
|
|
3529
3551
|
return f.err ? f : {
|
|
@@ -3534,12 +3556,12 @@ var fn = (
|
|
|
3534
3556
|
if (d.length === 0)
|
|
3535
3557
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3536
3558
|
var v = d;
|
|
3537
|
-
this.locale && (v =
|
|
3559
|
+
this.locale && (v = en(d, this.locale));
|
|
3538
3560
|
var c = {
|
|
3539
|
-
type:
|
|
3561
|
+
type: Y.dateTime,
|
|
3540
3562
|
pattern: v,
|
|
3541
3563
|
location: h.styleLocation,
|
|
3542
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3564
|
+
parsedOptions: this.shouldParseSkeletons ? zi(v) : {}
|
|
3543
3565
|
}, T = o === "date" ? w.date : w.time;
|
|
3544
3566
|
return {
|
|
3545
3567
|
val: { type: T, value: i, location: g, style: c },
|
|
@@ -3564,39 +3586,39 @@ var fn = (
|
|
|
3564
3586
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3565
3587
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S, x({}, S)));
|
|
3566
3588
|
this.bumpSpace();
|
|
3567
|
-
var
|
|
3568
|
-
if (o !== "select" &&
|
|
3589
|
+
var I = this.parseIdentifierIfPossible(), O = 0;
|
|
3590
|
+
if (o !== "select" && I.value === "offset") {
|
|
3569
3591
|
if (!this.bumpIf(":"))
|
|
3570
3592
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3571
3593
|
this.bumpSpace();
|
|
3572
3594
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3573
3595
|
if (f.err)
|
|
3574
3596
|
return f;
|
|
3575
|
-
this.bumpSpace(),
|
|
3597
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), O = f.val;
|
|
3576
3598
|
}
|
|
3577
|
-
var
|
|
3578
|
-
if (
|
|
3579
|
-
return
|
|
3599
|
+
var C = this.tryParsePluralOrSelectOptions(t, o, r, I);
|
|
3600
|
+
if (C.err)
|
|
3601
|
+
return C;
|
|
3580
3602
|
var p = this.tryParseArgumentClose(n);
|
|
3581
3603
|
if (p.err)
|
|
3582
3604
|
return p;
|
|
3583
|
-
var
|
|
3605
|
+
var se = E(n, this.clonePosition());
|
|
3584
3606
|
return o === "select" ? {
|
|
3585
3607
|
val: {
|
|
3586
3608
|
type: w.select,
|
|
3587
3609
|
value: i,
|
|
3588
|
-
options:
|
|
3589
|
-
location:
|
|
3610
|
+
options: Pt(C.val),
|
|
3611
|
+
location: se
|
|
3590
3612
|
},
|
|
3591
3613
|
err: null
|
|
3592
3614
|
} : {
|
|
3593
3615
|
val: {
|
|
3594
3616
|
type: w.plural,
|
|
3595
3617
|
value: i,
|
|
3596
|
-
options:
|
|
3597
|
-
offset:
|
|
3618
|
+
options: Pt(C.val),
|
|
3619
|
+
offset: O,
|
|
3598
3620
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3599
|
-
location:
|
|
3621
|
+
location: se
|
|
3600
3622
|
},
|
|
3601
3623
|
err: null
|
|
3602
3624
|
};
|
|
@@ -3644,16 +3666,16 @@ var fn = (
|
|
|
3644
3666
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3645
3667
|
var i = [];
|
|
3646
3668
|
try {
|
|
3647
|
-
i =
|
|
3669
|
+
i = Qi(t);
|
|
3648
3670
|
} catch {
|
|
3649
3671
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3650
3672
|
}
|
|
3651
3673
|
return {
|
|
3652
3674
|
val: {
|
|
3653
|
-
type:
|
|
3675
|
+
type: Y.number,
|
|
3654
3676
|
tokens: i,
|
|
3655
3677
|
location: r,
|
|
3656
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3678
|
+
parsedOptions: this.shouldParseSkeletons ? Ki(i) : {}
|
|
3657
3679
|
},
|
|
3658
3680
|
err: null
|
|
3659
3681
|
};
|
|
@@ -3701,7 +3723,7 @@ var fn = (
|
|
|
3701
3723
|
break;
|
|
3702
3724
|
}
|
|
3703
3725
|
var u = E(n, this.clonePosition());
|
|
3704
|
-
return s ? (a *= i,
|
|
3726
|
+
return s ? (a *= i, fn(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3705
3727
|
}, e.prototype.offset = function() {
|
|
3706
3728
|
return this.position.offset;
|
|
3707
3729
|
}, e.prototype.isEOF = function() {
|
|
@@ -3716,7 +3738,7 @@ var fn = (
|
|
|
3716
3738
|
var t = this.position.offset;
|
|
3717
3739
|
if (t >= this.message.length)
|
|
3718
3740
|
throw Error("out of bound");
|
|
3719
|
-
var r =
|
|
3741
|
+
var r = pr(this.message, t);
|
|
3720
3742
|
if (r === void 0)
|
|
3721
3743
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3722
3744
|
return r;
|
|
@@ -3735,7 +3757,7 @@ var fn = (
|
|
|
3735
3757
|
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);
|
|
3736
3758
|
}
|
|
3737
3759
|
}, e.prototype.bumpIf = function(t) {
|
|
3738
|
-
if (
|
|
3760
|
+
if (At(this.message, t, this.offset())) {
|
|
3739
3761
|
for (var r = 0; r < t.length; r++)
|
|
3740
3762
|
this.bump();
|
|
3741
3763
|
return !0;
|
|
@@ -3757,7 +3779,7 @@ var fn = (
|
|
|
3757
3779
|
break;
|
|
3758
3780
|
}
|
|
3759
3781
|
}, e.prototype.bumpSpace = function() {
|
|
3760
|
-
for (; !this.isEOF() &&
|
|
3782
|
+
for (; !this.isEOF() && gr(this.char()); )
|
|
3761
3783
|
this.bump();
|
|
3762
3784
|
}, e.prototype.peek = function() {
|
|
3763
3785
|
if (this.isEOF())
|
|
@@ -3767,43 +3789,43 @@ var fn = (
|
|
|
3767
3789
|
}, e;
|
|
3768
3790
|
}()
|
|
3769
3791
|
);
|
|
3770
|
-
function
|
|
3792
|
+
function et(e) {
|
|
3771
3793
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3772
3794
|
}
|
|
3773
|
-
function
|
|
3774
|
-
return
|
|
3795
|
+
function bn(e) {
|
|
3796
|
+
return et(e) || e === 47;
|
|
3775
3797
|
}
|
|
3776
|
-
function
|
|
3798
|
+
function yn(e) {
|
|
3777
3799
|
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;
|
|
3778
3800
|
}
|
|
3779
|
-
function
|
|
3801
|
+
function gr(e) {
|
|
3780
3802
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3781
3803
|
}
|
|
3782
|
-
function
|
|
3804
|
+
function vn(e) {
|
|
3783
3805
|
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;
|
|
3784
3806
|
}
|
|
3785
|
-
function
|
|
3807
|
+
function tt(e) {
|
|
3786
3808
|
e.forEach(function(t) {
|
|
3787
|
-
if (delete t.location,
|
|
3809
|
+
if (delete t.location, or(t) || ar(t))
|
|
3788
3810
|
for (var r in t.options)
|
|
3789
|
-
delete t.options[r].location,
|
|
3811
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3790
3812
|
else
|
|
3791
|
-
|
|
3813
|
+
ir(t) && lr(t.style) || (nr(t) || sr(t)) && Je(t.style) ? delete t.style.location : ur(t) && tt(t.children);
|
|
3792
3814
|
});
|
|
3793
3815
|
}
|
|
3794
|
-
function
|
|
3816
|
+
function _n(e, t) {
|
|
3795
3817
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3796
|
-
var r = new
|
|
3818
|
+
var r = new gn(e, t).parse();
|
|
3797
3819
|
if (r.err) {
|
|
3798
3820
|
var i = SyntaxError(_[r.err.kind]);
|
|
3799
3821
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3800
3822
|
}
|
|
3801
|
-
return t?.captureLocation ||
|
|
3823
|
+
return t?.captureLocation || tt(r.val), r.val;
|
|
3802
3824
|
}
|
|
3803
|
-
var
|
|
3825
|
+
var K;
|
|
3804
3826
|
(function(e) {
|
|
3805
3827
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3806
|
-
})(
|
|
3828
|
+
})(K || (K = {}));
|
|
3807
3829
|
var Pe = (
|
|
3808
3830
|
/** @class */
|
|
3809
3831
|
function(e) {
|
|
@@ -3816,155 +3838,155 @@ var Pe = (
|
|
|
3816
3838
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3817
3839
|
}, t;
|
|
3818
3840
|
}(Error)
|
|
3819
|
-
),
|
|
3841
|
+
), Ot = (
|
|
3820
3842
|
/** @class */
|
|
3821
3843
|
function(e) {
|
|
3822
3844
|
D(t, e);
|
|
3823
3845
|
function t(r, i, n, s) {
|
|
3824
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3846
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
|
3825
3847
|
}
|
|
3826
3848
|
return t;
|
|
3827
3849
|
}(Pe)
|
|
3828
|
-
),
|
|
3850
|
+
), En = (
|
|
3829
3851
|
/** @class */
|
|
3830
3852
|
function(e) {
|
|
3831
3853
|
D(t, e);
|
|
3832
3854
|
function t(r, i, n) {
|
|
3833
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3855
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
|
|
3834
3856
|
}
|
|
3835
3857
|
return t;
|
|
3836
3858
|
}(Pe)
|
|
3837
|
-
),
|
|
3859
|
+
), xn = (
|
|
3838
3860
|
/** @class */
|
|
3839
3861
|
function(e) {
|
|
3840
3862
|
D(t, e);
|
|
3841
3863
|
function t(r, i) {
|
|
3842
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3864
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
|
|
3843
3865
|
}
|
|
3844
3866
|
return t;
|
|
3845
3867
|
}(Pe)
|
|
3846
|
-
),
|
|
3868
|
+
), P;
|
|
3847
3869
|
(function(e) {
|
|
3848
3870
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3849
|
-
})(
|
|
3850
|
-
function
|
|
3871
|
+
})(P || (P = {}));
|
|
3872
|
+
function wn(e) {
|
|
3851
3873
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3852
3874
|
var i = t[t.length - 1];
|
|
3853
|
-
return !i || i.type !==
|
|
3875
|
+
return !i || i.type !== P.literal || r.type !== P.literal ? t.push(r) : i.value += r.value, t;
|
|
3854
3876
|
}, []);
|
|
3855
3877
|
}
|
|
3856
|
-
function
|
|
3878
|
+
function Ln(e) {
|
|
3857
3879
|
return typeof e == "function";
|
|
3858
3880
|
}
|
|
3859
3881
|
function ve(e, t, r, i, n, s, a) {
|
|
3860
|
-
if (e.length === 1 &&
|
|
3882
|
+
if (e.length === 1 && Lt(e[0]))
|
|
3861
3883
|
return [
|
|
3862
3884
|
{
|
|
3863
|
-
type:
|
|
3885
|
+
type: P.literal,
|
|
3864
3886
|
value: e[0].value
|
|
3865
3887
|
}
|
|
3866
3888
|
];
|
|
3867
3889
|
for (var o = [], u = 0, h = e; u < h.length; u++) {
|
|
3868
3890
|
var l = h[u];
|
|
3869
|
-
if (
|
|
3891
|
+
if (Lt(l)) {
|
|
3870
3892
|
o.push({
|
|
3871
|
-
type:
|
|
3893
|
+
type: P.literal,
|
|
3872
3894
|
value: l.value
|
|
3873
3895
|
});
|
|
3874
3896
|
continue;
|
|
3875
3897
|
}
|
|
3876
|
-
if (
|
|
3898
|
+
if (Xi(l)) {
|
|
3877
3899
|
typeof s == "number" && o.push({
|
|
3878
|
-
type:
|
|
3900
|
+
type: P.literal,
|
|
3879
3901
|
value: r.getNumberFormat(t).format(s)
|
|
3880
3902
|
});
|
|
3881
3903
|
continue;
|
|
3882
3904
|
}
|
|
3883
3905
|
var f = l.value;
|
|
3884
3906
|
if (!(n && f in n))
|
|
3885
|
-
throw new
|
|
3907
|
+
throw new xn(f, a);
|
|
3886
3908
|
var c = n[f];
|
|
3887
|
-
if (
|
|
3909
|
+
if (Vi(l)) {
|
|
3888
3910
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3889
|
-
type: typeof c == "string" ?
|
|
3911
|
+
type: typeof c == "string" ? P.literal : P.object,
|
|
3890
3912
|
value: c
|
|
3891
3913
|
});
|
|
3892
3914
|
continue;
|
|
3893
3915
|
}
|
|
3894
|
-
if (
|
|
3895
|
-
var b = typeof l.style == "string" ? i.date[l.style] :
|
|
3916
|
+
if (nr(l)) {
|
|
3917
|
+
var b = typeof l.style == "string" ? i.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
|
|
3896
3918
|
o.push({
|
|
3897
|
-
type:
|
|
3919
|
+
type: P.literal,
|
|
3898
3920
|
value: r.getDateTimeFormat(t, b).format(c)
|
|
3899
3921
|
});
|
|
3900
3922
|
continue;
|
|
3901
3923
|
}
|
|
3902
|
-
if (
|
|
3903
|
-
var b = typeof l.style == "string" ? i.time[l.style] :
|
|
3924
|
+
if (sr(l)) {
|
|
3925
|
+
var b = typeof l.style == "string" ? i.time[l.style] : Je(l.style) ? l.style.parsedOptions : i.time.medium;
|
|
3904
3926
|
o.push({
|
|
3905
|
-
type:
|
|
3927
|
+
type: P.literal,
|
|
3906
3928
|
value: r.getDateTimeFormat(t, b).format(c)
|
|
3907
3929
|
});
|
|
3908
3930
|
continue;
|
|
3909
3931
|
}
|
|
3910
|
-
if (
|
|
3911
|
-
var b = typeof l.style == "string" ? i.number[l.style] :
|
|
3932
|
+
if (ir(l)) {
|
|
3933
|
+
var b = typeof l.style == "string" ? i.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
|
|
3912
3934
|
b && b.scale && (c = c * (b.scale || 1)), o.push({
|
|
3913
|
-
type:
|
|
3935
|
+
type: P.literal,
|
|
3914
3936
|
value: r.getNumberFormat(t, b).format(c)
|
|
3915
3937
|
});
|
|
3916
3938
|
continue;
|
|
3917
3939
|
}
|
|
3918
|
-
if (
|
|
3940
|
+
if (ur(l)) {
|
|
3919
3941
|
var p = l.children, g = l.value, d = n[g];
|
|
3920
|
-
if (!
|
|
3921
|
-
throw new
|
|
3922
|
-
var v = ve(p, t, r, i, n, s), T = d(v.map(function(
|
|
3923
|
-
return
|
|
3942
|
+
if (!Ln(d))
|
|
3943
|
+
throw new En(g, "function", a);
|
|
3944
|
+
var v = ve(p, t, r, i, n, s), T = d(v.map(function(O) {
|
|
3945
|
+
return O.value;
|
|
3924
3946
|
}));
|
|
3925
|
-
Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(
|
|
3947
|
+
Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(O) {
|
|
3926
3948
|
return {
|
|
3927
|
-
type: typeof
|
|
3928
|
-
value:
|
|
3949
|
+
type: typeof O == "string" ? P.literal : P.object,
|
|
3950
|
+
value: O
|
|
3929
3951
|
};
|
|
3930
3952
|
}));
|
|
3931
3953
|
}
|
|
3932
|
-
if (
|
|
3954
|
+
if (or(l)) {
|
|
3933
3955
|
var S = l.options[c] || l.options.other;
|
|
3934
3956
|
if (!S)
|
|
3935
|
-
throw new
|
|
3957
|
+
throw new Ot(l.value, c, Object.keys(l.options), a);
|
|
3936
3958
|
o.push.apply(o, ve(S.value, t, r, i, n));
|
|
3937
3959
|
continue;
|
|
3938
3960
|
}
|
|
3939
|
-
if (
|
|
3961
|
+
if (ar(l)) {
|
|
3940
3962
|
var S = l.options["=".concat(c)];
|
|
3941
3963
|
if (!S) {
|
|
3942
3964
|
if (!Intl.PluralRules)
|
|
3943
3965
|
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3944
3966
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3945
|
-
`,
|
|
3946
|
-
var
|
|
3947
|
-
S = l.options[
|
|
3967
|
+
`, K.MISSING_INTL_API, a);
|
|
3968
|
+
var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3969
|
+
S = l.options[I] || l.options.other;
|
|
3948
3970
|
}
|
|
3949
3971
|
if (!S)
|
|
3950
|
-
throw new
|
|
3972
|
+
throw new Ot(l.value, c, Object.keys(l.options), a);
|
|
3951
3973
|
o.push.apply(o, ve(S.value, t, r, i, n, c - (l.offset || 0)));
|
|
3952
3974
|
continue;
|
|
3953
3975
|
}
|
|
3954
3976
|
}
|
|
3955
|
-
return
|
|
3977
|
+
return wn(o);
|
|
3956
3978
|
}
|
|
3957
|
-
function
|
|
3979
|
+
function Tn(e, t) {
|
|
3958
3980
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3959
3981
|
return r[i] = x(x({}, e[i]), t[i] || {}), r;
|
|
3960
3982
|
}, {})) : e;
|
|
3961
3983
|
}
|
|
3962
|
-
function
|
|
3984
|
+
function Sn(e, t) {
|
|
3963
3985
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3964
|
-
return r[i] =
|
|
3986
|
+
return r[i] = Tn(e[i], t[i]), r;
|
|
3965
3987
|
}, x({}, e)) : e;
|
|
3966
3988
|
}
|
|
3967
|
-
function
|
|
3989
|
+
function Fe(e) {
|
|
3968
3990
|
return {
|
|
3969
3991
|
create: function() {
|
|
3970
3992
|
return {
|
|
@@ -3978,39 +4000,39 @@ function Ue(e) {
|
|
|
3978
4000
|
}
|
|
3979
4001
|
};
|
|
3980
4002
|
}
|
|
3981
|
-
function
|
|
4003
|
+
function Hn(e) {
|
|
3982
4004
|
return e === void 0 && (e = {
|
|
3983
4005
|
number: {},
|
|
3984
4006
|
dateTime: {},
|
|
3985
4007
|
pluralRules: {}
|
|
3986
4008
|
}), {
|
|
3987
|
-
getNumberFormat:
|
|
4009
|
+
getNumberFormat: Ge(function() {
|
|
3988
4010
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3989
4011
|
r[i] = arguments[i];
|
|
3990
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4012
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
|
3991
4013
|
}, {
|
|
3992
|
-
cache:
|
|
3993
|
-
strategy:
|
|
4014
|
+
cache: Fe(e.number),
|
|
4015
|
+
strategy: Ue.variadic
|
|
3994
4016
|
}),
|
|
3995
|
-
getDateTimeFormat:
|
|
4017
|
+
getDateTimeFormat: Ge(function() {
|
|
3996
4018
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3997
4019
|
r[i] = arguments[i];
|
|
3998
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4020
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
|
3999
4021
|
}, {
|
|
4000
|
-
cache:
|
|
4001
|
-
strategy:
|
|
4022
|
+
cache: Fe(e.dateTime),
|
|
4023
|
+
strategy: Ue.variadic
|
|
4002
4024
|
}),
|
|
4003
|
-
getPluralRules:
|
|
4025
|
+
getPluralRules: Ge(function() {
|
|
4004
4026
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
4005
4027
|
r[i] = arguments[i];
|
|
4006
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4028
|
+
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
|
4007
4029
|
}, {
|
|
4008
|
-
cache:
|
|
4009
|
-
strategy:
|
|
4030
|
+
cache: Fe(e.pluralRules),
|
|
4031
|
+
strategy: Ue.variadic
|
|
4010
4032
|
})
|
|
4011
4033
|
};
|
|
4012
4034
|
}
|
|
4013
|
-
var
|
|
4035
|
+
var An = (
|
|
4014
4036
|
/** @class */
|
|
4015
4037
|
function() {
|
|
4016
4038
|
function e(t, r, i, n) {
|
|
@@ -4025,7 +4047,7 @@ var Ln = (
|
|
|
4025
4047
|
if (h.length === 1)
|
|
4026
4048
|
return h[0].value;
|
|
4027
4049
|
var l = h.reduce(function(f, c) {
|
|
4028
|
-
return !f.length || c.type !==
|
|
4050
|
+
return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4029
4051
|
}, []);
|
|
4030
4052
|
return l.length <= 1 ? l[0] || "" : l;
|
|
4031
4053
|
}, this.formatToParts = function(u) {
|
|
@@ -4042,13 +4064,13 @@ var Ln = (
|
|
|
4042
4064
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4043
4065
|
var a = n || {};
|
|
4044
4066
|
a.formatters;
|
|
4045
|
-
var o =
|
|
4067
|
+
var o = oi(a, ["formatters"]);
|
|
4046
4068
|
this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
|
|
4047
4069
|
} else
|
|
4048
4070
|
this.ast = t;
|
|
4049
4071
|
if (!Array.isArray(this.ast))
|
|
4050
4072
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4051
|
-
this.formats =
|
|
4073
|
+
this.formats = Sn(e.formats, i), this.formatters = n && n.formatters || Hn(this.formatterCache);
|
|
4052
4074
|
}
|
|
4053
4075
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4054
4076
|
get: function() {
|
|
@@ -4061,7 +4083,7 @@ var Ln = (
|
|
|
4061
4083
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4062
4084
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4063
4085
|
}
|
|
4064
|
-
}, e.__parse =
|
|
4086
|
+
}, e.__parse = _n, e.formats = {
|
|
4065
4087
|
number: {
|
|
4066
4088
|
integer: {
|
|
4067
4089
|
maximumFractionDigits: 0
|
|
@@ -4122,7 +4144,7 @@ var Ln = (
|
|
|
4122
4144
|
}, e;
|
|
4123
4145
|
}()
|
|
4124
4146
|
);
|
|
4125
|
-
function
|
|
4147
|
+
function Pn(e, t) {
|
|
4126
4148
|
if (t == null)
|
|
4127
4149
|
return;
|
|
4128
4150
|
if (t in e)
|
|
@@ -4143,92 +4165,92 @@ function Tn(e, t) {
|
|
|
4143
4165
|
i = void 0;
|
|
4144
4166
|
return i;
|
|
4145
4167
|
}
|
|
4146
|
-
const U = {},
|
|
4168
|
+
const U = {}, Bn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), br = (e, t) => {
|
|
4147
4169
|
if (t == null)
|
|
4148
4170
|
return;
|
|
4149
4171
|
if (t in U && e in U[t])
|
|
4150
4172
|
return U[t][e];
|
|
4151
4173
|
const r = Be(t);
|
|
4152
4174
|
for (let i = 0; i < r.length; i++) {
|
|
4153
|
-
const n = r[i], s =
|
|
4175
|
+
const n = r[i], s = Mn(n, e);
|
|
4154
4176
|
if (s)
|
|
4155
|
-
return
|
|
4177
|
+
return Bn(e, t, s);
|
|
4156
4178
|
}
|
|
4157
4179
|
};
|
|
4158
|
-
let
|
|
4180
|
+
let ut;
|
|
4159
4181
|
const me = Ae({});
|
|
4160
|
-
function
|
|
4161
|
-
return
|
|
4182
|
+
function On(e) {
|
|
4183
|
+
return ut[e] || null;
|
|
4162
4184
|
}
|
|
4163
|
-
function
|
|
4164
|
-
return e in
|
|
4185
|
+
function yr(e) {
|
|
4186
|
+
return e in ut;
|
|
4165
4187
|
}
|
|
4166
|
-
function
|
|
4167
|
-
if (!
|
|
4188
|
+
function Mn(e, t) {
|
|
4189
|
+
if (!yr(e))
|
|
4168
4190
|
return null;
|
|
4169
|
-
const r =
|
|
4170
|
-
return
|
|
4191
|
+
const r = On(e);
|
|
4192
|
+
return Pn(r, t);
|
|
4171
4193
|
}
|
|
4172
|
-
function
|
|
4194
|
+
function In(e) {
|
|
4173
4195
|
if (e == null)
|
|
4174
4196
|
return;
|
|
4175
4197
|
const t = Be(e);
|
|
4176
4198
|
for (let r = 0; r < t.length; r++) {
|
|
4177
4199
|
const i = t[r];
|
|
4178
|
-
if (
|
|
4200
|
+
if (yr(i))
|
|
4179
4201
|
return i;
|
|
4180
4202
|
}
|
|
4181
4203
|
}
|
|
4182
|
-
function
|
|
4183
|
-
delete U[e], me.update((r) => (r[e] =
|
|
4204
|
+
function vr(e, ...t) {
|
|
4205
|
+
delete U[e], me.update((r) => (r[e] = Di.all([r[e] || {}, ...t]), r));
|
|
4184
4206
|
}
|
|
4185
|
-
|
|
4207
|
+
re(
|
|
4186
4208
|
[me],
|
|
4187
4209
|
([e]) => Object.keys(e)
|
|
4188
4210
|
);
|
|
4189
|
-
me.subscribe((e) =>
|
|
4211
|
+
me.subscribe((e) => ut = e);
|
|
4190
4212
|
const _e = {};
|
|
4191
|
-
function
|
|
4213
|
+
function Cn(e, t) {
|
|
4192
4214
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4193
4215
|
}
|
|
4194
|
-
function
|
|
4216
|
+
function _r(e) {
|
|
4195
4217
|
return _e[e];
|
|
4196
4218
|
}
|
|
4197
|
-
function
|
|
4219
|
+
function Nn(e) {
|
|
4198
4220
|
return Be(e).map((t) => {
|
|
4199
|
-
const r =
|
|
4221
|
+
const r = _r(t);
|
|
4200
4222
|
return [t, r ? [...r] : []];
|
|
4201
4223
|
}).filter(([, t]) => t.length > 0);
|
|
4202
4224
|
}
|
|
4203
|
-
function
|
|
4225
|
+
function rt(e) {
|
|
4204
4226
|
return e == null ? !1 : Be(e).some(
|
|
4205
4227
|
(t) => {
|
|
4206
4228
|
var r;
|
|
4207
|
-
return (r =
|
|
4229
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4208
4230
|
}
|
|
4209
4231
|
);
|
|
4210
4232
|
}
|
|
4211
|
-
function
|
|
4233
|
+
function Rn(e, t) {
|
|
4212
4234
|
return Promise.all(
|
|
4213
|
-
t.map((i) => (
|
|
4214
|
-
).then((i) =>
|
|
4235
|
+
t.map((i) => (Cn(e, i), i().then((n) => n.default || n)))
|
|
4236
|
+
).then((i) => vr(e, ...i));
|
|
4215
4237
|
}
|
|
4216
4238
|
const ae = {};
|
|
4217
|
-
function
|
|
4218
|
-
if (!
|
|
4239
|
+
function Er(e) {
|
|
4240
|
+
if (!rt(e))
|
|
4219
4241
|
return e in ae ? ae[e] : Promise.resolve();
|
|
4220
|
-
const t =
|
|
4242
|
+
const t = Nn(e);
|
|
4221
4243
|
return ae[e] = Promise.all(
|
|
4222
4244
|
t.map(
|
|
4223
|
-
([r, i]) =>
|
|
4245
|
+
([r, i]) => Rn(r, i)
|
|
4224
4246
|
)
|
|
4225
4247
|
).then(() => {
|
|
4226
|
-
if (
|
|
4227
|
-
return
|
|
4248
|
+
if (rt(e))
|
|
4249
|
+
return Er(e);
|
|
4228
4250
|
delete ae[e];
|
|
4229
4251
|
}), ae[e];
|
|
4230
4252
|
}
|
|
4231
|
-
const
|
|
4253
|
+
const Dn = {
|
|
4232
4254
|
number: {
|
|
4233
4255
|
scientific: { notation: "scientific" },
|
|
4234
4256
|
engineering: { notation: "engineering" },
|
|
@@ -4257,57 +4279,57 @@ const Mn = {
|
|
|
4257
4279
|
timeZoneName: "short"
|
|
4258
4280
|
}
|
|
4259
4281
|
}
|
|
4260
|
-
},
|
|
4282
|
+
}, Gn = {
|
|
4261
4283
|
fallbackLocale: null,
|
|
4262
4284
|
loadingDelay: 200,
|
|
4263
|
-
formats:
|
|
4285
|
+
formats: Dn,
|
|
4264
4286
|
warnOnMissingMessages: !0,
|
|
4265
4287
|
handleMissingMessage: void 0,
|
|
4266
4288
|
ignoreTag: !0
|
|
4267
|
-
},
|
|
4268
|
-
function
|
|
4269
|
-
return
|
|
4289
|
+
}, Un = Gn;
|
|
4290
|
+
function ee() {
|
|
4291
|
+
return Un;
|
|
4270
4292
|
}
|
|
4271
|
-
const
|
|
4272
|
-
var
|
|
4293
|
+
const je = Ae(!1);
|
|
4294
|
+
var $n = Object.defineProperty, Fn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
|
|
4273
4295
|
for (var r in t || (t = {}))
|
|
4274
|
-
|
|
4275
|
-
if (
|
|
4276
|
-
for (var r of
|
|
4277
|
-
|
|
4296
|
+
kn.call(t, r) && It(e, r, t[r]);
|
|
4297
|
+
if (Mt)
|
|
4298
|
+
for (var r of Mt(t))
|
|
4299
|
+
Vn.call(t, r) && It(e, r, t[r]);
|
|
4278
4300
|
return e;
|
|
4279
|
-
},
|
|
4280
|
-
let
|
|
4301
|
+
}, Wn = (e, t) => Fn(e, jn(t));
|
|
4302
|
+
let it;
|
|
4281
4303
|
const Le = Ae(null);
|
|
4282
|
-
function
|
|
4304
|
+
function Ct(e) {
|
|
4283
4305
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
4284
4306
|
}
|
|
4285
|
-
function Be(e, t =
|
|
4286
|
-
const r =
|
|
4287
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4307
|
+
function Be(e, t = ee().fallbackLocale) {
|
|
4308
|
+
const r = Ct(e);
|
|
4309
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4288
4310
|
}
|
|
4289
4311
|
function j() {
|
|
4290
|
-
return
|
|
4312
|
+
return it ?? void 0;
|
|
4291
4313
|
}
|
|
4292
4314
|
Le.subscribe((e) => {
|
|
4293
|
-
|
|
4315
|
+
it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4294
4316
|
});
|
|
4295
|
-
const
|
|
4296
|
-
if (e &&
|
|
4297
|
-
const { loadingDelay: t } =
|
|
4317
|
+
const zn = (e) => {
|
|
4318
|
+
if (e && In(e) && rt(e)) {
|
|
4319
|
+
const { loadingDelay: t } = ee();
|
|
4298
4320
|
let r;
|
|
4299
4321
|
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
|
4300
|
-
() =>
|
|
4322
|
+
() => je.set(!0),
|
|
4301
4323
|
t
|
|
4302
|
-
) :
|
|
4324
|
+
) : je.set(!0), Er(e).then(() => {
|
|
4303
4325
|
Le.set(e);
|
|
4304
4326
|
}).finally(() => {
|
|
4305
|
-
clearTimeout(r),
|
|
4327
|
+
clearTimeout(r), je.set(!1);
|
|
4306
4328
|
});
|
|
4307
4329
|
}
|
|
4308
4330
|
return Le.set(e);
|
|
4309
|
-
},
|
|
4310
|
-
set:
|
|
4331
|
+
}, ie = Wn(Xn({}, Le), {
|
|
4332
|
+
set: zn
|
|
4311
4333
|
}), Oe = (e) => {
|
|
4312
4334
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4313
4335
|
return (i) => {
|
|
@@ -4315,77 +4337,77 @@ const kn = (e) => {
|
|
|
4315
4337
|
return n in t ? t[n] : t[n] = e(i);
|
|
4316
4338
|
};
|
|
4317
4339
|
};
|
|
4318
|
-
var
|
|
4340
|
+
var Zn = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4319
4341
|
for (var r in t || (t = {}))
|
|
4320
|
-
|
|
4342
|
+
xr.call(t, r) && Nt(e, r, t[r]);
|
|
4321
4343
|
if (Te)
|
|
4322
4344
|
for (var r of Te(t))
|
|
4323
|
-
|
|
4345
|
+
wr.call(t, r) && Nt(e, r, t[r]);
|
|
4324
4346
|
return e;
|
|
4325
|
-
},
|
|
4347
|
+
}, ne = (e, t) => {
|
|
4326
4348
|
var r = {};
|
|
4327
4349
|
for (var i in e)
|
|
4328
|
-
|
|
4350
|
+
xr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
4329
4351
|
if (e != null && Te)
|
|
4330
4352
|
for (var i of Te(e))
|
|
4331
|
-
t.indexOf(i) < 0 &&
|
|
4353
|
+
t.indexOf(i) < 0 && wr.call(e, i) && (r[i] = e[i]);
|
|
4332
4354
|
return r;
|
|
4333
4355
|
};
|
|
4334
4356
|
const fe = (e, t) => {
|
|
4335
|
-
const { formats: r } =
|
|
4357
|
+
const { formats: r } = ee();
|
|
4336
4358
|
if (e in r && t in r[e])
|
|
4337
4359
|
return r[e][t];
|
|
4338
4360
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4339
|
-
},
|
|
4361
|
+
}, Qn = Oe(
|
|
4340
4362
|
(e) => {
|
|
4341
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4363
|
+
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4342
4364
|
if (r == null)
|
|
4343
4365
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4344
4366
|
return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
|
|
4345
4367
|
}
|
|
4346
|
-
),
|
|
4368
|
+
), Jn = Oe(
|
|
4347
4369
|
(e) => {
|
|
4348
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4370
|
+
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4349
4371
|
if (r == null)
|
|
4350
4372
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4351
4373
|
return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
4352
4374
|
}
|
|
4353
|
-
),
|
|
4375
|
+
), qn = Oe(
|
|
4354
4376
|
(e) => {
|
|
4355
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
4377
|
+
var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
|
|
4356
4378
|
if (r == null)
|
|
4357
4379
|
throw new Error(
|
|
4358
4380
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4359
4381
|
);
|
|
4360
4382
|
return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
4361
4383
|
}
|
|
4362
|
-
),
|
|
4384
|
+
), Yn = (e = {}) => {
|
|
4363
4385
|
var t = e, {
|
|
4364
4386
|
locale: r = j()
|
|
4365
|
-
} = t, i =
|
|
4387
|
+
} = t, i = ne(t, [
|
|
4366
4388
|
"locale"
|
|
4367
4389
|
]);
|
|
4368
|
-
return
|
|
4369
|
-
},
|
|
4390
|
+
return Qn(lt({ locale: r }, i));
|
|
4391
|
+
}, Kn = (e = {}) => {
|
|
4370
4392
|
var t = e, {
|
|
4371
4393
|
locale: r = j()
|
|
4372
|
-
} = t, i =
|
|
4394
|
+
} = t, i = ne(t, [
|
|
4373
4395
|
"locale"
|
|
4374
4396
|
]);
|
|
4375
|
-
return
|
|
4376
|
-
},
|
|
4397
|
+
return Jn(lt({ locale: r }, i));
|
|
4398
|
+
}, es = (e = {}) => {
|
|
4377
4399
|
var t = e, {
|
|
4378
4400
|
locale: r = j()
|
|
4379
|
-
} = t, i =
|
|
4401
|
+
} = t, i = ne(t, [
|
|
4380
4402
|
"locale"
|
|
4381
4403
|
]);
|
|
4382
|
-
return
|
|
4383
|
-
},
|
|
4404
|
+
return qn(lt({ locale: r }, i));
|
|
4405
|
+
}, ts = Oe(
|
|
4384
4406
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4385
|
-
(e, t = j()) => new
|
|
4386
|
-
ignoreTag:
|
|
4407
|
+
(e, t = j()) => new An(e, t, ee().formats, {
|
|
4408
|
+
ignoreTag: ee().ignoreTag
|
|
4387
4409
|
})
|
|
4388
|
-
),
|
|
4410
|
+
), rs = (e, t = {}) => {
|
|
4389
4411
|
var r, i, n, s;
|
|
4390
4412
|
let a = t;
|
|
4391
4413
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4398,9 +4420,9 @@ const fe = (e, t) => {
|
|
|
4398
4420
|
throw new Error(
|
|
4399
4421
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4400
4422
|
);
|
|
4401
|
-
let l =
|
|
4423
|
+
let l = br(e, u);
|
|
4402
4424
|
if (!l)
|
|
4403
|
-
l = (s = (n = (i = (r =
|
|
4425
|
+
l = (s = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: h })) != null ? n : h) != null ? s : e;
|
|
4404
4426
|
else if (typeof l != "string")
|
|
4405
4427
|
return console.warn(
|
|
4406
4428
|
`[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.`
|
|
@@ -4409,7 +4431,7 @@ const fe = (e, t) => {
|
|
|
4409
4431
|
return l;
|
|
4410
4432
|
let f = l;
|
|
4411
4433
|
try {
|
|
4412
|
-
f =
|
|
4434
|
+
f = ts(l, u).format(o);
|
|
4413
4435
|
} catch (c) {
|
|
4414
4436
|
c instanceof Error && console.warn(
|
|
4415
4437
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4417,20 +4439,20 @@ const fe = (e, t) => {
|
|
|
4417
4439
|
);
|
|
4418
4440
|
}
|
|
4419
4441
|
return f;
|
|
4420
|
-
},
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
window.emWidgets = { topic:
|
|
4426
|
-
const
|
|
4427
|
-
function
|
|
4428
|
-
|
|
4429
|
-
}
|
|
4430
|
-
function
|
|
4431
|
-
|
|
4432
|
-
}
|
|
4433
|
-
const
|
|
4442
|
+
}, is = (e, t) => es(t).format(e), ns = (e, t) => Kn(t).format(e), ss = (e, t) => Yn(t).format(e), os = (e, t = j()) => br(e, t), as = re([ie, me], () => rs);
|
|
4443
|
+
re([ie], () => is);
|
|
4444
|
+
re([ie], () => ns);
|
|
4445
|
+
re([ie], () => ss);
|
|
4446
|
+
re([ie, me], () => os);
|
|
4447
|
+
window.emWidgets = { topic: _i };
|
|
4448
|
+
const us = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4449
|
+
function Rt(e, t) {
|
|
4450
|
+
vr(e, t);
|
|
4451
|
+
}
|
|
4452
|
+
function ls(e) {
|
|
4453
|
+
ie.set(e);
|
|
4454
|
+
}
|
|
4455
|
+
const Dt = {
|
|
4434
4456
|
en: {
|
|
4435
4457
|
returnToMenu: "Return to menu",
|
|
4436
4458
|
gamingLimitsText: "Gaming limits",
|
|
@@ -4520,13 +4542,13 @@ const Mt = {
|
|
|
4520
4542
|
lossLimit: "Loss Limit"
|
|
4521
4543
|
}
|
|
4522
4544
|
};
|
|
4523
|
-
function
|
|
4545
|
+
function hs(e, t) {
|
|
4524
4546
|
if (e) {
|
|
4525
4547
|
const r = document.createElement("style");
|
|
4526
4548
|
r.innerHTML = t, e.appendChild(r);
|
|
4527
4549
|
}
|
|
4528
4550
|
}
|
|
4529
|
-
function
|
|
4551
|
+
function cs(e, t) {
|
|
4530
4552
|
const r = new URL(t);
|
|
4531
4553
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4532
4554
|
const n = document.createElement("style");
|
|
@@ -4535,7 +4557,7 @@ function as(e, t) {
|
|
|
4535
4557
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4536
4558
|
});
|
|
4537
4559
|
}
|
|
4538
|
-
function
|
|
4560
|
+
function fs(e, t, r) {
|
|
4539
4561
|
if (window.emMessageBus) {
|
|
4540
4562
|
const i = document.createElement("style");
|
|
4541
4563
|
window.emMessageBus.subscribe(t, (n) => {
|
|
@@ -4555,21 +4577,21 @@ if (typeof window < "u") {
|
|
|
4555
4577
|
}
|
|
4556
4578
|
};
|
|
4557
4579
|
};
|
|
4558
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-
|
|
4580
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-BI5cYNPR.js").then(({ default: t }) => {
|
|
4559
4581
|
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
4560
4582
|
"player-account-gaming-limits-info-card",
|
|
4561
4583
|
t.element
|
|
4562
4584
|
);
|
|
4563
4585
|
});
|
|
4564
4586
|
}
|
|
4565
|
-
function
|
|
4566
|
-
|
|
4587
|
+
function ms(e) {
|
|
4588
|
+
Cr(e, "svelte-4tnj1c", '.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4567
4589
|
}
|
|
4568
|
-
function
|
|
4590
|
+
function ps(e) {
|
|
4569
4591
|
let t;
|
|
4570
4592
|
return {
|
|
4571
4593
|
c() {
|
|
4572
|
-
t =
|
|
4594
|
+
t = B("player-account-gaming-limits-group-edit"), m(
|
|
4573
4595
|
t,
|
|
4574
4596
|
"limitsdata",
|
|
4575
4597
|
/*editLimitData*/
|
|
@@ -4622,7 +4644,7 @@ function hs(e) {
|
|
|
4622
4644
|
);
|
|
4623
4645
|
},
|
|
4624
4646
|
m(r, i) {
|
|
4625
|
-
|
|
4647
|
+
te(r, t, i);
|
|
4626
4648
|
},
|
|
4627
4649
|
p(r, i) {
|
|
4628
4650
|
i & /*editLimitData*/
|
|
@@ -4692,23 +4714,23 @@ function hs(e) {
|
|
|
4692
4714
|
}
|
|
4693
4715
|
};
|
|
4694
4716
|
}
|
|
4695
|
-
function
|
|
4717
|
+
function ds(e) {
|
|
4696
4718
|
let t, r, i, n = (
|
|
4697
4719
|
/*$_*/
|
|
4698
4720
|
e[17]("gamingLimitsText") + ""
|
|
4699
4721
|
), s, a, o, u, h, l, f, c, b, p, g = (
|
|
4700
4722
|
/*isMobile*/
|
|
4701
|
-
e[18] &&
|
|
4723
|
+
e[18] && bs(e)
|
|
4702
4724
|
);
|
|
4703
4725
|
return {
|
|
4704
4726
|
c() {
|
|
4705
|
-
t =
|
|
4727
|
+
t = B("div"), g && g.c(), r = W(), i = B("h2"), s = le(n), a = W(), o = B("div"), u = B("player-account-gaming-limits-info-card"), h = W(), l = B("player-account-gaming-limits-info-card"), f = W(), c = B("player-account-gaming-limits-info-card"), b = W(), p = B("player-account-gaming-limits-info-card"), H(i, "class", "PlayerGamingLimitsTitle " + /*isMobile*/
|
|
4706
4728
|
(e[18] ? "PlayerGamingLimitsTitleNone" : "")), m(
|
|
4707
4729
|
u,
|
|
4708
4730
|
"limitsdata",
|
|
4709
4731
|
/*depositlimit*/
|
|
4710
4732
|
e[1]
|
|
4711
|
-
), m(u, "limitname",
|
|
4733
|
+
), m(u, "limitname", vs), m(
|
|
4712
4734
|
u,
|
|
4713
4735
|
"currency",
|
|
4714
4736
|
/*currency*/
|
|
@@ -4738,7 +4760,7 @@ function cs(e) {
|
|
|
4738
4760
|
"limitsdata",
|
|
4739
4761
|
/*wageringlimit*/
|
|
4740
4762
|
e[2]
|
|
4741
|
-
), m(l, "limitname",
|
|
4763
|
+
), m(l, "limitname", _s), m(
|
|
4742
4764
|
l,
|
|
4743
4765
|
"currency",
|
|
4744
4766
|
/*currency*/
|
|
@@ -4768,7 +4790,7 @@ function cs(e) {
|
|
|
4768
4790
|
"limitsdata",
|
|
4769
4791
|
/*losslimit*/
|
|
4770
4792
|
e[3]
|
|
4771
|
-
), m(c, "limitname",
|
|
4793
|
+
), m(c, "limitname", Es), m(
|
|
4772
4794
|
c,
|
|
4773
4795
|
"currency",
|
|
4774
4796
|
/*currency*/
|
|
@@ -4798,7 +4820,7 @@ function cs(e) {
|
|
|
4798
4820
|
"limitsdata",
|
|
4799
4821
|
/*timelimit*/
|
|
4800
4822
|
e[4]
|
|
4801
|
-
), m(p, "limitname",
|
|
4823
|
+
), m(p, "limitname", xs), m(
|
|
4802
4824
|
p,
|
|
4803
4825
|
"currency",
|
|
4804
4826
|
/*currency*/
|
|
@@ -4829,13 +4851,13 @@ function cs(e) {
|
|
|
4829
4851
|
e[18] ? "PlayerAccountTabletGamingLimitsWrapper" : ""));
|
|
4830
4852
|
},
|
|
4831
4853
|
m(d, v) {
|
|
4832
|
-
|
|
4854
|
+
te(d, t, v), g && g.m(t, null), L(t, r), L(t, i), L(i, s), L(t, a), L(t, o), L(o, u), L(o, h), L(o, l), L(o, f), L(o, c), L(o, b), L(o, p);
|
|
4833
4855
|
},
|
|
4834
4856
|
p(d, v) {
|
|
4835
4857
|
/*isMobile*/
|
|
4836
4858
|
d[18] && g.p(d, v), v & /*$_*/
|
|
4837
4859
|
131072 && n !== (n = /*$_*/
|
|
4838
|
-
d[17]("gamingLimitsText") + "") &&
|
|
4860
|
+
d[17]("gamingLimitsText") + "") && Xt(s, n), v & /*depositlimit*/
|
|
4839
4861
|
2 && m(
|
|
4840
4862
|
u,
|
|
4841
4863
|
"limitsdata",
|
|
@@ -4986,32 +5008,32 @@ function cs(e) {
|
|
|
4986
5008
|
}
|
|
4987
5009
|
};
|
|
4988
5010
|
}
|
|
4989
|
-
function
|
|
5011
|
+
function gs(e) {
|
|
4990
5012
|
let t;
|
|
4991
5013
|
return {
|
|
4992
5014
|
c() {
|
|
4993
|
-
t =
|
|
5015
|
+
t = B("div"), H(t, "class", "ModalLoader");
|
|
4994
5016
|
},
|
|
4995
5017
|
m(r, i) {
|
|
4996
|
-
|
|
5018
|
+
te(r, t, i);
|
|
4997
5019
|
},
|
|
4998
|
-
p:
|
|
5020
|
+
p: M,
|
|
4999
5021
|
d(r) {
|
|
5000
5022
|
r && $(t);
|
|
5001
5023
|
}
|
|
5002
5024
|
};
|
|
5003
5025
|
}
|
|
5004
|
-
function
|
|
5026
|
+
function bs(e) {
|
|
5005
5027
|
let t, r, i, n, s, a, o, u, h, l, f = (
|
|
5006
5028
|
/*$_*/
|
|
5007
5029
|
e[17]("gamingLimitsText") + ""
|
|
5008
5030
|
), c, b, p;
|
|
5009
5031
|
return {
|
|
5010
5032
|
c() {
|
|
5011
|
-
t =
|
|
5033
|
+
t = B("div"), r = k("svg"), i = k("defs"), n = k("style"), s = le(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), a = k("g"), o = k("g"), u = k("path"), h = W(), l = B("h2"), c = le(f), H(u, "class", "aaa"), H(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), H(u, "transform", "translate(15 15) rotate(180)"), H(o, "transform", "translate(20 158)"), H(a, "transform", "translate(-20 -158)"), H(r, "xmlns", "http://www.w3.org/2000/svg"), H(r, "width", "15"), H(r, "height", "15"), H(r, "viewBox", "0 0 15 15"), H(l, "class", "PlayerGamingLimitsTitleMobile"), H(t, "class", "MenuReturnButton");
|
|
5012
5034
|
},
|
|
5013
5035
|
m(g, d) {
|
|
5014
|
-
|
|
5036
|
+
te(g, t, d), L(t, r), L(r, i), L(i, n), L(n, s), L(r, a), L(a, o), L(o, u), L(t, h), L(t, l), L(l, c), b || (p = Rr(
|
|
5015
5037
|
t,
|
|
5016
5038
|
"click",
|
|
5017
5039
|
/*click_handler*/
|
|
@@ -5021,81 +5043,81 @@ function ms(e) {
|
|
|
5021
5043
|
p(g, d) {
|
|
5022
5044
|
d & /*$_*/
|
|
5023
5045
|
131072 && f !== (f = /*$_*/
|
|
5024
|
-
g[17]("gamingLimitsText") + "") &&
|
|
5046
|
+
g[17]("gamingLimitsText") + "") && Xt(c, f);
|
|
5025
5047
|
},
|
|
5026
5048
|
d(g) {
|
|
5027
5049
|
g && $(t), b = !1, p();
|
|
5028
5050
|
}
|
|
5029
5051
|
};
|
|
5030
5052
|
}
|
|
5031
|
-
function
|
|
5053
|
+
function ys(e) {
|
|
5032
5054
|
let t;
|
|
5033
5055
|
function r(s, a) {
|
|
5034
5056
|
return (
|
|
5035
5057
|
/*isLoading*/
|
|
5036
|
-
s[13] ?
|
|
5058
|
+
s[13] ? gs : (
|
|
5037
5059
|
/*limitsGroupView*/
|
|
5038
|
-
s[16] ?
|
|
5060
|
+
s[16] ? ds : ps
|
|
5039
5061
|
)
|
|
5040
5062
|
);
|
|
5041
5063
|
}
|
|
5042
5064
|
let i = r(e), n = i(e);
|
|
5043
5065
|
return {
|
|
5044
5066
|
c() {
|
|
5045
|
-
t =
|
|
5067
|
+
t = B("div"), n.c();
|
|
5046
5068
|
},
|
|
5047
5069
|
m(s, a) {
|
|
5048
|
-
|
|
5070
|
+
te(s, t, a), n.m(t, null), e[23](t);
|
|
5049
5071
|
},
|
|
5050
5072
|
p(s, [a]) {
|
|
5051
5073
|
i === (i = r(s)) && n ? n.p(s, a) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
|
|
5052
5074
|
},
|
|
5053
|
-
i:
|
|
5054
|
-
o:
|
|
5075
|
+
i: M,
|
|
5076
|
+
o: M,
|
|
5055
5077
|
d(s) {
|
|
5056
5078
|
s && $(t), n.d(), e[23](null);
|
|
5057
5079
|
}
|
|
5058
5080
|
};
|
|
5059
5081
|
}
|
|
5060
|
-
let
|
|
5061
|
-
function
|
|
5082
|
+
let vs = "Deposit Limit", _s = "Wagering Limit", Es = "Loss Limit", xs = "Time Limit";
|
|
5083
|
+
function ws(e, t, r) {
|
|
5062
5084
|
let i;
|
|
5063
|
-
|
|
5085
|
+
Or(e, as, (y) => r(17, i = y));
|
|
5064
5086
|
let { depositlimit: n } = t, { wageringlimit: s } = t, { losslimit: a } = t, { timelimit: o } = t, { showdeletenotification: u = !1 } = t, { showsuccessnotification: h = !1 } = t, { lang: l = "en" } = t, { currency: f = "" } = t, { separatelimits: c = "true" } = t, { clientstyling: b = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: g } = t, { translationurl: d = "" } = t;
|
|
5065
5087
|
const v = () => {
|
|
5066
5088
|
fetch(d).then((G) => G.json()).then((G) => {
|
|
5067
|
-
Object.keys(G).forEach((
|
|
5068
|
-
|
|
5089
|
+
Object.keys(G).forEach((ft) => {
|
|
5090
|
+
Rt(ft, G[ft]);
|
|
5069
5091
|
});
|
|
5070
5092
|
}).catch((G) => {
|
|
5071
5093
|
console.log(G);
|
|
5072
5094
|
});
|
|
5073
5095
|
};
|
|
5074
|
-
Object.keys(
|
|
5075
|
-
|
|
5096
|
+
Object.keys(Dt).forEach((y) => {
|
|
5097
|
+
Rt(y, Dt[y]);
|
|
5076
5098
|
});
|
|
5077
|
-
let T, S = !0,
|
|
5078
|
-
const
|
|
5099
|
+
let T, S, I = !0, O = window.navigator.userAgent, C = us(O) !== "PC", se, Me = "", Ie = !0;
|
|
5100
|
+
const Lr = window.matchMedia("(min-width: 768px)"), ht = () => {
|
|
5079
5101
|
window.postMessage(
|
|
5080
5102
|
{
|
|
5081
5103
|
type: "PlayerAccountMenuActive",
|
|
5082
|
-
isMobile:
|
|
5104
|
+
isMobile: C
|
|
5083
5105
|
},
|
|
5084
5106
|
window.location.href
|
|
5085
5107
|
);
|
|
5086
|
-
},
|
|
5087
|
-
|
|
5088
|
-
},
|
|
5108
|
+
}, Tr = () => {
|
|
5109
|
+
ls(l);
|
|
5110
|
+
}, ct = (y) => {
|
|
5089
5111
|
if (y.data)
|
|
5090
5112
|
switch (y.data.type) {
|
|
5091
5113
|
case "PlayerLimitsData":
|
|
5092
|
-
r(0, l = y.data.limits.lang), r(1, n = y.data.limits.depositlimit), r(2, s = y.data.limits.wageringlimit), r(3, a = y.data.limits.losslimit), r(4, o = y.data.limits.timelimit), r(13,
|
|
5114
|
+
r(0, l = y.data.limits.lang), r(1, n = y.data.limits.depositlimit), r(2, s = y.data.limits.wageringlimit), r(3, a = y.data.limits.losslimit), r(4, o = y.data.limits.timelimit), r(13, I = !1);
|
|
5093
5115
|
break;
|
|
5094
5116
|
case "EditPlayerAccountGamingLimits":
|
|
5095
|
-
r(14,
|
|
5117
|
+
r(14, se = y.data.edit), r(15, Me = y.data.name), r(16, Ie = !1), window.postMessage(
|
|
5096
5118
|
{
|
|
5097
5119
|
type: "EditPlayerLimit",
|
|
5098
|
-
name:
|
|
5120
|
+
name: Me
|
|
5099
5121
|
},
|
|
5100
5122
|
window.location.href
|
|
5101
5123
|
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
@@ -5109,12 +5131,12 @@ function vs(e, t, r) {
|
|
|
5109
5131
|
break;
|
|
5110
5132
|
}
|
|
5111
5133
|
};
|
|
5112
|
-
|
|
5113
|
-
window.removeEventListener("message",
|
|
5134
|
+
Xr(() => (window.addEventListener("message", ct, !1), () => {
|
|
5135
|
+
window.emMessageBus && S && S.unsubscribe(), window.removeEventListener("message", ct);
|
|
5114
5136
|
}));
|
|
5115
|
-
const
|
|
5116
|
-
function
|
|
5117
|
-
|
|
5137
|
+
const Sr = () => ht();
|
|
5138
|
+
function Hr(y) {
|
|
5139
|
+
ke[y ? "unshift" : "push"](() => {
|
|
5118
5140
|
T = y, r(12, T);
|
|
5119
5141
|
});
|
|
5120
5142
|
}
|
|
@@ -5122,10 +5144,10 @@ function vs(e, t, r) {
|
|
|
5122
5144
|
"depositlimit" in y && r(1, n = y.depositlimit), "wageringlimit" in y && r(2, s = y.wageringlimit), "losslimit" in y && r(3, a = y.losslimit), "timelimit" in y && r(4, o = y.timelimit), "showdeletenotification" in y && r(6, u = y.showdeletenotification), "showsuccessnotification" in y && r(7, h = y.showsuccessnotification), "lang" in y && r(0, l = y.lang), "currency" in y && r(5, f = y.currency), "separatelimits" in y && r(8, c = y.separatelimits), "clientstyling" in y && r(9, b = y.clientstyling), "clientstylingurl" in y && r(10, p = y.clientstylingurl), "mbsource" in y && r(11, g = y.mbsource), "translationurl" in y && r(21, d = y.translationurl);
|
|
5123
5145
|
}, e.$$.update = () => {
|
|
5124
5146
|
e.$$.dirty & /*lang*/
|
|
5125
|
-
1 && l &&
|
|
5126
|
-
4608 && b && T &&
|
|
5127
|
-
5120 && p && T &&
|
|
5128
|
-
6144 && g && T &&
|
|
5147
|
+
1 && l && Tr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
5148
|
+
4608 && b && T && hs(T, b), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
5149
|
+
5120 && p && T && cs(T, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
5150
|
+
6144 && g && T && fs(T, `${g}.Style`), e.$$.dirty & /*translationurl*/
|
|
5129
5151
|
2097152 && d && v();
|
|
5130
5152
|
}, [
|
|
5131
5153
|
l,
|
|
@@ -5141,27 +5163,27 @@ function vs(e, t, r) {
|
|
|
5141
5163
|
p,
|
|
5142
5164
|
g,
|
|
5143
5165
|
T,
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5166
|
+
I,
|
|
5167
|
+
se,
|
|
5168
|
+
Me,
|
|
5147
5169
|
Ie,
|
|
5148
5170
|
i,
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5171
|
+
C,
|
|
5172
|
+
Lr,
|
|
5173
|
+
ht,
|
|
5152
5174
|
d,
|
|
5153
|
-
|
|
5154
|
-
|
|
5175
|
+
Sr,
|
|
5176
|
+
Hr
|
|
5155
5177
|
];
|
|
5156
5178
|
}
|
|
5157
|
-
class
|
|
5179
|
+
class Ls extends ni {
|
|
5158
5180
|
constructor(t) {
|
|
5159
|
-
super(),
|
|
5181
|
+
super(), ri(
|
|
5160
5182
|
this,
|
|
5161
5183
|
t,
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5184
|
+
ws,
|
|
5185
|
+
ys,
|
|
5186
|
+
Ut,
|
|
5165
5187
|
{
|
|
5166
5188
|
depositlimit: 1,
|
|
5167
5189
|
wageringlimit: 2,
|
|
@@ -5177,138 +5199,138 @@ class _s extends Kr {
|
|
|
5177
5199
|
mbsource: 11,
|
|
5178
5200
|
translationurl: 21
|
|
5179
5201
|
},
|
|
5180
|
-
|
|
5202
|
+
ms
|
|
5181
5203
|
);
|
|
5182
5204
|
}
|
|
5183
5205
|
get depositlimit() {
|
|
5184
5206
|
return this.$$.ctx[1];
|
|
5185
5207
|
}
|
|
5186
5208
|
set depositlimit(t) {
|
|
5187
|
-
this.$$set({ depositlimit: t }),
|
|
5209
|
+
this.$$set({ depositlimit: t }), A();
|
|
5188
5210
|
}
|
|
5189
5211
|
get wageringlimit() {
|
|
5190
5212
|
return this.$$.ctx[2];
|
|
5191
5213
|
}
|
|
5192
5214
|
set wageringlimit(t) {
|
|
5193
|
-
this.$$set({ wageringlimit: t }),
|
|
5215
|
+
this.$$set({ wageringlimit: t }), A();
|
|
5194
5216
|
}
|
|
5195
5217
|
get losslimit() {
|
|
5196
5218
|
return this.$$.ctx[3];
|
|
5197
5219
|
}
|
|
5198
5220
|
set losslimit(t) {
|
|
5199
|
-
this.$$set({ losslimit: t }),
|
|
5221
|
+
this.$$set({ losslimit: t }), A();
|
|
5200
5222
|
}
|
|
5201
5223
|
get timelimit() {
|
|
5202
5224
|
return this.$$.ctx[4];
|
|
5203
5225
|
}
|
|
5204
5226
|
set timelimit(t) {
|
|
5205
|
-
this.$$set({ timelimit: t }),
|
|
5227
|
+
this.$$set({ timelimit: t }), A();
|
|
5206
5228
|
}
|
|
5207
5229
|
get showdeletenotification() {
|
|
5208
5230
|
return this.$$.ctx[6];
|
|
5209
5231
|
}
|
|
5210
5232
|
set showdeletenotification(t) {
|
|
5211
|
-
this.$$set({ showdeletenotification: t }),
|
|
5233
|
+
this.$$set({ showdeletenotification: t }), A();
|
|
5212
5234
|
}
|
|
5213
5235
|
get showsuccessnotification() {
|
|
5214
5236
|
return this.$$.ctx[7];
|
|
5215
5237
|
}
|
|
5216
5238
|
set showsuccessnotification(t) {
|
|
5217
|
-
this.$$set({ showsuccessnotification: t }),
|
|
5239
|
+
this.$$set({ showsuccessnotification: t }), A();
|
|
5218
5240
|
}
|
|
5219
5241
|
get lang() {
|
|
5220
5242
|
return this.$$.ctx[0];
|
|
5221
5243
|
}
|
|
5222
5244
|
set lang(t) {
|
|
5223
|
-
this.$$set({ lang: t }),
|
|
5245
|
+
this.$$set({ lang: t }), A();
|
|
5224
5246
|
}
|
|
5225
5247
|
get currency() {
|
|
5226
5248
|
return this.$$.ctx[5];
|
|
5227
5249
|
}
|
|
5228
5250
|
set currency(t) {
|
|
5229
|
-
this.$$set({ currency: t }),
|
|
5251
|
+
this.$$set({ currency: t }), A();
|
|
5230
5252
|
}
|
|
5231
5253
|
get separatelimits() {
|
|
5232
5254
|
return this.$$.ctx[8];
|
|
5233
5255
|
}
|
|
5234
5256
|
set separatelimits(t) {
|
|
5235
|
-
this.$$set({ separatelimits: t }),
|
|
5257
|
+
this.$$set({ separatelimits: t }), A();
|
|
5236
5258
|
}
|
|
5237
5259
|
get clientstyling() {
|
|
5238
5260
|
return this.$$.ctx[9];
|
|
5239
5261
|
}
|
|
5240
5262
|
set clientstyling(t) {
|
|
5241
|
-
this.$$set({ clientstyling: t }),
|
|
5263
|
+
this.$$set({ clientstyling: t }), A();
|
|
5242
5264
|
}
|
|
5243
5265
|
get clientstylingurl() {
|
|
5244
5266
|
return this.$$.ctx[10];
|
|
5245
5267
|
}
|
|
5246
5268
|
set clientstylingurl(t) {
|
|
5247
|
-
this.$$set({ clientstylingurl: t }),
|
|
5269
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
5248
5270
|
}
|
|
5249
5271
|
get mbsource() {
|
|
5250
5272
|
return this.$$.ctx[11];
|
|
5251
5273
|
}
|
|
5252
5274
|
set mbsource(t) {
|
|
5253
|
-
this.$$set({ mbsource: t }),
|
|
5275
|
+
this.$$set({ mbsource: t }), A();
|
|
5254
5276
|
}
|
|
5255
5277
|
get translationurl() {
|
|
5256
5278
|
return this.$$.ctx[21];
|
|
5257
5279
|
}
|
|
5258
5280
|
set translationurl(t) {
|
|
5259
|
-
this.$$set({ translationurl: t }),
|
|
5281
|
+
this.$$set({ translationurl: t }), A();
|
|
5260
5282
|
}
|
|
5261
5283
|
}
|
|
5262
|
-
|
|
5284
|
+
ii(Ls, { depositlimit: {}, wageringlimit: {}, losslimit: {}, timelimit: {}, showdeletenotification: { type: "Boolean" }, showsuccessnotification: { type: "Boolean" }, lang: {}, currency: {}, separatelimits: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
5263
5285
|
export {
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5286
|
+
ie as $,
|
|
5287
|
+
fs as A,
|
|
5288
|
+
ke as B,
|
|
5289
|
+
hs as C,
|
|
5290
|
+
k as D,
|
|
5291
|
+
M as E,
|
|
5292
|
+
as as F,
|
|
5271
5293
|
m as G,
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5294
|
+
Os as H,
|
|
5295
|
+
$s as I,
|
|
5296
|
+
Ps as J,
|
|
5297
|
+
Bs as K,
|
|
5298
|
+
Ns as L,
|
|
5299
|
+
Ms as M,
|
|
5300
|
+
Is as N,
|
|
5301
|
+
we as O,
|
|
5302
|
+
Cs as P,
|
|
5303
|
+
Se as Q,
|
|
5304
|
+
Ar as R,
|
|
5305
|
+
ni as S,
|
|
5306
|
+
Ds as T,
|
|
5307
|
+
Us as U,
|
|
5308
|
+
Rs as V,
|
|
5309
|
+
Ls as W,
|
|
5310
|
+
vr as a,
|
|
5311
|
+
Cr as b,
|
|
5312
|
+
ii as c,
|
|
5313
|
+
Ts as d,
|
|
5314
|
+
B as e,
|
|
5315
|
+
A as f,
|
|
5316
|
+
W as g,
|
|
5317
|
+
H as h,
|
|
5318
|
+
ri as i,
|
|
5319
|
+
te as j,
|
|
5320
|
+
L as k,
|
|
5321
|
+
Rr as l,
|
|
5322
|
+
As as m,
|
|
5323
|
+
Ss as n,
|
|
5324
|
+
Xt as o,
|
|
5325
|
+
qr as p,
|
|
5326
|
+
Gs as q,
|
|
5327
|
+
$ as r,
|
|
5328
|
+
Ut as s,
|
|
5329
|
+
le as t,
|
|
5330
|
+
Hs as u,
|
|
5331
|
+
F as v,
|
|
5332
|
+
Or as w,
|
|
5333
|
+
us as x,
|
|
5334
|
+
Xr as y,
|
|
5335
|
+
cs as z
|
|
5314
5336
|
};
|