@everymatrix/player-account-self-exclusion 1.77.20 → 1.77.21
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/{PlayerAccountGeneralConfirmationModal-jyYO-Fkt.js → PlayerAccountGeneralConfirmationModal-CF0gIxAh.js} +850 -807
- package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CiMX3WWK.js → PlayerAccountGeneralConfirmationModal-DTX1CBzd.js} +854 -811
- package/components/{PlayerAccountModal-Dm1IMhsb.js → PlayerAccountModal-CJKwahNB.js} +1 -1
- package/components/{PlayerAccountModal-BHmYtAZI.cjs → PlayerAccountModal-D5N72NeZ.cjs} +1 -1
- package/components/{PlayerAccountModal-OJIGC8aB.js → PlayerAccountModal-Db-SglWF.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-CyoiCLNz.js → PlayerAccountSelfExclusion-B09jyh1f.js} +849 -845
- package/components/{PlayerAccountSelfExclusion-Cdp4_Nr0.js → PlayerAccountSelfExclusion-DlEMQC0y.js} +1272 -1268
- package/components/{PlayerAccountSelfExclusion-D_FBRkvp.cjs → PlayerAccountSelfExclusion-DsholK_z.cjs} +155 -155
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-Mf-wuYBa.cjs +0 -21
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Nr = Object.defineProperty, Lr = Object.defineProperties;
|
|
2
|
+
var $r = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var mt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Rr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Me = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Rr.call(t, r) && Me(e, r, t[r]);
|
|
8
|
+
if (mt)
|
|
9
|
+
for (var r of mt(t))
|
|
10
|
+
Gr.call(t, r) && Me(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, dt = (e, t) => Lr(e, $r(t));
|
|
13
|
+
var O = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,8 +29,8 @@ var ct = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const Ur = (e) => e;
|
|
33
|
+
function Dr(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,25 +38,25 @@ function Lr(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function zt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function gt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function U(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(zt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function He(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Wt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Fr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Zt(e, ...t) {
|
|
60
60
|
if (e == null) {
|
|
61
61
|
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
@@ -65,19 +65,19 @@ function kt(e, ...t) {
|
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
e.$$.on_destroy.push(
|
|
68
|
+
function jr(e, t, r) {
|
|
69
|
+
e.$$.on_destroy.push(Zt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function kr(e, t, r, n) {
|
|
72
72
|
if (e) {
|
|
73
|
-
const i =
|
|
73
|
+
const i = Qt(e, t, r, n);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return e[1] && n ?
|
|
77
|
+
function Qt(e, t, r, n) {
|
|
78
|
+
return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Vr(e, t, r, n) {
|
|
81
81
|
if (e[2] && n) {
|
|
82
82
|
const i = e[2](n(r));
|
|
83
83
|
if (t.dirty === void 0)
|
|
@@ -92,13 +92,13 @@ function Ur(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Xr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const s =
|
|
97
|
+
const s = Qt(t, r, n, o);
|
|
98
98
|
e.p(s, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function zr(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
103
|
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
@@ -107,17 +107,17 @@ function Fr(e) {
|
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
110
|
+
const Jt = typeof window != "undefined";
|
|
111
|
+
let Wr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
113
|
+
function qt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
|
-
}), z.size !== 0 &&
|
|
116
|
+
}), z.size !== 0 && at(qt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Zr(e) {
|
|
119
119
|
let t;
|
|
120
|
-
return z.size === 0 &&
|
|
120
|
+
return z.size === 0 && at(qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
122
|
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
@@ -129,14 +129,14 @@ function kr(e) {
|
|
|
129
129
|
function C(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
const n =
|
|
132
|
+
function Qr(e, t, r) {
|
|
133
|
+
const n = ut(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id = t, i.textContent = r,
|
|
136
|
+
i.id = t, i.textContent = r, Yt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ut(e) {
|
|
140
140
|
if (!e)
|
|
141
141
|
return document;
|
|
142
142
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -146,69 +146,69 @@ function nt(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Jr(e) {
|
|
150
150
|
const t = M("style");
|
|
151
|
-
return t.textContent = "/* empty */",
|
|
151
|
+
return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Yt(e, t) {
|
|
154
154
|
return C(
|
|
155
155
|
/** @type {Document} */
|
|
156
156
|
e.head || e,
|
|
157
157
|
t
|
|
158
158
|
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ae(e, t, r) {
|
|
161
161
|
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
163
|
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Lo(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
170
|
function M(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function yt(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ue(e) {
|
|
177
177
|
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
179
|
function fe() {
|
|
180
|
-
return
|
|
180
|
+
return ue(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function $o() {
|
|
183
|
+
return ue("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function ke(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
188
|
function H(e, t, r) {
|
|
189
189
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Ro(e, t, r) {
|
|
192
192
|
const n = t.toLowerCase();
|
|
193
193
|
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);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function qr(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function lt(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Go(e, t, r, n) {
|
|
203
203
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Uo(e, t, r) {
|
|
206
206
|
e.classList.toggle(t, !!r);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Yr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
209
209
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Kr(e) {
|
|
212
212
|
const t = {};
|
|
213
213
|
return e.childNodes.forEach(
|
|
214
214
|
/** @param {Element} node */
|
|
@@ -219,17 +219,17 @@ function Zr(e) {
|
|
|
219
219
|
}
|
|
220
220
|
const _e = /* @__PURE__ */ new Map();
|
|
221
221
|
let xe = 0;
|
|
222
|
-
function
|
|
222
|
+
function en(e) {
|
|
223
223
|
let t = 5381, r = e.length;
|
|
224
224
|
for (; r--; )
|
|
225
225
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
226
226
|
return t >>> 0;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
const r = { stylesheet:
|
|
228
|
+
function tn(e, t) {
|
|
229
|
+
const r = { stylesheet: Jr(t), rules: {} };
|
|
230
230
|
return _e.set(e, r), r;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function vt(e, t, r, n, i, o, s, a = 0) {
|
|
233
233
|
const l = 16.666 / n;
|
|
234
234
|
let u = `{
|
|
235
235
|
`;
|
|
@@ -239,156 +239,156 @@ function dt(e, t, r, n, i, o, s, a = 0) {
|
|
|
239
239
|
`;
|
|
240
240
|
}
|
|
241
241
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
242
|
-
}`, c = `__svelte_${
|
|
243
|
-
m[c] || (m[c] = !0,
|
|
244
|
-
const
|
|
245
|
-
return e.style.animation = `${
|
|
242
|
+
}`, c = `__svelte_${en(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || tn(f, e);
|
|
243
|
+
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
244
|
+
const d = e.style.animation || "";
|
|
245
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function rn(e, t) {
|
|
248
248
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
249
249
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
250
250
|
// remove all Svelte animations
|
|
251
251
|
), i = r.length - n.length;
|
|
252
|
-
i && (e.style.animation = n.join(", "), xe -= i, xe ||
|
|
252
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || nn());
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
|
|
254
|
+
function nn() {
|
|
255
|
+
at(() => {
|
|
256
256
|
xe || (_e.forEach((e) => {
|
|
257
257
|
const { ownerNode: t } = e.stylesheet;
|
|
258
258
|
t && D(t);
|
|
259
259
|
}), _e.clear());
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
let
|
|
263
|
-
function
|
|
264
|
-
|
|
262
|
+
let ie;
|
|
263
|
+
function ne(e) {
|
|
264
|
+
ie = e;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
if (!
|
|
266
|
+
function on() {
|
|
267
|
+
if (!ie)
|
|
268
268
|
throw new Error("Function called outside component initialization");
|
|
269
|
-
return
|
|
269
|
+
return ie;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
|
|
271
|
+
function sn(e) {
|
|
272
|
+
on().$$.on_mount.push(e);
|
|
273
273
|
}
|
|
274
|
-
const X = [],
|
|
274
|
+
const X = [], Ve = [];
|
|
275
275
|
let W = [];
|
|
276
|
-
const
|
|
277
|
-
let
|
|
278
|
-
function
|
|
279
|
-
|
|
276
|
+
const _t = [], an = /* @__PURE__ */ Promise.resolve();
|
|
277
|
+
let Xe = !1;
|
|
278
|
+
function un() {
|
|
279
|
+
Xe || (Xe = !0, an.then(I));
|
|
280
280
|
}
|
|
281
281
|
function Ee(e) {
|
|
282
282
|
W.push(e);
|
|
283
283
|
}
|
|
284
|
-
const
|
|
284
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
285
285
|
let k = 0;
|
|
286
286
|
function I() {
|
|
287
287
|
if (k !== 0)
|
|
288
288
|
return;
|
|
289
|
-
const e =
|
|
289
|
+
const e = ie;
|
|
290
290
|
do {
|
|
291
291
|
try {
|
|
292
292
|
for (; k < X.length; ) {
|
|
293
293
|
const t = X[k];
|
|
294
|
-
k++,
|
|
294
|
+
k++, ne(t), ln(t.$$);
|
|
295
295
|
}
|
|
296
296
|
} catch (t) {
|
|
297
297
|
throw X.length = 0, k = 0, t;
|
|
298
298
|
}
|
|
299
|
-
for (
|
|
300
|
-
|
|
299
|
+
for (ne(null), X.length = 0, k = 0; Ve.length; )
|
|
300
|
+
Ve.pop()();
|
|
301
301
|
for (let t = 0; t < W.length; t += 1) {
|
|
302
302
|
const r = W[t];
|
|
303
|
-
|
|
303
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
304
304
|
}
|
|
305
305
|
W.length = 0;
|
|
306
306
|
} while (X.length);
|
|
307
|
-
for (;
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
for (; _t.length; )
|
|
308
|
+
_t.pop()();
|
|
309
|
+
Xe = !1, Ne.clear(), ne(e);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function ln(e) {
|
|
312
312
|
if (e.fragment !== null) {
|
|
313
313
|
e.update(), U(e.before_update);
|
|
314
314
|
const t = e.dirty;
|
|
315
315
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function hn(e) {
|
|
319
319
|
const t = [], r = [];
|
|
320
320
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
321
321
|
}
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
return
|
|
325
|
-
|
|
326
|
-
})),
|
|
322
|
+
let te;
|
|
323
|
+
function cn() {
|
|
324
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
325
|
+
te = null;
|
|
326
|
+
})), te;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
329
|
-
e.dispatchEvent(
|
|
328
|
+
function Le(e, t, r) {
|
|
329
|
+
e.dispatchEvent(Yr(`${t ? "intro" : "outro"}${r}`));
|
|
330
330
|
}
|
|
331
|
-
const
|
|
332
|
-
let
|
|
333
|
-
function
|
|
334
|
-
|
|
331
|
+
const de = /* @__PURE__ */ new Set();
|
|
332
|
+
let $;
|
|
333
|
+
function Do() {
|
|
334
|
+
$ = {
|
|
335
335
|
r: 0,
|
|
336
336
|
c: [],
|
|
337
|
-
p:
|
|
337
|
+
p: $
|
|
338
338
|
// parent group
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
|
|
341
|
+
function Fo() {
|
|
342
|
+
$.r || U($.c), $ = $.p;
|
|
343
343
|
}
|
|
344
|
-
function
|
|
345
|
-
e && e.i && (
|
|
344
|
+
function Kt(e, t) {
|
|
345
|
+
e && e.i && (de.delete(e), e.i(t));
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function fn(e, t, r, n) {
|
|
348
348
|
if (e && e.o) {
|
|
349
|
-
if (
|
|
349
|
+
if (de.has(e))
|
|
350
350
|
return;
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
de.add(e), $.c.push(() => {
|
|
352
|
+
de.delete(e), n && (r && e.d(1), n());
|
|
353
353
|
}), e.o(t);
|
|
354
354
|
} else
|
|
355
355
|
n && n();
|
|
356
356
|
}
|
|
357
|
-
const
|
|
358
|
-
function
|
|
357
|
+
const mn = { duration: 0 };
|
|
358
|
+
function jo(e, t, r, n) {
|
|
359
359
|
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
|
|
360
360
|
function c() {
|
|
361
|
-
u &&
|
|
361
|
+
u && rn(e, u);
|
|
362
362
|
}
|
|
363
|
-
function f(m,
|
|
363
|
+
function f(m, d) {
|
|
364
364
|
const g = (
|
|
365
365
|
/** @type {Program['d']} */
|
|
366
366
|
m.b - s
|
|
367
367
|
);
|
|
368
|
-
return
|
|
368
|
+
return d *= Math.abs(g), {
|
|
369
369
|
a: s,
|
|
370
370
|
b: m.b,
|
|
371
371
|
d: g,
|
|
372
|
-
duration:
|
|
372
|
+
duration: d,
|
|
373
373
|
start: m.start,
|
|
374
|
-
end: m.start +
|
|
374
|
+
end: m.start + d,
|
|
375
375
|
group: m.group
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function p(m) {
|
|
379
379
|
const {
|
|
380
|
-
delay:
|
|
380
|
+
delay: d = 0,
|
|
381
381
|
duration: g = 300,
|
|
382
|
-
easing: A =
|
|
382
|
+
easing: A = Ur,
|
|
383
383
|
tick: T = N,
|
|
384
384
|
css: x
|
|
385
|
-
} = o ||
|
|
386
|
-
start:
|
|
385
|
+
} = o || mn, E = {
|
|
386
|
+
start: Wr() + d,
|
|
387
387
|
b: m
|
|
388
388
|
};
|
|
389
|
-
m || (
|
|
390
|
-
e.inert, e.inert = !0)), a || l ? l =
|
|
391
|
-
if (l && b > l.start && (a = f(l, g), l = null,
|
|
389
|
+
m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
390
|
+
e.inert, e.inert = !0)), a || l ? l = E : (x && (c(), u = vt(e, s, m, g, d, A, x)), m && T(0, 1), a = f(E, g), Ee(() => Le(e, m, "start")), Zr((b) => {
|
|
391
|
+
if (l && b > l.start && (a = f(l, g), l = null, Le(e, a.b, "start"), x && (c(), u = vt(
|
|
392
392
|
e,
|
|
393
393
|
s,
|
|
394
394
|
a.b,
|
|
@@ -398,7 +398,7 @@ function $o(e, t, r, n) {
|
|
|
398
398
|
o.css
|
|
399
399
|
))), a) {
|
|
400
400
|
if (b >= a.end)
|
|
401
|
-
T(s = a.b, 1 - s),
|
|
401
|
+
T(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
402
402
|
else if (b >= a.start) {
|
|
403
403
|
const B = b - a.start;
|
|
404
404
|
s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
|
|
@@ -409,35 +409,35 @@ function $o(e, t, r, n) {
|
|
|
409
409
|
}
|
|
410
410
|
return {
|
|
411
411
|
run(m) {
|
|
412
|
-
|
|
413
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
414
|
-
}) :
|
|
412
|
+
He(o) ? cn().then(() => {
|
|
413
|
+
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
414
|
+
}) : p(m);
|
|
415
415
|
},
|
|
416
416
|
end() {
|
|
417
417
|
c(), a = l = null;
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function ko(e) {
|
|
422
422
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function pn(e, t, r) {
|
|
425
425
|
const { fragment: n, after_update: i } = e.$$;
|
|
426
426
|
n && n.m(t, r), Ee(() => {
|
|
427
|
-
const o = e.$$.on_mount.map(
|
|
427
|
+
const o = e.$$.on_mount.map(zt).filter(He);
|
|
428
428
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
429
429
|
}), i.forEach(Ee);
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function dn(e, t) {
|
|
432
432
|
const r = e.$$;
|
|
433
|
-
r.fragment !== null && (
|
|
433
|
+
r.fragment !== null && (hn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
435
|
+
function bn(e, t) {
|
|
436
|
+
e.$$.dirty[0] === -1 && (X.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
const l =
|
|
440
|
-
|
|
438
|
+
function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
439
|
+
const l = ie;
|
|
440
|
+
ne(e);
|
|
441
441
|
const u = e.$$ = {
|
|
442
442
|
fragment: null,
|
|
443
443
|
ctx: [],
|
|
@@ -445,7 +445,7 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
445
445
|
props: o,
|
|
446
446
|
update: N,
|
|
447
447
|
not_equal: i,
|
|
448
|
-
bound:
|
|
448
|
+
bound: gt(),
|
|
449
449
|
// lifecycle
|
|
450
450
|
on_mount: [],
|
|
451
451
|
on_destroy: [],
|
|
@@ -454,28 +454,28 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
454
454
|
after_update: [],
|
|
455
455
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
456
456
|
// everything else
|
|
457
|
-
callbacks:
|
|
457
|
+
callbacks: gt(),
|
|
458
458
|
dirty: a,
|
|
459
459
|
skip_bound: !1,
|
|
460
460
|
root: t.target || l.$$.root
|
|
461
461
|
};
|
|
462
462
|
s && s(u.root);
|
|
463
463
|
let h = !1;
|
|
464
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
465
|
-
const m =
|
|
466
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
464
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
465
|
+
const m = p.length ? p[0] : f;
|
|
466
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && bn(e, c)), f;
|
|
467
467
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
468
468
|
if (t.hydrate) {
|
|
469
|
-
const c =
|
|
469
|
+
const c = qr(t.target);
|
|
470
470
|
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
471
471
|
} else
|
|
472
472
|
u.fragment && u.fragment.c();
|
|
473
|
-
t.intro &&
|
|
473
|
+
t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor), I();
|
|
474
474
|
}
|
|
475
|
-
|
|
475
|
+
ne(l);
|
|
476
476
|
}
|
|
477
|
-
let
|
|
478
|
-
typeof HTMLElement == "function" && (
|
|
477
|
+
let er;
|
|
478
|
+
typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
479
479
|
constructor(t, r, n) {
|
|
480
480
|
super();
|
|
481
481
|
/** The Svelte component constructor */
|
|
@@ -512,7 +512,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
connectedCallback() {
|
|
515
|
-
return
|
|
515
|
+
return bt(this, null, function* () {
|
|
516
516
|
if (this.$$cn = !0, !this.$$c) {
|
|
517
517
|
let t = function(o) {
|
|
518
518
|
return () => {
|
|
@@ -526,7 +526,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
526
526
|
* @param {HTMLElement} [anchor]
|
|
527
527
|
*/
|
|
528
528
|
m: function(u, h) {
|
|
529
|
-
|
|
529
|
+
ae(u, s, h);
|
|
530
530
|
},
|
|
531
531
|
d: function(u) {
|
|
532
532
|
u && D(s);
|
|
@@ -536,7 +536,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
536
536
|
};
|
|
537
537
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
538
538
|
return;
|
|
539
|
-
const r = {}, n =
|
|
539
|
+
const r = {}, n = Kr(this);
|
|
540
540
|
for (const o of this.$$s)
|
|
541
541
|
o in n && (r[o] = [t(o)]);
|
|
542
542
|
for (const o of this.attributes) {
|
|
@@ -547,7 +547,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
|
547
547
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
548
548
|
this.$$c = new this.$$ctor({
|
|
549
549
|
target: this.shadowRoot || this,
|
|
550
|
-
props:
|
|
550
|
+
props: dt(pt({}, this.$$d), {
|
|
551
551
|
$$slots: r,
|
|
552
552
|
$$scope: {
|
|
553
553
|
ctx: []
|
|
@@ -625,8 +625,8 @@ function be(e, t, r, n) {
|
|
|
625
625
|
return t;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
let s = class extends
|
|
628
|
+
function yn(e, t, r, n, i, o) {
|
|
629
|
+
let s = class extends er {
|
|
630
630
|
constructor() {
|
|
631
631
|
super(e, r, i), this.$$p_d = t;
|
|
632
632
|
}
|
|
@@ -656,7 +656,7 @@ function mn(e, t, r, n, i, o) {
|
|
|
656
656
|
}), e.element = /** @type {any} */
|
|
657
657
|
s, s;
|
|
658
658
|
}
|
|
659
|
-
class
|
|
659
|
+
class vn {
|
|
660
660
|
constructor() {
|
|
661
661
|
/**
|
|
662
662
|
* ### PRIVATE API
|
|
@@ -677,7 +677,7 @@ class dn {
|
|
|
677
677
|
}
|
|
678
678
|
/** @returns {void} */
|
|
679
679
|
$destroy() {
|
|
680
|
-
|
|
680
|
+
dn(this, 1), this.$destroy = N;
|
|
681
681
|
}
|
|
682
682
|
/**
|
|
683
683
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -686,7 +686,7 @@ class dn {
|
|
|
686
686
|
* @returns {() => void}
|
|
687
687
|
*/
|
|
688
688
|
$on(t, r) {
|
|
689
|
-
if (!
|
|
689
|
+
if (!He(r))
|
|
690
690
|
return N;
|
|
691
691
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
692
692
|
return n.push(r), () => {
|
|
@@ -699,11 +699,11 @@ class dn {
|
|
|
699
699
|
* @returns {void}
|
|
700
700
|
*/
|
|
701
701
|
$set(t) {
|
|
702
|
-
this.$$set && !
|
|
702
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
const
|
|
706
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
705
|
+
const _n = "4";
|
|
706
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
|
|
707
707
|
/*! *****************************************************************************
|
|
708
708
|
Copyright (c) Microsoft Corporation.
|
|
709
709
|
|
|
@@ -718,43 +718,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
718
718
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
719
719
|
PERFORMANCE OF THIS SOFTWARE.
|
|
720
720
|
***************************************************************************** */
|
|
721
|
-
var
|
|
722
|
-
return
|
|
721
|
+
var ze = function(e, t) {
|
|
722
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
723
723
|
r.__proto__ = n;
|
|
724
724
|
} || function(r, n) {
|
|
725
725
|
for (var i in n)
|
|
726
726
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
727
|
-
},
|
|
727
|
+
}, ze(e, t);
|
|
728
728
|
};
|
|
729
|
-
function
|
|
729
|
+
function le(e, t) {
|
|
730
730
|
if (typeof t != "function" && t !== null)
|
|
731
731
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
732
|
-
|
|
732
|
+
ze(e, t);
|
|
733
733
|
function r() {
|
|
734
734
|
this.constructor = e;
|
|
735
735
|
}
|
|
736
736
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
737
737
|
}
|
|
738
|
-
|
|
739
|
-
return E = Object.assign || function(t) {
|
|
740
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
741
|
-
r = arguments[n];
|
|
742
|
-
for (var o in r)
|
|
743
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
744
|
-
}
|
|
745
|
-
return t;
|
|
746
|
-
}, E.apply(this, arguments);
|
|
747
|
-
};
|
|
748
|
-
function bn(e, t) {
|
|
749
|
-
var r = {};
|
|
750
|
-
for (var n in e)
|
|
751
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
752
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
753
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
754
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
755
|
-
return r;
|
|
756
|
-
}
|
|
757
|
-
function Ve(e) {
|
|
738
|
+
function We(e) {
|
|
758
739
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
759
740
|
if (r)
|
|
760
741
|
return r.call(e);
|
|
@@ -766,7 +747,7 @@ function Ve(e) {
|
|
|
766
747
|
};
|
|
767
748
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
768
749
|
}
|
|
769
|
-
function
|
|
750
|
+
function Ze(e, t) {
|
|
770
751
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
771
752
|
if (!r)
|
|
772
753
|
return e;
|
|
@@ -786,8 +767,8 @@ function Xe(e, t) {
|
|
|
786
767
|
}
|
|
787
768
|
return o;
|
|
788
769
|
}
|
|
789
|
-
function
|
|
790
|
-
if (
|
|
770
|
+
function Qe(e, t, r) {
|
|
771
|
+
if (arguments.length === 2)
|
|
791
772
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
792
773
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
793
774
|
return e.concat(o || t);
|
|
@@ -795,13 +776,13 @@ function Z(e, t, r) {
|
|
|
795
776
|
function R(e) {
|
|
796
777
|
return typeof e == "function";
|
|
797
778
|
}
|
|
798
|
-
function
|
|
779
|
+
function tr(e) {
|
|
799
780
|
var t = function(n) {
|
|
800
781
|
Error.call(n), n.stack = new Error().stack;
|
|
801
782
|
}, r = e(t);
|
|
802
783
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
803
784
|
}
|
|
804
|
-
var
|
|
785
|
+
var $e = tr(function(e) {
|
|
805
786
|
return function(r) {
|
|
806
787
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
807
788
|
` + r.map(function(n, i) {
|
|
@@ -810,13 +791,13 @@ var Ne = Jt(function(e) {
|
|
|
810
791
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
811
792
|
};
|
|
812
793
|
});
|
|
813
|
-
function
|
|
794
|
+
function Je(e, t) {
|
|
814
795
|
if (e) {
|
|
815
796
|
var r = e.indexOf(t);
|
|
816
797
|
0 <= r && e.splice(r, 1);
|
|
817
798
|
}
|
|
818
799
|
}
|
|
819
|
-
var
|
|
800
|
+
var Ae = function() {
|
|
820
801
|
function e(t) {
|
|
821
802
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
822
803
|
}
|
|
@@ -828,12 +809,12 @@ var He = function() {
|
|
|
828
809
|
if (s)
|
|
829
810
|
if (this._parentage = null, Array.isArray(s))
|
|
830
811
|
try {
|
|
831
|
-
for (var a =
|
|
812
|
+
for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
|
|
832
813
|
var u = l.value;
|
|
833
814
|
u.remove(this);
|
|
834
815
|
}
|
|
835
|
-
} catch (
|
|
836
|
-
t = { error:
|
|
816
|
+
} catch (d) {
|
|
817
|
+
t = { error: d };
|
|
837
818
|
} finally {
|
|
838
819
|
try {
|
|
839
820
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -848,26 +829,26 @@ var He = function() {
|
|
|
848
829
|
if (R(h))
|
|
849
830
|
try {
|
|
850
831
|
h();
|
|
851
|
-
} catch (
|
|
852
|
-
o =
|
|
832
|
+
} catch (d) {
|
|
833
|
+
o = d instanceof $e ? d.errors : [d];
|
|
853
834
|
}
|
|
854
835
|
var c = this._finalizers;
|
|
855
836
|
if (c) {
|
|
856
837
|
this._finalizers = null;
|
|
857
838
|
try {
|
|
858
|
-
for (var f =
|
|
859
|
-
var m =
|
|
839
|
+
for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
|
|
840
|
+
var m = p.value;
|
|
860
841
|
try {
|
|
861
|
-
|
|
862
|
-
} catch (
|
|
863
|
-
o = o != null ? o : [],
|
|
842
|
+
xt(m);
|
|
843
|
+
} catch (d) {
|
|
844
|
+
o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
|
|
864
845
|
}
|
|
865
846
|
}
|
|
866
|
-
} catch (
|
|
867
|
-
n = { error:
|
|
847
|
+
} catch (d) {
|
|
848
|
+
n = { error: d };
|
|
868
849
|
} finally {
|
|
869
850
|
try {
|
|
870
|
-
|
|
851
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
871
852
|
} finally {
|
|
872
853
|
if (n)
|
|
873
854
|
throw n.error;
|
|
@@ -875,13 +856,13 @@ var He = function() {
|
|
|
875
856
|
}
|
|
876
857
|
}
|
|
877
858
|
if (o)
|
|
878
|
-
throw new
|
|
859
|
+
throw new $e(o);
|
|
879
860
|
}
|
|
880
861
|
}, e.prototype.add = function(t) {
|
|
881
862
|
var r;
|
|
882
863
|
if (t && t !== this)
|
|
883
864
|
if (this.closed)
|
|
884
|
-
|
|
865
|
+
xt(t);
|
|
885
866
|
else {
|
|
886
867
|
if (t instanceof e) {
|
|
887
868
|
if (t.closed || t._hasParent(this))
|
|
@@ -898,52 +879,52 @@ var He = function() {
|
|
|
898
879
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
899
880
|
}, e.prototype._removeParent = function(t) {
|
|
900
881
|
var r = this._parentage;
|
|
901
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
882
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
902
883
|
}, e.prototype.remove = function(t) {
|
|
903
884
|
var r = this._finalizers;
|
|
904
|
-
r &&
|
|
885
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
905
886
|
}, e.EMPTY = function() {
|
|
906
887
|
var t = new e();
|
|
907
888
|
return t.closed = !0, t;
|
|
908
889
|
}(), e;
|
|
909
|
-
}(),
|
|
910
|
-
function
|
|
911
|
-
return e instanceof
|
|
890
|
+
}(), rr = Ae.EMPTY;
|
|
891
|
+
function nr(e) {
|
|
892
|
+
return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
912
893
|
}
|
|
913
|
-
function
|
|
894
|
+
function xt(e) {
|
|
914
895
|
R(e) ? e() : e.unsubscribe();
|
|
915
896
|
}
|
|
916
|
-
var
|
|
897
|
+
var xn = {
|
|
917
898
|
Promise: void 0
|
|
918
|
-
},
|
|
899
|
+
}, En = {
|
|
919
900
|
setTimeout: function(e, t) {
|
|
920
901
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
921
902
|
r[n - 2] = arguments[n];
|
|
922
|
-
return setTimeout.apply(void 0,
|
|
903
|
+
return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
|
|
923
904
|
},
|
|
924
905
|
clearTimeout: function(e) {
|
|
925
906
|
return clearTimeout(e);
|
|
926
907
|
},
|
|
927
908
|
delegate: void 0
|
|
928
909
|
};
|
|
929
|
-
function
|
|
930
|
-
|
|
910
|
+
function wn(e) {
|
|
911
|
+
En.setTimeout(function() {
|
|
931
912
|
throw e;
|
|
932
913
|
});
|
|
933
914
|
}
|
|
934
|
-
function
|
|
915
|
+
function Et() {
|
|
935
916
|
}
|
|
936
917
|
function ge(e) {
|
|
937
918
|
e();
|
|
938
919
|
}
|
|
939
|
-
var
|
|
940
|
-
|
|
920
|
+
var ir = function(e) {
|
|
921
|
+
le(t, e);
|
|
941
922
|
function t(r) {
|
|
942
923
|
var n = e.call(this) || this;
|
|
943
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
924
|
+
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = Hn, n;
|
|
944
925
|
}
|
|
945
926
|
return t.create = function(r, n, i) {
|
|
946
|
-
return new
|
|
927
|
+
return new qe(r, n, i);
|
|
947
928
|
}, t.prototype.next = function(r) {
|
|
948
929
|
this.isStopped || this._next(r);
|
|
949
930
|
}, t.prototype.error = function(r) {
|
|
@@ -967,7 +948,7 @@ var Kt = function(e) {
|
|
|
967
948
|
this.unsubscribe();
|
|
968
949
|
}
|
|
969
950
|
}, t;
|
|
970
|
-
}(
|
|
951
|
+
}(Ae), Sn = function() {
|
|
971
952
|
function e(t) {
|
|
972
953
|
this.partialObserver = t;
|
|
973
954
|
}
|
|
@@ -998,43 +979,43 @@ var Kt = function(e) {
|
|
|
998
979
|
me(r);
|
|
999
980
|
}
|
|
1000
981
|
}, e;
|
|
1001
|
-
}(),
|
|
1002
|
-
|
|
982
|
+
}(), qe = function(e) {
|
|
983
|
+
le(t, e);
|
|
1003
984
|
function t(r, n, i) {
|
|
1004
985
|
var o = e.call(this) || this, s;
|
|
1005
986
|
return R(r) || !r ? s = {
|
|
1006
987
|
next: r != null ? r : void 0,
|
|
1007
988
|
error: n != null ? n : void 0,
|
|
1008
989
|
complete: i != null ? i : void 0
|
|
1009
|
-
} : s = r, o.destination = new
|
|
990
|
+
} : s = r, o.destination = new Sn(s), o;
|
|
1010
991
|
}
|
|
1011
992
|
return t;
|
|
1012
|
-
}(
|
|
993
|
+
}(ir);
|
|
1013
994
|
function me(e) {
|
|
1014
|
-
|
|
995
|
+
wn(e);
|
|
1015
996
|
}
|
|
1016
|
-
function
|
|
997
|
+
function Tn(e) {
|
|
1017
998
|
throw e;
|
|
1018
999
|
}
|
|
1019
|
-
var
|
|
1000
|
+
var Hn = {
|
|
1020
1001
|
closed: !0,
|
|
1021
|
-
next:
|
|
1022
|
-
error:
|
|
1023
|
-
complete:
|
|
1024
|
-
},
|
|
1002
|
+
next: Et,
|
|
1003
|
+
error: Tn,
|
|
1004
|
+
complete: Et
|
|
1005
|
+
}, An = function() {
|
|
1025
1006
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1026
1007
|
}();
|
|
1027
|
-
function
|
|
1008
|
+
function Bn(e) {
|
|
1028
1009
|
return e;
|
|
1029
1010
|
}
|
|
1030
|
-
function
|
|
1031
|
-
return e.length === 0 ?
|
|
1011
|
+
function Cn(e) {
|
|
1012
|
+
return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
|
|
1032
1013
|
return e.reduce(function(n, i) {
|
|
1033
1014
|
return i(n);
|
|
1034
1015
|
}, r);
|
|
1035
1016
|
};
|
|
1036
1017
|
}
|
|
1037
|
-
var
|
|
1018
|
+
var wt = function() {
|
|
1038
1019
|
function e(t) {
|
|
1039
1020
|
t && (this._subscribe = t);
|
|
1040
1021
|
}
|
|
@@ -1042,7 +1023,7 @@ var yt = function() {
|
|
|
1042
1023
|
var r = new e();
|
|
1043
1024
|
return r.source = this, r.operator = t, r;
|
|
1044
1025
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1045
|
-
var i = this, o =
|
|
1026
|
+
var i = this, o = On(t) ? t : new qe(t, r, n);
|
|
1046
1027
|
return ge(function() {
|
|
1047
1028
|
var s = i, a = s.operator, l = s.source;
|
|
1048
1029
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1055,8 +1036,8 @@ var yt = function() {
|
|
|
1055
1036
|
}
|
|
1056
1037
|
}, e.prototype.forEach = function(t, r) {
|
|
1057
1038
|
var n = this;
|
|
1058
|
-
return r =
|
|
1059
|
-
var s = new
|
|
1039
|
+
return r = St(r), new r(function(i, o) {
|
|
1040
|
+
var s = new qe({
|
|
1060
1041
|
next: function(a) {
|
|
1061
1042
|
try {
|
|
1062
1043
|
t(a);
|
|
@@ -1072,15 +1053,15 @@ var yt = function() {
|
|
|
1072
1053
|
}, e.prototype._subscribe = function(t) {
|
|
1073
1054
|
var r;
|
|
1074
1055
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1075
|
-
}, e.prototype[
|
|
1056
|
+
}, e.prototype[An] = function() {
|
|
1076
1057
|
return this;
|
|
1077
1058
|
}, e.prototype.pipe = function() {
|
|
1078
1059
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1079
1060
|
t[r] = arguments[r];
|
|
1080
|
-
return
|
|
1061
|
+
return Cn(t)(this);
|
|
1081
1062
|
}, e.prototype.toPromise = function(t) {
|
|
1082
1063
|
var r = this;
|
|
1083
|
-
return t =
|
|
1064
|
+
return t = St(t), new t(function(n, i) {
|
|
1084
1065
|
var o;
|
|
1085
1066
|
r.subscribe(function(s) {
|
|
1086
1067
|
return o = s;
|
|
@@ -1094,32 +1075,32 @@ var yt = function() {
|
|
|
1094
1075
|
return new e(t);
|
|
1095
1076
|
}, e;
|
|
1096
1077
|
}();
|
|
1097
|
-
function
|
|
1078
|
+
function St(e) {
|
|
1098
1079
|
var t;
|
|
1099
|
-
return (t = e != null ? e :
|
|
1080
|
+
return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1100
1081
|
}
|
|
1101
|
-
function
|
|
1082
|
+
function Pn(e) {
|
|
1102
1083
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1103
1084
|
}
|
|
1104
|
-
function
|
|
1105
|
-
return e && e instanceof
|
|
1085
|
+
function On(e) {
|
|
1086
|
+
return e && e instanceof ir || Pn(e) && nr(e);
|
|
1106
1087
|
}
|
|
1107
|
-
var
|
|
1088
|
+
var In = tr(function(e) {
|
|
1108
1089
|
return function() {
|
|
1109
1090
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1110
1091
|
};
|
|
1111
|
-
}),
|
|
1112
|
-
|
|
1092
|
+
}), or = function(e) {
|
|
1093
|
+
le(t, e);
|
|
1113
1094
|
function t() {
|
|
1114
1095
|
var r = e.call(this) || this;
|
|
1115
1096
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1116
1097
|
}
|
|
1117
1098
|
return t.prototype.lift = function(r) {
|
|
1118
|
-
var n = new
|
|
1099
|
+
var n = new Tt(this, this);
|
|
1119
1100
|
return n.operator = r, n;
|
|
1120
1101
|
}, t.prototype._throwIfClosed = function() {
|
|
1121
1102
|
if (this.closed)
|
|
1122
|
-
throw new
|
|
1103
|
+
throw new In();
|
|
1123
1104
|
}, t.prototype.next = function(r) {
|
|
1124
1105
|
var n = this;
|
|
1125
1106
|
ge(function() {
|
|
@@ -1127,7 +1108,7 @@ var Bn = Jt(function(e) {
|
|
|
1127
1108
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1128
1109
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1129
1110
|
try {
|
|
1130
|
-
for (var s =
|
|
1111
|
+
for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1131
1112
|
var l = a.value;
|
|
1132
1113
|
l.next(r);
|
|
1133
1114
|
}
|
|
@@ -1176,20 +1157,20 @@ var Bn = Jt(function(e) {
|
|
|
1176
1157
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1177
1158
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1178
1159
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1179
|
-
return o || s ?
|
|
1180
|
-
n.currentObservers = null,
|
|
1160
|
+
return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
|
1161
|
+
n.currentObservers = null, Je(a, r);
|
|
1181
1162
|
}));
|
|
1182
1163
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1183
1164
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1184
1165
|
i ? r.error(o) : s && r.complete();
|
|
1185
1166
|
}, t.prototype.asObservable = function() {
|
|
1186
|
-
var r = new
|
|
1167
|
+
var r = new wt();
|
|
1187
1168
|
return r.source = this, r;
|
|
1188
1169
|
}, t.create = function(r, n) {
|
|
1189
|
-
return new
|
|
1170
|
+
return new Tt(r, n);
|
|
1190
1171
|
}, t;
|
|
1191
|
-
}(
|
|
1192
|
-
|
|
1172
|
+
}(wt), Tt = function(e) {
|
|
1173
|
+
le(t, e);
|
|
1193
1174
|
function t(r, n) {
|
|
1194
1175
|
var i = e.call(this) || this;
|
|
1195
1176
|
return i.destination = r, i.source = n, i;
|
|
@@ -1205,17 +1186,17 @@ var Bn = Jt(function(e) {
|
|
|
1205
1186
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1206
1187
|
}, t.prototype._subscribe = function(r) {
|
|
1207
1188
|
var n, i;
|
|
1208
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1189
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rr;
|
|
1209
1190
|
}, t;
|
|
1210
|
-
}(
|
|
1191
|
+
}(or), sr = {
|
|
1211
1192
|
now: function() {
|
|
1212
|
-
return (
|
|
1193
|
+
return (sr.delegate || Date).now();
|
|
1213
1194
|
},
|
|
1214
1195
|
delegate: void 0
|
|
1215
|
-
},
|
|
1216
|
-
|
|
1196
|
+
}, Mn = function(e) {
|
|
1197
|
+
le(t, e);
|
|
1217
1198
|
function t(r, n, i) {
|
|
1218
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1199
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
1219
1200
|
var o = e.call(this) || this;
|
|
1220
1201
|
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;
|
|
1221
1202
|
}
|
|
@@ -1235,24 +1216,24 @@ var Bn = Jt(function(e) {
|
|
|
1235
1216
|
u && o.splice(0, u + 1);
|
|
1236
1217
|
}
|
|
1237
1218
|
}, t;
|
|
1238
|
-
}(
|
|
1239
|
-
const
|
|
1240
|
-
if (
|
|
1241
|
-
const r = new
|
|
1242
|
-
|
|
1219
|
+
}(or);
|
|
1220
|
+
const Ht = [], At = {}, Nn = (e, t = 0) => {
|
|
1221
|
+
if (Ht.indexOf(e) == -1) {
|
|
1222
|
+
const r = new Mn(t);
|
|
1223
|
+
At[e] = r, Ht.push(e);
|
|
1243
1224
|
}
|
|
1244
|
-
return
|
|
1225
|
+
return At[e];
|
|
1245
1226
|
}, V = [];
|
|
1246
|
-
function
|
|
1227
|
+
function Ln(e, t) {
|
|
1247
1228
|
return {
|
|
1248
|
-
subscribe:
|
|
1229
|
+
subscribe: Be(e, t).subscribe
|
|
1249
1230
|
};
|
|
1250
1231
|
}
|
|
1251
|
-
function
|
|
1232
|
+
function Be(e, t = N) {
|
|
1252
1233
|
let r;
|
|
1253
1234
|
const n = /* @__PURE__ */ new Set();
|
|
1254
1235
|
function i(a) {
|
|
1255
|
-
if (
|
|
1236
|
+
if (Wt(e, a) && (e = a, r)) {
|
|
1256
1237
|
const l = !V.length;
|
|
1257
1238
|
for (const u of n)
|
|
1258
1239
|
u[1](), V.push(u, e);
|
|
@@ -1274,12 +1255,12 @@ function Ae(e, t = N) {
|
|
|
1274
1255
|
}
|
|
1275
1256
|
return { set: i, update: o, subscribe: s };
|
|
1276
1257
|
}
|
|
1277
|
-
function
|
|
1258
|
+
function Y(e, t, r) {
|
|
1278
1259
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1279
1260
|
if (!i.every(Boolean))
|
|
1280
1261
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1281
1262
|
const o = t.length < 2;
|
|
1282
|
-
return
|
|
1263
|
+
return Ln(r, (s, a) => {
|
|
1283
1264
|
let l = !1;
|
|
1284
1265
|
const u = [];
|
|
1285
1266
|
let h = 0, c = N;
|
|
@@ -1288,129 +1269,171 @@ function K(e, t, r) {
|
|
|
1288
1269
|
return;
|
|
1289
1270
|
c();
|
|
1290
1271
|
const m = t(n ? u[0] : u, s, a);
|
|
1291
|
-
o ? s(m) : c =
|
|
1292
|
-
},
|
|
1293
|
-
(m,
|
|
1272
|
+
o ? s(m) : c = He(m) ? m : N;
|
|
1273
|
+
}, p = i.map(
|
|
1274
|
+
(m, d) => Zt(
|
|
1294
1275
|
m,
|
|
1295
1276
|
(g) => {
|
|
1296
|
-
u[
|
|
1277
|
+
u[d] = g, h &= ~(1 << d), l && f();
|
|
1297
1278
|
},
|
|
1298
1279
|
() => {
|
|
1299
|
-
h |= 1 <<
|
|
1280
|
+
h |= 1 << d;
|
|
1300
1281
|
}
|
|
1301
1282
|
)
|
|
1302
1283
|
);
|
|
1303
1284
|
return l = !0, f(), function() {
|
|
1304
|
-
U(
|
|
1285
|
+
U(p), c(), l = !1;
|
|
1305
1286
|
};
|
|
1306
1287
|
});
|
|
1307
1288
|
}
|
|
1308
|
-
var
|
|
1309
|
-
function
|
|
1289
|
+
var Vo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1290
|
+
function $n(e) {
|
|
1310
1291
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1311
1292
|
}
|
|
1312
|
-
var
|
|
1313
|
-
return
|
|
1293
|
+
var Rn = function(t) {
|
|
1294
|
+
return Gn(t) && !Un(t);
|
|
1314
1295
|
};
|
|
1315
|
-
function
|
|
1296
|
+
function Gn(e) {
|
|
1316
1297
|
return !!e && typeof e == "object";
|
|
1317
1298
|
}
|
|
1318
|
-
function
|
|
1299
|
+
function Un(e) {
|
|
1319
1300
|
var t = Object.prototype.toString.call(e);
|
|
1320
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1301
|
+
return t === "[object RegExp]" || t === "[object Date]" || jn(e);
|
|
1321
1302
|
}
|
|
1322
|
-
var
|
|
1323
|
-
function
|
|
1324
|
-
return e.$$typeof ===
|
|
1303
|
+
var Dn = typeof Symbol == "function" && Symbol.for, Fn = Dn ? Symbol.for("react.element") : 60103;
|
|
1304
|
+
function jn(e) {
|
|
1305
|
+
return e.$$typeof === Fn;
|
|
1325
1306
|
}
|
|
1326
|
-
function
|
|
1307
|
+
function kn(e) {
|
|
1327
1308
|
return Array.isArray(e) ? [] : {};
|
|
1328
1309
|
}
|
|
1329
|
-
function
|
|
1330
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1310
|
+
function oe(e, t) {
|
|
1311
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(kn(e), e, t) : e;
|
|
1331
1312
|
}
|
|
1332
|
-
function
|
|
1313
|
+
function Vn(e, t, r) {
|
|
1333
1314
|
return e.concat(t).map(function(n) {
|
|
1334
|
-
return
|
|
1315
|
+
return oe(n, r);
|
|
1335
1316
|
});
|
|
1336
1317
|
}
|
|
1337
|
-
function
|
|
1318
|
+
function Xn(e, t) {
|
|
1338
1319
|
if (!t.customMerge)
|
|
1339
|
-
return
|
|
1320
|
+
return Z;
|
|
1340
1321
|
var r = t.customMerge(e);
|
|
1341
|
-
return typeof r == "function" ? r :
|
|
1322
|
+
return typeof r == "function" ? r : Z;
|
|
1342
1323
|
}
|
|
1343
|
-
function
|
|
1324
|
+
function zn(e) {
|
|
1344
1325
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1345
1326
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1346
1327
|
}) : [];
|
|
1347
1328
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return Object.keys(e).concat(
|
|
1329
|
+
function Bt(e) {
|
|
1330
|
+
return Object.keys(e).concat(zn(e));
|
|
1350
1331
|
}
|
|
1351
|
-
function
|
|
1332
|
+
function ar(e, t) {
|
|
1352
1333
|
try {
|
|
1353
1334
|
return t in e;
|
|
1354
1335
|
} catch (r) {
|
|
1355
1336
|
return !1;
|
|
1356
1337
|
}
|
|
1357
1338
|
}
|
|
1358
|
-
function
|
|
1359
|
-
return
|
|
1339
|
+
function Wn(e, t) {
|
|
1340
|
+
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1360
1341
|
}
|
|
1361
|
-
function
|
|
1342
|
+
function Zn(e, t, r) {
|
|
1362
1343
|
var n = {};
|
|
1363
|
-
return r.isMergeableObject(e) &&
|
|
1364
|
-
n[i] =
|
|
1365
|
-
}),
|
|
1366
|
-
|
|
1344
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1345
|
+
n[i] = oe(e[i], r);
|
|
1346
|
+
}), Bt(t).forEach(function(i) {
|
|
1347
|
+
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1367
1348
|
}), n;
|
|
1368
1349
|
}
|
|
1369
|
-
function
|
|
1370
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1350
|
+
function Z(e, t, r) {
|
|
1351
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1371
1352
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1372
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1353
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : oe(t, r);
|
|
1373
1354
|
}
|
|
1374
|
-
|
|
1355
|
+
Z.all = function(t, r) {
|
|
1375
1356
|
if (!Array.isArray(t))
|
|
1376
1357
|
throw new Error("first argument should be an array");
|
|
1377
1358
|
return t.reduce(function(n, i) {
|
|
1378
|
-
return
|
|
1359
|
+
return Z(n, i, r);
|
|
1379
1360
|
}, {});
|
|
1380
1361
|
};
|
|
1381
|
-
var
|
|
1382
|
-
const
|
|
1383
|
-
function
|
|
1384
|
-
|
|
1362
|
+
var Qn = Z, Jn = Qn;
|
|
1363
|
+
const qn = /* @__PURE__ */ $n(Jn);
|
|
1364
|
+
var Ye = function(e, t) {
|
|
1365
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1366
|
+
r.__proto__ = n;
|
|
1367
|
+
} || function(r, n) {
|
|
1368
|
+
for (var i in n)
|
|
1369
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1370
|
+
}, Ye(e, t);
|
|
1371
|
+
};
|
|
1372
|
+
function Ce(e, t) {
|
|
1373
|
+
if (typeof t != "function" && t !== null)
|
|
1374
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1375
|
+
Ye(e, t);
|
|
1376
|
+
function r() {
|
|
1377
|
+
this.constructor = e;
|
|
1378
|
+
}
|
|
1379
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1380
|
+
}
|
|
1381
|
+
var L = function() {
|
|
1382
|
+
return L = Object.assign || function(t) {
|
|
1383
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1384
|
+
r = arguments[n];
|
|
1385
|
+
for (var o in r)
|
|
1386
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1387
|
+
}
|
|
1388
|
+
return t;
|
|
1389
|
+
}, L.apply(this, arguments);
|
|
1390
|
+
};
|
|
1391
|
+
function Yn(e, t) {
|
|
1392
|
+
var r = {};
|
|
1393
|
+
for (var n in e)
|
|
1394
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1395
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1396
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1397
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1398
|
+
return r;
|
|
1399
|
+
}
|
|
1400
|
+
function Re(e, t, r) {
|
|
1401
|
+
if (r || arguments.length === 2)
|
|
1402
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1403
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1404
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1405
|
+
}
|
|
1406
|
+
function Ge(e, t) {
|
|
1407
|
+
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1385
1408
|
return i(e, {
|
|
1386
1409
|
cache: r,
|
|
1387
1410
|
serializer: n
|
|
1388
1411
|
});
|
|
1389
1412
|
}
|
|
1390
|
-
function
|
|
1413
|
+
function Kn(e) {
|
|
1391
1414
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1392
1415
|
}
|
|
1393
|
-
function
|
|
1394
|
-
var i =
|
|
1416
|
+
function ei(e, t, r, n) {
|
|
1417
|
+
var i = Kn(n) ? n : r(n), o = t.get(i);
|
|
1395
1418
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1396
1419
|
}
|
|
1397
|
-
function
|
|
1420
|
+
function ur(e, t, r) {
|
|
1398
1421
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1399
1422
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1400
1423
|
}
|
|
1401
|
-
function
|
|
1424
|
+
function lr(e, t, r, n, i) {
|
|
1402
1425
|
return r.bind(t, e, n, i);
|
|
1403
1426
|
}
|
|
1404
|
-
function
|
|
1405
|
-
var r = e.length === 1 ?
|
|
1406
|
-
return
|
|
1427
|
+
function ti(e, t) {
|
|
1428
|
+
var r = e.length === 1 ? ei : ur;
|
|
1429
|
+
return lr(e, this, r, t.cache.create(), t.serializer);
|
|
1407
1430
|
}
|
|
1408
|
-
function
|
|
1409
|
-
return
|
|
1431
|
+
function ri(e, t) {
|
|
1432
|
+
return lr(e, this, ur, t.cache.create(), t.serializer);
|
|
1410
1433
|
}
|
|
1411
|
-
var
|
|
1434
|
+
var ni = function() {
|
|
1412
1435
|
return JSON.stringify(arguments);
|
|
1413
|
-
},
|
|
1436
|
+
}, ii = (
|
|
1414
1437
|
/** @class */
|
|
1415
1438
|
function() {
|
|
1416
1439
|
function e() {
|
|
@@ -1422,61 +1445,71 @@ var Yn = function() {
|
|
|
1422
1445
|
this.cache[t] = r;
|
|
1423
1446
|
}, e;
|
|
1424
1447
|
}()
|
|
1425
|
-
),
|
|
1448
|
+
), oi = {
|
|
1426
1449
|
create: function() {
|
|
1427
|
-
return new
|
|
1450
|
+
return new ii();
|
|
1428
1451
|
}
|
|
1429
|
-
},
|
|
1430
|
-
variadic:
|
|
1431
|
-
},
|
|
1452
|
+
}, Ue = {
|
|
1453
|
+
variadic: ri
|
|
1454
|
+
}, we = function() {
|
|
1455
|
+
return we = Object.assign || function(t) {
|
|
1456
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1457
|
+
r = arguments[n];
|
|
1458
|
+
for (var o in r)
|
|
1459
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1460
|
+
}
|
|
1461
|
+
return t;
|
|
1462
|
+
}, we.apply(this, arguments);
|
|
1463
|
+
};
|
|
1464
|
+
var y;
|
|
1432
1465
|
(function(e) {
|
|
1433
1466
|
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";
|
|
1434
1467
|
})(y || (y = {}));
|
|
1435
|
-
var
|
|
1468
|
+
var w;
|
|
1436
1469
|
(function(e) {
|
|
1437
1470
|
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";
|
|
1438
|
-
})(
|
|
1439
|
-
var
|
|
1471
|
+
})(w || (w = {}));
|
|
1472
|
+
var Q;
|
|
1440
1473
|
(function(e) {
|
|
1441
1474
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1442
|
-
})(
|
|
1443
|
-
function
|
|
1444
|
-
return e.type ===
|
|
1475
|
+
})(Q || (Q = {}));
|
|
1476
|
+
function Ct(e) {
|
|
1477
|
+
return e.type === w.literal;
|
|
1445
1478
|
}
|
|
1446
|
-
function
|
|
1447
|
-
return e.type ===
|
|
1479
|
+
function si(e) {
|
|
1480
|
+
return e.type === w.argument;
|
|
1448
1481
|
}
|
|
1449
|
-
function
|
|
1450
|
-
return e.type ===
|
|
1482
|
+
function hr(e) {
|
|
1483
|
+
return e.type === w.number;
|
|
1451
1484
|
}
|
|
1452
|
-
function
|
|
1453
|
-
return e.type ===
|
|
1485
|
+
function cr(e) {
|
|
1486
|
+
return e.type === w.date;
|
|
1454
1487
|
}
|
|
1455
|
-
function
|
|
1456
|
-
return e.type ===
|
|
1488
|
+
function fr(e) {
|
|
1489
|
+
return e.type === w.time;
|
|
1457
1490
|
}
|
|
1458
|
-
function
|
|
1459
|
-
return e.type ===
|
|
1491
|
+
function mr(e) {
|
|
1492
|
+
return e.type === w.select;
|
|
1460
1493
|
}
|
|
1461
|
-
function
|
|
1462
|
-
return e.type ===
|
|
1494
|
+
function pr(e) {
|
|
1495
|
+
return e.type === w.plural;
|
|
1463
1496
|
}
|
|
1464
|
-
function
|
|
1465
|
-
return e.type ===
|
|
1497
|
+
function ai(e) {
|
|
1498
|
+
return e.type === w.pound;
|
|
1466
1499
|
}
|
|
1467
|
-
function
|
|
1468
|
-
return e.type ===
|
|
1500
|
+
function dr(e) {
|
|
1501
|
+
return e.type === w.tag;
|
|
1469
1502
|
}
|
|
1470
|
-
function
|
|
1471
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1503
|
+
function br(e) {
|
|
1504
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1472
1505
|
}
|
|
1473
|
-
function
|
|
1474
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1506
|
+
function Ke(e) {
|
|
1507
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1475
1508
|
}
|
|
1476
|
-
var
|
|
1477
|
-
function
|
|
1509
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
|
|
1510
|
+
function li(e) {
|
|
1478
1511
|
var t = {};
|
|
1479
|
-
return e.replace(
|
|
1512
|
+
return e.replace(ui, function(r) {
|
|
1480
1513
|
var n = r.length;
|
|
1481
1514
|
switch (r[0]) {
|
|
1482
1515
|
case "G":
|
|
@@ -1565,11 +1598,21 @@ function ii(e) {
|
|
|
1565
1598
|
return "";
|
|
1566
1599
|
}), t;
|
|
1567
1600
|
}
|
|
1568
|
-
var
|
|
1569
|
-
function
|
|
1601
|
+
var S = function() {
|
|
1602
|
+
return S = Object.assign || function(t) {
|
|
1603
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1604
|
+
r = arguments[n];
|
|
1605
|
+
for (var o in r)
|
|
1606
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1607
|
+
}
|
|
1608
|
+
return t;
|
|
1609
|
+
}, S.apply(this, arguments);
|
|
1610
|
+
};
|
|
1611
|
+
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1612
|
+
function ci(e) {
|
|
1570
1613
|
if (e.length === 0)
|
|
1571
1614
|
throw new Error("Number skeleton cannot be empty");
|
|
1572
|
-
for (var t = e.split(
|
|
1615
|
+
for (var t = e.split(hi).filter(function(f) {
|
|
1573
1616
|
return f.length > 0;
|
|
1574
1617
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1575
1618
|
var o = i[n], s = o.split("/");
|
|
@@ -1584,17 +1627,17 @@ function si(e) {
|
|
|
1584
1627
|
}
|
|
1585
1628
|
return r;
|
|
1586
1629
|
}
|
|
1587
|
-
function
|
|
1630
|
+
function fi(e) {
|
|
1588
1631
|
return e.replace(/^(.*?)-/, "");
|
|
1589
1632
|
}
|
|
1590
|
-
var
|
|
1591
|
-
function
|
|
1633
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
|
|
1634
|
+
function Ot(e) {
|
|
1592
1635
|
var t = {};
|
|
1593
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1636
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
|
|
1594
1637
|
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)), "";
|
|
1595
1638
|
}), t;
|
|
1596
1639
|
}
|
|
1597
|
-
function
|
|
1640
|
+
function _r(e) {
|
|
1598
1641
|
switch (e) {
|
|
1599
1642
|
case "sign-auto":
|
|
1600
1643
|
return {
|
|
@@ -1634,7 +1677,7 @@ function pr(e) {
|
|
|
1634
1677
|
};
|
|
1635
1678
|
}
|
|
1636
1679
|
}
|
|
1637
|
-
function
|
|
1680
|
+
function pi(e) {
|
|
1638
1681
|
var t;
|
|
1639
1682
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1640
1683
|
notation: "engineering"
|
|
@@ -1642,17 +1685,17 @@ function li(e) {
|
|
|
1642
1685
|
notation: "scientific"
|
|
1643
1686
|
}, e = e.slice(1)), t) {
|
|
1644
1687
|
var r = e.slice(0, 2);
|
|
1645
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1688
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
|
|
1646
1689
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1647
1690
|
t.minimumIntegerDigits = e.length;
|
|
1648
1691
|
}
|
|
1649
1692
|
return t;
|
|
1650
1693
|
}
|
|
1651
|
-
function
|
|
1652
|
-
var t = {}, r =
|
|
1694
|
+
function It(e) {
|
|
1695
|
+
var t = {}, r = _r(e);
|
|
1653
1696
|
return r || t;
|
|
1654
1697
|
}
|
|
1655
|
-
function
|
|
1698
|
+
function di(e) {
|
|
1656
1699
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1657
1700
|
var i = n[r];
|
|
1658
1701
|
switch (i.stem) {
|
|
@@ -1676,7 +1719,7 @@ function hi(e) {
|
|
|
1676
1719
|
continue;
|
|
1677
1720
|
case "measure-unit":
|
|
1678
1721
|
case "unit":
|
|
1679
|
-
t.style = "unit", t.unit =
|
|
1722
|
+
t.style = "unit", t.unit = fi(i.options[0]);
|
|
1680
1723
|
continue;
|
|
1681
1724
|
case "compact-short":
|
|
1682
1725
|
case "K":
|
|
@@ -1687,13 +1730,13 @@ function hi(e) {
|
|
|
1687
1730
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1688
1731
|
continue;
|
|
1689
1732
|
case "scientific":
|
|
1690
|
-
t =
|
|
1691
|
-
return
|
|
1733
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1734
|
+
return S(S({}, l), It(u));
|
|
1692
1735
|
}, {}));
|
|
1693
1736
|
continue;
|
|
1694
1737
|
case "engineering":
|
|
1695
|
-
t =
|
|
1696
|
-
return
|
|
1738
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1739
|
+
return S(S({}, l), It(u));
|
|
1697
1740
|
}, {}));
|
|
1698
1741
|
continue;
|
|
1699
1742
|
case "notation-simple":
|
|
@@ -1738,45 +1781,45 @@ function hi(e) {
|
|
|
1738
1781
|
case "integer-width":
|
|
1739
1782
|
if (i.options.length > 1)
|
|
1740
1783
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1741
|
-
i.options[0].replace(
|
|
1784
|
+
i.options[0].replace(mi, function(l, u, h, c, f, p) {
|
|
1742
1785
|
if (u)
|
|
1743
1786
|
t.minimumIntegerDigits = h.length;
|
|
1744
1787
|
else {
|
|
1745
1788
|
if (c && f)
|
|
1746
1789
|
throw new Error("We currently do not support maximum integer digits");
|
|
1747
|
-
if (
|
|
1790
|
+
if (p)
|
|
1748
1791
|
throw new Error("We currently do not support exact integer digits");
|
|
1749
1792
|
}
|
|
1750
1793
|
return "";
|
|
1751
1794
|
});
|
|
1752
1795
|
continue;
|
|
1753
1796
|
}
|
|
1754
|
-
if (
|
|
1797
|
+
if (vr.test(i.stem)) {
|
|
1755
1798
|
t.minimumIntegerDigits = i.stem.length;
|
|
1756
1799
|
continue;
|
|
1757
1800
|
}
|
|
1758
|
-
if (
|
|
1801
|
+
if (Pt.test(i.stem)) {
|
|
1759
1802
|
if (i.options.length > 1)
|
|
1760
1803
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1761
|
-
i.stem.replace(
|
|
1762
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1804
|
+
i.stem.replace(Pt, function(l, u, h, c, f, p) {
|
|
1805
|
+
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), "";
|
|
1763
1806
|
});
|
|
1764
1807
|
var o = i.options[0];
|
|
1765
|
-
o === "w" ? t =
|
|
1808
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
|
|
1766
1809
|
continue;
|
|
1767
1810
|
}
|
|
1768
|
-
if (
|
|
1769
|
-
t =
|
|
1811
|
+
if (yr.test(i.stem)) {
|
|
1812
|
+
t = S(S({}, t), Ot(i.stem));
|
|
1770
1813
|
continue;
|
|
1771
1814
|
}
|
|
1772
|
-
var s =
|
|
1773
|
-
s && (t =
|
|
1774
|
-
var a =
|
|
1775
|
-
a && (t =
|
|
1815
|
+
var s = _r(i.stem);
|
|
1816
|
+
s && (t = S(S({}, t), s));
|
|
1817
|
+
var a = pi(i.stem);
|
|
1818
|
+
a && (t = S(S({}, t), a));
|
|
1776
1819
|
}
|
|
1777
1820
|
return t;
|
|
1778
1821
|
}
|
|
1779
|
-
var
|
|
1822
|
+
var pe = {
|
|
1780
1823
|
"001": [
|
|
1781
1824
|
"H",
|
|
1782
1825
|
"h"
|
|
@@ -3191,13 +3234,13 @@ var de = {
|
|
|
3191
3234
|
"h"
|
|
3192
3235
|
]
|
|
3193
3236
|
};
|
|
3194
|
-
function
|
|
3237
|
+
function bi(e, t) {
|
|
3195
3238
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3196
3239
|
var i = e.charAt(n);
|
|
3197
3240
|
if (i === "j") {
|
|
3198
3241
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3199
3242
|
o++, n++;
|
|
3200
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3243
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
|
|
3201
3244
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3202
3245
|
r += l;
|
|
3203
3246
|
for (; s-- > 0; )
|
|
@@ -3207,7 +3250,7 @@ function ci(e, t) {
|
|
|
3207
3250
|
}
|
|
3208
3251
|
return r;
|
|
3209
3252
|
}
|
|
3210
|
-
function
|
|
3253
|
+
function gi(e) {
|
|
3211
3254
|
var t = e.hourCycle;
|
|
3212
3255
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3213
3256
|
e.hourCycles && // @ts-ignore
|
|
@@ -3226,23 +3269,23 @@ function fi(e) {
|
|
|
3226
3269
|
}
|
|
3227
3270
|
var r = e.language, n;
|
|
3228
3271
|
r !== "root" && (n = e.maximize().region);
|
|
3229
|
-
var i =
|
|
3272
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3230
3273
|
return i[0];
|
|
3231
3274
|
}
|
|
3232
|
-
var
|
|
3275
|
+
var De, yi = new RegExp("^".concat(gr.source, "*")), vi = new RegExp("".concat(gr.source, "*$"));
|
|
3233
3276
|
function _(e, t) {
|
|
3234
3277
|
return { start: e, end: t };
|
|
3235
3278
|
}
|
|
3236
|
-
var
|
|
3279
|
+
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ai = Hi ? Number.isSafeInteger : function(e) {
|
|
3237
3280
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3238
|
-
},
|
|
3281
|
+
}, et = !0;
|
|
3239
3282
|
try {
|
|
3240
|
-
var
|
|
3241
|
-
|
|
3283
|
+
var Bi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3284
|
+
et = ((De = Bi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3242
3285
|
} catch (e) {
|
|
3243
|
-
|
|
3286
|
+
et = !1;
|
|
3244
3287
|
}
|
|
3245
|
-
var
|
|
3288
|
+
var Mt = _i ? (
|
|
3246
3289
|
// Native
|
|
3247
3290
|
function(t, r, n) {
|
|
3248
3291
|
return t.startsWith(r, n);
|
|
@@ -3252,7 +3295,7 @@ var Bt = pi ? (
|
|
|
3252
3295
|
function(t, r, n) {
|
|
3253
3296
|
return t.slice(n, n + r.length) === r;
|
|
3254
3297
|
}
|
|
3255
|
-
),
|
|
3298
|
+
), tt = xi ? String.fromCodePoint : (
|
|
3256
3299
|
// IE11
|
|
3257
3300
|
function() {
|
|
3258
3301
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3264,9 +3307,9 @@ var Bt = pi ? (
|
|
|
3264
3307
|
}
|
|
3265
3308
|
return n;
|
|
3266
3309
|
}
|
|
3267
|
-
),
|
|
3310
|
+
), Nt = (
|
|
3268
3311
|
// native
|
|
3269
|
-
|
|
3312
|
+
Ei ? Object.fromEntries : (
|
|
3270
3313
|
// Ponyfill
|
|
3271
3314
|
function(t) {
|
|
3272
3315
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3276,7 +3319,7 @@ var Bt = pi ? (
|
|
|
3276
3319
|
return r;
|
|
3277
3320
|
}
|
|
3278
3321
|
)
|
|
3279
|
-
),
|
|
3322
|
+
), xr = wi ? (
|
|
3280
3323
|
// Native
|
|
3281
3324
|
function(t, r) {
|
|
3282
3325
|
return t.codePointAt(r);
|
|
@@ -3290,7 +3333,7 @@ var Bt = pi ? (
|
|
|
3290
3333
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3291
3334
|
}
|
|
3292
3335
|
}
|
|
3293
|
-
),
|
|
3336
|
+
), Ci = Si ? (
|
|
3294
3337
|
// Native
|
|
3295
3338
|
function(t) {
|
|
3296
3339
|
return t.trimStart();
|
|
@@ -3298,9 +3341,9 @@ var Bt = pi ? (
|
|
|
3298
3341
|
) : (
|
|
3299
3342
|
// Ponyfill
|
|
3300
3343
|
function(t) {
|
|
3301
|
-
return t.replace(
|
|
3344
|
+
return t.replace(yi, "");
|
|
3302
3345
|
}
|
|
3303
|
-
),
|
|
3346
|
+
), Pi = Ti ? (
|
|
3304
3347
|
// Native
|
|
3305
3348
|
function(t) {
|
|
3306
3349
|
return t.trimEnd();
|
|
@@ -3308,32 +3351,32 @@ var Bt = pi ? (
|
|
|
3308
3351
|
) : (
|
|
3309
3352
|
// Ponyfill
|
|
3310
3353
|
function(t) {
|
|
3311
|
-
return t.replace(
|
|
3354
|
+
return t.replace(vi, "");
|
|
3312
3355
|
}
|
|
3313
3356
|
);
|
|
3314
|
-
function
|
|
3357
|
+
function Er(e, t) {
|
|
3315
3358
|
return new RegExp(e, t);
|
|
3316
3359
|
}
|
|
3317
|
-
var
|
|
3318
|
-
if (
|
|
3319
|
-
var
|
|
3320
|
-
|
|
3360
|
+
var rt;
|
|
3361
|
+
if (et) {
|
|
3362
|
+
var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3363
|
+
rt = function(t, r) {
|
|
3321
3364
|
var n;
|
|
3322
|
-
|
|
3323
|
-
var i =
|
|
3365
|
+
Lt.lastIndex = r;
|
|
3366
|
+
var i = Lt.exec(t);
|
|
3324
3367
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3325
3368
|
};
|
|
3326
3369
|
} else
|
|
3327
|
-
|
|
3370
|
+
rt = function(t, r) {
|
|
3328
3371
|
for (var n = []; ; ) {
|
|
3329
|
-
var i =
|
|
3330
|
-
if (i === void 0 ||
|
|
3372
|
+
var i = xr(t, r);
|
|
3373
|
+
if (i === void 0 || wr(i) || Ni(i))
|
|
3331
3374
|
break;
|
|
3332
3375
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3333
3376
|
}
|
|
3334
|
-
return
|
|
3377
|
+
return tt.apply(void 0, n);
|
|
3335
3378
|
};
|
|
3336
|
-
var
|
|
3379
|
+
var Oi = (
|
|
3337
3380
|
/** @class */
|
|
3338
3381
|
function() {
|
|
3339
3382
|
function e(t, r) {
|
|
@@ -3357,14 +3400,14 @@ var Hi = (
|
|
|
3357
3400
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3358
3401
|
var a = this.clonePosition();
|
|
3359
3402
|
this.bump(), i.push({
|
|
3360
|
-
type:
|
|
3403
|
+
type: w.pound,
|
|
3361
3404
|
location: _(a, this.clonePosition())
|
|
3362
3405
|
});
|
|
3363
3406
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3364
3407
|
if (n)
|
|
3365
3408
|
break;
|
|
3366
3409
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3367
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3410
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3368
3411
|
var s = this.parseTag(t, r);
|
|
3369
3412
|
if (s.err)
|
|
3370
3413
|
return s;
|
|
@@ -3385,7 +3428,7 @@ var Hi = (
|
|
|
3385
3428
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3386
3429
|
return {
|
|
3387
3430
|
val: {
|
|
3388
|
-
type:
|
|
3431
|
+
type: w.literal,
|
|
3389
3432
|
value: "<".concat(i, "/>"),
|
|
3390
3433
|
location: _(n, this.clonePosition())
|
|
3391
3434
|
},
|
|
@@ -3397,12 +3440,12 @@ var Hi = (
|
|
|
3397
3440
|
return o;
|
|
3398
3441
|
var s = o.val, a = this.clonePosition();
|
|
3399
3442
|
if (this.bumpIf("</")) {
|
|
3400
|
-
if (this.isEOF() || !
|
|
3443
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3401
3444
|
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
|
3402
3445
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3403
3446
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3404
3447
|
val: {
|
|
3405
|
-
type:
|
|
3448
|
+
type: w.tag,
|
|
3406
3449
|
value: i,
|
|
3407
3450
|
children: s,
|
|
3408
3451
|
location: _(n, this.clonePosition())
|
|
@@ -3415,7 +3458,7 @@ var Hi = (
|
|
|
3415
3458
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3416
3459
|
}, e.prototype.parseTagName = function() {
|
|
3417
3460
|
var t = this.offset();
|
|
3418
|
-
for (this.bump(); !this.isEOF() &&
|
|
3461
|
+
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3419
3462
|
this.bump();
|
|
3420
3463
|
return this.message.slice(t, this.offset());
|
|
3421
3464
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3439,12 +3482,12 @@ var Hi = (
|
|
|
3439
3482
|
}
|
|
3440
3483
|
var l = _(n, this.clonePosition());
|
|
3441
3484
|
return {
|
|
3442
|
-
val: { type:
|
|
3485
|
+
val: { type: w.literal, value: i, location: l },
|
|
3443
3486
|
err: null
|
|
3444
3487
|
};
|
|
3445
3488
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3446
3489
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3447
|
-
!
|
|
3490
|
+
!Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3448
3491
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3449
3492
|
if (this.isEOF() || this.char() !== 39)
|
|
3450
3493
|
return null;
|
|
@@ -3478,12 +3521,12 @@ var Hi = (
|
|
|
3478
3521
|
r.push(n);
|
|
3479
3522
|
this.bump();
|
|
3480
3523
|
}
|
|
3481
|
-
return
|
|
3524
|
+
return tt.apply(void 0, r);
|
|
3482
3525
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3483
3526
|
if (this.isEOF())
|
|
3484
3527
|
return null;
|
|
3485
3528
|
var n = this.char();
|
|
3486
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3529
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
|
|
3487
3530
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3488
3531
|
var n = this.clonePosition();
|
|
3489
3532
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3499,7 +3542,7 @@ var Hi = (
|
|
|
3499
3542
|
case 125:
|
|
3500
3543
|
return this.bump(), {
|
|
3501
3544
|
val: {
|
|
3502
|
-
type:
|
|
3545
|
+
type: w.argument,
|
|
3503
3546
|
// value does not include the opening and closing braces.
|
|
3504
3547
|
value: i,
|
|
3505
3548
|
location: _(n, this.clonePosition())
|
|
@@ -3512,7 +3555,7 @@ var Hi = (
|
|
|
3512
3555
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3513
3556
|
}
|
|
3514
3557
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3515
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3558
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3516
3559
|
this.bumpTo(i);
|
|
3517
3560
|
var o = this.clonePosition(), s = _(t, o);
|
|
3518
3561
|
return { value: n, location: s };
|
|
@@ -3531,46 +3574,46 @@ var Hi = (
|
|
|
3531
3574
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3532
3575
|
if (c.err)
|
|
3533
3576
|
return c;
|
|
3534
|
-
var f =
|
|
3577
|
+
var f = Pi(c.val);
|
|
3535
3578
|
if (f.length === 0)
|
|
3536
3579
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3537
|
-
var
|
|
3538
|
-
u = { style: f, styleLocation:
|
|
3580
|
+
var p = _(h, this.clonePosition());
|
|
3581
|
+
u = { style: f, styleLocation: p };
|
|
3539
3582
|
}
|
|
3540
3583
|
var m = this.tryParseArgumentClose(i);
|
|
3541
3584
|
if (m.err)
|
|
3542
3585
|
return m;
|
|
3543
|
-
var
|
|
3544
|
-
if (u &&
|
|
3545
|
-
var g =
|
|
3586
|
+
var d = _(i, this.clonePosition());
|
|
3587
|
+
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3588
|
+
var g = Ci(u.style.slice(2));
|
|
3546
3589
|
if (a === "number") {
|
|
3547
3590
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3548
3591
|
return c.err ? c : {
|
|
3549
|
-
val: { type:
|
|
3592
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3550
3593
|
err: null
|
|
3551
3594
|
};
|
|
3552
3595
|
} else {
|
|
3553
3596
|
if (g.length === 0)
|
|
3554
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
3597
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3555
3598
|
var A = g;
|
|
3556
|
-
this.locale && (A =
|
|
3599
|
+
this.locale && (A = bi(g, this.locale));
|
|
3557
3600
|
var f = {
|
|
3558
|
-
type:
|
|
3601
|
+
type: Q.dateTime,
|
|
3559
3602
|
pattern: A,
|
|
3560
3603
|
location: u.styleLocation,
|
|
3561
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3562
|
-
}, T = a === "date" ?
|
|
3604
|
+
parsedOptions: this.shouldParseSkeletons ? li(A) : {}
|
|
3605
|
+
}, T = a === "date" ? w.date : w.time;
|
|
3563
3606
|
return {
|
|
3564
|
-
val: { type: T, value: n, location:
|
|
3607
|
+
val: { type: T, value: n, location: d, style: f },
|
|
3565
3608
|
err: null
|
|
3566
3609
|
};
|
|
3567
3610
|
}
|
|
3568
3611
|
}
|
|
3569
3612
|
return {
|
|
3570
3613
|
val: {
|
|
3571
|
-
type: a === "number" ?
|
|
3614
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3572
3615
|
value: n,
|
|
3573
|
-
location:
|
|
3616
|
+
location: d,
|
|
3574
3617
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3575
3618
|
},
|
|
3576
3619
|
err: null
|
|
@@ -3581,19 +3624,19 @@ var Hi = (
|
|
|
3581
3624
|
case "select": {
|
|
3582
3625
|
var x = this.clonePosition();
|
|
3583
3626
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3584
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x,
|
|
3627
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, we({}, x)));
|
|
3585
3628
|
this.bumpSpace();
|
|
3586
|
-
var
|
|
3587
|
-
if (a !== "select" &&
|
|
3629
|
+
var E = this.parseIdentifierIfPossible(), b = 0;
|
|
3630
|
+
if (a !== "select" && E.value === "offset") {
|
|
3588
3631
|
if (!this.bumpIf(":"))
|
|
3589
3632
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3590
3633
|
this.bumpSpace();
|
|
3591
3634
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3592
3635
|
if (c.err)
|
|
3593
3636
|
return c;
|
|
3594
|
-
this.bumpSpace(),
|
|
3637
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
|
|
3595
3638
|
}
|
|
3596
|
-
var B = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3639
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
|
|
3597
3640
|
if (B.err)
|
|
3598
3641
|
return B;
|
|
3599
3642
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3602,17 +3645,17 @@ var Hi = (
|
|
|
3602
3645
|
var ce = _(i, this.clonePosition());
|
|
3603
3646
|
return a === "select" ? {
|
|
3604
3647
|
val: {
|
|
3605
|
-
type:
|
|
3648
|
+
type: w.select,
|
|
3606
3649
|
value: n,
|
|
3607
|
-
options:
|
|
3650
|
+
options: Nt(B.val),
|
|
3608
3651
|
location: ce
|
|
3609
3652
|
},
|
|
3610
3653
|
err: null
|
|
3611
3654
|
} : {
|
|
3612
3655
|
val: {
|
|
3613
|
-
type:
|
|
3656
|
+
type: w.plural,
|
|
3614
3657
|
value: n,
|
|
3615
|
-
options:
|
|
3658
|
+
options: Nt(B.val),
|
|
3616
3659
|
offset: b,
|
|
3617
3660
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3618
3661
|
location: ce
|
|
@@ -3663,16 +3706,16 @@ var Hi = (
|
|
|
3663
3706
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3664
3707
|
var n = [];
|
|
3665
3708
|
try {
|
|
3666
|
-
n =
|
|
3709
|
+
n = ci(t);
|
|
3667
3710
|
} catch (i) {
|
|
3668
3711
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3669
3712
|
}
|
|
3670
3713
|
return {
|
|
3671
3714
|
val: {
|
|
3672
|
-
type:
|
|
3715
|
+
type: Q.number,
|
|
3673
3716
|
tokens: n,
|
|
3674
3717
|
location: r,
|
|
3675
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3718
|
+
parsedOptions: this.shouldParseSkeletons ? di(n) : {}
|
|
3676
3719
|
},
|
|
3677
3720
|
err: null
|
|
3678
3721
|
};
|
|
@@ -3691,20 +3734,20 @@ var Hi = (
|
|
|
3691
3734
|
if (l.has(u))
|
|
3692
3735
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3693
3736
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3694
|
-
var
|
|
3737
|
+
var p = this.clonePosition();
|
|
3695
3738
|
if (!this.bumpIf("{"))
|
|
3696
3739
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3697
3740
|
var m = this.parseMessage(t + 1, r, n);
|
|
3698
3741
|
if (m.err)
|
|
3699
3742
|
return m;
|
|
3700
|
-
var
|
|
3701
|
-
if (
|
|
3702
|
-
return
|
|
3743
|
+
var d = this.tryParseArgumentClose(p);
|
|
3744
|
+
if (d.err)
|
|
3745
|
+
return d;
|
|
3703
3746
|
a.push([
|
|
3704
3747
|
u,
|
|
3705
3748
|
{
|
|
3706
3749
|
value: m.val,
|
|
3707
|
-
location: _(
|
|
3750
|
+
location: _(p, this.clonePosition())
|
|
3708
3751
|
}
|
|
3709
3752
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3710
3753
|
}
|
|
@@ -3720,7 +3763,7 @@ var Hi = (
|
|
|
3720
3763
|
break;
|
|
3721
3764
|
}
|
|
3722
3765
|
var l = _(i, this.clonePosition());
|
|
3723
|
-
return o ? (s *= n,
|
|
3766
|
+
return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3724
3767
|
}, e.prototype.offset = function() {
|
|
3725
3768
|
return this.position.offset;
|
|
3726
3769
|
}, e.prototype.isEOF = function() {
|
|
@@ -3735,7 +3778,7 @@ var Hi = (
|
|
|
3735
3778
|
var t = this.position.offset;
|
|
3736
3779
|
if (t >= this.message.length)
|
|
3737
3780
|
throw Error("out of bound");
|
|
3738
|
-
var r =
|
|
3781
|
+
var r = xr(this.message, t);
|
|
3739
3782
|
if (r === void 0)
|
|
3740
3783
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3741
3784
|
return r;
|
|
@@ -3754,7 +3797,7 @@ var Hi = (
|
|
|
3754
3797
|
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);
|
|
3755
3798
|
}
|
|
3756
3799
|
}, e.prototype.bumpIf = function(t) {
|
|
3757
|
-
if (
|
|
3800
|
+
if (Mt(this.message, t, this.offset())) {
|
|
3758
3801
|
for (var r = 0; r < t.length; r++)
|
|
3759
3802
|
this.bump();
|
|
3760
3803
|
return !0;
|
|
@@ -3776,7 +3819,7 @@ var Hi = (
|
|
|
3776
3819
|
break;
|
|
3777
3820
|
}
|
|
3778
3821
|
}, e.prototype.bumpSpace = function() {
|
|
3779
|
-
for (; !this.isEOF() &&
|
|
3822
|
+
for (; !this.isEOF() && wr(this.char()); )
|
|
3780
3823
|
this.bump();
|
|
3781
3824
|
}, e.prototype.peek = function() {
|
|
3782
3825
|
if (this.isEOF())
|
|
@@ -3786,47 +3829,47 @@ var Hi = (
|
|
|
3786
3829
|
}, e;
|
|
3787
3830
|
}()
|
|
3788
3831
|
);
|
|
3789
|
-
function
|
|
3832
|
+
function nt(e) {
|
|
3790
3833
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3791
3834
|
}
|
|
3792
|
-
function
|
|
3793
|
-
return
|
|
3835
|
+
function Ii(e) {
|
|
3836
|
+
return nt(e) || e === 47;
|
|
3794
3837
|
}
|
|
3795
|
-
function
|
|
3838
|
+
function Mi(e) {
|
|
3796
3839
|
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;
|
|
3797
3840
|
}
|
|
3798
|
-
function
|
|
3841
|
+
function wr(e) {
|
|
3799
3842
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3800
3843
|
}
|
|
3801
|
-
function
|
|
3844
|
+
function Ni(e) {
|
|
3802
3845
|
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;
|
|
3803
3846
|
}
|
|
3804
|
-
function
|
|
3847
|
+
function it(e) {
|
|
3805
3848
|
e.forEach(function(t) {
|
|
3806
|
-
if (delete t.location,
|
|
3849
|
+
if (delete t.location, mr(t) || pr(t))
|
|
3807
3850
|
for (var r in t.options)
|
|
3808
|
-
delete t.options[r].location,
|
|
3851
|
+
delete t.options[r].location, it(t.options[r].value);
|
|
3809
3852
|
else
|
|
3810
|
-
|
|
3853
|
+
hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
|
|
3811
3854
|
});
|
|
3812
3855
|
}
|
|
3813
|
-
function
|
|
3814
|
-
t === void 0 && (t = {}), t =
|
|
3815
|
-
var r = new
|
|
3856
|
+
function Li(e, t) {
|
|
3857
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3858
|
+
var r = new Oi(e, t).parse();
|
|
3816
3859
|
if (r.err) {
|
|
3817
3860
|
var n = SyntaxError(y[r.err.kind]);
|
|
3818
3861
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3819
3862
|
}
|
|
3820
|
-
return t != null && t.captureLocation ||
|
|
3863
|
+
return t != null && t.captureLocation || it(r.val), r.val;
|
|
3821
3864
|
}
|
|
3822
|
-
var
|
|
3865
|
+
var J;
|
|
3823
3866
|
(function(e) {
|
|
3824
3867
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3825
|
-
})(
|
|
3826
|
-
var
|
|
3868
|
+
})(J || (J = {}));
|
|
3869
|
+
var Pe = (
|
|
3827
3870
|
/** @class */
|
|
3828
3871
|
function(e) {
|
|
3829
|
-
|
|
3872
|
+
Ce(t, e);
|
|
3830
3873
|
function t(r, n, i) {
|
|
3831
3874
|
var o = e.call(this, r) || this;
|
|
3832
3875
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3835,48 +3878,48 @@ var Be = (
|
|
|
3835
3878
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3836
3879
|
}, t;
|
|
3837
3880
|
}(Error)
|
|
3838
|
-
),
|
|
3881
|
+
), $t = (
|
|
3839
3882
|
/** @class */
|
|
3840
3883
|
function(e) {
|
|
3841
|
-
|
|
3884
|
+
Ce(t, e);
|
|
3842
3885
|
function t(r, n, i, o) {
|
|
3843
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3886
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3844
3887
|
}
|
|
3845
3888
|
return t;
|
|
3846
|
-
}(
|
|
3847
|
-
),
|
|
3889
|
+
}(Pe)
|
|
3890
|
+
), $i = (
|
|
3848
3891
|
/** @class */
|
|
3849
3892
|
function(e) {
|
|
3850
|
-
|
|
3893
|
+
Ce(t, e);
|
|
3851
3894
|
function t(r, n, i) {
|
|
3852
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3895
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3853
3896
|
}
|
|
3854
3897
|
return t;
|
|
3855
|
-
}(
|
|
3856
|
-
),
|
|
3898
|
+
}(Pe)
|
|
3899
|
+
), Ri = (
|
|
3857
3900
|
/** @class */
|
|
3858
3901
|
function(e) {
|
|
3859
|
-
|
|
3902
|
+
Ce(t, e);
|
|
3860
3903
|
function t(r, n) {
|
|
3861
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3904
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3862
3905
|
}
|
|
3863
3906
|
return t;
|
|
3864
|
-
}(
|
|
3907
|
+
}(Pe)
|
|
3865
3908
|
), P;
|
|
3866
3909
|
(function(e) {
|
|
3867
3910
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3868
3911
|
})(P || (P = {}));
|
|
3869
|
-
function
|
|
3912
|
+
function Gi(e) {
|
|
3870
3913
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3871
3914
|
var n = t[t.length - 1];
|
|
3872
3915
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3873
3916
|
}, []);
|
|
3874
3917
|
}
|
|
3875
|
-
function
|
|
3918
|
+
function Ui(e) {
|
|
3876
3919
|
return typeof e == "function";
|
|
3877
3920
|
}
|
|
3878
3921
|
function ye(e, t, r, n, i, o, s) {
|
|
3879
|
-
if (e.length === 1 &&
|
|
3922
|
+
if (e.length === 1 && Ct(e[0]))
|
|
3880
3923
|
return [
|
|
3881
3924
|
{
|
|
3882
3925
|
type: P.literal,
|
|
@@ -3885,14 +3928,14 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3885
3928
|
];
|
|
3886
3929
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3887
3930
|
var h = u[l];
|
|
3888
|
-
if (
|
|
3931
|
+
if (Ct(h)) {
|
|
3889
3932
|
a.push({
|
|
3890
3933
|
type: P.literal,
|
|
3891
3934
|
value: h.value
|
|
3892
3935
|
});
|
|
3893
3936
|
continue;
|
|
3894
3937
|
}
|
|
3895
|
-
if (
|
|
3938
|
+
if (ai(h)) {
|
|
3896
3939
|
typeof o == "number" && a.push({
|
|
3897
3940
|
type: P.literal,
|
|
3898
3941
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3901,43 +3944,43 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3901
3944
|
}
|
|
3902
3945
|
var c = h.value;
|
|
3903
3946
|
if (!(i && c in i))
|
|
3904
|
-
throw new
|
|
3947
|
+
throw new Ri(c, s);
|
|
3905
3948
|
var f = i[c];
|
|
3906
|
-
if (
|
|
3949
|
+
if (si(h)) {
|
|
3907
3950
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3908
3951
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3909
3952
|
value: f
|
|
3910
3953
|
});
|
|
3911
3954
|
continue;
|
|
3912
3955
|
}
|
|
3913
|
-
if (
|
|
3914
|
-
var
|
|
3956
|
+
if (cr(h)) {
|
|
3957
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3915
3958
|
a.push({
|
|
3916
3959
|
type: P.literal,
|
|
3917
|
-
value: r.getDateTimeFormat(t,
|
|
3960
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3918
3961
|
});
|
|
3919
3962
|
continue;
|
|
3920
3963
|
}
|
|
3921
|
-
if (
|
|
3922
|
-
var
|
|
3964
|
+
if (fr(h)) {
|
|
3965
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3923
3966
|
a.push({
|
|
3924
3967
|
type: P.literal,
|
|
3925
|
-
value: r.getDateTimeFormat(t,
|
|
3968
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3926
3969
|
});
|
|
3927
3970
|
continue;
|
|
3928
3971
|
}
|
|
3929
|
-
if (
|
|
3930
|
-
var
|
|
3931
|
-
|
|
3972
|
+
if (hr(h)) {
|
|
3973
|
+
var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
|
|
3974
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3932
3975
|
type: P.literal,
|
|
3933
|
-
value: r.getNumberFormat(t,
|
|
3976
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3934
3977
|
});
|
|
3935
3978
|
continue;
|
|
3936
3979
|
}
|
|
3937
|
-
if (
|
|
3938
|
-
var m = h.children,
|
|
3939
|
-
if (!
|
|
3940
|
-
throw new
|
|
3980
|
+
if (dr(h)) {
|
|
3981
|
+
var m = h.children, d = h.value, g = i[d];
|
|
3982
|
+
if (!Ui(g))
|
|
3983
|
+
throw new $i(d, "function", s);
|
|
3941
3984
|
var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3942
3985
|
return b.value;
|
|
3943
3986
|
}));
|
|
@@ -3948,42 +3991,42 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3948
3991
|
};
|
|
3949
3992
|
}));
|
|
3950
3993
|
}
|
|
3951
|
-
if (
|
|
3994
|
+
if (mr(h)) {
|
|
3952
3995
|
var x = h.options[f] || h.options.other;
|
|
3953
3996
|
if (!x)
|
|
3954
|
-
throw new
|
|
3997
|
+
throw new $t(h.value, f, Object.keys(h.options), s);
|
|
3955
3998
|
a.push.apply(a, ye(x.value, t, r, n, i));
|
|
3956
3999
|
continue;
|
|
3957
4000
|
}
|
|
3958
|
-
if (
|
|
4001
|
+
if (pr(h)) {
|
|
3959
4002
|
var x = h.options["=".concat(f)];
|
|
3960
4003
|
if (!x) {
|
|
3961
4004
|
if (!Intl.PluralRules)
|
|
3962
|
-
throw new
|
|
4005
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3963
4006
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3964
|
-
`,
|
|
3965
|
-
var
|
|
3966
|
-
x = h.options[
|
|
4007
|
+
`, J.MISSING_INTL_API, s);
|
|
4008
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4009
|
+
x = h.options[E] || h.options.other;
|
|
3967
4010
|
}
|
|
3968
4011
|
if (!x)
|
|
3969
|
-
throw new
|
|
4012
|
+
throw new $t(h.value, f, Object.keys(h.options), s);
|
|
3970
4013
|
a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
3971
4014
|
continue;
|
|
3972
4015
|
}
|
|
3973
4016
|
}
|
|
3974
|
-
return
|
|
4017
|
+
return Gi(a);
|
|
3975
4018
|
}
|
|
3976
|
-
function
|
|
3977
|
-
return t ?
|
|
3978
|
-
return r[n] =
|
|
4019
|
+
function Di(e, t) {
|
|
4020
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4021
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
3979
4022
|
}, {})) : e;
|
|
3980
4023
|
}
|
|
3981
|
-
function
|
|
4024
|
+
function Fi(e, t) {
|
|
3982
4025
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3983
|
-
return r[n] =
|
|
3984
|
-
},
|
|
4026
|
+
return r[n] = Di(e[n], t[n]), r;
|
|
4027
|
+
}, L({}, e)) : e;
|
|
3985
4028
|
}
|
|
3986
|
-
function
|
|
4029
|
+
function Fe(e) {
|
|
3987
4030
|
return {
|
|
3988
4031
|
create: function() {
|
|
3989
4032
|
return {
|
|
@@ -3997,39 +4040,39 @@ function Ge(e) {
|
|
|
3997
4040
|
}
|
|
3998
4041
|
};
|
|
3999
4042
|
}
|
|
4000
|
-
function
|
|
4043
|
+
function ji(e) {
|
|
4001
4044
|
return e === void 0 && (e = {
|
|
4002
4045
|
number: {},
|
|
4003
4046
|
dateTime: {},
|
|
4004
4047
|
pluralRules: {}
|
|
4005
4048
|
}), {
|
|
4006
|
-
getNumberFormat:
|
|
4049
|
+
getNumberFormat: Ge(function() {
|
|
4007
4050
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4008
4051
|
r[n] = arguments[n];
|
|
4009
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4052
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4010
4053
|
}, {
|
|
4011
|
-
cache:
|
|
4012
|
-
strategy:
|
|
4054
|
+
cache: Fe(e.number),
|
|
4055
|
+
strategy: Ue.variadic
|
|
4013
4056
|
}),
|
|
4014
|
-
getDateTimeFormat:
|
|
4057
|
+
getDateTimeFormat: Ge(function() {
|
|
4015
4058
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4016
4059
|
r[n] = arguments[n];
|
|
4017
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4060
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4018
4061
|
}, {
|
|
4019
|
-
cache:
|
|
4020
|
-
strategy:
|
|
4062
|
+
cache: Fe(e.dateTime),
|
|
4063
|
+
strategy: Ue.variadic
|
|
4021
4064
|
}),
|
|
4022
|
-
getPluralRules:
|
|
4065
|
+
getPluralRules: Ge(function() {
|
|
4023
4066
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4024
4067
|
r[n] = arguments[n];
|
|
4025
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4068
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
4026
4069
|
}, {
|
|
4027
|
-
cache:
|
|
4028
|
-
strategy:
|
|
4070
|
+
cache: Fe(e.pluralRules),
|
|
4071
|
+
strategy: Ue.variadic
|
|
4029
4072
|
})
|
|
4030
4073
|
};
|
|
4031
4074
|
}
|
|
4032
|
-
var
|
|
4075
|
+
var ki = (
|
|
4033
4076
|
/** @class */
|
|
4034
4077
|
function() {
|
|
4035
4078
|
function e(t, r, n, i) {
|
|
@@ -4061,13 +4104,13 @@ var Gi = (
|
|
|
4061
4104
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4062
4105
|
var s = i || {};
|
|
4063
4106
|
s.formatters;
|
|
4064
|
-
var a =
|
|
4065
|
-
this.ast = e.__parse(t,
|
|
4107
|
+
var a = Yn(s, ["formatters"]);
|
|
4108
|
+
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
4066
4109
|
} else
|
|
4067
4110
|
this.ast = t;
|
|
4068
4111
|
if (!Array.isArray(this.ast))
|
|
4069
4112
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4070
|
-
this.formats =
|
|
4113
|
+
this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
|
|
4071
4114
|
}
|
|
4072
4115
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4073
4116
|
get: function() {
|
|
@@ -4080,7 +4123,7 @@ var Gi = (
|
|
|
4080
4123
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4081
4124
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4082
4125
|
}
|
|
4083
|
-
}, e.__parse =
|
|
4126
|
+
}, e.__parse = Li, e.formats = {
|
|
4084
4127
|
number: {
|
|
4085
4128
|
integer: {
|
|
4086
4129
|
maximumFractionDigits: 0
|
|
@@ -4141,7 +4184,7 @@ var Gi = (
|
|
|
4141
4184
|
}, e;
|
|
4142
4185
|
}()
|
|
4143
4186
|
);
|
|
4144
|
-
function
|
|
4187
|
+
function Vi(e, t) {
|
|
4145
4188
|
if (t == null)
|
|
4146
4189
|
return;
|
|
4147
4190
|
if (t in e)
|
|
@@ -4162,92 +4205,92 @@ function Ui(e, t) {
|
|
|
4162
4205
|
n = void 0;
|
|
4163
4206
|
return n;
|
|
4164
4207
|
}
|
|
4165
|
-
const G = {},
|
|
4208
|
+
const G = {}, Xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
|
|
4166
4209
|
if (t == null)
|
|
4167
4210
|
return;
|
|
4168
4211
|
if (t in G && e in G[t])
|
|
4169
4212
|
return G[t][e];
|
|
4170
|
-
const r =
|
|
4213
|
+
const r = Oe(t);
|
|
4171
4214
|
for (let n = 0; n < r.length; n++) {
|
|
4172
|
-
const i = r[n], o =
|
|
4215
|
+
const i = r[n], o = Wi(i, e);
|
|
4173
4216
|
if (o)
|
|
4174
|
-
return
|
|
4217
|
+
return Xi(e, t, o);
|
|
4175
4218
|
}
|
|
4176
4219
|
};
|
|
4177
|
-
let
|
|
4178
|
-
const he =
|
|
4179
|
-
function
|
|
4180
|
-
return
|
|
4220
|
+
let ht;
|
|
4221
|
+
const he = Be({});
|
|
4222
|
+
function zi(e) {
|
|
4223
|
+
return ht[e] || null;
|
|
4181
4224
|
}
|
|
4182
|
-
function
|
|
4183
|
-
return e in
|
|
4225
|
+
function Tr(e) {
|
|
4226
|
+
return e in ht;
|
|
4184
4227
|
}
|
|
4185
|
-
function
|
|
4186
|
-
if (!
|
|
4228
|
+
function Wi(e, t) {
|
|
4229
|
+
if (!Tr(e))
|
|
4187
4230
|
return null;
|
|
4188
|
-
const r =
|
|
4189
|
-
return
|
|
4231
|
+
const r = zi(e);
|
|
4232
|
+
return Vi(r, t);
|
|
4190
4233
|
}
|
|
4191
|
-
function
|
|
4234
|
+
function Zi(e) {
|
|
4192
4235
|
if (e == null)
|
|
4193
4236
|
return;
|
|
4194
|
-
const t =
|
|
4237
|
+
const t = Oe(e);
|
|
4195
4238
|
for (let r = 0; r < t.length; r++) {
|
|
4196
4239
|
const n = t[r];
|
|
4197
|
-
if (
|
|
4240
|
+
if (Tr(n))
|
|
4198
4241
|
return n;
|
|
4199
4242
|
}
|
|
4200
4243
|
}
|
|
4201
|
-
function
|
|
4202
|
-
delete G[e], he.update((r) => (r[e] =
|
|
4244
|
+
function Hr(e, ...t) {
|
|
4245
|
+
delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
4203
4246
|
}
|
|
4204
|
-
|
|
4247
|
+
Y(
|
|
4205
4248
|
[he],
|
|
4206
4249
|
([e]) => Object.keys(e)
|
|
4207
4250
|
);
|
|
4208
|
-
he.subscribe((e) =>
|
|
4251
|
+
he.subscribe((e) => ht = e);
|
|
4209
4252
|
const ve = {};
|
|
4210
|
-
function
|
|
4253
|
+
function Qi(e, t) {
|
|
4211
4254
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4212
4255
|
}
|
|
4213
|
-
function
|
|
4256
|
+
function Ar(e) {
|
|
4214
4257
|
return ve[e];
|
|
4215
4258
|
}
|
|
4216
|
-
function
|
|
4217
|
-
return
|
|
4218
|
-
const r =
|
|
4259
|
+
function Ji(e) {
|
|
4260
|
+
return Oe(e).map((t) => {
|
|
4261
|
+
const r = Ar(t);
|
|
4219
4262
|
return [t, r ? [...r] : []];
|
|
4220
4263
|
}).filter(([, t]) => t.length > 0);
|
|
4221
4264
|
}
|
|
4222
|
-
function
|
|
4223
|
-
return e == null ? !1 :
|
|
4265
|
+
function ot(e) {
|
|
4266
|
+
return e == null ? !1 : Oe(e).some(
|
|
4224
4267
|
(t) => {
|
|
4225
4268
|
var r;
|
|
4226
|
-
return (r =
|
|
4269
|
+
return (r = Ar(t)) == null ? void 0 : r.size;
|
|
4227
4270
|
}
|
|
4228
4271
|
);
|
|
4229
4272
|
}
|
|
4230
|
-
function
|
|
4273
|
+
function qi(e, t) {
|
|
4231
4274
|
return Promise.all(
|
|
4232
|
-
t.map((n) => (
|
|
4233
|
-
).then((n) =>
|
|
4234
|
-
}
|
|
4235
|
-
const
|
|
4236
|
-
function
|
|
4237
|
-
if (!
|
|
4238
|
-
return e in
|
|
4239
|
-
const t =
|
|
4240
|
-
return
|
|
4275
|
+
t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
|
|
4276
|
+
).then((n) => Hr(e, ...n));
|
|
4277
|
+
}
|
|
4278
|
+
const re = {};
|
|
4279
|
+
function Br(e) {
|
|
4280
|
+
if (!ot(e))
|
|
4281
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4282
|
+
const t = Ji(e);
|
|
4283
|
+
return re[e] = Promise.all(
|
|
4241
4284
|
t.map(
|
|
4242
|
-
([r, n]) =>
|
|
4285
|
+
([r, n]) => qi(r, n)
|
|
4243
4286
|
)
|
|
4244
4287
|
).then(() => {
|
|
4245
|
-
if (
|
|
4246
|
-
return
|
|
4247
|
-
delete
|
|
4248
|
-
}),
|
|
4288
|
+
if (ot(e))
|
|
4289
|
+
return Br(e);
|
|
4290
|
+
delete re[e];
|
|
4291
|
+
}), re[e];
|
|
4249
4292
|
}
|
|
4250
|
-
const
|
|
4293
|
+
const Yi = {
|
|
4251
4294
|
number: {
|
|
4252
4295
|
scientific: { notation: "scientific" },
|
|
4253
4296
|
engineering: { notation: "engineering" },
|
|
@@ -4276,135 +4319,135 @@ const Wi = {
|
|
|
4276
4319
|
timeZoneName: "short"
|
|
4277
4320
|
}
|
|
4278
4321
|
}
|
|
4279
|
-
},
|
|
4322
|
+
}, Ki = {
|
|
4280
4323
|
fallbackLocale: null,
|
|
4281
4324
|
loadingDelay: 200,
|
|
4282
|
-
formats:
|
|
4325
|
+
formats: Yi,
|
|
4283
4326
|
warnOnMissingMessages: !0,
|
|
4284
4327
|
handleMissingMessage: void 0,
|
|
4285
4328
|
ignoreTag: !0
|
|
4286
|
-
},
|
|
4287
|
-
function
|
|
4288
|
-
return
|
|
4329
|
+
}, eo = Ki;
|
|
4330
|
+
function q() {
|
|
4331
|
+
return eo;
|
|
4289
4332
|
}
|
|
4290
|
-
const
|
|
4291
|
-
var
|
|
4333
|
+
const je = Be(!1);
|
|
4334
|
+
var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
|
|
4292
4335
|
for (var r in t || (t = {}))
|
|
4293
|
-
|
|
4294
|
-
if (
|
|
4295
|
-
for (var r of
|
|
4296
|
-
|
|
4336
|
+
io.call(t, r) && Gt(e, r, t[r]);
|
|
4337
|
+
if (Rt)
|
|
4338
|
+
for (var r of Rt(t))
|
|
4339
|
+
oo.call(t, r) && Gt(e, r, t[r]);
|
|
4297
4340
|
return e;
|
|
4298
|
-
},
|
|
4299
|
-
let
|
|
4300
|
-
const
|
|
4301
|
-
function
|
|
4341
|
+
}, ao = (e, t) => ro(e, no(t));
|
|
4342
|
+
let st;
|
|
4343
|
+
const Se = Be(null);
|
|
4344
|
+
function Ut(e) {
|
|
4302
4345
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4303
4346
|
}
|
|
4304
|
-
function
|
|
4305
|
-
const r =
|
|
4306
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4347
|
+
function Oe(e, t = q().fallbackLocale) {
|
|
4348
|
+
const r = Ut(e);
|
|
4349
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4307
4350
|
}
|
|
4308
4351
|
function F() {
|
|
4309
|
-
return
|
|
4352
|
+
return st != null ? st : void 0;
|
|
4310
4353
|
}
|
|
4311
|
-
|
|
4312
|
-
|
|
4354
|
+
Se.subscribe((e) => {
|
|
4355
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4313
4356
|
});
|
|
4314
|
-
const
|
|
4315
|
-
if (e &&
|
|
4316
|
-
const { loadingDelay: t } =
|
|
4357
|
+
const uo = (e) => {
|
|
4358
|
+
if (e && Zi(e) && ot(e)) {
|
|
4359
|
+
const { loadingDelay: t } = q();
|
|
4317
4360
|
let r;
|
|
4318
4361
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4319
|
-
() =>
|
|
4362
|
+
() => je.set(!0),
|
|
4320
4363
|
t
|
|
4321
|
-
) :
|
|
4322
|
-
|
|
4364
|
+
) : je.set(!0), Br(e).then(() => {
|
|
4365
|
+
Se.set(e);
|
|
4323
4366
|
}).finally(() => {
|
|
4324
|
-
clearTimeout(r),
|
|
4367
|
+
clearTimeout(r), je.set(!1);
|
|
4325
4368
|
});
|
|
4326
4369
|
}
|
|
4327
|
-
return
|
|
4328
|
-
},
|
|
4329
|
-
set:
|
|
4330
|
-
}),
|
|
4370
|
+
return Se.set(e);
|
|
4371
|
+
}, K = ao(so({}, Se), {
|
|
4372
|
+
set: uo
|
|
4373
|
+
}), Ie = (e) => {
|
|
4331
4374
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4332
4375
|
return (n) => {
|
|
4333
4376
|
const i = JSON.stringify(n);
|
|
4334
4377
|
return i in t ? t[i] : t[i] = e(n);
|
|
4335
4378
|
};
|
|
4336
4379
|
};
|
|
4337
|
-
var
|
|
4380
|
+
var lo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4338
4381
|
for (var r in t || (t = {}))
|
|
4339
|
-
|
|
4340
|
-
if (
|
|
4341
|
-
for (var r of
|
|
4342
|
-
|
|
4382
|
+
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4383
|
+
if (Te)
|
|
4384
|
+
for (var r of Te(t))
|
|
4385
|
+
Pr.call(t, r) && Dt(e, r, t[r]);
|
|
4343
4386
|
return e;
|
|
4344
|
-
},
|
|
4387
|
+
}, ee = (e, t) => {
|
|
4345
4388
|
var r = {};
|
|
4346
4389
|
for (var n in e)
|
|
4347
|
-
|
|
4348
|
-
if (e != null &&
|
|
4349
|
-
for (var n of
|
|
4350
|
-
t.indexOf(n) < 0 &&
|
|
4390
|
+
Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4391
|
+
if (e != null && Te)
|
|
4392
|
+
for (var n of Te(e))
|
|
4393
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
|
4351
4394
|
return r;
|
|
4352
4395
|
};
|
|
4353
|
-
const
|
|
4354
|
-
const { formats: r } =
|
|
4396
|
+
const se = (e, t) => {
|
|
4397
|
+
const { formats: r } = q();
|
|
4355
4398
|
if (e in r && t in r[e])
|
|
4356
4399
|
return r[e][t];
|
|
4357
4400
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4358
|
-
},
|
|
4401
|
+
}, ho = Ie(
|
|
4359
4402
|
(e) => {
|
|
4360
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4403
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4361
4404
|
if (r == null)
|
|
4362
4405
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4363
|
-
return n && (i =
|
|
4406
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4364
4407
|
}
|
|
4365
|
-
),
|
|
4408
|
+
), co = Ie(
|
|
4366
4409
|
(e) => {
|
|
4367
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4410
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4368
4411
|
if (r == null)
|
|
4369
4412
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4370
|
-
return n ? i =
|
|
4413
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4371
4414
|
}
|
|
4372
|
-
),
|
|
4415
|
+
), fo = Ie(
|
|
4373
4416
|
(e) => {
|
|
4374
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4417
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4375
4418
|
if (r == null)
|
|
4376
4419
|
throw new Error(
|
|
4377
4420
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4378
4421
|
);
|
|
4379
|
-
return n ? i =
|
|
4422
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4380
4423
|
}
|
|
4381
|
-
),
|
|
4424
|
+
), mo = (e = {}) => {
|
|
4382
4425
|
var t = e, {
|
|
4383
4426
|
locale: r = F()
|
|
4384
|
-
} = t, n =
|
|
4427
|
+
} = t, n = ee(t, [
|
|
4385
4428
|
"locale"
|
|
4386
4429
|
]);
|
|
4387
|
-
return
|
|
4388
|
-
},
|
|
4430
|
+
return ho(ct({ locale: r }, n));
|
|
4431
|
+
}, po = (e = {}) => {
|
|
4389
4432
|
var t = e, {
|
|
4390
4433
|
locale: r = F()
|
|
4391
|
-
} = t, n =
|
|
4434
|
+
} = t, n = ee(t, [
|
|
4392
4435
|
"locale"
|
|
4393
4436
|
]);
|
|
4394
|
-
return
|
|
4395
|
-
},
|
|
4437
|
+
return co(ct({ locale: r }, n));
|
|
4438
|
+
}, bo = (e = {}) => {
|
|
4396
4439
|
var t = e, {
|
|
4397
4440
|
locale: r = F()
|
|
4398
|
-
} = t, n =
|
|
4441
|
+
} = t, n = ee(t, [
|
|
4399
4442
|
"locale"
|
|
4400
4443
|
]);
|
|
4401
|
-
return
|
|
4402
|
-
},
|
|
4444
|
+
return fo(ct({ locale: r }, n));
|
|
4445
|
+
}, go = Ie(
|
|
4403
4446
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4404
|
-
(e, t = F()) => new
|
|
4405
|
-
ignoreTag:
|
|
4447
|
+
(e, t = F()) => new ki(e, t, q().formats, {
|
|
4448
|
+
ignoreTag: q().ignoreTag
|
|
4406
4449
|
})
|
|
4407
|
-
),
|
|
4450
|
+
), yo = (e, t = {}) => {
|
|
4408
4451
|
var r, n, i, o;
|
|
4409
4452
|
let s = t;
|
|
4410
4453
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4417,9 +4460,9 @@ const ae = (e, t) => {
|
|
|
4417
4460
|
throw new Error(
|
|
4418
4461
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4419
4462
|
);
|
|
4420
|
-
let h =
|
|
4463
|
+
let h = Sr(e, l);
|
|
4421
4464
|
if (!h)
|
|
4422
|
-
h = (o = (i = (n = (r =
|
|
4465
|
+
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4423
4466
|
else if (typeof h != "string")
|
|
4424
4467
|
return console.warn(
|
|
4425
4468
|
`[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.`
|
|
@@ -4428,7 +4471,7 @@ const ae = (e, t) => {
|
|
|
4428
4471
|
return h;
|
|
4429
4472
|
let c = h;
|
|
4430
4473
|
try {
|
|
4431
|
-
c =
|
|
4474
|
+
c = go(h, l).format(a);
|
|
4432
4475
|
} catch (f) {
|
|
4433
4476
|
f instanceof Error && console.warn(
|
|
4434
4477
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4436,20 +4479,20 @@ const ae = (e, t) => {
|
|
|
4436
4479
|
);
|
|
4437
4480
|
}
|
|
4438
4481
|
return c;
|
|
4439
|
-
},
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
window.emWidgets = { topic:
|
|
4445
|
-
const
|
|
4446
|
-
function
|
|
4482
|
+
}, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t = F()) => Sr(e, t), wo = Y([K, he], () => yo);
|
|
4483
|
+
Y([K], () => vo);
|
|
4484
|
+
Y([K], () => _o);
|
|
4485
|
+
Y([K], () => xo);
|
|
4486
|
+
Y([K, he], () => Eo);
|
|
4487
|
+
window.emWidgets = { topic: Nn };
|
|
4488
|
+
const So = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4489
|
+
function To(e, t) {
|
|
4447
4490
|
if (e) {
|
|
4448
4491
|
const r = document.createElement("style");
|
|
4449
4492
|
r.innerHTML = t, e.appendChild(r);
|
|
4450
4493
|
}
|
|
4451
4494
|
}
|
|
4452
|
-
function
|
|
4495
|
+
function Ho(e, t) {
|
|
4453
4496
|
const r = new URL(t);
|
|
4454
4497
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4455
4498
|
const i = document.createElement("style");
|
|
@@ -4458,7 +4501,7 @@ function xo(e, t) {
|
|
|
4458
4501
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4459
4502
|
});
|
|
4460
4503
|
}
|
|
4461
|
-
function
|
|
4504
|
+
function Ao(e, t, r) {
|
|
4462
4505
|
if (window.emMessageBus) {
|
|
4463
4506
|
const n = document.createElement("style");
|
|
4464
4507
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4466,13 +4509,13 @@ function Eo(e, t, r) {
|
|
|
4466
4509
|
});
|
|
4467
4510
|
}
|
|
4468
4511
|
}
|
|
4469
|
-
function
|
|
4470
|
-
|
|
4512
|
+
function Ft(e, t) {
|
|
4513
|
+
Hr(e, t);
|
|
4471
4514
|
}
|
|
4472
|
-
function
|
|
4473
|
-
|
|
4515
|
+
function Bo(e) {
|
|
4516
|
+
K.set(e);
|
|
4474
4517
|
}
|
|
4475
|
-
const
|
|
4518
|
+
const jt = {
|
|
4476
4519
|
en: {
|
|
4477
4520
|
cancel: "Cancel",
|
|
4478
4521
|
confirm: "Confirm"
|
|
@@ -4518,18 +4561,18 @@ const $t = {
|
|
|
4518
4561
|
confirm: "Confirm"
|
|
4519
4562
|
}
|
|
4520
4563
|
};
|
|
4521
|
-
function
|
|
4522
|
-
|
|
4564
|
+
function Co(e) {
|
|
4565
|
+
Qr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{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, 10px);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::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, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4523
4566
|
}
|
|
4524
|
-
const
|
|
4525
|
-
function
|
|
4567
|
+
const Po = (e) => ({}), kt = (e) => ({});
|
|
4568
|
+
function Oo(e) {
|
|
4526
4569
|
let t, r;
|
|
4527
4570
|
return {
|
|
4528
4571
|
c() {
|
|
4529
|
-
t =
|
|
4572
|
+
t = yt("svg"), r = yt("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");
|
|
4530
4573
|
},
|
|
4531
4574
|
m(n, i) {
|
|
4532
|
-
|
|
4575
|
+
ae(n, t, i), C(t, r);
|
|
4533
4576
|
},
|
|
4534
4577
|
p: N,
|
|
4535
4578
|
d(n) {
|
|
@@ -4537,21 +4580,21 @@ function Ho(e) {
|
|
|
4537
4580
|
}
|
|
4538
4581
|
};
|
|
4539
4582
|
}
|
|
4540
|
-
function
|
|
4583
|
+
function Vt(e) {
|
|
4541
4584
|
let t, r, n;
|
|
4542
4585
|
return {
|
|
4543
4586
|
c() {
|
|
4544
|
-
t = M("div"), r = M("h2"), n =
|
|
4587
|
+
t = M("div"), r = M("h2"), n = ue(
|
|
4545
4588
|
/*modaltitle*/
|
|
4546
4589
|
e[1]
|
|
4547
4590
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4548
4591
|
},
|
|
4549
4592
|
m(i, o) {
|
|
4550
|
-
|
|
4593
|
+
ae(i, t, o), C(t, r), C(r, n);
|
|
4551
4594
|
},
|
|
4552
4595
|
p(i, o) {
|
|
4553
4596
|
o & /*modaltitle*/
|
|
4554
|
-
2 &&
|
|
4597
|
+
2 && lt(
|
|
4555
4598
|
n,
|
|
4556
4599
|
/*modaltitle*/
|
|
4557
4600
|
i[1]
|
|
@@ -4562,17 +4605,17 @@ function Ut(e) {
|
|
|
4562
4605
|
}
|
|
4563
4606
|
};
|
|
4564
4607
|
}
|
|
4565
|
-
function
|
|
4608
|
+
function Xt(e) {
|
|
4566
4609
|
let t, r = (
|
|
4567
4610
|
/*$_*/
|
|
4568
4611
|
e[4]("cancel") + ""
|
|
4569
4612
|
), n, i, o;
|
|
4570
4613
|
return {
|
|
4571
4614
|
c() {
|
|
4572
|
-
t = M("button"), n =
|
|
4615
|
+
t = M("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
|
|
4573
4616
|
},
|
|
4574
4617
|
m(s, a) {
|
|
4575
|
-
|
|
4618
|
+
ae(s, t, a), C(t, n), i || (o = ke(
|
|
4576
4619
|
t,
|
|
4577
4620
|
"click",
|
|
4578
4621
|
/*click_handler*/
|
|
@@ -4582,52 +4625,52 @@ function Dt(e) {
|
|
|
4582
4625
|
p(s, a) {
|
|
4583
4626
|
a & /*$_*/
|
|
4584
4627
|
16 && r !== (r = /*$_*/
|
|
4585
|
-
s[4]("cancel") + "") &&
|
|
4628
|
+
s[4]("cancel") + "") && lt(n, r);
|
|
4586
4629
|
},
|
|
4587
4630
|
d(s) {
|
|
4588
4631
|
s && D(t), i = !1, o();
|
|
4589
4632
|
}
|
|
4590
4633
|
};
|
|
4591
4634
|
}
|
|
4592
|
-
function
|
|
4635
|
+
function Io(e) {
|
|
4593
4636
|
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4594
4637
|
/*$_*/
|
|
4595
4638
|
e[4]("confirm") + ""
|
|
4596
|
-
), f,
|
|
4639
|
+
), f, p, m, d;
|
|
4597
4640
|
const g = (
|
|
4598
4641
|
/*#slots*/
|
|
4599
4642
|
e[16].close
|
|
4600
|
-
), A =
|
|
4643
|
+
), A = kr(
|
|
4601
4644
|
g,
|
|
4602
4645
|
e,
|
|
4603
4646
|
/*$$scope*/
|
|
4604
4647
|
e[15],
|
|
4605
|
-
|
|
4606
|
-
), T = A ||
|
|
4648
|
+
kt
|
|
4649
|
+
), T = A || Oo();
|
|
4607
4650
|
let x = (
|
|
4608
4651
|
/*modaltitle*/
|
|
4609
|
-
e[1] &&
|
|
4610
|
-
),
|
|
4652
|
+
e[1] && Vt(e)
|
|
4653
|
+
), E = (
|
|
4611
4654
|
/*hascancelbutton*/
|
|
4612
|
-
e[2] &&
|
|
4655
|
+
e[2] && Xt(e)
|
|
4613
4656
|
);
|
|
4614
4657
|
return {
|
|
4615
4658
|
c() {
|
|
4616
|
-
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"),
|
|
4659
|
+
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), E && E.c(), u = fe(), h = M("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4617
4660
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4618
4661
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4619
4662
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4620
4663
|
},
|
|
4621
4664
|
m(b, B) {
|
|
4622
|
-
|
|
4623
|
-
e[0], C(r, a), C(r, l),
|
|
4624
|
-
|
|
4665
|
+
ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
|
|
4666
|
+
e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
|
|
4667
|
+
ke(
|
|
4625
4668
|
n,
|
|
4626
4669
|
"click",
|
|
4627
4670
|
/*close*/
|
|
4628
4671
|
e[6]
|
|
4629
4672
|
),
|
|
4630
|
-
|
|
4673
|
+
ke(
|
|
4631
4674
|
h,
|
|
4632
4675
|
"click",
|
|
4633
4676
|
/*click_handler_1*/
|
|
@@ -4636,82 +4679,82 @@ function Ao(e) {
|
|
|
4636
4679
|
], m = !0);
|
|
4637
4680
|
},
|
|
4638
4681
|
p(b, [B]) {
|
|
4639
|
-
A && A.p && (!
|
|
4640
|
-
32768) &&
|
|
4682
|
+
A && A.p && (!p || B & /*$$scope*/
|
|
4683
|
+
32768) && Xr(
|
|
4641
4684
|
A,
|
|
4642
4685
|
g,
|
|
4643
4686
|
b,
|
|
4644
4687
|
/*$$scope*/
|
|
4645
4688
|
b[15],
|
|
4646
|
-
|
|
4689
|
+
p ? Vr(
|
|
4647
4690
|
g,
|
|
4648
4691
|
/*$$scope*/
|
|
4649
4692
|
b[15],
|
|
4650
4693
|
B,
|
|
4651
|
-
|
|
4652
|
-
) :
|
|
4694
|
+
Po
|
|
4695
|
+
) : zr(
|
|
4653
4696
|
/*$$scope*/
|
|
4654
4697
|
b[15]
|
|
4655
4698
|
),
|
|
4656
|
-
|
|
4699
|
+
kt
|
|
4657
4700
|
), /*modaltitle*/
|
|
4658
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4701
|
+
b[1] ? x ? x.p(b, B) : (x = Vt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
|
|
4659
4702
|
1) && (s.innerHTML = /*modaltext*/
|
|
4660
4703
|
b[0]), /*hascancelbutton*/
|
|
4661
|
-
b[2] ?
|
|
4704
|
+
b[2] ? E ? E.p(b, B) : (E = Xt(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
|
|
4662
4705
|
16) && c !== (c = /*$_*/
|
|
4663
|
-
b[4]("confirm") + "") &&
|
|
4706
|
+
b[4]("confirm") + "") && lt(f, c);
|
|
4664
4707
|
},
|
|
4665
4708
|
i(b) {
|
|
4666
|
-
|
|
4709
|
+
p || (Kt(T, b), p = !0);
|
|
4667
4710
|
},
|
|
4668
4711
|
o(b) {
|
|
4669
|
-
|
|
4712
|
+
fn(T, b), p = !1;
|
|
4670
4713
|
},
|
|
4671
4714
|
d(b) {
|
|
4672
|
-
b && D(t), T && T.d(b), x && x.d(),
|
|
4715
|
+
b && D(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, U(d);
|
|
4673
4716
|
}
|
|
4674
4717
|
};
|
|
4675
4718
|
}
|
|
4676
|
-
function
|
|
4719
|
+
function Mo(e, t, r) {
|
|
4677
4720
|
let n;
|
|
4678
|
-
|
|
4679
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4721
|
+
jr(e, wo, (v) => r(4, n = v));
|
|
4722
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = So(A) !== "PC";
|
|
4680
4723
|
const x = () => {
|
|
4681
4724
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4682
|
-
},
|
|
4725
|
+
}, E = (v) => {
|
|
4683
4726
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4684
4727
|
}, b = () => {
|
|
4685
4728
|
fetch(m).then((j) => j.json()).then((j) => {
|
|
4686
|
-
Object.keys(j).forEach((
|
|
4687
|
-
|
|
4729
|
+
Object.keys(j).forEach((ft) => {
|
|
4730
|
+
Ft(ft, j[ft]);
|
|
4688
4731
|
});
|
|
4689
4732
|
}).catch((j) => {
|
|
4690
4733
|
console.log(j);
|
|
4691
4734
|
});
|
|
4692
4735
|
};
|
|
4693
|
-
Object.keys(
|
|
4694
|
-
|
|
4736
|
+
Object.keys(jt).forEach((v) => {
|
|
4737
|
+
Ft(v, jt[v]);
|
|
4695
4738
|
});
|
|
4696
4739
|
const B = () => {
|
|
4697
|
-
|
|
4740
|
+
Bo(c);
|
|
4698
4741
|
};
|
|
4699
|
-
|
|
4742
|
+
sn(() => () => {
|
|
4700
4743
|
});
|
|
4701
|
-
const ce = () =>
|
|
4702
|
-
function
|
|
4703
|
-
|
|
4744
|
+
const ce = () => E("cancel"), Ir = () => E("confirm");
|
|
4745
|
+
function Mr(v) {
|
|
4746
|
+
Ve[v ? "unshift" : "push"](() => {
|
|
4704
4747
|
g = v, r(3, g);
|
|
4705
4748
|
});
|
|
4706
4749
|
}
|
|
4707
4750
|
return e.$$set = (v) => {
|
|
4708
|
-
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12,
|
|
4751
|
+
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4709
4752
|
}, e.$$.update = () => {
|
|
4710
4753
|
e.$$.dirty & /*modaltext, lang*/
|
|
4711
4754
|
1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4712
|
-
2056 && f && g &&
|
|
4713
|
-
4104 &&
|
|
4714
|
-
16392 &&
|
|
4755
|
+
2056 && f && g && To(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4756
|
+
4104 && p && g && Ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4757
|
+
16392 && d && g && Ao(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4715
4758
|
8192 && m && b();
|
|
4716
4759
|
}, [
|
|
4717
4760
|
s,
|
|
@@ -4721,29 +4764,29 @@ function Bo(e, t, r) {
|
|
|
4721
4764
|
n,
|
|
4722
4765
|
T,
|
|
4723
4766
|
x,
|
|
4724
|
-
|
|
4767
|
+
E,
|
|
4725
4768
|
u,
|
|
4726
4769
|
h,
|
|
4727
4770
|
c,
|
|
4728
4771
|
f,
|
|
4729
|
-
d,
|
|
4730
|
-
m,
|
|
4731
4772
|
p,
|
|
4773
|
+
m,
|
|
4774
|
+
d,
|
|
4732
4775
|
o,
|
|
4733
4776
|
i,
|
|
4734
4777
|
ce,
|
|
4735
|
-
|
|
4736
|
-
|
|
4778
|
+
Ir,
|
|
4779
|
+
Mr
|
|
4737
4780
|
];
|
|
4738
4781
|
}
|
|
4739
|
-
class
|
|
4782
|
+
class Or extends vn {
|
|
4740
4783
|
constructor(t) {
|
|
4741
|
-
super(),
|
|
4784
|
+
super(), gn(
|
|
4742
4785
|
this,
|
|
4743
4786
|
t,
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4787
|
+
Mo,
|
|
4788
|
+
Io,
|
|
4789
|
+
Wt,
|
|
4747
4790
|
{
|
|
4748
4791
|
modaltext: 0,
|
|
4749
4792
|
modaltitle: 1,
|
|
@@ -4756,7 +4799,7 @@ class Hr extends dn {
|
|
|
4756
4799
|
translationurl: 13,
|
|
4757
4800
|
mbsource: 14
|
|
4758
4801
|
},
|
|
4759
|
-
|
|
4802
|
+
Co
|
|
4760
4803
|
);
|
|
4761
4804
|
}
|
|
4762
4805
|
get modaltext() {
|
|
@@ -4820,58 +4863,58 @@ class Hr extends dn {
|
|
|
4820
4863
|
this.$$set({ mbsource: t }), I();
|
|
4821
4864
|
}
|
|
4822
4865
|
}
|
|
4823
|
-
|
|
4824
|
-
const
|
|
4866
|
+
yn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4867
|
+
const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4825
4868
|
__proto__: null,
|
|
4826
|
-
default:
|
|
4869
|
+
default: Or
|
|
4827
4870
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4828
4871
|
export {
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4872
|
+
K as $,
|
|
4873
|
+
yn as A,
|
|
4874
|
+
Vo as B,
|
|
4875
|
+
$n as C,
|
|
4876
|
+
Hr as D,
|
|
4834
4877
|
N as E,
|
|
4835
|
-
|
|
4836
|
-
|
|
4878
|
+
jr as F,
|
|
4879
|
+
So as G,
|
|
4837
4880
|
fe as H,
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4881
|
+
Ro as I,
|
|
4882
|
+
Go as J,
|
|
4883
|
+
ko as K,
|
|
4884
|
+
Lo as L,
|
|
4842
4885
|
U as M,
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4886
|
+
lt as N,
|
|
4887
|
+
Uo as O,
|
|
4888
|
+
ke as P,
|
|
4889
|
+
ue as Q,
|
|
4890
|
+
yt as R,
|
|
4891
|
+
vn as S,
|
|
4892
|
+
wo as T,
|
|
4893
|
+
Xo as U,
|
|
4894
|
+
gn as a,
|
|
4895
|
+
Qr as b,
|
|
4896
|
+
Kt as c,
|
|
4854
4897
|
D as d,
|
|
4855
|
-
|
|
4898
|
+
Fo as e,
|
|
4856
4899
|
I as f,
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4900
|
+
ae as g,
|
|
4901
|
+
$o as h,
|
|
4902
|
+
Ur as i,
|
|
4903
|
+
kr as j,
|
|
4904
|
+
jo as k,
|
|
4862
4905
|
Ee as l,
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4906
|
+
zr as m,
|
|
4907
|
+
Vr as n,
|
|
4908
|
+
sn as o,
|
|
4866
4909
|
C as p,
|
|
4867
4910
|
M as q,
|
|
4868
4911
|
H as r,
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4912
|
+
Wt as s,
|
|
4913
|
+
fn as t,
|
|
4914
|
+
Xr as u,
|
|
4915
|
+
Ve as v,
|
|
4916
|
+
Do as w,
|
|
4917
|
+
To as x,
|
|
4918
|
+
Ho as y,
|
|
4919
|
+
Ao as z
|
|
4877
4920
|
};
|