@everymatrix/cashier-error 1.94.36 → 1.94.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierError-CWyXDmZK.js → CashierError-B6xZMaYy.js} +1058 -902
- package/components/CashierError-BRRP4Gfd.cjs +5 -0
- package/components/{CashierError-ueWr7DsF.js → CashierError-C3Z7n-hx.js} +1077 -921
- 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-D0ilxxw-.cjs +0 -5
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var lr = Object.defineProperty, ur = Object.defineProperties;
|
|
2
|
+
var cr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var tt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var hr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ce = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
hr.call(t, r) && Ce(e, r, t[r]);
|
|
8
8
|
if (tt)
|
|
9
9
|
for (var r of tt(t))
|
|
10
|
-
|
|
10
|
+
dr.call(t, r) && Ce(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, nt = (e, t) =>
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var a = (
|
|
12
|
+
}, nt = (e, t) => ur(e, cr(t));
|
|
13
|
+
var I = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Le = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var a = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
o(r.next(u));
|
|
18
|
+
} catch (l) {
|
|
19
|
+
i(l);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
o(r.throw(u));
|
|
24
|
+
} catch (l) {
|
|
25
|
+
i(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, o = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(a, s);
|
|
28
|
+
o((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
31
|
-
function
|
|
31
|
+
function O() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function fr(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,58 +38,58 @@ function dr(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Ht(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
44
|
function it() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
e.forEach(
|
|
47
|
+
function oe(e) {
|
|
48
|
+
e.forEach(Ht);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ze(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Ct(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
let
|
|
56
|
+
let he;
|
|
57
57
|
function at(e, t) {
|
|
58
|
-
return e === t ? !0 : (
|
|
58
|
+
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
59
59
|
}
|
|
60
60
|
function mr(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Lt(e, ...t) {
|
|
64
64
|
if (e == null) {
|
|
65
65
|
for (const n of t)
|
|
66
66
|
n(void 0);
|
|
67
|
-
return
|
|
67
|
+
return O;
|
|
68
68
|
}
|
|
69
69
|
const r = e.subscribe(...t);
|
|
70
70
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function gr(e, t, r) {
|
|
73
|
+
e.$$.on_destroy.push(Lt(t, r));
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function de(e, t, r, n) {
|
|
76
76
|
if (e) {
|
|
77
|
-
const i =
|
|
77
|
+
const i = Pt(e, t, r, n);
|
|
78
78
|
return e[0](i);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return e[1] && n ?
|
|
81
|
+
function Pt(e, t, r, n) {
|
|
82
|
+
return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function fe(e, t, r, n) {
|
|
85
85
|
if (e[2] && n) {
|
|
86
86
|
const i = e[2](n(r));
|
|
87
87
|
if (t.dirty === void 0)
|
|
88
88
|
return i;
|
|
89
89
|
if (typeof i == "object") {
|
|
90
|
-
const a = [],
|
|
91
|
-
for (let
|
|
92
|
-
a[
|
|
90
|
+
const a = [], s = Math.max(t.dirty.length, i.length);
|
|
91
|
+
for (let o = 0; o < s; o += 1)
|
|
92
|
+
a[o] = t.dirty[o] | i[o];
|
|
93
93
|
return a;
|
|
94
94
|
}
|
|
95
95
|
return t.dirty | i;
|
|
@@ -98,11 +98,11 @@ function de(e, t, r, n) {
|
|
|
98
98
|
}
|
|
99
99
|
function me(e, t, r, n, i, a) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const
|
|
102
|
-
e.p(
|
|
101
|
+
const s = Pt(t, r, n, a);
|
|
102
|
+
e.p(s, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ge(e) {
|
|
106
106
|
if (e.ctx.length > 32) {
|
|
107
107
|
const t = [], r = e.ctx.length / 32;
|
|
108
108
|
for (let n = 0; n < r; n++)
|
|
@@ -111,14 +111,14 @@ function pe(e) {
|
|
|
111
111
|
}
|
|
112
112
|
return -1;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function B(e, t) {
|
|
115
115
|
e.appendChild(t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function pr(e, t, r) {
|
|
118
118
|
const n = br(e);
|
|
119
119
|
if (!n.getElementById(t)) {
|
|
120
|
-
const i =
|
|
121
|
-
i.id = t, i.textContent = r,
|
|
120
|
+
const i = H("style");
|
|
121
|
+
i.id = t, i.textContent = r, vr(n, i);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
function br(e) {
|
|
@@ -131,49 +131,49 @@ function br(e) {
|
|
|
131
131
|
t
|
|
132
132
|
) : e.ownerDocument;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
134
|
+
function vr(e, t) {
|
|
135
|
+
return B(
|
|
136
136
|
/** @type {Document} */
|
|
137
137
|
e.head || e,
|
|
138
138
|
t
|
|
139
139
|
), t.sheet;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function A(e, t, r) {
|
|
142
142
|
e.insertBefore(t, r || null);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function S(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function H(e) {
|
|
148
148
|
return document.createElement(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function R(e) {
|
|
151
151
|
return document.createTextNode(e);
|
|
152
152
|
}
|
|
153
153
|
function V() {
|
|
154
|
-
return
|
|
154
|
+
return R(" ");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
return
|
|
156
|
+
function Ye() {
|
|
157
|
+
return R("");
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function yr(e, t, r, n) {
|
|
160
160
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function M(e, t, r) {
|
|
163
163
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function pe(e, t, r) {
|
|
166
166
|
const n = t.toLowerCase();
|
|
167
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
167
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Er(e) {
|
|
170
170
|
return Array.from(e.childNodes);
|
|
171
171
|
}
|
|
172
172
|
function X(e, t) {
|
|
173
173
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
174
174
|
t);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function _r(e) {
|
|
177
177
|
const t = {};
|
|
178
178
|
return e.childNodes.forEach(
|
|
179
179
|
/** @param {Element} node */
|
|
@@ -194,91 +194,91 @@ function xr() {
|
|
|
194
194
|
function Tr(e) {
|
|
195
195
|
xr().$$.on_mount.push(e);
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const G = [], Fe = [];
|
|
198
198
|
let W = [];
|
|
199
|
-
const
|
|
200
|
-
let
|
|
201
|
-
function
|
|
202
|
-
|
|
199
|
+
const st = [], kr = /* @__PURE__ */ Promise.resolve();
|
|
200
|
+
let $e = !1;
|
|
201
|
+
function wr() {
|
|
202
|
+
$e || ($e = !0, kr.then(P));
|
|
203
203
|
}
|
|
204
204
|
function ze(e) {
|
|
205
205
|
W.push(e);
|
|
206
206
|
}
|
|
207
|
-
const
|
|
208
|
-
let
|
|
209
|
-
function
|
|
210
|
-
if (
|
|
207
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
208
|
+
let $ = 0;
|
|
209
|
+
function P() {
|
|
210
|
+
if ($ !== 0)
|
|
211
211
|
return;
|
|
212
212
|
const e = ie;
|
|
213
213
|
do {
|
|
214
214
|
try {
|
|
215
|
-
for (;
|
|
216
|
-
const t =
|
|
217
|
-
|
|
215
|
+
for (; $ < G.length; ) {
|
|
216
|
+
const t = G[$];
|
|
217
|
+
$++, ne(t), Sr(t.$$);
|
|
218
218
|
}
|
|
219
219
|
} catch (t) {
|
|
220
|
-
throw
|
|
220
|
+
throw G.length = 0, $ = 0, t;
|
|
221
221
|
}
|
|
222
|
-
for (ne(null),
|
|
223
|
-
|
|
222
|
+
for (ne(null), G.length = 0, $ = 0; Fe.length; )
|
|
223
|
+
Fe.pop()();
|
|
224
224
|
for (let t = 0; t < W.length; t += 1) {
|
|
225
225
|
const r = W[t];
|
|
226
|
-
|
|
226
|
+
Pe.has(r) || (Pe.add(r), r());
|
|
227
227
|
}
|
|
228
228
|
W.length = 0;
|
|
229
|
-
} while (
|
|
230
|
-
for (;
|
|
231
|
-
|
|
232
|
-
|
|
229
|
+
} while (G.length);
|
|
230
|
+
for (; st.length; )
|
|
231
|
+
st.pop()();
|
|
232
|
+
$e = !1, Pe.clear(), ne(e);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Sr(e) {
|
|
235
235
|
if (e.fragment !== null) {
|
|
236
|
-
e.update(),
|
|
236
|
+
e.update(), oe(e.before_update);
|
|
237
237
|
const t = e.dirty;
|
|
238
238
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Ar(e) {
|
|
242
242
|
const t = [], r = [];
|
|
243
243
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
244
244
|
}
|
|
245
|
-
const
|
|
246
|
-
let
|
|
245
|
+
const ye = /* @__PURE__ */ new Set();
|
|
246
|
+
let Ir;
|
|
247
247
|
function te(e, t) {
|
|
248
|
-
e && e.i && (
|
|
248
|
+
e && e.i && (ye.delete(e), e.i(t));
|
|
249
249
|
}
|
|
250
250
|
function be(e, t, r, n) {
|
|
251
251
|
if (e && e.o) {
|
|
252
|
-
if (
|
|
252
|
+
if (ye.has(e))
|
|
253
253
|
return;
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
ye.add(e), Ir.c.push(() => {
|
|
255
|
+
ye.delete(e);
|
|
256
256
|
}), e.o(t);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Br(e, t, r) {
|
|
260
260
|
const { fragment: n, after_update: i } = e.$$;
|
|
261
261
|
n && n.m(t, r), ze(() => {
|
|
262
|
-
const a = e.$$.on_mount.map(
|
|
263
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...a) :
|
|
262
|
+
const a = e.$$.on_mount.map(Ht).filter(Ze);
|
|
263
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : oe(a), e.$$.on_mount = [];
|
|
264
264
|
}), i.forEach(ze);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Hr(e, t) {
|
|
267
267
|
const r = e.$$;
|
|
268
|
-
r.fragment !== null && (
|
|
268
|
+
r.fragment !== null && (Ar(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
e.$$.dirty[0] === -1 && (
|
|
270
|
+
function Cr(e, t) {
|
|
271
|
+
e.$$.dirty[0] === -1 && (G.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
const
|
|
273
|
+
function Lr(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
274
|
+
const u = ie;
|
|
275
275
|
ne(e);
|
|
276
|
-
const
|
|
276
|
+
const l = e.$$ = {
|
|
277
277
|
fragment: null,
|
|
278
278
|
ctx: [],
|
|
279
279
|
// state
|
|
280
280
|
props: a,
|
|
281
|
-
update:
|
|
281
|
+
update: O,
|
|
282
282
|
not_equal: i,
|
|
283
283
|
bound: it(),
|
|
284
284
|
// lifecycle
|
|
@@ -287,50 +287,50 @@ function Ir(e, t, r, n, i, a, o = null, s = [-1]) {
|
|
|
287
287
|
on_disconnect: [],
|
|
288
288
|
before_update: [],
|
|
289
289
|
after_update: [],
|
|
290
|
-
context: new Map(t.context || (
|
|
290
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
291
291
|
// everything else
|
|
292
292
|
callbacks: it(),
|
|
293
|
-
dirty:
|
|
293
|
+
dirty: o,
|
|
294
294
|
skip_bound: !1,
|
|
295
|
-
root: t.target ||
|
|
295
|
+
root: t.target || u.$$.root
|
|
296
296
|
};
|
|
297
|
-
|
|
298
|
-
let
|
|
299
|
-
if (
|
|
300
|
-
const
|
|
301
|
-
return
|
|
302
|
-
}) : [],
|
|
297
|
+
s && s(l.root);
|
|
298
|
+
let c = !1;
|
|
299
|
+
if (l.ctx = r ? r(e, t.props || {}, (h, d, ...g) => {
|
|
300
|
+
const p = g.length ? g[0] : d;
|
|
301
|
+
return l.ctx && i(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), c && Cr(e, h)), d;
|
|
302
|
+
}) : [], l.update(), c = !0, oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
303
303
|
if (t.hydrate) {
|
|
304
|
-
const
|
|
305
|
-
|
|
304
|
+
const h = Er(t.target);
|
|
305
|
+
l.fragment && l.fragment.l(h), h.forEach(S);
|
|
306
306
|
} else
|
|
307
|
-
|
|
308
|
-
t.intro && te(e.$$.fragment),
|
|
307
|
+
l.fragment && l.fragment.c();
|
|
308
|
+
t.intro && te(e.$$.fragment), Br(e, t.target, t.anchor), P();
|
|
309
309
|
}
|
|
310
|
-
ne(
|
|
310
|
+
ne(u);
|
|
311
311
|
}
|
|
312
|
-
let
|
|
313
|
-
typeof HTMLElement == "function" && (
|
|
312
|
+
let Ot;
|
|
313
|
+
typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
314
314
|
constructor(t, r, n) {
|
|
315
315
|
super();
|
|
316
316
|
/** The Svelte component constructor */
|
|
317
|
-
|
|
317
|
+
I(this, "$$ctor");
|
|
318
318
|
/** Slots */
|
|
319
|
-
|
|
319
|
+
I(this, "$$s");
|
|
320
320
|
/** The Svelte component instance */
|
|
321
|
-
|
|
321
|
+
I(this, "$$c");
|
|
322
322
|
/** Whether or not the custom element is connected */
|
|
323
|
-
|
|
323
|
+
I(this, "$$cn", !1);
|
|
324
324
|
/** Component props data */
|
|
325
|
-
|
|
325
|
+
I(this, "$$d", {});
|
|
326
326
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
327
|
-
|
|
327
|
+
I(this, "$$r", !1);
|
|
328
328
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
329
|
-
|
|
329
|
+
I(this, "$$p_d", {});
|
|
330
330
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
331
|
-
|
|
331
|
+
I(this, "$$l", {});
|
|
332
332
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
333
|
-
|
|
333
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
334
334
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
335
335
|
}
|
|
336
336
|
addEventListener(t, r, n) {
|
|
@@ -347,36 +347,36 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
connectedCallback() {
|
|
350
|
-
return
|
|
350
|
+
return Le(this, null, function* () {
|
|
351
351
|
if (this.$$cn = !0, !this.$$c) {
|
|
352
352
|
let t = function(a) {
|
|
353
353
|
return () => {
|
|
354
|
-
let
|
|
354
|
+
let s;
|
|
355
355
|
return {
|
|
356
356
|
c: function() {
|
|
357
|
-
|
|
357
|
+
s = H("slot"), a !== "default" && M(s, "name", a);
|
|
358
358
|
},
|
|
359
359
|
/**
|
|
360
360
|
* @param {HTMLElement} target
|
|
361
361
|
* @param {HTMLElement} [anchor]
|
|
362
362
|
*/
|
|
363
|
-
m: function(
|
|
364
|
-
|
|
363
|
+
m: function(l, c) {
|
|
364
|
+
A(l, s, c);
|
|
365
365
|
},
|
|
366
|
-
d: function(
|
|
367
|
-
|
|
366
|
+
d: function(l) {
|
|
367
|
+
l && S(s);
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
};
|
|
371
371
|
};
|
|
372
372
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
373
373
|
return;
|
|
374
|
-
const r = {}, n =
|
|
374
|
+
const r = {}, n = _r(this);
|
|
375
375
|
for (const a of this.$$s)
|
|
376
376
|
a in n && (r[a] = [t(a)]);
|
|
377
377
|
for (const a of this.attributes) {
|
|
378
|
-
const
|
|
379
|
-
|
|
378
|
+
const s = this.$$g_p(a.name);
|
|
379
|
+
s in this.$$d || (this.$$d[s] = Ee(s, a.value, this.$$p_d, "toProp"));
|
|
380
380
|
}
|
|
381
381
|
for (const a in this.$$p_d)
|
|
382
382
|
!(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
|
|
@@ -393,21 +393,21 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
393
393
|
this.$$r = !0;
|
|
394
394
|
for (const a in this.$$p_d)
|
|
395
395
|
if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
|
|
396
|
-
const
|
|
396
|
+
const s = Ee(
|
|
397
397
|
a,
|
|
398
398
|
this.$$d[a],
|
|
399
399
|
this.$$p_d,
|
|
400
400
|
"toAttribute"
|
|
401
401
|
);
|
|
402
|
-
|
|
402
|
+
s == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, s);
|
|
403
403
|
}
|
|
404
404
|
this.$$r = !1;
|
|
405
405
|
};
|
|
406
406
|
this.$$c.$$.after_update.push(i), i();
|
|
407
407
|
for (const a in this.$$l)
|
|
408
|
-
for (const
|
|
409
|
-
const
|
|
410
|
-
this.$$l_u.set(
|
|
408
|
+
for (const s of this.$$l[a]) {
|
|
409
|
+
const o = this.$$c.$on(a, s);
|
|
410
|
+
this.$$l_u.set(s, o);
|
|
411
411
|
}
|
|
412
412
|
this.$$l = {};
|
|
413
413
|
}
|
|
@@ -417,7 +417,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
417
417
|
// and setting attributes through setAttribute etc, this is helpful
|
|
418
418
|
attributeChangedCallback(t, r, n) {
|
|
419
419
|
var i;
|
|
420
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
420
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
421
421
|
}
|
|
422
422
|
disconnectedCallback() {
|
|
423
423
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -430,7 +430,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
430
430
|
) || t;
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
|
-
function
|
|
433
|
+
function Ee(e, t, r, n) {
|
|
434
434
|
var a;
|
|
435
435
|
const i = (a = r[e]) == null ? void 0 : a.type;
|
|
436
436
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -460,38 +460,38 @@ function _e(e, t, r, n) {
|
|
|
460
460
|
return t;
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
let
|
|
463
|
+
function Pr(e, t, r, n, i, a) {
|
|
464
|
+
let s = class extends Ot {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(e, r, i), this.$$p_d = t;
|
|
467
467
|
}
|
|
468
468
|
static get observedAttributes() {
|
|
469
469
|
return Object.keys(t).map(
|
|
470
|
-
(
|
|
470
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
471
471
|
);
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
|
-
return Object.keys(t).forEach((
|
|
475
|
-
Object.defineProperty(
|
|
474
|
+
return Object.keys(t).forEach((o) => {
|
|
475
|
+
Object.defineProperty(s.prototype, o, {
|
|
476
476
|
get() {
|
|
477
|
-
return this.$$c &&
|
|
477
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
478
478
|
},
|
|
479
|
-
set(
|
|
480
|
-
var
|
|
481
|
-
|
|
479
|
+
set(u) {
|
|
480
|
+
var l;
|
|
481
|
+
u = Ee(o, u, t), this.$$d[o] = u, (l = this.$$c) == null || l.$set({ [o]: u });
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
|
-
}), n.forEach((
|
|
485
|
-
Object.defineProperty(
|
|
484
|
+
}), n.forEach((o) => {
|
|
485
|
+
Object.defineProperty(s.prototype, o, {
|
|
486
486
|
get() {
|
|
487
|
-
var
|
|
488
|
-
return (
|
|
487
|
+
var u;
|
|
488
|
+
return (u = this.$$c) == null ? void 0 : u[o];
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
}), e.element = /** @type {any} */
|
|
492
|
-
|
|
492
|
+
s, s;
|
|
493
493
|
}
|
|
494
|
-
class
|
|
494
|
+
class Or {
|
|
495
495
|
constructor() {
|
|
496
496
|
/**
|
|
497
497
|
* ### PRIVATE API
|
|
@@ -500,7 +500,7 @@ class Mr {
|
|
|
500
500
|
*
|
|
501
501
|
* @type {any}
|
|
502
502
|
*/
|
|
503
|
-
|
|
503
|
+
I(this, "$$");
|
|
504
504
|
/**
|
|
505
505
|
* ### PRIVATE API
|
|
506
506
|
*
|
|
@@ -508,11 +508,11 @@ class Mr {
|
|
|
508
508
|
*
|
|
509
509
|
* @type {any}
|
|
510
510
|
*/
|
|
511
|
-
|
|
511
|
+
I(this, "$$set");
|
|
512
512
|
}
|
|
513
513
|
/** @returns {void} */
|
|
514
514
|
$destroy() {
|
|
515
|
-
|
|
515
|
+
Hr(this, 1), this.$destroy = O;
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
518
518
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -521,8 +521,8 @@ class Mr {
|
|
|
521
521
|
* @returns {() => void}
|
|
522
522
|
*/
|
|
523
523
|
$on(t, r) {
|
|
524
|
-
if (!
|
|
525
|
-
return
|
|
524
|
+
if (!Ze(r))
|
|
525
|
+
return O;
|
|
526
526
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
527
527
|
return n.push(r), () => {
|
|
528
528
|
const i = n.indexOf(r);
|
|
@@ -537,16 +537,16 @@ class Mr {
|
|
|
537
537
|
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
const
|
|
541
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
540
|
+
const Mr = "4";
|
|
541
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
|
|
542
542
|
const j = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
543
|
-
function
|
|
543
|
+
function Dr(e, t) {
|
|
544
544
|
if (e) {
|
|
545
545
|
const r = document.createElement("style");
|
|
546
546
|
r.innerHTML = t, e.appendChild(r);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Nr(e, t) {
|
|
550
550
|
if (!e || !t)
|
|
551
551
|
return;
|
|
552
552
|
const r = new URL(t);
|
|
@@ -557,28 +557,28 @@ function Dr(e, t) {
|
|
|
557
557
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Rr(e, t, r, n = !1) {
|
|
561
561
|
if (!window.emMessageBus)
|
|
562
562
|
return;
|
|
563
563
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
564
|
-
return r =
|
|
565
|
-
window[j] || (window[j] = {}), r =
|
|
566
|
-
const a = r.unsubscribe.bind(r),
|
|
564
|
+
return r = Ur(e, t), r;
|
|
565
|
+
window[j] || (window[j] = {}), r = Fr(e, t);
|
|
566
|
+
const a = r.unsubscribe.bind(r), s = () => {
|
|
567
567
|
if (window[j][t]) {
|
|
568
|
-
const
|
|
569
|
-
|
|
568
|
+
const o = window[j][t];
|
|
569
|
+
o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[j][t];
|
|
570
570
|
}
|
|
571
571
|
a();
|
|
572
572
|
};
|
|
573
|
-
return r.unsubscribe =
|
|
573
|
+
return r.unsubscribe = s, r;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function Ur(e, t) {
|
|
576
576
|
const r = document.createElement("style");
|
|
577
577
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
578
578
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Fr(e, t) {
|
|
582
582
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
583
583
|
if (!e)
|
|
584
584
|
return;
|
|
@@ -588,77 +588,77 @@ function Ur(e, t) {
|
|
|
588
588
|
sheet: a,
|
|
589
589
|
refCount: 1
|
|
590
590
|
});
|
|
591
|
-
const
|
|
592
|
-
|
|
591
|
+
const s = n.adoptedStyleSheets || [];
|
|
592
|
+
s.includes(a) || (n.adoptedStyleSheets = [...s, a]);
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
595
|
const z = [];
|
|
596
|
-
function
|
|
596
|
+
function $r(e, t) {
|
|
597
597
|
return {
|
|
598
|
-
subscribe:
|
|
598
|
+
subscribe: Ae(e, t).subscribe
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Ae(e, t = O) {
|
|
602
602
|
let r;
|
|
603
603
|
const n = /* @__PURE__ */ new Set();
|
|
604
|
-
function i(
|
|
605
|
-
if (
|
|
606
|
-
const
|
|
607
|
-
for (const
|
|
608
|
-
|
|
609
|
-
if (
|
|
610
|
-
for (let
|
|
611
|
-
z[
|
|
604
|
+
function i(o) {
|
|
605
|
+
if (Ct(e, o) && (e = o, r)) {
|
|
606
|
+
const u = !z.length;
|
|
607
|
+
for (const l of n)
|
|
608
|
+
l[1](), z.push(l, e);
|
|
609
|
+
if (u) {
|
|
610
|
+
for (let l = 0; l < z.length; l += 2)
|
|
611
|
+
z[l][0](z[l + 1]);
|
|
612
612
|
z.length = 0;
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function a(
|
|
617
|
-
i(
|
|
616
|
+
function a(o) {
|
|
617
|
+
i(o(e));
|
|
618
618
|
}
|
|
619
|
-
function o
|
|
620
|
-
const
|
|
621
|
-
return n.add(
|
|
622
|
-
n.delete(
|
|
619
|
+
function s(o, u = O) {
|
|
620
|
+
const l = [o, u];
|
|
621
|
+
return n.add(l), n.size === 1 && (r = t(i, a) || O), o(e), () => {
|
|
622
|
+
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
|
-
return { set: i, update: a, subscribe:
|
|
625
|
+
return { set: i, update: a, subscribe: s };
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Y(e, t, r) {
|
|
628
628
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
629
629
|
if (!i.every(Boolean))
|
|
630
630
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
631
631
|
const a = t.length < 2;
|
|
632
|
-
return
|
|
633
|
-
let
|
|
634
|
-
const
|
|
635
|
-
let
|
|
636
|
-
const
|
|
637
|
-
if (
|
|
632
|
+
return $r(r, (s, o) => {
|
|
633
|
+
let u = !1;
|
|
634
|
+
const l = [];
|
|
635
|
+
let c = 0, h = O;
|
|
636
|
+
const d = () => {
|
|
637
|
+
if (c)
|
|
638
638
|
return;
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
a ?
|
|
642
|
-
},
|
|
643
|
-
(
|
|
644
|
-
|
|
645
|
-
(
|
|
646
|
-
|
|
639
|
+
h();
|
|
640
|
+
const p = t(n ? l[0] : l, s, o);
|
|
641
|
+
a ? s(p) : h = Ze(p) ? p : O;
|
|
642
|
+
}, g = i.map(
|
|
643
|
+
(p, x) => Lt(
|
|
644
|
+
p,
|
|
645
|
+
(k) => {
|
|
646
|
+
l[x] = k, c &= ~(1 << x), u && d();
|
|
647
647
|
},
|
|
648
648
|
() => {
|
|
649
|
-
|
|
649
|
+
c |= 1 << x;
|
|
650
650
|
}
|
|
651
651
|
)
|
|
652
652
|
);
|
|
653
|
-
return
|
|
654
|
-
|
|
653
|
+
return u = !0, d(), function() {
|
|
654
|
+
oe(g), h(), u = !1;
|
|
655
655
|
};
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
658
|
function zr(e) {
|
|
659
659
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
660
660
|
}
|
|
661
|
-
var
|
|
661
|
+
var Gr = function(t) {
|
|
662
662
|
return jr(t) && !Vr(t);
|
|
663
663
|
};
|
|
664
664
|
function jr(e) {
|
|
@@ -678,45 +678,45 @@ function Jr(e) {
|
|
|
678
678
|
function ae(e, t) {
|
|
679
679
|
return t.clone !== !1 && t.isMergeableObject(e) ? q(Jr(e), e, t) : e;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function Kr(e, t, r) {
|
|
682
682
|
return e.concat(t).map(function(n) {
|
|
683
683
|
return ae(n, r);
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function Zr(e, t) {
|
|
687
687
|
if (!t.customMerge)
|
|
688
688
|
return q;
|
|
689
689
|
var r = t.customMerge(e);
|
|
690
690
|
return typeof r == "function" ? r : q;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function Yr(e) {
|
|
693
693
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
694
694
|
return Object.propertyIsEnumerable.call(e, t);
|
|
695
695
|
}) : [];
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
return Object.keys(e).concat(
|
|
697
|
+
function ot(e) {
|
|
698
|
+
return Object.keys(e).concat(Yr(e));
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Mt(e, t) {
|
|
701
701
|
try {
|
|
702
702
|
return t in e;
|
|
703
703
|
} catch (r) {
|
|
704
704
|
return !1;
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
|
-
function
|
|
708
|
-
return
|
|
707
|
+
function Qr(e, t) {
|
|
708
|
+
return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
709
709
|
}
|
|
710
710
|
function en(e, t, r) {
|
|
711
711
|
var n = {};
|
|
712
|
-
return r.isMergeableObject(e) &&
|
|
712
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
713
713
|
n[i] = ae(e[i], r);
|
|
714
|
-
}),
|
|
715
|
-
|
|
714
|
+
}), ot(t).forEach(function(i) {
|
|
715
|
+
Qr(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
716
716
|
}), n;
|
|
717
717
|
}
|
|
718
718
|
function q(e, t, r) {
|
|
719
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
719
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = ae;
|
|
720
720
|
var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
|
|
721
721
|
return a ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ae(t, r);
|
|
722
722
|
}
|
|
@@ -729,32 +729,32 @@ q.all = function(t, r) {
|
|
|
729
729
|
};
|
|
730
730
|
var tn = q, rn = tn;
|
|
731
731
|
const nn = /* @__PURE__ */ zr(rn);
|
|
732
|
-
var
|
|
733
|
-
return
|
|
732
|
+
var Ge = function(e, t) {
|
|
733
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
734
734
|
r.__proto__ = n;
|
|
735
735
|
} || function(r, n) {
|
|
736
736
|
for (var i in n)
|
|
737
737
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
738
|
-
},
|
|
738
|
+
}, Ge(e, t);
|
|
739
739
|
};
|
|
740
|
-
function
|
|
740
|
+
function Ie(e, t) {
|
|
741
741
|
if (typeof t != "function" && t !== null)
|
|
742
742
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
743
|
-
|
|
743
|
+
Ge(e, t);
|
|
744
744
|
function r() {
|
|
745
745
|
this.constructor = e;
|
|
746
746
|
}
|
|
747
747
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
748
748
|
}
|
|
749
|
-
var
|
|
750
|
-
return
|
|
749
|
+
var C = function() {
|
|
750
|
+
return C = Object.assign || function(t) {
|
|
751
751
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
752
752
|
r = arguments[n];
|
|
753
753
|
for (var a in r)
|
|
754
754
|
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
755
755
|
}
|
|
756
756
|
return t;
|
|
757
|
-
},
|
|
757
|
+
}, C.apply(this, arguments);
|
|
758
758
|
};
|
|
759
759
|
function an(e, t) {
|
|
760
760
|
var r = {};
|
|
@@ -765,43 +765,43 @@ function an(e, t) {
|
|
|
765
765
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
766
766
|
return r;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Oe(e, t, r) {
|
|
769
769
|
if (r || arguments.length === 2)
|
|
770
770
|
for (var n = 0, i = t.length, a; n < i; n++)
|
|
771
771
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
772
772
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
var r = t && t.cache ? t.cache :
|
|
774
|
+
function Me(e, t) {
|
|
775
|
+
var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : ln;
|
|
776
776
|
return i(e, {
|
|
777
777
|
cache: r,
|
|
778
778
|
serializer: n
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function sn(e) {
|
|
782
782
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
783
783
|
}
|
|
784
|
-
function
|
|
785
|
-
var i =
|
|
784
|
+
function on(e, t, r, n) {
|
|
785
|
+
var i = sn(n) ? n : r(n), a = t.get(i);
|
|
786
786
|
return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Dt(e, t, r) {
|
|
789
789
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
|
|
790
790
|
return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Nt(e, t, r, n, i) {
|
|
793
793
|
return r.bind(t, e, n, i);
|
|
794
794
|
}
|
|
795
|
-
function un(e, t) {
|
|
796
|
-
var r = e.length === 1 ? sn : Rt;
|
|
797
|
-
return Dt(e, this, r, t.cache.create(), t.serializer);
|
|
798
|
-
}
|
|
799
795
|
function ln(e, t) {
|
|
800
|
-
|
|
796
|
+
var r = e.length === 1 ? on : Dt;
|
|
797
|
+
return Nt(e, this, r, t.cache.create(), t.serializer);
|
|
798
|
+
}
|
|
799
|
+
function un(e, t) {
|
|
800
|
+
return Nt(e, this, Dt, t.cache.create(), t.serializer);
|
|
801
801
|
}
|
|
802
|
-
var
|
|
802
|
+
var cn = function() {
|
|
803
803
|
return JSON.stringify(arguments);
|
|
804
|
-
},
|
|
804
|
+
}, hn = (
|
|
805
805
|
/** @class */
|
|
806
806
|
function() {
|
|
807
807
|
function e() {
|
|
@@ -813,12 +813,12 @@ var hn = function() {
|
|
|
813
813
|
this.cache[t] = r;
|
|
814
814
|
}, e;
|
|
815
815
|
}()
|
|
816
|
-
),
|
|
816
|
+
), dn = {
|
|
817
817
|
create: function() {
|
|
818
|
-
return new
|
|
818
|
+
return new hn();
|
|
819
819
|
}
|
|
820
|
-
},
|
|
821
|
-
variadic:
|
|
820
|
+
}, De = {
|
|
821
|
+
variadic: un
|
|
822
822
|
}, Te = function() {
|
|
823
823
|
return Te = Object.assign || function(t) {
|
|
824
824
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -833,40 +833,40 @@ var b;
|
|
|
833
833
|
(function(e) {
|
|
834
834
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
835
835
|
})(b || (b = {}));
|
|
836
|
-
var
|
|
836
|
+
var E;
|
|
837
837
|
(function(e) {
|
|
838
838
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
839
|
-
})(
|
|
839
|
+
})(E || (E = {}));
|
|
840
840
|
var J;
|
|
841
841
|
(function(e) {
|
|
842
842
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
843
843
|
})(J || (J = {}));
|
|
844
|
-
function
|
|
845
|
-
return e.type ===
|
|
844
|
+
function lt(e) {
|
|
845
|
+
return e.type === E.literal;
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
return e.type ===
|
|
847
|
+
function fn(e) {
|
|
848
|
+
return e.type === E.argument;
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
return e.type ===
|
|
852
|
-
}
|
|
853
|
-
function $t(e) {
|
|
854
|
-
return e.type === _.date;
|
|
850
|
+
function Rt(e) {
|
|
851
|
+
return e.type === E.number;
|
|
855
852
|
}
|
|
856
853
|
function Ut(e) {
|
|
857
|
-
return e.type ===
|
|
854
|
+
return e.type === E.date;
|
|
858
855
|
}
|
|
859
|
-
function
|
|
860
|
-
return e.type ===
|
|
856
|
+
function Ft(e) {
|
|
857
|
+
return e.type === E.time;
|
|
858
|
+
}
|
|
859
|
+
function $t(e) {
|
|
860
|
+
return e.type === E.select;
|
|
861
861
|
}
|
|
862
862
|
function zt(e) {
|
|
863
|
-
return e.type ===
|
|
863
|
+
return e.type === E.plural;
|
|
864
864
|
}
|
|
865
865
|
function mn(e) {
|
|
866
|
-
return e.type ===
|
|
866
|
+
return e.type === E.pound;
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
return e.type ===
|
|
868
|
+
function Gt(e) {
|
|
869
|
+
return e.type === E.tag;
|
|
870
870
|
}
|
|
871
871
|
function jt(e) {
|
|
872
872
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
@@ -874,10 +874,10 @@ function jt(e) {
|
|
|
874
874
|
function je(e) {
|
|
875
875
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
876
876
|
}
|
|
877
|
-
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
878
|
-
function
|
|
877
|
+
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[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;
|
|
878
|
+
function pn(e) {
|
|
879
879
|
var t = {};
|
|
880
|
-
return e.replace(
|
|
880
|
+
return e.replace(gn, function(r) {
|
|
881
881
|
var n = r.length;
|
|
882
882
|
switch (r[0]) {
|
|
883
883
|
case "G":
|
|
@@ -966,40 +966,40 @@ function gn(e) {
|
|
|
966
966
|
return "";
|
|
967
967
|
}), t;
|
|
968
968
|
}
|
|
969
|
-
var
|
|
970
|
-
return
|
|
969
|
+
var _ = function() {
|
|
970
|
+
return _ = Object.assign || function(t) {
|
|
971
971
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
972
972
|
r = arguments[n];
|
|
973
973
|
for (var a in r)
|
|
974
974
|
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
975
975
|
}
|
|
976
976
|
return t;
|
|
977
|
-
},
|
|
977
|
+
}, _.apply(this, arguments);
|
|
978
978
|
};
|
|
979
979
|
var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
980
|
-
function
|
|
980
|
+
function vn(e) {
|
|
981
981
|
if (e.length === 0)
|
|
982
982
|
throw new Error("Number skeleton cannot be empty");
|
|
983
|
-
for (var t = e.split(bn).filter(function(
|
|
984
|
-
return
|
|
983
|
+
for (var t = e.split(bn).filter(function(d) {
|
|
984
|
+
return d.length > 0;
|
|
985
985
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
986
|
-
var a = i[n],
|
|
987
|
-
if (
|
|
986
|
+
var a = i[n], s = a.split("/");
|
|
987
|
+
if (s.length === 0)
|
|
988
988
|
throw new Error("Invalid number skeleton");
|
|
989
|
-
for (var
|
|
990
|
-
var
|
|
991
|
-
if (
|
|
989
|
+
for (var o = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
990
|
+
var h = c[l];
|
|
991
|
+
if (h.length === 0)
|
|
992
992
|
throw new Error("Invalid number skeleton");
|
|
993
993
|
}
|
|
994
|
-
r.push({ stem:
|
|
994
|
+
r.push({ stem: o, options: u });
|
|
995
995
|
}
|
|
996
996
|
return r;
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function yn(e) {
|
|
999
999
|
return e.replace(/^(.*?)-/, "");
|
|
1000
1000
|
}
|
|
1001
|
-
var
|
|
1002
|
-
function
|
|
1001
|
+
var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
1002
|
+
function ct(e) {
|
|
1003
1003
|
var t = {};
|
|
1004
1004
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
|
|
1005
1005
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
@@ -1045,7 +1045,7 @@ function qt(e) {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function _n(e) {
|
|
1049
1049
|
var t;
|
|
1050
1050
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1051
1051
|
notation: "engineering"
|
|
@@ -1059,7 +1059,7 @@ function En(e) {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
return t;
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function ht(e) {
|
|
1063
1063
|
var t = {}, r = qt(e);
|
|
1064
1064
|
return r || t;
|
|
1065
1065
|
}
|
|
@@ -1087,7 +1087,7 @@ function xn(e) {
|
|
|
1087
1087
|
continue;
|
|
1088
1088
|
case "measure-unit":
|
|
1089
1089
|
case "unit":
|
|
1090
|
-
t.style = "unit", t.unit =
|
|
1090
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1091
1091
|
continue;
|
|
1092
1092
|
case "compact-short":
|
|
1093
1093
|
case "K":
|
|
@@ -1098,13 +1098,13 @@ function xn(e) {
|
|
|
1098
1098
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1099
1099
|
continue;
|
|
1100
1100
|
case "scientific":
|
|
1101
|
-
t =
|
|
1102
|
-
return
|
|
1101
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1102
|
+
return _(_({}, u), ht(l));
|
|
1103
1103
|
}, {}));
|
|
1104
1104
|
continue;
|
|
1105
1105
|
case "engineering":
|
|
1106
|
-
t =
|
|
1107
|
-
return
|
|
1106
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1107
|
+
return _(_({}, u), ht(l));
|
|
1108
1108
|
}, {}));
|
|
1109
1109
|
continue;
|
|
1110
1110
|
case "notation-simple":
|
|
@@ -1149,13 +1149,13 @@ function xn(e) {
|
|
|
1149
1149
|
case "integer-width":
|
|
1150
1150
|
if (i.options.length > 1)
|
|
1151
1151
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1152
|
-
i.options[0].replace(
|
|
1153
|
-
if (
|
|
1154
|
-
t.minimumIntegerDigits =
|
|
1152
|
+
i.options[0].replace(En, function(u, l, c, h, d, g) {
|
|
1153
|
+
if (l)
|
|
1154
|
+
t.minimumIntegerDigits = c.length;
|
|
1155
1155
|
else {
|
|
1156
|
-
if (
|
|
1156
|
+
if (h && d)
|
|
1157
1157
|
throw new Error("We currently do not support maximum integer digits");
|
|
1158
|
-
if (
|
|
1158
|
+
if (g)
|
|
1159
1159
|
throw new Error("We currently do not support exact integer digits");
|
|
1160
1160
|
}
|
|
1161
1161
|
return "";
|
|
@@ -1166,28 +1166,28 @@ function xn(e) {
|
|
|
1166
1166
|
t.minimumIntegerDigits = i.stem.length;
|
|
1167
1167
|
continue;
|
|
1168
1168
|
}
|
|
1169
|
-
if (
|
|
1169
|
+
if (ut.test(i.stem)) {
|
|
1170
1170
|
if (i.options.length > 1)
|
|
1171
1171
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1172
|
-
i.stem.replace(
|
|
1173
|
-
return
|
|
1172
|
+
i.stem.replace(ut, function(u, l, c, h, d, g) {
|
|
1173
|
+
return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1174
1174
|
});
|
|
1175
1175
|
var a = i.options[0];
|
|
1176
|
-
a === "w" ? t =
|
|
1176
|
+
a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), ct(a)));
|
|
1177
1177
|
continue;
|
|
1178
1178
|
}
|
|
1179
1179
|
if (Wt.test(i.stem)) {
|
|
1180
|
-
t =
|
|
1180
|
+
t = _(_({}, t), ct(i.stem));
|
|
1181
1181
|
continue;
|
|
1182
1182
|
}
|
|
1183
|
-
var
|
|
1184
|
-
|
|
1185
|
-
var
|
|
1186
|
-
|
|
1183
|
+
var s = qt(i.stem);
|
|
1184
|
+
s && (t = _(_({}, t), s));
|
|
1185
|
+
var o = _n(i.stem);
|
|
1186
|
+
o && (t = _(_({}, t), o));
|
|
1187
1187
|
}
|
|
1188
1188
|
return t;
|
|
1189
1189
|
}
|
|
1190
|
-
var
|
|
1190
|
+
var ve = {
|
|
1191
1191
|
"001": [
|
|
1192
1192
|
"H",
|
|
1193
1193
|
"h"
|
|
@@ -2608,17 +2608,17 @@ function Tn(e, t) {
|
|
|
2608
2608
|
if (i === "j") {
|
|
2609
2609
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2610
2610
|
a++, n++;
|
|
2611
|
-
var
|
|
2612
|
-
for ((
|
|
2613
|
-
r +=
|
|
2614
|
-
for (;
|
|
2615
|
-
r =
|
|
2611
|
+
var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = kn(t);
|
|
2612
|
+
for ((l == "H" || l == "k") && (o = 0); o-- > 0; )
|
|
2613
|
+
r += u;
|
|
2614
|
+
for (; s-- > 0; )
|
|
2615
|
+
r = l + r;
|
|
2616
2616
|
} else
|
|
2617
2617
|
i === "J" ? r += "H" : r += i;
|
|
2618
2618
|
}
|
|
2619
2619
|
return r;
|
|
2620
2620
|
}
|
|
2621
|
-
function
|
|
2621
|
+
function kn(e) {
|
|
2622
2622
|
var t = e.hourCycle;
|
|
2623
2623
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2624
2624
|
e.hourCycles && // @ts-ignore
|
|
@@ -2637,23 +2637,23 @@ function wn(e) {
|
|
|
2637
2637
|
}
|
|
2638
2638
|
var r = e.language, n;
|
|
2639
2639
|
r !== "root" && (n = e.maximize().region);
|
|
2640
|
-
var i =
|
|
2640
|
+
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
2641
2641
|
return i[0];
|
|
2642
2642
|
}
|
|
2643
|
-
var
|
|
2644
|
-
function
|
|
2643
|
+
var Ne, wn = new RegExp("^".concat(Vt.source, "*")), Sn = new RegExp("".concat(Vt.source, "*$"));
|
|
2644
|
+
function v(e, t) {
|
|
2645
2645
|
return { start: e, end: t };
|
|
2646
2646
|
}
|
|
2647
|
-
var
|
|
2647
|
+
var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Bn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, On = Pn ? Number.isSafeInteger : function(e) {
|
|
2648
2648
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2649
2649
|
}, Ve = !0;
|
|
2650
2650
|
try {
|
|
2651
|
-
var
|
|
2652
|
-
Ve = ((
|
|
2651
|
+
var Mn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2652
|
+
Ve = ((Ne = Mn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
|
|
2653
2653
|
} catch (e) {
|
|
2654
2654
|
Ve = !1;
|
|
2655
2655
|
}
|
|
2656
|
-
var
|
|
2656
|
+
var dt = An ? (
|
|
2657
2657
|
// Native
|
|
2658
2658
|
function(t, r, n) {
|
|
2659
2659
|
return t.startsWith(r, n);
|
|
@@ -2663,31 +2663,31 @@ var ft = Sn ? (
|
|
|
2663
2663
|
function(t, r, n) {
|
|
2664
2664
|
return t.slice(n, n + r.length) === r;
|
|
2665
2665
|
}
|
|
2666
|
-
), We =
|
|
2666
|
+
), We = In ? String.fromCodePoint : (
|
|
2667
2667
|
// IE11
|
|
2668
2668
|
function() {
|
|
2669
2669
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2670
2670
|
t[r] = arguments[r];
|
|
2671
|
-
for (var n = "", i = t.length, a = 0,
|
|
2672
|
-
if (
|
|
2673
|
-
throw RangeError(
|
|
2674
|
-
n +=
|
|
2671
|
+
for (var n = "", i = t.length, a = 0, s; i > a; ) {
|
|
2672
|
+
if (s = t[a++], s > 1114111)
|
|
2673
|
+
throw RangeError(s + " is not a valid code point");
|
|
2674
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2675
2675
|
}
|
|
2676
2676
|
return n;
|
|
2677
2677
|
}
|
|
2678
|
-
),
|
|
2678
|
+
), ft = (
|
|
2679
2679
|
// native
|
|
2680
|
-
|
|
2680
|
+
Bn ? Object.fromEntries : (
|
|
2681
2681
|
// Ponyfill
|
|
2682
2682
|
function(t) {
|
|
2683
2683
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2684
|
-
var a = i[n],
|
|
2685
|
-
r[
|
|
2684
|
+
var a = i[n], s = a[0], o = a[1];
|
|
2685
|
+
r[s] = o;
|
|
2686
2686
|
}
|
|
2687
2687
|
return r;
|
|
2688
2688
|
}
|
|
2689
2689
|
)
|
|
2690
|
-
), Jt =
|
|
2690
|
+
), Jt = Hn ? (
|
|
2691
2691
|
// Native
|
|
2692
2692
|
function(t, r) {
|
|
2693
2693
|
return t.codePointAt(r);
|
|
@@ -2701,7 +2701,7 @@ var ft = Sn ? (
|
|
|
2701
2701
|
return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
|
-
),
|
|
2704
|
+
), Dn = Cn ? (
|
|
2705
2705
|
// Native
|
|
2706
2706
|
function(t) {
|
|
2707
2707
|
return t.trimStart();
|
|
@@ -2709,9 +2709,9 @@ var ft = Sn ? (
|
|
|
2709
2709
|
) : (
|
|
2710
2710
|
// Ponyfill
|
|
2711
2711
|
function(t) {
|
|
2712
|
-
return t.replace(
|
|
2712
|
+
return t.replace(wn, "");
|
|
2713
2713
|
}
|
|
2714
|
-
),
|
|
2714
|
+
), Nn = Ln ? (
|
|
2715
2715
|
// Native
|
|
2716
2716
|
function(t) {
|
|
2717
2717
|
return t.trimEnd();
|
|
@@ -2719,15 +2719,15 @@ var ft = Sn ? (
|
|
|
2719
2719
|
) : (
|
|
2720
2720
|
// Ponyfill
|
|
2721
2721
|
function(t) {
|
|
2722
|
-
return t.replace(
|
|
2722
|
+
return t.replace(Sn, "");
|
|
2723
2723
|
}
|
|
2724
2724
|
);
|
|
2725
|
-
function
|
|
2725
|
+
function Kt(e, t) {
|
|
2726
2726
|
return new RegExp(e, t);
|
|
2727
2727
|
}
|
|
2728
2728
|
var Xe;
|
|
2729
2729
|
if (Ve) {
|
|
2730
|
-
var mt =
|
|
2730
|
+
var mt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2731
2731
|
Xe = function(t, r) {
|
|
2732
2732
|
var n;
|
|
2733
2733
|
mt.lastIndex = r;
|
|
@@ -2738,13 +2738,13 @@ if (Ve) {
|
|
|
2738
2738
|
Xe = function(t, r) {
|
|
2739
2739
|
for (var n = []; ; ) {
|
|
2740
2740
|
var i = Jt(t, r);
|
|
2741
|
-
if (i === void 0 ||
|
|
2741
|
+
if (i === void 0 || Zt(i) || $n(i))
|
|
2742
2742
|
break;
|
|
2743
2743
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2744
2744
|
}
|
|
2745
2745
|
return We.apply(void 0, n);
|
|
2746
2746
|
};
|
|
2747
|
-
var
|
|
2747
|
+
var Rn = (
|
|
2748
2748
|
/** @class */
|
|
2749
2749
|
function() {
|
|
2750
2750
|
function e(t, r) {
|
|
@@ -2758,33 +2758,33 @@ var kn = (
|
|
|
2758
2758
|
for (var i = []; !this.isEOF(); ) {
|
|
2759
2759
|
var a = this.char();
|
|
2760
2760
|
if (a === 123) {
|
|
2761
|
-
var
|
|
2762
|
-
if (
|
|
2763
|
-
return
|
|
2764
|
-
i.push(
|
|
2761
|
+
var s = this.parseArgument(t, n);
|
|
2762
|
+
if (s.err)
|
|
2763
|
+
return s;
|
|
2764
|
+
i.push(s.val);
|
|
2765
2765
|
} else {
|
|
2766
2766
|
if (a === 125 && t > 0)
|
|
2767
2767
|
break;
|
|
2768
2768
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2769
|
-
var
|
|
2769
|
+
var o = this.clonePosition();
|
|
2770
2770
|
this.bump(), i.push({
|
|
2771
|
-
type:
|
|
2772
|
-
location:
|
|
2771
|
+
type: E.pound,
|
|
2772
|
+
location: v(o, this.clonePosition())
|
|
2773
2773
|
});
|
|
2774
2774
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2775
2775
|
if (n)
|
|
2776
2776
|
break;
|
|
2777
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
2777
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2778
2778
|
} else if (a === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
2779
|
-
var
|
|
2780
|
-
if (
|
|
2781
|
-
return
|
|
2782
|
-
i.push(
|
|
2779
|
+
var s = this.parseTag(t, r);
|
|
2780
|
+
if (s.err)
|
|
2781
|
+
return s;
|
|
2782
|
+
i.push(s.val);
|
|
2783
2783
|
} else {
|
|
2784
|
-
var
|
|
2785
|
-
if (
|
|
2786
|
-
return
|
|
2787
|
-
i.push(
|
|
2784
|
+
var s = this.parseLiteral(t, r);
|
|
2785
|
+
if (s.err)
|
|
2786
|
+
return s;
|
|
2787
|
+
i.push(s.val);
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
@@ -2796,9 +2796,9 @@ var kn = (
|
|
|
2796
2796
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2797
2797
|
return {
|
|
2798
2798
|
val: {
|
|
2799
|
-
type:
|
|
2799
|
+
type: E.literal,
|
|
2800
2800
|
value: "<".concat(i, "/>"),
|
|
2801
|
-
location:
|
|
2801
|
+
location: v(n, this.clonePosition())
|
|
2802
2802
|
},
|
|
2803
2803
|
err: null
|
|
2804
2804
|
};
|
|
@@ -2806,27 +2806,27 @@ var kn = (
|
|
|
2806
2806
|
var a = this.parseMessage(t + 1, r, !0);
|
|
2807
2807
|
if (a.err)
|
|
2808
2808
|
return a;
|
|
2809
|
-
var
|
|
2809
|
+
var s = a.val, o = this.clonePosition();
|
|
2810
2810
|
if (this.bumpIf("</")) {
|
|
2811
2811
|
if (this.isEOF() || !qe(this.char()))
|
|
2812
|
-
return this.error(b.INVALID_TAG,
|
|
2813
|
-
var
|
|
2814
|
-
return i !==
|
|
2812
|
+
return this.error(b.INVALID_TAG, v(o, this.clonePosition()));
|
|
2813
|
+
var u = this.clonePosition(), l = this.parseTagName();
|
|
2814
|
+
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2815
2815
|
val: {
|
|
2816
|
-
type:
|
|
2816
|
+
type: E.tag,
|
|
2817
2817
|
value: i,
|
|
2818
|
-
children:
|
|
2819
|
-
location:
|
|
2818
|
+
children: s,
|
|
2819
|
+
location: v(n, this.clonePosition())
|
|
2820
2820
|
},
|
|
2821
2821
|
err: null
|
|
2822
|
-
} : this.error(b.INVALID_TAG,
|
|
2822
|
+
} : this.error(b.INVALID_TAG, v(o, this.clonePosition())));
|
|
2823
2823
|
} else
|
|
2824
|
-
return this.error(b.UNCLOSED_TAG,
|
|
2824
|
+
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
2825
2825
|
} else
|
|
2826
|
-
return this.error(b.INVALID_TAG,
|
|
2826
|
+
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2827
2827
|
}, e.prototype.parseTagName = function() {
|
|
2828
2828
|
var t = this.offset();
|
|
2829
|
-
for (this.bump(); !this.isEOF() &&
|
|
2829
|
+
for (this.bump(); !this.isEOF() && Fn(this.char()); )
|
|
2830
2830
|
this.bump();
|
|
2831
2831
|
return this.message.slice(t, this.offset());
|
|
2832
2832
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2836,26 +2836,26 @@ var kn = (
|
|
|
2836
2836
|
i += a;
|
|
2837
2837
|
continue;
|
|
2838
2838
|
}
|
|
2839
|
-
var
|
|
2840
|
-
if (o) {
|
|
2841
|
-
i += o;
|
|
2842
|
-
continue;
|
|
2843
|
-
}
|
|
2844
|
-
var s = this.tryParseLeftAngleBracket();
|
|
2839
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2845
2840
|
if (s) {
|
|
2846
2841
|
i += s;
|
|
2847
2842
|
continue;
|
|
2848
2843
|
}
|
|
2844
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2845
|
+
if (o) {
|
|
2846
|
+
i += o;
|
|
2847
|
+
continue;
|
|
2848
|
+
}
|
|
2849
2849
|
break;
|
|
2850
2850
|
}
|
|
2851
|
-
var
|
|
2851
|
+
var u = v(n, this.clonePosition());
|
|
2852
2852
|
return {
|
|
2853
|
-
val: { type:
|
|
2853
|
+
val: { type: E.literal, value: i, location: u },
|
|
2854
2854
|
err: null
|
|
2855
2855
|
};
|
|
2856
2856
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2857
2857
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2858
|
-
|
|
2858
|
+
!Un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2859
2859
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2860
2860
|
if (this.isEOF() || this.char() !== 39)
|
|
2861
2861
|
return null;
|
|
@@ -2898,91 +2898,91 @@ var kn = (
|
|
|
2898
2898
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2899
2899
|
var n = this.clonePosition();
|
|
2900
2900
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2901
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2901
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
2902
2902
|
if (this.char() === 125)
|
|
2903
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
2903
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
2904
2904
|
var i = this.parseIdentifierIfPossible().value;
|
|
2905
2905
|
if (!i)
|
|
2906
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2906
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2907
2907
|
if (this.bumpSpace(), this.isEOF())
|
|
2908
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2908
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
2909
2909
|
switch (this.char()) {
|
|
2910
2910
|
case 125:
|
|
2911
2911
|
return this.bump(), {
|
|
2912
2912
|
val: {
|
|
2913
|
-
type:
|
|
2913
|
+
type: E.argument,
|
|
2914
2914
|
// value does not include the opening and closing braces.
|
|
2915
2915
|
value: i,
|
|
2916
|
-
location:
|
|
2916
|
+
location: v(n, this.clonePosition())
|
|
2917
2917
|
},
|
|
2918
2918
|
err: null
|
|
2919
2919
|
};
|
|
2920
2920
|
case 44:
|
|
2921
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2921
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2922
2922
|
default:
|
|
2923
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2923
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2924
2924
|
}
|
|
2925
2925
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2926
2926
|
var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
|
|
2927
2927
|
this.bumpTo(i);
|
|
2928
|
-
var a = this.clonePosition(),
|
|
2929
|
-
return { value: n, location:
|
|
2928
|
+
var a = this.clonePosition(), s = v(t, a);
|
|
2929
|
+
return { value: n, location: s };
|
|
2930
2930
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2931
|
-
var a,
|
|
2932
|
-
switch (
|
|
2931
|
+
var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2932
|
+
switch (o) {
|
|
2933
2933
|
case "":
|
|
2934
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
2934
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, u));
|
|
2935
2935
|
case "number":
|
|
2936
2936
|
case "date":
|
|
2937
2937
|
case "time": {
|
|
2938
2938
|
this.bumpSpace();
|
|
2939
|
-
var
|
|
2939
|
+
var l = null;
|
|
2940
2940
|
if (this.bumpIf(",")) {
|
|
2941
2941
|
this.bumpSpace();
|
|
2942
|
-
var
|
|
2943
|
-
if (
|
|
2944
|
-
return
|
|
2945
|
-
var
|
|
2946
|
-
if (
|
|
2947
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
2948
|
-
var
|
|
2949
|
-
|
|
2942
|
+
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2943
|
+
if (h.err)
|
|
2944
|
+
return h;
|
|
2945
|
+
var d = Nn(h.val);
|
|
2946
|
+
if (d.length === 0)
|
|
2947
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2948
|
+
var g = v(c, this.clonePosition());
|
|
2949
|
+
l = { style: d, styleLocation: g };
|
|
2950
2950
|
}
|
|
2951
|
-
var
|
|
2952
|
-
if (
|
|
2953
|
-
return
|
|
2954
|
-
var x =
|
|
2955
|
-
if (
|
|
2956
|
-
var
|
|
2957
|
-
if (
|
|
2958
|
-
var
|
|
2959
|
-
return
|
|
2960
|
-
val: { type:
|
|
2951
|
+
var p = this.tryParseArgumentClose(i);
|
|
2952
|
+
if (p.err)
|
|
2953
|
+
return p;
|
|
2954
|
+
var x = v(i, this.clonePosition());
|
|
2955
|
+
if (l && dt(l == null ? void 0 : l.style, "::", 0)) {
|
|
2956
|
+
var k = Dn(l.style.slice(2));
|
|
2957
|
+
if (o === "number") {
|
|
2958
|
+
var h = this.parseNumberSkeletonFromString(k, l.styleLocation);
|
|
2959
|
+
return h.err ? h : {
|
|
2960
|
+
val: { type: E.number, value: n, location: x, style: h.val },
|
|
2961
2961
|
err: null
|
|
2962
2962
|
};
|
|
2963
2963
|
} else {
|
|
2964
|
-
if (
|
|
2964
|
+
if (k.length === 0)
|
|
2965
2965
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
|
|
2966
|
-
var T =
|
|
2967
|
-
this.locale && (T = Tn(
|
|
2968
|
-
var
|
|
2966
|
+
var T = k;
|
|
2967
|
+
this.locale && (T = Tn(k, this.locale));
|
|
2968
|
+
var d = {
|
|
2969
2969
|
type: J.dateTime,
|
|
2970
2970
|
pattern: T,
|
|
2971
|
-
location:
|
|
2972
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2973
|
-
},
|
|
2971
|
+
location: l.styleLocation,
|
|
2972
|
+
parsedOptions: this.shouldParseSkeletons ? pn(T) : {}
|
|
2973
|
+
}, f = o === "date" ? E.date : E.time;
|
|
2974
2974
|
return {
|
|
2975
|
-
val: { type:
|
|
2975
|
+
val: { type: f, value: n, location: x, style: d },
|
|
2976
2976
|
err: null
|
|
2977
2977
|
};
|
|
2978
2978
|
}
|
|
2979
2979
|
}
|
|
2980
2980
|
return {
|
|
2981
2981
|
val: {
|
|
2982
|
-
type:
|
|
2982
|
+
type: o === "number" ? E.number : o === "date" ? E.date : E.time,
|
|
2983
2983
|
value: n,
|
|
2984
2984
|
location: x,
|
|
2985
|
-
style: (a =
|
|
2985
|
+
style: (a = l == null ? void 0 : l.style) !== null && a !== void 0 ? a : null
|
|
2986
2986
|
},
|
|
2987
2987
|
err: null
|
|
2988
2988
|
};
|
|
@@ -2990,52 +2990,52 @@ var kn = (
|
|
|
2990
2990
|
case "plural":
|
|
2991
2991
|
case "selectordinal":
|
|
2992
2992
|
case "select": {
|
|
2993
|
-
var
|
|
2993
|
+
var y = this.clonePosition();
|
|
2994
2994
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2995
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y
|
|
2995
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, Te({}, y)));
|
|
2996
2996
|
this.bumpSpace();
|
|
2997
|
-
var
|
|
2998
|
-
if (
|
|
2997
|
+
var D = this.parseIdentifierIfPossible(), L = 0;
|
|
2998
|
+
if (o !== "select" && D.value === "offset") {
|
|
2999
2999
|
if (!this.bumpIf(":"))
|
|
3000
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3000
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3001
3001
|
this.bumpSpace();
|
|
3002
|
-
var
|
|
3003
|
-
if (
|
|
3004
|
-
return
|
|
3005
|
-
this.bumpSpace(),
|
|
3002
|
+
var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3003
|
+
if (h.err)
|
|
3004
|
+
return h;
|
|
3005
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = h.val;
|
|
3006
3006
|
}
|
|
3007
|
-
var m = this.tryParsePluralOrSelectOptions(t,
|
|
3007
|
+
var m = this.tryParsePluralOrSelectOptions(t, o, r, D);
|
|
3008
3008
|
if (m.err)
|
|
3009
3009
|
return m;
|
|
3010
|
-
var
|
|
3011
|
-
if (
|
|
3012
|
-
return
|
|
3013
|
-
var
|
|
3014
|
-
return
|
|
3010
|
+
var p = this.tryParseArgumentClose(i);
|
|
3011
|
+
if (p.err)
|
|
3012
|
+
return p;
|
|
3013
|
+
var ce = v(i, this.clonePosition());
|
|
3014
|
+
return o === "select" ? {
|
|
3015
3015
|
val: {
|
|
3016
|
-
type:
|
|
3016
|
+
type: E.select,
|
|
3017
3017
|
value: n,
|
|
3018
|
-
options:
|
|
3019
|
-
location:
|
|
3018
|
+
options: ft(m.val),
|
|
3019
|
+
location: ce
|
|
3020
3020
|
},
|
|
3021
3021
|
err: null
|
|
3022
3022
|
} : {
|
|
3023
3023
|
val: {
|
|
3024
|
-
type:
|
|
3024
|
+
type: E.plural,
|
|
3025
3025
|
value: n,
|
|
3026
|
-
options:
|
|
3027
|
-
offset:
|
|
3028
|
-
pluralType:
|
|
3029
|
-
location:
|
|
3026
|
+
options: ft(m.val),
|
|
3027
|
+
offset: L,
|
|
3028
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3029
|
+
location: ce
|
|
3030
3030
|
},
|
|
3031
3031
|
err: null
|
|
3032
3032
|
};
|
|
3033
3033
|
}
|
|
3034
3034
|
default:
|
|
3035
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3035
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, v(s, u));
|
|
3036
3036
|
}
|
|
3037
3037
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3038
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3038
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3039
3039
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3040
3040
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3041
3041
|
var n = this.char();
|
|
@@ -3044,7 +3044,7 @@ var kn = (
|
|
|
3044
3044
|
this.bump();
|
|
3045
3045
|
var i = this.clonePosition();
|
|
3046
3046
|
if (!this.bumpUntil("'"))
|
|
3047
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3047
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3048
3048
|
this.bump();
|
|
3049
3049
|
break;
|
|
3050
3050
|
}
|
|
@@ -3074,7 +3074,7 @@ var kn = (
|
|
|
3074
3074
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3075
3075
|
var n = [];
|
|
3076
3076
|
try {
|
|
3077
|
-
n =
|
|
3077
|
+
n = vn(t);
|
|
3078
3078
|
} catch (i) {
|
|
3079
3079
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3080
3080
|
}
|
|
@@ -3088,50 +3088,50 @@ var kn = (
|
|
|
3088
3088
|
err: null
|
|
3089
3089
|
};
|
|
3090
3090
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3091
|
-
for (var a,
|
|
3092
|
-
if (
|
|
3093
|
-
var
|
|
3091
|
+
for (var a, s = !1, o = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
|
3092
|
+
if (l.length === 0) {
|
|
3093
|
+
var h = this.clonePosition();
|
|
3094
3094
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3095
|
-
var
|
|
3096
|
-
if (
|
|
3097
|
-
return
|
|
3098
|
-
|
|
3095
|
+
var d = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3096
|
+
if (d.err)
|
|
3097
|
+
return d;
|
|
3098
|
+
c = v(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
|
|
3099
3099
|
} else
|
|
3100
3100
|
break;
|
|
3101
3101
|
}
|
|
3102
|
-
if (
|
|
3103
|
-
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3104
|
-
|
|
3105
|
-
var
|
|
3102
|
+
if (u.has(l))
|
|
3103
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3104
|
+
l === "other" && (s = !0), this.bumpSpace();
|
|
3105
|
+
var g = this.clonePosition();
|
|
3106
3106
|
if (!this.bumpIf("{"))
|
|
3107
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3108
|
-
var
|
|
3109
|
-
if (
|
|
3110
|
-
return
|
|
3111
|
-
var x = this.tryParseArgumentClose(
|
|
3107
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3108
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3109
|
+
if (p.err)
|
|
3110
|
+
return p;
|
|
3111
|
+
var x = this.tryParseArgumentClose(g);
|
|
3112
3112
|
if (x.err)
|
|
3113
3113
|
return x;
|
|
3114
|
-
|
|
3115
|
-
|
|
3114
|
+
o.push([
|
|
3115
|
+
l,
|
|
3116
3116
|
{
|
|
3117
|
-
value:
|
|
3118
|
-
location:
|
|
3117
|
+
value: p.val,
|
|
3118
|
+
location: v(g, this.clonePosition())
|
|
3119
3119
|
}
|
|
3120
|
-
]),
|
|
3120
|
+
]), u.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, c = a.location;
|
|
3121
3121
|
}
|
|
3122
|
-
return
|
|
3122
|
+
return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3123
3123
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3124
3124
|
var n = 1, i = this.clonePosition();
|
|
3125
3125
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3126
|
-
for (var a = !1,
|
|
3127
|
-
var
|
|
3128
|
-
if (
|
|
3129
|
-
a = !0,
|
|
3126
|
+
for (var a = !1, s = 0; !this.isEOF(); ) {
|
|
3127
|
+
var o = this.char();
|
|
3128
|
+
if (o >= 48 && o <= 57)
|
|
3129
|
+
a = !0, s = s * 10 + (o - 48), this.bump();
|
|
3130
3130
|
else
|
|
3131
3131
|
break;
|
|
3132
3132
|
}
|
|
3133
|
-
var
|
|
3134
|
-
return a ? (
|
|
3133
|
+
var u = v(i, this.clonePosition());
|
|
3134
|
+
return a ? (s *= n, On(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3135
3135
|
}, e.prototype.offset = function() {
|
|
3136
3136
|
return this.position.offset;
|
|
3137
3137
|
}, e.prototype.isEOF = function() {
|
|
@@ -3165,7 +3165,7 @@ var kn = (
|
|
|
3165
3165
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3166
3166
|
}
|
|
3167
3167
|
}, e.prototype.bumpIf = function(t) {
|
|
3168
|
-
if (
|
|
3168
|
+
if (dt(this.message, t, this.offset())) {
|
|
3169
3169
|
for (var r = 0; r < t.length; r++)
|
|
3170
3170
|
this.bump();
|
|
3171
3171
|
return !0;
|
|
@@ -3187,7 +3187,7 @@ var kn = (
|
|
|
3187
3187
|
break;
|
|
3188
3188
|
}
|
|
3189
3189
|
}, e.prototype.bumpSpace = function() {
|
|
3190
|
-
for (; !this.isEOF() &&
|
|
3190
|
+
for (; !this.isEOF() && Zt(this.char()); )
|
|
3191
3191
|
this.bump();
|
|
3192
3192
|
}, e.prototype.peek = function() {
|
|
3193
3193
|
if (this.isEOF())
|
|
@@ -3200,44 +3200,44 @@ var kn = (
|
|
|
3200
3200
|
function qe(e) {
|
|
3201
3201
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3202
3202
|
}
|
|
3203
|
-
function
|
|
3203
|
+
function Un(e) {
|
|
3204
3204
|
return qe(e) || e === 47;
|
|
3205
3205
|
}
|
|
3206
|
-
function
|
|
3206
|
+
function Fn(e) {
|
|
3207
3207
|
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;
|
|
3208
3208
|
}
|
|
3209
|
-
function
|
|
3209
|
+
function Zt(e) {
|
|
3210
3210
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3211
3211
|
}
|
|
3212
|
-
function
|
|
3212
|
+
function $n(e) {
|
|
3213
3213
|
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;
|
|
3214
3214
|
}
|
|
3215
3215
|
function Je(e) {
|
|
3216
3216
|
e.forEach(function(t) {
|
|
3217
|
-
if (delete t.location,
|
|
3217
|
+
if (delete t.location, $t(t) || zt(t))
|
|
3218
3218
|
for (var r in t.options)
|
|
3219
3219
|
delete t.options[r].location, Je(t.options[r].value);
|
|
3220
3220
|
else
|
|
3221
|
-
|
|
3221
|
+
Rt(t) && jt(t.style) || (Ut(t) || Ft(t)) && je(t.style) ? delete t.style.location : Gt(t) && Je(t.children);
|
|
3222
3222
|
});
|
|
3223
3223
|
}
|
|
3224
3224
|
function zn(e, t) {
|
|
3225
3225
|
t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3226
|
-
var r = new
|
|
3226
|
+
var r = new Rn(e, t).parse();
|
|
3227
3227
|
if (r.err) {
|
|
3228
3228
|
var n = SyntaxError(b[r.err.kind]);
|
|
3229
3229
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3230
3230
|
}
|
|
3231
3231
|
return t != null && t.captureLocation || Je(r.val), r.val;
|
|
3232
3232
|
}
|
|
3233
|
-
var
|
|
3233
|
+
var K;
|
|
3234
3234
|
(function(e) {
|
|
3235
3235
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3236
|
-
})(
|
|
3237
|
-
var
|
|
3236
|
+
})(K || (K = {}));
|
|
3237
|
+
var Be = (
|
|
3238
3238
|
/** @class */
|
|
3239
3239
|
function(e) {
|
|
3240
|
-
|
|
3240
|
+
Ie(t, e);
|
|
3241
3241
|
function t(r, n, i) {
|
|
3242
3242
|
var a = e.call(this, r) || this;
|
|
3243
3243
|
return a.code = n, a.originalMessage = i, a;
|
|
@@ -3246,155 +3246,155 @@ var Le = (
|
|
|
3246
3246
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3247
3247
|
}, t;
|
|
3248
3248
|
}(Error)
|
|
3249
|
-
),
|
|
3249
|
+
), gt = (
|
|
3250
3250
|
/** @class */
|
|
3251
3251
|
function(e) {
|
|
3252
|
-
|
|
3252
|
+
Ie(t, e);
|
|
3253
3253
|
function t(r, n, i, a) {
|
|
3254
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3254
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, a) || this;
|
|
3255
3255
|
}
|
|
3256
3256
|
return t;
|
|
3257
|
-
}(
|
|
3258
|
-
),
|
|
3257
|
+
}(Be)
|
|
3258
|
+
), Gn = (
|
|
3259
3259
|
/** @class */
|
|
3260
3260
|
function(e) {
|
|
3261
|
-
|
|
3261
|
+
Ie(t, e);
|
|
3262
3262
|
function t(r, n, i) {
|
|
3263
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3263
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
|
3264
3264
|
}
|
|
3265
3265
|
return t;
|
|
3266
|
-
}(
|
|
3266
|
+
}(Be)
|
|
3267
3267
|
), jn = (
|
|
3268
3268
|
/** @class */
|
|
3269
3269
|
function(e) {
|
|
3270
|
-
|
|
3270
|
+
Ie(t, e);
|
|
3271
3271
|
function t(r, n) {
|
|
3272
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3272
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
|
3273
3273
|
}
|
|
3274
3274
|
return t;
|
|
3275
|
-
}(
|
|
3276
|
-
),
|
|
3275
|
+
}(Be)
|
|
3276
|
+
), w;
|
|
3277
3277
|
(function(e) {
|
|
3278
3278
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3279
|
-
})(
|
|
3279
|
+
})(w || (w = {}));
|
|
3280
3280
|
function Vn(e) {
|
|
3281
3281
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3282
3282
|
var n = t[t.length - 1];
|
|
3283
|
-
return !n || n.type !==
|
|
3283
|
+
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3284
3284
|
}, []);
|
|
3285
3285
|
}
|
|
3286
3286
|
function Wn(e) {
|
|
3287
3287
|
return typeof e == "function";
|
|
3288
3288
|
}
|
|
3289
|
-
function
|
|
3290
|
-
if (e.length === 1 &&
|
|
3289
|
+
function _e(e, t, r, n, i, a, s) {
|
|
3290
|
+
if (e.length === 1 && lt(e[0]))
|
|
3291
3291
|
return [
|
|
3292
3292
|
{
|
|
3293
|
-
type:
|
|
3293
|
+
type: w.literal,
|
|
3294
3294
|
value: e[0].value
|
|
3295
3295
|
}
|
|
3296
3296
|
];
|
|
3297
|
-
for (var
|
|
3298
|
-
var
|
|
3299
|
-
if (
|
|
3300
|
-
|
|
3301
|
-
type:
|
|
3302
|
-
value:
|
|
3297
|
+
for (var o = [], u = 0, l = e; u < l.length; u++) {
|
|
3298
|
+
var c = l[u];
|
|
3299
|
+
if (lt(c)) {
|
|
3300
|
+
o.push({
|
|
3301
|
+
type: w.literal,
|
|
3302
|
+
value: c.value
|
|
3303
3303
|
});
|
|
3304
3304
|
continue;
|
|
3305
3305
|
}
|
|
3306
|
-
if (mn(
|
|
3307
|
-
typeof a == "number" &&
|
|
3308
|
-
type:
|
|
3306
|
+
if (mn(c)) {
|
|
3307
|
+
typeof a == "number" && o.push({
|
|
3308
|
+
type: w.literal,
|
|
3309
3309
|
value: r.getNumberFormat(t).format(a)
|
|
3310
3310
|
});
|
|
3311
3311
|
continue;
|
|
3312
3312
|
}
|
|
3313
|
-
var
|
|
3314
|
-
if (!(i &&
|
|
3315
|
-
throw new jn(
|
|
3316
|
-
var
|
|
3317
|
-
if (
|
|
3318
|
-
(!
|
|
3319
|
-
type: typeof
|
|
3320
|
-
value:
|
|
3313
|
+
var h = c.value;
|
|
3314
|
+
if (!(i && h in i))
|
|
3315
|
+
throw new jn(h, s);
|
|
3316
|
+
var d = i[h];
|
|
3317
|
+
if (fn(c)) {
|
|
3318
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), o.push({
|
|
3319
|
+
type: typeof d == "string" ? w.literal : w.object,
|
|
3320
|
+
value: d
|
|
3321
3321
|
});
|
|
3322
3322
|
continue;
|
|
3323
3323
|
}
|
|
3324
|
-
if (
|
|
3325
|
-
var
|
|
3326
|
-
|
|
3327
|
-
type:
|
|
3328
|
-
value: r.getDateTimeFormat(t,
|
|
3324
|
+
if (Ut(c)) {
|
|
3325
|
+
var g = typeof c.style == "string" ? n.date[c.style] : je(c.style) ? c.style.parsedOptions : void 0;
|
|
3326
|
+
o.push({
|
|
3327
|
+
type: w.literal,
|
|
3328
|
+
value: r.getDateTimeFormat(t, g).format(d)
|
|
3329
3329
|
});
|
|
3330
3330
|
continue;
|
|
3331
3331
|
}
|
|
3332
|
-
if (
|
|
3333
|
-
var
|
|
3334
|
-
|
|
3335
|
-
type:
|
|
3336
|
-
value: r.getDateTimeFormat(t,
|
|
3332
|
+
if (Ft(c)) {
|
|
3333
|
+
var g = typeof c.style == "string" ? n.time[c.style] : je(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3334
|
+
o.push({
|
|
3335
|
+
type: w.literal,
|
|
3336
|
+
value: r.getDateTimeFormat(t, g).format(d)
|
|
3337
3337
|
});
|
|
3338
3338
|
continue;
|
|
3339
3339
|
}
|
|
3340
|
-
if (
|
|
3341
|
-
var
|
|
3342
|
-
|
|
3343
|
-
type:
|
|
3344
|
-
value: r.getNumberFormat(t,
|
|
3340
|
+
if (Rt(c)) {
|
|
3341
|
+
var g = typeof c.style == "string" ? n.number[c.style] : jt(c.style) ? c.style.parsedOptions : void 0;
|
|
3342
|
+
g && g.scale && (d = d * (g.scale || 1)), o.push({
|
|
3343
|
+
type: w.literal,
|
|
3344
|
+
value: r.getNumberFormat(t, g).format(d)
|
|
3345
3345
|
});
|
|
3346
3346
|
continue;
|
|
3347
3347
|
}
|
|
3348
|
-
if (
|
|
3349
|
-
var
|
|
3350
|
-
if (!Wn(
|
|
3351
|
-
throw new
|
|
3352
|
-
var T =
|
|
3353
|
-
return
|
|
3348
|
+
if (Gt(c)) {
|
|
3349
|
+
var p = c.children, x = c.value, k = i[x];
|
|
3350
|
+
if (!Wn(k))
|
|
3351
|
+
throw new Gn(x, "function", s);
|
|
3352
|
+
var T = _e(p, t, r, n, i, a), f = k(T.map(function(L) {
|
|
3353
|
+
return L.value;
|
|
3354
3354
|
}));
|
|
3355
|
-
Array.isArray(
|
|
3355
|
+
Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(L) {
|
|
3356
3356
|
return {
|
|
3357
|
-
type: typeof
|
|
3358
|
-
value:
|
|
3357
|
+
type: typeof L == "string" ? w.literal : w.object,
|
|
3358
|
+
value: L
|
|
3359
3359
|
};
|
|
3360
3360
|
}));
|
|
3361
3361
|
}
|
|
3362
|
-
if (
|
|
3363
|
-
var
|
|
3364
|
-
if (!
|
|
3365
|
-
throw new
|
|
3366
|
-
|
|
3362
|
+
if ($t(c)) {
|
|
3363
|
+
var y = c.options[d] || c.options.other;
|
|
3364
|
+
if (!y)
|
|
3365
|
+
throw new gt(c.value, d, Object.keys(c.options), s);
|
|
3366
|
+
o.push.apply(o, _e(y.value, t, r, n, i));
|
|
3367
3367
|
continue;
|
|
3368
3368
|
}
|
|
3369
|
-
if (zt(
|
|
3370
|
-
var
|
|
3371
|
-
if (!
|
|
3369
|
+
if (zt(c)) {
|
|
3370
|
+
var y = c.options["=".concat(d)];
|
|
3371
|
+
if (!y) {
|
|
3372
3372
|
if (!Intl.PluralRules)
|
|
3373
|
-
throw new
|
|
3373
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3374
3374
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3375
|
-
`,
|
|
3376
|
-
var
|
|
3377
|
-
|
|
3375
|
+
`, K.MISSING_INTL_API, s);
|
|
3376
|
+
var D = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3377
|
+
y = c.options[D] || c.options.other;
|
|
3378
3378
|
}
|
|
3379
|
-
if (!
|
|
3380
|
-
throw new
|
|
3381
|
-
|
|
3379
|
+
if (!y)
|
|
3380
|
+
throw new gt(c.value, d, Object.keys(c.options), s);
|
|
3381
|
+
o.push.apply(o, _e(y.value, t, r, n, i, d - (c.offset || 0)));
|
|
3382
3382
|
continue;
|
|
3383
3383
|
}
|
|
3384
3384
|
}
|
|
3385
|
-
return Vn(
|
|
3385
|
+
return Vn(o);
|
|
3386
3386
|
}
|
|
3387
3387
|
function Xn(e, t) {
|
|
3388
|
-
return t ?
|
|
3389
|
-
return r[n] =
|
|
3388
|
+
return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3389
|
+
return r[n] = C(C({}, e[n]), t[n] || {}), r;
|
|
3390
3390
|
}, {})) : e;
|
|
3391
3391
|
}
|
|
3392
3392
|
function qn(e, t) {
|
|
3393
3393
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3394
3394
|
return r[n] = Xn(e[n], t[n]), r;
|
|
3395
|
-
},
|
|
3395
|
+
}, C({}, e)) : e;
|
|
3396
3396
|
}
|
|
3397
|
-
function
|
|
3397
|
+
function Re(e) {
|
|
3398
3398
|
return {
|
|
3399
3399
|
create: function() {
|
|
3400
3400
|
return {
|
|
@@ -3414,33 +3414,33 @@ function Jn(e) {
|
|
|
3414
3414
|
dateTime: {},
|
|
3415
3415
|
pluralRules: {}
|
|
3416
3416
|
}), {
|
|
3417
|
-
getNumberFormat:
|
|
3417
|
+
getNumberFormat: Me(function() {
|
|
3418
3418
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3419
3419
|
r[n] = arguments[n];
|
|
3420
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3420
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3421
3421
|
}, {
|
|
3422
|
-
cache:
|
|
3423
|
-
strategy:
|
|
3422
|
+
cache: Re(e.number),
|
|
3423
|
+
strategy: De.variadic
|
|
3424
3424
|
}),
|
|
3425
|
-
getDateTimeFormat:
|
|
3425
|
+
getDateTimeFormat: Me(function() {
|
|
3426
3426
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3427
3427
|
r[n] = arguments[n];
|
|
3428
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3428
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3429
3429
|
}, {
|
|
3430
|
-
cache:
|
|
3431
|
-
strategy:
|
|
3430
|
+
cache: Re(e.dateTime),
|
|
3431
|
+
strategy: De.variadic
|
|
3432
3432
|
}),
|
|
3433
|
-
getPluralRules:
|
|
3433
|
+
getPluralRules: Me(function() {
|
|
3434
3434
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3435
3435
|
r[n] = arguments[n];
|
|
3436
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3436
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3437
3437
|
}, {
|
|
3438
|
-
cache:
|
|
3439
|
-
strategy:
|
|
3438
|
+
cache: Re(e.pluralRules),
|
|
3439
|
+
strategy: De.variadic
|
|
3440
3440
|
})
|
|
3441
3441
|
};
|
|
3442
3442
|
}
|
|
3443
|
-
var
|
|
3443
|
+
var Yt = (
|
|
3444
3444
|
/** @class */
|
|
3445
3445
|
function() {
|
|
3446
3446
|
function e(t, r, n, i) {
|
|
@@ -3450,30 +3450,30 @@ var Qt = (
|
|
|
3450
3450
|
number: {},
|
|
3451
3451
|
dateTime: {},
|
|
3452
3452
|
pluralRules: {}
|
|
3453
|
-
}, this.format = function(
|
|
3454
|
-
var
|
|
3455
|
-
if (
|
|
3456
|
-
return
|
|
3457
|
-
var
|
|
3458
|
-
return !
|
|
3453
|
+
}, this.format = function(u) {
|
|
3454
|
+
var l = a.formatToParts(u);
|
|
3455
|
+
if (l.length === 1)
|
|
3456
|
+
return l[0].value;
|
|
3457
|
+
var c = l.reduce(function(h, d) {
|
|
3458
|
+
return !h.length || d.type !== w.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
|
|
3459
3459
|
}, []);
|
|
3460
|
-
return
|
|
3461
|
-
}, this.formatToParts = function(
|
|
3462
|
-
return
|
|
3460
|
+
return c.length <= 1 ? c[0] || "" : c;
|
|
3461
|
+
}, this.formatToParts = function(u) {
|
|
3462
|
+
return _e(a.ast, a.locales, a.formatters, a.formats, u, void 0, a.message);
|
|
3463
3463
|
}, this.resolvedOptions = function() {
|
|
3464
|
-
var
|
|
3464
|
+
var u;
|
|
3465
3465
|
return {
|
|
3466
|
-
locale: ((
|
|
3466
|
+
locale: ((u = a.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
|
3467
3467
|
};
|
|
3468
3468
|
}, this.getAst = function() {
|
|
3469
3469
|
return a.ast;
|
|
3470
3470
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3471
3471
|
if (this.message = t, !e.__parse)
|
|
3472
3472
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3473
|
-
var
|
|
3474
|
-
|
|
3475
|
-
var
|
|
3476
|
-
this.ast = e.__parse(t,
|
|
3473
|
+
var s = i || {};
|
|
3474
|
+
s.formatters;
|
|
3475
|
+
var o = an(s, ["formatters"]);
|
|
3476
|
+
this.ast = e.__parse(t, C(C({}, o), { locale: this.resolvedLocale }));
|
|
3477
3477
|
} else
|
|
3478
3478
|
this.ast = t;
|
|
3479
3479
|
if (!Array.isArray(this.ast))
|
|
@@ -3552,7 +3552,7 @@ var Qt = (
|
|
|
3552
3552
|
}, e;
|
|
3553
3553
|
}()
|
|
3554
3554
|
);
|
|
3555
|
-
function
|
|
3555
|
+
function Kn(e, t) {
|
|
3556
3556
|
if (t == null)
|
|
3557
3557
|
return;
|
|
3558
3558
|
if (t in e)
|
|
@@ -3573,36 +3573,36 @@ function Zn(e, t) {
|
|
|
3573
3573
|
n = void 0;
|
|
3574
3574
|
return n;
|
|
3575
3575
|
}
|
|
3576
|
-
const
|
|
3576
|
+
const N = {}, Zn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Qt = (e, t) => {
|
|
3577
3577
|
if (t == null)
|
|
3578
3578
|
return;
|
|
3579
|
-
if (t in
|
|
3580
|
-
return
|
|
3581
|
-
const r =
|
|
3579
|
+
if (t in N && e in N[t])
|
|
3580
|
+
return N[t][e];
|
|
3581
|
+
const r = ue(t);
|
|
3582
3582
|
for (let n = 0; n < r.length; n++) {
|
|
3583
|
-
const i = r[n], a =
|
|
3583
|
+
const i = r[n], a = Qn(i, e);
|
|
3584
3584
|
if (a)
|
|
3585
|
-
return
|
|
3585
|
+
return Zn(e, t, a);
|
|
3586
3586
|
}
|
|
3587
3587
|
};
|
|
3588
|
-
let
|
|
3589
|
-
const
|
|
3590
|
-
function
|
|
3591
|
-
return
|
|
3588
|
+
let Qe;
|
|
3589
|
+
const le = Ae({});
|
|
3590
|
+
function Yn(e) {
|
|
3591
|
+
return Qe[e] || null;
|
|
3592
3592
|
}
|
|
3593
3593
|
function er(e) {
|
|
3594
|
-
return e in
|
|
3594
|
+
return e in Qe;
|
|
3595
3595
|
}
|
|
3596
|
-
function
|
|
3596
|
+
function Qn(e, t) {
|
|
3597
3597
|
if (!er(e))
|
|
3598
3598
|
return null;
|
|
3599
|
-
const r =
|
|
3600
|
-
return
|
|
3599
|
+
const r = Yn(e);
|
|
3600
|
+
return Kn(r, t);
|
|
3601
3601
|
}
|
|
3602
3602
|
function ei(e) {
|
|
3603
3603
|
if (e == null)
|
|
3604
3604
|
return;
|
|
3605
|
-
const t =
|
|
3605
|
+
const t = ue(e);
|
|
3606
3606
|
for (let r = 0; r < t.length; r++) {
|
|
3607
3607
|
const n = t[r];
|
|
3608
3608
|
if (er(n))
|
|
@@ -3610,13 +3610,13 @@ function ei(e) {
|
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
function tr(e, ...t) {
|
|
3613
|
-
delete
|
|
3613
|
+
delete N[e], le.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
3614
3614
|
}
|
|
3615
|
-
|
|
3616
|
-
[
|
|
3615
|
+
Y(
|
|
3616
|
+
[le],
|
|
3617
3617
|
([e]) => Object.keys(e)
|
|
3618
3618
|
);
|
|
3619
|
-
|
|
3619
|
+
le.subscribe((e) => Qe = e);
|
|
3620
3620
|
const xe = {};
|
|
3621
3621
|
function ti(e, t) {
|
|
3622
3622
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
@@ -3625,13 +3625,13 @@ function rr(e) {
|
|
|
3625
3625
|
return xe[e];
|
|
3626
3626
|
}
|
|
3627
3627
|
function ri(e) {
|
|
3628
|
-
return
|
|
3628
|
+
return ue(e).map((t) => {
|
|
3629
3629
|
const r = rr(t);
|
|
3630
3630
|
return [t, r ? [...r] : []];
|
|
3631
3631
|
}).filter(([, t]) => t.length > 0);
|
|
3632
3632
|
}
|
|
3633
|
-
function
|
|
3634
|
-
return e == null ? !1 :
|
|
3633
|
+
function ke(e) {
|
|
3634
|
+
return e == null ? !1 : ue(e).some(
|
|
3635
3635
|
(t) => {
|
|
3636
3636
|
var r;
|
|
3637
3637
|
return (r = rr(t)) == null ? void 0 : r.size;
|
|
@@ -3645,7 +3645,7 @@ function ni(e, t) {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
const ee = {};
|
|
3647
3647
|
function nr(e) {
|
|
3648
|
-
if (!
|
|
3648
|
+
if (!ke(e))
|
|
3649
3649
|
return e in ee ? ee[e] : Promise.resolve();
|
|
3650
3650
|
const t = ri(e);
|
|
3651
3651
|
return ee[e] = Promise.all(
|
|
@@ -3653,21 +3653,21 @@ function nr(e) {
|
|
|
3653
3653
|
([r, n]) => ni(r, n)
|
|
3654
3654
|
)
|
|
3655
3655
|
).then(() => {
|
|
3656
|
-
if (
|
|
3656
|
+
if (ke(e))
|
|
3657
3657
|
return nr(e);
|
|
3658
3658
|
delete ee[e];
|
|
3659
3659
|
}), ee[e];
|
|
3660
3660
|
}
|
|
3661
|
-
var
|
|
3661
|
+
var pt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, si = (e, t) => {
|
|
3662
3662
|
var r = {};
|
|
3663
3663
|
for (var n in e)
|
|
3664
3664
|
ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3665
|
-
if (e != null &&
|
|
3666
|
-
for (var n of
|
|
3665
|
+
if (e != null && pt)
|
|
3666
|
+
for (var n of pt(e))
|
|
3667
3667
|
t.indexOf(n) < 0 && ai.call(e, n) && (r[n] = e[n]);
|
|
3668
3668
|
return r;
|
|
3669
3669
|
};
|
|
3670
|
-
const
|
|
3670
|
+
const oi = {
|
|
3671
3671
|
number: {
|
|
3672
3672
|
scientific: { notation: "scientific" },
|
|
3673
3673
|
engineering: { notation: "engineering" },
|
|
@@ -3697,202 +3697,202 @@ const si = {
|
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
3699
3699
|
};
|
|
3700
|
-
function
|
|
3700
|
+
function li({ locale: e, id: t }) {
|
|
3701
3701
|
console.warn(
|
|
3702
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3702
|
+
`[svelte-i18n] The message "${t}" was not found in "${ue(
|
|
3703
3703
|
e
|
|
3704
|
-
).join('", "')}".${
|
|
3704
|
+
).join('", "')}".${ke(U()) ? `
|
|
3705
3705
|
|
|
3706
3706
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3707
3707
|
);
|
|
3708
3708
|
}
|
|
3709
|
-
const
|
|
3709
|
+
const ui = {
|
|
3710
3710
|
fallbackLocale: null,
|
|
3711
3711
|
loadingDelay: 200,
|
|
3712
|
-
formats:
|
|
3712
|
+
formats: oi,
|
|
3713
3713
|
warnOnMissingMessages: !0,
|
|
3714
3714
|
handleMissingMessage: void 0,
|
|
3715
3715
|
ignoreTag: !0
|
|
3716
|
-
}, re =
|
|
3717
|
-
function
|
|
3716
|
+
}, re = ui;
|
|
3717
|
+
function Z() {
|
|
3718
3718
|
return re;
|
|
3719
3719
|
}
|
|
3720
|
-
function
|
|
3721
|
-
const t = e, { formats: r } = t, n =
|
|
3720
|
+
function ci(e) {
|
|
3721
|
+
const t = e, { formats: r } = t, n = si(t, ["formats"]);
|
|
3722
3722
|
let i = e.fallbackLocale;
|
|
3723
3723
|
if (e.initialLocale)
|
|
3724
3724
|
try {
|
|
3725
|
-
|
|
3725
|
+
Yt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3726
3726
|
} catch (a) {
|
|
3727
3727
|
console.warn(
|
|
3728
3728
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3729
3729
|
);
|
|
3730
3730
|
}
|
|
3731
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3731
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = li : console.warn(
|
|
3732
3732
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3733
|
-
)), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)),
|
|
3733
|
+
)), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), F.set(i);
|
|
3734
3734
|
}
|
|
3735
|
-
const
|
|
3736
|
-
var
|
|
3735
|
+
const Ue = Ae(!1);
|
|
3736
|
+
var hi = Object.defineProperty, di = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
3737
3737
|
for (var r in t || (t = {}))
|
|
3738
|
-
mi.call(t, r) &&
|
|
3738
|
+
mi.call(t, r) && vt(e, r, t[r]);
|
|
3739
3739
|
if (bt)
|
|
3740
3740
|
for (var r of bt(t))
|
|
3741
|
-
|
|
3741
|
+
gi.call(t, r) && vt(e, r, t[r]);
|
|
3742
3742
|
return e;
|
|
3743
|
-
}, bi = (e, t) =>
|
|
3744
|
-
let
|
|
3745
|
-
const
|
|
3746
|
-
function
|
|
3743
|
+
}, bi = (e, t) => di(e, fi(t));
|
|
3744
|
+
let Ke;
|
|
3745
|
+
const we = Ae(null);
|
|
3746
|
+
function yt(e) {
|
|
3747
3747
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3748
3748
|
}
|
|
3749
|
-
function
|
|
3750
|
-
const r =
|
|
3751
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3749
|
+
function ue(e, t = Z().fallbackLocale) {
|
|
3750
|
+
const r = yt(e);
|
|
3751
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
3752
3752
|
}
|
|
3753
|
-
function
|
|
3754
|
-
return
|
|
3753
|
+
function U() {
|
|
3754
|
+
return Ke != null ? Ke : void 0;
|
|
3755
3755
|
}
|
|
3756
|
-
|
|
3757
|
-
|
|
3756
|
+
we.subscribe((e) => {
|
|
3757
|
+
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3758
3758
|
});
|
|
3759
|
-
const
|
|
3760
|
-
if (e && ei(e) &&
|
|
3761
|
-
const { loadingDelay: t } =
|
|
3759
|
+
const vi = (e) => {
|
|
3760
|
+
if (e && ei(e) && ke(e)) {
|
|
3761
|
+
const { loadingDelay: t } = Z();
|
|
3762
3762
|
let r;
|
|
3763
|
-
return typeof window != "undefined" &&
|
|
3764
|
-
() =>
|
|
3763
|
+
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
3764
|
+
() => Ue.set(!0),
|
|
3765
3765
|
t
|
|
3766
|
-
) :
|
|
3767
|
-
|
|
3766
|
+
) : Ue.set(!0), nr(e).then(() => {
|
|
3767
|
+
we.set(e);
|
|
3768
3768
|
}).finally(() => {
|
|
3769
|
-
clearTimeout(r),
|
|
3769
|
+
clearTimeout(r), Ue.set(!1);
|
|
3770
3770
|
});
|
|
3771
3771
|
}
|
|
3772
|
-
return
|
|
3773
|
-
},
|
|
3774
|
-
set:
|
|
3775
|
-
}),
|
|
3772
|
+
return we.set(e);
|
|
3773
|
+
}, F = bi(pi({}, we), {
|
|
3774
|
+
set: vi
|
|
3775
|
+
}), He = (e) => {
|
|
3776
3776
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3777
3777
|
return (n) => {
|
|
3778
3778
|
const i = JSON.stringify(n);
|
|
3779
3779
|
return i in t ? t[i] : t[i] = e(n);
|
|
3780
3780
|
};
|
|
3781
3781
|
};
|
|
3782
|
-
var
|
|
3782
|
+
var yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
3783
3783
|
for (var r in t || (t = {}))
|
|
3784
|
-
ir.call(t, r) &&
|
|
3785
|
-
if (
|
|
3786
|
-
for (var r of
|
|
3787
|
-
ar.call(t, r) &&
|
|
3784
|
+
ir.call(t, r) && Et(e, r, t[r]);
|
|
3785
|
+
if (Se)
|
|
3786
|
+
for (var r of Se(t))
|
|
3787
|
+
ar.call(t, r) && Et(e, r, t[r]);
|
|
3788
3788
|
return e;
|
|
3789
|
-
},
|
|
3789
|
+
}, Q = (e, t) => {
|
|
3790
3790
|
var r = {};
|
|
3791
3791
|
for (var n in e)
|
|
3792
3792
|
ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3793
|
-
if (e != null &&
|
|
3794
|
-
for (var n of
|
|
3793
|
+
if (e != null && Se)
|
|
3794
|
+
for (var n of Se(e))
|
|
3795
3795
|
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
3796
3796
|
return r;
|
|
3797
3797
|
};
|
|
3798
|
-
const
|
|
3799
|
-
const { formats: r } =
|
|
3798
|
+
const se = (e, t) => {
|
|
3799
|
+
const { formats: r } = Z();
|
|
3800
3800
|
if (e in r && t in r[e])
|
|
3801
3801
|
return r[e][t];
|
|
3802
3802
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3803
|
-
},
|
|
3803
|
+
}, Ei = He(
|
|
3804
3804
|
(e) => {
|
|
3805
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3805
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3806
3806
|
if (r == null)
|
|
3807
3807
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3808
|
-
return n && (i =
|
|
3808
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3809
3809
|
}
|
|
3810
|
-
),
|
|
3810
|
+
), _i = He(
|
|
3811
3811
|
(e) => {
|
|
3812
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3812
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3813
3813
|
if (r == null)
|
|
3814
3814
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3815
|
-
return n ? i =
|
|
3815
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3816
3816
|
}
|
|
3817
|
-
), xi =
|
|
3817
|
+
), xi = He(
|
|
3818
3818
|
(e) => {
|
|
3819
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3819
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3820
3820
|
if (r == null)
|
|
3821
3821
|
throw new Error(
|
|
3822
3822
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3823
3823
|
);
|
|
3824
|
-
return n ? i =
|
|
3824
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3825
3825
|
}
|
|
3826
3826
|
), Ti = (e = {}) => {
|
|
3827
3827
|
var t = e, {
|
|
3828
|
-
locale: r =
|
|
3829
|
-
} = t, n =
|
|
3828
|
+
locale: r = U()
|
|
3829
|
+
} = t, n = Q(t, [
|
|
3830
3830
|
"locale"
|
|
3831
3831
|
]);
|
|
3832
|
-
return
|
|
3833
|
-
},
|
|
3832
|
+
return Ei(et({ locale: r }, n));
|
|
3833
|
+
}, ki = (e = {}) => {
|
|
3834
3834
|
var t = e, {
|
|
3835
|
-
locale: r =
|
|
3836
|
-
} = t, n =
|
|
3835
|
+
locale: r = U()
|
|
3836
|
+
} = t, n = Q(t, [
|
|
3837
3837
|
"locale"
|
|
3838
3838
|
]);
|
|
3839
|
-
return
|
|
3840
|
-
},
|
|
3839
|
+
return _i(et({ locale: r }, n));
|
|
3840
|
+
}, wi = (e = {}) => {
|
|
3841
3841
|
var t = e, {
|
|
3842
|
-
locale: r =
|
|
3843
|
-
} = t, n =
|
|
3842
|
+
locale: r = U()
|
|
3843
|
+
} = t, n = Q(t, [
|
|
3844
3844
|
"locale"
|
|
3845
3845
|
]);
|
|
3846
3846
|
return xi(et({ locale: r }, n));
|
|
3847
|
-
},
|
|
3847
|
+
}, Si = He(
|
|
3848
3848
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3849
|
-
(e, t =
|
|
3850
|
-
ignoreTag:
|
|
3849
|
+
(e, t = U()) => new Yt(e, t, Z().formats, {
|
|
3850
|
+
ignoreTag: Z().ignoreTag
|
|
3851
3851
|
})
|
|
3852
|
-
),
|
|
3852
|
+
), Ai = (e, t = {}) => {
|
|
3853
3853
|
var r, n, i, a;
|
|
3854
|
-
let
|
|
3855
|
-
typeof e == "object" && (
|
|
3854
|
+
let s = t;
|
|
3855
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3856
3856
|
const {
|
|
3857
|
-
values:
|
|
3858
|
-
locale:
|
|
3859
|
-
default:
|
|
3860
|
-
} =
|
|
3861
|
-
if (
|
|
3857
|
+
values: o,
|
|
3858
|
+
locale: u = U(),
|
|
3859
|
+
default: l
|
|
3860
|
+
} = s;
|
|
3861
|
+
if (u == null)
|
|
3862
3862
|
throw new Error(
|
|
3863
3863
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3864
3864
|
);
|
|
3865
|
-
let
|
|
3866
|
-
if (!
|
|
3867
|
-
|
|
3868
|
-
else if (typeof
|
|
3865
|
+
let c = Qt(e, u);
|
|
3866
|
+
if (!c)
|
|
3867
|
+
c = (a = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
|
|
3868
|
+
else if (typeof c != "string")
|
|
3869
3869
|
return console.warn(
|
|
3870
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3871
|
-
),
|
|
3872
|
-
if (!
|
|
3873
|
-
return
|
|
3874
|
-
let
|
|
3870
|
+
`[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.`
|
|
3871
|
+
), c;
|
|
3872
|
+
if (!o)
|
|
3873
|
+
return c;
|
|
3874
|
+
let h = c;
|
|
3875
3875
|
try {
|
|
3876
|
-
|
|
3877
|
-
} catch (
|
|
3878
|
-
|
|
3876
|
+
h = Si(c, u).format(o);
|
|
3877
|
+
} catch (d) {
|
|
3878
|
+
d instanceof Error && console.warn(
|
|
3879
3879
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3880
|
-
|
|
3880
|
+
d.message
|
|
3881
3881
|
);
|
|
3882
3882
|
}
|
|
3883
|
-
return
|
|
3884
|
-
},
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
function
|
|
3883
|
+
return h;
|
|
3884
|
+
}, Ii = (e, t) => wi(t).format(e), Bi = (e, t) => ki(t).format(e), Hi = (e, t) => Ti(t).format(e), Ci = (e, t = U()) => Qt(e, t), Li = Y([F, le], () => Ai);
|
|
3885
|
+
Y([F], () => Ii);
|
|
3886
|
+
Y([F], () => Bi);
|
|
3887
|
+
Y([F], () => Hi);
|
|
3888
|
+
Y([F, le], () => Ci);
|
|
3889
|
+
function _t(e, t) {
|
|
3890
3890
|
tr(e, t);
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3893
|
-
|
|
3892
|
+
function Pi(e) {
|
|
3893
|
+
ci({
|
|
3894
3894
|
fallbackLocale: "en"
|
|
3895
|
-
}),
|
|
3895
|
+
}), F.set(e);
|
|
3896
3896
|
}
|
|
3897
3897
|
const xt = {
|
|
3898
3898
|
en: {
|
|
@@ -4048,139 +4048,295 @@ const xt = {
|
|
|
4048
4048
|
MissingPaymentDetails: "Détails de paiement manquants",
|
|
4049
4049
|
InvalidAccount: "Compte invalide",
|
|
4050
4050
|
DuplicatePaymentAccount: "Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."
|
|
4051
|
+
},
|
|
4052
|
+
da: {
|
|
4053
|
+
VendorMicroserviceCommunicationError: "Vi beklager, men din betalingsudbyder har afvist at behandle på grund af en mikroservice-kommunikationsfejl. Prøv venligst igen senere.",
|
|
4054
|
+
CustomerDocumentIdMissing: "Dokument-ID mangler",
|
|
4055
|
+
InvalidTransactionStatus: "Transaktionsstatus er ugyldig",
|
|
4056
|
+
UndefinedTechnicalError: "Noget gik galt",
|
|
4057
|
+
errorGeneralTitle: "Der opstod en fejl",
|
|
4058
|
+
errorGeneralText: "Noget gik galt",
|
|
4059
|
+
errorGeneralButton: "LUK",
|
|
4060
|
+
PlayerSessionIsNotValid: "Spillersession er ikke gyldig",
|
|
4061
|
+
VendorCommunicationError: "Vi beklager, men din betalingsudbyder har afvist at behandle på grund af en teknisk fejl. Prøv venligst senere eller kontakt din betalingsløsningsudbyder for yderligere hjælp. Fejlkode 21297",
|
|
4062
|
+
PaymentMethodNotAllowed: "Vi beklager, men denne betalingsmetode er ikke tilgængelig i øjeblikket. Kontakt venligst kundesupport for yderligere hjælp. Fejlkode 11402",
|
|
4063
|
+
InvalidPaymentDetails: "Vi beklager, men dine betalingsoplysninger er ikke gyldige. Sørg venligst for, at du har indtastet alle betalingsoplysninger korrekt, og prøv igen eller kontakt kundesupport for yderligere hjælp. Fejlkode 13555",
|
|
4064
|
+
MerchantUserHasWithdrawBlockRole: "Kære spiller! Vi informerer dig om, at du i øjeblikket ikke har tilladelse til at starte udbetalingstransaktioner fra din spillerkonto. Fejlkode: 21122",
|
|
4065
|
+
MerchantUserHasDepositBlockRole: "Kære spiller! Vi informerer dig om, at du i øjeblikket ikke har tilladelse til at starte indbetalingstransaktioner fra din spillerkonto. Fejlkode: 21123",
|
|
4066
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
|
|
4067
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Vi beklager, men vi kan ikke behandle transaktionen, fordi du ikke har gennemført KYC. Bekræft venligst din identitet eller kontakt kundesupport for yderligere hjælp. Fejlkode 23601",
|
|
4068
|
+
InsufficientCasinoFunds: "Din udbetaling overstiger din tilgængelige saldo. Tjek venligst din tilgængelige saldo for at justere dit udbetalingsbeløb",
|
|
4069
|
+
DepositWageringLimit: "Opmærksomhed! Din gevinstbalance er mindre end det beløb, du ønsker at hæve.",
|
|
4070
|
+
DepositWageringFetching: "Henter data",
|
|
4071
|
+
DepositWageringLimitText: "Indbetalingsvæddemål: ",
|
|
4072
|
+
AmountMinLimitExceeded: "Beløb er mindre end betalingsmetodens minimumsgrænse",
|
|
4073
|
+
AmountMaxLimitExceeded: "Beløb er større end betalingsmetodens maksimumsgrænse",
|
|
4074
|
+
AmountIsMissing: "Beløb mangler",
|
|
4075
|
+
MaxCustomerTransactionsCountReached: "Det ser ud til, at du har nået frekvensgrænsen for transaktionsforsøg pr. minut. Serveren tager for lang tid om at svare. Vent venligst lidt og prøv igen om et øjeblik",
|
|
4076
|
+
VendorTimeoutError: "Det ser ud til, at betalingsudbyderen har nogle problemer. Serveren tager for lang tid om at svare. Vent venligst lidt og prøv igen om et øjeblik. Fejlkode 21292",
|
|
4077
|
+
MerchantUserAccountIsInactive: "Afvist af handlende, brugerkonto er inaktiv",
|
|
4078
|
+
MerchantUserHasDepositDenyRole: "Afvist af handlende, bruger har indbetalingsnægtelsesrolle",
|
|
4079
|
+
TransactionCodeIsInvalid: "Transaktionskode er ugyldig",
|
|
4080
|
+
InvalidSession: "Din session er udløbet. Prøv venligst igen",
|
|
4081
|
+
TwoFactorAuthRequired: "To-faktor-godkendelse er påkrævet",
|
|
4082
|
+
DeclinedByMerchant: "Vi beklager, men transaktionen er blevet lukket af handlenden. Kontakt venligst kundesupport for yderligere hjælp.",
|
|
4083
|
+
FraudSuspectedError: "Vi beklager, men vi er ikke i stand til at behandle din transaktion i øjeblikket. Prøv venligst senere eller kontakt kundesupport for yderligere hjælp. Fejlkode 22020",
|
|
4084
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Kun én afventende transaktion pr. bruger er tilladt",
|
|
4085
|
+
TransactionFrequencyLimitReached: "Transaktionsfrekvensgrænse nået",
|
|
4086
|
+
DailyTransactionFrequencyLimitReached: "Transaktionen kan ikke udføres i øjeblikket, prøv venligst igen senere.",
|
|
4087
|
+
NotMappedVendorError: "Din saldo er utilstrækkelig, eller du har muligvis nået din transaktionsgrænse. Kontakt venligst din telekommunikationstjenesteudbyder",
|
|
4088
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Din saldo er utilstrækkelig, eller du har muligvis nået din transaktionsgrænse. Kontakt venligst din telekommunikationstjenesteudbyder",
|
|
4089
|
+
CumulativeLimitExceeded: "Pengemæssig grænse overskredet",
|
|
4090
|
+
CumulativeLimitExceededException: "Pengemæssig grænse overskredet",
|
|
4091
|
+
InsufficientFunds: "Utilstrækkelige midler",
|
|
4092
|
+
DeclinedByBank: "Transaktion afvist af banken",
|
|
4093
|
+
MaxNumberOfTransactionsReached: "Maksimalt antal transaktioner nået",
|
|
4094
|
+
OnlyOnePendingTransactionPerUserIsAllowed: "Kun én afventende transaktion er tilladt pr. bruger",
|
|
4095
|
+
AuthenticationFailed: "Godkendelse mislykkedes",
|
|
4096
|
+
CommunicationTimeoutError: "Kommunikationstimeout",
|
|
4097
|
+
MissingPaymentDetails: "Betalingsoplysninger mangler",
|
|
4098
|
+
InvalidAccount: "Ugyldig konto",
|
|
4099
|
+
DuplicatePaymentAccount: "Den konto, du brugte til at anmode om en udbetaling, er blevet anset for mistænkelig, og din transaktion er blevet annulleret af sikkerhedsmæssige årsager. Kontakt venligst vores live support for flere detaljer.",
|
|
4100
|
+
InvalidCardHolder: "Ugyldig kortholder",
|
|
4101
|
+
VendorInvalidCard: "Ugyldig leverandørkort",
|
|
4102
|
+
CardTokenIsBlocked: "Korttoken er blokeret"
|
|
4103
|
+
},
|
|
4104
|
+
de: {
|
|
4105
|
+
VendorMicroserviceCommunicationError: "Wir entschuldigen uns, aber Ihr Zahlungsanbieter hat die Verarbeitung aufgrund eines Microservice-Kommunikationsfehlers abgelehnt. Bitte versuchen Sie es später erneut.",
|
|
4106
|
+
CustomerDocumentIdMissing: "Die Dokument-ID fehlt",
|
|
4107
|
+
InvalidTransactionStatus: "Der Transaktionsstatus ist ungültig",
|
|
4108
|
+
UndefinedTechnicalError: "Etwas ist schiefgelaufen",
|
|
4109
|
+
errorGeneralTitle: "Fehler aufgetreten",
|
|
4110
|
+
errorGeneralText: "Etwas ist schiefgelaufen",
|
|
4111
|
+
errorGeneralButton: "SCHLIESSEN",
|
|
4112
|
+
PlayerSessionIsNotValid: "Spielersitzung ist nicht gültig",
|
|
4113
|
+
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",
|
|
4114
|
+
PaymentMethodNotAllowed: "Wir entschuldigen uns, aber diese Zahlungsmethode ist derzeit nicht verfügbar. Bitte kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 11402",
|
|
4115
|
+
InvalidPaymentDetails: "Wir entschuldigen uns, aber Ihre Zahlungsdaten sind nicht gültig. Bitte stellen Sie sicher, dass Sie alle Zahlungsdaten korrekt eingegeben haben, und versuchen Sie es erneut oder kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 13555",
|
|
4116
|
+
MerchantUserHasWithdrawBlockRole: "Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Auszahlungstransaktionen von Ihrem Spielerkonto initiieren dürfen. Fehlercode: 21122",
|
|
4117
|
+
MerchantUserHasDepositBlockRole: "Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlungstransaktionen von Ihrem Spielerkonto initiieren dürfen. Fehlercode: 21123",
|
|
4118
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
|
|
4119
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Wir entschuldigen uns, aber wir können die Transaktion nicht verarbeiten, da Sie die KYC-Prüfung nicht abgeschlossen haben. Bitte verifizieren Sie Ihre Identität oder kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 23601",
|
|
4120
|
+
InsufficientCasinoFunds: "Ihre Auszahlung übersteigt Ihr verfügbares Guthaben. Bitte überprüfen Sie Ihr verfügbares Guthaben, um Ihren Auszahlungsbetrag anzupassen",
|
|
4121
|
+
DepositWageringLimit: "Achtung! Ihr Gewinnguthaben ist geringer als der Betrag, den Sie abheben möchten.",
|
|
4122
|
+
DepositWageringFetching: "Daten werden geladen",
|
|
4123
|
+
DepositWageringLimitText: "Einzahlungswetten: ",
|
|
4124
|
+
AmountMinLimitExceeded: "Betrag ist kleiner als das Mindestlimit der Zahlungsmethode",
|
|
4125
|
+
AmountMaxLimitExceeded: "Betrag ist größer als das Höchstlimit der Zahlungsmethode",
|
|
4126
|
+
AmountIsMissing: "Betrag fehlt",
|
|
4127
|
+
MaxCustomerTransactionsCountReached: "Es scheint, dass Sie das Frequenzlimit der Transaktionsversuche pro Minute erreicht haben. Der Server braucht zu lange zum Antworten. Bitte warten Sie kurz und versuchen Sie es nach einer Weile erneut",
|
|
4128
|
+
VendorTimeoutError: "Es scheint, dass der Zahlungsanbieter einige Probleme hat. Der Server braucht zu lange zum Antworten. Bitte warten Sie kurz und versuchen Sie es nach einer Weile erneut. Fehlercode 21292",
|
|
4129
|
+
MerchantUserAccountIsInactive: "Vom Händler abgelehnt, Benutzerkonto ist inaktiv",
|
|
4130
|
+
MerchantUserHasDepositDenyRole: "Vom Händler abgelehnt, Benutzer hat Einzahlungs-Deny-Rolle",
|
|
4131
|
+
TransactionCodeIsInvalid: "Transaktionscode ist ungültig",
|
|
4132
|
+
InvalidSession: "Ihre Sitzung ist abgelaufen. Bitte versuchen Sie es erneut",
|
|
4133
|
+
TwoFactorAuthRequired: "Zwei-Faktor-Authentifizierung ist erforderlich",
|
|
4134
|
+
DeclinedByMerchant: "Wir entschuldigen uns, aber die Transaktion wurde vom Händler geschlossen. Bitte kontaktieren Sie den Kundendienst für weitere Hilfe.",
|
|
4135
|
+
FraudSuspectedError: "Wir entschuldigen uns, aber wir sind derzeit nicht in der Lage, Ihre Transaktion zu verarbeiten. Bitte versuchen Sie es später oder kontaktieren Sie den Kundendienst für weitere Hilfe. Fehlercode 22020",
|
|
4136
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Es ist nur eine ausstehende Transaktion pro Benutzer erlaubt",
|
|
4137
|
+
TransactionFrequencyLimitReached: "Transaktionsfrequenzlimit erreicht",
|
|
4138
|
+
DailyTransactionFrequencyLimitReached: "Die Transaktion kann im Moment nicht durchgeführt werden. Bitte versuchen Sie es später erneut.",
|
|
4139
|
+
NotMappedVendorError: "Ihr Guthaben ist unzureichend oder Sie haben möglicherweise Ihr Transaktionslimit erreicht. Bitte kontaktieren Sie Ihren Telekommunikationsdienstanbieter",
|
|
4140
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Ihr Guthaben ist unzureichend oder Sie haben möglicherweise Ihr Transaktionslimit erreicht. Bitte kontaktieren Sie Ihren Telekommunikationsdienstanbieter",
|
|
4141
|
+
CumulativeLimitExceeded: "Geldlimit überschritten",
|
|
4142
|
+
CumulativeLimitExceededException: "Geldlimit überschritten",
|
|
4143
|
+
InsufficientFunds: "Unzureichende Mittel",
|
|
4144
|
+
DeclinedByBank: "Transaktion von der Bank abgelehnt",
|
|
4145
|
+
MaxNumberOfTransactionsReached: "Maximale Anzahl von Transaktionen erreicht",
|
|
4146
|
+
OnlyOnePendingTransactionPerUserIsAllowed: "Es ist nur eine ausstehende Transaktion pro Benutzer erlaubt",
|
|
4147
|
+
AuthenticationFailed: "Authentifizierung fehlgeschlagen",
|
|
4148
|
+
CommunicationTimeoutError: "Kommunikations-Timeout",
|
|
4149
|
+
MissingPaymentDetails: "Fehlende Zahlungsdetails",
|
|
4150
|
+
InvalidAccount: "Ungültiges Konto",
|
|
4151
|
+
DuplicatePaymentAccount: "Das Konto, das Sie für die Auszahlungsanfrage verwendet haben, wurde als verdächtig eingestuft, und Ihre Transaktion wurde aus Sicherheitsgründen storniert. Bitte kontaktieren Sie unseren Live-Support für weitere Details.",
|
|
4152
|
+
InvalidCardHolder: "Ungültiger Karteninhaber",
|
|
4153
|
+
VendorInvalidCard: "Ungültige Anbieterkarte",
|
|
4154
|
+
CardTokenIsBlocked: "Karten-Token ist gesperrt"
|
|
4155
|
+
},
|
|
4156
|
+
nl: {
|
|
4157
|
+
VendorMicroserviceCommunicationError: "Onze excuses, maar uw betalingsprovider heeft de verwerking geweigerd vanwege een microservice-communicatiefout. Probeer het later opnieuw.",
|
|
4158
|
+
CustomerDocumentIdMissing: "Document-ID ontbreekt",
|
|
4159
|
+
InvalidTransactionStatus: "De transactiestatus is ongeldig",
|
|
4160
|
+
UndefinedTechnicalError: "Er is iets misgegaan",
|
|
4161
|
+
errorGeneralTitle: "Er is een fout opgetreden",
|
|
4162
|
+
errorGeneralText: "Er is iets misgegaan",
|
|
4163
|
+
errorGeneralButton: "SLUITEN",
|
|
4164
|
+
PlayerSessionIsNotValid: "Spelersessie is niet geldig",
|
|
4165
|
+
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",
|
|
4166
|
+
PaymentMethodNotAllowed: "Onze excuses, maar deze betaalmethode is momenteel niet beschikbaar. Neem contact op met de klantenservice voor verdere hulp. Foutcode 11402",
|
|
4167
|
+
InvalidPaymentDetails: "Onze excuses, maar uw betalingsgegevens zijn niet geldig. Controleer of u alle betalingsgegevens correct heeft ingevoerd en probeer het opnieuw of neem contact op met de klantenservice voor verdere hulp. Foutcode 13555",
|
|
4168
|
+
MerchantUserHasWithdrawBlockRole: "Beste speler! Wij informeren u dat u momenteel geen opnametransacties mag starten vanaf uw spelersaccount. Foutcode: 21122",
|
|
4169
|
+
MerchantUserHasDepositBlockRole: "Beste speler! Wij informeren u dat u momenteel geen stortingstransacties mag starten vanaf uw spelersaccount. Foutcode: 21123",
|
|
4170
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
|
|
4171
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Onze excuses, maar we kunnen de transactie niet verwerken omdat u de KYC niet heeft voltooid. Verifieer uw identiteit of neem contact op met de klantenservice voor verdere hulp. Foutcode 23601",
|
|
4172
|
+
InsufficientCasinoFunds: "Uw opname overschrijdt uw beschikbare saldo. Controleer uw beschikbare saldo om uw opnamebedrag aan te passen",
|
|
4173
|
+
DepositWageringLimit: "Let op! Uw winstsaldo is minder dan het bedrag dat u wilt opnemen.",
|
|
4174
|
+
DepositWageringFetching: "Gegevens ophalen",
|
|
4175
|
+
DepositWageringLimitText: "Stortingsinzet: ",
|
|
4176
|
+
AmountMinLimitExceeded: "Bedrag is kleiner dan het minimumslimiet van de betaalmethode",
|
|
4177
|
+
AmountMaxLimitExceeded: "Bedrag is groter dan het maximumlimiet van de betaalmethode",
|
|
4178
|
+
AmountIsMissing: "Bedrag ontbreekt",
|
|
4179
|
+
MaxCustomerTransactionsCountReached: "Het lijkt erop dat u de frequentielimiet van transactiepogingen per minuut heeft bereikt. De server reageert te traag. Wacht even en probeer het over een tijdje opnieuw",
|
|
4180
|
+
VendorTimeoutError: "Het lijkt erop dat de betalingsprovider problemen heeft. De server reageert te traag. Wacht even en probeer het over een tijdje opnieuw. Foutcode 21292",
|
|
4181
|
+
MerchantUserAccountIsInactive: "Geweigerd door handelaar, gebruikersaccount is inactief",
|
|
4182
|
+
MerchantUserHasDepositDenyRole: "Geweigerd door handelaar, gebruiker heeft stortings-weigeringsrol",
|
|
4183
|
+
TransactionCodeIsInvalid: "Transactiecode is ongeldig",
|
|
4184
|
+
InvalidSession: "Uw sessie is verlopen. Probeer het opnieuw",
|
|
4185
|
+
TwoFactorAuthRequired: "Tweefactorauthenticatie is vereist",
|
|
4186
|
+
DeclinedByMerchant: "Onze excuses, maar de transactie is gesloten door de handelaar. Neem contact op met de klantenservice voor verdere hulp.",
|
|
4187
|
+
FraudSuspectedError: "Onze excuses, maar we kunnen uw transactie momenteel niet verwerken. Probeer het later of neem contact op met de klantenservice voor verdere hulp. Foutcode 22020",
|
|
4188
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Slechts één openstaande transactie per gebruiker is toegestaan",
|
|
4189
|
+
TransactionFrequencyLimitReached: "Transactiefrequentielimiet bereikt",
|
|
4190
|
+
DailyTransactionFrequencyLimitReached: "De transactie kan momenteel niet worden uitgevoerd. Probeer het later opnieuw.",
|
|
4191
|
+
NotMappedVendorError: "Uw saldo is onvoldoende of u heeft mogelijk uw transactielimiet bereikt. Neem contact op met uw telecommunicatiedienstverlener",
|
|
4192
|
+
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Uw saldo is onvoldoende of u heeft mogelijk uw transactielimiet bereikt. Neem contact op met uw telecommunicatiedienstverlener",
|
|
4193
|
+
CumulativeLimitExceeded: "Geldlimiet overschreden",
|
|
4194
|
+
CumulativeLimitExceededException: "Geldlimiet overschreden",
|
|
4195
|
+
InsufficientFunds: "Onvoldoende saldo",
|
|
4196
|
+
DeclinedByBank: "Transactie geweigerd door de bank",
|
|
4197
|
+
MaxNumberOfTransactionsReached: "Maximaal aantal transacties bereikt",
|
|
4198
|
+
OnlyOnePendingTransactionPerUserIsAllowed: "Slechts één openstaande transactie is toegestaan per gebruiker",
|
|
4199
|
+
AuthenticationFailed: "Authenticatie mislukt",
|
|
4200
|
+
CommunicationTimeoutError: "Communicatietimeout",
|
|
4201
|
+
MissingPaymentDetails: "Betalingsgegevens ontbreken",
|
|
4202
|
+
InvalidAccount: "Ongeldig account",
|
|
4203
|
+
DuplicatePaymentAccount: "Het account dat u heeft gebruikt voor een opnameverzoek is als verdacht aangemerkt en uw transactie is geannuleerd om veiligheidsredenen. Neem contact op met onze live support voor meer details.",
|
|
4204
|
+
InvalidCardHolder: "Ongeldige kaarthouder",
|
|
4205
|
+
VendorInvalidCard: "Ongeldige leverancierskaart",
|
|
4206
|
+
CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
|
|
4051
4207
|
}
|
|
4052
4208
|
};
|
|
4053
|
-
function
|
|
4054
|
-
|
|
4209
|
+
function Oi(e) {
|
|
4210
|
+
pr(e, "svelte-y815d8", '.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}.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 ui-image img{width:300px}');
|
|
4055
4211
|
}
|
|
4056
|
-
const
|
|
4057
|
-
function
|
|
4212
|
+
const Mi = (e) => ({}), Tt = (e) => ({}), Di = (e) => ({}), kt = (e) => ({}), Ni = (e) => ({}), wt = (e) => ({}), Ri = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
|
|
4213
|
+
function At(e) {
|
|
4058
4214
|
let t, r;
|
|
4059
4215
|
return {
|
|
4060
4216
|
c() {
|
|
4061
|
-
t =
|
|
4062
|
-
e[0]}/error-general-icon.png`) ||
|
|
4217
|
+
t = H("ui-image"), at(t.src, r = `${/*assetsurl*/
|
|
4218
|
+
e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
|
|
4063
4219
|
},
|
|
4064
4220
|
m(n, i) {
|
|
4065
|
-
|
|
4221
|
+
A(n, t, i);
|
|
4066
4222
|
},
|
|
4067
4223
|
p(n, i) {
|
|
4068
4224
|
i & /*assetsurl*/
|
|
4069
4225
|
1 && !at(t.src, r = `${/*assetsurl*/
|
|
4070
|
-
n[0]}/error-general-icon.png`) &&
|
|
4226
|
+
n[0]}/error-general-icon.png`) && pe(t, "src", r);
|
|
4071
4227
|
},
|
|
4072
4228
|
d(n) {
|
|
4073
|
-
n &&
|
|
4229
|
+
n && S(t);
|
|
4074
4230
|
}
|
|
4075
4231
|
};
|
|
4076
4232
|
}
|
|
4077
|
-
function
|
|
4233
|
+
function Ui(e) {
|
|
4078
4234
|
let t, r = (
|
|
4079
4235
|
/*assetsurl*/
|
|
4080
|
-
e[0] &&
|
|
4236
|
+
e[0] && At(e)
|
|
4081
4237
|
);
|
|
4082
4238
|
return {
|
|
4083
4239
|
c() {
|
|
4084
|
-
r && r.c(), t =
|
|
4240
|
+
r && r.c(), t = Ye();
|
|
4085
4241
|
},
|
|
4086
4242
|
m(n, i) {
|
|
4087
|
-
r && r.m(n, i),
|
|
4243
|
+
r && r.m(n, i), A(n, t, i);
|
|
4088
4244
|
},
|
|
4089
4245
|
p(n, i) {
|
|
4090
4246
|
/*assetsurl*/
|
|
4091
|
-
n[0] ? r ? r.p(n, i) : (r =
|
|
4247
|
+
n[0] ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4092
4248
|
},
|
|
4093
4249
|
d(n) {
|
|
4094
|
-
n &&
|
|
4250
|
+
n && S(t), r && r.d(n);
|
|
4095
4251
|
}
|
|
4096
4252
|
};
|
|
4097
4253
|
}
|
|
4098
|
-
function
|
|
4254
|
+
function It(e) {
|
|
4099
4255
|
let t;
|
|
4100
|
-
function r(a,
|
|
4256
|
+
function r(a, s) {
|
|
4101
4257
|
return (
|
|
4102
4258
|
/*depositWageringAmount*/
|
|
4103
|
-
a[3] < 0 ?
|
|
4259
|
+
a[3] < 0 ? $i : Fi
|
|
4104
4260
|
);
|
|
4105
4261
|
}
|
|
4106
4262
|
let n = r(e), i = n(e);
|
|
4107
4263
|
return {
|
|
4108
4264
|
c() {
|
|
4109
|
-
i.c(), t =
|
|
4265
|
+
i.c(), t = Ye();
|
|
4110
4266
|
},
|
|
4111
|
-
m(a,
|
|
4112
|
-
i.m(a,
|
|
4267
|
+
m(a, s) {
|
|
4268
|
+
i.m(a, s), A(a, t, s);
|
|
4113
4269
|
},
|
|
4114
|
-
p(a,
|
|
4115
|
-
n === (n = r(a)) && i ? i.p(a,
|
|
4270
|
+
p(a, s) {
|
|
4271
|
+
n === (n = r(a)) && i ? i.p(a, s) : (i.d(1), i = n(a), i && (i.c(), i.m(t.parentNode, t)));
|
|
4116
4272
|
},
|
|
4117
4273
|
d(a) {
|
|
4118
|
-
a &&
|
|
4274
|
+
a && S(t), i.d(a);
|
|
4119
4275
|
}
|
|
4120
4276
|
};
|
|
4121
4277
|
}
|
|
4122
|
-
function
|
|
4278
|
+
function Fi(e) {
|
|
4123
4279
|
let t, r = (
|
|
4124
4280
|
/*$_*/
|
|
4125
4281
|
e[5]("DepositWageringLimitText") + ""
|
|
4126
4282
|
), n, i, a = (
|
|
4127
4283
|
/*depositWageringAmount*/
|
|
4128
|
-
e[3] > 0 &&
|
|
4284
|
+
e[3] > 0 && Bt(e)
|
|
4129
4285
|
);
|
|
4130
4286
|
return {
|
|
4131
4287
|
c() {
|
|
4132
|
-
t =
|
|
4288
|
+
t = H("span"), n = R(r), i = V(), a && a.c(), M(t, "class", "CashierErrorText");
|
|
4133
4289
|
},
|
|
4134
|
-
m(
|
|
4135
|
-
|
|
4290
|
+
m(s, o) {
|
|
4291
|
+
A(s, t, o), B(t, n), B(t, i), a && a.m(t, null);
|
|
4136
4292
|
},
|
|
4137
|
-
p(
|
|
4138
|
-
|
|
4293
|
+
p(s, o) {
|
|
4294
|
+
o & /*$_*/
|
|
4139
4295
|
32 && r !== (r = /*$_*/
|
|
4140
|
-
|
|
4141
|
-
|
|
4296
|
+
s[5]("DepositWageringLimitText") + "") && X(n, r), /*depositWageringAmount*/
|
|
4297
|
+
s[3] > 0 ? a ? a.p(s, o) : (a = Bt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
4142
4298
|
},
|
|
4143
|
-
d(
|
|
4144
|
-
|
|
4299
|
+
d(s) {
|
|
4300
|
+
s && S(t), a && a.d();
|
|
4145
4301
|
}
|
|
4146
4302
|
};
|
|
4147
4303
|
}
|
|
4148
|
-
function
|
|
4304
|
+
function $i(e) {
|
|
4149
4305
|
let t, r, n = (
|
|
4150
4306
|
/*$_*/
|
|
4151
4307
|
e[5]("DepositWageringFetching") + ""
|
|
4152
4308
|
), i;
|
|
4153
4309
|
return {
|
|
4154
4310
|
c() {
|
|
4155
|
-
t =
|
|
4311
|
+
t = H("div"), r = H("span"), i = R(n), M(r, "class", "CashierErrorText LoadingText"), M(t, "class", "WageringFetch");
|
|
4156
4312
|
},
|
|
4157
|
-
m(a,
|
|
4158
|
-
|
|
4313
|
+
m(a, s) {
|
|
4314
|
+
A(a, t, s), B(t, r), B(r, i);
|
|
4159
4315
|
},
|
|
4160
|
-
p(a,
|
|
4161
|
-
|
|
4316
|
+
p(a, s) {
|
|
4317
|
+
s & /*$_*/
|
|
4162
4318
|
32 && n !== (n = /*$_*/
|
|
4163
4319
|
a[5]("DepositWageringFetching") + "") && X(i, n);
|
|
4164
4320
|
},
|
|
4165
4321
|
d(a) {
|
|
4166
|
-
a &&
|
|
4322
|
+
a && S(t);
|
|
4167
4323
|
}
|
|
4168
4324
|
};
|
|
4169
4325
|
}
|
|
4170
|
-
function
|
|
4326
|
+
function Bt(e) {
|
|
4171
4327
|
let t, r, n;
|
|
4172
4328
|
return {
|
|
4173
4329
|
c() {
|
|
4174
|
-
t =
|
|
4330
|
+
t = R(
|
|
4175
4331
|
/*depositWageringAmount*/
|
|
4176
4332
|
e[3]
|
|
4177
|
-
), r = V(), n =
|
|
4333
|
+
), r = V(), n = R(
|
|
4178
4334
|
/*depositWageringCurrency*/
|
|
4179
4335
|
e[4]
|
|
4180
4336
|
);
|
|
4181
4337
|
},
|
|
4182
4338
|
m(i, a) {
|
|
4183
|
-
|
|
4339
|
+
A(i, t, a), A(i, r, a), A(i, n, a);
|
|
4184
4340
|
},
|
|
4185
4341
|
p(i, a) {
|
|
4186
4342
|
a & /*depositWageringAmount*/
|
|
@@ -4196,7 +4352,7 @@ function Lt(e) {
|
|
|
4196
4352
|
);
|
|
4197
4353
|
},
|
|
4198
4354
|
d(i) {
|
|
4199
|
-
i && (
|
|
4355
|
+
i && (S(t), S(r), S(n));
|
|
4200
4356
|
}
|
|
4201
4357
|
};
|
|
4202
4358
|
}
|
|
@@ -4205,267 +4361,267 @@ function zi(e) {
|
|
|
4205
4361
|
/*$_*/
|
|
4206
4362
|
e[5](`${/*errorcode*/
|
|
4207
4363
|
e[1] || "errorGeneralText"}`) + ""
|
|
4208
|
-
), n, i, a,
|
|
4364
|
+
), n, i, a, s = (
|
|
4209
4365
|
/*errorcode*/
|
|
4210
|
-
e[1] == "DepositWageringLimit" &&
|
|
4366
|
+
e[1] == "DepositWageringLimit" && It(e)
|
|
4211
4367
|
);
|
|
4212
4368
|
return {
|
|
4213
4369
|
c() {
|
|
4214
|
-
t =
|
|
4370
|
+
t = H("span"), n = R(r), i = V(), s && s.c(), a = Ye(), M(t, "class", "CashierErrorText");
|
|
4215
4371
|
},
|
|
4216
|
-
m(
|
|
4217
|
-
|
|
4372
|
+
m(o, u) {
|
|
4373
|
+
A(o, t, u), B(t, n), A(o, i, u), s && s.m(o, u), A(o, a, u);
|
|
4218
4374
|
},
|
|
4219
|
-
p(
|
|
4220
|
-
|
|
4375
|
+
p(o, u) {
|
|
4376
|
+
u & /*$_, errorcode*/
|
|
4221
4377
|
34 && r !== (r = /*$_*/
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4378
|
+
o[5](`${/*errorcode*/
|
|
4379
|
+
o[1] || "errorGeneralText"}`) + "") && X(n, r), /*errorcode*/
|
|
4380
|
+
o[1] == "DepositWageringLimit" ? s ? s.p(o, u) : (s = It(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
|
|
4225
4381
|
},
|
|
4226
|
-
d(
|
|
4227
|
-
|
|
4382
|
+
d(o) {
|
|
4383
|
+
o && (S(t), S(i), S(a)), s && s.d(o);
|
|
4228
4384
|
}
|
|
4229
4385
|
};
|
|
4230
4386
|
}
|
|
4231
|
-
function
|
|
4387
|
+
function Gi(e) {
|
|
4232
4388
|
let t, r, n = (
|
|
4233
4389
|
/*$_*/
|
|
4234
4390
|
e[5]("errorGeneralButton") + ""
|
|
4235
|
-
), i, a,
|
|
4391
|
+
), i, a, s;
|
|
4236
4392
|
return {
|
|
4237
4393
|
c() {
|
|
4238
|
-
t =
|
|
4394
|
+
t = H("button"), r = H("span"), i = R(n), M(t, "class", "CashierErrorButton");
|
|
4239
4395
|
},
|
|
4240
|
-
m(
|
|
4241
|
-
|
|
4396
|
+
m(o, u) {
|
|
4397
|
+
A(o, t, u), B(t, r), B(r, i), a || (s = yr(
|
|
4242
4398
|
t,
|
|
4243
4399
|
"click",
|
|
4244
4400
|
/*close*/
|
|
4245
4401
|
e[6]
|
|
4246
4402
|
), a = !0);
|
|
4247
4403
|
},
|
|
4248
|
-
p(
|
|
4249
|
-
|
|
4404
|
+
p(o, u) {
|
|
4405
|
+
u & /*$_*/
|
|
4250
4406
|
32 && n !== (n = /*$_*/
|
|
4251
|
-
|
|
4407
|
+
o[5]("errorGeneralButton") + "") && X(i, n);
|
|
4252
4408
|
},
|
|
4253
|
-
d(
|
|
4254
|
-
|
|
4409
|
+
d(o) {
|
|
4410
|
+
o && S(t), a = !1, s();
|
|
4255
4411
|
}
|
|
4256
4412
|
};
|
|
4257
4413
|
}
|
|
4258
4414
|
function ji(e) {
|
|
4259
|
-
let t, r, n, i, a,
|
|
4260
|
-
const
|
|
4415
|
+
let t, r, n, i, a, s;
|
|
4416
|
+
const o = (
|
|
4261
4417
|
/*#slots*/
|
|
4262
4418
|
e[13].icon
|
|
4263
|
-
),
|
|
4264
|
-
|
|
4419
|
+
), u = de(
|
|
4420
|
+
o,
|
|
4265
4421
|
e,
|
|
4266
4422
|
/*$$scope*/
|
|
4267
4423
|
e[12],
|
|
4268
|
-
|
|
4269
|
-
),
|
|
4424
|
+
St
|
|
4425
|
+
), l = u || Ui(e), c = (
|
|
4270
4426
|
/*#slots*/
|
|
4271
4427
|
e[13].title
|
|
4272
|
-
),
|
|
4273
|
-
|
|
4428
|
+
), h = de(
|
|
4429
|
+
c,
|
|
4274
4430
|
e,
|
|
4275
4431
|
/*$$scope*/
|
|
4276
4432
|
e[12],
|
|
4277
|
-
|
|
4278
|
-
),
|
|
4433
|
+
wt
|
|
4434
|
+
), d = (
|
|
4279
4435
|
/*#slots*/
|
|
4280
4436
|
e[13].text
|
|
4281
|
-
),
|
|
4282
|
-
|
|
4437
|
+
), g = de(
|
|
4438
|
+
d,
|
|
4283
4439
|
e,
|
|
4284
4440
|
/*$$scope*/
|
|
4285
4441
|
e[12],
|
|
4286
|
-
|
|
4287
|
-
),
|
|
4442
|
+
kt
|
|
4443
|
+
), p = g || zi(e), x = (
|
|
4288
4444
|
/*#slots*/
|
|
4289
4445
|
e[13].button
|
|
4290
|
-
),
|
|
4446
|
+
), k = de(
|
|
4291
4447
|
x,
|
|
4292
4448
|
e,
|
|
4293
4449
|
/*$$scope*/
|
|
4294
4450
|
e[12],
|
|
4295
4451
|
Tt
|
|
4296
|
-
), T =
|
|
4452
|
+
), T = k || Gi(e);
|
|
4297
4453
|
return {
|
|
4298
4454
|
c() {
|
|
4299
|
-
t =
|
|
4455
|
+
t = H("div"), r = H("div"), l && l.c(), n = V(), h && h.c(), i = V(), p && p.c(), a = V(), T && T.c(), M(r, "class", "CashierErrorContent"), M(t, "class", "CashierError");
|
|
4300
4456
|
},
|
|
4301
|
-
m(
|
|
4302
|
-
|
|
4457
|
+
m(f, y) {
|
|
4458
|
+
A(f, t, y), B(t, r), l && l.m(r, null), B(r, n), h && h.m(r, null), B(r, i), p && p.m(r, null), B(r, a), T && T.m(r, null), e[14](t), s = !0;
|
|
4303
4459
|
},
|
|
4304
|
-
p(
|
|
4305
|
-
|
|
4460
|
+
p(f, [y]) {
|
|
4461
|
+
u ? u.p && (!s || y & /*$$scope*/
|
|
4306
4462
|
4096) && me(
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4463
|
+
u,
|
|
4464
|
+
o,
|
|
4465
|
+
f,
|
|
4310
4466
|
/*$$scope*/
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4467
|
+
f[12],
|
|
4468
|
+
s ? fe(
|
|
4469
|
+
o,
|
|
4314
4470
|
/*$$scope*/
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
) :
|
|
4471
|
+
f[12],
|
|
4472
|
+
y,
|
|
4473
|
+
Ri
|
|
4474
|
+
) : ge(
|
|
4319
4475
|
/*$$scope*/
|
|
4320
|
-
|
|
4476
|
+
f[12]
|
|
4321
4477
|
),
|
|
4322
|
-
|
|
4323
|
-
) :
|
|
4324
|
-
1) &&
|
|
4478
|
+
St
|
|
4479
|
+
) : l && l.p && (!s || y & /*assetsurl*/
|
|
4480
|
+
1) && l.p(f, s ? y : -1), h && h.p && (!s || y & /*$$scope*/
|
|
4325
4481
|
4096) && me(
|
|
4326
|
-
c,
|
|
4327
4482
|
h,
|
|
4328
|
-
|
|
4483
|
+
c,
|
|
4484
|
+
f,
|
|
4329
4485
|
/*$$scope*/
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4486
|
+
f[12],
|
|
4487
|
+
s ? fe(
|
|
4488
|
+
c,
|
|
4333
4489
|
/*$$scope*/
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
) :
|
|
4490
|
+
f[12],
|
|
4491
|
+
y,
|
|
4492
|
+
Ni
|
|
4493
|
+
) : ge(
|
|
4338
4494
|
/*$$scope*/
|
|
4339
|
-
|
|
4495
|
+
f[12]
|
|
4340
4496
|
),
|
|
4341
|
-
|
|
4342
|
-
),
|
|
4497
|
+
wt
|
|
4498
|
+
), g ? g.p && (!s || y & /*$$scope*/
|
|
4343
4499
|
4096) && me(
|
|
4344
|
-
|
|
4345
|
-
f,
|
|
4500
|
+
g,
|
|
4346
4501
|
d,
|
|
4502
|
+
f,
|
|
4347
4503
|
/*$$scope*/
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4504
|
+
f[12],
|
|
4505
|
+
s ? fe(
|
|
4506
|
+
d,
|
|
4351
4507
|
/*$$scope*/
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
) :
|
|
4508
|
+
f[12],
|
|
4509
|
+
y,
|
|
4510
|
+
Di
|
|
4511
|
+
) : ge(
|
|
4356
4512
|
/*$$scope*/
|
|
4357
|
-
|
|
4513
|
+
f[12]
|
|
4358
4514
|
),
|
|
4359
|
-
|
|
4360
|
-
) :
|
|
4361
|
-
58) &&
|
|
4515
|
+
kt
|
|
4516
|
+
) : p && p.p && (!s || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
|
|
4517
|
+
58) && p.p(f, s ? y : -1), k ? k.p && (!s || y & /*$$scope*/
|
|
4362
4518
|
4096) && me(
|
|
4363
|
-
|
|
4519
|
+
k,
|
|
4364
4520
|
x,
|
|
4365
|
-
|
|
4521
|
+
f,
|
|
4366
4522
|
/*$$scope*/
|
|
4367
|
-
|
|
4368
|
-
|
|
4523
|
+
f[12],
|
|
4524
|
+
s ? fe(
|
|
4369
4525
|
x,
|
|
4370
4526
|
/*$$scope*/
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
) :
|
|
4527
|
+
f[12],
|
|
4528
|
+
y,
|
|
4529
|
+
Mi
|
|
4530
|
+
) : ge(
|
|
4375
4531
|
/*$$scope*/
|
|
4376
|
-
|
|
4532
|
+
f[12]
|
|
4377
4533
|
),
|
|
4378
4534
|
Tt
|
|
4379
|
-
) : T && T.p && (!
|
|
4380
|
-
32) && T.p(
|
|
4535
|
+
) : T && T.p && (!s || y & /*$_*/
|
|
4536
|
+
32) && T.p(f, s ? y : -1);
|
|
4381
4537
|
},
|
|
4382
|
-
i(
|
|
4383
|
-
|
|
4538
|
+
i(f) {
|
|
4539
|
+
s || (te(l, f), te(h, f), te(p, f), te(T, f), s = !0);
|
|
4384
4540
|
},
|
|
4385
|
-
o(
|
|
4386
|
-
be(
|
|
4541
|
+
o(f) {
|
|
4542
|
+
be(l, f), be(h, f), be(p, f), be(T, f), s = !1;
|
|
4387
4543
|
},
|
|
4388
|
-
d(
|
|
4389
|
-
|
|
4544
|
+
d(f) {
|
|
4545
|
+
f && S(t), l && l.d(f), h && h.d(f), p && p.d(f), T && T.d(f), e[14](null);
|
|
4390
4546
|
}
|
|
4391
4547
|
};
|
|
4392
4548
|
}
|
|
4393
4549
|
function Vi(e, t, r) {
|
|
4394
4550
|
let n;
|
|
4395
|
-
|
|
4396
|
-
let { $$slots: i = {}, $$scope: a } = t, { assetsurl:
|
|
4551
|
+
gr(e, Li, (m) => r(5, n = m));
|
|
4552
|
+
let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: h = "" } = t, { mbsource: d = "" } = t, g, p, x = -1, k;
|
|
4397
4553
|
const T = () => {
|
|
4398
|
-
|
|
4399
|
-
},
|
|
4400
|
-
if (
|
|
4554
|
+
Pi(o);
|
|
4555
|
+
}, f = () => Le(this, null, function* () {
|
|
4556
|
+
if (h)
|
|
4401
4557
|
try {
|
|
4402
|
-
const m = yield fetch(
|
|
4558
|
+
const m = yield fetch(h);
|
|
4403
4559
|
if (!m.ok)
|
|
4404
4560
|
throw new Error(`HTTP error! status: ${m.status}`);
|
|
4405
|
-
const
|
|
4406
|
-
Object.entries(
|
|
4407
|
-
|
|
4561
|
+
const ce = yield m.json();
|
|
4562
|
+
Object.entries(ce).forEach(([sr, or]) => {
|
|
4563
|
+
_t(sr, or);
|
|
4408
4564
|
});
|
|
4409
4565
|
} catch (m) {
|
|
4410
4566
|
console.error(m);
|
|
4411
4567
|
}
|
|
4412
4568
|
});
|
|
4413
4569
|
Object.keys(xt).forEach((m) => {
|
|
4414
|
-
|
|
4570
|
+
_t(m, xt[m]);
|
|
4415
4571
|
});
|
|
4416
|
-
const
|
|
4572
|
+
const y = () => {
|
|
4417
4573
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4418
|
-
},
|
|
4574
|
+
}, D = (m) => {
|
|
4419
4575
|
if (m.data)
|
|
4420
4576
|
switch (m.data.type) {
|
|
4421
4577
|
case "DepositWageringAmount":
|
|
4422
|
-
r(3, x = m.data.amount), r(4,
|
|
4578
|
+
r(3, x = m.data.amount), r(4, k = m.data.currency);
|
|
4423
4579
|
break;
|
|
4424
4580
|
}
|
|
4425
4581
|
};
|
|
4426
|
-
Tr(() => (window.addEventListener("message",
|
|
4427
|
-
window.removeEventListener("message",
|
|
4582
|
+
Tr(() => (window.addEventListener("message", D, !1), () => {
|
|
4583
|
+
window.removeEventListener("message", D);
|
|
4428
4584
|
}));
|
|
4429
|
-
function
|
|
4430
|
-
|
|
4431
|
-
|
|
4585
|
+
function L(m) {
|
|
4586
|
+
Fe[m ? "unshift" : "push"](() => {
|
|
4587
|
+
g = m, r(2, g);
|
|
4432
4588
|
});
|
|
4433
4589
|
}
|
|
4434
4590
|
return e.$$set = (m) => {
|
|
4435
|
-
"assetsurl" in m && r(0,
|
|
4591
|
+
"assetsurl" in m && r(0, s = m.assetsurl), "lang" in m && r(7, o = m.lang), "errorcode" in m && r(1, u = m.errorcode), "clientstyling" in m && r(8, l = m.clientstyling), "clientstylingurl" in m && r(9, c = m.clientstylingurl), "translationurl" in m && r(10, h = m.translationurl), "mbsource" in m && r(11, d = m.mbsource), "$$scope" in m && r(12, a = m.$$scope);
|
|
4436
4592
|
}, e.$$.update = () => {
|
|
4437
4593
|
e.$$.dirty & /*lang*/
|
|
4438
|
-
128 &&
|
|
4439
|
-
260 &&
|
|
4440
|
-
516 &&
|
|
4441
|
-
2052 &&
|
|
4442
|
-
1024 &&
|
|
4594
|
+
128 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4595
|
+
260 && l && g && Dr(g, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4596
|
+
516 && c && g && Nr(g, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4597
|
+
2052 && d && g && Rr(g, `${d}.Style`, p), e.$$.dirty & /*translationurl*/
|
|
4598
|
+
1024 && h && f();
|
|
4443
4599
|
}, [
|
|
4444
|
-
o,
|
|
4445
|
-
l,
|
|
4446
|
-
p,
|
|
4447
|
-
x,
|
|
4448
|
-
w,
|
|
4449
|
-
n,
|
|
4450
|
-
v,
|
|
4451
4600
|
s,
|
|
4452
4601
|
u,
|
|
4453
|
-
|
|
4602
|
+
g,
|
|
4603
|
+
x,
|
|
4604
|
+
k,
|
|
4605
|
+
n,
|
|
4606
|
+
y,
|
|
4607
|
+
o,
|
|
4608
|
+
l,
|
|
4454
4609
|
c,
|
|
4455
|
-
|
|
4610
|
+
h,
|
|
4611
|
+
d,
|
|
4456
4612
|
a,
|
|
4457
4613
|
i,
|
|
4458
|
-
|
|
4614
|
+
L
|
|
4459
4615
|
];
|
|
4460
4616
|
}
|
|
4461
|
-
class Wi extends
|
|
4617
|
+
class Wi extends Or {
|
|
4462
4618
|
constructor(t) {
|
|
4463
|
-
super(),
|
|
4619
|
+
super(), Lr(
|
|
4464
4620
|
this,
|
|
4465
4621
|
t,
|
|
4466
4622
|
Vi,
|
|
4467
4623
|
ji,
|
|
4468
|
-
|
|
4624
|
+
Ct,
|
|
4469
4625
|
{
|
|
4470
4626
|
assetsurl: 0,
|
|
4471
4627
|
lang: 7,
|
|
@@ -4475,53 +4631,53 @@ class Wi extends Mr {
|
|
|
4475
4631
|
translationurl: 10,
|
|
4476
4632
|
mbsource: 11
|
|
4477
4633
|
},
|
|
4478
|
-
|
|
4634
|
+
Oi
|
|
4479
4635
|
);
|
|
4480
4636
|
}
|
|
4481
4637
|
get assetsurl() {
|
|
4482
4638
|
return this.$$.ctx[0];
|
|
4483
4639
|
}
|
|
4484
4640
|
set assetsurl(t) {
|
|
4485
|
-
this.$$set({ assetsurl: t }),
|
|
4641
|
+
this.$$set({ assetsurl: t }), P();
|
|
4486
4642
|
}
|
|
4487
4643
|
get lang() {
|
|
4488
4644
|
return this.$$.ctx[7];
|
|
4489
4645
|
}
|
|
4490
4646
|
set lang(t) {
|
|
4491
|
-
this.$$set({ lang: t }),
|
|
4647
|
+
this.$$set({ lang: t }), P();
|
|
4492
4648
|
}
|
|
4493
4649
|
get errorcode() {
|
|
4494
4650
|
return this.$$.ctx[1];
|
|
4495
4651
|
}
|
|
4496
4652
|
set errorcode(t) {
|
|
4497
|
-
this.$$set({ errorcode: t }),
|
|
4653
|
+
this.$$set({ errorcode: t }), P();
|
|
4498
4654
|
}
|
|
4499
4655
|
get clientstyling() {
|
|
4500
4656
|
return this.$$.ctx[8];
|
|
4501
4657
|
}
|
|
4502
4658
|
set clientstyling(t) {
|
|
4503
|
-
this.$$set({ clientstyling: t }),
|
|
4659
|
+
this.$$set({ clientstyling: t }), P();
|
|
4504
4660
|
}
|
|
4505
4661
|
get clientstylingurl() {
|
|
4506
4662
|
return this.$$.ctx[9];
|
|
4507
4663
|
}
|
|
4508
4664
|
set clientstylingurl(t) {
|
|
4509
|
-
this.$$set({ clientstylingurl: t }),
|
|
4665
|
+
this.$$set({ clientstylingurl: t }), P();
|
|
4510
4666
|
}
|
|
4511
4667
|
get translationurl() {
|
|
4512
4668
|
return this.$$.ctx[10];
|
|
4513
4669
|
}
|
|
4514
4670
|
set translationurl(t) {
|
|
4515
|
-
this.$$set({ translationurl: t }),
|
|
4671
|
+
this.$$set({ translationurl: t }), P();
|
|
4516
4672
|
}
|
|
4517
4673
|
get mbsource() {
|
|
4518
4674
|
return this.$$.ctx[11];
|
|
4519
4675
|
}
|
|
4520
4676
|
set mbsource(t) {
|
|
4521
|
-
this.$$set({ mbsource: t }),
|
|
4677
|
+
this.$$set({ mbsource: t }), P();
|
|
4522
4678
|
}
|
|
4523
4679
|
}
|
|
4524
|
-
|
|
4680
|
+
Pr(Wi, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4525
4681
|
export {
|
|
4526
4682
|
Wi as default
|
|
4527
4683
|
};
|