@everymatrix/casino-403 1.54.12 → 1.56.0
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-GcqBU6My.js → Casino403-B-ND_d1y.js} +597 -568
- package/components/{Casino403-Bzcam7OJ.js → Casino403-B90uxdT0.js} +632 -603
- package/components/Casino403-CpB081at.cjs +3 -0
- 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-fgCwrPVp.cjs +0 -3
@@ -6,16 +6,16 @@ function rt(e) {
|
|
6
6
|
function Ue() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
9
|
+
function ee(e) {
|
10
10
|
e.forEach(rt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function $e(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
15
|
function nt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Lt(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
21
|
function it(e, ...t) {
|
@@ -27,10 +27,10 @@ function it(e, ...t) {
|
|
27
27
|
const r = e.subscribe(...t);
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
29
|
}
|
30
|
-
function
|
30
|
+
function Ot(e, t, r) {
|
31
31
|
e.$$.on_destroy.push(it(t, r));
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function _(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
36
|
function It(e, t, r) {
|
@@ -50,7 +50,7 @@ function Ct(e) {
|
|
50
50
|
) : e.ownerDocument;
|
51
51
|
}
|
52
52
|
function $t(e, t) {
|
53
|
-
return
|
53
|
+
return _(
|
54
54
|
/** @type {Document} */
|
55
55
|
e.head || e,
|
56
56
|
t
|
@@ -59,20 +59,20 @@ function $t(e, t) {
|
|
59
59
|
function st(e, t, r) {
|
60
60
|
e.insertBefore(t, r || null);
|
61
61
|
}
|
62
|
-
function
|
62
|
+
function Me(e) {
|
63
63
|
e.parentNode && e.parentNode.removeChild(e);
|
64
64
|
}
|
65
65
|
function I(e) {
|
66
66
|
return document.createElement(e);
|
67
67
|
}
|
68
|
-
function
|
68
|
+
function M(e) {
|
69
69
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
70
70
|
}
|
71
|
-
function
|
71
|
+
function ne(e) {
|
72
72
|
return document.createTextNode(e);
|
73
73
|
}
|
74
|
-
function
|
75
|
-
return
|
74
|
+
function pe() {
|
75
|
+
return ne(" ");
|
76
76
|
}
|
77
77
|
function Mt(e, t, r, n) {
|
78
78
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
@@ -83,7 +83,7 @@ function v(e, t, r) {
|
|
83
83
|
function Rt(e) {
|
84
84
|
return Array.from(e.childNodes);
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function ge(e, t) {
|
87
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
88
88
|
t);
|
89
89
|
}
|
@@ -96,79 +96,86 @@ function Dt(e) {
|
|
96
96
|
}
|
97
97
|
), t;
|
98
98
|
}
|
99
|
-
let
|
99
|
+
let J;
|
100
100
|
function Q(e) {
|
101
|
-
|
101
|
+
J = e;
|
102
|
+
}
|
103
|
+
function Ut() {
|
104
|
+
if (!J) throw new Error("Function called outside component initialization");
|
105
|
+
return J;
|
106
|
+
}
|
107
|
+
function Gt(e) {
|
108
|
+
Ut().$$.on_mount.push(e);
|
102
109
|
}
|
103
|
-
const
|
110
|
+
const U = [], He = [];
|
104
111
|
let G = [];
|
105
|
-
const Ge = [],
|
106
|
-
let
|
107
|
-
function
|
108
|
-
|
112
|
+
const Ge = [], Ft = /* @__PURE__ */ Promise.resolve();
|
113
|
+
let Te = !1;
|
114
|
+
function jt() {
|
115
|
+
Te || (Te = !0, Ft.then(C));
|
109
116
|
}
|
110
|
-
function
|
117
|
+
function Be(e) {
|
111
118
|
G.push(e);
|
112
119
|
}
|
113
|
-
const
|
114
|
-
let
|
115
|
-
function
|
116
|
-
if (
|
120
|
+
const de = /* @__PURE__ */ new Set();
|
121
|
+
let R = 0;
|
122
|
+
function C() {
|
123
|
+
if (R !== 0)
|
117
124
|
return;
|
118
|
-
const e =
|
125
|
+
const e = J;
|
119
126
|
do {
|
120
127
|
try {
|
121
|
-
for (;
|
122
|
-
const t =
|
123
|
-
|
128
|
+
for (; R < U.length; ) {
|
129
|
+
const t = U[R];
|
130
|
+
R++, Q(t), Vt(t.$$);
|
124
131
|
}
|
125
132
|
} catch (t) {
|
126
|
-
throw
|
133
|
+
throw U.length = 0, R = 0, t;
|
127
134
|
}
|
128
|
-
for (Q(null),
|
135
|
+
for (Q(null), U.length = 0, R = 0; He.length; ) He.pop()();
|
129
136
|
for (let t = 0; t < G.length; t += 1) {
|
130
137
|
const r = G[t];
|
131
|
-
|
138
|
+
de.has(r) || (de.add(r), r());
|
132
139
|
}
|
133
140
|
G.length = 0;
|
134
|
-
} while (
|
141
|
+
} while (U.length);
|
135
142
|
for (; Ge.length; )
|
136
143
|
Ge.pop()();
|
137
|
-
|
144
|
+
Te = !1, de.clear(), Q(e);
|
138
145
|
}
|
139
|
-
function
|
146
|
+
function Vt(e) {
|
140
147
|
if (e.fragment !== null) {
|
141
|
-
e.update(),
|
148
|
+
e.update(), ee(e.before_update);
|
142
149
|
const t = e.dirty;
|
143
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
150
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
144
151
|
}
|
145
152
|
}
|
146
|
-
function
|
153
|
+
function kt(e) {
|
147
154
|
const t = [], r = [];
|
148
155
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
149
156
|
}
|
150
|
-
const
|
151
|
-
function
|
152
|
-
e && e.i && (
|
157
|
+
const Xt = /* @__PURE__ */ new Set();
|
158
|
+
function zt(e, t) {
|
159
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
153
160
|
}
|
154
|
-
function
|
161
|
+
function Wt(e, t, r) {
|
155
162
|
const { fragment: n, after_update: i } = e.$$;
|
156
|
-
n && n.m(t, r),
|
157
|
-
const s = e.$$.on_mount.map(rt).filter(
|
158
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
159
|
-
}), i.forEach(
|
163
|
+
n && n.m(t, r), Be(() => {
|
164
|
+
const s = e.$$.on_mount.map(rt).filter($e);
|
165
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
166
|
+
}), i.forEach(Be);
|
160
167
|
}
|
161
|
-
function
|
168
|
+
function Zt(e, t) {
|
162
169
|
const r = e.$$;
|
163
|
-
r.fragment !== null && (
|
170
|
+
r.fragment !== null && (kt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
164
171
|
}
|
165
|
-
function
|
166
|
-
e.$$.dirty[0] === -1 && (
|
172
|
+
function qt(e, t) {
|
173
|
+
e.$$.dirty[0] === -1 && (U.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
167
174
|
}
|
168
|
-
function
|
169
|
-
const l =
|
175
|
+
function Qt(e, t, r, n, i, s, u = null, a = [-1]) {
|
176
|
+
const l = J;
|
170
177
|
Q(e);
|
171
|
-
const
|
178
|
+
const o = e.$$ = {
|
172
179
|
fragment: null,
|
173
180
|
ctx: [],
|
174
181
|
// state
|
@@ -185,22 +192,22 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
185
192
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
186
193
|
// everything else
|
187
194
|
callbacks: Ue(),
|
188
|
-
dirty:
|
195
|
+
dirty: a,
|
189
196
|
skip_bound: !1,
|
190
197
|
root: t.target || l.$$.root
|
191
198
|
};
|
192
|
-
|
199
|
+
u && u(o.root);
|
193
200
|
let h = !1;
|
194
|
-
if (
|
201
|
+
if (o.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
195
202
|
const y = b.length ? b[0] : f;
|
196
|
-
return
|
197
|
-
}) : [],
|
203
|
+
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;
|
204
|
+
}) : [], o.update(), h = !0, ee(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
|
198
205
|
if (t.hydrate) {
|
199
206
|
const c = Rt(t.target);
|
200
|
-
|
207
|
+
o.fragment && o.fragment.l(c), c.forEach(Me);
|
201
208
|
} else
|
202
|
-
|
203
|
-
t.intro &&
|
209
|
+
o.fragment && o.fragment.c();
|
210
|
+
t.intro && zt(e.$$.fragment), Wt(e, t.target, t.anchor), C();
|
204
211
|
}
|
205
212
|
Q(l);
|
206
213
|
}
|
@@ -253,11 +260,11 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
253
260
|
* @param {HTMLElement} target
|
254
261
|
* @param {HTMLElement} [anchor]
|
255
262
|
*/
|
256
|
-
m: function(l,
|
257
|
-
st(l, s,
|
263
|
+
m: function(l, o) {
|
264
|
+
st(l, s, o);
|
258
265
|
},
|
259
266
|
d: function(l) {
|
260
|
-
l &&
|
267
|
+
l && Me(s);
|
261
268
|
}
|
262
269
|
};
|
263
270
|
};
|
@@ -269,7 +276,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
269
276
|
i in r && (t[i] = [e(i)]);
|
270
277
|
for (const i of this.attributes) {
|
271
278
|
const s = this.$$g_p(i.name);
|
272
|
-
s in this.$$d || (this.$$d[s] =
|
279
|
+
s in this.$$d || (this.$$d[s] = ie(s, i.value, this.$$p_d, "toProp"));
|
273
280
|
}
|
274
281
|
for (const i in this.$$p_d)
|
275
282
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -287,7 +294,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
287
294
|
this.$$r = !0;
|
288
295
|
for (const i in this.$$p_d)
|
289
296
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
290
|
-
const s =
|
297
|
+
const s = ie(
|
291
298
|
i,
|
292
299
|
this.$$d[i],
|
293
300
|
this.$$p_d,
|
@@ -300,8 +307,8 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
300
307
|
this.$$c.$$.after_update.push(n), n();
|
301
308
|
for (const i in this.$$l)
|
302
309
|
for (const s of this.$$l[i]) {
|
303
|
-
const
|
304
|
-
this.$$l_u.set(s,
|
310
|
+
const u = this.$$c.$on(i, s);
|
311
|
+
this.$$l_u.set(s, u);
|
305
312
|
}
|
306
313
|
this.$$l = {};
|
307
314
|
}
|
@@ -309,7 +316,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
309
316
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
310
317
|
// and setting attributes through setAttribute etc, this is helpful
|
311
318
|
attributeChangedCallback(e, t, r) {
|
312
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
319
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
313
320
|
}
|
314
321
|
disconnectedCallback() {
|
315
322
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -322,7 +329,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
322
329
|
) || e;
|
323
330
|
}
|
324
331
|
});
|
325
|
-
function
|
332
|
+
function ie(e, t, r, n) {
|
326
333
|
const i = r[e]?.type;
|
327
334
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
328
335
|
return t;
|
@@ -351,36 +358,36 @@ function ne(e, t, r, n) {
|
|
351
358
|
return t;
|
352
359
|
}
|
353
360
|
}
|
354
|
-
function
|
355
|
-
let
|
361
|
+
function Jt(e, t, r, n, i, s) {
|
362
|
+
let u = class extends ot {
|
356
363
|
constructor() {
|
357
364
|
super(e, r, i), this.$$p_d = t;
|
358
365
|
}
|
359
366
|
static get observedAttributes() {
|
360
367
|
return Object.keys(t).map(
|
361
|
-
(
|
368
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
362
369
|
);
|
363
370
|
}
|
364
371
|
};
|
365
|
-
return Object.keys(t).forEach((
|
366
|
-
Object.defineProperty(
|
372
|
+
return Object.keys(t).forEach((a) => {
|
373
|
+
Object.defineProperty(u.prototype, a, {
|
367
374
|
get() {
|
368
|
-
return this.$$c &&
|
375
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
369
376
|
},
|
370
377
|
set(l) {
|
371
|
-
l =
|
378
|
+
l = ie(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
372
379
|
}
|
373
380
|
});
|
374
|
-
}), n.forEach((
|
375
|
-
Object.defineProperty(
|
381
|
+
}), n.forEach((a) => {
|
382
|
+
Object.defineProperty(u.prototype, a, {
|
376
383
|
get() {
|
377
|
-
return this.$$c?.[
|
384
|
+
return this.$$c?.[a];
|
378
385
|
}
|
379
386
|
});
|
380
387
|
}), e.element = /** @type {any} */
|
381
|
-
|
388
|
+
u, u;
|
382
389
|
}
|
383
|
-
class
|
390
|
+
class Yt {
|
384
391
|
/**
|
385
392
|
* ### PRIVATE API
|
386
393
|
*
|
@@ -399,7 +406,7 @@ class Qt {
|
|
399
406
|
$$set = void 0;
|
400
407
|
/** @returns {void} */
|
401
408
|
$destroy() {
|
402
|
-
|
409
|
+
Zt(this, 1), this.$destroy = A;
|
403
410
|
}
|
404
411
|
/**
|
405
412
|
* @template {Extract<keyof Events, string>} K
|
@@ -408,7 +415,7 @@ class Qt {
|
|
408
415
|
* @returns {() => void}
|
409
416
|
*/
|
410
417
|
$on(t, r) {
|
411
|
-
if (
|
418
|
+
if (!$e(r))
|
412
419
|
return A;
|
413
420
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
414
421
|
return n.push(r), () => {
|
@@ -421,115 +428,115 @@ class Qt {
|
|
421
428
|
* @returns {void}
|
422
429
|
*/
|
423
430
|
$set(t) {
|
424
|
-
this.$$set && !
|
431
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
425
432
|
}
|
426
433
|
}
|
427
|
-
const
|
428
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
429
|
-
const
|
430
|
-
function
|
434
|
+
const Kt = "4";
|
435
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
436
|
+
const D = [];
|
437
|
+
function er(e, t) {
|
431
438
|
return {
|
432
|
-
subscribe:
|
439
|
+
subscribe: he(e, t).subscribe
|
433
440
|
};
|
434
441
|
}
|
435
|
-
function
|
442
|
+
function he(e, t = A) {
|
436
443
|
let r;
|
437
444
|
const n = /* @__PURE__ */ new Set();
|
438
|
-
function i(
|
439
|
-
if (nt(e,
|
440
|
-
const l = !
|
441
|
-
for (const
|
442
|
-
|
445
|
+
function i(a) {
|
446
|
+
if (nt(e, a) && (e = a, r)) {
|
447
|
+
const l = !D.length;
|
448
|
+
for (const o of n)
|
449
|
+
o[1](), D.push(o, e);
|
443
450
|
if (l) {
|
444
|
-
for (let
|
445
|
-
|
446
|
-
|
451
|
+
for (let o = 0; o < D.length; o += 2)
|
452
|
+
D[o][0](D[o + 1]);
|
453
|
+
D.length = 0;
|
447
454
|
}
|
448
455
|
}
|
449
456
|
}
|
450
|
-
function s(
|
451
|
-
i(
|
457
|
+
function s(a) {
|
458
|
+
i(a(e));
|
452
459
|
}
|
453
|
-
function a
|
454
|
-
const
|
455
|
-
return n.add(
|
456
|
-
n.delete(
|
460
|
+
function u(a, l = A) {
|
461
|
+
const o = [a, l];
|
462
|
+
return n.add(o), n.size === 1 && (r = t(i, s) || A), a(e), () => {
|
463
|
+
n.delete(o), n.size === 0 && r && (r(), r = null);
|
457
464
|
};
|
458
465
|
}
|
459
|
-
return { set: i, update: s, subscribe:
|
466
|
+
return { set: i, update: s, subscribe: u };
|
460
467
|
}
|
461
468
|
function X(e, t, r) {
|
462
469
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
463
470
|
if (!i.every(Boolean))
|
464
471
|
throw new Error("derived() expects stores as input, got a falsy value");
|
465
472
|
const s = t.length < 2;
|
466
|
-
return
|
473
|
+
return er(r, (u, a) => {
|
467
474
|
let l = !1;
|
468
|
-
const
|
475
|
+
const o = [];
|
469
476
|
let h = 0, c = A;
|
470
477
|
const f = () => {
|
471
478
|
if (h)
|
472
479
|
return;
|
473
480
|
c();
|
474
|
-
const y = t(n ?
|
475
|
-
s ?
|
481
|
+
const y = t(n ? o[0] : o, u, a);
|
482
|
+
s ? u(y) : c = $e(y) ? y : A;
|
476
483
|
}, b = i.map(
|
477
|
-
(y,
|
484
|
+
(y, m) => it(
|
478
485
|
y,
|
479
|
-
(
|
480
|
-
|
486
|
+
(E) => {
|
487
|
+
o[m] = E, h &= ~(1 << m), l && f();
|
481
488
|
},
|
482
489
|
() => {
|
483
|
-
h |= 1 <<
|
490
|
+
h |= 1 << m;
|
484
491
|
}
|
485
492
|
)
|
486
493
|
);
|
487
494
|
return l = !0, f(), function() {
|
488
|
-
|
495
|
+
ee(b), c(), l = !1;
|
489
496
|
};
|
490
497
|
});
|
491
498
|
}
|
492
|
-
function
|
499
|
+
function tr(e) {
|
493
500
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
494
501
|
}
|
495
|
-
var
|
496
|
-
return
|
502
|
+
var rr = function(t) {
|
503
|
+
return nr(t) && !ir(t);
|
497
504
|
};
|
498
|
-
function
|
505
|
+
function nr(e) {
|
499
506
|
return !!e && typeof e == "object";
|
500
507
|
}
|
501
|
-
function
|
508
|
+
function ir(e) {
|
502
509
|
var t = Object.prototype.toString.call(e);
|
503
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
510
|
+
return t === "[object RegExp]" || t === "[object Date]" || ar(e);
|
504
511
|
}
|
505
|
-
var
|
506
|
-
function
|
507
|
-
return e.$$typeof ===
|
512
|
+
var sr = typeof Symbol == "function" && Symbol.for, or = sr ? Symbol.for("react.element") : 60103;
|
513
|
+
function ar(e) {
|
514
|
+
return e.$$typeof === or;
|
508
515
|
}
|
509
|
-
function
|
516
|
+
function ur(e) {
|
510
517
|
return Array.isArray(e) ? [] : {};
|
511
518
|
}
|
512
|
-
function
|
513
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
519
|
+
function Y(e, t) {
|
520
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
514
521
|
}
|
515
|
-
function
|
522
|
+
function hr(e, t, r) {
|
516
523
|
return e.concat(t).map(function(n) {
|
517
|
-
return
|
524
|
+
return Y(n, r);
|
518
525
|
});
|
519
526
|
}
|
520
|
-
function
|
527
|
+
function lr(e, t) {
|
521
528
|
if (!t.customMerge)
|
522
529
|
return F;
|
523
530
|
var r = t.customMerge(e);
|
524
531
|
return typeof r == "function" ? r : F;
|
525
532
|
}
|
526
|
-
function
|
533
|
+
function cr(e) {
|
527
534
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
528
535
|
return Object.propertyIsEnumerable.call(e, t);
|
529
536
|
}) : [];
|
530
537
|
}
|
531
538
|
function Fe(e) {
|
532
|
-
return Object.keys(e).concat(
|
539
|
+
return Object.keys(e).concat(cr(e));
|
533
540
|
}
|
534
541
|
function at(e, t) {
|
535
542
|
try {
|
@@ -538,21 +545,21 @@ function at(e, t) {
|
|
538
545
|
return !1;
|
539
546
|
}
|
540
547
|
}
|
541
|
-
function
|
548
|
+
function fr(e, t) {
|
542
549
|
return at(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
543
550
|
}
|
544
|
-
function
|
551
|
+
function mr(e, t, r) {
|
545
552
|
var n = {};
|
546
553
|
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
547
|
-
n[i] =
|
554
|
+
n[i] = Y(e[i], r);
|
548
555
|
}), Fe(t).forEach(function(i) {
|
549
|
-
|
556
|
+
fr(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
550
557
|
}), n;
|
551
558
|
}
|
552
559
|
function F(e, t, r) {
|
553
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
560
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
554
561
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
555
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
562
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
556
563
|
}
|
557
564
|
F.all = function(t, r) {
|
558
565
|
if (!Array.isArray(t))
|
@@ -561,19 +568,19 @@ F.all = function(t, r) {
|
|
561
568
|
return F(n, i, r);
|
562
569
|
}, {});
|
563
570
|
};
|
564
|
-
var
|
565
|
-
const
|
566
|
-
var
|
567
|
-
return
|
571
|
+
var pr = F, gr = pr;
|
572
|
+
const dr = /* @__PURE__ */ tr(gr);
|
573
|
+
var Se = function(e, t) {
|
574
|
+
return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
568
575
|
r.__proto__ = n;
|
569
576
|
} || function(r, n) {
|
570
577
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
571
|
-
},
|
578
|
+
}, Se(e, t);
|
572
579
|
};
|
573
|
-
function
|
580
|
+
function le(e, t) {
|
574
581
|
if (typeof t != "function" && t !== null)
|
575
582
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
576
|
-
|
583
|
+
Se(e, t);
|
577
584
|
function r() {
|
578
585
|
this.constructor = e;
|
579
586
|
}
|
@@ -588,7 +595,7 @@ var d = function() {
|
|
588
595
|
return t;
|
589
596
|
}, d.apply(this, arguments);
|
590
597
|
};
|
591
|
-
function
|
598
|
+
function br(e, t) {
|
592
599
|
var r = {};
|
593
600
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
594
601
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -596,23 +603,23 @@ function gr(e, t) {
|
|
596
603
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
597
604
|
return r;
|
598
605
|
}
|
599
|
-
function
|
606
|
+
function be(e, t, r) {
|
600
607
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
601
608
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
602
609
|
return e.concat(s || Array.prototype.slice.call(t));
|
603
610
|
}
|
604
|
-
function
|
605
|
-
var r = t && t.cache ? t.cache :
|
611
|
+
function ye(e, t) {
|
612
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : vr;
|
606
613
|
return i(e, {
|
607
614
|
cache: r,
|
608
615
|
serializer: n
|
609
616
|
});
|
610
617
|
}
|
611
|
-
function
|
618
|
+
function yr(e) {
|
612
619
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
613
620
|
}
|
614
|
-
function
|
615
|
-
var i =
|
621
|
+
function xr(e, t, r, n) {
|
622
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
616
623
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
617
624
|
}
|
618
625
|
function ut(e, t, r) {
|
@@ -622,16 +629,16 @@ function ut(e, t, r) {
|
|
622
629
|
function ht(e, t, r, n, i) {
|
623
630
|
return r.bind(t, e, n, i);
|
624
631
|
}
|
625
|
-
function
|
626
|
-
var r = e.length === 1 ?
|
632
|
+
function vr(e, t) {
|
633
|
+
var r = e.length === 1 ? xr : ut;
|
627
634
|
return ht(e, this, r, t.cache.create(), t.serializer);
|
628
635
|
}
|
629
|
-
function
|
636
|
+
function Er(e, t) {
|
630
637
|
return ht(e, this, ut, t.cache.create(), t.serializer);
|
631
638
|
}
|
632
|
-
var
|
639
|
+
var _r = function() {
|
633
640
|
return JSON.stringify(arguments);
|
634
|
-
},
|
641
|
+
}, Hr = (
|
635
642
|
/** @class */
|
636
643
|
function() {
|
637
644
|
function e() {
|
@@ -643,12 +650,12 @@ var vr = function() {
|
|
643
650
|
this.cache[t] = r;
|
644
651
|
}, e;
|
645
652
|
}()
|
646
|
-
),
|
653
|
+
), Tr = {
|
647
654
|
create: function() {
|
648
|
-
return new
|
655
|
+
return new Hr();
|
649
656
|
}
|
650
|
-
},
|
651
|
-
variadic:
|
657
|
+
}, xe = {
|
658
|
+
variadic: Er
|
652
659
|
}, p;
|
653
660
|
(function(e) {
|
654
661
|
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";
|
@@ -664,7 +671,7 @@ var j;
|
|
664
671
|
function je(e) {
|
665
672
|
return e.type === x.literal;
|
666
673
|
}
|
667
|
-
function
|
674
|
+
function Br(e) {
|
668
675
|
return e.type === x.argument;
|
669
676
|
}
|
670
677
|
function lt(e) {
|
@@ -682,7 +689,7 @@ function mt(e) {
|
|
682
689
|
function pt(e) {
|
683
690
|
return e.type === x.plural;
|
684
691
|
}
|
685
|
-
function
|
692
|
+
function Sr(e) {
|
686
693
|
return e.type === x.pound;
|
687
694
|
}
|
688
695
|
function gt(e) {
|
@@ -691,13 +698,13 @@ function gt(e) {
|
|
691
698
|
function dt(e) {
|
692
699
|
return !!(e && typeof e == "object" && e.type === j.number);
|
693
700
|
}
|
694
|
-
function
|
701
|
+
function Pe(e) {
|
695
702
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
696
703
|
}
|
697
|
-
var bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
698
|
-
function
|
704
|
+
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;
|
705
|
+
function Ar(e) {
|
699
706
|
var t = {};
|
700
|
-
return e.replace(
|
707
|
+
return e.replace(Pr, function(r) {
|
701
708
|
var n = r.length;
|
702
709
|
switch (r[0]) {
|
703
710
|
case "G":
|
@@ -786,29 +793,29 @@ function Sr(e) {
|
|
786
793
|
return "";
|
787
794
|
}), t;
|
788
795
|
}
|
789
|
-
var
|
790
|
-
function
|
796
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
797
|
+
function Nr(e) {
|
791
798
|
if (e.length === 0)
|
792
799
|
throw new Error("Number skeleton cannot be empty");
|
793
|
-
for (var t = e.split(
|
800
|
+
for (var t = e.split(wr).filter(function(f) {
|
794
801
|
return f.length > 0;
|
795
802
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
796
|
-
var s = i[n],
|
797
|
-
if (
|
803
|
+
var s = i[n], u = s.split("/");
|
804
|
+
if (u.length === 0)
|
798
805
|
throw new Error("Invalid number skeleton");
|
799
|
-
for (var
|
800
|
-
var c = h[
|
806
|
+
for (var a = u[0], l = u.slice(1), o = 0, h = l; o < h.length; o++) {
|
807
|
+
var c = h[o];
|
801
808
|
if (c.length === 0)
|
802
809
|
throw new Error("Invalid number skeleton");
|
803
810
|
}
|
804
|
-
r.push({ stem:
|
811
|
+
r.push({ stem: a, options: l });
|
805
812
|
}
|
806
813
|
return r;
|
807
814
|
}
|
808
|
-
function
|
815
|
+
function Lr(e) {
|
809
816
|
return e.replace(/^(.*?)-/, "");
|
810
817
|
}
|
811
|
-
var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yt = /^(@+)?(\+|#+)?[rs]?$/g,
|
818
|
+
var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
|
812
819
|
function ke(e) {
|
813
820
|
var t = {};
|
814
821
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yt, function(r, n, i) {
|
@@ -855,7 +862,7 @@ function vt(e) {
|
|
855
862
|
};
|
856
863
|
}
|
857
864
|
}
|
858
|
-
function
|
865
|
+
function Ir(e) {
|
859
866
|
var t;
|
860
867
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
861
868
|
notation: "engineering"
|
@@ -873,7 +880,7 @@ function Xe(e) {
|
|
873
880
|
var t = {}, r = vt(e);
|
874
881
|
return r || t;
|
875
882
|
}
|
876
|
-
function
|
883
|
+
function Cr(e) {
|
877
884
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
878
885
|
var i = n[r];
|
879
886
|
switch (i.stem) {
|
@@ -897,7 +904,7 @@ function Lr(e) {
|
|
897
904
|
continue;
|
898
905
|
case "measure-unit":
|
899
906
|
case "unit":
|
900
|
-
t.style = "unit", t.unit =
|
907
|
+
t.style = "unit", t.unit = Lr(i.options[0]);
|
901
908
|
continue;
|
902
909
|
case "compact-short":
|
903
910
|
case "K":
|
@@ -908,13 +915,13 @@ function Lr(e) {
|
|
908
915
|
t.notation = "compact", t.compactDisplay = "long";
|
909
916
|
continue;
|
910
917
|
case "scientific":
|
911
|
-
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
912
|
-
return d(d({}, l), Xe(
|
918
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
919
|
+
return d(d({}, l), Xe(o));
|
913
920
|
}, {}));
|
914
921
|
continue;
|
915
922
|
case "engineering":
|
916
|
-
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
917
|
-
return d(d({}, l), Xe(
|
923
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
924
|
+
return d(d({}, l), Xe(o));
|
918
925
|
}, {}));
|
919
926
|
continue;
|
920
927
|
case "notation-simple":
|
@@ -959,8 +966,8 @@ function Lr(e) {
|
|
959
966
|
case "integer-width":
|
960
967
|
if (i.options.length > 1)
|
961
968
|
throw new RangeError("integer-width stems only accept a single optional option");
|
962
|
-
i.options[0].replace(
|
963
|
-
if (
|
969
|
+
i.options[0].replace(Or, function(l, o, h, c, f, b) {
|
970
|
+
if (o)
|
964
971
|
t.minimumIntegerDigits = h.length;
|
965
972
|
else {
|
966
973
|
if (c && f)
|
@@ -979,8 +986,8 @@ function Lr(e) {
|
|
979
986
|
if (Ve.test(i.stem)) {
|
980
987
|
if (i.options.length > 1)
|
981
988
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
982
|
-
i.stem.replace(Ve, function(l,
|
983
|
-
return h === "*" ? t.minimumFractionDigits =
|
989
|
+
i.stem.replace(Ve, function(l, o, h, c, f, b) {
|
990
|
+
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), "";
|
984
991
|
});
|
985
992
|
var s = i.options[0];
|
986
993
|
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ke(s)));
|
@@ -990,14 +997,14 @@ function Lr(e) {
|
|
990
997
|
t = d(d({}, t), ke(i.stem));
|
991
998
|
continue;
|
992
999
|
}
|
993
|
-
var
|
1000
|
+
var u = vt(i.stem);
|
1001
|
+
u && (t = d(d({}, t), u));
|
1002
|
+
var a = Ir(i.stem);
|
994
1003
|
a && (t = d(d({}, t), a));
|
995
|
-
var o = Or(i.stem);
|
996
|
-
o && (t = d(d({}, t), o));
|
997
1004
|
}
|
998
1005
|
return t;
|
999
1006
|
}
|
1000
|
-
var
|
1007
|
+
var re = {
|
1001
1008
|
"001": [
|
1002
1009
|
"H",
|
1003
1010
|
"h"
|
@@ -2412,22 +2419,22 @@ var te = {
|
|
2412
2419
|
"h"
|
2413
2420
|
]
|
2414
2421
|
};
|
2415
|
-
function
|
2422
|
+
function $r(e, t) {
|
2416
2423
|
for (var r = "", n = 0; n < e.length; n++) {
|
2417
2424
|
var i = e.charAt(n);
|
2418
2425
|
if (i === "j") {
|
2419
2426
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2420
2427
|
s++, n++;
|
2421
|
-
var
|
2422
|
-
for ((
|
2428
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Mr(t);
|
2429
|
+
for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
|
2423
2430
|
r += l;
|
2424
|
-
for (;
|
2425
|
-
r =
|
2431
|
+
for (; u-- > 0; )
|
2432
|
+
r = o + r;
|
2426
2433
|
} else i === "J" ? r += "H" : r += i;
|
2427
2434
|
}
|
2428
2435
|
return r;
|
2429
2436
|
}
|
2430
|
-
function
|
2437
|
+
function Mr(e) {
|
2431
2438
|
var t = e.hourCycle;
|
2432
2439
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2433
2440
|
e.hourCycles && // @ts-ignore
|
@@ -2446,23 +2453,23 @@ function Cr(e) {
|
|
2446
2453
|
}
|
2447
2454
|
var r = e.language, n;
|
2448
2455
|
r !== "root" && (n = e.maximize().region);
|
2449
|
-
var i =
|
2456
|
+
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
2450
2457
|
return i[0];
|
2451
2458
|
}
|
2452
|
-
var
|
2459
|
+
var ve, Rr = new RegExp("^".concat(bt.source, "*")), Dr = new RegExp("".concat(bt.source, "*$"));
|
2453
2460
|
function g(e, t) {
|
2454
2461
|
return { start: e, end: t };
|
2455
2462
|
}
|
2456
|
-
var
|
2463
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
|
2457
2464
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2458
|
-
},
|
2465
|
+
}, Ae = !0;
|
2459
2466
|
try {
|
2460
|
-
var
|
2461
|
-
|
2467
|
+
var Wr = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2468
|
+
Ae = ((ve = Wr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
2462
2469
|
} catch {
|
2463
|
-
|
2470
|
+
Ae = !1;
|
2464
2471
|
}
|
2465
|
-
var ze =
|
2472
|
+
var ze = Ur ? (
|
2466
2473
|
// Native
|
2467
2474
|
function(t, r, n) {
|
2468
2475
|
return t.startsWith(r, n);
|
@@ -2472,31 +2479,31 @@ var ze = Rr ? (
|
|
2472
2479
|
function(t, r, n) {
|
2473
2480
|
return t.slice(n, n + r.length) === r;
|
2474
2481
|
}
|
2475
|
-
),
|
2482
|
+
), we = Gr ? String.fromCodePoint : (
|
2476
2483
|
// IE11
|
2477
2484
|
function() {
|
2478
2485
|
for (var t = [], r = 0; r < arguments.length; r++)
|
2479
2486
|
t[r] = arguments[r];
|
2480
|
-
for (var n = "", i = t.length, s = 0,
|
2481
|
-
if (
|
2482
|
-
throw RangeError(
|
2483
|
-
n +=
|
2487
|
+
for (var n = "", i = t.length, s = 0, u; i > s; ) {
|
2488
|
+
if (u = t[s++], u > 1114111)
|
2489
|
+
throw RangeError(u + " is not a valid code point");
|
2490
|
+
n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
|
2484
2491
|
}
|
2485
2492
|
return n;
|
2486
2493
|
}
|
2487
2494
|
), We = (
|
2488
2495
|
// native
|
2489
|
-
|
2496
|
+
Fr ? Object.fromEntries : (
|
2490
2497
|
// Ponyfill
|
2491
2498
|
function(t) {
|
2492
2499
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2493
|
-
var s = i[n],
|
2494
|
-
r[
|
2500
|
+
var s = i[n], u = s[0], a = s[1];
|
2501
|
+
r[u] = a;
|
2495
2502
|
}
|
2496
2503
|
return r;
|
2497
2504
|
}
|
2498
2505
|
)
|
2499
|
-
), Et =
|
2506
|
+
), Et = jr ? (
|
2500
2507
|
// Native
|
2501
2508
|
function(t, r) {
|
2502
2509
|
return t.codePointAt(r);
|
@@ -2510,7 +2517,7 @@ var ze = Rr ? (
|
|
2510
2517
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2511
2518
|
}
|
2512
2519
|
}
|
2513
|
-
),
|
2520
|
+
), Zr = Vr ? (
|
2514
2521
|
// Native
|
2515
2522
|
function(t) {
|
2516
2523
|
return t.trimStart();
|
@@ -2518,9 +2525,9 @@ var ze = Rr ? (
|
|
2518
2525
|
) : (
|
2519
2526
|
// Ponyfill
|
2520
2527
|
function(t) {
|
2521
|
-
return t.replace(
|
2528
|
+
return t.replace(Rr, "");
|
2522
2529
|
}
|
2523
|
-
),
|
2530
|
+
), qr = kr ? (
|
2524
2531
|
// Native
|
2525
2532
|
function(t) {
|
2526
2533
|
return t.trimEnd();
|
@@ -2528,32 +2535,32 @@ var ze = Rr ? (
|
|
2528
2535
|
) : (
|
2529
2536
|
// Ponyfill
|
2530
2537
|
function(t) {
|
2531
|
-
return t.replace(
|
2538
|
+
return t.replace(Dr, "");
|
2532
2539
|
}
|
2533
2540
|
);
|
2534
2541
|
function _t(e, t) {
|
2535
2542
|
return new RegExp(e, t);
|
2536
2543
|
}
|
2537
|
-
var
|
2538
|
-
if (
|
2544
|
+
var Ne;
|
2545
|
+
if (Ae) {
|
2539
2546
|
var Ze = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2540
|
-
|
2547
|
+
Ne = function(t, r) {
|
2541
2548
|
var n;
|
2542
2549
|
Ze.lastIndex = r;
|
2543
2550
|
var i = Ze.exec(t);
|
2544
2551
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2545
2552
|
};
|
2546
2553
|
} else
|
2547
|
-
|
2554
|
+
Ne = function(t, r) {
|
2548
2555
|
for (var n = []; ; ) {
|
2549
2556
|
var i = Et(t, r);
|
2550
|
-
if (i === void 0 || Ht(i) ||
|
2557
|
+
if (i === void 0 || Ht(i) || Kr(i))
|
2551
2558
|
break;
|
2552
2559
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2553
2560
|
}
|
2554
|
-
return
|
2561
|
+
return we.apply(void 0, n);
|
2555
2562
|
};
|
2556
|
-
var
|
2563
|
+
var Qr = (
|
2557
2564
|
/** @class */
|
2558
2565
|
function() {
|
2559
2566
|
function e(t, r) {
|
@@ -2567,33 +2574,33 @@ var Zr = (
|
|
2567
2574
|
for (var i = []; !this.isEOF(); ) {
|
2568
2575
|
var s = this.char();
|
2569
2576
|
if (s === 123) {
|
2570
|
-
var
|
2571
|
-
if (
|
2572
|
-
return
|
2573
|
-
i.push(
|
2577
|
+
var u = this.parseArgument(t, n);
|
2578
|
+
if (u.err)
|
2579
|
+
return u;
|
2580
|
+
i.push(u.val);
|
2574
2581
|
} else {
|
2575
2582
|
if (s === 125 && t > 0)
|
2576
2583
|
break;
|
2577
2584
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2578
|
-
var
|
2585
|
+
var a = this.clonePosition();
|
2579
2586
|
this.bump(), i.push({
|
2580
2587
|
type: x.pound,
|
2581
|
-
location: g(
|
2588
|
+
location: g(a, this.clonePosition())
|
2582
2589
|
});
|
2583
2590
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2584
2591
|
if (n)
|
2585
2592
|
break;
|
2586
2593
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2587
|
-
} else if (s === 60 && !this.ignoreTag &&
|
2588
|
-
var
|
2589
|
-
if (
|
2590
|
-
return
|
2591
|
-
i.push(
|
2594
|
+
} else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
|
2595
|
+
var u = this.parseTag(t, r);
|
2596
|
+
if (u.err)
|
2597
|
+
return u;
|
2598
|
+
i.push(u.val);
|
2592
2599
|
} else {
|
2593
|
-
var
|
2594
|
-
if (
|
2595
|
-
return
|
2596
|
-
i.push(
|
2600
|
+
var u = this.parseLiteral(t, r);
|
2601
|
+
if (u.err)
|
2602
|
+
return u;
|
2603
|
+
i.push(u.val);
|
2597
2604
|
}
|
2598
2605
|
}
|
2599
2606
|
}
|
@@ -2615,27 +2622,27 @@ var Zr = (
|
|
2615
2622
|
var s = this.parseMessage(t + 1, r, !0);
|
2616
2623
|
if (s.err)
|
2617
2624
|
return s;
|
2618
|
-
var
|
2625
|
+
var u = s.val, a = this.clonePosition();
|
2619
2626
|
if (this.bumpIf("</")) {
|
2620
|
-
if (this.isEOF() || !
|
2621
|
-
return this.error(p.INVALID_TAG, g(
|
2622
|
-
var l = this.clonePosition(),
|
2623
|
-
return i !==
|
2627
|
+
if (this.isEOF() || !Le(this.char()))
|
2628
|
+
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
2629
|
+
var l = this.clonePosition(), o = this.parseTagName();
|
2630
|
+
return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2624
2631
|
val: {
|
2625
2632
|
type: x.tag,
|
2626
2633
|
value: i,
|
2627
|
-
children:
|
2634
|
+
children: u,
|
2628
2635
|
location: g(n, this.clonePosition())
|
2629
2636
|
},
|
2630
2637
|
err: null
|
2631
|
-
} : this.error(p.INVALID_TAG, g(
|
2638
|
+
} : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
|
2632
2639
|
} else
|
2633
2640
|
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
2634
2641
|
} else
|
2635
2642
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2636
2643
|
}, e.prototype.parseTagName = function() {
|
2637
2644
|
var t = this.offset();
|
2638
|
-
for (this.bump(); !this.isEOF() &&
|
2645
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
2639
2646
|
this.bump();
|
2640
2647
|
return this.message.slice(t, this.offset());
|
2641
2648
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2645,14 +2652,14 @@ var Zr = (
|
|
2645
2652
|
i += s;
|
2646
2653
|
continue;
|
2647
2654
|
}
|
2648
|
-
var
|
2649
|
-
if (
|
2650
|
-
i +=
|
2655
|
+
var u = this.tryParseUnquoted(t, r);
|
2656
|
+
if (u) {
|
2657
|
+
i += u;
|
2651
2658
|
continue;
|
2652
2659
|
}
|
2653
|
-
var
|
2654
|
-
if (
|
2655
|
-
i +=
|
2660
|
+
var a = this.tryParseLeftAngleBracket();
|
2661
|
+
if (a) {
|
2662
|
+
i += a;
|
2656
2663
|
continue;
|
2657
2664
|
}
|
2658
2665
|
break;
|
@@ -2664,7 +2671,7 @@ var Zr = (
|
|
2664
2671
|
};
|
2665
2672
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2666
2673
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2667
|
-
!
|
2674
|
+
!Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2668
2675
|
}, e.prototype.tryParseQuote = function(t) {
|
2669
2676
|
if (this.isEOF() || this.char() !== 39)
|
2670
2677
|
return null;
|
@@ -2698,12 +2705,12 @@ var Zr = (
|
|
2698
2705
|
r.push(n);
|
2699
2706
|
this.bump();
|
2700
2707
|
}
|
2701
|
-
return
|
2708
|
+
return we.apply(void 0, r);
|
2702
2709
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2703
2710
|
if (this.isEOF())
|
2704
2711
|
return null;
|
2705
2712
|
var n = this.char();
|
2706
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2713
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
|
2707
2714
|
}, e.prototype.parseArgument = function(t, r) {
|
2708
2715
|
var n = this.clonePosition();
|
2709
2716
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2732,66 +2739,66 @@ var Zr = (
|
|
2732
2739
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2733
2740
|
}
|
2734
2741
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2735
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2742
|
+
var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
|
2736
2743
|
this.bumpTo(i);
|
2737
|
-
var s = this.clonePosition(),
|
2738
|
-
return { value: n, location:
|
2744
|
+
var s = this.clonePosition(), u = g(t, s);
|
2745
|
+
return { value: n, location: u };
|
2739
2746
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2740
|
-
var s,
|
2741
|
-
switch (
|
2747
|
+
var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2748
|
+
switch (a) {
|
2742
2749
|
case "":
|
2743
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE, g(
|
2750
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
|
2744
2751
|
case "number":
|
2745
2752
|
case "date":
|
2746
2753
|
case "time": {
|
2747
2754
|
this.bumpSpace();
|
2748
|
-
var
|
2755
|
+
var o = null;
|
2749
2756
|
if (this.bumpIf(",")) {
|
2750
2757
|
this.bumpSpace();
|
2751
2758
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2752
2759
|
if (c.err)
|
2753
2760
|
return c;
|
2754
|
-
var f =
|
2761
|
+
var f = qr(c.val);
|
2755
2762
|
if (f.length === 0)
|
2756
2763
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2757
2764
|
var b = g(h, this.clonePosition());
|
2758
|
-
|
2765
|
+
o = { style: f, styleLocation: b };
|
2759
2766
|
}
|
2760
2767
|
var y = this.tryParseArgumentClose(i);
|
2761
2768
|
if (y.err)
|
2762
2769
|
return y;
|
2763
|
-
var
|
2764
|
-
if (
|
2765
|
-
var
|
2766
|
-
if (
|
2767
|
-
var c = this.parseNumberSkeletonFromString(
|
2770
|
+
var m = g(i, this.clonePosition());
|
2771
|
+
if (o && ze(o?.style, "::", 0)) {
|
2772
|
+
var E = Zr(o.style.slice(2));
|
2773
|
+
if (a === "number") {
|
2774
|
+
var c = this.parseNumberSkeletonFromString(E, o.styleLocation);
|
2768
2775
|
return c.err ? c : {
|
2769
|
-
val: { type: x.number, value: n, location:
|
2776
|
+
val: { type: x.number, value: n, location: m, style: c.val },
|
2770
2777
|
err: null
|
2771
2778
|
};
|
2772
2779
|
} else {
|
2773
|
-
if (
|
2774
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
2775
|
-
var
|
2776
|
-
this.locale && (
|
2780
|
+
if (E.length === 0)
|
2781
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2782
|
+
var S = E;
|
2783
|
+
this.locale && (S = $r(E, this.locale));
|
2777
2784
|
var f = {
|
2778
2785
|
type: j.dateTime,
|
2779
|
-
pattern:
|
2780
|
-
location:
|
2781
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2782
|
-
},
|
2786
|
+
pattern: S,
|
2787
|
+
location: o.styleLocation,
|
2788
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(S) : {}
|
2789
|
+
}, B = a === "date" ? x.date : x.time;
|
2783
2790
|
return {
|
2784
|
-
val: { type:
|
2791
|
+
val: { type: B, value: n, location: m, style: f },
|
2785
2792
|
err: null
|
2786
2793
|
};
|
2787
2794
|
}
|
2788
2795
|
}
|
2789
2796
|
return {
|
2790
2797
|
val: {
|
2791
|
-
type:
|
2798
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
2792
2799
|
value: n,
|
2793
|
-
location:
|
2794
|
-
style: (s =
|
2800
|
+
location: m,
|
2801
|
+
style: (s = o?.style) !== null && s !== void 0 ? s : null
|
2795
2802
|
},
|
2796
2803
|
err: null
|
2797
2804
|
};
|
@@ -2799,12 +2806,12 @@ var Zr = (
|
|
2799
2806
|
case "plural":
|
2800
2807
|
case "selectordinal":
|
2801
2808
|
case "select": {
|
2802
|
-
var
|
2809
|
+
var H = this.clonePosition();
|
2803
2810
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2804
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
2811
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, d({}, H)));
|
2805
2812
|
this.bumpSpace();
|
2806
2813
|
var N = this.parseIdentifierIfPossible(), P = 0;
|
2807
|
-
if (
|
2814
|
+
if (a !== "select" && N.value === "offset") {
|
2808
2815
|
if (!this.bumpIf(":"))
|
2809
2816
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2810
2817
|
this.bumpSpace();
|
@@ -2813,18 +2820,18 @@ var Zr = (
|
|
2813
2820
|
return c;
|
2814
2821
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), P = c.val;
|
2815
2822
|
}
|
2816
|
-
var
|
2817
|
-
if (
|
2818
|
-
return
|
2823
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
2824
|
+
if (O.err)
|
2825
|
+
return O;
|
2819
2826
|
var y = this.tryParseArgumentClose(i);
|
2820
2827
|
if (y.err)
|
2821
2828
|
return y;
|
2822
2829
|
var w = g(i, this.clonePosition());
|
2823
|
-
return
|
2830
|
+
return a === "select" ? {
|
2824
2831
|
val: {
|
2825
2832
|
type: x.select,
|
2826
2833
|
value: n,
|
2827
|
-
options: We(
|
2834
|
+
options: We(O.val),
|
2828
2835
|
location: w
|
2829
2836
|
},
|
2830
2837
|
err: null
|
@@ -2832,16 +2839,16 @@ var Zr = (
|
|
2832
2839
|
val: {
|
2833
2840
|
type: x.plural,
|
2834
2841
|
value: n,
|
2835
|
-
options: We(
|
2842
|
+
options: We(O.val),
|
2836
2843
|
offset: P,
|
2837
|
-
pluralType:
|
2844
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2838
2845
|
location: w
|
2839
2846
|
},
|
2840
2847
|
err: null
|
2841
2848
|
};
|
2842
2849
|
}
|
2843
2850
|
default:
|
2844
|
-
return this.error(p.INVALID_ARGUMENT_TYPE, g(
|
2851
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(u, l));
|
2845
2852
|
}
|
2846
2853
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
2847
2854
|
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
@@ -2883,7 +2890,7 @@ var Zr = (
|
|
2883
2890
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2884
2891
|
var n = [];
|
2885
2892
|
try {
|
2886
|
-
n =
|
2893
|
+
n = Nr(t);
|
2887
2894
|
} catch {
|
2888
2895
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2889
2896
|
}
|
@@ -2892,55 +2899,55 @@ var Zr = (
|
|
2892
2899
|
type: j.number,
|
2893
2900
|
tokens: n,
|
2894
2901
|
location: r,
|
2895
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2902
|
+
parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
|
2896
2903
|
},
|
2897
2904
|
err: null
|
2898
2905
|
};
|
2899
2906
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2900
|
-
for (var s,
|
2901
|
-
if (
|
2907
|
+
for (var s, u = !1, a = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
|
2908
|
+
if (o.length === 0) {
|
2902
2909
|
var c = this.clonePosition();
|
2903
2910
|
if (r !== "select" && this.bumpIf("=")) {
|
2904
2911
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2905
2912
|
if (f.err)
|
2906
2913
|
return f;
|
2907
|
-
h = g(c, this.clonePosition()),
|
2914
|
+
h = g(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
|
2908
2915
|
} else
|
2909
2916
|
break;
|
2910
2917
|
}
|
2911
|
-
if (l.has(
|
2918
|
+
if (l.has(o))
|
2912
2919
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2913
|
-
|
2920
|
+
o === "other" && (u = !0), this.bumpSpace();
|
2914
2921
|
var b = this.clonePosition();
|
2915
2922
|
if (!this.bumpIf("{"))
|
2916
2923
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2917
2924
|
var y = this.parseMessage(t + 1, r, n);
|
2918
2925
|
if (y.err)
|
2919
2926
|
return y;
|
2920
|
-
var
|
2921
|
-
if (
|
2922
|
-
return
|
2923
|
-
|
2924
|
-
|
2927
|
+
var m = this.tryParseArgumentClose(b);
|
2928
|
+
if (m.err)
|
2929
|
+
return m;
|
2930
|
+
a.push([
|
2931
|
+
o,
|
2925
2932
|
{
|
2926
2933
|
value: y.val,
|
2927
2934
|
location: g(b, this.clonePosition())
|
2928
2935
|
}
|
2929
|
-
]), l.add(
|
2936
|
+
]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
|
2930
2937
|
}
|
2931
|
-
return
|
2938
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
2932
2939
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2933
2940
|
var n = 1, i = this.clonePosition();
|
2934
2941
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
2935
|
-
for (var s = !1,
|
2936
|
-
var
|
2937
|
-
if (
|
2938
|
-
s = !0,
|
2942
|
+
for (var s = !1, u = 0; !this.isEOF(); ) {
|
2943
|
+
var a = this.char();
|
2944
|
+
if (a >= 48 && a <= 57)
|
2945
|
+
s = !0, u = u * 10 + (a - 48), this.bump();
|
2939
2946
|
else
|
2940
2947
|
break;
|
2941
2948
|
}
|
2942
2949
|
var l = g(i, this.clonePosition());
|
2943
|
-
return s ? (
|
2950
|
+
return s ? (u *= n, zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2944
2951
|
}, e.prototype.offset = function() {
|
2945
2952
|
return this.position.offset;
|
2946
2953
|
}, e.prototype.isEOF = function() {
|
@@ -3006,19 +3013,19 @@ var Zr = (
|
|
3006
3013
|
}, e;
|
3007
3014
|
}()
|
3008
3015
|
);
|
3009
|
-
function
|
3016
|
+
function Le(e) {
|
3010
3017
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3011
3018
|
}
|
3012
|
-
function
|
3013
|
-
return
|
3019
|
+
function Jr(e) {
|
3020
|
+
return Le(e) || e === 47;
|
3014
3021
|
}
|
3015
|
-
function
|
3022
|
+
function Yr(e) {
|
3016
3023
|
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;
|
3017
3024
|
}
|
3018
3025
|
function Ht(e) {
|
3019
3026
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3020
3027
|
}
|
3021
|
-
function
|
3028
|
+
function Kr(e) {
|
3022
3029
|
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;
|
3023
3030
|
}
|
3024
3031
|
function Oe(e) {
|
@@ -3026,12 +3033,12 @@ function Oe(e) {
|
|
3026
3033
|
if (delete t.location, mt(t) || pt(t))
|
3027
3034
|
for (var r in t.options)
|
3028
3035
|
delete t.options[r].location, Oe(t.options[r].value);
|
3029
|
-
else lt(t) && dt(t.style) || (ct(t) || ft(t)) &&
|
3036
|
+
else lt(t) && dt(t.style) || (ct(t) || ft(t)) && Pe(t.style) ? delete t.style.location : gt(t) && Oe(t.children);
|
3030
3037
|
});
|
3031
3038
|
}
|
3032
|
-
function
|
3039
|
+
function en(e, t) {
|
3033
3040
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3034
|
-
var r = new
|
3041
|
+
var r = new Qr(e, t).parse();
|
3035
3042
|
if (r.err) {
|
3036
3043
|
var n = SyntaxError(p[r.err.kind]);
|
3037
3044
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3042,10 +3049,10 @@ var V;
|
|
3042
3049
|
(function(e) {
|
3043
3050
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3044
3051
|
})(V || (V = {}));
|
3045
|
-
var
|
3052
|
+
var ce = (
|
3046
3053
|
/** @class */
|
3047
3054
|
function(e) {
|
3048
|
-
|
3055
|
+
le(t, e);
|
3049
3056
|
function t(r, n, i) {
|
3050
3057
|
var s = e.call(this, r) || this;
|
3051
3058
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3057,152 +3064,152 @@ var le = (
|
|
3057
3064
|
), qe = (
|
3058
3065
|
/** @class */
|
3059
3066
|
function(e) {
|
3060
|
-
|
3067
|
+
le(t, e);
|
3061
3068
|
function t(r, n, i, s) {
|
3062
3069
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
3063
3070
|
}
|
3064
3071
|
return t;
|
3065
|
-
}(
|
3066
|
-
),
|
3072
|
+
}(ce)
|
3073
|
+
), tn = (
|
3067
3074
|
/** @class */
|
3068
3075
|
function(e) {
|
3069
|
-
|
3076
|
+
le(t, e);
|
3070
3077
|
function t(r, n, i) {
|
3071
3078
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3072
3079
|
}
|
3073
3080
|
return t;
|
3074
|
-
}(
|
3075
|
-
),
|
3081
|
+
}(ce)
|
3082
|
+
), rn = (
|
3076
3083
|
/** @class */
|
3077
3084
|
function(e) {
|
3078
|
-
|
3085
|
+
le(t, e);
|
3079
3086
|
function t(r, n) {
|
3080
3087
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
3081
3088
|
}
|
3082
3089
|
return t;
|
3083
|
-
}(
|
3084
|
-
),
|
3090
|
+
}(ce)
|
3091
|
+
), T;
|
3085
3092
|
(function(e) {
|
3086
3093
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3087
|
-
})(
|
3088
|
-
function
|
3094
|
+
})(T || (T = {}));
|
3095
|
+
function nn(e) {
|
3089
3096
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3090
3097
|
var n = t[t.length - 1];
|
3091
|
-
return !n || n.type !==
|
3098
|
+
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
3092
3099
|
}, []);
|
3093
3100
|
}
|
3094
|
-
function
|
3101
|
+
function sn(e) {
|
3095
3102
|
return typeof e == "function";
|
3096
3103
|
}
|
3097
|
-
function
|
3104
|
+
function se(e, t, r, n, i, s, u) {
|
3098
3105
|
if (e.length === 1 && je(e[0]))
|
3099
3106
|
return [
|
3100
3107
|
{
|
3101
|
-
type:
|
3108
|
+
type: T.literal,
|
3102
3109
|
value: e[0].value
|
3103
3110
|
}
|
3104
3111
|
];
|
3105
|
-
for (var
|
3106
|
-
var h =
|
3112
|
+
for (var a = [], l = 0, o = e; l < o.length; l++) {
|
3113
|
+
var h = o[l];
|
3107
3114
|
if (je(h)) {
|
3108
|
-
|
3109
|
-
type:
|
3115
|
+
a.push({
|
3116
|
+
type: T.literal,
|
3110
3117
|
value: h.value
|
3111
3118
|
});
|
3112
3119
|
continue;
|
3113
3120
|
}
|
3114
|
-
if (
|
3115
|
-
typeof s == "number" &&
|
3116
|
-
type:
|
3121
|
+
if (Sr(h)) {
|
3122
|
+
typeof s == "number" && a.push({
|
3123
|
+
type: T.literal,
|
3117
3124
|
value: r.getNumberFormat(t).format(s)
|
3118
3125
|
});
|
3119
3126
|
continue;
|
3120
3127
|
}
|
3121
3128
|
var c = h.value;
|
3122
3129
|
if (!(i && c in i))
|
3123
|
-
throw new
|
3130
|
+
throw new rn(c, u);
|
3124
3131
|
var f = i[c];
|
3125
|
-
if (
|
3126
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
3127
|
-
type: typeof f == "string" ?
|
3132
|
+
if (Br(h)) {
|
3133
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3134
|
+
type: typeof f == "string" ? T.literal : T.object,
|
3128
3135
|
value: f
|
3129
3136
|
});
|
3130
3137
|
continue;
|
3131
3138
|
}
|
3132
3139
|
if (ct(h)) {
|
3133
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
3134
|
-
|
3135
|
-
type:
|
3140
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
|
3141
|
+
a.push({
|
3142
|
+
type: T.literal,
|
3136
3143
|
value: r.getDateTimeFormat(t, b).format(f)
|
3137
3144
|
});
|
3138
3145
|
continue;
|
3139
3146
|
}
|
3140
3147
|
if (ft(h)) {
|
3141
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
3142
|
-
|
3143
|
-
type:
|
3148
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
|
3149
|
+
a.push({
|
3150
|
+
type: T.literal,
|
3144
3151
|
value: r.getDateTimeFormat(t, b).format(f)
|
3145
3152
|
});
|
3146
3153
|
continue;
|
3147
3154
|
}
|
3148
3155
|
if (lt(h)) {
|
3149
3156
|
var b = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
|
3150
|
-
b && b.scale && (f = f * (b.scale || 1)),
|
3151
|
-
type:
|
3157
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
3158
|
+
type: T.literal,
|
3152
3159
|
value: r.getNumberFormat(t, b).format(f)
|
3153
3160
|
});
|
3154
3161
|
continue;
|
3155
3162
|
}
|
3156
3163
|
if (gt(h)) {
|
3157
|
-
var y = h.children,
|
3158
|
-
if (!
|
3159
|
-
throw new
|
3160
|
-
var
|
3164
|
+
var y = h.children, m = h.value, E = i[m];
|
3165
|
+
if (!sn(E))
|
3166
|
+
throw new tn(m, "function", u);
|
3167
|
+
var S = se(y, t, r, n, i, s), B = E(S.map(function(P) {
|
3161
3168
|
return P.value;
|
3162
3169
|
}));
|
3163
|
-
Array.isArray(
|
3170
|
+
Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(P) {
|
3164
3171
|
return {
|
3165
|
-
type: typeof P == "string" ?
|
3172
|
+
type: typeof P == "string" ? T.literal : T.object,
|
3166
3173
|
value: P
|
3167
3174
|
};
|
3168
3175
|
}));
|
3169
3176
|
}
|
3170
3177
|
if (mt(h)) {
|
3171
|
-
var
|
3172
|
-
if (!
|
3173
|
-
throw new qe(h.value, f, Object.keys(h.options),
|
3174
|
-
|
3178
|
+
var H = h.options[f] || h.options.other;
|
3179
|
+
if (!H)
|
3180
|
+
throw new qe(h.value, f, Object.keys(h.options), u);
|
3181
|
+
a.push.apply(a, se(H.value, t, r, n, i));
|
3175
3182
|
continue;
|
3176
3183
|
}
|
3177
3184
|
if (pt(h)) {
|
3178
|
-
var
|
3179
|
-
if (!
|
3185
|
+
var H = h.options["=".concat(f)];
|
3186
|
+
if (!H) {
|
3180
3187
|
if (!Intl.PluralRules)
|
3181
|
-
throw new
|
3188
|
+
throw new ce(`Intl.PluralRules is not available in this environment.
|
3182
3189
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3183
|
-
`, V.MISSING_INTL_API,
|
3190
|
+
`, V.MISSING_INTL_API, u);
|
3184
3191
|
var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3185
|
-
|
3192
|
+
H = h.options[N] || h.options.other;
|
3186
3193
|
}
|
3187
|
-
if (!
|
3188
|
-
throw new qe(h.value, f, Object.keys(h.options),
|
3189
|
-
|
3194
|
+
if (!H)
|
3195
|
+
throw new qe(h.value, f, Object.keys(h.options), u);
|
3196
|
+
a.push.apply(a, se(H.value, t, r, n, i, f - (h.offset || 0)));
|
3190
3197
|
continue;
|
3191
3198
|
}
|
3192
3199
|
}
|
3193
|
-
return
|
3200
|
+
return nn(a);
|
3194
3201
|
}
|
3195
|
-
function
|
3202
|
+
function on(e, t) {
|
3196
3203
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3197
3204
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3198
3205
|
}, {})) : e;
|
3199
3206
|
}
|
3200
|
-
function
|
3207
|
+
function an(e, t) {
|
3201
3208
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3202
|
-
return r[n] =
|
3209
|
+
return r[n] = on(e[n], t[n]), r;
|
3203
3210
|
}, d({}, e)) : e;
|
3204
3211
|
}
|
3205
|
-
function
|
3212
|
+
function Ee(e) {
|
3206
3213
|
return {
|
3207
3214
|
create: function() {
|
3208
3215
|
return {
|
@@ -3216,39 +3223,39 @@ function ve(e) {
|
|
3216
3223
|
}
|
3217
3224
|
};
|
3218
3225
|
}
|
3219
|
-
function
|
3226
|
+
function un(e) {
|
3220
3227
|
return e === void 0 && (e = {
|
3221
3228
|
number: {},
|
3222
3229
|
dateTime: {},
|
3223
3230
|
pluralRules: {}
|
3224
3231
|
}), {
|
3225
|
-
getNumberFormat:
|
3232
|
+
getNumberFormat: ye(function() {
|
3226
3233
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3227
3234
|
r[n] = arguments[n];
|
3228
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3235
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
|
3229
3236
|
}, {
|
3230
|
-
cache:
|
3231
|
-
strategy:
|
3237
|
+
cache: Ee(e.number),
|
3238
|
+
strategy: xe.variadic
|
3232
3239
|
}),
|
3233
|
-
getDateTimeFormat:
|
3240
|
+
getDateTimeFormat: ye(function() {
|
3234
3241
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3235
3242
|
r[n] = arguments[n];
|
3236
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3243
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
|
3237
3244
|
}, {
|
3238
|
-
cache:
|
3239
|
-
strategy:
|
3245
|
+
cache: Ee(e.dateTime),
|
3246
|
+
strategy: xe.variadic
|
3240
3247
|
}),
|
3241
|
-
getPluralRules:
|
3248
|
+
getPluralRules: ye(function() {
|
3242
3249
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3243
3250
|
r[n] = arguments[n];
|
3244
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3251
|
+
return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
|
3245
3252
|
}, {
|
3246
|
-
cache:
|
3247
|
-
strategy:
|
3253
|
+
cache: Ee(e.pluralRules),
|
3254
|
+
strategy: xe.variadic
|
3248
3255
|
})
|
3249
3256
|
};
|
3250
3257
|
}
|
3251
|
-
var
|
3258
|
+
var hn = (
|
3252
3259
|
/** @class */
|
3253
3260
|
function() {
|
3254
3261
|
function e(t, r, n, i) {
|
@@ -3259,15 +3266,15 @@ var an = (
|
|
3259
3266
|
dateTime: {},
|
3260
3267
|
pluralRules: {}
|
3261
3268
|
}, this.format = function(l) {
|
3262
|
-
var
|
3263
|
-
if (
|
3264
|
-
return
|
3265
|
-
var h =
|
3266
|
-
return !c.length || f.type !==
|
3269
|
+
var o = s.formatToParts(l);
|
3270
|
+
if (o.length === 1)
|
3271
|
+
return o[0].value;
|
3272
|
+
var h = o.reduce(function(c, f) {
|
3273
|
+
return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3267
3274
|
}, []);
|
3268
3275
|
return h.length <= 1 ? h[0] || "" : h;
|
3269
3276
|
}, this.formatToParts = function(l) {
|
3270
|
-
return
|
3277
|
+
return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
3271
3278
|
}, this.resolvedOptions = function() {
|
3272
3279
|
var l;
|
3273
3280
|
return {
|
@@ -3278,15 +3285,15 @@ var an = (
|
|
3278
3285
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
3279
3286
|
if (this.message = t, !e.__parse)
|
3280
3287
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3281
|
-
var
|
3282
|
-
|
3283
|
-
var
|
3284
|
-
this.ast = e.__parse(t, d(d({},
|
3288
|
+
var u = i || {};
|
3289
|
+
u.formatters;
|
3290
|
+
var a = br(u, ["formatters"]);
|
3291
|
+
this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
|
3285
3292
|
} else
|
3286
3293
|
this.ast = t;
|
3287
3294
|
if (!Array.isArray(this.ast))
|
3288
3295
|
throw new TypeError("A message must be provided as a String or AST.");
|
3289
|
-
this.formats =
|
3296
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
|
3290
3297
|
}
|
3291
3298
|
return Object.defineProperty(e, "defaultLocale", {
|
3292
3299
|
get: function() {
|
@@ -3299,7 +3306,7 @@ var an = (
|
|
3299
3306
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3300
3307
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3301
3308
|
}
|
3302
|
-
}, e.__parse =
|
3309
|
+
}, e.__parse = en, e.formats = {
|
3303
3310
|
number: {
|
3304
3311
|
integer: {
|
3305
3312
|
maximumFractionDigits: 0
|
@@ -3360,7 +3367,7 @@ var an = (
|
|
3360
3367
|
}, e;
|
3361
3368
|
}()
|
3362
3369
|
);
|
3363
|
-
function
|
3370
|
+
function ln(e, t) {
|
3364
3371
|
if (t == null)
|
3365
3372
|
return;
|
3366
3373
|
if (t in e)
|
@@ -3381,36 +3388,36 @@ function un(e, t) {
|
|
3381
3388
|
n = void 0;
|
3382
3389
|
return n;
|
3383
3390
|
}
|
3384
|
-
const
|
3391
|
+
const L = {}, cn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Tt = (e, t) => {
|
3385
3392
|
if (t == null)
|
3386
3393
|
return;
|
3387
|
-
if (t in
|
3388
|
-
return
|
3389
|
-
const r =
|
3394
|
+
if (t in L && e in L[t])
|
3395
|
+
return L[t][e];
|
3396
|
+
const r = fe(t);
|
3390
3397
|
for (let n = 0; n < r.length; n++) {
|
3391
|
-
const i = r[n], s =
|
3398
|
+
const i = r[n], s = mn(i, e);
|
3392
3399
|
if (s)
|
3393
|
-
return
|
3400
|
+
return cn(e, t, s);
|
3394
3401
|
}
|
3395
3402
|
};
|
3396
3403
|
let Re;
|
3397
|
-
const
|
3398
|
-
function
|
3404
|
+
const te = he({});
|
3405
|
+
function fn(e) {
|
3399
3406
|
return Re[e] || null;
|
3400
3407
|
}
|
3401
3408
|
function Bt(e) {
|
3402
3409
|
return e in Re;
|
3403
3410
|
}
|
3404
|
-
function
|
3411
|
+
function mn(e, t) {
|
3405
3412
|
if (!Bt(e))
|
3406
3413
|
return null;
|
3407
|
-
const r =
|
3408
|
-
return
|
3414
|
+
const r = fn(e);
|
3415
|
+
return ln(r, t);
|
3409
3416
|
}
|
3410
|
-
function
|
3417
|
+
function pn(e) {
|
3411
3418
|
if (e == null)
|
3412
3419
|
return;
|
3413
|
-
const t =
|
3420
|
+
const t = fe(e);
|
3414
3421
|
for (let r = 0; r < t.length; r++) {
|
3415
3422
|
const n = t[r];
|
3416
3423
|
if (Bt(n))
|
@@ -3418,55 +3425,55 @@ function fn(e) {
|
|
3418
3425
|
}
|
3419
3426
|
}
|
3420
3427
|
function St(e, ...t) {
|
3421
|
-
delete
|
3428
|
+
delete L[e], te.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
|
3422
3429
|
}
|
3423
3430
|
X(
|
3424
|
-
[
|
3431
|
+
[te],
|
3425
3432
|
([e]) => Object.keys(e)
|
3426
3433
|
);
|
3427
|
-
|
3428
|
-
const
|
3429
|
-
function
|
3430
|
-
|
3434
|
+
te.subscribe((e) => Re = e);
|
3435
|
+
const oe = {};
|
3436
|
+
function gn(e, t) {
|
3437
|
+
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
3431
3438
|
}
|
3432
3439
|
function Pt(e) {
|
3433
|
-
return
|
3440
|
+
return oe[e];
|
3434
3441
|
}
|
3435
|
-
function
|
3436
|
-
return
|
3442
|
+
function dn(e) {
|
3443
|
+
return fe(e).map((t) => {
|
3437
3444
|
const r = Pt(t);
|
3438
3445
|
return [t, r ? [...r] : []];
|
3439
3446
|
}).filter(([, t]) => t.length > 0);
|
3440
3447
|
}
|
3441
|
-
function
|
3442
|
-
return e == null ? !1 :
|
3448
|
+
function Ie(e) {
|
3449
|
+
return e == null ? !1 : fe(e).some(
|
3443
3450
|
(t) => {
|
3444
3451
|
var r;
|
3445
3452
|
return (r = Pt(t)) == null ? void 0 : r.size;
|
3446
3453
|
}
|
3447
3454
|
);
|
3448
3455
|
}
|
3449
|
-
function
|
3456
|
+
function bn(e, t) {
|
3450
3457
|
return Promise.all(
|
3451
|
-
t.map((n) => (
|
3458
|
+
t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
|
3452
3459
|
).then((n) => St(e, ...n));
|
3453
3460
|
}
|
3454
3461
|
const q = {};
|
3455
3462
|
function At(e) {
|
3456
|
-
if (!
|
3463
|
+
if (!Ie(e))
|
3457
3464
|
return e in q ? q[e] : Promise.resolve();
|
3458
|
-
const t =
|
3465
|
+
const t = dn(e);
|
3459
3466
|
return q[e] = Promise.all(
|
3460
3467
|
t.map(
|
3461
|
-
([r, n]) =>
|
3468
|
+
([r, n]) => bn(r, n)
|
3462
3469
|
)
|
3463
3470
|
).then(() => {
|
3464
|
-
if (
|
3471
|
+
if (Ie(e))
|
3465
3472
|
return At(e);
|
3466
3473
|
delete q[e];
|
3467
3474
|
}), q[e];
|
3468
3475
|
}
|
3469
|
-
const
|
3476
|
+
const yn = {
|
3470
3477
|
number: {
|
3471
3478
|
scientific: { notation: "scientific" },
|
3472
3479
|
engineering: { notation: "engineering" },
|
@@ -3495,159 +3502,159 @@ const dn = {
|
|
3495
3502
|
timeZoneName: "short"
|
3496
3503
|
}
|
3497
3504
|
}
|
3498
|
-
},
|
3505
|
+
}, xn = {
|
3499
3506
|
fallbackLocale: null,
|
3500
3507
|
loadingDelay: 200,
|
3501
|
-
formats:
|
3508
|
+
formats: yn,
|
3502
3509
|
warnOnMissingMessages: !0,
|
3503
3510
|
handleMissingMessage: void 0,
|
3504
3511
|
ignoreTag: !0
|
3505
|
-
},
|
3512
|
+
}, vn = xn;
|
3506
3513
|
function k() {
|
3507
|
-
return
|
3514
|
+
return vn;
|
3508
3515
|
}
|
3509
|
-
const
|
3510
|
-
var
|
3516
|
+
const _e = he(!1);
|
3517
|
+
var En = Object.defineProperty, _n = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
|
3511
3518
|
for (var r in t || (t = {}))
|
3512
|
-
|
3519
|
+
Tn.call(t, r) && Je(e, r, t[r]);
|
3513
3520
|
if (Qe)
|
3514
3521
|
for (var r of Qe(t))
|
3515
|
-
|
3522
|
+
Bn.call(t, r) && Je(e, r, t[r]);
|
3516
3523
|
return e;
|
3517
|
-
},
|
3518
|
-
let
|
3519
|
-
const
|
3524
|
+
}, Pn = (e, t) => _n(e, Hn(t));
|
3525
|
+
let Ce;
|
3526
|
+
const ae = he(null);
|
3520
3527
|
function Ye(e) {
|
3521
3528
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3522
3529
|
}
|
3523
|
-
function
|
3530
|
+
function fe(e, t = k().fallbackLocale) {
|
3524
3531
|
const r = Ye(e);
|
3525
3532
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
3526
3533
|
}
|
3527
|
-
function
|
3528
|
-
return
|
3534
|
+
function $() {
|
3535
|
+
return Ce ?? void 0;
|
3529
3536
|
}
|
3530
|
-
|
3531
|
-
|
3537
|
+
ae.subscribe((e) => {
|
3538
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3532
3539
|
});
|
3533
|
-
const
|
3534
|
-
if (e &&
|
3540
|
+
const An = (e) => {
|
3541
|
+
if (e && pn(e) && Ie(e)) {
|
3535
3542
|
const { loadingDelay: t } = k();
|
3536
3543
|
let r;
|
3537
|
-
return typeof window < "u" &&
|
3538
|
-
() =>
|
3544
|
+
return typeof window < "u" && $() != null && t ? r = window.setTimeout(
|
3545
|
+
() => _e.set(!0),
|
3539
3546
|
t
|
3540
|
-
) :
|
3541
|
-
|
3547
|
+
) : _e.set(!0), At(e).then(() => {
|
3548
|
+
ae.set(e);
|
3542
3549
|
}).finally(() => {
|
3543
|
-
clearTimeout(r),
|
3550
|
+
clearTimeout(r), _e.set(!1);
|
3544
3551
|
});
|
3545
3552
|
}
|
3546
|
-
return
|
3547
|
-
}, z =
|
3548
|
-
set:
|
3549
|
-
}),
|
3553
|
+
return ae.set(e);
|
3554
|
+
}, z = Pn(Sn({}, ae), {
|
3555
|
+
set: An
|
3556
|
+
}), me = (e) => {
|
3550
3557
|
const t = /* @__PURE__ */ Object.create(null);
|
3551
3558
|
return (n) => {
|
3552
3559
|
const i = JSON.stringify(n);
|
3553
3560
|
return i in t ? t[i] : t[i] = e(n);
|
3554
3561
|
};
|
3555
3562
|
};
|
3556
|
-
var
|
3563
|
+
var wn = Object.defineProperty, ue = Object.getOwnPropertySymbols, wt = Object.prototype.hasOwnProperty, Nt = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, De = (e, t) => {
|
3557
3564
|
for (var r in t || (t = {}))
|
3558
3565
|
wt.call(t, r) && Ke(e, r, t[r]);
|
3559
|
-
if (
|
3560
|
-
for (var r of
|
3566
|
+
if (ue)
|
3567
|
+
for (var r of ue(t))
|
3561
3568
|
Nt.call(t, r) && Ke(e, r, t[r]);
|
3562
3569
|
return e;
|
3563
3570
|
}, W = (e, t) => {
|
3564
3571
|
var r = {};
|
3565
3572
|
for (var n in e)
|
3566
3573
|
wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3567
|
-
if (e != null &&
|
3568
|
-
for (var n of
|
3574
|
+
if (e != null && ue)
|
3575
|
+
for (var n of ue(e))
|
3569
3576
|
t.indexOf(n) < 0 && Nt.call(e, n) && (r[n] = e[n]);
|
3570
3577
|
return r;
|
3571
3578
|
};
|
3572
|
-
const
|
3579
|
+
const K = (e, t) => {
|
3573
3580
|
const { formats: r } = k();
|
3574
3581
|
if (e in r && t in r[e])
|
3575
3582
|
return r[e][t];
|
3576
3583
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3577
|
-
},
|
3584
|
+
}, Nn = me(
|
3578
3585
|
(e) => {
|
3579
3586
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3580
3587
|
if (r == null)
|
3581
3588
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3582
|
-
return n && (i =
|
3589
|
+
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
3583
3590
|
}
|
3584
|
-
),
|
3591
|
+
), Ln = me(
|
3585
3592
|
(e) => {
|
3586
3593
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3587
3594
|
if (r == null)
|
3588
3595
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3589
|
-
return n ? i =
|
3596
|
+
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
3590
3597
|
}
|
3591
|
-
),
|
3598
|
+
), On = me(
|
3592
3599
|
(e) => {
|
3593
3600
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3594
3601
|
if (r == null)
|
3595
3602
|
throw new Error(
|
3596
3603
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3597
3604
|
);
|
3598
|
-
return n ? i =
|
3605
|
+
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
3599
3606
|
}
|
3600
|
-
),
|
3607
|
+
), In = (e = {}) => {
|
3601
3608
|
var t = e, {
|
3602
|
-
locale: r =
|
3609
|
+
locale: r = $()
|
3603
3610
|
} = t, n = W(t, [
|
3604
3611
|
"locale"
|
3605
3612
|
]);
|
3606
|
-
return
|
3607
|
-
},
|
3613
|
+
return Nn(De({ locale: r }, n));
|
3614
|
+
}, Cn = (e = {}) => {
|
3608
3615
|
var t = e, {
|
3609
|
-
locale: r =
|
3616
|
+
locale: r = $()
|
3610
3617
|
} = t, n = W(t, [
|
3611
3618
|
"locale"
|
3612
3619
|
]);
|
3613
|
-
return
|
3614
|
-
},
|
3620
|
+
return Ln(De({ locale: r }, n));
|
3621
|
+
}, $n = (e = {}) => {
|
3615
3622
|
var t = e, {
|
3616
|
-
locale: r =
|
3623
|
+
locale: r = $()
|
3617
3624
|
} = t, n = W(t, [
|
3618
3625
|
"locale"
|
3619
3626
|
]);
|
3620
|
-
return
|
3621
|
-
},
|
3627
|
+
return On(De({ locale: r }, n));
|
3628
|
+
}, Mn = me(
|
3622
3629
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3623
|
-
(e, t =
|
3630
|
+
(e, t = $()) => new hn(e, t, k().formats, {
|
3624
3631
|
ignoreTag: k().ignoreTag
|
3625
3632
|
})
|
3626
|
-
),
|
3633
|
+
), Rn = (e, t = {}) => {
|
3627
3634
|
var r, n, i, s;
|
3628
|
-
let
|
3629
|
-
typeof e == "object" && (
|
3635
|
+
let u = t;
|
3636
|
+
typeof e == "object" && (u = e, e = u.id);
|
3630
3637
|
const {
|
3631
|
-
values:
|
3632
|
-
locale: l =
|
3633
|
-
default:
|
3634
|
-
} =
|
3638
|
+
values: a,
|
3639
|
+
locale: l = $(),
|
3640
|
+
default: o
|
3641
|
+
} = u;
|
3635
3642
|
if (l == null)
|
3636
3643
|
throw new Error(
|
3637
3644
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3638
3645
|
);
|
3639
3646
|
let h = Tt(e, l);
|
3640
3647
|
if (!h)
|
3641
|
-
h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue:
|
3648
|
+
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;
|
3642
3649
|
else if (typeof h != "string")
|
3643
3650
|
return console.warn(
|
3644
3651
|
`[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.`
|
3645
3652
|
), h;
|
3646
|
-
if (!
|
3653
|
+
if (!a)
|
3647
3654
|
return h;
|
3648
3655
|
let c = h;
|
3649
3656
|
try {
|
3650
|
-
c =
|
3657
|
+
c = Mn(h, l).format(a);
|
3651
3658
|
} catch (f) {
|
3652
3659
|
f instanceof Error && console.warn(
|
3653
3660
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3655,15 +3662,15 @@ const Y = (e, t) => {
|
|
3655
3662
|
);
|
3656
3663
|
}
|
3657
3664
|
return c;
|
3658
|
-
},
|
3659
|
-
X([z], () => Mn);
|
3660
|
-
X([z], () => Rn);
|
3665
|
+
}, Dn = (e, t) => $n(t).format(e), Un = (e, t) => Cn(t).format(e), Gn = (e, t) => In(t).format(e), Fn = (e, t = $()) => Tt(e, t), jn = X([z, te], () => Rn);
|
3661
3666
|
X([z], () => Dn);
|
3662
|
-
X([z
|
3667
|
+
X([z], () => Un);
|
3668
|
+
X([z], () => Gn);
|
3669
|
+
X([z, te], () => Fn);
|
3663
3670
|
function et(e, t) {
|
3664
3671
|
St(e, t);
|
3665
3672
|
}
|
3666
|
-
function
|
3673
|
+
function Vn(e) {
|
3667
3674
|
z.set(e);
|
3668
3675
|
}
|
3669
3676
|
const tt = {
|
@@ -3758,150 +3765,172 @@ const tt = {
|
|
3758
3765
|
login: "Login"
|
3759
3766
|
}
|
3760
3767
|
};
|
3761
|
-
function
|
3762
|
-
|
3768
|
+
function kn(e, t) {
|
3769
|
+
if (e) {
|
3770
|
+
const r = document.createElement("style");
|
3771
|
+
r.innerHTML = t, e.appendChild(r);
|
3772
|
+
}
|
3763
3773
|
}
|
3764
|
-
function
|
3765
|
-
|
3774
|
+
function Xn(e, t) {
|
3775
|
+
const r = new URL(t);
|
3776
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
3777
|
+
const i = document.createElement("style");
|
3778
|
+
i.innerHTML = n, e && e.appendChild(i);
|
3779
|
+
}).catch((n) => {
|
3780
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
3781
|
+
});
|
3782
|
+
}
|
3783
|
+
function zn(e, t, r) {
|
3784
|
+
if (window.emMessageBus) {
|
3785
|
+
const n = document.createElement("style");
|
3786
|
+
window.emMessageBus.subscribe(t, (i) => {
|
3787
|
+
n.innerHTML = i, e && e.appendChild(n);
|
3788
|
+
});
|
3789
|
+
}
|
3790
|
+
}
|
3791
|
+
function Wn(e) {
|
3792
|
+
It(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}}");
|
3793
|
+
}
|
3794
|
+
function Zn(e) {
|
3795
|
+
let t, r, n, i, s, u, a, l, o, h, c = (
|
3766
3796
|
/*$_*/
|
3767
3797
|
e[1]("sorry") + ""
|
3768
|
-
), f, b, y,
|
3798
|
+
), f, b, y, m = (
|
3769
3799
|
/*$_*/
|
3770
3800
|
e[1]("access") + ""
|
3771
|
-
),
|
3801
|
+
), E, S, B, H = (
|
3772
3802
|
/*$_*/
|
3773
3803
|
e[1]("login") + ""
|
3774
|
-
), N, P,
|
3804
|
+
), N, P, O;
|
3775
3805
|
return {
|
3776
3806
|
c() {
|
3777
|
-
t = I("div"), r = I("div"), n =
|
3807
|
+
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"), E = ne(m), S = pe(), B = I("button"), N = ne(H), v(s, "class", "a"), v(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"), v(u, "class", "a"), v(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"), v(u, "transform", "translate(-116.772 -116.794)"), v(a, "class", "a"), v(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"), v(a, "transform", "translate(-250.22 -116.794)"), v(l, "class", "a"), v(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"), v(l, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(h, "class", "PageTitle"), v(y, "class", "PageContent"), v(B, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
|
3778
3808
|
},
|
3779
3809
|
m(w, Z) {
|
3780
|
-
st(w, t, Z),
|
3781
|
-
|
3810
|
+
st(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, E), _(r, S), _(r, B), _(B, N), e[9](t), P || (O = Mt(
|
3811
|
+
B,
|
3782
3812
|
"click",
|
3783
3813
|
/*click_handler*/
|
3784
|
-
e[
|
3814
|
+
e[8]
|
3785
3815
|
), P = !0);
|
3786
3816
|
},
|
3787
3817
|
p(w, [Z]) {
|
3788
3818
|
Z & /*$_*/
|
3789
3819
|
2 && c !== (c = /*$_*/
|
3790
|
-
w[1]("sorry") + "") &&
|
3791
|
-
2 &&
|
3792
|
-
w[1]("access") + "") &&
|
3793
|
-
2 &&
|
3794
|
-
w[1]("login") + "") &&
|
3820
|
+
w[1]("sorry") + "") && ge(f, c), Z & /*$_*/
|
3821
|
+
2 && m !== (m = /*$_*/
|
3822
|
+
w[1]("access") + "") && ge(E, m), Z & /*$_*/
|
3823
|
+
2 && H !== (H = /*$_*/
|
3824
|
+
w[1]("login") + "") && ge(N, H);
|
3795
3825
|
},
|
3796
3826
|
i: A,
|
3797
3827
|
o: A,
|
3798
3828
|
d(w) {
|
3799
|
-
w &&
|
3829
|
+
w && Me(t), e[9](null), P = !1, O();
|
3800
3830
|
}
|
3801
3831
|
};
|
3802
3832
|
}
|
3803
|
-
function
|
3833
|
+
function qn(e, t, r) {
|
3804
3834
|
let n;
|
3805
|
-
|
3806
|
-
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl:
|
3807
|
-
const
|
3808
|
-
fetch(
|
3809
|
-
Object.keys(
|
3810
|
-
et(
|
3835
|
+
Ot(e, jn, (m) => r(1, n = m));
|
3836
|
+
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, o;
|
3837
|
+
const h = () => {
|
3838
|
+
fetch(a).then((E) => E.json()).then((E) => {
|
3839
|
+
Object.keys(E).forEach((S) => {
|
3840
|
+
et(S, E[S]);
|
3811
3841
|
});
|
3812
|
-
}).catch((
|
3813
|
-
console.log(
|
3842
|
+
}).catch((E) => {
|
3843
|
+
console.log(E);
|
3814
3844
|
});
|
3815
3845
|
};
|
3816
3846
|
Object.keys(tt).forEach((m) => {
|
3817
3847
|
et(m, tt[m]);
|
3818
3848
|
});
|
3819
|
-
const
|
3849
|
+
const c = () => {
|
3820
3850
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3821
|
-
}, c = () => {
|
3822
|
-
Fn(i);
|
3823
3851
|
}, f = () => {
|
3824
|
-
|
3825
|
-
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
o.appendChild(H);
|
3832
|
-
},
|
3833
|
-
1
|
3834
|
-
);
|
3835
|
-
});
|
3836
|
-
}, y = () => h();
|
3837
|
-
function E(m) {
|
3838
|
-
_e[m ? "unshift" : "push"](() => {
|
3852
|
+
Vn(i);
|
3853
|
+
};
|
3854
|
+
Gt(() => () => {
|
3855
|
+
});
|
3856
|
+
const b = () => c();
|
3857
|
+
function y(m) {
|
3858
|
+
He[m ? "unshift" : "push"](() => {
|
3839
3859
|
o = m, r(0, o);
|
3840
3860
|
});
|
3841
3861
|
}
|
3842
3862
|
return e.$$set = (m) => {
|
3843
|
-
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5,
|
3863
|
+
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, a = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
|
3844
3864
|
}, e.$$.update = () => {
|
3845
3865
|
e.$$.dirty & /*lang*/
|
3846
|
-
8 && i &&
|
3847
|
-
17 && s && o &&
|
3848
|
-
33 &&
|
3849
|
-
64 &&
|
3866
|
+
8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3867
|
+
17 && s && o && kn(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3868
|
+
33 && u && o && Xn(o, u), e.$$.dirty & /*translationurl*/
|
3869
|
+
64 && a && h(), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3870
|
+
129 && l && o && zn(o, `${l}.Style`);
|
3850
3871
|
}, [
|
3851
3872
|
o,
|
3852
3873
|
n,
|
3853
|
-
|
3874
|
+
c,
|
3854
3875
|
i,
|
3855
3876
|
s,
|
3877
|
+
u,
|
3856
3878
|
a,
|
3857
3879
|
l,
|
3858
|
-
|
3859
|
-
|
3880
|
+
b,
|
3881
|
+
y
|
3860
3882
|
];
|
3861
3883
|
}
|
3862
|
-
class
|
3884
|
+
class Qn extends Yt {
|
3863
3885
|
constructor(t) {
|
3864
|
-
super(),
|
3886
|
+
super(), Qt(
|
3865
3887
|
this,
|
3866
3888
|
t,
|
3867
|
-
|
3868
|
-
|
3889
|
+
qn,
|
3890
|
+
Zn,
|
3869
3891
|
nt,
|
3870
3892
|
{
|
3871
3893
|
lang: 3,
|
3872
3894
|
clientstyling: 4,
|
3873
3895
|
clientstylingurl: 5,
|
3874
|
-
translationurl: 6
|
3896
|
+
translationurl: 6,
|
3897
|
+
mbsource: 7
|
3875
3898
|
},
|
3876
|
-
|
3899
|
+
Wn
|
3877
3900
|
);
|
3878
3901
|
}
|
3879
3902
|
get lang() {
|
3880
3903
|
return this.$$.ctx[3];
|
3881
3904
|
}
|
3882
3905
|
set lang(t) {
|
3883
|
-
this.$$set({ lang: t }),
|
3906
|
+
this.$$set({ lang: t }), C();
|
3884
3907
|
}
|
3885
3908
|
get clientstyling() {
|
3886
3909
|
return this.$$.ctx[4];
|
3887
3910
|
}
|
3888
3911
|
set clientstyling(t) {
|
3889
|
-
this.$$set({ clientstyling: t }),
|
3912
|
+
this.$$set({ clientstyling: t }), C();
|
3890
3913
|
}
|
3891
3914
|
get clientstylingurl() {
|
3892
3915
|
return this.$$.ctx[5];
|
3893
3916
|
}
|
3894
3917
|
set clientstylingurl(t) {
|
3895
|
-
this.$$set({ clientstylingurl: t }),
|
3918
|
+
this.$$set({ clientstylingurl: t }), C();
|
3896
3919
|
}
|
3897
3920
|
get translationurl() {
|
3898
3921
|
return this.$$.ctx[6];
|
3899
3922
|
}
|
3900
3923
|
set translationurl(t) {
|
3901
|
-
this.$$set({ translationurl: t }),
|
3924
|
+
this.$$set({ translationurl: t }), C();
|
3925
|
+
}
|
3926
|
+
get mbsource() {
|
3927
|
+
return this.$$.ctx[7];
|
3928
|
+
}
|
3929
|
+
set mbsource(t) {
|
3930
|
+
this.$$set({ mbsource: t }), C();
|
3902
3931
|
}
|
3903
3932
|
}
|
3904
|
-
|
3933
|
+
Jt(Qn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3905
3934
|
export {
|
3906
|
-
|
3935
|
+
Qn as C
|
3907
3936
|
};
|