@everymatrix/player-account-timeout 1.64.7 → 1.65.0
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-Zyz_OEuJ.js → PlayerAccountGeneralConfirmationModal-KlT7fyTS.js} +817 -838
- package/components/{PlayerAccountGeneralConfirmationModal-uYwTgnnB.js → PlayerAccountGeneralConfirmationModal-UoTnbeJN.js} +800 -821
- package/components/PlayerAccountGeneralConfirmationModal-dU6z7ycF.cjs +18 -0
- package/components/{PlayerAccountTimeout-DgNImG9j.cjs → PlayerAccountTimeout-CFlop46h.cjs} +153 -153
- package/components/{PlayerAccountTimeout-9_HCPTGX.js → PlayerAccountTimeout-D6r2Q4oA.js} +782 -777
- package/components/{PlayerAccountTimeout-HDK-sUxz.js → PlayerAccountTimeout-HFXFQvC7.js} +767 -762
- 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-CmHRXrte.cjs +1 -0
- package/stencil/index-b2193545-Dsw4OOA0.js +503 -0
- package/stencil/index-b2193545-b7FTTZLk.js +519 -0
- package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-1cb75d00-BNH09c7f.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CUSs6C3A.cjs → ui-skeleton-1cb75d00-CZaAqtpv.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-1cb75d00-D5-2p-WB.js} +1 -1
- package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-AIPVdsFJ.js} +2 -2
- package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-CrET-Yki.js} +2 -2
- package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-DeVqZ9-c.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-FkuCh0hP.cjs +0 -18
- package/stencil/index-b2193545-BcYyCldH.js +0 -519
- package/stencil/index-b2193545-CPztmidm.js +0 -503
- package/stencil/index-b2193545-D1Z0k4-D.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var _r = Object.defineProperty, Er = Object.defineProperties;
|
|
2
|
+
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var nt = Object.getOwnPropertySymbols;
|
|
4
|
+
var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Te = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
wr.call(t, r) && Te(e, r, t[r]);
|
|
8
|
+
if (nt)
|
|
9
|
+
for (var r of nt(t))
|
|
10
|
+
Tr.call(t, r) && Te(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, ot = (e, t) => Er(e, Sr(t));
|
|
13
|
+
var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var st = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,9 +27,9 @@ var ut = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Hr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,46 +37,46 @@ function Br(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Lt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function at() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function q(e) {
|
|
47
|
+
e.forEach(Lt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function qe(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Rt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Br(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function $t(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const n of t)
|
|
61
61
|
n(void 0);
|
|
62
|
-
return
|
|
62
|
+
return L;
|
|
63
63
|
}
|
|
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 Ar(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push($t(t, r));
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Cr(e, t, r, n) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const i =
|
|
72
|
+
const i = Gt(e, t, r, n);
|
|
73
73
|
return e[0](i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && n ?
|
|
76
|
+
function Gt(e, t, r, n) {
|
|
77
|
+
return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Pr(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 Or(e, t, r, n) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Or(e, t, r, n, i, o) {
|
|
95
95
|
if (i) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Gt(t, r, n, o);
|
|
97
97
|
e.p(s, i);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Ir(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++)
|
|
@@ -109,14 +109,14 @@ function Mr(e) {
|
|
|
109
109
|
function B(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const n =
|
|
112
|
+
function Mr(e, t, r) {
|
|
113
|
+
const n = Nr(e);
|
|
114
114
|
if (!n.getElementById(t)) {
|
|
115
115
|
const i = N("style");
|
|
116
|
-
i.id = t, i.textContent = r,
|
|
116
|
+
i.id = t, i.textContent = r, Lr(n, i);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Nr(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,62 +126,62 @@ function Lr(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Lr(e, t) {
|
|
130
130
|
return B(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function ae(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Y(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function fo(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 N(e) {
|
|
147
147
|
return document.createElement(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ut(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function z(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
155
|
function le() {
|
|
156
|
-
return
|
|
156
|
+
return z(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function mo() {
|
|
159
|
+
return z("");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ne(e, t, r, n) {
|
|
162
162
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
163
163
|
}
|
|
164
164
|
function H(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function po(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 : H(e, t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Rr(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
174
|
function ge(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function bo(e, t) {
|
|
179
179
|
e.value = t == null ? "" : t;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function go(e, t, r, n) {
|
|
182
182
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function vo(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 _o(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function yo(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function $r(e) {
|
|
199
199
|
const t = {};
|
|
200
200
|
return e.childNodes.forEach(
|
|
201
201
|
/** @param {Element} node */
|
|
@@ -204,108 +204,108 @@ function Gr(e) {
|
|
|
204
204
|
}
|
|
205
205
|
), t;
|
|
206
206
|
}
|
|
207
|
-
let
|
|
208
|
-
function
|
|
209
|
-
|
|
207
|
+
let ie;
|
|
208
|
+
function ne(e) {
|
|
209
|
+
ie = e;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
if (!
|
|
211
|
+
function Gr() {
|
|
212
|
+
if (!ie)
|
|
213
213
|
throw new Error("Function called outside component initialization");
|
|
214
|
-
return
|
|
214
|
+
return ie;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
216
|
+
function Ur(e) {
|
|
217
|
+
Gr().$$.on_mount.push(e);
|
|
218
218
|
}
|
|
219
|
-
const k = [],
|
|
219
|
+
const k = [], Le = [];
|
|
220
220
|
let V = [];
|
|
221
|
-
const
|
|
222
|
-
let
|
|
223
|
-
function
|
|
224
|
-
|
|
221
|
+
const lt = [], Dr = /* @__PURE__ */ Promise.resolve();
|
|
222
|
+
let Re = !1;
|
|
223
|
+
function Fr() {
|
|
224
|
+
Re || (Re = !0, Dr.then(I));
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function $e(e) {
|
|
227
227
|
V.push(e);
|
|
228
228
|
}
|
|
229
|
-
const
|
|
229
|
+
const He = /* @__PURE__ */ new Set();
|
|
230
230
|
let F = 0;
|
|
231
231
|
function I() {
|
|
232
232
|
if (F !== 0)
|
|
233
233
|
return;
|
|
234
|
-
const e =
|
|
234
|
+
const e = ie;
|
|
235
235
|
do {
|
|
236
236
|
try {
|
|
237
237
|
for (; F < k.length; ) {
|
|
238
238
|
const t = k[F];
|
|
239
|
-
F++,
|
|
239
|
+
F++, ne(t), jr(t.$$);
|
|
240
240
|
}
|
|
241
241
|
} catch (t) {
|
|
242
242
|
throw k.length = 0, F = 0, t;
|
|
243
243
|
}
|
|
244
|
-
for (
|
|
245
|
-
|
|
244
|
+
for (ne(null), k.length = 0, F = 0; Le.length; )
|
|
245
|
+
Le.pop()();
|
|
246
246
|
for (let t = 0; t < V.length; t += 1) {
|
|
247
247
|
const r = V[t];
|
|
248
|
-
|
|
248
|
+
He.has(r) || (He.add(r), r());
|
|
249
249
|
}
|
|
250
250
|
V.length = 0;
|
|
251
251
|
} while (k.length);
|
|
252
|
-
for (;
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
for (; lt.length; )
|
|
253
|
+
lt.pop()();
|
|
254
|
+
Re = !1, He.clear(), ne(e);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function jr(e) {
|
|
257
257
|
if (e.fragment !== null) {
|
|
258
|
-
e.update(),
|
|
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($e);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function kr(e) {
|
|
264
264
|
const t = [], r = [];
|
|
265
265
|
V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
|
|
266
266
|
}
|
|
267
267
|
const fe = /* @__PURE__ */ new Set();
|
|
268
|
-
let
|
|
269
|
-
function
|
|
268
|
+
let Vr;
|
|
269
|
+
function Ut(e, t) {
|
|
270
270
|
e && e.i && (fe.delete(e), e.i(t));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Xr(e, t, r, n) {
|
|
273
273
|
if (e && e.o) {
|
|
274
274
|
if (fe.has(e))
|
|
275
275
|
return;
|
|
276
|
-
fe.add(e),
|
|
276
|
+
fe.add(e), Vr.c.push(() => {
|
|
277
277
|
fe.delete(e);
|
|
278
278
|
}), e.o(t);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function xo(e) {
|
|
282
282
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function zr(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(
|
|
288
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
289
|
-
}), i.forEach(
|
|
286
|
+
n && n.m(t, r), $e(() => {
|
|
287
|
+
const o = e.$$.on_mount.map(Lt).filter(qe);
|
|
288
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
|
|
289
|
+
}), i.forEach($e);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Wr(e, t) {
|
|
292
292
|
const r = e.$$;
|
|
293
|
-
r.fragment !== null && (
|
|
293
|
+
r.fragment !== null && (kr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
295
|
+
function Zr(e, t) {
|
|
296
|
+
e.$$.dirty[0] === -1 && (k.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
const l =
|
|
300
|
-
|
|
298
|
+
function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
299
|
+
const l = ie;
|
|
300
|
+
ne(e);
|
|
301
301
|
const u = e.$$ = {
|
|
302
302
|
fragment: null,
|
|
303
303
|
ctx: [],
|
|
304
304
|
// state
|
|
305
305
|
props: o,
|
|
306
|
-
update:
|
|
306
|
+
update: L,
|
|
307
307
|
not_equal: i,
|
|
308
|
-
bound:
|
|
308
|
+
bound: at(),
|
|
309
309
|
// lifecycle
|
|
310
310
|
on_mount: [],
|
|
311
311
|
on_destroy: [],
|
|
@@ -314,7 +314,7 @@ function Jr(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: at(),
|
|
318
318
|
dirty: a,
|
|
319
319
|
skip_bound: !1,
|
|
320
320
|
root: t.target || l.$$.root
|
|
@@ -322,20 +322,20 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
322
322
|
s && s(u.root);
|
|
323
323
|
let h = !1;
|
|
324
324
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
325
|
-
const
|
|
326
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
327
|
-
}) : [], u.update(), h = !0,
|
|
325
|
+
const d = m.length ? m[0] : f;
|
|
326
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Zr(e, c)), f;
|
|
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 c =
|
|
330
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
329
|
+
const c = Rr(t.target);
|
|
330
|
+
u.fragment && u.fragment.l(c), c.forEach(Y);
|
|
331
331
|
} else
|
|
332
332
|
u.fragment && u.fragment.c();
|
|
333
|
-
t.intro &&
|
|
333
|
+
t.intro && Ut(e.$$.fragment), zr(e, t.target, t.anchor), I();
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
ne(l);
|
|
336
336
|
}
|
|
337
|
-
let
|
|
338
|
-
typeof HTMLElement == "function" && (
|
|
337
|
+
let Dt;
|
|
338
|
+
typeof HTMLElement == "function" && (Dt = 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" && (jt = class extends HTMLElement {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
connectedCallback() {
|
|
375
|
-
return
|
|
375
|
+
return st(this, null, function* () {
|
|
376
376
|
if (this.$$cn = !0, !this.$$c) {
|
|
377
377
|
let t = function(o) {
|
|
378
378
|
return () => {
|
|
@@ -386,17 +386,17 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
386
386
|
* @param {HTMLElement} [anchor]
|
|
387
387
|
*/
|
|
388
388
|
m: function(u, h) {
|
|
389
|
-
|
|
389
|
+
ae(u, s, h);
|
|
390
390
|
},
|
|
391
391
|
d: function(u) {
|
|
392
|
-
u &&
|
|
392
|
+
u && Y(s);
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
};
|
|
396
396
|
};
|
|
397
397
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
398
|
return;
|
|
399
|
-
const r = {}, n =
|
|
399
|
+
const r = {}, n = $r(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) {
|
|
@@ -407,7 +407,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
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: ot(it({}, this.$$d), {
|
|
411
411
|
$$slots: r,
|
|
412
412
|
$$scope: {
|
|
413
413
|
ctx: []
|
|
@@ -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 Jr(e, t, r, n, i, o) {
|
|
489
|
+
let s = class extends Dt {
|
|
490
490
|
constructor() {
|
|
491
491
|
super(e, r, i), this.$$p_d = t;
|
|
492
492
|
}
|
|
@@ -516,7 +516,7 @@ function qr(e, t, r, n, i, o) {
|
|
|
516
516
|
}), e.element = /** @type {any} */
|
|
517
517
|
s, s;
|
|
518
518
|
}
|
|
519
|
-
class
|
|
519
|
+
class qr {
|
|
520
520
|
constructor() {
|
|
521
521
|
/**
|
|
522
522
|
* ### PRIVATE API
|
|
@@ -537,7 +537,7 @@ class Yr {
|
|
|
537
537
|
}
|
|
538
538
|
/** @returns {void} */
|
|
539
539
|
$destroy() {
|
|
540
|
-
|
|
540
|
+
Wr(this, 1), this.$destroy = L;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -546,8 +546,8 @@ class Yr {
|
|
|
546
546
|
* @returns {() => void}
|
|
547
547
|
*/
|
|
548
548
|
$on(t, r) {
|
|
549
|
-
if (!
|
|
550
|
-
return
|
|
549
|
+
if (!qe(r))
|
|
550
|
+
return L;
|
|
551
551
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
552
552
|
return n.push(r), () => {
|
|
553
553
|
const i = n.indexOf(r);
|
|
@@ -559,13 +559,13 @@ class Yr {
|
|
|
559
559
|
* @returns {void}
|
|
560
560
|
*/
|
|
561
561
|
$set(t) {
|
|
562
|
-
this.$$set && !
|
|
562
|
+
this.$$set && !Br(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 Yr = "4";
|
|
566
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
|
|
567
|
+
var _o = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
568
|
+
function Kr(e) {
|
|
569
569
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
570
570
|
}
|
|
571
571
|
/*! *****************************************************************************
|
|
@@ -582,24 +582,43 @@ 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 Ge = function(e, t) {
|
|
586
|
+
return Ge = 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
|
+
}, Ge(e, t);
|
|
592
592
|
};
|
|
593
|
-
function
|
|
593
|
+
function $(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
|
+
Ge(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
|
-
function
|
|
602
|
+
var y = function() {
|
|
603
|
+
return y = Object.assign || function(t) {
|
|
604
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
605
|
+
r = arguments[n];
|
|
606
|
+
for (var o in r)
|
|
607
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
608
|
+
}
|
|
609
|
+
return t;
|
|
610
|
+
}, y.apply(this, arguments);
|
|
611
|
+
};
|
|
612
|
+
function en(e, t) {
|
|
613
|
+
var r = {};
|
|
614
|
+
for (var n in e)
|
|
615
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
616
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
617
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
618
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
619
|
+
return r;
|
|
620
|
+
}
|
|
621
|
+
function Ue(e) {
|
|
603
622
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
604
623
|
if (r)
|
|
605
624
|
return r.call(e);
|
|
@@ -611,7 +630,7 @@ function Fe(e) {
|
|
|
611
630
|
};
|
|
612
631
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
613
632
|
}
|
|
614
|
-
function
|
|
633
|
+
function De(e, t) {
|
|
615
634
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
616
635
|
if (!r)
|
|
617
636
|
return e;
|
|
@@ -631,22 +650,22 @@ function je(e, t) {
|
|
|
631
650
|
}
|
|
632
651
|
return o;
|
|
633
652
|
}
|
|
634
|
-
function
|
|
635
|
-
if (arguments.length === 2)
|
|
653
|
+
function X(e, t, r) {
|
|
654
|
+
if (r || arguments.length === 2)
|
|
636
655
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
637
656
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
638
657
|
return e.concat(o || t);
|
|
639
658
|
}
|
|
640
|
-
function
|
|
659
|
+
function R(e) {
|
|
641
660
|
return typeof e == "function";
|
|
642
661
|
}
|
|
643
|
-
function
|
|
662
|
+
function Ft(e) {
|
|
644
663
|
var t = function(n) {
|
|
645
664
|
Error.call(n), n.stack = new Error().stack;
|
|
646
665
|
}, r = e(t);
|
|
647
666
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
648
667
|
}
|
|
649
|
-
var
|
|
668
|
+
var Be = Ft(function(e) {
|
|
650
669
|
return function(r) {
|
|
651
670
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
652
671
|
` + r.map(function(n, i) {
|
|
@@ -655,7 +674,7 @@ var Ce = kt(function(e) {
|
|
|
655
674
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
656
675
|
};
|
|
657
676
|
});
|
|
658
|
-
function
|
|
677
|
+
function Fe(e, t) {
|
|
659
678
|
if (e) {
|
|
660
679
|
var r = e.indexOf(t);
|
|
661
680
|
0 <= r && e.splice(r, 1);
|
|
@@ -673,12 +692,12 @@ var xe = function() {
|
|
|
673
692
|
if (s)
|
|
674
693
|
if (this._parentage = null, Array.isArray(s))
|
|
675
694
|
try {
|
|
676
|
-
for (var a =
|
|
695
|
+
for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
|
|
677
696
|
var u = l.value;
|
|
678
697
|
u.remove(this);
|
|
679
698
|
}
|
|
680
|
-
} catch (
|
|
681
|
-
t = { error:
|
|
699
|
+
} catch (p) {
|
|
700
|
+
t = { error: p };
|
|
682
701
|
} finally {
|
|
683
702
|
try {
|
|
684
703
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -690,26 +709,26 @@ var xe = function() {
|
|
|
690
709
|
else
|
|
691
710
|
s.remove(this);
|
|
692
711
|
var h = this.initialTeardown;
|
|
693
|
-
if (
|
|
712
|
+
if (R(h))
|
|
694
713
|
try {
|
|
695
714
|
h();
|
|
696
|
-
} catch (
|
|
697
|
-
o =
|
|
715
|
+
} catch (p) {
|
|
716
|
+
o = p instanceof Be ? p.errors : [p];
|
|
698
717
|
}
|
|
699
718
|
var c = this._finalizers;
|
|
700
719
|
if (c) {
|
|
701
720
|
this._finalizers = null;
|
|
702
721
|
try {
|
|
703
|
-
for (var f =
|
|
704
|
-
var
|
|
722
|
+
for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
|
|
723
|
+
var d = m.value;
|
|
705
724
|
try {
|
|
706
|
-
|
|
707
|
-
} catch (
|
|
708
|
-
o = o != null ? o : [],
|
|
725
|
+
ht(d);
|
|
726
|
+
} catch (p) {
|
|
727
|
+
o = o != null ? o : [], p instanceof Be ? o = X(X([], De(o)), De(p.errors)) : o.push(p);
|
|
709
728
|
}
|
|
710
729
|
}
|
|
711
|
-
} catch (
|
|
712
|
-
n = { error:
|
|
730
|
+
} catch (p) {
|
|
731
|
+
n = { error: p };
|
|
713
732
|
} finally {
|
|
714
733
|
try {
|
|
715
734
|
m && !m.done && (i = f.return) && i.call(f);
|
|
@@ -720,13 +739,13 @@ var xe = function() {
|
|
|
720
739
|
}
|
|
721
740
|
}
|
|
722
741
|
if (o)
|
|
723
|
-
throw new
|
|
742
|
+
throw new Be(o);
|
|
724
743
|
}
|
|
725
744
|
}, e.prototype.add = function(t) {
|
|
726
745
|
var r;
|
|
727
746
|
if (t && t !== this)
|
|
728
747
|
if (this.closed)
|
|
729
|
-
|
|
748
|
+
ht(t);
|
|
730
749
|
else {
|
|
731
750
|
if (t instanceof e) {
|
|
732
751
|
if (t.closed || t._hasParent(this))
|
|
@@ -743,52 +762,56 @@ var xe = function() {
|
|
|
743
762
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
744
763
|
}, e.prototype._removeParent = function(t) {
|
|
745
764
|
var r = this._parentage;
|
|
746
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
765
|
+
r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
|
|
747
766
|
}, e.prototype.remove = function(t) {
|
|
748
767
|
var r = this._finalizers;
|
|
749
|
-
r &&
|
|
768
|
+
r && Fe(r, t), t instanceof e && t._removeParent(this);
|
|
750
769
|
}, e.EMPTY = function() {
|
|
751
770
|
var t = new e();
|
|
752
771
|
return t.closed = !0, t;
|
|
753
772
|
}(), e;
|
|
754
|
-
}(),
|
|
755
|
-
function
|
|
756
|
-
return e instanceof xe || e && "closed" in e &&
|
|
757
|
-
}
|
|
758
|
-
function ft(e) {
|
|
759
|
-
$(e) ? e() : e.unsubscribe();
|
|
773
|
+
}(), jt = xe.EMPTY;
|
|
774
|
+
function kt(e) {
|
|
775
|
+
return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
760
776
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
}
|
|
777
|
+
function ht(e) {
|
|
778
|
+
R(e) ? e() : e.unsubscribe();
|
|
779
|
+
}
|
|
780
|
+
var Vt = {
|
|
781
|
+
onUnhandledError: null,
|
|
782
|
+
onStoppedNotification: null,
|
|
783
|
+
Promise: void 0,
|
|
784
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
785
|
+
useDeprecatedNextContext: !1
|
|
786
|
+
}, tn = {
|
|
764
787
|
setTimeout: function(e, t) {
|
|
765
788
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
766
789
|
r[n - 2] = arguments[n];
|
|
767
|
-
return setTimeout.apply(void 0,
|
|
790
|
+
return setTimeout.apply(void 0, X([e, t], De(r)));
|
|
768
791
|
},
|
|
769
792
|
clearTimeout: function(e) {
|
|
770
793
|
return clearTimeout(e);
|
|
771
794
|
},
|
|
772
795
|
delegate: void 0
|
|
773
796
|
};
|
|
774
|
-
function
|
|
775
|
-
|
|
797
|
+
function rn(e) {
|
|
798
|
+
tn.setTimeout(function() {
|
|
776
799
|
throw e;
|
|
777
800
|
});
|
|
778
801
|
}
|
|
779
|
-
function
|
|
802
|
+
function ct() {
|
|
780
803
|
}
|
|
781
|
-
function
|
|
804
|
+
function de(e) {
|
|
782
805
|
e();
|
|
783
806
|
}
|
|
784
|
-
var
|
|
785
|
-
|
|
807
|
+
var Xt = function(e) {
|
|
808
|
+
$(t, e);
|
|
786
809
|
function t(r) {
|
|
787
810
|
var n = e.call(this) || this;
|
|
788
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
811
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = an, n;
|
|
789
812
|
}
|
|
790
813
|
return t.create = function(r, n, i) {
|
|
791
|
-
return new
|
|
814
|
+
return new je(r, n, i);
|
|
792
815
|
}, t.prototype.next = function(r) {
|
|
793
816
|
this.isStopped || this._next(r);
|
|
794
817
|
}, t.prototype.error = function(r) {
|
|
@@ -812,7 +835,11 @@ var zt = function(e) {
|
|
|
812
835
|
this.unsubscribe();
|
|
813
836
|
}
|
|
814
837
|
}, t;
|
|
815
|
-
}(xe),
|
|
838
|
+
}(xe), nn = Function.prototype.bind;
|
|
839
|
+
function Ae(e, t) {
|
|
840
|
+
return nn.call(e, t);
|
|
841
|
+
}
|
|
842
|
+
var on = function() {
|
|
816
843
|
function e(t) {
|
|
817
844
|
this.partialObserver = t;
|
|
818
845
|
}
|
|
@@ -843,29 +870,41 @@ var zt = function(e) {
|
|
|
843
870
|
he(r);
|
|
844
871
|
}
|
|
845
872
|
}, e;
|
|
846
|
-
}(),
|
|
847
|
-
|
|
873
|
+
}(), je = function(e) {
|
|
874
|
+
$(t, e);
|
|
848
875
|
function t(r, n, i) {
|
|
849
876
|
var o = e.call(this) || this, s;
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
877
|
+
if (R(r) || !r)
|
|
878
|
+
s = {
|
|
879
|
+
next: r != null ? r : void 0,
|
|
880
|
+
error: n != null ? n : void 0,
|
|
881
|
+
complete: i != null ? i : void 0
|
|
882
|
+
};
|
|
883
|
+
else {
|
|
884
|
+
var a;
|
|
885
|
+
o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
886
|
+
return o.unsubscribe();
|
|
887
|
+
}, s = {
|
|
888
|
+
next: r.next && Ae(r.next, a),
|
|
889
|
+
error: r.error && Ae(r.error, a),
|
|
890
|
+
complete: r.complete && Ae(r.complete, a)
|
|
891
|
+
}) : s = r;
|
|
892
|
+
}
|
|
893
|
+
return o.destination = new on(s), o;
|
|
855
894
|
}
|
|
856
895
|
return t;
|
|
857
|
-
}(
|
|
896
|
+
}(Xt);
|
|
858
897
|
function he(e) {
|
|
859
|
-
|
|
898
|
+
rn(e);
|
|
860
899
|
}
|
|
861
900
|
function sn(e) {
|
|
862
901
|
throw e;
|
|
863
902
|
}
|
|
864
903
|
var an = {
|
|
865
904
|
closed: !0,
|
|
866
|
-
next:
|
|
905
|
+
next: ct,
|
|
867
906
|
error: sn,
|
|
868
|
-
complete:
|
|
907
|
+
complete: ct
|
|
869
908
|
}, un = function() {
|
|
870
909
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
871
910
|
}();
|
|
@@ -879,7 +918,7 @@ function hn(e) {
|
|
|
879
918
|
}, r);
|
|
880
919
|
};
|
|
881
920
|
}
|
|
882
|
-
var
|
|
921
|
+
var ft = function() {
|
|
883
922
|
function e(t) {
|
|
884
923
|
t && (this._subscribe = t);
|
|
885
924
|
}
|
|
@@ -887,8 +926,8 @@ var pt = function() {
|
|
|
887
926
|
var r = new e();
|
|
888
927
|
return r.source = this, r.operator = t, r;
|
|
889
928
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
890
|
-
var i = this, o = fn(t) ? t : new
|
|
891
|
-
return
|
|
929
|
+
var i = this, o = fn(t) ? t : new je(t, r, n);
|
|
930
|
+
return de(function() {
|
|
892
931
|
var s = i, a = s.operator, l = s.source;
|
|
893
932
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
894
933
|
}), o;
|
|
@@ -900,8 +939,8 @@ var pt = function() {
|
|
|
900
939
|
}
|
|
901
940
|
}, e.prototype.forEach = function(t, r) {
|
|
902
941
|
var n = this;
|
|
903
|
-
return r =
|
|
904
|
-
var s = new
|
|
942
|
+
return r = mt(r), new r(function(i, o) {
|
|
943
|
+
var s = new je({
|
|
905
944
|
next: function(a) {
|
|
906
945
|
try {
|
|
907
946
|
t(a);
|
|
@@ -925,7 +964,7 @@ var pt = function() {
|
|
|
925
964
|
return hn(t)(this);
|
|
926
965
|
}, e.prototype.toPromise = function(t) {
|
|
927
966
|
var r = this;
|
|
928
|
-
return t =
|
|
967
|
+
return t = mt(t), new t(function(n, i) {
|
|
929
968
|
var o;
|
|
930
969
|
r.subscribe(function(s) {
|
|
931
970
|
return o = s;
|
|
@@ -939,40 +978,40 @@ var pt = function() {
|
|
|
939
978
|
return new e(t);
|
|
940
979
|
}, e;
|
|
941
980
|
}();
|
|
942
|
-
function
|
|
981
|
+
function mt(e) {
|
|
943
982
|
var t;
|
|
944
|
-
return (t = e != null ? e :
|
|
983
|
+
return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
945
984
|
}
|
|
946
985
|
function cn(e) {
|
|
947
|
-
return e &&
|
|
986
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
948
987
|
}
|
|
949
988
|
function fn(e) {
|
|
950
|
-
return e && e instanceof
|
|
989
|
+
return e && e instanceof Xt || cn(e) && kt(e);
|
|
951
990
|
}
|
|
952
|
-
var mn =
|
|
991
|
+
var mn = Ft(function(e) {
|
|
953
992
|
return function() {
|
|
954
993
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
955
994
|
};
|
|
956
|
-
}),
|
|
957
|
-
|
|
995
|
+
}), zt = function(e) {
|
|
996
|
+
$(t, e);
|
|
958
997
|
function t() {
|
|
959
998
|
var r = e.call(this) || this;
|
|
960
999
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
961
1000
|
}
|
|
962
1001
|
return t.prototype.lift = function(r) {
|
|
963
|
-
var n = new
|
|
1002
|
+
var n = new dt(this, this);
|
|
964
1003
|
return n.operator = r, n;
|
|
965
1004
|
}, t.prototype._throwIfClosed = function() {
|
|
966
1005
|
if (this.closed)
|
|
967
1006
|
throw new mn();
|
|
968
1007
|
}, t.prototype.next = function(r) {
|
|
969
1008
|
var n = this;
|
|
970
|
-
|
|
1009
|
+
de(function() {
|
|
971
1010
|
var i, o;
|
|
972
1011
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
973
1012
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
974
1013
|
try {
|
|
975
|
-
for (var s =
|
|
1014
|
+
for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
976
1015
|
var l = a.value;
|
|
977
1016
|
l.next(r);
|
|
978
1017
|
}
|
|
@@ -990,7 +1029,7 @@ var mn = kt(function(e) {
|
|
|
990
1029
|
});
|
|
991
1030
|
}, t.prototype.error = function(r) {
|
|
992
1031
|
var n = this;
|
|
993
|
-
|
|
1032
|
+
de(function() {
|
|
994
1033
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
995
1034
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
996
1035
|
for (var i = n.observers; i.length; )
|
|
@@ -999,7 +1038,7 @@ var mn = kt(function(e) {
|
|
|
999
1038
|
});
|
|
1000
1039
|
}, t.prototype.complete = function() {
|
|
1001
1040
|
var r = this;
|
|
1002
|
-
|
|
1041
|
+
de(function() {
|
|
1003
1042
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1004
1043
|
r.isStopped = !0;
|
|
1005
1044
|
for (var n = r.observers; n.length; )
|
|
@@ -1021,20 +1060,20 @@ var mn = kt(function(e) {
|
|
|
1021
1060
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1022
1061
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1023
1062
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1024
|
-
return o || s ?
|
|
1025
|
-
n.currentObservers = null,
|
|
1063
|
+
return o || s ? jt : (this.currentObservers = null, a.push(r), new xe(function() {
|
|
1064
|
+
n.currentObservers = null, Fe(a, r);
|
|
1026
1065
|
}));
|
|
1027
1066
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1028
1067
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1029
1068
|
i ? r.error(o) : s && r.complete();
|
|
1030
1069
|
}, t.prototype.asObservable = function() {
|
|
1031
|
-
var r = new
|
|
1070
|
+
var r = new ft();
|
|
1032
1071
|
return r.source = this, r;
|
|
1033
1072
|
}, t.create = function(r, n) {
|
|
1034
|
-
return new
|
|
1073
|
+
return new dt(r, n);
|
|
1035
1074
|
}, t;
|
|
1036
|
-
}(
|
|
1037
|
-
|
|
1075
|
+
}(ft), dt = function(e) {
|
|
1076
|
+
$(t, e);
|
|
1038
1077
|
function t(r, n) {
|
|
1039
1078
|
var i = e.call(this) || this;
|
|
1040
1079
|
return i.destination = r, i.source = n, i;
|
|
@@ -1050,17 +1089,17 @@ var mn = kt(function(e) {
|
|
|
1050
1089
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1051
1090
|
}, t.prototype._subscribe = function(r) {
|
|
1052
1091
|
var n, i;
|
|
1053
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1092
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1054
1093
|
}, t;
|
|
1055
|
-
}(
|
|
1094
|
+
}(zt), Wt = {
|
|
1056
1095
|
now: function() {
|
|
1057
|
-
return (
|
|
1096
|
+
return (Wt.delegate || Date).now();
|
|
1058
1097
|
},
|
|
1059
1098
|
delegate: void 0
|
|
1060
|
-
},
|
|
1061
|
-
|
|
1099
|
+
}, dn = function(e) {
|
|
1100
|
+
$(t, e);
|
|
1062
1101
|
function t(r, n, i) {
|
|
1063
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1102
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
1064
1103
|
var o = e.call(this) || this;
|
|
1065
1104
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1066
1105
|
}
|
|
@@ -1080,24 +1119,24 @@ var mn = kt(function(e) {
|
|
|
1080
1119
|
u && o.splice(0, u + 1);
|
|
1081
1120
|
}
|
|
1082
1121
|
}, t;
|
|
1083
|
-
}(
|
|
1084
|
-
const
|
|
1085
|
-
if (
|
|
1086
|
-
const r = new
|
|
1087
|
-
|
|
1122
|
+
}(zt);
|
|
1123
|
+
const pt = [], bt = {}, pn = (e, t = 0) => {
|
|
1124
|
+
if (pt.indexOf(e) == -1) {
|
|
1125
|
+
const r = new dn(t);
|
|
1126
|
+
bt[e] = r, pt.push(e);
|
|
1088
1127
|
}
|
|
1089
|
-
return
|
|
1128
|
+
return bt[e];
|
|
1090
1129
|
}, j = [];
|
|
1091
1130
|
function bn(e, t) {
|
|
1092
1131
|
return {
|
|
1093
|
-
subscribe:
|
|
1132
|
+
subscribe: _e(e, t).subscribe
|
|
1094
1133
|
};
|
|
1095
1134
|
}
|
|
1096
|
-
function
|
|
1135
|
+
function _e(e, t = L) {
|
|
1097
1136
|
let r;
|
|
1098
1137
|
const n = /* @__PURE__ */ new Set();
|
|
1099
1138
|
function i(a) {
|
|
1100
|
-
if (
|
|
1139
|
+
if (Rt(e, a) && (e = a, r)) {
|
|
1101
1140
|
const l = !j.length;
|
|
1102
1141
|
for (const u of n)
|
|
1103
1142
|
u[1](), j.push(u, e);
|
|
@@ -1111,15 +1150,15 @@ function Ee(e, t = R) {
|
|
|
1111
1150
|
function o(a) {
|
|
1112
1151
|
i(a(e));
|
|
1113
1152
|
}
|
|
1114
|
-
function s(a, l =
|
|
1153
|
+
function s(a, l = L) {
|
|
1115
1154
|
const u = [a, l];
|
|
1116
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1155
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
|
|
1117
1156
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1118
1157
|
};
|
|
1119
1158
|
}
|
|
1120
1159
|
return { set: i, update: o, subscribe: s };
|
|
1121
1160
|
}
|
|
1122
|
-
function
|
|
1161
|
+
function K(e, t, r) {
|
|
1123
1162
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1124
1163
|
if (!i.every(Boolean))
|
|
1125
1164
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1127,26 +1166,26 @@ function Y(e, t, r) {
|
|
|
1127
1166
|
return bn(r, (s, a) => {
|
|
1128
1167
|
let l = !1;
|
|
1129
1168
|
const u = [];
|
|
1130
|
-
let h = 0, c =
|
|
1169
|
+
let h = 0, c = L;
|
|
1131
1170
|
const f = () => {
|
|
1132
1171
|
if (h)
|
|
1133
1172
|
return;
|
|
1134
1173
|
c();
|
|
1135
|
-
const
|
|
1136
|
-
o ? s(
|
|
1174
|
+
const d = t(n ? u[0] : u, s, a);
|
|
1175
|
+
o ? s(d) : c = qe(d) ? d : L;
|
|
1137
1176
|
}, m = i.map(
|
|
1138
|
-
(
|
|
1139
|
-
|
|
1140
|
-
(
|
|
1141
|
-
u[
|
|
1177
|
+
(d, p) => $t(
|
|
1178
|
+
d,
|
|
1179
|
+
(w) => {
|
|
1180
|
+
u[p] = w, h &= ~(1 << p), l && f();
|
|
1142
1181
|
},
|
|
1143
1182
|
() => {
|
|
1144
|
-
h |= 1 <<
|
|
1183
|
+
h |= 1 << p;
|
|
1145
1184
|
}
|
|
1146
1185
|
)
|
|
1147
1186
|
);
|
|
1148
1187
|
return l = !0, f(), function() {
|
|
1149
|
-
|
|
1188
|
+
q(m), c(), l = !1;
|
|
1150
1189
|
};
|
|
1151
1190
|
});
|
|
1152
1191
|
}
|
|
@@ -1160,36 +1199,36 @@ function yn(e) {
|
|
|
1160
1199
|
var t = Object.prototype.toString.call(e);
|
|
1161
1200
|
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1162
1201
|
}
|
|
1163
|
-
var
|
|
1202
|
+
var xn = typeof Symbol == "function" && Symbol.for, _n = xn ? Symbol.for("react.element") : 60103;
|
|
1164
1203
|
function En(e) {
|
|
1165
|
-
return e.$$typeof ===
|
|
1204
|
+
return e.$$typeof === _n;
|
|
1166
1205
|
}
|
|
1167
1206
|
function Sn(e) {
|
|
1168
1207
|
return Array.isArray(e) ? [] : {};
|
|
1169
1208
|
}
|
|
1170
|
-
function
|
|
1171
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1209
|
+
function oe(e, t) {
|
|
1210
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(Sn(e), e, t) : e;
|
|
1172
1211
|
}
|
|
1173
1212
|
function wn(e, t, r) {
|
|
1174
1213
|
return e.concat(t).map(function(n) {
|
|
1175
|
-
return
|
|
1214
|
+
return oe(n, r);
|
|
1176
1215
|
});
|
|
1177
1216
|
}
|
|
1178
1217
|
function Tn(e, t) {
|
|
1179
1218
|
if (!t.customMerge)
|
|
1180
|
-
return
|
|
1219
|
+
return W;
|
|
1181
1220
|
var r = t.customMerge(e);
|
|
1182
|
-
return typeof r == "function" ? r :
|
|
1221
|
+
return typeof r == "function" ? r : W;
|
|
1183
1222
|
}
|
|
1184
1223
|
function Hn(e) {
|
|
1185
1224
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1186
1225
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1187
1226
|
}) : [];
|
|
1188
1227
|
}
|
|
1189
|
-
function
|
|
1228
|
+
function gt(e) {
|
|
1190
1229
|
return Object.keys(e).concat(Hn(e));
|
|
1191
1230
|
}
|
|
1192
|
-
function
|
|
1231
|
+
function Zt(e, t) {
|
|
1193
1232
|
try {
|
|
1194
1233
|
return t in e;
|
|
1195
1234
|
} catch (r) {
|
|
@@ -1197,179 +1236,129 @@ function Qt(e, t) {
|
|
|
1197
1236
|
}
|
|
1198
1237
|
}
|
|
1199
1238
|
function Bn(e, t) {
|
|
1200
|
-
return
|
|
1239
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1201
1240
|
}
|
|
1202
1241
|
function An(e, t, r) {
|
|
1203
1242
|
var n = {};
|
|
1204
|
-
return r.isMergeableObject(e) &&
|
|
1205
|
-
n[i] =
|
|
1206
|
-
}),
|
|
1207
|
-
Bn(e, i) || (
|
|
1243
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1244
|
+
n[i] = oe(e[i], r);
|
|
1245
|
+
}), gt(t).forEach(function(i) {
|
|
1246
|
+
Bn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1208
1247
|
}), n;
|
|
1209
1248
|
}
|
|
1210
|
-
function
|
|
1211
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified =
|
|
1249
|
+
function W(e, t, r) {
|
|
1250
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1212
1251
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1213
|
-
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) :
|
|
1252
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : oe(t, r);
|
|
1214
1253
|
}
|
|
1215
|
-
|
|
1254
|
+
W.all = function(t, r) {
|
|
1216
1255
|
if (!Array.isArray(t))
|
|
1217
1256
|
throw new Error("first argument should be an array");
|
|
1218
1257
|
return t.reduce(function(n, i) {
|
|
1219
|
-
return
|
|
1258
|
+
return W(n, i, r);
|
|
1220
1259
|
}, {});
|
|
1221
1260
|
};
|
|
1222
|
-
var Cn =
|
|
1223
|
-
const On = /* @__PURE__ */
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
r.__proto__ = n;
|
|
1227
|
-
} || function(r, n) {
|
|
1228
|
-
for (var i in n)
|
|
1229
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1230
|
-
}, ze(e, t);
|
|
1231
|
-
};
|
|
1232
|
-
function Se(e, t) {
|
|
1233
|
-
if (typeof t != "function" && t !== null)
|
|
1234
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1235
|
-
ze(e, t);
|
|
1236
|
-
function r() {
|
|
1237
|
-
this.constructor = e;
|
|
1238
|
-
}
|
|
1239
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1240
|
-
}
|
|
1241
|
-
var L = function() {
|
|
1242
|
-
return L = Object.assign || function(t) {
|
|
1243
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
|
-
r = arguments[n];
|
|
1245
|
-
for (var o in r)
|
|
1246
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
|
-
}
|
|
1248
|
-
return t;
|
|
1249
|
-
}, L.apply(this, arguments);
|
|
1250
|
-
};
|
|
1251
|
-
function In(e, t) {
|
|
1252
|
-
var r = {};
|
|
1253
|
-
for (var n in e)
|
|
1254
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1255
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1256
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1257
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1258
|
-
return r;
|
|
1259
|
-
}
|
|
1260
|
-
function Pe(e, t, r) {
|
|
1261
|
-
if (r || arguments.length === 2)
|
|
1262
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1263
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1264
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1265
|
-
}
|
|
1266
|
-
function Oe(e, t) {
|
|
1267
|
-
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
|
|
1261
|
+
var Cn = W, Pn = Cn;
|
|
1262
|
+
const On = /* @__PURE__ */ Kr(Pn);
|
|
1263
|
+
function Ce(e, t) {
|
|
1264
|
+
var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Mn;
|
|
1268
1265
|
return i(e, {
|
|
1269
1266
|
cache: r,
|
|
1270
1267
|
serializer: n
|
|
1271
1268
|
});
|
|
1272
1269
|
}
|
|
1273
|
-
function
|
|
1270
|
+
function In(e) {
|
|
1274
1271
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1275
1272
|
}
|
|
1276
|
-
function
|
|
1277
|
-
var i =
|
|
1273
|
+
function Qt(e, t, r, n) {
|
|
1274
|
+
var i = In(n) ? n : r(n), o = t.get(i);
|
|
1278
1275
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1279
1276
|
}
|
|
1280
1277
|
function Jt(e, t, r) {
|
|
1281
1278
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1282
1279
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1283
1280
|
}
|
|
1284
|
-
function
|
|
1281
|
+
function Ye(e, t, r, n, i) {
|
|
1285
1282
|
return r.bind(t, e, n, i);
|
|
1286
1283
|
}
|
|
1287
|
-
function
|
|
1288
|
-
var r = e.length === 1 ?
|
|
1289
|
-
return
|
|
1284
|
+
function Mn(e, t) {
|
|
1285
|
+
var r = e.length === 1 ? Qt : Jt;
|
|
1286
|
+
return Ye(e, this, r, t.cache.create(), t.serializer);
|
|
1290
1287
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return
|
|
1288
|
+
function Nn(e, t) {
|
|
1289
|
+
return Ye(e, this, Jt, t.cache.create(), t.serializer);
|
|
1293
1290
|
}
|
|
1294
|
-
|
|
1291
|
+
function Ln(e, t) {
|
|
1292
|
+
return Ye(e, this, Qt, t.cache.create(), t.serializer);
|
|
1293
|
+
}
|
|
1294
|
+
var Rn = function() {
|
|
1295
1295
|
return JSON.stringify(arguments);
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
}()
|
|
1308
|
-
), Un = {
|
|
1296
|
+
};
|
|
1297
|
+
function Ke() {
|
|
1298
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1299
|
+
}
|
|
1300
|
+
Ke.prototype.get = function(e) {
|
|
1301
|
+
return this.cache[e];
|
|
1302
|
+
};
|
|
1303
|
+
Ke.prototype.set = function(e, t) {
|
|
1304
|
+
this.cache[e] = t;
|
|
1305
|
+
};
|
|
1306
|
+
var $n = {
|
|
1309
1307
|
create: function() {
|
|
1310
|
-
return new
|
|
1308
|
+
return new Ke();
|
|
1311
1309
|
}
|
|
1312
|
-
},
|
|
1313
|
-
variadic:
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1317
|
-
r = arguments[n];
|
|
1318
|
-
for (var o in r)
|
|
1319
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1320
|
-
}
|
|
1321
|
-
return t;
|
|
1322
|
-
}, ve.apply(this, arguments);
|
|
1323
|
-
};
|
|
1324
|
-
var b;
|
|
1310
|
+
}, Pe = {
|
|
1311
|
+
variadic: Nn,
|
|
1312
|
+
monadic: Ln
|
|
1313
|
+
}, b;
|
|
1325
1314
|
(function(e) {
|
|
1326
1315
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1327
1316
|
})(b || (b = {}));
|
|
1328
|
-
var
|
|
1317
|
+
var S;
|
|
1329
1318
|
(function(e) {
|
|
1330
1319
|
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";
|
|
1331
|
-
})(
|
|
1332
|
-
var
|
|
1320
|
+
})(S || (S = {}));
|
|
1321
|
+
var Z;
|
|
1333
1322
|
(function(e) {
|
|
1334
1323
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1335
|
-
})(
|
|
1336
|
-
function
|
|
1337
|
-
return e.type ===
|
|
1324
|
+
})(Z || (Z = {}));
|
|
1325
|
+
function vt(e) {
|
|
1326
|
+
return e.type === S.literal;
|
|
1327
|
+
}
|
|
1328
|
+
function Gn(e) {
|
|
1329
|
+
return e.type === S.argument;
|
|
1338
1330
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return e.type ===
|
|
1331
|
+
function qt(e) {
|
|
1332
|
+
return e.type === S.number;
|
|
1341
1333
|
}
|
|
1342
1334
|
function Yt(e) {
|
|
1343
|
-
return e.type ===
|
|
1335
|
+
return e.type === S.date;
|
|
1344
1336
|
}
|
|
1345
1337
|
function Kt(e) {
|
|
1346
|
-
return e.type ===
|
|
1338
|
+
return e.type === S.time;
|
|
1347
1339
|
}
|
|
1348
1340
|
function er(e) {
|
|
1349
|
-
return e.type ===
|
|
1341
|
+
return e.type === S.select;
|
|
1350
1342
|
}
|
|
1351
1343
|
function tr(e) {
|
|
1352
|
-
return e.type ===
|
|
1344
|
+
return e.type === S.plural;
|
|
1353
1345
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return e.type ===
|
|
1346
|
+
function Un(e) {
|
|
1347
|
+
return e.type === S.pound;
|
|
1356
1348
|
}
|
|
1357
|
-
function
|
|
1358
|
-
return e.type ===
|
|
1349
|
+
function rr(e) {
|
|
1350
|
+
return e.type === S.tag;
|
|
1359
1351
|
}
|
|
1360
1352
|
function nr(e) {
|
|
1361
|
-
return e.type ===
|
|
1353
|
+
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1362
1354
|
}
|
|
1363
|
-
function
|
|
1364
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1355
|
+
function ke(e) {
|
|
1356
|
+
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1365
1357
|
}
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
}
|
|
1369
|
-
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
|
1370
|
-
function kn(e) {
|
|
1358
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1359
|
+
function Fn(e) {
|
|
1371
1360
|
var t = {};
|
|
1372
|
-
return e.replace(
|
|
1361
|
+
return e.replace(Dn, function(r) {
|
|
1373
1362
|
var n = r.length;
|
|
1374
1363
|
switch (r[0]) {
|
|
1375
1364
|
case "G":
|
|
@@ -1458,21 +1447,11 @@ function kn(e) {
|
|
|
1458
1447
|
return "";
|
|
1459
1448
|
}), t;
|
|
1460
1449
|
}
|
|
1461
|
-
var
|
|
1462
|
-
|
|
1463
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1464
|
-
r = arguments[n];
|
|
1465
|
-
for (var o in r)
|
|
1466
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1467
|
-
}
|
|
1468
|
-
return t;
|
|
1469
|
-
}, T.apply(this, arguments);
|
|
1470
|
-
};
|
|
1471
|
-
var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1472
|
-
function Xn(e) {
|
|
1450
|
+
var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1451
|
+
function kn(e) {
|
|
1473
1452
|
if (e.length === 0)
|
|
1474
1453
|
throw new Error("Number skeleton cannot be empty");
|
|
1475
|
-
for (var t = e.split(
|
|
1454
|
+
for (var t = e.split(jn).filter(function(f) {
|
|
1476
1455
|
return f.length > 0;
|
|
1477
1456
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1478
1457
|
var o = i[n], s = o.split("/");
|
|
@@ -1487,17 +1466,17 @@ function Xn(e) {
|
|
|
1487
1466
|
}
|
|
1488
1467
|
return r;
|
|
1489
1468
|
}
|
|
1490
|
-
function
|
|
1469
|
+
function Vn(e) {
|
|
1491
1470
|
return e.replace(/^(.*?)-/, "");
|
|
1492
1471
|
}
|
|
1493
|
-
var
|
|
1494
|
-
function
|
|
1472
|
+
var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1473
|
+
function xt(e) {
|
|
1495
1474
|
var t = {};
|
|
1496
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1475
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
1497
1476
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1498
1477
|
}), t;
|
|
1499
1478
|
}
|
|
1500
|
-
function
|
|
1479
|
+
function ar(e) {
|
|
1501
1480
|
switch (e) {
|
|
1502
1481
|
case "sign-auto":
|
|
1503
1482
|
return {
|
|
@@ -1537,7 +1516,7 @@ function ur(e) {
|
|
|
1537
1516
|
};
|
|
1538
1517
|
}
|
|
1539
1518
|
}
|
|
1540
|
-
function
|
|
1519
|
+
function zn(e) {
|
|
1541
1520
|
var t;
|
|
1542
1521
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1543
1522
|
notation: "engineering"
|
|
@@ -1545,17 +1524,17 @@ function Zn(e) {
|
|
|
1545
1524
|
notation: "scientific"
|
|
1546
1525
|
}, e = e.slice(1)), t) {
|
|
1547
1526
|
var r = e.slice(0, 2);
|
|
1548
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1527
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1549
1528
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1550
1529
|
t.minimumIntegerDigits = e.length;
|
|
1551
1530
|
}
|
|
1552
1531
|
return t;
|
|
1553
1532
|
}
|
|
1554
|
-
function
|
|
1555
|
-
var t = {}, r =
|
|
1533
|
+
function _t(e) {
|
|
1534
|
+
var t = {}, r = ar(e);
|
|
1556
1535
|
return r || t;
|
|
1557
1536
|
}
|
|
1558
|
-
function
|
|
1537
|
+
function Wn(e) {
|
|
1559
1538
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1560
1539
|
var i = n[r];
|
|
1561
1540
|
switch (i.stem) {
|
|
@@ -1579,7 +1558,7 @@ function Qn(e) {
|
|
|
1579
1558
|
continue;
|
|
1580
1559
|
case "measure-unit":
|
|
1581
1560
|
case "unit":
|
|
1582
|
-
t.style = "unit", t.unit =
|
|
1561
|
+
t.style = "unit", t.unit = Vn(i.options[0]);
|
|
1583
1562
|
continue;
|
|
1584
1563
|
case "compact-short":
|
|
1585
1564
|
case "K":
|
|
@@ -1590,13 +1569,13 @@ function Qn(e) {
|
|
|
1590
1569
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1591
1570
|
continue;
|
|
1592
1571
|
case "scientific":
|
|
1593
|
-
t =
|
|
1594
|
-
return
|
|
1572
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1573
|
+
return y(y({}, l), _t(u));
|
|
1595
1574
|
}, {}));
|
|
1596
1575
|
continue;
|
|
1597
1576
|
case "engineering":
|
|
1598
|
-
t =
|
|
1599
|
-
return
|
|
1577
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1578
|
+
return y(y({}, l), _t(u));
|
|
1600
1579
|
}, {}));
|
|
1601
1580
|
continue;
|
|
1602
1581
|
case "notation-simple":
|
|
@@ -1641,7 +1620,7 @@ function Qn(e) {
|
|
|
1641
1620
|
case "integer-width":
|
|
1642
1621
|
if (i.options.length > 1)
|
|
1643
1622
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1644
|
-
i.options[0].replace(
|
|
1623
|
+
i.options[0].replace(Xn, function(l, u, h, c, f, m) {
|
|
1645
1624
|
if (u)
|
|
1646
1625
|
t.minimumIntegerDigits = h.length;
|
|
1647
1626
|
else {
|
|
@@ -1654,28 +1633,28 @@ function Qn(e) {
|
|
|
1654
1633
|
});
|
|
1655
1634
|
continue;
|
|
1656
1635
|
}
|
|
1657
|
-
if (
|
|
1636
|
+
if (sr.test(i.stem)) {
|
|
1658
1637
|
t.minimumIntegerDigits = i.stem.length;
|
|
1659
1638
|
continue;
|
|
1660
1639
|
}
|
|
1661
|
-
if (
|
|
1640
|
+
if (yt.test(i.stem)) {
|
|
1662
1641
|
if (i.options.length > 1)
|
|
1663
1642
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1664
|
-
i.stem.replace(
|
|
1643
|
+
i.stem.replace(yt, function(l, u, h, c, f, m) {
|
|
1665
1644
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1666
1645
|
});
|
|
1667
1646
|
var o = i.options[0];
|
|
1668
|
-
o === "w" ? t =
|
|
1647
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
|
|
1669
1648
|
continue;
|
|
1670
1649
|
}
|
|
1671
|
-
if (
|
|
1672
|
-
t =
|
|
1650
|
+
if (or.test(i.stem)) {
|
|
1651
|
+
t = y(y({}, t), xt(i.stem));
|
|
1673
1652
|
continue;
|
|
1674
1653
|
}
|
|
1675
|
-
var s =
|
|
1676
|
-
s && (t =
|
|
1677
|
-
var a =
|
|
1678
|
-
a && (t =
|
|
1654
|
+
var s = ar(i.stem);
|
|
1655
|
+
s && (t = y(y({}, t), s));
|
|
1656
|
+
var a = zn(i.stem);
|
|
1657
|
+
a && (t = y(y({}, t), a));
|
|
1679
1658
|
}
|
|
1680
1659
|
return t;
|
|
1681
1660
|
}
|
|
@@ -3094,13 +3073,13 @@ var ce = {
|
|
|
3094
3073
|
"h"
|
|
3095
3074
|
]
|
|
3096
3075
|
};
|
|
3097
|
-
function
|
|
3076
|
+
function Zn(e, t) {
|
|
3098
3077
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3099
3078
|
var i = e.charAt(n);
|
|
3100
3079
|
if (i === "j") {
|
|
3101
3080
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3102
3081
|
o++, n++;
|
|
3103
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3082
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qn(t);
|
|
3104
3083
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3105
3084
|
r += l;
|
|
3106
3085
|
for (; s-- > 0; )
|
|
@@ -3110,7 +3089,7 @@ function Jn(e, t) {
|
|
|
3110
3089
|
}
|
|
3111
3090
|
return r;
|
|
3112
3091
|
}
|
|
3113
|
-
function
|
|
3092
|
+
function Qn(e) {
|
|
3114
3093
|
var t = e.hourCycle;
|
|
3115
3094
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3116
3095
|
e.hourCycles && // @ts-ignore
|
|
@@ -3132,20 +3111,20 @@ function qn(e) {
|
|
|
3132
3111
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3133
3112
|
return i[0];
|
|
3134
3113
|
}
|
|
3135
|
-
var
|
|
3114
|
+
var Oe, Jn = new RegExp("^".concat(ir.source, "*")), qn = new RegExp("".concat(ir.source, "*$"));
|
|
3136
3115
|
function v(e, t) {
|
|
3137
3116
|
return { start: e, end: t };
|
|
3138
3117
|
}
|
|
3139
|
-
var
|
|
3118
|
+
var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
|
|
3140
3119
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3141
|
-
},
|
|
3120
|
+
}, Ve = !0;
|
|
3142
3121
|
try {
|
|
3143
|
-
var
|
|
3144
|
-
|
|
3122
|
+
var si = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3123
|
+
Ve = ((Oe = si.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3145
3124
|
} catch (e) {
|
|
3146
|
-
|
|
3125
|
+
Ve = !1;
|
|
3147
3126
|
}
|
|
3148
|
-
var
|
|
3127
|
+
var Et = Yn ? (
|
|
3149
3128
|
// Native
|
|
3150
3129
|
function(t, r, n) {
|
|
3151
3130
|
return t.startsWith(r, n);
|
|
@@ -3155,7 +3134,7 @@ var wt = ei ? (
|
|
|
3155
3134
|
function(t, r, n) {
|
|
3156
3135
|
return t.slice(n, n + r.length) === r;
|
|
3157
3136
|
}
|
|
3158
|
-
),
|
|
3137
|
+
), Xe = Kn ? String.fromCodePoint : (
|
|
3159
3138
|
// IE11
|
|
3160
3139
|
function() {
|
|
3161
3140
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3167,9 +3146,9 @@ var wt = ei ? (
|
|
|
3167
3146
|
}
|
|
3168
3147
|
return n;
|
|
3169
3148
|
}
|
|
3170
|
-
),
|
|
3149
|
+
), St = (
|
|
3171
3150
|
// native
|
|
3172
|
-
|
|
3151
|
+
ei ? Object.fromEntries : (
|
|
3173
3152
|
// Ponyfill
|
|
3174
3153
|
function(t) {
|
|
3175
3154
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3179,7 +3158,7 @@ var wt = ei ? (
|
|
|
3179
3158
|
return r;
|
|
3180
3159
|
}
|
|
3181
3160
|
)
|
|
3182
|
-
),
|
|
3161
|
+
), ur = ti ? (
|
|
3183
3162
|
// Native
|
|
3184
3163
|
function(t, r) {
|
|
3185
3164
|
return t.codePointAt(r);
|
|
@@ -3193,7 +3172,7 @@ var wt = ei ? (
|
|
|
3193
3172
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3194
3173
|
}
|
|
3195
3174
|
}
|
|
3196
|
-
),
|
|
3175
|
+
), ai = ri ? (
|
|
3197
3176
|
// Native
|
|
3198
3177
|
function(t) {
|
|
3199
3178
|
return t.trimStart();
|
|
@@ -3201,9 +3180,9 @@ var wt = ei ? (
|
|
|
3201
3180
|
) : (
|
|
3202
3181
|
// Ponyfill
|
|
3203
3182
|
function(t) {
|
|
3204
|
-
return t.replace(
|
|
3183
|
+
return t.replace(Jn, "");
|
|
3205
3184
|
}
|
|
3206
|
-
),
|
|
3185
|
+
), ui = ni ? (
|
|
3207
3186
|
// Native
|
|
3208
3187
|
function(t) {
|
|
3209
3188
|
return t.trimEnd();
|
|
@@ -3211,32 +3190,32 @@ var wt = ei ? (
|
|
|
3211
3190
|
) : (
|
|
3212
3191
|
// Ponyfill
|
|
3213
3192
|
function(t) {
|
|
3214
|
-
return t.replace(
|
|
3193
|
+
return t.replace(qn, "");
|
|
3215
3194
|
}
|
|
3216
3195
|
);
|
|
3217
|
-
function
|
|
3196
|
+
function lr(e, t) {
|
|
3218
3197
|
return new RegExp(e, t);
|
|
3219
3198
|
}
|
|
3220
|
-
var
|
|
3221
|
-
if (
|
|
3222
|
-
var
|
|
3223
|
-
|
|
3199
|
+
var ze;
|
|
3200
|
+
if (Ve) {
|
|
3201
|
+
var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3202
|
+
ze = function(t, r) {
|
|
3224
3203
|
var n;
|
|
3225
|
-
|
|
3226
|
-
var i =
|
|
3204
|
+
wt.lastIndex = r;
|
|
3205
|
+
var i = wt.exec(t);
|
|
3227
3206
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3228
3207
|
};
|
|
3229
3208
|
} else
|
|
3230
|
-
|
|
3209
|
+
ze = function(t, r) {
|
|
3231
3210
|
for (var n = []; ; ) {
|
|
3232
|
-
var i =
|
|
3233
|
-
if (i === void 0 ||
|
|
3211
|
+
var i = ur(t, r);
|
|
3212
|
+
if (i === void 0 || hr(i) || fi(i))
|
|
3234
3213
|
break;
|
|
3235
3214
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3236
3215
|
}
|
|
3237
|
-
return
|
|
3216
|
+
return Xe.apply(void 0, n);
|
|
3238
3217
|
};
|
|
3239
|
-
var
|
|
3218
|
+
var li = (
|
|
3240
3219
|
/** @class */
|
|
3241
3220
|
function() {
|
|
3242
3221
|
function e(t, r) {
|
|
@@ -3260,14 +3239,14 @@ var ci = (
|
|
|
3260
3239
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3261
3240
|
var a = this.clonePosition();
|
|
3262
3241
|
this.bump(), i.push({
|
|
3263
|
-
type:
|
|
3242
|
+
type: S.pound,
|
|
3264
3243
|
location: v(a, this.clonePosition())
|
|
3265
3244
|
});
|
|
3266
3245
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3267
3246
|
if (n)
|
|
3268
3247
|
break;
|
|
3269
3248
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3270
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3249
|
+
} else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
|
|
3271
3250
|
var s = this.parseTag(t, r);
|
|
3272
3251
|
if (s.err)
|
|
3273
3252
|
return s;
|
|
@@ -3288,7 +3267,7 @@ var ci = (
|
|
|
3288
3267
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3289
3268
|
return {
|
|
3290
3269
|
val: {
|
|
3291
|
-
type:
|
|
3270
|
+
type: S.literal,
|
|
3292
3271
|
value: "<".concat(i, "/>"),
|
|
3293
3272
|
location: v(n, this.clonePosition())
|
|
3294
3273
|
},
|
|
@@ -3300,12 +3279,12 @@ var ci = (
|
|
|
3300
3279
|
return o;
|
|
3301
3280
|
var s = o.val, a = this.clonePosition();
|
|
3302
3281
|
if (this.bumpIf("</")) {
|
|
3303
|
-
if (this.isEOF() || !
|
|
3282
|
+
if (this.isEOF() || !We(this.char()))
|
|
3304
3283
|
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3305
3284
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3306
3285
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3307
3286
|
val: {
|
|
3308
|
-
type:
|
|
3287
|
+
type: S.tag,
|
|
3309
3288
|
value: i,
|
|
3310
3289
|
children: s,
|
|
3311
3290
|
location: v(n, this.clonePosition())
|
|
@@ -3318,7 +3297,7 @@ var ci = (
|
|
|
3318
3297
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3319
3298
|
}, e.prototype.parseTagName = function() {
|
|
3320
3299
|
var t = this.offset();
|
|
3321
|
-
for (this.bump(); !this.isEOF() &&
|
|
3300
|
+
for (this.bump(); !this.isEOF() && ci(this.char()); )
|
|
3322
3301
|
this.bump();
|
|
3323
3302
|
return this.message.slice(t, this.offset());
|
|
3324
3303
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3342,12 +3321,12 @@ var ci = (
|
|
|
3342
3321
|
}
|
|
3343
3322
|
var l = v(n, this.clonePosition());
|
|
3344
3323
|
return {
|
|
3345
|
-
val: { type:
|
|
3324
|
+
val: { type: S.literal, value: i, location: l },
|
|
3346
3325
|
err: null
|
|
3347
3326
|
};
|
|
3348
3327
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3349
3328
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3350
|
-
!
|
|
3329
|
+
!hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3351
3330
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3352
3331
|
if (this.isEOF() || this.char() !== 39)
|
|
3353
3332
|
return null;
|
|
@@ -3381,12 +3360,12 @@ var ci = (
|
|
|
3381
3360
|
r.push(n);
|
|
3382
3361
|
this.bump();
|
|
3383
3362
|
}
|
|
3384
|
-
return
|
|
3363
|
+
return Xe.apply(void 0, r);
|
|
3385
3364
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3386
3365
|
if (this.isEOF())
|
|
3387
3366
|
return null;
|
|
3388
3367
|
var n = this.char();
|
|
3389
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3368
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
|
|
3390
3369
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3391
3370
|
var n = this.clonePosition();
|
|
3392
3371
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3402,7 +3381,7 @@ var ci = (
|
|
|
3402
3381
|
case 125:
|
|
3403
3382
|
return this.bump(), {
|
|
3404
3383
|
val: {
|
|
3405
|
-
type:
|
|
3384
|
+
type: S.argument,
|
|
3406
3385
|
// value does not include the opening and closing braces.
|
|
3407
3386
|
value: i,
|
|
3408
3387
|
location: v(n, this.clonePosition())
|
|
@@ -3415,7 +3394,7 @@ var ci = (
|
|
|
3415
3394
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3416
3395
|
}
|
|
3417
3396
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3418
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3397
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
3419
3398
|
this.bumpTo(i);
|
|
3420
3399
|
var o = this.clonePosition(), s = v(t, o);
|
|
3421
3400
|
return { value: n, location: s };
|
|
@@ -3434,46 +3413,46 @@ var ci = (
|
|
|
3434
3413
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3435
3414
|
if (c.err)
|
|
3436
3415
|
return c;
|
|
3437
|
-
var f =
|
|
3416
|
+
var f = ui(c.val);
|
|
3438
3417
|
if (f.length === 0)
|
|
3439
3418
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3440
3419
|
var m = v(h, this.clonePosition());
|
|
3441
3420
|
u = { style: f, styleLocation: m };
|
|
3442
3421
|
}
|
|
3443
|
-
var
|
|
3444
|
-
if (
|
|
3445
|
-
return
|
|
3446
|
-
var
|
|
3447
|
-
if (u &&
|
|
3448
|
-
var
|
|
3422
|
+
var d = this.tryParseArgumentClose(i);
|
|
3423
|
+
if (d.err)
|
|
3424
|
+
return d;
|
|
3425
|
+
var p = v(i, this.clonePosition());
|
|
3426
|
+
if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
|
|
3427
|
+
var w = ai(u.style.slice(2));
|
|
3449
3428
|
if (a === "number") {
|
|
3450
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3429
|
+
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3451
3430
|
return c.err ? c : {
|
|
3452
|
-
val: { type:
|
|
3431
|
+
val: { type: S.number, value: n, location: p, style: c.val },
|
|
3453
3432
|
err: null
|
|
3454
3433
|
};
|
|
3455
3434
|
} else {
|
|
3456
|
-
if (
|
|
3457
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3458
|
-
var M =
|
|
3459
|
-
this.locale && (M =
|
|
3435
|
+
if (w.length === 0)
|
|
3436
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3437
|
+
var M = w;
|
|
3438
|
+
this.locale && (M = Zn(w, this.locale));
|
|
3460
3439
|
var f = {
|
|
3461
|
-
type:
|
|
3440
|
+
type: Z.dateTime,
|
|
3462
3441
|
pattern: M,
|
|
3463
3442
|
location: u.styleLocation,
|
|
3464
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3465
|
-
}, C = a === "date" ?
|
|
3443
|
+
parsedOptions: this.shouldParseSkeletons ? Fn(M) : {}
|
|
3444
|
+
}, C = a === "date" ? S.date : S.time;
|
|
3466
3445
|
return {
|
|
3467
|
-
val: { type: C, value: n, location:
|
|
3446
|
+
val: { type: C, value: n, location: p, style: f },
|
|
3468
3447
|
err: null
|
|
3469
3448
|
};
|
|
3470
3449
|
}
|
|
3471
3450
|
}
|
|
3472
3451
|
return {
|
|
3473
3452
|
val: {
|
|
3474
|
-
type: a === "number" ?
|
|
3453
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
|
3475
3454
|
value: n,
|
|
3476
|
-
location:
|
|
3455
|
+
location: p,
|
|
3477
3456
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3478
3457
|
},
|
|
3479
3458
|
err: null
|
|
@@ -3482,11 +3461,11 @@ var ci = (
|
|
|
3482
3461
|
case "plural":
|
|
3483
3462
|
case "selectordinal":
|
|
3484
3463
|
case "select": {
|
|
3485
|
-
var
|
|
3464
|
+
var T = this.clonePosition();
|
|
3486
3465
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3487
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3466
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
|
|
3488
3467
|
this.bumpSpace();
|
|
3489
|
-
var _ = this.parseIdentifierIfPossible(),
|
|
3468
|
+
var _ = this.parseIdentifierIfPossible(), E = 0;
|
|
3490
3469
|
if (a !== "select" && _.value === "offset") {
|
|
3491
3470
|
if (!this.bumpIf(":"))
|
|
3492
3471
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
@@ -3494,29 +3473,29 @@ var ci = (
|
|
|
3494
3473
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3495
3474
|
if (c.err)
|
|
3496
3475
|
return c;
|
|
3497
|
-
this.bumpSpace(), _ = this.parseIdentifierIfPossible(),
|
|
3476
|
+
this.bumpSpace(), _ = this.parseIdentifierIfPossible(), E = c.val;
|
|
3498
3477
|
}
|
|
3499
|
-
var
|
|
3500
|
-
if (
|
|
3501
|
-
return
|
|
3502
|
-
var
|
|
3503
|
-
if (
|
|
3504
|
-
return
|
|
3478
|
+
var x = this.tryParsePluralOrSelectOptions(t, a, r, _);
|
|
3479
|
+
if (x.err)
|
|
3480
|
+
return x;
|
|
3481
|
+
var d = this.tryParseArgumentClose(i);
|
|
3482
|
+
if (d.err)
|
|
3483
|
+
return d;
|
|
3505
3484
|
var P = v(i, this.clonePosition());
|
|
3506
3485
|
return a === "select" ? {
|
|
3507
3486
|
val: {
|
|
3508
|
-
type:
|
|
3487
|
+
type: S.select,
|
|
3509
3488
|
value: n,
|
|
3510
|
-
options:
|
|
3489
|
+
options: St(x.val),
|
|
3511
3490
|
location: P
|
|
3512
3491
|
},
|
|
3513
3492
|
err: null
|
|
3514
3493
|
} : {
|
|
3515
3494
|
val: {
|
|
3516
|
-
type:
|
|
3495
|
+
type: S.plural,
|
|
3517
3496
|
value: n,
|
|
3518
|
-
options:
|
|
3519
|
-
offset:
|
|
3497
|
+
options: St(x.val),
|
|
3498
|
+
offset: E,
|
|
3520
3499
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3521
3500
|
location: P
|
|
3522
3501
|
},
|
|
@@ -3566,16 +3545,16 @@ var ci = (
|
|
|
3566
3545
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3567
3546
|
var n = [];
|
|
3568
3547
|
try {
|
|
3569
|
-
n =
|
|
3548
|
+
n = kn(t);
|
|
3570
3549
|
} catch (i) {
|
|
3571
3550
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3572
3551
|
}
|
|
3573
3552
|
return {
|
|
3574
3553
|
val: {
|
|
3575
|
-
type:
|
|
3554
|
+
type: Z.number,
|
|
3576
3555
|
tokens: n,
|
|
3577
3556
|
location: r,
|
|
3578
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3557
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
|
|
3579
3558
|
},
|
|
3580
3559
|
err: null
|
|
3581
3560
|
};
|
|
@@ -3597,16 +3576,16 @@ var ci = (
|
|
|
3597
3576
|
var m = this.clonePosition();
|
|
3598
3577
|
if (!this.bumpIf("{"))
|
|
3599
3578
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3600
|
-
var
|
|
3601
|
-
if (p.err)
|
|
3602
|
-
return p;
|
|
3603
|
-
var d = this.tryParseArgumentClose(m);
|
|
3579
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3604
3580
|
if (d.err)
|
|
3605
3581
|
return d;
|
|
3582
|
+
var p = this.tryParseArgumentClose(m);
|
|
3583
|
+
if (p.err)
|
|
3584
|
+
return p;
|
|
3606
3585
|
a.push([
|
|
3607
3586
|
u,
|
|
3608
3587
|
{
|
|
3609
|
-
value:
|
|
3588
|
+
value: d.val,
|
|
3610
3589
|
location: v(m, this.clonePosition())
|
|
3611
3590
|
}
|
|
3612
3591
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
@@ -3623,7 +3602,7 @@ var ci = (
|
|
|
3623
3602
|
break;
|
|
3624
3603
|
}
|
|
3625
3604
|
var l = v(i, this.clonePosition());
|
|
3626
|
-
return o ? (s *= n,
|
|
3605
|
+
return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3627
3606
|
}, e.prototype.offset = function() {
|
|
3628
3607
|
return this.position.offset;
|
|
3629
3608
|
}, e.prototype.isEOF = function() {
|
|
@@ -3638,7 +3617,7 @@ var ci = (
|
|
|
3638
3617
|
var t = this.position.offset;
|
|
3639
3618
|
if (t >= this.message.length)
|
|
3640
3619
|
throw Error("out of bound");
|
|
3641
|
-
var r =
|
|
3620
|
+
var r = ur(this.message, t);
|
|
3642
3621
|
if (r === void 0)
|
|
3643
3622
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3644
3623
|
return r;
|
|
@@ -3657,7 +3636,7 @@ var ci = (
|
|
|
3657
3636
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3658
3637
|
}
|
|
3659
3638
|
}, e.prototype.bumpIf = function(t) {
|
|
3660
|
-
if (
|
|
3639
|
+
if (Et(this.message, t, this.offset())) {
|
|
3661
3640
|
for (var r = 0; r < t.length; r++)
|
|
3662
3641
|
this.bump();
|
|
3663
3642
|
return !0;
|
|
@@ -3679,7 +3658,7 @@ var ci = (
|
|
|
3679
3658
|
break;
|
|
3680
3659
|
}
|
|
3681
3660
|
}, e.prototype.bumpSpace = function() {
|
|
3682
|
-
for (; !this.isEOF() &&
|
|
3661
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3683
3662
|
this.bump();
|
|
3684
3663
|
}, e.prototype.peek = function() {
|
|
3685
3664
|
if (this.isEOF())
|
|
@@ -3689,47 +3668,47 @@ var ci = (
|
|
|
3689
3668
|
}, e;
|
|
3690
3669
|
}()
|
|
3691
3670
|
);
|
|
3692
|
-
function
|
|
3671
|
+
function We(e) {
|
|
3693
3672
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3694
3673
|
}
|
|
3695
|
-
function
|
|
3696
|
-
return
|
|
3674
|
+
function hi(e) {
|
|
3675
|
+
return We(e) || e === 47;
|
|
3697
3676
|
}
|
|
3698
|
-
function
|
|
3677
|
+
function ci(e) {
|
|
3699
3678
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3700
3679
|
}
|
|
3701
|
-
function
|
|
3680
|
+
function hr(e) {
|
|
3702
3681
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3703
3682
|
}
|
|
3704
|
-
function
|
|
3683
|
+
function fi(e) {
|
|
3705
3684
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3706
3685
|
}
|
|
3707
|
-
function
|
|
3686
|
+
function Ze(e) {
|
|
3708
3687
|
e.forEach(function(t) {
|
|
3709
|
-
if (delete t.location,
|
|
3688
|
+
if (delete t.location, er(t) || tr(t))
|
|
3710
3689
|
for (var r in t.options)
|
|
3711
|
-
delete t.options[r].location,
|
|
3690
|
+
delete t.options[r].location, Ze(t.options[r].value);
|
|
3712
3691
|
else
|
|
3713
|
-
|
|
3692
|
+
qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
|
|
3714
3693
|
});
|
|
3715
3694
|
}
|
|
3716
|
-
function
|
|
3717
|
-
t === void 0 && (t = {}), t =
|
|
3718
|
-
var r = new
|
|
3695
|
+
function mi(e, t) {
|
|
3696
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3697
|
+
var r = new li(e, t).parse();
|
|
3719
3698
|
if (r.err) {
|
|
3720
3699
|
var n = SyntaxError(b[r.err.kind]);
|
|
3721
3700
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3722
3701
|
}
|
|
3723
|
-
return t != null && t.captureLocation ||
|
|
3702
|
+
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
3724
3703
|
}
|
|
3725
|
-
var
|
|
3704
|
+
var Q;
|
|
3726
3705
|
(function(e) {
|
|
3727
3706
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3728
|
-
})(
|
|
3729
|
-
var
|
|
3707
|
+
})(Q || (Q = {}));
|
|
3708
|
+
var Ee = (
|
|
3730
3709
|
/** @class */
|
|
3731
3710
|
function(e) {
|
|
3732
|
-
|
|
3711
|
+
$(t, e);
|
|
3733
3712
|
function t(r, n, i) {
|
|
3734
3713
|
var o = e.call(this, r) || this;
|
|
3735
3714
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3738,48 +3717,48 @@ var we = (
|
|
|
3738
3717
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3739
3718
|
}, t;
|
|
3740
3719
|
}(Error)
|
|
3741
|
-
),
|
|
3720
|
+
), Tt = (
|
|
3742
3721
|
/** @class */
|
|
3743
3722
|
function(e) {
|
|
3744
|
-
|
|
3723
|
+
$(t, e);
|
|
3745
3724
|
function t(r, n, i, o) {
|
|
3746
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3725
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3747
3726
|
}
|
|
3748
3727
|
return t;
|
|
3749
|
-
}(
|
|
3750
|
-
),
|
|
3728
|
+
}(Ee)
|
|
3729
|
+
), di = (
|
|
3751
3730
|
/** @class */
|
|
3752
3731
|
function(e) {
|
|
3753
|
-
|
|
3732
|
+
$(t, e);
|
|
3754
3733
|
function t(r, n, i) {
|
|
3755
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3734
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3756
3735
|
}
|
|
3757
3736
|
return t;
|
|
3758
|
-
}(
|
|
3759
|
-
),
|
|
3737
|
+
}(Ee)
|
|
3738
|
+
), pi = (
|
|
3760
3739
|
/** @class */
|
|
3761
3740
|
function(e) {
|
|
3762
|
-
|
|
3741
|
+
$(t, e);
|
|
3763
3742
|
function t(r, n) {
|
|
3764
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3743
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3765
3744
|
}
|
|
3766
3745
|
return t;
|
|
3767
|
-
}(
|
|
3746
|
+
}(Ee)
|
|
3768
3747
|
), A;
|
|
3769
3748
|
(function(e) {
|
|
3770
3749
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3771
3750
|
})(A || (A = {}));
|
|
3772
|
-
function
|
|
3751
|
+
function bi(e) {
|
|
3773
3752
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3774
3753
|
var n = t[t.length - 1];
|
|
3775
3754
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3776
3755
|
}, []);
|
|
3777
3756
|
}
|
|
3778
|
-
function
|
|
3757
|
+
function gi(e) {
|
|
3779
3758
|
return typeof e == "function";
|
|
3780
3759
|
}
|
|
3781
|
-
function
|
|
3782
|
-
if (e.length === 1 &&
|
|
3760
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3761
|
+
if (e.length === 1 && vt(e[0]))
|
|
3783
3762
|
return [
|
|
3784
3763
|
{
|
|
3785
3764
|
type: A.literal,
|
|
@@ -3788,14 +3767,14 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3788
3767
|
];
|
|
3789
3768
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3790
3769
|
var h = u[l];
|
|
3791
|
-
if (
|
|
3770
|
+
if (vt(h)) {
|
|
3792
3771
|
a.push({
|
|
3793
3772
|
type: A.literal,
|
|
3794
3773
|
value: h.value
|
|
3795
3774
|
});
|
|
3796
3775
|
continue;
|
|
3797
3776
|
}
|
|
3798
|
-
if (
|
|
3777
|
+
if (Un(h)) {
|
|
3799
3778
|
typeof o == "number" && a.push({
|
|
3800
3779
|
type: A.literal,
|
|
3801
3780
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3804,89 +3783,89 @@ function de(e, t, r, n, i, o, s) {
|
|
|
3804
3783
|
}
|
|
3805
3784
|
var c = h.value;
|
|
3806
3785
|
if (!(i && c in i))
|
|
3807
|
-
throw new
|
|
3786
|
+
throw new pi(c, s);
|
|
3808
3787
|
var f = i[c];
|
|
3809
|
-
if (
|
|
3788
|
+
if (Gn(h)) {
|
|
3810
3789
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3811
3790
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3812
3791
|
value: f
|
|
3813
3792
|
});
|
|
3814
3793
|
continue;
|
|
3815
3794
|
}
|
|
3816
|
-
if (
|
|
3817
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3795
|
+
if (Yt(h)) {
|
|
3796
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3818
3797
|
a.push({
|
|
3819
3798
|
type: A.literal,
|
|
3820
3799
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3821
3800
|
});
|
|
3822
3801
|
continue;
|
|
3823
3802
|
}
|
|
3824
|
-
if (
|
|
3825
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3803
|
+
if (Kt(h)) {
|
|
3804
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3826
3805
|
a.push({
|
|
3827
3806
|
type: A.literal,
|
|
3828
3807
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3829
3808
|
});
|
|
3830
3809
|
continue;
|
|
3831
3810
|
}
|
|
3832
|
-
if (
|
|
3833
|
-
var m = typeof h.style == "string" ? n.number[h.style] :
|
|
3811
|
+
if (qt(h)) {
|
|
3812
|
+
var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3834
3813
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3835
3814
|
type: A.literal,
|
|
3836
3815
|
value: r.getNumberFormat(t, m).format(f)
|
|
3837
3816
|
});
|
|
3838
3817
|
continue;
|
|
3839
3818
|
}
|
|
3840
|
-
if (
|
|
3841
|
-
var
|
|
3842
|
-
if (!
|
|
3843
|
-
throw new
|
|
3844
|
-
var M =
|
|
3845
|
-
return
|
|
3819
|
+
if (rr(h)) {
|
|
3820
|
+
var d = h.children, p = h.value, w = i[p];
|
|
3821
|
+
if (!gi(w))
|
|
3822
|
+
throw new di(p, "function", s);
|
|
3823
|
+
var M = pe(d, t, r, n, i, o), C = w(M.map(function(E) {
|
|
3824
|
+
return E.value;
|
|
3846
3825
|
}));
|
|
3847
|
-
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(
|
|
3826
|
+
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
|
|
3848
3827
|
return {
|
|
3849
|
-
type: typeof
|
|
3850
|
-
value:
|
|
3828
|
+
type: typeof E == "string" ? A.literal : A.object,
|
|
3829
|
+
value: E
|
|
3851
3830
|
};
|
|
3852
3831
|
}));
|
|
3853
3832
|
}
|
|
3854
|
-
if (
|
|
3855
|
-
var
|
|
3856
|
-
if (!
|
|
3857
|
-
throw new
|
|
3858
|
-
a.push.apply(a,
|
|
3833
|
+
if (er(h)) {
|
|
3834
|
+
var T = h.options[f] || h.options.other;
|
|
3835
|
+
if (!T)
|
|
3836
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
|
3837
|
+
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3859
3838
|
continue;
|
|
3860
3839
|
}
|
|
3861
|
-
if (
|
|
3862
|
-
var
|
|
3863
|
-
if (!
|
|
3840
|
+
if (tr(h)) {
|
|
3841
|
+
var T = h.options["=".concat(f)];
|
|
3842
|
+
if (!T) {
|
|
3864
3843
|
if (!Intl.PluralRules)
|
|
3865
|
-
throw new
|
|
3844
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3866
3845
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3867
|
-
`,
|
|
3846
|
+
`, Q.MISSING_INTL_API, s);
|
|
3868
3847
|
var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3869
|
-
|
|
3848
|
+
T = h.options[_] || h.options.other;
|
|
3870
3849
|
}
|
|
3871
|
-
if (!
|
|
3872
|
-
throw new
|
|
3873
|
-
a.push.apply(a,
|
|
3850
|
+
if (!T)
|
|
3851
|
+
throw new Tt(h.value, f, Object.keys(h.options), s);
|
|
3852
|
+
a.push.apply(a, pe(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3874
3853
|
continue;
|
|
3875
3854
|
}
|
|
3876
3855
|
}
|
|
3877
|
-
return
|
|
3856
|
+
return bi(a);
|
|
3878
3857
|
}
|
|
3879
|
-
function
|
|
3880
|
-
return t ?
|
|
3881
|
-
return r[n] =
|
|
3858
|
+
function vi(e, t) {
|
|
3859
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3860
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3882
3861
|
}, {})) : e;
|
|
3883
3862
|
}
|
|
3884
|
-
function
|
|
3863
|
+
function yi(e, t) {
|
|
3885
3864
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3886
|
-
return r[n] =
|
|
3887
|
-
},
|
|
3865
|
+
return r[n] = vi(e[n], t[n]), r;
|
|
3866
|
+
}, y({}, e)) : e;
|
|
3888
3867
|
}
|
|
3889
|
-
function
|
|
3868
|
+
function Ie(e) {
|
|
3890
3869
|
return {
|
|
3891
3870
|
create: function() {
|
|
3892
3871
|
return {
|
|
@@ -3900,39 +3879,39 @@ function Ne(e) {
|
|
|
3900
3879
|
}
|
|
3901
3880
|
};
|
|
3902
3881
|
}
|
|
3903
|
-
function
|
|
3882
|
+
function xi(e) {
|
|
3904
3883
|
return e === void 0 && (e = {
|
|
3905
3884
|
number: {},
|
|
3906
3885
|
dateTime: {},
|
|
3907
3886
|
pluralRules: {}
|
|
3908
3887
|
}), {
|
|
3909
|
-
getNumberFormat:
|
|
3888
|
+
getNumberFormat: Ce(function() {
|
|
3910
3889
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3911
3890
|
r[n] = arguments[n];
|
|
3912
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3891
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3913
3892
|
}, {
|
|
3914
|
-
cache:
|
|
3915
|
-
strategy:
|
|
3893
|
+
cache: Ie(e.number),
|
|
3894
|
+
strategy: Pe.variadic
|
|
3916
3895
|
}),
|
|
3917
|
-
getDateTimeFormat:
|
|
3896
|
+
getDateTimeFormat: Ce(function() {
|
|
3918
3897
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3919
3898
|
r[n] = arguments[n];
|
|
3920
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3899
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
|
|
3921
3900
|
}, {
|
|
3922
|
-
cache:
|
|
3923
|
-
strategy:
|
|
3901
|
+
cache: Ie(e.dateTime),
|
|
3902
|
+
strategy: Pe.variadic
|
|
3924
3903
|
}),
|
|
3925
|
-
getPluralRules:
|
|
3904
|
+
getPluralRules: Ce(function() {
|
|
3926
3905
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3927
3906
|
r[n] = arguments[n];
|
|
3928
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3907
|
+
return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
|
|
3929
3908
|
}, {
|
|
3930
|
-
cache:
|
|
3931
|
-
strategy:
|
|
3909
|
+
cache: Ie(e.pluralRules),
|
|
3910
|
+
strategy: Pe.variadic
|
|
3932
3911
|
})
|
|
3933
3912
|
};
|
|
3934
3913
|
}
|
|
3935
|
-
var
|
|
3914
|
+
var _i = (
|
|
3936
3915
|
/** @class */
|
|
3937
3916
|
function() {
|
|
3938
3917
|
function e(t, r, n, i) {
|
|
@@ -3951,7 +3930,7 @@ var Si = (
|
|
|
3951
3930
|
}, []);
|
|
3952
3931
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3953
3932
|
}, this.formatToParts = function(l) {
|
|
3954
|
-
return
|
|
3933
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3955
3934
|
}, this.resolvedOptions = function() {
|
|
3956
3935
|
var l;
|
|
3957
3936
|
return {
|
|
@@ -3964,13 +3943,13 @@ var Si = (
|
|
|
3964
3943
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3965
3944
|
var s = i || {};
|
|
3966
3945
|
s.formatters;
|
|
3967
|
-
var a =
|
|
3968
|
-
this.ast = e.__parse(t,
|
|
3946
|
+
var a = en(s, ["formatters"]);
|
|
3947
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3969
3948
|
} else
|
|
3970
3949
|
this.ast = t;
|
|
3971
3950
|
if (!Array.isArray(this.ast))
|
|
3972
3951
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3973
|
-
this.formats =
|
|
3952
|
+
this.formats = yi(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
|
|
3974
3953
|
}
|
|
3975
3954
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3976
3955
|
get: function() {
|
|
@@ -3983,7 +3962,7 @@ var Si = (
|
|
|
3983
3962
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3984
3963
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3985
3964
|
}
|
|
3986
|
-
}, e.__parse =
|
|
3965
|
+
}, e.__parse = mi, e.formats = {
|
|
3987
3966
|
number: {
|
|
3988
3967
|
integer: {
|
|
3989
3968
|
maximumFractionDigits: 0
|
|
@@ -4044,7 +4023,7 @@ var Si = (
|
|
|
4044
4023
|
}, e;
|
|
4045
4024
|
}()
|
|
4046
4025
|
);
|
|
4047
|
-
function
|
|
4026
|
+
function Ei(e, t) {
|
|
4048
4027
|
if (t == null)
|
|
4049
4028
|
return;
|
|
4050
4029
|
if (t in e)
|
|
@@ -4065,92 +4044,92 @@ function wi(e, t) {
|
|
|
4065
4044
|
n = void 0;
|
|
4066
4045
|
return n;
|
|
4067
4046
|
}
|
|
4068
|
-
const G = {},
|
|
4047
|
+
const G = {}, Si = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), cr = (e, t) => {
|
|
4069
4048
|
if (t == null)
|
|
4070
4049
|
return;
|
|
4071
4050
|
if (t in G && e in G[t])
|
|
4072
4051
|
return G[t][e];
|
|
4073
|
-
const r =
|
|
4052
|
+
const r = Se(t);
|
|
4074
4053
|
for (let n = 0; n < r.length; n++) {
|
|
4075
|
-
const i = r[n], o =
|
|
4054
|
+
const i = r[n], o = Ti(i, e);
|
|
4076
4055
|
if (o)
|
|
4077
|
-
return
|
|
4056
|
+
return Si(e, t, o);
|
|
4078
4057
|
}
|
|
4079
4058
|
};
|
|
4080
|
-
let
|
|
4081
|
-
const ue =
|
|
4082
|
-
function
|
|
4083
|
-
return
|
|
4059
|
+
let et;
|
|
4060
|
+
const ue = _e({});
|
|
4061
|
+
function wi(e) {
|
|
4062
|
+
return et[e] || null;
|
|
4084
4063
|
}
|
|
4085
|
-
function
|
|
4086
|
-
return e in
|
|
4064
|
+
function fr(e) {
|
|
4065
|
+
return e in et;
|
|
4087
4066
|
}
|
|
4088
|
-
function
|
|
4089
|
-
if (!
|
|
4067
|
+
function Ti(e, t) {
|
|
4068
|
+
if (!fr(e))
|
|
4090
4069
|
return null;
|
|
4091
|
-
const r =
|
|
4092
|
-
return
|
|
4070
|
+
const r = wi(e);
|
|
4071
|
+
return Ei(r, t);
|
|
4093
4072
|
}
|
|
4094
|
-
function
|
|
4073
|
+
function Hi(e) {
|
|
4095
4074
|
if (e == null)
|
|
4096
4075
|
return;
|
|
4097
|
-
const t =
|
|
4076
|
+
const t = Se(e);
|
|
4098
4077
|
for (let r = 0; r < t.length; r++) {
|
|
4099
4078
|
const n = t[r];
|
|
4100
|
-
if (
|
|
4079
|
+
if (fr(n))
|
|
4101
4080
|
return n;
|
|
4102
4081
|
}
|
|
4103
4082
|
}
|
|
4104
|
-
function
|
|
4083
|
+
function mr(e, ...t) {
|
|
4105
4084
|
delete G[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
|
4106
4085
|
}
|
|
4107
|
-
|
|
4086
|
+
K(
|
|
4108
4087
|
[ue],
|
|
4109
4088
|
([e]) => Object.keys(e)
|
|
4110
4089
|
);
|
|
4111
|
-
ue.subscribe((e) =>
|
|
4090
|
+
ue.subscribe((e) => et = e);
|
|
4112
4091
|
const be = {};
|
|
4113
|
-
function
|
|
4092
|
+
function Bi(e, t) {
|
|
4114
4093
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4115
4094
|
}
|
|
4116
4095
|
function dr(e) {
|
|
4117
4096
|
return be[e];
|
|
4118
4097
|
}
|
|
4119
|
-
function
|
|
4120
|
-
return
|
|
4098
|
+
function Ai(e) {
|
|
4099
|
+
return Se(e).map((t) => {
|
|
4121
4100
|
const r = dr(t);
|
|
4122
4101
|
return [t, r ? [...r] : []];
|
|
4123
4102
|
}).filter(([, t]) => t.length > 0);
|
|
4124
4103
|
}
|
|
4125
|
-
function
|
|
4126
|
-
return e == null ? !1 :
|
|
4104
|
+
function Qe(e) {
|
|
4105
|
+
return e == null ? !1 : Se(e).some(
|
|
4127
4106
|
(t) => {
|
|
4128
4107
|
var r;
|
|
4129
4108
|
return (r = dr(t)) == null ? void 0 : r.size;
|
|
4130
4109
|
}
|
|
4131
4110
|
);
|
|
4132
4111
|
}
|
|
4133
|
-
function
|
|
4112
|
+
function Ci(e, t) {
|
|
4134
4113
|
return Promise.all(
|
|
4135
|
-
t.map((n) => (
|
|
4136
|
-
).then((n) =>
|
|
4137
|
-
}
|
|
4138
|
-
const
|
|
4139
|
-
function
|
|
4140
|
-
if (!
|
|
4141
|
-
return e in
|
|
4142
|
-
const t =
|
|
4143
|
-
return
|
|
4114
|
+
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
|
4115
|
+
).then((n) => mr(e, ...n));
|
|
4116
|
+
}
|
|
4117
|
+
const re = {};
|
|
4118
|
+
function pr(e) {
|
|
4119
|
+
if (!Qe(e))
|
|
4120
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4121
|
+
const t = Ai(e);
|
|
4122
|
+
return re[e] = Promise.all(
|
|
4144
4123
|
t.map(
|
|
4145
|
-
([r, n]) =>
|
|
4124
|
+
([r, n]) => Ci(r, n)
|
|
4146
4125
|
)
|
|
4147
4126
|
).then(() => {
|
|
4148
|
-
if (
|
|
4149
|
-
return
|
|
4150
|
-
delete
|
|
4151
|
-
}),
|
|
4127
|
+
if (Qe(e))
|
|
4128
|
+
return pr(e);
|
|
4129
|
+
delete re[e];
|
|
4130
|
+
}), re[e];
|
|
4152
4131
|
}
|
|
4153
|
-
const
|
|
4132
|
+
const Pi = {
|
|
4154
4133
|
number: {
|
|
4155
4134
|
scientific: { notation: "scientific" },
|
|
4156
4135
|
engineering: { notation: "engineering" },
|
|
@@ -4179,135 +4158,135 @@ const Ii = {
|
|
|
4179
4158
|
timeZoneName: "short"
|
|
4180
4159
|
}
|
|
4181
4160
|
}
|
|
4182
|
-
},
|
|
4161
|
+
}, Oi = {
|
|
4183
4162
|
fallbackLocale: null,
|
|
4184
4163
|
loadingDelay: 200,
|
|
4185
|
-
formats:
|
|
4164
|
+
formats: Pi,
|
|
4186
4165
|
warnOnMissingMessages: !0,
|
|
4187
4166
|
handleMissingMessage: void 0,
|
|
4188
4167
|
ignoreTag: !0
|
|
4189
|
-
},
|
|
4190
|
-
function
|
|
4191
|
-
return
|
|
4168
|
+
}, Ii = Oi;
|
|
4169
|
+
function J() {
|
|
4170
|
+
return Ii;
|
|
4192
4171
|
}
|
|
4193
|
-
const
|
|
4194
|
-
var
|
|
4172
|
+
const Me = _e(!1);
|
|
4173
|
+
var Mi = Object.defineProperty, Ni = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
|
|
4195
4174
|
for (var r in t || (t = {}))
|
|
4196
|
-
|
|
4197
|
-
if (
|
|
4198
|
-
for (var r of
|
|
4199
|
-
|
|
4175
|
+
Ri.call(t, r) && Bt(e, r, t[r]);
|
|
4176
|
+
if (Ht)
|
|
4177
|
+
for (var r of Ht(t))
|
|
4178
|
+
$i.call(t, r) && Bt(e, r, t[r]);
|
|
4200
4179
|
return e;
|
|
4201
|
-
},
|
|
4202
|
-
let
|
|
4203
|
-
const
|
|
4204
|
-
function
|
|
4180
|
+
}, Ui = (e, t) => Ni(e, Li(t));
|
|
4181
|
+
let Je;
|
|
4182
|
+
const ve = _e(null);
|
|
4183
|
+
function At(e) {
|
|
4205
4184
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4206
4185
|
}
|
|
4207
|
-
function
|
|
4208
|
-
const r =
|
|
4209
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4186
|
+
function Se(e, t = J().fallbackLocale) {
|
|
4187
|
+
const r = At(e);
|
|
4188
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
|
|
4210
4189
|
}
|
|
4211
4190
|
function U() {
|
|
4212
|
-
return
|
|
4191
|
+
return Je != null ? Je : void 0;
|
|
4213
4192
|
}
|
|
4214
|
-
|
|
4215
|
-
|
|
4193
|
+
ve.subscribe((e) => {
|
|
4194
|
+
Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4216
4195
|
});
|
|
4217
|
-
const
|
|
4218
|
-
if (e &&
|
|
4219
|
-
const { loadingDelay: t } =
|
|
4196
|
+
const Di = (e) => {
|
|
4197
|
+
if (e && Hi(e) && Qe(e)) {
|
|
4198
|
+
const { loadingDelay: t } = J();
|
|
4220
4199
|
let r;
|
|
4221
4200
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4222
|
-
() =>
|
|
4201
|
+
() => Me.set(!0),
|
|
4223
4202
|
t
|
|
4224
|
-
) :
|
|
4225
|
-
|
|
4203
|
+
) : Me.set(!0), pr(e).then(() => {
|
|
4204
|
+
ve.set(e);
|
|
4226
4205
|
}).finally(() => {
|
|
4227
|
-
clearTimeout(r),
|
|
4206
|
+
clearTimeout(r), Me.set(!1);
|
|
4228
4207
|
});
|
|
4229
4208
|
}
|
|
4230
|
-
return
|
|
4231
|
-
},
|
|
4232
|
-
set:
|
|
4233
|
-
}),
|
|
4209
|
+
return ve.set(e);
|
|
4210
|
+
}, ee = Ui(Gi({}, ve), {
|
|
4211
|
+
set: Di
|
|
4212
|
+
}), we = (e) => {
|
|
4234
4213
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4235
4214
|
return (n) => {
|
|
4236
4215
|
const i = JSON.stringify(n);
|
|
4237
4216
|
return i in t ? t[i] : t[i] = e(n);
|
|
4238
4217
|
};
|
|
4239
4218
|
};
|
|
4240
|
-
var
|
|
4219
|
+
var Fi = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
4241
4220
|
for (var r in t || (t = {}))
|
|
4242
|
-
|
|
4243
|
-
if (
|
|
4244
|
-
for (var r of
|
|
4245
|
-
|
|
4221
|
+
br.call(t, r) && Ct(e, r, t[r]);
|
|
4222
|
+
if (ye)
|
|
4223
|
+
for (var r of ye(t))
|
|
4224
|
+
gr.call(t, r) && Ct(e, r, t[r]);
|
|
4246
4225
|
return e;
|
|
4247
|
-
},
|
|
4226
|
+
}, te = (e, t) => {
|
|
4248
4227
|
var r = {};
|
|
4249
4228
|
for (var n in e)
|
|
4250
|
-
|
|
4251
|
-
if (e != null &&
|
|
4252
|
-
for (var n of
|
|
4253
|
-
t.indexOf(n) < 0 &&
|
|
4229
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4230
|
+
if (e != null && ye)
|
|
4231
|
+
for (var n of ye(e))
|
|
4232
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4254
4233
|
return r;
|
|
4255
4234
|
};
|
|
4256
|
-
const
|
|
4257
|
-
const { formats: r } =
|
|
4235
|
+
const se = (e, t) => {
|
|
4236
|
+
const { formats: r } = J();
|
|
4258
4237
|
if (e in r && t in r[e])
|
|
4259
4238
|
return r[e][t];
|
|
4260
4239
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4261
|
-
},
|
|
4240
|
+
}, ji = we(
|
|
4262
4241
|
(e) => {
|
|
4263
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4242
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4264
4243
|
if (r == null)
|
|
4265
4244
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4266
|
-
return n && (i =
|
|
4245
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4267
4246
|
}
|
|
4268
|
-
),
|
|
4247
|
+
), ki = we(
|
|
4269
4248
|
(e) => {
|
|
4270
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4249
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4271
4250
|
if (r == null)
|
|
4272
4251
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4273
|
-
return n ? i =
|
|
4252
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4274
4253
|
}
|
|
4275
|
-
),
|
|
4254
|
+
), Vi = we(
|
|
4276
4255
|
(e) => {
|
|
4277
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4256
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4278
4257
|
if (r == null)
|
|
4279
4258
|
throw new Error(
|
|
4280
4259
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4281
4260
|
);
|
|
4282
|
-
return n ? i =
|
|
4261
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4283
4262
|
}
|
|
4284
|
-
),
|
|
4263
|
+
), Xi = (e = {}) => {
|
|
4285
4264
|
var t = e, {
|
|
4286
4265
|
locale: r = U()
|
|
4287
|
-
} = t, n =
|
|
4266
|
+
} = t, n = te(t, [
|
|
4288
4267
|
"locale"
|
|
4289
4268
|
]);
|
|
4290
|
-
return
|
|
4291
|
-
},
|
|
4269
|
+
return ji(tt({ locale: r }, n));
|
|
4270
|
+
}, zi = (e = {}) => {
|
|
4292
4271
|
var t = e, {
|
|
4293
4272
|
locale: r = U()
|
|
4294
|
-
} = t, n =
|
|
4273
|
+
} = t, n = te(t, [
|
|
4295
4274
|
"locale"
|
|
4296
4275
|
]);
|
|
4297
|
-
return
|
|
4298
|
-
},
|
|
4276
|
+
return ki(tt({ locale: r }, n));
|
|
4277
|
+
}, Wi = (e = {}) => {
|
|
4299
4278
|
var t = e, {
|
|
4300
4279
|
locale: r = U()
|
|
4301
|
-
} = t, n =
|
|
4280
|
+
} = t, n = te(t, [
|
|
4302
4281
|
"locale"
|
|
4303
4282
|
]);
|
|
4304
|
-
return
|
|
4305
|
-
},
|
|
4283
|
+
return Vi(tt({ locale: r }, n));
|
|
4284
|
+
}, Zi = we(
|
|
4306
4285
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4307
|
-
(e, t = U()) => new
|
|
4308
|
-
ignoreTag:
|
|
4286
|
+
(e, t = U()) => new _i(e, t, J().formats, {
|
|
4287
|
+
ignoreTag: J().ignoreTag
|
|
4309
4288
|
})
|
|
4310
|
-
),
|
|
4289
|
+
), Qi = (e, t = {}) => {
|
|
4311
4290
|
var r, n, i, o;
|
|
4312
4291
|
let s = t;
|
|
4313
4292
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4320,9 +4299,9 @@ const oe = (e, t) => {
|
|
|
4320
4299
|
throw new Error(
|
|
4321
4300
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4322
4301
|
);
|
|
4323
|
-
let h =
|
|
4302
|
+
let h = cr(e, l);
|
|
4324
4303
|
if (!h)
|
|
4325
|
-
h = (o = (i = (n = (r =
|
|
4304
|
+
h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4326
4305
|
else if (typeof h != "string")
|
|
4327
4306
|
return console.warn(
|
|
4328
4307
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4331,7 +4310,7 @@ const oe = (e, t) => {
|
|
|
4331
4310
|
return h;
|
|
4332
4311
|
let c = h;
|
|
4333
4312
|
try {
|
|
4334
|
-
c =
|
|
4313
|
+
c = Zi(h, l).format(a);
|
|
4335
4314
|
} catch (f) {
|
|
4336
4315
|
f instanceof Error && console.warn(
|
|
4337
4316
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4339,20 +4318,20 @@ const oe = (e, t) => {
|
|
|
4339
4318
|
);
|
|
4340
4319
|
}
|
|
4341
4320
|
return c;
|
|
4342
|
-
},
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
window.emWidgets = { topic:
|
|
4348
|
-
const
|
|
4349
|
-
function
|
|
4321
|
+
}, Ji = (e, t) => Wi(t).format(e), qi = (e, t) => zi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = U()) => cr(e, t), eo = K([ee, ue], () => Qi);
|
|
4322
|
+
K([ee], () => Ji);
|
|
4323
|
+
K([ee], () => qi);
|
|
4324
|
+
K([ee], () => Yi);
|
|
4325
|
+
K([ee, ue], () => Ki);
|
|
4326
|
+
window.emWidgets = { topic: pn };
|
|
4327
|
+
const to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4328
|
+
function ro(e, t) {
|
|
4350
4329
|
if (e) {
|
|
4351
4330
|
const r = document.createElement("style");
|
|
4352
4331
|
r.innerHTML = t, e.appendChild(r);
|
|
4353
4332
|
}
|
|
4354
4333
|
}
|
|
4355
|
-
function
|
|
4334
|
+
function no(e, t) {
|
|
4356
4335
|
const r = new URL(t);
|
|
4357
4336
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4358
4337
|
const i = document.createElement("style");
|
|
@@ -4361,7 +4340,7 @@ function oo(e, t) {
|
|
|
4361
4340
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4362
4341
|
});
|
|
4363
4342
|
}
|
|
4364
|
-
function
|
|
4343
|
+
function io(e, t, r) {
|
|
4365
4344
|
if (window.emMessageBus) {
|
|
4366
4345
|
const n = document.createElement("style");
|
|
4367
4346
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4369,13 +4348,13 @@ function so(e, t, r) {
|
|
|
4369
4348
|
});
|
|
4370
4349
|
}
|
|
4371
4350
|
}
|
|
4372
|
-
function
|
|
4373
|
-
|
|
4351
|
+
function Pt(e, t) {
|
|
4352
|
+
mr(e, t);
|
|
4374
4353
|
}
|
|
4375
|
-
function
|
|
4376
|
-
|
|
4354
|
+
function oo(e) {
|
|
4355
|
+
ee.set(e);
|
|
4377
4356
|
}
|
|
4378
|
-
const
|
|
4357
|
+
const Ot = {
|
|
4379
4358
|
en: {
|
|
4380
4359
|
cancel: "Cancel",
|
|
4381
4360
|
confirm: "Confirm"
|
|
@@ -4421,36 +4400,36 @@ const Mt = {
|
|
|
4421
4400
|
confirm: "Confirm"
|
|
4422
4401
|
}
|
|
4423
4402
|
};
|
|
4424
|
-
function
|
|
4425
|
-
|
|
4403
|
+
function so(e) {
|
|
4404
|
+
Mr(e, "svelte-s0xip8", '*,*::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}');
|
|
4426
4405
|
}
|
|
4427
|
-
const
|
|
4428
|
-
function
|
|
4406
|
+
const ao = (e) => ({}), It = (e) => ({});
|
|
4407
|
+
function uo(e) {
|
|
4429
4408
|
let t, r;
|
|
4430
4409
|
return {
|
|
4431
4410
|
c() {
|
|
4432
|
-
t =
|
|
4411
|
+
t = ut("svg"), r = ut("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4433
4412
|
},
|
|
4434
4413
|
m(n, i) {
|
|
4435
|
-
|
|
4414
|
+
ae(n, t, i), B(t, r);
|
|
4436
4415
|
},
|
|
4437
|
-
p:
|
|
4416
|
+
p: L,
|
|
4438
4417
|
d(n) {
|
|
4439
|
-
n &&
|
|
4418
|
+
n && Y(t);
|
|
4440
4419
|
}
|
|
4441
4420
|
};
|
|
4442
4421
|
}
|
|
4443
|
-
function
|
|
4422
|
+
function Mt(e) {
|
|
4444
4423
|
let t, r, n;
|
|
4445
4424
|
return {
|
|
4446
4425
|
c() {
|
|
4447
|
-
t = N("div"), r = N("h2"), n =
|
|
4426
|
+
t = N("div"), r = N("h2"), n = z(
|
|
4448
4427
|
/*modaltitle*/
|
|
4449
4428
|
e[1]
|
|
4450
4429
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4451
4430
|
},
|
|
4452
4431
|
m(i, o) {
|
|
4453
|
-
|
|
4432
|
+
ae(i, t, o), B(t, r), B(r, n);
|
|
4454
4433
|
},
|
|
4455
4434
|
p(i, o) {
|
|
4456
4435
|
o & /*modaltitle*/
|
|
@@ -4461,21 +4440,21 @@ function Lt(e) {
|
|
|
4461
4440
|
);
|
|
4462
4441
|
},
|
|
4463
4442
|
d(i) {
|
|
4464
|
-
i &&
|
|
4443
|
+
i && Y(t);
|
|
4465
4444
|
}
|
|
4466
4445
|
};
|
|
4467
4446
|
}
|
|
4468
|
-
function
|
|
4447
|
+
function Nt(e) {
|
|
4469
4448
|
let t, r = (
|
|
4470
4449
|
/*$_*/
|
|
4471
4450
|
e[4]("cancel") + ""
|
|
4472
4451
|
), n, i, o;
|
|
4473
4452
|
return {
|
|
4474
4453
|
c() {
|
|
4475
|
-
t = N("button"), n =
|
|
4454
|
+
t = N("button"), n = z(r), H(t, "class", "GeneralCancelButton");
|
|
4476
4455
|
},
|
|
4477
4456
|
m(s, a) {
|
|
4478
|
-
|
|
4457
|
+
ae(s, t, a), B(t, n), i || (o = Ne(
|
|
4479
4458
|
t,
|
|
4480
4459
|
"click",
|
|
4481
4460
|
/*click_handler*/
|
|
@@ -4488,170 +4467,170 @@ function Rt(e) {
|
|
|
4488
4467
|
s[4]("cancel") + "") && ge(n, r);
|
|
4489
4468
|
},
|
|
4490
4469
|
d(s) {
|
|
4491
|
-
s &&
|
|
4470
|
+
s && Y(t), i = !1, o();
|
|
4492
4471
|
}
|
|
4493
4472
|
};
|
|
4494
4473
|
}
|
|
4495
|
-
function
|
|
4474
|
+
function lo(e) {
|
|
4496
4475
|
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4497
4476
|
/*$_*/
|
|
4498
4477
|
e[4]("confirm") + ""
|
|
4499
|
-
), m,
|
|
4478
|
+
), m, d, p, w;
|
|
4500
4479
|
const M = (
|
|
4501
4480
|
/*#slots*/
|
|
4502
4481
|
e[16].close
|
|
4503
|
-
), C =
|
|
4482
|
+
), C = Cr(
|
|
4504
4483
|
M,
|
|
4505
4484
|
e,
|
|
4506
4485
|
/*$$scope*/
|
|
4507
4486
|
e[15],
|
|
4508
|
-
|
|
4509
|
-
),
|
|
4487
|
+
It
|
|
4488
|
+
), T = C || uo();
|
|
4510
4489
|
let _ = (
|
|
4511
4490
|
/*modaltitle*/
|
|
4512
|
-
e[1] &&
|
|
4513
|
-
),
|
|
4491
|
+
e[1] && Mt(e)
|
|
4492
|
+
), E = (
|
|
4514
4493
|
/*hascancelbutton*/
|
|
4515
|
-
e[2] &&
|
|
4494
|
+
e[2] && Nt(e)
|
|
4516
4495
|
);
|
|
4517
4496
|
return {
|
|
4518
4497
|
c() {
|
|
4519
|
-
t = N("div"), r = N("div"), n = N("span"),
|
|
4498
|
+
t = N("div"), r = N("div"), n = N("span"), T && T.c(), i = le(), _ && _.c(), o = le(), s = N("div"), a = z(
|
|
4520
4499
|
/*modaltext*/
|
|
4521
4500
|
e[0]
|
|
4522
|
-
), l = le(), u = N("div"),
|
|
4501
|
+
), l = le(), u = N("div"), E && E.c(), h = le(), c = N("button"), m = z(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4523
4502
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4524
4503
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4525
4504
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4526
4505
|
},
|
|
4527
|
-
m(
|
|
4528
|
-
|
|
4529
|
-
|
|
4506
|
+
m(x, P) {
|
|
4507
|
+
ae(x, t, P), B(t, r), B(r, n), T && T.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), d = !0, p || (w = [
|
|
4508
|
+
Ne(
|
|
4530
4509
|
n,
|
|
4531
4510
|
"click",
|
|
4532
4511
|
/*close*/
|
|
4533
4512
|
e[6]
|
|
4534
4513
|
),
|
|
4535
|
-
|
|
4514
|
+
Ne(
|
|
4536
4515
|
c,
|
|
4537
4516
|
"click",
|
|
4538
4517
|
/*click_handler_1*/
|
|
4539
4518
|
e[18]
|
|
4540
4519
|
)
|
|
4541
|
-
],
|
|
4520
|
+
], p = !0);
|
|
4542
4521
|
},
|
|
4543
|
-
p(
|
|
4544
|
-
C && C.p && (!
|
|
4545
|
-
32768) &&
|
|
4522
|
+
p(x, [P]) {
|
|
4523
|
+
C && C.p && (!d || P & /*$$scope*/
|
|
4524
|
+
32768) && Or(
|
|
4546
4525
|
C,
|
|
4547
4526
|
M,
|
|
4548
|
-
|
|
4527
|
+
x,
|
|
4549
4528
|
/*$$scope*/
|
|
4550
|
-
|
|
4551
|
-
|
|
4529
|
+
x[15],
|
|
4530
|
+
d ? Pr(
|
|
4552
4531
|
M,
|
|
4553
4532
|
/*$$scope*/
|
|
4554
|
-
|
|
4533
|
+
x[15],
|
|
4555
4534
|
P,
|
|
4556
|
-
|
|
4557
|
-
) :
|
|
4535
|
+
ao
|
|
4536
|
+
) : Ir(
|
|
4558
4537
|
/*$$scope*/
|
|
4559
|
-
|
|
4538
|
+
x[15]
|
|
4560
4539
|
),
|
|
4561
|
-
|
|
4540
|
+
It
|
|
4562
4541
|
), /*modaltitle*/
|
|
4563
|
-
|
|
4542
|
+
x[1] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
|
|
4564
4543
|
1) && ge(
|
|
4565
4544
|
a,
|
|
4566
4545
|
/*modaltext*/
|
|
4567
|
-
|
|
4546
|
+
x[0]
|
|
4568
4547
|
), /*hascancelbutton*/
|
|
4569
|
-
|
|
4548
|
+
x[2] ? E ? E.p(x, P) : (E = Nt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
|
|
4570
4549
|
16) && f !== (f = /*$_*/
|
|
4571
|
-
|
|
4550
|
+
x[4]("confirm") + "") && ge(m, f);
|
|
4572
4551
|
},
|
|
4573
|
-
i(
|
|
4574
|
-
|
|
4552
|
+
i(x) {
|
|
4553
|
+
d || (Ut(T, x), d = !0);
|
|
4575
4554
|
},
|
|
4576
|
-
o(
|
|
4577
|
-
|
|
4555
|
+
o(x) {
|
|
4556
|
+
Xr(T, x), d = !1;
|
|
4578
4557
|
},
|
|
4579
|
-
d(
|
|
4580
|
-
|
|
4558
|
+
d(x) {
|
|
4559
|
+
x && Y(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, q(w);
|
|
4581
4560
|
}
|
|
4582
4561
|
};
|
|
4583
4562
|
}
|
|
4584
|
-
function
|
|
4563
|
+
function ho(e, t, r) {
|
|
4585
4564
|
let n;
|
|
4586
|
-
|
|
4587
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl:
|
|
4588
|
-
const
|
|
4565
|
+
Ar(e, eo, (g) => r(4, n = g));
|
|
4566
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, M = window.navigator.userAgent, C = to(M) !== "PC";
|
|
4567
|
+
const T = () => {
|
|
4589
4568
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4590
4569
|
}, _ = (g) => {
|
|
4591
|
-
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href),
|
|
4592
|
-
},
|
|
4593
|
-
fetch(
|
|
4594
|
-
Object.keys(D).forEach((
|
|
4595
|
-
|
|
4570
|
+
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
|
|
4571
|
+
}, E = () => {
|
|
4572
|
+
fetch(d).then((D) => D.json()).then((D) => {
|
|
4573
|
+
Object.keys(D).forEach((rt) => {
|
|
4574
|
+
Pt(rt, D[rt]);
|
|
4596
4575
|
});
|
|
4597
4576
|
}).catch((D) => {
|
|
4598
4577
|
console.log(D);
|
|
4599
4578
|
});
|
|
4600
4579
|
};
|
|
4601
|
-
Object.keys(
|
|
4602
|
-
|
|
4580
|
+
Object.keys(Ot).forEach((g) => {
|
|
4581
|
+
Pt(g, Ot[g]);
|
|
4603
4582
|
});
|
|
4604
|
-
const
|
|
4605
|
-
|
|
4583
|
+
const x = () => {
|
|
4584
|
+
oo(c);
|
|
4606
4585
|
};
|
|
4607
|
-
|
|
4586
|
+
Ur(() => () => {
|
|
4608
4587
|
});
|
|
4609
|
-
const P = () => _("cancel"),
|
|
4588
|
+
const P = () => _("cancel"), yr = () => _("confirm");
|
|
4610
4589
|
function xr(g) {
|
|
4611
|
-
|
|
4612
|
-
|
|
4590
|
+
Le[g ? "unshift" : "push"](() => {
|
|
4591
|
+
w = g, r(3, w);
|
|
4613
4592
|
});
|
|
4614
4593
|
}
|
|
4615
4594
|
return e.$$set = (g) => {
|
|
4616
|
-
"modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13,
|
|
4595
|
+
"modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, d = g.translationurl), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
|
|
4617
4596
|
}, e.$$.update = () => {
|
|
4618
4597
|
e.$$.dirty & /*modaltext, lang*/
|
|
4619
|
-
1025 && s && c &&
|
|
4620
|
-
2056 && f &&
|
|
4621
|
-
4104 && m &&
|
|
4622
|
-
16392 &&
|
|
4623
|
-
8192 &&
|
|
4598
|
+
1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4599
|
+
2056 && f && w && ro(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4600
|
+
4104 && m && w && no(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4601
|
+
16392 && p && w && io(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4602
|
+
8192 && d && E();
|
|
4624
4603
|
}, [
|
|
4625
4604
|
s,
|
|
4626
4605
|
a,
|
|
4627
4606
|
l,
|
|
4628
|
-
|
|
4607
|
+
w,
|
|
4629
4608
|
n,
|
|
4630
4609
|
C,
|
|
4631
|
-
|
|
4610
|
+
T,
|
|
4632
4611
|
_,
|
|
4633
4612
|
u,
|
|
4634
4613
|
h,
|
|
4635
4614
|
c,
|
|
4636
4615
|
f,
|
|
4637
4616
|
m,
|
|
4638
|
-
p,
|
|
4639
4617
|
d,
|
|
4618
|
+
p,
|
|
4640
4619
|
o,
|
|
4641
4620
|
i,
|
|
4642
4621
|
P,
|
|
4643
|
-
|
|
4622
|
+
yr,
|
|
4644
4623
|
xr
|
|
4645
4624
|
];
|
|
4646
4625
|
}
|
|
4647
|
-
class
|
|
4626
|
+
class vr extends qr {
|
|
4648
4627
|
constructor(t) {
|
|
4649
|
-
super(),
|
|
4628
|
+
super(), Qr(
|
|
4650
4629
|
this,
|
|
4651
4630
|
t,
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4631
|
+
ho,
|
|
4632
|
+
lo,
|
|
4633
|
+
Rt,
|
|
4655
4634
|
{
|
|
4656
4635
|
modaltext: 0,
|
|
4657
4636
|
modaltitle: 1,
|
|
@@ -4664,7 +4643,7 @@ class yr extends Yr {
|
|
|
4664
4643
|
translationurl: 13,
|
|
4665
4644
|
mbsource: 14
|
|
4666
4645
|
},
|
|
4667
|
-
|
|
4646
|
+
so
|
|
4668
4647
|
);
|
|
4669
4648
|
}
|
|
4670
4649
|
get modaltext() {
|
|
@@ -4728,50 +4707,50 @@ class yr extends Yr {
|
|
|
4728
4707
|
this.$$set({ mbsource: t }), I();
|
|
4729
4708
|
}
|
|
4730
4709
|
}
|
|
4731
|
-
|
|
4732
|
-
const
|
|
4710
|
+
Jr(vr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4711
|
+
const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4733
4712
|
__proto__: null,
|
|
4734
|
-
default:
|
|
4713
|
+
default: vr
|
|
4735
4714
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4736
4715
|
export {
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4716
|
+
ee as $,
|
|
4717
|
+
B as A,
|
|
4718
|
+
vo as B,
|
|
4719
|
+
Ne as C,
|
|
4720
|
+
ge as D,
|
|
4721
|
+
fo as E,
|
|
4722
|
+
q as F,
|
|
4723
|
+
po as G,
|
|
4724
|
+
go as H,
|
|
4725
|
+
ut as I,
|
|
4726
|
+
bo as J,
|
|
4727
|
+
eo as K,
|
|
4728
|
+
Eo as P,
|
|
4729
|
+
qr as S,
|
|
4730
|
+
mr as a,
|
|
4731
|
+
Jr as b,
|
|
4732
|
+
_o as c,
|
|
4733
|
+
Mr as d,
|
|
4734
|
+
N as e,
|
|
4756
4735
|
I as f,
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4736
|
+
Kr as g,
|
|
4737
|
+
ae as h,
|
|
4738
|
+
Qr as i,
|
|
4739
|
+
Y as j,
|
|
4740
|
+
Ar as k,
|
|
4741
|
+
to as l,
|
|
4742
|
+
no as m,
|
|
4743
|
+
L as n,
|
|
4744
|
+
Ur as o,
|
|
4745
|
+
io as p,
|
|
4746
|
+
yo as q,
|
|
4747
|
+
Le as r,
|
|
4748
|
+
Rt as s,
|
|
4749
|
+
ro as t,
|
|
4750
|
+
xo as u,
|
|
4751
|
+
le as v,
|
|
4752
|
+
z as w,
|
|
4753
|
+
mo as x,
|
|
4754
|
+
H as y,
|
|
4755
|
+
$e as z
|
|
4777
4756
|
};
|