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