@everymatrix/cashier-receipt-page-nd 0.1.4 → 0.1.5
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/{CashierError-DEbZ5be6.js → CashierError-CNXQNZZh.js} +776 -808
- package/components/CashierError-CcXkeFHB.cjs +8 -0
- package/components/{CashierError-2JTB_G8Y.js → CashierError-D8uXC0d6.js} +797 -829
- package/components/{CashierReceiptPage-sj16x01S.cjs → CashierReceiptPage-BEHtPF47.cjs} +16 -3
- package/components/{CashierReceiptPage-DF6_dEIY.js → CashierReceiptPage-DU5vkhNt.js} +588 -539
- package/components/{CashierReceiptPage-BoVGREGa.js → CashierReceiptPage-I7pC1qy8.js} +584 -535
- package/es2015/cashier-receipt-page-nd.cjs +1 -1
- package/es2015/cashier-receipt-page-nd.js +1 -1
- package/esnext/cashier-receipt-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CashierError-BLpMSo_b.cjs +0 -21
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
2
|
function w() {
|
|
3
3
|
}
|
|
4
4
|
const At = (e) => e;
|
|
@@ -16,18 +16,18 @@ function Pt(e) {
|
|
|
16
16
|
function it() {
|
|
17
17
|
return /* @__PURE__ */ Object.create(null);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function $(e) {
|
|
20
20
|
e.forEach(Pt);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function oe(e) {
|
|
23
23
|
return typeof e == "function";
|
|
24
24
|
}
|
|
25
25
|
function Ot(e, t) {
|
|
26
26
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
27
27
|
}
|
|
28
|
-
let
|
|
28
|
+
let he;
|
|
29
29
|
function st(e, t) {
|
|
30
|
-
return e === t ? !0 : (
|
|
30
|
+
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
31
31
|
}
|
|
32
32
|
function gr(e) {
|
|
33
33
|
return Object.keys(e).length === 0;
|
|
@@ -44,7 +44,7 @@ function It(e, ...t) {
|
|
|
44
44
|
function br(e, t, r) {
|
|
45
45
|
e.$$.on_destroy.push(It(t, r));
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function ce(e, t, r, n) {
|
|
48
48
|
if (e) {
|
|
49
49
|
const i = Ct(e, t, r, n);
|
|
50
50
|
return e[0](i);
|
|
@@ -53,28 +53,28 @@ function he(e, t, r, n) {
|
|
|
53
53
|
function Ct(e, t, r, n) {
|
|
54
54
|
return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function fe(e, t, r, n) {
|
|
57
57
|
if (e[2] && n) {
|
|
58
58
|
const i = e[2](n(r));
|
|
59
59
|
if (t.dirty === void 0)
|
|
60
60
|
return i;
|
|
61
61
|
if (typeof i == "object") {
|
|
62
|
-
const s = [],
|
|
63
|
-
for (let
|
|
64
|
-
s[
|
|
62
|
+
const s = [], o = Math.max(t.dirty.length, i.length);
|
|
63
|
+
for (let a = 0; a < o; a += 1)
|
|
64
|
+
s[a] = t.dirty[a] | i[a];
|
|
65
65
|
return s;
|
|
66
66
|
}
|
|
67
67
|
return t.dirty | i;
|
|
68
68
|
}
|
|
69
69
|
return t.dirty;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function me(e, t, r, n, i, s) {
|
|
72
72
|
if (i) {
|
|
73
|
-
const
|
|
74
|
-
e.p(
|
|
73
|
+
const o = Ct(t, r, n, s);
|
|
74
|
+
e.p(o, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function de(e) {
|
|
78
78
|
if (e.ctx.length > 32) {
|
|
79
79
|
const t = [], r = e.ctx.length / 32;
|
|
80
80
|
for (let n = 0; n < r; n++)
|
|
@@ -84,35 +84,35 @@ function me(e) {
|
|
|
84
84
|
return -1;
|
|
85
85
|
}
|
|
86
86
|
const Nt = typeof window < "u";
|
|
87
|
-
let
|
|
88
|
-
const
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
t.c(e) || (
|
|
92
|
-
}),
|
|
87
|
+
let Lt = Nt ? () => window.performance.now() : () => Date.now(), Ke = Nt ? (e) => requestAnimationFrame(e) : w;
|
|
88
|
+
const G = /* @__PURE__ */ new Set();
|
|
89
|
+
function Mt(e) {
|
|
90
|
+
G.forEach((t) => {
|
|
91
|
+
t.c(e) || (G.delete(t), t.f());
|
|
92
|
+
}), G.size !== 0 && Ke(Mt);
|
|
93
93
|
}
|
|
94
94
|
function $t(e) {
|
|
95
95
|
let t;
|
|
96
|
-
return
|
|
96
|
+
return G.size === 0 && Ke(Mt), {
|
|
97
97
|
promise: new Promise((r) => {
|
|
98
|
-
|
|
98
|
+
G.add(t = { c: e, f: r });
|
|
99
99
|
}),
|
|
100
100
|
abort() {
|
|
101
|
-
|
|
101
|
+
G.delete(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function O(e, t) {
|
|
106
106
|
e.appendChild(t);
|
|
107
107
|
}
|
|
108
108
|
function yr(e, t, r) {
|
|
109
|
-
const n =
|
|
109
|
+
const n = et(e);
|
|
110
110
|
if (!n.getElementById(t)) {
|
|
111
|
-
const i =
|
|
111
|
+
const i = P("style");
|
|
112
112
|
i.id = t, i.textContent = r, Rt(n, i);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function et(e) {
|
|
116
116
|
if (!e)
|
|
117
117
|
return document;
|
|
118
118
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -123,50 +123,50 @@ function Ye(e) {
|
|
|
123
123
|
) : e.ownerDocument;
|
|
124
124
|
}
|
|
125
125
|
function _r(e) {
|
|
126
|
-
const t =
|
|
127
|
-
return t.textContent = "/* empty */", Rt(
|
|
126
|
+
const t = P("style");
|
|
127
|
+
return t.textContent = "/* empty */", Rt(et(e), t), t.sheet;
|
|
128
128
|
}
|
|
129
129
|
function Rt(e, t) {
|
|
130
|
-
return
|
|
130
|
+
return O(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Z(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function N(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Zi(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function P(e) {
|
|
147
147
|
return document.createElement(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Ji(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Pe(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function Le() {
|
|
156
|
+
return Pe(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function Er() {
|
|
159
|
+
return Pe("");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function vr(e, t, r, n) {
|
|
162
162
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function j(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function pe(e, t, r) {
|
|
168
168
|
const n = t.toLowerCase();
|
|
169
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
169
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
|
|
170
170
|
}
|
|
171
171
|
function xr(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
@@ -187,8 +187,8 @@ function Hr(e) {
|
|
|
187
187
|
}
|
|
188
188
|
), t;
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
let
|
|
190
|
+
const xe = /* @__PURE__ */ new Map();
|
|
191
|
+
let Te = 0;
|
|
192
192
|
function wr(e) {
|
|
193
193
|
let t = 5381, r = e.length;
|
|
194
194
|
for (; r--; )
|
|
@@ -197,157 +197,157 @@ function wr(e) {
|
|
|
197
197
|
}
|
|
198
198
|
function Sr(e, t) {
|
|
199
199
|
const r = { stylesheet: _r(t), rules: {} };
|
|
200
|
-
return
|
|
200
|
+
return xe.set(e, r), r;
|
|
201
201
|
}
|
|
202
|
-
function Ut(e, t, r, n, i, s,
|
|
202
|
+
function Ut(e, t, r, n, i, s, o, a = 0) {
|
|
203
203
|
const h = 16.666 / n;
|
|
204
204
|
let u = `{
|
|
205
205
|
`;
|
|
206
|
-
for (let
|
|
207
|
-
const E = t + (r - t) * s(
|
|
208
|
-
u +=
|
|
206
|
+
for (let v = 0; v <= 1; v += h) {
|
|
207
|
+
const E = t + (r - t) * s(v);
|
|
208
|
+
u += v * 100 + `%{${o(E, 1 - E)}}
|
|
209
209
|
`;
|
|
210
210
|
}
|
|
211
|
-
const l = u + `100% {${
|
|
212
|
-
}`, c = `__svelte_${wr(l)}_${
|
|
211
|
+
const l = u + `100% {${o(r, 1 - r)}}
|
|
212
|
+
}`, c = `__svelte_${wr(l)}_${a}`, m = et(e), { stylesheet: d, rules: p } = xe.get(m) || Sr(m, e);
|
|
213
213
|
p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
|
|
214
|
-
const
|
|
215
|
-
return e.style.animation = `${
|
|
214
|
+
const _ = e.style.animation || "";
|
|
215
|
+
return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Fe(e, t) {
|
|
218
218
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
219
219
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
220
220
|
// remove all Svelte animations
|
|
221
221
|
), i = r.length - n.length;
|
|
222
|
-
i && (e.style.animation = n.join(", "),
|
|
222
|
+
i && (e.style.animation = n.join(", "), Te -= i, Te || Br());
|
|
223
223
|
}
|
|
224
224
|
function Br() {
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
Ke(() => {
|
|
226
|
+
Te || (xe.forEach((e) => {
|
|
227
227
|
const { ownerNode: t } = e.stylesheet;
|
|
228
|
-
t &&
|
|
229
|
-
}),
|
|
228
|
+
t && N(t);
|
|
229
|
+
}), xe.clear());
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
function
|
|
234
|
-
|
|
232
|
+
let re;
|
|
233
|
+
function te(e) {
|
|
234
|
+
re = e;
|
|
235
235
|
}
|
|
236
236
|
function Ar() {
|
|
237
|
-
if (!
|
|
237
|
+
if (!re)
|
|
238
238
|
throw new Error("Function called outside component initialization");
|
|
239
|
-
return
|
|
239
|
+
return re;
|
|
240
240
|
}
|
|
241
241
|
function Pr(e) {
|
|
242
242
|
Ar().$$.on_mount.push(e);
|
|
243
243
|
}
|
|
244
|
-
const
|
|
245
|
-
let
|
|
246
|
-
const
|
|
247
|
-
let
|
|
244
|
+
const k = [], je = [];
|
|
245
|
+
let F = [];
|
|
246
|
+
const ot = [], Or = /* @__PURE__ */ Promise.resolve();
|
|
247
|
+
let ze = !1;
|
|
248
248
|
function Ir() {
|
|
249
|
-
|
|
249
|
+
ze || (ze = !0, Or.then(A));
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
|
|
251
|
+
function ne(e) {
|
|
252
|
+
F.push(e);
|
|
253
253
|
}
|
|
254
|
-
const
|
|
255
|
-
let
|
|
256
|
-
function
|
|
257
|
-
if (
|
|
254
|
+
const Me = /* @__PURE__ */ new Set();
|
|
255
|
+
let D = 0;
|
|
256
|
+
function A() {
|
|
257
|
+
if (D !== 0)
|
|
258
258
|
return;
|
|
259
|
-
const e =
|
|
259
|
+
const e = re;
|
|
260
260
|
do {
|
|
261
261
|
try {
|
|
262
|
-
for (;
|
|
263
|
-
const t =
|
|
264
|
-
|
|
262
|
+
for (; D < k.length; ) {
|
|
263
|
+
const t = k[D];
|
|
264
|
+
D++, te(t), Cr(t.$$);
|
|
265
265
|
}
|
|
266
266
|
} catch (t) {
|
|
267
|
-
throw
|
|
267
|
+
throw k.length = 0, D = 0, t;
|
|
268
268
|
}
|
|
269
|
-
for (
|
|
270
|
-
|
|
271
|
-
for (let t = 0; t <
|
|
272
|
-
const r =
|
|
273
|
-
|
|
269
|
+
for (te(null), k.length = 0, D = 0; je.length; )
|
|
270
|
+
je.pop()();
|
|
271
|
+
for (let t = 0; t < F.length; t += 1) {
|
|
272
|
+
const r = F[t];
|
|
273
|
+
Me.has(r) || (Me.add(r), r());
|
|
274
274
|
}
|
|
275
|
-
|
|
276
|
-
} while (
|
|
277
|
-
for (;
|
|
278
|
-
|
|
279
|
-
|
|
275
|
+
F.length = 0;
|
|
276
|
+
} while (k.length);
|
|
277
|
+
for (; ot.length; )
|
|
278
|
+
ot.pop()();
|
|
279
|
+
ze = !1, Me.clear(), te(e);
|
|
280
280
|
}
|
|
281
281
|
function Cr(e) {
|
|
282
282
|
if (e.fragment !== null) {
|
|
283
|
-
e.update(),
|
|
283
|
+
e.update(), $(e.before_update);
|
|
284
284
|
const t = e.dirty;
|
|
285
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
285
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
function Nr(e) {
|
|
289
289
|
const t = [], r = [];
|
|
290
|
-
|
|
290
|
+
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
|
291
291
|
}
|
|
292
|
-
let
|
|
292
|
+
let Q;
|
|
293
293
|
function kt() {
|
|
294
|
-
return
|
|
295
|
-
|
|
296
|
-
})),
|
|
294
|
+
return Q || (Q = Promise.resolve(), Q.then(() => {
|
|
295
|
+
Q = null;
|
|
296
|
+
})), Q;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function He(e, t, r) {
|
|
299
299
|
e.dispatchEvent(Tr(`${t ? "intro" : "outro"}${r}`));
|
|
300
300
|
}
|
|
301
|
-
const
|
|
302
|
-
let
|
|
303
|
-
function
|
|
304
|
-
|
|
301
|
+
const ye = /* @__PURE__ */ new Set();
|
|
302
|
+
let I;
|
|
303
|
+
function qi() {
|
|
304
|
+
I = {
|
|
305
305
|
r: 0,
|
|
306
306
|
c: [],
|
|
307
|
-
p:
|
|
307
|
+
p: I
|
|
308
308
|
// parent group
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
|
-
function
|
|
312
|
-
|
|
311
|
+
function Qi() {
|
|
312
|
+
I.r || $(I.c), I = I.p;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
e && e.i && (
|
|
314
|
+
function K(e, t) {
|
|
315
|
+
e && e.i && (ye.delete(e), e.i(t));
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function ge(e, t, r, n) {
|
|
318
318
|
if (e && e.o) {
|
|
319
|
-
if (
|
|
319
|
+
if (ye.has(e))
|
|
320
320
|
return;
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
ye.add(e), I.c.push(() => {
|
|
322
|
+
ye.delete(e), n && (r && e.d(1), n());
|
|
323
323
|
}), e.o(t);
|
|
324
324
|
} else
|
|
325
325
|
n && n();
|
|
326
326
|
}
|
|
327
327
|
const Gt = { duration: 0 };
|
|
328
|
-
function
|
|
328
|
+
function Yi(e, t, r) {
|
|
329
329
|
const n = { direction: "in" };
|
|
330
|
-
let i = t(e, r, n), s = !1,
|
|
330
|
+
let i = t(e, r, n), s = !1, o, a, h = 0;
|
|
331
331
|
function u() {
|
|
332
|
-
|
|
332
|
+
o && Fe(e, o);
|
|
333
333
|
}
|
|
334
334
|
function l() {
|
|
335
335
|
const {
|
|
336
336
|
delay: m = 0,
|
|
337
337
|
duration: d = 300,
|
|
338
338
|
easing: p = At,
|
|
339
|
-
tick:
|
|
340
|
-
css:
|
|
339
|
+
tick: _ = w,
|
|
340
|
+
css: v
|
|
341
341
|
} = i || Gt;
|
|
342
|
-
|
|
343
|
-
const E =
|
|
344
|
-
|
|
342
|
+
v && (o = Ut(e, 0, 1, d, m, p, v, h++)), _(0, 1);
|
|
343
|
+
const E = Lt() + m, f = E + d;
|
|
344
|
+
a && a.abort(), s = !0, ne(() => He(e, !0, "start")), a = $t((g) => {
|
|
345
345
|
if (s) {
|
|
346
346
|
if (g >= f)
|
|
347
|
-
return
|
|
347
|
+
return _(1, 0), He(e, !0, "end"), u(), s = !1;
|
|
348
348
|
if (g >= E) {
|
|
349
349
|
const S = p((g - E) / d);
|
|
350
|
-
|
|
350
|
+
_(S, 1 - S);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
return s;
|
|
@@ -356,7 +356,7 @@ function Qi(e, t, r) {
|
|
|
356
356
|
let c = !1;
|
|
357
357
|
return {
|
|
358
358
|
start() {
|
|
359
|
-
c || (c = !0,
|
|
359
|
+
c || (c = !0, Fe(e), oe(i) ? (i = i(n), kt().then(l)) : l());
|
|
360
360
|
},
|
|
361
361
|
invalidate() {
|
|
362
362
|
c = !1;
|
|
@@ -366,11 +366,11 @@ function Qi(e, t, r) {
|
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Ki(e, t, r) {
|
|
370
370
|
const n = { direction: "out" };
|
|
371
|
-
let i = t(e, r, n), s = !0,
|
|
372
|
-
const
|
|
373
|
-
|
|
371
|
+
let i = t(e, r, n), s = !0, o;
|
|
372
|
+
const a = I;
|
|
373
|
+
a.r += 1;
|
|
374
374
|
let h;
|
|
375
375
|
function u() {
|
|
376
376
|
const {
|
|
@@ -380,49 +380,49 @@ function Yi(e, t, r) {
|
|
|
380
380
|
tick: d = w,
|
|
381
381
|
css: p
|
|
382
382
|
} = i || Gt;
|
|
383
|
-
p && (
|
|
384
|
-
const
|
|
385
|
-
|
|
383
|
+
p && (o = Ut(e, 1, 0, c, l, m, p));
|
|
384
|
+
const _ = Lt() + l, v = _ + c;
|
|
385
|
+
ne(() => He(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
|
|
386
386
|
e.inert, e.inert = !0), $t((E) => {
|
|
387
387
|
if (s) {
|
|
388
|
-
if (E >=
|
|
389
|
-
return d(0, 1),
|
|
390
|
-
if (E >=
|
|
391
|
-
const f = m((E -
|
|
388
|
+
if (E >= v)
|
|
389
|
+
return d(0, 1), He(e, !1, "end"), --a.r || $(a.c), !1;
|
|
390
|
+
if (E >= _) {
|
|
391
|
+
const f = m((E - _) / c);
|
|
392
392
|
d(1 - f, f);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
return s;
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
|
-
return
|
|
398
|
+
return oe(i) ? kt().then(() => {
|
|
399
399
|
i = i(n), u();
|
|
400
400
|
}) : u(), {
|
|
401
401
|
end(l) {
|
|
402
|
-
l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (
|
|
402
|
+
l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && Fe(e, o), s = !1);
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function es(e) {
|
|
407
407
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Lr(e, t, r) {
|
|
410
410
|
const { fragment: n, after_update: i } = e.$$;
|
|
411
|
-
n && n.m(t, r),
|
|
412
|
-
const s = e.$$.on_mount.map(Pt).filter(
|
|
413
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
414
|
-
}), i.forEach(
|
|
411
|
+
n && n.m(t, r), ne(() => {
|
|
412
|
+
const s = e.$$.on_mount.map(Pt).filter(oe);
|
|
413
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
|
|
414
|
+
}), i.forEach(ne);
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Mr(e, t) {
|
|
417
417
|
const r = e.$$;
|
|
418
|
-
r.fragment !== null && (Nr(r.after_update),
|
|
418
|
+
r.fragment !== null && (Nr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
419
419
|
}
|
|
420
420
|
function $r(e, t) {
|
|
421
|
-
e.$$.dirty[0] === -1 && (
|
|
421
|
+
e.$$.dirty[0] === -1 && (k.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
422
422
|
}
|
|
423
|
-
function Rr(e, t, r, n, i, s,
|
|
424
|
-
const h =
|
|
425
|
-
|
|
423
|
+
function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
424
|
+
const h = re;
|
|
425
|
+
te(e);
|
|
426
426
|
const u = e.$$ = {
|
|
427
427
|
fragment: null,
|
|
428
428
|
ctx: [],
|
|
@@ -440,24 +440,24 @@ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
440
440
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
441
441
|
// everything else
|
|
442
442
|
callbacks: it(),
|
|
443
|
-
dirty:
|
|
443
|
+
dirty: a,
|
|
444
444
|
skip_bound: !1,
|
|
445
445
|
root: t.target || h.$$.root
|
|
446
446
|
};
|
|
447
|
-
|
|
447
|
+
o && o(u.root);
|
|
448
448
|
let l = !1;
|
|
449
449
|
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
|
|
450
450
|
const p = d.length ? d[0] : m;
|
|
451
451
|
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && $r(e, c)), m;
|
|
452
|
-
}) : [], u.update(), l = !0,
|
|
452
|
+
}) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
453
453
|
if (t.hydrate) {
|
|
454
454
|
const c = xr(t.target);
|
|
455
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
455
|
+
u.fragment && u.fragment.l(c), c.forEach(N);
|
|
456
456
|
} else
|
|
457
457
|
u.fragment && u.fragment.c();
|
|
458
|
-
t.intro &&
|
|
458
|
+
t.intro && K(e.$$.fragment), Lr(e, t.target, t.anchor), A();
|
|
459
459
|
}
|
|
460
|
-
|
|
460
|
+
te(h);
|
|
461
461
|
}
|
|
462
462
|
let Ft;
|
|
463
463
|
typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
@@ -502,17 +502,17 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
502
502
|
let s;
|
|
503
503
|
return {
|
|
504
504
|
c: function() {
|
|
505
|
-
s =
|
|
505
|
+
s = P("slot"), i !== "default" && j(s, "name", i);
|
|
506
506
|
},
|
|
507
507
|
/**
|
|
508
508
|
* @param {HTMLElement} target
|
|
509
509
|
* @param {HTMLElement} [anchor]
|
|
510
510
|
*/
|
|
511
511
|
m: function(h, u) {
|
|
512
|
-
|
|
512
|
+
Z(h, s, u);
|
|
513
513
|
},
|
|
514
514
|
d: function(h) {
|
|
515
|
-
h &&
|
|
515
|
+
h && N(s);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
};
|
|
@@ -524,7 +524,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
524
524
|
i in r && (t[i] = [e(i)]);
|
|
525
525
|
for (const i of this.attributes) {
|
|
526
526
|
const s = this.$$g_p(i.name);
|
|
527
|
-
s in this.$$d || (this.$$d[s] =
|
|
527
|
+
s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
|
|
528
528
|
}
|
|
529
529
|
for (const i in this.$$p_d)
|
|
530
530
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
542
542
|
this.$$r = !0;
|
|
543
543
|
for (const i in this.$$p_d)
|
|
544
544
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
545
|
-
const s =
|
|
545
|
+
const s = _e(
|
|
546
546
|
i,
|
|
547
547
|
this.$$d[i],
|
|
548
548
|
this.$$p_d,
|
|
@@ -555,8 +555,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
555
555
|
this.$$c.$$.after_update.push(n), n();
|
|
556
556
|
for (const i in this.$$l)
|
|
557
557
|
for (const s of this.$$l[i]) {
|
|
558
|
-
const
|
|
559
|
-
this.$$l_u.set(s,
|
|
558
|
+
const o = this.$$c.$on(i, s);
|
|
559
|
+
this.$$l_u.set(s, o);
|
|
560
560
|
}
|
|
561
561
|
this.$$l = {};
|
|
562
562
|
}
|
|
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
564
564
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
565
565
|
// and setting attributes through setAttribute etc, this is helpful
|
|
566
566
|
attributeChangedCallback(e, t, r) {
|
|
567
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
567
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
568
568
|
}
|
|
569
569
|
disconnectedCallback() {
|
|
570
570
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
577
577
|
) || e;
|
|
578
578
|
}
|
|
579
579
|
});
|
|
580
|
-
function
|
|
580
|
+
function _e(e, t, r, n) {
|
|
581
581
|
const i = r[e]?.type;
|
|
582
582
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
583
583
|
return t;
|
|
@@ -607,33 +607,33 @@ function ye(e, t, r, n) {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
function Dr(e, t, r, n, i, s) {
|
|
610
|
-
let
|
|
610
|
+
let o = class extends Ft {
|
|
611
611
|
constructor() {
|
|
612
612
|
super(e, r, i), this.$$p_d = t;
|
|
613
613
|
}
|
|
614
614
|
static get observedAttributes() {
|
|
615
615
|
return Object.keys(t).map(
|
|
616
|
-
(
|
|
616
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
617
617
|
);
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
|
-
return Object.keys(t).forEach((
|
|
621
|
-
Object.defineProperty(
|
|
620
|
+
return Object.keys(t).forEach((a) => {
|
|
621
|
+
Object.defineProperty(o.prototype, a, {
|
|
622
622
|
get() {
|
|
623
|
-
return this.$$c &&
|
|
623
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
624
624
|
},
|
|
625
625
|
set(h) {
|
|
626
|
-
h =
|
|
626
|
+
h = _e(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
627
627
|
}
|
|
628
628
|
});
|
|
629
|
-
}), n.forEach((
|
|
630
|
-
Object.defineProperty(
|
|
629
|
+
}), n.forEach((a) => {
|
|
630
|
+
Object.defineProperty(o.prototype, a, {
|
|
631
631
|
get() {
|
|
632
|
-
return this.$$c?.[
|
|
632
|
+
return this.$$c?.[a];
|
|
633
633
|
}
|
|
634
634
|
});
|
|
635
635
|
}), e.element = /** @type {any} */
|
|
636
|
-
|
|
636
|
+
o, o;
|
|
637
637
|
}
|
|
638
638
|
class Ur {
|
|
639
639
|
/**
|
|
@@ -654,7 +654,7 @@ class Ur {
|
|
|
654
654
|
$$set = void 0;
|
|
655
655
|
/** @returns {void} */
|
|
656
656
|
$destroy() {
|
|
657
|
-
|
|
657
|
+
Mr(this, 1), this.$destroy = w;
|
|
658
658
|
}
|
|
659
659
|
/**
|
|
660
660
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -663,7 +663,7 @@ class Ur {
|
|
|
663
663
|
* @returns {() => void}
|
|
664
664
|
*/
|
|
665
665
|
$on(t, r) {
|
|
666
|
-
if (!
|
|
666
|
+
if (!oe(r))
|
|
667
667
|
return w;
|
|
668
668
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
669
669
|
return n.push(r), () => {
|
|
@@ -681,44 +681,44 @@ class Ur {
|
|
|
681
681
|
}
|
|
682
682
|
const kr = "4";
|
|
683
683
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
|
|
684
|
-
const
|
|
684
|
+
const U = [];
|
|
685
685
|
function Gr(e, t) {
|
|
686
686
|
return {
|
|
687
|
-
subscribe:
|
|
687
|
+
subscribe: Oe(e, t).subscribe
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Oe(e, t = w) {
|
|
691
691
|
let r;
|
|
692
692
|
const n = /* @__PURE__ */ new Set();
|
|
693
|
-
function i(
|
|
694
|
-
if (Ot(e,
|
|
695
|
-
const h = !
|
|
693
|
+
function i(a) {
|
|
694
|
+
if (Ot(e, a) && (e = a, r)) {
|
|
695
|
+
const h = !U.length;
|
|
696
696
|
for (const u of n)
|
|
697
|
-
u[1](),
|
|
697
|
+
u[1](), U.push(u, e);
|
|
698
698
|
if (h) {
|
|
699
|
-
for (let u = 0; u <
|
|
700
|
-
|
|
701
|
-
|
|
699
|
+
for (let u = 0; u < U.length; u += 2)
|
|
700
|
+
U[u][0](U[u + 1]);
|
|
701
|
+
U.length = 0;
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
function s(
|
|
706
|
-
i(
|
|
705
|
+
function s(a) {
|
|
706
|
+
i(a(e));
|
|
707
707
|
}
|
|
708
|
-
function a
|
|
709
|
-
const u = [
|
|
710
|
-
return n.add(u), n.size === 1 && (r = t(i, s) || w),
|
|
708
|
+
function o(a, h = w) {
|
|
709
|
+
const u = [a, h];
|
|
710
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || w), a(e), () => {
|
|
711
711
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
return { set: i, update: s, subscribe:
|
|
714
|
+
return { set: i, update: s, subscribe: o };
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function J(e, t, r) {
|
|
717
717
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
718
718
|
if (!i.every(Boolean))
|
|
719
719
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
720
720
|
const s = t.length < 2;
|
|
721
|
-
return Gr(r, (
|
|
721
|
+
return Gr(r, (o, a) => {
|
|
722
722
|
let h = !1;
|
|
723
723
|
const u = [];
|
|
724
724
|
let l = 0, c = w;
|
|
@@ -726,25 +726,25 @@ function Z(e, t, r) {
|
|
|
726
726
|
if (l)
|
|
727
727
|
return;
|
|
728
728
|
c();
|
|
729
|
-
const p = t(n ? u[0] : u,
|
|
730
|
-
s ?
|
|
729
|
+
const p = t(n ? u[0] : u, o, a);
|
|
730
|
+
s ? o(p) : c = oe(p) ? p : w;
|
|
731
731
|
}, d = i.map(
|
|
732
|
-
(p,
|
|
732
|
+
(p, _) => It(
|
|
733
733
|
p,
|
|
734
|
-
(
|
|
735
|
-
u[
|
|
734
|
+
(v) => {
|
|
735
|
+
u[_] = v, l &= ~(1 << _), h && m();
|
|
736
736
|
},
|
|
737
737
|
() => {
|
|
738
|
-
l |= 1 <<
|
|
738
|
+
l |= 1 << _;
|
|
739
739
|
}
|
|
740
740
|
)
|
|
741
741
|
);
|
|
742
742
|
return h = !0, m(), function() {
|
|
743
|
-
|
|
743
|
+
$(d), c(), h = !1;
|
|
744
744
|
};
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
|
-
var
|
|
747
|
+
var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
748
748
|
function Fr(e) {
|
|
749
749
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
750
750
|
}
|
|
@@ -765,26 +765,26 @@ function Zr(e) {
|
|
|
765
765
|
function Jr(e) {
|
|
766
766
|
return Array.isArray(e) ? [] : {};
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
768
|
+
function ie(e, t) {
|
|
769
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Jr(e), e, t) : e;
|
|
770
770
|
}
|
|
771
771
|
function qr(e, t, r) {
|
|
772
772
|
return e.concat(t).map(function(n) {
|
|
773
|
-
return
|
|
773
|
+
return ie(n, r);
|
|
774
774
|
});
|
|
775
775
|
}
|
|
776
776
|
function Qr(e, t) {
|
|
777
777
|
if (!t.customMerge)
|
|
778
|
-
return
|
|
778
|
+
return z;
|
|
779
779
|
var r = t.customMerge(e);
|
|
780
|
-
return typeof r == "function" ? r :
|
|
780
|
+
return typeof r == "function" ? r : z;
|
|
781
781
|
}
|
|
782
782
|
function Yr(e) {
|
|
783
783
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
784
784
|
return Object.propertyIsEnumerable.call(e, t);
|
|
785
785
|
}) : [];
|
|
786
786
|
}
|
|
787
|
-
function
|
|
787
|
+
function at(e) {
|
|
788
788
|
return Object.keys(e).concat(Yr(e));
|
|
789
789
|
}
|
|
790
790
|
function jt(e, t) {
|
|
@@ -799,66 +799,52 @@ function Kr(e, t) {
|
|
|
799
799
|
}
|
|
800
800
|
function en(e, t, r) {
|
|
801
801
|
var n = {};
|
|
802
|
-
return r.isMergeableObject(e) &&
|
|
803
|
-
n[i] =
|
|
804
|
-
}),
|
|
805
|
-
Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] =
|
|
802
|
+
return r.isMergeableObject(e) && at(e).forEach(function(i) {
|
|
803
|
+
n[i] = ie(e[i], r);
|
|
804
|
+
}), at(t).forEach(function(i) {
|
|
805
|
+
Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
806
806
|
}), n;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified =
|
|
808
|
+
function z(e, t, r) {
|
|
809
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
810
810
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
811
|
-
return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) :
|
|
811
|
+
return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ie(t, r);
|
|
812
812
|
}
|
|
813
|
-
|
|
813
|
+
z.all = function(t, r) {
|
|
814
814
|
if (!Array.isArray(t))
|
|
815
815
|
throw new Error("first argument should be an array");
|
|
816
816
|
return t.reduce(function(n, i) {
|
|
817
|
-
return
|
|
817
|
+
return z(n, i, r);
|
|
818
818
|
}, {});
|
|
819
819
|
};
|
|
820
|
-
var tn =
|
|
820
|
+
var tn = z, rn = tn;
|
|
821
821
|
const nn = /* @__PURE__ */ Fr(rn);
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
826
|
-
purpose with or without fee is hereby granted.
|
|
827
|
-
|
|
828
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
829
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
830
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
831
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
832
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
833
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
834
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
835
|
-
***************************************************************************** */
|
|
836
|
-
var je = function(e, t) {
|
|
837
|
-
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
822
|
+
var Ve = function(e, t) {
|
|
823
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
838
824
|
r.__proto__ = n;
|
|
839
825
|
} || function(r, n) {
|
|
840
826
|
for (var i in n)
|
|
841
827
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
842
|
-
},
|
|
828
|
+
}, Ve(e, t);
|
|
843
829
|
};
|
|
844
|
-
function
|
|
830
|
+
function Ie(e, t) {
|
|
845
831
|
if (typeof t != "function" && t !== null)
|
|
846
832
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
847
|
-
|
|
833
|
+
Ve(e, t);
|
|
848
834
|
function r() {
|
|
849
835
|
this.constructor = e;
|
|
850
836
|
}
|
|
851
837
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
852
838
|
}
|
|
853
|
-
var
|
|
854
|
-
return
|
|
839
|
+
var B = function() {
|
|
840
|
+
return B = Object.assign || function(t) {
|
|
855
841
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
856
842
|
r = arguments[n];
|
|
857
843
|
for (var s in r)
|
|
858
844
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
859
845
|
}
|
|
860
846
|
return t;
|
|
861
|
-
},
|
|
847
|
+
}, B.apply(this, arguments);
|
|
862
848
|
};
|
|
863
849
|
function sn(e, t) {
|
|
864
850
|
var r = {};
|
|
@@ -869,143 +855,119 @@ function sn(e, t) {
|
|
|
869
855
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
870
856
|
return r;
|
|
871
857
|
}
|
|
872
|
-
function
|
|
873
|
-
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
874
|
-
if (r)
|
|
875
|
-
return r.call(e);
|
|
876
|
-
if (e && typeof e.length == "number")
|
|
877
|
-
return {
|
|
878
|
-
next: function() {
|
|
879
|
-
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
880
|
-
}
|
|
881
|
-
};
|
|
882
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
883
|
-
}
|
|
884
|
-
function rs(e, t) {
|
|
885
|
-
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
886
|
-
if (!r)
|
|
887
|
-
return e;
|
|
888
|
-
var n = r.call(e), i, s = [], a;
|
|
889
|
-
try {
|
|
890
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
891
|
-
s.push(i.value);
|
|
892
|
-
} catch (o) {
|
|
893
|
-
a = { error: o };
|
|
894
|
-
} finally {
|
|
895
|
-
try {
|
|
896
|
-
i && !i.done && (r = n.return) && r.call(n);
|
|
897
|
-
} finally {
|
|
898
|
-
if (a)
|
|
899
|
-
throw a.error;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
return s;
|
|
903
|
-
}
|
|
904
|
-
function Me(e, t, r) {
|
|
858
|
+
function $e(e, t, r) {
|
|
905
859
|
if (r || arguments.length === 2)
|
|
906
860
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
907
861
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
908
|
-
return e.concat(s || t);
|
|
862
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
909
863
|
}
|
|
910
|
-
function
|
|
911
|
-
var r = t && t.cache ? t.cache :
|
|
864
|
+
function Re(e, t) {
|
|
865
|
+
var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : un;
|
|
912
866
|
return i(e, {
|
|
913
867
|
cache: r,
|
|
914
868
|
serializer: n
|
|
915
869
|
});
|
|
916
870
|
}
|
|
917
|
-
function
|
|
871
|
+
function on(e) {
|
|
918
872
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
919
873
|
}
|
|
920
|
-
function
|
|
921
|
-
var i =
|
|
874
|
+
function an(e, t, r, n) {
|
|
875
|
+
var i = on(n) ? n : r(n), s = t.get(i);
|
|
922
876
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
923
877
|
}
|
|
924
|
-
function
|
|
878
|
+
function zt(e, t, r) {
|
|
925
879
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
926
880
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
927
881
|
}
|
|
928
|
-
function
|
|
882
|
+
function Vt(e, t, r, n, i) {
|
|
929
883
|
return r.bind(t, e, n, i);
|
|
930
884
|
}
|
|
931
|
-
function on(e, t) {
|
|
932
|
-
var r = e.length === 1 ? zt : Vt;
|
|
933
|
-
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
934
|
-
}
|
|
935
885
|
function un(e, t) {
|
|
936
|
-
|
|
886
|
+
var r = e.length === 1 ? an : zt;
|
|
887
|
+
return Vt(e, this, r, t.cache.create(), t.serializer);
|
|
937
888
|
}
|
|
938
889
|
function ln(e, t) {
|
|
939
|
-
return
|
|
890
|
+
return Vt(e, this, zt, t.cache.create(), t.serializer);
|
|
940
891
|
}
|
|
941
892
|
var hn = function() {
|
|
942
893
|
return JSON.stringify(arguments);
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
894
|
+
}, cn = (
|
|
895
|
+
/** @class */
|
|
896
|
+
function() {
|
|
897
|
+
function e() {
|
|
898
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
899
|
+
}
|
|
900
|
+
return e.prototype.get = function(t) {
|
|
901
|
+
return this.cache[t];
|
|
902
|
+
}, e.prototype.set = function(t, r) {
|
|
903
|
+
this.cache[t] = r;
|
|
904
|
+
}, e;
|
|
905
|
+
}()
|
|
906
|
+
), fn = {
|
|
954
907
|
create: function() {
|
|
955
|
-
return new
|
|
908
|
+
return new cn();
|
|
956
909
|
}
|
|
957
|
-
},
|
|
958
|
-
variadic:
|
|
959
|
-
|
|
960
|
-
|
|
910
|
+
}, De = {
|
|
911
|
+
variadic: ln
|
|
912
|
+
}, we = function() {
|
|
913
|
+
return we = Object.assign || function(t) {
|
|
914
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
915
|
+
r = arguments[n];
|
|
916
|
+
for (var s in r)
|
|
917
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
918
|
+
}
|
|
919
|
+
return t;
|
|
920
|
+
}, we.apply(this, arguments);
|
|
921
|
+
};
|
|
922
|
+
var b;
|
|
961
923
|
(function(e) {
|
|
962
924
|
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";
|
|
963
925
|
})(b || (b = {}));
|
|
964
|
-
var
|
|
926
|
+
var x;
|
|
965
927
|
(function(e) {
|
|
966
928
|
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";
|
|
967
|
-
})(
|
|
968
|
-
var
|
|
929
|
+
})(x || (x = {}));
|
|
930
|
+
var V;
|
|
969
931
|
(function(e) {
|
|
970
932
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
971
|
-
})(
|
|
933
|
+
})(V || (V = {}));
|
|
972
934
|
function ut(e) {
|
|
973
|
-
return e.type ===
|
|
935
|
+
return e.type === x.literal;
|
|
974
936
|
}
|
|
975
|
-
function
|
|
976
|
-
return e.type ===
|
|
937
|
+
function mn(e) {
|
|
938
|
+
return e.type === x.argument;
|
|
977
939
|
}
|
|
978
940
|
function Xt(e) {
|
|
979
|
-
return e.type ===
|
|
941
|
+
return e.type === x.number;
|
|
980
942
|
}
|
|
981
943
|
function Wt(e) {
|
|
982
|
-
return e.type ===
|
|
944
|
+
return e.type === x.date;
|
|
983
945
|
}
|
|
984
946
|
function Zt(e) {
|
|
985
|
-
return e.type ===
|
|
947
|
+
return e.type === x.time;
|
|
986
948
|
}
|
|
987
949
|
function Jt(e) {
|
|
988
|
-
return e.type ===
|
|
950
|
+
return e.type === x.select;
|
|
989
951
|
}
|
|
990
952
|
function qt(e) {
|
|
991
|
-
return e.type ===
|
|
953
|
+
return e.type === x.plural;
|
|
992
954
|
}
|
|
993
|
-
function
|
|
994
|
-
return e.type ===
|
|
955
|
+
function dn(e) {
|
|
956
|
+
return e.type === x.pound;
|
|
995
957
|
}
|
|
996
958
|
function Qt(e) {
|
|
997
|
-
return e.type ===
|
|
959
|
+
return e.type === x.tag;
|
|
998
960
|
}
|
|
999
961
|
function Yt(e) {
|
|
1000
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
962
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
1001
963
|
}
|
|
1002
|
-
function
|
|
1003
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
964
|
+
function Xe(e) {
|
|
965
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
1004
966
|
}
|
|
1005
|
-
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1006
|
-
function
|
|
967
|
+
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[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;
|
|
968
|
+
function gn(e) {
|
|
1007
969
|
var t = {};
|
|
1008
|
-
return e.replace(
|
|
970
|
+
return e.replace(pn, function(r) {
|
|
1009
971
|
var n = r.length;
|
|
1010
972
|
switch (r[0]) {
|
|
1011
973
|
case "G":
|
|
@@ -1094,29 +1056,39 @@ function pn(e) {
|
|
|
1094
1056
|
return "";
|
|
1095
1057
|
}), t;
|
|
1096
1058
|
}
|
|
1097
|
-
var
|
|
1098
|
-
function
|
|
1059
|
+
var T = function() {
|
|
1060
|
+
return T = Object.assign || function(t) {
|
|
1061
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1062
|
+
r = arguments[n];
|
|
1063
|
+
for (var s in r)
|
|
1064
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1065
|
+
}
|
|
1066
|
+
return t;
|
|
1067
|
+
}, T.apply(this, arguments);
|
|
1068
|
+
};
|
|
1069
|
+
var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1070
|
+
function yn(e) {
|
|
1099
1071
|
if (e.length === 0)
|
|
1100
1072
|
throw new Error("Number skeleton cannot be empty");
|
|
1101
|
-
for (var t = e.split(
|
|
1073
|
+
for (var t = e.split(bn).filter(function(m) {
|
|
1102
1074
|
return m.length > 0;
|
|
1103
1075
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1104
|
-
var s = i[n],
|
|
1105
|
-
if (
|
|
1076
|
+
var s = i[n], o = s.split("/");
|
|
1077
|
+
if (o.length === 0)
|
|
1106
1078
|
throw new Error("Invalid number skeleton");
|
|
1107
|
-
for (var
|
|
1079
|
+
for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1108
1080
|
var c = l[u];
|
|
1109
1081
|
if (c.length === 0)
|
|
1110
1082
|
throw new Error("Invalid number skeleton");
|
|
1111
1083
|
}
|
|
1112
|
-
r.push({ stem:
|
|
1084
|
+
r.push({ stem: a, options: h });
|
|
1113
1085
|
}
|
|
1114
1086
|
return r;
|
|
1115
1087
|
}
|
|
1116
|
-
function
|
|
1088
|
+
function _n(e) {
|
|
1117
1089
|
return e.replace(/^(.*?)-/, "");
|
|
1118
1090
|
}
|
|
1119
|
-
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1091
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
|
|
1120
1092
|
function ht(e) {
|
|
1121
1093
|
var t = {};
|
|
1122
1094
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
|
|
@@ -1181,7 +1153,7 @@ function ct(e) {
|
|
|
1181
1153
|
var t = {}, r = rr(e);
|
|
1182
1154
|
return r || t;
|
|
1183
1155
|
}
|
|
1184
|
-
function
|
|
1156
|
+
function xn(e) {
|
|
1185
1157
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1186
1158
|
var i = n[r];
|
|
1187
1159
|
switch (i.stem) {
|
|
@@ -1205,7 +1177,7 @@ function En(e) {
|
|
|
1205
1177
|
continue;
|
|
1206
1178
|
case "measure-unit":
|
|
1207
1179
|
case "unit":
|
|
1208
|
-
t.style = "unit", t.unit =
|
|
1180
|
+
t.style = "unit", t.unit = _n(i.options[0]);
|
|
1209
1181
|
continue;
|
|
1210
1182
|
case "compact-short":
|
|
1211
1183
|
case "K":
|
|
@@ -1216,13 +1188,13 @@ function En(e) {
|
|
|
1216
1188
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1217
1189
|
continue;
|
|
1218
1190
|
case "scientific":
|
|
1219
|
-
t =
|
|
1220
|
-
return
|
|
1191
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1192
|
+
return T(T({}, h), ct(u));
|
|
1221
1193
|
}, {}));
|
|
1222
1194
|
continue;
|
|
1223
1195
|
case "engineering":
|
|
1224
|
-
t =
|
|
1225
|
-
return
|
|
1196
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1197
|
+
return T(T({}, h), ct(u));
|
|
1226
1198
|
}, {}));
|
|
1227
1199
|
continue;
|
|
1228
1200
|
case "notation-simple":
|
|
@@ -1267,7 +1239,7 @@ function En(e) {
|
|
|
1267
1239
|
case "integer-width":
|
|
1268
1240
|
if (i.options.length > 1)
|
|
1269
1241
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1270
|
-
i.options[0].replace(
|
|
1242
|
+
i.options[0].replace(En, function(h, u, l, c, m, d) {
|
|
1271
1243
|
if (u)
|
|
1272
1244
|
t.minimumIntegerDigits = l.length;
|
|
1273
1245
|
else {
|
|
@@ -1291,21 +1263,21 @@ function En(e) {
|
|
|
1291
1263
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1292
1264
|
});
|
|
1293
1265
|
var s = i.options[0];
|
|
1294
|
-
s === "w" ? t =
|
|
1266
|
+
s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), ht(s)));
|
|
1295
1267
|
continue;
|
|
1296
1268
|
}
|
|
1297
1269
|
if (er.test(i.stem)) {
|
|
1298
|
-
t =
|
|
1270
|
+
t = T(T({}, t), ht(i.stem));
|
|
1299
1271
|
continue;
|
|
1300
1272
|
}
|
|
1301
|
-
var
|
|
1302
|
-
|
|
1303
|
-
var
|
|
1304
|
-
|
|
1273
|
+
var o = rr(i.stem);
|
|
1274
|
+
o && (t = T(T({}, t), o));
|
|
1275
|
+
var a = vn(i.stem);
|
|
1276
|
+
a && (t = T(T({}, t), a));
|
|
1305
1277
|
}
|
|
1306
1278
|
return t;
|
|
1307
1279
|
}
|
|
1308
|
-
var
|
|
1280
|
+
var be = {
|
|
1309
1281
|
"001": [
|
|
1310
1282
|
"H",
|
|
1311
1283
|
"h"
|
|
@@ -2720,23 +2692,23 @@ var ge = {
|
|
|
2720
2692
|
"h"
|
|
2721
2693
|
]
|
|
2722
2694
|
};
|
|
2723
|
-
function
|
|
2695
|
+
function Tn(e, t) {
|
|
2724
2696
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2725
2697
|
var i = e.charAt(n);
|
|
2726
2698
|
if (i === "j") {
|
|
2727
2699
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2728
2700
|
s++, n++;
|
|
2729
|
-
var
|
|
2730
|
-
for ((u == "H" || u == "k") && (
|
|
2701
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Hn(t);
|
|
2702
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2731
2703
|
r += h;
|
|
2732
|
-
for (;
|
|
2704
|
+
for (; o-- > 0; )
|
|
2733
2705
|
r = u + r;
|
|
2734
2706
|
} else
|
|
2735
2707
|
i === "J" ? r += "H" : r += i;
|
|
2736
2708
|
}
|
|
2737
2709
|
return r;
|
|
2738
2710
|
}
|
|
2739
|
-
function
|
|
2711
|
+
function Hn(e) {
|
|
2740
2712
|
var t = e.hourCycle;
|
|
2741
2713
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2742
2714
|
e.hourCycles && // @ts-ignore
|
|
@@ -2755,23 +2727,23 @@ function Tn(e) {
|
|
|
2755
2727
|
}
|
|
2756
2728
|
var r = e.language, n;
|
|
2757
2729
|
r !== "root" && (n = e.maximize().region);
|
|
2758
|
-
var i =
|
|
2730
|
+
var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
2759
2731
|
return i[0];
|
|
2760
2732
|
}
|
|
2761
|
-
var
|
|
2733
|
+
var Ue, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(Kt.source, "*$"));
|
|
2762
2734
|
function y(e, t) {
|
|
2763
2735
|
return { start: e, end: t };
|
|
2764
2736
|
}
|
|
2765
|
-
var
|
|
2737
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
|
|
2766
2738
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2767
|
-
},
|
|
2739
|
+
}, We = !0;
|
|
2768
2740
|
try {
|
|
2769
2741
|
var Mn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2770
|
-
|
|
2742
|
+
We = ((Ue = Mn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
2771
2743
|
} catch {
|
|
2772
|
-
|
|
2744
|
+
We = !1;
|
|
2773
2745
|
}
|
|
2774
|
-
var ft =
|
|
2746
|
+
var ft = Bn ? (
|
|
2775
2747
|
// Native
|
|
2776
2748
|
function(t, r, n) {
|
|
2777
2749
|
return t.startsWith(r, n);
|
|
@@ -2781,31 +2753,31 @@ var ft = Sn ? (
|
|
|
2781
2753
|
function(t, r, n) {
|
|
2782
2754
|
return t.slice(n, n + r.length) === r;
|
|
2783
2755
|
}
|
|
2784
|
-
),
|
|
2756
|
+
), Ze = An ? String.fromCodePoint : (
|
|
2785
2757
|
// IE11
|
|
2786
2758
|
function() {
|
|
2787
2759
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2788
2760
|
t[r] = arguments[r];
|
|
2789
|
-
for (var n = "", i = t.length, s = 0,
|
|
2790
|
-
if (
|
|
2791
|
-
throw RangeError(
|
|
2792
|
-
n +=
|
|
2761
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
2762
|
+
if (o = t[s++], o > 1114111)
|
|
2763
|
+
throw RangeError(o + " is not a valid code point");
|
|
2764
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2793
2765
|
}
|
|
2794
2766
|
return n;
|
|
2795
2767
|
}
|
|
2796
2768
|
), mt = (
|
|
2797
2769
|
// native
|
|
2798
|
-
|
|
2770
|
+
Pn ? Object.fromEntries : (
|
|
2799
2771
|
// Ponyfill
|
|
2800
2772
|
function(t) {
|
|
2801
2773
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2802
|
-
var s = i[n],
|
|
2803
|
-
r[
|
|
2774
|
+
var s = i[n], o = s[0], a = s[1];
|
|
2775
|
+
r[o] = a;
|
|
2804
2776
|
}
|
|
2805
2777
|
return r;
|
|
2806
2778
|
}
|
|
2807
2779
|
)
|
|
2808
|
-
), nr =
|
|
2780
|
+
), nr = On ? (
|
|
2809
2781
|
// Native
|
|
2810
2782
|
function(t, r) {
|
|
2811
2783
|
return t.codePointAt(r);
|
|
@@ -2819,7 +2791,7 @@ var ft = Sn ? (
|
|
|
2819
2791
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2820
2792
|
}
|
|
2821
2793
|
}
|
|
2822
|
-
),
|
|
2794
|
+
), $n = In ? (
|
|
2823
2795
|
// Native
|
|
2824
2796
|
function(t) {
|
|
2825
2797
|
return t.trimStart();
|
|
@@ -2827,9 +2799,9 @@ var ft = Sn ? (
|
|
|
2827
2799
|
) : (
|
|
2828
2800
|
// Ponyfill
|
|
2829
2801
|
function(t) {
|
|
2830
|
-
return t.replace(
|
|
2802
|
+
return t.replace(wn, "");
|
|
2831
2803
|
}
|
|
2832
|
-
),
|
|
2804
|
+
), Rn = Cn ? (
|
|
2833
2805
|
// Native
|
|
2834
2806
|
function(t) {
|
|
2835
2807
|
return t.trimEnd();
|
|
@@ -2837,32 +2809,32 @@ var ft = Sn ? (
|
|
|
2837
2809
|
) : (
|
|
2838
2810
|
// Ponyfill
|
|
2839
2811
|
function(t) {
|
|
2840
|
-
return t.replace(
|
|
2812
|
+
return t.replace(Sn, "");
|
|
2841
2813
|
}
|
|
2842
2814
|
);
|
|
2843
2815
|
function ir(e, t) {
|
|
2844
2816
|
return new RegExp(e, t);
|
|
2845
2817
|
}
|
|
2846
|
-
var
|
|
2847
|
-
if (
|
|
2818
|
+
var Je;
|
|
2819
|
+
if (We) {
|
|
2848
2820
|
var dt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2849
|
-
|
|
2821
|
+
Je = function(t, r) {
|
|
2850
2822
|
var n;
|
|
2851
2823
|
dt.lastIndex = r;
|
|
2852
2824
|
var i = dt.exec(t);
|
|
2853
2825
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2854
2826
|
};
|
|
2855
2827
|
} else
|
|
2856
|
-
|
|
2828
|
+
Je = function(t, r) {
|
|
2857
2829
|
for (var n = []; ; ) {
|
|
2858
2830
|
var i = nr(t, r);
|
|
2859
|
-
if (i === void 0 || sr(i) ||
|
|
2831
|
+
if (i === void 0 || sr(i) || Gn(i))
|
|
2860
2832
|
break;
|
|
2861
2833
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2862
2834
|
}
|
|
2863
|
-
return
|
|
2835
|
+
return Ze.apply(void 0, n);
|
|
2864
2836
|
};
|
|
2865
|
-
var
|
|
2837
|
+
var Dn = (
|
|
2866
2838
|
/** @class */
|
|
2867
2839
|
function() {
|
|
2868
2840
|
function e(t, r) {
|
|
@@ -2876,33 +2848,33 @@ var Rn = (
|
|
|
2876
2848
|
for (var i = []; !this.isEOF(); ) {
|
|
2877
2849
|
var s = this.char();
|
|
2878
2850
|
if (s === 123) {
|
|
2879
|
-
var
|
|
2880
|
-
if (
|
|
2881
|
-
return
|
|
2882
|
-
i.push(
|
|
2851
|
+
var o = this.parseArgument(t, n);
|
|
2852
|
+
if (o.err)
|
|
2853
|
+
return o;
|
|
2854
|
+
i.push(o.val);
|
|
2883
2855
|
} else {
|
|
2884
2856
|
if (s === 125 && t > 0)
|
|
2885
2857
|
break;
|
|
2886
2858
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2887
|
-
var
|
|
2859
|
+
var a = this.clonePosition();
|
|
2888
2860
|
this.bump(), i.push({
|
|
2889
|
-
type:
|
|
2890
|
-
location: y(
|
|
2861
|
+
type: x.pound,
|
|
2862
|
+
location: y(a, this.clonePosition())
|
|
2891
2863
|
});
|
|
2892
2864
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2893
2865
|
if (n)
|
|
2894
2866
|
break;
|
|
2895
2867
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2896
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2897
|
-
var
|
|
2898
|
-
if (
|
|
2899
|
-
return
|
|
2900
|
-
i.push(
|
|
2868
|
+
} else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
2869
|
+
var o = this.parseTag(t, r);
|
|
2870
|
+
if (o.err)
|
|
2871
|
+
return o;
|
|
2872
|
+
i.push(o.val);
|
|
2901
2873
|
} else {
|
|
2902
|
-
var
|
|
2903
|
-
if (
|
|
2904
|
-
return
|
|
2905
|
-
i.push(
|
|
2874
|
+
var o = this.parseLiteral(t, r);
|
|
2875
|
+
if (o.err)
|
|
2876
|
+
return o;
|
|
2877
|
+
i.push(o.val);
|
|
2906
2878
|
}
|
|
2907
2879
|
}
|
|
2908
2880
|
}
|
|
@@ -2914,7 +2886,7 @@ var Rn = (
|
|
|
2914
2886
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2915
2887
|
return {
|
|
2916
2888
|
val: {
|
|
2917
|
-
type:
|
|
2889
|
+
type: x.literal,
|
|
2918
2890
|
value: "<".concat(i, "/>"),
|
|
2919
2891
|
location: y(n, this.clonePosition())
|
|
2920
2892
|
},
|
|
@@ -2924,27 +2896,27 @@ var Rn = (
|
|
|
2924
2896
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2925
2897
|
if (s.err)
|
|
2926
2898
|
return s;
|
|
2927
|
-
var
|
|
2899
|
+
var o = s.val, a = this.clonePosition();
|
|
2928
2900
|
if (this.bumpIf("</")) {
|
|
2929
|
-
if (this.isEOF() || !
|
|
2930
|
-
return this.error(b.INVALID_TAG, y(
|
|
2901
|
+
if (this.isEOF() || !qe(this.char()))
|
|
2902
|
+
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
2931
2903
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2932
2904
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2933
2905
|
val: {
|
|
2934
|
-
type:
|
|
2906
|
+
type: x.tag,
|
|
2935
2907
|
value: i,
|
|
2936
|
-
children:
|
|
2908
|
+
children: o,
|
|
2937
2909
|
location: y(n, this.clonePosition())
|
|
2938
2910
|
},
|
|
2939
2911
|
err: null
|
|
2940
|
-
} : this.error(b.INVALID_TAG, y(
|
|
2912
|
+
} : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
|
|
2941
2913
|
} else
|
|
2942
2914
|
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
2943
2915
|
} else
|
|
2944
2916
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
2945
2917
|
}, e.prototype.parseTagName = function() {
|
|
2946
2918
|
var t = this.offset();
|
|
2947
|
-
for (this.bump(); !this.isEOF() &&
|
|
2919
|
+
for (this.bump(); !this.isEOF() && kn(this.char()); )
|
|
2948
2920
|
this.bump();
|
|
2949
2921
|
return this.message.slice(t, this.offset());
|
|
2950
2922
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2954,26 +2926,26 @@ var Rn = (
|
|
|
2954
2926
|
i += s;
|
|
2955
2927
|
continue;
|
|
2956
2928
|
}
|
|
2957
|
-
var
|
|
2958
|
-
if (a) {
|
|
2959
|
-
i += a;
|
|
2960
|
-
continue;
|
|
2961
|
-
}
|
|
2962
|
-
var o = this.tryParseLeftAngleBracket();
|
|
2929
|
+
var o = this.tryParseUnquoted(t, r);
|
|
2963
2930
|
if (o) {
|
|
2964
2931
|
i += o;
|
|
2965
2932
|
continue;
|
|
2966
2933
|
}
|
|
2934
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2935
|
+
if (a) {
|
|
2936
|
+
i += a;
|
|
2937
|
+
continue;
|
|
2938
|
+
}
|
|
2967
2939
|
break;
|
|
2968
2940
|
}
|
|
2969
2941
|
var h = y(n, this.clonePosition());
|
|
2970
2942
|
return {
|
|
2971
|
-
val: { type:
|
|
2943
|
+
val: { type: x.literal, value: i, location: h },
|
|
2972
2944
|
err: null
|
|
2973
2945
|
};
|
|
2974
2946
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2975
2947
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2976
|
-
!
|
|
2948
|
+
!Un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2977
2949
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2978
2950
|
if (this.isEOF() || this.char() !== 39)
|
|
2979
2951
|
return null;
|
|
@@ -3007,12 +2979,12 @@ var Rn = (
|
|
|
3007
2979
|
r.push(n);
|
|
3008
2980
|
this.bump();
|
|
3009
2981
|
}
|
|
3010
|
-
return
|
|
2982
|
+
return Ze.apply(void 0, r);
|
|
3011
2983
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3012
2984
|
if (this.isEOF())
|
|
3013
2985
|
return null;
|
|
3014
2986
|
var n = this.char();
|
|
3015
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2987
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
3016
2988
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3017
2989
|
var n = this.clonePosition();
|
|
3018
2990
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3028,7 +3000,7 @@ var Rn = (
|
|
|
3028
3000
|
case 125:
|
|
3029
3001
|
return this.bump(), {
|
|
3030
3002
|
val: {
|
|
3031
|
-
type:
|
|
3003
|
+
type: x.argument,
|
|
3032
3004
|
// value does not include the opening and closing braces.
|
|
3033
3005
|
value: i,
|
|
3034
3006
|
location: y(n, this.clonePosition())
|
|
@@ -3041,15 +3013,15 @@ var Rn = (
|
|
|
3041
3013
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3042
3014
|
}
|
|
3043
3015
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3044
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3016
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3045
3017
|
this.bumpTo(i);
|
|
3046
|
-
var s = this.clonePosition(),
|
|
3047
|
-
return { value: n, location:
|
|
3018
|
+
var s = this.clonePosition(), o = y(t, s);
|
|
3019
|
+
return { value: n, location: o };
|
|
3048
3020
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3049
|
-
var s,
|
|
3050
|
-
switch (
|
|
3021
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3022
|
+
switch (a) {
|
|
3051
3023
|
case "":
|
|
3052
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(
|
|
3024
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, h));
|
|
3053
3025
|
case "number":
|
|
3054
3026
|
case "date":
|
|
3055
3027
|
case "time": {
|
|
@@ -3060,7 +3032,7 @@ var Rn = (
|
|
|
3060
3032
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3061
3033
|
if (c.err)
|
|
3062
3034
|
return c;
|
|
3063
|
-
var m =
|
|
3035
|
+
var m = Rn(c.val);
|
|
3064
3036
|
if (m.length === 0)
|
|
3065
3037
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3066
3038
|
var d = y(l, this.clonePosition());
|
|
@@ -3069,37 +3041,37 @@ var Rn = (
|
|
|
3069
3041
|
var p = this.tryParseArgumentClose(i);
|
|
3070
3042
|
if (p.err)
|
|
3071
3043
|
return p;
|
|
3072
|
-
var
|
|
3044
|
+
var _ = y(i, this.clonePosition());
|
|
3073
3045
|
if (u && ft(u?.style, "::", 0)) {
|
|
3074
|
-
var
|
|
3075
|
-
if (
|
|
3076
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3046
|
+
var v = $n(u.style.slice(2));
|
|
3047
|
+
if (a === "number") {
|
|
3048
|
+
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3077
3049
|
return c.err ? c : {
|
|
3078
|
-
val: { type:
|
|
3050
|
+
val: { type: x.number, value: n, location: _, style: c.val },
|
|
3079
3051
|
err: null
|
|
3080
3052
|
};
|
|
3081
3053
|
} else {
|
|
3082
|
-
if (
|
|
3083
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3084
|
-
var E =
|
|
3085
|
-
this.locale && (E =
|
|
3054
|
+
if (v.length === 0)
|
|
3055
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
|
|
3056
|
+
var E = v;
|
|
3057
|
+
this.locale && (E = Tn(v, this.locale));
|
|
3086
3058
|
var m = {
|
|
3087
|
-
type:
|
|
3059
|
+
type: V.dateTime,
|
|
3088
3060
|
pattern: E,
|
|
3089
3061
|
location: u.styleLocation,
|
|
3090
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3091
|
-
}, f =
|
|
3062
|
+
parsedOptions: this.shouldParseSkeletons ? gn(E) : {}
|
|
3063
|
+
}, f = a === "date" ? x.date : x.time;
|
|
3092
3064
|
return {
|
|
3093
|
-
val: { type: f, value: n, location:
|
|
3065
|
+
val: { type: f, value: n, location: _, style: m },
|
|
3094
3066
|
err: null
|
|
3095
3067
|
};
|
|
3096
3068
|
}
|
|
3097
3069
|
}
|
|
3098
3070
|
return {
|
|
3099
3071
|
val: {
|
|
3100
|
-
type:
|
|
3072
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3101
3073
|
value: n,
|
|
3102
|
-
location:
|
|
3074
|
+
location: _,
|
|
3103
3075
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3104
3076
|
},
|
|
3105
3077
|
err: null
|
|
@@ -3110,10 +3082,10 @@ var Rn = (
|
|
|
3110
3082
|
case "select": {
|
|
3111
3083
|
var g = this.clonePosition();
|
|
3112
3084
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3113
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g,
|
|
3085
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, we({}, g)));
|
|
3114
3086
|
this.bumpSpace();
|
|
3115
3087
|
var S = this.parseIdentifierIfPossible(), M = 0;
|
|
3116
|
-
if (
|
|
3088
|
+
if (a !== "select" && S.value === "offset") {
|
|
3117
3089
|
if (!this.bumpIf(":"))
|
|
3118
3090
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3119
3091
|
this.bumpSpace();
|
|
@@ -3122,35 +3094,35 @@ var Rn = (
|
|
|
3122
3094
|
return c;
|
|
3123
3095
|
this.bumpSpace(), S = this.parseIdentifierIfPossible(), M = c.val;
|
|
3124
3096
|
}
|
|
3125
|
-
var
|
|
3126
|
-
if (
|
|
3127
|
-
return
|
|
3097
|
+
var le = this.tryParsePluralOrSelectOptions(t, a, r, S);
|
|
3098
|
+
if (le.err)
|
|
3099
|
+
return le;
|
|
3128
3100
|
var p = this.tryParseArgumentClose(i);
|
|
3129
3101
|
if (p.err)
|
|
3130
3102
|
return p;
|
|
3131
3103
|
var nt = y(i, this.clonePosition());
|
|
3132
|
-
return
|
|
3104
|
+
return a === "select" ? {
|
|
3133
3105
|
val: {
|
|
3134
|
-
type:
|
|
3106
|
+
type: x.select,
|
|
3135
3107
|
value: n,
|
|
3136
|
-
options: mt(
|
|
3108
|
+
options: mt(le.val),
|
|
3137
3109
|
location: nt
|
|
3138
3110
|
},
|
|
3139
3111
|
err: null
|
|
3140
3112
|
} : {
|
|
3141
3113
|
val: {
|
|
3142
|
-
type:
|
|
3114
|
+
type: x.plural,
|
|
3143
3115
|
value: n,
|
|
3144
|
-
options: mt(
|
|
3116
|
+
options: mt(le.val),
|
|
3145
3117
|
offset: M,
|
|
3146
|
-
pluralType:
|
|
3118
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3147
3119
|
location: nt
|
|
3148
3120
|
},
|
|
3149
3121
|
err: null
|
|
3150
3122
|
};
|
|
3151
3123
|
}
|
|
3152
3124
|
default:
|
|
3153
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(
|
|
3125
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(o, h));
|
|
3154
3126
|
}
|
|
3155
3127
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3156
3128
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3192,21 +3164,21 @@ var Rn = (
|
|
|
3192
3164
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3193
3165
|
var n = [];
|
|
3194
3166
|
try {
|
|
3195
|
-
n =
|
|
3167
|
+
n = yn(t);
|
|
3196
3168
|
} catch {
|
|
3197
3169
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3198
3170
|
}
|
|
3199
3171
|
return {
|
|
3200
3172
|
val: {
|
|
3201
|
-
type:
|
|
3173
|
+
type: V.number,
|
|
3202
3174
|
tokens: n,
|
|
3203
3175
|
location: r,
|
|
3204
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3176
|
+
parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
|
|
3205
3177
|
},
|
|
3206
3178
|
err: null
|
|
3207
3179
|
};
|
|
3208
3180
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3209
|
-
for (var s,
|
|
3181
|
+
for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3210
3182
|
if (u.length === 0) {
|
|
3211
3183
|
var c = this.clonePosition();
|
|
3212
3184
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3219,17 +3191,17 @@ var Rn = (
|
|
|
3219
3191
|
}
|
|
3220
3192
|
if (h.has(u))
|
|
3221
3193
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3222
|
-
u === "other" && (
|
|
3194
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3223
3195
|
var d = this.clonePosition();
|
|
3224
3196
|
if (!this.bumpIf("{"))
|
|
3225
3197
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3226
3198
|
var p = this.parseMessage(t + 1, r, n);
|
|
3227
3199
|
if (p.err)
|
|
3228
3200
|
return p;
|
|
3229
|
-
var
|
|
3230
|
-
if (
|
|
3231
|
-
return
|
|
3232
|
-
|
|
3201
|
+
var _ = this.tryParseArgumentClose(d);
|
|
3202
|
+
if (_.err)
|
|
3203
|
+
return _;
|
|
3204
|
+
a.push([
|
|
3233
3205
|
u,
|
|
3234
3206
|
{
|
|
3235
3207
|
value: p.val,
|
|
@@ -3237,19 +3209,19 @@ var Rn = (
|
|
|
3237
3209
|
}
|
|
3238
3210
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3239
3211
|
}
|
|
3240
|
-
return
|
|
3212
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3241
3213
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3242
3214
|
var n = 1, i = this.clonePosition();
|
|
3243
3215
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3244
|
-
for (var s = !1,
|
|
3245
|
-
var
|
|
3246
|
-
if (
|
|
3247
|
-
s = !0,
|
|
3216
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3217
|
+
var a = this.char();
|
|
3218
|
+
if (a >= 48 && a <= 57)
|
|
3219
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3248
3220
|
else
|
|
3249
3221
|
break;
|
|
3250
3222
|
}
|
|
3251
3223
|
var h = y(i, this.clonePosition());
|
|
3252
|
-
return s ? (
|
|
3224
|
+
return s ? (o *= n, Ln(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3253
3225
|
}, e.prototype.offset = function() {
|
|
3254
3226
|
return this.position.offset;
|
|
3255
3227
|
}, e.prototype.isEOF = function() {
|
|
@@ -3315,47 +3287,47 @@ var Rn = (
|
|
|
3315
3287
|
}, e;
|
|
3316
3288
|
}()
|
|
3317
3289
|
);
|
|
3318
|
-
function
|
|
3290
|
+
function qe(e) {
|
|
3319
3291
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3320
3292
|
}
|
|
3321
|
-
function Dn(e) {
|
|
3322
|
-
return Ze(e) || e === 47;
|
|
3323
|
-
}
|
|
3324
3293
|
function Un(e) {
|
|
3294
|
+
return qe(e) || e === 47;
|
|
3295
|
+
}
|
|
3296
|
+
function kn(e) {
|
|
3325
3297
|
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;
|
|
3326
3298
|
}
|
|
3327
3299
|
function sr(e) {
|
|
3328
3300
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3329
3301
|
}
|
|
3330
|
-
function
|
|
3302
|
+
function Gn(e) {
|
|
3331
3303
|
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;
|
|
3332
3304
|
}
|
|
3333
|
-
function
|
|
3305
|
+
function Qe(e) {
|
|
3334
3306
|
e.forEach(function(t) {
|
|
3335
3307
|
if (delete t.location, Jt(t) || qt(t))
|
|
3336
3308
|
for (var r in t.options)
|
|
3337
|
-
delete t.options[r].location,
|
|
3309
|
+
delete t.options[r].location, Qe(t.options[r].value);
|
|
3338
3310
|
else
|
|
3339
|
-
Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) &&
|
|
3311
|
+
Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
|
|
3340
3312
|
});
|
|
3341
3313
|
}
|
|
3342
|
-
function
|
|
3343
|
-
t === void 0 && (t = {}), t =
|
|
3344
|
-
var r = new
|
|
3314
|
+
function Fn(e, t) {
|
|
3315
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3316
|
+
var r = new Dn(e, t).parse();
|
|
3345
3317
|
if (r.err) {
|
|
3346
3318
|
var n = SyntaxError(b[r.err.kind]);
|
|
3347
3319
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3348
3320
|
}
|
|
3349
|
-
return t?.captureLocation ||
|
|
3321
|
+
return t?.captureLocation || Qe(r.val), r.val;
|
|
3350
3322
|
}
|
|
3351
|
-
var
|
|
3323
|
+
var X;
|
|
3352
3324
|
(function(e) {
|
|
3353
3325
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3354
|
-
})(
|
|
3355
|
-
var
|
|
3326
|
+
})(X || (X = {}));
|
|
3327
|
+
var Ce = (
|
|
3356
3328
|
/** @class */
|
|
3357
3329
|
function(e) {
|
|
3358
|
-
|
|
3330
|
+
Ie(t, e);
|
|
3359
3331
|
function t(r, n, i) {
|
|
3360
3332
|
var s = e.call(this, r) || this;
|
|
3361
3333
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3367,44 +3339,44 @@ var Oe = (
|
|
|
3367
3339
|
), pt = (
|
|
3368
3340
|
/** @class */
|
|
3369
3341
|
function(e) {
|
|
3370
|
-
|
|
3342
|
+
Ie(t, e);
|
|
3371
3343
|
function t(r, n, i, s) {
|
|
3372
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3344
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
|
|
3373
3345
|
}
|
|
3374
3346
|
return t;
|
|
3375
|
-
}(
|
|
3376
|
-
),
|
|
3347
|
+
}(Ce)
|
|
3348
|
+
), jn = (
|
|
3377
3349
|
/** @class */
|
|
3378
3350
|
function(e) {
|
|
3379
|
-
|
|
3351
|
+
Ie(t, e);
|
|
3380
3352
|
function t(r, n, i) {
|
|
3381
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3353
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3382
3354
|
}
|
|
3383
3355
|
return t;
|
|
3384
|
-
}(
|
|
3385
|
-
),
|
|
3356
|
+
}(Ce)
|
|
3357
|
+
), zn = (
|
|
3386
3358
|
/** @class */
|
|
3387
3359
|
function(e) {
|
|
3388
|
-
|
|
3360
|
+
Ie(t, e);
|
|
3389
3361
|
function t(r, n) {
|
|
3390
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3362
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3391
3363
|
}
|
|
3392
3364
|
return t;
|
|
3393
|
-
}(
|
|
3365
|
+
}(Ce)
|
|
3394
3366
|
), H;
|
|
3395
3367
|
(function(e) {
|
|
3396
3368
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3397
3369
|
})(H || (H = {}));
|
|
3398
|
-
function
|
|
3370
|
+
function Vn(e) {
|
|
3399
3371
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3400
3372
|
var n = t[t.length - 1];
|
|
3401
3373
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3402
3374
|
}, []);
|
|
3403
3375
|
}
|
|
3404
|
-
function
|
|
3376
|
+
function Xn(e) {
|
|
3405
3377
|
return typeof e == "function";
|
|
3406
3378
|
}
|
|
3407
|
-
function
|
|
3379
|
+
function Ee(e, t, r, n, i, s, o) {
|
|
3408
3380
|
if (e.length === 1 && ut(e[0]))
|
|
3409
3381
|
return [
|
|
3410
3382
|
{
|
|
@@ -3412,17 +3384,17 @@ function _e(e, t, r, n, i, s, a) {
|
|
|
3412
3384
|
value: e[0].value
|
|
3413
3385
|
}
|
|
3414
3386
|
];
|
|
3415
|
-
for (var
|
|
3387
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3416
3388
|
var l = u[h];
|
|
3417
3389
|
if (ut(l)) {
|
|
3418
|
-
|
|
3390
|
+
a.push({
|
|
3419
3391
|
type: H.literal,
|
|
3420
3392
|
value: l.value
|
|
3421
3393
|
});
|
|
3422
3394
|
continue;
|
|
3423
3395
|
}
|
|
3424
|
-
if (
|
|
3425
|
-
typeof s == "number" &&
|
|
3396
|
+
if (dn(l)) {
|
|
3397
|
+
typeof s == "number" && a.push({
|
|
3426
3398
|
type: H.literal,
|
|
3427
3399
|
value: r.getNumberFormat(t).format(s)
|
|
3428
3400
|
});
|
|
@@ -3430,26 +3402,26 @@ function _e(e, t, r, n, i, s, a) {
|
|
|
3430
3402
|
}
|
|
3431
3403
|
var c = l.value;
|
|
3432
3404
|
if (!(i && c in i))
|
|
3433
|
-
throw new
|
|
3405
|
+
throw new zn(c, o);
|
|
3434
3406
|
var m = i[c];
|
|
3435
|
-
if (
|
|
3436
|
-
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""),
|
|
3407
|
+
if (mn(l)) {
|
|
3408
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
|
|
3437
3409
|
type: typeof m == "string" ? H.literal : H.object,
|
|
3438
3410
|
value: m
|
|
3439
3411
|
});
|
|
3440
3412
|
continue;
|
|
3441
3413
|
}
|
|
3442
3414
|
if (Wt(l)) {
|
|
3443
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3444
|
-
|
|
3415
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
|
|
3416
|
+
a.push({
|
|
3445
3417
|
type: H.literal,
|
|
3446
3418
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
3447
3419
|
});
|
|
3448
3420
|
continue;
|
|
3449
3421
|
}
|
|
3450
3422
|
if (Zt(l)) {
|
|
3451
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3452
|
-
|
|
3423
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3424
|
+
a.push({
|
|
3453
3425
|
type: H.literal,
|
|
3454
3426
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
3455
3427
|
});
|
|
@@ -3457,20 +3429,20 @@ function _e(e, t, r, n, i, s, a) {
|
|
|
3457
3429
|
}
|
|
3458
3430
|
if (Xt(l)) {
|
|
3459
3431
|
var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
|
|
3460
|
-
d && d.scale && (m = m * (d.scale || 1)),
|
|
3432
|
+
d && d.scale && (m = m * (d.scale || 1)), a.push({
|
|
3461
3433
|
type: H.literal,
|
|
3462
3434
|
value: r.getNumberFormat(t, d).format(m)
|
|
3463
3435
|
});
|
|
3464
3436
|
continue;
|
|
3465
3437
|
}
|
|
3466
3438
|
if (Qt(l)) {
|
|
3467
|
-
var p = l.children,
|
|
3468
|
-
if (!
|
|
3469
|
-
throw new
|
|
3470
|
-
var E =
|
|
3439
|
+
var p = l.children, _ = l.value, v = i[_];
|
|
3440
|
+
if (!Xn(v))
|
|
3441
|
+
throw new jn(_, "function", o);
|
|
3442
|
+
var E = Ee(p, t, r, n, i, s), f = v(E.map(function(M) {
|
|
3471
3443
|
return M.value;
|
|
3472
3444
|
}));
|
|
3473
|
-
Array.isArray(f) || (f = [f]),
|
|
3445
|
+
Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(M) {
|
|
3474
3446
|
return {
|
|
3475
3447
|
type: typeof M == "string" ? H.literal : H.object,
|
|
3476
3448
|
value: M
|
|
@@ -3480,39 +3452,39 @@ function _e(e, t, r, n, i, s, a) {
|
|
|
3480
3452
|
if (Jt(l)) {
|
|
3481
3453
|
var g = l.options[m] || l.options.other;
|
|
3482
3454
|
if (!g)
|
|
3483
|
-
throw new pt(l.value, m, Object.keys(l.options),
|
|
3484
|
-
|
|
3455
|
+
throw new pt(l.value, m, Object.keys(l.options), o);
|
|
3456
|
+
a.push.apply(a, Ee(g.value, t, r, n, i));
|
|
3485
3457
|
continue;
|
|
3486
3458
|
}
|
|
3487
3459
|
if (qt(l)) {
|
|
3488
3460
|
var g = l.options["=".concat(m)];
|
|
3489
3461
|
if (!g) {
|
|
3490
3462
|
if (!Intl.PluralRules)
|
|
3491
|
-
throw new
|
|
3463
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3492
3464
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3493
|
-
`,
|
|
3465
|
+
`, X.MISSING_INTL_API, o);
|
|
3494
3466
|
var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
3495
3467
|
g = l.options[S] || l.options.other;
|
|
3496
3468
|
}
|
|
3497
3469
|
if (!g)
|
|
3498
|
-
throw new pt(l.value, m, Object.keys(l.options),
|
|
3499
|
-
|
|
3470
|
+
throw new pt(l.value, m, Object.keys(l.options), o);
|
|
3471
|
+
a.push.apply(a, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
|
|
3500
3472
|
continue;
|
|
3501
3473
|
}
|
|
3502
3474
|
}
|
|
3503
|
-
return
|
|
3475
|
+
return Vn(a);
|
|
3504
3476
|
}
|
|
3505
|
-
function
|
|
3506
|
-
return t ?
|
|
3507
|
-
return r[n] =
|
|
3477
|
+
function Wn(e, t) {
|
|
3478
|
+
return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3479
|
+
return r[n] = B(B({}, e[n]), t[n] || {}), r;
|
|
3508
3480
|
}, {})) : e;
|
|
3509
3481
|
}
|
|
3510
|
-
function
|
|
3482
|
+
function Zn(e, t) {
|
|
3511
3483
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3512
|
-
return r[n] =
|
|
3513
|
-
},
|
|
3484
|
+
return r[n] = Wn(e[n], t[n]), r;
|
|
3485
|
+
}, B({}, e)) : e;
|
|
3514
3486
|
}
|
|
3515
|
-
function
|
|
3487
|
+
function ke(e) {
|
|
3516
3488
|
return {
|
|
3517
3489
|
create: function() {
|
|
3518
3490
|
return {
|
|
@@ -3526,39 +3498,39 @@ function De(e) {
|
|
|
3526
3498
|
}
|
|
3527
3499
|
};
|
|
3528
3500
|
}
|
|
3529
|
-
function
|
|
3501
|
+
function Jn(e) {
|
|
3530
3502
|
return e === void 0 && (e = {
|
|
3531
3503
|
number: {},
|
|
3532
3504
|
dateTime: {},
|
|
3533
3505
|
pluralRules: {}
|
|
3534
3506
|
}), {
|
|
3535
|
-
getNumberFormat:
|
|
3507
|
+
getNumberFormat: Re(function() {
|
|
3536
3508
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3537
3509
|
r[n] = arguments[n];
|
|
3538
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3510
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
3539
3511
|
}, {
|
|
3540
|
-
cache:
|
|
3541
|
-
strategy:
|
|
3512
|
+
cache: ke(e.number),
|
|
3513
|
+
strategy: De.variadic
|
|
3542
3514
|
}),
|
|
3543
|
-
getDateTimeFormat:
|
|
3515
|
+
getDateTimeFormat: Re(function() {
|
|
3544
3516
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3545
3517
|
r[n] = arguments[n];
|
|
3546
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3518
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
3547
3519
|
}, {
|
|
3548
|
-
cache:
|
|
3549
|
-
strategy:
|
|
3520
|
+
cache: ke(e.dateTime),
|
|
3521
|
+
strategy: De.variadic
|
|
3550
3522
|
}),
|
|
3551
|
-
getPluralRules:
|
|
3523
|
+
getPluralRules: Re(function() {
|
|
3552
3524
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3553
3525
|
r[n] = arguments[n];
|
|
3554
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3526
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
3555
3527
|
}, {
|
|
3556
|
-
cache:
|
|
3557
|
-
strategy:
|
|
3528
|
+
cache: ke(e.pluralRules),
|
|
3529
|
+
strategy: De.variadic
|
|
3558
3530
|
})
|
|
3559
3531
|
};
|
|
3560
3532
|
}
|
|
3561
|
-
var
|
|
3533
|
+
var or = (
|
|
3562
3534
|
/** @class */
|
|
3563
3535
|
function() {
|
|
3564
3536
|
function e(t, r, n, i) {
|
|
@@ -3577,7 +3549,7 @@ var ar = (
|
|
|
3577
3549
|
}, []);
|
|
3578
3550
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3579
3551
|
}, this.formatToParts = function(h) {
|
|
3580
|
-
return
|
|
3552
|
+
return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3581
3553
|
}, this.resolvedOptions = function() {
|
|
3582
3554
|
var h;
|
|
3583
3555
|
return {
|
|
@@ -3588,15 +3560,15 @@ var ar = (
|
|
|
3588
3560
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3589
3561
|
if (this.message = t, !e.__parse)
|
|
3590
3562
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3591
|
-
var
|
|
3592
|
-
|
|
3593
|
-
var
|
|
3594
|
-
this.ast = e.__parse(t,
|
|
3563
|
+
var o = i || {};
|
|
3564
|
+
o.formatters;
|
|
3565
|
+
var a = sn(o, ["formatters"]);
|
|
3566
|
+
this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
|
|
3595
3567
|
} else
|
|
3596
3568
|
this.ast = t;
|
|
3597
3569
|
if (!Array.isArray(this.ast))
|
|
3598
3570
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3599
|
-
this.formats =
|
|
3571
|
+
this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
|
|
3600
3572
|
}
|
|
3601
3573
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3602
3574
|
get: function() {
|
|
@@ -3609,7 +3581,7 @@ var ar = (
|
|
|
3609
3581
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3610
3582
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3611
3583
|
}
|
|
3612
|
-
}, e.__parse =
|
|
3584
|
+
}, e.__parse = Fn, e.formats = {
|
|
3613
3585
|
number: {
|
|
3614
3586
|
integer: {
|
|
3615
3587
|
maximumFractionDigits: 0
|
|
@@ -3670,7 +3642,7 @@ var ar = (
|
|
|
3670
3642
|
}, e;
|
|
3671
3643
|
}()
|
|
3672
3644
|
);
|
|
3673
|
-
function
|
|
3645
|
+
function qn(e, t) {
|
|
3674
3646
|
if (t == null)
|
|
3675
3647
|
return;
|
|
3676
3648
|
if (t in e)
|
|
@@ -3691,36 +3663,36 @@ function Jn(e, t) {
|
|
|
3691
3663
|
n = void 0;
|
|
3692
3664
|
return n;
|
|
3693
3665
|
}
|
|
3694
|
-
const
|
|
3666
|
+
const C = {}, Qn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ar = (e, t) => {
|
|
3695
3667
|
if (t == null)
|
|
3696
3668
|
return;
|
|
3697
|
-
if (t in
|
|
3698
|
-
return
|
|
3699
|
-
const r =
|
|
3669
|
+
if (t in C && e in C[t])
|
|
3670
|
+
return C[t][e];
|
|
3671
|
+
const r = ue(t);
|
|
3700
3672
|
for (let n = 0; n < r.length; n++) {
|
|
3701
|
-
const i = r[n], s =
|
|
3673
|
+
const i = r[n], s = Kn(i, e);
|
|
3702
3674
|
if (s)
|
|
3703
|
-
return
|
|
3675
|
+
return Qn(e, t, s);
|
|
3704
3676
|
}
|
|
3705
3677
|
};
|
|
3706
3678
|
let tt;
|
|
3707
|
-
const ae =
|
|
3708
|
-
function
|
|
3679
|
+
const ae = Oe({});
|
|
3680
|
+
function Yn(e) {
|
|
3709
3681
|
return tt[e] || null;
|
|
3710
3682
|
}
|
|
3711
3683
|
function ur(e) {
|
|
3712
3684
|
return e in tt;
|
|
3713
3685
|
}
|
|
3714
|
-
function
|
|
3686
|
+
function Kn(e, t) {
|
|
3715
3687
|
if (!ur(e))
|
|
3716
3688
|
return null;
|
|
3717
|
-
const r =
|
|
3718
|
-
return
|
|
3689
|
+
const r = Yn(e);
|
|
3690
|
+
return qn(r, t);
|
|
3719
3691
|
}
|
|
3720
|
-
function
|
|
3692
|
+
function ei(e) {
|
|
3721
3693
|
if (e == null)
|
|
3722
3694
|
return;
|
|
3723
|
-
const t =
|
|
3695
|
+
const t = ue(e);
|
|
3724
3696
|
for (let r = 0; r < t.length; r++) {
|
|
3725
3697
|
const n = t[r];
|
|
3726
3698
|
if (ur(n))
|
|
@@ -3728,61 +3700,61 @@ function Kn(e) {
|
|
|
3728
3700
|
}
|
|
3729
3701
|
}
|
|
3730
3702
|
function lr(e, ...t) {
|
|
3731
|
-
delete
|
|
3703
|
+
delete C[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
3732
3704
|
}
|
|
3733
|
-
|
|
3705
|
+
J(
|
|
3734
3706
|
[ae],
|
|
3735
3707
|
([e]) => Object.keys(e)
|
|
3736
3708
|
);
|
|
3737
3709
|
ae.subscribe((e) => tt = e);
|
|
3738
3710
|
const ve = {};
|
|
3739
|
-
function
|
|
3711
|
+
function ti(e, t) {
|
|
3740
3712
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
3741
3713
|
}
|
|
3742
3714
|
function hr(e) {
|
|
3743
3715
|
return ve[e];
|
|
3744
3716
|
}
|
|
3745
|
-
function
|
|
3746
|
-
return
|
|
3717
|
+
function ri(e) {
|
|
3718
|
+
return ue(e).map((t) => {
|
|
3747
3719
|
const r = hr(t);
|
|
3748
3720
|
return [t, r ? [...r] : []];
|
|
3749
3721
|
}).filter(([, t]) => t.length > 0);
|
|
3750
3722
|
}
|
|
3751
|
-
function
|
|
3752
|
-
return e == null ? !1 :
|
|
3723
|
+
function Se(e) {
|
|
3724
|
+
return e == null ? !1 : ue(e).some(
|
|
3753
3725
|
(t) => {
|
|
3754
3726
|
var r;
|
|
3755
3727
|
return (r = hr(t)) == null ? void 0 : r.size;
|
|
3756
3728
|
}
|
|
3757
3729
|
);
|
|
3758
3730
|
}
|
|
3759
|
-
function
|
|
3731
|
+
function ni(e, t) {
|
|
3760
3732
|
return Promise.all(
|
|
3761
|
-
t.map((n) => (
|
|
3733
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
3762
3734
|
).then((n) => lr(e, ...n));
|
|
3763
3735
|
}
|
|
3764
|
-
const
|
|
3736
|
+
const Y = {};
|
|
3765
3737
|
function cr(e) {
|
|
3766
|
-
if (!
|
|
3767
|
-
return e in
|
|
3768
|
-
const t =
|
|
3769
|
-
return
|
|
3738
|
+
if (!Se(e))
|
|
3739
|
+
return e in Y ? Y[e] : Promise.resolve();
|
|
3740
|
+
const t = ri(e);
|
|
3741
|
+
return Y[e] = Promise.all(
|
|
3770
3742
|
t.map(
|
|
3771
|
-
([r, n]) =>
|
|
3743
|
+
([r, n]) => ni(r, n)
|
|
3772
3744
|
)
|
|
3773
3745
|
).then(() => {
|
|
3774
|
-
if (
|
|
3746
|
+
if (Se(e))
|
|
3775
3747
|
return cr(e);
|
|
3776
|
-
delete
|
|
3777
|
-
}),
|
|
3748
|
+
delete Y[e];
|
|
3749
|
+
}), Y[e];
|
|
3778
3750
|
}
|
|
3779
|
-
var gt = Object.getOwnPropertySymbols,
|
|
3751
|
+
var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, oi = (e, t) => {
|
|
3780
3752
|
var r = {};
|
|
3781
3753
|
for (var n in e)
|
|
3782
|
-
|
|
3754
|
+
ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3783
3755
|
if (e != null && gt)
|
|
3784
3756
|
for (var n of gt(e))
|
|
3785
|
-
t.indexOf(n) < 0 &&
|
|
3757
|
+
t.indexOf(n) < 0 && si.call(e, n) && (r[n] = e[n]);
|
|
3786
3758
|
return r;
|
|
3787
3759
|
};
|
|
3788
3760
|
const ai = {
|
|
@@ -3815,183 +3787,183 @@ const ai = {
|
|
|
3815
3787
|
}
|
|
3816
3788
|
}
|
|
3817
3789
|
};
|
|
3818
|
-
function
|
|
3790
|
+
function ui({ locale: e, id: t }) {
|
|
3819
3791
|
console.warn(
|
|
3820
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3792
|
+
`[svelte-i18n] The message "${t}" was not found in "${ue(
|
|
3821
3793
|
e
|
|
3822
|
-
).join('", "')}".${
|
|
3794
|
+
).join('", "')}".${Se(L()) ? `
|
|
3823
3795
|
|
|
3824
3796
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3825
3797
|
);
|
|
3826
3798
|
}
|
|
3827
|
-
const
|
|
3799
|
+
const li = {
|
|
3828
3800
|
fallbackLocale: null,
|
|
3829
3801
|
loadingDelay: 200,
|
|
3830
3802
|
formats: ai,
|
|
3831
3803
|
warnOnMissingMessages: !0,
|
|
3832
3804
|
handleMissingMessage: void 0,
|
|
3833
3805
|
ignoreTag: !0
|
|
3834
|
-
},
|
|
3835
|
-
function
|
|
3836
|
-
return
|
|
3806
|
+
}, ee = li;
|
|
3807
|
+
function W() {
|
|
3808
|
+
return ee;
|
|
3837
3809
|
}
|
|
3838
|
-
function
|
|
3839
|
-
const t = e, { formats: r } = t, n =
|
|
3810
|
+
function hi(e) {
|
|
3811
|
+
const t = e, { formats: r } = t, n = oi(t, ["formats"]);
|
|
3840
3812
|
let i = e.fallbackLocale;
|
|
3841
3813
|
if (e.initialLocale)
|
|
3842
3814
|
try {
|
|
3843
|
-
|
|
3815
|
+
or.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3844
3816
|
} catch {
|
|
3845
3817
|
console.warn(
|
|
3846
3818
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3847
3819
|
);
|
|
3848
3820
|
}
|
|
3849
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3821
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ui : console.warn(
|
|
3850
3822
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3851
|
-
)), Object.assign(
|
|
3823
|
+
)), Object.assign(ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(ee.formats.number, r.number), "date" in r && Object.assign(ee.formats.date, r.date), "time" in r && Object.assign(ee.formats.time, r.time)), R.set(i);
|
|
3852
3824
|
}
|
|
3853
|
-
const
|
|
3854
|
-
var
|
|
3825
|
+
const Ge = Oe(!1);
|
|
3826
|
+
var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
|
|
3855
3827
|
for (var r in t || (t = {}))
|
|
3856
|
-
|
|
3828
|
+
di.call(t, r) && yt(e, r, t[r]);
|
|
3857
3829
|
if (bt)
|
|
3858
3830
|
for (var r of bt(t))
|
|
3859
|
-
|
|
3831
|
+
pi.call(t, r) && yt(e, r, t[r]);
|
|
3860
3832
|
return e;
|
|
3861
|
-
},
|
|
3862
|
-
let
|
|
3863
|
-
const
|
|
3833
|
+
}, bi = (e, t) => fi(e, mi(t));
|
|
3834
|
+
let Ye;
|
|
3835
|
+
const Be = Oe(null);
|
|
3864
3836
|
function _t(e) {
|
|
3865
3837
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3866
3838
|
}
|
|
3867
|
-
function
|
|
3839
|
+
function ue(e, t = W().fallbackLocale) {
|
|
3868
3840
|
const r = _t(e);
|
|
3869
3841
|
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
3870
3842
|
}
|
|
3871
|
-
function
|
|
3872
|
-
return
|
|
3843
|
+
function L() {
|
|
3844
|
+
return Ye ?? void 0;
|
|
3873
3845
|
}
|
|
3874
|
-
|
|
3875
|
-
|
|
3846
|
+
Be.subscribe((e) => {
|
|
3847
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3876
3848
|
});
|
|
3877
|
-
const
|
|
3878
|
-
if (e &&
|
|
3879
|
-
const { loadingDelay: t } =
|
|
3849
|
+
const yi = (e) => {
|
|
3850
|
+
if (e && ei(e) && Se(e)) {
|
|
3851
|
+
const { loadingDelay: t } = W();
|
|
3880
3852
|
let r;
|
|
3881
|
-
return typeof window < "u" &&
|
|
3882
|
-
() =>
|
|
3853
|
+
return typeof window < "u" && L() != null && t ? r = window.setTimeout(
|
|
3854
|
+
() => Ge.set(!0),
|
|
3883
3855
|
t
|
|
3884
|
-
) :
|
|
3885
|
-
|
|
3856
|
+
) : Ge.set(!0), cr(e).then(() => {
|
|
3857
|
+
Be.set(e);
|
|
3886
3858
|
}).finally(() => {
|
|
3887
|
-
clearTimeout(r),
|
|
3859
|
+
clearTimeout(r), Ge.set(!1);
|
|
3888
3860
|
});
|
|
3889
3861
|
}
|
|
3890
|
-
return
|
|
3891
|
-
},
|
|
3892
|
-
set:
|
|
3893
|
-
}),
|
|
3862
|
+
return Be.set(e);
|
|
3863
|
+
}, R = bi(gi({}, Be), {
|
|
3864
|
+
set: yi
|
|
3865
|
+
}), Ne = (e) => {
|
|
3894
3866
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3895
3867
|
return (n) => {
|
|
3896
3868
|
const i = JSON.stringify(n);
|
|
3897
3869
|
return i in t ? t[i] : t[i] = e(n);
|
|
3898
3870
|
};
|
|
3899
3871
|
};
|
|
3900
|
-
var
|
|
3872
|
+
var _i = Object.defineProperty, Ae = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
3901
3873
|
for (var r in t || (t = {}))
|
|
3902
|
-
fr.call(t, r) &&
|
|
3903
|
-
if (
|
|
3904
|
-
for (var r of
|
|
3905
|
-
mr.call(t, r) &&
|
|
3874
|
+
fr.call(t, r) && Et(e, r, t[r]);
|
|
3875
|
+
if (Ae)
|
|
3876
|
+
for (var r of Ae(t))
|
|
3877
|
+
mr.call(t, r) && Et(e, r, t[r]);
|
|
3906
3878
|
return e;
|
|
3907
|
-
},
|
|
3879
|
+
}, q = (e, t) => {
|
|
3908
3880
|
var r = {};
|
|
3909
3881
|
for (var n in e)
|
|
3910
3882
|
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3911
|
-
if (e != null &&
|
|
3912
|
-
for (var n of
|
|
3883
|
+
if (e != null && Ae)
|
|
3884
|
+
for (var n of Ae(e))
|
|
3913
3885
|
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
3914
3886
|
return r;
|
|
3915
3887
|
};
|
|
3916
|
-
const
|
|
3917
|
-
const { formats: r } =
|
|
3888
|
+
const se = (e, t) => {
|
|
3889
|
+
const { formats: r } = W();
|
|
3918
3890
|
if (e in r && t in r[e])
|
|
3919
3891
|
return r[e][t];
|
|
3920
3892
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3921
|
-
},
|
|
3893
|
+
}, Ei = Ne(
|
|
3922
3894
|
(e) => {
|
|
3923
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3895
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3924
3896
|
if (r == null)
|
|
3925
3897
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3926
|
-
return n && (i =
|
|
3898
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3927
3899
|
}
|
|
3928
|
-
), vi =
|
|
3900
|
+
), vi = Ne(
|
|
3929
3901
|
(e) => {
|
|
3930
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3902
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3931
3903
|
if (r == null)
|
|
3932
3904
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3933
|
-
return n ? i =
|
|
3905
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3934
3906
|
}
|
|
3935
|
-
),
|
|
3907
|
+
), xi = Ne(
|
|
3936
3908
|
(e) => {
|
|
3937
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3909
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3938
3910
|
if (r == null)
|
|
3939
3911
|
throw new Error(
|
|
3940
3912
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3941
3913
|
);
|
|
3942
|
-
return n ? i =
|
|
3914
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3943
3915
|
}
|
|
3944
|
-
),
|
|
3916
|
+
), Ti = (e = {}) => {
|
|
3945
3917
|
var t = e, {
|
|
3946
|
-
locale: r =
|
|
3947
|
-
} = t, n =
|
|
3918
|
+
locale: r = L()
|
|
3919
|
+
} = t, n = q(t, [
|
|
3948
3920
|
"locale"
|
|
3949
3921
|
]);
|
|
3950
|
-
return
|
|
3951
|
-
},
|
|
3922
|
+
return Ei(rt({ locale: r }, n));
|
|
3923
|
+
}, Hi = (e = {}) => {
|
|
3952
3924
|
var t = e, {
|
|
3953
|
-
locale: r =
|
|
3954
|
-
} = t, n =
|
|
3925
|
+
locale: r = L()
|
|
3926
|
+
} = t, n = q(t, [
|
|
3955
3927
|
"locale"
|
|
3956
3928
|
]);
|
|
3957
3929
|
return vi(rt({ locale: r }, n));
|
|
3958
|
-
},
|
|
3930
|
+
}, wi = (e = {}) => {
|
|
3959
3931
|
var t = e, {
|
|
3960
|
-
locale: r =
|
|
3961
|
-
} = t, n =
|
|
3932
|
+
locale: r = L()
|
|
3933
|
+
} = t, n = q(t, [
|
|
3962
3934
|
"locale"
|
|
3963
3935
|
]);
|
|
3964
|
-
return
|
|
3965
|
-
},
|
|
3936
|
+
return xi(rt({ locale: r }, n));
|
|
3937
|
+
}, Si = Ne(
|
|
3966
3938
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3967
|
-
(e, t =
|
|
3968
|
-
ignoreTag:
|
|
3939
|
+
(e, t = L()) => new or(e, t, W().formats, {
|
|
3940
|
+
ignoreTag: W().ignoreTag
|
|
3969
3941
|
})
|
|
3970
|
-
),
|
|
3942
|
+
), Bi = (e, t = {}) => {
|
|
3971
3943
|
var r, n, i, s;
|
|
3972
|
-
let
|
|
3973
|
-
typeof e == "object" && (
|
|
3944
|
+
let o = t;
|
|
3945
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3974
3946
|
const {
|
|
3975
|
-
values:
|
|
3976
|
-
locale: h =
|
|
3947
|
+
values: a,
|
|
3948
|
+
locale: h = L(),
|
|
3977
3949
|
default: u
|
|
3978
|
-
} =
|
|
3950
|
+
} = o;
|
|
3979
3951
|
if (h == null)
|
|
3980
3952
|
throw new Error(
|
|
3981
3953
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3982
3954
|
);
|
|
3983
|
-
let l =
|
|
3955
|
+
let l = ar(e, h);
|
|
3984
3956
|
if (!l)
|
|
3985
|
-
l = (s = (i = (n = (r =
|
|
3957
|
+
l = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3986
3958
|
else if (typeof l != "string")
|
|
3987
3959
|
return console.warn(
|
|
3988
3960
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3989
3961
|
), l;
|
|
3990
|
-
if (!
|
|
3962
|
+
if (!a)
|
|
3991
3963
|
return l;
|
|
3992
3964
|
let c = l;
|
|
3993
3965
|
try {
|
|
3994
|
-
c =
|
|
3966
|
+
c = Si(l, h).format(a);
|
|
3995
3967
|
} catch (m) {
|
|
3996
3968
|
m instanceof Error && console.warn(
|
|
3997
3969
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3999,18 +3971,18 @@ const ie = (e, t) => {
|
|
|
3999
3971
|
);
|
|
4000
3972
|
}
|
|
4001
3973
|
return c;
|
|
4002
|
-
},
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
function
|
|
3974
|
+
}, Ai = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ii = (e, t = L()) => ar(e, t), Ci = J([R, ae], () => Bi);
|
|
3975
|
+
J([R], () => Ai);
|
|
3976
|
+
J([R], () => Pi);
|
|
3977
|
+
J([R], () => Oi);
|
|
3978
|
+
J([R, ae], () => Ii);
|
|
3979
|
+
function Ni(e, t) {
|
|
4008
3980
|
if (e) {
|
|
4009
3981
|
const r = document.createElement("style");
|
|
4010
3982
|
r.innerHTML = t, e.appendChild(r);
|
|
4011
3983
|
}
|
|
4012
3984
|
}
|
|
4013
|
-
function
|
|
3985
|
+
function Li(e, t) {
|
|
4014
3986
|
if (!e || !t)
|
|
4015
3987
|
return;
|
|
4016
3988
|
const r = new URL(t);
|
|
@@ -4029,13 +4001,13 @@ function Mi(e, t, r) {
|
|
|
4029
4001
|
});
|
|
4030
4002
|
}
|
|
4031
4003
|
}
|
|
4032
|
-
function
|
|
4004
|
+
function vt(e, t) {
|
|
4033
4005
|
lr(e, t);
|
|
4034
4006
|
}
|
|
4035
|
-
function
|
|
4036
|
-
|
|
4007
|
+
function $i(e) {
|
|
4008
|
+
hi({
|
|
4037
4009
|
fallbackLocale: "en"
|
|
4038
|
-
}),
|
|
4010
|
+
}), R.set(e);
|
|
4039
4011
|
}
|
|
4040
4012
|
const xt = {
|
|
4041
4013
|
en: {
|
|
@@ -4091,52 +4063,52 @@ const xt = {
|
|
|
4091
4063
|
DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
|
|
4092
4064
|
}
|
|
4093
4065
|
};
|
|
4094
|
-
function
|
|
4066
|
+
function Ri(e) {
|
|
4095
4067
|
yr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
|
|
4096
4068
|
}
|
|
4097
|
-
const
|
|
4069
|
+
const Di = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Gi = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
|
|
4098
4070
|
function Bt(e) {
|
|
4099
4071
|
let t, r;
|
|
4100
4072
|
return {
|
|
4101
4073
|
c() {
|
|
4102
|
-
t =
|
|
4103
|
-
e[0]}/error-general-icon.png`) ||
|
|
4074
|
+
t = P("ui-image"), st(t.src, r = `${/*assetsurl*/
|
|
4075
|
+
e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
|
|
4104
4076
|
},
|
|
4105
4077
|
m(n, i) {
|
|
4106
|
-
|
|
4078
|
+
Z(n, t, i);
|
|
4107
4079
|
},
|
|
4108
4080
|
p(n, i) {
|
|
4109
4081
|
i & /*assetsurl*/
|
|
4110
4082
|
1 && !st(t.src, r = `${/*assetsurl*/
|
|
4111
|
-
n[0]}/error-general-icon.png`) &&
|
|
4083
|
+
n[0]}/error-general-icon.png`) && pe(t, "src", r);
|
|
4112
4084
|
},
|
|
4113
4085
|
d(n) {
|
|
4114
|
-
n &&
|
|
4086
|
+
n && N(t);
|
|
4115
4087
|
}
|
|
4116
4088
|
};
|
|
4117
4089
|
}
|
|
4118
|
-
function
|
|
4090
|
+
function Fi(e) {
|
|
4119
4091
|
let t, r = (
|
|
4120
4092
|
/*assetsurl*/
|
|
4121
4093
|
e[0] && Bt(e)
|
|
4122
4094
|
);
|
|
4123
4095
|
return {
|
|
4124
4096
|
c() {
|
|
4125
|
-
r && r.c(), t =
|
|
4097
|
+
r && r.c(), t = Er();
|
|
4126
4098
|
},
|
|
4127
4099
|
m(n, i) {
|
|
4128
|
-
r && r.m(n, i),
|
|
4100
|
+
r && r.m(n, i), Z(n, t, i);
|
|
4129
4101
|
},
|
|
4130
4102
|
p(n, i) {
|
|
4131
4103
|
/*assetsurl*/
|
|
4132
4104
|
n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4133
4105
|
},
|
|
4134
4106
|
d(n) {
|
|
4135
|
-
n &&
|
|
4107
|
+
n && N(t), r && r.d(n);
|
|
4136
4108
|
}
|
|
4137
4109
|
};
|
|
4138
4110
|
}
|
|
4139
|
-
function
|
|
4111
|
+
function ji(e) {
|
|
4140
4112
|
let t, r = (
|
|
4141
4113
|
/*$_*/
|
|
4142
4114
|
e[3](`${/*errorcode*/
|
|
@@ -4144,10 +4116,10 @@ function Fi(e) {
|
|
|
4144
4116
|
), n;
|
|
4145
4117
|
return {
|
|
4146
4118
|
c() {
|
|
4147
|
-
t =
|
|
4119
|
+
t = P("span"), n = Pe(r), j(t, "class", "CashierErrorText");
|
|
4148
4120
|
},
|
|
4149
4121
|
m(i, s) {
|
|
4150
|
-
|
|
4122
|
+
Z(i, t, s), O(t, n);
|
|
4151
4123
|
},
|
|
4152
4124
|
p(i, s) {
|
|
4153
4125
|
s & /*$_, errorcode*/
|
|
@@ -4156,52 +4128,52 @@ function Fi(e) {
|
|
|
4156
4128
|
i[1] || "errorGeneralText"}`) + "") && Dt(n, r);
|
|
4157
4129
|
},
|
|
4158
4130
|
d(i) {
|
|
4159
|
-
i &&
|
|
4131
|
+
i && N(t);
|
|
4160
4132
|
}
|
|
4161
4133
|
};
|
|
4162
4134
|
}
|
|
4163
|
-
function
|
|
4135
|
+
function zi(e) {
|
|
4164
4136
|
let t, r, n = (
|
|
4165
4137
|
/*$_*/
|
|
4166
4138
|
e[3]("errorGeneralButton") + ""
|
|
4167
|
-
), i, s,
|
|
4139
|
+
), i, s, o;
|
|
4168
4140
|
return {
|
|
4169
4141
|
c() {
|
|
4170
|
-
t =
|
|
4142
|
+
t = P("button"), r = P("span"), i = Pe(n), j(t, "class", "CashierErrorButton");
|
|
4171
4143
|
},
|
|
4172
|
-
m(
|
|
4173
|
-
|
|
4144
|
+
m(a, h) {
|
|
4145
|
+
Z(a, t, h), O(t, r), O(r, i), s || (o = vr(
|
|
4174
4146
|
t,
|
|
4175
4147
|
"click",
|
|
4176
4148
|
/*close*/
|
|
4177
4149
|
e[4]
|
|
4178
4150
|
), s = !0);
|
|
4179
4151
|
},
|
|
4180
|
-
p(
|
|
4152
|
+
p(a, h) {
|
|
4181
4153
|
h & /*$_*/
|
|
4182
4154
|
8 && n !== (n = /*$_*/
|
|
4183
|
-
|
|
4155
|
+
a[3]("errorGeneralButton") + "") && Dt(i, n);
|
|
4184
4156
|
},
|
|
4185
|
-
d(
|
|
4186
|
-
|
|
4157
|
+
d(a) {
|
|
4158
|
+
a && N(t), s = !1, o();
|
|
4187
4159
|
}
|
|
4188
4160
|
};
|
|
4189
4161
|
}
|
|
4190
|
-
function
|
|
4191
|
-
let t, r, n, i, s,
|
|
4192
|
-
const
|
|
4162
|
+
function Vi(e) {
|
|
4163
|
+
let t, r, n, i, s, o;
|
|
4164
|
+
const a = (
|
|
4193
4165
|
/*#slots*/
|
|
4194
4166
|
e[11].icon
|
|
4195
|
-
), h =
|
|
4196
|
-
|
|
4167
|
+
), h = ce(
|
|
4168
|
+
a,
|
|
4197
4169
|
e,
|
|
4198
4170
|
/*$$scope*/
|
|
4199
4171
|
e[10],
|
|
4200
4172
|
St
|
|
4201
|
-
), u = h ||
|
|
4173
|
+
), u = h || Fi(e), l = (
|
|
4202
4174
|
/*#slots*/
|
|
4203
4175
|
e[11].title
|
|
4204
|
-
), c =
|
|
4176
|
+
), c = ce(
|
|
4205
4177
|
l,
|
|
4206
4178
|
e,
|
|
4207
4179
|
/*$$scope*/
|
|
@@ -4210,162 +4182,162 @@ function zi(e) {
|
|
|
4210
4182
|
), m = (
|
|
4211
4183
|
/*#slots*/
|
|
4212
4184
|
e[11].text
|
|
4213
|
-
), d =
|
|
4185
|
+
), d = ce(
|
|
4214
4186
|
m,
|
|
4215
4187
|
e,
|
|
4216
4188
|
/*$$scope*/
|
|
4217
4189
|
e[10],
|
|
4218
4190
|
Ht
|
|
4219
|
-
), p = d ||
|
|
4191
|
+
), p = d || ji(e), _ = (
|
|
4220
4192
|
/*#slots*/
|
|
4221
4193
|
e[11].button
|
|
4222
|
-
),
|
|
4223
|
-
|
|
4194
|
+
), v = ce(
|
|
4195
|
+
_,
|
|
4224
4196
|
e,
|
|
4225
4197
|
/*$$scope*/
|
|
4226
4198
|
e[10],
|
|
4227
4199
|
Tt
|
|
4228
|
-
), E =
|
|
4200
|
+
), E = v || zi(e);
|
|
4229
4201
|
return {
|
|
4230
4202
|
c() {
|
|
4231
|
-
t =
|
|
4203
|
+
t = P("div"), r = P("div"), u && u.c(), n = Le(), c && c.c(), i = Le(), p && p.c(), s = Le(), E && E.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
|
|
4232
4204
|
},
|
|
4233
4205
|
m(f, g) {
|
|
4234
|
-
|
|
4206
|
+
Z(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), E && E.m(r, null), e[12](t), o = !0;
|
|
4235
4207
|
},
|
|
4236
4208
|
p(f, [g]) {
|
|
4237
|
-
h ? h.p && (!
|
|
4238
|
-
1024) &&
|
|
4209
|
+
h ? h.p && (!o || g & /*$$scope*/
|
|
4210
|
+
1024) && me(
|
|
4239
4211
|
h,
|
|
4240
|
-
|
|
4212
|
+
a,
|
|
4241
4213
|
f,
|
|
4242
4214
|
/*$$scope*/
|
|
4243
4215
|
f[10],
|
|
4244
|
-
|
|
4245
|
-
|
|
4216
|
+
o ? fe(
|
|
4217
|
+
a,
|
|
4246
4218
|
/*$$scope*/
|
|
4247
4219
|
f[10],
|
|
4248
4220
|
g,
|
|
4249
|
-
|
|
4250
|
-
) :
|
|
4221
|
+
Gi
|
|
4222
|
+
) : de(
|
|
4251
4223
|
/*$$scope*/
|
|
4252
4224
|
f[10]
|
|
4253
4225
|
),
|
|
4254
4226
|
St
|
|
4255
|
-
) : u && u.p && (!
|
|
4256
|
-
1) && u.p(f,
|
|
4257
|
-
1024) &&
|
|
4227
|
+
) : u && u.p && (!o || g & /*assetsurl*/
|
|
4228
|
+
1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
|
|
4229
|
+
1024) && me(
|
|
4258
4230
|
c,
|
|
4259
4231
|
l,
|
|
4260
4232
|
f,
|
|
4261
4233
|
/*$$scope*/
|
|
4262
4234
|
f[10],
|
|
4263
|
-
|
|
4235
|
+
o ? fe(
|
|
4264
4236
|
l,
|
|
4265
4237
|
/*$$scope*/
|
|
4266
4238
|
f[10],
|
|
4267
4239
|
g,
|
|
4268
|
-
|
|
4269
|
-
) :
|
|
4240
|
+
ki
|
|
4241
|
+
) : de(
|
|
4270
4242
|
/*$$scope*/
|
|
4271
4243
|
f[10]
|
|
4272
4244
|
),
|
|
4273
4245
|
wt
|
|
4274
|
-
), d ? d.p && (!
|
|
4275
|
-
1024) &&
|
|
4246
|
+
), d ? d.p && (!o || g & /*$$scope*/
|
|
4247
|
+
1024) && me(
|
|
4276
4248
|
d,
|
|
4277
4249
|
m,
|
|
4278
4250
|
f,
|
|
4279
4251
|
/*$$scope*/
|
|
4280
4252
|
f[10],
|
|
4281
|
-
|
|
4253
|
+
o ? fe(
|
|
4282
4254
|
m,
|
|
4283
4255
|
/*$$scope*/
|
|
4284
4256
|
f[10],
|
|
4285
4257
|
g,
|
|
4286
|
-
|
|
4287
|
-
) :
|
|
4258
|
+
Ui
|
|
4259
|
+
) : de(
|
|
4288
4260
|
/*$$scope*/
|
|
4289
4261
|
f[10]
|
|
4290
4262
|
),
|
|
4291
4263
|
Ht
|
|
4292
|
-
) : p && p.p && (!
|
|
4293
|
-
10) && p.p(f,
|
|
4294
|
-
1024) &&
|
|
4295
|
-
x,
|
|
4264
|
+
) : p && p.p && (!o || g & /*$_, errorcode*/
|
|
4265
|
+
10) && p.p(f, o ? g : -1), v ? v.p && (!o || g & /*$$scope*/
|
|
4266
|
+
1024) && me(
|
|
4296
4267
|
v,
|
|
4268
|
+
_,
|
|
4297
4269
|
f,
|
|
4298
4270
|
/*$$scope*/
|
|
4299
4271
|
f[10],
|
|
4300
|
-
|
|
4301
|
-
|
|
4272
|
+
o ? fe(
|
|
4273
|
+
_,
|
|
4302
4274
|
/*$$scope*/
|
|
4303
4275
|
f[10],
|
|
4304
4276
|
g,
|
|
4305
|
-
|
|
4306
|
-
) :
|
|
4277
|
+
Di
|
|
4278
|
+
) : de(
|
|
4307
4279
|
/*$$scope*/
|
|
4308
4280
|
f[10]
|
|
4309
4281
|
),
|
|
4310
4282
|
Tt
|
|
4311
|
-
) : E && E.p && (!
|
|
4312
|
-
8) && E.p(f,
|
|
4283
|
+
) : E && E.p && (!o || g & /*$_*/
|
|
4284
|
+
8) && E.p(f, o ? g : -1);
|
|
4313
4285
|
},
|
|
4314
4286
|
i(f) {
|
|
4315
|
-
|
|
4287
|
+
o || (K(u, f), K(c, f), K(p, f), K(E, f), o = !0);
|
|
4316
4288
|
},
|
|
4317
4289
|
o(f) {
|
|
4318
|
-
|
|
4290
|
+
ge(u, f), ge(c, f), ge(p, f), ge(E, f), o = !1;
|
|
4319
4291
|
},
|
|
4320
4292
|
d(f) {
|
|
4321
|
-
f &&
|
|
4293
|
+
f && N(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
|
|
4322
4294
|
}
|
|
4323
4295
|
};
|
|
4324
4296
|
}
|
|
4325
|
-
function
|
|
4297
|
+
function Xi(e, t, r) {
|
|
4326
4298
|
let n;
|
|
4327
|
-
br(e,
|
|
4328
|
-
let { $$slots: i = {}, $$scope: s } = t, { assetsurl:
|
|
4299
|
+
br(e, Ci, (f) => r(3, n = f));
|
|
4300
|
+
let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
|
|
4329
4301
|
const p = () => {
|
|
4330
|
-
|
|
4331
|
-
},
|
|
4302
|
+
$i(a);
|
|
4303
|
+
}, _ = () => {
|
|
4332
4304
|
fetch(c).then((g) => g.json()).then((g) => {
|
|
4333
4305
|
Object.keys(g).forEach((S) => {
|
|
4334
|
-
|
|
4306
|
+
vt(S, g[S]);
|
|
4335
4307
|
});
|
|
4336
4308
|
}).catch((g) => {
|
|
4337
4309
|
console.error(g);
|
|
4338
4310
|
});
|
|
4339
4311
|
};
|
|
4340
4312
|
Object.keys(xt).forEach((f) => {
|
|
4341
|
-
|
|
4313
|
+
vt(f, xt[f]);
|
|
4342
4314
|
});
|
|
4343
|
-
const
|
|
4315
|
+
const v = () => {
|
|
4344
4316
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4345
4317
|
};
|
|
4346
4318
|
Pr(() => () => {
|
|
4347
4319
|
});
|
|
4348
4320
|
function E(f) {
|
|
4349
|
-
|
|
4321
|
+
je[f ? "unshift" : "push"](() => {
|
|
4350
4322
|
d = f, r(2, d);
|
|
4351
4323
|
});
|
|
4352
4324
|
}
|
|
4353
4325
|
return e.$$set = (f) => {
|
|
4354
|
-
"assetsurl" in f && r(0,
|
|
4326
|
+
"assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
|
|
4355
4327
|
}, e.$$.update = () => {
|
|
4356
4328
|
e.$$.dirty & /*lang*/
|
|
4357
|
-
32 &&
|
|
4358
|
-
68 && u && d &&
|
|
4359
|
-
132 && l && d &&
|
|
4329
|
+
32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4330
|
+
68 && u && d && Ni(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4331
|
+
132 && l && d && Li(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4360
4332
|
516 && m && d && Mi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4361
|
-
256 && c &&
|
|
4333
|
+
256 && c && _();
|
|
4362
4334
|
}, [
|
|
4363
|
-
|
|
4335
|
+
o,
|
|
4364
4336
|
h,
|
|
4365
4337
|
d,
|
|
4366
4338
|
n,
|
|
4367
|
-
|
|
4368
|
-
|
|
4339
|
+
v,
|
|
4340
|
+
a,
|
|
4369
4341
|
u,
|
|
4370
4342
|
l,
|
|
4371
4343
|
c,
|
|
@@ -4380,8 +4352,8 @@ class dr extends Ur {
|
|
|
4380
4352
|
super(), Rr(
|
|
4381
4353
|
this,
|
|
4382
4354
|
t,
|
|
4355
|
+
Xi,
|
|
4383
4356
|
Vi,
|
|
4384
|
-
zi,
|
|
4385
4357
|
Ot,
|
|
4386
4358
|
{
|
|
4387
4359
|
assetsurl: 0,
|
|
@@ -4392,104 +4364,100 @@ class dr extends Ur {
|
|
|
4392
4364
|
translationurl: 8,
|
|
4393
4365
|
mbsource: 9
|
|
4394
4366
|
},
|
|
4395
|
-
|
|
4367
|
+
Ri
|
|
4396
4368
|
);
|
|
4397
4369
|
}
|
|
4398
4370
|
get assetsurl() {
|
|
4399
4371
|
return this.$$.ctx[0];
|
|
4400
4372
|
}
|
|
4401
4373
|
set assetsurl(t) {
|
|
4402
|
-
this.$$set({ assetsurl: t }),
|
|
4374
|
+
this.$$set({ assetsurl: t }), A();
|
|
4403
4375
|
}
|
|
4404
4376
|
get lang() {
|
|
4405
4377
|
return this.$$.ctx[5];
|
|
4406
4378
|
}
|
|
4407
4379
|
set lang(t) {
|
|
4408
|
-
this.$$set({ lang: t }),
|
|
4380
|
+
this.$$set({ lang: t }), A();
|
|
4409
4381
|
}
|
|
4410
4382
|
get errorcode() {
|
|
4411
4383
|
return this.$$.ctx[1];
|
|
4412
4384
|
}
|
|
4413
4385
|
set errorcode(t) {
|
|
4414
|
-
this.$$set({ errorcode: t }),
|
|
4386
|
+
this.$$set({ errorcode: t }), A();
|
|
4415
4387
|
}
|
|
4416
4388
|
get clientstyling() {
|
|
4417
4389
|
return this.$$.ctx[6];
|
|
4418
4390
|
}
|
|
4419
4391
|
set clientstyling(t) {
|
|
4420
|
-
this.$$set({ clientstyling: t }),
|
|
4392
|
+
this.$$set({ clientstyling: t }), A();
|
|
4421
4393
|
}
|
|
4422
4394
|
get clientstylingurl() {
|
|
4423
4395
|
return this.$$.ctx[7];
|
|
4424
4396
|
}
|
|
4425
4397
|
set clientstylingurl(t) {
|
|
4426
|
-
this.$$set({ clientstylingurl: t }),
|
|
4398
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
4427
4399
|
}
|
|
4428
4400
|
get translationurl() {
|
|
4429
4401
|
return this.$$.ctx[8];
|
|
4430
4402
|
}
|
|
4431
4403
|
set translationurl(t) {
|
|
4432
|
-
this.$$set({ translationurl: t }),
|
|
4404
|
+
this.$$set({ translationurl: t }), A();
|
|
4433
4405
|
}
|
|
4434
4406
|
get mbsource() {
|
|
4435
4407
|
return this.$$.ctx[9];
|
|
4436
4408
|
}
|
|
4437
4409
|
set mbsource(t) {
|
|
4438
|
-
this.$$set({ mbsource: t }),
|
|
4410
|
+
this.$$set({ mbsource: t }), A();
|
|
4439
4411
|
}
|
|
4440
4412
|
}
|
|
4441
4413
|
Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4442
|
-
const
|
|
4414
|
+
const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4443
4415
|
__proto__: null,
|
|
4444
4416
|
default: dr
|
|
4445
4417
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4446
4418
|
export {
|
|
4447
|
-
$,
|
|
4448
|
-
|
|
4449
|
-
|
|
4419
|
+
R as $,
|
|
4420
|
+
Dt as A,
|
|
4421
|
+
Pe as B,
|
|
4450
4422
|
pe as C,
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
st as Q,
|
|
4465
|
-
L as R,
|
|
4423
|
+
vr as D,
|
|
4424
|
+
Er as E,
|
|
4425
|
+
es as F,
|
|
4426
|
+
Zi as G,
|
|
4427
|
+
Ji as H,
|
|
4428
|
+
$ as I,
|
|
4429
|
+
st as J,
|
|
4430
|
+
qi as K,
|
|
4431
|
+
Ci as L,
|
|
4432
|
+
Ni as M,
|
|
4433
|
+
Li as N,
|
|
4434
|
+
Mi as O,
|
|
4435
|
+
rs as P,
|
|
4466
4436
|
Ur as S,
|
|
4467
|
-
ns as T,
|
|
4468
|
-
ts as _,
|
|
4469
4437
|
lr as a,
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4438
|
+
hi as b,
|
|
4439
|
+
ts as c,
|
|
4440
|
+
Dr as d,
|
|
4441
|
+
Rr as e,
|
|
4442
|
+
A as f,
|
|
4475
4443
|
Fr as g,
|
|
4476
|
-
|
|
4444
|
+
yr as h,
|
|
4477
4445
|
At as i,
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4446
|
+
N as j,
|
|
4447
|
+
Z as k,
|
|
4448
|
+
P as l,
|
|
4449
|
+
j as m,
|
|
4450
|
+
w as n,
|
|
4451
|
+
br as o,
|
|
4452
|
+
Pr as p,
|
|
4453
|
+
je as q,
|
|
4454
|
+
ge as r,
|
|
4487
4455
|
Ot as s,
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4456
|
+
K as t,
|
|
4457
|
+
Qi as u,
|
|
4458
|
+
O as v,
|
|
4459
|
+
Le as w,
|
|
4460
|
+
Ki as x,
|
|
4461
|
+
ne as y,
|
|
4462
|
+
Yi as z
|
|
4495
4463
|
};
|