@everymatrix/cashier-verifications 1.54.0 → 1.54.4
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/{CashierVerifications-DeKto_UT.js → CashierVerifications-JkolbxVP.js} +1124 -1169
- package/components/{CashierVideoModal-C03aJTj5.js → CashierVideoModal-Bjnq9rNA.js} +1 -1
- package/esnext/cashier-verifications.js +14 -0
- package/package.json +10 -8
- package/components/CashierVerifications-BK53OBk9.cjs +0 -5
- package/components/CashierVideoModal-DvkLu87Y.cjs +0 -1
- package/es2015/cashier-verifications.cjs +0 -1
- package/es2015/cashier-verifications.js +0 -16
|
@@ -1,79 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
var Nr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Tt = Object.getOwnPropertySymbols;
|
|
4
|
-
var Rr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ke = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
Rr.call(t, r) && Ke(e, r, t[r]);
|
|
8
|
-
if (Tt)
|
|
9
|
-
for (var r of Tt(t))
|
|
10
|
-
kr.call(t, r) && Ke(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, Ot = (e, t) => Lr(e, Nr(t));
|
|
13
|
-
var Z = (e, t, r) => Ke(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var Pt = (e, t, r) => new Promise((i, n) => {
|
|
15
|
-
var s = (o) => {
|
|
16
|
-
try {
|
|
17
|
-
l(r.next(o));
|
|
18
|
-
} catch (u) {
|
|
19
|
-
n(u);
|
|
20
|
-
}
|
|
21
|
-
}, a = (o) => {
|
|
22
|
-
try {
|
|
23
|
-
l(r.throw(o));
|
|
24
|
-
} catch (u) {
|
|
25
|
-
n(u);
|
|
26
|
-
}
|
|
27
|
-
}, l = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(s, a);
|
|
28
|
-
l((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
|
-
function K() {
|
|
1
|
+
function Q() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function qt(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function wt() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function Ie(e) {
|
|
10
|
+
e.forEach(qt);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function gt(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function Yt(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
18
|
+
let ke;
|
|
19
|
+
function Kn(e, t) {
|
|
20
|
+
return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function Ar(e) {
|
|
52
23
|
return Object.keys(e).length === 0;
|
|
53
24
|
}
|
|
54
|
-
function
|
|
25
|
+
function Zt(e, ...t) {
|
|
55
26
|
if (e == null) {
|
|
56
27
|
for (const i of t)
|
|
57
28
|
i(void 0);
|
|
58
|
-
return
|
|
29
|
+
return Q;
|
|
59
30
|
}
|
|
60
31
|
const r = e.subscribe(...t);
|
|
61
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
33
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Pr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Zt(t, r));
|
|
65
36
|
}
|
|
66
|
-
function
|
|
37
|
+
function re(e, t) {
|
|
67
38
|
e.appendChild(t);
|
|
68
39
|
}
|
|
69
|
-
function
|
|
70
|
-
const i =
|
|
40
|
+
function $r(e, t, r) {
|
|
41
|
+
const i = Br(e);
|
|
71
42
|
if (!i.getElementById(t)) {
|
|
72
|
-
const n =
|
|
73
|
-
n.id = t, n.textContent = r,
|
|
43
|
+
const n = Z("style");
|
|
44
|
+
n.id = t, n.textContent = r, Mr(i, n);
|
|
74
45
|
}
|
|
75
46
|
}
|
|
76
|
-
function
|
|
47
|
+
function Br(e) {
|
|
77
48
|
if (!e) return document;
|
|
78
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,59 +53,59 @@ function Gr(e) {
|
|
|
82
53
|
t
|
|
83
54
|
) : e.ownerDocument;
|
|
84
55
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
56
|
+
function Mr(e, t) {
|
|
57
|
+
return re(
|
|
87
58
|
/** @type {Document} */
|
|
88
59
|
e.head || e,
|
|
89
60
|
t
|
|
90
61
|
), t.sheet;
|
|
91
62
|
}
|
|
92
|
-
function
|
|
63
|
+
function ae(e, t, r) {
|
|
93
64
|
e.insertBefore(t, r || null);
|
|
94
65
|
}
|
|
95
|
-
function
|
|
66
|
+
function ie(e) {
|
|
96
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
68
|
}
|
|
98
|
-
function
|
|
69
|
+
function Cr(e, t) {
|
|
99
70
|
for (let r = 0; r < e.length; r += 1)
|
|
100
71
|
e[r] && e[r].d(t);
|
|
101
72
|
}
|
|
102
|
-
function
|
|
73
|
+
function Z(e) {
|
|
103
74
|
return document.createElement(e);
|
|
104
75
|
}
|
|
105
|
-
function
|
|
76
|
+
function es(e) {
|
|
106
77
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
78
|
}
|
|
108
|
-
function
|
|
79
|
+
function vt(e) {
|
|
109
80
|
return document.createTextNode(e);
|
|
110
81
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
82
|
+
function xe() {
|
|
83
|
+
return vt(" ");
|
|
113
84
|
}
|
|
114
|
-
function
|
|
115
|
-
return
|
|
85
|
+
function ts() {
|
|
86
|
+
return vt("");
|
|
116
87
|
}
|
|
117
|
-
function
|
|
88
|
+
function bt(e, t, r, i) {
|
|
118
89
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
119
90
|
}
|
|
120
|
-
function
|
|
91
|
+
function K(e, t, r) {
|
|
121
92
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
93
|
}
|
|
123
|
-
function
|
|
94
|
+
function le(e, t, r) {
|
|
124
95
|
const i = t.toLowerCase();
|
|
125
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
96
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
|
|
126
97
|
}
|
|
127
|
-
function
|
|
98
|
+
function Dr(e) {
|
|
128
99
|
return Array.from(e.childNodes);
|
|
129
100
|
}
|
|
130
|
-
function
|
|
101
|
+
function Ir(e, t) {
|
|
131
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
103
|
t);
|
|
133
104
|
}
|
|
134
|
-
function
|
|
105
|
+
function Ee(e, t, r) {
|
|
135
106
|
e.classList.toggle(t, !!r);
|
|
136
107
|
}
|
|
137
|
-
function
|
|
108
|
+
function Lr(e) {
|
|
138
109
|
const t = {};
|
|
139
110
|
return e.childNodes.forEach(
|
|
140
111
|
/** @param {Element} node */
|
|
@@ -143,96 +114,96 @@ function qr(e) {
|
|
|
143
114
|
}
|
|
144
115
|
), t;
|
|
145
116
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
117
|
+
let Me;
|
|
118
|
+
function Be(e) {
|
|
119
|
+
Me = e;
|
|
149
120
|
}
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
152
|
-
return
|
|
121
|
+
function Nr() {
|
|
122
|
+
if (!Me) throw new Error("Function called outside component initialization");
|
|
123
|
+
return Me;
|
|
153
124
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
125
|
+
function rs(e) {
|
|
126
|
+
Nr().$$.on_mount.push(e);
|
|
156
127
|
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
128
|
+
const ye = [], st = [];
|
|
129
|
+
let _e = [];
|
|
130
|
+
const St = [], Rr = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let ot = !1;
|
|
132
|
+
function kr() {
|
|
133
|
+
ot || (ot = !0, Rr.then(te));
|
|
163
134
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
135
|
+
function at(e) {
|
|
136
|
+
_e.push(e);
|
|
166
137
|
}
|
|
167
|
-
const
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
138
|
+
const Qe = /* @__PURE__ */ new Set();
|
|
139
|
+
let ve = 0;
|
|
140
|
+
function te() {
|
|
141
|
+
if (ve !== 0)
|
|
171
142
|
return;
|
|
172
|
-
const e =
|
|
143
|
+
const e = Me;
|
|
173
144
|
do {
|
|
174
145
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t =
|
|
177
|
-
|
|
146
|
+
for (; ve < ye.length; ) {
|
|
147
|
+
const t = ye[ve];
|
|
148
|
+
ve++, Be(t), Ur(t.$$);
|
|
178
149
|
}
|
|
179
150
|
} catch (t) {
|
|
180
|
-
throw
|
|
151
|
+
throw ye.length = 0, ve = 0, t;
|
|
181
152
|
}
|
|
182
|
-
for (
|
|
183
|
-
for (let t = 0; t <
|
|
184
|
-
const r =
|
|
185
|
-
|
|
153
|
+
for (Be(null), ye.length = 0, ve = 0; st.length; ) st.pop()();
|
|
154
|
+
for (let t = 0; t < _e.length; t += 1) {
|
|
155
|
+
const r = _e[t];
|
|
156
|
+
Qe.has(r) || (Qe.add(r), r());
|
|
186
157
|
}
|
|
187
|
-
|
|
188
|
-
} while (
|
|
189
|
-
for (;
|
|
190
|
-
|
|
191
|
-
|
|
158
|
+
_e.length = 0;
|
|
159
|
+
} while (ye.length);
|
|
160
|
+
for (; St.length; )
|
|
161
|
+
St.pop()();
|
|
162
|
+
ot = !1, Qe.clear(), Be(e);
|
|
192
163
|
}
|
|
193
|
-
function
|
|
164
|
+
function Ur(e) {
|
|
194
165
|
if (e.fragment !== null) {
|
|
195
|
-
e.update(),
|
|
166
|
+
e.update(), Ie(e.before_update);
|
|
196
167
|
const t = e.dirty;
|
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
|
|
198
169
|
}
|
|
199
170
|
}
|
|
200
|
-
function
|
|
171
|
+
function Fr(e) {
|
|
201
172
|
const t = [], r = [];
|
|
202
|
-
|
|
173
|
+
_e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), _e = t;
|
|
203
174
|
}
|
|
204
|
-
const
|
|
205
|
-
function
|
|
206
|
-
e && e.i && (
|
|
175
|
+
const Vr = /* @__PURE__ */ new Set();
|
|
176
|
+
function Gr(e, t) {
|
|
177
|
+
e && e.i && (Vr.delete(e), e.i(t));
|
|
207
178
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
179
|
+
function Tt(e) {
|
|
180
|
+
return e?.length !== void 0 ? e : Array.from(e);
|
|
210
181
|
}
|
|
211
|
-
function
|
|
182
|
+
function jr(e, t, r) {
|
|
212
183
|
const { fragment: i, after_update: n } = e.$$;
|
|
213
|
-
i && i.m(t, r),
|
|
214
|
-
const s = e.$$.on_mount.map(
|
|
215
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
216
|
-
}), n.forEach(
|
|
184
|
+
i && i.m(t, r), at(() => {
|
|
185
|
+
const s = e.$$.on_mount.map(qt).filter(gt);
|
|
186
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
|
|
187
|
+
}), n.forEach(at);
|
|
217
188
|
}
|
|
218
|
-
function
|
|
189
|
+
function zr(e, t) {
|
|
219
190
|
const r = e.$$;
|
|
220
|
-
r.fragment !== null && (
|
|
191
|
+
r.fragment !== null && (Fr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
221
192
|
}
|
|
222
|
-
function
|
|
223
|
-
e.$$.dirty[0] === -1 && (
|
|
193
|
+
function Xr(e, t) {
|
|
194
|
+
e.$$.dirty[0] === -1 && (ye.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
224
195
|
}
|
|
225
|
-
function
|
|
226
|
-
const o =
|
|
227
|
-
|
|
196
|
+
function Wr(e, t, r, i, n, s, l = null, a = [-1]) {
|
|
197
|
+
const o = Me;
|
|
198
|
+
Be(e);
|
|
228
199
|
const u = e.$$ = {
|
|
229
200
|
fragment: null,
|
|
230
201
|
ctx: [],
|
|
231
202
|
// state
|
|
232
203
|
props: s,
|
|
233
|
-
update:
|
|
204
|
+
update: Q,
|
|
234
205
|
not_equal: n,
|
|
235
|
-
bound:
|
|
206
|
+
bound: wt(),
|
|
236
207
|
// lifecycle
|
|
237
208
|
on_mount: [],
|
|
238
209
|
on_destroy: [],
|
|
@@ -241,150 +212,146 @@ function si(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
241
212
|
after_update: [],
|
|
242
213
|
context: new Map(t.context || (o ? o.$$.context : [])),
|
|
243
214
|
// everything else
|
|
244
|
-
callbacks:
|
|
245
|
-
dirty:
|
|
215
|
+
callbacks: wt(),
|
|
216
|
+
dirty: a,
|
|
246
217
|
skip_bound: !1,
|
|
247
218
|
root: t.target || o.$$.root
|
|
248
219
|
};
|
|
249
|
-
|
|
220
|
+
l && l(u.root);
|
|
250
221
|
let h = !1;
|
|
251
222
|
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
|
|
252
223
|
const H = E.length ? E[0] : m;
|
|
253
|
-
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h &&
|
|
254
|
-
}) : [], u.update(), h = !0,
|
|
224
|
+
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && Xr(e, c)), m;
|
|
225
|
+
}) : [], u.update(), h = !0, Ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
255
226
|
if (t.hydrate) {
|
|
256
|
-
const c =
|
|
257
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
227
|
+
const c = Dr(t.target);
|
|
228
|
+
u.fragment && u.fragment.l(c), c.forEach(ie);
|
|
258
229
|
} else
|
|
259
230
|
u.fragment && u.fragment.c();
|
|
260
|
-
t.intro &&
|
|
231
|
+
t.intro && Gr(e.$$.fragment), jr(e, t.target, t.anchor), te();
|
|
261
232
|
}
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
let
|
|
265
|
-
typeof HTMLElement == "function" && (
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
|
|
233
|
+
Be(o);
|
|
234
|
+
}
|
|
235
|
+
let Jt;
|
|
236
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
237
|
+
/** The Svelte component constructor */
|
|
238
|
+
$$ctor;
|
|
239
|
+
/** Slots */
|
|
240
|
+
$$s;
|
|
241
|
+
/** The Svelte component instance */
|
|
242
|
+
$$c;
|
|
243
|
+
/** Whether or not the custom element is connected */
|
|
244
|
+
$$cn = !1;
|
|
245
|
+
/** Component props data */
|
|
246
|
+
$$d = {};
|
|
247
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
248
|
+
$$r = !1;
|
|
249
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
250
|
+
$$p_d = {};
|
|
251
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
252
|
+
$$l = {};
|
|
253
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
254
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
255
|
+
constructor(e, t, r) {
|
|
256
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
287
257
|
}
|
|
288
|
-
addEventListener(t, r
|
|
289
|
-
if (this.$$l[
|
|
290
|
-
const
|
|
291
|
-
this.$$l_u.set(
|
|
258
|
+
addEventListener(e, t, r) {
|
|
259
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
260
|
+
const i = this.$$c.$on(e, t);
|
|
261
|
+
this.$$l_u.set(t, i);
|
|
292
262
|
}
|
|
293
|
-
super.addEventListener(t, r
|
|
263
|
+
super.addEventListener(e, t, r);
|
|
294
264
|
}
|
|
295
|
-
removeEventListener(t, r
|
|
296
|
-
if (super.removeEventListener(t, r
|
|
297
|
-
const
|
|
298
|
-
|
|
265
|
+
removeEventListener(e, t, r) {
|
|
266
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
267
|
+
const i = this.$$l_u.get(t);
|
|
268
|
+
i && (i(), this.$$l_u.delete(t));
|
|
299
269
|
}
|
|
300
270
|
}
|
|
301
|
-
connectedCallback() {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
};
|
|
271
|
+
async connectedCallback() {
|
|
272
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
273
|
+
let e = function(n) {
|
|
274
|
+
return () => {
|
|
275
|
+
let s;
|
|
276
|
+
return {
|
|
277
|
+
c: function() {
|
|
278
|
+
s = Z("slot"), n !== "default" && K(s, "name", n);
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* @param {HTMLElement} target
|
|
282
|
+
* @param {HTMLElement} [anchor]
|
|
283
|
+
*/
|
|
284
|
+
m: function(o, u) {
|
|
285
|
+
ae(o, s, u);
|
|
286
|
+
},
|
|
287
|
+
d: function(o) {
|
|
288
|
+
o && ie(s);
|
|
289
|
+
}
|
|
322
290
|
};
|
|
323
291
|
};
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
292
|
+
};
|
|
293
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
294
|
+
return;
|
|
295
|
+
const t = {}, r = Lr(this);
|
|
296
|
+
for (const n of this.$$s)
|
|
297
|
+
n in r && (t[n] = [e(n)]);
|
|
298
|
+
for (const n of this.attributes) {
|
|
299
|
+
const s = this.$$g_p(n.name);
|
|
300
|
+
s in this.$$d || (this.$$d[s] = Fe(s, n.value, this.$$p_d, "toProp"));
|
|
301
|
+
}
|
|
302
|
+
for (const n in this.$$p_d)
|
|
303
|
+
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
304
|
+
this.$$c = new this.$$ctor({
|
|
305
|
+
target: this.shadowRoot || this,
|
|
306
|
+
props: {
|
|
307
|
+
...this.$$d,
|
|
308
|
+
$$slots: t,
|
|
309
|
+
$$scope: {
|
|
310
|
+
ctx: []
|
|
311
|
+
}
|
|
332
312
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
this.$$
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
this.$$r = !0;
|
|
346
|
-
for (const s in this.$$p_d)
|
|
347
|
-
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
348
|
-
const a = Ge(
|
|
349
|
-
s,
|
|
350
|
-
this.$$d[s],
|
|
351
|
-
this.$$p_d,
|
|
352
|
-
"toAttribute"
|
|
353
|
-
);
|
|
354
|
-
a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
|
|
355
|
-
}
|
|
356
|
-
this.$$r = !1;
|
|
357
|
-
};
|
|
358
|
-
this.$$c.$$.after_update.push(n), n();
|
|
359
|
-
for (const s in this.$$l)
|
|
360
|
-
for (const a of this.$$l[s]) {
|
|
361
|
-
const l = this.$$c.$on(s, a);
|
|
362
|
-
this.$$l_u.set(a, l);
|
|
313
|
+
});
|
|
314
|
+
const i = () => {
|
|
315
|
+
this.$$r = !0;
|
|
316
|
+
for (const n in this.$$p_d)
|
|
317
|
+
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
318
|
+
const s = Fe(
|
|
319
|
+
n,
|
|
320
|
+
this.$$d[n],
|
|
321
|
+
this.$$p_d,
|
|
322
|
+
"toAttribute"
|
|
323
|
+
);
|
|
324
|
+
s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
|
|
363
325
|
}
|
|
364
|
-
this.$$
|
|
365
|
-
}
|
|
366
|
-
|
|
326
|
+
this.$$r = !1;
|
|
327
|
+
};
|
|
328
|
+
this.$$c.$$.after_update.push(i), i();
|
|
329
|
+
for (const n in this.$$l)
|
|
330
|
+
for (const s of this.$$l[n]) {
|
|
331
|
+
const l = this.$$c.$on(n, s);
|
|
332
|
+
this.$$l_u.set(s, l);
|
|
333
|
+
}
|
|
334
|
+
this.$$l = {};
|
|
335
|
+
}
|
|
367
336
|
}
|
|
368
337
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
369
338
|
// and setting attributes through setAttribute etc, this is helpful
|
|
370
|
-
attributeChangedCallback(t, r
|
|
371
|
-
|
|
372
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ge(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
|
|
339
|
+
attributeChangedCallback(e, t, r) {
|
|
340
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
373
341
|
}
|
|
374
342
|
disconnectedCallback() {
|
|
375
343
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
376
344
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
377
345
|
});
|
|
378
346
|
}
|
|
379
|
-
$$g_p(
|
|
347
|
+
$$g_p(e) {
|
|
380
348
|
return Object.keys(this.$$p_d).find(
|
|
381
|
-
(
|
|
382
|
-
) ||
|
|
349
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
350
|
+
) || e;
|
|
383
351
|
}
|
|
384
352
|
});
|
|
385
|
-
function
|
|
386
|
-
|
|
387
|
-
const n = (s = r[e]) == null ? void 0 : s.type;
|
|
353
|
+
function Fe(e, t, r, i) {
|
|
354
|
+
const n = r[e]?.type;
|
|
388
355
|
if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
|
|
389
356
|
return t;
|
|
390
357
|
if (i === "toAttribute")
|
|
@@ -395,7 +362,7 @@ function Ge(e, t, r, i) {
|
|
|
395
362
|
case "Boolean":
|
|
396
363
|
return t ? "" : null;
|
|
397
364
|
case "Number":
|
|
398
|
-
return t
|
|
365
|
+
return t ?? null;
|
|
399
366
|
default:
|
|
400
367
|
return t;
|
|
401
368
|
}
|
|
@@ -412,59 +379,55 @@ function Ge(e, t, r, i) {
|
|
|
412
379
|
return t;
|
|
413
380
|
}
|
|
414
381
|
}
|
|
415
|
-
function
|
|
416
|
-
let
|
|
382
|
+
function qr(e, t, r, i, n, s) {
|
|
383
|
+
let l = class extends Jt {
|
|
417
384
|
constructor() {
|
|
418
385
|
super(e, r, n), this.$$p_d = t;
|
|
419
386
|
}
|
|
420
387
|
static get observedAttributes() {
|
|
421
388
|
return Object.keys(t).map(
|
|
422
|
-
(
|
|
389
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
423
390
|
);
|
|
424
391
|
}
|
|
425
392
|
};
|
|
426
|
-
return Object.keys(t).forEach((
|
|
427
|
-
Object.defineProperty(
|
|
393
|
+
return Object.keys(t).forEach((a) => {
|
|
394
|
+
Object.defineProperty(l.prototype, a, {
|
|
428
395
|
get() {
|
|
429
|
-
return this.$$c &&
|
|
396
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
430
397
|
},
|
|
431
398
|
set(o) {
|
|
432
|
-
|
|
433
|
-
o = Ge(l, o, t), this.$$d[l] = o, (u = this.$$c) == null || u.$set({ [l]: o });
|
|
399
|
+
o = Fe(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
|
|
434
400
|
}
|
|
435
401
|
});
|
|
436
|
-
}), i.forEach((
|
|
437
|
-
Object.defineProperty(
|
|
402
|
+
}), i.forEach((a) => {
|
|
403
|
+
Object.defineProperty(l.prototype, a, {
|
|
438
404
|
get() {
|
|
439
|
-
|
|
440
|
-
return (o = this.$$c) == null ? void 0 : o[l];
|
|
405
|
+
return this.$$c?.[a];
|
|
441
406
|
}
|
|
442
407
|
});
|
|
443
408
|
}), e.element = /** @type {any} */
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
class
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
Z(this, "$$set");
|
|
464
|
-
}
|
|
409
|
+
l, l;
|
|
410
|
+
}
|
|
411
|
+
class Yr {
|
|
412
|
+
/**
|
|
413
|
+
* ### PRIVATE API
|
|
414
|
+
*
|
|
415
|
+
* Do not use, may change at any time
|
|
416
|
+
*
|
|
417
|
+
* @type {any}
|
|
418
|
+
*/
|
|
419
|
+
$$ = void 0;
|
|
420
|
+
/**
|
|
421
|
+
* ### PRIVATE API
|
|
422
|
+
*
|
|
423
|
+
* Do not use, may change at any time
|
|
424
|
+
*
|
|
425
|
+
* @type {any}
|
|
426
|
+
*/
|
|
427
|
+
$$set = void 0;
|
|
465
428
|
/** @returns {void} */
|
|
466
429
|
$destroy() {
|
|
467
|
-
|
|
430
|
+
zr(this, 1), this.$destroy = Q;
|
|
468
431
|
}
|
|
469
432
|
/**
|
|
470
433
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -473,8 +436,8 @@ class ai {
|
|
|
473
436
|
* @returns {() => void}
|
|
474
437
|
*/
|
|
475
438
|
$on(t, r) {
|
|
476
|
-
if (!
|
|
477
|
-
return
|
|
439
|
+
if (!gt(r))
|
|
440
|
+
return Q;
|
|
478
441
|
const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
479
442
|
return i.push(r), () => {
|
|
480
443
|
const n = i.indexOf(r);
|
|
@@ -486,175 +449,175 @@ class ai {
|
|
|
486
449
|
* @returns {void}
|
|
487
450
|
*/
|
|
488
451
|
$set(t) {
|
|
489
|
-
this.$$set && !
|
|
452
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
490
453
|
}
|
|
491
454
|
}
|
|
492
|
-
const
|
|
493
|
-
typeof window
|
|
494
|
-
const
|
|
495
|
-
function
|
|
455
|
+
const Zr = "4";
|
|
456
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
|
|
457
|
+
const be = [];
|
|
458
|
+
function Jr(e, t) {
|
|
496
459
|
return {
|
|
497
|
-
subscribe:
|
|
460
|
+
subscribe: We(e, t).subscribe
|
|
498
461
|
};
|
|
499
462
|
}
|
|
500
|
-
function
|
|
463
|
+
function We(e, t = Q) {
|
|
501
464
|
let r;
|
|
502
465
|
const i = /* @__PURE__ */ new Set();
|
|
503
|
-
function n(
|
|
504
|
-
if (
|
|
505
|
-
const o = !
|
|
466
|
+
function n(a) {
|
|
467
|
+
if (Yt(e, a) && (e = a, r)) {
|
|
468
|
+
const o = !be.length;
|
|
506
469
|
for (const u of i)
|
|
507
|
-
u[1](),
|
|
470
|
+
u[1](), be.push(u, e);
|
|
508
471
|
if (o) {
|
|
509
|
-
for (let u = 0; u <
|
|
510
|
-
|
|
511
|
-
|
|
472
|
+
for (let u = 0; u < be.length; u += 2)
|
|
473
|
+
be[u][0](be[u + 1]);
|
|
474
|
+
be.length = 0;
|
|
512
475
|
}
|
|
513
476
|
}
|
|
514
477
|
}
|
|
515
|
-
function s(
|
|
516
|
-
n(
|
|
478
|
+
function s(a) {
|
|
479
|
+
n(a(e));
|
|
517
480
|
}
|
|
518
|
-
function a
|
|
519
|
-
const u = [
|
|
520
|
-
return i.add(u), i.size === 1 && (r = t(n, s) ||
|
|
481
|
+
function l(a, o = Q) {
|
|
482
|
+
const u = [a, o];
|
|
483
|
+
return i.add(u), i.size === 1 && (r = t(n, s) || Q), a(e), () => {
|
|
521
484
|
i.delete(u), i.size === 0 && r && (r(), r = null);
|
|
522
485
|
};
|
|
523
486
|
}
|
|
524
|
-
return { set: n, update: s, subscribe:
|
|
487
|
+
return { set: n, update: s, subscribe: l };
|
|
525
488
|
}
|
|
526
|
-
function
|
|
489
|
+
function Oe(e, t, r) {
|
|
527
490
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
528
491
|
if (!n.every(Boolean))
|
|
529
492
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
530
493
|
const s = t.length < 2;
|
|
531
|
-
return
|
|
494
|
+
return Jr(r, (l, a) => {
|
|
532
495
|
let o = !1;
|
|
533
496
|
const u = [];
|
|
534
|
-
let h = 0, c =
|
|
497
|
+
let h = 0, c = Q;
|
|
535
498
|
const m = () => {
|
|
536
499
|
if (h)
|
|
537
500
|
return;
|
|
538
501
|
c();
|
|
539
|
-
const H = t(i ? u[0] : u,
|
|
540
|
-
s ?
|
|
502
|
+
const H = t(i ? u[0] : u, l, a);
|
|
503
|
+
s ? l(H) : c = gt(H) ? H : Q;
|
|
541
504
|
}, E = n.map(
|
|
542
|
-
(H,
|
|
505
|
+
(H, v) => Zt(
|
|
543
506
|
H,
|
|
544
507
|
($) => {
|
|
545
|
-
u[
|
|
508
|
+
u[v] = $, h &= ~(1 << v), o && m();
|
|
546
509
|
},
|
|
547
510
|
() => {
|
|
548
|
-
h |= 1 <<
|
|
511
|
+
h |= 1 << v;
|
|
549
512
|
}
|
|
550
513
|
)
|
|
551
514
|
);
|
|
552
515
|
return o = !0, m(), function() {
|
|
553
|
-
|
|
516
|
+
Ie(E), c(), o = !1;
|
|
554
517
|
};
|
|
555
518
|
});
|
|
556
519
|
}
|
|
557
|
-
var
|
|
558
|
-
function
|
|
520
|
+
var Qt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
521
|
+
function yt(e) {
|
|
559
522
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
560
523
|
}
|
|
561
|
-
var
|
|
562
|
-
return
|
|
524
|
+
var Qr = function(t) {
|
|
525
|
+
return Kr(t) && !ei(t);
|
|
563
526
|
};
|
|
564
|
-
function
|
|
527
|
+
function Kr(e) {
|
|
565
528
|
return !!e && typeof e == "object";
|
|
566
529
|
}
|
|
567
|
-
function
|
|
530
|
+
function ei(e) {
|
|
568
531
|
var t = Object.prototype.toString.call(e);
|
|
569
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
532
|
+
return t === "[object RegExp]" || t === "[object Date]" || ii(e);
|
|
570
533
|
}
|
|
571
|
-
var
|
|
572
|
-
function
|
|
573
|
-
return e.$$typeof ===
|
|
534
|
+
var ti = typeof Symbol == "function" && Symbol.for, ri = ti ? Symbol.for("react.element") : 60103;
|
|
535
|
+
function ii(e) {
|
|
536
|
+
return e.$$typeof === ri;
|
|
574
537
|
}
|
|
575
|
-
function
|
|
538
|
+
function ni(e) {
|
|
576
539
|
return Array.isArray(e) ? [] : {};
|
|
577
540
|
}
|
|
578
|
-
function
|
|
579
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
541
|
+
function Ce(e, t) {
|
|
542
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? we(ni(e), e, t) : e;
|
|
580
543
|
}
|
|
581
|
-
function
|
|
544
|
+
function si(e, t, r) {
|
|
582
545
|
return e.concat(t).map(function(i) {
|
|
583
|
-
return
|
|
546
|
+
return Ce(i, r);
|
|
584
547
|
});
|
|
585
548
|
}
|
|
586
|
-
function
|
|
549
|
+
function oi(e, t) {
|
|
587
550
|
if (!t.customMerge)
|
|
588
|
-
return
|
|
551
|
+
return we;
|
|
589
552
|
var r = t.customMerge(e);
|
|
590
|
-
return typeof r == "function" ? r :
|
|
553
|
+
return typeof r == "function" ? r : we;
|
|
591
554
|
}
|
|
592
|
-
function
|
|
555
|
+
function ai(e) {
|
|
593
556
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
594
557
|
return Object.propertyIsEnumerable.call(e, t);
|
|
595
558
|
}) : [];
|
|
596
559
|
}
|
|
597
|
-
function
|
|
598
|
-
return Object.keys(e).concat(
|
|
560
|
+
function Ht(e) {
|
|
561
|
+
return Object.keys(e).concat(ai(e));
|
|
599
562
|
}
|
|
600
|
-
function
|
|
563
|
+
function Kt(e, t) {
|
|
601
564
|
try {
|
|
602
565
|
return t in e;
|
|
603
|
-
} catch
|
|
566
|
+
} catch {
|
|
604
567
|
return !1;
|
|
605
568
|
}
|
|
606
569
|
}
|
|
607
|
-
function
|
|
608
|
-
return
|
|
570
|
+
function ui(e, t) {
|
|
571
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
609
572
|
}
|
|
610
|
-
function
|
|
573
|
+
function li(e, t, r) {
|
|
611
574
|
var i = {};
|
|
612
|
-
return r.isMergeableObject(e) &&
|
|
613
|
-
i[n] =
|
|
614
|
-
}),
|
|
615
|
-
|
|
575
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(n) {
|
|
576
|
+
i[n] = Ce(e[n], r);
|
|
577
|
+
}), Ht(t).forEach(function(n) {
|
|
578
|
+
ui(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = oi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
|
|
616
579
|
}), i;
|
|
617
580
|
}
|
|
618
|
-
function
|
|
619
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
581
|
+
function we(e, t, r) {
|
|
582
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || si, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = Ce;
|
|
620
583
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
621
|
-
return s ? i ? r.arrayMerge(e, t, r) :
|
|
584
|
+
return s ? i ? r.arrayMerge(e, t, r) : li(e, t, r) : Ce(t, r);
|
|
622
585
|
}
|
|
623
|
-
|
|
586
|
+
we.all = function(t, r) {
|
|
624
587
|
if (!Array.isArray(t))
|
|
625
588
|
throw new Error("first argument should be an array");
|
|
626
589
|
return t.reduce(function(i, n) {
|
|
627
|
-
return
|
|
590
|
+
return we(i, n, r);
|
|
628
591
|
}, {});
|
|
629
592
|
};
|
|
630
|
-
var
|
|
631
|
-
const
|
|
632
|
-
var
|
|
633
|
-
return
|
|
593
|
+
var hi = we, fi = hi;
|
|
594
|
+
const ci = /* @__PURE__ */ yt(fi);
|
|
595
|
+
var ut = function(e, t) {
|
|
596
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
634
597
|
r.__proto__ = i;
|
|
635
598
|
} || function(r, i) {
|
|
636
599
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
637
|
-
},
|
|
600
|
+
}, ut(e, t);
|
|
638
601
|
};
|
|
639
|
-
function
|
|
602
|
+
function qe(e, t) {
|
|
640
603
|
if (typeof t != "function" && t !== null)
|
|
641
604
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
642
|
-
|
|
605
|
+
ut(e, t);
|
|
643
606
|
function r() {
|
|
644
607
|
this.constructor = e;
|
|
645
608
|
}
|
|
646
609
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
647
610
|
}
|
|
648
|
-
var
|
|
649
|
-
return
|
|
611
|
+
var A = function() {
|
|
612
|
+
return A = Object.assign || function(t) {
|
|
650
613
|
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
651
614
|
r = arguments[i];
|
|
652
615
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
653
616
|
}
|
|
654
617
|
return t;
|
|
655
|
-
},
|
|
618
|
+
}, A.apply(this, arguments);
|
|
656
619
|
};
|
|
657
|
-
function
|
|
620
|
+
function di(e, t) {
|
|
658
621
|
var r = {};
|
|
659
622
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
660
623
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -662,45 +625,45 @@ function Ti(e, t) {
|
|
|
662
625
|
t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
|
|
663
626
|
return r;
|
|
664
627
|
}
|
|
665
|
-
function
|
|
628
|
+
function Ke(e, t, r) {
|
|
666
629
|
if (r || arguments.length === 2) for (var i = 0, n = t.length, s; i < n; i++)
|
|
667
630
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
668
631
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
669
632
|
}
|
|
670
|
-
function
|
|
671
|
-
var r = t && t.cache ? t.cache :
|
|
633
|
+
function et(e, t) {
|
|
634
|
+
var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : bi, n = t && t.strategy ? t.strategy : pi;
|
|
672
635
|
return n(e, {
|
|
673
636
|
cache: r,
|
|
674
637
|
serializer: i
|
|
675
638
|
});
|
|
676
639
|
}
|
|
677
|
-
function
|
|
640
|
+
function mi(e) {
|
|
678
641
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
679
642
|
}
|
|
680
|
-
function
|
|
681
|
-
var n =
|
|
682
|
-
return typeof s
|
|
643
|
+
function er(e, t, r, i) {
|
|
644
|
+
var n = mi(i) ? i : r(i), s = t.get(n);
|
|
645
|
+
return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
|
|
683
646
|
}
|
|
684
|
-
function
|
|
647
|
+
function tr(e, t, r) {
|
|
685
648
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
|
|
686
|
-
return typeof s
|
|
649
|
+
return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
|
|
687
650
|
}
|
|
688
|
-
function
|
|
651
|
+
function xt(e, t, r, i, n) {
|
|
689
652
|
return r.bind(t, e, i, n);
|
|
690
653
|
}
|
|
691
|
-
function
|
|
692
|
-
var r = e.length === 1 ?
|
|
693
|
-
return
|
|
654
|
+
function pi(e, t) {
|
|
655
|
+
var r = e.length === 1 ? er : tr;
|
|
656
|
+
return xt(e, this, r, t.cache.create(), t.serializer);
|
|
694
657
|
}
|
|
695
|
-
function
|
|
696
|
-
return
|
|
658
|
+
function gi(e, t) {
|
|
659
|
+
return xt(e, this, tr, t.cache.create(), t.serializer);
|
|
697
660
|
}
|
|
698
|
-
function
|
|
699
|
-
return
|
|
661
|
+
function vi(e, t) {
|
|
662
|
+
return xt(e, this, er, t.cache.create(), t.serializer);
|
|
700
663
|
}
|
|
701
|
-
var
|
|
664
|
+
var bi = function() {
|
|
702
665
|
return JSON.stringify(arguments);
|
|
703
|
-
},
|
|
666
|
+
}, yi = (
|
|
704
667
|
/** @class */
|
|
705
668
|
function() {
|
|
706
669
|
function e() {
|
|
@@ -712,13 +675,13 @@ var $i = function() {
|
|
|
712
675
|
this.cache[t] = r;
|
|
713
676
|
}, e;
|
|
714
677
|
}()
|
|
715
|
-
),
|
|
678
|
+
), xi = {
|
|
716
679
|
create: function() {
|
|
717
|
-
return new
|
|
680
|
+
return new yi();
|
|
718
681
|
}
|
|
719
|
-
},
|
|
720
|
-
variadic:
|
|
721
|
-
monadic:
|
|
682
|
+
}, tt = {
|
|
683
|
+
variadic: gi,
|
|
684
|
+
monadic: vi
|
|
722
685
|
}, T;
|
|
723
686
|
(function(e) {
|
|
724
687
|
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";
|
|
@@ -727,47 +690,47 @@ var C;
|
|
|
727
690
|
(function(e) {
|
|
728
691
|
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";
|
|
729
692
|
})(C || (C = {}));
|
|
730
|
-
var
|
|
693
|
+
var Se;
|
|
731
694
|
(function(e) {
|
|
732
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
733
|
-
})(
|
|
734
|
-
function
|
|
696
|
+
})(Se || (Se = {}));
|
|
697
|
+
function Ot(e) {
|
|
735
698
|
return e.type === C.literal;
|
|
736
699
|
}
|
|
737
|
-
function
|
|
700
|
+
function _i(e) {
|
|
738
701
|
return e.type === C.argument;
|
|
739
702
|
}
|
|
740
|
-
function
|
|
703
|
+
function rr(e) {
|
|
741
704
|
return e.type === C.number;
|
|
742
705
|
}
|
|
743
|
-
function
|
|
706
|
+
function ir(e) {
|
|
744
707
|
return e.type === C.date;
|
|
745
708
|
}
|
|
746
|
-
function
|
|
709
|
+
function nr(e) {
|
|
747
710
|
return e.type === C.time;
|
|
748
711
|
}
|
|
749
|
-
function
|
|
712
|
+
function sr(e) {
|
|
750
713
|
return e.type === C.select;
|
|
751
714
|
}
|
|
752
|
-
function
|
|
715
|
+
function or(e) {
|
|
753
716
|
return e.type === C.plural;
|
|
754
717
|
}
|
|
755
|
-
function
|
|
718
|
+
function Ei(e) {
|
|
756
719
|
return e.type === C.pound;
|
|
757
720
|
}
|
|
758
|
-
function
|
|
721
|
+
function ar(e) {
|
|
759
722
|
return e.type === C.tag;
|
|
760
723
|
}
|
|
761
|
-
function
|
|
762
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
724
|
+
function ur(e) {
|
|
725
|
+
return !!(e && typeof e == "object" && e.type === Se.number);
|
|
763
726
|
}
|
|
764
|
-
function
|
|
765
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
727
|
+
function lt(e) {
|
|
728
|
+
return !!(e && typeof e == "object" && e.type === Se.dateTime);
|
|
766
729
|
}
|
|
767
|
-
var
|
|
768
|
-
function
|
|
730
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
|
|
731
|
+
function Si(e) {
|
|
769
732
|
var t = {};
|
|
770
|
-
return e.replace(
|
|
733
|
+
return e.replace(wi, function(r) {
|
|
771
734
|
var i = r.length;
|
|
772
735
|
switch (r[0]) {
|
|
773
736
|
case "G":
|
|
@@ -856,36 +819,36 @@ function Li(e) {
|
|
|
856
819
|
return "";
|
|
857
820
|
}), t;
|
|
858
821
|
}
|
|
859
|
-
var
|
|
860
|
-
function
|
|
822
|
+
var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
823
|
+
function Hi(e) {
|
|
861
824
|
if (e.length === 0)
|
|
862
825
|
throw new Error("Number skeleton cannot be empty");
|
|
863
|
-
for (var t = e.split(
|
|
826
|
+
for (var t = e.split(Ti).filter(function(m) {
|
|
864
827
|
return m.length > 0;
|
|
865
828
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
866
|
-
var s = n[i],
|
|
867
|
-
if (
|
|
829
|
+
var s = n[i], l = s.split("/");
|
|
830
|
+
if (l.length === 0)
|
|
868
831
|
throw new Error("Invalid number skeleton");
|
|
869
|
-
for (var
|
|
832
|
+
for (var a = l[0], o = l.slice(1), u = 0, h = o; u < h.length; u++) {
|
|
870
833
|
var c = h[u];
|
|
871
834
|
if (c.length === 0)
|
|
872
835
|
throw new Error("Invalid number skeleton");
|
|
873
836
|
}
|
|
874
|
-
r.push({ stem:
|
|
837
|
+
r.push({ stem: a, options: o });
|
|
875
838
|
}
|
|
876
839
|
return r;
|
|
877
840
|
}
|
|
878
|
-
function
|
|
841
|
+
function Oi(e) {
|
|
879
842
|
return e.replace(/^(.*?)-/, "");
|
|
880
843
|
}
|
|
881
|
-
var
|
|
882
|
-
function
|
|
844
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
845
|
+
function Pt(e) {
|
|
883
846
|
var t = {};
|
|
884
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
847
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
|
|
885
848
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
886
849
|
}), t;
|
|
887
850
|
}
|
|
888
|
-
function
|
|
851
|
+
function cr(e) {
|
|
889
852
|
switch (e) {
|
|
890
853
|
case "sign-auto":
|
|
891
854
|
return {
|
|
@@ -925,7 +888,7 @@ function vr(e) {
|
|
|
925
888
|
};
|
|
926
889
|
}
|
|
927
890
|
}
|
|
928
|
-
function
|
|
891
|
+
function Pi(e) {
|
|
929
892
|
var t;
|
|
930
893
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
931
894
|
notation: "engineering"
|
|
@@ -933,17 +896,17 @@ function Fi(e) {
|
|
|
933
896
|
notation: "scientific"
|
|
934
897
|
}, e = e.slice(1)), t) {
|
|
935
898
|
var r = e.slice(0, 2);
|
|
936
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
899
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
937
900
|
throw new Error("Malformed concise eng/scientific notation");
|
|
938
901
|
t.minimumIntegerDigits = e.length;
|
|
939
902
|
}
|
|
940
903
|
return t;
|
|
941
904
|
}
|
|
942
|
-
function
|
|
943
|
-
var t = {}, r =
|
|
905
|
+
function $t(e) {
|
|
906
|
+
var t = {}, r = cr(e);
|
|
944
907
|
return r || t;
|
|
945
908
|
}
|
|
946
|
-
function
|
|
909
|
+
function $i(e) {
|
|
947
910
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
948
911
|
var n = i[r];
|
|
949
912
|
switch (n.stem) {
|
|
@@ -967,7 +930,7 @@ function Vi(e) {
|
|
|
967
930
|
continue;
|
|
968
931
|
case "measure-unit":
|
|
969
932
|
case "unit":
|
|
970
|
-
t.style = "unit", t.unit =
|
|
933
|
+
t.style = "unit", t.unit = Oi(n.options[0]);
|
|
971
934
|
continue;
|
|
972
935
|
case "compact-short":
|
|
973
936
|
case "K":
|
|
@@ -978,13 +941,13 @@ function Vi(e) {
|
|
|
978
941
|
t.notation = "compact", t.compactDisplay = "long";
|
|
979
942
|
continue;
|
|
980
943
|
case "scientific":
|
|
981
|
-
t =
|
|
982
|
-
return
|
|
944
|
+
t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
|
|
945
|
+
return A(A({}, o), $t(u));
|
|
983
946
|
}, {}));
|
|
984
947
|
continue;
|
|
985
948
|
case "engineering":
|
|
986
|
-
t =
|
|
987
|
-
return
|
|
949
|
+
t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
|
|
950
|
+
return A(A({}, o), $t(u));
|
|
988
951
|
}, {}));
|
|
989
952
|
continue;
|
|
990
953
|
case "notation-simple":
|
|
@@ -1029,7 +992,7 @@ function Vi(e) {
|
|
|
1029
992
|
case "integer-width":
|
|
1030
993
|
if (n.options.length > 1)
|
|
1031
994
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1032
|
-
n.options[0].replace(
|
|
995
|
+
n.options[0].replace(Ai, function(o, u, h, c, m, E) {
|
|
1033
996
|
if (u)
|
|
1034
997
|
t.minimumIntegerDigits = h.length;
|
|
1035
998
|
else {
|
|
@@ -1042,32 +1005,32 @@ function Vi(e) {
|
|
|
1042
1005
|
});
|
|
1043
1006
|
continue;
|
|
1044
1007
|
}
|
|
1045
|
-
if (
|
|
1008
|
+
if (fr.test(n.stem)) {
|
|
1046
1009
|
t.minimumIntegerDigits = n.stem.length;
|
|
1047
1010
|
continue;
|
|
1048
1011
|
}
|
|
1049
|
-
if (
|
|
1012
|
+
if (At.test(n.stem)) {
|
|
1050
1013
|
if (n.options.length > 1)
|
|
1051
1014
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1052
|
-
n.stem.replace(
|
|
1015
|
+
n.stem.replace(At, function(o, u, h, c, m, E) {
|
|
1053
1016
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1054
1017
|
});
|
|
1055
1018
|
var s = n.options[0];
|
|
1056
|
-
s === "w" ? t =
|
|
1019
|
+
s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Pt(s)));
|
|
1057
1020
|
continue;
|
|
1058
1021
|
}
|
|
1059
|
-
if (
|
|
1060
|
-
t =
|
|
1022
|
+
if (hr.test(n.stem)) {
|
|
1023
|
+
t = A(A({}, t), Pt(n.stem));
|
|
1061
1024
|
continue;
|
|
1062
1025
|
}
|
|
1063
|
-
var
|
|
1064
|
-
|
|
1065
|
-
var
|
|
1066
|
-
|
|
1026
|
+
var l = cr(n.stem);
|
|
1027
|
+
l && (t = A(A({}, t), l));
|
|
1028
|
+
var a = Pi(n.stem);
|
|
1029
|
+
a && (t = A(A({}, t), a));
|
|
1067
1030
|
}
|
|
1068
1031
|
return t;
|
|
1069
1032
|
}
|
|
1070
|
-
var
|
|
1033
|
+
var Ue = {
|
|
1071
1034
|
"001": [
|
|
1072
1035
|
"H",
|
|
1073
1036
|
"h"
|
|
@@ -2482,22 +2445,22 @@ var Ve = {
|
|
|
2482
2445
|
"h"
|
|
2483
2446
|
]
|
|
2484
2447
|
};
|
|
2485
|
-
function
|
|
2448
|
+
function Bi(e, t) {
|
|
2486
2449
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2487
2450
|
var n = e.charAt(i);
|
|
2488
2451
|
if (n === "j") {
|
|
2489
2452
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2490
2453
|
s++, i++;
|
|
2491
|
-
var
|
|
2492
|
-
for ((u == "H" || u == "k") && (
|
|
2454
|
+
var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Mi(t);
|
|
2455
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2493
2456
|
r += o;
|
|
2494
|
-
for (;
|
|
2457
|
+
for (; l-- > 0; )
|
|
2495
2458
|
r = u + r;
|
|
2496
2459
|
} else n === "J" ? r += "H" : r += n;
|
|
2497
2460
|
}
|
|
2498
2461
|
return r;
|
|
2499
2462
|
}
|
|
2500
|
-
function
|
|
2463
|
+
function Mi(e) {
|
|
2501
2464
|
var t = e.hourCycle;
|
|
2502
2465
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2503
2466
|
e.hourCycles && // @ts-ignore
|
|
@@ -2516,23 +2479,23 @@ function ji(e) {
|
|
|
2516
2479
|
}
|
|
2517
2480
|
var r = e.language, i;
|
|
2518
2481
|
r !== "root" && (i = e.maximize().region);
|
|
2519
|
-
var n =
|
|
2482
|
+
var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
|
|
2520
2483
|
return n[0];
|
|
2521
2484
|
}
|
|
2522
|
-
var
|
|
2485
|
+
var rt, Ci = new RegExp("^".concat(lr.source, "*")), Di = new RegExp("".concat(lr.source, "*$"));
|
|
2523
2486
|
function O(e, t) {
|
|
2524
2487
|
return { start: e, end: t };
|
|
2525
2488
|
}
|
|
2526
|
-
var
|
|
2489
|
+
var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
|
|
2527
2490
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2528
|
-
},
|
|
2491
|
+
}, ht = !0;
|
|
2529
2492
|
try {
|
|
2530
|
-
var
|
|
2531
|
-
|
|
2532
|
-
} catch
|
|
2533
|
-
|
|
2493
|
+
var Gi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2494
|
+
ht = ((rt = Gi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
2495
|
+
} catch {
|
|
2496
|
+
ht = !1;
|
|
2534
2497
|
}
|
|
2535
|
-
var
|
|
2498
|
+
var Bt = Ii ? (
|
|
2536
2499
|
// Native
|
|
2537
2500
|
function(t, r, i) {
|
|
2538
2501
|
return t.startsWith(r, i);
|
|
@@ -2542,31 +2505,31 @@ var Nt = Wi ? (
|
|
|
2542
2505
|
function(t, r, i) {
|
|
2543
2506
|
return t.slice(i, i + r.length) === r;
|
|
2544
2507
|
}
|
|
2545
|
-
),
|
|
2508
|
+
), ft = Li ? String.fromCodePoint : (
|
|
2546
2509
|
// IE11
|
|
2547
2510
|
function() {
|
|
2548
2511
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2549
2512
|
t[r] = arguments[r];
|
|
2550
|
-
for (var i = "", n = t.length, s = 0,
|
|
2551
|
-
if (
|
|
2552
|
-
throw RangeError(
|
|
2553
|
-
i +=
|
|
2513
|
+
for (var i = "", n = t.length, s = 0, l; n > s; ) {
|
|
2514
|
+
if (l = t[s++], l > 1114111)
|
|
2515
|
+
throw RangeError(l + " is not a valid code point");
|
|
2516
|
+
i += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
|
|
2554
2517
|
}
|
|
2555
2518
|
return i;
|
|
2556
2519
|
}
|
|
2557
|
-
),
|
|
2520
|
+
), Mt = (
|
|
2558
2521
|
// native
|
|
2559
|
-
|
|
2522
|
+
Ni ? Object.fromEntries : (
|
|
2560
2523
|
// Ponyfill
|
|
2561
2524
|
function(t) {
|
|
2562
2525
|
for (var r = {}, i = 0, n = t; i < n.length; i++) {
|
|
2563
|
-
var s = n[i],
|
|
2564
|
-
r[
|
|
2526
|
+
var s = n[i], l = s[0], a = s[1];
|
|
2527
|
+
r[l] = a;
|
|
2565
2528
|
}
|
|
2566
2529
|
return r;
|
|
2567
2530
|
}
|
|
2568
2531
|
)
|
|
2569
|
-
),
|
|
2532
|
+
), dr = Ri ? (
|
|
2570
2533
|
// Native
|
|
2571
2534
|
function(t, r) {
|
|
2572
2535
|
return t.codePointAt(r);
|
|
@@ -2580,7 +2543,7 @@ var Nt = Wi ? (
|
|
|
2580
2543
|
return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2581
2544
|
}
|
|
2582
2545
|
}
|
|
2583
|
-
),
|
|
2546
|
+
), ji = ki ? (
|
|
2584
2547
|
// Native
|
|
2585
2548
|
function(t) {
|
|
2586
2549
|
return t.trimStart();
|
|
@@ -2588,9 +2551,9 @@ var Nt = Wi ? (
|
|
|
2588
2551
|
) : (
|
|
2589
2552
|
// Ponyfill
|
|
2590
2553
|
function(t) {
|
|
2591
|
-
return t.replace(
|
|
2554
|
+
return t.replace(Ci, "");
|
|
2592
2555
|
}
|
|
2593
|
-
),
|
|
2556
|
+
), zi = Ui ? (
|
|
2594
2557
|
// Native
|
|
2595
2558
|
function(t) {
|
|
2596
2559
|
return t.trimEnd();
|
|
@@ -2598,32 +2561,32 @@ var Nt = Wi ? (
|
|
|
2598
2561
|
) : (
|
|
2599
2562
|
// Ponyfill
|
|
2600
2563
|
function(t) {
|
|
2601
|
-
return t.replace(
|
|
2564
|
+
return t.replace(Di, "");
|
|
2602
2565
|
}
|
|
2603
2566
|
);
|
|
2604
|
-
function
|
|
2567
|
+
function mr(e, t) {
|
|
2605
2568
|
return new RegExp(e, t);
|
|
2606
2569
|
}
|
|
2607
|
-
var
|
|
2608
|
-
if (
|
|
2609
|
-
var
|
|
2610
|
-
|
|
2570
|
+
var ct;
|
|
2571
|
+
if (ht) {
|
|
2572
|
+
var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2573
|
+
ct = function(t, r) {
|
|
2611
2574
|
var i;
|
|
2612
|
-
|
|
2613
|
-
var n =
|
|
2575
|
+
Ct.lastIndex = r;
|
|
2576
|
+
var n = Ct.exec(t);
|
|
2614
2577
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2615
2578
|
};
|
|
2616
2579
|
} else
|
|
2617
|
-
|
|
2580
|
+
ct = function(t, r) {
|
|
2618
2581
|
for (var i = []; ; ) {
|
|
2619
|
-
var n =
|
|
2620
|
-
if (n === void 0 ||
|
|
2582
|
+
var n = dr(t, r);
|
|
2583
|
+
if (n === void 0 || pr(n) || Yi(n))
|
|
2621
2584
|
break;
|
|
2622
2585
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2623
2586
|
}
|
|
2624
|
-
return
|
|
2587
|
+
return ft.apply(void 0, i);
|
|
2625
2588
|
};
|
|
2626
|
-
var
|
|
2589
|
+
var Xi = (
|
|
2627
2590
|
/** @class */
|
|
2628
2591
|
function() {
|
|
2629
2592
|
function e(t, r) {
|
|
@@ -2637,33 +2600,33 @@ var sn = (
|
|
|
2637
2600
|
for (var n = []; !this.isEOF(); ) {
|
|
2638
2601
|
var s = this.char();
|
|
2639
2602
|
if (s === 123) {
|
|
2640
|
-
var
|
|
2641
|
-
if (
|
|
2642
|
-
return
|
|
2643
|
-
n.push(
|
|
2603
|
+
var l = this.parseArgument(t, i);
|
|
2604
|
+
if (l.err)
|
|
2605
|
+
return l;
|
|
2606
|
+
n.push(l.val);
|
|
2644
2607
|
} else {
|
|
2645
2608
|
if (s === 125 && t > 0)
|
|
2646
2609
|
break;
|
|
2647
2610
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2648
|
-
var
|
|
2611
|
+
var a = this.clonePosition();
|
|
2649
2612
|
this.bump(), n.push({
|
|
2650
2613
|
type: C.pound,
|
|
2651
|
-
location: O(
|
|
2614
|
+
location: O(a, this.clonePosition())
|
|
2652
2615
|
});
|
|
2653
2616
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2654
2617
|
if (i)
|
|
2655
2618
|
break;
|
|
2656
2619
|
return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
|
|
2657
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2658
|
-
var
|
|
2659
|
-
if (
|
|
2660
|
-
return
|
|
2661
|
-
n.push(
|
|
2620
|
+
} else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
|
|
2621
|
+
var l = this.parseTag(t, r);
|
|
2622
|
+
if (l.err)
|
|
2623
|
+
return l;
|
|
2624
|
+
n.push(l.val);
|
|
2662
2625
|
} else {
|
|
2663
|
-
var
|
|
2664
|
-
if (
|
|
2665
|
-
return
|
|
2666
|
-
n.push(
|
|
2626
|
+
var l = this.parseLiteral(t, r);
|
|
2627
|
+
if (l.err)
|
|
2628
|
+
return l;
|
|
2629
|
+
n.push(l.val);
|
|
2667
2630
|
}
|
|
2668
2631
|
}
|
|
2669
2632
|
}
|
|
@@ -2685,27 +2648,27 @@ var sn = (
|
|
|
2685
2648
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2686
2649
|
if (s.err)
|
|
2687
2650
|
return s;
|
|
2688
|
-
var
|
|
2651
|
+
var l = s.val, a = this.clonePosition();
|
|
2689
2652
|
if (this.bumpIf("</")) {
|
|
2690
|
-
if (this.isEOF() || !
|
|
2691
|
-
return this.error(T.INVALID_TAG, O(
|
|
2653
|
+
if (this.isEOF() || !dt(this.char()))
|
|
2654
|
+
return this.error(T.INVALID_TAG, O(a, this.clonePosition()));
|
|
2692
2655
|
var o = this.clonePosition(), u = this.parseTagName();
|
|
2693
2656
|
return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2694
2657
|
val: {
|
|
2695
2658
|
type: C.tag,
|
|
2696
2659
|
value: n,
|
|
2697
|
-
children:
|
|
2660
|
+
children: l,
|
|
2698
2661
|
location: O(i, this.clonePosition())
|
|
2699
2662
|
},
|
|
2700
2663
|
err: null
|
|
2701
|
-
} : this.error(T.INVALID_TAG, O(
|
|
2664
|
+
} : this.error(T.INVALID_TAG, O(a, this.clonePosition())));
|
|
2702
2665
|
} else
|
|
2703
2666
|
return this.error(T.UNCLOSED_TAG, O(i, this.clonePosition()));
|
|
2704
2667
|
} else
|
|
2705
2668
|
return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
|
|
2706
2669
|
}, e.prototype.parseTagName = function() {
|
|
2707
2670
|
var t = this.offset();
|
|
2708
|
-
for (this.bump(); !this.isEOF() &&
|
|
2671
|
+
for (this.bump(); !this.isEOF() && qi(this.char()); )
|
|
2709
2672
|
this.bump();
|
|
2710
2673
|
return this.message.slice(t, this.offset());
|
|
2711
2674
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2715,16 +2678,16 @@ var sn = (
|
|
|
2715
2678
|
n += s;
|
|
2716
2679
|
continue;
|
|
2717
2680
|
}
|
|
2718
|
-
var
|
|
2719
|
-
if (a) {
|
|
2720
|
-
n += a;
|
|
2721
|
-
continue;
|
|
2722
|
-
}
|
|
2723
|
-
var l = this.tryParseLeftAngleBracket();
|
|
2681
|
+
var l = this.tryParseUnquoted(t, r);
|
|
2724
2682
|
if (l) {
|
|
2725
2683
|
n += l;
|
|
2726
2684
|
continue;
|
|
2727
2685
|
}
|
|
2686
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2687
|
+
if (a) {
|
|
2688
|
+
n += a;
|
|
2689
|
+
continue;
|
|
2690
|
+
}
|
|
2728
2691
|
break;
|
|
2729
2692
|
}
|
|
2730
2693
|
var o = O(i, this.clonePosition());
|
|
@@ -2734,7 +2697,7 @@ var sn = (
|
|
|
2734
2697
|
};
|
|
2735
2698
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2736
2699
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2737
|
-
!
|
|
2700
|
+
!Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2738
2701
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2739
2702
|
if (this.isEOF() || this.char() !== 39)
|
|
2740
2703
|
return null;
|
|
@@ -2768,12 +2731,12 @@ var sn = (
|
|
|
2768
2731
|
r.push(i);
|
|
2769
2732
|
this.bump();
|
|
2770
2733
|
}
|
|
2771
|
-
return
|
|
2734
|
+
return ft.apply(void 0, r);
|
|
2772
2735
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2773
2736
|
if (this.isEOF())
|
|
2774
2737
|
return null;
|
|
2775
2738
|
var i = this.char();
|
|
2776
|
-
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(),
|
|
2739
|
+
return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
|
|
2777
2740
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2778
2741
|
var i = this.clonePosition();
|
|
2779
2742
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2802,15 +2765,15 @@ var sn = (
|
|
|
2802
2765
|
return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
|
|
2803
2766
|
}
|
|
2804
2767
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2805
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
2768
|
+
var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
|
|
2806
2769
|
this.bumpTo(n);
|
|
2807
|
-
var s = this.clonePosition(),
|
|
2808
|
-
return { value: i, location:
|
|
2770
|
+
var s = this.clonePosition(), l = O(t, s);
|
|
2771
|
+
return { value: i, location: l };
|
|
2809
2772
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2810
|
-
var s,
|
|
2811
|
-
switch (
|
|
2773
|
+
var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
|
|
2774
|
+
switch (a) {
|
|
2812
2775
|
case "":
|
|
2813
|
-
return this.error(T.EXPECT_ARGUMENT_TYPE, O(
|
|
2776
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, O(l, o));
|
|
2814
2777
|
case "number":
|
|
2815
2778
|
case "date":
|
|
2816
2779
|
case "time": {
|
|
@@ -2821,7 +2784,7 @@ var sn = (
|
|
|
2821
2784
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2822
2785
|
if (c.err)
|
|
2823
2786
|
return c;
|
|
2824
|
-
var m =
|
|
2787
|
+
var m = zi(c.val);
|
|
2825
2788
|
if (m.length === 0)
|
|
2826
2789
|
return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
|
|
2827
2790
|
var E = O(h, this.clonePosition());
|
|
@@ -2830,38 +2793,38 @@ var sn = (
|
|
|
2830
2793
|
var H = this.tryParseArgumentClose(n);
|
|
2831
2794
|
if (H.err)
|
|
2832
2795
|
return H;
|
|
2833
|
-
var
|
|
2834
|
-
if (u &&
|
|
2835
|
-
var $ =
|
|
2836
|
-
if (
|
|
2796
|
+
var v = O(n, this.clonePosition());
|
|
2797
|
+
if (u && Bt(u?.style, "::", 0)) {
|
|
2798
|
+
var $ = ji(u.style.slice(2));
|
|
2799
|
+
if (a === "number") {
|
|
2837
2800
|
var c = this.parseNumberSkeletonFromString($, u.styleLocation);
|
|
2838
2801
|
return c.err ? c : {
|
|
2839
|
-
val: { type: C.number, value: i, location:
|
|
2802
|
+
val: { type: C.number, value: i, location: v, style: c.val },
|
|
2840
2803
|
err: null
|
|
2841
2804
|
};
|
|
2842
2805
|
} else {
|
|
2843
2806
|
if ($.length === 0)
|
|
2844
|
-
return this.error(T.EXPECT_DATE_TIME_SKELETON,
|
|
2845
|
-
var
|
|
2846
|
-
this.locale && (
|
|
2807
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
|
|
2808
|
+
var V = $;
|
|
2809
|
+
this.locale && (V = Bi($, this.locale));
|
|
2847
2810
|
var m = {
|
|
2848
|
-
type:
|
|
2849
|
-
pattern:
|
|
2811
|
+
type: Se.dateTime,
|
|
2812
|
+
pattern: V,
|
|
2850
2813
|
location: u.styleLocation,
|
|
2851
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2852
|
-
}, U =
|
|
2814
|
+
parsedOptions: this.shouldParseSkeletons ? Si(V) : {}
|
|
2815
|
+
}, U = a === "date" ? C.date : C.time;
|
|
2853
2816
|
return {
|
|
2854
|
-
val: { type: U, value: i, location:
|
|
2817
|
+
val: { type: U, value: i, location: v, style: m },
|
|
2855
2818
|
err: null
|
|
2856
2819
|
};
|
|
2857
2820
|
}
|
|
2858
2821
|
}
|
|
2859
2822
|
return {
|
|
2860
2823
|
val: {
|
|
2861
|
-
type:
|
|
2824
|
+
type: a === "number" ? C.number : a === "date" ? C.date : C.time,
|
|
2862
2825
|
value: i,
|
|
2863
|
-
location:
|
|
2864
|
-
style: (s = u
|
|
2826
|
+
location: v,
|
|
2827
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2865
2828
|
},
|
|
2866
2829
|
err: null
|
|
2867
2830
|
};
|
|
@@ -2871,47 +2834,47 @@ var sn = (
|
|
|
2871
2834
|
case "select": {
|
|
2872
2835
|
var B = this.clonePosition();
|
|
2873
2836
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2874
|
-
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B,
|
|
2837
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B, A({}, B)));
|
|
2875
2838
|
this.bumpSpace();
|
|
2876
|
-
var
|
|
2877
|
-
if (
|
|
2839
|
+
var z = this.parseIdentifierIfPossible(), I = 0;
|
|
2840
|
+
if (a !== "select" && z.value === "offset") {
|
|
2878
2841
|
if (!this.bumpIf(":"))
|
|
2879
2842
|
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
|
|
2880
2843
|
this.bumpSpace();
|
|
2881
2844
|
var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2882
2845
|
if (c.err)
|
|
2883
2846
|
return c;
|
|
2884
|
-
this.bumpSpace(),
|
|
2847
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
|
|
2885
2848
|
}
|
|
2886
|
-
var L = this.tryParsePluralOrSelectOptions(t,
|
|
2849
|
+
var L = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
2887
2850
|
if (L.err)
|
|
2888
2851
|
return L;
|
|
2889
2852
|
var H = this.tryParseArgumentClose(n);
|
|
2890
2853
|
if (H.err)
|
|
2891
2854
|
return H;
|
|
2892
|
-
var
|
|
2893
|
-
return
|
|
2855
|
+
var q = O(n, this.clonePosition());
|
|
2856
|
+
return a === "select" ? {
|
|
2894
2857
|
val: {
|
|
2895
2858
|
type: C.select,
|
|
2896
2859
|
value: i,
|
|
2897
|
-
options:
|
|
2898
|
-
location:
|
|
2860
|
+
options: Mt(L.val),
|
|
2861
|
+
location: q
|
|
2899
2862
|
},
|
|
2900
2863
|
err: null
|
|
2901
2864
|
} : {
|
|
2902
2865
|
val: {
|
|
2903
2866
|
type: C.plural,
|
|
2904
2867
|
value: i,
|
|
2905
|
-
options:
|
|
2868
|
+
options: Mt(L.val),
|
|
2906
2869
|
offset: I,
|
|
2907
|
-
pluralType:
|
|
2908
|
-
location:
|
|
2870
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2871
|
+
location: q
|
|
2909
2872
|
},
|
|
2910
2873
|
err: null
|
|
2911
2874
|
};
|
|
2912
2875
|
}
|
|
2913
2876
|
default:
|
|
2914
|
-
return this.error(T.INVALID_ARGUMENT_TYPE, O(
|
|
2877
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, O(l, o));
|
|
2915
2878
|
}
|
|
2916
2879
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2917
2880
|
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2953,21 +2916,21 @@ var sn = (
|
|
|
2953
2916
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2954
2917
|
var i = [];
|
|
2955
2918
|
try {
|
|
2956
|
-
i =
|
|
2957
|
-
} catch
|
|
2919
|
+
i = Hi(t);
|
|
2920
|
+
} catch {
|
|
2958
2921
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
2959
2922
|
}
|
|
2960
2923
|
return {
|
|
2961
2924
|
val: {
|
|
2962
|
-
type:
|
|
2925
|
+
type: Se.number,
|
|
2963
2926
|
tokens: i,
|
|
2964
2927
|
location: r,
|
|
2965
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2928
|
+
parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
|
|
2966
2929
|
},
|
|
2967
2930
|
err: null
|
|
2968
2931
|
};
|
|
2969
2932
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
2970
|
-
for (var s,
|
|
2933
|
+
for (var s, l = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
|
|
2971
2934
|
if (u.length === 0) {
|
|
2972
2935
|
var c = this.clonePosition();
|
|
2973
2936
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -2980,17 +2943,17 @@ var sn = (
|
|
|
2980
2943
|
}
|
|
2981
2944
|
if (o.has(u))
|
|
2982
2945
|
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2983
|
-
u === "other" && (
|
|
2946
|
+
u === "other" && (l = !0), this.bumpSpace();
|
|
2984
2947
|
var E = this.clonePosition();
|
|
2985
2948
|
if (!this.bumpIf("{"))
|
|
2986
2949
|
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
|
|
2987
2950
|
var H = this.parseMessage(t + 1, r, i);
|
|
2988
2951
|
if (H.err)
|
|
2989
2952
|
return H;
|
|
2990
|
-
var
|
|
2991
|
-
if (
|
|
2992
|
-
return
|
|
2993
|
-
|
|
2953
|
+
var v = this.tryParseArgumentClose(E);
|
|
2954
|
+
if (v.err)
|
|
2955
|
+
return v;
|
|
2956
|
+
a.push([
|
|
2994
2957
|
u,
|
|
2995
2958
|
{
|
|
2996
2959
|
value: H.val,
|
|
@@ -2998,19 +2961,19 @@ var sn = (
|
|
|
2998
2961
|
}
|
|
2999
2962
|
]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3000
2963
|
}
|
|
3001
|
-
return
|
|
2964
|
+
return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(T.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3002
2965
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3003
2966
|
var i = 1, n = this.clonePosition();
|
|
3004
2967
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
3005
|
-
for (var s = !1,
|
|
3006
|
-
var
|
|
3007
|
-
if (
|
|
3008
|
-
s = !0,
|
|
2968
|
+
for (var s = !1, l = 0; !this.isEOF(); ) {
|
|
2969
|
+
var a = this.char();
|
|
2970
|
+
if (a >= 48 && a <= 57)
|
|
2971
|
+
s = !0, l = l * 10 + (a - 48), this.bump();
|
|
3009
2972
|
else
|
|
3010
2973
|
break;
|
|
3011
2974
|
}
|
|
3012
2975
|
var o = O(n, this.clonePosition());
|
|
3013
|
-
return s ? (
|
|
2976
|
+
return s ? (l *= i, Vi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
|
|
3014
2977
|
}, e.prototype.offset = function() {
|
|
3015
2978
|
return this.position.offset;
|
|
3016
2979
|
}, e.prototype.isEOF = function() {
|
|
@@ -3025,7 +2988,7 @@ var sn = (
|
|
|
3025
2988
|
var t = this.position.offset;
|
|
3026
2989
|
if (t >= this.message.length)
|
|
3027
2990
|
throw Error("out of bound");
|
|
3028
|
-
var r =
|
|
2991
|
+
var r = dr(this.message, t);
|
|
3029
2992
|
if (r === void 0)
|
|
3030
2993
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3031
2994
|
return r;
|
|
@@ -3044,7 +3007,7 @@ var sn = (
|
|
|
3044
3007
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3045
3008
|
}
|
|
3046
3009
|
}, e.prototype.bumpIf = function(t) {
|
|
3047
|
-
if (
|
|
3010
|
+
if (Bt(this.message, t, this.offset())) {
|
|
3048
3011
|
for (var r = 0; r < t.length; r++)
|
|
3049
3012
|
this.bump();
|
|
3050
3013
|
return !0;
|
|
@@ -3066,56 +3029,56 @@ var sn = (
|
|
|
3066
3029
|
break;
|
|
3067
3030
|
}
|
|
3068
3031
|
}, e.prototype.bumpSpace = function() {
|
|
3069
|
-
for (; !this.isEOF() &&
|
|
3032
|
+
for (; !this.isEOF() && pr(this.char()); )
|
|
3070
3033
|
this.bump();
|
|
3071
3034
|
}, e.prototype.peek = function() {
|
|
3072
3035
|
if (this.isEOF())
|
|
3073
3036
|
return null;
|
|
3074
3037
|
var t = this.char(), r = this.offset(), i = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3075
|
-
return i
|
|
3038
|
+
return i ?? null;
|
|
3076
3039
|
}, e;
|
|
3077
3040
|
}()
|
|
3078
3041
|
);
|
|
3079
|
-
function
|
|
3042
|
+
function dt(e) {
|
|
3080
3043
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3081
3044
|
}
|
|
3082
|
-
function
|
|
3083
|
-
return
|
|
3045
|
+
function Wi(e) {
|
|
3046
|
+
return dt(e) || e === 47;
|
|
3084
3047
|
}
|
|
3085
|
-
function
|
|
3048
|
+
function qi(e) {
|
|
3086
3049
|
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;
|
|
3087
3050
|
}
|
|
3088
|
-
function
|
|
3051
|
+
function pr(e) {
|
|
3089
3052
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3090
3053
|
}
|
|
3091
|
-
function
|
|
3054
|
+
function Yi(e) {
|
|
3092
3055
|
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;
|
|
3093
3056
|
}
|
|
3094
|
-
function
|
|
3057
|
+
function mt(e) {
|
|
3095
3058
|
e.forEach(function(t) {
|
|
3096
|
-
if (delete t.location,
|
|
3059
|
+
if (delete t.location, sr(t) || or(t))
|
|
3097
3060
|
for (var r in t.options)
|
|
3098
|
-
delete t.options[r].location,
|
|
3099
|
-
else
|
|
3061
|
+
delete t.options[r].location, mt(t.options[r].value);
|
|
3062
|
+
else rr(t) && ur(t.style) || (ir(t) || nr(t)) && lt(t.style) ? delete t.style.location : ar(t) && mt(t.children);
|
|
3100
3063
|
});
|
|
3101
3064
|
}
|
|
3102
|
-
function
|
|
3103
|
-
t === void 0 && (t = {}), t =
|
|
3104
|
-
var r = new
|
|
3065
|
+
function Zi(e, t) {
|
|
3066
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3067
|
+
var r = new Xi(e, t).parse();
|
|
3105
3068
|
if (r.err) {
|
|
3106
3069
|
var i = SyntaxError(T[r.err.kind]);
|
|
3107
3070
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3108
3071
|
}
|
|
3109
|
-
return t
|
|
3072
|
+
return t?.captureLocation || mt(r.val), r.val;
|
|
3110
3073
|
}
|
|
3111
|
-
var
|
|
3074
|
+
var Te;
|
|
3112
3075
|
(function(e) {
|
|
3113
3076
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3114
|
-
})(
|
|
3115
|
-
var
|
|
3077
|
+
})(Te || (Te = {}));
|
|
3078
|
+
var Ye = (
|
|
3116
3079
|
/** @class */
|
|
3117
3080
|
function(e) {
|
|
3118
|
-
|
|
3081
|
+
qe(t, e);
|
|
3119
3082
|
function t(r, i, n) {
|
|
3120
3083
|
var s = e.call(this, r) || this;
|
|
3121
3084
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3124,155 +3087,155 @@ var Je = (
|
|
|
3124
3087
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3125
3088
|
}, t;
|
|
3126
3089
|
}(Error)
|
|
3127
|
-
),
|
|
3090
|
+
), Dt = (
|
|
3128
3091
|
/** @class */
|
|
3129
3092
|
function(e) {
|
|
3130
|
-
|
|
3093
|
+
qe(t, e);
|
|
3131
3094
|
function t(r, i, n, s) {
|
|
3132
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3095
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
|
|
3133
3096
|
}
|
|
3134
3097
|
return t;
|
|
3135
|
-
}(
|
|
3136
|
-
),
|
|
3098
|
+
}(Ye)
|
|
3099
|
+
), Ji = (
|
|
3137
3100
|
/** @class */
|
|
3138
3101
|
function(e) {
|
|
3139
|
-
|
|
3102
|
+
qe(t, e);
|
|
3140
3103
|
function t(r, i, n) {
|
|
3141
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3104
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
|
|
3142
3105
|
}
|
|
3143
3106
|
return t;
|
|
3144
|
-
}(
|
|
3145
|
-
),
|
|
3107
|
+
}(Ye)
|
|
3108
|
+
), Qi = (
|
|
3146
3109
|
/** @class */
|
|
3147
3110
|
function(e) {
|
|
3148
|
-
|
|
3111
|
+
qe(t, e);
|
|
3149
3112
|
function t(r, i) {
|
|
3150
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3113
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
|
|
3151
3114
|
}
|
|
3152
3115
|
return t;
|
|
3153
|
-
}(
|
|
3154
|
-
),
|
|
3116
|
+
}(Ye)
|
|
3117
|
+
), j;
|
|
3155
3118
|
(function(e) {
|
|
3156
3119
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3157
|
-
})(
|
|
3158
|
-
function
|
|
3120
|
+
})(j || (j = {}));
|
|
3121
|
+
function Ki(e) {
|
|
3159
3122
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3160
3123
|
var i = t[t.length - 1];
|
|
3161
|
-
return !i || i.type !==
|
|
3124
|
+
return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
|
|
3162
3125
|
}, []);
|
|
3163
3126
|
}
|
|
3164
|
-
function
|
|
3127
|
+
function en(e) {
|
|
3165
3128
|
return typeof e == "function";
|
|
3166
3129
|
}
|
|
3167
|
-
function
|
|
3168
|
-
if (e.length === 1 &&
|
|
3130
|
+
function Ve(e, t, r, i, n, s, l) {
|
|
3131
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3169
3132
|
return [
|
|
3170
3133
|
{
|
|
3171
|
-
type:
|
|
3134
|
+
type: j.literal,
|
|
3172
3135
|
value: e[0].value
|
|
3173
3136
|
}
|
|
3174
3137
|
];
|
|
3175
|
-
for (var
|
|
3138
|
+
for (var a = [], o = 0, u = e; o < u.length; o++) {
|
|
3176
3139
|
var h = u[o];
|
|
3177
|
-
if (
|
|
3178
|
-
|
|
3179
|
-
type:
|
|
3140
|
+
if (Ot(h)) {
|
|
3141
|
+
a.push({
|
|
3142
|
+
type: j.literal,
|
|
3180
3143
|
value: h.value
|
|
3181
3144
|
});
|
|
3182
3145
|
continue;
|
|
3183
3146
|
}
|
|
3184
|
-
if (
|
|
3185
|
-
typeof s == "number" &&
|
|
3186
|
-
type:
|
|
3147
|
+
if (Ei(h)) {
|
|
3148
|
+
typeof s == "number" && a.push({
|
|
3149
|
+
type: j.literal,
|
|
3187
3150
|
value: r.getNumberFormat(t).format(s)
|
|
3188
3151
|
});
|
|
3189
3152
|
continue;
|
|
3190
3153
|
}
|
|
3191
3154
|
var c = h.value;
|
|
3192
3155
|
if (!(n && c in n))
|
|
3193
|
-
throw new
|
|
3156
|
+
throw new Qi(c, l);
|
|
3194
3157
|
var m = n[c];
|
|
3195
|
-
if (
|
|
3196
|
-
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""),
|
|
3197
|
-
type: typeof m == "string" ?
|
|
3158
|
+
if (_i(h)) {
|
|
3159
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
|
|
3160
|
+
type: typeof m == "string" ? j.literal : j.object,
|
|
3198
3161
|
value: m
|
|
3199
3162
|
});
|
|
3200
3163
|
continue;
|
|
3201
3164
|
}
|
|
3202
|
-
if (
|
|
3203
|
-
var E = typeof h.style == "string" ? i.date[h.style] :
|
|
3204
|
-
|
|
3205
|
-
type:
|
|
3165
|
+
if (ir(h)) {
|
|
3166
|
+
var E = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
|
|
3167
|
+
a.push({
|
|
3168
|
+
type: j.literal,
|
|
3206
3169
|
value: r.getDateTimeFormat(t, E).format(m)
|
|
3207
3170
|
});
|
|
3208
3171
|
continue;
|
|
3209
3172
|
}
|
|
3210
|
-
if (
|
|
3211
|
-
var E = typeof h.style == "string" ? i.time[h.style] :
|
|
3212
|
-
|
|
3213
|
-
type:
|
|
3173
|
+
if (nr(h)) {
|
|
3174
|
+
var E = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3175
|
+
a.push({
|
|
3176
|
+
type: j.literal,
|
|
3214
3177
|
value: r.getDateTimeFormat(t, E).format(m)
|
|
3215
3178
|
});
|
|
3216
3179
|
continue;
|
|
3217
3180
|
}
|
|
3218
|
-
if (
|
|
3219
|
-
var E = typeof h.style == "string" ? i.number[h.style] :
|
|
3220
|
-
E && E.scale && (m = m * (E.scale || 1)),
|
|
3221
|
-
type:
|
|
3181
|
+
if (rr(h)) {
|
|
3182
|
+
var E = typeof h.style == "string" ? i.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
|
|
3183
|
+
E && E.scale && (m = m * (E.scale || 1)), a.push({
|
|
3184
|
+
type: j.literal,
|
|
3222
3185
|
value: r.getNumberFormat(t, E).format(m)
|
|
3223
3186
|
});
|
|
3224
3187
|
continue;
|
|
3225
3188
|
}
|
|
3226
|
-
if (
|
|
3227
|
-
var H = h.children,
|
|
3228
|
-
if (!
|
|
3229
|
-
throw new
|
|
3230
|
-
var
|
|
3189
|
+
if (ar(h)) {
|
|
3190
|
+
var H = h.children, v = h.value, $ = n[v];
|
|
3191
|
+
if (!en($))
|
|
3192
|
+
throw new Ji(v, "function", l);
|
|
3193
|
+
var V = Ve(H, t, r, i, n, s), U = $(V.map(function(I) {
|
|
3231
3194
|
return I.value;
|
|
3232
3195
|
}));
|
|
3233
|
-
Array.isArray(U) || (U = [U]),
|
|
3196
|
+
Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(I) {
|
|
3234
3197
|
return {
|
|
3235
|
-
type: typeof I == "string" ?
|
|
3198
|
+
type: typeof I == "string" ? j.literal : j.object,
|
|
3236
3199
|
value: I
|
|
3237
3200
|
};
|
|
3238
3201
|
}));
|
|
3239
3202
|
}
|
|
3240
|
-
if (
|
|
3203
|
+
if (sr(h)) {
|
|
3241
3204
|
var B = h.options[m] || h.options.other;
|
|
3242
3205
|
if (!B)
|
|
3243
|
-
throw new
|
|
3244
|
-
|
|
3206
|
+
throw new Dt(h.value, m, Object.keys(h.options), l);
|
|
3207
|
+
a.push.apply(a, Ve(B.value, t, r, i, n));
|
|
3245
3208
|
continue;
|
|
3246
3209
|
}
|
|
3247
|
-
if (
|
|
3210
|
+
if (or(h)) {
|
|
3248
3211
|
var B = h.options["=".concat(m)];
|
|
3249
3212
|
if (!B) {
|
|
3250
3213
|
if (!Intl.PluralRules)
|
|
3251
|
-
throw new
|
|
3214
|
+
throw new Ye(`Intl.PluralRules is not available in this environment.
|
|
3252
3215
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3253
|
-
`,
|
|
3254
|
-
var
|
|
3255
|
-
B = h.options[
|
|
3216
|
+
`, Te.MISSING_INTL_API, l);
|
|
3217
|
+
var z = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
|
|
3218
|
+
B = h.options[z] || h.options.other;
|
|
3256
3219
|
}
|
|
3257
3220
|
if (!B)
|
|
3258
|
-
throw new
|
|
3259
|
-
|
|
3221
|
+
throw new Dt(h.value, m, Object.keys(h.options), l);
|
|
3222
|
+
a.push.apply(a, Ve(B.value, t, r, i, n, m - (h.offset || 0)));
|
|
3260
3223
|
continue;
|
|
3261
3224
|
}
|
|
3262
3225
|
}
|
|
3263
|
-
return
|
|
3226
|
+
return Ki(a);
|
|
3264
3227
|
}
|
|
3265
|
-
function
|
|
3266
|
-
return t ?
|
|
3267
|
-
return r[i] =
|
|
3228
|
+
function tn(e, t) {
|
|
3229
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
|
|
3230
|
+
return r[i] = A(A({}, e[i]), t[i] || {}), r;
|
|
3268
3231
|
}, {})) : e;
|
|
3269
3232
|
}
|
|
3270
|
-
function
|
|
3233
|
+
function rn(e, t) {
|
|
3271
3234
|
return t ? Object.keys(e).reduce(function(r, i) {
|
|
3272
|
-
return r[i] =
|
|
3273
|
-
},
|
|
3235
|
+
return r[i] = tn(e[i], t[i]), r;
|
|
3236
|
+
}, A({}, e)) : e;
|
|
3274
3237
|
}
|
|
3275
|
-
function
|
|
3238
|
+
function it(e) {
|
|
3276
3239
|
return {
|
|
3277
3240
|
create: function() {
|
|
3278
3241
|
return {
|
|
@@ -3286,39 +3249,39 @@ function st(e) {
|
|
|
3286
3249
|
}
|
|
3287
3250
|
};
|
|
3288
3251
|
}
|
|
3289
|
-
function
|
|
3252
|
+
function nn(e) {
|
|
3290
3253
|
return e === void 0 && (e = {
|
|
3291
3254
|
number: {},
|
|
3292
3255
|
dateTime: {},
|
|
3293
3256
|
pluralRules: {}
|
|
3294
3257
|
}), {
|
|
3295
|
-
getNumberFormat:
|
|
3258
|
+
getNumberFormat: et(function() {
|
|
3296
3259
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3297
3260
|
r[i] = arguments[i];
|
|
3298
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3261
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3299
3262
|
}, {
|
|
3300
|
-
cache:
|
|
3301
|
-
strategy:
|
|
3263
|
+
cache: it(e.number),
|
|
3264
|
+
strategy: tt.variadic
|
|
3302
3265
|
}),
|
|
3303
|
-
getDateTimeFormat:
|
|
3266
|
+
getDateTimeFormat: et(function() {
|
|
3304
3267
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3305
3268
|
r[i] = arguments[i];
|
|
3306
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3269
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3307
3270
|
}, {
|
|
3308
|
-
cache:
|
|
3309
|
-
strategy:
|
|
3271
|
+
cache: it(e.dateTime),
|
|
3272
|
+
strategy: tt.variadic
|
|
3310
3273
|
}),
|
|
3311
|
-
getPluralRules:
|
|
3274
|
+
getPluralRules: et(function() {
|
|
3312
3275
|
for (var t, r = [], i = 0; i < arguments.length; i++)
|
|
3313
3276
|
r[i] = arguments[i];
|
|
3314
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3277
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3315
3278
|
}, {
|
|
3316
|
-
cache:
|
|
3317
|
-
strategy:
|
|
3279
|
+
cache: it(e.pluralRules),
|
|
3280
|
+
strategy: tt.variadic
|
|
3318
3281
|
})
|
|
3319
3282
|
};
|
|
3320
3283
|
}
|
|
3321
|
-
var
|
|
3284
|
+
var gr = (
|
|
3322
3285
|
/** @class */
|
|
3323
3286
|
function() {
|
|
3324
3287
|
function e(t, r, i, n) {
|
|
@@ -3333,11 +3296,11 @@ var Er = (
|
|
|
3333
3296
|
if (u.length === 1)
|
|
3334
3297
|
return u[0].value;
|
|
3335
3298
|
var h = u.reduce(function(c, m) {
|
|
3336
|
-
return !c.length || m.type !==
|
|
3299
|
+
return !c.length || m.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
|
|
3337
3300
|
}, []);
|
|
3338
3301
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3339
3302
|
}, this.formatToParts = function(o) {
|
|
3340
|
-
return
|
|
3303
|
+
return Ve(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
|
|
3341
3304
|
}, this.resolvedOptions = function() {
|
|
3342
3305
|
var o;
|
|
3343
3306
|
return {
|
|
@@ -3348,15 +3311,15 @@ var Er = (
|
|
|
3348
3311
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3349
3312
|
if (this.message = t, !e.__parse)
|
|
3350
3313
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3351
|
-
var
|
|
3352
|
-
|
|
3353
|
-
var
|
|
3354
|
-
this.ast = e.__parse(t,
|
|
3314
|
+
var l = n || {};
|
|
3315
|
+
l.formatters;
|
|
3316
|
+
var a = di(l, ["formatters"]);
|
|
3317
|
+
this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
|
|
3355
3318
|
} else
|
|
3356
3319
|
this.ast = t;
|
|
3357
3320
|
if (!Array.isArray(this.ast))
|
|
3358
3321
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3359
|
-
this.formats =
|
|
3322
|
+
this.formats = rn(e.formats, i), this.formatters = n && n.formatters || nn(this.formatterCache);
|
|
3360
3323
|
}
|
|
3361
3324
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3362
3325
|
get: function() {
|
|
@@ -3365,11 +3328,11 @@ var Er = (
|
|
|
3365
3328
|
enumerable: !1,
|
|
3366
3329
|
configurable: !0
|
|
3367
3330
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3368
|
-
if (typeof Intl.Locale
|
|
3331
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3369
3332
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3370
3333
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3371
3334
|
}
|
|
3372
|
-
}, e.__parse =
|
|
3335
|
+
}, e.__parse = Zi, e.formats = {
|
|
3373
3336
|
number: {
|
|
3374
3337
|
integer: {
|
|
3375
3338
|
maximumFractionDigits: 0
|
|
@@ -3430,7 +3393,7 @@ var Er = (
|
|
|
3430
3393
|
}, e;
|
|
3431
3394
|
}()
|
|
3432
3395
|
);
|
|
3433
|
-
function
|
|
3396
|
+
function sn(e, t) {
|
|
3434
3397
|
if (t == null)
|
|
3435
3398
|
return;
|
|
3436
3399
|
if (t in e)
|
|
@@ -3451,101 +3414,101 @@ function bn(e, t) {
|
|
|
3451
3414
|
i = void 0;
|
|
3452
3415
|
return i;
|
|
3453
3416
|
}
|
|
3454
|
-
const
|
|
3417
|
+
const he = {}, on = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), vr = (e, t) => {
|
|
3455
3418
|
if (t == null)
|
|
3456
3419
|
return;
|
|
3457
|
-
if (t in
|
|
3458
|
-
return
|
|
3459
|
-
const r =
|
|
3420
|
+
if (t in he && e in he[t])
|
|
3421
|
+
return he[t][e];
|
|
3422
|
+
const r = Ne(t);
|
|
3460
3423
|
for (let i = 0; i < r.length; i++) {
|
|
3461
|
-
const n = r[i], s =
|
|
3424
|
+
const n = r[i], s = un(n, e);
|
|
3462
3425
|
if (s)
|
|
3463
|
-
return
|
|
3426
|
+
return on(e, t, s);
|
|
3464
3427
|
}
|
|
3465
3428
|
};
|
|
3466
|
-
let
|
|
3467
|
-
const
|
|
3468
|
-
function
|
|
3469
|
-
return
|
|
3429
|
+
let _t;
|
|
3430
|
+
const Le = We({});
|
|
3431
|
+
function an(e) {
|
|
3432
|
+
return _t[e] || null;
|
|
3470
3433
|
}
|
|
3471
|
-
function
|
|
3472
|
-
return e in
|
|
3434
|
+
function br(e) {
|
|
3435
|
+
return e in _t;
|
|
3473
3436
|
}
|
|
3474
|
-
function
|
|
3475
|
-
if (!
|
|
3437
|
+
function un(e, t) {
|
|
3438
|
+
if (!br(e))
|
|
3476
3439
|
return null;
|
|
3477
|
-
const r =
|
|
3478
|
-
return
|
|
3440
|
+
const r = an(e);
|
|
3441
|
+
return sn(r, t);
|
|
3479
3442
|
}
|
|
3480
|
-
function
|
|
3443
|
+
function ln(e) {
|
|
3481
3444
|
if (e == null)
|
|
3482
3445
|
return;
|
|
3483
|
-
const t =
|
|
3446
|
+
const t = Ne(e);
|
|
3484
3447
|
for (let r = 0; r < t.length; r++) {
|
|
3485
3448
|
const i = t[r];
|
|
3486
|
-
if (
|
|
3449
|
+
if (br(i))
|
|
3487
3450
|
return i;
|
|
3488
3451
|
}
|
|
3489
3452
|
}
|
|
3490
|
-
function
|
|
3491
|
-
delete
|
|
3453
|
+
function yr(e, ...t) {
|
|
3454
|
+
delete he[e], Le.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
|
|
3492
3455
|
}
|
|
3493
|
-
|
|
3494
|
-
[
|
|
3456
|
+
Oe(
|
|
3457
|
+
[Le],
|
|
3495
3458
|
([e]) => Object.keys(e)
|
|
3496
3459
|
);
|
|
3497
|
-
|
|
3498
|
-
const
|
|
3499
|
-
function
|
|
3500
|
-
|
|
3460
|
+
Le.subscribe((e) => _t = e);
|
|
3461
|
+
const Ge = {};
|
|
3462
|
+
function hn(e, t) {
|
|
3463
|
+
Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
|
|
3501
3464
|
}
|
|
3502
|
-
function
|
|
3503
|
-
return
|
|
3465
|
+
function xr(e) {
|
|
3466
|
+
return Ge[e];
|
|
3504
3467
|
}
|
|
3505
|
-
function
|
|
3506
|
-
return
|
|
3507
|
-
const r =
|
|
3468
|
+
function fn(e) {
|
|
3469
|
+
return Ne(e).map((t) => {
|
|
3470
|
+
const r = xr(t);
|
|
3508
3471
|
return [t, r ? [...r] : []];
|
|
3509
3472
|
}).filter(([, t]) => t.length > 0);
|
|
3510
3473
|
}
|
|
3511
|
-
function
|
|
3512
|
-
return e == null ? !1 :
|
|
3474
|
+
function je(e) {
|
|
3475
|
+
return e == null ? !1 : Ne(e).some(
|
|
3513
3476
|
(t) => {
|
|
3514
3477
|
var r;
|
|
3515
|
-
return (r =
|
|
3478
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
|
3516
3479
|
}
|
|
3517
3480
|
);
|
|
3518
3481
|
}
|
|
3519
|
-
function
|
|
3482
|
+
function cn(e, t) {
|
|
3520
3483
|
return Promise.all(
|
|
3521
|
-
t.map((i) => (
|
|
3522
|
-
).then((i) =>
|
|
3523
|
-
}
|
|
3524
|
-
const
|
|
3525
|
-
function
|
|
3526
|
-
if (!
|
|
3527
|
-
return e in
|
|
3528
|
-
const t =
|
|
3529
|
-
return
|
|
3484
|
+
t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
|
|
3485
|
+
).then((i) => yr(e, ...i));
|
|
3486
|
+
}
|
|
3487
|
+
const Pe = {};
|
|
3488
|
+
function _r(e) {
|
|
3489
|
+
if (!je(e))
|
|
3490
|
+
return e in Pe ? Pe[e] : Promise.resolve();
|
|
3491
|
+
const t = fn(e);
|
|
3492
|
+
return Pe[e] = Promise.all(
|
|
3530
3493
|
t.map(
|
|
3531
|
-
([r, i]) =>
|
|
3494
|
+
([r, i]) => cn(r, i)
|
|
3532
3495
|
)
|
|
3533
3496
|
).then(() => {
|
|
3534
|
-
if (
|
|
3535
|
-
return
|
|
3536
|
-
delete
|
|
3537
|
-
}),
|
|
3497
|
+
if (je(e))
|
|
3498
|
+
return _r(e);
|
|
3499
|
+
delete Pe[e];
|
|
3500
|
+
}), Pe[e];
|
|
3538
3501
|
}
|
|
3539
|
-
var
|
|
3502
|
+
var It = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
|
|
3540
3503
|
var r = {};
|
|
3541
3504
|
for (var i in e)
|
|
3542
|
-
|
|
3543
|
-
if (e != null &&
|
|
3544
|
-
for (var i of
|
|
3545
|
-
t.indexOf(i) < 0 &&
|
|
3505
|
+
dn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3506
|
+
if (e != null && It)
|
|
3507
|
+
for (var i of It(e))
|
|
3508
|
+
t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
|
|
3546
3509
|
return r;
|
|
3547
3510
|
};
|
|
3548
|
-
const
|
|
3511
|
+
const gn = {
|
|
3549
3512
|
number: {
|
|
3550
3513
|
scientific: { notation: "scientific" },
|
|
3551
3514
|
engineering: { notation: "engineering" },
|
|
@@ -3575,183 +3538,183 @@ const Pn = {
|
|
|
3575
3538
|
}
|
|
3576
3539
|
}
|
|
3577
3540
|
};
|
|
3578
|
-
function
|
|
3541
|
+
function vn({ locale: e, id: t }) {
|
|
3579
3542
|
console.warn(
|
|
3580
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3543
|
+
`[svelte-i18n] The message "${t}" was not found in "${Ne(
|
|
3581
3544
|
e
|
|
3582
|
-
).join('", "')}".${
|
|
3545
|
+
).join('", "')}".${je(fe()) ? `
|
|
3583
3546
|
|
|
3584
3547
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3585
3548
|
);
|
|
3586
3549
|
}
|
|
3587
|
-
const
|
|
3550
|
+
const bn = {
|
|
3588
3551
|
fallbackLocale: null,
|
|
3589
3552
|
loadingDelay: 200,
|
|
3590
|
-
formats:
|
|
3553
|
+
formats: gn,
|
|
3591
3554
|
warnOnMissingMessages: !0,
|
|
3592
3555
|
handleMissingMessage: void 0,
|
|
3593
3556
|
ignoreTag: !0
|
|
3594
|
-
},
|
|
3595
|
-
function
|
|
3596
|
-
return
|
|
3557
|
+
}, $e = bn;
|
|
3558
|
+
function He() {
|
|
3559
|
+
return $e;
|
|
3597
3560
|
}
|
|
3598
|
-
function
|
|
3599
|
-
const t = e, { formats: r } = t, i =
|
|
3561
|
+
function yn(e) {
|
|
3562
|
+
const t = e, { formats: r } = t, i = pn(t, ["formats"]);
|
|
3600
3563
|
let n = e.fallbackLocale;
|
|
3601
3564
|
if (e.initialLocale)
|
|
3602
3565
|
try {
|
|
3603
|
-
|
|
3604
|
-
} catch
|
|
3566
|
+
gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
|
|
3567
|
+
} catch {
|
|
3605
3568
|
console.warn(
|
|
3606
3569
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3607
3570
|
);
|
|
3608
3571
|
}
|
|
3609
|
-
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage =
|
|
3572
|
+
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = vn : console.warn(
|
|
3610
3573
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3611
|
-
)), Object.assign(
|
|
3574
|
+
)), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), de.set(n);
|
|
3612
3575
|
}
|
|
3613
|
-
const
|
|
3614
|
-
var
|
|
3576
|
+
const nt = We(!1);
|
|
3577
|
+
var xn = Object.defineProperty, _n = Object.defineProperties, En = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tn = (e, t) => {
|
|
3615
3578
|
for (var r in t)
|
|
3616
|
-
|
|
3617
|
-
if (
|
|
3618
|
-
for (var r of
|
|
3619
|
-
|
|
3579
|
+
wn.call(t, r) && Nt(e, r, t[r]);
|
|
3580
|
+
if (Lt)
|
|
3581
|
+
for (var r of Lt(t))
|
|
3582
|
+
Sn.call(t, r) && Nt(e, r, t[r]);
|
|
3620
3583
|
return e;
|
|
3621
|
-
},
|
|
3622
|
-
let
|
|
3623
|
-
const
|
|
3624
|
-
function
|
|
3584
|
+
}, Hn = (e, t) => _n(e, En(t));
|
|
3585
|
+
let pt;
|
|
3586
|
+
const ze = We(null);
|
|
3587
|
+
function Rt(e) {
|
|
3625
3588
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3626
3589
|
}
|
|
3627
|
-
function
|
|
3628
|
-
const r =
|
|
3629
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3590
|
+
function Ne(e, t = He().fallbackLocale) {
|
|
3591
|
+
const r = Rt(e);
|
|
3592
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
3630
3593
|
}
|
|
3631
|
-
function
|
|
3632
|
-
return
|
|
3594
|
+
function fe() {
|
|
3595
|
+
return pt ?? void 0;
|
|
3633
3596
|
}
|
|
3634
|
-
|
|
3635
|
-
|
|
3597
|
+
ze.subscribe((e) => {
|
|
3598
|
+
pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3636
3599
|
});
|
|
3637
|
-
const
|
|
3638
|
-
if (e &&
|
|
3639
|
-
const { loadingDelay: t } =
|
|
3600
|
+
const On = (e) => {
|
|
3601
|
+
if (e && ln(e) && je(e)) {
|
|
3602
|
+
const { loadingDelay: t } = He();
|
|
3640
3603
|
let r;
|
|
3641
|
-
return typeof window
|
|
3642
|
-
() =>
|
|
3604
|
+
return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
|
|
3605
|
+
() => nt.set(!0),
|
|
3643
3606
|
t
|
|
3644
|
-
) :
|
|
3645
|
-
|
|
3607
|
+
) : nt.set(!0), _r(e).then(() => {
|
|
3608
|
+
ze.set(e);
|
|
3646
3609
|
}).finally(() => {
|
|
3647
|
-
clearTimeout(r),
|
|
3610
|
+
clearTimeout(r), nt.set(!1);
|
|
3648
3611
|
});
|
|
3649
3612
|
}
|
|
3650
|
-
return
|
|
3651
|
-
},
|
|
3652
|
-
set:
|
|
3653
|
-
}),
|
|
3613
|
+
return ze.set(e);
|
|
3614
|
+
}, de = Hn(Tn({}, ze), {
|
|
3615
|
+
set: On
|
|
3616
|
+
}), Ze = (e) => {
|
|
3654
3617
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3655
3618
|
return (i) => {
|
|
3656
3619
|
const n = JSON.stringify(i);
|
|
3657
3620
|
return n in t ? t[n] : t[n] = e(i);
|
|
3658
3621
|
};
|
|
3659
3622
|
};
|
|
3660
|
-
var
|
|
3623
|
+
var An = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
3661
3624
|
for (var r in t || (t = {}))
|
|
3662
|
-
|
|
3663
|
-
if (
|
|
3664
|
-
for (var r of
|
|
3665
|
-
|
|
3625
|
+
Er.call(t, r) && kt(e, r, t[r]);
|
|
3626
|
+
if (Xe)
|
|
3627
|
+
for (var r of Xe(t))
|
|
3628
|
+
wr.call(t, r) && kt(e, r, t[r]);
|
|
3666
3629
|
return e;
|
|
3667
|
-
},
|
|
3630
|
+
}, Ae = (e, t) => {
|
|
3668
3631
|
var r = {};
|
|
3669
3632
|
for (var i in e)
|
|
3670
|
-
|
|
3671
|
-
if (e != null &&
|
|
3672
|
-
for (var i of
|
|
3673
|
-
t.indexOf(i) < 0 &&
|
|
3633
|
+
Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3634
|
+
if (e != null && Xe)
|
|
3635
|
+
for (var i of Xe(e))
|
|
3636
|
+
t.indexOf(i) < 0 && wr.call(e, i) && (r[i] = e[i]);
|
|
3674
3637
|
return r;
|
|
3675
3638
|
};
|
|
3676
|
-
const
|
|
3677
|
-
const { formats: r } =
|
|
3639
|
+
const De = (e, t) => {
|
|
3640
|
+
const { formats: r } = He();
|
|
3678
3641
|
if (e in r && t in r[e])
|
|
3679
3642
|
return r[e][t];
|
|
3680
3643
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3681
|
-
},
|
|
3644
|
+
}, Pn = Ze(
|
|
3682
3645
|
(e) => {
|
|
3683
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3646
|
+
var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
|
|
3684
3647
|
if (r == null)
|
|
3685
3648
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3686
|
-
return i && (n =
|
|
3649
|
+
return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
|
|
3687
3650
|
}
|
|
3688
|
-
),
|
|
3651
|
+
), $n = Ze(
|
|
3689
3652
|
(e) => {
|
|
3690
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3653
|
+
var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
|
|
3691
3654
|
if (r == null)
|
|
3692
3655
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3693
|
-
return i ? n =
|
|
3656
|
+
return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3694
3657
|
}
|
|
3695
|
-
),
|
|
3658
|
+
), Bn = Ze(
|
|
3696
3659
|
(e) => {
|
|
3697
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3660
|
+
var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
|
|
3698
3661
|
if (r == null)
|
|
3699
3662
|
throw new Error(
|
|
3700
3663
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3701
3664
|
);
|
|
3702
|
-
return i ? n =
|
|
3665
|
+
return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3703
3666
|
}
|
|
3704
|
-
),
|
|
3667
|
+
), Mn = (e = {}) => {
|
|
3705
3668
|
var t = e, {
|
|
3706
|
-
locale: r =
|
|
3707
|
-
} = t, i =
|
|
3669
|
+
locale: r = fe()
|
|
3670
|
+
} = t, i = Ae(t, [
|
|
3708
3671
|
"locale"
|
|
3709
3672
|
]);
|
|
3710
|
-
return
|
|
3711
|
-
},
|
|
3673
|
+
return Pn(Et({ locale: r }, i));
|
|
3674
|
+
}, Cn = (e = {}) => {
|
|
3712
3675
|
var t = e, {
|
|
3713
|
-
locale: r =
|
|
3714
|
-
} = t, i =
|
|
3676
|
+
locale: r = fe()
|
|
3677
|
+
} = t, i = Ae(t, [
|
|
3715
3678
|
"locale"
|
|
3716
3679
|
]);
|
|
3717
|
-
return
|
|
3718
|
-
},
|
|
3680
|
+
return $n(Et({ locale: r }, i));
|
|
3681
|
+
}, Dn = (e = {}) => {
|
|
3719
3682
|
var t = e, {
|
|
3720
|
-
locale: r =
|
|
3721
|
-
} = t, i =
|
|
3683
|
+
locale: r = fe()
|
|
3684
|
+
} = t, i = Ae(t, [
|
|
3722
3685
|
"locale"
|
|
3723
3686
|
]);
|
|
3724
|
-
return
|
|
3725
|
-
},
|
|
3687
|
+
return Bn(Et({ locale: r }, i));
|
|
3688
|
+
}, In = Ze(
|
|
3726
3689
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3727
|
-
(e, t =
|
|
3728
|
-
ignoreTag:
|
|
3690
|
+
(e, t = fe()) => new gr(e, t, He().formats, {
|
|
3691
|
+
ignoreTag: He().ignoreTag
|
|
3729
3692
|
})
|
|
3730
|
-
),
|
|
3693
|
+
), Ln = (e, t = {}) => {
|
|
3731
3694
|
var r, i, n, s;
|
|
3732
|
-
let
|
|
3733
|
-
typeof e == "object" && (
|
|
3695
|
+
let l = t;
|
|
3696
|
+
typeof e == "object" && (l = e, e = l.id);
|
|
3734
3697
|
const {
|
|
3735
|
-
values:
|
|
3736
|
-
locale: o =
|
|
3698
|
+
values: a,
|
|
3699
|
+
locale: o = fe(),
|
|
3737
3700
|
default: u
|
|
3738
|
-
} =
|
|
3701
|
+
} = l;
|
|
3739
3702
|
if (o == null)
|
|
3740
3703
|
throw new Error(
|
|
3741
3704
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3742
3705
|
);
|
|
3743
|
-
let h =
|
|
3706
|
+
let h = vr(e, o);
|
|
3744
3707
|
if (!h)
|
|
3745
|
-
h = (s = (n = (i = (r =
|
|
3708
|
+
h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
|
|
3746
3709
|
else if (typeof h != "string")
|
|
3747
3710
|
return console.warn(
|
|
3748
3711
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3749
3712
|
), h;
|
|
3750
|
-
if (!
|
|
3713
|
+
if (!a)
|
|
3751
3714
|
return h;
|
|
3752
3715
|
let c = h;
|
|
3753
3716
|
try {
|
|
3754
|
-
c =
|
|
3717
|
+
c = In(h, o).format(a);
|
|
3755
3718
|
} catch (m) {
|
|
3756
3719
|
m instanceof Error && console.warn(
|
|
3757
3720
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3759,20 +3722,20 @@ const Le = (e, t) => {
|
|
|
3759
3722
|
);
|
|
3760
3723
|
}
|
|
3761
3724
|
return c;
|
|
3762
|
-
},
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
function
|
|
3768
|
-
|
|
3769
|
-
}
|
|
3770
|
-
function
|
|
3771
|
-
|
|
3725
|
+
}, Nn = (e, t) => Dn(t).format(e), Rn = (e, t) => Cn(t).format(e), kn = (e, t) => Mn(t).format(e), Un = (e, t = fe()) => vr(e, t), Fn = Oe([de, Le], () => Ln);
|
|
3726
|
+
Oe([de], () => Nn);
|
|
3727
|
+
Oe([de], () => Rn);
|
|
3728
|
+
Oe([de], () => kn);
|
|
3729
|
+
Oe([de, Le], () => Un);
|
|
3730
|
+
function Ut(e, t) {
|
|
3731
|
+
yr(e, t);
|
|
3732
|
+
}
|
|
3733
|
+
function Vn(e) {
|
|
3734
|
+
yn({
|
|
3772
3735
|
fallbackLocale: "en"
|
|
3773
|
-
}),
|
|
3736
|
+
}), de.set(e);
|
|
3774
3737
|
}
|
|
3775
|
-
const
|
|
3738
|
+
const Ft = {
|
|
3776
3739
|
en: {
|
|
3777
3740
|
"verification.video.how-to": "How to verify yourself",
|
|
3778
3741
|
"verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
|
|
@@ -3828,7 +3791,7 @@ const Wt = {
|
|
|
3828
3791
|
"verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
|
|
3829
3792
|
}
|
|
3830
3793
|
};
|
|
3831
|
-
if (typeof window
|
|
3794
|
+
if (typeof window < "u") {
|
|
3832
3795
|
let e = function(t) {
|
|
3833
3796
|
return function(...r) {
|
|
3834
3797
|
try {
|
|
@@ -3840,39 +3803,39 @@ if (typeof window != "undefined") {
|
|
|
3840
3803
|
}
|
|
3841
3804
|
};
|
|
3842
3805
|
};
|
|
3843
|
-
customElements.define = e(customElements.define), import("./CashierVideoModal-
|
|
3806
|
+
customElements.define = e(customElements.define), import("./CashierVideoModal-Bjnq9rNA.js").then(({ default: t }) => {
|
|
3844
3807
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
|
|
3845
3808
|
});
|
|
3846
3809
|
}
|
|
3847
|
-
var
|
|
3810
|
+
var Sr = { exports: {} };
|
|
3848
3811
|
(function(e, t) {
|
|
3849
3812
|
(function(r, i) {
|
|
3850
3813
|
e.exports = i();
|
|
3851
|
-
})(
|
|
3852
|
-
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond",
|
|
3814
|
+
})(Qt, function() {
|
|
3815
|
+
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|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, U = { 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) {
|
|
3853
3816
|
var g = ["th", "st", "nd", "rd"], d = x % 100;
|
|
3854
3817
|
return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3855
3818
|
} }, B = function(x, g, d) {
|
|
3856
|
-
var
|
|
3857
|
-
return !
|
|
3858
|
-
},
|
|
3859
|
-
var g = -x.utcOffset(), d = Math.abs(g),
|
|
3860
|
-
return (g <= 0 ? "+" : "-") + B(
|
|
3819
|
+
var b = String(x);
|
|
3820
|
+
return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
|
|
3821
|
+
}, z = { s: B, z: function(x) {
|
|
3822
|
+
var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
|
|
3823
|
+
return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(p, 2, "0");
|
|
3861
3824
|
}, m: function x(g, d) {
|
|
3862
3825
|
if (g.date() < d.date()) return -x(d, g);
|
|
3863
|
-
var
|
|
3864
|
-
return +(-(
|
|
3826
|
+
var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), _ = d - p < 0, w = g.clone().add(b + (_ ? -1 : 1), c);
|
|
3827
|
+
return +(-(b + (d - p) / (_ ? p - w : w - p)) || 0);
|
|
3865
3828
|
}, a: function(x) {
|
|
3866
3829
|
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
3867
3830
|
}, p: function(x) {
|
|
3868
|
-
return { M: c, y: E, w: h, d: u, D: H, h: o, m:
|
|
3831
|
+
return { M: c, y: E, w: h, d: u, D: H, h: o, m: a, s: l, ms: s, Q: m }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
3869
3832
|
}, u: function(x) {
|
|
3870
3833
|
return x === void 0;
|
|
3871
3834
|
} }, I = "en", L = {};
|
|
3872
3835
|
L[I] = U;
|
|
3873
|
-
var
|
|
3874
|
-
return x instanceof
|
|
3875
|
-
},
|
|
3836
|
+
var q = "$isDayjsObject", R = function(x) {
|
|
3837
|
+
return x instanceof me || !(!x || !x[q]);
|
|
3838
|
+
}, X = function x(g, d, b) {
|
|
3876
3839
|
var p;
|
|
3877
3840
|
if (!g) return I;
|
|
3878
3841
|
if (typeof g == "string") {
|
|
@@ -3884,25 +3847,25 @@ var $r = { exports: {} };
|
|
|
3884
3847
|
var M = g.name;
|
|
3885
3848
|
L[M] = g, p = M;
|
|
3886
3849
|
}
|
|
3887
|
-
return !
|
|
3850
|
+
return !b && p && (I = p), p || !b && I;
|
|
3888
3851
|
}, k = function(x, g) {
|
|
3889
3852
|
if (R(x)) return x.clone();
|
|
3890
3853
|
var d = typeof g == "object" ? g : {};
|
|
3891
|
-
return d.date = x, d.args = arguments, new
|
|
3892
|
-
},
|
|
3893
|
-
|
|
3854
|
+
return d.date = x, d.args = arguments, new me(d);
|
|
3855
|
+
}, P = z;
|
|
3856
|
+
P.l = X, P.i = R, P.w = function(x, g) {
|
|
3894
3857
|
return k(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3895
3858
|
};
|
|
3896
|
-
var
|
|
3859
|
+
var me = function() {
|
|
3897
3860
|
function x(d) {
|
|
3898
|
-
this.$L =
|
|
3861
|
+
this.$L = X(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[q] = !0;
|
|
3899
3862
|
}
|
|
3900
3863
|
var g = x.prototype;
|
|
3901
3864
|
return g.parse = function(d) {
|
|
3902
|
-
this.$d = function(
|
|
3903
|
-
var p =
|
|
3865
|
+
this.$d = function(b) {
|
|
3866
|
+
var p = b.date, _ = b.utc;
|
|
3904
3867
|
if (p === null) return /* @__PURE__ */ new Date(NaN);
|
|
3905
|
-
if (
|
|
3868
|
+
if (P.u(p)) return /* @__PURE__ */ new Date();
|
|
3906
3869
|
if (p instanceof Date) return new Date(p);
|
|
3907
3870
|
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
3908
3871
|
var w = p.match($);
|
|
@@ -3917,158 +3880,158 @@ var $r = { exports: {} };
|
|
|
3917
3880
|
var d = this.$d;
|
|
3918
3881
|
this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
|
|
3919
3882
|
}, g.$utils = function() {
|
|
3920
|
-
return
|
|
3883
|
+
return P;
|
|
3921
3884
|
}, g.isValid = function() {
|
|
3922
|
-
return this.$d.toString() !==
|
|
3923
|
-
}, g.isSame = function(d,
|
|
3885
|
+
return this.$d.toString() !== v;
|
|
3886
|
+
}, g.isSame = function(d, b) {
|
|
3924
3887
|
var p = k(d);
|
|
3925
|
-
return this.startOf(
|
|
3926
|
-
}, g.isAfter = function(d,
|
|
3927
|
-
return k(d) < this.startOf(
|
|
3928
|
-
}, g.isBefore = function(d,
|
|
3929
|
-
return this.endOf(
|
|
3930
|
-
}, g.$g = function(d,
|
|
3931
|
-
return
|
|
3888
|
+
return this.startOf(b) <= p && p <= this.endOf(b);
|
|
3889
|
+
}, g.isAfter = function(d, b) {
|
|
3890
|
+
return k(d) < this.startOf(b);
|
|
3891
|
+
}, g.isBefore = function(d, b) {
|
|
3892
|
+
return this.endOf(b) < k(d);
|
|
3893
|
+
}, g.$g = function(d, b, p) {
|
|
3894
|
+
return P.u(d) ? this[b] : this.set(p, d);
|
|
3932
3895
|
}, g.unix = function() {
|
|
3933
3896
|
return Math.floor(this.valueOf() / 1e3);
|
|
3934
3897
|
}, g.valueOf = function() {
|
|
3935
3898
|
return this.$d.getTime();
|
|
3936
|
-
}, g.startOf = function(d,
|
|
3937
|
-
var p = this, _ = !!
|
|
3938
|
-
var
|
|
3939
|
-
return _ ?
|
|
3940
|
-
}, D = function(
|
|
3941
|
-
return
|
|
3942
|
-
}, N = this.$W, F = this.$M,
|
|
3899
|
+
}, g.startOf = function(d, b) {
|
|
3900
|
+
var p = this, _ = !!P.u(b) || b, w = P.p(d), M = function(oe, G) {
|
|
3901
|
+
var J = P.w(p.$u ? Date.UTC(p.$y, G, oe) : new Date(p.$y, G, oe), p);
|
|
3902
|
+
return _ ? J : J.endOf(u);
|
|
3903
|
+
}, D = function(oe, G) {
|
|
3904
|
+
return P.w(p.toDate()[oe].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), p);
|
|
3905
|
+
}, N = this.$W, F = this.$M, W = this.$D, ue = "set" + (this.$u ? "UTC" : "");
|
|
3943
3906
|
switch (w) {
|
|
3944
3907
|
case E:
|
|
3945
3908
|
return _ ? M(1, 0) : M(31, 11);
|
|
3946
3909
|
case c:
|
|
3947
3910
|
return _ ? M(1, F) : M(0, F + 1);
|
|
3948
3911
|
case h:
|
|
3949
|
-
var
|
|
3950
|
-
return M(_ ?
|
|
3912
|
+
var ne = this.$locale().weekStart || 0, se = (N < ne ? N + 7 : N) - ne;
|
|
3913
|
+
return M(_ ? W - se : W + (6 - se), F);
|
|
3951
3914
|
case u:
|
|
3952
3915
|
case H:
|
|
3953
|
-
return D(
|
|
3916
|
+
return D(ue + "Hours", 0);
|
|
3954
3917
|
case o:
|
|
3955
|
-
return D(
|
|
3956
|
-
case l:
|
|
3957
|
-
return D(le + "Seconds", 2);
|
|
3918
|
+
return D(ue + "Minutes", 1);
|
|
3958
3919
|
case a:
|
|
3959
|
-
return D(
|
|
3920
|
+
return D(ue + "Seconds", 2);
|
|
3921
|
+
case l:
|
|
3922
|
+
return D(ue + "Milliseconds", 3);
|
|
3960
3923
|
default:
|
|
3961
3924
|
return this.clone();
|
|
3962
3925
|
}
|
|
3963
3926
|
}, g.endOf = function(d) {
|
|
3964
3927
|
return this.startOf(d, !1);
|
|
3965
|
-
}, g.$set = function(d,
|
|
3966
|
-
var p, _ =
|
|
3928
|
+
}, g.$set = function(d, b) {
|
|
3929
|
+
var p, _ = P.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[a] = w + "Minutes", p[l] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (b - this.$W) : b;
|
|
3967
3930
|
if (_ === c || _ === E) {
|
|
3968
3931
|
var N = this.clone().set(H, 1);
|
|
3969
3932
|
N.$d[M](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
|
|
3970
3933
|
} else M && this.$d[M](D);
|
|
3971
3934
|
return this.init(), this;
|
|
3972
|
-
}, g.set = function(d,
|
|
3973
|
-
return this.clone().$set(d,
|
|
3935
|
+
}, g.set = function(d, b) {
|
|
3936
|
+
return this.clone().$set(d, b);
|
|
3974
3937
|
}, g.get = function(d) {
|
|
3975
|
-
return this[
|
|
3976
|
-
}, g.add = function(d,
|
|
3938
|
+
return this[P.p(d)]();
|
|
3939
|
+
}, g.add = function(d, b) {
|
|
3977
3940
|
var p, _ = this;
|
|
3978
3941
|
d = Number(d);
|
|
3979
|
-
var w =
|
|
3980
|
-
var
|
|
3981
|
-
return
|
|
3942
|
+
var w = P.p(b), M = function(F) {
|
|
3943
|
+
var W = k(_);
|
|
3944
|
+
return P.w(W.date(W.date() + Math.round(F * d)), _);
|
|
3982
3945
|
};
|
|
3983
3946
|
if (w === c) return this.set(c, this.$M + d);
|
|
3984
3947
|
if (w === E) return this.set(E, this.$y + d);
|
|
3985
3948
|
if (w === u) return M(1);
|
|
3986
3949
|
if (w === h) return M(7);
|
|
3987
|
-
var D = (p = {}, p[
|
|
3988
|
-
return
|
|
3989
|
-
}, g.subtract = function(d,
|
|
3990
|
-
return this.add(-1 * d,
|
|
3950
|
+
var D = (p = {}, p[a] = i, p[o] = n, p[l] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
|
|
3951
|
+
return P.w(N, this);
|
|
3952
|
+
}, g.subtract = function(d, b) {
|
|
3953
|
+
return this.add(-1 * d, b);
|
|
3991
3954
|
}, g.format = function(d) {
|
|
3992
|
-
var
|
|
3993
|
-
if (!this.isValid()) return p.invalidDate ||
|
|
3994
|
-
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w =
|
|
3995
|
-
return
|
|
3996
|
-
},
|
|
3997
|
-
return
|
|
3998
|
-
},
|
|
3999
|
-
var
|
|
4000
|
-
return
|
|
3955
|
+
var b = this, p = this.$locale();
|
|
3956
|
+
if (!this.isValid()) return p.invalidDate || v;
|
|
3957
|
+
var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, W = p.months, ue = p.meridiem, ne = function(G, J, ce, pe) {
|
|
3958
|
+
return G && (G[J] || G(b, _)) || ce[J].slice(0, pe);
|
|
3959
|
+
}, se = function(G) {
|
|
3960
|
+
return P.s(M % 12 || 12, G, "0");
|
|
3961
|
+
}, oe = ue || function(G, J, ce) {
|
|
3962
|
+
var pe = G < 12 ? "AM" : "PM";
|
|
3963
|
+
return ce ? pe.toLowerCase() : pe;
|
|
4001
3964
|
};
|
|
4002
|
-
return _.replace(
|
|
4003
|
-
return
|
|
4004
|
-
switch (
|
|
3965
|
+
return _.replace(V, function(G, J) {
|
|
3966
|
+
return J || function(ce) {
|
|
3967
|
+
switch (ce) {
|
|
4005
3968
|
case "YY":
|
|
4006
|
-
return String(
|
|
3969
|
+
return String(b.$y).slice(-2);
|
|
4007
3970
|
case "YYYY":
|
|
4008
|
-
return
|
|
3971
|
+
return P.s(b.$y, 4, "0");
|
|
4009
3972
|
case "M":
|
|
4010
3973
|
return N + 1;
|
|
4011
3974
|
case "MM":
|
|
4012
|
-
return
|
|
3975
|
+
return P.s(N + 1, 2, "0");
|
|
4013
3976
|
case "MMM":
|
|
4014
|
-
return
|
|
3977
|
+
return ne(p.monthsShort, N, W, 3);
|
|
4015
3978
|
case "MMMM":
|
|
4016
|
-
return
|
|
3979
|
+
return ne(W, N);
|
|
4017
3980
|
case "D":
|
|
4018
|
-
return
|
|
3981
|
+
return b.$D;
|
|
4019
3982
|
case "DD":
|
|
4020
|
-
return
|
|
3983
|
+
return P.s(b.$D, 2, "0");
|
|
4021
3984
|
case "d":
|
|
4022
|
-
return String(
|
|
3985
|
+
return String(b.$W);
|
|
4023
3986
|
case "dd":
|
|
4024
|
-
return
|
|
3987
|
+
return ne(p.weekdaysMin, b.$W, F, 2);
|
|
4025
3988
|
case "ddd":
|
|
4026
|
-
return
|
|
3989
|
+
return ne(p.weekdaysShort, b.$W, F, 3);
|
|
4027
3990
|
case "dddd":
|
|
4028
|
-
return F[
|
|
3991
|
+
return F[b.$W];
|
|
4029
3992
|
case "H":
|
|
4030
3993
|
return String(M);
|
|
4031
3994
|
case "HH":
|
|
4032
|
-
return
|
|
3995
|
+
return P.s(M, 2, "0");
|
|
4033
3996
|
case "h":
|
|
4034
|
-
return
|
|
3997
|
+
return se(1);
|
|
4035
3998
|
case "hh":
|
|
4036
|
-
return
|
|
3999
|
+
return se(2);
|
|
4037
4000
|
case "a":
|
|
4038
|
-
return
|
|
4001
|
+
return oe(M, D, !0);
|
|
4039
4002
|
case "A":
|
|
4040
|
-
return
|
|
4003
|
+
return oe(M, D, !1);
|
|
4041
4004
|
case "m":
|
|
4042
4005
|
return String(D);
|
|
4043
4006
|
case "mm":
|
|
4044
|
-
return
|
|
4007
|
+
return P.s(D, 2, "0");
|
|
4045
4008
|
case "s":
|
|
4046
|
-
return String(
|
|
4009
|
+
return String(b.$s);
|
|
4047
4010
|
case "ss":
|
|
4048
|
-
return
|
|
4011
|
+
return P.s(b.$s, 2, "0");
|
|
4049
4012
|
case "SSS":
|
|
4050
|
-
return
|
|
4013
|
+
return P.s(b.$ms, 3, "0");
|
|
4051
4014
|
case "Z":
|
|
4052
4015
|
return w;
|
|
4053
4016
|
}
|
|
4054
4017
|
return null;
|
|
4055
|
-
}(
|
|
4018
|
+
}(G) || w.replace(":", "");
|
|
4056
4019
|
});
|
|
4057
4020
|
}, g.utcOffset = function() {
|
|
4058
4021
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4059
|
-
}, g.diff = function(d,
|
|
4060
|
-
var _, w = this, M =
|
|
4061
|
-
return
|
|
4022
|
+
}, g.diff = function(d, b, p) {
|
|
4023
|
+
var _, w = this, M = P.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, W = function() {
|
|
4024
|
+
return P.m(w, D);
|
|
4062
4025
|
};
|
|
4063
4026
|
switch (M) {
|
|
4064
4027
|
case E:
|
|
4065
|
-
_ =
|
|
4028
|
+
_ = W() / 12;
|
|
4066
4029
|
break;
|
|
4067
4030
|
case c:
|
|
4068
|
-
_ =
|
|
4031
|
+
_ = W();
|
|
4069
4032
|
break;
|
|
4070
4033
|
case m:
|
|
4071
|
-
_ =
|
|
4034
|
+
_ = W() / 3;
|
|
4072
4035
|
break;
|
|
4073
4036
|
case h:
|
|
4074
4037
|
_ = (F - N) / 6048e5;
|
|
@@ -4079,26 +4042,26 @@ var $r = { exports: {} };
|
|
|
4079
4042
|
case o:
|
|
4080
4043
|
_ = F / n;
|
|
4081
4044
|
break;
|
|
4082
|
-
case
|
|
4045
|
+
case a:
|
|
4083
4046
|
_ = F / i;
|
|
4084
4047
|
break;
|
|
4085
|
-
case
|
|
4048
|
+
case l:
|
|
4086
4049
|
_ = F / r;
|
|
4087
4050
|
break;
|
|
4088
4051
|
default:
|
|
4089
4052
|
_ = F;
|
|
4090
4053
|
}
|
|
4091
|
-
return p ? _ :
|
|
4054
|
+
return p ? _ : P.a(_);
|
|
4092
4055
|
}, g.daysInMonth = function() {
|
|
4093
4056
|
return this.endOf(c).$D;
|
|
4094
4057
|
}, g.$locale = function() {
|
|
4095
4058
|
return L[this.$L];
|
|
4096
|
-
}, g.locale = function(d,
|
|
4059
|
+
}, g.locale = function(d, b) {
|
|
4097
4060
|
if (!d) return this.$L;
|
|
4098
|
-
var p = this.clone(), _ =
|
|
4061
|
+
var p = this.clone(), _ = X(d, b, !0);
|
|
4099
4062
|
return _ && (p.$L = _), p;
|
|
4100
4063
|
}, g.clone = function() {
|
|
4101
|
-
return
|
|
4064
|
+
return P.w(this.$d, this);
|
|
4102
4065
|
}, g.toDate = function() {
|
|
4103
4066
|
return new Date(this.valueOf());
|
|
4104
4067
|
}, g.toJSON = function() {
|
|
@@ -4108,74 +4071,74 @@ var $r = { exports: {} };
|
|
|
4108
4071
|
}, g.toString = function() {
|
|
4109
4072
|
return this.$d.toUTCString();
|
|
4110
4073
|
}, x;
|
|
4111
|
-
}(),
|
|
4112
|
-
return k.prototype =
|
|
4113
|
-
|
|
4074
|
+
}(), Re = me.prototype;
|
|
4075
|
+
return k.prototype = Re, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
|
|
4076
|
+
Re[x[1]] = function(g) {
|
|
4114
4077
|
return this.$g(g, x[0], x[1]);
|
|
4115
4078
|
};
|
|
4116
4079
|
}), k.extend = function(x, g) {
|
|
4117
|
-
return x.$i || (x(g,
|
|
4118
|
-
}, k.locale =
|
|
4080
|
+
return x.$i || (x(g, me, k), x.$i = !0), k;
|
|
4081
|
+
}, k.locale = X, k.isDayjs = R, k.unix = function(x) {
|
|
4119
4082
|
return k(1e3 * x);
|
|
4120
4083
|
}, k.en = L[I], k.Ls = L, k.p = {}, k;
|
|
4121
4084
|
});
|
|
4122
|
-
})(
|
|
4123
|
-
var
|
|
4124
|
-
const
|
|
4125
|
-
var
|
|
4085
|
+
})(Sr);
|
|
4086
|
+
var Gn = Sr.exports;
|
|
4087
|
+
const Vt = /* @__PURE__ */ yt(Gn);
|
|
4088
|
+
var Tr = { exports: {} };
|
|
4126
4089
|
(function(e, t) {
|
|
4127
4090
|
(function(r, i) {
|
|
4128
4091
|
e.exports = i();
|
|
4129
|
-
})(
|
|
4092
|
+
})(Qt, function() {
|
|
4130
4093
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
4131
|
-
return function(s,
|
|
4132
|
-
var o =
|
|
4133
|
-
|
|
4134
|
-
var $ = { date:
|
|
4135
|
-
return new
|
|
4136
|
-
}, o.utc = function(
|
|
4137
|
-
var $ =
|
|
4138
|
-
return
|
|
4094
|
+
return function(s, l, a) {
|
|
4095
|
+
var o = l.prototype;
|
|
4096
|
+
a.utc = function(v) {
|
|
4097
|
+
var $ = { date: v, utc: !0, args: arguments };
|
|
4098
|
+
return new l($);
|
|
4099
|
+
}, o.utc = function(v) {
|
|
4100
|
+
var $ = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4101
|
+
return v ? $.add(this.utcOffset(), r) : $;
|
|
4139
4102
|
}, o.local = function() {
|
|
4140
|
-
return
|
|
4103
|
+
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4141
4104
|
};
|
|
4142
4105
|
var u = o.parse;
|
|
4143
|
-
o.parse = function(
|
|
4144
|
-
|
|
4106
|
+
o.parse = function(v) {
|
|
4107
|
+
v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
|
|
4145
4108
|
};
|
|
4146
4109
|
var h = o.init;
|
|
4147
4110
|
o.init = function() {
|
|
4148
4111
|
if (this.$u) {
|
|
4149
|
-
var
|
|
4150
|
-
this.$y =
|
|
4112
|
+
var v = this.$d;
|
|
4113
|
+
this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
|
|
4151
4114
|
} else h.call(this);
|
|
4152
4115
|
};
|
|
4153
4116
|
var c = o.utcOffset;
|
|
4154
|
-
o.utcOffset = function(
|
|
4155
|
-
var
|
|
4156
|
-
if (
|
|
4157
|
-
if (typeof
|
|
4117
|
+
o.utcOffset = function(v, $) {
|
|
4118
|
+
var V = this.$utils().u;
|
|
4119
|
+
if (V(v)) return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
|
|
4120
|
+
if (typeof v == "string" && (v = function(I) {
|
|
4158
4121
|
I === void 0 && (I = "");
|
|
4159
4122
|
var L = I.match(i);
|
|
4160
4123
|
if (!L) return null;
|
|
4161
|
-
var
|
|
4162
|
-
return
|
|
4163
|
-
}(
|
|
4164
|
-
var U = Math.abs(
|
|
4165
|
-
if ($) return B.$offset = U, B.$u =
|
|
4166
|
-
if (
|
|
4167
|
-
var
|
|
4168
|
-
(B = this.local().add(U +
|
|
4124
|
+
var q = ("" + L[0]).match(n) || ["-", 0, 0], R = q[0], X = 60 * +q[1] + +q[2];
|
|
4125
|
+
return X === 0 ? 0 : R === "+" ? X : -X;
|
|
4126
|
+
}(v), v === null)) return this;
|
|
4127
|
+
var U = Math.abs(v) <= 16 ? 60 * v : v, B = this;
|
|
4128
|
+
if ($) return B.$offset = U, B.$u = v === 0, B;
|
|
4129
|
+
if (v !== 0) {
|
|
4130
|
+
var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4131
|
+
(B = this.local().add(U + z, r)).$offset = U, B.$x.$localOffset = z;
|
|
4169
4132
|
} else B = this.utc();
|
|
4170
4133
|
return B;
|
|
4171
4134
|
};
|
|
4172
4135
|
var m = o.format;
|
|
4173
|
-
o.format = function(
|
|
4174
|
-
var $ =
|
|
4136
|
+
o.format = function(v) {
|
|
4137
|
+
var $ = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4175
4138
|
return m.call(this, $);
|
|
4176
4139
|
}, o.valueOf = function() {
|
|
4177
|
-
var
|
|
4178
|
-
return this.$d.valueOf() - 6e4 *
|
|
4140
|
+
var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4141
|
+
return this.$d.valueOf() - 6e4 * v;
|
|
4179
4142
|
}, o.isUTC = function() {
|
|
4180
4143
|
return !!this.$u;
|
|
4181
4144
|
}, o.toISOString = function() {
|
|
@@ -4184,59 +4147,59 @@ var Br = { exports: {} };
|
|
|
4184
4147
|
return this.toDate().toUTCString();
|
|
4185
4148
|
};
|
|
4186
4149
|
var E = o.toDate;
|
|
4187
|
-
o.toDate = function(
|
|
4188
|
-
return
|
|
4150
|
+
o.toDate = function(v) {
|
|
4151
|
+
return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
|
|
4189
4152
|
};
|
|
4190
4153
|
var H = o.diff;
|
|
4191
|
-
o.diff = function(
|
|
4192
|
-
if (
|
|
4193
|
-
var U = this.local(), B =
|
|
4194
|
-
return H.call(U, B, $,
|
|
4154
|
+
o.diff = function(v, $, V) {
|
|
4155
|
+
if (v && this.$u === v.$u) return H.call(this, v, $, V);
|
|
4156
|
+
var U = this.local(), B = a(v).local();
|
|
4157
|
+
return H.call(U, B, $, V);
|
|
4195
4158
|
};
|
|
4196
4159
|
};
|
|
4197
4160
|
});
|
|
4198
|
-
})(
|
|
4199
|
-
var
|
|
4200
|
-
const
|
|
4201
|
-
function
|
|
4202
|
-
|
|
4161
|
+
})(Tr);
|
|
4162
|
+
var jn = Tr.exports;
|
|
4163
|
+
const zn = /* @__PURE__ */ yt(jn);
|
|
4164
|
+
function Xn(e) {
|
|
4165
|
+
$r(e, "svelte-ektv0y", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
4203
4166
|
}
|
|
4204
|
-
function
|
|
4167
|
+
function Gt(e, t, r) {
|
|
4205
4168
|
const i = e.slice();
|
|
4206
4169
|
return i[49] = t[r], i[51] = r, i;
|
|
4207
4170
|
}
|
|
4208
|
-
function
|
|
4209
|
-
let t, r, i, n, s =
|
|
4171
|
+
function jt(e) {
|
|
4172
|
+
let t, r, i, n, s = Tt(
|
|
4210
4173
|
/*displayMessages*/
|
|
4211
4174
|
e[4]
|
|
4212
|
-
),
|
|
4175
|
+
), l = [];
|
|
4213
4176
|
for (let o = 0; o < s.length; o += 1)
|
|
4214
|
-
|
|
4215
|
-
let
|
|
4177
|
+
l[o] = Xt(Gt(e, s, o));
|
|
4178
|
+
let a = (
|
|
4216
4179
|
/*videoExists*/
|
|
4217
|
-
e[7] &&
|
|
4180
|
+
e[7] && Wt(e)
|
|
4218
4181
|
);
|
|
4219
4182
|
return {
|
|
4220
4183
|
c() {
|
|
4221
|
-
t =
|
|
4222
|
-
for (let o = 0; o <
|
|
4223
|
-
|
|
4224
|
-
r =
|
|
4184
|
+
t = Z("div");
|
|
4185
|
+
for (let o = 0; o < l.length; o += 1)
|
|
4186
|
+
l[o].c();
|
|
4187
|
+
r = xe(), a && a.c(), i = xe(), n = Z("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), le(
|
|
4225
4188
|
n,
|
|
4226
4189
|
"clientstylingurl",
|
|
4227
4190
|
/*clientstylingurl*/
|
|
4228
4191
|
e[1]
|
|
4229
|
-
),
|
|
4192
|
+
), le(
|
|
4230
4193
|
n,
|
|
4231
4194
|
"clientstyling",
|
|
4232
4195
|
/*clientstyling*/
|
|
4233
4196
|
e[0]
|
|
4234
|
-
),
|
|
4197
|
+
), le(
|
|
4235
4198
|
n,
|
|
4236
4199
|
"ismobileview",
|
|
4237
4200
|
/*ismobileview*/
|
|
4238
4201
|
e[2]
|
|
4239
|
-
),
|
|
4202
|
+
), le(
|
|
4240
4203
|
n,
|
|
4241
4204
|
"videosrc",
|
|
4242
4205
|
/*videoSrc*/
|
|
@@ -4244,48 +4207,48 @@ function Zt(e) {
|
|
|
4244
4207
|
);
|
|
4245
4208
|
},
|
|
4246
4209
|
m(o, u) {
|
|
4247
|
-
|
|
4248
|
-
for (let h = 0; h <
|
|
4249
|
-
|
|
4250
|
-
|
|
4210
|
+
ae(o, t, u);
|
|
4211
|
+
for (let h = 0; h < l.length; h += 1)
|
|
4212
|
+
l[h] && l[h].m(t, null);
|
|
4213
|
+
ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
|
|
4251
4214
|
},
|
|
4252
4215
|
p(o, u) {
|
|
4253
4216
|
if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
4254
4217
|
1072) {
|
|
4255
|
-
s =
|
|
4218
|
+
s = Tt(
|
|
4256
4219
|
/*displayMessages*/
|
|
4257
4220
|
o[4]
|
|
4258
4221
|
);
|
|
4259
4222
|
let h;
|
|
4260
4223
|
for (h = 0; h < s.length; h += 1) {
|
|
4261
|
-
const c =
|
|
4262
|
-
|
|
4224
|
+
const c = Gt(o, s, h);
|
|
4225
|
+
l[h] ? l[h].p(c, u) : (l[h] = Xt(c), l[h].c(), l[h].m(t, null));
|
|
4263
4226
|
}
|
|
4264
|
-
for (; h <
|
|
4265
|
-
|
|
4266
|
-
|
|
4227
|
+
for (; h < l.length; h += 1)
|
|
4228
|
+
l[h].d(1);
|
|
4229
|
+
l.length = s.length;
|
|
4267
4230
|
}
|
|
4268
4231
|
/*videoExists*/
|
|
4269
|
-
o[7] ?
|
|
4270
|
-
2 &&
|
|
4232
|
+
o[7] ? a ? a.p(o, u) : (a = Wt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
|
|
4233
|
+
2 && le(
|
|
4271
4234
|
n,
|
|
4272
4235
|
"clientstylingurl",
|
|
4273
4236
|
/*clientstylingurl*/
|
|
4274
4237
|
o[1]
|
|
4275
4238
|
), u[0] & /*clientstyling*/
|
|
4276
|
-
1 &&
|
|
4239
|
+
1 && le(
|
|
4277
4240
|
n,
|
|
4278
4241
|
"clientstyling",
|
|
4279
4242
|
/*clientstyling*/
|
|
4280
4243
|
o[0]
|
|
4281
4244
|
), u[0] & /*ismobileview*/
|
|
4282
|
-
4 &&
|
|
4245
|
+
4 && le(
|
|
4283
4246
|
n,
|
|
4284
4247
|
"ismobileview",
|
|
4285
4248
|
/*ismobileview*/
|
|
4286
4249
|
o[2]
|
|
4287
4250
|
), u[0] & /*videoSrc*/
|
|
4288
|
-
256 &&
|
|
4251
|
+
256 && le(
|
|
4289
4252
|
n,
|
|
4290
4253
|
"videosrc",
|
|
4291
4254
|
/*videoSrc*/
|
|
@@ -4293,11 +4256,11 @@ function Zt(e) {
|
|
|
4293
4256
|
);
|
|
4294
4257
|
},
|
|
4295
4258
|
d(o) {
|
|
4296
|
-
o && (
|
|
4259
|
+
o && (ie(t), ie(r), ie(i), ie(n)), Cr(l, o), a && a.d(o);
|
|
4297
4260
|
}
|
|
4298
4261
|
};
|
|
4299
4262
|
}
|
|
4300
|
-
function
|
|
4263
|
+
function zt(e) {
|
|
4301
4264
|
let t, r, i;
|
|
4302
4265
|
function n(...s) {
|
|
4303
4266
|
return (
|
|
@@ -4311,27 +4274,27 @@ function Jt(e) {
|
|
|
4311
4274
|
}
|
|
4312
4275
|
return {
|
|
4313
4276
|
c() {
|
|
4314
|
-
t =
|
|
4277
|
+
t = Z("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', K(t, "class", "CashierVerificationChevron");
|
|
4315
4278
|
},
|
|
4316
|
-
m(s,
|
|
4317
|
-
|
|
4279
|
+
m(s, l) {
|
|
4280
|
+
ae(s, t, l), r || (i = bt(t, "click", n), r = !0);
|
|
4318
4281
|
},
|
|
4319
|
-
p(s,
|
|
4282
|
+
p(s, l) {
|
|
4320
4283
|
e = s;
|
|
4321
4284
|
},
|
|
4322
4285
|
d(s) {
|
|
4323
|
-
s &&
|
|
4286
|
+
s && ie(t), r = !1, i();
|
|
4324
4287
|
}
|
|
4325
4288
|
};
|
|
4326
4289
|
}
|
|
4327
|
-
function
|
|
4290
|
+
function Xt(e) {
|
|
4328
4291
|
let t, r, i, n, s = (
|
|
4329
4292
|
/*message*/
|
|
4330
4293
|
e[49] + ""
|
|
4331
|
-
),
|
|
4294
|
+
), l, a, o, u, h = (
|
|
4332
4295
|
/*displayMessages*/
|
|
4333
4296
|
e[4].length > 1 && /*index*/
|
|
4334
|
-
e[51] === 0 &&
|
|
4297
|
+
e[51] === 0 && zt(e)
|
|
4335
4298
|
);
|
|
4336
4299
|
function c(...m) {
|
|
4337
4300
|
return (
|
|
@@ -4345,7 +4308,7 @@ function Qt(e) {
|
|
|
4345
4308
|
}
|
|
4346
4309
|
return {
|
|
4347
4310
|
c() {
|
|
4348
|
-
t =
|
|
4311
|
+
t = Z("div"), r = Z("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = xe(), n = Z("p"), l = xe(), h && h.c(), a = xe(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), Ee(
|
|
4349
4312
|
t,
|
|
4350
4313
|
"ShowAll",
|
|
4351
4314
|
/*allVerificationsVisible*/
|
|
@@ -4353,15 +4316,15 @@ function Qt(e) {
|
|
|
4353
4316
|
);
|
|
4354
4317
|
},
|
|
4355
4318
|
m(m, E) {
|
|
4356
|
-
|
|
4319
|
+
ae(m, t, E), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = bt(t, "click", c), o = !0);
|
|
4357
4320
|
},
|
|
4358
4321
|
p(m, E) {
|
|
4359
4322
|
e = m, E[0] & /*displayMessages*/
|
|
4360
4323
|
16 && s !== (s = /*message*/
|
|
4361
4324
|
e[49] + "") && (n.innerHTML = s), /*displayMessages*/
|
|
4362
4325
|
e[4].length > 1 && /*index*/
|
|
4363
|
-
e[51] === 0 ? h ? h.p(e, E) : (h =
|
|
4364
|
-
32 &&
|
|
4326
|
+
e[51] === 0 ? h ? h.p(e, E) : (h = zt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
|
|
4327
|
+
32 && Ee(
|
|
4365
4328
|
t,
|
|
4366
4329
|
"ShowAll",
|
|
4367
4330
|
/*allVerificationsVisible*/
|
|
@@ -4369,37 +4332,37 @@ function Qt(e) {
|
|
|
4369
4332
|
);
|
|
4370
4333
|
},
|
|
4371
4334
|
d(m) {
|
|
4372
|
-
m &&
|
|
4335
|
+
m && ie(t), h && h.d(), o = !1, u();
|
|
4373
4336
|
}
|
|
4374
4337
|
};
|
|
4375
4338
|
}
|
|
4376
|
-
function
|
|
4339
|
+
function Wt(e) {
|
|
4377
4340
|
let t, r, i, n, s = (
|
|
4378
4341
|
/*$_*/
|
|
4379
4342
|
e[9]("verification.video.how-to") + ""
|
|
4380
|
-
),
|
|
4343
|
+
), l, a, o;
|
|
4381
4344
|
return {
|
|
4382
4345
|
c() {
|
|
4383
|
-
t =
|
|
4346
|
+
t = Z("div"), r = Z("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 = xe(), n = Z("div"), l = vt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), Ee(
|
|
4384
4347
|
n,
|
|
4385
4348
|
"CashierVerificationVideoLinkDesktop",
|
|
4386
4349
|
/*desktopView*/
|
|
4387
4350
|
e[6]
|
|
4388
|
-
),
|
|
4351
|
+
), K(t, "class", "CashierVerificationVideo");
|
|
4389
4352
|
},
|
|
4390
4353
|
m(u, h) {
|
|
4391
|
-
|
|
4354
|
+
ae(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = bt(
|
|
4392
4355
|
n,
|
|
4393
4356
|
"click",
|
|
4394
4357
|
/*click_handler_2*/
|
|
4395
4358
|
e[20]
|
|
4396
|
-
),
|
|
4359
|
+
), a = !0);
|
|
4397
4360
|
},
|
|
4398
4361
|
p(u, h) {
|
|
4399
4362
|
h[0] & /*$_*/
|
|
4400
4363
|
512 && s !== (s = /*$_*/
|
|
4401
|
-
u[9]("verification.video.how-to") + "") &&
|
|
4402
|
-
64 &&
|
|
4364
|
+
u[9]("verification.video.how-to") + "") && Ir(l, s), h[0] & /*desktopView*/
|
|
4365
|
+
64 && Ee(
|
|
4403
4366
|
n,
|
|
4404
4367
|
"CashierVerificationVideoLinkDesktop",
|
|
4405
4368
|
/*desktopView*/
|
|
@@ -4407,18 +4370,18 @@ function Kt(e) {
|
|
|
4407
4370
|
);
|
|
4408
4371
|
},
|
|
4409
4372
|
d(u) {
|
|
4410
|
-
u &&
|
|
4373
|
+
u && ie(t), a = !1, o();
|
|
4411
4374
|
}
|
|
4412
4375
|
};
|
|
4413
4376
|
}
|
|
4414
|
-
function
|
|
4377
|
+
function Wn(e) {
|
|
4415
4378
|
let t, r = (
|
|
4416
4379
|
/*displayMessages*/
|
|
4417
|
-
e[4] &&
|
|
4380
|
+
e[4] && jt(e)
|
|
4418
4381
|
);
|
|
4419
4382
|
return {
|
|
4420
4383
|
c() {
|
|
4421
|
-
t =
|
|
4384
|
+
t = Z("div"), r && r.c(), K(t, "class", "CashierVerifications"), Ee(
|
|
4422
4385
|
t,
|
|
4423
4386
|
"CashierVerificationsDesktop",
|
|
4424
4387
|
/*desktopView*/
|
|
@@ -4426,69 +4389,69 @@ function ss(e) {
|
|
|
4426
4389
|
);
|
|
4427
4390
|
},
|
|
4428
4391
|
m(i, n) {
|
|
4429
|
-
|
|
4392
|
+
ae(i, t, n), r && r.m(t, null), e[21](t);
|
|
4430
4393
|
},
|
|
4431
4394
|
p(i, n) {
|
|
4432
4395
|
/*displayMessages*/
|
|
4433
|
-
i[4] ? r ? r.p(i, n) : (r =
|
|
4434
|
-
64 &&
|
|
4396
|
+
i[4] ? r ? r.p(i, n) : (r = jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
|
|
4397
|
+
64 && Ee(
|
|
4435
4398
|
t,
|
|
4436
4399
|
"CashierVerificationsDesktop",
|
|
4437
4400
|
/*desktopView*/
|
|
4438
4401
|
i[6]
|
|
4439
4402
|
);
|
|
4440
4403
|
},
|
|
4441
|
-
i:
|
|
4442
|
-
o:
|
|
4404
|
+
i: Q,
|
|
4405
|
+
o: Q,
|
|
4443
4406
|
d(i) {
|
|
4444
|
-
i &&
|
|
4407
|
+
i && ie(t), r && r.d(), e[21](null);
|
|
4445
4408
|
}
|
|
4446
4409
|
};
|
|
4447
4410
|
}
|
|
4448
|
-
const
|
|
4449
|
-
function
|
|
4411
|
+
const qn = "verification_explanation_video_widgets.MP4", Yn = "760px", Zn = "510px";
|
|
4412
|
+
function Jn(e, t, r) {
|
|
4450
4413
|
let i;
|
|
4451
|
-
|
|
4452
|
-
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl:
|
|
4414
|
+
Pr(e, Fn, (f) => r(9, i = f)), Vt.extend(zn);
|
|
4415
|
+
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, V, U = !0, B = !0, z = !1, I = "";
|
|
4453
4416
|
var L;
|
|
4454
4417
|
(function(f) {
|
|
4455
4418
|
f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
|
|
4456
4419
|
})(L || (L = {}));
|
|
4457
|
-
var
|
|
4420
|
+
var q;
|
|
4458
4421
|
(function(f) {
|
|
4459
4422
|
f.Requested = "Requested";
|
|
4460
|
-
})(
|
|
4423
|
+
})(q || (q = {}));
|
|
4461
4424
|
var R;
|
|
4462
4425
|
(function(f) {
|
|
4463
4426
|
f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
|
|
4464
4427
|
})(R || (R = {}));
|
|
4465
|
-
var
|
|
4428
|
+
var X;
|
|
4466
4429
|
(function(f) {
|
|
4467
4430
|
f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
|
|
4468
|
-
})(
|
|
4431
|
+
})(X || (X = {}));
|
|
4469
4432
|
const k = [
|
|
4470
4433
|
R.InProgress,
|
|
4471
4434
|
R.Referred,
|
|
4472
4435
|
R.AwaitingForResponse
|
|
4473
|
-
],
|
|
4474
|
-
let f =
|
|
4436
|
+
], P = () => {
|
|
4437
|
+
let f = l;
|
|
4475
4438
|
if (f)
|
|
4476
4439
|
return fetch(f).then((y) => y.json()).then((y) => {
|
|
4477
4440
|
Object.keys(y).forEach((S) => {
|
|
4478
|
-
|
|
4441
|
+
Ut(S, y[S]);
|
|
4479
4442
|
});
|
|
4480
4443
|
}).catch((y) => {
|
|
4481
4444
|
console.log(y);
|
|
4482
4445
|
});
|
|
4483
4446
|
};
|
|
4484
|
-
Object.keys(
|
|
4485
|
-
|
|
4447
|
+
Object.keys(Ft).forEach((f) => {
|
|
4448
|
+
Ut(f, Ft[f]);
|
|
4486
4449
|
});
|
|
4487
|
-
const
|
|
4488
|
-
|
|
4489
|
-
},
|
|
4450
|
+
const me = () => {
|
|
4451
|
+
Vn(s);
|
|
4452
|
+
}, Re = () => {
|
|
4490
4453
|
let f = document.createElement("style");
|
|
4491
|
-
f.innerHTML =
|
|
4454
|
+
f.innerHTML = a, m.appendChild(f);
|
|
4492
4455
|
}, x = () => {
|
|
4493
4456
|
let f = new URL(o), y = document.createElement("style");
|
|
4494
4457
|
fetch(f.href).then((S) => S.text()).then((S) => {
|
|
@@ -4503,11 +4466,11 @@ function ls(e, t, r) {
|
|
|
4503
4466
|
const { merchantId: f, customerId: y } = d();
|
|
4504
4467
|
if (!f)
|
|
4505
4468
|
return;
|
|
4506
|
-
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`),
|
|
4507
|
-
|
|
4508
|
-
const
|
|
4469
|
+
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), Y = new Headers();
|
|
4470
|
+
Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Vt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
4471
|
+
const Je = {
|
|
4509
4472
|
method: "POST",
|
|
4510
|
-
headers:
|
|
4473
|
+
headers: Y,
|
|
4511
4474
|
body: JSON.stringify({
|
|
4512
4475
|
MerchantId: f,
|
|
4513
4476
|
CustomerId: y,
|
|
@@ -4515,23 +4478,22 @@ function ls(e, t, r) {
|
|
|
4515
4478
|
AllParameters: !1
|
|
4516
4479
|
})
|
|
4517
4480
|
};
|
|
4518
|
-
fetch(S,
|
|
4519
|
-
r(17, $ =
|
|
4520
|
-
|
|
4521
|
-
}), r(4,
|
|
4481
|
+
fetch(S, Je).then((ge) => ge.json()).then((ge) => {
|
|
4482
|
+
r(17, $ = ge.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(ge.Verifications), v.VerificationStatuses.forEach((ee) => {
|
|
4483
|
+
ee.VerificationUrlType !== "Widget" && E.add(ee.Vendor);
|
|
4484
|
+
}), r(4, V = N());
|
|
4522
4485
|
});
|
|
4523
4486
|
}, d = () => {
|
|
4524
4487
|
let f = u.split(".")[1];
|
|
4525
4488
|
if (f) {
|
|
4526
4489
|
let y = JSON.parse(atob(f));
|
|
4527
4490
|
return {
|
|
4528
|
-
merchantId: y
|
|
4529
|
-
customerId: `${y
|
|
4491
|
+
merchantId: y?.mid,
|
|
4492
|
+
customerId: `${y?.mid}~${h}`
|
|
4530
4493
|
};
|
|
4531
4494
|
}
|
|
4532
4495
|
return { merchantId: null, customerId: null };
|
|
4533
|
-
},
|
|
4534
|
-
var S;
|
|
4496
|
+
}, b = (f) => {
|
|
4535
4497
|
if (!f || !f.length)
|
|
4536
4498
|
return {
|
|
4537
4499
|
VerificationSummaryStatus: R.Unverified,
|
|
@@ -4539,34 +4501,31 @@ function ls(e, t, r) {
|
|
|
4539
4501
|
};
|
|
4540
4502
|
const y = w(f);
|
|
4541
4503
|
if (y && y.length) {
|
|
4542
|
-
const
|
|
4504
|
+
const S = p(y);
|
|
4543
4505
|
return {
|
|
4544
|
-
VerificationSummaryStatus:
|
|
4545
|
-
VerificationUrl:
|
|
4546
|
-
VerificationStatuses: _(y,
|
|
4506
|
+
VerificationSummaryStatus: S.Status,
|
|
4507
|
+
VerificationUrl: S.Flags?.DeferredUrlKey,
|
|
4508
|
+
VerificationStatuses: _(y, S.Status)
|
|
4547
4509
|
};
|
|
4548
4510
|
} else
|
|
4549
4511
|
return {
|
|
4550
|
-
VerificationSummaryStatus: f.some((
|
|
4512
|
+
VerificationSummaryStatus: f.some((Y) => Y.Status === R.Failed) ? R.Failed : R.Verified,
|
|
4551
4513
|
VerificationStatuses: _(f, [R.Failed])
|
|
4552
4514
|
};
|
|
4553
4515
|
}, p = (f) => f.reduce(
|
|
4554
4516
|
(y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
|
|
4555
4517
|
0
|
|
4556
|
-
), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => {
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
};
|
|
4565
|
-
}), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || M(y) || D(y) : !1), M = (f) => {
|
|
4566
|
-
const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((V) => V.Status === Y.Requested);
|
|
4518
|
+
), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
|
|
4519
|
+
Type: S.Type,
|
|
4520
|
+
Vendor: S.VendorName,
|
|
4521
|
+
VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
|
|
4522
|
+
VerificationUrlType: S.Flags?.DeferredUrlTypeKey,
|
|
4523
|
+
VerificationUrl: S.Flags?.DeferredUrlKey
|
|
4524
|
+
})), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || M(y) || D(y) : !1), M = (f) => {
|
|
4525
|
+
const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((Y) => Y.Status === q.Requested);
|
|
4567
4526
|
return y && S;
|
|
4568
4527
|
}, D = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
|
|
4569
|
-
switch (
|
|
4528
|
+
switch (v.VerificationSummaryStatus) {
|
|
4570
4529
|
case R.InProgress:
|
|
4571
4530
|
const f = [];
|
|
4572
4531
|
return E.forEach((y) => {
|
|
@@ -4578,104 +4537,104 @@ function ls(e, t, r) {
|
|
|
4578
4537
|
return [i("verification.message.failed")];
|
|
4579
4538
|
}
|
|
4580
4539
|
}, F = (f) => {
|
|
4581
|
-
const y =
|
|
4540
|
+
const y = v.VerificationStatuses.filter((S) => S.Vendor === f);
|
|
4582
4541
|
if (f === L.ShuftiPro)
|
|
4583
|
-
return
|
|
4542
|
+
return W(y);
|
|
4584
4543
|
{
|
|
4585
|
-
const S = i("verification.idenfy.link-name"),
|
|
4544
|
+
const S = i("verification.idenfy.link-name"), Y = {
|
|
4586
4545
|
link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
|
|
4587
4546
|
};
|
|
4588
|
-
return i("verification.idenfy.in-progress", { values:
|
|
4547
|
+
return i("verification.idenfy.in-progress", { values: Y });
|
|
4589
4548
|
}
|
|
4590
|
-
},
|
|
4591
|
-
const y = [], S = {},
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4549
|
+
}, W = (f) => {
|
|
4550
|
+
const y = [], S = {}, Y = [
|
|
4551
|
+
X.Biometric,
|
|
4552
|
+
X.Documents,
|
|
4553
|
+
X.ProofOfAddress
|
|
4595
4554
|
];
|
|
4596
|
-
f.forEach((
|
|
4597
|
-
|
|
4555
|
+
f.forEach((ee) => {
|
|
4556
|
+
Y.includes(ee.Type) && (y.push(ee.Type), S[ee.Type] = ue(ee, ne(ee.Type)));
|
|
4598
4557
|
});
|
|
4599
|
-
let
|
|
4600
|
-
return
|
|
4601
|
-
},
|
|
4558
|
+
let Je = y.every((ee) => H.has(ee)), ge = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
|
|
4559
|
+
return Je ? i("verification.shuftipro.validations-started") : i(ge, { values: S });
|
|
4560
|
+
}, ue = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ne = (f) => i(`verification.shuftipro.link-name.${f}`), se = (f, y) => {
|
|
4602
4561
|
if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
|
|
4603
4562
|
if (f.target.closest(".verificationLink")) {
|
|
4604
4563
|
const S = f.target.className.split(" ")[1];
|
|
4605
|
-
H.add(S), r(4,
|
|
4564
|
+
H.add(S), r(4, V = N());
|
|
4606
4565
|
}
|
|
4607
4566
|
return;
|
|
4608
4567
|
}
|
|
4609
4568
|
y === 0 && r(5, U = !U);
|
|
4610
|
-
},
|
|
4569
|
+
}, oe = () => {
|
|
4611
4570
|
r(6, B = c === "false");
|
|
4612
|
-
},
|
|
4613
|
-
r(8, I = $ + "/" + s + "/" +
|
|
4571
|
+
}, G = () => {
|
|
4572
|
+
r(8, I = $ + "/" + s + "/" + qn);
|
|
4614
4573
|
try {
|
|
4615
4574
|
fetch(I, { method: "HEAD" }).then((f) => {
|
|
4616
|
-
r(7,
|
|
4575
|
+
r(7, z = f.ok);
|
|
4617
4576
|
});
|
|
4618
|
-
} catch
|
|
4619
|
-
r(7,
|
|
4577
|
+
} catch {
|
|
4578
|
+
r(7, z = !1);
|
|
4620
4579
|
}
|
|
4621
|
-
},
|
|
4580
|
+
}, J = () => {
|
|
4622
4581
|
window.postMessage(
|
|
4623
4582
|
{
|
|
4624
4583
|
type: "ShowCashierVideoModal",
|
|
4625
|
-
details: B ?
|
|
4584
|
+
details: B ? Yn : Zn
|
|
4626
4585
|
},
|
|
4627
4586
|
window.location.href
|
|
4628
4587
|
);
|
|
4629
|
-
},
|
|
4630
|
-
function
|
|
4631
|
-
|
|
4588
|
+
}, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Hr = () => J();
|
|
4589
|
+
function Or(f) {
|
|
4590
|
+
st[f ? "unshift" : "push"](() => {
|
|
4632
4591
|
m = f, r(3, m);
|
|
4633
4592
|
});
|
|
4634
4593
|
}
|
|
4635
4594
|
return e.$$set = (f) => {
|
|
4636
|
-
"endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14,
|
|
4595
|
+
"endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, o = f.clientstylingurl), "session" in f && r(15, u = f.session), "customerid" in f && r(16, h = f.customerid), "ismobileview" in f && r(2, c = f.ismobileview);
|
|
4637
4596
|
}, e.$$.update = () => {
|
|
4638
4597
|
e.$$.dirty[0] & /*lang*/
|
|
4639
|
-
8192 && s &&
|
|
4598
|
+
8192 && s && me(), e.$$.dirty[0] & /*endpoint, session*/
|
|
4640
4599
|
36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
|
|
4641
|
-
16384 &&
|
|
4642
|
-
9 &&
|
|
4600
|
+
16384 && l && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4601
|
+
9 && a && m && Re(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4643
4602
|
10 && o && m && x(), e.$$.dirty[0] & /*ismobileview*/
|
|
4644
|
-
4 && c &&
|
|
4645
|
-
131072 && $ &&
|
|
4603
|
+
4 && c && oe(), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
4604
|
+
131072 && $ && G();
|
|
4646
4605
|
}, [
|
|
4647
|
-
|
|
4606
|
+
a,
|
|
4648
4607
|
o,
|
|
4649
4608
|
c,
|
|
4650
4609
|
m,
|
|
4651
|
-
|
|
4610
|
+
V,
|
|
4652
4611
|
U,
|
|
4653
4612
|
B,
|
|
4654
|
-
|
|
4613
|
+
z,
|
|
4655
4614
|
I,
|
|
4656
4615
|
i,
|
|
4657
|
-
|
|
4658
|
-
|
|
4616
|
+
se,
|
|
4617
|
+
J,
|
|
4659
4618
|
n,
|
|
4660
4619
|
s,
|
|
4661
|
-
|
|
4620
|
+
l,
|
|
4662
4621
|
u,
|
|
4663
4622
|
h,
|
|
4664
4623
|
$,
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4624
|
+
ce,
|
|
4625
|
+
pe,
|
|
4626
|
+
Hr,
|
|
4627
|
+
Or
|
|
4669
4628
|
];
|
|
4670
4629
|
}
|
|
4671
|
-
class
|
|
4630
|
+
class Qn extends Yr {
|
|
4672
4631
|
constructor(t) {
|
|
4673
|
-
super(),
|
|
4632
|
+
super(), Wr(
|
|
4674
4633
|
this,
|
|
4675
4634
|
t,
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4635
|
+
Jn,
|
|
4636
|
+
Wn,
|
|
4637
|
+
Yt,
|
|
4679
4638
|
{
|
|
4680
4639
|
endpoint: 12,
|
|
4681
4640
|
lang: 13,
|
|
@@ -4686,7 +4645,7 @@ class Mr extends ai {
|
|
|
4686
4645
|
customerid: 16,
|
|
4687
4646
|
ismobileview: 2
|
|
4688
4647
|
},
|
|
4689
|
-
|
|
4648
|
+
Xn,
|
|
4690
4649
|
[-1, -1]
|
|
4691
4650
|
);
|
|
4692
4651
|
}
|
|
@@ -4694,76 +4653,72 @@ class Mr extends ai {
|
|
|
4694
4653
|
return this.$$.ctx[12];
|
|
4695
4654
|
}
|
|
4696
4655
|
set endpoint(t) {
|
|
4697
|
-
this.$$set({ endpoint: t }),
|
|
4656
|
+
this.$$set({ endpoint: t }), te();
|
|
4698
4657
|
}
|
|
4699
4658
|
get lang() {
|
|
4700
4659
|
return this.$$.ctx[13];
|
|
4701
4660
|
}
|
|
4702
4661
|
set lang(t) {
|
|
4703
|
-
this.$$set({ lang: t }),
|
|
4662
|
+
this.$$set({ lang: t }), te();
|
|
4704
4663
|
}
|
|
4705
4664
|
get translationurl() {
|
|
4706
4665
|
return this.$$.ctx[14];
|
|
4707
4666
|
}
|
|
4708
4667
|
set translationurl(t) {
|
|
4709
|
-
this.$$set({ translationurl: t }),
|
|
4668
|
+
this.$$set({ translationurl: t }), te();
|
|
4710
4669
|
}
|
|
4711
4670
|
get clientstyling() {
|
|
4712
4671
|
return this.$$.ctx[0];
|
|
4713
4672
|
}
|
|
4714
4673
|
set clientstyling(t) {
|
|
4715
|
-
this.$$set({ clientstyling: t }),
|
|
4674
|
+
this.$$set({ clientstyling: t }), te();
|
|
4716
4675
|
}
|
|
4717
4676
|
get clientstylingurl() {
|
|
4718
4677
|
return this.$$.ctx[1];
|
|
4719
4678
|
}
|
|
4720
4679
|
set clientstylingurl(t) {
|
|
4721
|
-
this.$$set({ clientstylingurl: t }),
|
|
4680
|
+
this.$$set({ clientstylingurl: t }), te();
|
|
4722
4681
|
}
|
|
4723
4682
|
get session() {
|
|
4724
4683
|
return this.$$.ctx[15];
|
|
4725
4684
|
}
|
|
4726
4685
|
set session(t) {
|
|
4727
|
-
this.$$set({ session: t }),
|
|
4686
|
+
this.$$set({ session: t }), te();
|
|
4728
4687
|
}
|
|
4729
4688
|
get customerid() {
|
|
4730
4689
|
return this.$$.ctx[16];
|
|
4731
4690
|
}
|
|
4732
4691
|
set customerid(t) {
|
|
4733
|
-
this.$$set({ customerid: t }),
|
|
4692
|
+
this.$$set({ customerid: t }), te();
|
|
4734
4693
|
}
|
|
4735
4694
|
get ismobileview() {
|
|
4736
4695
|
return this.$$.ctx[2];
|
|
4737
4696
|
}
|
|
4738
4697
|
set ismobileview(t) {
|
|
4739
|
-
this.$$set({ ismobileview: t }),
|
|
4698
|
+
this.$$set({ ismobileview: t }), te();
|
|
4740
4699
|
}
|
|
4741
4700
|
}
|
|
4742
|
-
|
|
4743
|
-
const ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4744
|
-
__proto__: null,
|
|
4745
|
-
default: Mr
|
|
4746
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
4701
|
+
qr(Qn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
|
|
4747
4702
|
export {
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4703
|
+
Qn as C,
|
|
4704
|
+
Yr as S,
|
|
4705
|
+
$r as a,
|
|
4706
|
+
ae as b,
|
|
4707
|
+
qr as c,
|
|
4708
|
+
ie as d,
|
|
4709
|
+
ts as e,
|
|
4710
|
+
te as f,
|
|
4711
|
+
Z as g,
|
|
4712
|
+
xe as h,
|
|
4713
|
+
Wr as i,
|
|
4714
|
+
Kn as j,
|
|
4715
|
+
K as k,
|
|
4716
|
+
re as l,
|
|
4717
|
+
es as m,
|
|
4718
|
+
Q as n,
|
|
4719
|
+
rs as o,
|
|
4720
|
+
bt as p,
|
|
4721
|
+
st as q,
|
|
4722
|
+
Yt as s,
|
|
4723
|
+
Ee as t
|
|
4769
4724
|
};
|