@everymatrix/casino-403 1.61.1 → 1.62.1
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/{Casino403-BCeV5M4B.js → Casino403-BJqly_6v.js} +642 -636
- package/components/Casino403-COHfdFzW.cjs +3 -0
- package/components/{Casino403-DEWJOjiA.js → Casino403-Cs4op6mJ.js} +661 -655
- package/es2015/casino-403.cjs +1 -1
- package/es2015/casino-403.js +1 -1
- package/esnext/casino-403.js +1 -1
- package/package.json +1 -1
- package/components/Casino403-tykZruQx.cjs +0 -16
@@ -1,24 +1,24 @@
|
|
1
1
|
function A() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function it(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function Fe() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function te(e) {
|
10
|
+
e.forEach(it);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function Re(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function st(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function It(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function ot(e, ...t) {
|
22
22
|
if (e == null) {
|
23
23
|
for (const n of t)
|
24
24
|
n(void 0);
|
@@ -27,20 +27,20 @@ function it(e, ...t) {
|
|
27
27
|
const r = e.subscribe(...t);
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
29
|
}
|
30
|
-
function
|
31
|
-
e.$$.on_destroy.push(
|
30
|
+
function Ct(e, t, r) {
|
31
|
+
e.$$.on_destroy.push(ot(t, r));
|
32
32
|
}
|
33
33
|
function _(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
|
-
function
|
37
|
-
const n =
|
36
|
+
function $t(e, t, r) {
|
37
|
+
const n = Mt(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
|
-
const i =
|
40
|
-
i.id = t, i.textContent = r,
|
39
|
+
const i = C("style");
|
40
|
+
i.id = t, i.textContent = r, Rt(n, i);
|
41
41
|
}
|
42
42
|
}
|
43
|
-
function
|
43
|
+
function Mt(e) {
|
44
44
|
if (!e)
|
45
45
|
return document;
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -50,45 +50,45 @@ function Ct(e) {
|
|
50
50
|
t
|
51
51
|
) : e.ownerDocument;
|
52
52
|
}
|
53
|
-
function
|
53
|
+
function Rt(e, t) {
|
54
54
|
return _(
|
55
55
|
/** @type {Document} */
|
56
56
|
e.head || e,
|
57
57
|
t
|
58
58
|
), t.sheet;
|
59
59
|
}
|
60
|
-
function
|
60
|
+
function at(e, t, r) {
|
61
61
|
e.insertBefore(t, r || null);
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function De(e) {
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function C(e) {
|
67
67
|
return document.createElement(e);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function R(e) {
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function ie(e) {
|
73
73
|
return document.createTextNode(e);
|
74
74
|
}
|
75
|
-
function
|
76
|
-
return
|
75
|
+
function de() {
|
76
|
+
return ie(" ");
|
77
77
|
}
|
78
|
-
function
|
78
|
+
function Dt(e, t, r, n) {
|
79
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
80
80
|
}
|
81
|
-
function
|
81
|
+
function x(e, t, r) {
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
83
83
|
}
|
84
|
-
function
|
84
|
+
function Ut(e) {
|
85
85
|
return Array.from(e.childNodes);
|
86
86
|
}
|
87
|
-
function
|
87
|
+
function be(e, t) {
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
89
89
|
t);
|
90
90
|
}
|
91
|
-
function
|
91
|
+
function Gt(e) {
|
92
92
|
const t = {};
|
93
93
|
return e.childNodes.forEach(
|
94
94
|
/** @param {Element} node */
|
@@ -97,87 +97,87 @@ function Dt(e) {
|
|
97
97
|
}
|
98
98
|
), t;
|
99
99
|
}
|
100
|
-
let
|
101
|
-
function
|
102
|
-
|
100
|
+
let Y;
|
101
|
+
function J(e) {
|
102
|
+
Y = e;
|
103
103
|
}
|
104
|
-
function
|
105
|
-
if (!
|
104
|
+
function Ft() {
|
105
|
+
if (!Y)
|
106
106
|
throw new Error("Function called outside component initialization");
|
107
|
-
return
|
107
|
+
return Y;
|
108
108
|
}
|
109
|
-
function
|
110
|
-
|
111
|
-
}
|
112
|
-
const
|
113
|
-
let
|
114
|
-
const
|
115
|
-
let
|
116
|
-
function
|
117
|
-
|
118
|
-
}
|
119
|
-
function
|
120
|
-
|
121
|
-
}
|
122
|
-
const
|
123
|
-
let
|
124
|
-
function
|
125
|
-
if (
|
109
|
+
function jt(e) {
|
110
|
+
Ft().$$.on_mount.push(e);
|
111
|
+
}
|
112
|
+
const G = [], Se = [];
|
113
|
+
let F = [];
|
114
|
+
const je = [], Vt = /* @__PURE__ */ Promise.resolve();
|
115
|
+
let Be = !1;
|
116
|
+
function kt() {
|
117
|
+
Be || (Be = !0, Vt.then($));
|
118
|
+
}
|
119
|
+
function Pe(e) {
|
120
|
+
F.push(e);
|
121
|
+
}
|
122
|
+
const ye = /* @__PURE__ */ new Set();
|
123
|
+
let D = 0;
|
124
|
+
function $() {
|
125
|
+
if (D !== 0)
|
126
126
|
return;
|
127
|
-
const e =
|
127
|
+
const e = Y;
|
128
128
|
do {
|
129
129
|
try {
|
130
|
-
for (;
|
131
|
-
const t =
|
132
|
-
|
130
|
+
for (; D < G.length; ) {
|
131
|
+
const t = G[D];
|
132
|
+
D++, J(t), Xt(t.$$);
|
133
133
|
}
|
134
134
|
} catch (t) {
|
135
|
-
throw
|
135
|
+
throw G.length = 0, D = 0, t;
|
136
136
|
}
|
137
|
-
for (
|
138
|
-
|
139
|
-
for (let t = 0; t <
|
140
|
-
const r =
|
141
|
-
|
137
|
+
for (J(null), G.length = 0, D = 0; Se.length; )
|
138
|
+
Se.pop()();
|
139
|
+
for (let t = 0; t < F.length; t += 1) {
|
140
|
+
const r = F[t];
|
141
|
+
ye.has(r) || (ye.add(r), r());
|
142
142
|
}
|
143
|
-
|
144
|
-
} while (
|
145
|
-
for (;
|
146
|
-
|
147
|
-
|
143
|
+
F.length = 0;
|
144
|
+
} while (G.length);
|
145
|
+
for (; je.length; )
|
146
|
+
je.pop()();
|
147
|
+
Be = !1, ye.clear(), J(e);
|
148
148
|
}
|
149
|
-
function
|
149
|
+
function Xt(e) {
|
150
150
|
if (e.fragment !== null) {
|
151
|
-
e.update(),
|
151
|
+
e.update(), te(e.before_update);
|
152
152
|
const t = e.dirty;
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
154
154
|
}
|
155
155
|
}
|
156
|
-
function
|
156
|
+
function zt(e) {
|
157
157
|
const t = [], r = [];
|
158
|
-
|
158
|
+
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
159
159
|
}
|
160
|
-
const
|
161
|
-
function
|
162
|
-
e && e.i && (
|
160
|
+
const Wt = /* @__PURE__ */ new Set();
|
161
|
+
function Zt(e, t) {
|
162
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function qt(e, t, r) {
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
166
|
-
n && n.m(t, r),
|
167
|
-
const s = e.$$.on_mount.map(
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
169
|
-
}), i.forEach(
|
166
|
+
n && n.m(t, r), Pe(() => {
|
167
|
+
const s = e.$$.on_mount.map(it).filter(Re);
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
169
|
+
}), i.forEach(Pe);
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function Qt(e, t) {
|
172
172
|
const r = e.$$;
|
173
|
-
r.fragment !== null && (
|
173
|
+
r.fragment !== null && (zt(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
174
174
|
}
|
175
|
-
function
|
176
|
-
e.$$.dirty[0] === -1 && (
|
175
|
+
function Jt(e, t) {
|
176
|
+
e.$$.dirty[0] === -1 && (G.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
177
177
|
}
|
178
|
-
function
|
179
|
-
const l =
|
180
|
-
|
178
|
+
function Yt(e, t, r, n, i, s, u = null, a = [-1]) {
|
179
|
+
const l = Y;
|
180
|
+
J(e);
|
181
181
|
const o = e.$$ = {
|
182
182
|
fragment: null,
|
183
183
|
ctx: [],
|
@@ -185,7 +185,7 @@ function Qt(e, t, r, n, i, s, u = null, a = [-1]) {
|
|
185
185
|
props: s,
|
186
186
|
update: A,
|
187
187
|
not_equal: i,
|
188
|
-
bound:
|
188
|
+
bound: Fe(),
|
189
189
|
// lifecycle
|
190
190
|
on_mount: [],
|
191
191
|
on_destroy: [],
|
@@ -194,28 +194,28 @@ function Qt(e, t, r, n, i, s, u = null, a = [-1]) {
|
|
194
194
|
after_update: [],
|
195
195
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
196
196
|
// everything else
|
197
|
-
callbacks:
|
197
|
+
callbacks: Fe(),
|
198
198
|
dirty: a,
|
199
199
|
skip_bound: !1,
|
200
200
|
root: t.target || l.$$.root
|
201
201
|
};
|
202
202
|
u && u(o.root);
|
203
203
|
let h = !1;
|
204
|
-
if (o.ctx = r ? r(e, t.props || {}, (c, f, ...
|
205
|
-
const
|
206
|
-
return o.ctx && i(o.ctx[c], o.ctx[c] =
|
207
|
-
}) : [], o.update(), h = !0,
|
204
|
+
if (o.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
205
|
+
const b = d.length ? d[0] : f;
|
206
|
+
return o.ctx && i(o.ctx[c], o.ctx[c] = b) && (!o.skip_bound && o.bound[c] && o.bound[c](b), h && Jt(e, c)), f;
|
207
|
+
}) : [], o.update(), h = !0, te(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
|
208
208
|
if (t.hydrate) {
|
209
|
-
const c =
|
210
|
-
o.fragment && o.fragment.l(c), c.forEach(
|
209
|
+
const c = Ut(t.target);
|
210
|
+
o.fragment && o.fragment.l(c), c.forEach(De);
|
211
211
|
} else
|
212
212
|
o.fragment && o.fragment.c();
|
213
|
-
t.intro &&
|
213
|
+
t.intro && Zt(e.$$.fragment), qt(e, t.target, t.anchor), $();
|
214
214
|
}
|
215
|
-
|
215
|
+
J(l);
|
216
216
|
}
|
217
|
-
let
|
218
|
-
typeof HTMLElement == "function" && (
|
217
|
+
let ut;
|
218
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
219
219
|
/** The Svelte component constructor */
|
220
220
|
$$ctor;
|
221
221
|
/** Slots */
|
@@ -257,29 +257,29 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
257
257
|
let s;
|
258
258
|
return {
|
259
259
|
c: function() {
|
260
|
-
s =
|
260
|
+
s = C("slot"), i !== "default" && x(s, "name", i);
|
261
261
|
},
|
262
262
|
/**
|
263
263
|
* @param {HTMLElement} target
|
264
264
|
* @param {HTMLElement} [anchor]
|
265
265
|
*/
|
266
266
|
m: function(l, o) {
|
267
|
-
|
267
|
+
at(l, s, o);
|
268
268
|
},
|
269
269
|
d: function(l) {
|
270
|
-
l &&
|
270
|
+
l && De(s);
|
271
271
|
}
|
272
272
|
};
|
273
273
|
};
|
274
274
|
};
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
276
276
|
return;
|
277
|
-
const t = {}, r =
|
277
|
+
const t = {}, r = Gt(this);
|
278
278
|
for (const i of this.$$s)
|
279
279
|
i in r && (t[i] = [e(i)]);
|
280
280
|
for (const i of this.attributes) {
|
281
281
|
const s = this.$$g_p(i.name);
|
282
|
-
s in this.$$d || (this.$$d[s] =
|
282
|
+
s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
|
283
283
|
}
|
284
284
|
for (const i in this.$$p_d)
|
285
285
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
297
297
|
this.$$r = !0;
|
298
298
|
for (const i in this.$$p_d)
|
299
299
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
300
|
-
const s =
|
300
|
+
const s = se(
|
301
301
|
i,
|
302
302
|
this.$$d[i],
|
303
303
|
this.$$p_d,
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
319
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
320
320
|
// and setting attributes through setAttribute etc, this is helpful
|
321
321
|
attributeChangedCallback(e, t, r) {
|
322
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
322
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
323
323
|
}
|
324
324
|
disconnectedCallback() {
|
325
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
332
332
|
) || e;
|
333
333
|
}
|
334
334
|
});
|
335
|
-
function
|
335
|
+
function se(e, t, r, n) {
|
336
336
|
const i = r[e]?.type;
|
337
337
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
338
338
|
return t;
|
@@ -361,8 +361,8 @@ function ie(e, t, r, n) {
|
|
361
361
|
return t;
|
362
362
|
}
|
363
363
|
}
|
364
|
-
function
|
365
|
-
let u = class extends
|
364
|
+
function Kt(e, t, r, n, i, s) {
|
365
|
+
let u = class extends ut {
|
366
366
|
constructor() {
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
368
368
|
}
|
@@ -378,7 +378,7 @@ function Jt(e, t, r, n, i, s) {
|
|
378
378
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
379
379
|
},
|
380
380
|
set(l) {
|
381
|
-
l =
|
381
|
+
l = se(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
382
382
|
}
|
383
383
|
});
|
384
384
|
}), n.forEach((a) => {
|
@@ -390,7 +390,7 @@ function Jt(e, t, r, n, i, s) {
|
|
390
390
|
}), e.element = /** @type {any} */
|
391
391
|
u, u;
|
392
392
|
}
|
393
|
-
class
|
393
|
+
class er {
|
394
394
|
/**
|
395
395
|
* ### PRIVATE API
|
396
396
|
*
|
@@ -409,7 +409,7 @@ class Yt {
|
|
409
409
|
$$set = void 0;
|
410
410
|
/** @returns {void} */
|
411
411
|
$destroy() {
|
412
|
-
|
412
|
+
Qt(this, 1), this.$destroy = A;
|
413
413
|
}
|
414
414
|
/**
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
@@ -418,7 +418,7 @@ class Yt {
|
|
418
418
|
* @returns {() => void}
|
419
419
|
*/
|
420
420
|
$on(t, r) {
|
421
|
-
if (
|
421
|
+
if (!Re(r))
|
422
422
|
return A;
|
423
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
424
424
|
return n.push(r), () => {
|
@@ -431,29 +431,29 @@ class Yt {
|
|
431
431
|
* @returns {void}
|
432
432
|
*/
|
433
433
|
$set(t) {
|
434
|
-
this.$$set && !
|
434
|
+
this.$$set && !It(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
435
435
|
}
|
436
436
|
}
|
437
|
-
const
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
439
|
-
const
|
440
|
-
function
|
437
|
+
const tr = "4";
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
|
439
|
+
const U = [];
|
440
|
+
function rr(e, t) {
|
441
441
|
return {
|
442
|
-
subscribe:
|
442
|
+
subscribe: ce(e, t).subscribe
|
443
443
|
};
|
444
444
|
}
|
445
|
-
function
|
445
|
+
function ce(e, t = A) {
|
446
446
|
let r;
|
447
447
|
const n = /* @__PURE__ */ new Set();
|
448
448
|
function i(a) {
|
449
|
-
if (
|
450
|
-
const l = !
|
449
|
+
if (st(e, a) && (e = a, r)) {
|
450
|
+
const l = !U.length;
|
451
451
|
for (const o of n)
|
452
|
-
o[1](),
|
452
|
+
o[1](), U.push(o, e);
|
453
453
|
if (l) {
|
454
|
-
for (let o = 0; o <
|
455
|
-
|
456
|
-
|
454
|
+
for (let o = 0; o < U.length; o += 2)
|
455
|
+
U[o][0](U[o + 1]);
|
456
|
+
U.length = 0;
|
457
457
|
}
|
458
458
|
}
|
459
459
|
}
|
@@ -468,12 +468,12 @@ function he(e, t = A) {
|
|
468
468
|
}
|
469
469
|
return { set: i, update: s, subscribe: u };
|
470
470
|
}
|
471
|
-
function
|
471
|
+
function z(e, t, r) {
|
472
472
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
473
473
|
if (!i.every(Boolean))
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
475
475
|
const s = t.length < 2;
|
476
|
-
return
|
476
|
+
return rr(r, (u, a) => {
|
477
477
|
let l = !1;
|
478
478
|
const o = [];
|
479
479
|
let h = 0, c = A;
|
@@ -481,11 +481,11 @@ function X(e, t, r) {
|
|
481
481
|
if (h)
|
482
482
|
return;
|
483
483
|
c();
|
484
|
-
const
|
485
|
-
s ? u(
|
486
|
-
},
|
487
|
-
(
|
488
|
-
|
484
|
+
const b = t(n ? o[0] : o, u, a);
|
485
|
+
s ? u(b) : c = Re(b) ? b : A;
|
486
|
+
}, d = i.map(
|
487
|
+
(b, m) => ot(
|
488
|
+
b,
|
489
489
|
(E) => {
|
490
490
|
o[m] = E, h &= ~(1 << m), l && f();
|
491
491
|
},
|
@@ -495,126 +495,112 @@ function X(e, t, r) {
|
|
495
495
|
)
|
496
496
|
);
|
497
497
|
return l = !0, f(), function() {
|
498
|
-
|
498
|
+
te(d), c(), l = !1;
|
499
499
|
};
|
500
500
|
});
|
501
501
|
}
|
502
|
-
function
|
502
|
+
function nr(e) {
|
503
503
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
504
504
|
}
|
505
|
-
var
|
506
|
-
return
|
505
|
+
var ir = function(t) {
|
506
|
+
return sr(t) && !or(t);
|
507
507
|
};
|
508
|
-
function
|
508
|
+
function sr(e) {
|
509
509
|
return !!e && typeof e == "object";
|
510
510
|
}
|
511
|
-
function
|
511
|
+
function or(e) {
|
512
512
|
var t = Object.prototype.toString.call(e);
|
513
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
513
|
+
return t === "[object RegExp]" || t === "[object Date]" || hr(e);
|
514
514
|
}
|
515
|
-
var
|
516
|
-
function
|
517
|
-
return e.$$typeof ===
|
515
|
+
var ar = typeof Symbol == "function" && Symbol.for, ur = ar ? Symbol.for("react.element") : 60103;
|
516
|
+
function hr(e) {
|
517
|
+
return e.$$typeof === ur;
|
518
518
|
}
|
519
|
-
function
|
519
|
+
function lr(e) {
|
520
520
|
return Array.isArray(e) ? [] : {};
|
521
521
|
}
|
522
|
-
function
|
523
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
522
|
+
function K(e, t) {
|
523
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(lr(e), e, t) : e;
|
524
524
|
}
|
525
|
-
function
|
525
|
+
function cr(e, t, r) {
|
526
526
|
return e.concat(t).map(function(n) {
|
527
|
-
return
|
527
|
+
return K(n, r);
|
528
528
|
});
|
529
529
|
}
|
530
|
-
function
|
530
|
+
function fr(e, t) {
|
531
531
|
if (!t.customMerge)
|
532
|
-
return
|
532
|
+
return j;
|
533
533
|
var r = t.customMerge(e);
|
534
|
-
return typeof r == "function" ? r :
|
534
|
+
return typeof r == "function" ? r : j;
|
535
535
|
}
|
536
|
-
function
|
536
|
+
function mr(e) {
|
537
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
538
538
|
return Object.propertyIsEnumerable.call(e, t);
|
539
539
|
}) : [];
|
540
540
|
}
|
541
|
-
function
|
542
|
-
return Object.keys(e).concat(
|
541
|
+
function Ve(e) {
|
542
|
+
return Object.keys(e).concat(mr(e));
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function ht(e, t) {
|
545
545
|
try {
|
546
546
|
return t in e;
|
547
547
|
} catch {
|
548
548
|
return !1;
|
549
549
|
}
|
550
550
|
}
|
551
|
-
function
|
552
|
-
return
|
551
|
+
function pr(e, t) {
|
552
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
553
553
|
}
|
554
|
-
function
|
554
|
+
function gr(e, t, r) {
|
555
555
|
var n = {};
|
556
|
-
return r.isMergeableObject(e) &&
|
557
|
-
n[i] =
|
558
|
-
}),
|
559
|
-
|
556
|
+
return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
|
557
|
+
n[i] = K(e[i], r);
|
558
|
+
}), Ve(t).forEach(function(i) {
|
559
|
+
pr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
560
560
|
}), n;
|
561
561
|
}
|
562
|
-
function
|
563
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
562
|
+
function j(e, t, r) {
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = K;
|
564
564
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
565
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
565
|
+
return s ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : K(t, r);
|
566
566
|
}
|
567
|
-
|
567
|
+
j.all = function(t, r) {
|
568
568
|
if (!Array.isArray(t))
|
569
569
|
throw new Error("first argument should be an array");
|
570
570
|
return t.reduce(function(n, i) {
|
571
|
-
return
|
571
|
+
return j(n, i, r);
|
572
572
|
}, {});
|
573
573
|
};
|
574
|
-
var
|
575
|
-
const
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
580
|
-
purpose with or without fee is hereby granted.
|
581
|
-
|
582
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
583
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
584
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
585
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
586
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
587
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
588
|
-
PERFORMANCE OF THIS SOFTWARE.
|
589
|
-
***************************************************************************** */
|
590
|
-
var Se = function(e, t) {
|
591
|
-
return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
574
|
+
var dr = j, br = dr;
|
575
|
+
const yr = /* @__PURE__ */ nr(br);
|
576
|
+
var Ae = function(e, t) {
|
577
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
592
578
|
r.__proto__ = n;
|
593
579
|
} || function(r, n) {
|
594
580
|
for (var i in n)
|
595
581
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
596
|
-
},
|
582
|
+
}, Ae(e, t);
|
597
583
|
};
|
598
|
-
function
|
584
|
+
function fe(e, t) {
|
599
585
|
if (typeof t != "function" && t !== null)
|
600
586
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
601
|
-
|
587
|
+
Ae(e, t);
|
602
588
|
function r() {
|
603
589
|
this.constructor = e;
|
604
590
|
}
|
605
591
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
606
592
|
}
|
607
|
-
var
|
608
|
-
return
|
593
|
+
var N = function() {
|
594
|
+
return N = Object.assign || function(t) {
|
609
595
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
610
596
|
r = arguments[n];
|
611
597
|
for (var s in r)
|
612
598
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
613
599
|
}
|
614
600
|
return t;
|
615
|
-
},
|
601
|
+
}, N.apply(this, arguments);
|
616
602
|
};
|
617
|
-
function
|
603
|
+
function xr(e, t) {
|
618
604
|
var r = {};
|
619
605
|
for (var n in e)
|
620
606
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -623,43 +609,43 @@ function br(e, t) {
|
|
623
609
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
624
610
|
return r;
|
625
611
|
}
|
626
|
-
function
|
627
|
-
if (arguments.length === 2)
|
612
|
+
function xe(e, t, r) {
|
613
|
+
if (r || arguments.length === 2)
|
628
614
|
for (var n = 0, i = t.length, s; n < i; n++)
|
629
615
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
630
|
-
return e.concat(s || t);
|
616
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
631
617
|
}
|
632
|
-
function
|
633
|
-
var r = t && t.cache ? t.cache :
|
618
|
+
function ve(e, t) {
|
619
|
+
var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
|
634
620
|
return i(e, {
|
635
621
|
cache: r,
|
636
622
|
serializer: n
|
637
623
|
});
|
638
624
|
}
|
639
|
-
function
|
625
|
+
function vr(e) {
|
640
626
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
641
627
|
}
|
642
|
-
function
|
643
|
-
var i =
|
628
|
+
function Er(e, t, r, n) {
|
629
|
+
var i = vr(n) ? n : r(n), s = t.get(i);
|
644
630
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
645
631
|
}
|
646
|
-
function
|
632
|
+
function lt(e, t, r) {
|
647
633
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
648
634
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
649
635
|
}
|
650
|
-
function
|
636
|
+
function ct(e, t, r, n, i) {
|
651
637
|
return r.bind(t, e, n, i);
|
652
638
|
}
|
653
|
-
function
|
654
|
-
var r = e.length === 1 ?
|
655
|
-
return
|
639
|
+
function _r(e, t) {
|
640
|
+
var r = e.length === 1 ? Er : lt;
|
641
|
+
return ct(e, this, r, t.cache.create(), t.serializer);
|
656
642
|
}
|
657
|
-
function
|
658
|
-
return
|
643
|
+
function Hr(e, t) {
|
644
|
+
return ct(e, this, lt, t.cache.create(), t.serializer);
|
659
645
|
}
|
660
|
-
var
|
646
|
+
var Tr = function() {
|
661
647
|
return JSON.stringify(arguments);
|
662
|
-
},
|
648
|
+
}, Sr = (
|
663
649
|
/** @class */
|
664
650
|
function() {
|
665
651
|
function e() {
|
@@ -671,61 +657,71 @@ var _r = function() {
|
|
671
657
|
this.cache[t] = r;
|
672
658
|
}, e;
|
673
659
|
}()
|
674
|
-
),
|
660
|
+
), Br = {
|
675
661
|
create: function() {
|
676
|
-
return new
|
662
|
+
return new Sr();
|
677
663
|
}
|
678
|
-
},
|
679
|
-
variadic:
|
680
|
-
},
|
664
|
+
}, Ee = {
|
665
|
+
variadic: Hr
|
666
|
+
}, ue = function() {
|
667
|
+
return ue = Object.assign || function(t) {
|
668
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
669
|
+
r = arguments[n];
|
670
|
+
for (var s in r)
|
671
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
672
|
+
}
|
673
|
+
return t;
|
674
|
+
}, ue.apply(this, arguments);
|
675
|
+
};
|
676
|
+
var p;
|
681
677
|
(function(e) {
|
682
678
|
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";
|
683
679
|
})(p || (p = {}));
|
684
|
-
var
|
680
|
+
var y;
|
685
681
|
(function(e) {
|
686
682
|
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";
|
687
|
-
})(
|
688
|
-
var
|
683
|
+
})(y || (y = {}));
|
684
|
+
var V;
|
689
685
|
(function(e) {
|
690
686
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
691
|
-
})(
|
692
|
-
function
|
693
|
-
return e.type ===
|
694
|
-
}
|
695
|
-
function Br(e) {
|
696
|
-
return e.type === x.argument;
|
697
|
-
}
|
698
|
-
function lt(e) {
|
699
|
-
return e.type === x.number;
|
687
|
+
})(V || (V = {}));
|
688
|
+
function ke(e) {
|
689
|
+
return e.type === y.literal;
|
700
690
|
}
|
701
|
-
function
|
702
|
-
return e.type ===
|
691
|
+
function Pr(e) {
|
692
|
+
return e.type === y.argument;
|
703
693
|
}
|
704
694
|
function ft(e) {
|
705
|
-
return e.type ===
|
695
|
+
return e.type === y.number;
|
706
696
|
}
|
707
697
|
function mt(e) {
|
708
|
-
return e.type ===
|
698
|
+
return e.type === y.date;
|
709
699
|
}
|
710
700
|
function pt(e) {
|
711
|
-
return e.type ===
|
712
|
-
}
|
713
|
-
function Sr(e) {
|
714
|
-
return e.type === x.pound;
|
701
|
+
return e.type === y.time;
|
715
702
|
}
|
716
703
|
function gt(e) {
|
717
|
-
return e.type ===
|
704
|
+
return e.type === y.select;
|
718
705
|
}
|
719
706
|
function dt(e) {
|
720
|
-
return
|
707
|
+
return e.type === y.plural;
|
721
708
|
}
|
722
|
-
function Pe(e) {
|
723
|
-
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
724
|
-
}
|
725
|
-
var bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pr = /(?:[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;
|
726
709
|
function Ar(e) {
|
710
|
+
return e.type === y.pound;
|
711
|
+
}
|
712
|
+
function bt(e) {
|
713
|
+
return e.type === y.tag;
|
714
|
+
}
|
715
|
+
function yt(e) {
|
716
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
717
|
+
}
|
718
|
+
function we(e) {
|
719
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
720
|
+
}
|
721
|
+
var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wr = /(?:[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;
|
722
|
+
function Nr(e) {
|
727
723
|
var t = {};
|
728
|
-
return e.replace(
|
724
|
+
return e.replace(wr, function(r) {
|
729
725
|
var n = r.length;
|
730
726
|
switch (r[0]) {
|
731
727
|
case "G":
|
@@ -814,11 +810,21 @@ function Ar(e) {
|
|
814
810
|
return "";
|
815
811
|
}), t;
|
816
812
|
}
|
817
|
-
var
|
818
|
-
function
|
813
|
+
var v = function() {
|
814
|
+
return v = Object.assign || function(t) {
|
815
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
816
|
+
r = arguments[n];
|
817
|
+
for (var s in r)
|
818
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
819
|
+
}
|
820
|
+
return t;
|
821
|
+
}, v.apply(this, arguments);
|
822
|
+
};
|
823
|
+
var Or = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
824
|
+
function Lr(e) {
|
819
825
|
if (e.length === 0)
|
820
826
|
throw new Error("Number skeleton cannot be empty");
|
821
|
-
for (var t = e.split(
|
827
|
+
for (var t = e.split(Or).filter(function(f) {
|
822
828
|
return f.length > 0;
|
823
829
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
824
830
|
var s = i[n], u = s.split("/");
|
@@ -833,17 +839,17 @@ function Nr(e) {
|
|
833
839
|
}
|
834
840
|
return r;
|
835
841
|
}
|
836
|
-
function
|
842
|
+
function Ir(e) {
|
837
843
|
return e.replace(/^(.*?)-/, "");
|
838
844
|
}
|
839
|
-
var
|
840
|
-
function
|
845
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
|
846
|
+
function ze(e) {
|
841
847
|
var t = {};
|
842
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
848
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
843
849
|
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)), "";
|
844
850
|
}), t;
|
845
851
|
}
|
846
|
-
function
|
852
|
+
function _t(e) {
|
847
853
|
switch (e) {
|
848
854
|
case "sign-auto":
|
849
855
|
return {
|
@@ -883,7 +889,7 @@ function vt(e) {
|
|
883
889
|
};
|
884
890
|
}
|
885
891
|
}
|
886
|
-
function
|
892
|
+
function $r(e) {
|
887
893
|
var t;
|
888
894
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
889
895
|
notation: "engineering"
|
@@ -891,17 +897,17 @@ function Ir(e) {
|
|
891
897
|
notation: "scientific"
|
892
898
|
}, e = e.slice(1)), t) {
|
893
899
|
var r = e.slice(0, 2);
|
894
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
900
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
|
895
901
|
throw new Error("Malformed concise eng/scientific notation");
|
896
902
|
t.minimumIntegerDigits = e.length;
|
897
903
|
}
|
898
904
|
return t;
|
899
905
|
}
|
900
|
-
function
|
901
|
-
var t = {}, r =
|
906
|
+
function We(e) {
|
907
|
+
var t = {}, r = _t(e);
|
902
908
|
return r || t;
|
903
909
|
}
|
904
|
-
function
|
910
|
+
function Mr(e) {
|
905
911
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
906
912
|
var i = n[r];
|
907
913
|
switch (i.stem) {
|
@@ -925,7 +931,7 @@ function Cr(e) {
|
|
925
931
|
continue;
|
926
932
|
case "measure-unit":
|
927
933
|
case "unit":
|
928
|
-
t.style = "unit", t.unit =
|
934
|
+
t.style = "unit", t.unit = Ir(i.options[0]);
|
929
935
|
continue;
|
930
936
|
case "compact-short":
|
931
937
|
case "K":
|
@@ -936,13 +942,13 @@ function Cr(e) {
|
|
936
942
|
t.notation = "compact", t.compactDisplay = "long";
|
937
943
|
continue;
|
938
944
|
case "scientific":
|
939
|
-
t =
|
940
|
-
return
|
945
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
946
|
+
return v(v({}, l), We(o));
|
941
947
|
}, {}));
|
942
948
|
continue;
|
943
949
|
case "engineering":
|
944
|
-
t =
|
945
|
-
return
|
950
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
951
|
+
return v(v({}, l), We(o));
|
946
952
|
}, {}));
|
947
953
|
continue;
|
948
954
|
case "notation-simple":
|
@@ -987,45 +993,45 @@ function Cr(e) {
|
|
987
993
|
case "integer-width":
|
988
994
|
if (i.options.length > 1)
|
989
995
|
throw new RangeError("integer-width stems only accept a single optional option");
|
990
|
-
i.options[0].replace(
|
996
|
+
i.options[0].replace(Cr, function(l, o, h, c, f, d) {
|
991
997
|
if (o)
|
992
998
|
t.minimumIntegerDigits = h.length;
|
993
999
|
else {
|
994
1000
|
if (c && f)
|
995
1001
|
throw new Error("We currently do not support maximum integer digits");
|
996
|
-
if (
|
1002
|
+
if (d)
|
997
1003
|
throw new Error("We currently do not support exact integer digits");
|
998
1004
|
}
|
999
1005
|
return "";
|
1000
1006
|
});
|
1001
1007
|
continue;
|
1002
1008
|
}
|
1003
|
-
if (
|
1009
|
+
if (Et.test(i.stem)) {
|
1004
1010
|
t.minimumIntegerDigits = i.stem.length;
|
1005
1011
|
continue;
|
1006
1012
|
}
|
1007
|
-
if (
|
1013
|
+
if (Xe.test(i.stem)) {
|
1008
1014
|
if (i.options.length > 1)
|
1009
1015
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1010
|
-
i.stem.replace(
|
1011
|
-
return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
1016
|
+
i.stem.replace(Xe, function(l, o, h, c, f, d) {
|
1017
|
+
return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
1012
1018
|
});
|
1013
1019
|
var s = i.options[0];
|
1014
|
-
s === "w" ? t =
|
1020
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), ze(s)));
|
1015
1021
|
continue;
|
1016
1022
|
}
|
1017
|
-
if (
|
1018
|
-
t =
|
1023
|
+
if (vt.test(i.stem)) {
|
1024
|
+
t = v(v({}, t), ze(i.stem));
|
1019
1025
|
continue;
|
1020
1026
|
}
|
1021
|
-
var u =
|
1022
|
-
u && (t =
|
1023
|
-
var a =
|
1024
|
-
a && (t =
|
1027
|
+
var u = _t(i.stem);
|
1028
|
+
u && (t = v(v({}, t), u));
|
1029
|
+
var a = $r(i.stem);
|
1030
|
+
a && (t = v(v({}, t), a));
|
1025
1031
|
}
|
1026
1032
|
return t;
|
1027
1033
|
}
|
1028
|
-
var
|
1034
|
+
var ne = {
|
1029
1035
|
"001": [
|
1030
1036
|
"H",
|
1031
1037
|
"h"
|
@@ -2440,13 +2446,13 @@ var re = {
|
|
2440
2446
|
"h"
|
2441
2447
|
]
|
2442
2448
|
};
|
2443
|
-
function
|
2449
|
+
function Rr(e, t) {
|
2444
2450
|
for (var r = "", n = 0; n < e.length; n++) {
|
2445
2451
|
var i = e.charAt(n);
|
2446
2452
|
if (i === "j") {
|
2447
2453
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2448
2454
|
s++, n++;
|
2449
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o =
|
2455
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Dr(t);
|
2450
2456
|
for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
|
2451
2457
|
r += l;
|
2452
2458
|
for (; u-- > 0; )
|
@@ -2456,7 +2462,7 @@ function $r(e, t) {
|
|
2456
2462
|
}
|
2457
2463
|
return r;
|
2458
2464
|
}
|
2459
|
-
function
|
2465
|
+
function Dr(e) {
|
2460
2466
|
var t = e.hourCycle;
|
2461
2467
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2462
2468
|
e.hourCycles && // @ts-ignore
|
@@ -2475,23 +2481,23 @@ function Mr(e) {
|
|
2475
2481
|
}
|
2476
2482
|
var r = e.language, n;
|
2477
2483
|
r !== "root" && (n = e.maximize().region);
|
2478
|
-
var i =
|
2484
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2479
2485
|
return i[0];
|
2480
2486
|
}
|
2481
|
-
var
|
2487
|
+
var _e, Ur = new RegExp("^".concat(xt.source, "*")), Gr = new RegExp("".concat(xt.source, "*$"));
|
2482
2488
|
function g(e, t) {
|
2483
2489
|
return { start: e, end: t };
|
2484
2490
|
}
|
2485
|
-
var
|
2491
|
+
var Fr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Zr = Wr ? Number.isSafeInteger : function(e) {
|
2486
2492
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2487
|
-
},
|
2493
|
+
}, Ne = !0;
|
2488
2494
|
try {
|
2489
|
-
var
|
2490
|
-
|
2495
|
+
var qr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2496
|
+
Ne = ((_e = qr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
2491
2497
|
} catch {
|
2492
|
-
|
2498
|
+
Ne = !1;
|
2493
2499
|
}
|
2494
|
-
var
|
2500
|
+
var Ze = Fr ? (
|
2495
2501
|
// Native
|
2496
2502
|
function(t, r, n) {
|
2497
2503
|
return t.startsWith(r, n);
|
@@ -2501,7 +2507,7 @@ var ze = Ur ? (
|
|
2501
2507
|
function(t, r, n) {
|
2502
2508
|
return t.slice(n, n + r.length) === r;
|
2503
2509
|
}
|
2504
|
-
),
|
2510
|
+
), Oe = jr ? String.fromCodePoint : (
|
2505
2511
|
// IE11
|
2506
2512
|
function() {
|
2507
2513
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2513,9 +2519,9 @@ var ze = Ur ? (
|
|
2513
2519
|
}
|
2514
2520
|
return n;
|
2515
2521
|
}
|
2516
|
-
),
|
2522
|
+
), qe = (
|
2517
2523
|
// native
|
2518
|
-
|
2524
|
+
Vr ? Object.fromEntries : (
|
2519
2525
|
// Ponyfill
|
2520
2526
|
function(t) {
|
2521
2527
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2525,7 +2531,7 @@ var ze = Ur ? (
|
|
2525
2531
|
return r;
|
2526
2532
|
}
|
2527
2533
|
)
|
2528
|
-
),
|
2534
|
+
), Ht = kr ? (
|
2529
2535
|
// Native
|
2530
2536
|
function(t, r) {
|
2531
2537
|
return t.codePointAt(r);
|
@@ -2539,7 +2545,7 @@ var ze = Ur ? (
|
|
2539
2545
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2540
2546
|
}
|
2541
2547
|
}
|
2542
|
-
),
|
2548
|
+
), Qr = Xr ? (
|
2543
2549
|
// Native
|
2544
2550
|
function(t) {
|
2545
2551
|
return t.trimStart();
|
@@ -2547,9 +2553,9 @@ var ze = Ur ? (
|
|
2547
2553
|
) : (
|
2548
2554
|
// Ponyfill
|
2549
2555
|
function(t) {
|
2550
|
-
return t.replace(
|
2556
|
+
return t.replace(Ur, "");
|
2551
2557
|
}
|
2552
|
-
),
|
2558
|
+
), Jr = zr ? (
|
2553
2559
|
// Native
|
2554
2560
|
function(t) {
|
2555
2561
|
return t.trimEnd();
|
@@ -2557,32 +2563,32 @@ var ze = Ur ? (
|
|
2557
2563
|
) : (
|
2558
2564
|
// Ponyfill
|
2559
2565
|
function(t) {
|
2560
|
-
return t.replace(
|
2566
|
+
return t.replace(Gr, "");
|
2561
2567
|
}
|
2562
2568
|
);
|
2563
|
-
function
|
2569
|
+
function Tt(e, t) {
|
2564
2570
|
return new RegExp(e, t);
|
2565
2571
|
}
|
2566
|
-
var
|
2567
|
-
if (
|
2568
|
-
var
|
2569
|
-
|
2572
|
+
var Le;
|
2573
|
+
if (Ne) {
|
2574
|
+
var Qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2575
|
+
Le = function(t, r) {
|
2570
2576
|
var n;
|
2571
|
-
|
2572
|
-
var i =
|
2577
|
+
Qe.lastIndex = r;
|
2578
|
+
var i = Qe.exec(t);
|
2573
2579
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2574
2580
|
};
|
2575
2581
|
} else
|
2576
|
-
|
2582
|
+
Le = function(t, r) {
|
2577
2583
|
for (var n = []; ; ) {
|
2578
|
-
var i =
|
2579
|
-
if (i === void 0 ||
|
2584
|
+
var i = Ht(t, r);
|
2585
|
+
if (i === void 0 || St(i) || tn(i))
|
2580
2586
|
break;
|
2581
2587
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2582
2588
|
}
|
2583
|
-
return
|
2589
|
+
return Oe.apply(void 0, n);
|
2584
2590
|
};
|
2585
|
-
var
|
2591
|
+
var Yr = (
|
2586
2592
|
/** @class */
|
2587
2593
|
function() {
|
2588
2594
|
function e(t, r) {
|
@@ -2606,14 +2612,14 @@ var Qr = (
|
|
2606
2612
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2607
2613
|
var a = this.clonePosition();
|
2608
2614
|
this.bump(), i.push({
|
2609
|
-
type:
|
2615
|
+
type: y.pound,
|
2610
2616
|
location: g(a, this.clonePosition())
|
2611
2617
|
});
|
2612
2618
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2613
2619
|
if (n)
|
2614
2620
|
break;
|
2615
2621
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2616
|
-
} else if (s === 60 && !this.ignoreTag &&
|
2622
|
+
} else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
2617
2623
|
var u = this.parseTag(t, r);
|
2618
2624
|
if (u.err)
|
2619
2625
|
return u;
|
@@ -2634,7 +2640,7 @@ var Qr = (
|
|
2634
2640
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2635
2641
|
return {
|
2636
2642
|
val: {
|
2637
|
-
type:
|
2643
|
+
type: y.literal,
|
2638
2644
|
value: "<".concat(i, "/>"),
|
2639
2645
|
location: g(n, this.clonePosition())
|
2640
2646
|
},
|
@@ -2646,12 +2652,12 @@ var Qr = (
|
|
2646
2652
|
return s;
|
2647
2653
|
var u = s.val, a = this.clonePosition();
|
2648
2654
|
if (this.bumpIf("</")) {
|
2649
|
-
if (this.isEOF() || !
|
2655
|
+
if (this.isEOF() || !Ie(this.char()))
|
2650
2656
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
2651
2657
|
var l = this.clonePosition(), o = this.parseTagName();
|
2652
2658
|
return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2653
2659
|
val: {
|
2654
|
-
type:
|
2660
|
+
type: y.tag,
|
2655
2661
|
value: i,
|
2656
2662
|
children: u,
|
2657
2663
|
location: g(n, this.clonePosition())
|
@@ -2664,7 +2670,7 @@ var Qr = (
|
|
2664
2670
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2665
2671
|
}, e.prototype.parseTagName = function() {
|
2666
2672
|
var t = this.offset();
|
2667
|
-
for (this.bump(); !this.isEOF() &&
|
2673
|
+
for (this.bump(); !this.isEOF() && en(this.char()); )
|
2668
2674
|
this.bump();
|
2669
2675
|
return this.message.slice(t, this.offset());
|
2670
2676
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2688,12 +2694,12 @@ var Qr = (
|
|
2688
2694
|
}
|
2689
2695
|
var l = g(n, this.clonePosition());
|
2690
2696
|
return {
|
2691
|
-
val: { type:
|
2697
|
+
val: { type: y.literal, value: i, location: l },
|
2692
2698
|
err: null
|
2693
2699
|
};
|
2694
2700
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2695
2701
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2696
|
-
!
|
2702
|
+
!Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2697
2703
|
}, e.prototype.tryParseQuote = function(t) {
|
2698
2704
|
if (this.isEOF() || this.char() !== 39)
|
2699
2705
|
return null;
|
@@ -2727,12 +2733,12 @@ var Qr = (
|
|
2727
2733
|
r.push(n);
|
2728
2734
|
this.bump();
|
2729
2735
|
}
|
2730
|
-
return
|
2736
|
+
return Oe.apply(void 0, r);
|
2731
2737
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2732
2738
|
if (this.isEOF())
|
2733
2739
|
return null;
|
2734
2740
|
var n = this.char();
|
2735
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2741
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
|
2736
2742
|
}, e.prototype.parseArgument = function(t, r) {
|
2737
2743
|
var n = this.clonePosition();
|
2738
2744
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2748,7 +2754,7 @@ var Qr = (
|
|
2748
2754
|
case 125:
|
2749
2755
|
return this.bump(), {
|
2750
2756
|
val: {
|
2751
|
-
type:
|
2757
|
+
type: y.argument,
|
2752
2758
|
// value does not include the opening and closing braces.
|
2753
2759
|
value: i,
|
2754
2760
|
location: g(n, this.clonePosition())
|
@@ -2761,7 +2767,7 @@ var Qr = (
|
|
2761
2767
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2762
2768
|
}
|
2763
2769
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2764
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2770
|
+
var t = this.clonePosition(), r = this.offset(), n = Le(this.message, r), i = r + n.length;
|
2765
2771
|
this.bumpTo(i);
|
2766
2772
|
var s = this.clonePosition(), u = g(t, s);
|
2767
2773
|
return { value: n, location: u };
|
@@ -2780,44 +2786,44 @@ var Qr = (
|
|
2780
2786
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2781
2787
|
if (c.err)
|
2782
2788
|
return c;
|
2783
|
-
var f =
|
2789
|
+
var f = Jr(c.val);
|
2784
2790
|
if (f.length === 0)
|
2785
2791
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2786
|
-
var
|
2787
|
-
o = { style: f, styleLocation:
|
2792
|
+
var d = g(h, this.clonePosition());
|
2793
|
+
o = { style: f, styleLocation: d };
|
2788
2794
|
}
|
2789
|
-
var
|
2790
|
-
if (
|
2791
|
-
return
|
2795
|
+
var b = this.tryParseArgumentClose(i);
|
2796
|
+
if (b.err)
|
2797
|
+
return b;
|
2792
2798
|
var m = g(i, this.clonePosition());
|
2793
|
-
if (o &&
|
2794
|
-
var E =
|
2799
|
+
if (o && Ze(o?.style, "::", 0)) {
|
2800
|
+
var E = Qr(o.style.slice(2));
|
2795
2801
|
if (a === "number") {
|
2796
2802
|
var c = this.parseNumberSkeletonFromString(E, o.styleLocation);
|
2797
2803
|
return c.err ? c : {
|
2798
|
-
val: { type:
|
2804
|
+
val: { type: y.number, value: n, location: m, style: c.val },
|
2799
2805
|
err: null
|
2800
2806
|
};
|
2801
2807
|
} else {
|
2802
2808
|
if (E.length === 0)
|
2803
2809
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2804
|
-
var
|
2805
|
-
this.locale && (
|
2810
|
+
var B = E;
|
2811
|
+
this.locale && (B = Rr(E, this.locale));
|
2806
2812
|
var f = {
|
2807
|
-
type:
|
2808
|
-
pattern:
|
2813
|
+
type: V.dateTime,
|
2814
|
+
pattern: B,
|
2809
2815
|
location: o.styleLocation,
|
2810
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2811
|
-
},
|
2816
|
+
parsedOptions: this.shouldParseSkeletons ? Nr(B) : {}
|
2817
|
+
}, S = a === "date" ? y.date : y.time;
|
2812
2818
|
return {
|
2813
|
-
val: { type:
|
2819
|
+
val: { type: S, value: n, location: m, style: f },
|
2814
2820
|
err: null
|
2815
2821
|
};
|
2816
2822
|
}
|
2817
2823
|
}
|
2818
2824
|
return {
|
2819
2825
|
val: {
|
2820
|
-
type: a === "number" ?
|
2826
|
+
type: a === "number" ? y.number : a === "date" ? y.date : y.time,
|
2821
2827
|
value: n,
|
2822
2828
|
location: m,
|
2823
2829
|
style: (s = o?.style) !== null && s !== void 0 ? s : null
|
@@ -2830,38 +2836,38 @@ var Qr = (
|
|
2830
2836
|
case "select": {
|
2831
2837
|
var H = this.clonePosition();
|
2832
2838
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2833
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H,
|
2839
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, ue({}, H)));
|
2834
2840
|
this.bumpSpace();
|
2835
|
-
var
|
2836
|
-
if (a !== "select" &&
|
2841
|
+
var O = this.parseIdentifierIfPossible(), P = 0;
|
2842
|
+
if (a !== "select" && O.value === "offset") {
|
2837
2843
|
if (!this.bumpIf(":"))
|
2838
2844
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2839
2845
|
this.bumpSpace();
|
2840
2846
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2841
2847
|
if (c.err)
|
2842
2848
|
return c;
|
2843
|
-
this.bumpSpace(),
|
2849
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
|
2844
2850
|
}
|
2845
|
-
var
|
2846
|
-
if (
|
2847
|
-
return
|
2848
|
-
var
|
2849
|
-
if (
|
2850
|
-
return
|
2851
|
+
var I = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2852
|
+
if (I.err)
|
2853
|
+
return I;
|
2854
|
+
var b = this.tryParseArgumentClose(i);
|
2855
|
+
if (b.err)
|
2856
|
+
return b;
|
2851
2857
|
var w = g(i, this.clonePosition());
|
2852
2858
|
return a === "select" ? {
|
2853
2859
|
val: {
|
2854
|
-
type:
|
2860
|
+
type: y.select,
|
2855
2861
|
value: n,
|
2856
|
-
options:
|
2862
|
+
options: qe(I.val),
|
2857
2863
|
location: w
|
2858
2864
|
},
|
2859
2865
|
err: null
|
2860
2866
|
} : {
|
2861
2867
|
val: {
|
2862
|
-
type:
|
2868
|
+
type: y.plural,
|
2863
2869
|
value: n,
|
2864
|
-
options:
|
2870
|
+
options: qe(I.val),
|
2865
2871
|
offset: P,
|
2866
2872
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2867
2873
|
location: w
|
@@ -2912,16 +2918,16 @@ var Qr = (
|
|
2912
2918
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2913
2919
|
var n = [];
|
2914
2920
|
try {
|
2915
|
-
n =
|
2921
|
+
n = Lr(t);
|
2916
2922
|
} catch {
|
2917
2923
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2918
2924
|
}
|
2919
2925
|
return {
|
2920
2926
|
val: {
|
2921
|
-
type:
|
2927
|
+
type: V.number,
|
2922
2928
|
tokens: n,
|
2923
2929
|
location: r,
|
2924
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2930
|
+
parsedOptions: this.shouldParseSkeletons ? Mr(n) : {}
|
2925
2931
|
},
|
2926
2932
|
err: null
|
2927
2933
|
};
|
@@ -2940,20 +2946,20 @@ var Qr = (
|
|
2940
2946
|
if (l.has(o))
|
2941
2947
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2942
2948
|
o === "other" && (u = !0), this.bumpSpace();
|
2943
|
-
var
|
2949
|
+
var d = this.clonePosition();
|
2944
2950
|
if (!this.bumpIf("{"))
|
2945
2951
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2946
|
-
var
|
2947
|
-
if (
|
2948
|
-
return
|
2949
|
-
var m = this.tryParseArgumentClose(
|
2952
|
+
var b = this.parseMessage(t + 1, r, n);
|
2953
|
+
if (b.err)
|
2954
|
+
return b;
|
2955
|
+
var m = this.tryParseArgumentClose(d);
|
2950
2956
|
if (m.err)
|
2951
2957
|
return m;
|
2952
2958
|
a.push([
|
2953
2959
|
o,
|
2954
2960
|
{
|
2955
|
-
value:
|
2956
|
-
location: g(
|
2961
|
+
value: b.val,
|
2962
|
+
location: g(d, this.clonePosition())
|
2957
2963
|
}
|
2958
2964
|
]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
|
2959
2965
|
}
|
@@ -2969,7 +2975,7 @@ var Qr = (
|
|
2969
2975
|
break;
|
2970
2976
|
}
|
2971
2977
|
var l = g(i, this.clonePosition());
|
2972
|
-
return s ? (u *= n,
|
2978
|
+
return s ? (u *= n, Zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2973
2979
|
}, e.prototype.offset = function() {
|
2974
2980
|
return this.position.offset;
|
2975
2981
|
}, e.prototype.isEOF = function() {
|
@@ -2984,7 +2990,7 @@ var Qr = (
|
|
2984
2990
|
var t = this.position.offset;
|
2985
2991
|
if (t >= this.message.length)
|
2986
2992
|
throw Error("out of bound");
|
2987
|
-
var r =
|
2993
|
+
var r = Ht(this.message, t);
|
2988
2994
|
if (r === void 0)
|
2989
2995
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2990
2996
|
return r;
|
@@ -3003,7 +3009,7 @@ var Qr = (
|
|
3003
3009
|
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);
|
3004
3010
|
}
|
3005
3011
|
}, e.prototype.bumpIf = function(t) {
|
3006
|
-
if (
|
3012
|
+
if (Ze(this.message, t, this.offset())) {
|
3007
3013
|
for (var r = 0; r < t.length; r++)
|
3008
3014
|
this.bump();
|
3009
3015
|
return !0;
|
@@ -3025,7 +3031,7 @@ var Qr = (
|
|
3025
3031
|
break;
|
3026
3032
|
}
|
3027
3033
|
}, e.prototype.bumpSpace = function() {
|
3028
|
-
for (; !this.isEOF() &&
|
3034
|
+
for (; !this.isEOF() && St(this.char()); )
|
3029
3035
|
this.bump();
|
3030
3036
|
}, e.prototype.peek = function() {
|
3031
3037
|
if (this.isEOF())
|
@@ -3035,47 +3041,47 @@ var Qr = (
|
|
3035
3041
|
}, e;
|
3036
3042
|
}()
|
3037
3043
|
);
|
3038
|
-
function
|
3044
|
+
function Ie(e) {
|
3039
3045
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3040
3046
|
}
|
3041
|
-
function
|
3042
|
-
return
|
3047
|
+
function Kr(e) {
|
3048
|
+
return Ie(e) || e === 47;
|
3043
3049
|
}
|
3044
|
-
function
|
3050
|
+
function en(e) {
|
3045
3051
|
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;
|
3046
3052
|
}
|
3047
|
-
function
|
3053
|
+
function St(e) {
|
3048
3054
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3049
3055
|
}
|
3050
|
-
function
|
3056
|
+
function tn(e) {
|
3051
3057
|
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;
|
3052
3058
|
}
|
3053
|
-
function
|
3059
|
+
function Ce(e) {
|
3054
3060
|
e.forEach(function(t) {
|
3055
|
-
if (delete t.location,
|
3061
|
+
if (delete t.location, gt(t) || dt(t))
|
3056
3062
|
for (var r in t.options)
|
3057
|
-
delete t.options[r].location,
|
3063
|
+
delete t.options[r].location, Ce(t.options[r].value);
|
3058
3064
|
else
|
3059
|
-
|
3065
|
+
ft(t) && yt(t.style) || (mt(t) || pt(t)) && we(t.style) ? delete t.style.location : bt(t) && Ce(t.children);
|
3060
3066
|
});
|
3061
3067
|
}
|
3062
|
-
function
|
3063
|
-
t === void 0 && (t = {}), t =
|
3064
|
-
var r = new
|
3068
|
+
function rn(e, t) {
|
3069
|
+
t === void 0 && (t = {}), t = ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3070
|
+
var r = new Yr(e, t).parse();
|
3065
3071
|
if (r.err) {
|
3066
3072
|
var n = SyntaxError(p[r.err.kind]);
|
3067
3073
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3068
3074
|
}
|
3069
|
-
return t?.captureLocation ||
|
3075
|
+
return t?.captureLocation || Ce(r.val), r.val;
|
3070
3076
|
}
|
3071
|
-
var
|
3077
|
+
var k;
|
3072
3078
|
(function(e) {
|
3073
3079
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3074
|
-
})(
|
3075
|
-
var
|
3080
|
+
})(k || (k = {}));
|
3081
|
+
var me = (
|
3076
3082
|
/** @class */
|
3077
3083
|
function(e) {
|
3078
|
-
|
3084
|
+
fe(t, e);
|
3079
3085
|
function t(r, n, i) {
|
3080
3086
|
var s = e.call(this, r) || this;
|
3081
3087
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3084,48 +3090,48 @@ var ce = (
|
|
3084
3090
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3085
3091
|
}, t;
|
3086
3092
|
}(Error)
|
3087
|
-
),
|
3093
|
+
), Je = (
|
3088
3094
|
/** @class */
|
3089
3095
|
function(e) {
|
3090
|
-
|
3096
|
+
fe(t, e);
|
3091
3097
|
function t(r, n, i, s) {
|
3092
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3098
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
3093
3099
|
}
|
3094
3100
|
return t;
|
3095
|
-
}(
|
3096
|
-
),
|
3101
|
+
}(me)
|
3102
|
+
), nn = (
|
3097
3103
|
/** @class */
|
3098
3104
|
function(e) {
|
3099
|
-
|
3105
|
+
fe(t, e);
|
3100
3106
|
function t(r, n, i) {
|
3101
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3107
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
3102
3108
|
}
|
3103
3109
|
return t;
|
3104
|
-
}(
|
3105
|
-
),
|
3110
|
+
}(me)
|
3111
|
+
), sn = (
|
3106
3112
|
/** @class */
|
3107
3113
|
function(e) {
|
3108
|
-
|
3114
|
+
fe(t, e);
|
3109
3115
|
function t(r, n) {
|
3110
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3116
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
3111
3117
|
}
|
3112
3118
|
return t;
|
3113
|
-
}(
|
3119
|
+
}(me)
|
3114
3120
|
), T;
|
3115
3121
|
(function(e) {
|
3116
3122
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3117
3123
|
})(T || (T = {}));
|
3118
|
-
function
|
3124
|
+
function on(e) {
|
3119
3125
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3120
3126
|
var n = t[t.length - 1];
|
3121
3127
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
3122
3128
|
}, []);
|
3123
3129
|
}
|
3124
|
-
function
|
3130
|
+
function an(e) {
|
3125
3131
|
return typeof e == "function";
|
3126
3132
|
}
|
3127
|
-
function
|
3128
|
-
if (e.length === 1 &&
|
3133
|
+
function oe(e, t, r, n, i, s, u) {
|
3134
|
+
if (e.length === 1 && ke(e[0]))
|
3129
3135
|
return [
|
3130
3136
|
{
|
3131
3137
|
type: T.literal,
|
@@ -3134,14 +3140,14 @@ function se(e, t, r, n, i, s, u) {
|
|
3134
3140
|
];
|
3135
3141
|
for (var a = [], l = 0, o = e; l < o.length; l++) {
|
3136
3142
|
var h = o[l];
|
3137
|
-
if (
|
3143
|
+
if (ke(h)) {
|
3138
3144
|
a.push({
|
3139
3145
|
type: T.literal,
|
3140
3146
|
value: h.value
|
3141
3147
|
});
|
3142
3148
|
continue;
|
3143
3149
|
}
|
3144
|
-
if (
|
3150
|
+
if (Ar(h)) {
|
3145
3151
|
typeof s == "number" && a.push({
|
3146
3152
|
type: T.literal,
|
3147
3153
|
value: r.getNumberFormat(t).format(s)
|
@@ -3150,89 +3156,89 @@ function se(e, t, r, n, i, s, u) {
|
|
3150
3156
|
}
|
3151
3157
|
var c = h.value;
|
3152
3158
|
if (!(i && c in i))
|
3153
|
-
throw new
|
3159
|
+
throw new sn(c, u);
|
3154
3160
|
var f = i[c];
|
3155
|
-
if (
|
3161
|
+
if (Pr(h)) {
|
3156
3162
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3157
3163
|
type: typeof f == "string" ? T.literal : T.object,
|
3158
3164
|
value: f
|
3159
3165
|
});
|
3160
3166
|
continue;
|
3161
3167
|
}
|
3162
|
-
if (
|
3163
|
-
var
|
3168
|
+
if (mt(h)) {
|
3169
|
+
var d = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
3164
3170
|
a.push({
|
3165
3171
|
type: T.literal,
|
3166
|
-
value: r.getDateTimeFormat(t,
|
3172
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
3167
3173
|
});
|
3168
3174
|
continue;
|
3169
3175
|
}
|
3170
|
-
if (
|
3171
|
-
var
|
3176
|
+
if (pt(h)) {
|
3177
|
+
var d = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
3172
3178
|
a.push({
|
3173
3179
|
type: T.literal,
|
3174
|
-
value: r.getDateTimeFormat(t,
|
3180
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
3175
3181
|
});
|
3176
3182
|
continue;
|
3177
3183
|
}
|
3178
|
-
if (
|
3179
|
-
var
|
3180
|
-
|
3184
|
+
if (ft(h)) {
|
3185
|
+
var d = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
3186
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
3181
3187
|
type: T.literal,
|
3182
|
-
value: r.getNumberFormat(t,
|
3188
|
+
value: r.getNumberFormat(t, d).format(f)
|
3183
3189
|
});
|
3184
3190
|
continue;
|
3185
3191
|
}
|
3186
|
-
if (
|
3187
|
-
var
|
3188
|
-
if (!
|
3189
|
-
throw new
|
3190
|
-
var
|
3192
|
+
if (bt(h)) {
|
3193
|
+
var b = h.children, m = h.value, E = i[m];
|
3194
|
+
if (!an(E))
|
3195
|
+
throw new nn(m, "function", u);
|
3196
|
+
var B = oe(b, t, r, n, i, s), S = E(B.map(function(P) {
|
3191
3197
|
return P.value;
|
3192
3198
|
}));
|
3193
|
-
Array.isArray(
|
3199
|
+
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(P) {
|
3194
3200
|
return {
|
3195
3201
|
type: typeof P == "string" ? T.literal : T.object,
|
3196
3202
|
value: P
|
3197
3203
|
};
|
3198
3204
|
}));
|
3199
3205
|
}
|
3200
|
-
if (
|
3206
|
+
if (gt(h)) {
|
3201
3207
|
var H = h.options[f] || h.options.other;
|
3202
3208
|
if (!H)
|
3203
|
-
throw new
|
3204
|
-
a.push.apply(a,
|
3209
|
+
throw new Je(h.value, f, Object.keys(h.options), u);
|
3210
|
+
a.push.apply(a, oe(H.value, t, r, n, i));
|
3205
3211
|
continue;
|
3206
3212
|
}
|
3207
|
-
if (
|
3213
|
+
if (dt(h)) {
|
3208
3214
|
var H = h.options["=".concat(f)];
|
3209
3215
|
if (!H) {
|
3210
3216
|
if (!Intl.PluralRules)
|
3211
|
-
throw new
|
3217
|
+
throw new me(`Intl.PluralRules is not available in this environment.
|
3212
3218
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3213
|
-
`,
|
3214
|
-
var
|
3215
|
-
H = h.options[
|
3219
|
+
`, k.MISSING_INTL_API, u);
|
3220
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3221
|
+
H = h.options[O] || h.options.other;
|
3216
3222
|
}
|
3217
3223
|
if (!H)
|
3218
|
-
throw new
|
3219
|
-
a.push.apply(a,
|
3224
|
+
throw new Je(h.value, f, Object.keys(h.options), u);
|
3225
|
+
a.push.apply(a, oe(H.value, t, r, n, i, f - (h.offset || 0)));
|
3220
3226
|
continue;
|
3221
3227
|
}
|
3222
3228
|
}
|
3223
|
-
return
|
3229
|
+
return on(a);
|
3224
3230
|
}
|
3225
|
-
function
|
3226
|
-
return t ?
|
3227
|
-
return r[n] =
|
3231
|
+
function un(e, t) {
|
3232
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3233
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
3228
3234
|
}, {})) : e;
|
3229
3235
|
}
|
3230
|
-
function
|
3236
|
+
function hn(e, t) {
|
3231
3237
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3232
|
-
return r[n] =
|
3233
|
-
},
|
3238
|
+
return r[n] = un(e[n], t[n]), r;
|
3239
|
+
}, N({}, e)) : e;
|
3234
3240
|
}
|
3235
|
-
function
|
3241
|
+
function He(e) {
|
3236
3242
|
return {
|
3237
3243
|
create: function() {
|
3238
3244
|
return {
|
@@ -3246,39 +3252,39 @@ function Ee(e) {
|
|
3246
3252
|
}
|
3247
3253
|
};
|
3248
3254
|
}
|
3249
|
-
function
|
3255
|
+
function ln(e) {
|
3250
3256
|
return e === void 0 && (e = {
|
3251
3257
|
number: {},
|
3252
3258
|
dateTime: {},
|
3253
3259
|
pluralRules: {}
|
3254
3260
|
}), {
|
3255
|
-
getNumberFormat:
|
3261
|
+
getNumberFormat: ve(function() {
|
3256
3262
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3257
3263
|
r[n] = arguments[n];
|
3258
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3264
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3259
3265
|
}, {
|
3260
|
-
cache:
|
3261
|
-
strategy:
|
3266
|
+
cache: He(e.number),
|
3267
|
+
strategy: Ee.variadic
|
3262
3268
|
}),
|
3263
|
-
getDateTimeFormat:
|
3269
|
+
getDateTimeFormat: ve(function() {
|
3264
3270
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3265
3271
|
r[n] = arguments[n];
|
3266
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3272
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3267
3273
|
}, {
|
3268
|
-
cache:
|
3269
|
-
strategy:
|
3274
|
+
cache: He(e.dateTime),
|
3275
|
+
strategy: Ee.variadic
|
3270
3276
|
}),
|
3271
|
-
getPluralRules:
|
3277
|
+
getPluralRules: ve(function() {
|
3272
3278
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3273
3279
|
r[n] = arguments[n];
|
3274
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3280
|
+
return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
|
3275
3281
|
}, {
|
3276
|
-
cache:
|
3277
|
-
strategy:
|
3282
|
+
cache: He(e.pluralRules),
|
3283
|
+
strategy: Ee.variadic
|
3278
3284
|
})
|
3279
3285
|
};
|
3280
3286
|
}
|
3281
|
-
var
|
3287
|
+
var cn = (
|
3282
3288
|
/** @class */
|
3283
3289
|
function() {
|
3284
3290
|
function e(t, r, n, i) {
|
@@ -3297,7 +3303,7 @@ var hn = (
|
|
3297
3303
|
}, []);
|
3298
3304
|
return h.length <= 1 ? h[0] || "" : h;
|
3299
3305
|
}, this.formatToParts = function(l) {
|
3300
|
-
return
|
3306
|
+
return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
3301
3307
|
}, this.resolvedOptions = function() {
|
3302
3308
|
var l;
|
3303
3309
|
return {
|
@@ -3310,13 +3316,13 @@ var hn = (
|
|
3310
3316
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3311
3317
|
var u = i || {};
|
3312
3318
|
u.formatters;
|
3313
|
-
var a =
|
3314
|
-
this.ast = e.__parse(t,
|
3319
|
+
var a = xr(u, ["formatters"]);
|
3320
|
+
this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
|
3315
3321
|
} else
|
3316
3322
|
this.ast = t;
|
3317
3323
|
if (!Array.isArray(this.ast))
|
3318
3324
|
throw new TypeError("A message must be provided as a String or AST.");
|
3319
|
-
this.formats =
|
3325
|
+
this.formats = hn(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
|
3320
3326
|
}
|
3321
3327
|
return Object.defineProperty(e, "defaultLocale", {
|
3322
3328
|
get: function() {
|
@@ -3329,7 +3335,7 @@ var hn = (
|
|
3329
3335
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3330
3336
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3331
3337
|
}
|
3332
|
-
}, e.__parse =
|
3338
|
+
}, e.__parse = rn, e.formats = {
|
3333
3339
|
number: {
|
3334
3340
|
integer: {
|
3335
3341
|
maximumFractionDigits: 0
|
@@ -3390,7 +3396,7 @@ var hn = (
|
|
3390
3396
|
}, e;
|
3391
3397
|
}()
|
3392
3398
|
);
|
3393
|
-
function
|
3399
|
+
function fn(e, t) {
|
3394
3400
|
if (t == null)
|
3395
3401
|
return;
|
3396
3402
|
if (t in e)
|
@@ -3411,92 +3417,92 @@ function ln(e, t) {
|
|
3411
3417
|
n = void 0;
|
3412
3418
|
return n;
|
3413
3419
|
}
|
3414
|
-
const L = {},
|
3420
|
+
const L = {}, mn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Bt = (e, t) => {
|
3415
3421
|
if (t == null)
|
3416
3422
|
return;
|
3417
3423
|
if (t in L && e in L[t])
|
3418
3424
|
return L[t][e];
|
3419
|
-
const r =
|
3425
|
+
const r = pe(t);
|
3420
3426
|
for (let n = 0; n < r.length; n++) {
|
3421
|
-
const i = r[n], s =
|
3427
|
+
const i = r[n], s = gn(i, e);
|
3422
3428
|
if (s)
|
3423
|
-
return
|
3429
|
+
return mn(e, t, s);
|
3424
3430
|
}
|
3425
3431
|
};
|
3426
|
-
let
|
3427
|
-
const
|
3428
|
-
function
|
3429
|
-
return
|
3432
|
+
let Ue;
|
3433
|
+
const re = ce({});
|
3434
|
+
function pn(e) {
|
3435
|
+
return Ue[e] || null;
|
3430
3436
|
}
|
3431
|
-
function
|
3432
|
-
return e in
|
3437
|
+
function Pt(e) {
|
3438
|
+
return e in Ue;
|
3433
3439
|
}
|
3434
|
-
function
|
3435
|
-
if (!
|
3440
|
+
function gn(e, t) {
|
3441
|
+
if (!Pt(e))
|
3436
3442
|
return null;
|
3437
|
-
const r =
|
3438
|
-
return
|
3443
|
+
const r = pn(e);
|
3444
|
+
return fn(r, t);
|
3439
3445
|
}
|
3440
|
-
function
|
3446
|
+
function dn(e) {
|
3441
3447
|
if (e == null)
|
3442
3448
|
return;
|
3443
|
-
const t =
|
3449
|
+
const t = pe(e);
|
3444
3450
|
for (let r = 0; r < t.length; r++) {
|
3445
3451
|
const n = t[r];
|
3446
|
-
if (
|
3452
|
+
if (Pt(n))
|
3447
3453
|
return n;
|
3448
3454
|
}
|
3449
3455
|
}
|
3450
|
-
function
|
3451
|
-
delete L[e],
|
3456
|
+
function At(e, ...t) {
|
3457
|
+
delete L[e], re.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
|
3452
3458
|
}
|
3453
|
-
|
3454
|
-
[
|
3459
|
+
z(
|
3460
|
+
[re],
|
3455
3461
|
([e]) => Object.keys(e)
|
3456
3462
|
);
|
3457
|
-
|
3458
|
-
const
|
3459
|
-
function
|
3460
|
-
|
3463
|
+
re.subscribe((e) => Ue = e);
|
3464
|
+
const ae = {};
|
3465
|
+
function bn(e, t) {
|
3466
|
+
ae[e].delete(t), ae[e].size === 0 && delete ae[e];
|
3461
3467
|
}
|
3462
|
-
function
|
3463
|
-
return
|
3468
|
+
function wt(e) {
|
3469
|
+
return ae[e];
|
3464
3470
|
}
|
3465
|
-
function
|
3466
|
-
return
|
3467
|
-
const r =
|
3471
|
+
function yn(e) {
|
3472
|
+
return pe(e).map((t) => {
|
3473
|
+
const r = wt(t);
|
3468
3474
|
return [t, r ? [...r] : []];
|
3469
3475
|
}).filter(([, t]) => t.length > 0);
|
3470
3476
|
}
|
3471
|
-
function
|
3472
|
-
return e == null ? !1 :
|
3477
|
+
function $e(e) {
|
3478
|
+
return e == null ? !1 : pe(e).some(
|
3473
3479
|
(t) => {
|
3474
3480
|
var r;
|
3475
|
-
return (r =
|
3481
|
+
return (r = wt(t)) == null ? void 0 : r.size;
|
3476
3482
|
}
|
3477
3483
|
);
|
3478
3484
|
}
|
3479
|
-
function
|
3485
|
+
function xn(e, t) {
|
3480
3486
|
return Promise.all(
|
3481
|
-
t.map((n) => (
|
3482
|
-
).then((n) =>
|
3483
|
-
}
|
3484
|
-
const
|
3485
|
-
function
|
3486
|
-
if (
|
3487
|
-
return e in
|
3488
|
-
const t =
|
3489
|
-
return
|
3487
|
+
t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
|
3488
|
+
).then((n) => At(e, ...n));
|
3489
|
+
}
|
3490
|
+
const Q = {};
|
3491
|
+
function Nt(e) {
|
3492
|
+
if (!$e(e))
|
3493
|
+
return e in Q ? Q[e] : Promise.resolve();
|
3494
|
+
const t = yn(e);
|
3495
|
+
return Q[e] = Promise.all(
|
3490
3496
|
t.map(
|
3491
|
-
([r, n]) =>
|
3497
|
+
([r, n]) => xn(r, n)
|
3492
3498
|
)
|
3493
3499
|
).then(() => {
|
3494
|
-
if (
|
3495
|
-
return
|
3496
|
-
delete
|
3497
|
-
}),
|
3500
|
+
if ($e(e))
|
3501
|
+
return Nt(e);
|
3502
|
+
delete Q[e];
|
3503
|
+
}), Q[e];
|
3498
3504
|
}
|
3499
|
-
const
|
3505
|
+
const vn = {
|
3500
3506
|
number: {
|
3501
3507
|
scientific: { notation: "scientific" },
|
3502
3508
|
engineering: { notation: "engineering" },
|
@@ -3525,150 +3531,150 @@ const yn = {
|
|
3525
3531
|
timeZoneName: "short"
|
3526
3532
|
}
|
3527
3533
|
}
|
3528
|
-
},
|
3534
|
+
}, En = {
|
3529
3535
|
fallbackLocale: null,
|
3530
3536
|
loadingDelay: 200,
|
3531
|
-
formats:
|
3537
|
+
formats: vn,
|
3532
3538
|
warnOnMissingMessages: !0,
|
3533
3539
|
handleMissingMessage: void 0,
|
3534
3540
|
ignoreTag: !0
|
3535
|
-
},
|
3536
|
-
function
|
3537
|
-
return
|
3541
|
+
}, _n = En;
|
3542
|
+
function X() {
|
3543
|
+
return _n;
|
3538
3544
|
}
|
3539
|
-
const
|
3540
|
-
var
|
3545
|
+
const Te = ce(!1);
|
3546
|
+
var Hn = Object.defineProperty, Tn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Bn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
3541
3547
|
for (var r in t || (t = {}))
|
3542
|
-
|
3543
|
-
if (
|
3544
|
-
for (var r of
|
3545
|
-
|
3548
|
+
Bn.call(t, r) && Ke(e, r, t[r]);
|
3549
|
+
if (Ye)
|
3550
|
+
for (var r of Ye(t))
|
3551
|
+
Pn.call(t, r) && Ke(e, r, t[r]);
|
3546
3552
|
return e;
|
3547
|
-
},
|
3548
|
-
let
|
3549
|
-
const
|
3550
|
-
function
|
3553
|
+
}, wn = (e, t) => Tn(e, Sn(t));
|
3554
|
+
let Me;
|
3555
|
+
const he = ce(null);
|
3556
|
+
function et(e) {
|
3551
3557
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3552
3558
|
}
|
3553
|
-
function
|
3554
|
-
const r =
|
3555
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3559
|
+
function pe(e, t = X().fallbackLocale) {
|
3560
|
+
const r = et(e);
|
3561
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
3556
3562
|
}
|
3557
|
-
function
|
3558
|
-
return
|
3563
|
+
function M() {
|
3564
|
+
return Me ?? void 0;
|
3559
3565
|
}
|
3560
|
-
|
3561
|
-
|
3566
|
+
he.subscribe((e) => {
|
3567
|
+
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3562
3568
|
});
|
3563
|
-
const
|
3564
|
-
if (e &&
|
3565
|
-
const { loadingDelay: t } =
|
3569
|
+
const Nn = (e) => {
|
3570
|
+
if (e && dn(e) && $e(e)) {
|
3571
|
+
const { loadingDelay: t } = X();
|
3566
3572
|
let r;
|
3567
|
-
return typeof window < "u" &&
|
3568
|
-
() =>
|
3573
|
+
return typeof window < "u" && M() != null && t ? r = window.setTimeout(
|
3574
|
+
() => Te.set(!0),
|
3569
3575
|
t
|
3570
|
-
) :
|
3571
|
-
|
3576
|
+
) : Te.set(!0), Nt(e).then(() => {
|
3577
|
+
he.set(e);
|
3572
3578
|
}).finally(() => {
|
3573
|
-
clearTimeout(r),
|
3579
|
+
clearTimeout(r), Te.set(!1);
|
3574
3580
|
});
|
3575
3581
|
}
|
3576
|
-
return
|
3577
|
-
},
|
3578
|
-
set:
|
3579
|
-
}),
|
3582
|
+
return he.set(e);
|
3583
|
+
}, W = wn(An({}, he), {
|
3584
|
+
set: Nn
|
3585
|
+
}), ge = (e) => {
|
3580
3586
|
const t = /* @__PURE__ */ Object.create(null);
|
3581
3587
|
return (n) => {
|
3582
3588
|
const i = JSON.stringify(n);
|
3583
3589
|
return i in t ? t[i] : t[i] = e(n);
|
3584
3590
|
};
|
3585
3591
|
};
|
3586
|
-
var
|
3592
|
+
var On = Object.defineProperty, le = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3587
3593
|
for (var r in t || (t = {}))
|
3588
|
-
|
3589
|
-
if (
|
3590
|
-
for (var r of
|
3591
|
-
|
3594
|
+
Ot.call(t, r) && tt(e, r, t[r]);
|
3595
|
+
if (le)
|
3596
|
+
for (var r of le(t))
|
3597
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
3592
3598
|
return e;
|
3593
|
-
},
|
3599
|
+
}, Z = (e, t) => {
|
3594
3600
|
var r = {};
|
3595
3601
|
for (var n in e)
|
3596
|
-
|
3597
|
-
if (e != null &&
|
3598
|
-
for (var n of
|
3599
|
-
t.indexOf(n) < 0 &&
|
3602
|
+
Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3603
|
+
if (e != null && le)
|
3604
|
+
for (var n of le(e))
|
3605
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
3600
3606
|
return r;
|
3601
3607
|
};
|
3602
|
-
const
|
3603
|
-
const { formats: r } =
|
3608
|
+
const ee = (e, t) => {
|
3609
|
+
const { formats: r } = X();
|
3604
3610
|
if (e in r && t in r[e])
|
3605
3611
|
return r[e][t];
|
3606
3612
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3607
|
-
},
|
3613
|
+
}, Ln = ge(
|
3608
3614
|
(e) => {
|
3609
|
-
var t = e, { locale: r, format: n } = t, i =
|
3615
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3610
3616
|
if (r == null)
|
3611
3617
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3612
|
-
return n && (i =
|
3618
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3613
3619
|
}
|
3614
|
-
),
|
3620
|
+
), In = ge(
|
3615
3621
|
(e) => {
|
3616
|
-
var t = e, { locale: r, format: n } = t, i =
|
3622
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3617
3623
|
if (r == null)
|
3618
3624
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3619
|
-
return n ? i =
|
3625
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3620
3626
|
}
|
3621
|
-
),
|
3627
|
+
), Cn = ge(
|
3622
3628
|
(e) => {
|
3623
|
-
var t = e, { locale: r, format: n } = t, i =
|
3629
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3624
3630
|
if (r == null)
|
3625
3631
|
throw new Error(
|
3626
3632
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3627
3633
|
);
|
3628
|
-
return n ? i =
|
3634
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3629
3635
|
}
|
3630
|
-
),
|
3636
|
+
), $n = (e = {}) => {
|
3631
3637
|
var t = e, {
|
3632
|
-
locale: r =
|
3633
|
-
} = t, n =
|
3638
|
+
locale: r = M()
|
3639
|
+
} = t, n = Z(t, [
|
3634
3640
|
"locale"
|
3635
3641
|
]);
|
3636
|
-
return
|
3637
|
-
},
|
3642
|
+
return Ln(Ge({ locale: r }, n));
|
3643
|
+
}, Mn = (e = {}) => {
|
3638
3644
|
var t = e, {
|
3639
|
-
locale: r =
|
3640
|
-
} = t, n =
|
3645
|
+
locale: r = M()
|
3646
|
+
} = t, n = Z(t, [
|
3641
3647
|
"locale"
|
3642
3648
|
]);
|
3643
|
-
return
|
3644
|
-
},
|
3649
|
+
return In(Ge({ locale: r }, n));
|
3650
|
+
}, Rn = (e = {}) => {
|
3645
3651
|
var t = e, {
|
3646
|
-
locale: r =
|
3647
|
-
} = t, n =
|
3652
|
+
locale: r = M()
|
3653
|
+
} = t, n = Z(t, [
|
3648
3654
|
"locale"
|
3649
3655
|
]);
|
3650
|
-
return
|
3651
|
-
},
|
3656
|
+
return Cn(Ge({ locale: r }, n));
|
3657
|
+
}, Dn = ge(
|
3652
3658
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3653
|
-
(e, t =
|
3654
|
-
ignoreTag:
|
3659
|
+
(e, t = M()) => new cn(e, t, X().formats, {
|
3660
|
+
ignoreTag: X().ignoreTag
|
3655
3661
|
})
|
3656
|
-
),
|
3662
|
+
), Un = (e, t = {}) => {
|
3657
3663
|
var r, n, i, s;
|
3658
3664
|
let u = t;
|
3659
3665
|
typeof e == "object" && (u = e, e = u.id);
|
3660
3666
|
const {
|
3661
3667
|
values: a,
|
3662
|
-
locale: l =
|
3668
|
+
locale: l = M(),
|
3663
3669
|
default: o
|
3664
3670
|
} = u;
|
3665
3671
|
if (l == null)
|
3666
3672
|
throw new Error(
|
3667
3673
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3668
3674
|
);
|
3669
|
-
let h =
|
3675
|
+
let h = Bt(e, l);
|
3670
3676
|
if (!h)
|
3671
|
-
h = (s = (i = (n = (r =
|
3677
|
+
h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
3672
3678
|
else if (typeof h != "string")
|
3673
3679
|
return console.warn(
|
3674
3680
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3677,7 +3683,7 @@ const K = (e, t) => {
|
|
3677
3683
|
return h;
|
3678
3684
|
let c = h;
|
3679
3685
|
try {
|
3680
|
-
c =
|
3686
|
+
c = Dn(h, l).format(a);
|
3681
3687
|
} catch (f) {
|
3682
3688
|
f instanceof Error && console.warn(
|
3683
3689
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3685,18 +3691,18 @@ const K = (e, t) => {
|
|
3685
3691
|
);
|
3686
3692
|
}
|
3687
3693
|
return c;
|
3688
|
-
},
|
3689
|
-
|
3690
|
-
|
3691
|
-
|
3692
|
-
|
3693
|
-
function
|
3694
|
-
|
3695
|
-
}
|
3696
|
-
function
|
3697
|
-
|
3698
|
-
}
|
3699
|
-
const
|
3694
|
+
}, Gn = (e, t) => Rn(t).format(e), Fn = (e, t) => Mn(t).format(e), jn = (e, t) => $n(t).format(e), Vn = (e, t = M()) => Bt(e, t), kn = z([W, re], () => Un);
|
3695
|
+
z([W], () => Gn);
|
3696
|
+
z([W], () => Fn);
|
3697
|
+
z([W], () => jn);
|
3698
|
+
z([W, re], () => Vn);
|
3699
|
+
function rt(e, t) {
|
3700
|
+
At(e, t);
|
3701
|
+
}
|
3702
|
+
function Xn(e) {
|
3703
|
+
W.set(e);
|
3704
|
+
}
|
3705
|
+
const nt = {
|
3700
3706
|
en: {
|
3701
3707
|
sorry: "We are sorry",
|
3702
3708
|
access: "The page you are trying to access is available for logged-in users only. Please login.",
|
@@ -3788,13 +3794,13 @@ const tt = {
|
|
3788
3794
|
login: "Login"
|
3789
3795
|
}
|
3790
3796
|
};
|
3791
|
-
function
|
3797
|
+
function zn(e, t) {
|
3792
3798
|
if (e) {
|
3793
3799
|
const r = document.createElement("style");
|
3794
3800
|
r.innerHTML = t, e.appendChild(r);
|
3795
3801
|
}
|
3796
3802
|
}
|
3797
|
-
function
|
3803
|
+
function Wn(e, t) {
|
3798
3804
|
const r = new URL(t);
|
3799
3805
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
3800
3806
|
const i = document.createElement("style");
|
@@ -3803,7 +3809,7 @@ function Xn(e, t) {
|
|
3803
3809
|
console.error("There was an error while trying to load client styling from URL", n);
|
3804
3810
|
});
|
3805
3811
|
}
|
3806
|
-
function
|
3812
|
+
function Zn(e, t, r) {
|
3807
3813
|
if (window.emMessageBus) {
|
3808
3814
|
const n = document.createElement("style");
|
3809
3815
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -3811,74 +3817,74 @@ function zn(e, t, r) {
|
|
3811
3817
|
});
|
3812
3818
|
}
|
3813
3819
|
}
|
3814
|
-
function
|
3815
|
-
|
3820
|
+
function qn(e) {
|
3821
|
+
$t(e, "svelte-1osslvo", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
|
3816
3822
|
}
|
3817
|
-
function
|
3823
|
+
function Qn(e) {
|
3818
3824
|
let t, r, n, i, s, u, a, l, o, h, c = (
|
3819
3825
|
/*$_*/
|
3820
3826
|
e[1]("sorry") + ""
|
3821
|
-
), f,
|
3827
|
+
), f, d, b, m = (
|
3822
3828
|
/*$_*/
|
3823
3829
|
e[1]("access") + ""
|
3824
|
-
), E,
|
3830
|
+
), E, B, S, H = (
|
3825
3831
|
/*$_*/
|
3826
3832
|
e[1]("login") + ""
|
3827
|
-
),
|
3833
|
+
), O, P, I;
|
3828
3834
|
return {
|
3829
3835
|
c() {
|
3830
|
-
t =
|
3836
|
+
t = C("div"), r = C("div"), n = R("svg"), i = R("g"), s = R("path"), u = R("path"), a = R("path"), l = R("path"), o = de(), h = C("p"), f = ie(c), d = de(), b = C("p"), E = ie(m), B = de(), S = C("button"), O = ie(H), x(s, "class", "a"), x(s, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(u, "class", "a"), x(u, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(u, "transform", "translate(-116.772 -116.794)"), x(a, "class", "a"), x(a, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-250.22 -116.794)"), x(l, "class", "a"), x(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), x(l, "transform", "translate(-109.326 -3.172)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(h, "class", "PageTitle"), x(b, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3831
3837
|
},
|
3832
|
-
m(w,
|
3833
|
-
|
3834
|
-
|
3838
|
+
m(w, q) {
|
3839
|
+
at(w, t, q), _(t, r), _(r, n), _(n, i), _(i, s), _(i, u), _(i, a), _(i, l), _(r, o), _(r, h), _(h, f), _(r, d), _(r, b), _(b, E), _(r, B), _(r, S), _(S, O), e[9](t), P || (I = Dt(
|
3840
|
+
S,
|
3835
3841
|
"click",
|
3836
3842
|
/*click_handler*/
|
3837
3843
|
e[8]
|
3838
3844
|
), P = !0);
|
3839
3845
|
},
|
3840
|
-
p(w, [
|
3841
|
-
|
3846
|
+
p(w, [q]) {
|
3847
|
+
q & /*$_*/
|
3842
3848
|
2 && c !== (c = /*$_*/
|
3843
|
-
w[1]("sorry") + "") &&
|
3849
|
+
w[1]("sorry") + "") && be(f, c), q & /*$_*/
|
3844
3850
|
2 && m !== (m = /*$_*/
|
3845
|
-
w[1]("access") + "") &&
|
3851
|
+
w[1]("access") + "") && be(E, m), q & /*$_*/
|
3846
3852
|
2 && H !== (H = /*$_*/
|
3847
|
-
w[1]("login") + "") &&
|
3853
|
+
w[1]("login") + "") && be(O, H);
|
3848
3854
|
},
|
3849
3855
|
i: A,
|
3850
3856
|
o: A,
|
3851
3857
|
d(w) {
|
3852
|
-
w &&
|
3858
|
+
w && De(t), e[9](null), P = !1, I();
|
3853
3859
|
}
|
3854
3860
|
};
|
3855
3861
|
}
|
3856
|
-
function
|
3862
|
+
function Jn(e, t, r) {
|
3857
3863
|
let n;
|
3858
|
-
|
3864
|
+
Ct(e, kn, (m) => r(1, n = m));
|
3859
3865
|
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, o;
|
3860
3866
|
const h = () => {
|
3861
3867
|
fetch(a).then((E) => E.json()).then((E) => {
|
3862
|
-
Object.keys(E).forEach((
|
3863
|
-
|
3868
|
+
Object.keys(E).forEach((B) => {
|
3869
|
+
rt(B, E[B]);
|
3864
3870
|
});
|
3865
3871
|
}).catch((E) => {
|
3866
3872
|
console.log(E);
|
3867
3873
|
});
|
3868
3874
|
};
|
3869
|
-
Object.keys(
|
3870
|
-
|
3875
|
+
Object.keys(nt).forEach((m) => {
|
3876
|
+
rt(m, nt[m]);
|
3871
3877
|
});
|
3872
3878
|
const c = () => {
|
3873
3879
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3874
3880
|
}, f = () => {
|
3875
|
-
|
3881
|
+
Xn(i);
|
3876
3882
|
};
|
3877
|
-
|
3883
|
+
jt(() => () => {
|
3878
3884
|
});
|
3879
|
-
const
|
3880
|
-
function
|
3881
|
-
|
3885
|
+
const d = () => c();
|
3886
|
+
function b(m) {
|
3887
|
+
Se[m ? "unshift" : "push"](() => {
|
3882
3888
|
o = m, r(0, o);
|
3883
3889
|
});
|
3884
3890
|
}
|
@@ -3887,10 +3893,10 @@ function qn(e, t, r) {
|
|
3887
3893
|
}, e.$$.update = () => {
|
3888
3894
|
e.$$.dirty & /*lang*/
|
3889
3895
|
8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3890
|
-
17 && s && o &&
|
3891
|
-
33 && u && o &&
|
3896
|
+
17 && s && o && zn(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3897
|
+
33 && u && o && Wn(o, u), e.$$.dirty & /*translationurl*/
|
3892
3898
|
64 && a && h(), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3893
|
-
129 && l && o &&
|
3899
|
+
129 && l && o && Zn(o, `${l}.Style`);
|
3894
3900
|
}, [
|
3895
3901
|
o,
|
3896
3902
|
n,
|
@@ -3900,18 +3906,18 @@ function qn(e, t, r) {
|
|
3900
3906
|
u,
|
3901
3907
|
a,
|
3902
3908
|
l,
|
3903
|
-
|
3904
|
-
|
3909
|
+
d,
|
3910
|
+
b
|
3905
3911
|
];
|
3906
3912
|
}
|
3907
|
-
class
|
3913
|
+
class Yn extends er {
|
3908
3914
|
constructor(t) {
|
3909
|
-
super(),
|
3915
|
+
super(), Yt(
|
3910
3916
|
this,
|
3911
3917
|
t,
|
3912
|
-
|
3913
|
-
|
3914
|
-
|
3918
|
+
Jn,
|
3919
|
+
Qn,
|
3920
|
+
st,
|
3915
3921
|
{
|
3916
3922
|
lang: 3,
|
3917
3923
|
clientstyling: 4,
|
@@ -3919,41 +3925,41 @@ class Qn extends Yt {
|
|
3919
3925
|
translationurl: 6,
|
3920
3926
|
mbsource: 7
|
3921
3927
|
},
|
3922
|
-
|
3928
|
+
qn
|
3923
3929
|
);
|
3924
3930
|
}
|
3925
3931
|
get lang() {
|
3926
3932
|
return this.$$.ctx[3];
|
3927
3933
|
}
|
3928
3934
|
set lang(t) {
|
3929
|
-
this.$$set({ lang: t }),
|
3935
|
+
this.$$set({ lang: t }), $();
|
3930
3936
|
}
|
3931
3937
|
get clientstyling() {
|
3932
3938
|
return this.$$.ctx[4];
|
3933
3939
|
}
|
3934
3940
|
set clientstyling(t) {
|
3935
|
-
this.$$set({ clientstyling: t }),
|
3941
|
+
this.$$set({ clientstyling: t }), $();
|
3936
3942
|
}
|
3937
3943
|
get clientstylingurl() {
|
3938
3944
|
return this.$$.ctx[5];
|
3939
3945
|
}
|
3940
3946
|
set clientstylingurl(t) {
|
3941
|
-
this.$$set({ clientstylingurl: t }),
|
3947
|
+
this.$$set({ clientstylingurl: t }), $();
|
3942
3948
|
}
|
3943
3949
|
get translationurl() {
|
3944
3950
|
return this.$$.ctx[6];
|
3945
3951
|
}
|
3946
3952
|
set translationurl(t) {
|
3947
|
-
this.$$set({ translationurl: t }),
|
3953
|
+
this.$$set({ translationurl: t }), $();
|
3948
3954
|
}
|
3949
3955
|
get mbsource() {
|
3950
3956
|
return this.$$.ctx[7];
|
3951
3957
|
}
|
3952
3958
|
set mbsource(t) {
|
3953
|
-
this.$$set({ mbsource: t }),
|
3959
|
+
this.$$set({ mbsource: t }), $();
|
3954
3960
|
}
|
3955
3961
|
}
|
3956
|
-
|
3962
|
+
Kt(Yn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3957
3963
|
export {
|
3958
|
-
|
3964
|
+
Yn as C
|
3959
3965
|
};
|