@everymatrix/player-account-gaming-limits-group-edit 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/{PlayerAccountGamingLimitsConfirmationModal-zp68mqpQ.js → PlayerAccountGamingLimitsConfirmationModal-C5_o9t-d.js} +1401 -1379
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUsgRfb_.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BSG34UHR.js → PlayerAccountGamingLimitsConfirmationModal-X40kKSuX.js} +1386 -1364
- package/components/{PlayerAccountGamingLimitsGroupEdit-Bxg96Ldb.cjs → PlayerAccountGamingLimitsGroupEdit-BR_ei0SZ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CjTz8HLq.js → PlayerAccountGamingLimitsGroupEdit-BVO53jpX.js} +49 -49
- package/components/{PlayerAccountGamingLimitsGroupEdit-CadJV5mx.js → PlayerAccountGamingLimitsGroupEdit-GqnEeOQW.js} +47 -47
- package/components/{PlayerAccountGamingLimitsPopup-BL7N95K-.cjs → PlayerAccountGamingLimitsPopup-B7Fac7xp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-tUFMEbAl.js → PlayerAccountGamingLimitsPopup-BRGqPam3.js} +39 -39
- package/components/{PlayerAccountGamingLimitsPopup-BeQnueoT.js → PlayerAccountGamingLimitsPopup-GkQwSNjW.js} +42 -42
- package/components/{PlayerAccountModal-DlxcE63S.cjs → PlayerAccountModal-B5-hA-M1.cjs} +1 -1
- package/components/{PlayerAccountModal-Dwjcnv-Z.js → PlayerAccountModal-BVfk0Rk9.js} +26 -26
- package/components/{PlayerAccountModal-yeuhCWil.js → PlayerAccountModal-BeedyRgF.js} +26 -26
- package/es2015/player-account-gaming-limits-group-edit.cjs +1 -1
- package/es2015/player-account-gaming-limits-group-edit.js +1 -1
- package/esnext/player-account-gaming-limits-group-edit.js +1 -1
- package/package.json +3 -2
- package/components/PlayerAccountGamingLimitsConfirmationModal-CYdmj_ks.cjs +0 -21
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var r in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var O = (
|
|
14
|
-
var
|
|
1
|
+
var Lr = Object.defineProperty, Or = Object.defineProperties;
|
|
2
|
+
var Ir = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ct = Object.getOwnPropertySymbols;
|
|
4
|
+
var Mr = Object.prototype.hasOwnProperty, Nr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ae = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
Mr.call(t, r) && Ae(e, r, t[r]);
|
|
8
|
+
if (ct)
|
|
9
|
+
for (var r of ct(t))
|
|
10
|
+
Nr.call(t, r) && Ae(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, mt = (e, t) => Or(e, Ir(t));
|
|
13
|
+
var O = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var pt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -25,331 +25,331 @@ var ce = (t, e, r) => new Promise((n, i) => {
|
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
27
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
|
-
s((r = r.apply(
|
|
28
|
+
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function I() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
34
|
-
for (const r in
|
|
35
|
-
|
|
32
|
+
const $r = (e) => e;
|
|
33
|
+
function Rr(e, t) {
|
|
34
|
+
for (const r in t)
|
|
35
|
+
e[r] = t[r];
|
|
36
36
|
return (
|
|
37
37
|
/** @type {T & S} */
|
|
38
|
-
|
|
38
|
+
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function jt(e) {
|
|
42
|
+
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function dt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function D(
|
|
48
|
-
|
|
47
|
+
function D(e) {
|
|
48
|
+
e.forEach(jt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return typeof
|
|
50
|
+
function we(e) {
|
|
51
|
+
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function kt(e, t) {
|
|
54
|
+
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return Object.keys(
|
|
56
|
+
function Gr(e) {
|
|
57
|
+
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (
|
|
61
|
-
for (const n of
|
|
59
|
+
function Vt(e, ...t) {
|
|
60
|
+
if (e == null) {
|
|
61
|
+
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
63
63
|
return I;
|
|
64
64
|
}
|
|
65
|
-
const r =
|
|
65
|
+
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
|
|
68
|
+
function Ur(e, t, r) {
|
|
69
|
+
e.$$.on_destroy.push(Vt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
if (
|
|
73
|
-
const i =
|
|
74
|
-
return
|
|
71
|
+
function Dr(e, t, r, n) {
|
|
72
|
+
if (e) {
|
|
73
|
+
const i = Xt(e, t, r, n);
|
|
74
|
+
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
77
|
+
function Xt(e, t, r, n) {
|
|
78
|
+
return e[1] && n ? Rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
if (
|
|
82
|
-
const i =
|
|
83
|
-
if (
|
|
80
|
+
function Fr(e, t, r, n) {
|
|
81
|
+
if (e[2] && n) {
|
|
82
|
+
const i = e[2](n(r));
|
|
83
|
+
if (t.dirty === void 0)
|
|
84
84
|
return i;
|
|
85
85
|
if (typeof i == "object") {
|
|
86
|
-
const o = [], a = Math.max(
|
|
86
|
+
const o = [], a = Math.max(t.dirty.length, i.length);
|
|
87
87
|
for (let s = 0; s < a; s += 1)
|
|
88
|
-
o[s] =
|
|
88
|
+
o[s] = t.dirty[s] | i[s];
|
|
89
89
|
return o;
|
|
90
90
|
}
|
|
91
|
-
return
|
|
91
|
+
return t.dirty | i;
|
|
92
92
|
}
|
|
93
|
-
return
|
|
93
|
+
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function jr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const a =
|
|
98
|
-
|
|
97
|
+
const a = Xt(t, r, n, o);
|
|
98
|
+
e.p(a, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
if (
|
|
103
|
-
const
|
|
101
|
+
function kr(e) {
|
|
102
|
+
if (e.ctx.length > 32) {
|
|
103
|
+
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
105
|
-
|
|
106
|
-
return
|
|
105
|
+
t[n] = -1;
|
|
106
|
+
return t;
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
110
|
+
const zt = typeof window != "undefined";
|
|
111
|
+
let Vr = zt ? () => window.performance.now() : () => Date.now(), nt = zt ? (e) => requestAnimationFrame(e) : I;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
114
|
-
z.forEach((
|
|
115
|
-
|
|
116
|
-
}), z.size !== 0 &&
|
|
117
|
-
}
|
|
118
|
-
function
|
|
119
|
-
let
|
|
120
|
-
return z.size === 0 &&
|
|
113
|
+
function Wt(e) {
|
|
114
|
+
z.forEach((t) => {
|
|
115
|
+
t.c(e) || (z.delete(t), t.f());
|
|
116
|
+
}), z.size !== 0 && nt(Wt);
|
|
117
|
+
}
|
|
118
|
+
function Xr(e) {
|
|
119
|
+
let t;
|
|
120
|
+
return z.size === 0 && nt(Wt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
|
-
z.add(
|
|
122
|
+
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
124
124
|
abort() {
|
|
125
|
-
z.delete(
|
|
125
|
+
z.delete(t);
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
function P(
|
|
130
|
-
|
|
129
|
+
function P(e, t) {
|
|
130
|
+
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
const n =
|
|
134
|
-
if (!n.getElementById(
|
|
132
|
+
function zr(e, t, r) {
|
|
133
|
+
const n = it(e);
|
|
134
|
+
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id =
|
|
136
|
+
i.id = t, i.textContent = r, Zt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
if (!
|
|
139
|
+
function it(e) {
|
|
140
|
+
if (!e)
|
|
141
141
|
return document;
|
|
142
|
-
const
|
|
143
|
-
return
|
|
144
|
-
|
|
142
|
+
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
143
|
+
return t && /** @type {ShadowRoot} */
|
|
144
|
+
t.host ? (
|
|
145
145
|
/** @type {ShadowRoot} */
|
|
146
|
-
|
|
147
|
-
) :
|
|
146
|
+
t
|
|
147
|
+
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
150
|
-
const
|
|
151
|
-
return
|
|
149
|
+
function Wr(e) {
|
|
150
|
+
const t = M("style");
|
|
151
|
+
return t.textContent = "/* empty */", Zt(it(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Zt(e, t) {
|
|
154
154
|
return P(
|
|
155
155
|
/** @type {Document} */
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
),
|
|
156
|
+
e.head || e,
|
|
157
|
+
t
|
|
158
|
+
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
160
|
+
function ot(e, t, r) {
|
|
161
|
+
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
|
|
163
|
+
function le(e) {
|
|
164
|
+
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
for (let r = 0; r <
|
|
168
|
-
|
|
166
|
+
function Lo(e, t) {
|
|
167
|
+
for (let r = 0; r < e.length; r += 1)
|
|
168
|
+
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
|
-
function M(
|
|
171
|
-
return document.createElement(
|
|
170
|
+
function M(e) {
|
|
171
|
+
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
return document.createElementNS("http://www.w3.org/2000/svg",
|
|
173
|
+
function bt(e) {
|
|
174
|
+
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
return document.createTextNode(
|
|
176
|
+
function ie(e) {
|
|
177
|
+
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
179
|
+
function Pe() {
|
|
180
|
+
return ie(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function Oo() {
|
|
183
|
+
return ie("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
return
|
|
185
|
+
function Le(e, t, r, n) {
|
|
186
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
return function(
|
|
190
|
-
return
|
|
188
|
+
function Io(e) {
|
|
189
|
+
return function(t) {
|
|
190
|
+
return t.preventDefault(), e.call(this, t);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
function H(
|
|
194
|
-
r == null ?
|
|
193
|
+
function H(e, t, r) {
|
|
194
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
const n =
|
|
198
|
-
n in
|
|
196
|
+
function Mo(e, t, r) {
|
|
197
|
+
const n = t.toLowerCase();
|
|
198
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
return
|
|
200
|
+
function No(e) {
|
|
201
|
+
return e === "" ? null : +e;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
return Array.from(
|
|
203
|
+
function Zr(e) {
|
|
204
|
+
return Array.from(e.childNodes);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
function Oe(e, t) {
|
|
207
|
+
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
208
|
+
t);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
|
|
210
|
+
function $o(e, t) {
|
|
211
|
+
e.value = t == null ? "" : t;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
for (let n = 0; n <
|
|
215
|
-
const i =
|
|
216
|
-
if (i.__value ===
|
|
213
|
+
function Ro(e, t, r) {
|
|
214
|
+
for (let n = 0; n < e.options.length; n += 1) {
|
|
215
|
+
const i = e.options[n];
|
|
216
|
+
if (i.__value === t) {
|
|
217
217
|
i.selected = !0;
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
(!r ||
|
|
221
|
+
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
const
|
|
225
|
-
return
|
|
223
|
+
function Go(e) {
|
|
224
|
+
const t = e.querySelector(":checked");
|
|
225
|
+
return t && t.__value;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
return new CustomEvent(
|
|
227
|
+
function Qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
|
+
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
-
function
|
|
231
|
-
const
|
|
232
|
-
return
|
|
230
|
+
function Jr(e) {
|
|
231
|
+
const t = {};
|
|
232
|
+
return e.childNodes.forEach(
|
|
233
233
|
/** @param {Element} node */
|
|
234
234
|
(r) => {
|
|
235
|
-
|
|
235
|
+
t[r.slot || "default"] = !0;
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), t;
|
|
238
238
|
}
|
|
239
|
-
const
|
|
240
|
-
let
|
|
241
|
-
function
|
|
242
|
-
let
|
|
239
|
+
const ye = /* @__PURE__ */ new Map();
|
|
240
|
+
let ve = 0;
|
|
241
|
+
function qr(e) {
|
|
242
|
+
let t = 5381, r = e.length;
|
|
243
243
|
for (; r--; )
|
|
244
|
-
|
|
245
|
-
return
|
|
244
|
+
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
245
|
+
return t >>> 0;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
const r = { stylesheet:
|
|
249
|
-
return
|
|
247
|
+
function Yr(e, t) {
|
|
248
|
+
const r = { stylesheet: Wr(t), rules: {} };
|
|
249
|
+
return ye.set(e, r), r;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function gt(e, t, r, n, i, o, a, s = 0) {
|
|
252
252
|
const l = 16.666 / n;
|
|
253
253
|
let u = `{
|
|
254
254
|
`;
|
|
255
255
|
for (let v = 0; v <= 1; v += l) {
|
|
256
|
-
const T =
|
|
256
|
+
const T = t + (r - t) * o(v);
|
|
257
257
|
u += v * 100 + `%{${a(T, 1 - T)}}
|
|
258
258
|
`;
|
|
259
259
|
}
|
|
260
260
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
261
|
-
}`, c = `__svelte_${
|
|
261
|
+
}`, c = `__svelte_${qr(h)}_${s}`, f = it(e), { stylesheet: p, rules: m } = ye.get(f) || Yr(f, e);
|
|
262
262
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
263
|
-
const d =
|
|
264
|
-
return
|
|
263
|
+
const d = e.style.animation || "";
|
|
264
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ve += 1, c;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
const r = (
|
|
268
|
-
|
|
266
|
+
function Kr(e, t) {
|
|
267
|
+
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
268
|
+
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
269
269
|
// remove all Svelte animations
|
|
270
270
|
), i = r.length - n.length;
|
|
271
|
-
i && (
|
|
272
|
-
}
|
|
273
|
-
function
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
const { ownerNode:
|
|
277
|
-
|
|
278
|
-
}),
|
|
271
|
+
i && (e.style.animation = n.join(", "), ve -= i, ve || en());
|
|
272
|
+
}
|
|
273
|
+
function en() {
|
|
274
|
+
nt(() => {
|
|
275
|
+
ve || (ye.forEach((e) => {
|
|
276
|
+
const { ownerNode: t } = e.stylesheet;
|
|
277
|
+
t && le(t);
|
|
278
|
+
}), ye.clear());
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
let
|
|
282
|
-
function
|
|
283
|
-
|
|
281
|
+
let se;
|
|
282
|
+
function oe(e) {
|
|
283
|
+
se = e;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
if (!
|
|
285
|
+
function tn() {
|
|
286
|
+
if (!se)
|
|
287
287
|
throw new Error("Function called outside component initialization");
|
|
288
|
-
return
|
|
288
|
+
return se;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
|
|
290
|
+
function rn(e) {
|
|
291
|
+
tn().$$.on_mount.push(e);
|
|
292
292
|
}
|
|
293
|
-
const X = [],
|
|
293
|
+
const X = [], je = [];
|
|
294
294
|
let W = [];
|
|
295
|
-
const
|
|
296
|
-
let
|
|
297
|
-
function
|
|
298
|
-
|
|
295
|
+
const yt = [], nn = /* @__PURE__ */ Promise.resolve();
|
|
296
|
+
let ke = !1;
|
|
297
|
+
function on() {
|
|
298
|
+
ke || (ke = !0, nn.then(N));
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
W.push(
|
|
300
|
+
function _e(e) {
|
|
301
|
+
W.push(e);
|
|
302
302
|
}
|
|
303
|
-
const
|
|
303
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
304
304
|
let k = 0;
|
|
305
305
|
function N() {
|
|
306
306
|
if (k !== 0)
|
|
307
307
|
return;
|
|
308
|
-
const
|
|
308
|
+
const e = se;
|
|
309
309
|
do {
|
|
310
310
|
try {
|
|
311
311
|
for (; k < X.length; ) {
|
|
312
|
-
const
|
|
313
|
-
k++,
|
|
312
|
+
const t = X[k];
|
|
313
|
+
k++, oe(t), sn(t.$$);
|
|
314
314
|
}
|
|
315
|
-
} catch (
|
|
316
|
-
throw X.length = 0, k = 0,
|
|
315
|
+
} catch (t) {
|
|
316
|
+
throw X.length = 0, k = 0, t;
|
|
317
317
|
}
|
|
318
|
-
for (
|
|
319
|
-
|
|
320
|
-
for (let
|
|
321
|
-
const r = W[
|
|
322
|
-
|
|
318
|
+
for (oe(null), X.length = 0, k = 0; je.length; )
|
|
319
|
+
je.pop()();
|
|
320
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
321
|
+
const r = W[t];
|
|
322
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
323
323
|
}
|
|
324
324
|
W.length = 0;
|
|
325
325
|
} while (X.length);
|
|
326
|
-
for (;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
}
|
|
330
|
-
function
|
|
331
|
-
if (
|
|
332
|
-
|
|
333
|
-
const
|
|
334
|
-
|
|
326
|
+
for (; yt.length; )
|
|
327
|
+
yt.pop()();
|
|
328
|
+
ke = !1, Ie.clear(), oe(e);
|
|
329
|
+
}
|
|
330
|
+
function sn(e) {
|
|
331
|
+
if (e.fragment !== null) {
|
|
332
|
+
e.update(), D(e.before_update);
|
|
333
|
+
const t = e.dirty;
|
|
334
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
const
|
|
339
|
-
W.forEach((n) =>
|
|
337
|
+
function an(e) {
|
|
338
|
+
const t = [], r = [];
|
|
339
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
340
340
|
}
|
|
341
|
-
let
|
|
342
|
-
function
|
|
343
|
-
return
|
|
344
|
-
|
|
345
|
-
})),
|
|
341
|
+
let re;
|
|
342
|
+
function un() {
|
|
343
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
344
|
+
re = null;
|
|
345
|
+
})), re;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
348
|
-
|
|
347
|
+
function Me(e, t, r) {
|
|
348
|
+
e.dispatchEvent(Qr(`${t ? "intro" : "outro"}${r}`));
|
|
349
349
|
}
|
|
350
|
-
const
|
|
350
|
+
const me = /* @__PURE__ */ new Set();
|
|
351
351
|
let $;
|
|
352
|
-
function
|
|
352
|
+
function Uo() {
|
|
353
353
|
$ = {
|
|
354
354
|
r: 0,
|
|
355
355
|
c: [],
|
|
@@ -357,27 +357,27 @@ function $o() {
|
|
|
357
357
|
// parent group
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Do() {
|
|
361
361
|
$.r || D($.c), $ = $.p;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
363
|
+
function Qt(e, t) {
|
|
364
|
+
e && e.i && (me.delete(e), e.i(t));
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
if (
|
|
368
|
-
if (
|
|
366
|
+
function ln(e, t, r, n) {
|
|
367
|
+
if (e && e.o) {
|
|
368
|
+
if (me.has(e))
|
|
369
369
|
return;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}),
|
|
370
|
+
me.add(e), $.c.push(() => {
|
|
371
|
+
me.delete(e), n && (r && e.d(1), n());
|
|
372
|
+
}), e.o(t);
|
|
373
373
|
} else
|
|
374
374
|
n && n();
|
|
375
375
|
}
|
|
376
|
-
const
|
|
377
|
-
function
|
|
378
|
-
let o = e
|
|
376
|
+
const hn = { duration: 0 };
|
|
377
|
+
function Fo(e, t, r, n) {
|
|
378
|
+
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
379
379
|
function c() {
|
|
380
|
-
u &&
|
|
380
|
+
u && Kr(e, u);
|
|
381
381
|
}
|
|
382
382
|
function f(m, d) {
|
|
383
383
|
const v = (
|
|
@@ -398,17 +398,17 @@ function Go(t, e, r, n) {
|
|
|
398
398
|
const {
|
|
399
399
|
delay: d = 0,
|
|
400
400
|
duration: v = 300,
|
|
401
|
-
easing: T =
|
|
401
|
+
easing: T = $r,
|
|
402
402
|
tick: C = I,
|
|
403
403
|
css: S
|
|
404
|
-
} = o ||
|
|
405
|
-
start:
|
|
404
|
+
} = o || hn, B = {
|
|
405
|
+
start: Vr() + d,
|
|
406
406
|
b: m
|
|
407
407
|
};
|
|
408
|
-
m || (B.group = $, $.r += 1), "inert" in
|
|
409
|
-
|
|
410
|
-
if (l && w > l.start && (s = f(l, v), l = null,
|
|
411
|
-
|
|
408
|
+
m || (B.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
409
|
+
e.inert, e.inert = !0)), s || l ? l = B : (S && (c(), u = gt(e, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), _e(() => Me(e, m, "start")), Xr((w) => {
|
|
410
|
+
if (l && w > l.start && (s = f(l, v), l = null, Me(e, s.b, "start"), S && (c(), u = gt(
|
|
411
|
+
e,
|
|
412
412
|
a,
|
|
413
413
|
s.b,
|
|
414
414
|
s.duration,
|
|
@@ -417,7 +417,7 @@ function Go(t, e, r, n) {
|
|
|
417
417
|
o.css
|
|
418
418
|
))), s) {
|
|
419
419
|
if (w >= s.end)
|
|
420
|
-
C(a = s.b, 1 - a),
|
|
420
|
+
C(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? c() : --s.group.r || D(s.group.c)), s = null;
|
|
421
421
|
else if (w >= s.start) {
|
|
422
422
|
const x = w - s.start;
|
|
423
423
|
a = s.a + s.d * T(x / s.duration), C(a, 1 - a);
|
|
@@ -428,7 +428,7 @@ function Go(t, e, r, n) {
|
|
|
428
428
|
}
|
|
429
429
|
return {
|
|
430
430
|
run(m) {
|
|
431
|
-
|
|
431
|
+
we(o) ? un().then(() => {
|
|
432
432
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
433
433
|
}) : p(m);
|
|
434
434
|
},
|
|
@@ -437,65 +437,65 @@ function Go(t, e, r, n) {
|
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
|
-
function
|
|
441
|
-
return (
|
|
440
|
+
function jo(e) {
|
|
441
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
const { fragment: n, after_update: i } =
|
|
445
|
-
n && n.m(
|
|
446
|
-
const o =
|
|
447
|
-
|
|
448
|
-
}), i.forEach(
|
|
443
|
+
function cn(e, t, r) {
|
|
444
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
445
|
+
n && n.m(t, r), _e(() => {
|
|
446
|
+
const o = e.$$.on_mount.map(jt).filter(we);
|
|
447
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
|
|
448
|
+
}), i.forEach(_e);
|
|
449
449
|
}
|
|
450
|
-
function
|
|
451
|
-
const r =
|
|
452
|
-
r.fragment !== null && (
|
|
450
|
+
function fn(e, t) {
|
|
451
|
+
const r = e.$$;
|
|
452
|
+
r.fragment !== null && (an(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
|
|
454
|
+
function mn(e, t) {
|
|
455
|
+
e.$$.dirty[0] === -1 && (X.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
const l =
|
|
459
|
-
|
|
460
|
-
const u =
|
|
457
|
+
function pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
458
|
+
const l = se;
|
|
459
|
+
oe(e);
|
|
460
|
+
const u = e.$$ = {
|
|
461
461
|
fragment: null,
|
|
462
462
|
ctx: [],
|
|
463
463
|
// state
|
|
464
464
|
props: o,
|
|
465
465
|
update: I,
|
|
466
466
|
not_equal: i,
|
|
467
|
-
bound:
|
|
467
|
+
bound: dt(),
|
|
468
468
|
// lifecycle
|
|
469
469
|
on_mount: [],
|
|
470
470
|
on_destroy: [],
|
|
471
471
|
on_disconnect: [],
|
|
472
472
|
before_update: [],
|
|
473
473
|
after_update: [],
|
|
474
|
-
context: new Map(
|
|
474
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
475
475
|
// everything else
|
|
476
|
-
callbacks:
|
|
476
|
+
callbacks: dt(),
|
|
477
477
|
dirty: s,
|
|
478
478
|
skip_bound: !1,
|
|
479
|
-
root:
|
|
479
|
+
root: t.target || l.$$.root
|
|
480
480
|
};
|
|
481
481
|
a && a(u.root);
|
|
482
482
|
let h = !1;
|
|
483
|
-
if (u.ctx = r ? r(
|
|
483
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
484
484
|
const m = p.length ? p[0] : f;
|
|
485
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
486
|
-
}) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1,
|
|
487
|
-
if (
|
|
488
|
-
const c =
|
|
489
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
485
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && mn(e, c)), f;
|
|
486
|
+
}) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
487
|
+
if (t.hydrate) {
|
|
488
|
+
const c = Zr(t.target);
|
|
489
|
+
u.fragment && u.fragment.l(c), c.forEach(le);
|
|
490
490
|
} else
|
|
491
491
|
u.fragment && u.fragment.c();
|
|
492
|
-
|
|
492
|
+
t.intro && Qt(e.$$.fragment), cn(e, t.target, t.anchor), N();
|
|
493
493
|
}
|
|
494
|
-
|
|
494
|
+
oe(l);
|
|
495
495
|
}
|
|
496
|
-
let
|
|
497
|
-
typeof HTMLElement == "function" && (
|
|
498
|
-
constructor(
|
|
496
|
+
let Jt;
|
|
497
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
498
|
+
constructor(t, r, n) {
|
|
499
499
|
super();
|
|
500
500
|
/** The Svelte component constructor */
|
|
501
501
|
O(this, "$$ctor");
|
|
@@ -515,25 +515,25 @@ typeof HTMLElement == "function" && (We = class extends HTMLElement {
|
|
|
515
515
|
O(this, "$$l", {});
|
|
516
516
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
517
517
|
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
518
|
-
this.$$ctor =
|
|
518
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
519
519
|
}
|
|
520
|
-
addEventListener(
|
|
521
|
-
if (this.$$l[
|
|
522
|
-
const i = this.$$c.$on(
|
|
520
|
+
addEventListener(t, r, n) {
|
|
521
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
522
|
+
const i = this.$$c.$on(t, r);
|
|
523
523
|
this.$$l_u.set(r, i);
|
|
524
524
|
}
|
|
525
|
-
super.addEventListener(
|
|
525
|
+
super.addEventListener(t, r, n);
|
|
526
526
|
}
|
|
527
|
-
removeEventListener(
|
|
528
|
-
if (super.removeEventListener(
|
|
527
|
+
removeEventListener(t, r, n) {
|
|
528
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
529
529
|
const i = this.$$l_u.get(r);
|
|
530
530
|
i && (i(), this.$$l_u.delete(r));
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
connectedCallback() {
|
|
534
|
-
return
|
|
534
|
+
return pt(this, null, function* () {
|
|
535
535
|
if (this.$$cn = !0, !this.$$c) {
|
|
536
|
-
let
|
|
536
|
+
let t = function(o) {
|
|
537
537
|
return () => {
|
|
538
538
|
let a;
|
|
539
539
|
return {
|
|
@@ -545,28 +545,28 @@ typeof HTMLElement == "function" && (We = class extends HTMLElement {
|
|
|
545
545
|
* @param {HTMLElement} [anchor]
|
|
546
546
|
*/
|
|
547
547
|
m: function(u, h) {
|
|
548
|
-
|
|
548
|
+
ot(u, a, h);
|
|
549
549
|
},
|
|
550
550
|
d: function(u) {
|
|
551
|
-
u &&
|
|
551
|
+
u && le(a);
|
|
552
552
|
}
|
|
553
553
|
};
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
557
557
|
return;
|
|
558
|
-
const r = {}, n =
|
|
558
|
+
const r = {}, n = Jr(this);
|
|
559
559
|
for (const o of this.$$s)
|
|
560
|
-
o in n && (r[o] = [
|
|
560
|
+
o in n && (r[o] = [t(o)]);
|
|
561
561
|
for (const o of this.attributes) {
|
|
562
562
|
const a = this.$$g_p(o.name);
|
|
563
|
-
a in this.$$d || (this.$$d[a] =
|
|
563
|
+
a in this.$$d || (this.$$d[a] = pe(a, o.value, this.$$p_d, "toProp"));
|
|
564
564
|
}
|
|
565
565
|
for (const o in this.$$p_d)
|
|
566
566
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
567
567
|
this.$$c = new this.$$ctor({
|
|
568
568
|
target: this.shadowRoot || this,
|
|
569
|
-
props:
|
|
569
|
+
props: mt(ft({}, this.$$d), {
|
|
570
570
|
$$slots: r,
|
|
571
571
|
$$scope: {
|
|
572
572
|
ctx: []
|
|
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (We = class extends HTMLElement {
|
|
|
577
577
|
this.$$r = !0;
|
|
578
578
|
for (const o in this.$$p_d)
|
|
579
579
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
580
|
-
const a =
|
|
580
|
+
const a = pe(
|
|
581
581
|
o,
|
|
582
582
|
this.$$d[o],
|
|
583
583
|
this.$$p_d,
|
|
@@ -599,70 +599,70 @@ typeof HTMLElement == "function" && (We = class extends HTMLElement {
|
|
|
599
599
|
}
|
|
600
600
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
601
601
|
// and setting attributes through setAttribute etc, this is helpful
|
|
602
|
-
attributeChangedCallback(
|
|
602
|
+
attributeChangedCallback(t, r, n) {
|
|
603
603
|
var i;
|
|
604
|
-
this.$$r || (
|
|
604
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
605
605
|
}
|
|
606
606
|
disconnectedCallback() {
|
|
607
607
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
608
608
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
|
-
$$g_p(
|
|
611
|
+
$$g_p(t) {
|
|
612
612
|
return Object.keys(this.$$p_d).find(
|
|
613
|
-
(r) => this.$$p_d[r].attribute ===
|
|
614
|
-
) ||
|
|
613
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
614
|
+
) || t;
|
|
615
615
|
}
|
|
616
616
|
});
|
|
617
|
-
function
|
|
617
|
+
function pe(e, t, r, n) {
|
|
618
618
|
var o;
|
|
619
|
-
const i = (o = r[
|
|
620
|
-
if (
|
|
621
|
-
return
|
|
619
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
620
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
621
|
+
return t;
|
|
622
622
|
if (n === "toAttribute")
|
|
623
623
|
switch (i) {
|
|
624
624
|
case "Object":
|
|
625
625
|
case "Array":
|
|
626
|
-
return
|
|
626
|
+
return t == null ? null : JSON.stringify(t);
|
|
627
627
|
case "Boolean":
|
|
628
|
-
return
|
|
628
|
+
return t ? "" : null;
|
|
629
629
|
case "Number":
|
|
630
|
-
return
|
|
630
|
+
return t == null ? null : t;
|
|
631
631
|
default:
|
|
632
|
-
return
|
|
632
|
+
return t;
|
|
633
633
|
}
|
|
634
634
|
else
|
|
635
635
|
switch (i) {
|
|
636
636
|
case "Object":
|
|
637
637
|
case "Array":
|
|
638
|
-
return
|
|
638
|
+
return t && JSON.parse(t);
|
|
639
639
|
case "Boolean":
|
|
640
|
-
return
|
|
640
|
+
return t;
|
|
641
641
|
case "Number":
|
|
642
|
-
return
|
|
642
|
+
return t != null ? +t : t;
|
|
643
643
|
default:
|
|
644
|
-
return
|
|
644
|
+
return t;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function
|
|
648
|
-
let a = class extends
|
|
647
|
+
function dn(e, t, r, n, i, o) {
|
|
648
|
+
let a = class extends Jt {
|
|
649
649
|
constructor() {
|
|
650
|
-
super(
|
|
650
|
+
super(e, r, i), this.$$p_d = t;
|
|
651
651
|
}
|
|
652
652
|
static get observedAttributes() {
|
|
653
|
-
return Object.keys(
|
|
654
|
-
(s) => (
|
|
653
|
+
return Object.keys(t).map(
|
|
654
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
655
655
|
);
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
return Object.keys(
|
|
658
|
+
return Object.keys(t).forEach((s) => {
|
|
659
659
|
Object.defineProperty(a.prototype, s, {
|
|
660
660
|
get() {
|
|
661
661
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
662
662
|
},
|
|
663
663
|
set(l) {
|
|
664
664
|
var u;
|
|
665
|
-
l =
|
|
665
|
+
l = pe(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
}), n.forEach((s) => {
|
|
@@ -672,10 +672,10 @@ function cn(t, e, r, n, i, o) {
|
|
|
672
672
|
return (l = this.$$c) == null ? void 0 : l[s];
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
|
-
}),
|
|
675
|
+
}), e.element = /** @type {any} */
|
|
676
676
|
a, a;
|
|
677
677
|
}
|
|
678
|
-
class
|
|
678
|
+
class bn {
|
|
679
679
|
constructor() {
|
|
680
680
|
/**
|
|
681
681
|
* ### PRIVATE API
|
|
@@ -696,7 +696,7 @@ class fn {
|
|
|
696
696
|
}
|
|
697
697
|
/** @returns {void} */
|
|
698
698
|
$destroy() {
|
|
699
|
-
|
|
699
|
+
fn(this, 1), this.$destroy = I;
|
|
700
700
|
}
|
|
701
701
|
/**
|
|
702
702
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -704,10 +704,10 @@ class fn {
|
|
|
704
704
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
705
705
|
* @returns {() => void}
|
|
706
706
|
*/
|
|
707
|
-
$on(
|
|
708
|
-
if (!
|
|
707
|
+
$on(t, r) {
|
|
708
|
+
if (!we(r))
|
|
709
709
|
return I;
|
|
710
|
-
const n = this.$$.callbacks[
|
|
710
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
711
711
|
return n.push(r), () => {
|
|
712
712
|
const i = n.indexOf(r);
|
|
713
713
|
i !== -1 && n.splice(i, 1);
|
|
@@ -717,12 +717,12 @@ class fn {
|
|
|
717
717
|
* @param {Partial<Props>} props
|
|
718
718
|
* @returns {void}
|
|
719
719
|
*/
|
|
720
|
-
$set(
|
|
721
|
-
this.$$set && !
|
|
720
|
+
$set(t) {
|
|
721
|
+
this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
-
const
|
|
725
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
724
|
+
const gn = "4";
|
|
725
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
726
726
|
/*! *****************************************************************************
|
|
727
727
|
Copyright (c) Microsoft Corporation.
|
|
728
728
|
|
|
@@ -737,61 +737,61 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
737
737
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
738
738
|
PERFORMANCE OF THIS SOFTWARE.
|
|
739
739
|
***************************************************************************** */
|
|
740
|
-
var
|
|
741
|
-
return
|
|
740
|
+
var Ve = function(e, t) {
|
|
741
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
742
742
|
r.__proto__ = n;
|
|
743
743
|
} || function(r, n) {
|
|
744
744
|
for (var i in n)
|
|
745
745
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
746
|
-
},
|
|
746
|
+
}, Ve(e, t);
|
|
747
747
|
};
|
|
748
|
-
function G(
|
|
749
|
-
if (typeof
|
|
750
|
-
throw new TypeError("Class extends value " + String(
|
|
751
|
-
|
|
748
|
+
function G(e, t) {
|
|
749
|
+
if (typeof t != "function" && t !== null)
|
|
750
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
751
|
+
Ve(e, t);
|
|
752
752
|
function r() {
|
|
753
|
-
this.constructor =
|
|
753
|
+
this.constructor = e;
|
|
754
754
|
}
|
|
755
|
-
|
|
755
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
756
756
|
}
|
|
757
757
|
var _ = function() {
|
|
758
|
-
return _ = Object.assign || function(
|
|
758
|
+
return _ = Object.assign || function(t) {
|
|
759
759
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
760
760
|
r = arguments[n];
|
|
761
761
|
for (var o in r)
|
|
762
|
-
Object.prototype.hasOwnProperty.call(r, o) && (
|
|
762
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
763
763
|
}
|
|
764
|
-
return
|
|
764
|
+
return t;
|
|
765
765
|
}, _.apply(this, arguments);
|
|
766
766
|
};
|
|
767
|
-
function
|
|
767
|
+
function yn(e, t) {
|
|
768
768
|
var r = {};
|
|
769
|
-
for (var n in
|
|
770
|
-
Object.prototype.hasOwnProperty.call(
|
|
771
|
-
if (
|
|
772
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(
|
|
773
|
-
|
|
769
|
+
for (var n in e)
|
|
770
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
771
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
772
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
773
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
774
774
|
return r;
|
|
775
775
|
}
|
|
776
|
-
function
|
|
777
|
-
var
|
|
776
|
+
function Xe(e) {
|
|
777
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
778
778
|
if (r)
|
|
779
|
-
return r.call(
|
|
780
|
-
if (
|
|
779
|
+
return r.call(e);
|
|
780
|
+
if (e && typeof e.length == "number")
|
|
781
781
|
return {
|
|
782
782
|
next: function() {
|
|
783
|
-
return
|
|
783
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
|
-
throw new TypeError(
|
|
786
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
var r = typeof Symbol == "function" &&
|
|
788
|
+
function ze(e, t) {
|
|
789
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
790
790
|
if (!r)
|
|
791
|
-
return
|
|
792
|
-
var n = r.call(
|
|
791
|
+
return e;
|
|
792
|
+
var n = r.call(e), i, o = [], a;
|
|
793
793
|
try {
|
|
794
|
-
for (; (
|
|
794
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
795
795
|
o.push(i.value);
|
|
796
796
|
} catch (s) {
|
|
797
797
|
a = { error: s };
|
|
@@ -805,60 +805,60 @@ function Xt(t, e) {
|
|
|
805
805
|
}
|
|
806
806
|
return o;
|
|
807
807
|
}
|
|
808
|
-
function Z(
|
|
808
|
+
function Z(e, t, r) {
|
|
809
809
|
if (r || arguments.length === 2)
|
|
810
|
-
for (var n = 0, i =
|
|
811
|
-
(o || !(n in
|
|
812
|
-
return
|
|
810
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
811
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
812
|
+
return e.concat(o || t);
|
|
813
813
|
}
|
|
814
|
-
function R(
|
|
815
|
-
return typeof
|
|
814
|
+
function R(e) {
|
|
815
|
+
return typeof e == "function";
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
var
|
|
817
|
+
function qt(e) {
|
|
818
|
+
var t = function(n) {
|
|
819
819
|
Error.call(n), n.stack = new Error().stack;
|
|
820
|
-
}, r = t
|
|
820
|
+
}, r = e(t);
|
|
821
821
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
822
822
|
}
|
|
823
|
-
var
|
|
823
|
+
var Ne = qt(function(e) {
|
|
824
824
|
return function(r) {
|
|
825
|
-
|
|
825
|
+
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
826
826
|
` + r.map(function(n, i) {
|
|
827
827
|
return i + 1 + ") " + n.toString();
|
|
828
828
|
}).join(`
|
|
829
829
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
830
830
|
};
|
|
831
831
|
});
|
|
832
|
-
function
|
|
833
|
-
if (
|
|
834
|
-
var r =
|
|
835
|
-
0 <= r &&
|
|
832
|
+
function We(e, t) {
|
|
833
|
+
if (e) {
|
|
834
|
+
var r = e.indexOf(t);
|
|
835
|
+
0 <= r && e.splice(r, 1);
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
|
-
var
|
|
839
|
-
function t
|
|
840
|
-
this.initialTeardown =
|
|
838
|
+
var Se = function() {
|
|
839
|
+
function e(t) {
|
|
840
|
+
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
841
841
|
}
|
|
842
|
-
return
|
|
843
|
-
var
|
|
842
|
+
return e.prototype.unsubscribe = function() {
|
|
843
|
+
var t, r, n, i, o;
|
|
844
844
|
if (!this.closed) {
|
|
845
845
|
this.closed = !0;
|
|
846
846
|
var a = this._parentage;
|
|
847
847
|
if (a)
|
|
848
848
|
if (this._parentage = null, Array.isArray(a))
|
|
849
849
|
try {
|
|
850
|
-
for (var s =
|
|
850
|
+
for (var s = Xe(a), l = s.next(); !l.done; l = s.next()) {
|
|
851
851
|
var u = l.value;
|
|
852
852
|
u.remove(this);
|
|
853
853
|
}
|
|
854
854
|
} catch (d) {
|
|
855
|
-
|
|
855
|
+
t = { error: d };
|
|
856
856
|
} finally {
|
|
857
857
|
try {
|
|
858
858
|
l && !l.done && (r = s.return) && r.call(s);
|
|
859
859
|
} finally {
|
|
860
|
-
if (
|
|
861
|
-
throw
|
|
860
|
+
if (t)
|
|
861
|
+
throw t.error;
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
else
|
|
@@ -868,18 +868,18 @@ var St = function() {
|
|
|
868
868
|
try {
|
|
869
869
|
h();
|
|
870
870
|
} catch (d) {
|
|
871
|
-
o = d instanceof
|
|
871
|
+
o = d instanceof Ne ? d.errors : [d];
|
|
872
872
|
}
|
|
873
873
|
var c = this._finalizers;
|
|
874
874
|
if (c) {
|
|
875
875
|
this._finalizers = null;
|
|
876
876
|
try {
|
|
877
|
-
for (var f =
|
|
877
|
+
for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
|
|
878
878
|
var m = p.value;
|
|
879
879
|
try {
|
|
880
|
-
|
|
880
|
+
vt(m);
|
|
881
881
|
} catch (d) {
|
|
882
|
-
o = o != null ? o : [], d instanceof
|
|
882
|
+
o = o != null ? o : [], d instanceof Ne ? o = Z(Z([], ze(o)), ze(d.errors)) : o.push(d);
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
885
|
} catch (d) {
|
|
@@ -894,191 +894,211 @@ var St = function() {
|
|
|
894
894
|
}
|
|
895
895
|
}
|
|
896
896
|
if (o)
|
|
897
|
-
throw new
|
|
897
|
+
throw new Ne(o);
|
|
898
898
|
}
|
|
899
|
-
},
|
|
899
|
+
}, e.prototype.add = function(t) {
|
|
900
900
|
var r;
|
|
901
|
-
if (
|
|
901
|
+
if (t && t !== this)
|
|
902
902
|
if (this.closed)
|
|
903
|
-
|
|
903
|
+
vt(t);
|
|
904
904
|
else {
|
|
905
|
-
if (
|
|
906
|
-
if (
|
|
905
|
+
if (t instanceof e) {
|
|
906
|
+
if (t.closed || t._hasParent(this))
|
|
907
907
|
return;
|
|
908
|
-
|
|
908
|
+
t._addParent(this);
|
|
909
909
|
}
|
|
910
|
-
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(
|
|
910
|
+
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
|
|
911
911
|
}
|
|
912
|
-
},
|
|
912
|
+
}, e.prototype._hasParent = function(t) {
|
|
913
913
|
var r = this._parentage;
|
|
914
|
-
return r ===
|
|
915
|
-
},
|
|
914
|
+
return r === t || Array.isArray(r) && r.includes(t);
|
|
915
|
+
}, e.prototype._addParent = function(t) {
|
|
916
916
|
var r = this._parentage;
|
|
917
|
-
this._parentage = Array.isArray(r) ? (r.push(
|
|
918
|
-
},
|
|
917
|
+
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
918
|
+
}, e.prototype._removeParent = function(t) {
|
|
919
919
|
var r = this._parentage;
|
|
920
|
-
r ===
|
|
921
|
-
},
|
|
920
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
921
|
+
}, e.prototype.remove = function(t) {
|
|
922
922
|
var r = this._finalizers;
|
|
923
|
-
r &&
|
|
924
|
-
},
|
|
925
|
-
var
|
|
926
|
-
return
|
|
927
|
-
}(),
|
|
928
|
-
}(),
|
|
929
|
-
function
|
|
930
|
-
return
|
|
931
|
-
}
|
|
932
|
-
function
|
|
933
|
-
R(
|
|
934
|
-
}
|
|
935
|
-
var
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
923
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
924
|
+
}, e.EMPTY = function() {
|
|
925
|
+
var t = new e();
|
|
926
|
+
return t.closed = !0, t;
|
|
927
|
+
}(), e;
|
|
928
|
+
}(), Yt = Se.EMPTY;
|
|
929
|
+
function Kt(e) {
|
|
930
|
+
return e instanceof Se || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
931
|
+
}
|
|
932
|
+
function vt(e) {
|
|
933
|
+
R(e) ? e() : e.unsubscribe();
|
|
934
|
+
}
|
|
935
|
+
var er = {
|
|
936
|
+
onUnhandledError: null,
|
|
937
|
+
onStoppedNotification: null,
|
|
938
|
+
Promise: void 0,
|
|
939
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
940
|
+
useDeprecatedNextContext: !1
|
|
941
|
+
}, vn = {
|
|
942
|
+
setTimeout: function(e, t) {
|
|
939
943
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
940
944
|
r[n - 2] = arguments[n];
|
|
941
|
-
return setTimeout.apply(void 0, Z([
|
|
945
|
+
return setTimeout.apply(void 0, Z([e, t], ze(r)));
|
|
942
946
|
},
|
|
943
|
-
clearTimeout: function(
|
|
944
|
-
return clearTimeout(
|
|
947
|
+
clearTimeout: function(e) {
|
|
948
|
+
return clearTimeout(e);
|
|
945
949
|
},
|
|
946
950
|
delegate: void 0
|
|
947
951
|
};
|
|
948
|
-
function
|
|
949
|
-
|
|
950
|
-
throw
|
|
952
|
+
function _n(e) {
|
|
953
|
+
vn.setTimeout(function() {
|
|
954
|
+
throw e;
|
|
951
955
|
});
|
|
952
956
|
}
|
|
953
|
-
function
|
|
957
|
+
function _t() {
|
|
954
958
|
}
|
|
955
|
-
function
|
|
956
|
-
|
|
959
|
+
function de(e) {
|
|
960
|
+
e();
|
|
957
961
|
}
|
|
958
|
-
var
|
|
959
|
-
G(
|
|
960
|
-
function
|
|
961
|
-
var n =
|
|
962
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
962
|
+
var tr = function(e) {
|
|
963
|
+
G(t, e);
|
|
964
|
+
function t(r) {
|
|
965
|
+
var n = e.call(this) || this;
|
|
966
|
+
return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = Sn, n;
|
|
963
967
|
}
|
|
964
|
-
return
|
|
965
|
-
return new
|
|
966
|
-
},
|
|
968
|
+
return t.create = function(r, n, i) {
|
|
969
|
+
return new Ze(r, n, i);
|
|
970
|
+
}, t.prototype.next = function(r) {
|
|
967
971
|
this.isStopped || this._next(r);
|
|
968
|
-
},
|
|
972
|
+
}, t.prototype.error = function(r) {
|
|
969
973
|
this.isStopped || (this.isStopped = !0, this._error(r));
|
|
970
|
-
},
|
|
974
|
+
}, t.prototype.complete = function() {
|
|
971
975
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
972
|
-
},
|
|
973
|
-
this.closed || (this.isStopped = !0,
|
|
974
|
-
},
|
|
976
|
+
}, t.prototype.unsubscribe = function() {
|
|
977
|
+
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
978
|
+
}, t.prototype._next = function(r) {
|
|
975
979
|
this.destination.next(r);
|
|
976
|
-
},
|
|
980
|
+
}, t.prototype._error = function(r) {
|
|
977
981
|
try {
|
|
978
982
|
this.destination.error(r);
|
|
979
983
|
} finally {
|
|
980
984
|
this.unsubscribe();
|
|
981
985
|
}
|
|
982
|
-
},
|
|
986
|
+
}, t.prototype._complete = function() {
|
|
983
987
|
try {
|
|
984
988
|
this.destination.complete();
|
|
985
989
|
} finally {
|
|
986
990
|
this.unsubscribe();
|
|
987
991
|
}
|
|
988
|
-
},
|
|
989
|
-
}(
|
|
990
|
-
|
|
991
|
-
|
|
992
|
+
}, t;
|
|
993
|
+
}(Se), xn = Function.prototype.bind;
|
|
994
|
+
function $e(e, t) {
|
|
995
|
+
return xn.call(e, t);
|
|
996
|
+
}
|
|
997
|
+
var En = function() {
|
|
998
|
+
function e(t) {
|
|
999
|
+
this.partialObserver = t;
|
|
992
1000
|
}
|
|
993
|
-
return
|
|
1001
|
+
return e.prototype.next = function(t) {
|
|
994
1002
|
var r = this.partialObserver;
|
|
995
1003
|
if (r.next)
|
|
996
1004
|
try {
|
|
997
|
-
r.next(
|
|
1005
|
+
r.next(t);
|
|
998
1006
|
} catch (n) {
|
|
999
|
-
|
|
1007
|
+
ce(n);
|
|
1000
1008
|
}
|
|
1001
|
-
},
|
|
1009
|
+
}, e.prototype.error = function(t) {
|
|
1002
1010
|
var r = this.partialObserver;
|
|
1003
1011
|
if (r.error)
|
|
1004
1012
|
try {
|
|
1005
|
-
r.error(
|
|
1013
|
+
r.error(t);
|
|
1006
1014
|
} catch (n) {
|
|
1007
|
-
|
|
1015
|
+
ce(n);
|
|
1008
1016
|
}
|
|
1009
1017
|
else
|
|
1010
|
-
|
|
1011
|
-
},
|
|
1012
|
-
var
|
|
1013
|
-
if (
|
|
1018
|
+
ce(t);
|
|
1019
|
+
}, e.prototype.complete = function() {
|
|
1020
|
+
var t = this.partialObserver;
|
|
1021
|
+
if (t.complete)
|
|
1014
1022
|
try {
|
|
1015
|
-
|
|
1023
|
+
t.complete();
|
|
1016
1024
|
} catch (r) {
|
|
1017
|
-
|
|
1025
|
+
ce(r);
|
|
1018
1026
|
}
|
|
1019
|
-
},
|
|
1020
|
-
}(),
|
|
1021
|
-
G(
|
|
1022
|
-
function
|
|
1023
|
-
var o =
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1027
|
+
}, e;
|
|
1028
|
+
}(), Ze = function(e) {
|
|
1029
|
+
G(t, e);
|
|
1030
|
+
function t(r, n, i) {
|
|
1031
|
+
var o = e.call(this) || this, a;
|
|
1032
|
+
if (R(r) || !r)
|
|
1033
|
+
a = {
|
|
1034
|
+
next: r != null ? r : void 0,
|
|
1035
|
+
error: n != null ? n : void 0,
|
|
1036
|
+
complete: i != null ? i : void 0
|
|
1037
|
+
};
|
|
1038
|
+
else {
|
|
1039
|
+
var s;
|
|
1040
|
+
o && er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1041
|
+
return o.unsubscribe();
|
|
1042
|
+
}, a = {
|
|
1043
|
+
next: r.next && $e(r.next, s),
|
|
1044
|
+
error: r.error && $e(r.error, s),
|
|
1045
|
+
complete: r.complete && $e(r.complete, s)
|
|
1046
|
+
}) : a = r;
|
|
1047
|
+
}
|
|
1048
|
+
return o.destination = new En(a), o;
|
|
1029
1049
|
}
|
|
1030
|
-
return
|
|
1031
|
-
}(
|
|
1032
|
-
function
|
|
1033
|
-
|
|
1050
|
+
return t;
|
|
1051
|
+
}(tr);
|
|
1052
|
+
function ce(e) {
|
|
1053
|
+
_n(e);
|
|
1034
1054
|
}
|
|
1035
|
-
function
|
|
1036
|
-
throw
|
|
1055
|
+
function wn(e) {
|
|
1056
|
+
throw e;
|
|
1037
1057
|
}
|
|
1038
|
-
var
|
|
1058
|
+
var Sn = {
|
|
1039
1059
|
closed: !0,
|
|
1040
|
-
next:
|
|
1041
|
-
error:
|
|
1042
|
-
complete:
|
|
1043
|
-
},
|
|
1060
|
+
next: _t,
|
|
1061
|
+
error: wn,
|
|
1062
|
+
complete: _t
|
|
1063
|
+
}, Tn = function() {
|
|
1044
1064
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1045
1065
|
}();
|
|
1046
|
-
function
|
|
1047
|
-
return
|
|
1066
|
+
function Hn(e) {
|
|
1067
|
+
return e;
|
|
1048
1068
|
}
|
|
1049
|
-
function
|
|
1050
|
-
return
|
|
1051
|
-
return
|
|
1069
|
+
function Cn(e) {
|
|
1070
|
+
return e.length === 0 ? Hn : e.length === 1 ? e[0] : function(r) {
|
|
1071
|
+
return e.reduce(function(n, i) {
|
|
1052
1072
|
return i(n);
|
|
1053
1073
|
}, r);
|
|
1054
1074
|
};
|
|
1055
1075
|
}
|
|
1056
|
-
var
|
|
1057
|
-
function t
|
|
1058
|
-
|
|
1076
|
+
var xt = function() {
|
|
1077
|
+
function e(t) {
|
|
1078
|
+
t && (this._subscribe = t);
|
|
1059
1079
|
}
|
|
1060
|
-
return
|
|
1061
|
-
var r = new
|
|
1062
|
-
return r.source = this, r.operator =
|
|
1063
|
-
},
|
|
1064
|
-
var i = this, o =
|
|
1065
|
-
return
|
|
1080
|
+
return e.prototype.lift = function(t) {
|
|
1081
|
+
var r = new e();
|
|
1082
|
+
return r.source = this, r.operator = t, r;
|
|
1083
|
+
}, e.prototype.subscribe = function(t, r, n) {
|
|
1084
|
+
var i = this, o = An(t) ? t : new Ze(t, r, n);
|
|
1085
|
+
return de(function() {
|
|
1066
1086
|
var a = i, s = a.operator, l = a.source;
|
|
1067
1087
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
1068
1088
|
}), o;
|
|
1069
|
-
},
|
|
1089
|
+
}, e.prototype._trySubscribe = function(t) {
|
|
1070
1090
|
try {
|
|
1071
|
-
return this._subscribe(
|
|
1091
|
+
return this._subscribe(t);
|
|
1072
1092
|
} catch (r) {
|
|
1073
|
-
|
|
1093
|
+
t.error(r);
|
|
1074
1094
|
}
|
|
1075
|
-
},
|
|
1095
|
+
}, e.prototype.forEach = function(t, r) {
|
|
1076
1096
|
var n = this;
|
|
1077
|
-
return r =
|
|
1078
|
-
var a = new
|
|
1097
|
+
return r = Et(r), new r(function(i, o) {
|
|
1098
|
+
var a = new Ze({
|
|
1079
1099
|
next: function(s) {
|
|
1080
1100
|
try {
|
|
1081
|
-
|
|
1101
|
+
t(s);
|
|
1082
1102
|
} catch (l) {
|
|
1083
1103
|
o(l), a.unsubscribe();
|
|
1084
1104
|
}
|
|
@@ -1088,18 +1108,18 @@ var ye = function() {
|
|
|
1088
1108
|
});
|
|
1089
1109
|
n.subscribe(a);
|
|
1090
1110
|
});
|
|
1091
|
-
},
|
|
1111
|
+
}, e.prototype._subscribe = function(t) {
|
|
1092
1112
|
var r;
|
|
1093
|
-
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(
|
|
1094
|
-
},
|
|
1113
|
+
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1114
|
+
}, e.prototype[Tn] = function() {
|
|
1095
1115
|
return this;
|
|
1096
|
-
},
|
|
1097
|
-
for (var
|
|
1098
|
-
|
|
1099
|
-
return
|
|
1100
|
-
},
|
|
1116
|
+
}, e.prototype.pipe = function() {
|
|
1117
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1118
|
+
t[r] = arguments[r];
|
|
1119
|
+
return Cn(t)(this);
|
|
1120
|
+
}, e.prototype.toPromise = function(t) {
|
|
1101
1121
|
var r = this;
|
|
1102
|
-
return
|
|
1122
|
+
return t = Et(t), new t(function(n, i) {
|
|
1103
1123
|
var o;
|
|
1104
1124
|
r.subscribe(function(a) {
|
|
1105
1125
|
return o = a;
|
|
@@ -1109,44 +1129,44 @@ var ye = function() {
|
|
|
1109
1129
|
return n(o);
|
|
1110
1130
|
});
|
|
1111
1131
|
});
|
|
1112
|
-
},
|
|
1113
|
-
return new t
|
|
1114
|
-
},
|
|
1132
|
+
}, e.create = function(t) {
|
|
1133
|
+
return new e(t);
|
|
1134
|
+
}, e;
|
|
1115
1135
|
}();
|
|
1116
|
-
function
|
|
1117
|
-
var
|
|
1118
|
-
return (
|
|
1136
|
+
function Et(e) {
|
|
1137
|
+
var t;
|
|
1138
|
+
return (t = e != null ? e : er.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1119
1139
|
}
|
|
1120
|
-
function
|
|
1121
|
-
return
|
|
1140
|
+
function Bn(e) {
|
|
1141
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1122
1142
|
}
|
|
1123
|
-
function
|
|
1124
|
-
return
|
|
1143
|
+
function An(e) {
|
|
1144
|
+
return e && e instanceof tr || Bn(e) && Kt(e);
|
|
1125
1145
|
}
|
|
1126
|
-
var
|
|
1146
|
+
var Pn = qt(function(e) {
|
|
1127
1147
|
return function() {
|
|
1128
|
-
|
|
1148
|
+
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1129
1149
|
};
|
|
1130
|
-
}),
|
|
1131
|
-
G(
|
|
1132
|
-
function
|
|
1133
|
-
var r =
|
|
1150
|
+
}), rr = function(e) {
|
|
1151
|
+
G(t, e);
|
|
1152
|
+
function t() {
|
|
1153
|
+
var r = e.call(this) || this;
|
|
1134
1154
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1135
1155
|
}
|
|
1136
|
-
return
|
|
1137
|
-
var n = new
|
|
1156
|
+
return t.prototype.lift = function(r) {
|
|
1157
|
+
var n = new wt(this, this);
|
|
1138
1158
|
return n.operator = r, n;
|
|
1139
|
-
},
|
|
1159
|
+
}, t.prototype._throwIfClosed = function() {
|
|
1140
1160
|
if (this.closed)
|
|
1141
|
-
throw new
|
|
1142
|
-
},
|
|
1161
|
+
throw new Pn();
|
|
1162
|
+
}, t.prototype.next = function(r) {
|
|
1143
1163
|
var n = this;
|
|
1144
|
-
|
|
1164
|
+
de(function() {
|
|
1145
1165
|
var i, o;
|
|
1146
1166
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1147
1167
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1148
1168
|
try {
|
|
1149
|
-
for (var a =
|
|
1169
|
+
for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1150
1170
|
var l = s.value;
|
|
1151
1171
|
l.next(r);
|
|
1152
1172
|
}
|
|
@@ -1162,119 +1182,119 @@ var Hn = Ze(function(t) {
|
|
|
1162
1182
|
}
|
|
1163
1183
|
}
|
|
1164
1184
|
});
|
|
1165
|
-
},
|
|
1185
|
+
}, t.prototype.error = function(r) {
|
|
1166
1186
|
var n = this;
|
|
1167
|
-
|
|
1187
|
+
de(function() {
|
|
1168
1188
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1169
1189
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1170
1190
|
for (var i = n.observers; i.length; )
|
|
1171
1191
|
i.shift().error(r);
|
|
1172
1192
|
}
|
|
1173
1193
|
});
|
|
1174
|
-
},
|
|
1194
|
+
}, t.prototype.complete = function() {
|
|
1175
1195
|
var r = this;
|
|
1176
|
-
|
|
1196
|
+
de(function() {
|
|
1177
1197
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1178
1198
|
r.isStopped = !0;
|
|
1179
1199
|
for (var n = r.observers; n.length; )
|
|
1180
1200
|
n.shift().complete();
|
|
1181
1201
|
}
|
|
1182
1202
|
});
|
|
1183
|
-
},
|
|
1203
|
+
}, t.prototype.unsubscribe = function() {
|
|
1184
1204
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
1185
|
-
}, Object.defineProperty(
|
|
1205
|
+
}, Object.defineProperty(t.prototype, "observed", {
|
|
1186
1206
|
get: function() {
|
|
1187
1207
|
var r;
|
|
1188
1208
|
return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
|
|
1189
1209
|
},
|
|
1190
1210
|
enumerable: !1,
|
|
1191
1211
|
configurable: !0
|
|
1192
|
-
}),
|
|
1193
|
-
return this._throwIfClosed(),
|
|
1194
|
-
},
|
|
1212
|
+
}), t.prototype._trySubscribe = function(r) {
|
|
1213
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
|
|
1214
|
+
}, t.prototype._subscribe = function(r) {
|
|
1195
1215
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1196
|
-
},
|
|
1216
|
+
}, t.prototype._innerSubscribe = function(r) {
|
|
1197
1217
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1198
|
-
return o || a ?
|
|
1199
|
-
n.currentObservers = null,
|
|
1218
|
+
return o || a ? Yt : (this.currentObservers = null, s.push(r), new Se(function() {
|
|
1219
|
+
n.currentObservers = null, We(s, r);
|
|
1200
1220
|
}));
|
|
1201
|
-
},
|
|
1221
|
+
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1202
1222
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1203
1223
|
i ? r.error(o) : a && r.complete();
|
|
1204
|
-
},
|
|
1205
|
-
var r = new
|
|
1224
|
+
}, t.prototype.asObservable = function() {
|
|
1225
|
+
var r = new xt();
|
|
1206
1226
|
return r.source = this, r;
|
|
1207
|
-
},
|
|
1208
|
-
return new
|
|
1209
|
-
},
|
|
1210
|
-
}(
|
|
1211
|
-
G(
|
|
1212
|
-
function
|
|
1213
|
-
var i =
|
|
1227
|
+
}, t.create = function(r, n) {
|
|
1228
|
+
return new wt(r, n);
|
|
1229
|
+
}, t;
|
|
1230
|
+
}(xt), wt = function(e) {
|
|
1231
|
+
G(t, e);
|
|
1232
|
+
function t(r, n) {
|
|
1233
|
+
var i = e.call(this) || this;
|
|
1214
1234
|
return i.destination = r, i.source = n, i;
|
|
1215
1235
|
}
|
|
1216
|
-
return
|
|
1236
|
+
return t.prototype.next = function(r) {
|
|
1217
1237
|
var n, i;
|
|
1218
1238
|
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
1219
|
-
},
|
|
1239
|
+
}, t.prototype.error = function(r) {
|
|
1220
1240
|
var n, i;
|
|
1221
1241
|
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
1222
|
-
},
|
|
1242
|
+
}, t.prototype.complete = function() {
|
|
1223
1243
|
var r, n;
|
|
1224
1244
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1225
|
-
},
|
|
1245
|
+
}, t.prototype._subscribe = function(r) {
|
|
1226
1246
|
var n, i;
|
|
1227
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1228
|
-
},
|
|
1229
|
-
}(
|
|
1247
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
|
|
1248
|
+
}, t;
|
|
1249
|
+
}(rr), nr = {
|
|
1230
1250
|
now: function() {
|
|
1231
|
-
return (
|
|
1251
|
+
return (nr.delegate || Date).now();
|
|
1232
1252
|
},
|
|
1233
1253
|
delegate: void 0
|
|
1234
|
-
},
|
|
1235
|
-
G(
|
|
1236
|
-
function
|
|
1237
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1238
|
-
var o =
|
|
1254
|
+
}, Ln = function(e) {
|
|
1255
|
+
G(t, e);
|
|
1256
|
+
function t(r, n, i) {
|
|
1257
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
|
|
1258
|
+
var o = e.call(this) || this;
|
|
1239
1259
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1240
1260
|
}
|
|
1241
|
-
return
|
|
1261
|
+
return t.prototype.next = function(r) {
|
|
1242
1262
|
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
|
|
1243
|
-
i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(),
|
|
1244
|
-
},
|
|
1263
|
+
i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1264
|
+
}, t.prototype._subscribe = function(r) {
|
|
1245
1265
|
this._throwIfClosed(), this._trimBuffer();
|
|
1246
1266
|
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
|
|
1247
1267
|
r.next(s[l]);
|
|
1248
1268
|
return this._checkFinalizedStatuses(r), n;
|
|
1249
|
-
},
|
|
1269
|
+
}, t.prototype._trimBuffer = function() {
|
|
1250
1270
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1251
1271
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1252
1272
|
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1253
1273
|
u = h;
|
|
1254
1274
|
u && o.splice(0, u + 1);
|
|
1255
1275
|
}
|
|
1256
|
-
},
|
|
1257
|
-
}(
|
|
1258
|
-
const
|
|
1259
|
-
if (
|
|
1260
|
-
const r = new
|
|
1261
|
-
|
|
1276
|
+
}, t;
|
|
1277
|
+
}(rr);
|
|
1278
|
+
const St = [], Tt = {}, On = (e, t = 0) => {
|
|
1279
|
+
if (St.indexOf(e) == -1) {
|
|
1280
|
+
const r = new Ln(t);
|
|
1281
|
+
Tt[e] = r, St.push(e);
|
|
1262
1282
|
}
|
|
1263
|
-
return
|
|
1283
|
+
return Tt[e];
|
|
1264
1284
|
}, V = [];
|
|
1265
|
-
function
|
|
1285
|
+
function In(e, t) {
|
|
1266
1286
|
return {
|
|
1267
|
-
subscribe:
|
|
1287
|
+
subscribe: Te(e, t).subscribe
|
|
1268
1288
|
};
|
|
1269
1289
|
}
|
|
1270
|
-
function
|
|
1290
|
+
function Te(e, t = I) {
|
|
1271
1291
|
let r;
|
|
1272
1292
|
const n = /* @__PURE__ */ new Set();
|
|
1273
1293
|
function i(s) {
|
|
1274
|
-
if (
|
|
1294
|
+
if (kt(e, s) && (e = s, r)) {
|
|
1275
1295
|
const l = !V.length;
|
|
1276
1296
|
for (const u of n)
|
|
1277
|
-
u[1](), V.push(u,
|
|
1297
|
+
u[1](), V.push(u, e);
|
|
1278
1298
|
if (l) {
|
|
1279
1299
|
for (let u = 0; u < V.length; u += 2)
|
|
1280
1300
|
V[u][0](V[u + 1]);
|
|
@@ -1283,22 +1303,22 @@ function Tt(t, e = I) {
|
|
|
1283
1303
|
}
|
|
1284
1304
|
}
|
|
1285
1305
|
function o(s) {
|
|
1286
|
-
i(s(
|
|
1306
|
+
i(s(e));
|
|
1287
1307
|
}
|
|
1288
1308
|
function a(s, l = I) {
|
|
1289
1309
|
const u = [s, l];
|
|
1290
|
-
return n.add(u), n.size === 1 && (r =
|
|
1310
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), s(e), () => {
|
|
1291
1311
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1292
1312
|
};
|
|
1293
1313
|
}
|
|
1294
1314
|
return { set: i, update: o, subscribe: a };
|
|
1295
1315
|
}
|
|
1296
|
-
function K(
|
|
1297
|
-
const n = !Array.isArray(
|
|
1316
|
+
function K(e, t, r) {
|
|
1317
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1298
1318
|
if (!i.every(Boolean))
|
|
1299
1319
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1300
|
-
const o =
|
|
1301
|
-
return
|
|
1320
|
+
const o = t.length < 2;
|
|
1321
|
+
return In(r, (a, s) => {
|
|
1302
1322
|
let l = !1;
|
|
1303
1323
|
const u = [];
|
|
1304
1324
|
let h = 0, c = I;
|
|
@@ -1306,10 +1326,10 @@ function K(t, e, r) {
|
|
|
1306
1326
|
if (h)
|
|
1307
1327
|
return;
|
|
1308
1328
|
c();
|
|
1309
|
-
const m =
|
|
1310
|
-
o ? a(m) : c =
|
|
1329
|
+
const m = t(n ? u[0] : u, a, s);
|
|
1330
|
+
o ? a(m) : c = we(m) ? m : I;
|
|
1311
1331
|
}, p = i.map(
|
|
1312
|
-
(m, d) =>
|
|
1332
|
+
(m, d) => Vt(
|
|
1313
1333
|
m,
|
|
1314
1334
|
(v) => {
|
|
1315
1335
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1324,184 +1344,186 @@ function K(t, e, r) {
|
|
|
1324
1344
|
};
|
|
1325
1345
|
});
|
|
1326
1346
|
}
|
|
1327
|
-
function
|
|
1328
|
-
return
|
|
1347
|
+
function Mn(e) {
|
|
1348
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1329
1349
|
}
|
|
1330
|
-
var
|
|
1331
|
-
return
|
|
1350
|
+
var Nn = function(t) {
|
|
1351
|
+
return $n(t) && !Rn(t);
|
|
1332
1352
|
};
|
|
1333
|
-
function
|
|
1334
|
-
return !!
|
|
1353
|
+
function $n(e) {
|
|
1354
|
+
return !!e && typeof e == "object";
|
|
1335
1355
|
}
|
|
1336
|
-
function
|
|
1337
|
-
var
|
|
1338
|
-
return
|
|
1356
|
+
function Rn(e) {
|
|
1357
|
+
var t = Object.prototype.toString.call(e);
|
|
1358
|
+
return t === "[object RegExp]" || t === "[object Date]" || Dn(e);
|
|
1339
1359
|
}
|
|
1340
|
-
var
|
|
1341
|
-
function
|
|
1342
|
-
return
|
|
1360
|
+
var Gn = typeof Symbol == "function" && Symbol.for, Un = Gn ? Symbol.for("react.element") : 60103;
|
|
1361
|
+
function Dn(e) {
|
|
1362
|
+
return e.$$typeof === Un;
|
|
1343
1363
|
}
|
|
1344
|
-
function
|
|
1345
|
-
return Array.isArray(
|
|
1364
|
+
function Fn(e) {
|
|
1365
|
+
return Array.isArray(e) ? [] : {};
|
|
1346
1366
|
}
|
|
1347
|
-
function
|
|
1348
|
-
return
|
|
1367
|
+
function ae(e, t) {
|
|
1368
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Fn(e), e, t) : e;
|
|
1349
1369
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return
|
|
1352
|
-
return
|
|
1370
|
+
function jn(e, t, r) {
|
|
1371
|
+
return e.concat(t).map(function(n) {
|
|
1372
|
+
return ae(n, r);
|
|
1353
1373
|
});
|
|
1354
1374
|
}
|
|
1355
|
-
function
|
|
1356
|
-
if (!
|
|
1375
|
+
function kn(e, t) {
|
|
1376
|
+
if (!t.customMerge)
|
|
1357
1377
|
return Q;
|
|
1358
|
-
var r =
|
|
1378
|
+
var r = t.customMerge(e);
|
|
1359
1379
|
return typeof r == "function" ? r : Q;
|
|
1360
1380
|
}
|
|
1361
|
-
function
|
|
1362
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(
|
|
1363
|
-
return Object.propertyIsEnumerable.call(
|
|
1381
|
+
function Vn(e) {
|
|
1382
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1383
|
+
return Object.propertyIsEnumerable.call(e, t);
|
|
1364
1384
|
}) : [];
|
|
1365
1385
|
}
|
|
1366
|
-
function
|
|
1367
|
-
return Object.keys(
|
|
1386
|
+
function Ht(e) {
|
|
1387
|
+
return Object.keys(e).concat(Vn(e));
|
|
1368
1388
|
}
|
|
1369
|
-
function
|
|
1389
|
+
function ir(e, t) {
|
|
1370
1390
|
try {
|
|
1371
|
-
return
|
|
1391
|
+
return t in e;
|
|
1372
1392
|
} catch (r) {
|
|
1373
1393
|
return !1;
|
|
1374
1394
|
}
|
|
1375
1395
|
}
|
|
1376
|
-
function
|
|
1377
|
-
return
|
|
1396
|
+
function Xn(e, t) {
|
|
1397
|
+
return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1378
1398
|
}
|
|
1379
|
-
function
|
|
1399
|
+
function zn(e, t, r) {
|
|
1380
1400
|
var n = {};
|
|
1381
|
-
return r.isMergeableObject(
|
|
1382
|
-
n[i] =
|
|
1383
|
-
}),
|
|
1384
|
-
|
|
1401
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1402
|
+
n[i] = ae(e[i], r);
|
|
1403
|
+
}), Ht(t).forEach(function(i) {
|
|
1404
|
+
Xn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = kn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1385
1405
|
}), n;
|
|
1386
1406
|
}
|
|
1387
|
-
function Q(
|
|
1388
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1389
|
-
var n = Array.isArray(
|
|
1390
|
-
return o ? n ? r.arrayMerge(
|
|
1407
|
+
function Q(e, t, r) {
|
|
1408
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || jn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1409
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1410
|
+
return o ? n ? r.arrayMerge(e, t, r) : zn(e, t, r) : ae(t, r);
|
|
1391
1411
|
}
|
|
1392
|
-
Q.all = function(
|
|
1393
|
-
if (!Array.isArray(
|
|
1412
|
+
Q.all = function(t, r) {
|
|
1413
|
+
if (!Array.isArray(t))
|
|
1394
1414
|
throw new Error("first argument should be an array");
|
|
1395
|
-
return
|
|
1415
|
+
return t.reduce(function(n, i) {
|
|
1396
1416
|
return Q(n, i, r);
|
|
1397
1417
|
}, {});
|
|
1398
1418
|
};
|
|
1399
|
-
var
|
|
1400
|
-
const
|
|
1401
|
-
function
|
|
1402
|
-
var r =
|
|
1403
|
-
return i(
|
|
1419
|
+
var Wn = Q, Zn = Wn;
|
|
1420
|
+
const Qn = /* @__PURE__ */ Mn(Zn);
|
|
1421
|
+
function Re(e, t) {
|
|
1422
|
+
var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : qn;
|
|
1423
|
+
return i(e, {
|
|
1404
1424
|
cache: r,
|
|
1405
1425
|
serializer: n
|
|
1406
1426
|
});
|
|
1407
1427
|
}
|
|
1408
|
-
function
|
|
1409
|
-
return
|
|
1428
|
+
function Jn(e) {
|
|
1429
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1410
1430
|
}
|
|
1411
|
-
function
|
|
1412
|
-
var i =
|
|
1413
|
-
return typeof o == "undefined" && (o =
|
|
1431
|
+
function or(e, t, r, n) {
|
|
1432
|
+
var i = Jn(n) ? n : r(n), o = t.get(i);
|
|
1433
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1414
1434
|
}
|
|
1415
|
-
function
|
|
1416
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o =
|
|
1417
|
-
return typeof o == "undefined" && (o =
|
|
1435
|
+
function sr(e, t, r) {
|
|
1436
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1437
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1418
1438
|
}
|
|
1419
|
-
function
|
|
1420
|
-
return r.bind(
|
|
1439
|
+
function st(e, t, r, n, i) {
|
|
1440
|
+
return r.bind(t, e, n, i);
|
|
1421
1441
|
}
|
|
1422
|
-
function
|
|
1423
|
-
var r =
|
|
1424
|
-
return
|
|
1442
|
+
function qn(e, t) {
|
|
1443
|
+
var r = e.length === 1 ? or : sr;
|
|
1444
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1425
1445
|
}
|
|
1426
|
-
function
|
|
1427
|
-
return
|
|
1446
|
+
function Yn(e, t) {
|
|
1447
|
+
return st(e, this, sr, t.cache.create(), t.serializer);
|
|
1428
1448
|
}
|
|
1429
|
-
|
|
1449
|
+
function Kn(e, t) {
|
|
1450
|
+
return st(e, this, or, t.cache.create(), t.serializer);
|
|
1451
|
+
}
|
|
1452
|
+
var ei = function() {
|
|
1430
1453
|
return JSON.stringify(arguments);
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
}()
|
|
1443
|
-
), Yn = {
|
|
1454
|
+
};
|
|
1455
|
+
function at() {
|
|
1456
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1457
|
+
}
|
|
1458
|
+
at.prototype.get = function(e) {
|
|
1459
|
+
return this.cache[e];
|
|
1460
|
+
};
|
|
1461
|
+
at.prototype.set = function(e, t) {
|
|
1462
|
+
this.cache[e] = t;
|
|
1463
|
+
};
|
|
1464
|
+
var ti = {
|
|
1444
1465
|
create: function() {
|
|
1445
|
-
return new
|
|
1466
|
+
return new at();
|
|
1446
1467
|
}
|
|
1447
|
-
},
|
|
1448
|
-
variadic:
|
|
1468
|
+
}, Ge = {
|
|
1469
|
+
variadic: Yn,
|
|
1470
|
+
monadic: Kn
|
|
1449
1471
|
}, b;
|
|
1450
|
-
(function(
|
|
1451
|
-
|
|
1472
|
+
(function(e) {
|
|
1473
|
+
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";
|
|
1452
1474
|
})(b || (b = {}));
|
|
1453
1475
|
var E;
|
|
1454
|
-
(function(
|
|
1455
|
-
|
|
1476
|
+
(function(e) {
|
|
1477
|
+
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";
|
|
1456
1478
|
})(E || (E = {}));
|
|
1457
1479
|
var J;
|
|
1458
|
-
(function(
|
|
1459
|
-
|
|
1480
|
+
(function(e) {
|
|
1481
|
+
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1460
1482
|
})(J || (J = {}));
|
|
1461
|
-
function
|
|
1462
|
-
return
|
|
1483
|
+
function Ct(e) {
|
|
1484
|
+
return e.type === E.literal;
|
|
1463
1485
|
}
|
|
1464
|
-
function
|
|
1465
|
-
return
|
|
1486
|
+
function ri(e) {
|
|
1487
|
+
return e.type === E.argument;
|
|
1466
1488
|
}
|
|
1467
|
-
function
|
|
1468
|
-
return
|
|
1489
|
+
function ar(e) {
|
|
1490
|
+
return e.type === E.number;
|
|
1469
1491
|
}
|
|
1470
|
-
function
|
|
1471
|
-
return
|
|
1492
|
+
function ur(e) {
|
|
1493
|
+
return e.type === E.date;
|
|
1472
1494
|
}
|
|
1473
|
-
function
|
|
1474
|
-
return
|
|
1495
|
+
function lr(e) {
|
|
1496
|
+
return e.type === E.time;
|
|
1475
1497
|
}
|
|
1476
|
-
function
|
|
1477
|
-
return
|
|
1498
|
+
function hr(e) {
|
|
1499
|
+
return e.type === E.select;
|
|
1478
1500
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return
|
|
1501
|
+
function cr(e) {
|
|
1502
|
+
return e.type === E.plural;
|
|
1481
1503
|
}
|
|
1482
|
-
function
|
|
1483
|
-
return
|
|
1504
|
+
function ni(e) {
|
|
1505
|
+
return e.type === E.pound;
|
|
1484
1506
|
}
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1507
|
+
function fr(e) {
|
|
1508
|
+
return e.type === E.tag;
|
|
1487
1509
|
}
|
|
1488
|
-
function
|
|
1489
|
-
return !!(
|
|
1510
|
+
function mr(e) {
|
|
1511
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1490
1512
|
}
|
|
1491
|
-
function
|
|
1492
|
-
return !!(
|
|
1513
|
+
function Qe(e) {
|
|
1514
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1493
1515
|
}
|
|
1494
|
-
var
|
|
1495
|
-
function
|
|
1496
|
-
var
|
|
1497
|
-
return
|
|
1516
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
|
|
1517
|
+
function oi(e) {
|
|
1518
|
+
var t = {};
|
|
1519
|
+
return e.replace(ii, function(r) {
|
|
1498
1520
|
var n = r.length;
|
|
1499
1521
|
switch (r[0]) {
|
|
1500
1522
|
case "G":
|
|
1501
|
-
|
|
1523
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1502
1524
|
break;
|
|
1503
1525
|
case "y":
|
|
1504
|
-
|
|
1526
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
1505
1527
|
break;
|
|
1506
1528
|
case "Y":
|
|
1507
1529
|
case "u":
|
|
@@ -1513,64 +1535,64 @@ function ri(t) {
|
|
|
1513
1535
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1514
1536
|
case "M":
|
|
1515
1537
|
case "L":
|
|
1516
|
-
|
|
1538
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
1517
1539
|
break;
|
|
1518
1540
|
case "w":
|
|
1519
1541
|
case "W":
|
|
1520
1542
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1521
1543
|
case "d":
|
|
1522
|
-
|
|
1544
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
1523
1545
|
break;
|
|
1524
1546
|
case "D":
|
|
1525
1547
|
case "F":
|
|
1526
1548
|
case "g":
|
|
1527
1549
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1528
1550
|
case "E":
|
|
1529
|
-
|
|
1551
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1530
1552
|
break;
|
|
1531
1553
|
case "e":
|
|
1532
1554
|
if (n < 4)
|
|
1533
1555
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1534
|
-
|
|
1556
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1535
1557
|
break;
|
|
1536
1558
|
case "c":
|
|
1537
1559
|
if (n < 4)
|
|
1538
1560
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1539
|
-
|
|
1561
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1540
1562
|
break;
|
|
1541
1563
|
case "a":
|
|
1542
|
-
|
|
1564
|
+
t.hour12 = !0;
|
|
1543
1565
|
break;
|
|
1544
1566
|
case "b":
|
|
1545
1567
|
case "B":
|
|
1546
1568
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1547
1569
|
case "h":
|
|
1548
|
-
|
|
1570
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1549
1571
|
break;
|
|
1550
1572
|
case "H":
|
|
1551
|
-
|
|
1573
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1552
1574
|
break;
|
|
1553
1575
|
case "K":
|
|
1554
|
-
|
|
1576
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1555
1577
|
break;
|
|
1556
1578
|
case "k":
|
|
1557
|
-
|
|
1579
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1558
1580
|
break;
|
|
1559
1581
|
case "j":
|
|
1560
1582
|
case "J":
|
|
1561
1583
|
case "C":
|
|
1562
1584
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1563
1585
|
case "m":
|
|
1564
|
-
|
|
1586
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1565
1587
|
break;
|
|
1566
1588
|
case "s":
|
|
1567
|
-
|
|
1589
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1568
1590
|
break;
|
|
1569
1591
|
case "S":
|
|
1570
1592
|
case "A":
|
|
1571
1593
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1572
1594
|
case "z":
|
|
1573
|
-
|
|
1595
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1574
1596
|
break;
|
|
1575
1597
|
case "Z":
|
|
1576
1598
|
case "O":
|
|
@@ -1581,15 +1603,15 @@ function ri(t) {
|
|
|
1581
1603
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
|
1582
1604
|
}
|
|
1583
1605
|
return "";
|
|
1584
|
-
}),
|
|
1606
|
+
}), t;
|
|
1585
1607
|
}
|
|
1586
|
-
var
|
|
1587
|
-
function
|
|
1588
|
-
if (
|
|
1608
|
+
var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1609
|
+
function ai(e) {
|
|
1610
|
+
if (e.length === 0)
|
|
1589
1611
|
throw new Error("Number skeleton cannot be empty");
|
|
1590
|
-
for (var
|
|
1612
|
+
for (var t = e.split(si).filter(function(f) {
|
|
1591
1613
|
return f.length > 0;
|
|
1592
|
-
}), r = [], n = 0, i =
|
|
1614
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1593
1615
|
var o = i[n], a = o.split("/");
|
|
1594
1616
|
if (a.length === 0)
|
|
1595
1617
|
throw new Error("Invalid number skeleton");
|
|
@@ -1602,18 +1624,18 @@ function ii(t) {
|
|
|
1602
1624
|
}
|
|
1603
1625
|
return r;
|
|
1604
1626
|
}
|
|
1605
|
-
function
|
|
1606
|
-
return
|
|
1627
|
+
function ui(e) {
|
|
1628
|
+
return e.replace(/^(.*?)-/, "");
|
|
1607
1629
|
}
|
|
1608
|
-
var
|
|
1609
|
-
function
|
|
1610
|
-
var
|
|
1611
|
-
return
|
|
1612
|
-
return typeof i != "string" ? (
|
|
1613
|
-
}),
|
|
1630
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
|
1631
|
+
function At(e) {
|
|
1632
|
+
var t = {};
|
|
1633
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
|
|
1634
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1635
|
+
}), t;
|
|
1614
1636
|
}
|
|
1615
|
-
function
|
|
1616
|
-
switch (
|
|
1637
|
+
function gr(e) {
|
|
1638
|
+
switch (e) {
|
|
1617
1639
|
case "sign-auto":
|
|
1618
1640
|
return {
|
|
1619
1641
|
signDisplay: "auto"
|
|
@@ -1652,113 +1674,113 @@ function mr(t) {
|
|
|
1652
1674
|
};
|
|
1653
1675
|
}
|
|
1654
1676
|
}
|
|
1655
|
-
function
|
|
1656
|
-
var
|
|
1657
|
-
if (
|
|
1677
|
+
function hi(e) {
|
|
1678
|
+
var t;
|
|
1679
|
+
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1658
1680
|
notation: "engineering"
|
|
1659
|
-
},
|
|
1681
|
+
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1660
1682
|
notation: "scientific"
|
|
1661
|
-
},
|
|
1662
|
-
var r =
|
|
1663
|
-
if (r === "+!" ? (
|
|
1683
|
+
}, e = e.slice(1)), t) {
|
|
1684
|
+
var r = e.slice(0, 2);
|
|
1685
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
|
|
1664
1686
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1665
|
-
|
|
1687
|
+
t.minimumIntegerDigits = e.length;
|
|
1666
1688
|
}
|
|
1667
|
-
return
|
|
1689
|
+
return t;
|
|
1668
1690
|
}
|
|
1669
|
-
function
|
|
1670
|
-
var
|
|
1671
|
-
return r ||
|
|
1691
|
+
function Pt(e) {
|
|
1692
|
+
var t = {}, r = gr(e);
|
|
1693
|
+
return r || t;
|
|
1672
1694
|
}
|
|
1673
|
-
function
|
|
1674
|
-
for (var
|
|
1695
|
+
function ci(e) {
|
|
1696
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1675
1697
|
var i = n[r];
|
|
1676
1698
|
switch (i.stem) {
|
|
1677
1699
|
case "percent":
|
|
1678
1700
|
case "%":
|
|
1679
|
-
|
|
1701
|
+
t.style = "percent";
|
|
1680
1702
|
continue;
|
|
1681
1703
|
case "%x100":
|
|
1682
|
-
|
|
1704
|
+
t.style = "percent", t.scale = 100;
|
|
1683
1705
|
continue;
|
|
1684
1706
|
case "currency":
|
|
1685
|
-
|
|
1707
|
+
t.style = "currency", t.currency = i.options[0];
|
|
1686
1708
|
continue;
|
|
1687
1709
|
case "group-off":
|
|
1688
1710
|
case ",_":
|
|
1689
|
-
|
|
1711
|
+
t.useGrouping = !1;
|
|
1690
1712
|
continue;
|
|
1691
1713
|
case "precision-integer":
|
|
1692
1714
|
case ".":
|
|
1693
|
-
|
|
1715
|
+
t.maximumFractionDigits = 0;
|
|
1694
1716
|
continue;
|
|
1695
1717
|
case "measure-unit":
|
|
1696
1718
|
case "unit":
|
|
1697
|
-
|
|
1719
|
+
t.style = "unit", t.unit = ui(i.options[0]);
|
|
1698
1720
|
continue;
|
|
1699
1721
|
case "compact-short":
|
|
1700
1722
|
case "K":
|
|
1701
|
-
|
|
1723
|
+
t.notation = "compact", t.compactDisplay = "short";
|
|
1702
1724
|
continue;
|
|
1703
1725
|
case "compact-long":
|
|
1704
1726
|
case "KK":
|
|
1705
|
-
|
|
1727
|
+
t.notation = "compact", t.compactDisplay = "long";
|
|
1706
1728
|
continue;
|
|
1707
1729
|
case "scientific":
|
|
1708
|
-
|
|
1709
|
-
return _(_({}, l),
|
|
1730
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1731
|
+
return _(_({}, l), Pt(u));
|
|
1710
1732
|
}, {}));
|
|
1711
1733
|
continue;
|
|
1712
1734
|
case "engineering":
|
|
1713
|
-
|
|
1714
|
-
return _(_({}, l),
|
|
1735
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1736
|
+
return _(_({}, l), Pt(u));
|
|
1715
1737
|
}, {}));
|
|
1716
1738
|
continue;
|
|
1717
1739
|
case "notation-simple":
|
|
1718
|
-
|
|
1740
|
+
t.notation = "standard";
|
|
1719
1741
|
continue;
|
|
1720
1742
|
case "unit-width-narrow":
|
|
1721
|
-
|
|
1743
|
+
t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
|
|
1722
1744
|
continue;
|
|
1723
1745
|
case "unit-width-short":
|
|
1724
|
-
|
|
1746
|
+
t.currencyDisplay = "code", t.unitDisplay = "short";
|
|
1725
1747
|
continue;
|
|
1726
1748
|
case "unit-width-full-name":
|
|
1727
|
-
|
|
1749
|
+
t.currencyDisplay = "name", t.unitDisplay = "long";
|
|
1728
1750
|
continue;
|
|
1729
1751
|
case "unit-width-iso-code":
|
|
1730
|
-
|
|
1752
|
+
t.currencyDisplay = "symbol";
|
|
1731
1753
|
continue;
|
|
1732
1754
|
case "scale":
|
|
1733
|
-
|
|
1755
|
+
t.scale = parseFloat(i.options[0]);
|
|
1734
1756
|
continue;
|
|
1735
1757
|
case "rounding-mode-floor":
|
|
1736
|
-
|
|
1758
|
+
t.roundingMode = "floor";
|
|
1737
1759
|
continue;
|
|
1738
1760
|
case "rounding-mode-ceiling":
|
|
1739
|
-
|
|
1761
|
+
t.roundingMode = "ceil";
|
|
1740
1762
|
continue;
|
|
1741
1763
|
case "rounding-mode-down":
|
|
1742
|
-
|
|
1764
|
+
t.roundingMode = "trunc";
|
|
1743
1765
|
continue;
|
|
1744
1766
|
case "rounding-mode-up":
|
|
1745
|
-
|
|
1767
|
+
t.roundingMode = "expand";
|
|
1746
1768
|
continue;
|
|
1747
1769
|
case "rounding-mode-half-even":
|
|
1748
|
-
|
|
1770
|
+
t.roundingMode = "halfEven";
|
|
1749
1771
|
continue;
|
|
1750
1772
|
case "rounding-mode-half-down":
|
|
1751
|
-
|
|
1773
|
+
t.roundingMode = "halfTrunc";
|
|
1752
1774
|
continue;
|
|
1753
1775
|
case "rounding-mode-half-up":
|
|
1754
|
-
|
|
1776
|
+
t.roundingMode = "halfExpand";
|
|
1755
1777
|
continue;
|
|
1756
1778
|
case "integer-width":
|
|
1757
1779
|
if (i.options.length > 1)
|
|
1758
1780
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1759
|
-
i.options[0].replace(
|
|
1781
|
+
i.options[0].replace(li, function(l, u, h, c, f, p) {
|
|
1760
1782
|
if (u)
|
|
1761
|
-
|
|
1783
|
+
t.minimumIntegerDigits = h.length;
|
|
1762
1784
|
else {
|
|
1763
1785
|
if (c && f)
|
|
1764
1786
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1769,32 +1791,32 @@ function ui(t) {
|
|
|
1769
1791
|
});
|
|
1770
1792
|
continue;
|
|
1771
1793
|
}
|
|
1772
|
-
if (
|
|
1773
|
-
|
|
1794
|
+
if (br.test(i.stem)) {
|
|
1795
|
+
t.minimumIntegerDigits = i.stem.length;
|
|
1774
1796
|
continue;
|
|
1775
1797
|
}
|
|
1776
|
-
if (
|
|
1798
|
+
if (Bt.test(i.stem)) {
|
|
1777
1799
|
if (i.options.length > 1)
|
|
1778
1800
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1779
|
-
i.stem.replace(
|
|
1780
|
-
return h === "*" ?
|
|
1801
|
+
i.stem.replace(Bt, function(l, u, h, c, f, p) {
|
|
1802
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1781
1803
|
});
|
|
1782
1804
|
var o = i.options[0];
|
|
1783
|
-
o === "w" ?
|
|
1805
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), At(o)));
|
|
1784
1806
|
continue;
|
|
1785
1807
|
}
|
|
1786
|
-
if (
|
|
1787
|
-
|
|
1808
|
+
if (dr.test(i.stem)) {
|
|
1809
|
+
t = _(_({}, t), At(i.stem));
|
|
1788
1810
|
continue;
|
|
1789
1811
|
}
|
|
1790
|
-
var a =
|
|
1791
|
-
a && (
|
|
1792
|
-
var s =
|
|
1793
|
-
s && (
|
|
1812
|
+
var a = gr(i.stem);
|
|
1813
|
+
a && (t = _(_({}, t), a));
|
|
1814
|
+
var s = hi(i.stem);
|
|
1815
|
+
s && (t = _(_({}, t), s));
|
|
1794
1816
|
}
|
|
1795
|
-
return
|
|
1817
|
+
return t;
|
|
1796
1818
|
}
|
|
1797
|
-
var
|
|
1819
|
+
var fe = {
|
|
1798
1820
|
"001": [
|
|
1799
1821
|
"H",
|
|
1800
1822
|
"h"
|
|
@@ -3209,13 +3231,13 @@ var ft = {
|
|
|
3209
3231
|
"h"
|
|
3210
3232
|
]
|
|
3211
3233
|
};
|
|
3212
|
-
function
|
|
3213
|
-
for (var r = "", n = 0; n <
|
|
3214
|
-
var i =
|
|
3234
|
+
function fi(e, t) {
|
|
3235
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
3236
|
+
var i = e.charAt(n);
|
|
3215
3237
|
if (i === "j") {
|
|
3216
|
-
for (var o = 0; n + 1 <
|
|
3238
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3217
3239
|
o++, n++;
|
|
3218
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3240
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = mi(t);
|
|
3219
3241
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3220
3242
|
r += l;
|
|
3221
3243
|
for (; a-- > 0; )
|
|
@@ -3225,12 +3247,12 @@ function li(t, e) {
|
|
|
3225
3247
|
}
|
|
3226
3248
|
return r;
|
|
3227
3249
|
}
|
|
3228
|
-
function
|
|
3229
|
-
var
|
|
3230
|
-
if (
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
switch (
|
|
3250
|
+
function mi(e) {
|
|
3251
|
+
var t = e.hourCycle;
|
|
3252
|
+
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3253
|
+
e.hourCycles && // @ts-ignore
|
|
3254
|
+
e.hourCycles.length && (t = e.hourCycles[0]), t)
|
|
3255
|
+
switch (t) {
|
|
3234
3256
|
case "h24":
|
|
3235
3257
|
return "k";
|
|
3236
3258
|
case "h23":
|
|
@@ -3242,135 +3264,135 @@ function hi(t) {
|
|
|
3242
3264
|
default:
|
|
3243
3265
|
throw new Error("Invalid hourCycle");
|
|
3244
3266
|
}
|
|
3245
|
-
var r =
|
|
3246
|
-
r !== "root" && (n =
|
|
3247
|
-
var i =
|
|
3267
|
+
var r = e.language, n;
|
|
3268
|
+
r !== "root" && (n = e.maximize().region);
|
|
3269
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3248
3270
|
return i[0];
|
|
3249
3271
|
}
|
|
3250
|
-
var
|
|
3251
|
-
function y(
|
|
3252
|
-
return { start:
|
|
3272
|
+
var Ue, pi = new RegExp("^".concat(pr.source, "*")), di = new RegExp("".concat(pr.source, "*$"));
|
|
3273
|
+
function y(e, t) {
|
|
3274
|
+
return { start: e, end: t };
|
|
3253
3275
|
}
|
|
3254
|
-
var
|
|
3255
|
-
return typeof
|
|
3256
|
-
},
|
|
3276
|
+
var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
|
|
3277
|
+
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3278
|
+
}, Je = !0;
|
|
3257
3279
|
try {
|
|
3258
|
-
var
|
|
3259
|
-
|
|
3260
|
-
} catch (
|
|
3261
|
-
|
|
3280
|
+
var Si = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3281
|
+
Je = ((Ue = Si.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3282
|
+
} catch (e) {
|
|
3283
|
+
Je = !1;
|
|
3262
3284
|
}
|
|
3263
|
-
var
|
|
3285
|
+
var Lt = bi ? (
|
|
3264
3286
|
// Native
|
|
3265
|
-
function(
|
|
3266
|
-
return
|
|
3287
|
+
function(t, r, n) {
|
|
3288
|
+
return t.startsWith(r, n);
|
|
3267
3289
|
}
|
|
3268
3290
|
) : (
|
|
3269
3291
|
// For IE11
|
|
3270
|
-
function(
|
|
3271
|
-
return
|
|
3292
|
+
function(t, r, n) {
|
|
3293
|
+
return t.slice(n, n + r.length) === r;
|
|
3272
3294
|
}
|
|
3273
|
-
),
|
|
3295
|
+
), qe = gi ? String.fromCodePoint : (
|
|
3274
3296
|
// IE11
|
|
3275
3297
|
function() {
|
|
3276
|
-
for (var
|
|
3277
|
-
|
|
3278
|
-
for (var n = "", i =
|
|
3279
|
-
if (a =
|
|
3298
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3299
|
+
t[r] = arguments[r];
|
|
3300
|
+
for (var n = "", i = t.length, o = 0, a; i > o; ) {
|
|
3301
|
+
if (a = t[o++], a > 1114111)
|
|
3280
3302
|
throw RangeError(a + " is not a valid code point");
|
|
3281
3303
|
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3282
3304
|
}
|
|
3283
3305
|
return n;
|
|
3284
3306
|
}
|
|
3285
|
-
),
|
|
3307
|
+
), Ot = (
|
|
3286
3308
|
// native
|
|
3287
|
-
|
|
3309
|
+
yi ? Object.fromEntries : (
|
|
3288
3310
|
// Ponyfill
|
|
3289
|
-
function(
|
|
3290
|
-
for (var r = {}, n = 0, i =
|
|
3311
|
+
function(t) {
|
|
3312
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3291
3313
|
var o = i[n], a = o[0], s = o[1];
|
|
3292
3314
|
r[a] = s;
|
|
3293
3315
|
}
|
|
3294
3316
|
return r;
|
|
3295
3317
|
}
|
|
3296
3318
|
)
|
|
3297
|
-
),
|
|
3319
|
+
), yr = vi ? (
|
|
3298
3320
|
// Native
|
|
3299
|
-
function(
|
|
3300
|
-
return
|
|
3321
|
+
function(t, r) {
|
|
3322
|
+
return t.codePointAt(r);
|
|
3301
3323
|
}
|
|
3302
3324
|
) : (
|
|
3303
3325
|
// IE 11
|
|
3304
|
-
function(
|
|
3305
|
-
var n =
|
|
3326
|
+
function(t, r) {
|
|
3327
|
+
var n = t.length;
|
|
3306
3328
|
if (!(r < 0 || r >= n)) {
|
|
3307
|
-
var i =
|
|
3308
|
-
return i < 55296 || i > 56319 || r + 1 === n || (o =
|
|
3329
|
+
var i = t.charCodeAt(r), o;
|
|
3330
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3309
3331
|
}
|
|
3310
3332
|
}
|
|
3311
|
-
),
|
|
3333
|
+
), Ti = _i ? (
|
|
3312
3334
|
// Native
|
|
3313
|
-
function(
|
|
3314
|
-
return
|
|
3335
|
+
function(t) {
|
|
3336
|
+
return t.trimStart();
|
|
3315
3337
|
}
|
|
3316
3338
|
) : (
|
|
3317
3339
|
// Ponyfill
|
|
3318
|
-
function(
|
|
3319
|
-
return
|
|
3340
|
+
function(t) {
|
|
3341
|
+
return t.replace(pi, "");
|
|
3320
3342
|
}
|
|
3321
|
-
),
|
|
3343
|
+
), Hi = xi ? (
|
|
3322
3344
|
// Native
|
|
3323
|
-
function(
|
|
3324
|
-
return
|
|
3345
|
+
function(t) {
|
|
3346
|
+
return t.trimEnd();
|
|
3325
3347
|
}
|
|
3326
3348
|
) : (
|
|
3327
3349
|
// Ponyfill
|
|
3328
|
-
function(
|
|
3329
|
-
return
|
|
3350
|
+
function(t) {
|
|
3351
|
+
return t.replace(di, "");
|
|
3330
3352
|
}
|
|
3331
3353
|
);
|
|
3332
|
-
function
|
|
3333
|
-
return new RegExp(
|
|
3354
|
+
function vr(e, t) {
|
|
3355
|
+
return new RegExp(e, t);
|
|
3334
3356
|
}
|
|
3335
|
-
var
|
|
3336
|
-
if (
|
|
3337
|
-
var
|
|
3338
|
-
|
|
3357
|
+
var Ye;
|
|
3358
|
+
if (Je) {
|
|
3359
|
+
var It = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3360
|
+
Ye = function(t, r) {
|
|
3339
3361
|
var n;
|
|
3340
|
-
|
|
3341
|
-
var i =
|
|
3362
|
+
It.lastIndex = r;
|
|
3363
|
+
var i = It.exec(t);
|
|
3342
3364
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3343
3365
|
};
|
|
3344
3366
|
} else
|
|
3345
|
-
|
|
3367
|
+
Ye = function(t, r) {
|
|
3346
3368
|
for (var n = []; ; ) {
|
|
3347
|
-
var i =
|
|
3348
|
-
if (i === void 0 ||
|
|
3369
|
+
var i = yr(t, r);
|
|
3370
|
+
if (i === void 0 || _r(i) || Pi(i))
|
|
3349
3371
|
break;
|
|
3350
3372
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3351
3373
|
}
|
|
3352
|
-
return
|
|
3374
|
+
return qe.apply(void 0, n);
|
|
3353
3375
|
};
|
|
3354
|
-
var
|
|
3376
|
+
var Ci = (
|
|
3355
3377
|
/** @class */
|
|
3356
3378
|
function() {
|
|
3357
|
-
function t
|
|
3358
|
-
r === void 0 && (r = {}), this.message =
|
|
3379
|
+
function e(t, r) {
|
|
3380
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
3359
3381
|
}
|
|
3360
|
-
return
|
|
3382
|
+
return e.prototype.parse = function() {
|
|
3361
3383
|
if (this.offset() !== 0)
|
|
3362
3384
|
throw Error("parser can only be used once");
|
|
3363
3385
|
return this.parseMessage(0, "", !1);
|
|
3364
|
-
},
|
|
3386
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3365
3387
|
for (var i = []; !this.isEOF(); ) {
|
|
3366
3388
|
var o = this.char();
|
|
3367
3389
|
if (o === 123) {
|
|
3368
|
-
var a = this.parseArgument(
|
|
3390
|
+
var a = this.parseArgument(t, n);
|
|
3369
3391
|
if (a.err)
|
|
3370
3392
|
return a;
|
|
3371
3393
|
i.push(a.val);
|
|
3372
3394
|
} else {
|
|
3373
|
-
if (o === 125 &&
|
|
3395
|
+
if (o === 125 && t > 0)
|
|
3374
3396
|
break;
|
|
3375
3397
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3376
3398
|
var s = this.clonePosition();
|
|
@@ -3382,13 +3404,13 @@ var Si = (
|
|
|
3382
3404
|
if (n)
|
|
3383
3405
|
break;
|
|
3384
3406
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3385
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3386
|
-
var a = this.parseTag(
|
|
3407
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3408
|
+
var a = this.parseTag(t, r);
|
|
3387
3409
|
if (a.err)
|
|
3388
3410
|
return a;
|
|
3389
3411
|
i.push(a.val);
|
|
3390
3412
|
} else {
|
|
3391
|
-
var a = this.parseLiteral(
|
|
3413
|
+
var a = this.parseLiteral(t, r);
|
|
3392
3414
|
if (a.err)
|
|
3393
3415
|
return a;
|
|
3394
3416
|
i.push(a.val);
|
|
@@ -3396,7 +3418,7 @@ var Si = (
|
|
|
3396
3418
|
}
|
|
3397
3419
|
}
|
|
3398
3420
|
return { val: i, err: null };
|
|
3399
|
-
},
|
|
3421
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
3400
3422
|
var n = this.clonePosition();
|
|
3401
3423
|
this.bump();
|
|
3402
3424
|
var i = this.parseTagName();
|
|
@@ -3410,12 +3432,12 @@ var Si = (
|
|
|
3410
3432
|
err: null
|
|
3411
3433
|
};
|
|
3412
3434
|
if (this.bumpIf(">")) {
|
|
3413
|
-
var o = this.parseMessage(
|
|
3435
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3414
3436
|
if (o.err)
|
|
3415
3437
|
return o;
|
|
3416
3438
|
var a = o.val, s = this.clonePosition();
|
|
3417
3439
|
if (this.bumpIf("</")) {
|
|
3418
|
-
if (this.isEOF() || !
|
|
3440
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
3419
3441
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3420
3442
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3421
3443
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3431,19 +3453,19 @@ var Si = (
|
|
|
3431
3453
|
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3432
3454
|
} else
|
|
3433
3455
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3434
|
-
},
|
|
3435
|
-
var
|
|
3436
|
-
for (this.bump(); !this.isEOF() &&
|
|
3456
|
+
}, e.prototype.parseTagName = function() {
|
|
3457
|
+
var t = this.offset();
|
|
3458
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3437
3459
|
this.bump();
|
|
3438
|
-
return this.message.slice(
|
|
3439
|
-
},
|
|
3460
|
+
return this.message.slice(t, this.offset());
|
|
3461
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
3440
3462
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3441
3463
|
var o = this.tryParseQuote(r);
|
|
3442
3464
|
if (o) {
|
|
3443
3465
|
i += o;
|
|
3444
3466
|
continue;
|
|
3445
3467
|
}
|
|
3446
|
-
var a = this.tryParseUnquoted(
|
|
3468
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3447
3469
|
if (a) {
|
|
3448
3470
|
i += a;
|
|
3449
3471
|
continue;
|
|
@@ -3460,10 +3482,10 @@ var Si = (
|
|
|
3460
3482
|
val: { type: E.literal, value: i, location: l },
|
|
3461
3483
|
err: null
|
|
3462
3484
|
};
|
|
3463
|
-
},
|
|
3485
|
+
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3464
3486
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3465
|
-
!
|
|
3466
|
-
},
|
|
3487
|
+
!Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3488
|
+
}, e.prototype.tryParseQuote = function(t) {
|
|
3467
3489
|
if (this.isEOF() || this.char() !== 39)
|
|
3468
3490
|
return null;
|
|
3469
3491
|
switch (this.peek()) {
|
|
@@ -3475,7 +3497,7 @@ var Si = (
|
|
|
3475
3497
|
case 125:
|
|
3476
3498
|
break;
|
|
3477
3499
|
case 35:
|
|
3478
|
-
if (
|
|
3500
|
+
if (t === "plural" || t === "selectordinal")
|
|
3479
3501
|
break;
|
|
3480
3502
|
return null;
|
|
3481
3503
|
default:
|
|
@@ -3496,13 +3518,13 @@ var Si = (
|
|
|
3496
3518
|
r.push(n);
|
|
3497
3519
|
this.bump();
|
|
3498
3520
|
}
|
|
3499
|
-
return
|
|
3500
|
-
},
|
|
3521
|
+
return qe.apply(void 0, r);
|
|
3522
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3501
3523
|
if (this.isEOF())
|
|
3502
3524
|
return null;
|
|
3503
3525
|
var n = this.char();
|
|
3504
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 &&
|
|
3505
|
-
},
|
|
3526
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3527
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
3506
3528
|
var n = this.clonePosition();
|
|
3507
3529
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3508
3530
|
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
@@ -3525,16 +3547,16 @@ var Si = (
|
|
|
3525
3547
|
err: null
|
|
3526
3548
|
};
|
|
3527
3549
|
case 44:
|
|
3528
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(
|
|
3550
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3529
3551
|
default:
|
|
3530
3552
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3531
3553
|
}
|
|
3532
|
-
},
|
|
3533
|
-
var
|
|
3554
|
+
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3555
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3534
3556
|
this.bumpTo(i);
|
|
3535
|
-
var o = this.clonePosition(), a = y(
|
|
3557
|
+
var o = this.clonePosition(), a = y(t, o);
|
|
3536
3558
|
return { value: n, location: a };
|
|
3537
|
-
},
|
|
3559
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3538
3560
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3539
3561
|
switch (s) {
|
|
3540
3562
|
case "":
|
|
@@ -3549,7 +3571,7 @@ var Si = (
|
|
|
3549
3571
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3550
3572
|
if (c.err)
|
|
3551
3573
|
return c;
|
|
3552
|
-
var f =
|
|
3574
|
+
var f = Hi(c.val);
|
|
3553
3575
|
if (f.length === 0)
|
|
3554
3576
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3555
3577
|
var p = y(h, this.clonePosition());
|
|
@@ -3559,8 +3581,8 @@ var Si = (
|
|
|
3559
3581
|
if (m.err)
|
|
3560
3582
|
return m;
|
|
3561
3583
|
var d = y(i, this.clonePosition());
|
|
3562
|
-
if (u &&
|
|
3563
|
-
var v =
|
|
3584
|
+
if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3585
|
+
var v = Ti(u.style.slice(2));
|
|
3564
3586
|
if (s === "number") {
|
|
3565
3587
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3566
3588
|
return c.err ? c : {
|
|
@@ -3571,12 +3593,12 @@ var Si = (
|
|
|
3571
3593
|
if (v.length === 0)
|
|
3572
3594
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3573
3595
|
var T = v;
|
|
3574
|
-
this.locale && (T =
|
|
3596
|
+
this.locale && (T = fi(v, this.locale));
|
|
3575
3597
|
var f = {
|
|
3576
3598
|
type: J.dateTime,
|
|
3577
3599
|
pattern: T,
|
|
3578
3600
|
location: u.styleLocation,
|
|
3579
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3601
|
+
parsedOptions: this.shouldParseSkeletons ? oi(T) : {}
|
|
3580
3602
|
}, C = s === "date" ? E.date : E.time;
|
|
3581
3603
|
return {
|
|
3582
3604
|
val: { type: C, value: n, location: d, style: f },
|
|
@@ -3611,7 +3633,7 @@ var Si = (
|
|
|
3611
3633
|
return c;
|
|
3612
3634
|
this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
|
|
3613
3635
|
}
|
|
3614
|
-
var x = this.tryParsePluralOrSelectOptions(
|
|
3636
|
+
var x = this.tryParsePluralOrSelectOptions(t, s, r, B);
|
|
3615
3637
|
if (x.err)
|
|
3616
3638
|
return x;
|
|
3617
3639
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3622,7 +3644,7 @@ var Si = (
|
|
|
3622
3644
|
val: {
|
|
3623
3645
|
type: E.select,
|
|
3624
3646
|
value: n,
|
|
3625
|
-
options:
|
|
3647
|
+
options: Ot(x.val),
|
|
3626
3648
|
location: L
|
|
3627
3649
|
},
|
|
3628
3650
|
err: null
|
|
@@ -3630,7 +3652,7 @@ var Si = (
|
|
|
3630
3652
|
val: {
|
|
3631
3653
|
type: E.plural,
|
|
3632
3654
|
value: n,
|
|
3633
|
-
options:
|
|
3655
|
+
options: Ot(x.val),
|
|
3634
3656
|
offset: w,
|
|
3635
3657
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3636
3658
|
location: L
|
|
@@ -3641,10 +3663,10 @@ var Si = (
|
|
|
3641
3663
|
default:
|
|
3642
3664
|
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
|
|
3643
3665
|
}
|
|
3644
|
-
},
|
|
3645
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(
|
|
3646
|
-
},
|
|
3647
|
-
for (var
|
|
3666
|
+
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3667
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3668
|
+
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3669
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3648
3670
|
var n = this.char();
|
|
3649
3671
|
switch (n) {
|
|
3650
3672
|
case 39: {
|
|
@@ -3656,12 +3678,12 @@ var Si = (
|
|
|
3656
3678
|
break;
|
|
3657
3679
|
}
|
|
3658
3680
|
case 123: {
|
|
3659
|
-
|
|
3681
|
+
t += 1, this.bump();
|
|
3660
3682
|
break;
|
|
3661
3683
|
}
|
|
3662
3684
|
case 125: {
|
|
3663
|
-
if (
|
|
3664
|
-
|
|
3685
|
+
if (t > 0)
|
|
3686
|
+
t -= 1;
|
|
3665
3687
|
else
|
|
3666
3688
|
return {
|
|
3667
3689
|
val: this.message.slice(r.offset, this.offset()),
|
|
@@ -3678,10 +3700,10 @@ var Si = (
|
|
|
3678
3700
|
val: this.message.slice(r.offset, this.offset()),
|
|
3679
3701
|
err: null
|
|
3680
3702
|
};
|
|
3681
|
-
},
|
|
3703
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3682
3704
|
var n = [];
|
|
3683
3705
|
try {
|
|
3684
|
-
n =
|
|
3706
|
+
n = ai(t);
|
|
3685
3707
|
} catch (i) {
|
|
3686
3708
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3687
3709
|
}
|
|
@@ -3690,11 +3712,11 @@ var Si = (
|
|
|
3690
3712
|
type: J.number,
|
|
3691
3713
|
tokens: n,
|
|
3692
3714
|
location: r,
|
|
3693
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3715
|
+
parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
|
|
3694
3716
|
},
|
|
3695
3717
|
err: null
|
|
3696
3718
|
};
|
|
3697
|
-
},
|
|
3719
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3698
3720
|
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3699
3721
|
if (u.length === 0) {
|
|
3700
3722
|
var c = this.clonePosition();
|
|
@@ -3712,7 +3734,7 @@ var Si = (
|
|
|
3712
3734
|
var p = this.clonePosition();
|
|
3713
3735
|
if (!this.bumpIf("{"))
|
|
3714
3736
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3715
|
-
var m = this.parseMessage(
|
|
3737
|
+
var m = this.parseMessage(t + 1, r, n);
|
|
3716
3738
|
if (m.err)
|
|
3717
3739
|
return m;
|
|
3718
3740
|
var d = this.tryParseArgumentClose(p);
|
|
@@ -3727,7 +3749,7 @@ var Si = (
|
|
|
3727
3749
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3728
3750
|
}
|
|
3729
3751
|
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3730
|
-
},
|
|
3752
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3731
3753
|
var n = 1, i = this.clonePosition();
|
|
3732
3754
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3733
3755
|
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
@@ -3738,225 +3760,225 @@ var Si = (
|
|
|
3738
3760
|
break;
|
|
3739
3761
|
}
|
|
3740
3762
|
var l = y(i, this.clonePosition());
|
|
3741
|
-
return o ? (a *= n,
|
|
3742
|
-
},
|
|
3763
|
+
return o ? (a *= n, wi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3764
|
+
}, e.prototype.offset = function() {
|
|
3743
3765
|
return this.position.offset;
|
|
3744
|
-
},
|
|
3766
|
+
}, e.prototype.isEOF = function() {
|
|
3745
3767
|
return this.offset() === this.message.length;
|
|
3746
|
-
},
|
|
3768
|
+
}, e.prototype.clonePosition = function() {
|
|
3747
3769
|
return {
|
|
3748
3770
|
offset: this.position.offset,
|
|
3749
3771
|
line: this.position.line,
|
|
3750
3772
|
column: this.position.column
|
|
3751
3773
|
};
|
|
3752
|
-
},
|
|
3753
|
-
var
|
|
3754
|
-
if (
|
|
3774
|
+
}, e.prototype.char = function() {
|
|
3775
|
+
var t = this.position.offset;
|
|
3776
|
+
if (t >= this.message.length)
|
|
3755
3777
|
throw Error("out of bound");
|
|
3756
|
-
var r =
|
|
3778
|
+
var r = yr(this.message, t);
|
|
3757
3779
|
if (r === void 0)
|
|
3758
|
-
throw Error("Offset ".concat(
|
|
3780
|
+
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3759
3781
|
return r;
|
|
3760
|
-
},
|
|
3782
|
+
}, e.prototype.error = function(t, r) {
|
|
3761
3783
|
return {
|
|
3762
3784
|
val: null,
|
|
3763
3785
|
err: {
|
|
3764
|
-
kind:
|
|
3786
|
+
kind: t,
|
|
3765
3787
|
message: this.message,
|
|
3766
3788
|
location: r
|
|
3767
3789
|
}
|
|
3768
3790
|
};
|
|
3769
|
-
},
|
|
3791
|
+
}, e.prototype.bump = function() {
|
|
3770
3792
|
if (!this.isEOF()) {
|
|
3771
|
-
var
|
|
3772
|
-
|
|
3793
|
+
var t = this.char();
|
|
3794
|
+
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);
|
|
3773
3795
|
}
|
|
3774
|
-
},
|
|
3775
|
-
if (
|
|
3776
|
-
for (var r = 0; r <
|
|
3796
|
+
}, e.prototype.bumpIf = function(t) {
|
|
3797
|
+
if (Lt(this.message, t, this.offset())) {
|
|
3798
|
+
for (var r = 0; r < t.length; r++)
|
|
3777
3799
|
this.bump();
|
|
3778
3800
|
return !0;
|
|
3779
3801
|
}
|
|
3780
3802
|
return !1;
|
|
3781
|
-
},
|
|
3782
|
-
var r = this.offset(), n = this.message.indexOf(
|
|
3803
|
+
}, e.prototype.bumpUntil = function(t) {
|
|
3804
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3783
3805
|
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3784
|
-
},
|
|
3785
|
-
if (this.offset() >
|
|
3786
|
-
throw Error("targetOffset ".concat(
|
|
3787
|
-
for (
|
|
3806
|
+
}, e.prototype.bumpTo = function(t) {
|
|
3807
|
+
if (this.offset() > t)
|
|
3808
|
+
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3809
|
+
for (t = Math.min(t, this.message.length); ; ) {
|
|
3788
3810
|
var r = this.offset();
|
|
3789
|
-
if (r ===
|
|
3811
|
+
if (r === t)
|
|
3790
3812
|
break;
|
|
3791
|
-
if (r >
|
|
3792
|
-
throw Error("targetOffset ".concat(
|
|
3813
|
+
if (r > t)
|
|
3814
|
+
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3793
3815
|
if (this.bump(), this.isEOF())
|
|
3794
3816
|
break;
|
|
3795
3817
|
}
|
|
3796
|
-
},
|
|
3797
|
-
for (; !this.isEOF() &&
|
|
3818
|
+
}, e.prototype.bumpSpace = function() {
|
|
3819
|
+
for (; !this.isEOF() && _r(this.char()); )
|
|
3798
3820
|
this.bump();
|
|
3799
|
-
},
|
|
3821
|
+
}, e.prototype.peek = function() {
|
|
3800
3822
|
if (this.isEOF())
|
|
3801
3823
|
return null;
|
|
3802
|
-
var
|
|
3824
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3803
3825
|
return n != null ? n : null;
|
|
3804
|
-
},
|
|
3826
|
+
}, e;
|
|
3805
3827
|
}()
|
|
3806
3828
|
);
|
|
3807
|
-
function
|
|
3808
|
-
return
|
|
3829
|
+
function Ke(e) {
|
|
3830
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3809
3831
|
}
|
|
3810
|
-
function
|
|
3811
|
-
return
|
|
3832
|
+
function Bi(e) {
|
|
3833
|
+
return Ke(e) || e === 47;
|
|
3812
3834
|
}
|
|
3813
|
-
function
|
|
3814
|
-
return
|
|
3835
|
+
function Ai(e) {
|
|
3836
|
+
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;
|
|
3815
3837
|
}
|
|
3816
|
-
function
|
|
3817
|
-
return
|
|
3838
|
+
function _r(e) {
|
|
3839
|
+
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3818
3840
|
}
|
|
3819
|
-
function
|
|
3820
|
-
return
|
|
3841
|
+
function Pi(e) {
|
|
3842
|
+
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;
|
|
3821
3843
|
}
|
|
3822
|
-
function
|
|
3823
|
-
|
|
3824
|
-
if (delete
|
|
3825
|
-
for (var r in
|
|
3826
|
-
delete
|
|
3844
|
+
function et(e) {
|
|
3845
|
+
e.forEach(function(t) {
|
|
3846
|
+
if (delete t.location, hr(t) || cr(t))
|
|
3847
|
+
for (var r in t.options)
|
|
3848
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3827
3849
|
else
|
|
3828
|
-
|
|
3850
|
+
ar(t) && mr(t.style) || (ur(t) || lr(t)) && Qe(t.style) ? delete t.style.location : fr(t) && et(t.children);
|
|
3829
3851
|
});
|
|
3830
3852
|
}
|
|
3831
|
-
function
|
|
3832
|
-
|
|
3833
|
-
var r = new
|
|
3853
|
+
function Li(e, t) {
|
|
3854
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3855
|
+
var r = new Ci(e, t).parse();
|
|
3834
3856
|
if (r.err) {
|
|
3835
3857
|
var n = SyntaxError(b[r.err.kind]);
|
|
3836
3858
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3837
3859
|
}
|
|
3838
|
-
return
|
|
3860
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
|
3839
3861
|
}
|
|
3840
3862
|
var q;
|
|
3841
|
-
(function(
|
|
3842
|
-
|
|
3863
|
+
(function(e) {
|
|
3864
|
+
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3843
3865
|
})(q || (q = {}));
|
|
3844
|
-
var
|
|
3866
|
+
var He = (
|
|
3845
3867
|
/** @class */
|
|
3846
|
-
function(
|
|
3847
|
-
G(
|
|
3848
|
-
function
|
|
3849
|
-
var o =
|
|
3868
|
+
function(e) {
|
|
3869
|
+
G(t, e);
|
|
3870
|
+
function t(r, n, i) {
|
|
3871
|
+
var o = e.call(this, r) || this;
|
|
3850
3872
|
return o.code = n, o.originalMessage = i, o;
|
|
3851
3873
|
}
|
|
3852
|
-
return
|
|
3874
|
+
return t.prototype.toString = function() {
|
|
3853
3875
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3854
|
-
},
|
|
3876
|
+
}, t;
|
|
3855
3877
|
}(Error)
|
|
3856
|
-
),
|
|
3878
|
+
), Mt = (
|
|
3857
3879
|
/** @class */
|
|
3858
|
-
function(
|
|
3859
|
-
G(
|
|
3860
|
-
function
|
|
3861
|
-
return
|
|
3880
|
+
function(e) {
|
|
3881
|
+
G(t, e);
|
|
3882
|
+
function t(r, n, i, o) {
|
|
3883
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3862
3884
|
}
|
|
3863
|
-
return
|
|
3864
|
-
}(
|
|
3865
|
-
),
|
|
3885
|
+
return t;
|
|
3886
|
+
}(He)
|
|
3887
|
+
), Oi = (
|
|
3866
3888
|
/** @class */
|
|
3867
|
-
function(
|
|
3868
|
-
G(
|
|
3869
|
-
function
|
|
3870
|
-
return
|
|
3889
|
+
function(e) {
|
|
3890
|
+
G(t, e);
|
|
3891
|
+
function t(r, n, i) {
|
|
3892
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3871
3893
|
}
|
|
3872
|
-
return
|
|
3873
|
-
}(
|
|
3874
|
-
),
|
|
3894
|
+
return t;
|
|
3895
|
+
}(He)
|
|
3896
|
+
), Ii = (
|
|
3875
3897
|
/** @class */
|
|
3876
|
-
function(
|
|
3877
|
-
G(
|
|
3878
|
-
function
|
|
3879
|
-
return
|
|
3898
|
+
function(e) {
|
|
3899
|
+
G(t, e);
|
|
3900
|
+
function t(r, n) {
|
|
3901
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3880
3902
|
}
|
|
3881
|
-
return
|
|
3882
|
-
}(
|
|
3903
|
+
return t;
|
|
3904
|
+
}(He)
|
|
3883
3905
|
), A;
|
|
3884
|
-
(function(
|
|
3885
|
-
|
|
3906
|
+
(function(e) {
|
|
3907
|
+
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3886
3908
|
})(A || (A = {}));
|
|
3887
|
-
function
|
|
3888
|
-
return
|
|
3889
|
-
var n =
|
|
3890
|
-
return !n || n.type !== A.literal || r.type !== A.literal ?
|
|
3909
|
+
function Mi(e) {
|
|
3910
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3911
|
+
var n = t[t.length - 1];
|
|
3912
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3891
3913
|
}, []);
|
|
3892
3914
|
}
|
|
3893
|
-
function
|
|
3894
|
-
return typeof
|
|
3915
|
+
function Ni(e) {
|
|
3916
|
+
return typeof e == "function";
|
|
3895
3917
|
}
|
|
3896
|
-
function
|
|
3897
|
-
if (
|
|
3918
|
+
function be(e, t, r, n, i, o, a) {
|
|
3919
|
+
if (e.length === 1 && Ct(e[0]))
|
|
3898
3920
|
return [
|
|
3899
3921
|
{
|
|
3900
3922
|
type: A.literal,
|
|
3901
|
-
value:
|
|
3923
|
+
value: e[0].value
|
|
3902
3924
|
}
|
|
3903
3925
|
];
|
|
3904
|
-
for (var s = [], l = 0, u =
|
|
3926
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3905
3927
|
var h = u[l];
|
|
3906
|
-
if (
|
|
3928
|
+
if (Ct(h)) {
|
|
3907
3929
|
s.push({
|
|
3908
3930
|
type: A.literal,
|
|
3909
3931
|
value: h.value
|
|
3910
3932
|
});
|
|
3911
3933
|
continue;
|
|
3912
3934
|
}
|
|
3913
|
-
if (
|
|
3935
|
+
if (ni(h)) {
|
|
3914
3936
|
typeof o == "number" && s.push({
|
|
3915
3937
|
type: A.literal,
|
|
3916
|
-
value: r.getNumberFormat(
|
|
3938
|
+
value: r.getNumberFormat(t).format(o)
|
|
3917
3939
|
});
|
|
3918
3940
|
continue;
|
|
3919
3941
|
}
|
|
3920
3942
|
var c = h.value;
|
|
3921
3943
|
if (!(i && c in i))
|
|
3922
|
-
throw new
|
|
3944
|
+
throw new Ii(c, a);
|
|
3923
3945
|
var f = i[c];
|
|
3924
|
-
if (
|
|
3946
|
+
if (ri(h)) {
|
|
3925
3947
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3926
3948
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3927
3949
|
value: f
|
|
3928
3950
|
});
|
|
3929
3951
|
continue;
|
|
3930
3952
|
}
|
|
3931
|
-
if (
|
|
3932
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3953
|
+
if (ur(h)) {
|
|
3954
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3933
3955
|
s.push({
|
|
3934
3956
|
type: A.literal,
|
|
3935
|
-
value: r.getDateTimeFormat(
|
|
3957
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3936
3958
|
});
|
|
3937
3959
|
continue;
|
|
3938
3960
|
}
|
|
3939
|
-
if (
|
|
3940
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3961
|
+
if (lr(h)) {
|
|
3962
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3941
3963
|
s.push({
|
|
3942
3964
|
type: A.literal,
|
|
3943
|
-
value: r.getDateTimeFormat(
|
|
3965
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3944
3966
|
});
|
|
3945
3967
|
continue;
|
|
3946
3968
|
}
|
|
3947
|
-
if (
|
|
3948
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3969
|
+
if (ar(h)) {
|
|
3970
|
+
var p = typeof h.style == "string" ? n.number[h.style] : mr(h.style) ? h.style.parsedOptions : void 0;
|
|
3949
3971
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3950
3972
|
type: A.literal,
|
|
3951
|
-
value: r.getNumberFormat(
|
|
3973
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3952
3974
|
});
|
|
3953
3975
|
continue;
|
|
3954
3976
|
}
|
|
3955
|
-
if (
|
|
3977
|
+
if (fr(h)) {
|
|
3956
3978
|
var m = h.children, d = h.value, v = i[d];
|
|
3957
|
-
if (!
|
|
3958
|
-
throw new
|
|
3959
|
-
var T =
|
|
3979
|
+
if (!Ni(v))
|
|
3980
|
+
throw new Oi(d, "function", a);
|
|
3981
|
+
var T = be(m, t, r, n, i, o), C = v(T.map(function(w) {
|
|
3960
3982
|
return w.value;
|
|
3961
3983
|
}));
|
|
3962
3984
|
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
|
|
@@ -3966,92 +3988,92 @@ function bt(t, e, r, n, i, o, a) {
|
|
|
3966
3988
|
};
|
|
3967
3989
|
}));
|
|
3968
3990
|
}
|
|
3969
|
-
if (
|
|
3991
|
+
if (hr(h)) {
|
|
3970
3992
|
var S = h.options[f] || h.options.other;
|
|
3971
3993
|
if (!S)
|
|
3972
|
-
throw new
|
|
3973
|
-
s.push.apply(s,
|
|
3994
|
+
throw new Mt(h.value, f, Object.keys(h.options), a);
|
|
3995
|
+
s.push.apply(s, be(S.value, t, r, n, i));
|
|
3974
3996
|
continue;
|
|
3975
3997
|
}
|
|
3976
|
-
if (
|
|
3998
|
+
if (cr(h)) {
|
|
3977
3999
|
var S = h.options["=".concat(f)];
|
|
3978
4000
|
if (!S) {
|
|
3979
4001
|
if (!Intl.PluralRules)
|
|
3980
|
-
throw new
|
|
4002
|
+
throw new He(`Intl.PluralRules is not available in this environment.
|
|
3981
4003
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3982
4004
|
`, q.MISSING_INTL_API, a);
|
|
3983
|
-
var B = r.getPluralRules(
|
|
4005
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3984
4006
|
S = h.options[B] || h.options.other;
|
|
3985
4007
|
}
|
|
3986
4008
|
if (!S)
|
|
3987
|
-
throw new
|
|
3988
|
-
s.push.apply(s,
|
|
4009
|
+
throw new Mt(h.value, f, Object.keys(h.options), a);
|
|
4010
|
+
s.push.apply(s, be(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3989
4011
|
continue;
|
|
3990
4012
|
}
|
|
3991
4013
|
}
|
|
3992
|
-
return
|
|
4014
|
+
return Mi(s);
|
|
3993
4015
|
}
|
|
3994
|
-
function
|
|
3995
|
-
return
|
|
3996
|
-
return r[n] = _(_({},
|
|
3997
|
-
}, {})) :
|
|
4016
|
+
function $i(e, t) {
|
|
4017
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4018
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
4019
|
+
}, {})) : e;
|
|
3998
4020
|
}
|
|
3999
|
-
function
|
|
4000
|
-
return
|
|
4001
|
-
return r[n] =
|
|
4002
|
-
}, _({},
|
|
4021
|
+
function Ri(e, t) {
|
|
4022
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4023
|
+
return r[n] = $i(e[n], t[n]), r;
|
|
4024
|
+
}, _({}, e)) : e;
|
|
4003
4025
|
}
|
|
4004
|
-
function
|
|
4026
|
+
function De(e) {
|
|
4005
4027
|
return {
|
|
4006
4028
|
create: function() {
|
|
4007
4029
|
return {
|
|
4008
|
-
get: function(
|
|
4009
|
-
return t
|
|
4030
|
+
get: function(t) {
|
|
4031
|
+
return e[t];
|
|
4010
4032
|
},
|
|
4011
|
-
set: function(
|
|
4012
|
-
t
|
|
4033
|
+
set: function(t, r) {
|
|
4034
|
+
e[t] = r;
|
|
4013
4035
|
}
|
|
4014
4036
|
};
|
|
4015
4037
|
}
|
|
4016
4038
|
};
|
|
4017
4039
|
}
|
|
4018
|
-
function
|
|
4019
|
-
return
|
|
4040
|
+
function Gi(e) {
|
|
4041
|
+
return e === void 0 && (e = {
|
|
4020
4042
|
number: {},
|
|
4021
4043
|
dateTime: {},
|
|
4022
4044
|
pluralRules: {}
|
|
4023
4045
|
}), {
|
|
4024
|
-
getNumberFormat:
|
|
4025
|
-
for (var
|
|
4046
|
+
getNumberFormat: Re(function() {
|
|
4047
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4026
4048
|
r[n] = arguments[n];
|
|
4027
|
-
return new ((
|
|
4049
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4028
4050
|
}, {
|
|
4029
|
-
cache:
|
|
4030
|
-
strategy:
|
|
4051
|
+
cache: De(e.number),
|
|
4052
|
+
strategy: Ge.variadic
|
|
4031
4053
|
}),
|
|
4032
|
-
getDateTimeFormat:
|
|
4033
|
-
for (var
|
|
4054
|
+
getDateTimeFormat: Re(function() {
|
|
4055
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4034
4056
|
r[n] = arguments[n];
|
|
4035
|
-
return new ((
|
|
4057
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4036
4058
|
}, {
|
|
4037
|
-
cache:
|
|
4038
|
-
strategy:
|
|
4059
|
+
cache: De(e.dateTime),
|
|
4060
|
+
strategy: Ge.variadic
|
|
4039
4061
|
}),
|
|
4040
|
-
getPluralRules:
|
|
4041
|
-
for (var
|
|
4062
|
+
getPluralRules: Re(function() {
|
|
4063
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4042
4064
|
r[n] = arguments[n];
|
|
4043
|
-
return new ((
|
|
4065
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
4044
4066
|
}, {
|
|
4045
|
-
cache:
|
|
4046
|
-
strategy:
|
|
4067
|
+
cache: De(e.pluralRules),
|
|
4068
|
+
strategy: Ge.variadic
|
|
4047
4069
|
})
|
|
4048
4070
|
};
|
|
4049
4071
|
}
|
|
4050
|
-
var
|
|
4072
|
+
var Ui = (
|
|
4051
4073
|
/** @class */
|
|
4052
4074
|
function() {
|
|
4053
|
-
function t
|
|
4054
|
-
r === void 0 && (r =
|
|
4075
|
+
function e(t, r, n, i) {
|
|
4076
|
+
r === void 0 && (r = e.defaultLocale);
|
|
4055
4077
|
var o = this;
|
|
4056
4078
|
if (this.formatterCache = {
|
|
4057
4079
|
number: {},
|
|
@@ -4066,7 +4088,7 @@ var $i = (
|
|
|
4066
4088
|
}, []);
|
|
4067
4089
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4068
4090
|
}, this.formatToParts = function(l) {
|
|
4069
|
-
return
|
|
4091
|
+
return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
4070
4092
|
}, this.resolvedOptions = function() {
|
|
4071
4093
|
var l;
|
|
4072
4094
|
return {
|
|
@@ -4074,31 +4096,31 @@ var $i = (
|
|
|
4074
4096
|
};
|
|
4075
4097
|
}, this.getAst = function() {
|
|
4076
4098
|
return o.ast;
|
|
4077
|
-
}, this.locales = r, this.resolvedLocale =
|
|
4078
|
-
if (this.message =
|
|
4099
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4100
|
+
if (this.message = t, !e.__parse)
|
|
4079
4101
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4080
4102
|
var a = i || {};
|
|
4081
4103
|
a.formatters;
|
|
4082
|
-
var s =
|
|
4083
|
-
this.ast =
|
|
4104
|
+
var s = yn(a, ["formatters"]);
|
|
4105
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4084
4106
|
} else
|
|
4085
|
-
this.ast =
|
|
4107
|
+
this.ast = t;
|
|
4086
4108
|
if (!Array.isArray(this.ast))
|
|
4087
4109
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4088
|
-
this.formats =
|
|
4110
|
+
this.formats = Ri(e.formats, n), this.formatters = i && i.formatters || Gi(this.formatterCache);
|
|
4089
4111
|
}
|
|
4090
|
-
return Object.defineProperty(
|
|
4112
|
+
return Object.defineProperty(e, "defaultLocale", {
|
|
4091
4113
|
get: function() {
|
|
4092
|
-
return
|
|
4114
|
+
return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
|
|
4093
4115
|
},
|
|
4094
4116
|
enumerable: !1,
|
|
4095
4117
|
configurable: !0
|
|
4096
|
-
}),
|
|
4118
|
+
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
4097
4119
|
if (typeof Intl.Locale != "undefined") {
|
|
4098
|
-
var r = Intl.NumberFormat.supportedLocalesOf(
|
|
4099
|
-
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof
|
|
4120
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4121
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4100
4122
|
}
|
|
4101
|
-
},
|
|
4123
|
+
}, e.__parse = Li, e.formats = {
|
|
4102
4124
|
number: {
|
|
4103
4125
|
integer: {
|
|
4104
4126
|
maximumFractionDigits: 0
|
|
@@ -4156,16 +4178,16 @@ var $i = (
|
|
|
4156
4178
|
timeZoneName: "short"
|
|
4157
4179
|
}
|
|
4158
4180
|
}
|
|
4159
|
-
},
|
|
4181
|
+
}, e;
|
|
4160
4182
|
}()
|
|
4161
4183
|
);
|
|
4162
|
-
function
|
|
4163
|
-
if (
|
|
4184
|
+
function Di(e, t) {
|
|
4185
|
+
if (t == null)
|
|
4164
4186
|
return;
|
|
4165
|
-
if (
|
|
4166
|
-
return t
|
|
4167
|
-
const r =
|
|
4168
|
-
let n =
|
|
4187
|
+
if (t in e)
|
|
4188
|
+
return e[t];
|
|
4189
|
+
const r = t.split(".");
|
|
4190
|
+
let n = e;
|
|
4169
4191
|
for (let i = 0; i < r.length; i++)
|
|
4170
4192
|
if (typeof n == "object") {
|
|
4171
4193
|
if (i > 0) {
|
|
@@ -4180,92 +4202,92 @@ function Ri(t, e) {
|
|
|
4180
4202
|
n = void 0;
|
|
4181
4203
|
return n;
|
|
4182
4204
|
}
|
|
4183
|
-
const U = {},
|
|
4184
|
-
if (
|
|
4205
|
+
const U = {}, Fi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), xr = (e, t) => {
|
|
4206
|
+
if (t == null)
|
|
4185
4207
|
return;
|
|
4186
|
-
if (
|
|
4187
|
-
return U[
|
|
4188
|
-
const r =
|
|
4208
|
+
if (t in U && e in U[t])
|
|
4209
|
+
return U[t][e];
|
|
4210
|
+
const r = Ce(t);
|
|
4189
4211
|
for (let n = 0; n < r.length; n++) {
|
|
4190
|
-
const i = r[n], o =
|
|
4212
|
+
const i = r[n], o = ki(i, e);
|
|
4191
4213
|
if (o)
|
|
4192
|
-
return
|
|
4214
|
+
return Fi(e, t, o);
|
|
4193
4215
|
}
|
|
4194
4216
|
};
|
|
4195
|
-
let
|
|
4196
|
-
const
|
|
4197
|
-
function
|
|
4198
|
-
return
|
|
4217
|
+
let ut;
|
|
4218
|
+
const he = Te({});
|
|
4219
|
+
function ji(e) {
|
|
4220
|
+
return ut[e] || null;
|
|
4199
4221
|
}
|
|
4200
|
-
function
|
|
4201
|
-
return
|
|
4222
|
+
function Er(e) {
|
|
4223
|
+
return e in ut;
|
|
4202
4224
|
}
|
|
4203
|
-
function
|
|
4204
|
-
if (!
|
|
4225
|
+
function ki(e, t) {
|
|
4226
|
+
if (!Er(e))
|
|
4205
4227
|
return null;
|
|
4206
|
-
const r =
|
|
4207
|
-
return
|
|
4228
|
+
const r = ji(e);
|
|
4229
|
+
return Di(r, t);
|
|
4208
4230
|
}
|
|
4209
|
-
function
|
|
4210
|
-
if (
|
|
4231
|
+
function Vi(e) {
|
|
4232
|
+
if (e == null)
|
|
4211
4233
|
return;
|
|
4212
|
-
const
|
|
4213
|
-
for (let r = 0; r <
|
|
4214
|
-
const n =
|
|
4215
|
-
if (
|
|
4234
|
+
const t = Ce(e);
|
|
4235
|
+
for (let r = 0; r < t.length; r++) {
|
|
4236
|
+
const n = t[r];
|
|
4237
|
+
if (Er(n))
|
|
4216
4238
|
return n;
|
|
4217
4239
|
}
|
|
4218
4240
|
}
|
|
4219
|
-
function
|
|
4220
|
-
delete U[
|
|
4241
|
+
function wr(e, ...t) {
|
|
4242
|
+
delete U[e], he.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
|
|
4221
4243
|
}
|
|
4222
4244
|
K(
|
|
4223
|
-
[
|
|
4224
|
-
([
|
|
4245
|
+
[he],
|
|
4246
|
+
([e]) => Object.keys(e)
|
|
4225
4247
|
);
|
|
4226
|
-
|
|
4227
|
-
const
|
|
4228
|
-
function
|
|
4229
|
-
|
|
4230
|
-
}
|
|
4231
|
-
function
|
|
4232
|
-
return
|
|
4233
|
-
}
|
|
4234
|
-
function
|
|
4235
|
-
return
|
|
4236
|
-
const r =
|
|
4237
|
-
return [
|
|
4238
|
-
}).filter(([,
|
|
4239
|
-
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4242
|
-
(
|
|
4248
|
+
he.subscribe((e) => ut = e);
|
|
4249
|
+
const ge = {};
|
|
4250
|
+
function Xi(e, t) {
|
|
4251
|
+
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
4252
|
+
}
|
|
4253
|
+
function Sr(e) {
|
|
4254
|
+
return ge[e];
|
|
4255
|
+
}
|
|
4256
|
+
function zi(e) {
|
|
4257
|
+
return Ce(e).map((t) => {
|
|
4258
|
+
const r = Sr(t);
|
|
4259
|
+
return [t, r ? [...r] : []];
|
|
4260
|
+
}).filter(([, t]) => t.length > 0);
|
|
4261
|
+
}
|
|
4262
|
+
function tt(e) {
|
|
4263
|
+
return e == null ? !1 : Ce(e).some(
|
|
4264
|
+
(t) => {
|
|
4243
4265
|
var r;
|
|
4244
|
-
return (r =
|
|
4266
|
+
return (r = Sr(t)) == null ? void 0 : r.size;
|
|
4245
4267
|
}
|
|
4246
4268
|
);
|
|
4247
4269
|
}
|
|
4248
|
-
function
|
|
4270
|
+
function Wi(e, t) {
|
|
4249
4271
|
return Promise.all(
|
|
4250
|
-
|
|
4251
|
-
).then((n) =>
|
|
4252
|
-
}
|
|
4253
|
-
const
|
|
4254
|
-
function
|
|
4255
|
-
if (!
|
|
4256
|
-
return
|
|
4257
|
-
const
|
|
4258
|
-
return
|
|
4259
|
-
|
|
4260
|
-
([r, n]) =>
|
|
4272
|
+
t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
|
|
4273
|
+
).then((n) => wr(e, ...n));
|
|
4274
|
+
}
|
|
4275
|
+
const ne = {};
|
|
4276
|
+
function Tr(e) {
|
|
4277
|
+
if (!tt(e))
|
|
4278
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4279
|
+
const t = zi(e);
|
|
4280
|
+
return ne[e] = Promise.all(
|
|
4281
|
+
t.map(
|
|
4282
|
+
([r, n]) => Wi(r, n)
|
|
4261
4283
|
)
|
|
4262
4284
|
).then(() => {
|
|
4263
|
-
if (
|
|
4264
|
-
return
|
|
4265
|
-
delete
|
|
4266
|
-
}),
|
|
4285
|
+
if (tt(e))
|
|
4286
|
+
return Tr(e);
|
|
4287
|
+
delete ne[e];
|
|
4288
|
+
}), ne[e];
|
|
4267
4289
|
}
|
|
4268
|
-
const
|
|
4290
|
+
const Zi = {
|
|
4269
4291
|
number: {
|
|
4270
4292
|
scientific: { notation: "scientific" },
|
|
4271
4293
|
engineering: { notation: "engineering" },
|
|
@@ -4294,138 +4316,138 @@ const Xi = {
|
|
|
4294
4316
|
timeZoneName: "short"
|
|
4295
4317
|
}
|
|
4296
4318
|
}
|
|
4297
|
-
},
|
|
4319
|
+
}, Qi = {
|
|
4298
4320
|
fallbackLocale: null,
|
|
4299
4321
|
loadingDelay: 200,
|
|
4300
|
-
formats:
|
|
4322
|
+
formats: Zi,
|
|
4301
4323
|
warnOnMissingMessages: !0,
|
|
4302
4324
|
handleMissingMessage: void 0,
|
|
4303
4325
|
ignoreTag: !0
|
|
4304
|
-
},
|
|
4326
|
+
}, Ji = Qi;
|
|
4305
4327
|
function Y() {
|
|
4306
|
-
return
|
|
4307
|
-
}
|
|
4308
|
-
const
|
|
4309
|
-
var
|
|
4310
|
-
for (var r in
|
|
4311
|
-
|
|
4312
|
-
if (
|
|
4313
|
-
for (var r of
|
|
4314
|
-
|
|
4315
|
-
return
|
|
4316
|
-
},
|
|
4317
|
-
let
|
|
4318
|
-
const
|
|
4319
|
-
function
|
|
4320
|
-
return
|
|
4328
|
+
return Ji;
|
|
4329
|
+
}
|
|
4330
|
+
const Fe = Te(!1);
|
|
4331
|
+
var qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
|
|
4332
|
+
for (var r in t || (t = {}))
|
|
4333
|
+
eo.call(t, r) && $t(e, r, t[r]);
|
|
4334
|
+
if (Nt)
|
|
4335
|
+
for (var r of Nt(t))
|
|
4336
|
+
to.call(t, r) && $t(e, r, t[r]);
|
|
4337
|
+
return e;
|
|
4338
|
+
}, no = (e, t) => Yi(e, Ki(t));
|
|
4339
|
+
let rt;
|
|
4340
|
+
const xe = Te(null);
|
|
4341
|
+
function Rt(e) {
|
|
4342
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4321
4343
|
}
|
|
4322
|
-
function
|
|
4323
|
-
const r =
|
|
4324
|
-
return
|
|
4344
|
+
function Ce(e, t = Y().fallbackLocale) {
|
|
4345
|
+
const r = Rt(e);
|
|
4346
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
4325
4347
|
}
|
|
4326
4348
|
function F() {
|
|
4327
|
-
return
|
|
4349
|
+
return rt != null ? rt : void 0;
|
|
4328
4350
|
}
|
|
4329
|
-
|
|
4330
|
-
|
|
4351
|
+
xe.subscribe((e) => {
|
|
4352
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4331
4353
|
});
|
|
4332
|
-
const
|
|
4333
|
-
if (
|
|
4334
|
-
const { loadingDelay:
|
|
4354
|
+
const io = (e) => {
|
|
4355
|
+
if (e && Vi(e) && tt(e)) {
|
|
4356
|
+
const { loadingDelay: t } = Y();
|
|
4335
4357
|
let r;
|
|
4336
|
-
return typeof window != "undefined" && F() != null &&
|
|
4337
|
-
() =>
|
|
4338
|
-
|
|
4339
|
-
) :
|
|
4340
|
-
|
|
4358
|
+
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4359
|
+
() => Fe.set(!0),
|
|
4360
|
+
t
|
|
4361
|
+
) : Fe.set(!0), Tr(e).then(() => {
|
|
4362
|
+
xe.set(e);
|
|
4341
4363
|
}).finally(() => {
|
|
4342
|
-
clearTimeout(r),
|
|
4364
|
+
clearTimeout(r), Fe.set(!1);
|
|
4343
4365
|
});
|
|
4344
4366
|
}
|
|
4345
|
-
return
|
|
4346
|
-
},
|
|
4347
|
-
set:
|
|
4348
|
-
}),
|
|
4349
|
-
const
|
|
4367
|
+
return xe.set(e);
|
|
4368
|
+
}, ee = no(ro({}, xe), {
|
|
4369
|
+
set: io
|
|
4370
|
+
}), Be = (e) => {
|
|
4371
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
4350
4372
|
return (n) => {
|
|
4351
4373
|
const i = JSON.stringify(n);
|
|
4352
|
-
return i in
|
|
4374
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4353
4375
|
};
|
|
4354
4376
|
};
|
|
4355
|
-
var
|
|
4356
|
-
for (var r in
|
|
4357
|
-
|
|
4358
|
-
if (
|
|
4359
|
-
for (var r of
|
|
4360
|
-
|
|
4361
|
-
return
|
|
4362
|
-
},
|
|
4377
|
+
var oo = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4378
|
+
for (var r in t || (t = {}))
|
|
4379
|
+
Hr.call(t, r) && Gt(e, r, t[r]);
|
|
4380
|
+
if (Ee)
|
|
4381
|
+
for (var r of Ee(t))
|
|
4382
|
+
Cr.call(t, r) && Gt(e, r, t[r]);
|
|
4383
|
+
return e;
|
|
4384
|
+
}, te = (e, t) => {
|
|
4363
4385
|
var r = {};
|
|
4364
|
-
for (var n in
|
|
4365
|
-
|
|
4366
|
-
if (
|
|
4367
|
-
for (var n of
|
|
4368
|
-
|
|
4386
|
+
for (var n in e)
|
|
4387
|
+
Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4388
|
+
if (e != null && Ee)
|
|
4389
|
+
for (var n of Ee(e))
|
|
4390
|
+
t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
|
|
4369
4391
|
return r;
|
|
4370
4392
|
};
|
|
4371
|
-
const
|
|
4393
|
+
const ue = (e, t) => {
|
|
4372
4394
|
const { formats: r } = Y();
|
|
4373
|
-
if (
|
|
4374
|
-
return r[
|
|
4375
|
-
throw new Error(`[svelte-i18n] Unknown "${
|
|
4376
|
-
},
|
|
4377
|
-
(
|
|
4378
|
-
var
|
|
4395
|
+
if (e in r && t in r[e])
|
|
4396
|
+
return r[e][t];
|
|
4397
|
+
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4398
|
+
}, so = Be(
|
|
4399
|
+
(e) => {
|
|
4400
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4379
4401
|
if (r == null)
|
|
4380
4402
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4381
|
-
return n && (i =
|
|
4403
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4382
4404
|
}
|
|
4383
|
-
),
|
|
4384
|
-
(
|
|
4385
|
-
var
|
|
4405
|
+
), ao = Be(
|
|
4406
|
+
(e) => {
|
|
4407
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4386
4408
|
if (r == null)
|
|
4387
4409
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4388
|
-
return n ? i =
|
|
4410
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4389
4411
|
}
|
|
4390
|
-
),
|
|
4391
|
-
(
|
|
4392
|
-
var
|
|
4412
|
+
), uo = Be(
|
|
4413
|
+
(e) => {
|
|
4414
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4393
4415
|
if (r == null)
|
|
4394
4416
|
throw new Error(
|
|
4395
4417
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4396
4418
|
);
|
|
4397
|
-
return n ? i =
|
|
4419
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4398
4420
|
}
|
|
4399
|
-
),
|
|
4400
|
-
var
|
|
4421
|
+
), lo = (e = {}) => {
|
|
4422
|
+
var t = e, {
|
|
4401
4423
|
locale: r = F()
|
|
4402
|
-
} =
|
|
4424
|
+
} = t, n = te(t, [
|
|
4403
4425
|
"locale"
|
|
4404
4426
|
]);
|
|
4405
|
-
return
|
|
4406
|
-
},
|
|
4407
|
-
var
|
|
4427
|
+
return so(lt({ locale: r }, n));
|
|
4428
|
+
}, ho = (e = {}) => {
|
|
4429
|
+
var t = e, {
|
|
4408
4430
|
locale: r = F()
|
|
4409
|
-
} =
|
|
4431
|
+
} = t, n = te(t, [
|
|
4410
4432
|
"locale"
|
|
4411
4433
|
]);
|
|
4412
|
-
return
|
|
4413
|
-
},
|
|
4414
|
-
var
|
|
4434
|
+
return ao(lt({ locale: r }, n));
|
|
4435
|
+
}, co = (e = {}) => {
|
|
4436
|
+
var t = e, {
|
|
4415
4437
|
locale: r = F()
|
|
4416
|
-
} =
|
|
4438
|
+
} = t, n = te(t, [
|
|
4417
4439
|
"locale"
|
|
4418
4440
|
]);
|
|
4419
|
-
return
|
|
4420
|
-
},
|
|
4441
|
+
return uo(lt({ locale: r }, n));
|
|
4442
|
+
}, fo = Be(
|
|
4421
4443
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4422
|
-
(
|
|
4444
|
+
(e, t = F()) => new Ui(e, t, Y().formats, {
|
|
4423
4445
|
ignoreTag: Y().ignoreTag
|
|
4424
4446
|
})
|
|
4425
|
-
),
|
|
4447
|
+
), mo = (e, t = {}) => {
|
|
4426
4448
|
var r, n, i, o;
|
|
4427
|
-
let a =
|
|
4428
|
-
typeof
|
|
4449
|
+
let a = t;
|
|
4450
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4429
4451
|
const {
|
|
4430
4452
|
values: s,
|
|
4431
4453
|
locale: l = F(),
|
|
@@ -4435,62 +4457,62 @@ const ut = (t, e) => {
|
|
|
4435
4457
|
throw new Error(
|
|
4436
4458
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4437
4459
|
);
|
|
4438
|
-
let h =
|
|
4460
|
+
let h = xr(e, l);
|
|
4439
4461
|
if (!h)
|
|
4440
|
-
h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id:
|
|
4462
|
+
h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4441
4463
|
else if (typeof h != "string")
|
|
4442
4464
|
return console.warn(
|
|
4443
|
-
`[svelte-i18n] Message with id "${
|
|
4465
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4444
4466
|
), h;
|
|
4445
4467
|
if (!s)
|
|
4446
4468
|
return h;
|
|
4447
4469
|
let c = h;
|
|
4448
4470
|
try {
|
|
4449
|
-
c =
|
|
4471
|
+
c = fo(h, l).format(s);
|
|
4450
4472
|
} catch (f) {
|
|
4451
4473
|
f instanceof Error && console.warn(
|
|
4452
|
-
`[svelte-i18n] Message "${
|
|
4474
|
+
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4453
4475
|
f.message
|
|
4454
4476
|
);
|
|
4455
4477
|
}
|
|
4456
4478
|
return c;
|
|
4457
|
-
},
|
|
4458
|
-
K([
|
|
4459
|
-
K([
|
|
4460
|
-
K([
|
|
4461
|
-
K([
|
|
4462
|
-
window.emWidgets = { topic:
|
|
4463
|
-
const
|
|
4464
|
-
function
|
|
4465
|
-
if (
|
|
4479
|
+
}, po = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), yo = (e, t = F()) => xr(e, t), vo = K([ee, he], () => mo);
|
|
4480
|
+
K([ee], () => po);
|
|
4481
|
+
K([ee], () => bo);
|
|
4482
|
+
K([ee], () => go);
|
|
4483
|
+
K([ee, he], () => yo);
|
|
4484
|
+
window.emWidgets = { topic: On };
|
|
4485
|
+
const _o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4486
|
+
function xo(e, t) {
|
|
4487
|
+
if (e) {
|
|
4466
4488
|
const r = document.createElement("style");
|
|
4467
|
-
r.innerHTML =
|
|
4489
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4468
4490
|
}
|
|
4469
4491
|
}
|
|
4470
|
-
function
|
|
4471
|
-
const r = new URL(
|
|
4492
|
+
function Eo(e, t) {
|
|
4493
|
+
const r = new URL(t);
|
|
4472
4494
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4473
4495
|
const i = document.createElement("style");
|
|
4474
|
-
i.innerHTML = n,
|
|
4496
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4475
4497
|
}).catch((n) => {
|
|
4476
4498
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4477
4499
|
});
|
|
4478
4500
|
}
|
|
4479
|
-
function
|
|
4501
|
+
function wo(e, t, r) {
|
|
4480
4502
|
if (window.emMessageBus) {
|
|
4481
4503
|
const n = document.createElement("style");
|
|
4482
|
-
window.emMessageBus.subscribe(
|
|
4483
|
-
n.innerHTML = i,
|
|
4504
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4505
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4484
4506
|
});
|
|
4485
4507
|
}
|
|
4486
4508
|
}
|
|
4487
|
-
function
|
|
4488
|
-
|
|
4509
|
+
function Ut(e, t) {
|
|
4510
|
+
wr(e, t);
|
|
4489
4511
|
}
|
|
4490
|
-
function
|
|
4491
|
-
|
|
4512
|
+
function So(e) {
|
|
4513
|
+
ee.set(e);
|
|
4492
4514
|
}
|
|
4493
|
-
const
|
|
4515
|
+
const Dt = {
|
|
4494
4516
|
en: {
|
|
4495
4517
|
cancel: "Cancel",
|
|
4496
4518
|
confirm: "Confirm"
|
|
@@ -4536,133 +4558,133 @@ const Re = {
|
|
|
4536
4558
|
confirm: "Confirm"
|
|
4537
4559
|
}
|
|
4538
4560
|
};
|
|
4539
|
-
function
|
|
4540
|
-
|
|
4561
|
+
function To(e) {
|
|
4562
|
+
zr(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4541
4563
|
}
|
|
4542
|
-
const
|
|
4543
|
-
function
|
|
4544
|
-
let
|
|
4564
|
+
const Ho = (e) => ({}), Ft = (e) => ({});
|
|
4565
|
+
function Co(e) {
|
|
4566
|
+
let t, r;
|
|
4545
4567
|
return {
|
|
4546
4568
|
c() {
|
|
4547
|
-
|
|
4569
|
+
t = bt("svg"), r = bt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4548
4570
|
},
|
|
4549
4571
|
m(n, i) {
|
|
4550
|
-
|
|
4572
|
+
ot(n, t, i), P(t, r);
|
|
4551
4573
|
},
|
|
4552
4574
|
p: I,
|
|
4553
4575
|
d(n) {
|
|
4554
|
-
n &&
|
|
4576
|
+
n && le(t);
|
|
4555
4577
|
}
|
|
4556
4578
|
};
|
|
4557
4579
|
}
|
|
4558
|
-
function
|
|
4559
|
-
let
|
|
4580
|
+
function Bo(e) {
|
|
4581
|
+
let t, r, n, i, o, a, s, l, u, h = (
|
|
4560
4582
|
/*$_*/
|
|
4561
|
-
|
|
4583
|
+
e[2]("cancel") + ""
|
|
4562
4584
|
), c, f, p, m = (
|
|
4563
4585
|
/*$_*/
|
|
4564
|
-
|
|
4586
|
+
e[2]("confirm") + ""
|
|
4565
4587
|
), d, v, T, C;
|
|
4566
4588
|
const S = (
|
|
4567
4589
|
/*#slots*/
|
|
4568
|
-
|
|
4569
|
-
), B =
|
|
4590
|
+
e[14].close
|
|
4591
|
+
), B = Dr(
|
|
4570
4592
|
S,
|
|
4571
|
-
|
|
4593
|
+
e,
|
|
4572
4594
|
/*$$scope*/
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
), w = B ||
|
|
4595
|
+
e[13],
|
|
4596
|
+
Ft
|
|
4597
|
+
), w = B || Co();
|
|
4576
4598
|
return {
|
|
4577
4599
|
c() {
|
|
4578
|
-
|
|
4600
|
+
t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = Pe(), o = M("div"), a = ie(
|
|
4579
4601
|
/*modaltext*/
|
|
4580
|
-
|
|
4581
|
-
), s =
|
|
4582
|
-
(
|
|
4583
|
-
(
|
|
4584
|
-
(
|
|
4602
|
+
e[0]
|
|
4603
|
+
), s = Pe(), l = M("div"), u = M("button"), c = ie(h), f = Pe(), p = M("button"), d = ie(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4604
|
+
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4605
|
+
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4606
|
+
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4585
4607
|
},
|
|
4586
4608
|
m(x, L) {
|
|
4587
|
-
|
|
4588
|
-
|
|
4609
|
+
ot(x, t, L), P(t, r), P(r, n), w && w.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), e[15](t), v = !0, T || (C = [
|
|
4610
|
+
Le(
|
|
4589
4611
|
n,
|
|
4590
4612
|
"click",
|
|
4591
4613
|
/*close*/
|
|
4592
|
-
|
|
4614
|
+
e[4]
|
|
4593
4615
|
),
|
|
4594
|
-
|
|
4616
|
+
Le(
|
|
4595
4617
|
u,
|
|
4596
4618
|
"click",
|
|
4597
4619
|
/*cancelChanges*/
|
|
4598
|
-
|
|
4620
|
+
e[6]
|
|
4599
4621
|
),
|
|
4600
|
-
|
|
4622
|
+
Le(
|
|
4601
4623
|
p,
|
|
4602
4624
|
"click",
|
|
4603
4625
|
/*confirmChanges*/
|
|
4604
|
-
|
|
4626
|
+
e[5]
|
|
4605
4627
|
)
|
|
4606
4628
|
], T = !0);
|
|
4607
4629
|
},
|
|
4608
4630
|
p(x, [L]) {
|
|
4609
4631
|
B && B.p && (!v || L & /*$$scope*/
|
|
4610
|
-
8192) &&
|
|
4632
|
+
8192) && jr(
|
|
4611
4633
|
B,
|
|
4612
4634
|
S,
|
|
4613
4635
|
x,
|
|
4614
4636
|
/*$$scope*/
|
|
4615
4637
|
x[13],
|
|
4616
|
-
v ?
|
|
4638
|
+
v ? Fr(
|
|
4617
4639
|
S,
|
|
4618
4640
|
/*$$scope*/
|
|
4619
4641
|
x[13],
|
|
4620
4642
|
L,
|
|
4621
|
-
|
|
4622
|
-
) :
|
|
4643
|
+
Ho
|
|
4644
|
+
) : kr(
|
|
4623
4645
|
/*$$scope*/
|
|
4624
4646
|
x[13]
|
|
4625
4647
|
),
|
|
4626
|
-
|
|
4648
|
+
Ft
|
|
4627
4649
|
), (!v || L & /*modaltext*/
|
|
4628
|
-
1) &&
|
|
4650
|
+
1) && Oe(
|
|
4629
4651
|
a,
|
|
4630
4652
|
/*modaltext*/
|
|
4631
4653
|
x[0]
|
|
4632
4654
|
), (!v || L & /*$_*/
|
|
4633
4655
|
4) && h !== (h = /*$_*/
|
|
4634
|
-
x[2]("cancel") + "") &&
|
|
4656
|
+
x[2]("cancel") + "") && Oe(c, h), (!v || L & /*$_*/
|
|
4635
4657
|
4) && m !== (m = /*$_*/
|
|
4636
|
-
x[2]("confirm") + "") &&
|
|
4658
|
+
x[2]("confirm") + "") && Oe(d, m);
|
|
4637
4659
|
},
|
|
4638
4660
|
i(x) {
|
|
4639
|
-
v || (
|
|
4661
|
+
v || (Qt(w, x), v = !0);
|
|
4640
4662
|
},
|
|
4641
4663
|
o(x) {
|
|
4642
|
-
|
|
4664
|
+
ln(w, x), v = !1;
|
|
4643
4665
|
},
|
|
4644
4666
|
d(x) {
|
|
4645
|
-
x &&
|
|
4667
|
+
x && le(t), w && w.d(x), e[15](null), T = !1, D(C);
|
|
4646
4668
|
}
|
|
4647
4669
|
};
|
|
4648
4670
|
}
|
|
4649
|
-
function
|
|
4671
|
+
function Ao(e, t, r) {
|
|
4650
4672
|
let n;
|
|
4651
|
-
|
|
4652
|
-
let { $$slots: i = {}, $$scope: o } =
|
|
4673
|
+
Ur(e, vo, (g) => r(2, n = g));
|
|
4674
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4653
4675
|
const p = () => {
|
|
4654
4676
|
fetch(f).then((j) => j.json()).then((j) => {
|
|
4655
|
-
Object.keys(j).forEach((
|
|
4656
|
-
|
|
4677
|
+
Object.keys(j).forEach((ht) => {
|
|
4678
|
+
Ut(ht, j[ht]);
|
|
4657
4679
|
});
|
|
4658
4680
|
}).catch((j) => {
|
|
4659
4681
|
console.log(j);
|
|
4660
4682
|
});
|
|
4661
4683
|
};
|
|
4662
|
-
Object.keys(
|
|
4663
|
-
|
|
4684
|
+
Object.keys(Dt).forEach((g) => {
|
|
4685
|
+
Ut(g, Dt[g]);
|
|
4664
4686
|
});
|
|
4665
|
-
let m, d = window.navigator.userAgent, v =
|
|
4687
|
+
let m, d = window.navigator.userAgent, v = _o(d) !== "PC", T = {}, C = "";
|
|
4666
4688
|
const S = () => {
|
|
4667
4689
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4668
4690
|
}, B = () => {
|
|
@@ -4683,25 +4705,25 @@ function Ho(t, e, r) {
|
|
|
4683
4705
|
T = g.data.removeData, C = x(g.data.removeName);
|
|
4684
4706
|
break;
|
|
4685
4707
|
}
|
|
4686
|
-
},
|
|
4687
|
-
|
|
4708
|
+
}, Ar = () => {
|
|
4709
|
+
So(l);
|
|
4688
4710
|
};
|
|
4689
|
-
|
|
4711
|
+
rn(() => (window.addEventListener("message", L, !1), () => {
|
|
4690
4712
|
window.removeEventListener("message", L);
|
|
4691
4713
|
}));
|
|
4692
|
-
function
|
|
4693
|
-
|
|
4714
|
+
function Pr(g) {
|
|
4715
|
+
je[g ? "unshift" : "push"](() => {
|
|
4694
4716
|
m = g, r(1, m);
|
|
4695
4717
|
});
|
|
4696
4718
|
}
|
|
4697
|
-
return
|
|
4719
|
+
return e.$$set = (g) => {
|
|
4698
4720
|
"modaltext" in g && r(0, a = g.modaltext), "modalsource" in g && r(7, s = g.modalsource), "lang" in g && r(8, l = g.lang), "clientstyling" in g && r(9, u = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "mbsource" in g && r(11, c = g.mbsource), "translationurl" in g && r(12, f = g.translationurl), "$$scope" in g && r(13, o = g.$$scope);
|
|
4699
|
-
},
|
|
4700
|
-
|
|
4701
|
-
385 && a && s && l &&
|
|
4702
|
-
514 && u && m &&
|
|
4703
|
-
1026 && h && m &&
|
|
4704
|
-
2050 && c && m &&
|
|
4721
|
+
}, e.$$.update = () => {
|
|
4722
|
+
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4723
|
+
385 && a && s && l && Ar(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4724
|
+
514 && u && m && xo(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4725
|
+
1026 && h && m && Eo(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4726
|
+
2050 && c && m && wo(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4705
4727
|
4096 && f && p();
|
|
4706
4728
|
}, [
|
|
4707
4729
|
a,
|
|
@@ -4719,17 +4741,17 @@ function Ho(t, e, r) {
|
|
|
4719
4741
|
f,
|
|
4720
4742
|
o,
|
|
4721
4743
|
i,
|
|
4722
|
-
|
|
4744
|
+
Pr
|
|
4723
4745
|
];
|
|
4724
4746
|
}
|
|
4725
|
-
class
|
|
4726
|
-
constructor(
|
|
4727
|
-
super(),
|
|
4747
|
+
class Br extends bn {
|
|
4748
|
+
constructor(t) {
|
|
4749
|
+
super(), pn(
|
|
4728
4750
|
this,
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4751
|
+
t,
|
|
4752
|
+
Ao,
|
|
4753
|
+
Bo,
|
|
4754
|
+
kt,
|
|
4733
4755
|
{
|
|
4734
4756
|
modaltext: 0,
|
|
4735
4757
|
modalsource: 7,
|
|
@@ -4739,106 +4761,106 @@ class Sr extends fn {
|
|
|
4739
4761
|
mbsource: 11,
|
|
4740
4762
|
translationurl: 12
|
|
4741
4763
|
},
|
|
4742
|
-
|
|
4764
|
+
To
|
|
4743
4765
|
);
|
|
4744
4766
|
}
|
|
4745
4767
|
get modaltext() {
|
|
4746
4768
|
return this.$$.ctx[0];
|
|
4747
4769
|
}
|
|
4748
|
-
set modaltext(
|
|
4749
|
-
this.$$set({ modaltext:
|
|
4770
|
+
set modaltext(t) {
|
|
4771
|
+
this.$$set({ modaltext: t }), N();
|
|
4750
4772
|
}
|
|
4751
4773
|
get modalsource() {
|
|
4752
4774
|
return this.$$.ctx[7];
|
|
4753
4775
|
}
|
|
4754
|
-
set modalsource(
|
|
4755
|
-
this.$$set({ modalsource:
|
|
4776
|
+
set modalsource(t) {
|
|
4777
|
+
this.$$set({ modalsource: t }), N();
|
|
4756
4778
|
}
|
|
4757
4779
|
get lang() {
|
|
4758
4780
|
return this.$$.ctx[8];
|
|
4759
4781
|
}
|
|
4760
|
-
set lang(
|
|
4761
|
-
this.$$set({ lang:
|
|
4782
|
+
set lang(t) {
|
|
4783
|
+
this.$$set({ lang: t }), N();
|
|
4762
4784
|
}
|
|
4763
4785
|
get clientstyling() {
|
|
4764
4786
|
return this.$$.ctx[9];
|
|
4765
4787
|
}
|
|
4766
|
-
set clientstyling(
|
|
4767
|
-
this.$$set({ clientstyling:
|
|
4788
|
+
set clientstyling(t) {
|
|
4789
|
+
this.$$set({ clientstyling: t }), N();
|
|
4768
4790
|
}
|
|
4769
4791
|
get clientstylingurl() {
|
|
4770
4792
|
return this.$$.ctx[10];
|
|
4771
4793
|
}
|
|
4772
|
-
set clientstylingurl(
|
|
4773
|
-
this.$$set({ clientstylingurl:
|
|
4794
|
+
set clientstylingurl(t) {
|
|
4795
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4774
4796
|
}
|
|
4775
4797
|
get mbsource() {
|
|
4776
4798
|
return this.$$.ctx[11];
|
|
4777
4799
|
}
|
|
4778
|
-
set mbsource(
|
|
4779
|
-
this.$$set({ mbsource:
|
|
4800
|
+
set mbsource(t) {
|
|
4801
|
+
this.$$set({ mbsource: t }), N();
|
|
4780
4802
|
}
|
|
4781
4803
|
get translationurl() {
|
|
4782
4804
|
return this.$$.ctx[12];
|
|
4783
4805
|
}
|
|
4784
|
-
set translationurl(
|
|
4785
|
-
this.$$set({ translationurl:
|
|
4806
|
+
set translationurl(t) {
|
|
4807
|
+
this.$$set({ translationurl: t }), N();
|
|
4786
4808
|
}
|
|
4787
4809
|
}
|
|
4788
|
-
|
|
4789
|
-
const
|
|
4810
|
+
dn(Br, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4811
|
+
const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4790
4812
|
__proto__: null,
|
|
4791
|
-
default:
|
|
4813
|
+
default: Br
|
|
4792
4814
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4793
4815
|
export {
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4816
|
+
ee as $,
|
|
4817
|
+
Lo as A,
|
|
4818
|
+
Oo as B,
|
|
4819
|
+
Go as C,
|
|
4820
|
+
No as D,
|
|
4821
|
+
je as E,
|
|
4822
|
+
xo as F,
|
|
4823
|
+
$o as G,
|
|
4824
|
+
_e as H,
|
|
4825
|
+
Ro as I,
|
|
4826
|
+
we as J,
|
|
4827
|
+
vo as K,
|
|
4828
|
+
$r as L,
|
|
4829
|
+
Qt as M,
|
|
4830
|
+
ln as N,
|
|
4831
|
+
Do as O,
|
|
4832
|
+
Dr as P,
|
|
4833
|
+
jr as Q,
|
|
4834
|
+
kr as R,
|
|
4835
|
+
bn as S,
|
|
4836
|
+
Fr as T,
|
|
4837
|
+
Fo as U,
|
|
4838
|
+
Uo as V,
|
|
4839
|
+
ko as W,
|
|
4840
|
+
wr as a,
|
|
4841
|
+
zr as b,
|
|
4842
|
+
dn as c,
|
|
4843
|
+
Pe as d,
|
|
4844
|
+
M as e,
|
|
4823
4845
|
N as f,
|
|
4824
|
-
|
|
4846
|
+
bt as g,
|
|
4825
4847
|
H as h,
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4848
|
+
pn as i,
|
|
4849
|
+
Mo as j,
|
|
4850
|
+
ot as k,
|
|
4851
|
+
P as l,
|
|
4852
|
+
Le as m,
|
|
4853
|
+
Oe as n,
|
|
4854
|
+
I as o,
|
|
4855
|
+
Io as p,
|
|
4856
|
+
le as q,
|
|
4835
4857
|
D as r,
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4858
|
+
kt as s,
|
|
4859
|
+
ie as t,
|
|
4860
|
+
Ur as u,
|
|
4861
|
+
_o as v,
|
|
4862
|
+
rn as w,
|
|
4863
|
+
Eo as x,
|
|
4864
|
+
wo as y,
|
|
4865
|
+
jo as z
|
|
4844
4866
|
};
|