@everymatrix/cashier-iframe-redirect 1.65.3 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierHeader-BLKRyQYg.js → CashierHeader-BU2XhOB-.js} +878 -876
- package/components/CashierHeader-CIf8LriI.cjs +5 -0
- package/components/{CashierHeader-D72MvfBn.js → CashierHeader-wVdCRyGA.js} +760 -758
- package/components/{CashierIframeRedirect-d2TzWDJ7.js → CashierIframeRedirect-BBSdA2CD.js} +11 -11
- package/components/{CashierIframeRedirect-Ckp6fRZs.js → CashierIframeRedirect-Bc9V1TPx.js} +13 -13
- package/components/{CashierIframeRedirect-BTZVZ4KF.cjs → CashierIframeRedirect-eIGVMb9Z.cjs} +1 -1
- package/components/{CashierSpinner-ATGI4LCH.cjs → CashierSpinner-BVoIfXAy.cjs} +1 -1
- package/components/{CashierSpinner-DLaKVsq5.js → CashierSpinner-DEPlQvuv.js} +13 -13
- package/components/{CashierSpinner-mBP0PllY.js → CashierSpinner-DSE1oryj.js} +13 -13
- package/es2015/cashier-iframe-redirect.cjs +1 -1
- package/es2015/cashier-iframe-redirect.js +1 -1
- package/esnext/cashier-iframe-redirect.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-D4NBng6i.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function B() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function rr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function tr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Et(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function qe() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function re(e) {
|
|
18
|
+
e.forEach(Et);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Xe(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
23
|
function xt(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
let
|
|
27
|
-
function
|
|
28
|
-
return e === t ? !0 : (
|
|
26
|
+
let oe;
|
|
27
|
+
function Ti(e, t) {
|
|
28
|
+
return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function nr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function vt(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,19 +39,19 @@ function Et(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function ir(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(vt(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function ve(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = Ht(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function Ht(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function He(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function Ee(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Be(e, t, r, n, i, s) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const u =
|
|
71
|
+
const u = Ht(t, r, n, s);
|
|
72
72
|
e.p(u, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Te(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -81,17 +81,17 @@ function He(e) {
|
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function me(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function sr(e, t, r) {
|
|
88
|
+
const n = or(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
90
|
const i = z("style");
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
i.id = t, i.textContent = r, ar(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function or(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,49 +101,49 @@ function sr(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function ar(e, t) {
|
|
105
|
+
return me(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
108
108
|
t
|
|
109
109
|
), t.sheet;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function M(e, t, r) {
|
|
112
112
|
e.insertBefore(t, r || null);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function P(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
117
|
function z(e) {
|
|
118
118
|
return document.createElement(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function We(e) {
|
|
121
121
|
return document.createTextNode(e);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
return
|
|
123
|
+
function Je() {
|
|
124
|
+
return We(" ");
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
return
|
|
126
|
+
function Bt() {
|
|
127
|
+
return We("");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Tt(e, t, r, n) {
|
|
130
130
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Z(e, t, r) {
|
|
133
133
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function wi(e, t, r) {
|
|
136
136
|
const n = t.toLowerCase();
|
|
137
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
137
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Z(e, t, r);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ur(e) {
|
|
140
140
|
return Array.from(e.childNodes);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function hr(e, t) {
|
|
143
143
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
144
144
|
t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function lr(e) {
|
|
147
147
|
const t = {};
|
|
148
148
|
return e.childNodes.forEach(
|
|
149
149
|
/** @param {Element} node */
|
|
@@ -152,89 +152,89 @@ function hr(e) {
|
|
|
152
152
|
}
|
|
153
153
|
), t;
|
|
154
154
|
}
|
|
155
|
-
let
|
|
156
|
-
function
|
|
157
|
-
|
|
155
|
+
let ze;
|
|
156
|
+
function K(e) {
|
|
157
|
+
ze = e;
|
|
158
158
|
}
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
function
|
|
164
|
-
|
|
159
|
+
const F = [], Ie = [];
|
|
160
|
+
let j = [];
|
|
161
|
+
const Ye = [], fr = /* @__PURE__ */ Promise.resolve();
|
|
162
|
+
let Me = !1;
|
|
163
|
+
function cr() {
|
|
164
|
+
Me || (Me = !0, fr.then(A));
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
166
|
+
function $e(e) {
|
|
167
|
+
j.push(e);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
if (
|
|
169
|
+
const we = /* @__PURE__ */ new Set();
|
|
170
|
+
let D = 0;
|
|
171
|
+
function A() {
|
|
172
|
+
if (D !== 0)
|
|
173
173
|
return;
|
|
174
|
-
const e =
|
|
174
|
+
const e = ze;
|
|
175
175
|
do {
|
|
176
176
|
try {
|
|
177
|
-
for (;
|
|
178
|
-
const t =
|
|
179
|
-
|
|
177
|
+
for (; D < F.length; ) {
|
|
178
|
+
const t = F[D];
|
|
179
|
+
D++, K(t), mr(t.$$);
|
|
180
180
|
}
|
|
181
181
|
} catch (t) {
|
|
182
|
-
throw
|
|
182
|
+
throw F.length = 0, D = 0, t;
|
|
183
183
|
}
|
|
184
|
-
for (
|
|
185
|
-
|
|
186
|
-
for (let t = 0; t <
|
|
187
|
-
const r =
|
|
188
|
-
|
|
184
|
+
for (K(null), F.length = 0, D = 0; Ie.length; )
|
|
185
|
+
Ie.pop()();
|
|
186
|
+
for (let t = 0; t < j.length; t += 1) {
|
|
187
|
+
const r = j[t];
|
|
188
|
+
we.has(r) || (we.add(r), r());
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
} while (
|
|
192
|
-
for (;
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
j.length = 0;
|
|
191
|
+
} while (F.length);
|
|
192
|
+
for (; Ye.length; )
|
|
193
|
+
Ye.pop()();
|
|
194
|
+
Me = !1, we.clear(), K(e);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function mr(e) {
|
|
197
197
|
if (e.fragment !== null) {
|
|
198
|
-
e.update(),
|
|
198
|
+
e.update(), re(e.before_update);
|
|
199
199
|
const t = e.dirty;
|
|
200
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function pr(e) {
|
|
204
204
|
const t = [], r = [];
|
|
205
|
-
|
|
205
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const ue = /* @__PURE__ */ new Set();
|
|
208
208
|
let dr;
|
|
209
|
-
function
|
|
210
|
-
e && e.i && (
|
|
209
|
+
function he(e, t) {
|
|
210
|
+
e && e.i && (ue.delete(e), e.i(t));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Se(e, t, r, n) {
|
|
213
213
|
if (e && e.o) {
|
|
214
|
-
if (
|
|
214
|
+
if (ue.has(e))
|
|
215
215
|
return;
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
ue.add(e), dr.c.push(() => {
|
|
217
|
+
ue.delete(e);
|
|
218
218
|
}), e.o(t);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function br(e, t, r) {
|
|
222
222
|
const { fragment: n, after_update: i } = e.$$;
|
|
223
|
-
n && n.m(t, r),
|
|
224
|
-
const s = e.$$.on_mount.map(
|
|
225
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
226
|
-
}), i.forEach(
|
|
223
|
+
n && n.m(t, r), $e(() => {
|
|
224
|
+
const s = e.$$.on_mount.map(Et).filter(Xe);
|
|
225
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
226
|
+
}), i.forEach($e);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function gr(e, t) {
|
|
229
229
|
const r = e.$$;
|
|
230
|
-
r.fragment !== null && (
|
|
230
|
+
r.fragment !== null && (pr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
e.$$.dirty[0] === -1 && (
|
|
232
|
+
function _r(e, t) {
|
|
233
|
+
e.$$.dirty[0] === -1 && (F.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
const l =
|
|
237
|
-
|
|
235
|
+
function yr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
236
|
+
const l = ze;
|
|
237
|
+
K(e);
|
|
238
238
|
const a = e.$$ = {
|
|
239
239
|
fragment: null,
|
|
240
240
|
ctx: [],
|
|
@@ -242,7 +242,7 @@ function _r(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
242
242
|
props: s,
|
|
243
243
|
update: B,
|
|
244
244
|
not_equal: i,
|
|
245
|
-
bound:
|
|
245
|
+
bound: qe(),
|
|
246
246
|
// lifecycle
|
|
247
247
|
on_mount: [],
|
|
248
248
|
on_destroy: [],
|
|
@@ -251,28 +251,28 @@ function _r(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
251
251
|
after_update: [],
|
|
252
252
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
253
253
|
// everything else
|
|
254
|
-
callbacks:
|
|
254
|
+
callbacks: qe(),
|
|
255
255
|
dirty: o,
|
|
256
256
|
skip_bound: !1,
|
|
257
257
|
root: t.target || l.$$.root
|
|
258
258
|
};
|
|
259
259
|
u && u(a.root);
|
|
260
260
|
let h = !1;
|
|
261
|
-
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
262
|
-
const m =
|
|
263
|
-
return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h &&
|
|
264
|
-
}) : [], a.update(), h = !0,
|
|
261
|
+
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
262
|
+
const m = p.length ? p[0] : c;
|
|
263
|
+
return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && _r(e, f)), c;
|
|
264
|
+
}) : [], a.update(), h = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
265
265
|
if (t.hydrate) {
|
|
266
|
-
const f =
|
|
267
|
-
a.fragment && a.fragment.l(f), f.forEach(
|
|
266
|
+
const f = ur(t.target);
|
|
267
|
+
a.fragment && a.fragment.l(f), f.forEach(P);
|
|
268
268
|
} else
|
|
269
269
|
a.fragment && a.fragment.c();
|
|
270
|
-
t.intro &&
|
|
270
|
+
t.intro && he(e.$$.fragment), br(e, t.target, t.anchor), A();
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
K(l);
|
|
273
273
|
}
|
|
274
|
-
let
|
|
275
|
-
typeof HTMLElement == "function" && (
|
|
274
|
+
let wt;
|
|
275
|
+
typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
276
276
|
/** The Svelte component constructor */
|
|
277
277
|
$$ctor;
|
|
278
278
|
/** Slots */
|
|
@@ -314,29 +314,29 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
314
314
|
let s;
|
|
315
315
|
return {
|
|
316
316
|
c: function() {
|
|
317
|
-
s = z("slot"), i !== "default" &&
|
|
317
|
+
s = z("slot"), i !== "default" && Z(s, "name", i);
|
|
318
318
|
},
|
|
319
319
|
/**
|
|
320
320
|
* @param {HTMLElement} target
|
|
321
321
|
* @param {HTMLElement} [anchor]
|
|
322
322
|
*/
|
|
323
323
|
m: function(l, a) {
|
|
324
|
-
|
|
324
|
+
M(l, s, a);
|
|
325
325
|
},
|
|
326
326
|
d: function(l) {
|
|
327
|
-
l &&
|
|
327
|
+
l && P(s);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
333
333
|
return;
|
|
334
|
-
const t = {}, r =
|
|
334
|
+
const t = {}, r = lr(this);
|
|
335
335
|
for (const i of this.$$s)
|
|
336
336
|
i in r && (t[i] = [e(i)]);
|
|
337
337
|
for (const i of this.attributes) {
|
|
338
338
|
const s = this.$$g_p(i.name);
|
|
339
|
-
s in this.$$d || (this.$$d[s] =
|
|
339
|
+
s in this.$$d || (this.$$d[s] = le(s, i.value, this.$$p_d, "toProp"));
|
|
340
340
|
}
|
|
341
341
|
for (const i in this.$$p_d)
|
|
342
342
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
354
354
|
this.$$r = !0;
|
|
355
355
|
for (const i in this.$$p_d)
|
|
356
356
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
357
|
-
const s =
|
|
357
|
+
const s = le(
|
|
358
358
|
i,
|
|
359
359
|
this.$$d[i],
|
|
360
360
|
this.$$p_d,
|
|
@@ -376,7 +376,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
376
376
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
377
377
|
// and setting attributes through setAttribute etc, this is helpful
|
|
378
378
|
attributeChangedCallback(e, t, r) {
|
|
379
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
379
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
380
380
|
}
|
|
381
381
|
disconnectedCallback() {
|
|
382
382
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
389
389
|
) || e;
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
|
-
function
|
|
392
|
+
function le(e, t, r, n) {
|
|
393
393
|
const i = r[e]?.type;
|
|
394
394
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
395
395
|
return t;
|
|
@@ -418,8 +418,8 @@ function he(e, t, r, n) {
|
|
|
418
418
|
return t;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
let u = class extends
|
|
421
|
+
function Er(e, t, r, n, i, s) {
|
|
422
|
+
let u = class extends wt {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(e, r, i), this.$$p_d = t;
|
|
425
425
|
}
|
|
@@ -435,7 +435,7 @@ function yr(e, t, r, n, i, s) {
|
|
|
435
435
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
436
436
|
},
|
|
437
437
|
set(l) {
|
|
438
|
-
l =
|
|
438
|
+
l = le(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
441
|
}), n.forEach((o) => {
|
|
@@ -466,7 +466,7 @@ class xr {
|
|
|
466
466
|
$$set = void 0;
|
|
467
467
|
/** @returns {void} */
|
|
468
468
|
$destroy() {
|
|
469
|
-
|
|
469
|
+
gr(this, 1), this.$destroy = B;
|
|
470
470
|
}
|
|
471
471
|
/**
|
|
472
472
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -475,7 +475,7 @@ class xr {
|
|
|
475
475
|
* @returns {() => void}
|
|
476
476
|
*/
|
|
477
477
|
$on(t, r) {
|
|
478
|
-
if (!
|
|
478
|
+
if (!Xe(r))
|
|
479
479
|
return B;
|
|
480
480
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
481
481
|
return n.push(r), () => {
|
|
@@ -488,29 +488,29 @@ class xr {
|
|
|
488
488
|
* @returns {void}
|
|
489
489
|
*/
|
|
490
490
|
$set(t) {
|
|
491
|
-
this.$$set && !
|
|
491
|
+
this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
const
|
|
495
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
496
|
-
const
|
|
497
|
-
function
|
|
494
|
+
const vr = "4";
|
|
495
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
|
|
496
|
+
const G = [];
|
|
497
|
+
function Hr(e, t) {
|
|
498
498
|
return {
|
|
499
|
-
subscribe:
|
|
499
|
+
subscribe: _e(e, t).subscribe
|
|
500
500
|
};
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function _e(e, t = B) {
|
|
503
503
|
let r;
|
|
504
504
|
const n = /* @__PURE__ */ new Set();
|
|
505
505
|
function i(o) {
|
|
506
506
|
if (xt(e, o) && (e = o, r)) {
|
|
507
|
-
const l = !
|
|
507
|
+
const l = !G.length;
|
|
508
508
|
for (const a of n)
|
|
509
|
-
a[1](),
|
|
509
|
+
a[1](), G.push(a, e);
|
|
510
510
|
if (l) {
|
|
511
|
-
for (let a = 0; a <
|
|
512
|
-
|
|
513
|
-
|
|
511
|
+
for (let a = 0; a < G.length; a += 2)
|
|
512
|
+
G[a][0](G[a + 1]);
|
|
513
|
+
G.length = 0;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -525,12 +525,12 @@ function be(e, t = B) {
|
|
|
525
525
|
}
|
|
526
526
|
return { set: i, update: s, subscribe: u };
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Q(e, t, r) {
|
|
529
529
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
530
530
|
if (!i.every(Boolean))
|
|
531
531
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
532
532
|
const s = t.length < 2;
|
|
533
|
-
return
|
|
533
|
+
return Hr(r, (u, o) => {
|
|
534
534
|
let l = !1;
|
|
535
535
|
const a = [];
|
|
536
536
|
let h = 0, f = B;
|
|
@@ -539,9 +539,9 @@ function Z(e, t, r) {
|
|
|
539
539
|
return;
|
|
540
540
|
f();
|
|
541
541
|
const m = t(n ? a[0] : a, u, o);
|
|
542
|
-
s ? u(m) : f =
|
|
543
|
-
},
|
|
544
|
-
(m, g) =>
|
|
542
|
+
s ? u(m) : f = Xe(m) ? m : B;
|
|
543
|
+
}, p = i.map(
|
|
544
|
+
(m, g) => vt(
|
|
545
545
|
m,
|
|
546
546
|
(v) => {
|
|
547
547
|
a[g] = v, h &= ~(1 << g), l && c();
|
|
@@ -552,126 +552,112 @@ function Z(e, t, r) {
|
|
|
552
552
|
)
|
|
553
553
|
);
|
|
554
554
|
return l = !0, c(), function() {
|
|
555
|
-
|
|
555
|
+
re(p), f(), l = !1;
|
|
556
556
|
};
|
|
557
557
|
});
|
|
558
558
|
}
|
|
559
|
-
function
|
|
560
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
559
|
+
function Br(e) {
|
|
560
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
561
561
|
}
|
|
562
|
-
var
|
|
563
|
-
return
|
|
562
|
+
var Tr = function(t) {
|
|
563
|
+
return wr(t) && !Sr(t);
|
|
564
564
|
};
|
|
565
|
-
function
|
|
565
|
+
function wr(e) {
|
|
566
566
|
return !!e && typeof e == "object";
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function Sr(e) {
|
|
569
569
|
var t = Object.prototype.toString.call(e);
|
|
570
570
|
return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
|
|
571
571
|
}
|
|
572
|
-
var
|
|
572
|
+
var Ar = typeof Symbol == "function" && Symbol.for, Or = Ar ? Symbol.for("react.element") : 60103;
|
|
573
573
|
function Cr(e) {
|
|
574
|
-
return e.$$typeof ===
|
|
574
|
+
return e.$$typeof === Or;
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Pr(e) {
|
|
577
577
|
return Array.isArray(e) ? [] : {};
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
579
|
+
function ee(e, t) {
|
|
580
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(Pr(e), e, t) : e;
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function Lr(e, t, r) {
|
|
583
583
|
return e.concat(t).map(function(n) {
|
|
584
|
-
return
|
|
584
|
+
return ee(n, r);
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function Nr(e, t) {
|
|
588
588
|
if (!t.customMerge)
|
|
589
|
-
return
|
|
589
|
+
return k;
|
|
590
590
|
var r = t.customMerge(e);
|
|
591
|
-
return typeof r == "function" ? r :
|
|
591
|
+
return typeof r == "function" ? r : k;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Ir(e) {
|
|
594
594
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
595
595
|
return Object.propertyIsEnumerable.call(e, t);
|
|
596
596
|
}) : [];
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
return Object.keys(e).concat(
|
|
598
|
+
function Ke(e) {
|
|
599
|
+
return Object.keys(e).concat(Ir(e));
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function St(e, t) {
|
|
602
602
|
try {
|
|
603
603
|
return t in e;
|
|
604
604
|
} catch {
|
|
605
605
|
return !1;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
function
|
|
609
|
-
return
|
|
608
|
+
function Mr(e, t) {
|
|
609
|
+
return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function $r(e, t, r) {
|
|
612
612
|
var n = {};
|
|
613
|
-
return r.isMergeableObject(e) &&
|
|
614
|
-
n[i] =
|
|
615
|
-
}),
|
|
616
|
-
|
|
613
|
+
return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
|
|
614
|
+
n[i] = ee(e[i], r);
|
|
615
|
+
}), Ke(t).forEach(function(i) {
|
|
616
|
+
Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
617
617
|
}), n;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
619
|
+
function k(e, t, r) {
|
|
620
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = ee;
|
|
621
621
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
622
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
622
|
+
return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : ee(t, r);
|
|
623
623
|
}
|
|
624
|
-
|
|
624
|
+
k.all = function(t, r) {
|
|
625
625
|
if (!Array.isArray(t))
|
|
626
626
|
throw new Error("first argument should be an array");
|
|
627
627
|
return t.reduce(function(n, i) {
|
|
628
|
-
return
|
|
628
|
+
return k(n, i, r);
|
|
629
629
|
}, {});
|
|
630
630
|
};
|
|
631
|
-
var
|
|
632
|
-
const
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
637
|
-
purpose with or without fee is hereby granted.
|
|
638
|
-
|
|
639
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
640
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
641
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
642
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
643
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
644
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
645
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
646
|
-
***************************************************************************** */
|
|
647
|
-
var Me = function(e, t) {
|
|
648
|
-
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
631
|
+
var Rr = k, Ur = Rr;
|
|
632
|
+
const Dr = /* @__PURE__ */ Br(Ur);
|
|
633
|
+
var Re = function(e, t) {
|
|
634
|
+
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
649
635
|
r.__proto__ = n;
|
|
650
636
|
} || function(r, n) {
|
|
651
637
|
for (var i in n)
|
|
652
638
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
653
|
-
},
|
|
639
|
+
}, Re(e, t);
|
|
654
640
|
};
|
|
655
|
-
function
|
|
641
|
+
function ye(e, t) {
|
|
656
642
|
if (typeof t != "function" && t !== null)
|
|
657
643
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
658
|
-
|
|
644
|
+
Re(e, t);
|
|
659
645
|
function r() {
|
|
660
646
|
this.constructor = e;
|
|
661
647
|
}
|
|
662
648
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
663
649
|
}
|
|
664
|
-
var
|
|
665
|
-
return
|
|
650
|
+
var T = function() {
|
|
651
|
+
return T = Object.assign || function(t) {
|
|
666
652
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
667
653
|
r = arguments[n];
|
|
668
654
|
for (var s in r)
|
|
669
655
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
670
656
|
}
|
|
671
657
|
return t;
|
|
672
|
-
},
|
|
658
|
+
}, T.apply(this, arguments);
|
|
673
659
|
};
|
|
674
|
-
function
|
|
660
|
+
function Gr(e, t) {
|
|
675
661
|
var r = {};
|
|
676
662
|
for (var n in e)
|
|
677
663
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -680,46 +666,43 @@ function Dr(e, t) {
|
|
|
680
666
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
681
667
|
return r;
|
|
682
668
|
}
|
|
683
|
-
function
|
|
684
|
-
if (arguments.length === 2)
|
|
669
|
+
function Ae(e, t, r) {
|
|
670
|
+
if (r || arguments.length === 2)
|
|
685
671
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
686
672
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
687
|
-
return e.concat(s || t);
|
|
673
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
688
674
|
}
|
|
689
|
-
function
|
|
690
|
-
var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer :
|
|
675
|
+
function Oe(e, t) {
|
|
676
|
+
var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : kr;
|
|
691
677
|
return i(e, {
|
|
692
678
|
cache: r,
|
|
693
679
|
serializer: n
|
|
694
680
|
});
|
|
695
681
|
}
|
|
696
|
-
function
|
|
682
|
+
function Fr(e) {
|
|
697
683
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
698
684
|
}
|
|
699
|
-
function
|
|
700
|
-
var i =
|
|
685
|
+
function jr(e, t, r, n) {
|
|
686
|
+
var i = Fr(n) ? n : r(n), s = t.get(i);
|
|
701
687
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
702
688
|
}
|
|
703
689
|
function At(e, t, r) {
|
|
704
690
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
705
691
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
706
692
|
}
|
|
707
|
-
function
|
|
693
|
+
function Ot(e, t, r, n, i) {
|
|
708
694
|
return r.bind(t, e, n, i);
|
|
709
695
|
}
|
|
710
|
-
function Fr(e, t) {
|
|
711
|
-
var r = e.length === 1 ? St : At;
|
|
712
|
-
return ze(e, this, r, t.cache.create(), t.serializer);
|
|
713
|
-
}
|
|
714
|
-
function jr(e, t) {
|
|
715
|
-
return ze(e, this, At, t.cache.create(), t.serializer);
|
|
716
|
-
}
|
|
717
696
|
function kr(e, t) {
|
|
718
|
-
|
|
697
|
+
var r = e.length === 1 ? jr : At;
|
|
698
|
+
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
719
699
|
}
|
|
720
|
-
|
|
700
|
+
function Vr(e, t) {
|
|
701
|
+
return Ot(e, this, At, t.cache.create(), t.serializer);
|
|
702
|
+
}
|
|
703
|
+
var Xr = function() {
|
|
721
704
|
return JSON.stringify(arguments);
|
|
722
|
-
},
|
|
705
|
+
}, Wr = (
|
|
723
706
|
/** @class */
|
|
724
707
|
function() {
|
|
725
708
|
function e() {
|
|
@@ -733,60 +716,69 @@ var Vr = function() {
|
|
|
733
716
|
}()
|
|
734
717
|
), zr = {
|
|
735
718
|
create: function() {
|
|
736
|
-
return new
|
|
719
|
+
return new Wr();
|
|
737
720
|
}
|
|
738
|
-
},
|
|
739
|
-
variadic:
|
|
740
|
-
|
|
741
|
-
|
|
721
|
+
}, Ce = {
|
|
722
|
+
variadic: Vr
|
|
723
|
+
}, pe = function() {
|
|
724
|
+
return pe = Object.assign || function(t) {
|
|
725
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
726
|
+
r = arguments[n];
|
|
727
|
+
for (var s in r)
|
|
728
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
729
|
+
}
|
|
730
|
+
return t;
|
|
731
|
+
}, pe.apply(this, arguments);
|
|
732
|
+
};
|
|
733
|
+
var d;
|
|
742
734
|
(function(e) {
|
|
743
735
|
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";
|
|
744
|
-
})(
|
|
745
|
-
var
|
|
736
|
+
})(d || (d = {}));
|
|
737
|
+
var y;
|
|
746
738
|
(function(e) {
|
|
747
739
|
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";
|
|
748
|
-
})(
|
|
749
|
-
var
|
|
740
|
+
})(y || (y = {}));
|
|
741
|
+
var V;
|
|
750
742
|
(function(e) {
|
|
751
743
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
752
|
-
})(
|
|
753
|
-
function
|
|
754
|
-
return e.type ===
|
|
744
|
+
})(V || (V = {}));
|
|
745
|
+
function et(e) {
|
|
746
|
+
return e.type === y.literal;
|
|
755
747
|
}
|
|
756
|
-
function
|
|
757
|
-
return e.type ===
|
|
748
|
+
function Zr(e) {
|
|
749
|
+
return e.type === y.argument;
|
|
758
750
|
}
|
|
759
751
|
function Ct(e) {
|
|
760
|
-
return e.type ===
|
|
761
|
-
}
|
|
762
|
-
function Ot(e) {
|
|
763
|
-
return e.type === x.date;
|
|
752
|
+
return e.type === y.number;
|
|
764
753
|
}
|
|
765
754
|
function Pt(e) {
|
|
766
|
-
return e.type ===
|
|
755
|
+
return e.type === y.date;
|
|
767
756
|
}
|
|
768
757
|
function Lt(e) {
|
|
769
|
-
return e.type ===
|
|
758
|
+
return e.type === y.time;
|
|
770
759
|
}
|
|
771
760
|
function Nt(e) {
|
|
772
|
-
return e.type ===
|
|
773
|
-
}
|
|
774
|
-
function Zr(e) {
|
|
775
|
-
return e.type === x.pound;
|
|
761
|
+
return e.type === y.select;
|
|
776
762
|
}
|
|
777
763
|
function It(e) {
|
|
778
|
-
return e.type ===
|
|
764
|
+
return e.type === y.plural;
|
|
765
|
+
}
|
|
766
|
+
function Qr(e) {
|
|
767
|
+
return e.type === y.pound;
|
|
779
768
|
}
|
|
780
769
|
function Mt(e) {
|
|
781
|
-
return
|
|
770
|
+
return e.type === y.tag;
|
|
782
771
|
}
|
|
783
|
-
function $
|
|
784
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
772
|
+
function $t(e) {
|
|
773
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
774
|
+
}
|
|
775
|
+
function Ue(e) {
|
|
776
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
785
777
|
}
|
|
786
|
-
var
|
|
787
|
-
function
|
|
778
|
+
var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[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;
|
|
779
|
+
function Jr(e) {
|
|
788
780
|
var t = {};
|
|
789
|
-
return e.replace(
|
|
781
|
+
return e.replace(qr, function(r) {
|
|
790
782
|
var n = r.length;
|
|
791
783
|
switch (r[0]) {
|
|
792
784
|
case "G":
|
|
@@ -875,11 +867,21 @@ function qr(e) {
|
|
|
875
867
|
return "";
|
|
876
868
|
}), t;
|
|
877
869
|
}
|
|
878
|
-
var
|
|
879
|
-
function
|
|
870
|
+
var E = function() {
|
|
871
|
+
return E = Object.assign || function(t) {
|
|
872
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
873
|
+
r = arguments[n];
|
|
874
|
+
for (var s in r)
|
|
875
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
876
|
+
}
|
|
877
|
+
return t;
|
|
878
|
+
}, E.apply(this, arguments);
|
|
879
|
+
};
|
|
880
|
+
var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
881
|
+
function Kr(e) {
|
|
880
882
|
if (e.length === 0)
|
|
881
883
|
throw new Error("Number skeleton cannot be empty");
|
|
882
|
-
for (var t = e.split(
|
|
884
|
+
for (var t = e.split(Yr).filter(function(c) {
|
|
883
885
|
return c.length > 0;
|
|
884
886
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
885
887
|
var s = i[n], u = s.split("/");
|
|
@@ -894,17 +896,17 @@ function Yr(e) {
|
|
|
894
896
|
}
|
|
895
897
|
return r;
|
|
896
898
|
}
|
|
897
|
-
function
|
|
899
|
+
function en(e) {
|
|
898
900
|
return e.replace(/^(.*?)-/, "");
|
|
899
901
|
}
|
|
900
|
-
var
|
|
901
|
-
function
|
|
902
|
+
var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
|
|
903
|
+
function rt(e) {
|
|
902
904
|
var t = {};
|
|
903
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
905
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
|
|
904
906
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
905
907
|
}), t;
|
|
906
908
|
}
|
|
907
|
-
function
|
|
909
|
+
function Gt(e) {
|
|
908
910
|
switch (e) {
|
|
909
911
|
case "sign-auto":
|
|
910
912
|
return {
|
|
@@ -944,7 +946,7 @@ function Dt(e) {
|
|
|
944
946
|
};
|
|
945
947
|
}
|
|
946
948
|
}
|
|
947
|
-
function
|
|
949
|
+
function rn(e) {
|
|
948
950
|
var t;
|
|
949
951
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
950
952
|
notation: "engineering"
|
|
@@ -952,17 +954,17 @@ function tn(e) {
|
|
|
952
954
|
notation: "scientific"
|
|
953
955
|
}, e = e.slice(1)), t) {
|
|
954
956
|
var r = e.slice(0, 2);
|
|
955
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
957
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
|
|
956
958
|
throw new Error("Malformed concise eng/scientific notation");
|
|
957
959
|
t.minimumIntegerDigits = e.length;
|
|
958
960
|
}
|
|
959
961
|
return t;
|
|
960
962
|
}
|
|
961
|
-
function
|
|
962
|
-
var t = {}, r =
|
|
963
|
+
function nt(e) {
|
|
964
|
+
var t = {}, r = Gt(e);
|
|
963
965
|
return r || t;
|
|
964
966
|
}
|
|
965
|
-
function
|
|
967
|
+
function nn(e) {
|
|
966
968
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
967
969
|
var i = n[r];
|
|
968
970
|
switch (i.stem) {
|
|
@@ -986,7 +988,7 @@ function rn(e) {
|
|
|
986
988
|
continue;
|
|
987
989
|
case "measure-unit":
|
|
988
990
|
case "unit":
|
|
989
|
-
t.style = "unit", t.unit =
|
|
991
|
+
t.style = "unit", t.unit = en(i.options[0]);
|
|
990
992
|
continue;
|
|
991
993
|
case "compact-short":
|
|
992
994
|
case "K":
|
|
@@ -997,13 +999,13 @@ function rn(e) {
|
|
|
997
999
|
t.notation = "compact", t.compactDisplay = "long";
|
|
998
1000
|
continue;
|
|
999
1001
|
case "scientific":
|
|
1000
|
-
t =
|
|
1001
|
-
return
|
|
1002
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1003
|
+
return E(E({}, l), nt(a));
|
|
1002
1004
|
}, {}));
|
|
1003
1005
|
continue;
|
|
1004
1006
|
case "engineering":
|
|
1005
|
-
t =
|
|
1006
|
-
return
|
|
1007
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1008
|
+
return E(E({}, l), nt(a));
|
|
1007
1009
|
}, {}));
|
|
1008
1010
|
continue;
|
|
1009
1011
|
case "notation-simple":
|
|
@@ -1048,45 +1050,45 @@ function rn(e) {
|
|
|
1048
1050
|
case "integer-width":
|
|
1049
1051
|
if (i.options.length > 1)
|
|
1050
1052
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1051
|
-
i.options[0].replace(
|
|
1053
|
+
i.options[0].replace(tn, function(l, a, h, f, c, p) {
|
|
1052
1054
|
if (a)
|
|
1053
1055
|
t.minimumIntegerDigits = h.length;
|
|
1054
1056
|
else {
|
|
1055
1057
|
if (f && c)
|
|
1056
1058
|
throw new Error("We currently do not support maximum integer digits");
|
|
1057
|
-
if (
|
|
1059
|
+
if (p)
|
|
1058
1060
|
throw new Error("We currently do not support exact integer digits");
|
|
1059
1061
|
}
|
|
1060
1062
|
return "";
|
|
1061
1063
|
});
|
|
1062
1064
|
continue;
|
|
1063
1065
|
}
|
|
1064
|
-
if (
|
|
1066
|
+
if (Dt.test(i.stem)) {
|
|
1065
1067
|
t.minimumIntegerDigits = i.stem.length;
|
|
1066
1068
|
continue;
|
|
1067
1069
|
}
|
|
1068
|
-
if (
|
|
1070
|
+
if (tt.test(i.stem)) {
|
|
1069
1071
|
if (i.options.length > 1)
|
|
1070
1072
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1071
|
-
i.stem.replace(
|
|
1072
|
-
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1073
|
+
i.stem.replace(tt, function(l, a, h, f, c, p) {
|
|
1074
|
+
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1073
1075
|
});
|
|
1074
1076
|
var s = i.options[0];
|
|
1075
|
-
s === "w" ? t =
|
|
1077
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), rt(s)));
|
|
1076
1078
|
continue;
|
|
1077
1079
|
}
|
|
1078
|
-
if (
|
|
1079
|
-
t =
|
|
1080
|
+
if (Ut.test(i.stem)) {
|
|
1081
|
+
t = E(E({}, t), rt(i.stem));
|
|
1080
1082
|
continue;
|
|
1081
1083
|
}
|
|
1082
|
-
var u =
|
|
1083
|
-
u && (t =
|
|
1084
|
-
var o =
|
|
1085
|
-
o && (t =
|
|
1084
|
+
var u = Gt(i.stem);
|
|
1085
|
+
u && (t = E(E({}, t), u));
|
|
1086
|
+
var o = rn(i.stem);
|
|
1087
|
+
o && (t = E(E({}, t), o));
|
|
1086
1088
|
}
|
|
1087
1089
|
return t;
|
|
1088
1090
|
}
|
|
1089
|
-
var
|
|
1091
|
+
var ae = {
|
|
1090
1092
|
"001": [
|
|
1091
1093
|
"H",
|
|
1092
1094
|
"h"
|
|
@@ -2501,13 +2503,13 @@ var oe = {
|
|
|
2501
2503
|
"h"
|
|
2502
2504
|
]
|
|
2503
2505
|
};
|
|
2504
|
-
function
|
|
2506
|
+
function sn(e, t) {
|
|
2505
2507
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2506
2508
|
var i = e.charAt(n);
|
|
2507
2509
|
if (i === "j") {
|
|
2508
2510
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2509
2511
|
s++, n++;
|
|
2510
|
-
var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a =
|
|
2512
|
+
var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = on(t);
|
|
2511
2513
|
for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
|
|
2512
2514
|
r += l;
|
|
2513
2515
|
for (; u-- > 0; )
|
|
@@ -2517,7 +2519,7 @@ function nn(e, t) {
|
|
|
2517
2519
|
}
|
|
2518
2520
|
return r;
|
|
2519
2521
|
}
|
|
2520
|
-
function
|
|
2522
|
+
function on(e) {
|
|
2521
2523
|
var t = e.hourCycle;
|
|
2522
2524
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2523
2525
|
e.hourCycles && // @ts-ignore
|
|
@@ -2536,23 +2538,23 @@ function sn(e) {
|
|
|
2536
2538
|
}
|
|
2537
2539
|
var r = e.language, n;
|
|
2538
2540
|
r !== "root" && (n = e.maximize().region);
|
|
2539
|
-
var i =
|
|
2541
|
+
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
2540
2542
|
return i[0];
|
|
2541
2543
|
}
|
|
2542
|
-
var
|
|
2544
|
+
var Pe, an = new RegExp("^".concat(Rt.source, "*")), un = new RegExp("".concat(Rt.source, "*$"));
|
|
2543
2545
|
function b(e, t) {
|
|
2544
2546
|
return { start: e, end: t };
|
|
2545
2547
|
}
|
|
2546
|
-
var
|
|
2548
|
+
var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String.fromCodePoint, fn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, bn = dn ? Number.isSafeInteger : function(e) {
|
|
2547
2549
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2548
|
-
},
|
|
2550
|
+
}, De = !0;
|
|
2549
2551
|
try {
|
|
2550
|
-
var
|
|
2551
|
-
|
|
2552
|
+
var gn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2553
|
+
De = ((Pe = gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
2552
2554
|
} catch {
|
|
2553
|
-
|
|
2555
|
+
De = !1;
|
|
2554
2556
|
}
|
|
2555
|
-
var
|
|
2557
|
+
var it = hn ? (
|
|
2556
2558
|
// Native
|
|
2557
2559
|
function(t, r, n) {
|
|
2558
2560
|
return t.startsWith(r, n);
|
|
@@ -2562,7 +2564,7 @@ var nt = un ? (
|
|
|
2562
2564
|
function(t, r, n) {
|
|
2563
2565
|
return t.slice(n, n + r.length) === r;
|
|
2564
2566
|
}
|
|
2565
|
-
),
|
|
2567
|
+
), Ge = ln ? String.fromCodePoint : (
|
|
2566
2568
|
// IE11
|
|
2567
2569
|
function() {
|
|
2568
2570
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2574,9 +2576,9 @@ var nt = un ? (
|
|
|
2574
2576
|
}
|
|
2575
2577
|
return n;
|
|
2576
2578
|
}
|
|
2577
|
-
),
|
|
2579
|
+
), st = (
|
|
2578
2580
|
// native
|
|
2579
|
-
|
|
2581
|
+
fn ? Object.fromEntries : (
|
|
2580
2582
|
// Ponyfill
|
|
2581
2583
|
function(t) {
|
|
2582
2584
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2586,7 +2588,7 @@ var nt = un ? (
|
|
|
2586
2588
|
return r;
|
|
2587
2589
|
}
|
|
2588
2590
|
)
|
|
2589
|
-
),
|
|
2591
|
+
), Ft = cn ? (
|
|
2590
2592
|
// Native
|
|
2591
2593
|
function(t, r) {
|
|
2592
2594
|
return t.codePointAt(r);
|
|
@@ -2600,7 +2602,7 @@ var nt = un ? (
|
|
|
2600
2602
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2601
2603
|
}
|
|
2602
2604
|
}
|
|
2603
|
-
),
|
|
2605
|
+
), _n = mn ? (
|
|
2604
2606
|
// Native
|
|
2605
2607
|
function(t) {
|
|
2606
2608
|
return t.trimStart();
|
|
@@ -2608,9 +2610,9 @@ var nt = un ? (
|
|
|
2608
2610
|
) : (
|
|
2609
2611
|
// Ponyfill
|
|
2610
2612
|
function(t) {
|
|
2611
|
-
return t.replace(
|
|
2613
|
+
return t.replace(an, "");
|
|
2612
2614
|
}
|
|
2613
|
-
),
|
|
2615
|
+
), yn = pn ? (
|
|
2614
2616
|
// Native
|
|
2615
2617
|
function(t) {
|
|
2616
2618
|
return t.trimEnd();
|
|
@@ -2618,32 +2620,32 @@ var nt = un ? (
|
|
|
2618
2620
|
) : (
|
|
2619
2621
|
// Ponyfill
|
|
2620
2622
|
function(t) {
|
|
2621
|
-
return t.replace(
|
|
2623
|
+
return t.replace(un, "");
|
|
2622
2624
|
}
|
|
2623
2625
|
);
|
|
2624
|
-
function
|
|
2626
|
+
function jt(e, t) {
|
|
2625
2627
|
return new RegExp(e, t);
|
|
2626
2628
|
}
|
|
2627
|
-
var
|
|
2628
|
-
if (
|
|
2629
|
-
var
|
|
2630
|
-
|
|
2629
|
+
var Fe;
|
|
2630
|
+
if (De) {
|
|
2631
|
+
var ot = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2632
|
+
Fe = function(t, r) {
|
|
2631
2633
|
var n;
|
|
2632
|
-
|
|
2633
|
-
var i =
|
|
2634
|
+
ot.lastIndex = r;
|
|
2635
|
+
var i = ot.exec(t);
|
|
2634
2636
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2635
2637
|
};
|
|
2636
2638
|
} else
|
|
2637
|
-
|
|
2639
|
+
Fe = function(t, r) {
|
|
2638
2640
|
for (var n = []; ; ) {
|
|
2639
|
-
var i =
|
|
2640
|
-
if (i === void 0 ||
|
|
2641
|
+
var i = Ft(t, r);
|
|
2642
|
+
if (i === void 0 || kt(i) || Hn(i))
|
|
2641
2643
|
break;
|
|
2642
2644
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2643
2645
|
}
|
|
2644
|
-
return
|
|
2646
|
+
return Ge.apply(void 0, n);
|
|
2645
2647
|
};
|
|
2646
|
-
var
|
|
2648
|
+
var En = (
|
|
2647
2649
|
/** @class */
|
|
2648
2650
|
function() {
|
|
2649
2651
|
function e(t, r) {
|
|
@@ -2667,14 +2669,14 @@ var yn = (
|
|
|
2667
2669
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2668
2670
|
var o = this.clonePosition();
|
|
2669
2671
|
this.bump(), i.push({
|
|
2670
|
-
type:
|
|
2672
|
+
type: y.pound,
|
|
2671
2673
|
location: b(o, this.clonePosition())
|
|
2672
2674
|
});
|
|
2673
2675
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2674
2676
|
if (n)
|
|
2675
2677
|
break;
|
|
2676
|
-
return this.error(
|
|
2677
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2678
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
2679
|
+
} else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
2678
2680
|
var u = this.parseTag(t, r);
|
|
2679
2681
|
if (u.err)
|
|
2680
2682
|
return u;
|
|
@@ -2695,7 +2697,7 @@ var yn = (
|
|
|
2695
2697
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2696
2698
|
return {
|
|
2697
2699
|
val: {
|
|
2698
|
-
type:
|
|
2700
|
+
type: y.literal,
|
|
2699
2701
|
value: "<".concat(i, "/>"),
|
|
2700
2702
|
location: b(n, this.clonePosition())
|
|
2701
2703
|
},
|
|
@@ -2707,25 +2709,25 @@ var yn = (
|
|
|
2707
2709
|
return s;
|
|
2708
2710
|
var u = s.val, o = this.clonePosition();
|
|
2709
2711
|
if (this.bumpIf("</")) {
|
|
2710
|
-
if (this.isEOF() || !
|
|
2711
|
-
return this.error(
|
|
2712
|
+
if (this.isEOF() || !je(this.char()))
|
|
2713
|
+
return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
|
|
2712
2714
|
var l = this.clonePosition(), a = this.parseTagName();
|
|
2713
|
-
return i !== a ? this.error(
|
|
2715
|
+
return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2714
2716
|
val: {
|
|
2715
|
-
type:
|
|
2717
|
+
type: y.tag,
|
|
2716
2718
|
value: i,
|
|
2717
2719
|
children: u,
|
|
2718
2720
|
location: b(n, this.clonePosition())
|
|
2719
2721
|
},
|
|
2720
2722
|
err: null
|
|
2721
|
-
} : this.error(
|
|
2723
|
+
} : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
|
|
2722
2724
|
} else
|
|
2723
|
-
return this.error(
|
|
2725
|
+
return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
2724
2726
|
} else
|
|
2725
|
-
return this.error(
|
|
2727
|
+
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
2726
2728
|
}, e.prototype.parseTagName = function() {
|
|
2727
2729
|
var t = this.offset();
|
|
2728
|
-
for (this.bump(); !this.isEOF() &&
|
|
2730
|
+
for (this.bump(); !this.isEOF() && vn(this.char()); )
|
|
2729
2731
|
this.bump();
|
|
2730
2732
|
return this.message.slice(t, this.offset());
|
|
2731
2733
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2749,7 +2751,7 @@ var yn = (
|
|
|
2749
2751
|
}
|
|
2750
2752
|
var l = b(n, this.clonePosition());
|
|
2751
2753
|
return {
|
|
2752
|
-
val: { type:
|
|
2754
|
+
val: { type: y.literal, value: i, location: l },
|
|
2753
2755
|
err: null
|
|
2754
2756
|
};
|
|
2755
2757
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2788,28 +2790,28 @@ var yn = (
|
|
|
2788
2790
|
r.push(n);
|
|
2789
2791
|
this.bump();
|
|
2790
2792
|
}
|
|
2791
|
-
return
|
|
2793
|
+
return Ge.apply(void 0, r);
|
|
2792
2794
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2793
2795
|
if (this.isEOF())
|
|
2794
2796
|
return null;
|
|
2795
2797
|
var n = this.char();
|
|
2796
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2798
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
2797
2799
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2798
2800
|
var n = this.clonePosition();
|
|
2799
2801
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2800
|
-
return this.error(
|
|
2802
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
2801
2803
|
if (this.char() === 125)
|
|
2802
|
-
return this.bump(), this.error(
|
|
2804
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
2803
2805
|
var i = this.parseIdentifierIfPossible().value;
|
|
2804
2806
|
if (!i)
|
|
2805
|
-
return this.error(
|
|
2807
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2806
2808
|
if (this.bumpSpace(), this.isEOF())
|
|
2807
|
-
return this.error(
|
|
2809
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
2808
2810
|
switch (this.char()) {
|
|
2809
2811
|
case 125:
|
|
2810
2812
|
return this.bump(), {
|
|
2811
2813
|
val: {
|
|
2812
|
-
type:
|
|
2814
|
+
type: y.argument,
|
|
2813
2815
|
// value does not include the opening and closing braces.
|
|
2814
2816
|
value: i,
|
|
2815
2817
|
location: b(n, this.clonePosition())
|
|
@@ -2817,12 +2819,12 @@ var yn = (
|
|
|
2817
2819
|
err: null
|
|
2818
2820
|
};
|
|
2819
2821
|
case 44:
|
|
2820
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2822
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2821
2823
|
default:
|
|
2822
|
-
return this.error(
|
|
2824
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2823
2825
|
}
|
|
2824
2826
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2825
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2827
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
2826
2828
|
this.bumpTo(i);
|
|
2827
2829
|
var s = this.clonePosition(), u = b(t, s);
|
|
2828
2830
|
return { value: n, location: u };
|
|
@@ -2830,7 +2832,7 @@ var yn = (
|
|
|
2830
2832
|
var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2831
2833
|
switch (o) {
|
|
2832
2834
|
case "":
|
|
2833
|
-
return this.error(
|
|
2835
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
|
|
2834
2836
|
case "number":
|
|
2835
2837
|
case "date":
|
|
2836
2838
|
case "time": {
|
|
@@ -2841,44 +2843,44 @@ var yn = (
|
|
|
2841
2843
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2842
2844
|
if (f.err)
|
|
2843
2845
|
return f;
|
|
2844
|
-
var c =
|
|
2846
|
+
var c = yn(f.val);
|
|
2845
2847
|
if (c.length === 0)
|
|
2846
|
-
return this.error(
|
|
2847
|
-
var
|
|
2848
|
-
a = { style: c, styleLocation:
|
|
2848
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2849
|
+
var p = b(h, this.clonePosition());
|
|
2850
|
+
a = { style: c, styleLocation: p };
|
|
2849
2851
|
}
|
|
2850
2852
|
var m = this.tryParseArgumentClose(i);
|
|
2851
2853
|
if (m.err)
|
|
2852
2854
|
return m;
|
|
2853
2855
|
var g = b(i, this.clonePosition());
|
|
2854
|
-
if (a &&
|
|
2855
|
-
var v =
|
|
2856
|
+
if (a && it(a?.style, "::", 0)) {
|
|
2857
|
+
var v = _n(a.style.slice(2));
|
|
2856
2858
|
if (o === "number") {
|
|
2857
2859
|
var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
|
2858
2860
|
return f.err ? f : {
|
|
2859
|
-
val: { type:
|
|
2861
|
+
val: { type: y.number, value: n, location: g, style: f.val },
|
|
2860
2862
|
err: null
|
|
2861
2863
|
};
|
|
2862
2864
|
} else {
|
|
2863
2865
|
if (v.length === 0)
|
|
2864
|
-
return this.error(
|
|
2865
|
-
var
|
|
2866
|
-
this.locale && (
|
|
2866
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
|
|
2867
|
+
var N = v;
|
|
2868
|
+
this.locale && (N = sn(v, this.locale));
|
|
2867
2869
|
var c = {
|
|
2868
|
-
type:
|
|
2869
|
-
pattern:
|
|
2870
|
+
type: V.dateTime,
|
|
2871
|
+
pattern: N,
|
|
2870
2872
|
location: a.styleLocation,
|
|
2871
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2872
|
-
},
|
|
2873
|
+
parsedOptions: this.shouldParseSkeletons ? Jr(N) : {}
|
|
2874
|
+
}, O = o === "date" ? y.date : y.time;
|
|
2873
2875
|
return {
|
|
2874
|
-
val: { type:
|
|
2876
|
+
val: { type: O, value: n, location: g, style: c },
|
|
2875
2877
|
err: null
|
|
2876
2878
|
};
|
|
2877
2879
|
}
|
|
2878
2880
|
}
|
|
2879
2881
|
return {
|
|
2880
2882
|
val: {
|
|
2881
|
-
type: o === "number" ?
|
|
2883
|
+
type: o === "number" ? y.number : o === "date" ? y.date : y.time,
|
|
2882
2884
|
value: n,
|
|
2883
2885
|
location: g,
|
|
2884
2886
|
style: (s = a?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2891,50 +2893,50 @@ var yn = (
|
|
|
2891
2893
|
case "select": {
|
|
2892
2894
|
var H = this.clonePosition();
|
|
2893
2895
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2894
|
-
return this.error(
|
|
2896
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
|
|
2895
2897
|
this.bumpSpace();
|
|
2896
|
-
var
|
|
2897
|
-
if (o !== "select" &&
|
|
2898
|
+
var I = this.parseIdentifierIfPossible(), w = 0;
|
|
2899
|
+
if (o !== "select" && I.value === "offset") {
|
|
2898
2900
|
if (!this.bumpIf(":"))
|
|
2899
|
-
return this.error(
|
|
2901
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2900
2902
|
this.bumpSpace();
|
|
2901
|
-
var f = this.tryParseDecimalInteger(
|
|
2903
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2902
2904
|
if (f.err)
|
|
2903
2905
|
return f;
|
|
2904
|
-
this.bumpSpace(),
|
|
2906
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
|
|
2905
2907
|
}
|
|
2906
|
-
var
|
|
2907
|
-
if (
|
|
2908
|
-
return
|
|
2908
|
+
var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
|
|
2909
|
+
if (R.err)
|
|
2910
|
+
return R;
|
|
2909
2911
|
var m = this.tryParseArgumentClose(i);
|
|
2910
2912
|
if (m.err)
|
|
2911
2913
|
return m;
|
|
2912
|
-
var
|
|
2914
|
+
var se = b(i, this.clonePosition());
|
|
2913
2915
|
return o === "select" ? {
|
|
2914
2916
|
val: {
|
|
2915
|
-
type:
|
|
2917
|
+
type: y.select,
|
|
2916
2918
|
value: n,
|
|
2917
|
-
options:
|
|
2918
|
-
location:
|
|
2919
|
+
options: st(R.val),
|
|
2920
|
+
location: se
|
|
2919
2921
|
},
|
|
2920
2922
|
err: null
|
|
2921
2923
|
} : {
|
|
2922
2924
|
val: {
|
|
2923
|
-
type:
|
|
2925
|
+
type: y.plural,
|
|
2924
2926
|
value: n,
|
|
2925
|
-
options:
|
|
2926
|
-
offset:
|
|
2927
|
+
options: st(R.val),
|
|
2928
|
+
offset: w,
|
|
2927
2929
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2928
|
-
location:
|
|
2930
|
+
location: se
|
|
2929
2931
|
},
|
|
2930
2932
|
err: null
|
|
2931
2933
|
};
|
|
2932
2934
|
}
|
|
2933
2935
|
default:
|
|
2934
|
-
return this.error(
|
|
2936
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, b(u, l));
|
|
2935
2937
|
}
|
|
2936
2938
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2937
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2939
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2938
2940
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2939
2941
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2940
2942
|
var n = this.char();
|
|
@@ -2943,7 +2945,7 @@ var yn = (
|
|
|
2943
2945
|
this.bump();
|
|
2944
2946
|
var i = this.clonePosition();
|
|
2945
2947
|
if (!this.bumpUntil("'"))
|
|
2946
|
-
return this.error(
|
|
2948
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
2947
2949
|
this.bump();
|
|
2948
2950
|
break;
|
|
2949
2951
|
}
|
|
@@ -2973,16 +2975,16 @@ var yn = (
|
|
|
2973
2975
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2974
2976
|
var n = [];
|
|
2975
2977
|
try {
|
|
2976
|
-
n =
|
|
2978
|
+
n = Kr(t);
|
|
2977
2979
|
} catch {
|
|
2978
|
-
return this.error(
|
|
2980
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
2979
2981
|
}
|
|
2980
2982
|
return {
|
|
2981
2983
|
val: {
|
|
2982
|
-
type:
|
|
2984
|
+
type: V.number,
|
|
2983
2985
|
tokens: n,
|
|
2984
2986
|
location: r,
|
|
2985
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2987
|
+
parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
|
|
2986
2988
|
},
|
|
2987
2989
|
err: null
|
|
2988
2990
|
};
|
|
@@ -2991,7 +2993,7 @@ var yn = (
|
|
|
2991
2993
|
if (a.length === 0) {
|
|
2992
2994
|
var f = this.clonePosition();
|
|
2993
2995
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2994
|
-
var c = this.tryParseDecimalInteger(
|
|
2996
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2995
2997
|
if (c.err)
|
|
2996
2998
|
return c;
|
|
2997
2999
|
h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
|
|
@@ -2999,26 +3001,26 @@ var yn = (
|
|
|
2999
3001
|
break;
|
|
3000
3002
|
}
|
|
3001
3003
|
if (l.has(a))
|
|
3002
|
-
return this.error(r === "select" ?
|
|
3004
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3003
3005
|
a === "other" && (u = !0), this.bumpSpace();
|
|
3004
|
-
var
|
|
3006
|
+
var p = this.clonePosition();
|
|
3005
3007
|
if (!this.bumpIf("{"))
|
|
3006
|
-
return this.error(r === "select" ?
|
|
3008
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3007
3009
|
var m = this.parseMessage(t + 1, r, n);
|
|
3008
3010
|
if (m.err)
|
|
3009
3011
|
return m;
|
|
3010
|
-
var g = this.tryParseArgumentClose(
|
|
3012
|
+
var g = this.tryParseArgumentClose(p);
|
|
3011
3013
|
if (g.err)
|
|
3012
3014
|
return g;
|
|
3013
3015
|
o.push([
|
|
3014
3016
|
a,
|
|
3015
3017
|
{
|
|
3016
3018
|
value: m.val,
|
|
3017
|
-
location: b(
|
|
3019
|
+
location: b(p, this.clonePosition())
|
|
3018
3020
|
}
|
|
3019
3021
|
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
3020
3022
|
}
|
|
3021
|
-
return o.length === 0 ? this.error(r === "select" ?
|
|
3023
|
+
return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3022
3024
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3023
3025
|
var n = 1, i = this.clonePosition();
|
|
3024
3026
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3030,7 +3032,7 @@ var yn = (
|
|
|
3030
3032
|
break;
|
|
3031
3033
|
}
|
|
3032
3034
|
var l = b(i, this.clonePosition());
|
|
3033
|
-
return s ? (u *= n,
|
|
3035
|
+
return s ? (u *= n, bn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3034
3036
|
}, e.prototype.offset = function() {
|
|
3035
3037
|
return this.position.offset;
|
|
3036
3038
|
}, e.prototype.isEOF = function() {
|
|
@@ -3045,7 +3047,7 @@ var yn = (
|
|
|
3045
3047
|
var t = this.position.offset;
|
|
3046
3048
|
if (t >= this.message.length)
|
|
3047
3049
|
throw Error("out of bound");
|
|
3048
|
-
var r =
|
|
3050
|
+
var r = Ft(this.message, t);
|
|
3049
3051
|
if (r === void 0)
|
|
3050
3052
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3051
3053
|
return r;
|
|
@@ -3064,7 +3066,7 @@ var yn = (
|
|
|
3064
3066
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3065
3067
|
}
|
|
3066
3068
|
}, e.prototype.bumpIf = function(t) {
|
|
3067
|
-
if (
|
|
3069
|
+
if (it(this.message, t, this.offset())) {
|
|
3068
3070
|
for (var r = 0; r < t.length; r++)
|
|
3069
3071
|
this.bump();
|
|
3070
3072
|
return !0;
|
|
@@ -3086,7 +3088,7 @@ var yn = (
|
|
|
3086
3088
|
break;
|
|
3087
3089
|
}
|
|
3088
3090
|
}, e.prototype.bumpSpace = function() {
|
|
3089
|
-
for (; !this.isEOF() &&
|
|
3091
|
+
for (; !this.isEOF() && kt(this.char()); )
|
|
3090
3092
|
this.bump();
|
|
3091
3093
|
}, e.prototype.peek = function() {
|
|
3092
3094
|
if (this.isEOF())
|
|
@@ -3096,47 +3098,47 @@ var yn = (
|
|
|
3096
3098
|
}, e;
|
|
3097
3099
|
}()
|
|
3098
3100
|
);
|
|
3099
|
-
function
|
|
3101
|
+
function je(e) {
|
|
3100
3102
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3101
3103
|
}
|
|
3102
3104
|
function xn(e) {
|
|
3103
|
-
return
|
|
3105
|
+
return je(e) || e === 47;
|
|
3104
3106
|
}
|
|
3105
|
-
function
|
|
3107
|
+
function vn(e) {
|
|
3106
3108
|
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;
|
|
3107
3109
|
}
|
|
3108
|
-
function
|
|
3110
|
+
function kt(e) {
|
|
3109
3111
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3110
3112
|
}
|
|
3111
|
-
function
|
|
3113
|
+
function Hn(e) {
|
|
3112
3114
|
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;
|
|
3113
3115
|
}
|
|
3114
|
-
function
|
|
3116
|
+
function ke(e) {
|
|
3115
3117
|
e.forEach(function(t) {
|
|
3116
|
-
if (delete t.location,
|
|
3118
|
+
if (delete t.location, Nt(t) || It(t))
|
|
3117
3119
|
for (var r in t.options)
|
|
3118
|
-
delete t.options[r].location,
|
|
3120
|
+
delete t.options[r].location, ke(t.options[r].value);
|
|
3119
3121
|
else
|
|
3120
|
-
Ct(t) &&
|
|
3122
|
+
Ct(t) && $t(t.style) || (Pt(t) || Lt(t)) && Ue(t.style) ? delete t.style.location : Mt(t) && ke(t.children);
|
|
3121
3123
|
});
|
|
3122
3124
|
}
|
|
3123
|
-
function
|
|
3124
|
-
t === void 0 && (t = {}), t =
|
|
3125
|
-
var r = new
|
|
3125
|
+
function Bn(e, t) {
|
|
3126
|
+
t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3127
|
+
var r = new En(e, t).parse();
|
|
3126
3128
|
if (r.err) {
|
|
3127
|
-
var n = SyntaxError(
|
|
3129
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3128
3130
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3129
3131
|
}
|
|
3130
|
-
return t?.captureLocation ||
|
|
3132
|
+
return t?.captureLocation || ke(r.val), r.val;
|
|
3131
3133
|
}
|
|
3132
|
-
var
|
|
3134
|
+
var X;
|
|
3133
3135
|
(function(e) {
|
|
3134
3136
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3135
|
-
})(
|
|
3136
|
-
var
|
|
3137
|
+
})(X || (X = {}));
|
|
3138
|
+
var Ee = (
|
|
3137
3139
|
/** @class */
|
|
3138
3140
|
function(e) {
|
|
3139
|
-
|
|
3141
|
+
ye(t, e);
|
|
3140
3142
|
function t(r, n, i) {
|
|
3141
3143
|
var s = e.call(this, r) || this;
|
|
3142
3144
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3145,155 +3147,155 @@ var _e = (
|
|
|
3145
3147
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3146
3148
|
}, t;
|
|
3147
3149
|
}(Error)
|
|
3148
|
-
),
|
|
3150
|
+
), at = (
|
|
3149
3151
|
/** @class */
|
|
3150
3152
|
function(e) {
|
|
3151
|
-
|
|
3153
|
+
ye(t, e);
|
|
3152
3154
|
function t(r, n, i, s) {
|
|
3153
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3155
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
|
|
3154
3156
|
}
|
|
3155
3157
|
return t;
|
|
3156
|
-
}(
|
|
3157
|
-
),
|
|
3158
|
+
}(Ee)
|
|
3159
|
+
), Tn = (
|
|
3158
3160
|
/** @class */
|
|
3159
3161
|
function(e) {
|
|
3160
|
-
|
|
3162
|
+
ye(t, e);
|
|
3161
3163
|
function t(r, n, i) {
|
|
3162
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3164
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3163
3165
|
}
|
|
3164
3166
|
return t;
|
|
3165
|
-
}(
|
|
3166
|
-
),
|
|
3167
|
+
}(Ee)
|
|
3168
|
+
), wn = (
|
|
3167
3169
|
/** @class */
|
|
3168
3170
|
function(e) {
|
|
3169
|
-
|
|
3171
|
+
ye(t, e);
|
|
3170
3172
|
function t(r, n) {
|
|
3171
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3173
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3172
3174
|
}
|
|
3173
3175
|
return t;
|
|
3174
|
-
}(
|
|
3175
|
-
),
|
|
3176
|
+
}(Ee)
|
|
3177
|
+
), x;
|
|
3176
3178
|
(function(e) {
|
|
3177
3179
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3178
|
-
})(
|
|
3179
|
-
function
|
|
3180
|
+
})(x || (x = {}));
|
|
3181
|
+
function Sn(e) {
|
|
3180
3182
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3181
3183
|
var n = t[t.length - 1];
|
|
3182
|
-
return !n || n.type !==
|
|
3184
|
+
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3183
3185
|
}, []);
|
|
3184
3186
|
}
|
|
3185
|
-
function
|
|
3187
|
+
function An(e) {
|
|
3186
3188
|
return typeof e == "function";
|
|
3187
3189
|
}
|
|
3188
|
-
function
|
|
3189
|
-
if (e.length === 1 &&
|
|
3190
|
+
function fe(e, t, r, n, i, s, u) {
|
|
3191
|
+
if (e.length === 1 && et(e[0]))
|
|
3190
3192
|
return [
|
|
3191
3193
|
{
|
|
3192
|
-
type:
|
|
3194
|
+
type: x.literal,
|
|
3193
3195
|
value: e[0].value
|
|
3194
3196
|
}
|
|
3195
3197
|
];
|
|
3196
3198
|
for (var o = [], l = 0, a = e; l < a.length; l++) {
|
|
3197
3199
|
var h = a[l];
|
|
3198
|
-
if (
|
|
3200
|
+
if (et(h)) {
|
|
3199
3201
|
o.push({
|
|
3200
|
-
type:
|
|
3202
|
+
type: x.literal,
|
|
3201
3203
|
value: h.value
|
|
3202
3204
|
});
|
|
3203
3205
|
continue;
|
|
3204
3206
|
}
|
|
3205
|
-
if (
|
|
3207
|
+
if (Qr(h)) {
|
|
3206
3208
|
typeof s == "number" && o.push({
|
|
3207
|
-
type:
|
|
3209
|
+
type: x.literal,
|
|
3208
3210
|
value: r.getNumberFormat(t).format(s)
|
|
3209
3211
|
});
|
|
3210
3212
|
continue;
|
|
3211
3213
|
}
|
|
3212
3214
|
var f = h.value;
|
|
3213
3215
|
if (!(i && f in i))
|
|
3214
|
-
throw new
|
|
3216
|
+
throw new wn(f, u);
|
|
3215
3217
|
var c = i[f];
|
|
3216
|
-
if (
|
|
3218
|
+
if (Zr(h)) {
|
|
3217
3219
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3218
|
-
type: typeof c == "string" ?
|
|
3220
|
+
type: typeof c == "string" ? x.literal : x.object,
|
|
3219
3221
|
value: c
|
|
3220
3222
|
});
|
|
3221
3223
|
continue;
|
|
3222
3224
|
}
|
|
3223
|
-
if (
|
|
3224
|
-
var
|
|
3225
|
+
if (Pt(h)) {
|
|
3226
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
|
|
3225
3227
|
o.push({
|
|
3226
|
-
type:
|
|
3227
|
-
value: r.getDateTimeFormat(t,
|
|
3228
|
+
type: x.literal,
|
|
3229
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3228
3230
|
});
|
|
3229
3231
|
continue;
|
|
3230
3232
|
}
|
|
3231
|
-
if (
|
|
3232
|
-
var
|
|
3233
|
+
if (Lt(h)) {
|
|
3234
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3233
3235
|
o.push({
|
|
3234
|
-
type:
|
|
3235
|
-
value: r.getDateTimeFormat(t,
|
|
3236
|
+
type: x.literal,
|
|
3237
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3236
3238
|
});
|
|
3237
3239
|
continue;
|
|
3238
3240
|
}
|
|
3239
3241
|
if (Ct(h)) {
|
|
3240
|
-
var
|
|
3241
|
-
|
|
3242
|
-
type:
|
|
3243
|
-
value: r.getNumberFormat(t,
|
|
3242
|
+
var p = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
|
|
3243
|
+
p && p.scale && (c = c * (p.scale || 1)), o.push({
|
|
3244
|
+
type: x.literal,
|
|
3245
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3244
3246
|
});
|
|
3245
3247
|
continue;
|
|
3246
3248
|
}
|
|
3247
|
-
if (
|
|
3249
|
+
if (Mt(h)) {
|
|
3248
3250
|
var m = h.children, g = h.value, v = i[g];
|
|
3249
|
-
if (!
|
|
3250
|
-
throw new
|
|
3251
|
-
var
|
|
3252
|
-
return
|
|
3251
|
+
if (!An(v))
|
|
3252
|
+
throw new Tn(g, "function", u);
|
|
3253
|
+
var N = fe(m, t, r, n, i, s), O = v(N.map(function(w) {
|
|
3254
|
+
return w.value;
|
|
3253
3255
|
}));
|
|
3254
|
-
Array.isArray(
|
|
3256
|
+
Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(w) {
|
|
3255
3257
|
return {
|
|
3256
|
-
type: typeof
|
|
3257
|
-
value:
|
|
3258
|
+
type: typeof w == "string" ? x.literal : x.object,
|
|
3259
|
+
value: w
|
|
3258
3260
|
};
|
|
3259
3261
|
}));
|
|
3260
3262
|
}
|
|
3261
|
-
if (
|
|
3263
|
+
if (Nt(h)) {
|
|
3262
3264
|
var H = h.options[c] || h.options.other;
|
|
3263
3265
|
if (!H)
|
|
3264
|
-
throw new
|
|
3265
|
-
o.push.apply(o,
|
|
3266
|
+
throw new at(h.value, c, Object.keys(h.options), u);
|
|
3267
|
+
o.push.apply(o, fe(H.value, t, r, n, i));
|
|
3266
3268
|
continue;
|
|
3267
3269
|
}
|
|
3268
|
-
if (
|
|
3270
|
+
if (It(h)) {
|
|
3269
3271
|
var H = h.options["=".concat(c)];
|
|
3270
3272
|
if (!H) {
|
|
3271
3273
|
if (!Intl.PluralRules)
|
|
3272
|
-
throw new
|
|
3274
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3273
3275
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3274
|
-
`,
|
|
3275
|
-
var
|
|
3276
|
-
H = h.options[
|
|
3276
|
+
`, X.MISSING_INTL_API, u);
|
|
3277
|
+
var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3278
|
+
H = h.options[I] || h.options.other;
|
|
3277
3279
|
}
|
|
3278
3280
|
if (!H)
|
|
3279
|
-
throw new
|
|
3280
|
-
o.push.apply(o,
|
|
3281
|
+
throw new at(h.value, c, Object.keys(h.options), u);
|
|
3282
|
+
o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
|
|
3281
3283
|
continue;
|
|
3282
3284
|
}
|
|
3283
3285
|
}
|
|
3284
|
-
return
|
|
3286
|
+
return Sn(o);
|
|
3285
3287
|
}
|
|
3286
|
-
function
|
|
3287
|
-
return t ?
|
|
3288
|
-
return r[n] =
|
|
3288
|
+
function On(e, t) {
|
|
3289
|
+
return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3290
|
+
return r[n] = T(T({}, e[n]), t[n] || {}), r;
|
|
3289
3291
|
}, {})) : e;
|
|
3290
3292
|
}
|
|
3291
3293
|
function Cn(e, t) {
|
|
3292
3294
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3293
|
-
return r[n] =
|
|
3294
|
-
},
|
|
3295
|
+
return r[n] = On(e[n], t[n]), r;
|
|
3296
|
+
}, T({}, e)) : e;
|
|
3295
3297
|
}
|
|
3296
|
-
function
|
|
3298
|
+
function Le(e) {
|
|
3297
3299
|
return {
|
|
3298
3300
|
create: function() {
|
|
3299
3301
|
return {
|
|
@@ -3307,39 +3309,39 @@ function Oe(e) {
|
|
|
3307
3309
|
}
|
|
3308
3310
|
};
|
|
3309
3311
|
}
|
|
3310
|
-
function
|
|
3312
|
+
function Pn(e) {
|
|
3311
3313
|
return e === void 0 && (e = {
|
|
3312
3314
|
number: {},
|
|
3313
3315
|
dateTime: {},
|
|
3314
3316
|
pluralRules: {}
|
|
3315
3317
|
}), {
|
|
3316
|
-
getNumberFormat:
|
|
3318
|
+
getNumberFormat: Oe(function() {
|
|
3317
3319
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3318
3320
|
r[n] = arguments[n];
|
|
3319
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3321
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3320
3322
|
}, {
|
|
3321
|
-
cache:
|
|
3322
|
-
strategy:
|
|
3323
|
+
cache: Le(e.number),
|
|
3324
|
+
strategy: Ce.variadic
|
|
3323
3325
|
}),
|
|
3324
|
-
getDateTimeFormat:
|
|
3326
|
+
getDateTimeFormat: Oe(function() {
|
|
3325
3327
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3326
3328
|
r[n] = arguments[n];
|
|
3327
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3329
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3328
3330
|
}, {
|
|
3329
|
-
cache:
|
|
3330
|
-
strategy:
|
|
3331
|
+
cache: Le(e.dateTime),
|
|
3332
|
+
strategy: Ce.variadic
|
|
3331
3333
|
}),
|
|
3332
|
-
getPluralRules:
|
|
3334
|
+
getPluralRules: Oe(function() {
|
|
3333
3335
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3334
3336
|
r[n] = arguments[n];
|
|
3335
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3337
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3336
3338
|
}, {
|
|
3337
|
-
cache:
|
|
3338
|
-
strategy:
|
|
3339
|
+
cache: Le(e.pluralRules),
|
|
3340
|
+
strategy: Ce.variadic
|
|
3339
3341
|
})
|
|
3340
3342
|
};
|
|
3341
3343
|
}
|
|
3342
|
-
var
|
|
3344
|
+
var Vt = (
|
|
3343
3345
|
/** @class */
|
|
3344
3346
|
function() {
|
|
3345
3347
|
function e(t, r, n, i) {
|
|
@@ -3354,11 +3356,11 @@ var kt = (
|
|
|
3354
3356
|
if (a.length === 1)
|
|
3355
3357
|
return a[0].value;
|
|
3356
3358
|
var h = a.reduce(function(f, c) {
|
|
3357
|
-
return !f.length || c.type !==
|
|
3359
|
+
return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3358
3360
|
}, []);
|
|
3359
3361
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3360
3362
|
}, this.formatToParts = function(l) {
|
|
3361
|
-
return
|
|
3363
|
+
return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3362
3364
|
}, this.resolvedOptions = function() {
|
|
3363
3365
|
var l;
|
|
3364
3366
|
return {
|
|
@@ -3371,13 +3373,13 @@ var kt = (
|
|
|
3371
3373
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3372
3374
|
var u = i || {};
|
|
3373
3375
|
u.formatters;
|
|
3374
|
-
var o =
|
|
3375
|
-
this.ast = e.__parse(t,
|
|
3376
|
+
var o = Gr(u, ["formatters"]);
|
|
3377
|
+
this.ast = e.__parse(t, T(T({}, o), { locale: this.resolvedLocale }));
|
|
3376
3378
|
} else
|
|
3377
3379
|
this.ast = t;
|
|
3378
3380
|
if (!Array.isArray(this.ast))
|
|
3379
3381
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3380
|
-
this.formats = Cn(e.formats, n), this.formatters = i && i.formatters ||
|
|
3382
|
+
this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
|
|
3381
3383
|
}
|
|
3382
3384
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3383
3385
|
get: function() {
|
|
@@ -3390,7 +3392,7 @@ var kt = (
|
|
|
3390
3392
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3391
3393
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3392
3394
|
}
|
|
3393
|
-
}, e.__parse =
|
|
3395
|
+
}, e.__parse = Bn, e.formats = {
|
|
3394
3396
|
number: {
|
|
3395
3397
|
integer: {
|
|
3396
3398
|
maximumFractionDigits: 0
|
|
@@ -3451,7 +3453,7 @@ var kt = (
|
|
|
3451
3453
|
}, e;
|
|
3452
3454
|
}()
|
|
3453
3455
|
);
|
|
3454
|
-
function
|
|
3456
|
+
function Ln(e, t) {
|
|
3455
3457
|
if (t == null)
|
|
3456
3458
|
return;
|
|
3457
3459
|
if (t in e)
|
|
@@ -3472,101 +3474,101 @@ function Pn(e, t) {
|
|
|
3472
3474
|
n = void 0;
|
|
3473
3475
|
return n;
|
|
3474
3476
|
}
|
|
3475
|
-
const C = {},
|
|
3477
|
+
const C = {}, Nn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
|
|
3476
3478
|
if (t == null)
|
|
3477
3479
|
return;
|
|
3478
3480
|
if (t in C && e in C[t])
|
|
3479
3481
|
return C[t][e];
|
|
3480
|
-
const r =
|
|
3482
|
+
const r = ie(t);
|
|
3481
3483
|
for (let n = 0; n < r.length; n++) {
|
|
3482
|
-
const i = r[n], s =
|
|
3484
|
+
const i = r[n], s = Mn(i, e);
|
|
3483
3485
|
if (s)
|
|
3484
|
-
return
|
|
3486
|
+
return Nn(e, t, s);
|
|
3485
3487
|
}
|
|
3486
3488
|
};
|
|
3487
|
-
let
|
|
3488
|
-
const
|
|
3489
|
-
function
|
|
3490
|
-
return
|
|
3489
|
+
let Ze;
|
|
3490
|
+
const ne = _e({});
|
|
3491
|
+
function In(e) {
|
|
3492
|
+
return Ze[e] || null;
|
|
3491
3493
|
}
|
|
3492
|
-
function
|
|
3493
|
-
return e in
|
|
3494
|
+
function Wt(e) {
|
|
3495
|
+
return e in Ze;
|
|
3494
3496
|
}
|
|
3495
|
-
function
|
|
3496
|
-
if (!
|
|
3497
|
+
function Mn(e, t) {
|
|
3498
|
+
if (!Wt(e))
|
|
3497
3499
|
return null;
|
|
3498
|
-
const r =
|
|
3499
|
-
return
|
|
3500
|
+
const r = In(e);
|
|
3501
|
+
return Ln(r, t);
|
|
3500
3502
|
}
|
|
3501
|
-
function
|
|
3503
|
+
function $n(e) {
|
|
3502
3504
|
if (e == null)
|
|
3503
3505
|
return;
|
|
3504
|
-
const t =
|
|
3506
|
+
const t = ie(e);
|
|
3505
3507
|
for (let r = 0; r < t.length; r++) {
|
|
3506
3508
|
const n = t[r];
|
|
3507
|
-
if (
|
|
3509
|
+
if (Wt(n))
|
|
3508
3510
|
return n;
|
|
3509
3511
|
}
|
|
3510
3512
|
}
|
|
3511
3513
|
function zt(e, ...t) {
|
|
3512
|
-
delete C[e],
|
|
3514
|
+
delete C[e], ne.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
|
|
3513
3515
|
}
|
|
3514
|
-
|
|
3515
|
-
[
|
|
3516
|
+
Q(
|
|
3517
|
+
[ne],
|
|
3516
3518
|
([e]) => Object.keys(e)
|
|
3517
3519
|
);
|
|
3518
|
-
|
|
3519
|
-
const
|
|
3520
|
-
function
|
|
3521
|
-
|
|
3520
|
+
ne.subscribe((e) => Ze = e);
|
|
3521
|
+
const ce = {};
|
|
3522
|
+
function Rn(e, t) {
|
|
3523
|
+
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
3522
3524
|
}
|
|
3523
|
-
function
|
|
3524
|
-
return
|
|
3525
|
+
function Zt(e) {
|
|
3526
|
+
return ce[e];
|
|
3525
3527
|
}
|
|
3526
|
-
function
|
|
3527
|
-
return
|
|
3528
|
-
const r =
|
|
3528
|
+
function Un(e) {
|
|
3529
|
+
return ie(e).map((t) => {
|
|
3530
|
+
const r = Zt(t);
|
|
3529
3531
|
return [t, r ? [...r] : []];
|
|
3530
3532
|
}).filter(([, t]) => t.length > 0);
|
|
3531
3533
|
}
|
|
3532
|
-
function
|
|
3533
|
-
return e == null ? !1 :
|
|
3534
|
+
function de(e) {
|
|
3535
|
+
return e == null ? !1 : ie(e).some(
|
|
3534
3536
|
(t) => {
|
|
3535
3537
|
var r;
|
|
3536
|
-
return (r =
|
|
3538
|
+
return (r = Zt(t)) == null ? void 0 : r.size;
|
|
3537
3539
|
}
|
|
3538
3540
|
);
|
|
3539
3541
|
}
|
|
3540
|
-
function
|
|
3542
|
+
function Dn(e, t) {
|
|
3541
3543
|
return Promise.all(
|
|
3542
|
-
t.map((n) => (
|
|
3544
|
+
t.map((n) => (Rn(e, n), n().then((i) => i.default || i)))
|
|
3543
3545
|
).then((n) => zt(e, ...n));
|
|
3544
3546
|
}
|
|
3545
|
-
const
|
|
3546
|
-
function
|
|
3547
|
-
if (!
|
|
3548
|
-
return e in
|
|
3549
|
-
const t =
|
|
3550
|
-
return
|
|
3547
|
+
const J = {};
|
|
3548
|
+
function Qt(e) {
|
|
3549
|
+
if (!de(e))
|
|
3550
|
+
return e in J ? J[e] : Promise.resolve();
|
|
3551
|
+
const t = Un(e);
|
|
3552
|
+
return J[e] = Promise.all(
|
|
3551
3553
|
t.map(
|
|
3552
|
-
([r, n]) =>
|
|
3554
|
+
([r, n]) => Dn(r, n)
|
|
3553
3555
|
)
|
|
3554
3556
|
).then(() => {
|
|
3555
|
-
if (
|
|
3556
|
-
return
|
|
3557
|
-
delete
|
|
3558
|
-
}),
|
|
3557
|
+
if (de(e))
|
|
3558
|
+
return Qt(e);
|
|
3559
|
+
delete J[e];
|
|
3560
|
+
}), J[e];
|
|
3559
3561
|
}
|
|
3560
|
-
var
|
|
3562
|
+
var ut = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, jn = (e, t) => {
|
|
3561
3563
|
var r = {};
|
|
3562
3564
|
for (var n in e)
|
|
3563
|
-
|
|
3564
|
-
if (e != null &&
|
|
3565
|
-
for (var n of
|
|
3566
|
-
t.indexOf(n) < 0 &&
|
|
3565
|
+
Gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3566
|
+
if (e != null && ut)
|
|
3567
|
+
for (var n of ut(e))
|
|
3568
|
+
t.indexOf(n) < 0 && Fn.call(e, n) && (r[n] = e[n]);
|
|
3567
3569
|
return r;
|
|
3568
3570
|
};
|
|
3569
|
-
const
|
|
3571
|
+
const kn = {
|
|
3570
3572
|
number: {
|
|
3571
3573
|
scientific: { notation: "scientific" },
|
|
3572
3574
|
engineering: { notation: "engineering" },
|
|
@@ -3596,174 +3598,174 @@ const jn = {
|
|
|
3596
3598
|
}
|
|
3597
3599
|
}
|
|
3598
3600
|
};
|
|
3599
|
-
function
|
|
3601
|
+
function Vn({ locale: e, id: t }) {
|
|
3600
3602
|
console.warn(
|
|
3601
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3603
|
+
`[svelte-i18n] The message "${t}" was not found in "${ie(
|
|
3602
3604
|
e
|
|
3603
|
-
).join('", "')}".${
|
|
3605
|
+
).join('", "')}".${de(L()) ? `
|
|
3604
3606
|
|
|
3605
3607
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3606
3608
|
);
|
|
3607
3609
|
}
|
|
3608
|
-
const
|
|
3610
|
+
const Xn = {
|
|
3609
3611
|
fallbackLocale: null,
|
|
3610
3612
|
loadingDelay: 200,
|
|
3611
|
-
formats:
|
|
3613
|
+
formats: kn,
|
|
3612
3614
|
warnOnMissingMessages: !0,
|
|
3613
3615
|
handleMissingMessage: void 0,
|
|
3614
3616
|
ignoreTag: !0
|
|
3615
|
-
},
|
|
3616
|
-
function
|
|
3617
|
-
return
|
|
3617
|
+
}, Y = Xn;
|
|
3618
|
+
function W() {
|
|
3619
|
+
return Y;
|
|
3618
3620
|
}
|
|
3619
|
-
function
|
|
3620
|
-
const t = e, { formats: r } = t, n =
|
|
3621
|
+
function Wn(e) {
|
|
3622
|
+
const t = e, { formats: r } = t, n = jn(t, ["formats"]);
|
|
3621
3623
|
let i = e.fallbackLocale;
|
|
3622
3624
|
if (e.initialLocale)
|
|
3623
3625
|
try {
|
|
3624
|
-
|
|
3626
|
+
Vt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3625
3627
|
} catch {
|
|
3626
3628
|
console.warn(
|
|
3627
3629
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3628
3630
|
);
|
|
3629
3631
|
}
|
|
3630
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3632
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Vn : console.warn(
|
|
3631
3633
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3632
|
-
)), Object.assign(
|
|
3633
|
-
}
|
|
3634
|
-
const
|
|
3635
|
-
var zn = Object.defineProperty,
|
|
3636
|
-
for (var r in t)
|
|
3637
|
-
|
|
3638
|
-
if (
|
|
3639
|
-
for (var r of
|
|
3640
|
-
|
|
3634
|
+
)), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), $.set(i);
|
|
3635
|
+
}
|
|
3636
|
+
const Ne = _e(!1);
|
|
3637
|
+
var zn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
|
|
3638
|
+
for (var r in t || (t = {}))
|
|
3639
|
+
qn.call(t, r) && lt(e, r, t[r]);
|
|
3640
|
+
if (ht)
|
|
3641
|
+
for (var r of ht(t))
|
|
3642
|
+
Jn.call(t, r) && lt(e, r, t[r]);
|
|
3641
3643
|
return e;
|
|
3642
|
-
},
|
|
3643
|
-
let
|
|
3644
|
-
const
|
|
3645
|
-
function
|
|
3644
|
+
}, Kn = (e, t) => Zn(e, Qn(t));
|
|
3645
|
+
let Ve;
|
|
3646
|
+
const be = _e(null);
|
|
3647
|
+
function ft(e) {
|
|
3646
3648
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3647
3649
|
}
|
|
3648
|
-
function
|
|
3649
|
-
const r =
|
|
3650
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3650
|
+
function ie(e, t = W().fallbackLocale) {
|
|
3651
|
+
const r = ft(e);
|
|
3652
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
|
|
3651
3653
|
}
|
|
3652
|
-
function
|
|
3653
|
-
return
|
|
3654
|
+
function L() {
|
|
3655
|
+
return Ve ?? void 0;
|
|
3654
3656
|
}
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
+
be.subscribe((e) => {
|
|
3658
|
+
Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3657
3659
|
});
|
|
3658
|
-
const
|
|
3659
|
-
if (e &&
|
|
3660
|
-
const { loadingDelay: t } =
|
|
3660
|
+
const ei = (e) => {
|
|
3661
|
+
if (e && $n(e) && de(e)) {
|
|
3662
|
+
const { loadingDelay: t } = W();
|
|
3661
3663
|
let r;
|
|
3662
|
-
return typeof window < "u" &&
|
|
3663
|
-
() =>
|
|
3664
|
+
return typeof window < "u" && L() != null && t ? r = window.setTimeout(
|
|
3665
|
+
() => Ne.set(!0),
|
|
3664
3666
|
t
|
|
3665
|
-
) :
|
|
3666
|
-
|
|
3667
|
+
) : Ne.set(!0), Qt(e).then(() => {
|
|
3668
|
+
be.set(e);
|
|
3667
3669
|
}).finally(() => {
|
|
3668
|
-
clearTimeout(r),
|
|
3670
|
+
clearTimeout(r), Ne.set(!1);
|
|
3669
3671
|
});
|
|
3670
3672
|
}
|
|
3671
|
-
return
|
|
3672
|
-
},
|
|
3673
|
-
set:
|
|
3674
|
-
}),
|
|
3673
|
+
return be.set(e);
|
|
3674
|
+
}, $ = Kn(Yn({}, be), {
|
|
3675
|
+
set: ei
|
|
3676
|
+
}), xe = (e) => {
|
|
3675
3677
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3676
3678
|
return (n) => {
|
|
3677
3679
|
const i = JSON.stringify(n);
|
|
3678
3680
|
return i in t ? t[i] : t[i] = e(n);
|
|
3679
3681
|
};
|
|
3680
3682
|
};
|
|
3681
|
-
var
|
|
3683
|
+
var ti = Object.defineProperty, ge = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
3682
3684
|
for (var r in t || (t = {}))
|
|
3683
|
-
|
|
3684
|
-
if (
|
|
3685
|
-
for (var r of
|
|
3686
|
-
|
|
3685
|
+
qt.call(t, r) && ct(e, r, t[r]);
|
|
3686
|
+
if (ge)
|
|
3687
|
+
for (var r of ge(t))
|
|
3688
|
+
Jt.call(t, r) && ct(e, r, t[r]);
|
|
3687
3689
|
return e;
|
|
3688
|
-
},
|
|
3690
|
+
}, q = (e, t) => {
|
|
3689
3691
|
var r = {};
|
|
3690
3692
|
for (var n in e)
|
|
3691
|
-
|
|
3692
|
-
if (e != null &&
|
|
3693
|
-
for (var n of
|
|
3694
|
-
t.indexOf(n) < 0 &&
|
|
3693
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3694
|
+
if (e != null && ge)
|
|
3695
|
+
for (var n of ge(e))
|
|
3696
|
+
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
3695
3697
|
return r;
|
|
3696
3698
|
};
|
|
3697
|
-
const
|
|
3698
|
-
const { formats: r } =
|
|
3699
|
+
const te = (e, t) => {
|
|
3700
|
+
const { formats: r } = W();
|
|
3699
3701
|
if (e in r && t in r[e])
|
|
3700
3702
|
return r[e][t];
|
|
3701
3703
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3702
|
-
},
|
|
3704
|
+
}, ri = xe(
|
|
3703
3705
|
(e) => {
|
|
3704
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3706
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3705
3707
|
if (r == null)
|
|
3706
3708
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3707
|
-
return n && (i =
|
|
3709
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3708
3710
|
}
|
|
3709
|
-
),
|
|
3711
|
+
), ni = xe(
|
|
3710
3712
|
(e) => {
|
|
3711
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3713
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3712
3714
|
if (r == null)
|
|
3713
3715
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3714
|
-
return n ? i =
|
|
3716
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3715
3717
|
}
|
|
3716
|
-
),
|
|
3718
|
+
), ii = xe(
|
|
3717
3719
|
(e) => {
|
|
3718
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3720
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3719
3721
|
if (r == null)
|
|
3720
3722
|
throw new Error(
|
|
3721
3723
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3722
3724
|
);
|
|
3723
|
-
return n ? i =
|
|
3725
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3724
3726
|
}
|
|
3725
|
-
),
|
|
3727
|
+
), si = (e = {}) => {
|
|
3726
3728
|
var t = e, {
|
|
3727
|
-
locale: r =
|
|
3728
|
-
} = t, n =
|
|
3729
|
+
locale: r = L()
|
|
3730
|
+
} = t, n = q(t, [
|
|
3729
3731
|
"locale"
|
|
3730
3732
|
]);
|
|
3731
|
-
return
|
|
3732
|
-
},
|
|
3733
|
+
return ri(Qe({ locale: r }, n));
|
|
3734
|
+
}, oi = (e = {}) => {
|
|
3733
3735
|
var t = e, {
|
|
3734
|
-
locale: r =
|
|
3735
|
-
} = t, n =
|
|
3736
|
+
locale: r = L()
|
|
3737
|
+
} = t, n = q(t, [
|
|
3736
3738
|
"locale"
|
|
3737
3739
|
]);
|
|
3738
|
-
return
|
|
3739
|
-
},
|
|
3740
|
+
return ni(Qe({ locale: r }, n));
|
|
3741
|
+
}, ai = (e = {}) => {
|
|
3740
3742
|
var t = e, {
|
|
3741
|
-
locale: r =
|
|
3742
|
-
} = t, n =
|
|
3743
|
+
locale: r = L()
|
|
3744
|
+
} = t, n = q(t, [
|
|
3743
3745
|
"locale"
|
|
3744
3746
|
]);
|
|
3745
|
-
return
|
|
3746
|
-
},
|
|
3747
|
+
return ii(Qe({ locale: r }, n));
|
|
3748
|
+
}, ui = xe(
|
|
3747
3749
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3748
|
-
(e, t =
|
|
3749
|
-
ignoreTag:
|
|
3750
|
+
(e, t = L()) => new Vt(e, t, W().formats, {
|
|
3751
|
+
ignoreTag: W().ignoreTag
|
|
3750
3752
|
})
|
|
3751
|
-
),
|
|
3753
|
+
), hi = (e, t = {}) => {
|
|
3752
3754
|
var r, n, i, s;
|
|
3753
3755
|
let u = t;
|
|
3754
3756
|
typeof e == "object" && (u = e, e = u.id);
|
|
3755
3757
|
const {
|
|
3756
3758
|
values: o,
|
|
3757
|
-
locale: l =
|
|
3759
|
+
locale: l = L(),
|
|
3758
3760
|
default: a
|
|
3759
3761
|
} = u;
|
|
3760
3762
|
if (l == null)
|
|
3761
3763
|
throw new Error(
|
|
3762
3764
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3763
3765
|
);
|
|
3764
|
-
let h =
|
|
3766
|
+
let h = Xt(e, l);
|
|
3765
3767
|
if (!h)
|
|
3766
|
-
h = (s = (i = (n = (r =
|
|
3768
|
+
h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3767
3769
|
else if (typeof h != "string")
|
|
3768
3770
|
return console.warn(
|
|
3769
3771
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3772,7 +3774,7 @@ const ee = (e, t) => {
|
|
|
3772
3774
|
return h;
|
|
3773
3775
|
let f = h;
|
|
3774
3776
|
try {
|
|
3775
|
-
f =
|
|
3777
|
+
f = ui(h, l).format(o);
|
|
3776
3778
|
} catch (c) {
|
|
3777
3779
|
c instanceof Error && console.warn(
|
|
3778
3780
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3780,20 +3782,20 @@ const ee = (e, t) => {
|
|
|
3780
3782
|
);
|
|
3781
3783
|
}
|
|
3782
3784
|
return f;
|
|
3783
|
-
},
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
function
|
|
3785
|
+
}, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), mi = (e, t = L()) => Xt(e, t), pi = Q([$, ne], () => hi);
|
|
3786
|
+
Q([$], () => li);
|
|
3787
|
+
Q([$], () => fi);
|
|
3788
|
+
Q([$], () => ci);
|
|
3789
|
+
Q([$, ne], () => mi);
|
|
3790
|
+
function mt(e, t) {
|
|
3789
3791
|
zt(e, t);
|
|
3790
3792
|
}
|
|
3791
3793
|
function di(e) {
|
|
3792
|
-
|
|
3794
|
+
Wn({
|
|
3793
3795
|
fallbackLocale: "en"
|
|
3794
|
-
}),
|
|
3796
|
+
}), $.set(e);
|
|
3795
3797
|
}
|
|
3796
|
-
const
|
|
3798
|
+
const pt = {
|
|
3797
3799
|
en: {
|
|
3798
3800
|
header: {
|
|
3799
3801
|
general: "Cashier",
|
|
@@ -3816,18 +3818,18 @@ const mt = {
|
|
|
3816
3818
|
}
|
|
3817
3819
|
}
|
|
3818
3820
|
};
|
|
3819
|
-
function
|
|
3820
|
-
|
|
3821
|
+
function bi(e) {
|
|
3822
|
+
sr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
3821
3823
|
}
|
|
3822
|
-
const
|
|
3823
|
-
function
|
|
3824
|
+
const gi = (e) => ({}), dt = (e) => ({}), _i = (e) => ({}), bt = (e) => ({}), yi = (e) => ({}), gt = (e) => ({});
|
|
3825
|
+
function _t(e) {
|
|
3824
3826
|
let t, r, n;
|
|
3825
3827
|
return {
|
|
3826
3828
|
c() {
|
|
3827
|
-
t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',
|
|
3829
|
+
t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
|
|
3828
3830
|
},
|
|
3829
3831
|
m(i, s) {
|
|
3830
|
-
|
|
3832
|
+
M(i, t, s), r || (n = Tt(
|
|
3831
3833
|
t,
|
|
3832
3834
|
"click",
|
|
3833
3835
|
/*back*/
|
|
@@ -3836,28 +3838,28 @@ function gt(e) {
|
|
|
3836
3838
|
},
|
|
3837
3839
|
p: B,
|
|
3838
3840
|
d(i) {
|
|
3839
|
-
i &&
|
|
3841
|
+
i && P(t), r = !1, n();
|
|
3840
3842
|
}
|
|
3841
3843
|
};
|
|
3842
3844
|
}
|
|
3843
|
-
function
|
|
3845
|
+
function Ei(e) {
|
|
3844
3846
|
let t, r = (
|
|
3845
3847
|
/*backButton*/
|
|
3846
|
-
e[1] &&
|
|
3848
|
+
e[1] && _t(e)
|
|
3847
3849
|
);
|
|
3848
3850
|
return {
|
|
3849
3851
|
c() {
|
|
3850
|
-
r && r.c(), t =
|
|
3852
|
+
r && r.c(), t = Bt();
|
|
3851
3853
|
},
|
|
3852
3854
|
m(n, i) {
|
|
3853
|
-
r && r.m(n, i),
|
|
3855
|
+
r && r.m(n, i), M(n, t, i);
|
|
3854
3856
|
},
|
|
3855
3857
|
p(n, i) {
|
|
3856
3858
|
/*backButton*/
|
|
3857
|
-
n[1] ? r ? r.p(n, i) : (r =
|
|
3859
|
+
n[1] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3858
3860
|
},
|
|
3859
3861
|
d(n) {
|
|
3860
|
-
n &&
|
|
3862
|
+
n && P(t), r && r.d(n);
|
|
3861
3863
|
}
|
|
3862
3864
|
};
|
|
3863
3865
|
}
|
|
@@ -3871,10 +3873,10 @@ function xi(e) {
|
|
|
3871
3873
|
), n;
|
|
3872
3874
|
return {
|
|
3873
3875
|
c() {
|
|
3874
|
-
t = z("span"), n =
|
|
3876
|
+
t = z("span"), n = We(r), Z(t, "class", "CashierHeaderTitle");
|
|
3875
3877
|
},
|
|
3876
3878
|
m(i, s) {
|
|
3877
|
-
|
|
3879
|
+
M(i, t, s), me(t, n);
|
|
3878
3880
|
},
|
|
3879
3881
|
p(i, s) {
|
|
3880
3882
|
s & /*$_, titleText*/
|
|
@@ -3882,21 +3884,21 @@ function xi(e) {
|
|
|
3882
3884
|
i[4](
|
|
3883
3885
|
/*titleText*/
|
|
3884
3886
|
i[2]
|
|
3885
|
-
) + "") &&
|
|
3887
|
+
) + "") && hr(n, r);
|
|
3886
3888
|
},
|
|
3887
3889
|
d(i) {
|
|
3888
|
-
i &&
|
|
3890
|
+
i && P(t);
|
|
3889
3891
|
}
|
|
3890
3892
|
};
|
|
3891
3893
|
}
|
|
3892
|
-
function
|
|
3894
|
+
function yt(e) {
|
|
3893
3895
|
let t, r, n;
|
|
3894
3896
|
return {
|
|
3895
3897
|
c() {
|
|
3896
|
-
t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',
|
|
3898
|
+
t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
|
|
3897
3899
|
},
|
|
3898
3900
|
m(i, s) {
|
|
3899
|
-
|
|
3901
|
+
M(i, t, s), r || (n = Tt(
|
|
3900
3902
|
t,
|
|
3901
3903
|
"click",
|
|
3902
3904
|
/*close*/
|
|
@@ -3905,206 +3907,206 @@ function _t(e) {
|
|
|
3905
3907
|
},
|
|
3906
3908
|
p: B,
|
|
3907
3909
|
d(i) {
|
|
3908
|
-
i &&
|
|
3910
|
+
i && P(t), r = !1, n();
|
|
3909
3911
|
}
|
|
3910
3912
|
};
|
|
3911
3913
|
}
|
|
3912
|
-
function
|
|
3914
|
+
function vi(e) {
|
|
3913
3915
|
let t, r = (
|
|
3914
3916
|
/*closeButton*/
|
|
3915
|
-
e[3] &&
|
|
3917
|
+
e[3] && yt(e)
|
|
3916
3918
|
);
|
|
3917
3919
|
return {
|
|
3918
3920
|
c() {
|
|
3919
|
-
r && r.c(), t =
|
|
3921
|
+
r && r.c(), t = Bt();
|
|
3920
3922
|
},
|
|
3921
3923
|
m(n, i) {
|
|
3922
|
-
r && r.m(n, i),
|
|
3924
|
+
r && r.m(n, i), M(n, t, i);
|
|
3923
3925
|
},
|
|
3924
3926
|
p(n, i) {
|
|
3925
3927
|
/*closeButton*/
|
|
3926
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
3928
|
+
n[3] ? r ? r.p(n, i) : (r = yt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3927
3929
|
},
|
|
3928
3930
|
d(n) {
|
|
3929
|
-
n &&
|
|
3931
|
+
n && P(t), r && r.d(n);
|
|
3930
3932
|
}
|
|
3931
3933
|
};
|
|
3932
3934
|
}
|
|
3933
|
-
function
|
|
3935
|
+
function Hi(e) {
|
|
3934
3936
|
let t, r, n, i;
|
|
3935
3937
|
const s = (
|
|
3936
3938
|
/*#slots*/
|
|
3937
3939
|
e[15].leftButton
|
|
3938
|
-
), u =
|
|
3940
|
+
), u = ve(
|
|
3939
3941
|
s,
|
|
3940
3942
|
e,
|
|
3941
3943
|
/*$$scope*/
|
|
3942
3944
|
e[14],
|
|
3943
|
-
|
|
3944
|
-
), o = u ||
|
|
3945
|
+
gt
|
|
3946
|
+
), o = u || Ei(e), l = (
|
|
3945
3947
|
/*#slots*/
|
|
3946
3948
|
e[15].title
|
|
3947
|
-
), a =
|
|
3949
|
+
), a = ve(
|
|
3948
3950
|
l,
|
|
3949
3951
|
e,
|
|
3950
3952
|
/*$$scope*/
|
|
3951
3953
|
e[14],
|
|
3952
|
-
|
|
3954
|
+
bt
|
|
3953
3955
|
), h = a || xi(e), f = (
|
|
3954
3956
|
/*#slots*/
|
|
3955
3957
|
e[15].rightButton
|
|
3956
|
-
), c =
|
|
3958
|
+
), c = ve(
|
|
3957
3959
|
f,
|
|
3958
3960
|
e,
|
|
3959
3961
|
/*$$scope*/
|
|
3960
3962
|
e[14],
|
|
3961
3963
|
dt
|
|
3962
|
-
),
|
|
3964
|
+
), p = c || vi(e);
|
|
3963
3965
|
return {
|
|
3964
3966
|
c() {
|
|
3965
|
-
t = z("div"), o.c(), r =
|
|
3967
|
+
t = z("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), Z(t, "class", "CashierHeader");
|
|
3966
3968
|
},
|
|
3967
3969
|
m(m, g) {
|
|
3968
|
-
|
|
3970
|
+
M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[16](t), i = !0;
|
|
3969
3971
|
},
|
|
3970
3972
|
p(m, [g]) {
|
|
3971
3973
|
u ? u.p && (!i || g & /*$$scope*/
|
|
3972
|
-
16384) &&
|
|
3974
|
+
16384) && Be(
|
|
3973
3975
|
u,
|
|
3974
3976
|
s,
|
|
3975
3977
|
m,
|
|
3976
3978
|
/*$$scope*/
|
|
3977
3979
|
m[14],
|
|
3978
|
-
i ?
|
|
3980
|
+
i ? He(
|
|
3979
3981
|
s,
|
|
3980
3982
|
/*$$scope*/
|
|
3981
3983
|
m[14],
|
|
3982
3984
|
g,
|
|
3983
|
-
|
|
3984
|
-
) :
|
|
3985
|
+
yi
|
|
3986
|
+
) : Te(
|
|
3985
3987
|
/*$$scope*/
|
|
3986
3988
|
m[14]
|
|
3987
3989
|
),
|
|
3988
|
-
|
|
3989
|
-
) : o.p && (!i || g & /*backButton*/
|
|
3990
|
+
gt
|
|
3991
|
+
) : o && o.p && (!i || g & /*backButton*/
|
|
3990
3992
|
2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
|
|
3991
|
-
16384) &&
|
|
3993
|
+
16384) && Be(
|
|
3992
3994
|
a,
|
|
3993
3995
|
l,
|
|
3994
3996
|
m,
|
|
3995
3997
|
/*$$scope*/
|
|
3996
3998
|
m[14],
|
|
3997
|
-
i ?
|
|
3999
|
+
i ? He(
|
|
3998
4000
|
l,
|
|
3999
4001
|
/*$$scope*/
|
|
4000
4002
|
m[14],
|
|
4001
4003
|
g,
|
|
4002
|
-
|
|
4003
|
-
) :
|
|
4004
|
+
_i
|
|
4005
|
+
) : Te(
|
|
4004
4006
|
/*$$scope*/
|
|
4005
4007
|
m[14]
|
|
4006
4008
|
),
|
|
4007
|
-
|
|
4008
|
-
) : h.p && (!i || g & /*$_, titleText*/
|
|
4009
|
+
bt
|
|
4010
|
+
) : h && h.p && (!i || g & /*$_, titleText*/
|
|
4009
4011
|
20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
|
|
4010
|
-
16384) &&
|
|
4012
|
+
16384) && Be(
|
|
4011
4013
|
c,
|
|
4012
4014
|
f,
|
|
4013
4015
|
m,
|
|
4014
4016
|
/*$$scope*/
|
|
4015
4017
|
m[14],
|
|
4016
|
-
i ?
|
|
4018
|
+
i ? He(
|
|
4017
4019
|
f,
|
|
4018
4020
|
/*$$scope*/
|
|
4019
4021
|
m[14],
|
|
4020
4022
|
g,
|
|
4021
|
-
|
|
4022
|
-
) :
|
|
4023
|
+
gi
|
|
4024
|
+
) : Te(
|
|
4023
4025
|
/*$$scope*/
|
|
4024
4026
|
m[14]
|
|
4025
4027
|
),
|
|
4026
4028
|
dt
|
|
4027
|
-
) :
|
|
4028
|
-
8) &&
|
|
4029
|
+
) : p && p.p && (!i || g & /*closeButton*/
|
|
4030
|
+
8) && p.p(m, i ? g : -1);
|
|
4029
4031
|
},
|
|
4030
4032
|
i(m) {
|
|
4031
|
-
i || (
|
|
4033
|
+
i || (he(o, m), he(h, m), he(p, m), i = !0);
|
|
4032
4034
|
},
|
|
4033
4035
|
o(m) {
|
|
4034
|
-
|
|
4036
|
+
Se(o, m), Se(h, m), Se(p, m), i = !1;
|
|
4035
4037
|
},
|
|
4036
4038
|
d(m) {
|
|
4037
|
-
m &&
|
|
4039
|
+
m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
|
|
4038
4040
|
}
|
|
4039
4041
|
};
|
|
4040
4042
|
}
|
|
4041
|
-
function
|
|
4043
|
+
function Bi(e, t, r) {
|
|
4042
4044
|
let n;
|
|
4043
|
-
|
|
4044
|
-
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t,
|
|
4045
|
-
const
|
|
4045
|
+
ir(e, pi, (_) => r(4, n = _));
|
|
4046
|
+
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
|
|
4047
|
+
const N = () => {
|
|
4046
4048
|
let _ = l;
|
|
4047
|
-
_ && fetch(_).then((
|
|
4048
|
-
Object.keys(
|
|
4049
|
-
|
|
4049
|
+
_ && fetch(_).then((S) => S.json()).then((S) => {
|
|
4050
|
+
Object.keys(S).forEach((U) => {
|
|
4051
|
+
mt(U, S[U]);
|
|
4050
4052
|
});
|
|
4051
|
-
}).catch((
|
|
4052
|
-
console.log(
|
|
4053
|
+
}).catch((S) => {
|
|
4054
|
+
console.log(S);
|
|
4053
4055
|
});
|
|
4054
4056
|
};
|
|
4055
|
-
Object.keys(
|
|
4056
|
-
|
|
4057
|
+
Object.keys(pt).forEach((_) => {
|
|
4058
|
+
mt(_, pt[_]);
|
|
4057
4059
|
});
|
|
4058
|
-
const
|
|
4060
|
+
const O = () => {
|
|
4059
4061
|
let _ = document.createElement("style");
|
|
4060
|
-
_.innerHTML = u,
|
|
4062
|
+
_.innerHTML = u, p.appendChild(_);
|
|
4061
4063
|
}, H = () => {
|
|
4062
|
-
let _ = new URL(o),
|
|
4063
|
-
fetch(_.href).then((
|
|
4064
|
-
|
|
4064
|
+
let _ = new URL(o), S = document.createElement("style");
|
|
4065
|
+
fetch(_.href).then((U) => U.text()).then((U) => {
|
|
4066
|
+
S.innerHTML = U, setTimeout(
|
|
4065
4067
|
() => {
|
|
4066
|
-
|
|
4068
|
+
p.appendChild(S);
|
|
4067
4069
|
},
|
|
4068
4070
|
1
|
|
4069
4071
|
);
|
|
4070
4072
|
});
|
|
4071
|
-
},
|
|
4073
|
+
}, I = () => {
|
|
4072
4074
|
di(f);
|
|
4073
|
-
},
|
|
4075
|
+
}, w = () => {
|
|
4074
4076
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
4075
|
-
},
|
|
4077
|
+
}, R = () => {
|
|
4076
4078
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
4077
|
-
},
|
|
4079
|
+
}, se = () => {
|
|
4078
4080
|
r(1, m = !!a && a !== "false");
|
|
4079
|
-
}, Yt = () => {
|
|
4080
|
-
r(3, v = !!c && c !== "false");
|
|
4081
4081
|
}, Kt = () => {
|
|
4082
|
+
r(3, v = !!c && c !== "false");
|
|
4083
|
+
}, er = () => {
|
|
4082
4084
|
r(2, g = h || "header.general");
|
|
4083
4085
|
};
|
|
4084
|
-
function
|
|
4085
|
-
|
|
4086
|
-
|
|
4086
|
+
function tr(_) {
|
|
4087
|
+
Ie[_ ? "unshift" : "push"](() => {
|
|
4088
|
+
p = _, r(0, p);
|
|
4087
4089
|
});
|
|
4088
4090
|
}
|
|
4089
4091
|
return e.$$set = (_) => {
|
|
4090
4092
|
"clientstyling" in _ && r(7, u = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.showbackbutton), "title" in _ && r(11, h = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
|
|
4091
4093
|
}, e.$$.update = () => {
|
|
4092
4094
|
e.$$.dirty & /*lang*/
|
|
4093
|
-
4096 && f &&
|
|
4094
|
-
6144 && f && h &&
|
|
4095
|
-
129 && u &&
|
|
4096
|
-
257 && o &&
|
|
4097
|
-
4608 && f && l &&
|
|
4098
|
-
1024 && a &&
|
|
4099
|
-
8192 && c &&
|
|
4095
|
+
4096 && f && I(), e.$$.dirty & /*lang, title*/
|
|
4096
|
+
6144 && f && h && er(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4097
|
+
129 && u && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4098
|
+
257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
|
|
4099
|
+
4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
|
|
4100
|
+
1024 && a && se(), e.$$.dirty & /*showclosebutton*/
|
|
4101
|
+
8192 && c && Kt();
|
|
4100
4102
|
}, [
|
|
4101
|
-
|
|
4103
|
+
p,
|
|
4102
4104
|
m,
|
|
4103
4105
|
g,
|
|
4104
4106
|
v,
|
|
4105
4107
|
n,
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
+
w,
|
|
4109
|
+
R,
|
|
4108
4110
|
u,
|
|
4109
4111
|
o,
|
|
4110
4112
|
l,
|
|
@@ -4114,16 +4116,16 @@ function Hi(e, t, r) {
|
|
|
4114
4116
|
c,
|
|
4115
4117
|
s,
|
|
4116
4118
|
i,
|
|
4117
|
-
|
|
4119
|
+
tr
|
|
4118
4120
|
];
|
|
4119
4121
|
}
|
|
4120
|
-
class
|
|
4122
|
+
class Yt extends xr {
|
|
4121
4123
|
constructor(t) {
|
|
4122
|
-
super(),
|
|
4124
|
+
super(), yr(
|
|
4123
4125
|
this,
|
|
4124
4126
|
t,
|
|
4127
|
+
Bi,
|
|
4125
4128
|
Hi,
|
|
4126
|
-
vi,
|
|
4127
4129
|
xt,
|
|
4128
4130
|
{
|
|
4129
4131
|
clientstyling: 7,
|
|
@@ -4134,77 +4136,77 @@ class Jt extends xr {
|
|
|
4134
4136
|
lang: 12,
|
|
4135
4137
|
showclosebutton: 13
|
|
4136
4138
|
},
|
|
4137
|
-
|
|
4139
|
+
bi
|
|
4138
4140
|
);
|
|
4139
4141
|
}
|
|
4140
4142
|
get clientstyling() {
|
|
4141
4143
|
return this.$$.ctx[7];
|
|
4142
4144
|
}
|
|
4143
4145
|
set clientstyling(t) {
|
|
4144
|
-
this.$$set({ clientstyling: t }),
|
|
4146
|
+
this.$$set({ clientstyling: t }), A();
|
|
4145
4147
|
}
|
|
4146
4148
|
get clientstylingurl() {
|
|
4147
4149
|
return this.$$.ctx[8];
|
|
4148
4150
|
}
|
|
4149
4151
|
set clientstylingurl(t) {
|
|
4150
|
-
this.$$set({ clientstylingurl: t }),
|
|
4152
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
4151
4153
|
}
|
|
4152
4154
|
get translationurl() {
|
|
4153
4155
|
return this.$$.ctx[9];
|
|
4154
4156
|
}
|
|
4155
4157
|
set translationurl(t) {
|
|
4156
|
-
this.$$set({ translationurl: t }),
|
|
4158
|
+
this.$$set({ translationurl: t }), A();
|
|
4157
4159
|
}
|
|
4158
4160
|
get showbackbutton() {
|
|
4159
4161
|
return this.$$.ctx[10];
|
|
4160
4162
|
}
|
|
4161
4163
|
set showbackbutton(t) {
|
|
4162
|
-
this.$$set({ showbackbutton: t }),
|
|
4164
|
+
this.$$set({ showbackbutton: t }), A();
|
|
4163
4165
|
}
|
|
4164
4166
|
get title() {
|
|
4165
4167
|
return this.$$.ctx[11];
|
|
4166
4168
|
}
|
|
4167
4169
|
set title(t) {
|
|
4168
|
-
this.$$set({ title: t }),
|
|
4170
|
+
this.$$set({ title: t }), A();
|
|
4169
4171
|
}
|
|
4170
4172
|
get lang() {
|
|
4171
4173
|
return this.$$.ctx[12];
|
|
4172
4174
|
}
|
|
4173
4175
|
set lang(t) {
|
|
4174
|
-
this.$$set({ lang: t }),
|
|
4176
|
+
this.$$set({ lang: t }), A();
|
|
4175
4177
|
}
|
|
4176
4178
|
get showclosebutton() {
|
|
4177
4179
|
return this.$$.ctx[13];
|
|
4178
4180
|
}
|
|
4179
4181
|
set showclosebutton(t) {
|
|
4180
|
-
this.$$set({ showclosebutton: t }),
|
|
4182
|
+
this.$$set({ showclosebutton: t }), A();
|
|
4181
4183
|
}
|
|
4182
4184
|
}
|
|
4183
|
-
|
|
4184
|
-
const
|
|
4185
|
+
Er(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
4186
|
+
const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4185
4187
|
__proto__: null,
|
|
4186
|
-
default:
|
|
4188
|
+
default: Yt
|
|
4187
4189
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4188
4190
|
export {
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
+
$,
|
|
4192
|
+
Si as C,
|
|
4191
4193
|
xr as S,
|
|
4192
4194
|
zt as a,
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4195
|
+
yr as b,
|
|
4196
|
+
Er as c,
|
|
4197
|
+
sr as d,
|
|
4198
|
+
P as e,
|
|
4199
|
+
A as f,
|
|
4200
|
+
wi as g,
|
|
4199
4201
|
Ti as h,
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4202
|
+
Wn as i,
|
|
4203
|
+
Z as j,
|
|
4204
|
+
M as k,
|
|
4205
|
+
me as l,
|
|
4206
|
+
Tt as m,
|
|
4207
|
+
B as n,
|
|
4208
|
+
z as o,
|
|
4209
|
+
Je as p,
|
|
4210
|
+
Ie as q,
|
|
4209
4211
|
xt as s
|
|
4210
4212
|
};
|