@everymatrix/casino-403 1.65.1 → 1.65.3
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-PIB0qOcG.js → Casino403-D3eZtWZV.js} +649 -651
- package/components/Casino403-D43QGYJp.cjs +16 -0
- package/components/{Casino403-D2KId89q.js → Casino403-DDk2IgFG.js} +624 -626
- 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-BASTjlZU.cjs +0 -3
@@ -1,24 +1,24 @@
|
|
1
1
|
function A() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function nt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function Ge() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function ee(e) {
|
10
|
+
e.forEach(nt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function $e(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function it(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Ot(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function st(e, ...t) {
|
22
22
|
if (e == null) {
|
23
23
|
for (const n of t)
|
24
24
|
n(void 0);
|
@@ -27,20 +27,20 @@ function ot(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 It(e, t, r) {
|
31
|
+
e.$$.on_destroy.push(st(t, r));
|
32
32
|
}
|
33
33
|
function _(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
36
|
function Ct(e, t, r) {
|
37
|
-
const n =
|
37
|
+
const n = $t(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
|
-
const i =
|
40
|
-
i.id = t, i.textContent = r,
|
39
|
+
const i = I("style");
|
40
|
+
i.id = t, i.textContent = r, Mt(n, i);
|
41
41
|
}
|
42
42
|
}
|
43
|
-
function
|
43
|
+
function $t(e) {
|
44
44
|
if (!e)
|
45
45
|
return document;
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -50,45 +50,45 @@ function Mt(e) {
|
|
50
50
|
t
|
51
51
|
) : e.ownerDocument;
|
52
52
|
}
|
53
|
-
function
|
53
|
+
function Mt(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 ot(e, t, r) {
|
61
61
|
e.insertBefore(t, r || null);
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function Me(e) {
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function I(e) {
|
67
67
|
return document.createElement(e);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function M(e) {
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function ne(e) {
|
73
73
|
return document.createTextNode(e);
|
74
74
|
}
|
75
|
-
function
|
76
|
-
return
|
75
|
+
function pe() {
|
76
|
+
return ne(" ");
|
77
77
|
}
|
78
|
-
function
|
78
|
+
function Rt(e, t, r, n) {
|
79
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
80
80
|
}
|
81
|
-
function
|
81
|
+
function E(e, t, r) {
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
83
83
|
}
|
84
|
-
function
|
84
|
+
function Dt(e) {
|
85
85
|
return Array.from(e.childNodes);
|
86
86
|
}
|
87
|
-
function
|
87
|
+
function ge(e, t) {
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
89
89
|
t);
|
90
90
|
}
|
91
|
-
function
|
91
|
+
function Ut(e) {
|
92
92
|
const t = {};
|
93
93
|
return e.childNodes.forEach(
|
94
94
|
/** @param {Element} node */
|
@@ -97,87 +97,87 @@ function Gt(e) {
|
|
97
97
|
}
|
98
98
|
), t;
|
99
99
|
}
|
100
|
-
let
|
101
|
-
function
|
102
|
-
|
100
|
+
let J;
|
101
|
+
function Q(e) {
|
102
|
+
J = e;
|
103
103
|
}
|
104
|
-
function
|
105
|
-
if (!
|
104
|
+
function Gt() {
|
105
|
+
if (!J)
|
106
106
|
throw new Error("Function called outside component initialization");
|
107
|
-
return
|
107
|
+
return J;
|
108
108
|
}
|
109
|
-
function
|
110
|
-
|
109
|
+
function Ft(e) {
|
110
|
+
Gt().$$.on_mount.push(e);
|
111
111
|
}
|
112
|
-
const
|
113
|
-
let
|
114
|
-
const
|
115
|
-
let
|
116
|
-
function
|
117
|
-
|
112
|
+
const U = [], He = [];
|
113
|
+
let G = [];
|
114
|
+
const Fe = [], jt = /* @__PURE__ */ Promise.resolve();
|
115
|
+
let Te = !1;
|
116
|
+
function Vt() {
|
117
|
+
Te || (Te = !0, jt.then(C));
|
118
118
|
}
|
119
|
-
function
|
120
|
-
|
119
|
+
function Be(e) {
|
120
|
+
G.push(e);
|
121
121
|
}
|
122
|
-
const
|
123
|
-
let
|
122
|
+
const de = /* @__PURE__ */ new Set();
|
123
|
+
let R = 0;
|
124
124
|
function C() {
|
125
|
-
if (
|
125
|
+
if (R !== 0)
|
126
126
|
return;
|
127
|
-
const e =
|
127
|
+
const e = J;
|
128
128
|
do {
|
129
129
|
try {
|
130
|
-
for (;
|
131
|
-
const t =
|
132
|
-
|
130
|
+
for (; R < U.length; ) {
|
131
|
+
const t = U[R];
|
132
|
+
R++, Q(t), kt(t.$$);
|
133
133
|
}
|
134
134
|
} catch (t) {
|
135
|
-
throw
|
135
|
+
throw U.length = 0, R = 0, t;
|
136
136
|
}
|
137
|
-
for (
|
138
|
-
|
139
|
-
for (let t = 0; t <
|
140
|
-
const r =
|
141
|
-
|
137
|
+
for (Q(null), U.length = 0, R = 0; He.length; )
|
138
|
+
He.pop()();
|
139
|
+
for (let t = 0; t < G.length; t += 1) {
|
140
|
+
const r = G[t];
|
141
|
+
de.has(r) || (de.add(r), r());
|
142
142
|
}
|
143
|
-
|
144
|
-
} while (
|
145
|
-
for (;
|
146
|
-
|
147
|
-
|
143
|
+
G.length = 0;
|
144
|
+
} while (U.length);
|
145
|
+
for (; Fe.length; )
|
146
|
+
Fe.pop()();
|
147
|
+
Te = !1, de.clear(), Q(e);
|
148
148
|
}
|
149
|
-
function
|
149
|
+
function kt(e) {
|
150
150
|
if (e.fragment !== null) {
|
151
|
-
e.update(),
|
151
|
+
e.update(), ee(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(Be);
|
154
154
|
}
|
155
155
|
}
|
156
|
-
function
|
156
|
+
function Xt(e) {
|
157
157
|
const t = [], r = [];
|
158
|
-
|
158
|
+
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
159
159
|
}
|
160
|
-
const
|
161
|
-
function
|
162
|
-
e && e.i && (
|
160
|
+
const zt = /* @__PURE__ */ new Set();
|
161
|
+
function Wt(e, t) {
|
162
|
+
e && e.i && (zt.delete(e), e.i(t));
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function Zt(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), Be(() => {
|
167
|
+
const s = e.$$.on_mount.map(nt).filter($e);
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
169
|
+
}), i.forEach(Be);
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function qt(e, t) {
|
172
172
|
const r = e.$$;
|
173
|
-
r.fragment !== null && (
|
173
|
+
r.fragment !== null && (Xt(r.after_update), ee(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 Qt(e, t) {
|
176
|
+
e.$$.dirty[0] === -1 && (U.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
177
177
|
}
|
178
|
-
function
|
179
|
-
const l =
|
180
|
-
|
178
|
+
function Jt(e, t, r, n, i, s, u = null, a = [-1]) {
|
179
|
+
const l = J;
|
180
|
+
Q(e);
|
181
181
|
const o = e.$$ = {
|
182
182
|
fragment: null,
|
183
183
|
ctx: [],
|
@@ -185,7 +185,7 @@ function Yt(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: Ge(),
|
189
189
|
// lifecycle
|
190
190
|
on_mount: [],
|
191
191
|
on_destroy: [],
|
@@ -194,28 +194,28 @@ function Yt(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: Ge(),
|
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
|
205
|
-
const
|
206
|
-
return o.ctx && i(o.ctx[c], o.ctx[c] =
|
207
|
-
})
|
204
|
+
if (o.ctx = r(e, t.props || {}, (c, f, ...b) => {
|
205
|
+
const y = b.length ? b[0] : f;
|
206
|
+
return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), h && Qt(e, c)), f;
|
207
|
+
}), o.update(), h = !0, ee(o.before_update), o.fragment = n(o.ctx), t.target) {
|
208
208
|
if (t.hydrate) {
|
209
|
-
const c =
|
210
|
-
o.fragment && o.fragment.l(c), c.forEach(
|
209
|
+
const c = Dt(t.target);
|
210
|
+
o.fragment && o.fragment.l(c), c.forEach(Me);
|
211
211
|
} else
|
212
212
|
o.fragment && o.fragment.c();
|
213
|
-
t.intro &&
|
213
|
+
t.intro && Wt(e.$$.fragment), Zt(e, t.target, t.anchor), C();
|
214
214
|
}
|
215
|
-
|
215
|
+
Q(l);
|
216
216
|
}
|
217
|
-
let
|
218
|
-
typeof HTMLElement == "function" && (
|
217
|
+
let at;
|
218
|
+
typeof HTMLElement == "function" && (at = class extends HTMLElement {
|
219
219
|
/** The Svelte component constructor */
|
220
220
|
$$ctor;
|
221
221
|
/** Slots */
|
@@ -257,29 +257,29 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
257
257
|
let s;
|
258
258
|
return {
|
259
259
|
c: function() {
|
260
|
-
s =
|
260
|
+
s = I("slot"), i !== "default" && E(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
|
+
ot(l, s, o);
|
268
268
|
},
|
269
269
|
d: function(l) {
|
270
|
-
l &&
|
270
|
+
l && Me(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 = Ut(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] = ie(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" && (ut = 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 = ie(
|
301
301
|
i,
|
302
302
|
this.$$d[i],
|
303
303
|
this.$$p_d,
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (ut = 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] = ie(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" && (ut = class extends HTMLElement {
|
|
332
332
|
) || e;
|
333
333
|
}
|
334
334
|
});
|
335
|
-
function
|
335
|
+
function ie(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 se(e, t, r, n) {
|
|
361
361
|
return t;
|
362
362
|
}
|
363
363
|
}
|
364
|
-
function
|
365
|
-
let u = class extends
|
364
|
+
function Yt(e, t, r, n, i, s) {
|
365
|
+
let u = class extends at {
|
366
366
|
constructor() {
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
368
368
|
}
|
@@ -378,7 +378,7 @@ function Kt(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 = ie(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 Kt(e, t, r, n, i, s) {
|
|
390
390
|
}), e.element = /** @type {any} */
|
391
391
|
u, u;
|
392
392
|
}
|
393
|
-
class
|
393
|
+
class Kt {
|
394
394
|
/**
|
395
395
|
* ### PRIVATE API
|
396
396
|
*
|
@@ -409,7 +409,7 @@ class er {
|
|
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 er {
|
|
418
418
|
* @returns {() => void}
|
419
419
|
*/
|
420
420
|
$on(t, r) {
|
421
|
-
if (
|
421
|
+
if (!$e(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 er {
|
|
431
431
|
* @returns {void}
|
432
432
|
*/
|
433
433
|
$set(t) {
|
434
|
-
this.$$set && !
|
434
|
+
this.$$set && !Ot(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 er = "4";
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
|
439
|
+
const D = [];
|
440
|
+
function tr(e, t) {
|
441
441
|
return {
|
442
|
-
subscribe:
|
442
|
+
subscribe: he(e, t).subscribe
|
443
443
|
};
|
444
444
|
}
|
445
|
-
function
|
445
|
+
function he(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 (it(e, a) && (e = a, r)) {
|
450
|
+
const l = !D.length;
|
451
451
|
for (const o of n)
|
452
|
-
o[1](),
|
452
|
+
o[1](), D.push(o, e);
|
453
453
|
if (l) {
|
454
|
-
for (let o = 0; o <
|
455
|
-
|
456
|
-
|
454
|
+
for (let o = 0; o < D.length; o += 2)
|
455
|
+
D[o][0](D[o + 1]);
|
456
|
+
D.length = 0;
|
457
457
|
}
|
458
458
|
}
|
459
459
|
}
|
@@ -468,12 +468,12 @@ function ce(e, t = A) {
|
|
468
468
|
}
|
469
469
|
return { set: i, update: s, subscribe: u };
|
470
470
|
}
|
471
|
-
function
|
471
|
+
function X(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 tr(r, (u, a) => {
|
477
477
|
let l = !1;
|
478
478
|
const o = [];
|
479
479
|
let h = 0, c = A;
|
@@ -481,13 +481,13 @@ function z(e, t, r) {
|
|
481
481
|
if (h)
|
482
482
|
return;
|
483
483
|
c();
|
484
|
-
const
|
485
|
-
s ? u(
|
486
|
-
},
|
487
|
-
(
|
488
|
-
|
489
|
-
(
|
490
|
-
o[m] =
|
484
|
+
const y = t(n ? o[0] : o, u, a);
|
485
|
+
s ? u(y) : c = $e(y) ? y : A;
|
486
|
+
}, b = i.map(
|
487
|
+
(y, m) => st(
|
488
|
+
y,
|
489
|
+
(v) => {
|
490
|
+
o[m] = v, h &= ~(1 << m), l && f();
|
491
491
|
},
|
492
492
|
() => {
|
493
493
|
h |= 1 << m;
|
@@ -495,112 +495,126 @@ function z(e, t, r) {
|
|
495
495
|
)
|
496
496
|
);
|
497
497
|
return l = !0, f(), function() {
|
498
|
-
|
498
|
+
ee(b), c(), l = !1;
|
499
499
|
};
|
500
500
|
});
|
501
501
|
}
|
502
|
-
function
|
503
|
-
return e
|
502
|
+
function rr(e) {
|
503
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
504
504
|
}
|
505
|
-
var
|
506
|
-
return
|
505
|
+
var nr = function(t) {
|
506
|
+
return ir(t) && !sr(t);
|
507
507
|
};
|
508
|
-
function
|
508
|
+
function ir(e) {
|
509
509
|
return !!e && typeof e == "object";
|
510
510
|
}
|
511
|
-
function
|
511
|
+
function sr(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]" || ur(e);
|
514
514
|
}
|
515
|
-
var
|
516
|
-
function
|
517
|
-
return e.$$typeof ===
|
515
|
+
var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
|
516
|
+
function ur(e) {
|
517
|
+
return e.$$typeof === ar;
|
518
518
|
}
|
519
|
-
function
|
519
|
+
function hr(e) {
|
520
520
|
return Array.isArray(e) ? [] : {};
|
521
521
|
}
|
522
|
-
function
|
523
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
522
|
+
function Y(e, t) {
|
523
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(hr(e), e, t) : e;
|
524
524
|
}
|
525
|
-
function
|
525
|
+
function lr(e, t, r) {
|
526
526
|
return e.concat(t).map(function(n) {
|
527
|
-
return
|
527
|
+
return Y(n, r);
|
528
528
|
});
|
529
529
|
}
|
530
|
-
function
|
530
|
+
function cr(e, t) {
|
531
531
|
if (!t.customMerge)
|
532
|
-
return
|
532
|
+
return F;
|
533
533
|
var r = t.customMerge(e);
|
534
|
-
return typeof r == "function" ? r :
|
534
|
+
return typeof r == "function" ? r : F;
|
535
535
|
}
|
536
|
-
function
|
536
|
+
function fr(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 je(e) {
|
542
|
+
return Object.keys(e).concat(fr(e));
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function ut(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 mr(e, t) {
|
552
|
+
return ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
553
553
|
}
|
554
|
-
function
|
554
|
+
function pr(e, t, r) {
|
555
555
|
var n = {};
|
556
|
-
return r.isMergeableObject(e) &&
|
557
|
-
n[i] =
|
558
|
-
}),
|
559
|
-
|
556
|
+
return r.isMergeableObject(e) && je(e).forEach(function(i) {
|
557
|
+
n[i] = Y(e[i], r);
|
558
|
+
}), je(t).forEach(function(i) {
|
559
|
+
mr(e, i) || (ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
560
560
|
}), n;
|
561
561
|
}
|
562
|
-
function
|
563
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
562
|
+
function F(e, t, r) {
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = Y;
|
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) : pr(e, t, r) : Y(t, r);
|
566
566
|
}
|
567
|
-
|
567
|
+
F.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 F(n, i, r);
|
572
572
|
}, {});
|
573
573
|
};
|
574
|
-
var
|
575
|
-
const
|
576
|
-
|
577
|
-
|
574
|
+
var gr = F, dr = gr;
|
575
|
+
const br = /* @__PURE__ */ rr(dr);
|
576
|
+
/*! *****************************************************************************
|
577
|
+
Copyright (c) Microsoft Corporation.
|
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) {
|
578
592
|
r.__proto__ = n;
|
579
593
|
} || function(r, n) {
|
580
594
|
for (var i in n)
|
581
595
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
582
|
-
},
|
596
|
+
}, Se(e, t);
|
583
597
|
};
|
584
|
-
function
|
598
|
+
function le(e, t) {
|
585
599
|
if (typeof t != "function" && t !== null)
|
586
600
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
587
|
-
|
601
|
+
Se(e, t);
|
588
602
|
function r() {
|
589
603
|
this.constructor = e;
|
590
604
|
}
|
591
605
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
592
606
|
}
|
593
|
-
var
|
594
|
-
return
|
607
|
+
var d = function() {
|
608
|
+
return d = Object.assign || function(t) {
|
595
609
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
596
610
|
r = arguments[n];
|
597
611
|
for (var s in r)
|
598
612
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
599
613
|
}
|
600
614
|
return t;
|
601
|
-
},
|
615
|
+
}, d.apply(this, arguments);
|
602
616
|
};
|
603
|
-
function
|
617
|
+
function yr(e, t) {
|
604
618
|
var r = {};
|
605
619
|
for (var n in e)
|
606
620
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -609,43 +623,46 @@ function xr(e, t) {
|
|
609
623
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
610
624
|
return r;
|
611
625
|
}
|
612
|
-
function
|
613
|
-
if (
|
626
|
+
function be(e, t, r) {
|
627
|
+
if (arguments.length === 2)
|
614
628
|
for (var n = 0, i = t.length, s; n < i; n++)
|
615
629
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
616
|
-
return e.concat(s ||
|
630
|
+
return e.concat(s || t);
|
617
631
|
}
|
618
|
-
function
|
619
|
-
var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer :
|
632
|
+
function ye(e, t) {
|
633
|
+
var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : Er;
|
620
634
|
return i(e, {
|
621
635
|
cache: r,
|
622
636
|
serializer: n
|
623
637
|
});
|
624
638
|
}
|
625
|
-
function
|
639
|
+
function xr(e) {
|
626
640
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
627
641
|
}
|
628
|
-
function
|
629
|
-
var i =
|
642
|
+
function ht(e, t, r, n) {
|
643
|
+
var i = xr(n) ? n : r(n), s = t.get(i);
|
630
644
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
631
645
|
}
|
632
646
|
function lt(e, t, r) {
|
633
647
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
634
648
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
635
649
|
}
|
636
|
-
function
|
650
|
+
function Re(e, t, r, n, i) {
|
637
651
|
return r.bind(t, e, n, i);
|
638
652
|
}
|
639
|
-
function
|
640
|
-
var r = e.length === 1 ?
|
641
|
-
return
|
653
|
+
function Er(e, t) {
|
654
|
+
var r = e.length === 1 ? ht : lt;
|
655
|
+
return Re(e, this, r, t.cache.create(), t.serializer);
|
642
656
|
}
|
643
|
-
function
|
644
|
-
return
|
657
|
+
function vr(e, t) {
|
658
|
+
return Re(e, this, lt, t.cache.create(), t.serializer);
|
645
659
|
}
|
646
|
-
|
660
|
+
function _r(e, t) {
|
661
|
+
return Re(e, this, ht, t.cache.create(), t.serializer);
|
662
|
+
}
|
663
|
+
var Hr = function() {
|
647
664
|
return JSON.stringify(arguments);
|
648
|
-
},
|
665
|
+
}, Tr = (
|
649
666
|
/** @class */
|
650
667
|
function() {
|
651
668
|
function e() {
|
@@ -659,69 +676,60 @@ var Tr = function() {
|
|
659
676
|
}()
|
660
677
|
), Br = {
|
661
678
|
create: function() {
|
662
|
-
return new
|
679
|
+
return new Tr();
|
663
680
|
}
|
664
|
-
},
|
665
|
-
variadic:
|
666
|
-
|
667
|
-
|
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
|
+
}, xe = {
|
682
|
+
variadic: vr,
|
683
|
+
monadic: _r
|
684
|
+
}, p;
|
677
685
|
(function(e) {
|
678
686
|
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";
|
679
687
|
})(p || (p = {}));
|
680
|
-
var
|
688
|
+
var x;
|
681
689
|
(function(e) {
|
682
690
|
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";
|
683
|
-
})(
|
684
|
-
var
|
691
|
+
})(x || (x = {}));
|
692
|
+
var j;
|
685
693
|
(function(e) {
|
686
694
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
687
|
-
})(
|
688
|
-
function
|
689
|
-
return e.type ===
|
695
|
+
})(j || (j = {}));
|
696
|
+
function Ve(e) {
|
697
|
+
return e.type === x.literal;
|
690
698
|
}
|
691
|
-
function
|
692
|
-
return e.type ===
|
699
|
+
function Sr(e) {
|
700
|
+
return e.type === x.argument;
|
701
|
+
}
|
702
|
+
function ct(e) {
|
703
|
+
return e.type === x.number;
|
693
704
|
}
|
694
705
|
function ft(e) {
|
695
|
-
return e.type ===
|
706
|
+
return e.type === x.date;
|
696
707
|
}
|
697
708
|
function mt(e) {
|
698
|
-
return e.type ===
|
709
|
+
return e.type === x.time;
|
699
710
|
}
|
700
711
|
function pt(e) {
|
701
|
-
return e.type ===
|
712
|
+
return e.type === x.select;
|
702
713
|
}
|
703
714
|
function gt(e) {
|
704
|
-
return e.type ===
|
715
|
+
return e.type === x.plural;
|
705
716
|
}
|
706
|
-
function
|
707
|
-
return e.type ===
|
717
|
+
function Pr(e) {
|
718
|
+
return e.type === x.pound;
|
708
719
|
}
|
709
|
-
function
|
710
|
-
return e.type ===
|
720
|
+
function dt(e) {
|
721
|
+
return e.type === x.tag;
|
711
722
|
}
|
712
723
|
function bt(e) {
|
713
|
-
return e.type ===
|
724
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
714
725
|
}
|
715
|
-
function
|
716
|
-
return !!(e && typeof e == "object" && e.type ===
|
717
|
-
}
|
718
|
-
function we(e) {
|
719
|
-
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
726
|
+
function Pe(e) {
|
727
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
720
728
|
}
|
721
|
-
var
|
722
|
-
function
|
729
|
+
var yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
|
730
|
+
function wr(e) {
|
723
731
|
var t = {};
|
724
|
-
return e.replace(
|
732
|
+
return e.replace(Ar, function(r) {
|
725
733
|
var n = r.length;
|
726
734
|
switch (r[0]) {
|
727
735
|
case "G":
|
@@ -810,21 +818,11 @@ function Nr(e) {
|
|
810
818
|
return "";
|
811
819
|
}), t;
|
812
820
|
}
|
813
|
-
var
|
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;
|
821
|
+
var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
824
822
|
function Lr(e) {
|
825
823
|
if (e.length === 0)
|
826
824
|
throw new Error("Number skeleton cannot be empty");
|
827
|
-
for (var t = e.split(
|
825
|
+
for (var t = e.split(Nr).filter(function(f) {
|
828
826
|
return f.length > 0;
|
829
827
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
830
828
|
var s = i[n], u = s.split("/");
|
@@ -839,17 +837,17 @@ function Lr(e) {
|
|
839
837
|
}
|
840
838
|
return r;
|
841
839
|
}
|
842
|
-
function
|
840
|
+
function Or(e) {
|
843
841
|
return e.replace(/^(.*?)-/, "");
|
844
842
|
}
|
845
|
-
var
|
846
|
-
function
|
843
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
|
844
|
+
function Xe(e) {
|
847
845
|
var t = {};
|
848
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
846
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
849
847
|
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)), "";
|
850
848
|
}), t;
|
851
849
|
}
|
852
|
-
function
|
850
|
+
function vt(e) {
|
853
851
|
switch (e) {
|
854
852
|
case "sign-auto":
|
855
853
|
return {
|
@@ -903,11 +901,11 @@ function Cr(e) {
|
|
903
901
|
}
|
904
902
|
return t;
|
905
903
|
}
|
906
|
-
function
|
907
|
-
var t = {}, r =
|
904
|
+
function ze(e) {
|
905
|
+
var t = {}, r = vt(e);
|
908
906
|
return r || t;
|
909
907
|
}
|
910
|
-
function
|
908
|
+
function $r(e) {
|
911
909
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
912
910
|
var i = n[r];
|
913
911
|
switch (i.stem) {
|
@@ -931,7 +929,7 @@ function Mr(e) {
|
|
931
929
|
continue;
|
932
930
|
case "measure-unit":
|
933
931
|
case "unit":
|
934
|
-
t.style = "unit", t.unit =
|
932
|
+
t.style = "unit", t.unit = Or(i.options[0]);
|
935
933
|
continue;
|
936
934
|
case "compact-short":
|
937
935
|
case "K":
|
@@ -942,13 +940,13 @@ function Mr(e) {
|
|
942
940
|
t.notation = "compact", t.compactDisplay = "long";
|
943
941
|
continue;
|
944
942
|
case "scientific":
|
945
|
-
t =
|
946
|
-
return
|
943
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
944
|
+
return d(d({}, l), ze(o));
|
947
945
|
}, {}));
|
948
946
|
continue;
|
949
947
|
case "engineering":
|
950
|
-
t =
|
951
|
-
return
|
948
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
949
|
+
return d(d({}, l), ze(o));
|
952
950
|
}, {}));
|
953
951
|
continue;
|
954
952
|
case "notation-simple":
|
@@ -993,13 +991,13 @@ function Mr(e) {
|
|
993
991
|
case "integer-width":
|
994
992
|
if (i.options.length > 1)
|
995
993
|
throw new RangeError("integer-width stems only accept a single optional option");
|
996
|
-
i.options[0].replace(
|
994
|
+
i.options[0].replace(Ir, function(l, o, h, c, f, b) {
|
997
995
|
if (o)
|
998
996
|
t.minimumIntegerDigits = h.length;
|
999
997
|
else {
|
1000
998
|
if (c && f)
|
1001
999
|
throw new Error("We currently do not support maximum integer digits");
|
1002
|
-
if (
|
1000
|
+
if (b)
|
1003
1001
|
throw new Error("We currently do not support exact integer digits");
|
1004
1002
|
}
|
1005
1003
|
return "";
|
@@ -1010,28 +1008,28 @@ function Mr(e) {
|
|
1010
1008
|
t.minimumIntegerDigits = i.stem.length;
|
1011
1009
|
continue;
|
1012
1010
|
}
|
1013
|
-
if (
|
1011
|
+
if (ke.test(i.stem)) {
|
1014
1012
|
if (i.options.length > 1)
|
1015
1013
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1016
|
-
i.stem.replace(
|
1017
|
-
return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
1014
|
+
i.stem.replace(ke, function(l, o, h, c, f, b) {
|
1015
|
+
return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
1018
1016
|
});
|
1019
1017
|
var s = i.options[0];
|
1020
|
-
s === "w" ? t =
|
1018
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Xe(s)));
|
1021
1019
|
continue;
|
1022
1020
|
}
|
1023
|
-
if (
|
1024
|
-
t =
|
1021
|
+
if (xt.test(i.stem)) {
|
1022
|
+
t = d(d({}, t), Xe(i.stem));
|
1025
1023
|
continue;
|
1026
1024
|
}
|
1027
|
-
var u =
|
1028
|
-
u && (t =
|
1025
|
+
var u = vt(i.stem);
|
1026
|
+
u && (t = d(d({}, t), u));
|
1029
1027
|
var a = Cr(i.stem);
|
1030
|
-
a && (t =
|
1028
|
+
a && (t = d(d({}, t), a));
|
1031
1029
|
}
|
1032
1030
|
return t;
|
1033
1031
|
}
|
1034
|
-
var
|
1032
|
+
var re = {
|
1035
1033
|
"001": [
|
1036
1034
|
"H",
|
1037
1035
|
"h"
|
@@ -2446,13 +2444,13 @@ var ne = {
|
|
2446
2444
|
"h"
|
2447
2445
|
]
|
2448
2446
|
};
|
2449
|
-
function
|
2447
|
+
function Mr(e, t) {
|
2450
2448
|
for (var r = "", n = 0; n < e.length; n++) {
|
2451
2449
|
var i = e.charAt(n);
|
2452
2450
|
if (i === "j") {
|
2453
2451
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2454
2452
|
s++, n++;
|
2455
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o =
|
2453
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Rr(t);
|
2456
2454
|
for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
|
2457
2455
|
r += l;
|
2458
2456
|
for (; u-- > 0; )
|
@@ -2462,7 +2460,7 @@ function Rr(e, t) {
|
|
2462
2460
|
}
|
2463
2461
|
return r;
|
2464
2462
|
}
|
2465
|
-
function
|
2463
|
+
function Rr(e) {
|
2466
2464
|
var t = e.hourCycle;
|
2467
2465
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2468
2466
|
e.hourCycles && // @ts-ignore
|
@@ -2481,23 +2479,23 @@ function Dr(e) {
|
|
2481
2479
|
}
|
2482
2480
|
var r = e.language, n;
|
2483
2481
|
r !== "root" && (n = e.maximize().region);
|
2484
|
-
var i =
|
2482
|
+
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
2485
2483
|
return i[0];
|
2486
2484
|
}
|
2487
|
-
var
|
2485
|
+
var Ee, Dr = new RegExp("^".concat(yt.source, "*")), Ur = new RegExp("".concat(yt.source, "*$"));
|
2488
2486
|
function g(e, t) {
|
2489
2487
|
return { start: e, end: t };
|
2490
2488
|
}
|
2491
|
-
var
|
2489
|
+
var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, zr = !!Number.isSafeInteger, Wr = zr ? Number.isSafeInteger : function(e) {
|
2492
2490
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2493
|
-
},
|
2491
|
+
}, Ae = !0;
|
2494
2492
|
try {
|
2495
|
-
var
|
2496
|
-
|
2493
|
+
var Zr = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2494
|
+
Ae = ((Ee = Zr.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
2497
2495
|
} catch {
|
2498
|
-
|
2496
|
+
Ae = !1;
|
2499
2497
|
}
|
2500
|
-
var
|
2498
|
+
var We = Gr ? (
|
2501
2499
|
// Native
|
2502
2500
|
function(t, r, n) {
|
2503
2501
|
return t.startsWith(r, n);
|
@@ -2507,7 +2505,7 @@ var Ze = Fr ? (
|
|
2507
2505
|
function(t, r, n) {
|
2508
2506
|
return t.slice(n, n + r.length) === r;
|
2509
2507
|
}
|
2510
|
-
),
|
2508
|
+
), we = Fr ? String.fromCodePoint : (
|
2511
2509
|
// IE11
|
2512
2510
|
function() {
|
2513
2511
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2519,9 +2517,9 @@ var Ze = Fr ? (
|
|
2519
2517
|
}
|
2520
2518
|
return n;
|
2521
2519
|
}
|
2522
|
-
),
|
2520
|
+
), Ze = (
|
2523
2521
|
// native
|
2524
|
-
|
2522
|
+
jr ? Object.fromEntries : (
|
2525
2523
|
// Ponyfill
|
2526
2524
|
function(t) {
|
2527
2525
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2531,7 +2529,7 @@ var Ze = Fr ? (
|
|
2531
2529
|
return r;
|
2532
2530
|
}
|
2533
2531
|
)
|
2534
|
-
),
|
2532
|
+
), _t = Vr ? (
|
2535
2533
|
// Native
|
2536
2534
|
function(t, r) {
|
2537
2535
|
return t.codePointAt(r);
|
@@ -2545,7 +2543,7 @@ var Ze = Fr ? (
|
|
2545
2543
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2546
2544
|
}
|
2547
2545
|
}
|
2548
|
-
),
|
2546
|
+
), qr = kr ? (
|
2549
2547
|
// Native
|
2550
2548
|
function(t) {
|
2551
2549
|
return t.trimStart();
|
@@ -2553,9 +2551,9 @@ var Ze = Fr ? (
|
|
2553
2551
|
) : (
|
2554
2552
|
// Ponyfill
|
2555
2553
|
function(t) {
|
2556
|
-
return t.replace(
|
2554
|
+
return t.replace(Dr, "");
|
2557
2555
|
}
|
2558
|
-
),
|
2556
|
+
), Qr = Xr ? (
|
2559
2557
|
// Native
|
2560
2558
|
function(t) {
|
2561
2559
|
return t.trimEnd();
|
@@ -2563,32 +2561,32 @@ var Ze = Fr ? (
|
|
2563
2561
|
) : (
|
2564
2562
|
// Ponyfill
|
2565
2563
|
function(t) {
|
2566
|
-
return t.replace(
|
2564
|
+
return t.replace(Ur, "");
|
2567
2565
|
}
|
2568
2566
|
);
|
2569
|
-
function
|
2567
|
+
function Ht(e, t) {
|
2570
2568
|
return new RegExp(e, t);
|
2571
2569
|
}
|
2572
|
-
var
|
2573
|
-
if (
|
2574
|
-
var
|
2575
|
-
|
2570
|
+
var Ne;
|
2571
|
+
if (Ae) {
|
2572
|
+
var qe = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2573
|
+
Ne = function(t, r) {
|
2576
2574
|
var n;
|
2577
|
-
|
2578
|
-
var i =
|
2575
|
+
qe.lastIndex = r;
|
2576
|
+
var i = qe.exec(t);
|
2579
2577
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2580
2578
|
};
|
2581
2579
|
} else
|
2582
|
-
|
2580
|
+
Ne = function(t, r) {
|
2583
2581
|
for (var n = []; ; ) {
|
2584
|
-
var i =
|
2585
|
-
if (i === void 0 ||
|
2582
|
+
var i = _t(t, r);
|
2583
|
+
if (i === void 0 || Tt(i) || en(i))
|
2586
2584
|
break;
|
2587
2585
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2588
2586
|
}
|
2589
|
-
return
|
2587
|
+
return we.apply(void 0, n);
|
2590
2588
|
};
|
2591
|
-
var
|
2589
|
+
var Jr = (
|
2592
2590
|
/** @class */
|
2593
2591
|
function() {
|
2594
2592
|
function e(t, r) {
|
@@ -2612,14 +2610,14 @@ var Yr = (
|
|
2612
2610
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2613
2611
|
var a = this.clonePosition();
|
2614
2612
|
this.bump(), i.push({
|
2615
|
-
type:
|
2613
|
+
type: x.pound,
|
2616
2614
|
location: g(a, this.clonePosition())
|
2617
2615
|
});
|
2618
2616
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2619
2617
|
if (n)
|
2620
2618
|
break;
|
2621
2619
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2622
|
-
} else if (s === 60 && !this.ignoreTag &&
|
2620
|
+
} else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
|
2623
2621
|
var u = this.parseTag(t, r);
|
2624
2622
|
if (u.err)
|
2625
2623
|
return u;
|
@@ -2640,7 +2638,7 @@ var Yr = (
|
|
2640
2638
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2641
2639
|
return {
|
2642
2640
|
val: {
|
2643
|
-
type:
|
2641
|
+
type: x.literal,
|
2644
2642
|
value: "<".concat(i, "/>"),
|
2645
2643
|
location: g(n, this.clonePosition())
|
2646
2644
|
},
|
@@ -2652,12 +2650,12 @@ var Yr = (
|
|
2652
2650
|
return s;
|
2653
2651
|
var u = s.val, a = this.clonePosition();
|
2654
2652
|
if (this.bumpIf("</")) {
|
2655
|
-
if (this.isEOF() || !
|
2653
|
+
if (this.isEOF() || !Le(this.char()))
|
2656
2654
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
2657
2655
|
var l = this.clonePosition(), o = this.parseTagName();
|
2658
2656
|
return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2659
2657
|
val: {
|
2660
|
-
type:
|
2658
|
+
type: x.tag,
|
2661
2659
|
value: i,
|
2662
2660
|
children: u,
|
2663
2661
|
location: g(n, this.clonePosition())
|
@@ -2670,7 +2668,7 @@ var Yr = (
|
|
2670
2668
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2671
2669
|
}, e.prototype.parseTagName = function() {
|
2672
2670
|
var t = this.offset();
|
2673
|
-
for (this.bump(); !this.isEOF() &&
|
2671
|
+
for (this.bump(); !this.isEOF() && Kr(this.char()); )
|
2674
2672
|
this.bump();
|
2675
2673
|
return this.message.slice(t, this.offset());
|
2676
2674
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2694,12 +2692,12 @@ var Yr = (
|
|
2694
2692
|
}
|
2695
2693
|
var l = g(n, this.clonePosition());
|
2696
2694
|
return {
|
2697
|
-
val: { type:
|
2695
|
+
val: { type: x.literal, value: i, location: l },
|
2698
2696
|
err: null
|
2699
2697
|
};
|
2700
2698
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2701
2699
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2702
|
-
!
|
2700
|
+
!Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2703
2701
|
}, e.prototype.tryParseQuote = function(t) {
|
2704
2702
|
if (this.isEOF() || this.char() !== 39)
|
2705
2703
|
return null;
|
@@ -2733,12 +2731,12 @@ var Yr = (
|
|
2733
2731
|
r.push(n);
|
2734
2732
|
this.bump();
|
2735
2733
|
}
|
2736
|
-
return
|
2734
|
+
return we.apply(void 0, r);
|
2737
2735
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2738
2736
|
if (this.isEOF())
|
2739
2737
|
return null;
|
2740
2738
|
var n = this.char();
|
2741
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2739
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
|
2742
2740
|
}, e.prototype.parseArgument = function(t, r) {
|
2743
2741
|
var n = this.clonePosition();
|
2744
2742
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2754,7 +2752,7 @@ var Yr = (
|
|
2754
2752
|
case 125:
|
2755
2753
|
return this.bump(), {
|
2756
2754
|
val: {
|
2757
|
-
type:
|
2755
|
+
type: x.argument,
|
2758
2756
|
// value does not include the opening and closing braces.
|
2759
2757
|
value: i,
|
2760
2758
|
location: g(n, this.clonePosition())
|
@@ -2767,7 +2765,7 @@ var Yr = (
|
|
2767
2765
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2768
2766
|
}
|
2769
2767
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2770
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2768
|
+
var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
|
2771
2769
|
this.bumpTo(i);
|
2772
2770
|
var s = this.clonePosition(), u = g(t, s);
|
2773
2771
|
return { value: n, location: u };
|
@@ -2786,44 +2784,44 @@ var Yr = (
|
|
2786
2784
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2787
2785
|
if (c.err)
|
2788
2786
|
return c;
|
2789
|
-
var f =
|
2787
|
+
var f = Qr(c.val);
|
2790
2788
|
if (f.length === 0)
|
2791
2789
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2792
|
-
var
|
2793
|
-
o = { style: f, styleLocation:
|
2790
|
+
var b = g(h, this.clonePosition());
|
2791
|
+
o = { style: f, styleLocation: b };
|
2794
2792
|
}
|
2795
|
-
var
|
2796
|
-
if (
|
2797
|
-
return
|
2793
|
+
var y = this.tryParseArgumentClose(i);
|
2794
|
+
if (y.err)
|
2795
|
+
return y;
|
2798
2796
|
var m = g(i, this.clonePosition());
|
2799
|
-
if (o &&
|
2800
|
-
var
|
2797
|
+
if (o && We(o?.style, "::", 0)) {
|
2798
|
+
var v = qr(o.style.slice(2));
|
2801
2799
|
if (a === "number") {
|
2802
|
-
var c = this.parseNumberSkeletonFromString(
|
2800
|
+
var c = this.parseNumberSkeletonFromString(v, o.styleLocation);
|
2803
2801
|
return c.err ? c : {
|
2804
|
-
val: { type:
|
2802
|
+
val: { type: x.number, value: n, location: m, style: c.val },
|
2805
2803
|
err: null
|
2806
2804
|
};
|
2807
2805
|
} else {
|
2808
|
-
if (
|
2806
|
+
if (v.length === 0)
|
2809
2807
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2810
|
-
var
|
2811
|
-
this.locale && (
|
2808
|
+
var S = v;
|
2809
|
+
this.locale && (S = Mr(v, this.locale));
|
2812
2810
|
var f = {
|
2813
|
-
type:
|
2814
|
-
pattern:
|
2811
|
+
type: j.dateTime,
|
2812
|
+
pattern: S,
|
2815
2813
|
location: o.styleLocation,
|
2816
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2817
|
-
},
|
2814
|
+
parsedOptions: this.shouldParseSkeletons ? wr(S) : {}
|
2815
|
+
}, B = a === "date" ? x.date : x.time;
|
2818
2816
|
return {
|
2819
|
-
val: { type:
|
2817
|
+
val: { type: B, value: n, location: m, style: f },
|
2820
2818
|
err: null
|
2821
2819
|
};
|
2822
2820
|
}
|
2823
2821
|
}
|
2824
2822
|
return {
|
2825
2823
|
val: {
|
2826
|
-
type: a === "number" ?
|
2824
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
2827
2825
|
value: n,
|
2828
2826
|
location: m,
|
2829
2827
|
style: (s = o?.style) !== null && s !== void 0 ? s : null
|
@@ -2836,38 +2834,38 @@ var Yr = (
|
|
2836
2834
|
case "select": {
|
2837
2835
|
var H = this.clonePosition();
|
2838
2836
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2839
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H,
|
2837
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, d({}, H)));
|
2840
2838
|
this.bumpSpace();
|
2841
|
-
var
|
2842
|
-
if (a !== "select" &&
|
2839
|
+
var N = this.parseIdentifierIfPossible(), P = 0;
|
2840
|
+
if (a !== "select" && N.value === "offset") {
|
2843
2841
|
if (!this.bumpIf(":"))
|
2844
2842
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2845
2843
|
this.bumpSpace();
|
2846
2844
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2847
2845
|
if (c.err)
|
2848
2846
|
return c;
|
2849
|
-
this.bumpSpace(),
|
2847
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), P = c.val;
|
2850
2848
|
}
|
2851
|
-
var
|
2852
|
-
if (
|
2853
|
-
return
|
2854
|
-
var
|
2855
|
-
if (
|
2856
|
-
return
|
2849
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
2850
|
+
if (O.err)
|
2851
|
+
return O;
|
2852
|
+
var y = this.tryParseArgumentClose(i);
|
2853
|
+
if (y.err)
|
2854
|
+
return y;
|
2857
2855
|
var w = g(i, this.clonePosition());
|
2858
2856
|
return a === "select" ? {
|
2859
2857
|
val: {
|
2860
|
-
type:
|
2858
|
+
type: x.select,
|
2861
2859
|
value: n,
|
2862
|
-
options:
|
2860
|
+
options: Ze(O.val),
|
2863
2861
|
location: w
|
2864
2862
|
},
|
2865
2863
|
err: null
|
2866
2864
|
} : {
|
2867
2865
|
val: {
|
2868
|
-
type:
|
2866
|
+
type: x.plural,
|
2869
2867
|
value: n,
|
2870
|
-
options:
|
2868
|
+
options: Ze(O.val),
|
2871
2869
|
offset: P,
|
2872
2870
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2873
2871
|
location: w
|
@@ -2924,10 +2922,10 @@ var Yr = (
|
|
2924
2922
|
}
|
2925
2923
|
return {
|
2926
2924
|
val: {
|
2927
|
-
type:
|
2925
|
+
type: j.number,
|
2928
2926
|
tokens: n,
|
2929
2927
|
location: r,
|
2930
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2928
|
+
parsedOptions: this.shouldParseSkeletons ? $r(n) : {}
|
2931
2929
|
},
|
2932
2930
|
err: null
|
2933
2931
|
};
|
@@ -2946,20 +2944,20 @@ var Yr = (
|
|
2946
2944
|
if (l.has(o))
|
2947
2945
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2948
2946
|
o === "other" && (u = !0), this.bumpSpace();
|
2949
|
-
var
|
2947
|
+
var b = this.clonePosition();
|
2950
2948
|
if (!this.bumpIf("{"))
|
2951
2949
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2952
|
-
var
|
2953
|
-
if (
|
2954
|
-
return
|
2955
|
-
var m = this.tryParseArgumentClose(
|
2950
|
+
var y = this.parseMessage(t + 1, r, n);
|
2951
|
+
if (y.err)
|
2952
|
+
return y;
|
2953
|
+
var m = this.tryParseArgumentClose(b);
|
2956
2954
|
if (m.err)
|
2957
2955
|
return m;
|
2958
2956
|
a.push([
|
2959
2957
|
o,
|
2960
2958
|
{
|
2961
|
-
value:
|
2962
|
-
location: g(
|
2959
|
+
value: y.val,
|
2960
|
+
location: g(b, this.clonePosition())
|
2963
2961
|
}
|
2964
2962
|
]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
|
2965
2963
|
}
|
@@ -2975,7 +2973,7 @@ var Yr = (
|
|
2975
2973
|
break;
|
2976
2974
|
}
|
2977
2975
|
var l = g(i, this.clonePosition());
|
2978
|
-
return s ? (u *= n,
|
2976
|
+
return s ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2979
2977
|
}, e.prototype.offset = function() {
|
2980
2978
|
return this.position.offset;
|
2981
2979
|
}, e.prototype.isEOF = function() {
|
@@ -2990,7 +2988,7 @@ var Yr = (
|
|
2990
2988
|
var t = this.position.offset;
|
2991
2989
|
if (t >= this.message.length)
|
2992
2990
|
throw Error("out of bound");
|
2993
|
-
var r =
|
2991
|
+
var r = _t(this.message, t);
|
2994
2992
|
if (r === void 0)
|
2995
2993
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2996
2994
|
return r;
|
@@ -3009,7 +3007,7 @@ var Yr = (
|
|
3009
3007
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3010
3008
|
}
|
3011
3009
|
}, e.prototype.bumpIf = function(t) {
|
3012
|
-
if (
|
3010
|
+
if (We(this.message, t, this.offset())) {
|
3013
3011
|
for (var r = 0; r < t.length; r++)
|
3014
3012
|
this.bump();
|
3015
3013
|
return !0;
|
@@ -3031,7 +3029,7 @@ var Yr = (
|
|
3031
3029
|
break;
|
3032
3030
|
}
|
3033
3031
|
}, e.prototype.bumpSpace = function() {
|
3034
|
-
for (; !this.isEOF() &&
|
3032
|
+
for (; !this.isEOF() && Tt(this.char()); )
|
3035
3033
|
this.bump();
|
3036
3034
|
}, e.prototype.peek = function() {
|
3037
3035
|
if (this.isEOF())
|
@@ -3041,47 +3039,47 @@ var Yr = (
|
|
3041
3039
|
}, e;
|
3042
3040
|
}()
|
3043
3041
|
);
|
3044
|
-
function
|
3042
|
+
function Le(e) {
|
3045
3043
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3046
3044
|
}
|
3047
|
-
function
|
3048
|
-
return
|
3045
|
+
function Yr(e) {
|
3046
|
+
return Le(e) || e === 47;
|
3049
3047
|
}
|
3050
|
-
function
|
3048
|
+
function Kr(e) {
|
3051
3049
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3052
3050
|
}
|
3053
|
-
function
|
3051
|
+
function Tt(e) {
|
3054
3052
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3055
3053
|
}
|
3056
|
-
function
|
3054
|
+
function en(e) {
|
3057
3055
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3058
3056
|
}
|
3059
|
-
function
|
3057
|
+
function Oe(e) {
|
3060
3058
|
e.forEach(function(t) {
|
3061
|
-
if (delete t.location,
|
3059
|
+
if (delete t.location, pt(t) || gt(t))
|
3062
3060
|
for (var r in t.options)
|
3063
|
-
delete t.options[r].location,
|
3061
|
+
delete t.options[r].location, Oe(t.options[r].value);
|
3064
3062
|
else
|
3065
|
-
|
3063
|
+
ct(t) && bt(t.style) || (ft(t) || mt(t)) && Pe(t.style) ? delete t.style.location : dt(t) && Oe(t.children);
|
3066
3064
|
});
|
3067
3065
|
}
|
3068
|
-
function
|
3069
|
-
t === void 0 && (t = {}), t =
|
3070
|
-
var r = new
|
3066
|
+
function tn(e, t) {
|
3067
|
+
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3068
|
+
var r = new Jr(e, t).parse();
|
3071
3069
|
if (r.err) {
|
3072
3070
|
var n = SyntaxError(p[r.err.kind]);
|
3073
3071
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3074
3072
|
}
|
3075
|
-
return t?.captureLocation ||
|
3073
|
+
return t?.captureLocation || Oe(r.val), r.val;
|
3076
3074
|
}
|
3077
|
-
var
|
3075
|
+
var V;
|
3078
3076
|
(function(e) {
|
3079
3077
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3080
|
-
})(
|
3081
|
-
var
|
3078
|
+
})(V || (V = {}));
|
3079
|
+
var ce = (
|
3082
3080
|
/** @class */
|
3083
3081
|
function(e) {
|
3084
|
-
|
3082
|
+
le(t, e);
|
3085
3083
|
function t(r, n, i) {
|
3086
3084
|
var s = e.call(this, r) || this;
|
3087
3085
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3090,48 +3088,48 @@ var me = (
|
|
3090
3088
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3091
3089
|
}, t;
|
3092
3090
|
}(Error)
|
3093
|
-
),
|
3091
|
+
), Qe = (
|
3094
3092
|
/** @class */
|
3095
3093
|
function(e) {
|
3096
|
-
|
3094
|
+
le(t, e);
|
3097
3095
|
function t(r, n, i, s) {
|
3098
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3096
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
3099
3097
|
}
|
3100
3098
|
return t;
|
3101
|
-
}(
|
3102
|
-
),
|
3099
|
+
}(ce)
|
3100
|
+
), rn = (
|
3103
3101
|
/** @class */
|
3104
3102
|
function(e) {
|
3105
|
-
|
3103
|
+
le(t, e);
|
3106
3104
|
function t(r, n, i) {
|
3107
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3105
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3108
3106
|
}
|
3109
3107
|
return t;
|
3110
|
-
}(
|
3111
|
-
),
|
3108
|
+
}(ce)
|
3109
|
+
), nn = (
|
3112
3110
|
/** @class */
|
3113
3111
|
function(e) {
|
3114
|
-
|
3112
|
+
le(t, e);
|
3115
3113
|
function t(r, n) {
|
3116
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3114
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
3117
3115
|
}
|
3118
3116
|
return t;
|
3119
|
-
}(
|
3117
|
+
}(ce)
|
3120
3118
|
), T;
|
3121
3119
|
(function(e) {
|
3122
3120
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3123
3121
|
})(T || (T = {}));
|
3124
|
-
function
|
3122
|
+
function sn(e) {
|
3125
3123
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3126
3124
|
var n = t[t.length - 1];
|
3127
3125
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
3128
3126
|
}, []);
|
3129
3127
|
}
|
3130
|
-
function
|
3128
|
+
function on(e) {
|
3131
3129
|
return typeof e == "function";
|
3132
3130
|
}
|
3133
|
-
function
|
3134
|
-
if (e.length === 1 &&
|
3131
|
+
function se(e, t, r, n, i, s, u) {
|
3132
|
+
if (e.length === 1 && Ve(e[0]))
|
3135
3133
|
return [
|
3136
3134
|
{
|
3137
3135
|
type: T.literal,
|
@@ -3140,14 +3138,14 @@ function oe(e, t, r, n, i, s, u) {
|
|
3140
3138
|
];
|
3141
3139
|
for (var a = [], l = 0, o = e; l < o.length; l++) {
|
3142
3140
|
var h = o[l];
|
3143
|
-
if (
|
3141
|
+
if (Ve(h)) {
|
3144
3142
|
a.push({
|
3145
3143
|
type: T.literal,
|
3146
3144
|
value: h.value
|
3147
3145
|
});
|
3148
3146
|
continue;
|
3149
3147
|
}
|
3150
|
-
if (
|
3148
|
+
if (Pr(h)) {
|
3151
3149
|
typeof s == "number" && a.push({
|
3152
3150
|
type: T.literal,
|
3153
3151
|
value: r.getNumberFormat(t).format(s)
|
@@ -3156,89 +3154,89 @@ function oe(e, t, r, n, i, s, u) {
|
|
3156
3154
|
}
|
3157
3155
|
var c = h.value;
|
3158
3156
|
if (!(i && c in i))
|
3159
|
-
throw new
|
3157
|
+
throw new nn(c, u);
|
3160
3158
|
var f = i[c];
|
3161
|
-
if (
|
3159
|
+
if (Sr(h)) {
|
3162
3160
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3163
3161
|
type: typeof f == "string" ? T.literal : T.object,
|
3164
3162
|
value: f
|
3165
3163
|
});
|
3166
3164
|
continue;
|
3167
3165
|
}
|
3168
|
-
if (
|
3169
|
-
var
|
3166
|
+
if (ft(h)) {
|
3167
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
|
3170
3168
|
a.push({
|
3171
3169
|
type: T.literal,
|
3172
|
-
value: r.getDateTimeFormat(t,
|
3170
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
3173
3171
|
});
|
3174
3172
|
continue;
|
3175
3173
|
}
|
3176
|
-
if (
|
3177
|
-
var
|
3174
|
+
if (mt(h)) {
|
3175
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
|
3178
3176
|
a.push({
|
3179
3177
|
type: T.literal,
|
3180
|
-
value: r.getDateTimeFormat(t,
|
3178
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
3181
3179
|
});
|
3182
3180
|
continue;
|
3183
3181
|
}
|
3184
|
-
if (
|
3185
|
-
var
|
3186
|
-
|
3182
|
+
if (ct(h)) {
|
3183
|
+
var b = typeof h.style == "string" ? n.number[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
|
3184
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
3187
3185
|
type: T.literal,
|
3188
|
-
value: r.getNumberFormat(t,
|
3186
|
+
value: r.getNumberFormat(t, b).format(f)
|
3189
3187
|
});
|
3190
3188
|
continue;
|
3191
3189
|
}
|
3192
|
-
if (
|
3193
|
-
var
|
3194
|
-
if (!
|
3195
|
-
throw new
|
3196
|
-
var
|
3190
|
+
if (dt(h)) {
|
3191
|
+
var y = h.children, m = h.value, v = i[m];
|
3192
|
+
if (!on(v))
|
3193
|
+
throw new rn(m, "function", u);
|
3194
|
+
var S = se(y, t, r, n, i, s), B = v(S.map(function(P) {
|
3197
3195
|
return P.value;
|
3198
3196
|
}));
|
3199
|
-
Array.isArray(
|
3197
|
+
Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(P) {
|
3200
3198
|
return {
|
3201
3199
|
type: typeof P == "string" ? T.literal : T.object,
|
3202
3200
|
value: P
|
3203
3201
|
};
|
3204
3202
|
}));
|
3205
3203
|
}
|
3206
|
-
if (
|
3204
|
+
if (pt(h)) {
|
3207
3205
|
var H = h.options[f] || h.options.other;
|
3208
3206
|
if (!H)
|
3209
|
-
throw new
|
3210
|
-
a.push.apply(a,
|
3207
|
+
throw new Qe(h.value, f, Object.keys(h.options), u);
|
3208
|
+
a.push.apply(a, se(H.value, t, r, n, i));
|
3211
3209
|
continue;
|
3212
3210
|
}
|
3213
|
-
if (
|
3211
|
+
if (gt(h)) {
|
3214
3212
|
var H = h.options["=".concat(f)];
|
3215
3213
|
if (!H) {
|
3216
3214
|
if (!Intl.PluralRules)
|
3217
|
-
throw new
|
3215
|
+
throw new ce(`Intl.PluralRules is not available in this environment.
|
3218
3216
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3219
|
-
`,
|
3220
|
-
var
|
3221
|
-
H = h.options[
|
3217
|
+
`, V.MISSING_INTL_API, u);
|
3218
|
+
var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3219
|
+
H = h.options[N] || h.options.other;
|
3222
3220
|
}
|
3223
3221
|
if (!H)
|
3224
|
-
throw new
|
3225
|
-
a.push.apply(a,
|
3222
|
+
throw new Qe(h.value, f, Object.keys(h.options), u);
|
3223
|
+
a.push.apply(a, se(H.value, t, r, n, i, f - (h.offset || 0)));
|
3226
3224
|
continue;
|
3227
3225
|
}
|
3228
3226
|
}
|
3229
|
-
return
|
3227
|
+
return sn(a);
|
3230
3228
|
}
|
3231
|
-
function
|
3232
|
-
return t ?
|
3233
|
-
return r[n] =
|
3229
|
+
function an(e, t) {
|
3230
|
+
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3231
|
+
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3234
3232
|
}, {})) : e;
|
3235
3233
|
}
|
3236
|
-
function
|
3234
|
+
function un(e, t) {
|
3237
3235
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3238
|
-
return r[n] =
|
3239
|
-
},
|
3236
|
+
return r[n] = an(e[n], t[n]), r;
|
3237
|
+
}, d({}, e)) : e;
|
3240
3238
|
}
|
3241
|
-
function
|
3239
|
+
function ve(e) {
|
3242
3240
|
return {
|
3243
3241
|
create: function() {
|
3244
3242
|
return {
|
@@ -3252,39 +3250,39 @@ function He(e) {
|
|
3252
3250
|
}
|
3253
3251
|
};
|
3254
3252
|
}
|
3255
|
-
function
|
3253
|
+
function hn(e) {
|
3256
3254
|
return e === void 0 && (e = {
|
3257
3255
|
number: {},
|
3258
3256
|
dateTime: {},
|
3259
3257
|
pluralRules: {}
|
3260
3258
|
}), {
|
3261
|
-
getNumberFormat:
|
3259
|
+
getNumberFormat: ye(function() {
|
3262
3260
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3263
3261
|
r[n] = arguments[n];
|
3264
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3262
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
|
3265
3263
|
}, {
|
3266
|
-
cache:
|
3267
|
-
strategy:
|
3264
|
+
cache: ve(e.number),
|
3265
|
+
strategy: xe.variadic
|
3268
3266
|
}),
|
3269
|
-
getDateTimeFormat:
|
3267
|
+
getDateTimeFormat: ye(function() {
|
3270
3268
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3271
3269
|
r[n] = arguments[n];
|
3272
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3270
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
|
3273
3271
|
}, {
|
3274
|
-
cache:
|
3275
|
-
strategy:
|
3272
|
+
cache: ve(e.dateTime),
|
3273
|
+
strategy: xe.variadic
|
3276
3274
|
}),
|
3277
|
-
getPluralRules:
|
3275
|
+
getPluralRules: ye(function() {
|
3278
3276
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3279
3277
|
r[n] = arguments[n];
|
3280
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3278
|
+
return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
|
3281
3279
|
}, {
|
3282
|
-
cache:
|
3283
|
-
strategy:
|
3280
|
+
cache: ve(e.pluralRules),
|
3281
|
+
strategy: xe.variadic
|
3284
3282
|
})
|
3285
3283
|
};
|
3286
3284
|
}
|
3287
|
-
var
|
3285
|
+
var ln = (
|
3288
3286
|
/** @class */
|
3289
3287
|
function() {
|
3290
3288
|
function e(t, r, n, i) {
|
@@ -3303,7 +3301,7 @@ var cn = (
|
|
3303
3301
|
}, []);
|
3304
3302
|
return h.length <= 1 ? h[0] || "" : h;
|
3305
3303
|
}, this.formatToParts = function(l) {
|
3306
|
-
return
|
3304
|
+
return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
3307
3305
|
}, this.resolvedOptions = function() {
|
3308
3306
|
var l;
|
3309
3307
|
return {
|
@@ -3316,13 +3314,13 @@ var cn = (
|
|
3316
3314
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3317
3315
|
var u = i || {};
|
3318
3316
|
u.formatters;
|
3319
|
-
var a =
|
3320
|
-
this.ast = e.__parse(t,
|
3317
|
+
var a = yr(u, ["formatters"]);
|
3318
|
+
this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
|
3321
3319
|
} else
|
3322
3320
|
this.ast = t;
|
3323
3321
|
if (!Array.isArray(this.ast))
|
3324
3322
|
throw new TypeError("A message must be provided as a String or AST.");
|
3325
|
-
this.formats =
|
3323
|
+
this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
|
3326
3324
|
}
|
3327
3325
|
return Object.defineProperty(e, "defaultLocale", {
|
3328
3326
|
get: function() {
|
@@ -3335,7 +3333,7 @@ var cn = (
|
|
3335
3333
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3336
3334
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3337
3335
|
}
|
3338
|
-
}, e.__parse =
|
3336
|
+
}, e.__parse = tn, e.formats = {
|
3339
3337
|
number: {
|
3340
3338
|
integer: {
|
3341
3339
|
maximumFractionDigits: 0
|
@@ -3396,7 +3394,7 @@ var cn = (
|
|
3396
3394
|
}, e;
|
3397
3395
|
}()
|
3398
3396
|
);
|
3399
|
-
function
|
3397
|
+
function cn(e, t) {
|
3400
3398
|
if (t == null)
|
3401
3399
|
return;
|
3402
3400
|
if (t in e)
|
@@ -3417,92 +3415,92 @@ function fn(e, t) {
|
|
3417
3415
|
n = void 0;
|
3418
3416
|
return n;
|
3419
3417
|
}
|
3420
|
-
const L = {},
|
3418
|
+
const L = {}, fn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Bt = (e, t) => {
|
3421
3419
|
if (t == null)
|
3422
3420
|
return;
|
3423
3421
|
if (t in L && e in L[t])
|
3424
3422
|
return L[t][e];
|
3425
|
-
const r =
|
3423
|
+
const r = fe(t);
|
3426
3424
|
for (let n = 0; n < r.length; n++) {
|
3427
|
-
const i = r[n], s =
|
3425
|
+
const i = r[n], s = pn(i, e);
|
3428
3426
|
if (s)
|
3429
|
-
return
|
3427
|
+
return fn(e, t, s);
|
3430
3428
|
}
|
3431
3429
|
};
|
3432
|
-
let
|
3433
|
-
const
|
3434
|
-
function
|
3435
|
-
return
|
3430
|
+
let De;
|
3431
|
+
const te = he({});
|
3432
|
+
function mn(e) {
|
3433
|
+
return De[e] || null;
|
3436
3434
|
}
|
3437
|
-
function
|
3438
|
-
return e in
|
3435
|
+
function St(e) {
|
3436
|
+
return e in De;
|
3439
3437
|
}
|
3440
|
-
function
|
3441
|
-
if (!
|
3438
|
+
function pn(e, t) {
|
3439
|
+
if (!St(e))
|
3442
3440
|
return null;
|
3443
|
-
const r =
|
3444
|
-
return
|
3441
|
+
const r = mn(e);
|
3442
|
+
return cn(r, t);
|
3445
3443
|
}
|
3446
|
-
function
|
3444
|
+
function gn(e) {
|
3447
3445
|
if (e == null)
|
3448
3446
|
return;
|
3449
|
-
const t =
|
3447
|
+
const t = fe(e);
|
3450
3448
|
for (let r = 0; r < t.length; r++) {
|
3451
3449
|
const n = t[r];
|
3452
|
-
if (
|
3450
|
+
if (St(n))
|
3453
3451
|
return n;
|
3454
3452
|
}
|
3455
3453
|
}
|
3456
|
-
function
|
3457
|
-
delete L[e],
|
3454
|
+
function Pt(e, ...t) {
|
3455
|
+
delete L[e], te.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
3458
3456
|
}
|
3459
|
-
|
3460
|
-
[
|
3457
|
+
X(
|
3458
|
+
[te],
|
3461
3459
|
([e]) => Object.keys(e)
|
3462
3460
|
);
|
3463
|
-
|
3464
|
-
const
|
3465
|
-
function
|
3466
|
-
|
3461
|
+
te.subscribe((e) => De = e);
|
3462
|
+
const oe = {};
|
3463
|
+
function dn(e, t) {
|
3464
|
+
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
3467
3465
|
}
|
3468
|
-
function
|
3469
|
-
return
|
3466
|
+
function At(e) {
|
3467
|
+
return oe[e];
|
3470
3468
|
}
|
3471
|
-
function
|
3472
|
-
return
|
3473
|
-
const r =
|
3469
|
+
function bn(e) {
|
3470
|
+
return fe(e).map((t) => {
|
3471
|
+
const r = At(t);
|
3474
3472
|
return [t, r ? [...r] : []];
|
3475
3473
|
}).filter(([, t]) => t.length > 0);
|
3476
3474
|
}
|
3477
|
-
function
|
3478
|
-
return e == null ? !1 :
|
3475
|
+
function Ie(e) {
|
3476
|
+
return e == null ? !1 : fe(e).some(
|
3479
3477
|
(t) => {
|
3480
3478
|
var r;
|
3481
|
-
return (r =
|
3479
|
+
return (r = At(t)) == null ? void 0 : r.size;
|
3482
3480
|
}
|
3483
3481
|
);
|
3484
3482
|
}
|
3485
|
-
function
|
3483
|
+
function yn(e, t) {
|
3486
3484
|
return Promise.all(
|
3487
|
-
t.map((n) => (
|
3488
|
-
).then((n) =>
|
3489
|
-
}
|
3490
|
-
const
|
3491
|
-
function
|
3492
|
-
if (!
|
3493
|
-
return e in
|
3494
|
-
const t =
|
3495
|
-
return
|
3485
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
3486
|
+
).then((n) => Pt(e, ...n));
|
3487
|
+
}
|
3488
|
+
const q = {};
|
3489
|
+
function wt(e) {
|
3490
|
+
if (!Ie(e))
|
3491
|
+
return e in q ? q[e] : Promise.resolve();
|
3492
|
+
const t = bn(e);
|
3493
|
+
return q[e] = Promise.all(
|
3496
3494
|
t.map(
|
3497
|
-
([r, n]) =>
|
3495
|
+
([r, n]) => yn(r, n)
|
3498
3496
|
)
|
3499
3497
|
).then(() => {
|
3500
|
-
if (
|
3501
|
-
return
|
3502
|
-
delete
|
3503
|
-
}),
|
3498
|
+
if (Ie(e))
|
3499
|
+
return wt(e);
|
3500
|
+
delete q[e];
|
3501
|
+
}), q[e];
|
3504
3502
|
}
|
3505
|
-
const
|
3503
|
+
const xn = {
|
3506
3504
|
number: {
|
3507
3505
|
scientific: { notation: "scientific" },
|
3508
3506
|
engineering: { notation: "engineering" },
|
@@ -3534,138 +3532,138 @@ const vn = {
|
|
3534
3532
|
}, En = {
|
3535
3533
|
fallbackLocale: null,
|
3536
3534
|
loadingDelay: 200,
|
3537
|
-
formats:
|
3535
|
+
formats: xn,
|
3538
3536
|
warnOnMissingMessages: !0,
|
3539
3537
|
handleMissingMessage: void 0,
|
3540
3538
|
ignoreTag: !0
|
3541
|
-
},
|
3542
|
-
function
|
3543
|
-
return
|
3544
|
-
}
|
3545
|
-
const
|
3546
|
-
var
|
3547
|
-
for (var r in t
|
3548
|
-
Bn.call(t, r) &&
|
3549
|
-
if (
|
3550
|
-
for (var r of
|
3551
|
-
|
3539
|
+
}, vn = En;
|
3540
|
+
function k() {
|
3541
|
+
return vn;
|
3542
|
+
}
|
3543
|
+
const _e = he(!1);
|
3544
|
+
var _n = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Bn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ye = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
|
3545
|
+
for (var r in t)
|
3546
|
+
Bn.call(t, r) && Ye(e, r, t[r]);
|
3547
|
+
if (Je)
|
3548
|
+
for (var r of Je(t))
|
3549
|
+
Sn.call(t, r) && Ye(e, r, t[r]);
|
3552
3550
|
return e;
|
3553
|
-
},
|
3554
|
-
let
|
3555
|
-
const
|
3556
|
-
function
|
3551
|
+
}, An = (e, t) => Hn(e, Tn(t));
|
3552
|
+
let Ce;
|
3553
|
+
const ae = he(null);
|
3554
|
+
function Ke(e) {
|
3557
3555
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3558
3556
|
}
|
3559
|
-
function
|
3560
|
-
const r =
|
3561
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3557
|
+
function fe(e, t = k().fallbackLocale) {
|
3558
|
+
const r = Ke(e);
|
3559
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ke(t)])] : r;
|
3562
3560
|
}
|
3563
|
-
function
|
3564
|
-
return
|
3561
|
+
function $() {
|
3562
|
+
return Ce ?? void 0;
|
3565
3563
|
}
|
3566
|
-
|
3567
|
-
|
3564
|
+
ae.subscribe((e) => {
|
3565
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3568
3566
|
});
|
3569
|
-
const
|
3570
|
-
if (e &&
|
3571
|
-
const { loadingDelay: t } =
|
3567
|
+
const wn = (e) => {
|
3568
|
+
if (e && gn(e) && Ie(e)) {
|
3569
|
+
const { loadingDelay: t } = k();
|
3572
3570
|
let r;
|
3573
|
-
return typeof window < "u" &&
|
3574
|
-
() =>
|
3571
|
+
return typeof window < "u" && $() != null && t ? r = window.setTimeout(
|
3572
|
+
() => _e.set(!0),
|
3575
3573
|
t
|
3576
|
-
) :
|
3577
|
-
|
3574
|
+
) : _e.set(!0), wt(e).then(() => {
|
3575
|
+
ae.set(e);
|
3578
3576
|
}).finally(() => {
|
3579
|
-
clearTimeout(r),
|
3577
|
+
clearTimeout(r), _e.set(!1);
|
3580
3578
|
});
|
3581
3579
|
}
|
3582
|
-
return
|
3583
|
-
},
|
3584
|
-
set:
|
3585
|
-
}),
|
3580
|
+
return ae.set(e);
|
3581
|
+
}, z = An(Pn({}, ae), {
|
3582
|
+
set: wn
|
3583
|
+
}), me = (e) => {
|
3586
3584
|
const t = /* @__PURE__ */ Object.create(null);
|
3587
3585
|
return (n) => {
|
3588
3586
|
const i = JSON.stringify(n);
|
3589
3587
|
return i in t ? t[i] : t[i] = e(n);
|
3590
3588
|
};
|
3591
3589
|
};
|
3592
|
-
var
|
3590
|
+
var Nn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
3593
3591
|
for (var r in t || (t = {}))
|
3594
|
-
|
3595
|
-
if (
|
3596
|
-
for (var r of
|
3597
|
-
Lt.call(t, r) &&
|
3592
|
+
Nt.call(t, r) && et(e, r, t[r]);
|
3593
|
+
if (ue)
|
3594
|
+
for (var r of ue(t))
|
3595
|
+
Lt.call(t, r) && et(e, r, t[r]);
|
3598
3596
|
return e;
|
3599
|
-
},
|
3597
|
+
}, W = (e, t) => {
|
3600
3598
|
var r = {};
|
3601
3599
|
for (var n in e)
|
3602
|
-
|
3603
|
-
if (e != null &&
|
3604
|
-
for (var n of
|
3600
|
+
Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3601
|
+
if (e != null && ue)
|
3602
|
+
for (var n of ue(e))
|
3605
3603
|
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
3606
3604
|
return r;
|
3607
3605
|
};
|
3608
|
-
const
|
3609
|
-
const { formats: r } =
|
3606
|
+
const K = (e, t) => {
|
3607
|
+
const { formats: r } = k();
|
3610
3608
|
if (e in r && t in r[e])
|
3611
3609
|
return r[e][t];
|
3612
3610
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3613
|
-
}, Ln =
|
3611
|
+
}, Ln = me(
|
3614
3612
|
(e) => {
|
3615
|
-
var t = e, { locale: r, format: n } = t, i =
|
3613
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3616
3614
|
if (r == null)
|
3617
3615
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3618
|
-
return n && (i =
|
3616
|
+
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
3619
3617
|
}
|
3620
|
-
),
|
3618
|
+
), On = me(
|
3621
3619
|
(e) => {
|
3622
|
-
var t = e, { locale: r, format: n } = t, i =
|
3620
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3623
3621
|
if (r == null)
|
3624
3622
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3625
|
-
return n ? i =
|
3623
|
+
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
3626
3624
|
}
|
3627
|
-
),
|
3625
|
+
), In = me(
|
3628
3626
|
(e) => {
|
3629
|
-
var t = e, { locale: r, format: n } = t, i =
|
3627
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3630
3628
|
if (r == null)
|
3631
3629
|
throw new Error(
|
3632
3630
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3633
3631
|
);
|
3634
|
-
return n ? i =
|
3632
|
+
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
3635
3633
|
}
|
3636
3634
|
), Cn = (e = {}) => {
|
3637
3635
|
var t = e, {
|
3638
|
-
locale: r =
|
3639
|
-
} = t, n =
|
3636
|
+
locale: r = $()
|
3637
|
+
} = t, n = W(t, [
|
3640
3638
|
"locale"
|
3641
3639
|
]);
|
3642
|
-
return Ln(
|
3643
|
-
},
|
3640
|
+
return Ln(Ue({ locale: r }, n));
|
3641
|
+
}, $n = (e = {}) => {
|
3644
3642
|
var t = e, {
|
3645
|
-
locale: r =
|
3646
|
-
} = t, n =
|
3643
|
+
locale: r = $()
|
3644
|
+
} = t, n = W(t, [
|
3647
3645
|
"locale"
|
3648
3646
|
]);
|
3649
|
-
return
|
3650
|
-
},
|
3647
|
+
return On(Ue({ locale: r }, n));
|
3648
|
+
}, Mn = (e = {}) => {
|
3651
3649
|
var t = e, {
|
3652
|
-
locale: r =
|
3653
|
-
} = t, n =
|
3650
|
+
locale: r = $()
|
3651
|
+
} = t, n = W(t, [
|
3654
3652
|
"locale"
|
3655
3653
|
]);
|
3656
|
-
return
|
3657
|
-
},
|
3654
|
+
return In(Ue({ locale: r }, n));
|
3655
|
+
}, Rn = me(
|
3658
3656
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3659
|
-
(e, t =
|
3660
|
-
ignoreTag:
|
3657
|
+
(e, t = $()) => new ln(e, t, k().formats, {
|
3658
|
+
ignoreTag: k().ignoreTag
|
3661
3659
|
})
|
3662
|
-
),
|
3660
|
+
), Dn = (e, t = {}) => {
|
3663
3661
|
var r, n, i, s;
|
3664
3662
|
let u = t;
|
3665
3663
|
typeof e == "object" && (u = e, e = u.id);
|
3666
3664
|
const {
|
3667
3665
|
values: a,
|
3668
|
-
locale: l =
|
3666
|
+
locale: l = $(),
|
3669
3667
|
default: o
|
3670
3668
|
} = u;
|
3671
3669
|
if (l == null)
|
@@ -3674,7 +3672,7 @@ const ee = (e, t) => {
|
|
3674
3672
|
);
|
3675
3673
|
let h = Bt(e, l);
|
3676
3674
|
if (!h)
|
3677
|
-
h = (s = (i = (n = (r =
|
3675
|
+
h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
3678
3676
|
else if (typeof h != "string")
|
3679
3677
|
return console.warn(
|
3680
3678
|
`[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.`
|
@@ -3683,7 +3681,7 @@ const ee = (e, t) => {
|
|
3683
3681
|
return h;
|
3684
3682
|
let c = h;
|
3685
3683
|
try {
|
3686
|
-
c =
|
3684
|
+
c = Rn(h, l).format(a);
|
3687
3685
|
} catch (f) {
|
3688
3686
|
f instanceof Error && console.warn(
|
3689
3687
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3691,18 +3689,18 @@ const ee = (e, t) => {
|
|
3691
3689
|
);
|
3692
3690
|
}
|
3693
3691
|
return c;
|
3694
|
-
},
|
3695
|
-
|
3696
|
-
|
3697
|
-
|
3698
|
-
|
3699
|
-
function
|
3700
|
-
|
3701
|
-
}
|
3702
|
-
function
|
3703
|
-
|
3704
|
-
}
|
3705
|
-
const
|
3692
|
+
}, Un = (e, t) => Mn(t).format(e), Gn = (e, t) => $n(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = $()) => Bt(e, t), Vn = X([z, te], () => Dn);
|
3693
|
+
X([z], () => Un);
|
3694
|
+
X([z], () => Gn);
|
3695
|
+
X([z], () => Fn);
|
3696
|
+
X([z, te], () => jn);
|
3697
|
+
function tt(e, t) {
|
3698
|
+
Pt(e, t);
|
3699
|
+
}
|
3700
|
+
function kn(e) {
|
3701
|
+
z.set(e);
|
3702
|
+
}
|
3703
|
+
const rt = {
|
3706
3704
|
en: {
|
3707
3705
|
sorry: "We are sorry",
|
3708
3706
|
access: "The page you are trying to access is available for logged-in users only. Please login.",
|
@@ -3794,13 +3792,13 @@ const nt = {
|
|
3794
3792
|
login: "Login"
|
3795
3793
|
}
|
3796
3794
|
};
|
3797
|
-
function
|
3795
|
+
function Xn(e, t) {
|
3798
3796
|
if (e) {
|
3799
3797
|
const r = document.createElement("style");
|
3800
3798
|
r.innerHTML = t, e.appendChild(r);
|
3801
3799
|
}
|
3802
3800
|
}
|
3803
|
-
function
|
3801
|
+
function zn(e, t) {
|
3804
3802
|
const r = new URL(t);
|
3805
3803
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
3806
3804
|
const i = document.createElement("style");
|
@@ -3809,7 +3807,7 @@ function Wn(e, t) {
|
|
3809
3807
|
console.error("There was an error while trying to load client styling from URL", n);
|
3810
3808
|
});
|
3811
3809
|
}
|
3812
|
-
function
|
3810
|
+
function Wn(e, t, r) {
|
3813
3811
|
if (window.emMessageBus) {
|
3814
3812
|
const n = document.createElement("style");
|
3815
3813
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -3817,74 +3815,74 @@ function Zn(e, t, r) {
|
|
3817
3815
|
});
|
3818
3816
|
}
|
3819
3817
|
}
|
3820
|
-
function
|
3818
|
+
function Zn(e) {
|
3821
3819
|
Ct(e, "svelte-1v4ls7s", "*,*::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, #22B04E))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));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, #22B04E));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));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}}");
|
3822
3820
|
}
|
3823
|
-
function
|
3821
|
+
function qn(e) {
|
3824
3822
|
let t, r, n, i, s, u, a, l, o, h, c = (
|
3825
3823
|
/*$_*/
|
3826
3824
|
e[1]("sorry") + ""
|
3827
|
-
), f,
|
3825
|
+
), f, b, y, m = (
|
3828
3826
|
/*$_*/
|
3829
3827
|
e[1]("access") + ""
|
3830
|
-
),
|
3828
|
+
), v, S, B, H = (
|
3831
3829
|
/*$_*/
|
3832
3830
|
e[1]("login") + ""
|
3833
|
-
),
|
3831
|
+
), N, P, O;
|
3834
3832
|
return {
|
3835
3833
|
c() {
|
3836
|
-
t =
|
3834
|
+
t = I("div"), r = I("div"), n = M("svg"), i = M("g"), s = M("path"), u = M("path"), a = M("path"), l = M("path"), o = pe(), h = I("p"), f = ne(c), b = pe(), y = I("p"), v = ne(m), S = pe(), B = I("button"), N = ne(H), E(s, "class", "a"), E(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"), E(u, "class", "a"), E(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"), E(u, "transform", "translate(-116.772 -116.794)"), E(a, "class", "a"), E(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"), E(a, "transform", "translate(-250.22 -116.794)"), E(l, "class", "a"), E(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"), E(l, "transform", "translate(-109.326 -3.172)"), E(i, "transform", "translate(-9.37 -9.34)"), E(n, "xmlns", "http://www.w3.org/2000/svg"), E(n, "width", "130.345"), E(n, "height", "130.345"), E(n, "viewBox", "0 0 130.345 130.345"), E(h, "class", "PageTitle"), E(y, "class", "PageContent"), E(B, "class", "ButtonDefaultSmall"), E(r, "class", "NotFoundPage"), E(t, "class", "PageWrapper");
|
3837
3835
|
},
|
3838
|
-
m(w,
|
3839
|
-
|
3840
|
-
|
3836
|
+
m(w, Z) {
|
3837
|
+
ot(w, t, Z), _(t, r), _(r, n), _(n, i), _(i, s), _(i, u), _(i, a), _(i, l), _(r, o), _(r, h), _(h, f), _(r, b), _(r, y), _(y, v), _(r, S), _(r, B), _(B, N), e[9](t), P || (O = Rt(
|
3838
|
+
B,
|
3841
3839
|
"click",
|
3842
3840
|
/*click_handler*/
|
3843
3841
|
e[8]
|
3844
3842
|
), P = !0);
|
3845
3843
|
},
|
3846
|
-
p(w, [
|
3847
|
-
|
3844
|
+
p(w, [Z]) {
|
3845
|
+
Z & /*$_*/
|
3848
3846
|
2 && c !== (c = /*$_*/
|
3849
|
-
w[1]("sorry") + "") &&
|
3847
|
+
w[1]("sorry") + "") && ge(f, c), Z & /*$_*/
|
3850
3848
|
2 && m !== (m = /*$_*/
|
3851
|
-
w[1]("access") + "") &&
|
3849
|
+
w[1]("access") + "") && ge(v, m), Z & /*$_*/
|
3852
3850
|
2 && H !== (H = /*$_*/
|
3853
|
-
w[1]("login") + "") &&
|
3851
|
+
w[1]("login") + "") && ge(N, H);
|
3854
3852
|
},
|
3855
3853
|
i: A,
|
3856
3854
|
o: A,
|
3857
3855
|
d(w) {
|
3858
|
-
w &&
|
3856
|
+
w && Me(t), e[9](null), P = !1, O();
|
3859
3857
|
}
|
3860
3858
|
};
|
3861
3859
|
}
|
3862
|
-
function
|
3860
|
+
function Qn(e, t, r) {
|
3863
3861
|
let n;
|
3864
|
-
|
3862
|
+
It(e, Vn, (m) => r(1, n = m));
|
3865
3863
|
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, o;
|
3866
3864
|
const h = () => {
|
3867
|
-
fetch(a).then((
|
3868
|
-
Object.keys(
|
3869
|
-
|
3865
|
+
fetch(a).then((v) => v.json()).then((v) => {
|
3866
|
+
Object.keys(v).forEach((S) => {
|
3867
|
+
tt(S, v[S]);
|
3870
3868
|
});
|
3871
|
-
}).catch((
|
3872
|
-
console.log(
|
3869
|
+
}).catch((v) => {
|
3870
|
+
console.log(v);
|
3873
3871
|
});
|
3874
3872
|
};
|
3875
|
-
Object.keys(
|
3876
|
-
|
3873
|
+
Object.keys(rt).forEach((m) => {
|
3874
|
+
tt(m, rt[m]);
|
3877
3875
|
});
|
3878
3876
|
const c = () => {
|
3879
3877
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3880
3878
|
}, f = () => {
|
3881
|
-
|
3879
|
+
kn(i);
|
3882
3880
|
};
|
3883
|
-
|
3881
|
+
Ft(() => () => {
|
3884
3882
|
});
|
3885
|
-
const
|
3886
|
-
function
|
3887
|
-
|
3883
|
+
const b = () => c();
|
3884
|
+
function y(m) {
|
3885
|
+
He[m ? "unshift" : "push"](() => {
|
3888
3886
|
o = m, r(0, o);
|
3889
3887
|
});
|
3890
3888
|
}
|
@@ -3893,10 +3891,10 @@ function Jn(e, t, r) {
|
|
3893
3891
|
}, e.$$.update = () => {
|
3894
3892
|
e.$$.dirty & /*lang*/
|
3895
3893
|
8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3896
|
-
17 && s && o &&
|
3897
|
-
33 && u && o &&
|
3894
|
+
17 && s && o && Xn(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3895
|
+
33 && u && o && zn(o, u), e.$$.dirty & /*translationurl*/
|
3898
3896
|
64 && a && h(), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3899
|
-
129 && l && o &&
|
3897
|
+
129 && l && o && Wn(o, `${l}.Style`);
|
3900
3898
|
}, [
|
3901
3899
|
o,
|
3902
3900
|
n,
|
@@ -3906,18 +3904,18 @@ function Jn(e, t, r) {
|
|
3906
3904
|
u,
|
3907
3905
|
a,
|
3908
3906
|
l,
|
3909
|
-
|
3910
|
-
|
3907
|
+
b,
|
3908
|
+
y
|
3911
3909
|
];
|
3912
3910
|
}
|
3913
|
-
class
|
3911
|
+
class Jn extends Kt {
|
3914
3912
|
constructor(t) {
|
3915
|
-
super(),
|
3913
|
+
super(), Jt(
|
3916
3914
|
this,
|
3917
3915
|
t,
|
3918
|
-
Jn,
|
3919
3916
|
Qn,
|
3920
|
-
|
3917
|
+
qn,
|
3918
|
+
it,
|
3921
3919
|
{
|
3922
3920
|
lang: 3,
|
3923
3921
|
clientstyling: 4,
|
@@ -3925,7 +3923,7 @@ class Yn extends er {
|
|
3925
3923
|
translationurl: 6,
|
3926
3924
|
mbsource: 7
|
3927
3925
|
},
|
3928
|
-
|
3926
|
+
Zn
|
3929
3927
|
);
|
3930
3928
|
}
|
3931
3929
|
get lang() {
|
@@ -3959,7 +3957,7 @@ class Yn extends er {
|
|
3959
3957
|
this.$$set({ mbsource: t }), C();
|
3960
3958
|
}
|
3961
3959
|
}
|
3962
|
-
|
3960
|
+
Yt(Jn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3963
3961
|
export {
|
3964
|
-
|
3962
|
+
Jn as C
|
3965
3963
|
};
|