@everymatrix/player-account-timeout 1.56.0 → 1.56.3
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-BOJYp5ik.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CHHl3cC2.js → PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js} +638 -583
- package/components/{PlayerAccountGeneralConfirmationModal-BMfVGVNy.js → PlayerAccountGeneralConfirmationModal-DoeReNtd.js} +676 -621
- package/components/{PlayerAccountTimeout-XQj4Cdw_.js → PlayerAccountTimeout-B6u6MiWX.js} +1415 -1395
- package/components/{PlayerAccountTimeout-CWUvNaQm.js → PlayerAccountTimeout-CNH_sF9k.js} +1546 -1527
- package/components/{PlayerAccountTimeout-DZUYC3Pl.cjs → PlayerAccountTimeout-Cf59Bjwj.cjs} +181 -183
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
- package/components/PlayerAccountGeneralConfirmationModal-BFNeYxW-.cjs +0 -5
- package/stencil/index-db5752f9--Bvt52z2.js +0 -610
- package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Te = (e, t, r) => t in e ?
|
|
1
|
+
var _r = Object.defineProperty, Er = Object.defineProperties;
|
|
2
|
+
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var nt = Object.getOwnPropertySymbols;
|
|
4
|
+
var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Te = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
wr.call(t, r) && Te(e, r, t[r]);
|
|
8
|
+
if (nt)
|
|
9
|
+
for (var r of nt(t))
|
|
10
|
+
Tr.call(t, r) && Te(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => Te(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
12
|
+
}, ot = (e, t) => Er(e, Sr(t));
|
|
13
|
+
var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var st = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,32 +29,33 @@ var nt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
for (const r in t)
|
|
32
|
+
function Hr(e, t) {
|
|
33
|
+
for (const r in t)
|
|
34
|
+
e[r] = t[r];
|
|
34
35
|
return (
|
|
35
36
|
/** @type {T & S} */
|
|
36
37
|
e
|
|
37
38
|
);
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
+
function Lt(e) {
|
|
40
41
|
return e();
|
|
41
42
|
}
|
|
42
|
-
function
|
|
43
|
+
function at() {
|
|
43
44
|
return /* @__PURE__ */ Object.create(null);
|
|
44
45
|
}
|
|
45
46
|
function q(e) {
|
|
46
|
-
e.forEach(
|
|
47
|
+
e.forEach(Lt);
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function qe(e) {
|
|
49
50
|
return typeof e == "function";
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function Rt(e, t) {
|
|
52
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function Br(e) {
|
|
55
56
|
return Object.keys(e).length === 0;
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function $t(e, ...t) {
|
|
58
59
|
if (e == null) {
|
|
59
60
|
for (const n of t)
|
|
60
61
|
n(void 0);
|
|
@@ -63,19 +64,19 @@ function Nt(e, ...t) {
|
|
|
63
64
|
const r = e.subscribe(...t);
|
|
64
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Ar(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push($t(t, r));
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Cr(e, t, r, n) {
|
|
70
71
|
if (e) {
|
|
71
|
-
const i =
|
|
72
|
+
const i = Gt(e, t, r, n);
|
|
72
73
|
return e[0](i);
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
-
return e[1] && n ?
|
|
76
|
+
function Gt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function Pr(e, t, r, n) {
|
|
79
80
|
if (e[2] && n) {
|
|
80
81
|
const i = e[2](n(r));
|
|
81
82
|
if (t.dirty === void 0)
|
|
@@ -90,13 +91,13 @@ function Hr(e, t, r, n) {
|
|
|
90
91
|
}
|
|
91
92
|
return t.dirty;
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function Or(e, t, r, n, i, o) {
|
|
94
95
|
if (i) {
|
|
95
|
-
const s =
|
|
96
|
+
const s = Gt(t, r, n, o);
|
|
96
97
|
e.p(s, i);
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function Ir(e) {
|
|
100
101
|
if (e.ctx.length > 32) {
|
|
101
102
|
const t = [], r = e.ctx.length / 32;
|
|
102
103
|
for (let n = 0; n < r; n++)
|
|
@@ -108,15 +109,16 @@ function Ar(e) {
|
|
|
108
109
|
function B(e, t) {
|
|
109
110
|
e.appendChild(t);
|
|
110
111
|
}
|
|
111
|
-
function
|
|
112
|
-
const n =
|
|
112
|
+
function Mr(e, t, r) {
|
|
113
|
+
const n = Nr(e);
|
|
113
114
|
if (!n.getElementById(t)) {
|
|
114
115
|
const i = N("style");
|
|
115
|
-
i.id = t, i.textContent = r,
|
|
116
|
+
i.id = t, i.textContent = r, Lr(n, i);
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
-
if (!e)
|
|
119
|
+
function Nr(e) {
|
|
120
|
+
if (!e)
|
|
121
|
+
return document;
|
|
120
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
121
123
|
return t && /** @type {ShadowRoot} */
|
|
122
124
|
t.host ? (
|
|
@@ -124,7 +126,7 @@ function Pr(e) {
|
|
|
124
126
|
t
|
|
125
127
|
) : e.ownerDocument;
|
|
126
128
|
}
|
|
127
|
-
function
|
|
129
|
+
function Lr(e, t) {
|
|
128
130
|
return B(
|
|
129
131
|
/** @type {Document} */
|
|
130
132
|
e.head || e,
|
|
@@ -137,14 +139,14 @@ function ae(e, t, r) {
|
|
|
137
139
|
function Y(e) {
|
|
138
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
139
141
|
}
|
|
140
|
-
function
|
|
142
|
+
function fo(e, t) {
|
|
141
143
|
for (let r = 0; r < e.length; r += 1)
|
|
142
144
|
e[r] && e[r].d(t);
|
|
143
145
|
}
|
|
144
146
|
function N(e) {
|
|
145
147
|
return document.createElement(e);
|
|
146
148
|
}
|
|
147
|
-
function
|
|
149
|
+
function ut(e) {
|
|
148
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
149
151
|
}
|
|
150
152
|
function z(e) {
|
|
@@ -153,33 +155,33 @@ function z(e) {
|
|
|
153
155
|
function le() {
|
|
154
156
|
return z(" ");
|
|
155
157
|
}
|
|
156
|
-
function
|
|
158
|
+
function mo() {
|
|
157
159
|
return z("");
|
|
158
160
|
}
|
|
159
|
-
function
|
|
161
|
+
function Ne(e, t, r, n) {
|
|
160
162
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
161
163
|
}
|
|
162
164
|
function H(e, t, r) {
|
|
163
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
164
166
|
}
|
|
165
|
-
function
|
|
167
|
+
function po(e, t, r) {
|
|
166
168
|
const n = t.toLowerCase();
|
|
167
169
|
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);
|
|
168
170
|
}
|
|
169
|
-
function
|
|
171
|
+
function Rr(e) {
|
|
170
172
|
return Array.from(e.childNodes);
|
|
171
173
|
}
|
|
172
174
|
function ge(e, t) {
|
|
173
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
174
176
|
t);
|
|
175
177
|
}
|
|
176
|
-
function
|
|
178
|
+
function bo(e, t) {
|
|
177
179
|
e.value = t == null ? "" : t;
|
|
178
180
|
}
|
|
179
|
-
function
|
|
181
|
+
function go(e, t, r, n) {
|
|
180
182
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
181
183
|
}
|
|
182
|
-
function
|
|
184
|
+
function vo(e, t, r) {
|
|
183
185
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
184
186
|
const i = e.options[n];
|
|
185
187
|
if (i.__value === t) {
|
|
@@ -189,11 +191,11 @@ function po(e, t, r) {
|
|
|
189
191
|
}
|
|
190
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
191
193
|
}
|
|
192
|
-
function
|
|
194
|
+
function yo(e) {
|
|
193
195
|
const t = e.querySelector(":checked");
|
|
194
196
|
return t && t.__value;
|
|
195
197
|
}
|
|
196
|
-
function
|
|
198
|
+
function $r(e) {
|
|
197
199
|
const t = {};
|
|
198
200
|
return e.childNodes.forEach(
|
|
199
201
|
/** @param {Element} node */
|
|
@@ -206,21 +208,22 @@ let ie;
|
|
|
206
208
|
function ne(e) {
|
|
207
209
|
ie = e;
|
|
208
210
|
}
|
|
209
|
-
function
|
|
210
|
-
if (!ie)
|
|
211
|
+
function Gr() {
|
|
212
|
+
if (!ie)
|
|
213
|
+
throw new Error("Function called outside component initialization");
|
|
211
214
|
return ie;
|
|
212
215
|
}
|
|
213
|
-
function
|
|
214
|
-
|
|
216
|
+
function Ur(e) {
|
|
217
|
+
Gr().$$.on_mount.push(e);
|
|
215
218
|
}
|
|
216
|
-
const k = [],
|
|
219
|
+
const k = [], Le = [];
|
|
217
220
|
let V = [];
|
|
218
|
-
const
|
|
219
|
-
let
|
|
220
|
-
function
|
|
221
|
-
|
|
221
|
+
const lt = [], Dr = /* @__PURE__ */ Promise.resolve();
|
|
222
|
+
let Re = !1;
|
|
223
|
+
function Fr() {
|
|
224
|
+
Re || (Re = !0, Dr.then(I));
|
|
222
225
|
}
|
|
223
|
-
function
|
|
226
|
+
function $e(e) {
|
|
224
227
|
V.push(e);
|
|
225
228
|
}
|
|
226
229
|
const He = /* @__PURE__ */ new Set();
|
|
@@ -233,64 +236,66 @@ function I() {
|
|
|
233
236
|
try {
|
|
234
237
|
for (; F < k.length; ) {
|
|
235
238
|
const t = k[F];
|
|
236
|
-
F++, ne(t),
|
|
239
|
+
F++, ne(t), jr(t.$$);
|
|
237
240
|
}
|
|
238
241
|
} catch (t) {
|
|
239
242
|
throw k.length = 0, F = 0, t;
|
|
240
243
|
}
|
|
241
|
-
for (ne(null), k.length = 0, F = 0;
|
|
244
|
+
for (ne(null), k.length = 0, F = 0; Le.length; )
|
|
245
|
+
Le.pop()();
|
|
242
246
|
for (let t = 0; t < V.length; t += 1) {
|
|
243
247
|
const r = V[t];
|
|
244
248
|
He.has(r) || (He.add(r), r());
|
|
245
249
|
}
|
|
246
250
|
V.length = 0;
|
|
247
251
|
} while (k.length);
|
|
248
|
-
for (;
|
|
249
|
-
|
|
250
|
-
|
|
252
|
+
for (; lt.length; )
|
|
253
|
+
lt.pop()();
|
|
254
|
+
Re = !1, He.clear(), ne(e);
|
|
251
255
|
}
|
|
252
|
-
function
|
|
256
|
+
function jr(e) {
|
|
253
257
|
if (e.fragment !== null) {
|
|
254
258
|
e.update(), q(e.before_update);
|
|
255
259
|
const t = e.dirty;
|
|
256
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
260
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
257
261
|
}
|
|
258
262
|
}
|
|
259
|
-
function
|
|
263
|
+
function kr(e) {
|
|
260
264
|
const t = [], r = [];
|
|
261
265
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
262
266
|
}
|
|
263
267
|
const fe = /* @__PURE__ */ new Set();
|
|
264
|
-
let
|
|
265
|
-
function
|
|
268
|
+
let Vr;
|
|
269
|
+
function Ut(e, t) {
|
|
266
270
|
e && e.i && (fe.delete(e), e.i(t));
|
|
267
271
|
}
|
|
268
|
-
function
|
|
272
|
+
function Xr(e, t, r, n) {
|
|
269
273
|
if (e && e.o) {
|
|
270
|
-
if (fe.has(e))
|
|
271
|
-
|
|
274
|
+
if (fe.has(e))
|
|
275
|
+
return;
|
|
276
|
+
fe.add(e), Vr.c.push(() => {
|
|
272
277
|
fe.delete(e);
|
|
273
278
|
}), e.o(t);
|
|
274
279
|
}
|
|
275
280
|
}
|
|
276
|
-
function
|
|
281
|
+
function xo(e) {
|
|
277
282
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
278
283
|
}
|
|
279
|
-
function
|
|
284
|
+
function zr(e, t, r) {
|
|
280
285
|
const { fragment: n, after_update: i } = e.$$;
|
|
281
|
-
n && n.m(t, r),
|
|
282
|
-
const o = e.$$.on_mount.map(
|
|
286
|
+
n && n.m(t, r), $e(() => {
|
|
287
|
+
const o = e.$$.on_mount.map(Lt).filter(qe);
|
|
283
288
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
|
|
284
|
-
}), i.forEach(
|
|
289
|
+
}), i.forEach($e);
|
|
285
290
|
}
|
|
286
|
-
function
|
|
291
|
+
function Wr(e, t) {
|
|
287
292
|
const r = e.$$;
|
|
288
|
-
r.fragment !== null && (
|
|
293
|
+
r.fragment !== null && (kr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
289
294
|
}
|
|
290
|
-
function
|
|
291
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
295
|
+
function Zr(e, t) {
|
|
296
|
+
e.$$.dirty[0] === -1 && (k.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
292
297
|
}
|
|
293
|
-
function
|
|
298
|
+
function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
294
299
|
const l = ie;
|
|
295
300
|
ne(e);
|
|
296
301
|
const u = e.$$ = {
|
|
@@ -300,7 +305,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
300
305
|
props: o,
|
|
301
306
|
update: L,
|
|
302
307
|
not_equal: i,
|
|
303
|
-
bound:
|
|
308
|
+
bound: at(),
|
|
304
309
|
// lifecycle
|
|
305
310
|
on_mount: [],
|
|
306
311
|
on_destroy: [],
|
|
@@ -309,7 +314,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
309
314
|
after_update: [],
|
|
310
315
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
311
316
|
// everything else
|
|
312
|
-
callbacks:
|
|
317
|
+
callbacks: at(),
|
|
313
318
|
dirty: a,
|
|
314
319
|
skip_bound: !1,
|
|
315
320
|
root: t.target || l.$$.root
|
|
@@ -318,19 +323,19 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
318
323
|
let h = !1;
|
|
319
324
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
320
325
|
const d = m.length ? m[0] : f;
|
|
321
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h &&
|
|
326
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Zr(e, c)), f;
|
|
322
327
|
}) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
323
328
|
if (t.hydrate) {
|
|
324
|
-
const c =
|
|
329
|
+
const c = Rr(t.target);
|
|
325
330
|
u.fragment && u.fragment.l(c), c.forEach(Y);
|
|
326
331
|
} else
|
|
327
332
|
u.fragment && u.fragment.c();
|
|
328
|
-
t.intro &&
|
|
333
|
+
t.intro && Ut(e.$$.fragment), zr(e, t.target, t.anchor), I();
|
|
329
334
|
}
|
|
330
335
|
ne(l);
|
|
331
336
|
}
|
|
332
|
-
let
|
|
333
|
-
typeof HTMLElement == "function" && (
|
|
337
|
+
let Dt;
|
|
338
|
+
typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
334
339
|
constructor(t, r, n) {
|
|
335
340
|
super();
|
|
336
341
|
/** The Svelte component constructor */
|
|
@@ -367,7 +372,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
367
372
|
}
|
|
368
373
|
}
|
|
369
374
|
connectedCallback() {
|
|
370
|
-
return
|
|
375
|
+
return st(this, null, function* () {
|
|
371
376
|
if (this.$$cn = !0, !this.$$c) {
|
|
372
377
|
let t = function(o) {
|
|
373
378
|
return () => {
|
|
@@ -391,7 +396,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
391
396
|
};
|
|
392
397
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
393
398
|
return;
|
|
394
|
-
const r = {}, n =
|
|
399
|
+
const r = {}, n = $r(this);
|
|
395
400
|
for (const o of this.$$s)
|
|
396
401
|
o in n && (r[o] = [t(o)]);
|
|
397
402
|
for (const o of this.attributes) {
|
|
@@ -402,7 +407,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
402
407
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
403
408
|
this.$$c = new this.$$ctor({
|
|
404
409
|
target: this.shadowRoot || this,
|
|
405
|
-
props:
|
|
410
|
+
props: ot(it({}, this.$$d), {
|
|
406
411
|
$$slots: r,
|
|
407
412
|
$$scope: {
|
|
408
413
|
ctx: []
|
|
@@ -480,8 +485,8 @@ function me(e, t, r, n) {
|
|
|
480
485
|
return t;
|
|
481
486
|
}
|
|
482
487
|
}
|
|
483
|
-
function
|
|
484
|
-
let s = class extends
|
|
488
|
+
function Jr(e, t, r, n, i, o) {
|
|
489
|
+
let s = class extends Dt {
|
|
485
490
|
constructor() {
|
|
486
491
|
super(e, r, i), this.$$p_d = t;
|
|
487
492
|
}
|
|
@@ -511,7 +516,7 @@ function zr(e, t, r, n, i, o) {
|
|
|
511
516
|
}), e.element = /** @type {any} */
|
|
512
517
|
s, s;
|
|
513
518
|
}
|
|
514
|
-
class
|
|
519
|
+
class qr {
|
|
515
520
|
constructor() {
|
|
516
521
|
/**
|
|
517
522
|
* ### PRIVATE API
|
|
@@ -532,7 +537,7 @@ class Wr {
|
|
|
532
537
|
}
|
|
533
538
|
/** @returns {void} */
|
|
534
539
|
$destroy() {
|
|
535
|
-
|
|
540
|
+
Wr(this, 1), this.$destroy = L;
|
|
536
541
|
}
|
|
537
542
|
/**
|
|
538
543
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -541,7 +546,7 @@ class Wr {
|
|
|
541
546
|
* @returns {() => void}
|
|
542
547
|
*/
|
|
543
548
|
$on(t, r) {
|
|
544
|
-
if (!
|
|
549
|
+
if (!qe(r))
|
|
545
550
|
return L;
|
|
546
551
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
547
552
|
return n.push(r), () => {
|
|
@@ -554,26 +559,41 @@ class Wr {
|
|
|
554
559
|
* @returns {void}
|
|
555
560
|
*/
|
|
556
561
|
$set(t) {
|
|
557
|
-
this.$$set && !
|
|
562
|
+
this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
558
563
|
}
|
|
559
564
|
}
|
|
560
|
-
const
|
|
561
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
562
|
-
var
|
|
563
|
-
function
|
|
565
|
+
const Yr = "4";
|
|
566
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
|
|
567
|
+
var _o = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
568
|
+
function Kr(e) {
|
|
564
569
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
565
570
|
}
|
|
566
|
-
|
|
567
|
-
|
|
571
|
+
/*! *****************************************************************************
|
|
572
|
+
Copyright (c) Microsoft Corporation.
|
|
573
|
+
|
|
574
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
575
|
+
purpose with or without fee is hereby granted.
|
|
576
|
+
|
|
577
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
578
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
579
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
580
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
581
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
582
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
583
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
584
|
+
***************************************************************************** */
|
|
585
|
+
var Ge = function(e, t) {
|
|
586
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
568
587
|
r.__proto__ = n;
|
|
569
588
|
} || function(r, n) {
|
|
570
|
-
for (var i in n)
|
|
571
|
-
|
|
589
|
+
for (var i in n)
|
|
590
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
591
|
+
}, Ge(e, t);
|
|
572
592
|
};
|
|
573
593
|
function $(e, t) {
|
|
574
594
|
if (typeof t != "function" && t !== null)
|
|
575
595
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
576
|
-
|
|
596
|
+
Ge(e, t);
|
|
577
597
|
function r() {
|
|
578
598
|
this.constructor = e;
|
|
579
599
|
}
|
|
@@ -583,61 +603,69 @@ var y = function() {
|
|
|
583
603
|
return y = Object.assign || function(t) {
|
|
584
604
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
585
605
|
r = arguments[n];
|
|
586
|
-
for (var o in r)
|
|
606
|
+
for (var o in r)
|
|
607
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
587
608
|
}
|
|
588
609
|
return t;
|
|
589
610
|
}, y.apply(this, arguments);
|
|
590
611
|
};
|
|
591
|
-
function
|
|
612
|
+
function en(e, t) {
|
|
592
613
|
var r = {};
|
|
593
|
-
for (var n in e)
|
|
614
|
+
for (var n in e)
|
|
615
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
594
616
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
595
617
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
596
618
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
597
619
|
return r;
|
|
598
620
|
}
|
|
599
|
-
function
|
|
621
|
+
function Ue(e) {
|
|
600
622
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
601
|
-
if (r)
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
623
|
+
if (r)
|
|
624
|
+
return r.call(e);
|
|
625
|
+
if (e && typeof e.length == "number")
|
|
626
|
+
return {
|
|
627
|
+
next: function() {
|
|
628
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
629
|
+
}
|
|
630
|
+
};
|
|
607
631
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
608
632
|
}
|
|
609
|
-
function
|
|
633
|
+
function De(e, t) {
|
|
610
634
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
611
|
-
if (!r)
|
|
635
|
+
if (!r)
|
|
636
|
+
return e;
|
|
612
637
|
var n = r.call(e), i, o = [], s;
|
|
613
638
|
try {
|
|
614
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
639
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
640
|
+
o.push(i.value);
|
|
615
641
|
} catch (a) {
|
|
616
642
|
s = { error: a };
|
|
617
643
|
} finally {
|
|
618
644
|
try {
|
|
619
645
|
i && !i.done && (r = n.return) && r.call(n);
|
|
620
646
|
} finally {
|
|
621
|
-
if (s)
|
|
647
|
+
if (s)
|
|
648
|
+
throw s.error;
|
|
622
649
|
}
|
|
623
650
|
}
|
|
624
651
|
return o;
|
|
625
652
|
}
|
|
626
653
|
function X(e, t, r) {
|
|
627
|
-
if (r || arguments.length === 2)
|
|
628
|
-
(
|
|
629
|
-
|
|
654
|
+
if (r || arguments.length === 2)
|
|
655
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
656
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
657
|
+
return e.concat(o || t);
|
|
630
658
|
}
|
|
631
659
|
function R(e) {
|
|
632
660
|
return typeof e == "function";
|
|
633
661
|
}
|
|
634
|
-
function
|
|
662
|
+
function Ft(e) {
|
|
635
663
|
var t = function(n) {
|
|
636
664
|
Error.call(n), n.stack = new Error().stack;
|
|
637
665
|
}, r = e(t);
|
|
638
666
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
639
667
|
}
|
|
640
|
-
var Be =
|
|
668
|
+
var Be = Ft(function(e) {
|
|
641
669
|
return function(r) {
|
|
642
670
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
643
671
|
` + r.map(function(n, i) {
|
|
@@ -646,7 +674,7 @@ var Be = Gt(function(e) {
|
|
|
646
674
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
647
675
|
};
|
|
648
676
|
});
|
|
649
|
-
function
|
|
677
|
+
function Fe(e, t) {
|
|
650
678
|
if (e) {
|
|
651
679
|
var r = e.indexOf(t);
|
|
652
680
|
0 <= r && e.splice(r, 1);
|
|
@@ -664,7 +692,7 @@ var xe = function() {
|
|
|
664
692
|
if (s)
|
|
665
693
|
if (this._parentage = null, Array.isArray(s))
|
|
666
694
|
try {
|
|
667
|
-
for (var a =
|
|
695
|
+
for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
|
|
668
696
|
var u = l.value;
|
|
669
697
|
u.remove(this);
|
|
670
698
|
}
|
|
@@ -674,7 +702,8 @@ var xe = function() {
|
|
|
674
702
|
try {
|
|
675
703
|
l && !l.done && (r = a.return) && r.call(a);
|
|
676
704
|
} finally {
|
|
677
|
-
if (t)
|
|
705
|
+
if (t)
|
|
706
|
+
throw t.error;
|
|
678
707
|
}
|
|
679
708
|
}
|
|
680
709
|
else
|
|
@@ -690,12 +719,12 @@ var xe = function() {
|
|
|
690
719
|
if (c) {
|
|
691
720
|
this._finalizers = null;
|
|
692
721
|
try {
|
|
693
|
-
for (var f =
|
|
722
|
+
for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
|
|
694
723
|
var d = m.value;
|
|
695
724
|
try {
|
|
696
|
-
|
|
725
|
+
ht(d);
|
|
697
726
|
} catch (p) {
|
|
698
|
-
o = o != null ? o : [], p instanceof Be ? o = X(X([],
|
|
727
|
+
o = o != null ? o : [], p instanceof Be ? o = X(X([], De(o)), De(p.errors)) : o.push(p);
|
|
699
728
|
}
|
|
700
729
|
}
|
|
701
730
|
} catch (p) {
|
|
@@ -704,7 +733,8 @@ var xe = function() {
|
|
|
704
733
|
try {
|
|
705
734
|
m && !m.done && (i = f.return) && i.call(f);
|
|
706
735
|
} finally {
|
|
707
|
-
if (n)
|
|
736
|
+
if (n)
|
|
737
|
+
throw n.error;
|
|
708
738
|
}
|
|
709
739
|
}
|
|
710
740
|
}
|
|
@@ -715,7 +745,7 @@ var xe = function() {
|
|
|
715
745
|
var r;
|
|
716
746
|
if (t && t !== this)
|
|
717
747
|
if (this.closed)
|
|
718
|
-
|
|
748
|
+
ht(t);
|
|
719
749
|
else {
|
|
720
750
|
if (t instanceof e) {
|
|
721
751
|
if (t.closed || t._hasParent(this))
|
|
@@ -732,52 +762,56 @@ var xe = function() {
|
|
|
732
762
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
733
763
|
}, e.prototype._removeParent = function(t) {
|
|
734
764
|
var r = this._parentage;
|
|
735
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
765
|
+
r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
|
|
736
766
|
}, e.prototype.remove = function(t) {
|
|
737
767
|
var r = this._finalizers;
|
|
738
|
-
r &&
|
|
768
|
+
r && Fe(r, t), t instanceof e && t._removeParent(this);
|
|
739
769
|
}, e.EMPTY = function() {
|
|
740
770
|
var t = new e();
|
|
741
771
|
return t.closed = !0, t;
|
|
742
772
|
}(), e;
|
|
743
|
-
}(),
|
|
744
|
-
function
|
|
773
|
+
}(), jt = xe.EMPTY;
|
|
774
|
+
function kt(e) {
|
|
745
775
|
return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
746
776
|
}
|
|
747
|
-
function
|
|
777
|
+
function ht(e) {
|
|
748
778
|
R(e) ? e() : e.unsubscribe();
|
|
749
779
|
}
|
|
750
|
-
var
|
|
751
|
-
|
|
752
|
-
|
|
780
|
+
var Vt = {
|
|
781
|
+
onUnhandledError: null,
|
|
782
|
+
onStoppedNotification: null,
|
|
783
|
+
Promise: void 0,
|
|
784
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
785
|
+
useDeprecatedNextContext: !1
|
|
786
|
+
}, tn = {
|
|
753
787
|
setTimeout: function(e, t) {
|
|
754
788
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
755
789
|
r[n - 2] = arguments[n];
|
|
756
|
-
return setTimeout.apply(void 0, X([e, t],
|
|
790
|
+
return setTimeout.apply(void 0, X([e, t], De(r)));
|
|
757
791
|
},
|
|
758
792
|
clearTimeout: function(e) {
|
|
759
793
|
return clearTimeout(e);
|
|
760
794
|
},
|
|
761
795
|
delegate: void 0
|
|
762
796
|
};
|
|
763
|
-
function
|
|
764
|
-
|
|
797
|
+
function rn(e) {
|
|
798
|
+
tn.setTimeout(function() {
|
|
765
799
|
throw e;
|
|
766
800
|
});
|
|
767
801
|
}
|
|
768
|
-
function
|
|
802
|
+
function ct() {
|
|
769
803
|
}
|
|
770
804
|
function de(e) {
|
|
771
805
|
e();
|
|
772
806
|
}
|
|
773
|
-
var
|
|
807
|
+
var Xt = function(e) {
|
|
774
808
|
$(t, e);
|
|
775
809
|
function t(r) {
|
|
776
810
|
var n = e.call(this) || this;
|
|
777
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
811
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = an, n;
|
|
778
812
|
}
|
|
779
813
|
return t.create = function(r, n, i) {
|
|
780
|
-
return new
|
|
814
|
+
return new je(r, n, i);
|
|
781
815
|
}, t.prototype.next = function(r) {
|
|
782
816
|
this.isStopped || this._next(r);
|
|
783
817
|
}, t.prototype.error = function(r) {
|
|
@@ -801,7 +835,11 @@ var Ft = function(e) {
|
|
|
801
835
|
this.unsubscribe();
|
|
802
836
|
}
|
|
803
837
|
}, t;
|
|
804
|
-
}(xe),
|
|
838
|
+
}(xe), nn = Function.prototype.bind;
|
|
839
|
+
function Ae(e, t) {
|
|
840
|
+
return nn.call(e, t);
|
|
841
|
+
}
|
|
842
|
+
var on = function() {
|
|
805
843
|
function e(t) {
|
|
806
844
|
this.partialObserver = t;
|
|
807
845
|
}
|
|
@@ -832,43 +870,55 @@ var Ft = function(e) {
|
|
|
832
870
|
he(r);
|
|
833
871
|
}
|
|
834
872
|
}, e;
|
|
835
|
-
}(),
|
|
873
|
+
}(), je = function(e) {
|
|
836
874
|
$(t, e);
|
|
837
875
|
function t(r, n, i) {
|
|
838
876
|
var o = e.call(this) || this, s;
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
877
|
+
if (R(r) || !r)
|
|
878
|
+
s = {
|
|
879
|
+
next: r != null ? r : void 0,
|
|
880
|
+
error: n != null ? n : void 0,
|
|
881
|
+
complete: i != null ? i : void 0
|
|
882
|
+
};
|
|
883
|
+
else {
|
|
884
|
+
var a;
|
|
885
|
+
o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
886
|
+
return o.unsubscribe();
|
|
887
|
+
}, s = {
|
|
888
|
+
next: r.next && Ae(r.next, a),
|
|
889
|
+
error: r.error && Ae(r.error, a),
|
|
890
|
+
complete: r.complete && Ae(r.complete, a)
|
|
891
|
+
}) : s = r;
|
|
892
|
+
}
|
|
893
|
+
return o.destination = new on(s), o;
|
|
844
894
|
}
|
|
845
895
|
return t;
|
|
846
|
-
}(
|
|
896
|
+
}(Xt);
|
|
847
897
|
function he(e) {
|
|
848
|
-
|
|
898
|
+
rn(e);
|
|
849
899
|
}
|
|
850
|
-
function
|
|
900
|
+
function sn(e) {
|
|
851
901
|
throw e;
|
|
852
902
|
}
|
|
853
|
-
var
|
|
903
|
+
var an = {
|
|
854
904
|
closed: !0,
|
|
855
|
-
next:
|
|
856
|
-
error:
|
|
857
|
-
complete:
|
|
858
|
-
},
|
|
905
|
+
next: ct,
|
|
906
|
+
error: sn,
|
|
907
|
+
complete: ct
|
|
908
|
+
}, un = function() {
|
|
859
909
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
860
910
|
}();
|
|
861
|
-
function
|
|
911
|
+
function ln(e) {
|
|
862
912
|
return e;
|
|
863
913
|
}
|
|
864
|
-
function
|
|
865
|
-
return e.length === 0 ?
|
|
914
|
+
function hn(e) {
|
|
915
|
+
return e.length === 0 ? ln : e.length === 1 ? e[0] : function(r) {
|
|
866
916
|
return e.reduce(function(n, i) {
|
|
867
917
|
return i(n);
|
|
868
918
|
}, r);
|
|
869
919
|
};
|
|
870
920
|
}
|
|
871
|
-
var
|
|
921
|
+
var ft = function() {
|
|
872
922
|
function e(t) {
|
|
873
923
|
t && (this._subscribe = t);
|
|
874
924
|
}
|
|
@@ -876,7 +926,7 @@ var lt = function() {
|
|
|
876
926
|
var r = new e();
|
|
877
927
|
return r.source = this, r.operator = t, r;
|
|
878
928
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
879
|
-
var i = this, o =
|
|
929
|
+
var i = this, o = fn(t) ? t : new je(t, r, n);
|
|
880
930
|
return de(function() {
|
|
881
931
|
var s = i, a = s.operator, l = s.source;
|
|
882
932
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -889,8 +939,8 @@ var lt = function() {
|
|
|
889
939
|
}
|
|
890
940
|
}, e.prototype.forEach = function(t, r) {
|
|
891
941
|
var n = this;
|
|
892
|
-
return r =
|
|
893
|
-
var s = new
|
|
942
|
+
return r = mt(r), new r(function(i, o) {
|
|
943
|
+
var s = new je({
|
|
894
944
|
next: function(a) {
|
|
895
945
|
try {
|
|
896
946
|
t(a);
|
|
@@ -906,15 +956,15 @@ var lt = function() {
|
|
|
906
956
|
}, e.prototype._subscribe = function(t) {
|
|
907
957
|
var r;
|
|
908
958
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
909
|
-
}, e.prototype[
|
|
959
|
+
}, e.prototype[un] = function() {
|
|
910
960
|
return this;
|
|
911
961
|
}, e.prototype.pipe = function() {
|
|
912
962
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
913
963
|
t[r] = arguments[r];
|
|
914
|
-
return
|
|
964
|
+
return hn(t)(this);
|
|
915
965
|
}, e.prototype.toPromise = function(t) {
|
|
916
966
|
var r = this;
|
|
917
|
-
return t =
|
|
967
|
+
return t = mt(t), new t(function(n, i) {
|
|
918
968
|
var o;
|
|
919
969
|
r.subscribe(function(s) {
|
|
920
970
|
return o = s;
|
|
@@ -928,32 +978,32 @@ var lt = function() {
|
|
|
928
978
|
return new e(t);
|
|
929
979
|
}, e;
|
|
930
980
|
}();
|
|
931
|
-
function
|
|
981
|
+
function mt(e) {
|
|
932
982
|
var t;
|
|
933
|
-
return (t = e != null ? e :
|
|
983
|
+
return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
934
984
|
}
|
|
935
|
-
function
|
|
985
|
+
function cn(e) {
|
|
936
986
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
937
987
|
}
|
|
938
|
-
function
|
|
939
|
-
return e && e instanceof
|
|
988
|
+
function fn(e) {
|
|
989
|
+
return e && e instanceof Xt || cn(e) && kt(e);
|
|
940
990
|
}
|
|
941
|
-
var
|
|
991
|
+
var mn = Ft(function(e) {
|
|
942
992
|
return function() {
|
|
943
993
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
944
994
|
};
|
|
945
|
-
}),
|
|
995
|
+
}), zt = function(e) {
|
|
946
996
|
$(t, e);
|
|
947
997
|
function t() {
|
|
948
998
|
var r = e.call(this) || this;
|
|
949
999
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
950
1000
|
}
|
|
951
1001
|
return t.prototype.lift = function(r) {
|
|
952
|
-
var n = new
|
|
1002
|
+
var n = new dt(this, this);
|
|
953
1003
|
return n.operator = r, n;
|
|
954
1004
|
}, t.prototype._throwIfClosed = function() {
|
|
955
1005
|
if (this.closed)
|
|
956
|
-
throw new
|
|
1006
|
+
throw new mn();
|
|
957
1007
|
}, t.prototype.next = function(r) {
|
|
958
1008
|
var n = this;
|
|
959
1009
|
de(function() {
|
|
@@ -961,7 +1011,7 @@ var ln = Gt(function(e) {
|
|
|
961
1011
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
962
1012
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
963
1013
|
try {
|
|
964
|
-
for (var s =
|
|
1014
|
+
for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
965
1015
|
var l = a.value;
|
|
966
1016
|
l.next(r);
|
|
967
1017
|
}
|
|
@@ -971,7 +1021,8 @@ var ln = Gt(function(e) {
|
|
|
971
1021
|
try {
|
|
972
1022
|
a && !a.done && (o = s.return) && o.call(s);
|
|
973
1023
|
} finally {
|
|
974
|
-
if (i)
|
|
1024
|
+
if (i)
|
|
1025
|
+
throw i.error;
|
|
975
1026
|
}
|
|
976
1027
|
}
|
|
977
1028
|
}
|
|
@@ -1009,19 +1060,19 @@ var ln = Gt(function(e) {
|
|
|
1009
1060
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1010
1061
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1011
1062
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1012
|
-
return o || s ?
|
|
1013
|
-
n.currentObservers = null,
|
|
1063
|
+
return o || s ? jt : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
1064
|
+
n.currentObservers = null, Fe(a, r);
|
|
1014
1065
|
}));
|
|
1015
1066
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1016
1067
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1017
1068
|
i ? r.error(o) : s && r.complete();
|
|
1018
1069
|
}, t.prototype.asObservable = function() {
|
|
1019
|
-
var r = new
|
|
1070
|
+
var r = new ft();
|
|
1020
1071
|
return r.source = this, r;
|
|
1021
1072
|
}, t.create = function(r, n) {
|
|
1022
|
-
return new
|
|
1073
|
+
return new dt(r, n);
|
|
1023
1074
|
}, t;
|
|
1024
|
-
}(
|
|
1075
|
+
}(ft), dt = function(e) {
|
|
1025
1076
|
$(t, e);
|
|
1026
1077
|
function t(r, n) {
|
|
1027
1078
|
var i = e.call(this) || this;
|
|
@@ -1038,17 +1089,17 @@ var ln = Gt(function(e) {
|
|
|
1038
1089
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1039
1090
|
}, t.prototype._subscribe = function(r) {
|
|
1040
1091
|
var n, i;
|
|
1041
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1092
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1042
1093
|
}, t;
|
|
1043
|
-
}(
|
|
1094
|
+
}(zt), Wt = {
|
|
1044
1095
|
now: function() {
|
|
1045
|
-
return (
|
|
1096
|
+
return (Wt.delegate || Date).now();
|
|
1046
1097
|
},
|
|
1047
1098
|
delegate: void 0
|
|
1048
|
-
},
|
|
1099
|
+
}, dn = function(e) {
|
|
1049
1100
|
$(t, e);
|
|
1050
1101
|
function t(r, n, i) {
|
|
1051
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1102
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
1052
1103
|
var o = e.call(this) || this;
|
|
1053
1104
|
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;
|
|
1054
1105
|
}
|
|
@@ -1068,15 +1119,15 @@ var ln = Gt(function(e) {
|
|
|
1068
1119
|
u && o.splice(0, u + 1);
|
|
1069
1120
|
}
|
|
1070
1121
|
}, t;
|
|
1071
|
-
}(
|
|
1072
|
-
const
|
|
1073
|
-
if (
|
|
1074
|
-
const r = new
|
|
1075
|
-
|
|
1122
|
+
}(zt);
|
|
1123
|
+
const pt = [], bt = {}, pn = (e, t = 0) => {
|
|
1124
|
+
if (pt.indexOf(e) == -1) {
|
|
1125
|
+
const r = new dn(t);
|
|
1126
|
+
bt[e] = r, pt.push(e);
|
|
1076
1127
|
}
|
|
1077
|
-
return
|
|
1128
|
+
return bt[e];
|
|
1078
1129
|
}, j = [];
|
|
1079
|
-
function
|
|
1130
|
+
function bn(e, t) {
|
|
1080
1131
|
return {
|
|
1081
1132
|
subscribe: _e(e, t).subscribe
|
|
1082
1133
|
};
|
|
@@ -1085,7 +1136,7 @@ function _e(e, t = L) {
|
|
|
1085
1136
|
let r;
|
|
1086
1137
|
const n = /* @__PURE__ */ new Set();
|
|
1087
1138
|
function i(a) {
|
|
1088
|
-
if (
|
|
1139
|
+
if (Rt(e, a) && (e = a, r)) {
|
|
1089
1140
|
const l = !j.length;
|
|
1090
1141
|
for (const u of n)
|
|
1091
1142
|
u[1](), j.push(u, e);
|
|
@@ -1112,7 +1163,7 @@ function K(e, t, r) {
|
|
|
1112
1163
|
if (!i.every(Boolean))
|
|
1113
1164
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1114
1165
|
const o = t.length < 2;
|
|
1115
|
-
return
|
|
1166
|
+
return bn(r, (s, a) => {
|
|
1116
1167
|
let l = !1;
|
|
1117
1168
|
const u = [];
|
|
1118
1169
|
let h = 0, c = L;
|
|
@@ -1121,9 +1172,9 @@ function K(e, t, r) {
|
|
|
1121
1172
|
return;
|
|
1122
1173
|
c();
|
|
1123
1174
|
const d = t(n ? u[0] : u, s, a);
|
|
1124
|
-
o ? s(d) : c =
|
|
1175
|
+
o ? s(d) : c = qe(d) ? d : L;
|
|
1125
1176
|
}, m = i.map(
|
|
1126
|
-
(d, p) =>
|
|
1177
|
+
(d, p) => $t(
|
|
1127
1178
|
d,
|
|
1128
1179
|
(w) => {
|
|
1129
1180
|
u[p] = w, h &= ~(1 << p), l && f();
|
|
@@ -1138,67 +1189,67 @@ function K(e, t, r) {
|
|
|
1138
1189
|
};
|
|
1139
1190
|
});
|
|
1140
1191
|
}
|
|
1141
|
-
var
|
|
1142
|
-
return
|
|
1192
|
+
var gn = function(t) {
|
|
1193
|
+
return vn(t) && !yn(t);
|
|
1143
1194
|
};
|
|
1144
|
-
function
|
|
1195
|
+
function vn(e) {
|
|
1145
1196
|
return !!e && typeof e == "object";
|
|
1146
1197
|
}
|
|
1147
|
-
function
|
|
1198
|
+
function yn(e) {
|
|
1148
1199
|
var t = Object.prototype.toString.call(e);
|
|
1149
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1200
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1150
1201
|
}
|
|
1151
|
-
var
|
|
1152
|
-
function
|
|
1153
|
-
return e.$$typeof ===
|
|
1202
|
+
var xn = typeof Symbol == "function" && Symbol.for, _n = xn ? Symbol.for("react.element") : 60103;
|
|
1203
|
+
function En(e) {
|
|
1204
|
+
return e.$$typeof === _n;
|
|
1154
1205
|
}
|
|
1155
|
-
function
|
|
1206
|
+
function Sn(e) {
|
|
1156
1207
|
return Array.isArray(e) ? [] : {};
|
|
1157
1208
|
}
|
|
1158
1209
|
function oe(e, t) {
|
|
1159
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? W(
|
|
1210
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(Sn(e), e, t) : e;
|
|
1160
1211
|
}
|
|
1161
|
-
function
|
|
1212
|
+
function wn(e, t, r) {
|
|
1162
1213
|
return e.concat(t).map(function(n) {
|
|
1163
1214
|
return oe(n, r);
|
|
1164
1215
|
});
|
|
1165
1216
|
}
|
|
1166
|
-
function
|
|
1217
|
+
function Tn(e, t) {
|
|
1167
1218
|
if (!t.customMerge)
|
|
1168
1219
|
return W;
|
|
1169
1220
|
var r = t.customMerge(e);
|
|
1170
1221
|
return typeof r == "function" ? r : W;
|
|
1171
1222
|
}
|
|
1172
|
-
function
|
|
1223
|
+
function Hn(e) {
|
|
1173
1224
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1174
1225
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1175
1226
|
}) : [];
|
|
1176
1227
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return Object.keys(e).concat(
|
|
1228
|
+
function gt(e) {
|
|
1229
|
+
return Object.keys(e).concat(Hn(e));
|
|
1179
1230
|
}
|
|
1180
|
-
function
|
|
1231
|
+
function Zt(e, t) {
|
|
1181
1232
|
try {
|
|
1182
1233
|
return t in e;
|
|
1183
1234
|
} catch (r) {
|
|
1184
1235
|
return !1;
|
|
1185
1236
|
}
|
|
1186
1237
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return
|
|
1238
|
+
function Bn(e, t) {
|
|
1239
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1189
1240
|
}
|
|
1190
|
-
function
|
|
1241
|
+
function An(e, t, r) {
|
|
1191
1242
|
var n = {};
|
|
1192
|
-
return r.isMergeableObject(e) &&
|
|
1243
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1193
1244
|
n[i] = oe(e[i], r);
|
|
1194
|
-
}),
|
|
1195
|
-
|
|
1245
|
+
}), gt(t).forEach(function(i) {
|
|
1246
|
+
Bn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1196
1247
|
}), n;
|
|
1197
1248
|
}
|
|
1198
1249
|
function W(e, t, r) {
|
|
1199
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1250
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1200
1251
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1201
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1252
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : oe(t, r);
|
|
1202
1253
|
}
|
|
1203
1254
|
W.all = function(t, r) {
|
|
1204
1255
|
if (!Array.isArray(t))
|
|
@@ -1207,56 +1258,58 @@ W.all = function(t, r) {
|
|
|
1207
1258
|
return W(n, i, r);
|
|
1208
1259
|
}, {});
|
|
1209
1260
|
};
|
|
1210
|
-
var
|
|
1211
|
-
const
|
|
1212
|
-
function
|
|
1213
|
-
var r = t && t.cache ? t.cache :
|
|
1261
|
+
var Cn = W, Pn = Cn;
|
|
1262
|
+
const On = /* @__PURE__ */ Kr(Pn);
|
|
1263
|
+
function Ce(e, t) {
|
|
1264
|
+
var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Mn;
|
|
1214
1265
|
return i(e, {
|
|
1215
1266
|
cache: r,
|
|
1216
1267
|
serializer: n
|
|
1217
1268
|
});
|
|
1218
1269
|
}
|
|
1219
|
-
function
|
|
1270
|
+
function In(e) {
|
|
1220
1271
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1221
1272
|
}
|
|
1222
|
-
function
|
|
1223
|
-
var i =
|
|
1273
|
+
function Qt(e, t, r, n) {
|
|
1274
|
+
var i = In(n) ? n : r(n), o = t.get(i);
|
|
1224
1275
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1225
1276
|
}
|
|
1226
|
-
function
|
|
1277
|
+
function Jt(e, t, r) {
|
|
1227
1278
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1228
1279
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1229
1280
|
}
|
|
1230
|
-
function
|
|
1281
|
+
function Ye(e, t, r, n, i) {
|
|
1231
1282
|
return r.bind(t, e, n, i);
|
|
1232
1283
|
}
|
|
1233
|
-
function
|
|
1234
|
-
var r = e.length === 1 ?
|
|
1235
|
-
return
|
|
1284
|
+
function Mn(e, t) {
|
|
1285
|
+
var r = e.length === 1 ? Qt : Jt;
|
|
1286
|
+
return Ye(e, this, r, t.cache.create(), t.serializer);
|
|
1287
|
+
}
|
|
1288
|
+
function Nn(e, t) {
|
|
1289
|
+
return Ye(e, this, Jt, t.cache.create(), t.serializer);
|
|
1236
1290
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1291
|
+
function Ln(e, t) {
|
|
1292
|
+
return Ye(e, this, Qt, t.cache.create(), t.serializer);
|
|
1239
1293
|
}
|
|
1240
|
-
var
|
|
1294
|
+
var Rn = function() {
|
|
1241
1295
|
return JSON.stringify(arguments);
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
}()
|
|
1254
|
-
), Nn = {
|
|
1296
|
+
};
|
|
1297
|
+
function Ke() {
|
|
1298
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1299
|
+
}
|
|
1300
|
+
Ke.prototype.get = function(e) {
|
|
1301
|
+
return this.cache[e];
|
|
1302
|
+
};
|
|
1303
|
+
Ke.prototype.set = function(e, t) {
|
|
1304
|
+
this.cache[e] = t;
|
|
1305
|
+
};
|
|
1306
|
+
var $n = {
|
|
1255
1307
|
create: function() {
|
|
1256
|
-
return new
|
|
1308
|
+
return new Ke();
|
|
1257
1309
|
}
|
|
1258
|
-
},
|
|
1259
|
-
variadic:
|
|
1310
|
+
}, Pe = {
|
|
1311
|
+
variadic: Nn,
|
|
1312
|
+
monadic: Ln
|
|
1260
1313
|
}, b;
|
|
1261
1314
|
(function(e) {
|
|
1262
1315
|
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";
|
|
@@ -1269,43 +1322,43 @@ var Z;
|
|
|
1269
1322
|
(function(e) {
|
|
1270
1323
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1271
1324
|
})(Z || (Z = {}));
|
|
1272
|
-
function
|
|
1325
|
+
function vt(e) {
|
|
1273
1326
|
return e.type === S.literal;
|
|
1274
1327
|
}
|
|
1275
|
-
function
|
|
1328
|
+
function Gn(e) {
|
|
1276
1329
|
return e.type === S.argument;
|
|
1277
1330
|
}
|
|
1278
|
-
function
|
|
1331
|
+
function qt(e) {
|
|
1279
1332
|
return e.type === S.number;
|
|
1280
1333
|
}
|
|
1281
|
-
function
|
|
1334
|
+
function Yt(e) {
|
|
1282
1335
|
return e.type === S.date;
|
|
1283
1336
|
}
|
|
1284
|
-
function
|
|
1337
|
+
function Kt(e) {
|
|
1285
1338
|
return e.type === S.time;
|
|
1286
1339
|
}
|
|
1287
|
-
function
|
|
1340
|
+
function er(e) {
|
|
1288
1341
|
return e.type === S.select;
|
|
1289
1342
|
}
|
|
1290
|
-
function
|
|
1343
|
+
function tr(e) {
|
|
1291
1344
|
return e.type === S.plural;
|
|
1292
1345
|
}
|
|
1293
|
-
function
|
|
1346
|
+
function Un(e) {
|
|
1294
1347
|
return e.type === S.pound;
|
|
1295
1348
|
}
|
|
1296
|
-
function
|
|
1349
|
+
function rr(e) {
|
|
1297
1350
|
return e.type === S.tag;
|
|
1298
1351
|
}
|
|
1299
|
-
function
|
|
1352
|
+
function nr(e) {
|
|
1300
1353
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1301
1354
|
}
|
|
1302
|
-
function
|
|
1355
|
+
function ke(e) {
|
|
1303
1356
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1304
1357
|
}
|
|
1305
|
-
var
|
|
1306
|
-
function
|
|
1358
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
|
|
1359
|
+
function Fn(e) {
|
|
1307
1360
|
var t = {};
|
|
1308
|
-
return e.replace(
|
|
1361
|
+
return e.replace(Dn, function(r) {
|
|
1309
1362
|
var n = r.length;
|
|
1310
1363
|
switch (r[0]) {
|
|
1311
1364
|
case "G":
|
|
@@ -1394,11 +1447,11 @@ function Gn(e) {
|
|
|
1394
1447
|
return "";
|
|
1395
1448
|
}), t;
|
|
1396
1449
|
}
|
|
1397
|
-
var
|
|
1398
|
-
function
|
|
1450
|
+
var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1451
|
+
function kn(e) {
|
|
1399
1452
|
if (e.length === 0)
|
|
1400
1453
|
throw new Error("Number skeleton cannot be empty");
|
|
1401
|
-
for (var t = e.split(
|
|
1454
|
+
for (var t = e.split(jn).filter(function(f) {
|
|
1402
1455
|
return f.length > 0;
|
|
1403
1456
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1404
1457
|
var o = i[n], s = o.split("/");
|
|
@@ -1413,17 +1466,17 @@ function Dn(e) {
|
|
|
1413
1466
|
}
|
|
1414
1467
|
return r;
|
|
1415
1468
|
}
|
|
1416
|
-
function
|
|
1469
|
+
function Vn(e) {
|
|
1417
1470
|
return e.replace(/^(.*?)-/, "");
|
|
1418
1471
|
}
|
|
1419
|
-
var
|
|
1420
|
-
function
|
|
1472
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1473
|
+
function xt(e) {
|
|
1421
1474
|
var t = {};
|
|
1422
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1475
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
1423
1476
|
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)), "";
|
|
1424
1477
|
}), t;
|
|
1425
1478
|
}
|
|
1426
|
-
function
|
|
1479
|
+
function ar(e) {
|
|
1427
1480
|
switch (e) {
|
|
1428
1481
|
case "sign-auto":
|
|
1429
1482
|
return {
|
|
@@ -1463,7 +1516,7 @@ function nr(e) {
|
|
|
1463
1516
|
};
|
|
1464
1517
|
}
|
|
1465
1518
|
}
|
|
1466
|
-
function
|
|
1519
|
+
function zn(e) {
|
|
1467
1520
|
var t;
|
|
1468
1521
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1469
1522
|
notation: "engineering"
|
|
@@ -1471,17 +1524,17 @@ function kn(e) {
|
|
|
1471
1524
|
notation: "scientific"
|
|
1472
1525
|
}, e = e.slice(1)), t) {
|
|
1473
1526
|
var r = e.slice(0, 2);
|
|
1474
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1527
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1475
1528
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1476
1529
|
t.minimumIntegerDigits = e.length;
|
|
1477
1530
|
}
|
|
1478
1531
|
return t;
|
|
1479
1532
|
}
|
|
1480
|
-
function
|
|
1481
|
-
var t = {}, r =
|
|
1533
|
+
function _t(e) {
|
|
1534
|
+
var t = {}, r = ar(e);
|
|
1482
1535
|
return r || t;
|
|
1483
1536
|
}
|
|
1484
|
-
function
|
|
1537
|
+
function Wn(e) {
|
|
1485
1538
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1486
1539
|
var i = n[r];
|
|
1487
1540
|
switch (i.stem) {
|
|
@@ -1505,7 +1558,7 @@ function Vn(e) {
|
|
|
1505
1558
|
continue;
|
|
1506
1559
|
case "measure-unit":
|
|
1507
1560
|
case "unit":
|
|
1508
|
-
t.style = "unit", t.unit =
|
|
1561
|
+
t.style = "unit", t.unit = Vn(i.options[0]);
|
|
1509
1562
|
continue;
|
|
1510
1563
|
case "compact-short":
|
|
1511
1564
|
case "K":
|
|
@@ -1517,12 +1570,12 @@ function Vn(e) {
|
|
|
1517
1570
|
continue;
|
|
1518
1571
|
case "scientific":
|
|
1519
1572
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1520
|
-
return y(y({}, l),
|
|
1573
|
+
return y(y({}, l), _t(u));
|
|
1521
1574
|
}, {}));
|
|
1522
1575
|
continue;
|
|
1523
1576
|
case "engineering":
|
|
1524
1577
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1525
|
-
return y(y({}, l),
|
|
1578
|
+
return y(y({}, l), _t(u));
|
|
1526
1579
|
}, {}));
|
|
1527
1580
|
continue;
|
|
1528
1581
|
case "notation-simple":
|
|
@@ -1567,7 +1620,7 @@ function Vn(e) {
|
|
|
1567
1620
|
case "integer-width":
|
|
1568
1621
|
if (i.options.length > 1)
|
|
1569
1622
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1570
|
-
i.options[0].replace(
|
|
1623
|
+
i.options[0].replace(Xn, function(l, u, h, c, f, m) {
|
|
1571
1624
|
if (u)
|
|
1572
1625
|
t.minimumIntegerDigits = h.length;
|
|
1573
1626
|
else {
|
|
@@ -1580,27 +1633,27 @@ function Vn(e) {
|
|
|
1580
1633
|
});
|
|
1581
1634
|
continue;
|
|
1582
1635
|
}
|
|
1583
|
-
if (
|
|
1636
|
+
if (sr.test(i.stem)) {
|
|
1584
1637
|
t.minimumIntegerDigits = i.stem.length;
|
|
1585
1638
|
continue;
|
|
1586
1639
|
}
|
|
1587
|
-
if (
|
|
1640
|
+
if (yt.test(i.stem)) {
|
|
1588
1641
|
if (i.options.length > 1)
|
|
1589
1642
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1590
|
-
i.stem.replace(
|
|
1643
|
+
i.stem.replace(yt, function(l, u, h, c, f, m) {
|
|
1591
1644
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1592
1645
|
});
|
|
1593
1646
|
var o = i.options[0];
|
|
1594
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1647
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
|
|
1595
1648
|
continue;
|
|
1596
1649
|
}
|
|
1597
|
-
if (
|
|
1598
|
-
t = y(y({}, t),
|
|
1650
|
+
if (or.test(i.stem)) {
|
|
1651
|
+
t = y(y({}, t), xt(i.stem));
|
|
1599
1652
|
continue;
|
|
1600
1653
|
}
|
|
1601
|
-
var s =
|
|
1654
|
+
var s = ar(i.stem);
|
|
1602
1655
|
s && (t = y(y({}, t), s));
|
|
1603
|
-
var a =
|
|
1656
|
+
var a = zn(i.stem);
|
|
1604
1657
|
a && (t = y(y({}, t), a));
|
|
1605
1658
|
}
|
|
1606
1659
|
return t;
|
|
@@ -3020,22 +3073,23 @@ var ce = {
|
|
|
3020
3073
|
"h"
|
|
3021
3074
|
]
|
|
3022
3075
|
};
|
|
3023
|
-
function
|
|
3076
|
+
function Zn(e, t) {
|
|
3024
3077
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3025
3078
|
var i = e.charAt(n);
|
|
3026
3079
|
if (i === "j") {
|
|
3027
3080
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3028
3081
|
o++, n++;
|
|
3029
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3082
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qn(t);
|
|
3030
3083
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3031
3084
|
r += l;
|
|
3032
3085
|
for (; s-- > 0; )
|
|
3033
3086
|
r = u + r;
|
|
3034
|
-
} else
|
|
3087
|
+
} else
|
|
3088
|
+
i === "J" ? r += "H" : r += i;
|
|
3035
3089
|
}
|
|
3036
3090
|
return r;
|
|
3037
3091
|
}
|
|
3038
|
-
function
|
|
3092
|
+
function Qn(e) {
|
|
3039
3093
|
var t = e.hourCycle;
|
|
3040
3094
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3041
3095
|
e.hourCycles && // @ts-ignore
|
|
@@ -3057,20 +3111,20 @@ function zn(e) {
|
|
|
3057
3111
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3058
3112
|
return i[0];
|
|
3059
3113
|
}
|
|
3060
|
-
var
|
|
3114
|
+
var Oe, Jn = new RegExp("^".concat(ir.source, "*")), qn = new RegExp("".concat(ir.source, "*$"));
|
|
3061
3115
|
function v(e, t) {
|
|
3062
3116
|
return { start: e, end: t };
|
|
3063
3117
|
}
|
|
3064
|
-
var
|
|
3118
|
+
var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
|
|
3065
3119
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3066
|
-
},
|
|
3120
|
+
}, Ve = !0;
|
|
3067
3121
|
try {
|
|
3068
|
-
var
|
|
3069
|
-
|
|
3122
|
+
var si = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3123
|
+
Ve = ((Oe = si.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3070
3124
|
} catch (e) {
|
|
3071
|
-
|
|
3125
|
+
Ve = !1;
|
|
3072
3126
|
}
|
|
3073
|
-
var
|
|
3127
|
+
var Et = Yn ? (
|
|
3074
3128
|
// Native
|
|
3075
3129
|
function(t, r, n) {
|
|
3076
3130
|
return t.startsWith(r, n);
|
|
@@ -3080,7 +3134,7 @@ var yt = Qn ? (
|
|
|
3080
3134
|
function(t, r, n) {
|
|
3081
3135
|
return t.slice(n, n + r.length) === r;
|
|
3082
3136
|
}
|
|
3083
|
-
),
|
|
3137
|
+
), Xe = Kn ? String.fromCodePoint : (
|
|
3084
3138
|
// IE11
|
|
3085
3139
|
function() {
|
|
3086
3140
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3092,9 +3146,9 @@ var yt = Qn ? (
|
|
|
3092
3146
|
}
|
|
3093
3147
|
return n;
|
|
3094
3148
|
}
|
|
3095
|
-
),
|
|
3149
|
+
), St = (
|
|
3096
3150
|
// native
|
|
3097
|
-
|
|
3151
|
+
ei ? Object.fromEntries : (
|
|
3098
3152
|
// Ponyfill
|
|
3099
3153
|
function(t) {
|
|
3100
3154
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3104,7 +3158,7 @@ var yt = Qn ? (
|
|
|
3104
3158
|
return r;
|
|
3105
3159
|
}
|
|
3106
3160
|
)
|
|
3107
|
-
),
|
|
3161
|
+
), ur = ti ? (
|
|
3108
3162
|
// Native
|
|
3109
3163
|
function(t, r) {
|
|
3110
3164
|
return t.codePointAt(r);
|
|
@@ -3118,7 +3172,7 @@ var yt = Qn ? (
|
|
|
3118
3172
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3119
3173
|
}
|
|
3120
3174
|
}
|
|
3121
|
-
),
|
|
3175
|
+
), ai = ri ? (
|
|
3122
3176
|
// Native
|
|
3123
3177
|
function(t) {
|
|
3124
3178
|
return t.trimStart();
|
|
@@ -3126,9 +3180,9 @@ var yt = Qn ? (
|
|
|
3126
3180
|
) : (
|
|
3127
3181
|
// Ponyfill
|
|
3128
3182
|
function(t) {
|
|
3129
|
-
return t.replace(
|
|
3183
|
+
return t.replace(Jn, "");
|
|
3130
3184
|
}
|
|
3131
|
-
),
|
|
3185
|
+
), ui = ni ? (
|
|
3132
3186
|
// Native
|
|
3133
3187
|
function(t) {
|
|
3134
3188
|
return t.trimEnd();
|
|
@@ -3136,32 +3190,32 @@ var yt = Qn ? (
|
|
|
3136
3190
|
) : (
|
|
3137
3191
|
// Ponyfill
|
|
3138
3192
|
function(t) {
|
|
3139
|
-
return t.replace(
|
|
3193
|
+
return t.replace(qn, "");
|
|
3140
3194
|
}
|
|
3141
3195
|
);
|
|
3142
|
-
function
|
|
3196
|
+
function lr(e, t) {
|
|
3143
3197
|
return new RegExp(e, t);
|
|
3144
3198
|
}
|
|
3145
|
-
var
|
|
3146
|
-
if (
|
|
3147
|
-
var
|
|
3148
|
-
|
|
3199
|
+
var ze;
|
|
3200
|
+
if (Ve) {
|
|
3201
|
+
var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3202
|
+
ze = function(t, r) {
|
|
3149
3203
|
var n;
|
|
3150
|
-
|
|
3151
|
-
var i =
|
|
3204
|
+
wt.lastIndex = r;
|
|
3205
|
+
var i = wt.exec(t);
|
|
3152
3206
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3153
3207
|
};
|
|
3154
3208
|
} else
|
|
3155
|
-
|
|
3209
|
+
ze = function(t, r) {
|
|
3156
3210
|
for (var n = []; ; ) {
|
|
3157
|
-
var i =
|
|
3158
|
-
if (i === void 0 ||
|
|
3211
|
+
var i = ur(t, r);
|
|
3212
|
+
if (i === void 0 || hr(i) || fi(i))
|
|
3159
3213
|
break;
|
|
3160
3214
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3161
3215
|
}
|
|
3162
|
-
return
|
|
3216
|
+
return Xe.apply(void 0, n);
|
|
3163
3217
|
};
|
|
3164
|
-
var
|
|
3218
|
+
var li = (
|
|
3165
3219
|
/** @class */
|
|
3166
3220
|
function() {
|
|
3167
3221
|
function e(t, r) {
|
|
@@ -3192,7 +3246,7 @@ var si = (
|
|
|
3192
3246
|
if (n)
|
|
3193
3247
|
break;
|
|
3194
3248
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3195
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3249
|
+
} else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
|
|
3196
3250
|
var s = this.parseTag(t, r);
|
|
3197
3251
|
if (s.err)
|
|
3198
3252
|
return s;
|
|
@@ -3225,7 +3279,7 @@ var si = (
|
|
|
3225
3279
|
return o;
|
|
3226
3280
|
var s = o.val, a = this.clonePosition();
|
|
3227
3281
|
if (this.bumpIf("</")) {
|
|
3228
|
-
if (this.isEOF() || !
|
|
3282
|
+
if (this.isEOF() || !We(this.char()))
|
|
3229
3283
|
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3230
3284
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3231
3285
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3243,7 +3297,7 @@ var si = (
|
|
|
3243
3297
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3244
3298
|
}, e.prototype.parseTagName = function() {
|
|
3245
3299
|
var t = this.offset();
|
|
3246
|
-
for (this.bump(); !this.isEOF() &&
|
|
3300
|
+
for (this.bump(); !this.isEOF() && ci(this.char()); )
|
|
3247
3301
|
this.bump();
|
|
3248
3302
|
return this.message.slice(t, this.offset());
|
|
3249
3303
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3272,7 +3326,7 @@ var si = (
|
|
|
3272
3326
|
};
|
|
3273
3327
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3274
3328
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3275
|
-
!
|
|
3329
|
+
!hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3276
3330
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3277
3331
|
if (this.isEOF() || this.char() !== 39)
|
|
3278
3332
|
return null;
|
|
@@ -3306,12 +3360,12 @@ var si = (
|
|
|
3306
3360
|
r.push(n);
|
|
3307
3361
|
this.bump();
|
|
3308
3362
|
}
|
|
3309
|
-
return
|
|
3363
|
+
return Xe.apply(void 0, r);
|
|
3310
3364
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3311
3365
|
if (this.isEOF())
|
|
3312
3366
|
return null;
|
|
3313
3367
|
var n = this.char();
|
|
3314
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3368
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
|
|
3315
3369
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3316
3370
|
var n = this.clonePosition();
|
|
3317
3371
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3340,7 +3394,7 @@ var si = (
|
|
|
3340
3394
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3341
3395
|
}
|
|
3342
3396
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3343
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3397
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
3344
3398
|
this.bumpTo(i);
|
|
3345
3399
|
var o = this.clonePosition(), s = v(t, o);
|
|
3346
3400
|
return { value: n, location: s };
|
|
@@ -3359,7 +3413,7 @@ var si = (
|
|
|
3359
3413
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3360
3414
|
if (c.err)
|
|
3361
3415
|
return c;
|
|
3362
|
-
var f =
|
|
3416
|
+
var f = ui(c.val);
|
|
3363
3417
|
if (f.length === 0)
|
|
3364
3418
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3365
3419
|
var m = v(h, this.clonePosition());
|
|
@@ -3369,8 +3423,8 @@ var si = (
|
|
|
3369
3423
|
if (d.err)
|
|
3370
3424
|
return d;
|
|
3371
3425
|
var p = v(i, this.clonePosition());
|
|
3372
|
-
if (u &&
|
|
3373
|
-
var w =
|
|
3426
|
+
if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
|
|
3427
|
+
var w = ai(u.style.slice(2));
|
|
3374
3428
|
if (a === "number") {
|
|
3375
3429
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3376
3430
|
return c.err ? c : {
|
|
@@ -3381,12 +3435,12 @@ var si = (
|
|
|
3381
3435
|
if (w.length === 0)
|
|
3382
3436
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3383
3437
|
var M = w;
|
|
3384
|
-
this.locale && (M =
|
|
3438
|
+
this.locale && (M = Zn(w, this.locale));
|
|
3385
3439
|
var f = {
|
|
3386
3440
|
type: Z.dateTime,
|
|
3387
3441
|
pattern: M,
|
|
3388
3442
|
location: u.styleLocation,
|
|
3389
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3443
|
+
parsedOptions: this.shouldParseSkeletons ? Fn(M) : {}
|
|
3390
3444
|
}, C = a === "date" ? S.date : S.time;
|
|
3391
3445
|
return {
|
|
3392
3446
|
val: { type: C, value: n, location: p, style: f },
|
|
@@ -3432,7 +3486,7 @@ var si = (
|
|
|
3432
3486
|
val: {
|
|
3433
3487
|
type: S.select,
|
|
3434
3488
|
value: n,
|
|
3435
|
-
options:
|
|
3489
|
+
options: St(x.val),
|
|
3436
3490
|
location: P
|
|
3437
3491
|
},
|
|
3438
3492
|
err: null
|
|
@@ -3440,7 +3494,7 @@ var si = (
|
|
|
3440
3494
|
val: {
|
|
3441
3495
|
type: S.plural,
|
|
3442
3496
|
value: n,
|
|
3443
|
-
options:
|
|
3497
|
+
options: St(x.val),
|
|
3444
3498
|
offset: E,
|
|
3445
3499
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3446
3500
|
location: P
|
|
@@ -3491,7 +3545,7 @@ var si = (
|
|
|
3491
3545
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3492
3546
|
var n = [];
|
|
3493
3547
|
try {
|
|
3494
|
-
n =
|
|
3548
|
+
n = kn(t);
|
|
3495
3549
|
} catch (i) {
|
|
3496
3550
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3497
3551
|
}
|
|
@@ -3500,7 +3554,7 @@ var si = (
|
|
|
3500
3554
|
type: Z.number,
|
|
3501
3555
|
tokens: n,
|
|
3502
3556
|
location: r,
|
|
3503
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3557
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
|
|
3504
3558
|
},
|
|
3505
3559
|
err: null
|
|
3506
3560
|
};
|
|
@@ -3548,7 +3602,7 @@ var si = (
|
|
|
3548
3602
|
break;
|
|
3549
3603
|
}
|
|
3550
3604
|
var l = v(i, this.clonePosition());
|
|
3551
|
-
return o ? (s *= n,
|
|
3605
|
+
return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3552
3606
|
}, e.prototype.offset = function() {
|
|
3553
3607
|
return this.position.offset;
|
|
3554
3608
|
}, e.prototype.isEOF = function() {
|
|
@@ -3563,7 +3617,7 @@ var si = (
|
|
|
3563
3617
|
var t = this.position.offset;
|
|
3564
3618
|
if (t >= this.message.length)
|
|
3565
3619
|
throw Error("out of bound");
|
|
3566
|
-
var r =
|
|
3620
|
+
var r = ur(this.message, t);
|
|
3567
3621
|
if (r === void 0)
|
|
3568
3622
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3569
3623
|
return r;
|
|
@@ -3582,7 +3636,7 @@ var si = (
|
|
|
3582
3636
|
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);
|
|
3583
3637
|
}
|
|
3584
3638
|
}, e.prototype.bumpIf = function(t) {
|
|
3585
|
-
if (
|
|
3639
|
+
if (Et(this.message, t, this.offset())) {
|
|
3586
3640
|
for (var r = 0; r < t.length; r++)
|
|
3587
3641
|
this.bump();
|
|
3588
3642
|
return !0;
|
|
@@ -3604,7 +3658,7 @@ var si = (
|
|
|
3604
3658
|
break;
|
|
3605
3659
|
}
|
|
3606
3660
|
}, e.prototype.bumpSpace = function() {
|
|
3607
|
-
for (; !this.isEOF() &&
|
|
3661
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3608
3662
|
this.bump();
|
|
3609
3663
|
}, e.prototype.peek = function() {
|
|
3610
3664
|
if (this.isEOF())
|
|
@@ -3614,37 +3668,38 @@ var si = (
|
|
|
3614
3668
|
}, e;
|
|
3615
3669
|
}()
|
|
3616
3670
|
);
|
|
3617
|
-
function
|
|
3671
|
+
function We(e) {
|
|
3618
3672
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3619
3673
|
}
|
|
3620
|
-
function
|
|
3621
|
-
return
|
|
3674
|
+
function hi(e) {
|
|
3675
|
+
return We(e) || e === 47;
|
|
3622
3676
|
}
|
|
3623
|
-
function
|
|
3677
|
+
function ci(e) {
|
|
3624
3678
|
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;
|
|
3625
3679
|
}
|
|
3626
|
-
function
|
|
3680
|
+
function hr(e) {
|
|
3627
3681
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3628
3682
|
}
|
|
3629
|
-
function
|
|
3683
|
+
function fi(e) {
|
|
3630
3684
|
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;
|
|
3631
3685
|
}
|
|
3632
|
-
function
|
|
3686
|
+
function Ze(e) {
|
|
3633
3687
|
e.forEach(function(t) {
|
|
3634
|
-
if (delete t.location,
|
|
3688
|
+
if (delete t.location, er(t) || tr(t))
|
|
3635
3689
|
for (var r in t.options)
|
|
3636
|
-
delete t.options[r].location,
|
|
3637
|
-
else
|
|
3690
|
+
delete t.options[r].location, Ze(t.options[r].value);
|
|
3691
|
+
else
|
|
3692
|
+
qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
|
|
3638
3693
|
});
|
|
3639
3694
|
}
|
|
3640
|
-
function
|
|
3695
|
+
function mi(e, t) {
|
|
3641
3696
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3642
|
-
var r = new
|
|
3697
|
+
var r = new li(e, t).parse();
|
|
3643
3698
|
if (r.err) {
|
|
3644
3699
|
var n = SyntaxError(b[r.err.kind]);
|
|
3645
3700
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3646
3701
|
}
|
|
3647
|
-
return t != null && t.captureLocation ||
|
|
3702
|
+
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
3648
3703
|
}
|
|
3649
3704
|
var Q;
|
|
3650
3705
|
(function(e) {
|
|
@@ -3662,7 +3717,7 @@ var Ee = (
|
|
|
3662
3717
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3663
3718
|
}, t;
|
|
3664
3719
|
}(Error)
|
|
3665
|
-
),
|
|
3720
|
+
), Tt = (
|
|
3666
3721
|
/** @class */
|
|
3667
3722
|
function(e) {
|
|
3668
3723
|
$(t, e);
|
|
@@ -3671,7 +3726,7 @@ var Ee = (
|
|
|
3671
3726
|
}
|
|
3672
3727
|
return t;
|
|
3673
3728
|
}(Ee)
|
|
3674
|
-
),
|
|
3729
|
+
), di = (
|
|
3675
3730
|
/** @class */
|
|
3676
3731
|
function(e) {
|
|
3677
3732
|
$(t, e);
|
|
@@ -3680,7 +3735,7 @@ var Ee = (
|
|
|
3680
3735
|
}
|
|
3681
3736
|
return t;
|
|
3682
3737
|
}(Ee)
|
|
3683
|
-
),
|
|
3738
|
+
), pi = (
|
|
3684
3739
|
/** @class */
|
|
3685
3740
|
function(e) {
|
|
3686
3741
|
$(t, e);
|
|
@@ -3693,17 +3748,17 @@ var Ee = (
|
|
|
3693
3748
|
(function(e) {
|
|
3694
3749
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3695
3750
|
})(A || (A = {}));
|
|
3696
|
-
function
|
|
3751
|
+
function bi(e) {
|
|
3697
3752
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3698
3753
|
var n = t[t.length - 1];
|
|
3699
3754
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3700
3755
|
}, []);
|
|
3701
3756
|
}
|
|
3702
|
-
function
|
|
3757
|
+
function gi(e) {
|
|
3703
3758
|
return typeof e == "function";
|
|
3704
3759
|
}
|
|
3705
3760
|
function pe(e, t, r, n, i, o, s) {
|
|
3706
|
-
if (e.length === 1 &&
|
|
3761
|
+
if (e.length === 1 && vt(e[0]))
|
|
3707
3762
|
return [
|
|
3708
3763
|
{
|
|
3709
3764
|
type: A.literal,
|
|
@@ -3712,14 +3767,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3712
3767
|
];
|
|
3713
3768
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3714
3769
|
var h = u[l];
|
|
3715
|
-
if (
|
|
3770
|
+
if (vt(h)) {
|
|
3716
3771
|
a.push({
|
|
3717
3772
|
type: A.literal,
|
|
3718
3773
|
value: h.value
|
|
3719
3774
|
});
|
|
3720
3775
|
continue;
|
|
3721
3776
|
}
|
|
3722
|
-
if (
|
|
3777
|
+
if (Un(h)) {
|
|
3723
3778
|
typeof o == "number" && a.push({
|
|
3724
3779
|
type: A.literal,
|
|
3725
3780
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3728,43 +3783,43 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3728
3783
|
}
|
|
3729
3784
|
var c = h.value;
|
|
3730
3785
|
if (!(i && c in i))
|
|
3731
|
-
throw new
|
|
3786
|
+
throw new pi(c, s);
|
|
3732
3787
|
var f = i[c];
|
|
3733
|
-
if (
|
|
3788
|
+
if (Gn(h)) {
|
|
3734
3789
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3735
3790
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3736
3791
|
value: f
|
|
3737
3792
|
});
|
|
3738
3793
|
continue;
|
|
3739
3794
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3795
|
+
if (Yt(h)) {
|
|
3796
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3742
3797
|
a.push({
|
|
3743
3798
|
type: A.literal,
|
|
3744
3799
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3745
3800
|
});
|
|
3746
3801
|
continue;
|
|
3747
3802
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3803
|
+
if (Kt(h)) {
|
|
3804
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3750
3805
|
a.push({
|
|
3751
3806
|
type: A.literal,
|
|
3752
3807
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3753
3808
|
});
|
|
3754
3809
|
continue;
|
|
3755
3810
|
}
|
|
3756
|
-
if (
|
|
3757
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3811
|
+
if (qt(h)) {
|
|
3812
|
+
var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3758
3813
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3759
3814
|
type: A.literal,
|
|
3760
3815
|
value: r.getNumberFormat(t, m).format(f)
|
|
3761
3816
|
});
|
|
3762
3817
|
continue;
|
|
3763
3818
|
}
|
|
3764
|
-
if (
|
|
3819
|
+
if (rr(h)) {
|
|
3765
3820
|
var d = h.children, p = h.value, w = i[p];
|
|
3766
|
-
if (!
|
|
3767
|
-
throw new
|
|
3821
|
+
if (!gi(w))
|
|
3822
|
+
throw new di(p, "function", s);
|
|
3768
3823
|
var M = pe(d, t, r, n, i, o), C = w(M.map(function(E) {
|
|
3769
3824
|
return E.value;
|
|
3770
3825
|
}));
|
|
@@ -3775,14 +3830,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3775
3830
|
};
|
|
3776
3831
|
}));
|
|
3777
3832
|
}
|
|
3778
|
-
if (
|
|
3833
|
+
if (er(h)) {
|
|
3779
3834
|
var T = h.options[f] || h.options.other;
|
|
3780
3835
|
if (!T)
|
|
3781
|
-
throw new
|
|
3836
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
|
3782
3837
|
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3783
3838
|
continue;
|
|
3784
3839
|
}
|
|
3785
|
-
if (
|
|
3840
|
+
if (tr(h)) {
|
|
3786
3841
|
var T = h.options["=".concat(f)];
|
|
3787
3842
|
if (!T) {
|
|
3788
3843
|
if (!Intl.PluralRules)
|
|
@@ -3793,24 +3848,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3793
3848
|
T = h.options[_] || h.options.other;
|
|
3794
3849
|
}
|
|
3795
3850
|
if (!T)
|
|
3796
|
-
throw new
|
|
3851
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
|
3797
3852
|
a.push.apply(a, pe(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3798
3853
|
continue;
|
|
3799
3854
|
}
|
|
3800
3855
|
}
|
|
3801
|
-
return
|
|
3856
|
+
return bi(a);
|
|
3802
3857
|
}
|
|
3803
|
-
function
|
|
3858
|
+
function vi(e, t) {
|
|
3804
3859
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3805
3860
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3806
3861
|
}, {})) : e;
|
|
3807
3862
|
}
|
|
3808
|
-
function
|
|
3863
|
+
function yi(e, t) {
|
|
3809
3864
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3810
|
-
return r[n] =
|
|
3865
|
+
return r[n] = vi(e[n], t[n]), r;
|
|
3811
3866
|
}, y({}, e)) : e;
|
|
3812
3867
|
}
|
|
3813
|
-
function
|
|
3868
|
+
function Ie(e) {
|
|
3814
3869
|
return {
|
|
3815
3870
|
create: function() {
|
|
3816
3871
|
return {
|
|
@@ -3824,39 +3879,39 @@ function Oe(e) {
|
|
|
3824
3879
|
}
|
|
3825
3880
|
};
|
|
3826
3881
|
}
|
|
3827
|
-
function
|
|
3882
|
+
function xi(e) {
|
|
3828
3883
|
return e === void 0 && (e = {
|
|
3829
3884
|
number: {},
|
|
3830
3885
|
dateTime: {},
|
|
3831
3886
|
pluralRules: {}
|
|
3832
3887
|
}), {
|
|
3833
|
-
getNumberFormat:
|
|
3888
|
+
getNumberFormat: Ce(function() {
|
|
3834
3889
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3890
|
r[n] = arguments[n];
|
|
3836
3891
|
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3837
3892
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3893
|
+
cache: Ie(e.number),
|
|
3894
|
+
strategy: Pe.variadic
|
|
3840
3895
|
}),
|
|
3841
|
-
getDateTimeFormat:
|
|
3896
|
+
getDateTimeFormat: Ce(function() {
|
|
3842
3897
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3843
3898
|
r[n] = arguments[n];
|
|
3844
3899
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3845
3900
|
}, {
|
|
3846
|
-
cache:
|
|
3847
|
-
strategy:
|
|
3901
|
+
cache: Ie(e.dateTime),
|
|
3902
|
+
strategy: Pe.variadic
|
|
3848
3903
|
}),
|
|
3849
|
-
getPluralRules:
|
|
3904
|
+
getPluralRules: Ce(function() {
|
|
3850
3905
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3851
3906
|
r[n] = arguments[n];
|
|
3852
3907
|
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3853
3908
|
}, {
|
|
3854
|
-
cache:
|
|
3855
|
-
strategy:
|
|
3909
|
+
cache: Ie(e.pluralRules),
|
|
3910
|
+
strategy: Pe.variadic
|
|
3856
3911
|
})
|
|
3857
3912
|
};
|
|
3858
3913
|
}
|
|
3859
|
-
var
|
|
3914
|
+
var _i = (
|
|
3860
3915
|
/** @class */
|
|
3861
3916
|
function() {
|
|
3862
3917
|
function e(t, r, n, i) {
|
|
@@ -3888,13 +3943,13 @@ var vi = (
|
|
|
3888
3943
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3889
3944
|
var s = i || {};
|
|
3890
3945
|
s.formatters;
|
|
3891
|
-
var a =
|
|
3946
|
+
var a = en(s, ["formatters"]);
|
|
3892
3947
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3893
3948
|
} else
|
|
3894
3949
|
this.ast = t;
|
|
3895
3950
|
if (!Array.isArray(this.ast))
|
|
3896
3951
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3897
|
-
this.formats =
|
|
3952
|
+
this.formats = yi(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
|
|
3898
3953
|
}
|
|
3899
3954
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3900
3955
|
get: function() {
|
|
@@ -3907,7 +3962,7 @@ var vi = (
|
|
|
3907
3962
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3908
3963
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3909
3964
|
}
|
|
3910
|
-
}, e.__parse =
|
|
3965
|
+
}, e.__parse = mi, e.formats = {
|
|
3911
3966
|
number: {
|
|
3912
3967
|
integer: {
|
|
3913
3968
|
maximumFractionDigits: 0
|
|
@@ -3968,7 +4023,7 @@ var vi = (
|
|
|
3968
4023
|
}, e;
|
|
3969
4024
|
}()
|
|
3970
4025
|
);
|
|
3971
|
-
function
|
|
4026
|
+
function Ei(e, t) {
|
|
3972
4027
|
if (t == null)
|
|
3973
4028
|
return;
|
|
3974
4029
|
if (t in e)
|
|
@@ -3989,92 +4044,92 @@ function yi(e, t) {
|
|
|
3989
4044
|
n = void 0;
|
|
3990
4045
|
return n;
|
|
3991
4046
|
}
|
|
3992
|
-
const G = {},
|
|
4047
|
+
const G = {}, Si = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), cr = (e, t) => {
|
|
3993
4048
|
if (t == null)
|
|
3994
4049
|
return;
|
|
3995
4050
|
if (t in G && e in G[t])
|
|
3996
4051
|
return G[t][e];
|
|
3997
4052
|
const r = Se(t);
|
|
3998
4053
|
for (let n = 0; n < r.length; n++) {
|
|
3999
|
-
const i = r[n], o =
|
|
4054
|
+
const i = r[n], o = Ti(i, e);
|
|
4000
4055
|
if (o)
|
|
4001
|
-
return
|
|
4056
|
+
return Si(e, t, o);
|
|
4002
4057
|
}
|
|
4003
4058
|
};
|
|
4004
|
-
let
|
|
4059
|
+
let et;
|
|
4005
4060
|
const ue = _e({});
|
|
4006
|
-
function
|
|
4007
|
-
return
|
|
4061
|
+
function wi(e) {
|
|
4062
|
+
return et[e] || null;
|
|
4008
4063
|
}
|
|
4009
|
-
function
|
|
4010
|
-
return e in
|
|
4064
|
+
function fr(e) {
|
|
4065
|
+
return e in et;
|
|
4011
4066
|
}
|
|
4012
|
-
function
|
|
4013
|
-
if (!
|
|
4067
|
+
function Ti(e, t) {
|
|
4068
|
+
if (!fr(e))
|
|
4014
4069
|
return null;
|
|
4015
|
-
const r =
|
|
4016
|
-
return
|
|
4070
|
+
const r = wi(e);
|
|
4071
|
+
return Ei(r, t);
|
|
4017
4072
|
}
|
|
4018
|
-
function
|
|
4073
|
+
function Hi(e) {
|
|
4019
4074
|
if (e == null)
|
|
4020
4075
|
return;
|
|
4021
4076
|
const t = Se(e);
|
|
4022
4077
|
for (let r = 0; r < t.length; r++) {
|
|
4023
4078
|
const n = t[r];
|
|
4024
|
-
if (
|
|
4079
|
+
if (fr(n))
|
|
4025
4080
|
return n;
|
|
4026
4081
|
}
|
|
4027
4082
|
}
|
|
4028
|
-
function
|
|
4029
|
-
delete G[e], ue.update((r) => (r[e] =
|
|
4083
|
+
function mr(e, ...t) {
|
|
4084
|
+
delete G[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
|
4030
4085
|
}
|
|
4031
4086
|
K(
|
|
4032
4087
|
[ue],
|
|
4033
4088
|
([e]) => Object.keys(e)
|
|
4034
4089
|
);
|
|
4035
|
-
ue.subscribe((e) =>
|
|
4090
|
+
ue.subscribe((e) => et = e);
|
|
4036
4091
|
const be = {};
|
|
4037
|
-
function
|
|
4092
|
+
function Bi(e, t) {
|
|
4038
4093
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4039
4094
|
}
|
|
4040
|
-
function
|
|
4095
|
+
function dr(e) {
|
|
4041
4096
|
return be[e];
|
|
4042
4097
|
}
|
|
4043
|
-
function
|
|
4098
|
+
function Ai(e) {
|
|
4044
4099
|
return Se(e).map((t) => {
|
|
4045
|
-
const r =
|
|
4100
|
+
const r = dr(t);
|
|
4046
4101
|
return [t, r ? [...r] : []];
|
|
4047
4102
|
}).filter(([, t]) => t.length > 0);
|
|
4048
4103
|
}
|
|
4049
|
-
function
|
|
4104
|
+
function Qe(e) {
|
|
4050
4105
|
return e == null ? !1 : Se(e).some(
|
|
4051
4106
|
(t) => {
|
|
4052
4107
|
var r;
|
|
4053
|
-
return (r =
|
|
4108
|
+
return (r = dr(t)) == null ? void 0 : r.size;
|
|
4054
4109
|
}
|
|
4055
4110
|
);
|
|
4056
4111
|
}
|
|
4057
|
-
function
|
|
4112
|
+
function Ci(e, t) {
|
|
4058
4113
|
return Promise.all(
|
|
4059
|
-
t.map((n) => (
|
|
4060
|
-
).then((n) =>
|
|
4114
|
+
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
|
4115
|
+
).then((n) => mr(e, ...n));
|
|
4061
4116
|
}
|
|
4062
4117
|
const re = {};
|
|
4063
|
-
function
|
|
4064
|
-
if (!
|
|
4118
|
+
function pr(e) {
|
|
4119
|
+
if (!Qe(e))
|
|
4065
4120
|
return e in re ? re[e] : Promise.resolve();
|
|
4066
|
-
const t =
|
|
4121
|
+
const t = Ai(e);
|
|
4067
4122
|
return re[e] = Promise.all(
|
|
4068
4123
|
t.map(
|
|
4069
|
-
([r, n]) =>
|
|
4124
|
+
([r, n]) => Ci(r, n)
|
|
4070
4125
|
)
|
|
4071
4126
|
).then(() => {
|
|
4072
|
-
if (
|
|
4073
|
-
return
|
|
4127
|
+
if (Qe(e))
|
|
4128
|
+
return pr(e);
|
|
4074
4129
|
delete re[e];
|
|
4075
4130
|
}), re[e];
|
|
4076
4131
|
}
|
|
4077
|
-
const
|
|
4132
|
+
const Pi = {
|
|
4078
4133
|
number: {
|
|
4079
4134
|
scientific: { notation: "scientific" },
|
|
4080
4135
|
engineering: { notation: "engineering" },
|
|
@@ -4103,57 +4158,57 @@ const Bi = {
|
|
|
4103
4158
|
timeZoneName: "short"
|
|
4104
4159
|
}
|
|
4105
4160
|
}
|
|
4106
|
-
},
|
|
4161
|
+
}, Oi = {
|
|
4107
4162
|
fallbackLocale: null,
|
|
4108
4163
|
loadingDelay: 200,
|
|
4109
|
-
formats:
|
|
4164
|
+
formats: Pi,
|
|
4110
4165
|
warnOnMissingMessages: !0,
|
|
4111
4166
|
handleMissingMessage: void 0,
|
|
4112
4167
|
ignoreTag: !0
|
|
4113
|
-
},
|
|
4168
|
+
}, Ii = Oi;
|
|
4114
4169
|
function J() {
|
|
4115
|
-
return
|
|
4170
|
+
return Ii;
|
|
4116
4171
|
}
|
|
4117
|
-
const
|
|
4118
|
-
var
|
|
4172
|
+
const Me = _e(!1);
|
|
4173
|
+
var Mi = Object.defineProperty, Ni = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
|
|
4119
4174
|
for (var r in t || (t = {}))
|
|
4120
|
-
|
|
4121
|
-
if (
|
|
4122
|
-
for (var r of
|
|
4123
|
-
|
|
4175
|
+
Ri.call(t, r) && Bt(e, r, t[r]);
|
|
4176
|
+
if (Ht)
|
|
4177
|
+
for (var r of Ht(t))
|
|
4178
|
+
$i.call(t, r) && Bt(e, r, t[r]);
|
|
4124
4179
|
return e;
|
|
4125
|
-
},
|
|
4126
|
-
let
|
|
4180
|
+
}, Ui = (e, t) => Ni(e, Li(t));
|
|
4181
|
+
let Je;
|
|
4127
4182
|
const ve = _e(null);
|
|
4128
|
-
function
|
|
4183
|
+
function At(e) {
|
|
4129
4184
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4130
4185
|
}
|
|
4131
4186
|
function Se(e, t = J().fallbackLocale) {
|
|
4132
|
-
const r =
|
|
4133
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4187
|
+
const r = At(e);
|
|
4188
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
|
|
4134
4189
|
}
|
|
4135
4190
|
function U() {
|
|
4136
|
-
return
|
|
4191
|
+
return Je != null ? Je : void 0;
|
|
4137
4192
|
}
|
|
4138
4193
|
ve.subscribe((e) => {
|
|
4139
|
-
|
|
4194
|
+
Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4140
4195
|
});
|
|
4141
|
-
const
|
|
4142
|
-
if (e &&
|
|
4196
|
+
const Di = (e) => {
|
|
4197
|
+
if (e && Hi(e) && Qe(e)) {
|
|
4143
4198
|
const { loadingDelay: t } = J();
|
|
4144
4199
|
let r;
|
|
4145
4200
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4146
|
-
() =>
|
|
4201
|
+
() => Me.set(!0),
|
|
4147
4202
|
t
|
|
4148
|
-
) :
|
|
4203
|
+
) : Me.set(!0), pr(e).then(() => {
|
|
4149
4204
|
ve.set(e);
|
|
4150
4205
|
}).finally(() => {
|
|
4151
|
-
clearTimeout(r),
|
|
4206
|
+
clearTimeout(r), Me.set(!1);
|
|
4152
4207
|
});
|
|
4153
4208
|
}
|
|
4154
4209
|
return ve.set(e);
|
|
4155
|
-
}, ee =
|
|
4156
|
-
set:
|
|
4210
|
+
}, ee = Ui(Gi({}, ve), {
|
|
4211
|
+
set: Di
|
|
4157
4212
|
}), we = (e) => {
|
|
4158
4213
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4159
4214
|
return (n) => {
|
|
@@ -4161,20 +4216,20 @@ const $i = (e) => {
|
|
|
4161
4216
|
return i in t ? t[i] : t[i] = e(n);
|
|
4162
4217
|
};
|
|
4163
4218
|
};
|
|
4164
|
-
var
|
|
4219
|
+
var Fi = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
4165
4220
|
for (var r in t || (t = {}))
|
|
4166
|
-
|
|
4221
|
+
br.call(t, r) && Ct(e, r, t[r]);
|
|
4167
4222
|
if (ye)
|
|
4168
4223
|
for (var r of ye(t))
|
|
4169
|
-
|
|
4224
|
+
gr.call(t, r) && Ct(e, r, t[r]);
|
|
4170
4225
|
return e;
|
|
4171
4226
|
}, te = (e, t) => {
|
|
4172
4227
|
var r = {};
|
|
4173
4228
|
for (var n in e)
|
|
4174
|
-
|
|
4229
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4175
4230
|
if (e != null && ye)
|
|
4176
4231
|
for (var n of ye(e))
|
|
4177
|
-
t.indexOf(n) < 0 &&
|
|
4232
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4178
4233
|
return r;
|
|
4179
4234
|
};
|
|
4180
4235
|
const se = (e, t) => {
|
|
@@ -4182,21 +4237,21 @@ const se = (e, t) => {
|
|
|
4182
4237
|
if (e in r && t in r[e])
|
|
4183
4238
|
return r[e][t];
|
|
4184
4239
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4185
|
-
},
|
|
4240
|
+
}, ji = we(
|
|
4186
4241
|
(e) => {
|
|
4187
4242
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4188
4243
|
if (r == null)
|
|
4189
4244
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4190
4245
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4191
4246
|
}
|
|
4192
|
-
),
|
|
4247
|
+
), ki = we(
|
|
4193
4248
|
(e) => {
|
|
4194
4249
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4195
4250
|
if (r == null)
|
|
4196
4251
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4197
4252
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4198
4253
|
}
|
|
4199
|
-
),
|
|
4254
|
+
), Vi = we(
|
|
4200
4255
|
(e) => {
|
|
4201
4256
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4202
4257
|
if (r == null)
|
|
@@ -4205,33 +4260,33 @@ const se = (e, t) => {
|
|
|
4205
4260
|
);
|
|
4206
4261
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4207
4262
|
}
|
|
4208
|
-
),
|
|
4263
|
+
), Xi = (e = {}) => {
|
|
4209
4264
|
var t = e, {
|
|
4210
4265
|
locale: r = U()
|
|
4211
4266
|
} = t, n = te(t, [
|
|
4212
4267
|
"locale"
|
|
4213
4268
|
]);
|
|
4214
|
-
return
|
|
4215
|
-
},
|
|
4269
|
+
return ji(tt({ locale: r }, n));
|
|
4270
|
+
}, zi = (e = {}) => {
|
|
4216
4271
|
var t = e, {
|
|
4217
4272
|
locale: r = U()
|
|
4218
4273
|
} = t, n = te(t, [
|
|
4219
4274
|
"locale"
|
|
4220
4275
|
]);
|
|
4221
|
-
return
|
|
4222
|
-
},
|
|
4276
|
+
return ki(tt({ locale: r }, n));
|
|
4277
|
+
}, Wi = (e = {}) => {
|
|
4223
4278
|
var t = e, {
|
|
4224
4279
|
locale: r = U()
|
|
4225
4280
|
} = t, n = te(t, [
|
|
4226
4281
|
"locale"
|
|
4227
4282
|
]);
|
|
4228
|
-
return
|
|
4229
|
-
},
|
|
4283
|
+
return Vi(tt({ locale: r }, n));
|
|
4284
|
+
}, Zi = we(
|
|
4230
4285
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4231
|
-
(e, t = U()) => new
|
|
4286
|
+
(e, t = U()) => new _i(e, t, J().formats, {
|
|
4232
4287
|
ignoreTag: J().ignoreTag
|
|
4233
4288
|
})
|
|
4234
|
-
),
|
|
4289
|
+
), Qi = (e, t = {}) => {
|
|
4235
4290
|
var r, n, i, o;
|
|
4236
4291
|
let s = t;
|
|
4237
4292
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4244,7 +4299,7 @@ const se = (e, t) => {
|
|
|
4244
4299
|
throw new Error(
|
|
4245
4300
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4246
4301
|
);
|
|
4247
|
-
let h =
|
|
4302
|
+
let h = cr(e, l);
|
|
4248
4303
|
if (!h)
|
|
4249
4304
|
h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4250
4305
|
else if (typeof h != "string")
|
|
@@ -4255,7 +4310,7 @@ const se = (e, t) => {
|
|
|
4255
4310
|
return h;
|
|
4256
4311
|
let c = h;
|
|
4257
4312
|
try {
|
|
4258
|
-
c =
|
|
4313
|
+
c = Zi(h, l).format(a);
|
|
4259
4314
|
} catch (f) {
|
|
4260
4315
|
f instanceof Error && console.warn(
|
|
4261
4316
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4263,20 +4318,20 @@ const se = (e, t) => {
|
|
|
4263
4318
|
);
|
|
4264
4319
|
}
|
|
4265
4320
|
return c;
|
|
4266
|
-
},
|
|
4267
|
-
K([ee], () =>
|
|
4268
|
-
K([ee], () =>
|
|
4269
|
-
K([ee], () =>
|
|
4270
|
-
K([ee, ue], () =>
|
|
4271
|
-
window.emWidgets = { topic:
|
|
4272
|
-
const
|
|
4273
|
-
function
|
|
4321
|
+
}, Ji = (e, t) => Wi(t).format(e), qi = (e, t) => zi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = U()) => cr(e, t), eo = K([ee, ue], () => Qi);
|
|
4322
|
+
K([ee], () => Ji);
|
|
4323
|
+
K([ee], () => qi);
|
|
4324
|
+
K([ee], () => Yi);
|
|
4325
|
+
K([ee, ue], () => Ki);
|
|
4326
|
+
window.emWidgets = { topic: pn };
|
|
4327
|
+
const to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4328
|
+
function ro(e, t) {
|
|
4274
4329
|
if (e) {
|
|
4275
4330
|
const r = document.createElement("style");
|
|
4276
4331
|
r.innerHTML = t, e.appendChild(r);
|
|
4277
4332
|
}
|
|
4278
4333
|
}
|
|
4279
|
-
function
|
|
4334
|
+
function no(e, t) {
|
|
4280
4335
|
const r = new URL(t);
|
|
4281
4336
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4282
4337
|
const i = document.createElement("style");
|
|
@@ -4285,7 +4340,7 @@ function eo(e, t) {
|
|
|
4285
4340
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4286
4341
|
});
|
|
4287
4342
|
}
|
|
4288
|
-
function
|
|
4343
|
+
function io(e, t, r) {
|
|
4289
4344
|
if (window.emMessageBus) {
|
|
4290
4345
|
const n = document.createElement("style");
|
|
4291
4346
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4293,13 +4348,13 @@ function to(e, t, r) {
|
|
|
4293
4348
|
});
|
|
4294
4349
|
}
|
|
4295
4350
|
}
|
|
4296
|
-
function
|
|
4297
|
-
|
|
4351
|
+
function Pt(e, t) {
|
|
4352
|
+
mr(e, t);
|
|
4298
4353
|
}
|
|
4299
|
-
function
|
|
4354
|
+
function oo(e) {
|
|
4300
4355
|
ee.set(e);
|
|
4301
4356
|
}
|
|
4302
|
-
const
|
|
4357
|
+
const Ot = {
|
|
4303
4358
|
en: {
|
|
4304
4359
|
cancel: "Cancel",
|
|
4305
4360
|
confirm: "Confirm"
|
|
@@ -4345,15 +4400,15 @@ const At = {
|
|
|
4345
4400
|
confirm: "Confirm"
|
|
4346
4401
|
}
|
|
4347
4402
|
};
|
|
4348
|
-
function
|
|
4349
|
-
|
|
4403
|
+
function so(e) {
|
|
4404
|
+
Mr(e, "svelte-1o81iqe", '*,*::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, 20px);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, 20px)}.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}');
|
|
4350
4405
|
}
|
|
4351
|
-
const
|
|
4352
|
-
function
|
|
4406
|
+
const ao = (e) => ({}), It = (e) => ({});
|
|
4407
|
+
function uo(e) {
|
|
4353
4408
|
let t, r;
|
|
4354
4409
|
return {
|
|
4355
4410
|
c() {
|
|
4356
|
-
t =
|
|
4411
|
+
t = ut("svg"), r = ut("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");
|
|
4357
4412
|
},
|
|
4358
4413
|
m(n, i) {
|
|
4359
4414
|
ae(n, t, i), B(t, r);
|
|
@@ -4364,7 +4419,7 @@ function oo(e) {
|
|
|
4364
4419
|
}
|
|
4365
4420
|
};
|
|
4366
4421
|
}
|
|
4367
|
-
function
|
|
4422
|
+
function Mt(e) {
|
|
4368
4423
|
let t, r, n;
|
|
4369
4424
|
return {
|
|
4370
4425
|
c() {
|
|
@@ -4389,7 +4444,7 @@ function Pt(e) {
|
|
|
4389
4444
|
}
|
|
4390
4445
|
};
|
|
4391
4446
|
}
|
|
4392
|
-
function
|
|
4447
|
+
function Nt(e) {
|
|
4393
4448
|
let t, r = (
|
|
4394
4449
|
/*$_*/
|
|
4395
4450
|
e[4]("cancel") + ""
|
|
@@ -4399,7 +4454,7 @@ function Ot(e) {
|
|
|
4399
4454
|
t = N("button"), n = z(r), H(t, "class", "GeneralCancelButton");
|
|
4400
4455
|
},
|
|
4401
4456
|
m(s, a) {
|
|
4402
|
-
ae(s, t, a), B(t, n), i || (o =
|
|
4457
|
+
ae(s, t, a), B(t, n), i || (o = Ne(
|
|
4403
4458
|
t,
|
|
4404
4459
|
"click",
|
|
4405
4460
|
/*click_handler*/
|
|
@@ -4416,7 +4471,7 @@ function Ot(e) {
|
|
|
4416
4471
|
}
|
|
4417
4472
|
};
|
|
4418
4473
|
}
|
|
4419
|
-
function
|
|
4474
|
+
function lo(e) {
|
|
4420
4475
|
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4421
4476
|
/*$_*/
|
|
4422
4477
|
e[4]("confirm") + ""
|
|
@@ -4424,19 +4479,19 @@ function so(e) {
|
|
|
4424
4479
|
const M = (
|
|
4425
4480
|
/*#slots*/
|
|
4426
4481
|
e[16].close
|
|
4427
|
-
), C =
|
|
4482
|
+
), C = Cr(
|
|
4428
4483
|
M,
|
|
4429
4484
|
e,
|
|
4430
4485
|
/*$$scope*/
|
|
4431
4486
|
e[15],
|
|
4432
|
-
|
|
4433
|
-
), T = C ||
|
|
4487
|
+
It
|
|
4488
|
+
), T = C || uo();
|
|
4434
4489
|
let _ = (
|
|
4435
4490
|
/*modaltitle*/
|
|
4436
|
-
e[1] &&
|
|
4491
|
+
e[1] && Mt(e)
|
|
4437
4492
|
), E = (
|
|
4438
4493
|
/*hascancelbutton*/
|
|
4439
|
-
e[2] &&
|
|
4494
|
+
e[2] && Nt(e)
|
|
4440
4495
|
);
|
|
4441
4496
|
return {
|
|
4442
4497
|
c() {
|
|
@@ -4450,13 +4505,13 @@ function so(e) {
|
|
|
4450
4505
|
},
|
|
4451
4506
|
m(x, P) {
|
|
4452
4507
|
ae(x, t, P), B(t, r), B(r, n), T && T.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), d = !0, p || (w = [
|
|
4453
|
-
|
|
4508
|
+
Ne(
|
|
4454
4509
|
n,
|
|
4455
4510
|
"click",
|
|
4456
4511
|
/*close*/
|
|
4457
4512
|
e[6]
|
|
4458
4513
|
),
|
|
4459
|
-
|
|
4514
|
+
Ne(
|
|
4460
4515
|
c,
|
|
4461
4516
|
"click",
|
|
4462
4517
|
/*click_handler_1*/
|
|
@@ -4466,73 +4521,73 @@ function so(e) {
|
|
|
4466
4521
|
},
|
|
4467
4522
|
p(x, [P]) {
|
|
4468
4523
|
C && C.p && (!d || P & /*$$scope*/
|
|
4469
|
-
32768) &&
|
|
4524
|
+
32768) && Or(
|
|
4470
4525
|
C,
|
|
4471
4526
|
M,
|
|
4472
4527
|
x,
|
|
4473
4528
|
/*$$scope*/
|
|
4474
4529
|
x[15],
|
|
4475
|
-
d ?
|
|
4530
|
+
d ? Pr(
|
|
4476
4531
|
M,
|
|
4477
4532
|
/*$$scope*/
|
|
4478
4533
|
x[15],
|
|
4479
4534
|
P,
|
|
4480
|
-
|
|
4481
|
-
) :
|
|
4535
|
+
ao
|
|
4536
|
+
) : Ir(
|
|
4482
4537
|
/*$$scope*/
|
|
4483
4538
|
x[15]
|
|
4484
4539
|
),
|
|
4485
|
-
|
|
4540
|
+
It
|
|
4486
4541
|
), /*modaltitle*/
|
|
4487
|
-
x[1] ? _ ? _.p(x, P) : (_ =
|
|
4542
|
+
x[1] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
|
|
4488
4543
|
1) && ge(
|
|
4489
4544
|
a,
|
|
4490
4545
|
/*modaltext*/
|
|
4491
4546
|
x[0]
|
|
4492
4547
|
), /*hascancelbutton*/
|
|
4493
|
-
x[2] ? E ? E.p(x, P) : (E =
|
|
4548
|
+
x[2] ? E ? E.p(x, P) : (E = Nt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
|
|
4494
4549
|
16) && f !== (f = /*$_*/
|
|
4495
4550
|
x[4]("confirm") + "") && ge(m, f);
|
|
4496
4551
|
},
|
|
4497
4552
|
i(x) {
|
|
4498
|
-
d || (
|
|
4553
|
+
d || (Ut(T, x), d = !0);
|
|
4499
4554
|
},
|
|
4500
4555
|
o(x) {
|
|
4501
|
-
|
|
4556
|
+
Xr(T, x), d = !1;
|
|
4502
4557
|
},
|
|
4503
4558
|
d(x) {
|
|
4504
4559
|
x && Y(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, q(w);
|
|
4505
4560
|
}
|
|
4506
4561
|
};
|
|
4507
4562
|
}
|
|
4508
|
-
function
|
|
4563
|
+
function ho(e, t, r) {
|
|
4509
4564
|
let n;
|
|
4510
|
-
|
|
4511
|
-
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: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, M = window.navigator.userAgent, C =
|
|
4565
|
+
Ar(e, eo, (g) => r(4, n = g));
|
|
4566
|
+
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: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, M = window.navigator.userAgent, C = to(M) !== "PC";
|
|
4512
4567
|
const T = () => {
|
|
4513
4568
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4514
4569
|
}, _ = (g) => {
|
|
4515
4570
|
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
|
|
4516
4571
|
}, E = () => {
|
|
4517
4572
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
4518
|
-
Object.keys(D).forEach((
|
|
4519
|
-
|
|
4573
|
+
Object.keys(D).forEach((rt) => {
|
|
4574
|
+
Pt(rt, D[rt]);
|
|
4520
4575
|
});
|
|
4521
4576
|
}).catch((D) => {
|
|
4522
4577
|
console.log(D);
|
|
4523
4578
|
});
|
|
4524
4579
|
};
|
|
4525
|
-
Object.keys(
|
|
4526
|
-
|
|
4580
|
+
Object.keys(Ot).forEach((g) => {
|
|
4581
|
+
Pt(g, Ot[g]);
|
|
4527
4582
|
});
|
|
4528
4583
|
const x = () => {
|
|
4529
|
-
|
|
4584
|
+
oo(c);
|
|
4530
4585
|
};
|
|
4531
|
-
|
|
4586
|
+
Ur(() => () => {
|
|
4532
4587
|
});
|
|
4533
|
-
const P = () => _("cancel"),
|
|
4534
|
-
function
|
|
4535
|
-
|
|
4588
|
+
const P = () => _("cancel"), yr = () => _("confirm");
|
|
4589
|
+
function xr(g) {
|
|
4590
|
+
Le[g ? "unshift" : "push"](() => {
|
|
4536
4591
|
w = g, r(3, w);
|
|
4537
4592
|
});
|
|
4538
4593
|
}
|
|
@@ -4541,9 +4596,9 @@ function ao(e, t, r) {
|
|
|
4541
4596
|
}, e.$$.update = () => {
|
|
4542
4597
|
e.$$.dirty & /*modaltext, lang*/
|
|
4543
4598
|
1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4544
|
-
2056 && f && w &&
|
|
4545
|
-
4104 && m && w &&
|
|
4546
|
-
16392 && p && w &&
|
|
4599
|
+
2056 && f && w && ro(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4600
|
+
4104 && m && w && no(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4601
|
+
16392 && p && w && io(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4547
4602
|
8192 && d && E();
|
|
4548
4603
|
}, [
|
|
4549
4604
|
s,
|
|
@@ -4564,18 +4619,18 @@ function ao(e, t, r) {
|
|
|
4564
4619
|
o,
|
|
4565
4620
|
i,
|
|
4566
4621
|
P,
|
|
4567
|
-
|
|
4568
|
-
|
|
4622
|
+
yr,
|
|
4623
|
+
xr
|
|
4569
4624
|
];
|
|
4570
4625
|
}
|
|
4571
|
-
class
|
|
4626
|
+
class vr extends qr {
|
|
4572
4627
|
constructor(t) {
|
|
4573
|
-
super(),
|
|
4628
|
+
super(), Qr(
|
|
4574
4629
|
this,
|
|
4575
4630
|
t,
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4631
|
+
ho,
|
|
4632
|
+
lo,
|
|
4633
|
+
Rt,
|
|
4579
4634
|
{
|
|
4580
4635
|
modaltext: 0,
|
|
4581
4636
|
modaltitle: 1,
|
|
@@ -4588,7 +4643,7 @@ class dr extends Wr {
|
|
|
4588
4643
|
translationurl: 13,
|
|
4589
4644
|
mbsource: 14
|
|
4590
4645
|
},
|
|
4591
|
-
|
|
4646
|
+
so
|
|
4592
4647
|
);
|
|
4593
4648
|
}
|
|
4594
4649
|
get modaltext() {
|
|
@@ -4652,50 +4707,50 @@ class dr extends Wr {
|
|
|
4652
4707
|
this.$$set({ mbsource: t }), I();
|
|
4653
4708
|
}
|
|
4654
4709
|
}
|
|
4655
|
-
|
|
4656
|
-
const
|
|
4710
|
+
Jr(vr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4711
|
+
const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4657
4712
|
__proto__: null,
|
|
4658
|
-
default:
|
|
4713
|
+
default: vr
|
|
4659
4714
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4660
4715
|
export {
|
|
4661
4716
|
ee as $,
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4717
|
+
B as A,
|
|
4718
|
+
vo as B,
|
|
4719
|
+
Ne as C,
|
|
4720
|
+
ge as D,
|
|
4721
|
+
fo as E,
|
|
4722
|
+
q as F,
|
|
4723
|
+
po as G,
|
|
4724
|
+
go as H,
|
|
4725
|
+
ut as I,
|
|
4726
|
+
bo as J,
|
|
4727
|
+
eo as K,
|
|
4728
|
+
Eo as P,
|
|
4729
|
+
qr as S,
|
|
4730
|
+
mr as a,
|
|
4731
|
+
Jr as b,
|
|
4732
|
+
_o as c,
|
|
4733
|
+
Mr as d,
|
|
4734
|
+
N as e,
|
|
4680
4735
|
I as f,
|
|
4681
|
-
|
|
4736
|
+
Kr as g,
|
|
4682
4737
|
ae as h,
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4738
|
+
Qr as i,
|
|
4739
|
+
Y as j,
|
|
4740
|
+
Ar as k,
|
|
4741
|
+
to as l,
|
|
4742
|
+
no as m,
|
|
4688
4743
|
L as n,
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4744
|
+
Ur as o,
|
|
4745
|
+
io as p,
|
|
4746
|
+
yo as q,
|
|
4747
|
+
Le as r,
|
|
4748
|
+
Rt as s,
|
|
4749
|
+
ro as t,
|
|
4750
|
+
xo as u,
|
|
4751
|
+
le as v,
|
|
4752
|
+
z as w,
|
|
4753
|
+
mo as x,
|
|
4754
|
+
H as y,
|
|
4755
|
+
$e as z
|
|
4701
4756
|
};
|