@everymatrix/player-account-timeout 1.65.3 → 1.66.1
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-FkuCh0hP.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-6i8q0VzZ.js → PlayerAccountGeneralConfirmationModal-Zyz_OEuJ.js} +969 -934
- package/components/{PlayerAccountGeneralConfirmationModal-dWXVEPZv.js → PlayerAccountGeneralConfirmationModal-uYwTgnnB.js} +925 -890
- package/components/{PlayerAccountTimeout-DChmbL7A.cjs → PlayerAccountTimeout-CiYC4keu.cjs} +156 -156
- package/components/{PlayerAccountTimeout-BJcFKc4I.js → PlayerAccountTimeout-Cp5KUUpP.js} +1066 -1068
- package/components/{PlayerAccountTimeout-CHwQGRHJ.js → PlayerAccountTimeout-D7bfp5da.js} +1336 -1338
- 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-BcYyCldH.js +519 -0
- package/stencil/index-b2193545-CPztmidm.js +503 -0
- package/stencil/index-b2193545-D1Z0k4-D.cjs +1 -0
- package/stencil/{ui-skeleton-1cb75d00-6KKxtHwu.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BAHBT-wb.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BPfsKHrC.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +1 -1
- package/stencil/{ui-skeleton-QVfoKja7.js → ui-skeleton-4ifa-7wH.js} +2 -2
- package/stencil/{ui-skeleton-b2oavT4f.js → ui-skeleton-Bk5dn5mu.js} +2 -2
- package/stencil/{ui-skeleton-CaX4F6ue.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-B-KQoOY-.cjs +0 -18
- package/stencil/index-b2193545-CayB6jRX.js +0 -519
- package/stencil/index-b2193545-DrvOqGyq.js +0 -503
- package/stencil/index-b2193545-lC_KoC4p.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function L() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function br(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,46 +8,46 @@ function cr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Ot(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function nt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function Q(e) {
|
|
18
|
+
e.forEach(Ot);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Ke(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function It(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function gr(e) {
|
|
27
27
|
return Object.keys(e).length === 0;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Mt(e, ...t) {
|
|
30
30
|
if (e == null) {
|
|
31
31
|
for (const n of t)
|
|
32
32
|
n(void 0);
|
|
33
|
-
return
|
|
33
|
+
return L;
|
|
34
34
|
}
|
|
35
35
|
const r = e.subscribe(...t);
|
|
36
36
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.$$.on_destroy.push(
|
|
38
|
+
function yr(e, t, r) {
|
|
39
|
+
e.$$.on_destroy.push(Mt(t, r));
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function vr(e, t, r, n) {
|
|
42
42
|
if (e) {
|
|
43
|
-
const i =
|
|
43
|
+
const i = Nt(e, t, r, n);
|
|
44
44
|
return e[0](i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return e[1] && n ?
|
|
47
|
+
function Nt(e, t, r, n) {
|
|
48
|
+
return e[1] && n ? br(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function _r(e, t, r, n) {
|
|
51
51
|
if (e[2] && n) {
|
|
52
52
|
const i = e[2](n(r));
|
|
53
53
|
if (t.dirty === void 0)
|
|
@@ -62,13 +62,13 @@ function br(e, t, r, n) {
|
|
|
62
62
|
}
|
|
63
63
|
return t.dirty;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function xr(e, t, r, n, i, o) {
|
|
66
66
|
if (i) {
|
|
67
|
-
const s =
|
|
67
|
+
const s = Nt(t, r, n, o);
|
|
68
68
|
e.p(s, i);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Er(e) {
|
|
72
72
|
if (e.ctx.length > 32) {
|
|
73
73
|
const t = [], r = e.ctx.length / 32;
|
|
74
74
|
for (let n = 0; n < r; n++)
|
|
@@ -80,14 +80,14 @@ function yr(e) {
|
|
|
80
80
|
function B(e, t) {
|
|
81
81
|
e.appendChild(t);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
const n =
|
|
83
|
+
function Sr(e, t, r) {
|
|
84
|
+
const n = wr(e);
|
|
85
85
|
if (!n.getElementById(t)) {
|
|
86
|
-
const i =
|
|
87
|
-
i.id = t, i.textContent = r,
|
|
86
|
+
const i = M("style");
|
|
87
|
+
i.id = t, i.textContent = r, Tr(n, i);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function wr(e) {
|
|
91
91
|
if (!e)
|
|
92
92
|
return document;
|
|
93
93
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -97,62 +97,62 @@ function xr(e) {
|
|
|
97
97
|
t
|
|
98
98
|
) : e.ownerDocument;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Tr(e, t) {
|
|
101
101
|
return B(
|
|
102
102
|
/** @type {Document} */
|
|
103
103
|
e.head || e,
|
|
104
104
|
t
|
|
105
105
|
), t.sheet;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function oe(e, t, r) {
|
|
108
108
|
e.insertBefore(t, r || null);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function J(e) {
|
|
111
111
|
e.parentNode && e.parentNode.removeChild(e);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function ro(e, t) {
|
|
114
114
|
for (let r = 0; r < e.length; r += 1)
|
|
115
115
|
e[r] && e[r].d(t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function M(e) {
|
|
118
118
|
return document.createElement(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function it(e) {
|
|
121
121
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function V(e) {
|
|
124
124
|
return document.createTextNode(e);
|
|
125
125
|
}
|
|
126
126
|
function ue() {
|
|
127
|
-
return
|
|
127
|
+
return V(" ");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
return
|
|
129
|
+
function no() {
|
|
130
|
+
return V("");
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Ne(e, t, r, n) {
|
|
133
133
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function H(e, t, r) {
|
|
136
136
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function io(e, t, r) {
|
|
139
139
|
const n = t.toLowerCase();
|
|
140
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
140
|
+
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);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Hr(e) {
|
|
143
143
|
return Array.from(e.childNodes);
|
|
144
144
|
}
|
|
145
145
|
function be(e, t) {
|
|
146
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
147
|
t);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function oo(e, t) {
|
|
150
150
|
e.value = t ?? "";
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function so(e, t, r, n) {
|
|
153
153
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function ao(e, t, r) {
|
|
156
156
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
157
157
|
const i = e.options[n];
|
|
158
158
|
if (i.__value === t) {
|
|
@@ -162,11 +162,11 @@ function no(e, t, r) {
|
|
|
162
162
|
}
|
|
163
163
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function uo(e) {
|
|
166
166
|
const t = e.querySelector(":checked");
|
|
167
167
|
return t && t.__value;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Br(e) {
|
|
170
170
|
const t = {};
|
|
171
171
|
return e.childNodes.forEach(
|
|
172
172
|
/** @param {Element} node */
|
|
@@ -175,108 +175,108 @@ function Sr(e) {
|
|
|
175
175
|
}
|
|
176
176
|
), t;
|
|
177
177
|
}
|
|
178
|
-
let
|
|
179
|
-
function
|
|
180
|
-
|
|
178
|
+
let re;
|
|
179
|
+
function te(e) {
|
|
180
|
+
re = e;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
if (!
|
|
182
|
+
function Ar() {
|
|
183
|
+
if (!re)
|
|
184
184
|
throw new Error("Function called outside component initialization");
|
|
185
|
-
return
|
|
185
|
+
return re;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
|
|
187
|
+
function Cr(e) {
|
|
188
|
+
Ar().$$.on_mount.push(e);
|
|
189
189
|
}
|
|
190
|
-
const j = [],
|
|
190
|
+
const j = [], Le = [];
|
|
191
191
|
let k = [];
|
|
192
|
-
const
|
|
193
|
-
let
|
|
194
|
-
function
|
|
195
|
-
|
|
192
|
+
const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
|
|
193
|
+
let Re = !1;
|
|
194
|
+
function Or() {
|
|
195
|
+
Re || (Re = !0, Pr.then(O));
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function $e(e) {
|
|
198
198
|
k.push(e);
|
|
199
199
|
}
|
|
200
|
-
const
|
|
200
|
+
const He = /* @__PURE__ */ new Set();
|
|
201
201
|
let D = 0;
|
|
202
202
|
function O() {
|
|
203
203
|
if (D !== 0)
|
|
204
204
|
return;
|
|
205
|
-
const e =
|
|
205
|
+
const e = re;
|
|
206
206
|
do {
|
|
207
207
|
try {
|
|
208
208
|
for (; D < j.length; ) {
|
|
209
209
|
const t = j[D];
|
|
210
|
-
D++,
|
|
210
|
+
D++, te(t), Ir(t.$$);
|
|
211
211
|
}
|
|
212
212
|
} catch (t) {
|
|
213
213
|
throw j.length = 0, D = 0, t;
|
|
214
214
|
}
|
|
215
|
-
for (
|
|
216
|
-
|
|
215
|
+
for (te(null), j.length = 0, D = 0; Le.length; )
|
|
216
|
+
Le.pop()();
|
|
217
217
|
for (let t = 0; t < k.length; t += 1) {
|
|
218
218
|
const r = k[t];
|
|
219
|
-
|
|
219
|
+
He.has(r) || (He.add(r), r());
|
|
220
220
|
}
|
|
221
221
|
k.length = 0;
|
|
222
222
|
} while (j.length);
|
|
223
|
-
for (;
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
for (; ot.length; )
|
|
224
|
+
ot.pop()();
|
|
225
|
+
Re = !1, He.clear(), te(e);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Ir(e) {
|
|
228
228
|
if (e.fragment !== null) {
|
|
229
|
-
e.update(),
|
|
229
|
+
e.update(), Q(e.before_update);
|
|
230
230
|
const t = e.dirty;
|
|
231
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
231
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Mr(e) {
|
|
235
235
|
const t = [], r = [];
|
|
236
236
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
237
237
|
}
|
|
238
|
-
const
|
|
239
|
-
let
|
|
240
|
-
function
|
|
241
|
-
e && e.i && (
|
|
238
|
+
const ce = /* @__PURE__ */ new Set();
|
|
239
|
+
let Nr;
|
|
240
|
+
function Lt(e, t) {
|
|
241
|
+
e && e.i && (ce.delete(e), e.i(t));
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
if (e.o) {
|
|
245
|
-
if (
|
|
243
|
+
function Lr(e, t, r, n) {
|
|
244
|
+
if (e && e.o) {
|
|
245
|
+
if (ce.has(e))
|
|
246
246
|
return;
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
ce.add(e), Nr.c.push(() => {
|
|
248
|
+
ce.delete(e);
|
|
249
249
|
}), e.o(t);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function lo(e) {
|
|
253
253
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function Rr(e, t, r) {
|
|
256
256
|
const { fragment: n, after_update: i } = e.$$;
|
|
257
|
-
n && n.m(t, r),
|
|
258
|
-
const o = e.$$.on_mount.map(
|
|
259
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
260
|
-
}), i.forEach(
|
|
257
|
+
n && n.m(t, r), $e(() => {
|
|
258
|
+
const o = e.$$.on_mount.map(Ot).filter(Ke);
|
|
259
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
|
|
260
|
+
}), i.forEach($e);
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function $r(e, t) {
|
|
263
263
|
const r = e.$$;
|
|
264
|
-
r.fragment !== null && (
|
|
264
|
+
r.fragment !== null && (Mr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
266
|
+
function Gr(e, t) {
|
|
267
|
+
e.$$.dirty[0] === -1 && (j.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
const l =
|
|
271
|
-
|
|
269
|
+
function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
|
+
const l = re;
|
|
271
|
+
te(e);
|
|
272
272
|
const u = e.$$ = {
|
|
273
273
|
fragment: null,
|
|
274
274
|
ctx: [],
|
|
275
275
|
// state
|
|
276
276
|
props: o,
|
|
277
|
-
update:
|
|
277
|
+
update: L,
|
|
278
278
|
not_equal: i,
|
|
279
|
-
bound:
|
|
279
|
+
bound: nt(),
|
|
280
280
|
// lifecycle
|
|
281
281
|
on_mount: [],
|
|
282
282
|
on_destroy: [],
|
|
@@ -285,28 +285,28 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
285
285
|
after_update: [],
|
|
286
286
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
287
287
|
// everything else
|
|
288
|
-
callbacks:
|
|
288
|
+
callbacks: nt(),
|
|
289
289
|
dirty: a,
|
|
290
290
|
skip_bound: !1,
|
|
291
291
|
root: t.target || l.$$.root
|
|
292
292
|
};
|
|
293
293
|
s && s(u.root);
|
|
294
294
|
let h = !1;
|
|
295
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
296
|
-
const
|
|
297
|
-
return u.ctx && i(u.ctx[
|
|
298
|
-
}) : [], u.update(), h = !0,
|
|
295
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
296
|
+
const p = m.length ? m[0] : f;
|
|
297
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Gr(e, c)), f;
|
|
298
|
+
}) : [], u.update(), h = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
299
299
|
if (t.hydrate) {
|
|
300
|
-
const
|
|
301
|
-
u.fragment && u.fragment.l(
|
|
300
|
+
const c = Hr(t.target);
|
|
301
|
+
u.fragment && u.fragment.l(c), c.forEach(J);
|
|
302
302
|
} else
|
|
303
303
|
u.fragment && u.fragment.c();
|
|
304
|
-
t.intro &&
|
|
304
|
+
t.intro && Lt(e.$$.fragment), Rr(e, t.target, t.anchor), O();
|
|
305
305
|
}
|
|
306
|
-
|
|
306
|
+
te(l);
|
|
307
307
|
}
|
|
308
|
-
let
|
|
309
|
-
typeof HTMLElement == "function" && (
|
|
308
|
+
let Rt;
|
|
309
|
+
typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
|
|
310
310
|
/** The Svelte component constructor */
|
|
311
311
|
$$ctor;
|
|
312
312
|
/** Slots */
|
|
@@ -348,29 +348,29 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
348
348
|
let o;
|
|
349
349
|
return {
|
|
350
350
|
c: function() {
|
|
351
|
-
o =
|
|
351
|
+
o = M("slot"), i !== "default" && H(o, "name", i);
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
354
|
* @param {HTMLElement} target
|
|
355
355
|
* @param {HTMLElement} [anchor]
|
|
356
356
|
*/
|
|
357
357
|
m: function(l, u) {
|
|
358
|
-
|
|
358
|
+
oe(l, o, u);
|
|
359
359
|
},
|
|
360
360
|
d: function(l) {
|
|
361
|
-
l &&
|
|
361
|
+
l && J(o);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
366
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
367
367
|
return;
|
|
368
|
-
const t = {}, r =
|
|
368
|
+
const t = {}, r = Br(this);
|
|
369
369
|
for (const i of this.$$s)
|
|
370
370
|
i in r && (t[i] = [e(i)]);
|
|
371
371
|
for (const i of this.attributes) {
|
|
372
372
|
const o = this.$$g_p(i.name);
|
|
373
|
-
o in this.$$d || (this.$$d[o] =
|
|
373
|
+
o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
|
|
374
374
|
}
|
|
375
375
|
for (const i in this.$$p_d)
|
|
376
376
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
388
388
|
this.$$r = !0;
|
|
389
389
|
for (const i in this.$$p_d)
|
|
390
390
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
391
|
-
const o =
|
|
391
|
+
const o = fe(
|
|
392
392
|
i,
|
|
393
393
|
this.$$d[i],
|
|
394
394
|
this.$$p_d,
|
|
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
410
410
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
411
411
|
// and setting attributes through setAttribute etc, this is helpful
|
|
412
412
|
attributeChangedCallback(e, t, r) {
|
|
413
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
413
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
414
414
|
}
|
|
415
415
|
disconnectedCallback() {
|
|
416
416
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -423,7 +423,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
423
423
|
) || e;
|
|
424
424
|
}
|
|
425
425
|
});
|
|
426
|
-
function
|
|
426
|
+
function fe(e, t, r, n) {
|
|
427
427
|
const i = r[e]?.type;
|
|
428
428
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
429
429
|
return t;
|
|
@@ -452,8 +452,8 @@ function ce(e, t, r, n) {
|
|
|
452
452
|
return t;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
function
|
|
456
|
-
let s = class extends
|
|
455
|
+
function Dr(e, t, r, n, i, o) {
|
|
456
|
+
let s = class extends Rt {
|
|
457
457
|
constructor() {
|
|
458
458
|
super(e, r, i), this.$$p_d = t;
|
|
459
459
|
}
|
|
@@ -469,7 +469,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
469
469
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
470
470
|
},
|
|
471
471
|
set(l) {
|
|
472
|
-
l =
|
|
472
|
+
l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
}), n.forEach((a) => {
|
|
@@ -481,7 +481,7 @@ function Rr(e, t, r, n, i, o) {
|
|
|
481
481
|
}), e.element = /** @type {any} */
|
|
482
482
|
s, s;
|
|
483
483
|
}
|
|
484
|
-
class
|
|
484
|
+
class Fr {
|
|
485
485
|
/**
|
|
486
486
|
* ### PRIVATE API
|
|
487
487
|
*
|
|
@@ -500,7 +500,7 @@ class $r {
|
|
|
500
500
|
$$set = void 0;
|
|
501
501
|
/** @returns {void} */
|
|
502
502
|
$destroy() {
|
|
503
|
-
|
|
503
|
+
$r(this, 1), this.$destroy = L;
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
506
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -509,8 +509,8 @@ class $r {
|
|
|
509
509
|
* @returns {() => void}
|
|
510
510
|
*/
|
|
511
511
|
$on(t, r) {
|
|
512
|
-
if (!
|
|
513
|
-
return
|
|
512
|
+
if (!Ke(r))
|
|
513
|
+
return L;
|
|
514
514
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
515
515
|
return n.push(r), () => {
|
|
516
516
|
const i = n.indexOf(r);
|
|
@@ -522,13 +522,13 @@ class $r {
|
|
|
522
522
|
* @returns {void}
|
|
523
523
|
*/
|
|
524
524
|
$set(t) {
|
|
525
|
-
this.$$set && !
|
|
525
|
+
this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
const
|
|
529
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
530
|
-
var
|
|
531
|
-
function
|
|
528
|
+
const jr = "4";
|
|
529
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
|
|
530
|
+
var ho = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
531
|
+
function kr(e) {
|
|
532
532
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
533
533
|
}
|
|
534
534
|
/*! *****************************************************************************
|
|
@@ -545,43 +545,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
545
545
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
546
546
|
PERFORMANCE OF THIS SOFTWARE.
|
|
547
547
|
***************************************************************************** */
|
|
548
|
-
var
|
|
549
|
-
return
|
|
548
|
+
var Ge = function(e, t) {
|
|
549
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
550
550
|
r.__proto__ = n;
|
|
551
551
|
} || function(r, n) {
|
|
552
552
|
for (var i in n)
|
|
553
553
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
554
|
-
},
|
|
554
|
+
}, Ge(e, t);
|
|
555
555
|
};
|
|
556
|
-
function
|
|
556
|
+
function se(e, t) {
|
|
557
557
|
if (typeof t != "function" && t !== null)
|
|
558
558
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
559
|
-
|
|
559
|
+
Ge(e, t);
|
|
560
560
|
function r() {
|
|
561
561
|
this.constructor = e;
|
|
562
562
|
}
|
|
563
563
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
564
564
|
}
|
|
565
|
-
|
|
566
|
-
return v = Object.assign || function(t) {
|
|
567
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
568
|
-
r = arguments[n];
|
|
569
|
-
for (var o in r)
|
|
570
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
571
|
-
}
|
|
572
|
-
return t;
|
|
573
|
-
}, v.apply(this, arguments);
|
|
574
|
-
};
|
|
575
|
-
function Dr(e, t) {
|
|
576
|
-
var r = {};
|
|
577
|
-
for (var n in e)
|
|
578
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
579
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
580
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
581
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
582
|
-
return r;
|
|
583
|
-
}
|
|
584
|
-
function Re(e) {
|
|
565
|
+
function Ue(e) {
|
|
585
566
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
586
567
|
if (r)
|
|
587
568
|
return r.call(e);
|
|
@@ -593,7 +574,7 @@ function Re(e) {
|
|
|
593
574
|
};
|
|
594
575
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
595
576
|
}
|
|
596
|
-
function
|
|
577
|
+
function De(e, t) {
|
|
597
578
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
598
579
|
if (!r)
|
|
599
580
|
return e;
|
|
@@ -613,22 +594,22 @@ function $e(e, t) {
|
|
|
613
594
|
}
|
|
614
595
|
return o;
|
|
615
596
|
}
|
|
616
|
-
function
|
|
617
|
-
if (
|
|
597
|
+
function Fe(e, t, r) {
|
|
598
|
+
if (arguments.length === 2)
|
|
618
599
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
619
600
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
620
601
|
return e.concat(o || t);
|
|
621
602
|
}
|
|
622
|
-
function
|
|
603
|
+
function R(e) {
|
|
623
604
|
return typeof e == "function";
|
|
624
605
|
}
|
|
625
|
-
function
|
|
606
|
+
function $t(e) {
|
|
626
607
|
var t = function(n) {
|
|
627
608
|
Error.call(n), n.stack = new Error().stack;
|
|
628
609
|
}, r = e(t);
|
|
629
610
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
630
611
|
}
|
|
631
|
-
var
|
|
612
|
+
var Be = $t(function(e) {
|
|
632
613
|
return function(r) {
|
|
633
614
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
634
615
|
` + r.map(function(n, i) {
|
|
@@ -637,13 +618,13 @@ var Te = Nt(function(e) {
|
|
|
637
618
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
638
619
|
};
|
|
639
620
|
});
|
|
640
|
-
function
|
|
621
|
+
function je(e, t) {
|
|
641
622
|
if (e) {
|
|
642
623
|
var r = e.indexOf(t);
|
|
643
624
|
0 <= r && e.splice(r, 1);
|
|
644
625
|
}
|
|
645
626
|
}
|
|
646
|
-
var
|
|
627
|
+
var _e = function() {
|
|
647
628
|
function e(t) {
|
|
648
629
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
649
630
|
}
|
|
@@ -655,12 +636,12 @@ var ve = function() {
|
|
|
655
636
|
if (s)
|
|
656
637
|
if (this._parentage = null, Array.isArray(s))
|
|
657
638
|
try {
|
|
658
|
-
for (var a =
|
|
639
|
+
for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
|
|
659
640
|
var u = l.value;
|
|
660
641
|
u.remove(this);
|
|
661
642
|
}
|
|
662
|
-
} catch (
|
|
663
|
-
t = { error:
|
|
643
|
+
} catch (d) {
|
|
644
|
+
t = { error: d };
|
|
664
645
|
} finally {
|
|
665
646
|
try {
|
|
666
647
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -672,29 +653,29 @@ var ve = function() {
|
|
|
672
653
|
else
|
|
673
654
|
s.remove(this);
|
|
674
655
|
var h = this.initialTeardown;
|
|
675
|
-
if (
|
|
656
|
+
if (R(h))
|
|
676
657
|
try {
|
|
677
658
|
h();
|
|
678
|
-
} catch (
|
|
679
|
-
o =
|
|
659
|
+
} catch (d) {
|
|
660
|
+
o = d instanceof Be ? d.errors : [d];
|
|
680
661
|
}
|
|
681
|
-
var
|
|
682
|
-
if (
|
|
662
|
+
var c = this._finalizers;
|
|
663
|
+
if (c) {
|
|
683
664
|
this._finalizers = null;
|
|
684
665
|
try {
|
|
685
|
-
for (var
|
|
686
|
-
var
|
|
666
|
+
for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
|
|
667
|
+
var p = m.value;
|
|
687
668
|
try {
|
|
688
|
-
|
|
689
|
-
} catch (
|
|
690
|
-
o = o ?? [],
|
|
669
|
+
st(p);
|
|
670
|
+
} catch (d) {
|
|
671
|
+
o = o ?? [], d instanceof Be ? o = Fe(Fe([], De(o)), De(d.errors)) : o.push(d);
|
|
691
672
|
}
|
|
692
673
|
}
|
|
693
|
-
} catch (
|
|
694
|
-
n = { error:
|
|
674
|
+
} catch (d) {
|
|
675
|
+
n = { error: d };
|
|
695
676
|
} finally {
|
|
696
677
|
try {
|
|
697
|
-
|
|
678
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
698
679
|
} finally {
|
|
699
680
|
if (n)
|
|
700
681
|
throw n.error;
|
|
@@ -702,13 +683,13 @@ var ve = function() {
|
|
|
702
683
|
}
|
|
703
684
|
}
|
|
704
685
|
if (o)
|
|
705
|
-
throw new
|
|
686
|
+
throw new Be(o);
|
|
706
687
|
}
|
|
707
688
|
}, e.prototype.add = function(t) {
|
|
708
689
|
var r;
|
|
709
690
|
if (t && t !== this)
|
|
710
691
|
if (this.closed)
|
|
711
|
-
|
|
692
|
+
st(t);
|
|
712
693
|
else {
|
|
713
694
|
if (t instanceof e) {
|
|
714
695
|
if (t.closed || t._hasParent(this))
|
|
@@ -725,56 +706,52 @@ var ve = function() {
|
|
|
725
706
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
726
707
|
}, e.prototype._removeParent = function(t) {
|
|
727
708
|
var r = this._parentage;
|
|
728
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
709
|
+
r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
|
|
729
710
|
}, e.prototype.remove = function(t) {
|
|
730
711
|
var r = this._finalizers;
|
|
731
|
-
r &&
|
|
712
|
+
r && je(r, t), t instanceof e && t._removeParent(this);
|
|
732
713
|
}, e.EMPTY = function() {
|
|
733
714
|
var t = new e();
|
|
734
715
|
return t.closed = !0, t;
|
|
735
716
|
}(), e;
|
|
736
|
-
}(),
|
|
737
|
-
function
|
|
738
|
-
return e instanceof
|
|
739
|
-
}
|
|
740
|
-
function
|
|
741
|
-
|
|
742
|
-
}
|
|
743
|
-
var
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
Promise: void 0,
|
|
747
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
748
|
-
useDeprecatedNextContext: !1
|
|
749
|
-
}, jr = {
|
|
717
|
+
}(), Gt = _e.EMPTY;
|
|
718
|
+
function Ut(e) {
|
|
719
|
+
return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
720
|
+
}
|
|
721
|
+
function st(e) {
|
|
722
|
+
R(e) ? e() : e.unsubscribe();
|
|
723
|
+
}
|
|
724
|
+
var Vr = {
|
|
725
|
+
Promise: void 0
|
|
726
|
+
}, Xr = {
|
|
750
727
|
setTimeout: function(e, t) {
|
|
751
728
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
752
729
|
r[n - 2] = arguments[n];
|
|
753
|
-
return setTimeout.apply(void 0,
|
|
730
|
+
return setTimeout.apply(void 0, Fe([e, t], De(r)));
|
|
754
731
|
},
|
|
755
732
|
clearTimeout: function(e) {
|
|
756
733
|
return clearTimeout(e);
|
|
757
734
|
},
|
|
758
735
|
delegate: void 0
|
|
759
736
|
};
|
|
760
|
-
function
|
|
761
|
-
|
|
737
|
+
function zr(e) {
|
|
738
|
+
Xr.setTimeout(function() {
|
|
762
739
|
throw e;
|
|
763
740
|
});
|
|
764
741
|
}
|
|
765
|
-
function
|
|
742
|
+
function at() {
|
|
766
743
|
}
|
|
767
|
-
function
|
|
744
|
+
function me(e) {
|
|
768
745
|
e();
|
|
769
746
|
}
|
|
770
|
-
var
|
|
771
|
-
|
|
747
|
+
var Dt = function(e) {
|
|
748
|
+
se(t, e);
|
|
772
749
|
function t(r) {
|
|
773
750
|
var n = e.call(this) || this;
|
|
774
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
751
|
+
return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Qr, n;
|
|
775
752
|
}
|
|
776
753
|
return t.create = function(r, n, i) {
|
|
777
|
-
return new
|
|
754
|
+
return new ke(r, n, i);
|
|
778
755
|
}, t.prototype.next = function(r) {
|
|
779
756
|
this.isStopped || this._next(r);
|
|
780
757
|
}, t.prototype.error = function(r) {
|
|
@@ -798,7 +775,7 @@ var Rt = function(e) {
|
|
|
798
775
|
this.unsubscribe();
|
|
799
776
|
}
|
|
800
777
|
}, t;
|
|
801
|
-
}(
|
|
778
|
+
}(_e), Wr = function() {
|
|
802
779
|
function e(t) {
|
|
803
780
|
this.partialObserver = t;
|
|
804
781
|
}
|
|
@@ -829,43 +806,43 @@ var Rt = function(e) {
|
|
|
829
806
|
le(r);
|
|
830
807
|
}
|
|
831
808
|
}, e;
|
|
832
|
-
}(),
|
|
833
|
-
|
|
809
|
+
}(), ke = function(e) {
|
|
810
|
+
se(t, e);
|
|
834
811
|
function t(r, n, i) {
|
|
835
812
|
var o = e.call(this) || this, s;
|
|
836
|
-
return
|
|
813
|
+
return R(r) || !r ? s = {
|
|
837
814
|
next: r ?? void 0,
|
|
838
815
|
error: n ?? void 0,
|
|
839
816
|
complete: i ?? void 0
|
|
840
|
-
} : s = r, o.destination = new
|
|
817
|
+
} : s = r, o.destination = new Wr(s), o;
|
|
841
818
|
}
|
|
842
819
|
return t;
|
|
843
|
-
}(
|
|
820
|
+
}(Dt);
|
|
844
821
|
function le(e) {
|
|
845
|
-
|
|
822
|
+
zr(e);
|
|
846
823
|
}
|
|
847
|
-
function
|
|
824
|
+
function Zr(e) {
|
|
848
825
|
throw e;
|
|
849
826
|
}
|
|
850
|
-
var
|
|
827
|
+
var Qr = {
|
|
851
828
|
closed: !0,
|
|
852
|
-
next:
|
|
853
|
-
error:
|
|
854
|
-
complete:
|
|
855
|
-
},
|
|
829
|
+
next: at,
|
|
830
|
+
error: Zr,
|
|
831
|
+
complete: at
|
|
832
|
+
}, Jr = function() {
|
|
856
833
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
857
834
|
}();
|
|
858
|
-
function
|
|
835
|
+
function qr(e) {
|
|
859
836
|
return e;
|
|
860
837
|
}
|
|
861
|
-
function
|
|
862
|
-
return e.length === 0 ?
|
|
838
|
+
function Yr(e) {
|
|
839
|
+
return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
|
|
863
840
|
return e.reduce(function(n, i) {
|
|
864
841
|
return i(n);
|
|
865
842
|
}, r);
|
|
866
843
|
};
|
|
867
844
|
}
|
|
868
|
-
var
|
|
845
|
+
var ut = function() {
|
|
869
846
|
function e(t) {
|
|
870
847
|
t && (this._subscribe = t);
|
|
871
848
|
}
|
|
@@ -873,8 +850,8 @@ var it = function() {
|
|
|
873
850
|
var r = new e();
|
|
874
851
|
return r.source = this, r.operator = t, r;
|
|
875
852
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
876
|
-
var i = this, o =
|
|
877
|
-
return
|
|
853
|
+
var i = this, o = en(t) ? t : new ke(t, r, n);
|
|
854
|
+
return me(function() {
|
|
878
855
|
var s = i, a = s.operator, l = s.source;
|
|
879
856
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
880
857
|
}), o;
|
|
@@ -886,8 +863,8 @@ var it = function() {
|
|
|
886
863
|
}
|
|
887
864
|
}, e.prototype.forEach = function(t, r) {
|
|
888
865
|
var n = this;
|
|
889
|
-
return r =
|
|
890
|
-
var s = new
|
|
866
|
+
return r = lt(r), new r(function(i, o) {
|
|
867
|
+
var s = new ke({
|
|
891
868
|
next: function(a) {
|
|
892
869
|
try {
|
|
893
870
|
t(a);
|
|
@@ -903,15 +880,15 @@ var it = function() {
|
|
|
903
880
|
}, e.prototype._subscribe = function(t) {
|
|
904
881
|
var r;
|
|
905
882
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
906
|
-
}, e.prototype[
|
|
883
|
+
}, e.prototype[Jr] = function() {
|
|
907
884
|
return this;
|
|
908
885
|
}, e.prototype.pipe = function() {
|
|
909
886
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
910
887
|
t[r] = arguments[r];
|
|
911
|
-
return
|
|
888
|
+
return Yr(t)(this);
|
|
912
889
|
}, e.prototype.toPromise = function(t) {
|
|
913
890
|
var r = this;
|
|
914
|
-
return t =
|
|
891
|
+
return t = lt(t), new t(function(n, i) {
|
|
915
892
|
var o;
|
|
916
893
|
r.subscribe(function(s) {
|
|
917
894
|
return o = s;
|
|
@@ -925,40 +902,40 @@ var it = function() {
|
|
|
925
902
|
return new e(t);
|
|
926
903
|
}, e;
|
|
927
904
|
}();
|
|
928
|
-
function
|
|
905
|
+
function lt(e) {
|
|
929
906
|
var t;
|
|
930
|
-
return (t = e ??
|
|
907
|
+
return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
931
908
|
}
|
|
932
|
-
function
|
|
933
|
-
return e &&
|
|
909
|
+
function Kr(e) {
|
|
910
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
934
911
|
}
|
|
935
|
-
function
|
|
936
|
-
return e && e instanceof
|
|
912
|
+
function en(e) {
|
|
913
|
+
return e && e instanceof Dt || Kr(e) && Ut(e);
|
|
937
914
|
}
|
|
938
|
-
var
|
|
915
|
+
var tn = $t(function(e) {
|
|
939
916
|
return function() {
|
|
940
917
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
941
918
|
};
|
|
942
|
-
}),
|
|
943
|
-
|
|
919
|
+
}), Ft = function(e) {
|
|
920
|
+
se(t, e);
|
|
944
921
|
function t() {
|
|
945
922
|
var r = e.call(this) || this;
|
|
946
923
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
947
924
|
}
|
|
948
925
|
return t.prototype.lift = function(r) {
|
|
949
|
-
var n = new
|
|
926
|
+
var n = new ht(this, this);
|
|
950
927
|
return n.operator = r, n;
|
|
951
928
|
}, t.prototype._throwIfClosed = function() {
|
|
952
929
|
if (this.closed)
|
|
953
|
-
throw new
|
|
930
|
+
throw new tn();
|
|
954
931
|
}, t.prototype.next = function(r) {
|
|
955
932
|
var n = this;
|
|
956
|
-
|
|
933
|
+
me(function() {
|
|
957
934
|
var i, o;
|
|
958
935
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
959
936
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
960
937
|
try {
|
|
961
|
-
for (var s =
|
|
938
|
+
for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
962
939
|
var l = a.value;
|
|
963
940
|
l.next(r);
|
|
964
941
|
}
|
|
@@ -976,7 +953,7 @@ var Yr = Nt(function(e) {
|
|
|
976
953
|
});
|
|
977
954
|
}, t.prototype.error = function(r) {
|
|
978
955
|
var n = this;
|
|
979
|
-
|
|
956
|
+
me(function() {
|
|
980
957
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
981
958
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
982
959
|
for (var i = n.observers; i.length; )
|
|
@@ -985,7 +962,7 @@ var Yr = Nt(function(e) {
|
|
|
985
962
|
});
|
|
986
963
|
}, t.prototype.complete = function() {
|
|
987
964
|
var r = this;
|
|
988
|
-
|
|
965
|
+
me(function() {
|
|
989
966
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
990
967
|
r.isStopped = !0;
|
|
991
968
|
for (var n = r.observers; n.length; )
|
|
@@ -1007,20 +984,20 @@ var Yr = Nt(function(e) {
|
|
|
1007
984
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1008
985
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1009
986
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1010
|
-
return o || s ?
|
|
1011
|
-
n.currentObservers = null,
|
|
987
|
+
return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
|
|
988
|
+
n.currentObservers = null, je(a, r);
|
|
1012
989
|
}));
|
|
1013
990
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1014
991
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1015
992
|
i ? r.error(o) : s && r.complete();
|
|
1016
993
|
}, t.prototype.asObservable = function() {
|
|
1017
|
-
var r = new
|
|
994
|
+
var r = new ut();
|
|
1018
995
|
return r.source = this, r;
|
|
1019
996
|
}, t.create = function(r, n) {
|
|
1020
|
-
return new
|
|
997
|
+
return new ht(r, n);
|
|
1021
998
|
}, t;
|
|
1022
|
-
}(
|
|
1023
|
-
|
|
999
|
+
}(ut), ht = function(e) {
|
|
1000
|
+
se(t, e);
|
|
1024
1001
|
function t(r, n) {
|
|
1025
1002
|
var i = e.call(this) || this;
|
|
1026
1003
|
return i.destination = r, i.source = n, i;
|
|
@@ -1036,17 +1013,17 @@ var Yr = Nt(function(e) {
|
|
|
1036
1013
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1037
1014
|
}, t.prototype._subscribe = function(r) {
|
|
1038
1015
|
var n, i;
|
|
1039
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1016
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
|
|
1040
1017
|
}, t;
|
|
1041
|
-
}(
|
|
1018
|
+
}(Ft), jt = {
|
|
1042
1019
|
now: function() {
|
|
1043
|
-
return (
|
|
1020
|
+
return (jt.delegate || Date).now();
|
|
1044
1021
|
},
|
|
1045
1022
|
delegate: void 0
|
|
1046
|
-
},
|
|
1047
|
-
|
|
1023
|
+
}, rn = function(e) {
|
|
1024
|
+
se(t, e);
|
|
1048
1025
|
function t(r, n, i) {
|
|
1049
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1026
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
|
|
1050
1027
|
var o = e.call(this) || this;
|
|
1051
1028
|
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;
|
|
1052
1029
|
}
|
|
@@ -1066,24 +1043,24 @@ var Yr = Nt(function(e) {
|
|
|
1066
1043
|
u && o.splice(0, u + 1);
|
|
1067
1044
|
}
|
|
1068
1045
|
}, t;
|
|
1069
|
-
}(
|
|
1070
|
-
const
|
|
1071
|
-
if (
|
|
1072
|
-
const r = new
|
|
1073
|
-
|
|
1046
|
+
}(Ft);
|
|
1047
|
+
const ct = [], ft = {}, nn = (e, t = 0) => {
|
|
1048
|
+
if (ct.indexOf(e) == -1) {
|
|
1049
|
+
const r = new rn(t);
|
|
1050
|
+
ft[e] = r, ct.push(e);
|
|
1074
1051
|
}
|
|
1075
|
-
return
|
|
1052
|
+
return ft[e];
|
|
1076
1053
|
}, F = [];
|
|
1077
|
-
function
|
|
1054
|
+
function on(e, t) {
|
|
1078
1055
|
return {
|
|
1079
1056
|
subscribe: xe(e, t).subscribe
|
|
1080
1057
|
};
|
|
1081
1058
|
}
|
|
1082
|
-
function xe(e, t =
|
|
1059
|
+
function xe(e, t = L) {
|
|
1083
1060
|
let r;
|
|
1084
1061
|
const n = /* @__PURE__ */ new Set();
|
|
1085
1062
|
function i(a) {
|
|
1086
|
-
if (
|
|
1063
|
+
if (It(e, a) && (e = a, r)) {
|
|
1087
1064
|
const l = !F.length;
|
|
1088
1065
|
for (const u of n)
|
|
1089
1066
|
u[1](), F.push(u, e);
|
|
@@ -1097,150 +1074,189 @@ function xe(e, t = M) {
|
|
|
1097
1074
|
function o(a) {
|
|
1098
1075
|
i(a(e));
|
|
1099
1076
|
}
|
|
1100
|
-
function s(a, l =
|
|
1077
|
+
function s(a, l = L) {
|
|
1101
1078
|
const u = [a, l];
|
|
1102
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1079
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
|
|
1103
1080
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1104
1081
|
};
|
|
1105
1082
|
}
|
|
1106
1083
|
return { set: i, update: o, subscribe: s };
|
|
1107
1084
|
}
|
|
1108
|
-
function
|
|
1085
|
+
function q(e, t, r) {
|
|
1109
1086
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1110
1087
|
if (!i.every(Boolean))
|
|
1111
1088
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1112
1089
|
const o = t.length < 2;
|
|
1113
|
-
return
|
|
1090
|
+
return on(r, (s, a) => {
|
|
1114
1091
|
let l = !1;
|
|
1115
1092
|
const u = [];
|
|
1116
|
-
let h = 0,
|
|
1117
|
-
const
|
|
1093
|
+
let h = 0, c = L;
|
|
1094
|
+
const f = () => {
|
|
1118
1095
|
if (h)
|
|
1119
1096
|
return;
|
|
1120
|
-
|
|
1121
|
-
const
|
|
1122
|
-
o ? s(
|
|
1123
|
-
},
|
|
1124
|
-
(
|
|
1125
|
-
|
|
1126
|
-
(
|
|
1127
|
-
u[
|
|
1097
|
+
c();
|
|
1098
|
+
const p = t(n ? u[0] : u, s, a);
|
|
1099
|
+
o ? s(p) : c = Ke(p) ? p : L;
|
|
1100
|
+
}, m = i.map(
|
|
1101
|
+
(p, d) => Mt(
|
|
1102
|
+
p,
|
|
1103
|
+
(S) => {
|
|
1104
|
+
u[d] = S, h &= ~(1 << d), l && f();
|
|
1128
1105
|
},
|
|
1129
1106
|
() => {
|
|
1130
|
-
h |= 1 <<
|
|
1107
|
+
h |= 1 << d;
|
|
1131
1108
|
}
|
|
1132
1109
|
)
|
|
1133
1110
|
);
|
|
1134
|
-
return l = !0,
|
|
1135
|
-
|
|
1111
|
+
return l = !0, f(), function() {
|
|
1112
|
+
Q(m), c(), l = !1;
|
|
1136
1113
|
};
|
|
1137
1114
|
});
|
|
1138
1115
|
}
|
|
1139
|
-
var
|
|
1140
|
-
return
|
|
1116
|
+
var sn = function(t) {
|
|
1117
|
+
return an(t) && !un(t);
|
|
1141
1118
|
};
|
|
1142
|
-
function
|
|
1119
|
+
function an(e) {
|
|
1143
1120
|
return !!e && typeof e == "object";
|
|
1144
1121
|
}
|
|
1145
|
-
function
|
|
1122
|
+
function un(e) {
|
|
1146
1123
|
var t = Object.prototype.toString.call(e);
|
|
1147
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1124
|
+
return t === "[object RegExp]" || t === "[object Date]" || cn(e);
|
|
1148
1125
|
}
|
|
1149
|
-
var
|
|
1150
|
-
function
|
|
1151
|
-
return e.$$typeof ===
|
|
1126
|
+
var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
|
|
1127
|
+
function cn(e) {
|
|
1128
|
+
return e.$$typeof === hn;
|
|
1152
1129
|
}
|
|
1153
|
-
function
|
|
1130
|
+
function fn(e) {
|
|
1154
1131
|
return Array.isArray(e) ? [] : {};
|
|
1155
1132
|
}
|
|
1156
|
-
function
|
|
1157
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1133
|
+
function ne(e, t) {
|
|
1134
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(fn(e), e, t) : e;
|
|
1158
1135
|
}
|
|
1159
|
-
function
|
|
1136
|
+
function mn(e, t, r) {
|
|
1160
1137
|
return e.concat(t).map(function(n) {
|
|
1161
|
-
return
|
|
1138
|
+
return ne(n, r);
|
|
1162
1139
|
});
|
|
1163
1140
|
}
|
|
1164
|
-
function
|
|
1141
|
+
function pn(e, t) {
|
|
1165
1142
|
if (!t.customMerge)
|
|
1166
|
-
return
|
|
1143
|
+
return X;
|
|
1167
1144
|
var r = t.customMerge(e);
|
|
1168
|
-
return typeof r == "function" ? r :
|
|
1145
|
+
return typeof r == "function" ? r : X;
|
|
1169
1146
|
}
|
|
1170
|
-
function
|
|
1147
|
+
function dn(e) {
|
|
1171
1148
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1172
1149
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1173
1150
|
}) : [];
|
|
1174
1151
|
}
|
|
1175
|
-
function
|
|
1176
|
-
return Object.keys(e).concat(
|
|
1152
|
+
function mt(e) {
|
|
1153
|
+
return Object.keys(e).concat(dn(e));
|
|
1177
1154
|
}
|
|
1178
|
-
function
|
|
1155
|
+
function kt(e, t) {
|
|
1179
1156
|
try {
|
|
1180
1157
|
return t in e;
|
|
1181
1158
|
} catch {
|
|
1182
1159
|
return !1;
|
|
1183
1160
|
}
|
|
1184
1161
|
}
|
|
1185
|
-
function
|
|
1186
|
-
return
|
|
1162
|
+
function bn(e, t) {
|
|
1163
|
+
return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1187
1164
|
}
|
|
1188
|
-
function
|
|
1165
|
+
function gn(e, t, r) {
|
|
1189
1166
|
var n = {};
|
|
1190
|
-
return r.isMergeableObject(e) &&
|
|
1191
|
-
n[i] =
|
|
1192
|
-
}),
|
|
1193
|
-
|
|
1167
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1168
|
+
n[i] = ne(e[i], r);
|
|
1169
|
+
}), mt(t).forEach(function(i) {
|
|
1170
|
+
bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1194
1171
|
}), n;
|
|
1195
1172
|
}
|
|
1196
|
-
function
|
|
1197
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1173
|
+
function X(e, t, r) {
|
|
1174
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1198
1175
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1199
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1176
|
+
return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ne(t, r);
|
|
1200
1177
|
}
|
|
1201
|
-
|
|
1178
|
+
X.all = function(t, r) {
|
|
1202
1179
|
if (!Array.isArray(t))
|
|
1203
1180
|
throw new Error("first argument should be an array");
|
|
1204
1181
|
return t.reduce(function(n, i) {
|
|
1205
|
-
return
|
|
1182
|
+
return X(n, i, r);
|
|
1206
1183
|
}, {});
|
|
1207
1184
|
};
|
|
1208
|
-
var
|
|
1209
|
-
const
|
|
1210
|
-
function
|
|
1211
|
-
|
|
1185
|
+
var yn = X, vn = yn;
|
|
1186
|
+
const _n = /* @__PURE__ */ kr(vn);
|
|
1187
|
+
var Ve = function(e, t) {
|
|
1188
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1189
|
+
r.__proto__ = n;
|
|
1190
|
+
} || function(r, n) {
|
|
1191
|
+
for (var i in n)
|
|
1192
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1193
|
+
}, Ve(e, t);
|
|
1194
|
+
};
|
|
1195
|
+
function Ee(e, t) {
|
|
1196
|
+
if (typeof t != "function" && t !== null)
|
|
1197
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1198
|
+
Ve(e, t);
|
|
1199
|
+
function r() {
|
|
1200
|
+
this.constructor = e;
|
|
1201
|
+
}
|
|
1202
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1203
|
+
}
|
|
1204
|
+
var N = function() {
|
|
1205
|
+
return N = Object.assign || function(t) {
|
|
1206
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
|
+
r = arguments[n];
|
|
1208
|
+
for (var o in r)
|
|
1209
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
|
+
}
|
|
1211
|
+
return t;
|
|
1212
|
+
}, N.apply(this, arguments);
|
|
1213
|
+
};
|
|
1214
|
+
function xn(e, t) {
|
|
1215
|
+
var r = {};
|
|
1216
|
+
for (var n in e)
|
|
1217
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1218
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1219
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1220
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1221
|
+
return r;
|
|
1222
|
+
}
|
|
1223
|
+
function Ae(e, t, r) {
|
|
1224
|
+
if (r || arguments.length === 2)
|
|
1225
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1226
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1227
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1228
|
+
}
|
|
1229
|
+
function Ce(e, t) {
|
|
1230
|
+
var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
|
|
1212
1231
|
return i(e, {
|
|
1213
1232
|
cache: r,
|
|
1214
1233
|
serializer: n
|
|
1215
1234
|
});
|
|
1216
1235
|
}
|
|
1217
|
-
function
|
|
1236
|
+
function En(e) {
|
|
1218
1237
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1219
1238
|
}
|
|
1220
|
-
function
|
|
1221
|
-
var i =
|
|
1239
|
+
function Sn(e, t, r, n) {
|
|
1240
|
+
var i = En(n) ? n : r(n), o = t.get(i);
|
|
1222
1241
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1223
1242
|
}
|
|
1224
|
-
function
|
|
1243
|
+
function Vt(e, t, r) {
|
|
1225
1244
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1226
1245
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1227
1246
|
}
|
|
1228
|
-
function
|
|
1247
|
+
function Xt(e, t, r, n, i) {
|
|
1229
1248
|
return r.bind(t, e, n, i);
|
|
1230
1249
|
}
|
|
1231
|
-
function
|
|
1232
|
-
var r = e.length === 1 ?
|
|
1233
|
-
return
|
|
1234
|
-
}
|
|
1235
|
-
function xn(e, t) {
|
|
1236
|
-
return Qe(e, this, Ft, t.cache.create(), t.serializer);
|
|
1250
|
+
function wn(e, t) {
|
|
1251
|
+
var r = e.length === 1 ? Sn : Vt;
|
|
1252
|
+
return Xt(e, this, r, t.cache.create(), t.serializer);
|
|
1237
1253
|
}
|
|
1238
|
-
function
|
|
1239
|
-
return
|
|
1254
|
+
function Tn(e, t) {
|
|
1255
|
+
return Xt(e, this, Vt, t.cache.create(), t.serializer);
|
|
1240
1256
|
}
|
|
1241
|
-
var
|
|
1257
|
+
var Hn = function() {
|
|
1242
1258
|
return JSON.stringify(arguments);
|
|
1243
|
-
},
|
|
1259
|
+
}, Bn = (
|
|
1244
1260
|
/** @class */
|
|
1245
1261
|
function() {
|
|
1246
1262
|
function e() {
|
|
@@ -1252,62 +1268,71 @@ var En = function() {
|
|
|
1252
1268
|
this.cache[t] = r;
|
|
1253
1269
|
}, e;
|
|
1254
1270
|
}()
|
|
1255
|
-
),
|
|
1271
|
+
), An = {
|
|
1256
1272
|
create: function() {
|
|
1257
|
-
return new
|
|
1273
|
+
return new Bn();
|
|
1258
1274
|
}
|
|
1259
|
-
},
|
|
1260
|
-
variadic:
|
|
1261
|
-
|
|
1262
|
-
|
|
1275
|
+
}, Pe = {
|
|
1276
|
+
variadic: Tn
|
|
1277
|
+
}, ge = function() {
|
|
1278
|
+
return ge = Object.assign || function(t) {
|
|
1279
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1280
|
+
r = arguments[n];
|
|
1281
|
+
for (var o in r)
|
|
1282
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1283
|
+
}
|
|
1284
|
+
return t;
|
|
1285
|
+
}, ge.apply(this, arguments);
|
|
1286
|
+
};
|
|
1287
|
+
var b;
|
|
1263
1288
|
(function(e) {
|
|
1264
1289
|
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";
|
|
1265
1290
|
})(b || (b = {}));
|
|
1266
|
-
var
|
|
1291
|
+
var E;
|
|
1267
1292
|
(function(e) {
|
|
1268
1293
|
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";
|
|
1269
|
-
})(
|
|
1270
|
-
var
|
|
1294
|
+
})(E || (E = {}));
|
|
1295
|
+
var z;
|
|
1271
1296
|
(function(e) {
|
|
1272
1297
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1273
|
-
})(
|
|
1274
|
-
function
|
|
1275
|
-
return e.type ===
|
|
1298
|
+
})(z || (z = {}));
|
|
1299
|
+
function pt(e) {
|
|
1300
|
+
return e.type === E.literal;
|
|
1276
1301
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return e.type ===
|
|
1302
|
+
function Cn(e) {
|
|
1303
|
+
return e.type === E.argument;
|
|
1279
1304
|
}
|
|
1280
|
-
function
|
|
1281
|
-
return e.type ===
|
|
1305
|
+
function zt(e) {
|
|
1306
|
+
return e.type === E.number;
|
|
1282
1307
|
}
|
|
1283
|
-
function
|
|
1284
|
-
return e.type ===
|
|
1308
|
+
function Wt(e) {
|
|
1309
|
+
return e.type === E.date;
|
|
1285
1310
|
}
|
|
1286
|
-
function
|
|
1287
|
-
return e.type ===
|
|
1311
|
+
function Zt(e) {
|
|
1312
|
+
return e.type === E.time;
|
|
1288
1313
|
}
|
|
1289
|
-
function
|
|
1290
|
-
return e.type ===
|
|
1314
|
+
function Qt(e) {
|
|
1315
|
+
return e.type === E.select;
|
|
1291
1316
|
}
|
|
1292
|
-
function
|
|
1293
|
-
return e.type ===
|
|
1317
|
+
function Jt(e) {
|
|
1318
|
+
return e.type === E.plural;
|
|
1294
1319
|
}
|
|
1295
|
-
function
|
|
1296
|
-
return e.type ===
|
|
1320
|
+
function Pn(e) {
|
|
1321
|
+
return e.type === E.pound;
|
|
1297
1322
|
}
|
|
1298
|
-
function
|
|
1299
|
-
return e.type ===
|
|
1323
|
+
function qt(e) {
|
|
1324
|
+
return e.type === E.tag;
|
|
1300
1325
|
}
|
|
1301
|
-
function
|
|
1302
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1326
|
+
function Yt(e) {
|
|
1327
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
1303
1328
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1329
|
+
function Xe(e) {
|
|
1330
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
1306
1331
|
}
|
|
1307
|
-
var
|
|
1308
|
-
function
|
|
1332
|
+
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
|
|
1333
|
+
function In(e) {
|
|
1309
1334
|
var t = {};
|
|
1310
|
-
return e.replace(
|
|
1335
|
+
return e.replace(On, function(r) {
|
|
1311
1336
|
var n = r.length;
|
|
1312
1337
|
switch (r[0]) {
|
|
1313
1338
|
case "G":
|
|
@@ -1396,36 +1421,46 @@ function An(e) {
|
|
|
1396
1421
|
return "";
|
|
1397
1422
|
}), t;
|
|
1398
1423
|
}
|
|
1399
|
-
var
|
|
1400
|
-
function
|
|
1424
|
+
var T = function() {
|
|
1425
|
+
return T = Object.assign || function(t) {
|
|
1426
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1427
|
+
r = arguments[n];
|
|
1428
|
+
for (var o in r)
|
|
1429
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1430
|
+
}
|
|
1431
|
+
return t;
|
|
1432
|
+
}, T.apply(this, arguments);
|
|
1433
|
+
};
|
|
1434
|
+
var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1435
|
+
function Nn(e) {
|
|
1401
1436
|
if (e.length === 0)
|
|
1402
1437
|
throw new Error("Number skeleton cannot be empty");
|
|
1403
|
-
for (var t = e.split(
|
|
1404
|
-
return
|
|
1438
|
+
for (var t = e.split(Mn).filter(function(f) {
|
|
1439
|
+
return f.length > 0;
|
|
1405
1440
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1406
1441
|
var o = i[n], s = o.split("/");
|
|
1407
1442
|
if (s.length === 0)
|
|
1408
1443
|
throw new Error("Invalid number skeleton");
|
|
1409
1444
|
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1410
|
-
var
|
|
1411
|
-
if (
|
|
1445
|
+
var c = h[u];
|
|
1446
|
+
if (c.length === 0)
|
|
1412
1447
|
throw new Error("Invalid number skeleton");
|
|
1413
1448
|
}
|
|
1414
1449
|
r.push({ stem: a, options: l });
|
|
1415
1450
|
}
|
|
1416
1451
|
return r;
|
|
1417
1452
|
}
|
|
1418
|
-
function
|
|
1453
|
+
function Ln(e) {
|
|
1419
1454
|
return e.replace(/^(.*?)-/, "");
|
|
1420
1455
|
}
|
|
1421
|
-
var
|
|
1422
|
-
function
|
|
1456
|
+
var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
|
|
1457
|
+
function bt(e) {
|
|
1423
1458
|
var t = {};
|
|
1424
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1459
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
|
|
1425
1460
|
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)), "";
|
|
1426
1461
|
}), t;
|
|
1427
1462
|
}
|
|
1428
|
-
function
|
|
1463
|
+
function rr(e) {
|
|
1429
1464
|
switch (e) {
|
|
1430
1465
|
case "sign-auto":
|
|
1431
1466
|
return {
|
|
@@ -1465,7 +1500,7 @@ function Yt(e) {
|
|
|
1465
1500
|
};
|
|
1466
1501
|
}
|
|
1467
1502
|
}
|
|
1468
|
-
function
|
|
1503
|
+
function $n(e) {
|
|
1469
1504
|
var t;
|
|
1470
1505
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1471
1506
|
notation: "engineering"
|
|
@@ -1473,17 +1508,17 @@ function Nn(e) {
|
|
|
1473
1508
|
notation: "scientific"
|
|
1474
1509
|
}, e = e.slice(1)), t) {
|
|
1475
1510
|
var r = e.slice(0, 2);
|
|
1476
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1511
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
|
|
1477
1512
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1478
1513
|
t.minimumIntegerDigits = e.length;
|
|
1479
1514
|
}
|
|
1480
1515
|
return t;
|
|
1481
1516
|
}
|
|
1482
|
-
function
|
|
1483
|
-
var t = {}, r =
|
|
1517
|
+
function gt(e) {
|
|
1518
|
+
var t = {}, r = rr(e);
|
|
1484
1519
|
return r || t;
|
|
1485
1520
|
}
|
|
1486
|
-
function
|
|
1521
|
+
function Gn(e) {
|
|
1487
1522
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1488
1523
|
var i = n[r];
|
|
1489
1524
|
switch (i.stem) {
|
|
@@ -1507,7 +1542,7 @@ function Mn(e) {
|
|
|
1507
1542
|
continue;
|
|
1508
1543
|
case "measure-unit":
|
|
1509
1544
|
case "unit":
|
|
1510
|
-
t.style = "unit", t.unit =
|
|
1545
|
+
t.style = "unit", t.unit = Ln(i.options[0]);
|
|
1511
1546
|
continue;
|
|
1512
1547
|
case "compact-short":
|
|
1513
1548
|
case "K":
|
|
@@ -1518,13 +1553,13 @@ function Mn(e) {
|
|
|
1518
1553
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1519
1554
|
continue;
|
|
1520
1555
|
case "scientific":
|
|
1521
|
-
t =
|
|
1522
|
-
return
|
|
1556
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1557
|
+
return T(T({}, l), gt(u));
|
|
1523
1558
|
}, {}));
|
|
1524
1559
|
continue;
|
|
1525
1560
|
case "engineering":
|
|
1526
|
-
t =
|
|
1527
|
-
return
|
|
1561
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1562
|
+
return T(T({}, l), gt(u));
|
|
1528
1563
|
}, {}));
|
|
1529
1564
|
continue;
|
|
1530
1565
|
case "notation-simple":
|
|
@@ -1569,41 +1604,41 @@ function Mn(e) {
|
|
|
1569
1604
|
case "integer-width":
|
|
1570
1605
|
if (i.options.length > 1)
|
|
1571
1606
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1572
|
-
i.options[0].replace(
|
|
1607
|
+
i.options[0].replace(Rn, function(l, u, h, c, f, m) {
|
|
1573
1608
|
if (u)
|
|
1574
1609
|
t.minimumIntegerDigits = h.length;
|
|
1575
1610
|
else {
|
|
1576
|
-
if (
|
|
1611
|
+
if (c && f)
|
|
1577
1612
|
throw new Error("We currently do not support maximum integer digits");
|
|
1578
|
-
if (
|
|
1613
|
+
if (m)
|
|
1579
1614
|
throw new Error("We currently do not support exact integer digits");
|
|
1580
1615
|
}
|
|
1581
1616
|
return "";
|
|
1582
1617
|
});
|
|
1583
1618
|
continue;
|
|
1584
1619
|
}
|
|
1585
|
-
if (
|
|
1620
|
+
if (tr.test(i.stem)) {
|
|
1586
1621
|
t.minimumIntegerDigits = i.stem.length;
|
|
1587
1622
|
continue;
|
|
1588
1623
|
}
|
|
1589
|
-
if (
|
|
1624
|
+
if (dt.test(i.stem)) {
|
|
1590
1625
|
if (i.options.length > 1)
|
|
1591
1626
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1592
|
-
i.stem.replace(
|
|
1593
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1627
|
+
i.stem.replace(dt, function(l, u, h, c, f, m) {
|
|
1628
|
+
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), "";
|
|
1594
1629
|
});
|
|
1595
1630
|
var o = i.options[0];
|
|
1596
|
-
o === "w" ? t =
|
|
1631
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), bt(o)));
|
|
1597
1632
|
continue;
|
|
1598
1633
|
}
|
|
1599
|
-
if (
|
|
1600
|
-
t =
|
|
1634
|
+
if (er.test(i.stem)) {
|
|
1635
|
+
t = T(T({}, t), bt(i.stem));
|
|
1601
1636
|
continue;
|
|
1602
1637
|
}
|
|
1603
|
-
var s =
|
|
1604
|
-
s && (t =
|
|
1605
|
-
var a =
|
|
1606
|
-
a && (t =
|
|
1638
|
+
var s = rr(i.stem);
|
|
1639
|
+
s && (t = T(T({}, t), s));
|
|
1640
|
+
var a = $n(i.stem);
|
|
1641
|
+
a && (t = T(T({}, t), a));
|
|
1607
1642
|
}
|
|
1608
1643
|
return t;
|
|
1609
1644
|
}
|
|
@@ -3022,13 +3057,13 @@ var he = {
|
|
|
3022
3057
|
"h"
|
|
3023
3058
|
]
|
|
3024
3059
|
};
|
|
3025
|
-
function
|
|
3060
|
+
function Un(e, t) {
|
|
3026
3061
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3027
3062
|
var i = e.charAt(n);
|
|
3028
3063
|
if (i === "j") {
|
|
3029
3064
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3030
3065
|
o++, n++;
|
|
3031
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3066
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
|
|
3032
3067
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3033
3068
|
r += l;
|
|
3034
3069
|
for (; s-- > 0; )
|
|
@@ -3038,7 +3073,7 @@ function Ln(e, t) {
|
|
|
3038
3073
|
}
|
|
3039
3074
|
return r;
|
|
3040
3075
|
}
|
|
3041
|
-
function
|
|
3076
|
+
function Dn(e) {
|
|
3042
3077
|
var t = e.hourCycle;
|
|
3043
3078
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3044
3079
|
e.hourCycles && // @ts-ignore
|
|
@@ -3060,20 +3095,20 @@ function Rn(e) {
|
|
|
3060
3095
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
3061
3096
|
return i[0];
|
|
3062
3097
|
}
|
|
3063
|
-
var
|
|
3098
|
+
var Oe, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
|
|
3064
3099
|
function y(e, t) {
|
|
3065
3100
|
return { start: e, end: t };
|
|
3066
3101
|
}
|
|
3067
|
-
var
|
|
3102
|
+
var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
|
|
3068
3103
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3069
|
-
},
|
|
3104
|
+
}, ze = !0;
|
|
3070
3105
|
try {
|
|
3071
|
-
var
|
|
3072
|
-
|
|
3106
|
+
var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3107
|
+
ze = ((Oe = qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
3073
3108
|
} catch {
|
|
3074
|
-
|
|
3109
|
+
ze = !1;
|
|
3075
3110
|
}
|
|
3076
|
-
var
|
|
3111
|
+
var yt = kn ? (
|
|
3077
3112
|
// Native
|
|
3078
3113
|
function(t, r, n) {
|
|
3079
3114
|
return t.startsWith(r, n);
|
|
@@ -3083,7 +3118,7 @@ var mt = Un ? (
|
|
|
3083
3118
|
function(t, r, n) {
|
|
3084
3119
|
return t.slice(n, n + r.length) === r;
|
|
3085
3120
|
}
|
|
3086
|
-
),
|
|
3121
|
+
), We = Vn ? String.fromCodePoint : (
|
|
3087
3122
|
// IE11
|
|
3088
3123
|
function() {
|
|
3089
3124
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3095,9 +3130,9 @@ var mt = Un ? (
|
|
|
3095
3130
|
}
|
|
3096
3131
|
return n;
|
|
3097
3132
|
}
|
|
3098
|
-
),
|
|
3133
|
+
), vt = (
|
|
3099
3134
|
// native
|
|
3100
|
-
|
|
3135
|
+
Xn ? Object.fromEntries : (
|
|
3101
3136
|
// Ponyfill
|
|
3102
3137
|
function(t) {
|
|
3103
3138
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3107,7 +3142,7 @@ var mt = Un ? (
|
|
|
3107
3142
|
return r;
|
|
3108
3143
|
}
|
|
3109
3144
|
)
|
|
3110
|
-
),
|
|
3145
|
+
), nr = zn ? (
|
|
3111
3146
|
// Native
|
|
3112
3147
|
function(t, r) {
|
|
3113
3148
|
return t.codePointAt(r);
|
|
@@ -3121,7 +3156,7 @@ var mt = Un ? (
|
|
|
3121
3156
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3122
3157
|
}
|
|
3123
3158
|
}
|
|
3124
|
-
),
|
|
3159
|
+
), Yn = Wn ? (
|
|
3125
3160
|
// Native
|
|
3126
3161
|
function(t) {
|
|
3127
3162
|
return t.trimStart();
|
|
@@ -3129,9 +3164,9 @@ var mt = Un ? (
|
|
|
3129
3164
|
) : (
|
|
3130
3165
|
// Ponyfill
|
|
3131
3166
|
function(t) {
|
|
3132
|
-
return t.replace(
|
|
3167
|
+
return t.replace(Fn, "");
|
|
3133
3168
|
}
|
|
3134
|
-
),
|
|
3169
|
+
), Kn = Zn ? (
|
|
3135
3170
|
// Native
|
|
3136
3171
|
function(t) {
|
|
3137
3172
|
return t.trimEnd();
|
|
@@ -3139,32 +3174,32 @@ var mt = Un ? (
|
|
|
3139
3174
|
) : (
|
|
3140
3175
|
// Ponyfill
|
|
3141
3176
|
function(t) {
|
|
3142
|
-
return t.replace(
|
|
3177
|
+
return t.replace(jn, "");
|
|
3143
3178
|
}
|
|
3144
3179
|
);
|
|
3145
|
-
function
|
|
3180
|
+
function ir(e, t) {
|
|
3146
3181
|
return new RegExp(e, t);
|
|
3147
3182
|
}
|
|
3148
|
-
var
|
|
3149
|
-
if (
|
|
3150
|
-
var
|
|
3151
|
-
|
|
3183
|
+
var Ze;
|
|
3184
|
+
if (ze) {
|
|
3185
|
+
var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3186
|
+
Ze = function(t, r) {
|
|
3152
3187
|
var n;
|
|
3153
|
-
|
|
3154
|
-
var i =
|
|
3188
|
+
_t.lastIndex = r;
|
|
3189
|
+
var i = _t.exec(t);
|
|
3155
3190
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3156
3191
|
};
|
|
3157
3192
|
} else
|
|
3158
|
-
|
|
3193
|
+
Ze = function(t, r) {
|
|
3159
3194
|
for (var n = []; ; ) {
|
|
3160
|
-
var i =
|
|
3161
|
-
if (i === void 0 ||
|
|
3195
|
+
var i = nr(t, r);
|
|
3196
|
+
if (i === void 0 || or(i) || ni(i))
|
|
3162
3197
|
break;
|
|
3163
3198
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3164
3199
|
}
|
|
3165
|
-
return
|
|
3200
|
+
return We.apply(void 0, n);
|
|
3166
3201
|
};
|
|
3167
|
-
var
|
|
3202
|
+
var ei = (
|
|
3168
3203
|
/** @class */
|
|
3169
3204
|
function() {
|
|
3170
3205
|
function e(t, r) {
|
|
@@ -3188,14 +3223,14 @@ var Jn = (
|
|
|
3188
3223
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3189
3224
|
var a = this.clonePosition();
|
|
3190
3225
|
this.bump(), i.push({
|
|
3191
|
-
type:
|
|
3226
|
+
type: E.pound,
|
|
3192
3227
|
location: y(a, this.clonePosition())
|
|
3193
3228
|
});
|
|
3194
3229
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3195
3230
|
if (n)
|
|
3196
3231
|
break;
|
|
3197
3232
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3198
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3233
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
|
3199
3234
|
var s = this.parseTag(t, r);
|
|
3200
3235
|
if (s.err)
|
|
3201
3236
|
return s;
|
|
@@ -3216,7 +3251,7 @@ var Jn = (
|
|
|
3216
3251
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3217
3252
|
return {
|
|
3218
3253
|
val: {
|
|
3219
|
-
type:
|
|
3254
|
+
type: E.literal,
|
|
3220
3255
|
value: "<".concat(i, "/>"),
|
|
3221
3256
|
location: y(n, this.clonePosition())
|
|
3222
3257
|
},
|
|
@@ -3228,12 +3263,12 @@ var Jn = (
|
|
|
3228
3263
|
return o;
|
|
3229
3264
|
var s = o.val, a = this.clonePosition();
|
|
3230
3265
|
if (this.bumpIf("</")) {
|
|
3231
|
-
if (this.isEOF() || !
|
|
3266
|
+
if (this.isEOF() || !Qe(this.char()))
|
|
3232
3267
|
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
3233
3268
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3234
3269
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3235
3270
|
val: {
|
|
3236
|
-
type:
|
|
3271
|
+
type: E.tag,
|
|
3237
3272
|
value: i,
|
|
3238
3273
|
children: s,
|
|
3239
3274
|
location: y(n, this.clonePosition())
|
|
@@ -3246,7 +3281,7 @@ var Jn = (
|
|
|
3246
3281
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3247
3282
|
}, e.prototype.parseTagName = function() {
|
|
3248
3283
|
var t = this.offset();
|
|
3249
|
-
for (this.bump(); !this.isEOF() &&
|
|
3284
|
+
for (this.bump(); !this.isEOF() && ri(this.char()); )
|
|
3250
3285
|
this.bump();
|
|
3251
3286
|
return this.message.slice(t, this.offset());
|
|
3252
3287
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3270,12 +3305,12 @@ var Jn = (
|
|
|
3270
3305
|
}
|
|
3271
3306
|
var l = y(n, this.clonePosition());
|
|
3272
3307
|
return {
|
|
3273
|
-
val: { type:
|
|
3308
|
+
val: { type: E.literal, value: i, location: l },
|
|
3274
3309
|
err: null
|
|
3275
3310
|
};
|
|
3276
3311
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3277
3312
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3278
|
-
!
|
|
3313
|
+
!ti(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3279
3314
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3280
3315
|
if (this.isEOF() || this.char() !== 39)
|
|
3281
3316
|
return null;
|
|
@@ -3309,12 +3344,12 @@ var Jn = (
|
|
|
3309
3344
|
r.push(n);
|
|
3310
3345
|
this.bump();
|
|
3311
3346
|
}
|
|
3312
|
-
return
|
|
3347
|
+
return We.apply(void 0, r);
|
|
3313
3348
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3314
3349
|
if (this.isEOF())
|
|
3315
3350
|
return null;
|
|
3316
3351
|
var n = this.char();
|
|
3317
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3352
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
|
|
3318
3353
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3319
3354
|
var n = this.clonePosition();
|
|
3320
3355
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3330,7 +3365,7 @@ var Jn = (
|
|
|
3330
3365
|
case 125:
|
|
3331
3366
|
return this.bump(), {
|
|
3332
3367
|
val: {
|
|
3333
|
-
type:
|
|
3368
|
+
type: E.argument,
|
|
3334
3369
|
// value does not include the opening and closing braces.
|
|
3335
3370
|
value: i,
|
|
3336
3371
|
location: y(n, this.clonePosition())
|
|
@@ -3343,7 +3378,7 @@ var Jn = (
|
|
|
3343
3378
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3344
3379
|
}
|
|
3345
3380
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3346
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3381
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
|
3347
3382
|
this.bumpTo(i);
|
|
3348
3383
|
var o = this.clonePosition(), s = y(t, o);
|
|
3349
3384
|
return { value: n, location: s };
|
|
@@ -3359,49 +3394,49 @@ var Jn = (
|
|
|
3359
3394
|
var u = null;
|
|
3360
3395
|
if (this.bumpIf(",")) {
|
|
3361
3396
|
this.bumpSpace();
|
|
3362
|
-
var h = this.clonePosition(),
|
|
3363
|
-
if (
|
|
3364
|
-
return
|
|
3365
|
-
var
|
|
3366
|
-
if (
|
|
3397
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3398
|
+
if (c.err)
|
|
3399
|
+
return c;
|
|
3400
|
+
var f = Kn(c.val);
|
|
3401
|
+
if (f.length === 0)
|
|
3367
3402
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3368
|
-
var
|
|
3369
|
-
u = { style:
|
|
3403
|
+
var m = y(h, this.clonePosition());
|
|
3404
|
+
u = { style: f, styleLocation: m };
|
|
3370
3405
|
}
|
|
3371
|
-
var
|
|
3372
|
-
if (
|
|
3373
|
-
return
|
|
3374
|
-
var
|
|
3375
|
-
if (u &&
|
|
3376
|
-
var
|
|
3406
|
+
var p = this.tryParseArgumentClose(i);
|
|
3407
|
+
if (p.err)
|
|
3408
|
+
return p;
|
|
3409
|
+
var d = y(i, this.clonePosition());
|
|
3410
|
+
if (u && yt(u?.style, "::", 0)) {
|
|
3411
|
+
var S = Yn(u.style.slice(2));
|
|
3377
3412
|
if (a === "number") {
|
|
3378
|
-
var
|
|
3379
|
-
return
|
|
3380
|
-
val: { type:
|
|
3413
|
+
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3414
|
+
return c.err ? c : {
|
|
3415
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3381
3416
|
err: null
|
|
3382
3417
|
};
|
|
3383
3418
|
} else {
|
|
3384
|
-
if (
|
|
3385
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3386
|
-
var I =
|
|
3387
|
-
this.locale && (I =
|
|
3388
|
-
var
|
|
3389
|
-
type:
|
|
3419
|
+
if (S.length === 0)
|
|
3420
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3421
|
+
var I = S;
|
|
3422
|
+
this.locale && (I = Un(S, this.locale));
|
|
3423
|
+
var f = {
|
|
3424
|
+
type: z.dateTime,
|
|
3390
3425
|
pattern: I,
|
|
3391
3426
|
location: u.styleLocation,
|
|
3392
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3393
|
-
}, C = a === "date" ?
|
|
3427
|
+
parsedOptions: this.shouldParseSkeletons ? In(I) : {}
|
|
3428
|
+
}, C = a === "date" ? E.date : E.time;
|
|
3394
3429
|
return {
|
|
3395
|
-
val: { type: C, value: n, location:
|
|
3430
|
+
val: { type: C, value: n, location: d, style: f },
|
|
3396
3431
|
err: null
|
|
3397
3432
|
};
|
|
3398
3433
|
}
|
|
3399
3434
|
}
|
|
3400
3435
|
return {
|
|
3401
3436
|
val: {
|
|
3402
|
-
type: a === "number" ?
|
|
3437
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3403
3438
|
value: n,
|
|
3404
|
-
location:
|
|
3439
|
+
location: d,
|
|
3405
3440
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3406
3441
|
},
|
|
3407
3442
|
err: null
|
|
@@ -3410,41 +3445,41 @@ var Jn = (
|
|
|
3410
3445
|
case "plural":
|
|
3411
3446
|
case "selectordinal":
|
|
3412
3447
|
case "select": {
|
|
3413
|
-
var
|
|
3448
|
+
var w = this.clonePosition();
|
|
3414
3449
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3415
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(
|
|
3450
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, ge({}, w)));
|
|
3416
3451
|
this.bumpSpace();
|
|
3417
|
-
var _ = this.parseIdentifierIfPossible(),
|
|
3452
|
+
var _ = this.parseIdentifierIfPossible(), x = 0;
|
|
3418
3453
|
if (a !== "select" && _.value === "offset") {
|
|
3419
3454
|
if (!this.bumpIf(":"))
|
|
3420
3455
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3421
3456
|
this.bumpSpace();
|
|
3422
|
-
var
|
|
3423
|
-
if (
|
|
3424
|
-
return
|
|
3425
|
-
this.bumpSpace(), _ = this.parseIdentifierIfPossible(),
|
|
3457
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3458
|
+
if (c.err)
|
|
3459
|
+
return c;
|
|
3460
|
+
this.bumpSpace(), _ = this.parseIdentifierIfPossible(), x = c.val;
|
|
3426
3461
|
}
|
|
3427
|
-
var
|
|
3428
|
-
if (
|
|
3429
|
-
return
|
|
3430
|
-
var
|
|
3431
|
-
if (
|
|
3432
|
-
return
|
|
3462
|
+
var v = this.tryParsePluralOrSelectOptions(t, a, r, _);
|
|
3463
|
+
if (v.err)
|
|
3464
|
+
return v;
|
|
3465
|
+
var p = this.tryParseArgumentClose(i);
|
|
3466
|
+
if (p.err)
|
|
3467
|
+
return p;
|
|
3433
3468
|
var P = y(i, this.clonePosition());
|
|
3434
3469
|
return a === "select" ? {
|
|
3435
3470
|
val: {
|
|
3436
|
-
type:
|
|
3471
|
+
type: E.select,
|
|
3437
3472
|
value: n,
|
|
3438
|
-
options:
|
|
3473
|
+
options: vt(v.val),
|
|
3439
3474
|
location: P
|
|
3440
3475
|
},
|
|
3441
3476
|
err: null
|
|
3442
3477
|
} : {
|
|
3443
3478
|
val: {
|
|
3444
|
-
type:
|
|
3479
|
+
type: E.plural,
|
|
3445
3480
|
value: n,
|
|
3446
|
-
options:
|
|
3447
|
-
offset:
|
|
3481
|
+
options: vt(v.val),
|
|
3482
|
+
offset: x,
|
|
3448
3483
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3449
3484
|
location: P
|
|
3450
3485
|
},
|
|
@@ -3494,48 +3529,48 @@ var Jn = (
|
|
|
3494
3529
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3495
3530
|
var n = [];
|
|
3496
3531
|
try {
|
|
3497
|
-
n =
|
|
3532
|
+
n = Nn(t);
|
|
3498
3533
|
} catch {
|
|
3499
3534
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3500
3535
|
}
|
|
3501
3536
|
return {
|
|
3502
3537
|
val: {
|
|
3503
|
-
type:
|
|
3538
|
+
type: z.number,
|
|
3504
3539
|
tokens: n,
|
|
3505
3540
|
location: r,
|
|
3506
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3541
|
+
parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
|
|
3507
3542
|
},
|
|
3508
3543
|
err: null
|
|
3509
3544
|
};
|
|
3510
3545
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3511
3546
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3512
3547
|
if (u.length === 0) {
|
|
3513
|
-
var
|
|
3548
|
+
var c = this.clonePosition();
|
|
3514
3549
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3515
|
-
var
|
|
3516
|
-
if (
|
|
3517
|
-
return
|
|
3518
|
-
h = y(
|
|
3550
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3551
|
+
if (f.err)
|
|
3552
|
+
return f;
|
|
3553
|
+
h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3519
3554
|
} else
|
|
3520
3555
|
break;
|
|
3521
3556
|
}
|
|
3522
3557
|
if (l.has(u))
|
|
3523
3558
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3524
3559
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3525
|
-
var
|
|
3560
|
+
var m = this.clonePosition();
|
|
3526
3561
|
if (!this.bumpIf("{"))
|
|
3527
3562
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3528
|
-
var
|
|
3529
|
-
if (m.err)
|
|
3530
|
-
return m;
|
|
3531
|
-
var p = this.tryParseArgumentClose(d);
|
|
3563
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3532
3564
|
if (p.err)
|
|
3533
3565
|
return p;
|
|
3566
|
+
var d = this.tryParseArgumentClose(m);
|
|
3567
|
+
if (d.err)
|
|
3568
|
+
return d;
|
|
3534
3569
|
a.push([
|
|
3535
3570
|
u,
|
|
3536
3571
|
{
|
|
3537
|
-
value:
|
|
3538
|
-
location: y(
|
|
3572
|
+
value: p.val,
|
|
3573
|
+
location: y(m, this.clonePosition())
|
|
3539
3574
|
}
|
|
3540
3575
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3541
3576
|
}
|
|
@@ -3551,7 +3586,7 @@ var Jn = (
|
|
|
3551
3586
|
break;
|
|
3552
3587
|
}
|
|
3553
3588
|
var l = y(i, this.clonePosition());
|
|
3554
|
-
return o ? (s *= n,
|
|
3589
|
+
return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3555
3590
|
}, e.prototype.offset = function() {
|
|
3556
3591
|
return this.position.offset;
|
|
3557
3592
|
}, e.prototype.isEOF = function() {
|
|
@@ -3566,7 +3601,7 @@ var Jn = (
|
|
|
3566
3601
|
var t = this.position.offset;
|
|
3567
3602
|
if (t >= this.message.length)
|
|
3568
3603
|
throw Error("out of bound");
|
|
3569
|
-
var r =
|
|
3604
|
+
var r = nr(this.message, t);
|
|
3570
3605
|
if (r === void 0)
|
|
3571
3606
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3572
3607
|
return r;
|
|
@@ -3585,7 +3620,7 @@ var Jn = (
|
|
|
3585
3620
|
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);
|
|
3586
3621
|
}
|
|
3587
3622
|
}, e.prototype.bumpIf = function(t) {
|
|
3588
|
-
if (
|
|
3623
|
+
if (yt(this.message, t, this.offset())) {
|
|
3589
3624
|
for (var r = 0; r < t.length; r++)
|
|
3590
3625
|
this.bump();
|
|
3591
3626
|
return !0;
|
|
@@ -3607,7 +3642,7 @@ var Jn = (
|
|
|
3607
3642
|
break;
|
|
3608
3643
|
}
|
|
3609
3644
|
}, e.prototype.bumpSpace = function() {
|
|
3610
|
-
for (; !this.isEOF() &&
|
|
3645
|
+
for (; !this.isEOF() && or(this.char()); )
|
|
3611
3646
|
this.bump();
|
|
3612
3647
|
}, e.prototype.peek = function() {
|
|
3613
3648
|
if (this.isEOF())
|
|
@@ -3617,47 +3652,47 @@ var Jn = (
|
|
|
3617
3652
|
}, e;
|
|
3618
3653
|
}()
|
|
3619
3654
|
);
|
|
3620
|
-
function
|
|
3655
|
+
function Qe(e) {
|
|
3621
3656
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3622
3657
|
}
|
|
3623
|
-
function
|
|
3624
|
-
return
|
|
3658
|
+
function ti(e) {
|
|
3659
|
+
return Qe(e) || e === 47;
|
|
3625
3660
|
}
|
|
3626
|
-
function
|
|
3661
|
+
function ri(e) {
|
|
3627
3662
|
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;
|
|
3628
3663
|
}
|
|
3629
|
-
function
|
|
3664
|
+
function or(e) {
|
|
3630
3665
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3631
3666
|
}
|
|
3632
|
-
function
|
|
3667
|
+
function ni(e) {
|
|
3633
3668
|
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;
|
|
3634
3669
|
}
|
|
3635
|
-
function
|
|
3670
|
+
function Je(e) {
|
|
3636
3671
|
e.forEach(function(t) {
|
|
3637
|
-
if (delete t.location,
|
|
3672
|
+
if (delete t.location, Qt(t) || Jt(t))
|
|
3638
3673
|
for (var r in t.options)
|
|
3639
|
-
delete t.options[r].location,
|
|
3674
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3640
3675
|
else
|
|
3641
|
-
|
|
3676
|
+
zt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : qt(t) && Je(t.children);
|
|
3642
3677
|
});
|
|
3643
3678
|
}
|
|
3644
|
-
function
|
|
3645
|
-
t === void 0 && (t = {}), t =
|
|
3646
|
-
var r = new
|
|
3679
|
+
function ii(e, t) {
|
|
3680
|
+
t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3681
|
+
var r = new ei(e, t).parse();
|
|
3647
3682
|
if (r.err) {
|
|
3648
3683
|
var n = SyntaxError(b[r.err.kind]);
|
|
3649
3684
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3650
3685
|
}
|
|
3651
|
-
return t?.captureLocation ||
|
|
3686
|
+
return t?.captureLocation || Je(r.val), r.val;
|
|
3652
3687
|
}
|
|
3653
|
-
var
|
|
3688
|
+
var W;
|
|
3654
3689
|
(function(e) {
|
|
3655
3690
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3656
|
-
})(
|
|
3657
|
-
var
|
|
3691
|
+
})(W || (W = {}));
|
|
3692
|
+
var Se = (
|
|
3658
3693
|
/** @class */
|
|
3659
3694
|
function(e) {
|
|
3660
|
-
|
|
3695
|
+
Ee(t, e);
|
|
3661
3696
|
function t(r, n, i) {
|
|
3662
3697
|
var o = e.call(this, r) || this;
|
|
3663
3698
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3666,48 +3701,48 @@ var _e = (
|
|
|
3666
3701
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3667
3702
|
}, t;
|
|
3668
3703
|
}(Error)
|
|
3669
|
-
),
|
|
3704
|
+
), xt = (
|
|
3670
3705
|
/** @class */
|
|
3671
3706
|
function(e) {
|
|
3672
|
-
|
|
3707
|
+
Ee(t, e);
|
|
3673
3708
|
function t(r, n, i, o) {
|
|
3674
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3709
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
|
|
3675
3710
|
}
|
|
3676
3711
|
return t;
|
|
3677
|
-
}(
|
|
3678
|
-
),
|
|
3712
|
+
}(Se)
|
|
3713
|
+
), oi = (
|
|
3679
3714
|
/** @class */
|
|
3680
3715
|
function(e) {
|
|
3681
|
-
|
|
3716
|
+
Ee(t, e);
|
|
3682
3717
|
function t(r, n, i) {
|
|
3683
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3718
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
|
|
3684
3719
|
}
|
|
3685
3720
|
return t;
|
|
3686
|
-
}(
|
|
3687
|
-
),
|
|
3721
|
+
}(Se)
|
|
3722
|
+
), si = (
|
|
3688
3723
|
/** @class */
|
|
3689
3724
|
function(e) {
|
|
3690
|
-
|
|
3725
|
+
Ee(t, e);
|
|
3691
3726
|
function t(r, n) {
|
|
3692
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3727
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
|
|
3693
3728
|
}
|
|
3694
3729
|
return t;
|
|
3695
|
-
}(
|
|
3730
|
+
}(Se)
|
|
3696
3731
|
), A;
|
|
3697
3732
|
(function(e) {
|
|
3698
3733
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3699
3734
|
})(A || (A = {}));
|
|
3700
|
-
function
|
|
3735
|
+
function ai(e) {
|
|
3701
3736
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3702
3737
|
var n = t[t.length - 1];
|
|
3703
3738
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3704
3739
|
}, []);
|
|
3705
3740
|
}
|
|
3706
|
-
function
|
|
3741
|
+
function ui(e) {
|
|
3707
3742
|
return typeof e == "function";
|
|
3708
3743
|
}
|
|
3709
|
-
function
|
|
3710
|
-
if (e.length === 1 &&
|
|
3744
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3745
|
+
if (e.length === 1 && pt(e[0]))
|
|
3711
3746
|
return [
|
|
3712
3747
|
{
|
|
3713
3748
|
type: A.literal,
|
|
@@ -3716,105 +3751,105 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3716
3751
|
];
|
|
3717
3752
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3718
3753
|
var h = u[l];
|
|
3719
|
-
if (
|
|
3754
|
+
if (pt(h)) {
|
|
3720
3755
|
a.push({
|
|
3721
3756
|
type: A.literal,
|
|
3722
3757
|
value: h.value
|
|
3723
3758
|
});
|
|
3724
3759
|
continue;
|
|
3725
3760
|
}
|
|
3726
|
-
if (
|
|
3761
|
+
if (Pn(h)) {
|
|
3727
3762
|
typeof o == "number" && a.push({
|
|
3728
3763
|
type: A.literal,
|
|
3729
3764
|
value: r.getNumberFormat(t).format(o)
|
|
3730
3765
|
});
|
|
3731
3766
|
continue;
|
|
3732
3767
|
}
|
|
3733
|
-
var
|
|
3734
|
-
if (!(i &&
|
|
3735
|
-
throw new
|
|
3736
|
-
var
|
|
3737
|
-
if (
|
|
3738
|
-
(!
|
|
3739
|
-
type: typeof
|
|
3740
|
-
value:
|
|
3768
|
+
var c = h.value;
|
|
3769
|
+
if (!(i && c in i))
|
|
3770
|
+
throw new si(c, s);
|
|
3771
|
+
var f = i[c];
|
|
3772
|
+
if (Cn(h)) {
|
|
3773
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3774
|
+
type: typeof f == "string" ? A.literal : A.object,
|
|
3775
|
+
value: f
|
|
3741
3776
|
});
|
|
3742
3777
|
continue;
|
|
3743
3778
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var
|
|
3779
|
+
if (Wt(h)) {
|
|
3780
|
+
var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
|
|
3746
3781
|
a.push({
|
|
3747
3782
|
type: A.literal,
|
|
3748
|
-
value: r.getDateTimeFormat(t,
|
|
3783
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3749
3784
|
});
|
|
3750
3785
|
continue;
|
|
3751
3786
|
}
|
|
3752
|
-
if (
|
|
3753
|
-
var
|
|
3787
|
+
if (Zt(h)) {
|
|
3788
|
+
var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3754
3789
|
a.push({
|
|
3755
3790
|
type: A.literal,
|
|
3756
|
-
value: r.getDateTimeFormat(t,
|
|
3791
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3757
3792
|
});
|
|
3758
3793
|
continue;
|
|
3759
3794
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var
|
|
3762
|
-
|
|
3795
|
+
if (zt(h)) {
|
|
3796
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3797
|
+
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3763
3798
|
type: A.literal,
|
|
3764
|
-
value: r.getNumberFormat(t,
|
|
3799
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3765
3800
|
});
|
|
3766
3801
|
continue;
|
|
3767
3802
|
}
|
|
3768
|
-
if (
|
|
3769
|
-
var
|
|
3770
|
-
if (!
|
|
3771
|
-
throw new
|
|
3772
|
-
var I =
|
|
3773
|
-
return
|
|
3803
|
+
if (qt(h)) {
|
|
3804
|
+
var p = h.children, d = h.value, S = i[d];
|
|
3805
|
+
if (!ui(S))
|
|
3806
|
+
throw new oi(d, "function", s);
|
|
3807
|
+
var I = pe(p, t, r, n, i, o), C = S(I.map(function(x) {
|
|
3808
|
+
return x.value;
|
|
3774
3809
|
}));
|
|
3775
|
-
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(
|
|
3810
|
+
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
|
|
3776
3811
|
return {
|
|
3777
|
-
type: typeof
|
|
3778
|
-
value:
|
|
3812
|
+
type: typeof x == "string" ? A.literal : A.object,
|
|
3813
|
+
value: x
|
|
3779
3814
|
};
|
|
3780
3815
|
}));
|
|
3781
3816
|
}
|
|
3782
|
-
if (
|
|
3783
|
-
var
|
|
3784
|
-
if (!
|
|
3785
|
-
throw new
|
|
3786
|
-
a.push.apply(a,
|
|
3817
|
+
if (Qt(h)) {
|
|
3818
|
+
var w = h.options[f] || h.options.other;
|
|
3819
|
+
if (!w)
|
|
3820
|
+
throw new xt(h.value, f, Object.keys(h.options), s);
|
|
3821
|
+
a.push.apply(a, pe(w.value, t, r, n, i));
|
|
3787
3822
|
continue;
|
|
3788
3823
|
}
|
|
3789
|
-
if (
|
|
3790
|
-
var
|
|
3791
|
-
if (!
|
|
3824
|
+
if (Jt(h)) {
|
|
3825
|
+
var w = h.options["=".concat(f)];
|
|
3826
|
+
if (!w) {
|
|
3792
3827
|
if (!Intl.PluralRules)
|
|
3793
|
-
throw new
|
|
3828
|
+
throw new Se(`Intl.PluralRules is not available in this environment.
|
|
3794
3829
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3795
|
-
`,
|
|
3796
|
-
var _ = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3797
|
-
|
|
3830
|
+
`, W.MISSING_INTL_API, s);
|
|
3831
|
+
var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3832
|
+
w = h.options[_] || h.options.other;
|
|
3798
3833
|
}
|
|
3799
|
-
if (!
|
|
3800
|
-
throw new
|
|
3801
|
-
a.push.apply(a,
|
|
3834
|
+
if (!w)
|
|
3835
|
+
throw new xt(h.value, f, Object.keys(h.options), s);
|
|
3836
|
+
a.push.apply(a, pe(w.value, t, r, n, i, f - (h.offset || 0)));
|
|
3802
3837
|
continue;
|
|
3803
3838
|
}
|
|
3804
3839
|
}
|
|
3805
|
-
return
|
|
3840
|
+
return ai(a);
|
|
3806
3841
|
}
|
|
3807
|
-
function
|
|
3808
|
-
return t ?
|
|
3809
|
-
return r[n] =
|
|
3842
|
+
function li(e, t) {
|
|
3843
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3844
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
3810
3845
|
}, {})) : e;
|
|
3811
3846
|
}
|
|
3812
|
-
function
|
|
3847
|
+
function hi(e, t) {
|
|
3813
3848
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3814
|
-
return r[n] =
|
|
3815
|
-
},
|
|
3849
|
+
return r[n] = li(e[n], t[n]), r;
|
|
3850
|
+
}, N({}, e)) : e;
|
|
3816
3851
|
}
|
|
3817
|
-
function
|
|
3852
|
+
function Ie(e) {
|
|
3818
3853
|
return {
|
|
3819
3854
|
create: function() {
|
|
3820
3855
|
return {
|
|
@@ -3828,39 +3863,39 @@ function Ce(e) {
|
|
|
3828
3863
|
}
|
|
3829
3864
|
};
|
|
3830
3865
|
}
|
|
3831
|
-
function
|
|
3866
|
+
function ci(e) {
|
|
3832
3867
|
return e === void 0 && (e = {
|
|
3833
3868
|
number: {},
|
|
3834
3869
|
dateTime: {},
|
|
3835
3870
|
pluralRules: {}
|
|
3836
3871
|
}), {
|
|
3837
|
-
getNumberFormat:
|
|
3872
|
+
getNumberFormat: Ce(function() {
|
|
3838
3873
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3839
3874
|
r[n] = arguments[n];
|
|
3840
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3875
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3841
3876
|
}, {
|
|
3842
|
-
cache:
|
|
3843
|
-
strategy:
|
|
3877
|
+
cache: Ie(e.number),
|
|
3878
|
+
strategy: Pe.variadic
|
|
3844
3879
|
}),
|
|
3845
|
-
getDateTimeFormat:
|
|
3880
|
+
getDateTimeFormat: Ce(function() {
|
|
3846
3881
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3847
3882
|
r[n] = arguments[n];
|
|
3848
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3883
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3849
3884
|
}, {
|
|
3850
|
-
cache:
|
|
3851
|
-
strategy:
|
|
3885
|
+
cache: Ie(e.dateTime),
|
|
3886
|
+
strategy: Pe.variadic
|
|
3852
3887
|
}),
|
|
3853
|
-
getPluralRules:
|
|
3888
|
+
getPluralRules: Ce(function() {
|
|
3854
3889
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3855
3890
|
r[n] = arguments[n];
|
|
3856
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3891
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3857
3892
|
}, {
|
|
3858
|
-
cache:
|
|
3859
|
-
strategy:
|
|
3893
|
+
cache: Ie(e.pluralRules),
|
|
3894
|
+
strategy: Pe.variadic
|
|
3860
3895
|
})
|
|
3861
3896
|
};
|
|
3862
3897
|
}
|
|
3863
|
-
var
|
|
3898
|
+
var fi = (
|
|
3864
3899
|
/** @class */
|
|
3865
3900
|
function() {
|
|
3866
3901
|
function e(t, r, n, i) {
|
|
@@ -3874,12 +3909,12 @@ var ui = (
|
|
|
3874
3909
|
var u = o.formatToParts(l);
|
|
3875
3910
|
if (u.length === 1)
|
|
3876
3911
|
return u[0].value;
|
|
3877
|
-
var h = u.reduce(function(
|
|
3878
|
-
return !
|
|
3912
|
+
var h = u.reduce(function(c, f) {
|
|
3913
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3879
3914
|
}, []);
|
|
3880
3915
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3881
3916
|
}, this.formatToParts = function(l) {
|
|
3882
|
-
return
|
|
3917
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3883
3918
|
}, this.resolvedOptions = function() {
|
|
3884
3919
|
var l;
|
|
3885
3920
|
return {
|
|
@@ -3892,13 +3927,13 @@ var ui = (
|
|
|
3892
3927
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3893
3928
|
var s = i || {};
|
|
3894
3929
|
s.formatters;
|
|
3895
|
-
var a =
|
|
3896
|
-
this.ast = e.__parse(t,
|
|
3930
|
+
var a = xn(s, ["formatters"]);
|
|
3931
|
+
this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
|
|
3897
3932
|
} else
|
|
3898
3933
|
this.ast = t;
|
|
3899
3934
|
if (!Array.isArray(this.ast))
|
|
3900
3935
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3901
|
-
this.formats =
|
|
3936
|
+
this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
|
|
3902
3937
|
}
|
|
3903
3938
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3904
3939
|
get: function() {
|
|
@@ -3911,7 +3946,7 @@ var ui = (
|
|
|
3911
3946
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3912
3947
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3913
3948
|
}
|
|
3914
|
-
}, e.__parse =
|
|
3949
|
+
}, e.__parse = ii, e.formats = {
|
|
3915
3950
|
number: {
|
|
3916
3951
|
integer: {
|
|
3917
3952
|
maximumFractionDigits: 0
|
|
@@ -3972,7 +4007,7 @@ var ui = (
|
|
|
3972
4007
|
}, e;
|
|
3973
4008
|
}()
|
|
3974
4009
|
);
|
|
3975
|
-
function
|
|
4010
|
+
function mi(e, t) {
|
|
3976
4011
|
if (t == null)
|
|
3977
4012
|
return;
|
|
3978
4013
|
if (t in e)
|
|
@@ -3993,92 +4028,92 @@ function li(e, t) {
|
|
|
3993
4028
|
n = void 0;
|
|
3994
4029
|
return n;
|
|
3995
4030
|
}
|
|
3996
|
-
const $ = {},
|
|
4031
|
+
const $ = {}, pi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
|
|
3997
4032
|
if (t == null)
|
|
3998
4033
|
return;
|
|
3999
4034
|
if (t in $ && e in $[t])
|
|
4000
4035
|
return $[t][e];
|
|
4001
|
-
const r =
|
|
4036
|
+
const r = we(t);
|
|
4002
4037
|
for (let n = 0; n < r.length; n++) {
|
|
4003
|
-
const i = r[n], o =
|
|
4038
|
+
const i = r[n], o = bi(i, e);
|
|
4004
4039
|
if (o)
|
|
4005
|
-
return
|
|
4040
|
+
return pi(e, t, o);
|
|
4006
4041
|
}
|
|
4007
4042
|
};
|
|
4008
|
-
let
|
|
4043
|
+
let et;
|
|
4009
4044
|
const ae = xe({});
|
|
4010
|
-
function
|
|
4011
|
-
return
|
|
4045
|
+
function di(e) {
|
|
4046
|
+
return et[e] || null;
|
|
4012
4047
|
}
|
|
4013
|
-
function
|
|
4014
|
-
return e in
|
|
4048
|
+
function ar(e) {
|
|
4049
|
+
return e in et;
|
|
4015
4050
|
}
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
4051
|
+
function bi(e, t) {
|
|
4052
|
+
if (!ar(e))
|
|
4018
4053
|
return null;
|
|
4019
|
-
const r =
|
|
4020
|
-
return
|
|
4054
|
+
const r = di(e);
|
|
4055
|
+
return mi(r, t);
|
|
4021
4056
|
}
|
|
4022
|
-
function
|
|
4057
|
+
function gi(e) {
|
|
4023
4058
|
if (e == null)
|
|
4024
4059
|
return;
|
|
4025
|
-
const t =
|
|
4060
|
+
const t = we(e);
|
|
4026
4061
|
for (let r = 0; r < t.length; r++) {
|
|
4027
4062
|
const n = t[r];
|
|
4028
|
-
if (
|
|
4063
|
+
if (ar(n))
|
|
4029
4064
|
return n;
|
|
4030
4065
|
}
|
|
4031
4066
|
}
|
|
4032
|
-
function
|
|
4033
|
-
delete $[e], ae.update((r) => (r[e] =
|
|
4067
|
+
function ur(e, ...t) {
|
|
4068
|
+
delete $[e], ae.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
|
|
4034
4069
|
}
|
|
4035
|
-
|
|
4070
|
+
q(
|
|
4036
4071
|
[ae],
|
|
4037
4072
|
([e]) => Object.keys(e)
|
|
4038
4073
|
);
|
|
4039
|
-
ae.subscribe((e) =>
|
|
4040
|
-
const
|
|
4041
|
-
function
|
|
4042
|
-
|
|
4074
|
+
ae.subscribe((e) => et = e);
|
|
4075
|
+
const de = {};
|
|
4076
|
+
function yi(e, t) {
|
|
4077
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
4043
4078
|
}
|
|
4044
|
-
function
|
|
4045
|
-
return
|
|
4079
|
+
function lr(e) {
|
|
4080
|
+
return de[e];
|
|
4046
4081
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4049
|
-
const r =
|
|
4082
|
+
function vi(e) {
|
|
4083
|
+
return we(e).map((t) => {
|
|
4084
|
+
const r = lr(t);
|
|
4050
4085
|
return [t, r ? [...r] : []];
|
|
4051
4086
|
}).filter(([, t]) => t.length > 0);
|
|
4052
4087
|
}
|
|
4053
|
-
function
|
|
4054
|
-
return e == null ? !1 :
|
|
4088
|
+
function qe(e) {
|
|
4089
|
+
return e == null ? !1 : we(e).some(
|
|
4055
4090
|
(t) => {
|
|
4056
4091
|
var r;
|
|
4057
|
-
return (r =
|
|
4092
|
+
return (r = lr(t)) == null ? void 0 : r.size;
|
|
4058
4093
|
}
|
|
4059
4094
|
);
|
|
4060
4095
|
}
|
|
4061
|
-
function
|
|
4096
|
+
function _i(e, t) {
|
|
4062
4097
|
return Promise.all(
|
|
4063
|
-
t.map((n) => (
|
|
4064
|
-
).then((n) =>
|
|
4065
|
-
}
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4068
|
-
if (!
|
|
4069
|
-
return e in
|
|
4070
|
-
const t =
|
|
4071
|
-
return
|
|
4098
|
+
t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
|
|
4099
|
+
).then((n) => ur(e, ...n));
|
|
4100
|
+
}
|
|
4101
|
+
const ee = {};
|
|
4102
|
+
function hr(e) {
|
|
4103
|
+
if (!qe(e))
|
|
4104
|
+
return e in ee ? ee[e] : Promise.resolve();
|
|
4105
|
+
const t = vi(e);
|
|
4106
|
+
return ee[e] = Promise.all(
|
|
4072
4107
|
t.map(
|
|
4073
|
-
([r, n]) =>
|
|
4108
|
+
([r, n]) => _i(r, n)
|
|
4074
4109
|
)
|
|
4075
4110
|
).then(() => {
|
|
4076
|
-
if (
|
|
4077
|
-
return
|
|
4078
|
-
delete
|
|
4079
|
-
}),
|
|
4111
|
+
if (qe(e))
|
|
4112
|
+
return hr(e);
|
|
4113
|
+
delete ee[e];
|
|
4114
|
+
}), ee[e];
|
|
4080
4115
|
}
|
|
4081
|
-
const
|
|
4116
|
+
const xi = {
|
|
4082
4117
|
number: {
|
|
4083
4118
|
scientific: { notation: "scientific" },
|
|
4084
4119
|
engineering: { notation: "engineering" },
|
|
@@ -4107,135 +4142,135 @@ const gi = {
|
|
|
4107
4142
|
timeZoneName: "short"
|
|
4108
4143
|
}
|
|
4109
4144
|
}
|
|
4110
|
-
},
|
|
4145
|
+
}, Ei = {
|
|
4111
4146
|
fallbackLocale: null,
|
|
4112
4147
|
loadingDelay: 200,
|
|
4113
|
-
formats:
|
|
4148
|
+
formats: xi,
|
|
4114
4149
|
warnOnMissingMessages: !0,
|
|
4115
4150
|
handleMissingMessage: void 0,
|
|
4116
4151
|
ignoreTag: !0
|
|
4117
|
-
},
|
|
4118
|
-
function
|
|
4119
|
-
return
|
|
4120
|
-
}
|
|
4121
|
-
const
|
|
4122
|
-
var
|
|
4123
|
-
for (var r in t)
|
|
4124
|
-
|
|
4125
|
-
if (
|
|
4126
|
-
for (var r of
|
|
4127
|
-
|
|
4152
|
+
}, Si = Ei;
|
|
4153
|
+
function Z() {
|
|
4154
|
+
return Si;
|
|
4155
|
+
}
|
|
4156
|
+
const Me = xe(!1);
|
|
4157
|
+
var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
|
|
4158
|
+
for (var r in t || (t = {}))
|
|
4159
|
+
Bi.call(t, r) && St(e, r, t[r]);
|
|
4160
|
+
if (Et)
|
|
4161
|
+
for (var r of Et(t))
|
|
4162
|
+
Ai.call(t, r) && St(e, r, t[r]);
|
|
4128
4163
|
return e;
|
|
4129
|
-
},
|
|
4130
|
-
let
|
|
4131
|
-
const
|
|
4132
|
-
function
|
|
4164
|
+
}, Pi = (e, t) => Ti(e, Hi(t));
|
|
4165
|
+
let Ye;
|
|
4166
|
+
const ye = xe(null);
|
|
4167
|
+
function wt(e) {
|
|
4133
4168
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4134
4169
|
}
|
|
4135
|
-
function
|
|
4136
|
-
const r =
|
|
4137
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4170
|
+
function we(e, t = Z().fallbackLocale) {
|
|
4171
|
+
const r = wt(e);
|
|
4172
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
|
4138
4173
|
}
|
|
4139
4174
|
function G() {
|
|
4140
|
-
return
|
|
4175
|
+
return Ye ?? void 0;
|
|
4141
4176
|
}
|
|
4142
|
-
|
|
4143
|
-
|
|
4177
|
+
ye.subscribe((e) => {
|
|
4178
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4144
4179
|
});
|
|
4145
|
-
const
|
|
4146
|
-
if (e &&
|
|
4147
|
-
const { loadingDelay: t } =
|
|
4180
|
+
const Oi = (e) => {
|
|
4181
|
+
if (e && gi(e) && qe(e)) {
|
|
4182
|
+
const { loadingDelay: t } = Z();
|
|
4148
4183
|
let r;
|
|
4149
4184
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4150
|
-
() =>
|
|
4185
|
+
() => Me.set(!0),
|
|
4151
4186
|
t
|
|
4152
|
-
) :
|
|
4153
|
-
|
|
4187
|
+
) : Me.set(!0), hr(e).then(() => {
|
|
4188
|
+
ye.set(e);
|
|
4154
4189
|
}).finally(() => {
|
|
4155
|
-
clearTimeout(r),
|
|
4190
|
+
clearTimeout(r), Me.set(!1);
|
|
4156
4191
|
});
|
|
4157
4192
|
}
|
|
4158
|
-
return
|
|
4159
|
-
},
|
|
4160
|
-
set:
|
|
4161
|
-
}),
|
|
4193
|
+
return ye.set(e);
|
|
4194
|
+
}, Y = Pi(Ci({}, ye), {
|
|
4195
|
+
set: Oi
|
|
4196
|
+
}), Te = (e) => {
|
|
4162
4197
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4163
4198
|
return (n) => {
|
|
4164
4199
|
const i = JSON.stringify(n);
|
|
4165
4200
|
return i in t ? t[i] : t[i] = e(n);
|
|
4166
4201
|
};
|
|
4167
4202
|
};
|
|
4168
|
-
var
|
|
4203
|
+
var Ii = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
4169
4204
|
for (var r in t || (t = {}))
|
|
4170
|
-
|
|
4171
|
-
if (
|
|
4172
|
-
for (var r of
|
|
4173
|
-
|
|
4205
|
+
cr.call(t, r) && Tt(e, r, t[r]);
|
|
4206
|
+
if (ve)
|
|
4207
|
+
for (var r of ve(t))
|
|
4208
|
+
fr.call(t, r) && Tt(e, r, t[r]);
|
|
4174
4209
|
return e;
|
|
4175
|
-
},
|
|
4210
|
+
}, K = (e, t) => {
|
|
4176
4211
|
var r = {};
|
|
4177
4212
|
for (var n in e)
|
|
4178
|
-
|
|
4179
|
-
if (e != null &&
|
|
4180
|
-
for (var n of
|
|
4181
|
-
t.indexOf(n) < 0 &&
|
|
4213
|
+
cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4214
|
+
if (e != null && ve)
|
|
4215
|
+
for (var n of ve(e))
|
|
4216
|
+
t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
|
|
4182
4217
|
return r;
|
|
4183
4218
|
};
|
|
4184
|
-
const
|
|
4185
|
-
const { formats: r } =
|
|
4219
|
+
const ie = (e, t) => {
|
|
4220
|
+
const { formats: r } = Z();
|
|
4186
4221
|
if (e in r && t in r[e])
|
|
4187
4222
|
return r[e][t];
|
|
4188
4223
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4189
|
-
},
|
|
4224
|
+
}, Mi = Te(
|
|
4190
4225
|
(e) => {
|
|
4191
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4226
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4192
4227
|
if (r == null)
|
|
4193
4228
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4194
|
-
return n && (i =
|
|
4229
|
+
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4195
4230
|
}
|
|
4196
|
-
),
|
|
4231
|
+
), Ni = Te(
|
|
4197
4232
|
(e) => {
|
|
4198
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4233
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4199
4234
|
if (r == null)
|
|
4200
4235
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4201
|
-
return n ? i =
|
|
4236
|
+
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4202
4237
|
}
|
|
4203
|
-
),
|
|
4238
|
+
), Li = Te(
|
|
4204
4239
|
(e) => {
|
|
4205
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4240
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4206
4241
|
if (r == null)
|
|
4207
4242
|
throw new Error(
|
|
4208
4243
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4209
4244
|
);
|
|
4210
|
-
return n ? i =
|
|
4245
|
+
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4211
4246
|
}
|
|
4212
|
-
),
|
|
4247
|
+
), Ri = (e = {}) => {
|
|
4213
4248
|
var t = e, {
|
|
4214
4249
|
locale: r = G()
|
|
4215
|
-
} = t, n =
|
|
4250
|
+
} = t, n = K(t, [
|
|
4216
4251
|
"locale"
|
|
4217
4252
|
]);
|
|
4218
|
-
return
|
|
4219
|
-
},
|
|
4253
|
+
return Mi(tt({ locale: r }, n));
|
|
4254
|
+
}, $i = (e = {}) => {
|
|
4220
4255
|
var t = e, {
|
|
4221
4256
|
locale: r = G()
|
|
4222
|
-
} = t, n =
|
|
4257
|
+
} = t, n = K(t, [
|
|
4223
4258
|
"locale"
|
|
4224
4259
|
]);
|
|
4225
|
-
return
|
|
4226
|
-
},
|
|
4260
|
+
return Ni(tt({ locale: r }, n));
|
|
4261
|
+
}, Gi = (e = {}) => {
|
|
4227
4262
|
var t = e, {
|
|
4228
4263
|
locale: r = G()
|
|
4229
|
-
} = t, n =
|
|
4264
|
+
} = t, n = K(t, [
|
|
4230
4265
|
"locale"
|
|
4231
4266
|
]);
|
|
4232
|
-
return
|
|
4233
|
-
},
|
|
4267
|
+
return Li(tt({ locale: r }, n));
|
|
4268
|
+
}, Ui = Te(
|
|
4234
4269
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4235
|
-
(e, t = G()) => new
|
|
4236
|
-
ignoreTag:
|
|
4270
|
+
(e, t = G()) => new fi(e, t, Z().formats, {
|
|
4271
|
+
ignoreTag: Z().ignoreTag
|
|
4237
4272
|
})
|
|
4238
|
-
),
|
|
4273
|
+
), Di = (e, t = {}) => {
|
|
4239
4274
|
var r, n, i, o;
|
|
4240
4275
|
let s = t;
|
|
4241
4276
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4248,39 +4283,39 @@ const oe = (e, t) => {
|
|
|
4248
4283
|
throw new Error(
|
|
4249
4284
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4250
4285
|
);
|
|
4251
|
-
let h =
|
|
4286
|
+
let h = sr(e, l);
|
|
4252
4287
|
if (!h)
|
|
4253
|
-
h = (o = (i = (n = (r =
|
|
4288
|
+
h = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4254
4289
|
else if (typeof h != "string")
|
|
4255
4290
|
return console.warn(
|
|
4256
4291
|
`[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.`
|
|
4257
4292
|
), h;
|
|
4258
4293
|
if (!a)
|
|
4259
4294
|
return h;
|
|
4260
|
-
let
|
|
4295
|
+
let c = h;
|
|
4261
4296
|
try {
|
|
4262
|
-
|
|
4263
|
-
} catch (
|
|
4264
|
-
|
|
4297
|
+
c = Ui(h, l).format(a);
|
|
4298
|
+
} catch (f) {
|
|
4299
|
+
f instanceof Error && console.warn(
|
|
4265
4300
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4266
|
-
|
|
4301
|
+
f.message
|
|
4267
4302
|
);
|
|
4268
4303
|
}
|
|
4269
|
-
return
|
|
4270
|
-
},
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
window.emWidgets = { topic:
|
|
4276
|
-
const
|
|
4277
|
-
function
|
|
4304
|
+
return c;
|
|
4305
|
+
}, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = G()) => sr(e, t), Xi = q([Y, ae], () => Di);
|
|
4306
|
+
q([Y], () => Fi);
|
|
4307
|
+
q([Y], () => ji);
|
|
4308
|
+
q([Y], () => ki);
|
|
4309
|
+
q([Y, ae], () => Vi);
|
|
4310
|
+
window.emWidgets = { topic: nn };
|
|
4311
|
+
const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4312
|
+
function Wi(e, t) {
|
|
4278
4313
|
if (e) {
|
|
4279
4314
|
const r = document.createElement("style");
|
|
4280
4315
|
r.innerHTML = t, e.appendChild(r);
|
|
4281
4316
|
}
|
|
4282
4317
|
}
|
|
4283
|
-
function
|
|
4318
|
+
function Zi(e, t) {
|
|
4284
4319
|
const r = new URL(t);
|
|
4285
4320
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4286
4321
|
const i = document.createElement("style");
|
|
@@ -4289,7 +4324,7 @@ function Vi(e, t) {
|
|
|
4289
4324
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4290
4325
|
});
|
|
4291
4326
|
}
|
|
4292
|
-
function
|
|
4327
|
+
function Qi(e, t, r) {
|
|
4293
4328
|
if (window.emMessageBus) {
|
|
4294
4329
|
const n = document.createElement("style");
|
|
4295
4330
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4297,13 +4332,13 @@ function Xi(e, t, r) {
|
|
|
4297
4332
|
});
|
|
4298
4333
|
}
|
|
4299
4334
|
}
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4335
|
+
function Ht(e, t) {
|
|
4336
|
+
ur(e, t);
|
|
4302
4337
|
}
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4338
|
+
function Ji(e) {
|
|
4339
|
+
Y.set(e);
|
|
4305
4340
|
}
|
|
4306
|
-
const
|
|
4341
|
+
const Bt = {
|
|
4307
4342
|
en: {
|
|
4308
4343
|
cancel: "Cancel",
|
|
4309
4344
|
confirm: "Confirm"
|
|
@@ -4349,36 +4384,36 @@ const St = {
|
|
|
4349
4384
|
confirm: "Confirm"
|
|
4350
4385
|
}
|
|
4351
4386
|
};
|
|
4352
|
-
function
|
|
4353
|
-
|
|
4387
|
+
function qi(e) {
|
|
4388
|
+
Sr(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}');
|
|
4354
4389
|
}
|
|
4355
|
-
const
|
|
4356
|
-
function
|
|
4390
|
+
const Yi = (e) => ({}), At = (e) => ({});
|
|
4391
|
+
function Ki(e) {
|
|
4357
4392
|
let t, r;
|
|
4358
4393
|
return {
|
|
4359
4394
|
c() {
|
|
4360
|
-
t =
|
|
4395
|
+
t = it("svg"), r = it("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");
|
|
4361
4396
|
},
|
|
4362
4397
|
m(n, i) {
|
|
4363
|
-
|
|
4398
|
+
oe(n, t, i), B(t, r);
|
|
4364
4399
|
},
|
|
4365
|
-
p:
|
|
4400
|
+
p: L,
|
|
4366
4401
|
d(n) {
|
|
4367
|
-
n &&
|
|
4402
|
+
n && J(t);
|
|
4368
4403
|
}
|
|
4369
4404
|
};
|
|
4370
4405
|
}
|
|
4371
|
-
function
|
|
4406
|
+
function Ct(e) {
|
|
4372
4407
|
let t, r, n;
|
|
4373
4408
|
return {
|
|
4374
4409
|
c() {
|
|
4375
|
-
t =
|
|
4410
|
+
t = M("div"), r = M("h2"), n = V(
|
|
4376
4411
|
/*modaltitle*/
|
|
4377
4412
|
e[1]
|
|
4378
|
-
),
|
|
4413
|
+
), H(t, "class", "GeneralConfirmationTitle");
|
|
4379
4414
|
},
|
|
4380
4415
|
m(i, o) {
|
|
4381
|
-
|
|
4416
|
+
oe(i, t, o), B(t, r), B(r, n);
|
|
4382
4417
|
},
|
|
4383
4418
|
p(i, o) {
|
|
4384
4419
|
o & /*modaltitle*/
|
|
@@ -4389,21 +4424,21 @@ function Tt(e) {
|
|
|
4389
4424
|
);
|
|
4390
4425
|
},
|
|
4391
4426
|
d(i) {
|
|
4392
|
-
i &&
|
|
4427
|
+
i && J(t);
|
|
4393
4428
|
}
|
|
4394
4429
|
};
|
|
4395
4430
|
}
|
|
4396
|
-
function
|
|
4431
|
+
function Pt(e) {
|
|
4397
4432
|
let t, r = (
|
|
4398
4433
|
/*$_*/
|
|
4399
4434
|
e[4]("cancel") + ""
|
|
4400
4435
|
), n, i, o;
|
|
4401
4436
|
return {
|
|
4402
4437
|
c() {
|
|
4403
|
-
t =
|
|
4438
|
+
t = M("button"), n = V(r), H(t, "class", "GeneralCancelButton");
|
|
4404
4439
|
},
|
|
4405
4440
|
m(s, a) {
|
|
4406
|
-
|
|
4441
|
+
oe(s, t, a), B(t, n), i || (o = Ne(
|
|
4407
4442
|
t,
|
|
4408
4443
|
"click",
|
|
4409
4444
|
/*click_handler*/
|
|
@@ -4416,170 +4451,170 @@ function Ht(e) {
|
|
|
4416
4451
|
s[4]("cancel") + "") && be(n, r);
|
|
4417
4452
|
},
|
|
4418
4453
|
d(s) {
|
|
4419
|
-
s &&
|
|
4454
|
+
s && J(t), i = !1, o();
|
|
4420
4455
|
}
|
|
4421
4456
|
};
|
|
4422
4457
|
}
|
|
4423
|
-
function
|
|
4424
|
-
let t, r, n, i, o, s, a, l, u, h,
|
|
4458
|
+
function eo(e) {
|
|
4459
|
+
let t, r, n, i, o, s, a, l, u, h, c, f = (
|
|
4425
4460
|
/*$_*/
|
|
4426
4461
|
e[4]("confirm") + ""
|
|
4427
|
-
),
|
|
4462
|
+
), m, p, d, S;
|
|
4428
4463
|
const I = (
|
|
4429
4464
|
/*#slots*/
|
|
4430
4465
|
e[16].close
|
|
4431
|
-
), C =
|
|
4466
|
+
), C = vr(
|
|
4432
4467
|
I,
|
|
4433
4468
|
e,
|
|
4434
4469
|
/*$$scope*/
|
|
4435
4470
|
e[15],
|
|
4436
|
-
|
|
4437
|
-
),
|
|
4471
|
+
At
|
|
4472
|
+
), w = C || Ki();
|
|
4438
4473
|
let _ = (
|
|
4439
4474
|
/*modaltitle*/
|
|
4440
|
-
e[1] &&
|
|
4441
|
-
),
|
|
4475
|
+
e[1] && Ct(e)
|
|
4476
|
+
), x = (
|
|
4442
4477
|
/*hascancelbutton*/
|
|
4443
|
-
e[2] &&
|
|
4478
|
+
e[2] && Pt(e)
|
|
4444
4479
|
);
|
|
4445
4480
|
return {
|
|
4446
4481
|
c() {
|
|
4447
|
-
t =
|
|
4482
|
+
t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = ue(), _ && _.c(), o = ue(), s = M("div"), a = V(
|
|
4448
4483
|
/*modaltext*/
|
|
4449
4484
|
e[0]
|
|
4450
|
-
), l = ue(), u =
|
|
4451
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4452
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
4485
|
+
), l = ue(), u = M("div"), x && x.c(), h = ue(), c = M("button"), m = V(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4486
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4487
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4453
4488
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4454
4489
|
},
|
|
4455
|
-
m(
|
|
4456
|
-
|
|
4457
|
-
|
|
4490
|
+
m(v, P) {
|
|
4491
|
+
oe(v, t, P), B(t, r), B(r, n), w && w.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), x && x.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), p = !0, d || (S = [
|
|
4492
|
+
Ne(
|
|
4458
4493
|
n,
|
|
4459
4494
|
"click",
|
|
4460
4495
|
/*close*/
|
|
4461
4496
|
e[6]
|
|
4462
4497
|
),
|
|
4463
|
-
|
|
4464
|
-
|
|
4498
|
+
Ne(
|
|
4499
|
+
c,
|
|
4465
4500
|
"click",
|
|
4466
4501
|
/*click_handler_1*/
|
|
4467
4502
|
e[18]
|
|
4468
4503
|
)
|
|
4469
|
-
],
|
|
4504
|
+
], d = !0);
|
|
4470
4505
|
},
|
|
4471
|
-
p(
|
|
4472
|
-
C && C.p && (!
|
|
4473
|
-
32768) &&
|
|
4506
|
+
p(v, [P]) {
|
|
4507
|
+
C && C.p && (!p || P & /*$$scope*/
|
|
4508
|
+
32768) && xr(
|
|
4474
4509
|
C,
|
|
4475
4510
|
I,
|
|
4476
|
-
|
|
4511
|
+
v,
|
|
4477
4512
|
/*$$scope*/
|
|
4478
|
-
|
|
4479
|
-
|
|
4513
|
+
v[15],
|
|
4514
|
+
p ? _r(
|
|
4480
4515
|
I,
|
|
4481
4516
|
/*$$scope*/
|
|
4482
|
-
|
|
4517
|
+
v[15],
|
|
4483
4518
|
P,
|
|
4484
|
-
|
|
4485
|
-
) :
|
|
4519
|
+
Yi
|
|
4520
|
+
) : Er(
|
|
4486
4521
|
/*$$scope*/
|
|
4487
|
-
|
|
4522
|
+
v[15]
|
|
4488
4523
|
),
|
|
4489
|
-
|
|
4524
|
+
At
|
|
4490
4525
|
), /*modaltitle*/
|
|
4491
|
-
|
|
4526
|
+
v[1] ? _ ? _.p(v, P) : (_ = Ct(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || P & /*modaltext*/
|
|
4492
4527
|
1) && be(
|
|
4493
4528
|
a,
|
|
4494
4529
|
/*modaltext*/
|
|
4495
|
-
|
|
4530
|
+
v[0]
|
|
4496
4531
|
), /*hascancelbutton*/
|
|
4497
|
-
|
|
4498
|
-
16) &&
|
|
4499
|
-
|
|
4532
|
+
v[2] ? x ? x.p(v, P) : (x = Pt(v), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!p || P & /*$_*/
|
|
4533
|
+
16) && f !== (f = /*$_*/
|
|
4534
|
+
v[4]("confirm") + "") && be(m, f);
|
|
4500
4535
|
},
|
|
4501
|
-
i(
|
|
4502
|
-
|
|
4536
|
+
i(v) {
|
|
4537
|
+
p || (Lt(w, v), p = !0);
|
|
4503
4538
|
},
|
|
4504
|
-
o(
|
|
4505
|
-
|
|
4539
|
+
o(v) {
|
|
4540
|
+
Lr(w, v), p = !1;
|
|
4506
4541
|
},
|
|
4507
|
-
d(
|
|
4508
|
-
|
|
4542
|
+
d(v) {
|
|
4543
|
+
v && J(t), w && w.d(v), _ && _.d(), x && x.d(), e[19](null), d = !1, Q(S);
|
|
4509
4544
|
}
|
|
4510
4545
|
};
|
|
4511
4546
|
}
|
|
4512
|
-
function
|
|
4547
|
+
function to(e, t, r) {
|
|
4513
4548
|
let n;
|
|
4514
|
-
|
|
4515
|
-
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:
|
|
4516
|
-
const
|
|
4549
|
+
yr(e, Xi, (g) => r(4, n = g));
|
|
4550
|
+
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: p = "" } = t, { mbsource: d } = t, S, I = window.navigator.userAgent, C = zi(I) !== "PC";
|
|
4551
|
+
const w = () => {
|
|
4517
4552
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4518
4553
|
}, _ = (g) => {
|
|
4519
|
-
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href),
|
|
4520
|
-
},
|
|
4521
|
-
fetch(
|
|
4522
|
-
Object.keys(U).forEach((
|
|
4523
|
-
|
|
4554
|
+
g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), w();
|
|
4555
|
+
}, x = () => {
|
|
4556
|
+
fetch(p).then((U) => U.json()).then((U) => {
|
|
4557
|
+
Object.keys(U).forEach((rt) => {
|
|
4558
|
+
Ht(rt, U[rt]);
|
|
4524
4559
|
});
|
|
4525
4560
|
}).catch((U) => {
|
|
4526
4561
|
console.log(U);
|
|
4527
4562
|
});
|
|
4528
4563
|
};
|
|
4529
|
-
Object.keys(
|
|
4530
|
-
|
|
4564
|
+
Object.keys(Bt).forEach((g) => {
|
|
4565
|
+
Ht(g, Bt[g]);
|
|
4531
4566
|
});
|
|
4532
|
-
const
|
|
4533
|
-
|
|
4567
|
+
const v = () => {
|
|
4568
|
+
Ji(c);
|
|
4534
4569
|
};
|
|
4535
|
-
|
|
4570
|
+
Cr(() => () => {
|
|
4536
4571
|
});
|
|
4537
|
-
const P = () => _("cancel"),
|
|
4538
|
-
function
|
|
4539
|
-
|
|
4540
|
-
|
|
4572
|
+
const P = () => _("cancel"), pr = () => _("confirm");
|
|
4573
|
+
function dr(g) {
|
|
4574
|
+
Le[g ? "unshift" : "push"](() => {
|
|
4575
|
+
S = g, r(3, S);
|
|
4541
4576
|
});
|
|
4542
4577
|
}
|
|
4543
4578
|
return e.$$set = (g) => {
|
|
4544
|
-
"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,
|
|
4579
|
+
"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, p = g.translationurl), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
|
|
4545
4580
|
}, e.$$.update = () => {
|
|
4546
4581
|
e.$$.dirty & /*modaltext, lang*/
|
|
4547
|
-
1025 && s &&
|
|
4548
|
-
2056 &&
|
|
4549
|
-
4104 &&
|
|
4550
|
-
16392 &&
|
|
4551
|
-
8192 &&
|
|
4582
|
+
1025 && s && c && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4583
|
+
2056 && f && S && Wi(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4584
|
+
4104 && m && S && Zi(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4585
|
+
16392 && d && S && Qi(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4586
|
+
8192 && p && x();
|
|
4552
4587
|
}, [
|
|
4553
4588
|
s,
|
|
4554
4589
|
a,
|
|
4555
4590
|
l,
|
|
4556
|
-
|
|
4591
|
+
S,
|
|
4557
4592
|
n,
|
|
4558
4593
|
C,
|
|
4559
|
-
|
|
4594
|
+
w,
|
|
4560
4595
|
_,
|
|
4561
4596
|
u,
|
|
4562
4597
|
h,
|
|
4563
|
-
f,
|
|
4564
4598
|
c,
|
|
4565
|
-
|
|
4599
|
+
f,
|
|
4566
4600
|
m,
|
|
4567
4601
|
p,
|
|
4602
|
+
d,
|
|
4568
4603
|
o,
|
|
4569
4604
|
i,
|
|
4570
4605
|
P,
|
|
4571
|
-
|
|
4572
|
-
|
|
4606
|
+
pr,
|
|
4607
|
+
dr
|
|
4573
4608
|
];
|
|
4574
4609
|
}
|
|
4575
|
-
class
|
|
4610
|
+
class mr extends Fr {
|
|
4576
4611
|
constructor(t) {
|
|
4577
|
-
super(),
|
|
4612
|
+
super(), Ur(
|
|
4578
4613
|
this,
|
|
4579
4614
|
t,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4615
|
+
to,
|
|
4616
|
+
eo,
|
|
4617
|
+
It,
|
|
4583
4618
|
{
|
|
4584
4619
|
modaltext: 0,
|
|
4585
4620
|
modaltitle: 1,
|
|
@@ -4592,7 +4627,7 @@ class lr extends $r {
|
|
|
4592
4627
|
translationurl: 13,
|
|
4593
4628
|
mbsource: 14
|
|
4594
4629
|
},
|
|
4595
|
-
|
|
4630
|
+
qi
|
|
4596
4631
|
);
|
|
4597
4632
|
}
|
|
4598
4633
|
get modaltext() {
|
|
@@ -4656,50 +4691,50 @@ class lr extends $r {
|
|
|
4656
4691
|
this.$$set({ mbsource: t }), O();
|
|
4657
4692
|
}
|
|
4658
4693
|
}
|
|
4659
|
-
|
|
4660
|
-
const
|
|
4694
|
+
Dr(mr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4695
|
+
const co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4661
4696
|
__proto__: null,
|
|
4662
|
-
default:
|
|
4697
|
+
default: mr
|
|
4663
4698
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4664
4699
|
export {
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4700
|
+
Y as $,
|
|
4701
|
+
ao as A,
|
|
4702
|
+
Ne as B,
|
|
4703
|
+
V as C,
|
|
4704
|
+
no as D,
|
|
4705
|
+
$e as E,
|
|
4706
|
+
it as F,
|
|
4707
|
+
oo as G,
|
|
4708
|
+
Xi as H,
|
|
4709
|
+
Wi as I,
|
|
4710
|
+
Zi as J,
|
|
4711
|
+
Qi as K,
|
|
4712
|
+
co as P,
|
|
4713
|
+
Fr as S,
|
|
4714
|
+
ur as a,
|
|
4715
|
+
Dr as b,
|
|
4716
|
+
ho as c,
|
|
4717
|
+
Sr as d,
|
|
4718
|
+
J as e,
|
|
4684
4719
|
O as f,
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4720
|
+
kr as g,
|
|
4721
|
+
oe as h,
|
|
4722
|
+
Ur as i,
|
|
4723
|
+
M as j,
|
|
4724
|
+
yr as k,
|
|
4725
|
+
zi as l,
|
|
4726
|
+
uo as m,
|
|
4727
|
+
L as n,
|
|
4728
|
+
Cr as o,
|
|
4729
|
+
Le as p,
|
|
4730
|
+
B as q,
|
|
4731
|
+
ue as r,
|
|
4732
|
+
It as s,
|
|
4733
|
+
io as t,
|
|
4734
|
+
so as u,
|
|
4735
|
+
H as v,
|
|
4736
|
+
lo as w,
|
|
4737
|
+
ro as x,
|
|
4738
|
+
Q as y,
|
|
4739
|
+
be as z
|
|
4705
4740
|
};
|