@everymatrix/cashier-iframe-redirect 1.54.12 → 1.55.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-SjQD0iXc.js → CashierHeader-BZURwYKd.js} +393 -391
- package/components/CashierHeader-BgQNXnnQ.cjs +5 -0
- package/components/{CashierHeader-z-Fop357.js → CashierHeader-RyraoJNg.js} +417 -415
- package/components/{CashierIframeRedirect-CmMbClUf.cjs → CashierIframeRedirect-BUt_5BGj.cjs} +1 -1
- package/components/{CashierIframeRedirect-CMZFWznN.js → CashierIframeRedirect-BtyZmb6E.js} +11 -11
- package/components/{CashierIframeRedirect-BGnFF_fO.js → CashierIframeRedirect-Bzjt6ENJ.js} +13 -13
- package/components/{CashierSpinner-BbUbWIXF.js → CashierSpinner-Bvvd1goD.js} +7 -7
- package/components/{CashierSpinner-C9imQnTJ.cjs → CashierSpinner-C6VaFIVf.cjs} +1 -1
- package/components/{CashierSpinner-DpWXh4O5.js → CashierSpinner-ChMYs5W7.js} +7 -7
- 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-Dr8VWEX5.cjs +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var xe = (e, t, r) => t in e ?
|
|
1
|
+
var ur = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ye = Object.getOwnPropertySymbols;
|
|
4
|
+
var fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var xe = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
fr.call(t, r) && xe(e, r, t[r]);
|
|
8
|
+
if (Ye)
|
|
9
|
+
for (var r of Ye(t))
|
|
10
|
+
cr.call(t, r) && xe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, et = (e, t) => hr(e, lr(t));
|
|
13
13
|
var B = (e, t, r) => xe(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
o(r.next(l));
|
|
@@ -29,36 +29,36 @@ var Ke = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function T() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function mr(e, t) {
|
|
33
33
|
for (const r in t) e[r] = t[r];
|
|
34
34
|
return (
|
|
35
35
|
/** @type {T & S} */
|
|
36
36
|
e
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function wt(e) {
|
|
40
40
|
return e();
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function rt() {
|
|
43
43
|
return /* @__PURE__ */ Object.create(null);
|
|
44
44
|
}
|
|
45
45
|
function re(e) {
|
|
46
|
-
e.forEach(
|
|
46
|
+
e.forEach(wt);
|
|
47
47
|
}
|
|
48
48
|
function Xe(e) {
|
|
49
49
|
return typeof e == "function";
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function St(e, t) {
|
|
52
52
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
53
53
|
}
|
|
54
54
|
let oe;
|
|
55
|
-
function
|
|
55
|
+
function $i(e, t) {
|
|
56
56
|
return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function pr(e) {
|
|
59
59
|
return Object.keys(e).length === 0;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function At(e, ...t) {
|
|
62
62
|
if (e == null) {
|
|
63
63
|
for (const n of t)
|
|
64
64
|
n(void 0);
|
|
@@ -67,17 +67,17 @@ function wt(e, ...t) {
|
|
|
67
67
|
const r = e.subscribe(...t);
|
|
68
68
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
e.$$.on_destroy.push(
|
|
70
|
+
function dr(e, t, r) {
|
|
71
|
+
e.$$.on_destroy.push(At(t, r));
|
|
72
72
|
}
|
|
73
73
|
function ve(e, t, r, n) {
|
|
74
74
|
if (e) {
|
|
75
|
-
const i =
|
|
75
|
+
const i = Ct(e, t, r, n);
|
|
76
76
|
return e[0](i);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return e[1] && n ?
|
|
79
|
+
function Ct(e, t, r, n) {
|
|
80
|
+
return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
81
81
|
}
|
|
82
82
|
function He(e, t, r, n) {
|
|
83
83
|
if (e[2] && n) {
|
|
@@ -96,7 +96,7 @@ function He(e, t, r, n) {
|
|
|
96
96
|
}
|
|
97
97
|
function Be(e, t, r, n, i, s) {
|
|
98
98
|
if (i) {
|
|
99
|
-
const a =
|
|
99
|
+
const a = Ct(t, r, n, s);
|
|
100
100
|
e.p(a, i);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -112,14 +112,14 @@ function Te(e) {
|
|
|
112
112
|
function me(e, t) {
|
|
113
113
|
e.appendChild(t);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
const n =
|
|
115
|
+
function br(e, t, r) {
|
|
116
|
+
const n = gr(e);
|
|
117
117
|
if (!n.getElementById(t)) {
|
|
118
|
-
const i =
|
|
119
|
-
i.id = t, i.textContent = r,
|
|
118
|
+
const i = W("style");
|
|
119
|
+
i.id = t, i.textContent = r, _r(n, i);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function gr(e) {
|
|
123
123
|
if (!e) return document;
|
|
124
124
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
125
125
|
return t && /** @type {ShadowRoot} */
|
|
@@ -128,7 +128,7 @@ function dr(e) {
|
|
|
128
128
|
t
|
|
129
129
|
) : e.ownerDocument;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function _r(e, t) {
|
|
132
132
|
return me(
|
|
133
133
|
/** @type {Document} */
|
|
134
134
|
e.head || e,
|
|
@@ -141,36 +141,36 @@ function M(e, t, r) {
|
|
|
141
141
|
function P(e) {
|
|
142
142
|
e.parentNode && e.parentNode.removeChild(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function W(e) {
|
|
145
145
|
return document.createElement(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ze(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function nt() {
|
|
151
|
+
return ze(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function Ot() {
|
|
154
|
+
return ze("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Pt(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
159
|
function Z(e, t, r) {
|
|
160
160
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ri(e, t, r) {
|
|
163
163
|
const n = t.toLowerCase();
|
|
164
164
|
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);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function yr(e) {
|
|
167
167
|
return Array.from(e.childNodes);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Er(e, t) {
|
|
170
170
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
171
171
|
t);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function xr(e) {
|
|
174
174
|
const t = {};
|
|
175
175
|
return e.childNodes.forEach(
|
|
176
176
|
/** @param {Element} node */
|
|
@@ -179,16 +179,16 @@ function yr(e) {
|
|
|
179
179
|
}
|
|
180
180
|
), t;
|
|
181
181
|
}
|
|
182
|
-
let
|
|
182
|
+
let We;
|
|
183
183
|
function K(e) {
|
|
184
|
-
|
|
184
|
+
We = e;
|
|
185
185
|
}
|
|
186
186
|
const F = [], Ie = [];
|
|
187
187
|
let j = [];
|
|
188
|
-
const
|
|
188
|
+
const it = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
189
189
|
let Me = !1;
|
|
190
|
-
function
|
|
191
|
-
Me || (Me = !0,
|
|
190
|
+
function Hr() {
|
|
191
|
+
Me || (Me = !0, vr.then(A));
|
|
192
192
|
}
|
|
193
193
|
function $e(e) {
|
|
194
194
|
j.push(e);
|
|
@@ -198,12 +198,12 @@ let D = 0;
|
|
|
198
198
|
function A() {
|
|
199
199
|
if (D !== 0)
|
|
200
200
|
return;
|
|
201
|
-
const e =
|
|
201
|
+
const e = We;
|
|
202
202
|
do {
|
|
203
203
|
try {
|
|
204
204
|
for (; D < F.length; ) {
|
|
205
205
|
const t = F[D];
|
|
206
|
-
D++, K(t),
|
|
206
|
+
D++, K(t), Br(t.$$);
|
|
207
207
|
}
|
|
208
208
|
} catch (t) {
|
|
209
209
|
throw F.length = 0, D = 0, t;
|
|
@@ -215,50 +215,50 @@ function A() {
|
|
|
215
215
|
}
|
|
216
216
|
j.length = 0;
|
|
217
217
|
} while (F.length);
|
|
218
|
-
for (;
|
|
219
|
-
|
|
218
|
+
for (; it.length; )
|
|
219
|
+
it.pop()();
|
|
220
220
|
Me = !1, we.clear(), K(e);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Br(e) {
|
|
223
223
|
if (e.fragment !== null) {
|
|
224
224
|
e.update(), re(e.before_update);
|
|
225
225
|
const t = e.dirty;
|
|
226
226
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Tr(e) {
|
|
230
230
|
const t = [], r = [];
|
|
231
231
|
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
232
232
|
}
|
|
233
233
|
const ue = /* @__PURE__ */ new Set();
|
|
234
|
-
let
|
|
234
|
+
let wr;
|
|
235
235
|
function he(e, t) {
|
|
236
236
|
e && e.i && (ue.delete(e), e.i(t));
|
|
237
237
|
}
|
|
238
238
|
function Se(e, t, r, n) {
|
|
239
239
|
if (e && e.o) {
|
|
240
240
|
if (ue.has(e)) return;
|
|
241
|
-
ue.add(e),
|
|
241
|
+
ue.add(e), wr.c.push(() => {
|
|
242
242
|
ue.delete(e);
|
|
243
243
|
}), e.o(t);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Sr(e, t, r) {
|
|
247
247
|
const { fragment: n, after_update: i } = e.$$;
|
|
248
248
|
n && n.m(t, r), $e(() => {
|
|
249
|
-
const s = e.$$.on_mount.map(
|
|
249
|
+
const s = e.$$.on_mount.map(wt).filter(Xe);
|
|
250
250
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
251
251
|
}), i.forEach($e);
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Ar(e, t) {
|
|
254
254
|
const r = e.$$;
|
|
255
|
-
r.fragment !== null && (
|
|
255
|
+
r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
e.$$.dirty[0] === -1 && (F.push(e),
|
|
257
|
+
function Cr(e, t) {
|
|
258
|
+
e.$$.dirty[0] === -1 && (F.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
261
|
-
const l =
|
|
260
|
+
function Or(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
261
|
+
const l = We;
|
|
262
262
|
K(e);
|
|
263
263
|
const u = e.$$ = {
|
|
264
264
|
fragment: null,
|
|
@@ -267,7 +267,7 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
267
267
|
props: s,
|
|
268
268
|
update: T,
|
|
269
269
|
not_equal: i,
|
|
270
|
-
bound:
|
|
270
|
+
bound: rt(),
|
|
271
271
|
// lifecycle
|
|
272
272
|
on_mount: [],
|
|
273
273
|
on_destroy: [],
|
|
@@ -276,7 +276,7 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
276
276
|
after_update: [],
|
|
277
277
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
278
278
|
// everything else
|
|
279
|
-
callbacks:
|
|
279
|
+
callbacks: rt(),
|
|
280
280
|
dirty: o,
|
|
281
281
|
skip_bound: !1,
|
|
282
282
|
root: t.target || l.$$.root
|
|
@@ -285,19 +285,19 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
285
285
|
let h = !1;
|
|
286
286
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
287
287
|
const m = p.length ? p[0] : c;
|
|
288
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h &&
|
|
288
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Cr(e, f)), c;
|
|
289
289
|
}) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
290
290
|
if (t.hydrate) {
|
|
291
|
-
const f =
|
|
291
|
+
const f = yr(t.target);
|
|
292
292
|
u.fragment && u.fragment.l(f), f.forEach(P);
|
|
293
293
|
} else
|
|
294
294
|
u.fragment && u.fragment.c();
|
|
295
|
-
t.intro && he(e.$$.fragment),
|
|
295
|
+
t.intro && he(e.$$.fragment), Sr(e, t.target, t.anchor), A();
|
|
296
296
|
}
|
|
297
297
|
K(l);
|
|
298
298
|
}
|
|
299
|
-
let
|
|
300
|
-
typeof HTMLElement == "function" && (
|
|
299
|
+
let Lt;
|
|
300
|
+
typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
301
301
|
constructor(t, r, n) {
|
|
302
302
|
super();
|
|
303
303
|
/** The Svelte component constructor */
|
|
@@ -334,14 +334,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
connectedCallback() {
|
|
337
|
-
return
|
|
337
|
+
return tt(this, null, function* () {
|
|
338
338
|
if (this.$$cn = !0, !this.$$c) {
|
|
339
339
|
let t = function(s) {
|
|
340
340
|
return () => {
|
|
341
341
|
let a;
|
|
342
342
|
return {
|
|
343
343
|
c: function() {
|
|
344
|
-
a =
|
|
344
|
+
a = W("slot"), s !== "default" && Z(a, "name", s);
|
|
345
345
|
},
|
|
346
346
|
/**
|
|
347
347
|
* @param {HTMLElement} target
|
|
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
358
358
|
};
|
|
359
359
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
360
360
|
return;
|
|
361
|
-
const r = {}, n =
|
|
361
|
+
const r = {}, n = xr(this);
|
|
362
362
|
for (const s of this.$$s)
|
|
363
363
|
s in n && (r[s] = [t(s)]);
|
|
364
364
|
for (const s of this.attributes) {
|
|
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
369
369
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
370
370
|
this.$$c = new this.$$ctor({
|
|
371
371
|
target: this.shadowRoot || this,
|
|
372
|
-
props:
|
|
372
|
+
props: et(Ke({}, this.$$d), {
|
|
373
373
|
$$slots: r,
|
|
374
374
|
$$scope: {
|
|
375
375
|
ctx: []
|
|
@@ -447,8 +447,8 @@ function le(e, t, r, n) {
|
|
|
447
447
|
return t;
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
function
|
|
451
|
-
let a = class extends
|
|
450
|
+
function Pr(e, t, r, n, i, s) {
|
|
451
|
+
let a = class extends Lt {
|
|
452
452
|
constructor() {
|
|
453
453
|
super(e, r, i), this.$$p_d = t;
|
|
454
454
|
}
|
|
@@ -478,7 +478,7 @@ function Cr(e, t, r, n, i, s) {
|
|
|
478
478
|
}), e.element = /** @type {any} */
|
|
479
479
|
a, a;
|
|
480
480
|
}
|
|
481
|
-
class
|
|
481
|
+
class Lr {
|
|
482
482
|
constructor() {
|
|
483
483
|
/**
|
|
484
484
|
* ### PRIVATE API
|
|
@@ -499,7 +499,7 @@ class Or {
|
|
|
499
499
|
}
|
|
500
500
|
/** @returns {void} */
|
|
501
501
|
$destroy() {
|
|
502
|
-
|
|
502
|
+
Ar(this, 1), this.$destroy = T;
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
505
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -521,13 +521,13 @@ class Or {
|
|
|
521
521
|
* @returns {void}
|
|
522
522
|
*/
|
|
523
523
|
$set(t) {
|
|
524
|
-
this.$$set && !
|
|
524
|
+
this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
const
|
|
528
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
527
|
+
const Nr = "4";
|
|
528
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
|
|
529
529
|
const G = [];
|
|
530
|
-
function
|
|
530
|
+
function Ir(e, t) {
|
|
531
531
|
return {
|
|
532
532
|
subscribe: ge(e, t).subscribe
|
|
533
533
|
};
|
|
@@ -536,7 +536,7 @@ function ge(e, t = T) {
|
|
|
536
536
|
let r;
|
|
537
537
|
const n = /* @__PURE__ */ new Set();
|
|
538
538
|
function i(o) {
|
|
539
|
-
if (
|
|
539
|
+
if (St(e, o) && (e = o, r)) {
|
|
540
540
|
const l = !G.length;
|
|
541
541
|
for (const u of n)
|
|
542
542
|
u[1](), G.push(u, e);
|
|
@@ -563,7 +563,7 @@ function Q(e, t, r) {
|
|
|
563
563
|
if (!i.every(Boolean))
|
|
564
564
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
565
565
|
const s = t.length < 2;
|
|
566
|
-
return
|
|
566
|
+
return Ir(r, (a, o) => {
|
|
567
567
|
let l = !1;
|
|
568
568
|
const u = [];
|
|
569
569
|
let h = 0, f = T;
|
|
@@ -574,7 +574,7 @@ function Q(e, t, r) {
|
|
|
574
574
|
const m = t(n ? u[0] : u, a, o);
|
|
575
575
|
s ? a(m) : f = Xe(m) ? m : T;
|
|
576
576
|
}, p = i.map(
|
|
577
|
-
(m, g) =>
|
|
577
|
+
(m, g) => At(
|
|
578
578
|
m,
|
|
579
579
|
(v) => {
|
|
580
580
|
u[g] = v, h &= ~(1 << g), l && c();
|
|
@@ -589,70 +589,70 @@ function Q(e, t, r) {
|
|
|
589
589
|
};
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function Mr(e) {
|
|
593
593
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
594
594
|
}
|
|
595
|
-
var
|
|
596
|
-
return
|
|
595
|
+
var $r = function(t) {
|
|
596
|
+
return Rr(t) && !Ur(t);
|
|
597
597
|
};
|
|
598
|
-
function
|
|
598
|
+
function Rr(e) {
|
|
599
599
|
return !!e && typeof e == "object";
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Ur(e) {
|
|
602
602
|
var t = Object.prototype.toString.call(e);
|
|
603
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
603
|
+
return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
function
|
|
607
|
-
return e.$$typeof ===
|
|
605
|
+
var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
|
|
606
|
+
function Fr(e) {
|
|
607
|
+
return e.$$typeof === Gr;
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function jr(e) {
|
|
610
610
|
return Array.isArray(e) ? [] : {};
|
|
611
611
|
}
|
|
612
612
|
function ee(e, t) {
|
|
613
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? k(
|
|
613
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(jr(e), e, t) : e;
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function kr(e, t, r) {
|
|
616
616
|
return e.concat(t).map(function(n) {
|
|
617
617
|
return ee(n, r);
|
|
618
618
|
});
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Vr(e, t) {
|
|
621
621
|
if (!t.customMerge)
|
|
622
622
|
return k;
|
|
623
623
|
var r = t.customMerge(e);
|
|
624
624
|
return typeof r == "function" ? r : k;
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Xr(e) {
|
|
627
627
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
628
628
|
return Object.propertyIsEnumerable.call(e, t);
|
|
629
629
|
}) : [];
|
|
630
630
|
}
|
|
631
|
-
function
|
|
632
|
-
return Object.keys(e).concat(
|
|
631
|
+
function st(e) {
|
|
632
|
+
return Object.keys(e).concat(Xr(e));
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function Nt(e, t) {
|
|
635
635
|
try {
|
|
636
636
|
return t in e;
|
|
637
637
|
} catch (r) {
|
|
638
638
|
return !1;
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
return
|
|
641
|
+
function zr(e, t) {
|
|
642
|
+
return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Wr(e, t, r) {
|
|
645
645
|
var n = {};
|
|
646
|
-
return r.isMergeableObject(e) &&
|
|
646
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
647
647
|
n[i] = ee(e[i], r);
|
|
648
|
-
}),
|
|
649
|
-
|
|
648
|
+
}), st(t).forEach(function(i) {
|
|
649
|
+
zr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
650
650
|
}), n;
|
|
651
651
|
}
|
|
652
652
|
function k(e, t, r) {
|
|
653
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
653
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
|
|
654
654
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
655
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
655
|
+
return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
|
|
656
656
|
}
|
|
657
657
|
k.all = function(t, r) {
|
|
658
658
|
if (!Array.isArray(t))
|
|
@@ -661,8 +661,8 @@ k.all = function(t, r) {
|
|
|
661
661
|
return k(n, i, r);
|
|
662
662
|
}, {});
|
|
663
663
|
};
|
|
664
|
-
var
|
|
665
|
-
const
|
|
664
|
+
var Zr = k, Qr = Zr;
|
|
665
|
+
const qr = /* @__PURE__ */ Mr(Qr);
|
|
666
666
|
var Re = function(e, t) {
|
|
667
667
|
return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
668
668
|
r.__proto__ = n;
|
|
@@ -688,7 +688,7 @@ var y = function() {
|
|
|
688
688
|
return t;
|
|
689
689
|
}, y.apply(this, arguments);
|
|
690
690
|
};
|
|
691
|
-
function
|
|
691
|
+
function Jr(e, t) {
|
|
692
692
|
var r = {};
|
|
693
693
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
694
694
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -702,53 +702,55 @@ function Ae(e, t, r) {
|
|
|
702
702
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
703
703
|
}
|
|
704
704
|
function Ce(e, t) {
|
|
705
|
-
var r = t && t.cache ? t.cache :
|
|
705
|
+
var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
|
|
706
706
|
return i(e, {
|
|
707
707
|
cache: r,
|
|
708
708
|
serializer: n
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function Yr(e) {
|
|
712
712
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
var i =
|
|
714
|
+
function It(e, t, r, n) {
|
|
715
|
+
var i = Yr(n) ? n : r(n), s = t.get(i);
|
|
716
716
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Mt(e, t, r) {
|
|
719
719
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
720
720
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function Ze(e, t, r, n, i) {
|
|
723
723
|
return r.bind(t, e, n, i);
|
|
724
724
|
}
|
|
725
|
-
function Yr(e, t) {
|
|
726
|
-
var r = e.length === 1 ? Jr : Lt;
|
|
727
|
-
return Nt(e, this, r, t.cache.create(), t.serializer);
|
|
728
|
-
}
|
|
729
725
|
function Kr(e, t) {
|
|
730
|
-
|
|
726
|
+
var r = e.length === 1 ? It : Mt;
|
|
727
|
+
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
728
|
+
}
|
|
729
|
+
function en(e, t) {
|
|
730
|
+
return Ze(e, this, Mt, t.cache.create(), t.serializer);
|
|
731
731
|
}
|
|
732
|
-
|
|
732
|
+
function tn(e, t) {
|
|
733
|
+
return Ze(e, this, It, t.cache.create(), t.serializer);
|
|
734
|
+
}
|
|
735
|
+
var rn = function() {
|
|
733
736
|
return JSON.stringify(arguments);
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}()
|
|
746
|
-
), rn = {
|
|
737
|
+
};
|
|
738
|
+
function Qe() {
|
|
739
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
740
|
+
}
|
|
741
|
+
Qe.prototype.get = function(e) {
|
|
742
|
+
return this.cache[e];
|
|
743
|
+
};
|
|
744
|
+
Qe.prototype.set = function(e, t) {
|
|
745
|
+
this.cache[e] = t;
|
|
746
|
+
};
|
|
747
|
+
var nn = {
|
|
747
748
|
create: function() {
|
|
748
|
-
return new
|
|
749
|
+
return new Qe();
|
|
749
750
|
}
|
|
750
751
|
}, Oe = {
|
|
751
|
-
variadic:
|
|
752
|
+
variadic: en,
|
|
753
|
+
monadic: tn
|
|
752
754
|
}, d;
|
|
753
755
|
(function(e) {
|
|
754
756
|
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";
|
|
@@ -761,43 +763,43 @@ var V;
|
|
|
761
763
|
(function(e) {
|
|
762
764
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
763
765
|
})(V || (V = {}));
|
|
764
|
-
function
|
|
766
|
+
function ot(e) {
|
|
765
767
|
return e.type === E.literal;
|
|
766
768
|
}
|
|
767
|
-
function
|
|
769
|
+
function sn(e) {
|
|
768
770
|
return e.type === E.argument;
|
|
769
771
|
}
|
|
770
|
-
function
|
|
772
|
+
function $t(e) {
|
|
771
773
|
return e.type === E.number;
|
|
772
774
|
}
|
|
773
|
-
function
|
|
775
|
+
function Rt(e) {
|
|
774
776
|
return e.type === E.date;
|
|
775
777
|
}
|
|
776
|
-
function
|
|
778
|
+
function Ut(e) {
|
|
777
779
|
return e.type === E.time;
|
|
778
780
|
}
|
|
779
|
-
function
|
|
781
|
+
function Dt(e) {
|
|
780
782
|
return e.type === E.select;
|
|
781
783
|
}
|
|
782
|
-
function
|
|
784
|
+
function Gt(e) {
|
|
783
785
|
return e.type === E.plural;
|
|
784
786
|
}
|
|
785
|
-
function
|
|
787
|
+
function on(e) {
|
|
786
788
|
return e.type === E.pound;
|
|
787
789
|
}
|
|
788
|
-
function
|
|
790
|
+
function Ft(e) {
|
|
789
791
|
return e.type === E.tag;
|
|
790
792
|
}
|
|
791
|
-
function
|
|
793
|
+
function jt(e) {
|
|
792
794
|
return !!(e && typeof e == "object" && e.type === V.number);
|
|
793
795
|
}
|
|
794
796
|
function Ue(e) {
|
|
795
797
|
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
796
798
|
}
|
|
797
|
-
var
|
|
798
|
-
function
|
|
799
|
+
var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
|
|
800
|
+
function un(e) {
|
|
799
801
|
var t = {};
|
|
800
|
-
return e.replace(
|
|
802
|
+
return e.replace(an, function(r) {
|
|
801
803
|
var n = r.length;
|
|
802
804
|
switch (r[0]) {
|
|
803
805
|
case "G":
|
|
@@ -886,11 +888,11 @@ function an(e) {
|
|
|
886
888
|
return "";
|
|
887
889
|
}), t;
|
|
888
890
|
}
|
|
889
|
-
var
|
|
890
|
-
function
|
|
891
|
+
var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
892
|
+
function ln(e) {
|
|
891
893
|
if (e.length === 0)
|
|
892
894
|
throw new Error("Number skeleton cannot be empty");
|
|
893
|
-
for (var t = e.split(
|
|
895
|
+
for (var t = e.split(hn).filter(function(c) {
|
|
894
896
|
return c.length > 0;
|
|
895
897
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
896
898
|
var s = i[n], a = s.split("/");
|
|
@@ -905,17 +907,17 @@ function hn(e) {
|
|
|
905
907
|
}
|
|
906
908
|
return r;
|
|
907
909
|
}
|
|
908
|
-
function
|
|
910
|
+
function fn(e) {
|
|
909
911
|
return e.replace(/^(.*?)-/, "");
|
|
910
912
|
}
|
|
911
|
-
var
|
|
912
|
-
function
|
|
913
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
914
|
+
function ut(e) {
|
|
913
915
|
var t = {};
|
|
914
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
916
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
|
|
915
917
|
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)), "";
|
|
916
918
|
}), t;
|
|
917
919
|
}
|
|
918
|
-
function
|
|
920
|
+
function zt(e) {
|
|
919
921
|
switch (e) {
|
|
920
922
|
case "sign-auto":
|
|
921
923
|
return {
|
|
@@ -955,7 +957,7 @@ function Vt(e) {
|
|
|
955
957
|
};
|
|
956
958
|
}
|
|
957
959
|
}
|
|
958
|
-
function
|
|
960
|
+
function mn(e) {
|
|
959
961
|
var t;
|
|
960
962
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
961
963
|
notation: "engineering"
|
|
@@ -963,17 +965,17 @@ function cn(e) {
|
|
|
963
965
|
notation: "scientific"
|
|
964
966
|
}, e = e.slice(1)), t) {
|
|
965
967
|
var r = e.slice(0, 2);
|
|
966
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
968
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
|
|
967
969
|
throw new Error("Malformed concise eng/scientific notation");
|
|
968
970
|
t.minimumIntegerDigits = e.length;
|
|
969
971
|
}
|
|
970
972
|
return t;
|
|
971
973
|
}
|
|
972
|
-
function
|
|
973
|
-
var t = {}, r =
|
|
974
|
+
function ht(e) {
|
|
975
|
+
var t = {}, r = zt(e);
|
|
974
976
|
return r || t;
|
|
975
977
|
}
|
|
976
|
-
function
|
|
978
|
+
function pn(e) {
|
|
977
979
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
978
980
|
var i = n[r];
|
|
979
981
|
switch (i.stem) {
|
|
@@ -997,7 +999,7 @@ function mn(e) {
|
|
|
997
999
|
continue;
|
|
998
1000
|
case "measure-unit":
|
|
999
1001
|
case "unit":
|
|
1000
|
-
t.style = "unit", t.unit =
|
|
1002
|
+
t.style = "unit", t.unit = fn(i.options[0]);
|
|
1001
1003
|
continue;
|
|
1002
1004
|
case "compact-short":
|
|
1003
1005
|
case "K":
|
|
@@ -1009,12 +1011,12 @@ function mn(e) {
|
|
|
1009
1011
|
continue;
|
|
1010
1012
|
case "scientific":
|
|
1011
1013
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1012
|
-
return y(y({}, l),
|
|
1014
|
+
return y(y({}, l), ht(u));
|
|
1013
1015
|
}, {}));
|
|
1014
1016
|
continue;
|
|
1015
1017
|
case "engineering":
|
|
1016
1018
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1017
|
-
return y(y({}, l),
|
|
1019
|
+
return y(y({}, l), ht(u));
|
|
1018
1020
|
}, {}));
|
|
1019
1021
|
continue;
|
|
1020
1022
|
case "notation-simple":
|
|
@@ -1059,7 +1061,7 @@ function mn(e) {
|
|
|
1059
1061
|
case "integer-width":
|
|
1060
1062
|
if (i.options.length > 1)
|
|
1061
1063
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1062
|
-
i.options[0].replace(
|
|
1064
|
+
i.options[0].replace(cn, function(l, u, h, f, c, p) {
|
|
1063
1065
|
if (u)
|
|
1064
1066
|
t.minimumIntegerDigits = h.length;
|
|
1065
1067
|
else {
|
|
@@ -1072,27 +1074,27 @@ function mn(e) {
|
|
|
1072
1074
|
});
|
|
1073
1075
|
continue;
|
|
1074
1076
|
}
|
|
1075
|
-
if (
|
|
1077
|
+
if (Xt.test(i.stem)) {
|
|
1076
1078
|
t.minimumIntegerDigits = i.stem.length;
|
|
1077
1079
|
continue;
|
|
1078
1080
|
}
|
|
1079
|
-
if (
|
|
1081
|
+
if (at.test(i.stem)) {
|
|
1080
1082
|
if (i.options.length > 1)
|
|
1081
1083
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1082
|
-
i.stem.replace(
|
|
1084
|
+
i.stem.replace(at, function(l, u, h, f, c, p) {
|
|
1083
1085
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1084
1086
|
});
|
|
1085
1087
|
var s = i.options[0];
|
|
1086
|
-
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t),
|
|
1088
|
+
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ut(s)));
|
|
1087
1089
|
continue;
|
|
1088
1090
|
}
|
|
1089
|
-
if (
|
|
1090
|
-
t = y(y({}, t),
|
|
1091
|
+
if (Vt.test(i.stem)) {
|
|
1092
|
+
t = y(y({}, t), ut(i.stem));
|
|
1091
1093
|
continue;
|
|
1092
1094
|
}
|
|
1093
|
-
var a =
|
|
1095
|
+
var a = zt(i.stem);
|
|
1094
1096
|
a && (t = y(y({}, t), a));
|
|
1095
|
-
var o =
|
|
1097
|
+
var o = mn(i.stem);
|
|
1096
1098
|
o && (t = y(y({}, t), o));
|
|
1097
1099
|
}
|
|
1098
1100
|
return t;
|
|
@@ -2512,13 +2514,13 @@ var ae = {
|
|
|
2512
2514
|
"h"
|
|
2513
2515
|
]
|
|
2514
2516
|
};
|
|
2515
|
-
function
|
|
2517
|
+
function dn(e, t) {
|
|
2516
2518
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2517
2519
|
var i = e.charAt(n);
|
|
2518
2520
|
if (i === "j") {
|
|
2519
2521
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2520
2522
|
s++, n++;
|
|
2521
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2523
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
|
|
2522
2524
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2523
2525
|
r += l;
|
|
2524
2526
|
for (; a-- > 0; )
|
|
@@ -2527,7 +2529,7 @@ function pn(e, t) {
|
|
|
2527
2529
|
}
|
|
2528
2530
|
return r;
|
|
2529
2531
|
}
|
|
2530
|
-
function
|
|
2532
|
+
function bn(e) {
|
|
2531
2533
|
var t = e.hourCycle;
|
|
2532
2534
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2533
2535
|
e.hourCycles && // @ts-ignore
|
|
@@ -2549,20 +2551,20 @@ function dn(e) {
|
|
|
2549
2551
|
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
2550
2552
|
return i[0];
|
|
2551
2553
|
}
|
|
2552
|
-
var Pe,
|
|
2554
|
+
var Pe, gn = new RegExp("^".concat(kt.source, "*")), _n = new RegExp("".concat(kt.source, "*$"));
|
|
2553
2555
|
function b(e, t) {
|
|
2554
2556
|
return { start: e, end: t };
|
|
2555
2557
|
}
|
|
2556
|
-
var
|
|
2558
|
+
var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, xn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, wn = Tn ? Number.isSafeInteger : function(e) {
|
|
2557
2559
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2558
2560
|
}, De = !0;
|
|
2559
2561
|
try {
|
|
2560
|
-
var
|
|
2561
|
-
De = ((Pe =
|
|
2562
|
+
var Sn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2563
|
+
De = ((Pe = Sn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
|
|
2562
2564
|
} catch (e) {
|
|
2563
2565
|
De = !1;
|
|
2564
2566
|
}
|
|
2565
|
-
var
|
|
2567
|
+
var lt = yn ? (
|
|
2566
2568
|
// Native
|
|
2567
2569
|
function(t, r, n) {
|
|
2568
2570
|
return t.startsWith(r, n);
|
|
@@ -2572,7 +2574,7 @@ var ut = _n ? (
|
|
|
2572
2574
|
function(t, r, n) {
|
|
2573
2575
|
return t.slice(n, n + r.length) === r;
|
|
2574
2576
|
}
|
|
2575
|
-
), Ge =
|
|
2577
|
+
), Ge = En ? String.fromCodePoint : (
|
|
2576
2578
|
// IE11
|
|
2577
2579
|
function() {
|
|
2578
2580
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2584,9 +2586,9 @@ var ut = _n ? (
|
|
|
2584
2586
|
}
|
|
2585
2587
|
return n;
|
|
2586
2588
|
}
|
|
2587
|
-
),
|
|
2589
|
+
), ft = (
|
|
2588
2590
|
// native
|
|
2589
|
-
|
|
2591
|
+
xn ? Object.fromEntries : (
|
|
2590
2592
|
// Ponyfill
|
|
2591
2593
|
function(t) {
|
|
2592
2594
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2596,7 +2598,7 @@ var ut = _n ? (
|
|
|
2596
2598
|
return r;
|
|
2597
2599
|
}
|
|
2598
2600
|
)
|
|
2599
|
-
),
|
|
2601
|
+
), Wt = vn ? (
|
|
2600
2602
|
// Native
|
|
2601
2603
|
function(t, r) {
|
|
2602
2604
|
return t.codePointAt(r);
|
|
@@ -2610,7 +2612,7 @@ var ut = _n ? (
|
|
|
2610
2612
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2611
2613
|
}
|
|
2612
2614
|
}
|
|
2613
|
-
),
|
|
2615
|
+
), An = Hn ? (
|
|
2614
2616
|
// Native
|
|
2615
2617
|
function(t) {
|
|
2616
2618
|
return t.trimStart();
|
|
@@ -2618,9 +2620,9 @@ var ut = _n ? (
|
|
|
2618
2620
|
) : (
|
|
2619
2621
|
// Ponyfill
|
|
2620
2622
|
function(t) {
|
|
2621
|
-
return t.replace(
|
|
2623
|
+
return t.replace(gn, "");
|
|
2622
2624
|
}
|
|
2623
|
-
),
|
|
2625
|
+
), Cn = Bn ? (
|
|
2624
2626
|
// Native
|
|
2625
2627
|
function(t) {
|
|
2626
2628
|
return t.trimEnd();
|
|
@@ -2628,32 +2630,32 @@ var ut = _n ? (
|
|
|
2628
2630
|
) : (
|
|
2629
2631
|
// Ponyfill
|
|
2630
2632
|
function(t) {
|
|
2631
|
-
return t.replace(
|
|
2633
|
+
return t.replace(_n, "");
|
|
2632
2634
|
}
|
|
2633
2635
|
);
|
|
2634
|
-
function
|
|
2636
|
+
function Zt(e, t) {
|
|
2635
2637
|
return new RegExp(e, t);
|
|
2636
2638
|
}
|
|
2637
2639
|
var Fe;
|
|
2638
2640
|
if (De) {
|
|
2639
|
-
var
|
|
2641
|
+
var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2640
2642
|
Fe = function(t, r) {
|
|
2641
2643
|
var n;
|
|
2642
|
-
|
|
2643
|
-
var i =
|
|
2644
|
+
ct.lastIndex = r;
|
|
2645
|
+
var i = ct.exec(t);
|
|
2644
2646
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2645
2647
|
};
|
|
2646
2648
|
} else
|
|
2647
2649
|
Fe = function(t, r) {
|
|
2648
2650
|
for (var n = []; ; ) {
|
|
2649
|
-
var i =
|
|
2650
|
-
if (i === void 0 ||
|
|
2651
|
+
var i = Wt(t, r);
|
|
2652
|
+
if (i === void 0 || Qt(i) || Nn(i))
|
|
2651
2653
|
break;
|
|
2652
2654
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2653
2655
|
}
|
|
2654
2656
|
return Ge.apply(void 0, n);
|
|
2655
2657
|
};
|
|
2656
|
-
var
|
|
2658
|
+
var On = (
|
|
2657
2659
|
/** @class */
|
|
2658
2660
|
function() {
|
|
2659
2661
|
function e(t, r) {
|
|
@@ -2735,7 +2737,7 @@ var Cn = (
|
|
|
2735
2737
|
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
2736
2738
|
}, e.prototype.parseTagName = function() {
|
|
2737
2739
|
var t = this.offset();
|
|
2738
|
-
for (this.bump(); !this.isEOF() &&
|
|
2740
|
+
for (this.bump(); !this.isEOF() && Ln(this.char()); )
|
|
2739
2741
|
this.bump();
|
|
2740
2742
|
return this.message.slice(t, this.offset());
|
|
2741
2743
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2764,7 +2766,7 @@ var Cn = (
|
|
|
2764
2766
|
};
|
|
2765
2767
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2766
2768
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2767
|
-
!
|
|
2769
|
+
!Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2768
2770
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2769
2771
|
if (this.isEOF() || this.char() !== 39)
|
|
2770
2772
|
return null;
|
|
@@ -2851,7 +2853,7 @@ var Cn = (
|
|
|
2851
2853
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2852
2854
|
if (f.err)
|
|
2853
2855
|
return f;
|
|
2854
|
-
var c =
|
|
2856
|
+
var c = Cn(f.val);
|
|
2855
2857
|
if (c.length === 0)
|
|
2856
2858
|
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2857
2859
|
var p = b(h, this.clonePosition());
|
|
@@ -2861,8 +2863,8 @@ var Cn = (
|
|
|
2861
2863
|
if (m.err)
|
|
2862
2864
|
return m;
|
|
2863
2865
|
var g = b(i, this.clonePosition());
|
|
2864
|
-
if (u &&
|
|
2865
|
-
var v =
|
|
2866
|
+
if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2867
|
+
var v = An(u.style.slice(2));
|
|
2866
2868
|
if (o === "number") {
|
|
2867
2869
|
var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2868
2870
|
return f.err ? f : {
|
|
@@ -2873,12 +2875,12 @@ var Cn = (
|
|
|
2873
2875
|
if (v.length === 0)
|
|
2874
2876
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
|
|
2875
2877
|
var N = v;
|
|
2876
|
-
this.locale && (N =
|
|
2878
|
+
this.locale && (N = dn(v, this.locale));
|
|
2877
2879
|
var c = {
|
|
2878
2880
|
type: V.dateTime,
|
|
2879
2881
|
pattern: N,
|
|
2880
2882
|
location: u.styleLocation,
|
|
2881
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2883
|
+
parsedOptions: this.shouldParseSkeletons ? un(N) : {}
|
|
2882
2884
|
}, C = o === "date" ? E.date : E.time;
|
|
2883
2885
|
return {
|
|
2884
2886
|
val: { type: C, value: n, location: g, style: c },
|
|
@@ -2924,7 +2926,7 @@ var Cn = (
|
|
|
2924
2926
|
val: {
|
|
2925
2927
|
type: E.select,
|
|
2926
2928
|
value: n,
|
|
2927
|
-
options:
|
|
2929
|
+
options: ft(R.val),
|
|
2928
2930
|
location: se
|
|
2929
2931
|
},
|
|
2930
2932
|
err: null
|
|
@@ -2932,7 +2934,7 @@ var Cn = (
|
|
|
2932
2934
|
val: {
|
|
2933
2935
|
type: E.plural,
|
|
2934
2936
|
value: n,
|
|
2935
|
-
options:
|
|
2937
|
+
options: ft(R.val),
|
|
2936
2938
|
offset: w,
|
|
2937
2939
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2938
2940
|
location: se
|
|
@@ -2983,7 +2985,7 @@ var Cn = (
|
|
|
2983
2985
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2984
2986
|
var n = [];
|
|
2985
2987
|
try {
|
|
2986
|
-
n =
|
|
2988
|
+
n = ln(t);
|
|
2987
2989
|
} catch (i) {
|
|
2988
2990
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
2989
2991
|
}
|
|
@@ -2992,7 +2994,7 @@ var Cn = (
|
|
|
2992
2994
|
type: V.number,
|
|
2993
2995
|
tokens: n,
|
|
2994
2996
|
location: r,
|
|
2995
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2997
|
+
parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
|
|
2996
2998
|
},
|
|
2997
2999
|
err: null
|
|
2998
3000
|
};
|
|
@@ -3040,7 +3042,7 @@ var Cn = (
|
|
|
3040
3042
|
break;
|
|
3041
3043
|
}
|
|
3042
3044
|
var l = b(i, this.clonePosition());
|
|
3043
|
-
return s ? (a *= n,
|
|
3045
|
+
return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3044
3046
|
}, e.prototype.offset = function() {
|
|
3045
3047
|
return this.position.offset;
|
|
3046
3048
|
}, e.prototype.isEOF = function() {
|
|
@@ -3055,7 +3057,7 @@ var Cn = (
|
|
|
3055
3057
|
var t = this.position.offset;
|
|
3056
3058
|
if (t >= this.message.length)
|
|
3057
3059
|
throw Error("out of bound");
|
|
3058
|
-
var r =
|
|
3060
|
+
var r = Wt(this.message, t);
|
|
3059
3061
|
if (r === void 0)
|
|
3060
3062
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3061
3063
|
return r;
|
|
@@ -3074,7 +3076,7 @@ var Cn = (
|
|
|
3074
3076
|
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);
|
|
3075
3077
|
}
|
|
3076
3078
|
}, e.prototype.bumpIf = function(t) {
|
|
3077
|
-
if (
|
|
3079
|
+
if (lt(this.message, t, this.offset())) {
|
|
3078
3080
|
for (var r = 0; r < t.length; r++)
|
|
3079
3081
|
this.bump();
|
|
3080
3082
|
return !0;
|
|
@@ -3096,7 +3098,7 @@ var Cn = (
|
|
|
3096
3098
|
break;
|
|
3097
3099
|
}
|
|
3098
3100
|
}, e.prototype.bumpSpace = function() {
|
|
3099
|
-
for (; !this.isEOF() &&
|
|
3101
|
+
for (; !this.isEOF() && Qt(this.char()); )
|
|
3100
3102
|
this.bump();
|
|
3101
3103
|
}, e.prototype.peek = function() {
|
|
3102
3104
|
if (this.isEOF())
|
|
@@ -3109,29 +3111,29 @@ var Cn = (
|
|
|
3109
3111
|
function je(e) {
|
|
3110
3112
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3111
3113
|
}
|
|
3112
|
-
function
|
|
3114
|
+
function Pn(e) {
|
|
3113
3115
|
return je(e) || e === 47;
|
|
3114
3116
|
}
|
|
3115
|
-
function
|
|
3117
|
+
function Ln(e) {
|
|
3116
3118
|
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;
|
|
3117
3119
|
}
|
|
3118
|
-
function
|
|
3120
|
+
function Qt(e) {
|
|
3119
3121
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3120
3122
|
}
|
|
3121
|
-
function
|
|
3123
|
+
function Nn(e) {
|
|
3122
3124
|
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;
|
|
3123
3125
|
}
|
|
3124
3126
|
function ke(e) {
|
|
3125
3127
|
e.forEach(function(t) {
|
|
3126
|
-
if (delete t.location,
|
|
3128
|
+
if (delete t.location, Dt(t) || Gt(t))
|
|
3127
3129
|
for (var r in t.options)
|
|
3128
3130
|
delete t.options[r].location, ke(t.options[r].value);
|
|
3129
|
-
else
|
|
3131
|
+
else $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ue(t.style) ? delete t.style.location : Ft(t) && ke(t.children);
|
|
3130
3132
|
});
|
|
3131
3133
|
}
|
|
3132
|
-
function
|
|
3134
|
+
function In(e, t) {
|
|
3133
3135
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3134
|
-
var r = new
|
|
3136
|
+
var r = new On(e, t).parse();
|
|
3135
3137
|
if (r.err) {
|
|
3136
3138
|
var n = SyntaxError(d[r.err.kind]);
|
|
3137
3139
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3154,7 +3156,7 @@ var ye = (
|
|
|
3154
3156
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3155
3157
|
}, t;
|
|
3156
3158
|
}(Error)
|
|
3157
|
-
),
|
|
3159
|
+
), mt = (
|
|
3158
3160
|
/** @class */
|
|
3159
3161
|
function(e) {
|
|
3160
3162
|
_e(t, e);
|
|
@@ -3163,7 +3165,7 @@ var ye = (
|
|
|
3163
3165
|
}
|
|
3164
3166
|
return t;
|
|
3165
3167
|
}(ye)
|
|
3166
|
-
),
|
|
3168
|
+
), Mn = (
|
|
3167
3169
|
/** @class */
|
|
3168
3170
|
function(e) {
|
|
3169
3171
|
_e(t, e);
|
|
@@ -3172,7 +3174,7 @@ var ye = (
|
|
|
3172
3174
|
}
|
|
3173
3175
|
return t;
|
|
3174
3176
|
}(ye)
|
|
3175
|
-
),
|
|
3177
|
+
), $n = (
|
|
3176
3178
|
/** @class */
|
|
3177
3179
|
function(e) {
|
|
3178
3180
|
_e(t, e);
|
|
@@ -3185,17 +3187,17 @@ var ye = (
|
|
|
3185
3187
|
(function(e) {
|
|
3186
3188
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3187
3189
|
})(x || (x = {}));
|
|
3188
|
-
function
|
|
3190
|
+
function Rn(e) {
|
|
3189
3191
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3190
3192
|
var n = t[t.length - 1];
|
|
3191
3193
|
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3192
3194
|
}, []);
|
|
3193
3195
|
}
|
|
3194
|
-
function
|
|
3196
|
+
function Un(e) {
|
|
3195
3197
|
return typeof e == "function";
|
|
3196
3198
|
}
|
|
3197
3199
|
function fe(e, t, r, n, i, s, a) {
|
|
3198
|
-
if (e.length === 1 &&
|
|
3200
|
+
if (e.length === 1 && ot(e[0]))
|
|
3199
3201
|
return [
|
|
3200
3202
|
{
|
|
3201
3203
|
type: x.literal,
|
|
@@ -3204,14 +3206,14 @@ function fe(e, t, r, n, i, s, a) {
|
|
|
3204
3206
|
];
|
|
3205
3207
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3206
3208
|
var h = u[l];
|
|
3207
|
-
if (
|
|
3209
|
+
if (ot(h)) {
|
|
3208
3210
|
o.push({
|
|
3209
3211
|
type: x.literal,
|
|
3210
3212
|
value: h.value
|
|
3211
3213
|
});
|
|
3212
3214
|
continue;
|
|
3213
3215
|
}
|
|
3214
|
-
if (
|
|
3216
|
+
if (on(h)) {
|
|
3215
3217
|
typeof s == "number" && o.push({
|
|
3216
3218
|
type: x.literal,
|
|
3217
3219
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3220,16 +3222,16 @@ function fe(e, t, r, n, i, s, a) {
|
|
|
3220
3222
|
}
|
|
3221
3223
|
var f = h.value;
|
|
3222
3224
|
if (!(i && f in i))
|
|
3223
|
-
throw new
|
|
3225
|
+
throw new $n(f, a);
|
|
3224
3226
|
var c = i[f];
|
|
3225
|
-
if (
|
|
3227
|
+
if (sn(h)) {
|
|
3226
3228
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3227
3229
|
type: typeof c == "string" ? x.literal : x.object,
|
|
3228
3230
|
value: c
|
|
3229
3231
|
});
|
|
3230
3232
|
continue;
|
|
3231
3233
|
}
|
|
3232
|
-
if (
|
|
3234
|
+
if (Rt(h)) {
|
|
3233
3235
|
var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
|
|
3234
3236
|
o.push({
|
|
3235
3237
|
type: x.literal,
|
|
@@ -3237,7 +3239,7 @@ function fe(e, t, r, n, i, s, a) {
|
|
|
3237
3239
|
});
|
|
3238
3240
|
continue;
|
|
3239
3241
|
}
|
|
3240
|
-
if (
|
|
3242
|
+
if (Ut(h)) {
|
|
3241
3243
|
var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3242
3244
|
o.push({
|
|
3243
3245
|
type: x.literal,
|
|
@@ -3245,18 +3247,18 @@ function fe(e, t, r, n, i, s, a) {
|
|
|
3245
3247
|
});
|
|
3246
3248
|
continue;
|
|
3247
3249
|
}
|
|
3248
|
-
if (
|
|
3249
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3250
|
+
if ($t(h)) {
|
|
3251
|
+
var p = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
|
|
3250
3252
|
p && p.scale && (c = c * (p.scale || 1)), o.push({
|
|
3251
3253
|
type: x.literal,
|
|
3252
3254
|
value: r.getNumberFormat(t, p).format(c)
|
|
3253
3255
|
});
|
|
3254
3256
|
continue;
|
|
3255
3257
|
}
|
|
3256
|
-
if (
|
|
3258
|
+
if (Ft(h)) {
|
|
3257
3259
|
var m = h.children, g = h.value, v = i[g];
|
|
3258
|
-
if (!
|
|
3259
|
-
throw new
|
|
3260
|
+
if (!Un(v))
|
|
3261
|
+
throw new Mn(g, "function", a);
|
|
3260
3262
|
var N = fe(m, t, r, n, i, s), C = v(N.map(function(w) {
|
|
3261
3263
|
return w.value;
|
|
3262
3264
|
}));
|
|
@@ -3267,14 +3269,14 @@ function fe(e, t, r, n, i, s, a) {
|
|
|
3267
3269
|
};
|
|
3268
3270
|
}));
|
|
3269
3271
|
}
|
|
3270
|
-
if (
|
|
3272
|
+
if (Dt(h)) {
|
|
3271
3273
|
var H = h.options[c] || h.options.other;
|
|
3272
3274
|
if (!H)
|
|
3273
|
-
throw new
|
|
3275
|
+
throw new mt(h.value, c, Object.keys(h.options), a);
|
|
3274
3276
|
o.push.apply(o, fe(H.value, t, r, n, i));
|
|
3275
3277
|
continue;
|
|
3276
3278
|
}
|
|
3277
|
-
if (
|
|
3279
|
+
if (Gt(h)) {
|
|
3278
3280
|
var H = h.options["=".concat(c)];
|
|
3279
3281
|
if (!H) {
|
|
3280
3282
|
if (!Intl.PluralRules)
|
|
@@ -3285,21 +3287,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3285
3287
|
H = h.options[I] || h.options.other;
|
|
3286
3288
|
}
|
|
3287
3289
|
if (!H)
|
|
3288
|
-
throw new
|
|
3290
|
+
throw new mt(h.value, c, Object.keys(h.options), a);
|
|
3289
3291
|
o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
|
|
3290
3292
|
continue;
|
|
3291
3293
|
}
|
|
3292
3294
|
}
|
|
3293
|
-
return
|
|
3295
|
+
return Rn(o);
|
|
3294
3296
|
}
|
|
3295
|
-
function
|
|
3297
|
+
function Dn(e, t) {
|
|
3296
3298
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3297
3299
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3298
3300
|
}, {})) : e;
|
|
3299
3301
|
}
|
|
3300
|
-
function
|
|
3302
|
+
function Gn(e, t) {
|
|
3301
3303
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3302
|
-
return r[n] =
|
|
3304
|
+
return r[n] = Dn(e[n], t[n]), r;
|
|
3303
3305
|
}, y({}, e)) : e;
|
|
3304
3306
|
}
|
|
3305
3307
|
function Le(e) {
|
|
@@ -3316,7 +3318,7 @@ function Le(e) {
|
|
|
3316
3318
|
}
|
|
3317
3319
|
};
|
|
3318
3320
|
}
|
|
3319
|
-
function
|
|
3321
|
+
function Fn(e) {
|
|
3320
3322
|
return e === void 0 && (e = {
|
|
3321
3323
|
number: {},
|
|
3322
3324
|
dateTime: {},
|
|
@@ -3348,7 +3350,7 @@ function Gn(e) {
|
|
|
3348
3350
|
})
|
|
3349
3351
|
};
|
|
3350
3352
|
}
|
|
3351
|
-
var
|
|
3353
|
+
var qt = (
|
|
3352
3354
|
/** @class */
|
|
3353
3355
|
function() {
|
|
3354
3356
|
function e(t, r, n, i) {
|
|
@@ -3380,13 +3382,13 @@ var Zt = (
|
|
|
3380
3382
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3381
3383
|
var a = i || {};
|
|
3382
3384
|
a.formatters;
|
|
3383
|
-
var o =
|
|
3385
|
+
var o = Jr(a, ["formatters"]);
|
|
3384
3386
|
this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
|
|
3385
3387
|
} else
|
|
3386
3388
|
this.ast = t;
|
|
3387
3389
|
if (!Array.isArray(this.ast))
|
|
3388
3390
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3389
|
-
this.formats =
|
|
3391
|
+
this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
|
|
3390
3392
|
}
|
|
3391
3393
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3392
3394
|
get: function() {
|
|
@@ -3399,7 +3401,7 @@ var Zt = (
|
|
|
3399
3401
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3400
3402
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3401
3403
|
}
|
|
3402
|
-
}, e.__parse =
|
|
3404
|
+
}, e.__parse = In, e.formats = {
|
|
3403
3405
|
number: {
|
|
3404
3406
|
integer: {
|
|
3405
3407
|
maximumFractionDigits: 0
|
|
@@ -3460,7 +3462,7 @@ var Zt = (
|
|
|
3460
3462
|
}, e;
|
|
3461
3463
|
}()
|
|
3462
3464
|
);
|
|
3463
|
-
function
|
|
3465
|
+
function jn(e, t) {
|
|
3464
3466
|
if (t == null)
|
|
3465
3467
|
return;
|
|
3466
3468
|
if (t in e)
|
|
@@ -3481,60 +3483,60 @@ function Fn(e, t) {
|
|
|
3481
3483
|
n = void 0;
|
|
3482
3484
|
return n;
|
|
3483
3485
|
}
|
|
3484
|
-
const O = {},
|
|
3486
|
+
const O = {}, kn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
|
|
3485
3487
|
if (t == null)
|
|
3486
3488
|
return;
|
|
3487
3489
|
if (t in O && e in O[t])
|
|
3488
3490
|
return O[t][e];
|
|
3489
3491
|
const r = ie(t);
|
|
3490
3492
|
for (let n = 0; n < r.length; n++) {
|
|
3491
|
-
const i = r[n], s =
|
|
3493
|
+
const i = r[n], s = Xn(i, e);
|
|
3492
3494
|
if (s)
|
|
3493
|
-
return
|
|
3495
|
+
return kn(e, t, s);
|
|
3494
3496
|
}
|
|
3495
3497
|
};
|
|
3496
|
-
let
|
|
3498
|
+
let qe;
|
|
3497
3499
|
const ne = ge({});
|
|
3498
|
-
function
|
|
3499
|
-
return
|
|
3500
|
+
function Vn(e) {
|
|
3501
|
+
return qe[e] || null;
|
|
3500
3502
|
}
|
|
3501
|
-
function
|
|
3502
|
-
return e in
|
|
3503
|
+
function Yt(e) {
|
|
3504
|
+
return e in qe;
|
|
3503
3505
|
}
|
|
3504
|
-
function
|
|
3505
|
-
if (!
|
|
3506
|
+
function Xn(e, t) {
|
|
3507
|
+
if (!Yt(e))
|
|
3506
3508
|
return null;
|
|
3507
|
-
const r =
|
|
3508
|
-
return
|
|
3509
|
+
const r = Vn(e);
|
|
3510
|
+
return jn(r, t);
|
|
3509
3511
|
}
|
|
3510
|
-
function
|
|
3512
|
+
function zn(e) {
|
|
3511
3513
|
if (e == null)
|
|
3512
3514
|
return;
|
|
3513
3515
|
const t = ie(e);
|
|
3514
3516
|
for (let r = 0; r < t.length; r++) {
|
|
3515
3517
|
const n = t[r];
|
|
3516
|
-
if (
|
|
3518
|
+
if (Yt(n))
|
|
3517
3519
|
return n;
|
|
3518
3520
|
}
|
|
3519
3521
|
}
|
|
3520
|
-
function
|
|
3521
|
-
delete O[e], ne.update((r) => (r[e] =
|
|
3522
|
+
function Kt(e, ...t) {
|
|
3523
|
+
delete O[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
|
|
3522
3524
|
}
|
|
3523
3525
|
Q(
|
|
3524
3526
|
[ne],
|
|
3525
3527
|
([e]) => Object.keys(e)
|
|
3526
3528
|
);
|
|
3527
|
-
ne.subscribe((e) =>
|
|
3529
|
+
ne.subscribe((e) => qe = e);
|
|
3528
3530
|
const ce = {};
|
|
3529
3531
|
function Wn(e, t) {
|
|
3530
3532
|
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
3531
3533
|
}
|
|
3532
|
-
function
|
|
3534
|
+
function er(e) {
|
|
3533
3535
|
return ce[e];
|
|
3534
3536
|
}
|
|
3535
|
-
function
|
|
3537
|
+
function Zn(e) {
|
|
3536
3538
|
return ie(e).map((t) => {
|
|
3537
|
-
const r =
|
|
3539
|
+
const r = er(t);
|
|
3538
3540
|
return [t, r ? [...r] : []];
|
|
3539
3541
|
}).filter(([, t]) => t.length > 0);
|
|
3540
3542
|
}
|
|
@@ -3542,40 +3544,40 @@ function pe(e) {
|
|
|
3542
3544
|
return e == null ? !1 : ie(e).some(
|
|
3543
3545
|
(t) => {
|
|
3544
3546
|
var r;
|
|
3545
|
-
return (r =
|
|
3547
|
+
return (r = er(t)) == null ? void 0 : r.size;
|
|
3546
3548
|
}
|
|
3547
3549
|
);
|
|
3548
3550
|
}
|
|
3549
|
-
function
|
|
3551
|
+
function Qn(e, t) {
|
|
3550
3552
|
return Promise.all(
|
|
3551
3553
|
t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
|
|
3552
|
-
).then((n) =>
|
|
3554
|
+
).then((n) => Kt(e, ...n));
|
|
3553
3555
|
}
|
|
3554
3556
|
const J = {};
|
|
3555
|
-
function
|
|
3557
|
+
function tr(e) {
|
|
3556
3558
|
if (!pe(e))
|
|
3557
3559
|
return e in J ? J[e] : Promise.resolve();
|
|
3558
|
-
const t =
|
|
3560
|
+
const t = Zn(e);
|
|
3559
3561
|
return J[e] = Promise.all(
|
|
3560
3562
|
t.map(
|
|
3561
|
-
([r, n]) =>
|
|
3563
|
+
([r, n]) => Qn(r, n)
|
|
3562
3564
|
)
|
|
3563
3565
|
).then(() => {
|
|
3564
3566
|
if (pe(e))
|
|
3565
|
-
return
|
|
3567
|
+
return tr(e);
|
|
3566
3568
|
delete J[e];
|
|
3567
3569
|
}), J[e];
|
|
3568
3570
|
}
|
|
3569
|
-
var
|
|
3571
|
+
var pt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
|
|
3570
3572
|
var r = {};
|
|
3571
3573
|
for (var n in e)
|
|
3572
|
-
|
|
3573
|
-
if (e != null &&
|
|
3574
|
-
for (var n of
|
|
3575
|
-
t.indexOf(n) < 0 &&
|
|
3574
|
+
qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3575
|
+
if (e != null && pt)
|
|
3576
|
+
for (var n of pt(e))
|
|
3577
|
+
t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
|
|
3576
3578
|
return r;
|
|
3577
3579
|
};
|
|
3578
|
-
const
|
|
3580
|
+
const Kn = {
|
|
3579
3581
|
number: {
|
|
3580
3582
|
scientific: { notation: "scientific" },
|
|
3581
3583
|
engineering: { notation: "engineering" },
|
|
@@ -3605,7 +3607,7 @@ const Yn = {
|
|
|
3605
3607
|
}
|
|
3606
3608
|
}
|
|
3607
3609
|
};
|
|
3608
|
-
function
|
|
3610
|
+
function ei({ locale: e, id: t }) {
|
|
3609
3611
|
console.warn(
|
|
3610
3612
|
`[svelte-i18n] The message "${t}" was not found in "${ie(
|
|
3611
3613
|
e
|
|
@@ -3614,49 +3616,49 @@ function Kn({ locale: e, id: t }) {
|
|
|
3614
3616
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3615
3617
|
);
|
|
3616
3618
|
}
|
|
3617
|
-
const
|
|
3619
|
+
const ti = {
|
|
3618
3620
|
fallbackLocale: null,
|
|
3619
3621
|
loadingDelay: 200,
|
|
3620
|
-
formats:
|
|
3622
|
+
formats: Kn,
|
|
3621
3623
|
warnOnMissingMessages: !0,
|
|
3622
3624
|
handleMissingMessage: void 0,
|
|
3623
3625
|
ignoreTag: !0
|
|
3624
|
-
}, Y =
|
|
3625
|
-
function
|
|
3626
|
+
}, Y = ti;
|
|
3627
|
+
function z() {
|
|
3626
3628
|
return Y;
|
|
3627
3629
|
}
|
|
3628
|
-
function
|
|
3629
|
-
const t = e, { formats: r } = t, n =
|
|
3630
|
+
function ri(e) {
|
|
3631
|
+
const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
|
|
3630
3632
|
let i = e.fallbackLocale;
|
|
3631
3633
|
if (e.initialLocale)
|
|
3632
3634
|
try {
|
|
3633
|
-
|
|
3635
|
+
qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3634
3636
|
} catch (s) {
|
|
3635
3637
|
console.warn(
|
|
3636
3638
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3637
3639
|
);
|
|
3638
3640
|
}
|
|
3639
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3641
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
|
|
3640
3642
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3641
3643
|
)), 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);
|
|
3642
3644
|
}
|
|
3643
3645
|
const Ne = ge(!1);
|
|
3644
|
-
var
|
|
3646
|
+
var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
|
|
3645
3647
|
for (var r in t || (t = {}))
|
|
3646
|
-
|
|
3647
|
-
if (
|
|
3648
|
-
for (var r of
|
|
3649
|
-
|
|
3648
|
+
oi.call(t, r) && bt(e, r, t[r]);
|
|
3649
|
+
if (dt)
|
|
3650
|
+
for (var r of dt(t))
|
|
3651
|
+
ai.call(t, r) && bt(e, r, t[r]);
|
|
3650
3652
|
return e;
|
|
3651
|
-
},
|
|
3653
|
+
}, hi = (e, t) => ii(e, si(t));
|
|
3652
3654
|
let Ve;
|
|
3653
3655
|
const de = ge(null);
|
|
3654
|
-
function
|
|
3656
|
+
function gt(e) {
|
|
3655
3657
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3656
3658
|
}
|
|
3657
|
-
function ie(e, t =
|
|
3658
|
-
const r =
|
|
3659
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3659
|
+
function ie(e, t = z().fallbackLocale) {
|
|
3660
|
+
const r = gt(e);
|
|
3661
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
3660
3662
|
}
|
|
3661
3663
|
function L() {
|
|
3662
3664
|
return Ve != null ? Ve : void 0;
|
|
@@ -3664,22 +3666,22 @@ function L() {
|
|
|
3664
3666
|
de.subscribe((e) => {
|
|
3665
3667
|
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3666
3668
|
});
|
|
3667
|
-
const
|
|
3668
|
-
if (e &&
|
|
3669
|
-
const { loadingDelay: t } =
|
|
3669
|
+
const li = (e) => {
|
|
3670
|
+
if (e && zn(e) && pe(e)) {
|
|
3671
|
+
const { loadingDelay: t } = z();
|
|
3670
3672
|
let r;
|
|
3671
3673
|
return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
|
|
3672
3674
|
() => Ne.set(!0),
|
|
3673
3675
|
t
|
|
3674
|
-
) : Ne.set(!0),
|
|
3676
|
+
) : Ne.set(!0), tr(e).then(() => {
|
|
3675
3677
|
de.set(e);
|
|
3676
3678
|
}).finally(() => {
|
|
3677
3679
|
clearTimeout(r), Ne.set(!1);
|
|
3678
3680
|
});
|
|
3679
3681
|
}
|
|
3680
3682
|
return de.set(e);
|
|
3681
|
-
}, $ = ui(
|
|
3682
|
-
set:
|
|
3683
|
+
}, $ = hi(ui({}, de), {
|
|
3684
|
+
set: li
|
|
3683
3685
|
}), Ee = (e) => {
|
|
3684
3686
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3685
3687
|
return (n) => {
|
|
@@ -3687,42 +3689,42 @@ const hi = (e) => {
|
|
|
3687
3689
|
return i in t ? t[i] : t[i] = e(n);
|
|
3688
3690
|
};
|
|
3689
3691
|
};
|
|
3690
|
-
var
|
|
3692
|
+
var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
3691
3693
|
for (var r in t || (t = {}))
|
|
3692
|
-
|
|
3694
|
+
rr.call(t, r) && _t(e, r, t[r]);
|
|
3693
3695
|
if (be)
|
|
3694
3696
|
for (var r of be(t))
|
|
3695
|
-
|
|
3697
|
+
nr.call(t, r) && _t(e, r, t[r]);
|
|
3696
3698
|
return e;
|
|
3697
3699
|
}, q = (e, t) => {
|
|
3698
3700
|
var r = {};
|
|
3699
3701
|
for (var n in e)
|
|
3700
|
-
|
|
3702
|
+
rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3701
3703
|
if (e != null && be)
|
|
3702
3704
|
for (var n of be(e))
|
|
3703
|
-
t.indexOf(n) < 0 &&
|
|
3705
|
+
t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
|
|
3704
3706
|
return r;
|
|
3705
3707
|
};
|
|
3706
3708
|
const te = (e, t) => {
|
|
3707
|
-
const { formats: r } =
|
|
3709
|
+
const { formats: r } = z();
|
|
3708
3710
|
if (e in r && t in r[e])
|
|
3709
3711
|
return r[e][t];
|
|
3710
3712
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3711
|
-
},
|
|
3713
|
+
}, ci = Ee(
|
|
3712
3714
|
(e) => {
|
|
3713
3715
|
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3714
3716
|
if (r == null)
|
|
3715
3717
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3716
3718
|
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3717
3719
|
}
|
|
3718
|
-
),
|
|
3720
|
+
), mi = Ee(
|
|
3719
3721
|
(e) => {
|
|
3720
3722
|
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3721
3723
|
if (r == null)
|
|
3722
3724
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3723
3725
|
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3724
3726
|
}
|
|
3725
|
-
),
|
|
3727
|
+
), pi = Ee(
|
|
3726
3728
|
(e) => {
|
|
3727
3729
|
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3728
3730
|
if (r == null)
|
|
@@ -3731,33 +3733,33 @@ const te = (e, t) => {
|
|
|
3731
3733
|
);
|
|
3732
3734
|
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3733
3735
|
}
|
|
3734
|
-
),
|
|
3736
|
+
), di = (e = {}) => {
|
|
3735
3737
|
var t = e, {
|
|
3736
3738
|
locale: r = L()
|
|
3737
3739
|
} = t, n = q(t, [
|
|
3738
3740
|
"locale"
|
|
3739
3741
|
]);
|
|
3740
|
-
return
|
|
3741
|
-
},
|
|
3742
|
+
return ci(Je({ locale: r }, n));
|
|
3743
|
+
}, bi = (e = {}) => {
|
|
3742
3744
|
var t = e, {
|
|
3743
3745
|
locale: r = L()
|
|
3744
3746
|
} = t, n = q(t, [
|
|
3745
3747
|
"locale"
|
|
3746
3748
|
]);
|
|
3747
|
-
return
|
|
3748
|
-
},
|
|
3749
|
+
return mi(Je({ locale: r }, n));
|
|
3750
|
+
}, gi = (e = {}) => {
|
|
3749
3751
|
var t = e, {
|
|
3750
3752
|
locale: r = L()
|
|
3751
3753
|
} = t, n = q(t, [
|
|
3752
3754
|
"locale"
|
|
3753
3755
|
]);
|
|
3754
|
-
return
|
|
3755
|
-
},
|
|
3756
|
+
return pi(Je({ locale: r }, n));
|
|
3757
|
+
}, _i = Ee(
|
|
3756
3758
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3757
|
-
(e, t = L()) => new
|
|
3758
|
-
ignoreTag:
|
|
3759
|
+
(e, t = L()) => new qt(e, t, z().formats, {
|
|
3760
|
+
ignoreTag: z().ignoreTag
|
|
3759
3761
|
})
|
|
3760
|
-
),
|
|
3762
|
+
), yi = (e, t = {}) => {
|
|
3761
3763
|
var r, n, i, s;
|
|
3762
3764
|
let a = t;
|
|
3763
3765
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3770,9 +3772,9 @@ const te = (e, t) => {
|
|
|
3770
3772
|
throw new Error(
|
|
3771
3773
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3772
3774
|
);
|
|
3773
|
-
let h =
|
|
3775
|
+
let h = Jt(e, l);
|
|
3774
3776
|
if (!h)
|
|
3775
|
-
h = (s = (i = (n = (r =
|
|
3777
|
+
h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3776
3778
|
else if (typeof h != "string")
|
|
3777
3779
|
return console.warn(
|
|
3778
3780
|
`[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.`
|
|
@@ -3781,7 +3783,7 @@ const te = (e, t) => {
|
|
|
3781
3783
|
return h;
|
|
3782
3784
|
let f = h;
|
|
3783
3785
|
try {
|
|
3784
|
-
f =
|
|
3786
|
+
f = _i(h, l).format(o);
|
|
3785
3787
|
} catch (c) {
|
|
3786
3788
|
c instanceof Error && console.warn(
|
|
3787
3789
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3789,20 +3791,20 @@ const te = (e, t) => {
|
|
|
3789
3791
|
);
|
|
3790
3792
|
}
|
|
3791
3793
|
return f;
|
|
3792
|
-
},
|
|
3793
|
-
Q([$], () => yi);
|
|
3794
|
+
}, Ei = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), vi = (e, t) => di(t).format(e), Hi = (e, t = L()) => Jt(e, t), Bi = Q([$, ne], () => yi);
|
|
3794
3795
|
Q([$], () => Ei);
|
|
3795
3796
|
Q([$], () => xi);
|
|
3796
|
-
Q([
|
|
3797
|
-
|
|
3798
|
-
|
|
3797
|
+
Q([$], () => vi);
|
|
3798
|
+
Q([$, ne], () => Hi);
|
|
3799
|
+
function yt(e, t) {
|
|
3800
|
+
Kt(e, t);
|
|
3799
3801
|
}
|
|
3800
|
-
function
|
|
3801
|
-
|
|
3802
|
+
function Ti(e) {
|
|
3803
|
+
ri({
|
|
3802
3804
|
fallbackLocale: "en"
|
|
3803
3805
|
}), $.set(e);
|
|
3804
3806
|
}
|
|
3805
|
-
const
|
|
3807
|
+
const Et = {
|
|
3806
3808
|
en: {
|
|
3807
3809
|
header: {
|
|
3808
3810
|
general: "Cashier",
|
|
@@ -3825,18 +3827,18 @@ const _t = {
|
|
|
3825
3827
|
}
|
|
3826
3828
|
}
|
|
3827
3829
|
};
|
|
3828
|
-
function
|
|
3829
|
-
|
|
3830
|
+
function wi(e) {
|
|
3831
|
+
br(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}");
|
|
3830
3832
|
}
|
|
3831
|
-
const
|
|
3832
|
-
function
|
|
3833
|
+
const Si = (e) => ({}), xt = (e) => ({}), Ai = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({});
|
|
3834
|
+
function Bt(e) {
|
|
3833
3835
|
let t, r, n;
|
|
3834
3836
|
return {
|
|
3835
3837
|
c() {
|
|
3836
|
-
t =
|
|
3838
|
+
t = W("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");
|
|
3837
3839
|
},
|
|
3838
3840
|
m(i, s) {
|
|
3839
|
-
M(i, t, s), r || (n =
|
|
3841
|
+
M(i, t, s), r || (n = Pt(
|
|
3840
3842
|
t,
|
|
3841
3843
|
"click",
|
|
3842
3844
|
/*back*/
|
|
@@ -3849,28 +3851,28 @@ function vt(e) {
|
|
|
3849
3851
|
}
|
|
3850
3852
|
};
|
|
3851
3853
|
}
|
|
3852
|
-
function
|
|
3854
|
+
function Oi(e) {
|
|
3853
3855
|
let t, r = (
|
|
3854
3856
|
/*backButton*/
|
|
3855
|
-
e[1] &&
|
|
3857
|
+
e[1] && Bt(e)
|
|
3856
3858
|
);
|
|
3857
3859
|
return {
|
|
3858
3860
|
c() {
|
|
3859
|
-
r && r.c(), t =
|
|
3861
|
+
r && r.c(), t = Ot();
|
|
3860
3862
|
},
|
|
3861
3863
|
m(n, i) {
|
|
3862
3864
|
r && r.m(n, i), M(n, t, i);
|
|
3863
3865
|
},
|
|
3864
3866
|
p(n, i) {
|
|
3865
3867
|
/*backButton*/
|
|
3866
|
-
n[1] ? r ? r.p(n, i) : (r =
|
|
3868
|
+
n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3867
3869
|
},
|
|
3868
3870
|
d(n) {
|
|
3869
3871
|
n && P(t), r && r.d(n);
|
|
3870
3872
|
}
|
|
3871
3873
|
};
|
|
3872
3874
|
}
|
|
3873
|
-
function
|
|
3875
|
+
function Pi(e) {
|
|
3874
3876
|
let t, r = (
|
|
3875
3877
|
/*$_*/
|
|
3876
3878
|
e[4](
|
|
@@ -3880,7 +3882,7 @@ function Oi(e) {
|
|
|
3880
3882
|
), n;
|
|
3881
3883
|
return {
|
|
3882
3884
|
c() {
|
|
3883
|
-
t =
|
|
3885
|
+
t = W("span"), n = ze(r), Z(t, "class", "CashierHeaderTitle");
|
|
3884
3886
|
},
|
|
3885
3887
|
m(i, s) {
|
|
3886
3888
|
M(i, t, s), me(t, n);
|
|
@@ -3891,21 +3893,21 @@ function Oi(e) {
|
|
|
3891
3893
|
i[4](
|
|
3892
3894
|
/*titleText*/
|
|
3893
3895
|
i[2]
|
|
3894
|
-
) + "") &&
|
|
3896
|
+
) + "") && Er(n, r);
|
|
3895
3897
|
},
|
|
3896
3898
|
d(i) {
|
|
3897
3899
|
i && P(t);
|
|
3898
3900
|
}
|
|
3899
3901
|
};
|
|
3900
3902
|
}
|
|
3901
|
-
function
|
|
3903
|
+
function Tt(e) {
|
|
3902
3904
|
let t, r, n;
|
|
3903
3905
|
return {
|
|
3904
3906
|
c() {
|
|
3905
|
-
t =
|
|
3907
|
+
t = W("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");
|
|
3906
3908
|
},
|
|
3907
3909
|
m(i, s) {
|
|
3908
|
-
M(i, t, s), r || (n =
|
|
3910
|
+
M(i, t, s), r || (n = Pt(
|
|
3909
3911
|
t,
|
|
3910
3912
|
"click",
|
|
3911
3913
|
/*close*/
|
|
@@ -3918,28 +3920,28 @@ function Ht(e) {
|
|
|
3918
3920
|
}
|
|
3919
3921
|
};
|
|
3920
3922
|
}
|
|
3921
|
-
function
|
|
3923
|
+
function Li(e) {
|
|
3922
3924
|
let t, r = (
|
|
3923
3925
|
/*closeButton*/
|
|
3924
|
-
e[3] &&
|
|
3926
|
+
e[3] && Tt(e)
|
|
3925
3927
|
);
|
|
3926
3928
|
return {
|
|
3927
3929
|
c() {
|
|
3928
|
-
r && r.c(), t =
|
|
3930
|
+
r && r.c(), t = Ot();
|
|
3929
3931
|
},
|
|
3930
3932
|
m(n, i) {
|
|
3931
3933
|
r && r.m(n, i), M(n, t, i);
|
|
3932
3934
|
},
|
|
3933
3935
|
p(n, i) {
|
|
3934
3936
|
/*closeButton*/
|
|
3935
|
-
n[3] ? r ? r.p(n, i) : (r =
|
|
3937
|
+
n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3936
3938
|
},
|
|
3937
3939
|
d(n) {
|
|
3938
3940
|
n && P(t), r && r.d(n);
|
|
3939
3941
|
}
|
|
3940
3942
|
};
|
|
3941
3943
|
}
|
|
3942
|
-
function
|
|
3944
|
+
function Ni(e) {
|
|
3943
3945
|
let t, r, n, i;
|
|
3944
3946
|
const s = (
|
|
3945
3947
|
/*#slots*/
|
|
@@ -3949,8 +3951,8 @@ function Li(e) {
|
|
|
3949
3951
|
e,
|
|
3950
3952
|
/*$$scope*/
|
|
3951
3953
|
e[14],
|
|
3952
|
-
|
|
3953
|
-
), o = a ||
|
|
3954
|
+
Ht
|
|
3955
|
+
), o = a || Oi(e), l = (
|
|
3954
3956
|
/*#slots*/
|
|
3955
3957
|
e[15].title
|
|
3956
3958
|
), u = ve(
|
|
@@ -3958,8 +3960,8 @@ function Li(e) {
|
|
|
3958
3960
|
e,
|
|
3959
3961
|
/*$$scope*/
|
|
3960
3962
|
e[14],
|
|
3961
|
-
|
|
3962
|
-
), h = u ||
|
|
3963
|
+
vt
|
|
3964
|
+
), h = u || Pi(e), f = (
|
|
3963
3965
|
/*#slots*/
|
|
3964
3966
|
e[15].rightButton
|
|
3965
3967
|
), c = ve(
|
|
@@ -3967,11 +3969,11 @@ function Li(e) {
|
|
|
3967
3969
|
e,
|
|
3968
3970
|
/*$$scope*/
|
|
3969
3971
|
e[14],
|
|
3970
|
-
|
|
3971
|
-
), p = c ||
|
|
3972
|
+
xt
|
|
3973
|
+
), p = c || Li(e);
|
|
3972
3974
|
return {
|
|
3973
3975
|
c() {
|
|
3974
|
-
t =
|
|
3976
|
+
t = W("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Z(t, "class", "CashierHeader");
|
|
3975
3977
|
},
|
|
3976
3978
|
m(m, g) {
|
|
3977
3979
|
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;
|
|
@@ -3989,12 +3991,12 @@ function Li(e) {
|
|
|
3989
3991
|
/*$$scope*/
|
|
3990
3992
|
m[14],
|
|
3991
3993
|
g,
|
|
3992
|
-
|
|
3994
|
+
Ci
|
|
3993
3995
|
) : Te(
|
|
3994
3996
|
/*$$scope*/
|
|
3995
3997
|
m[14]
|
|
3996
3998
|
),
|
|
3997
|
-
|
|
3999
|
+
Ht
|
|
3998
4000
|
) : o && o.p && (!i || g & /*backButton*/
|
|
3999
4001
|
2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
|
|
4000
4002
|
16384) && Be(
|
|
@@ -4008,12 +4010,12 @@ function Li(e) {
|
|
|
4008
4010
|
/*$$scope*/
|
|
4009
4011
|
m[14],
|
|
4010
4012
|
g,
|
|
4011
|
-
|
|
4013
|
+
Ai
|
|
4012
4014
|
) : Te(
|
|
4013
4015
|
/*$$scope*/
|
|
4014
4016
|
m[14]
|
|
4015
4017
|
),
|
|
4016
|
-
|
|
4018
|
+
vt
|
|
4017
4019
|
) : h && h.p && (!i || g & /*$_, titleText*/
|
|
4018
4020
|
20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
|
|
4019
4021
|
16384) && Be(
|
|
@@ -4027,12 +4029,12 @@ function Li(e) {
|
|
|
4027
4029
|
/*$$scope*/
|
|
4028
4030
|
m[14],
|
|
4029
4031
|
g,
|
|
4030
|
-
|
|
4032
|
+
Si
|
|
4031
4033
|
) : Te(
|
|
4032
4034
|
/*$$scope*/
|
|
4033
4035
|
m[14]
|
|
4034
4036
|
),
|
|
4035
|
-
|
|
4037
|
+
xt
|
|
4036
4038
|
) : p && p.p && (!i || g & /*closeButton*/
|
|
4037
4039
|
8) && p.p(m, i ? g : -1);
|
|
4038
4040
|
},
|
|
@@ -4047,22 +4049,22 @@ function Li(e) {
|
|
|
4047
4049
|
}
|
|
4048
4050
|
};
|
|
4049
4051
|
}
|
|
4050
|
-
function
|
|
4052
|
+
function Ii(e, t, r) {
|
|
4051
4053
|
let n;
|
|
4052
|
-
|
|
4054
|
+
dr(e, Bi, (_) => r(4, n = _));
|
|
4053
4055
|
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
|
|
4054
4056
|
const N = () => {
|
|
4055
4057
|
let _ = l;
|
|
4056
4058
|
_ && fetch(_).then((S) => S.json()).then((S) => {
|
|
4057
4059
|
Object.keys(S).forEach((U) => {
|
|
4058
|
-
|
|
4060
|
+
yt(U, S[U]);
|
|
4059
4061
|
});
|
|
4060
4062
|
}).catch((S) => {
|
|
4061
4063
|
console.log(S);
|
|
4062
4064
|
});
|
|
4063
4065
|
};
|
|
4064
|
-
Object.keys(
|
|
4065
|
-
|
|
4066
|
+
Object.keys(Et).forEach((_) => {
|
|
4067
|
+
yt(_, Et[_]);
|
|
4066
4068
|
});
|
|
4067
4069
|
const C = () => {
|
|
4068
4070
|
let _ = document.createElement("style");
|
|
@@ -4078,19 +4080,19 @@ function Ni(e, t, r) {
|
|
|
4078
4080
|
);
|
|
4079
4081
|
});
|
|
4080
4082
|
}, I = () => {
|
|
4081
|
-
|
|
4083
|
+
Ti(f);
|
|
4082
4084
|
}, w = () => {
|
|
4083
4085
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
4084
4086
|
}, R = () => {
|
|
4085
4087
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
4086
4088
|
}, se = () => {
|
|
4087
4089
|
r(1, m = !!u && u !== "false");
|
|
4088
|
-
},
|
|
4090
|
+
}, sr = () => {
|
|
4089
4091
|
r(3, v = !!c && c !== "false");
|
|
4090
|
-
},
|
|
4092
|
+
}, or = () => {
|
|
4091
4093
|
r(2, g = h || "header.general");
|
|
4092
4094
|
};
|
|
4093
|
-
function
|
|
4095
|
+
function ar(_) {
|
|
4094
4096
|
Ie[_ ? "unshift" : "push"](() => {
|
|
4095
4097
|
p = _, r(0, p);
|
|
4096
4098
|
});
|
|
@@ -4100,12 +4102,12 @@ function Ni(e, t, r) {
|
|
|
4100
4102
|
}, e.$$.update = () => {
|
|
4101
4103
|
e.$$.dirty & /*lang*/
|
|
4102
4104
|
4096 && f && I(), e.$$.dirty & /*lang, title*/
|
|
4103
|
-
6144 && f && h &&
|
|
4105
|
+
6144 && f && h && or(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4104
4106
|
129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4105
4107
|
257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
|
|
4106
4108
|
4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
|
|
4107
4109
|
1024 && u && se(), e.$$.dirty & /*showclosebutton*/
|
|
4108
|
-
8192 && c &&
|
|
4110
|
+
8192 && c && sr();
|
|
4109
4111
|
}, [
|
|
4110
4112
|
p,
|
|
4111
4113
|
m,
|
|
@@ -4123,17 +4125,17 @@ function Ni(e, t, r) {
|
|
|
4123
4125
|
c,
|
|
4124
4126
|
s,
|
|
4125
4127
|
i,
|
|
4126
|
-
|
|
4128
|
+
ar
|
|
4127
4129
|
];
|
|
4128
4130
|
}
|
|
4129
|
-
class
|
|
4131
|
+
class ir extends Lr {
|
|
4130
4132
|
constructor(t) {
|
|
4131
|
-
super(),
|
|
4133
|
+
super(), Or(
|
|
4132
4134
|
this,
|
|
4133
4135
|
t,
|
|
4136
|
+
Ii,
|
|
4134
4137
|
Ni,
|
|
4135
|
-
|
|
4136
|
-
Tt,
|
|
4138
|
+
St,
|
|
4137
4139
|
{
|
|
4138
4140
|
clientstyling: 7,
|
|
4139
4141
|
clientstylingurl: 8,
|
|
@@ -4143,7 +4145,7 @@ class rr extends Or {
|
|
|
4143
4145
|
lang: 12,
|
|
4144
4146
|
showclosebutton: 13
|
|
4145
4147
|
},
|
|
4146
|
-
|
|
4148
|
+
wi
|
|
4147
4149
|
);
|
|
4148
4150
|
}
|
|
4149
4151
|
get clientstyling() {
|
|
@@ -4189,31 +4191,31 @@ class rr extends Or {
|
|
|
4189
4191
|
this.$$set({ showclosebutton: t }), A();
|
|
4190
4192
|
}
|
|
4191
4193
|
}
|
|
4192
|
-
|
|
4193
|
-
const
|
|
4194
|
+
Pr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
4195
|
+
const Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4194
4196
|
__proto__: null,
|
|
4195
|
-
default:
|
|
4197
|
+
default: ir
|
|
4196
4198
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4197
4199
|
export {
|
|
4198
4200
|
$,
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4201
|
+
Ui as C,
|
|
4202
|
+
Lr as S,
|
|
4203
|
+
Kt as a,
|
|
4204
|
+
Or as b,
|
|
4205
|
+
Pr as c,
|
|
4206
|
+
br as d,
|
|
4207
|
+
W as e,
|
|
4206
4208
|
A as f,
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4209
|
+
nt as g,
|
|
4210
|
+
Ri as h,
|
|
4211
|
+
ri as i,
|
|
4212
|
+
$i as j,
|
|
4213
|
+
Z as k,
|
|
4214
|
+
M as l,
|
|
4215
|
+
me as m,
|
|
4216
|
+
Pt as n,
|
|
4217
|
+
T as o,
|
|
4218
|
+
P as p,
|
|
4217
4219
|
Ie as q,
|
|
4218
|
-
|
|
4220
|
+
St as s
|
|
4219
4221
|
};
|