@everymatrix/cashier-error 1.99.23 → 1.99.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierError-BXXPec8d.cjs +5 -0
- package/components/{CashierError-BmVBqEjI.js → CashierError-C-bvd1zf.js} +635 -516
- package/components/{CashierError-C_PMTC9D.js → CashierError-xBg6KcNS.js} +540 -421
- package/es2015/cashier-error.cjs +1 -1
- package/es2015/cashier-error.js +1 -1
- package/esnext/cashier-error.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-BkxZqBIU.cjs +0 -5
|
@@ -17,10 +17,10 @@ function nt() {
|
|
|
17
17
|
function ne(e) {
|
|
18
18
|
e.forEach(Bt);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Ke(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Ye(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let fe;
|
|
@@ -30,7 +30,7 @@ function rt(e, t) {
|
|
|
30
30
|
function vn(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Lt(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const r of t)
|
|
36
36
|
r(void 0);
|
|
@@ -40,15 +40,15 @@ function Ht(e, ...t) {
|
|
|
40
40
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
41
41
|
}
|
|
42
42
|
function En(e, t, n) {
|
|
43
|
-
e.$$.on_destroy.push(
|
|
43
|
+
e.$$.on_destroy.push(Lt(t, n));
|
|
44
44
|
}
|
|
45
45
|
function ge(e, t, n, r) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = Ht(e, t, n, r);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Ht(e, t, n, r) {
|
|
52
52
|
return e[1] && r ? yn(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
53
53
|
}
|
|
54
54
|
function pe(e, t, n, r) {
|
|
@@ -57,9 +57,9 @@ function pe(e, t, n, r) {
|
|
|
57
57
|
if (t.dirty === void 0)
|
|
58
58
|
return i;
|
|
59
59
|
if (typeof i == "object") {
|
|
60
|
-
const a = [],
|
|
61
|
-
for (let
|
|
62
|
-
a[
|
|
60
|
+
const a = [], o = Math.max(t.dirty.length, i.length);
|
|
61
|
+
for (let s = 0; s < o; s += 1)
|
|
62
|
+
a[s] = t.dirty[s] | i[s];
|
|
63
63
|
return a;
|
|
64
64
|
}
|
|
65
65
|
return t.dirty | i;
|
|
@@ -68,8 +68,8 @@ function pe(e, t, n, r) {
|
|
|
68
68
|
}
|
|
69
69
|
function be(e, t, n, r, i, a) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const
|
|
72
|
-
e.p(
|
|
71
|
+
const o = Ht(t, n, r, a);
|
|
72
|
+
e.p(o, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
function ye(e) {
|
|
@@ -81,13 +81,13 @@ function ye(e) {
|
|
|
81
81
|
}
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function H(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
87
|
function Mt(e, t, n) {
|
|
88
88
|
const r = _n(e);
|
|
89
89
|
if (!r.getElementById(t)) {
|
|
90
|
-
const i =
|
|
90
|
+
const i = B("style");
|
|
91
91
|
i.id = t, i.textContent = n, xn(r, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -102,7 +102,7 @@ function _n(e) {
|
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
104
|
function xn(e, t) {
|
|
105
|
-
return
|
|
105
|
+
return H(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
108
108
|
t
|
|
@@ -114,17 +114,20 @@ function I(e, t, n) {
|
|
|
114
114
|
function w(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function B(e) {
|
|
118
118
|
return document.createElement(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function kn(e) {
|
|
121
|
+
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
122
|
+
}
|
|
123
|
+
function z(e) {
|
|
121
124
|
return document.createTextNode(e);
|
|
122
125
|
}
|
|
123
126
|
function G() {
|
|
124
|
-
return
|
|
127
|
+
return z(" ");
|
|
125
128
|
}
|
|
126
|
-
function
|
|
127
|
-
return
|
|
129
|
+
function Se() {
|
|
130
|
+
return z("");
|
|
128
131
|
}
|
|
129
132
|
function Pt(e, t, n, r) {
|
|
130
133
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
@@ -132,14 +135,84 @@ function Pt(e, t, n, r) {
|
|
|
132
135
|
function T(e, t, n) {
|
|
133
136
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
134
137
|
}
|
|
135
|
-
function
|
|
138
|
+
function Tn(e) {
|
|
136
139
|
return Array.from(e.childNodes);
|
|
137
140
|
}
|
|
138
141
|
function K(e, t) {
|
|
139
142
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
140
143
|
t);
|
|
141
144
|
}
|
|
142
|
-
|
|
145
|
+
class wn {
|
|
146
|
+
/**
|
|
147
|
+
* @private
|
|
148
|
+
* @default false
|
|
149
|
+
*/
|
|
150
|
+
is_svg = !1;
|
|
151
|
+
/** parent for creating node */
|
|
152
|
+
e = void 0;
|
|
153
|
+
/** html tag nodes */
|
|
154
|
+
n = void 0;
|
|
155
|
+
/** target */
|
|
156
|
+
t = void 0;
|
|
157
|
+
/** anchor */
|
|
158
|
+
a = void 0;
|
|
159
|
+
constructor(t = !1) {
|
|
160
|
+
this.is_svg = t, this.e = this.n = null;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @param {string} html
|
|
164
|
+
* @returns {void}
|
|
165
|
+
*/
|
|
166
|
+
c(t) {
|
|
167
|
+
this.h(t);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @param {string} html
|
|
171
|
+
* @param {HTMLElement | SVGElement} target
|
|
172
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
173
|
+
* @returns {void}
|
|
174
|
+
*/
|
|
175
|
+
m(t, n, r = null) {
|
|
176
|
+
this.e || (this.is_svg ? this.e = kn(
|
|
177
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
178
|
+
n.nodeName
|
|
179
|
+
) : this.e = B(
|
|
180
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
181
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
182
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
183
|
+
/** @type {HTMLTemplateElement} */
|
|
184
|
+
n.content
|
|
185
|
+
), this.c(t)), this.i(r);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @param {string} html
|
|
189
|
+
* @returns {void}
|
|
190
|
+
*/
|
|
191
|
+
h(t) {
|
|
192
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
193
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* @returns {void} */
|
|
198
|
+
i(t) {
|
|
199
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
200
|
+
I(this.t, this.n[n], t);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @param {string} html
|
|
204
|
+
* @returns {void}
|
|
205
|
+
*/
|
|
206
|
+
p(t) {
|
|
207
|
+
this.d(), this.h(t), this.i(this.a);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @returns {void} */
|
|
211
|
+
d() {
|
|
212
|
+
this.n.forEach(w);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
function In(e) {
|
|
143
216
|
const t = {};
|
|
144
217
|
return e.childNodes.forEach(
|
|
145
218
|
/** @param {Element} node */
|
|
@@ -152,25 +225,25 @@ let ue;
|
|
|
152
225
|
function le(e) {
|
|
153
226
|
ue = e;
|
|
154
227
|
}
|
|
155
|
-
function
|
|
228
|
+
function An() {
|
|
156
229
|
if (!ue)
|
|
157
230
|
throw new Error("Function called outside component initialization");
|
|
158
231
|
return ue;
|
|
159
232
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
233
|
+
function Sn(e) {
|
|
234
|
+
An().$$.on_mount.push(e);
|
|
162
235
|
}
|
|
163
|
-
const X = [],
|
|
236
|
+
const X = [], Ue = [];
|
|
164
237
|
let J = [];
|
|
165
|
-
const it = [],
|
|
166
|
-
let
|
|
167
|
-
function
|
|
168
|
-
|
|
238
|
+
const it = [], Cn = /* @__PURE__ */ Promise.resolve();
|
|
239
|
+
let Fe = !1;
|
|
240
|
+
function Bn() {
|
|
241
|
+
Fe || (Fe = !0, Cn.then(C));
|
|
169
242
|
}
|
|
170
|
-
function
|
|
243
|
+
function Ge(e) {
|
|
171
244
|
J.push(e);
|
|
172
245
|
}
|
|
173
|
-
const
|
|
246
|
+
const Me = /* @__PURE__ */ new Set();
|
|
174
247
|
let W = 0;
|
|
175
248
|
function C() {
|
|
176
249
|
if (W !== 0)
|
|
@@ -180,31 +253,31 @@ function C() {
|
|
|
180
253
|
try {
|
|
181
254
|
for (; W < X.length; ) {
|
|
182
255
|
const t = X[W];
|
|
183
|
-
W++, le(t),
|
|
256
|
+
W++, le(t), Ln(t.$$);
|
|
184
257
|
}
|
|
185
258
|
} catch (t) {
|
|
186
259
|
throw X.length = 0, W = 0, t;
|
|
187
260
|
}
|
|
188
|
-
for (le(null), X.length = 0, W = 0;
|
|
189
|
-
|
|
261
|
+
for (le(null), X.length = 0, W = 0; Ue.length; )
|
|
262
|
+
Ue.pop()();
|
|
190
263
|
for (let t = 0; t < J.length; t += 1) {
|
|
191
264
|
const n = J[t];
|
|
192
|
-
|
|
265
|
+
Me.has(n) || (Me.add(n), n());
|
|
193
266
|
}
|
|
194
267
|
J.length = 0;
|
|
195
268
|
} while (X.length);
|
|
196
269
|
for (; it.length; )
|
|
197
270
|
it.pop()();
|
|
198
|
-
|
|
271
|
+
Fe = !1, Me.clear(), le(e);
|
|
199
272
|
}
|
|
200
|
-
function
|
|
273
|
+
function Ln(e) {
|
|
201
274
|
if (e.fragment !== null) {
|
|
202
275
|
e.update(), ne(e.before_update);
|
|
203
276
|
const t = e.dirty;
|
|
204
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
277
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
|
|
205
278
|
}
|
|
206
279
|
}
|
|
207
|
-
function
|
|
280
|
+
function Hn(e) {
|
|
208
281
|
const t = [], n = [];
|
|
209
282
|
J.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), J = t;
|
|
210
283
|
}
|
|
@@ -234,24 +307,24 @@ function D(e, t, n, r) {
|
|
|
234
307
|
} else
|
|
235
308
|
r && r();
|
|
236
309
|
}
|
|
237
|
-
function
|
|
310
|
+
function Mn(e) {
|
|
238
311
|
e && e.c();
|
|
239
312
|
}
|
|
240
313
|
function Nt(e, t, n) {
|
|
241
314
|
const { fragment: r, after_update: i } = e.$$;
|
|
242
|
-
r && r.m(t, n),
|
|
243
|
-
const a = e.$$.on_mount.map(Bt).filter(
|
|
315
|
+
r && r.m(t, n), Ge(() => {
|
|
316
|
+
const a = e.$$.on_mount.map(Bt).filter(Ke);
|
|
244
317
|
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : ne(a), e.$$.on_mount = [];
|
|
245
|
-
}), i.forEach(
|
|
318
|
+
}), i.forEach(Ge);
|
|
246
319
|
}
|
|
247
|
-
function
|
|
320
|
+
function zt(e, t) {
|
|
248
321
|
const n = e.$$;
|
|
249
|
-
n.fragment !== null && (
|
|
322
|
+
n.fragment !== null && (Hn(n.after_update), ne(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
250
323
|
}
|
|
251
|
-
function
|
|
252
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
324
|
+
function Pn(e, t) {
|
|
325
|
+
e.$$.dirty[0] === -1 && (X.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
253
326
|
}
|
|
254
|
-
function
|
|
327
|
+
function Rt(e, t, n, r, i, a, o = null, s = [-1]) {
|
|
255
328
|
const u = ue;
|
|
256
329
|
le(e);
|
|
257
330
|
const l = e.$$ = {
|
|
@@ -271,18 +344,18 @@ function zt(e, t, n, r, i, a, s = null, o = [-1]) {
|
|
|
271
344
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
272
345
|
// everything else
|
|
273
346
|
callbacks: nt(),
|
|
274
|
-
dirty:
|
|
347
|
+
dirty: s,
|
|
275
348
|
skip_bound: !1,
|
|
276
349
|
root: t.target || u.$$.root
|
|
277
350
|
};
|
|
278
|
-
|
|
351
|
+
o && o(l.root);
|
|
279
352
|
let c = !1;
|
|
280
353
|
if (l.ctx = n ? n(e, t.props || {}, (h, d, ...f) => {
|
|
281
354
|
const g = f.length ? f[0] : d;
|
|
282
|
-
return l.ctx && i(l.ctx[h], l.ctx[h] = g) && (!l.skip_bound && l.bound[h] && l.bound[h](g), c &&
|
|
355
|
+
return l.ctx && i(l.ctx[h], l.ctx[h] = g) && (!l.skip_bound && l.bound[h] && l.bound[h](g), c && Pn(e, h)), d;
|
|
283
356
|
}) : [], l.update(), c = !0, ne(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
|
|
284
357
|
if (t.hydrate) {
|
|
285
|
-
const h =
|
|
358
|
+
const h = Tn(t.target);
|
|
286
359
|
l.fragment && l.fragment.l(h), h.forEach(w);
|
|
287
360
|
} else
|
|
288
361
|
l.fragment && l.fragment.c();
|
|
@@ -333,7 +406,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
333
406
|
let a;
|
|
334
407
|
return {
|
|
335
408
|
c: function() {
|
|
336
|
-
a =
|
|
409
|
+
a = B("slot"), i !== "default" && T(a, "name", i);
|
|
337
410
|
},
|
|
338
411
|
/**
|
|
339
412
|
* @param {HTMLElement} target
|
|
@@ -350,7 +423,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
350
423
|
};
|
|
351
424
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
352
425
|
return;
|
|
353
|
-
const t = {}, n =
|
|
426
|
+
const t = {}, n = In(this);
|
|
354
427
|
for (const i of this.$$s)
|
|
355
428
|
i in n && (t[i] = [e(i)]);
|
|
356
429
|
for (const i of this.attributes) {
|
|
@@ -386,8 +459,8 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
386
459
|
this.$$c.$$.after_update.push(r), r();
|
|
387
460
|
for (const i in this.$$l)
|
|
388
461
|
for (const a of this.$$l[i]) {
|
|
389
|
-
const
|
|
390
|
-
this.$$l_u.set(a,
|
|
462
|
+
const o = this.$$c.$on(i, a);
|
|
463
|
+
this.$$l_u.set(a, o);
|
|
391
464
|
}
|
|
392
465
|
this.$$l = {};
|
|
393
466
|
}
|
|
@@ -438,33 +511,33 @@ function _e(e, t, n, r) {
|
|
|
438
511
|
}
|
|
439
512
|
}
|
|
440
513
|
function Ft(e, t, n, r, i, a) {
|
|
441
|
-
let
|
|
514
|
+
let o = class extends Ut {
|
|
442
515
|
constructor() {
|
|
443
516
|
super(e, n, i), this.$$p_d = t;
|
|
444
517
|
}
|
|
445
518
|
static get observedAttributes() {
|
|
446
519
|
return Object.keys(t).map(
|
|
447
|
-
(
|
|
520
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
448
521
|
);
|
|
449
522
|
}
|
|
450
523
|
};
|
|
451
|
-
return Object.keys(t).forEach((
|
|
452
|
-
Object.defineProperty(
|
|
524
|
+
return Object.keys(t).forEach((s) => {
|
|
525
|
+
Object.defineProperty(o.prototype, s, {
|
|
453
526
|
get() {
|
|
454
|
-
return this.$$c &&
|
|
527
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
455
528
|
},
|
|
456
529
|
set(u) {
|
|
457
|
-
u = _e(
|
|
530
|
+
u = _e(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
458
531
|
}
|
|
459
532
|
});
|
|
460
|
-
}), r.forEach((
|
|
461
|
-
Object.defineProperty(
|
|
533
|
+
}), r.forEach((s) => {
|
|
534
|
+
Object.defineProperty(o.prototype, s, {
|
|
462
535
|
get() {
|
|
463
|
-
return this.$$c?.[
|
|
536
|
+
return this.$$c?.[s];
|
|
464
537
|
}
|
|
465
538
|
});
|
|
466
539
|
}), e.element = /** @type {any} */
|
|
467
|
-
|
|
540
|
+
o, o;
|
|
468
541
|
}
|
|
469
542
|
class Gt {
|
|
470
543
|
/**
|
|
@@ -485,7 +558,7 @@ class Gt {
|
|
|
485
558
|
$$set = void 0;
|
|
486
559
|
/** @returns {void} */
|
|
487
560
|
$destroy() {
|
|
488
|
-
|
|
561
|
+
zt(this, 1), this.$destroy = M;
|
|
489
562
|
}
|
|
490
563
|
/**
|
|
491
564
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -494,7 +567,7 @@ class Gt {
|
|
|
494
567
|
* @returns {() => void}
|
|
495
568
|
*/
|
|
496
569
|
$on(t, n) {
|
|
497
|
-
if (!
|
|
570
|
+
if (!Ke(n))
|
|
498
571
|
return M;
|
|
499
572
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
500
573
|
return r.push(n), () => {
|
|
@@ -510,16 +583,16 @@ class Gt {
|
|
|
510
583
|
this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
511
584
|
}
|
|
512
585
|
}
|
|
513
|
-
const
|
|
514
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
586
|
+
const On = "4";
|
|
587
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(On);
|
|
515
588
|
const Z = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
516
|
-
function
|
|
589
|
+
function Dn(e, t) {
|
|
517
590
|
if (e) {
|
|
518
591
|
const n = document.createElement("style");
|
|
519
592
|
n.innerHTML = t, e.appendChild(n);
|
|
520
593
|
}
|
|
521
594
|
}
|
|
522
|
-
function
|
|
595
|
+
function Nn(e, t) {
|
|
523
596
|
if (!e || !t)
|
|
524
597
|
return;
|
|
525
598
|
const n = new URL(t);
|
|
@@ -530,28 +603,28 @@ function On(e, t) {
|
|
|
530
603
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
531
604
|
});
|
|
532
605
|
}
|
|
533
|
-
function
|
|
606
|
+
function zn(e, t, n, r = !1) {
|
|
534
607
|
if (!window.emMessageBus)
|
|
535
608
|
return;
|
|
536
609
|
if (!("adoptedStyleSheets" in Document.prototype) || !r)
|
|
537
|
-
return n =
|
|
538
|
-
window[Z] || (window[Z] = {}), n =
|
|
539
|
-
const a = n.unsubscribe.bind(n),
|
|
610
|
+
return n = Rn(e, t), n;
|
|
611
|
+
window[Z] || (window[Z] = {}), n = Un(e, t);
|
|
612
|
+
const a = n.unsubscribe.bind(n), o = () => {
|
|
540
613
|
if (window[Z][t]) {
|
|
541
|
-
const
|
|
542
|
-
|
|
614
|
+
const s = window[Z][t];
|
|
615
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[Z][t];
|
|
543
616
|
}
|
|
544
617
|
a();
|
|
545
618
|
};
|
|
546
|
-
return n.unsubscribe =
|
|
619
|
+
return n.unsubscribe = o, n;
|
|
547
620
|
}
|
|
548
|
-
function
|
|
621
|
+
function Rn(e, t) {
|
|
549
622
|
const n = document.createElement("style");
|
|
550
623
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
551
624
|
e && (n.innerHTML = r, e.appendChild(n));
|
|
552
625
|
});
|
|
553
626
|
}
|
|
554
|
-
function
|
|
627
|
+
function Un(e, t) {
|
|
555
628
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
556
629
|
if (!e)
|
|
557
630
|
return;
|
|
@@ -561,18 +634,18 @@ function Rn(e, t) {
|
|
|
561
634
|
sheet: a,
|
|
562
635
|
refCount: 1
|
|
563
636
|
});
|
|
564
|
-
const
|
|
565
|
-
|
|
637
|
+
const o = r.adoptedStyleSheets || [];
|
|
638
|
+
o.includes(a) || (r.adoptedStyleSheets = [...o, a]);
|
|
566
639
|
});
|
|
567
640
|
}
|
|
568
|
-
function
|
|
641
|
+
function Fn(e) {
|
|
569
642
|
Mt(e, "svelte-1nr7vqj", ".HostContainer.svelte-1nr7vqj{display:block}.UiContainer.svelte-1nr7vqj{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.Hidden.svelte-1nr7vqj{opacity:0;transition:opacity 0.5s ease-in-out}.Visible.svelte-1nr7vqj{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}.Skeleton.svelte-1nr7vqj{animation:svelte-1nr7vqj-skeleton-loading 1s linear infinite alternate}.SkeletonImage.svelte-1nr7vqj{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}@keyframes svelte-1nr7vqj-skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}");
|
|
570
643
|
}
|
|
571
644
|
function at(e) {
|
|
572
645
|
let t;
|
|
573
646
|
return {
|
|
574
647
|
c() {
|
|
575
|
-
t =
|
|
648
|
+
t = B("div"), t.innerHTML = '<div class="SkeletonImage Skeleton svelte-1nr7vqj"></div>', T(t, "class", "UiContainer svelte-1nr7vqj");
|
|
576
649
|
},
|
|
577
650
|
m(n, r) {
|
|
578
651
|
I(n, t, r);
|
|
@@ -582,12 +655,12 @@ function at(e) {
|
|
|
582
655
|
}
|
|
583
656
|
};
|
|
584
657
|
}
|
|
585
|
-
function
|
|
586
|
-
let t, n, r, i, a,
|
|
658
|
+
function Gn(e) {
|
|
659
|
+
let t, n, r, i, a, o, s, u = !/*imgLoaded*/
|
|
587
660
|
e[4] && at();
|
|
588
661
|
return {
|
|
589
662
|
c() {
|
|
590
|
-
t =
|
|
663
|
+
t = B("div"), u && u.c(), n = G(), r = B("img"), rt(r.src, i = /*src*/
|
|
591
664
|
e[0]) || T(r, "src", i), T(
|
|
592
665
|
r,
|
|
593
666
|
"alt",
|
|
@@ -607,12 +680,12 @@ function Un(e) {
|
|
|
607
680
|
(e[4] ? "Visible" : "Hidden") + " svelte-1nr7vqj"), T(r, "loading", "lazy"), T(t, "class", "HostContainer hydrated svelte-1nr7vqj");
|
|
608
681
|
},
|
|
609
682
|
m(l, c) {
|
|
610
|
-
I(l, t, c), u && u.m(t, null),
|
|
683
|
+
I(l, t, c), u && u.m(t, null), H(t, n), H(t, r), o || (s = Pt(
|
|
611
684
|
r,
|
|
612
685
|
"load",
|
|
613
686
|
/*load_handler*/
|
|
614
687
|
e[5]
|
|
615
|
-
),
|
|
688
|
+
), o = !0);
|
|
616
689
|
},
|
|
617
690
|
p(l, [c]) {
|
|
618
691
|
/*imgLoaded*/
|
|
@@ -643,20 +716,20 @@ function Un(e) {
|
|
|
643
716
|
i: M,
|
|
644
717
|
o: M,
|
|
645
718
|
d(l) {
|
|
646
|
-
l && w(t), u && u.d(),
|
|
719
|
+
l && w(t), u && u.d(), o = !1, s();
|
|
647
720
|
}
|
|
648
721
|
};
|
|
649
722
|
}
|
|
650
|
-
function
|
|
651
|
-
let { src: r } = t, { alt: i = void 0 } = t, { width: a = void 0 } = t, { height:
|
|
652
|
-
const u = () => n(4,
|
|
723
|
+
function $n(e, t, n) {
|
|
724
|
+
let { src: r } = t, { alt: i = void 0 } = t, { width: a = void 0 } = t, { height: o = void 0 } = t, s = !1;
|
|
725
|
+
const u = () => n(4, s = !0);
|
|
653
726
|
return e.$$set = (l) => {
|
|
654
|
-
"src" in l && n(0, r = l.src), "alt" in l && n(1, i = l.alt), "width" in l && n(2, a = l.width), "height" in l && n(3,
|
|
655
|
-
}, [r, i, a,
|
|
727
|
+
"src" in l && n(0, r = l.src), "alt" in l && n(1, i = l.alt), "width" in l && n(2, a = l.width), "height" in l && n(3, o = l.height);
|
|
728
|
+
}, [r, i, a, o, s, u];
|
|
656
729
|
}
|
|
657
730
|
class $t extends Gt {
|
|
658
731
|
constructor(t) {
|
|
659
|
-
super(),
|
|
732
|
+
super(), Rt(this, t, $n, Gn, Ye, { src: 0, alt: 1, width: 2, height: 3 }, Fn);
|
|
660
733
|
}
|
|
661
734
|
get src() {
|
|
662
735
|
return this.$$.ctx[0];
|
|
@@ -685,16 +758,16 @@ class $t extends Gt {
|
|
|
685
758
|
}
|
|
686
759
|
Ft($t, { src: {}, alt: {}, width: {}, height: {} }, [], [], !0);
|
|
687
760
|
const q = [];
|
|
688
|
-
function
|
|
761
|
+
function jn(e, t) {
|
|
689
762
|
return {
|
|
690
|
-
subscribe:
|
|
763
|
+
subscribe: Ce(e, t).subscribe
|
|
691
764
|
};
|
|
692
765
|
}
|
|
693
|
-
function
|
|
766
|
+
function Ce(e, t = M) {
|
|
694
767
|
let n;
|
|
695
768
|
const r = /* @__PURE__ */ new Set();
|
|
696
|
-
function i(
|
|
697
|
-
if (
|
|
769
|
+
function i(s) {
|
|
770
|
+
if (Ye(e, s) && (e = s, n)) {
|
|
698
771
|
const u = !q.length;
|
|
699
772
|
for (const l of r)
|
|
700
773
|
l[1](), q.push(l, e);
|
|
@@ -705,23 +778,23 @@ function Se(e, t = M) {
|
|
|
705
778
|
}
|
|
706
779
|
}
|
|
707
780
|
}
|
|
708
|
-
function a(
|
|
709
|
-
i(
|
|
781
|
+
function a(s) {
|
|
782
|
+
i(s(e));
|
|
710
783
|
}
|
|
711
|
-
function s
|
|
712
|
-
const l = [
|
|
713
|
-
return r.add(l), r.size === 1 && (n = t(i, a) || M),
|
|
784
|
+
function o(s, u = M) {
|
|
785
|
+
const l = [s, u];
|
|
786
|
+
return r.add(l), r.size === 1 && (n = t(i, a) || M), s(e), () => {
|
|
714
787
|
r.delete(l), r.size === 0 && n && (n(), n = null);
|
|
715
788
|
};
|
|
716
789
|
}
|
|
717
|
-
return { set: i, update: a, subscribe:
|
|
790
|
+
return { set: i, update: a, subscribe: o };
|
|
718
791
|
}
|
|
719
792
|
function re(e, t, n) {
|
|
720
793
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
721
794
|
if (!i.every(Boolean))
|
|
722
795
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
723
796
|
const a = t.length < 2;
|
|
724
|
-
return
|
|
797
|
+
return jn(n, (o, s) => {
|
|
725
798
|
let u = !1;
|
|
726
799
|
const l = [];
|
|
727
800
|
let c = 0, h = M;
|
|
@@ -729,10 +802,10 @@ function re(e, t, n) {
|
|
|
729
802
|
if (c)
|
|
730
803
|
return;
|
|
731
804
|
h();
|
|
732
|
-
const g = t(r ? l[0] : l,
|
|
733
|
-
a ?
|
|
805
|
+
const g = t(r ? l[0] : l, o, s);
|
|
806
|
+
a ? o(g) : h = Ke(g) ? g : M;
|
|
734
807
|
}, f = i.map(
|
|
735
|
-
(g, k) =>
|
|
808
|
+
(g, k) => Lt(
|
|
736
809
|
g,
|
|
737
810
|
(E) => {
|
|
738
811
|
l[k] = E, c &= ~(1 << k), u && d();
|
|
@@ -747,47 +820,47 @@ function re(e, t, n) {
|
|
|
747
820
|
};
|
|
748
821
|
});
|
|
749
822
|
}
|
|
750
|
-
function
|
|
823
|
+
function Vn(e) {
|
|
751
824
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
752
825
|
}
|
|
753
|
-
var
|
|
754
|
-
return
|
|
826
|
+
var Wn = function(t) {
|
|
827
|
+
return qn(t) && !Xn(t);
|
|
755
828
|
};
|
|
756
|
-
function
|
|
829
|
+
function qn(e) {
|
|
757
830
|
return !!e && typeof e == "object";
|
|
758
831
|
}
|
|
759
|
-
function
|
|
832
|
+
function Xn(e) {
|
|
760
833
|
var t = Object.prototype.toString.call(e);
|
|
761
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
834
|
+
return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
|
|
762
835
|
}
|
|
763
|
-
var
|
|
764
|
-
function
|
|
765
|
-
return e.$$typeof ===
|
|
836
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Jn = Zn ? Symbol.for("react.element") : 60103;
|
|
837
|
+
function Kn(e) {
|
|
838
|
+
return e.$$typeof === Jn;
|
|
766
839
|
}
|
|
767
|
-
function
|
|
840
|
+
function Yn(e) {
|
|
768
841
|
return Array.isArray(e) ? [] : {};
|
|
769
842
|
}
|
|
770
843
|
function ce(e, t) {
|
|
771
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Y(
|
|
844
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(Yn(e), e, t) : e;
|
|
772
845
|
}
|
|
773
|
-
function
|
|
846
|
+
function Qn(e, t, n) {
|
|
774
847
|
return e.concat(t).map(function(r) {
|
|
775
848
|
return ce(r, n);
|
|
776
849
|
});
|
|
777
850
|
}
|
|
778
|
-
function
|
|
851
|
+
function er(e, t) {
|
|
779
852
|
if (!t.customMerge)
|
|
780
853
|
return Y;
|
|
781
854
|
var n = t.customMerge(e);
|
|
782
855
|
return typeof n == "function" ? n : Y;
|
|
783
856
|
}
|
|
784
|
-
function
|
|
857
|
+
function tr(e) {
|
|
785
858
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
786
859
|
return Object.propertyIsEnumerable.call(e, t);
|
|
787
860
|
}) : [];
|
|
788
861
|
}
|
|
789
862
|
function st(e) {
|
|
790
|
-
return Object.keys(e).concat(
|
|
863
|
+
return Object.keys(e).concat(tr(e));
|
|
791
864
|
}
|
|
792
865
|
function jt(e, t) {
|
|
793
866
|
try {
|
|
@@ -796,21 +869,21 @@ function jt(e, t) {
|
|
|
796
869
|
return !1;
|
|
797
870
|
}
|
|
798
871
|
}
|
|
799
|
-
function
|
|
872
|
+
function nr(e, t) {
|
|
800
873
|
return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
801
874
|
}
|
|
802
|
-
function
|
|
875
|
+
function rr(e, t, n) {
|
|
803
876
|
var r = {};
|
|
804
877
|
return n.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
805
878
|
r[i] = ce(e[i], n);
|
|
806
879
|
}), st(t).forEach(function(i) {
|
|
807
|
-
|
|
880
|
+
nr(e, i) || (jt(e, i) && n.isMergeableObject(t[i]) ? r[i] = er(i, n)(e[i], t[i], n) : r[i] = ce(t[i], n));
|
|
808
881
|
}), r;
|
|
809
882
|
}
|
|
810
883
|
function Y(e, t, n) {
|
|
811
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
884
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Qn, n.isMergeableObject = n.isMergeableObject || Wn, n.cloneUnlessOtherwiseSpecified = ce;
|
|
812
885
|
var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
|
|
813
|
-
return a ? r ? n.arrayMerge(e, t, n) :
|
|
886
|
+
return a ? r ? n.arrayMerge(e, t, n) : rr(e, t, n) : ce(t, n);
|
|
814
887
|
}
|
|
815
888
|
Y.all = function(t, n) {
|
|
816
889
|
if (!Array.isArray(t))
|
|
@@ -819,20 +892,20 @@ Y.all = function(t, n) {
|
|
|
819
892
|
return Y(r, i, n);
|
|
820
893
|
}, {});
|
|
821
894
|
};
|
|
822
|
-
var
|
|
823
|
-
const
|
|
824
|
-
var
|
|
825
|
-
return
|
|
895
|
+
var ir = Y, ar = ir;
|
|
896
|
+
const sr = /* @__PURE__ */ Vn(ar);
|
|
897
|
+
var $e = function(e, t) {
|
|
898
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
826
899
|
n.__proto__ = r;
|
|
827
900
|
} || function(n, r) {
|
|
828
901
|
for (var i in r)
|
|
829
902
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
830
|
-
},
|
|
903
|
+
}, $e(e, t);
|
|
831
904
|
};
|
|
832
|
-
function
|
|
905
|
+
function Be(e, t) {
|
|
833
906
|
if (typeof t != "function" && t !== null)
|
|
834
907
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
835
|
-
|
|
908
|
+
$e(e, t);
|
|
836
909
|
function n() {
|
|
837
910
|
this.constructor = e;
|
|
838
911
|
}
|
|
@@ -848,7 +921,7 @@ var P = function() {
|
|
|
848
921
|
return t;
|
|
849
922
|
}, P.apply(this, arguments);
|
|
850
923
|
};
|
|
851
|
-
function
|
|
924
|
+
function or(e, t) {
|
|
852
925
|
var n = {};
|
|
853
926
|
for (var r in e)
|
|
854
927
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -857,24 +930,24 @@ function ar(e, t) {
|
|
|
857
930
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
858
931
|
return n;
|
|
859
932
|
}
|
|
860
|
-
function
|
|
933
|
+
function Pe(e, t, n) {
|
|
861
934
|
if (n || arguments.length === 2)
|
|
862
935
|
for (var r = 0, i = t.length, a; r < i; r++)
|
|
863
936
|
(a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
864
937
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
865
938
|
}
|
|
866
|
-
function
|
|
867
|
-
var n = t && t.cache ? t.cache :
|
|
939
|
+
function Oe(e, t) {
|
|
940
|
+
var n = t && t.cache ? t.cache : fr, r = t && t.serializer ? t.serializer : dr, i = t && t.strategy ? t.strategy : cr;
|
|
868
941
|
return i(e, {
|
|
869
942
|
cache: n,
|
|
870
943
|
serializer: r
|
|
871
944
|
});
|
|
872
945
|
}
|
|
873
|
-
function
|
|
946
|
+
function lr(e) {
|
|
874
947
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
875
948
|
}
|
|
876
|
-
function
|
|
877
|
-
var i =
|
|
949
|
+
function ur(e, t, n, r) {
|
|
950
|
+
var i = lr(r) ? r : n(r), a = t.get(i);
|
|
878
951
|
return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
|
|
879
952
|
}
|
|
880
953
|
function Vt(e, t, n) {
|
|
@@ -884,16 +957,16 @@ function Vt(e, t, n) {
|
|
|
884
957
|
function Wt(e, t, n, r, i) {
|
|
885
958
|
return n.bind(t, e, r, i);
|
|
886
959
|
}
|
|
887
|
-
function
|
|
888
|
-
var n = e.length === 1 ?
|
|
960
|
+
function cr(e, t) {
|
|
961
|
+
var n = e.length === 1 ? ur : Vt;
|
|
889
962
|
return Wt(e, this, n, t.cache.create(), t.serializer);
|
|
890
963
|
}
|
|
891
|
-
function
|
|
964
|
+
function hr(e, t) {
|
|
892
965
|
return Wt(e, this, Vt, t.cache.create(), t.serializer);
|
|
893
966
|
}
|
|
894
|
-
var
|
|
967
|
+
var dr = function() {
|
|
895
968
|
return JSON.stringify(arguments);
|
|
896
|
-
},
|
|
969
|
+
}, mr = (
|
|
897
970
|
/** @class */
|
|
898
971
|
function() {
|
|
899
972
|
function e() {
|
|
@@ -905,12 +978,12 @@ var cr = function() {
|
|
|
905
978
|
this.cache[t] = n;
|
|
906
979
|
}, e;
|
|
907
980
|
}()
|
|
908
|
-
),
|
|
981
|
+
), fr = {
|
|
909
982
|
create: function() {
|
|
910
|
-
return new
|
|
983
|
+
return new mr();
|
|
911
984
|
}
|
|
912
|
-
},
|
|
913
|
-
variadic:
|
|
985
|
+
}, De = {
|
|
986
|
+
variadic: hr
|
|
914
987
|
}, Te = function() {
|
|
915
988
|
return Te = Object.assign || function(t) {
|
|
916
989
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -936,7 +1009,7 @@ var Q;
|
|
|
936
1009
|
function ot(e) {
|
|
937
1010
|
return e.type === _.literal;
|
|
938
1011
|
}
|
|
939
|
-
function
|
|
1012
|
+
function gr(e) {
|
|
940
1013
|
return e.type === _.argument;
|
|
941
1014
|
}
|
|
942
1015
|
function qt(e) {
|
|
@@ -954,7 +1027,7 @@ function Jt(e) {
|
|
|
954
1027
|
function Kt(e) {
|
|
955
1028
|
return e.type === _.plural;
|
|
956
1029
|
}
|
|
957
|
-
function
|
|
1030
|
+
function pr(e) {
|
|
958
1031
|
return e.type === _.pound;
|
|
959
1032
|
}
|
|
960
1033
|
function Yt(e) {
|
|
@@ -963,13 +1036,13 @@ function Yt(e) {
|
|
|
963
1036
|
function Qt(e) {
|
|
964
1037
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
965
1038
|
}
|
|
966
|
-
function
|
|
1039
|
+
function je(e) {
|
|
967
1040
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
968
1041
|
}
|
|
969
|
-
var en = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
970
|
-
function
|
|
1042
|
+
var en = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, br = /(?:[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;
|
|
1043
|
+
function yr(e) {
|
|
971
1044
|
var t = {};
|
|
972
|
-
return e.replace(
|
|
1045
|
+
return e.replace(br, function(n) {
|
|
973
1046
|
var r = n.length;
|
|
974
1047
|
switch (n[0]) {
|
|
975
1048
|
case "G":
|
|
@@ -1068,29 +1141,29 @@ var x = function() {
|
|
|
1068
1141
|
return t;
|
|
1069
1142
|
}, x.apply(this, arguments);
|
|
1070
1143
|
};
|
|
1071
|
-
var
|
|
1072
|
-
function
|
|
1144
|
+
var vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1145
|
+
function Er(e) {
|
|
1073
1146
|
if (e.length === 0)
|
|
1074
1147
|
throw new Error("Number skeleton cannot be empty");
|
|
1075
|
-
for (var t = e.split(
|
|
1148
|
+
for (var t = e.split(vr).filter(function(d) {
|
|
1076
1149
|
return d.length > 0;
|
|
1077
1150
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1078
|
-
var a = i[r],
|
|
1079
|
-
if (
|
|
1151
|
+
var a = i[r], o = a.split("/");
|
|
1152
|
+
if (o.length === 0)
|
|
1080
1153
|
throw new Error("Invalid number skeleton");
|
|
1081
|
-
for (var
|
|
1154
|
+
for (var s = o[0], u = o.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
1082
1155
|
var h = c[l];
|
|
1083
1156
|
if (h.length === 0)
|
|
1084
1157
|
throw new Error("Invalid number skeleton");
|
|
1085
1158
|
}
|
|
1086
|
-
n.push({ stem:
|
|
1159
|
+
n.push({ stem: s, options: u });
|
|
1087
1160
|
}
|
|
1088
1161
|
return n;
|
|
1089
1162
|
}
|
|
1090
|
-
function
|
|
1163
|
+
function _r(e) {
|
|
1091
1164
|
return e.replace(/^(.*?)-/, "");
|
|
1092
1165
|
}
|
|
1093
|
-
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tn = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1166
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tn = /^(@+)?(\+|#+)?[rs]?$/g, xr = /(\*)(0+)|(#+)(0+)|(0+)/g, nn = /^(0+)$/;
|
|
1094
1167
|
function ut(e) {
|
|
1095
1168
|
var t = {};
|
|
1096
1169
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tn, function(n, r, i) {
|
|
@@ -1137,7 +1210,7 @@ function rn(e) {
|
|
|
1137
1210
|
};
|
|
1138
1211
|
}
|
|
1139
1212
|
}
|
|
1140
|
-
function
|
|
1213
|
+
function kr(e) {
|
|
1141
1214
|
var t;
|
|
1142
1215
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1143
1216
|
notation: "engineering"
|
|
@@ -1155,7 +1228,7 @@ function ct(e) {
|
|
|
1155
1228
|
var t = {}, n = rn(e);
|
|
1156
1229
|
return n || t;
|
|
1157
1230
|
}
|
|
1158
|
-
function
|
|
1231
|
+
function Tr(e) {
|
|
1159
1232
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1160
1233
|
var i = r[n];
|
|
1161
1234
|
switch (i.stem) {
|
|
@@ -1179,7 +1252,7 @@ function xr(e) {
|
|
|
1179
1252
|
continue;
|
|
1180
1253
|
case "measure-unit":
|
|
1181
1254
|
case "unit":
|
|
1182
|
-
t.style = "unit", t.unit =
|
|
1255
|
+
t.style = "unit", t.unit = _r(i.options[0]);
|
|
1183
1256
|
continue;
|
|
1184
1257
|
case "compact-short":
|
|
1185
1258
|
case "K":
|
|
@@ -1241,7 +1314,7 @@ function xr(e) {
|
|
|
1241
1314
|
case "integer-width":
|
|
1242
1315
|
if (i.options.length > 1)
|
|
1243
1316
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1244
|
-
i.options[0].replace(
|
|
1317
|
+
i.options[0].replace(xr, function(u, l, c, h, d, f) {
|
|
1245
1318
|
if (l)
|
|
1246
1319
|
t.minimumIntegerDigits = c.length;
|
|
1247
1320
|
else {
|
|
@@ -1272,10 +1345,10 @@ function xr(e) {
|
|
|
1272
1345
|
t = x(x({}, t), ut(i.stem));
|
|
1273
1346
|
continue;
|
|
1274
1347
|
}
|
|
1275
|
-
var
|
|
1276
|
-
s && (t = x(x({}, t), s));
|
|
1277
|
-
var o = _r(i.stem);
|
|
1348
|
+
var o = rn(i.stem);
|
|
1278
1349
|
o && (t = x(x({}, t), o));
|
|
1350
|
+
var s = kr(i.stem);
|
|
1351
|
+
s && (t = x(x({}, t), s));
|
|
1279
1352
|
}
|
|
1280
1353
|
return t;
|
|
1281
1354
|
}
|
|
@@ -2694,23 +2767,23 @@ var ve = {
|
|
|
2694
2767
|
"h"
|
|
2695
2768
|
]
|
|
2696
2769
|
};
|
|
2697
|
-
function
|
|
2770
|
+
function wr(e, t) {
|
|
2698
2771
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2699
2772
|
var i = e.charAt(r);
|
|
2700
2773
|
if (i === "j") {
|
|
2701
2774
|
for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2702
2775
|
a++, r++;
|
|
2703
|
-
var
|
|
2704
|
-
for ((l == "H" || l == "k") && (
|
|
2776
|
+
var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = Ir(t);
|
|
2777
|
+
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2705
2778
|
n += u;
|
|
2706
|
-
for (;
|
|
2779
|
+
for (; o-- > 0; )
|
|
2707
2780
|
n = l + n;
|
|
2708
2781
|
} else
|
|
2709
2782
|
i === "J" ? n += "H" : n += i;
|
|
2710
2783
|
}
|
|
2711
2784
|
return n;
|
|
2712
2785
|
}
|
|
2713
|
-
function
|
|
2786
|
+
function Ir(e) {
|
|
2714
2787
|
var t = e.hourCycle;
|
|
2715
2788
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2716
2789
|
e.hourCycles && // @ts-ignore
|
|
@@ -2732,20 +2805,20 @@ function Tr(e) {
|
|
|
2732
2805
|
var i = ve[r || ""] || ve[n || ""] || ve["".concat(n, "-001")] || ve["001"];
|
|
2733
2806
|
return i[0];
|
|
2734
2807
|
}
|
|
2735
|
-
var
|
|
2808
|
+
var Ne, Ar = new RegExp("^".concat(en.source, "*")), Sr = new RegExp("".concat(en.source, "*$"));
|
|
2736
2809
|
function y(e, t) {
|
|
2737
2810
|
return { start: e, end: t };
|
|
2738
2811
|
}
|
|
2739
|
-
var
|
|
2812
|
+
var Cr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Br = !!String.fromCodePoint, Lr = !!Object.fromEntries, Hr = !!String.prototype.codePointAt, Mr = !!String.prototype.trimStart, Pr = !!String.prototype.trimEnd, Or = !!Number.isSafeInteger, Dr = Or ? Number.isSafeInteger : function(e) {
|
|
2740
2813
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2741
|
-
},
|
|
2814
|
+
}, Ve = !0;
|
|
2742
2815
|
try {
|
|
2743
|
-
var
|
|
2744
|
-
|
|
2816
|
+
var Nr = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2817
|
+
Ve = ((Ne = Nr.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
|
|
2745
2818
|
} catch {
|
|
2746
|
-
|
|
2819
|
+
Ve = !1;
|
|
2747
2820
|
}
|
|
2748
|
-
var ht =
|
|
2821
|
+
var ht = Cr ? (
|
|
2749
2822
|
// Native
|
|
2750
2823
|
function(t, n, r) {
|
|
2751
2824
|
return t.startsWith(n, r);
|
|
@@ -2755,31 +2828,31 @@ var ht = Ar ? (
|
|
|
2755
2828
|
function(t, n, r) {
|
|
2756
2829
|
return t.slice(r, r + n.length) === n;
|
|
2757
2830
|
}
|
|
2758
|
-
),
|
|
2831
|
+
), We = Br ? String.fromCodePoint : (
|
|
2759
2832
|
// IE11
|
|
2760
2833
|
function() {
|
|
2761
2834
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2762
2835
|
t[n] = arguments[n];
|
|
2763
|
-
for (var r = "", i = t.length, a = 0,
|
|
2764
|
-
if (
|
|
2765
|
-
throw RangeError(
|
|
2766
|
-
r +=
|
|
2836
|
+
for (var r = "", i = t.length, a = 0, o; i > a; ) {
|
|
2837
|
+
if (o = t[a++], o > 1114111)
|
|
2838
|
+
throw RangeError(o + " is not a valid code point");
|
|
2839
|
+
r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2767
2840
|
}
|
|
2768
2841
|
return r;
|
|
2769
2842
|
}
|
|
2770
2843
|
), dt = (
|
|
2771
2844
|
// native
|
|
2772
|
-
|
|
2845
|
+
Lr ? Object.fromEntries : (
|
|
2773
2846
|
// Ponyfill
|
|
2774
2847
|
function(t) {
|
|
2775
2848
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2776
|
-
var a = i[r],
|
|
2777
|
-
n[
|
|
2849
|
+
var a = i[r], o = a[0], s = a[1];
|
|
2850
|
+
n[o] = s;
|
|
2778
2851
|
}
|
|
2779
2852
|
return n;
|
|
2780
2853
|
}
|
|
2781
2854
|
)
|
|
2782
|
-
), an =
|
|
2855
|
+
), an = Hr ? (
|
|
2783
2856
|
// Native
|
|
2784
2857
|
function(t, n) {
|
|
2785
2858
|
return t.codePointAt(n);
|
|
@@ -2793,7 +2866,7 @@ var ht = Ar ? (
|
|
|
2793
2866
|
return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2794
2867
|
}
|
|
2795
2868
|
}
|
|
2796
|
-
),
|
|
2869
|
+
), zr = Mr ? (
|
|
2797
2870
|
// Native
|
|
2798
2871
|
function(t) {
|
|
2799
2872
|
return t.trimStart();
|
|
@@ -2801,9 +2874,9 @@ var ht = Ar ? (
|
|
|
2801
2874
|
) : (
|
|
2802
2875
|
// Ponyfill
|
|
2803
2876
|
function(t) {
|
|
2804
|
-
return t.replace(
|
|
2877
|
+
return t.replace(Ar, "");
|
|
2805
2878
|
}
|
|
2806
|
-
),
|
|
2879
|
+
), Rr = Pr ? (
|
|
2807
2880
|
// Native
|
|
2808
2881
|
function(t) {
|
|
2809
2882
|
return t.trimEnd();
|
|
@@ -2811,32 +2884,32 @@ var ht = Ar ? (
|
|
|
2811
2884
|
) : (
|
|
2812
2885
|
// Ponyfill
|
|
2813
2886
|
function(t) {
|
|
2814
|
-
return t.replace(
|
|
2887
|
+
return t.replace(Sr, "");
|
|
2815
2888
|
}
|
|
2816
2889
|
);
|
|
2817
2890
|
function sn(e, t) {
|
|
2818
2891
|
return new RegExp(e, t);
|
|
2819
2892
|
}
|
|
2820
|
-
var
|
|
2821
|
-
if (
|
|
2893
|
+
var qe;
|
|
2894
|
+
if (Ve) {
|
|
2822
2895
|
var mt = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2823
|
-
|
|
2896
|
+
qe = function(t, n) {
|
|
2824
2897
|
var r;
|
|
2825
2898
|
mt.lastIndex = n;
|
|
2826
2899
|
var i = mt.exec(t);
|
|
2827
2900
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2828
2901
|
};
|
|
2829
2902
|
} else
|
|
2830
|
-
|
|
2903
|
+
qe = function(t, n) {
|
|
2831
2904
|
for (var r = []; ; ) {
|
|
2832
2905
|
var i = an(t, n);
|
|
2833
|
-
if (i === void 0 || on(i) ||
|
|
2906
|
+
if (i === void 0 || on(i) || $r(i))
|
|
2834
2907
|
break;
|
|
2835
2908
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2836
2909
|
}
|
|
2837
|
-
return
|
|
2910
|
+
return We.apply(void 0, r);
|
|
2838
2911
|
};
|
|
2839
|
-
var
|
|
2912
|
+
var Ur = (
|
|
2840
2913
|
/** @class */
|
|
2841
2914
|
function() {
|
|
2842
2915
|
function e(t, n) {
|
|
@@ -2850,33 +2923,33 @@ var Rr = (
|
|
|
2850
2923
|
for (var i = []; !this.isEOF(); ) {
|
|
2851
2924
|
var a = this.char();
|
|
2852
2925
|
if (a === 123) {
|
|
2853
|
-
var
|
|
2854
|
-
if (
|
|
2855
|
-
return
|
|
2856
|
-
i.push(
|
|
2926
|
+
var o = this.parseArgument(t, r);
|
|
2927
|
+
if (o.err)
|
|
2928
|
+
return o;
|
|
2929
|
+
i.push(o.val);
|
|
2857
2930
|
} else {
|
|
2858
2931
|
if (a === 125 && t > 0)
|
|
2859
2932
|
break;
|
|
2860
2933
|
if (a === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2861
|
-
var
|
|
2934
|
+
var s = this.clonePosition();
|
|
2862
2935
|
this.bump(), i.push({
|
|
2863
2936
|
type: _.pound,
|
|
2864
|
-
location: y(
|
|
2937
|
+
location: y(s, this.clonePosition())
|
|
2865
2938
|
});
|
|
2866
2939
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2867
2940
|
if (r)
|
|
2868
2941
|
break;
|
|
2869
2942
|
return this.error(p.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2870
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
2871
|
-
var
|
|
2872
|
-
if (
|
|
2873
|
-
return
|
|
2874
|
-
i.push(
|
|
2943
|
+
} else if (a === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
2944
|
+
var o = this.parseTag(t, n);
|
|
2945
|
+
if (o.err)
|
|
2946
|
+
return o;
|
|
2947
|
+
i.push(o.val);
|
|
2875
2948
|
} else {
|
|
2876
|
-
var
|
|
2877
|
-
if (
|
|
2878
|
-
return
|
|
2879
|
-
i.push(
|
|
2949
|
+
var o = this.parseLiteral(t, n);
|
|
2950
|
+
if (o.err)
|
|
2951
|
+
return o;
|
|
2952
|
+
i.push(o.val);
|
|
2880
2953
|
}
|
|
2881
2954
|
}
|
|
2882
2955
|
}
|
|
@@ -2898,27 +2971,27 @@ var Rr = (
|
|
|
2898
2971
|
var a = this.parseMessage(t + 1, n, !0);
|
|
2899
2972
|
if (a.err)
|
|
2900
2973
|
return a;
|
|
2901
|
-
var
|
|
2974
|
+
var o = a.val, s = this.clonePosition();
|
|
2902
2975
|
if (this.bumpIf("</")) {
|
|
2903
|
-
if (this.isEOF() || !
|
|
2904
|
-
return this.error(p.INVALID_TAG, y(
|
|
2976
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
2977
|
+
return this.error(p.INVALID_TAG, y(s, this.clonePosition()));
|
|
2905
2978
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2906
2979
|
return i !== l ? this.error(p.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2907
2980
|
val: {
|
|
2908
2981
|
type: _.tag,
|
|
2909
2982
|
value: i,
|
|
2910
|
-
children:
|
|
2983
|
+
children: o,
|
|
2911
2984
|
location: y(r, this.clonePosition())
|
|
2912
2985
|
},
|
|
2913
2986
|
err: null
|
|
2914
|
-
} : this.error(p.INVALID_TAG, y(
|
|
2987
|
+
} : this.error(p.INVALID_TAG, y(s, this.clonePosition())));
|
|
2915
2988
|
} else
|
|
2916
2989
|
return this.error(p.UNCLOSED_TAG, y(r, this.clonePosition()));
|
|
2917
2990
|
} else
|
|
2918
2991
|
return this.error(p.INVALID_TAG, y(r, this.clonePosition()));
|
|
2919
2992
|
}, e.prototype.parseTagName = function() {
|
|
2920
2993
|
var t = this.offset();
|
|
2921
|
-
for (this.bump(); !this.isEOF() &&
|
|
2994
|
+
for (this.bump(); !this.isEOF() && Gr(this.char()); )
|
|
2922
2995
|
this.bump();
|
|
2923
2996
|
return this.message.slice(t, this.offset());
|
|
2924
2997
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2928,16 +3001,16 @@ var Rr = (
|
|
|
2928
3001
|
i += a;
|
|
2929
3002
|
continue;
|
|
2930
3003
|
}
|
|
2931
|
-
var
|
|
2932
|
-
if (s) {
|
|
2933
|
-
i += s;
|
|
2934
|
-
continue;
|
|
2935
|
-
}
|
|
2936
|
-
var o = this.tryParseLeftAngleBracket();
|
|
3004
|
+
var o = this.tryParseUnquoted(t, n);
|
|
2937
3005
|
if (o) {
|
|
2938
3006
|
i += o;
|
|
2939
3007
|
continue;
|
|
2940
3008
|
}
|
|
3009
|
+
var s = this.tryParseLeftAngleBracket();
|
|
3010
|
+
if (s) {
|
|
3011
|
+
i += s;
|
|
3012
|
+
continue;
|
|
3013
|
+
}
|
|
2941
3014
|
break;
|
|
2942
3015
|
}
|
|
2943
3016
|
var u = y(r, this.clonePosition());
|
|
@@ -2947,7 +3020,7 @@ var Rr = (
|
|
|
2947
3020
|
};
|
|
2948
3021
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2949
3022
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2950
|
-
!
|
|
3023
|
+
!Fr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2951
3024
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2952
3025
|
if (this.isEOF() || this.char() !== 39)
|
|
2953
3026
|
return null;
|
|
@@ -2981,12 +3054,12 @@ var Rr = (
|
|
|
2981
3054
|
n.push(r);
|
|
2982
3055
|
this.bump();
|
|
2983
3056
|
}
|
|
2984
|
-
return
|
|
3057
|
+
return We.apply(void 0, n);
|
|
2985
3058
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2986
3059
|
if (this.isEOF())
|
|
2987
3060
|
return null;
|
|
2988
3061
|
var r = this.char();
|
|
2989
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
3062
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), We(r));
|
|
2990
3063
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2991
3064
|
var r = this.clonePosition();
|
|
2992
3065
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3015,15 +3088,15 @@ var Rr = (
|
|
|
3015
3088
|
return this.error(p.MALFORMED_ARGUMENT, y(r, this.clonePosition()));
|
|
3016
3089
|
}
|
|
3017
3090
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3018
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
3091
|
+
var t = this.clonePosition(), n = this.offset(), r = qe(this.message, n), i = n + r.length;
|
|
3019
3092
|
this.bumpTo(i);
|
|
3020
|
-
var a = this.clonePosition(),
|
|
3021
|
-
return { value: r, location:
|
|
3093
|
+
var a = this.clonePosition(), o = y(t, a);
|
|
3094
|
+
return { value: r, location: o };
|
|
3022
3095
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3023
|
-
var a,
|
|
3024
|
-
switch (
|
|
3096
|
+
var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3097
|
+
switch (s) {
|
|
3025
3098
|
case "":
|
|
3026
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE, y(
|
|
3099
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, y(o, u));
|
|
3027
3100
|
case "number":
|
|
3028
3101
|
case "date":
|
|
3029
3102
|
case "time": {
|
|
@@ -3034,7 +3107,7 @@ var Rr = (
|
|
|
3034
3107
|
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3035
3108
|
if (h.err)
|
|
3036
3109
|
return h;
|
|
3037
|
-
var d =
|
|
3110
|
+
var d = Rr(h.val);
|
|
3038
3111
|
if (d.length === 0)
|
|
3039
3112
|
return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3040
3113
|
var f = y(c, this.clonePosition());
|
|
@@ -3045,8 +3118,8 @@ var Rr = (
|
|
|
3045
3118
|
return g;
|
|
3046
3119
|
var k = y(i, this.clonePosition());
|
|
3047
3120
|
if (l && ht(l?.style, "::", 0)) {
|
|
3048
|
-
var E =
|
|
3049
|
-
if (
|
|
3121
|
+
var E = zr(l.style.slice(2));
|
|
3122
|
+
if (s === "number") {
|
|
3050
3123
|
var h = this.parseNumberSkeletonFromString(E, l.styleLocation);
|
|
3051
3124
|
return h.err ? h : {
|
|
3052
3125
|
val: { type: _.number, value: r, location: k, style: h.val },
|
|
@@ -3056,13 +3129,13 @@ var Rr = (
|
|
|
3056
3129
|
if (E.length === 0)
|
|
3057
3130
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, k);
|
|
3058
3131
|
var m = E;
|
|
3059
|
-
this.locale && (m =
|
|
3132
|
+
this.locale && (m = wr(E, this.locale));
|
|
3060
3133
|
var d = {
|
|
3061
3134
|
type: Q.dateTime,
|
|
3062
3135
|
pattern: m,
|
|
3063
3136
|
location: l.styleLocation,
|
|
3064
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3065
|
-
}, v =
|
|
3137
|
+
parsedOptions: this.shouldParseSkeletons ? yr(m) : {}
|
|
3138
|
+
}, v = s === "date" ? _.date : _.time;
|
|
3066
3139
|
return {
|
|
3067
3140
|
val: { type: v, value: r, location: k, style: d },
|
|
3068
3141
|
err: null
|
|
@@ -3071,7 +3144,7 @@ var Rr = (
|
|
|
3071
3144
|
}
|
|
3072
3145
|
return {
|
|
3073
3146
|
val: {
|
|
3074
|
-
type:
|
|
3147
|
+
type: s === "number" ? _.number : s === "date" ? _.date : _.time,
|
|
3075
3148
|
value: r,
|
|
3076
3149
|
location: k,
|
|
3077
3150
|
style: (a = l?.style) !== null && a !== void 0 ? a : null
|
|
@@ -3087,7 +3160,7 @@ var Rr = (
|
|
|
3087
3160
|
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, Te({}, A)));
|
|
3088
3161
|
this.bumpSpace();
|
|
3089
3162
|
var U = this.parseIdentifierIfPossible(), O = 0;
|
|
3090
|
-
if (
|
|
3163
|
+
if (s !== "select" && U.value === "offset") {
|
|
3091
3164
|
if (!this.bumpIf(":"))
|
|
3092
3165
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3093
3166
|
this.bumpSpace();
|
|
@@ -3096,14 +3169,14 @@ var Rr = (
|
|
|
3096
3169
|
return h;
|
|
3097
3170
|
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = h.val;
|
|
3098
3171
|
}
|
|
3099
|
-
var j = this.tryParsePluralOrSelectOptions(t,
|
|
3172
|
+
var j = this.tryParsePluralOrSelectOptions(t, s, n, U);
|
|
3100
3173
|
if (j.err)
|
|
3101
3174
|
return j;
|
|
3102
3175
|
var g = this.tryParseArgumentClose(i);
|
|
3103
3176
|
if (g.err)
|
|
3104
3177
|
return g;
|
|
3105
3178
|
var ae = y(i, this.clonePosition());
|
|
3106
|
-
return
|
|
3179
|
+
return s === "select" ? {
|
|
3107
3180
|
val: {
|
|
3108
3181
|
type: _.select,
|
|
3109
3182
|
value: r,
|
|
@@ -3117,14 +3190,14 @@ var Rr = (
|
|
|
3117
3190
|
value: r,
|
|
3118
3191
|
options: dt(j.val),
|
|
3119
3192
|
offset: O,
|
|
3120
|
-
pluralType:
|
|
3193
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3121
3194
|
location: ae
|
|
3122
3195
|
},
|
|
3123
3196
|
err: null
|
|
3124
3197
|
};
|
|
3125
3198
|
}
|
|
3126
3199
|
default:
|
|
3127
|
-
return this.error(p.INVALID_ARGUMENT_TYPE, y(
|
|
3200
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, y(o, u));
|
|
3128
3201
|
}
|
|
3129
3202
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3130
3203
|
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3166,7 +3239,7 @@ var Rr = (
|
|
|
3166
3239
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3167
3240
|
var r = [];
|
|
3168
3241
|
try {
|
|
3169
|
-
r =
|
|
3242
|
+
r = Er(t);
|
|
3170
3243
|
} catch {
|
|
3171
3244
|
return this.error(p.INVALID_NUMBER_SKELETON, n);
|
|
3172
3245
|
}
|
|
@@ -3175,12 +3248,12 @@ var Rr = (
|
|
|
3175
3248
|
type: Q.number,
|
|
3176
3249
|
tokens: r,
|
|
3177
3250
|
location: n,
|
|
3178
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3251
|
+
parsedOptions: this.shouldParseSkeletons ? Tr(r) : {}
|
|
3179
3252
|
},
|
|
3180
3253
|
err: null
|
|
3181
3254
|
};
|
|
3182
3255
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3183
|
-
for (var a,
|
|
3256
|
+
for (var a, o = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
|
3184
3257
|
if (l.length === 0) {
|
|
3185
3258
|
var h = this.clonePosition();
|
|
3186
3259
|
if (n !== "select" && this.bumpIf("=")) {
|
|
@@ -3193,7 +3266,7 @@ var Rr = (
|
|
|
3193
3266
|
}
|
|
3194
3267
|
if (u.has(l))
|
|
3195
3268
|
return this.error(n === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3196
|
-
l === "other" && (
|
|
3269
|
+
l === "other" && (o = !0), this.bumpSpace();
|
|
3197
3270
|
var f = this.clonePosition();
|
|
3198
3271
|
if (!this.bumpIf("{"))
|
|
3199
3272
|
return this.error(n === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -3203,7 +3276,7 @@ var Rr = (
|
|
|
3203
3276
|
var k = this.tryParseArgumentClose(f);
|
|
3204
3277
|
if (k.err)
|
|
3205
3278
|
return k;
|
|
3206
|
-
|
|
3279
|
+
s.push([
|
|
3207
3280
|
l,
|
|
3208
3281
|
{
|
|
3209
3282
|
value: g.val,
|
|
@@ -3211,19 +3284,19 @@ var Rr = (
|
|
|
3211
3284
|
}
|
|
3212
3285
|
]), u.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, c = a.location;
|
|
3213
3286
|
}
|
|
3214
|
-
return
|
|
3287
|
+
return s.length === 0 ? this.error(n === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3215
3288
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3216
3289
|
var r = 1, i = this.clonePosition();
|
|
3217
3290
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3218
|
-
for (var a = !1,
|
|
3219
|
-
var
|
|
3220
|
-
if (
|
|
3221
|
-
a = !0,
|
|
3291
|
+
for (var a = !1, o = 0; !this.isEOF(); ) {
|
|
3292
|
+
var s = this.char();
|
|
3293
|
+
if (s >= 48 && s <= 57)
|
|
3294
|
+
a = !0, o = o * 10 + (s - 48), this.bump();
|
|
3222
3295
|
else
|
|
3223
3296
|
break;
|
|
3224
3297
|
}
|
|
3225
3298
|
var u = y(i, this.clonePosition());
|
|
3226
|
-
return a ? (
|
|
3299
|
+
return a ? (o *= r, Dr(o) ? { val: o, err: null } : this.error(n, u)) : this.error(t, u);
|
|
3227
3300
|
}, e.prototype.offset = function() {
|
|
3228
3301
|
return this.position.offset;
|
|
3229
3302
|
}, e.prototype.isEOF = function() {
|
|
@@ -3289,47 +3362,47 @@ var Rr = (
|
|
|
3289
3362
|
}, e;
|
|
3290
3363
|
}()
|
|
3291
3364
|
);
|
|
3292
|
-
function
|
|
3365
|
+
function Xe(e) {
|
|
3293
3366
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3294
3367
|
}
|
|
3295
|
-
function
|
|
3296
|
-
return
|
|
3368
|
+
function Fr(e) {
|
|
3369
|
+
return Xe(e) || e === 47;
|
|
3297
3370
|
}
|
|
3298
|
-
function
|
|
3371
|
+
function Gr(e) {
|
|
3299
3372
|
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;
|
|
3300
3373
|
}
|
|
3301
3374
|
function on(e) {
|
|
3302
3375
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3303
3376
|
}
|
|
3304
|
-
function
|
|
3377
|
+
function $r(e) {
|
|
3305
3378
|
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;
|
|
3306
3379
|
}
|
|
3307
|
-
function
|
|
3380
|
+
function Ze(e) {
|
|
3308
3381
|
e.forEach(function(t) {
|
|
3309
3382
|
if (delete t.location, Jt(t) || Kt(t))
|
|
3310
3383
|
for (var n in t.options)
|
|
3311
|
-
delete t.options[n].location,
|
|
3384
|
+
delete t.options[n].location, Ze(t.options[n].value);
|
|
3312
3385
|
else
|
|
3313
|
-
qt(t) && Qt(t.style) || (Xt(t) || Zt(t)) &&
|
|
3386
|
+
qt(t) && Qt(t.style) || (Xt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Yt(t) && Ze(t.children);
|
|
3314
3387
|
});
|
|
3315
3388
|
}
|
|
3316
|
-
function
|
|
3389
|
+
function jr(e, t) {
|
|
3317
3390
|
t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3318
|
-
var n = new
|
|
3391
|
+
var n = new Ur(e, t).parse();
|
|
3319
3392
|
if (n.err) {
|
|
3320
3393
|
var r = SyntaxError(p[n.err.kind]);
|
|
3321
3394
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3322
3395
|
}
|
|
3323
|
-
return t?.captureLocation ||
|
|
3396
|
+
return t?.captureLocation || Ze(n.val), n.val;
|
|
3324
3397
|
}
|
|
3325
3398
|
var ee;
|
|
3326
3399
|
(function(e) {
|
|
3327
3400
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3328
3401
|
})(ee || (ee = {}));
|
|
3329
|
-
var
|
|
3402
|
+
var Le = (
|
|
3330
3403
|
/** @class */
|
|
3331
3404
|
function(e) {
|
|
3332
|
-
|
|
3405
|
+
Be(t, e);
|
|
3333
3406
|
function t(n, r, i) {
|
|
3334
3407
|
var a = e.call(this, n) || this;
|
|
3335
3408
|
return a.code = r, a.originalMessage = i, a;
|
|
@@ -3341,44 +3414,44 @@ var Be = (
|
|
|
3341
3414
|
), ft = (
|
|
3342
3415
|
/** @class */
|
|
3343
3416
|
function(e) {
|
|
3344
|
-
|
|
3417
|
+
Be(t, e);
|
|
3345
3418
|
function t(n, r, i, a) {
|
|
3346
3419
|
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, a) || this;
|
|
3347
3420
|
}
|
|
3348
3421
|
return t;
|
|
3349
|
-
}(
|
|
3350
|
-
),
|
|
3422
|
+
}(Le)
|
|
3423
|
+
), Vr = (
|
|
3351
3424
|
/** @class */
|
|
3352
3425
|
function(e) {
|
|
3353
|
-
|
|
3426
|
+
Be(t, e);
|
|
3354
3427
|
function t(n, r, i) {
|
|
3355
3428
|
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ee.INVALID_VALUE, i) || this;
|
|
3356
3429
|
}
|
|
3357
3430
|
return t;
|
|
3358
|
-
}(
|
|
3359
|
-
),
|
|
3431
|
+
}(Le)
|
|
3432
|
+
), Wr = (
|
|
3360
3433
|
/** @class */
|
|
3361
3434
|
function(e) {
|
|
3362
|
-
|
|
3435
|
+
Be(t, e);
|
|
3363
3436
|
function t(n, r) {
|
|
3364
3437
|
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ee.MISSING_VALUE, r) || this;
|
|
3365
3438
|
}
|
|
3366
3439
|
return t;
|
|
3367
|
-
}(
|
|
3440
|
+
}(Le)
|
|
3368
3441
|
), S;
|
|
3369
3442
|
(function(e) {
|
|
3370
3443
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3371
3444
|
})(S || (S = {}));
|
|
3372
|
-
function
|
|
3445
|
+
function qr(e) {
|
|
3373
3446
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3374
3447
|
var r = t[t.length - 1];
|
|
3375
3448
|
return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
|
|
3376
3449
|
}, []);
|
|
3377
3450
|
}
|
|
3378
|
-
function
|
|
3451
|
+
function Xr(e) {
|
|
3379
3452
|
return typeof e == "function";
|
|
3380
3453
|
}
|
|
3381
|
-
function xe(e, t, n, r, i, a,
|
|
3454
|
+
function xe(e, t, n, r, i, a, o) {
|
|
3382
3455
|
if (e.length === 1 && ot(e[0]))
|
|
3383
3456
|
return [
|
|
3384
3457
|
{
|
|
@@ -3386,17 +3459,17 @@ function xe(e, t, n, r, i, a, s) {
|
|
|
3386
3459
|
value: e[0].value
|
|
3387
3460
|
}
|
|
3388
3461
|
];
|
|
3389
|
-
for (var
|
|
3462
|
+
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3390
3463
|
var c = l[u];
|
|
3391
3464
|
if (ot(c)) {
|
|
3392
|
-
|
|
3465
|
+
s.push({
|
|
3393
3466
|
type: S.literal,
|
|
3394
3467
|
value: c.value
|
|
3395
3468
|
});
|
|
3396
3469
|
continue;
|
|
3397
3470
|
}
|
|
3398
|
-
if (
|
|
3399
|
-
typeof a == "number" &&
|
|
3471
|
+
if (pr(c)) {
|
|
3472
|
+
typeof a == "number" && s.push({
|
|
3400
3473
|
type: S.literal,
|
|
3401
3474
|
value: n.getNumberFormat(t).format(a)
|
|
3402
3475
|
});
|
|
@@ -3404,26 +3477,26 @@ function xe(e, t, n, r, i, a, s) {
|
|
|
3404
3477
|
}
|
|
3405
3478
|
var h = c.value;
|
|
3406
3479
|
if (!(i && h in i))
|
|
3407
|
-
throw new
|
|
3480
|
+
throw new Wr(h, o);
|
|
3408
3481
|
var d = i[h];
|
|
3409
|
-
if (
|
|
3410
|
-
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""),
|
|
3482
|
+
if (gr(c)) {
|
|
3483
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
|
|
3411
3484
|
type: typeof d == "string" ? S.literal : S.object,
|
|
3412
3485
|
value: d
|
|
3413
3486
|
});
|
|
3414
3487
|
continue;
|
|
3415
3488
|
}
|
|
3416
3489
|
if (Xt(c)) {
|
|
3417
|
-
var f = typeof c.style == "string" ? r.date[c.style] :
|
|
3418
|
-
|
|
3490
|
+
var f = typeof c.style == "string" ? r.date[c.style] : je(c.style) ? c.style.parsedOptions : void 0;
|
|
3491
|
+
s.push({
|
|
3419
3492
|
type: S.literal,
|
|
3420
3493
|
value: n.getDateTimeFormat(t, f).format(d)
|
|
3421
3494
|
});
|
|
3422
3495
|
continue;
|
|
3423
3496
|
}
|
|
3424
3497
|
if (Zt(c)) {
|
|
3425
|
-
var f = typeof c.style == "string" ? r.time[c.style] :
|
|
3426
|
-
|
|
3498
|
+
var f = typeof c.style == "string" ? r.time[c.style] : je(c.style) ? c.style.parsedOptions : r.time.medium;
|
|
3499
|
+
s.push({
|
|
3427
3500
|
type: S.literal,
|
|
3428
3501
|
value: n.getDateTimeFormat(t, f).format(d)
|
|
3429
3502
|
});
|
|
@@ -3431,7 +3504,7 @@ function xe(e, t, n, r, i, a, s) {
|
|
|
3431
3504
|
}
|
|
3432
3505
|
if (qt(c)) {
|
|
3433
3506
|
var f = typeof c.style == "string" ? r.number[c.style] : Qt(c.style) ? c.style.parsedOptions : void 0;
|
|
3434
|
-
f && f.scale && (d = d * (f.scale || 1)),
|
|
3507
|
+
f && f.scale && (d = d * (f.scale || 1)), s.push({
|
|
3435
3508
|
type: S.literal,
|
|
3436
3509
|
value: n.getNumberFormat(t, f).format(d)
|
|
3437
3510
|
});
|
|
@@ -3439,12 +3512,12 @@ function xe(e, t, n, r, i, a, s) {
|
|
|
3439
3512
|
}
|
|
3440
3513
|
if (Yt(c)) {
|
|
3441
3514
|
var g = c.children, k = c.value, E = i[k];
|
|
3442
|
-
if (!
|
|
3443
|
-
throw new
|
|
3515
|
+
if (!Xr(E))
|
|
3516
|
+
throw new Vr(k, "function", o);
|
|
3444
3517
|
var m = xe(g, t, n, r, i, a), v = E(m.map(function(O) {
|
|
3445
3518
|
return O.value;
|
|
3446
3519
|
}));
|
|
3447
|
-
Array.isArray(v) || (v = [v]),
|
|
3520
|
+
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(O) {
|
|
3448
3521
|
return {
|
|
3449
3522
|
type: typeof O == "string" ? S.literal : S.object,
|
|
3450
3523
|
value: O
|
|
@@ -3454,39 +3527,39 @@ function xe(e, t, n, r, i, a, s) {
|
|
|
3454
3527
|
if (Jt(c)) {
|
|
3455
3528
|
var A = c.options[d] || c.options.other;
|
|
3456
3529
|
if (!A)
|
|
3457
|
-
throw new ft(c.value, d, Object.keys(c.options),
|
|
3458
|
-
|
|
3530
|
+
throw new ft(c.value, d, Object.keys(c.options), o);
|
|
3531
|
+
s.push.apply(s, xe(A.value, t, n, r, i));
|
|
3459
3532
|
continue;
|
|
3460
3533
|
}
|
|
3461
3534
|
if (Kt(c)) {
|
|
3462
3535
|
var A = c.options["=".concat(d)];
|
|
3463
3536
|
if (!A) {
|
|
3464
3537
|
if (!Intl.PluralRules)
|
|
3465
|
-
throw new
|
|
3538
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3466
3539
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3467
|
-
`, ee.MISSING_INTL_API,
|
|
3540
|
+
`, ee.MISSING_INTL_API, o);
|
|
3468
3541
|
var U = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3469
3542
|
A = c.options[U] || c.options.other;
|
|
3470
3543
|
}
|
|
3471
3544
|
if (!A)
|
|
3472
|
-
throw new ft(c.value, d, Object.keys(c.options),
|
|
3473
|
-
|
|
3545
|
+
throw new ft(c.value, d, Object.keys(c.options), o);
|
|
3546
|
+
s.push.apply(s, xe(A.value, t, n, r, i, d - (c.offset || 0)));
|
|
3474
3547
|
continue;
|
|
3475
3548
|
}
|
|
3476
3549
|
}
|
|
3477
|
-
return
|
|
3550
|
+
return qr(s);
|
|
3478
3551
|
}
|
|
3479
|
-
function
|
|
3552
|
+
function Zr(e, t) {
|
|
3480
3553
|
return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3481
3554
|
return n[r] = P(P({}, e[r]), t[r] || {}), n;
|
|
3482
3555
|
}, {})) : e;
|
|
3483
3556
|
}
|
|
3484
|
-
function
|
|
3557
|
+
function Jr(e, t) {
|
|
3485
3558
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3486
|
-
return n[r] =
|
|
3559
|
+
return n[r] = Zr(e[r], t[r]), n;
|
|
3487
3560
|
}, P({}, e)) : e;
|
|
3488
3561
|
}
|
|
3489
|
-
function
|
|
3562
|
+
function ze(e) {
|
|
3490
3563
|
return {
|
|
3491
3564
|
create: function() {
|
|
3492
3565
|
return {
|
|
@@ -3500,35 +3573,35 @@ function Ne(e) {
|
|
|
3500
3573
|
}
|
|
3501
3574
|
};
|
|
3502
3575
|
}
|
|
3503
|
-
function
|
|
3576
|
+
function Kr(e) {
|
|
3504
3577
|
return e === void 0 && (e = {
|
|
3505
3578
|
number: {},
|
|
3506
3579
|
dateTime: {},
|
|
3507
3580
|
pluralRules: {}
|
|
3508
3581
|
}), {
|
|
3509
|
-
getNumberFormat:
|
|
3582
|
+
getNumberFormat: Oe(function() {
|
|
3510
3583
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3511
3584
|
n[r] = arguments[r];
|
|
3512
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3585
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], n, !1)))();
|
|
3513
3586
|
}, {
|
|
3514
|
-
cache:
|
|
3515
|
-
strategy:
|
|
3587
|
+
cache: ze(e.number),
|
|
3588
|
+
strategy: De.variadic
|
|
3516
3589
|
}),
|
|
3517
|
-
getDateTimeFormat:
|
|
3590
|
+
getDateTimeFormat: Oe(function() {
|
|
3518
3591
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3519
3592
|
n[r] = arguments[r];
|
|
3520
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3593
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], n, !1)))();
|
|
3521
3594
|
}, {
|
|
3522
|
-
cache:
|
|
3523
|
-
strategy:
|
|
3595
|
+
cache: ze(e.dateTime),
|
|
3596
|
+
strategy: De.variadic
|
|
3524
3597
|
}),
|
|
3525
|
-
getPluralRules:
|
|
3598
|
+
getPluralRules: Oe(function() {
|
|
3526
3599
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3527
3600
|
n[r] = arguments[r];
|
|
3528
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3601
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], n, !1)))();
|
|
3529
3602
|
}, {
|
|
3530
|
-
cache:
|
|
3531
|
-
strategy:
|
|
3603
|
+
cache: ze(e.pluralRules),
|
|
3604
|
+
strategy: De.variadic
|
|
3532
3605
|
})
|
|
3533
3606
|
};
|
|
3534
3607
|
}
|
|
@@ -3562,15 +3635,15 @@ var ln = (
|
|
|
3562
3635
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3563
3636
|
if (this.message = t, !e.__parse)
|
|
3564
3637
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3565
|
-
var
|
|
3566
|
-
|
|
3567
|
-
var
|
|
3568
|
-
this.ast = e.__parse(t, P(P({},
|
|
3638
|
+
var o = i || {};
|
|
3639
|
+
o.formatters;
|
|
3640
|
+
var s = or(o, ["formatters"]);
|
|
3641
|
+
this.ast = e.__parse(t, P(P({}, s), { locale: this.resolvedLocale }));
|
|
3569
3642
|
} else
|
|
3570
3643
|
this.ast = t;
|
|
3571
3644
|
if (!Array.isArray(this.ast))
|
|
3572
3645
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3573
|
-
this.formats =
|
|
3646
|
+
this.formats = Jr(e.formats, r), this.formatters = i && i.formatters || Kr(this.formatterCache);
|
|
3574
3647
|
}
|
|
3575
3648
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3576
3649
|
get: function() {
|
|
@@ -3583,7 +3656,7 @@ var ln = (
|
|
|
3583
3656
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3584
3657
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3585
3658
|
}
|
|
3586
|
-
}, e.__parse =
|
|
3659
|
+
}, e.__parse = jr, e.formats = {
|
|
3587
3660
|
number: {
|
|
3588
3661
|
integer: {
|
|
3589
3662
|
maximumFractionDigits: 0
|
|
@@ -3644,7 +3717,7 @@ var ln = (
|
|
|
3644
3717
|
}, e;
|
|
3645
3718
|
}()
|
|
3646
3719
|
);
|
|
3647
|
-
function
|
|
3720
|
+
function Yr(e, t) {
|
|
3648
3721
|
if (t == null)
|
|
3649
3722
|
return;
|
|
3650
3723
|
if (t in e)
|
|
@@ -3665,33 +3738,33 @@ function Jr(e, t) {
|
|
|
3665
3738
|
r = void 0;
|
|
3666
3739
|
return r;
|
|
3667
3740
|
}
|
|
3668
|
-
const N = {},
|
|
3741
|
+
const N = {}, Qr = (e, t, n) => n && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = n), n), un = (e, t) => {
|
|
3669
3742
|
if (t == null)
|
|
3670
3743
|
return;
|
|
3671
3744
|
if (t in N && e in N[t])
|
|
3672
3745
|
return N[t][e];
|
|
3673
3746
|
const n = me(t);
|
|
3674
3747
|
for (let r = 0; r < n.length; r++) {
|
|
3675
|
-
const i = n[r], a =
|
|
3748
|
+
const i = n[r], a = ti(i, e);
|
|
3676
3749
|
if (a)
|
|
3677
|
-
return
|
|
3750
|
+
return Qr(e, t, a);
|
|
3678
3751
|
}
|
|
3679
3752
|
};
|
|
3680
3753
|
let Qe;
|
|
3681
|
-
const de =
|
|
3682
|
-
function
|
|
3754
|
+
const de = Ce({});
|
|
3755
|
+
function ei(e) {
|
|
3683
3756
|
return Qe[e] || null;
|
|
3684
3757
|
}
|
|
3685
3758
|
function cn(e) {
|
|
3686
3759
|
return e in Qe;
|
|
3687
3760
|
}
|
|
3688
|
-
function
|
|
3761
|
+
function ti(e, t) {
|
|
3689
3762
|
if (!cn(e))
|
|
3690
3763
|
return null;
|
|
3691
|
-
const n =
|
|
3692
|
-
return
|
|
3764
|
+
const n = ei(e);
|
|
3765
|
+
return Yr(n, t);
|
|
3693
3766
|
}
|
|
3694
|
-
function
|
|
3767
|
+
function ni(e) {
|
|
3695
3768
|
if (e == null)
|
|
3696
3769
|
return;
|
|
3697
3770
|
const t = me(e);
|
|
@@ -3702,7 +3775,7 @@ function ei(e) {
|
|
|
3702
3775
|
}
|
|
3703
3776
|
}
|
|
3704
3777
|
function hn(e, ...t) {
|
|
3705
|
-
delete N[e], de.update((n) => (n[e] =
|
|
3778
|
+
delete N[e], de.update((n) => (n[e] = sr.all([n[e] || {}, ...t]), n));
|
|
3706
3779
|
}
|
|
3707
3780
|
re(
|
|
3708
3781
|
[de],
|
|
@@ -3710,13 +3783,13 @@ re(
|
|
|
3710
3783
|
);
|
|
3711
3784
|
de.subscribe((e) => Qe = e);
|
|
3712
3785
|
const ke = {};
|
|
3713
|
-
function
|
|
3786
|
+
function ri(e, t) {
|
|
3714
3787
|
ke[e].delete(t), ke[e].size === 0 && delete ke[e];
|
|
3715
3788
|
}
|
|
3716
3789
|
function dn(e) {
|
|
3717
3790
|
return ke[e];
|
|
3718
3791
|
}
|
|
3719
|
-
function
|
|
3792
|
+
function ii(e) {
|
|
3720
3793
|
return me(e).map((t) => {
|
|
3721
3794
|
const n = dn(t);
|
|
3722
3795
|
return [t, n ? [...n] : []];
|
|
@@ -3730,19 +3803,19 @@ function we(e) {
|
|
|
3730
3803
|
}
|
|
3731
3804
|
);
|
|
3732
3805
|
}
|
|
3733
|
-
function
|
|
3806
|
+
function ai(e, t) {
|
|
3734
3807
|
return Promise.all(
|
|
3735
|
-
t.map((r) => (
|
|
3808
|
+
t.map((r) => (ri(e, r), r().then((i) => i.default || i)))
|
|
3736
3809
|
).then((r) => hn(e, ...r));
|
|
3737
3810
|
}
|
|
3738
3811
|
const se = {};
|
|
3739
3812
|
function mn(e) {
|
|
3740
3813
|
if (!we(e))
|
|
3741
3814
|
return e in se ? se[e] : Promise.resolve();
|
|
3742
|
-
const t =
|
|
3815
|
+
const t = ii(e);
|
|
3743
3816
|
return se[e] = Promise.all(
|
|
3744
3817
|
t.map(
|
|
3745
|
-
([n, r]) =>
|
|
3818
|
+
([n, r]) => ai(n, r)
|
|
3746
3819
|
)
|
|
3747
3820
|
).then(() => {
|
|
3748
3821
|
if (we(e))
|
|
@@ -3750,16 +3823,16 @@ function mn(e) {
|
|
|
3750
3823
|
delete se[e];
|
|
3751
3824
|
}), se[e];
|
|
3752
3825
|
}
|
|
3753
|
-
var gt = Object.getOwnPropertySymbols,
|
|
3826
|
+
var gt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, li = (e, t) => {
|
|
3754
3827
|
var n = {};
|
|
3755
3828
|
for (var r in e)
|
|
3756
|
-
|
|
3829
|
+
si.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3757
3830
|
if (e != null && gt)
|
|
3758
3831
|
for (var r of gt(e))
|
|
3759
|
-
t.indexOf(r) < 0 &&
|
|
3832
|
+
t.indexOf(r) < 0 && oi.call(e, r) && (n[r] = e[r]);
|
|
3760
3833
|
return n;
|
|
3761
3834
|
};
|
|
3762
|
-
const
|
|
3835
|
+
const ui = {
|
|
3763
3836
|
number: {
|
|
3764
3837
|
scientific: { notation: "scientific" },
|
|
3765
3838
|
engineering: { notation: "engineering" },
|
|
@@ -3789,28 +3862,28 @@ const oi = {
|
|
|
3789
3862
|
}
|
|
3790
3863
|
}
|
|
3791
3864
|
};
|
|
3792
|
-
function
|
|
3865
|
+
function ci({ locale: e, id: t }) {
|
|
3793
3866
|
console.warn(
|
|
3794
3867
|
`[svelte-i18n] The message "${t}" was not found in "${me(
|
|
3795
3868
|
e
|
|
3796
|
-
).join('", "')}".${we(
|
|
3869
|
+
).join('", "')}".${we(R()) ? `
|
|
3797
3870
|
|
|
3798
3871
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3799
3872
|
);
|
|
3800
3873
|
}
|
|
3801
|
-
const
|
|
3874
|
+
const hi = {
|
|
3802
3875
|
fallbackLocale: null,
|
|
3803
3876
|
loadingDelay: 200,
|
|
3804
|
-
formats:
|
|
3877
|
+
formats: ui,
|
|
3805
3878
|
warnOnMissingMessages: !0,
|
|
3806
3879
|
handleMissingMessage: void 0,
|
|
3807
3880
|
ignoreTag: !0
|
|
3808
|
-
}, oe =
|
|
3881
|
+
}, oe = hi;
|
|
3809
3882
|
function te() {
|
|
3810
3883
|
return oe;
|
|
3811
3884
|
}
|
|
3812
|
-
function
|
|
3813
|
-
const t = e, { formats: n } = t, r =
|
|
3885
|
+
function di(e) {
|
|
3886
|
+
const t = e, { formats: n } = t, r = li(t, ["formats"]);
|
|
3814
3887
|
let i = e.fallbackLocale;
|
|
3815
3888
|
if (e.initialLocale)
|
|
3816
3889
|
try {
|
|
@@ -3820,21 +3893,21 @@ function ci(e) {
|
|
|
3820
3893
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3821
3894
|
);
|
|
3822
3895
|
}
|
|
3823
|
-
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage =
|
|
3896
|
+
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = ci : console.warn(
|
|
3824
3897
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3825
3898
|
)), Object.assign(oe, r, { initialLocale: i }), n && ("number" in n && Object.assign(oe.formats.number, n.number), "date" in n && Object.assign(oe.formats.date, n.date), "time" in n && Object.assign(oe.formats.time, n.time)), $.set(i);
|
|
3826
3899
|
}
|
|
3827
|
-
const Re =
|
|
3828
|
-
var
|
|
3900
|
+
const Re = Ce(!1);
|
|
3901
|
+
var mi = Object.defineProperty, fi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, bt = (e, t, n) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yi = (e, t) => {
|
|
3829
3902
|
for (var n in t || (t = {}))
|
|
3830
|
-
|
|
3903
|
+
pi.call(t, n) && bt(e, n, t[n]);
|
|
3831
3904
|
if (pt)
|
|
3832
3905
|
for (var n of pt(t))
|
|
3833
|
-
|
|
3906
|
+
bi.call(t, n) && bt(e, n, t[n]);
|
|
3834
3907
|
return e;
|
|
3835
|
-
},
|
|
3836
|
-
let
|
|
3837
|
-
const Ie =
|
|
3908
|
+
}, vi = (e, t) => fi(e, gi(t));
|
|
3909
|
+
let Je;
|
|
3910
|
+
const Ie = Ce(null);
|
|
3838
3911
|
function yt(e) {
|
|
3839
3912
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3840
3913
|
}
|
|
@@ -3842,17 +3915,17 @@ function me(e, t = te().fallbackLocale) {
|
|
|
3842
3915
|
const n = yt(e);
|
|
3843
3916
|
return t ? [.../* @__PURE__ */ new Set([...n, ...yt(t)])] : n;
|
|
3844
3917
|
}
|
|
3845
|
-
function
|
|
3846
|
-
return
|
|
3918
|
+
function R() {
|
|
3919
|
+
return Je ?? void 0;
|
|
3847
3920
|
}
|
|
3848
3921
|
Ie.subscribe((e) => {
|
|
3849
|
-
|
|
3922
|
+
Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3850
3923
|
});
|
|
3851
|
-
const
|
|
3852
|
-
if (e &&
|
|
3924
|
+
const Ei = (e) => {
|
|
3925
|
+
if (e && ni(e) && we(e)) {
|
|
3853
3926
|
const { loadingDelay: t } = te();
|
|
3854
3927
|
let n;
|
|
3855
|
-
return typeof window < "u" &&
|
|
3928
|
+
return typeof window < "u" && R() != null && t ? n = window.setTimeout(
|
|
3856
3929
|
() => Re.set(!0),
|
|
3857
3930
|
t
|
|
3858
3931
|
) : Re.set(!0), mn(e).then(() => {
|
|
@@ -3862,8 +3935,8 @@ const yi = (e) => {
|
|
|
3862
3935
|
});
|
|
3863
3936
|
}
|
|
3864
3937
|
return Ie.set(e);
|
|
3865
|
-
}, $ =
|
|
3866
|
-
set:
|
|
3938
|
+
}, $ = vi(yi({}, Ie), {
|
|
3939
|
+
set: Ei
|
|
3867
3940
|
}), He = (e) => {
|
|
3868
3941
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3869
3942
|
return (r) => {
|
|
@@ -3871,7 +3944,7 @@ const yi = (e) => {
|
|
|
3871
3944
|
return i in t ? t[i] : t[i] = e(r);
|
|
3872
3945
|
};
|
|
3873
3946
|
};
|
|
3874
|
-
var
|
|
3947
|
+
var _i = Object.defineProperty, Ae = Object.getOwnPropertySymbols, fn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, vt = (e, t, n) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, et = (e, t) => {
|
|
3875
3948
|
for (var n in t || (t = {}))
|
|
3876
3949
|
fn.call(t, n) && vt(e, n, t[n]);
|
|
3877
3950
|
if (Ae)
|
|
@@ -3892,21 +3965,21 @@ const he = (e, t) => {
|
|
|
3892
3965
|
if (e in n && t in n[e])
|
|
3893
3966
|
return n[e][t];
|
|
3894
3967
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3895
|
-
},
|
|
3968
|
+
}, xi = He(
|
|
3896
3969
|
(e) => {
|
|
3897
3970
|
var t = e, { locale: n, format: r } = t, i = ie(t, ["locale", "format"]);
|
|
3898
3971
|
if (n == null)
|
|
3899
3972
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3900
3973
|
return r && (i = he("number", r)), new Intl.NumberFormat(n, i);
|
|
3901
3974
|
}
|
|
3902
|
-
),
|
|
3975
|
+
), ki = He(
|
|
3903
3976
|
(e) => {
|
|
3904
3977
|
var t = e, { locale: n, format: r } = t, i = ie(t, ["locale", "format"]);
|
|
3905
3978
|
if (n == null)
|
|
3906
3979
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3907
3980
|
return r ? i = he("date", r) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3908
3981
|
}
|
|
3909
|
-
),
|
|
3982
|
+
), Ti = He(
|
|
3910
3983
|
(e) => {
|
|
3911
3984
|
var t = e, { locale: n, format: r } = t, i = ie(t, ["locale", "format"]);
|
|
3912
3985
|
if (n == null)
|
|
@@ -3915,41 +3988,41 @@ const he = (e, t) => {
|
|
|
3915
3988
|
);
|
|
3916
3989
|
return r ? i = he("time", r) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3917
3990
|
}
|
|
3918
|
-
),
|
|
3991
|
+
), wi = (e = {}) => {
|
|
3919
3992
|
var t = e, {
|
|
3920
|
-
locale: n =
|
|
3993
|
+
locale: n = R()
|
|
3921
3994
|
} = t, r = ie(t, [
|
|
3922
3995
|
"locale"
|
|
3923
3996
|
]);
|
|
3924
|
-
return
|
|
3925
|
-
},
|
|
3997
|
+
return xi(et({ locale: n }, r));
|
|
3998
|
+
}, Ii = (e = {}) => {
|
|
3926
3999
|
var t = e, {
|
|
3927
|
-
locale: n =
|
|
4000
|
+
locale: n = R()
|
|
3928
4001
|
} = t, r = ie(t, [
|
|
3929
4002
|
"locale"
|
|
3930
4003
|
]);
|
|
3931
|
-
return
|
|
3932
|
-
},
|
|
4004
|
+
return ki(et({ locale: n }, r));
|
|
4005
|
+
}, Ai = (e = {}) => {
|
|
3933
4006
|
var t = e, {
|
|
3934
|
-
locale: n =
|
|
4007
|
+
locale: n = R()
|
|
3935
4008
|
} = t, r = ie(t, [
|
|
3936
4009
|
"locale"
|
|
3937
4010
|
]);
|
|
3938
|
-
return
|
|
3939
|
-
},
|
|
4011
|
+
return Ti(et({ locale: n }, r));
|
|
4012
|
+
}, Si = He(
|
|
3940
4013
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3941
|
-
(e, t =
|
|
4014
|
+
(e, t = R()) => new ln(e, t, te().formats, {
|
|
3942
4015
|
ignoreTag: te().ignoreTag
|
|
3943
4016
|
})
|
|
3944
|
-
),
|
|
4017
|
+
), Ci = (e, t = {}) => {
|
|
3945
4018
|
var n, r, i, a;
|
|
3946
|
-
let
|
|
3947
|
-
typeof e == "object" && (
|
|
4019
|
+
let o = t;
|
|
4020
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3948
4021
|
const {
|
|
3949
|
-
values:
|
|
3950
|
-
locale: u =
|
|
4022
|
+
values: s,
|
|
4023
|
+
locale: u = R(),
|
|
3951
4024
|
default: l
|
|
3952
|
-
} =
|
|
4025
|
+
} = o;
|
|
3953
4026
|
if (u == null)
|
|
3954
4027
|
throw new Error(
|
|
3955
4028
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
@@ -3961,11 +4034,11 @@ const he = (e, t) => {
|
|
|
3961
4034
|
return console.warn(
|
|
3962
4035
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3963
4036
|
), c;
|
|
3964
|
-
if (!
|
|
4037
|
+
if (!s)
|
|
3965
4038
|
return c;
|
|
3966
4039
|
let h = c;
|
|
3967
4040
|
try {
|
|
3968
|
-
h =
|
|
4041
|
+
h = Si(c, u).format(s);
|
|
3969
4042
|
} catch (d) {
|
|
3970
4043
|
d instanceof Error && console.warn(
|
|
3971
4044
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3973,16 +4046,16 @@ const he = (e, t) => {
|
|
|
3973
4046
|
);
|
|
3974
4047
|
}
|
|
3975
4048
|
return h;
|
|
3976
|
-
},
|
|
3977
|
-
re([$], () => Si);
|
|
3978
|
-
re([$], () => Ci);
|
|
4049
|
+
}, Bi = (e, t) => Ai(t).format(e), Li = (e, t) => Ii(t).format(e), Hi = (e, t) => wi(t).format(e), Mi = (e, t = R()) => un(e, t), Pi = re([$, de], () => Ci);
|
|
3979
4050
|
re([$], () => Bi);
|
|
3980
|
-
re([
|
|
4051
|
+
re([$], () => Li);
|
|
4052
|
+
re([$], () => Hi);
|
|
4053
|
+
re([$, de], () => Mi);
|
|
3981
4054
|
function Et(e, t) {
|
|
3982
4055
|
hn(e, t);
|
|
3983
4056
|
}
|
|
3984
|
-
function
|
|
3985
|
-
|
|
4057
|
+
function Oi(e) {
|
|
4058
|
+
di({
|
|
3986
4059
|
fallbackLocale: "en"
|
|
3987
4060
|
}), $.set(e);
|
|
3988
4061
|
}
|
|
@@ -3995,6 +4068,7 @@ const _t = {
|
|
|
3995
4068
|
errorGeneralTitle: "Error Occurred",
|
|
3996
4069
|
errorGeneralText: "Something went wrong",
|
|
3997
4070
|
errorGeneralButton: "CLOSE",
|
|
4071
|
+
DeclindedByLugas: "Your deposit exceeds the weekly deposit limit that has been set. Consider lowering the desired deposit to stay within the current limit.",
|
|
3998
4072
|
PlayerSessionIsNotValid: "Player session is not valid",
|
|
3999
4073
|
VendorCommunicationError: "We apologise, but your payment provider has declined to process due to a technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",
|
|
4000
4074
|
PaymentMethodNotAllowed: "We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",
|
|
@@ -4048,6 +4122,7 @@ const _t = {
|
|
|
4048
4122
|
errorGeneralTitle: "Hata oluştu",
|
|
4049
4123
|
errorGeneralText: "Bir şeyler ters gitti",
|
|
4050
4124
|
errorGeneralButton: "KAPALI",
|
|
4125
|
+
DeclindedByLugas: "Yatırmak istediğiniz tutar, belirlenen haftalık para yatırma limitini aşıyor. Mevcut limitiniz dahilinde kalmak için yatırmak istediğiniz tutarı azaltmayı değerlendirin.",
|
|
4051
4126
|
PlayerSessionIsNotValid: "Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",
|
|
4052
4127
|
VendorCommunicationError: "Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",
|
|
4053
4128
|
PaymentMethodNotAllowed: "Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",
|
|
@@ -4100,6 +4175,7 @@ const _t = {
|
|
|
4100
4175
|
errorGeneralTitle: "Une erreur s’est produite",
|
|
4101
4176
|
errorGeneralText: "Une erreur est survenue",
|
|
4102
4177
|
errorGeneralButton: "FERMER",
|
|
4178
|
+
DeclindedByLugas: "Votre dépôt dépasse la limite de dépôt hebdomadaire fixée. Envisagez de réduire le montant que vous souhaitez déposer afin de respecter votre limite actuelle.",
|
|
4103
4179
|
PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
|
|
4104
4180
|
VendorCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",
|
|
4105
4181
|
PaymentMethodNotAllowed: "Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",
|
|
@@ -4201,6 +4277,7 @@ const _t = {
|
|
|
4201
4277
|
errorGeneralTitle: "Fehler aufgetreten",
|
|
4202
4278
|
errorGeneralText: "Etwas ist schiefgelaufen",
|
|
4203
4279
|
errorGeneralButton: "SCHLIESSEN",
|
|
4280
|
+
DeclindedByLugas: "Ihre Einzahlung überschreitet das festgelegte wöchentliche Einzahlungslimit. Erwägen Sie, den gewünschten Einzahlungsbetrag zu reduzieren, um innerhalb Ihres aktuellen Limits zu bleiben.",
|
|
4204
4281
|
PlayerSessionIsNotValid: "Spielersitzung ist nicht gültig",
|
|
4205
4282
|
VendorCommunicationError: "Wir entschuldigen uns, aber Ihr Zahlungsanbieter hat die Verarbeitung aufgrund eines technischen Fehlers abgelehnt. Bitte versuchen Sie es später oder kontaktieren Sie Ihren Zahlungsanbieter für weitere Hilfe. Fehlercode 21297",
|
|
4206
4283
|
PaymentMethodNotAllowed: "Wir entschuldigen uns, aber diese Zahlungsmethode ist derzeit nicht verfügbar. Bitte kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 11402",
|
|
@@ -4253,6 +4330,7 @@ const _t = {
|
|
|
4253
4330
|
errorGeneralTitle: "Er is een fout opgetreden",
|
|
4254
4331
|
errorGeneralText: "Er is iets misgegaan",
|
|
4255
4332
|
errorGeneralButton: "SLUITEN",
|
|
4333
|
+
DeclindedByLugas: "Uw storting overschrijdt de ingestelde wekelijkse stortingslimiet. Overweeg om het gewenste stortingsbedrag te verlagen zodat u binnen de huidige limiet blijft.",
|
|
4256
4334
|
PlayerSessionIsNotValid: "Spelersessie is niet geldig",
|
|
4257
4335
|
VendorCommunicationError: "Onze excuses, maar uw betalingsprovider heeft de verwerking geweigerd vanwege een technische fout. Probeer het later of neem contact op met uw betalingsoplossingsprovider voor verdere hulp. Foutcode 21297",
|
|
4258
4336
|
PaymentMethodNotAllowed: "Onze excuses, maar deze betaalmethode is momenteel niet beschikbaar. Neem contact op met de klantenservice voor verdere hulp. Foutcode 11402",
|
|
@@ -4402,22 +4480,22 @@ const _t = {
|
|
|
4402
4480
|
CardTokenIsBlocked: "Kart tokeni bloklanıb"
|
|
4403
4481
|
}
|
|
4404
4482
|
};
|
|
4405
|
-
function
|
|
4406
|
-
Mt(e, "svelte-
|
|
4483
|
+
function Di(e) {
|
|
4484
|
+
Mt(e, "svelte-1m97ygc", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorText a{color:var(--emw--color-primary, #F9C405);text-decoration:underline;cursor:pointer}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent .HostContainer img{width:300px}');
|
|
4407
4485
|
}
|
|
4408
|
-
const
|
|
4486
|
+
const Ni = (e) => ({}), xt = (e) => ({}), zi = (e) => ({}), kt = (e) => ({}), Ri = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), wt = (e) => ({ class: "CashierErrorIcon" });
|
|
4409
4487
|
function It(e) {
|
|
4410
4488
|
let t, n, r, i, a;
|
|
4411
|
-
const
|
|
4489
|
+
const o = (
|
|
4412
4490
|
/*#slots*/
|
|
4413
4491
|
e[16].icon
|
|
4414
|
-
),
|
|
4415
|
-
|
|
4492
|
+
), s = ge(
|
|
4493
|
+
o,
|
|
4416
4494
|
e,
|
|
4417
4495
|
/*$$scope*/
|
|
4418
4496
|
e[15],
|
|
4419
4497
|
wt
|
|
4420
|
-
), u =
|
|
4498
|
+
), u = s || Fi(e), l = (
|
|
4421
4499
|
/*#slots*/
|
|
4422
4500
|
e[16].title
|
|
4423
4501
|
), c = ge(
|
|
@@ -4435,7 +4513,7 @@ function It(e) {
|
|
|
4435
4513
|
/*$$scope*/
|
|
4436
4514
|
e[15],
|
|
4437
4515
|
kt
|
|
4438
|
-
), f = d ||
|
|
4516
|
+
), f = d || Wi(e), g = (
|
|
4439
4517
|
/*#slots*/
|
|
4440
4518
|
e[16].button
|
|
4441
4519
|
), k = ge(
|
|
@@ -4444,28 +4522,28 @@ function It(e) {
|
|
|
4444
4522
|
/*$$scope*/
|
|
4445
4523
|
e[15],
|
|
4446
4524
|
xt
|
|
4447
|
-
), E = k ||
|
|
4525
|
+
), E = k || qi(e);
|
|
4448
4526
|
return {
|
|
4449
4527
|
c() {
|
|
4450
|
-
t =
|
|
4528
|
+
t = B("div"), u && u.c(), n = G(), c && c.c(), r = G(), f && f.c(), i = G(), E && E.c(), T(t, "class", "CashierErrorContent");
|
|
4451
4529
|
},
|
|
4452
4530
|
m(m, v) {
|
|
4453
|
-
I(m, t, v), u && u.m(t, null),
|
|
4531
|
+
I(m, t, v), u && u.m(t, null), H(t, n), c && c.m(t, null), H(t, r), f && f.m(t, null), H(t, i), E && E.m(t, null), a = !0;
|
|
4454
4532
|
},
|
|
4455
4533
|
p(m, v) {
|
|
4456
|
-
|
|
4534
|
+
s ? s.p && (!a || v & /*$$scope*/
|
|
4457
4535
|
32768) && be(
|
|
4458
|
-
o,
|
|
4459
4536
|
s,
|
|
4537
|
+
o,
|
|
4460
4538
|
m,
|
|
4461
4539
|
/*$$scope*/
|
|
4462
4540
|
m[15],
|
|
4463
4541
|
a ? pe(
|
|
4464
|
-
|
|
4542
|
+
o,
|
|
4465
4543
|
/*$$scope*/
|
|
4466
4544
|
m[15],
|
|
4467
4545
|
v,
|
|
4468
|
-
|
|
4546
|
+
Ui
|
|
4469
4547
|
) : ye(
|
|
4470
4548
|
/*$$scope*/
|
|
4471
4549
|
m[15]
|
|
@@ -4484,7 +4562,7 @@ function It(e) {
|
|
|
4484
4562
|
/*$$scope*/
|
|
4485
4563
|
m[15],
|
|
4486
4564
|
v,
|
|
4487
|
-
|
|
4565
|
+
Ri
|
|
4488
4566
|
) : ye(
|
|
4489
4567
|
/*$$scope*/
|
|
4490
4568
|
m[15]
|
|
@@ -4502,7 +4580,7 @@ function It(e) {
|
|
|
4502
4580
|
/*$$scope*/
|
|
4503
4581
|
m[15],
|
|
4504
4582
|
v,
|
|
4505
|
-
|
|
4583
|
+
zi
|
|
4506
4584
|
) : ye(
|
|
4507
4585
|
/*$$scope*/
|
|
4508
4586
|
m[15]
|
|
@@ -4521,7 +4599,7 @@ function It(e) {
|
|
|
4521
4599
|
/*$$scope*/
|
|
4522
4600
|
m[15],
|
|
4523
4601
|
v,
|
|
4524
|
-
|
|
4602
|
+
Ni
|
|
4525
4603
|
) : ye(
|
|
4526
4604
|
/*$$scope*/
|
|
4527
4605
|
m[15]
|
|
@@ -4552,7 +4630,7 @@ function At(e) {
|
|
|
4552
4630
|
}
|
|
4553
4631
|
}), {
|
|
4554
4632
|
c() {
|
|
4555
|
-
|
|
4633
|
+
Mn(t.$$.fragment);
|
|
4556
4634
|
},
|
|
4557
4635
|
m(r, i) {
|
|
4558
4636
|
Nt(t, r, i), n = !0;
|
|
@@ -4570,18 +4648,18 @@ function At(e) {
|
|
|
4570
4648
|
D(t.$$.fragment, r), n = !1;
|
|
4571
4649
|
},
|
|
4572
4650
|
d(r) {
|
|
4573
|
-
|
|
4651
|
+
zt(t, r);
|
|
4574
4652
|
}
|
|
4575
4653
|
};
|
|
4576
4654
|
}
|
|
4577
|
-
function
|
|
4655
|
+
function Fi(e) {
|
|
4578
4656
|
let t, n, r = (
|
|
4579
4657
|
/*assetsurl*/
|
|
4580
4658
|
e[0] && At(e)
|
|
4581
4659
|
);
|
|
4582
4660
|
return {
|
|
4583
4661
|
c() {
|
|
4584
|
-
r && r.c(), t =
|
|
4662
|
+
r && r.c(), t = Se();
|
|
4585
4663
|
},
|
|
4586
4664
|
m(i, a) {
|
|
4587
4665
|
r && r.m(i, a), I(i, t, a), n = !0;
|
|
@@ -4604,31 +4682,82 @@ function zi(e) {
|
|
|
4604
4682
|
}
|
|
4605
4683
|
};
|
|
4606
4684
|
}
|
|
4685
|
+
function Gi(e) {
|
|
4686
|
+
let t;
|
|
4687
|
+
return {
|
|
4688
|
+
c() {
|
|
4689
|
+
t = z(
|
|
4690
|
+
/*errormessage*/
|
|
4691
|
+
e[2]
|
|
4692
|
+
);
|
|
4693
|
+
},
|
|
4694
|
+
m(n, r) {
|
|
4695
|
+
I(n, t, r);
|
|
4696
|
+
},
|
|
4697
|
+
p(n, r) {
|
|
4698
|
+
r & /*errormessage*/
|
|
4699
|
+
4 && K(
|
|
4700
|
+
t,
|
|
4701
|
+
/*errormessage*/
|
|
4702
|
+
n[2]
|
|
4703
|
+
);
|
|
4704
|
+
},
|
|
4705
|
+
d(n) {
|
|
4706
|
+
n && w(t);
|
|
4707
|
+
}
|
|
4708
|
+
};
|
|
4709
|
+
}
|
|
4710
|
+
function $i(e) {
|
|
4711
|
+
let t, n;
|
|
4712
|
+
return {
|
|
4713
|
+
c() {
|
|
4714
|
+
t = new wn(!1), n = Se(), t.a = n;
|
|
4715
|
+
},
|
|
4716
|
+
m(r, i) {
|
|
4717
|
+
t.m(
|
|
4718
|
+
/*shownError*/
|
|
4719
|
+
e[7],
|
|
4720
|
+
r,
|
|
4721
|
+
i
|
|
4722
|
+
), I(r, n, i);
|
|
4723
|
+
},
|
|
4724
|
+
p(r, i) {
|
|
4725
|
+
i & /*shownError*/
|
|
4726
|
+
128 && t.p(
|
|
4727
|
+
/*shownError*/
|
|
4728
|
+
r[7]
|
|
4729
|
+
);
|
|
4730
|
+
},
|
|
4731
|
+
d(r) {
|
|
4732
|
+
r && (w(n), t.d());
|
|
4733
|
+
}
|
|
4734
|
+
};
|
|
4735
|
+
}
|
|
4607
4736
|
function St(e) {
|
|
4608
4737
|
let t;
|
|
4609
|
-
function n(a,
|
|
4738
|
+
function n(a, o) {
|
|
4610
4739
|
return (
|
|
4611
4740
|
/*depositWageringAmount*/
|
|
4612
|
-
a[5] < 0 ?
|
|
4741
|
+
a[5] < 0 ? Vi : ji
|
|
4613
4742
|
);
|
|
4614
4743
|
}
|
|
4615
4744
|
let r = n(e), i = r(e);
|
|
4616
4745
|
return {
|
|
4617
4746
|
c() {
|
|
4618
|
-
i.c(), t =
|
|
4747
|
+
i.c(), t = Se();
|
|
4619
4748
|
},
|
|
4620
|
-
m(a,
|
|
4621
|
-
i.m(a,
|
|
4749
|
+
m(a, o) {
|
|
4750
|
+
i.m(a, o), I(a, t, o);
|
|
4622
4751
|
},
|
|
4623
|
-
p(a,
|
|
4624
|
-
r === (r = n(a)) && i ? i.p(a,
|
|
4752
|
+
p(a, o) {
|
|
4753
|
+
r === (r = n(a)) && i ? i.p(a, o) : (i.d(1), i = r(a), i && (i.c(), i.m(t.parentNode, t)));
|
|
4625
4754
|
},
|
|
4626
4755
|
d(a) {
|
|
4627
4756
|
a && w(t), i.d(a);
|
|
4628
4757
|
}
|
|
4629
4758
|
};
|
|
4630
4759
|
}
|
|
4631
|
-
function
|
|
4760
|
+
function ji(e) {
|
|
4632
4761
|
let t, n = (
|
|
4633
4762
|
/*$_*/
|
|
4634
4763
|
e[8]("DepositWageringLimitText") + ""
|
|
@@ -4638,36 +4767,36 @@ function Ui(e) {
|
|
|
4638
4767
|
);
|
|
4639
4768
|
return {
|
|
4640
4769
|
c() {
|
|
4641
|
-
t =
|
|
4770
|
+
t = B("span"), r = z(n), i = G(), a && a.c(), T(t, "class", "CashierErrorText");
|
|
4642
4771
|
},
|
|
4643
|
-
m(
|
|
4644
|
-
I(
|
|
4772
|
+
m(o, s) {
|
|
4773
|
+
I(o, t, s), H(t, r), H(t, i), a && a.m(t, null);
|
|
4645
4774
|
},
|
|
4646
|
-
p(
|
|
4647
|
-
|
|
4775
|
+
p(o, s) {
|
|
4776
|
+
s & /*$_*/
|
|
4648
4777
|
256 && n !== (n = /*$_*/
|
|
4649
|
-
|
|
4650
|
-
|
|
4778
|
+
o[8]("DepositWageringLimitText") + "") && K(r, n), /*depositWageringAmount*/
|
|
4779
|
+
o[5] > 0 ? a ? a.p(o, s) : (a = Ct(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4651
4780
|
},
|
|
4652
|
-
d(
|
|
4653
|
-
|
|
4781
|
+
d(o) {
|
|
4782
|
+
o && w(t), a && a.d();
|
|
4654
4783
|
}
|
|
4655
4784
|
};
|
|
4656
4785
|
}
|
|
4657
|
-
function
|
|
4786
|
+
function Vi(e) {
|
|
4658
4787
|
let t, n, r = (
|
|
4659
4788
|
/*$_*/
|
|
4660
4789
|
e[8]("DepositWageringFetching") + ""
|
|
4661
4790
|
), i;
|
|
4662
4791
|
return {
|
|
4663
4792
|
c() {
|
|
4664
|
-
t =
|
|
4793
|
+
t = B("div"), n = B("span"), i = z(r), T(n, "class", "CashierErrorText LoadingText"), T(t, "class", "WageringFetch");
|
|
4665
4794
|
},
|
|
4666
|
-
m(a,
|
|
4667
|
-
I(a, t,
|
|
4795
|
+
m(a, o) {
|
|
4796
|
+
I(a, t, o), H(t, n), H(n, i);
|
|
4668
4797
|
},
|
|
4669
|
-
p(a,
|
|
4670
|
-
|
|
4798
|
+
p(a, o) {
|
|
4799
|
+
o & /*$_*/
|
|
4671
4800
|
256 && r !== (r = /*$_*/
|
|
4672
4801
|
a[8]("DepositWageringFetching") + "") && K(i, r);
|
|
4673
4802
|
},
|
|
@@ -4680,10 +4809,10 @@ function Ct(e) {
|
|
|
4680
4809
|
let t, n, r;
|
|
4681
4810
|
return {
|
|
4682
4811
|
c() {
|
|
4683
|
-
t =
|
|
4812
|
+
t = z(
|
|
4684
4813
|
/*depositWageringAmount*/
|
|
4685
4814
|
e[5]
|
|
4686
|
-
), n = G(), r =
|
|
4815
|
+
), n = G(), r = z(
|
|
4687
4816
|
/*depositWageringCurrency*/
|
|
4688
4817
|
e[6]
|
|
4689
4818
|
);
|
|
@@ -4709,77 +4838,67 @@ function Ct(e) {
|
|
|
4709
4838
|
}
|
|
4710
4839
|
};
|
|
4711
4840
|
}
|
|
4712
|
-
function
|
|
4713
|
-
let t, n
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
/*
|
|
4717
|
-
|
|
4718
|
-
)
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
)) + ""
|
|
4722
|
-
), r, i, a, s = (
|
|
4841
|
+
function Wi(e) {
|
|
4842
|
+
let t, n, r;
|
|
4843
|
+
function i(u, l) {
|
|
4844
|
+
return (
|
|
4845
|
+
/*errorcode*/
|
|
4846
|
+
u[1] ? $i : Gi
|
|
4847
|
+
);
|
|
4848
|
+
}
|
|
4849
|
+
let a = i(e), o = a(e), s = (
|
|
4723
4850
|
/*errorcode*/
|
|
4724
4851
|
e[1] == "DepositWageringLimit" && St(e)
|
|
4725
4852
|
);
|
|
4726
4853
|
return {
|
|
4727
4854
|
c() {
|
|
4728
|
-
t =
|
|
4855
|
+
t = B("span"), o.c(), n = G(), s && s.c(), r = Se(), T(t, "class", "CashierErrorText");
|
|
4729
4856
|
},
|
|
4730
|
-
m(
|
|
4731
|
-
I(
|
|
4857
|
+
m(u, l) {
|
|
4858
|
+
I(u, t, l), o.m(t, null), I(u, n, l), s && s.m(u, l), I(u, r, l);
|
|
4732
4859
|
},
|
|
4733
|
-
p(
|
|
4734
|
-
u
|
|
4735
|
-
|
|
4736
|
-
(o[1] ? (
|
|
4737
|
-
/*shownError*/
|
|
4738
|
-
o[7]
|
|
4739
|
-
) : (
|
|
4740
|
-
/*errormessage*/
|
|
4741
|
-
o[2]
|
|
4742
|
-
)) + "") && K(r, n), /*errorcode*/
|
|
4743
|
-
o[1] == "DepositWageringLimit" ? s ? s.p(o, u) : (s = St(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
|
|
4860
|
+
p(u, l) {
|
|
4861
|
+
a === (a = i(u)) && o ? o.p(u, l) : (o.d(1), o = a(u), o && (o.c(), o.m(t, null))), /*errorcode*/
|
|
4862
|
+
u[1] == "DepositWageringLimit" ? s ? s.p(u, l) : (s = St(u), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null);
|
|
4744
4863
|
},
|
|
4745
|
-
d(
|
|
4746
|
-
|
|
4864
|
+
d(u) {
|
|
4865
|
+
u && (w(t), w(n), w(r)), o.d(), s && s.d(u);
|
|
4747
4866
|
}
|
|
4748
4867
|
};
|
|
4749
4868
|
}
|
|
4750
|
-
function
|
|
4869
|
+
function qi(e) {
|
|
4751
4870
|
let t, n, r = (
|
|
4752
4871
|
/*$_*/
|
|
4753
4872
|
e[8]("errorGeneralButton") + ""
|
|
4754
|
-
), i, a,
|
|
4873
|
+
), i, a, o;
|
|
4755
4874
|
return {
|
|
4756
4875
|
c() {
|
|
4757
|
-
t =
|
|
4876
|
+
t = B("button"), n = B("span"), i = z(r), T(t, "class", "CashierErrorButton");
|
|
4758
4877
|
},
|
|
4759
|
-
m(
|
|
4760
|
-
I(
|
|
4878
|
+
m(s, u) {
|
|
4879
|
+
I(s, t, u), H(t, n), H(n, i), a || (o = Pt(
|
|
4761
4880
|
t,
|
|
4762
4881
|
"click",
|
|
4763
4882
|
/*close*/
|
|
4764
4883
|
e[9]
|
|
4765
4884
|
), a = !0);
|
|
4766
4885
|
},
|
|
4767
|
-
p(
|
|
4886
|
+
p(s, u) {
|
|
4768
4887
|
u & /*$_*/
|
|
4769
4888
|
256 && r !== (r = /*$_*/
|
|
4770
|
-
|
|
4889
|
+
s[8]("errorGeneralButton") + "") && K(i, r);
|
|
4771
4890
|
},
|
|
4772
|
-
d(
|
|
4773
|
-
|
|
4891
|
+
d(s) {
|
|
4892
|
+
s && w(t), a = !1, o();
|
|
4774
4893
|
}
|
|
4775
4894
|
};
|
|
4776
4895
|
}
|
|
4777
|
-
function
|
|
4896
|
+
function Xi(e) {
|
|
4778
4897
|
let t, n, r = !/*isLoading*/
|
|
4779
4898
|
e[4] && It(e);
|
|
4780
4899
|
return {
|
|
4781
4900
|
c() {
|
|
4782
|
-
t =
|
|
4901
|
+
t = B("div"), r && r.c(), T(t, "class", "CashierError");
|
|
4783
4902
|
},
|
|
4784
4903
|
m(i, a) {
|
|
4785
4904
|
I(i, t, a), r && r.m(t, null), e[17](t), n = !0;
|
|
@@ -4802,12 +4921,12 @@ function ji(e) {
|
|
|
4802
4921
|
}
|
|
4803
4922
|
};
|
|
4804
4923
|
}
|
|
4805
|
-
function
|
|
4924
|
+
function Zi(e, t, n) {
|
|
4806
4925
|
let r;
|
|
4807
|
-
En(e,
|
|
4808
|
-
let { $$slots: i = {}, $$scope: a } = t, { assetsurl:
|
|
4926
|
+
En(e, Pi, (b) => n(8, r = b));
|
|
4927
|
+
let { $$slots: i = {}, $$scope: a } = t, { assetsurl: o = "" } = t, { lang: s = "en" } = t, { errorcode: u = "" } = t, { errormessage: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: d = "" } = t, { mbsource: f = "" } = t, g, k, E = -1, m, v, A = !1;
|
|
4809
4928
|
const U = () => {
|
|
4810
|
-
|
|
4929
|
+
Oi(s);
|
|
4811
4930
|
}, O = () => {
|
|
4812
4931
|
n(4, A = !0);
|
|
4813
4932
|
let b = d;
|
|
@@ -4837,26 +4956,26 @@ function Vi(e, t, n) {
|
|
|
4837
4956
|
}, pn = () => {
|
|
4838
4957
|
n(7, v = r(`${u || "errorGeneralText"}`));
|
|
4839
4958
|
};
|
|
4840
|
-
|
|
4959
|
+
Sn(() => (window.addEventListener("message", ae, !1), () => {
|
|
4841
4960
|
window.removeEventListener("message", ae);
|
|
4842
4961
|
}));
|
|
4843
4962
|
function bn(b) {
|
|
4844
|
-
|
|
4963
|
+
Ue[b ? "unshift" : "push"](() => {
|
|
4845
4964
|
g = b, n(3, g);
|
|
4846
4965
|
});
|
|
4847
4966
|
}
|
|
4848
4967
|
return e.$$set = (b) => {
|
|
4849
|
-
"assetsurl" in b && n(0,
|
|
4968
|
+
"assetsurl" in b && n(0, o = b.assetsurl), "lang" in b && n(10, s = b.lang), "errorcode" in b && n(1, u = b.errorcode), "errormessage" in b && n(2, l = b.errormessage), "clientstyling" in b && n(11, c = b.clientstyling), "clientstylingurl" in b && n(12, h = b.clientstylingurl), "translationurl" in b && n(13, d = b.translationurl), "mbsource" in b && n(14, f = b.mbsource), "$$scope" in b && n(15, a = b.$$scope);
|
|
4850
4969
|
}, e.$$.update = () => {
|
|
4851
4970
|
e.$$.dirty & /*lang*/
|
|
4852
|
-
1024 &&
|
|
4853
|
-
2056 && c && g &&
|
|
4854
|
-
4104 && h && g &&
|
|
4855
|
-
16392 && f && g &&
|
|
4971
|
+
1024 && s && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4972
|
+
2056 && c && g && Dn(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4973
|
+
4104 && h && g && Nn(g, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4974
|
+
16392 && f && g && zn(g, `${f}.Style`, k), e.$$.dirty & /*translationurl*/
|
|
4856
4975
|
8192 && d && O(), e.$$.dirty & /*isLoading*/
|
|
4857
4976
|
16 && !A && pn();
|
|
4858
4977
|
}, [
|
|
4859
|
-
|
|
4978
|
+
o,
|
|
4860
4979
|
u,
|
|
4861
4980
|
l,
|
|
4862
4981
|
g,
|
|
@@ -4866,7 +4985,7 @@ function Vi(e, t, n) {
|
|
|
4866
4985
|
v,
|
|
4867
4986
|
r,
|
|
4868
4987
|
j,
|
|
4869
|
-
|
|
4988
|
+
s,
|
|
4870
4989
|
c,
|
|
4871
4990
|
h,
|
|
4872
4991
|
d,
|
|
@@ -4876,14 +4995,14 @@ function Vi(e, t, n) {
|
|
|
4876
4995
|
bn
|
|
4877
4996
|
];
|
|
4878
4997
|
}
|
|
4879
|
-
class
|
|
4998
|
+
class Ji extends Gt {
|
|
4880
4999
|
constructor(t) {
|
|
4881
|
-
super(),
|
|
5000
|
+
super(), Rt(
|
|
4882
5001
|
this,
|
|
4883
5002
|
t,
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
5003
|
+
Zi,
|
|
5004
|
+
Xi,
|
|
5005
|
+
Ye,
|
|
4887
5006
|
{
|
|
4888
5007
|
assetsurl: 0,
|
|
4889
5008
|
lang: 10,
|
|
@@ -4894,7 +5013,7 @@ class Wi extends Gt {
|
|
|
4894
5013
|
translationurl: 13,
|
|
4895
5014
|
mbsource: 14
|
|
4896
5015
|
},
|
|
4897
|
-
|
|
5016
|
+
Di
|
|
4898
5017
|
);
|
|
4899
5018
|
}
|
|
4900
5019
|
get assetsurl() {
|
|
@@ -4946,7 +5065,7 @@ class Wi extends Gt {
|
|
|
4946
5065
|
this.$$set({ mbsource: t }), C();
|
|
4947
5066
|
}
|
|
4948
5067
|
}
|
|
4949
|
-
Ft(
|
|
5068
|
+
Ft(Ji, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4950
5069
|
export {
|
|
4951
|
-
|
|
5070
|
+
Ji as C
|
|
4952
5071
|
};
|