@everymatrix/player-account-timeout 1.76.1 → 1.76.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-5qFM4_q7.js → PlayerAccountGeneralConfirmationModal-BwTniqXY.js} +693 -707
- package/components/PlayerAccountGeneralConfirmationModal-yzlYlKBq.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CDWu9PDO.js → PlayerAccountGeneralConfirmationModal-z3wlNX1R.js} +740 -754
- package/components/{PlayerAccountTimeout-DJzkcdJo.js → PlayerAccountTimeout-ByJdD7eK.js} +1030 -1031
- package/components/{PlayerAccountTimeout-EpPro8ec.js → PlayerAccountTimeout-BzCqBJ5d.js} +1006 -1007
- package/components/{PlayerAccountTimeout-BKeRlSSh.cjs → PlayerAccountTimeout-DMq4bGyx.cjs} +152 -152
- 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-b2193545-BtPvM93e.js → index-b2193545-BbCeNxUG.js} +176 -176
- package/stencil/{index-b2193545-D_KBbaD-.js → index-b2193545-C9PH-6qK.js} +169 -169
- package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
- package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-BKDs0-7H.js} +2 -2
- package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-CJbkvgG7.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
- package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-Cuo9r0rD.cjs +0 -18
- package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var we = (e, t, r) => t in e ?
|
|
1
|
+
var yr = Object.defineProperty, vr = Object.defineProperties;
|
|
2
|
+
var xr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var tt = Object.getOwnPropertySymbols;
|
|
4
|
+
var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var we = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
_r.call(t, r) && we(e, r, t[r]);
|
|
8
|
+
if (tt)
|
|
9
|
+
for (var r of tt(t))
|
|
10
|
+
Er.call(t, r) && we(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, nt = (e, t) => vr(e, xr(t));
|
|
13
13
|
var O = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var it = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,7 +29,7 @@ var st = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Sr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,25 +37,25 @@ function Hr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Mt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ot() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
46
|
function Q(e) {
|
|
47
|
-
e.forEach(
|
|
47
|
+
e.forEach(Mt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Qe(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Nt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function wr(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Lt(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
@@ -64,19 +64,19 @@ function $t(e, ...t) {
|
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function Tr(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(Lt(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Hr(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const i =
|
|
72
|
+
const i = Rt(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && n ?
|
|
76
|
+
function Rt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Ar(e, t, r, n) {
|
|
80
80
|
if (e[2] && n) {
|
|
81
81
|
const i = e[2](n(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
@@ -91,13 +91,13 @@ function Pr(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Br(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Rt(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Cr(e) {
|
|
101
101
|
if (e.ctx.length > 32) {
|
|
102
102
|
const t = [], r = e.ctx.length / 32;
|
|
103
103
|
for (let n = 0; n < r; n++)
|
|
@@ -106,17 +106,17 @@ function Ir(e) {
|
|
|
106
106
|
}
|
|
107
107
|
return -1;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function A(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Pr(e, t, r) {
|
|
113
|
+
const n = Or(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
115
|
const i = M("style");
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
116
|
+
i.id = t, i.textContent = r, Ir(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Or(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,8 +126,8 @@ function Nr(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
return
|
|
129
|
+
function Ir(e, t) {
|
|
130
|
+
return A(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
@@ -139,14 +139,14 @@ function oe(e, t, r) {
|
|
|
139
139
|
function J(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function ho(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
146
146
|
function M(e) {
|
|
147
147
|
return document.createElement(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function st(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
152
|
function se(e) {
|
|
@@ -155,33 +155,33 @@ function se(e) {
|
|
|
155
155
|
function le() {
|
|
156
156
|
return se(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function fo() {
|
|
159
159
|
return se("");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ie(e, t, r, n) {
|
|
162
162
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
163
163
|
}
|
|
164
164
|
function T(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function co(e, t, r) {
|
|
168
168
|
const n = t.toLowerCase();
|
|
169
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 : T(e, t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Mr(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Je(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function mo(e, t) {
|
|
179
179
|
e.value = t == null ? "" : t;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function po(e, t, r, n) {
|
|
182
182
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function bo(e, t, r) {
|
|
185
185
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
186
186
|
const i = e.options[n];
|
|
187
187
|
if (i.__value === t) {
|
|
@@ -191,11 +191,11 @@ function vo(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function go(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Nr(e) {
|
|
199
199
|
const t = {};
|
|
200
200
|
return e.childNodes.forEach(
|
|
201
201
|
/** @param {Element} node */
|
|
@@ -208,22 +208,22 @@ let re;
|
|
|
208
208
|
function te(e) {
|
|
209
209
|
re = e;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Lr() {
|
|
212
212
|
if (!re)
|
|
213
213
|
throw new Error("Function called outside component initialization");
|
|
214
214
|
return re;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
216
|
+
function Rr(e) {
|
|
217
|
+
Lr().$$.on_mount.push(e);
|
|
218
218
|
}
|
|
219
|
-
const j = [],
|
|
219
|
+
const j = [], Me = [];
|
|
220
220
|
let k = [];
|
|
221
|
-
const
|
|
222
|
-
let
|
|
223
|
-
function
|
|
224
|
-
|
|
221
|
+
const at = [], $r = /* @__PURE__ */ Promise.resolve();
|
|
222
|
+
let Ne = !1;
|
|
223
|
+
function Gr() {
|
|
224
|
+
Ne || (Ne = !0, $r.then(I));
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Le(e) {
|
|
227
227
|
k.push(e);
|
|
228
228
|
}
|
|
229
229
|
const Te = /* @__PURE__ */ new Set();
|
|
@@ -236,66 +236,66 @@ function I() {
|
|
|
236
236
|
try {
|
|
237
237
|
for (; D < j.length; ) {
|
|
238
238
|
const t = j[D];
|
|
239
|
-
D++, te(t),
|
|
239
|
+
D++, te(t), Ur(t.$$);
|
|
240
240
|
}
|
|
241
241
|
} catch (t) {
|
|
242
242
|
throw j.length = 0, D = 0, t;
|
|
243
243
|
}
|
|
244
|
-
for (te(null), j.length = 0, D = 0;
|
|
245
|
-
|
|
244
|
+
for (te(null), j.length = 0, D = 0; Me.length; )
|
|
245
|
+
Me.pop()();
|
|
246
246
|
for (let t = 0; t < k.length; t += 1) {
|
|
247
247
|
const r = k[t];
|
|
248
248
|
Te.has(r) || (Te.add(r), r());
|
|
249
249
|
}
|
|
250
250
|
k.length = 0;
|
|
251
251
|
} while (j.length);
|
|
252
|
-
for (;
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
for (; at.length; )
|
|
253
|
+
at.pop()();
|
|
254
|
+
Ne = !1, Te.clear(), te(e);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function Ur(e) {
|
|
257
257
|
if (e.fragment !== null) {
|
|
258
258
|
e.update(), Q(e.before_update);
|
|
259
259
|
const t = e.dirty;
|
|
260
|
-
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(Le);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Dr(e) {
|
|
264
264
|
const t = [], r = [];
|
|
265
265
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
266
266
|
}
|
|
267
|
-
const
|
|
268
|
-
let
|
|
269
|
-
function
|
|
270
|
-
e && e.i && (
|
|
267
|
+
const ce = /* @__PURE__ */ new Set();
|
|
268
|
+
let Fr;
|
|
269
|
+
function $t(e, t) {
|
|
270
|
+
e && e.i && (ce.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
if (e
|
|
274
|
-
if (
|
|
272
|
+
function jr(e, t, r, n) {
|
|
273
|
+
if (e.o) {
|
|
274
|
+
if (ce.has(e))
|
|
275
275
|
return;
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
ce.add(e), Fr.c.push(() => {
|
|
277
|
+
ce.delete(e);
|
|
278
278
|
}), e.o(t);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function yo(e) {
|
|
282
282
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function kr(e, t, r) {
|
|
285
285
|
const { fragment: n, after_update: i } = e.$$;
|
|
286
|
-
n && n.m(t, r),
|
|
287
|
-
const o = e.$$.on_mount.map(
|
|
286
|
+
n && n.m(t, r), Le(() => {
|
|
287
|
+
const o = e.$$.on_mount.map(Mt).filter(Qe);
|
|
288
288
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
|
|
289
|
-
}), i.forEach(
|
|
289
|
+
}), i.forEach(Le);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Vr(e, t) {
|
|
292
292
|
const r = e.$$;
|
|
293
|
-
r.fragment !== null && (
|
|
293
|
+
r.fragment !== null && (Dr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
295
|
+
function Xr(e, t) {
|
|
296
|
+
e.$$.dirty[0] === -1 && (j.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
299
299
|
const l = re;
|
|
300
300
|
te(e);
|
|
301
301
|
const u = e.$$ = {
|
|
@@ -305,7 +305,7 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
305
305
|
props: o,
|
|
306
306
|
update: N,
|
|
307
307
|
not_equal: i,
|
|
308
|
-
bound:
|
|
308
|
+
bound: ot(),
|
|
309
309
|
// lifecycle
|
|
310
310
|
on_mount: [],
|
|
311
311
|
on_destroy: [],
|
|
@@ -314,28 +314,28 @@ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
314
314
|
after_update: [],
|
|
315
315
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
316
316
|
// everything else
|
|
317
|
-
callbacks:
|
|
317
|
+
callbacks: ot(),
|
|
318
318
|
dirty: a,
|
|
319
319
|
skip_bound: !1,
|
|
320
320
|
root: t.target || l.$$.root
|
|
321
321
|
};
|
|
322
322
|
s && s(u.root);
|
|
323
323
|
let h = !1;
|
|
324
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
325
|
-
const
|
|
326
|
-
return u.ctx && i(u.ctx[
|
|
324
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
325
|
+
const y = d.length ? d[0] : c;
|
|
326
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Xr(e, f)), c;
|
|
327
327
|
}) : [], u.update(), h = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
328
328
|
if (t.hydrate) {
|
|
329
|
-
const
|
|
330
|
-
u.fragment && u.fragment.l(
|
|
329
|
+
const f = Mr(t.target);
|
|
330
|
+
u.fragment && u.fragment.l(f), f.forEach(J);
|
|
331
331
|
} else
|
|
332
332
|
u.fragment && u.fragment.c();
|
|
333
|
-
t.intro &&
|
|
333
|
+
t.intro && $t(e.$$.fragment), kr(e, t.target, t.anchor), I();
|
|
334
334
|
}
|
|
335
335
|
te(l);
|
|
336
336
|
}
|
|
337
|
-
let
|
|
338
|
-
typeof HTMLElement == "function" && (
|
|
337
|
+
let Gt;
|
|
338
|
+
typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
339
339
|
constructor(t, r, n) {
|
|
340
340
|
super();
|
|
341
341
|
/** The Svelte component constructor */
|
|
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
connectedCallback() {
|
|
375
|
-
return
|
|
375
|
+
return it(this, null, function* () {
|
|
376
376
|
if (this.$$cn = !0, !this.$$c) {
|
|
377
377
|
let t = function(o) {
|
|
378
378
|
return () => {
|
|
@@ -396,18 +396,18 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
396
396
|
};
|
|
397
397
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
398
|
return;
|
|
399
|
-
const r = {}, n =
|
|
399
|
+
const r = {}, n = Nr(this);
|
|
400
400
|
for (const o of this.$$s)
|
|
401
401
|
o in n && (r[o] = [t(o)]);
|
|
402
402
|
for (const o of this.attributes) {
|
|
403
403
|
const s = this.$$g_p(o.name);
|
|
404
|
-
s in this.$$d || (this.$$d[s] =
|
|
404
|
+
s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
|
|
405
405
|
}
|
|
406
406
|
for (const o in this.$$p_d)
|
|
407
407
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
408
408
|
this.$$c = new this.$$ctor({
|
|
409
409
|
target: this.shadowRoot || this,
|
|
410
|
-
props:
|
|
410
|
+
props: nt(rt({}, this.$$d), {
|
|
411
411
|
$$slots: r,
|
|
412
412
|
$$scope: {
|
|
413
413
|
ctx: []
|
|
@@ -418,7 +418,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
418
418
|
this.$$r = !0;
|
|
419
419
|
for (const o in this.$$p_d)
|
|
420
420
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
421
|
-
const s =
|
|
421
|
+
const s = de(
|
|
422
422
|
o,
|
|
423
423
|
this.$$d[o],
|
|
424
424
|
this.$$p_d,
|
|
@@ -442,7 +442,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
442
442
|
// and setting attributes through setAttribute etc, this is helpful
|
|
443
443
|
attributeChangedCallback(t, r, n) {
|
|
444
444
|
var i;
|
|
445
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
445
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
446
446
|
}
|
|
447
447
|
disconnectedCallback() {
|
|
448
448
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -455,7 +455,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
455
455
|
) || t;
|
|
456
456
|
}
|
|
457
457
|
});
|
|
458
|
-
function
|
|
458
|
+
function de(e, t, r, n) {
|
|
459
459
|
var o;
|
|
460
460
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
461
461
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -485,8 +485,8 @@ function me(e, t, r, n) {
|
|
|
485
485
|
return t;
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
let s = class extends
|
|
488
|
+
function Wr(e, t, r, n, i, o) {
|
|
489
|
+
let s = class extends Gt {
|
|
490
490
|
constructor() {
|
|
491
491
|
super(e, r, i), this.$$p_d = t;
|
|
492
492
|
}
|
|
@@ -503,7 +503,7 @@ function Jr(e, t, r, n, i, o) {
|
|
|
503
503
|
},
|
|
504
504
|
set(l) {
|
|
505
505
|
var u;
|
|
506
|
-
l =
|
|
506
|
+
l = de(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
507
507
|
}
|
|
508
508
|
});
|
|
509
509
|
}), n.forEach((a) => {
|
|
@@ -516,7 +516,7 @@ function Jr(e, t, r, n, i, o) {
|
|
|
516
516
|
}), e.element = /** @type {any} */
|
|
517
517
|
s, s;
|
|
518
518
|
}
|
|
519
|
-
class
|
|
519
|
+
class Zr {
|
|
520
520
|
constructor() {
|
|
521
521
|
/**
|
|
522
522
|
* ### PRIVATE API
|
|
@@ -537,7 +537,7 @@ class qr {
|
|
|
537
537
|
}
|
|
538
538
|
/** @returns {void} */
|
|
539
539
|
$destroy() {
|
|
540
|
-
|
|
540
|
+
Vr(this, 1), this.$destroy = N;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -546,7 +546,7 @@ class qr {
|
|
|
546
546
|
* @returns {() => void}
|
|
547
547
|
*/
|
|
548
548
|
$on(t, r) {
|
|
549
|
-
if (!
|
|
549
|
+
if (!Qe(r))
|
|
550
550
|
return N;
|
|
551
551
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
552
552
|
return n.push(r), () => {
|
|
@@ -559,13 +559,13 @@ class qr {
|
|
|
559
559
|
* @returns {void}
|
|
560
560
|
*/
|
|
561
561
|
$set(t) {
|
|
562
|
-
this.$$set && !
|
|
562
|
+
this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
const
|
|
566
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
567
|
-
var
|
|
568
|
-
function
|
|
565
|
+
const Qr = "4";
|
|
566
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
|
|
567
|
+
var vo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
568
|
+
function Jr(e) {
|
|
569
569
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
570
570
|
}
|
|
571
571
|
/*! *****************************************************************************
|
|
@@ -582,34 +582,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
582
582
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
583
583
|
PERFORMANCE OF THIS SOFTWARE.
|
|
584
584
|
***************************************************************************** */
|
|
585
|
-
var
|
|
586
|
-
return
|
|
585
|
+
var Re = function(e, t) {
|
|
586
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
587
587
|
r.__proto__ = n;
|
|
588
588
|
} || function(r, n) {
|
|
589
589
|
for (var i in n)
|
|
590
590
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
591
|
-
},
|
|
591
|
+
}, Re(e, t);
|
|
592
592
|
};
|
|
593
593
|
function R(e, t) {
|
|
594
594
|
if (typeof t != "function" && t !== null)
|
|
595
595
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
596
|
-
|
|
596
|
+
Re(e, t);
|
|
597
597
|
function r() {
|
|
598
598
|
this.constructor = e;
|
|
599
599
|
}
|
|
600
600
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
601
601
|
}
|
|
602
|
-
var
|
|
603
|
-
return
|
|
602
|
+
var v = function() {
|
|
603
|
+
return v = Object.assign || function(t) {
|
|
604
604
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
605
605
|
r = arguments[n];
|
|
606
606
|
for (var o in r)
|
|
607
607
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
608
608
|
}
|
|
609
609
|
return t;
|
|
610
|
-
},
|
|
610
|
+
}, v.apply(this, arguments);
|
|
611
611
|
};
|
|
612
|
-
function
|
|
612
|
+
function qr(e, t) {
|
|
613
613
|
var r = {};
|
|
614
614
|
for (var n in e)
|
|
615
615
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -618,7 +618,7 @@ function en(e, t) {
|
|
|
618
618
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
619
619
|
return r;
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function $e(e) {
|
|
622
622
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
623
623
|
if (r)
|
|
624
624
|
return r.call(e);
|
|
@@ -630,7 +630,7 @@ function Ge(e) {
|
|
|
630
630
|
};
|
|
631
631
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Ge(e, t) {
|
|
634
634
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
635
635
|
if (!r)
|
|
636
636
|
return e;
|
|
@@ -659,13 +659,13 @@ function V(e, t, r) {
|
|
|
659
659
|
function L(e) {
|
|
660
660
|
return typeof e == "function";
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Ut(e) {
|
|
663
663
|
var t = function(n) {
|
|
664
664
|
Error.call(n), n.stack = new Error().stack;
|
|
665
665
|
}, r = e(t);
|
|
666
666
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
667
667
|
}
|
|
668
|
-
var He =
|
|
668
|
+
var He = Ut(function(e) {
|
|
669
669
|
return function(r) {
|
|
670
670
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
671
671
|
` + r.map(function(n, i) {
|
|
@@ -674,13 +674,13 @@ var He = Ft(function(e) {
|
|
|
674
674
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
675
675
|
};
|
|
676
676
|
});
|
|
677
|
-
function
|
|
677
|
+
function Ue(e, t) {
|
|
678
678
|
if (e) {
|
|
679
679
|
var r = e.indexOf(t);
|
|
680
680
|
0 <= r && e.splice(r, 1);
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
|
-
var
|
|
683
|
+
var ve = function() {
|
|
684
684
|
function e(t) {
|
|
685
685
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
686
686
|
}
|
|
@@ -692,7 +692,7 @@ var ye = function() {
|
|
|
692
692
|
if (s)
|
|
693
693
|
if (this._parentage = null, Array.isArray(s))
|
|
694
694
|
try {
|
|
695
|
-
for (var a =
|
|
695
|
+
for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
|
|
696
696
|
var u = l.value;
|
|
697
697
|
u.remove(this);
|
|
698
698
|
}
|
|
@@ -715,23 +715,23 @@ var ye = function() {
|
|
|
715
715
|
} catch (p) {
|
|
716
716
|
o = p instanceof He ? p.errors : [p];
|
|
717
717
|
}
|
|
718
|
-
var
|
|
719
|
-
if (
|
|
718
|
+
var f = this._finalizers;
|
|
719
|
+
if (f) {
|
|
720
720
|
this._finalizers = null;
|
|
721
721
|
try {
|
|
722
|
-
for (var
|
|
723
|
-
var
|
|
722
|
+
for (var c = $e(f), d = c.next(); !d.done; d = c.next()) {
|
|
723
|
+
var y = d.value;
|
|
724
724
|
try {
|
|
725
|
-
|
|
725
|
+
ut(y);
|
|
726
726
|
} catch (p) {
|
|
727
|
-
o = o != null ? o : [], p instanceof He ? o = V(V([],
|
|
727
|
+
o = o != null ? o : [], p instanceof He ? o = V(V([], Ge(o)), Ge(p.errors)) : o.push(p);
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
} catch (p) {
|
|
731
731
|
n = { error: p };
|
|
732
732
|
} finally {
|
|
733
733
|
try {
|
|
734
|
-
|
|
734
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
735
735
|
} finally {
|
|
736
736
|
if (n)
|
|
737
737
|
throw n.error;
|
|
@@ -745,7 +745,7 @@ var ye = function() {
|
|
|
745
745
|
var r;
|
|
746
746
|
if (t && t !== this)
|
|
747
747
|
if (this.closed)
|
|
748
|
-
|
|
748
|
+
ut(t);
|
|
749
749
|
else {
|
|
750
750
|
if (t instanceof e) {
|
|
751
751
|
if (t.closed || t._hasParent(this))
|
|
@@ -762,56 +762,56 @@ var ye = function() {
|
|
|
762
762
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
763
763
|
}, e.prototype._removeParent = function(t) {
|
|
764
764
|
var r = this._parentage;
|
|
765
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
765
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
|
|
766
766
|
}, e.prototype.remove = function(t) {
|
|
767
767
|
var r = this._finalizers;
|
|
768
|
-
r &&
|
|
768
|
+
r && Ue(r, t), t instanceof e && t._removeParent(this);
|
|
769
769
|
}, e.EMPTY = function() {
|
|
770
770
|
var t = new e();
|
|
771
771
|
return t.closed = !0, t;
|
|
772
772
|
}(), e;
|
|
773
|
-
}(),
|
|
774
|
-
function
|
|
775
|
-
return e instanceof
|
|
773
|
+
}(), Dt = ve.EMPTY;
|
|
774
|
+
function Ft(e) {
|
|
775
|
+
return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function ut(e) {
|
|
778
778
|
L(e) ? e() : e.unsubscribe();
|
|
779
779
|
}
|
|
780
|
-
var
|
|
780
|
+
var Yr = {
|
|
781
781
|
onUnhandledError: null,
|
|
782
782
|
onStoppedNotification: null,
|
|
783
783
|
Promise: void 0,
|
|
784
784
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
785
785
|
useDeprecatedNextContext: !1
|
|
786
|
-
},
|
|
786
|
+
}, Kr = {
|
|
787
787
|
setTimeout: function(e, t) {
|
|
788
788
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
789
789
|
r[n - 2] = arguments[n];
|
|
790
|
-
return setTimeout.apply(void 0, V([e, t],
|
|
790
|
+
return setTimeout.apply(void 0, V([e, t], Ge(r)));
|
|
791
791
|
},
|
|
792
792
|
clearTimeout: function(e) {
|
|
793
793
|
return clearTimeout(e);
|
|
794
794
|
},
|
|
795
795
|
delegate: void 0
|
|
796
796
|
};
|
|
797
|
-
function
|
|
798
|
-
|
|
797
|
+
function en(e) {
|
|
798
|
+
Kr.setTimeout(function() {
|
|
799
799
|
throw e;
|
|
800
800
|
});
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function lt() {
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function me(e) {
|
|
805
805
|
e();
|
|
806
806
|
}
|
|
807
|
-
var
|
|
807
|
+
var jt = function(e) {
|
|
808
808
|
R(t, e);
|
|
809
809
|
function t(r) {
|
|
810
810
|
var n = e.call(this) || this;
|
|
811
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
811
|
+
return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = nn, n;
|
|
812
812
|
}
|
|
813
813
|
return t.create = function(r, n, i) {
|
|
814
|
-
return new
|
|
814
|
+
return new De(r, n, i);
|
|
815
815
|
}, t.prototype.next = function(r) {
|
|
816
816
|
this.isStopped || this._next(r);
|
|
817
817
|
}, t.prototype.error = function(r) {
|
|
@@ -835,11 +835,7 @@ var Xt = function(e) {
|
|
|
835
835
|
this.unsubscribe();
|
|
836
836
|
}
|
|
837
837
|
}, t;
|
|
838
|
-
}(
|
|
839
|
-
function Ae(e, t) {
|
|
840
|
-
return nn.call(e, t);
|
|
841
|
-
}
|
|
842
|
-
var on = function() {
|
|
838
|
+
}(ve), tn = function() {
|
|
843
839
|
function e(t) {
|
|
844
840
|
this.partialObserver = t;
|
|
845
841
|
}
|
|
@@ -870,55 +866,43 @@ var on = function() {
|
|
|
870
866
|
he(r);
|
|
871
867
|
}
|
|
872
868
|
}, e;
|
|
873
|
-
}(),
|
|
869
|
+
}(), De = function(e) {
|
|
874
870
|
R(t, e);
|
|
875
871
|
function t(r, n, i) {
|
|
876
872
|
var o = e.call(this) || this, s;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
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;
|
|
873
|
+
return L(r) || !r ? s = {
|
|
874
|
+
next: r != null ? r : void 0,
|
|
875
|
+
error: n != null ? n : void 0,
|
|
876
|
+
complete: i != null ? i : void 0
|
|
877
|
+
} : s = r, o.destination = new tn(s), o;
|
|
894
878
|
}
|
|
895
879
|
return t;
|
|
896
|
-
}(
|
|
880
|
+
}(jt);
|
|
897
881
|
function he(e) {
|
|
898
|
-
|
|
882
|
+
en(e);
|
|
899
883
|
}
|
|
900
|
-
function
|
|
884
|
+
function rn(e) {
|
|
901
885
|
throw e;
|
|
902
886
|
}
|
|
903
|
-
var
|
|
887
|
+
var nn = {
|
|
904
888
|
closed: !0,
|
|
905
|
-
next:
|
|
906
|
-
error:
|
|
907
|
-
complete:
|
|
908
|
-
},
|
|
889
|
+
next: lt,
|
|
890
|
+
error: rn,
|
|
891
|
+
complete: lt
|
|
892
|
+
}, on = function() {
|
|
909
893
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
910
894
|
}();
|
|
911
|
-
function
|
|
895
|
+
function sn(e) {
|
|
912
896
|
return e;
|
|
913
897
|
}
|
|
914
|
-
function
|
|
915
|
-
return e.length === 0 ?
|
|
898
|
+
function an(e) {
|
|
899
|
+
return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
|
|
916
900
|
return e.reduce(function(n, i) {
|
|
917
901
|
return i(n);
|
|
918
902
|
}, r);
|
|
919
903
|
};
|
|
920
904
|
}
|
|
921
|
-
var
|
|
905
|
+
var ht = function() {
|
|
922
906
|
function e(t) {
|
|
923
907
|
t && (this._subscribe = t);
|
|
924
908
|
}
|
|
@@ -926,8 +910,8 @@ var ft = function() {
|
|
|
926
910
|
var r = new e();
|
|
927
911
|
return r.source = this, r.operator = t, r;
|
|
928
912
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
929
|
-
var i = this, o =
|
|
930
|
-
return
|
|
913
|
+
var i = this, o = ln(t) ? t : new De(t, r, n);
|
|
914
|
+
return me(function() {
|
|
931
915
|
var s = i, a = s.operator, l = s.source;
|
|
932
916
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
933
917
|
}), o;
|
|
@@ -939,8 +923,8 @@ var ft = function() {
|
|
|
939
923
|
}
|
|
940
924
|
}, e.prototype.forEach = function(t, r) {
|
|
941
925
|
var n = this;
|
|
942
|
-
return r =
|
|
943
|
-
var s = new
|
|
926
|
+
return r = ft(r), new r(function(i, o) {
|
|
927
|
+
var s = new De({
|
|
944
928
|
next: function(a) {
|
|
945
929
|
try {
|
|
946
930
|
t(a);
|
|
@@ -956,15 +940,15 @@ var ft = function() {
|
|
|
956
940
|
}, e.prototype._subscribe = function(t) {
|
|
957
941
|
var r;
|
|
958
942
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
959
|
-
}, e.prototype[
|
|
943
|
+
}, e.prototype[on] = function() {
|
|
960
944
|
return this;
|
|
961
945
|
}, e.prototype.pipe = function() {
|
|
962
946
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
963
947
|
t[r] = arguments[r];
|
|
964
|
-
return
|
|
948
|
+
return an(t)(this);
|
|
965
949
|
}, e.prototype.toPromise = function(t) {
|
|
966
950
|
var r = this;
|
|
967
|
-
return t =
|
|
951
|
+
return t = ft(t), new t(function(n, i) {
|
|
968
952
|
var o;
|
|
969
953
|
r.subscribe(function(s) {
|
|
970
954
|
return o = s;
|
|
@@ -978,40 +962,40 @@ var ft = function() {
|
|
|
978
962
|
return new e(t);
|
|
979
963
|
}, e;
|
|
980
964
|
}();
|
|
981
|
-
function
|
|
965
|
+
function ft(e) {
|
|
982
966
|
var t;
|
|
983
|
-
return (t = e != null ? e :
|
|
967
|
+
return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
984
968
|
}
|
|
985
|
-
function
|
|
969
|
+
function un(e) {
|
|
986
970
|
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
987
971
|
}
|
|
988
|
-
function
|
|
989
|
-
return e && e instanceof
|
|
972
|
+
function ln(e) {
|
|
973
|
+
return e && e instanceof jt || un(e) && Ft(e);
|
|
990
974
|
}
|
|
991
|
-
var
|
|
975
|
+
var hn = Ut(function(e) {
|
|
992
976
|
return function() {
|
|
993
977
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
994
978
|
};
|
|
995
|
-
}),
|
|
979
|
+
}), kt = function(e) {
|
|
996
980
|
R(t, e);
|
|
997
981
|
function t() {
|
|
998
982
|
var r = e.call(this) || this;
|
|
999
983
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1000
984
|
}
|
|
1001
985
|
return t.prototype.lift = function(r) {
|
|
1002
|
-
var n = new
|
|
986
|
+
var n = new ct(this, this);
|
|
1003
987
|
return n.operator = r, n;
|
|
1004
988
|
}, t.prototype._throwIfClosed = function() {
|
|
1005
989
|
if (this.closed)
|
|
1006
|
-
throw new
|
|
990
|
+
throw new hn();
|
|
1007
991
|
}, t.prototype.next = function(r) {
|
|
1008
992
|
var n = this;
|
|
1009
|
-
|
|
993
|
+
me(function() {
|
|
1010
994
|
var i, o;
|
|
1011
995
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1012
996
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1013
997
|
try {
|
|
1014
|
-
for (var s =
|
|
998
|
+
for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1015
999
|
var l = a.value;
|
|
1016
1000
|
l.next(r);
|
|
1017
1001
|
}
|
|
@@ -1029,7 +1013,7 @@ var mn = Ft(function(e) {
|
|
|
1029
1013
|
});
|
|
1030
1014
|
}, t.prototype.error = function(r) {
|
|
1031
1015
|
var n = this;
|
|
1032
|
-
|
|
1016
|
+
me(function() {
|
|
1033
1017
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1034
1018
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1035
1019
|
for (var i = n.observers; i.length; )
|
|
@@ -1038,7 +1022,7 @@ var mn = Ft(function(e) {
|
|
|
1038
1022
|
});
|
|
1039
1023
|
}, t.prototype.complete = function() {
|
|
1040
1024
|
var r = this;
|
|
1041
|
-
|
|
1025
|
+
me(function() {
|
|
1042
1026
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1043
1027
|
r.isStopped = !0;
|
|
1044
1028
|
for (var n = r.observers; n.length; )
|
|
@@ -1060,19 +1044,19 @@ var mn = Ft(function(e) {
|
|
|
1060
1044
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1061
1045
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1062
1046
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1063
|
-
return o || s ?
|
|
1064
|
-
n.currentObservers = null,
|
|
1047
|
+
return o || s ? Dt : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
1048
|
+
n.currentObservers = null, Ue(a, r);
|
|
1065
1049
|
}));
|
|
1066
1050
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1067
1051
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1068
1052
|
i ? r.error(o) : s && r.complete();
|
|
1069
1053
|
}, t.prototype.asObservable = function() {
|
|
1070
|
-
var r = new
|
|
1054
|
+
var r = new ht();
|
|
1071
1055
|
return r.source = this, r;
|
|
1072
1056
|
}, t.create = function(r, n) {
|
|
1073
|
-
return new
|
|
1057
|
+
return new ct(r, n);
|
|
1074
1058
|
}, t;
|
|
1075
|
-
}(
|
|
1059
|
+
}(ht), ct = function(e) {
|
|
1076
1060
|
R(t, e);
|
|
1077
1061
|
function t(r, n) {
|
|
1078
1062
|
var i = e.call(this) || this;
|
|
@@ -1089,17 +1073,17 @@ var mn = Ft(function(e) {
|
|
|
1089
1073
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1090
1074
|
}, t.prototype._subscribe = function(r) {
|
|
1091
1075
|
var n, i;
|
|
1092
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1076
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
|
|
1093
1077
|
}, t;
|
|
1094
|
-
}(
|
|
1078
|
+
}(kt), Vt = {
|
|
1095
1079
|
now: function() {
|
|
1096
|
-
return (
|
|
1080
|
+
return (Vt.delegate || Date).now();
|
|
1097
1081
|
},
|
|
1098
1082
|
delegate: void 0
|
|
1099
|
-
},
|
|
1083
|
+
}, fn = function(e) {
|
|
1100
1084
|
R(t, e);
|
|
1101
1085
|
function t(r, n, i) {
|
|
1102
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1086
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
|
|
1103
1087
|
var o = e.call(this) || this;
|
|
1104
1088
|
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;
|
|
1105
1089
|
}
|
|
@@ -1119,15 +1103,15 @@ var mn = Ft(function(e) {
|
|
|
1119
1103
|
u && o.splice(0, u + 1);
|
|
1120
1104
|
}
|
|
1121
1105
|
}, t;
|
|
1122
|
-
}(
|
|
1123
|
-
const
|
|
1124
|
-
if (
|
|
1125
|
-
const r = new
|
|
1126
|
-
|
|
1106
|
+
}(kt);
|
|
1107
|
+
const dt = [], mt = {}, cn = (e, t = 0) => {
|
|
1108
|
+
if (dt.indexOf(e) == -1) {
|
|
1109
|
+
const r = new fn(t);
|
|
1110
|
+
mt[e] = r, dt.push(e);
|
|
1127
1111
|
}
|
|
1128
|
-
return
|
|
1112
|
+
return mt[e];
|
|
1129
1113
|
}, F = [];
|
|
1130
|
-
function
|
|
1114
|
+
function dn(e, t) {
|
|
1131
1115
|
return {
|
|
1132
1116
|
subscribe: xe(e, t).subscribe
|
|
1133
1117
|
};
|
|
@@ -1136,7 +1120,7 @@ function xe(e, t = N) {
|
|
|
1136
1120
|
let r;
|
|
1137
1121
|
const n = /* @__PURE__ */ new Set();
|
|
1138
1122
|
function i(a) {
|
|
1139
|
-
if (
|
|
1123
|
+
if (Nt(e, a) && (e = a, r)) {
|
|
1140
1124
|
const l = !F.length;
|
|
1141
1125
|
for (const u of n)
|
|
1142
1126
|
u[1](), F.push(u, e);
|
|
@@ -1163,93 +1147,93 @@ function q(e, t, r) {
|
|
|
1163
1147
|
if (!i.every(Boolean))
|
|
1164
1148
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1165
1149
|
const o = t.length < 2;
|
|
1166
|
-
return
|
|
1150
|
+
return dn(r, (s, a) => {
|
|
1167
1151
|
let l = !1;
|
|
1168
1152
|
const u = [];
|
|
1169
|
-
let h = 0,
|
|
1170
|
-
const
|
|
1153
|
+
let h = 0, f = N;
|
|
1154
|
+
const c = () => {
|
|
1171
1155
|
if (h)
|
|
1172
1156
|
return;
|
|
1173
|
-
|
|
1174
|
-
const
|
|
1175
|
-
o ? s(
|
|
1176
|
-
},
|
|
1177
|
-
(
|
|
1178
|
-
|
|
1157
|
+
f();
|
|
1158
|
+
const y = t(n ? u[0] : u, s, a);
|
|
1159
|
+
o ? s(y) : f = Qe(y) ? y : N;
|
|
1160
|
+
}, d = i.map(
|
|
1161
|
+
(y, p) => Lt(
|
|
1162
|
+
y,
|
|
1179
1163
|
(w) => {
|
|
1180
|
-
u[p] = w, h &= ~(1 << p), l &&
|
|
1164
|
+
u[p] = w, h &= ~(1 << p), l && c();
|
|
1181
1165
|
},
|
|
1182
1166
|
() => {
|
|
1183
1167
|
h |= 1 << p;
|
|
1184
1168
|
}
|
|
1185
1169
|
)
|
|
1186
1170
|
);
|
|
1187
|
-
return l = !0,
|
|
1188
|
-
Q(
|
|
1171
|
+
return l = !0, c(), function() {
|
|
1172
|
+
Q(d), f(), l = !1;
|
|
1189
1173
|
};
|
|
1190
1174
|
});
|
|
1191
1175
|
}
|
|
1192
|
-
var
|
|
1193
|
-
return
|
|
1176
|
+
var mn = function(t) {
|
|
1177
|
+
return pn(t) && !bn(t);
|
|
1194
1178
|
};
|
|
1195
|
-
function
|
|
1179
|
+
function pn(e) {
|
|
1196
1180
|
return !!e && typeof e == "object";
|
|
1197
1181
|
}
|
|
1198
|
-
function
|
|
1182
|
+
function bn(e) {
|
|
1199
1183
|
var t = Object.prototype.toString.call(e);
|
|
1200
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1184
|
+
return t === "[object RegExp]" || t === "[object Date]" || vn(e);
|
|
1201
1185
|
}
|
|
1202
|
-
var
|
|
1203
|
-
function
|
|
1204
|
-
return e.$$typeof ===
|
|
1186
|
+
var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
|
|
1187
|
+
function vn(e) {
|
|
1188
|
+
return e.$$typeof === yn;
|
|
1205
1189
|
}
|
|
1206
|
-
function
|
|
1190
|
+
function xn(e) {
|
|
1207
1191
|
return Array.isArray(e) ? [] : {};
|
|
1208
1192
|
}
|
|
1209
1193
|
function ne(e, t) {
|
|
1210
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? X(
|
|
1194
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(xn(e), e, t) : e;
|
|
1211
1195
|
}
|
|
1212
|
-
function
|
|
1196
|
+
function _n(e, t, r) {
|
|
1213
1197
|
return e.concat(t).map(function(n) {
|
|
1214
1198
|
return ne(n, r);
|
|
1215
1199
|
});
|
|
1216
1200
|
}
|
|
1217
|
-
function
|
|
1201
|
+
function En(e, t) {
|
|
1218
1202
|
if (!t.customMerge)
|
|
1219
1203
|
return X;
|
|
1220
1204
|
var r = t.customMerge(e);
|
|
1221
1205
|
return typeof r == "function" ? r : X;
|
|
1222
1206
|
}
|
|
1223
|
-
function
|
|
1207
|
+
function Sn(e) {
|
|
1224
1208
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1225
1209
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1226
1210
|
}) : [];
|
|
1227
1211
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return Object.keys(e).concat(
|
|
1212
|
+
function pt(e) {
|
|
1213
|
+
return Object.keys(e).concat(Sn(e));
|
|
1230
1214
|
}
|
|
1231
|
-
function
|
|
1215
|
+
function Xt(e, t) {
|
|
1232
1216
|
try {
|
|
1233
1217
|
return t in e;
|
|
1234
1218
|
} catch (r) {
|
|
1235
1219
|
return !1;
|
|
1236
1220
|
}
|
|
1237
1221
|
}
|
|
1238
|
-
function
|
|
1239
|
-
return
|
|
1222
|
+
function wn(e, t) {
|
|
1223
|
+
return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1240
1224
|
}
|
|
1241
|
-
function
|
|
1225
|
+
function Tn(e, t, r) {
|
|
1242
1226
|
var n = {};
|
|
1243
|
-
return r.isMergeableObject(e) &&
|
|
1227
|
+
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
1244
1228
|
n[i] = ne(e[i], r);
|
|
1245
|
-
}),
|
|
1246
|
-
|
|
1229
|
+
}), pt(t).forEach(function(i) {
|
|
1230
|
+
wn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1247
1231
|
}), n;
|
|
1248
1232
|
}
|
|
1249
1233
|
function X(e, t, r) {
|
|
1250
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1234
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1251
1235
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1252
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1236
|
+
return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : ne(t, r);
|
|
1253
1237
|
}
|
|
1254
1238
|
X.all = function(t, r) {
|
|
1255
1239
|
if (!Array.isArray(t))
|
|
@@ -1258,62 +1242,64 @@ X.all = function(t, r) {
|
|
|
1258
1242
|
return X(n, i, r);
|
|
1259
1243
|
}, {});
|
|
1260
1244
|
};
|
|
1261
|
-
var
|
|
1262
|
-
const
|
|
1263
|
-
function
|
|
1264
|
-
var r = t && t.cache ? t.cache :
|
|
1245
|
+
var Hn = X, An = Hn;
|
|
1246
|
+
const Bn = /* @__PURE__ */ Jr(An);
|
|
1247
|
+
function Ae(e, t) {
|
|
1248
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Pn;
|
|
1265
1249
|
return i(e, {
|
|
1266
1250
|
cache: r,
|
|
1267
1251
|
serializer: n
|
|
1268
1252
|
});
|
|
1269
1253
|
}
|
|
1270
|
-
function
|
|
1254
|
+
function Cn(e) {
|
|
1271
1255
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1272
1256
|
}
|
|
1273
|
-
function
|
|
1274
|
-
var i =
|
|
1257
|
+
function zt(e, t, r, n) {
|
|
1258
|
+
var i = Cn(n) ? n : r(n), o = t.get(i);
|
|
1275
1259
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1276
1260
|
}
|
|
1277
|
-
function
|
|
1261
|
+
function Wt(e, t, r) {
|
|
1278
1262
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1279
1263
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1280
1264
|
}
|
|
1281
|
-
function
|
|
1265
|
+
function qe(e, t, r, n, i) {
|
|
1282
1266
|
return r.bind(t, e, n, i);
|
|
1283
1267
|
}
|
|
1284
|
-
function
|
|
1285
|
-
var r = e.length === 1 ?
|
|
1286
|
-
return
|
|
1268
|
+
function Pn(e, t) {
|
|
1269
|
+
var r = e.length === 1 ? zt : Wt;
|
|
1270
|
+
return qe(e, this, r, t.cache.create(), t.serializer);
|
|
1287
1271
|
}
|
|
1288
|
-
function
|
|
1289
|
-
return
|
|
1272
|
+
function On(e, t) {
|
|
1273
|
+
return qe(e, this, Wt, t.cache.create(), t.serializer);
|
|
1290
1274
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return
|
|
1275
|
+
function In(e, t) {
|
|
1276
|
+
return qe(e, this, zt, t.cache.create(), t.serializer);
|
|
1293
1277
|
}
|
|
1294
|
-
var
|
|
1278
|
+
var Mn = function() {
|
|
1295
1279
|
return JSON.stringify(arguments);
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1280
|
+
}, Nn = (
|
|
1281
|
+
/** @class */
|
|
1282
|
+
function() {
|
|
1283
|
+
function e() {
|
|
1284
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1285
|
+
}
|
|
1286
|
+
return e.prototype.get = function(t) {
|
|
1287
|
+
return this.cache[t];
|
|
1288
|
+
}, e.prototype.set = function(t, r) {
|
|
1289
|
+
this.cache[t] = r;
|
|
1290
|
+
}, e;
|
|
1291
|
+
}()
|
|
1292
|
+
), Ln = {
|
|
1307
1293
|
create: function() {
|
|
1308
|
-
return new
|
|
1294
|
+
return new Nn();
|
|
1309
1295
|
}
|
|
1310
|
-
},
|
|
1311
|
-
variadic:
|
|
1312
|
-
monadic:
|
|
1313
|
-
},
|
|
1296
|
+
}, Be = {
|
|
1297
|
+
variadic: On,
|
|
1298
|
+
monadic: In
|
|
1299
|
+
}, m;
|
|
1314
1300
|
(function(e) {
|
|
1315
1301
|
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";
|
|
1316
|
-
})(
|
|
1302
|
+
})(m || (m = {}));
|
|
1317
1303
|
var S;
|
|
1318
1304
|
(function(e) {
|
|
1319
1305
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1322,43 +1308,43 @@ var z;
|
|
|
1322
1308
|
(function(e) {
|
|
1323
1309
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1324
1310
|
})(z || (z = {}));
|
|
1325
|
-
function
|
|
1311
|
+
function bt(e) {
|
|
1326
1312
|
return e.type === S.literal;
|
|
1327
1313
|
}
|
|
1328
|
-
function
|
|
1314
|
+
function Rn(e) {
|
|
1329
1315
|
return e.type === S.argument;
|
|
1330
1316
|
}
|
|
1331
|
-
function
|
|
1317
|
+
function Zt(e) {
|
|
1332
1318
|
return e.type === S.number;
|
|
1333
1319
|
}
|
|
1334
|
-
function
|
|
1320
|
+
function Qt(e) {
|
|
1335
1321
|
return e.type === S.date;
|
|
1336
1322
|
}
|
|
1337
|
-
function
|
|
1323
|
+
function Jt(e) {
|
|
1338
1324
|
return e.type === S.time;
|
|
1339
1325
|
}
|
|
1340
|
-
function
|
|
1326
|
+
function qt(e) {
|
|
1341
1327
|
return e.type === S.select;
|
|
1342
1328
|
}
|
|
1343
|
-
function
|
|
1329
|
+
function Yt(e) {
|
|
1344
1330
|
return e.type === S.plural;
|
|
1345
1331
|
}
|
|
1346
|
-
function
|
|
1332
|
+
function $n(e) {
|
|
1347
1333
|
return e.type === S.pound;
|
|
1348
1334
|
}
|
|
1349
|
-
function
|
|
1335
|
+
function Kt(e) {
|
|
1350
1336
|
return e.type === S.tag;
|
|
1351
1337
|
}
|
|
1352
|
-
function
|
|
1338
|
+
function er(e) {
|
|
1353
1339
|
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1354
1340
|
}
|
|
1355
|
-
function
|
|
1341
|
+
function Fe(e) {
|
|
1356
1342
|
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1357
1343
|
}
|
|
1358
|
-
var
|
|
1359
|
-
function
|
|
1344
|
+
var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
|
|
1345
|
+
function Un(e) {
|
|
1360
1346
|
var t = {};
|
|
1361
|
-
return e.replace(
|
|
1347
|
+
return e.replace(Gn, function(r) {
|
|
1362
1348
|
var n = r.length;
|
|
1363
1349
|
switch (r[0]) {
|
|
1364
1350
|
case "G":
|
|
@@ -1447,36 +1433,36 @@ function Fn(e) {
|
|
|
1447
1433
|
return "";
|
|
1448
1434
|
}), t;
|
|
1449
1435
|
}
|
|
1450
|
-
var
|
|
1451
|
-
function
|
|
1436
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1437
|
+
function Fn(e) {
|
|
1452
1438
|
if (e.length === 0)
|
|
1453
1439
|
throw new Error("Number skeleton cannot be empty");
|
|
1454
|
-
for (var t = e.split(
|
|
1455
|
-
return
|
|
1440
|
+
for (var t = e.split(Dn).filter(function(c) {
|
|
1441
|
+
return c.length > 0;
|
|
1456
1442
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1457
1443
|
var o = i[n], s = o.split("/");
|
|
1458
1444
|
if (s.length === 0)
|
|
1459
1445
|
throw new Error("Invalid number skeleton");
|
|
1460
1446
|
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1461
|
-
var
|
|
1462
|
-
if (
|
|
1447
|
+
var f = h[u];
|
|
1448
|
+
if (f.length === 0)
|
|
1463
1449
|
throw new Error("Invalid number skeleton");
|
|
1464
1450
|
}
|
|
1465
1451
|
r.push({ stem: a, options: l });
|
|
1466
1452
|
}
|
|
1467
1453
|
return r;
|
|
1468
1454
|
}
|
|
1469
|
-
function
|
|
1455
|
+
function jn(e) {
|
|
1470
1456
|
return e.replace(/^(.*?)-/, "");
|
|
1471
1457
|
}
|
|
1472
|
-
var
|
|
1473
|
-
function
|
|
1458
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
|
|
1459
|
+
function yt(e) {
|
|
1474
1460
|
var t = {};
|
|
1475
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1461
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
|
|
1476
1462
|
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)), "";
|
|
1477
1463
|
}), t;
|
|
1478
1464
|
}
|
|
1479
|
-
function
|
|
1465
|
+
function ir(e) {
|
|
1480
1466
|
switch (e) {
|
|
1481
1467
|
case "sign-auto":
|
|
1482
1468
|
return {
|
|
@@ -1516,7 +1502,7 @@ function ar(e) {
|
|
|
1516
1502
|
};
|
|
1517
1503
|
}
|
|
1518
1504
|
}
|
|
1519
|
-
function
|
|
1505
|
+
function Vn(e) {
|
|
1520
1506
|
var t;
|
|
1521
1507
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1522
1508
|
notation: "engineering"
|
|
@@ -1524,17 +1510,17 @@ function zn(e) {
|
|
|
1524
1510
|
notation: "scientific"
|
|
1525
1511
|
}, e = e.slice(1)), t) {
|
|
1526
1512
|
var r = e.slice(0, 2);
|
|
1527
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1513
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
|
|
1528
1514
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1529
1515
|
t.minimumIntegerDigits = e.length;
|
|
1530
1516
|
}
|
|
1531
1517
|
return t;
|
|
1532
1518
|
}
|
|
1533
|
-
function
|
|
1534
|
-
var t = {}, r =
|
|
1519
|
+
function vt(e) {
|
|
1520
|
+
var t = {}, r = ir(e);
|
|
1535
1521
|
return r || t;
|
|
1536
1522
|
}
|
|
1537
|
-
function
|
|
1523
|
+
function Xn(e) {
|
|
1538
1524
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1539
1525
|
var i = n[r];
|
|
1540
1526
|
switch (i.stem) {
|
|
@@ -1558,7 +1544,7 @@ function Wn(e) {
|
|
|
1558
1544
|
continue;
|
|
1559
1545
|
case "measure-unit":
|
|
1560
1546
|
case "unit":
|
|
1561
|
-
t.style = "unit", t.unit =
|
|
1547
|
+
t.style = "unit", t.unit = jn(i.options[0]);
|
|
1562
1548
|
continue;
|
|
1563
1549
|
case "compact-short":
|
|
1564
1550
|
case "K":
|
|
@@ -1569,13 +1555,13 @@ function Wn(e) {
|
|
|
1569
1555
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1570
1556
|
continue;
|
|
1571
1557
|
case "scientific":
|
|
1572
|
-
t =
|
|
1573
|
-
return
|
|
1558
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1559
|
+
return v(v({}, l), vt(u));
|
|
1574
1560
|
}, {}));
|
|
1575
1561
|
continue;
|
|
1576
1562
|
case "engineering":
|
|
1577
|
-
t =
|
|
1578
|
-
return
|
|
1563
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1564
|
+
return v(v({}, l), vt(u));
|
|
1579
1565
|
}, {}));
|
|
1580
1566
|
continue;
|
|
1581
1567
|
case "notation-simple":
|
|
@@ -1620,45 +1606,45 @@ function Wn(e) {
|
|
|
1620
1606
|
case "integer-width":
|
|
1621
1607
|
if (i.options.length > 1)
|
|
1622
1608
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1623
|
-
i.options[0].replace(
|
|
1609
|
+
i.options[0].replace(kn, function(l, u, h, f, c, d) {
|
|
1624
1610
|
if (u)
|
|
1625
1611
|
t.minimumIntegerDigits = h.length;
|
|
1626
1612
|
else {
|
|
1627
|
-
if (
|
|
1613
|
+
if (f && c)
|
|
1628
1614
|
throw new Error("We currently do not support maximum integer digits");
|
|
1629
|
-
if (
|
|
1615
|
+
if (d)
|
|
1630
1616
|
throw new Error("We currently do not support exact integer digits");
|
|
1631
1617
|
}
|
|
1632
1618
|
return "";
|
|
1633
1619
|
});
|
|
1634
1620
|
continue;
|
|
1635
1621
|
}
|
|
1636
|
-
if (
|
|
1622
|
+
if (nr.test(i.stem)) {
|
|
1637
1623
|
t.minimumIntegerDigits = i.stem.length;
|
|
1638
1624
|
continue;
|
|
1639
1625
|
}
|
|
1640
|
-
if (
|
|
1626
|
+
if (gt.test(i.stem)) {
|
|
1641
1627
|
if (i.options.length > 1)
|
|
1642
1628
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1643
|
-
i.stem.replace(
|
|
1644
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1629
|
+
i.stem.replace(gt, function(l, u, h, f, c, d) {
|
|
1630
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1645
1631
|
});
|
|
1646
1632
|
var o = i.options[0];
|
|
1647
|
-
o === "w" ? t =
|
|
1633
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
|
|
1648
1634
|
continue;
|
|
1649
1635
|
}
|
|
1650
|
-
if (
|
|
1651
|
-
t =
|
|
1636
|
+
if (rr.test(i.stem)) {
|
|
1637
|
+
t = v(v({}, t), yt(i.stem));
|
|
1652
1638
|
continue;
|
|
1653
1639
|
}
|
|
1654
|
-
var s =
|
|
1655
|
-
s && (t =
|
|
1656
|
-
var a =
|
|
1657
|
-
a && (t =
|
|
1640
|
+
var s = ir(i.stem);
|
|
1641
|
+
s && (t = v(v({}, t), s));
|
|
1642
|
+
var a = Vn(i.stem);
|
|
1643
|
+
a && (t = v(v({}, t), a));
|
|
1658
1644
|
}
|
|
1659
1645
|
return t;
|
|
1660
1646
|
}
|
|
1661
|
-
var
|
|
1647
|
+
var fe = {
|
|
1662
1648
|
"001": [
|
|
1663
1649
|
"H",
|
|
1664
1650
|
"h"
|
|
@@ -3073,13 +3059,13 @@ var ce = {
|
|
|
3073
3059
|
"h"
|
|
3074
3060
|
]
|
|
3075
3061
|
};
|
|
3076
|
-
function
|
|
3062
|
+
function zn(e, t) {
|
|
3077
3063
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3078
3064
|
var i = e.charAt(n);
|
|
3079
3065
|
if (i === "j") {
|
|
3080
3066
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3081
3067
|
o++, n++;
|
|
3082
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3068
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Wn(t);
|
|
3083
3069
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3084
3070
|
r += l;
|
|
3085
3071
|
for (; s-- > 0; )
|
|
@@ -3089,7 +3075,7 @@ function Zn(e, t) {
|
|
|
3089
3075
|
}
|
|
3090
3076
|
return r;
|
|
3091
3077
|
}
|
|
3092
|
-
function
|
|
3078
|
+
function Wn(e) {
|
|
3093
3079
|
var t = e.hourCycle;
|
|
3094
3080
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3095
3081
|
e.hourCycles && // @ts-ignore
|
|
@@ -3108,23 +3094,23 @@ function Qn(e) {
|
|
|
3108
3094
|
}
|
|
3109
3095
|
var r = e.language, n;
|
|
3110
3096
|
r !== "root" && (n = e.maximize().region);
|
|
3111
|
-
var i =
|
|
3097
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3112
3098
|
return i[0];
|
|
3113
3099
|
}
|
|
3114
|
-
var
|
|
3100
|
+
var Ce, Zn = new RegExp("^".concat(tr.source, "*")), Qn = new RegExp("".concat(tr.source, "*$"));
|
|
3115
3101
|
function g(e, t) {
|
|
3116
3102
|
return { start: e, end: t };
|
|
3117
3103
|
}
|
|
3118
|
-
var
|
|
3104
|
+
var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
|
|
3119
3105
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3120
|
-
},
|
|
3106
|
+
}, je = !0;
|
|
3121
3107
|
try {
|
|
3122
|
-
var
|
|
3123
|
-
|
|
3108
|
+
var ii = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3109
|
+
je = ((Ce = ii.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
|
|
3124
3110
|
} catch (e) {
|
|
3125
|
-
|
|
3111
|
+
je = !1;
|
|
3126
3112
|
}
|
|
3127
|
-
var
|
|
3113
|
+
var xt = Jn ? (
|
|
3128
3114
|
// Native
|
|
3129
3115
|
function(t, r, n) {
|
|
3130
3116
|
return t.startsWith(r, n);
|
|
@@ -3134,7 +3120,7 @@ var Et = Yn ? (
|
|
|
3134
3120
|
function(t, r, n) {
|
|
3135
3121
|
return t.slice(n, n + r.length) === r;
|
|
3136
3122
|
}
|
|
3137
|
-
),
|
|
3123
|
+
), ke = qn ? String.fromCodePoint : (
|
|
3138
3124
|
// IE11
|
|
3139
3125
|
function() {
|
|
3140
3126
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3146,9 +3132,9 @@ var Et = Yn ? (
|
|
|
3146
3132
|
}
|
|
3147
3133
|
return n;
|
|
3148
3134
|
}
|
|
3149
|
-
),
|
|
3135
|
+
), _t = (
|
|
3150
3136
|
// native
|
|
3151
|
-
|
|
3137
|
+
Yn ? Object.fromEntries : (
|
|
3152
3138
|
// Ponyfill
|
|
3153
3139
|
function(t) {
|
|
3154
3140
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3158,7 +3144,7 @@ var Et = Yn ? (
|
|
|
3158
3144
|
return r;
|
|
3159
3145
|
}
|
|
3160
3146
|
)
|
|
3161
|
-
),
|
|
3147
|
+
), or = Kn ? (
|
|
3162
3148
|
// Native
|
|
3163
3149
|
function(t, r) {
|
|
3164
3150
|
return t.codePointAt(r);
|
|
@@ -3172,7 +3158,7 @@ var Et = Yn ? (
|
|
|
3172
3158
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3173
3159
|
}
|
|
3174
3160
|
}
|
|
3175
|
-
),
|
|
3161
|
+
), oi = ei ? (
|
|
3176
3162
|
// Native
|
|
3177
3163
|
function(t) {
|
|
3178
3164
|
return t.trimStart();
|
|
@@ -3180,9 +3166,9 @@ var Et = Yn ? (
|
|
|
3180
3166
|
) : (
|
|
3181
3167
|
// Ponyfill
|
|
3182
3168
|
function(t) {
|
|
3183
|
-
return t.replace(
|
|
3169
|
+
return t.replace(Zn, "");
|
|
3184
3170
|
}
|
|
3185
|
-
),
|
|
3171
|
+
), si = ti ? (
|
|
3186
3172
|
// Native
|
|
3187
3173
|
function(t) {
|
|
3188
3174
|
return t.trimEnd();
|
|
@@ -3190,32 +3176,32 @@ var Et = Yn ? (
|
|
|
3190
3176
|
) : (
|
|
3191
3177
|
// Ponyfill
|
|
3192
3178
|
function(t) {
|
|
3193
|
-
return t.replace(
|
|
3179
|
+
return t.replace(Qn, "");
|
|
3194
3180
|
}
|
|
3195
3181
|
);
|
|
3196
|
-
function
|
|
3182
|
+
function sr(e, t) {
|
|
3197
3183
|
return new RegExp(e, t);
|
|
3198
3184
|
}
|
|
3199
|
-
var
|
|
3200
|
-
if (
|
|
3201
|
-
var
|
|
3202
|
-
|
|
3185
|
+
var Ve;
|
|
3186
|
+
if (je) {
|
|
3187
|
+
var Et = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3188
|
+
Ve = function(t, r) {
|
|
3203
3189
|
var n;
|
|
3204
|
-
|
|
3205
|
-
var i =
|
|
3190
|
+
Et.lastIndex = r;
|
|
3191
|
+
var i = Et.exec(t);
|
|
3206
3192
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3207
3193
|
};
|
|
3208
3194
|
} else
|
|
3209
|
-
|
|
3195
|
+
Ve = function(t, r) {
|
|
3210
3196
|
for (var n = []; ; ) {
|
|
3211
|
-
var i =
|
|
3212
|
-
if (i === void 0 ||
|
|
3197
|
+
var i = or(t, r);
|
|
3198
|
+
if (i === void 0 || ar(i) || hi(i))
|
|
3213
3199
|
break;
|
|
3214
3200
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3215
3201
|
}
|
|
3216
|
-
return
|
|
3202
|
+
return ke.apply(void 0, n);
|
|
3217
3203
|
};
|
|
3218
|
-
var
|
|
3204
|
+
var ai = (
|
|
3219
3205
|
/** @class */
|
|
3220
3206
|
function() {
|
|
3221
3207
|
function e(t, r) {
|
|
@@ -3245,8 +3231,8 @@ var li = (
|
|
|
3245
3231
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3246
3232
|
if (n)
|
|
3247
3233
|
break;
|
|
3248
|
-
return this.error(
|
|
3249
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3234
|
+
return this.error(m.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3235
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3250
3236
|
var s = this.parseTag(t, r);
|
|
3251
3237
|
if (s.err)
|
|
3252
3238
|
return s;
|
|
@@ -3279,10 +3265,10 @@ var li = (
|
|
|
3279
3265
|
return o;
|
|
3280
3266
|
var s = o.val, a = this.clonePosition();
|
|
3281
3267
|
if (this.bumpIf("</")) {
|
|
3282
|
-
if (this.isEOF() || !
|
|
3283
|
-
return this.error(
|
|
3268
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
3269
|
+
return this.error(m.INVALID_TAG, g(a, this.clonePosition()));
|
|
3284
3270
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3285
|
-
return i !== u ? this.error(
|
|
3271
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3286
3272
|
val: {
|
|
3287
3273
|
type: S.tag,
|
|
3288
3274
|
value: i,
|
|
@@ -3290,14 +3276,14 @@ var li = (
|
|
|
3290
3276
|
location: g(n, this.clonePosition())
|
|
3291
3277
|
},
|
|
3292
3278
|
err: null
|
|
3293
|
-
} : this.error(
|
|
3279
|
+
} : this.error(m.INVALID_TAG, g(a, this.clonePosition())));
|
|
3294
3280
|
} else
|
|
3295
|
-
return this.error(
|
|
3281
|
+
return this.error(m.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3296
3282
|
} else
|
|
3297
|
-
return this.error(
|
|
3283
|
+
return this.error(m.INVALID_TAG, g(n, this.clonePosition()));
|
|
3298
3284
|
}, e.prototype.parseTagName = function() {
|
|
3299
3285
|
var t = this.offset();
|
|
3300
|
-
for (this.bump(); !this.isEOF() &&
|
|
3286
|
+
for (this.bump(); !this.isEOF() && li(this.char()); )
|
|
3301
3287
|
this.bump();
|
|
3302
3288
|
return this.message.slice(t, this.offset());
|
|
3303
3289
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3326,7 +3312,7 @@ var li = (
|
|
|
3326
3312
|
};
|
|
3327
3313
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3328
3314
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3329
|
-
!
|
|
3315
|
+
!ui(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3330
3316
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3331
3317
|
if (this.isEOF() || this.char() !== 39)
|
|
3332
3318
|
return null;
|
|
@@ -3360,23 +3346,23 @@ var li = (
|
|
|
3360
3346
|
r.push(n);
|
|
3361
3347
|
this.bump();
|
|
3362
3348
|
}
|
|
3363
|
-
return
|
|
3349
|
+
return ke.apply(void 0, r);
|
|
3364
3350
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3365
3351
|
if (this.isEOF())
|
|
3366
3352
|
return null;
|
|
3367
3353
|
var n = this.char();
|
|
3368
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3354
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
|
|
3369
3355
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3370
3356
|
var n = this.clonePosition();
|
|
3371
3357
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3372
|
-
return this.error(
|
|
3358
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3373
3359
|
if (this.char() === 125)
|
|
3374
|
-
return this.bump(), this.error(
|
|
3360
|
+
return this.bump(), this.error(m.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3375
3361
|
var i = this.parseIdentifierIfPossible().value;
|
|
3376
3362
|
if (!i)
|
|
3377
|
-
return this.error(
|
|
3363
|
+
return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3378
3364
|
if (this.bumpSpace(), this.isEOF())
|
|
3379
|
-
return this.error(
|
|
3365
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3380
3366
|
switch (this.char()) {
|
|
3381
3367
|
case 125:
|
|
3382
3368
|
return this.bump(), {
|
|
@@ -3389,12 +3375,12 @@ var li = (
|
|
|
3389
3375
|
err: null
|
|
3390
3376
|
};
|
|
3391
3377
|
case 44:
|
|
3392
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3378
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3393
3379
|
default:
|
|
3394
|
-
return this.error(
|
|
3380
|
+
return this.error(m.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3395
3381
|
}
|
|
3396
3382
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3397
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3383
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
3398
3384
|
this.bumpTo(i);
|
|
3399
3385
|
var o = this.clonePosition(), s = g(t, o);
|
|
3400
3386
|
return { value: n, location: s };
|
|
@@ -3402,7 +3388,7 @@ var li = (
|
|
|
3402
3388
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3403
3389
|
switch (a) {
|
|
3404
3390
|
case "":
|
|
3405
|
-
return this.error(
|
|
3391
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, g(s, l));
|
|
3406
3392
|
case "number":
|
|
3407
3393
|
case "date":
|
|
3408
3394
|
case "time": {
|
|
@@ -3410,40 +3396,40 @@ var li = (
|
|
|
3410
3396
|
var u = null;
|
|
3411
3397
|
if (this.bumpIf(",")) {
|
|
3412
3398
|
this.bumpSpace();
|
|
3413
|
-
var h = this.clonePosition(),
|
|
3414
|
-
if (
|
|
3415
|
-
return
|
|
3416
|
-
var
|
|
3417
|
-
if (
|
|
3418
|
-
return this.error(
|
|
3419
|
-
var
|
|
3420
|
-
u = { style:
|
|
3399
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3400
|
+
if (f.err)
|
|
3401
|
+
return f;
|
|
3402
|
+
var c = si(f.val);
|
|
3403
|
+
if (c.length === 0)
|
|
3404
|
+
return this.error(m.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3405
|
+
var d = g(h, this.clonePosition());
|
|
3406
|
+
u = { style: c, styleLocation: d };
|
|
3421
3407
|
}
|
|
3422
|
-
var
|
|
3423
|
-
if (
|
|
3424
|
-
return
|
|
3408
|
+
var y = this.tryParseArgumentClose(i);
|
|
3409
|
+
if (y.err)
|
|
3410
|
+
return y;
|
|
3425
3411
|
var p = g(i, this.clonePosition());
|
|
3426
|
-
if (u &&
|
|
3427
|
-
var w =
|
|
3412
|
+
if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3413
|
+
var w = oi(u.style.slice(2));
|
|
3428
3414
|
if (a === "number") {
|
|
3429
|
-
var
|
|
3430
|
-
return
|
|
3431
|
-
val: { type: S.number, value: n, location: p, style:
|
|
3415
|
+
var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3416
|
+
return f.err ? f : {
|
|
3417
|
+
val: { type: S.number, value: n, location: p, style: f.val },
|
|
3432
3418
|
err: null
|
|
3433
3419
|
};
|
|
3434
3420
|
} else {
|
|
3435
3421
|
if (w.length === 0)
|
|
3436
|
-
return this.error(
|
|
3422
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, p);
|
|
3437
3423
|
var P = w;
|
|
3438
|
-
this.locale && (P =
|
|
3439
|
-
var
|
|
3424
|
+
this.locale && (P = zn(w, this.locale));
|
|
3425
|
+
var c = {
|
|
3440
3426
|
type: z.dateTime,
|
|
3441
3427
|
pattern: P,
|
|
3442
3428
|
location: u.styleLocation,
|
|
3443
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3444
|
-
},
|
|
3429
|
+
parsedOptions: this.shouldParseSkeletons ? Un(P) : {}
|
|
3430
|
+
}, C = a === "date" ? S.date : S.time;
|
|
3445
3431
|
return {
|
|
3446
|
-
val: { type:
|
|
3432
|
+
val: { type: C, value: n, location: p, style: c },
|
|
3447
3433
|
err: null
|
|
3448
3434
|
};
|
|
3449
3435
|
}
|
|
@@ -3463,30 +3449,30 @@ var li = (
|
|
|
3463
3449
|
case "select": {
|
|
3464
3450
|
var _ = this.clonePosition();
|
|
3465
3451
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3466
|
-
return this.error(
|
|
3452
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, v({}, _)));
|
|
3467
3453
|
this.bumpSpace();
|
|
3468
3454
|
var E = this.parseIdentifierIfPossible(), x = 0;
|
|
3469
3455
|
if (a !== "select" && E.value === "offset") {
|
|
3470
3456
|
if (!this.bumpIf(":"))
|
|
3471
|
-
return this.error(
|
|
3457
|
+
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3472
3458
|
this.bumpSpace();
|
|
3473
|
-
var
|
|
3474
|
-
if (
|
|
3475
|
-
return
|
|
3476
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(), x =
|
|
3459
|
+
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3460
|
+
if (f.err)
|
|
3461
|
+
return f;
|
|
3462
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = f.val;
|
|
3477
3463
|
}
|
|
3478
|
-
var
|
|
3479
|
-
if (
|
|
3480
|
-
return
|
|
3481
|
-
var
|
|
3482
|
-
if (
|
|
3483
|
-
return
|
|
3464
|
+
var H = this.tryParsePluralOrSelectOptions(t, a, r, E);
|
|
3465
|
+
if (H.err)
|
|
3466
|
+
return H;
|
|
3467
|
+
var y = this.tryParseArgumentClose(i);
|
|
3468
|
+
if (y.err)
|
|
3469
|
+
return y;
|
|
3484
3470
|
var ue = g(i, this.clonePosition());
|
|
3485
3471
|
return a === "select" ? {
|
|
3486
3472
|
val: {
|
|
3487
3473
|
type: S.select,
|
|
3488
3474
|
value: n,
|
|
3489
|
-
options:
|
|
3475
|
+
options: _t(H.val),
|
|
3490
3476
|
location: ue
|
|
3491
3477
|
},
|
|
3492
3478
|
err: null
|
|
@@ -3494,7 +3480,7 @@ var li = (
|
|
|
3494
3480
|
val: {
|
|
3495
3481
|
type: S.plural,
|
|
3496
3482
|
value: n,
|
|
3497
|
-
options:
|
|
3483
|
+
options: _t(H.val),
|
|
3498
3484
|
offset: x,
|
|
3499
3485
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3500
3486
|
location: ue
|
|
@@ -3503,10 +3489,10 @@ var li = (
|
|
|
3503
3489
|
};
|
|
3504
3490
|
}
|
|
3505
3491
|
default:
|
|
3506
|
-
return this.error(
|
|
3492
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, g(s, l));
|
|
3507
3493
|
}
|
|
3508
3494
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3509
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3495
|
+
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3510
3496
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3511
3497
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3512
3498
|
var n = this.char();
|
|
@@ -3515,7 +3501,7 @@ var li = (
|
|
|
3515
3501
|
this.bump();
|
|
3516
3502
|
var i = this.clonePosition();
|
|
3517
3503
|
if (!this.bumpUntil("'"))
|
|
3518
|
-
return this.error(
|
|
3504
|
+
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3519
3505
|
this.bump();
|
|
3520
3506
|
break;
|
|
3521
3507
|
}
|
|
@@ -3545,52 +3531,52 @@ var li = (
|
|
|
3545
3531
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3546
3532
|
var n = [];
|
|
3547
3533
|
try {
|
|
3548
|
-
n =
|
|
3534
|
+
n = Fn(t);
|
|
3549
3535
|
} catch (i) {
|
|
3550
|
-
return this.error(
|
|
3536
|
+
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3551
3537
|
}
|
|
3552
3538
|
return {
|
|
3553
3539
|
val: {
|
|
3554
3540
|
type: z.number,
|
|
3555
3541
|
tokens: n,
|
|
3556
3542
|
location: r,
|
|
3557
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3543
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
|
|
3558
3544
|
},
|
|
3559
3545
|
err: null
|
|
3560
3546
|
};
|
|
3561
3547
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3562
3548
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3563
3549
|
if (u.length === 0) {
|
|
3564
|
-
var
|
|
3550
|
+
var f = this.clonePosition();
|
|
3565
3551
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3566
|
-
var
|
|
3567
|
-
if (
|
|
3568
|
-
return
|
|
3569
|
-
h = g(
|
|
3552
|
+
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3553
|
+
if (c.err)
|
|
3554
|
+
return c;
|
|
3555
|
+
h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3570
3556
|
} else
|
|
3571
3557
|
break;
|
|
3572
3558
|
}
|
|
3573
3559
|
if (l.has(u))
|
|
3574
|
-
return this.error(r === "select" ?
|
|
3560
|
+
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3575
3561
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3576
|
-
var
|
|
3562
|
+
var d = this.clonePosition();
|
|
3577
3563
|
if (!this.bumpIf("{"))
|
|
3578
|
-
return this.error(r === "select" ?
|
|
3579
|
-
var
|
|
3580
|
-
if (
|
|
3581
|
-
return
|
|
3582
|
-
var p = this.tryParseArgumentClose(
|
|
3564
|
+
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3565
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3566
|
+
if (y.err)
|
|
3567
|
+
return y;
|
|
3568
|
+
var p = this.tryParseArgumentClose(d);
|
|
3583
3569
|
if (p.err)
|
|
3584
3570
|
return p;
|
|
3585
3571
|
a.push([
|
|
3586
3572
|
u,
|
|
3587
3573
|
{
|
|
3588
|
-
value:
|
|
3589
|
-
location: g(
|
|
3574
|
+
value: y.val,
|
|
3575
|
+
location: g(d, this.clonePosition())
|
|
3590
3576
|
}
|
|
3591
3577
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3592
3578
|
}
|
|
3593
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3579
|
+
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3594
3580
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3595
3581
|
var n = 1, i = this.clonePosition();
|
|
3596
3582
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3602,7 +3588,7 @@ var li = (
|
|
|
3602
3588
|
break;
|
|
3603
3589
|
}
|
|
3604
3590
|
var l = g(i, this.clonePosition());
|
|
3605
|
-
return o ? (s *= n,
|
|
3591
|
+
return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3606
3592
|
}, e.prototype.offset = function() {
|
|
3607
3593
|
return this.position.offset;
|
|
3608
3594
|
}, e.prototype.isEOF = function() {
|
|
@@ -3617,7 +3603,7 @@ var li = (
|
|
|
3617
3603
|
var t = this.position.offset;
|
|
3618
3604
|
if (t >= this.message.length)
|
|
3619
3605
|
throw Error("out of bound");
|
|
3620
|
-
var r =
|
|
3606
|
+
var r = or(this.message, t);
|
|
3621
3607
|
if (r === void 0)
|
|
3622
3608
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3623
3609
|
return r;
|
|
@@ -3636,7 +3622,7 @@ var li = (
|
|
|
3636
3622
|
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);
|
|
3637
3623
|
}
|
|
3638
3624
|
}, e.prototype.bumpIf = function(t) {
|
|
3639
|
-
if (
|
|
3625
|
+
if (xt(this.message, t, this.offset())) {
|
|
3640
3626
|
for (var r = 0; r < t.length; r++)
|
|
3641
3627
|
this.bump();
|
|
3642
3628
|
return !0;
|
|
@@ -3658,7 +3644,7 @@ var li = (
|
|
|
3658
3644
|
break;
|
|
3659
3645
|
}
|
|
3660
3646
|
}, e.prototype.bumpSpace = function() {
|
|
3661
|
-
for (; !this.isEOF() &&
|
|
3647
|
+
for (; !this.isEOF() && ar(this.char()); )
|
|
3662
3648
|
this.bump();
|
|
3663
3649
|
}, e.prototype.peek = function() {
|
|
3664
3650
|
if (this.isEOF())
|
|
@@ -3668,38 +3654,38 @@ var li = (
|
|
|
3668
3654
|
}, e;
|
|
3669
3655
|
}()
|
|
3670
3656
|
);
|
|
3671
|
-
function
|
|
3657
|
+
function Xe(e) {
|
|
3672
3658
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3673
3659
|
}
|
|
3674
|
-
function
|
|
3675
|
-
return
|
|
3660
|
+
function ui(e) {
|
|
3661
|
+
return Xe(e) || e === 47;
|
|
3676
3662
|
}
|
|
3677
|
-
function
|
|
3663
|
+
function li(e) {
|
|
3678
3664
|
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;
|
|
3679
3665
|
}
|
|
3680
|
-
function
|
|
3666
|
+
function ar(e) {
|
|
3681
3667
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3682
3668
|
}
|
|
3683
|
-
function
|
|
3669
|
+
function hi(e) {
|
|
3684
3670
|
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;
|
|
3685
3671
|
}
|
|
3686
|
-
function
|
|
3672
|
+
function ze(e) {
|
|
3687
3673
|
e.forEach(function(t) {
|
|
3688
|
-
if (delete t.location,
|
|
3674
|
+
if (delete t.location, qt(t) || Yt(t))
|
|
3689
3675
|
for (var r in t.options)
|
|
3690
|
-
delete t.options[r].location,
|
|
3676
|
+
delete t.options[r].location, ze(t.options[r].value);
|
|
3691
3677
|
else
|
|
3692
|
-
|
|
3678
|
+
Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Fe(t.style) ? delete t.style.location : Kt(t) && ze(t.children);
|
|
3693
3679
|
});
|
|
3694
3680
|
}
|
|
3695
|
-
function
|
|
3696
|
-
t === void 0 && (t = {}), t =
|
|
3697
|
-
var r = new
|
|
3681
|
+
function fi(e, t) {
|
|
3682
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3683
|
+
var r = new ai(e, t).parse();
|
|
3698
3684
|
if (r.err) {
|
|
3699
|
-
var n = SyntaxError(
|
|
3685
|
+
var n = SyntaxError(m[r.err.kind]);
|
|
3700
3686
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3701
3687
|
}
|
|
3702
|
-
return t != null && t.captureLocation ||
|
|
3688
|
+
return t != null && t.captureLocation || ze(r.val), r.val;
|
|
3703
3689
|
}
|
|
3704
3690
|
var W;
|
|
3705
3691
|
(function(e) {
|
|
@@ -3717,7 +3703,7 @@ var _e = (
|
|
|
3717
3703
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3718
3704
|
}, t;
|
|
3719
3705
|
}(Error)
|
|
3720
|
-
),
|
|
3706
|
+
), St = (
|
|
3721
3707
|
/** @class */
|
|
3722
3708
|
function(e) {
|
|
3723
3709
|
R(t, e);
|
|
@@ -3726,7 +3712,7 @@ var _e = (
|
|
|
3726
3712
|
}
|
|
3727
3713
|
return t;
|
|
3728
3714
|
}(_e)
|
|
3729
|
-
),
|
|
3715
|
+
), ci = (
|
|
3730
3716
|
/** @class */
|
|
3731
3717
|
function(e) {
|
|
3732
3718
|
R(t, e);
|
|
@@ -3735,7 +3721,7 @@ var _e = (
|
|
|
3735
3721
|
}
|
|
3736
3722
|
return t;
|
|
3737
3723
|
}(_e)
|
|
3738
|
-
),
|
|
3724
|
+
), di = (
|
|
3739
3725
|
/** @class */
|
|
3740
3726
|
function(e) {
|
|
3741
3727
|
R(t, e);
|
|
@@ -3744,128 +3730,128 @@ var _e = (
|
|
|
3744
3730
|
}
|
|
3745
3731
|
return t;
|
|
3746
3732
|
}(_e)
|
|
3747
|
-
),
|
|
3733
|
+
), B;
|
|
3748
3734
|
(function(e) {
|
|
3749
3735
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3750
|
-
})(
|
|
3751
|
-
function
|
|
3736
|
+
})(B || (B = {}));
|
|
3737
|
+
function mi(e) {
|
|
3752
3738
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3753
3739
|
var n = t[t.length - 1];
|
|
3754
|
-
return !n || n.type !==
|
|
3740
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3755
3741
|
}, []);
|
|
3756
3742
|
}
|
|
3757
|
-
function
|
|
3743
|
+
function pi(e) {
|
|
3758
3744
|
return typeof e == "function";
|
|
3759
3745
|
}
|
|
3760
3746
|
function pe(e, t, r, n, i, o, s) {
|
|
3761
|
-
if (e.length === 1 &&
|
|
3747
|
+
if (e.length === 1 && bt(e[0]))
|
|
3762
3748
|
return [
|
|
3763
3749
|
{
|
|
3764
|
-
type:
|
|
3750
|
+
type: B.literal,
|
|
3765
3751
|
value: e[0].value
|
|
3766
3752
|
}
|
|
3767
3753
|
];
|
|
3768
3754
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3769
3755
|
var h = u[l];
|
|
3770
|
-
if (
|
|
3756
|
+
if (bt(h)) {
|
|
3771
3757
|
a.push({
|
|
3772
|
-
type:
|
|
3758
|
+
type: B.literal,
|
|
3773
3759
|
value: h.value
|
|
3774
3760
|
});
|
|
3775
3761
|
continue;
|
|
3776
3762
|
}
|
|
3777
|
-
if (
|
|
3763
|
+
if ($n(h)) {
|
|
3778
3764
|
typeof o == "number" && a.push({
|
|
3779
|
-
type:
|
|
3765
|
+
type: B.literal,
|
|
3780
3766
|
value: r.getNumberFormat(t).format(o)
|
|
3781
3767
|
});
|
|
3782
3768
|
continue;
|
|
3783
3769
|
}
|
|
3784
|
-
var
|
|
3785
|
-
if (!(i &&
|
|
3786
|
-
throw new
|
|
3787
|
-
var
|
|
3788
|
-
if (
|
|
3789
|
-
(!
|
|
3790
|
-
type: typeof
|
|
3791
|
-
value:
|
|
3770
|
+
var f = h.value;
|
|
3771
|
+
if (!(i && f in i))
|
|
3772
|
+
throw new di(f, s);
|
|
3773
|
+
var c = i[f];
|
|
3774
|
+
if (Rn(h)) {
|
|
3775
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3776
|
+
type: typeof c == "string" ? B.literal : B.object,
|
|
3777
|
+
value: c
|
|
3792
3778
|
});
|
|
3793
3779
|
continue;
|
|
3794
3780
|
}
|
|
3795
|
-
if (
|
|
3796
|
-
var
|
|
3781
|
+
if (Qt(h)) {
|
|
3782
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
|
|
3797
3783
|
a.push({
|
|
3798
|
-
type:
|
|
3799
|
-
value: r.getDateTimeFormat(t,
|
|
3784
|
+
type: B.literal,
|
|
3785
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3800
3786
|
});
|
|
3801
3787
|
continue;
|
|
3802
3788
|
}
|
|
3803
|
-
if (
|
|
3804
|
-
var
|
|
3789
|
+
if (Jt(h)) {
|
|
3790
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3805
3791
|
a.push({
|
|
3806
|
-
type:
|
|
3807
|
-
value: r.getDateTimeFormat(t,
|
|
3792
|
+
type: B.literal,
|
|
3793
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3808
3794
|
});
|
|
3809
3795
|
continue;
|
|
3810
3796
|
}
|
|
3811
|
-
if (
|
|
3812
|
-
var
|
|
3813
|
-
|
|
3814
|
-
type:
|
|
3815
|
-
value: r.getNumberFormat(t,
|
|
3797
|
+
if (Zt(h)) {
|
|
3798
|
+
var d = typeof h.style == "string" ? n.number[h.style] : er(h.style) ? h.style.parsedOptions : void 0;
|
|
3799
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3800
|
+
type: B.literal,
|
|
3801
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3816
3802
|
});
|
|
3817
3803
|
continue;
|
|
3818
3804
|
}
|
|
3819
|
-
if (
|
|
3820
|
-
var
|
|
3821
|
-
if (!
|
|
3822
|
-
throw new
|
|
3823
|
-
var P = pe(
|
|
3805
|
+
if (Kt(h)) {
|
|
3806
|
+
var y = h.children, p = h.value, w = i[p];
|
|
3807
|
+
if (!pi(w))
|
|
3808
|
+
throw new ci(p, "function", s);
|
|
3809
|
+
var P = pe(y, t, r, n, i, o), C = w(P.map(function(x) {
|
|
3824
3810
|
return x.value;
|
|
3825
3811
|
}));
|
|
3826
|
-
Array.isArray(
|
|
3812
|
+
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
|
|
3827
3813
|
return {
|
|
3828
|
-
type: typeof x == "string" ?
|
|
3814
|
+
type: typeof x == "string" ? B.literal : B.object,
|
|
3829
3815
|
value: x
|
|
3830
3816
|
};
|
|
3831
3817
|
}));
|
|
3832
3818
|
}
|
|
3833
|
-
if (
|
|
3834
|
-
var _ = h.options[
|
|
3819
|
+
if (qt(h)) {
|
|
3820
|
+
var _ = h.options[c] || h.options.other;
|
|
3835
3821
|
if (!_)
|
|
3836
|
-
throw new
|
|
3822
|
+
throw new St(h.value, c, Object.keys(h.options), s);
|
|
3837
3823
|
a.push.apply(a, pe(_.value, t, r, n, i));
|
|
3838
3824
|
continue;
|
|
3839
3825
|
}
|
|
3840
|
-
if (
|
|
3841
|
-
var _ = h.options["=".concat(
|
|
3826
|
+
if (Yt(h)) {
|
|
3827
|
+
var _ = h.options["=".concat(c)];
|
|
3842
3828
|
if (!_) {
|
|
3843
3829
|
if (!Intl.PluralRules)
|
|
3844
3830
|
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3845
3831
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3846
3832
|
`, W.MISSING_INTL_API, s);
|
|
3847
|
-
var E = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3833
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3848
3834
|
_ = h.options[E] || h.options.other;
|
|
3849
3835
|
}
|
|
3850
3836
|
if (!_)
|
|
3851
|
-
throw new
|
|
3852
|
-
a.push.apply(a, pe(_.value, t, r, n, i,
|
|
3837
|
+
throw new St(h.value, c, Object.keys(h.options), s);
|
|
3838
|
+
a.push.apply(a, pe(_.value, t, r, n, i, c - (h.offset || 0)));
|
|
3853
3839
|
continue;
|
|
3854
3840
|
}
|
|
3855
3841
|
}
|
|
3856
|
-
return
|
|
3842
|
+
return mi(a);
|
|
3857
3843
|
}
|
|
3858
|
-
function
|
|
3859
|
-
return t ?
|
|
3860
|
-
return r[n] =
|
|
3844
|
+
function bi(e, t) {
|
|
3845
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3846
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3861
3847
|
}, {})) : e;
|
|
3862
3848
|
}
|
|
3863
|
-
function
|
|
3849
|
+
function gi(e, t) {
|
|
3864
3850
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3865
|
-
return r[n] =
|
|
3866
|
-
},
|
|
3851
|
+
return r[n] = bi(e[n], t[n]), r;
|
|
3852
|
+
}, v({}, e)) : e;
|
|
3867
3853
|
}
|
|
3868
|
-
function
|
|
3854
|
+
function Pe(e) {
|
|
3869
3855
|
return {
|
|
3870
3856
|
create: function() {
|
|
3871
3857
|
return {
|
|
@@ -3879,39 +3865,39 @@ function Oe(e) {
|
|
|
3879
3865
|
}
|
|
3880
3866
|
};
|
|
3881
3867
|
}
|
|
3882
|
-
function
|
|
3868
|
+
function yi(e) {
|
|
3883
3869
|
return e === void 0 && (e = {
|
|
3884
3870
|
number: {},
|
|
3885
3871
|
dateTime: {},
|
|
3886
3872
|
pluralRules: {}
|
|
3887
3873
|
}), {
|
|
3888
|
-
getNumberFormat:
|
|
3874
|
+
getNumberFormat: Ae(function() {
|
|
3889
3875
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3890
3876
|
r[n] = arguments[n];
|
|
3891
3877
|
return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3892
3878
|
}, {
|
|
3893
|
-
cache:
|
|
3894
|
-
strategy:
|
|
3879
|
+
cache: Pe(e.number),
|
|
3880
|
+
strategy: Be.variadic
|
|
3895
3881
|
}),
|
|
3896
|
-
getDateTimeFormat:
|
|
3882
|
+
getDateTimeFormat: Ae(function() {
|
|
3897
3883
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3898
3884
|
r[n] = arguments[n];
|
|
3899
3885
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
|
|
3900
3886
|
}, {
|
|
3901
|
-
cache:
|
|
3902
|
-
strategy:
|
|
3887
|
+
cache: Pe(e.dateTime),
|
|
3888
|
+
strategy: Be.variadic
|
|
3903
3889
|
}),
|
|
3904
|
-
getPluralRules:
|
|
3890
|
+
getPluralRules: Ae(function() {
|
|
3905
3891
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3906
3892
|
r[n] = arguments[n];
|
|
3907
3893
|
return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
|
|
3908
3894
|
}, {
|
|
3909
|
-
cache:
|
|
3910
|
-
strategy:
|
|
3895
|
+
cache: Pe(e.pluralRules),
|
|
3896
|
+
strategy: Be.variadic
|
|
3911
3897
|
})
|
|
3912
3898
|
};
|
|
3913
3899
|
}
|
|
3914
|
-
var
|
|
3900
|
+
var vi = (
|
|
3915
3901
|
/** @class */
|
|
3916
3902
|
function() {
|
|
3917
3903
|
function e(t, r, n, i) {
|
|
@@ -3925,8 +3911,8 @@ var _i = (
|
|
|
3925
3911
|
var u = o.formatToParts(l);
|
|
3926
3912
|
if (u.length === 1)
|
|
3927
3913
|
return u[0].value;
|
|
3928
|
-
var h = u.reduce(function(
|
|
3929
|
-
return !
|
|
3914
|
+
var h = u.reduce(function(f, c) {
|
|
3915
|
+
return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3930
3916
|
}, []);
|
|
3931
3917
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3932
3918
|
}, this.formatToParts = function(l) {
|
|
@@ -3943,13 +3929,13 @@ var _i = (
|
|
|
3943
3929
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3944
3930
|
var s = i || {};
|
|
3945
3931
|
s.formatters;
|
|
3946
|
-
var a =
|
|
3947
|
-
this.ast = e.__parse(t,
|
|
3932
|
+
var a = qr(s, ["formatters"]);
|
|
3933
|
+
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3948
3934
|
} else
|
|
3949
3935
|
this.ast = t;
|
|
3950
3936
|
if (!Array.isArray(this.ast))
|
|
3951
3937
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3952
|
-
this.formats =
|
|
3938
|
+
this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
|
|
3953
3939
|
}
|
|
3954
3940
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3955
3941
|
get: function() {
|
|
@@ -3962,7 +3948,7 @@ var _i = (
|
|
|
3962
3948
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3963
3949
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3964
3950
|
}
|
|
3965
|
-
}, e.__parse =
|
|
3951
|
+
}, e.__parse = fi, e.formats = {
|
|
3966
3952
|
number: {
|
|
3967
3953
|
integer: {
|
|
3968
3954
|
maximumFractionDigits: 0
|
|
@@ -4023,7 +4009,7 @@ var _i = (
|
|
|
4023
4009
|
}, e;
|
|
4024
4010
|
}()
|
|
4025
4011
|
);
|
|
4026
|
-
function
|
|
4012
|
+
function xi(e, t) {
|
|
4027
4013
|
if (t == null)
|
|
4028
4014
|
return;
|
|
4029
4015
|
if (t in e)
|
|
@@ -4044,92 +4030,92 @@ function Ei(e, t) {
|
|
|
4044
4030
|
n = void 0;
|
|
4045
4031
|
return n;
|
|
4046
4032
|
}
|
|
4047
|
-
const $ = {},
|
|
4033
|
+
const $ = {}, _i = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ur = (e, t) => {
|
|
4048
4034
|
if (t == null)
|
|
4049
4035
|
return;
|
|
4050
4036
|
if (t in $ && e in $[t])
|
|
4051
4037
|
return $[t][e];
|
|
4052
4038
|
const r = Ee(t);
|
|
4053
4039
|
for (let n = 0; n < r.length; n++) {
|
|
4054
|
-
const i = r[n], o =
|
|
4040
|
+
const i = r[n], o = Si(i, e);
|
|
4055
4041
|
if (o)
|
|
4056
|
-
return
|
|
4042
|
+
return _i(e, t, o);
|
|
4057
4043
|
}
|
|
4058
4044
|
};
|
|
4059
|
-
let
|
|
4045
|
+
let Ye;
|
|
4060
4046
|
const ae = xe({});
|
|
4061
|
-
function
|
|
4062
|
-
return
|
|
4047
|
+
function Ei(e) {
|
|
4048
|
+
return Ye[e] || null;
|
|
4063
4049
|
}
|
|
4064
|
-
function
|
|
4065
|
-
return e in
|
|
4050
|
+
function lr(e) {
|
|
4051
|
+
return e in Ye;
|
|
4066
4052
|
}
|
|
4067
|
-
function
|
|
4068
|
-
if (!
|
|
4053
|
+
function Si(e, t) {
|
|
4054
|
+
if (!lr(e))
|
|
4069
4055
|
return null;
|
|
4070
|
-
const r =
|
|
4071
|
-
return
|
|
4056
|
+
const r = Ei(e);
|
|
4057
|
+
return xi(r, t);
|
|
4072
4058
|
}
|
|
4073
|
-
function
|
|
4059
|
+
function wi(e) {
|
|
4074
4060
|
if (e == null)
|
|
4075
4061
|
return;
|
|
4076
4062
|
const t = Ee(e);
|
|
4077
4063
|
for (let r = 0; r < t.length; r++) {
|
|
4078
4064
|
const n = t[r];
|
|
4079
|
-
if (
|
|
4065
|
+
if (lr(n))
|
|
4080
4066
|
return n;
|
|
4081
4067
|
}
|
|
4082
4068
|
}
|
|
4083
|
-
function
|
|
4084
|
-
delete $[e], ae.update((r) => (r[e] =
|
|
4069
|
+
function hr(e, ...t) {
|
|
4070
|
+
delete $[e], ae.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
|
|
4085
4071
|
}
|
|
4086
4072
|
q(
|
|
4087
4073
|
[ae],
|
|
4088
4074
|
([e]) => Object.keys(e)
|
|
4089
4075
|
);
|
|
4090
|
-
ae.subscribe((e) =>
|
|
4076
|
+
ae.subscribe((e) => Ye = e);
|
|
4091
4077
|
const be = {};
|
|
4092
|
-
function
|
|
4078
|
+
function Ti(e, t) {
|
|
4093
4079
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4094
4080
|
}
|
|
4095
|
-
function
|
|
4081
|
+
function fr(e) {
|
|
4096
4082
|
return be[e];
|
|
4097
4083
|
}
|
|
4098
|
-
function
|
|
4084
|
+
function Hi(e) {
|
|
4099
4085
|
return Ee(e).map((t) => {
|
|
4100
|
-
const r =
|
|
4086
|
+
const r = fr(t);
|
|
4101
4087
|
return [t, r ? [...r] : []];
|
|
4102
4088
|
}).filter(([, t]) => t.length > 0);
|
|
4103
4089
|
}
|
|
4104
|
-
function
|
|
4090
|
+
function We(e) {
|
|
4105
4091
|
return e == null ? !1 : Ee(e).some(
|
|
4106
4092
|
(t) => {
|
|
4107
4093
|
var r;
|
|
4108
|
-
return (r =
|
|
4094
|
+
return (r = fr(t)) == null ? void 0 : r.size;
|
|
4109
4095
|
}
|
|
4110
4096
|
);
|
|
4111
4097
|
}
|
|
4112
|
-
function
|
|
4098
|
+
function Ai(e, t) {
|
|
4113
4099
|
return Promise.all(
|
|
4114
|
-
t.map((n) => (
|
|
4115
|
-
).then((n) =>
|
|
4100
|
+
t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
|
|
4101
|
+
).then((n) => hr(e, ...n));
|
|
4116
4102
|
}
|
|
4117
4103
|
const ee = {};
|
|
4118
|
-
function
|
|
4119
|
-
if (!
|
|
4104
|
+
function cr(e) {
|
|
4105
|
+
if (!We(e))
|
|
4120
4106
|
return e in ee ? ee[e] : Promise.resolve();
|
|
4121
|
-
const t =
|
|
4107
|
+
const t = Hi(e);
|
|
4122
4108
|
return ee[e] = Promise.all(
|
|
4123
4109
|
t.map(
|
|
4124
|
-
([r, n]) =>
|
|
4110
|
+
([r, n]) => Ai(r, n)
|
|
4125
4111
|
)
|
|
4126
4112
|
).then(() => {
|
|
4127
|
-
if (
|
|
4128
|
-
return
|
|
4113
|
+
if (We(e))
|
|
4114
|
+
return cr(e);
|
|
4129
4115
|
delete ee[e];
|
|
4130
4116
|
}), ee[e];
|
|
4131
4117
|
}
|
|
4132
|
-
const
|
|
4118
|
+
const Bi = {
|
|
4133
4119
|
number: {
|
|
4134
4120
|
scientific: { notation: "scientific" },
|
|
4135
4121
|
engineering: { notation: "engineering" },
|
|
@@ -4158,57 +4144,57 @@ const Pi = {
|
|
|
4158
4144
|
timeZoneName: "short"
|
|
4159
4145
|
}
|
|
4160
4146
|
}
|
|
4161
|
-
},
|
|
4147
|
+
}, Ci = {
|
|
4162
4148
|
fallbackLocale: null,
|
|
4163
4149
|
loadingDelay: 200,
|
|
4164
|
-
formats:
|
|
4150
|
+
formats: Bi,
|
|
4165
4151
|
warnOnMissingMessages: !0,
|
|
4166
4152
|
handleMissingMessage: void 0,
|
|
4167
4153
|
ignoreTag: !0
|
|
4168
|
-
},
|
|
4154
|
+
}, Pi = Ci;
|
|
4169
4155
|
function Z() {
|
|
4170
|
-
return
|
|
4171
|
-
}
|
|
4172
|
-
const
|
|
4173
|
-
var
|
|
4174
|
-
for (var r in t
|
|
4175
|
-
|
|
4176
|
-
if (
|
|
4177
|
-
for (var r of
|
|
4178
|
-
|
|
4156
|
+
return Pi;
|
|
4157
|
+
}
|
|
4158
|
+
const Oe = xe(!1);
|
|
4159
|
+
var Oi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
|
|
4160
|
+
for (var r in t)
|
|
4161
|
+
Ni.call(t, r) && Tt(e, r, t[r]);
|
|
4162
|
+
if (wt)
|
|
4163
|
+
for (var r of wt(t))
|
|
4164
|
+
Li.call(t, r) && Tt(e, r, t[r]);
|
|
4179
4165
|
return e;
|
|
4180
|
-
},
|
|
4181
|
-
let
|
|
4166
|
+
}, $i = (e, t) => Ii(e, Mi(t));
|
|
4167
|
+
let Ze;
|
|
4182
4168
|
const ge = xe(null);
|
|
4183
|
-
function
|
|
4169
|
+
function Ht(e) {
|
|
4184
4170
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4185
4171
|
}
|
|
4186
4172
|
function Ee(e, t = Z().fallbackLocale) {
|
|
4187
|
-
const r =
|
|
4188
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4173
|
+
const r = Ht(e);
|
|
4174
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
|
|
4189
4175
|
}
|
|
4190
4176
|
function G() {
|
|
4191
|
-
return
|
|
4177
|
+
return Ze != null ? Ze : void 0;
|
|
4192
4178
|
}
|
|
4193
4179
|
ge.subscribe((e) => {
|
|
4194
|
-
|
|
4180
|
+
Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4195
4181
|
});
|
|
4196
|
-
const
|
|
4197
|
-
if (e &&
|
|
4182
|
+
const Gi = (e) => {
|
|
4183
|
+
if (e && wi(e) && We(e)) {
|
|
4198
4184
|
const { loadingDelay: t } = Z();
|
|
4199
4185
|
let r;
|
|
4200
4186
|
return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
|
|
4201
|
-
() =>
|
|
4187
|
+
() => Oe.set(!0),
|
|
4202
4188
|
t
|
|
4203
|
-
) :
|
|
4189
|
+
) : Oe.set(!0), cr(e).then(() => {
|
|
4204
4190
|
ge.set(e);
|
|
4205
4191
|
}).finally(() => {
|
|
4206
|
-
clearTimeout(r),
|
|
4192
|
+
clearTimeout(r), Oe.set(!1);
|
|
4207
4193
|
});
|
|
4208
4194
|
}
|
|
4209
4195
|
return ge.set(e);
|
|
4210
|
-
}, Y =
|
|
4211
|
-
set:
|
|
4196
|
+
}, Y = $i(Ri({}, ge), {
|
|
4197
|
+
set: Gi
|
|
4212
4198
|
}), Se = (e) => {
|
|
4213
4199
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4214
4200
|
return (n) => {
|
|
@@ -4216,20 +4202,20 @@ const Di = (e) => {
|
|
|
4216
4202
|
return i in t ? t[i] : t[i] = e(n);
|
|
4217
4203
|
};
|
|
4218
4204
|
};
|
|
4219
|
-
var
|
|
4205
|
+
var Ui = Object.defineProperty, ye = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
4220
4206
|
for (var r in t || (t = {}))
|
|
4221
|
-
|
|
4222
|
-
if (
|
|
4223
|
-
for (var r of
|
|
4224
|
-
|
|
4207
|
+
dr.call(t, r) && At(e, r, t[r]);
|
|
4208
|
+
if (ye)
|
|
4209
|
+
for (var r of ye(t))
|
|
4210
|
+
mr.call(t, r) && At(e, r, t[r]);
|
|
4225
4211
|
return e;
|
|
4226
4212
|
}, K = (e, t) => {
|
|
4227
4213
|
var r = {};
|
|
4228
4214
|
for (var n in e)
|
|
4229
|
-
|
|
4230
|
-
if (e != null &&
|
|
4231
|
-
for (var n of
|
|
4232
|
-
t.indexOf(n) < 0 &&
|
|
4215
|
+
dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4216
|
+
if (e != null && ye)
|
|
4217
|
+
for (var n of ye(e))
|
|
4218
|
+
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
4233
4219
|
return r;
|
|
4234
4220
|
};
|
|
4235
4221
|
const ie = (e, t) => {
|
|
@@ -4237,21 +4223,21 @@ const ie = (e, t) => {
|
|
|
4237
4223
|
if (e in r && t in r[e])
|
|
4238
4224
|
return r[e][t];
|
|
4239
4225
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4240
|
-
},
|
|
4226
|
+
}, Di = Se(
|
|
4241
4227
|
(e) => {
|
|
4242
4228
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4243
4229
|
if (r == null)
|
|
4244
4230
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4245
4231
|
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4246
4232
|
}
|
|
4247
|
-
),
|
|
4233
|
+
), Fi = Se(
|
|
4248
4234
|
(e) => {
|
|
4249
4235
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4250
4236
|
if (r == null)
|
|
4251
4237
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4252
4238
|
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4253
4239
|
}
|
|
4254
|
-
),
|
|
4240
|
+
), ji = Se(
|
|
4255
4241
|
(e) => {
|
|
4256
4242
|
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4257
4243
|
if (r == null)
|
|
@@ -4260,33 +4246,33 @@ const ie = (e, t) => {
|
|
|
4260
4246
|
);
|
|
4261
4247
|
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4262
4248
|
}
|
|
4263
|
-
),
|
|
4249
|
+
), ki = (e = {}) => {
|
|
4264
4250
|
var t = e, {
|
|
4265
4251
|
locale: r = G()
|
|
4266
4252
|
} = t, n = K(t, [
|
|
4267
4253
|
"locale"
|
|
4268
4254
|
]);
|
|
4269
|
-
return
|
|
4270
|
-
},
|
|
4255
|
+
return Di(Ke({ locale: r }, n));
|
|
4256
|
+
}, Vi = (e = {}) => {
|
|
4271
4257
|
var t = e, {
|
|
4272
4258
|
locale: r = G()
|
|
4273
4259
|
} = t, n = K(t, [
|
|
4274
4260
|
"locale"
|
|
4275
4261
|
]);
|
|
4276
|
-
return
|
|
4277
|
-
},
|
|
4262
|
+
return Fi(Ke({ locale: r }, n));
|
|
4263
|
+
}, Xi = (e = {}) => {
|
|
4278
4264
|
var t = e, {
|
|
4279
4265
|
locale: r = G()
|
|
4280
4266
|
} = t, n = K(t, [
|
|
4281
4267
|
"locale"
|
|
4282
4268
|
]);
|
|
4283
|
-
return
|
|
4284
|
-
},
|
|
4269
|
+
return ji(Ke({ locale: r }, n));
|
|
4270
|
+
}, zi = Se(
|
|
4285
4271
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4286
|
-
(e, t = G()) => new
|
|
4272
|
+
(e, t = G()) => new vi(e, t, Z().formats, {
|
|
4287
4273
|
ignoreTag: Z().ignoreTag
|
|
4288
4274
|
})
|
|
4289
|
-
),
|
|
4275
|
+
), Wi = (e, t = {}) => {
|
|
4290
4276
|
var r, n, i, o;
|
|
4291
4277
|
let s = t;
|
|
4292
4278
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4299,7 +4285,7 @@ const ie = (e, t) => {
|
|
|
4299
4285
|
throw new Error(
|
|
4300
4286
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4301
4287
|
);
|
|
4302
|
-
let h =
|
|
4288
|
+
let h = ur(e, l);
|
|
4303
4289
|
if (!h)
|
|
4304
4290
|
h = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4305
4291
|
else if (typeof h != "string")
|
|
@@ -4308,30 +4294,30 @@ const ie = (e, t) => {
|
|
|
4308
4294
|
), h;
|
|
4309
4295
|
if (!a)
|
|
4310
4296
|
return h;
|
|
4311
|
-
let
|
|
4297
|
+
let f = h;
|
|
4312
4298
|
try {
|
|
4313
|
-
|
|
4314
|
-
} catch (
|
|
4315
|
-
|
|
4299
|
+
f = zi(h, l).format(a);
|
|
4300
|
+
} catch (c) {
|
|
4301
|
+
c instanceof Error && console.warn(
|
|
4316
4302
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4317
|
-
|
|
4303
|
+
c.message
|
|
4318
4304
|
);
|
|
4319
4305
|
}
|
|
4320
|
-
return
|
|
4321
|
-
},
|
|
4306
|
+
return f;
|
|
4307
|
+
}, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), qi = (e, t = G()) => ur(e, t), Yi = q([Y, ae], () => Wi);
|
|
4308
|
+
q([Y], () => Zi);
|
|
4309
|
+
q([Y], () => Qi);
|
|
4322
4310
|
q([Y], () => Ji);
|
|
4323
|
-
q([Y], () => qi);
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
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) {
|
|
4311
|
+
q([Y, ae], () => qi);
|
|
4312
|
+
window.emWidgets = { topic: cn };
|
|
4313
|
+
const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4314
|
+
function eo(e, t) {
|
|
4329
4315
|
if (e) {
|
|
4330
4316
|
const r = document.createElement("style");
|
|
4331
4317
|
r.innerHTML = t, e.appendChild(r);
|
|
4332
4318
|
}
|
|
4333
4319
|
}
|
|
4334
|
-
function
|
|
4320
|
+
function to(e, t) {
|
|
4335
4321
|
const r = new URL(t);
|
|
4336
4322
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4337
4323
|
const i = document.createElement("style");
|
|
@@ -4340,7 +4326,7 @@ function no(e, t) {
|
|
|
4340
4326
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4341
4327
|
});
|
|
4342
4328
|
}
|
|
4343
|
-
function
|
|
4329
|
+
function ro(e, t, r) {
|
|
4344
4330
|
if (window.emMessageBus) {
|
|
4345
4331
|
const n = document.createElement("style");
|
|
4346
4332
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4348,13 +4334,13 @@ function io(e, t, r) {
|
|
|
4348
4334
|
});
|
|
4349
4335
|
}
|
|
4350
4336
|
}
|
|
4351
|
-
function
|
|
4352
|
-
|
|
4337
|
+
function Bt(e, t) {
|
|
4338
|
+
hr(e, t);
|
|
4353
4339
|
}
|
|
4354
|
-
function
|
|
4340
|
+
function no(e) {
|
|
4355
4341
|
Y.set(e);
|
|
4356
4342
|
}
|
|
4357
|
-
const
|
|
4343
|
+
const Ct = {
|
|
4358
4344
|
en: {
|
|
4359
4345
|
cancel: "Cancel",
|
|
4360
4346
|
confirm: "Confirm"
|
|
@@ -4400,18 +4386,18 @@ const Ot = {
|
|
|
4400
4386
|
confirm: "Confirm"
|
|
4401
4387
|
}
|
|
4402
4388
|
};
|
|
4403
|
-
function
|
|
4404
|
-
|
|
4389
|
+
function io(e) {
|
|
4390
|
+
Pr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4405
4391
|
}
|
|
4406
|
-
const
|
|
4407
|
-
function
|
|
4392
|
+
const oo = (e) => ({}), Pt = (e) => ({});
|
|
4393
|
+
function so(e) {
|
|
4408
4394
|
let t, r;
|
|
4409
4395
|
return {
|
|
4410
4396
|
c() {
|
|
4411
|
-
t =
|
|
4397
|
+
t = st("svg"), r = st("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4412
4398
|
},
|
|
4413
4399
|
m(n, i) {
|
|
4414
|
-
oe(n, t, i),
|
|
4400
|
+
oe(n, t, i), A(t, r);
|
|
4415
4401
|
},
|
|
4416
4402
|
p: N,
|
|
4417
4403
|
d(n) {
|
|
@@ -4419,7 +4405,7 @@ function uo(e) {
|
|
|
4419
4405
|
}
|
|
4420
4406
|
};
|
|
4421
4407
|
}
|
|
4422
|
-
function
|
|
4408
|
+
function Ot(e) {
|
|
4423
4409
|
let t, r, n;
|
|
4424
4410
|
return {
|
|
4425
4411
|
c() {
|
|
@@ -4429,11 +4415,11 @@ function Mt(e) {
|
|
|
4429
4415
|
), T(t, "class", "GeneralConfirmationTitle");
|
|
4430
4416
|
},
|
|
4431
4417
|
m(i, o) {
|
|
4432
|
-
oe(i, t, o),
|
|
4418
|
+
oe(i, t, o), A(t, r), A(r, n);
|
|
4433
4419
|
},
|
|
4434
4420
|
p(i, o) {
|
|
4435
4421
|
o & /*modaltitle*/
|
|
4436
|
-
2 &&
|
|
4422
|
+
2 && Je(
|
|
4437
4423
|
n,
|
|
4438
4424
|
/*modaltitle*/
|
|
4439
4425
|
i[1]
|
|
@@ -4444,7 +4430,7 @@ function Mt(e) {
|
|
|
4444
4430
|
}
|
|
4445
4431
|
};
|
|
4446
4432
|
}
|
|
4447
|
-
function
|
|
4433
|
+
function It(e) {
|
|
4448
4434
|
let t, r = (
|
|
4449
4435
|
/*$_*/
|
|
4450
4436
|
e[4]("cancel") + ""
|
|
@@ -4454,7 +4440,7 @@ function Nt(e) {
|
|
|
4454
4440
|
t = M("button"), n = se(r), T(t, "class", "GeneralCancelButton");
|
|
4455
4441
|
},
|
|
4456
4442
|
m(s, a) {
|
|
4457
|
-
oe(s, t, a),
|
|
4443
|
+
oe(s, t, a), A(t, n), i || (o = Ie(
|
|
4458
4444
|
t,
|
|
4459
4445
|
"click",
|
|
4460
4446
|
/*click_handler*/
|
|
@@ -4464,168 +4450,168 @@ function Nt(e) {
|
|
|
4464
4450
|
p(s, a) {
|
|
4465
4451
|
a & /*$_*/
|
|
4466
4452
|
16 && r !== (r = /*$_*/
|
|
4467
|
-
s[4]("cancel") + "") &&
|
|
4453
|
+
s[4]("cancel") + "") && Je(n, r);
|
|
4468
4454
|
},
|
|
4469
4455
|
d(s) {
|
|
4470
4456
|
s && J(t), i = !1, o();
|
|
4471
4457
|
}
|
|
4472
4458
|
};
|
|
4473
4459
|
}
|
|
4474
|
-
function
|
|
4475
|
-
let t, r, n, i, o, s, a, l, u, h,
|
|
4460
|
+
function ao(e) {
|
|
4461
|
+
let t, r, n, i, o, s, a, l, u, h, f = (
|
|
4476
4462
|
/*$_*/
|
|
4477
4463
|
e[4]("confirm") + ""
|
|
4478
|
-
),
|
|
4464
|
+
), c, d, y, p;
|
|
4479
4465
|
const w = (
|
|
4480
4466
|
/*#slots*/
|
|
4481
4467
|
e[16].close
|
|
4482
|
-
), P =
|
|
4468
|
+
), P = Hr(
|
|
4483
4469
|
w,
|
|
4484
4470
|
e,
|
|
4485
4471
|
/*$$scope*/
|
|
4486
4472
|
e[15],
|
|
4487
|
-
|
|
4488
|
-
),
|
|
4473
|
+
Pt
|
|
4474
|
+
), C = P || so();
|
|
4489
4475
|
let _ = (
|
|
4490
4476
|
/*modaltitle*/
|
|
4491
|
-
e[1] &&
|
|
4477
|
+
e[1] && Ot(e)
|
|
4492
4478
|
), E = (
|
|
4493
4479
|
/*hascancelbutton*/
|
|
4494
|
-
e[2] &&
|
|
4480
|
+
e[2] && It(e)
|
|
4495
4481
|
);
|
|
4496
4482
|
return {
|
|
4497
4483
|
c() {
|
|
4498
|
-
t = M("div"), r = M("div"), n = M("span"),
|
|
4484
|
+
t = M("div"), r = M("div"), n = M("span"), C.c(), i = le(), _ && _.c(), o = le(), s = M("div"), a = le(), l = M("div"), E && E.c(), u = le(), h = M("button"), c = se(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4499
4485
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4500
4486
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4501
4487
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4502
4488
|
},
|
|
4503
|
-
m(x,
|
|
4504
|
-
oe(x, t,
|
|
4505
|
-
e[0],
|
|
4506
|
-
|
|
4489
|
+
m(x, H) {
|
|
4490
|
+
oe(x, t, H), A(t, r), A(r, n), C.m(n, null), A(r, i), _ && _.m(r, null), A(r, o), A(r, s), s.innerHTML = /*modaltext*/
|
|
4491
|
+
e[0], A(r, a), A(r, l), E && E.m(l, null), A(l, u), A(l, h), A(h, c), e[19](t), d = !0, y || (p = [
|
|
4492
|
+
Ie(
|
|
4507
4493
|
n,
|
|
4508
4494
|
"click",
|
|
4509
4495
|
/*close*/
|
|
4510
4496
|
e[6]
|
|
4511
4497
|
),
|
|
4512
|
-
|
|
4498
|
+
Ie(
|
|
4513
4499
|
h,
|
|
4514
4500
|
"click",
|
|
4515
4501
|
/*click_handler_1*/
|
|
4516
4502
|
e[18]
|
|
4517
4503
|
)
|
|
4518
|
-
],
|
|
4504
|
+
], y = !0);
|
|
4519
4505
|
},
|
|
4520
|
-
p(x, [
|
|
4521
|
-
P && P.p && (!
|
|
4522
|
-
32768) &&
|
|
4506
|
+
p(x, [H]) {
|
|
4507
|
+
P && P.p && (!d || H & /*$$scope*/
|
|
4508
|
+
32768) && Br(
|
|
4523
4509
|
P,
|
|
4524
4510
|
w,
|
|
4525
4511
|
x,
|
|
4526
4512
|
/*$$scope*/
|
|
4527
4513
|
x[15],
|
|
4528
|
-
|
|
4514
|
+
d ? Ar(
|
|
4529
4515
|
w,
|
|
4530
4516
|
/*$$scope*/
|
|
4531
4517
|
x[15],
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
) :
|
|
4518
|
+
H,
|
|
4519
|
+
oo
|
|
4520
|
+
) : Cr(
|
|
4535
4521
|
/*$$scope*/
|
|
4536
4522
|
x[15]
|
|
4537
4523
|
),
|
|
4538
|
-
|
|
4524
|
+
Pt
|
|
4539
4525
|
), /*modaltitle*/
|
|
4540
|
-
x[1] ? _ ? _.p(x,
|
|
4526
|
+
x[1] ? _ ? _.p(x, H) : (_ = Ot(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || H & /*modaltext*/
|
|
4541
4527
|
1) && (s.innerHTML = /*modaltext*/
|
|
4542
4528
|
x[0]), /*hascancelbutton*/
|
|
4543
|
-
x[2] ? E ? E.p(x,
|
|
4544
|
-
16) &&
|
|
4545
|
-
x[4]("confirm") + "") &&
|
|
4529
|
+
x[2] ? E ? E.p(x, H) : (E = It(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!d || H & /*$_*/
|
|
4530
|
+
16) && f !== (f = /*$_*/
|
|
4531
|
+
x[4]("confirm") + "") && Je(c, f);
|
|
4546
4532
|
},
|
|
4547
4533
|
i(x) {
|
|
4548
|
-
|
|
4534
|
+
d || ($t(C, x), d = !0);
|
|
4549
4535
|
},
|
|
4550
4536
|
o(x) {
|
|
4551
|
-
|
|
4537
|
+
jr(C, x), d = !1;
|
|
4552
4538
|
},
|
|
4553
4539
|
d(x) {
|
|
4554
|
-
x && J(t),
|
|
4540
|
+
x && J(t), C.d(x), _ && _.d(), E && E.d(), e[19](null), y = !1, Q(p);
|
|
4555
4541
|
}
|
|
4556
4542
|
};
|
|
4557
4543
|
}
|
|
4558
|
-
function
|
|
4544
|
+
function uo(e, t, r) {
|
|
4559
4545
|
let n;
|
|
4560
|
-
|
|
4561
|
-
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:
|
|
4546
|
+
Tr(e, Yi, (b) => r(4, n = b));
|
|
4547
|
+
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: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: y = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, C = Ki(P) !== "PC";
|
|
4562
4548
|
const _ = () => {
|
|
4563
4549
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4564
4550
|
}, E = (b) => {
|
|
4565
4551
|
b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
|
|
4566
4552
|
}, x = () => {
|
|
4567
|
-
fetch(
|
|
4568
|
-
Object.keys(U).forEach((
|
|
4569
|
-
|
|
4553
|
+
fetch(y).then((U) => U.json()).then((U) => {
|
|
4554
|
+
Object.keys(U).forEach((et) => {
|
|
4555
|
+
Bt(et, U[et]);
|
|
4570
4556
|
});
|
|
4571
4557
|
}).catch((U) => {
|
|
4572
4558
|
console.log(U);
|
|
4573
4559
|
});
|
|
4574
4560
|
};
|
|
4575
|
-
Object.keys(
|
|
4576
|
-
|
|
4561
|
+
Object.keys(Ct).forEach((b) => {
|
|
4562
|
+
Bt(b, Ct[b]);
|
|
4577
4563
|
});
|
|
4578
|
-
const
|
|
4579
|
-
|
|
4564
|
+
const H = () => {
|
|
4565
|
+
no(f);
|
|
4580
4566
|
};
|
|
4581
|
-
|
|
4567
|
+
Rr(() => () => {
|
|
4582
4568
|
});
|
|
4583
|
-
const ue = () => E("cancel"),
|
|
4584
|
-
function
|
|
4585
|
-
|
|
4569
|
+
const ue = () => E("cancel"), br = () => E("confirm");
|
|
4570
|
+
function gr(b) {
|
|
4571
|
+
Me[b ? "unshift" : "push"](() => {
|
|
4586
4572
|
w = b, r(3, w);
|
|
4587
4573
|
});
|
|
4588
4574
|
}
|
|
4589
4575
|
return e.$$set = (b) => {
|
|
4590
|
-
"modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10,
|
|
4576
|
+
"modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, f = b.lang), "clientstyling" in b && r(11, c = b.clientstyling), "clientstylingurl" in b && r(12, d = b.clientstylingurl), "translationurl" in b && r(13, y = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
|
|
4591
4577
|
}, e.$$.update = () => {
|
|
4592
4578
|
e.$$.dirty & /*modaltext, lang*/
|
|
4593
|
-
1025 && s &&
|
|
4594
|
-
2056 &&
|
|
4595
|
-
4104 &&
|
|
4596
|
-
16392 && p && w &&
|
|
4597
|
-
8192 &&
|
|
4579
|
+
1025 && s && f && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4580
|
+
2056 && c && w && eo(w, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4581
|
+
4104 && d && w && to(w, d), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4582
|
+
16392 && p && w && ro(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4583
|
+
8192 && y && x();
|
|
4598
4584
|
}, [
|
|
4599
4585
|
s,
|
|
4600
4586
|
a,
|
|
4601
4587
|
l,
|
|
4602
4588
|
w,
|
|
4603
4589
|
n,
|
|
4604
|
-
|
|
4590
|
+
C,
|
|
4605
4591
|
_,
|
|
4606
4592
|
E,
|
|
4607
4593
|
u,
|
|
4608
4594
|
h,
|
|
4609
|
-
c,
|
|
4610
4595
|
f,
|
|
4611
|
-
|
|
4612
|
-
|
|
4596
|
+
c,
|
|
4597
|
+
d,
|
|
4598
|
+
y,
|
|
4613
4599
|
p,
|
|
4614
4600
|
o,
|
|
4615
4601
|
i,
|
|
4616
4602
|
ue,
|
|
4617
|
-
|
|
4618
|
-
|
|
4603
|
+
br,
|
|
4604
|
+
gr
|
|
4619
4605
|
];
|
|
4620
4606
|
}
|
|
4621
|
-
class
|
|
4607
|
+
class pr extends Zr {
|
|
4622
4608
|
constructor(t) {
|
|
4623
|
-
super(),
|
|
4609
|
+
super(), zr(
|
|
4624
4610
|
this,
|
|
4625
4611
|
t,
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4612
|
+
uo,
|
|
4613
|
+
ao,
|
|
4614
|
+
Nt,
|
|
4629
4615
|
{
|
|
4630
4616
|
modaltext: 0,
|
|
4631
4617
|
modaltitle: 1,
|
|
@@ -4638,7 +4624,7 @@ class vr extends qr {
|
|
|
4638
4624
|
translationurl: 13,
|
|
4639
4625
|
mbsource: 14
|
|
4640
4626
|
},
|
|
4641
|
-
|
|
4627
|
+
io
|
|
4642
4628
|
);
|
|
4643
4629
|
}
|
|
4644
4630
|
get modaltext() {
|
|
@@ -4702,50 +4688,50 @@ class vr extends qr {
|
|
|
4702
4688
|
this.$$set({ mbsource: t }), I();
|
|
4703
4689
|
}
|
|
4704
4690
|
}
|
|
4705
|
-
|
|
4706
|
-
const
|
|
4691
|
+
Wr(pr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4692
|
+
const xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4707
4693
|
__proto__: null,
|
|
4708
|
-
default:
|
|
4694
|
+
default: pr
|
|
4709
4695
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4710
4696
|
export {
|
|
4711
4697
|
Y as $,
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4698
|
+
A,
|
|
4699
|
+
bo as B,
|
|
4700
|
+
Ie as C,
|
|
4701
|
+
Je as D,
|
|
4702
|
+
ho as E,
|
|
4717
4703
|
Q as F,
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4704
|
+
co as G,
|
|
4705
|
+
po as H,
|
|
4706
|
+
st as I,
|
|
4707
|
+
mo as J,
|
|
4708
|
+
Yi as K,
|
|
4709
|
+
xo as P,
|
|
4710
|
+
Zr as S,
|
|
4711
|
+
hr as a,
|
|
4712
|
+
Wr as b,
|
|
4713
|
+
vo as c,
|
|
4714
|
+
Pr as d,
|
|
4729
4715
|
M as e,
|
|
4730
4716
|
I as f,
|
|
4731
|
-
|
|
4717
|
+
Jr as g,
|
|
4732
4718
|
oe as h,
|
|
4733
|
-
|
|
4719
|
+
zr as i,
|
|
4734
4720
|
J as j,
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4721
|
+
Tr as k,
|
|
4722
|
+
Ki as l,
|
|
4723
|
+
go as m,
|
|
4738
4724
|
N as n,
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4725
|
+
Rr as o,
|
|
4726
|
+
Me as p,
|
|
4727
|
+
eo as q,
|
|
4728
|
+
to as r,
|
|
4729
|
+
Nt as s,
|
|
4744
4730
|
ro as t,
|
|
4745
|
-
|
|
4731
|
+
yo as u,
|
|
4746
4732
|
le as v,
|
|
4747
4733
|
se as w,
|
|
4748
|
-
|
|
4734
|
+
fo as x,
|
|
4749
4735
|
T as y,
|
|
4750
|
-
|
|
4736
|
+
Le as z
|
|
4751
4737
|
};
|