@everymatrix/cashier-verifications 1.94.36 → 1.94.38
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/{CashierModal-C5dVGJXf.cjs → CashierModal-CjfLBs2I.cjs} +1 -1
- package/components/{CashierModal-B_P5HWPx.js → CashierModal-DnVZoLRO.js} +1 -1
- package/components/{CashierModal-Dx3e_aVO.js → CashierModal-K5PT60sd.js} +1 -1
- package/components/{CashierVerifications-BFo4vvGH.js → CashierVerifications-C7lUUkHS.js} +921 -864
- package/components/{CashierVerifications-DCpcAU2N.cjs → CashierVerifications-CUg-cZSP.cjs} +5 -5
- package/components/{CashierVerifications-DI7ZxLVE.js → CashierVerifications-D9IVinhS.js} +895 -838
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var Si = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var Si = Object.defineProperty, Oi = Object.defineProperties;
|
|
2
|
+
var Ti = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ft = Object.getOwnPropertySymbols;
|
|
4
|
-
var Pi = Object.prototype.hasOwnProperty,
|
|
4
|
+
var Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
Pi.call(t, r) && ht(e, r, t[r]);
|
|
8
8
|
if (Ft)
|
|
9
9
|
for (var r of Ft(t))
|
|
10
|
-
|
|
10
|
+
Ai.call(t, r) && ht(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, jt = (e, t) =>
|
|
12
|
+
}, jt = (e, t) => Oi(e, Ti(t));
|
|
13
13
|
var K = (e, t, r) => (ht(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var zt = (e, t, r) => new Promise((i, n) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(u));
|
|
18
|
-
} catch (
|
|
19
|
-
n(
|
|
18
|
+
} catch (f) {
|
|
19
|
+
n(f);
|
|
20
20
|
}
|
|
21
21
|
}, s = (u) => {
|
|
22
22
|
try {
|
|
23
23
|
a(r.throw(u));
|
|
24
|
-
} catch (
|
|
25
|
-
n(
|
|
24
|
+
} catch (f) {
|
|
25
|
+
n(f);
|
|
26
26
|
}
|
|
27
27
|
}, a = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function te() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Bi(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,22 +37,22 @@ function Ai(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Or(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
43
|
function Wt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function ke(e) {
|
|
47
|
+
e.forEach(Or);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function It(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Tr(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Hi(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
58
|
function Pr(e, ...t) {
|
|
@@ -69,14 +69,14 @@ function Xt(e, t, r) {
|
|
|
69
69
|
}
|
|
70
70
|
function xs(e, t, r, i) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = Ar(e, t, r, i);
|
|
73
73
|
return e[0](n);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && i ?
|
|
76
|
+
function Ar(e, t, r, i) {
|
|
77
|
+
return e[1] && i ? Bi(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function ws(e, t, r, i) {
|
|
80
80
|
if (e[2] && i) {
|
|
81
81
|
const n = e[2](i(r));
|
|
82
82
|
if (t.dirty === void 0)
|
|
@@ -91,9 +91,9 @@ function Es(e, t, r, i) {
|
|
|
91
91
|
}
|
|
92
92
|
return t.dirty;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Es(e, t, r, i, n, o) {
|
|
95
95
|
if (n) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Ar(t, r, i, o);
|
|
97
97
|
e.p(s, n);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -109,14 +109,14 @@ function Ss(e) {
|
|
|
109
109
|
function W(e, t) {
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
const i =
|
|
112
|
+
function ki(e, t, r) {
|
|
113
|
+
const i = Mi(e);
|
|
114
114
|
if (!i.getElementById(t)) {
|
|
115
115
|
const n = Y("style");
|
|
116
|
-
n.id = t, n.textContent = r,
|
|
116
|
+
n.id = t, n.textContent = r, Ci(i, n);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Mi(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,7 +126,7 @@ function Ci(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Ci(e, t) {
|
|
130
130
|
return W(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
@@ -139,7 +139,7 @@ function ae(e, t, r) {
|
|
|
139
139
|
function re(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function $i(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
@@ -149,26 +149,26 @@ function Y(e) {
|
|
|
149
149
|
function We(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Nt(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function Oe() {
|
|
156
|
+
return Nt(" ");
|
|
157
157
|
}
|
|
158
158
|
function rt(e, t, r, i) {
|
|
159
159
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function B(e, t, r) {
|
|
162
162
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
163
163
|
}
|
|
164
164
|
function Xe(e, t, r) {
|
|
165
165
|
const i = t.toLowerCase();
|
|
166
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
166
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function Di(e) {
|
|
169
169
|
return Array.from(e.childNodes);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Br(e, t) {
|
|
172
172
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
173
173
|
t);
|
|
174
174
|
}
|
|
@@ -176,7 +176,7 @@ function qt(e, t, r, i) {
|
|
|
176
176
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
177
177
|
}
|
|
178
178
|
let qe;
|
|
179
|
-
function
|
|
179
|
+
function Li() {
|
|
180
180
|
if (qe === void 0) {
|
|
181
181
|
qe = !1;
|
|
182
182
|
try {
|
|
@@ -187,14 +187,14 @@ function Di() {
|
|
|
187
187
|
}
|
|
188
188
|
return qe;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ii(e, t) {
|
|
191
191
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
192
192
|
const i = Y("iframe");
|
|
193
193
|
i.setAttribute(
|
|
194
194
|
"style",
|
|
195
195
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
196
196
|
), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
|
|
197
|
-
const n =
|
|
197
|
+
const n = Li();
|
|
198
198
|
let o;
|
|
199
199
|
return n ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = rt(
|
|
200
200
|
window,
|
|
@@ -212,7 +212,7 @@ function Ni(e, t) {
|
|
|
212
212
|
function de(e, t, r) {
|
|
213
213
|
e.classList.toggle(t, !!r);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Ni(e) {
|
|
216
216
|
const t = {};
|
|
217
217
|
return e.childNodes.forEach(
|
|
218
218
|
/** @param {Element} node */
|
|
@@ -221,72 +221,72 @@ function Ri(e) {
|
|
|
221
221
|
}
|
|
222
222
|
), t;
|
|
223
223
|
}
|
|
224
|
-
let
|
|
225
|
-
function
|
|
226
|
-
|
|
224
|
+
let Ie;
|
|
225
|
+
function Le(e) {
|
|
226
|
+
Ie = e;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
if (!
|
|
228
|
+
function Ri() {
|
|
229
|
+
if (!Ie)
|
|
230
230
|
throw new Error("Function called outside component initialization");
|
|
231
|
-
return
|
|
231
|
+
return Ie;
|
|
232
232
|
}
|
|
233
233
|
function Ui(e) {
|
|
234
|
-
|
|
234
|
+
Ri().$$.on_mount.push(e);
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
let
|
|
238
|
-
const Yt = [],
|
|
239
|
-
let
|
|
240
|
-
function
|
|
241
|
-
|
|
236
|
+
const Ee = [], xt = [];
|
|
237
|
+
let Te = [];
|
|
238
|
+
const Yt = [], Hr = /* @__PURE__ */ Promise.resolve();
|
|
239
|
+
let wt = !1;
|
|
240
|
+
function kr() {
|
|
241
|
+
wt || (wt = !0, Hr.then(ee));
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
return
|
|
243
|
+
function Os() {
|
|
244
|
+
return kr(), Hr;
|
|
245
245
|
}
|
|
246
246
|
function it(e) {
|
|
247
|
-
|
|
247
|
+
Te.push(e);
|
|
248
248
|
}
|
|
249
249
|
const dt = /* @__PURE__ */ new Set();
|
|
250
250
|
let xe = 0;
|
|
251
251
|
function ee() {
|
|
252
252
|
if (xe !== 0)
|
|
253
253
|
return;
|
|
254
|
-
const e =
|
|
254
|
+
const e = Ie;
|
|
255
255
|
do {
|
|
256
256
|
try {
|
|
257
|
-
for (; xe <
|
|
258
|
-
const t =
|
|
259
|
-
xe++,
|
|
257
|
+
for (; xe < Ee.length; ) {
|
|
258
|
+
const t = Ee[xe];
|
|
259
|
+
xe++, Le(t), Vi(t.$$);
|
|
260
260
|
}
|
|
261
261
|
} catch (t) {
|
|
262
|
-
throw
|
|
262
|
+
throw Ee.length = 0, xe = 0, t;
|
|
263
263
|
}
|
|
264
|
-
for (
|
|
264
|
+
for (Le(null), Ee.length = 0, xe = 0; xt.length; )
|
|
265
265
|
xt.pop()();
|
|
266
|
-
for (let t = 0; t <
|
|
267
|
-
const r =
|
|
266
|
+
for (let t = 0; t < Te.length; t += 1) {
|
|
267
|
+
const r = Te[t];
|
|
268
268
|
dt.has(r) || (dt.add(r), r());
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
} while (
|
|
270
|
+
Te.length = 0;
|
|
271
|
+
} while (Ee.length);
|
|
272
272
|
for (; Yt.length; )
|
|
273
273
|
Yt.pop()();
|
|
274
|
-
|
|
274
|
+
wt = !1, dt.clear(), Le(e);
|
|
275
275
|
}
|
|
276
276
|
function Vi(e) {
|
|
277
277
|
if (e.fragment !== null) {
|
|
278
|
-
e.update(),
|
|
278
|
+
e.update(), ke(e.before_update);
|
|
279
279
|
const t = e.dirty;
|
|
280
280
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
function Fi(e) {
|
|
284
284
|
const t = [], r = [];
|
|
285
|
-
|
|
285
|
+
Te.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Te = t;
|
|
286
286
|
}
|
|
287
287
|
const Je = /* @__PURE__ */ new Set();
|
|
288
288
|
let be;
|
|
289
|
-
function
|
|
289
|
+
function Ts() {
|
|
290
290
|
be = {
|
|
291
291
|
r: 0,
|
|
292
292
|
c: [],
|
|
@@ -295,12 +295,12 @@ function Os() {
|
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
function Ps() {
|
|
298
|
-
be.r ||
|
|
298
|
+
be.r || ke(be.c), be = be.p;
|
|
299
299
|
}
|
|
300
300
|
function Gi(e, t) {
|
|
301
301
|
e && e.i && (Je.delete(e), e.i(t));
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function As(e, t, r, i) {
|
|
304
304
|
if (e && e.o) {
|
|
305
305
|
if (Je.has(e))
|
|
306
306
|
return;
|
|
@@ -316,21 +316,21 @@ function Zt(e) {
|
|
|
316
316
|
function ji(e, t, r) {
|
|
317
317
|
const { fragment: i, after_update: n } = e.$$;
|
|
318
318
|
i && i.m(t, r), it(() => {
|
|
319
|
-
const o = e.$$.on_mount.map(
|
|
320
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
319
|
+
const o = e.$$.on_mount.map(Or).filter(It);
|
|
320
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ke(o), e.$$.on_mount = [];
|
|
321
321
|
}), n.forEach(it);
|
|
322
322
|
}
|
|
323
323
|
function zi(e, t) {
|
|
324
324
|
const r = e.$$;
|
|
325
|
-
r.fragment !== null && (Fi(r.after_update),
|
|
325
|
+
r.fragment !== null && (Fi(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
326
326
|
}
|
|
327
327
|
function Wi(e, t) {
|
|
328
|
-
e.$$.dirty[0] === -1 && (
|
|
328
|
+
e.$$.dirty[0] === -1 && (Ee.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
329
329
|
}
|
|
330
330
|
function Xi(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
331
|
-
const u =
|
|
332
|
-
|
|
333
|
-
const
|
|
331
|
+
const u = Ie;
|
|
332
|
+
Le(e);
|
|
333
|
+
const f = e.$$ = {
|
|
334
334
|
fragment: null,
|
|
335
335
|
ctx: [],
|
|
336
336
|
// state
|
|
@@ -351,23 +351,23 @@ function Xi(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
|
351
351
|
skip_bound: !1,
|
|
352
352
|
root: t.target || u.$$.root
|
|
353
353
|
};
|
|
354
|
-
s && s(
|
|
355
|
-
let
|
|
356
|
-
if (
|
|
357
|
-
const _ = y.length ? y[0] :
|
|
358
|
-
return
|
|
359
|
-
}) : [],
|
|
354
|
+
s && s(f.root);
|
|
355
|
+
let c = !1;
|
|
356
|
+
if (f.ctx = r ? r(e, t.props || {}, (m, p, ...y) => {
|
|
357
|
+
const _ = y.length ? y[0] : p;
|
|
358
|
+
return f.ctx && n(f.ctx[m], f.ctx[m] = _) && (!f.skip_bound && f.bound[m] && f.bound[m](_), c && Wi(e, m)), p;
|
|
359
|
+
}) : [], f.update(), c = !0, ke(f.before_update), f.fragment = i ? i(f.ctx) : !1, t.target) {
|
|
360
360
|
if (t.hydrate) {
|
|
361
|
-
const
|
|
362
|
-
|
|
361
|
+
const m = Di(t.target);
|
|
362
|
+
f.fragment && f.fragment.l(m), m.forEach(re);
|
|
363
363
|
} else
|
|
364
|
-
|
|
364
|
+
f.fragment && f.fragment.c();
|
|
365
365
|
t.intro && Gi(e.$$.fragment), ji(e, t.target, t.anchor), ee();
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
Le(u);
|
|
368
368
|
}
|
|
369
|
-
let
|
|
370
|
-
typeof HTMLElement == "function" && (
|
|
369
|
+
let Mr;
|
|
370
|
+
typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
371
371
|
constructor(t, r, i) {
|
|
372
372
|
super();
|
|
373
373
|
/** The Svelte component constructor */
|
|
@@ -411,24 +411,24 @@ typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
|
|
|
411
411
|
let s;
|
|
412
412
|
return {
|
|
413
413
|
c: function() {
|
|
414
|
-
s = Y("slot"), o !== "default" &&
|
|
414
|
+
s = Y("slot"), o !== "default" && B(s, "name", o);
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
417
|
* @param {HTMLElement} target
|
|
418
418
|
* @param {HTMLElement} [anchor]
|
|
419
419
|
*/
|
|
420
|
-
m: function(
|
|
421
|
-
ae(
|
|
420
|
+
m: function(f, c) {
|
|
421
|
+
ae(f, s, c);
|
|
422
422
|
},
|
|
423
|
-
d: function(
|
|
424
|
-
|
|
423
|
+
d: function(f) {
|
|
424
|
+
f && re(s);
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
429
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
430
430
|
return;
|
|
431
|
-
const r = {}, i =
|
|
431
|
+
const r = {}, i = Ni(this);
|
|
432
432
|
for (const o of this.$$s)
|
|
433
433
|
o in i && (r[o] = [t(o)]);
|
|
434
434
|
for (const o of this.attributes) {
|
|
@@ -518,7 +518,7 @@ function Qe(e, t, r, i) {
|
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
function qi(e, t, r, i, n, o) {
|
|
521
|
-
let s = class extends
|
|
521
|
+
let s = class extends Mr {
|
|
522
522
|
constructor() {
|
|
523
523
|
super(e, r, n), this.$$p_d = t;
|
|
524
524
|
}
|
|
@@ -534,8 +534,8 @@ function qi(e, t, r, i, n, o) {
|
|
|
534
534
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
535
535
|
},
|
|
536
536
|
set(u) {
|
|
537
|
-
var
|
|
538
|
-
u = Qe(a, u, t), this.$$d[a] = u, (
|
|
537
|
+
var f;
|
|
538
|
+
u = Qe(a, u, t), this.$$d[a] = u, (f = this.$$c) == null || f.$set({ [a]: u });
|
|
539
539
|
}
|
|
540
540
|
});
|
|
541
541
|
}), i.forEach((a) => {
|
|
@@ -578,7 +578,7 @@ class Yi {
|
|
|
578
578
|
* @returns {() => void}
|
|
579
579
|
*/
|
|
580
580
|
$on(t, r) {
|
|
581
|
-
if (!
|
|
581
|
+
if (!It(r))
|
|
582
582
|
return te;
|
|
583
583
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
584
584
|
return i.push(r), () => {
|
|
@@ -591,12 +591,12 @@ class Yi {
|
|
|
591
591
|
* @returns {void}
|
|
592
592
|
*/
|
|
593
593
|
$set(t) {
|
|
594
|
-
this.$$set && !
|
|
594
|
+
this.$$set && !Hi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
const Zi = "4";
|
|
598
598
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zi);
|
|
599
|
-
const
|
|
599
|
+
const we = [];
|
|
600
600
|
function Ji(e, t) {
|
|
601
601
|
return {
|
|
602
602
|
subscribe: Ue(e, t).subscribe
|
|
@@ -606,14 +606,14 @@ function Ue(e, t = te) {
|
|
|
606
606
|
let r;
|
|
607
607
|
const i = /* @__PURE__ */ new Set();
|
|
608
608
|
function n(a) {
|
|
609
|
-
if (
|
|
610
|
-
const u = !
|
|
611
|
-
for (const
|
|
612
|
-
|
|
609
|
+
if (Tr(e, a) && (e = a, r)) {
|
|
610
|
+
const u = !we.length;
|
|
611
|
+
for (const f of i)
|
|
612
|
+
f[1](), we.push(f, e);
|
|
613
613
|
if (u) {
|
|
614
|
-
for (let
|
|
615
|
-
|
|
616
|
-
|
|
614
|
+
for (let f = 0; f < we.length; f += 2)
|
|
615
|
+
we[f][0](we[f + 1]);
|
|
616
|
+
we.length = 0;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
}
|
|
@@ -621,46 +621,46 @@ function Ue(e, t = te) {
|
|
|
621
621
|
n(a(e));
|
|
622
622
|
}
|
|
623
623
|
function s(a, u = te) {
|
|
624
|
-
const
|
|
625
|
-
return i.add(
|
|
626
|
-
i.delete(
|
|
624
|
+
const f = [a, u];
|
|
625
|
+
return i.add(f), i.size === 1 && (r = t(n, o) || te), a(e), () => {
|
|
626
|
+
i.delete(f), i.size === 0 && r && (r(), r = null);
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
return { set: n, update: o, subscribe: s };
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function Me(e, t, r) {
|
|
632
632
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
633
633
|
if (!n.every(Boolean))
|
|
634
634
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
635
635
|
const o = t.length < 2;
|
|
636
636
|
return Ji(r, (s, a) => {
|
|
637
637
|
let u = !1;
|
|
638
|
-
const
|
|
639
|
-
let
|
|
640
|
-
const
|
|
641
|
-
if (
|
|
638
|
+
const f = [];
|
|
639
|
+
let c = 0, m = te;
|
|
640
|
+
const p = () => {
|
|
641
|
+
if (c)
|
|
642
642
|
return;
|
|
643
|
-
|
|
644
|
-
const _ = t(i ?
|
|
645
|
-
o ? s(_) :
|
|
643
|
+
m();
|
|
644
|
+
const _ = t(i ? f[0] : f, s, a);
|
|
645
|
+
o ? s(_) : m = It(_) ? _ : te;
|
|
646
646
|
}, y = n.map(
|
|
647
647
|
(_, d) => Pr(
|
|
648
648
|
_,
|
|
649
|
-
(
|
|
650
|
-
|
|
649
|
+
(D) => {
|
|
650
|
+
f[d] = D, c &= ~(1 << d), u && p();
|
|
651
651
|
},
|
|
652
652
|
() => {
|
|
653
|
-
|
|
653
|
+
c |= 1 << d;
|
|
654
654
|
}
|
|
655
655
|
)
|
|
656
656
|
);
|
|
657
|
-
return u = !0,
|
|
658
|
-
|
|
657
|
+
return u = !0, p(), function() {
|
|
658
|
+
ke(y), m(), u = !1;
|
|
659
659
|
};
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
663
|
-
function
|
|
662
|
+
var Cr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
663
|
+
function Rt(e) {
|
|
664
664
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
665
665
|
}
|
|
666
666
|
var Qi = function(t) {
|
|
@@ -680,12 +680,12 @@ function nn(e) {
|
|
|
680
680
|
function on(e) {
|
|
681
681
|
return Array.isArray(e) ? [] : {};
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Ne(e, t) {
|
|
684
684
|
return t.clone !== !1 && t.isMergeableObject(e) ? Pe(on(e), e, t) : e;
|
|
685
685
|
}
|
|
686
686
|
function sn(e, t, r) {
|
|
687
687
|
return e.concat(t).map(function(i) {
|
|
688
|
-
return
|
|
688
|
+
return Ne(i, r);
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
691
|
function an(e, t) {
|
|
@@ -702,28 +702,28 @@ function un(e) {
|
|
|
702
702
|
function Jt(e) {
|
|
703
703
|
return Object.keys(e).concat(un(e));
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function $r(e, t) {
|
|
706
706
|
try {
|
|
707
707
|
return t in e;
|
|
708
708
|
} catch (r) {
|
|
709
709
|
return !1;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
function
|
|
713
|
-
return
|
|
712
|
+
function fn(e, t) {
|
|
713
|
+
return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function ln(e, t, r) {
|
|
716
716
|
var i = {};
|
|
717
717
|
return r.isMergeableObject(e) && Jt(e).forEach(function(n) {
|
|
718
|
-
i[n] =
|
|
718
|
+
i[n] = Ne(e[n], r);
|
|
719
719
|
}), Jt(t).forEach(function(n) {
|
|
720
|
-
|
|
720
|
+
fn(e, n) || ($r(e, n) && r.isMergeableObject(t[n]) ? i[n] = an(n, r)(e[n], t[n], r) : i[n] = Ne(t[n], r));
|
|
721
721
|
}), i;
|
|
722
722
|
}
|
|
723
723
|
function Pe(e, t, r) {
|
|
724
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Qi, r.cloneUnlessOtherwiseSpecified =
|
|
724
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Qi, r.cloneUnlessOtherwiseSpecified = Ne;
|
|
725
725
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
726
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
726
|
+
return o ? i ? r.arrayMerge(e, t, r) : ln(e, t, r) : Ne(t, r);
|
|
727
727
|
}
|
|
728
728
|
Pe.all = function(t, r) {
|
|
729
729
|
if (!Array.isArray(t))
|
|
@@ -732,20 +732,20 @@ Pe.all = function(t, r) {
|
|
|
732
732
|
return Pe(i, n, r);
|
|
733
733
|
}, {});
|
|
734
734
|
};
|
|
735
|
-
var
|
|
736
|
-
const dn = /* @__PURE__ */
|
|
737
|
-
var
|
|
738
|
-
return
|
|
735
|
+
var cn = Pe, hn = cn;
|
|
736
|
+
const dn = /* @__PURE__ */ Rt(hn);
|
|
737
|
+
var Et = function(e, t) {
|
|
738
|
+
return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
739
739
|
r.__proto__ = i;
|
|
740
740
|
} || function(r, i) {
|
|
741
741
|
for (var n in i)
|
|
742
742
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
743
|
-
},
|
|
743
|
+
}, Et(e, t);
|
|
744
744
|
};
|
|
745
745
|
function ut(e, t) {
|
|
746
746
|
if (typeof t != "function" && t !== null)
|
|
747
747
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
748
|
-
|
|
748
|
+
Et(e, t);
|
|
749
749
|
function r() {
|
|
750
750
|
this.constructor = e;
|
|
751
751
|
}
|
|
@@ -761,7 +761,7 @@ var ne = function() {
|
|
|
761
761
|
return t;
|
|
762
762
|
}, ne.apply(this, arguments);
|
|
763
763
|
};
|
|
764
|
-
function
|
|
764
|
+
function mn(e, t) {
|
|
765
765
|
var r = {};
|
|
766
766
|
for (var i in e)
|
|
767
767
|
Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -770,39 +770,39 @@ function pn(e, t) {
|
|
|
770
770
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
771
771
|
return r;
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function mt(e, t, r) {
|
|
774
774
|
if (r || arguments.length === 2)
|
|
775
775
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
776
776
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
777
777
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function pt(e, t) {
|
|
780
780
|
var r = t && t.cache ? t.cache : xn, i = t && t.serializer ? t.serializer : yn, n = t && t.strategy ? t.strategy : gn;
|
|
781
781
|
return n(e, {
|
|
782
782
|
cache: r,
|
|
783
783
|
serializer: i
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function pn(e) {
|
|
787
787
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
788
788
|
}
|
|
789
789
|
function vn(e, t, r, i) {
|
|
790
|
-
var n =
|
|
790
|
+
var n = pn(i) ? i : r(i), o = t.get(n);
|
|
791
791
|
return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function Dr(e, t, r) {
|
|
794
794
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
795
795
|
return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function Lr(e, t, r, i, n) {
|
|
798
798
|
return r.bind(t, e, i, n);
|
|
799
799
|
}
|
|
800
800
|
function gn(e, t) {
|
|
801
|
-
var r = e.length === 1 ? vn :
|
|
802
|
-
return
|
|
801
|
+
var r = e.length === 1 ? vn : Dr;
|
|
802
|
+
return Lr(e, this, r, t.cache.create(), t.serializer);
|
|
803
803
|
}
|
|
804
804
|
function bn(e, t) {
|
|
805
|
-
return
|
|
805
|
+
return Lr(e, this, Dr, t.cache.create(), t.serializer);
|
|
806
806
|
}
|
|
807
807
|
var yn = function() {
|
|
808
808
|
return JSON.stringify(arguments);
|
|
@@ -838,49 +838,49 @@ var P;
|
|
|
838
838
|
(function(e) {
|
|
839
839
|
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";
|
|
840
840
|
})(P || (P = {}));
|
|
841
|
-
var
|
|
841
|
+
var N;
|
|
842
842
|
(function(e) {
|
|
843
843
|
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";
|
|
844
|
-
})(
|
|
845
|
-
var
|
|
844
|
+
})(N || (N = {}));
|
|
845
|
+
var Ae;
|
|
846
846
|
(function(e) {
|
|
847
847
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
848
|
-
})(
|
|
848
|
+
})(Ae || (Ae = {}));
|
|
849
849
|
function Qt(e) {
|
|
850
|
-
return e.type ===
|
|
850
|
+
return e.type === N.literal;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
853
|
-
return e.type ===
|
|
852
|
+
function wn(e) {
|
|
853
|
+
return e.type === N.argument;
|
|
854
|
+
}
|
|
855
|
+
function Ir(e) {
|
|
856
|
+
return e.type === N.number;
|
|
854
857
|
}
|
|
855
858
|
function Nr(e) {
|
|
856
|
-
return e.type ===
|
|
859
|
+
return e.type === N.date;
|
|
857
860
|
}
|
|
858
861
|
function Rr(e) {
|
|
859
|
-
return e.type ===
|
|
860
|
-
}
|
|
861
|
-
function kr(e) {
|
|
862
|
-
return e.type === R.time;
|
|
862
|
+
return e.type === N.time;
|
|
863
863
|
}
|
|
864
864
|
function Ur(e) {
|
|
865
|
-
return e.type ===
|
|
865
|
+
return e.type === N.select;
|
|
866
866
|
}
|
|
867
867
|
function Vr(e) {
|
|
868
|
-
return e.type ===
|
|
868
|
+
return e.type === N.plural;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
871
|
-
return e.type ===
|
|
870
|
+
function En(e) {
|
|
871
|
+
return e.type === N.pound;
|
|
872
872
|
}
|
|
873
873
|
function Fr(e) {
|
|
874
|
-
return e.type ===
|
|
874
|
+
return e.type === N.tag;
|
|
875
875
|
}
|
|
876
876
|
function Gr(e) {
|
|
877
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
877
|
+
return !!(e && typeof e == "object" && e.type === Ae.number);
|
|
878
878
|
}
|
|
879
879
|
function St(e) {
|
|
880
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
880
|
+
return !!(e && typeof e == "object" && e.type === Ae.dateTime);
|
|
881
881
|
}
|
|
882
882
|
var jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
883
|
-
function
|
|
883
|
+
function On(e) {
|
|
884
884
|
var t = {};
|
|
885
885
|
return e.replace(Sn, function(r) {
|
|
886
886
|
var i = r.length;
|
|
@@ -981,29 +981,29 @@ var V = function() {
|
|
|
981
981
|
return t;
|
|
982
982
|
}, V.apply(this, arguments);
|
|
983
983
|
};
|
|
984
|
-
var
|
|
984
|
+
var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
985
985
|
function Pn(e) {
|
|
986
986
|
if (e.length === 0)
|
|
987
987
|
throw new Error("Number skeleton cannot be empty");
|
|
988
|
-
for (var t = e.split(
|
|
989
|
-
return
|
|
988
|
+
for (var t = e.split(Tn).filter(function(p) {
|
|
989
|
+
return p.length > 0;
|
|
990
990
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
991
991
|
var o = n[i], s = o.split("/");
|
|
992
992
|
if (s.length === 0)
|
|
993
993
|
throw new Error("Invalid number skeleton");
|
|
994
|
-
for (var a = s[0], u = s.slice(1),
|
|
995
|
-
var
|
|
996
|
-
if (
|
|
994
|
+
for (var a = s[0], u = s.slice(1), f = 0, c = u; f < c.length; f++) {
|
|
995
|
+
var m = c[f];
|
|
996
|
+
if (m.length === 0)
|
|
997
997
|
throw new Error("Invalid number skeleton");
|
|
998
998
|
}
|
|
999
999
|
r.push({ stem: a, options: u });
|
|
1000
1000
|
}
|
|
1001
1001
|
return r;
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function An(e) {
|
|
1004
1004
|
return e.replace(/^(.*?)-/, "");
|
|
1005
1005
|
}
|
|
1006
|
-
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1006
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
|
|
1007
1007
|
function er(e) {
|
|
1008
1008
|
var t = {};
|
|
1009
1009
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, i, n) {
|
|
@@ -1050,7 +1050,7 @@ function Xr(e) {
|
|
|
1050
1050
|
};
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function Hn(e) {
|
|
1054
1054
|
var t;
|
|
1055
1055
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1056
1056
|
notation: "engineering"
|
|
@@ -1068,7 +1068,7 @@ function tr(e) {
|
|
|
1068
1068
|
var t = {}, r = Xr(e);
|
|
1069
1069
|
return r || t;
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function kn(e) {
|
|
1072
1072
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
1073
1073
|
var n = i[r];
|
|
1074
1074
|
switch (n.stem) {
|
|
@@ -1092,7 +1092,7 @@ function Mn(e) {
|
|
|
1092
1092
|
continue;
|
|
1093
1093
|
case "measure-unit":
|
|
1094
1094
|
case "unit":
|
|
1095
|
-
t.style = "unit", t.unit =
|
|
1095
|
+
t.style = "unit", t.unit = An(n.options[0]);
|
|
1096
1096
|
continue;
|
|
1097
1097
|
case "compact-short":
|
|
1098
1098
|
case "K":
|
|
@@ -1103,13 +1103,13 @@ function Mn(e) {
|
|
|
1103
1103
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1104
1104
|
continue;
|
|
1105
1105
|
case "scientific":
|
|
1106
|
-
t = V(V(V({}, t), { notation: "scientific" }), n.options.reduce(function(u,
|
|
1107
|
-
return V(V({}, u), tr(
|
|
1106
|
+
t = V(V(V({}, t), { notation: "scientific" }), n.options.reduce(function(u, f) {
|
|
1107
|
+
return V(V({}, u), tr(f));
|
|
1108
1108
|
}, {}));
|
|
1109
1109
|
continue;
|
|
1110
1110
|
case "engineering":
|
|
1111
|
-
t = V(V(V({}, t), { notation: "engineering" }), n.options.reduce(function(u,
|
|
1112
|
-
return V(V({}, u), tr(
|
|
1111
|
+
t = V(V(V({}, t), { notation: "engineering" }), n.options.reduce(function(u, f) {
|
|
1112
|
+
return V(V({}, u), tr(f));
|
|
1113
1113
|
}, {}));
|
|
1114
1114
|
continue;
|
|
1115
1115
|
case "notation-simple":
|
|
@@ -1154,11 +1154,11 @@ function Mn(e) {
|
|
|
1154
1154
|
case "integer-width":
|
|
1155
1155
|
if (n.options.length > 1)
|
|
1156
1156
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1157
|
-
n.options[0].replace(
|
|
1158
|
-
if (
|
|
1159
|
-
t.minimumIntegerDigits =
|
|
1157
|
+
n.options[0].replace(Bn, function(u, f, c, m, p, y) {
|
|
1158
|
+
if (f)
|
|
1159
|
+
t.minimumIntegerDigits = c.length;
|
|
1160
1160
|
else {
|
|
1161
|
-
if (
|
|
1161
|
+
if (m && p)
|
|
1162
1162
|
throw new Error("We currently do not support maximum integer digits");
|
|
1163
1163
|
if (y)
|
|
1164
1164
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1174,8 +1174,8 @@ function Mn(e) {
|
|
|
1174
1174
|
if (Kt.test(n.stem)) {
|
|
1175
1175
|
if (n.options.length > 1)
|
|
1176
1176
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1177
|
-
n.stem.replace(Kt, function(u,
|
|
1178
|
-
return
|
|
1177
|
+
n.stem.replace(Kt, function(u, f, c, m, p, y) {
|
|
1178
|
+
return c === "*" ? t.minimumFractionDigits = f.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
|
|
1179
1179
|
});
|
|
1180
1180
|
var o = n.options[0];
|
|
1181
1181
|
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), er(o)));
|
|
@@ -1187,7 +1187,7 @@ function Mn(e) {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
var s = Xr(n.stem);
|
|
1189
1189
|
s && (t = V(V({}, t), s));
|
|
1190
|
-
var a =
|
|
1190
|
+
var a = Hn(n.stem);
|
|
1191
1191
|
a && (t = V(V({}, t), a));
|
|
1192
1192
|
}
|
|
1193
1193
|
return t;
|
|
@@ -2607,23 +2607,23 @@ var Ye = {
|
|
|
2607
2607
|
"h"
|
|
2608
2608
|
]
|
|
2609
2609
|
};
|
|
2610
|
-
function
|
|
2610
|
+
function Mn(e, t) {
|
|
2611
2611
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2612
2612
|
var n = e.charAt(i);
|
|
2613
2613
|
if (n === "j") {
|
|
2614
2614
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2615
2615
|
o++, i++;
|
|
2616
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a",
|
|
2617
|
-
for ((
|
|
2616
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", f = Cn(t);
|
|
2617
|
+
for ((f == "H" || f == "k") && (a = 0); a-- > 0; )
|
|
2618
2618
|
r += u;
|
|
2619
2619
|
for (; s-- > 0; )
|
|
2620
|
-
r =
|
|
2620
|
+
r = f + r;
|
|
2621
2621
|
} else
|
|
2622
2622
|
n === "J" ? r += "H" : r += n;
|
|
2623
2623
|
}
|
|
2624
2624
|
return r;
|
|
2625
2625
|
}
|
|
2626
|
-
function
|
|
2626
|
+
function Cn(e) {
|
|
2627
2627
|
var t = e.hourCycle;
|
|
2628
2628
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2629
2629
|
e.hourCycles && // @ts-ignore
|
|
@@ -2645,20 +2645,20 @@ function $n(e) {
|
|
|
2645
2645
|
var n = Ye[i || ""] || Ye[r || ""] || Ye["".concat(r, "-001")] || Ye["001"];
|
|
2646
2646
|
return n[0];
|
|
2647
2647
|
}
|
|
2648
|
-
var gt,
|
|
2649
|
-
function
|
|
2648
|
+
var gt, $n = new RegExp("^".concat(jr.source, "*")), Dn = new RegExp("".concat(jr.source, "*$"));
|
|
2649
|
+
function A(e, t) {
|
|
2650
2650
|
return { start: e, end: t };
|
|
2651
2651
|
}
|
|
2652
|
-
var
|
|
2652
|
+
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, Gn = Fn ? Number.isSafeInteger : function(e) {
|
|
2653
2653
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2654
|
-
},
|
|
2654
|
+
}, Ot = !0;
|
|
2655
2655
|
try {
|
|
2656
2656
|
var jn = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2657
|
-
|
|
2657
|
+
Ot = ((gt = jn.exec("a")) === null || gt === void 0 ? void 0 : gt[0]) === "a";
|
|
2658
2658
|
} catch (e) {
|
|
2659
|
-
|
|
2659
|
+
Ot = !1;
|
|
2660
2660
|
}
|
|
2661
|
-
var rr =
|
|
2661
|
+
var rr = Ln ? (
|
|
2662
2662
|
// Native
|
|
2663
2663
|
function(t, r, i) {
|
|
2664
2664
|
return t.startsWith(r, i);
|
|
@@ -2668,7 +2668,7 @@ var rr = Dn ? (
|
|
|
2668
2668
|
function(t, r, i) {
|
|
2669
2669
|
return t.slice(i, i + r.length) === r;
|
|
2670
2670
|
}
|
|
2671
|
-
),
|
|
2671
|
+
), Tt = In ? String.fromCodePoint : (
|
|
2672
2672
|
// IE11
|
|
2673
2673
|
function() {
|
|
2674
2674
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2682,7 +2682,7 @@ var rr = Dn ? (
|
|
|
2682
2682
|
}
|
|
2683
2683
|
), ir = (
|
|
2684
2684
|
// native
|
|
2685
|
-
|
|
2685
|
+
Nn ? Object.fromEntries : (
|
|
2686
2686
|
// Ponyfill
|
|
2687
2687
|
function(t) {
|
|
2688
2688
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
@@ -2692,7 +2692,7 @@ var rr = Dn ? (
|
|
|
2692
2692
|
return r;
|
|
2693
2693
|
}
|
|
2694
2694
|
)
|
|
2695
|
-
), qr =
|
|
2695
|
+
), qr = Rn ? (
|
|
2696
2696
|
// Native
|
|
2697
2697
|
function(t, r) {
|
|
2698
2698
|
return t.codePointAt(r);
|
|
@@ -2714,7 +2714,7 @@ var rr = Dn ? (
|
|
|
2714
2714
|
) : (
|
|
2715
2715
|
// Ponyfill
|
|
2716
2716
|
function(t) {
|
|
2717
|
-
return t.replace(
|
|
2717
|
+
return t.replace($n, "");
|
|
2718
2718
|
}
|
|
2719
2719
|
), Wn = Vn ? (
|
|
2720
2720
|
// Native
|
|
@@ -2724,14 +2724,14 @@ var rr = Dn ? (
|
|
|
2724
2724
|
) : (
|
|
2725
2725
|
// Ponyfill
|
|
2726
2726
|
function(t) {
|
|
2727
|
-
return t.replace(
|
|
2727
|
+
return t.replace(Dn, "");
|
|
2728
2728
|
}
|
|
2729
2729
|
);
|
|
2730
2730
|
function Yr(e, t) {
|
|
2731
2731
|
return new RegExp(e, t);
|
|
2732
2732
|
}
|
|
2733
2733
|
var Pt;
|
|
2734
|
-
if (
|
|
2734
|
+
if (Ot) {
|
|
2735
2735
|
var nr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2736
2736
|
Pt = function(t, r) {
|
|
2737
2737
|
var i;
|
|
@@ -2747,7 +2747,7 @@ if (Tt) {
|
|
|
2747
2747
|
break;
|
|
2748
2748
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2749
2749
|
}
|
|
2750
|
-
return
|
|
2750
|
+
return Tt.apply(void 0, i);
|
|
2751
2751
|
};
|
|
2752
2752
|
var Xn = (
|
|
2753
2753
|
/** @class */
|
|
@@ -2773,14 +2773,14 @@ var Xn = (
|
|
|
2773
2773
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2774
2774
|
var a = this.clonePosition();
|
|
2775
2775
|
this.bump(), n.push({
|
|
2776
|
-
type:
|
|
2777
|
-
location:
|
|
2776
|
+
type: N.pound,
|
|
2777
|
+
location: A(a, this.clonePosition())
|
|
2778
2778
|
});
|
|
2779
2779
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2780
2780
|
if (i)
|
|
2781
2781
|
break;
|
|
2782
|
-
return this.error(P.UNMATCHED_CLOSING_TAG,
|
|
2783
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2782
|
+
return this.error(P.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
2783
|
+
} else if (o === 60 && !this.ignoreTag && At(this.peek() || 0)) {
|
|
2784
2784
|
var s = this.parseTag(t, r);
|
|
2785
2785
|
if (s.err)
|
|
2786
2786
|
return s;
|
|
@@ -2801,9 +2801,9 @@ var Xn = (
|
|
|
2801
2801
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2802
2802
|
return {
|
|
2803
2803
|
val: {
|
|
2804
|
-
type:
|
|
2804
|
+
type: N.literal,
|
|
2805
2805
|
value: "<".concat(n, "/>"),
|
|
2806
|
-
location:
|
|
2806
|
+
location: A(i, this.clonePosition())
|
|
2807
2807
|
},
|
|
2808
2808
|
err: null
|
|
2809
2809
|
};
|
|
@@ -2813,22 +2813,22 @@ var Xn = (
|
|
|
2813
2813
|
return o;
|
|
2814
2814
|
var s = o.val, a = this.clonePosition();
|
|
2815
2815
|
if (this.bumpIf("</")) {
|
|
2816
|
-
if (this.isEOF() || !
|
|
2817
|
-
return this.error(P.INVALID_TAG,
|
|
2818
|
-
var u = this.clonePosition(),
|
|
2819
|
-
return n !==
|
|
2816
|
+
if (this.isEOF() || !At(this.char()))
|
|
2817
|
+
return this.error(P.INVALID_TAG, A(a, this.clonePosition()));
|
|
2818
|
+
var u = this.clonePosition(), f = this.parseTagName();
|
|
2819
|
+
return n !== f ? this.error(P.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2820
2820
|
val: {
|
|
2821
|
-
type:
|
|
2821
|
+
type: N.tag,
|
|
2822
2822
|
value: n,
|
|
2823
2823
|
children: s,
|
|
2824
|
-
location:
|
|
2824
|
+
location: A(i, this.clonePosition())
|
|
2825
2825
|
},
|
|
2826
2826
|
err: null
|
|
2827
|
-
} : this.error(P.INVALID_TAG,
|
|
2827
|
+
} : this.error(P.INVALID_TAG, A(a, this.clonePosition())));
|
|
2828
2828
|
} else
|
|
2829
|
-
return this.error(P.UNCLOSED_TAG,
|
|
2829
|
+
return this.error(P.UNCLOSED_TAG, A(i, this.clonePosition()));
|
|
2830
2830
|
} else
|
|
2831
|
-
return this.error(P.INVALID_TAG,
|
|
2831
|
+
return this.error(P.INVALID_TAG, A(i, this.clonePosition()));
|
|
2832
2832
|
}, e.prototype.parseTagName = function() {
|
|
2833
2833
|
var t = this.offset();
|
|
2834
2834
|
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
@@ -2853,9 +2853,9 @@ var Xn = (
|
|
|
2853
2853
|
}
|
|
2854
2854
|
break;
|
|
2855
2855
|
}
|
|
2856
|
-
var u =
|
|
2856
|
+
var u = A(i, this.clonePosition());
|
|
2857
2857
|
return {
|
|
2858
|
-
val: { type:
|
|
2858
|
+
val: { type: N.literal, value: n, location: u },
|
|
2859
2859
|
err: null
|
|
2860
2860
|
};
|
|
2861
2861
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2894,100 +2894,100 @@ var Xn = (
|
|
|
2894
2894
|
r.push(i);
|
|
2895
2895
|
this.bump();
|
|
2896
2896
|
}
|
|
2897
|
-
return
|
|
2897
|
+
return Tt.apply(void 0, r);
|
|
2898
2898
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2899
2899
|
if (this.isEOF())
|
|
2900
2900
|
return null;
|
|
2901
2901
|
var i = this.char();
|
|
2902
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
2902
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), Tt(i));
|
|
2903
2903
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2904
2904
|
var i = this.clonePosition();
|
|
2905
2905
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2906
|
-
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2906
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2907
2907
|
if (this.char() === 125)
|
|
2908
|
-
return this.bump(), this.error(P.EMPTY_ARGUMENT,
|
|
2908
|
+
return this.bump(), this.error(P.EMPTY_ARGUMENT, A(i, this.clonePosition()));
|
|
2909
2909
|
var n = this.parseIdentifierIfPossible().value;
|
|
2910
2910
|
if (!n)
|
|
2911
|
-
return this.error(P.MALFORMED_ARGUMENT,
|
|
2911
|
+
return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2912
2912
|
if (this.bumpSpace(), this.isEOF())
|
|
2913
|
-
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2913
|
+
return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
|
|
2914
2914
|
switch (this.char()) {
|
|
2915
2915
|
case 125:
|
|
2916
2916
|
return this.bump(), {
|
|
2917
2917
|
val: {
|
|
2918
|
-
type:
|
|
2918
|
+
type: N.argument,
|
|
2919
2919
|
// value does not include the opening and closing braces.
|
|
2920
2920
|
value: n,
|
|
2921
|
-
location:
|
|
2921
|
+
location: A(i, this.clonePosition())
|
|
2922
2922
|
},
|
|
2923
2923
|
err: null
|
|
2924
2924
|
};
|
|
2925
2925
|
case 44:
|
|
2926
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2926
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2927
2927
|
default:
|
|
2928
|
-
return this.error(P.MALFORMED_ARGUMENT,
|
|
2928
|
+
return this.error(P.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
|
|
2929
2929
|
}
|
|
2930
2930
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2931
2931
|
var t = this.clonePosition(), r = this.offset(), i = Pt(this.message, r), n = r + i.length;
|
|
2932
2932
|
this.bumpTo(n);
|
|
2933
|
-
var o = this.clonePosition(), s =
|
|
2933
|
+
var o = this.clonePosition(), s = A(t, o);
|
|
2934
2934
|
return { value: i, location: s };
|
|
2935
2935
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2936
2936
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2937
2937
|
switch (a) {
|
|
2938
2938
|
case "":
|
|
2939
|
-
return this.error(P.EXPECT_ARGUMENT_TYPE,
|
|
2939
|
+
return this.error(P.EXPECT_ARGUMENT_TYPE, A(s, u));
|
|
2940
2940
|
case "number":
|
|
2941
2941
|
case "date":
|
|
2942
2942
|
case "time": {
|
|
2943
2943
|
this.bumpSpace();
|
|
2944
|
-
var
|
|
2944
|
+
var f = null;
|
|
2945
2945
|
if (this.bumpIf(",")) {
|
|
2946
2946
|
this.bumpSpace();
|
|
2947
|
-
var
|
|
2948
|
-
if (
|
|
2949
|
-
return
|
|
2950
|
-
var
|
|
2951
|
-
if (
|
|
2952
|
-
return this.error(P.EXPECT_ARGUMENT_STYLE,
|
|
2953
|
-
var y =
|
|
2954
|
-
|
|
2947
|
+
var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2948
|
+
if (m.err)
|
|
2949
|
+
return m;
|
|
2950
|
+
var p = Wn(m.val);
|
|
2951
|
+
if (p.length === 0)
|
|
2952
|
+
return this.error(P.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
2953
|
+
var y = A(c, this.clonePosition());
|
|
2954
|
+
f = { style: p, styleLocation: y };
|
|
2955
2955
|
}
|
|
2956
2956
|
var _ = this.tryParseArgumentClose(n);
|
|
2957
2957
|
if (_.err)
|
|
2958
2958
|
return _;
|
|
2959
|
-
var d =
|
|
2960
|
-
if (
|
|
2961
|
-
var
|
|
2959
|
+
var d = A(n, this.clonePosition());
|
|
2960
|
+
if (f && rr(f == null ? void 0 : f.style, "::", 0)) {
|
|
2961
|
+
var D = zn(f.style.slice(2));
|
|
2962
2962
|
if (a === "number") {
|
|
2963
|
-
var
|
|
2964
|
-
return
|
|
2965
|
-
val: { type:
|
|
2963
|
+
var m = this.parseNumberSkeletonFromString(D, f.styleLocation);
|
|
2964
|
+
return m.err ? m : {
|
|
2965
|
+
val: { type: N.number, value: i, location: d, style: m.val },
|
|
2966
2966
|
err: null
|
|
2967
2967
|
};
|
|
2968
2968
|
} else {
|
|
2969
|
-
if (
|
|
2969
|
+
if (D.length === 0)
|
|
2970
2970
|
return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
|
|
2971
|
-
var G =
|
|
2972
|
-
this.locale && (G =
|
|
2973
|
-
var
|
|
2974
|
-
type:
|
|
2971
|
+
var G = D;
|
|
2972
|
+
this.locale && (G = Mn(D, this.locale));
|
|
2973
|
+
var p = {
|
|
2974
|
+
type: Ae.dateTime,
|
|
2975
2975
|
pattern: G,
|
|
2976
|
-
location:
|
|
2977
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2978
|
-
},
|
|
2976
|
+
location: f.styleLocation,
|
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? On(G) : {}
|
|
2978
|
+
}, R = a === "date" ? N.date : N.time;
|
|
2979
2979
|
return {
|
|
2980
|
-
val: { type:
|
|
2980
|
+
val: { type: R, value: i, location: d, style: p },
|
|
2981
2981
|
err: null
|
|
2982
2982
|
};
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
2985
2985
|
return {
|
|
2986
2986
|
val: {
|
|
2987
|
-
type: a === "number" ?
|
|
2987
|
+
type: a === "number" ? N.number : a === "date" ? N.date : N.time,
|
|
2988
2988
|
value: i,
|
|
2989
2989
|
location: d,
|
|
2990
|
-
style: (o =
|
|
2990
|
+
style: (o = f == null ? void 0 : f.style) !== null && o !== void 0 ? o : null
|
|
2991
2991
|
},
|
|
2992
2992
|
err: null
|
|
2993
2993
|
};
|
|
@@ -2995,52 +2995,52 @@ var Xn = (
|
|
|
2995
2995
|
case "plural":
|
|
2996
2996
|
case "selectordinal":
|
|
2997
2997
|
case "select": {
|
|
2998
|
-
var
|
|
2998
|
+
var M = this.clonePosition();
|
|
2999
2999
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3000
|
-
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3000
|
+
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A(M, nt({}, M)));
|
|
3001
3001
|
this.bumpSpace();
|
|
3002
|
-
var j = this.parseIdentifierIfPossible(),
|
|
3002
|
+
var j = this.parseIdentifierIfPossible(), T = 0;
|
|
3003
3003
|
if (a !== "select" && j.value === "offset") {
|
|
3004
3004
|
if (!this.bumpIf(":"))
|
|
3005
|
-
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3005
|
+
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
3006
3006
|
this.bumpSpace();
|
|
3007
|
-
var
|
|
3008
|
-
if (
|
|
3009
|
-
return
|
|
3010
|
-
this.bumpSpace(), j = this.parseIdentifierIfPossible(),
|
|
3007
|
+
var m = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3008
|
+
if (m.err)
|
|
3009
|
+
return m;
|
|
3010
|
+
this.bumpSpace(), j = this.parseIdentifierIfPossible(), T = m.val;
|
|
3011
3011
|
}
|
|
3012
|
-
var
|
|
3013
|
-
if (
|
|
3014
|
-
return
|
|
3012
|
+
var H = this.tryParsePluralOrSelectOptions(t, a, r, j);
|
|
3013
|
+
if (H.err)
|
|
3014
|
+
return H;
|
|
3015
3015
|
var _ = this.tryParseArgumentClose(n);
|
|
3016
3016
|
if (_.err)
|
|
3017
3017
|
return _;
|
|
3018
|
-
var
|
|
3018
|
+
var O = A(n, this.clonePosition());
|
|
3019
3019
|
return a === "select" ? {
|
|
3020
3020
|
val: {
|
|
3021
|
-
type:
|
|
3021
|
+
type: N.select,
|
|
3022
3022
|
value: i,
|
|
3023
|
-
options: ir(
|
|
3024
|
-
location:
|
|
3023
|
+
options: ir(H.val),
|
|
3024
|
+
location: O
|
|
3025
3025
|
},
|
|
3026
3026
|
err: null
|
|
3027
3027
|
} : {
|
|
3028
3028
|
val: {
|
|
3029
|
-
type:
|
|
3029
|
+
type: N.plural,
|
|
3030
3030
|
value: i,
|
|
3031
|
-
options: ir(
|
|
3032
|
-
offset:
|
|
3031
|
+
options: ir(H.val),
|
|
3032
|
+
offset: T,
|
|
3033
3033
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3034
|
-
location:
|
|
3034
|
+
location: O
|
|
3035
3035
|
},
|
|
3036
3036
|
err: null
|
|
3037
3037
|
};
|
|
3038
3038
|
}
|
|
3039
3039
|
default:
|
|
3040
|
-
return this.error(P.INVALID_ARGUMENT_TYPE,
|
|
3040
|
+
return this.error(P.INVALID_ARGUMENT_TYPE, A(s, u));
|
|
3041
3041
|
}
|
|
3042
3042
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3043
|
-
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3043
|
+
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3044
3044
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3045
3045
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3046
3046
|
var i = this.char();
|
|
@@ -3049,7 +3049,7 @@ var Xn = (
|
|
|
3049
3049
|
this.bump();
|
|
3050
3050
|
var n = this.clonePosition();
|
|
3051
3051
|
if (!this.bumpUntil("'"))
|
|
3052
|
-
return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3052
|
+
return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(n, this.clonePosition()));
|
|
3053
3053
|
this.bump();
|
|
3054
3054
|
break;
|
|
3055
3055
|
}
|
|
@@ -3085,31 +3085,31 @@ var Xn = (
|
|
|
3085
3085
|
}
|
|
3086
3086
|
return {
|
|
3087
3087
|
val: {
|
|
3088
|
-
type:
|
|
3088
|
+
type: Ae.number,
|
|
3089
3089
|
tokens: i,
|
|
3090
3090
|
location: r,
|
|
3091
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3091
|
+
parsedOptions: this.shouldParseSkeletons ? kn(i) : {}
|
|
3092
3092
|
},
|
|
3093
3093
|
err: null
|
|
3094
3094
|
};
|
|
3095
3095
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
3096
|
-
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(),
|
|
3097
|
-
if (
|
|
3098
|
-
var
|
|
3096
|
+
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), f = n.value, c = n.location; ; ) {
|
|
3097
|
+
if (f.length === 0) {
|
|
3098
|
+
var m = this.clonePosition();
|
|
3099
3099
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3100
|
-
var
|
|
3101
|
-
if (
|
|
3102
|
-
return
|
|
3103
|
-
|
|
3100
|
+
var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3101
|
+
if (p.err)
|
|
3102
|
+
return p;
|
|
3103
|
+
c = A(m, this.clonePosition()), f = this.message.slice(m.offset, this.offset());
|
|
3104
3104
|
} else
|
|
3105
3105
|
break;
|
|
3106
3106
|
}
|
|
3107
|
-
if (u.has(
|
|
3108
|
-
return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3109
|
-
|
|
3107
|
+
if (u.has(f))
|
|
3108
|
+
return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3109
|
+
f === "other" && (s = !0), this.bumpSpace();
|
|
3110
3110
|
var y = this.clonePosition();
|
|
3111
3111
|
if (!this.bumpIf("{"))
|
|
3112
|
-
return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3112
|
+
return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
|
|
3113
3113
|
var _ = this.parseMessage(t + 1, r, i);
|
|
3114
3114
|
if (_.err)
|
|
3115
3115
|
return _;
|
|
@@ -3117,14 +3117,14 @@ var Xn = (
|
|
|
3117
3117
|
if (d.err)
|
|
3118
3118
|
return d;
|
|
3119
3119
|
a.push([
|
|
3120
|
-
|
|
3120
|
+
f,
|
|
3121
3121
|
{
|
|
3122
3122
|
value: _.val,
|
|
3123
|
-
location:
|
|
3123
|
+
location: A(y, this.clonePosition())
|
|
3124
3124
|
}
|
|
3125
|
-
]), u.add(
|
|
3125
|
+
]), u.add(f), this.bumpSpace(), o = this.parseIdentifierIfPossible(), f = o.value, c = o.location;
|
|
3126
3126
|
}
|
|
3127
|
-
return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3127
|
+
return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3128
3128
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3129
3129
|
var i = 1, n = this.clonePosition();
|
|
3130
3130
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -3135,7 +3135,7 @@ var Xn = (
|
|
|
3135
3135
|
else
|
|
3136
3136
|
break;
|
|
3137
3137
|
}
|
|
3138
|
-
var u =
|
|
3138
|
+
var u = A(n, this.clonePosition());
|
|
3139
3139
|
return o ? (s *= i, Gn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3140
3140
|
}, e.prototype.offset = function() {
|
|
3141
3141
|
return this.position.offset;
|
|
@@ -3202,11 +3202,11 @@ var Xn = (
|
|
|
3202
3202
|
}, e;
|
|
3203
3203
|
}()
|
|
3204
3204
|
);
|
|
3205
|
-
function
|
|
3205
|
+
function At(e) {
|
|
3206
3206
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3207
3207
|
}
|
|
3208
3208
|
function qn(e) {
|
|
3209
|
-
return
|
|
3209
|
+
return At(e) || e === 47;
|
|
3210
3210
|
}
|
|
3211
3211
|
function Yn(e) {
|
|
3212
3212
|
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;
|
|
@@ -3217,13 +3217,13 @@ function Zr(e) {
|
|
|
3217
3217
|
function Zn(e) {
|
|
3218
3218
|
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;
|
|
3219
3219
|
}
|
|
3220
|
-
function
|
|
3220
|
+
function Bt(e) {
|
|
3221
3221
|
e.forEach(function(t) {
|
|
3222
3222
|
if (delete t.location, Ur(t) || Vr(t))
|
|
3223
3223
|
for (var r in t.options)
|
|
3224
|
-
delete t.options[r].location,
|
|
3224
|
+
delete t.options[r].location, Bt(t.options[r].value);
|
|
3225
3225
|
else
|
|
3226
|
-
|
|
3226
|
+
Ir(t) && Gr(t.style) || (Nr(t) || Rr(t)) && St(t.style) ? delete t.style.location : Fr(t) && Bt(t.children);
|
|
3227
3227
|
});
|
|
3228
3228
|
}
|
|
3229
3229
|
function Jn(e, t) {
|
|
@@ -3233,13 +3233,13 @@ function Jn(e, t) {
|
|
|
3233
3233
|
var i = SyntaxError(P[r.err.kind]);
|
|
3234
3234
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3235
3235
|
}
|
|
3236
|
-
return t != null && t.captureLocation ||
|
|
3236
|
+
return t != null && t.captureLocation || Bt(r.val), r.val;
|
|
3237
3237
|
}
|
|
3238
|
-
var
|
|
3238
|
+
var Be;
|
|
3239
3239
|
(function(e) {
|
|
3240
3240
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3241
|
-
})(
|
|
3242
|
-
var
|
|
3241
|
+
})(Be || (Be = {}));
|
|
3242
|
+
var ft = (
|
|
3243
3243
|
/** @class */
|
|
3244
3244
|
function(e) {
|
|
3245
3245
|
ut(t, e);
|
|
@@ -3256,28 +3256,28 @@ var lt = (
|
|
|
3256
3256
|
function(e) {
|
|
3257
3257
|
ut(t, e);
|
|
3258
3258
|
function t(r, i, n, o) {
|
|
3259
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3259
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Be.INVALID_VALUE, o) || this;
|
|
3260
3260
|
}
|
|
3261
3261
|
return t;
|
|
3262
|
-
}(
|
|
3262
|
+
}(ft)
|
|
3263
3263
|
), Qn = (
|
|
3264
3264
|
/** @class */
|
|
3265
3265
|
function(e) {
|
|
3266
3266
|
ut(t, e);
|
|
3267
3267
|
function t(r, i, n) {
|
|
3268
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3268
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Be.INVALID_VALUE, n) || this;
|
|
3269
3269
|
}
|
|
3270
3270
|
return t;
|
|
3271
|
-
}(
|
|
3271
|
+
}(ft)
|
|
3272
3272
|
), Kn = (
|
|
3273
3273
|
/** @class */
|
|
3274
3274
|
function(e) {
|
|
3275
3275
|
ut(t, e);
|
|
3276
3276
|
function t(r, i) {
|
|
3277
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3277
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Be.MISSING_VALUE, i) || this;
|
|
3278
3278
|
}
|
|
3279
3279
|
return t;
|
|
3280
|
-
}(
|
|
3280
|
+
}(ft)
|
|
3281
3281
|
), J;
|
|
3282
3282
|
(function(e) {
|
|
3283
3283
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3299,91 +3299,91 @@ function Ke(e, t, r, i, n, o, s) {
|
|
|
3299
3299
|
value: e[0].value
|
|
3300
3300
|
}
|
|
3301
3301
|
];
|
|
3302
|
-
for (var a = [], u = 0,
|
|
3303
|
-
var
|
|
3304
|
-
if (Qt(
|
|
3302
|
+
for (var a = [], u = 0, f = e; u < f.length; u++) {
|
|
3303
|
+
var c = f[u];
|
|
3304
|
+
if (Qt(c)) {
|
|
3305
3305
|
a.push({
|
|
3306
3306
|
type: J.literal,
|
|
3307
|
-
value:
|
|
3307
|
+
value: c.value
|
|
3308
3308
|
});
|
|
3309
3309
|
continue;
|
|
3310
3310
|
}
|
|
3311
|
-
if (
|
|
3311
|
+
if (En(c)) {
|
|
3312
3312
|
typeof o == "number" && a.push({
|
|
3313
3313
|
type: J.literal,
|
|
3314
3314
|
value: r.getNumberFormat(t).format(o)
|
|
3315
3315
|
});
|
|
3316
3316
|
continue;
|
|
3317
3317
|
}
|
|
3318
|
-
var
|
|
3319
|
-
if (!(n &&
|
|
3320
|
-
throw new Kn(
|
|
3321
|
-
var
|
|
3322
|
-
if (
|
|
3323
|
-
(!
|
|
3324
|
-
type: typeof
|
|
3325
|
-
value:
|
|
3318
|
+
var m = c.value;
|
|
3319
|
+
if (!(n && m in n))
|
|
3320
|
+
throw new Kn(m, s);
|
|
3321
|
+
var p = n[m];
|
|
3322
|
+
if (wn(c)) {
|
|
3323
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3324
|
+
type: typeof p == "string" ? J.literal : J.object,
|
|
3325
|
+
value: p
|
|
3326
3326
|
});
|
|
3327
3327
|
continue;
|
|
3328
3328
|
}
|
|
3329
|
-
if (
|
|
3330
|
-
var y = typeof
|
|
3329
|
+
if (Nr(c)) {
|
|
3330
|
+
var y = typeof c.style == "string" ? i.date[c.style] : St(c.style) ? c.style.parsedOptions : void 0;
|
|
3331
3331
|
a.push({
|
|
3332
3332
|
type: J.literal,
|
|
3333
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3333
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3334
3334
|
});
|
|
3335
3335
|
continue;
|
|
3336
3336
|
}
|
|
3337
|
-
if (
|
|
3338
|
-
var y = typeof
|
|
3337
|
+
if (Rr(c)) {
|
|
3338
|
+
var y = typeof c.style == "string" ? i.time[c.style] : St(c.style) ? c.style.parsedOptions : i.time.medium;
|
|
3339
3339
|
a.push({
|
|
3340
3340
|
type: J.literal,
|
|
3341
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3341
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3342
3342
|
});
|
|
3343
3343
|
continue;
|
|
3344
3344
|
}
|
|
3345
|
-
if (
|
|
3346
|
-
var y = typeof
|
|
3347
|
-
y && y.scale && (
|
|
3345
|
+
if (Ir(c)) {
|
|
3346
|
+
var y = typeof c.style == "string" ? i.number[c.style] : Gr(c.style) ? c.style.parsedOptions : void 0;
|
|
3347
|
+
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3348
3348
|
type: J.literal,
|
|
3349
|
-
value: r.getNumberFormat(t, y).format(
|
|
3349
|
+
value: r.getNumberFormat(t, y).format(p)
|
|
3350
3350
|
});
|
|
3351
3351
|
continue;
|
|
3352
3352
|
}
|
|
3353
|
-
if (Fr(
|
|
3354
|
-
var _ =
|
|
3355
|
-
if (!to(
|
|
3353
|
+
if (Fr(c)) {
|
|
3354
|
+
var _ = c.children, d = c.value, D = n[d];
|
|
3355
|
+
if (!to(D))
|
|
3356
3356
|
throw new Qn(d, "function", s);
|
|
3357
|
-
var G = Ke(_, t, r, i, n, o),
|
|
3358
|
-
return
|
|
3357
|
+
var G = Ke(_, t, r, i, n, o), R = D(G.map(function(T) {
|
|
3358
|
+
return T.value;
|
|
3359
3359
|
}));
|
|
3360
|
-
Array.isArray(
|
|
3360
|
+
Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(T) {
|
|
3361
3361
|
return {
|
|
3362
|
-
type: typeof
|
|
3363
|
-
value:
|
|
3362
|
+
type: typeof T == "string" ? J.literal : J.object,
|
|
3363
|
+
value: T
|
|
3364
3364
|
};
|
|
3365
3365
|
}));
|
|
3366
3366
|
}
|
|
3367
|
-
if (Ur(
|
|
3368
|
-
var
|
|
3369
|
-
if (!
|
|
3370
|
-
throw new or(
|
|
3371
|
-
a.push.apply(a, Ke(
|
|
3367
|
+
if (Ur(c)) {
|
|
3368
|
+
var M = c.options[p] || c.options.other;
|
|
3369
|
+
if (!M)
|
|
3370
|
+
throw new or(c.value, p, Object.keys(c.options), s);
|
|
3371
|
+
a.push.apply(a, Ke(M.value, t, r, i, n));
|
|
3372
3372
|
continue;
|
|
3373
3373
|
}
|
|
3374
|
-
if (Vr(
|
|
3375
|
-
var
|
|
3376
|
-
if (!
|
|
3374
|
+
if (Vr(c)) {
|
|
3375
|
+
var M = c.options["=".concat(p)];
|
|
3376
|
+
if (!M) {
|
|
3377
3377
|
if (!Intl.PluralRules)
|
|
3378
|
-
throw new
|
|
3378
|
+
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3379
3379
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3380
|
-
`,
|
|
3381
|
-
var j = r.getPluralRules(t, { type:
|
|
3382
|
-
|
|
3380
|
+
`, Be.MISSING_INTL_API, s);
|
|
3381
|
+
var j = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3382
|
+
M = c.options[j] || c.options.other;
|
|
3383
3383
|
}
|
|
3384
|
-
if (!
|
|
3385
|
-
throw new or(
|
|
3386
|
-
a.push.apply(a, Ke(
|
|
3384
|
+
if (!M)
|
|
3385
|
+
throw new or(c.value, p, Object.keys(c.options), s);
|
|
3386
|
+
a.push.apply(a, Ke(M.value, t, r, i, n, p - (c.offset || 0)));
|
|
3387
3387
|
continue;
|
|
3388
3388
|
}
|
|
3389
3389
|
}
|
|
@@ -3419,26 +3419,26 @@ function no(e) {
|
|
|
3419
3419
|
dateTime: {},
|
|
3420
3420
|
pluralRules: {}
|
|
3421
3421
|
}), {
|
|
3422
|
-
getNumberFormat:
|
|
3422
|
+
getNumberFormat: pt(function() {
|
|
3423
3423
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3424
3424
|
r[i] = arguments[i];
|
|
3425
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3425
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, mt([void 0], r, !1)))();
|
|
3426
3426
|
}, {
|
|
3427
3427
|
cache: bt(e.number),
|
|
3428
3428
|
strategy: vt.variadic
|
|
3429
3429
|
}),
|
|
3430
|
-
getDateTimeFormat:
|
|
3430
|
+
getDateTimeFormat: pt(function() {
|
|
3431
3431
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3432
3432
|
r[i] = arguments[i];
|
|
3433
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3433
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, mt([void 0], r, !1)))();
|
|
3434
3434
|
}, {
|
|
3435
3435
|
cache: bt(e.dateTime),
|
|
3436
3436
|
strategy: vt.variadic
|
|
3437
3437
|
}),
|
|
3438
|
-
getPluralRules:
|
|
3438
|
+
getPluralRules: pt(function() {
|
|
3439
3439
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3440
3440
|
r[i] = arguments[i];
|
|
3441
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3441
|
+
return new ((t = Intl.PluralRules).bind.apply(t, mt([void 0], r, !1)))();
|
|
3442
3442
|
}, {
|
|
3443
3443
|
cache: bt(e.pluralRules),
|
|
3444
3444
|
strategy: vt.variadic
|
|
@@ -3456,13 +3456,13 @@ var Jr = (
|
|
|
3456
3456
|
dateTime: {},
|
|
3457
3457
|
pluralRules: {}
|
|
3458
3458
|
}, this.format = function(u) {
|
|
3459
|
-
var
|
|
3460
|
-
if (
|
|
3461
|
-
return
|
|
3462
|
-
var
|
|
3463
|
-
return !
|
|
3459
|
+
var f = o.formatToParts(u);
|
|
3460
|
+
if (f.length === 1)
|
|
3461
|
+
return f[0].value;
|
|
3462
|
+
var c = f.reduce(function(m, p) {
|
|
3463
|
+
return !m.length || p.type !== J.literal || typeof m[m.length - 1] != "string" ? m.push(p.value) : m[m.length - 1] += p.value, m;
|
|
3464
3464
|
}, []);
|
|
3465
|
-
return
|
|
3465
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3466
3466
|
}, this.formatToParts = function(u) {
|
|
3467
3467
|
return Ke(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3468
3468
|
}, this.resolvedOptions = function() {
|
|
@@ -3477,7 +3477,7 @@ var Jr = (
|
|
|
3477
3477
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3478
3478
|
var s = n || {};
|
|
3479
3479
|
s.formatters;
|
|
3480
|
-
var a =
|
|
3480
|
+
var a = mn(s, ["formatters"]);
|
|
3481
3481
|
this.ast = e.__parse(t, ne(ne({}, a), { locale: this.resolvedLocale }));
|
|
3482
3482
|
} else
|
|
3483
3483
|
this.ast = t;
|
|
@@ -3578,11 +3578,11 @@ function oo(e, t) {
|
|
|
3578
3578
|
i = void 0;
|
|
3579
3579
|
return i;
|
|
3580
3580
|
}
|
|
3581
|
-
const
|
|
3581
|
+
const me = {}, so = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), Qr = (e, t) => {
|
|
3582
3582
|
if (t == null)
|
|
3583
3583
|
return;
|
|
3584
|
-
if (t in
|
|
3585
|
-
return
|
|
3584
|
+
if (t in me && e in me[t])
|
|
3585
|
+
return me[t][e];
|
|
3586
3586
|
const r = Fe(t);
|
|
3587
3587
|
for (let i = 0; i < r.length; i++) {
|
|
3588
3588
|
const n = r[i], o = uo(n, e);
|
|
@@ -3604,7 +3604,7 @@ function uo(e, t) {
|
|
|
3604
3604
|
const r = ao(e);
|
|
3605
3605
|
return oo(r, t);
|
|
3606
3606
|
}
|
|
3607
|
-
function
|
|
3607
|
+
function fo(e) {
|
|
3608
3608
|
if (e == null)
|
|
3609
3609
|
return;
|
|
3610
3610
|
const t = Fe(e);
|
|
@@ -3615,21 +3615,21 @@ function lo(e) {
|
|
|
3615
3615
|
}
|
|
3616
3616
|
}
|
|
3617
3617
|
function ei(e, ...t) {
|
|
3618
|
-
delete
|
|
3618
|
+
delete me[e], Ve.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
|
|
3619
3619
|
}
|
|
3620
|
-
|
|
3620
|
+
Me(
|
|
3621
3621
|
[Ve],
|
|
3622
3622
|
([e]) => Object.keys(e)
|
|
3623
3623
|
);
|
|
3624
3624
|
Ve.subscribe((e) => Ut = e);
|
|
3625
3625
|
const et = {};
|
|
3626
|
-
function
|
|
3626
|
+
function lo(e, t) {
|
|
3627
3627
|
et[e].delete(t), et[e].size === 0 && delete et[e];
|
|
3628
3628
|
}
|
|
3629
3629
|
function ti(e) {
|
|
3630
3630
|
return et[e];
|
|
3631
3631
|
}
|
|
3632
|
-
function
|
|
3632
|
+
function co(e) {
|
|
3633
3633
|
return Fe(e).map((t) => {
|
|
3634
3634
|
const r = ti(t);
|
|
3635
3635
|
return [t, r ? [...r] : []];
|
|
@@ -3645,31 +3645,31 @@ function ot(e) {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
function ho(e, t) {
|
|
3647
3647
|
return Promise.all(
|
|
3648
|
-
t.map((i) => (
|
|
3648
|
+
t.map((i) => (lo(e, i), i().then((n) => n.default || n)))
|
|
3649
3649
|
).then((i) => ei(e, ...i));
|
|
3650
3650
|
}
|
|
3651
|
-
const
|
|
3651
|
+
const $e = {};
|
|
3652
3652
|
function ri(e) {
|
|
3653
3653
|
if (!ot(e))
|
|
3654
|
-
return e in
|
|
3655
|
-
const t =
|
|
3656
|
-
return
|
|
3654
|
+
return e in $e ? $e[e] : Promise.resolve();
|
|
3655
|
+
const t = co(e);
|
|
3656
|
+
return $e[e] = Promise.all(
|
|
3657
3657
|
t.map(
|
|
3658
3658
|
([r, i]) => ho(r, i)
|
|
3659
3659
|
)
|
|
3660
3660
|
).then(() => {
|
|
3661
3661
|
if (ot(e))
|
|
3662
3662
|
return ri(e);
|
|
3663
|
-
delete
|
|
3664
|
-
}),
|
|
3663
|
+
delete $e[e];
|
|
3664
|
+
}), $e[e];
|
|
3665
3665
|
}
|
|
3666
|
-
var sr = Object.getOwnPropertySymbols,
|
|
3666
|
+
var sr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, vo = (e, t) => {
|
|
3667
3667
|
var r = {};
|
|
3668
3668
|
for (var i in e)
|
|
3669
|
-
|
|
3669
|
+
mo.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3670
3670
|
if (e != null && sr)
|
|
3671
3671
|
for (var i of sr(e))
|
|
3672
|
-
t.indexOf(i) < 0 &&
|
|
3672
|
+
t.indexOf(i) < 0 && po.call(e, i) && (r[i] = e[i]);
|
|
3673
3673
|
return r;
|
|
3674
3674
|
};
|
|
3675
3675
|
const go = {
|
|
@@ -3706,7 +3706,7 @@ function bo({ locale: e, id: t }) {
|
|
|
3706
3706
|
console.warn(
|
|
3707
3707
|
`[svelte-i18n] The message "${t}" was not found in "${Fe(
|
|
3708
3708
|
e
|
|
3709
|
-
).join('", "')}".${ot(
|
|
3709
|
+
).join('", "')}".${ot(pe()) ? `
|
|
3710
3710
|
|
|
3711
3711
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3712
3712
|
);
|
|
@@ -3718,9 +3718,9 @@ const yo = {
|
|
|
3718
3718
|
warnOnMissingMessages: !0,
|
|
3719
3719
|
handleMissingMessage: void 0,
|
|
3720
3720
|
ignoreTag: !0
|
|
3721
|
-
},
|
|
3722
|
-
function
|
|
3723
|
-
return
|
|
3721
|
+
}, De = yo;
|
|
3722
|
+
function He() {
|
|
3723
|
+
return De;
|
|
3724
3724
|
}
|
|
3725
3725
|
function _o(e) {
|
|
3726
3726
|
const t = e, { formats: r } = t, i = vo(t, ["formats"]);
|
|
@@ -3735,37 +3735,37 @@ function _o(e) {
|
|
|
3735
3735
|
}
|
|
3736
3736
|
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bo : console.warn(
|
|
3737
3737
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3738
|
-
)), Object.assign(
|
|
3738
|
+
)), Object.assign(De, i, { initialLocale: n }), r && ("number" in r && Object.assign(De.formats.number, r.number), "date" in r && Object.assign(De.formats.date, r.date), "time" in r && Object.assign(De.formats.time, r.time)), ye.set(n);
|
|
3739
3739
|
}
|
|
3740
3740
|
const yt = Ue(!1);
|
|
3741
|
-
var xo = Object.defineProperty,
|
|
3741
|
+
var xo = Object.defineProperty, wo = Object.defineProperties, Eo = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, Oo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, To = (e, t) => {
|
|
3742
3742
|
for (var r in t || (t = {}))
|
|
3743
3743
|
So.call(t, r) && ur(e, r, t[r]);
|
|
3744
3744
|
if (ar)
|
|
3745
3745
|
for (var r of ar(t))
|
|
3746
|
-
|
|
3746
|
+
Oo.call(t, r) && ur(e, r, t[r]);
|
|
3747
3747
|
return e;
|
|
3748
|
-
}, Po = (e, t) =>
|
|
3749
|
-
let
|
|
3748
|
+
}, Po = (e, t) => wo(e, Eo(t));
|
|
3749
|
+
let Ht;
|
|
3750
3750
|
const st = Ue(null);
|
|
3751
|
-
function
|
|
3751
|
+
function fr(e) {
|
|
3752
3752
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3753
3753
|
}
|
|
3754
|
-
function Fe(e, t =
|
|
3755
|
-
const r =
|
|
3756
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3754
|
+
function Fe(e, t = He().fallbackLocale) {
|
|
3755
|
+
const r = fr(e);
|
|
3756
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
|
|
3757
3757
|
}
|
|
3758
|
-
function
|
|
3759
|
-
return
|
|
3758
|
+
function pe() {
|
|
3759
|
+
return Ht != null ? Ht : void 0;
|
|
3760
3760
|
}
|
|
3761
3761
|
st.subscribe((e) => {
|
|
3762
|
-
|
|
3762
|
+
Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3763
3763
|
});
|
|
3764
|
-
const
|
|
3765
|
-
if (e &&
|
|
3766
|
-
const { loadingDelay: t } =
|
|
3764
|
+
const Ao = (e) => {
|
|
3765
|
+
if (e && fo(e) && ot(e)) {
|
|
3766
|
+
const { loadingDelay: t } = He();
|
|
3767
3767
|
let r;
|
|
3768
|
-
return typeof window != "undefined" &&
|
|
3768
|
+
return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
|
|
3769
3769
|
() => yt.set(!0),
|
|
3770
3770
|
t
|
|
3771
3771
|
) : yt.set(!0), ri(e).then(() => {
|
|
@@ -3775,23 +3775,23 @@ const Ho = (e) => {
|
|
|
3775
3775
|
});
|
|
3776
3776
|
}
|
|
3777
3777
|
return st.set(e);
|
|
3778
|
-
}, ye = Po(
|
|
3779
|
-
set:
|
|
3780
|
-
}),
|
|
3778
|
+
}, ye = Po(To({}, st), {
|
|
3779
|
+
set: Ao
|
|
3780
|
+
}), lt = (e) => {
|
|
3781
3781
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3782
3782
|
return (i) => {
|
|
3783
3783
|
const n = JSON.stringify(i);
|
|
3784
3784
|
return n in t ? t[n] : t[n] = e(i);
|
|
3785
3785
|
};
|
|
3786
3786
|
};
|
|
3787
|
-
var
|
|
3787
|
+
var Bo = Object.defineProperty, at = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
3788
3788
|
for (var r in t || (t = {}))
|
|
3789
|
-
ii.call(t, r) &&
|
|
3789
|
+
ii.call(t, r) && lr(e, r, t[r]);
|
|
3790
3790
|
if (at)
|
|
3791
3791
|
for (var r of at(t))
|
|
3792
|
-
ni.call(t, r) &&
|
|
3792
|
+
ni.call(t, r) && lr(e, r, t[r]);
|
|
3793
3793
|
return e;
|
|
3794
|
-
},
|
|
3794
|
+
}, Ce = (e, t) => {
|
|
3795
3795
|
var r = {};
|
|
3796
3796
|
for (var i in e)
|
|
3797
3797
|
ii.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -3800,98 +3800,98 @@ var Ao = Object.defineProperty, at = Object.getOwnPropertySymbols, ii = Object.p
|
|
|
3800
3800
|
t.indexOf(i) < 0 && ni.call(e, i) && (r[i] = e[i]);
|
|
3801
3801
|
return r;
|
|
3802
3802
|
};
|
|
3803
|
-
const
|
|
3804
|
-
const { formats: r } =
|
|
3803
|
+
const Re = (e, t) => {
|
|
3804
|
+
const { formats: r } = He();
|
|
3805
3805
|
if (e in r && t in r[e])
|
|
3806
3806
|
return r[e][t];
|
|
3807
3807
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3808
|
-
},
|
|
3808
|
+
}, Ho = lt(
|
|
3809
3809
|
(e) => {
|
|
3810
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3810
|
+
var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
|
|
3811
3811
|
if (r == null)
|
|
3812
3812
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3813
|
-
return i && (n =
|
|
3813
|
+
return i && (n = Re("number", i)), new Intl.NumberFormat(r, n);
|
|
3814
3814
|
}
|
|
3815
|
-
),
|
|
3815
|
+
), ko = lt(
|
|
3816
3816
|
(e) => {
|
|
3817
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3817
|
+
var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
|
|
3818
3818
|
if (r == null)
|
|
3819
3819
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3820
|
-
return i ? n =
|
|
3820
|
+
return i ? n = Re("date", i) : Object.keys(n).length === 0 && (n = Re("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3821
3821
|
}
|
|
3822
|
-
),
|
|
3822
|
+
), Mo = lt(
|
|
3823
3823
|
(e) => {
|
|
3824
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3824
|
+
var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
|
|
3825
3825
|
if (r == null)
|
|
3826
3826
|
throw new Error(
|
|
3827
3827
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3828
3828
|
);
|
|
3829
|
-
return i ? n =
|
|
3829
|
+
return i ? n = Re("time", i) : Object.keys(n).length === 0 && (n = Re("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3830
3830
|
}
|
|
3831
|
-
),
|
|
3831
|
+
), Co = (e = {}) => {
|
|
3832
3832
|
var t = e, {
|
|
3833
|
-
locale: r =
|
|
3834
|
-
} = t, i =
|
|
3833
|
+
locale: r = pe()
|
|
3834
|
+
} = t, i = Ce(t, [
|
|
3835
3835
|
"locale"
|
|
3836
3836
|
]);
|
|
3837
|
-
return
|
|
3838
|
-
},
|
|
3837
|
+
return Ho(Vt({ locale: r }, i));
|
|
3838
|
+
}, $o = (e = {}) => {
|
|
3839
3839
|
var t = e, {
|
|
3840
|
-
locale: r =
|
|
3841
|
-
} = t, i =
|
|
3840
|
+
locale: r = pe()
|
|
3841
|
+
} = t, i = Ce(t, [
|
|
3842
3842
|
"locale"
|
|
3843
3843
|
]);
|
|
3844
|
-
return
|
|
3845
|
-
},
|
|
3844
|
+
return ko(Vt({ locale: r }, i));
|
|
3845
|
+
}, Do = (e = {}) => {
|
|
3846
3846
|
var t = e, {
|
|
3847
|
-
locale: r =
|
|
3848
|
-
} = t, i =
|
|
3847
|
+
locale: r = pe()
|
|
3848
|
+
} = t, i = Ce(t, [
|
|
3849
3849
|
"locale"
|
|
3850
3850
|
]);
|
|
3851
|
-
return
|
|
3852
|
-
},
|
|
3851
|
+
return Mo(Vt({ locale: r }, i));
|
|
3852
|
+
}, Lo = lt(
|
|
3853
3853
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3854
|
-
(e, t =
|
|
3855
|
-
ignoreTag:
|
|
3854
|
+
(e, t = pe()) => new Jr(e, t, He().formats, {
|
|
3855
|
+
ignoreTag: He().ignoreTag
|
|
3856
3856
|
})
|
|
3857
|
-
),
|
|
3857
|
+
), Io = (e, t = {}) => {
|
|
3858
3858
|
var r, i, n, o;
|
|
3859
3859
|
let s = t;
|
|
3860
3860
|
typeof e == "object" && (s = e, e = s.id);
|
|
3861
3861
|
const {
|
|
3862
3862
|
values: a,
|
|
3863
|
-
locale: u =
|
|
3864
|
-
default:
|
|
3863
|
+
locale: u = pe(),
|
|
3864
|
+
default: f
|
|
3865
3865
|
} = s;
|
|
3866
3866
|
if (u == null)
|
|
3867
3867
|
throw new Error(
|
|
3868
3868
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3869
3869
|
);
|
|
3870
|
-
let
|
|
3871
|
-
if (!
|
|
3872
|
-
|
|
3873
|
-
else if (typeof
|
|
3870
|
+
let c = Qr(e, u);
|
|
3871
|
+
if (!c)
|
|
3872
|
+
c = (o = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: f })) != null ? n : f) != null ? o : e;
|
|
3873
|
+
else if (typeof c != "string")
|
|
3874
3874
|
return console.warn(
|
|
3875
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3876
|
-
),
|
|
3875
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3876
|
+
), c;
|
|
3877
3877
|
if (!a)
|
|
3878
|
-
return
|
|
3879
|
-
let
|
|
3878
|
+
return c;
|
|
3879
|
+
let m = c;
|
|
3880
3880
|
try {
|
|
3881
|
-
|
|
3882
|
-
} catch (
|
|
3883
|
-
|
|
3881
|
+
m = Lo(c, u).format(a);
|
|
3882
|
+
} catch (p) {
|
|
3883
|
+
p instanceof Error && console.warn(
|
|
3884
3884
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3885
|
-
|
|
3885
|
+
p.message
|
|
3886
3886
|
);
|
|
3887
3887
|
}
|
|
3888
|
-
return
|
|
3889
|
-
},
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
function
|
|
3888
|
+
return m;
|
|
3889
|
+
}, No = (e, t) => Do(t).format(e), Ro = (e, t) => $o(t).format(e), Uo = (e, t) => Co(t).format(e), Vo = (e, t = pe()) => Qr(e, t), Fo = Me([ye, Ve], () => Io);
|
|
3890
|
+
Me([ye], () => No);
|
|
3891
|
+
Me([ye], () => Ro);
|
|
3892
|
+
Me([ye], () => Uo);
|
|
3893
|
+
Me([ye, Ve], () => Vo);
|
|
3894
|
+
function cr(e, t) {
|
|
3895
3895
|
ei(e, t);
|
|
3896
3896
|
}
|
|
3897
3897
|
function Go(e) {
|
|
@@ -3941,21 +3941,78 @@ const hr = {
|
|
|
3941
3941
|
fr: {
|
|
3942
3942
|
verificationsRequired: "Vérifications requises",
|
|
3943
3943
|
"verification.video.how-to": "Comment vérifier votre identité ?",
|
|
3944
|
-
"verification.idenfy.referred-awaiting": "La vérification d
|
|
3945
|
-
"verification.message.failed": "Nous sommes désolés, mais nous n
|
|
3944
|
+
"verification.idenfy.referred-awaiting": "La vérification d'identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.",
|
|
3945
|
+
"verification.message.failed": "Nous sommes désolés, mais nous n'avons pas pu vérifier votre compte. Veuillez contacter l'équipe d'assistance.",
|
|
3946
3946
|
"verification.idenfy.link-name": "lien",
|
|
3947
|
-
"verification.idenfy.in-progress": "Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l
|
|
3948
|
-
"verification.shuftipro.in-progress.Biometric": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3949
|
-
"verification.shuftipro.in-progress.Biometric.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3950
|
-
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3951
|
-
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3952
|
-
"verification.shuftipro.in-progress.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3953
|
-
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3954
|
-
"verification.shuftipro.in-progress.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l
|
|
3947
|
+
"verification.idenfy.in-progress": "Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l'utilisateur. Veuillez préparer votre pièce d'identité et suivre le {link} pour commencer la vérification.",
|
|
3948
|
+
"verification.shuftipro.in-progress.Biometric": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.",
|
|
3949
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.",
|
|
3950
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.",
|
|
3951
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.",
|
|
3952
|
+
"verification.shuftipro.in-progress.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.",
|
|
3953
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.",
|
|
3954
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l'utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.",
|
|
3955
3955
|
"verification.shuftipro.link-name.Biometric": "Biométrique",
|
|
3956
3956
|
"verification.shuftipro.link-name.Documents": "Documents",
|
|
3957
3957
|
"verification.shuftipro.link-name.ProofOfAddress": "Justificatif de domicile",
|
|
3958
3958
|
"verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
|
|
3959
|
+
},
|
|
3960
|
+
da: {
|
|
3961
|
+
verificationsRequired: "Bekræftelser påkrævet",
|
|
3962
|
+
"verification.video.how-to": "Hvordan verificerer du dig selv?",
|
|
3963
|
+
"verification.idenfy.referred-awaiting": "ID-bekræftelse er i gang. Vi vil informere dig, så snart bekræftelsen er afsluttet, og du kan hæve penge igen",
|
|
3964
|
+
"verification.message.failed": "Vi beklager, men vi var ikke i stand til at verificere din konto. Kontakt venligst supportteamet",
|
|
3965
|
+
"verification.idenfy.link-name": "link",
|
|
3966
|
+
"verification.idenfy.in-progress": "For at hæve penge til din konto skal du gennemføre brugerbekræftelse. Hav venligst dit ID klar og følg {link} for at starte bekræftelsen",
|
|
3967
|
+
"verification.shuftipro.in-progress.Biometric": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse.",
|
|
3968
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse og {Documents}-bekræftelse.",
|
|
3969
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse, {Documents}-bekræftelse og {ProofOfAddress}-bekræftelse.",
|
|
3970
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Biometric}-bekræftelse og {ProofOfAddress}-bekræftelse.",
|
|
3971
|
+
"verification.shuftipro.in-progress.Documents": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Documents}-bekræftelse.",
|
|
3972
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {Documents}-bekræftelse og {ProofOfAddress}-bekræftelse.",
|
|
3973
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "For at fortsætte med en transaktion skal du gennemføre brugerbekræftelse. Følg venligst linket for at starte {ProofOfAddress}-bekræftelse.",
|
|
3974
|
+
"verification.shuftipro.link-name.Biometric": "Biometrisk",
|
|
3975
|
+
"verification.shuftipro.link-name.Documents": "Dokumenter",
|
|
3976
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Adressedokumentation",
|
|
3977
|
+
"verification.shuftipro.validations-started": "Efter at have gennemført bekræftelsen, fortsæt venligst med transaktionen"
|
|
3978
|
+
},
|
|
3979
|
+
de: {
|
|
3980
|
+
verificationsRequired: "Verifizierungen erforderlich",
|
|
3981
|
+
"verification.video.how-to": "Wie verifizieren Sie sich?",
|
|
3982
|
+
"verification.idenfy.referred-awaiting": "Die ID-Verifizierung läuft. Wir informieren Sie, sobald die Verifizierung abgeschlossen ist und Sie Geld abheben können",
|
|
3983
|
+
"verification.message.failed": "Wir entschuldigen uns, aber wir konnten Ihr Konto nicht verifizieren. Bitte kontaktieren Sie das Support-Team",
|
|
3984
|
+
"verification.idenfy.link-name": "Link",
|
|
3985
|
+
"verification.idenfy.in-progress": "Um Geld auf Ihr Konto abzuheben, müssen Sie die Benutzerverifizierung abschließen. Bitte halten Sie Ihren Ausweis bereit und folgen Sie dem {link}, um die Verifizierung zu starten",
|
|
3986
|
+
"verification.shuftipro.in-progress.Biometric": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung zu starten.",
|
|
3987
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung und die {Documents}-Verifizierung zu starten.",
|
|
3988
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung, die {Documents}-Verifizierung und die {ProofOfAddress}-Verifizierung zu starten.",
|
|
3989
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Biometric}-Verifizierung und die {ProofOfAddress}-Verifizierung zu starten.",
|
|
3990
|
+
"verification.shuftipro.in-progress.Documents": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Documents}-Verifizierung zu starten.",
|
|
3991
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {Documents}-Verifizierung und die {ProofOfAddress}-Verifizierung zu starten.",
|
|
3992
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Um mit einer Transaktion fortzufahren, müssen Sie die Benutzerverifizierung abschließen. Bitte folgen Sie dem Link, um die {ProofOfAddress}-Verifizierung zu starten.",
|
|
3993
|
+
"verification.shuftipro.link-name.Biometric": "Biometrisch",
|
|
3994
|
+
"verification.shuftipro.link-name.Documents": "Dokumente",
|
|
3995
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Adressnachweis",
|
|
3996
|
+
"verification.shuftipro.validations-started": "Nach Abschluss der Verifizierung fahren Sie bitte mit der Transaktion fort"
|
|
3997
|
+
},
|
|
3998
|
+
nl: {
|
|
3999
|
+
verificationsRequired: "Verificaties vereist",
|
|
4000
|
+
"verification.video.how-to": "Hoe verifieert u uzelf?",
|
|
4001
|
+
"verification.idenfy.referred-awaiting": "ID-verificatie is bezig. We informeren u zodra de verificatie is voltooid en u geld kunt opnemen",
|
|
4002
|
+
"verification.message.failed": "Onze excuses, maar we konden uw account niet verifiëren. Neem contact op met het supportteam",
|
|
4003
|
+
"verification.idenfy.link-name": "link",
|
|
4004
|
+
"verification.idenfy.in-progress": "Om geld op uw rekening op te nemen, moet u de gebruikersverificatie doorlopen. Houd uw ID bij de hand en volg de {link} om de verificatie te starten",
|
|
4005
|
+
"verification.shuftipro.in-progress.Biometric": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie te starten.",
|
|
4006
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie en de {Documents}-verificatie te starten.",
|
|
4007
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie, de {Documents}-verificatie en de {ProofOfAddress}-verificatie te starten.",
|
|
4008
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Biometric}-verificatie en de {ProofOfAddress}-verificatie te starten.",
|
|
4009
|
+
"verification.shuftipro.in-progress.Documents": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Documents}-verificatie te starten.",
|
|
4010
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {Documents}-verificatie en de {ProofOfAddress}-verificatie te starten.",
|
|
4011
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Om door te gaan met een transactie moet u de gebruikersverificatie doorlopen. Volg de link om de {ProofOfAddress}-verificatie te starten.",
|
|
4012
|
+
"verification.shuftipro.link-name.Biometric": "Biometrisch",
|
|
4013
|
+
"verification.shuftipro.link-name.Documents": "Documenten",
|
|
4014
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Adresbewijs",
|
|
4015
|
+
"verification.shuftipro.validations-started": "Na het voltooien van de verificatie, ga dan door met de transactie"
|
|
3959
4016
|
}
|
|
3960
4017
|
};
|
|
3961
4018
|
let jo = Ue(null);
|
|
@@ -4026,24 +4083,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
4026
4083
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4027
4084
|
PERFORMANCE OF THIS SOFTWARE.
|
|
4028
4085
|
***************************************************************************** */
|
|
4029
|
-
var
|
|
4030
|
-
return
|
|
4086
|
+
var kt = function(e, t) {
|
|
4087
|
+
return kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
4031
4088
|
r.__proto__ = i;
|
|
4032
4089
|
} || function(r, i) {
|
|
4033
4090
|
for (var n in i)
|
|
4034
4091
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
4035
|
-
},
|
|
4092
|
+
}, kt(e, t);
|
|
4036
4093
|
};
|
|
4037
4094
|
function Ge(e, t) {
|
|
4038
4095
|
if (typeof t != "function" && t !== null)
|
|
4039
4096
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
4040
|
-
|
|
4097
|
+
kt(e, t);
|
|
4041
4098
|
function r() {
|
|
4042
4099
|
this.constructor = e;
|
|
4043
4100
|
}
|
|
4044
4101
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
4045
4102
|
}
|
|
4046
|
-
function
|
|
4103
|
+
function Mt(e) {
|
|
4047
4104
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
4048
4105
|
if (r)
|
|
4049
4106
|
return r.call(e);
|
|
@@ -4055,7 +4112,7 @@ function Ct(e) {
|
|
|
4055
4112
|
};
|
|
4056
4113
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4057
4114
|
}
|
|
4058
|
-
function
|
|
4115
|
+
function Ct(e, t) {
|
|
4059
4116
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4060
4117
|
if (!r)
|
|
4061
4118
|
return e;
|
|
@@ -4075,7 +4132,7 @@ function $t(e, t) {
|
|
|
4075
4132
|
}
|
|
4076
4133
|
return o;
|
|
4077
4134
|
}
|
|
4078
|
-
function
|
|
4135
|
+
function $t(e, t, r) {
|
|
4079
4136
|
if (arguments.length === 2)
|
|
4080
4137
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
4081
4138
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
@@ -4099,13 +4156,13 @@ var _t = oi(function(e) {
|
|
|
4099
4156
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
4100
4157
|
};
|
|
4101
4158
|
});
|
|
4102
|
-
function
|
|
4159
|
+
function Dt(e, t) {
|
|
4103
4160
|
if (e) {
|
|
4104
4161
|
var r = e.indexOf(t);
|
|
4105
4162
|
0 <= r && e.splice(r, 1);
|
|
4106
4163
|
}
|
|
4107
4164
|
}
|
|
4108
|
-
var
|
|
4165
|
+
var ct = function() {
|
|
4109
4166
|
function e(t) {
|
|
4110
4167
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
4111
4168
|
}
|
|
@@ -4117,9 +4174,9 @@ var ft = function() {
|
|
|
4117
4174
|
if (s)
|
|
4118
4175
|
if (this._parentage = null, Array.isArray(s))
|
|
4119
4176
|
try {
|
|
4120
|
-
for (var a =
|
|
4121
|
-
var
|
|
4122
|
-
|
|
4177
|
+
for (var a = Mt(s), u = a.next(); !u.done; u = a.next()) {
|
|
4178
|
+
var f = u.value;
|
|
4179
|
+
f.remove(this);
|
|
4123
4180
|
}
|
|
4124
4181
|
} catch (d) {
|
|
4125
4182
|
t = { error: d };
|
|
@@ -4133,30 +4190,30 @@ var ft = function() {
|
|
|
4133
4190
|
}
|
|
4134
4191
|
else
|
|
4135
4192
|
s.remove(this);
|
|
4136
|
-
var
|
|
4137
|
-
if (ue(
|
|
4193
|
+
var c = this.initialTeardown;
|
|
4194
|
+
if (ue(c))
|
|
4138
4195
|
try {
|
|
4139
|
-
|
|
4196
|
+
c();
|
|
4140
4197
|
} catch (d) {
|
|
4141
4198
|
o = d instanceof _t ? d.errors : [d];
|
|
4142
4199
|
}
|
|
4143
|
-
var
|
|
4144
|
-
if (
|
|
4200
|
+
var m = this._finalizers;
|
|
4201
|
+
if (m) {
|
|
4145
4202
|
this._finalizers = null;
|
|
4146
4203
|
try {
|
|
4147
|
-
for (var
|
|
4204
|
+
for (var p = Mt(m), y = p.next(); !y.done; y = p.next()) {
|
|
4148
4205
|
var _ = y.value;
|
|
4149
4206
|
try {
|
|
4150
4207
|
dr(_);
|
|
4151
4208
|
} catch (d) {
|
|
4152
|
-
o = o != null ? o : [], d instanceof _t ? o =
|
|
4209
|
+
o = o != null ? o : [], d instanceof _t ? o = $t($t([], Ct(o)), Ct(d.errors)) : o.push(d);
|
|
4153
4210
|
}
|
|
4154
4211
|
}
|
|
4155
4212
|
} catch (d) {
|
|
4156
4213
|
i = { error: d };
|
|
4157
4214
|
} finally {
|
|
4158
4215
|
try {
|
|
4159
|
-
y && !y.done && (n =
|
|
4216
|
+
y && !y.done && (n = p.return) && n.call(p);
|
|
4160
4217
|
} finally {
|
|
4161
4218
|
if (i)
|
|
4162
4219
|
throw i.error;
|
|
@@ -4187,17 +4244,17 @@ var ft = function() {
|
|
|
4187
4244
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
4188
4245
|
}, e.prototype._removeParent = function(t) {
|
|
4189
4246
|
var r = this._parentage;
|
|
4190
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
4247
|
+
r === t ? this._parentage = null : Array.isArray(r) && Dt(r, t);
|
|
4191
4248
|
}, e.prototype.remove = function(t) {
|
|
4192
4249
|
var r = this._finalizers;
|
|
4193
|
-
r &&
|
|
4250
|
+
r && Dt(r, t), t instanceof e && t._removeParent(this);
|
|
4194
4251
|
}, e.EMPTY = function() {
|
|
4195
4252
|
var t = new e();
|
|
4196
4253
|
return t.closed = !0, t;
|
|
4197
4254
|
}(), e;
|
|
4198
|
-
}(), si =
|
|
4255
|
+
}(), si = ct.EMPTY;
|
|
4199
4256
|
function ai(e) {
|
|
4200
|
-
return e instanceof
|
|
4257
|
+
return e instanceof ct || e && "closed" in e && ue(e.remove) && ue(e.add) && ue(e.unsubscribe);
|
|
4201
4258
|
}
|
|
4202
4259
|
function dr(e) {
|
|
4203
4260
|
ue(e) ? e() : e.unsubscribe();
|
|
@@ -4208,7 +4265,7 @@ var Zo = {
|
|
|
4208
4265
|
setTimeout: function(e, t) {
|
|
4209
4266
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
4210
4267
|
r[i - 2] = arguments[i];
|
|
4211
|
-
return setTimeout.apply(void 0,
|
|
4268
|
+
return setTimeout.apply(void 0, $t([e, t], Ct(r)));
|
|
4212
4269
|
},
|
|
4213
4270
|
clearTimeout: function(e) {
|
|
4214
4271
|
return clearTimeout(e);
|
|
@@ -4220,7 +4277,7 @@ function Qo(e) {
|
|
|
4220
4277
|
throw e;
|
|
4221
4278
|
});
|
|
4222
4279
|
}
|
|
4223
|
-
function
|
|
4280
|
+
function mr() {
|
|
4224
4281
|
}
|
|
4225
4282
|
function tt(e) {
|
|
4226
4283
|
e();
|
|
@@ -4232,7 +4289,7 @@ var ui = function(e) {
|
|
|
4232
4289
|
return i.isStopped = !1, r ? (i.destination = r, ai(r) && r.add(i)) : i.destination = ts, i;
|
|
4233
4290
|
}
|
|
4234
4291
|
return t.create = function(r, i, n) {
|
|
4235
|
-
return new
|
|
4292
|
+
return new Lt(r, i, n);
|
|
4236
4293
|
}, t.prototype.next = function(r) {
|
|
4237
4294
|
this.isStopped || this._next(r);
|
|
4238
4295
|
}, t.prototype.error = function(r) {
|
|
@@ -4256,7 +4313,7 @@ var ui = function(e) {
|
|
|
4256
4313
|
this.unsubscribe();
|
|
4257
4314
|
}
|
|
4258
4315
|
}, t;
|
|
4259
|
-
}(
|
|
4316
|
+
}(ct), Ko = function() {
|
|
4260
4317
|
function e(t) {
|
|
4261
4318
|
this.partialObserver = t;
|
|
4262
4319
|
}
|
|
@@ -4287,7 +4344,7 @@ var ui = function(e) {
|
|
|
4287
4344
|
Ze(r);
|
|
4288
4345
|
}
|
|
4289
4346
|
}, e;
|
|
4290
|
-
}(),
|
|
4347
|
+
}(), Lt = function(e) {
|
|
4291
4348
|
Ge(t, e);
|
|
4292
4349
|
function t(r, i, n) {
|
|
4293
4350
|
var o = e.call(this) || this, s;
|
|
@@ -4307,9 +4364,9 @@ function es(e) {
|
|
|
4307
4364
|
}
|
|
4308
4365
|
var ts = {
|
|
4309
4366
|
closed: !0,
|
|
4310
|
-
next:
|
|
4367
|
+
next: mr,
|
|
4311
4368
|
error: es,
|
|
4312
|
-
complete:
|
|
4369
|
+
complete: mr
|
|
4313
4370
|
}, rs = function() {
|
|
4314
4371
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4315
4372
|
}();
|
|
@@ -4323,7 +4380,7 @@ function ns(e) {
|
|
|
4323
4380
|
}, r);
|
|
4324
4381
|
};
|
|
4325
4382
|
}
|
|
4326
|
-
var
|
|
4383
|
+
var pr = function() {
|
|
4327
4384
|
function e(t) {
|
|
4328
4385
|
t && (this._subscribe = t);
|
|
4329
4386
|
}
|
|
@@ -4331,7 +4388,7 @@ var mr = function() {
|
|
|
4331
4388
|
var r = new e();
|
|
4332
4389
|
return r.source = this, r.operator = t, r;
|
|
4333
4390
|
}, e.prototype.subscribe = function(t, r, i) {
|
|
4334
|
-
var n = this, o = ss(t) ? t : new
|
|
4391
|
+
var n = this, o = ss(t) ? t : new Lt(t, r, i);
|
|
4335
4392
|
return tt(function() {
|
|
4336
4393
|
var s = n, a = s.operator, u = s.source;
|
|
4337
4394
|
o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -4345,7 +4402,7 @@ var mr = function() {
|
|
|
4345
4402
|
}, e.prototype.forEach = function(t, r) {
|
|
4346
4403
|
var i = this;
|
|
4347
4404
|
return r = vr(r), new r(function(n, o) {
|
|
4348
|
-
var s = new
|
|
4405
|
+
var s = new Lt({
|
|
4349
4406
|
next: function(a) {
|
|
4350
4407
|
try {
|
|
4351
4408
|
t(a);
|
|
@@ -4397,7 +4454,7 @@ var as = oi(function(e) {
|
|
|
4397
4454
|
return function() {
|
|
4398
4455
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4399
4456
|
};
|
|
4400
|
-
}),
|
|
4457
|
+
}), fi = function(e) {
|
|
4401
4458
|
Ge(t, e);
|
|
4402
4459
|
function t() {
|
|
4403
4460
|
var r = e.call(this) || this;
|
|
@@ -4416,12 +4473,12 @@ var as = oi(function(e) {
|
|
|
4416
4473
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4417
4474
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
4418
4475
|
try {
|
|
4419
|
-
for (var s =
|
|
4476
|
+
for (var s = Mt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4420
4477
|
var u = a.value;
|
|
4421
4478
|
u.next(r);
|
|
4422
4479
|
}
|
|
4423
|
-
} catch (
|
|
4424
|
-
n = { error:
|
|
4480
|
+
} catch (f) {
|
|
4481
|
+
n = { error: f };
|
|
4425
4482
|
} finally {
|
|
4426
4483
|
try {
|
|
4427
4484
|
a && !a.done && (o = s.return) && o.call(s);
|
|
@@ -4465,19 +4522,19 @@ var as = oi(function(e) {
|
|
|
4465
4522
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
4466
4523
|
}, t.prototype._innerSubscribe = function(r) {
|
|
4467
4524
|
var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4468
|
-
return o || s ? si : (this.currentObservers = null, a.push(r), new
|
|
4469
|
-
i.currentObservers = null,
|
|
4525
|
+
return o || s ? si : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
4526
|
+
i.currentObservers = null, Dt(a, r);
|
|
4470
4527
|
}));
|
|
4471
4528
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
4472
4529
|
var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
|
|
4473
4530
|
n ? r.error(o) : s && r.complete();
|
|
4474
4531
|
}, t.prototype.asObservable = function() {
|
|
4475
|
-
var r = new
|
|
4532
|
+
var r = new pr();
|
|
4476
4533
|
return r.source = this, r;
|
|
4477
4534
|
}, t.create = function(r, i) {
|
|
4478
4535
|
return new gr(r, i);
|
|
4479
4536
|
}, t;
|
|
4480
|
-
}(
|
|
4537
|
+
}(pr), gr = function(e) {
|
|
4481
4538
|
Ge(t, e);
|
|
4482
4539
|
function t(r, i) {
|
|
4483
4540
|
var n = e.call(this) || this;
|
|
@@ -4496,15 +4553,15 @@ var as = oi(function(e) {
|
|
|
4496
4553
|
var i, n;
|
|
4497
4554
|
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : si;
|
|
4498
4555
|
}, t;
|
|
4499
|
-
}(
|
|
4556
|
+
}(fi), li = {
|
|
4500
4557
|
now: function() {
|
|
4501
|
-
return (
|
|
4558
|
+
return (li.delegate || Date).now();
|
|
4502
4559
|
},
|
|
4503
4560
|
delegate: void 0
|
|
4504
4561
|
}, us = function(e) {
|
|
4505
4562
|
Ge(t, e);
|
|
4506
4563
|
function t(r, i, n) {
|
|
4507
|
-
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
4564
|
+
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = li);
|
|
4508
4565
|
var o = e.call(this) || this;
|
|
4509
4566
|
return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
|
|
4510
4567
|
}
|
|
@@ -4519,21 +4576,21 @@ var as = oi(function(e) {
|
|
|
4519
4576
|
}, t.prototype._trimBuffer = function() {
|
|
4520
4577
|
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
|
|
4521
4578
|
if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
4522
|
-
for (var u = n.now(),
|
|
4523
|
-
|
|
4524
|
-
|
|
4579
|
+
for (var u = n.now(), f = 0, c = 1; c < o.length && o[c] <= u; c += 2)
|
|
4580
|
+
f = c;
|
|
4581
|
+
f && o.splice(0, f + 1);
|
|
4525
4582
|
}
|
|
4526
4583
|
}, t;
|
|
4527
|
-
}(
|
|
4528
|
-
const br = [], yr = {},
|
|
4584
|
+
}(fi);
|
|
4585
|
+
const br = [], yr = {}, fs = (e, t = 0) => {
|
|
4529
4586
|
if (br.indexOf(e) == -1) {
|
|
4530
4587
|
const r = new us(t);
|
|
4531
4588
|
yr[e] = r, br.push(e);
|
|
4532
4589
|
}
|
|
4533
4590
|
return yr[e];
|
|
4534
4591
|
};
|
|
4535
|
-
window.emWidgets = { topic:
|
|
4536
|
-
const
|
|
4592
|
+
window.emWidgets = { topic: fs };
|
|
4593
|
+
const ls = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4537
4594
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4538
4595
|
if (typeof window != "undefined") {
|
|
4539
4596
|
let e = function(t) {
|
|
@@ -4547,82 +4604,82 @@ if (typeof window != "undefined") {
|
|
|
4547
4604
|
}
|
|
4548
4605
|
};
|
|
4549
4606
|
};
|
|
4550
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4607
|
+
customElements.define = e(customElements.define), import("./CashierModal-K5PT60sd.js").then(({ default: t }) => {
|
|
4551
4608
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4552
4609
|
});
|
|
4553
4610
|
}
|
|
4554
|
-
var
|
|
4611
|
+
var ci = { exports: {} };
|
|
4555
4612
|
(function(e, t) {
|
|
4556
4613
|
(function(r, i) {
|
|
4557
4614
|
e.exports = i();
|
|
4558
|
-
})(
|
|
4559
|
-
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour",
|
|
4615
|
+
})(Cr, function() {
|
|
4616
|
+
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", f = "day", c = "week", m = "month", p = "quarter", y = "year", _ = "date", d = "Invalid Date", D = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
4560
4617
|
var g = ["th", "st", "nd", "rd"], h = x % 100;
|
|
4561
4618
|
return "[" + x + (g[(h - 20) % 10] || g[h] || g[0]) + "]";
|
|
4562
|
-
} },
|
|
4619
|
+
} }, M = function(x, g, h) {
|
|
4563
4620
|
var b = String(x);
|
|
4564
4621
|
return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(h) + x;
|
|
4565
|
-
}, j = { s:
|
|
4622
|
+
}, j = { s: M, z: function(x) {
|
|
4566
4623
|
var g = -x.utcOffset(), h = Math.abs(g), b = Math.floor(h / 60), v = h % 60;
|
|
4567
|
-
return (g <= 0 ? "+" : "-") +
|
|
4624
|
+
return (g <= 0 ? "+" : "-") + M(b, 2, "0") + ":" + M(v, 2, "0");
|
|
4568
4625
|
}, m: function x(g, h) {
|
|
4569
4626
|
if (g.date() < h.date())
|
|
4570
4627
|
return -x(h, g);
|
|
4571
|
-
var b = 12 * (h.year() - g.year()) + (h.month() - g.month()), v = g.clone().add(b,
|
|
4572
|
-
return +(-(b + (h - v) / (
|
|
4628
|
+
var b = 12 * (h.year() - g.year()) + (h.month() - g.month()), v = g.clone().add(b, m), E = h - v < 0, S = g.clone().add(b + (E ? -1 : 1), m);
|
|
4629
|
+
return +(-(b + (h - v) / (E ? v - S : S - v)) || 0);
|
|
4573
4630
|
}, a: function(x) {
|
|
4574
4631
|
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
4575
4632
|
}, p: function(x) {
|
|
4576
|
-
return { M:
|
|
4633
|
+
return { M: m, y, w: c, d: f, D: _, h: u, m: a, s, ms: o, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
4577
4634
|
}, u: function(x) {
|
|
4578
4635
|
return x === void 0;
|
|
4579
|
-
} },
|
|
4580
|
-
|
|
4581
|
-
var
|
|
4582
|
-
return x instanceof
|
|
4583
|
-
},
|
|
4636
|
+
} }, T = "en", H = {};
|
|
4637
|
+
H[T] = R;
|
|
4638
|
+
var O = "$isDayjsObject", F = function(x) {
|
|
4639
|
+
return x instanceof fe || !(!x || !x[O]);
|
|
4640
|
+
}, $ = function x(g, h, b) {
|
|
4584
4641
|
var v;
|
|
4585
4642
|
if (!g)
|
|
4586
|
-
return
|
|
4643
|
+
return T;
|
|
4587
4644
|
if (typeof g == "string") {
|
|
4588
|
-
var
|
|
4589
|
-
|
|
4645
|
+
var E = g.toLowerCase();
|
|
4646
|
+
H[E] && (v = E), h && (H[E] = h, v = E);
|
|
4590
4647
|
var S = g.split("-");
|
|
4591
4648
|
if (!v && S.length > 1)
|
|
4592
4649
|
return x(S[0]);
|
|
4593
4650
|
} else {
|
|
4594
|
-
var
|
|
4595
|
-
|
|
4651
|
+
var L = g.name;
|
|
4652
|
+
H[L] = g, v = L;
|
|
4596
4653
|
}
|
|
4597
|
-
return !b && v && (
|
|
4654
|
+
return !b && v && (T = v), v || !b && T;
|
|
4598
4655
|
}, U = function(x, g) {
|
|
4599
4656
|
if (F(x))
|
|
4600
4657
|
return x.clone();
|
|
4601
4658
|
var h = typeof g == "object" ? g : {};
|
|
4602
|
-
return h.date = x, h.args = arguments, new
|
|
4603
|
-
},
|
|
4604
|
-
|
|
4659
|
+
return h.date = x, h.args = arguments, new fe(h);
|
|
4660
|
+
}, k = j;
|
|
4661
|
+
k.l = $, k.i = F, k.w = function(x, g) {
|
|
4605
4662
|
return U(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
4606
4663
|
};
|
|
4607
|
-
var
|
|
4664
|
+
var fe = function() {
|
|
4608
4665
|
function x(h) {
|
|
4609
|
-
this.$L =
|
|
4666
|
+
this.$L = $(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[O] = !0;
|
|
4610
4667
|
}
|
|
4611
4668
|
var g = x.prototype;
|
|
4612
4669
|
return g.parse = function(h) {
|
|
4613
4670
|
this.$d = function(b) {
|
|
4614
|
-
var v = b.date,
|
|
4671
|
+
var v = b.date, E = b.utc;
|
|
4615
4672
|
if (v === null)
|
|
4616
4673
|
return /* @__PURE__ */ new Date(NaN);
|
|
4617
|
-
if (
|
|
4674
|
+
if (k.u(v))
|
|
4618
4675
|
return /* @__PURE__ */ new Date();
|
|
4619
4676
|
if (v instanceof Date)
|
|
4620
4677
|
return new Date(v);
|
|
4621
4678
|
if (typeof v == "string" && !/Z$/i.test(v)) {
|
|
4622
|
-
var S = v.match(
|
|
4679
|
+
var S = v.match(D);
|
|
4623
4680
|
if (S) {
|
|
4624
|
-
var
|
|
4625
|
-
return
|
|
4681
|
+
var L = S[2] - 1 || 0, I = (S[7] || "0").substring(0, 3);
|
|
4682
|
+
return E ? new Date(Date.UTC(S[1], L, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, I)) : new Date(S[1], L, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, I);
|
|
4626
4683
|
}
|
|
4627
4684
|
}
|
|
4628
4685
|
return new Date(v);
|
|
@@ -4631,7 +4688,7 @@ var fi = { exports: {} };
|
|
|
4631
4688
|
var h = this.$d;
|
|
4632
4689
|
this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
|
|
4633
4690
|
}, g.$utils = function() {
|
|
4634
|
-
return
|
|
4691
|
+
return k;
|
|
4635
4692
|
}, g.isValid = function() {
|
|
4636
4693
|
return this.$d.toString() !== d;
|
|
4637
4694
|
}, g.isSame = function(h, b) {
|
|
@@ -4642,94 +4699,94 @@ var fi = { exports: {} };
|
|
|
4642
4699
|
}, g.isBefore = function(h, b) {
|
|
4643
4700
|
return this.endOf(b) < U(h);
|
|
4644
4701
|
}, g.$g = function(h, b, v) {
|
|
4645
|
-
return
|
|
4702
|
+
return k.u(h) ? this[b] : this.set(v, h);
|
|
4646
4703
|
}, g.unix = function() {
|
|
4647
4704
|
return Math.floor(this.valueOf() / 1e3);
|
|
4648
4705
|
}, g.valueOf = function() {
|
|
4649
4706
|
return this.$d.getTime();
|
|
4650
4707
|
}, g.startOf = function(h, b) {
|
|
4651
|
-
var v = this,
|
|
4652
|
-
var ie =
|
|
4653
|
-
return
|
|
4654
|
-
},
|
|
4655
|
-
return
|
|
4656
|
-
}, z = this.$W, q = this.$M, Q = this.$D,
|
|
4708
|
+
var v = this, E = !!k.u(b) || b, S = k.p(h), L = function(se, Z) {
|
|
4709
|
+
var ie = k.w(v.$u ? Date.UTC(v.$y, Z, se) : new Date(v.$y, Z, se), v);
|
|
4710
|
+
return E ? ie : ie.endOf(f);
|
|
4711
|
+
}, I = function(se, Z) {
|
|
4712
|
+
return k.w(v.toDate()[se].apply(v.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), v);
|
|
4713
|
+
}, z = this.$W, q = this.$M, Q = this.$D, le = "set" + (this.$u ? "UTC" : "");
|
|
4657
4714
|
switch (S) {
|
|
4658
4715
|
case y:
|
|
4659
|
-
return
|
|
4660
|
-
case
|
|
4661
|
-
return
|
|
4716
|
+
return E ? L(1, 0) : L(31, 11);
|
|
4717
|
+
case m:
|
|
4718
|
+
return E ? L(1, q) : L(0, q + 1);
|
|
4719
|
+
case c:
|
|
4720
|
+
var oe = this.$locale().weekStart || 0, ce = (z < oe ? z + 7 : z) - oe;
|
|
4721
|
+
return L(E ? Q - ce : Q + (6 - ce), q);
|
|
4662
4722
|
case f:
|
|
4663
|
-
var oe = this.$locale().weekStart || 0, fe = (z < oe ? z + 7 : z) - oe;
|
|
4664
|
-
return D(w ? Q - fe : Q + (6 - fe), q);
|
|
4665
|
-
case l:
|
|
4666
4723
|
case _:
|
|
4667
|
-
return
|
|
4724
|
+
return I(le + "Hours", 0);
|
|
4668
4725
|
case u:
|
|
4669
|
-
return
|
|
4726
|
+
return I(le + "Minutes", 1);
|
|
4670
4727
|
case a:
|
|
4671
|
-
return
|
|
4728
|
+
return I(le + "Seconds", 2);
|
|
4672
4729
|
case s:
|
|
4673
|
-
return
|
|
4730
|
+
return I(le + "Milliseconds", 3);
|
|
4674
4731
|
default:
|
|
4675
4732
|
return this.clone();
|
|
4676
4733
|
}
|
|
4677
4734
|
}, g.endOf = function(h) {
|
|
4678
4735
|
return this.startOf(h, !1);
|
|
4679
4736
|
}, g.$set = function(h, b) {
|
|
4680
|
-
var v,
|
|
4681
|
-
if (
|
|
4737
|
+
var v, E = k.p(h), S = "set" + (this.$u ? "UTC" : ""), L = (v = {}, v[f] = S + "Date", v[_] = S + "Date", v[m] = S + "Month", v[y] = S + "FullYear", v[u] = S + "Hours", v[a] = S + "Minutes", v[s] = S + "Seconds", v[o] = S + "Milliseconds", v)[E], I = E === f ? this.$D + (b - this.$W) : b;
|
|
4738
|
+
if (E === m || E === y) {
|
|
4682
4739
|
var z = this.clone().set(_, 1);
|
|
4683
|
-
z.$d[
|
|
4740
|
+
z.$d[L](I), z.init(), this.$d = z.set(_, Math.min(this.$D, z.daysInMonth())).$d;
|
|
4684
4741
|
} else
|
|
4685
|
-
|
|
4742
|
+
L && this.$d[L](I);
|
|
4686
4743
|
return this.init(), this;
|
|
4687
4744
|
}, g.set = function(h, b) {
|
|
4688
4745
|
return this.clone().$set(h, b);
|
|
4689
4746
|
}, g.get = function(h) {
|
|
4690
|
-
return this[
|
|
4747
|
+
return this[k.p(h)]();
|
|
4691
4748
|
}, g.add = function(h, b) {
|
|
4692
|
-
var v,
|
|
4749
|
+
var v, E = this;
|
|
4693
4750
|
h = Number(h);
|
|
4694
|
-
var S =
|
|
4695
|
-
var Q = U(
|
|
4696
|
-
return
|
|
4751
|
+
var S = k.p(b), L = function(q) {
|
|
4752
|
+
var Q = U(E);
|
|
4753
|
+
return k.w(Q.date(Q.date() + Math.round(q * h)), E);
|
|
4697
4754
|
};
|
|
4698
|
-
if (S ===
|
|
4699
|
-
return this.set(
|
|
4755
|
+
if (S === m)
|
|
4756
|
+
return this.set(m, this.$M + h);
|
|
4700
4757
|
if (S === y)
|
|
4701
4758
|
return this.set(y, this.$y + h);
|
|
4702
|
-
if (S === l)
|
|
4703
|
-
return D(1);
|
|
4704
4759
|
if (S === f)
|
|
4705
|
-
return
|
|
4706
|
-
|
|
4707
|
-
|
|
4760
|
+
return L(1);
|
|
4761
|
+
if (S === c)
|
|
4762
|
+
return L(7);
|
|
4763
|
+
var I = (v = {}, v[a] = i, v[u] = n, v[s] = r, v)[S] || 1, z = this.$d.getTime() + h * I;
|
|
4764
|
+
return k.w(z, this);
|
|
4708
4765
|
}, g.subtract = function(h, b) {
|
|
4709
4766
|
return this.add(-1 * h, b);
|
|
4710
4767
|
}, g.format = function(h) {
|
|
4711
4768
|
var b = this, v = this.$locale();
|
|
4712
4769
|
if (!this.isValid())
|
|
4713
4770
|
return v.invalidDate || d;
|
|
4714
|
-
var
|
|
4715
|
-
return Z && (Z[ie] || Z(b,
|
|
4716
|
-
},
|
|
4717
|
-
return
|
|
4718
|
-
}, se =
|
|
4771
|
+
var E = h || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), L = this.$H, I = this.$m, z = this.$M, q = v.weekdays, Q = v.months, le = v.meridiem, oe = function(Z, ie, ve, _e) {
|
|
4772
|
+
return Z && (Z[ie] || Z(b, E)) || ve[ie].slice(0, _e);
|
|
4773
|
+
}, ce = function(Z) {
|
|
4774
|
+
return k.s(L % 12 || 12, Z, "0");
|
|
4775
|
+
}, se = le || function(Z, ie, ve) {
|
|
4719
4776
|
var _e = Z < 12 ? "AM" : "PM";
|
|
4720
4777
|
return ve ? _e.toLowerCase() : _e;
|
|
4721
4778
|
};
|
|
4722
|
-
return
|
|
4779
|
+
return E.replace(G, function(Z, ie) {
|
|
4723
4780
|
return ie || function(ve) {
|
|
4724
4781
|
switch (ve) {
|
|
4725
4782
|
case "YY":
|
|
4726
4783
|
return String(b.$y).slice(-2);
|
|
4727
4784
|
case "YYYY":
|
|
4728
|
-
return
|
|
4785
|
+
return k.s(b.$y, 4, "0");
|
|
4729
4786
|
case "M":
|
|
4730
4787
|
return z + 1;
|
|
4731
4788
|
case "MM":
|
|
4732
|
-
return
|
|
4789
|
+
return k.s(z + 1, 2, "0");
|
|
4733
4790
|
case "MMM":
|
|
4734
4791
|
return oe(v.monthsShort, z, Q, 3);
|
|
4735
4792
|
case "MMMM":
|
|
@@ -4737,7 +4794,7 @@ var fi = { exports: {} };
|
|
|
4737
4794
|
case "D":
|
|
4738
4795
|
return b.$D;
|
|
4739
4796
|
case "DD":
|
|
4740
|
-
return
|
|
4797
|
+
return k.s(b.$D, 2, "0");
|
|
4741
4798
|
case "d":
|
|
4742
4799
|
return String(b.$W);
|
|
4743
4800
|
case "dd":
|
|
@@ -4747,27 +4804,27 @@ var fi = { exports: {} };
|
|
|
4747
4804
|
case "dddd":
|
|
4748
4805
|
return q[b.$W];
|
|
4749
4806
|
case "H":
|
|
4750
|
-
return String(
|
|
4807
|
+
return String(L);
|
|
4751
4808
|
case "HH":
|
|
4752
|
-
return
|
|
4809
|
+
return k.s(L, 2, "0");
|
|
4753
4810
|
case "h":
|
|
4754
|
-
return
|
|
4811
|
+
return ce(1);
|
|
4755
4812
|
case "hh":
|
|
4756
|
-
return
|
|
4813
|
+
return ce(2);
|
|
4757
4814
|
case "a":
|
|
4758
|
-
return se(
|
|
4815
|
+
return se(L, I, !0);
|
|
4759
4816
|
case "A":
|
|
4760
|
-
return se(
|
|
4817
|
+
return se(L, I, !1);
|
|
4761
4818
|
case "m":
|
|
4762
|
-
return String(
|
|
4819
|
+
return String(I);
|
|
4763
4820
|
case "mm":
|
|
4764
|
-
return
|
|
4821
|
+
return k.s(I, 2, "0");
|
|
4765
4822
|
case "s":
|
|
4766
4823
|
return String(b.$s);
|
|
4767
4824
|
case "ss":
|
|
4768
|
-
return
|
|
4825
|
+
return k.s(b.$s, 2, "0");
|
|
4769
4826
|
case "SSS":
|
|
4770
|
-
return
|
|
4827
|
+
return k.s(b.$ms, 3, "0");
|
|
4771
4828
|
case "Z":
|
|
4772
4829
|
return S;
|
|
4773
4830
|
}
|
|
@@ -4777,49 +4834,49 @@ var fi = { exports: {} };
|
|
|
4777
4834
|
}, g.utcOffset = function() {
|
|
4778
4835
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4779
4836
|
}, g.diff = function(h, b, v) {
|
|
4780
|
-
var
|
|
4781
|
-
return
|
|
4837
|
+
var E, S = this, L = k.p(b), I = U(h), z = (I.utcOffset() - this.utcOffset()) * i, q = this - I, Q = function() {
|
|
4838
|
+
return k.m(S, I);
|
|
4782
4839
|
};
|
|
4783
|
-
switch (
|
|
4840
|
+
switch (L) {
|
|
4784
4841
|
case y:
|
|
4785
|
-
|
|
4842
|
+
E = Q() / 12;
|
|
4843
|
+
break;
|
|
4844
|
+
case m:
|
|
4845
|
+
E = Q();
|
|
4786
4846
|
break;
|
|
4787
4847
|
case p:
|
|
4788
|
-
|
|
4848
|
+
E = Q() / 3;
|
|
4789
4849
|
break;
|
|
4790
|
-
case
|
|
4791
|
-
|
|
4850
|
+
case c:
|
|
4851
|
+
E = (q - z) / 6048e5;
|
|
4792
4852
|
break;
|
|
4793
4853
|
case f:
|
|
4794
|
-
|
|
4795
|
-
break;
|
|
4796
|
-
case l:
|
|
4797
|
-
w = (q - z) / 864e5;
|
|
4854
|
+
E = (q - z) / 864e5;
|
|
4798
4855
|
break;
|
|
4799
4856
|
case u:
|
|
4800
|
-
|
|
4857
|
+
E = q / n;
|
|
4801
4858
|
break;
|
|
4802
4859
|
case a:
|
|
4803
|
-
|
|
4860
|
+
E = q / i;
|
|
4804
4861
|
break;
|
|
4805
4862
|
case s:
|
|
4806
|
-
|
|
4863
|
+
E = q / r;
|
|
4807
4864
|
break;
|
|
4808
4865
|
default:
|
|
4809
|
-
|
|
4866
|
+
E = q;
|
|
4810
4867
|
}
|
|
4811
|
-
return v ?
|
|
4868
|
+
return v ? E : k.a(E);
|
|
4812
4869
|
}, g.daysInMonth = function() {
|
|
4813
|
-
return this.endOf(
|
|
4870
|
+
return this.endOf(m).$D;
|
|
4814
4871
|
}, g.$locale = function() {
|
|
4815
|
-
return
|
|
4872
|
+
return H[this.$L];
|
|
4816
4873
|
}, g.locale = function(h, b) {
|
|
4817
4874
|
if (!h)
|
|
4818
4875
|
return this.$L;
|
|
4819
|
-
var v = this.clone(),
|
|
4820
|
-
return
|
|
4876
|
+
var v = this.clone(), E = $(h, b, !0);
|
|
4877
|
+
return E && (v.$L = E), v;
|
|
4821
4878
|
}, g.clone = function() {
|
|
4822
|
-
return
|
|
4879
|
+
return k.w(this.$d, this);
|
|
4823
4880
|
}, g.toDate = function() {
|
|
4824
4881
|
return new Date(this.valueOf());
|
|
4825
4882
|
}, g.toJSON = function() {
|
|
@@ -4829,77 +4886,77 @@ var fi = { exports: {} };
|
|
|
4829
4886
|
}, g.toString = function() {
|
|
4830
4887
|
return this.$d.toUTCString();
|
|
4831
4888
|
}, x;
|
|
4832
|
-
}(), je =
|
|
4833
|
-
return U.prototype = je, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W",
|
|
4889
|
+
}(), je = fe.prototype;
|
|
4890
|
+
return U.prototype = je, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", f], ["$M", m], ["$y", y], ["$D", _]].forEach(function(x) {
|
|
4834
4891
|
je[x[1]] = function(g) {
|
|
4835
4892
|
return this.$g(g, x[0], x[1]);
|
|
4836
4893
|
};
|
|
4837
4894
|
}), U.extend = function(x, g) {
|
|
4838
|
-
return x.$i || (x(g,
|
|
4839
|
-
}, U.locale =
|
|
4895
|
+
return x.$i || (x(g, fe, U), x.$i = !0), U;
|
|
4896
|
+
}, U.locale = $, U.isDayjs = F, U.unix = function(x) {
|
|
4840
4897
|
return U(1e3 * x);
|
|
4841
|
-
}, U.en =
|
|
4898
|
+
}, U.en = H[T], U.Ls = H, U.p = {}, U;
|
|
4842
4899
|
});
|
|
4843
|
-
})(
|
|
4844
|
-
var
|
|
4845
|
-
const _r = /* @__PURE__ */
|
|
4900
|
+
})(ci);
|
|
4901
|
+
var cs = ci.exports;
|
|
4902
|
+
const _r = /* @__PURE__ */ Rt(cs);
|
|
4846
4903
|
var hi = { exports: {} };
|
|
4847
4904
|
(function(e, t) {
|
|
4848
4905
|
(function(r, i) {
|
|
4849
4906
|
e.exports = i();
|
|
4850
|
-
})(
|
|
4907
|
+
})(Cr, function() {
|
|
4851
4908
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
4852
4909
|
return function(o, s, a) {
|
|
4853
4910
|
var u = s.prototype;
|
|
4854
4911
|
a.utc = function(d) {
|
|
4855
|
-
var
|
|
4856
|
-
return new s(
|
|
4912
|
+
var D = { date: d, utc: !0, args: arguments };
|
|
4913
|
+
return new s(D);
|
|
4857
4914
|
}, u.utc = function(d) {
|
|
4858
|
-
var
|
|
4859
|
-
return d ?
|
|
4915
|
+
var D = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4916
|
+
return d ? D.add(this.utcOffset(), r) : D;
|
|
4860
4917
|
}, u.local = function() {
|
|
4861
4918
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4862
4919
|
};
|
|
4863
|
-
var
|
|
4920
|
+
var f = u.parse;
|
|
4864
4921
|
u.parse = function(d) {
|
|
4865
|
-
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset),
|
|
4922
|
+
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), f.call(this, d);
|
|
4866
4923
|
};
|
|
4867
|
-
var
|
|
4924
|
+
var c = u.init;
|
|
4868
4925
|
u.init = function() {
|
|
4869
4926
|
if (this.$u) {
|
|
4870
4927
|
var d = this.$d;
|
|
4871
4928
|
this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
|
|
4872
4929
|
} else
|
|
4873
|
-
|
|
4930
|
+
c.call(this);
|
|
4874
4931
|
};
|
|
4875
|
-
var
|
|
4876
|
-
u.utcOffset = function(d,
|
|
4932
|
+
var m = u.utcOffset;
|
|
4933
|
+
u.utcOffset = function(d, D) {
|
|
4877
4934
|
var G = this.$utils().u;
|
|
4878
4935
|
if (G(d))
|
|
4879
|
-
return this.$u ? 0 : G(this.$offset) ?
|
|
4880
|
-
if (typeof d == "string" && (d = function(
|
|
4881
|
-
|
|
4882
|
-
var
|
|
4883
|
-
if (!
|
|
4936
|
+
return this.$u ? 0 : G(this.$offset) ? m.call(this) : this.$offset;
|
|
4937
|
+
if (typeof d == "string" && (d = function(T) {
|
|
4938
|
+
T === void 0 && (T = "");
|
|
4939
|
+
var H = T.match(i);
|
|
4940
|
+
if (!H)
|
|
4884
4941
|
return null;
|
|
4885
|
-
var
|
|
4886
|
-
return
|
|
4942
|
+
var O = ("" + H[0]).match(n) || ["-", 0, 0], F = O[0], $ = 60 * +O[1] + +O[2];
|
|
4943
|
+
return $ === 0 ? 0 : F === "+" ? $ : -$;
|
|
4887
4944
|
}(d), d === null))
|
|
4888
4945
|
return this;
|
|
4889
|
-
var
|
|
4890
|
-
if (
|
|
4891
|
-
return
|
|
4946
|
+
var R = Math.abs(d) <= 16 ? 60 * d : d, M = this;
|
|
4947
|
+
if (D)
|
|
4948
|
+
return M.$offset = R, M.$u = d === 0, M;
|
|
4892
4949
|
if (d !== 0) {
|
|
4893
4950
|
var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4894
|
-
(
|
|
4951
|
+
(M = this.local().add(R + j, r)).$offset = R, M.$x.$localOffset = j;
|
|
4895
4952
|
} else
|
|
4896
|
-
|
|
4897
|
-
return
|
|
4953
|
+
M = this.utc();
|
|
4954
|
+
return M;
|
|
4898
4955
|
};
|
|
4899
|
-
var
|
|
4956
|
+
var p = u.format;
|
|
4900
4957
|
u.format = function(d) {
|
|
4901
|
-
var
|
|
4902
|
-
return
|
|
4958
|
+
var D = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4959
|
+
return p.call(this, D);
|
|
4903
4960
|
}, u.valueOf = function() {
|
|
4904
4961
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4905
4962
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -4915,39 +4972,39 @@ var hi = { exports: {} };
|
|
|
4915
4972
|
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
|
|
4916
4973
|
};
|
|
4917
4974
|
var _ = u.diff;
|
|
4918
|
-
u.diff = function(d,
|
|
4975
|
+
u.diff = function(d, D, G) {
|
|
4919
4976
|
if (d && this.$u === d.$u)
|
|
4920
|
-
return _.call(this, d,
|
|
4921
|
-
var
|
|
4922
|
-
return _.call(
|
|
4977
|
+
return _.call(this, d, D, G);
|
|
4978
|
+
var R = this.local(), M = a(d).local();
|
|
4979
|
+
return _.call(R, M, D, G);
|
|
4923
4980
|
};
|
|
4924
4981
|
};
|
|
4925
4982
|
});
|
|
4926
4983
|
})(hi);
|
|
4927
4984
|
var hs = hi.exports;
|
|
4928
|
-
const ds = /* @__PURE__ */
|
|
4929
|
-
function
|
|
4930
|
-
|
|
4985
|
+
const ds = /* @__PURE__ */ Rt(hs);
|
|
4986
|
+
function ms(e) {
|
|
4987
|
+
ki(e, "svelte-1kmyt1l", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:var(--verifications-list-height, 0);transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
4931
4988
|
}
|
|
4932
4989
|
function xr(e, t, r) {
|
|
4933
4990
|
const i = e.slice();
|
|
4934
4991
|
return i[58] = t[r], i;
|
|
4935
4992
|
}
|
|
4936
|
-
function
|
|
4993
|
+
function ps(e) {
|
|
4937
4994
|
let t, r = (
|
|
4938
4995
|
/*displayMessages*/
|
|
4939
|
-
e[3].length > 0 &&
|
|
4996
|
+
e[3].length > 0 && wr(e)
|
|
4940
4997
|
);
|
|
4941
4998
|
return {
|
|
4942
4999
|
c() {
|
|
4943
|
-
t = Y("div"), r && r.c(),
|
|
5000
|
+
t = Y("div"), r && r.c(), B(t, "class", "CashierVerificationsWrapper");
|
|
4944
5001
|
},
|
|
4945
5002
|
m(i, n) {
|
|
4946
5003
|
ae(i, t, n), r && r.m(t, null);
|
|
4947
5004
|
},
|
|
4948
5005
|
p(i, n) {
|
|
4949
5006
|
/*displayMessages*/
|
|
4950
|
-
i[3].length > 0 ? r ? r.p(i, n) : (r =
|
|
5007
|
+
i[3].length > 0 ? r ? r.p(i, n) : (r = wr(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4951
5008
|
},
|
|
4952
5009
|
d(i) {
|
|
4953
5010
|
i && re(t), r && r.d();
|
|
@@ -4993,104 +5050,104 @@ function vs(e) {
|
|
|
4993
5050
|
}
|
|
4994
5051
|
};
|
|
4995
5052
|
}
|
|
4996
|
-
function
|
|
5053
|
+
function wr(e) {
|
|
4997
5054
|
let t, r, i, n, o, s, a, u = (
|
|
4998
5055
|
/*$_*/
|
|
4999
5056
|
e[9]("verificationsRequired") + ""
|
|
5000
|
-
),
|
|
5001
|
-
e[8]}px`,
|
|
5057
|
+
), f, c, m, p, y, _, d, D, G = `${/*verificationsListHeight*/
|
|
5058
|
+
e[8]}px`, R, M, j = Zt(
|
|
5002
5059
|
/*displayMessages*/
|
|
5003
5060
|
e[3]
|
|
5004
|
-
),
|
|
5005
|
-
for (let
|
|
5006
|
-
O
|
|
5007
|
-
let
|
|
5061
|
+
), T = [];
|
|
5062
|
+
for (let O = 0; O < j.length; O += 1)
|
|
5063
|
+
T[O] = Er(xr(e, j, O));
|
|
5064
|
+
let H = (
|
|
5008
5065
|
/*videoExists*/
|
|
5009
5066
|
e[6] && Sr(e)
|
|
5010
5067
|
);
|
|
5011
5068
|
return {
|
|
5012
5069
|
c() {
|
|
5013
|
-
t = Y("div"), r = We("svg"), i = We("path"), n = We("path"), o = We("path"), s =
|
|
5014
|
-
for (let
|
|
5015
|
-
O
|
|
5016
|
-
d =
|
|
5017
|
-
|
|
5070
|
+
t = Y("div"), r = We("svg"), i = We("path"), n = We("path"), o = We("path"), s = Oe(), a = Y("p"), f = Nt(u), c = Oe(), m = Y("span"), m.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', p = Oe(), y = Y("div"), _ = Y("div");
|
|
5071
|
+
for (let O = 0; O < T.length; O += 1)
|
|
5072
|
+
T[O].c();
|
|
5073
|
+
d = Oe(), H && H.c(), B(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), B(i, "stroke", "#6E738F"), B(i, "stroke-width", "2"), B(i, "stroke-linecap", "round"), B(i, "stroke-linejoin", "round"), B(n, "d", "M12 8V12"), B(n, "stroke", "#6E738F"), B(n, "stroke-width", "2"), B(n, "stroke-linecap", "round"), B(n, "stroke-linejoin", "round"), B(o, "d", "M12 16H12.01"), B(o, "stroke", "#6E738F"), B(o, "stroke-width", "2"), B(o, "stroke-linecap", "round"), B(o, "stroke-linejoin", "round"), B(r, "width", "24"), B(r, "height", "24"), B(r, "viewBox", "0 0 24 24"), B(r, "fill", "none"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(m, "class", "CashierVerificationChevron"), de(
|
|
5074
|
+
m,
|
|
5018
5075
|
"ShowVerifications",
|
|
5019
5076
|
/*allVerificationsVisible*/
|
|
5020
5077
|
e[4]
|
|
5021
|
-
),
|
|
5078
|
+
), B(t, "class", "VerificationsHeader"), B(_, "class", "VerificationsListInner"), it(() => (
|
|
5022
5079
|
/*div1_elementresize_handler*/
|
|
5023
5080
|
e[21].call(_)
|
|
5024
|
-
)),
|
|
5081
|
+
)), B(y, "class", "VerificationsList"), de(
|
|
5025
5082
|
y,
|
|
5026
5083
|
"ShowVerifications",
|
|
5027
5084
|
/*allVerificationsVisible*/
|
|
5028
5085
|
e[4]
|
|
5029
5086
|
), qt(y, "--verifications-list-height", G);
|
|
5030
5087
|
},
|
|
5031
|
-
m(
|
|
5032
|
-
ae(
|
|
5033
|
-
for (let
|
|
5034
|
-
|
|
5035
|
-
W(_, d),
|
|
5088
|
+
m(O, F) {
|
|
5089
|
+
ae(O, t, F), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, f), W(t, c), W(t, m), ae(O, p, F), ae(O, y, F), W(y, _);
|
|
5090
|
+
for (let $ = 0; $ < T.length; $ += 1)
|
|
5091
|
+
T[$] && T[$].m(_, null);
|
|
5092
|
+
W(_, d), H && H.m(_, null), D = Ii(
|
|
5036
5093
|
_,
|
|
5037
5094
|
/*div1_elementresize_handler*/
|
|
5038
5095
|
e[21].bind(_)
|
|
5039
|
-
),
|
|
5096
|
+
), R || (M = rt(
|
|
5040
5097
|
t,
|
|
5041
5098
|
"click",
|
|
5042
5099
|
/*toggleVerifications*/
|
|
5043
5100
|
e[10]
|
|
5044
|
-
),
|
|
5101
|
+
), R = !0);
|
|
5045
5102
|
},
|
|
5046
|
-
p(
|
|
5103
|
+
p(O, F) {
|
|
5047
5104
|
if (F[0] & /*$_*/
|
|
5048
5105
|
512 && u !== (u = /*$_*/
|
|
5049
|
-
|
|
5106
|
+
O[9]("verificationsRequired") + "") && Br(f, u), F[0] & /*allVerificationsVisible*/
|
|
5050
5107
|
16 && de(
|
|
5051
|
-
|
|
5108
|
+
m,
|
|
5052
5109
|
"ShowVerifications",
|
|
5053
5110
|
/*allVerificationsVisible*/
|
|
5054
|
-
|
|
5111
|
+
O[4]
|
|
5055
5112
|
), F[0] & /*displayMessages*/
|
|
5056
5113
|
8) {
|
|
5057
5114
|
j = Zt(
|
|
5058
5115
|
/*displayMessages*/
|
|
5059
|
-
|
|
5116
|
+
O[3]
|
|
5060
5117
|
);
|
|
5061
|
-
let
|
|
5062
|
-
for (
|
|
5063
|
-
const U = xr(
|
|
5064
|
-
|
|
5118
|
+
let $;
|
|
5119
|
+
for ($ = 0; $ < j.length; $ += 1) {
|
|
5120
|
+
const U = xr(O, j, $);
|
|
5121
|
+
T[$] ? T[$].p(U, F) : (T[$] = Er(U), T[$].c(), T[$].m(_, d));
|
|
5065
5122
|
}
|
|
5066
|
-
for (;
|
|
5067
|
-
|
|
5068
|
-
|
|
5123
|
+
for (; $ < T.length; $ += 1)
|
|
5124
|
+
T[$].d(1);
|
|
5125
|
+
T.length = j.length;
|
|
5069
5126
|
}
|
|
5070
5127
|
/*videoExists*/
|
|
5071
|
-
|
|
5128
|
+
O[6] ? H ? H.p(O, F) : (H = Sr(O), H.c(), H.m(_, null)) : H && (H.d(1), H = null), F[0] & /*allVerificationsVisible*/
|
|
5072
5129
|
16 && de(
|
|
5073
5130
|
y,
|
|
5074
5131
|
"ShowVerifications",
|
|
5075
5132
|
/*allVerificationsVisible*/
|
|
5076
|
-
|
|
5133
|
+
O[4]
|
|
5077
5134
|
), F[0] & /*verificationsListHeight*/
|
|
5078
5135
|
256 && G !== (G = `${/*verificationsListHeight*/
|
|
5079
|
-
|
|
5136
|
+
O[8]}px`) && qt(y, "--verifications-list-height", G);
|
|
5080
5137
|
},
|
|
5081
|
-
d(
|
|
5082
|
-
|
|
5138
|
+
d(O) {
|
|
5139
|
+
O && (re(t), re(p), re(y)), $i(T, O), H && H.d(), D(), R = !1, M();
|
|
5083
5140
|
}
|
|
5084
5141
|
};
|
|
5085
5142
|
}
|
|
5086
|
-
function
|
|
5143
|
+
function Er(e) {
|
|
5087
5144
|
let t, r, i, n, o = (
|
|
5088
5145
|
/*message*/
|
|
5089
5146
|
e[58] + ""
|
|
5090
5147
|
);
|
|
5091
5148
|
return {
|
|
5092
5149
|
c() {
|
|
5093
|
-
t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i =
|
|
5150
|
+
t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Oe(), n = Y("p"), B(r, "class", "IconVerification"), B(n, "class", "text"), B(t, "class", "CashierVerificationMessage Test");
|
|
5094
5151
|
},
|
|
5095
5152
|
m(s, a) {
|
|
5096
5153
|
ae(s, t, a), W(t, r), W(t, i), W(t, n), n.innerHTML = o;
|
|
@@ -5112,34 +5169,34 @@ function Sr(e) {
|
|
|
5112
5169
|
), s, a, u;
|
|
5113
5170
|
return {
|
|
5114
5171
|
c() {
|
|
5115
|
-
t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i =
|
|
5172
|
+
t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Oe(), n = Y("div"), s = Nt(o), B(r, "class", "IconVideo"), B(n, "class", "CashierVerificationVideoLink"), de(
|
|
5116
5173
|
n,
|
|
5117
5174
|
"CashierVerificationVideoLinkDesktop",
|
|
5118
5175
|
/*desktopView*/
|
|
5119
5176
|
e[5]
|
|
5120
|
-
),
|
|
5177
|
+
), B(t, "class", "CashierVerificationVideo Test");
|
|
5121
5178
|
},
|
|
5122
|
-
m(
|
|
5123
|
-
ae(
|
|
5179
|
+
m(f, c) {
|
|
5180
|
+
ae(f, t, c), W(t, r), W(t, i), W(t, n), W(n, s), a || (u = rt(
|
|
5124
5181
|
t,
|
|
5125
5182
|
"click",
|
|
5126
5183
|
/*showVideo*/
|
|
5127
5184
|
e[11]
|
|
5128
5185
|
), a = !0);
|
|
5129
5186
|
},
|
|
5130
|
-
p(
|
|
5131
|
-
|
|
5187
|
+
p(f, c) {
|
|
5188
|
+
c[0] & /*$_*/
|
|
5132
5189
|
512 && o !== (o = /*$_*/
|
|
5133
|
-
|
|
5190
|
+
f[9]("verification.video.how-to") + "") && Br(s, o), c[0] & /*desktopView*/
|
|
5134
5191
|
32 && de(
|
|
5135
5192
|
n,
|
|
5136
5193
|
"CashierVerificationVideoLinkDesktop",
|
|
5137
5194
|
/*desktopView*/
|
|
5138
|
-
|
|
5195
|
+
f[5]
|
|
5139
5196
|
);
|
|
5140
5197
|
},
|
|
5141
|
-
d(
|
|
5142
|
-
|
|
5198
|
+
d(f) {
|
|
5199
|
+
f && re(t), a = !1, u();
|
|
5143
5200
|
}
|
|
5144
5201
|
};
|
|
5145
5202
|
}
|
|
@@ -5155,12 +5212,12 @@ function gs(e) {
|
|
|
5155
5212
|
/*displayMessages*/
|
|
5156
5213
|
o[3]
|
|
5157
5214
|
)
|
|
5158
|
-
return
|
|
5215
|
+
return ps;
|
|
5159
5216
|
}
|
|
5160
5217
|
let i = r(e), n = i && i(e);
|
|
5161
5218
|
return {
|
|
5162
5219
|
c() {
|
|
5163
|
-
t = Y("div"), n && n.c(),
|
|
5220
|
+
t = Y("div"), n && n.c(), B(t, "class", "CashierVerifications"), de(
|
|
5164
5221
|
t,
|
|
5165
5222
|
"CashierVerificationsDesktop",
|
|
5166
5223
|
/*desktopView*/
|
|
@@ -5189,157 +5246,157 @@ function gs(e) {
|
|
|
5189
5246
|
const bs = "verification_explanation_video_widgets.MP4";
|
|
5190
5247
|
function ys(e, t, r) {
|
|
5191
5248
|
let i, n;
|
|
5192
|
-
Xt(e, Fo, (
|
|
5193
|
-
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl:
|
|
5249
|
+
Xt(e, Fo, (l) => r(9, i = l)), Xt(e, jo, (l) => r(31, n = l)), _r.extend(ds);
|
|
5250
|
+
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { session: c = "" } = t, { customerid: m = "" } = t, { playersession: p = "" } = t, { userroles: y = "" } = t, { mbsource: _ = "" } = t, d, D = /* @__PURE__ */ new Set(), G = /* @__PURE__ */ new Set(), R, M, j, T = !1, H = !0, O = !1, F = "", $ = !1, U, k = [], fe = 0, je = window.navigator.userAgent;
|
|
5194
5251
|
var x;
|
|
5195
|
-
(function(
|
|
5196
|
-
|
|
5252
|
+
(function(l) {
|
|
5253
|
+
l.Manual = "Manual", l.ShuftiPro = "ShuftiPro";
|
|
5197
5254
|
})(x || (x = {}));
|
|
5198
5255
|
var g;
|
|
5199
|
-
(function(
|
|
5200
|
-
|
|
5256
|
+
(function(l) {
|
|
5257
|
+
l.Requested = "Requested";
|
|
5201
5258
|
})(g || (g = {}));
|
|
5202
5259
|
var h;
|
|
5203
|
-
(function(
|
|
5204
|
-
|
|
5260
|
+
(function(l) {
|
|
5261
|
+
l.Unknown = "Unknown", l.Unverified = "Unverified", l.InProgress = "InProgress", l.Failed = "Failed", l.Verified = "Verified", l.Referred = "Referred", l.True = "True", l.False = "False", l.AwaitingForResponse = "AwaitingForResponse";
|
|
5205
5262
|
})(h || (h = {}));
|
|
5206
5263
|
var b;
|
|
5207
|
-
(function(
|
|
5208
|
-
|
|
5264
|
+
(function(l) {
|
|
5265
|
+
l.Unknown = "Unknown", l.Documents = "Documents", l.Age = "Age", l.Pep = "Pep", l.Sanction = "Sanction", l.Aml = "Aml", l.ProofOfAddress = "ProofOfAddress", l.SourceOfWealth = "SourceOfWealth", l.SocialMedia = "SocialMedia", l.Biometric = "Biometric";
|
|
5209
5266
|
})(b || (b = {}));
|
|
5210
|
-
const v = (
|
|
5211
|
-
|
|
5267
|
+
const v = (l) => {
|
|
5268
|
+
l.data && l.data.type;
|
|
5212
5269
|
};
|
|
5213
5270
|
Ui(() => (window.addEventListener("message", v), bi(), () => {
|
|
5214
5271
|
window.removeEventListener("message", v);
|
|
5215
5272
|
}));
|
|
5216
|
-
const
|
|
5273
|
+
const E = [
|
|
5217
5274
|
h.InProgress,
|
|
5218
5275
|
h.Referred,
|
|
5219
5276
|
h.AwaitingForResponse
|
|
5220
5277
|
], S = () => {
|
|
5221
|
-
let
|
|
5222
|
-
if (
|
|
5223
|
-
return fetch(
|
|
5224
|
-
Object.keys(
|
|
5225
|
-
|
|
5278
|
+
let l = a;
|
|
5279
|
+
if (l)
|
|
5280
|
+
return fetch(l).then((w) => w.json()).then((w) => {
|
|
5281
|
+
Object.keys(w).forEach((C) => {
|
|
5282
|
+
cr(C, w[C]);
|
|
5226
5283
|
});
|
|
5227
|
-
}).catch((
|
|
5228
|
-
console.log(
|
|
5284
|
+
}).catch((w) => {
|
|
5285
|
+
console.log(w);
|
|
5229
5286
|
});
|
|
5230
5287
|
};
|
|
5231
|
-
Object.keys(hr).forEach((
|
|
5232
|
-
|
|
5288
|
+
Object.keys(hr).forEach((l) => {
|
|
5289
|
+
cr(l, hr[l]);
|
|
5233
5290
|
});
|
|
5234
|
-
const
|
|
5291
|
+
const L = () => {
|
|
5235
5292
|
Go(s);
|
|
5236
|
-
},
|
|
5237
|
-
r(20,
|
|
5238
|
-
const
|
|
5239
|
-
|
|
5240
|
-
const
|
|
5293
|
+
}, I = () => {
|
|
5294
|
+
r(20, M = Q());
|
|
5295
|
+
const l = new URL(`${o}/v1/player/${m}/verification/GetKYCCustomerStatus?language=${s}`), w = new Headers();
|
|
5296
|
+
w.append("accept", "application/json"), w.append("Content-Type", "application/json"), w.append("x-sessionid", `${p}`), w.append("X-Client-Request-Timestamp", _r.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(k) && k.length > 0 && k.indexOf("MM_CHANNEL_BETA") != -1 && w.append("MM_CHANNEL", "BETA");
|
|
5297
|
+
const C = {
|
|
5241
5298
|
method: "POST",
|
|
5242
|
-
headers:
|
|
5299
|
+
headers: w,
|
|
5243
5300
|
body: JSON.stringify({})
|
|
5244
5301
|
};
|
|
5245
|
-
r(7,
|
|
5302
|
+
r(7, $ = !0), fetch(l, C).then((X) => X.json()).then((X) => {
|
|
5246
5303
|
const he = z(X == null ? void 0 : X.Verifications);
|
|
5247
|
-
|
|
5248
|
-
ze.VerificationUrlType !== "Widget" &&
|
|
5304
|
+
R = le(he), R.VerificationStatuses.forEach((ze) => {
|
|
5305
|
+
ze.VerificationUrlType !== "Widget" && D.add(ze.Vendor);
|
|
5249
5306
|
}), r(3, j = ve());
|
|
5250
|
-
}).finally(() => r(7,
|
|
5251
|
-
}, z = (
|
|
5252
|
-
n &&
|
|
5307
|
+
}).finally(() => r(7, $ = !1));
|
|
5308
|
+
}, z = (l) => l ? l.sort((w, C) => new Date(C.Created).getTime() - new Date(w.Created).getTime()) : [], q = () => {
|
|
5309
|
+
n && I();
|
|
5253
5310
|
}, Q = () => {
|
|
5254
|
-
let
|
|
5255
|
-
if (
|
|
5256
|
-
let
|
|
5257
|
-
return
|
|
5311
|
+
let l = (c || n).split(".")[1];
|
|
5312
|
+
if (l) {
|
|
5313
|
+
let w = JSON.parse(atob(l));
|
|
5314
|
+
return w.cdn + "/cashier/operator-assets/" + (w == null ? void 0 : w.mid);
|
|
5258
5315
|
}
|
|
5259
5316
|
return "";
|
|
5260
|
-
},
|
|
5261
|
-
var
|
|
5262
|
-
if (!
|
|
5317
|
+
}, le = (l) => {
|
|
5318
|
+
var C;
|
|
5319
|
+
if (!l || !l.length)
|
|
5263
5320
|
return {
|
|
5264
5321
|
VerificationSummaryStatus: h.Unverified,
|
|
5265
5322
|
VerificationStatuses: []
|
|
5266
5323
|
};
|
|
5267
|
-
const
|
|
5268
|
-
if (
|
|
5269
|
-
const X = oe(
|
|
5324
|
+
const w = se(l);
|
|
5325
|
+
if (w && w.length) {
|
|
5326
|
+
const X = oe(w);
|
|
5270
5327
|
return {
|
|
5271
5328
|
VerificationSummaryStatus: X.Status,
|
|
5272
|
-
VerificationUrl: (
|
|
5273
|
-
VerificationStatuses:
|
|
5329
|
+
VerificationUrl: (C = X.Flags) == null ? void 0 : C.DeferredUrlKey,
|
|
5330
|
+
VerificationStatuses: ce(w, X.Status)
|
|
5274
5331
|
};
|
|
5275
5332
|
} else
|
|
5276
5333
|
return {
|
|
5277
|
-
VerificationSummaryStatus:
|
|
5278
|
-
VerificationStatuses:
|
|
5334
|
+
VerificationSummaryStatus: l.some((he) => he.Status === h.Failed) ? h.Failed : h.Verified,
|
|
5335
|
+
VerificationStatuses: ce(l, [h.Failed])
|
|
5279
5336
|
};
|
|
5280
|
-
}, oe = (
|
|
5281
|
-
(
|
|
5337
|
+
}, oe = (l) => l.reduce(
|
|
5338
|
+
(w, C) => w ? new Date(w) < new Date(C) ? C : w : C,
|
|
5282
5339
|
0
|
|
5283
|
-
),
|
|
5340
|
+
), ce = (l, w) => l.filter((C) => w.includes(C.Status)).map((C) => {
|
|
5284
5341
|
var X, he;
|
|
5285
5342
|
return {
|
|
5286
|
-
Type:
|
|
5287
|
-
Vendor:
|
|
5288
|
-
VerificationDocuments:
|
|
5289
|
-
VerificationUrlType: (X =
|
|
5290
|
-
VerificationUrl: (he =
|
|
5343
|
+
Type: C.Type,
|
|
5344
|
+
Vendor: C.VendorName,
|
|
5345
|
+
VerificationDocuments: C.Documents ? [...C.Documents] : [],
|
|
5346
|
+
VerificationUrlType: (X = C.FlowInfo) == null ? void 0 : X.Type,
|
|
5347
|
+
VerificationUrl: (he = C.FlowInfo) == null ? void 0 : he.Url
|
|
5291
5348
|
};
|
|
5292
|
-
}), se = (
|
|
5293
|
-
const
|
|
5294
|
-
return
|
|
5295
|
-
}, ie = (
|
|
5296
|
-
switch (
|
|
5349
|
+
}), se = (l) => l.filter((w) => E.includes(w.Status) ? w.FlowInfo && w.FlowInfo.Url || Z(w) || ie(w) : !1), Z = (l) => {
|
|
5350
|
+
const w = l.Documents && l.VendorName === x.Manual, C = l.Documents && l.Documents.some((X) => X.Status === g.Requested);
|
|
5351
|
+
return w && C;
|
|
5352
|
+
}, ie = (l) => l.VendorName === x.ShuftiPro && l.Status === h.Referred, ve = () => {
|
|
5353
|
+
switch (R.VerificationSummaryStatus) {
|
|
5297
5354
|
case h.InProgress:
|
|
5298
|
-
const
|
|
5299
|
-
return
|
|
5300
|
-
|
|
5301
|
-
}),
|
|
5355
|
+
const l = [];
|
|
5356
|
+
return D.forEach((w) => {
|
|
5357
|
+
l.push(_e(w));
|
|
5358
|
+
}), l;
|
|
5302
5359
|
case h.Referred:
|
|
5303
5360
|
return [i("verification.idenfy.referred-awaiting")];
|
|
5304
5361
|
case h.Failed:
|
|
5305
5362
|
return [i("verification.message.failed")];
|
|
5306
5363
|
}
|
|
5307
|
-
}, _e = (
|
|
5308
|
-
const
|
|
5309
|
-
if (
|
|
5310
|
-
return
|
|
5364
|
+
}, _e = (l) => {
|
|
5365
|
+
const w = R.VerificationStatuses.filter((C) => C.Vendor === l);
|
|
5366
|
+
if (l === x.ShuftiPro)
|
|
5367
|
+
return mi(w);
|
|
5311
5368
|
{
|
|
5312
|
-
const
|
|
5313
|
-
link: `<a href="${
|
|
5369
|
+
const C = i("verification.idenfy.link-name"), X = {
|
|
5370
|
+
link: `<a href="${w[0].VerificationUrl}" target="_blank">${C}</a>`
|
|
5314
5371
|
};
|
|
5315
5372
|
return i("verification.idenfy.in-progress", { values: X });
|
|
5316
5373
|
}
|
|
5317
|
-
},
|
|
5318
|
-
const
|
|
5374
|
+
}, mi = (l) => {
|
|
5375
|
+
const w = [], C = {}, X = [
|
|
5319
5376
|
b.Biometric,
|
|
5320
5377
|
b.Documents,
|
|
5321
5378
|
b.ProofOfAddress
|
|
5322
5379
|
];
|
|
5323
|
-
|
|
5324
|
-
X.includes(ge.Type) && (
|
|
5380
|
+
l.forEach((ge) => {
|
|
5381
|
+
X.includes(ge.Type) && (w.push(ge.Type), C[ge.Type] = pi(ge, vi(ge.Type)));
|
|
5325
5382
|
});
|
|
5326
|
-
let he =
|
|
5327
|
-
return he ? i("verification.shuftipro.validations-started") : i(ze, { values:
|
|
5328
|
-
},
|
|
5329
|
-
r(4,
|
|
5383
|
+
let he = w.every((ge) => G.has(ge)), ze = `verification.shuftipro.in-progress.${w.sort().join(".")}`;
|
|
5384
|
+
return he ? i("verification.shuftipro.validations-started") : i(ze, { values: C });
|
|
5385
|
+
}, pi = (l, w) => `<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${w}</a>`, vi = (l) => i(`verification.shuftipro.link-name.${l}`), gi = () => {
|
|
5386
|
+
r(4, T = !T);
|
|
5330
5387
|
}, bi = () => {
|
|
5331
|
-
r(5,
|
|
5388
|
+
r(5, H = !ls(je));
|
|
5332
5389
|
}, yi = () => {
|
|
5333
|
-
F =
|
|
5390
|
+
F = M + "/" + s + "/" + bs;
|
|
5334
5391
|
try {
|
|
5335
|
-
fetch(F, { method: "HEAD" }).then((
|
|
5336
|
-
r(6,
|
|
5392
|
+
fetch(F, { method: "HEAD" }).then((l) => {
|
|
5393
|
+
r(6, O = l.ok);
|
|
5337
5394
|
});
|
|
5338
|
-
} catch (
|
|
5339
|
-
r(6,
|
|
5395
|
+
} catch (l) {
|
|
5396
|
+
r(6, O = !1);
|
|
5340
5397
|
}
|
|
5341
5398
|
}, _i = () => {
|
|
5342
|
-
y.length > 0 && (
|
|
5399
|
+
y.length > 0 && (k = y.split(","));
|
|
5343
5400
|
}, xi = () => {
|
|
5344
5401
|
window.dispatchEvent(new CustomEvent(
|
|
5345
5402
|
"modal-update",
|
|
@@ -5348,51 +5405,51 @@ function ys(e, t, r) {
|
|
|
5348
5405
|
}
|
|
5349
5406
|
));
|
|
5350
5407
|
};
|
|
5351
|
-
function
|
|
5352
|
-
|
|
5408
|
+
function wi() {
|
|
5409
|
+
fe = this.clientHeight, r(8, fe);
|
|
5353
5410
|
}
|
|
5354
|
-
function
|
|
5355
|
-
xt[
|
|
5356
|
-
d =
|
|
5411
|
+
function Ei(l) {
|
|
5412
|
+
xt[l ? "unshift" : "push"](() => {
|
|
5413
|
+
d = l, r(2, d);
|
|
5357
5414
|
});
|
|
5358
5415
|
}
|
|
5359
|
-
return e.$$set = (
|
|
5360
|
-
"endpoint" in
|
|
5416
|
+
return e.$$set = (l) => {
|
|
5417
|
+
"endpoint" in l && r(12, o = l.endpoint), "lang" in l && r(13, s = l.lang), "translationurl" in l && r(14, a = l.translationurl), "clientstyling" in l && r(0, u = l.clientstyling), "clientstylingurl" in l && r(1, f = l.clientstylingurl), "session" in l && r(15, c = l.session), "customerid" in l && r(16, m = l.customerid), "playersession" in l && r(17, p = l.playersession), "userroles" in l && r(18, y = l.userroles), "mbsource" in l && r(19, _ = l.mbsource);
|
|
5361
5418
|
}, e.$$.update = () => {
|
|
5362
5419
|
e.$$.dirty[0] & /*userroles*/
|
|
5363
5420
|
262144 && y && _i(), e.$$.dirty[0] & /*lang*/
|
|
5364
|
-
8192 && s &&
|
|
5365
|
-
167936 && o &&
|
|
5366
|
-
167936 && o && !
|
|
5421
|
+
8192 && s && L(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5422
|
+
167936 && o && c && p && I(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5423
|
+
167936 && o && !c && p && q(), e.$$.dirty[0] & /*translationurl*/
|
|
5367
5424
|
16384 && a && S(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5368
5425
|
5 && u && d && zo(d, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5369
|
-
6 &&
|
|
5370
|
-
1048576 &&
|
|
5426
|
+
6 && f && d && Wo(d, f), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
5427
|
+
1048576 && M && yi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5371
5428
|
524292 && _ && d && Xo(d, `${_}.Style`, U);
|
|
5372
5429
|
}, [
|
|
5373
5430
|
u,
|
|
5374
|
-
|
|
5431
|
+
f,
|
|
5375
5432
|
d,
|
|
5376
5433
|
j,
|
|
5377
|
-
O,
|
|
5378
|
-
B,
|
|
5379
5434
|
T,
|
|
5380
|
-
|
|
5381
|
-
|
|
5435
|
+
H,
|
|
5436
|
+
O,
|
|
5437
|
+
$,
|
|
5438
|
+
fe,
|
|
5382
5439
|
i,
|
|
5383
5440
|
gi,
|
|
5384
5441
|
xi,
|
|
5385
5442
|
o,
|
|
5386
5443
|
s,
|
|
5387
5444
|
a,
|
|
5388
|
-
|
|
5389
|
-
p,
|
|
5445
|
+
c,
|
|
5390
5446
|
m,
|
|
5447
|
+
p,
|
|
5391
5448
|
y,
|
|
5392
5449
|
_,
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5450
|
+
M,
|
|
5451
|
+
wi,
|
|
5452
|
+
Ei
|
|
5396
5453
|
];
|
|
5397
5454
|
}
|
|
5398
5455
|
class di extends Yi {
|
|
@@ -5402,7 +5459,7 @@ class di extends Yi {
|
|
|
5402
5459
|
t,
|
|
5403
5460
|
ys,
|
|
5404
5461
|
gs,
|
|
5405
|
-
|
|
5462
|
+
Tr,
|
|
5406
5463
|
{
|
|
5407
5464
|
endpoint: 12,
|
|
5408
5465
|
lang: 13,
|
|
@@ -5415,7 +5472,7 @@ class di extends Yi {
|
|
|
5415
5472
|
userroles: 18,
|
|
5416
5473
|
mbsource: 19
|
|
5417
5474
|
},
|
|
5418
|
-
|
|
5475
|
+
ms,
|
|
5419
5476
|
[-1, -1]
|
|
5420
5477
|
);
|
|
5421
5478
|
}
|
|
@@ -5481,39 +5538,39 @@ class di extends Yi {
|
|
|
5481
5538
|
}
|
|
5482
5539
|
}
|
|
5483
5540
|
qi(di, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
5484
|
-
const
|
|
5541
|
+
const Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5485
5542
|
__proto__: null,
|
|
5486
5543
|
default: di
|
|
5487
5544
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5488
5545
|
export {
|
|
5489
|
-
|
|
5546
|
+
Ts as A,
|
|
5490
5547
|
zo as B,
|
|
5491
5548
|
Wo as C,
|
|
5492
5549
|
Xo as D,
|
|
5493
5550
|
qi as E,
|
|
5494
|
-
|
|
5551
|
+
Bs as F,
|
|
5495
5552
|
Yi as S,
|
|
5496
|
-
|
|
5553
|
+
ki as a,
|
|
5497
5554
|
Gi as b,
|
|
5498
5555
|
Ps as c,
|
|
5499
5556
|
re as d,
|
|
5500
5557
|
ae as e,
|
|
5501
5558
|
ee as f,
|
|
5502
5559
|
Y as g,
|
|
5503
|
-
|
|
5560
|
+
Os as h,
|
|
5504
5561
|
Xi as i,
|
|
5505
5562
|
xs as j,
|
|
5506
5563
|
Ss as k,
|
|
5507
|
-
|
|
5564
|
+
ws as l,
|
|
5508
5565
|
de as m,
|
|
5509
5566
|
W as n,
|
|
5510
5567
|
Ui as o,
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5568
|
+
Ii as p,
|
|
5569
|
+
Oe as q,
|
|
5570
|
+
B as r,
|
|
5571
|
+
Tr as s,
|
|
5572
|
+
As as t,
|
|
5573
|
+
Es as u,
|
|
5517
5574
|
it as v,
|
|
5518
5575
|
xt as w,
|
|
5519
5576
|
te as x,
|